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. 适合需要跳过LLM摘要调用、实现高效上下文压缩的DSH会话。

パッケージ
@mimichunterz/agent-compact
互換性
未検証
Harness ピア範囲
0.1.1-rc.2
バージョン
0.1.4
ライセンス
NOASSERTION
最終更新
2026/09/07

インストール

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

ドキュメント

README 全文を読む ↗

Configuration

fielddefaultmeaning
autoArchivetruecontext_compact saves the full raw span to a spill artifact before replacing it
volumeNudgeTokens50000Every 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.