Skip to content

fix(glob): include explicit dot directories#32866

Open
dannyward630 wants to merge 1 commit into
anomalyco:devfrom
dannyward630:fix/glob-hidden-directories
Open

fix(glob): include explicit dot directories#32866
dannyward630 wants to merge 1 commit into
anomalyco:devfrom
dannyward630:fix/glob-hidden-directories

Conversation

@dannyward630

@dannyward630 dannyward630 commented Jun 18, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #32669

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Allows the Glob tool to return files under hidden directories when the pattern explicitly targets them, such as .ai/*.md. The same behavior is applied to the newer core glob tool path so both implementations stay consistent.

How did you verify your code works?

  • npx --yes bun@1.3.14 --cwd packages/opencode test test/tool/glob.test.ts

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@dannyward630 dannyward630 force-pushed the fix/glob-hidden-directories branch from e234427 to 820cdc2 Compare June 18, 2026 17:34
@dannyward630 dannyward630 changed the title fix(glob): include hidden directories fix(glob): include explicit dot directories Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Glob tool does not match files under dot directories

1 participant