Repository navigation
1.2.0 — Usage panel & settings
Your key's own spend, in the panel
The Activity Bar panel gains a My usage section — your key's daily/weekly spend against its
limit, the reset time, and each provider connection's quota side by side (Codex, Claude,
OpenCode…), instead of one provider's number.
It reads OmniRoute's self-service endpoint (GET /api/usage/om-usage?format=json) with your
connection's own key — never the management surface.
The three normal states are shown, not flattened into 0%:
- "Usage is not enabled for this key" — the
allowUsageCommandflag is off by default; an
admin turns it on per key in OmniRoute's API-key manager. A setting, not an error. - "nothing is cached yet" — the key is allowed, the server just hasn't learned a quota.
- No section — the OmniRoute server predates
?format=json; the panel hides rather than
parse the older text form.
Requires OmniRoute v3.8.50+ for the usage section; everything else works on any version.
Resolves #8 (via #12).
Settings are findable
OmniRoute: Open Settings in the Command Palette, and an Extension settings link in the
panel — the discoverability half of #10.
Install
VS Code Marketplace · Open VSX — or search "OmniRoute" in the Extensions view.
Full changelog: https://github.com/diegosouzapw/OmniCopilot/blob/main/CHANGELOG.md