BreakFree003/dsh-clinepass-deepseek ↗★ 14
dsh-clinepass
Cline Pass for DeepSeek Harness: an OpenAI-compatible provider route that provisions itself on Settings → Models, reports the real upstream provider it sees in the gateway's chat responses (composer pill + status file), draws the Cline Pass usage card, and keeps the route's transport prefix out of the model-facing prompt. It never rewrites a request. 适合需要在DSH中配置、使用并监控Cline Pass模型及用量卡片的用户。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BreakFree003/dsh-clinepass-deepseek配置项
withDefaults() 里的全部键;不写就是下面的默认值。
| 键 | 默认 | 作用 |
|---|---|---|
upstream | https://api.cline.bot | 网关 origin(profile 的 baseURL 是它 + /api/v1)。带路径会被截成 origin 并警告;不是 URL 则什么都不装 |
provider | cline-pass | 路由 id(卡片与胶囊都认它) |
model | cline-pass/deepseek-v4.1-flash | 模型 id(请求体要带 type/ 前缀) |
displayName | Cline Pass | 设置页卡片标题 |
contextWindow | 921600 | 登记/对齐卡片用 |
maxTokens | 384000 | 同上 |
apiKeyEnv | CLINE_PASS_API_KEY | 凭据库里的键名 |
provision | true | false = 不登记/不修复 provider 卡片(那卡片就得自己声明) |
plainModelId | true | persona 里显示裸模型 id(deepseek-v4.1-flash);false = 保持完整 id(详见下节) |
usage | true | false = 不挂载用量路由(卡片会显示「没挂载」而不是一直转圈) |
usageRoute | /api/clinepass.usage | 用量路由路径 |
usageTimeoutMs | 15000 | 宿主读网关的超时 |
usageCacheMs | 60000 | 成功读取的缓存时长;0 = 每次重取(失败只缓存 5 秒) |
statusFile | /dsh-clinepass-status.json | 观察结果落盘处;给字符串换路径,false 关掉 |