You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.4.3] - 2026-04-20
Added
Explicit verbosity toggles — write, edit, and batch_edit now accept show_diff, and search now accepts show_preview, so large payloads are opt-in when they materially affect the next decision.
Changed
Lean default mutation responses — Clean deterministic write, edit, and batch_edit results no longer return full diffs by default. They now expose machine-readable diff_state metadata and reserve full diffs for partial applies, debug mode, or explicit requests.
Compressed batch/search/glob/stats payloads — batch_read now returns unchanged_count by default instead of full unchanged path lists, skipped-file guidance moved to a summary hint, search omits previews by default, glob omits per-match tokens/mtime outside debug, and stats text output is shorter while preserving structured data.
Estimated token impact — In representative local simulations, the new defaults cut response size by about 67.2% across compact-mode edit/read/batch cases, 53.7% across the normal-mode search/glob cases, and 59.9% across the combined sample workload.
Fixed
Warm-cache read safety — read no longer drops the content field on unchanged cache hits, so a first read in a new client session still receives a body even when the persistent cache is already warm.
Diff contract stability — Truncated responses now preserve diff metadata instead of silently dropping it.
Diff state accuracy — Unchanged writes no longer misreport diff_omitted=true, and diff-bearing tools now distinguish full, unchanged, and omitted states consistently.