You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add agentsview cost estimate to roborev queue view
internal/tokens now prefers `agentsview session usage <id> --format
json` on agentsview >= 0.30.0 and falls back to the deprecated
`token-use` on 0.15.0-0.29.x, selected via a capability probe. It
parses the new cost_usd/has_cost fields into Usage.
Usage exit codes 2 (session not found) and 3 (no token/cost data) are
treated as "no usage" rather than errors; the legacy token-use exit-1
empty-output case is still handled for older agentsview.
FormatSummary appends "· ~$0.42" when a cost estimate is present (the
review detail view picks this up automatically); FormatCost returns the
cost alone. The TUI queue gains a default-visible "Cost" column showing
the per-job estimate, blank when unpriced or not yet fetched.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments