deepseek-harness/packages/compaction
2026-08-21 14:11:09 +08:00
..
command-compact release(dsh): 0.1.1-rc.1 2026-08-21 14:11:09 +08:00
compaction release(dsh): 0.1.1-rc.1 2026-08-21 14:11:09 +08:00
compaction-basic release(dsh): 0.1.1-rc.1 2026-08-21 14:11:09 +08:00
compaction-tool-result-pruner release(dsh): 0.1.1-rc.1 2026-08-21 14:11:09 +08:00
README.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
README.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
README.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00

compaction/ — compaction capability family

English | 中文

A compaction capability family (see capability seams): a Service Definition, a summarizing provider, a model-free tool-result pruning companion, and a human command Consumer. All product packages.

Package Role ctx key
compaction/ Compaction seam and event vocabulary ctx.compaction
compaction-basic/ Token-pressure and summarization backend registers ctx.compaction
compaction-tool-result-pruner/ Optional model-free tool-result pruning ctx.toolResultPruner
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.

The subsystem reference — the compaction/* events, CompactionResult, the service, pruning outcomes — is docs/subsystems/compaction.md; the seam's deliberate dsh-session/dsh-llm dependency is recorded in the compaction capability-seam Agent Note.