Repository navigation
v2026.09.03 (v1.18.27)
What's New
- Anthropic thinking block binding: requests to Claude 5.1 and newer now ask the API to drop
thinking blocks whose conversation prefix no longer matches, instead of failing the whole request.
opencode re-renders parts of that prefix between turns (system prompt, tool list, compaction), so
without this a long session could start rejecting requests outright. Mythos 5.1 is excluded because
it does not run the check. Blocks the API drops are reported in a warning log.- Opt out per model, agent or variant with
thinking.blockBinding: false
(reasoningConfig.blockBinding: falseon Bedrock).
- Opt out per model, agent or variant with
- Five-minute defaults for both stream timeouts:
headerTimeoutnow defaults to 300000 ms
alongsidechunkTimeout, so a gateway that accepts a connection and then never sends headers no
longer hangs the session. Either can still be disabled withfalse, and anything you set in
opencode.jsontakes precedence over a provider preset.
Fixes
- Upstream rebase to v1.18.27 (from v1.18.25):
- SSE reader cancellation no longer produces an unhandled rejection when the stream errors at the
same moment the timeout fires. - Azure model discovery removed upstream; it no longer writes to stdout.
apply_patchomits an empty move path.- Tool-call logging no longer resets
time.startincorrectly. - Bedrock SDK accepts a
nonereasoning effort.
- SSE reader cancellation no longer produces an unhandled rejection when the stream errors at the
- Generated v2 SDK types now include
dropReasoningEffortWithTools, which the config schema has
accepted for a while but the published types never exposed.
Install
Try without installing:
npx opencode-ai-nofcInstall globally:
npm install -g opencode-ai-nofc
opencodeOr download binaries below.
Based on upstream opencode v1.18.27.