docs(plugins): document before_install hook

This commit is contained in:
George Zhang
2026-03-29 10:17:37 -07:00
parent ac3951d731
commit 9ea0b76f06
6 changed files with 35 additions and 0 deletions

View File

@@ -263,6 +263,8 @@ Hook guard behavior for typed lifecycle hooks:
- `before_tool_call`: `{ block: true }` is terminal; lower-priority handlers are skipped.
- `before_tool_call`: `{ block: false }` is a no-op and does not clear an earlier block.
- `before_install`: `{ block: true }` is terminal; lower-priority handlers are skipped.
- `before_install`: `{ block: false }` is a no-op and does not clear an earlier block.
- `message_sending`: `{ cancel: true }` is terminal; lower-priority handlers are skipped.
- `message_sending`: `{ cancel: false }` is a no-op and does not clear an earlier cancel.