-
release: v2.12.7 — MCP Tool Enforcement + Token Optimization + 19 IDE Coverage
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 cancelled发布于
2026-04-01 13:36:08 +00:00 3-Layer MCP Tool Enforcement strategy ensuring LLMs reliably use lean-ctx
tools instead of native tools across all supported IDEs:- PreToolUse soft-redirect hooks for Claude Code, Cursor, Gemini CLI
(Read/Grep/ListFiles → ctx_read/ctx_search/ctx_tree with safety fallback) - LITM-optimized Rules v5 with beginning+end positioning
- Project-level AGENTS.md + .cursorrules auto-creation on init
Token Optimization Deep Dive (Phase 1-4):
- Removed double savings footer, config caching with OnceLock
- Stats batching, ModePredictor/FeedbackStore deferred writes
- 20+ new compression patterns (cargo, git, docker, npm, uv/conda/poetry)
- Strengthened CRP/TDD output constraints + thinking-reduction cues
- Trimmed tool descriptions
6 new IDE rules targets: Qwen Code, Trae, Amazon Q Developer, JetBrains,
Antigravity, Pi Coding Agent (19 total supported IDEs/agents)Auto-refresh on update + complete uninstall cleanup for rules + hooks.
Made-with: Cursor
下载附件
- PreToolUse soft-redirect hooks for Claude Code, Cursor, Gemini CLI