a9c71cd905
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.
94 lines
2.8 KiB
Markdown
94 lines
2.8 KiB
Markdown
# AgentHub
|
|
|
|
[Tiếng Việt](README.md) · **English**
|
|
|
|
A dashboard that runs on your machine to watch and drive your Claude Code (and
|
|
Codex) sessions from the browser.
|
|
|
|
| Section | Tiếng Việt |
|
|
| --- | --- |
|
|
| [Requirements](#requirements) | [Yêu cầu](README.md#requirements) |
|
|
| [Option 1 — Through Claude Code](#install-claude-code) | [Cách 1 — Cài qua Claude Code](README.md#install-claude-code) |
|
|
| [Option 2 — From a terminal](#install-terminal) | [Cách 2 — Cài bằng terminal](README.md#install-terminal) |
|
|
| [More docs](#more-docs) | [Tài liệu thêm](README.md#more-docs) |
|
|
|
|
<a id="requirements"></a>
|
|
|
|
## Requirements
|
|
|
|
- **Node.js ≥ 22.5**
|
|
- **git**
|
|
- **tmux**
|
|
|
|
To install them:
|
|
|
|
- Ubuntu: `sudo apt install git tmux` (get Node.js ≥ 22.5 from <https://nodejs.org>)
|
|
- macOS: `brew install node git tmux`
|
|
|
|
<a id="install-claude-code"></a>
|
|
|
|
## Option 1 — Install through Claude Code (recommended)
|
|
|
|
Send **each line on its own** straight into the Claude Code chat:
|
|
|
|
```
|
|
/plugin marketplace add https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git
|
|
```
|
|
|
|
```
|
|
/plugin install agenthub@agenthub
|
|
```
|
|
|
|
```
|
|
/agenthub:agenthub-open
|
|
```
|
|
|
|
The last one prints the dashboard's address (by default <http://localhost:4820>) —
|
|
open it in the browser and you are done.
|
|
|
|
Something wrong? Send `/agenthub:agenthub-doctor` to check and fix it.
|
|
To update to a new version: `/agenthub:agenthub-update`.
|
|
Not using it? Quit so nothing runs in the background: **Settings → System → Quit**,
|
|
or `agenthub stop` — opening Claude Code no longer starts it; `agenthub start` does.
|
|
AgentHub's icon beside the clock (top bar / menu bar / notification area) offers
|
|
**Open**, **Quit** and **Start AgentHub** too; hide it from its menu or in **Settings → System**.
|
|
|
|
<a id="install-terminal"></a>
|
|
|
|
## Option 2 — Install from a terminal (without Claude Code)
|
|
|
|
Run these in a terminal, one after another:
|
|
|
|
```bash
|
|
git clone https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git
|
|
cd AgentHub
|
|
npm run setup # install the dependencies + the agenthub command
|
|
npm run build # build the UI
|
|
npm start # run the dashboard
|
|
```
|
|
|
|
Open <http://localhost:4820> in the browser.
|
|
|
|
`npm start` stops when the terminal closes. To have the dashboard start every time
|
|
the machine boots:
|
|
|
|
```bash
|
|
agenthub service install
|
|
```
|
|
|
|
> ⚠️ Pick **only one** of the two options. With both installed, every event is
|
|
> counted twice.
|
|
|
|
<a id="more-docs"></a>
|
|
|
|
## More docs
|
|
|
|
- Vietnamese README: [README.md](README.md)
|
|
- The full feature overview: [docs/OVERVIEW.md](docs/OVERVIEW.md) ·
|
|
Tiếng Việt: [docs/OVERVIEW.vi.md](docs/OVERVIEW.vi.md)
|
|
- Detailed install, troubleshooting: [INSTALL.md](INSTALL.md)
|
|
- Plugin: [docs/PLUGINS.md](docs/PLUGINS.md)
|
|
- The `agenthub` command: [docs/CLI.md](docs/CLI.md)
|
|
|
|
Internal build — all rights reserved.
|