MimicHunterZ/dsh-agent-compact ↗★ 4
@mimichunterz/agent-compact
由智能体自主编写替换检查点以压缩上下文 适合需要跳过LLM摘要调用、实现高效上下文压缩的DSH会话。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MimicHunterZ/dsh-agent-compact说明文档
阅读完整 README ↗Configuration
| field | default | meaning |
|---|---|---|
autoArchive | true | context_compact saves the full raw span to a spill artifact before replacing it |
volumeNudgeTokens | 50000 | Every time accumulated surface growth (heuristic token count) since the last compaction crosses another multiple of this amount, remind the model to consider context_compact. 0 disables the nudge. |
Pass through the inserted row in the profile's cordis.patch.yml or a bundle patch.