@holonograph/client 0.1.0 → 0.2.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 +160 -144
- package/dist/index.js +106 -2
- package/package.json +2 -10
package/dist/index.d.ts
CHANGED
|
@@ -1894,10 +1894,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1894
1894
|
} | undefined;
|
|
1895
1895
|
}>>;
|
|
1896
1896
|
}, "strip", ZodTypeAny$1, {
|
|
1897
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1898
1897
|
enabled: boolean;
|
|
1899
1898
|
passThreshold: number;
|
|
1900
1899
|
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,7 +1919,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1919
1919
|
}, {
|
|
1920
1920
|
passThreshold: number;
|
|
1921
1921
|
failureAction: "retry" | "flag" | "block";
|
|
1922
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1923
1922
|
retry?: {
|
|
1924
1923
|
maxAttempts: number;
|
|
1925
1924
|
augmentPrompt?: string | undefined;
|
|
@@ -1939,11 +1938,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1939
1938
|
} | undefined;
|
|
1940
1939
|
} | undefined;
|
|
1941
1940
|
enabled?: boolean | undefined;
|
|
1941
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1942
1942
|
}>, {
|
|
1943
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1944
1943
|
enabled: boolean;
|
|
1945
1944
|
passThreshold: number;
|
|
1946
1945
|
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,7 +1965,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1965
1965
|
}, {
|
|
1966
1966
|
passThreshold: number;
|
|
1967
1967
|
failureAction: "retry" | "flag" | "block";
|
|
1968
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1969
1968
|
retry?: {
|
|
1970
1969
|
maxAttempts: number;
|
|
1971
1970
|
augmentPrompt?: string | undefined;
|
|
@@ -1985,11 +1984,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1985
1984
|
} | undefined;
|
|
1986
1985
|
} | undefined;
|
|
1987
1986
|
enabled?: boolean | undefined;
|
|
1987
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1988
1988
|
}>, {
|
|
1989
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1990
1989
|
enabled: boolean;
|
|
1991
1990
|
passThreshold: number;
|
|
1992
1991
|
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,7 +2011,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2011
2011
|
}, {
|
|
2012
2012
|
passThreshold: number;
|
|
2013
2013
|
failureAction: "retry" | "flag" | "block";
|
|
2014
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2015
2014
|
retry?: {
|
|
2016
2015
|
maxAttempts: number;
|
|
2017
2016
|
augmentPrompt?: string | undefined;
|
|
@@ -2031,6 +2030,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2031
2030
|
} | undefined;
|
|
2032
2031
|
} | undefined;
|
|
2033
2032
|
enabled?: boolean | undefined;
|
|
2033
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2034
2034
|
}>>;
|
|
2035
2035
|
|
|
2036
2036
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -2046,14 +2046,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2046
2046
|
}, "strip", ZodTypeAny$1, {
|
|
2047
2047
|
id: string;
|
|
2048
2048
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2049
|
-
passThreshold?: number | undefined;
|
|
2050
2049
|
description?: string | undefined;
|
|
2050
|
+
passThreshold?: number | undefined;
|
|
2051
2051
|
rubricRef?: string | undefined;
|
|
2052
2052
|
gatePolicy?: {
|
|
2053
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2054
2053
|
enabled: boolean;
|
|
2055
2054
|
passThreshold: number;
|
|
2056
2055
|
failureAction: "retry" | "flag" | "block";
|
|
2056
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2057
2057
|
retry?: {
|
|
2058
2058
|
maxAttempts: number;
|
|
2059
2059
|
augmentPrompt?: string | undefined;
|
|
@@ -2080,13 +2080,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2080
2080
|
}, {
|
|
2081
2081
|
id: string;
|
|
2082
2082
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2083
|
-
passThreshold?: number | undefined;
|
|
2084
2083
|
description?: string | undefined;
|
|
2084
|
+
passThreshold?: number | undefined;
|
|
2085
2085
|
rubricRef?: string | undefined;
|
|
2086
2086
|
gatePolicy?: {
|
|
2087
2087
|
passThreshold: number;
|
|
2088
2088
|
failureAction: "retry" | "flag" | "block";
|
|
2089
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2090
2089
|
retry?: {
|
|
2091
2090
|
maxAttempts: number;
|
|
2092
2091
|
augmentPrompt?: string | undefined;
|
|
@@ -2106,6 +2105,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2106
2105
|
} | undefined;
|
|
2107
2106
|
} | undefined;
|
|
2108
2107
|
enabled?: boolean | undefined;
|
|
2108
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2109
2109
|
} | undefined;
|
|
2110
2110
|
valueDomain?: {
|
|
2111
2111
|
values: string[];
|
|
@@ -2122,20 +2122,23 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2122
2122
|
description: ZodOptional$1<ZodString>;
|
|
2123
2123
|
semantic: ZodDefault$1<ZodEnum$1<["deployment-state", "diagnostic"]>>;
|
|
2124
2124
|
values: ZodOptional$1<ZodArray$1<ZodString, "many">>;
|
|
2125
|
+
emissionExpectation: ZodOptional$1<ZodEnum$1<["always", "conditional"]>>;
|
|
2125
2126
|
}, "strip", ZodTypeAny$1, {
|
|
2126
2127
|
id: string;
|
|
2127
2128
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2128
2129
|
visibility: "transparent" | "announced" | "opaque";
|
|
2129
2130
|
semantic: "deployment-state" | "diagnostic";
|
|
2130
|
-
values?: string[] | undefined;
|
|
2131
2131
|
description?: string | undefined;
|
|
2132
|
+
values?: string[] | undefined;
|
|
2133
|
+
emissionExpectation?: "always" | "conditional" | undefined;
|
|
2132
2134
|
}, {
|
|
2133
2135
|
id: string;
|
|
2134
2136
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2135
2137
|
visibility: "transparent" | "announced" | "opaque";
|
|
2136
|
-
values?: string[] | undefined;
|
|
2137
2138
|
description?: string | undefined;
|
|
2138
2139
|
semantic?: "deployment-state" | "diagnostic" | undefined;
|
|
2140
|
+
values?: string[] | undefined;
|
|
2141
|
+
emissionExpectation?: "always" | "conditional" | undefined;
|
|
2139
2142
|
}>, "many">>;
|
|
2140
2143
|
|
|
2141
2144
|
status: ZodDefault$1<ZodEnum$1<["active", "forward-declared", "deprecated"]>>;
|
|
@@ -2238,19 +2241,19 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2238
2241
|
} | undefined;
|
|
2239
2242
|
}>, "many">>;
|
|
2240
2243
|
}, "strip", ZodTypeAny$1, {
|
|
2241
|
-
status: "active" | "forward-declared" | "deprecated";
|
|
2242
2244
|
id: string;
|
|
2245
|
+
status: "active" | "forward-declared" | "deprecated";
|
|
2243
2246
|
dimensions: {
|
|
2244
2247
|
id: string;
|
|
2245
2248
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2246
|
-
passThreshold?: number | undefined;
|
|
2247
2249
|
description?: string | undefined;
|
|
2250
|
+
passThreshold?: number | undefined;
|
|
2248
2251
|
rubricRef?: string | undefined;
|
|
2249
2252
|
gatePolicy?: {
|
|
2250
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2251
2253
|
enabled: boolean;
|
|
2252
2254
|
passThreshold: number;
|
|
2253
2255
|
failureAction: "retry" | "flag" | "block";
|
|
2256
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2254
2257
|
retry?: {
|
|
2255
2258
|
maxAttempts: number;
|
|
2256
2259
|
augmentPrompt?: string | undefined;
|
|
@@ -2281,8 +2284,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2281
2284
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2282
2285
|
visibility: "transparent" | "announced" | "opaque";
|
|
2283
2286
|
semantic: "deployment-state" | "diagnostic";
|
|
2284
|
-
values?: string[] | undefined;
|
|
2285
2287
|
description?: string | undefined;
|
|
2288
|
+
values?: string[] | undefined;
|
|
2289
|
+
emissionExpectation?: "always" | "conditional" | undefined;
|
|
2286
2290
|
}[];
|
|
2287
2291
|
removedDimensions: {
|
|
2288
2292
|
id: string;
|
|
@@ -2312,13 +2316,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2312
2316
|
dimensions: {
|
|
2313
2317
|
id: string;
|
|
2314
2318
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2315
|
-
passThreshold?: number | undefined;
|
|
2316
2319
|
description?: string | undefined;
|
|
2320
|
+
passThreshold?: number | undefined;
|
|
2317
2321
|
rubricRef?: string | undefined;
|
|
2318
2322
|
gatePolicy?: {
|
|
2319
2323
|
passThreshold: number;
|
|
2320
2324
|
failureAction: "retry" | "flag" | "block";
|
|
2321
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2322
2325
|
retry?: {
|
|
2323
2326
|
maxAttempts: number;
|
|
2324
2327
|
augmentPrompt?: string | undefined;
|
|
@@ -2338,22 +2341,24 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2338
2341
|
} | undefined;
|
|
2339
2342
|
} | undefined;
|
|
2340
2343
|
enabled?: boolean | undefined;
|
|
2344
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2341
2345
|
} | undefined;
|
|
2342
2346
|
valueDomain?: {
|
|
2343
2347
|
values: string[];
|
|
2344
2348
|
kind: "enum";
|
|
2345
2349
|
} | undefined;
|
|
2346
2350
|
}[];
|
|
2347
|
-
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
2348
2351
|
description?: string | undefined;
|
|
2352
|
+
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
2349
2353
|
cohortTags?: string[] | undefined;
|
|
2350
2354
|
substrateColumns?: {
|
|
2351
2355
|
id: string;
|
|
2352
2356
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2353
2357
|
visibility: "transparent" | "announced" | "opaque";
|
|
2354
|
-
values?: string[] | undefined;
|
|
2355
2358
|
description?: string | undefined;
|
|
2356
2359
|
semantic?: "deployment-state" | "diagnostic" | undefined;
|
|
2360
|
+
values?: string[] | undefined;
|
|
2361
|
+
emissionExpectation?: "always" | "conditional" | undefined;
|
|
2357
2362
|
}[] | undefined;
|
|
2358
2363
|
removedDimensions?: {
|
|
2359
2364
|
id: string;
|
|
@@ -2508,10 +2513,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2508
2513
|
} | undefined;
|
|
2509
2514
|
}>>;
|
|
2510
2515
|
}, "strip", ZodTypeAny$1, {
|
|
2511
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2512
2516
|
enabled: boolean;
|
|
2513
2517
|
passThreshold: number;
|
|
2514
2518
|
failureAction: "retry" | "flag" | "block";
|
|
2519
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2515
2520
|
retry?: {
|
|
2516
2521
|
maxAttempts: number;
|
|
2517
2522
|
augmentPrompt?: string | undefined;
|
|
@@ -2533,7 +2538,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2533
2538
|
}, {
|
|
2534
2539
|
passThreshold: number;
|
|
2535
2540
|
failureAction: "retry" | "flag" | "block";
|
|
2536
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2537
2541
|
retry?: {
|
|
2538
2542
|
maxAttempts: number;
|
|
2539
2543
|
augmentPrompt?: string | undefined;
|
|
@@ -2553,11 +2557,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2553
2557
|
} | undefined;
|
|
2554
2558
|
} | undefined;
|
|
2555
2559
|
enabled?: boolean | undefined;
|
|
2560
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2556
2561
|
}>, {
|
|
2557
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2558
2562
|
enabled: boolean;
|
|
2559
2563
|
passThreshold: number;
|
|
2560
2564
|
failureAction: "retry" | "flag" | "block";
|
|
2565
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2561
2566
|
retry?: {
|
|
2562
2567
|
maxAttempts: number;
|
|
2563
2568
|
augmentPrompt?: string | undefined;
|
|
@@ -2579,7 +2584,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2579
2584
|
}, {
|
|
2580
2585
|
passThreshold: number;
|
|
2581
2586
|
failureAction: "retry" | "flag" | "block";
|
|
2582
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2583
2587
|
retry?: {
|
|
2584
2588
|
maxAttempts: number;
|
|
2585
2589
|
augmentPrompt?: string | undefined;
|
|
@@ -2599,11 +2603,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2599
2603
|
} | undefined;
|
|
2600
2604
|
} | undefined;
|
|
2601
2605
|
enabled?: boolean | undefined;
|
|
2606
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2602
2607
|
}>, {
|
|
2603
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2604
2608
|
enabled: boolean;
|
|
2605
2609
|
passThreshold: number;
|
|
2606
2610
|
failureAction: "retry" | "flag" | "block";
|
|
2611
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2607
2612
|
retry?: {
|
|
2608
2613
|
maxAttempts: number;
|
|
2609
2614
|
augmentPrompt?: string | undefined;
|
|
@@ -2625,7 +2630,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2625
2630
|
}, {
|
|
2626
2631
|
passThreshold: number;
|
|
2627
2632
|
failureAction: "retry" | "flag" | "block";
|
|
2628
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2629
2633
|
retry?: {
|
|
2630
2634
|
maxAttempts: number;
|
|
2631
2635
|
augmentPrompt?: string | undefined;
|
|
@@ -2645,6 +2649,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2645
2649
|
} | undefined;
|
|
2646
2650
|
} | undefined;
|
|
2647
2651
|
enabled?: boolean | undefined;
|
|
2652
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2648
2653
|
}>>;
|
|
2649
2654
|
|
|
2650
2655
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -2660,14 +2665,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2660
2665
|
}, "strip", ZodTypeAny$1, {
|
|
2661
2666
|
id: string;
|
|
2662
2667
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2663
|
-
passThreshold?: number | undefined;
|
|
2664
2668
|
description?: string | undefined;
|
|
2669
|
+
passThreshold?: number | undefined;
|
|
2665
2670
|
rubricRef?: string | undefined;
|
|
2666
2671
|
gatePolicy?: {
|
|
2667
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2668
2672
|
enabled: boolean;
|
|
2669
2673
|
passThreshold: number;
|
|
2670
2674
|
failureAction: "retry" | "flag" | "block";
|
|
2675
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2671
2676
|
retry?: {
|
|
2672
2677
|
maxAttempts: number;
|
|
2673
2678
|
augmentPrompt?: string | undefined;
|
|
@@ -2694,13 +2699,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2694
2699
|
}, {
|
|
2695
2700
|
id: string;
|
|
2696
2701
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2697
|
-
passThreshold?: number | undefined;
|
|
2698
2702
|
description?: string | undefined;
|
|
2703
|
+
passThreshold?: number | undefined;
|
|
2699
2704
|
rubricRef?: string | undefined;
|
|
2700
2705
|
gatePolicy?: {
|
|
2701
2706
|
passThreshold: number;
|
|
2702
2707
|
failureAction: "retry" | "flag" | "block";
|
|
2703
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2704
2708
|
retry?: {
|
|
2705
2709
|
maxAttempts: number;
|
|
2706
2710
|
augmentPrompt?: string | undefined;
|
|
@@ -2720,6 +2724,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2720
2724
|
} | undefined;
|
|
2721
2725
|
} | undefined;
|
|
2722
2726
|
enabled?: boolean | undefined;
|
|
2727
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2723
2728
|
} | undefined;
|
|
2724
2729
|
valueDomain?: {
|
|
2725
2730
|
values: string[];
|
|
@@ -2733,14 +2738,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2733
2738
|
dimensions?: {
|
|
2734
2739
|
id: string;
|
|
2735
2740
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2736
|
-
passThreshold?: number | undefined;
|
|
2737
2741
|
description?: string | undefined;
|
|
2742
|
+
passThreshold?: number | undefined;
|
|
2738
2743
|
rubricRef?: string | undefined;
|
|
2739
2744
|
gatePolicy?: {
|
|
2740
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2741
2745
|
enabled: boolean;
|
|
2742
2746
|
passThreshold: number;
|
|
2743
2747
|
failureAction: "retry" | "flag" | "block";
|
|
2748
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2744
2749
|
retry?: {
|
|
2745
2750
|
maxAttempts: number;
|
|
2746
2751
|
augmentPrompt?: string | undefined;
|
|
@@ -2772,13 +2777,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2772
2777
|
dimensions?: {
|
|
2773
2778
|
id: string;
|
|
2774
2779
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
2775
|
-
passThreshold?: number | undefined;
|
|
2776
2780
|
description?: string | undefined;
|
|
2781
|
+
passThreshold?: number | undefined;
|
|
2777
2782
|
rubricRef?: string | undefined;
|
|
2778
2783
|
gatePolicy?: {
|
|
2779
2784
|
passThreshold: number;
|
|
2780
2785
|
failureAction: "retry" | "flag" | "block";
|
|
2781
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2782
2786
|
retry?: {
|
|
2783
2787
|
maxAttempts: number;
|
|
2784
2788
|
augmentPrompt?: string | undefined;
|
|
@@ -2798,6 +2802,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2798
2802
|
} | undefined;
|
|
2799
2803
|
} | undefined;
|
|
2800
2804
|
enabled?: boolean | undefined;
|
|
2805
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2801
2806
|
} | undefined;
|
|
2802
2807
|
valueDomain?: {
|
|
2803
2808
|
values: string[];
|
|
@@ -2898,10 +2903,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2898
2903
|
} | undefined;
|
|
2899
2904
|
}>>;
|
|
2900
2905
|
}, "strip", ZodTypeAny$1, {
|
|
2901
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2902
2906
|
enabled: boolean;
|
|
2903
2907
|
passThreshold: number;
|
|
2904
2908
|
failureAction: "retry" | "flag" | "block";
|
|
2909
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2905
2910
|
retry?: {
|
|
2906
2911
|
maxAttempts: number;
|
|
2907
2912
|
augmentPrompt?: string | undefined;
|
|
@@ -2923,7 +2928,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2923
2928
|
}, {
|
|
2924
2929
|
passThreshold: number;
|
|
2925
2930
|
failureAction: "retry" | "flag" | "block";
|
|
2926
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2927
2931
|
retry?: {
|
|
2928
2932
|
maxAttempts: number;
|
|
2929
2933
|
augmentPrompt?: string | undefined;
|
|
@@ -2943,11 +2947,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2943
2947
|
} | undefined;
|
|
2944
2948
|
} | undefined;
|
|
2945
2949
|
enabled?: boolean | undefined;
|
|
2950
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2946
2951
|
}>, {
|
|
2947
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2948
2952
|
enabled: boolean;
|
|
2949
2953
|
passThreshold: number;
|
|
2950
2954
|
failureAction: "retry" | "flag" | "block";
|
|
2955
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2951
2956
|
retry?: {
|
|
2952
2957
|
maxAttempts: number;
|
|
2953
2958
|
augmentPrompt?: string | undefined;
|
|
@@ -2969,7 +2974,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2969
2974
|
}, {
|
|
2970
2975
|
passThreshold: number;
|
|
2971
2976
|
failureAction: "retry" | "flag" | "block";
|
|
2972
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2973
2977
|
retry?: {
|
|
2974
2978
|
maxAttempts: number;
|
|
2975
2979
|
augmentPrompt?: string | undefined;
|
|
@@ -2989,11 +2993,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2989
2993
|
} | undefined;
|
|
2990
2994
|
} | undefined;
|
|
2991
2995
|
enabled?: boolean | undefined;
|
|
2996
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2992
2997
|
}>, {
|
|
2993
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2994
2998
|
enabled: boolean;
|
|
2995
2999
|
passThreshold: number;
|
|
2996
3000
|
failureAction: "retry" | "flag" | "block";
|
|
3001
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2997
3002
|
retry?: {
|
|
2998
3003
|
maxAttempts: number;
|
|
2999
3004
|
augmentPrompt?: string | undefined;
|
|
@@ -3015,7 +3020,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3015
3020
|
}, {
|
|
3016
3021
|
passThreshold: number;
|
|
3017
3022
|
failureAction: "retry" | "flag" | "block";
|
|
3018
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3019
3023
|
retry?: {
|
|
3020
3024
|
maxAttempts: number;
|
|
3021
3025
|
augmentPrompt?: string | undefined;
|
|
@@ -3035,6 +3039,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3035
3039
|
} | undefined;
|
|
3036
3040
|
} | undefined;
|
|
3037
3041
|
enabled?: boolean | undefined;
|
|
3042
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3038
3043
|
}>>;
|
|
3039
3044
|
|
|
3040
3045
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -3050,14 +3055,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3050
3055
|
}, "strip", ZodTypeAny$1, {
|
|
3051
3056
|
id: string;
|
|
3052
3057
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3053
|
-
passThreshold?: number | undefined;
|
|
3054
3058
|
description?: string | undefined;
|
|
3059
|
+
passThreshold?: number | undefined;
|
|
3055
3060
|
rubricRef?: string | undefined;
|
|
3056
3061
|
gatePolicy?: {
|
|
3057
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3058
3062
|
enabled: boolean;
|
|
3059
3063
|
passThreshold: number;
|
|
3060
3064
|
failureAction: "retry" | "flag" | "block";
|
|
3065
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3061
3066
|
retry?: {
|
|
3062
3067
|
maxAttempts: number;
|
|
3063
3068
|
augmentPrompt?: string | undefined;
|
|
@@ -3084,13 +3089,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3084
3089
|
}, {
|
|
3085
3090
|
id: string;
|
|
3086
3091
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3087
|
-
passThreshold?: number | undefined;
|
|
3088
3092
|
description?: string | undefined;
|
|
3093
|
+
passThreshold?: number | undefined;
|
|
3089
3094
|
rubricRef?: string | undefined;
|
|
3090
3095
|
gatePolicy?: {
|
|
3091
3096
|
passThreshold: number;
|
|
3092
3097
|
failureAction: "retry" | "flag" | "block";
|
|
3093
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3094
3098
|
retry?: {
|
|
3095
3099
|
maxAttempts: number;
|
|
3096
3100
|
augmentPrompt?: string | undefined;
|
|
@@ -3110,6 +3114,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3110
3114
|
} | undefined;
|
|
3111
3115
|
} | undefined;
|
|
3112
3116
|
enabled?: boolean | undefined;
|
|
3117
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3113
3118
|
} | undefined;
|
|
3114
3119
|
valueDomain?: {
|
|
3115
3120
|
values: string[];
|
|
@@ -3123,14 +3128,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3123
3128
|
dimensions?: {
|
|
3124
3129
|
id: string;
|
|
3125
3130
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3126
|
-
passThreshold?: number | undefined;
|
|
3127
3131
|
description?: string | undefined;
|
|
3132
|
+
passThreshold?: number | undefined;
|
|
3128
3133
|
rubricRef?: string | undefined;
|
|
3129
3134
|
gatePolicy?: {
|
|
3130
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3131
3135
|
enabled: boolean;
|
|
3132
3136
|
passThreshold: number;
|
|
3133
3137
|
failureAction: "retry" | "flag" | "block";
|
|
3138
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3134
3139
|
retry?: {
|
|
3135
3140
|
maxAttempts: number;
|
|
3136
3141
|
augmentPrompt?: string | undefined;
|
|
@@ -3162,13 +3167,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3162
3167
|
dimensions?: {
|
|
3163
3168
|
id: string;
|
|
3164
3169
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3165
|
-
passThreshold?: number | undefined;
|
|
3166
3170
|
description?: string | undefined;
|
|
3171
|
+
passThreshold?: number | undefined;
|
|
3167
3172
|
rubricRef?: string | undefined;
|
|
3168
3173
|
gatePolicy?: {
|
|
3169
3174
|
passThreshold: number;
|
|
3170
3175
|
failureAction: "retry" | "flag" | "block";
|
|
3171
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3172
3176
|
retry?: {
|
|
3173
3177
|
maxAttempts: number;
|
|
3174
3178
|
augmentPrompt?: string | undefined;
|
|
@@ -3188,6 +3192,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3188
3192
|
} | undefined;
|
|
3189
3193
|
} | undefined;
|
|
3190
3194
|
enabled?: boolean | undefined;
|
|
3195
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3191
3196
|
} | undefined;
|
|
3192
3197
|
valueDomain?: {
|
|
3193
3198
|
values: string[];
|
|
@@ -3288,10 +3293,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3288
3293
|
} | undefined;
|
|
3289
3294
|
}>>;
|
|
3290
3295
|
}, "strip", ZodTypeAny$1, {
|
|
3291
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3292
3296
|
enabled: boolean;
|
|
3293
3297
|
passThreshold: number;
|
|
3294
3298
|
failureAction: "retry" | "flag" | "block";
|
|
3299
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3295
3300
|
retry?: {
|
|
3296
3301
|
maxAttempts: number;
|
|
3297
3302
|
augmentPrompt?: string | undefined;
|
|
@@ -3313,7 +3318,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3313
3318
|
}, {
|
|
3314
3319
|
passThreshold: number;
|
|
3315
3320
|
failureAction: "retry" | "flag" | "block";
|
|
3316
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3317
3321
|
retry?: {
|
|
3318
3322
|
maxAttempts: number;
|
|
3319
3323
|
augmentPrompt?: string | undefined;
|
|
@@ -3333,11 +3337,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3333
3337
|
} | undefined;
|
|
3334
3338
|
} | undefined;
|
|
3335
3339
|
enabled?: boolean | undefined;
|
|
3340
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3336
3341
|
}>, {
|
|
3337
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3338
3342
|
enabled: boolean;
|
|
3339
3343
|
passThreshold: number;
|
|
3340
3344
|
failureAction: "retry" | "flag" | "block";
|
|
3345
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3341
3346
|
retry?: {
|
|
3342
3347
|
maxAttempts: number;
|
|
3343
3348
|
augmentPrompt?: string | undefined;
|
|
@@ -3359,7 +3364,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3359
3364
|
}, {
|
|
3360
3365
|
passThreshold: number;
|
|
3361
3366
|
failureAction: "retry" | "flag" | "block";
|
|
3362
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3363
3367
|
retry?: {
|
|
3364
3368
|
maxAttempts: number;
|
|
3365
3369
|
augmentPrompt?: string | undefined;
|
|
@@ -3379,11 +3383,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3379
3383
|
} | undefined;
|
|
3380
3384
|
} | undefined;
|
|
3381
3385
|
enabled?: boolean | undefined;
|
|
3386
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3382
3387
|
}>, {
|
|
3383
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3384
3388
|
enabled: boolean;
|
|
3385
3389
|
passThreshold: number;
|
|
3386
3390
|
failureAction: "retry" | "flag" | "block";
|
|
3391
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3387
3392
|
retry?: {
|
|
3388
3393
|
maxAttempts: number;
|
|
3389
3394
|
augmentPrompt?: string | undefined;
|
|
@@ -3405,7 +3410,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3405
3410
|
}, {
|
|
3406
3411
|
passThreshold: number;
|
|
3407
3412
|
failureAction: "retry" | "flag" | "block";
|
|
3408
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3409
3413
|
retry?: {
|
|
3410
3414
|
maxAttempts: number;
|
|
3411
3415
|
augmentPrompt?: string | undefined;
|
|
@@ -3425,6 +3429,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3425
3429
|
} | undefined;
|
|
3426
3430
|
} | undefined;
|
|
3427
3431
|
enabled?: boolean | undefined;
|
|
3432
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3428
3433
|
}>>;
|
|
3429
3434
|
|
|
3430
3435
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -3440,14 +3445,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3440
3445
|
}, "strip", ZodTypeAny$1, {
|
|
3441
3446
|
id: string;
|
|
3442
3447
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3443
|
-
passThreshold?: number | undefined;
|
|
3444
3448
|
description?: string | undefined;
|
|
3449
|
+
passThreshold?: number | undefined;
|
|
3445
3450
|
rubricRef?: string | undefined;
|
|
3446
3451
|
gatePolicy?: {
|
|
3447
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3448
3452
|
enabled: boolean;
|
|
3449
3453
|
passThreshold: number;
|
|
3450
3454
|
failureAction: "retry" | "flag" | "block";
|
|
3455
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3451
3456
|
retry?: {
|
|
3452
3457
|
maxAttempts: number;
|
|
3453
3458
|
augmentPrompt?: string | undefined;
|
|
@@ -3474,13 +3479,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3474
3479
|
}, {
|
|
3475
3480
|
id: string;
|
|
3476
3481
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3477
|
-
passThreshold?: number | undefined;
|
|
3478
3482
|
description?: string | undefined;
|
|
3483
|
+
passThreshold?: number | undefined;
|
|
3479
3484
|
rubricRef?: string | undefined;
|
|
3480
3485
|
gatePolicy?: {
|
|
3481
3486
|
passThreshold: number;
|
|
3482
3487
|
failureAction: "retry" | "flag" | "block";
|
|
3483
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3484
3488
|
retry?: {
|
|
3485
3489
|
maxAttempts: number;
|
|
3486
3490
|
augmentPrompt?: string | undefined;
|
|
@@ -3500,6 +3504,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3500
3504
|
} | undefined;
|
|
3501
3505
|
} | undefined;
|
|
3502
3506
|
enabled?: boolean | undefined;
|
|
3507
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3503
3508
|
} | undefined;
|
|
3504
3509
|
valueDomain?: {
|
|
3505
3510
|
values: string[];
|
|
@@ -3513,14 +3518,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3513
3518
|
dimensions?: {
|
|
3514
3519
|
id: string;
|
|
3515
3520
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3516
|
-
passThreshold?: number | undefined;
|
|
3517
3521
|
description?: string | undefined;
|
|
3522
|
+
passThreshold?: number | undefined;
|
|
3518
3523
|
rubricRef?: string | undefined;
|
|
3519
3524
|
gatePolicy?: {
|
|
3520
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3521
3525
|
enabled: boolean;
|
|
3522
3526
|
passThreshold: number;
|
|
3523
3527
|
failureAction: "retry" | "flag" | "block";
|
|
3528
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3524
3529
|
retry?: {
|
|
3525
3530
|
maxAttempts: number;
|
|
3526
3531
|
augmentPrompt?: string | undefined;
|
|
@@ -3552,13 +3557,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3552
3557
|
dimensions?: {
|
|
3553
3558
|
id: string;
|
|
3554
3559
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3555
|
-
passThreshold?: number | undefined;
|
|
3556
3560
|
description?: string | undefined;
|
|
3561
|
+
passThreshold?: number | undefined;
|
|
3557
3562
|
rubricRef?: string | undefined;
|
|
3558
3563
|
gatePolicy?: {
|
|
3559
3564
|
passThreshold: number;
|
|
3560
3565
|
failureAction: "retry" | "flag" | "block";
|
|
3561
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3562
3566
|
retry?: {
|
|
3563
3567
|
maxAttempts: number;
|
|
3564
3568
|
augmentPrompt?: string | undefined;
|
|
@@ -3578,6 +3582,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3578
3582
|
} | undefined;
|
|
3579
3583
|
} | undefined;
|
|
3580
3584
|
enabled?: boolean | undefined;
|
|
3585
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3581
3586
|
} | undefined;
|
|
3582
3587
|
valueDomain?: {
|
|
3583
3588
|
values: string[];
|
|
@@ -3678,10 +3683,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3678
3683
|
} | undefined;
|
|
3679
3684
|
}>>;
|
|
3680
3685
|
}, "strip", ZodTypeAny$1, {
|
|
3681
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3682
3686
|
enabled: boolean;
|
|
3683
3687
|
passThreshold: number;
|
|
3684
3688
|
failureAction: "retry" | "flag" | "block";
|
|
3689
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3685
3690
|
retry?: {
|
|
3686
3691
|
maxAttempts: number;
|
|
3687
3692
|
augmentPrompt?: string | undefined;
|
|
@@ -3703,7 +3708,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3703
3708
|
}, {
|
|
3704
3709
|
passThreshold: number;
|
|
3705
3710
|
failureAction: "retry" | "flag" | "block";
|
|
3706
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3707
3711
|
retry?: {
|
|
3708
3712
|
maxAttempts: number;
|
|
3709
3713
|
augmentPrompt?: string | undefined;
|
|
@@ -3723,11 +3727,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3723
3727
|
} | undefined;
|
|
3724
3728
|
} | undefined;
|
|
3725
3729
|
enabled?: boolean | undefined;
|
|
3730
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3726
3731
|
}>, {
|
|
3727
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3728
3732
|
enabled: boolean;
|
|
3729
3733
|
passThreshold: number;
|
|
3730
3734
|
failureAction: "retry" | "flag" | "block";
|
|
3735
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3731
3736
|
retry?: {
|
|
3732
3737
|
maxAttempts: number;
|
|
3733
3738
|
augmentPrompt?: string | undefined;
|
|
@@ -3749,7 +3754,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3749
3754
|
}, {
|
|
3750
3755
|
passThreshold: number;
|
|
3751
3756
|
failureAction: "retry" | "flag" | "block";
|
|
3752
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3753
3757
|
retry?: {
|
|
3754
3758
|
maxAttempts: number;
|
|
3755
3759
|
augmentPrompt?: string | undefined;
|
|
@@ -3769,11 +3773,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3769
3773
|
} | undefined;
|
|
3770
3774
|
} | undefined;
|
|
3771
3775
|
enabled?: boolean | undefined;
|
|
3776
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3772
3777
|
}>, {
|
|
3773
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3774
3778
|
enabled: boolean;
|
|
3775
3779
|
passThreshold: number;
|
|
3776
3780
|
failureAction: "retry" | "flag" | "block";
|
|
3781
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3777
3782
|
retry?: {
|
|
3778
3783
|
maxAttempts: number;
|
|
3779
3784
|
augmentPrompt?: string | undefined;
|
|
@@ -3795,7 +3800,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3795
3800
|
}, {
|
|
3796
3801
|
passThreshold: number;
|
|
3797
3802
|
failureAction: "retry" | "flag" | "block";
|
|
3798
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3799
3803
|
retry?: {
|
|
3800
3804
|
maxAttempts: number;
|
|
3801
3805
|
augmentPrompt?: string | undefined;
|
|
@@ -3815,6 +3819,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3815
3819
|
} | undefined;
|
|
3816
3820
|
} | undefined;
|
|
3817
3821
|
enabled?: boolean | undefined;
|
|
3822
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3818
3823
|
}>>;
|
|
3819
3824
|
|
|
3820
3825
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -3830,14 +3835,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3830
3835
|
}, "strip", ZodTypeAny$1, {
|
|
3831
3836
|
id: string;
|
|
3832
3837
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3833
|
-
passThreshold?: number | undefined;
|
|
3834
3838
|
description?: string | undefined;
|
|
3839
|
+
passThreshold?: number | undefined;
|
|
3835
3840
|
rubricRef?: string | undefined;
|
|
3836
3841
|
gatePolicy?: {
|
|
3837
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3838
3842
|
enabled: boolean;
|
|
3839
3843
|
passThreshold: number;
|
|
3840
3844
|
failureAction: "retry" | "flag" | "block";
|
|
3845
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3841
3846
|
retry?: {
|
|
3842
3847
|
maxAttempts: number;
|
|
3843
3848
|
augmentPrompt?: string | undefined;
|
|
@@ -3864,13 +3869,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3864
3869
|
}, {
|
|
3865
3870
|
id: string;
|
|
3866
3871
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3867
|
-
passThreshold?: number | undefined;
|
|
3868
3872
|
description?: string | undefined;
|
|
3873
|
+
passThreshold?: number | undefined;
|
|
3869
3874
|
rubricRef?: string | undefined;
|
|
3870
3875
|
gatePolicy?: {
|
|
3871
3876
|
passThreshold: number;
|
|
3872
3877
|
failureAction: "retry" | "flag" | "block";
|
|
3873
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3874
3878
|
retry?: {
|
|
3875
3879
|
maxAttempts: number;
|
|
3876
3880
|
augmentPrompt?: string | undefined;
|
|
@@ -3890,6 +3894,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3890
3894
|
} | undefined;
|
|
3891
3895
|
} | undefined;
|
|
3892
3896
|
enabled?: boolean | undefined;
|
|
3897
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3893
3898
|
} | undefined;
|
|
3894
3899
|
valueDomain?: {
|
|
3895
3900
|
values: string[];
|
|
@@ -3903,14 +3908,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3903
3908
|
dimensions?: {
|
|
3904
3909
|
id: string;
|
|
3905
3910
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3906
|
-
passThreshold?: number | undefined;
|
|
3907
3911
|
description?: string | undefined;
|
|
3912
|
+
passThreshold?: number | undefined;
|
|
3908
3913
|
rubricRef?: string | undefined;
|
|
3909
3914
|
gatePolicy?: {
|
|
3910
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3911
3915
|
enabled: boolean;
|
|
3912
3916
|
passThreshold: number;
|
|
3913
3917
|
failureAction: "retry" | "flag" | "block";
|
|
3918
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3914
3919
|
retry?: {
|
|
3915
3920
|
maxAttempts: number;
|
|
3916
3921
|
augmentPrompt?: string | undefined;
|
|
@@ -3942,13 +3947,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3942
3947
|
dimensions?: {
|
|
3943
3948
|
id: string;
|
|
3944
3949
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
3945
|
-
passThreshold?: number | undefined;
|
|
3946
3950
|
description?: string | undefined;
|
|
3951
|
+
passThreshold?: number | undefined;
|
|
3947
3952
|
rubricRef?: string | undefined;
|
|
3948
3953
|
gatePolicy?: {
|
|
3949
3954
|
passThreshold: number;
|
|
3950
3955
|
failureAction: "retry" | "flag" | "block";
|
|
3951
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3952
3956
|
retry?: {
|
|
3953
3957
|
maxAttempts: number;
|
|
3954
3958
|
augmentPrompt?: string | undefined;
|
|
@@ -3968,6 +3972,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3968
3972
|
} | undefined;
|
|
3969
3973
|
} | undefined;
|
|
3970
3974
|
enabled?: boolean | undefined;
|
|
3975
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3971
3976
|
} | undefined;
|
|
3972
3977
|
valueDomain?: {
|
|
3973
3978
|
values: string[];
|
|
@@ -4068,10 +4073,10 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4068
4073
|
} | undefined;
|
|
4069
4074
|
}>>;
|
|
4070
4075
|
}, "strip", ZodTypeAny$1, {
|
|
4071
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4072
4076
|
enabled: boolean;
|
|
4073
4077
|
passThreshold: number;
|
|
4074
4078
|
failureAction: "retry" | "flag" | "block";
|
|
4079
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4075
4080
|
retry?: {
|
|
4076
4081
|
maxAttempts: number;
|
|
4077
4082
|
augmentPrompt?: string | undefined;
|
|
@@ -4093,7 +4098,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4093
4098
|
}, {
|
|
4094
4099
|
passThreshold: number;
|
|
4095
4100
|
failureAction: "retry" | "flag" | "block";
|
|
4096
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4097
4101
|
retry?: {
|
|
4098
4102
|
maxAttempts: number;
|
|
4099
4103
|
augmentPrompt?: string | undefined;
|
|
@@ -4113,11 +4117,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4113
4117
|
} | undefined;
|
|
4114
4118
|
} | undefined;
|
|
4115
4119
|
enabled?: boolean | undefined;
|
|
4120
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4116
4121
|
}>, {
|
|
4117
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4118
4122
|
enabled: boolean;
|
|
4119
4123
|
passThreshold: number;
|
|
4120
4124
|
failureAction: "retry" | "flag" | "block";
|
|
4125
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4121
4126
|
retry?: {
|
|
4122
4127
|
maxAttempts: number;
|
|
4123
4128
|
augmentPrompt?: string | undefined;
|
|
@@ -4139,7 +4144,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4139
4144
|
}, {
|
|
4140
4145
|
passThreshold: number;
|
|
4141
4146
|
failureAction: "retry" | "flag" | "block";
|
|
4142
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4143
4147
|
retry?: {
|
|
4144
4148
|
maxAttempts: number;
|
|
4145
4149
|
augmentPrompt?: string | undefined;
|
|
@@ -4159,11 +4163,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4159
4163
|
} | undefined;
|
|
4160
4164
|
} | undefined;
|
|
4161
4165
|
enabled?: boolean | undefined;
|
|
4166
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4162
4167
|
}>, {
|
|
4163
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4164
4168
|
enabled: boolean;
|
|
4165
4169
|
passThreshold: number;
|
|
4166
4170
|
failureAction: "retry" | "flag" | "block";
|
|
4171
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4167
4172
|
retry?: {
|
|
4168
4173
|
maxAttempts: number;
|
|
4169
4174
|
augmentPrompt?: string | undefined;
|
|
@@ -4185,7 +4190,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4185
4190
|
}, {
|
|
4186
4191
|
passThreshold: number;
|
|
4187
4192
|
failureAction: "retry" | "flag" | "block";
|
|
4188
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4189
4193
|
retry?: {
|
|
4190
4194
|
maxAttempts: number;
|
|
4191
4195
|
augmentPrompt?: string | undefined;
|
|
@@ -4205,6 +4209,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4205
4209
|
} | undefined;
|
|
4206
4210
|
} | undefined;
|
|
4207
4211
|
enabled?: boolean | undefined;
|
|
4212
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4208
4213
|
}>>;
|
|
4209
4214
|
|
|
4210
4215
|
valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
@@ -4220,14 +4225,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4220
4225
|
}, "strip", ZodTypeAny$1, {
|
|
4221
4226
|
id: string;
|
|
4222
4227
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4223
|
-
passThreshold?: number | undefined;
|
|
4224
4228
|
description?: string | undefined;
|
|
4229
|
+
passThreshold?: number | undefined;
|
|
4225
4230
|
rubricRef?: string | undefined;
|
|
4226
4231
|
gatePolicy?: {
|
|
4227
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4228
4232
|
enabled: boolean;
|
|
4229
4233
|
passThreshold: number;
|
|
4230
4234
|
failureAction: "retry" | "flag" | "block";
|
|
4235
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4231
4236
|
retry?: {
|
|
4232
4237
|
maxAttempts: number;
|
|
4233
4238
|
augmentPrompt?: string | undefined;
|
|
@@ -4254,13 +4259,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4254
4259
|
}, {
|
|
4255
4260
|
id: string;
|
|
4256
4261
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4257
|
-
passThreshold?: number | undefined;
|
|
4258
4262
|
description?: string | undefined;
|
|
4263
|
+
passThreshold?: number | undefined;
|
|
4259
4264
|
rubricRef?: string | undefined;
|
|
4260
4265
|
gatePolicy?: {
|
|
4261
4266
|
passThreshold: number;
|
|
4262
4267
|
failureAction: "retry" | "flag" | "block";
|
|
4263
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4264
4268
|
retry?: {
|
|
4265
4269
|
maxAttempts: number;
|
|
4266
4270
|
augmentPrompt?: string | undefined;
|
|
@@ -4280,6 +4284,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4280
4284
|
} | undefined;
|
|
4281
4285
|
} | undefined;
|
|
4282
4286
|
enabled?: boolean | undefined;
|
|
4287
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4283
4288
|
} | undefined;
|
|
4284
4289
|
valueDomain?: {
|
|
4285
4290
|
values: string[];
|
|
@@ -4293,14 +4298,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4293
4298
|
dimensions?: {
|
|
4294
4299
|
id: string;
|
|
4295
4300
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4296
|
-
passThreshold?: number | undefined;
|
|
4297
4301
|
description?: string | undefined;
|
|
4302
|
+
passThreshold?: number | undefined;
|
|
4298
4303
|
rubricRef?: string | undefined;
|
|
4299
4304
|
gatePolicy?: {
|
|
4300
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4301
4305
|
enabled: boolean;
|
|
4302
4306
|
passThreshold: number;
|
|
4303
4307
|
failureAction: "retry" | "flag" | "block";
|
|
4308
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4304
4309
|
retry?: {
|
|
4305
4310
|
maxAttempts: number;
|
|
4306
4311
|
augmentPrompt?: string | undefined;
|
|
@@ -4332,13 +4337,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4332
4337
|
dimensions?: {
|
|
4333
4338
|
id: string;
|
|
4334
4339
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4335
|
-
passThreshold?: number | undefined;
|
|
4336
4340
|
description?: string | undefined;
|
|
4341
|
+
passThreshold?: number | undefined;
|
|
4337
4342
|
rubricRef?: string | undefined;
|
|
4338
4343
|
gatePolicy?: {
|
|
4339
4344
|
passThreshold: number;
|
|
4340
4345
|
failureAction: "retry" | "flag" | "block";
|
|
4341
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4342
4346
|
retry?: {
|
|
4343
4347
|
maxAttempts: number;
|
|
4344
4348
|
augmentPrompt?: string | undefined;
|
|
@@ -4358,6 +4362,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4358
4362
|
} | undefined;
|
|
4359
4363
|
} | undefined;
|
|
4360
4364
|
enabled?: boolean | undefined;
|
|
4365
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4361
4366
|
} | undefined;
|
|
4362
4367
|
valueDomain?: {
|
|
4363
4368
|
values: string[];
|
|
@@ -4373,14 +4378,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4373
4378
|
dimensions?: {
|
|
4374
4379
|
id: string;
|
|
4375
4380
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4376
|
-
passThreshold?: number | undefined;
|
|
4377
4381
|
description?: string | undefined;
|
|
4382
|
+
passThreshold?: number | undefined;
|
|
4378
4383
|
rubricRef?: string | undefined;
|
|
4379
4384
|
gatePolicy?: {
|
|
4380
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4381
4385
|
enabled: boolean;
|
|
4382
4386
|
passThreshold: number;
|
|
4383
4387
|
failureAction: "retry" | "flag" | "block";
|
|
4388
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4384
4389
|
retry?: {
|
|
4385
4390
|
maxAttempts: number;
|
|
4386
4391
|
augmentPrompt?: string | undefined;
|
|
@@ -4413,14 +4418,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4413
4418
|
dimensions?: {
|
|
4414
4419
|
id: string;
|
|
4415
4420
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4416
|
-
passThreshold?: number | undefined;
|
|
4417
4421
|
description?: string | undefined;
|
|
4422
|
+
passThreshold?: number | undefined;
|
|
4418
4423
|
rubricRef?: string | undefined;
|
|
4419
4424
|
gatePolicy?: {
|
|
4420
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4421
4425
|
enabled: boolean;
|
|
4422
4426
|
passThreshold: number;
|
|
4423
4427
|
failureAction: "retry" | "flag" | "block";
|
|
4428
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4424
4429
|
retry?: {
|
|
4425
4430
|
maxAttempts: number;
|
|
4426
4431
|
augmentPrompt?: string | undefined;
|
|
@@ -4453,14 +4458,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4453
4458
|
dimensions?: {
|
|
4454
4459
|
id: string;
|
|
4455
4460
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4456
|
-
passThreshold?: number | undefined;
|
|
4457
4461
|
description?: string | undefined;
|
|
4462
|
+
passThreshold?: number | undefined;
|
|
4458
4463
|
rubricRef?: string | undefined;
|
|
4459
4464
|
gatePolicy?: {
|
|
4460
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4461
4465
|
enabled: boolean;
|
|
4462
4466
|
passThreshold: number;
|
|
4463
4467
|
failureAction: "retry" | "flag" | "block";
|
|
4468
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4464
4469
|
retry?: {
|
|
4465
4470
|
maxAttempts: number;
|
|
4466
4471
|
augmentPrompt?: string | undefined;
|
|
@@ -4493,14 +4498,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4493
4498
|
dimensions?: {
|
|
4494
4499
|
id: string;
|
|
4495
4500
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4496
|
-
passThreshold?: number | undefined;
|
|
4497
4501
|
description?: string | undefined;
|
|
4502
|
+
passThreshold?: number | undefined;
|
|
4498
4503
|
rubricRef?: string | undefined;
|
|
4499
4504
|
gatePolicy?: {
|
|
4500
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4501
4505
|
enabled: boolean;
|
|
4502
4506
|
passThreshold: number;
|
|
4503
4507
|
failureAction: "retry" | "flag" | "block";
|
|
4508
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4504
4509
|
retry?: {
|
|
4505
4510
|
maxAttempts: number;
|
|
4506
4511
|
augmentPrompt?: string | undefined;
|
|
@@ -4533,14 +4538,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4533
4538
|
dimensions?: {
|
|
4534
4539
|
id: string;
|
|
4535
4540
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4536
|
-
passThreshold?: number | undefined;
|
|
4537
4541
|
description?: string | undefined;
|
|
4542
|
+
passThreshold?: number | undefined;
|
|
4538
4543
|
rubricRef?: string | undefined;
|
|
4539
4544
|
gatePolicy?: {
|
|
4540
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4541
4545
|
enabled: boolean;
|
|
4542
4546
|
passThreshold: number;
|
|
4543
4547
|
failureAction: "retry" | "flag" | "block";
|
|
4548
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4544
4549
|
retry?: {
|
|
4545
4550
|
maxAttempts: number;
|
|
4546
4551
|
augmentPrompt?: string | undefined;
|
|
@@ -4574,13 +4579,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4574
4579
|
dimensions?: {
|
|
4575
4580
|
id: string;
|
|
4576
4581
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4577
|
-
passThreshold?: number | undefined;
|
|
4578
4582
|
description?: string | undefined;
|
|
4583
|
+
passThreshold?: number | undefined;
|
|
4579
4584
|
rubricRef?: string | undefined;
|
|
4580
4585
|
gatePolicy?: {
|
|
4581
4586
|
passThreshold: number;
|
|
4582
4587
|
failureAction: "retry" | "flag" | "block";
|
|
4583
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4584
4588
|
retry?: {
|
|
4585
4589
|
maxAttempts: number;
|
|
4586
4590
|
augmentPrompt?: string | undefined;
|
|
@@ -4600,6 +4604,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4600
4604
|
} | undefined;
|
|
4601
4605
|
} | undefined;
|
|
4602
4606
|
enabled?: boolean | undefined;
|
|
4607
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4603
4608
|
} | undefined;
|
|
4604
4609
|
valueDomain?: {
|
|
4605
4610
|
values: string[];
|
|
@@ -4614,13 +4619,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4614
4619
|
dimensions?: {
|
|
4615
4620
|
id: string;
|
|
4616
4621
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4617
|
-
passThreshold?: number | undefined;
|
|
4618
4622
|
description?: string | undefined;
|
|
4623
|
+
passThreshold?: number | undefined;
|
|
4619
4624
|
rubricRef?: string | undefined;
|
|
4620
4625
|
gatePolicy?: {
|
|
4621
4626
|
passThreshold: number;
|
|
4622
4627
|
failureAction: "retry" | "flag" | "block";
|
|
4623
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4624
4628
|
retry?: {
|
|
4625
4629
|
maxAttempts: number;
|
|
4626
4630
|
augmentPrompt?: string | undefined;
|
|
@@ -4640,6 +4644,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4640
4644
|
} | undefined;
|
|
4641
4645
|
} | undefined;
|
|
4642
4646
|
enabled?: boolean | undefined;
|
|
4647
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4643
4648
|
} | undefined;
|
|
4644
4649
|
valueDomain?: {
|
|
4645
4650
|
values: string[];
|
|
@@ -4654,13 +4659,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4654
4659
|
dimensions?: {
|
|
4655
4660
|
id: string;
|
|
4656
4661
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4657
|
-
passThreshold?: number | undefined;
|
|
4658
4662
|
description?: string | undefined;
|
|
4663
|
+
passThreshold?: number | undefined;
|
|
4659
4664
|
rubricRef?: string | undefined;
|
|
4660
4665
|
gatePolicy?: {
|
|
4661
4666
|
passThreshold: number;
|
|
4662
4667
|
failureAction: "retry" | "flag" | "block";
|
|
4663
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4664
4668
|
retry?: {
|
|
4665
4669
|
maxAttempts: number;
|
|
4666
4670
|
augmentPrompt?: string | undefined;
|
|
@@ -4680,6 +4684,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4680
4684
|
} | undefined;
|
|
4681
4685
|
} | undefined;
|
|
4682
4686
|
enabled?: boolean | undefined;
|
|
4687
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4683
4688
|
} | undefined;
|
|
4684
4689
|
valueDomain?: {
|
|
4685
4690
|
values: string[];
|
|
@@ -4694,13 +4699,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4694
4699
|
dimensions?: {
|
|
4695
4700
|
id: string;
|
|
4696
4701
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4697
|
-
passThreshold?: number | undefined;
|
|
4698
4702
|
description?: string | undefined;
|
|
4703
|
+
passThreshold?: number | undefined;
|
|
4699
4704
|
rubricRef?: string | undefined;
|
|
4700
4705
|
gatePolicy?: {
|
|
4701
4706
|
passThreshold: number;
|
|
4702
4707
|
failureAction: "retry" | "flag" | "block";
|
|
4703
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4704
4708
|
retry?: {
|
|
4705
4709
|
maxAttempts: number;
|
|
4706
4710
|
augmentPrompt?: string | undefined;
|
|
@@ -4720,6 +4724,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4720
4724
|
} | undefined;
|
|
4721
4725
|
} | undefined;
|
|
4722
4726
|
enabled?: boolean | undefined;
|
|
4727
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4723
4728
|
} | undefined;
|
|
4724
4729
|
valueDomain?: {
|
|
4725
4730
|
values: string[];
|
|
@@ -4734,13 +4739,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4734
4739
|
dimensions?: {
|
|
4735
4740
|
id: string;
|
|
4736
4741
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4737
|
-
passThreshold?: number | undefined;
|
|
4738
4742
|
description?: string | undefined;
|
|
4743
|
+
passThreshold?: number | undefined;
|
|
4739
4744
|
rubricRef?: string | undefined;
|
|
4740
4745
|
gatePolicy?: {
|
|
4741
4746
|
passThreshold: number;
|
|
4742
4747
|
failureAction: "retry" | "flag" | "block";
|
|
4743
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4744
4748
|
retry?: {
|
|
4745
4749
|
maxAttempts: number;
|
|
4746
4750
|
augmentPrompt?: string | undefined;
|
|
@@ -4760,6 +4764,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4760
4764
|
} | undefined;
|
|
4761
4765
|
} | undefined;
|
|
4762
4766
|
enabled?: boolean | undefined;
|
|
4767
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4763
4768
|
} | undefined;
|
|
4764
4769
|
valueDomain?: {
|
|
4765
4770
|
values: string[];
|
|
@@ -4771,19 +4776,19 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4771
4776
|
}, "strip", ZodTypeAny$1, {
|
|
4772
4777
|
agentId: string;
|
|
4773
4778
|
surfaces: {
|
|
4774
|
-
status: "active" | "forward-declared" | "deprecated";
|
|
4775
4779
|
id: string;
|
|
4780
|
+
status: "active" | "forward-declared" | "deprecated";
|
|
4776
4781
|
dimensions: {
|
|
4777
4782
|
id: string;
|
|
4778
4783
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4779
|
-
passThreshold?: number | undefined;
|
|
4780
4784
|
description?: string | undefined;
|
|
4785
|
+
passThreshold?: number | undefined;
|
|
4781
4786
|
rubricRef?: string | undefined;
|
|
4782
4787
|
gatePolicy?: {
|
|
4783
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4784
4788
|
enabled: boolean;
|
|
4785
4789
|
passThreshold: number;
|
|
4786
4790
|
failureAction: "retry" | "flag" | "block";
|
|
4791
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4787
4792
|
retry?: {
|
|
4788
4793
|
maxAttempts: number;
|
|
4789
4794
|
augmentPrompt?: string | undefined;
|
|
@@ -4814,8 +4819,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4814
4819
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
4815
4820
|
visibility: "transparent" | "announced" | "opaque";
|
|
4816
4821
|
semantic: "deployment-state" | "diagnostic";
|
|
4817
|
-
values?: string[] | undefined;
|
|
4818
4822
|
description?: string | undefined;
|
|
4823
|
+
values?: string[] | undefined;
|
|
4824
|
+
emissionExpectation?: "always" | "conditional" | undefined;
|
|
4819
4825
|
}[];
|
|
4820
4826
|
removedDimensions: {
|
|
4821
4827
|
id: string;
|
|
@@ -4861,14 +4867,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4861
4867
|
dimensions?: {
|
|
4862
4868
|
id: string;
|
|
4863
4869
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4864
|
-
passThreshold?: number | undefined;
|
|
4865
4870
|
description?: string | undefined;
|
|
4871
|
+
passThreshold?: number | undefined;
|
|
4866
4872
|
rubricRef?: string | undefined;
|
|
4867
4873
|
gatePolicy?: {
|
|
4868
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4869
4874
|
enabled: boolean;
|
|
4870
4875
|
passThreshold: number;
|
|
4871
4876
|
failureAction: "retry" | "flag" | "block";
|
|
4877
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4872
4878
|
retry?: {
|
|
4873
4879
|
maxAttempts: number;
|
|
4874
4880
|
augmentPrompt?: string | undefined;
|
|
@@ -4901,14 +4907,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4901
4907
|
dimensions?: {
|
|
4902
4908
|
id: string;
|
|
4903
4909
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4904
|
-
passThreshold?: number | undefined;
|
|
4905
4910
|
description?: string | undefined;
|
|
4911
|
+
passThreshold?: number | undefined;
|
|
4906
4912
|
rubricRef?: string | undefined;
|
|
4907
4913
|
gatePolicy?: {
|
|
4908
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4909
4914
|
enabled: boolean;
|
|
4910
4915
|
passThreshold: number;
|
|
4911
4916
|
failureAction: "retry" | "flag" | "block";
|
|
4917
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4912
4918
|
retry?: {
|
|
4913
4919
|
maxAttempts: number;
|
|
4914
4920
|
augmentPrompt?: string | undefined;
|
|
@@ -4941,14 +4947,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4941
4947
|
dimensions?: {
|
|
4942
4948
|
id: string;
|
|
4943
4949
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4944
|
-
passThreshold?: number | undefined;
|
|
4945
4950
|
description?: string | undefined;
|
|
4951
|
+
passThreshold?: number | undefined;
|
|
4946
4952
|
rubricRef?: string | undefined;
|
|
4947
4953
|
gatePolicy?: {
|
|
4948
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4949
4954
|
enabled: boolean;
|
|
4950
4955
|
passThreshold: number;
|
|
4951
4956
|
failureAction: "retry" | "flag" | "block";
|
|
4957
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4952
4958
|
retry?: {
|
|
4953
4959
|
maxAttempts: number;
|
|
4954
4960
|
augmentPrompt?: string | undefined;
|
|
@@ -4981,14 +4987,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4981
4987
|
dimensions?: {
|
|
4982
4988
|
id: string;
|
|
4983
4989
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
4984
|
-
passThreshold?: number | undefined;
|
|
4985
4990
|
description?: string | undefined;
|
|
4991
|
+
passThreshold?: number | undefined;
|
|
4986
4992
|
rubricRef?: string | undefined;
|
|
4987
4993
|
gatePolicy?: {
|
|
4988
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4989
4994
|
enabled: boolean;
|
|
4990
4995
|
passThreshold: number;
|
|
4991
4996
|
failureAction: "retry" | "flag" | "block";
|
|
4997
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4992
4998
|
retry?: {
|
|
4993
4999
|
maxAttempts: number;
|
|
4994
5000
|
augmentPrompt?: string | undefined;
|
|
@@ -5021,14 +5027,14 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5021
5027
|
dimensions?: {
|
|
5022
5028
|
id: string;
|
|
5023
5029
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5024
|
-
passThreshold?: number | undefined;
|
|
5025
5030
|
description?: string | undefined;
|
|
5031
|
+
passThreshold?: number | undefined;
|
|
5026
5032
|
rubricRef?: string | undefined;
|
|
5027
5033
|
gatePolicy?: {
|
|
5028
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
5029
5034
|
enabled: boolean;
|
|
5030
5035
|
passThreshold: number;
|
|
5031
5036
|
failureAction: "retry" | "flag" | "block";
|
|
5037
|
+
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
5032
5038
|
retry?: {
|
|
5033
5039
|
maxAttempts: number;
|
|
5034
5040
|
augmentPrompt?: string | undefined;
|
|
@@ -5062,13 +5068,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5062
5068
|
dimensions: {
|
|
5063
5069
|
id: string;
|
|
5064
5070
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5065
|
-
passThreshold?: number | undefined;
|
|
5066
5071
|
description?: string | undefined;
|
|
5072
|
+
passThreshold?: number | undefined;
|
|
5067
5073
|
rubricRef?: string | undefined;
|
|
5068
5074
|
gatePolicy?: {
|
|
5069
5075
|
passThreshold: number;
|
|
5070
5076
|
failureAction: "retry" | "flag" | "block";
|
|
5071
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5072
5077
|
retry?: {
|
|
5073
5078
|
maxAttempts: number;
|
|
5074
5079
|
augmentPrompt?: string | undefined;
|
|
@@ -5088,22 +5093,24 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5088
5093
|
} | undefined;
|
|
5089
5094
|
} | undefined;
|
|
5090
5095
|
enabled?: boolean | undefined;
|
|
5096
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5091
5097
|
} | undefined;
|
|
5092
5098
|
valueDomain?: {
|
|
5093
5099
|
values: string[];
|
|
5094
5100
|
kind: "enum";
|
|
5095
5101
|
} | undefined;
|
|
5096
5102
|
}[];
|
|
5097
|
-
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
5098
5103
|
description?: string | undefined;
|
|
5104
|
+
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
5099
5105
|
cohortTags?: string[] | undefined;
|
|
5100
5106
|
substrateColumns?: {
|
|
5101
5107
|
id: string;
|
|
5102
5108
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
5103
5109
|
visibility: "transparent" | "announced" | "opaque";
|
|
5104
|
-
values?: string[] | undefined;
|
|
5105
5110
|
description?: string | undefined;
|
|
5106
5111
|
semantic?: "deployment-state" | "diagnostic" | undefined;
|
|
5112
|
+
values?: string[] | undefined;
|
|
5113
|
+
emissionExpectation?: "always" | "conditional" | undefined;
|
|
5107
5114
|
}[] | undefined;
|
|
5108
5115
|
removedDimensions?: {
|
|
5109
5116
|
id: string;
|
|
@@ -5148,13 +5155,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5148
5155
|
dimensions?: {
|
|
5149
5156
|
id: string;
|
|
5150
5157
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5151
|
-
passThreshold?: number | undefined;
|
|
5152
5158
|
description?: string | undefined;
|
|
5159
|
+
passThreshold?: number | undefined;
|
|
5153
5160
|
rubricRef?: string | undefined;
|
|
5154
5161
|
gatePolicy?: {
|
|
5155
5162
|
passThreshold: number;
|
|
5156
5163
|
failureAction: "retry" | "flag" | "block";
|
|
5157
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5158
5164
|
retry?: {
|
|
5159
5165
|
maxAttempts: number;
|
|
5160
5166
|
augmentPrompt?: string | undefined;
|
|
@@ -5174,6 +5180,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5174
5180
|
} | undefined;
|
|
5175
5181
|
} | undefined;
|
|
5176
5182
|
enabled?: boolean | undefined;
|
|
5183
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5177
5184
|
} | undefined;
|
|
5178
5185
|
valueDomain?: {
|
|
5179
5186
|
values: string[];
|
|
@@ -5188,13 +5195,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5188
5195
|
dimensions?: {
|
|
5189
5196
|
id: string;
|
|
5190
5197
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5191
|
-
passThreshold?: number | undefined;
|
|
5192
5198
|
description?: string | undefined;
|
|
5199
|
+
passThreshold?: number | undefined;
|
|
5193
5200
|
rubricRef?: string | undefined;
|
|
5194
5201
|
gatePolicy?: {
|
|
5195
5202
|
passThreshold: number;
|
|
5196
5203
|
failureAction: "retry" | "flag" | "block";
|
|
5197
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5198
5204
|
retry?: {
|
|
5199
5205
|
maxAttempts: number;
|
|
5200
5206
|
augmentPrompt?: string | undefined;
|
|
@@ -5214,6 +5220,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5214
5220
|
} | undefined;
|
|
5215
5221
|
} | undefined;
|
|
5216
5222
|
enabled?: boolean | undefined;
|
|
5223
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5217
5224
|
} | undefined;
|
|
5218
5225
|
valueDomain?: {
|
|
5219
5226
|
values: string[];
|
|
@@ -5228,13 +5235,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5228
5235
|
dimensions?: {
|
|
5229
5236
|
id: string;
|
|
5230
5237
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5231
|
-
passThreshold?: number | undefined;
|
|
5232
5238
|
description?: string | undefined;
|
|
5239
|
+
passThreshold?: number | undefined;
|
|
5233
5240
|
rubricRef?: string | undefined;
|
|
5234
5241
|
gatePolicy?: {
|
|
5235
5242
|
passThreshold: number;
|
|
5236
5243
|
failureAction: "retry" | "flag" | "block";
|
|
5237
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5238
5244
|
retry?: {
|
|
5239
5245
|
maxAttempts: number;
|
|
5240
5246
|
augmentPrompt?: string | undefined;
|
|
@@ -5254,6 +5260,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5254
5260
|
} | undefined;
|
|
5255
5261
|
} | undefined;
|
|
5256
5262
|
enabled?: boolean | undefined;
|
|
5263
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5257
5264
|
} | undefined;
|
|
5258
5265
|
valueDomain?: {
|
|
5259
5266
|
values: string[];
|
|
@@ -5268,13 +5275,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5268
5275
|
dimensions?: {
|
|
5269
5276
|
id: string;
|
|
5270
5277
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5271
|
-
passThreshold?: number | undefined;
|
|
5272
5278
|
description?: string | undefined;
|
|
5279
|
+
passThreshold?: number | undefined;
|
|
5273
5280
|
rubricRef?: string | undefined;
|
|
5274
5281
|
gatePolicy?: {
|
|
5275
5282
|
passThreshold: number;
|
|
5276
5283
|
failureAction: "retry" | "flag" | "block";
|
|
5277
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5278
5284
|
retry?: {
|
|
5279
5285
|
maxAttempts: number;
|
|
5280
5286
|
augmentPrompt?: string | undefined;
|
|
@@ -5294,6 +5300,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5294
5300
|
} | undefined;
|
|
5295
5301
|
} | undefined;
|
|
5296
5302
|
enabled?: boolean | undefined;
|
|
5303
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5297
5304
|
} | undefined;
|
|
5298
5305
|
valueDomain?: {
|
|
5299
5306
|
values: string[];
|
|
@@ -5308,13 +5315,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5308
5315
|
dimensions?: {
|
|
5309
5316
|
id: string;
|
|
5310
5317
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
5311
|
-
passThreshold?: number | undefined;
|
|
5312
5318
|
description?: string | undefined;
|
|
5319
|
+
passThreshold?: number | undefined;
|
|
5313
5320
|
rubricRef?: string | undefined;
|
|
5314
5321
|
gatePolicy?: {
|
|
5315
5322
|
passThreshold: number;
|
|
5316
5323
|
failureAction: "retry" | "flag" | "block";
|
|
5317
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5318
5324
|
retry?: {
|
|
5319
5325
|
maxAttempts: number;
|
|
5320
5326
|
augmentPrompt?: string | undefined;
|
|
@@ -5334,6 +5340,7 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5334
5340
|
} | undefined;
|
|
5335
5341
|
} | undefined;
|
|
5336
5342
|
enabled?: boolean | undefined;
|
|
5343
|
+
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
5337
5344
|
} | undefined;
|
|
5338
5345
|
valueDomain?: {
|
|
5339
5346
|
values: string[];
|
|
@@ -8248,10 +8255,10 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8248
8255
|
sourceSurfaceId?: string | undefined;
|
|
8249
8256
|
}>>;
|
|
8250
8257
|
}, "strip", ZodTypeAny$1, {
|
|
8251
|
-
surfaceId: string;
|
|
8252
|
-
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
|
|
8253
8258
|
lensVersion: string;
|
|
8254
8259
|
correlationId: string;
|
|
8260
|
+
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
|
|
8261
|
+
surfaceId: string;
|
|
8255
8262
|
occurredAt: string;
|
|
8256
8263
|
eventId: string;
|
|
8257
8264
|
substrate?: {
|
|
@@ -8614,9 +8621,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8614
8621
|
sourceSurfaceId?: string | undefined;
|
|
8615
8622
|
} | undefined;
|
|
8616
8623
|
}, {
|
|
8617
|
-
surfaceId: string;
|
|
8618
8624
|
lensVersion: string;
|
|
8619
8625
|
correlationId: string;
|
|
8626
|
+
surfaceId: string;
|
|
8620
8627
|
occurredAt: string;
|
|
8621
8628
|
eventId: string;
|
|
8622
8629
|
substrate?: {
|
|
@@ -8980,10 +8987,10 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
8980
8987
|
sourceSurfaceId?: string | undefined;
|
|
8981
8988
|
} | undefined;
|
|
8982
8989
|
}>, {
|
|
8983
|
-
surfaceId: string;
|
|
8984
|
-
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
|
|
8985
8990
|
lensVersion: string;
|
|
8986
8991
|
correlationId: string;
|
|
8992
|
+
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
|
|
8993
|
+
surfaceId: string;
|
|
8987
8994
|
occurredAt: string;
|
|
8988
8995
|
eventId: string;
|
|
8989
8996
|
substrate?: {
|
|
@@ -9346,9 +9353,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
9346
9353
|
sourceSurfaceId?: string | undefined;
|
|
9347
9354
|
} | undefined;
|
|
9348
9355
|
}, {
|
|
9349
|
-
surfaceId: string;
|
|
9350
9356
|
lensVersion: string;
|
|
9351
9357
|
correlationId: string;
|
|
9358
|
+
surfaceId: string;
|
|
9352
9359
|
occurredAt: string;
|
|
9353
9360
|
eventId: string;
|
|
9354
9361
|
substrate?: {
|
|
@@ -10989,6 +10996,8 @@ interface ContractSurfaceSummary {
|
|
|
10989
10996
|
dimensionCount: number;
|
|
10990
10997
|
cohortTagCount: number;
|
|
10991
10998
|
substrateColumnCount: number;
|
|
10999
|
+
|
|
11000
|
+
substrateColumnIds?: string[];
|
|
10992
11001
|
gatedDimensionIds: string[];
|
|
10993
11002
|
}
|
|
10994
11003
|
|
|
@@ -11006,6 +11015,8 @@ interface Transport {
|
|
|
11006
11015
|
|
|
11007
11016
|
postContract?(contract: SurfaceContract): Promise<ContractRegisterResponse>;
|
|
11008
11017
|
|
|
11018
|
+
getContract?(): Promise<ContractRegisterResponse>;
|
|
11019
|
+
|
|
11009
11020
|
markAvailability?(req: LensAvailabilityMarkRequest): Promise<LensAvailabilityMarkResponse>;
|
|
11010
11021
|
}
|
|
11011
11022
|
|
|
@@ -11035,8 +11046,11 @@ declare class HttpTransport implements Transport {
|
|
|
11035
11046
|
dispatch(req: MediatorCallRequest): Promise<MediatorCallResult | GateExecutionResult>;
|
|
11036
11047
|
appendEvent(event: EvaluationEvent): Promise<string>;
|
|
11037
11048
|
postContract(contract: SurfaceContract): Promise<ContractRegisterResponse>;
|
|
11049
|
+
getContract(): Promise<ContractRegisterResponse>;
|
|
11038
11050
|
markAvailability(req: LensAvailabilityMarkRequest): Promise<LensAvailabilityMarkResponse>;
|
|
11039
11051
|
private post;
|
|
11052
|
+
|
|
11053
|
+
private get;
|
|
11040
11054
|
}
|
|
11041
11055
|
|
|
11042
11056
|
interface HolonographClientOptions {
|
|
@@ -11049,6 +11063,8 @@ interface HolonographClientOptions {
|
|
|
11049
11063
|
|
|
11050
11064
|
fetch?: typeof fetch;
|
|
11051
11065
|
|
|
11066
|
+
onUnknownColumn?: 'warn' | 'throw' | 'ignore';
|
|
11067
|
+
|
|
11052
11068
|
lensVersion: string;
|
|
11053
11069
|
|
|
11054
11070
|
substrate: SubstrateSnapshot;
|