適合需要在 OpenCode 閘道請求中帶入 DSH 工作階段 header 的 opencode 與 opencode-go 模型。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-09-29
授權條款
MIT
01它能幫你完成什麼?
在送往 opencode.ai 閘道的請求上攜帶 DSH 工作階段身分。
相符請求會取得 x-opencode-session,以及 session-affinity 和 request-id 相關 header。
透過 OpenCode 閘道執行 opencode 或 opencode-go 模型的 DSH 使用者。
02如何將外掛接入 DeepSeek Harness?
安裝步驟
- 01
$ dsh plugin --profile web add "@gausszhou/dsh-opencode-session-id"
驗證整合成功
- 重新啟動 dsh web 讓 bundle 生效。
- journalctl --user -u dsh-web -f | grep opencode-session-id
03DSH 整合程度與能力邊界
DSH 的 llm/stream 外掛,會為相符的 OpenCode 閘道請求包裝 fetch。
OpenCode 工作階段 header 注入
具有 DSH 工作階段內容的相符 OpenCode 閘道 fetch 請求。→預設以確定性的英數 nanoid(8) token 寫入工作階段相關請求 header。
只會附加到相符請求的 header。
04適合誰?何時不該用?
適合
- 透過 OpenCode 閘道執行 opencode 或 opencode-go 模型的 DSH 使用者。
不適合
- 僅涵蓋透過 fetch 的協定;WebSocket transport 不在支援範圍。
05相容性、維護與安全提醒
- 僅涵蓋透過 fetch 的協定;WebSocket transport 不在支援範圍。
MIT;README 作者聲明。
06常見問題
哪些請求會被修改?
只有相符的 OpenCode 端點請求會得到額外工作階段 header;請求本文、URL、方法及其他部分不變。
需要設定嗎?
不需要。README 說明預設設定可用,安裝後重新啟動 dsh web 即可。
支援 WebSocket transport 嗎?
不支援。README 將範圍限定為經由 fetch 的協定。
07相關的 DSH 工作流程
dsh-our-free-model
作者 ebony-vinyl
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, DeepSeek V4.1 Flash and Kimi K3 among them. Completely free, with no usage cap.
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先装运行时注入器,再加载任务感知的推理模式路由预设(已实测 P1-P23)。
dsh-ops
作者 t-auto
A toolkit for low-level operations in DSH, designed to reduce token usage and task execution time / DSH 底层操作工具插件,旨在减少 Token 消耗与任务耗时
brooks-lint
作者 hyhmrright
基于 12 本经典工程书籍的 AI 代码评审工具,提供腐化风险诊断、书籍引用、严重度标签及 6 种分析模式。
08資料與來源
it makes the **actual outgoing HTTP requests carry a session id** — the same way the opencode client itself does.
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-29。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
