@mzhub/cortex 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,7 +54,7 @@ interface JSONUserData {
54
54
  sessions: Session[];
55
55
  }
56
56
  interface JSONFileAdapterConfig {
57
- /** Base path for storing JSON files (default: ./.mem-ts) */
57
+ /** Base path for storing JSON files (default: ./.cortex) */
58
58
  path?: string;
59
59
  /** Pretty print JSON files (default: true in dev, false in prod) */
60
60
  prettyPrint?: boolean;
@@ -64,7 +64,7 @@ interface JSONFileAdapterConfig {
64
64
  * Stores each user's data in separate JSON files for portability.
65
65
  *
66
66
  * Directory structure:
67
- * .mem-ts/
67
+ * .cortex/
68
68
  * ├── users/
69
69
  * │ ├── {userId}/
70
70
  * │ │ ├── facts.json
@@ -54,7 +54,7 @@ interface JSONUserData {
54
54
  sessions: Session[];
55
55
  }
56
56
  interface JSONFileAdapterConfig {
57
- /** Base path for storing JSON files (default: ./.mem-ts) */
57
+ /** Base path for storing JSON files (default: ./.cortex) */
58
58
  path?: string;
59
59
  /** Pretty print JSON files (default: true in dev, false in prod) */
60
60
  prettyPrint?: boolean;
@@ -64,7 +64,7 @@ interface JSONFileAdapterConfig {
64
64
  * Stores each user's data in separate JSON files for portability.
65
65
  *
66
66
  * Directory structure:
67
- * .mem-ts/
67
+ * .cortex/
68
68
  * ├── users/
69
69
  * │ ├── {userId}/
70
70
  * │ │ ├── facts.json
@@ -287,7 +287,7 @@ var JSONFileAdapter = class extends BaseAdapter {
287
287
  prettyPrint;
288
288
  constructor(config = {}) {
289
289
  super();
290
- this.basePath = config.path || "./.mem-ts";
290
+ this.basePath = config.path || "./.cortex";
291
291
  this.prettyPrint = config.prettyPrint ?? process.env.NODE_ENV !== "production";
292
292
  }
293
293
  async initialize() {