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
+2 -2
View File
@@ -1,8 +1,8 @@
import fs from "fs";
import path from "path";
import { SERVER_ROOT } from "./paths.js";
import { REPO_ROOT } from "./paths.js";
const ROOT_PKG = path.resolve(SERVER_ROOT, "../../package.json");
const ROOT_PKG = path.join(REPO_ROOT, "package.json");
/**
* JerapahFlow app version from the monorepo root package.json.