Skip to content

Glob tool fails on Windows MSYS systems / git bash #11044

Closed

Description

@pschiel

Steps to reproduce

  • start opencode in folder e.g. E:/src/ai/opencode/local/packages/opencode
  • ask agent to glob e.g. find MD files in "/c/Users/ops/.config"
  • agent fails with ENOENT error

Root cause

In a mixed environment (Windows paths, MSYS paths) glob fails to read the file due to path mismatching

#6763 solves via path normalization

Activity

  1. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Both issues involve MSYS/Git Bash environments failing with ENOENT errors when handling absolute paths. The root cause appears to be related to path format handling on Windows MSYS systems (backslashes vs forward slashes).

    Feel free to ignore if your specific case differs from these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions