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