Affaan Mustafa
|
375d750b4c
|
fix: integrate recent hook and docs PRs (#1905)
Integrates useful changes from #1882, #1884, #1889, #1893, #1898, #1899, and #1903:
- fix rule install docs to preserve language directories
- correct Ruby security command examples
- harden dev-server hook command-substitution parsing
- add Prisma patterns skill and catalog/package surfaces
- allow first-time protected config creation while blocking existing configs
- read cost metrics from Stop hook transcripts
- emit suggest-compact additionalContext on stdout
Co-authored-by: Jamkris <dltmdgus1412@gmail.com>
Co-authored-by: Levi-Evan <levishantz@gmail.com>
Co-authored-by: gaurav0107 <gauravdubey0107@gmail.com>
Co-authored-by: richm-spp <richard.millar@salarypackagingplus.com.au>
Co-authored-by: zomia <zomians@outlook.jp>
Co-authored-by: donghyeun02 <donghyeun02@gmail.com>
|
2026-05-14 21:37:28 -04:00 |
|
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 |
|