Ask a question to get started
Enter to send•Shift+Enter new line
Reason context compaction was requested.
Supported hook lifecycle events.
Reason a session-end event occurred.
Reason a session-start event occurred.
Permission modes exposed by the compatible wire protocol.
Notification matcher values exposed on the wire.
Wire representation of model effort.
Permission rule returned by a hook.
Part of the compatible updatedPermissions vocabulary. Parsed today; persistent rule application is not wired yet.
updatedPermissions
Configuration scope targeted by a permission update.
External wire vocabulary (session, localSettings, projectSettings, userSettings). Recognized for parse and diagnostics; persistent destination writes are not applied yet.
session
localSettings
projectSettings
userSettings
Permission update that adds rules.
Parsed for wire compatibility; not applied to permission stores yet.
Permission update that replaces rules.
Permission update that removes rules.
Permission update that changes the active mode.
Parsed for wire compatibility; inbound mode changes are not applied yet.
Permission update that adds allowed directories.
Permission update that removes allowed directories.
Background task snapshot exposed to hook handlers.
Optional Stop/SubagentStop wire field. Omit or leave empty until a trustworthy background-task source exists.
Scheduled session prompt exposed to hook handlers.
Optional Stop/SubagentStop wire field. Omit or leave empty until a trustworthy session-cron source exists.
Fields common to every hook input.
Wire input for SessionStart.
SessionStart
Client-owned event: the terminal client still needs this envelope when it runs command handlers locally.
Wire input for UserPromptSubmit.
UserPromptSubmit
Wire input for SessionEnd.
SessionEnd
Wire input for PermissionRequest.
PermissionRequest
Wire input for Notification.
Notification
Client-owned event: the terminal client still needs this envelope when it runs command handlers locally. Wire notification types without a matching lifecycle seam are not emitted.
Wire input for PreToolUse.
PreToolUse
Wire input for PostToolUse.
PostToolUse
Wire input for PreCompact.
PreCompact
Wire input for Stop.
Stop
Wire input for SubagentStart.
SubagentStart
Wire input for SubagentStop.
SubagentStop
Event-specific output for SessionStart.
Event-specific output for UserPromptSubmit.
Event-specific output for PreToolUse.
Permission-request output that allows a tool call.
Permission-request output that denies a tool call.
Event-specific output for PermissionRequest.
Event-specific output for PostToolUse.
Event-specific output for Stop.
Event-specific output for SubagentStart.
Event-specific output for SubagentStop.
Compatible hook output with retained extension fields.
External JSON-compatible hook input and output models.