• v2.0.0 094d9c4418

    v2.0.0 Stable

    nntrivi2001 released this 2026-10-05 10:10:29 +00:00 | 95 commits to main since this release

    AgentHub 2.0.0 reworks the dashboard around workspaces (previously "lanes"), modelled on Claude Desktop. It also adds a VS Code-style session view and makes the server safer for long-term use.

    English

    Workspaces

    • The sidebar lists workspaces with their own sessions. Each session row shows a state dot and its AI tool, and supports rename, archive and a tool filter.
    • Every workspace has a home page with a prompt box (AI tool, model + effort, AI Router, permission mode, Local / New worktree), Recents, Instructions, Memory, Context files and extra folders.
    • A workspace lists only the sessions it owns. Codex and Antigravity sessions are claimed by their workspace even without hooks.
    • AI tool and AI Router are chosen per session. A session can run in its own claude --worktree, and Fork sits beside Resume.
    • Opening an ended session shows its conversation in the workspace. Only sending a message resumes it.

    Session view

    • Console tabs (up to 4) with New terminal. Panes split like VS Code: drag, swap, split right/down. Edge-to-edge layout.
    • Terminal: find bar, clickable links, OSC 52 copy, a reconnect overlay, screen-reader mode, Alt+1–4 / Alt+\ / Alt+W.
    • tmux scrollbar you can drag: Claude panes now render inline (CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1) so tmux keeps history, and the scrollbar is wider and visible. This applies to newly started panes.
    • Right-click menus on every item that has actions.

    Settings & UI

    • Settings at /settings/<section> with a grouped nav and search. There's a page per agent and new pages for Data, About, Cost and Pet.
    • Orca Dark / Orca Light themes, a sound per notification type, and custom pets for the mascot.
    • Shared toasts, confirm dialogs and modal focus handling; contrast fixes (accent-solid); lazy-loaded routes.
    • Status bar: connection, running / needs-you counts, Today / Workspace / Session cost.

    Data & reliability

    • Daily cost is booked to the day tokens were spent (token_usage_hourly).
    • Long-term DB safety: synchronous = NORMAL, WAL size limit, hourly maintenance. Stored hook payloads are trimmed; the full text stays in transcripts.
    • Event-loop fixes: GET /api/workflows no longer freezes the server (window query in a read worker, index restored).
    • Plugin installs without a better-sqlite3 build boot again. Checkout hooks are no longer installed beside the plugin's own, which had doubled events.
    • The terminal attaches with the running tmux server's own binary, which fixes open terminal failed: not a terminal after a tmux upgrade.
    • Codex session transcripts are shown on the session page.

    The UI calls lanes workspaces. API paths, the CLI and the database are unchanged (/api/lanes, agenthub lanes).

    Tiếng Việt

    Workspace

    • Sidebar liệt kê các workspace cùng session của từng workspace. Mỗi session có chấm trạng thái và biểu tượng AI tool, có thể đổi tên, lưu trữ và lọc theo tool.
    • Mỗi workspace có trang chủ với ô prompt (AI tool, model + effort, AI Router, chế độ quyền, Local / New worktree), Recents, Instructions, Memory, file Context và thư mục bổ sung.
    • Workspace chỉ hiện các session thuộc về nó. Session Codex/Antigravity vẫn được gắn vào workspace dù không cài hook.
    • AI tool và AI Router chọn theo từng session. Session có thể chạy trong claude --worktree riêng, và có Fork cạnh Resume.
    • Mở một session đã kết thúc sẽ hiện hội thoại ngay trong workspace. Chỉ khi gửi tin nhắn session mới được resume.

    Màn hình session

    • Console dạng tab (tối đa 4) có New terminal. Chia pane kiểu VS Code: kéo, hoán đổi, chia phải/dưới. Giao diện tràn viền.
    • Terminal: thanh tìm kiếm, link bấm được, copy OSC 52, lớp phủ khi kết nối lại, chế độ screen reader, Alt+1–4 / Alt+\ / Alt+W.
    • Scrollbar tmux kéo được: pane Claude giờ hiển thị inline (CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1) để tmux giữ lịch sử, và scrollbar rộng hơn, dễ thấy hơn. Áp dụng cho pane mở mới.
    • Menu chuột phải cho mọi mục có thao tác.

    Settings & giao diện

    • Settings ở /settings/<mục> với menu theo nhóm và ô tìm kiếm. Mỗi agent có một trang riêng; thêm các trang Data, About, Cost, Pet.
    • Theme Orca Dark / Orca Light, âm thanh riêng cho từng loại thông báo, và pet tùy chỉnh cho linh vật.
    • Dùng chung toast, hộp xác nhận và cách xử lý focus của modal; sửa độ tương phản (accent-solid); tải route theo nhu cầu (lazy).
    • Thanh trạng thái: kết nối, số đang chạy / cần bạn, chi phí Hôm nay / Workspace / Session.

    Dữ liệu & độ ổn định

    • Chi phí theo ngày được tính vào ngày token thực sự được dùng (token_usage_hourly).
    • An toàn DB lâu dài: synchronous = NORMAL, giới hạn kích thước WAL, bảo trì mỗi giờ. Payload hook lưu trong DB được rút gọn; nội dung đầy đủ vẫn còn trong transcript.
    • Sửa lỗi treo event loop: GET /api/workflows không còn làm treo server (truy vấn window chạy trong read worker, khôi phục index).
    • Bản cài plugin không có better-sqlite3 đã khởi động lại được. Không còn cài hook của bản checkout song song với hook của plugin, vốn làm nhân đôi event.
    • Terminal attach bằng chính binary của tmux server đang chạy, sửa lỗi open terminal failed: not a terminal sau khi nâng cấp tmux.
    • Trang session hiện được transcript của session Codex.

    Giao diện gọi lane là workspace. API, CLI và database không đổi (/api/lanes, agenthub lanes).

    Downloads