feat(workspace): per-turn token + cost meter and reasoning blocks #566
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.
Blocks
Depends on
#572 refactor(workspace): chat UX polish sweep — paper cuts
charles/claude-hooks
#565 feat(workspace): tool-call output + Edit/Write diff preview in transcript
charles/claude-hooks
#569 feat(workspace): per-session model picker for foreman chat
charles/claude-hooks
Reference
charles/claude-hooks#566
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 to see per-turn cost / tokens / duration and any extended-thinking blocks the model emitted, so I know what each turn cost me and what the model considered.
Acceptance criteria
Per-turn meter
<duration>·<input>+<output> tok·$<cost>. Data already lives inresult.detail(seeapps/server/src/infrastructure/event-log.ts:152).Reasoning blocks
extractAssistantTextis updated to skip thinking blocks for the streaming bubble's main text (renders separately).Out of scope
References
apps/server/src/infrastructure/agent/sdk-adapter.ts:107(extractAssistantText) andevent-log.ts:152(result.detail).specs/workspace-chat-overhaul.md§ P3.