|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +## 0.3.0 — 2026-11-23 |
| 6 | + |
| 7 | +### Context efficiency, minified-bundle skipping, transparent sync, and dynamic-dispatch hints (`ENGINE_VERSION = 15`) |
| 8 | + |
| 9 | +- **Minified / compiled JS bundle fast-skip (`cg-scan`, `cg-extract`)**: |
| 10 | + - Skip Tree-sitter AST extraction for minified and compiled JS bundles (`*.min.[cm]?js`, |
| 11 | + webpack runtimes, Closure/Emscripten bundles such as `draco_encoder.js` and `ammo.wasm.js`), |
| 12 | + retaining them as `GENERATED` file nodes so `status`, `files`, and `node <file>` remain intact. |
| 13 | + - String/template/comment-aware JS syntax scanner in `cg_scan::generated::is_minified_content` |
| 14 | + prevents false positives on hand-written modules embedding large numeric lookup tables |
| 15 | + (e.g. `RectAreaLightUniformsLib.js`), base64 data URIs, or minified CSS/HTML template literals. |
| 16 | + - Real-world impact on `mrdoob/three.js` (1,291 files, `--release`): full indexing drops from |
| 17 | + `1,273 ms` to `405 ms` (**3.1× faster**; extraction `1,124 ms → 295 ms`), peak RSS drops from |
| 18 | + `631 MB` to `245 MB` (**-61%**), and index size shrinks from `23.0 MB` to `15.4 MB` (**-33%**). |
| 19 | +- **Session-persistent deduplication & compact/budgeted output (`cg-query`, `cg-mcp`, `cgr`)**: |
| 20 | + - Upgrade `explore::History` to a serializable 32-call sliding window with interval coalescing, |
| 21 | + exact interval subtraction for merged source windows, rendered-range dedup in focused |
| 22 | + one-symbol `explore`, and section-end-offset tracking so truncated bodies are never cached. |
| 23 | + - Add CLI `--session <ID>` / `CGR_SESSION` persistence under `.cgr/sessions/` with per-session |
| 24 | + advisory locking + reload-merge (`History::save_merged`) for parallel CLI calls, plus |
| 25 | + `--no-dedup` opt-out. |
| 26 | + - Add `--compact` (`compact` in MCP `explore`) for low-context call-flow + blast-radius + |
| 27 | + symbol outlines without dumping source bodies (never poisons dedup history), and `--max-chars` |
| 28 | + (`maxChars` in MCP `explore` and `node`) with strict cap enforcement including oversized single lines. |
| 29 | +- **Transparent auto-sync, multi-symbol queries, and CLI cleanups (`cg-sync`, `cgr`)**: |
| 30 | + - Add global `--sync` / `--no-sync` flags and `CGR_AUTO_SYNC=1` across all query commands with |
| 31 | + bounded `SyncOptions::lock_timeout` graceful fallback so edits no longer require a separate sync turn. |
| 32 | + - Support multiple symbols/targets in a single mmap open on `cgr callers`, `cgr callees`, |
| 33 | + `cgr impact`, `cgr implementations`, and `cgr node`. |
| 34 | + - Expose reference resolution counts and `resolvedRate` under `refs` in `cgr status --json`, |
| 35 | + and remove duplicate `measure_changes` in `status` and redundant `Project::open` in `node`. |
| 36 | +- **Calibrated dynamic-dispatch / ambiguity hints via on-disk `tail_idx` (`cg-store`, `cg-query`)**: |
| 37 | + - Add $O(\log R)$ `View::unresolved_refs_by_tail` and `View::unresolved_refs_from` with |
| 38 | + `UnresolvedScope` (`CallLike` vs `Dependency`) and order-independent top-K base+delta parity. |
| 39 | + - Surface concise unresolved / ambiguous / dynamic-receiver candidate sites on zero-result |
| 40 | + `callers`, `callees`, `impact`, and focused one-symbol `explore` responses without adding |
| 41 | + false-positive graph edges. |
| 42 | + |
5 | 43 | ## 0.2.0 — 2026-11-22 |
6 | 44 |
|
7 | 45 | ### Vue/Svelte SFC support and deep Rust/Kotlin/Python inference (`ENGINE_VERSION = 14`) |
|
0 commit comments