DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

X Opencode Session — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
X

dsh-x-opencode-session

X Opencode Session

DeepSeek Harness plugin: When the model request URL contains opencode.ai, adds the x-opencode-session request header, reusing the session ID included in the request (fixed for the same conversation, unchanged after restarts or disconnections, and different for different conversations).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Coco-king/dsh-x-opencode-session#2e7ce82c9fa821f63edb80f2ab641a87e1a7de3c
READMECompatibilityVersions

Compatibility and provenance

X Opencode Session is published as dsh-x-opencode-session and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/7/2026

Versions

0.1.0stable
9/7/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/7/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rPocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).DSCODE@toddzheng024/dscode-bundleA complete DeepSeek coding agent with persistent shell, Ultra collaboration and automatic permission review.

README

dsh-x-opencode-session

DeepSeek Harness 插件:当模型调用发往 URL 包含 opencode.ai 的服务(如 OpenCode Go / Zen 网关)时,自动为请求附加请求头 x-opencode-session。

作用

该请求头用于向服务端标识当前会话,值无需任何配置,插件会自动满足:

  • 同一对话内固定 —— 同一对话的所有模型请求携带同一个值;
  • 不同对话互不相同 —— 各对话之间互不干扰;
  • 断开网络或重启后不变 —— 值来自对话自身的持久标识,重启、续聊、断网重连后依然一致。

插件直接复用对话已有的会话标识,不维护任何额外 id、映射或状态,也不影响其他请求:只有发往 opencode.ai 的模型请求会被附加该头,其他提供方与旁路请求不受影响。

安装

从 GitHub 安装:

dsh plugin --profile web add https://github.com/Coco-king/dsh-x-opencode-session.git#v0.1.0

或从 Gitee 安装(国内用户可用;代码由 GitHub 自动镜像同步到 Gitee):

dsh plugin --profile web add https://gitee.com/kkcoco/dsh-x-opencode-session.git#v0.1.0

将 #v0.1.0 换成当前发布版本的 tag 即可锁定版本。

重启 web 服务(或刷新页面 + HMR)后生效。卸载:

dsh plugin --profile web remove dsh-x-opencode-session

开发迭代:修改代码后重新执行 dsh plugin --profile web add <本仓库路径> 即可。

验证

  1. 用 opencode-go 提供方的模型发起对话并正常使用;
  2. 通过抓包或服务端日志确认请求带上了 x-opencode-session 头;
  3. 同一对话中多次请求值一致,另开一个新对话值不同,重启 web 后再发消息值仍与之前一致。

License

MIT