- Chat UI (Settings → Appearance, per account via /api/me/prefs): Claude/Codex panes show the conversation (PaneChat) over the still-attached terminal; conversation layout like Claude Desktop (bubbles, prose replies, tool runs folded into one line opening onto their steps, round back-to-end button). - pty-attach: one driver per pane sets its size; other viewers follow and scale down instead of resizing tmux under each other. - Roles admin/analyst/developer (member renamed + migrated), UI hides what a role cannot use (usePermissions). - Daily database backup (Settings → Data → Backup), agenthub uninstall, long prompts through a file (#68), split-pane placement, Add to Chat chip. Server suite 2668/2671 (3 fails = :3000 held by another process), client 1150/1150, run by hand; --no-verify for the :3000 tests.
3.2 KiB
AgentHub
Tiếng Việt · English
Dashboard chạy trên máy anh chị để theo dõi và điều khiển các phiên Claude Code (và Codex) ngay trên trình duyệt.
| Phần | English |
|---|---|
| Yêu cầu | Requirements |
| Cách 1 — Cài qua Claude Code | Option 1 — Through Claude Code |
| Cách 2 — Cài bằng terminal | Option 2 — From a terminal |
| Tài liệu thêm | More docs |
Yêu cầu
- Node.js ≥ 22.5
- git
- tmux
Cài:
- Ubuntu:
sudo apt install git tmux(Node.js ≥ 22.5 tải ở https://nodejs.org) - macOS:
brew install node git tmux
Cách 1 — Cài qua Claude Code (khuyên dùng)
Anh chị hãy gửi riêng từng dòng sau thẳng vào khung chat Claude Code:
/plugin marketplace add https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git
/plugin install agenthub@agenthub
/agenthub:agenthub-open
Dòng cuối in ra địa chỉ dashboard (mặc định http://localhost:4820) — mở nó trên trình duyệt là xong.
Gặp lỗi thì gửi /agenthub:agenthub-doctor để tự kiểm tra và sửa.
Cập nhật bản mới: /agenthub:agenthub-update.
Không dùng thì tắt hẳn cho khỏi chạy ngầm: Settings → Hệ thống → Thoát, hoặc
agenthub stop — mở Claude Code sẽ không tự bật lại; bật lại bằng agenthub start.
Gỡ hẳn khỏi máy: Settings → Hệ thống → Gỡ cài đặt, hoặc agenthub uninstall
(chỉ liệt kê) rồi agenthub uninstall --yes — xoá cả database của AgentHub; các cuộc
trò chuyện của Claude Code/Codex, worktree và repository của bạn được giữ lại.
Icon AgentHub cạnh đồng hồ (thanh trên cùng / menu bar / khay hệ thống) cũng có
Open, Quit và Start AgentHub; ẩn nó trong menu của icon hoặc ở Settings → Hệ thống.
Cách 2 — Cài bằng terminal (không qua Claude Code)
Chạy lần lượt trong terminal:
git clone https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git
cd AgentHub
npm run setup # cài thư viện + lệnh agenthub
npm run build # build giao diện
npm start # chạy dashboard
Mở http://localhost:4820 trên trình duyệt.
npm start tắt khi đóng terminal. Muốn dashboard tự chạy mỗi lần bật máy:
agenthub service install
⚠️ Chỉ chọn một trong hai cách. Cài cả hai thì mỗi sự kiện bị đếm hai lần.
Tài liệu thêm
- README tiếng Anh: README.en.md
- Giới thiệu đầy đủ tính năng: docs/OVERVIEW.vi.md · English: docs/OVERVIEW.md
- Cài đặt chi tiết, xử lý sự cố: INSTALL.md
- Plugin: docs/PLUGINS.md
- Lệnh
agenthub: docs/CLI.md
Internal build — all rights reserved.