16 lines
725 B
Markdown
16 lines
725 B
Markdown
|
|
# Story: Collapsible Tool Outputs
|
||
|
|
|
||
|
|
## User Story
|
||
|
|
**As a** User
|
||
|
|
**I want** tool outputs (like long file contents or search results) to be collapsed by default
|
||
|
|
**So that** the chat history remains readable and I can focus on the Agent's reasoning.
|
||
|
|
|
||
|
|
## Acceptance Criteria
|
||
|
|
* [ ] Frontend: Render tool outputs inside a `<details>` / `<summary>` component (or custom equivalent).
|
||
|
|
* [ ] Frontend: Default state should be **Closed/Collapsed**.
|
||
|
|
* [ ] Frontend: The summary line should show the Tool Name + minimal args (e.g., "▶ read_file(src/main.rs)").
|
||
|
|
* [ ] Frontend: Clicking the arrow/summary expands to show the full output.
|
||
|
|
|
||
|
|
## Out of Scope
|
||
|
|
* Complex syntax highlighting for tool outputs (plain text/pre is fine).
|