Files
storkit/.living_spec/stories/08_collapsible_tool_outputs.md

16 lines
725 B
Markdown
Raw Normal View History

2025-12-25 13:10:03 +00:00
# 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).