pub fn process_hook_cursor(input: &str) -> Result<String>Expand description
Process a hook invocation for Cursor (different output format).
Cursor uses flat JSON: { "permission": "allow", "updated_input": { "command": "..." } }
Returns {} when no rewrite (Cursor requires JSON on all code paths).