| 1 | import { ToolImpl } from "."; |
| 2 | |
| 3 | export const fileGlobSearchImpl: ToolImpl = async (args, extras) => { |
| 4 | const results = await extras.ide.getFileResults(args.pattern); |
| 5 | return [ |
| 6 | { |
| 7 | name: "File results", |
| 8 | description: "Results from file glob search", |
| 9 | content: results.join("\n"), |
| 10 | }, |
| 11 | ]; |
| 12 | }; |