发布

  • feat: v3.9.6 — cache retention, rules enforcement, CEP metrics
    Release / Release gates (SDK + package versions) (push) Has been cancelled
    Release / Build aarch64-apple-darwin (push) Has been cancelled
    Release / Build x86_64-apple-darwin (push) Has been cancelled
    Release / Build aarch64-unknown-linux-musl (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-pc-windows-gnu (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 / Build x86_64-unknown-linux-gnu-cuda (push) Has been cancelled
    Release / Create Release (push) Has been cancelled
    Release / Attach JetBrains Plugin (push) Has been cancelled
    Release / Publish to crates.io (push) Has been cancelled
    Release / Publish to npm (push) Has been cancelled
    Release / Update Homebrew (push) Has been cancelled
    Release / Announce on Twitter (push) Has been cancelled

    frostbyte_neo 发布于 2026-07-10 18:46:53 +00:00

    Cache improvements:

    • Default memory_cleanup: aggressive (5min) → shared (1h)
    • Default cache_max_tokens: 500k → 2M
    • Compressed-output cache hits properly counted in CEP stats
    • read_dedup savings tracked via stats::record + flush
    • cap_to_raw() inflation prevention tracked as metric
    • Dashboard channel-breakdown API + empty-state handled

    Read redirect:

    • New full-compact mode (headerless, trailing-whitespace-stripped)
    • Redirect switched from full to full-compact (#1021 follow-up)
    • Grep redirect now host-aware (#398 follow-up)

    Rules enforcement (RULES_VERSION 8→9, CLAUDE.md v6→v7):

    • All 28 IDEs: "prefer" → MUST/NEVER/SELF-CORRECT
    • Quantitative evidence: ~1% redirect vs 13-70% direct ctx_*

    Fixes: CLI ls tree-tracking, agent_wrapper pwd - (#745 v3),
    Doctor text "30 min" → "1 hour".

    Co-authored-by: Cursor cursoragent@cursor.com

    下载附件