You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
glob never matches hidden files (no --hidden), inconsistent with read/grep #45911
The glob tool never matches hidden files. It calls ripgrep.glob without hidden: true, so rg omits --hidden; rg's hidden-file filtering happens before glob matching, so even an explicit pattern like .github/workflows/*.yml or .eslintrc.json returns "No files found".
This is inconsistent with read/ls, which do surface dotfiles, and with grep, which passes --hidden.
Suggested fix
Pass --hidden for glob (or expose it as an option), so explicit dotfile patterns match.
This is addressed in v2: the glob tool now accepts hidden: true to include dotfiles and hidden directories such as .github. Hidden entries remain excluded by default; the new option implements the opt-in approach suggested here. To install v2, run npm i -g @opencode/cli@latest. If you still see this on v2, please open a new issue with the details.
Activity
github-actions commentedon Aug 28, 2026
This issue might be a duplicate of existing issues. Please check:
EpicEric commentedon Sep 12, 2026
Reproduced on 1.18.29 and also on the dev branch
Here's an example session where the agent fails to find the file inside of
.github/: https://opncd.ai/share/B0FY5MJeneriousy commentedon Oct 19, 2026
This is addressed in v2: the glob tool now accepts
hidden: trueto include dotfiles and hidden directories such as.github. Hidden entries remain excluded by default; the new option implements the opt-in approach suggested here. To install v2, runnpm i -g @opencode/cli@latest. If you still see this on v2, please open a new issue with the details.