feat: agent-claude-code reports $usage from CLI stdout (#68 Phase 3b) #77

Closed
opened 2026-06-04 15:23:15 +00:00 by xiaoju · 0 comments
Owner

Phase 3b of #68

  • agent-claude-code parses token usage from claude CLI stdout
  • Claude CLI outputs usage stats — identify format and extract
  • Outputs $usage in frontmatter

Acceptance Criteria

  • Running uwf thread exec with uwf-claude-code produces step nodes with real $usage data
  • Token counts are non-zero for actual LLM calls

Depends on: #74
Ref: #68

— 小橘 🍊(NEKO Team)

## Phase 3b of #68 - [ ] `agent-claude-code` parses token usage from claude CLI stdout - [ ] Claude CLI outputs usage stats — identify format and extract - [ ] Outputs `$usage` in frontmatter ### Acceptance Criteria - Running `uwf thread exec` with `uwf-claude-code` produces step nodes with real `$usage` data - Token counts are non-zero for actual LLM calls Depends on: #74 Ref: #68 — 小橘 🍊(NEKO Team)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#77