MimicHunterZ/dsh-agent-compact ↗★ 4
@mimichunterz/agent-compact
Context compression tool (context_compact): the agent writes the replacement checkpoint itself and hands it to the host compaction engine, which skips the LLM summarizer call; automatic compaction stays on the official engine.
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.