feat: v2.5.12 — plan and quota for every AI tool, Grok Build and Kimi Code, Quit AgentHub (#65)

Usage panel (status bar):
- every account shows its plan (Claude subscriptionType, Codex
  chatgpt_plan_type, Cursor membershipType, Grok subscriptionTier)
- new quota rows: Cursor CLI (cursor.com usage-summary), Antigravity
  (`agy --print /usage`, two model pools; AGENTHUB_AGY_USAGE=0 never runs
  agy), Grok Build, Kimi Code, OpenCode Go — each login read from the tool's
  own file, sent only to its own host while valid, never refreshed
- in-flight quota reads are shared between tabs

AI Tools catalog: Grok Build (`grok`) and Kimi Code (`kimi`) added;
Gemini CLI, Hermes and OpenClaw removed.

Also: Quit AgentHub (#65, `agenthub stop`), status-area icon, Add to Chat
on an editor selection, Settings in three groups, JetBrains-style Changes
panel (ticked files/hunks, ignore, blame, file history), terminal font.

--no-verify: :3000 is taken by another dev server (lane-detect tests);
both suites run by hand — server 2636/2639 (the 3 are :3000), client
1131/1131.
This commit is contained in:
2026-10-08 12:22:14 +07:00
parent 6ef9a5d4b7
commit a9c71cd905
133 changed files with 8007 additions and 1830 deletions
+70 -47
View File
@@ -137,7 +137,8 @@
"incomplete": "Hooks incomplete",
"reinstall": "Reinstall Hooks",
"success": "Hooks installed successfully",
"failed": "Hook installation failed"
"failed": "Hook installation failed",
"plugin": "Provided by the agenthub plugin (its plugin.json), not settings.json"
},
"lanesSection": {
"title": "Workspaces",
@@ -311,16 +312,51 @@
"unavailable": "Not available here: needs systemd --user on Linux, or a GUI login on macOS.",
"foreign": "A service named agenthub that AgentHub did not write already exists — AgentHub leaves it alone."
},
"tray": {
"label": "Show AgentHub icon in the status area",
"desc": "An AgentHub icon beside the clock (top bar, menu bar or notification area) to open the dashboard, quit it, and start it again after a quit.",
"unavailable": "Not available here: needs a graphical desktop session, and is off in server mode."
},
"quit": {
"label": "Quit AgentHub",
"desc": "Stop the dashboard so nothing runs in the background. Opening Claude Code no longer starts it; run `agenthub start` to bring it back.",
"button": "Quit",
"confirmTitle": "Quit AgentHub?",
"confirmMessage": "Every workspace terminal is closed — running agents stop — and the dashboard shuts down. It stays off until you run `agenthub start`.",
"confirmMessageAutostart": "Every workspace terminal is closed — running agents stop — and the dashboard shuts down. It stays off until you run `agenthub start`, or until the next boot/login (start automatically is on).",
"done": "AgentHub is stopping. Run `agenthub start` to start it again."
},
"about": {
"title": "About",
"description": "Server runtime information.",
"title": "System",
"release": "Release",
"uiBuild": "UI build v{{version}} (rebuild client to match)",
"uptime": "Uptime",
"nodejs": "Node.js",
"platform": "Platform",
"wsClients": "WS Clients",
"loadingInfo": "Loading server info..."
"wsClients": "Live connections",
"wsClientsDesc": "Browser tabs and tools receiving live updates",
"loadingInfo": "Loading server info...",
"server": "Server",
"cpu": "CPU",
"cpuValue": "{{count}} cores · load {{load}}",
"memory": "Process memory",
"memoryValue": "{{rss}} RSS · heap {{used}} of {{limit}}",
"systemMemory": "System memory",
"systemMemoryValue": "{{used}} used of {{total}}",
"install": "Installation",
"installKind": {
"plugin": "Claude Code plugin",
"checkout": "Git checkout"
},
"latest": "Latest release",
"upToDate": "Up to date",
"updateAvailable": "Update available",
"unknown": "Unknown",
"database": "Database",
"dbFile": "Database file",
"journal": "Journal mode",
"activity": "Events recorded",
"activityValue": "{{m5}} in 5 min · {{m15}} in 15 min · {{h1}} in 1 h"
},
"tables": {
"sessions": "sessions",
@@ -764,9 +800,7 @@
"group": {
"general": "General",
"agents": "Agents",
"routing": "Routing",
"git": "Git",
"cost": "Cost"
"data": "Data"
},
"section": {
"appearance": {
@@ -800,37 +834,25 @@
"title": "Pricing",
"description": "Model prices for every vendor, used to estimate cost. Rates per million tokens (USD); % is a wildcard in a pattern; a model's introductory rate is shown in violet."
},
"gitCredentials": {
"title": "Git credentials",
"description": "Logins AgentHub gives git for a dashboard fetch, pull or push."
},
"worktrees": {
"title": "Worktrees",
"description": "Which untracked git worktrees a workspace's Add folder suggests."
},
"data": {
"title": "Data",
"description": "Cost and database overview, import, remote sources, export, cleanup and the danger zone."
},
"about": {
"title": "About",
"description": "Server version, uptime and runtime."
},
"snapshots": {
"title": "Snapshots",
"description": "Frozen, read-only copies of sessions, each behind its own link."
"title": "Database",
"description": "Total cost, database overview, import, remote sources, export, cleanup and the danger zone."
},
"reports": {
"title": "Reports",
"description": "Analytics summaries written on a schedule, as HTML or JSON."
"title": "Snapshots & reports",
"description": "Read-only session snapshots behind their own links, and analytics summaries written on a schedule."
},
"users": {
"title": "Users",
"description": "Accounts, their usage and the audit log."
"system": {
"title": "System",
"description": "Version, install, start at login, server runtime and the database file."
},
"git": {
"title": "Git",
"description": "Logins AgentHub gives git for a dashboard fetch, pull or push, and which worktrees Add folder suggests."
}
},
"backPrevious": "Back",
"unknownSection": "There is no “{{section}}” settings page — showing General instead."
"unknownSection": "There is no “{{section}}” settings page — showing Appearance instead."
},
"search": {
"placeholder": "Search settings",
@@ -856,6 +878,18 @@
"vi": "Tiếng Việt"
}
},
"terminalFont": {
"title": "Terminal font",
"description": "The font of the workspace terminals. Takes effect the next time a terminal opens. Saved in this browser only.",
"label": "Font",
"names": {
"jetbrains": "JetBrains Mono",
"maple": "Maple Mono (rounded)",
"system": "System font"
},
"systemNote": "Your browser's fixed-width font. It may lack some Vietnamese letters (ấ, ế, ố…), which then draw out of line.",
"preview": "Preview"
},
"rowMenu": {
"copyHost": "Copy host",
"copyUrl": "Copy endpoint",
@@ -947,20 +981,9 @@
"imported": "Imported {{count}} preference(s). Reloading…",
"badFile": "That file is not an AgentHub preferences file."
},
"users": {
"title": "Users",
"description": "Every account on this server, with its workspaces, sessions and recent usage.",
"name": "User",
"role": "Role",
"workspaces": "Workspaces",
"sessions": "Sessions",
"last7d": "7 days",
"last30d": "30 days",
"disabled": "disabled",
"tokens": "{{n}} tokens",
"manageHint": "Add, disable or change a user on the host: agenthub users …",
"auditTitle": "Audit log",
"auditDescription": "Each time an admin or analyst opened a session a member owns.",
"auditEmpty": "No reads recorded yet."
"pricingLink": {
"title": "Model pricing",
"description": "Prices for every vendor's models live on one page.",
"open": "Open Pricing"
}
}