ZIm/crates/assistant_tools/src
Agus Zubiaga b7abc9d493
agent: Display full terminal output without scrolling (#31922)
The terminal tool card used a fixed height and scrolling, but this meant
that it was too tall for commands that only outputted a few lines, and
the nested scrolling was undesirable.

This PR makes the card be as too as needed to fit the entire output (no
scrolling), and allows the user to collapse it to fewer lines when
applicable. Making it work the same way as the edit tool card. In fact,
both tools now use a shared UI component.


https://github.com/user-attachments/assets/1127e21d-1d41-4a4b-a99f-7cd70fccbb56


Release Notes:

- Agent: Display full terminal output
- Agent: Allow collapsing terminal output
2025-06-03 10:54:25 -07:00
..
copy_path_tool Add copy-path tool (#27371) 2025-03-24 21:21:55 -04:00
create_directory_tool Add Create Directory Tool (#27505) 2025-03-26 11:59:03 -04:00
delete_path_tool Delete tool uses paths instead of globs (#26715) 2025-03-16 11:58:25 +01:00
diagnostics_tool Systematically optimize agentic editing performance (#28961) 2025-04-19 02:47:59 +00:00
edit_agent agent: Fix bug in creating empty files (#31626) 2025-05-28 19:31:54 +00:00
edit_file_tool Fix agent reading and editing files over SSH (#30144) 2025-05-07 17:07:01 +00:00
fetch_tool assistant_tools: Add fetch tool (#26999) 2025-03-18 16:25:51 +00:00
find_path_tool agent: Improve initial file search quality (#29317) 2025-04-23 21:24:41 -03:00
grep_tool Rename regex search tool to grep and accept an include glob pattern (#29100) 2025-04-20 00:53:30 +00:00
list_directory_tool agent: Improve initial file search quality (#29317) 2025-04-23 21:24:41 -03:00
move_path_tool Add move_path tool (#27366) 2025-03-24 14:45:19 +00:00
open_tool Add eval for open_tool (#29801) 2025-05-02 15:56:07 +00:00
read_file_tool Systematically optimize agentic editing performance (#28961) 2025-04-19 02:47:59 +00:00
templates agent: Fix creating files with Gemini (#31439) 2025-05-26 16:36:21 +00:00
terminal_tool agent: Discourage long-running commands (#29627) 2025-04-29 19:21:16 -03:00
thinking_tool Add thinking tool (#26675) 2025-03-14 16:26:22 -04:00
ui agent: Display full terminal output without scrolling (#31922) 2025-06-03 10:54:25 -07:00
assistant_tools.rs Rename assistant_settings to agent_settings (#31513) 2025-05-27 15:16:55 +00:00
copy_path_tool.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
create_directory_tool.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
delete_path_tool.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
diagnostics_tool.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
edit_agent.rs Pass up intent with completion requests (#31710) 2025-05-29 20:43:12 +00:00
edit_file_tool.rs agent: Display full terminal output without scrolling (#31922) 2025-06-03 10:54:25 -07:00
fetch_tool.rs assistant_tools: Reduce allocations (#30776) 2025-05-30 08:28:22 -07:00
find_path_tool.rs assistant_tools: Reduce allocations (#30776) 2025-05-30 08:28:22 -07:00
grep_tool.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
list_directory_tool.rs agent: Indiciate files and folders in list_directory (#31448) 2025-05-27 09:26:17 +00:00
move_path_tool.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
now_tool.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
open_tool.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
read_file_tool.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
schema.rs agent: Improve compatibility when using MCP servers with Gemini models (#28700) 2025-04-14 21:55:25 +02:00
templates.rs Introduce a new StreamingEditFileTool (#29733) 2025-05-01 17:37:43 +02:00
terminal_tool.rs agent: Display full terminal output without scrolling (#31922) 2025-06-03 10:54:25 -07:00
thinking_tool.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
ui.rs agent: Display full terminal output without scrolling (#31922) 2025-06-03 10:54:25 -07:00
web_search_tool.rs assistant_tools: Reduce allocations (#30776) 2025-05-30 08:28:22 -07:00