MX1syk/dsh-x-opencode-session ↗★ 0
dsh-x-opencode-session
DSH plugin: inject dynamic/random HTTP request headers (${uuid} templates) into LLM provider requests, e.g. a run-stable x-opencode-session for the opencode-go gateway.
AI 분석
核心用途是为 LLM 请求动态注入自定义 HTTP 头部。适合需要对接特定网关(如 opencode-go)并维持稳定会话或进行身份穿透的开发与部署任务。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MX1syk/dsh-x-opencode-session配置
包自带的 cordis.patch.yml 只插入一个空 config 的插件行(惰性 no-op)。把下面的完整 config 写到 profile 的 cordis.patch.yml 或 $DSH_HOME/cordis.patch.yml(同一 id 的补丁层会整体替换该行的 config):