Files
oh-my-pi/packages/coding-agent/src/prompts/tools/glob.md
T
Slava Zavadsky 9885ee34fc fix(agent): stop leaking scout into prompts when it is disabled
Hard-coded 'scout' references reached the model even when the scout
agent was disabled via task.disabledAgents or absent from the session
spawn list. Gate every such reference on scout actually being spawnable:
the task tool description, the delegation gates, the plan-mode and
workflowz notices, the glob/grep/ast-grep guidance, and the task
specialization advisory. Prompt shape is otherwise unchanged; only
erroneous references to the unavailable subagent are dropped.

Closes #7313
2026-08-01 23:50:33 -04:00

750 B

Globs files, directories, and path-backed internal URLs with fast pattern matching.

- `path`: glob, file, directory, or path-backed internal URL; separate targets with `;` (`src/**/*.ts; test/**/*.ts`). - `memory://` glob patterns are supported. `ssh://` has no local path; use `read`. Other internal URLs accept exact paths only. - `gitignore` defaults `true`. Set `false` for ignored files such as `.env*`, logs, or build output. - `hidden` defaults `true`; pair it with `gitignore: false` for ignored dotfiles. Matches are newest-first and grouped by directory; directories end in `/`. Open-ended multi-round discovery → {{#if scoutAvailable}}Task + scout.{{else}}Task.{{/if}}