dsh-opencode-session
为 OpenCode / OpenCode Go 提供商请求自动附加每个会话稳定的 x-opencode-session 请求头,修复 400 MissingSessionID 错误,同时保持会话亲和与提示缓存路由。
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.
怎么安装
dsh plugin add dsh-opencode-session 简介
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 …
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 3
- 月下载
- –
- 最近更新
- 2026-09-11
- 创建于
- 2026-09-11
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh-plugin
同类推荐
claude-code-router
musistudio/claude-code-router
每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。
dsh-thinking-effort
hytime/dsh-thinking-effort
为 DSH 自定义模型配置思考档位和子 agent 默认思考强度。