8030c44af4
Cherry-picked source changes from PR #721. Fixes two Cursor standalone setup bugs: 1. findCursorHooksDir() now checks for hooks.json (unified CLI mode) in addition to legacy common.sh/common.ps1 scripts 2. installCursorHooks() now uses bun instead of node for hook commands since worker-service.cjs depends on bun:sqlite 3. Added findBunPath() to detect bun executable across platforms Build artifacts skipped (pre-existing dompurify viewer dep issue). Source-only cherry-pick, TypeScript compilation clean for modified file. Co-Authored-By: polux0 <aleksaprosperitylabs@gmail.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>