Usage
Types
Classes
| Name | Summary |
|---|---|
| CompactTrigger | Represents what triggered a compact operation. |
| HookDecision | Represents a hook’s decision to block or allow an operation. |
| HookEventName | Represents the different types of hook events that can be triggered in Claude Code. |
| NotificationType | Represents the type of notification sent by Claude Code. |
| PermissionDecision | Represents the decision for a PreToolUse permission check. |
| PermissionMode | Represents the permission mode under which Claude Code is operating. |
| PermissionRequestBehavior | Represents the behavior decision for a PermissionRequest hook. |
| SessionEndReason | Represents the reason why a session ended. |
| SessionStartSource | Represents the source that triggered a session start event. |
Enums
| Name | Summary |
|---|---|
| CompactTrigger | Represents what triggered a compact operation. |
| HookDecision | Represents a hook’s decision to block or allow an operation. |
| HookEventName | Represents the different types of hook events that can be triggered in Claude Code. |
| NotificationType | Represents the type of notification sent by Claude Code. |
| PermissionDecision | Represents the decision for a PreToolUse permission check. |
| PermissionMode | Represents the permission mode under which Claude Code is operating. |
| PermissionRequestBehavior | Represents the behavior decision for a PermissionRequest hook. |
| SessionEndReason | Represents the reason why a session ended. |
| SessionStartSource | Represents the source that triggered a session start event. |