MimicHunterZ/dsh-agent-compact ↗★ 4
@mimichunterz/agent-compact
上下文压缩工具插件,允许 Agent 自行编写替代检查点并提交给主机压缩引擎,从而跳过 LLM 摘要生成调用。
AI 分析
核心用途是降低长对话中的 token 消耗。适合超长会话任务,希望通过 Agent 自主压缩上下文来节省 token 和费用的用户。
安裝
$
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 |
Pass through the inserted row in the profile's cordis.patch.yml or a bundle patch.