ZIm/crates/task/src
Danilo Leal 8366cd0b52
agent: Render diffs for the edit file tool (#29234)
This PR implements the `ToolCard` for the edit file tool, which allow us
to display an editor with a diff in the thread view with the changes
performed by the model.

- [x] Fix buffer sometimes displaying empty
- [x] Stop buffer from scrolling together with the thread
- [x] Fix multibuffer header sometimes appearing
- [x] Fix buffer height issue
- [x] Implement "full height" expand button
- [x] Add "Jump To File" functionality
- [x] Polish and refine styles

Release Notes:

- agent: Added diff preview cards in the thread view for edits performed
by the agent.

---------

Co-authored-by: João Marcos <marcospb19@hotmail.com>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2025-04-23 15:43:33 -03:00
..
debug_format.rs debugger: More tidy up for SSH (#28993) 2025-04-21 16:00:03 +00:00
lib.rs Implement basic support for VS Code debug configurations (#29160) 2025-04-22 14:24:09 +00:00
serde_helpers.rs tasks: Add spawn option by tag (#25650) 2025-04-04 14:20:09 +00:00
static_source.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
task_template.rs debugger: More tidy up for SSH (#28993) 2025-04-21 16:00:03 +00:00
vscode_debug_format.rs agent: Render diffs for the edit file tool (#29234) 2025-04-23 15:43:33 -03:00
vscode_format.rs Implement basic support for VS Code debug configurations (#29160) 2025-04-22 14:24:09 +00:00