mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-09 02:09:12 +00:00
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:
@@ -26,7 +26,7 @@ export const ListTool = Tool.define({
|
||||
}),
|
||||
async execute(params) {
|
||||
const app = await App.use()
|
||||
const searchPath = path.resolve(app.root, params.path || ".")
|
||||
const searchPath = path.resolve(app.path.cwd, params.path || ".")
|
||||
|
||||
const glob = new Bun.Glob("**/*")
|
||||
const files = []
|
||||
|
||||
Reference in New Issue
Block a user