SDK Consistency Fixes
Aligns OMC hooks with official Claude Code SDK documentation.
Changes
- post-tool-use.mjs: Use
tool_name/tool_response(official snake_case fields) with legacy fallback - post-tool-use.mjs: Add type-safe handling for
tool_responseobjects (prevents TypeError on.includes()) - persistent-mode.mjs: Use
{ decision: "block", reason }for blocking Stop hook outputs (4 locations) - stop-continuation.mjs: Use
{ decision: "block", reason }for blocking Stop hook output (1 location) - Non-blocking outputs
{ continue: true }remain unchanged (valid common field)