Refactor external tools organization and add file search API endpoint

🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
This commit is contained in:
Dax Raad
2025-06-11 23:59:51 -04:00
parent 83991bee88
commit f6ed59bf45
6 changed files with 48 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
export namespace File {
const glob = new Bun.Glob("**/*")
export async function search(path: string) {
export async function search(path: string, query: string) {
for await (const entry of glob.scan({
cwd: path,
onlyFiles: true,