-
fix: robust hook escaping + auto-context guard (v2.21.3)
Release / Build aarch64-apple-darwin (push) Has been cancelledRelease / Build x86_64-apple-darwin (push) Has been cancelledRelease / Build aarch64-unknown-linux-gnu (push) Has been cancelledRelease / Build x86_64-unknown-linux-musl (push) Has been cancelledRelease / Build x86_64-unknown-linux-gnu (push) Has been cancelledRelease / Build x86_64-pc-windows-msvc (push) Has been cancelledRelease / Create Release (push) Has been cancelledRelease / Publish to crates.io (push) Has been cancelledRelease / Publish to npm (push) Has been cancelled发布于
2026-04-08 09:11:48 +00:00 - Fix JSON parser to handle escaped quotes in command values:
curl -H "Auth"was truncated tocurl -H \due to naive
[^"]*regex. Now uses([^"\\]|\\.)*with proper unescape. - Fix double-escaping: rewrite output now applies shell-escape
then JSON-escape (two passes). Previously embedded quotes
broke both shell and JSON parsing. - Fix auto-context noise: require known project_root before
triggering ctx_overview/ctx_preload. Prevents injecting
context from wrong project when root is None or ".". - Improve cache hit message with actionable guidance
- Clean up redirect scripts to minimal exit 0
- Add 5 new tests (611 total, 0 failures)
Made-with: Cursor
下载附件
- Fix JSON parser to handle escaped quotes in command values: