-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I use VS Code + Copilot on multiple machines/profiles/windows, and today token usage is effectively fragmented. I can’t easily answer “what did I use this week overall?” or compare usage across projects because the data lives only on each machine’s local session logs.
Describe the solution you'd like
Add an opt-in “central sync” mode that:
- Syncs/aggregates usage from all VS Code instances into a user-configured Azure-backed store (user-owned).
- Uses Azure AD auth by default (no secrets required), with an optional advanced mode for a storage shared key stored securely.
- Updates the status bar and details view using centralized aggregates (with filters like time range, model, workspace/repo, machine).
- Adds a command like “Ask about usage” that lets me ask natural-language questions (e.g., “Which models used the most tokens last week?”) and get answers based on the synced data.
Describe alternatives you've considered
- Manually exporting data from each machine and merging it (too tedious, error-prone).
- Keeping everything local and only showing per-machine stats (doesn’t solve cross-device aggregation).
- Using a non-Azure backend (e.g., local network share, third-party analytics service) — less ideal for orgs that standardize on Azure and/or require user-owned data stores.
Use case
- Individual developers with multiple machines want a single, accurate aggregate view of usage.
- Leads/teams (where appropriate) want to understand trends by project/repo/model over time.
- Anyone who wants quick answers (“top models”, “trend over time”, “which workspace consumes most”) without manually slicing charts/tables.
Mockups/Screenshots (if applicable)
Ideas:
- Details panel: add a “Data source: Local / Central” indicator and filter chips (Time range, Model, Workspace/Repo, Machine).
- Status bar: show central totals by default with a quick scope toggle (All machines / This machine / Current workspace).
- “Ask about usage” flow: show the interpreted query + a small results table before the final summary.
Priority
How important is this feature to you?
- Critical - I can't use the extension effectively without this
- High - This would significantly improve my experience
- Medium - This would be a nice addition
- Low - This is just a suggestion
Implementation considerations
- Performance: avoid scanning/parsing all local logs every refresh; use incremental sync + batched writes; prefer rollups/aggregates for fast UI queries.
- Cross-platform: must work on Windows/macOS/Linux, and handle multiple VS Code profiles/windows.
- Auth/policy: some orgs block storage account shared-key/local auth; the default should work with Entra ID RBAC and degrade gracefully if provisioning is blocked.
- Privacy: avoid sending raw workspace paths; treat machine identifiers as pseudonymous; require explicit confirmation before sending any query results to the language model for summarization; allow users to exclude machine-level breakdowns.
Additional context
This would unlock:
- Accurate weekly/monthly totals across devices
- Top models/workspaces/repos with filtering
- A friendly “ask” experience for insights, with clear transparency and privacy guardrails
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request