Skip to content

v6.9.1

Choose a tag to compare

@ndycode ndycode released this 17 Jul 21:47
· 298 commits to main since this release

Published to npm as oc-codex-multi-auth@6.9.1.

npm install -g oc-codex-multi-auth@6.9.1

Fixed

gpt-5.6-sol rejected through the plugin while working everywhere else (#196, #201)

Follow-up to the 6.8.2 identity fix, which did not resolve the report: sol still returned model_not_supported_with_chatgpt_account on every pooled account while terra/luna passed, and the same accounts ran sol fine in the Codex TUI and in plain opencode.

The remaining difference was who the plugin claims to be, not the request version or payload:

  • The upstream model catalog gates sol, terra, and luna identically (minimal_client_version: 0.144.0, use_responses_lite: true) — no version- or shape-level cause can produce a sol-only failure.
  • Plain opencode's native ChatGPT-Codex path does not imitate the Codex CLI: it sends originator: opencode with an opencode/<version> (<platform> <release>; <arch>) User-Agent to the same endpoint. The backend evaluates sol entitlement per originator, and for some account cohorts the codex_cli_rs claim from a non-Codex client fails that check while the host identity passes.

The GPT-5.6 (responses-lite) tiers now present the host (opencode) identity by default — the identity affected accounts are proven to pass sol with. Every other model keeps the Codex CLI identity from 6.8.2. Verified live on a sol-entitled account: both identities return 200 there, so setups where codex_cli_rs already works are unaffected.

Also in this release:

  • The advertised opencode version self-syncs with the real host build (reused from the host's own injected User-Agent when present).
  • CODEX_AUTH_CLIENT_VERSION / CODEX_AUTH_HOST_VERSION values are sanitized to safe product-token characters so a badly quoted env value can't corrupt the User-Agent.

New escape hatches:

CODEX_AUTH_CLIENT_IDENTITY=codex      # force the Codex CLI identity for all models
CODEX_AUTH_CLIENT_IDENTITY=opencode   # force the host identity for all models (alias: host)
CODEX_AUTH_HOST_VERSION=1.18.0        # override the advertised opencode version