ZIm/crates/context_server/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
..
transport Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
client.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
context_server.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
context_server_tool.rs agent: Render diffs for the edit file tool (#29234) 2025-04-23 15:43:33 -03:00
extension_context_server.rs context_server: Interpret context server command paths relative to the extension's work dir (#27201) 2025-03-20 16:36:40 +00:00
manager.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
protocol.rs Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00
registry.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
transport.rs context_server: Abstract server transport (#24528) 2025-02-26 17:19:19 +00:00
types.rs context_server: Add missing types for MCP spec to protocol 2024-11-05 (#21498) 2024-12-04 10:45:25 -05:00