@holonograph/client 0.9.0 → 0.10.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/README.md +66 -1
- package/dist/index.d.ts +929 -814
- package/dist/index.js +25 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1781,19 +1781,19 @@ declare const SubstrateSnapshotSchema: ZodObject<{
|
|
|
1781
1781
|
|
|
1782
1782
|
columns: ZodRecord<ZodString, ZodString>;
|
|
1783
1783
|
}, "strip", ZodTypeAny$1, {
|
|
1784
|
-
provenance: "
|
|
1784
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
1785
1785
|
timestamp: string;
|
|
1786
1786
|
lensVersion: string;
|
|
1787
1787
|
lightSourceIdentifier: string;
|
|
1788
|
-
runMode: "
|
|
1788
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
1789
1789
|
correlationId: string;
|
|
1790
1790
|
columns: Record<string, string>;
|
|
1791
1791
|
}, {
|
|
1792
|
-
provenance: "
|
|
1792
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
1793
1793
|
timestamp: string;
|
|
1794
1794
|
lensVersion: string;
|
|
1795
1795
|
lightSourceIdentifier: string;
|
|
1796
|
-
runMode: "
|
|
1796
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
1797
1797
|
correlationId: string;
|
|
1798
1798
|
columns: Record<string, string>;
|
|
1799
1799
|
}>;
|
|
@@ -1897,10 +1897,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1897
1897
|
} | undefined;
|
|
1898
1898
|
}>>;
|
|
1899
1899
|
}, "strip", ZodTypeAny$1, {
|
|
1900
|
-
activeRunModes: ("
|
|
1900
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
1901
1901
|
enabled: boolean;
|
|
1902
1902
|
passThreshold: number;
|
|
1903
|
-
failureAction: "
|
|
1903
|
+
failureAction: "retry" | "flag" | "block";
|
|
1904
|
+
retry?: {
|
|
1905
|
+
maxAttempts: number;
|
|
1906
|
+
augmentPrompt?: string | undefined;
|
|
1907
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
1908
|
+
} | undefined;
|
|
1904
1909
|
flag?: {
|
|
1905
1910
|
headerName: string;
|
|
1906
1911
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -1914,15 +1919,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1914
1919
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
1915
1920
|
} | undefined;
|
|
1916
1921
|
} | undefined;
|
|
1922
|
+
}, {
|
|
1923
|
+
passThreshold: number;
|
|
1924
|
+
failureAction: "retry" | "flag" | "block";
|
|
1925
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
1917
1926
|
retry?: {
|
|
1918
1927
|
maxAttempts: number;
|
|
1919
1928
|
augmentPrompt?: string | undefined;
|
|
1920
1929
|
fallbackAction?: "flag" | "block" | undefined;
|
|
1921
1930
|
} | undefined;
|
|
1922
|
-
}, {
|
|
1923
|
-
passThreshold: number;
|
|
1924
|
-
failureAction: "flag" | "block" | "retry";
|
|
1925
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1926
1931
|
flag?: {
|
|
1927
1932
|
headerName: string;
|
|
1928
1933
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -1936,17 +1941,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1936
1941
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
1937
1942
|
} | undefined;
|
|
1938
1943
|
} | undefined;
|
|
1944
|
+
enabled?: boolean | undefined;
|
|
1945
|
+
}>, {
|
|
1946
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
1947
|
+
enabled: boolean;
|
|
1948
|
+
passThreshold: number;
|
|
1949
|
+
failureAction: "retry" | "flag" | "block";
|
|
1939
1950
|
retry?: {
|
|
1940
1951
|
maxAttempts: number;
|
|
1941
1952
|
augmentPrompt?: string | undefined;
|
|
1942
1953
|
fallbackAction?: "flag" | "block" | undefined;
|
|
1943
1954
|
} | undefined;
|
|
1944
|
-
enabled?: boolean | undefined;
|
|
1945
|
-
}>, {
|
|
1946
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1947
|
-
enabled: boolean;
|
|
1948
|
-
passThreshold: number;
|
|
1949
|
-
failureAction: "flag" | "block" | "retry";
|
|
1950
1955
|
flag?: {
|
|
1951
1956
|
headerName: string;
|
|
1952
1957
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -1960,15 +1965,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1960
1965
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
1961
1966
|
} | undefined;
|
|
1962
1967
|
} | undefined;
|
|
1968
|
+
}, {
|
|
1969
|
+
passThreshold: number;
|
|
1970
|
+
failureAction: "retry" | "flag" | "block";
|
|
1971
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
1963
1972
|
retry?: {
|
|
1964
1973
|
maxAttempts: number;
|
|
1965
1974
|
augmentPrompt?: string | undefined;
|
|
1966
1975
|
fallbackAction?: "flag" | "block" | undefined;
|
|
1967
1976
|
} | undefined;
|
|
1968
|
-
}, {
|
|
1969
|
-
passThreshold: number;
|
|
1970
|
-
failureAction: "flag" | "block" | "retry";
|
|
1971
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
1972
1977
|
flag?: {
|
|
1973
1978
|
headerName: string;
|
|
1974
1979
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -1982,17 +1987,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
1982
1987
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
1983
1988
|
} | undefined;
|
|
1984
1989
|
} | undefined;
|
|
1990
|
+
enabled?: boolean | undefined;
|
|
1991
|
+
}>, {
|
|
1992
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
1993
|
+
enabled: boolean;
|
|
1994
|
+
passThreshold: number;
|
|
1995
|
+
failureAction: "retry" | "flag" | "block";
|
|
1985
1996
|
retry?: {
|
|
1986
1997
|
maxAttempts: number;
|
|
1987
1998
|
augmentPrompt?: string | undefined;
|
|
1988
1999
|
fallbackAction?: "flag" | "block" | undefined;
|
|
1989
2000
|
} | undefined;
|
|
1990
|
-
enabled?: boolean | undefined;
|
|
1991
|
-
}>, {
|
|
1992
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
1993
|
-
enabled: boolean;
|
|
1994
|
-
passThreshold: number;
|
|
1995
|
-
failureAction: "flag" | "block" | "retry";
|
|
1996
2001
|
flag?: {
|
|
1997
2002
|
headerName: string;
|
|
1998
2003
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2006,15 +2011,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2006
2011
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2007
2012
|
} | undefined;
|
|
2008
2013
|
} | undefined;
|
|
2014
|
+
}, {
|
|
2015
|
+
passThreshold: number;
|
|
2016
|
+
failureAction: "retry" | "flag" | "block";
|
|
2017
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2009
2018
|
retry?: {
|
|
2010
2019
|
maxAttempts: number;
|
|
2011
2020
|
augmentPrompt?: string | undefined;
|
|
2012
2021
|
fallbackAction?: "flag" | "block" | undefined;
|
|
2013
2022
|
} | undefined;
|
|
2014
|
-
}, {
|
|
2015
|
-
passThreshold: number;
|
|
2016
|
-
failureAction: "flag" | "block" | "retry";
|
|
2017
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2018
2023
|
flag?: {
|
|
2019
2024
|
headerName: string;
|
|
2020
2025
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2028,11 +2033,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2028
2033
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2029
2034
|
} | undefined;
|
|
2030
2035
|
} | undefined;
|
|
2031
|
-
retry?: {
|
|
2032
|
-
maxAttempts: number;
|
|
2033
|
-
augmentPrompt?: string | undefined;
|
|
2034
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2035
|
-
} | undefined;
|
|
2036
2036
|
enabled?: boolean | undefined;
|
|
2037
2037
|
}>>;
|
|
2038
2038
|
|
|
@@ -2075,10 +2075,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2075
2075
|
passThreshold?: number | undefined;
|
|
2076
2076
|
rubricRef?: string | undefined;
|
|
2077
2077
|
gatePolicy?: {
|
|
2078
|
-
activeRunModes: ("
|
|
2078
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2079
2079
|
enabled: boolean;
|
|
2080
2080
|
passThreshold: number;
|
|
2081
|
-
failureAction: "
|
|
2081
|
+
failureAction: "retry" | "flag" | "block";
|
|
2082
|
+
retry?: {
|
|
2083
|
+
maxAttempts: number;
|
|
2084
|
+
augmentPrompt?: string | undefined;
|
|
2085
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2086
|
+
} | undefined;
|
|
2082
2087
|
flag?: {
|
|
2083
2088
|
headerName: string;
|
|
2084
2089
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2092,11 +2097,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2092
2097
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2093
2098
|
} | undefined;
|
|
2094
2099
|
} | undefined;
|
|
2095
|
-
retry?: {
|
|
2096
|
-
maxAttempts: number;
|
|
2097
|
-
augmentPrompt?: string | undefined;
|
|
2098
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2099
|
-
} | undefined;
|
|
2100
2100
|
} | undefined;
|
|
2101
2101
|
valueDomain?: {
|
|
2102
2102
|
values: string[];
|
|
@@ -2118,8 +2118,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2118
2118
|
rubricRef?: string | undefined;
|
|
2119
2119
|
gatePolicy?: {
|
|
2120
2120
|
passThreshold: number;
|
|
2121
|
-
failureAction: "
|
|
2122
|
-
activeRunModes?: ("
|
|
2121
|
+
failureAction: "retry" | "flag" | "block";
|
|
2122
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2123
|
+
retry?: {
|
|
2124
|
+
maxAttempts: number;
|
|
2125
|
+
augmentPrompt?: string | undefined;
|
|
2126
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2127
|
+
} | undefined;
|
|
2123
2128
|
flag?: {
|
|
2124
2129
|
headerName: string;
|
|
2125
2130
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2133,11 +2138,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2133
2138
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2134
2139
|
} | undefined;
|
|
2135
2140
|
} | undefined;
|
|
2136
|
-
retry?: {
|
|
2137
|
-
maxAttempts: number;
|
|
2138
|
-
augmentPrompt?: string | undefined;
|
|
2139
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2140
|
-
} | undefined;
|
|
2141
2141
|
enabled?: boolean | undefined;
|
|
2142
2142
|
} | undefined;
|
|
2143
2143
|
valueDomain?: {
|
|
@@ -2159,10 +2159,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2159
2159
|
passThreshold?: number | undefined;
|
|
2160
2160
|
rubricRef?: string | undefined;
|
|
2161
2161
|
gatePolicy?: {
|
|
2162
|
-
activeRunModes: ("
|
|
2162
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2163
2163
|
enabled: boolean;
|
|
2164
2164
|
passThreshold: number;
|
|
2165
|
-
failureAction: "
|
|
2165
|
+
failureAction: "retry" | "flag" | "block";
|
|
2166
|
+
retry?: {
|
|
2167
|
+
maxAttempts: number;
|
|
2168
|
+
augmentPrompt?: string | undefined;
|
|
2169
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2170
|
+
} | undefined;
|
|
2166
2171
|
flag?: {
|
|
2167
2172
|
headerName: string;
|
|
2168
2173
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2176,11 +2181,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2176
2181
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2177
2182
|
} | undefined;
|
|
2178
2183
|
} | undefined;
|
|
2179
|
-
retry?: {
|
|
2180
|
-
maxAttempts: number;
|
|
2181
|
-
augmentPrompt?: string | undefined;
|
|
2182
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2183
|
-
} | undefined;
|
|
2184
2184
|
} | undefined;
|
|
2185
2185
|
valueDomain?: {
|
|
2186
2186
|
values: string[];
|
|
@@ -2202,8 +2202,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2202
2202
|
rubricRef?: string | undefined;
|
|
2203
2203
|
gatePolicy?: {
|
|
2204
2204
|
passThreshold: number;
|
|
2205
|
-
failureAction: "
|
|
2206
|
-
activeRunModes?: ("
|
|
2205
|
+
failureAction: "retry" | "flag" | "block";
|
|
2206
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2207
|
+
retry?: {
|
|
2208
|
+
maxAttempts: number;
|
|
2209
|
+
augmentPrompt?: string | undefined;
|
|
2210
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2211
|
+
} | undefined;
|
|
2207
2212
|
flag?: {
|
|
2208
2213
|
headerName: string;
|
|
2209
2214
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2217,11 +2222,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2217
2222
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2218
2223
|
} | undefined;
|
|
2219
2224
|
} | undefined;
|
|
2220
|
-
retry?: {
|
|
2221
|
-
maxAttempts: number;
|
|
2222
|
-
augmentPrompt?: string | undefined;
|
|
2223
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2224
|
-
} | undefined;
|
|
2225
2225
|
enabled?: boolean | undefined;
|
|
2226
2226
|
} | undefined;
|
|
2227
2227
|
valueDomain?: {
|
|
@@ -2260,8 +2260,8 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2260
2260
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2261
2261
|
visibility: "transparent" | "announced" | "opaque";
|
|
2262
2262
|
semantic: "deployment-state" | "diagnostic";
|
|
2263
|
-
values?: string[] | undefined;
|
|
2264
2263
|
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
2264
|
+
values?: string[] | undefined;
|
|
2265
2265
|
description?: string | undefined;
|
|
2266
2266
|
emissionExpectation?: "always" | "conditional" | {
|
|
2267
2267
|
whenever: string;
|
|
@@ -2270,8 +2270,8 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2270
2270
|
id: string;
|
|
2271
2271
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2272
2272
|
visibility: "transparent" | "announced" | "opaque";
|
|
2273
|
-
values?: string[] | undefined;
|
|
2274
2273
|
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
2274
|
+
values?: string[] | undefined;
|
|
2275
2275
|
description?: string | undefined;
|
|
2276
2276
|
semantic?: "deployment-state" | "diagnostic" | undefined;
|
|
2277
2277
|
emissionExpectation?: "always" | "conditional" | {
|
|
@@ -2312,9 +2312,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2312
2312
|
id: ZodString;
|
|
2313
2313
|
}, "strip", ZodTypeAny$1, {
|
|
2314
2314
|
id: string;
|
|
2315
|
-
reason?: string | undefined;
|
|
2316
2315
|
removedAt?: string | undefined;
|
|
2317
2316
|
removedInLensVersion?: string | undefined;
|
|
2317
|
+
reason?: string | undefined;
|
|
2318
2318
|
supersededBy?: {
|
|
2319
2319
|
id: string;
|
|
2320
2320
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2322,9 +2322,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2322
2322
|
} | undefined;
|
|
2323
2323
|
}, {
|
|
2324
2324
|
id: string;
|
|
2325
|
-
reason?: string | undefined;
|
|
2326
2325
|
removedAt?: string | undefined;
|
|
2327
2326
|
removedInLensVersion?: string | undefined;
|
|
2327
|
+
reason?: string | undefined;
|
|
2328
2328
|
supersededBy?: {
|
|
2329
2329
|
id: string;
|
|
2330
2330
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2361,9 +2361,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2361
2361
|
tag: ZodString;
|
|
2362
2362
|
}, "strip", ZodTypeAny$1, {
|
|
2363
2363
|
tag: string;
|
|
2364
|
-
reason?: string | undefined;
|
|
2365
2364
|
removedAt?: string | undefined;
|
|
2366
2365
|
removedInLensVersion?: string | undefined;
|
|
2366
|
+
reason?: string | undefined;
|
|
2367
2367
|
supersededBy?: {
|
|
2368
2368
|
id: string;
|
|
2369
2369
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2371,9 +2371,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2371
2371
|
} | undefined;
|
|
2372
2372
|
}, {
|
|
2373
2373
|
tag: string;
|
|
2374
|
-
reason?: string | undefined;
|
|
2375
2374
|
removedAt?: string | undefined;
|
|
2376
2375
|
removedInLensVersion?: string | undefined;
|
|
2376
|
+
reason?: string | undefined;
|
|
2377
2377
|
supersededBy?: {
|
|
2378
2378
|
id: string;
|
|
2379
2379
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2421,10 +2421,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2421
2421
|
passThreshold?: number | undefined;
|
|
2422
2422
|
rubricRef?: string | undefined;
|
|
2423
2423
|
gatePolicy?: {
|
|
2424
|
-
activeRunModes: ("
|
|
2424
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2425
2425
|
enabled: boolean;
|
|
2426
2426
|
passThreshold: number;
|
|
2427
|
-
failureAction: "
|
|
2427
|
+
failureAction: "retry" | "flag" | "block";
|
|
2428
|
+
retry?: {
|
|
2429
|
+
maxAttempts: number;
|
|
2430
|
+
augmentPrompt?: string | undefined;
|
|
2431
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2432
|
+
} | undefined;
|
|
2428
2433
|
flag?: {
|
|
2429
2434
|
headerName: string;
|
|
2430
2435
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2438,11 +2443,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2438
2443
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2439
2444
|
} | undefined;
|
|
2440
2445
|
} | undefined;
|
|
2441
|
-
retry?: {
|
|
2442
|
-
maxAttempts: number;
|
|
2443
|
-
augmentPrompt?: string | undefined;
|
|
2444
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2445
|
-
} | undefined;
|
|
2446
2446
|
} | undefined;
|
|
2447
2447
|
valueDomain?: {
|
|
2448
2448
|
values: string[];
|
|
@@ -2463,8 +2463,8 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2463
2463
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2464
2464
|
visibility: "transparent" | "announced" | "opaque";
|
|
2465
2465
|
semantic: "deployment-state" | "diagnostic";
|
|
2466
|
-
values?: string[] | undefined;
|
|
2467
2466
|
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
2467
|
+
values?: string[] | undefined;
|
|
2468
2468
|
description?: string | undefined;
|
|
2469
2469
|
emissionExpectation?: "always" | "conditional" | {
|
|
2470
2470
|
whenever: string;
|
|
@@ -2472,9 +2472,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2472
2472
|
}[];
|
|
2473
2473
|
removedDimensions: {
|
|
2474
2474
|
id: string;
|
|
2475
|
-
reason?: string | undefined;
|
|
2476
2475
|
removedAt?: string | undefined;
|
|
2477
2476
|
removedInLensVersion?: string | undefined;
|
|
2477
|
+
reason?: string | undefined;
|
|
2478
2478
|
supersededBy?: {
|
|
2479
2479
|
id: string;
|
|
2480
2480
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2483,9 +2483,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2483
2483
|
}[];
|
|
2484
2484
|
removedCohortTags: {
|
|
2485
2485
|
tag: string;
|
|
2486
|
-
reason?: string | undefined;
|
|
2487
2486
|
removedAt?: string | undefined;
|
|
2488
2487
|
removedInLensVersion?: string | undefined;
|
|
2488
|
+
reason?: string | undefined;
|
|
2489
2489
|
supersededBy?: {
|
|
2490
2490
|
id: string;
|
|
2491
2491
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2513,8 +2513,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2513
2513
|
rubricRef?: string | undefined;
|
|
2514
2514
|
gatePolicy?: {
|
|
2515
2515
|
passThreshold: number;
|
|
2516
|
-
failureAction: "
|
|
2517
|
-
activeRunModes?: ("
|
|
2516
|
+
failureAction: "retry" | "flag" | "block";
|
|
2517
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2518
|
+
retry?: {
|
|
2519
|
+
maxAttempts: number;
|
|
2520
|
+
augmentPrompt?: string | undefined;
|
|
2521
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2522
|
+
} | undefined;
|
|
2518
2523
|
flag?: {
|
|
2519
2524
|
headerName: string;
|
|
2520
2525
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2528,11 +2533,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2528
2533
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2529
2534
|
} | undefined;
|
|
2530
2535
|
} | undefined;
|
|
2531
|
-
retry?: {
|
|
2532
|
-
maxAttempts: number;
|
|
2533
|
-
augmentPrompt?: string | undefined;
|
|
2534
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2535
|
-
} | undefined;
|
|
2536
2536
|
enabled?: boolean | undefined;
|
|
2537
2537
|
} | undefined;
|
|
2538
2538
|
valueDomain?: {
|
|
@@ -2555,8 +2555,8 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2555
2555
|
id: string;
|
|
2556
2556
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
2557
2557
|
visibility: "transparent" | "announced" | "opaque";
|
|
2558
|
-
values?: string[] | undefined;
|
|
2559
2558
|
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
2559
|
+
values?: string[] | undefined;
|
|
2560
2560
|
description?: string | undefined;
|
|
2561
2561
|
semantic?: "deployment-state" | "diagnostic" | undefined;
|
|
2562
2562
|
emissionExpectation?: "always" | "conditional" | {
|
|
@@ -2566,9 +2566,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2566
2566
|
captureJudgedFailures?: boolean | undefined;
|
|
2567
2567
|
removedDimensions?: {
|
|
2568
2568
|
id: string;
|
|
2569
|
-
reason?: string | undefined;
|
|
2570
2569
|
removedAt?: string | undefined;
|
|
2571
2570
|
removedInLensVersion?: string | undefined;
|
|
2571
|
+
reason?: string | undefined;
|
|
2572
2572
|
supersededBy?: {
|
|
2573
2573
|
id: string;
|
|
2574
2574
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2577,9 +2577,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2577
2577
|
}[] | undefined;
|
|
2578
2578
|
removedCohortTags?: {
|
|
2579
2579
|
tag: string;
|
|
2580
|
-
reason?: string | undefined;
|
|
2581
2580
|
removedAt?: string | undefined;
|
|
2582
2581
|
removedInLensVersion?: string | undefined;
|
|
2582
|
+
reason?: string | undefined;
|
|
2583
2583
|
supersededBy?: {
|
|
2584
2584
|
id: string;
|
|
2585
2585
|
altitude: "dimension" | "cohortTag";
|
|
@@ -2607,12 +2607,12 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2607
2607
|
|
|
2608
2608
|
settleMs: ZodOptional$1<ZodNumber>;
|
|
2609
2609
|
}, "strip", ZodTypeAny$1, {
|
|
2610
|
-
kind: "filter" | "
|
|
2610
|
+
kind: "filter" | "deferred-delivery" | "cache" | "rate-limit" | "fan-in" | "other";
|
|
2611
2611
|
observability: "declared" | "reconciled";
|
|
2612
2612
|
description?: string | undefined;
|
|
2613
2613
|
settleMs?: number | undefined;
|
|
2614
2614
|
}, {
|
|
2615
|
-
kind: "filter" | "
|
|
2615
|
+
kind: "filter" | "deferred-delivery" | "cache" | "rate-limit" | "fan-in" | "other";
|
|
2616
2616
|
description?: string | undefined;
|
|
2617
2617
|
observability?: "declared" | "reconciled" | undefined;
|
|
2618
2618
|
settleMs?: number | undefined;
|
|
@@ -2623,13 +2623,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2623
2623
|
lightSourceId: ZodUnion$1<[ZodString, ZodReadonly$1<ZodArray$1<ZodString, "many">>]>;
|
|
2624
2624
|
activeRunModes: ZodOptional$1<ZodArray$1<ZodEnum$1<["production", "test", "eval", "replay", "local_dev"]>, "many">>;
|
|
2625
2625
|
}, "strip", ZodTypeAny$1, {
|
|
2626
|
-
lightSourceId: string | readonly string[];
|
|
2627
2626
|
surfaceId: string;
|
|
2628
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2629
|
-
}, {
|
|
2630
2627
|
lightSourceId: string | readonly string[];
|
|
2628
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2629
|
+
}, {
|
|
2631
2630
|
surfaceId: string;
|
|
2632
|
-
|
|
2631
|
+
lightSourceId: string | readonly string[];
|
|
2632
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2633
2633
|
}>, "many">>;
|
|
2634
2634
|
|
|
2635
2635
|
pricing: ZodOptional$1<ZodRecord<ZodString, ZodObject<{
|
|
@@ -2747,10 +2747,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2747
2747
|
} | undefined;
|
|
2748
2748
|
}>>;
|
|
2749
2749
|
}, "strip", ZodTypeAny$1, {
|
|
2750
|
-
activeRunModes: ("
|
|
2750
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2751
2751
|
enabled: boolean;
|
|
2752
2752
|
passThreshold: number;
|
|
2753
|
-
failureAction: "
|
|
2753
|
+
failureAction: "retry" | "flag" | "block";
|
|
2754
|
+
retry?: {
|
|
2755
|
+
maxAttempts: number;
|
|
2756
|
+
augmentPrompt?: string | undefined;
|
|
2757
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2758
|
+
} | undefined;
|
|
2754
2759
|
flag?: {
|
|
2755
2760
|
headerName: string;
|
|
2756
2761
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2764,15 +2769,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2764
2769
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2765
2770
|
} | undefined;
|
|
2766
2771
|
} | undefined;
|
|
2772
|
+
}, {
|
|
2773
|
+
passThreshold: number;
|
|
2774
|
+
failureAction: "retry" | "flag" | "block";
|
|
2775
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2767
2776
|
retry?: {
|
|
2768
2777
|
maxAttempts: number;
|
|
2769
2778
|
augmentPrompt?: string | undefined;
|
|
2770
2779
|
fallbackAction?: "flag" | "block" | undefined;
|
|
2771
2780
|
} | undefined;
|
|
2772
|
-
}, {
|
|
2773
|
-
passThreshold: number;
|
|
2774
|
-
failureAction: "flag" | "block" | "retry";
|
|
2775
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2776
2781
|
flag?: {
|
|
2777
2782
|
headerName: string;
|
|
2778
2783
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2786,17 +2791,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2786
2791
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2787
2792
|
} | undefined;
|
|
2788
2793
|
} | undefined;
|
|
2794
|
+
enabled?: boolean | undefined;
|
|
2795
|
+
}>, {
|
|
2796
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2797
|
+
enabled: boolean;
|
|
2798
|
+
passThreshold: number;
|
|
2799
|
+
failureAction: "retry" | "flag" | "block";
|
|
2789
2800
|
retry?: {
|
|
2790
2801
|
maxAttempts: number;
|
|
2791
2802
|
augmentPrompt?: string | undefined;
|
|
2792
2803
|
fallbackAction?: "flag" | "block" | undefined;
|
|
2793
2804
|
} | undefined;
|
|
2794
|
-
enabled?: boolean | undefined;
|
|
2795
|
-
}>, {
|
|
2796
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2797
|
-
enabled: boolean;
|
|
2798
|
-
passThreshold: number;
|
|
2799
|
-
failureAction: "flag" | "block" | "retry";
|
|
2800
2805
|
flag?: {
|
|
2801
2806
|
headerName: string;
|
|
2802
2807
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2810,15 +2815,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2810
2815
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2811
2816
|
} | undefined;
|
|
2812
2817
|
} | undefined;
|
|
2818
|
+
}, {
|
|
2819
|
+
passThreshold: number;
|
|
2820
|
+
failureAction: "retry" | "flag" | "block";
|
|
2821
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2813
2822
|
retry?: {
|
|
2814
2823
|
maxAttempts: number;
|
|
2815
2824
|
augmentPrompt?: string | undefined;
|
|
2816
2825
|
fallbackAction?: "flag" | "block" | undefined;
|
|
2817
2826
|
} | undefined;
|
|
2818
|
-
}, {
|
|
2819
|
-
passThreshold: number;
|
|
2820
|
-
failureAction: "flag" | "block" | "retry";
|
|
2821
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2822
2827
|
flag?: {
|
|
2823
2828
|
headerName: string;
|
|
2824
2829
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2832,17 +2837,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2832
2837
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2833
2838
|
} | undefined;
|
|
2834
2839
|
} | undefined;
|
|
2840
|
+
enabled?: boolean | undefined;
|
|
2841
|
+
}>, {
|
|
2842
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2843
|
+
enabled: boolean;
|
|
2844
|
+
passThreshold: number;
|
|
2845
|
+
failureAction: "retry" | "flag" | "block";
|
|
2835
2846
|
retry?: {
|
|
2836
2847
|
maxAttempts: number;
|
|
2837
2848
|
augmentPrompt?: string | undefined;
|
|
2838
2849
|
fallbackAction?: "flag" | "block" | undefined;
|
|
2839
2850
|
} | undefined;
|
|
2840
|
-
enabled?: boolean | undefined;
|
|
2841
|
-
}>, {
|
|
2842
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
2843
|
-
enabled: boolean;
|
|
2844
|
-
passThreshold: number;
|
|
2845
|
-
failureAction: "flag" | "block" | "retry";
|
|
2846
2851
|
flag?: {
|
|
2847
2852
|
headerName: string;
|
|
2848
2853
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2856,15 +2861,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2856
2861
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2857
2862
|
} | undefined;
|
|
2858
2863
|
} | undefined;
|
|
2864
|
+
}, {
|
|
2865
|
+
passThreshold: number;
|
|
2866
|
+
failureAction: "retry" | "flag" | "block";
|
|
2867
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2859
2868
|
retry?: {
|
|
2860
2869
|
maxAttempts: number;
|
|
2861
2870
|
augmentPrompt?: string | undefined;
|
|
2862
2871
|
fallbackAction?: "flag" | "block" | undefined;
|
|
2863
2872
|
} | undefined;
|
|
2864
|
-
}, {
|
|
2865
|
-
passThreshold: number;
|
|
2866
|
-
failureAction: "flag" | "block" | "retry";
|
|
2867
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
2868
2873
|
flag?: {
|
|
2869
2874
|
headerName: string;
|
|
2870
2875
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2878,11 +2883,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2878
2883
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2879
2884
|
} | undefined;
|
|
2880
2885
|
} | undefined;
|
|
2881
|
-
retry?: {
|
|
2882
|
-
maxAttempts: number;
|
|
2883
|
-
augmentPrompt?: string | undefined;
|
|
2884
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2885
|
-
} | undefined;
|
|
2886
2886
|
enabled?: boolean | undefined;
|
|
2887
2887
|
}>>;
|
|
2888
2888
|
|
|
@@ -2925,10 +2925,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2925
2925
|
passThreshold?: number | undefined;
|
|
2926
2926
|
rubricRef?: string | undefined;
|
|
2927
2927
|
gatePolicy?: {
|
|
2928
|
-
activeRunModes: ("
|
|
2928
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
2929
2929
|
enabled: boolean;
|
|
2930
2930
|
passThreshold: number;
|
|
2931
|
-
failureAction: "
|
|
2931
|
+
failureAction: "retry" | "flag" | "block";
|
|
2932
|
+
retry?: {
|
|
2933
|
+
maxAttempts: number;
|
|
2934
|
+
augmentPrompt?: string | undefined;
|
|
2935
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2936
|
+
} | undefined;
|
|
2932
2937
|
flag?: {
|
|
2933
2938
|
headerName: string;
|
|
2934
2939
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2942,11 +2947,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2942
2947
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2943
2948
|
} | undefined;
|
|
2944
2949
|
} | undefined;
|
|
2945
|
-
retry?: {
|
|
2946
|
-
maxAttempts: number;
|
|
2947
|
-
augmentPrompt?: string | undefined;
|
|
2948
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2949
|
-
} | undefined;
|
|
2950
2950
|
} | undefined;
|
|
2951
2951
|
valueDomain?: {
|
|
2952
2952
|
values: string[];
|
|
@@ -2968,8 +2968,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2968
2968
|
rubricRef?: string | undefined;
|
|
2969
2969
|
gatePolicy?: {
|
|
2970
2970
|
passThreshold: number;
|
|
2971
|
-
failureAction: "
|
|
2972
|
-
activeRunModes?: ("
|
|
2971
|
+
failureAction: "retry" | "flag" | "block";
|
|
2972
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
2973
|
+
retry?: {
|
|
2974
|
+
maxAttempts: number;
|
|
2975
|
+
augmentPrompt?: string | undefined;
|
|
2976
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
2977
|
+
} | undefined;
|
|
2973
2978
|
flag?: {
|
|
2974
2979
|
headerName: string;
|
|
2975
2980
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -2983,11 +2988,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
2983
2988
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
2984
2989
|
} | undefined;
|
|
2985
2990
|
} | undefined;
|
|
2986
|
-
retry?: {
|
|
2987
|
-
maxAttempts: number;
|
|
2988
|
-
augmentPrompt?: string | undefined;
|
|
2989
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
2990
|
-
} | undefined;
|
|
2991
2991
|
enabled?: boolean | undefined;
|
|
2992
2992
|
} | undefined;
|
|
2993
2993
|
valueDomain?: {
|
|
@@ -3009,10 +3009,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3009
3009
|
passThreshold?: number | undefined;
|
|
3010
3010
|
rubricRef?: string | undefined;
|
|
3011
3011
|
gatePolicy?: {
|
|
3012
|
-
activeRunModes: ("
|
|
3012
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3013
3013
|
enabled: boolean;
|
|
3014
3014
|
passThreshold: number;
|
|
3015
|
-
failureAction: "
|
|
3015
|
+
failureAction: "retry" | "flag" | "block";
|
|
3016
|
+
retry?: {
|
|
3017
|
+
maxAttempts: number;
|
|
3018
|
+
augmentPrompt?: string | undefined;
|
|
3019
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3020
|
+
} | undefined;
|
|
3016
3021
|
flag?: {
|
|
3017
3022
|
headerName: string;
|
|
3018
3023
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3026,11 +3031,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3026
3031
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3027
3032
|
} | undefined;
|
|
3028
3033
|
} | undefined;
|
|
3029
|
-
retry?: {
|
|
3030
|
-
maxAttempts: number;
|
|
3031
|
-
augmentPrompt?: string | undefined;
|
|
3032
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3033
|
-
} | undefined;
|
|
3034
3034
|
} | undefined;
|
|
3035
3035
|
valueDomain?: {
|
|
3036
3036
|
values: string[];
|
|
@@ -3052,8 +3052,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3052
3052
|
rubricRef?: string | undefined;
|
|
3053
3053
|
gatePolicy?: {
|
|
3054
3054
|
passThreshold: number;
|
|
3055
|
-
failureAction: "
|
|
3056
|
-
activeRunModes?: ("
|
|
3055
|
+
failureAction: "retry" | "flag" | "block";
|
|
3056
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3057
|
+
retry?: {
|
|
3058
|
+
maxAttempts: number;
|
|
3059
|
+
augmentPrompt?: string | undefined;
|
|
3060
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3061
|
+
} | undefined;
|
|
3057
3062
|
flag?: {
|
|
3058
3063
|
headerName: string;
|
|
3059
3064
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3067,11 +3072,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3067
3072
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3068
3073
|
} | undefined;
|
|
3069
3074
|
} | undefined;
|
|
3070
|
-
retry?: {
|
|
3071
|
-
maxAttempts: number;
|
|
3072
|
-
augmentPrompt?: string | undefined;
|
|
3073
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3074
|
-
} | undefined;
|
|
3075
3075
|
enabled?: boolean | undefined;
|
|
3076
3076
|
} | undefined;
|
|
3077
3077
|
valueDomain?: {
|
|
@@ -3088,9 +3088,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3088
3088
|
} | undefined;
|
|
3089
3089
|
}>, "many">>;
|
|
3090
3090
|
}, "strip", ZodTypeAny$1, {
|
|
3091
|
-
lightSourceId: string | readonly string[];
|
|
3092
3091
|
surfaceId: string;
|
|
3093
|
-
|
|
3092
|
+
lightSourceId: string | readonly string[];
|
|
3093
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3094
3094
|
dimensions?: {
|
|
3095
3095
|
id: string;
|
|
3096
3096
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3098,10 +3098,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3098
3098
|
passThreshold?: number | undefined;
|
|
3099
3099
|
rubricRef?: string | undefined;
|
|
3100
3100
|
gatePolicy?: {
|
|
3101
|
-
activeRunModes: ("
|
|
3101
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3102
3102
|
enabled: boolean;
|
|
3103
3103
|
passThreshold: number;
|
|
3104
|
-
failureAction: "
|
|
3104
|
+
failureAction: "retry" | "flag" | "block";
|
|
3105
|
+
retry?: {
|
|
3106
|
+
maxAttempts: number;
|
|
3107
|
+
augmentPrompt?: string | undefined;
|
|
3108
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3109
|
+
} | undefined;
|
|
3105
3110
|
flag?: {
|
|
3106
3111
|
headerName: string;
|
|
3107
3112
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3115,11 +3120,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3115
3120
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3116
3121
|
} | undefined;
|
|
3117
3122
|
} | undefined;
|
|
3118
|
-
retry?: {
|
|
3119
|
-
maxAttempts: number;
|
|
3120
|
-
augmentPrompt?: string | undefined;
|
|
3121
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3122
|
-
} | undefined;
|
|
3123
3123
|
} | undefined;
|
|
3124
3124
|
valueDomain?: {
|
|
3125
3125
|
values: string[];
|
|
@@ -3135,9 +3135,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3135
3135
|
} | undefined;
|
|
3136
3136
|
}[] | undefined;
|
|
3137
3137
|
}, {
|
|
3138
|
-
lightSourceId: string | readonly string[];
|
|
3139
3138
|
surfaceId: string;
|
|
3140
|
-
|
|
3139
|
+
lightSourceId: string | readonly string[];
|
|
3140
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3141
3141
|
dimensions?: {
|
|
3142
3142
|
id: string;
|
|
3143
3143
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3146,8 +3146,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3146
3146
|
rubricRef?: string | undefined;
|
|
3147
3147
|
gatePolicy?: {
|
|
3148
3148
|
passThreshold: number;
|
|
3149
|
-
failureAction: "
|
|
3150
|
-
activeRunModes?: ("
|
|
3149
|
+
failureAction: "retry" | "flag" | "block";
|
|
3150
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3151
|
+
retry?: {
|
|
3152
|
+
maxAttempts: number;
|
|
3153
|
+
augmentPrompt?: string | undefined;
|
|
3154
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3155
|
+
} | undefined;
|
|
3151
3156
|
flag?: {
|
|
3152
3157
|
headerName: string;
|
|
3153
3158
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3161,11 +3166,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3161
3166
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3162
3167
|
} | undefined;
|
|
3163
3168
|
} | undefined;
|
|
3164
|
-
retry?: {
|
|
3165
|
-
maxAttempts: number;
|
|
3166
|
-
augmentPrompt?: string | undefined;
|
|
3167
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3168
|
-
} | undefined;
|
|
3169
3169
|
enabled?: boolean | undefined;
|
|
3170
3170
|
} | undefined;
|
|
3171
3171
|
valueDomain?: {
|
|
@@ -3275,10 +3275,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3275
3275
|
} | undefined;
|
|
3276
3276
|
}>>;
|
|
3277
3277
|
}, "strip", ZodTypeAny$1, {
|
|
3278
|
-
activeRunModes: ("
|
|
3278
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3279
3279
|
enabled: boolean;
|
|
3280
3280
|
passThreshold: number;
|
|
3281
|
-
failureAction: "
|
|
3281
|
+
failureAction: "retry" | "flag" | "block";
|
|
3282
|
+
retry?: {
|
|
3283
|
+
maxAttempts: number;
|
|
3284
|
+
augmentPrompt?: string | undefined;
|
|
3285
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3286
|
+
} | undefined;
|
|
3282
3287
|
flag?: {
|
|
3283
3288
|
headerName: string;
|
|
3284
3289
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3292,15 +3297,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3292
3297
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3293
3298
|
} | undefined;
|
|
3294
3299
|
} | undefined;
|
|
3300
|
+
}, {
|
|
3301
|
+
passThreshold: number;
|
|
3302
|
+
failureAction: "retry" | "flag" | "block";
|
|
3303
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3295
3304
|
retry?: {
|
|
3296
3305
|
maxAttempts: number;
|
|
3297
3306
|
augmentPrompt?: string | undefined;
|
|
3298
3307
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3299
3308
|
} | undefined;
|
|
3300
|
-
}, {
|
|
3301
|
-
passThreshold: number;
|
|
3302
|
-
failureAction: "flag" | "block" | "retry";
|
|
3303
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3304
3309
|
flag?: {
|
|
3305
3310
|
headerName: string;
|
|
3306
3311
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3314,17 +3319,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3314
3319
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3315
3320
|
} | undefined;
|
|
3316
3321
|
} | undefined;
|
|
3322
|
+
enabled?: boolean | undefined;
|
|
3323
|
+
}>, {
|
|
3324
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3325
|
+
enabled: boolean;
|
|
3326
|
+
passThreshold: number;
|
|
3327
|
+
failureAction: "retry" | "flag" | "block";
|
|
3317
3328
|
retry?: {
|
|
3318
3329
|
maxAttempts: number;
|
|
3319
3330
|
augmentPrompt?: string | undefined;
|
|
3320
3331
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3321
3332
|
} | undefined;
|
|
3322
|
-
enabled?: boolean | undefined;
|
|
3323
|
-
}>, {
|
|
3324
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3325
|
-
enabled: boolean;
|
|
3326
|
-
passThreshold: number;
|
|
3327
|
-
failureAction: "flag" | "block" | "retry";
|
|
3328
3333
|
flag?: {
|
|
3329
3334
|
headerName: string;
|
|
3330
3335
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3338,15 +3343,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3338
3343
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3339
3344
|
} | undefined;
|
|
3340
3345
|
} | undefined;
|
|
3346
|
+
}, {
|
|
3347
|
+
passThreshold: number;
|
|
3348
|
+
failureAction: "retry" | "flag" | "block";
|
|
3349
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3341
3350
|
retry?: {
|
|
3342
3351
|
maxAttempts: number;
|
|
3343
3352
|
augmentPrompt?: string | undefined;
|
|
3344
3353
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3345
3354
|
} | undefined;
|
|
3346
|
-
}, {
|
|
3347
|
-
passThreshold: number;
|
|
3348
|
-
failureAction: "flag" | "block" | "retry";
|
|
3349
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3350
3355
|
flag?: {
|
|
3351
3356
|
headerName: string;
|
|
3352
3357
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3360,17 +3365,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3360
3365
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3361
3366
|
} | undefined;
|
|
3362
3367
|
} | undefined;
|
|
3368
|
+
enabled?: boolean | undefined;
|
|
3369
|
+
}>, {
|
|
3370
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3371
|
+
enabled: boolean;
|
|
3372
|
+
passThreshold: number;
|
|
3373
|
+
failureAction: "retry" | "flag" | "block";
|
|
3363
3374
|
retry?: {
|
|
3364
3375
|
maxAttempts: number;
|
|
3365
3376
|
augmentPrompt?: string | undefined;
|
|
3366
3377
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3367
3378
|
} | undefined;
|
|
3368
|
-
enabled?: boolean | undefined;
|
|
3369
|
-
}>, {
|
|
3370
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3371
|
-
enabled: boolean;
|
|
3372
|
-
passThreshold: number;
|
|
3373
|
-
failureAction: "flag" | "block" | "retry";
|
|
3374
3379
|
flag?: {
|
|
3375
3380
|
headerName: string;
|
|
3376
3381
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3384,15 +3389,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3384
3389
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3385
3390
|
} | undefined;
|
|
3386
3391
|
} | undefined;
|
|
3392
|
+
}, {
|
|
3393
|
+
passThreshold: number;
|
|
3394
|
+
failureAction: "retry" | "flag" | "block";
|
|
3395
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3387
3396
|
retry?: {
|
|
3388
3397
|
maxAttempts: number;
|
|
3389
3398
|
augmentPrompt?: string | undefined;
|
|
3390
3399
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3391
3400
|
} | undefined;
|
|
3392
|
-
}, {
|
|
3393
|
-
passThreshold: number;
|
|
3394
|
-
failureAction: "flag" | "block" | "retry";
|
|
3395
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3396
3401
|
flag?: {
|
|
3397
3402
|
headerName: string;
|
|
3398
3403
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3406,11 +3411,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3406
3411
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3407
3412
|
} | undefined;
|
|
3408
3413
|
} | undefined;
|
|
3409
|
-
retry?: {
|
|
3410
|
-
maxAttempts: number;
|
|
3411
|
-
augmentPrompt?: string | undefined;
|
|
3412
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3413
|
-
} | undefined;
|
|
3414
3414
|
enabled?: boolean | undefined;
|
|
3415
3415
|
}>>;
|
|
3416
3416
|
|
|
@@ -3453,10 +3453,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3453
3453
|
passThreshold?: number | undefined;
|
|
3454
3454
|
rubricRef?: string | undefined;
|
|
3455
3455
|
gatePolicy?: {
|
|
3456
|
-
activeRunModes: ("
|
|
3456
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3457
3457
|
enabled: boolean;
|
|
3458
3458
|
passThreshold: number;
|
|
3459
|
-
failureAction: "
|
|
3459
|
+
failureAction: "retry" | "flag" | "block";
|
|
3460
|
+
retry?: {
|
|
3461
|
+
maxAttempts: number;
|
|
3462
|
+
augmentPrompt?: string | undefined;
|
|
3463
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3464
|
+
} | undefined;
|
|
3460
3465
|
flag?: {
|
|
3461
3466
|
headerName: string;
|
|
3462
3467
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3470,11 +3475,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3470
3475
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3471
3476
|
} | undefined;
|
|
3472
3477
|
} | undefined;
|
|
3473
|
-
retry?: {
|
|
3474
|
-
maxAttempts: number;
|
|
3475
|
-
augmentPrompt?: string | undefined;
|
|
3476
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3477
|
-
} | undefined;
|
|
3478
3478
|
} | undefined;
|
|
3479
3479
|
valueDomain?: {
|
|
3480
3480
|
values: string[];
|
|
@@ -3496,8 +3496,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3496
3496
|
rubricRef?: string | undefined;
|
|
3497
3497
|
gatePolicy?: {
|
|
3498
3498
|
passThreshold: number;
|
|
3499
|
-
failureAction: "
|
|
3500
|
-
activeRunModes?: ("
|
|
3499
|
+
failureAction: "retry" | "flag" | "block";
|
|
3500
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3501
|
+
retry?: {
|
|
3502
|
+
maxAttempts: number;
|
|
3503
|
+
augmentPrompt?: string | undefined;
|
|
3504
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3505
|
+
} | undefined;
|
|
3501
3506
|
flag?: {
|
|
3502
3507
|
headerName: string;
|
|
3503
3508
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3511,11 +3516,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3511
3516
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3512
3517
|
} | undefined;
|
|
3513
3518
|
} | undefined;
|
|
3514
|
-
retry?: {
|
|
3515
|
-
maxAttempts: number;
|
|
3516
|
-
augmentPrompt?: string | undefined;
|
|
3517
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3518
|
-
} | undefined;
|
|
3519
3519
|
enabled?: boolean | undefined;
|
|
3520
3520
|
} | undefined;
|
|
3521
3521
|
valueDomain?: {
|
|
@@ -3537,10 +3537,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3537
3537
|
passThreshold?: number | undefined;
|
|
3538
3538
|
rubricRef?: string | undefined;
|
|
3539
3539
|
gatePolicy?: {
|
|
3540
|
-
activeRunModes: ("
|
|
3540
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3541
3541
|
enabled: boolean;
|
|
3542
3542
|
passThreshold: number;
|
|
3543
|
-
failureAction: "
|
|
3543
|
+
failureAction: "retry" | "flag" | "block";
|
|
3544
|
+
retry?: {
|
|
3545
|
+
maxAttempts: number;
|
|
3546
|
+
augmentPrompt?: string | undefined;
|
|
3547
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3548
|
+
} | undefined;
|
|
3544
3549
|
flag?: {
|
|
3545
3550
|
headerName: string;
|
|
3546
3551
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3554,11 +3559,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3554
3559
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3555
3560
|
} | undefined;
|
|
3556
3561
|
} | undefined;
|
|
3557
|
-
retry?: {
|
|
3558
|
-
maxAttempts: number;
|
|
3559
|
-
augmentPrompt?: string | undefined;
|
|
3560
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3561
|
-
} | undefined;
|
|
3562
3562
|
} | undefined;
|
|
3563
3563
|
valueDomain?: {
|
|
3564
3564
|
values: string[];
|
|
@@ -3580,8 +3580,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3580
3580
|
rubricRef?: string | undefined;
|
|
3581
3581
|
gatePolicy?: {
|
|
3582
3582
|
passThreshold: number;
|
|
3583
|
-
failureAction: "
|
|
3584
|
-
activeRunModes?: ("
|
|
3583
|
+
failureAction: "retry" | "flag" | "block";
|
|
3584
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3585
|
+
retry?: {
|
|
3586
|
+
maxAttempts: number;
|
|
3587
|
+
augmentPrompt?: string | undefined;
|
|
3588
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3589
|
+
} | undefined;
|
|
3585
3590
|
flag?: {
|
|
3586
3591
|
headerName: string;
|
|
3587
3592
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3595,11 +3600,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3595
3600
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3596
3601
|
} | undefined;
|
|
3597
3602
|
} | undefined;
|
|
3598
|
-
retry?: {
|
|
3599
|
-
maxAttempts: number;
|
|
3600
|
-
augmentPrompt?: string | undefined;
|
|
3601
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3602
|
-
} | undefined;
|
|
3603
3603
|
enabled?: boolean | undefined;
|
|
3604
3604
|
} | undefined;
|
|
3605
3605
|
valueDomain?: {
|
|
@@ -3616,9 +3616,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3616
3616
|
} | undefined;
|
|
3617
3617
|
}>, "many">>;
|
|
3618
3618
|
}, "strip", ZodTypeAny$1, {
|
|
3619
|
-
lightSourceId: string | readonly string[];
|
|
3620
3619
|
surfaceId: string;
|
|
3621
|
-
|
|
3620
|
+
lightSourceId: string | readonly string[];
|
|
3621
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3622
3622
|
dimensions?: {
|
|
3623
3623
|
id: string;
|
|
3624
3624
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3626,10 +3626,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3626
3626
|
passThreshold?: number | undefined;
|
|
3627
3627
|
rubricRef?: string | undefined;
|
|
3628
3628
|
gatePolicy?: {
|
|
3629
|
-
activeRunModes: ("
|
|
3629
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3630
3630
|
enabled: boolean;
|
|
3631
3631
|
passThreshold: number;
|
|
3632
|
-
failureAction: "
|
|
3632
|
+
failureAction: "retry" | "flag" | "block";
|
|
3633
|
+
retry?: {
|
|
3634
|
+
maxAttempts: number;
|
|
3635
|
+
augmentPrompt?: string | undefined;
|
|
3636
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3637
|
+
} | undefined;
|
|
3633
3638
|
flag?: {
|
|
3634
3639
|
headerName: string;
|
|
3635
3640
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3643,11 +3648,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3643
3648
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3644
3649
|
} | undefined;
|
|
3645
3650
|
} | undefined;
|
|
3646
|
-
retry?: {
|
|
3647
|
-
maxAttempts: number;
|
|
3648
|
-
augmentPrompt?: string | undefined;
|
|
3649
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3650
|
-
} | undefined;
|
|
3651
3651
|
} | undefined;
|
|
3652
3652
|
valueDomain?: {
|
|
3653
3653
|
values: string[];
|
|
@@ -3663,9 +3663,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3663
3663
|
} | undefined;
|
|
3664
3664
|
}[] | undefined;
|
|
3665
3665
|
}, {
|
|
3666
|
-
lightSourceId: string | readonly string[];
|
|
3667
3666
|
surfaceId: string;
|
|
3668
|
-
|
|
3667
|
+
lightSourceId: string | readonly string[];
|
|
3668
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3669
3669
|
dimensions?: {
|
|
3670
3670
|
id: string;
|
|
3671
3671
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -3674,8 +3674,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3674
3674
|
rubricRef?: string | undefined;
|
|
3675
3675
|
gatePolicy?: {
|
|
3676
3676
|
passThreshold: number;
|
|
3677
|
-
failureAction: "
|
|
3678
|
-
activeRunModes?: ("
|
|
3677
|
+
failureAction: "retry" | "flag" | "block";
|
|
3678
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3679
|
+
retry?: {
|
|
3680
|
+
maxAttempts: number;
|
|
3681
|
+
augmentPrompt?: string | undefined;
|
|
3682
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3683
|
+
} | undefined;
|
|
3679
3684
|
flag?: {
|
|
3680
3685
|
headerName: string;
|
|
3681
3686
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3689,11 +3694,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3689
3694
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3690
3695
|
} | undefined;
|
|
3691
3696
|
} | undefined;
|
|
3692
|
-
retry?: {
|
|
3693
|
-
maxAttempts: number;
|
|
3694
|
-
augmentPrompt?: string | undefined;
|
|
3695
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3696
|
-
} | undefined;
|
|
3697
3697
|
enabled?: boolean | undefined;
|
|
3698
3698
|
} | undefined;
|
|
3699
3699
|
valueDomain?: {
|
|
@@ -3803,10 +3803,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3803
3803
|
} | undefined;
|
|
3804
3804
|
}>>;
|
|
3805
3805
|
}, "strip", ZodTypeAny$1, {
|
|
3806
|
-
activeRunModes: ("
|
|
3806
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3807
3807
|
enabled: boolean;
|
|
3808
3808
|
passThreshold: number;
|
|
3809
|
-
failureAction: "
|
|
3809
|
+
failureAction: "retry" | "flag" | "block";
|
|
3810
|
+
retry?: {
|
|
3811
|
+
maxAttempts: number;
|
|
3812
|
+
augmentPrompt?: string | undefined;
|
|
3813
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3814
|
+
} | undefined;
|
|
3810
3815
|
flag?: {
|
|
3811
3816
|
headerName: string;
|
|
3812
3817
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3820,15 +3825,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3820
3825
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3821
3826
|
} | undefined;
|
|
3822
3827
|
} | undefined;
|
|
3828
|
+
}, {
|
|
3829
|
+
passThreshold: number;
|
|
3830
|
+
failureAction: "retry" | "flag" | "block";
|
|
3831
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3823
3832
|
retry?: {
|
|
3824
3833
|
maxAttempts: number;
|
|
3825
3834
|
augmentPrompt?: string | undefined;
|
|
3826
3835
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3827
3836
|
} | undefined;
|
|
3828
|
-
}, {
|
|
3829
|
-
passThreshold: number;
|
|
3830
|
-
failureAction: "flag" | "block" | "retry";
|
|
3831
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3832
3837
|
flag?: {
|
|
3833
3838
|
headerName: string;
|
|
3834
3839
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3842,17 +3847,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3842
3847
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3843
3848
|
} | undefined;
|
|
3844
3849
|
} | undefined;
|
|
3850
|
+
enabled?: boolean | undefined;
|
|
3851
|
+
}>, {
|
|
3852
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3853
|
+
enabled: boolean;
|
|
3854
|
+
passThreshold: number;
|
|
3855
|
+
failureAction: "retry" | "flag" | "block";
|
|
3845
3856
|
retry?: {
|
|
3846
3857
|
maxAttempts: number;
|
|
3847
3858
|
augmentPrompt?: string | undefined;
|
|
3848
3859
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3849
3860
|
} | undefined;
|
|
3850
|
-
enabled?: boolean | undefined;
|
|
3851
|
-
}>, {
|
|
3852
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3853
|
-
enabled: boolean;
|
|
3854
|
-
passThreshold: number;
|
|
3855
|
-
failureAction: "flag" | "block" | "retry";
|
|
3856
3861
|
flag?: {
|
|
3857
3862
|
headerName: string;
|
|
3858
3863
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3866,15 +3871,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3866
3871
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3867
3872
|
} | undefined;
|
|
3868
3873
|
} | undefined;
|
|
3874
|
+
}, {
|
|
3875
|
+
passThreshold: number;
|
|
3876
|
+
failureAction: "retry" | "flag" | "block";
|
|
3877
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3869
3878
|
retry?: {
|
|
3870
3879
|
maxAttempts: number;
|
|
3871
3880
|
augmentPrompt?: string | undefined;
|
|
3872
3881
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3873
3882
|
} | undefined;
|
|
3874
|
-
}, {
|
|
3875
|
-
passThreshold: number;
|
|
3876
|
-
failureAction: "flag" | "block" | "retry";
|
|
3877
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3878
3883
|
flag?: {
|
|
3879
3884
|
headerName: string;
|
|
3880
3885
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3888,17 +3893,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3888
3893
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3889
3894
|
} | undefined;
|
|
3890
3895
|
} | undefined;
|
|
3896
|
+
enabled?: boolean | undefined;
|
|
3897
|
+
}>, {
|
|
3898
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3899
|
+
enabled: boolean;
|
|
3900
|
+
passThreshold: number;
|
|
3901
|
+
failureAction: "retry" | "flag" | "block";
|
|
3891
3902
|
retry?: {
|
|
3892
3903
|
maxAttempts: number;
|
|
3893
3904
|
augmentPrompt?: string | undefined;
|
|
3894
3905
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3895
3906
|
} | undefined;
|
|
3896
|
-
enabled?: boolean | undefined;
|
|
3897
|
-
}>, {
|
|
3898
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
3899
|
-
enabled: boolean;
|
|
3900
|
-
passThreshold: number;
|
|
3901
|
-
failureAction: "flag" | "block" | "retry";
|
|
3902
3907
|
flag?: {
|
|
3903
3908
|
headerName: string;
|
|
3904
3909
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3912,15 +3917,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3912
3917
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3913
3918
|
} | undefined;
|
|
3914
3919
|
} | undefined;
|
|
3920
|
+
}, {
|
|
3921
|
+
passThreshold: number;
|
|
3922
|
+
failureAction: "retry" | "flag" | "block";
|
|
3923
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
3915
3924
|
retry?: {
|
|
3916
3925
|
maxAttempts: number;
|
|
3917
3926
|
augmentPrompt?: string | undefined;
|
|
3918
3927
|
fallbackAction?: "flag" | "block" | undefined;
|
|
3919
3928
|
} | undefined;
|
|
3920
|
-
}, {
|
|
3921
|
-
passThreshold: number;
|
|
3922
|
-
failureAction: "flag" | "block" | "retry";
|
|
3923
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
3924
3929
|
flag?: {
|
|
3925
3930
|
headerName: string;
|
|
3926
3931
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3934,11 +3939,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3934
3939
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3935
3940
|
} | undefined;
|
|
3936
3941
|
} | undefined;
|
|
3937
|
-
retry?: {
|
|
3938
|
-
maxAttempts: number;
|
|
3939
|
-
augmentPrompt?: string | undefined;
|
|
3940
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
3941
|
-
} | undefined;
|
|
3942
3942
|
enabled?: boolean | undefined;
|
|
3943
3943
|
}>>;
|
|
3944
3944
|
|
|
@@ -3981,10 +3981,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3981
3981
|
passThreshold?: number | undefined;
|
|
3982
3982
|
rubricRef?: string | undefined;
|
|
3983
3983
|
gatePolicy?: {
|
|
3984
|
-
activeRunModes: ("
|
|
3984
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
3985
3985
|
enabled: boolean;
|
|
3986
3986
|
passThreshold: number;
|
|
3987
|
-
failureAction: "
|
|
3987
|
+
failureAction: "retry" | "flag" | "block";
|
|
3988
|
+
retry?: {
|
|
3989
|
+
maxAttempts: number;
|
|
3990
|
+
augmentPrompt?: string | undefined;
|
|
3991
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
3992
|
+
} | undefined;
|
|
3988
3993
|
flag?: {
|
|
3989
3994
|
headerName: string;
|
|
3990
3995
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -3998,11 +4003,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
3998
4003
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
3999
4004
|
} | undefined;
|
|
4000
4005
|
} | undefined;
|
|
4001
|
-
retry?: {
|
|
4002
|
-
maxAttempts: number;
|
|
4003
|
-
augmentPrompt?: string | undefined;
|
|
4004
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4005
|
-
} | undefined;
|
|
4006
4006
|
} | undefined;
|
|
4007
4007
|
valueDomain?: {
|
|
4008
4008
|
values: string[];
|
|
@@ -4024,8 +4024,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4024
4024
|
rubricRef?: string | undefined;
|
|
4025
4025
|
gatePolicy?: {
|
|
4026
4026
|
passThreshold: number;
|
|
4027
|
-
failureAction: "
|
|
4028
|
-
activeRunModes?: ("
|
|
4027
|
+
failureAction: "retry" | "flag" | "block";
|
|
4028
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4029
|
+
retry?: {
|
|
4030
|
+
maxAttempts: number;
|
|
4031
|
+
augmentPrompt?: string | undefined;
|
|
4032
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4033
|
+
} | undefined;
|
|
4029
4034
|
flag?: {
|
|
4030
4035
|
headerName: string;
|
|
4031
4036
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4039,11 +4044,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4039
4044
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4040
4045
|
} | undefined;
|
|
4041
4046
|
} | undefined;
|
|
4042
|
-
retry?: {
|
|
4043
|
-
maxAttempts: number;
|
|
4044
|
-
augmentPrompt?: string | undefined;
|
|
4045
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4046
|
-
} | undefined;
|
|
4047
4047
|
enabled?: boolean | undefined;
|
|
4048
4048
|
} | undefined;
|
|
4049
4049
|
valueDomain?: {
|
|
@@ -4065,10 +4065,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4065
4065
|
passThreshold?: number | undefined;
|
|
4066
4066
|
rubricRef?: string | undefined;
|
|
4067
4067
|
gatePolicy?: {
|
|
4068
|
-
activeRunModes: ("
|
|
4068
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4069
4069
|
enabled: boolean;
|
|
4070
4070
|
passThreshold: number;
|
|
4071
|
-
failureAction: "
|
|
4071
|
+
failureAction: "retry" | "flag" | "block";
|
|
4072
|
+
retry?: {
|
|
4073
|
+
maxAttempts: number;
|
|
4074
|
+
augmentPrompt?: string | undefined;
|
|
4075
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4076
|
+
} | undefined;
|
|
4072
4077
|
flag?: {
|
|
4073
4078
|
headerName: string;
|
|
4074
4079
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4082,11 +4087,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4082
4087
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4083
4088
|
} | undefined;
|
|
4084
4089
|
} | undefined;
|
|
4085
|
-
retry?: {
|
|
4086
|
-
maxAttempts: number;
|
|
4087
|
-
augmentPrompt?: string | undefined;
|
|
4088
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4089
|
-
} | undefined;
|
|
4090
4090
|
} | undefined;
|
|
4091
4091
|
valueDomain?: {
|
|
4092
4092
|
values: string[];
|
|
@@ -4108,8 +4108,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4108
4108
|
rubricRef?: string | undefined;
|
|
4109
4109
|
gatePolicy?: {
|
|
4110
4110
|
passThreshold: number;
|
|
4111
|
-
failureAction: "
|
|
4112
|
-
activeRunModes?: ("
|
|
4111
|
+
failureAction: "retry" | "flag" | "block";
|
|
4112
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4113
|
+
retry?: {
|
|
4114
|
+
maxAttempts: number;
|
|
4115
|
+
augmentPrompt?: string | undefined;
|
|
4116
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4117
|
+
} | undefined;
|
|
4113
4118
|
flag?: {
|
|
4114
4119
|
headerName: string;
|
|
4115
4120
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4123,11 +4128,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4123
4128
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4124
4129
|
} | undefined;
|
|
4125
4130
|
} | undefined;
|
|
4126
|
-
retry?: {
|
|
4127
|
-
maxAttempts: number;
|
|
4128
|
-
augmentPrompt?: string | undefined;
|
|
4129
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4130
|
-
} | undefined;
|
|
4131
4131
|
enabled?: boolean | undefined;
|
|
4132
4132
|
} | undefined;
|
|
4133
4133
|
valueDomain?: {
|
|
@@ -4144,9 +4144,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4144
4144
|
} | undefined;
|
|
4145
4145
|
}>, "many">>;
|
|
4146
4146
|
}, "strip", ZodTypeAny$1, {
|
|
4147
|
-
lightSourceId: string | readonly string[];
|
|
4148
4147
|
surfaceId: string;
|
|
4149
|
-
|
|
4148
|
+
lightSourceId: string | readonly string[];
|
|
4149
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4150
4150
|
dimensions?: {
|
|
4151
4151
|
id: string;
|
|
4152
4152
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4154,10 +4154,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4154
4154
|
passThreshold?: number | undefined;
|
|
4155
4155
|
rubricRef?: string | undefined;
|
|
4156
4156
|
gatePolicy?: {
|
|
4157
|
-
activeRunModes: ("
|
|
4157
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4158
4158
|
enabled: boolean;
|
|
4159
4159
|
passThreshold: number;
|
|
4160
|
-
failureAction: "
|
|
4160
|
+
failureAction: "retry" | "flag" | "block";
|
|
4161
|
+
retry?: {
|
|
4162
|
+
maxAttempts: number;
|
|
4163
|
+
augmentPrompt?: string | undefined;
|
|
4164
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4165
|
+
} | undefined;
|
|
4161
4166
|
flag?: {
|
|
4162
4167
|
headerName: string;
|
|
4163
4168
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4171,11 +4176,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4171
4176
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4172
4177
|
} | undefined;
|
|
4173
4178
|
} | undefined;
|
|
4174
|
-
retry?: {
|
|
4175
|
-
maxAttempts: number;
|
|
4176
|
-
augmentPrompt?: string | undefined;
|
|
4177
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4178
|
-
} | undefined;
|
|
4179
4179
|
} | undefined;
|
|
4180
4180
|
valueDomain?: {
|
|
4181
4181
|
values: string[];
|
|
@@ -4191,9 +4191,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4191
4191
|
} | undefined;
|
|
4192
4192
|
}[] | undefined;
|
|
4193
4193
|
}, {
|
|
4194
|
-
lightSourceId: string | readonly string[];
|
|
4195
4194
|
surfaceId: string;
|
|
4196
|
-
|
|
4195
|
+
lightSourceId: string | readonly string[];
|
|
4196
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4197
4197
|
dimensions?: {
|
|
4198
4198
|
id: string;
|
|
4199
4199
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4202,8 +4202,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4202
4202
|
rubricRef?: string | undefined;
|
|
4203
4203
|
gatePolicy?: {
|
|
4204
4204
|
passThreshold: number;
|
|
4205
|
-
failureAction: "
|
|
4206
|
-
activeRunModes?: ("
|
|
4205
|
+
failureAction: "retry" | "flag" | "block";
|
|
4206
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4207
|
+
retry?: {
|
|
4208
|
+
maxAttempts: number;
|
|
4209
|
+
augmentPrompt?: string | undefined;
|
|
4210
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4211
|
+
} | undefined;
|
|
4207
4212
|
flag?: {
|
|
4208
4213
|
headerName: string;
|
|
4209
4214
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4217,11 +4222,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4217
4222
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4218
4223
|
} | undefined;
|
|
4219
4224
|
} | undefined;
|
|
4220
|
-
retry?: {
|
|
4221
|
-
maxAttempts: number;
|
|
4222
|
-
augmentPrompt?: string | undefined;
|
|
4223
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4224
|
-
} | undefined;
|
|
4225
4225
|
enabled?: boolean | undefined;
|
|
4226
4226
|
} | undefined;
|
|
4227
4227
|
valueDomain?: {
|
|
@@ -4331,10 +4331,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4331
4331
|
} | undefined;
|
|
4332
4332
|
}>>;
|
|
4333
4333
|
}, "strip", ZodTypeAny$1, {
|
|
4334
|
-
activeRunModes: ("
|
|
4334
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4335
4335
|
enabled: boolean;
|
|
4336
4336
|
passThreshold: number;
|
|
4337
|
-
failureAction: "
|
|
4337
|
+
failureAction: "retry" | "flag" | "block";
|
|
4338
|
+
retry?: {
|
|
4339
|
+
maxAttempts: number;
|
|
4340
|
+
augmentPrompt?: string | undefined;
|
|
4341
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4342
|
+
} | undefined;
|
|
4338
4343
|
flag?: {
|
|
4339
4344
|
headerName: string;
|
|
4340
4345
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4348,15 +4353,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4348
4353
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4349
4354
|
} | undefined;
|
|
4350
4355
|
} | undefined;
|
|
4356
|
+
}, {
|
|
4357
|
+
passThreshold: number;
|
|
4358
|
+
failureAction: "retry" | "flag" | "block";
|
|
4359
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4351
4360
|
retry?: {
|
|
4352
4361
|
maxAttempts: number;
|
|
4353
4362
|
augmentPrompt?: string | undefined;
|
|
4354
4363
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4355
4364
|
} | undefined;
|
|
4356
|
-
}, {
|
|
4357
|
-
passThreshold: number;
|
|
4358
|
-
failureAction: "flag" | "block" | "retry";
|
|
4359
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4360
4365
|
flag?: {
|
|
4361
4366
|
headerName: string;
|
|
4362
4367
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4370,17 +4375,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4370
4375
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4371
4376
|
} | undefined;
|
|
4372
4377
|
} | undefined;
|
|
4378
|
+
enabled?: boolean | undefined;
|
|
4379
|
+
}>, {
|
|
4380
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4381
|
+
enabled: boolean;
|
|
4382
|
+
passThreshold: number;
|
|
4383
|
+
failureAction: "retry" | "flag" | "block";
|
|
4373
4384
|
retry?: {
|
|
4374
4385
|
maxAttempts: number;
|
|
4375
4386
|
augmentPrompt?: string | undefined;
|
|
4376
4387
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4377
4388
|
} | undefined;
|
|
4378
|
-
enabled?: boolean | undefined;
|
|
4379
|
-
}>, {
|
|
4380
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4381
|
-
enabled: boolean;
|
|
4382
|
-
passThreshold: number;
|
|
4383
|
-
failureAction: "flag" | "block" | "retry";
|
|
4384
4389
|
flag?: {
|
|
4385
4390
|
headerName: string;
|
|
4386
4391
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4394,15 +4399,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4394
4399
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4395
4400
|
} | undefined;
|
|
4396
4401
|
} | undefined;
|
|
4402
|
+
}, {
|
|
4403
|
+
passThreshold: number;
|
|
4404
|
+
failureAction: "retry" | "flag" | "block";
|
|
4405
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4397
4406
|
retry?: {
|
|
4398
4407
|
maxAttempts: number;
|
|
4399
4408
|
augmentPrompt?: string | undefined;
|
|
4400
4409
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4401
4410
|
} | undefined;
|
|
4402
|
-
}, {
|
|
4403
|
-
passThreshold: number;
|
|
4404
|
-
failureAction: "flag" | "block" | "retry";
|
|
4405
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4406
4411
|
flag?: {
|
|
4407
4412
|
headerName: string;
|
|
4408
4413
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4416,17 +4421,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4416
4421
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4417
4422
|
} | undefined;
|
|
4418
4423
|
} | undefined;
|
|
4424
|
+
enabled?: boolean | undefined;
|
|
4425
|
+
}>, {
|
|
4426
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4427
|
+
enabled: boolean;
|
|
4428
|
+
passThreshold: number;
|
|
4429
|
+
failureAction: "retry" | "flag" | "block";
|
|
4419
4430
|
retry?: {
|
|
4420
4431
|
maxAttempts: number;
|
|
4421
4432
|
augmentPrompt?: string | undefined;
|
|
4422
4433
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4423
4434
|
} | undefined;
|
|
4424
|
-
enabled?: boolean | undefined;
|
|
4425
|
-
}>, {
|
|
4426
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4427
|
-
enabled: boolean;
|
|
4428
|
-
passThreshold: number;
|
|
4429
|
-
failureAction: "flag" | "block" | "retry";
|
|
4430
4435
|
flag?: {
|
|
4431
4436
|
headerName: string;
|
|
4432
4437
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4440,15 +4445,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4440
4445
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4441
4446
|
} | undefined;
|
|
4442
4447
|
} | undefined;
|
|
4448
|
+
}, {
|
|
4449
|
+
passThreshold: number;
|
|
4450
|
+
failureAction: "retry" | "flag" | "block";
|
|
4451
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4443
4452
|
retry?: {
|
|
4444
4453
|
maxAttempts: number;
|
|
4445
4454
|
augmentPrompt?: string | undefined;
|
|
4446
4455
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4447
4456
|
} | undefined;
|
|
4448
|
-
}, {
|
|
4449
|
-
passThreshold: number;
|
|
4450
|
-
failureAction: "flag" | "block" | "retry";
|
|
4451
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4452
4457
|
flag?: {
|
|
4453
4458
|
headerName: string;
|
|
4454
4459
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4462,11 +4467,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4462
4467
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4463
4468
|
} | undefined;
|
|
4464
4469
|
} | undefined;
|
|
4465
|
-
retry?: {
|
|
4466
|
-
maxAttempts: number;
|
|
4467
|
-
augmentPrompt?: string | undefined;
|
|
4468
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4469
|
-
} | undefined;
|
|
4470
4470
|
enabled?: boolean | undefined;
|
|
4471
4471
|
}>>;
|
|
4472
4472
|
|
|
@@ -4509,10 +4509,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4509
4509
|
passThreshold?: number | undefined;
|
|
4510
4510
|
rubricRef?: string | undefined;
|
|
4511
4511
|
gatePolicy?: {
|
|
4512
|
-
activeRunModes: ("
|
|
4512
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4513
4513
|
enabled: boolean;
|
|
4514
4514
|
passThreshold: number;
|
|
4515
|
-
failureAction: "
|
|
4515
|
+
failureAction: "retry" | "flag" | "block";
|
|
4516
|
+
retry?: {
|
|
4517
|
+
maxAttempts: number;
|
|
4518
|
+
augmentPrompt?: string | undefined;
|
|
4519
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4520
|
+
} | undefined;
|
|
4516
4521
|
flag?: {
|
|
4517
4522
|
headerName: string;
|
|
4518
4523
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4526,11 +4531,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4526
4531
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4527
4532
|
} | undefined;
|
|
4528
4533
|
} | undefined;
|
|
4529
|
-
retry?: {
|
|
4530
|
-
maxAttempts: number;
|
|
4531
|
-
augmentPrompt?: string | undefined;
|
|
4532
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4533
|
-
} | undefined;
|
|
4534
4534
|
} | undefined;
|
|
4535
4535
|
valueDomain?: {
|
|
4536
4536
|
values: string[];
|
|
@@ -4552,8 +4552,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4552
4552
|
rubricRef?: string | undefined;
|
|
4553
4553
|
gatePolicy?: {
|
|
4554
4554
|
passThreshold: number;
|
|
4555
|
-
failureAction: "
|
|
4556
|
-
activeRunModes?: ("
|
|
4555
|
+
failureAction: "retry" | "flag" | "block";
|
|
4556
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4557
|
+
retry?: {
|
|
4558
|
+
maxAttempts: number;
|
|
4559
|
+
augmentPrompt?: string | undefined;
|
|
4560
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4561
|
+
} | undefined;
|
|
4557
4562
|
flag?: {
|
|
4558
4563
|
headerName: string;
|
|
4559
4564
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4567,11 +4572,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4567
4572
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4568
4573
|
} | undefined;
|
|
4569
4574
|
} | undefined;
|
|
4570
|
-
retry?: {
|
|
4571
|
-
maxAttempts: number;
|
|
4572
|
-
augmentPrompt?: string | undefined;
|
|
4573
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4574
|
-
} | undefined;
|
|
4575
4575
|
enabled?: boolean | undefined;
|
|
4576
4576
|
} | undefined;
|
|
4577
4577
|
valueDomain?: {
|
|
@@ -4593,10 +4593,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4593
4593
|
passThreshold?: number | undefined;
|
|
4594
4594
|
rubricRef?: string | undefined;
|
|
4595
4595
|
gatePolicy?: {
|
|
4596
|
-
activeRunModes: ("
|
|
4596
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4597
4597
|
enabled: boolean;
|
|
4598
4598
|
passThreshold: number;
|
|
4599
|
-
failureAction: "
|
|
4599
|
+
failureAction: "retry" | "flag" | "block";
|
|
4600
|
+
retry?: {
|
|
4601
|
+
maxAttempts: number;
|
|
4602
|
+
augmentPrompt?: string | undefined;
|
|
4603
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4604
|
+
} | undefined;
|
|
4600
4605
|
flag?: {
|
|
4601
4606
|
headerName: string;
|
|
4602
4607
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4610,11 +4615,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4610
4615
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4611
4616
|
} | undefined;
|
|
4612
4617
|
} | undefined;
|
|
4613
|
-
retry?: {
|
|
4614
|
-
maxAttempts: number;
|
|
4615
|
-
augmentPrompt?: string | undefined;
|
|
4616
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4617
|
-
} | undefined;
|
|
4618
4618
|
} | undefined;
|
|
4619
4619
|
valueDomain?: {
|
|
4620
4620
|
values: string[];
|
|
@@ -4636,8 +4636,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4636
4636
|
rubricRef?: string | undefined;
|
|
4637
4637
|
gatePolicy?: {
|
|
4638
4638
|
passThreshold: number;
|
|
4639
|
-
failureAction: "
|
|
4640
|
-
activeRunModes?: ("
|
|
4639
|
+
failureAction: "retry" | "flag" | "block";
|
|
4640
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4641
|
+
retry?: {
|
|
4642
|
+
maxAttempts: number;
|
|
4643
|
+
augmentPrompt?: string | undefined;
|
|
4644
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4645
|
+
} | undefined;
|
|
4641
4646
|
flag?: {
|
|
4642
4647
|
headerName: string;
|
|
4643
4648
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4651,11 +4656,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4651
4656
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4652
4657
|
} | undefined;
|
|
4653
4658
|
} | undefined;
|
|
4654
|
-
retry?: {
|
|
4655
|
-
maxAttempts: number;
|
|
4656
|
-
augmentPrompt?: string | undefined;
|
|
4657
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4658
|
-
} | undefined;
|
|
4659
4659
|
enabled?: boolean | undefined;
|
|
4660
4660
|
} | undefined;
|
|
4661
4661
|
valueDomain?: {
|
|
@@ -4672,9 +4672,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4672
4672
|
} | undefined;
|
|
4673
4673
|
}>, "many">>;
|
|
4674
4674
|
}, "strip", ZodTypeAny$1, {
|
|
4675
|
-
lightSourceId: string | readonly string[];
|
|
4676
4675
|
surfaceId: string;
|
|
4677
|
-
|
|
4676
|
+
lightSourceId: string | readonly string[];
|
|
4677
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4678
4678
|
dimensions?: {
|
|
4679
4679
|
id: string;
|
|
4680
4680
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4682,10 +4682,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4682
4682
|
passThreshold?: number | undefined;
|
|
4683
4683
|
rubricRef?: string | undefined;
|
|
4684
4684
|
gatePolicy?: {
|
|
4685
|
-
activeRunModes: ("
|
|
4685
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4686
4686
|
enabled: boolean;
|
|
4687
4687
|
passThreshold: number;
|
|
4688
|
-
failureAction: "
|
|
4688
|
+
failureAction: "retry" | "flag" | "block";
|
|
4689
|
+
retry?: {
|
|
4690
|
+
maxAttempts: number;
|
|
4691
|
+
augmentPrompt?: string | undefined;
|
|
4692
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4693
|
+
} | undefined;
|
|
4689
4694
|
flag?: {
|
|
4690
4695
|
headerName: string;
|
|
4691
4696
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4699,11 +4704,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4699
4704
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4700
4705
|
} | undefined;
|
|
4701
4706
|
} | undefined;
|
|
4702
|
-
retry?: {
|
|
4703
|
-
maxAttempts: number;
|
|
4704
|
-
augmentPrompt?: string | undefined;
|
|
4705
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4706
|
-
} | undefined;
|
|
4707
4707
|
} | undefined;
|
|
4708
4708
|
valueDomain?: {
|
|
4709
4709
|
values: string[];
|
|
@@ -4719,9 +4719,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4719
4719
|
} | undefined;
|
|
4720
4720
|
}[] | undefined;
|
|
4721
4721
|
}, {
|
|
4722
|
-
lightSourceId: string | readonly string[];
|
|
4723
4722
|
surfaceId: string;
|
|
4724
|
-
|
|
4723
|
+
lightSourceId: string | readonly string[];
|
|
4724
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4725
4725
|
dimensions?: {
|
|
4726
4726
|
id: string;
|
|
4727
4727
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -4730,8 +4730,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4730
4730
|
rubricRef?: string | undefined;
|
|
4731
4731
|
gatePolicy?: {
|
|
4732
4732
|
passThreshold: number;
|
|
4733
|
-
failureAction: "
|
|
4734
|
-
activeRunModes?: ("
|
|
4733
|
+
failureAction: "retry" | "flag" | "block";
|
|
4734
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4735
|
+
retry?: {
|
|
4736
|
+
maxAttempts: number;
|
|
4737
|
+
augmentPrompt?: string | undefined;
|
|
4738
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4739
|
+
} | undefined;
|
|
4735
4740
|
flag?: {
|
|
4736
4741
|
headerName: string;
|
|
4737
4742
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4745,11 +4750,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4745
4750
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4746
4751
|
} | undefined;
|
|
4747
4752
|
} | undefined;
|
|
4748
|
-
retry?: {
|
|
4749
|
-
maxAttempts: number;
|
|
4750
|
-
augmentPrompt?: string | undefined;
|
|
4751
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4752
|
-
} | undefined;
|
|
4753
4753
|
enabled?: boolean | undefined;
|
|
4754
4754
|
} | undefined;
|
|
4755
4755
|
valueDomain?: {
|
|
@@ -4859,10 +4859,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4859
4859
|
} | undefined;
|
|
4860
4860
|
}>>;
|
|
4861
4861
|
}, "strip", ZodTypeAny$1, {
|
|
4862
|
-
activeRunModes: ("
|
|
4862
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4863
4863
|
enabled: boolean;
|
|
4864
4864
|
passThreshold: number;
|
|
4865
|
-
failureAction: "
|
|
4865
|
+
failureAction: "retry" | "flag" | "block";
|
|
4866
|
+
retry?: {
|
|
4867
|
+
maxAttempts: number;
|
|
4868
|
+
augmentPrompt?: string | undefined;
|
|
4869
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
4870
|
+
} | undefined;
|
|
4866
4871
|
flag?: {
|
|
4867
4872
|
headerName: string;
|
|
4868
4873
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4876,15 +4881,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4876
4881
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4877
4882
|
} | undefined;
|
|
4878
4883
|
} | undefined;
|
|
4884
|
+
}, {
|
|
4885
|
+
passThreshold: number;
|
|
4886
|
+
failureAction: "retry" | "flag" | "block";
|
|
4887
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4879
4888
|
retry?: {
|
|
4880
4889
|
maxAttempts: number;
|
|
4881
4890
|
augmentPrompt?: string | undefined;
|
|
4882
4891
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4883
4892
|
} | undefined;
|
|
4884
|
-
}, {
|
|
4885
|
-
passThreshold: number;
|
|
4886
|
-
failureAction: "flag" | "block" | "retry";
|
|
4887
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4888
4893
|
flag?: {
|
|
4889
4894
|
headerName: string;
|
|
4890
4895
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4898,17 +4903,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4898
4903
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4899
4904
|
} | undefined;
|
|
4900
4905
|
} | undefined;
|
|
4906
|
+
enabled?: boolean | undefined;
|
|
4907
|
+
}>, {
|
|
4908
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4909
|
+
enabled: boolean;
|
|
4910
|
+
passThreshold: number;
|
|
4911
|
+
failureAction: "retry" | "flag" | "block";
|
|
4901
4912
|
retry?: {
|
|
4902
4913
|
maxAttempts: number;
|
|
4903
4914
|
augmentPrompt?: string | undefined;
|
|
4904
4915
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4905
4916
|
} | undefined;
|
|
4906
|
-
enabled?: boolean | undefined;
|
|
4907
|
-
}>, {
|
|
4908
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4909
|
-
enabled: boolean;
|
|
4910
|
-
passThreshold: number;
|
|
4911
|
-
failureAction: "flag" | "block" | "retry";
|
|
4912
4917
|
flag?: {
|
|
4913
4918
|
headerName: string;
|
|
4914
4919
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4922,15 +4927,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4922
4927
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4923
4928
|
} | undefined;
|
|
4924
4929
|
} | undefined;
|
|
4930
|
+
}, {
|
|
4931
|
+
passThreshold: number;
|
|
4932
|
+
failureAction: "retry" | "flag" | "block";
|
|
4933
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4925
4934
|
retry?: {
|
|
4926
4935
|
maxAttempts: number;
|
|
4927
4936
|
augmentPrompt?: string | undefined;
|
|
4928
4937
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4929
4938
|
} | undefined;
|
|
4930
|
-
}, {
|
|
4931
|
-
passThreshold: number;
|
|
4932
|
-
failureAction: "flag" | "block" | "retry";
|
|
4933
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4934
4939
|
flag?: {
|
|
4935
4940
|
headerName: string;
|
|
4936
4941
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4944,17 +4949,17 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4944
4949
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4945
4950
|
} | undefined;
|
|
4946
4951
|
} | undefined;
|
|
4952
|
+
enabled?: boolean | undefined;
|
|
4953
|
+
}>, {
|
|
4954
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
4955
|
+
enabled: boolean;
|
|
4956
|
+
passThreshold: number;
|
|
4957
|
+
failureAction: "retry" | "flag" | "block";
|
|
4947
4958
|
retry?: {
|
|
4948
4959
|
maxAttempts: number;
|
|
4949
4960
|
augmentPrompt?: string | undefined;
|
|
4950
4961
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4951
4962
|
} | undefined;
|
|
4952
|
-
enabled?: boolean | undefined;
|
|
4953
|
-
}>, {
|
|
4954
|
-
activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
|
|
4955
|
-
enabled: boolean;
|
|
4956
|
-
passThreshold: number;
|
|
4957
|
-
failureAction: "flag" | "block" | "retry";
|
|
4958
4963
|
flag?: {
|
|
4959
4964
|
headerName: string;
|
|
4960
4965
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4968,15 +4973,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4968
4973
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4969
4974
|
} | undefined;
|
|
4970
4975
|
} | undefined;
|
|
4976
|
+
}, {
|
|
4977
|
+
passThreshold: number;
|
|
4978
|
+
failureAction: "retry" | "flag" | "block";
|
|
4979
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
4971
4980
|
retry?: {
|
|
4972
4981
|
maxAttempts: number;
|
|
4973
4982
|
augmentPrompt?: string | undefined;
|
|
4974
4983
|
fallbackAction?: "flag" | "block" | undefined;
|
|
4975
4984
|
} | undefined;
|
|
4976
|
-
}, {
|
|
4977
|
-
passThreshold: number;
|
|
4978
|
-
failureAction: "flag" | "block" | "retry";
|
|
4979
|
-
activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
|
|
4980
4985
|
flag?: {
|
|
4981
4986
|
headerName: string;
|
|
4982
4987
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -4990,11 +4995,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
4990
4995
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
4991
4996
|
} | undefined;
|
|
4992
4997
|
} | undefined;
|
|
4993
|
-
retry?: {
|
|
4994
|
-
maxAttempts: number;
|
|
4995
|
-
augmentPrompt?: string | undefined;
|
|
4996
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
4997
|
-
} | undefined;
|
|
4998
4998
|
enabled?: boolean | undefined;
|
|
4999
4999
|
}>>;
|
|
5000
5000
|
|
|
@@ -5037,10 +5037,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5037
5037
|
passThreshold?: number | undefined;
|
|
5038
5038
|
rubricRef?: string | undefined;
|
|
5039
5039
|
gatePolicy?: {
|
|
5040
|
-
activeRunModes: ("
|
|
5040
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5041
5041
|
enabled: boolean;
|
|
5042
5042
|
passThreshold: number;
|
|
5043
|
-
failureAction: "
|
|
5043
|
+
failureAction: "retry" | "flag" | "block";
|
|
5044
|
+
retry?: {
|
|
5045
|
+
maxAttempts: number;
|
|
5046
|
+
augmentPrompt?: string | undefined;
|
|
5047
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5048
|
+
} | undefined;
|
|
5044
5049
|
flag?: {
|
|
5045
5050
|
headerName: string;
|
|
5046
5051
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5054,11 +5059,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5054
5059
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5055
5060
|
} | undefined;
|
|
5056
5061
|
} | undefined;
|
|
5057
|
-
retry?: {
|
|
5058
|
-
maxAttempts: number;
|
|
5059
|
-
augmentPrompt?: string | undefined;
|
|
5060
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5061
|
-
} | undefined;
|
|
5062
5062
|
} | undefined;
|
|
5063
5063
|
valueDomain?: {
|
|
5064
5064
|
values: string[];
|
|
@@ -5080,8 +5080,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5080
5080
|
rubricRef?: string | undefined;
|
|
5081
5081
|
gatePolicy?: {
|
|
5082
5082
|
passThreshold: number;
|
|
5083
|
-
failureAction: "
|
|
5084
|
-
activeRunModes?: ("
|
|
5083
|
+
failureAction: "retry" | "flag" | "block";
|
|
5084
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5085
|
+
retry?: {
|
|
5086
|
+
maxAttempts: number;
|
|
5087
|
+
augmentPrompt?: string | undefined;
|
|
5088
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5089
|
+
} | undefined;
|
|
5085
5090
|
flag?: {
|
|
5086
5091
|
headerName: string;
|
|
5087
5092
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5095,11 +5100,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5095
5100
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5096
5101
|
} | undefined;
|
|
5097
5102
|
} | undefined;
|
|
5098
|
-
retry?: {
|
|
5099
|
-
maxAttempts: number;
|
|
5100
|
-
augmentPrompt?: string | undefined;
|
|
5101
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5102
|
-
} | undefined;
|
|
5103
5103
|
enabled?: boolean | undefined;
|
|
5104
5104
|
} | undefined;
|
|
5105
5105
|
valueDomain?: {
|
|
@@ -5121,10 +5121,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5121
5121
|
passThreshold?: number | undefined;
|
|
5122
5122
|
rubricRef?: string | undefined;
|
|
5123
5123
|
gatePolicy?: {
|
|
5124
|
-
activeRunModes: ("
|
|
5124
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5125
5125
|
enabled: boolean;
|
|
5126
5126
|
passThreshold: number;
|
|
5127
|
-
failureAction: "
|
|
5127
|
+
failureAction: "retry" | "flag" | "block";
|
|
5128
|
+
retry?: {
|
|
5129
|
+
maxAttempts: number;
|
|
5130
|
+
augmentPrompt?: string | undefined;
|
|
5131
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5132
|
+
} | undefined;
|
|
5128
5133
|
flag?: {
|
|
5129
5134
|
headerName: string;
|
|
5130
5135
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5138,11 +5143,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5138
5143
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5139
5144
|
} | undefined;
|
|
5140
5145
|
} | undefined;
|
|
5141
|
-
retry?: {
|
|
5142
|
-
maxAttempts: number;
|
|
5143
|
-
augmentPrompt?: string | undefined;
|
|
5144
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5145
|
-
} | undefined;
|
|
5146
5146
|
} | undefined;
|
|
5147
5147
|
valueDomain?: {
|
|
5148
5148
|
values: string[];
|
|
@@ -5164,8 +5164,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5164
5164
|
rubricRef?: string | undefined;
|
|
5165
5165
|
gatePolicy?: {
|
|
5166
5166
|
passThreshold: number;
|
|
5167
|
-
failureAction: "
|
|
5168
|
-
activeRunModes?: ("
|
|
5167
|
+
failureAction: "retry" | "flag" | "block";
|
|
5168
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5169
|
+
retry?: {
|
|
5170
|
+
maxAttempts: number;
|
|
5171
|
+
augmentPrompt?: string | undefined;
|
|
5172
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5173
|
+
} | undefined;
|
|
5169
5174
|
flag?: {
|
|
5170
5175
|
headerName: string;
|
|
5171
5176
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5179,11 +5184,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5179
5184
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5180
5185
|
} | undefined;
|
|
5181
5186
|
} | undefined;
|
|
5182
|
-
retry?: {
|
|
5183
|
-
maxAttempts: number;
|
|
5184
|
-
augmentPrompt?: string | undefined;
|
|
5185
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5186
|
-
} | undefined;
|
|
5187
5187
|
enabled?: boolean | undefined;
|
|
5188
5188
|
} | undefined;
|
|
5189
5189
|
valueDomain?: {
|
|
@@ -5200,9 +5200,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5200
5200
|
} | undefined;
|
|
5201
5201
|
}>, "many">>;
|
|
5202
5202
|
}, "strip", ZodTypeAny$1, {
|
|
5203
|
-
lightSourceId: string | readonly string[];
|
|
5204
5203
|
surfaceId: string;
|
|
5205
|
-
|
|
5204
|
+
lightSourceId: string | readonly string[];
|
|
5205
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5206
5206
|
dimensions?: {
|
|
5207
5207
|
id: string;
|
|
5208
5208
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5210,10 +5210,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5210
5210
|
passThreshold?: number | undefined;
|
|
5211
5211
|
rubricRef?: string | undefined;
|
|
5212
5212
|
gatePolicy?: {
|
|
5213
|
-
activeRunModes: ("
|
|
5213
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5214
5214
|
enabled: boolean;
|
|
5215
5215
|
passThreshold: number;
|
|
5216
|
-
failureAction: "
|
|
5216
|
+
failureAction: "retry" | "flag" | "block";
|
|
5217
|
+
retry?: {
|
|
5218
|
+
maxAttempts: number;
|
|
5219
|
+
augmentPrompt?: string | undefined;
|
|
5220
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5221
|
+
} | undefined;
|
|
5217
5222
|
flag?: {
|
|
5218
5223
|
headerName: string;
|
|
5219
5224
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5227,11 +5232,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5227
5232
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5228
5233
|
} | undefined;
|
|
5229
5234
|
} | undefined;
|
|
5230
|
-
retry?: {
|
|
5231
|
-
maxAttempts: number;
|
|
5232
|
-
augmentPrompt?: string | undefined;
|
|
5233
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5234
|
-
} | undefined;
|
|
5235
5235
|
} | undefined;
|
|
5236
5236
|
valueDomain?: {
|
|
5237
5237
|
values: string[];
|
|
@@ -5247,9 +5247,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5247
5247
|
} | undefined;
|
|
5248
5248
|
}[] | undefined;
|
|
5249
5249
|
}, {
|
|
5250
|
-
lightSourceId: string | readonly string[];
|
|
5251
5250
|
surfaceId: string;
|
|
5252
|
-
|
|
5251
|
+
lightSourceId: string | readonly string[];
|
|
5252
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5253
5253
|
dimensions?: {
|
|
5254
5254
|
id: string;
|
|
5255
5255
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5258,8 +5258,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5258
5258
|
rubricRef?: string | undefined;
|
|
5259
5259
|
gatePolicy?: {
|
|
5260
5260
|
passThreshold: number;
|
|
5261
|
-
failureAction: "
|
|
5262
|
-
activeRunModes?: ("
|
|
5261
|
+
failureAction: "retry" | "flag" | "block";
|
|
5262
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5263
|
+
retry?: {
|
|
5264
|
+
maxAttempts: number;
|
|
5265
|
+
augmentPrompt?: string | undefined;
|
|
5266
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5267
|
+
} | undefined;
|
|
5263
5268
|
flag?: {
|
|
5264
5269
|
headerName: string;
|
|
5265
5270
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5273,11 +5278,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5273
5278
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5274
5279
|
} | undefined;
|
|
5275
5280
|
} | undefined;
|
|
5276
|
-
retry?: {
|
|
5277
|
-
maxAttempts: number;
|
|
5278
|
-
augmentPrompt?: string | undefined;
|
|
5279
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5280
|
-
} | undefined;
|
|
5281
5281
|
enabled?: boolean | undefined;
|
|
5282
5282
|
} | undefined;
|
|
5283
5283
|
valueDomain?: {
|
|
@@ -5296,9 +5296,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5296
5296
|
}>>;
|
|
5297
5297
|
}, "strip", ZodTypeAny$1, {
|
|
5298
5298
|
skillDrafting: {
|
|
5299
|
-
lightSourceId: string | readonly string[];
|
|
5300
5299
|
surfaceId: string;
|
|
5301
|
-
|
|
5300
|
+
lightSourceId: string | readonly string[];
|
|
5301
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5302
5302
|
dimensions?: {
|
|
5303
5303
|
id: string;
|
|
5304
5304
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5306,10 +5306,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5306
5306
|
passThreshold?: number | undefined;
|
|
5307
5307
|
rubricRef?: string | undefined;
|
|
5308
5308
|
gatePolicy?: {
|
|
5309
|
-
activeRunModes: ("
|
|
5309
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5310
5310
|
enabled: boolean;
|
|
5311
5311
|
passThreshold: number;
|
|
5312
|
-
failureAction: "
|
|
5312
|
+
failureAction: "retry" | "flag" | "block";
|
|
5313
|
+
retry?: {
|
|
5314
|
+
maxAttempts: number;
|
|
5315
|
+
augmentPrompt?: string | undefined;
|
|
5316
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5317
|
+
} | undefined;
|
|
5313
5318
|
flag?: {
|
|
5314
5319
|
headerName: string;
|
|
5315
5320
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5323,11 +5328,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5323
5328
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5324
5329
|
} | undefined;
|
|
5325
5330
|
} | undefined;
|
|
5326
|
-
retry?: {
|
|
5327
|
-
maxAttempts: number;
|
|
5328
|
-
augmentPrompt?: string | undefined;
|
|
5329
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5330
|
-
} | undefined;
|
|
5331
5331
|
} | undefined;
|
|
5332
5332
|
valueDomain?: {
|
|
5333
5333
|
values: string[];
|
|
@@ -5344,9 +5344,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5344
5344
|
}[] | undefined;
|
|
5345
5345
|
};
|
|
5346
5346
|
lessonDrafting?: {
|
|
5347
|
-
lightSourceId: string | readonly string[];
|
|
5348
5347
|
surfaceId: string;
|
|
5349
|
-
|
|
5348
|
+
lightSourceId: string | readonly string[];
|
|
5349
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5350
5350
|
dimensions?: {
|
|
5351
5351
|
id: string;
|
|
5352
5352
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5354,10 +5354,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5354
5354
|
passThreshold?: number | undefined;
|
|
5355
5355
|
rubricRef?: string | undefined;
|
|
5356
5356
|
gatePolicy?: {
|
|
5357
|
-
activeRunModes: ("
|
|
5357
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5358
5358
|
enabled: boolean;
|
|
5359
5359
|
passThreshold: number;
|
|
5360
|
-
failureAction: "
|
|
5360
|
+
failureAction: "retry" | "flag" | "block";
|
|
5361
|
+
retry?: {
|
|
5362
|
+
maxAttempts: number;
|
|
5363
|
+
augmentPrompt?: string | undefined;
|
|
5364
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5365
|
+
} | undefined;
|
|
5361
5366
|
flag?: {
|
|
5362
5367
|
headerName: string;
|
|
5363
5368
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5371,11 +5376,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5371
5376
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5372
5377
|
} | undefined;
|
|
5373
5378
|
} | undefined;
|
|
5374
|
-
retry?: {
|
|
5375
|
-
maxAttempts: number;
|
|
5376
|
-
augmentPrompt?: string | undefined;
|
|
5377
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5378
|
-
} | undefined;
|
|
5379
5379
|
} | undefined;
|
|
5380
5380
|
valueDomain?: {
|
|
5381
5381
|
values: string[];
|
|
@@ -5392,9 +5392,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5392
5392
|
}[] | undefined;
|
|
5393
5393
|
} | undefined;
|
|
5394
5394
|
fixtureGeneration?: {
|
|
5395
|
-
lightSourceId: string | readonly string[];
|
|
5396
5395
|
surfaceId: string;
|
|
5397
|
-
|
|
5396
|
+
lightSourceId: string | readonly string[];
|
|
5397
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5398
5398
|
dimensions?: {
|
|
5399
5399
|
id: string;
|
|
5400
5400
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5402,10 +5402,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5402
5402
|
passThreshold?: number | undefined;
|
|
5403
5403
|
rubricRef?: string | undefined;
|
|
5404
5404
|
gatePolicy?: {
|
|
5405
|
-
activeRunModes: ("
|
|
5405
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5406
5406
|
enabled: boolean;
|
|
5407
5407
|
passThreshold: number;
|
|
5408
|
-
failureAction: "
|
|
5408
|
+
failureAction: "retry" | "flag" | "block";
|
|
5409
|
+
retry?: {
|
|
5410
|
+
maxAttempts: number;
|
|
5411
|
+
augmentPrompt?: string | undefined;
|
|
5412
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5413
|
+
} | undefined;
|
|
5409
5414
|
flag?: {
|
|
5410
5415
|
headerName: string;
|
|
5411
5416
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5419,11 +5424,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5419
5424
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5420
5425
|
} | undefined;
|
|
5421
5426
|
} | undefined;
|
|
5422
|
-
retry?: {
|
|
5423
|
-
maxAttempts: number;
|
|
5424
|
-
augmentPrompt?: string | undefined;
|
|
5425
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5426
|
-
} | undefined;
|
|
5427
5427
|
} | undefined;
|
|
5428
5428
|
valueDomain?: {
|
|
5429
5429
|
values: string[];
|
|
@@ -5440,9 +5440,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5440
5440
|
}[] | undefined;
|
|
5441
5441
|
} | undefined;
|
|
5442
5442
|
codeChangeRecommendationDrafting?: {
|
|
5443
|
-
lightSourceId: string | readonly string[];
|
|
5444
5443
|
surfaceId: string;
|
|
5445
|
-
|
|
5444
|
+
lightSourceId: string | readonly string[];
|
|
5445
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5446
5446
|
dimensions?: {
|
|
5447
5447
|
id: string;
|
|
5448
5448
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5450,10 +5450,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5450
5450
|
passThreshold?: number | undefined;
|
|
5451
5451
|
rubricRef?: string | undefined;
|
|
5452
5452
|
gatePolicy?: {
|
|
5453
|
-
activeRunModes: ("
|
|
5453
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5454
5454
|
enabled: boolean;
|
|
5455
5455
|
passThreshold: number;
|
|
5456
|
-
failureAction: "
|
|
5456
|
+
failureAction: "retry" | "flag" | "block";
|
|
5457
|
+
retry?: {
|
|
5458
|
+
maxAttempts: number;
|
|
5459
|
+
augmentPrompt?: string | undefined;
|
|
5460
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5461
|
+
} | undefined;
|
|
5457
5462
|
flag?: {
|
|
5458
5463
|
headerName: string;
|
|
5459
5464
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5467,11 +5472,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5467
5472
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5468
5473
|
} | undefined;
|
|
5469
5474
|
} | undefined;
|
|
5470
|
-
retry?: {
|
|
5471
|
-
maxAttempts: number;
|
|
5472
|
-
augmentPrompt?: string | undefined;
|
|
5473
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5474
|
-
} | undefined;
|
|
5475
5475
|
} | undefined;
|
|
5476
5476
|
valueDomain?: {
|
|
5477
5477
|
values: string[];
|
|
@@ -5488,9 +5488,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5488
5488
|
}[] | undefined;
|
|
5489
5489
|
} | undefined;
|
|
5490
5490
|
blastRadiusJudging?: {
|
|
5491
|
-
lightSourceId: string | readonly string[];
|
|
5492
5491
|
surfaceId: string;
|
|
5493
|
-
|
|
5492
|
+
lightSourceId: string | readonly string[];
|
|
5493
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5494
5494
|
dimensions?: {
|
|
5495
5495
|
id: string;
|
|
5496
5496
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5498,10 +5498,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5498
5498
|
passThreshold?: number | undefined;
|
|
5499
5499
|
rubricRef?: string | undefined;
|
|
5500
5500
|
gatePolicy?: {
|
|
5501
|
-
activeRunModes: ("
|
|
5501
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5502
5502
|
enabled: boolean;
|
|
5503
5503
|
passThreshold: number;
|
|
5504
|
-
failureAction: "
|
|
5504
|
+
failureAction: "retry" | "flag" | "block";
|
|
5505
|
+
retry?: {
|
|
5506
|
+
maxAttempts: number;
|
|
5507
|
+
augmentPrompt?: string | undefined;
|
|
5508
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5509
|
+
} | undefined;
|
|
5505
5510
|
flag?: {
|
|
5506
5511
|
headerName: string;
|
|
5507
5512
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5515,11 +5520,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5515
5520
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5516
5521
|
} | undefined;
|
|
5517
5522
|
} | undefined;
|
|
5518
|
-
retry?: {
|
|
5519
|
-
maxAttempts: number;
|
|
5520
|
-
augmentPrompt?: string | undefined;
|
|
5521
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5522
|
-
} | undefined;
|
|
5523
5523
|
} | undefined;
|
|
5524
5524
|
valueDomain?: {
|
|
5525
5525
|
values: string[];
|
|
@@ -5537,9 +5537,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5537
5537
|
} | undefined;
|
|
5538
5538
|
}, {
|
|
5539
5539
|
skillDrafting: {
|
|
5540
|
-
lightSourceId: string | readonly string[];
|
|
5541
5540
|
surfaceId: string;
|
|
5542
|
-
|
|
5541
|
+
lightSourceId: string | readonly string[];
|
|
5542
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5543
5543
|
dimensions?: {
|
|
5544
5544
|
id: string;
|
|
5545
5545
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5548,8 +5548,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5548
5548
|
rubricRef?: string | undefined;
|
|
5549
5549
|
gatePolicy?: {
|
|
5550
5550
|
passThreshold: number;
|
|
5551
|
-
failureAction: "
|
|
5552
|
-
activeRunModes?: ("
|
|
5551
|
+
failureAction: "retry" | "flag" | "block";
|
|
5552
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5553
|
+
retry?: {
|
|
5554
|
+
maxAttempts: number;
|
|
5555
|
+
augmentPrompt?: string | undefined;
|
|
5556
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5557
|
+
} | undefined;
|
|
5553
5558
|
flag?: {
|
|
5554
5559
|
headerName: string;
|
|
5555
5560
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5563,11 +5568,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5563
5568
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5564
5569
|
} | undefined;
|
|
5565
5570
|
} | undefined;
|
|
5566
|
-
retry?: {
|
|
5567
|
-
maxAttempts: number;
|
|
5568
|
-
augmentPrompt?: string | undefined;
|
|
5569
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5570
|
-
} | undefined;
|
|
5571
5571
|
enabled?: boolean | undefined;
|
|
5572
5572
|
} | undefined;
|
|
5573
5573
|
valueDomain?: {
|
|
@@ -5585,9 +5585,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5585
5585
|
}[] | undefined;
|
|
5586
5586
|
};
|
|
5587
5587
|
lessonDrafting?: {
|
|
5588
|
-
lightSourceId: string | readonly string[];
|
|
5589
5588
|
surfaceId: string;
|
|
5590
|
-
|
|
5589
|
+
lightSourceId: string | readonly string[];
|
|
5590
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5591
5591
|
dimensions?: {
|
|
5592
5592
|
id: string;
|
|
5593
5593
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5596,8 +5596,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5596
5596
|
rubricRef?: string | undefined;
|
|
5597
5597
|
gatePolicy?: {
|
|
5598
5598
|
passThreshold: number;
|
|
5599
|
-
failureAction: "
|
|
5600
|
-
activeRunModes?: ("
|
|
5599
|
+
failureAction: "retry" | "flag" | "block";
|
|
5600
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5601
|
+
retry?: {
|
|
5602
|
+
maxAttempts: number;
|
|
5603
|
+
augmentPrompt?: string | undefined;
|
|
5604
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5605
|
+
} | undefined;
|
|
5601
5606
|
flag?: {
|
|
5602
5607
|
headerName: string;
|
|
5603
5608
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5611,11 +5616,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5611
5616
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5612
5617
|
} | undefined;
|
|
5613
5618
|
} | undefined;
|
|
5614
|
-
retry?: {
|
|
5615
|
-
maxAttempts: number;
|
|
5616
|
-
augmentPrompt?: string | undefined;
|
|
5617
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5618
|
-
} | undefined;
|
|
5619
5619
|
enabled?: boolean | undefined;
|
|
5620
5620
|
} | undefined;
|
|
5621
5621
|
valueDomain?: {
|
|
@@ -5633,9 +5633,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5633
5633
|
}[] | undefined;
|
|
5634
5634
|
} | undefined;
|
|
5635
5635
|
fixtureGeneration?: {
|
|
5636
|
-
lightSourceId: string | readonly string[];
|
|
5637
5636
|
surfaceId: string;
|
|
5638
|
-
|
|
5637
|
+
lightSourceId: string | readonly string[];
|
|
5638
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5639
5639
|
dimensions?: {
|
|
5640
5640
|
id: string;
|
|
5641
5641
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5644,8 +5644,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5644
5644
|
rubricRef?: string | undefined;
|
|
5645
5645
|
gatePolicy?: {
|
|
5646
5646
|
passThreshold: number;
|
|
5647
|
-
failureAction: "
|
|
5648
|
-
activeRunModes?: ("
|
|
5647
|
+
failureAction: "retry" | "flag" | "block";
|
|
5648
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5649
|
+
retry?: {
|
|
5650
|
+
maxAttempts: number;
|
|
5651
|
+
augmentPrompt?: string | undefined;
|
|
5652
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5653
|
+
} | undefined;
|
|
5649
5654
|
flag?: {
|
|
5650
5655
|
headerName: string;
|
|
5651
5656
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5659,11 +5664,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5659
5664
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5660
5665
|
} | undefined;
|
|
5661
5666
|
} | undefined;
|
|
5662
|
-
retry?: {
|
|
5663
|
-
maxAttempts: number;
|
|
5664
|
-
augmentPrompt?: string | undefined;
|
|
5665
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5666
|
-
} | undefined;
|
|
5667
5667
|
enabled?: boolean | undefined;
|
|
5668
5668
|
} | undefined;
|
|
5669
5669
|
valueDomain?: {
|
|
@@ -5681,9 +5681,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5681
5681
|
}[] | undefined;
|
|
5682
5682
|
} | undefined;
|
|
5683
5683
|
codeChangeRecommendationDrafting?: {
|
|
5684
|
-
lightSourceId: string | readonly string[];
|
|
5685
5684
|
surfaceId: string;
|
|
5686
|
-
|
|
5685
|
+
lightSourceId: string | readonly string[];
|
|
5686
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5687
5687
|
dimensions?: {
|
|
5688
5688
|
id: string;
|
|
5689
5689
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5692,8 +5692,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5692
5692
|
rubricRef?: string | undefined;
|
|
5693
5693
|
gatePolicy?: {
|
|
5694
5694
|
passThreshold: number;
|
|
5695
|
-
failureAction: "
|
|
5696
|
-
activeRunModes?: ("
|
|
5695
|
+
failureAction: "retry" | "flag" | "block";
|
|
5696
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5697
|
+
retry?: {
|
|
5698
|
+
maxAttempts: number;
|
|
5699
|
+
augmentPrompt?: string | undefined;
|
|
5700
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5701
|
+
} | undefined;
|
|
5697
5702
|
flag?: {
|
|
5698
5703
|
headerName: string;
|
|
5699
5704
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5707,11 +5712,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5707
5712
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5708
5713
|
} | undefined;
|
|
5709
5714
|
} | undefined;
|
|
5710
|
-
retry?: {
|
|
5711
|
-
maxAttempts: number;
|
|
5712
|
-
augmentPrompt?: string | undefined;
|
|
5713
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5714
|
-
} | undefined;
|
|
5715
5715
|
enabled?: boolean | undefined;
|
|
5716
5716
|
} | undefined;
|
|
5717
5717
|
valueDomain?: {
|
|
@@ -5729,9 +5729,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5729
5729
|
}[] | undefined;
|
|
5730
5730
|
} | undefined;
|
|
5731
5731
|
blastRadiusJudging?: {
|
|
5732
|
-
lightSourceId: string | readonly string[];
|
|
5733
5732
|
surfaceId: string;
|
|
5734
|
-
|
|
5733
|
+
lightSourceId: string | readonly string[];
|
|
5734
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5735
5735
|
dimensions?: {
|
|
5736
5736
|
id: string;
|
|
5737
5737
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5740,8 +5740,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5740
5740
|
rubricRef?: string | undefined;
|
|
5741
5741
|
gatePolicy?: {
|
|
5742
5742
|
passThreshold: number;
|
|
5743
|
-
failureAction: "
|
|
5744
|
-
activeRunModes?: ("
|
|
5743
|
+
failureAction: "retry" | "flag" | "block";
|
|
5744
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5745
|
+
retry?: {
|
|
5746
|
+
maxAttempts: number;
|
|
5747
|
+
augmentPrompt?: string | undefined;
|
|
5748
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5749
|
+
} | undefined;
|
|
5745
5750
|
flag?: {
|
|
5746
5751
|
headerName: string;
|
|
5747
5752
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5755,11 +5760,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5755
5760
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5756
5761
|
} | undefined;
|
|
5757
5762
|
} | undefined;
|
|
5758
|
-
retry?: {
|
|
5759
|
-
maxAttempts: number;
|
|
5760
|
-
augmentPrompt?: string | undefined;
|
|
5761
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5762
|
-
} | undefined;
|
|
5763
5763
|
enabled?: boolean | undefined;
|
|
5764
5764
|
} | undefined;
|
|
5765
5765
|
valueDomain?: {
|
|
@@ -5789,10 +5789,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5789
5789
|
passThreshold?: number | undefined;
|
|
5790
5790
|
rubricRef?: string | undefined;
|
|
5791
5791
|
gatePolicy?: {
|
|
5792
|
-
activeRunModes: ("
|
|
5792
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5793
5793
|
enabled: boolean;
|
|
5794
5794
|
passThreshold: number;
|
|
5795
|
-
failureAction: "
|
|
5795
|
+
failureAction: "retry" | "flag" | "block";
|
|
5796
|
+
retry?: {
|
|
5797
|
+
maxAttempts: number;
|
|
5798
|
+
augmentPrompt?: string | undefined;
|
|
5799
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5800
|
+
} | undefined;
|
|
5796
5801
|
flag?: {
|
|
5797
5802
|
headerName: string;
|
|
5798
5803
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5806,11 +5811,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5806
5811
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5807
5812
|
} | undefined;
|
|
5808
5813
|
} | undefined;
|
|
5809
|
-
retry?: {
|
|
5810
|
-
maxAttempts: number;
|
|
5811
|
-
augmentPrompt?: string | undefined;
|
|
5812
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5813
|
-
} | undefined;
|
|
5814
5814
|
} | undefined;
|
|
5815
5815
|
valueDomain?: {
|
|
5816
5816
|
values: string[];
|
|
@@ -5831,8 +5831,8 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5831
5831
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
5832
5832
|
visibility: "transparent" | "announced" | "opaque";
|
|
5833
5833
|
semantic: "deployment-state" | "diagnostic";
|
|
5834
|
-
values?: string[] | undefined;
|
|
5835
5834
|
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
5835
|
+
values?: string[] | undefined;
|
|
5836
5836
|
description?: string | undefined;
|
|
5837
5837
|
emissionExpectation?: "always" | "conditional" | {
|
|
5838
5838
|
whenever: string;
|
|
@@ -5840,9 +5840,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5840
5840
|
}[];
|
|
5841
5841
|
removedDimensions: {
|
|
5842
5842
|
id: string;
|
|
5843
|
-
reason?: string | undefined;
|
|
5844
5843
|
removedAt?: string | undefined;
|
|
5845
5844
|
removedInLensVersion?: string | undefined;
|
|
5845
|
+
reason?: string | undefined;
|
|
5846
5846
|
supersededBy?: {
|
|
5847
5847
|
id: string;
|
|
5848
5848
|
altitude: "dimension" | "cohortTag";
|
|
@@ -5851,9 +5851,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5851
5851
|
}[];
|
|
5852
5852
|
removedCohortTags: {
|
|
5853
5853
|
tag: string;
|
|
5854
|
-
reason?: string | undefined;
|
|
5855
5854
|
removedAt?: string | undefined;
|
|
5856
5855
|
removedInLensVersion?: string | undefined;
|
|
5856
|
+
reason?: string | undefined;
|
|
5857
5857
|
supersededBy?: {
|
|
5858
5858
|
id: string;
|
|
5859
5859
|
altitude: "dimension" | "cohortTag";
|
|
@@ -5874,15 +5874,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5874
5874
|
}[];
|
|
5875
5875
|
description?: string | undefined;
|
|
5876
5876
|
postOutcomeStages?: Record<string, {
|
|
5877
|
-
kind: "filter" | "
|
|
5877
|
+
kind: "filter" | "deferred-delivery" | "cache" | "rate-limit" | "fan-in" | "other";
|
|
5878
5878
|
observability: "declared" | "reconciled";
|
|
5879
5879
|
description?: string | undefined;
|
|
5880
5880
|
settleMs?: number | undefined;
|
|
5881
5881
|
}> | undefined;
|
|
5882
5882
|
routings?: {
|
|
5883
|
-
lightSourceId: string | readonly string[];
|
|
5884
5883
|
surfaceId: string;
|
|
5885
|
-
|
|
5884
|
+
lightSourceId: string | readonly string[];
|
|
5885
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5886
5886
|
}[] | undefined;
|
|
5887
5887
|
pricing?: Record<string, {
|
|
5888
5888
|
perMillionInput: number;
|
|
@@ -5892,9 +5892,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5892
5892
|
}> | undefined;
|
|
5893
5893
|
systemSurfaces?: {
|
|
5894
5894
|
skillDrafting: {
|
|
5895
|
-
lightSourceId: string | readonly string[];
|
|
5896
5895
|
surfaceId: string;
|
|
5897
|
-
|
|
5896
|
+
lightSourceId: string | readonly string[];
|
|
5897
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5898
5898
|
dimensions?: {
|
|
5899
5899
|
id: string;
|
|
5900
5900
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5902,10 +5902,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5902
5902
|
passThreshold?: number | undefined;
|
|
5903
5903
|
rubricRef?: string | undefined;
|
|
5904
5904
|
gatePolicy?: {
|
|
5905
|
-
activeRunModes: ("
|
|
5905
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5906
5906
|
enabled: boolean;
|
|
5907
5907
|
passThreshold: number;
|
|
5908
|
-
failureAction: "
|
|
5908
|
+
failureAction: "retry" | "flag" | "block";
|
|
5909
|
+
retry?: {
|
|
5910
|
+
maxAttempts: number;
|
|
5911
|
+
augmentPrompt?: string | undefined;
|
|
5912
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5913
|
+
} | undefined;
|
|
5909
5914
|
flag?: {
|
|
5910
5915
|
headerName: string;
|
|
5911
5916
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5919,11 +5924,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5919
5924
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5920
5925
|
} | undefined;
|
|
5921
5926
|
} | undefined;
|
|
5922
|
-
retry?: {
|
|
5923
|
-
maxAttempts: number;
|
|
5924
|
-
augmentPrompt?: string | undefined;
|
|
5925
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5926
|
-
} | undefined;
|
|
5927
5927
|
} | undefined;
|
|
5928
5928
|
valueDomain?: {
|
|
5929
5929
|
values: string[];
|
|
@@ -5940,9 +5940,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5940
5940
|
}[] | undefined;
|
|
5941
5941
|
};
|
|
5942
5942
|
lessonDrafting?: {
|
|
5943
|
-
lightSourceId: string | readonly string[];
|
|
5944
5943
|
surfaceId: string;
|
|
5945
|
-
|
|
5944
|
+
lightSourceId: string | readonly string[];
|
|
5945
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5946
5946
|
dimensions?: {
|
|
5947
5947
|
id: string;
|
|
5948
5948
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5950,10 +5950,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5950
5950
|
passThreshold?: number | undefined;
|
|
5951
5951
|
rubricRef?: string | undefined;
|
|
5952
5952
|
gatePolicy?: {
|
|
5953
|
-
activeRunModes: ("
|
|
5953
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
5954
5954
|
enabled: boolean;
|
|
5955
5955
|
passThreshold: number;
|
|
5956
|
-
failureAction: "
|
|
5956
|
+
failureAction: "retry" | "flag" | "block";
|
|
5957
|
+
retry?: {
|
|
5958
|
+
maxAttempts: number;
|
|
5959
|
+
augmentPrompt?: string | undefined;
|
|
5960
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
5961
|
+
} | undefined;
|
|
5957
5962
|
flag?: {
|
|
5958
5963
|
headerName: string;
|
|
5959
5964
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -5967,11 +5972,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5967
5972
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
5968
5973
|
} | undefined;
|
|
5969
5974
|
} | undefined;
|
|
5970
|
-
retry?: {
|
|
5971
|
-
maxAttempts: number;
|
|
5972
|
-
augmentPrompt?: string | undefined;
|
|
5973
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
5974
|
-
} | undefined;
|
|
5975
5975
|
} | undefined;
|
|
5976
5976
|
valueDomain?: {
|
|
5977
5977
|
values: string[];
|
|
@@ -5988,9 +5988,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5988
5988
|
}[] | undefined;
|
|
5989
5989
|
} | undefined;
|
|
5990
5990
|
fixtureGeneration?: {
|
|
5991
|
-
lightSourceId: string | readonly string[];
|
|
5992
5991
|
surfaceId: string;
|
|
5993
|
-
|
|
5992
|
+
lightSourceId: string | readonly string[];
|
|
5993
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
5994
5994
|
dimensions?: {
|
|
5995
5995
|
id: string;
|
|
5996
5996
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -5998,10 +5998,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
5998
5998
|
passThreshold?: number | undefined;
|
|
5999
5999
|
rubricRef?: string | undefined;
|
|
6000
6000
|
gatePolicy?: {
|
|
6001
|
-
activeRunModes: ("
|
|
6001
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
6002
6002
|
enabled: boolean;
|
|
6003
6003
|
passThreshold: number;
|
|
6004
|
-
failureAction: "
|
|
6004
|
+
failureAction: "retry" | "flag" | "block";
|
|
6005
|
+
retry?: {
|
|
6006
|
+
maxAttempts: number;
|
|
6007
|
+
augmentPrompt?: string | undefined;
|
|
6008
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6009
|
+
} | undefined;
|
|
6005
6010
|
flag?: {
|
|
6006
6011
|
headerName: string;
|
|
6007
6012
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6015,11 +6020,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6015
6020
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6016
6021
|
} | undefined;
|
|
6017
6022
|
} | undefined;
|
|
6018
|
-
retry?: {
|
|
6019
|
-
maxAttempts: number;
|
|
6020
|
-
augmentPrompt?: string | undefined;
|
|
6021
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6022
|
-
} | undefined;
|
|
6023
6023
|
} | undefined;
|
|
6024
6024
|
valueDomain?: {
|
|
6025
6025
|
values: string[];
|
|
@@ -6036,9 +6036,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6036
6036
|
}[] | undefined;
|
|
6037
6037
|
} | undefined;
|
|
6038
6038
|
codeChangeRecommendationDrafting?: {
|
|
6039
|
-
lightSourceId: string | readonly string[];
|
|
6040
6039
|
surfaceId: string;
|
|
6041
|
-
|
|
6040
|
+
lightSourceId: string | readonly string[];
|
|
6041
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6042
6042
|
dimensions?: {
|
|
6043
6043
|
id: string;
|
|
6044
6044
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6046,10 +6046,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6046
6046
|
passThreshold?: number | undefined;
|
|
6047
6047
|
rubricRef?: string | undefined;
|
|
6048
6048
|
gatePolicy?: {
|
|
6049
|
-
activeRunModes: ("
|
|
6049
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
6050
6050
|
enabled: boolean;
|
|
6051
6051
|
passThreshold: number;
|
|
6052
|
-
failureAction: "
|
|
6052
|
+
failureAction: "retry" | "flag" | "block";
|
|
6053
|
+
retry?: {
|
|
6054
|
+
maxAttempts: number;
|
|
6055
|
+
augmentPrompt?: string | undefined;
|
|
6056
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6057
|
+
} | undefined;
|
|
6053
6058
|
flag?: {
|
|
6054
6059
|
headerName: string;
|
|
6055
6060
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6063,11 +6068,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6063
6068
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6064
6069
|
} | undefined;
|
|
6065
6070
|
} | undefined;
|
|
6066
|
-
retry?: {
|
|
6067
|
-
maxAttempts: number;
|
|
6068
|
-
augmentPrompt?: string | undefined;
|
|
6069
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6070
|
-
} | undefined;
|
|
6071
6071
|
} | undefined;
|
|
6072
6072
|
valueDomain?: {
|
|
6073
6073
|
values: string[];
|
|
@@ -6084,9 +6084,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6084
6084
|
}[] | undefined;
|
|
6085
6085
|
} | undefined;
|
|
6086
6086
|
blastRadiusJudging?: {
|
|
6087
|
-
lightSourceId: string | readonly string[];
|
|
6088
6087
|
surfaceId: string;
|
|
6089
|
-
|
|
6088
|
+
lightSourceId: string | readonly string[];
|
|
6089
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6090
6090
|
dimensions?: {
|
|
6091
6091
|
id: string;
|
|
6092
6092
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6094,10 +6094,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6094
6094
|
passThreshold?: number | undefined;
|
|
6095
6095
|
rubricRef?: string | undefined;
|
|
6096
6096
|
gatePolicy?: {
|
|
6097
|
-
activeRunModes: ("
|
|
6097
|
+
activeRunModes: ("production" | "test" | "eval" | "replay" | "local_dev")[];
|
|
6098
6098
|
enabled: boolean;
|
|
6099
6099
|
passThreshold: number;
|
|
6100
|
-
failureAction: "
|
|
6100
|
+
failureAction: "retry" | "flag" | "block";
|
|
6101
|
+
retry?: {
|
|
6102
|
+
maxAttempts: number;
|
|
6103
|
+
augmentPrompt?: string | undefined;
|
|
6104
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6105
|
+
} | undefined;
|
|
6101
6106
|
flag?: {
|
|
6102
6107
|
headerName: string;
|
|
6103
6108
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6111,11 +6116,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6111
6116
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6112
6117
|
} | undefined;
|
|
6113
6118
|
} | undefined;
|
|
6114
|
-
retry?: {
|
|
6115
|
-
maxAttempts: number;
|
|
6116
|
-
augmentPrompt?: string | undefined;
|
|
6117
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6118
|
-
} | undefined;
|
|
6119
6119
|
} | undefined;
|
|
6120
6120
|
valueDomain?: {
|
|
6121
6121
|
values: string[];
|
|
@@ -6144,8 +6144,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6144
6144
|
rubricRef?: string | undefined;
|
|
6145
6145
|
gatePolicy?: {
|
|
6146
6146
|
passThreshold: number;
|
|
6147
|
-
failureAction: "
|
|
6148
|
-
activeRunModes?: ("
|
|
6147
|
+
failureAction: "retry" | "flag" | "block";
|
|
6148
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6149
|
+
retry?: {
|
|
6150
|
+
maxAttempts: number;
|
|
6151
|
+
augmentPrompt?: string | undefined;
|
|
6152
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6153
|
+
} | undefined;
|
|
6149
6154
|
flag?: {
|
|
6150
6155
|
headerName: string;
|
|
6151
6156
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6159,11 +6164,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6159
6164
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6160
6165
|
} | undefined;
|
|
6161
6166
|
} | undefined;
|
|
6162
|
-
retry?: {
|
|
6163
|
-
maxAttempts: number;
|
|
6164
|
-
augmentPrompt?: string | undefined;
|
|
6165
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6166
|
-
} | undefined;
|
|
6167
6167
|
enabled?: boolean | undefined;
|
|
6168
6168
|
} | undefined;
|
|
6169
6169
|
valueDomain?: {
|
|
@@ -6186,8 +6186,8 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6186
6186
|
id: string;
|
|
6187
6187
|
control: "operator" | "vendor" | "platform" | "third-party";
|
|
6188
6188
|
visibility: "transparent" | "announced" | "opaque";
|
|
6189
|
-
values?: string[] | undefined;
|
|
6190
6189
|
status?: "active" | "forward-declared" | "deprecated" | undefined;
|
|
6190
|
+
values?: string[] | undefined;
|
|
6191
6191
|
description?: string | undefined;
|
|
6192
6192
|
semantic?: "deployment-state" | "diagnostic" | undefined;
|
|
6193
6193
|
emissionExpectation?: "always" | "conditional" | {
|
|
@@ -6197,9 +6197,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6197
6197
|
captureJudgedFailures?: boolean | undefined;
|
|
6198
6198
|
removedDimensions?: {
|
|
6199
6199
|
id: string;
|
|
6200
|
-
reason?: string | undefined;
|
|
6201
6200
|
removedAt?: string | undefined;
|
|
6202
6201
|
removedInLensVersion?: string | undefined;
|
|
6202
|
+
reason?: string | undefined;
|
|
6203
6203
|
supersededBy?: {
|
|
6204
6204
|
id: string;
|
|
6205
6205
|
altitude: "dimension" | "cohortTag";
|
|
@@ -6208,9 +6208,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6208
6208
|
}[] | undefined;
|
|
6209
6209
|
removedCohortTags?: {
|
|
6210
6210
|
tag: string;
|
|
6211
|
-
reason?: string | undefined;
|
|
6212
6211
|
removedAt?: string | undefined;
|
|
6213
6212
|
removedInLensVersion?: string | undefined;
|
|
6213
|
+
reason?: string | undefined;
|
|
6214
6214
|
supersededBy?: {
|
|
6215
6215
|
id: string;
|
|
6216
6216
|
altitude: "dimension" | "cohortTag";
|
|
@@ -6229,15 +6229,15 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6229
6229
|
}[];
|
|
6230
6230
|
description?: string | undefined;
|
|
6231
6231
|
postOutcomeStages?: Record<string, {
|
|
6232
|
-
kind: "filter" | "
|
|
6232
|
+
kind: "filter" | "deferred-delivery" | "cache" | "rate-limit" | "fan-in" | "other";
|
|
6233
6233
|
description?: string | undefined;
|
|
6234
6234
|
observability?: "declared" | "reconciled" | undefined;
|
|
6235
6235
|
settleMs?: number | undefined;
|
|
6236
6236
|
}> | undefined;
|
|
6237
6237
|
routings?: {
|
|
6238
|
-
lightSourceId: string | readonly string[];
|
|
6239
6238
|
surfaceId: string;
|
|
6240
|
-
|
|
6239
|
+
lightSourceId: string | readonly string[];
|
|
6240
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6241
6241
|
}[] | undefined;
|
|
6242
6242
|
pricing?: Record<string, {
|
|
6243
6243
|
perMillionInput: number;
|
|
@@ -6247,9 +6247,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6247
6247
|
}> | undefined;
|
|
6248
6248
|
systemSurfaces?: {
|
|
6249
6249
|
skillDrafting: {
|
|
6250
|
-
lightSourceId: string | readonly string[];
|
|
6251
6250
|
surfaceId: string;
|
|
6252
|
-
|
|
6251
|
+
lightSourceId: string | readonly string[];
|
|
6252
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6253
6253
|
dimensions?: {
|
|
6254
6254
|
id: string;
|
|
6255
6255
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6258,8 +6258,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6258
6258
|
rubricRef?: string | undefined;
|
|
6259
6259
|
gatePolicy?: {
|
|
6260
6260
|
passThreshold: number;
|
|
6261
|
-
failureAction: "
|
|
6262
|
-
activeRunModes?: ("
|
|
6261
|
+
failureAction: "retry" | "flag" | "block";
|
|
6262
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6263
|
+
retry?: {
|
|
6264
|
+
maxAttempts: number;
|
|
6265
|
+
augmentPrompt?: string | undefined;
|
|
6266
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6267
|
+
} | undefined;
|
|
6263
6268
|
flag?: {
|
|
6264
6269
|
headerName: string;
|
|
6265
6270
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6273,11 +6278,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6273
6278
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6274
6279
|
} | undefined;
|
|
6275
6280
|
} | undefined;
|
|
6276
|
-
retry?: {
|
|
6277
|
-
maxAttempts: number;
|
|
6278
|
-
augmentPrompt?: string | undefined;
|
|
6279
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6280
|
-
} | undefined;
|
|
6281
6281
|
enabled?: boolean | undefined;
|
|
6282
6282
|
} | undefined;
|
|
6283
6283
|
valueDomain?: {
|
|
@@ -6295,9 +6295,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6295
6295
|
}[] | undefined;
|
|
6296
6296
|
};
|
|
6297
6297
|
lessonDrafting?: {
|
|
6298
|
-
lightSourceId: string | readonly string[];
|
|
6299
6298
|
surfaceId: string;
|
|
6300
|
-
|
|
6299
|
+
lightSourceId: string | readonly string[];
|
|
6300
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6301
6301
|
dimensions?: {
|
|
6302
6302
|
id: string;
|
|
6303
6303
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6306,8 +6306,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6306
6306
|
rubricRef?: string | undefined;
|
|
6307
6307
|
gatePolicy?: {
|
|
6308
6308
|
passThreshold: number;
|
|
6309
|
-
failureAction: "
|
|
6310
|
-
activeRunModes?: ("
|
|
6309
|
+
failureAction: "retry" | "flag" | "block";
|
|
6310
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6311
|
+
retry?: {
|
|
6312
|
+
maxAttempts: number;
|
|
6313
|
+
augmentPrompt?: string | undefined;
|
|
6314
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6315
|
+
} | undefined;
|
|
6311
6316
|
flag?: {
|
|
6312
6317
|
headerName: string;
|
|
6313
6318
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6321,11 +6326,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6321
6326
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6322
6327
|
} | undefined;
|
|
6323
6328
|
} | undefined;
|
|
6324
|
-
retry?: {
|
|
6325
|
-
maxAttempts: number;
|
|
6326
|
-
augmentPrompt?: string | undefined;
|
|
6327
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6328
|
-
} | undefined;
|
|
6329
6329
|
enabled?: boolean | undefined;
|
|
6330
6330
|
} | undefined;
|
|
6331
6331
|
valueDomain?: {
|
|
@@ -6343,9 +6343,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6343
6343
|
}[] | undefined;
|
|
6344
6344
|
} | undefined;
|
|
6345
6345
|
fixtureGeneration?: {
|
|
6346
|
-
lightSourceId: string | readonly string[];
|
|
6347
6346
|
surfaceId: string;
|
|
6348
|
-
|
|
6347
|
+
lightSourceId: string | readonly string[];
|
|
6348
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6349
6349
|
dimensions?: {
|
|
6350
6350
|
id: string;
|
|
6351
6351
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6354,8 +6354,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6354
6354
|
rubricRef?: string | undefined;
|
|
6355
6355
|
gatePolicy?: {
|
|
6356
6356
|
passThreshold: number;
|
|
6357
|
-
failureAction: "
|
|
6358
|
-
activeRunModes?: ("
|
|
6357
|
+
failureAction: "retry" | "flag" | "block";
|
|
6358
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6359
|
+
retry?: {
|
|
6360
|
+
maxAttempts: number;
|
|
6361
|
+
augmentPrompt?: string | undefined;
|
|
6362
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6363
|
+
} | undefined;
|
|
6359
6364
|
flag?: {
|
|
6360
6365
|
headerName: string;
|
|
6361
6366
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6369,11 +6374,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6369
6374
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6370
6375
|
} | undefined;
|
|
6371
6376
|
} | undefined;
|
|
6372
|
-
retry?: {
|
|
6373
|
-
maxAttempts: number;
|
|
6374
|
-
augmentPrompt?: string | undefined;
|
|
6375
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6376
|
-
} | undefined;
|
|
6377
6377
|
enabled?: boolean | undefined;
|
|
6378
6378
|
} | undefined;
|
|
6379
6379
|
valueDomain?: {
|
|
@@ -6391,9 +6391,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6391
6391
|
}[] | undefined;
|
|
6392
6392
|
} | undefined;
|
|
6393
6393
|
codeChangeRecommendationDrafting?: {
|
|
6394
|
-
lightSourceId: string | readonly string[];
|
|
6395
6394
|
surfaceId: string;
|
|
6396
|
-
|
|
6395
|
+
lightSourceId: string | readonly string[];
|
|
6396
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6397
6397
|
dimensions?: {
|
|
6398
6398
|
id: string;
|
|
6399
6399
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6402,8 +6402,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6402
6402
|
rubricRef?: string | undefined;
|
|
6403
6403
|
gatePolicy?: {
|
|
6404
6404
|
passThreshold: number;
|
|
6405
|
-
failureAction: "
|
|
6406
|
-
activeRunModes?: ("
|
|
6405
|
+
failureAction: "retry" | "flag" | "block";
|
|
6406
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6407
|
+
retry?: {
|
|
6408
|
+
maxAttempts: number;
|
|
6409
|
+
augmentPrompt?: string | undefined;
|
|
6410
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6411
|
+
} | undefined;
|
|
6407
6412
|
flag?: {
|
|
6408
6413
|
headerName: string;
|
|
6409
6414
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6417,11 +6422,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6417
6422
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6418
6423
|
} | undefined;
|
|
6419
6424
|
} | undefined;
|
|
6420
|
-
retry?: {
|
|
6421
|
-
maxAttempts: number;
|
|
6422
|
-
augmentPrompt?: string | undefined;
|
|
6423
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6424
|
-
} | undefined;
|
|
6425
6425
|
enabled?: boolean | undefined;
|
|
6426
6426
|
} | undefined;
|
|
6427
6427
|
valueDomain?: {
|
|
@@ -6439,9 +6439,9 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6439
6439
|
}[] | undefined;
|
|
6440
6440
|
} | undefined;
|
|
6441
6441
|
blastRadiusJudging?: {
|
|
6442
|
-
lightSourceId: string | readonly string[];
|
|
6443
6442
|
surfaceId: string;
|
|
6444
|
-
|
|
6443
|
+
lightSourceId: string | readonly string[];
|
|
6444
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6445
6445
|
dimensions?: {
|
|
6446
6446
|
id: string;
|
|
6447
6447
|
scoring: "custom" | "exact-match" | "llm-judge";
|
|
@@ -6450,8 +6450,13 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6450
6450
|
rubricRef?: string | undefined;
|
|
6451
6451
|
gatePolicy?: {
|
|
6452
6452
|
passThreshold: number;
|
|
6453
|
-
failureAction: "
|
|
6454
|
-
activeRunModes?: ("
|
|
6453
|
+
failureAction: "retry" | "flag" | "block";
|
|
6454
|
+
activeRunModes?: ("production" | "test" | "eval" | "replay" | "local_dev")[] | undefined;
|
|
6455
|
+
retry?: {
|
|
6456
|
+
maxAttempts: number;
|
|
6457
|
+
augmentPrompt?: string | undefined;
|
|
6458
|
+
fallbackAction?: "flag" | "block" | undefined;
|
|
6459
|
+
} | undefined;
|
|
6455
6460
|
flag?: {
|
|
6456
6461
|
headerName: string;
|
|
6457
6462
|
additionalMetadata?: Record<string, unknown> | undefined;
|
|
@@ -6465,11 +6470,6 @@ declare const SurfaceContractSchema: ZodObject<{
|
|
|
6465
6470
|
additionalRouting?: Record<string, unknown> | undefined;
|
|
6466
6471
|
} | undefined;
|
|
6467
6472
|
} | undefined;
|
|
6468
|
-
retry?: {
|
|
6469
|
-
maxAttempts: number;
|
|
6470
|
-
augmentPrompt?: string | undefined;
|
|
6471
|
-
fallbackAction?: "flag" | "block" | undefined;
|
|
6472
|
-
} | undefined;
|
|
6473
6473
|
enabled?: boolean | undefined;
|
|
6474
6474
|
} | undefined;
|
|
6475
6475
|
valueDomain?: {
|
|
@@ -8308,7 +8308,7 @@ declare const GateOutcomeSchema: ZodObject<{
|
|
|
8308
8308
|
} | undefined;
|
|
8309
8309
|
}>, "many">>;
|
|
8310
8310
|
}, "strip", ZodTypeAny$1, {
|
|
8311
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
8311
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
8312
8312
|
failedDimensionIds: string[];
|
|
8313
8313
|
retryAttempts: number;
|
|
8314
8314
|
retryHistory: {
|
|
@@ -8330,7 +8330,7 @@ declare const GateOutcomeSchema: ZodObject<{
|
|
|
8330
8330
|
} | undefined;
|
|
8331
8331
|
}[] | undefined;
|
|
8332
8332
|
}, {
|
|
8333
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
8333
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
8334
8334
|
failedDimensionIds?: string[] | undefined;
|
|
8335
8335
|
retryAttempts?: number | undefined;
|
|
8336
8336
|
retryHistory?: {
|
|
@@ -10124,19 +10124,19 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10124
10124
|
timestamp: ZodString;
|
|
10125
10125
|
columns: ZodRecord<ZodString, ZodString>;
|
|
10126
10126
|
}, "strip", ZodTypeAny$1, {
|
|
10127
|
-
provenance: "
|
|
10127
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
10128
10128
|
timestamp: string;
|
|
10129
10129
|
lensVersion: string;
|
|
10130
10130
|
lightSourceIdentifier: string;
|
|
10131
|
-
runMode: "
|
|
10131
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
10132
10132
|
correlationId: string;
|
|
10133
10133
|
columns: Record<string, string>;
|
|
10134
10134
|
}, {
|
|
10135
|
-
provenance: "
|
|
10135
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
10136
10136
|
timestamp: string;
|
|
10137
10137
|
lensVersion: string;
|
|
10138
10138
|
lightSourceIdentifier: string;
|
|
10139
|
-
runMode: "
|
|
10139
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
10140
10140
|
correlationId: string;
|
|
10141
10141
|
columns: Record<string, string>;
|
|
10142
10142
|
}>>;
|
|
@@ -10191,43 +10191,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10191
10191
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
10192
10192
|
tool: ZodString;
|
|
10193
10193
|
}, "strip", ZodTypeAny$1, {
|
|
10194
|
-
tool: string;
|
|
10195
10194
|
kind: "tool-not-invoked";
|
|
10196
|
-
}, {
|
|
10197
10195
|
tool: string;
|
|
10196
|
+
}, {
|
|
10198
10197
|
kind: "tool-not-invoked";
|
|
10198
|
+
tool: string;
|
|
10199
10199
|
}>, ZodObject<{
|
|
10200
10200
|
kind: ZodLiteral<"datum-absent">;
|
|
10201
10201
|
datum: ZodString;
|
|
10202
10202
|
reference: ZodOptional$1<ZodString>;
|
|
10203
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
10203
10204
|
}, "strip", ZodTypeAny$1, {
|
|
10204
10205
|
kind: "datum-absent";
|
|
10205
10206
|
datum: string;
|
|
10206
10207
|
reference?: string | undefined;
|
|
10208
|
+
direction?: "commission" | "omission" | undefined;
|
|
10207
10209
|
}, {
|
|
10208
10210
|
kind: "datum-absent";
|
|
10209
10211
|
datum: string;
|
|
10210
10212
|
reference?: string | undefined;
|
|
10213
|
+
direction?: "commission" | "omission" | undefined;
|
|
10211
10214
|
}>]>, "many">;
|
|
10212
10215
|
}, "strip", ZodTypeAny$1, {
|
|
10213
10216
|
status: "emitted";
|
|
10214
10217
|
assertions: ({
|
|
10215
|
-
tool: string;
|
|
10216
10218
|
kind: "tool-not-invoked";
|
|
10219
|
+
tool: string;
|
|
10217
10220
|
} | {
|
|
10218
10221
|
kind: "datum-absent";
|
|
10219
10222
|
datum: string;
|
|
10220
10223
|
reference?: string | undefined;
|
|
10224
|
+
direction?: "commission" | "omission" | undefined;
|
|
10221
10225
|
})[];
|
|
10222
10226
|
}, {
|
|
10223
10227
|
status: "emitted";
|
|
10224
10228
|
assertions: ({
|
|
10225
|
-
tool: string;
|
|
10226
10229
|
kind: "tool-not-invoked";
|
|
10230
|
+
tool: string;
|
|
10227
10231
|
} | {
|
|
10228
10232
|
kind: "datum-absent";
|
|
10229
10233
|
datum: string;
|
|
10230
10234
|
reference?: string | undefined;
|
|
10235
|
+
direction?: "commission" | "omission" | undefined;
|
|
10231
10236
|
})[];
|
|
10232
10237
|
}>, ZodObject<{
|
|
10233
10238
|
status: ZodLiteral<"malformed">;
|
|
@@ -10286,43 +10291,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10286
10291
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
10287
10292
|
tool: ZodString;
|
|
10288
10293
|
}, "strip", ZodTypeAny$1, {
|
|
10289
|
-
tool: string;
|
|
10290
10294
|
kind: "tool-not-invoked";
|
|
10291
|
-
}, {
|
|
10292
10295
|
tool: string;
|
|
10296
|
+
}, {
|
|
10293
10297
|
kind: "tool-not-invoked";
|
|
10298
|
+
tool: string;
|
|
10294
10299
|
}>, ZodObject<{
|
|
10295
10300
|
kind: ZodLiteral<"datum-absent">;
|
|
10296
10301
|
datum: ZodString;
|
|
10297
10302
|
reference: ZodOptional$1<ZodString>;
|
|
10303
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
10298
10304
|
}, "strip", ZodTypeAny$1, {
|
|
10299
10305
|
kind: "datum-absent";
|
|
10300
10306
|
datum: string;
|
|
10301
10307
|
reference?: string | undefined;
|
|
10308
|
+
direction?: "commission" | "omission" | undefined;
|
|
10302
10309
|
}, {
|
|
10303
10310
|
kind: "datum-absent";
|
|
10304
10311
|
datum: string;
|
|
10305
10312
|
reference?: string | undefined;
|
|
10313
|
+
direction?: "commission" | "omission" | undefined;
|
|
10306
10314
|
}>]>, "many">;
|
|
10307
10315
|
}, "strip", ZodTypeAny$1, {
|
|
10308
10316
|
status: "emitted";
|
|
10309
10317
|
assertions: ({
|
|
10310
|
-
tool: string;
|
|
10311
10318
|
kind: "tool-not-invoked";
|
|
10319
|
+
tool: string;
|
|
10312
10320
|
} | {
|
|
10313
10321
|
kind: "datum-absent";
|
|
10314
10322
|
datum: string;
|
|
10315
10323
|
reference?: string | undefined;
|
|
10324
|
+
direction?: "commission" | "omission" | undefined;
|
|
10316
10325
|
})[];
|
|
10317
10326
|
}, {
|
|
10318
10327
|
status: "emitted";
|
|
10319
10328
|
assertions: ({
|
|
10320
|
-
tool: string;
|
|
10321
10329
|
kind: "tool-not-invoked";
|
|
10330
|
+
tool: string;
|
|
10322
10331
|
} | {
|
|
10323
10332
|
kind: "datum-absent";
|
|
10324
10333
|
datum: string;
|
|
10325
10334
|
reference?: string | undefined;
|
|
10335
|
+
direction?: "commission" | "omission" | undefined;
|
|
10326
10336
|
})[];
|
|
10327
10337
|
}>, ZodObject<{
|
|
10328
10338
|
status: ZodLiteral<"malformed">;
|
|
@@ -10381,43 +10391,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10381
10391
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
10382
10392
|
tool: ZodString;
|
|
10383
10393
|
}, "strip", ZodTypeAny$1, {
|
|
10384
|
-
tool: string;
|
|
10385
10394
|
kind: "tool-not-invoked";
|
|
10386
|
-
}, {
|
|
10387
10395
|
tool: string;
|
|
10396
|
+
}, {
|
|
10388
10397
|
kind: "tool-not-invoked";
|
|
10398
|
+
tool: string;
|
|
10389
10399
|
}>, ZodObject<{
|
|
10390
10400
|
kind: ZodLiteral<"datum-absent">;
|
|
10391
10401
|
datum: ZodString;
|
|
10392
10402
|
reference: ZodOptional$1<ZodString>;
|
|
10403
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
10393
10404
|
}, "strip", ZodTypeAny$1, {
|
|
10394
10405
|
kind: "datum-absent";
|
|
10395
10406
|
datum: string;
|
|
10396
10407
|
reference?: string | undefined;
|
|
10408
|
+
direction?: "commission" | "omission" | undefined;
|
|
10397
10409
|
}, {
|
|
10398
10410
|
kind: "datum-absent";
|
|
10399
10411
|
datum: string;
|
|
10400
10412
|
reference?: string | undefined;
|
|
10413
|
+
direction?: "commission" | "omission" | undefined;
|
|
10401
10414
|
}>]>, "many">;
|
|
10402
10415
|
}, "strip", ZodTypeAny$1, {
|
|
10403
10416
|
status: "emitted";
|
|
10404
10417
|
assertions: ({
|
|
10405
|
-
tool: string;
|
|
10406
10418
|
kind: "tool-not-invoked";
|
|
10419
|
+
tool: string;
|
|
10407
10420
|
} | {
|
|
10408
10421
|
kind: "datum-absent";
|
|
10409
10422
|
datum: string;
|
|
10410
10423
|
reference?: string | undefined;
|
|
10424
|
+
direction?: "commission" | "omission" | undefined;
|
|
10411
10425
|
})[];
|
|
10412
10426
|
}, {
|
|
10413
10427
|
status: "emitted";
|
|
10414
10428
|
assertions: ({
|
|
10415
|
-
tool: string;
|
|
10416
10429
|
kind: "tool-not-invoked";
|
|
10430
|
+
tool: string;
|
|
10417
10431
|
} | {
|
|
10418
10432
|
kind: "datum-absent";
|
|
10419
10433
|
datum: string;
|
|
10420
10434
|
reference?: string | undefined;
|
|
10435
|
+
direction?: "commission" | "omission" | undefined;
|
|
10421
10436
|
})[];
|
|
10422
10437
|
}>, ZodObject<{
|
|
10423
10438
|
status: ZodLiteral<"malformed">;
|
|
@@ -10523,7 +10538,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10523
10538
|
} | undefined;
|
|
10524
10539
|
}>, "many">>;
|
|
10525
10540
|
}, "strip", ZodTypeAny$1, {
|
|
10526
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
10541
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
10527
10542
|
failedDimensionIds: string[];
|
|
10528
10543
|
retryAttempts: number;
|
|
10529
10544
|
retryHistory: {
|
|
@@ -10545,7 +10560,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10545
10560
|
} | undefined;
|
|
10546
10561
|
}[] | undefined;
|
|
10547
10562
|
}, {
|
|
10548
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
10563
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
10549
10564
|
failedDimensionIds?: string[] | undefined;
|
|
10550
10565
|
retryAttempts?: number | undefined;
|
|
10551
10566
|
retryHistory?: {
|
|
@@ -10617,43 +10632,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10617
10632
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
10618
10633
|
tool: ZodString;
|
|
10619
10634
|
}, "strip", ZodTypeAny$1, {
|
|
10620
|
-
tool: string;
|
|
10621
10635
|
kind: "tool-not-invoked";
|
|
10622
|
-
}, {
|
|
10623
10636
|
tool: string;
|
|
10637
|
+
}, {
|
|
10624
10638
|
kind: "tool-not-invoked";
|
|
10639
|
+
tool: string;
|
|
10625
10640
|
}>, ZodObject<{
|
|
10626
10641
|
kind: ZodLiteral<"datum-absent">;
|
|
10627
10642
|
datum: ZodString;
|
|
10628
10643
|
reference: ZodOptional$1<ZodString>;
|
|
10644
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
10629
10645
|
}, "strip", ZodTypeAny$1, {
|
|
10630
10646
|
kind: "datum-absent";
|
|
10631
10647
|
datum: string;
|
|
10632
10648
|
reference?: string | undefined;
|
|
10649
|
+
direction?: "commission" | "omission" | undefined;
|
|
10633
10650
|
}, {
|
|
10634
10651
|
kind: "datum-absent";
|
|
10635
10652
|
datum: string;
|
|
10636
10653
|
reference?: string | undefined;
|
|
10654
|
+
direction?: "commission" | "omission" | undefined;
|
|
10637
10655
|
}>]>, "many">;
|
|
10638
10656
|
}, "strip", ZodTypeAny$1, {
|
|
10639
10657
|
status: "emitted";
|
|
10640
10658
|
assertions: ({
|
|
10641
|
-
tool: string;
|
|
10642
10659
|
kind: "tool-not-invoked";
|
|
10660
|
+
tool: string;
|
|
10643
10661
|
} | {
|
|
10644
10662
|
kind: "datum-absent";
|
|
10645
10663
|
datum: string;
|
|
10646
10664
|
reference?: string | undefined;
|
|
10665
|
+
direction?: "commission" | "omission" | undefined;
|
|
10647
10666
|
})[];
|
|
10648
10667
|
}, {
|
|
10649
10668
|
status: "emitted";
|
|
10650
10669
|
assertions: ({
|
|
10651
|
-
tool: string;
|
|
10652
10670
|
kind: "tool-not-invoked";
|
|
10671
|
+
tool: string;
|
|
10653
10672
|
} | {
|
|
10654
10673
|
kind: "datum-absent";
|
|
10655
10674
|
datum: string;
|
|
10656
10675
|
reference?: string | undefined;
|
|
10676
|
+
direction?: "commission" | "omission" | undefined;
|
|
10657
10677
|
})[];
|
|
10658
10678
|
}>, ZodObject<{
|
|
10659
10679
|
status: ZodLiteral<"malformed">;
|
|
@@ -10712,43 +10732,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10712
10732
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
10713
10733
|
tool: ZodString;
|
|
10714
10734
|
}, "strip", ZodTypeAny$1, {
|
|
10715
|
-
tool: string;
|
|
10716
10735
|
kind: "tool-not-invoked";
|
|
10717
|
-
}, {
|
|
10718
10736
|
tool: string;
|
|
10737
|
+
}, {
|
|
10719
10738
|
kind: "tool-not-invoked";
|
|
10739
|
+
tool: string;
|
|
10720
10740
|
}>, ZodObject<{
|
|
10721
10741
|
kind: ZodLiteral<"datum-absent">;
|
|
10722
10742
|
datum: ZodString;
|
|
10723
10743
|
reference: ZodOptional$1<ZodString>;
|
|
10744
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
10724
10745
|
}, "strip", ZodTypeAny$1, {
|
|
10725
10746
|
kind: "datum-absent";
|
|
10726
10747
|
datum: string;
|
|
10727
10748
|
reference?: string | undefined;
|
|
10749
|
+
direction?: "commission" | "omission" | undefined;
|
|
10728
10750
|
}, {
|
|
10729
10751
|
kind: "datum-absent";
|
|
10730
10752
|
datum: string;
|
|
10731
10753
|
reference?: string | undefined;
|
|
10754
|
+
direction?: "commission" | "omission" | undefined;
|
|
10732
10755
|
}>]>, "many">;
|
|
10733
10756
|
}, "strip", ZodTypeAny$1, {
|
|
10734
10757
|
status: "emitted";
|
|
10735
10758
|
assertions: ({
|
|
10736
|
-
tool: string;
|
|
10737
10759
|
kind: "tool-not-invoked";
|
|
10760
|
+
tool: string;
|
|
10738
10761
|
} | {
|
|
10739
10762
|
kind: "datum-absent";
|
|
10740
10763
|
datum: string;
|
|
10741
10764
|
reference?: string | undefined;
|
|
10765
|
+
direction?: "commission" | "omission" | undefined;
|
|
10742
10766
|
})[];
|
|
10743
10767
|
}, {
|
|
10744
10768
|
status: "emitted";
|
|
10745
10769
|
assertions: ({
|
|
10746
|
-
tool: string;
|
|
10747
10770
|
kind: "tool-not-invoked";
|
|
10771
|
+
tool: string;
|
|
10748
10772
|
} | {
|
|
10749
10773
|
kind: "datum-absent";
|
|
10750
10774
|
datum: string;
|
|
10751
10775
|
reference?: string | undefined;
|
|
10776
|
+
direction?: "commission" | "omission" | undefined;
|
|
10752
10777
|
})[];
|
|
10753
10778
|
}>, ZodObject<{
|
|
10754
10779
|
status: ZodLiteral<"malformed">;
|
|
@@ -10807,43 +10832,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10807
10832
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
10808
10833
|
tool: ZodString;
|
|
10809
10834
|
}, "strip", ZodTypeAny$1, {
|
|
10810
|
-
tool: string;
|
|
10811
10835
|
kind: "tool-not-invoked";
|
|
10812
|
-
}, {
|
|
10813
10836
|
tool: string;
|
|
10837
|
+
}, {
|
|
10814
10838
|
kind: "tool-not-invoked";
|
|
10839
|
+
tool: string;
|
|
10815
10840
|
}>, ZodObject<{
|
|
10816
10841
|
kind: ZodLiteral<"datum-absent">;
|
|
10817
10842
|
datum: ZodString;
|
|
10818
10843
|
reference: ZodOptional$1<ZodString>;
|
|
10844
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
10819
10845
|
}, "strip", ZodTypeAny$1, {
|
|
10820
10846
|
kind: "datum-absent";
|
|
10821
10847
|
datum: string;
|
|
10822
10848
|
reference?: string | undefined;
|
|
10849
|
+
direction?: "commission" | "omission" | undefined;
|
|
10823
10850
|
}, {
|
|
10824
10851
|
kind: "datum-absent";
|
|
10825
10852
|
datum: string;
|
|
10826
10853
|
reference?: string | undefined;
|
|
10854
|
+
direction?: "commission" | "omission" | undefined;
|
|
10827
10855
|
}>]>, "many">;
|
|
10828
10856
|
}, "strip", ZodTypeAny$1, {
|
|
10829
10857
|
status: "emitted";
|
|
10830
10858
|
assertions: ({
|
|
10831
|
-
tool: string;
|
|
10832
10859
|
kind: "tool-not-invoked";
|
|
10860
|
+
tool: string;
|
|
10833
10861
|
} | {
|
|
10834
10862
|
kind: "datum-absent";
|
|
10835
10863
|
datum: string;
|
|
10836
10864
|
reference?: string | undefined;
|
|
10865
|
+
direction?: "commission" | "omission" | undefined;
|
|
10837
10866
|
})[];
|
|
10838
10867
|
}, {
|
|
10839
10868
|
status: "emitted";
|
|
10840
10869
|
assertions: ({
|
|
10841
|
-
tool: string;
|
|
10842
10870
|
kind: "tool-not-invoked";
|
|
10871
|
+
tool: string;
|
|
10843
10872
|
} | {
|
|
10844
10873
|
kind: "datum-absent";
|
|
10845
10874
|
datum: string;
|
|
10846
10875
|
reference?: string | undefined;
|
|
10876
|
+
direction?: "commission" | "omission" | undefined;
|
|
10847
10877
|
})[];
|
|
10848
10878
|
}>, ZodObject<{
|
|
10849
10879
|
status: ZodLiteral<"malformed">;
|
|
@@ -10949,7 +10979,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10949
10979
|
} | undefined;
|
|
10950
10980
|
}>, "many">>;
|
|
10951
10981
|
}, "strip", ZodTypeAny$1, {
|
|
10952
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
10982
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
10953
10983
|
failedDimensionIds: string[];
|
|
10954
10984
|
retryAttempts: number;
|
|
10955
10985
|
retryHistory: {
|
|
@@ -10971,7 +11001,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
10971
11001
|
} | undefined;
|
|
10972
11002
|
}[] | undefined;
|
|
10973
11003
|
}, {
|
|
10974
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
11004
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
10975
11005
|
failedDimensionIds?: string[] | undefined;
|
|
10976
11006
|
retryAttempts?: number | undefined;
|
|
10977
11007
|
retryHistory?: {
|
|
@@ -11043,43 +11073,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
11043
11073
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
11044
11074
|
tool: ZodString;
|
|
11045
11075
|
}, "strip", ZodTypeAny$1, {
|
|
11046
|
-
tool: string;
|
|
11047
11076
|
kind: "tool-not-invoked";
|
|
11048
|
-
}, {
|
|
11049
11077
|
tool: string;
|
|
11078
|
+
}, {
|
|
11050
11079
|
kind: "tool-not-invoked";
|
|
11080
|
+
tool: string;
|
|
11051
11081
|
}>, ZodObject<{
|
|
11052
11082
|
kind: ZodLiteral<"datum-absent">;
|
|
11053
11083
|
datum: ZodString;
|
|
11054
11084
|
reference: ZodOptional$1<ZodString>;
|
|
11085
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
11055
11086
|
}, "strip", ZodTypeAny$1, {
|
|
11056
11087
|
kind: "datum-absent";
|
|
11057
11088
|
datum: string;
|
|
11058
11089
|
reference?: string | undefined;
|
|
11090
|
+
direction?: "commission" | "omission" | undefined;
|
|
11059
11091
|
}, {
|
|
11060
11092
|
kind: "datum-absent";
|
|
11061
11093
|
datum: string;
|
|
11062
11094
|
reference?: string | undefined;
|
|
11095
|
+
direction?: "commission" | "omission" | undefined;
|
|
11063
11096
|
}>]>, "many">;
|
|
11064
11097
|
}, "strip", ZodTypeAny$1, {
|
|
11065
11098
|
status: "emitted";
|
|
11066
11099
|
assertions: ({
|
|
11067
|
-
tool: string;
|
|
11068
11100
|
kind: "tool-not-invoked";
|
|
11101
|
+
tool: string;
|
|
11069
11102
|
} | {
|
|
11070
11103
|
kind: "datum-absent";
|
|
11071
11104
|
datum: string;
|
|
11072
11105
|
reference?: string | undefined;
|
|
11106
|
+
direction?: "commission" | "omission" | undefined;
|
|
11073
11107
|
})[];
|
|
11074
11108
|
}, {
|
|
11075
11109
|
status: "emitted";
|
|
11076
11110
|
assertions: ({
|
|
11077
|
-
tool: string;
|
|
11078
11111
|
kind: "tool-not-invoked";
|
|
11112
|
+
tool: string;
|
|
11079
11113
|
} | {
|
|
11080
11114
|
kind: "datum-absent";
|
|
11081
11115
|
datum: string;
|
|
11082
11116
|
reference?: string | undefined;
|
|
11117
|
+
direction?: "commission" | "omission" | undefined;
|
|
11083
11118
|
})[];
|
|
11084
11119
|
}>, ZodObject<{
|
|
11085
11120
|
status: ZodLiteral<"malformed">;
|
|
@@ -11138,43 +11173,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
11138
11173
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
11139
11174
|
tool: ZodString;
|
|
11140
11175
|
}, "strip", ZodTypeAny$1, {
|
|
11141
|
-
tool: string;
|
|
11142
11176
|
kind: "tool-not-invoked";
|
|
11143
|
-
}, {
|
|
11144
11177
|
tool: string;
|
|
11178
|
+
}, {
|
|
11145
11179
|
kind: "tool-not-invoked";
|
|
11180
|
+
tool: string;
|
|
11146
11181
|
}>, ZodObject<{
|
|
11147
11182
|
kind: ZodLiteral<"datum-absent">;
|
|
11148
11183
|
datum: ZodString;
|
|
11149
11184
|
reference: ZodOptional$1<ZodString>;
|
|
11185
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
11150
11186
|
}, "strip", ZodTypeAny$1, {
|
|
11151
11187
|
kind: "datum-absent";
|
|
11152
11188
|
datum: string;
|
|
11153
11189
|
reference?: string | undefined;
|
|
11190
|
+
direction?: "commission" | "omission" | undefined;
|
|
11154
11191
|
}, {
|
|
11155
11192
|
kind: "datum-absent";
|
|
11156
11193
|
datum: string;
|
|
11157
11194
|
reference?: string | undefined;
|
|
11195
|
+
direction?: "commission" | "omission" | undefined;
|
|
11158
11196
|
}>]>, "many">;
|
|
11159
11197
|
}, "strip", ZodTypeAny$1, {
|
|
11160
11198
|
status: "emitted";
|
|
11161
11199
|
assertions: ({
|
|
11162
|
-
tool: string;
|
|
11163
11200
|
kind: "tool-not-invoked";
|
|
11201
|
+
tool: string;
|
|
11164
11202
|
} | {
|
|
11165
11203
|
kind: "datum-absent";
|
|
11166
11204
|
datum: string;
|
|
11167
11205
|
reference?: string | undefined;
|
|
11206
|
+
direction?: "commission" | "omission" | undefined;
|
|
11168
11207
|
})[];
|
|
11169
11208
|
}, {
|
|
11170
11209
|
status: "emitted";
|
|
11171
11210
|
assertions: ({
|
|
11172
|
-
tool: string;
|
|
11173
11211
|
kind: "tool-not-invoked";
|
|
11212
|
+
tool: string;
|
|
11174
11213
|
} | {
|
|
11175
11214
|
kind: "datum-absent";
|
|
11176
11215
|
datum: string;
|
|
11177
11216
|
reference?: string | undefined;
|
|
11217
|
+
direction?: "commission" | "omission" | undefined;
|
|
11178
11218
|
})[];
|
|
11179
11219
|
}>, ZodObject<{
|
|
11180
11220
|
status: ZodLiteral<"malformed">;
|
|
@@ -11233,43 +11273,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
11233
11273
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
11234
11274
|
tool: ZodString;
|
|
11235
11275
|
}, "strip", ZodTypeAny$1, {
|
|
11236
|
-
tool: string;
|
|
11237
11276
|
kind: "tool-not-invoked";
|
|
11238
|
-
}, {
|
|
11239
11277
|
tool: string;
|
|
11278
|
+
}, {
|
|
11240
11279
|
kind: "tool-not-invoked";
|
|
11280
|
+
tool: string;
|
|
11241
11281
|
}>, ZodObject<{
|
|
11242
11282
|
kind: ZodLiteral<"datum-absent">;
|
|
11243
11283
|
datum: ZodString;
|
|
11244
11284
|
reference: ZodOptional$1<ZodString>;
|
|
11285
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
11245
11286
|
}, "strip", ZodTypeAny$1, {
|
|
11246
11287
|
kind: "datum-absent";
|
|
11247
11288
|
datum: string;
|
|
11248
11289
|
reference?: string | undefined;
|
|
11290
|
+
direction?: "commission" | "omission" | undefined;
|
|
11249
11291
|
}, {
|
|
11250
11292
|
kind: "datum-absent";
|
|
11251
11293
|
datum: string;
|
|
11252
11294
|
reference?: string | undefined;
|
|
11295
|
+
direction?: "commission" | "omission" | undefined;
|
|
11253
11296
|
}>]>, "many">;
|
|
11254
11297
|
}, "strip", ZodTypeAny$1, {
|
|
11255
11298
|
status: "emitted";
|
|
11256
11299
|
assertions: ({
|
|
11257
|
-
tool: string;
|
|
11258
11300
|
kind: "tool-not-invoked";
|
|
11301
|
+
tool: string;
|
|
11259
11302
|
} | {
|
|
11260
11303
|
kind: "datum-absent";
|
|
11261
11304
|
datum: string;
|
|
11262
11305
|
reference?: string | undefined;
|
|
11306
|
+
direction?: "commission" | "omission" | undefined;
|
|
11263
11307
|
})[];
|
|
11264
11308
|
}, {
|
|
11265
11309
|
status: "emitted";
|
|
11266
11310
|
assertions: ({
|
|
11267
|
-
tool: string;
|
|
11268
11311
|
kind: "tool-not-invoked";
|
|
11312
|
+
tool: string;
|
|
11269
11313
|
} | {
|
|
11270
11314
|
kind: "datum-absent";
|
|
11271
11315
|
datum: string;
|
|
11272
11316
|
reference?: string | undefined;
|
|
11317
|
+
direction?: "commission" | "omission" | undefined;
|
|
11273
11318
|
})[];
|
|
11274
11319
|
}>, ZodObject<{
|
|
11275
11320
|
status: ZodLiteral<"malformed">;
|
|
@@ -11375,7 +11420,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
11375
11420
|
} | undefined;
|
|
11376
11421
|
}>, "many">>;
|
|
11377
11422
|
}, "strip", ZodTypeAny$1, {
|
|
11378
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
11423
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
11379
11424
|
failedDimensionIds: string[];
|
|
11380
11425
|
retryAttempts: number;
|
|
11381
11426
|
retryHistory: {
|
|
@@ -11397,7 +11442,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
11397
11442
|
} | undefined;
|
|
11398
11443
|
}[] | undefined;
|
|
11399
11444
|
}, {
|
|
11400
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
11445
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
11401
11446
|
failedDimensionIds?: string[] | undefined;
|
|
11402
11447
|
retryAttempts?: number | undefined;
|
|
11403
11448
|
retryHistory?: {
|
|
@@ -12535,18 +12580,18 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
12535
12580
|
};
|
|
12536
12581
|
}>>;
|
|
12537
12582
|
}, "strip", ZodTypeAny$1, {
|
|
12583
|
+
surfaceId: string;
|
|
12538
12584
|
lensVersion: string;
|
|
12539
12585
|
correlationId: string;
|
|
12540
12586
|
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | "analysis.delivery-orphan" | "analysis.orthogonality-hypothesis";
|
|
12541
|
-
surfaceId: string;
|
|
12542
12587
|
occurredAt: string;
|
|
12543
12588
|
eventId: string;
|
|
12544
12589
|
substrate?: {
|
|
12545
|
-
provenance: "
|
|
12590
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
12546
12591
|
timestamp: string;
|
|
12547
12592
|
lensVersion: string;
|
|
12548
12593
|
lightSourceIdentifier: string;
|
|
12549
|
-
runMode: "
|
|
12594
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
12550
12595
|
correlationId: string;
|
|
12551
12596
|
columns: Record<string, string>;
|
|
12552
12597
|
} | undefined;
|
|
@@ -13183,43 +13228,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
13183
13228
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
13184
13229
|
tool: ZodString;
|
|
13185
13230
|
}, "strip", ZodTypeAny$1, {
|
|
13186
|
-
tool: string;
|
|
13187
13231
|
kind: "tool-not-invoked";
|
|
13188
|
-
}, {
|
|
13189
13232
|
tool: string;
|
|
13233
|
+
}, {
|
|
13190
13234
|
kind: "tool-not-invoked";
|
|
13235
|
+
tool: string;
|
|
13191
13236
|
}>, ZodObject<{
|
|
13192
13237
|
kind: ZodLiteral<"datum-absent">;
|
|
13193
13238
|
datum: ZodString;
|
|
13194
13239
|
reference: ZodOptional$1<ZodString>;
|
|
13240
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
13195
13241
|
}, "strip", ZodTypeAny$1, {
|
|
13196
13242
|
kind: "datum-absent";
|
|
13197
13243
|
datum: string;
|
|
13198
13244
|
reference?: string | undefined;
|
|
13245
|
+
direction?: "commission" | "omission" | undefined;
|
|
13199
13246
|
}, {
|
|
13200
13247
|
kind: "datum-absent";
|
|
13201
13248
|
datum: string;
|
|
13202
13249
|
reference?: string | undefined;
|
|
13250
|
+
direction?: "commission" | "omission" | undefined;
|
|
13203
13251
|
}>]>, "many">;
|
|
13204
13252
|
}, "strip", ZodTypeAny$1, {
|
|
13205
13253
|
status: "emitted";
|
|
13206
13254
|
assertions: ({
|
|
13207
|
-
tool: string;
|
|
13208
13255
|
kind: "tool-not-invoked";
|
|
13256
|
+
tool: string;
|
|
13209
13257
|
} | {
|
|
13210
13258
|
kind: "datum-absent";
|
|
13211
13259
|
datum: string;
|
|
13212
13260
|
reference?: string | undefined;
|
|
13261
|
+
direction?: "commission" | "omission" | undefined;
|
|
13213
13262
|
})[];
|
|
13214
13263
|
}, {
|
|
13215
13264
|
status: "emitted";
|
|
13216
13265
|
assertions: ({
|
|
13217
|
-
tool: string;
|
|
13218
13266
|
kind: "tool-not-invoked";
|
|
13267
|
+
tool: string;
|
|
13219
13268
|
} | {
|
|
13220
13269
|
kind: "datum-absent";
|
|
13221
13270
|
datum: string;
|
|
13222
13271
|
reference?: string | undefined;
|
|
13272
|
+
direction?: "commission" | "omission" | undefined;
|
|
13223
13273
|
})[];
|
|
13224
13274
|
}>, ZodObject<{
|
|
13225
13275
|
status: ZodLiteral<"malformed">;
|
|
@@ -13278,43 +13328,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
13278
13328
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
13279
13329
|
tool: ZodString;
|
|
13280
13330
|
}, "strip", ZodTypeAny$1, {
|
|
13281
|
-
tool: string;
|
|
13282
13331
|
kind: "tool-not-invoked";
|
|
13283
|
-
}, {
|
|
13284
13332
|
tool: string;
|
|
13333
|
+
}, {
|
|
13285
13334
|
kind: "tool-not-invoked";
|
|
13335
|
+
tool: string;
|
|
13286
13336
|
}>, ZodObject<{
|
|
13287
13337
|
kind: ZodLiteral<"datum-absent">;
|
|
13288
13338
|
datum: ZodString;
|
|
13289
13339
|
reference: ZodOptional$1<ZodString>;
|
|
13340
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
13290
13341
|
}, "strip", ZodTypeAny$1, {
|
|
13291
13342
|
kind: "datum-absent";
|
|
13292
13343
|
datum: string;
|
|
13293
13344
|
reference?: string | undefined;
|
|
13345
|
+
direction?: "commission" | "omission" | undefined;
|
|
13294
13346
|
}, {
|
|
13295
13347
|
kind: "datum-absent";
|
|
13296
13348
|
datum: string;
|
|
13297
13349
|
reference?: string | undefined;
|
|
13350
|
+
direction?: "commission" | "omission" | undefined;
|
|
13298
13351
|
}>]>, "many">;
|
|
13299
13352
|
}, "strip", ZodTypeAny$1, {
|
|
13300
13353
|
status: "emitted";
|
|
13301
13354
|
assertions: ({
|
|
13302
|
-
tool: string;
|
|
13303
13355
|
kind: "tool-not-invoked";
|
|
13356
|
+
tool: string;
|
|
13304
13357
|
} | {
|
|
13305
13358
|
kind: "datum-absent";
|
|
13306
13359
|
datum: string;
|
|
13307
13360
|
reference?: string | undefined;
|
|
13361
|
+
direction?: "commission" | "omission" | undefined;
|
|
13308
13362
|
})[];
|
|
13309
13363
|
}, {
|
|
13310
13364
|
status: "emitted";
|
|
13311
13365
|
assertions: ({
|
|
13312
|
-
tool: string;
|
|
13313
13366
|
kind: "tool-not-invoked";
|
|
13367
|
+
tool: string;
|
|
13314
13368
|
} | {
|
|
13315
13369
|
kind: "datum-absent";
|
|
13316
13370
|
datum: string;
|
|
13317
13371
|
reference?: string | undefined;
|
|
13372
|
+
direction?: "commission" | "omission" | undefined;
|
|
13318
13373
|
})[];
|
|
13319
13374
|
}>, ZodObject<{
|
|
13320
13375
|
status: ZodLiteral<"malformed">;
|
|
@@ -13373,43 +13428,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
13373
13428
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
13374
13429
|
tool: ZodString;
|
|
13375
13430
|
}, "strip", ZodTypeAny$1, {
|
|
13376
|
-
tool: string;
|
|
13377
13431
|
kind: "tool-not-invoked";
|
|
13378
|
-
}, {
|
|
13379
13432
|
tool: string;
|
|
13433
|
+
}, {
|
|
13380
13434
|
kind: "tool-not-invoked";
|
|
13435
|
+
tool: string;
|
|
13381
13436
|
}>, ZodObject<{
|
|
13382
13437
|
kind: ZodLiteral<"datum-absent">;
|
|
13383
13438
|
datum: ZodString;
|
|
13384
13439
|
reference: ZodOptional$1<ZodString>;
|
|
13440
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
13385
13441
|
}, "strip", ZodTypeAny$1, {
|
|
13386
13442
|
kind: "datum-absent";
|
|
13387
13443
|
datum: string;
|
|
13388
13444
|
reference?: string | undefined;
|
|
13445
|
+
direction?: "commission" | "omission" | undefined;
|
|
13389
13446
|
}, {
|
|
13390
13447
|
kind: "datum-absent";
|
|
13391
13448
|
datum: string;
|
|
13392
13449
|
reference?: string | undefined;
|
|
13450
|
+
direction?: "commission" | "omission" | undefined;
|
|
13393
13451
|
}>]>, "many">;
|
|
13394
13452
|
}, "strip", ZodTypeAny$1, {
|
|
13395
13453
|
status: "emitted";
|
|
13396
13454
|
assertions: ({
|
|
13397
|
-
tool: string;
|
|
13398
13455
|
kind: "tool-not-invoked";
|
|
13456
|
+
tool: string;
|
|
13399
13457
|
} | {
|
|
13400
13458
|
kind: "datum-absent";
|
|
13401
13459
|
datum: string;
|
|
13402
13460
|
reference?: string | undefined;
|
|
13461
|
+
direction?: "commission" | "omission" | undefined;
|
|
13403
13462
|
})[];
|
|
13404
13463
|
}, {
|
|
13405
13464
|
status: "emitted";
|
|
13406
13465
|
assertions: ({
|
|
13407
|
-
tool: string;
|
|
13408
13466
|
kind: "tool-not-invoked";
|
|
13467
|
+
tool: string;
|
|
13409
13468
|
} | {
|
|
13410
13469
|
kind: "datum-absent";
|
|
13411
13470
|
datum: string;
|
|
13412
13471
|
reference?: string | undefined;
|
|
13472
|
+
direction?: "commission" | "omission" | undefined;
|
|
13413
13473
|
})[];
|
|
13414
13474
|
}>, ZodObject<{
|
|
13415
13475
|
status: ZodLiteral<"malformed">;
|
|
@@ -13515,7 +13575,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
13515
13575
|
} | undefined;
|
|
13516
13576
|
}>, "many">>;
|
|
13517
13577
|
}, "strip", ZodTypeAny$1, {
|
|
13518
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
13578
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
13519
13579
|
failedDimensionIds: string[];
|
|
13520
13580
|
retryAttempts: number;
|
|
13521
13581
|
retryHistory: {
|
|
@@ -13537,7 +13597,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
13537
13597
|
} | undefined;
|
|
13538
13598
|
}[] | undefined;
|
|
13539
13599
|
}, {
|
|
13540
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
13600
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
13541
13601
|
failedDimensionIds?: string[] | undefined;
|
|
13542
13602
|
retryAttempts?: number | undefined;
|
|
13543
13603
|
retryHistory?: {
|
|
@@ -13762,17 +13822,17 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
13762
13822
|
};
|
|
13763
13823
|
} | undefined;
|
|
13764
13824
|
}, {
|
|
13825
|
+
surfaceId: string;
|
|
13765
13826
|
lensVersion: string;
|
|
13766
13827
|
correlationId: string;
|
|
13767
|
-
surfaceId: string;
|
|
13768
13828
|
occurredAt: string;
|
|
13769
13829
|
eventId: string;
|
|
13770
13830
|
substrate?: {
|
|
13771
|
-
provenance: "
|
|
13831
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
13772
13832
|
timestamp: string;
|
|
13773
13833
|
lensVersion: string;
|
|
13774
13834
|
lightSourceIdentifier: string;
|
|
13775
|
-
runMode: "
|
|
13835
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
13776
13836
|
correlationId: string;
|
|
13777
13837
|
columns: Record<string, string>;
|
|
13778
13838
|
} | undefined;
|
|
@@ -14410,43 +14470,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
14410
14470
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
14411
14471
|
tool: ZodString;
|
|
14412
14472
|
}, "strip", ZodTypeAny$1, {
|
|
14413
|
-
tool: string;
|
|
14414
14473
|
kind: "tool-not-invoked";
|
|
14415
|
-
}, {
|
|
14416
14474
|
tool: string;
|
|
14475
|
+
}, {
|
|
14417
14476
|
kind: "tool-not-invoked";
|
|
14477
|
+
tool: string;
|
|
14418
14478
|
}>, ZodObject<{
|
|
14419
14479
|
kind: ZodLiteral<"datum-absent">;
|
|
14420
14480
|
datum: ZodString;
|
|
14421
14481
|
reference: ZodOptional$1<ZodString>;
|
|
14482
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
14422
14483
|
}, "strip", ZodTypeAny$1, {
|
|
14423
14484
|
kind: "datum-absent";
|
|
14424
14485
|
datum: string;
|
|
14425
14486
|
reference?: string | undefined;
|
|
14487
|
+
direction?: "commission" | "omission" | undefined;
|
|
14426
14488
|
}, {
|
|
14427
14489
|
kind: "datum-absent";
|
|
14428
14490
|
datum: string;
|
|
14429
14491
|
reference?: string | undefined;
|
|
14492
|
+
direction?: "commission" | "omission" | undefined;
|
|
14430
14493
|
}>]>, "many">;
|
|
14431
14494
|
}, "strip", ZodTypeAny$1, {
|
|
14432
14495
|
status: "emitted";
|
|
14433
14496
|
assertions: ({
|
|
14434
|
-
tool: string;
|
|
14435
14497
|
kind: "tool-not-invoked";
|
|
14498
|
+
tool: string;
|
|
14436
14499
|
} | {
|
|
14437
14500
|
kind: "datum-absent";
|
|
14438
14501
|
datum: string;
|
|
14439
14502
|
reference?: string | undefined;
|
|
14503
|
+
direction?: "commission" | "omission" | undefined;
|
|
14440
14504
|
})[];
|
|
14441
14505
|
}, {
|
|
14442
14506
|
status: "emitted";
|
|
14443
14507
|
assertions: ({
|
|
14444
|
-
tool: string;
|
|
14445
14508
|
kind: "tool-not-invoked";
|
|
14509
|
+
tool: string;
|
|
14446
14510
|
} | {
|
|
14447
14511
|
kind: "datum-absent";
|
|
14448
14512
|
datum: string;
|
|
14449
14513
|
reference?: string | undefined;
|
|
14514
|
+
direction?: "commission" | "omission" | undefined;
|
|
14450
14515
|
})[];
|
|
14451
14516
|
}>, ZodObject<{
|
|
14452
14517
|
status: ZodLiteral<"malformed">;
|
|
@@ -14505,43 +14570,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
14505
14570
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
14506
14571
|
tool: ZodString;
|
|
14507
14572
|
}, "strip", ZodTypeAny$1, {
|
|
14508
|
-
tool: string;
|
|
14509
14573
|
kind: "tool-not-invoked";
|
|
14510
|
-
}, {
|
|
14511
14574
|
tool: string;
|
|
14575
|
+
}, {
|
|
14512
14576
|
kind: "tool-not-invoked";
|
|
14577
|
+
tool: string;
|
|
14513
14578
|
}>, ZodObject<{
|
|
14514
14579
|
kind: ZodLiteral<"datum-absent">;
|
|
14515
14580
|
datum: ZodString;
|
|
14516
14581
|
reference: ZodOptional$1<ZodString>;
|
|
14582
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
14517
14583
|
}, "strip", ZodTypeAny$1, {
|
|
14518
14584
|
kind: "datum-absent";
|
|
14519
14585
|
datum: string;
|
|
14520
14586
|
reference?: string | undefined;
|
|
14587
|
+
direction?: "commission" | "omission" | undefined;
|
|
14521
14588
|
}, {
|
|
14522
14589
|
kind: "datum-absent";
|
|
14523
14590
|
datum: string;
|
|
14524
14591
|
reference?: string | undefined;
|
|
14592
|
+
direction?: "commission" | "omission" | undefined;
|
|
14525
14593
|
}>]>, "many">;
|
|
14526
14594
|
}, "strip", ZodTypeAny$1, {
|
|
14527
14595
|
status: "emitted";
|
|
14528
14596
|
assertions: ({
|
|
14529
|
-
tool: string;
|
|
14530
14597
|
kind: "tool-not-invoked";
|
|
14598
|
+
tool: string;
|
|
14531
14599
|
} | {
|
|
14532
14600
|
kind: "datum-absent";
|
|
14533
14601
|
datum: string;
|
|
14534
14602
|
reference?: string | undefined;
|
|
14603
|
+
direction?: "commission" | "omission" | undefined;
|
|
14535
14604
|
})[];
|
|
14536
14605
|
}, {
|
|
14537
14606
|
status: "emitted";
|
|
14538
14607
|
assertions: ({
|
|
14539
|
-
tool: string;
|
|
14540
14608
|
kind: "tool-not-invoked";
|
|
14609
|
+
tool: string;
|
|
14541
14610
|
} | {
|
|
14542
14611
|
kind: "datum-absent";
|
|
14543
14612
|
datum: string;
|
|
14544
14613
|
reference?: string | undefined;
|
|
14614
|
+
direction?: "commission" | "omission" | undefined;
|
|
14545
14615
|
})[];
|
|
14546
14616
|
}>, ZodObject<{
|
|
14547
14617
|
status: ZodLiteral<"malformed">;
|
|
@@ -14600,43 +14670,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
14600
14670
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
14601
14671
|
tool: ZodString;
|
|
14602
14672
|
}, "strip", ZodTypeAny$1, {
|
|
14603
|
-
tool: string;
|
|
14604
14673
|
kind: "tool-not-invoked";
|
|
14605
|
-
}, {
|
|
14606
14674
|
tool: string;
|
|
14675
|
+
}, {
|
|
14607
14676
|
kind: "tool-not-invoked";
|
|
14677
|
+
tool: string;
|
|
14608
14678
|
}>, ZodObject<{
|
|
14609
14679
|
kind: ZodLiteral<"datum-absent">;
|
|
14610
14680
|
datum: ZodString;
|
|
14611
14681
|
reference: ZodOptional$1<ZodString>;
|
|
14682
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
14612
14683
|
}, "strip", ZodTypeAny$1, {
|
|
14613
14684
|
kind: "datum-absent";
|
|
14614
14685
|
datum: string;
|
|
14615
14686
|
reference?: string | undefined;
|
|
14687
|
+
direction?: "commission" | "omission" | undefined;
|
|
14616
14688
|
}, {
|
|
14617
14689
|
kind: "datum-absent";
|
|
14618
14690
|
datum: string;
|
|
14619
14691
|
reference?: string | undefined;
|
|
14692
|
+
direction?: "commission" | "omission" | undefined;
|
|
14620
14693
|
}>]>, "many">;
|
|
14621
14694
|
}, "strip", ZodTypeAny$1, {
|
|
14622
14695
|
status: "emitted";
|
|
14623
14696
|
assertions: ({
|
|
14624
|
-
tool: string;
|
|
14625
14697
|
kind: "tool-not-invoked";
|
|
14698
|
+
tool: string;
|
|
14626
14699
|
} | {
|
|
14627
14700
|
kind: "datum-absent";
|
|
14628
14701
|
datum: string;
|
|
14629
14702
|
reference?: string | undefined;
|
|
14703
|
+
direction?: "commission" | "omission" | undefined;
|
|
14630
14704
|
})[];
|
|
14631
14705
|
}, {
|
|
14632
14706
|
status: "emitted";
|
|
14633
14707
|
assertions: ({
|
|
14634
|
-
tool: string;
|
|
14635
14708
|
kind: "tool-not-invoked";
|
|
14709
|
+
tool: string;
|
|
14636
14710
|
} | {
|
|
14637
14711
|
kind: "datum-absent";
|
|
14638
14712
|
datum: string;
|
|
14639
14713
|
reference?: string | undefined;
|
|
14714
|
+
direction?: "commission" | "omission" | undefined;
|
|
14640
14715
|
})[];
|
|
14641
14716
|
}>, ZodObject<{
|
|
14642
14717
|
status: ZodLiteral<"malformed">;
|
|
@@ -14742,7 +14817,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
14742
14817
|
} | undefined;
|
|
14743
14818
|
}>, "many">>;
|
|
14744
14819
|
}, "strip", ZodTypeAny$1, {
|
|
14745
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
14820
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
14746
14821
|
failedDimensionIds: string[];
|
|
14747
14822
|
retryAttempts: number;
|
|
14748
14823
|
retryHistory: {
|
|
@@ -14764,7 +14839,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
14764
14839
|
} | undefined;
|
|
14765
14840
|
}[] | undefined;
|
|
14766
14841
|
}, {
|
|
14767
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
14842
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
14768
14843
|
failedDimensionIds?: string[] | undefined;
|
|
14769
14844
|
retryAttempts?: number | undefined;
|
|
14770
14845
|
retryHistory?: {
|
|
@@ -14989,18 +15064,18 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
14989
15064
|
};
|
|
14990
15065
|
} | undefined;
|
|
14991
15066
|
}>, {
|
|
15067
|
+
surfaceId: string;
|
|
14992
15068
|
lensVersion: string;
|
|
14993
15069
|
correlationId: string;
|
|
14994
15070
|
kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | "analysis.emission-coverage" | "analysis.delivery-orphan" | "analysis.orthogonality-hypothesis";
|
|
14995
|
-
surfaceId: string;
|
|
14996
15071
|
occurredAt: string;
|
|
14997
15072
|
eventId: string;
|
|
14998
15073
|
substrate?: {
|
|
14999
|
-
provenance: "
|
|
15074
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
15000
15075
|
timestamp: string;
|
|
15001
15076
|
lensVersion: string;
|
|
15002
15077
|
lightSourceIdentifier: string;
|
|
15003
|
-
runMode: "
|
|
15078
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
15004
15079
|
correlationId: string;
|
|
15005
15080
|
columns: Record<string, string>;
|
|
15006
15081
|
} | undefined;
|
|
@@ -15637,43 +15712,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
15637
15712
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
15638
15713
|
tool: ZodString;
|
|
15639
15714
|
}, "strip", ZodTypeAny$1, {
|
|
15640
|
-
tool: string;
|
|
15641
15715
|
kind: "tool-not-invoked";
|
|
15642
|
-
}, {
|
|
15643
15716
|
tool: string;
|
|
15717
|
+
}, {
|
|
15644
15718
|
kind: "tool-not-invoked";
|
|
15719
|
+
tool: string;
|
|
15645
15720
|
}>, ZodObject<{
|
|
15646
15721
|
kind: ZodLiteral<"datum-absent">;
|
|
15647
15722
|
datum: ZodString;
|
|
15648
15723
|
reference: ZodOptional$1<ZodString>;
|
|
15724
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
15649
15725
|
}, "strip", ZodTypeAny$1, {
|
|
15650
15726
|
kind: "datum-absent";
|
|
15651
15727
|
datum: string;
|
|
15652
15728
|
reference?: string | undefined;
|
|
15729
|
+
direction?: "commission" | "omission" | undefined;
|
|
15653
15730
|
}, {
|
|
15654
15731
|
kind: "datum-absent";
|
|
15655
15732
|
datum: string;
|
|
15656
15733
|
reference?: string | undefined;
|
|
15734
|
+
direction?: "commission" | "omission" | undefined;
|
|
15657
15735
|
}>]>, "many">;
|
|
15658
15736
|
}, "strip", ZodTypeAny$1, {
|
|
15659
15737
|
status: "emitted";
|
|
15660
15738
|
assertions: ({
|
|
15661
|
-
tool: string;
|
|
15662
15739
|
kind: "tool-not-invoked";
|
|
15740
|
+
tool: string;
|
|
15663
15741
|
} | {
|
|
15664
15742
|
kind: "datum-absent";
|
|
15665
15743
|
datum: string;
|
|
15666
15744
|
reference?: string | undefined;
|
|
15745
|
+
direction?: "commission" | "omission" | undefined;
|
|
15667
15746
|
})[];
|
|
15668
15747
|
}, {
|
|
15669
15748
|
status: "emitted";
|
|
15670
15749
|
assertions: ({
|
|
15671
|
-
tool: string;
|
|
15672
15750
|
kind: "tool-not-invoked";
|
|
15751
|
+
tool: string;
|
|
15673
15752
|
} | {
|
|
15674
15753
|
kind: "datum-absent";
|
|
15675
15754
|
datum: string;
|
|
15676
15755
|
reference?: string | undefined;
|
|
15756
|
+
direction?: "commission" | "omission" | undefined;
|
|
15677
15757
|
})[];
|
|
15678
15758
|
}>, ZodObject<{
|
|
15679
15759
|
status: ZodLiteral<"malformed">;
|
|
@@ -15732,43 +15812,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
15732
15812
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
15733
15813
|
tool: ZodString;
|
|
15734
15814
|
}, "strip", ZodTypeAny$1, {
|
|
15735
|
-
tool: string;
|
|
15736
15815
|
kind: "tool-not-invoked";
|
|
15737
|
-
}, {
|
|
15738
15816
|
tool: string;
|
|
15817
|
+
}, {
|
|
15739
15818
|
kind: "tool-not-invoked";
|
|
15819
|
+
tool: string;
|
|
15740
15820
|
}>, ZodObject<{
|
|
15741
15821
|
kind: ZodLiteral<"datum-absent">;
|
|
15742
15822
|
datum: ZodString;
|
|
15743
15823
|
reference: ZodOptional$1<ZodString>;
|
|
15824
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
15744
15825
|
}, "strip", ZodTypeAny$1, {
|
|
15745
15826
|
kind: "datum-absent";
|
|
15746
15827
|
datum: string;
|
|
15747
15828
|
reference?: string | undefined;
|
|
15829
|
+
direction?: "commission" | "omission" | undefined;
|
|
15748
15830
|
}, {
|
|
15749
15831
|
kind: "datum-absent";
|
|
15750
15832
|
datum: string;
|
|
15751
15833
|
reference?: string | undefined;
|
|
15834
|
+
direction?: "commission" | "omission" | undefined;
|
|
15752
15835
|
}>]>, "many">;
|
|
15753
15836
|
}, "strip", ZodTypeAny$1, {
|
|
15754
15837
|
status: "emitted";
|
|
15755
15838
|
assertions: ({
|
|
15756
|
-
tool: string;
|
|
15757
15839
|
kind: "tool-not-invoked";
|
|
15840
|
+
tool: string;
|
|
15758
15841
|
} | {
|
|
15759
15842
|
kind: "datum-absent";
|
|
15760
15843
|
datum: string;
|
|
15761
15844
|
reference?: string | undefined;
|
|
15845
|
+
direction?: "commission" | "omission" | undefined;
|
|
15762
15846
|
})[];
|
|
15763
15847
|
}, {
|
|
15764
15848
|
status: "emitted";
|
|
15765
15849
|
assertions: ({
|
|
15766
|
-
tool: string;
|
|
15767
15850
|
kind: "tool-not-invoked";
|
|
15851
|
+
tool: string;
|
|
15768
15852
|
} | {
|
|
15769
15853
|
kind: "datum-absent";
|
|
15770
15854
|
datum: string;
|
|
15771
15855
|
reference?: string | undefined;
|
|
15856
|
+
direction?: "commission" | "omission" | undefined;
|
|
15772
15857
|
})[];
|
|
15773
15858
|
}>, ZodObject<{
|
|
15774
15859
|
status: ZodLiteral<"malformed">;
|
|
@@ -15827,43 +15912,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
15827
15912
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
15828
15913
|
tool: ZodString;
|
|
15829
15914
|
}, "strip", ZodTypeAny$1, {
|
|
15830
|
-
tool: string;
|
|
15831
15915
|
kind: "tool-not-invoked";
|
|
15832
|
-
}, {
|
|
15833
15916
|
tool: string;
|
|
15917
|
+
}, {
|
|
15834
15918
|
kind: "tool-not-invoked";
|
|
15919
|
+
tool: string;
|
|
15835
15920
|
}>, ZodObject<{
|
|
15836
15921
|
kind: ZodLiteral<"datum-absent">;
|
|
15837
15922
|
datum: ZodString;
|
|
15838
15923
|
reference: ZodOptional$1<ZodString>;
|
|
15924
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
15839
15925
|
}, "strip", ZodTypeAny$1, {
|
|
15840
15926
|
kind: "datum-absent";
|
|
15841
15927
|
datum: string;
|
|
15842
15928
|
reference?: string | undefined;
|
|
15929
|
+
direction?: "commission" | "omission" | undefined;
|
|
15843
15930
|
}, {
|
|
15844
15931
|
kind: "datum-absent";
|
|
15845
15932
|
datum: string;
|
|
15846
15933
|
reference?: string | undefined;
|
|
15934
|
+
direction?: "commission" | "omission" | undefined;
|
|
15847
15935
|
}>]>, "many">;
|
|
15848
15936
|
}, "strip", ZodTypeAny$1, {
|
|
15849
15937
|
status: "emitted";
|
|
15850
15938
|
assertions: ({
|
|
15851
|
-
tool: string;
|
|
15852
15939
|
kind: "tool-not-invoked";
|
|
15940
|
+
tool: string;
|
|
15853
15941
|
} | {
|
|
15854
15942
|
kind: "datum-absent";
|
|
15855
15943
|
datum: string;
|
|
15856
15944
|
reference?: string | undefined;
|
|
15945
|
+
direction?: "commission" | "omission" | undefined;
|
|
15857
15946
|
})[];
|
|
15858
15947
|
}, {
|
|
15859
15948
|
status: "emitted";
|
|
15860
15949
|
assertions: ({
|
|
15861
|
-
tool: string;
|
|
15862
15950
|
kind: "tool-not-invoked";
|
|
15951
|
+
tool: string;
|
|
15863
15952
|
} | {
|
|
15864
15953
|
kind: "datum-absent";
|
|
15865
15954
|
datum: string;
|
|
15866
15955
|
reference?: string | undefined;
|
|
15956
|
+
direction?: "commission" | "omission" | undefined;
|
|
15867
15957
|
})[];
|
|
15868
15958
|
}>, ZodObject<{
|
|
15869
15959
|
status: ZodLiteral<"malformed">;
|
|
@@ -15969,7 +16059,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
15969
16059
|
} | undefined;
|
|
15970
16060
|
}>, "many">>;
|
|
15971
16061
|
}, "strip", ZodTypeAny$1, {
|
|
15972
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
16062
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
15973
16063
|
failedDimensionIds: string[];
|
|
15974
16064
|
retryAttempts: number;
|
|
15975
16065
|
retryHistory: {
|
|
@@ -15991,7 +16081,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
15991
16081
|
} | undefined;
|
|
15992
16082
|
}[] | undefined;
|
|
15993
16083
|
}, {
|
|
15994
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
16084
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
15995
16085
|
failedDimensionIds?: string[] | undefined;
|
|
15996
16086
|
retryAttempts?: number | undefined;
|
|
15997
16087
|
retryHistory?: {
|
|
@@ -16216,17 +16306,17 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
16216
16306
|
};
|
|
16217
16307
|
} | undefined;
|
|
16218
16308
|
}, {
|
|
16309
|
+
surfaceId: string;
|
|
16219
16310
|
lensVersion: string;
|
|
16220
16311
|
correlationId: string;
|
|
16221
|
-
surfaceId: string;
|
|
16222
16312
|
occurredAt: string;
|
|
16223
16313
|
eventId: string;
|
|
16224
16314
|
substrate?: {
|
|
16225
|
-
provenance: "
|
|
16315
|
+
provenance: "replay" | "local_dev" | "pre_deploy_gate" | "scheduled_production_eval" | "manual_production_run";
|
|
16226
16316
|
timestamp: string;
|
|
16227
16317
|
lensVersion: string;
|
|
16228
16318
|
lightSourceIdentifier: string;
|
|
16229
|
-
runMode: "
|
|
16319
|
+
runMode: "production" | "test" | "eval" | "replay" | "local_dev";
|
|
16230
16320
|
correlationId: string;
|
|
16231
16321
|
columns: Record<string, string>;
|
|
16232
16322
|
} | undefined;
|
|
@@ -16864,43 +16954,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
16864
16954
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
16865
16955
|
tool: ZodString;
|
|
16866
16956
|
}, "strip", ZodTypeAny$1, {
|
|
16867
|
-
tool: string;
|
|
16868
16957
|
kind: "tool-not-invoked";
|
|
16869
|
-
}, {
|
|
16870
16958
|
tool: string;
|
|
16959
|
+
}, {
|
|
16871
16960
|
kind: "tool-not-invoked";
|
|
16961
|
+
tool: string;
|
|
16872
16962
|
}>, ZodObject<{
|
|
16873
16963
|
kind: ZodLiteral<"datum-absent">;
|
|
16874
16964
|
datum: ZodString;
|
|
16875
16965
|
reference: ZodOptional$1<ZodString>;
|
|
16966
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
16876
16967
|
}, "strip", ZodTypeAny$1, {
|
|
16877
16968
|
kind: "datum-absent";
|
|
16878
16969
|
datum: string;
|
|
16879
16970
|
reference?: string | undefined;
|
|
16971
|
+
direction?: "commission" | "omission" | undefined;
|
|
16880
16972
|
}, {
|
|
16881
16973
|
kind: "datum-absent";
|
|
16882
16974
|
datum: string;
|
|
16883
16975
|
reference?: string | undefined;
|
|
16976
|
+
direction?: "commission" | "omission" | undefined;
|
|
16884
16977
|
}>]>, "many">;
|
|
16885
16978
|
}, "strip", ZodTypeAny$1, {
|
|
16886
16979
|
status: "emitted";
|
|
16887
16980
|
assertions: ({
|
|
16888
|
-
tool: string;
|
|
16889
16981
|
kind: "tool-not-invoked";
|
|
16982
|
+
tool: string;
|
|
16890
16983
|
} | {
|
|
16891
16984
|
kind: "datum-absent";
|
|
16892
16985
|
datum: string;
|
|
16893
16986
|
reference?: string | undefined;
|
|
16987
|
+
direction?: "commission" | "omission" | undefined;
|
|
16894
16988
|
})[];
|
|
16895
16989
|
}, {
|
|
16896
16990
|
status: "emitted";
|
|
16897
16991
|
assertions: ({
|
|
16898
|
-
tool: string;
|
|
16899
16992
|
kind: "tool-not-invoked";
|
|
16993
|
+
tool: string;
|
|
16900
16994
|
} | {
|
|
16901
16995
|
kind: "datum-absent";
|
|
16902
16996
|
datum: string;
|
|
16903
16997
|
reference?: string | undefined;
|
|
16998
|
+
direction?: "commission" | "omission" | undefined;
|
|
16904
16999
|
})[];
|
|
16905
17000
|
}>, ZodObject<{
|
|
16906
17001
|
status: ZodLiteral<"malformed">;
|
|
@@ -16959,43 +17054,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
16959
17054
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
16960
17055
|
tool: ZodString;
|
|
16961
17056
|
}, "strip", ZodTypeAny$1, {
|
|
16962
|
-
tool: string;
|
|
16963
17057
|
kind: "tool-not-invoked";
|
|
16964
|
-
}, {
|
|
16965
17058
|
tool: string;
|
|
17059
|
+
}, {
|
|
16966
17060
|
kind: "tool-not-invoked";
|
|
17061
|
+
tool: string;
|
|
16967
17062
|
}>, ZodObject<{
|
|
16968
17063
|
kind: ZodLiteral<"datum-absent">;
|
|
16969
17064
|
datum: ZodString;
|
|
16970
17065
|
reference: ZodOptional$1<ZodString>;
|
|
17066
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
16971
17067
|
}, "strip", ZodTypeAny$1, {
|
|
16972
17068
|
kind: "datum-absent";
|
|
16973
17069
|
datum: string;
|
|
16974
17070
|
reference?: string | undefined;
|
|
17071
|
+
direction?: "commission" | "omission" | undefined;
|
|
16975
17072
|
}, {
|
|
16976
17073
|
kind: "datum-absent";
|
|
16977
17074
|
datum: string;
|
|
16978
17075
|
reference?: string | undefined;
|
|
17076
|
+
direction?: "commission" | "omission" | undefined;
|
|
16979
17077
|
}>]>, "many">;
|
|
16980
17078
|
}, "strip", ZodTypeAny$1, {
|
|
16981
17079
|
status: "emitted";
|
|
16982
17080
|
assertions: ({
|
|
16983
|
-
tool: string;
|
|
16984
17081
|
kind: "tool-not-invoked";
|
|
17082
|
+
tool: string;
|
|
16985
17083
|
} | {
|
|
16986
17084
|
kind: "datum-absent";
|
|
16987
17085
|
datum: string;
|
|
16988
17086
|
reference?: string | undefined;
|
|
17087
|
+
direction?: "commission" | "omission" | undefined;
|
|
16989
17088
|
})[];
|
|
16990
17089
|
}, {
|
|
16991
17090
|
status: "emitted";
|
|
16992
17091
|
assertions: ({
|
|
16993
|
-
tool: string;
|
|
16994
17092
|
kind: "tool-not-invoked";
|
|
17093
|
+
tool: string;
|
|
16995
17094
|
} | {
|
|
16996
17095
|
kind: "datum-absent";
|
|
16997
17096
|
datum: string;
|
|
16998
17097
|
reference?: string | undefined;
|
|
17098
|
+
direction?: "commission" | "omission" | undefined;
|
|
16999
17099
|
})[];
|
|
17000
17100
|
}>, ZodObject<{
|
|
17001
17101
|
status: ZodLiteral<"malformed">;
|
|
@@ -17054,43 +17154,48 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
17054
17154
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
17055
17155
|
tool: ZodString;
|
|
17056
17156
|
}, "strip", ZodTypeAny$1, {
|
|
17057
|
-
tool: string;
|
|
17058
17157
|
kind: "tool-not-invoked";
|
|
17059
|
-
}, {
|
|
17060
17158
|
tool: string;
|
|
17159
|
+
}, {
|
|
17061
17160
|
kind: "tool-not-invoked";
|
|
17161
|
+
tool: string;
|
|
17062
17162
|
}>, ZodObject<{
|
|
17063
17163
|
kind: ZodLiteral<"datum-absent">;
|
|
17064
17164
|
datum: ZodString;
|
|
17065
17165
|
reference: ZodOptional$1<ZodString>;
|
|
17166
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
17066
17167
|
}, "strip", ZodTypeAny$1, {
|
|
17067
17168
|
kind: "datum-absent";
|
|
17068
17169
|
datum: string;
|
|
17069
17170
|
reference?: string | undefined;
|
|
17171
|
+
direction?: "commission" | "omission" | undefined;
|
|
17070
17172
|
}, {
|
|
17071
17173
|
kind: "datum-absent";
|
|
17072
17174
|
datum: string;
|
|
17073
17175
|
reference?: string | undefined;
|
|
17176
|
+
direction?: "commission" | "omission" | undefined;
|
|
17074
17177
|
}>]>, "many">;
|
|
17075
17178
|
}, "strip", ZodTypeAny$1, {
|
|
17076
17179
|
status: "emitted";
|
|
17077
17180
|
assertions: ({
|
|
17078
|
-
tool: string;
|
|
17079
17181
|
kind: "tool-not-invoked";
|
|
17182
|
+
tool: string;
|
|
17080
17183
|
} | {
|
|
17081
17184
|
kind: "datum-absent";
|
|
17082
17185
|
datum: string;
|
|
17083
17186
|
reference?: string | undefined;
|
|
17187
|
+
direction?: "commission" | "omission" | undefined;
|
|
17084
17188
|
})[];
|
|
17085
17189
|
}, {
|
|
17086
17190
|
status: "emitted";
|
|
17087
17191
|
assertions: ({
|
|
17088
|
-
tool: string;
|
|
17089
17192
|
kind: "tool-not-invoked";
|
|
17193
|
+
tool: string;
|
|
17090
17194
|
} | {
|
|
17091
17195
|
kind: "datum-absent";
|
|
17092
17196
|
datum: string;
|
|
17093
17197
|
reference?: string | undefined;
|
|
17198
|
+
direction?: "commission" | "omission" | undefined;
|
|
17094
17199
|
})[];
|
|
17095
17200
|
}>, ZodObject<{
|
|
17096
17201
|
status: ZodLiteral<"malformed">;
|
|
@@ -17196,7 +17301,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
17196
17301
|
} | undefined;
|
|
17197
17302
|
}>, "many">>;
|
|
17198
17303
|
}, "strip", ZodTypeAny$1, {
|
|
17199
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
17304
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
17200
17305
|
failedDimensionIds: string[];
|
|
17201
17306
|
retryAttempts: number;
|
|
17202
17307
|
retryHistory: {
|
|
@@ -17218,7 +17323,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
|
|
|
17218
17323
|
} | undefined;
|
|
17219
17324
|
}[] | undefined;
|
|
17220
17325
|
}, {
|
|
17221
|
-
action: "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block"
|
|
17326
|
+
action: "flag" | "block" | "pass" | "retry-then-pass" | "retry-then-flag" | "retry-then-block";
|
|
17222
17327
|
failedDimensionIds?: string[] | undefined;
|
|
17223
17328
|
retryAttempts?: number | undefined;
|
|
17224
17329
|
retryHistory?: {
|
|
@@ -17701,7 +17806,7 @@ declare const LightSourceResultSchema: ZodDiscriminatedUnion<"ok", [ZodObject<{
|
|
|
17701
17806
|
reasoning?: string | undefined;
|
|
17702
17807
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
17703
17808
|
servedModel?: string | undefined;
|
|
17704
|
-
stopReason?: "tool_use" | "end_turn" | "max_tokens" | "stop_sequence" | "refusal" |
|
|
17809
|
+
stopReason?: "other" | "tool_use" | "end_turn" | "max_tokens" | "stop_sequence" | "refusal" | undefined;
|
|
17705
17810
|
}, {
|
|
17706
17811
|
content: ({
|
|
17707
17812
|
kind: "text";
|
|
@@ -17735,7 +17840,7 @@ declare const LightSourceResultSchema: ZodDiscriminatedUnion<"ok", [ZodObject<{
|
|
|
17735
17840
|
reasoning?: string | undefined;
|
|
17736
17841
|
vendorMetadata?: Record<string, unknown> | undefined;
|
|
17737
17842
|
servedModel?: string | undefined;
|
|
17738
|
-
stopReason?: "tool_use" | "end_turn" | "max_tokens" | "stop_sequence" | "refusal" |
|
|
17843
|
+
stopReason?: "other" | "tool_use" | "end_turn" | "max_tokens" | "stop_sequence" | "refusal" | undefined;
|
|
17739
17844
|
}>, ZodObject<{
|
|
17740
17845
|
ok: ZodLiteral<false>;
|
|
17741
17846
|
error: ZodObject<{
|
|
@@ -17748,12 +17853,12 @@ declare const LightSourceResultSchema: ZodDiscriminatedUnion<"ok", [ZodObject<{
|
|
|
17748
17853
|
retryable: ZodBoolean;
|
|
17749
17854
|
}, "strip", ZodTypeAny$1, {
|
|
17750
17855
|
message: string;
|
|
17751
|
-
type: "unknown" | "
|
|
17856
|
+
type: "unknown" | "rate-limit" | "auth" | "timeout" | "transport" | "vendor-error" | "invalid-request";
|
|
17752
17857
|
retryable: boolean;
|
|
17753
17858
|
vendorErrorCode?: string | undefined;
|
|
17754
17859
|
}, {
|
|
17755
17860
|
message: string;
|
|
17756
|
-
type: "unknown" | "
|
|
17861
|
+
type: "unknown" | "rate-limit" | "auth" | "timeout" | "transport" | "vendor-error" | "invalid-request";
|
|
17757
17862
|
retryable: boolean;
|
|
17758
17863
|
vendorErrorCode?: string | undefined;
|
|
17759
17864
|
}>;
|
|
@@ -17768,7 +17873,7 @@ declare const LightSourceResultSchema: ZodDiscriminatedUnion<"ok", [ZodObject<{
|
|
|
17768
17873
|
latencyMs: number;
|
|
17769
17874
|
error: {
|
|
17770
17875
|
message: string;
|
|
17771
|
-
type: "unknown" | "
|
|
17876
|
+
type: "unknown" | "rate-limit" | "auth" | "timeout" | "transport" | "vendor-error" | "invalid-request";
|
|
17772
17877
|
retryable: boolean;
|
|
17773
17878
|
vendorErrorCode?: string | undefined;
|
|
17774
17879
|
};
|
|
@@ -17779,7 +17884,7 @@ declare const LightSourceResultSchema: ZodDiscriminatedUnion<"ok", [ZodObject<{
|
|
|
17779
17884
|
latencyMs: number;
|
|
17780
17885
|
error: {
|
|
17781
17886
|
message: string;
|
|
17782
|
-
type: "unknown" | "
|
|
17887
|
+
type: "unknown" | "rate-limit" | "auth" | "timeout" | "transport" | "vendor-error" | "invalid-request";
|
|
17783
17888
|
retryable: boolean;
|
|
17784
17889
|
vendorErrorCode?: string | undefined;
|
|
17785
17890
|
};
|
|
@@ -17851,23 +17956,27 @@ declare const JudgeAssertionSchema: ZodDiscriminatedUnion<"kind", [ZodObject<{
|
|
|
17851
17956
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
17852
17957
|
tool: ZodString;
|
|
17853
17958
|
}, "strip", ZodTypeAny$1, {
|
|
17854
|
-
tool: string;
|
|
17855
17959
|
kind: "tool-not-invoked";
|
|
17856
|
-
}, {
|
|
17857
17960
|
tool: string;
|
|
17961
|
+
}, {
|
|
17858
17962
|
kind: "tool-not-invoked";
|
|
17963
|
+
tool: string;
|
|
17859
17964
|
}>, ZodObject<{
|
|
17860
17965
|
kind: ZodLiteral<"datum-absent">;
|
|
17861
17966
|
datum: ZodString;
|
|
17862
17967
|
reference: ZodOptional$1<ZodString>;
|
|
17968
|
+
|
|
17969
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
17863
17970
|
}, "strip", ZodTypeAny$1, {
|
|
17864
17971
|
kind: "datum-absent";
|
|
17865
17972
|
datum: string;
|
|
17866
17973
|
reference?: string | undefined;
|
|
17974
|
+
direction?: "commission" | "omission" | undefined;
|
|
17867
17975
|
}, {
|
|
17868
17976
|
kind: "datum-absent";
|
|
17869
17977
|
datum: string;
|
|
17870
17978
|
reference?: string | undefined;
|
|
17979
|
+
direction?: "commission" | "omission" | undefined;
|
|
17871
17980
|
}>]>;
|
|
17872
17981
|
type JudgeAssertion = TypeOf$1<typeof JudgeAssertionSchema>;
|
|
17873
17982
|
|
|
@@ -17879,43 +17988,49 @@ declare const JudgeClaimReportSchema: ZodDiscriminatedUnion<"status", [ZodObject
|
|
|
17879
17988
|
kind: ZodLiteral<"tool-not-invoked">;
|
|
17880
17989
|
tool: ZodString;
|
|
17881
17990
|
}, "strip", ZodTypeAny$1, {
|
|
17882
|
-
tool: string;
|
|
17883
17991
|
kind: "tool-not-invoked";
|
|
17884
|
-
}, {
|
|
17885
17992
|
tool: string;
|
|
17993
|
+
}, {
|
|
17886
17994
|
kind: "tool-not-invoked";
|
|
17995
|
+
tool: string;
|
|
17887
17996
|
}>, ZodObject<{
|
|
17888
17997
|
kind: ZodLiteral<"datum-absent">;
|
|
17889
17998
|
datum: ZodString;
|
|
17890
17999
|
reference: ZodOptional$1<ZodString>;
|
|
18000
|
+
|
|
18001
|
+
direction: ZodOptional$1<ZodEnum$1<["commission", "omission"]>>;
|
|
17891
18002
|
}, "strip", ZodTypeAny$1, {
|
|
17892
18003
|
kind: "datum-absent";
|
|
17893
18004
|
datum: string;
|
|
17894
18005
|
reference?: string | undefined;
|
|
18006
|
+
direction?: "commission" | "omission" | undefined;
|
|
17895
18007
|
}, {
|
|
17896
18008
|
kind: "datum-absent";
|
|
17897
18009
|
datum: string;
|
|
17898
18010
|
reference?: string | undefined;
|
|
18011
|
+
direction?: "commission" | "omission" | undefined;
|
|
17899
18012
|
}>]>, "many">;
|
|
17900
18013
|
}, "strip", ZodTypeAny$1, {
|
|
17901
18014
|
status: "emitted";
|
|
17902
18015
|
assertions: ({
|
|
17903
|
-
tool: string;
|
|
17904
18016
|
kind: "tool-not-invoked";
|
|
18017
|
+
tool: string;
|
|
17905
18018
|
} | {
|
|
17906
18019
|
kind: "datum-absent";
|
|
17907
18020
|
datum: string;
|
|
17908
18021
|
reference?: string | undefined;
|
|
18022
|
+
direction?: "commission" | "omission" | undefined;
|
|
17909
18023
|
})[];
|
|
17910
18024
|
}, {
|
|
17911
18025
|
status: "emitted";
|
|
17912
18026
|
assertions: ({
|
|
17913
|
-
tool: string;
|
|
17914
18027
|
kind: "tool-not-invoked";
|
|
18028
|
+
tool: string;
|
|
17915
18029
|
} | {
|
|
17916
18030
|
kind: "datum-absent";
|
|
17917
18031
|
datum: string;
|
|
17918
18032
|
reference?: string | undefined;
|
|
18033
|
+
direction?: "commission" | "omission" | undefined;
|
|
17919
18034
|
})[];
|
|
17920
18035
|
}>, ZodObject<{
|
|
17921
18036
|
|