HakureiMonika/dsh-better-tips ↗★ 1

dsh-better-tips

Clear DSH error summaries, original messages, on-demand network evidence, copyable troubleshooting reports and bounded retries.

套件
dsh-better-tips
相容性
待驗證
Harness 依賴範圍
>=0.2.2-rc.2 <0.3.0
版本
0.13.2
授權
MIT
最近更新
2026年11月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HakureiMonika/dsh-better-tips

配置说明

如需调整重试次数或捕获范围,在 Profile 的 cordis.patch.yml 中覆盖已有插件配置。config 会整体替换,请保留需要的配置项。将两个重试项设为 0 可关闭本插件的额外重试。

- id: better-tips
  name: dsh-better-tips
  config:
    enabled: true              # Host 捕获与重试开关
    extraRetries: 2            # 普通请求每步额外重试(0–20)
    compactionRetries: 2       # 压缩请求额外重试(0–10)
    initialDelayMs: 1000       # 起步等待毫秒数
    maxDelayMs: 20000          # 单次等待上限
    jitterRatio: 0.2           # 等待时间随机浮动比例(0–1)
    retryableCodes:            # 允许额外重试的错误码
      - PI_AI_ERROR
      - TRANSPORT
      - TIMEOUT
      - SERVER
      - EMPTY_RESPONSE
      - RATE_LIMIT
    captureDetails: true       # 捕获底层网络证据
    captureHosts: []           # 指定主机,留空捕获全部