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
-36
View File
@@ -1,36 +0,0 @@
{
"id": "gemini",
"label": "Gemini",
"detect": [
"gemini"
],
"prompt": {
"mode": "flag",
"flag": "--prompt-interactive"
},
"model": {
"flag": "--model",
"vendor": "google"
},
"bypass": [
"--yolo"
],
"homepageUrl": "https://github.com/google-gemini/gemini-cli",
"faviconDomain": "gemini.google.com",
"install": {
"kind": "npm",
"package": "@google/gemini-cli"
},
"update": {
"kind": "npm"
},
"config": [
{
"path": "~/.gemini/settings.json",
"format": "jsonc"
},
{
"path": "~/.gemini/GEMINI.md"
}
]
}
+38
View File
@@ -0,0 +1,38 @@
{
"id": "grok",
"label": "Grok Build",
"detect": [
"grok"
],
"prompt": {
"mode": "argv",
"separator": "--"
},
"model": {
"flag": "--model"
},
"resume": [
"--continue"
],
"bypass": [
"--permission-mode",
"bypassPermissions"
],
"homepageUrl": "https://x.ai/cli",
"faviconDomain": "x.ai",
"install": {
"kind": "script",
"url": "https://x.ai/cli/install.sh"
},
"update": {
"kind": "self",
"args": [
"update"
]
},
"config": [
{
"path": "~/.grok/config.toml"
}
]
}
-26
View File
@@ -1,26 +0,0 @@
{
"id": "hermes",
"label": "Hermes",
"detect": [
"hermes"
],
"args": [
"--tui"
],
"prompt": {
"mode": "after-start",
"delayMs": 3000
},
"bypass": [
"--yolo"
],
"homepageUrl": "https://hermes-agent.nousresearch.com/docs/",
"faviconDomain": "nousresearch.com",
"update": {
"kind": "self",
"args": [
"update",
"--yes"
]
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"id": "kimi",
"label": "Kimi Code",
"detect": [
"kimi"
],
"prompt": {
"mode": "after-start"
},
"model": {
"flag": "--model"
},
"resume": [
"--continue"
],
"bypass": [
"--auto"
],
"homepageUrl": "https://www.kimi.com/code/docs/",
"faviconDomain": "kimi.com",
"install": {
"kind": "script",
"url": "https://code.kimi.com/kimi-code/install.sh"
},
"update": {
"kind": "self",
"args": [
"upgrade",
"-y"
]
},
"config": [
{
"path": "~/.kimi-code/config.toml"
},
{
"path": "~/.kimi-code/tui.toml"
}
]
}
-20
View File
@@ -1,20 +0,0 @@
{
"id": "openclaw",
"label": "OpenClaw",
"detect": [
"openclaw"
],
"prompt": {
"mode": "after-start",
"delayMs": 3000
},
"homepageUrl": "https://github.com/openclaw/openclaw",
"faviconDomain": "openclaw.ai",
"update": {
"kind": "self",
"args": [
"update",
"--yes"
]
}
}