@linxiraos/pi-mnemopi 1.4.0 → 1.4.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.4.2] - 2026-10-24
4
+
5
+ - Version alignment with the 1.4.2 release line (no behavioral changes).
6
+
7
+ ## [1.4.1] - 2026-10-23
8
+
9
+ - Version alignment with the 1.4.1 release line (no behavioral changes).
10
+
3
11
  ## [1.4.0] - 2026-10-21
4
12
 
5
13
  - Version line moves to 1.4.0 with the rest of the suite; no user-visible change in this package.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@linxiraos/pi-mnemopi",
4
- "version": "1.4.0",
4
+ "version": "1.4.2",
5
5
  "description": "Local SQLite memory engine for Zeta agents",
6
6
  "homepage": "https://linxira-os.github.io/zeta/",
7
7
  "author": "Linxira-OS",
@@ -39,10 +39,10 @@
39
39
  "fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
40
40
  },
41
41
  "dependencies": {
42
- "@linxiraos/pi-ai": "1.4.0",
43
- "@linxiraos/pi-catalog": "1.4.0",
44
- "@linxiraos/pi-natives": "1.4.0",
45
- "@linxiraos/pi-utils": "1.4.0"
42
+ "@linxiraos/pi-ai": "1.4.2",
43
+ "@linxiraos/pi-catalog": "1.4.2",
44
+ "@linxiraos/pi-natives": "1.4.2",
45
+ "@linxiraos/pi-utils": "1.4.2"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "fastembed": "3.0.0",
@@ -87,6 +87,8 @@ function stripFence(raw: string): string {
87
87
  const FLAT_FACT_LIMIT = 5;
88
88
  const STRUCTURED_CATEGORY_LIMIT = 5;
89
89
  const STRING_CATEGORY_KEYS = ["facts", "instructions", "preferences", "timelines"] as const;
90
+ /** Plain-line output gets the same total as the JSON path's string categories. */
91
+ const PLAIN_LINE_FACT_LIMIT = STRING_CATEGORY_KEYS.length * STRUCTURED_CATEGORY_LIMIT;
90
92
  const FACT_TEXT_FIELD_KEYS = ["fact", "text", "content", "value", "statement"] as const;
91
93
  const INSTRUCTION_TEXT_FIELD_KEYS = ["instruction", "rule", ...FACT_TEXT_FIELD_KEYS] as const;
92
94
  const PREFERENCE_TEXT_FIELD_KEYS = ["preference", ...FACT_TEXT_FIELD_KEYS] as const;
@@ -268,7 +270,7 @@ export function parseExtractedFactCategories(rawOutput: string | null | undefine
268
270
  cleaned.push(normalized);
269
271
  }
270
272
  }
271
- if (cleaned.length >= FLAT_FACT_LIMIT) break;
273
+ if (cleaned.length >= PLAIN_LINE_FACT_LIMIT) break;
272
274
  }
273
275
  return { ...emptyFactCategories(), facts: cleaned };
274
276
  });