Repository navigation
Releases
v0.13.4
Full Changelog: v0.13.3...v0.13.4
v0.13.3 - tree(deep) polish: no junk in the map, DTO props folded, honest deep response
#35: tree(deep) polish — three rough edges found by a live A/B pilot of v0.13.2 on this very repo (73 files). One pass, no contract changes. 319 selftest + 67 smoke ALL PASS (Windows fd, real Ubuntu, and the full selftest on the Native AOT binary).
- Own junk never enters the map:
ProjectScannernow skips.smartedit-bak/.smartedit-shadow/.smartedit-tmp— save-backups created during live editing no longer hang in the skeleton or pollute thelangs:census. - Trivial DTO props no longer eat the skeleton budget: an interesting member is a method/ctor/def, or has a doc line, or is a non-DTO field/prop. Trivial ones (the usual DTO names — Name/Description/Rev/TotalLines/… — or any member of a pure-DTO type with zero methods) fold into the
… +Ntail. Format bonus: methods always render with parens —Count()reads as behavior, not a field. - Deep response carries no dead fields:
groupsis not serialized (the map IS the inventory),totalBytesis honest from the scanner (0looked like an error). - +5 selftest locks (junk-in-tree, pure-DTO folding, doc'd method shown + trivial prop folded, raw deep JSON without
groups).
Full Changelog: v0.13.2...v0.13.3
v0.13.2 - tree(deep): the project map is the first call + automatic session lifecycle
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, exactpath:lineanchors in show/replace_lines coordinates. Catalogs as the repo lies, namespace chips,langs:header, per-cataloguses:edges.budget_tokens(512..8192, default 2048) caps the skeleton — the file inventory is always complete and the tail is honest.pattern/recent_hoursauto-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. closehidden (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:
treedescription, first-call tip andhelp()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
v0.13.1 - structural refactor: segments + one tool per file
Structural refactor: segments + one tool per file. No behavior changes — tool contracts and the wire format are untouched; 284 selftest + 67 smoke ALL PASS (Windows fd + real Ubuntu in CI, plus the full selftest on the Native AOT binary).
- Segments:
Core/(engine: document, session registry, analysis — no MCP, no tool JSON),Rpc/(transport + protocol dispatch),Tools/(27 tools),Infra/,Testing/(SelfTest/Smoke — was in the project root). Dependency direction:Program → Rpc → Tools → Core → Infra. - 1 tool = 1 class = 1 file: the 8 category files (EditTools.cs alone held 10 tools + helpers + registration, 549 lines) dissolved into 27 per-tool files — editing a tool means opening exactly one file.
- OOP: the static
ToolOpshelper becameabstract ToolBase(protectedJson/LockedAsync/Locked/CompileRegex);HiddenTool : ToolBase; every tool inherits the base. - Colocation: each tool's result DTO lives in its file; shared DTOs in
Tools/SharedDtos.cs; the session registry (Sessions/Attachment/Presence) moved Tools→Core (engine state); EditSession's 8 model records extracted toCore/SessionModel.cs. - Accessors: result DTOs
{get;set}→{get;init}(only genuinely post-mutatedSavedOk/SaveErrorkeepset);Attachment.LastSeenRev/LastSeenpublic fields → properties withinternal set;SyntaxGate.Enginerequired fields →required {get;init}. - Fix: the hidden-tool filter briefly broke during the refactor — a default-interface-member (
ITool.Hidden) loses its class mapping when the interface is no longer named directly in the base list (HiddenTool : ToolBaseinstead of: ITool).Hiddenis now avirtualproperty of the class hierarchy; caught by the selftest's "20 tools" check.
Full Changelog: v0.13.0...v0.13.1