-
v2.0.1 Stable
released this
2026-10-05 15:16:12 +00:00 | 93 commits to main since this releaseAgentHub 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 searchedPATHfor the bare name and never tried the extensions Windows uses for runnable files. It now tries each extension inPATHEXT(claude.exe,codex.cmd, …; default.EXE;.CMD;.BAT). npm's extensionlessshshim, which sits next tocodex.cmd, is skipped because Windows can't run it. - Install / Update of npm-based tools on Windows.
npm.cmdand npm-installed CLIs (.cmd) are now started throughcmd.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 callPOST /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 trongPATH, không thử các đuôi file chạy được của Windows. Giờ nó thử từng đuôi trongPATHEXT(claude.exe,codex.cmd, …; mặc định.EXE;.CMD;.BAT). File shimshkhông đuôi mà npm đặt cạnhcodex.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.cmdvà các CLI cài qua npm (.cmd) giờ được chạy quacmd.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ọiPOST /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
- AI tools are detected on Windows. Before this fix,