Dive

Files

workbench__glob

Finds files in the project directory by glob pattern.

  • Paths are relative to the project directory and sorted.
  • Skips gitignored files.
Available toEffect
Workbench agents onlyRead-only

Input

dirstring

Directory subtree to search. Default: the project directory.

patternstringrequired

Glob matched against project-relative paths, e.g. /*.rs or docs//*.mdx.

Output

countinteger
filesstring[]
truncatedboolean
{
  "count": 1,
  "files": [
    "crates/dive-cli/src/main.rs"
  ],
  "truncated": false
}