Skip to content

Post Compact

Configuration for post-compact hooks with trigger-based command execution.

Commands run after transcript compaction completes. Observational - the trigger value (“manual” or “auto”) is used as the match query.

Map of trigger patterns to command configurations. Keys are glob patterns matching the compaction trigger (e.g., “manual”, “auto”, ”*”).

AttributeValue
Typeobject
Default{}

This section uses the following nested type definitions:

Configuration for individual post-compact commands with optional messages.

Properties:

PropertyTypeDefaultDescription
maxOutputLines`integernull`null
message`stringnull`null
notifyPerCommand`booleannull`null
runstring-The shell command to execute
showCommand`booleannull`true
showStderr`booleannull`null
showStdout`booleannull`null
timeout`integernull`null