minyang2020/dsh-migrate-on-4290

@minyang2026/dsh-migrate-on-429

DeepSeek Harness (dsh) plugin: when a session keeps hitting 429 TPM rate limits (typically because the context has grown too long), automatically summarize the current session, hand the task over to a fresh session, and continue there — a true handoff (old session cancelled first), never parallel work. Superset of the old auto-continue behavior (retries a couple of times before migrating).

包名
@minyang2026/dsh-migrate-on-429
版本
0.1.0
许可证
MIT
最近更新
2026年8月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:minyang2020/dsh-migrate-on-429

配置

配置文件 ~/.dsh/migrate-on-429.json(可在 Web 设置页「429 自动迁移」tab 里改;也可用环境变量 DSH_MIGRATE_ON_429_CONFIG 重定向到其它路径,便于测试/多 profile 隔离):

默认说明
enabledtrue主开关
quickOntrue对话框快捷开关(与主开关独立)
migrateThreshold3连续失败达到此数触发迁移(2–50)
windowMs180000请求级 429 滚动统计窗口(30s–1h)
llmSummarytrue尝试 LLM 精炼交接摘要(失败自动回退结构化)
continueMessage"continue"阈值前自动 continue 的消息内容