Add `capabilities()` method to HookHandler trait so the runner can check whether a hook has ModifyToolResults permission before allowing it to mutate tool results. Without this, any registered hook could flip success, rewrite output, or suppress errors with no gate. |
||
|---|---|---|
| .. | ||
| builtin | ||
| mod.rs | ||
| runner.rs | ||
| traits.rs | ||