Files
ask262/constants.mjs
T
bendtherules 4a4b4971dd refactor(config): centralize storage and graph file paths
- Added `constants.mjs` defining `STORAGE_DIR` and `GRAPH_FILE`.
- Replaced hard‑coded path strings in `agent.mjs`, `build_graph.mjs`, and `ingest.mjs` with imports from the new constants module.
- Updated console log in `ingest.mjs` to reference `STORAGE_DIR`.
- Adjusted `GRAPH_FILE` path to `./graphology/graph.json` via the constant.
2026-03-27 09:40:54 +05:30

2 lines
92 B
JavaScript

export const STORAGE_DIR = './storage';
export const GRAPH_FILE = './graphology/graph.json';