mikey-666/dsh-zen-spoof0

dsh-zen-spoof

DeepSeek Harness 插件:为 OpenCode Zen 免费模型补上官方客户端头,缓解伪 429 限流

包名
dsh-zen-spoof
版本
0.4.0
许可证
MIT
最近更新
2026年9月10日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mikey-666/dsh-zen-spoof

使用

dsh web

在会话里选 provider: opencode,模型挑任意免费 ID:

模型 ID说明
mimo-v2.5-freeMiMo V2.5(默认)
deepseek-v4-flash-freeDeepSeek V4 Flash
ling-3.0-flash-freeLing 3.0 Flash
nemotron-3-ultra-freeNemotron 3 Ultra

模型自动发现:插件启动时自动调用 Zen API 获取最新免费模型列表,上表仅供参考。

API Key 自动复用 dsh 凭据库中 OPENCODE_API_KEY 的值,无需额外配置。

配置

字段默认值说明
apiKey留空则自动读取 dsh 凭据库
apiKeyRefOPENCODE_API_KEY凭据引用名
baseURLhttps://opencode.ai/zen/v1网关地址
providers["opencode"]注册的路由名
spoofClientclix-opencode-client
projectdshx-opencode-project
userAgentopencode/1.18.30User-Agent,须含版本号
enableAutoFallbacktrue受限时自动换模型
maxFallbackAttempts5单次最多换几个
initialBackoffMs1000退避起点
maxBackoffMs30000退避上限
timeoutMs120000空闲超时(ms),0 不限

通过 cordis 配置覆盖时须重述全部键。