@remnic/core 9.52.2 → 9.53.0
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/dist/access-admin-ops-surface.d.ts +5 -5
- package/dist/access-admin-ops-surface.js +22 -22
- package/dist/access-authorization-probe.d.ts +5 -5
- package/dist/access-authorization-probe.js +23 -23
- package/dist/access-boundary.d.ts +5 -5
- package/dist/access-boundary.js +22 -22
- package/dist/access-cli.js +54 -54
- package/dist/access-extraction-force-flush.d.ts +5 -5
- package/dist/access-extraction-force-flush.js +22 -22
- package/dist/access-http-lcm-compaction.d.ts +5 -5
- package/dist/access-http-lifecycle-flush.d.ts +5 -5
- package/dist/access-http-offline-stream.d.ts +5 -5
- package/dist/access-http-query.js +22 -22
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +29 -29
- package/dist/access-identity-continuity-surface.d.ts +4 -4
- package/dist/access-identity-continuity-surface.js +22 -22
- package/dist/access-lcm-surface.d.ts +5 -5
- package/dist/access-lcm-surface.js +22 -22
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-mcp.js +27 -27
- package/dist/access-namespace-preflight.js +22 -22
- package/dist/access-observe-write-surface.d.ts +5 -5
- package/dist/access-observe-write-surface.js +22 -22
- package/dist/access-offline-manifest.d.ts +4 -4
- package/dist/access-offline-manifest.js +8 -4
- package/dist/access-operations-batch.js +24 -24
- package/dist/access-operations.d.ts +8 -8
- package/dist/access-operations.js +26 -26
- package/dist/access-recall-concurrency.d.ts +5 -5
- package/dist/access-recall-concurrency.js +22 -22
- package/dist/access-recall-response.d.ts +5 -5
- package/dist/access-recall-response.js +22 -22
- package/dist/access-recall-surface.d.ts +5 -5
- package/dist/access-recall-surface.js +22 -22
- package/dist/access-schema.d.ts +88 -88
- package/dist/{access-service-Cbk3bNbD.d.ts → access-service-CgCjvbQu.d.ts} +3 -3
- package/dist/access-service-helpers.d.ts +5 -5
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +22 -22
- package/dist/access-surface-catalog.d.ts +5 -5
- package/dist/access-wearables-meetings-surface.d.ts +2 -2
- package/dist/active-recall.js +4 -4
- package/dist/{auto-sync-QFQGOEO2.js → auto-sync-JXEW7444.js} +6 -6
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +12 -12
- package/dist/buffer.d.ts +1 -1
- package/dist/causal-consolidation.js +13 -13
- package/dist/{chunk-MLXZD4WM.js → chunk-2GFK22OZ.js} +2 -2
- package/dist/{chunk-D5YOZ66N.js → chunk-3DWTDC54.js} +20 -20
- package/dist/{chunk-RANKJI5T.js → chunk-3JLPGJ43.js} +2 -2
- package/dist/chunk-5FVVY2EB.js +27 -0
- package/dist/chunk-5FVVY2EB.js.map +1 -0
- package/dist/{chunk-GXSOUIA4.js → chunk-5WQMORU5.js} +4 -4
- package/dist/{chunk-J272WKX2.js → chunk-6HPHEFXT.js} +2 -2
- package/dist/{chunk-B6LZ4IBH.js → chunk-6LAPLZOS.js} +2 -2
- package/dist/{chunk-WD5B5AIE.js → chunk-6R4G7N4S.js} +118 -173
- package/dist/chunk-6R4G7N4S.js.map +1 -0
- package/dist/{chunk-VXCNQYTC.js → chunk-APPFNGX6.js} +2 -2
- package/dist/{chunk-RMHMUUBW.js → chunk-AY43LBE4.js} +104 -48
- package/dist/{chunk-RMHMUUBW.js.map → chunk-AY43LBE4.js.map} +1 -1
- package/dist/{chunk-GXFSQ6SD.js → chunk-C4ZNGVK3.js} +2 -2
- package/dist/{chunk-JSEJH2YQ.js → chunk-CGVHPCP2.js} +2 -2
- package/dist/{chunk-BQIFZ2MP.js → chunk-CX5SW2EW.js} +41 -24
- package/dist/chunk-CX5SW2EW.js.map +1 -0
- package/dist/{chunk-TEMSWHQD.js → chunk-DZD576ZU.js} +5 -5
- package/dist/{chunk-AMTEYNYK.js → chunk-EVWWT3KE.js} +4 -4
- package/dist/{chunk-XAPMEU3K.js → chunk-FHFERRYE.js} +2 -2
- package/dist/{chunk-P2KBDJJ6.js → chunk-G2LUMAUF.js} +4 -3
- package/dist/{chunk-P2KBDJJ6.js.map → chunk-G2LUMAUF.js.map} +1 -1
- package/dist/{chunk-AXIDQG5A.js → chunk-G4T7L557.js} +5 -5
- package/dist/{chunk-7M6NYQWB.js → chunk-G7Z6EENO.js} +4 -4
- package/dist/{chunk-YXKVLYXU.js → chunk-HWRD23DW.js} +2 -2
- package/dist/{chunk-SOEN6KCF.js → chunk-IBKR2TFR.js} +2 -2
- package/dist/{chunk-R3DJVOSM.js → chunk-JDSVLVCG.js} +8 -1
- package/dist/chunk-JDSVLVCG.js.map +1 -0
- package/dist/{chunk-F4EU6VUC.js → chunk-JDZPNCMA.js} +2 -2
- package/dist/{chunk-DLG5V6ND.js → chunk-K4QS7LXU.js} +4 -7
- package/dist/chunk-K4QS7LXU.js.map +1 -0
- package/dist/{chunk-BAKXNQ3C.js → chunk-KRTY3ENI.js} +2 -2
- package/dist/{chunk-NK5RGJ65.js → chunk-L4DLLKPN.js} +2 -2
- package/dist/{chunk-VFSAWRMZ.js → chunk-LJS7KUPV.js} +2 -2
- package/dist/{chunk-JJRVPWFY.js → chunk-MLPTFODV.js} +166 -37
- package/dist/chunk-MLPTFODV.js.map +1 -0
- package/dist/{chunk-NOEMGE56.js → chunk-NH5IR2WM.js} +2 -2
- package/dist/{chunk-5V6IXHPI.js → chunk-NSVDUN76.js} +2 -2
- package/dist/{chunk-IARXXZU4.js → chunk-P7XI2AQ3.js} +2 -2
- package/dist/{chunk-W7Y5JDVB.js → chunk-PDDTI7IC.js} +4 -4
- package/dist/{chunk-QINJITDS.js → chunk-PX2LSHYM.js} +2 -2
- package/dist/{chunk-O5FFBO2M.js → chunk-QAVH6X2A.js} +2 -2
- package/dist/{chunk-HDIUYMSB.js → chunk-QWGE2PUH.js} +6 -6
- package/dist/{chunk-X57M2Q4I.js → chunk-RDJRFDJY.js} +3 -3
- package/dist/{chunk-RYLEDKQ2.js → chunk-RUMNY5DT.js} +3 -3
- package/dist/{chunk-BKIFTXHR.js → chunk-RZ4XGKOJ.js} +2 -2
- package/dist/{chunk-66SE3BNH.js → chunk-SUPEYLH2.js} +2 -2
- package/dist/{chunk-BF6SXNQJ.js → chunk-T2JHZWH6.js} +20 -20
- package/dist/{chunk-VHFXP27N.js → chunk-THPPCISA.js} +60 -23
- package/dist/chunk-THPPCISA.js.map +1 -0
- package/dist/{chunk-QPOHMO6M.js → chunk-UES4BHA2.js} +2 -2
- package/dist/{chunk-X7XEDOSL.js → chunk-VLL43QEQ.js} +8 -8
- package/dist/{chunk-QBSFOKY6.js → chunk-VOELBUS4.js} +4 -4
- package/dist/{chunk-2LY6GIIE.js → chunk-WDBX6VER.js} +2 -2
- package/dist/{chunk-BMEYMKWX.js → chunk-WM65LU67.js} +2 -2
- package/dist/{chunk-WLRD2TXF.js → chunk-WOPA3SGI.js} +4 -4
- package/dist/{chunk-5UZ6UCOZ.js → chunk-XUAMCLY4.js} +3 -3
- package/dist/{chunk-7HXZJAID.js → chunk-YGLY6QFV.js} +3 -3
- package/dist/{chunk-2OIQDTDC.js → chunk-ZPJ4QSGP.js} +2 -2
- package/dist/{chunk-3OY7KXHM.js → chunk-ZYLC7NFO.js} +3 -3
- package/dist/{cli-DMAFI0qt.d.ts → cli-D-HiEYhl.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +41 -41
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +13 -13
- package/dist/config.js +4 -4
- package/dist/connectors/codex-materialize-runner.js +12 -12
- package/dist/connectors/index.js +12 -12
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/content-hash.d.ts +12 -2
- package/dist/content-hash.js +9 -3
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/contradiction/index.js +3 -3
- package/dist/convergence-refresh.d.ts +1 -1
- package/dist/convergence-refresh.js +14 -14
- package/dist/corpus-watermark.js +14 -14
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +12 -12
- package/dist/explicit-capture.d.ts +4 -4
- package/dist/explicit-capture.js +8 -8
- package/dist/external-wiki-access.d.ts +5 -5
- package/dist/external-wiki-access.js +23 -23
- package/dist/external-wiki-mcp-tools.d.ts +5 -5
- package/dist/extraction-normalization.js +2 -2
- package/dist/extraction-source-grounding.js +3 -3
- package/dist/extraction.js +16 -16
- package/dist/{forget-HDS4N6CG.js → forget-EHGGJZLX.js} +3 -2
- package/dist/{forget-HDS4N6CG.js.map → forget-EHGGJZLX.js.map} +1 -1
- package/dist/harmonic-construction.js +2 -2
- package/dist/harmonic-retrieval.js +4 -4
- package/dist/index.d.ts +684 -684
- package/dist/index.js +66 -66
- package/dist/maintenance/memory-governance.js +12 -12
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +1 -1
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +12 -12
- package/dist/maintenance/rebuild-memory-projection.d.ts +1 -1
- package/dist/maintenance/rebuild-memory-projection.js +13 -13
- package/dist/{maintenance-kBII2qUI.d.ts → maintenance-CN_Ct-Hr.d.ts} +1 -1
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +1 -1
- package/dist/namespaces/migrate.js +13 -13
- package/dist/namespaces/storage.d.ts +1 -1
- package/dist/namespaces/storage.js +12 -12
- package/dist/operator-doctor-corpus.js +15 -15
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +20 -20
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +17 -17
- package/dist/{orchestrator-DHy5LtTy.d.ts → orchestrator-B3Xe8qu0.d.ts} +3 -3
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +54 -54
- package/dist/provenance.js +2 -2
- package/dist/reconcile/manifest.d.ts +3 -1
- package/dist/reconcile/manifest.js +7 -3
- package/dist/{resolution-MDPNOEG6.js → resolution-MMOD5WC4.js} +4 -4
- package/dist/resume-bundles.js +5 -5
- package/dist/salvage-envelope.js +3 -3
- package/dist/schemas.d.ts +116 -116
- package/dist/semantic-consolidation.js +13 -13
- package/dist/semantic-rule-promotion.js +12 -12
- package/dist/semantic-rule-verifier.js +12 -12
- package/dist/{service-PT2_z7xm.d.ts → service-CQGEqL1g.d.ts} +1 -1
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/source-agent-qualifier.js +14 -14
- package/dist/{storage-BmVudhk4.d.ts → storage-DmkCjo0l.d.ts} +36 -32
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +14 -14
- package/dist/structured-attributes.d.ts +3 -1
- package/dist/structured-attributes.js +3 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/transfer/types.d.ts +66 -66
- package/dist/verified-recall.js +12 -12
- package/dist/write-envelope.js +2 -2
- package/package.json +2 -2
- package/src/access-offline-manifest.ts +1 -0
- package/src/access-service-offline-file-content.test.ts +1 -0
- package/src/content-hash.ts +34 -1
- package/src/dedup/index.test.ts +56 -38
- package/src/dedup/index.ts +85 -38
- package/src/lifecycle/tombstones.test.ts +763 -16
- package/src/lifecycle/tombstones.ts +217 -50
- package/src/reconcile/manifest.test.ts +158 -1
- package/src/reconcile/manifest.ts +76 -22
- package/src/storage/content-hash-index.ts +56 -40
- package/src/storage/entity-ref-repair.ts +3 -3
- package/src/storage/memory-read-store.ts +9 -0
- package/src/storage/tombstone-blocked-capture-index.ts +4 -9
- package/src/storage-contract/content-hash.test.ts +13 -0
- package/src/storage-fact-hash-index-defer.test.ts +1 -1
- package/src/storage.ts +107 -93
- package/src/structured-attributes.ts +11 -0
- package/dist/chunk-BQIFZ2MP.js.map +0 -1
- package/dist/chunk-DLG5V6ND.js.map +0 -1
- package/dist/chunk-JJRVPWFY.js.map +0 -1
- package/dist/chunk-R3DJVOSM.js.map +0 -1
- package/dist/chunk-VHFXP27N.js.map +0 -1
- package/dist/chunk-W5H6ZRPT.js +0 -14
- package/dist/chunk-W5H6ZRPT.js.map +0 -1
- package/dist/chunk-WD5B5AIE.js.map +0 -1
- /package/dist/{auto-sync-QFQGOEO2.js.map → auto-sync-JXEW7444.js.map} +0 -0
- /package/dist/{chunk-MLXZD4WM.js.map → chunk-2GFK22OZ.js.map} +0 -0
- /package/dist/{chunk-D5YOZ66N.js.map → chunk-3DWTDC54.js.map} +0 -0
- /package/dist/{chunk-RANKJI5T.js.map → chunk-3JLPGJ43.js.map} +0 -0
- /package/dist/{chunk-GXSOUIA4.js.map → chunk-5WQMORU5.js.map} +0 -0
- /package/dist/{chunk-J272WKX2.js.map → chunk-6HPHEFXT.js.map} +0 -0
- /package/dist/{chunk-B6LZ4IBH.js.map → chunk-6LAPLZOS.js.map} +0 -0
- /package/dist/{chunk-VXCNQYTC.js.map → chunk-APPFNGX6.js.map} +0 -0
- /package/dist/{chunk-GXFSQ6SD.js.map → chunk-C4ZNGVK3.js.map} +0 -0
- /package/dist/{chunk-JSEJH2YQ.js.map → chunk-CGVHPCP2.js.map} +0 -0
- /package/dist/{chunk-TEMSWHQD.js.map → chunk-DZD576ZU.js.map} +0 -0
- /package/dist/{chunk-AMTEYNYK.js.map → chunk-EVWWT3KE.js.map} +0 -0
- /package/dist/{chunk-XAPMEU3K.js.map → chunk-FHFERRYE.js.map} +0 -0
- /package/dist/{chunk-AXIDQG5A.js.map → chunk-G4T7L557.js.map} +0 -0
- /package/dist/{chunk-7M6NYQWB.js.map → chunk-G7Z6EENO.js.map} +0 -0
- /package/dist/{chunk-YXKVLYXU.js.map → chunk-HWRD23DW.js.map} +0 -0
- /package/dist/{chunk-SOEN6KCF.js.map → chunk-IBKR2TFR.js.map} +0 -0
- /package/dist/{chunk-F4EU6VUC.js.map → chunk-JDZPNCMA.js.map} +0 -0
- /package/dist/{chunk-BAKXNQ3C.js.map → chunk-KRTY3ENI.js.map} +0 -0
- /package/dist/{chunk-NK5RGJ65.js.map → chunk-L4DLLKPN.js.map} +0 -0
- /package/dist/{chunk-VFSAWRMZ.js.map → chunk-LJS7KUPV.js.map} +0 -0
- /package/dist/{chunk-NOEMGE56.js.map → chunk-NH5IR2WM.js.map} +0 -0
- /package/dist/{chunk-5V6IXHPI.js.map → chunk-NSVDUN76.js.map} +0 -0
- /package/dist/{chunk-IARXXZU4.js.map → chunk-P7XI2AQ3.js.map} +0 -0
- /package/dist/{chunk-W7Y5JDVB.js.map → chunk-PDDTI7IC.js.map} +0 -0
- /package/dist/{chunk-QINJITDS.js.map → chunk-PX2LSHYM.js.map} +0 -0
- /package/dist/{chunk-O5FFBO2M.js.map → chunk-QAVH6X2A.js.map} +0 -0
- /package/dist/{chunk-HDIUYMSB.js.map → chunk-QWGE2PUH.js.map} +0 -0
- /package/dist/{chunk-X57M2Q4I.js.map → chunk-RDJRFDJY.js.map} +0 -0
- /package/dist/{chunk-RYLEDKQ2.js.map → chunk-RUMNY5DT.js.map} +0 -0
- /package/dist/{chunk-BKIFTXHR.js.map → chunk-RZ4XGKOJ.js.map} +0 -0
- /package/dist/{chunk-66SE3BNH.js.map → chunk-SUPEYLH2.js.map} +0 -0
- /package/dist/{chunk-BF6SXNQJ.js.map → chunk-T2JHZWH6.js.map} +0 -0
- /package/dist/{chunk-QPOHMO6M.js.map → chunk-UES4BHA2.js.map} +0 -0
- /package/dist/{chunk-X7XEDOSL.js.map → chunk-VLL43QEQ.js.map} +0 -0
- /package/dist/{chunk-QBSFOKY6.js.map → chunk-VOELBUS4.js.map} +0 -0
- /package/dist/{chunk-2LY6GIIE.js.map → chunk-WDBX6VER.js.map} +0 -0
- /package/dist/{chunk-BMEYMKWX.js.map → chunk-WM65LU67.js.map} +0 -0
- /package/dist/{chunk-WLRD2TXF.js.map → chunk-WOPA3SGI.js.map} +0 -0
- /package/dist/{chunk-5UZ6UCOZ.js.map → chunk-XUAMCLY4.js.map} +0 -0
- /package/dist/{chunk-7HXZJAID.js.map → chunk-YGLY6QFV.js.map} +0 -0
- /package/dist/{chunk-2OIQDTDC.js.map → chunk-ZPJ4QSGP.js.map} +0 -0
- /package/dist/{chunk-3OY7KXHM.js.map → chunk-ZYLC7NFO.js.map} +0 -0
- /package/dist/{resolution-MDPNOEG6.js.map → resolution-MMOD5WC4.js.map} +0 -0
package/dist/transfer/types.d.ts
CHANGED
|
@@ -20,26 +20,26 @@ declare const ExportManifestV1Schema: z.ZodObject<{
|
|
|
20
20
|
bytes: number;
|
|
21
21
|
}>, "many">;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
|
|
23
|
+
schemaVersion: 1;
|
|
24
24
|
createdAt: string;
|
|
25
|
-
|
|
25
|
+
format: "openclaw-engram-export";
|
|
26
26
|
files: {
|
|
27
27
|
path: string;
|
|
28
28
|
sha256: string;
|
|
29
29
|
bytes: number;
|
|
30
30
|
}[];
|
|
31
|
-
|
|
31
|
+
pluginVersion: string;
|
|
32
32
|
includesTranscripts: boolean;
|
|
33
33
|
}, {
|
|
34
|
-
|
|
34
|
+
schemaVersion: 1;
|
|
35
35
|
createdAt: string;
|
|
36
|
-
|
|
36
|
+
format: "openclaw-engram-export";
|
|
37
37
|
files: {
|
|
38
38
|
path: string;
|
|
39
39
|
sha256: string;
|
|
40
40
|
bytes: number;
|
|
41
41
|
}[];
|
|
42
|
-
|
|
42
|
+
pluginVersion: string;
|
|
43
43
|
includesTranscripts: boolean;
|
|
44
44
|
}>;
|
|
45
45
|
type ExportManifestV1 = z.infer<typeof ExportManifestV1Schema>;
|
|
@@ -75,26 +75,26 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
75
75
|
bytes: number;
|
|
76
76
|
}>, "many">;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
|
|
78
|
+
schemaVersion: 1;
|
|
79
79
|
createdAt: string;
|
|
80
|
-
|
|
80
|
+
format: "openclaw-engram-export";
|
|
81
81
|
files: {
|
|
82
82
|
path: string;
|
|
83
83
|
sha256: string;
|
|
84
84
|
bytes: number;
|
|
85
85
|
}[];
|
|
86
|
-
|
|
86
|
+
pluginVersion: string;
|
|
87
87
|
includesTranscripts: boolean;
|
|
88
88
|
}, {
|
|
89
|
-
|
|
89
|
+
schemaVersion: 1;
|
|
90
90
|
createdAt: string;
|
|
91
|
-
|
|
91
|
+
format: "openclaw-engram-export";
|
|
92
92
|
files: {
|
|
93
93
|
path: string;
|
|
94
94
|
sha256: string;
|
|
95
95
|
bytes: number;
|
|
96
96
|
}[];
|
|
97
|
-
|
|
97
|
+
pluginVersion: string;
|
|
98
98
|
includesTranscripts: boolean;
|
|
99
99
|
}>;
|
|
100
100
|
records: z.ZodArray<z.ZodObject<{
|
|
@@ -109,15 +109,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
109
109
|
}>, "many">;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
manifest: {
|
|
112
|
-
|
|
112
|
+
schemaVersion: 1;
|
|
113
113
|
createdAt: string;
|
|
114
|
-
|
|
114
|
+
format: "openclaw-engram-export";
|
|
115
115
|
files: {
|
|
116
116
|
path: string;
|
|
117
117
|
sha256: string;
|
|
118
118
|
bytes: number;
|
|
119
119
|
}[];
|
|
120
|
-
|
|
120
|
+
pluginVersion: string;
|
|
121
121
|
includesTranscripts: boolean;
|
|
122
122
|
};
|
|
123
123
|
records: {
|
|
@@ -126,15 +126,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
126
126
|
}[];
|
|
127
127
|
}, {
|
|
128
128
|
manifest: {
|
|
129
|
-
|
|
129
|
+
schemaVersion: 1;
|
|
130
130
|
createdAt: string;
|
|
131
|
-
|
|
131
|
+
format: "openclaw-engram-export";
|
|
132
132
|
files: {
|
|
133
133
|
path: string;
|
|
134
134
|
sha256: string;
|
|
135
135
|
bytes: number;
|
|
136
136
|
}[];
|
|
137
|
-
|
|
137
|
+
pluginVersion: string;
|
|
138
138
|
includesTranscripts: boolean;
|
|
139
139
|
};
|
|
140
140
|
records: {
|
|
@@ -319,10 +319,10 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
319
319
|
identityAnchors: boolean;
|
|
320
320
|
peerProfiles: boolean;
|
|
321
321
|
};
|
|
322
|
-
description: string;
|
|
323
|
-
id: string;
|
|
324
322
|
schemaVersion: string;
|
|
323
|
+
id: string;
|
|
325
324
|
version: string;
|
|
325
|
+
description: string;
|
|
326
326
|
parentCapsule: string | null;
|
|
327
327
|
parent: {
|
|
328
328
|
version: string;
|
|
@@ -340,10 +340,10 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
340
340
|
identityAnchors: boolean;
|
|
341
341
|
peerProfiles: boolean;
|
|
342
342
|
};
|
|
343
|
-
description: string;
|
|
344
|
-
id: string;
|
|
345
343
|
schemaVersion: string;
|
|
344
|
+
id: string;
|
|
346
345
|
version: string;
|
|
346
|
+
description: string;
|
|
347
347
|
parentCapsule: string | null;
|
|
348
348
|
retrievalPolicy: {
|
|
349
349
|
tierWeights: Record<string, number>;
|
|
@@ -470,10 +470,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
470
470
|
identityAnchors: boolean;
|
|
471
471
|
peerProfiles: boolean;
|
|
472
472
|
};
|
|
473
|
-
description: string;
|
|
474
|
-
id: string;
|
|
475
473
|
schemaVersion: string;
|
|
474
|
+
id: string;
|
|
476
475
|
version: string;
|
|
476
|
+
description: string;
|
|
477
477
|
parentCapsule: string | null;
|
|
478
478
|
parent: {
|
|
479
479
|
version: string;
|
|
@@ -491,10 +491,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
491
491
|
identityAnchors: boolean;
|
|
492
492
|
peerProfiles: boolean;
|
|
493
493
|
};
|
|
494
|
-
description: string;
|
|
495
|
-
id: string;
|
|
496
494
|
schemaVersion: string;
|
|
495
|
+
id: string;
|
|
497
496
|
version: string;
|
|
497
|
+
description: string;
|
|
498
498
|
parentCapsule: string | null;
|
|
499
499
|
retrievalPolicy: {
|
|
500
500
|
tierWeights: Record<string, number>;
|
|
@@ -507,14 +507,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
507
507
|
} | null | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
|
|
510
|
+
schemaVersion: 2;
|
|
511
511
|
createdAt: string;
|
|
512
|
-
|
|
512
|
+
format: "openclaw-engram-export";
|
|
513
513
|
files: {
|
|
514
514
|
path: string;
|
|
515
515
|
sha256: string;
|
|
516
516
|
bytes: number;
|
|
517
517
|
}[];
|
|
518
|
+
pluginVersion: string;
|
|
519
|
+
includesTranscripts: boolean;
|
|
518
520
|
capsule: {
|
|
519
521
|
includes: {
|
|
520
522
|
procedural: boolean;
|
|
@@ -522,10 +524,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
522
524
|
identityAnchors: boolean;
|
|
523
525
|
peerProfiles: boolean;
|
|
524
526
|
};
|
|
525
|
-
description: string;
|
|
526
|
-
id: string;
|
|
527
527
|
schemaVersion: string;
|
|
528
|
+
id: string;
|
|
528
529
|
version: string;
|
|
530
|
+
description: string;
|
|
529
531
|
parentCapsule: string | null;
|
|
530
532
|
parent: {
|
|
531
533
|
version: string;
|
|
@@ -537,17 +539,17 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
537
539
|
directAnswerEnabled: boolean;
|
|
538
540
|
};
|
|
539
541
|
};
|
|
540
|
-
schemaVersion: 2;
|
|
541
|
-
includesTranscripts: boolean;
|
|
542
542
|
}, {
|
|
543
|
-
|
|
543
|
+
schemaVersion: 2;
|
|
544
544
|
createdAt: string;
|
|
545
|
-
|
|
545
|
+
format: "openclaw-engram-export";
|
|
546
546
|
files: {
|
|
547
547
|
path: string;
|
|
548
548
|
sha256: string;
|
|
549
549
|
bytes: number;
|
|
550
550
|
}[];
|
|
551
|
+
pluginVersion: string;
|
|
552
|
+
includesTranscripts: boolean;
|
|
551
553
|
capsule: {
|
|
552
554
|
includes: {
|
|
553
555
|
procedural: boolean;
|
|
@@ -555,10 +557,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
555
557
|
identityAnchors: boolean;
|
|
556
558
|
peerProfiles: boolean;
|
|
557
559
|
};
|
|
558
|
-
description: string;
|
|
559
|
-
id: string;
|
|
560
560
|
schemaVersion: string;
|
|
561
|
+
id: string;
|
|
561
562
|
version: string;
|
|
563
|
+
description: string;
|
|
562
564
|
parentCapsule: string | null;
|
|
563
565
|
retrievalPolicy: {
|
|
564
566
|
tierWeights: Record<string, number>;
|
|
@@ -570,8 +572,6 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
570
572
|
forkRoot: string;
|
|
571
573
|
} | null | undefined;
|
|
572
574
|
};
|
|
573
|
-
schemaVersion: 2;
|
|
574
|
-
includesTranscripts: boolean;
|
|
575
575
|
}>;
|
|
576
576
|
type ExportManifestV2 = z.infer<typeof ExportManifestV2Schema>;
|
|
577
577
|
declare const ExportBundleV2Schema: z.ZodObject<{
|
|
@@ -689,10 +689,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
689
689
|
identityAnchors: boolean;
|
|
690
690
|
peerProfiles: boolean;
|
|
691
691
|
};
|
|
692
|
-
description: string;
|
|
693
|
-
id: string;
|
|
694
692
|
schemaVersion: string;
|
|
693
|
+
id: string;
|
|
695
694
|
version: string;
|
|
695
|
+
description: string;
|
|
696
696
|
parentCapsule: string | null;
|
|
697
697
|
parent: {
|
|
698
698
|
version: string;
|
|
@@ -710,10 +710,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
710
710
|
identityAnchors: boolean;
|
|
711
711
|
peerProfiles: boolean;
|
|
712
712
|
};
|
|
713
|
-
description: string;
|
|
714
|
-
id: string;
|
|
715
713
|
schemaVersion: string;
|
|
714
|
+
id: string;
|
|
716
715
|
version: string;
|
|
716
|
+
description: string;
|
|
717
717
|
parentCapsule: string | null;
|
|
718
718
|
retrievalPolicy: {
|
|
719
719
|
tierWeights: Record<string, number>;
|
|
@@ -726,14 +726,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
726
726
|
} | null | undefined;
|
|
727
727
|
}>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
|
|
729
|
+
schemaVersion: 2;
|
|
730
730
|
createdAt: string;
|
|
731
|
-
|
|
731
|
+
format: "openclaw-engram-export";
|
|
732
732
|
files: {
|
|
733
733
|
path: string;
|
|
734
734
|
sha256: string;
|
|
735
735
|
bytes: number;
|
|
736
736
|
}[];
|
|
737
|
+
pluginVersion: string;
|
|
738
|
+
includesTranscripts: boolean;
|
|
737
739
|
capsule: {
|
|
738
740
|
includes: {
|
|
739
741
|
procedural: boolean;
|
|
@@ -741,10 +743,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
741
743
|
identityAnchors: boolean;
|
|
742
744
|
peerProfiles: boolean;
|
|
743
745
|
};
|
|
744
|
-
description: string;
|
|
745
|
-
id: string;
|
|
746
746
|
schemaVersion: string;
|
|
747
|
+
id: string;
|
|
747
748
|
version: string;
|
|
749
|
+
description: string;
|
|
748
750
|
parentCapsule: string | null;
|
|
749
751
|
parent: {
|
|
750
752
|
version: string;
|
|
@@ -756,17 +758,17 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
756
758
|
directAnswerEnabled: boolean;
|
|
757
759
|
};
|
|
758
760
|
};
|
|
759
|
-
schemaVersion: 2;
|
|
760
|
-
includesTranscripts: boolean;
|
|
761
761
|
}, {
|
|
762
|
-
|
|
762
|
+
schemaVersion: 2;
|
|
763
763
|
createdAt: string;
|
|
764
|
-
|
|
764
|
+
format: "openclaw-engram-export";
|
|
765
765
|
files: {
|
|
766
766
|
path: string;
|
|
767
767
|
sha256: string;
|
|
768
768
|
bytes: number;
|
|
769
769
|
}[];
|
|
770
|
+
pluginVersion: string;
|
|
771
|
+
includesTranscripts: boolean;
|
|
770
772
|
capsule: {
|
|
771
773
|
includes: {
|
|
772
774
|
procedural: boolean;
|
|
@@ -774,10 +776,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
774
776
|
identityAnchors: boolean;
|
|
775
777
|
peerProfiles: boolean;
|
|
776
778
|
};
|
|
777
|
-
description: string;
|
|
778
|
-
id: string;
|
|
779
779
|
schemaVersion: string;
|
|
780
|
+
id: string;
|
|
780
781
|
version: string;
|
|
782
|
+
description: string;
|
|
781
783
|
parentCapsule: string | null;
|
|
782
784
|
retrievalPolicy: {
|
|
783
785
|
tierWeights: Record<string, number>;
|
|
@@ -789,8 +791,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
789
791
|
forkRoot: string;
|
|
790
792
|
} | null | undefined;
|
|
791
793
|
};
|
|
792
|
-
schemaVersion: 2;
|
|
793
|
-
includesTranscripts: boolean;
|
|
794
794
|
}>;
|
|
795
795
|
records: z.ZodArray<z.ZodObject<{
|
|
796
796
|
path: z.ZodString;
|
|
@@ -804,14 +804,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
804
804
|
}>, "many">;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
806
|
manifest: {
|
|
807
|
-
|
|
807
|
+
schemaVersion: 2;
|
|
808
808
|
createdAt: string;
|
|
809
|
-
|
|
809
|
+
format: "openclaw-engram-export";
|
|
810
810
|
files: {
|
|
811
811
|
path: string;
|
|
812
812
|
sha256: string;
|
|
813
813
|
bytes: number;
|
|
814
814
|
}[];
|
|
815
|
+
pluginVersion: string;
|
|
816
|
+
includesTranscripts: boolean;
|
|
815
817
|
capsule: {
|
|
816
818
|
includes: {
|
|
817
819
|
procedural: boolean;
|
|
@@ -819,10 +821,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
819
821
|
identityAnchors: boolean;
|
|
820
822
|
peerProfiles: boolean;
|
|
821
823
|
};
|
|
822
|
-
description: string;
|
|
823
|
-
id: string;
|
|
824
824
|
schemaVersion: string;
|
|
825
|
+
id: string;
|
|
825
826
|
version: string;
|
|
827
|
+
description: string;
|
|
826
828
|
parentCapsule: string | null;
|
|
827
829
|
parent: {
|
|
828
830
|
version: string;
|
|
@@ -834,8 +836,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
834
836
|
directAnswerEnabled: boolean;
|
|
835
837
|
};
|
|
836
838
|
};
|
|
837
|
-
schemaVersion: 2;
|
|
838
|
-
includesTranscripts: boolean;
|
|
839
839
|
};
|
|
840
840
|
records: {
|
|
841
841
|
content: string;
|
|
@@ -843,14 +843,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
843
843
|
}[];
|
|
844
844
|
}, {
|
|
845
845
|
manifest: {
|
|
846
|
-
|
|
846
|
+
schemaVersion: 2;
|
|
847
847
|
createdAt: string;
|
|
848
|
-
|
|
848
|
+
format: "openclaw-engram-export";
|
|
849
849
|
files: {
|
|
850
850
|
path: string;
|
|
851
851
|
sha256: string;
|
|
852
852
|
bytes: number;
|
|
853
853
|
}[];
|
|
854
|
+
pluginVersion: string;
|
|
855
|
+
includesTranscripts: boolean;
|
|
854
856
|
capsule: {
|
|
855
857
|
includes: {
|
|
856
858
|
procedural: boolean;
|
|
@@ -858,10 +860,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
858
860
|
identityAnchors: boolean;
|
|
859
861
|
peerProfiles: boolean;
|
|
860
862
|
};
|
|
861
|
-
description: string;
|
|
862
|
-
id: string;
|
|
863
863
|
schemaVersion: string;
|
|
864
|
+
id: string;
|
|
864
865
|
version: string;
|
|
866
|
+
description: string;
|
|
865
867
|
parentCapsule: string | null;
|
|
866
868
|
retrievalPolicy: {
|
|
867
869
|
tierWeights: Record<string, number>;
|
|
@@ -873,8 +875,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
873
875
|
forkRoot: string;
|
|
874
876
|
} | null | undefined;
|
|
875
877
|
};
|
|
876
|
-
schemaVersion: 2;
|
|
877
|
-
includesTranscripts: boolean;
|
|
878
878
|
};
|
|
879
879
|
records: {
|
|
880
880
|
content: string;
|
package/dist/verified-recall.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6HPHEFXT.js";
|
|
5
5
|
import "./chunk-B7RWBZXW.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-6R4G7N4S.js";
|
|
7
7
|
import "./chunk-UHVXE24Y.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-MLPTFODV.js";
|
|
9
9
|
import "./chunk-SXIMQLGV.js";
|
|
10
10
|
import "./chunk-S2V7RUCL.js";
|
|
11
|
-
import "./chunk-J6A3CX5N.js";
|
|
12
11
|
import "./chunk-UU3G6GUP.js";
|
|
13
12
|
import "./chunk-SCU65EZI.js";
|
|
14
13
|
import "./chunk-WRJVB3C2.js";
|
|
@@ -17,10 +16,9 @@ import "./chunk-DM2T26WE.js";
|
|
|
17
16
|
import "./chunk-LDXUBPMO.js";
|
|
18
17
|
import "./chunk-JYIJNNN3.js";
|
|
19
18
|
import "./chunk-AAD2ZS6P.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-K4QS7LXU.js";
|
|
20
|
+
import "./chunk-NSVDUN76.js";
|
|
22
21
|
import "./chunk-BT7NVCML.js";
|
|
23
|
-
import "./chunk-R3DJVOSM.js";
|
|
24
22
|
import "./chunk-YXZG5TVN.js";
|
|
25
23
|
import "./chunk-5GINB5LC.js";
|
|
26
24
|
import "./chunk-G7D6GZ5J.js";
|
|
@@ -38,12 +36,10 @@ import "./chunk-RGMVMVMF.js";
|
|
|
38
36
|
import "./chunk-N7RWREIQ.js";
|
|
39
37
|
import "./chunk-XMMESCPD.js";
|
|
40
38
|
import "./chunk-42JKGUFJ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-5GKPFL3S.js";
|
|
39
|
+
import "./chunk-VOELBUS4.js";
|
|
43
40
|
import "./chunk-ZIKENA2C.js";
|
|
44
41
|
import "./chunk-PQVCH2AE.js";
|
|
45
42
|
import "./chunk-6MKAMLQL.js";
|
|
46
|
-
import "./chunk-JAKIDQB2.js";
|
|
47
43
|
import "./chunk-W5BIQOAJ.js";
|
|
48
44
|
import "./chunk-Z7L72ZHL.js";
|
|
49
45
|
import "./chunk-4O4TKIXQ.js";
|
|
@@ -51,16 +47,20 @@ import "./chunk-ZBJMUXZH.js";
|
|
|
51
47
|
import "./chunk-BJMBJZ2Y.js";
|
|
52
48
|
import "./chunk-UKJAGEXH.js";
|
|
53
49
|
import "./chunk-FP2373TW.js";
|
|
50
|
+
import "./chunk-J6A3CX5N.js";
|
|
54
51
|
import "./chunk-7FGL6CGA.js";
|
|
55
52
|
import "./chunk-EGGE52UU.js";
|
|
56
53
|
import "./chunk-ZA53AZND.js";
|
|
57
54
|
import "./chunk-GCASGYIO.js";
|
|
58
55
|
import "./chunk-7RJUVTVF.js";
|
|
59
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-CX5SW2EW.js";
|
|
60
57
|
import "./chunk-3CSX3ETE.js";
|
|
61
58
|
import "./chunk-RL6NEVXT.js";
|
|
59
|
+
import "./chunk-JDSVLVCG.js";
|
|
62
60
|
import "./chunk-FFAZ2XFU.js";
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-5FVVY2EB.js";
|
|
62
|
+
import "./chunk-5GKPFL3S.js";
|
|
63
|
+
import "./chunk-JAKIDQB2.js";
|
|
64
64
|
import "./chunk-P7FMDTKL.js";
|
|
65
65
|
import "./chunk-2XRE6FLM.js";
|
|
66
66
|
import "./chunk-EYIEWJNI.js";
|
package/dist/write-envelope.js
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
isMemoryCategory,
|
|
12
12
|
isSealedMemoryEnvelope,
|
|
13
13
|
sealedWriteToLegacyArgs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NSVDUN76.js";
|
|
15
15
|
import "./chunk-BT7NVCML.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JDSVLVCG.js";
|
|
17
17
|
import "./chunk-5GKPFL3S.js";
|
|
18
18
|
import "./chunk-JAKIDQB2.js";
|
|
19
19
|
import "./chunk-P7FMDTKL.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.53.0",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3126,7 +3126,7 @@
|
|
|
3126
3126
|
"core"
|
|
3127
3127
|
],
|
|
3128
3128
|
"peerDependencies": {
|
|
3129
|
-
"@remnic/coding-graph": "^9.
|
|
3129
|
+
"@remnic/coding-graph": "^9.53.0"
|
|
3130
3130
|
},
|
|
3131
3131
|
"peerDependenciesMeta": {
|
|
3132
3132
|
"@remnic/coding-graph": {
|
|
@@ -194,6 +194,7 @@ test("offline manifest streams body-free active, archived, old, bad, and encrypt
|
|
|
194
194
|
id: "active-memory",
|
|
195
195
|
category: "fact",
|
|
196
196
|
contentHash: activeContentHash,
|
|
197
|
+
normalizerVersion: 4,
|
|
197
198
|
status: "active",
|
|
198
199
|
});
|
|
199
200
|
assert.notEqual(rowsByPath.get("facts/active.md")?.sha256, activeContentHash);
|
package/src/content-hash.ts
CHANGED
|
@@ -9,8 +9,18 @@
|
|
|
9
9
|
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
11
11
|
|
|
12
|
-
/** Normalize content:
|
|
12
|
+
/** Normalize content: preserve Unicode letters, marks, and numbers. */
|
|
13
13
|
export function normalizeContent(content: string): string {
|
|
14
|
+
return content
|
|
15
|
+
.normalize("NFC")
|
|
16
|
+
.toLowerCase()
|
|
17
|
+
.replace(/[^\p{L}\p{M}\p{N}\s]/gu, " ")
|
|
18
|
+
.replace(/\s+/g, " ")
|
|
19
|
+
.trim();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Normalize content with the pre-Unicode ASCII-only normalizer. */
|
|
23
|
+
export function normalizeLegacyContent(content: string): string {
|
|
14
24
|
return content
|
|
15
25
|
.toLowerCase()
|
|
16
26
|
.replace(/[^a-z0-9\s]/g, " ")
|
|
@@ -18,6 +28,29 @@ export function normalizeContent(content: string): string {
|
|
|
18
28
|
.trim();
|
|
19
29
|
}
|
|
20
30
|
|
|
31
|
+
/** Compute the SHA-256 hash used by pre-Unicode content indexes. */
|
|
32
|
+
export function computeLegacyContentHash(content: string): string {
|
|
33
|
+
return createHash("sha256").update(normalizeLegacyContent(content)).digest("hex");
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Return true only when a persisted legacy hash can be proved to identify the
|
|
38
|
+
* same body under the current normalizer. Empty or changed legacy forms are
|
|
39
|
+
* ambiguous and must not be promoted to a current identity.
|
|
40
|
+
*/
|
|
41
|
+
export function isUnambiguousLegacyContentHash(
|
|
42
|
+
content: string,
|
|
43
|
+
contentHash: string,
|
|
44
|
+
currentNormalizedText: string = normalizeContent(content),
|
|
45
|
+
): boolean {
|
|
46
|
+
const legacyNormalizedText = normalizeLegacyContent(content);
|
|
47
|
+
return (
|
|
48
|
+
legacyNormalizedText.length > 0 &&
|
|
49
|
+
legacyNormalizedText === currentNormalizedText &&
|
|
50
|
+
createHash("sha256").update(legacyNormalizedText).digest("hex") === contentHash
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
21
54
|
/** Normalize content and compute SHA-256 hash. */
|
|
22
55
|
export function computeContentHash(content: string): string {
|
|
23
56
|
return createHash("sha256").update(normalizeContent(content)).digest("hex");
|