pub fn process_hook(
input_json: &str,
rtk_rewrite_fn: impl FnOnce(&str) -> Option<String>,
) -> QwenOutputExpand description
Process a single hook input and return the output.
If rtk_rewrite_fn returns Some, the command is rewritten.
Otherwise the original command passes through.