概览
dsh-opencode-session
DeepSeek Harness plugin: automatically adds a stable per-conversation x-opencode-session header to OpenCode / OpenCode Go provider requests — fixes 400 MissingSessionID and keeps OpenCode's session affinity / prompt-cache routing working.
README / ZH
插件文档
目录摘要
DeepSeek Harness plugin: automatically adds a stable per-conversation x-opencode-session header to OpenCode / OpenCode Go provider requests — fixes 400 MissingSessionID and keeps OpenCode's session affinity / prompt-cache routing working.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- The header is attached to chat/streaming requests inside an `llm/stream` call. The one-shot model listing used by the Models page (`GET <baseURL>/models`) is a separate flow and does not receive the header; if your OpenCode endpoint also rejects that listing, open an issue. - The plugin relies on DSH outbound LLM requests going through the Node global `fetch`. If a future DSH version swaps its network stack, the plugin stops injecting (symptom: the 400 comes back) — uninstall then.
