@remnic/core 9.45.2 → 9.45.3
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/{chunk-4L6HUREQ.js → chunk-HZFHQ4AQ.js} +1 -1
- package/dist/chunk-HZFHQ4AQ.js.map +1 -0
- package/dist/index.d.ts +386 -386
- package/dist/reconcile/manifest.js +1 -1
- package/dist/reconcile/plan.d.ts +2 -1
- package/dist/reconcile/plan.js +1 -1
- package/dist/schemas.d.ts +54 -54
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/converge-conflict-policy-type.test.ts +15 -0
- package/src/reconcile/plan.ts +1 -0
- package/dist/chunk-4L6HUREQ.js.map +0 -1
package/dist/reconcile/plan.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import '../bounded-jsonl-state.js';
|
|
|
5
5
|
import '../operator-doctor-types.js';
|
|
6
6
|
import '../types-continuity.js';
|
|
7
7
|
|
|
8
|
+
type ReconcileConflictPolicy = ConvergeConflictPolicy;
|
|
8
9
|
/**
|
|
9
10
|
* Bootstrap reconciliation planner for two peer daemons whose corpora have
|
|
10
11
|
* already diverged (issue #2150).
|
|
@@ -183,4 +184,4 @@ declare function summarizeReconcilePlan(entries: readonly ReconcilePlanEntry[]):
|
|
|
183
184
|
*/
|
|
184
185
|
declare function planReconciliation(namespaces: readonly ReconcileNamespaceInput[], options?: ReconcileOptions): ReconcilePlan;
|
|
185
186
|
|
|
186
|
-
export { type ReconcileAction, type ReconcileFileState, type ReconcileNamespaceInput, type ReconcileNamespaceReport, type ReconcileOptions, type ReconcilePlan, type ReconcilePlanEntry, ReconcilePlanInputError, type ReconcileReason, type ReconcileResolution, type ReconcileSemanticAgreement, type ReconcileSemanticChange, type ReconcileSemanticFileState, planNamespaceReconciliation, planReconciliation, summarizeReconcilePlan };
|
|
187
|
+
export { type ReconcileAction, type ReconcileConflictPolicy, type ReconcileFileState, type ReconcileNamespaceInput, type ReconcileNamespaceReport, type ReconcileOptions, type ReconcilePlan, type ReconcilePlanEntry, ReconcilePlanInputError, type ReconcileReason, type ReconcileResolution, type ReconcileSemanticAgreement, type ReconcileSemanticChange, type ReconcileSemanticFileState, planNamespaceReconciliation, planReconciliation, summarizeReconcilePlan };
|
package/dist/reconcile/plan.js
CHANGED
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;
|
|
@@ -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;
|
|
369
368
|
source: string;
|
|
370
369
|
target: string;
|
|
370
|
+
label: string;
|
|
371
371
|
promptedByQuestion?: string | null | undefined;
|
|
372
372
|
}, {
|
|
373
|
-
label: string;
|
|
374
373
|
source: string;
|
|
375
374
|
target: string;
|
|
375
|
+
label: string;
|
|
376
376
|
promptedByQuestion?: string | null | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
@@ -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;
|
|
@@ -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;
|
|
654
653
|
target: string;
|
|
654
|
+
label: string;
|
|
655
655
|
promptedByQuestion?: string | null | undefined;
|
|
656
656
|
}, {
|
|
657
|
-
label: string;
|
|
658
657
|
source: string;
|
|
659
658
|
target: string;
|
|
659
|
+
label: 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;
|
|
@@ -706,17 +706,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
706
706
|
}[];
|
|
707
707
|
profileUpdates: string[];
|
|
708
708
|
relationships?: {
|
|
709
|
-
label: string;
|
|
710
709
|
source: string;
|
|
711
710
|
target: string;
|
|
711
|
+
label: 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;
|
|
@@ -758,9 +758,9 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
758
758
|
}[];
|
|
759
759
|
profileUpdates: string[];
|
|
760
760
|
relationships?: {
|
|
761
|
-
label: string;
|
|
762
761
|
source: string;
|
|
763
762
|
target: string;
|
|
763
|
+
label: string;
|
|
764
764
|
promptedByQuestion?: string | null | undefined;
|
|
765
765
|
}[] | null | undefined;
|
|
766
766
|
}>;
|
|
@@ -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;
|
|
@@ -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;
|
|
1056
1055
|
source: string;
|
|
1057
1056
|
target: string;
|
|
1057
|
+
label: string;
|
|
1058
1058
|
promptedByQuestion?: string | null | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
-
label: string;
|
|
1061
1060
|
source: string;
|
|
1062
1061
|
target: string;
|
|
1062
|
+
label: string;
|
|
1063
1063
|
promptedByQuestion?: string | null | undefined;
|
|
1064
1064
|
}>, "many">>>;
|
|
1065
1065
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -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;
|
|
@@ -1114,9 +1114,9 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1114
1114
|
}[];
|
|
1115
1115
|
profileUpdates: string[];
|
|
1116
1116
|
relationships?: {
|
|
1117
|
-
label: string;
|
|
1118
1117
|
source: string;
|
|
1119
1118
|
target: string;
|
|
1119
|
+
label: string;
|
|
1120
1120
|
promptedByQuestion?: string | null | undefined;
|
|
1121
1121
|
}[] | null | undefined;
|
|
1122
1122
|
identityReflection?: string | 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;
|
|
@@ -1172,9 +1172,9 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1172
1172
|
}[];
|
|
1173
1173
|
profileUpdates: string[];
|
|
1174
1174
|
relationships?: {
|
|
1175
|
-
label: string;
|
|
1176
1175
|
source: string;
|
|
1177
1176
|
target: string;
|
|
1177
|
+
label: string;
|
|
1178
1178
|
promptedByQuestion?: string | null | undefined;
|
|
1179
1179
|
}[] | null | undefined;
|
|
1180
1180
|
identityReflection?: 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;
|
|
@@ -20,28 +20,28 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
20
20
|
evidenceWindowEnd: z.ZodOptional<z.ZodString>;
|
|
21
21
|
refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
reason: string;
|
|
24
23
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
24
|
+
reason: string;
|
|
25
25
|
agent: string;
|
|
26
26
|
date: string;
|
|
27
|
-
severity?: "low" | "medium" | "high" | undefined;
|
|
28
|
-
confidence?: number | undefined;
|
|
29
|
-
tags?: string[] | undefined;
|
|
30
27
|
workflow?: string | undefined;
|
|
28
|
+
tags?: string[] | undefined;
|
|
29
|
+
confidence?: number | undefined;
|
|
30
|
+
severity?: "high" | "low" | "medium" | undefined;
|
|
31
31
|
outcome?: string | undefined;
|
|
32
32
|
refs?: string[] | undefined;
|
|
33
33
|
learning?: string | undefined;
|
|
34
34
|
evidenceWindowStart?: string | undefined;
|
|
35
35
|
evidenceWindowEnd?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
reason: string;
|
|
38
37
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
38
|
+
reason: string;
|
|
39
39
|
agent: string;
|
|
40
40
|
date: string;
|
|
41
|
-
severity?: "low" | "medium" | "high" | undefined;
|
|
42
|
-
confidence?: number | undefined;
|
|
43
|
-
tags?: string[] | undefined;
|
|
44
41
|
workflow?: string | undefined;
|
|
42
|
+
tags?: string[] | undefined;
|
|
43
|
+
confidence?: number | undefined;
|
|
44
|
+
severity?: "high" | "low" | "medium" | undefined;
|
|
45
45
|
outcome?: string | undefined;
|
|
46
46
|
refs?: string[] | undefined;
|
|
47
47
|
learning?: string | undefined;
|