@remnic/core 9.3.619 → 9.3.620
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-schema.d.ts +34 -34
- package/dist/schemas.d.ts +42 -42
- package/dist/shared-context/manager.d.ts +2 -2
- package/package.json +1 -1
package/dist/access-schema.d.ts
CHANGED
|
@@ -104,9 +104,9 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
104
104
|
includeLowConfidence: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
query: string;
|
|
107
|
-
namespace?: string | undefined;
|
|
108
107
|
sessionKey?: string | undefined;
|
|
109
108
|
tags?: string[] | undefined;
|
|
109
|
+
namespace?: string | undefined;
|
|
110
110
|
topK?: number | undefined;
|
|
111
111
|
mode?: "no_recall" | "minimal" | "full" | "graph_mode" | "auto" | undefined;
|
|
112
112
|
cwd?: string | undefined;
|
|
@@ -125,9 +125,9 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
125
125
|
tagMatch?: "all" | "any" | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
query: string;
|
|
128
|
-
namespace?: string | undefined;
|
|
129
128
|
sessionKey?: string | undefined;
|
|
130
129
|
tags?: string[] | undefined;
|
|
130
|
+
namespace?: string | undefined;
|
|
131
131
|
topK?: number | undefined;
|
|
132
132
|
mode?: "no_recall" | "minimal" | "full" | "graph_mode" | "auto" | undefined;
|
|
133
133
|
cwd?: string | undefined;
|
|
@@ -149,11 +149,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
|
|
|
149
149
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
150
150
|
namespace: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
namespace?: string | undefined;
|
|
153
152
|
sessionKey?: string | undefined;
|
|
154
|
-
}, {
|
|
155
153
|
namespace?: string | undefined;
|
|
154
|
+
}, {
|
|
156
155
|
sessionKey?: string | undefined;
|
|
156
|
+
namespace?: string | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
/**
|
|
159
159
|
* Standalone "set coding context" request. Used by the HTTP endpoint
|
|
@@ -365,30 +365,30 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
365
365
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
367
|
content: string;
|
|
368
|
-
namespace?: string | undefined;
|
|
369
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
370
|
-
confidence?: number | undefined;
|
|
371
|
-
ttl?: string | undefined;
|
|
372
368
|
schemaVersion?: number | undefined;
|
|
373
369
|
sessionKey?: string | undefined;
|
|
374
370
|
tags?: string[] | undefined;
|
|
375
371
|
dryRun?: boolean | undefined;
|
|
372
|
+
namespace?: string | undefined;
|
|
373
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
374
|
+
confidence?: number | undefined;
|
|
376
375
|
entityRef?: string | undefined;
|
|
376
|
+
ttl?: string | undefined;
|
|
377
377
|
sourceReason?: string | undefined;
|
|
378
378
|
cwd?: string | undefined;
|
|
379
379
|
idempotencyKey?: string | undefined;
|
|
380
380
|
projectTag?: string | undefined;
|
|
381
381
|
}, {
|
|
382
382
|
content: string;
|
|
383
|
-
namespace?: string | undefined;
|
|
384
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
385
|
-
confidence?: number | undefined;
|
|
386
|
-
ttl?: string | undefined;
|
|
387
383
|
schemaVersion?: number | undefined;
|
|
388
384
|
sessionKey?: string | undefined;
|
|
389
385
|
tags?: string[] | undefined;
|
|
390
386
|
dryRun?: boolean | undefined;
|
|
387
|
+
namespace?: string | undefined;
|
|
388
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
389
|
+
confidence?: number | undefined;
|
|
391
390
|
entityRef?: string | undefined;
|
|
391
|
+
ttl?: string | undefined;
|
|
392
392
|
sourceReason?: string | undefined;
|
|
393
393
|
cwd?: string | undefined;
|
|
394
394
|
idempotencyKey?: string | undefined;
|
|
@@ -411,30 +411,30 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
411
411
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
413
|
content: string;
|
|
414
|
-
namespace?: string | undefined;
|
|
415
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
416
|
-
confidence?: number | undefined;
|
|
417
|
-
ttl?: string | undefined;
|
|
418
414
|
schemaVersion?: number | undefined;
|
|
419
415
|
sessionKey?: string | undefined;
|
|
420
416
|
tags?: string[] | undefined;
|
|
421
417
|
dryRun?: boolean | undefined;
|
|
418
|
+
namespace?: string | undefined;
|
|
419
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
420
|
+
confidence?: number | undefined;
|
|
422
421
|
entityRef?: string | undefined;
|
|
422
|
+
ttl?: string | undefined;
|
|
423
423
|
sourceReason?: string | undefined;
|
|
424
424
|
cwd?: string | undefined;
|
|
425
425
|
idempotencyKey?: string | undefined;
|
|
426
426
|
projectTag?: string | undefined;
|
|
427
427
|
}, {
|
|
428
428
|
content: string;
|
|
429
|
-
namespace?: string | undefined;
|
|
430
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
431
|
-
confidence?: number | undefined;
|
|
432
|
-
ttl?: string | undefined;
|
|
433
429
|
schemaVersion?: number | undefined;
|
|
434
430
|
sessionKey?: string | undefined;
|
|
435
431
|
tags?: string[] | undefined;
|
|
436
432
|
dryRun?: boolean | undefined;
|
|
433
|
+
namespace?: string | undefined;
|
|
434
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
435
|
+
confidence?: number | undefined;
|
|
437
436
|
entityRef?: string | undefined;
|
|
437
|
+
ttl?: string | undefined;
|
|
438
438
|
sourceReason?: string | undefined;
|
|
439
439
|
cwd?: string | undefined;
|
|
440
440
|
idempotencyKey?: string | undefined;
|
|
@@ -468,18 +468,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
|
468
468
|
recordId: string;
|
|
469
469
|
targetZone: "working" | "trusted";
|
|
470
470
|
promotionReason: string;
|
|
471
|
-
namespace?: string | undefined;
|
|
472
471
|
recordedAt?: string | undefined;
|
|
473
472
|
summary?: string | undefined;
|
|
474
473
|
dryRun?: boolean | undefined;
|
|
474
|
+
namespace?: string | undefined;
|
|
475
475
|
}, {
|
|
476
476
|
recordId: string;
|
|
477
477
|
targetZone: "working" | "trusted";
|
|
478
478
|
promotionReason: string;
|
|
479
|
-
namespace?: string | undefined;
|
|
480
479
|
recordedAt?: string | undefined;
|
|
481
480
|
summary?: string | undefined;
|
|
482
481
|
dryRun?: boolean | undefined;
|
|
482
|
+
namespace?: string | undefined;
|
|
483
483
|
}>;
|
|
484
484
|
declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
485
485
|
scenario: z.ZodOptional<z.ZodString>;
|
|
@@ -487,14 +487,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
|
487
487
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
488
488
|
namespace: z.ZodOptional<z.ZodString>;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
-
namespace?: string | undefined;
|
|
491
490
|
recordedAt?: string | undefined;
|
|
492
491
|
dryRun?: boolean | undefined;
|
|
492
|
+
namespace?: string | undefined;
|
|
493
493
|
scenario?: string | undefined;
|
|
494
494
|
}, {
|
|
495
|
-
namespace?: string | undefined;
|
|
496
495
|
recordedAt?: string | undefined;
|
|
497
496
|
dryRun?: boolean | undefined;
|
|
497
|
+
namespace?: string | undefined;
|
|
498
498
|
scenario?: string | undefined;
|
|
499
499
|
}>;
|
|
500
500
|
declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
@@ -505,15 +505,15 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
|
505
505
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
507
|
query: string;
|
|
508
|
+
sessionKey?: string | undefined;
|
|
508
509
|
namespace?: string | undefined;
|
|
509
510
|
limit?: number | undefined;
|
|
510
|
-
sessionKey?: string | undefined;
|
|
511
511
|
sessionPrefix?: string | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
query: string;
|
|
514
|
+
sessionKey?: string | undefined;
|
|
514
515
|
namespace?: string | undefined;
|
|
515
516
|
limit?: number | undefined;
|
|
516
|
-
sessionKey?: string | undefined;
|
|
517
517
|
sessionPrefix?: string | undefined;
|
|
518
518
|
}>;
|
|
519
519
|
declare const lcmCompactionFlushRequestSchema: z.ZodObject<{
|
|
@@ -547,12 +547,12 @@ declare const daySummaryRequestSchema: z.ZodObject<{
|
|
|
547
547
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
548
548
|
namespace: z.ZodOptional<z.ZodString>;
|
|
549
549
|
}, "strip", z.ZodTypeAny, {
|
|
550
|
-
namespace?: string | undefined;
|
|
551
550
|
sessionKey?: string | undefined;
|
|
551
|
+
namespace?: string | undefined;
|
|
552
552
|
memories?: string | undefined;
|
|
553
553
|
}, {
|
|
554
|
-
namespace?: string | undefined;
|
|
555
554
|
sessionKey?: string | undefined;
|
|
555
|
+
namespace?: string | undefined;
|
|
556
556
|
memories?: string | undefined;
|
|
557
557
|
}>;
|
|
558
558
|
declare const capsuleExportRequestSchema: z.ZodObject<{
|
|
@@ -742,11 +742,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
742
742
|
safety: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["safe", "requires-review", "blocked"]>>>, NonNullable<"blocked" | "safe" | "requires-review"> | undefined, "blocked" | "safe" | "requires-review" | null | undefined>;
|
|
743
743
|
safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
744
744
|
}, "strict", z.ZodTypeAny, {
|
|
745
|
-
confidence?: number | undefined;
|
|
746
745
|
source?: string | undefined;
|
|
747
746
|
stale?: boolean | undefined;
|
|
748
747
|
created?: string | undefined;
|
|
749
748
|
updated?: string | undefined;
|
|
749
|
+
confidence?: number | undefined;
|
|
750
750
|
scope?: string | undefined;
|
|
751
751
|
retrievalReason?: string | undefined;
|
|
752
752
|
safety?: NonNullable<"blocked" | "safe" | "requires-review"> | undefined;
|
|
@@ -756,11 +756,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
756
756
|
safetyReasons?: string[] | undefined;
|
|
757
757
|
userContextScopes?: string[] | undefined;
|
|
758
758
|
}, {
|
|
759
|
-
confidence?: number | null | undefined;
|
|
760
759
|
source?: string | null | undefined;
|
|
761
760
|
stale?: boolean | null | undefined;
|
|
762
761
|
created?: string | null | undefined;
|
|
763
762
|
updated?: string | null | undefined;
|
|
763
|
+
confidence?: number | null | undefined;
|
|
764
764
|
scope?: string | null | undefined;
|
|
765
765
|
retrievalReason?: string | null | undefined;
|
|
766
766
|
safety?: "blocked" | "safe" | "requires-review" | null | undefined;
|
|
@@ -770,11 +770,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
770
770
|
safetyReasons?: string[] | null | undefined;
|
|
771
771
|
userContextScopes?: string[] | null | undefined;
|
|
772
772
|
}>, "many">>>, {
|
|
773
|
-
confidence?: number | undefined;
|
|
774
773
|
source?: string | undefined;
|
|
775
774
|
stale?: boolean | undefined;
|
|
776
775
|
created?: string | undefined;
|
|
777
776
|
updated?: string | undefined;
|
|
777
|
+
confidence?: number | undefined;
|
|
778
778
|
scope?: string | undefined;
|
|
779
779
|
retrievalReason?: string | undefined;
|
|
780
780
|
safety?: NonNullable<"blocked" | "safe" | "requires-review"> | undefined;
|
|
@@ -784,11 +784,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
784
784
|
safetyReasons?: string[] | undefined;
|
|
785
785
|
userContextScopes?: string[] | undefined;
|
|
786
786
|
}[] | undefined, {
|
|
787
|
-
confidence?: number | null | undefined;
|
|
788
787
|
source?: string | null | undefined;
|
|
789
788
|
stale?: boolean | null | undefined;
|
|
790
789
|
created?: string | null | undefined;
|
|
791
790
|
updated?: string | null | undefined;
|
|
791
|
+
confidence?: number | null | undefined;
|
|
792
792
|
scope?: string | null | undefined;
|
|
793
793
|
retrievalReason?: string | null | undefined;
|
|
794
794
|
safety?: "blocked" | "safe" | "requires-review" | null | undefined;
|
|
@@ -810,11 +810,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
810
810
|
matched?: boolean | undefined;
|
|
811
811
|
}[] | undefined;
|
|
812
812
|
retrievedMemories?: {
|
|
813
|
-
confidence?: number | undefined;
|
|
814
813
|
source?: string | undefined;
|
|
815
814
|
stale?: boolean | undefined;
|
|
816
815
|
created?: string | undefined;
|
|
817
816
|
updated?: string | undefined;
|
|
817
|
+
confidence?: number | undefined;
|
|
818
818
|
scope?: string | undefined;
|
|
819
819
|
retrievalReason?: string | undefined;
|
|
820
820
|
safety?: NonNullable<"blocked" | "safe" | "requires-review"> | undefined;
|
|
@@ -836,11 +836,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
836
836
|
matched?: boolean | null | undefined;
|
|
837
837
|
}[] | null | undefined;
|
|
838
838
|
retrievedMemories?: {
|
|
839
|
-
confidence?: number | null | undefined;
|
|
840
839
|
source?: string | null | undefined;
|
|
841
840
|
stale?: boolean | null | undefined;
|
|
842
841
|
created?: string | null | undefined;
|
|
843
842
|
updated?: string | null | undefined;
|
|
843
|
+
confidence?: number | null | undefined;
|
|
844
844
|
scope?: string | null | undefined;
|
|
845
845
|
retrievalReason?: string | null | undefined;
|
|
846
846
|
safety?: "blocked" | "safe" | "requires-review" | null | undefined;
|
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";
|
|
10
11
|
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";
|
|
15
16
|
confidence: number;
|
|
16
|
-
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
17
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
18
|
importance: number;
|
|
19
19
|
}>;
|
|
@@ -149,10 +149,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
149
|
observed_outcome?: string | null | undefined;
|
|
150
150
|
}>>>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
|
|
152
|
+
tags: string[];
|
|
153
153
|
content: string;
|
|
154
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
154
155
|
confidence: number;
|
|
155
|
-
tags: string[];
|
|
156
156
|
entityRef?: string | null | undefined;
|
|
157
157
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
158
158
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -178,10 +178,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
178
178
|
observed_outcome?: string | null | undefined;
|
|
179
179
|
} | null | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
|
|
181
|
+
tags: string[];
|
|
182
182
|
content: string;
|
|
183
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
183
184
|
confidence: number;
|
|
184
|
-
tags: string[];
|
|
185
185
|
entityRef?: string | null | undefined;
|
|
186
186
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
187
187
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -207,10 +207,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
207
|
observed_outcome?: string | null | undefined;
|
|
208
208
|
} | null | undefined;
|
|
209
209
|
}>, {
|
|
210
|
-
|
|
210
|
+
tags: string[];
|
|
211
211
|
content: string;
|
|
212
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
212
213
|
confidence: number;
|
|
213
|
-
tags: string[];
|
|
214
214
|
entityRef?: string | null | undefined;
|
|
215
215
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
216
216
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -236,10 +236,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
236
236
|
observed_outcome?: string | null | undefined;
|
|
237
237
|
} | null | undefined;
|
|
238
238
|
}, {
|
|
239
|
-
|
|
239
|
+
tags: string[];
|
|
240
240
|
content: string;
|
|
241
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
241
242
|
confidence: number;
|
|
242
|
-
tags: string[];
|
|
243
243
|
entityRef?: string | null | undefined;
|
|
244
244
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
245
245
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -457,10 +457,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
457
457
|
observed_outcome?: string | null | undefined;
|
|
458
458
|
}>>>;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
|
|
460
|
+
tags: string[];
|
|
461
461
|
content: string;
|
|
462
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
462
463
|
confidence: number;
|
|
463
|
-
tags: string[];
|
|
464
464
|
entityRef?: string | null | undefined;
|
|
465
465
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
466
466
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -486,10 +486,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
486
486
|
observed_outcome?: string | null | undefined;
|
|
487
487
|
} | null | undefined;
|
|
488
488
|
}, {
|
|
489
|
-
|
|
489
|
+
tags: string[];
|
|
490
490
|
content: string;
|
|
491
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
491
492
|
confidence: number;
|
|
492
|
-
tags: string[];
|
|
493
493
|
entityRef?: string | null | undefined;
|
|
494
494
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
495
495
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -515,10 +515,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
515
515
|
observed_outcome?: string | null | undefined;
|
|
516
516
|
} | null | undefined;
|
|
517
517
|
}>, {
|
|
518
|
-
|
|
518
|
+
tags: string[];
|
|
519
519
|
content: string;
|
|
520
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
520
521
|
confidence: number;
|
|
521
|
-
tags: string[];
|
|
522
522
|
entityRef?: string | null | undefined;
|
|
523
523
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
524
524
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -544,10 +544,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
544
544
|
observed_outcome?: string | null | undefined;
|
|
545
545
|
} | null | undefined;
|
|
546
546
|
}, {
|
|
547
|
-
|
|
547
|
+
tags: string[];
|
|
548
548
|
content: string;
|
|
549
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
549
550
|
confidence: number;
|
|
550
|
-
tags: string[];
|
|
551
551
|
entityRef?: string | null | undefined;
|
|
552
552
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
553
553
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -631,10 +631,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
631
631
|
}>, "many">>>;
|
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
|
633
633
|
facts: {
|
|
634
|
-
|
|
634
|
+
tags: string[];
|
|
635
635
|
content: string;
|
|
636
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
636
637
|
confidence: number;
|
|
637
|
-
tags: string[];
|
|
638
638
|
entityRef?: string | null | undefined;
|
|
639
639
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
640
640
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -680,10 +680,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
680
680
|
}[] | null | undefined;
|
|
681
681
|
}, {
|
|
682
682
|
facts: {
|
|
683
|
-
|
|
683
|
+
tags: string[];
|
|
684
684
|
content: string;
|
|
685
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
685
686
|
confidence: number;
|
|
686
|
-
tags: string[];
|
|
687
687
|
entityRef?: string | null | undefined;
|
|
688
688
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
689
689
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -825,10 +825,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
825
825
|
observed_outcome?: string | null | undefined;
|
|
826
826
|
}>>>;
|
|
827
827
|
}, "strip", z.ZodTypeAny, {
|
|
828
|
-
|
|
828
|
+
tags: string[];
|
|
829
829
|
content: string;
|
|
830
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
830
831
|
confidence: number;
|
|
831
|
-
tags: string[];
|
|
832
832
|
entityRef?: string | null | undefined;
|
|
833
833
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
834
834
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -854,10 +854,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
854
854
|
observed_outcome?: string | null | undefined;
|
|
855
855
|
} | null | undefined;
|
|
856
856
|
}, {
|
|
857
|
-
|
|
857
|
+
tags: string[];
|
|
858
858
|
content: string;
|
|
859
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
859
860
|
confidence: number;
|
|
860
|
-
tags: string[];
|
|
861
861
|
entityRef?: string | null | undefined;
|
|
862
862
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
863
863
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -883,10 +883,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
883
883
|
observed_outcome?: string | null | undefined;
|
|
884
884
|
} | null | undefined;
|
|
885
885
|
}>, {
|
|
886
|
-
|
|
886
|
+
tags: string[];
|
|
887
887
|
content: string;
|
|
888
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
888
889
|
confidence: number;
|
|
889
|
-
tags: string[];
|
|
890
890
|
entityRef?: string | null | undefined;
|
|
891
891
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
892
892
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -912,10 +912,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
912
912
|
observed_outcome?: string | null | undefined;
|
|
913
913
|
} | null | undefined;
|
|
914
914
|
}, {
|
|
915
|
-
|
|
915
|
+
tags: string[];
|
|
916
916
|
content: string;
|
|
917
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
917
918
|
confidence: number;
|
|
918
|
-
tags: string[];
|
|
919
919
|
entityRef?: string | null | undefined;
|
|
920
920
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
921
921
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1013,10 +1013,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1013
1013
|
}>, "many">>>;
|
|
1014
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1015
|
facts: {
|
|
1016
|
-
|
|
1016
|
+
tags: string[];
|
|
1017
1017
|
content: string;
|
|
1018
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1018
1019
|
confidence: number;
|
|
1019
|
-
tags: string[];
|
|
1020
1020
|
entityRef?: string | null | undefined;
|
|
1021
1021
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1022
1022
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1068,10 +1068,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1068
1068
|
identityReflection?: string | null | undefined;
|
|
1069
1069
|
}, {
|
|
1070
1070
|
facts: {
|
|
1071
|
-
|
|
1071
|
+
tags: string[];
|
|
1072
1072
|
content: string;
|
|
1073
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1073
1074
|
confidence: number;
|
|
1074
|
-
tags: string[];
|
|
1075
1075
|
entityRef?: string | null | undefined;
|
|
1076
1076
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1077
1077
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1285,13 +1285,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
|
|
|
1285
1285
|
reasoning: z.ZodString;
|
|
1286
1286
|
whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
|
|
1287
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1288
|
-
confidence: number;
|
|
1289
1288
|
reasoning: string;
|
|
1289
|
+
confidence: number;
|
|
1290
1290
|
isContradiction: boolean;
|
|
1291
1291
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1292
1292
|
}, {
|
|
1293
|
-
confidence: number;
|
|
1294
1293
|
reasoning: string;
|
|
1294
|
+
confidence: number;
|
|
1295
1295
|
isContradiction: boolean;
|
|
1296
1296
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1297
1297
|
}>;
|
|
@@ -1386,8 +1386,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1386
1386
|
reason: z.ZodString;
|
|
1387
1387
|
appliedAt: z.ZodString;
|
|
1388
1388
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
confidence: number;
|
|
1390
1389
|
reason: string;
|
|
1390
|
+
confidence: number;
|
|
1391
1391
|
parameter: string;
|
|
1392
1392
|
previousValue: number;
|
|
1393
1393
|
nextValue: number;
|
|
@@ -1395,8 +1395,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1395
1395
|
evidenceCount: number;
|
|
1396
1396
|
appliedAt: string;
|
|
1397
1397
|
}, {
|
|
1398
|
-
confidence: number;
|
|
1399
1398
|
reason: string;
|
|
1399
|
+
confidence: number;
|
|
1400
1400
|
parameter: string;
|
|
1401
1401
|
previousValue: number;
|
|
1402
1402
|
nextValue: number;
|
|
@@ -1420,8 +1420,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1420
1420
|
reason: z.ZodString;
|
|
1421
1421
|
appliedAt: z.ZodString;
|
|
1422
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1423
|
-
confidence: number;
|
|
1424
1423
|
reason: string;
|
|
1424
|
+
confidence: number;
|
|
1425
1425
|
parameter: string;
|
|
1426
1426
|
previousValue: number;
|
|
1427
1427
|
nextValue: number;
|
|
@@ -1429,8 +1429,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1429
1429
|
evidenceCount: number;
|
|
1430
1430
|
appliedAt: string;
|
|
1431
1431
|
}, {
|
|
1432
|
-
confidence: number;
|
|
1433
1432
|
reason: string;
|
|
1433
|
+
confidence: number;
|
|
1434
1434
|
parameter: string;
|
|
1435
1435
|
previousValue: number;
|
|
1436
1436
|
nextValue: number;
|
|
@@ -1447,8 +1447,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1447
1447
|
maxDeltaPerCycle: number;
|
|
1448
1448
|
protectedParams: string[];
|
|
1449
1449
|
adjustments: {
|
|
1450
|
-
confidence: number;
|
|
1451
1450
|
reason: string;
|
|
1451
|
+
confidence: number;
|
|
1452
1452
|
parameter: string;
|
|
1453
1453
|
previousValue: number;
|
|
1454
1454
|
nextValue: number;
|
|
@@ -1464,8 +1464,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1464
1464
|
maxDeltaPerCycle: number;
|
|
1465
1465
|
protectedParams: string[];
|
|
1466
1466
|
adjustments: {
|
|
1467
|
-
confidence: number;
|
|
1468
1467
|
reason: string;
|
|
1468
|
+
confidence: number;
|
|
1469
1469
|
parameter: string;
|
|
1470
1470
|
previousValue: number;
|
|
1471
1471
|
nextValue: number;
|
|
@@ -22,9 +22,9 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
22
22
|
agent: string;
|
|
23
23
|
date: string;
|
|
24
24
|
reason: string;
|
|
25
|
-
confidence?: number | undefined;
|
|
26
25
|
workflow?: string | undefined;
|
|
27
26
|
tags?: string[] | undefined;
|
|
27
|
+
confidence?: number | undefined;
|
|
28
28
|
severity?: "low" | "medium" | "high" | undefined;
|
|
29
29
|
outcome?: string | undefined;
|
|
30
30
|
refs?: string[] | undefined;
|
|
@@ -36,9 +36,9 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
36
36
|
agent: string;
|
|
37
37
|
date: string;
|
|
38
38
|
reason: string;
|
|
39
|
-
confidence?: number | undefined;
|
|
40
39
|
workflow?: string | undefined;
|
|
41
40
|
tags?: string[] | undefined;
|
|
41
|
+
confidence?: number | undefined;
|
|
42
42
|
severity?: "low" | "medium" | "high" | undefined;
|
|
43
43
|
outcome?: string | undefined;
|
|
44
44
|
refs?: string[] | undefined;
|
package/package.json
CHANGED