-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Description
The read-many-files tool filters out non-text files (images, PDFs, etc.) unless they are explicitly requested, causing valid files to be ignored.
// packages/core/src/tools/read-many-files.ts
if (!requestedExplicitly) {
return { success: false, reason: 'asset file... not explicitly requested' };
}Impact
- Agent assumes directories are empty when they contain assets
- Fails at image organization and frontend-related tasks
- “List all files” queries return misleading empty results
Potential Fix
Remove the requestedExplicitly check. If a glob pattern matches a file, include it (or at least return its metadata).
Metadata
Metadata
Assignees
Labels
No labels