All plugins

dsh-x-opencode-session

Verified

by MX1syk · Models & Providers

一个 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)。零默认、卸载安全、日志自动脱敏凭据。

Verified plugin

Depends on the Cordis runtime or ships a cordis.yml, so it loads as a real dsh plugin.

What we found in the repo

  • — depends on @deepseek-ai/cordis
  • — npm package dsh-x-opencode-session

Installing

Install the package, then register it in your cordis.yml:

npm install dsh-x-opencode-session
# cordis.yml
plugins:
  dsh-x-opencode-session:

Plugin keys and config options vary — check the repo's README before copying this in. dsh is in developer preview and its loader format is still changing.

Before you install

A listing here is not a security audit. The tier above records whether this repo is wired as a real dsh plugin — not whether it is safe to run. A plugin executes with your agent's permissions: your files, your shell, your network. How to vet a dsh plugin before installing

Found malware or an impersonation in this repo? Report this listing

Repository details

Stars
0
Forks
0
Open issues
0
Language
JavaScript
License
Apache-2.0
npm package
dsh-x-opencode-session @ 0.1.0
Created
2026-09-09
Last push
2026-09-09

Topics

deepseek-harnessdsh-plugin

More in Models & Providers