feat(workspace): per-turn token + cost meter and reasoning blocks #602
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!602
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/566"
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?
Adds token / cost / duration visibility and extended-thinking display to the workspace transcript.
Test plan
Xs · Yk+Zk tok · $N.Closes #566
CI green (
qa+dockerfile). All AC met:ReasoningBlockis collapsible, default collapsed.extractAssistantTextalready filters onlytype === "text"blocks, so thinking blocks are excluded at source.Nit (non-blocking):
TurnMetergeneratestooltipIdviaMath.random()on every render — the IDs stay in sync within each commit so there's no functional breakage, butuseId()is the idiomatic React 18 pattern and avoids needless churn on parent-triggered re-renders.