Per-conversation x-opencode-session injection for OpenCode Go in DeepSeek Harness - fixes 400 MissingSessionID without breaking other providers
-
Updated
Sep 7, 2026 - JavaScript
Per-conversation x-opencode-session injection for OpenCode Go in DeepSeek Harness - fixes 400 MissingSessionID without breaking other providers
修复 OpenCode Go 缺失 x-opencode-session 会话头导致的 400 报错。Fix OpenCode Go 400 MissingSessionID — send x-opencode-session (stable id per conversation). openai SDK / AI SDK / curl snippets + DSH patch.
dsh plugin that fixes opencode.ai 400 MissingSessionID: sends the x-opencode-session header on opencode / opencode-go routes in DeepSeek Harness. One-command install, in-memory, upgrade-safe.
DSH profile bundle: inject a stable per-conversation x-opencode-session header into opencode.ai model requests (fixes OpenCode Go 400 MissingSessionID).
Fix DSH web_search through OpenCode Go / Zen: auto-inject x-opencode-session. Drop-in patched fork of @deepseek-ai/dsh-web-search-deepseek.
To associate your repository with the x-opencode-session topic, visit your repo's landing page and select "manage topics."