@eleboucher/pi-memini 0.7.15 → 0.7.18

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -694,11 +694,19 @@ var MEMORY_FIELDS = [
694
694
  "valid_from",
695
695
  "valid_to",
696
696
  "confidence",
697
+ // System-generated: the LLM's own read of the content's intrinsic importance,
698
+ // absent when never assessed. Read-only — a write that carries an explicit
699
+ // importance clears it.
700
+ "assessed_importance",
697
701
  // Progressive-disclosure fields: content_hash (16-hex identity over the
698
702
  // full stored content, stable across response formats) and
699
703
  // content_truncated (set on concise projections that actually cut).
700
704
  "content_hash",
701
- "content_truncated"
705
+ "content_truncated",
706
+ // Deferred-repair state. Empty or absent means healthy; "failed" is the one
707
+ // value worth acting on, since that memory stays keyword-only until the
708
+ // sweeper re-arms it.
709
+ "embed_state"
702
710
  ];
703
711
  function normalizeMemory(raw) {
704
712
  const memory = raw?.memory ?? raw ?? {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleboucher/pi-memini",
3
- "version": "0.7.15",
3
+ "version": "0.7.18",
4
4
  "description": "Shared cross-session memory for the Pi coding agent, backed by a memini service.",
5
5
  "keywords": [
6
6
  "memini",
@@ -26,7 +26,7 @@
26
26
  "@earendil-works/pi-tui": "0.82.1",
27
27
  "@types/node": "^24.0.0",
28
28
  "esbuild": "^0.28.1",
29
- "tsx": "^4.20.0",
29
+ "tsx": "^4.23.4",
30
30
  "typebox": "1.3.8",
31
31
  "typescript": "^5.9.0"
32
32
  },