mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-05 00:23:10 +00:00
Refactor app context system to use Zod schemas and sync access pattern
🤖 Generated with opencode Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
@@ -50,7 +50,7 @@ export const GlobTool = Tool.define({
|
||||
.optional(),
|
||||
}),
|
||||
async execute(params) {
|
||||
const app = await App.use()
|
||||
const app = App.info()
|
||||
const search = params.path || app.path.cwd
|
||||
const limit = 100
|
||||
const glob = new Bun.Glob(params.pattern)
|
||||
|
||||
Reference in New Issue
Block a user