Skip to content

feat(tui): add service-scoped token usage graph - #1239

Merged
edwin-zvs merged 5 commits into
mainfrom
service-view-token-usage
Aug 11, 2026
Merged

feat(tui): add service-scoped token usage graph#1239
edwin-zvs merged 5 commits into
mainfrom
service-view-token-usage

Conversation

@edwin-zvs

@edwin-zvs edwin-zvs commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • show the project-style token usage graph in service views
  • scope cost and compute-time samples to routed sessions and their descendants
  • use one shared graph and legend renderer across operator, project, and service views
  • preserve colored model dots and names, equal-width legend columns, per-model rates, overflow counts, summed rate, cache shading, and hover detail
  • omit the service graph on short panes and exclude unrelated services
  • document the shared legend behavior

Tests

  • cargo test -p construct-cli service_view
  • cargo test -p construct-cli project_dashboard
  • cargo test -p construct-cli legend_
  • cargo build
  • git diff --check

Binary

/Users/moon/agentd/.claude/worktrees/service-view-token-usage/target/debug/construct

@edwin-zvs edwin-zvs changed the title feat(tui): show service session token usage feat(tui): add service-scoped token usage graph Aug 11, 2026
@edwin-zvs
edwin-zvs merged commit acd4024 into main Aug 11, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the service-view-token-usage branch August 11, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant