Skip to content

Agent Manager shows "Install CLI" message even though CLI is installed globally and works from any terminal. #4625

@osamatech786

Description

@osamatech786

Plugin Type

VSCode Extension

App Version

Version: 4.140.0 (e8c4323)

Description

Expected Behavior

Agent Manager detects the global CLI and allows using multiple agents.

Actual Behavior

Prompt persists to install CLI, despite it being available.

Additional Information

  • PATH includes C:\Users\<user>\AppData\Roaming\npm
  • Tried restarting VS Code, reinstalling CLI, launching VS Code from terminal → same result.
  • Output from Kilo Code panel (View → Output → Kilo Code):
    Agent Manager panel opened
    Agent Manager received message: {"type":"agentManager.webviewReady"}
    Agent Manager received message: {"type":"agentManager.listBranches"}
    Agent Manager received message: {"type":"agentManager.startSession","prompt":"hi","parallelMode":false,"versions":1}
    [AgentManager] Parallel lookups completed in 20ms (CLI: found, gitUrl: https://github.com/my_repo)
    [AgentManager] WARNING: No PID - spawn may have failed
    [AgentManager] Process spawn error: spawn C:\Users\Dell Latitude\AppData\Roaming\npm\kilocode ENOENT
    [AgentManager] Found Node.js at: C:\Program Files\nodejs\node.exe
    [AgentManager] Found npm at: C:\Program Files\nodejs\npm
    Agent Manager received message: {"type":"agentManager.listBranches"}
    [AgentManager] Fetched 22 remote sessions

Reproduction steps

Steps to Reproduce

  1. Install Kilo Code extension in VS Code.
  2. Install CLI globally: npm install -g @kilocode/cli
  3. Verify CLI works: kilocode --version (succeeds in cmd/PowerShell).
  4. Open Agent Manager in VS Code.
  5. See the "Install CLI" prompt.

Provider

Kilo Code

Model

No response

System Information

Environment

  • VS Code version: Latest
  • Kilo Code extension version: Version: 4.140.0 (e8c4323)
  • OS: Windows 11
  • CLI install method: Global via npm install -g @kilocode/cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Intake

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions