YSwo-fei/dsh-api-heal ↗★ 0

dsh-api-heal

自动修复「API 密钥无效」:监听凭据类失败,调用 qoder / workbuddy / our-free-model 各自的续期入口后重发请求;并提供 heal_api 工具与状态路由。Self-healing credentials for DeepSeek Harness. 用于解决API密钥失效问题。适合使用特定上游渠道、需要自动维护接口可用性的用户。

パッケージ
dsh-api-heal
互換性
未検証
Harness ピア範囲
0.2.0-rc.2
Cordis ピア範囲
^4.0.2
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/10

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YSwo-fei/dsh-api-heal

ドキュメント

README 全文を読む ↗

配置(profile cordis.patch.yml 里可覆盖)

键默认说明
enabledtrue总开关
autoHealtrue关掉就只剩手动 heal_api
cooldownMs60000两次自动自愈之间的最短间隔,防抖
requestTimeoutMs30000单次上游调用超时
webBaseUrl""留空则依次用 webServer.port/host → $DSH_WEB_URL → http://127.0.0.1:19387
registerRoutestrue是否开状态路由

例如在 profile 的 cordis.patch.yml 末尾加:

- id: api-heal
  name: dsh-api-heal
  config:
    cooldownMs: 15000
    autoHeal: true