Skip to content

v2026.08.25 (v1.18.22)

Choose a tag to compare

@okuyam2y okuyam2y released this 25 Aug 03:34
· 10 commits to main since this release

What's New

  • X-Session-Id is now sent to providers. Upstream sends x-session-affinity and X-Session-Id together to non-opencode providers, but the second half of that pair lives in a file this fork does not execute — so this fork had never sent X-Session-Id to any provider. The header the fork actually builds now carries both.
  • The parent-session header reaches opencode providers too. Upstream moved x-parent-session-id out of the non-opencode branch so every provider receives it, and again did so only in the copy this fork does not run. The fork's request builder now makes the same move.

Fixes

  • Upstream rebase to v1.18.22 (from v1.18.21):
    • Anthropic model ids reach the Cloudflare AI Gateway as native dashed slugs (claude-haiku-4-5) rather than the dotted catalog form
    • GitHub PAT tokens take a distinct app-token exchange path
    • Console pricing and request-body handling split out with tests; workspace unblock action added
    • Model catalog and documentation refreshes across all locales
  • The silent-divergence guard shipped last release now covers four files instead of one. Two more upstream layers turned out to be in the same position as src/session/llm/ai-sdk.ts — llm/native-request.ts and llm/native-runtime.ts, the native stack upstream is actively building, plus llm/request.ts. All are byte-identical to upstream and unreachable from this fork's rewritten llm.ts, so upstream changes merge cleanly and do nothing. That pattern had already cost two fixes. One table now drives a content pin, a deleted-file check and a reference scan across all four, so a change to any of them fails loudly instead of being absorbed.

Install

Try without installing:

npx opencode-ai-nofc

Install globally:

npm install -g opencode-ai-nofc
opencode

Or download binaries below.

Based on upstream opencode v1.18.22.