Skip to content

v0.7.126: Plan connections for ChatGPT and Claude

Choose a tag to compare

@SilenNaihin SilenNaihin released this 27 Sep 11:12
4658ef6

Plan connections from #1124.

  • A connection can be a ChatGPT or Claude plan (subscription) instead of an API key. Its bearer is minted for each dispatch from the stored sign-in, which refreshes ahead of expiry under a per-connection cross-process lock.
  • Claude plans use an operator-issued Anthropic OAuth app (EXP_ANTHROPIC_OAUTH_*). Claude Code's client identity is refused.
  • Plan usage windows (x-codex-*, anthropic-ratelimit-unified-*) are harvested. A used-up window throttles the rung until its stated reset, so traffic rotates to the next account.
  • A caller's output ceiling narrows a ChatGPT plan rung out instead of being dropped.
  • exp config gateway provider add --subscription chatgpt|anthropic (browser sign-in or --codex-auth-file). provider remove forgets the stored sign-in.

Packages: experiential 0.7.126 and exp-gateway-native 0.3.114.

This release does not deploy the hosted Platform.