kdeps-actions-compact
v1.0.0Summarize older conversation history into a checkpoint, keeping the most recent turns verbatim. Used by both auto-compact (full-context-window safety net) and fold (a tighter, more frequent trigger cadence for the same action).
set actions / shelf context
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the actions set, used in workflow and agent mode. The vocabulary of what an event can do when it fires: compact, truncate, block, cap, force an answer, fail a task.
- an event's trigger is met
- its action runs: compact, truncate, block, cap or force an answeractions/compact
- the agent loop continues
Loaded by: kdeps (agent loop), kdeps run, kdeps konfig export, kdeps konfig import
In the code: kdeps (agent loop)agent.ApplyKonfigagent.ActionByName
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install actions/compact@<version>.
Contents
Summarize older conversation history into a checkpoint, keeping the most recent turns verbatim. Used by both auto-compact (full-context-window safety net) and fold (a tighter, more frequent trigger cadence for the same action).
- name
- compact
- kind
- tokens
version: 1.0.0
name: compact
# kind names the trigger shape this action is meant for. Valid values:
# tokens a token-count measurement (events' "tokens"/"ctxWindowFraction"/"tokensSinceCheckpoint")
# bytes a byte-length measurement (events' "bytes")
# distinctCalls a distinct-call-count measurement (events' "distinctCalls")
# items a bare count with no trigger condition (events' "items")
# rounds a round/repeat-count measurement (events' "rounds")
kind: tokens
description: >-
Summarize older conversation history into a checkpoint, keeping the most
recent turns verbatim. Used by both auto-compact (full-context-window
safety net) and fold (a tighter, more frequent trigger cadence for the
same action).
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 10/11/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 10/11/2026