dsh-auto-continue-429
v0.1.2 · 0 天前发布
Auto-continue on 429 rate limit errors for DeepSeek Harness Web UI. Host-side RATE_LIMIT recovery plus a floating toggle button in the browser.
README
dsh-auto-continue-429
DeepSeek Harness(DSH)插件:遇到 429 限流 / 配额耗尽自动 continue 恢复对话,20 次连续失败才停,成功一次即清零。
---
✨ 功能特色
| 能力 | 说明 |
|---|---|
| 🔄 自动 Continue | dsh-llm-retry 的 step 级重试耗尽后,自动发送 continue 开启新 turn |
| 🚦 识别 429 与配额耗尽 | 监听 RATE_LIMIT(429)与 QUOTA(insufficient_quota 等)两类错误码 |
| 👆 右侧悬浮按钮 | 绿色圆形 429 按钮,点击切换开/关,右上角 × 可隐藏 |
| ⚙ 设置页开关 | 隐藏后可在设置页「429 自动 Continue」卡片重新打开 |
| 🧮 连续失败计数 | 连续失败 20 次才停止,任何一次 turn 正常结束即清零 |
| ⏱️ 固定 2 秒退避 | 每次 429 后等待 2 秒发送 continue(API Retry-After 更短则优先) |
| 📱 计数徽章 | 按钮下方显示 5/20 样式,橙色=已发生重试,深色=干净 |
| 💾 设置持久化 | 开关状态/隐藏状态保存在 ~/.dsh/auto-continue-429.json |
UI 交互示例:
```
┌─────────────────────────────────────────┐
│ │
│ 对话内容 │🟢429│ ← 绿色=已开启 │
│ │ 0/20 │ ← 连续失败计数 │
│
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-auto-continue-429
- Repo
- git+https://github.com/haochi72/dsh-auto-continue-429.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web","immediately":true}}