Skip to content

[BUG] API request hangs indefinitely on VS Code 1.122.0+ due to renamed @vscode/ripgrep module #381

@greatgradz-svg

Description

@greatgradz-svg

Problem (one or two sentences)

Zoo Code 3.55.0 fails to send any API request and hangs on the spinner because it cannot find ripgrep at the legacy path node_modules/@vscode/ripgrep/bin/rg. Recent VS Code versions ship the binary under @vscode/ripgrep-universal instead, so the path lookup fails with Error: Could not find ripgrep binary (visible only in DevTools Console) and the task loop never proceeds past recursivelyMakeClineRequests.

Context (who is affected and when)

Who is affected: All Zoo Code users on VS Code versions that have migrated to @vscode/ripgrep-universal (confirmed on VS Code 1.122.0, macOS Apple Silicon). Both Intel and Apple Silicon Macs are likely affected; Linux/Windows should be verified but the same module rename applies upstream.

When it occurs: On every prompt submission — chat starts, task is instantiated, spinner appears, and the request never resolves. There is no error surfaced in the Zoo Code Output channel; the failure is only visible in Help → Toggle Developer Tools → Console.

Workaround: Symlink the new universal binary into the expected legacy path:

sudo mkdir -p "/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/ripgrep/bin"
sudo ln -sf "/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/ripgrep-universal/bin/darwin-arm64/rg"
"/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/ripgrep/bin/rg"
(Use darwin-x64 on Intel Macs.) Note: The same bug exists in upstream Roo Code 3.54.0.

Reproduction steps

  1. Install VS Code 1.122.0 (or any version that ships @vscode/ripgrep-universal instead of @vscode/ripgrep) on macOS.
  2. Verify: ls "/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/ripgrep/bin/rg" → "No such file or directory"
  3. Verify: ls "/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/ripgrep-universal/bin/darwin-arm64/rg" → exists
  4. Install Zoo Code 3.55.0 from the VS Code Marketplace (zoocodeorganization.zoo-code).
  5. Configure any LLM provider (Anthropic, OpenAI, Bedrock, etc.) with valid credentials.
  6. Open the Zoo Code panel and start a new chat.
  7. Enter any prompt (e.g., testing) and submit.

Expected result

Zoo Code sends the request to the configured LLM provider and streams a response.

Actual result

UI shows a spinning "API Request" indicator indefinitely

Variations tried (optional)

No response

App Version

3.55.0

API Provider (optional)

None

Model Used (optional)

No response

Zoo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions