@remnic/core 1.1.9 → 1.1.11
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-cli.js +35 -32
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +8 -7
- package/dist/access-http.js +17 -14
- package/dist/access-mcp.d.ts +8 -7
- package/dist/access-mcp.js +16 -13
- package/dist/{access-service-BJCIjVRY.d.ts → access-service-BkXt3di1.d.ts} +11 -9
- package/dist/access-service.d.ts +8 -7
- package/dist/access-service.js +15 -12
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-recall.d.ts +2 -1
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +7 -6
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer.d.ts +3 -2
- package/dist/calibration.d.ts +4 -1
- package/dist/calibration.js +10 -5
- package/dist/calibration.js.map +1 -1
- package/dist/causal-behavior.d.ts +2 -1
- package/dist/causal-consolidation.d.ts +5 -2
- package/dist/causal-consolidation.js +14 -8
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-ICULSMDG.js → chunk-2YMTO4ZJ.js} +2 -2
- package/dist/{chunk-XL3UCAZA.js → chunk-363MWCD3.js} +35 -35
- package/dist/{chunk-PHQH2VUO.js → chunk-36CTNQY7.js} +7 -7
- package/dist/{chunk-XN4D6Z7X.js → chunk-4DXC6HQQ.js} +5 -3
- package/dist/chunk-4DXC6HQQ.js.map +1 -0
- package/dist/{chunk-OWGGXPKV.js → chunk-57QNCUEZ.js} +5 -5
- package/dist/{chunk-LOBRX7VD.js → chunk-5UM2VJ6D.js} +12 -1
- package/dist/chunk-5UM2VJ6D.js.map +1 -0
- package/dist/{chunk-KMWZXT5T.js → chunk-6XA7UN4Z.js} +2 -2
- package/dist/{chunk-G6NX57V2.js → chunk-C5HUWVH2.js} +2 -2
- package/dist/{chunk-NN3TS5BM.js → chunk-D54LZC5L.js} +4 -4
- package/dist/{chunk-U4SZXGEO.js → chunk-EYNQTST2.js} +2 -2
- package/dist/chunk-HJYHRE4S.js +647 -0
- package/dist/chunk-HJYHRE4S.js.map +1 -0
- package/dist/{chunk-M3DK45UM.js → chunk-I6BQZSML.js} +4 -4
- package/dist/chunk-IBX3VFOM.js +446 -0
- package/dist/chunk-IBX3VFOM.js.map +1 -0
- package/dist/{chunk-G3G3LY22.js → chunk-KBYWQWSB.js} +7 -7
- package/dist/{chunk-FPWUENQH.js → chunk-KUHRUM6B.js} +92 -487
- package/dist/chunk-KUHRUM6B.js.map +1 -0
- package/dist/chunk-KWBPHZUU.js +83 -0
- package/dist/chunk-KWBPHZUU.js.map +1 -0
- package/dist/{chunk-CTYRIJ5E.js → chunk-LIO5X3CM.js} +2 -2
- package/dist/{chunk-MJLUHRSF.js → chunk-MCC6KDQF.js} +2 -2
- package/dist/{chunk-J3P6WSFZ.js → chunk-O4XJUPSF.js} +2 -2
- package/dist/{chunk-6OAQEOGV.js → chunk-PB5KW5PL.js} +2 -2
- package/dist/{chunk-Y3VT6ZCP.js → chunk-PHNGXFQ6.js} +5 -3
- package/dist/chunk-PHNGXFQ6.js.map +1 -0
- package/dist/{chunk-2MVUXO4H.js → chunk-RXTFCYQF.js} +2 -2
- package/dist/chunk-S2JJBLJG.js +2101 -0
- package/dist/chunk-S2JJBLJG.js.map +1 -0
- package/dist/{chunk-Q7FJ5ZHM.js → chunk-S3IP6R6K.js} +8 -2
- package/dist/{chunk-Q7FJ5ZHM.js.map → chunk-S3IP6R6K.js.map} +1 -1
- package/dist/{chunk-ET4BL42V.js → chunk-VQXK37XA.js} +1 -1
- package/dist/{chunk-ET4BL42V.js.map → chunk-VQXK37XA.js.map} +1 -1
- package/dist/{chunk-FLBYSB2V.js → chunk-VX2IUQFE.js} +94 -8
- package/dist/chunk-VX2IUQFE.js.map +1 -0
- package/dist/{chunk-QPLYTPYL.js → chunk-WGK4VHGP.js} +77 -15
- package/dist/chunk-WGK4VHGP.js.map +1 -0
- package/dist/{chunk-7SFAENUZ.js → chunk-WTFWLUSX.js} +2 -2
- package/dist/{chunk-A6PGANSE.js → chunk-Y5KDIOKF.js} +3 -3
- package/dist/{chunk-KIF7QNKL.js → chunk-Z5S5HNGY.js} +5 -3
- package/dist/chunk-Z5S5HNGY.js.map +1 -0
- package/dist/{chunk-BIHCWSWA.js → chunk-ZL4S7ARC.js} +3 -3
- package/dist/{cli-BojuyOOp.d.ts → cli-Cvy2SNhF.d.ts} +4 -4
- package/dist/cli.d.ts +9 -8
- package/dist/cli.js +27 -25
- package/dist/codex-cli-fallback.d.ts +44 -0
- package/dist/codex-cli-fallback.js +12 -0
- package/dist/{codex-materialize-YVC2wb6n.d.ts → codex-materialize-CQlLTzke.d.ts} +1 -1
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/day-summary.d.ts +2 -1
- package/dist/delinearize.d.ts +2 -1
- package/dist/direct-answer-wiring.d.ts +2 -1
- package/dist/direct-answer.d.ts +2 -1
- package/dist/embedding-fallback.d.ts +2 -1
- package/dist/{engine-EDFFOWDD.js → engine-FOC3IJLA.js} +4 -4
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +2 -1
- package/dist/explicit-capture.d.ts +7 -6
- package/dist/explicit-cue-recall.d.ts +16 -1
- package/dist/explicit-cue-recall.js +7 -3
- package/dist/extraction-judge-telemetry.d.ts +2 -1
- package/dist/extraction-judge-training.d.ts +2 -1
- package/dist/extraction-judge.d.ts +2 -1
- package/dist/extraction.d.ts +2 -1
- package/dist/extraction.js +6 -4
- package/dist/fallback-llm.d.ts +8 -1
- package/dist/fallback-llm.js +5 -3
- package/dist/identity-continuity.d.ts +2 -1
- package/dist/importance.d.ts +2 -1
- package/dist/index-1qIcnbG1.d.ts +34 -0
- package/dist/index.d.ts +16 -14
- package/dist/index.js +62 -51
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +2 -1
- package/dist/lifecycle.d.ts +2 -1
- package/dist/live-connectors-runner.d.ts +2 -1
- package/dist/local-llm.d.ts +2 -1
- package/dist/memory-action-policy.d.ts +2 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/{memory-governance-AAQPBZEP.js → memory-governance-F3QOJGEY.js} +4 -4
- package/dist/memory-governance-F3QOJGEY.js.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/{memory-projection-store-BW8u5U0u.d.ts → memory-projection-store-CY8TU40w.d.ts} +1 -1
- package/dist/memory-projection-store.d.ts +3 -2
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +2 -1
- package/dist/native-knowledge.d.ts +2 -1
- package/dist/objective-state-writers.d.ts +23 -1
- package/dist/objective-state-writers.js +10 -306
- package/dist/objective-state-writers.js.map +1 -1
- package/dist/objective-state.d.ts +7 -1
- package/dist/objective-state.js +3 -1
- package/dist/operator-toolkit.d.ts +3 -2
- package/dist/operator-toolkit.js +6 -6
- package/dist/{orchestrator-CYqmqxco.d.ts → orchestrator-AOQMo7QI.d.ts} +5 -3
- package/dist/orchestrator.d.ts +7 -6
- package/dist/orchestrator.js +29 -27
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/policy-runtime.d.ts +2 -1
- package/dist/{port-Br27H8dy.d.ts → port-B6VEDIkC.d.ts} +1 -1
- package/dist/qmd-recall-cache.d.ts +3 -2
- package/dist/qmd.d.ts +3 -2
- package/dist/recall-disclosure-escalation.d.ts +2 -1
- package/dist/recall-explain-renderer.d.ts +2 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-state.d.ts +2 -1
- package/dist/recall-tag-filter.d.ts +2 -1
- package/dist/recall-xray-cli.d.ts +2 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +2 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -1
- package/dist/recall-xray.js +2 -2
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resolve-provider-secret.d.ts +2 -1
- package/dist/resolve-provider-secret.js +3 -1
- package/dist/resume-bundles.js +3 -3
- package/dist/retrieval-agents.d.ts +3 -2
- package/dist/retrieval-tiers.d.ts +2 -1
- package/dist/schemas.d.ts +22 -22
- package/dist/sdk-compat.d.ts +3 -2
- package/dist/sdk-compat.js.map +1 -1
- package/dist/{semantic-consolidation-GPcLr9BQ.d.ts → semantic-consolidation-ByBXb-sf.d.ts} +2 -2
- package/dist/semantic-consolidation.d.ts +4 -3
- package/dist/semantic-consolidation.js +3 -3
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/session-observer-bands.d.ts +2 -1
- package/dist/session-observer-state.d.ts +2 -1
- package/dist/signal.d.ts +2 -1
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +2 -1
- package/dist/summarizer.js +6 -4
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-validity.d.ts +2 -1
- package/dist/threading.d.ts +2 -1
- package/dist/tier-migration.d.ts +4 -3
- package/dist/tier-routing.d.ts +2 -1
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/types.d.ts +2693 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +2 -1
- package/dist/verified-recall.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-3VRIIII5.js +0 -905
- package/dist/chunk-3VRIIII5.js.map +0 -1
- package/dist/chunk-FLBYSB2V.js.map +0 -1
- package/dist/chunk-FPWUENQH.js.map +0 -1
- package/dist/chunk-KIF7QNKL.js.map +0 -1
- package/dist/chunk-LOBRX7VD.js.map +0 -1
- package/dist/chunk-QPLYTPYL.js.map +0 -1
- package/dist/chunk-XN4D6Z7X.js.map +0 -1
- package/dist/chunk-Y3VT6ZCP.js.map +0 -1
- package/dist/types-Bmp9ssU2.d.ts +0 -2714
- /package/dist/{chunk-ICULSMDG.js.map → chunk-2YMTO4ZJ.js.map} +0 -0
- /package/dist/{chunk-XL3UCAZA.js.map → chunk-363MWCD3.js.map} +0 -0
- /package/dist/{chunk-PHQH2VUO.js.map → chunk-36CTNQY7.js.map} +0 -0
- /package/dist/{chunk-OWGGXPKV.js.map → chunk-57QNCUEZ.js.map} +0 -0
- /package/dist/{chunk-KMWZXT5T.js.map → chunk-6XA7UN4Z.js.map} +0 -0
- /package/dist/{chunk-G6NX57V2.js.map → chunk-C5HUWVH2.js.map} +0 -0
- /package/dist/{chunk-NN3TS5BM.js.map → chunk-D54LZC5L.js.map} +0 -0
- /package/dist/{chunk-U4SZXGEO.js.map → chunk-EYNQTST2.js.map} +0 -0
- /package/dist/{chunk-M3DK45UM.js.map → chunk-I6BQZSML.js.map} +0 -0
- /package/dist/{chunk-G3G3LY22.js.map → chunk-KBYWQWSB.js.map} +0 -0
- /package/dist/{chunk-CTYRIJ5E.js.map → chunk-LIO5X3CM.js.map} +0 -0
- /package/dist/{chunk-MJLUHRSF.js.map → chunk-MCC6KDQF.js.map} +0 -0
- /package/dist/{chunk-J3P6WSFZ.js.map → chunk-O4XJUPSF.js.map} +0 -0
- /package/dist/{chunk-6OAQEOGV.js.map → chunk-PB5KW5PL.js.map} +0 -0
- /package/dist/{chunk-2MVUXO4H.js.map → chunk-RXTFCYQF.js.map} +0 -0
- /package/dist/{chunk-7SFAENUZ.js.map → chunk-WTFWLUSX.js.map} +0 -0
- /package/dist/{chunk-A6PGANSE.js.map → chunk-Y5KDIOKF.js.map} +0 -0
- /package/dist/{chunk-BIHCWSWA.js.map → chunk-ZL4S7ARC.js.map} +0 -0
- /package/dist/{engine-EDFFOWDD.js.map → codex-cli-fallback.js.map} +0 -0
- /package/dist/{memory-governance-AAQPBZEP.js.map → engine-FOC3IJLA.js.map} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -217,12 +217,12 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
217
217
|
title: z.ZodString;
|
|
218
218
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
key: string;
|
|
221
220
|
title: string;
|
|
221
|
+
key: string;
|
|
222
222
|
facts: string[];
|
|
223
223
|
}, {
|
|
224
|
-
key: string;
|
|
225
224
|
title: string;
|
|
225
|
+
key: string;
|
|
226
226
|
facts: string[];
|
|
227
227
|
}>, "many">>>;
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -230,8 +230,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
230
230
|
name: string;
|
|
231
231
|
facts: string[];
|
|
232
232
|
structuredSections?: {
|
|
233
|
-
key: string;
|
|
234
233
|
title: string;
|
|
234
|
+
key: string;
|
|
235
235
|
facts: string[];
|
|
236
236
|
}[] | null | undefined;
|
|
237
237
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -240,8 +240,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
240
240
|
name: string;
|
|
241
241
|
facts: string[];
|
|
242
242
|
structuredSections?: {
|
|
243
|
-
key: string;
|
|
244
243
|
title: string;
|
|
244
|
+
key: string;
|
|
245
245
|
facts: string[];
|
|
246
246
|
}[] | null | undefined;
|
|
247
247
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -468,12 +468,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
468
468
|
title: z.ZodString;
|
|
469
469
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
key: string;
|
|
472
471
|
title: string;
|
|
472
|
+
key: string;
|
|
473
473
|
facts: string[];
|
|
474
474
|
}, {
|
|
475
|
-
key: string;
|
|
476
475
|
title: string;
|
|
476
|
+
key: string;
|
|
477
477
|
facts: string[];
|
|
478
478
|
}>, "many">>>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -481,8 +481,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
481
481
|
name: string;
|
|
482
482
|
facts: string[];
|
|
483
483
|
structuredSections?: {
|
|
484
|
-
key: string;
|
|
485
484
|
title: string;
|
|
485
|
+
key: string;
|
|
486
486
|
facts: string[];
|
|
487
487
|
}[] | null | undefined;
|
|
488
488
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -491,8 +491,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
491
491
|
name: string;
|
|
492
492
|
facts: string[];
|
|
493
493
|
structuredSections?: {
|
|
494
|
-
key: string;
|
|
495
494
|
title: string;
|
|
495
|
+
key: string;
|
|
496
496
|
facts: string[];
|
|
497
497
|
}[] | null | undefined;
|
|
498
498
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -549,8 +549,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
549
549
|
name: string;
|
|
550
550
|
facts: string[];
|
|
551
551
|
structuredSections?: {
|
|
552
|
-
key: string;
|
|
553
552
|
title: string;
|
|
553
|
+
key: string;
|
|
554
554
|
facts: string[];
|
|
555
555
|
}[] | null | undefined;
|
|
556
556
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -598,8 +598,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
598
598
|
name: string;
|
|
599
599
|
facts: string[];
|
|
600
600
|
structuredSections?: {
|
|
601
|
-
key: string;
|
|
602
601
|
title: string;
|
|
602
|
+
key: string;
|
|
603
603
|
facts: string[];
|
|
604
604
|
}[] | null | undefined;
|
|
605
605
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -778,12 +778,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
778
778
|
title: z.ZodString;
|
|
779
779
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
780
780
|
}, "strip", z.ZodTypeAny, {
|
|
781
|
-
key: string;
|
|
782
781
|
title: string;
|
|
782
|
+
key: string;
|
|
783
783
|
facts: string[];
|
|
784
784
|
}, {
|
|
785
|
-
key: string;
|
|
786
785
|
title: string;
|
|
786
|
+
key: string;
|
|
787
787
|
facts: string[];
|
|
788
788
|
}>, "many">>>;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -791,8 +791,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
791
791
|
name: string;
|
|
792
792
|
facts: string[];
|
|
793
793
|
structuredSections?: {
|
|
794
|
-
key: string;
|
|
795
794
|
title: string;
|
|
795
|
+
key: string;
|
|
796
796
|
facts: string[];
|
|
797
797
|
}[] | null | undefined;
|
|
798
798
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -801,8 +801,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
801
801
|
name: string;
|
|
802
802
|
facts: string[];
|
|
803
803
|
structuredSections?: {
|
|
804
|
-
key: string;
|
|
805
804
|
title: string;
|
|
805
|
+
key: string;
|
|
806
806
|
facts: string[];
|
|
807
807
|
}[] | null | undefined;
|
|
808
808
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -873,8 +873,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
873
873
|
name: string;
|
|
874
874
|
facts: string[];
|
|
875
875
|
structuredSections?: {
|
|
876
|
-
key: string;
|
|
877
876
|
title: string;
|
|
877
|
+
key: string;
|
|
878
878
|
facts: string[];
|
|
879
879
|
}[] | null | undefined;
|
|
880
880
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -928,8 +928,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
928
928
|
name: string;
|
|
929
929
|
facts: string[];
|
|
930
930
|
structuredSections?: {
|
|
931
|
-
key: string;
|
|
932
931
|
title: string;
|
|
932
|
+
key: string;
|
|
933
933
|
facts: string[];
|
|
934
934
|
}[] | null | undefined;
|
|
935
935
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -998,12 +998,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
998
998
|
title: z.ZodString;
|
|
999
999
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1000
1000
|
}, "strip", z.ZodTypeAny, {
|
|
1001
|
-
key: string;
|
|
1002
1001
|
title: string;
|
|
1002
|
+
key: string;
|
|
1003
1003
|
facts: string[];
|
|
1004
1004
|
}, {
|
|
1005
|
-
key: string;
|
|
1006
1005
|
title: string;
|
|
1006
|
+
key: string;
|
|
1007
1007
|
facts: string[];
|
|
1008
1008
|
}>, "many">>>;
|
|
1009
1009
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1011,8 +1011,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1011
1011
|
name: string;
|
|
1012
1012
|
facts: string[];
|
|
1013
1013
|
structuredSections?: {
|
|
1014
|
-
key: string;
|
|
1015
1014
|
title: string;
|
|
1015
|
+
key: string;
|
|
1016
1016
|
facts: string[];
|
|
1017
1017
|
}[] | null | undefined;
|
|
1018
1018
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1021,8 +1021,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1021
1021
|
name: string;
|
|
1022
1022
|
facts: string[];
|
|
1023
1023
|
structuredSections?: {
|
|
1024
|
-
key: string;
|
|
1025
1024
|
title: string;
|
|
1025
|
+
key: string;
|
|
1026
1026
|
facts: string[];
|
|
1027
1027
|
}[] | null | undefined;
|
|
1028
1028
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1041,8 +1041,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1041
1041
|
name: string;
|
|
1042
1042
|
facts: string[];
|
|
1043
1043
|
structuredSections?: {
|
|
1044
|
-
key: string;
|
|
1045
1044
|
title: string;
|
|
1045
|
+
key: string;
|
|
1046
1046
|
facts: string[];
|
|
1047
1047
|
}[] | null | undefined;
|
|
1048
1048
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1061,8 +1061,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1061
1061
|
name: string;
|
|
1062
1062
|
facts: string[];
|
|
1063
1063
|
structuredSections?: {
|
|
1064
|
-
key: string;
|
|
1065
1064
|
title: string;
|
|
1065
|
+
key: string;
|
|
1066
1066
|
facts: string[];
|
|
1067
1067
|
}[] | null | undefined;
|
|
1068
1068
|
promptedByQuestion?: string | null | undefined;
|
package/dist/sdk-compat.d.ts
CHANGED
|
@@ -16,8 +16,9 @@ interface SdkCapabilities {
|
|
|
16
16
|
/** Detected SDK version string, or "legacy" */
|
|
17
17
|
sdkVersion: string;
|
|
18
18
|
/** api.registrationMode value when present */
|
|
19
|
-
registrationMode:
|
|
19
|
+
registrationMode: OpenClawRegistrationMode | undefined;
|
|
20
20
|
}
|
|
21
|
+
type OpenClawRegistrationMode = "full" | "discovery" | "tool-discovery" | "setup-only" | "setup-runtime" | "cli-metadata" | (string & {});
|
|
21
22
|
declare function detectSdkCapabilities(api: Record<string, unknown>): SdkCapabilities;
|
|
22
23
|
|
|
23
|
-
export { type SdkCapabilities, detectSdkCapabilities };
|
|
24
|
+
export { type OpenClawRegistrationMode, type SdkCapabilities, detectSdkCapabilities };
|
package/dist/sdk-compat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sdk-compat.ts"],"sourcesContent":["/**\n * Runtime SDK capability detection.\n *\n * Probes the injected api object at registration time to determine which\n * OpenClaw SDK features are available. All hook registrations and entry-point\n * patterns branch on these flags so engram works on both old (≤2026.3.13)\n * and new (≥2026.3.22) runtimes.\n */\nimport { readEnvVar } from \"./runtime/env.js\";\n\nexport interface SdkCapabilities {\n /** api.on(\"before_prompt_build\", ...) is available */\n hasBeforePromptBuild: boolean;\n /** api.registerMemoryPromptSection() exists */\n hasRegisterMemoryPromptSection: boolean;\n /** api.registerMemoryCapability() exists (new SDK >=2026.4.5) */\n hasRegisterMemoryCapability: boolean;\n /** definePluginEntry from openclaw/plugin-sdk/plugin-entry is importable */\n hasDefinePluginEntry: boolean;\n /** api.runtime.* namespace exists */\n hasRuntimeNamespace: boolean;\n /** api.registrationMode is present */\n hasRegistrationMode: boolean;\n /** Hooks receive typed event/context objects */\n hasTypedHooks: boolean;\n /** Detected SDK version string, or \"legacy\" */\n sdkVersion: string;\n /** api.registrationMode value when present */\n registrationMode: \"full\" | \"setup-only\"
|
|
1
|
+
{"version":3,"sources":["../src/sdk-compat.ts"],"sourcesContent":["/**\n * Runtime SDK capability detection.\n *\n * Probes the injected api object at registration time to determine which\n * OpenClaw SDK features are available. All hook registrations and entry-point\n * patterns branch on these flags so engram works on both old (≤2026.3.13)\n * and new (≥2026.3.22) runtimes.\n */\nimport { readEnvVar } from \"./runtime/env.js\";\n\nexport interface SdkCapabilities {\n /** api.on(\"before_prompt_build\", ...) is available */\n hasBeforePromptBuild: boolean;\n /** api.registerMemoryPromptSection() exists */\n hasRegisterMemoryPromptSection: boolean;\n /** api.registerMemoryCapability() exists (new SDK >=2026.4.5) */\n hasRegisterMemoryCapability: boolean;\n /** definePluginEntry from openclaw/plugin-sdk/plugin-entry is importable */\n hasDefinePluginEntry: boolean;\n /** api.runtime.* namespace exists */\n hasRuntimeNamespace: boolean;\n /** api.registrationMode is present */\n hasRegistrationMode: boolean;\n /** Hooks receive typed event/context objects */\n hasTypedHooks: boolean;\n /** Detected SDK version string, or \"legacy\" */\n sdkVersion: string;\n /** api.registrationMode value when present */\n registrationMode: OpenClawRegistrationMode | undefined;\n}\n\nexport type OpenClawRegistrationMode =\n | \"full\"\n | \"discovery\"\n | \"tool-discovery\"\n | \"setup-only\"\n | \"setup-runtime\"\n | \"cli-metadata\"\n | (string & {});\n\nexport function detectSdkCapabilities(api: Record<string, unknown>): SdkCapabilities {\n const hasRegisterMemoryPromptSection =\n typeof (api as any).registerMemoryPromptSection === \"function\";\n const hasRegisterMemoryCapability =\n typeof (api as any).registerMemoryCapability === \"function\";\n const hasRuntimeNamespace =\n typeof (api as any).runtime === \"object\" && (api as any).runtime !== null;\n const hasRegistrationMode = typeof (api as any).registrationMode === \"string\";\n\n const runtimeVersion =\n hasRuntimeNamespace && typeof (api as any).runtime?.version === \"string\"\n ? (api as any).runtime.version\n : null;\n const isNewSdk =\n hasRegisterMemoryPromptSection || hasRegisterMemoryCapability || hasRuntimeNamespace || hasRegistrationMode;\n const sdkVersion: string =\n runtimeVersion ??\n (isNewSdk ? readEnvVar(\"OPENCLAW_SERVICE_VERSION\") : null) ??\n \"legacy\";\n\n // New SDK is indicated by any of the new API surfaces being present.\n // New hook system requires one of the authoritative new-SDK signals:\n // - registerMemoryPromptSection (pre-capability new SDKs, ≥2026.3.22)\n // - registerMemoryCapability (capability-based SDKs, ≥2026.4.5; the\n // deprecated registerMemoryPromptSection may be absent)\n // - registrationMode (explicit registration lifecycle signal)\n // Just having runtime.version is NOT sufficient — some legacy builds\n // expose it. Omitting registerMemoryCapability here would cause the\n // legacy before_agent_start hook to be registered on new SDKs that only\n // expose registerMemoryCapability, silently breaking memory injection.\n const hasNewHookSystem =\n hasRegisterMemoryPromptSection || hasRegisterMemoryCapability || hasRegistrationMode;\n\n return {\n hasBeforePromptBuild: hasNewHookSystem,\n hasRegisterMemoryPromptSection,\n hasRegisterMemoryCapability,\n hasDefinePluginEntry: isNewSdk, // entry point is less risky, keep broad detection\n hasRuntimeNamespace,\n hasRegistrationMode,\n hasTypedHooks: hasNewHookSystem,\n sdkVersion,\n registrationMode: hasRegistrationMode\n ? ((api as any).registrationMode as SdkCapabilities[\"registrationMode\"])\n : undefined,\n };\n}\n"],"mappings":";;;;;;AAwCO,SAAS,sBAAsB,KAA+C;AACnF,QAAM,iCACJ,OAAQ,IAAY,gCAAgC;AACtD,QAAM,8BACJ,OAAQ,IAAY,6BAA6B;AACnD,QAAM,sBACJ,OAAQ,IAAY,YAAY,YAAa,IAAY,YAAY;AACvE,QAAM,sBAAsB,OAAQ,IAAY,qBAAqB;AAErE,QAAM,iBACJ,uBAAuB,OAAQ,IAAY,SAAS,YAAY,WAC3D,IAAY,QAAQ,UACrB;AACN,QAAM,WACJ,kCAAkC,+BAA+B,uBAAuB;AAC1F,QAAM,aACJ,mBACC,WAAW,WAAW,0BAA0B,IAAI,SACrD;AAYF,QAAM,mBACJ,kCAAkC,+BAA+B;AAEnE,SAAO;AAAA,IACL,sBAAsB;AAAA,IACtB;AAAA,IACA;AAAA,IACA,sBAAsB;AAAA;AAAA,IACtB;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf;AAAA,IACA,kBAAkB,sBACZ,IAAY,mBACd;AAAA,EACN;AACF;","names":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as RolloutSummaryInput, M as MaterializeResult } from './codex-materialize-
|
|
1
|
+
import { PluginConfig, MemoryFile } from './types.js';
|
|
2
|
+
import { R as RolloutSummaryInput, M as MaterializeResult } from './codex-materialize-CQlLTzke.js';
|
|
3
3
|
import { LoggerBackend } from './logger.js';
|
|
4
4
|
import { SemanticConsolidationLlmOperator } from './consolidation-operator.js';
|
|
5
5
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import './types
|
|
2
|
-
import './codex-materialize-
|
|
3
|
-
export { C as ConsolidationCluster, O as OperatorAwareConsolidationResult, S as SemanticConsolidationResult, a as buildConsolidationPrompt, b as buildExtensionsBlockForConsolidation, c as buildOperatorAwareConsolidationPrompt, e as chooseConsolidationOperator, f as findSimilarClusters, m as materializeAfterSemanticConsolidation, p as parseConsolidationResponse, g as parseOperatorAwareConsolidationResponse, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
1
|
+
import './types.js';
|
|
2
|
+
import './codex-materialize-CQlLTzke.js';
|
|
3
|
+
export { C as ConsolidationCluster, O as OperatorAwareConsolidationResult, S as SemanticConsolidationResult, a as buildConsolidationPrompt, b as buildExtensionsBlockForConsolidation, c as buildOperatorAwareConsolidationPrompt, e as chooseConsolidationOperator, f as findSimilarClusters, m as materializeAfterSemanticConsolidation, p as parseConsolidationResponse, g as parseOperatorAwareConsolidationResponse, r as resolveExtensionsRoot } from './semantic-consolidation-ByBXb-sf.js';
|
|
4
4
|
export { CONSOLIDATION_OPERATORS, ConsolidationOperator, SemanticConsolidationLlmOperator, isConsolidationOperator, isSemanticConsolidationLlmOperator, isValidDerivedFromEntry } from './consolidation-operator.js';
|
|
5
|
+
import './index-1qIcnbG1.js';
|
|
5
6
|
import './logger.js';
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
materializeAfterSemanticConsolidation,
|
|
8
8
|
parseConsolidationResponse,
|
|
9
9
|
parseOperatorAwareConsolidationResponse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C5HUWVH2.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveExtensionsRoot
|
|
13
13
|
} from "./chunk-EJI5XIBB.js";
|
|
14
14
|
import "./chunk-DT5TVLJE.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-MCC6KDQF.js";
|
|
16
16
|
import "./chunk-YNJHCGDT.js";
|
|
17
17
|
import "./chunk-NN2DKE4T.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-VQXK37XA.js";
|
|
19
19
|
import "./chunk-PFV5C235.js";
|
|
20
20
|
import "./chunk-RULE4VG5.js";
|
|
21
21
|
import "./chunk-SCU65EZI.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
promoteSemanticRuleFromMemory
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6XA7UN4Z.js";
|
|
4
|
+
import "./chunk-MCC6KDQF.js";
|
|
5
5
|
import "./chunk-YNJHCGDT.js";
|
|
6
6
|
import "./chunk-NN2DKE4T.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-VQXK37XA.js";
|
|
8
8
|
import "./chunk-PFV5C235.js";
|
|
9
9
|
import "./chunk-RULE4VG5.js";
|
|
10
10
|
import "./chunk-SCU65EZI.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MemoryFile } from './types.js';
|
|
2
|
+
import './index-1qIcnbG1.js';
|
|
2
3
|
|
|
3
4
|
type SemanticRuleVerificationStatus = "verified" | "source-memory-missing" | "source-memory-archived" | "source-memory-forgotten" | "source-memory-not-episode";
|
|
4
5
|
interface VerifiedSemanticRuleResult {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchVerifiedSemanticRules
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PB5KW5PL.js";
|
|
4
4
|
import "./chunk-DT5TVLJE.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-MCC6KDQF.js";
|
|
6
6
|
import "./chunk-YNJHCGDT.js";
|
|
7
7
|
import "./chunk-NN2DKE4T.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VQXK37XA.js";
|
|
9
9
|
import "./chunk-PFV5C235.js";
|
|
10
10
|
import "./chunk-RULE4VG5.js";
|
|
11
11
|
import "./chunk-SCU65EZI.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SessionObserverBandConfig } from './types.js';
|
|
2
|
+
import './index-1qIcnbG1.js';
|
|
2
3
|
|
|
3
4
|
declare const DEFAULT_SESSION_OBSERVER_BANDS: SessionObserverBandConfig[];
|
|
4
5
|
declare function cloneDefaultSessionObserverBands(): SessionObserverBandConfig[];
|
package/dist/signal.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SignalScanResult } from './types.js';
|
|
2
|
+
import './index-1qIcnbG1.js';
|
|
2
3
|
|
|
3
4
|
declare function isDisagreementPrompt(text: string): boolean;
|
|
4
5
|
declare function scanSignals(text: string, customPatterns?: string[]): SignalScanResult;
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { VersioningConfig } from './page-versioning.js';
|
|
2
2
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
3
|
-
import {
|
|
4
|
-
import { P as ProjectedMemoryBrowseOptions, a as ProjectedMemoryBrowsePage, b as readProjectedGovernanceRecord } from './memory-projection-store-
|
|
3
|
+
import { PluginConfig, MemoryCategory, ImportanceScore, MemoryLink, MemoryFrontmatter, MemoryStatus, MemoryFile, EntityStructuredSection, BufferState, MetaState, MemoryActionEvent, MemoryLifecycleEvent, BufferSurpriseEvent, BehaviorSignalEvent, CompressionGuidelineOptimizerState, ContinuityIncidentOpenInput, ContinuityIncidentRecord, ContinuityIncidentCloseInput, ContinuityImprovementLoop, ContinuityLoopUpsertInput, ContinuityLoopReviewInput, FileHygieneConfig, EntityRelationship, EntityActivityEntry, EntityFile, AccessTrackingEntry, MemoryProjectionCurrentState, MemorySummary, TopicScore } from './types.js';
|
|
4
|
+
import { P as ProjectedMemoryBrowseOptions, a as ProjectedMemoryBrowsePage, b as readProjectedGovernanceRecord } from './memory-projection-store-CY8TU40w.js';
|
|
5
|
+
import './index-1qIcnbG1.js';
|
|
5
6
|
import 'better-sqlite3';
|
|
6
7
|
|
|
7
8
|
interface ReextractJobRequest {
|
package/dist/storage.js
CHANGED
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
normalizeEntityName,
|
|
9
9
|
parseEntityFile,
|
|
10
10
|
serializeEntityFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MCC6KDQF.js";
|
|
12
12
|
import "./chunk-YNJHCGDT.js";
|
|
13
13
|
import "./chunk-NN2DKE4T.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VQXK37XA.js";
|
|
15
15
|
import "./chunk-PFV5C235.js";
|
|
16
16
|
import "./chunk-RULE4VG5.js";
|
|
17
17
|
import "./chunk-SCU65EZI.js";
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PluginConfig, GatewayConfig, TranscriptEntry, HourlySummary } from './types.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
|
+
import './index-1qIcnbG1.js';
|
|
4
5
|
import './session-integrity.js';
|
|
5
6
|
|
|
6
7
|
declare class HourlySummarizer {
|
package/dist/summarizer.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HourlySummarizer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PHNGXFQ6.js";
|
|
4
4
|
import "./chunk-ETOW6ACV.js";
|
|
5
5
|
import "./chunk-QR3C7BKQ.js";
|
|
6
6
|
import "./chunk-NN3LPQ5D.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-7SI52C65.js";
|
|
7
|
+
import "./chunk-VX2IUQFE.js";
|
|
8
|
+
import "./chunk-S3IP6R6K.js";
|
|
10
9
|
import "./chunk-L2EXJQJP.js";
|
|
10
|
+
import "./chunk-7SI52C65.js";
|
|
11
11
|
import "./chunk-UZB5KHKX.js";
|
|
12
|
+
import "./chunk-KWBPHZUU.js";
|
|
12
13
|
import "./chunk-OR64ZGRZ.js";
|
|
14
|
+
import "./chunk-IXEJRKCZ.js";
|
|
13
15
|
import "./chunk-MARWOCVP.js";
|
|
14
16
|
import "./chunk-2ODBA7MQ.js";
|
|
15
17
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HourlySummary } from './types.js';
|
|
2
|
+
import './index-1qIcnbG1.js';
|
|
2
3
|
|
|
3
4
|
declare function summarySnapshotPath(memoryDir: string, sessionKey: string): string;
|
|
4
5
|
declare function readSummarySnapshot(memoryDir: string, sessionKey: string): Promise<HourlySummary[] | null>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MemoryFrontmatter } from './types.js';
|
|
2
2
|
import { StorageManager } from './storage.js';
|
|
3
|
+
import './index-1qIcnbG1.js';
|
|
3
4
|
import './page-versioning.js';
|
|
4
5
|
import './consolidation-operator.js';
|
|
5
|
-
import './memory-projection-store-
|
|
6
|
+
import './memory-projection-store-CY8TU40w.js';
|
|
6
7
|
import 'better-sqlite3';
|
|
7
8
|
|
|
8
9
|
/**
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MemoryFile } from './types.js';
|
|
2
2
|
import { StorageManager } from './storage.js';
|
|
3
3
|
import { MemoryTier } from './tier-routing.js';
|
|
4
|
-
import { S as SearchBackend } from './port-
|
|
4
|
+
import { S as SearchBackend } from './port-B6VEDIkC.js';
|
|
5
|
+
import './index-1qIcnbG1.js';
|
|
5
6
|
import './page-versioning.js';
|
|
6
7
|
import './consolidation-operator.js';
|
|
7
|
-
import './memory-projection-store-
|
|
8
|
+
import './memory-projection-store-CY8TU40w.js';
|
|
8
9
|
import 'better-sqlite3';
|
|
9
10
|
import './lifecycle.js';
|
|
10
11
|
|
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PluginConfig, TranscriptEntry, Checkpoint } from './types.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
|
+
import './index-1qIcnbG1.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Manages conversation transcript storage, checkpointing, and recall formatting.
|