feat(usage): complete session usage report#661
Merged
Conversation
Add the closed-scope session usage report updates across core aggregation, CLI coverage, Desktop report UI, path redaction, localized copy, and transcript/diff navigation anchors. Keep the report token-focused and remove cost-estimate coverage markers so /usage stays a current-session observability surface rather than a billing or runtime-control feature.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes the approved P1 scope for the current-session
/usagereport and tightens the remaining Desktop analysis surface work into a closed product boundary.cost_estimatescoverage markers so the report stays token-focused and does not imply a billing feature.Product Boundary
The report is intentionally an observability projection, not a runtime control plane. It reports recorded current-session facts and coverage gaps, but it does not change scheduling, retries, context compaction, permissions, or workflow policy. Hidden subagents, visible side sessions, full trace timelines, exact per-call occurrence browsing, live status metrics, cross-session summaries, and billing/cost views remain outside the closed scope.
Validation
pnpm run lint:webpnpm run type-check:webpnpm --dir src/web-ui run test:run- 76 files / 454 tests passedcargo check --workspacecargo test --workspacegit diff --checkgit diff --cached --checkcargo checkandcargo teststill report the existingsrc/apps/desktop/src/tray.rsunused import warning, which is unrelated to this usage-report change.Notes
The design doc still calls out one final UX signoff item: a real-App long-session smoke pass for scroll/jump feel. The branch keeps this explicit instead of overstating P2 as fully complete.