@agent-finops/core 0.9.3 → 0.9.4
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/actionVerification.d.ts +52 -52
- package/dist/activitySnapshot.d.ts +57 -57
- package/dist/agentEconomicsReceipt.d.ts +62 -62
- package/dist/modelPricing.d.ts +1 -1
- package/dist/modelPricing.js +24 -3
- package/dist/planMath.js +14 -2
- package/dist/projectIndexStore.d.ts +20 -20
- package/dist/qualitativeIndexCache.d.ts +20 -20
- package/package.json +1 -1
|
@@ -13,8 +13,8 @@ export declare const wasteFindingCaveatValues: readonly ["signal_not_cause", "no
|
|
|
13
13
|
export type WasteFindingCaveat = typeof wasteFindingCaveatValues[number];
|
|
14
14
|
export declare const actionVerificationEvidenceValues: readonly ["verified", "observed", "calculated", "user_declared", "modeled", "missing"];
|
|
15
15
|
export declare const actionVerificationEvidenceSchema: z.ZodEnum<{
|
|
16
|
-
verified: "verified";
|
|
17
16
|
missing: "missing";
|
|
17
|
+
verified: "verified";
|
|
18
18
|
observed: "observed";
|
|
19
19
|
calculated: "calculated";
|
|
20
20
|
user_declared: "user_declared";
|
|
@@ -55,12 +55,12 @@ declare const wasteFindingBodySchema: z.ZodObject<{
|
|
|
55
55
|
candidateAction: z.ZodObject<{
|
|
56
56
|
kind: z.ZodEnum<{
|
|
57
57
|
start_fresh: "start_fresh";
|
|
58
|
+
trim_context: "trim_context";
|
|
58
59
|
inspect_scope: "inspect_scope";
|
|
59
60
|
lazy_load: "lazy_load";
|
|
60
61
|
disable: "disable";
|
|
61
62
|
remove: "remove";
|
|
62
63
|
reduce_repeated_reads: "reduce_repeated_reads";
|
|
63
|
-
trim_context: "trim_context";
|
|
64
64
|
}>;
|
|
65
65
|
provider: z.ZodString;
|
|
66
66
|
surface: z.ZodEnum<{
|
|
@@ -95,9 +95,9 @@ declare const wasteFindingBodySchema: z.ZodObject<{
|
|
|
95
95
|
failed: "failed";
|
|
96
96
|
}>;
|
|
97
97
|
freshness: z.ZodEnum<{
|
|
98
|
-
fresh: "fresh";
|
|
99
|
-
stale: "stale";
|
|
100
98
|
not_checked: "not_checked";
|
|
99
|
+
stale: "stale";
|
|
100
|
+
fresh: "fresh";
|
|
101
101
|
}>;
|
|
102
102
|
}, z.core.$strict>;
|
|
103
103
|
metric: z.ZodObject<{
|
|
@@ -109,9 +109,9 @@ declare const wasteFindingBodySchema: z.ZodObject<{
|
|
|
109
109
|
configured_items: "configured_items";
|
|
110
110
|
}>;
|
|
111
111
|
unit: z.ZodEnum<{
|
|
112
|
-
items: "items";
|
|
113
112
|
tokens: "tokens";
|
|
114
113
|
events: "events";
|
|
114
|
+
items: "items";
|
|
115
115
|
ratio: "ratio";
|
|
116
116
|
}>;
|
|
117
117
|
value: z.ZodNullable<z.ZodNumber>;
|
|
@@ -156,12 +156,12 @@ declare const wasteFindingObjectSchema: z.ZodObject<{
|
|
|
156
156
|
candidateAction: z.ZodObject<{
|
|
157
157
|
kind: z.ZodEnum<{
|
|
158
158
|
start_fresh: "start_fresh";
|
|
159
|
+
trim_context: "trim_context";
|
|
159
160
|
inspect_scope: "inspect_scope";
|
|
160
161
|
lazy_load: "lazy_load";
|
|
161
162
|
disable: "disable";
|
|
162
163
|
remove: "remove";
|
|
163
164
|
reduce_repeated_reads: "reduce_repeated_reads";
|
|
164
|
-
trim_context: "trim_context";
|
|
165
165
|
}>;
|
|
166
166
|
provider: z.ZodString;
|
|
167
167
|
surface: z.ZodEnum<{
|
|
@@ -196,9 +196,9 @@ declare const wasteFindingObjectSchema: z.ZodObject<{
|
|
|
196
196
|
failed: "failed";
|
|
197
197
|
}>;
|
|
198
198
|
freshness: z.ZodEnum<{
|
|
199
|
-
fresh: "fresh";
|
|
200
|
-
stale: "stale";
|
|
201
199
|
not_checked: "not_checked";
|
|
200
|
+
stale: "stale";
|
|
201
|
+
fresh: "fresh";
|
|
202
202
|
}>;
|
|
203
203
|
}, z.core.$strict>;
|
|
204
204
|
metric: z.ZodObject<{
|
|
@@ -210,9 +210,9 @@ declare const wasteFindingObjectSchema: z.ZodObject<{
|
|
|
210
210
|
configured_items: "configured_items";
|
|
211
211
|
}>;
|
|
212
212
|
unit: z.ZodEnum<{
|
|
213
|
-
items: "items";
|
|
214
213
|
tokens: "tokens";
|
|
215
214
|
events: "events";
|
|
215
|
+
items: "items";
|
|
216
216
|
ratio: "ratio";
|
|
217
217
|
}>;
|
|
218
218
|
value: z.ZodNullable<z.ZodNumber>;
|
|
@@ -240,8 +240,8 @@ declare const tokenSessionSchema: z.ZodObject<{
|
|
|
240
240
|
model: z.ZodString;
|
|
241
241
|
projectRef: z.ZodOptional<z.ZodString>;
|
|
242
242
|
sessionType: z.ZodEnum<{
|
|
243
|
-
subagent: "subagent";
|
|
244
243
|
unknown: "unknown";
|
|
244
|
+
subagent: "subagent";
|
|
245
245
|
parent: "parent";
|
|
246
246
|
}>;
|
|
247
247
|
workTypeRef: z.ZodOptional<z.ZodString>;
|
|
@@ -277,9 +277,9 @@ declare const tokenSessionSchema: z.ZodObject<{
|
|
|
277
277
|
not_separately_reported: "not_separately_reported";
|
|
278
278
|
}>;
|
|
279
279
|
cacheWriteTokens: z.ZodEnum<{
|
|
280
|
+
partial: "partial";
|
|
280
281
|
observed: "observed";
|
|
281
282
|
not_separately_reported: "not_separately_reported";
|
|
282
|
-
partial: "partial";
|
|
283
283
|
}>;
|
|
284
284
|
toolTokens: z.ZodEnum<{
|
|
285
285
|
observed: "observed";
|
|
@@ -299,8 +299,8 @@ declare const tokenSessionSchema: z.ZodObject<{
|
|
|
299
299
|
calculated_partial: "calculated_partial";
|
|
300
300
|
}>;
|
|
301
301
|
reportedTotalTokens: z.ZodEnum<{
|
|
302
|
-
provider_reported: "provider_reported";
|
|
303
302
|
not_reported: "not_reported";
|
|
303
|
+
provider_reported: "provider_reported";
|
|
304
304
|
}>;
|
|
305
305
|
}, z.core.$strict>;
|
|
306
306
|
}, z.core.$strict>;
|
|
@@ -311,8 +311,8 @@ declare const tokenSessionSchema: z.ZodObject<{
|
|
|
311
311
|
passed: "passed";
|
|
312
312
|
}>;
|
|
313
313
|
evidence: z.ZodEnum<{
|
|
314
|
-
verified: "verified";
|
|
315
314
|
missing: "missing";
|
|
315
|
+
verified: "verified";
|
|
316
316
|
observed: "observed";
|
|
317
317
|
user_declared: "user_declared";
|
|
318
318
|
}>;
|
|
@@ -353,12 +353,12 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
353
353
|
candidateAction: z.ZodObject<{
|
|
354
354
|
kind: z.ZodEnum<{
|
|
355
355
|
start_fresh: "start_fresh";
|
|
356
|
+
trim_context: "trim_context";
|
|
356
357
|
inspect_scope: "inspect_scope";
|
|
357
358
|
lazy_load: "lazy_load";
|
|
358
359
|
disable: "disable";
|
|
359
360
|
remove: "remove";
|
|
360
361
|
reduce_repeated_reads: "reduce_repeated_reads";
|
|
361
|
-
trim_context: "trim_context";
|
|
362
362
|
}>;
|
|
363
363
|
provider: z.ZodString;
|
|
364
364
|
surface: z.ZodEnum<{
|
|
@@ -393,9 +393,9 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
393
393
|
failed: "failed";
|
|
394
394
|
}>;
|
|
395
395
|
freshness: z.ZodEnum<{
|
|
396
|
-
fresh: "fresh";
|
|
397
|
-
stale: "stale";
|
|
398
396
|
not_checked: "not_checked";
|
|
397
|
+
stale: "stale";
|
|
398
|
+
fresh: "fresh";
|
|
399
399
|
}>;
|
|
400
400
|
}, z.core.$strict>;
|
|
401
401
|
metric: z.ZodObject<{
|
|
@@ -407,9 +407,9 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
407
407
|
configured_items: "configured_items";
|
|
408
408
|
}>;
|
|
409
409
|
unit: z.ZodEnum<{
|
|
410
|
-
items: "items";
|
|
411
410
|
tokens: "tokens";
|
|
412
411
|
events: "events";
|
|
412
|
+
items: "items";
|
|
413
413
|
ratio: "ratio";
|
|
414
414
|
}>;
|
|
415
415
|
value: z.ZodNullable<z.ZodNumber>;
|
|
@@ -471,8 +471,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
471
471
|
model: z.ZodString;
|
|
472
472
|
projectRef: z.ZodOptional<z.ZodString>;
|
|
473
473
|
sessionType: z.ZodEnum<{
|
|
474
|
-
subagent: "subagent";
|
|
475
474
|
unknown: "unknown";
|
|
475
|
+
subagent: "subagent";
|
|
476
476
|
parent: "parent";
|
|
477
477
|
}>;
|
|
478
478
|
workTypeRef: z.ZodOptional<z.ZodString>;
|
|
@@ -508,9 +508,9 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
508
508
|
not_separately_reported: "not_separately_reported";
|
|
509
509
|
}>;
|
|
510
510
|
cacheWriteTokens: z.ZodEnum<{
|
|
511
|
+
partial: "partial";
|
|
511
512
|
observed: "observed";
|
|
512
513
|
not_separately_reported: "not_separately_reported";
|
|
513
|
-
partial: "partial";
|
|
514
514
|
}>;
|
|
515
515
|
toolTokens: z.ZodEnum<{
|
|
516
516
|
observed: "observed";
|
|
@@ -530,8 +530,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
530
530
|
calculated_partial: "calculated_partial";
|
|
531
531
|
}>;
|
|
532
532
|
reportedTotalTokens: z.ZodEnum<{
|
|
533
|
-
provider_reported: "provider_reported";
|
|
534
533
|
not_reported: "not_reported";
|
|
534
|
+
provider_reported: "provider_reported";
|
|
535
535
|
}>;
|
|
536
536
|
}, z.core.$strict>;
|
|
537
537
|
}, z.core.$strict>;
|
|
@@ -542,8 +542,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
542
542
|
passed: "passed";
|
|
543
543
|
}>;
|
|
544
544
|
evidence: z.ZodEnum<{
|
|
545
|
-
verified: "verified";
|
|
546
545
|
missing: "missing";
|
|
546
|
+
verified: "verified";
|
|
547
547
|
observed: "observed";
|
|
548
548
|
user_declared: "user_declared";
|
|
549
549
|
}>;
|
|
@@ -557,8 +557,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
557
557
|
explicit: "explicit";
|
|
558
558
|
}>;
|
|
559
559
|
evidence: z.ZodEnum<{
|
|
560
|
-
verified: "verified";
|
|
561
560
|
missing: "missing";
|
|
561
|
+
verified: "verified";
|
|
562
562
|
user_declared: "user_declared";
|
|
563
563
|
}>;
|
|
564
564
|
approvedAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -574,8 +574,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
574
574
|
passed: "passed";
|
|
575
575
|
}>;
|
|
576
576
|
evidence: z.ZodEnum<{
|
|
577
|
-
verified: "verified";
|
|
578
577
|
missing: "missing";
|
|
578
|
+
verified: "verified";
|
|
579
579
|
observed: "observed";
|
|
580
580
|
user_declared: "user_declared";
|
|
581
581
|
}>;
|
|
@@ -592,8 +592,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
592
592
|
model: z.ZodString;
|
|
593
593
|
projectRef: z.ZodOptional<z.ZodString>;
|
|
594
594
|
sessionType: z.ZodEnum<{
|
|
595
|
-
subagent: "subagent";
|
|
596
595
|
unknown: "unknown";
|
|
596
|
+
subagent: "subagent";
|
|
597
597
|
parent: "parent";
|
|
598
598
|
}>;
|
|
599
599
|
workTypeRef: z.ZodOptional<z.ZodString>;
|
|
@@ -629,9 +629,9 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
629
629
|
not_separately_reported: "not_separately_reported";
|
|
630
630
|
}>;
|
|
631
631
|
cacheWriteTokens: z.ZodEnum<{
|
|
632
|
+
partial: "partial";
|
|
632
633
|
observed: "observed";
|
|
633
634
|
not_separately_reported: "not_separately_reported";
|
|
634
|
-
partial: "partial";
|
|
635
635
|
}>;
|
|
636
636
|
toolTokens: z.ZodEnum<{
|
|
637
637
|
observed: "observed";
|
|
@@ -651,8 +651,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
651
651
|
calculated_partial: "calculated_partial";
|
|
652
652
|
}>;
|
|
653
653
|
reportedTotalTokens: z.ZodEnum<{
|
|
654
|
-
provider_reported: "provider_reported";
|
|
655
654
|
not_reported: "not_reported";
|
|
655
|
+
provider_reported: "provider_reported";
|
|
656
656
|
}>;
|
|
657
657
|
}, z.core.$strict>;
|
|
658
658
|
}, z.core.$strict>;
|
|
@@ -663,8 +663,8 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
663
663
|
passed: "passed";
|
|
664
664
|
}>;
|
|
665
665
|
evidence: z.ZodEnum<{
|
|
666
|
-
verified: "verified";
|
|
667
666
|
missing: "missing";
|
|
667
|
+
verified: "verified";
|
|
668
668
|
observed: "observed";
|
|
669
669
|
user_declared: "user_declared";
|
|
670
670
|
}>;
|
|
@@ -684,11 +684,11 @@ declare const experimentBodySchema: z.ZodObject<{
|
|
|
684
684
|
export type TokenReductionExperimentV0DraftInput = z.input<typeof experimentBodySchema>;
|
|
685
685
|
declare const evaluationSchema: z.ZodObject<{
|
|
686
686
|
status: z.ZodEnum<{
|
|
687
|
+
regressed: "regressed";
|
|
687
688
|
collecting: "collecting";
|
|
688
689
|
not_evaluated: "not_evaluated";
|
|
689
690
|
measured_token_reduction: "measured_token_reduction";
|
|
690
691
|
no_measured_change: "no_measured_change";
|
|
691
|
-
regressed: "regressed";
|
|
692
692
|
inconclusive: "inconclusive";
|
|
693
693
|
}>;
|
|
694
694
|
metricEvidence: z.ZodEnum<{
|
|
@@ -696,19 +696,19 @@ declare const evaluationSchema: z.ZodObject<{
|
|
|
696
696
|
calculated: "calculated";
|
|
697
697
|
}>;
|
|
698
698
|
matchingEvidence: z.ZodEnum<{
|
|
699
|
-
verified: "verified";
|
|
700
699
|
missing: "missing";
|
|
700
|
+
verified: "verified";
|
|
701
701
|
observed: "observed";
|
|
702
702
|
user_declared: "user_declared";
|
|
703
703
|
}>;
|
|
704
704
|
qualityStatus: z.ZodEnum<{
|
|
705
|
-
regressed: "regressed";
|
|
706
|
-
held: "held";
|
|
707
705
|
insufficient: "insufficient";
|
|
706
|
+
held: "held";
|
|
707
|
+
regressed: "regressed";
|
|
708
708
|
}>;
|
|
709
709
|
qualityEvidence: z.ZodEnum<{
|
|
710
|
-
verified: "verified";
|
|
711
710
|
missing: "missing";
|
|
711
|
+
verified: "verified";
|
|
712
712
|
observed: "observed";
|
|
713
713
|
user_declared: "user_declared";
|
|
714
714
|
}>;
|
|
@@ -795,12 +795,12 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
795
795
|
candidateAction: z.ZodObject<{
|
|
796
796
|
kind: z.ZodEnum<{
|
|
797
797
|
start_fresh: "start_fresh";
|
|
798
|
+
trim_context: "trim_context";
|
|
798
799
|
inspect_scope: "inspect_scope";
|
|
799
800
|
lazy_load: "lazy_load";
|
|
800
801
|
disable: "disable";
|
|
801
802
|
remove: "remove";
|
|
802
803
|
reduce_repeated_reads: "reduce_repeated_reads";
|
|
803
|
-
trim_context: "trim_context";
|
|
804
804
|
}>;
|
|
805
805
|
provider: z.ZodString;
|
|
806
806
|
surface: z.ZodEnum<{
|
|
@@ -835,9 +835,9 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
835
835
|
failed: "failed";
|
|
836
836
|
}>;
|
|
837
837
|
freshness: z.ZodEnum<{
|
|
838
|
-
fresh: "fresh";
|
|
839
|
-
stale: "stale";
|
|
840
838
|
not_checked: "not_checked";
|
|
839
|
+
stale: "stale";
|
|
840
|
+
fresh: "fresh";
|
|
841
841
|
}>;
|
|
842
842
|
}, z.core.$strict>;
|
|
843
843
|
metric: z.ZodObject<{
|
|
@@ -849,9 +849,9 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
849
849
|
configured_items: "configured_items";
|
|
850
850
|
}>;
|
|
851
851
|
unit: z.ZodEnum<{
|
|
852
|
-
items: "items";
|
|
853
852
|
tokens: "tokens";
|
|
854
853
|
events: "events";
|
|
854
|
+
items: "items";
|
|
855
855
|
ratio: "ratio";
|
|
856
856
|
}>;
|
|
857
857
|
value: z.ZodNullable<z.ZodNumber>;
|
|
@@ -913,8 +913,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
913
913
|
model: z.ZodString;
|
|
914
914
|
projectRef: z.ZodOptional<z.ZodString>;
|
|
915
915
|
sessionType: z.ZodEnum<{
|
|
916
|
-
subagent: "subagent";
|
|
917
916
|
unknown: "unknown";
|
|
917
|
+
subagent: "subagent";
|
|
918
918
|
parent: "parent";
|
|
919
919
|
}>;
|
|
920
920
|
workTypeRef: z.ZodOptional<z.ZodString>;
|
|
@@ -950,9 +950,9 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
950
950
|
not_separately_reported: "not_separately_reported";
|
|
951
951
|
}>;
|
|
952
952
|
cacheWriteTokens: z.ZodEnum<{
|
|
953
|
+
partial: "partial";
|
|
953
954
|
observed: "observed";
|
|
954
955
|
not_separately_reported: "not_separately_reported";
|
|
955
|
-
partial: "partial";
|
|
956
956
|
}>;
|
|
957
957
|
toolTokens: z.ZodEnum<{
|
|
958
958
|
observed: "observed";
|
|
@@ -972,8 +972,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
972
972
|
calculated_partial: "calculated_partial";
|
|
973
973
|
}>;
|
|
974
974
|
reportedTotalTokens: z.ZodEnum<{
|
|
975
|
-
provider_reported: "provider_reported";
|
|
976
975
|
not_reported: "not_reported";
|
|
976
|
+
provider_reported: "provider_reported";
|
|
977
977
|
}>;
|
|
978
978
|
}, z.core.$strict>;
|
|
979
979
|
}, z.core.$strict>;
|
|
@@ -984,8 +984,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
984
984
|
passed: "passed";
|
|
985
985
|
}>;
|
|
986
986
|
evidence: z.ZodEnum<{
|
|
987
|
-
verified: "verified";
|
|
988
987
|
missing: "missing";
|
|
988
|
+
verified: "verified";
|
|
989
989
|
observed: "observed";
|
|
990
990
|
user_declared: "user_declared";
|
|
991
991
|
}>;
|
|
@@ -999,8 +999,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
999
999
|
explicit: "explicit";
|
|
1000
1000
|
}>;
|
|
1001
1001
|
evidence: z.ZodEnum<{
|
|
1002
|
-
verified: "verified";
|
|
1003
1002
|
missing: "missing";
|
|
1003
|
+
verified: "verified";
|
|
1004
1004
|
user_declared: "user_declared";
|
|
1005
1005
|
}>;
|
|
1006
1006
|
approvedAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -1016,8 +1016,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1016
1016
|
passed: "passed";
|
|
1017
1017
|
}>;
|
|
1018
1018
|
evidence: z.ZodEnum<{
|
|
1019
|
-
verified: "verified";
|
|
1020
1019
|
missing: "missing";
|
|
1020
|
+
verified: "verified";
|
|
1021
1021
|
observed: "observed";
|
|
1022
1022
|
user_declared: "user_declared";
|
|
1023
1023
|
}>;
|
|
@@ -1034,8 +1034,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1034
1034
|
model: z.ZodString;
|
|
1035
1035
|
projectRef: z.ZodOptional<z.ZodString>;
|
|
1036
1036
|
sessionType: z.ZodEnum<{
|
|
1037
|
-
subagent: "subagent";
|
|
1038
1037
|
unknown: "unknown";
|
|
1038
|
+
subagent: "subagent";
|
|
1039
1039
|
parent: "parent";
|
|
1040
1040
|
}>;
|
|
1041
1041
|
workTypeRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1071,9 +1071,9 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1071
1071
|
not_separately_reported: "not_separately_reported";
|
|
1072
1072
|
}>;
|
|
1073
1073
|
cacheWriteTokens: z.ZodEnum<{
|
|
1074
|
+
partial: "partial";
|
|
1074
1075
|
observed: "observed";
|
|
1075
1076
|
not_separately_reported: "not_separately_reported";
|
|
1076
|
-
partial: "partial";
|
|
1077
1077
|
}>;
|
|
1078
1078
|
toolTokens: z.ZodEnum<{
|
|
1079
1079
|
observed: "observed";
|
|
@@ -1093,8 +1093,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1093
1093
|
calculated_partial: "calculated_partial";
|
|
1094
1094
|
}>;
|
|
1095
1095
|
reportedTotalTokens: z.ZodEnum<{
|
|
1096
|
-
provider_reported: "provider_reported";
|
|
1097
1096
|
not_reported: "not_reported";
|
|
1097
|
+
provider_reported: "provider_reported";
|
|
1098
1098
|
}>;
|
|
1099
1099
|
}, z.core.$strict>;
|
|
1100
1100
|
}, z.core.$strict>;
|
|
@@ -1105,8 +1105,8 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1105
1105
|
passed: "passed";
|
|
1106
1106
|
}>;
|
|
1107
1107
|
evidence: z.ZodEnum<{
|
|
1108
|
-
verified: "verified";
|
|
1109
1108
|
missing: "missing";
|
|
1109
|
+
verified: "verified";
|
|
1110
1110
|
observed: "observed";
|
|
1111
1111
|
user_declared: "user_declared";
|
|
1112
1112
|
}>;
|
|
@@ -1126,20 +1126,20 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1126
1126
|
revisionId: z.ZodString;
|
|
1127
1127
|
lifecycle: z.ZodEnum<{
|
|
1128
1128
|
complete: "complete";
|
|
1129
|
+
rolled_back: "rolled_back";
|
|
1129
1130
|
draft: "draft";
|
|
1130
1131
|
baseline_ready: "baseline_ready";
|
|
1131
1132
|
applied: "applied";
|
|
1132
1133
|
collecting: "collecting";
|
|
1133
|
-
rolled_back: "rolled_back";
|
|
1134
1134
|
invalidated: "invalidated";
|
|
1135
1135
|
}>;
|
|
1136
1136
|
evaluation: z.ZodObject<{
|
|
1137
1137
|
status: z.ZodEnum<{
|
|
1138
|
+
regressed: "regressed";
|
|
1138
1139
|
collecting: "collecting";
|
|
1139
1140
|
not_evaluated: "not_evaluated";
|
|
1140
1141
|
measured_token_reduction: "measured_token_reduction";
|
|
1141
1142
|
no_measured_change: "no_measured_change";
|
|
1142
|
-
regressed: "regressed";
|
|
1143
1143
|
inconclusive: "inconclusive";
|
|
1144
1144
|
}>;
|
|
1145
1145
|
metricEvidence: z.ZodEnum<{
|
|
@@ -1147,19 +1147,19 @@ declare const experimentObjectSchema: z.ZodObject<{
|
|
|
1147
1147
|
calculated: "calculated";
|
|
1148
1148
|
}>;
|
|
1149
1149
|
matchingEvidence: z.ZodEnum<{
|
|
1150
|
-
verified: "verified";
|
|
1151
1150
|
missing: "missing";
|
|
1151
|
+
verified: "verified";
|
|
1152
1152
|
observed: "observed";
|
|
1153
1153
|
user_declared: "user_declared";
|
|
1154
1154
|
}>;
|
|
1155
1155
|
qualityStatus: z.ZodEnum<{
|
|
1156
|
-
regressed: "regressed";
|
|
1157
|
-
held: "held";
|
|
1158
1156
|
insufficient: "insufficient";
|
|
1157
|
+
held: "held";
|
|
1158
|
+
regressed: "regressed";
|
|
1159
1159
|
}>;
|
|
1160
1160
|
qualityEvidence: z.ZodEnum<{
|
|
1161
|
-
verified: "verified";
|
|
1162
1161
|
missing: "missing";
|
|
1162
|
+
verified: "verified";
|
|
1163
1163
|
observed: "observed";
|
|
1164
1164
|
user_declared: "user_declared";
|
|
1165
1165
|
}>;
|