Skip to content

Add tool analytics panel#99

Draft
DorianZheng wants to merge 1 commit into
mainfrom
feature/tool-analytics-panel
Draft

Add tool analytics panel#99
DorianZheng wants to merge 1 commit into
mainfrom
feature/tool-analytics-panel

Conversation

@DorianZheng

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Tool Analytics route and sidebar/command entry.
  • Fetch AgentLite tool usage through a new Electron IPC bridge and aggregate active-agent tool summaries for the last hour.
  • Render top tools by call count with error count, error rate, and average duration.

Validation

  • pnpm run typecheck
  • pnpm vitest run tests/unit/src/renderer/app/workspaces/ToolAnalyticsWorkspace.test.tsx tests/unit/src/electron/main/ipc/register-main-ipc-handlers.test.ts tests/unit/src/electron/preload.test.ts tests/unit/src/shared/electron/ipc-channels.test.ts tests/unit/src/renderer/app/shell/CommandMenu.test.tsx --coverage=false

Notes

  • Full pnpm test currently fails on existing suite issues also reproducible on the original checkout, including AppShell tests, runtime snapshot reconciliation tests, settings section order, and tests/unit/build/install-guard.test.ts requiring a missing ./install-guard.cjs.

@DorianZheng DorianZheng force-pushed the feature/tool-analytics-panel branch from 137a984 to 8ccc10f Compare April 24, 2026 17:45
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