← Schema index / Config Reference

hooks schema

Canonical generated docsThis section is generated from caco config schema --json. The table below preserves the runtime field path, type, required/default markers, and canonical description for every value in this slice.

Daemon hooks — event-driven automation entries.

Field pathTypeRequiredDefaultCanonical description
hookssectionoptionalDaemon hooks — event-driven automation entries.
└ hooks.namestringrequiredStable operator-facing label for TUI, logs, and execution history.
└ hooks.triggerstringrequiredEvent trigger or matcher (e.g. agent_completed, bead_closed).
└ hooks.actionmaprequiredStructured action.
└ hooks.action.typestringrequiredAction type: command or tmux_send.
└ hooks.action.commandstringoptionalShell command to execute (required when type = command).
└ hooks.action.targetstringoptionalPersistent agent declaration name targeted by tmux_send.
└ hooks.action.messagestringoptionalMessage text sent to the target agent when type = tmux_send.
└ hooks.action.timeoutu32optionalTimeout in seconds.
└ hooks.nodeslist[string]optionalNode names allowed to execute; omit for all nodes.