@orchestkit/hook-contract — Interactive Playground
M141-1
#1802
#1860
v0.1.0
Click an event to inspect its JSON schema · paste a payload below to validate it.
19 Hook Events
JSON Schema (draft-07) —
SessionStart
Validator Demo
Paste any JSON below. The shipped
validateHookEvent()
helper runs in your browser (zero runtime deps). Same code path the contract publishes to npm.
{ "event": "PreToolUse", "timestamp": "2026-05-18T10:11:16Z", "session_id": "sess_abc", "cwd": "/tmp/repo", "payload": { "tool": "Bash" } }
Validate
Try invalid payload
Try missing event tag
Output will appear here.