liujuntao123/dsh-clinepass-pin ↗★ 0

dsh-clinepass-pin

Pin the Cline Pass route in DeepSeek Harness to one upstream provider (default: first-party deepseek) by adding providerOptions.gateway.only to the chat request body. Companion to dsh-clinepass, which observes but never rewrites. 适合需要强制指定特定上游接口、避免路由漂移的开发人员。

패키지
dsh-clinepass-pin
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 19.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liujuntao123/dsh-clinepass-pin

配置

键默认作用
upstreamhttps://api.cline.bot网关 origin;路由自己拼 /api/v1/chat/completions
models['cline-pass/deepseek-v4.1-flash-1017']只有这些 model id 会被加钉
only['deepseek']允许的上游列表,必须非空(空列表会让网关 500)
statusFile$DSH_HOME/dsh-clinepass-pin-status.json运行证据;false 关掉
logtrue宿主日志

改配置写在 profile 的 cordis.patch.yml 里(patch 是整行替换 config):

- id: clinepass-pin
  config:
    models: [cline-pass/deepseek-v4.1-flash-1017]
    only: [deepseek]