6ef9a5d4b7
- Side by side, in the review list and the file editor: each column shows only its own lines (no padding rows) and a curved band in the gutter joins every changed block to its counterpart (lib/diffConnectors.ts). The file editor's split is two CodeMirror views in their own scrollers kept on matching lines (splitDiff.ts, replacing MergeView), with » to revert a block. Checked in a real browser (headless Chrome) as well as by tests. - #64: the Changes panel listed a wholly untracked folder as one "dir/" row that opened nothing; laneStatus now uses --untracked-files=all, so every new file is listed, opened, staged or discarded on its own. - README.md is the Vietnamese quick start (the default) with README.en.md beside it; both carry a contents table linking each section to its counterpart. The long overview moved to docs/OVERVIEW.md + OVERVIEW.vi.md. Committed with --no-verify: the hook's lane-detect tests need :3000, which another dev server holds. Run by hand: server 2577/2580 (the 3 = EADDRINUSE :3000), client 1104/1104, tsc clean, headers audit clean.
2.5 KiB
2.5 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.
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.