Cursor Adapter Fixes
Addresses @murataslan1's beta test report (issue #45).
- Stop hook created (
hooks/cursor/stop.mjs) — records session-end events to SessionDB. Previously missing, causing CLI exit 1. - HOOK_SCRIPTS cleaned —
afterAgentResponseremoved (no script exists). Type changed toPartial<Record>. - context-mode.mdc synced with routing-block.mjs — now includes
ctx_purge,/clearpreservation, full tool hierarchy, forbidden actions, andctx_commandssection. - 3 new tests for stop hook (valid input, error status, BOM handling).
18 Cursor hook tests passing.