DSH OpenCode Connect:在 DeepSeek Harness 中使用 OpenCode Zen 模型

DSH OpenCode Connect 是社区插件,通过进程内 loopback shim 将 OpenCode Zen 模型(含限时免费池)接入 DeepSeek Harness。Zen 免费层要求 opencode 客户端形态的请求头、会话与 read 工具,DSH 普通配置无法满足;插件在 pi-ai 与 Zen 之间做协议转换与无工具请求的 shim,并在 429/5xx 时沿已启用模型目录 fallback。安装命令为 dsh plugin --profile web add github:sixzjd/dsh-opencode-connect,配置在插件设置卡片完成。需注意免费池限流及上游可能收紧策略,插件以当前进程权限运行。

阅读全文