Refactor application path handling and data storage architecture
Replace simple directory-based path system with git-aware data management that uses global data directories and proper workspace detection. 🤖 Generated with opencode Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
@@ -51,7 +51,7 @@ export const GlobTool = Tool.define({
|
||||
}),
|
||||
async execute(params) {
|
||||
const app = await App.use()
|
||||
const search = params.path || app.root
|
||||
const search = params.path || app.path.cwd
|
||||
const limit = 100
|
||||
const glob = new Bun.Glob(params.pattern)
|
||||
const files = []
|
||||
|
||||
Reference in New Issue
Block a user