dashboard: <Reasoning> accordion — auto-open during stream, auto-collapse to "Thought for Ns" chip #962
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#962
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As an operator I want extended-thinking blocks to appear inline above the assistant answer while the agent is reasoning, then collapse to a "Thought for Ns · 4 paragraphs" chip when streaming finishes, so I can audit thinking without it dominating the timeline.
Acceptance criteria
<Reasoning>component inapps/web/src/components/agent/reasoning.tsx. Wraps thinking text rendered via Streamdown.state === "streaming". Pulse ring on the disclosure trigger.<lucide.Brain />+Thought for {seconds}sonce SSEthinking_completed(or, for claude-code, the next non-thinking event) lands.prefers-reduced-motiondisables pulse + chevron animation.interleaved-thinking-2025-05-14header): a thinking block can appear between tool calls. Component instances are keyed off event id, not "the thinking before this answer".Out of scope
Dependencies
None hard. Smoother once #951 lands (live deltas).
References
<Reasoning>: https://elements.ai-sdk.dev/components/reasoning