← 返回列表

dsh-opencode-session

DeepSeek Harness 模型与账号接入 低风险

为 OpenCode / OpenCode Go 提供商请求自动附加每个会话稳定的 x-opencode-session 请求头,修复 400 MissingSessionID 错误,同时保持会话亲和与提示缓存路由。

Attaches a stable per-conversation x-opencode-session header to OpenCode / OpenCode Go provider requests, fixing 400 MissingSessionID errors and keeping session affinity and prompt-cache routing intact.

怎么安装

DeepSeek Harness dsh plugin add dsh-opencode-session

简介

dsh-opencode-session A DeepSeek Harness (DSH) plugin that automatically sends the **x-opencode-session** request header on model calls routed to **OpenCode / OpenCode Go** providers — one stable session id per DSH conversation. Why Since 2026-09-05 OpenCode's relay requires an x-opencode-session header on API requests (tracked upstream in deepseek-harness discussion #5495); without it, requests fail with 400 MissingSessionID-style errors. Requests that share the same header value are pinned to the same upstream backend, which is also what keeps OpenCode's prompt cache warm across the turns of …

推荐参考

53 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
用户关注 · 参考最近的查看、安装命令复制和外链访问
53 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
JavaScript
GitHub 星标
3
月下载
最近更新
2026-09-11
创建于
2026-09-11

链接

GitHub ↗ npm ↗ 报告问题 ↗

基础安全检查

检查结果
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
dsh-plugin

同类推荐

Claude Code
推荐74

claude-code-router

musistudio/claude-code-router

每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。

☆ 37.3K ↓ – 模型与账号接入
DeepSeek Harness
推荐73

dsh-thinking-effort

hytime/dsh-thinking-effort

为 DSH 自定义模型配置思考档位和子 agent 默认思考强度。

☆ 32 ↓ 6.6K 模型与账号接入
MCP 服务器
推荐72

apisix

apache/apisix

云原生API网关和AI网关

☆ 17.1K ↓ – 模型与账号接入
MCP 服务器
推荐70

higress

alibaba/higress

🤖 AI网关 | AI原生API网关

☆ 9.4K ↓ – 模型与账号接入