master
John Lauer release 1.1.119 c4d7fe2 2d ago
{
  "hydrogen_widget": "1.0.0",
  "widgets": [
    {
      "id": "claude-usage",
      "name": "Claude usage",
      "icon": "vendor:claude",
      "brief": "Your Claude limits at a glance: how much of the 5-hour session, the week, and your plan's weekly model limit you have used. Hover it for when each one resets and whether your pace runs out first.",
      "width": 320,
      "install": "adom/adom-vscode",
      "launch": {
        "command": "hydrogen-widget-claude-usage",
        "port": 27011
      },
      "health": {
        "url": "/",
        "timeout_seconds": 60
      },
      "docs": "widgets/README.md",
      "width_tall": 175,
      "about": "Reads the Claude Code sign-in in this workspace (~/.claude/.credentials.json) and asks Claude's usage endpoint, the same one Claude Code's /usage panel reads. Draws every limit in the answer: the session window, the weekly window, and each weekly limit scoped to a model (Fable, Opus, ...), in the provider's severity colour. Hovering it opens a bigger view in the card: a ring per limit that drains until the reset, the reset time on your clock, an even-pace tick on each bar, and one sentence on whether the current pace hits the limit first. No model runs, so no quota is spent.",
      "refresh": "the provider at most once every 3 minutes; pauses while the window is hidden; backs off (doubling to 15 minutes) on errors; re-reads the sign-in file only when it changes"
    },
    {
      "id": "codex-usage",
      "name": "Codex usage",
      "icon": "vendor:codex",
      "brief": "Your Codex limit at a glance: how much of the window you have used. Hover it for when it resets and whether your pace runs out first.",
      "width": 170,
      "install": "adom/adom-vscode",
      "launch": {
        "command": "hydrogen-widget-codex-usage",
        "port": 27012
      },
      "health": {
        "url": "/",
        "timeout_seconds": 60
      },
      "docs": "widgets/README.md",
      "width_tall": 135,
      "about": "Reads the Codex sign-in in this workspace (~/.codex/auth.json) and asks Codex's usage endpoint, what Codex's /status shows: the plan's rate-limit window as percent used, plus a secondary window when the plan has one. Hovering it opens the same bigger view as Claude usage: a ring that drains until the reset, the reset time, and a pace sentence. No model runs, so no quota is spent.",
      "refresh": "the provider at most once every 3 minutes; pauses while the window is hidden; backs off (doubling to 15 minutes) on errors; re-reads the sign-in file only when it changes"
    },
    {
      "id": "claude-rc",
      "name": "Claude RC",
      "icon": "vendor:claude",
      "brief": "How many Claude sessions your phone can reach right now through Remote Control. Hover it for every machine on your Adom Bridge mesh: which Claude account it is signed into, whether it is on your phone, and which of its Claude conversations have Remote Control on.",
      "width": 90,
      "install": "adom/adom-vscode",
      "launch": {
        "command": "hydrogen-widget-claude-rc",
        "port": 27014
      },
      "health": {
        "url": "/",
        "timeout_seconds": 60
      },
      "docs": "widgets/README.md",
      "width_tall": 90,
      "about": "Reads the Claude Code sign-in in this workspace and asks the session list the Claude app and claude.ai/code read: every Remote Control session on your account, which machine it runs on, and whether it is connected right now (what your phone shows). Each machine's Remote Control host (the <machine>-rc session Hydrogen keeps) is listed even when it dropped off, with when it was last seen. Over the Adom Bridge mesh it also asks each machine's Hydrogen which Claude account it is signed into (a machine on another account is flagged with the account to open on the phone) and which Claude conversations are open there, with whether each has Remote Control on, because a conversation only reaches the phone once Remote Control is on for it. Sessions the cloud still lists but has not heard from in 6 hours are counted, not shown. No model runs.",
      "refresh": "the cloud list once a minute, the machines over the mesh at most every 5 minutes; pauses while the window is hidden; backs off on errors"
    }
  ]
}