@holonograph/client 0.2.0 → 0.3.0
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/index.d.ts +321 -152
- package/dist/index.js +689 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1778,19 +1778,19 @@ declare const SubstrateSnapshotSchema: ZodObject<{
|
|
|
1778
1778
|
|
|
1779
1779
|
columns: ZodRecord<ZodString, ZodString>;
|
|
1780
1780
|
}, "strip", ZodTypeAny$1, {
|
|
1781
|
-
provenance: "
|
|
1781
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
1782
1782
|
timestamp: string;
|
|
1783
1783
|
lensVersion: string;
|
|
1784
1784
|
lightSourceIdentifier: string;
|
|
1785
|
-
runMode: "
|
|
1785
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
1786
1786
|
correlationId: string;
|
|
1787
1787
|
columns: Record<string, string>;
|
|
1788
1788
|
}, {
|
|
1789
|
-
provenance: "
|
|
1789
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
1790
1790
|
timestamp: string;
|
|
1791
1791
|
lensVersion: string;
|
|
1792
1792
|
lightSourceIdentifier: string;
|
|
1793
|
-
runMode: "
|
|
1793
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
1794
1794
|
correlationId: string;
|
|
1795
1795
|
columns: Record<string, string>;
|
|
1796
1796
|
}>;
|
|
@@ -1894,10 +1894,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1894
1894
|
} | undefined;
|
|
1895
1895
|
}>>;
|
|
1896
1896
|
}, "strip", ZodTypeAny$1, {
|
|
1897
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
1897
1898
|
enabled: boolean;
|
|
1898
1899
|
passThreshold: number;
|
|
1899
1900
|
failureAction: "retry" | "flag" | "block";
|
|
1900
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1901
1901
|
retry?: {
|
|
1902
1902
|
maxAttempts: number;
|
|
1903
1903
|
augmentPrompt?: string | undefined;
|
|
@@ -1919,6 +1919,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1919
1919
|
}, {
|
|
1920
1920
|
passThreshold: number;
|
|
1921
1921
|
failureAction: "retry" | "flag" | "block";
|
|
1922
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
1922
1923
|
retry?: {
|
|
1923
1924
|
maxAttempts: number;
|
|
1924
1925
|
augmentPrompt?: string | undefined;
|
|
@@ -1938,12 +1939,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1938
1939
|
} | undefined;
|
|
1939
1940
|
} | undefined;
|
|
1940
1941
|
enabled?: boolean | undefined;
|
|
1941
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1942
1942
|
}>, {
|
|
1943
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
1943
1944
|
enabled: boolean;
|
|
1944
1945
|
passThreshold: number;
|
|
1945
1946
|
failureAction: "retry" | "flag" | "block";
|
|
1946
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1947
1947
|
retry?: {
|
|
1948
1948
|
maxAttempts: number;
|
|
1949
1949
|
augmentPrompt?: string | undefined;
|
|
@@ -1965,6 +1965,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1965
1965
|
}, {
|
|
1966
1966
|
passThreshold: number;
|
|
1967
1967
|
failureAction: "retry" | "flag" | "block";
|
|
1968
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
1968
1969
|
retry?: {
|
|
1969
1970
|
maxAttempts: number;
|
|
1970
1971
|
augmentPrompt?: string | undefined;
|
|
@@ -1984,12 +1985,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1984
1985
|
} | undefined;
|
|
1985
1986
|
} | undefined;
|
|
1986
1987
|
enabled?: boolean | undefined;
|
|
1987
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1988
1988
|
}>, {
|
|
1989
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
1989
1990
|
enabled: boolean;
|
|
1990
1991
|
passThreshold: number;
|
|
1991
1992
|
failureAction: "retry" | "flag" | "block";
|
|
1992
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1993
1993
|
retry?: {
|
|
1994
1994
|
maxAttempts: number;
|
|
1995
1995
|
augmentPrompt?: string | undefined;
|
|
@@ -2011,6 +2011,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2011
2011
|
}, {
|
|
2012
2012
|
passThreshold: number;
|
|
2013
2013
|
failureAction: "retry" | "flag" | "block";
|
|
2014
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2014
2015
|
retry?: {
|
|
2015
2016
|
maxAttempts: number;
|
|
2016
2017
|
augmentPrompt?: string | undefined;
|
|
@@ -2030,7 +2031,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2030
2031
|
} | undefined;
|
|
2031
2032
|
} | undefined;
|
|
2032
2033
|
enabled?: boolean | undefined;
|
|
2033
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2034
2034
|
}>>;
|
|
2035
2035
|
|
|
2036
2036
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -2050,10 +2050,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2050
2050
|
passThreshold?: number | undefined;
|
|
2051
2051
|
rubricRef?: string | undefined;
|
|
2052
2052
|
gatePolicy?: {
|
|
2053
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2053
2054
|
enabled: boolean;
|
|
2054
2055
|
passThreshold: number;
|
|
2055
2056
|
failureAction: "retry" | "flag" | "block";
|
|
2056
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2057
2057
|
retry?: {
|
|
2058
2058
|
maxAttempts: number;
|
|
2059
2059
|
augmentPrompt?: string | undefined;
|
|
@@ -2086,6 +2086,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2086
2086
|
gatePolicy?: {
|
|
2087
2087
|
passThreshold: number;
|
|
2088
2088
|
failureAction: "retry" | "flag" | "block";
|
|
2089
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2089
2090
|
retry?: {
|
|
2090
2091
|
maxAttempts: number;
|
|
2091
2092
|
augmentPrompt?: string | undefined;
|
|
@@ -2105,7 +2106,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2105
2106
|
} | undefined;
|
|
2106
2107
|
} | undefined;
|
|
2107
2108
|
enabled?: boolean | undefined;
|
|
2108
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2109
2109
|
} | undefined;
|
|
2110
2110
|
valueDomain?: {
|
|
2111
2111
|
values: string[];
|
|
@@ -2250,10 +2250,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2250
2250
|
passThreshold?: number | undefined;
|
|
2251
2251
|
rubricRef?: string | undefined;
|
|
2252
2252
|
gatePolicy?: {
|
|
2253
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2253
2254
|
enabled: boolean;
|
|
2254
2255
|
passThreshold: number;
|
|
2255
2256
|
failureAction: "retry" | "flag" | "block";
|
|
2256
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2257
2257
|
retry?: {
|
|
2258
2258
|
maxAttempts: number;
|
|
2259
2259
|
augmentPrompt?: string | undefined;
|
|
@@ -2322,6 +2322,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2322
2322
|
gatePolicy?: {
|
|
2323
2323
|
passThreshold: number;
|
|
2324
2324
|
failureAction: "retry" | "flag" | "block";
|
|
2325
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2325
2326
|
retry?: {
|
|
2326
2327
|
maxAttempts: number;
|
|
2327
2328
|
augmentPrompt?: string | undefined;
|
|
@@ -2341,7 +2342,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2341
2342
|
} | undefined;
|
|
2342
2343
|
} | undefined;
|
|
2343
2344
|
enabled?: boolean | undefined;
|
|
2344
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2345
2345
|
} | undefined;
|
|
2346
2346
|
valueDomain?: {
|
|
2347
2347
|
values: string[];
|
|
@@ -2391,11 +2391,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2391
2391
|
}, "strip", ZodTypeAny$1, {
|
|
2392
2392
|
surfaceId: string;
|
|
2393
2393
|
lightSourceId: string | readonly string[];
|
|
2394
|
-
activeRunModes?: ("
|
|
2394
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2395
2395
|
}, {
|
|
2396
2396
|
surfaceId: string;
|
|
2397
2397
|
lightSourceId: string | readonly string[];
|
|
2398
|
-
activeRunModes?: ("
|
|
2398
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2399
2399
|
}>, "many">>;
|
|
2400
2400
|
|
|
2401
2401
|
pricing: ZodOptional$1<ZodRecord<ZodString, ZodObject<{
|
|
@@ -2513,10 +2513,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2513
2513
|
} | undefined;
|
|
2514
2514
|
}>>;
|
|
2515
2515
|
}, "strip", ZodTypeAny$1, {
|
|
2516
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2516
2517
|
enabled: boolean;
|
|
2517
2518
|
passThreshold: number;
|
|
2518
2519
|
failureAction: "retry" | "flag" | "block";
|
|
2519
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2520
2520
|
retry?: {
|
|
2521
2521
|
maxAttempts: number;
|
|
2522
2522
|
augmentPrompt?: string | undefined;
|
|
@@ -2538,6 +2538,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2538
2538
|
}, {
|
|
2539
2539
|
passThreshold: number;
|
|
2540
2540
|
failureAction: "retry" | "flag" | "block";
|
|
2541
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2541
2542
|
retry?: {
|
|
2542
2543
|
maxAttempts: number;
|
|
2543
2544
|
augmentPrompt?: string | undefined;
|
|
@@ -2557,12 +2558,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2557
2558
|
} | undefined;
|
|
2558
2559
|
} | undefined;
|
|
2559
2560
|
enabled?: boolean | undefined;
|
|
2560
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2561
2561
|
}>, {
|
|
2562
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2562
2563
|
enabled: boolean;
|
|
2563
2564
|
passThreshold: number;
|
|
2564
2565
|
failureAction: "retry" | "flag" | "block";
|
|
2565
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2566
2566
|
retry?: {
|
|
2567
2567
|
maxAttempts: number;
|
|
2568
2568
|
augmentPrompt?: string | undefined;
|
|
@@ -2584,6 +2584,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2584
2584
|
}, {
|
|
2585
2585
|
passThreshold: number;
|
|
2586
2586
|
failureAction: "retry" | "flag" | "block";
|
|
2587
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2587
2588
|
retry?: {
|
|
2588
2589
|
maxAttempts: number;
|
|
2589
2590
|
augmentPrompt?: string | undefined;
|
|
@@ -2603,12 +2604,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2603
2604
|
} | undefined;
|
|
2604
2605
|
} | undefined;
|
|
2605
2606
|
enabled?: boolean | undefined;
|
|
2606
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2607
2607
|
}>, {
|
|
2608
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2608
2609
|
enabled: boolean;
|
|
2609
2610
|
passThreshold: number;
|
|
2610
2611
|
failureAction: "retry" | "flag" | "block";
|
|
2611
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2612
2612
|
retry?: {
|
|
2613
2613
|
maxAttempts: number;
|
|
2614
2614
|
augmentPrompt?: string | undefined;
|
|
@@ -2630,6 +2630,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2630
2630
|
}, {
|
|
2631
2631
|
passThreshold: number;
|
|
2632
2632
|
failureAction: "retry" | "flag" | "block";
|
|
2633
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2633
2634
|
retry?: {
|
|
2634
2635
|
maxAttempts: number;
|
|
2635
2636
|
augmentPrompt?: string | undefined;
|
|
@@ -2649,7 +2650,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2649
2650
|
} | undefined;
|
|
2650
2651
|
} | undefined;
|
|
2651
2652
|
enabled?: boolean | undefined;
|
|
2652
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2653
2653
|
}>>;
|
|
2654
2654
|
|
|
2655
2655
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -2669,10 +2669,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2669
2669
|
passThreshold?: number | undefined;
|
|
2670
2670
|
rubricRef?: string | undefined;
|
|
2671
2671
|
gatePolicy?: {
|
|
2672
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2672
2673
|
enabled: boolean;
|
|
2673
2674
|
passThreshold: number;
|
|
2674
2675
|
failureAction: "retry" | "flag" | "block";
|
|
2675
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2676
2676
|
retry?: {
|
|
2677
2677
|
maxAttempts: number;
|
|
2678
2678
|
augmentPrompt?: string | undefined;
|
|
@@ -2705,6 +2705,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2705
2705
|
gatePolicy?: {
|
|
2706
2706
|
passThreshold: number;
|
|
2707
2707
|
failureAction: "retry" | "flag" | "block";
|
|
2708
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2708
2709
|
retry?: {
|
|
2709
2710
|
maxAttempts: number;
|
|
2710
2711
|
augmentPrompt?: string | undefined;
|
|
@@ -2724,7 +2725,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2724
2725
|
} | undefined;
|
|
2725
2726
|
} | undefined;
|
|
2726
2727
|
enabled?: boolean | undefined;
|
|
2727
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2728
2728
|
} | undefined;
|
|
2729
2729
|
valueDomain?: {
|
|
2730
2730
|
values: string[];
|
|
@@ -2734,7 +2734,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2734
2734
|
}, "strip", ZodTypeAny$1, {
|
|
2735
2735
|
surfaceId: string;
|
|
2736
2736
|
lightSourceId: string | readonly string[];
|
|
2737
|
-
activeRunModes?: ("
|
|
2737
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2738
2738
|
dimensions?: {
|
|
2739
2739
|
id: string;
|
|
2740
2740
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -2742,10 +2742,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2742
2742
|
passThreshold?: number | undefined;
|
|
2743
2743
|
rubricRef?: string | undefined;
|
|
2744
2744
|
gatePolicy?: {
|
|
2745
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2745
2746
|
enabled: boolean;
|
|
2746
2747
|
passThreshold: number;
|
|
2747
2748
|
failureAction: "retry" | "flag" | "block";
|
|
2748
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2749
2749
|
retry?: {
|
|
2750
2750
|
maxAttempts: number;
|
|
2751
2751
|
augmentPrompt?: string | undefined;
|
|
@@ -2773,7 +2773,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2773
2773
|
}, {
|
|
2774
2774
|
surfaceId: string;
|
|
2775
2775
|
lightSourceId: string | readonly string[];
|
|
2776
|
-
activeRunModes?: ("
|
|
2776
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2777
2777
|
dimensions?: {
|
|
2778
2778
|
id: string;
|
|
2779
2779
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -2783,6 +2783,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2783
2783
|
gatePolicy?: {
|
|
2784
2784
|
passThreshold: number;
|
|
2785
2785
|
failureAction: "retry" | "flag" | "block";
|
|
2786
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2786
2787
|
retry?: {
|
|
2787
2788
|
maxAttempts: number;
|
|
2788
2789
|
augmentPrompt?: string | undefined;
|
|
@@ -2802,7 +2803,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2802
2803
|
} | undefined;
|
|
2803
2804
|
} | undefined;
|
|
2804
2805
|
enabled?: boolean | undefined;
|
|
2805
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2806
2806
|
} | undefined;
|
|
2807
2807
|
valueDomain?: {
|
|
2808
2808
|
values: string[];
|
|
@@ -2903,10 +2903,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2903
2903
|
} | undefined;
|
|
2904
2904
|
}>>;
|
|
2905
2905
|
}, "strip", ZodTypeAny$1, {
|
|
2906
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2906
2907
|
enabled: boolean;
|
|
2907
2908
|
passThreshold: number;
|
|
2908
2909
|
failureAction: "retry" | "flag" | "block";
|
|
2909
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2910
2910
|
retry?: {
|
|
2911
2911
|
maxAttempts: number;
|
|
2912
2912
|
augmentPrompt?: string | undefined;
|
|
@@ -2928,6 +2928,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2928
2928
|
}, {
|
|
2929
2929
|
passThreshold: number;
|
|
2930
2930
|
failureAction: "retry" | "flag" | "block";
|
|
2931
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2931
2932
|
retry?: {
|
|
2932
2933
|
maxAttempts: number;
|
|
2933
2934
|
augmentPrompt?: string | undefined;
|
|
@@ -2947,12 +2948,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2947
2948
|
} | undefined;
|
|
2948
2949
|
} | undefined;
|
|
2949
2950
|
enabled?: boolean | undefined;
|
|
2950
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2951
2951
|
}>, {
|
|
2952
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2952
2953
|
enabled: boolean;
|
|
2953
2954
|
passThreshold: number;
|
|
2954
2955
|
failureAction: "retry" | "flag" | "block";
|
|
2955
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2956
2956
|
retry?: {
|
|
2957
2957
|
maxAttempts: number;
|
|
2958
2958
|
augmentPrompt?: string | undefined;
|
|
@@ -2974,6 +2974,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2974
2974
|
}, {
|
|
2975
2975
|
passThreshold: number;
|
|
2976
2976
|
failureAction: "retry" | "flag" | "block";
|
|
2977
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2977
2978
|
retry?: {
|
|
2978
2979
|
maxAttempts: number;
|
|
2979
2980
|
augmentPrompt?: string | undefined;
|
|
@@ -2993,12 +2994,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2993
2994
|
} | undefined;
|
|
2994
2995
|
} | undefined;
|
|
2995
2996
|
enabled?: boolean | undefined;
|
|
2996
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2997
2997
|
}>, {
|
|
2998
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2998
2999
|
enabled: boolean;
|
|
2999
3000
|
passThreshold: number;
|
|
3000
3001
|
failureAction: "retry" | "flag" | "block";
|
|
3001
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3002
3002
|
retry?: {
|
|
3003
3003
|
maxAttempts: number;
|
|
3004
3004
|
augmentPrompt?: string | undefined;
|
|
@@ -3020,6 +3020,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3020
3020
|
}, {
|
|
3021
3021
|
passThreshold: number;
|
|
3022
3022
|
failureAction: "retry" | "flag" | "block";
|
|
3023
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3023
3024
|
retry?: {
|
|
3024
3025
|
maxAttempts: number;
|
|
3025
3026
|
augmentPrompt?: string | undefined;
|
|
@@ -3039,7 +3040,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3039
3040
|
} | undefined;
|
|
3040
3041
|
} | undefined;
|
|
3041
3042
|
enabled?: boolean | undefined;
|
|
3042
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3043
3043
|
}>>;
|
|
3044
3044
|
|
|
3045
3045
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -3059,10 +3059,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3059
3059
|
passThreshold?: number | undefined;
|
|
3060
3060
|
rubricRef?: string | undefined;
|
|
3061
3061
|
gatePolicy?: {
|
|
3062
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3062
3063
|
enabled: boolean;
|
|
3063
3064
|
passThreshold: number;
|
|
3064
3065
|
failureAction: "retry" | "flag" | "block";
|
|
3065
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3066
3066
|
retry?: {
|
|
3067
3067
|
maxAttempts: number;
|
|
3068
3068
|
augmentPrompt?: string | undefined;
|
|
@@ -3095,6 +3095,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3095
3095
|
gatePolicy?: {
|
|
3096
3096
|
passThreshold: number;
|
|
3097
3097
|
failureAction: "retry" | "flag" | "block";
|
|
3098
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3098
3099
|
retry?: {
|
|
3099
3100
|
maxAttempts: number;
|
|
3100
3101
|
augmentPrompt?: string | undefined;
|
|
@@ -3114,7 +3115,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3114
3115
|
} | undefined;
|
|
3115
3116
|
} | undefined;
|
|
3116
3117
|
enabled?: boolean | undefined;
|
|
3117
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3118
3118
|
} | undefined;
|
|
3119
3119
|
valueDomain?: {
|
|
3120
3120
|
values: string[];
|
|
@@ -3124,7 +3124,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3124
3124
|
}, "strip", ZodTypeAny$1, {
|
|
3125
3125
|
surfaceId: string;
|
|
3126
3126
|
lightSourceId: string | readonly string[];
|
|
3127
|
-
activeRunModes?: ("
|
|
3127
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3128
3128
|
dimensions?: {
|
|
3129
3129
|
id: string;
|
|
3130
3130
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3132,10 +3132,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3132
3132
|
passThreshold?: number | undefined;
|
|
3133
3133
|
rubricRef?: string | undefined;
|
|
3134
3134
|
gatePolicy?: {
|
|
3135
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3135
3136
|
enabled: boolean;
|
|
3136
3137
|
passThreshold: number;
|
|
3137
3138
|
failureAction: "retry" | "flag" | "block";
|
|
3138
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3139
3139
|
retry?: {
|
|
3140
3140
|
maxAttempts: number;
|
|
3141
3141
|
augmentPrompt?: string | undefined;
|
|
@@ -3163,7 +3163,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3163
3163
|
}, {
|
|
3164
3164
|
surfaceId: string;
|
|
3165
3165
|
lightSourceId: string | readonly string[];
|
|
3166
|
-
activeRunModes?: ("
|
|
3166
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3167
3167
|
dimensions?: {
|
|
3168
3168
|
id: string;
|
|
3169
3169
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3173,6 +3173,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3173
3173
|
gatePolicy?: {
|
|
3174
3174
|
passThreshold: number;
|
|
3175
3175
|
failureAction: "retry" | "flag" | "block";
|
|
3176
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3176
3177
|
retry?: {
|
|
3177
3178
|
maxAttempts: number;
|
|
3178
3179
|
augmentPrompt?: string | undefined;
|
|
@@ -3192,7 +3193,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3192
3193
|
} | undefined;
|
|
3193
3194
|
} | undefined;
|
|
3194
3195
|
enabled?: boolean | undefined;
|
|
3195
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3196
3196
|
} | undefined;
|
|
3197
3197
|
valueDomain?: {
|
|
3198
3198
|
values: string[];
|
|
@@ -3293,10 +3293,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3293
3293
|
} | undefined;
|
|
3294
3294
|
}>>;
|
|
3295
3295
|
}, "strip", ZodTypeAny$1, {
|
|
3296
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3296
3297
|
enabled: boolean;
|
|
3297
3298
|
passThreshold: number;
|
|
3298
3299
|
failureAction: "retry" | "flag" | "block";
|
|
3299
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3300
3300
|
retry?: {
|
|
3301
3301
|
maxAttempts: number;
|
|
3302
3302
|
augmentPrompt?: string | undefined;
|
|
@@ -3318,6 +3318,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3318
3318
|
}, {
|
|
3319
3319
|
passThreshold: number;
|
|
3320
3320
|
failureAction: "retry" | "flag" | "block";
|
|
3321
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3321
3322
|
retry?: {
|
|
3322
3323
|
maxAttempts: number;
|
|
3323
3324
|
augmentPrompt?: string | undefined;
|
|
@@ -3337,12 +3338,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3337
3338
|
} | undefined;
|
|
3338
3339
|
} | undefined;
|
|
3339
3340
|
enabled?: boolean | undefined;
|
|
3340
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3341
3341
|
}>, {
|
|
3342
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3342
3343
|
enabled: boolean;
|
|
3343
3344
|
passThreshold: number;
|
|
3344
3345
|
failureAction: "retry" | "flag" | "block";
|
|
3345
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3346
3346
|
retry?: {
|
|
3347
3347
|
maxAttempts: number;
|
|
3348
3348
|
augmentPrompt?: string | undefined;
|
|
@@ -3364,6 +3364,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3364
3364
|
}, {
|
|
3365
3365
|
passThreshold: number;
|
|
3366
3366
|
failureAction: "retry" | "flag" | "block";
|
|
3367
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3367
3368
|
retry?: {
|
|
3368
3369
|
maxAttempts: number;
|
|
3369
3370
|
augmentPrompt?: string | undefined;
|
|
@@ -3383,12 +3384,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3383
3384
|
} | undefined;
|
|
3384
3385
|
} | undefined;
|
|
3385
3386
|
enabled?: boolean | undefined;
|
|
3386
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3387
3387
|
}>, {
|
|
3388
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3388
3389
|
enabled: boolean;
|
|
3389
3390
|
passThreshold: number;
|
|
3390
3391
|
failureAction: "retry" | "flag" | "block";
|
|
3391
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3392
3392
|
retry?: {
|
|
3393
3393
|
maxAttempts: number;
|
|
3394
3394
|
augmentPrompt?: string | undefined;
|
|
@@ -3410,6 +3410,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3410
3410
|
}, {
|
|
3411
3411
|
passThreshold: number;
|
|
3412
3412
|
failureAction: "retry" | "flag" | "block";
|
|
3413
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3413
3414
|
retry?: {
|
|
3414
3415
|
maxAttempts: number;
|
|
3415
3416
|
augmentPrompt?: string | undefined;
|
|
@@ -3429,7 +3430,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3429
3430
|
} | undefined;
|
|
3430
3431
|
} | undefined;
|
|
3431
3432
|
enabled?: boolean | undefined;
|
|
3432
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3433
3433
|
}>>;
|
|
3434
3434
|
|
|
3435
3435
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -3449,10 +3449,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3449
3449
|
passThreshold?: number | undefined;
|
|
3450
3450
|
rubricRef?: string | undefined;
|
|
3451
3451
|
gatePolicy?: {
|
|
3452
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3452
3453
|
enabled: boolean;
|
|
3453
3454
|
passThreshold: number;
|
|
3454
3455
|
failureAction: "retry" | "flag" | "block";
|
|
3455
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3456
3456
|
retry?: {
|
|
3457
3457
|
maxAttempts: number;
|
|
3458
3458
|
augmentPrompt?: string | undefined;
|
|
@@ -3485,6 +3485,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3485
3485
|
gatePolicy?: {
|
|
3486
3486
|
passThreshold: number;
|
|
3487
3487
|
failureAction: "retry" | "flag" | "block";
|
|
3488
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3488
3489
|
retry?: {
|
|
3489
3490
|
maxAttempts: number;
|
|
3490
3491
|
augmentPrompt?: string | undefined;
|
|
@@ -3504,7 +3505,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3504
3505
|
} | undefined;
|
|
3505
3506
|
} | undefined;
|
|
3506
3507
|
enabled?: boolean | undefined;
|
|
3507
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3508
3508
|
} | undefined;
|
|
3509
3509
|
valueDomain?: {
|
|
3510
3510
|
values: string[];
|
|
@@ -3514,7 +3514,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3514
3514
|
}, "strip", ZodTypeAny$1, {
|
|
3515
3515
|
surfaceId: string;
|
|
3516
3516
|
lightSourceId: string | readonly string[];
|
|
3517
|
-
activeRunModes?: ("
|
|
3517
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3518
3518
|
dimensions?: {
|
|
3519
3519
|
id: string;
|
|
3520
3520
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3522,10 +3522,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3522
3522
|
passThreshold?: number | undefined;
|
|
3523
3523
|
rubricRef?: string | undefined;
|
|
3524
3524
|
gatePolicy?: {
|
|
3525
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3525
3526
|
enabled: boolean;
|
|
3526
3527
|
passThreshold: number;
|
|
3527
3528
|
failureAction: "retry" | "flag" | "block";
|
|
3528
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3529
3529
|
retry?: {
|
|
3530
3530
|
maxAttempts: number;
|
|
3531
3531
|
augmentPrompt?: string | undefined;
|
|
@@ -3553,7 +3553,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3553
3553
|
}, {
|
|
3554
3554
|
surfaceId: string;
|
|
3555
3555
|
lightSourceId: string | readonly string[];
|
|
3556
|
-
activeRunModes?: ("
|
|
3556
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3557
3557
|
dimensions?: {
|
|
3558
3558
|
id: string;
|
|
3559
3559
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3563,6 +3563,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3563
3563
|
gatePolicy?: {
|
|
3564
3564
|
passThreshold: number;
|
|
3565
3565
|
failureAction: "retry" | "flag" | "block";
|
|
3566
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3566
3567
|
retry?: {
|
|
3567
3568
|
maxAttempts: number;
|
|
3568
3569
|
augmentPrompt?: string | undefined;
|
|
@@ -3582,7 +3583,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3582
3583
|
} | undefined;
|
|
3583
3584
|
} | undefined;
|
|
3584
3585
|
enabled?: boolean | undefined;
|
|
3585
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3586
3586
|
} | undefined;
|
|
3587
3587
|
valueDomain?: {
|
|
3588
3588
|
values: string[];
|
|
@@ -3683,10 +3683,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3683
3683
|
} | undefined;
|
|
3684
3684
|
}>>;
|
|
3685
3685
|
}, "strip", ZodTypeAny$1, {
|
|
3686
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3686
3687
|
enabled: boolean;
|
|
3687
3688
|
passThreshold: number;
|
|
3688
3689
|
failureAction: "retry" | "flag" | "block";
|
|
3689
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3690
3690
|
retry?: {
|
|
3691
3691
|
maxAttempts: number;
|
|
3692
3692
|
augmentPrompt?: string | undefined;
|
|
@@ -3708,6 +3708,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3708
3708
|
}, {
|
|
3709
3709
|
passThreshold: number;
|
|
3710
3710
|
failureAction: "retry" | "flag" | "block";
|
|
3711
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3711
3712
|
retry?: {
|
|
3712
3713
|
maxAttempts: number;
|
|
3713
3714
|
augmentPrompt?: string | undefined;
|
|
@@ -3727,12 +3728,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3727
3728
|
} | undefined;
|
|
3728
3729
|
} | undefined;
|
|
3729
3730
|
enabled?: boolean | undefined;
|
|
3730
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3731
3731
|
}>, {
|
|
3732
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3732
3733
|
enabled: boolean;
|
|
3733
3734
|
passThreshold: number;
|
|
3734
3735
|
failureAction: "retry" | "flag" | "block";
|
|
3735
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3736
3736
|
retry?: {
|
|
3737
3737
|
maxAttempts: number;
|
|
3738
3738
|
augmentPrompt?: string | undefined;
|
|
@@ -3754,6 +3754,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3754
3754
|
}, {
|
|
3755
3755
|
passThreshold: number;
|
|
3756
3756
|
failureAction: "retry" | "flag" | "block";
|
|
3757
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3757
3758
|
retry?: {
|
|
3758
3759
|
maxAttempts: number;
|
|
3759
3760
|
augmentPrompt?: string | undefined;
|
|
@@ -3773,12 +3774,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3773
3774
|
} | undefined;
|
|
3774
3775
|
} | undefined;
|
|
3775
3776
|
enabled?: boolean | undefined;
|
|
3776
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3777
3777
|
}>, {
|
|
3778
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3778
3779
|
enabled: boolean;
|
|
3779
3780
|
passThreshold: number;
|
|
3780
3781
|
failureAction: "retry" | "flag" | "block";
|
|
3781
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3782
3782
|
retry?: {
|
|
3783
3783
|
maxAttempts: number;
|
|
3784
3784
|
augmentPrompt?: string | undefined;
|
|
@@ -3800,6 +3800,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3800
3800
|
}, {
|
|
3801
3801
|
passThreshold: number;
|
|
3802
3802
|
failureAction: "retry" | "flag" | "block";
|
|
3803
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3803
3804
|
retry?: {
|
|
3804
3805
|
maxAttempts: number;
|
|
3805
3806
|
augmentPrompt?: string | undefined;
|
|
@@ -3819,7 +3820,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3819
3820
|
} | undefined;
|
|
3820
3821
|
} | undefined;
|
|
3821
3822
|
enabled?: boolean | undefined;
|
|
3822
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3823
3823
|
}>>;
|
|
3824
3824
|
|
|
3825
3825
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -3839,10 +3839,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3839
3839
|
passThreshold?: number | undefined;
|
|
3840
3840
|
rubricRef?: string | undefined;
|
|
3841
3841
|
gatePolicy?: {
|
|
3842
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3842
3843
|
enabled: boolean;
|
|
3843
3844
|
passThreshold: number;
|
|
3844
3845
|
failureAction: "retry" | "flag" | "block";
|
|
3845
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3846
3846
|
retry?: {
|
|
3847
3847
|
maxAttempts: number;
|
|
3848
3848
|
augmentPrompt?: string | undefined;
|
|
@@ -3875,6 +3875,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3875
3875
|
gatePolicy?: {
|
|
3876
3876
|
passThreshold: number;
|
|
3877
3877
|
failureAction: "retry" | "flag" | "block";
|
|
3878
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3878
3879
|
retry?: {
|
|
3879
3880
|
maxAttempts: number;
|
|
3880
3881
|
augmentPrompt?: string | undefined;
|
|
@@ -3894,7 +3895,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3894
3895
|
} | undefined;
|
|
3895
3896
|
} | undefined;
|
|
3896
3897
|
enabled?: boolean | undefined;
|
|
3897
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3898
3898
|
} | undefined;
|
|
3899
3899
|
valueDomain?: {
|
|
3900
3900
|
values: string[];
|
|
@@ -3904,7 +3904,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3904
3904
|
}, "strip", ZodTypeAny$1, {
|
|
3905
3905
|
surfaceId: string;
|
|
3906
3906
|
lightSourceId: string | readonly string[];
|
|
3907
|
-
activeRunModes?: ("
|
|
3907
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3908
3908
|
dimensions?: {
|
|
3909
3909
|
id: string;
|
|
3910
3910
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3912,10 +3912,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3912
3912
|
passThreshold?: number | undefined;
|
|
3913
3913
|
rubricRef?: string | undefined;
|
|
3914
3914
|
gatePolicy?: {
|
|
3915
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3915
3916
|
enabled: boolean;
|
|
3916
3917
|
passThreshold: number;
|
|
3917
3918
|
failureAction: "retry" | "flag" | "block";
|
|
3918
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3919
3919
|
retry?: {
|
|
3920
3920
|
maxAttempts: number;
|
|
3921
3921
|
augmentPrompt?: string | undefined;
|
|
@@ -3943,7 +3943,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3943
3943
|
}, {
|
|
3944
3944
|
surfaceId: string;
|
|
3945
3945
|
lightSourceId: string | readonly string[];
|
|
3946
|
-
activeRunModes?: ("
|
|
3946
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3947
3947
|
dimensions?: {
|
|
3948
3948
|
id: string;
|
|
3949
3949
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3953,6 +3953,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3953
3953
|
gatePolicy?: {
|
|
3954
3954
|
passThreshold: number;
|
|
3955
3955
|
failureAction: "retry" | "flag" | "block";
|
|
3956
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3956
3957
|
retry?: {
|
|
3957
3958
|
maxAttempts: number;
|
|
3958
3959
|
augmentPrompt?: string | undefined;
|
|
@@ -3972,7 +3973,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3972
3973
|
} | undefined;
|
|
3973
3974
|
} | undefined;
|
|
3974
3975
|
enabled?: boolean | undefined;
|
|
3975
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3976
3976
|
} | undefined;
|
|
3977
3977
|
valueDomain?: {
|
|
3978
3978
|
values: string[];
|
|
@@ -4073,10 +4073,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4073
4073
|
} | undefined;
|
|
4074
4074
|
}>>;
|
|
4075
4075
|
}, "strip", ZodTypeAny$1, {
|
|
4076
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4076
4077
|
enabled: boolean;
|
|
4077
4078
|
passThreshold: number;
|
|
4078
4079
|
failureAction: "retry" | "flag" | "block";
|
|
4079
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4080
4080
|
retry?: {
|
|
4081
4081
|
maxAttempts: number;
|
|
4082
4082
|
augmentPrompt?: string | undefined;
|
|
@@ -4098,6 +4098,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4098
4098
|
}, {
|
|
4099
4099
|
passThreshold: number;
|
|
4100
4100
|
failureAction: "retry" | "flag" | "block";
|
|
4101
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4101
4102
|
retry?: {
|
|
4102
4103
|
maxAttempts: number;
|
|
4103
4104
|
augmentPrompt?: string | undefined;
|
|
@@ -4117,12 +4118,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4117
4118
|
} | undefined;
|
|
4118
4119
|
} | undefined;
|
|
4119
4120
|
enabled?: boolean | undefined;
|
|
4120
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4121
4121
|
}>, {
|
|
4122
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4122
4123
|
enabled: boolean;
|
|
4123
4124
|
passThreshold: number;
|
|
4124
4125
|
failureAction: "retry" | "flag" | "block";
|
|
4125
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4126
4126
|
retry?: {
|
|
4127
4127
|
maxAttempts: number;
|
|
4128
4128
|
augmentPrompt?: string | undefined;
|
|
@@ -4144,6 +4144,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4144
4144
|
}, {
|
|
4145
4145
|
passThreshold: number;
|
|
4146
4146
|
failureAction: "retry" | "flag" | "block";
|
|
4147
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4147
4148
|
retry?: {
|
|
4148
4149
|
maxAttempts: number;
|
|
4149
4150
|
augmentPrompt?: string | undefined;
|
|
@@ -4163,12 +4164,11 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4163
4164
|
} | undefined;
|
|
4164
4165
|
} | undefined;
|
|
4165
4166
|
enabled?: boolean | undefined;
|
|
4166
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4167
4167
|
}>, {
|
|
4168
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4168
4169
|
enabled: boolean;
|
|
4169
4170
|
passThreshold: number;
|
|
4170
4171
|
failureAction: "retry" | "flag" | "block";
|
|
4171
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4172
4172
|
retry?: {
|
|
4173
4173
|
maxAttempts: number;
|
|
4174
4174
|
augmentPrompt?: string | undefined;
|
|
@@ -4190,6 +4190,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4190
4190
|
}, {
|
|
4191
4191
|
passThreshold: number;
|
|
4192
4192
|
failureAction: "retry" | "flag" | "block";
|
|
4193
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4193
4194
|
retry?: {
|
|
4194
4195
|
maxAttempts: number;
|
|
4195
4196
|
augmentPrompt?: string | undefined;
|
|
@@ -4209,7 +4210,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4209
4210
|
} | undefined;
|
|
4210
4211
|
} | undefined;
|
|
4211
4212
|
enabled?: boolean | undefined;
|
|
4212
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4213
4213
|
}>>;
|
|
4214
4214
|
|
|
4215
4215
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -4229,10 +4229,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4229
4229
|
passThreshold?: number | undefined;
|
|
4230
4230
|
rubricRef?: string | undefined;
|
|
4231
4231
|
gatePolicy?: {
|
|
4232
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4232
4233
|
enabled: boolean;
|
|
4233
4234
|
passThreshold: number;
|
|
4234
4235
|
failureAction: "retry" | "flag" | "block";
|
|
4235
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4236
4236
|
retry?: {
|
|
4237
4237
|
maxAttempts: number;
|
|
4238
4238
|
augmentPrompt?: string | undefined;
|
|
@@ -4265,6 +4265,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4265
4265
|
gatePolicy?: {
|
|
4266
4266
|
passThreshold: number;
|
|
4267
4267
|
failureAction: "retry" | "flag" | "block";
|
|
4268
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4268
4269
|
retry?: {
|
|
4269
4270
|
maxAttempts: number;
|
|
4270
4271
|
augmentPrompt?: string | undefined;
|
|
@@ -4284,7 +4285,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4284
4285
|
} | undefined;
|
|
4285
4286
|
} | undefined;
|
|
4286
4287
|
enabled?: boolean | undefined;
|
|
4287
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4288
4288
|
} | undefined;
|
|
4289
4289
|
valueDomain?: {
|
|
4290
4290
|
values: string[];
|
|
@@ -4294,7 +4294,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4294
4294
|
}, "strip", ZodTypeAny$1, {
|
|
4295
4295
|
surfaceId: string;
|
|
4296
4296
|
lightSourceId: string | readonly string[];
|
|
4297
|
-
activeRunModes?: ("
|
|
4297
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4298
4298
|
dimensions?: {
|
|
4299
4299
|
id: string;
|
|
4300
4300
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4302,10 +4302,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4302
4302
|
passThreshold?: number | undefined;
|
|
4303
4303
|
rubricRef?: string | undefined;
|
|
4304
4304
|
gatePolicy?: {
|
|
4305
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4305
4306
|
enabled: boolean;
|
|
4306
4307
|
passThreshold: number;
|
|
4307
4308
|
failureAction: "retry" | "flag" | "block";
|
|
4308
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4309
4309
|
retry?: {
|
|
4310
4310
|
maxAttempts: number;
|
|
4311
4311
|
augmentPrompt?: string | undefined;
|
|
@@ -4333,7 +4333,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4333
4333
|
}, {
|
|
4334
4334
|
surfaceId: string;
|
|
4335
4335
|
lightSourceId: string | readonly string[];
|
|
4336
|
-
activeRunModes?: ("
|
|
4336
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4337
4337
|
dimensions?: {
|
|
4338
4338
|
id: string;
|
|
4339
4339
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4343,6 +4343,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4343
4343
|
gatePolicy?: {
|
|
4344
4344
|
passThreshold: number;
|
|
4345
4345
|
failureAction: "retry" | "flag" | "block";
|
|
4346
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4346
4347
|
retry?: {
|
|
4347
4348
|
maxAttempts: number;
|
|
4348
4349
|
augmentPrompt?: string | undefined;
|
|
@@ -4362,7 +4363,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4362
4363
|
} | undefined;
|
|
4363
4364
|
} | undefined;
|
|
4364
4365
|
enabled?: boolean | undefined;
|
|
4365
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4366
4366
|
} | undefined;
|
|
4367
4367
|
valueDomain?: {
|
|
4368
4368
|
values: string[];
|
|
@@ -4374,7 +4374,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4374
4374
|
skillDrafting: {
|
|
4375
4375
|
surfaceId: string;
|
|
4376
4376
|
lightSourceId: string | readonly string[];
|
|
4377
|
-
activeRunModes?: ("
|
|
4377
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4378
4378
|
dimensions?: {
|
|
4379
4379
|
id: string;
|
|
4380
4380
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4382,10 +4382,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4382
4382
|
passThreshold?: number | undefined;
|
|
4383
4383
|
rubricRef?: string | undefined;
|
|
4384
4384
|
gatePolicy?: {
|
|
4385
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4385
4386
|
enabled: boolean;
|
|
4386
4387
|
passThreshold: number;
|
|
4387
4388
|
failureAction: "retry" | "flag" | "block";
|
|
4388
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4389
4389
|
retry?: {
|
|
4390
4390
|
maxAttempts: number;
|
|
4391
4391
|
augmentPrompt?: string | undefined;
|
|
@@ -4414,7 +4414,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4414
4414
|
lessonDrafting?: {
|
|
4415
4415
|
surfaceId: string;
|
|
4416
4416
|
lightSourceId: string | readonly string[];
|
|
4417
|
-
activeRunModes?: ("
|
|
4417
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4418
4418
|
dimensions?: {
|
|
4419
4419
|
id: string;
|
|
4420
4420
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4422,10 +4422,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4422
4422
|
passThreshold?: number | undefined;
|
|
4423
4423
|
rubricRef?: string | undefined;
|
|
4424
4424
|
gatePolicy?: {
|
|
4425
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4425
4426
|
enabled: boolean;
|
|
4426
4427
|
passThreshold: number;
|
|
4427
4428
|
failureAction: "retry" | "flag" | "block";
|
|
4428
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4429
4429
|
retry?: {
|
|
4430
4430
|
maxAttempts: number;
|
|
4431
4431
|
augmentPrompt?: string | undefined;
|
|
@@ -4454,7 +4454,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4454
4454
|
fixtureGeneration?: {
|
|
4455
4455
|
surfaceId: string;
|
|
4456
4456
|
lightSourceId: string | readonly string[];
|
|
4457
|
-
activeRunModes?: ("
|
|
4457
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4458
4458
|
dimensions?: {
|
|
4459
4459
|
id: string;
|
|
4460
4460
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4462,10 +4462,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4462
4462
|
passThreshold?: number | undefined;
|
|
4463
4463
|
rubricRef?: string | undefined;
|
|
4464
4464
|
gatePolicy?: {
|
|
4465
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4465
4466
|
enabled: boolean;
|
|
4466
4467
|
passThreshold: number;
|
|
4467
4468
|
failureAction: "retry" | "flag" | "block";
|
|
4468
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4469
4469
|
retry?: {
|
|
4470
4470
|
maxAttempts: number;
|
|
4471
4471
|
augmentPrompt?: string | undefined;
|
|
@@ -4494,7 +4494,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4494
4494
|
codeChangeRecommendationDrafting?: {
|
|
4495
4495
|
surfaceId: string;
|
|
4496
4496
|
lightSourceId: string | readonly string[];
|
|
4497
|
-
activeRunModes?: ("
|
|
4497
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4498
4498
|
dimensions?: {
|
|
4499
4499
|
id: string;
|
|
4500
4500
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4502,10 +4502,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4502
4502
|
passThreshold?: number | undefined;
|
|
4503
4503
|
rubricRef?: string | undefined;
|
|
4504
4504
|
gatePolicy?: {
|
|
4505
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4505
4506
|
enabled: boolean;
|
|
4506
4507
|
passThreshold: number;
|
|
4507
4508
|
failureAction: "retry" | "flag" | "block";
|
|
4508
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4509
4509
|
retry?: {
|
|
4510
4510
|
maxAttempts: number;
|
|
4511
4511
|
augmentPrompt?: string | undefined;
|
|
@@ -4534,7 +4534,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4534
4534
|
blastRadiusJudging?: {
|
|
4535
4535
|
surfaceId: string;
|
|
4536
4536
|
lightSourceId: string | readonly string[];
|
|
4537
|
-
activeRunModes?: ("
|
|
4537
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4538
4538
|
dimensions?: {
|
|
4539
4539
|
id: string;
|
|
4540
4540
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4542,10 +4542,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4542
4542
|
passThreshold?: number | undefined;
|
|
4543
4543
|
rubricRef?: string | undefined;
|
|
4544
4544
|
gatePolicy?: {
|
|
4545
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4545
4546
|
enabled: boolean;
|
|
4546
4547
|
passThreshold: number;
|
|
4547
4548
|
failureAction: "retry" | "flag" | "block";
|
|
4548
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4549
4549
|
retry?: {
|
|
4550
4550
|
maxAttempts: number;
|
|
4551
4551
|
augmentPrompt?: string | undefined;
|
|
@@ -4575,7 +4575,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4575
4575
|
skillDrafting: {
|
|
4576
4576
|
surfaceId: string;
|
|
4577
4577
|
lightSourceId: string | readonly string[];
|
|
4578
|
-
activeRunModes?: ("
|
|
4578
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4579
4579
|
dimensions?: {
|
|
4580
4580
|
id: string;
|
|
4581
4581
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4585,6 +4585,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4585
4585
|
gatePolicy?: {
|
|
4586
4586
|
passThreshold: number;
|
|
4587
4587
|
failureAction: "retry" | "flag" | "block";
|
|
4588
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4588
4589
|
retry?: {
|
|
4589
4590
|
maxAttempts: number;
|
|
4590
4591
|
augmentPrompt?: string | undefined;
|
|
@@ -4604,7 +4605,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4604
4605
|
} | undefined;
|
|
4605
4606
|
} | undefined;
|
|
4606
4607
|
enabled?: boolean | undefined;
|
|
4607
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4608
4608
|
} | undefined;
|
|
4609
4609
|
valueDomain?: {
|
|
4610
4610
|
values: string[];
|
|
@@ -4615,7 +4615,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4615
4615
|
lessonDrafting?: {
|
|
4616
4616
|
surfaceId: string;
|
|
4617
4617
|
lightSourceId: string | readonly string[];
|
|
4618
|
-
activeRunModes?: ("
|
|
4618
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4619
4619
|
dimensions?: {
|
|
4620
4620
|
id: string;
|
|
4621
4621
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4625,6 +4625,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4625
4625
|
gatePolicy?: {
|
|
4626
4626
|
passThreshold: number;
|
|
4627
4627
|
failureAction: "retry" | "flag" | "block";
|
|
4628
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4628
4629
|
retry?: {
|
|
4629
4630
|
maxAttempts: number;
|
|
4630
4631
|
augmentPrompt?: string | undefined;
|
|
@@ -4644,7 +4645,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4644
4645
|
} | undefined;
|
|
4645
4646
|
} | undefined;
|
|
4646
4647
|
enabled?: boolean | undefined;
|
|
4647
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4648
4648
|
} | undefined;
|
|
4649
4649
|
valueDomain?: {
|
|
4650
4650
|
values: string[];
|
|
@@ -4655,7 +4655,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4655
4655
|
fixtureGeneration?: {
|
|
4656
4656
|
surfaceId: string;
|
|
4657
4657
|
lightSourceId: string | readonly string[];
|
|
4658
|
-
activeRunModes?: ("
|
|
4658
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4659
4659
|
dimensions?: {
|
|
4660
4660
|
id: string;
|
|
4661
4661
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4665,6 +4665,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4665
4665
|
gatePolicy?: {
|
|
4666
4666
|
passThreshold: number;
|
|
4667
4667
|
failureAction: "retry" | "flag" | "block";
|
|
4668
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4668
4669
|
retry?: {
|
|
4669
4670
|
maxAttempts: number;
|
|
4670
4671
|
augmentPrompt?: string | undefined;
|
|
@@ -4684,7 +4685,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4684
4685
|
} | undefined;
|
|
4685
4686
|
} | undefined;
|
|
4686
4687
|
enabled?: boolean | undefined;
|
|
4687
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4688
4688
|
} | undefined;
|
|
4689
4689
|
valueDomain?: {
|
|
4690
4690
|
values: string[];
|
|
@@ -4695,7 +4695,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4695
4695
|
codeChangeRecommendationDrafting?: {
|
|
4696
4696
|
surfaceId: string;
|
|
4697
4697
|
lightSourceId: string | readonly string[];
|
|
4698
|
-
activeRunModes?: ("
|
|
4698
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4699
4699
|
dimensions?: {
|
|
4700
4700
|
id: string;
|
|
4701
4701
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4705,6 +4705,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4705
4705
|
gatePolicy?: {
|
|
4706
4706
|
passThreshold: number;
|
|
4707
4707
|
failureAction: "retry" | "flag" | "block";
|
|
4708
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4708
4709
|
retry?: {
|
|
4709
4710
|
maxAttempts: number;
|
|
4710
4711
|
augmentPrompt?: string | undefined;
|
|
@@ -4724,7 +4725,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4724
4725
|
} | undefined;
|
|
4725
4726
|
} | undefined;
|
|
4726
4727
|
enabled?: boolean | undefined;
|
|
4727
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4728
4728
|
} | undefined;
|
|
4729
4729
|
valueDomain?: {
|
|
4730
4730
|
values: string[];
|
|
@@ -4735,7 +4735,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4735
4735
|
blastRadiusJudging?: {
|
|
4736
4736
|
surfaceId: string;
|
|
4737
4737
|
lightSourceId: string | readonly string[];
|
|
4738
|
-
activeRunModes?: ("
|
|
4738
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4739
4739
|
dimensions?: {
|
|
4740
4740
|
id: string;
|
|
4741
4741
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4745,6 +4745,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4745
4745
|
gatePolicy?: {
|
|
4746
4746
|
passThreshold: number;
|
|
4747
4747
|
failureAction: "retry" | "flag" | "block";
|
|
4748
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4748
4749
|
retry?: {
|
|
4749
4750
|
maxAttempts: number;
|
|
4750
4751
|
augmentPrompt?: string | undefined;
|
|
@@ -4764,7 +4765,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4764
4765
|
} | undefined;
|
|
4765
4766
|
} | undefined;
|
|
4766
4767
|
enabled?: boolean | undefined;
|
|
4767
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4768
4768
|
} | undefined;
|
|
4769
4769
|
valueDomain?: {
|
|
4770
4770
|
values: string[];
|
|
@@ -4785,10 +4785,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4785
4785
|
passThreshold?: number | undefined;
|
|
4786
4786
|
rubricRef?: string | undefined;
|
|
4787
4787
|
gatePolicy?: {
|
|
4788
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4788
4789
|
enabled: boolean;
|
|
4789
4790
|
passThreshold: number;
|
|
4790
4791
|
failureAction: "retry" | "flag" | "block";
|
|
4791
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4792
4792
|
retry?: {
|
|
4793
4793
|
maxAttempts: number;
|
|
4794
4794
|
augmentPrompt?: string | undefined;
|
|
@@ -4851,7 +4851,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4851
4851
|
routings?: {
|
|
4852
4852
|
surfaceId: string;
|
|
4853
4853
|
lightSourceId: string | readonly string[];
|
|
4854
|
-
activeRunModes?: ("
|
|
4854
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4855
4855
|
}[] | undefined;
|
|
4856
4856
|
pricing?: Record<string, {
|
|
4857
4857
|
perMillionInput: number;
|
|
@@ -4863,7 +4863,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4863
4863
|
skillDrafting: {
|
|
4864
4864
|
surfaceId: string;
|
|
4865
4865
|
lightSourceId: string | readonly string[];
|
|
4866
|
-
activeRunModes?: ("
|
|
4866
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4867
4867
|
dimensions?: {
|
|
4868
4868
|
id: string;
|
|
4869
4869
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4871,10 +4871,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4871
4871
|
passThreshold?: number | undefined;
|
|
4872
4872
|
rubricRef?: string | undefined;
|
|
4873
4873
|
gatePolicy?: {
|
|
4874
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4874
4875
|
enabled: boolean;
|
|
4875
4876
|
passThreshold: number;
|
|
4876
4877
|
failureAction: "retry" | "flag" | "block";
|
|
4877
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4878
4878
|
retry?: {
|
|
4879
4879
|
maxAttempts: number;
|
|
4880
4880
|
augmentPrompt?: string | undefined;
|
|
@@ -4903,7 +4903,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4903
4903
|
lessonDrafting?: {
|
|
4904
4904
|
surfaceId: string;
|
|
4905
4905
|
lightSourceId: string | readonly string[];
|
|
4906
|
-
activeRunModes?: ("
|
|
4906
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4907
4907
|
dimensions?: {
|
|
4908
4908
|
id: string;
|
|
4909
4909
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4911,10 +4911,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4911
4911
|
passThreshold?: number | undefined;
|
|
4912
4912
|
rubricRef?: string | undefined;
|
|
4913
4913
|
gatePolicy?: {
|
|
4914
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4914
4915
|
enabled: boolean;
|
|
4915
4916
|
passThreshold: number;
|
|
4916
4917
|
failureAction: "retry" | "flag" | "block";
|
|
4917
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4918
4918
|
retry?: {
|
|
4919
4919
|
maxAttempts: number;
|
|
4920
4920
|
augmentPrompt?: string | undefined;
|
|
@@ -4943,7 +4943,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4943
4943
|
fixtureGeneration?: {
|
|
4944
4944
|
surfaceId: string;
|
|
4945
4945
|
lightSourceId: string | readonly string[];
|
|
4946
|
-
activeRunModes?: ("
|
|
4946
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4947
4947
|
dimensions?: {
|
|
4948
4948
|
id: string;
|
|
4949
4949
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4951,10 +4951,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4951
4951
|
passThreshold?: number | undefined;
|
|
4952
4952
|
rubricRef?: string | undefined;
|
|
4953
4953
|
gatePolicy?: {
|
|
4954
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4954
4955
|
enabled: boolean;
|
|
4955
4956
|
passThreshold: number;
|
|
4956
4957
|
failureAction: "retry" | "flag" | "block";
|
|
4957
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4958
4958
|
retry?: {
|
|
4959
4959
|
maxAttempts: number;
|
|
4960
4960
|
augmentPrompt?: string | undefined;
|
|
@@ -4983,7 +4983,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4983
4983
|
codeChangeRecommendationDrafting?: {
|
|
4984
4984
|
surfaceId: string;
|
|
4985
4985
|
lightSourceId: string | readonly string[];
|
|
4986
|
-
activeRunModes?: ("
|
|
4986
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4987
4987
|
dimensions?: {
|
|
4988
4988
|
id: string;
|
|
4989
4989
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4991,10 +4991,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4991
4991
|
passThreshold?: number | undefined;
|
|
4992
4992
|
rubricRef?: string | undefined;
|
|
4993
4993
|
gatePolicy?: {
|
|
4994
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4994
4995
|
enabled: boolean;
|
|
4995
4996
|
passThreshold: number;
|
|
4996
4997
|
failureAction: "retry" | "flag" | "block";
|
|
4997
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4998
4998
|
retry?: {
|
|
4999
4999
|
maxAttempts: number;
|
|
5000
5000
|
augmentPrompt?: string | undefined;
|
|
@@ -5023,7 +5023,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5023
5023
|
blastRadiusJudging?: {
|
|
5024
5024
|
surfaceId: string;
|
|
5025
5025
|
lightSourceId: string | readonly string[];
|
|
5026
|
-
activeRunModes?: ("
|
|
5026
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5027
5027
|
dimensions?: {
|
|
5028
5028
|
id: string;
|
|
5029
5029
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5031,10 +5031,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5031
5031
|
passThreshold?: number | undefined;
|
|
5032
5032
|
rubricRef?: string | undefined;
|
|
5033
5033
|
gatePolicy?: {
|
|
5034
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5034
5035
|
enabled: boolean;
|
|
5035
5036
|
passThreshold: number;
|
|
5036
5037
|
failureAction: "retry" | "flag" | "block";
|
|
5037
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
5038
5038
|
retry?: {
|
|
5039
5039
|
maxAttempts: number;
|
|
5040
5040
|
augmentPrompt?: string | undefined;
|
|
@@ -5074,6 +5074,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5074
5074
|
gatePolicy?: {
|
|
5075
5075
|
passThreshold: number;
|
|
5076
5076
|
failureAction: "retry" | "flag" | "block";
|
|
5077
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5077
5078
|
retry?: {
|
|
5078
5079
|
maxAttempts: number;
|
|
5079
5080
|
augmentPrompt?: string | undefined;
|
|
@@ -5093,7 +5094,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5093
5094
|
} | undefined;
|
|
5094
5095
|
} | undefined;
|
|
5095
5096
|
enabled?: boolean | undefined;
|
|
5096
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5097
5097
|
} | undefined;
|
|
5098
5098
|
valueDomain?: {
|
|
5099
5099
|
values: string[];
|
|
@@ -5139,7 +5139,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5139
5139
|
routings?: {
|
|
5140
5140
|
surfaceId: string;
|
|
5141
5141
|
lightSourceId: string | readonly string[];
|
|
5142
|
-
activeRunModes?: ("
|
|
5142
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5143
5143
|
}[] | undefined;
|
|
5144
5144
|
pricing?: Record<string, {
|
|
5145
5145
|
perMillionInput: number;
|
|
@@ -5151,7 +5151,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5151
5151
|
skillDrafting: {
|
|
5152
5152
|
surfaceId: string;
|
|
5153
5153
|
lightSourceId: string | readonly string[];
|
|
5154
|
-
activeRunModes?: ("
|
|
5154
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5155
5155
|
dimensions?: {
|
|
5156
5156
|
id: string;
|
|
5157
5157
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5161,6 +5161,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5161
5161
|
gatePolicy?: {
|
|
5162
5162
|
passThreshold: number;
|
|
5163
5163
|
failureAction: "retry" | "flag" | "block";
|
|
5164
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5164
5165
|
retry?: {
|
|
5165
5166
|
maxAttempts: number;
|
|
5166
5167
|
augmentPrompt?: string | undefined;
|
|
@@ -5180,7 +5181,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5180
5181
|
} | undefined;
|
|
5181
5182
|
} | undefined;
|
|
5182
5183
|
enabled?: boolean | undefined;
|
|
5183
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5184
5184
|
} | undefined;
|
|
5185
5185
|
valueDomain?: {
|
|
5186
5186
|
values: string[];
|
|
@@ -5191,7 +5191,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5191
5191
|
lessonDrafting?: {
|
|
5192
5192
|
surfaceId: string;
|
|
5193
5193
|
lightSourceId: string | readonly string[];
|
|
5194
|
-
activeRunModes?: ("
|
|
5194
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5195
5195
|
dimensions?: {
|
|
5196
5196
|
id: string;
|
|
5197
5197
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5201,6 +5201,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5201
5201
|
gatePolicy?: {
|
|
5202
5202
|
passThreshold: number;
|
|
5203
5203
|
failureAction: "retry" | "flag" | "block";
|
|
5204
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5204
5205
|
retry?: {
|
|
5205
5206
|
maxAttempts: number;
|
|
5206
5207
|
augmentPrompt?: string | undefined;
|
|
@@ -5220,7 +5221,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5220
5221
|
} | undefined;
|
|
5221
5222
|
} | undefined;
|
|
5222
5223
|
enabled?: boolean | undefined;
|
|
5223
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5224
5224
|
} | undefined;
|
|
5225
5225
|
valueDomain?: {
|
|
5226
5226
|
values: string[];
|
|
@@ -5231,7 +5231,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5231
5231
|
fixtureGeneration?: {
|
|
5232
5232
|
surfaceId: string;
|
|
5233
5233
|
lightSourceId: string | readonly string[];
|
|
5234
|
-
activeRunModes?: ("
|
|
5234
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5235
5235
|
dimensions?: {
|
|
5236
5236
|
id: string;
|
|
5237
5237
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5241,6 +5241,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5241
5241
|
gatePolicy?: {
|
|
5242
5242
|
passThreshold: number;
|
|
5243
5243
|
failureAction: "retry" | "flag" | "block";
|
|
5244
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5244
5245
|
retry?: {
|
|
5245
5246
|
maxAttempts: number;
|
|
5246
5247
|
augmentPrompt?: string | undefined;
|
|
@@ -5260,7 +5261,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5260
5261
|
} | undefined;
|
|
5261
5262
|
} | undefined;
|
|
5262
5263
|
enabled?: boolean | undefined;
|
|
5263
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5264
5264
|
} | undefined;
|
|
5265
5265
|
valueDomain?: {
|
|
5266
5266
|
values: string[];
|
|
@@ -5271,7 +5271,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5271
5271
|
codeChangeRecommendationDrafting?: {
|
|
5272
5272
|
surfaceId: string;
|
|
5273
5273
|
lightSourceId: string | readonly string[];
|
|
5274
|
-
activeRunModes?: ("
|
|
5274
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5275
5275
|
dimensions?: {
|
|
5276
5276
|
id: string;
|
|
5277
5277
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5281,6 +5281,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5281
5281
|
gatePolicy?: {
|
|
5282
5282
|
passThreshold: number;
|
|
5283
5283
|
failureAction: "retry" | "flag" | "block";
|
|
5284
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5284
5285
|
retry?: {
|
|
5285
5286
|
maxAttempts: number;
|
|
5286
5287
|
augmentPrompt?: string | undefined;
|
|
@@ -5300,7 +5301,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5300
5301
|
} | undefined;
|
|
5301
5302
|
} | undefined;
|
|
5302
5303
|
enabled?: boolean | undefined;
|
|
5303
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5304
5304
|
} | undefined;
|
|
5305
5305
|
valueDomain?: {
|
|
5306
5306
|
values: string[];
|
|
@@ -5311,7 +5311,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5311
5311
|
blastRadiusJudging?: {
|
|
5312
5312
|
surfaceId: string;
|
|
5313
5313
|
lightSourceId: string | readonly string[];
|
|
5314
|
-
activeRunModes?: ("
|
|
5314
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5315
5315
|
dimensions?: {
|
|
5316
5316
|
id: string;
|
|
5317
5317
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5321,6 +5321,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5321
5321
|
gatePolicy?: {
|
|
5322
5322
|
passThreshold: number;
|
|
5323
5323
|
failureAction: "retry" | "flag" | "block";
|
|
5324
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5324
5325
|
retry?: {
|
|
5325
5326
|
maxAttempts: number;
|
|
5326
5327
|
augmentPrompt?: string | undefined;
|
|
@@ -5340,7 +5341,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5340
5341
|
} | undefined;
|
|
5341
5342
|
} | undefined;
|
|
5342
5343
|
enabled?: boolean | undefined;
|
|
5343
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5344
5344
|
} | undefined;
|
|
5345
5345
|
valueDomain?: {
|
|
5346
5346
|
values: string[];
|
|
@@ -5929,6 +5929,8 @@ declare const LightSnapshotSchema: ZodObject<{
|
|
|
5929
5929
|
vendorMetadata: ZodOptional$1<ZodRecord<ZodString, ZodUnknown>>;
|
|
5930
5930
|
|
|
5931
5931
|
rawRequestOmitted: ZodOptional$1<ZodBoolean>;
|
|
5932
|
+
|
|
5933
|
+
rawResponsePresence: ZodOptional$1<ZodEnum$1<["present", "omitted-by-policy", "pending-attach", "failed-attach"]>>;
|
|
5932
5934
|
}, "strip", ZodTypeAny$1, {
|
|
5933
5935
|
rawRequest?: objectOutputType<{
|
|
5934
5936
|
surfaceId: ZodString;
|
|
@@ -6125,6 +6127,7 @@ declare const LightSnapshotSchema: ZodObject<{
|
|
|
6125
6127
|
} | undefined;
|
|
6126
6128
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
6127
6129
|
rawRequestOmitted?: boolean | undefined;
|
|
6130
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
6128
6131
|
}, {
|
|
6129
6132
|
rawRequest?: objectInputType<{
|
|
6130
6133
|
surfaceId: ZodString;
|
|
@@ -6321,6 +6324,7 @@ declare const LightSnapshotSchema: ZodObject<{
|
|
|
6321
6324
|
} | undefined;
|
|
6322
6325
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
6323
6326
|
rawRequestOmitted?: boolean | undefined;
|
|
6327
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
6324
6328
|
}>;
|
|
6325
6329
|
type LightSnapshot = TypeOf$1<typeof LightSnapshotSchema>;
|
|
6326
6330
|
declare const GateOutcomeSchema: ZodObject<{
|
|
@@ -6386,7 +6390,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
6386
6390
|
|
|
6387
6391
|
lensVersion: ZodString;
|
|
6388
6392
|
|
|
6389
|
-
kind: ZodDefault$1<ZodEnum$1<["evaluation", "availability.transition", "analysis.noise-floor-calibration", "analysis.variance-decomposition", "analysis.lifecycle-transition", "analysis.eval-recommendation", "analysis.conformance-fixture"]>>;
|
|
6393
|
+
kind: ZodDefault$1<ZodEnum$1<["evaluation", "availability.transition", "analysis.noise-floor-calibration", "analysis.variance-decomposition", "analysis.lifecycle-transition", "analysis.eval-recommendation", "analysis.conformance-fixture", "analysis.emission-coverage"]>>;
|
|
6390
6394
|
|
|
6391
6395
|
light: ZodOptional$1<ZodObject<{
|
|
6392
6396
|
|
|
@@ -6965,6 +6969,8 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
6965
6969
|
vendorMetadata: ZodOptional$1<ZodRecord<ZodString, ZodUnknown>>;
|
|
6966
6970
|
|
|
6967
6971
|
rawRequestOmitted: ZodOptional$1<ZodBoolean>;
|
|
6972
|
+
|
|
6973
|
+
rawResponsePresence: ZodOptional$1<ZodEnum$1<["present", "omitted-by-policy", "pending-attach", "failed-attach"]>>;
|
|
6968
6974
|
}, "strip", ZodTypeAny$1, {
|
|
6969
6975
|
rawRequest?: objectOutputType<{
|
|
6970
6976
|
surfaceId: ZodString;
|
|
@@ -7161,6 +7167,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
7161
7167
|
} | undefined;
|
|
7162
7168
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
7163
7169
|
rawRequestOmitted?: boolean | undefined;
|
|
7170
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
7164
7171
|
}, {
|
|
7165
7172
|
rawRequest?: objectInputType<{
|
|
7166
7173
|
surfaceId: ZodString;
|
|
@@ -7357,6 +7364,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
7357
7364
|
} | undefined;
|
|
7358
7365
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
7359
7366
|
rawRequestOmitted?: boolean | undefined;
|
|
7367
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
7360
7368
|
}>>;
|
|
7361
7369
|
|
|
7362
7370
|
substrate: ZodOptional$1<ZodObject<{
|
|
@@ -7368,19 +7376,19 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
7368
7376
|
timestamp: ZodString;
|
|
7369
7377
|
columns: ZodRecord<ZodString, ZodString>;
|
|
7370
7378
|
}, "strip", ZodTypeAny$1, {
|
|
7371
|
-
provenance: "
|
|
7379
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
7372
7380
|
timestamp: string;
|
|
7373
7381
|
lensVersion: string;
|
|
7374
7382
|
lightSourceIdentifier: string;
|
|
7375
|
-
runMode: "
|
|
7383
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
7376
7384
|
correlationId: string;
|
|
7377
7385
|
columns: Record<string, string>;
|
|
7378
7386
|
}, {
|
|
7379
|
-
provenance: "
|
|
7387
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
7380
7388
|
timestamp: string;
|
|
7381
7389
|
lensVersion: string;
|
|
7382
7390
|
lightSourceIdentifier: string;
|
|
7383
|
-
runMode: "
|
|
7391
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
7384
7392
|
correlationId: string;
|
|
7385
7393
|
columns: Record<string, string>;
|
|
7386
7394
|
}>>;
|
|
@@ -7977,24 +7985,24 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
7977
7985
|
present: ZodOptional$1<ZodBoolean>;
|
|
7978
7986
|
}, "strip", ZodTypeAny$1, {
|
|
7979
7987
|
column: string;
|
|
7988
|
+
present?: boolean | undefined;
|
|
7980
7989
|
equals?: string | undefined;
|
|
7981
7990
|
oneOf?: string[] | undefined;
|
|
7982
|
-
present?: boolean | undefined;
|
|
7983
7991
|
}, {
|
|
7984
7992
|
column: string;
|
|
7993
|
+
present?: boolean | undefined;
|
|
7985
7994
|
equals?: string | undefined;
|
|
7986
7995
|
oneOf?: string[] | undefined;
|
|
7987
|
-
present?: boolean | undefined;
|
|
7988
7996
|
}>, {
|
|
7989
7997
|
column: string;
|
|
7998
|
+
present?: boolean | undefined;
|
|
7990
7999
|
equals?: string | undefined;
|
|
7991
8000
|
oneOf?: string[] | undefined;
|
|
7992
|
-
present?: boolean | undefined;
|
|
7993
8001
|
}, {
|
|
7994
8002
|
column: string;
|
|
8003
|
+
present?: boolean | undefined;
|
|
7995
8004
|
equals?: string | undefined;
|
|
7996
8005
|
oneOf?: string[] | undefined;
|
|
7997
|
-
present?: boolean | undefined;
|
|
7998
8006
|
}>, "many">>;
|
|
7999
8007
|
}, "strip", ZodTypeAny$1, {
|
|
8000
8008
|
description: string;
|
|
@@ -8032,9 +8040,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8032
8040
|
sourceExcerpt?: string | undefined;
|
|
8033
8041
|
when?: {
|
|
8034
8042
|
column: string;
|
|
8043
|
+
present?: boolean | undefined;
|
|
8035
8044
|
equals?: string | undefined;
|
|
8036
8045
|
oneOf?: string[] | undefined;
|
|
8037
|
-
present?: boolean | undefined;
|
|
8038
8046
|
}[] | undefined;
|
|
8039
8047
|
}, {
|
|
8040
8048
|
description: string;
|
|
@@ -8072,9 +8080,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8072
8080
|
sourceExcerpt?: string | undefined;
|
|
8073
8081
|
when?: {
|
|
8074
8082
|
column: string;
|
|
8083
|
+
present?: boolean | undefined;
|
|
8075
8084
|
equals?: string | undefined;
|
|
8076
8085
|
oneOf?: string[] | undefined;
|
|
8077
|
-
present?: boolean | undefined;
|
|
8078
8086
|
}[] | undefined;
|
|
8079
8087
|
}>, {
|
|
8080
8088
|
description: string;
|
|
@@ -8112,9 +8120,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8112
8120
|
sourceExcerpt?: string | undefined;
|
|
8113
8121
|
when?: {
|
|
8114
8122
|
column: string;
|
|
8123
|
+
present?: boolean | undefined;
|
|
8115
8124
|
equals?: string | undefined;
|
|
8116
8125
|
oneOf?: string[] | undefined;
|
|
8117
|
-
present?: boolean | undefined;
|
|
8118
8126
|
}[] | undefined;
|
|
8119
8127
|
}, {
|
|
8120
8128
|
description: string;
|
|
@@ -8152,9 +8160,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8152
8160
|
sourceExcerpt?: string | undefined;
|
|
8153
8161
|
when?: {
|
|
8154
8162
|
column: string;
|
|
8163
|
+
present?: boolean | undefined;
|
|
8155
8164
|
equals?: string | undefined;
|
|
8156
8165
|
oneOf?: string[] | undefined;
|
|
8157
|
-
present?: boolean | undefined;
|
|
8158
8166
|
}[] | undefined;
|
|
8159
8167
|
}>;
|
|
8160
8168
|
|
|
@@ -8201,9 +8209,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8201
8209
|
sourceExcerpt?: string | undefined;
|
|
8202
8210
|
when?: {
|
|
8203
8211
|
column: string;
|
|
8212
|
+
present?: boolean | undefined;
|
|
8204
8213
|
equals?: string | undefined;
|
|
8205
8214
|
oneOf?: string[] | undefined;
|
|
8206
|
-
present?: boolean | undefined;
|
|
8207
8215
|
}[] | undefined;
|
|
8208
8216
|
};
|
|
8209
8217
|
occurredAt: string;
|
|
@@ -8246,27 +8254,52 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8246
8254
|
sourceExcerpt?: string | undefined;
|
|
8247
8255
|
when?: {
|
|
8248
8256
|
column: string;
|
|
8257
|
+
present?: boolean | undefined;
|
|
8249
8258
|
equals?: string | undefined;
|
|
8250
8259
|
oneOf?: string[] | undefined;
|
|
8251
|
-
present?: boolean | undefined;
|
|
8252
8260
|
}[] | undefined;
|
|
8253
8261
|
};
|
|
8254
8262
|
occurredAt: string;
|
|
8255
8263
|
sourceSurfaceId?: string | undefined;
|
|
8256
8264
|
}>>;
|
|
8265
|
+
|
|
8266
|
+
emissionCoverage: ZodOptional$1<ZodObject<{
|
|
8267
|
+
|
|
8268
|
+
streamId: ZodString;
|
|
8269
|
+
|
|
8270
|
+
observedOrdinals: ZodArray$1<ZodNumber, "many">;
|
|
8271
|
+
|
|
8272
|
+
sentinelHighWater: ZodNullable$1<ZodNumber>;
|
|
8273
|
+
|
|
8274
|
+
finalSeen: ZodBoolean;
|
|
8275
|
+
|
|
8276
|
+
observedAtMs: ZodNumber;
|
|
8277
|
+
}, "strip", ZodTypeAny$1, {
|
|
8278
|
+
streamId: string;
|
|
8279
|
+
observedOrdinals: number[];
|
|
8280
|
+
sentinelHighWater: number | null;
|
|
8281
|
+
finalSeen: boolean;
|
|
8282
|
+
observedAtMs: number;
|
|
8283
|
+
}, {
|
|
8284
|
+
streamId: string;
|
|
8285
|
+
observedOrdinals: number[];
|
|
8286
|
+
sentinelHighWater: number | null;
|
|
8287
|
+
finalSeen: boolean;
|
|
8288
|
+
observedAtMs: number;
|
|
8289
|
+
}>>;
|
|
8257
8290
|
}, "strip", ZodTypeAny$1, {
|
|
8258
8291
|
lensVersion: string;
|
|
8259
8292
|
correlationId: string;
|
|
8260
|
-
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
|
|
8261
8293
|
surfaceId: string;
|
|
8294
|
+
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage";
|
|
8262
8295
|
occurredAt: string;
|
|
8263
8296
|
eventId: string;
|
|
8264
8297
|
substrate?: {
|
|
8265
|
-
provenance: "
|
|
8298
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
8266
8299
|
timestamp: string;
|
|
8267
8300
|
lensVersion: string;
|
|
8268
8301
|
lightSourceIdentifier: string;
|
|
8269
|
-
runMode: "
|
|
8302
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
8270
8303
|
correlationId: string;
|
|
8271
8304
|
columns: Record<string, string>;
|
|
8272
8305
|
} | undefined;
|
|
@@ -8466,6 +8499,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8466
8499
|
} | undefined;
|
|
8467
8500
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
8468
8501
|
rawRequestOmitted?: boolean | undefined;
|
|
8502
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
8469
8503
|
} | undefined;
|
|
8470
8504
|
surface?: {
|
|
8471
8505
|
surfaceId: string;
|
|
@@ -8612,14 +8646,21 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8612
8646
|
sourceExcerpt?: string | undefined;
|
|
8613
8647
|
when?: {
|
|
8614
8648
|
column: string;
|
|
8649
|
+
present?: boolean | undefined;
|
|
8615
8650
|
equals?: string | undefined;
|
|
8616
8651
|
oneOf?: string[] | undefined;
|
|
8617
|
-
present?: boolean | undefined;
|
|
8618
8652
|
}[] | undefined;
|
|
8619
8653
|
};
|
|
8620
8654
|
occurredAt: string;
|
|
8621
8655
|
sourceSurfaceId?: string | undefined;
|
|
8622
8656
|
} | undefined;
|
|
8657
|
+
emissionCoverage?: {
|
|
8658
|
+
streamId: string;
|
|
8659
|
+
observedOrdinals: number[];
|
|
8660
|
+
sentinelHighWater: number | null;
|
|
8661
|
+
finalSeen: boolean;
|
|
8662
|
+
observedAtMs: number;
|
|
8663
|
+
} | undefined;
|
|
8623
8664
|
}, {
|
|
8624
8665
|
lensVersion: string;
|
|
8625
8666
|
correlationId: string;
|
|
@@ -8627,15 +8668,15 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8627
8668
|
occurredAt: string;
|
|
8628
8669
|
eventId: string;
|
|
8629
8670
|
substrate?: {
|
|
8630
|
-
provenance: "
|
|
8671
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
8631
8672
|
timestamp: string;
|
|
8632
8673
|
lensVersion: string;
|
|
8633
8674
|
lightSourceIdentifier: string;
|
|
8634
|
-
runMode: "
|
|
8675
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
8635
8676
|
correlationId: string;
|
|
8636
8677
|
columns: Record<string, string>;
|
|
8637
8678
|
} | undefined;
|
|
8638
|
-
kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | undefined;
|
|
8679
|
+
kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | undefined;
|
|
8639
8680
|
light?: {
|
|
8640
8681
|
rawRequest?: objectInputType<{
|
|
8641
8682
|
surfaceId: ZodString;
|
|
@@ -8832,6 +8873,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8832
8873
|
} | undefined;
|
|
8833
8874
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
8834
8875
|
rawRequestOmitted?: boolean | undefined;
|
|
8876
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
8835
8877
|
} | undefined;
|
|
8836
8878
|
surface?: {
|
|
8837
8879
|
surfaceId: string;
|
|
@@ -8978,27 +9020,34 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8978
9020
|
sourceExcerpt?: string | undefined;
|
|
8979
9021
|
when?: {
|
|
8980
9022
|
column: string;
|
|
9023
|
+
present?: boolean | undefined;
|
|
8981
9024
|
equals?: string | undefined;
|
|
8982
9025
|
oneOf?: string[] | undefined;
|
|
8983
|
-
present?: boolean | undefined;
|
|
8984
9026
|
}[] | undefined;
|
|
8985
9027
|
};
|
|
8986
9028
|
occurredAt: string;
|
|
8987
9029
|
sourceSurfaceId?: string | undefined;
|
|
8988
9030
|
} | undefined;
|
|
9031
|
+
emissionCoverage?: {
|
|
9032
|
+
streamId: string;
|
|
9033
|
+
observedOrdinals: number[];
|
|
9034
|
+
sentinelHighWater: number | null;
|
|
9035
|
+
finalSeen: boolean;
|
|
9036
|
+
observedAtMs: number;
|
|
9037
|
+
} | undefined;
|
|
8989
9038
|
}>, {
|
|
8990
9039
|
lensVersion: string;
|
|
8991
9040
|
correlationId: string;
|
|
8992
|
-
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
|
|
8993
9041
|
surfaceId: string;
|
|
9042
|
+
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage";
|
|
8994
9043
|
occurredAt: string;
|
|
8995
9044
|
eventId: string;
|
|
8996
9045
|
substrate?: {
|
|
8997
|
-
provenance: "
|
|
9046
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
8998
9047
|
timestamp: string;
|
|
8999
9048
|
lensVersion: string;
|
|
9000
9049
|
lightSourceIdentifier: string;
|
|
9001
|
-
runMode: "
|
|
9050
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
9002
9051
|
correlationId: string;
|
|
9003
9052
|
columns: Record<string, string>;
|
|
9004
9053
|
} | undefined;
|
|
@@ -9198,6 +9247,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
9198
9247
|
} | undefined;
|
|
9199
9248
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
9200
9249
|
rawRequestOmitted?: boolean | undefined;
|
|
9250
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
9201
9251
|
} | undefined;
|
|
9202
9252
|
surface?: {
|
|
9203
9253
|
surfaceId: string;
|
|
@@ -9344,14 +9394,21 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
9344
9394
|
sourceExcerpt?: string | undefined;
|
|
9345
9395
|
when?: {
|
|
9346
9396
|
column: string;
|
|
9397
|
+
present?: boolean | undefined;
|
|
9347
9398
|
equals?: string | undefined;
|
|
9348
9399
|
oneOf?: string[] | undefined;
|
|
9349
|
-
present?: boolean | undefined;
|
|
9350
9400
|
}[] | undefined;
|
|
9351
9401
|
};
|
|
9352
9402
|
occurredAt: string;
|
|
9353
9403
|
sourceSurfaceId?: string | undefined;
|
|
9354
9404
|
} | undefined;
|
|
9405
|
+
emissionCoverage?: {
|
|
9406
|
+
streamId: string;
|
|
9407
|
+
observedOrdinals: number[];
|
|
9408
|
+
sentinelHighWater: number | null;
|
|
9409
|
+
finalSeen: boolean;
|
|
9410
|
+
observedAtMs: number;
|
|
9411
|
+
} | undefined;
|
|
9355
9412
|
}, {
|
|
9356
9413
|
lensVersion: string;
|
|
9357
9414
|
correlationId: string;
|
|
@@ -9359,15 +9416,15 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
9359
9416
|
occurredAt: string;
|
|
9360
9417
|
eventId: string;
|
|
9361
9418
|
substrate?: {
|
|
9362
|
-
provenance: "
|
|
9419
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
9363
9420
|
timestamp: string;
|
|
9364
9421
|
lensVersion: string;
|
|
9365
9422
|
lightSourceIdentifier: string;
|
|
9366
|
-
runMode: "
|
|
9423
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
9367
9424
|
correlationId: string;
|
|
9368
9425
|
columns: Record<string, string>;
|
|
9369
9426
|
} | undefined;
|
|
9370
|
-
kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | undefined;
|
|
9427
|
+
kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | undefined;
|
|
9371
9428
|
light?: {
|
|
9372
9429
|
rawRequest?: objectInputType<{
|
|
9373
9430
|
surfaceId: ZodString;
|
|
@@ -9564,6 +9621,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
9564
9621
|
} | undefined;
|
|
9565
9622
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
9566
9623
|
rawRequestOmitted?: boolean | undefined;
|
|
9624
|
+
rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
|
|
9567
9625
|
} | undefined;
|
|
9568
9626
|
surface?: {
|
|
9569
9627
|
surfaceId: string;
|
|
@@ -9710,14 +9768,21 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
9710
9768
|
sourceExcerpt?: string | undefined;
|
|
9711
9769
|
when?: {
|
|
9712
9770
|
column: string;
|
|
9771
|
+
present?: boolean | undefined;
|
|
9713
9772
|
equals?: string | undefined;
|
|
9714
9773
|
oneOf?: string[] | undefined;
|
|
9715
|
-
present?: boolean | undefined;
|
|
9716
9774
|
}[] | undefined;
|
|
9717
9775
|
};
|
|
9718
9776
|
occurredAt: string;
|
|
9719
9777
|
sourceSurfaceId?: string | undefined;
|
|
9720
9778
|
} | undefined;
|
|
9779
|
+
emissionCoverage?: {
|
|
9780
|
+
streamId: string;
|
|
9781
|
+
observedOrdinals: number[];
|
|
9782
|
+
sentinelHighWater: number | null;
|
|
9783
|
+
finalSeen: boolean;
|
|
9784
|
+
observedAtMs: number;
|
|
9785
|
+
} | undefined;
|
|
9721
9786
|
}>;
|
|
9722
9787
|
type EvaluationEvent = TypeOf$1<typeof EvaluationEventSchema>;
|
|
9723
9788
|
|
|
@@ -11007,6 +11072,92 @@ interface ContractRegisterResponse {
|
|
|
11007
11072
|
surfaces: ContractSurfaceSummary[];
|
|
11008
11073
|
}
|
|
11009
11074
|
|
|
11075
|
+
type EmitMode = 'sync' | 'buffered' | 'otlp' | 'dual';
|
|
11076
|
+
|
|
11077
|
+
interface OtlpEmitConfig {
|
|
11078
|
+
|
|
11079
|
+
endpoint?: string;
|
|
11080
|
+
|
|
11081
|
+
headers?: Record<string, string>;
|
|
11082
|
+
|
|
11083
|
+
maxQueueSize?: number;
|
|
11084
|
+
}
|
|
11085
|
+
|
|
11086
|
+
type EmitChannel = 'http' | 'otlp';
|
|
11087
|
+
|
|
11088
|
+
interface EmitChannelCompleteness {
|
|
11089
|
+
|
|
11090
|
+
attempted: number;
|
|
11091
|
+
|
|
11092
|
+
delivered: number;
|
|
11093
|
+
|
|
11094
|
+
failed: number;
|
|
11095
|
+
}
|
|
11096
|
+
|
|
11097
|
+
interface EmitOptions {
|
|
11098
|
+
|
|
11099
|
+
mode?: EmitMode;
|
|
11100
|
+
|
|
11101
|
+
otlp?: OtlpEmitConfig;
|
|
11102
|
+
|
|
11103
|
+
bufferSize?: number;
|
|
11104
|
+
|
|
11105
|
+
flushIntervalMs?: number;
|
|
11106
|
+
|
|
11107
|
+
sentinelIntervalMs?: number;
|
|
11108
|
+
|
|
11109
|
+
windowMs?: number;
|
|
11110
|
+
|
|
11111
|
+
extremeSustainedLoad?: {
|
|
11112
|
+
dropRateThreshold?: number;
|
|
11113
|
+
sustainedForMs?: number;
|
|
11114
|
+
};
|
|
11115
|
+
|
|
11116
|
+
onWindow?: (window: CompletenessWindow) => void;
|
|
11117
|
+
|
|
11118
|
+
onExtremeSustainedLoad?: (event: ExtremeSustainedLoadEvent) => void;
|
|
11119
|
+
|
|
11120
|
+
onFlushError?: (error: unknown) => void;
|
|
11121
|
+
}
|
|
11122
|
+
|
|
11123
|
+
interface CompletenessWindow {
|
|
11124
|
+
|
|
11125
|
+
lensVersion: string;
|
|
11126
|
+
|
|
11127
|
+
windowStartMs: number;
|
|
11128
|
+
|
|
11129
|
+
windowEndMs: number;
|
|
11130
|
+
|
|
11131
|
+
offered: number;
|
|
11132
|
+
|
|
11133
|
+
dropped: number;
|
|
11134
|
+
|
|
11135
|
+
delivered: number;
|
|
11136
|
+
|
|
11137
|
+
failed: number;
|
|
11138
|
+
|
|
11139
|
+
channels: Partial<Record<EmitChannel, EmitChannelCompleteness>>;
|
|
11140
|
+
|
|
11141
|
+
completenessLowerBound: number;
|
|
11142
|
+
|
|
11143
|
+
biasFlag: boolean;
|
|
11144
|
+
}
|
|
11145
|
+
|
|
11146
|
+
interface ExtremeSustainedLoadEvent {
|
|
11147
|
+
|
|
11148
|
+
lensVersion: string;
|
|
11149
|
+
|
|
11150
|
+
sinceMs: number;
|
|
11151
|
+
|
|
11152
|
+
firedAtMs: number;
|
|
11153
|
+
|
|
11154
|
+
sustainedForMs: number;
|
|
11155
|
+
|
|
11156
|
+
dropRate: number;
|
|
11157
|
+
|
|
11158
|
+
dropRateThreshold: number;
|
|
11159
|
+
}
|
|
11160
|
+
|
|
11010
11161
|
interface Transport {
|
|
11011
11162
|
|
|
11012
11163
|
dispatch(req: MediatorCallRequest): Promise<MediatorCallResult | GateExecutionResult>;
|
|
@@ -11029,6 +11180,10 @@ interface HttpTransportOptions {
|
|
|
11029
11180
|
fetch?: typeof fetch;
|
|
11030
11181
|
|
|
11031
11182
|
runMode?: 'production' | 'eval' | 'test' | 'replay' | 'local_dev';
|
|
11183
|
+
|
|
11184
|
+
emit?: EmitOptions;
|
|
11185
|
+
|
|
11186
|
+
lensVersion?: string;
|
|
11032
11187
|
}
|
|
11033
11188
|
|
|
11034
11189
|
declare class HolonographHttpError extends Error {
|
|
@@ -11042,9 +11197,17 @@ declare class HttpTransport implements Transport {
|
|
|
11042
11197
|
private readonly token;
|
|
11043
11198
|
private readonly fetchImpl;
|
|
11044
11199
|
private readonly runMode;
|
|
11200
|
+
|
|
11201
|
+
private readonly emitter;
|
|
11045
11202
|
constructor(opts: HttpTransportOptions);
|
|
11046
11203
|
dispatch(req: MediatorCallRequest): Promise<MediatorCallResult | GateExecutionResult>;
|
|
11047
11204
|
appendEvent(event: EvaluationEvent): Promise<string>;
|
|
11205
|
+
|
|
11206
|
+
private postEvent;
|
|
11207
|
+
|
|
11208
|
+
completenessWindow(): CompletenessWindow | null;
|
|
11209
|
+
|
|
11210
|
+
shutdown(): Promise<void>;
|
|
11048
11211
|
postContract(contract: SurfaceContract): Promise<ContractRegisterResponse>;
|
|
11049
11212
|
getContract(): Promise<ContractRegisterResponse>;
|
|
11050
11213
|
markAvailability(req: LensAvailabilityMarkRequest): Promise<LensAvailabilityMarkResponse>;
|
|
@@ -11068,6 +11231,8 @@ interface HolonographClientOptions {
|
|
|
11068
11231
|
lensVersion: string;
|
|
11069
11232
|
|
|
11070
11233
|
substrate: SubstrateSnapshot;
|
|
11234
|
+
|
|
11235
|
+
emit?: EmitOptions;
|
|
11071
11236
|
}
|
|
11072
11237
|
|
|
11073
11238
|
interface HolonographClient {
|
|
@@ -11087,9 +11252,13 @@ interface HolonographClient {
|
|
|
11087
11252
|
messagesCreate(req: HolonographMessageRequest): Promise<HolonographCallHandle>;
|
|
11088
11253
|
|
|
11089
11254
|
callDirectly(req: MediatorCallRequest): Promise<HolonographCallHandle>;
|
|
11255
|
+
|
|
11256
|
+
completenessWindow(): CompletenessWindow | null;
|
|
11257
|
+
|
|
11258
|
+
shutdown(): Promise<void>;
|
|
11090
11259
|
}
|
|
11091
11260
|
|
|
11092
11261
|
declare const HolonographClient: new (options: HolonographClientOptions) => HolonographClient;
|
|
11093
11262
|
|
|
11094
11263
|
export { HolonographClient, HolonographGradeAfterReportError, HolonographHttpError, HolonographMarkerPairingWarningError, HolonographNoObserversError, HolonographObserverNotFoundError, HttpTransport };
|
|
11095
|
-
export type { AvailabilityMarkOptions, ContractRegisterResponse, ContractSurfaceSummary, HolonographCallHandle, HolonographClientOptions, HolonographMessageRequest as HolonographMessageRequest, HolonographMessageResponse as HolonographMessageResponse, HttpTransportOptions, MediatorCallRequest, SurfaceOutcomeReport };
|
|
11264
|
+
export type { AvailabilityMarkOptions, CompletenessWindow, ContractRegisterResponse, ContractSurfaceSummary, EmitChannel, EmitChannelCompleteness, EmitMode, EmitOptions, ExtremeSustainedLoadEvent, HolonographCallHandle, HolonographClientOptions, HolonographMessageRequest as HolonographMessageRequest, HolonographMessageResponse as HolonographMessageResponse, HttpTransportOptions, MediatorCallRequest, OtlpEmitConfig, SurfaceOutcomeReport };
|