Bug reportClosed

Agent detection fails despite valid local CLI registry

Đạt TrầnPosted

What is happening

Location: Chat > Agents > Local CLI detection
 
Mô tả:
 
Trong 1AIVault, panel Agents báo 0 detected và từng agent như Claude Code, Codex, Gemini, Antigravity, OpenCode, Hermes Agent, Cline, Amp, Qwen, Aider đều hiển thị Agent detection failed.. Khi chọn @Agent, phần chat báo No detected local CLI is selected., nên người dùng không thể gửi prompt cho local CLI từ 1AIVault.
 
Điều tra trên máy cho thấy các CLI chính vẫn resolve được từ PowerShell, gồm claude.exe, codex.ps1, gemini.ps1, opencode.ps1, qwen.ps1, cline.ps1. File C:\Users\ACER\.1aivault\state\cli-registry.json cũng đã có entry hợp lệ cho Claude, Codex, Gemini, Antigravity, OpenCode và Cline với path/version, được ghi nhận từ ngày 13/07/2026.
 
Vì vậy lỗi có thể nằm ở luồng đọc hoặc khôi phục cli-registry.json, hoặc refresh detection trong 1AIVault/Electron renderer/main process, không phải do máy hoàn toàn thiếu CLI. Ngoài ra debug.log có warning path bị ghép sai dạng C:\Users\ACER\.1aivault\models\C:\Users\ACER\AppData\Local\Programs\1aivault\resources\app.asar, cho thấy có thể tồn tại lỗi path resolution cần kiểm tra thêm.
 
Attachment:
 
Ảnh đính kèm cho thấy panel Agents báo 0 detected, từng agent hiển thị Agent detection failed., vùng chat báo No detected local CLI is selected., và thao tác cài OpenCode báo lỗi spawn UNKNOWN.

Expected result

See the description.

Actual result

Location: Chat > Agents > Local CLI detection   Mô tả:   Trong 1AIVault, panel Agents báo 0 detected và từng agent như Claude Code, Codex, Gemini, Antigravity, OpenCode, Hermes Agent, Cline, Amp, Qwen, Aider đều hiển thị Agent detection failed.. Khi chọn @Agent, phần chat báo No detected local CLI is selected., nên người dùng không thể gửi prompt cho local CLI từ 1AIVault.   Điều tra trên máy cho thấy các CLI chính vẫn resolve được từ PowerShell, gồm claude.exe, codex.ps1, gemini.ps1, opencode.ps1, qwen.ps1, cline.ps1. File C:\Users\ACER\.1aivault\state\cli-registry.json cũng đã có entry hợp lệ cho Claude, Codex, Gemini, Antigravity, OpenCode và Cline với path/version, được ghi nhận từ ngày 13/07/2026.   Vì vậy lỗi có thể nằm ở luồng đọc hoặc khôi phục cli-registry.json, hoặc refresh detection trong 1AIVault/Electron renderer/main process, không phải do máy hoàn toàn thiếu CLI. Ngoài ra debug.log có warning path bị ghép sai dạng C:\Users\ACER\.1aivault\models\C:\Users\ACER\AppData\Local\Programs\1aivault\resources\app.asar, cho thấy có thể tồn tại lỗi path resolution cần kiểm tra thêm.   Attachment:   Ảnh đính kèm cho thấy panel Agents báo 0 detected, từng agent hiển thị Agent detection failed., vùng chat báo No detected local CLI is selected., và thao tác cài OpenCode báo lỗi spawn UNKNOWN.

How to reproduce

Imported from UserJot — original report did not use structured steps.

Reproducibility: Unknown · Impact: Minor issue

Environment

VERSION
v1.11.0
OS
ARCH
CHANNEL
stable

Resolution progress

  1. PENDING

  2. REVIEWING

  3. IN PROGRESS

  4. COMPLETED

Discussion0

Newest first
  • No comments yet. Add context or ask a question below.

Sign in to comment, vote and follow this request.

Sign in to reply