deepseek-harness/packages/compact
2026-08-06 13:26:04 +08:00
..
command-compact Merge remote-tracking branch 'origin/master' into xtr/react-loop-simplification 2026-08-05 20:43:30 +08:00
compact fix(token-meter): bound projection state via logged shadow prices 2026-08-06 02:50:38 +08:00
compact-basic refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
compact-tool-result-prune fix(token-meter): bound projection state via logged shadow prices 2026-08-06 02:50:38 +08:00
README.i18n.yaml docs: rescan rebased documentation hierarchy 2026-08-05 16:16:57 +08:00
README.md docs: apply hierarchy across the corpus 2026-08-05 16:13:28 +08:00
README.zh.md docs: rescan rebased documentation hierarchy 2026-08-05 16:16:57 +08:00

compact/ — compaction capability family

English | 中文

A compaction capability family (see capability seams): an abstract interface, a summarizing backend, a model-free tool-result pruning companion, and a human command adapter. All product packages.

Package Role ctx key
compact/ Compaction seam and event vocabulary ctx.compact
compact-basic/ Token-pressure and summarization backend registers ctx.compact
compact-tool-result-prune/ Optional model-free tool-result pruning ctx.toolResultPrune
command-compact/ Human compaction command registers on ctx.commands

The backend, optional pruner, and human command compose through the seam; token measurement remains a separate LLM-family service. The compaction capability-seam Agent Note owns the dependency rationale.