dsh-opencode-session
Attaches a stable per-conversation x-opencode-session header to OpenCode / OpenCode Go provider requests, fixing 400 MissingSessionID errors and keeping session affinity and prompt-cache routing intact.
为 OpenCode / OpenCode Go 提供商请求自动附加每个会话稳定的 x-opencode-session 请求头,修复 400 MissingSessionID 错误,同时保持会话亲和与提示缓存路由。
How to install
dsh plugin add dsh-opencode-session About
dsh-opencode-session A DeepSeek Harness (DSH) plugin that automatically sends the **x-opencode-session** request header on model calls routed to **OpenCode / OpenCode Go** providers — one stable session id per DSH conversation. Why Since 2026-09-05 OpenCode's relay requires an x-opencode-session header on API requests (tracked upstream in deepseek-harness discussion #5495); without it, requests fail with 400 MissingSessionID-style errors. Requests that share the same header value are pinned to the same upstream backend, which is also what keeps OpenCode's prompt cache warm across the turns of …
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 3
- mo. downloads
- –
- Last push
- 2026-09-11
- Created
- 2026-09-11
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
Related plugins
claude-code-router
musistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
dsh-thinking-effort
hytime/dsh-thinking-effort
Configure reasoning-effort levels and sub-agent defaults for custom DSH models.