Plugin directory / Network / dsh-x-opencode-session

dsh-x-opencode-session

Unverified

View on GitHub ↗ ← Back to plugin directory

0Stars
NetworkCategory
GitHubSource

What it does

一个 DeepSeek Harness(DSH)插件,为 LLM provider 请求注入动态/随机的 HTTP 请求头。DSH 的 pi-ai provider 只支持静态 headers 字符串,无法表达动态值;本插件通过包装 globalThis.fetch,按 urlPatterns 匹配请求并注入 ${uuid} 等模板值(每个 DSH 进程铸造唯一且在进程内稳定的会话 id),解决 opencode-go 网关对 x-opencode-session 头的要求(缺失会返回 400 Model is unavailable)。零默认、卸载安全、日志自动脱敏凭据。

⏳
Our take
Unverified — not yet install-tested; try it in your own environment.

“Verified” means our CI ran dsh plugin add in a clean profile and it booted — not a security audit and not an endorsement of third-party code.

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then ask DeepSeek Harness to find and install this plugin.

dsh plugin add dshbase-catalog

Web profile:

dsh plugin --profile web add github:mx1syk/dsh-x-opencode-session

View on GitHub ↗