Repository navigation
fix(plugins): distinguish usage and costs from agent activity - #1392
Conversation
Rename Usage to Usage & costs and group it under Agent tools. Clarify that costs are estimates from local agent sessions while preserving plugin and page identifiers. Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@buzz.block.builderlab.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
wesbillman
left a comment
There was a problem hiding this comment.
🤖 Star Lord’s automated source review via Wes’s account.
No actionable findings. 9/10 for minimalness, clarity and correctness: the six-file change consistently names the page “Usage & costs” and assigns the existing Agent tools category while retaining plugin ID buzz.usage, page ID usage, default-off behavior, usage calculations and lifecycle ownership. The visible pane heading and accessible region name match. Existing shared PanelHeaderLabel, FullPageSurface and EmptyState owners remain in place.
Reviewed head: 9344591
Base: cb28028
Coverage: Star Lord integration plus independent Rocket systems/lifecycle, Mantis correctness/security and Groot product/accessibility source reviews. Reviewed the public PR description and both attached screenshots; no disclosure finding. Documentation line wrapping is an optional cosmetic cleanup only.
Validation limits: source-only review; no PR code, tests, builds or app were executed. One hosted-check snapshot reports CI required successful; Windows and flake lanes were skipped. Author-reported app checks were not reproduced. Native/human acceptance, populated-session behavior, narrow widths, both themes, enlarged text, live screen-reader/focus behavior and runtime performance remain unverified. This COMMENT is not approval or merge authorization.
…-sessions * origin/main: (23 commits) Add Marketplace tab and shared agent profile panels (#1411) fix: publish scoped typing indicators from conversation composers (#1435) feat: add configurable composer and pane focus shortcuts (#1418) perf(messages): reuse captured video opening frames on remount (#1437) FOR OCT 22: let agents clone and push their channel's repository (#1324) perf(relay): keep row profile map identity while new authors load (#1431) perf: avoid redundant relay channel derivation (#1412) Normalize dialog sizing, headers, spacing, and motion (#1403) Polish agent activity pills and popover actions (#1429) feat(agents): ask to resume claude and codex turns stopped by reload or quit (#1235) test(sign-out): join listed paths with / so the tests pass on Windows (#1247) fix(deps): remove distrusted emsign certificate roots (#1436) fix(plugins): distinguish usage and costs from agent activity (#1392) refactor(design-system): extract named Appearance palettes and revise plugin gradients (#1339) fix(channels): cancel inert activity popover opens (#1426) fix(codex): set up Codex in a dialog from the agent creation card, as Claude does (#1419) Add community-local settings (#1363) Fix sidebar and pane header alignment (#1409) Show recorded Codex scripts in Activity (#1413) fix(agents): restore emoji avatars in the agent avatar picker (#1404) ... # Conflicts: # crates/agent-controller/src/app_agent.rs
…-sessions * origin/main: (23 commits) Add Marketplace tab and shared agent profile panels (#1411) fix: publish scoped typing indicators from conversation composers (#1435) feat: add configurable composer and pane focus shortcuts (#1418) perf(messages): reuse captured video opening frames on remount (#1437) FOR OCT 22: let agents clone and push their channel's repository (#1324) perf(relay): keep row profile map identity while new authors load (#1431) perf: avoid redundant relay channel derivation (#1412) Normalize dialog sizing, headers, spacing, and motion (#1403) Polish agent activity pills and popover actions (#1429) feat(agents): ask to resume claude and codex turns stopped by reload or quit (#1235) test(sign-out): join listed paths with / so the tests pass on Windows (#1247) fix(deps): remove distrusted emsign certificate roots (#1436) fix(plugins): distinguish usage and costs from agent activity (#1392) refactor(design-system): extract named Appearance palettes and revise plugin gradients (#1339) fix(channels): cancel inert activity popover opens (#1426) fix(codex): set up Codex in a dialog from the agent creation card, as Claude does (#1419) Add community-local settings (#1363) Fix sidebar and pane header alignment (#1409) Show recorded Codex scripts in Activity (#1413) fix(agents): restore emoji avatars in the agent avatar picker (#1404) ... Co-authored-by: Will Pfleger <wpfleger@block.xyz> Signed-off-by: Will Pfleger <wpfleger@block.xyz>
* origin/main: (56 commits) Polish huddle portraits and thread layout (block#1406) fix(goose): keep long model names inside the Settings model row (block#1432) feat(agents): show a timestamp on each activity feed entry (block#1443) feat(agents): add buttons to compact and start new session (block#1434) feat(activity): request and show Claude Code and Codex thinking (block#1452) add inline renaming for Solo sidebar chats (block#1345) fix(goose): say why the profile has no model to choose (block#1445) Add Marketplace tab and shared agent profile panels (block#1411) fix: publish scoped typing indicators from conversation composers (block#1435) feat: add configurable composer and pane focus shortcuts (block#1418) perf(messages): reuse captured video opening frames on remount (block#1437) FOR OCT 22: let agents clone and push their channel's repository (block#1324) perf(relay): keep row profile map identity while new authors load (block#1431) perf: avoid redundant relay channel derivation (block#1412) Normalize dialog sizing, headers, spacing, and motion (block#1403) Polish agent activity pills and popover actions (block#1429) feat(agents): ask to resume claude and codex turns stopped by reload or quit (block#1235) test(sign-out): join listed paths with / so the tests pass on Windows (block#1247) fix(deps): remove distrusted emsign certificate roots (block#1436) fix(plugins): distinguish usage and costs from agent activity (block#1392) ... Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
Overview
Category: improvement
User Impact: Users can find local agent token usage and estimated costs under Usage & costs in Agent tools.
Problem: The generic Usage name and Agents category make the local resource dashboard easy to confuse with Agent Activity.
Solution: Rename it Usage & costs, move it to Agent tools, and explain that it shows token usage and estimated costs from local agent sessions. Keep the existing plugin/page identifiers and calculations.
Changes
File changes
src/bundled/usage/manifest.json
Set the discovery name, category, and description.
src/bundled/usage/index.tsx
Match the navigation title to Usage & costs.
src/bundled/usage/UsagePage.tsx
Match the pane title, accessible region name, and empty-state help.
src/bundled/usage/README.md
Use the new name in the heading and getting-started instructions.
docs/agents.md
Update the documented destination name.
docs/plugin-architecture.md
Update the default-off plugin name.
Reproduction steps
Validation
At
9344591508c482a651290dcb01f938db1ffe4f92: commit hooks passed and the real app's plugin search/details flow was checked headlessly. The screenshots below are from that revision at 1440×1000, dark theme with magenta accent. The README fits fully without a disclosure control.Pre-push checks passed: types and related unit tests, design-system checks, and the Rust/Clippy lane (no Rust changes).
Draft: human/native acceptance, populated-session checks, and the full theme/width/enlarged-text matrix remain pending. No independent review has been requested. No browser tests were added or removed.
Screenshots