
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
5 lines
119 B
Rust
5 lines
119 B
Rust
mod tool_call_card_header;
|
|
mod tool_output_preview;
|
|
|
|
pub use tool_call_card_header::*;
|
|
pub use tool_output_preview::*;
|