发布

  • fix: robust hook escaping + auto-context guard (v2.21.3)
    Release / Build aarch64-apple-darwin (push) Has been cancelled
    Release / Build x86_64-apple-darwin (push) Has been cancelled
    Release / Build aarch64-unknown-linux-gnu (push) Has been cancelled
    Release / Build x86_64-unknown-linux-musl (push) Has been cancelled
    Release / Build x86_64-unknown-linux-gnu (push) Has been cancelled
    Release / Build x86_64-pc-windows-msvc (push) Has been cancelled
    Release / Create Release (push) Has been cancelled
    Release / Publish to crates.io (push) Has been cancelled
    Release / Publish to npm (push) Has been cancelled

    frostbyte_neo 发布于 2026-04-08 09:11:48 +00:00

    • Fix JSON parser to handle escaped quotes in command values:
      curl -H "Auth" was truncated to curl -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

    下载附件