Expand description
Map HookEvent → core Event + derive SessionStatus.
Functions§
- hook_
to_ event - Map HookEvent → Event. seq caller-supplied.
- hook_
to_ status - Derive target SessionStatus from hook kind. PreToolUse → Waiting, PostToolUse → Running, Stop → Done, SessionStart → Running, Unknown → None.