MimicHunterZ/dsh-agent-compact4

@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 Analysis

核心用途是降低长对话中的 token 消耗。适合超长会话任务,希望通过 Agent 自主压缩上下文来节省 token 和费用的用户。

Package
@mimichunterz/agent-compact
Version
0.1.2
License
NOASSERTION
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MimicHunterZ/dsh-agent-compact

Configuration

fielddefaultmeaning
autoArchivetruecontext_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.