• v2.0.1 c067abc68f

    v2.0.1 Stable

    nntrivi2001 released this 2026-10-05 15:16:12 +00:00 | 93 commits to main since this release

    AgentHub 2.0.1 fixes AI CLI detection on native Windows.

    English

    • AI tools are detected on Windows. Before this fix, GET /api/ai-tools (and Settings → Agents) reported every tool, Claude Code included, as not installed. Detection searched PATH for the bare name and never tried the extensions Windows uses for runnable files. It now tries each extension in PATHEXT (claude.exe, codex.cmd, …; default .EXE;.CMD;.BAT). npm's extensionless sh shim, which sits next to codex.cmd, is skipped because Windows can't run it.
    • Install / Update of npm-based tools on Windows. npm.cmd and npm-installed CLIs (.cmd) are now started through cmd.exe. Without that, Node refuses to start them (EINVAL). The commands come only from the release catalog.
    • On Windows, after updating (/agenthub-update), click Refresh in Settings → Agents, or call POST /api/ai-tools/refresh.

    Workspace terminals still need tmux, so on Windows run AgentHub under WSL2 to use them.

    Tiếng Việt

    • Nhận diện AI tool trên Windows. Trước bản sửa này, GET /api/ai-tools (và Settings → Agents) báo mọi công cụ, kể cả Claude Code, là chưa cài. Lý do là phần dò tìm chỉ tìm đúng tên trần trong PATH, không thử các đuôi file chạy được của Windows. Giờ nó thử từng đuôi trong PATHEXT (claude.exe, codex.cmd, …; mặc định .EXE;.CMD;.BAT). File shim sh không đuôi mà npm đặt cạnh codex.cmd được bỏ qua vì Windows không chạy được nó.
    • Install / Update công cụ cài qua npm trên Windows. npm.cmd và các CLI cài qua npm (.cmd) giờ được chạy qua cmd.exe. Nếu không, Node sẽ từ chối chạy (EINVAL). Lệnh chỉ lấy từ catalog của bản phát hành.
    • Trên Windows, sau khi cập nhật (/agenthub-update), bấm Refresh trong Settings → Agents, hoặc gọi POST /api/ai-tools/refresh.

    Terminal của workspace vẫn cần tmux, nên trên Windows muốn dùng terminal thì hãy chạy AgentHub trong WSL2.

    Downloads