Files
gemini-cli/packages
Jarrod Whelan a6c26dd91a Tool Content Fixes/Changes
* fix(core): use full file content for accurate diff stats in edit tool

    Ensures the edit tool uses fully calculated new file content (instead of just the replacement snippet) when generating diff stats. This prevents the bug where 'mass deletion' were inaccurately reports in the UI.

    The fix calculates the 'AI-recommended' full file state when user modifications are present. This allows getDiffStat to receive three full-file strings, maintaining accurate telemetry for AI vs. user contributions while fixing the visual bug.

* feat(ui): structured compact payloads for list and grep tool output

    leverages structured object return types (ReadManyFilesResult, ListDirectoryResult, GrepResult) to enable rich, expandable compact output in the CLI.

    Updates the underlying core tools (read_many_files, ls, grep) to return these objects and wires up the UI in DenseToolMessage to parse and render them as expandable lists.
2026-03-12 09:39:31 -07:00
..
2026-03-12 09:39:31 -07:00