Skip to content

v2.64.2

Choose a tag to compare

@aebrer aebrer released this 04 Sep 11:51
· 10 commits to master since this release
bf6a8f1

OpenCode session header on all requests

dreb now sends the x-opencode-session header on every request to OpenCode-backed models, so OpenCode can attribute and track sessions correctly (OpenCode has flagged header-less requests as erroring starting 2026-09-06).

What changed

  • Header injection at the provider boundary. OpenCode model requests carry the active session ID as the x-opencode-session header on both streaming and simple-completion paths, across all wire protocols (OpenAI completions, OpenAI responses, Anthropic messages, Google generative AI).
  • Session ID wired to every call site. Requests that previously dropped the session ID now forward it: tab-title generation, buddy soul generation and hatch/reroll, branch summarization, compaction summaries, subagent spawns and their model-availability probes, and dispatch-arbiter calls.
  • Wire-level test coverage. Protocol tests assert the header is present on the actual request for both streaming and simple-completion entry points, with non-live tests pinning the session-ID wiring for subagent and arbiter paths.
  • Copilot fixture refresh. Live-test fixtures now reference GitHub Copilot model IDs that are still in the current catalog, fixing a type-check break caused by upstream catalog rotation.

Implemented in PR 501.