ECC/.cursor
zzzhizhi 177dd36e23
fix(hooks): allow tmux-wrapped dev server commands (#321)
* fix(hooks): fix shell splitter redirection/escape bugs, extract shared module

- Fix single & incorrectly splitting redirection operators (&>, >&, 2>&1)
- Fix escaped quotes (\", \') not being handled inside quoted strings
- Extract splitShellSegments into shared scripts/lib/shell-split.js
  to eliminate duplication between hooks.json, before-shell-execution.js,
  and pre-bash-dev-server-block.js
- Add comprehensive tests for shell splitting edge cases

* fix(hooks): handle backslash escapes outside quotes in shell splitter

Escaped operators like \&& and \; outside quotes were still being
treated as separators. Add escape handling for unquoted context.
2026-03-07 14:47:49 -08:00
..
hooks fix(hooks): allow tmux-wrapped dev server commands (#321) 2026-03-07 14:47:49 -08:00
rules feat: add Cursor, Codex, and OpenCode harnesses — maximize every AI coding tool 2026-02-25 10:45:29 -08:00
skills feat: add generic content and investor skills 2026-02-27 05:50:23 -08:00
hooks.json feat: add Cursor, Codex, and OpenCode harnesses — maximize every AI coding tool 2026-02-25 10:45:29 -08:00