Skip to main content

answer

Function answer 

Source
pub fn answer(runner: &str, event: &str, out: &str) -> (String, String, i32)
Expand description

The seat’s answer (the Claude Code JSON ljos hook prints) in the runner’s contract: what to print, what to write to stderr, and the exit code. event is the event name the runner sent.