pub fn cursor_hooks_json(command: &str) -> ValueExpand description
The ~/.cursor/hooks.json content wiring the mapped lifecycle events
to command. Pure so the exact wire shape is unit-testable without
spawning anything. Uses only the long-stable documented subset —
version: 1, per-event [{command, timeout}] handler lists (see
module docs for the verified surface). The mapped events are exactly
the ones map_cursor_hook consumes; installing MORE would only add
hook-spawn overhead for payloads the relay ignores.