Skip to content

v0.13.2 - tree(deep): the project map is the first call + automatic session lifecycle

Choose a tag to compare

@github-actions github-actions released this 15 Nov 11:56
· 8 commits to main since this release

Two issues, one train: tree(deep) makes the project map the FIRST call (#33); the session lifecycle goes automatic (#34). Extraction is tree-sitter — the parser already ships for the syntax gate, so inheritance edges are tree nodes, not regex surgery. 314 selftest + 67 smoke ALL PASS (Windows, real Ubuntu, and the full selftest on the Native AOT binary).

  • tree(deep: true) — now the default: ONE token-budgeted aider-style skeleton instead of reading files whole — types with inheritance edges resolved to anchors (class OpenTool : ToolBase(src/…/ToolBase.cs:13)), top members with doc lines, exact path:line anchors in show/replace_lines coordinates. Catalogs as the repo lies, namespace chips, langs: header, per-catalog uses: edges. budget_tokens (512..8192, default 2048) caps the skeleton — the file inventory is always complete and the tail is honest. pattern/recent_hours auto-fall-back to the flat list (point query — no skeleton needed). mtime-cached (save self-invalidates). Covers .cs/.ts/.tsx/.js/.py today.
  • Session lifecycle automated: clean documents self-evict (idle >30 min, or over the 16-document LRU cap — through the existing Detach, peers intact; journal: session:evict … reason=idle|cap). Dirty documents are never evicted. Hygiene on every call, no timers; path-first re-open after eviction starts fresh.
  • close hidden (manifest 20 → 19): the ritual is dead — clean sessions auto-release and auto-evict. By-name calls live with the deprecation wrapper; use it only to force-drop YOUR unsaved edits.
  • Surface: tree description, first-call tip and help() rewritten around "map first".
  • Fix along the way: the help-compactness selftest lock now measures LF-normalized length — raw string literals carry the checkout's line endings (CRLF on Windows CI added ~52 chars; latent since the check was born).

Full Changelog: v0.13.1...v0.13.2