Post Compact
Post Compact
Section titled “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.
Configuration Properties
Section titled “Configuration Properties”commands
Section titled “commands”Map of trigger patterns to command configurations. Keys are glob patterns matching the compaction trigger (e.g., “manual”, “auto”, ”*”).
| Attribute | Value |
|---|---|
| Type | object |
| Default | {} |
Nested Types
Section titled “Nested Types”This section uses the following nested type definitions:
PostCompactCommand Type
Section titled “PostCompactCommand Type”Configuration for individual post-compact commands with optional messages.
Properties:
| Property | Type | Default | Description |
|---|---|---|---|
maxOutputLines | `integer | null` | null |
message | `string | null` | null |
notifyPerCommand | `boolean | null` | null |
run | string | - | The shell command to execute |
showCommand | `boolean | null` | true |
showStderr | `boolean | null` | null |
showStdout | `boolean | null` | null |
timeout | `integer | null` | null |
See Also
Section titled “See Also”- Configuration Overview - Complete reference for all configuration options