itchenshi/dsh-opencode-go-path ↗★ 0

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报错的用户。

패키지
dsh-opencode-go-path
호환성
미검증
버전
0.1.2
라이선스
MIT
최근 업데이트
2026. 9. 22.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:itchenshi/dsh-opencode-go-path

配置(cordis.patch.yml 的行 config,全部可选)

键说明
providers附加会话头的路由名,默认 ['opencode', 'opencode-go'];自定义路由名时加进来
mode'uuid'(默认,安全)或 'session-id'(显式可选,会发送内部会话 ID)
debugtrue 时记录每个收到头的流式调用
debugFile追加一行 JSON 的路径;仅 $DSH_HOME/logs 或系统临时目录下的路径生效,日志里的 session 字段是 SHA-256 单向散列