komrad hook
Run one of the agent CLI hooks komrad installs
komrad hookAn agent CLI runs these itself at a point in its own loop. They read the hook payload on stdin and write whatever that CLI expects on stdout. Nothing here is meant to be run by hand.
Commands#
komrad hook compacted#Remind an agent of its own record once its conversation has compacted
komrad hook permission-request#Record the tool an agent is waiting to be allowed to run
komrad hook post-tool-use#Record that an agent's tool call returned
komrad hook pre-tool-use#Record the tool an agent is about to run
komrad hook stop#Deliver an agent's unread mail as its turn ends
komrad hook turn-end#Record that an agent's turn ended