Skip to content

Claude Agent: glob tool does not function #50376

@lixiaoyan

Description

@lixiaoyan

Reproduction steps

Start Zed, open Claude Agent panel, say Use the glob tool to find all package.json files

ENOENT: no such file or directory, posix_spawn '/$bunfs/root/vendor/ripgrep/arm64-darwin/rg'
Image

Current vs. Expected behavior

The glob tool should function.

Zed version and system specs

Zed: v0.227.0+nightly.2242.88df73c8b5babc36e6c580a11343aaaff691a09b (Zed Nightly 88df73c)
OS: macOS 26.3
Memory: 48 GiB
Architecture: aarch64

Attach Zed log file

ACP logs
{
  "sessionId": "92b82cab-7fc0-4d28-8746-33474c6765f2",
  "update": {
    "sessionUpdate": "tool_call",
    "toolCallId": "toolu_vrtx_01M3YxSFYURhggsH8JvtYLD4",
    "title": "Find",
    "kind": "search",
    "rawInput": {},
    "_meta": {
      "claudeCode": {
        "toolName": "Glob"
      }
    }
  }
}
{
  "sessionId": "92b82cab-7fc0-4d28-8746-33474c6765f2",
  "update": {
    "sessionUpdate": "tool_call_update",
    "toolCallId": "toolu_vrtx_01M3YxSFYURhggsH8JvtYLD4",
    "kind": "search",
    "title": "Find `**/package.json`",
    "content": [],
    "locations": [],
    "rawInput": {
      "pattern": "**/package.json"
    },
    "_meta": {
      "claudeCode": {
        "toolName": "Glob"
      }
    }
  }
}
{
  "sessionId": "92b82cab-7fc0-4d28-8746-33474c6765f2",
  "update": {
    "sessionUpdate": "tool_call_update",
    "toolCallId": "toolu_vrtx_01M3YxSFYURhggsH8JvtYLD4",
    "status": "failed",
    "content": [
      {
        "type": "content",
        "content": {
          "type": "text",
          "text": "```\nENOENT: no such file or directory, posix_spawn '/$bunfs/root/vendor/ripgrep/arm64-darwin/rg'\n```"
        }
      }
    ],
    "rawOutput": "ENOENT: no such file or directory, posix_spawn '/$bunfs/root/vendor/ripgrep/arm64-darwin/rg'",
    "_meta": {
      "claudeCode": {
        "toolName": "Glob"
      }
    }
  }
}

Relevant Zed settings

No response

Relevant Keymap

No response

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions