@holonograph/client 0.2.0 → 0.4.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +326 -102
  2. package/dist/index.js +721 -13
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1894,10 +1894,10 @@ declare const SurfaceContractSchema: ZodObject<{
1894
1894
  } | undefined;
1895
1895
  }>>;
1896
1896
  }, "strip", ZodTypeAny$1, {
1897
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1897
1898
  enabled: boolean;
1898
1899
  passThreshold: number;
1899
1900
  failureAction: "retry" | "flag" | "block";
1900
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1901
1901
  retry?: {
1902
1902
  maxAttempts: number;
1903
1903
  augmentPrompt?: string | undefined;
@@ -1919,6 +1919,7 @@ declare const SurfaceContractSchema: ZodObject<{
1919
1919
  }, {
1920
1920
  passThreshold: number;
1921
1921
  failureAction: "retry" | "flag" | "block";
1922
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
1922
1923
  retry?: {
1923
1924
  maxAttempts: number;
1924
1925
  augmentPrompt?: string | undefined;
@@ -1938,12 +1939,11 @@ declare const SurfaceContractSchema: ZodObject<{
1938
1939
  } | undefined;
1939
1940
  } | undefined;
1940
1941
  enabled?: boolean | undefined;
1941
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
1942
1942
  }>, {
1943
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1943
1944
  enabled: boolean;
1944
1945
  passThreshold: number;
1945
1946
  failureAction: "retry" | "flag" | "block";
1946
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1947
1947
  retry?: {
1948
1948
  maxAttempts: number;
1949
1949
  augmentPrompt?: string | undefined;
@@ -1965,6 +1965,7 @@ declare const SurfaceContractSchema: ZodObject<{
1965
1965
  }, {
1966
1966
  passThreshold: number;
1967
1967
  failureAction: "retry" | "flag" | "block";
1968
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
1968
1969
  retry?: {
1969
1970
  maxAttempts: number;
1970
1971
  augmentPrompt?: string | undefined;
@@ -1984,12 +1985,11 @@ declare const SurfaceContractSchema: ZodObject<{
1984
1985
  } | undefined;
1985
1986
  } | undefined;
1986
1987
  enabled?: boolean | undefined;
1987
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
1988
1988
  }>, {
1989
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1989
1990
  enabled: boolean;
1990
1991
  passThreshold: number;
1991
1992
  failureAction: "retry" | "flag" | "block";
1992
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
1993
1993
  retry?: {
1994
1994
  maxAttempts: number;
1995
1995
  augmentPrompt?: string | undefined;
@@ -2011,6 +2011,7 @@ declare const SurfaceContractSchema: ZodObject<{
2011
2011
  }, {
2012
2012
  passThreshold: number;
2013
2013
  failureAction: "retry" | "flag" | "block";
2014
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2014
2015
  retry?: {
2015
2016
  maxAttempts: number;
2016
2017
  augmentPrompt?: string | undefined;
@@ -2030,7 +2031,6 @@ declare const SurfaceContractSchema: ZodObject<{
2030
2031
  } | undefined;
2031
2032
  } | undefined;
2032
2033
  enabled?: boolean | undefined;
2033
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2034
2034
  }>>;
2035
2035
 
2036
2036
  valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
@@ -2050,10 +2050,10 @@ declare const SurfaceContractSchema: ZodObject<{
2050
2050
  passThreshold?: number | undefined;
2051
2051
  rubricRef?: string | undefined;
2052
2052
  gatePolicy?: {
2053
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2053
2054
  enabled: boolean;
2054
2055
  passThreshold: number;
2055
2056
  failureAction: "retry" | "flag" | "block";
2056
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2057
2057
  retry?: {
2058
2058
  maxAttempts: number;
2059
2059
  augmentPrompt?: string | undefined;
@@ -2086,6 +2086,7 @@ declare const SurfaceContractSchema: ZodObject<{
2086
2086
  gatePolicy?: {
2087
2087
  passThreshold: number;
2088
2088
  failureAction: "retry" | "flag" | "block";
2089
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2089
2090
  retry?: {
2090
2091
  maxAttempts: number;
2091
2092
  augmentPrompt?: string | undefined;
@@ -2105,7 +2106,6 @@ declare const SurfaceContractSchema: ZodObject<{
2105
2106
  } | undefined;
2106
2107
  } | undefined;
2107
2108
  enabled?: boolean | undefined;
2108
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2109
2109
  } | undefined;
2110
2110
  valueDomain?: {
2111
2111
  values: string[];
@@ -2250,10 +2250,10 @@ declare const SurfaceContractSchema: ZodObject<{
2250
2250
  passThreshold?: number | undefined;
2251
2251
  rubricRef?: string | undefined;
2252
2252
  gatePolicy?: {
2253
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2253
2254
  enabled: boolean;
2254
2255
  passThreshold: number;
2255
2256
  failureAction: "retry" | "flag" | "block";
2256
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2257
2257
  retry?: {
2258
2258
  maxAttempts: number;
2259
2259
  augmentPrompt?: string | undefined;
@@ -2322,6 +2322,7 @@ declare const SurfaceContractSchema: ZodObject<{
2322
2322
  gatePolicy?: {
2323
2323
  passThreshold: number;
2324
2324
  failureAction: "retry" | "flag" | "block";
2325
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2325
2326
  retry?: {
2326
2327
  maxAttempts: number;
2327
2328
  augmentPrompt?: string | undefined;
@@ -2341,7 +2342,6 @@ declare const SurfaceContractSchema: ZodObject<{
2341
2342
  } | undefined;
2342
2343
  } | undefined;
2343
2344
  enabled?: boolean | undefined;
2344
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2345
2345
  } | undefined;
2346
2346
  valueDomain?: {
2347
2347
  values: string[];
@@ -2513,10 +2513,10 @@ declare const SurfaceContractSchema: ZodObject<{
2513
2513
  } | undefined;
2514
2514
  }>>;
2515
2515
  }, "strip", ZodTypeAny$1, {
2516
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2516
2517
  enabled: boolean;
2517
2518
  passThreshold: number;
2518
2519
  failureAction: "retry" | "flag" | "block";
2519
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2520
2520
  retry?: {
2521
2521
  maxAttempts: number;
2522
2522
  augmentPrompt?: string | undefined;
@@ -2538,6 +2538,7 @@ declare const SurfaceContractSchema: ZodObject<{
2538
2538
  }, {
2539
2539
  passThreshold: number;
2540
2540
  failureAction: "retry" | "flag" | "block";
2541
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2541
2542
  retry?: {
2542
2543
  maxAttempts: number;
2543
2544
  augmentPrompt?: string | undefined;
@@ -2557,12 +2558,11 @@ declare const SurfaceContractSchema: ZodObject<{
2557
2558
  } | undefined;
2558
2559
  } | undefined;
2559
2560
  enabled?: boolean | undefined;
2560
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2561
2561
  }>, {
2562
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2562
2563
  enabled: boolean;
2563
2564
  passThreshold: number;
2564
2565
  failureAction: "retry" | "flag" | "block";
2565
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2566
2566
  retry?: {
2567
2567
  maxAttempts: number;
2568
2568
  augmentPrompt?: string | undefined;
@@ -2584,6 +2584,7 @@ declare const SurfaceContractSchema: ZodObject<{
2584
2584
  }, {
2585
2585
  passThreshold: number;
2586
2586
  failureAction: "retry" | "flag" | "block";
2587
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2587
2588
  retry?: {
2588
2589
  maxAttempts: number;
2589
2590
  augmentPrompt?: string | undefined;
@@ -2603,12 +2604,11 @@ declare const SurfaceContractSchema: ZodObject<{
2603
2604
  } | undefined;
2604
2605
  } | undefined;
2605
2606
  enabled?: boolean | undefined;
2606
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2607
2607
  }>, {
2608
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2608
2609
  enabled: boolean;
2609
2610
  passThreshold: number;
2610
2611
  failureAction: "retry" | "flag" | "block";
2611
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2612
2612
  retry?: {
2613
2613
  maxAttempts: number;
2614
2614
  augmentPrompt?: string | undefined;
@@ -2630,6 +2630,7 @@ declare const SurfaceContractSchema: ZodObject<{
2630
2630
  }, {
2631
2631
  passThreshold: number;
2632
2632
  failureAction: "retry" | "flag" | "block";
2633
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2633
2634
  retry?: {
2634
2635
  maxAttempts: number;
2635
2636
  augmentPrompt?: string | undefined;
@@ -2649,7 +2650,6 @@ declare const SurfaceContractSchema: ZodObject<{
2649
2650
  } | undefined;
2650
2651
  } | undefined;
2651
2652
  enabled?: boolean | undefined;
2652
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2653
2653
  }>>;
2654
2654
 
2655
2655
  valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
@@ -2669,10 +2669,10 @@ declare const SurfaceContractSchema: ZodObject<{
2669
2669
  passThreshold?: number | undefined;
2670
2670
  rubricRef?: string | undefined;
2671
2671
  gatePolicy?: {
2672
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2672
2673
  enabled: boolean;
2673
2674
  passThreshold: number;
2674
2675
  failureAction: "retry" | "flag" | "block";
2675
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2676
2676
  retry?: {
2677
2677
  maxAttempts: number;
2678
2678
  augmentPrompt?: string | undefined;
@@ -2705,6 +2705,7 @@ declare const SurfaceContractSchema: ZodObject<{
2705
2705
  gatePolicy?: {
2706
2706
  passThreshold: number;
2707
2707
  failureAction: "retry" | "flag" | "block";
2708
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2708
2709
  retry?: {
2709
2710
  maxAttempts: number;
2710
2711
  augmentPrompt?: string | undefined;
@@ -2724,7 +2725,6 @@ declare const SurfaceContractSchema: ZodObject<{
2724
2725
  } | undefined;
2725
2726
  } | undefined;
2726
2727
  enabled?: boolean | undefined;
2727
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2728
2728
  } | undefined;
2729
2729
  valueDomain?: {
2730
2730
  values: string[];
@@ -2742,10 +2742,10 @@ declare const SurfaceContractSchema: ZodObject<{
2742
2742
  passThreshold?: number | undefined;
2743
2743
  rubricRef?: string | undefined;
2744
2744
  gatePolicy?: {
2745
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2745
2746
  enabled: boolean;
2746
2747
  passThreshold: number;
2747
2748
  failureAction: "retry" | "flag" | "block";
2748
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2749
2749
  retry?: {
2750
2750
  maxAttempts: number;
2751
2751
  augmentPrompt?: string | undefined;
@@ -2783,6 +2783,7 @@ declare const SurfaceContractSchema: ZodObject<{
2783
2783
  gatePolicy?: {
2784
2784
  passThreshold: number;
2785
2785
  failureAction: "retry" | "flag" | "block";
2786
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2786
2787
  retry?: {
2787
2788
  maxAttempts: number;
2788
2789
  augmentPrompt?: string | undefined;
@@ -2802,7 +2803,6 @@ declare const SurfaceContractSchema: ZodObject<{
2802
2803
  } | undefined;
2803
2804
  } | undefined;
2804
2805
  enabled?: boolean | undefined;
2805
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2806
2806
  } | undefined;
2807
2807
  valueDomain?: {
2808
2808
  values: string[];
@@ -2903,10 +2903,10 @@ declare const SurfaceContractSchema: ZodObject<{
2903
2903
  } | undefined;
2904
2904
  }>>;
2905
2905
  }, "strip", ZodTypeAny$1, {
2906
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2906
2907
  enabled: boolean;
2907
2908
  passThreshold: number;
2908
2909
  failureAction: "retry" | "flag" | "block";
2909
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2910
2910
  retry?: {
2911
2911
  maxAttempts: number;
2912
2912
  augmentPrompt?: string | undefined;
@@ -2928,6 +2928,7 @@ declare const SurfaceContractSchema: ZodObject<{
2928
2928
  }, {
2929
2929
  passThreshold: number;
2930
2930
  failureAction: "retry" | "flag" | "block";
2931
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2931
2932
  retry?: {
2932
2933
  maxAttempts: number;
2933
2934
  augmentPrompt?: string | undefined;
@@ -2947,12 +2948,11 @@ declare const SurfaceContractSchema: ZodObject<{
2947
2948
  } | undefined;
2948
2949
  } | undefined;
2949
2950
  enabled?: boolean | undefined;
2950
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2951
2951
  }>, {
2952
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2952
2953
  enabled: boolean;
2953
2954
  passThreshold: number;
2954
2955
  failureAction: "retry" | "flag" | "block";
2955
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2956
2956
  retry?: {
2957
2957
  maxAttempts: number;
2958
2958
  augmentPrompt?: string | undefined;
@@ -2974,6 +2974,7 @@ declare const SurfaceContractSchema: ZodObject<{
2974
2974
  }, {
2975
2975
  passThreshold: number;
2976
2976
  failureAction: "retry" | "flag" | "block";
2977
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2977
2978
  retry?: {
2978
2979
  maxAttempts: number;
2979
2980
  augmentPrompt?: string | undefined;
@@ -2993,12 +2994,11 @@ declare const SurfaceContractSchema: ZodObject<{
2993
2994
  } | undefined;
2994
2995
  } | undefined;
2995
2996
  enabled?: boolean | undefined;
2996
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
2997
2997
  }>, {
2998
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
2998
2999
  enabled: boolean;
2999
3000
  passThreshold: number;
3000
3001
  failureAction: "retry" | "flag" | "block";
3001
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3002
3002
  retry?: {
3003
3003
  maxAttempts: number;
3004
3004
  augmentPrompt?: string | undefined;
@@ -3020,6 +3020,7 @@ declare const SurfaceContractSchema: ZodObject<{
3020
3020
  }, {
3021
3021
  passThreshold: number;
3022
3022
  failureAction: "retry" | "flag" | "block";
3023
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3023
3024
  retry?: {
3024
3025
  maxAttempts: number;
3025
3026
  augmentPrompt?: string | undefined;
@@ -3039,7 +3040,6 @@ declare const SurfaceContractSchema: ZodObject<{
3039
3040
  } | undefined;
3040
3041
  } | undefined;
3041
3042
  enabled?: boolean | undefined;
3042
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3043
3043
  }>>;
3044
3044
 
3045
3045
  valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
@@ -3059,10 +3059,10 @@ declare const SurfaceContractSchema: ZodObject<{
3059
3059
  passThreshold?: number | undefined;
3060
3060
  rubricRef?: string | undefined;
3061
3061
  gatePolicy?: {
3062
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3062
3063
  enabled: boolean;
3063
3064
  passThreshold: number;
3064
3065
  failureAction: "retry" | "flag" | "block";
3065
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3066
3066
  retry?: {
3067
3067
  maxAttempts: number;
3068
3068
  augmentPrompt?: string | undefined;
@@ -3095,6 +3095,7 @@ declare const SurfaceContractSchema: ZodObject<{
3095
3095
  gatePolicy?: {
3096
3096
  passThreshold: number;
3097
3097
  failureAction: "retry" | "flag" | "block";
3098
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3098
3099
  retry?: {
3099
3100
  maxAttempts: number;
3100
3101
  augmentPrompt?: string | undefined;
@@ -3114,7 +3115,6 @@ declare const SurfaceContractSchema: ZodObject<{
3114
3115
  } | undefined;
3115
3116
  } | undefined;
3116
3117
  enabled?: boolean | undefined;
3117
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3118
3118
  } | undefined;
3119
3119
  valueDomain?: {
3120
3120
  values: string[];
@@ -3132,10 +3132,10 @@ declare const SurfaceContractSchema: ZodObject<{
3132
3132
  passThreshold?: number | undefined;
3133
3133
  rubricRef?: string | undefined;
3134
3134
  gatePolicy?: {
3135
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3135
3136
  enabled: boolean;
3136
3137
  passThreshold: number;
3137
3138
  failureAction: "retry" | "flag" | "block";
3138
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3139
3139
  retry?: {
3140
3140
  maxAttempts: number;
3141
3141
  augmentPrompt?: string | undefined;
@@ -3173,6 +3173,7 @@ declare const SurfaceContractSchema: ZodObject<{
3173
3173
  gatePolicy?: {
3174
3174
  passThreshold: number;
3175
3175
  failureAction: "retry" | "flag" | "block";
3176
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3176
3177
  retry?: {
3177
3178
  maxAttempts: number;
3178
3179
  augmentPrompt?: string | undefined;
@@ -3192,7 +3193,6 @@ declare const SurfaceContractSchema: ZodObject<{
3192
3193
  } | undefined;
3193
3194
  } | undefined;
3194
3195
  enabled?: boolean | undefined;
3195
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3196
3196
  } | undefined;
3197
3197
  valueDomain?: {
3198
3198
  values: string[];
@@ -3293,10 +3293,10 @@ declare const SurfaceContractSchema: ZodObject<{
3293
3293
  } | undefined;
3294
3294
  }>>;
3295
3295
  }, "strip", ZodTypeAny$1, {
3296
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3296
3297
  enabled: boolean;
3297
3298
  passThreshold: number;
3298
3299
  failureAction: "retry" | "flag" | "block";
3299
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3300
3300
  retry?: {
3301
3301
  maxAttempts: number;
3302
3302
  augmentPrompt?: string | undefined;
@@ -3318,6 +3318,7 @@ declare const SurfaceContractSchema: ZodObject<{
3318
3318
  }, {
3319
3319
  passThreshold: number;
3320
3320
  failureAction: "retry" | "flag" | "block";
3321
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3321
3322
  retry?: {
3322
3323
  maxAttempts: number;
3323
3324
  augmentPrompt?: string | undefined;
@@ -3337,12 +3338,11 @@ declare const SurfaceContractSchema: ZodObject<{
3337
3338
  } | undefined;
3338
3339
  } | undefined;
3339
3340
  enabled?: boolean | undefined;
3340
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3341
3341
  }>, {
3342
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3342
3343
  enabled: boolean;
3343
3344
  passThreshold: number;
3344
3345
  failureAction: "retry" | "flag" | "block";
3345
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3346
3346
  retry?: {
3347
3347
  maxAttempts: number;
3348
3348
  augmentPrompt?: string | undefined;
@@ -3364,6 +3364,7 @@ declare const SurfaceContractSchema: ZodObject<{
3364
3364
  }, {
3365
3365
  passThreshold: number;
3366
3366
  failureAction: "retry" | "flag" | "block";
3367
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3367
3368
  retry?: {
3368
3369
  maxAttempts: number;
3369
3370
  augmentPrompt?: string | undefined;
@@ -3383,12 +3384,11 @@ declare const SurfaceContractSchema: ZodObject<{
3383
3384
  } | undefined;
3384
3385
  } | undefined;
3385
3386
  enabled?: boolean | undefined;
3386
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3387
3387
  }>, {
3388
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3388
3389
  enabled: boolean;
3389
3390
  passThreshold: number;
3390
3391
  failureAction: "retry" | "flag" | "block";
3391
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3392
3392
  retry?: {
3393
3393
  maxAttempts: number;
3394
3394
  augmentPrompt?: string | undefined;
@@ -3410,6 +3410,7 @@ declare const SurfaceContractSchema: ZodObject<{
3410
3410
  }, {
3411
3411
  passThreshold: number;
3412
3412
  failureAction: "retry" | "flag" | "block";
3413
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3413
3414
  retry?: {
3414
3415
  maxAttempts: number;
3415
3416
  augmentPrompt?: string | undefined;
@@ -3429,7 +3430,6 @@ declare const SurfaceContractSchema: ZodObject<{
3429
3430
  } | undefined;
3430
3431
  } | undefined;
3431
3432
  enabled?: boolean | undefined;
3432
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3433
3433
  }>>;
3434
3434
 
3435
3435
  valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
@@ -3449,10 +3449,10 @@ declare const SurfaceContractSchema: ZodObject<{
3449
3449
  passThreshold?: number | undefined;
3450
3450
  rubricRef?: string | undefined;
3451
3451
  gatePolicy?: {
3452
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3452
3453
  enabled: boolean;
3453
3454
  passThreshold: number;
3454
3455
  failureAction: "retry" | "flag" | "block";
3455
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3456
3456
  retry?: {
3457
3457
  maxAttempts: number;
3458
3458
  augmentPrompt?: string | undefined;
@@ -3485,6 +3485,7 @@ declare const SurfaceContractSchema: ZodObject<{
3485
3485
  gatePolicy?: {
3486
3486
  passThreshold: number;
3487
3487
  failureAction: "retry" | "flag" | "block";
3488
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3488
3489
  retry?: {
3489
3490
  maxAttempts: number;
3490
3491
  augmentPrompt?: string | undefined;
@@ -3504,7 +3505,6 @@ declare const SurfaceContractSchema: ZodObject<{
3504
3505
  } | undefined;
3505
3506
  } | undefined;
3506
3507
  enabled?: boolean | undefined;
3507
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3508
3508
  } | undefined;
3509
3509
  valueDomain?: {
3510
3510
  values: string[];
@@ -3522,10 +3522,10 @@ declare const SurfaceContractSchema: ZodObject<{
3522
3522
  passThreshold?: number | undefined;
3523
3523
  rubricRef?: string | undefined;
3524
3524
  gatePolicy?: {
3525
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3525
3526
  enabled: boolean;
3526
3527
  passThreshold: number;
3527
3528
  failureAction: "retry" | "flag" | "block";
3528
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3529
3529
  retry?: {
3530
3530
  maxAttempts: number;
3531
3531
  augmentPrompt?: string | undefined;
@@ -3563,6 +3563,7 @@ declare const SurfaceContractSchema: ZodObject<{
3563
3563
  gatePolicy?: {
3564
3564
  passThreshold: number;
3565
3565
  failureAction: "retry" | "flag" | "block";
3566
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3566
3567
  retry?: {
3567
3568
  maxAttempts: number;
3568
3569
  augmentPrompt?: string | undefined;
@@ -3582,7 +3583,6 @@ declare const SurfaceContractSchema: ZodObject<{
3582
3583
  } | undefined;
3583
3584
  } | undefined;
3584
3585
  enabled?: boolean | undefined;
3585
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3586
3586
  } | undefined;
3587
3587
  valueDomain?: {
3588
3588
  values: string[];
@@ -3683,10 +3683,10 @@ declare const SurfaceContractSchema: ZodObject<{
3683
3683
  } | undefined;
3684
3684
  }>>;
3685
3685
  }, "strip", ZodTypeAny$1, {
3686
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3686
3687
  enabled: boolean;
3687
3688
  passThreshold: number;
3688
3689
  failureAction: "retry" | "flag" | "block";
3689
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3690
3690
  retry?: {
3691
3691
  maxAttempts: number;
3692
3692
  augmentPrompt?: string | undefined;
@@ -3708,6 +3708,7 @@ declare const SurfaceContractSchema: ZodObject<{
3708
3708
  }, {
3709
3709
  passThreshold: number;
3710
3710
  failureAction: "retry" | "flag" | "block";
3711
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3711
3712
  retry?: {
3712
3713
  maxAttempts: number;
3713
3714
  augmentPrompt?: string | undefined;
@@ -3727,12 +3728,11 @@ declare const SurfaceContractSchema: ZodObject<{
3727
3728
  } | undefined;
3728
3729
  } | undefined;
3729
3730
  enabled?: boolean | undefined;
3730
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3731
3731
  }>, {
3732
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3732
3733
  enabled: boolean;
3733
3734
  passThreshold: number;
3734
3735
  failureAction: "retry" | "flag" | "block";
3735
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3736
3736
  retry?: {
3737
3737
  maxAttempts: number;
3738
3738
  augmentPrompt?: string | undefined;
@@ -3754,6 +3754,7 @@ declare const SurfaceContractSchema: ZodObject<{
3754
3754
  }, {
3755
3755
  passThreshold: number;
3756
3756
  failureAction: "retry" | "flag" | "block";
3757
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3757
3758
  retry?: {
3758
3759
  maxAttempts: number;
3759
3760
  augmentPrompt?: string | undefined;
@@ -3773,12 +3774,11 @@ declare const SurfaceContractSchema: ZodObject<{
3773
3774
  } | undefined;
3774
3775
  } | undefined;
3775
3776
  enabled?: boolean | undefined;
3776
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3777
3777
  }>, {
3778
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3778
3779
  enabled: boolean;
3779
3780
  passThreshold: number;
3780
3781
  failureAction: "retry" | "flag" | "block";
3781
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3782
3782
  retry?: {
3783
3783
  maxAttempts: number;
3784
3784
  augmentPrompt?: string | undefined;
@@ -3800,6 +3800,7 @@ declare const SurfaceContractSchema: ZodObject<{
3800
3800
  }, {
3801
3801
  passThreshold: number;
3802
3802
  failureAction: "retry" | "flag" | "block";
3803
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3803
3804
  retry?: {
3804
3805
  maxAttempts: number;
3805
3806
  augmentPrompt?: string | undefined;
@@ -3819,7 +3820,6 @@ declare const SurfaceContractSchema: ZodObject<{
3819
3820
  } | undefined;
3820
3821
  } | undefined;
3821
3822
  enabled?: boolean | undefined;
3822
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3823
3823
  }>>;
3824
3824
 
3825
3825
  valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
@@ -3839,10 +3839,10 @@ declare const SurfaceContractSchema: ZodObject<{
3839
3839
  passThreshold?: number | undefined;
3840
3840
  rubricRef?: string | undefined;
3841
3841
  gatePolicy?: {
3842
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3842
3843
  enabled: boolean;
3843
3844
  passThreshold: number;
3844
3845
  failureAction: "retry" | "flag" | "block";
3845
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3846
3846
  retry?: {
3847
3847
  maxAttempts: number;
3848
3848
  augmentPrompt?: string | undefined;
@@ -3875,6 +3875,7 @@ declare const SurfaceContractSchema: ZodObject<{
3875
3875
  gatePolicy?: {
3876
3876
  passThreshold: number;
3877
3877
  failureAction: "retry" | "flag" | "block";
3878
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3878
3879
  retry?: {
3879
3880
  maxAttempts: number;
3880
3881
  augmentPrompt?: string | undefined;
@@ -3894,7 +3895,6 @@ declare const SurfaceContractSchema: ZodObject<{
3894
3895
  } | undefined;
3895
3896
  } | undefined;
3896
3897
  enabled?: boolean | undefined;
3897
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3898
3898
  } | undefined;
3899
3899
  valueDomain?: {
3900
3900
  values: string[];
@@ -3912,10 +3912,10 @@ declare const SurfaceContractSchema: ZodObject<{
3912
3912
  passThreshold?: number | undefined;
3913
3913
  rubricRef?: string | undefined;
3914
3914
  gatePolicy?: {
3915
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3915
3916
  enabled: boolean;
3916
3917
  passThreshold: number;
3917
3918
  failureAction: "retry" | "flag" | "block";
3918
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
3919
3919
  retry?: {
3920
3920
  maxAttempts: number;
3921
3921
  augmentPrompt?: string | undefined;
@@ -3953,6 +3953,7 @@ declare const SurfaceContractSchema: ZodObject<{
3953
3953
  gatePolicy?: {
3954
3954
  passThreshold: number;
3955
3955
  failureAction: "retry" | "flag" | "block";
3956
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3956
3957
  retry?: {
3957
3958
  maxAttempts: number;
3958
3959
  augmentPrompt?: string | undefined;
@@ -3972,7 +3973,6 @@ declare const SurfaceContractSchema: ZodObject<{
3972
3973
  } | undefined;
3973
3974
  } | undefined;
3974
3975
  enabled?: boolean | undefined;
3975
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
3976
3976
  } | undefined;
3977
3977
  valueDomain?: {
3978
3978
  values: string[];
@@ -4073,10 +4073,10 @@ declare const SurfaceContractSchema: ZodObject<{
4073
4073
  } | undefined;
4074
4074
  }>>;
4075
4075
  }, "strip", ZodTypeAny$1, {
4076
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4076
4077
  enabled: boolean;
4077
4078
  passThreshold: number;
4078
4079
  failureAction: "retry" | "flag" | "block";
4079
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4080
4080
  retry?: {
4081
4081
  maxAttempts: number;
4082
4082
  augmentPrompt?: string | undefined;
@@ -4098,6 +4098,7 @@ declare const SurfaceContractSchema: ZodObject<{
4098
4098
  }, {
4099
4099
  passThreshold: number;
4100
4100
  failureAction: "retry" | "flag" | "block";
4101
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4101
4102
  retry?: {
4102
4103
  maxAttempts: number;
4103
4104
  augmentPrompt?: string | undefined;
@@ -4117,12 +4118,11 @@ declare const SurfaceContractSchema: ZodObject<{
4117
4118
  } | undefined;
4118
4119
  } | undefined;
4119
4120
  enabled?: boolean | undefined;
4120
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4121
4121
  }>, {
4122
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4122
4123
  enabled: boolean;
4123
4124
  passThreshold: number;
4124
4125
  failureAction: "retry" | "flag" | "block";
4125
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4126
4126
  retry?: {
4127
4127
  maxAttempts: number;
4128
4128
  augmentPrompt?: string | undefined;
@@ -4144,6 +4144,7 @@ declare const SurfaceContractSchema: ZodObject<{
4144
4144
  }, {
4145
4145
  passThreshold: number;
4146
4146
  failureAction: "retry" | "flag" | "block";
4147
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4147
4148
  retry?: {
4148
4149
  maxAttempts: number;
4149
4150
  augmentPrompt?: string | undefined;
@@ -4163,12 +4164,11 @@ declare const SurfaceContractSchema: ZodObject<{
4163
4164
  } | undefined;
4164
4165
  } | undefined;
4165
4166
  enabled?: boolean | undefined;
4166
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4167
4167
  }>, {
4168
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4168
4169
  enabled: boolean;
4169
4170
  passThreshold: number;
4170
4171
  failureAction: "retry" | "flag" | "block";
4171
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4172
4172
  retry?: {
4173
4173
  maxAttempts: number;
4174
4174
  augmentPrompt?: string | undefined;
@@ -4190,6 +4190,7 @@ declare const SurfaceContractSchema: ZodObject<{
4190
4190
  }, {
4191
4191
  passThreshold: number;
4192
4192
  failureAction: "retry" | "flag" | "block";
4193
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4193
4194
  retry?: {
4194
4195
  maxAttempts: number;
4195
4196
  augmentPrompt?: string | undefined;
@@ -4209,7 +4210,6 @@ declare const SurfaceContractSchema: ZodObject<{
4209
4210
  } | undefined;
4210
4211
  } | undefined;
4211
4212
  enabled?: boolean | undefined;
4212
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4213
4213
  }>>;
4214
4214
 
4215
4215
  valueDomain: ZodOptional$1<ZodDiscriminatedUnion<"kind", [ZodObject<{
@@ -4229,10 +4229,10 @@ declare const SurfaceContractSchema: ZodObject<{
4229
4229
  passThreshold?: number | undefined;
4230
4230
  rubricRef?: string | undefined;
4231
4231
  gatePolicy?: {
4232
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4232
4233
  enabled: boolean;
4233
4234
  passThreshold: number;
4234
4235
  failureAction: "retry" | "flag" | "block";
4235
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4236
4236
  retry?: {
4237
4237
  maxAttempts: number;
4238
4238
  augmentPrompt?: string | undefined;
@@ -4265,6 +4265,7 @@ declare const SurfaceContractSchema: ZodObject<{
4265
4265
  gatePolicy?: {
4266
4266
  passThreshold: number;
4267
4267
  failureAction: "retry" | "flag" | "block";
4268
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4268
4269
  retry?: {
4269
4270
  maxAttempts: number;
4270
4271
  augmentPrompt?: string | undefined;
@@ -4284,7 +4285,6 @@ declare const SurfaceContractSchema: ZodObject<{
4284
4285
  } | undefined;
4285
4286
  } | undefined;
4286
4287
  enabled?: boolean | undefined;
4287
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4288
4288
  } | undefined;
4289
4289
  valueDomain?: {
4290
4290
  values: string[];
@@ -4302,10 +4302,10 @@ declare const SurfaceContractSchema: ZodObject<{
4302
4302
  passThreshold?: number | undefined;
4303
4303
  rubricRef?: string | undefined;
4304
4304
  gatePolicy?: {
4305
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4305
4306
  enabled: boolean;
4306
4307
  passThreshold: number;
4307
4308
  failureAction: "retry" | "flag" | "block";
4308
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4309
4309
  retry?: {
4310
4310
  maxAttempts: number;
4311
4311
  augmentPrompt?: string | undefined;
@@ -4343,6 +4343,7 @@ declare const SurfaceContractSchema: ZodObject<{
4343
4343
  gatePolicy?: {
4344
4344
  passThreshold: number;
4345
4345
  failureAction: "retry" | "flag" | "block";
4346
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4346
4347
  retry?: {
4347
4348
  maxAttempts: number;
4348
4349
  augmentPrompt?: string | undefined;
@@ -4362,7 +4363,6 @@ declare const SurfaceContractSchema: ZodObject<{
4362
4363
  } | undefined;
4363
4364
  } | undefined;
4364
4365
  enabled?: boolean | undefined;
4365
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4366
4366
  } | undefined;
4367
4367
  valueDomain?: {
4368
4368
  values: string[];
@@ -4382,10 +4382,10 @@ declare const SurfaceContractSchema: ZodObject<{
4382
4382
  passThreshold?: number | undefined;
4383
4383
  rubricRef?: string | undefined;
4384
4384
  gatePolicy?: {
4385
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4385
4386
  enabled: boolean;
4386
4387
  passThreshold: number;
4387
4388
  failureAction: "retry" | "flag" | "block";
4388
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4389
4389
  retry?: {
4390
4390
  maxAttempts: number;
4391
4391
  augmentPrompt?: string | undefined;
@@ -4422,10 +4422,10 @@ declare const SurfaceContractSchema: ZodObject<{
4422
4422
  passThreshold?: number | undefined;
4423
4423
  rubricRef?: string | undefined;
4424
4424
  gatePolicy?: {
4425
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4425
4426
  enabled: boolean;
4426
4427
  passThreshold: number;
4427
4428
  failureAction: "retry" | "flag" | "block";
4428
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4429
4429
  retry?: {
4430
4430
  maxAttempts: number;
4431
4431
  augmentPrompt?: string | undefined;
@@ -4462,10 +4462,10 @@ declare const SurfaceContractSchema: ZodObject<{
4462
4462
  passThreshold?: number | undefined;
4463
4463
  rubricRef?: string | undefined;
4464
4464
  gatePolicy?: {
4465
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4465
4466
  enabled: boolean;
4466
4467
  passThreshold: number;
4467
4468
  failureAction: "retry" | "flag" | "block";
4468
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4469
4469
  retry?: {
4470
4470
  maxAttempts: number;
4471
4471
  augmentPrompt?: string | undefined;
@@ -4502,10 +4502,10 @@ declare const SurfaceContractSchema: ZodObject<{
4502
4502
  passThreshold?: number | undefined;
4503
4503
  rubricRef?: string | undefined;
4504
4504
  gatePolicy?: {
4505
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4505
4506
  enabled: boolean;
4506
4507
  passThreshold: number;
4507
4508
  failureAction: "retry" | "flag" | "block";
4508
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4509
4509
  retry?: {
4510
4510
  maxAttempts: number;
4511
4511
  augmentPrompt?: string | undefined;
@@ -4542,10 +4542,10 @@ declare const SurfaceContractSchema: ZodObject<{
4542
4542
  passThreshold?: number | undefined;
4543
4543
  rubricRef?: string | undefined;
4544
4544
  gatePolicy?: {
4545
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4545
4546
  enabled: boolean;
4546
4547
  passThreshold: number;
4547
4548
  failureAction: "retry" | "flag" | "block";
4548
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4549
4549
  retry?: {
4550
4550
  maxAttempts: number;
4551
4551
  augmentPrompt?: string | undefined;
@@ -4585,6 +4585,7 @@ declare const SurfaceContractSchema: ZodObject<{
4585
4585
  gatePolicy?: {
4586
4586
  passThreshold: number;
4587
4587
  failureAction: "retry" | "flag" | "block";
4588
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4588
4589
  retry?: {
4589
4590
  maxAttempts: number;
4590
4591
  augmentPrompt?: string | undefined;
@@ -4604,7 +4605,6 @@ declare const SurfaceContractSchema: ZodObject<{
4604
4605
  } | undefined;
4605
4606
  } | undefined;
4606
4607
  enabled?: boolean | undefined;
4607
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4608
4608
  } | undefined;
4609
4609
  valueDomain?: {
4610
4610
  values: string[];
@@ -4625,6 +4625,7 @@ declare const SurfaceContractSchema: ZodObject<{
4625
4625
  gatePolicy?: {
4626
4626
  passThreshold: number;
4627
4627
  failureAction: "retry" | "flag" | "block";
4628
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4628
4629
  retry?: {
4629
4630
  maxAttempts: number;
4630
4631
  augmentPrompt?: string | undefined;
@@ -4644,7 +4645,6 @@ declare const SurfaceContractSchema: ZodObject<{
4644
4645
  } | undefined;
4645
4646
  } | undefined;
4646
4647
  enabled?: boolean | undefined;
4647
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4648
4648
  } | undefined;
4649
4649
  valueDomain?: {
4650
4650
  values: string[];
@@ -4665,6 +4665,7 @@ declare const SurfaceContractSchema: ZodObject<{
4665
4665
  gatePolicy?: {
4666
4666
  passThreshold: number;
4667
4667
  failureAction: "retry" | "flag" | "block";
4668
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4668
4669
  retry?: {
4669
4670
  maxAttempts: number;
4670
4671
  augmentPrompt?: string | undefined;
@@ -4684,7 +4685,6 @@ declare const SurfaceContractSchema: ZodObject<{
4684
4685
  } | undefined;
4685
4686
  } | undefined;
4686
4687
  enabled?: boolean | undefined;
4687
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4688
4688
  } | undefined;
4689
4689
  valueDomain?: {
4690
4690
  values: string[];
@@ -4705,6 +4705,7 @@ declare const SurfaceContractSchema: ZodObject<{
4705
4705
  gatePolicy?: {
4706
4706
  passThreshold: number;
4707
4707
  failureAction: "retry" | "flag" | "block";
4708
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4708
4709
  retry?: {
4709
4710
  maxAttempts: number;
4710
4711
  augmentPrompt?: string | undefined;
@@ -4724,7 +4725,6 @@ declare const SurfaceContractSchema: ZodObject<{
4724
4725
  } | undefined;
4725
4726
  } | undefined;
4726
4727
  enabled?: boolean | undefined;
4727
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4728
4728
  } | undefined;
4729
4729
  valueDomain?: {
4730
4730
  values: string[];
@@ -4745,6 +4745,7 @@ declare const SurfaceContractSchema: ZodObject<{
4745
4745
  gatePolicy?: {
4746
4746
  passThreshold: number;
4747
4747
  failureAction: "retry" | "flag" | "block";
4748
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4748
4749
  retry?: {
4749
4750
  maxAttempts: number;
4750
4751
  augmentPrompt?: string | undefined;
@@ -4764,7 +4765,6 @@ declare const SurfaceContractSchema: ZodObject<{
4764
4765
  } | undefined;
4765
4766
  } | undefined;
4766
4767
  enabled?: boolean | undefined;
4767
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
4768
4768
  } | undefined;
4769
4769
  valueDomain?: {
4770
4770
  values: string[];
@@ -4785,10 +4785,10 @@ declare const SurfaceContractSchema: ZodObject<{
4785
4785
  passThreshold?: number | undefined;
4786
4786
  rubricRef?: string | undefined;
4787
4787
  gatePolicy?: {
4788
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4788
4789
  enabled: boolean;
4789
4790
  passThreshold: number;
4790
4791
  failureAction: "retry" | "flag" | "block";
4791
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4792
4792
  retry?: {
4793
4793
  maxAttempts: number;
4794
4794
  augmentPrompt?: string | undefined;
@@ -4871,10 +4871,10 @@ declare const SurfaceContractSchema: ZodObject<{
4871
4871
  passThreshold?: number | undefined;
4872
4872
  rubricRef?: string | undefined;
4873
4873
  gatePolicy?: {
4874
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4874
4875
  enabled: boolean;
4875
4876
  passThreshold: number;
4876
4877
  failureAction: "retry" | "flag" | "block";
4877
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4878
4878
  retry?: {
4879
4879
  maxAttempts: number;
4880
4880
  augmentPrompt?: string | undefined;
@@ -4911,10 +4911,10 @@ declare const SurfaceContractSchema: ZodObject<{
4911
4911
  passThreshold?: number | undefined;
4912
4912
  rubricRef?: string | undefined;
4913
4913
  gatePolicy?: {
4914
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4914
4915
  enabled: boolean;
4915
4916
  passThreshold: number;
4916
4917
  failureAction: "retry" | "flag" | "block";
4917
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4918
4918
  retry?: {
4919
4919
  maxAttempts: number;
4920
4920
  augmentPrompt?: string | undefined;
@@ -4951,10 +4951,10 @@ declare const SurfaceContractSchema: ZodObject<{
4951
4951
  passThreshold?: number | undefined;
4952
4952
  rubricRef?: string | undefined;
4953
4953
  gatePolicy?: {
4954
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4954
4955
  enabled: boolean;
4955
4956
  passThreshold: number;
4956
4957
  failureAction: "retry" | "flag" | "block";
4957
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4958
4958
  retry?: {
4959
4959
  maxAttempts: number;
4960
4960
  augmentPrompt?: string | undefined;
@@ -4991,10 +4991,10 @@ declare const SurfaceContractSchema: ZodObject<{
4991
4991
  passThreshold?: number | undefined;
4992
4992
  rubricRef?: string | undefined;
4993
4993
  gatePolicy?: {
4994
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4994
4995
  enabled: boolean;
4995
4996
  passThreshold: number;
4996
4997
  failureAction: "retry" | "flag" | "block";
4997
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
4998
4998
  retry?: {
4999
4999
  maxAttempts: number;
5000
5000
  augmentPrompt?: string | undefined;
@@ -5031,10 +5031,10 @@ declare const SurfaceContractSchema: ZodObject<{
5031
5031
  passThreshold?: number | undefined;
5032
5032
  rubricRef?: string | undefined;
5033
5033
  gatePolicy?: {
5034
+ activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
5034
5035
  enabled: boolean;
5035
5036
  passThreshold: number;
5036
5037
  failureAction: "retry" | "flag" | "block";
5037
- activeRunModes: ("local_dev" | "replay" | "production" | "test" | "eval")[];
5038
5038
  retry?: {
5039
5039
  maxAttempts: number;
5040
5040
  augmentPrompt?: string | undefined;
@@ -5074,6 +5074,7 @@ declare const SurfaceContractSchema: ZodObject<{
5074
5074
  gatePolicy?: {
5075
5075
  passThreshold: number;
5076
5076
  failureAction: "retry" | "flag" | "block";
5077
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5077
5078
  retry?: {
5078
5079
  maxAttempts: number;
5079
5080
  augmentPrompt?: string | undefined;
@@ -5093,7 +5094,6 @@ declare const SurfaceContractSchema: ZodObject<{
5093
5094
  } | undefined;
5094
5095
  } | undefined;
5095
5096
  enabled?: boolean | undefined;
5096
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5097
5097
  } | undefined;
5098
5098
  valueDomain?: {
5099
5099
  values: string[];
@@ -5161,6 +5161,7 @@ declare const SurfaceContractSchema: ZodObject<{
5161
5161
  gatePolicy?: {
5162
5162
  passThreshold: number;
5163
5163
  failureAction: "retry" | "flag" | "block";
5164
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5164
5165
  retry?: {
5165
5166
  maxAttempts: number;
5166
5167
  augmentPrompt?: string | undefined;
@@ -5180,7 +5181,6 @@ declare const SurfaceContractSchema: ZodObject<{
5180
5181
  } | undefined;
5181
5182
  } | undefined;
5182
5183
  enabled?: boolean | undefined;
5183
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5184
5184
  } | undefined;
5185
5185
  valueDomain?: {
5186
5186
  values: string[];
@@ -5201,6 +5201,7 @@ declare const SurfaceContractSchema: ZodObject<{
5201
5201
  gatePolicy?: {
5202
5202
  passThreshold: number;
5203
5203
  failureAction: "retry" | "flag" | "block";
5204
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5204
5205
  retry?: {
5205
5206
  maxAttempts: number;
5206
5207
  augmentPrompt?: string | undefined;
@@ -5220,7 +5221,6 @@ declare const SurfaceContractSchema: ZodObject<{
5220
5221
  } | undefined;
5221
5222
  } | undefined;
5222
5223
  enabled?: boolean | undefined;
5223
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5224
5224
  } | undefined;
5225
5225
  valueDomain?: {
5226
5226
  values: string[];
@@ -5241,6 +5241,7 @@ declare const SurfaceContractSchema: ZodObject<{
5241
5241
  gatePolicy?: {
5242
5242
  passThreshold: number;
5243
5243
  failureAction: "retry" | "flag" | "block";
5244
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5244
5245
  retry?: {
5245
5246
  maxAttempts: number;
5246
5247
  augmentPrompt?: string | undefined;
@@ -5260,7 +5261,6 @@ declare const SurfaceContractSchema: ZodObject<{
5260
5261
  } | undefined;
5261
5262
  } | undefined;
5262
5263
  enabled?: boolean | undefined;
5263
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5264
5264
  } | undefined;
5265
5265
  valueDomain?: {
5266
5266
  values: string[];
@@ -5281,6 +5281,7 @@ declare const SurfaceContractSchema: ZodObject<{
5281
5281
  gatePolicy?: {
5282
5282
  passThreshold: number;
5283
5283
  failureAction: "retry" | "flag" | "block";
5284
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5284
5285
  retry?: {
5285
5286
  maxAttempts: number;
5286
5287
  augmentPrompt?: string | undefined;
@@ -5300,7 +5301,6 @@ declare const SurfaceContractSchema: ZodObject<{
5300
5301
  } | undefined;
5301
5302
  } | undefined;
5302
5303
  enabled?: boolean | undefined;
5303
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5304
5304
  } | undefined;
5305
5305
  valueDomain?: {
5306
5306
  values: string[];
@@ -5321,6 +5321,7 @@ declare const SurfaceContractSchema: ZodObject<{
5321
5321
  gatePolicy?: {
5322
5322
  passThreshold: number;
5323
5323
  failureAction: "retry" | "flag" | "block";
5324
+ activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5324
5325
  retry?: {
5325
5326
  maxAttempts: number;
5326
5327
  augmentPrompt?: string | undefined;
@@ -5340,7 +5341,6 @@ declare const SurfaceContractSchema: ZodObject<{
5340
5341
  } | undefined;
5341
5342
  } | undefined;
5342
5343
  enabled?: boolean | undefined;
5343
- activeRunModes?: ("local_dev" | "replay" | "production" | "test" | "eval")[] | undefined;
5344
5344
  } | undefined;
5345
5345
  valueDomain?: {
5346
5346
  values: string[];
@@ -5929,6 +5929,8 @@ declare const LightSnapshotSchema: ZodObject<{
5929
5929
  vendorMetadata: ZodOptional$1<ZodRecord<ZodString, ZodUnknown>>;
5930
5930
 
5931
5931
  rawRequestOmitted: ZodOptional$1<ZodBoolean>;
5932
+
5933
+ rawResponsePresence: ZodOptional$1<ZodEnum$1<["present", "omitted-by-policy", "pending-attach", "failed-attach"]>>;
5932
5934
  }, "strip", ZodTypeAny$1, {
5933
5935
  rawRequest?: objectOutputType<{
5934
5936
  surfaceId: ZodString;
@@ -6125,6 +6127,7 @@ declare const LightSnapshotSchema: ZodObject<{
6125
6127
  } | undefined;
6126
6128
  vendorMetadata?: Record<string, unknown> | undefined;
6127
6129
  rawRequestOmitted?: boolean | undefined;
6130
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
6128
6131
  }, {
6129
6132
  rawRequest?: objectInputType<{
6130
6133
  surfaceId: ZodString;
@@ -6321,6 +6324,7 @@ declare const LightSnapshotSchema: ZodObject<{
6321
6324
  } | undefined;
6322
6325
  vendorMetadata?: Record<string, unknown> | undefined;
6323
6326
  rawRequestOmitted?: boolean | undefined;
6327
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
6324
6328
  }>;
6325
6329
  type LightSnapshot = TypeOf$1<typeof LightSnapshotSchema>;
6326
6330
  declare const GateOutcomeSchema: ZodObject<{
@@ -6384,9 +6388,11 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
6384
6388
 
6385
6389
  correlationId: ZodString;
6386
6390
 
6391
+ emissionStreamId: ZodOptional$1<ZodString>;
6392
+
6387
6393
  lensVersion: ZodString;
6388
6394
 
6389
- kind: ZodDefault$1<ZodEnum$1<["evaluation", "availability.transition", "analysis.noise-floor-calibration", "analysis.variance-decomposition", "analysis.lifecycle-transition", "analysis.eval-recommendation", "analysis.conformance-fixture"]>>;
6395
+ kind: ZodDefault$1<ZodEnum$1<["evaluation", "availability.transition", "analysis.noise-floor-calibration", "analysis.variance-decomposition", "analysis.lifecycle-transition", "analysis.eval-recommendation", "analysis.conformance-fixture", "analysis.emission-coverage", "analysis.delivery-orphan"]>>;
6390
6396
 
6391
6397
  light: ZodOptional$1<ZodObject<{
6392
6398
 
@@ -6965,6 +6971,8 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
6965
6971
  vendorMetadata: ZodOptional$1<ZodRecord<ZodString, ZodUnknown>>;
6966
6972
 
6967
6973
  rawRequestOmitted: ZodOptional$1<ZodBoolean>;
6974
+
6975
+ rawResponsePresence: ZodOptional$1<ZodEnum$1<["present", "omitted-by-policy", "pending-attach", "failed-attach"]>>;
6968
6976
  }, "strip", ZodTypeAny$1, {
6969
6977
  rawRequest?: objectOutputType<{
6970
6978
  surfaceId: ZodString;
@@ -7161,6 +7169,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
7161
7169
  } | undefined;
7162
7170
  vendorMetadata?: Record<string, unknown> | undefined;
7163
7171
  rawRequestOmitted?: boolean | undefined;
7172
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
7164
7173
  }, {
7165
7174
  rawRequest?: objectInputType<{
7166
7175
  surfaceId: ZodString;
@@ -7357,6 +7366,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
7357
7366
  } | undefined;
7358
7367
  vendorMetadata?: Record<string, unknown> | undefined;
7359
7368
  rawRequestOmitted?: boolean | undefined;
7369
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
7360
7370
  }>>;
7361
7371
 
7362
7372
  substrate: ZodOptional$1<ZodObject<{
@@ -7977,24 +7987,24 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
7977
7987
  present: ZodOptional$1<ZodBoolean>;
7978
7988
  }, "strip", ZodTypeAny$1, {
7979
7989
  column: string;
7990
+ present?: boolean | undefined;
7980
7991
  equals?: string | undefined;
7981
7992
  oneOf?: string[] | undefined;
7982
- present?: boolean | undefined;
7983
7993
  }, {
7984
7994
  column: string;
7995
+ present?: boolean | undefined;
7985
7996
  equals?: string | undefined;
7986
7997
  oneOf?: string[] | undefined;
7987
- present?: boolean | undefined;
7988
7998
  }>, {
7989
7999
  column: string;
8000
+ present?: boolean | undefined;
7990
8001
  equals?: string | undefined;
7991
8002
  oneOf?: string[] | undefined;
7992
- present?: boolean | undefined;
7993
8003
  }, {
7994
8004
  column: string;
8005
+ present?: boolean | undefined;
7995
8006
  equals?: string | undefined;
7996
8007
  oneOf?: string[] | undefined;
7997
- present?: boolean | undefined;
7998
8008
  }>, "many">>;
7999
8009
  }, "strip", ZodTypeAny$1, {
8000
8010
  description: string;
@@ -8032,9 +8042,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8032
8042
  sourceExcerpt?: string | undefined;
8033
8043
  when?: {
8034
8044
  column: string;
8045
+ present?: boolean | undefined;
8035
8046
  equals?: string | undefined;
8036
8047
  oneOf?: string[] | undefined;
8037
- present?: boolean | undefined;
8038
8048
  }[] | undefined;
8039
8049
  }, {
8040
8050
  description: string;
@@ -8072,9 +8082,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8072
8082
  sourceExcerpt?: string | undefined;
8073
8083
  when?: {
8074
8084
  column: string;
8085
+ present?: boolean | undefined;
8075
8086
  equals?: string | undefined;
8076
8087
  oneOf?: string[] | undefined;
8077
- present?: boolean | undefined;
8078
8088
  }[] | undefined;
8079
8089
  }>, {
8080
8090
  description: string;
@@ -8112,9 +8122,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8112
8122
  sourceExcerpt?: string | undefined;
8113
8123
  when?: {
8114
8124
  column: string;
8125
+ present?: boolean | undefined;
8115
8126
  equals?: string | undefined;
8116
8127
  oneOf?: string[] | undefined;
8117
- present?: boolean | undefined;
8118
8128
  }[] | undefined;
8119
8129
  }, {
8120
8130
  description: string;
@@ -8152,9 +8162,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8152
8162
  sourceExcerpt?: string | undefined;
8153
8163
  when?: {
8154
8164
  column: string;
8165
+ present?: boolean | undefined;
8155
8166
  equals?: string | undefined;
8156
8167
  oneOf?: string[] | undefined;
8157
- present?: boolean | undefined;
8158
8168
  }[] | undefined;
8159
8169
  }>;
8160
8170
 
@@ -8201,9 +8211,9 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8201
8211
  sourceExcerpt?: string | undefined;
8202
8212
  when?: {
8203
8213
  column: string;
8214
+ present?: boolean | undefined;
8204
8215
  equals?: string | undefined;
8205
8216
  oneOf?: string[] | undefined;
8206
- present?: boolean | undefined;
8207
8217
  }[] | undefined;
8208
8218
  };
8209
8219
  occurredAt: string;
@@ -8246,19 +8256,65 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8246
8256
  sourceExcerpt?: string | undefined;
8247
8257
  when?: {
8248
8258
  column: string;
8259
+ present?: boolean | undefined;
8249
8260
  equals?: string | undefined;
8250
8261
  oneOf?: string[] | undefined;
8251
- present?: boolean | undefined;
8252
8262
  }[] | undefined;
8253
8263
  };
8254
8264
  occurredAt: string;
8255
8265
  sourceSurfaceId?: string | undefined;
8256
8266
  }>>;
8267
+
8268
+ emissionCoverage: ZodOptional$1<ZodObject<{
8269
+
8270
+ streamId: ZodString;
8271
+
8272
+ observedOrdinals: ZodArray$1<ZodNumber, "many">;
8273
+
8274
+ sentinelHighWater: ZodNullable$1<ZodNumber>;
8275
+
8276
+ finalSeen: ZodBoolean;
8277
+
8278
+ observedAtMs: ZodNumber;
8279
+ }, "strip", ZodTypeAny$1, {
8280
+ streamId: string;
8281
+ observedOrdinals: number[];
8282
+ sentinelHighWater: number | null;
8283
+ finalSeen: boolean;
8284
+ observedAtMs: number;
8285
+ }, {
8286
+ streamId: string;
8287
+ observedOrdinals: number[];
8288
+ sentinelHighWater: number | null;
8289
+ finalSeen: boolean;
8290
+ observedAtMs: number;
8291
+ }>>;
8292
+
8293
+ deliveryOrphan: ZodOptional$1<ZodObject<{
8294
+
8295
+ darkEventId: ZodString;
8296
+
8297
+ emissionStreamId: ZodString;
8298
+
8299
+ surfaceId: ZodString;
8300
+
8301
+ witnessedAtMs: ZodNumber;
8302
+ }, "strip", ZodTypeAny$1, {
8303
+ surfaceId: string;
8304
+ darkEventId: string;
8305
+ emissionStreamId: string;
8306
+ witnessedAtMs: number;
8307
+ }, {
8308
+ surfaceId: string;
8309
+ darkEventId: string;
8310
+ emissionStreamId: string;
8311
+ witnessedAtMs: number;
8312
+ }>>;
8257
8313
  }, "strip", ZodTypeAny$1, {
8258
8314
  lensVersion: string;
8259
8315
  correlationId: string;
8260
- kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
8261
8316
  surfaceId: string;
8317
+ 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";
8262
8318
  occurredAt: string;
8263
8319
  eventId: string;
8264
8320
  substrate?: {
@@ -8270,6 +8326,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8270
8326
  correlationId: string;
8271
8327
  columns: Record<string, string>;
8272
8328
  } | undefined;
8329
+ emissionStreamId?: string | undefined;
8273
8330
  light?: {
8274
8331
  rawRequest?: objectOutputType<{
8275
8332
  surfaceId: ZodString;
@@ -8466,6 +8523,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8466
8523
  } | undefined;
8467
8524
  vendorMetadata?: Record<string, unknown> | undefined;
8468
8525
  rawRequestOmitted?: boolean | undefined;
8526
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
8469
8527
  } | undefined;
8470
8528
  surface?: {
8471
8529
  surfaceId: string;
@@ -8612,14 +8670,27 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8612
8670
  sourceExcerpt?: string | undefined;
8613
8671
  when?: {
8614
8672
  column: string;
8673
+ present?: boolean | undefined;
8615
8674
  equals?: string | undefined;
8616
8675
  oneOf?: string[] | undefined;
8617
- present?: boolean | undefined;
8618
8676
  }[] | undefined;
8619
8677
  };
8620
8678
  occurredAt: string;
8621
8679
  sourceSurfaceId?: string | undefined;
8622
8680
  } | undefined;
8681
+ emissionCoverage?: {
8682
+ streamId: string;
8683
+ observedOrdinals: number[];
8684
+ sentinelHighWater: number | null;
8685
+ finalSeen: boolean;
8686
+ observedAtMs: number;
8687
+ } | undefined;
8688
+ deliveryOrphan?: {
8689
+ surfaceId: string;
8690
+ darkEventId: string;
8691
+ emissionStreamId: string;
8692
+ witnessedAtMs: number;
8693
+ } | undefined;
8623
8694
  }, {
8624
8695
  lensVersion: string;
8625
8696
  correlationId: string;
@@ -8635,7 +8706,8 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8635
8706
  correlationId: string;
8636
8707
  columns: Record<string, string>;
8637
8708
  } | undefined;
8638
- kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | undefined;
8709
+ 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" | undefined;
8710
+ emissionStreamId?: string | undefined;
8639
8711
  light?: {
8640
8712
  rawRequest?: objectInputType<{
8641
8713
  surfaceId: ZodString;
@@ -8832,6 +8904,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8832
8904
  } | undefined;
8833
8905
  vendorMetadata?: Record<string, unknown> | undefined;
8834
8906
  rawRequestOmitted?: boolean | undefined;
8907
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
8835
8908
  } | undefined;
8836
8909
  surface?: {
8837
8910
  surfaceId: string;
@@ -8978,19 +9051,32 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
8978
9051
  sourceExcerpt?: string | undefined;
8979
9052
  when?: {
8980
9053
  column: string;
9054
+ present?: boolean | undefined;
8981
9055
  equals?: string | undefined;
8982
9056
  oneOf?: string[] | undefined;
8983
- present?: boolean | undefined;
8984
9057
  }[] | undefined;
8985
9058
  };
8986
9059
  occurredAt: string;
8987
9060
  sourceSurfaceId?: string | undefined;
8988
9061
  } | undefined;
9062
+ emissionCoverage?: {
9063
+ streamId: string;
9064
+ observedOrdinals: number[];
9065
+ sentinelHighWater: number | null;
9066
+ finalSeen: boolean;
9067
+ observedAtMs: number;
9068
+ } | undefined;
9069
+ deliveryOrphan?: {
9070
+ surfaceId: string;
9071
+ darkEventId: string;
9072
+ emissionStreamId: string;
9073
+ witnessedAtMs: number;
9074
+ } | undefined;
8989
9075
  }>, {
8990
9076
  lensVersion: string;
8991
9077
  correlationId: string;
8992
- kind: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture";
8993
9078
  surfaceId: string;
9079
+ 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";
8994
9080
  occurredAt: string;
8995
9081
  eventId: string;
8996
9082
  substrate?: {
@@ -9002,6 +9088,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9002
9088
  correlationId: string;
9003
9089
  columns: Record<string, string>;
9004
9090
  } | undefined;
9091
+ emissionStreamId?: string | undefined;
9005
9092
  light?: {
9006
9093
  rawRequest?: objectOutputType<{
9007
9094
  surfaceId: ZodString;
@@ -9198,6 +9285,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9198
9285
  } | undefined;
9199
9286
  vendorMetadata?: Record<string, unknown> | undefined;
9200
9287
  rawRequestOmitted?: boolean | undefined;
9288
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
9201
9289
  } | undefined;
9202
9290
  surface?: {
9203
9291
  surfaceId: string;
@@ -9344,14 +9432,27 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9344
9432
  sourceExcerpt?: string | undefined;
9345
9433
  when?: {
9346
9434
  column: string;
9435
+ present?: boolean | undefined;
9347
9436
  equals?: string | undefined;
9348
9437
  oneOf?: string[] | undefined;
9349
- present?: boolean | undefined;
9350
9438
  }[] | undefined;
9351
9439
  };
9352
9440
  occurredAt: string;
9353
9441
  sourceSurfaceId?: string | undefined;
9354
9442
  } | undefined;
9443
+ emissionCoverage?: {
9444
+ streamId: string;
9445
+ observedOrdinals: number[];
9446
+ sentinelHighWater: number | null;
9447
+ finalSeen: boolean;
9448
+ observedAtMs: number;
9449
+ } | undefined;
9450
+ deliveryOrphan?: {
9451
+ surfaceId: string;
9452
+ darkEventId: string;
9453
+ emissionStreamId: string;
9454
+ witnessedAtMs: number;
9455
+ } | undefined;
9355
9456
  }, {
9356
9457
  lensVersion: string;
9357
9458
  correlationId: string;
@@ -9367,7 +9468,8 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9367
9468
  correlationId: string;
9368
9469
  columns: Record<string, string>;
9369
9470
  } | undefined;
9370
- kind?: "evaluation" | "availability.transition" | "analysis.noise-floor-calibration" | "analysis.variance-decomposition" | "analysis.lifecycle-transition" | "analysis.eval-recommendation" | "analysis.conformance-fixture" | undefined;
9471
+ 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" | undefined;
9472
+ emissionStreamId?: string | undefined;
9371
9473
  light?: {
9372
9474
  rawRequest?: objectInputType<{
9373
9475
  surfaceId: ZodString;
@@ -9564,6 +9666,7 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9564
9666
  } | undefined;
9565
9667
  vendorMetadata?: Record<string, unknown> | undefined;
9566
9668
  rawRequestOmitted?: boolean | undefined;
9669
+ rawResponsePresence?: "present" | "omitted-by-policy" | "pending-attach" | "failed-attach" | undefined;
9567
9670
  } | undefined;
9568
9671
  surface?: {
9569
9672
  surfaceId: string;
@@ -9710,14 +9813,27 @@ declare const EvaluationEventSchema: ZodEffects$1<ZodObject<{
9710
9813
  sourceExcerpt?: string | undefined;
9711
9814
  when?: {
9712
9815
  column: string;
9816
+ present?: boolean | undefined;
9713
9817
  equals?: string | undefined;
9714
9818
  oneOf?: string[] | undefined;
9715
- present?: boolean | undefined;
9716
9819
  }[] | undefined;
9717
9820
  };
9718
9821
  occurredAt: string;
9719
9822
  sourceSurfaceId?: string | undefined;
9720
9823
  } | undefined;
9824
+ emissionCoverage?: {
9825
+ streamId: string;
9826
+ observedOrdinals: number[];
9827
+ sentinelHighWater: number | null;
9828
+ finalSeen: boolean;
9829
+ observedAtMs: number;
9830
+ } | undefined;
9831
+ deliveryOrphan?: {
9832
+ surfaceId: string;
9833
+ darkEventId: string;
9834
+ emissionStreamId: string;
9835
+ witnessedAtMs: number;
9836
+ } | undefined;
9721
9837
  }>;
9722
9838
  type EvaluationEvent = TypeOf$1<typeof EvaluationEventSchema>;
9723
9839
 
@@ -11007,6 +11123,96 @@ interface ContractRegisterResponse {
11007
11123
  surfaces: ContractSurfaceSummary[];
11008
11124
  }
11009
11125
 
11126
+ type EmitMode = 'sync' | 'buffered' | 'otlp' | 'dual';
11127
+
11128
+ interface OtlpEmitConfig {
11129
+
11130
+ endpoint?: string;
11131
+
11132
+ headers?: Record<string, string>;
11133
+
11134
+ maxQueueSize?: number;
11135
+ }
11136
+
11137
+ type EmitChannel = 'http' | 'otlp';
11138
+
11139
+ interface EmitChannelCompleteness {
11140
+
11141
+ attempted: number;
11142
+
11143
+ delivered: number;
11144
+
11145
+ failed: number;
11146
+ }
11147
+
11148
+ interface EmitOptions {
11149
+
11150
+ mode?: EmitMode;
11151
+
11152
+ deployment?: 'serverless' | 'persistent';
11153
+
11154
+ streamId?: string;
11155
+
11156
+ otlp?: OtlpEmitConfig;
11157
+
11158
+ bufferSize?: number;
11159
+
11160
+ flushIntervalMs?: number;
11161
+
11162
+ sentinelIntervalMs?: number;
11163
+
11164
+ windowMs?: number;
11165
+
11166
+ extremeSustainedLoad?: {
11167
+ dropRateThreshold?: number;
11168
+ sustainedForMs?: number;
11169
+ };
11170
+
11171
+ onWindow?: (window: CompletenessWindow) => void;
11172
+
11173
+ onExtremeSustainedLoad?: (event: ExtremeSustainedLoadEvent) => void;
11174
+
11175
+ onFlushError?: (error: unknown) => void;
11176
+ }
11177
+
11178
+ interface CompletenessWindow {
11179
+
11180
+ lensVersion: string;
11181
+
11182
+ windowStartMs: number;
11183
+
11184
+ windowEndMs: number;
11185
+
11186
+ offered: number;
11187
+
11188
+ dropped: number;
11189
+
11190
+ delivered: number;
11191
+
11192
+ failed: number;
11193
+
11194
+ channels: Partial<Record<EmitChannel, EmitChannelCompleteness>>;
11195
+
11196
+ completenessLowerBound: number;
11197
+
11198
+ biasFlag: boolean;
11199
+ }
11200
+
11201
+ interface ExtremeSustainedLoadEvent {
11202
+
11203
+ lensVersion: string;
11204
+
11205
+ sinceMs: number;
11206
+
11207
+ firedAtMs: number;
11208
+
11209
+ sustainedForMs: number;
11210
+
11211
+ dropRate: number;
11212
+
11213
+ dropRateThreshold: number;
11214
+ }
11215
+
11010
11216
  interface Transport {
11011
11217
 
11012
11218
  dispatch(req: MediatorCallRequest): Promise<MediatorCallResult | GateExecutionResult>;
@@ -11029,6 +11235,10 @@ interface HttpTransportOptions {
11029
11235
  fetch?: typeof fetch;
11030
11236
 
11031
11237
  runMode?: 'production' | 'eval' | 'test' | 'replay' | 'local_dev';
11238
+
11239
+ emit?: EmitOptions;
11240
+
11241
+ lensVersion?: string;
11032
11242
  }
11033
11243
 
11034
11244
  declare class HolonographHttpError extends Error {
@@ -11042,9 +11252,17 @@ declare class HttpTransport implements Transport {
11042
11252
  private readonly token;
11043
11253
  private readonly fetchImpl;
11044
11254
  private readonly runMode;
11255
+
11256
+ private readonly emitter;
11045
11257
  constructor(opts: HttpTransportOptions);
11046
11258
  dispatch(req: MediatorCallRequest): Promise<MediatorCallResult | GateExecutionResult>;
11047
11259
  appendEvent(event: EvaluationEvent): Promise<string>;
11260
+
11261
+ private postEvent;
11262
+
11263
+ completenessWindow(): CompletenessWindow | null;
11264
+
11265
+ shutdown(): Promise<void>;
11048
11266
  postContract(contract: SurfaceContract): Promise<ContractRegisterResponse>;
11049
11267
  getContract(): Promise<ContractRegisterResponse>;
11050
11268
  markAvailability(req: LensAvailabilityMarkRequest): Promise<LensAvailabilityMarkResponse>;
@@ -11068,6 +11286,8 @@ interface HolonographClientOptions {
11068
11286
  lensVersion: string;
11069
11287
 
11070
11288
  substrate: SubstrateSnapshot;
11289
+
11290
+ emit?: EmitOptions;
11071
11291
  }
11072
11292
 
11073
11293
  interface HolonographClient {
@@ -11087,9 +11307,13 @@ interface HolonographClient {
11087
11307
  messagesCreate(req: HolonographMessageRequest): Promise<HolonographCallHandle>;
11088
11308
 
11089
11309
  callDirectly(req: MediatorCallRequest): Promise<HolonographCallHandle>;
11310
+
11311
+ completenessWindow(): CompletenessWindow | null;
11312
+
11313
+ shutdown(): Promise<void>;
11090
11314
  }
11091
11315
 
11092
11316
  declare const HolonographClient: new (options: HolonographClientOptions) => HolonographClient;
11093
11317
 
11094
11318
  export { HolonographClient, HolonographGradeAfterReportError, HolonographHttpError, HolonographMarkerPairingWarningError, HolonographNoObserversError, HolonographObserverNotFoundError, HttpTransport };
11095
- export type { AvailabilityMarkOptions, ContractRegisterResponse, ContractSurfaceSummary, HolonographCallHandle, HolonographClientOptions, HolonographMessageRequest as HolonographMessageRequest, HolonographMessageResponse as HolonographMessageResponse, HttpTransportOptions, MediatorCallRequest, SurfaceOutcomeReport };
11319
+ export type { AvailabilityMarkOptions, CompletenessWindow, ContractRegisterResponse, ContractSurfaceSummary, EmitChannel, EmitChannelCompleteness, EmitMode, EmitOptions, ExtremeSustainedLoadEvent, HolonographCallHandle, HolonographClientOptions, HolonographMessageRequest as HolonographMessageRequest, HolonographMessageResponse as HolonographMessageResponse, HttpTransportOptions, MediatorCallRequest, OtlpEmitConfig, SurfaceOutcomeReport };