Repository navigation
Releases: DiederenCustomSolutions/usage-dashboard
Release list
Usage Dashboard v0.33.0
Usage Dashboard v0.33.0
- The measuring Chromes repair themselves. After the agents-pc starts, a one-off check on the agents-pc verifies that all four run and really measure, and restarts them when they do not. After a Chrome update they are restarted once apt is done, because Chrome otherwise relaunches itself outside its service and without the extension. There is no timer; both run once on their event. Telegram only when a start needed a repair, or when the repair failed.
agent-api/install.shinstalls it.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.32.0
Usage Dashboard v0.32.0
- The usage service now only serves the dashboard data (
GET /v1/usage)./v1/adviesand its rules are gone: which account an agent takes is decided by the agents themselves (agents-infra for Hermes, ACCOUNTS.md for /delegeer), not in this repo.Get-Usage.ps1no longer has-Advies.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.31.0
Usage Dashboard v0.31.0
-
Usage read service for agents (
agent-api/). It runs on the agents-pc and has two endpoints:GET /v1/usagereturns the usage per subscription (account1/2/3, claude);GET /v1/adviesreturns the best account for heavy or small work.
It is read-only and needs a Bearer token. Answers come from a cache within 2 s; when the database is unreachable, the last values are returned with
betrouwbaar: false. Stale data asks the measuring Chromes for a refresh, the same as the refresh button. The advice rules live in a config file.agent-api/README.mdhas example calls, the PowerShell helperGet-Usage.ps1, and the test that covers all accounts and the three rules. The extension's self-updater skipsagent-api/.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.30.0
Usage Dashboard v0.30.0
- Usage by model now comes from the measuring Chromes, for everyone. ChatGPT shows per person which models used the limit (Sol, Astra, Luna), for the last day with figures or the last 7 days. Claude shows per person how this week's usage splits over Claude Code, Chats and Cowork, plus a model's own weekly limit (such as Fable). claude.ai has no split per model. The tile only appears when there is something to show.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.29.0
Usage Dashboard v0.29.0
- Added Usage by model with Last night / 7 days and Model / Who views, local 60-minute cache bars, imbalance indicators and the existing Arrange tiles controls. A one-shot stdlib collector writes local totals to
usage-by-model.json; an optional Stop hook records session timestamps without installing settings. Measurements bypass the service-worker cache and are excluded from Git. Bin transport remains separate. - The tile stays hidden on a dashboard that has no measurement (such as the website), and all version numbers are bumped so browsers load the new files.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.28.0
Usage Dashboard v0.28.0
ChatGPT limit resets on the tile, and your own tile order
- Resets: a ChatGPT tile shows a small "3 resets" button next to "Last seen". Clicking it lists every
available reset with its expiry date (the same list the Codex app shows under Usage). Yellow when one
expires within 3 days. Read-only: resets are still used in Codex/ChatGPT itself.
Source: the count is inwham/usage(rate_limit_reset_credits.available_count), the expiry dates in
GET /backend-api/wham/rate-limit-reset-credits(found in the open-source Codex client,
codex-rs/backend-client). Fetched in the same measurement, with the same in-tab token; a failure
there never breaks the measurement. The fallback scraper keeps the last known resets. - Tile order per device: Dashboard ▾ → Blocks: add, restore, arrange (was "Add / restore blocks") → Arrange tiles. Drag tiles (pc) or use the arrows (phone:
up/down). The order is stored in this browser only (localStorage), new tiles go to the end;
Reset order goes back to the default.
Tested: the new measurement code run in a real ChatGPT tab on agents-pc (3 resets, dates match the
Codex app); popup, arrows, dragging and reload-keeps-order in the browser pane at pc and phone width.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.27.12
Usage Dashboard v0.27.12
ChatGPT refreshes as fast as Claude (own usage API)
Rob: refreshing ChatGPT took long compared to Claude, and two cards stopped updating. A ChatGPT
refresh reloaded the heavy usage page and read the text; that regularly took more than the 20 s the
refresh waits, so the card got "No data received".
- ChatGPT limits now come from ChatGPT's own API — the same source the Settings → Usage page uses:
GET /backend-api/wham/usagewith the access token from/api/auth/session(stays in the tab,
never stored). Works from any open chatgpt.com tab in about 1 s, no page reload. Same ladder as
Claude: message to the open tab → injection → reload the usage tab → temporary background tab. - Windows are recognised by length: ≤ 6 h = 5-hour limit, ~7 days = weekly, longer = monthly
(Codex monthly block). Personal plans with only a weekly limit (Kevin) show just the weekly bar. - Reset times are exact timestamps now (
reset5hAbsoluteTs,resetWeeklyAbsoluteTs). The cards
showed "Resets in Resets in 2h 32m" with a 0% time bar; they now show "3h 57m" / "2d 1u" with the
right bar, like Claude. The text fields stay filled in the old form ("Reset 16:52",
"Reset 6 Oct 2026 13:57") so PCs on an older version still read them correctly. - Reading the page stays as the fallback, and it now also turns "Resets in 2d 1h" into a timestamp.
Measured (agents-pc, live): Kevin (personal, weekly only) → weekly 100% left, reset 11 Oct 12:53;
Kevin LXDG-DCS (team workspace) → 5 h 100%, weekly 70% left — identical to the page.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.27.11
Usage Dashboard v0.27.11
Fixed
- ChatGPT cards stopped updating: ChatGPT moved the plan limits (5-hour / weekly) to Settings → Usage, tab "Overview". The old analytics address now lands on the "Analytics" tab, which only has charts, so every refresh found 0 percentages. The extension now opens
chatgpt.com/settings/usage?tab=overview, and a tab that is still on "Analytics" clicks through to "Overview" by itself. - The Overview page also has a "Weekly limits — % of limit used" history table (e.g. 39.5%). It was read as the current limit (100% left showed as 95%); that table is now skipped.
- Reset text no longer ends in the percentage ("Resets in 7d 0h 100" → "Resets in 7d 0h").
Measured (Kevin's Chrome on agents-pc, live ChatGPT page): tab on Analytics → switches to Overview → weekly 100% left, matching the page.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.27.10
Usage Dashboard v0.27.10
Fixed
- A refresh no longer measures services that are switched off under Settings → visible blocks. Before, a PC still opened a hidden Z.ai tab on every refresh and logged a "not logged in" error, even with Z.ai switched off.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten
Usage Dashboard v0.27.9
Usage Dashboard v0.27.9
Analyze-tabblad liet de browser vastlopen
Rob klikte op Analyze en de browser hing. De logtabel bouwde élke regel los op; op Robs pc
staan er ~5.800 (vooral "Synced status correction").
- De tabel toont de nieuwste 200 regels, met een regel eronder hoeveel er in totaal zijn.
Zoeken doorzoekt nog steeds alles. - De rijen worden in één keer neergezet in plaats van regel voor regel.
Gemeten (preview, 6.000 nagemaakte regels): tabel opbouwen 25 ms, zoeken 11 ms.
Installeren / updaten:
- Extensie (PC):
chrome://extensions→ Reload knop - PWA (telefoon): agents-controller update automatisch binnen 5 minuten