← Back to list

dsh-opencode-session

DeepSeek Harness Models & Providers Low risk

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.

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

How to install

DeepSeek Harness dsh plugin add dsh-opencode-session

About

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 …

Recommendation signals

53 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
53 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
3
mo. downloads
Last push
2026-09-11
Created
2026-09-11

Links

GitHub ↗ npm ↗ Report issue ↗

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh-plugin

Related plugins

Claude Code
Score74

claude-code-router

musistudio/claude-code-router

One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.

☆ 37.3K ↓ – Models & Providers
DeepSeek Harness
Score73

dsh-thinking-effort

hytime/dsh-thinking-effort

Configure reasoning-effort levels and sub-agent defaults for custom DSH models.

☆ 32 ↓ 6.6K Models & Providers
MCP Server
Score72

apisix

apache/apisix

The Cloud-Native API Gateway and AI Gateway

☆ 17.1K ↓ – Models & Providers
MCP Server
Score70

higress

alibaba/higress

🤖 AI Gateway | AI Native API Gateway

☆ 9.4K ↓ – Models & Providers