mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 21:05:51 +00:00
41 lines
743 B
JavaScript
41 lines
743 B
JavaScript
// Re-export runtime values + type stubs for bundling
|
|
// Types are erased at runtime, but we need the value exports
|
|
|
|
export const HOOK_EVENTS = [
|
|
'PreToolUse',
|
|
'PostToolUse',
|
|
'PostToolUseFailure',
|
|
'Notification',
|
|
'UserPromptSubmit',
|
|
'SessionStart',
|
|
'SessionEnd',
|
|
'Stop',
|
|
'StopFailure',
|
|
'SubagentStart',
|
|
'SubagentStop',
|
|
'PreCompact',
|
|
'PostCompact',
|
|
'PermissionRequest',
|
|
'PermissionDenied',
|
|
'Setup',
|
|
'TeammateIdle',
|
|
'TaskCreated',
|
|
'TaskCompleted',
|
|
'Elicitation',
|
|
'ElicitationResult',
|
|
'ConfigChange',
|
|
'WorktreeCreate',
|
|
'WorktreeRemove',
|
|
'InstructionsLoaded',
|
|
'CwdChanged',
|
|
'FileChanged',
|
|
]
|
|
|
|
export const EXIT_REASONS = [
|
|
'clear',
|
|
'resume',
|
|
'logout',
|
|
'prompt_input_exit',
|
|
'other',
|
|
]
|