Structs§
- Hook
- Hook
Event After Agent - Hook
List Entry - Hook
List Outcome - Hook
Payload - Hook
Response - Hooks
- Hooks
Config - Permission
Request Outcome - Permission
Request Request - Plugin
Hook Declaration - Minimal declaration metadata for one bundled plugin hook handler.
- Post
Compact Request - Post
Tool UseOutcome - Post
Tool UseRequest - PreCompact
Outcome - PreCompact
Request - PreTool
UseOutcome - PreTool
UseRequest - Session
EndOutcome - Session
EndRequest - Session
Start Outcome - Session
Start Request - Stateless
Hook Outcome - Stop
Outcome - Stop
Request - Subagent
Hook Context - Identifies a thread-spawned subagent when a normal hook runs inside it.
- User
Prompt Submit Outcome - User
Prompt Submit Request
Enums§
Constants§
- HOOK_
EVENT_ NAMES - Hook event names as they appear in hooks JSON and config files.
- HOOK_
EVENT_ NAMES_ WITH_ MATCHERS - Hook event names whose matcher fields are meaningful during dispatch.
Functions§
- command_
from_ argv - hook_
event_ key_ label - Returns the hook event label used in persisted hook-state keys.
- hook_
key - Builds the persisted config-state key for one discovered hook handler.
- hook_
states_ from_ stack - Build effective hook state from config layers that are allowed to override user preferences.
- legacy_
notify_ json - list_
hooks - notify_
hook - plugin_
hook_ declarations - Return the hook handlers declared by plugin bundles without projecting live runtime state.
- write_
schema_ fixtures