Expand description
Hook input types — normalized representations of what agents send via stdin.
These types are deserialized from JSON and represent the agent’s hook event.
Agent-specific protocol adapters normalize native JSON into these types via
the HookProtocol trait.
Modules§
- exit_
code - Exit codes for hook responses.
Structs§
- Session
Start Hook Input - Hook input for SessionStart events.
- Stop
Hook Input - Hook input for Stop events (conversation turn ended without a tool call).
- Tool
UseHook Input - Hook input for tool-related events (PreToolUse, PostToolUse, PermissionRequest).
Enums§
- Hook
Input - The complete hook input received from an agent via stdin.