@remnic/core 9.3.763 → 9.3.765
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 +2 -2
- package/dist/access-admin-ops-surface.js +1 -1
- package/dist/access-boundary.d.ts +2 -2
- package/dist/access-boundary.js +2 -2
- package/dist/access-cli.js +11 -11
- package/dist/access-http.d.ts +2 -2
- package/dist/access-http.js +6 -6
- package/dist/access-identity-continuity-surface.d.ts +1 -1
- package/dist/access-identity-continuity-surface.js +1 -1
- package/dist/access-lcm-surface.d.ts +2 -2
- package/dist/access-lcm-surface.js +1 -1
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-mcp.js +5 -5
- package/dist/access-observe-write-surface.d.ts +2 -2
- package/dist/access-observe-write-surface.js +1 -1
- package/dist/access-operations-batch.js +3 -3
- package/dist/access-operations.d.ts +6 -6
- package/dist/access-operations.js +4 -4
- package/dist/access-recall-surface.d.ts +2 -2
- package/dist/access-recall-surface.js +1 -1
- package/dist/access-schema.d.ts +68 -68
- package/dist/{access-service-CaWJP_f6.d.ts → access-service-CAoJ4qN8.d.ts} +1 -1
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.js +1 -1
- package/dist/access-surface-catalog.d.ts +2 -2
- package/dist/active-recall.js +1 -1
- package/dist/bootstrap.d.ts +1 -1
- package/dist/{chunk-LDCFFJ67.js → chunk-422OELQ3.js} +4 -4
- package/dist/{chunk-A4FMQIST.js → chunk-5JF4DIKZ.js} +2 -2
- package/dist/{chunk-K4EDULCP.js → chunk-CGLRKKMF.js} +3 -3
- package/dist/{chunk-6ZFE2TPO.js → chunk-P6ZZ4GX4.js} +3 -3
- package/dist/{chunk-6YEENRE3.js → chunk-RJCQPRLB.js} +3 -3
- package/dist/{chunk-D6YTILJO.js → chunk-SKT66QI5.js} +7 -7
- package/dist/{chunk-2HAG7JOI.js → chunk-T4AWNIXJ.js} +48 -58
- package/dist/chunk-T4AWNIXJ.js.map +1 -0
- package/dist/{chunk-N3QDLE2N.js → chunk-TOF25WKK.js} +2 -2
- package/dist/{chunk-BAF7MBEH.js → chunk-TUXRWLIQ.js} +15 -45
- package/dist/chunk-TUXRWLIQ.js.map +1 -0
- package/dist/{chunk-TIOXQPD7.js → chunk-UQEE4H6Z.js} +8 -8
- package/dist/chunk-UQEE4H6Z.js.map +1 -0
- package/dist/{chunk-4XL3CVII.js → chunk-WRBDUNSW.js} +2 -2
- package/dist/{cli-CvWpIbMD.d.ts → cli-WRmxvfc_.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +10 -10
- package/dist/config.js +1 -1
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -11
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/operator-toolkit.js +2 -2
- package/dist/{orchestrator-C04Q4Zao.d.ts → orchestrator-Y9wyG4jK.d.ts} +102 -15
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +11 -11
- package/dist/resume-bundles.js +2 -2
- package/dist/schemas.d.ts +84 -84
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/access-service.ts +7 -7
- package/src/config.ts +5 -261
- package/src/namespaces/scope-profile-config.test.ts +60 -0
- package/src/namespaces/scope-profile-config.ts +243 -0
- package/src/orchestration/recall-introspection.ts +3 -12
- package/src/orchestrator.ts +9 -57
- package/dist/chunk-2HAG7JOI.js.map +0 -1
- package/dist/chunk-BAF7MBEH.js.map +0 -1
- package/dist/chunk-TIOXQPD7.js.map +0 -1
- /package/dist/{chunk-LDCFFJ67.js.map → chunk-422OELQ3.js.map} +0 -0
- /package/dist/{chunk-A4FMQIST.js.map → chunk-5JF4DIKZ.js.map} +0 -0
- /package/dist/{chunk-K4EDULCP.js.map → chunk-CGLRKKMF.js.map} +0 -0
- /package/dist/{chunk-6ZFE2TPO.js.map → chunk-P6ZZ4GX4.js.map} +0 -0
- /package/dist/{chunk-6YEENRE3.js.map → chunk-RJCQPRLB.js.map} +0 -0
- /package/dist/{chunk-D6YTILJO.js.map → chunk-SKT66QI5.js.map} +0 -0
- /package/dist/{chunk-N3QDLE2N.js.map → chunk-TOF25WKK.js.map} +0 -0
- /package/dist/{chunk-4XL3CVII.js.map → chunk-WRBDUNSW.js.map} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -7,13 +7,13 @@ 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";
|
|
11
10
|
confidence: number;
|
|
11
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
12
12
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
13
13
|
importance: number;
|
|
14
14
|
}, {
|
|
15
|
-
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
16
15
|
confidence: number;
|
|
16
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
17
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
18
|
importance: number;
|
|
19
19
|
}>;
|
|
@@ -152,12 +152,12 @@ 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
|
-
tags: string[];
|
|
156
|
-
content: string;
|
|
157
155
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
156
|
+
content: string;
|
|
158
157
|
confidence: number;
|
|
159
|
-
|
|
158
|
+
tags: string[];
|
|
160
159
|
entityRef?: string | null | undefined;
|
|
160
|
+
quote?: string | null | undefined;
|
|
161
161
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
162
162
|
scope?: "project" | "global" | null | undefined;
|
|
163
163
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -184,12 +184,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
184
|
eventTime?: string | null | undefined;
|
|
185
185
|
event_time?: string | null | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
tags: string[];
|
|
188
|
-
content: string;
|
|
189
187
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
188
|
+
content: string;
|
|
190
189
|
confidence: number;
|
|
191
|
-
|
|
190
|
+
tags: string[];
|
|
192
191
|
entityRef?: string | null | undefined;
|
|
192
|
+
quote?: string | null | undefined;
|
|
193
193
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
194
194
|
scope?: "project" | "global" | null | undefined;
|
|
195
195
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -216,12 +216,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
216
216
|
eventTime?: string | null | undefined;
|
|
217
217
|
event_time?: string | null | undefined;
|
|
218
218
|
}>, {
|
|
219
|
-
tags: string[];
|
|
220
|
-
content: string;
|
|
221
219
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
220
|
+
content: string;
|
|
222
221
|
confidence: number;
|
|
223
|
-
|
|
222
|
+
tags: string[];
|
|
224
223
|
entityRef?: string | null | undefined;
|
|
224
|
+
quote?: string | null | undefined;
|
|
225
225
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
226
226
|
scope?: "project" | "global" | null | undefined;
|
|
227
227
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -248,12 +248,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
248
248
|
eventTime?: string | null | undefined;
|
|
249
249
|
event_time?: string | null | undefined;
|
|
250
250
|
}, {
|
|
251
|
-
tags: string[];
|
|
252
|
-
content: string;
|
|
253
251
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
252
|
+
content: string;
|
|
254
253
|
confidence: number;
|
|
255
|
-
|
|
254
|
+
tags: string[];
|
|
256
255
|
entityRef?: string | null | undefined;
|
|
256
|
+
quote?: string | null | undefined;
|
|
257
257
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
258
258
|
scope?: "project" | "global" | null | undefined;
|
|
259
259
|
promptedByQuestion?: 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
|
-
title: string;
|
|
294
293
|
key: string;
|
|
294
|
+
title: string;
|
|
295
295
|
facts: string[];
|
|
296
296
|
}, {
|
|
297
|
-
title: string;
|
|
298
297
|
key: string;
|
|
298
|
+
title: 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
|
-
title: string;
|
|
307
306
|
key: string;
|
|
307
|
+
title: 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
|
-
title: string;
|
|
317
316
|
key: string;
|
|
317
|
+
title: string;
|
|
318
318
|
facts: string[];
|
|
319
319
|
}[] | null | undefined;
|
|
320
320
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -365,14 +365,14 @@ 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;
|
|
368
369
|
source: string;
|
|
369
370
|
target: string;
|
|
370
|
-
label: string;
|
|
371
371
|
promptedByQuestion?: string | null | undefined;
|
|
372
372
|
}, {
|
|
373
|
+
label: string;
|
|
373
374
|
source: string;
|
|
374
375
|
target: string;
|
|
375
|
-
label: string;
|
|
376
376
|
promptedByQuestion?: string | null | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
@@ -475,12 +475,12 @@ 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
|
-
tags: string[];
|
|
479
|
-
content: string;
|
|
480
478
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
479
|
+
content: string;
|
|
481
480
|
confidence: number;
|
|
482
|
-
|
|
481
|
+
tags: string[];
|
|
483
482
|
entityRef?: string | null | undefined;
|
|
483
|
+
quote?: string | null | undefined;
|
|
484
484
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
485
485
|
scope?: "project" | "global" | null | undefined;
|
|
486
486
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -507,12 +507,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
507
507
|
eventTime?: string | null | undefined;
|
|
508
508
|
event_time?: string | null | undefined;
|
|
509
509
|
}, {
|
|
510
|
-
tags: string[];
|
|
511
|
-
content: string;
|
|
512
510
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
511
|
+
content: string;
|
|
513
512
|
confidence: number;
|
|
514
|
-
|
|
513
|
+
tags: string[];
|
|
515
514
|
entityRef?: string | null | undefined;
|
|
515
|
+
quote?: string | null | undefined;
|
|
516
516
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
517
517
|
scope?: "project" | "global" | null | undefined;
|
|
518
518
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -539,12 +539,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
539
539
|
eventTime?: string | null | undefined;
|
|
540
540
|
event_time?: string | null | undefined;
|
|
541
541
|
}>, {
|
|
542
|
-
tags: string[];
|
|
543
|
-
content: string;
|
|
544
542
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
543
|
+
content: string;
|
|
545
544
|
confidence: number;
|
|
546
|
-
|
|
545
|
+
tags: string[];
|
|
547
546
|
entityRef?: string | null | undefined;
|
|
547
|
+
quote?: string | null | undefined;
|
|
548
548
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
549
549
|
scope?: "project" | "global" | null | undefined;
|
|
550
550
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -571,12 +571,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
571
571
|
eventTime?: string | null | undefined;
|
|
572
572
|
event_time?: string | null | undefined;
|
|
573
573
|
}, {
|
|
574
|
-
tags: string[];
|
|
575
|
-
content: string;
|
|
576
574
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
575
|
+
content: string;
|
|
577
576
|
confidence: number;
|
|
578
|
-
|
|
577
|
+
tags: string[];
|
|
579
578
|
entityRef?: string | null | undefined;
|
|
579
|
+
quote?: string | null | undefined;
|
|
580
580
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
581
581
|
scope?: "project" | "global" | null | undefined;
|
|
582
582
|
promptedByQuestion?: 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
|
-
title: string;
|
|
618
617
|
key: string;
|
|
618
|
+
title: string;
|
|
619
619
|
facts: string[];
|
|
620
620
|
}, {
|
|
621
|
-
title: string;
|
|
622
621
|
key: string;
|
|
622
|
+
title: 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
|
-
title: string;
|
|
631
630
|
key: string;
|
|
631
|
+
title: 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
|
-
title: string;
|
|
641
640
|
key: string;
|
|
641
|
+
title: string;
|
|
642
642
|
facts: string[];
|
|
643
643
|
}[] | null | undefined;
|
|
644
644
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -649,24 +649,24 @@ 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;
|
|
652
653
|
source: string;
|
|
653
654
|
target: string;
|
|
654
|
-
label: string;
|
|
655
655
|
promptedByQuestion?: string | null | undefined;
|
|
656
656
|
}, {
|
|
657
|
+
label: string;
|
|
657
658
|
source: string;
|
|
658
659
|
target: string;
|
|
659
|
-
label: string;
|
|
660
660
|
promptedByQuestion?: string | null | undefined;
|
|
661
661
|
}>, "many">>>;
|
|
662
662
|
}, "strip", z.ZodTypeAny, {
|
|
663
663
|
facts: {
|
|
664
|
-
tags: string[];
|
|
665
|
-
content: string;
|
|
666
664
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
665
|
+
content: string;
|
|
667
666
|
confidence: number;
|
|
668
|
-
|
|
667
|
+
tags: string[];
|
|
669
668
|
entityRef?: string | null | undefined;
|
|
669
|
+
quote?: string | null | undefined;
|
|
670
670
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
671
671
|
scope?: "project" | "global" | null | undefined;
|
|
672
672
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -698,27 +698,27 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
698
698
|
name: string;
|
|
699
699
|
facts: string[];
|
|
700
700
|
structuredSections?: {
|
|
701
|
-
title: string;
|
|
702
701
|
key: string;
|
|
702
|
+
title: 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;
|
|
709
710
|
source: string;
|
|
710
711
|
target: string;
|
|
711
|
-
label: string;
|
|
712
712
|
promptedByQuestion?: string | null | undefined;
|
|
713
713
|
}[] | null | undefined;
|
|
714
714
|
}, {
|
|
715
715
|
facts: {
|
|
716
|
-
tags: string[];
|
|
717
|
-
content: string;
|
|
718
716
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
717
|
+
content: string;
|
|
719
718
|
confidence: number;
|
|
720
|
-
|
|
719
|
+
tags: string[];
|
|
721
720
|
entityRef?: string | null | undefined;
|
|
721
|
+
quote?: string | null | undefined;
|
|
722
722
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
723
723
|
scope?: "project" | "global" | null | undefined;
|
|
724
724
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -750,17 +750,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
750
750
|
name: string;
|
|
751
751
|
facts: string[];
|
|
752
752
|
structuredSections?: {
|
|
753
|
-
title: string;
|
|
754
753
|
key: string;
|
|
754
|
+
title: 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;
|
|
761
762
|
source: string;
|
|
762
763
|
target: string;
|
|
763
|
-
label: string;
|
|
764
764
|
promptedByQuestion?: string | null | undefined;
|
|
765
765
|
}[] | null | undefined;
|
|
766
766
|
}>;
|
|
@@ -864,12 +864,12 @@ 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
|
-
tags: string[];
|
|
868
|
-
content: string;
|
|
869
867
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
868
|
+
content: string;
|
|
870
869
|
confidence: number;
|
|
871
|
-
|
|
870
|
+
tags: string[];
|
|
872
871
|
entityRef?: string | null | undefined;
|
|
872
|
+
quote?: string | null | undefined;
|
|
873
873
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
874
874
|
scope?: "project" | "global" | null | undefined;
|
|
875
875
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -896,12 +896,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
896
896
|
eventTime?: string | null | undefined;
|
|
897
897
|
event_time?: string | null | undefined;
|
|
898
898
|
}, {
|
|
899
|
-
tags: string[];
|
|
900
|
-
content: string;
|
|
901
899
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
900
|
+
content: string;
|
|
902
901
|
confidence: number;
|
|
903
|
-
|
|
902
|
+
tags: string[];
|
|
904
903
|
entityRef?: string | null | undefined;
|
|
904
|
+
quote?: string | null | undefined;
|
|
905
905
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
906
906
|
scope?: "project" | "global" | null | undefined;
|
|
907
907
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -928,12 +928,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
928
928
|
eventTime?: string | null | undefined;
|
|
929
929
|
event_time?: string | null | undefined;
|
|
930
930
|
}>, {
|
|
931
|
-
tags: string[];
|
|
932
|
-
content: string;
|
|
933
931
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
932
|
+
content: string;
|
|
934
933
|
confidence: number;
|
|
935
|
-
|
|
934
|
+
tags: string[];
|
|
936
935
|
entityRef?: string | null | undefined;
|
|
936
|
+
quote?: string | null | undefined;
|
|
937
937
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
938
938
|
scope?: "project" | "global" | null | undefined;
|
|
939
939
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -960,12 +960,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
960
960
|
eventTime?: string | null | undefined;
|
|
961
961
|
event_time?: string | null | undefined;
|
|
962
962
|
}, {
|
|
963
|
-
tags: string[];
|
|
964
|
-
content: string;
|
|
965
963
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
964
|
+
content: string;
|
|
966
965
|
confidence: number;
|
|
967
|
-
|
|
966
|
+
tags: string[];
|
|
968
967
|
entityRef?: string | null | undefined;
|
|
968
|
+
quote?: string | null | undefined;
|
|
969
969
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
970
970
|
scope?: "project" | "global" | null | undefined;
|
|
971
971
|
promptedByQuestion?: 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
|
-
title: string;
|
|
1007
1006
|
key: string;
|
|
1007
|
+
title: string;
|
|
1008
1008
|
facts: string[];
|
|
1009
1009
|
}, {
|
|
1010
|
-
title: string;
|
|
1011
1010
|
key: string;
|
|
1011
|
+
title: 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
|
-
title: string;
|
|
1020
1019
|
key: string;
|
|
1020
|
+
title: 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
|
-
title: string;
|
|
1030
1029
|
key: string;
|
|
1030
|
+
title: string;
|
|
1031
1031
|
facts: string[];
|
|
1032
1032
|
}[] | null | undefined;
|
|
1033
1033
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1052,14 +1052,14 @@ 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;
|
|
1055
1056
|
source: string;
|
|
1056
1057
|
target: string;
|
|
1057
|
-
label: string;
|
|
1058
1058
|
promptedByQuestion?: string | null | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
+
label: string;
|
|
1060
1061
|
source: string;
|
|
1061
1062
|
target: string;
|
|
1062
|
-
label: string;
|
|
1063
1063
|
promptedByQuestion?: string | null | undefined;
|
|
1064
1064
|
}>, "many">>>;
|
|
1065
1065
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1069,12 +1069,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1069
1069
|
context: string;
|
|
1070
1070
|
}[];
|
|
1071
1071
|
facts: {
|
|
1072
|
-
tags: string[];
|
|
1073
|
-
content: string;
|
|
1074
1072
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1073
|
+
content: string;
|
|
1075
1074
|
confidence: number;
|
|
1076
|
-
|
|
1075
|
+
tags: string[];
|
|
1077
1076
|
entityRef?: string | null | undefined;
|
|
1077
|
+
quote?: string | null | undefined;
|
|
1078
1078
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1079
1079
|
scope?: "project" | "global" | null | undefined;
|
|
1080
1080
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1106,17 +1106,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1106
1106
|
name: string;
|
|
1107
1107
|
facts: string[];
|
|
1108
1108
|
structuredSections?: {
|
|
1109
|
-
title: string;
|
|
1110
1109
|
key: string;
|
|
1110
|
+
title: 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;
|
|
1117
1118
|
source: string;
|
|
1118
1119
|
target: string;
|
|
1119
|
-
label: string;
|
|
1120
1120
|
promptedByQuestion?: string | null | undefined;
|
|
1121
1121
|
}[] | null | undefined;
|
|
1122
1122
|
identityReflection?: string | null | undefined;
|
|
@@ -1127,12 +1127,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1127
1127
|
context: string;
|
|
1128
1128
|
}[];
|
|
1129
1129
|
facts: {
|
|
1130
|
-
tags: string[];
|
|
1131
|
-
content: string;
|
|
1132
1130
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1131
|
+
content: string;
|
|
1133
1132
|
confidence: number;
|
|
1134
|
-
|
|
1133
|
+
tags: string[];
|
|
1135
1134
|
entityRef?: string | null | undefined;
|
|
1135
|
+
quote?: string | null | undefined;
|
|
1136
1136
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1137
1137
|
scope?: "project" | "global" | null | undefined;
|
|
1138
1138
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1164,17 +1164,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1164
1164
|
name: string;
|
|
1165
1165
|
facts: string[];
|
|
1166
1166
|
structuredSections?: {
|
|
1167
|
-
title: string;
|
|
1168
1167
|
key: string;
|
|
1168
|
+
title: 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;
|
|
1175
1176
|
source: string;
|
|
1176
1177
|
target: string;
|
|
1177
|
-
label: string;
|
|
1178
1178
|
promptedByQuestion?: string | null | undefined;
|
|
1179
1179
|
}[] | null | undefined;
|
|
1180
1180
|
identityReflection?: string | 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
|
-
title: string;
|
|
1233
1232
|
key: string;
|
|
1233
|
+
title: string;
|
|
1234
1234
|
facts: string[];
|
|
1235
1235
|
}, {
|
|
1236
|
-
title: string;
|
|
1237
1236
|
key: string;
|
|
1237
|
+
title: 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
|
-
title: string;
|
|
1246
1245
|
key: string;
|
|
1246
|
+
title: 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
|
-
title: string;
|
|
1256
1255
|
key: string;
|
|
1256
|
+
title: 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
|
-
title: string;
|
|
1276
1275
|
key: string;
|
|
1276
|
+
title: 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
|
-
title: string;
|
|
1296
1295
|
key: string;
|
|
1296
|
+
title: 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
|
-
reasoning: string;
|
|
1346
1345
|
confidence: number;
|
|
1346
|
+
reasoning: string;
|
|
1347
1347
|
isContradiction: boolean;
|
|
1348
1348
|
whichIsNewer: "second" | "first" | "unclear";
|
|
1349
1349
|
}, {
|
|
1350
|
-
reasoning: string;
|
|
1351
1350
|
confidence: number;
|
|
1351
|
+
reasoning: string;
|
|
1352
1352
|
isContradiction: boolean;
|
|
1353
1353
|
whichIsNewer: "second" | "first" | "unclear";
|
|
1354
1354
|
}>;
|
|
@@ -18,29 +18,29 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
18
18
|
evidenceWindowEnd: z.ZodOptional<z.ZodString>;
|
|
19
19
|
refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
reason: string;
|
|
21
22
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
22
23
|
date: string;
|
|
23
|
-
reason: string;
|
|
24
24
|
agent: string;
|
|
25
|
-
|
|
25
|
+
severity?: "low" | "medium" | "high" | undefined;
|
|
26
|
+
confidence?: number | undefined;
|
|
26
27
|
tags?: string[] | undefined;
|
|
28
|
+
workflow?: string | undefined;
|
|
27
29
|
outcome?: string | undefined;
|
|
28
|
-
confidence?: number | undefined;
|
|
29
|
-
severity?: "high" | "low" | "medium" | undefined;
|
|
30
30
|
refs?: string[] | undefined;
|
|
31
31
|
learning?: string | undefined;
|
|
32
32
|
evidenceWindowStart?: string | undefined;
|
|
33
33
|
evidenceWindowEnd?: string | undefined;
|
|
34
34
|
}, {
|
|
35
|
+
reason: string;
|
|
35
36
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
36
37
|
date: string;
|
|
37
|
-
reason: string;
|
|
38
38
|
agent: string;
|
|
39
|
-
|
|
39
|
+
severity?: "low" | "medium" | "high" | undefined;
|
|
40
|
+
confidence?: number | undefined;
|
|
40
41
|
tags?: string[] | undefined;
|
|
42
|
+
workflow?: string | undefined;
|
|
41
43
|
outcome?: string | undefined;
|
|
42
|
-
confidence?: number | undefined;
|
|
43
|
-
severity?: "high" | "low" | "medium" | undefined;
|
|
44
44
|
refs?: string[] | undefined;
|
|
45
45
|
learning?: string | undefined;
|
|
46
46
|
evidenceWindowStart?: string | undefined;
|