@remnic/core 9.46.0 → 9.46.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.
- package/dist/access-operations.d.ts +3 -3
- package/dist/access-schema.d.ts +84 -84
- package/dist/index.d.ts +676 -676
- package/dist/schemas.d.ts +76 -76
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
package/dist/schemas.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
|
|
|
7
7
|
importance: z.ZodNumber;
|
|
8
8
|
source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
+
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
10
11
|
confidence: number;
|
|
11
|
-
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
12
|
-
importance: number;
|
|
13
12
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
13
|
+
importance: number;
|
|
14
14
|
}, {
|
|
15
|
+
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
15
16
|
confidence: number;
|
|
16
|
-
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
17
|
-
importance: number;
|
|
18
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
|
+
importance: number;
|
|
19
19
|
}>;
|
|
20
20
|
declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
|
|
21
21
|
declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
|
|
@@ -152,10 +152,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
152
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
153
153
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
|
|
155
|
+
tags: string[];
|
|
156
156
|
content: string;
|
|
157
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
157
158
|
confidence: number;
|
|
158
|
-
tags: string[];
|
|
159
159
|
entityRef?: string | null | undefined;
|
|
160
160
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
161
161
|
quote?: string | null | undefined;
|
|
@@ -184,10 +184,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
184
|
eventTime?: string | null | undefined;
|
|
185
185
|
event_time?: string | null | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
|
|
187
|
+
tags: string[];
|
|
188
188
|
content: string;
|
|
189
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
189
190
|
confidence: number;
|
|
190
|
-
tags: string[];
|
|
191
191
|
entityRef?: string | null | undefined;
|
|
192
192
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
193
193
|
quote?: string | null | undefined;
|
|
@@ -216,10 +216,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
216
216
|
eventTime?: string | null | undefined;
|
|
217
217
|
event_time?: string | null | undefined;
|
|
218
218
|
}>, {
|
|
219
|
-
|
|
219
|
+
tags: string[];
|
|
220
220
|
content: string;
|
|
221
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
221
222
|
confidence: number;
|
|
222
|
-
tags: string[];
|
|
223
223
|
entityRef?: string | null | undefined;
|
|
224
224
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
225
225
|
quote?: string | null | undefined;
|
|
@@ -248,10 +248,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
248
248
|
eventTime?: string | null | undefined;
|
|
249
249
|
event_time?: string | null | undefined;
|
|
250
250
|
}, {
|
|
251
|
-
|
|
251
|
+
tags: string[];
|
|
252
252
|
content: string;
|
|
253
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
253
254
|
confidence: number;
|
|
254
|
-
tags: string[];
|
|
255
255
|
entityRef?: string | null | undefined;
|
|
256
256
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
257
257
|
quote?: string | null | undefined;
|
|
@@ -290,12 +290,12 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
290
290
|
title: z.ZodString;
|
|
291
291
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
292
292
|
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
key: string;
|
|
294
293
|
title: string;
|
|
294
|
+
key: string;
|
|
295
295
|
facts: string[];
|
|
296
296
|
}, {
|
|
297
|
-
key: string;
|
|
298
297
|
title: string;
|
|
298
|
+
key: string;
|
|
299
299
|
facts: string[];
|
|
300
300
|
}>, "many">>>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -303,8 +303,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
303
303
|
name: string;
|
|
304
304
|
facts: string[];
|
|
305
305
|
structuredSections?: {
|
|
306
|
-
key: string;
|
|
307
306
|
title: string;
|
|
307
|
+
key: string;
|
|
308
308
|
facts: string[];
|
|
309
309
|
}[] | null | undefined;
|
|
310
310
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -313,8 +313,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
313
313
|
name: string;
|
|
314
314
|
facts: string[];
|
|
315
315
|
structuredSections?: {
|
|
316
|
-
key: string;
|
|
317
316
|
title: string;
|
|
317
|
+
key: string;
|
|
318
318
|
facts: string[];
|
|
319
319
|
}[] | null | undefined;
|
|
320
320
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -365,13 +365,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
365
365
|
label: z.ZodString;
|
|
366
366
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
label: string;
|
|
369
368
|
source: string;
|
|
369
|
+
label: string;
|
|
370
370
|
target: string;
|
|
371
371
|
promptedByQuestion?: string | null | undefined;
|
|
372
372
|
}, {
|
|
373
|
-
label: string;
|
|
374
373
|
source: string;
|
|
374
|
+
label: string;
|
|
375
375
|
target: string;
|
|
376
376
|
promptedByQuestion?: string | null | undefined;
|
|
377
377
|
}>;
|
|
@@ -475,10 +475,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
475
475
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
476
476
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
|
|
478
|
+
tags: string[];
|
|
479
479
|
content: string;
|
|
480
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
480
481
|
confidence: number;
|
|
481
|
-
tags: string[];
|
|
482
482
|
entityRef?: string | null | undefined;
|
|
483
483
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
484
484
|
quote?: string | null | undefined;
|
|
@@ -507,10 +507,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
507
507
|
eventTime?: string | null | undefined;
|
|
508
508
|
event_time?: string | null | undefined;
|
|
509
509
|
}, {
|
|
510
|
-
|
|
510
|
+
tags: string[];
|
|
511
511
|
content: string;
|
|
512
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
512
513
|
confidence: number;
|
|
513
|
-
tags: string[];
|
|
514
514
|
entityRef?: string | null | undefined;
|
|
515
515
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
516
516
|
quote?: string | null | undefined;
|
|
@@ -539,10 +539,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
539
539
|
eventTime?: string | null | undefined;
|
|
540
540
|
event_time?: string | null | undefined;
|
|
541
541
|
}>, {
|
|
542
|
-
|
|
542
|
+
tags: string[];
|
|
543
543
|
content: string;
|
|
544
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
544
545
|
confidence: number;
|
|
545
|
-
tags: string[];
|
|
546
546
|
entityRef?: string | null | undefined;
|
|
547
547
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
548
548
|
quote?: string | null | undefined;
|
|
@@ -571,10 +571,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
571
571
|
eventTime?: string | null | undefined;
|
|
572
572
|
event_time?: string | null | undefined;
|
|
573
573
|
}, {
|
|
574
|
-
|
|
574
|
+
tags: string[];
|
|
575
575
|
content: string;
|
|
576
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
576
577
|
confidence: number;
|
|
577
|
-
tags: string[];
|
|
578
578
|
entityRef?: string | null | undefined;
|
|
579
579
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
580
580
|
quote?: string | null | undefined;
|
|
@@ -614,12 +614,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
614
614
|
title: z.ZodString;
|
|
615
615
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
|
-
key: string;
|
|
618
617
|
title: string;
|
|
618
|
+
key: string;
|
|
619
619
|
facts: string[];
|
|
620
620
|
}, {
|
|
621
|
-
key: string;
|
|
622
621
|
title: string;
|
|
622
|
+
key: string;
|
|
623
623
|
facts: string[];
|
|
624
624
|
}>, "many">>>;
|
|
625
625
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -627,8 +627,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
627
627
|
name: string;
|
|
628
628
|
facts: string[];
|
|
629
629
|
structuredSections?: {
|
|
630
|
-
key: string;
|
|
631
630
|
title: string;
|
|
631
|
+
key: string;
|
|
632
632
|
facts: string[];
|
|
633
633
|
}[] | null | undefined;
|
|
634
634
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -637,8 +637,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
637
637
|
name: string;
|
|
638
638
|
facts: string[];
|
|
639
639
|
structuredSections?: {
|
|
640
|
-
key: string;
|
|
641
640
|
title: string;
|
|
641
|
+
key: string;
|
|
642
642
|
facts: string[];
|
|
643
643
|
}[] | null | undefined;
|
|
644
644
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -649,22 +649,22 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
649
649
|
label: z.ZodString;
|
|
650
650
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
label: string;
|
|
653
652
|
source: string;
|
|
653
|
+
label: string;
|
|
654
654
|
target: string;
|
|
655
655
|
promptedByQuestion?: string | null | undefined;
|
|
656
656
|
}, {
|
|
657
|
-
label: string;
|
|
658
657
|
source: string;
|
|
658
|
+
label: string;
|
|
659
659
|
target: string;
|
|
660
660
|
promptedByQuestion?: string | null | undefined;
|
|
661
661
|
}>, "many">>>;
|
|
662
662
|
}, "strip", z.ZodTypeAny, {
|
|
663
663
|
facts: {
|
|
664
|
-
|
|
664
|
+
tags: string[];
|
|
665
665
|
content: string;
|
|
666
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
666
667
|
confidence: number;
|
|
667
|
-
tags: string[];
|
|
668
668
|
entityRef?: string | null | undefined;
|
|
669
669
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
670
670
|
quote?: string | null | undefined;
|
|
@@ -698,25 +698,25 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
698
698
|
name: string;
|
|
699
699
|
facts: string[];
|
|
700
700
|
structuredSections?: {
|
|
701
|
-
key: string;
|
|
702
701
|
title: string;
|
|
702
|
+
key: string;
|
|
703
703
|
facts: string[];
|
|
704
704
|
}[] | null | undefined;
|
|
705
705
|
promptedByQuestion?: string | null | undefined;
|
|
706
706
|
}[];
|
|
707
707
|
profileUpdates: string[];
|
|
708
708
|
relationships?: {
|
|
709
|
-
label: string;
|
|
710
709
|
source: string;
|
|
710
|
+
label: string;
|
|
711
711
|
target: string;
|
|
712
712
|
promptedByQuestion?: string | null | undefined;
|
|
713
713
|
}[] | null | undefined;
|
|
714
714
|
}, {
|
|
715
715
|
facts: {
|
|
716
|
-
|
|
716
|
+
tags: string[];
|
|
717
717
|
content: string;
|
|
718
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
718
719
|
confidence: number;
|
|
719
|
-
tags: string[];
|
|
720
720
|
entityRef?: string | null | undefined;
|
|
721
721
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
722
722
|
quote?: string | null | undefined;
|
|
@@ -750,16 +750,16 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
750
750
|
name: string;
|
|
751
751
|
facts: string[];
|
|
752
752
|
structuredSections?: {
|
|
753
|
-
key: string;
|
|
754
753
|
title: string;
|
|
754
|
+
key: string;
|
|
755
755
|
facts: string[];
|
|
756
756
|
}[] | null | undefined;
|
|
757
757
|
promptedByQuestion?: string | null | undefined;
|
|
758
758
|
}[];
|
|
759
759
|
profileUpdates: string[];
|
|
760
760
|
relationships?: {
|
|
761
|
-
label: string;
|
|
762
761
|
source: string;
|
|
762
|
+
label: string;
|
|
763
763
|
target: string;
|
|
764
764
|
promptedByQuestion?: string | null | undefined;
|
|
765
765
|
}[] | null | undefined;
|
|
@@ -864,10 +864,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
864
864
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
865
865
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
866
866
|
}, "strip", z.ZodTypeAny, {
|
|
867
|
-
|
|
867
|
+
tags: string[];
|
|
868
868
|
content: string;
|
|
869
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
869
870
|
confidence: number;
|
|
870
|
-
tags: string[];
|
|
871
871
|
entityRef?: string | null | undefined;
|
|
872
872
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
873
873
|
quote?: string | null | undefined;
|
|
@@ -896,10 +896,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
896
896
|
eventTime?: string | null | undefined;
|
|
897
897
|
event_time?: string | null | undefined;
|
|
898
898
|
}, {
|
|
899
|
-
|
|
899
|
+
tags: string[];
|
|
900
900
|
content: string;
|
|
901
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
901
902
|
confidence: number;
|
|
902
|
-
tags: string[];
|
|
903
903
|
entityRef?: string | null | undefined;
|
|
904
904
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
905
905
|
quote?: string | null | undefined;
|
|
@@ -928,10 +928,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
928
928
|
eventTime?: string | null | undefined;
|
|
929
929
|
event_time?: string | null | undefined;
|
|
930
930
|
}>, {
|
|
931
|
-
|
|
931
|
+
tags: string[];
|
|
932
932
|
content: string;
|
|
933
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
933
934
|
confidence: number;
|
|
934
|
-
tags: string[];
|
|
935
935
|
entityRef?: string | null | undefined;
|
|
936
936
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
937
937
|
quote?: string | null | undefined;
|
|
@@ -960,10 +960,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
960
960
|
eventTime?: string | null | undefined;
|
|
961
961
|
event_time?: string | null | undefined;
|
|
962
962
|
}, {
|
|
963
|
-
|
|
963
|
+
tags: string[];
|
|
964
964
|
content: string;
|
|
965
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
965
966
|
confidence: number;
|
|
966
|
-
tags: string[];
|
|
967
967
|
entityRef?: string | null | undefined;
|
|
968
968
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
969
969
|
quote?: string | null | undefined;
|
|
@@ -1003,12 +1003,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1003
1003
|
title: z.ZodString;
|
|
1004
1004
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1005
1005
|
}, "strip", z.ZodTypeAny, {
|
|
1006
|
-
key: string;
|
|
1007
1006
|
title: string;
|
|
1007
|
+
key: string;
|
|
1008
1008
|
facts: string[];
|
|
1009
1009
|
}, {
|
|
1010
|
-
key: string;
|
|
1011
1010
|
title: string;
|
|
1011
|
+
key: string;
|
|
1012
1012
|
facts: string[];
|
|
1013
1013
|
}>, "many">>>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1016,8 +1016,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1016
1016
|
name: string;
|
|
1017
1017
|
facts: string[];
|
|
1018
1018
|
structuredSections?: {
|
|
1019
|
-
key: string;
|
|
1020
1019
|
title: string;
|
|
1020
|
+
key: string;
|
|
1021
1021
|
facts: string[];
|
|
1022
1022
|
}[] | null | undefined;
|
|
1023
1023
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1026,8 +1026,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1026
1026
|
name: string;
|
|
1027
1027
|
facts: string[];
|
|
1028
1028
|
structuredSections?: {
|
|
1029
|
-
key: string;
|
|
1030
1029
|
title: string;
|
|
1030
|
+
key: string;
|
|
1031
1031
|
facts: string[];
|
|
1032
1032
|
}[] | null | undefined;
|
|
1033
1033
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1052,13 +1052,13 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1052
1052
|
label: z.ZodString;
|
|
1053
1053
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1054
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1055
|
-
label: string;
|
|
1056
1055
|
source: string;
|
|
1056
|
+
label: string;
|
|
1057
1057
|
target: string;
|
|
1058
1058
|
promptedByQuestion?: string | null | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
-
label: string;
|
|
1061
1060
|
source: string;
|
|
1061
|
+
label: string;
|
|
1062
1062
|
target: string;
|
|
1063
1063
|
promptedByQuestion?: string | null | undefined;
|
|
1064
1064
|
}>, "many">>>;
|
|
@@ -1069,10 +1069,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1069
1069
|
context: string;
|
|
1070
1070
|
}[];
|
|
1071
1071
|
facts: {
|
|
1072
|
-
|
|
1072
|
+
tags: string[];
|
|
1073
1073
|
content: string;
|
|
1074
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1074
1075
|
confidence: number;
|
|
1075
|
-
tags: string[];
|
|
1076
1076
|
entityRef?: string | null | undefined;
|
|
1077
1077
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1078
1078
|
quote?: string | null | undefined;
|
|
@@ -1106,16 +1106,16 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1106
1106
|
name: string;
|
|
1107
1107
|
facts: string[];
|
|
1108
1108
|
structuredSections?: {
|
|
1109
|
-
key: string;
|
|
1110
1109
|
title: string;
|
|
1110
|
+
key: string;
|
|
1111
1111
|
facts: string[];
|
|
1112
1112
|
}[] | null | undefined;
|
|
1113
1113
|
promptedByQuestion?: string | null | undefined;
|
|
1114
1114
|
}[];
|
|
1115
1115
|
profileUpdates: string[];
|
|
1116
1116
|
relationships?: {
|
|
1117
|
-
label: string;
|
|
1118
1117
|
source: string;
|
|
1118
|
+
label: string;
|
|
1119
1119
|
target: string;
|
|
1120
1120
|
promptedByQuestion?: string | null | undefined;
|
|
1121
1121
|
}[] | null | undefined;
|
|
@@ -1127,10 +1127,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1127
1127
|
context: string;
|
|
1128
1128
|
}[];
|
|
1129
1129
|
facts: {
|
|
1130
|
-
|
|
1130
|
+
tags: string[];
|
|
1131
1131
|
content: string;
|
|
1132
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1132
1133
|
confidence: number;
|
|
1133
|
-
tags: string[];
|
|
1134
1134
|
entityRef?: string | null | undefined;
|
|
1135
1135
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1136
1136
|
quote?: string | null | undefined;
|
|
@@ -1164,16 +1164,16 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1164
1164
|
name: string;
|
|
1165
1165
|
facts: string[];
|
|
1166
1166
|
structuredSections?: {
|
|
1167
|
-
key: string;
|
|
1168
1167
|
title: string;
|
|
1168
|
+
key: string;
|
|
1169
1169
|
facts: string[];
|
|
1170
1170
|
}[] | null | undefined;
|
|
1171
1171
|
promptedByQuestion?: string | null | undefined;
|
|
1172
1172
|
}[];
|
|
1173
1173
|
profileUpdates: string[];
|
|
1174
1174
|
relationships?: {
|
|
1175
|
-
label: string;
|
|
1176
1175
|
source: string;
|
|
1176
|
+
label: string;
|
|
1177
1177
|
target: string;
|
|
1178
1178
|
promptedByQuestion?: string | null | undefined;
|
|
1179
1179
|
}[] | null | undefined;
|
|
@@ -1229,12 +1229,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1229
1229
|
title: z.ZodString;
|
|
1230
1230
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1231
1231
|
}, "strip", z.ZodTypeAny, {
|
|
1232
|
-
key: string;
|
|
1233
1232
|
title: string;
|
|
1233
|
+
key: string;
|
|
1234
1234
|
facts: string[];
|
|
1235
1235
|
}, {
|
|
1236
|
-
key: string;
|
|
1237
1236
|
title: string;
|
|
1237
|
+
key: string;
|
|
1238
1238
|
facts: string[];
|
|
1239
1239
|
}>, "many">>>;
|
|
1240
1240
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1242,8 +1242,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1242
1242
|
name: string;
|
|
1243
1243
|
facts: string[];
|
|
1244
1244
|
structuredSections?: {
|
|
1245
|
-
key: string;
|
|
1246
1245
|
title: string;
|
|
1246
|
+
key: string;
|
|
1247
1247
|
facts: string[];
|
|
1248
1248
|
}[] | null | undefined;
|
|
1249
1249
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1252,8 +1252,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1252
1252
|
name: string;
|
|
1253
1253
|
facts: string[];
|
|
1254
1254
|
structuredSections?: {
|
|
1255
|
-
key: string;
|
|
1256
1255
|
title: string;
|
|
1256
|
+
key: string;
|
|
1257
1257
|
facts: string[];
|
|
1258
1258
|
}[] | null | undefined;
|
|
1259
1259
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1272,8 +1272,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1272
1272
|
name: string;
|
|
1273
1273
|
facts: string[];
|
|
1274
1274
|
structuredSections?: {
|
|
1275
|
-
key: string;
|
|
1276
1275
|
title: string;
|
|
1276
|
+
key: string;
|
|
1277
1277
|
facts: string[];
|
|
1278
1278
|
}[] | null | undefined;
|
|
1279
1279
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1292,8 +1292,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1292
1292
|
name: string;
|
|
1293
1293
|
facts: string[];
|
|
1294
1294
|
structuredSections?: {
|
|
1295
|
-
key: string;
|
|
1296
1295
|
title: string;
|
|
1296
|
+
key: string;
|
|
1297
1297
|
facts: string[];
|
|
1298
1298
|
}[] | null | undefined;
|
|
1299
1299
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1342,13 +1342,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
|
|
|
1342
1342
|
reasoning: z.ZodString;
|
|
1343
1343
|
whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
|
|
1344
1344
|
}, "strip", z.ZodTypeAny, {
|
|
1345
|
-
confidence: number;
|
|
1346
1345
|
reasoning: string;
|
|
1346
|
+
confidence: number;
|
|
1347
1347
|
isContradiction: boolean;
|
|
1348
1348
|
whichIsNewer: "second" | "first" | "unclear";
|
|
1349
1349
|
}, {
|
|
1350
|
-
confidence: number;
|
|
1351
1350
|
reasoning: string;
|
|
1351
|
+
confidence: number;
|
|
1352
1352
|
isContradiction: boolean;
|
|
1353
1353
|
whichIsNewer: "second" | "first" | "unclear";
|
|
1354
1354
|
}>;
|
|
@@ -1443,8 +1443,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1443
1443
|
reason: z.ZodString;
|
|
1444
1444
|
appliedAt: z.ZodString;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
-
reason: string;
|
|
1447
1446
|
confidence: number;
|
|
1447
|
+
reason: string;
|
|
1448
1448
|
parameter: string;
|
|
1449
1449
|
previousValue: number;
|
|
1450
1450
|
nextValue: number;
|
|
@@ -1452,8 +1452,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1452
1452
|
evidenceCount: number;
|
|
1453
1453
|
appliedAt: string;
|
|
1454
1454
|
}, {
|
|
1455
|
-
reason: string;
|
|
1456
1455
|
confidence: number;
|
|
1456
|
+
reason: string;
|
|
1457
1457
|
parameter: string;
|
|
1458
1458
|
previousValue: number;
|
|
1459
1459
|
nextValue: number;
|
|
@@ -1477,8 +1477,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1477
1477
|
reason: z.ZodString;
|
|
1478
1478
|
appliedAt: z.ZodString;
|
|
1479
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1480
|
-
reason: string;
|
|
1481
1480
|
confidence: number;
|
|
1481
|
+
reason: string;
|
|
1482
1482
|
parameter: string;
|
|
1483
1483
|
previousValue: number;
|
|
1484
1484
|
nextValue: number;
|
|
@@ -1486,8 +1486,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1486
1486
|
evidenceCount: number;
|
|
1487
1487
|
appliedAt: string;
|
|
1488
1488
|
}, {
|
|
1489
|
-
reason: string;
|
|
1490
1489
|
confidence: number;
|
|
1490
|
+
reason: string;
|
|
1491
1491
|
parameter: string;
|
|
1492
1492
|
previousValue: number;
|
|
1493
1493
|
nextValue: number;
|
|
@@ -1504,8 +1504,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1504
1504
|
maxDeltaPerCycle: number;
|
|
1505
1505
|
protectedParams: string[];
|
|
1506
1506
|
adjustments: {
|
|
1507
|
-
reason: string;
|
|
1508
1507
|
confidence: number;
|
|
1508
|
+
reason: string;
|
|
1509
1509
|
parameter: string;
|
|
1510
1510
|
previousValue: number;
|
|
1511
1511
|
nextValue: number;
|
|
@@ -1521,8 +1521,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1521
1521
|
maxDeltaPerCycle: number;
|
|
1522
1522
|
protectedParams: string[];
|
|
1523
1523
|
adjustments: {
|
|
1524
|
-
reason: string;
|
|
1525
1524
|
confidence: number;
|
|
1525
|
+
reason: string;
|
|
1526
1526
|
parameter: string;
|
|
1527
1527
|
previousValue: number;
|
|
1528
1528
|
nextValue: number;
|
|
@@ -21,28 +21,28 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
21
21
|
evidenceWindowEnd: z.ZodOptional<z.ZodString>;
|
|
22
22
|
refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
reason: string;
|
|
25
24
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
25
|
+
reason: string;
|
|
26
26
|
agent: string;
|
|
27
27
|
date: string;
|
|
28
|
-
severity?: "low" | "medium" | "high" | undefined;
|
|
29
|
-
confidence?: number | undefined;
|
|
30
|
-
tags?: string[] | undefined;
|
|
31
28
|
workflow?: string | undefined;
|
|
29
|
+
tags?: string[] | undefined;
|
|
30
|
+
confidence?: number | undefined;
|
|
31
|
+
severity?: "high" | "low" | "medium" | undefined;
|
|
32
32
|
outcome?: string | undefined;
|
|
33
33
|
refs?: string[] | undefined;
|
|
34
34
|
learning?: string | undefined;
|
|
35
35
|
evidenceWindowStart?: string | undefined;
|
|
36
36
|
evidenceWindowEnd?: string | undefined;
|
|
37
37
|
}, {
|
|
38
|
-
reason: string;
|
|
39
38
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
39
|
+
reason: string;
|
|
40
40
|
agent: string;
|
|
41
41
|
date: string;
|
|
42
|
-
severity?: "low" | "medium" | "high" | undefined;
|
|
43
|
-
confidence?: number | undefined;
|
|
44
|
-
tags?: string[] | undefined;
|
|
45
42
|
workflow?: string | undefined;
|
|
43
|
+
tags?: string[] | undefined;
|
|
44
|
+
confidence?: number | undefined;
|
|
45
|
+
severity?: "high" | "low" | "medium" | undefined;
|
|
46
46
|
outcome?: string | undefined;
|
|
47
47
|
refs?: string[] | undefined;
|
|
48
48
|
learning?: string | undefined;
|