itchenshi/dsh-ready-gui--plugins-dsh-opencode-go-path ↗★ 3
dsh-opencode-go-path
DeepSeek Harness plugin for the OpenCode / OpenCode Go routes: declares the route wire protocol, keeps the DeepSeek V4.1 models at the front of the model list, and attaches a stable per-conversation x-opencode-session header (fixes 400 MissingSessionID) without leaking the internal session id. 适合使用OpenCode Go服务,需要解决400缺失会话ID报错的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:itchenshi/dsh-ready-gui#a886d1165b9c44e9887ad9fd6a8993e23449a0c4&path:plugins/dsh-opencode-go-pathドキュメント
README 全文を読む ↗配置(cordis.patch.yml 的行 config,全部可选)
| 键 | 说明 |
|---|---|
providers | 附加会话头的路由名,默认 ['opencode', 'opencode-go'];自定义路由名时加进来 |
mode | 'uuid'(默认,安全)或 'session-id'(显式可选,会发送内部会话 ID) |
debug | true 时记录每个收到头的流式调用 |
debugFile | 追加一行 JSON 的路径;仅 $DSH_HOME/logs 或系统临时目录下的路径生效,日志里的 session 字段是 SHA-256 单向散列 |