dsh-flashback
Keep a task's state across context compaction for DeepSeek Harness: the model writes a checkpoint and the plugin re-injects it into the system prompt after every compaction. Checkpoints stay in the plugin's own folder, never in your workspace.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Saretheya/dsh-flashback配置
插件没有必须手改的配置。可调项集中在 data/ 与工具参数里:
| 项 | 默认 | 说明 |
|---|---|---|
| 单份检查点写入上限 | 60000 字符 | 超出直接拒绝,不静默截断 |
| 单份检查点注入上限 | 12000 字符 | 超出截断并提示,仍可用 checkpoint_read 取全文 |
| 保留代际数 | 20 | 超出删最旧 |
| 跨会话卡片有效期 | 7 天 | 超过只给一行指针 |
| 落盘新鲜度窗口 | 10 分钟 | 超过则 context_compact 拒绝预约 |