Skip to main content

normalize_input

Function normalize_input 

Source
pub fn normalize_input(runner: &str, input: &str) -> String
Expand description

The runner’s stdin as the Claude Code payload ljos hook reads: hook_event_name, session_id, cwd, and tool_name with tool_input, or prompt. A payload that is not JSON, or a runner that already sends this shape, is returned as it came.