mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-02 23:23:45 +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:
@@ -220,7 +220,7 @@ export namespace Session {
|
||||
tool: {},
|
||||
},
|
||||
}
|
||||
const contextFile = Bun.file(path.join(app.root, "CONTEXT.md"))
|
||||
const contextFile = Bun.file(path.join(app.path.root, "CONTEXT.md"))
|
||||
if (await contextFile.exists()) {
|
||||
const context = await contextFile.text()
|
||||
system.parts.push({
|
||||
|
||||
Reference in New Issue
Block a user