chore(paths): refactor data directory structure and update references

- Updated paths for instance data, workflows, and logs to use a unified `data/` directory.
- Adjusted related documentation in AGENTS.md and README.md to reflect the new data structure.
- Refactored path handling in server files to ensure consistency and clarity in data management.
- Enhanced test scripts to align with the new directory structure for improved organization.
This commit is contained in:
2026-08-30 15:51:33 +07:00
parent 3f0774813d
commit f1cdb7ac68
8 changed files with 59 additions and 31 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
node_modules/
.pnpm-store/
# Instance data (SQLite, live workflows, control-state, backups)
data/
# Process logs
logs/
*.db
*.db-*
@@ -10,7 +12,7 @@ packages/web/dist
# Personal/local scripts and workflows (not for the repo)
debug-*.js
# Legacy live workflow tree (migrated to packages/server/data/workflows/)
# Legacy live workflow trees
packages/server/workflows/
# Plugin install staging and per-plugin deps