@neat.is/types 0.10.6-dev.20261007 → 0.10.6-dev.20261009

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1326,6 +1326,23 @@ declare const EdgeAnomalySchema: z.ZodUnion<[z.ZodObject<{
1326
1326
  rule: string;
1327
1327
  }>, z.ZodBoolean]>;
1328
1328
  type EdgeAnomaly = z.infer<typeof EdgeAnomalySchema>;
1329
+ declare const EdgeErrorExemplarSchema: z.ZodObject<{
1330
+ exceptionType: z.ZodOptional<z.ZodString>;
1331
+ message: z.ZodOptional<z.ZodString>;
1332
+ at: z.ZodOptional<z.ZodString>;
1333
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ message?: string | undefined;
1336
+ at?: string | undefined;
1337
+ exceptionType?: string | undefined;
1338
+ httpStatusCode?: number | undefined;
1339
+ }, {
1340
+ message?: string | undefined;
1341
+ at?: string | undefined;
1342
+ exceptionType?: string | undefined;
1343
+ httpStatusCode?: number | undefined;
1344
+ }>;
1345
+ type EdgeErrorExemplar = z.infer<typeof EdgeErrorExemplarSchema>;
1329
1346
  declare const EdgeSignalSchema: z.ZodObject<{
1330
1347
  spanCount: z.ZodNumber;
1331
1348
  errorCount: z.ZodNumber;
@@ -1351,6 +1368,22 @@ declare const EdgeSignalSchema: z.ZodObject<{
1351
1368
  source: string;
1352
1369
  rule: string;
1353
1370
  }>, z.ZodBoolean]>>;
1371
+ lastError: z.ZodOptional<z.ZodObject<{
1372
+ exceptionType: z.ZodOptional<z.ZodString>;
1373
+ message: z.ZodOptional<z.ZodString>;
1374
+ at: z.ZodOptional<z.ZodString>;
1375
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ message?: string | undefined;
1378
+ at?: string | undefined;
1379
+ exceptionType?: string | undefined;
1380
+ httpStatusCode?: number | undefined;
1381
+ }, {
1382
+ message?: string | undefined;
1383
+ at?: string | undefined;
1384
+ exceptionType?: string | undefined;
1385
+ httpStatusCode?: number | undefined;
1386
+ }>>;
1354
1387
  }, "strip", z.ZodTypeAny, {
1355
1388
  spanCount: number;
1356
1389
  errorCount: number;
@@ -1364,6 +1397,12 @@ declare const EdgeSignalSchema: z.ZodObject<{
1364
1397
  source: string;
1365
1398
  rule: string;
1366
1399
  } | undefined;
1400
+ lastError?: {
1401
+ message?: string | undefined;
1402
+ at?: string | undefined;
1403
+ exceptionType?: string | undefined;
1404
+ httpStatusCode?: number | undefined;
1405
+ } | undefined;
1367
1406
  }, {
1368
1407
  spanCount: number;
1369
1408
  errorCount: number;
@@ -1377,6 +1416,12 @@ declare const EdgeSignalSchema: z.ZodObject<{
1377
1416
  source: string;
1378
1417
  rule: string;
1379
1418
  } | undefined;
1419
+ lastError?: {
1420
+ message?: string | undefined;
1421
+ at?: string | undefined;
1422
+ exceptionType?: string | undefined;
1423
+ httpStatusCode?: number | undefined;
1424
+ } | undefined;
1380
1425
  }>;
1381
1426
  type EdgeSignal = z.infer<typeof EdgeSignalSchema>;
1382
1427
  declare const GraphEdgeSchema: z.ZodObject<{
@@ -1441,6 +1486,22 @@ declare const GraphEdgeSchema: z.ZodObject<{
1441
1486
  source: string;
1442
1487
  rule: string;
1443
1488
  }>, z.ZodBoolean]>>;
1489
+ lastError: z.ZodOptional<z.ZodObject<{
1490
+ exceptionType: z.ZodOptional<z.ZodString>;
1491
+ message: z.ZodOptional<z.ZodString>;
1492
+ at: z.ZodOptional<z.ZodString>;
1493
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ message?: string | undefined;
1496
+ at?: string | undefined;
1497
+ exceptionType?: string | undefined;
1498
+ httpStatusCode?: number | undefined;
1499
+ }, {
1500
+ message?: string | undefined;
1501
+ at?: string | undefined;
1502
+ exceptionType?: string | undefined;
1503
+ httpStatusCode?: number | undefined;
1504
+ }>>;
1444
1505
  }, "strip", z.ZodTypeAny, {
1445
1506
  spanCount: number;
1446
1507
  errorCount: number;
@@ -1454,6 +1515,12 @@ declare const GraphEdgeSchema: z.ZodObject<{
1454
1515
  source: string;
1455
1516
  rule: string;
1456
1517
  } | undefined;
1518
+ lastError?: {
1519
+ message?: string | undefined;
1520
+ at?: string | undefined;
1521
+ exceptionType?: string | undefined;
1522
+ httpStatusCode?: number | undefined;
1523
+ } | undefined;
1457
1524
  }, {
1458
1525
  spanCount: number;
1459
1526
  errorCount: number;
@@ -1467,6 +1534,12 @@ declare const GraphEdgeSchema: z.ZodObject<{
1467
1534
  source: string;
1468
1535
  rule: string;
1469
1536
  } | undefined;
1537
+ lastError?: {
1538
+ message?: string | undefined;
1539
+ at?: string | undefined;
1540
+ exceptionType?: string | undefined;
1541
+ httpStatusCode?: number | undefined;
1542
+ } | undefined;
1470
1543
  }>>;
1471
1544
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
1472
1545
  }, "strip", z.ZodTypeAny, {
@@ -1501,6 +1574,12 @@ declare const GraphEdgeSchema: z.ZodObject<{
1501
1574
  source: string;
1502
1575
  rule: string;
1503
1576
  } | undefined;
1577
+ lastError?: {
1578
+ message?: string | undefined;
1579
+ at?: string | undefined;
1580
+ exceptionType?: string | undefined;
1581
+ httpStatusCode?: number | undefined;
1582
+ } | undefined;
1504
1583
  } | undefined;
1505
1584
  grain?: "file" | "service" | undefined;
1506
1585
  }, {
@@ -1535,6 +1614,12 @@ declare const GraphEdgeSchema: z.ZodObject<{
1535
1614
  source: string;
1536
1615
  rule: string;
1537
1616
  } | undefined;
1617
+ lastError?: {
1618
+ message?: string | undefined;
1619
+ at?: string | undefined;
1620
+ exceptionType?: string | undefined;
1621
+ httpStatusCode?: number | undefined;
1622
+ } | undefined;
1538
1623
  } | undefined;
1539
1624
  grain?: "file" | "service" | undefined;
1540
1625
  }>;
@@ -1566,11 +1651,11 @@ declare const ErrorEventSchema: z.ZodObject<{
1566
1651
  spanId: string;
1567
1652
  errorMessage: string;
1568
1653
  affectedNode: string;
1569
- errorType?: string | undefined;
1570
1654
  exceptionType?: string | undefined;
1655
+ httpStatusCode?: number | undefined;
1656
+ errorType?: string | undefined;
1571
1657
  exceptionStacktrace?: string | undefined;
1572
1658
  attributes?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null> | undefined;
1573
- httpStatusCode?: number | undefined;
1574
1659
  incidentCount?: number | undefined;
1575
1660
  firstTimestamp?: string | undefined;
1576
1661
  lastTimestamp?: string | undefined;
@@ -1582,11 +1667,11 @@ declare const ErrorEventSchema: z.ZodObject<{
1582
1667
  spanId: string;
1583
1668
  errorMessage: string;
1584
1669
  affectedNode: string;
1585
- errorType?: string | undefined;
1586
1670
  exceptionType?: string | undefined;
1671
+ httpStatusCode?: number | undefined;
1672
+ errorType?: string | undefined;
1587
1673
  exceptionStacktrace?: string | undefined;
1588
1674
  attributes?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null> | undefined;
1589
- httpStatusCode?: number | undefined;
1590
1675
  incidentCount?: number | undefined;
1591
1676
  firstTimestamp?: string | undefined;
1592
1677
  lastTimestamp?: string | undefined;
@@ -2468,6 +2553,22 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2468
2553
  source: string;
2469
2554
  rule: string;
2470
2555
  }>, z.ZodBoolean]>>;
2556
+ lastError: z.ZodOptional<z.ZodObject<{
2557
+ exceptionType: z.ZodOptional<z.ZodString>;
2558
+ message: z.ZodOptional<z.ZodString>;
2559
+ at: z.ZodOptional<z.ZodString>;
2560
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
2561
+ }, "strip", z.ZodTypeAny, {
2562
+ message?: string | undefined;
2563
+ at?: string | undefined;
2564
+ exceptionType?: string | undefined;
2565
+ httpStatusCode?: number | undefined;
2566
+ }, {
2567
+ message?: string | undefined;
2568
+ at?: string | undefined;
2569
+ exceptionType?: string | undefined;
2570
+ httpStatusCode?: number | undefined;
2571
+ }>>;
2471
2572
  }, "strip", z.ZodTypeAny, {
2472
2573
  spanCount: number;
2473
2574
  errorCount: number;
@@ -2481,6 +2582,12 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2481
2582
  source: string;
2482
2583
  rule: string;
2483
2584
  } | undefined;
2585
+ lastError?: {
2586
+ message?: string | undefined;
2587
+ at?: string | undefined;
2588
+ exceptionType?: string | undefined;
2589
+ httpStatusCode?: number | undefined;
2590
+ } | undefined;
2484
2591
  }, {
2485
2592
  spanCount: number;
2486
2593
  errorCount: number;
@@ -2494,6 +2601,12 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2494
2601
  source: string;
2495
2602
  rule: string;
2496
2603
  } | undefined;
2604
+ lastError?: {
2605
+ message?: string | undefined;
2606
+ at?: string | undefined;
2607
+ exceptionType?: string | undefined;
2608
+ httpStatusCode?: number | undefined;
2609
+ } | undefined;
2497
2610
  }>>;
2498
2611
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
2499
2612
  }, "strip", z.ZodTypeAny, {
@@ -2528,6 +2641,12 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2528
2641
  source: string;
2529
2642
  rule: string;
2530
2643
  } | undefined;
2644
+ lastError?: {
2645
+ message?: string | undefined;
2646
+ at?: string | undefined;
2647
+ exceptionType?: string | undefined;
2648
+ httpStatusCode?: number | undefined;
2649
+ } | undefined;
2531
2650
  } | undefined;
2532
2651
  grain?: "file" | "service" | undefined;
2533
2652
  }, {
@@ -2562,6 +2681,12 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2562
2681
  source: string;
2563
2682
  rule: string;
2564
2683
  } | undefined;
2684
+ lastError?: {
2685
+ message?: string | undefined;
2686
+ at?: string | undefined;
2687
+ exceptionType?: string | undefined;
2688
+ httpStatusCode?: number | undefined;
2689
+ } | undefined;
2565
2690
  } | undefined;
2566
2691
  grain?: "file" | "service" | undefined;
2567
2692
  }>, "many">;
@@ -2604,6 +2729,12 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2604
2729
  source: string;
2605
2730
  rule: string;
2606
2731
  } | undefined;
2732
+ lastError?: {
2733
+ message?: string | undefined;
2734
+ at?: string | undefined;
2735
+ exceptionType?: string | undefined;
2736
+ httpStatusCode?: number | undefined;
2737
+ } | undefined;
2607
2738
  } | undefined;
2608
2739
  grain?: "file" | "service" | undefined;
2609
2740
  }[];
@@ -2647,6 +2778,12 @@ declare const ObservedDependenciesResultSchema: z.ZodObject<{
2647
2778
  source: string;
2648
2779
  rule: string;
2649
2780
  } | undefined;
2781
+ lastError?: {
2782
+ message?: string | undefined;
2783
+ at?: string | undefined;
2784
+ exceptionType?: string | undefined;
2785
+ httpStatusCode?: number | undefined;
2786
+ } | undefined;
2650
2787
  } | undefined;
2651
2788
  grain?: "file" | "service" | undefined;
2652
2789
  }[];
@@ -2957,14 +3094,17 @@ declare const IncidentPolicySchema: z.ZodObject<{
2957
3094
  policyName: z.ZodString;
2958
3095
  severity: z.ZodString;
2959
3096
  message: z.ZodOptional<z.ZodString>;
3097
+ onViolation: z.ZodOptional<z.ZodEnum<["log", "alert", "block"]>>;
2960
3098
  }, "strip", z.ZodTypeAny, {
2961
3099
  severity: string;
2962
3100
  policyName: string;
2963
3101
  message?: string | undefined;
3102
+ onViolation?: "log" | "alert" | "block" | undefined;
2964
3103
  }, {
2965
3104
  severity: string;
2966
3105
  policyName: string;
2967
3106
  message?: string | undefined;
3107
+ onViolation?: "log" | "alert" | "block" | undefined;
2968
3108
  }>;
2969
3109
  type IncidentPolicy = z.infer<typeof IncidentPolicySchema>;
2970
3110
  declare const IncidentDivergenceSchema: z.ZodObject<{
@@ -2978,6 +3118,486 @@ declare const IncidentDivergenceSchema: z.ZodObject<{
2978
3118
  summary: string;
2979
3119
  }>;
2980
3120
  type IncidentDivergence = z.infer<typeof IncidentDivergenceSchema>;
3121
+ declare const IncidentGradeGateSchema: z.ZodObject<{
3122
+ passed: z.ZodBoolean;
3123
+ evidence: z.ZodArray<z.ZodString, "many">;
3124
+ }, "strip", z.ZodTypeAny, {
3125
+ evidence: string[];
3126
+ passed: boolean;
3127
+ }, {
3128
+ evidence: string[];
3129
+ passed: boolean;
3130
+ }>;
3131
+ declare const IncidentGradeFactorSchema: z.ZodObject<{
3132
+ value: z.ZodNullable<z.ZodNumber>;
3133
+ weight: z.ZodNumber;
3134
+ evidence: z.ZodArray<z.ZodString, "many">;
3135
+ reason: z.ZodOptional<z.ZodString>;
3136
+ }, "strip", z.ZodTypeAny, {
3137
+ value: number | null;
3138
+ evidence: string[];
3139
+ weight: number;
3140
+ reason?: string | undefined;
3141
+ }, {
3142
+ value: number | null;
3143
+ evidence: string[];
3144
+ weight: number;
3145
+ reason?: string | undefined;
3146
+ }>;
3147
+ declare const IncidentGradeBandSchema: z.ZodEnum<["full", "diagnose-only", "out"]>;
3148
+ declare const IncidentGradeSchema: z.ZodObject<{
3149
+ G: z.ZodNumber;
3150
+ gamma: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
3151
+ gates: z.ZodObject<{
3152
+ policyNotBlock: z.ZodObject<{
3153
+ passed: z.ZodBoolean;
3154
+ evidence: z.ZodArray<z.ZodString, "many">;
3155
+ }, "strip", z.ZodTypeAny, {
3156
+ evidence: string[];
3157
+ passed: boolean;
3158
+ }, {
3159
+ evidence: string[];
3160
+ passed: boolean;
3161
+ }>;
3162
+ notSymptomOnly: z.ZodObject<{
3163
+ passed: z.ZodBoolean;
3164
+ evidence: z.ZodArray<z.ZodString, "many">;
3165
+ }, "strip", z.ZodTypeAny, {
3166
+ evidence: string[];
3167
+ passed: boolean;
3168
+ }, {
3169
+ evidence: string[];
3170
+ passed: boolean;
3171
+ }>;
3172
+ locusResolves: z.ZodObject<{
3173
+ passed: z.ZodBoolean;
3174
+ evidence: z.ZodArray<z.ZodString, "many">;
3175
+ }, "strip", z.ZodTypeAny, {
3176
+ evidence: string[];
3177
+ passed: boolean;
3178
+ }, {
3179
+ evidence: string[];
3180
+ passed: boolean;
3181
+ }>;
3182
+ }, "strip", z.ZodTypeAny, {
3183
+ policyNotBlock: {
3184
+ evidence: string[];
3185
+ passed: boolean;
3186
+ };
3187
+ notSymptomOnly: {
3188
+ evidence: string[];
3189
+ passed: boolean;
3190
+ };
3191
+ locusResolves: {
3192
+ evidence: string[];
3193
+ passed: boolean;
3194
+ };
3195
+ }, {
3196
+ policyNotBlock: {
3197
+ evidence: string[];
3198
+ passed: boolean;
3199
+ };
3200
+ notSymptomOnly: {
3201
+ evidence: string[];
3202
+ passed: boolean;
3203
+ };
3204
+ locusResolves: {
3205
+ evidence: string[];
3206
+ passed: boolean;
3207
+ };
3208
+ }>;
3209
+ C: z.ZodNumber;
3210
+ factors: z.ZodObject<{
3211
+ evidence: z.ZodObject<{
3212
+ value: z.ZodNullable<z.ZodNumber>;
3213
+ weight: z.ZodNumber;
3214
+ evidence: z.ZodArray<z.ZodString, "many">;
3215
+ reason: z.ZodOptional<z.ZodString>;
3216
+ }, "strip", z.ZodTypeAny, {
3217
+ value: number | null;
3218
+ evidence: string[];
3219
+ weight: number;
3220
+ reason?: string | undefined;
3221
+ }, {
3222
+ value: number | null;
3223
+ evidence: string[];
3224
+ weight: number;
3225
+ reason?: string | undefined;
3226
+ }>;
3227
+ locus: z.ZodObject<{
3228
+ value: z.ZodNullable<z.ZodNumber>;
3229
+ weight: z.ZodNumber;
3230
+ evidence: z.ZodArray<z.ZodString, "many">;
3231
+ reason: z.ZodOptional<z.ZodString>;
3232
+ }, "strip", z.ZodTypeAny, {
3233
+ value: number | null;
3234
+ evidence: string[];
3235
+ weight: number;
3236
+ reason?: string | undefined;
3237
+ }, {
3238
+ value: number | null;
3239
+ evidence: string[];
3240
+ weight: number;
3241
+ reason?: string | undefined;
3242
+ }>;
3243
+ tests: z.ZodObject<{
3244
+ value: z.ZodNullable<z.ZodNumber>;
3245
+ weight: z.ZodNumber;
3246
+ evidence: z.ZodArray<z.ZodString, "many">;
3247
+ reason: z.ZodOptional<z.ZodString>;
3248
+ }, "strip", z.ZodTypeAny, {
3249
+ value: number | null;
3250
+ evidence: string[];
3251
+ weight: number;
3252
+ reason?: string | undefined;
3253
+ }, {
3254
+ value: number | null;
3255
+ evidence: string[];
3256
+ weight: number;
3257
+ reason?: string | undefined;
3258
+ }>;
3259
+ reach: z.ZodObject<{
3260
+ value: z.ZodNullable<z.ZodNumber>;
3261
+ weight: z.ZodNumber;
3262
+ evidence: z.ZodArray<z.ZodString, "many">;
3263
+ reason: z.ZodOptional<z.ZodString>;
3264
+ }, "strip", z.ZodTypeAny, {
3265
+ value: number | null;
3266
+ evidence: string[];
3267
+ weight: number;
3268
+ reason?: string | undefined;
3269
+ }, {
3270
+ value: number | null;
3271
+ evidence: string[];
3272
+ weight: number;
3273
+ reason?: string | undefined;
3274
+ }>;
3275
+ kind: z.ZodObject<{
3276
+ value: z.ZodNullable<z.ZodNumber>;
3277
+ weight: z.ZodNumber;
3278
+ evidence: z.ZodArray<z.ZodString, "many">;
3279
+ reason: z.ZodOptional<z.ZodString>;
3280
+ }, "strip", z.ZodTypeAny, {
3281
+ value: number | null;
3282
+ evidence: string[];
3283
+ weight: number;
3284
+ reason?: string | undefined;
3285
+ }, {
3286
+ value: number | null;
3287
+ evidence: string[];
3288
+ weight: number;
3289
+ reason?: string | undefined;
3290
+ }>;
3291
+ chain: z.ZodObject<{
3292
+ value: z.ZodNullable<z.ZodNumber>;
3293
+ weight: z.ZodNumber;
3294
+ evidence: z.ZodArray<z.ZodString, "many">;
3295
+ reason: z.ZodOptional<z.ZodString>;
3296
+ }, "strip", z.ZodTypeAny, {
3297
+ value: number | null;
3298
+ evidence: string[];
3299
+ weight: number;
3300
+ reason?: string | undefined;
3301
+ }, {
3302
+ value: number | null;
3303
+ evidence: string[];
3304
+ weight: number;
3305
+ reason?: string | undefined;
3306
+ }>;
3307
+ recur: z.ZodObject<{
3308
+ value: z.ZodNullable<z.ZodNumber>;
3309
+ weight: z.ZodNumber;
3310
+ evidence: z.ZodArray<z.ZodString, "many">;
3311
+ reason: z.ZodOptional<z.ZodString>;
3312
+ }, "strip", z.ZodTypeAny, {
3313
+ value: number | null;
3314
+ evidence: string[];
3315
+ weight: number;
3316
+ reason?: string | undefined;
3317
+ }, {
3318
+ value: number | null;
3319
+ evidence: string[];
3320
+ weight: number;
3321
+ reason?: string | undefined;
3322
+ }>;
3323
+ div: z.ZodObject<{
3324
+ value: z.ZodNullable<z.ZodNumber>;
3325
+ weight: z.ZodNumber;
3326
+ evidence: z.ZodArray<z.ZodString, "many">;
3327
+ reason: z.ZodOptional<z.ZodString>;
3328
+ }, "strip", z.ZodTypeAny, {
3329
+ value: number | null;
3330
+ evidence: string[];
3331
+ weight: number;
3332
+ reason?: string | undefined;
3333
+ }, {
3334
+ value: number | null;
3335
+ evidence: string[];
3336
+ weight: number;
3337
+ reason?: string | undefined;
3338
+ }>;
3339
+ }, "strip", z.ZodTypeAny, {
3340
+ evidence: {
3341
+ value: number | null;
3342
+ evidence: string[];
3343
+ weight: number;
3344
+ reason?: string | undefined;
3345
+ };
3346
+ kind: {
3347
+ value: number | null;
3348
+ evidence: string[];
3349
+ weight: number;
3350
+ reason?: string | undefined;
3351
+ };
3352
+ chain: {
3353
+ value: number | null;
3354
+ evidence: string[];
3355
+ weight: number;
3356
+ reason?: string | undefined;
3357
+ };
3358
+ locus: {
3359
+ value: number | null;
3360
+ evidence: string[];
3361
+ weight: number;
3362
+ reason?: string | undefined;
3363
+ };
3364
+ tests: {
3365
+ value: number | null;
3366
+ evidence: string[];
3367
+ weight: number;
3368
+ reason?: string | undefined;
3369
+ };
3370
+ reach: {
3371
+ value: number | null;
3372
+ evidence: string[];
3373
+ weight: number;
3374
+ reason?: string | undefined;
3375
+ };
3376
+ recur: {
3377
+ value: number | null;
3378
+ evidence: string[];
3379
+ weight: number;
3380
+ reason?: string | undefined;
3381
+ };
3382
+ div: {
3383
+ value: number | null;
3384
+ evidence: string[];
3385
+ weight: number;
3386
+ reason?: string | undefined;
3387
+ };
3388
+ }, {
3389
+ evidence: {
3390
+ value: number | null;
3391
+ evidence: string[];
3392
+ weight: number;
3393
+ reason?: string | undefined;
3394
+ };
3395
+ kind: {
3396
+ value: number | null;
3397
+ evidence: string[];
3398
+ weight: number;
3399
+ reason?: string | undefined;
3400
+ };
3401
+ chain: {
3402
+ value: number | null;
3403
+ evidence: string[];
3404
+ weight: number;
3405
+ reason?: string | undefined;
3406
+ };
3407
+ locus: {
3408
+ value: number | null;
3409
+ evidence: string[];
3410
+ weight: number;
3411
+ reason?: string | undefined;
3412
+ };
3413
+ tests: {
3414
+ value: number | null;
3415
+ evidence: string[];
3416
+ weight: number;
3417
+ reason?: string | undefined;
3418
+ };
3419
+ reach: {
3420
+ value: number | null;
3421
+ evidence: string[];
3422
+ weight: number;
3423
+ reason?: string | undefined;
3424
+ };
3425
+ recur: {
3426
+ value: number | null;
3427
+ evidence: string[];
3428
+ weight: number;
3429
+ reason?: string | undefined;
3430
+ };
3431
+ div: {
3432
+ value: number | null;
3433
+ evidence: string[];
3434
+ weight: number;
3435
+ reason?: string | undefined;
3436
+ };
3437
+ }>;
3438
+ band: z.ZodEnum<["full", "diagnose-only", "out"]>;
3439
+ urgency: z.ZodObject<{
3440
+ value: z.ZodNullable<z.ZodNumber>;
3441
+ reason: z.ZodOptional<z.ZodString>;
3442
+ }, "strip", z.ZodTypeAny, {
3443
+ value: number | null;
3444
+ reason?: string | undefined;
3445
+ }, {
3446
+ value: number | null;
3447
+ reason?: string | undefined;
3448
+ }>;
3449
+ priorsVersion: z.ZodString;
3450
+ }, "strip", z.ZodTypeAny, {
3451
+ G: number;
3452
+ gamma: 0 | 1;
3453
+ gates: {
3454
+ policyNotBlock: {
3455
+ evidence: string[];
3456
+ passed: boolean;
3457
+ };
3458
+ notSymptomOnly: {
3459
+ evidence: string[];
3460
+ passed: boolean;
3461
+ };
3462
+ locusResolves: {
3463
+ evidence: string[];
3464
+ passed: boolean;
3465
+ };
3466
+ };
3467
+ C: number;
3468
+ factors: {
3469
+ evidence: {
3470
+ value: number | null;
3471
+ evidence: string[];
3472
+ weight: number;
3473
+ reason?: string | undefined;
3474
+ };
3475
+ kind: {
3476
+ value: number | null;
3477
+ evidence: string[];
3478
+ weight: number;
3479
+ reason?: string | undefined;
3480
+ };
3481
+ chain: {
3482
+ value: number | null;
3483
+ evidence: string[];
3484
+ weight: number;
3485
+ reason?: string | undefined;
3486
+ };
3487
+ locus: {
3488
+ value: number | null;
3489
+ evidence: string[];
3490
+ weight: number;
3491
+ reason?: string | undefined;
3492
+ };
3493
+ tests: {
3494
+ value: number | null;
3495
+ evidence: string[];
3496
+ weight: number;
3497
+ reason?: string | undefined;
3498
+ };
3499
+ reach: {
3500
+ value: number | null;
3501
+ evidence: string[];
3502
+ weight: number;
3503
+ reason?: string | undefined;
3504
+ };
3505
+ recur: {
3506
+ value: number | null;
3507
+ evidence: string[];
3508
+ weight: number;
3509
+ reason?: string | undefined;
3510
+ };
3511
+ div: {
3512
+ value: number | null;
3513
+ evidence: string[];
3514
+ weight: number;
3515
+ reason?: string | undefined;
3516
+ };
3517
+ };
3518
+ band: "full" | "diagnose-only" | "out";
3519
+ urgency: {
3520
+ value: number | null;
3521
+ reason?: string | undefined;
3522
+ };
3523
+ priorsVersion: string;
3524
+ }, {
3525
+ G: number;
3526
+ gamma: 0 | 1;
3527
+ gates: {
3528
+ policyNotBlock: {
3529
+ evidence: string[];
3530
+ passed: boolean;
3531
+ };
3532
+ notSymptomOnly: {
3533
+ evidence: string[];
3534
+ passed: boolean;
3535
+ };
3536
+ locusResolves: {
3537
+ evidence: string[];
3538
+ passed: boolean;
3539
+ };
3540
+ };
3541
+ C: number;
3542
+ factors: {
3543
+ evidence: {
3544
+ value: number | null;
3545
+ evidence: string[];
3546
+ weight: number;
3547
+ reason?: string | undefined;
3548
+ };
3549
+ kind: {
3550
+ value: number | null;
3551
+ evidence: string[];
3552
+ weight: number;
3553
+ reason?: string | undefined;
3554
+ };
3555
+ chain: {
3556
+ value: number | null;
3557
+ evidence: string[];
3558
+ weight: number;
3559
+ reason?: string | undefined;
3560
+ };
3561
+ locus: {
3562
+ value: number | null;
3563
+ evidence: string[];
3564
+ weight: number;
3565
+ reason?: string | undefined;
3566
+ };
3567
+ tests: {
3568
+ value: number | null;
3569
+ evidence: string[];
3570
+ weight: number;
3571
+ reason?: string | undefined;
3572
+ };
3573
+ reach: {
3574
+ value: number | null;
3575
+ evidence: string[];
3576
+ weight: number;
3577
+ reason?: string | undefined;
3578
+ };
3579
+ recur: {
3580
+ value: number | null;
3581
+ evidence: string[];
3582
+ weight: number;
3583
+ reason?: string | undefined;
3584
+ };
3585
+ div: {
3586
+ value: number | null;
3587
+ evidence: string[];
3588
+ weight: number;
3589
+ reason?: string | undefined;
3590
+ };
3591
+ };
3592
+ band: "full" | "diagnose-only" | "out";
3593
+ urgency: {
3594
+ value: number | null;
3595
+ reason?: string | undefined;
3596
+ };
3597
+ priorsVersion: string;
3598
+ }>;
3599
+ type IncidentGrade = z.infer<typeof IncidentGradeSchema>;
3600
+ type IncidentGradeFactor = z.infer<typeof IncidentGradeFactorSchema>;
2981
3601
  declare const IncidentCardSchema: z.ZodObject<{
2982
3602
  kind: z.ZodLiteral<"incident">;
2983
3603
  id: z.ZodString;
@@ -3109,14 +3729,17 @@ declare const IncidentCardSchema: z.ZodObject<{
3109
3729
  policyName: z.ZodString;
3110
3730
  severity: z.ZodString;
3111
3731
  message: z.ZodOptional<z.ZodString>;
3732
+ onViolation: z.ZodOptional<z.ZodEnum<["log", "alert", "block"]>>;
3112
3733
  }, "strip", z.ZodTypeAny, {
3113
3734
  severity: string;
3114
3735
  policyName: string;
3115
3736
  message?: string | undefined;
3737
+ onViolation?: "log" | "alert" | "block" | undefined;
3116
3738
  }, {
3117
3739
  severity: string;
3118
3740
  policyName: string;
3119
3741
  message?: string | undefined;
3742
+ onViolation?: "log" | "alert" | "block" | undefined;
3120
3743
  }>, "many">>;
3121
3744
  divergence: z.ZodOptional<z.ZodArray<z.ZodObject<{
3122
3745
  type: z.ZodString;
@@ -3129,6 +3752,457 @@ declare const IncidentCardSchema: z.ZodObject<{
3129
3752
  summary: string;
3130
3753
  }>, "many">>;
3131
3754
  headline: z.ZodString;
3755
+ grade: z.ZodOptional<z.ZodObject<{
3756
+ G: z.ZodNumber;
3757
+ gamma: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
3758
+ gates: z.ZodObject<{
3759
+ policyNotBlock: z.ZodObject<{
3760
+ passed: z.ZodBoolean;
3761
+ evidence: z.ZodArray<z.ZodString, "many">;
3762
+ }, "strip", z.ZodTypeAny, {
3763
+ evidence: string[];
3764
+ passed: boolean;
3765
+ }, {
3766
+ evidence: string[];
3767
+ passed: boolean;
3768
+ }>;
3769
+ notSymptomOnly: z.ZodObject<{
3770
+ passed: z.ZodBoolean;
3771
+ evidence: z.ZodArray<z.ZodString, "many">;
3772
+ }, "strip", z.ZodTypeAny, {
3773
+ evidence: string[];
3774
+ passed: boolean;
3775
+ }, {
3776
+ evidence: string[];
3777
+ passed: boolean;
3778
+ }>;
3779
+ locusResolves: z.ZodObject<{
3780
+ passed: z.ZodBoolean;
3781
+ evidence: z.ZodArray<z.ZodString, "many">;
3782
+ }, "strip", z.ZodTypeAny, {
3783
+ evidence: string[];
3784
+ passed: boolean;
3785
+ }, {
3786
+ evidence: string[];
3787
+ passed: boolean;
3788
+ }>;
3789
+ }, "strip", z.ZodTypeAny, {
3790
+ policyNotBlock: {
3791
+ evidence: string[];
3792
+ passed: boolean;
3793
+ };
3794
+ notSymptomOnly: {
3795
+ evidence: string[];
3796
+ passed: boolean;
3797
+ };
3798
+ locusResolves: {
3799
+ evidence: string[];
3800
+ passed: boolean;
3801
+ };
3802
+ }, {
3803
+ policyNotBlock: {
3804
+ evidence: string[];
3805
+ passed: boolean;
3806
+ };
3807
+ notSymptomOnly: {
3808
+ evidence: string[];
3809
+ passed: boolean;
3810
+ };
3811
+ locusResolves: {
3812
+ evidence: string[];
3813
+ passed: boolean;
3814
+ };
3815
+ }>;
3816
+ C: z.ZodNumber;
3817
+ factors: z.ZodObject<{
3818
+ evidence: z.ZodObject<{
3819
+ value: z.ZodNullable<z.ZodNumber>;
3820
+ weight: z.ZodNumber;
3821
+ evidence: z.ZodArray<z.ZodString, "many">;
3822
+ reason: z.ZodOptional<z.ZodString>;
3823
+ }, "strip", z.ZodTypeAny, {
3824
+ value: number | null;
3825
+ evidence: string[];
3826
+ weight: number;
3827
+ reason?: string | undefined;
3828
+ }, {
3829
+ value: number | null;
3830
+ evidence: string[];
3831
+ weight: number;
3832
+ reason?: string | undefined;
3833
+ }>;
3834
+ locus: z.ZodObject<{
3835
+ value: z.ZodNullable<z.ZodNumber>;
3836
+ weight: z.ZodNumber;
3837
+ evidence: z.ZodArray<z.ZodString, "many">;
3838
+ reason: z.ZodOptional<z.ZodString>;
3839
+ }, "strip", z.ZodTypeAny, {
3840
+ value: number | null;
3841
+ evidence: string[];
3842
+ weight: number;
3843
+ reason?: string | undefined;
3844
+ }, {
3845
+ value: number | null;
3846
+ evidence: string[];
3847
+ weight: number;
3848
+ reason?: string | undefined;
3849
+ }>;
3850
+ tests: z.ZodObject<{
3851
+ value: z.ZodNullable<z.ZodNumber>;
3852
+ weight: z.ZodNumber;
3853
+ evidence: z.ZodArray<z.ZodString, "many">;
3854
+ reason: z.ZodOptional<z.ZodString>;
3855
+ }, "strip", z.ZodTypeAny, {
3856
+ value: number | null;
3857
+ evidence: string[];
3858
+ weight: number;
3859
+ reason?: string | undefined;
3860
+ }, {
3861
+ value: number | null;
3862
+ evidence: string[];
3863
+ weight: number;
3864
+ reason?: string | undefined;
3865
+ }>;
3866
+ reach: z.ZodObject<{
3867
+ value: z.ZodNullable<z.ZodNumber>;
3868
+ weight: z.ZodNumber;
3869
+ evidence: z.ZodArray<z.ZodString, "many">;
3870
+ reason: z.ZodOptional<z.ZodString>;
3871
+ }, "strip", z.ZodTypeAny, {
3872
+ value: number | null;
3873
+ evidence: string[];
3874
+ weight: number;
3875
+ reason?: string | undefined;
3876
+ }, {
3877
+ value: number | null;
3878
+ evidence: string[];
3879
+ weight: number;
3880
+ reason?: string | undefined;
3881
+ }>;
3882
+ kind: z.ZodObject<{
3883
+ value: z.ZodNullable<z.ZodNumber>;
3884
+ weight: z.ZodNumber;
3885
+ evidence: z.ZodArray<z.ZodString, "many">;
3886
+ reason: z.ZodOptional<z.ZodString>;
3887
+ }, "strip", z.ZodTypeAny, {
3888
+ value: number | null;
3889
+ evidence: string[];
3890
+ weight: number;
3891
+ reason?: string | undefined;
3892
+ }, {
3893
+ value: number | null;
3894
+ evidence: string[];
3895
+ weight: number;
3896
+ reason?: string | undefined;
3897
+ }>;
3898
+ chain: z.ZodObject<{
3899
+ value: z.ZodNullable<z.ZodNumber>;
3900
+ weight: z.ZodNumber;
3901
+ evidence: z.ZodArray<z.ZodString, "many">;
3902
+ reason: z.ZodOptional<z.ZodString>;
3903
+ }, "strip", z.ZodTypeAny, {
3904
+ value: number | null;
3905
+ evidence: string[];
3906
+ weight: number;
3907
+ reason?: string | undefined;
3908
+ }, {
3909
+ value: number | null;
3910
+ evidence: string[];
3911
+ weight: number;
3912
+ reason?: string | undefined;
3913
+ }>;
3914
+ recur: z.ZodObject<{
3915
+ value: z.ZodNullable<z.ZodNumber>;
3916
+ weight: z.ZodNumber;
3917
+ evidence: z.ZodArray<z.ZodString, "many">;
3918
+ reason: z.ZodOptional<z.ZodString>;
3919
+ }, "strip", z.ZodTypeAny, {
3920
+ value: number | null;
3921
+ evidence: string[];
3922
+ weight: number;
3923
+ reason?: string | undefined;
3924
+ }, {
3925
+ value: number | null;
3926
+ evidence: string[];
3927
+ weight: number;
3928
+ reason?: string | undefined;
3929
+ }>;
3930
+ div: z.ZodObject<{
3931
+ value: z.ZodNullable<z.ZodNumber>;
3932
+ weight: z.ZodNumber;
3933
+ evidence: z.ZodArray<z.ZodString, "many">;
3934
+ reason: z.ZodOptional<z.ZodString>;
3935
+ }, "strip", z.ZodTypeAny, {
3936
+ value: number | null;
3937
+ evidence: string[];
3938
+ weight: number;
3939
+ reason?: string | undefined;
3940
+ }, {
3941
+ value: number | null;
3942
+ evidence: string[];
3943
+ weight: number;
3944
+ reason?: string | undefined;
3945
+ }>;
3946
+ }, "strip", z.ZodTypeAny, {
3947
+ evidence: {
3948
+ value: number | null;
3949
+ evidence: string[];
3950
+ weight: number;
3951
+ reason?: string | undefined;
3952
+ };
3953
+ kind: {
3954
+ value: number | null;
3955
+ evidence: string[];
3956
+ weight: number;
3957
+ reason?: string | undefined;
3958
+ };
3959
+ chain: {
3960
+ value: number | null;
3961
+ evidence: string[];
3962
+ weight: number;
3963
+ reason?: string | undefined;
3964
+ };
3965
+ locus: {
3966
+ value: number | null;
3967
+ evidence: string[];
3968
+ weight: number;
3969
+ reason?: string | undefined;
3970
+ };
3971
+ tests: {
3972
+ value: number | null;
3973
+ evidence: string[];
3974
+ weight: number;
3975
+ reason?: string | undefined;
3976
+ };
3977
+ reach: {
3978
+ value: number | null;
3979
+ evidence: string[];
3980
+ weight: number;
3981
+ reason?: string | undefined;
3982
+ };
3983
+ recur: {
3984
+ value: number | null;
3985
+ evidence: string[];
3986
+ weight: number;
3987
+ reason?: string | undefined;
3988
+ };
3989
+ div: {
3990
+ value: number | null;
3991
+ evidence: string[];
3992
+ weight: number;
3993
+ reason?: string | undefined;
3994
+ };
3995
+ }, {
3996
+ evidence: {
3997
+ value: number | null;
3998
+ evidence: string[];
3999
+ weight: number;
4000
+ reason?: string | undefined;
4001
+ };
4002
+ kind: {
4003
+ value: number | null;
4004
+ evidence: string[];
4005
+ weight: number;
4006
+ reason?: string | undefined;
4007
+ };
4008
+ chain: {
4009
+ value: number | null;
4010
+ evidence: string[];
4011
+ weight: number;
4012
+ reason?: string | undefined;
4013
+ };
4014
+ locus: {
4015
+ value: number | null;
4016
+ evidence: string[];
4017
+ weight: number;
4018
+ reason?: string | undefined;
4019
+ };
4020
+ tests: {
4021
+ value: number | null;
4022
+ evidence: string[];
4023
+ weight: number;
4024
+ reason?: string | undefined;
4025
+ };
4026
+ reach: {
4027
+ value: number | null;
4028
+ evidence: string[];
4029
+ weight: number;
4030
+ reason?: string | undefined;
4031
+ };
4032
+ recur: {
4033
+ value: number | null;
4034
+ evidence: string[];
4035
+ weight: number;
4036
+ reason?: string | undefined;
4037
+ };
4038
+ div: {
4039
+ value: number | null;
4040
+ evidence: string[];
4041
+ weight: number;
4042
+ reason?: string | undefined;
4043
+ };
4044
+ }>;
4045
+ band: z.ZodEnum<["full", "diagnose-only", "out"]>;
4046
+ urgency: z.ZodObject<{
4047
+ value: z.ZodNullable<z.ZodNumber>;
4048
+ reason: z.ZodOptional<z.ZodString>;
4049
+ }, "strip", z.ZodTypeAny, {
4050
+ value: number | null;
4051
+ reason?: string | undefined;
4052
+ }, {
4053
+ value: number | null;
4054
+ reason?: string | undefined;
4055
+ }>;
4056
+ priorsVersion: z.ZodString;
4057
+ }, "strip", z.ZodTypeAny, {
4058
+ G: number;
4059
+ gamma: 0 | 1;
4060
+ gates: {
4061
+ policyNotBlock: {
4062
+ evidence: string[];
4063
+ passed: boolean;
4064
+ };
4065
+ notSymptomOnly: {
4066
+ evidence: string[];
4067
+ passed: boolean;
4068
+ };
4069
+ locusResolves: {
4070
+ evidence: string[];
4071
+ passed: boolean;
4072
+ };
4073
+ };
4074
+ C: number;
4075
+ factors: {
4076
+ evidence: {
4077
+ value: number | null;
4078
+ evidence: string[];
4079
+ weight: number;
4080
+ reason?: string | undefined;
4081
+ };
4082
+ kind: {
4083
+ value: number | null;
4084
+ evidence: string[];
4085
+ weight: number;
4086
+ reason?: string | undefined;
4087
+ };
4088
+ chain: {
4089
+ value: number | null;
4090
+ evidence: string[];
4091
+ weight: number;
4092
+ reason?: string | undefined;
4093
+ };
4094
+ locus: {
4095
+ value: number | null;
4096
+ evidence: string[];
4097
+ weight: number;
4098
+ reason?: string | undefined;
4099
+ };
4100
+ tests: {
4101
+ value: number | null;
4102
+ evidence: string[];
4103
+ weight: number;
4104
+ reason?: string | undefined;
4105
+ };
4106
+ reach: {
4107
+ value: number | null;
4108
+ evidence: string[];
4109
+ weight: number;
4110
+ reason?: string | undefined;
4111
+ };
4112
+ recur: {
4113
+ value: number | null;
4114
+ evidence: string[];
4115
+ weight: number;
4116
+ reason?: string | undefined;
4117
+ };
4118
+ div: {
4119
+ value: number | null;
4120
+ evidence: string[];
4121
+ weight: number;
4122
+ reason?: string | undefined;
4123
+ };
4124
+ };
4125
+ band: "full" | "diagnose-only" | "out";
4126
+ urgency: {
4127
+ value: number | null;
4128
+ reason?: string | undefined;
4129
+ };
4130
+ priorsVersion: string;
4131
+ }, {
4132
+ G: number;
4133
+ gamma: 0 | 1;
4134
+ gates: {
4135
+ policyNotBlock: {
4136
+ evidence: string[];
4137
+ passed: boolean;
4138
+ };
4139
+ notSymptomOnly: {
4140
+ evidence: string[];
4141
+ passed: boolean;
4142
+ };
4143
+ locusResolves: {
4144
+ evidence: string[];
4145
+ passed: boolean;
4146
+ };
4147
+ };
4148
+ C: number;
4149
+ factors: {
4150
+ evidence: {
4151
+ value: number | null;
4152
+ evidence: string[];
4153
+ weight: number;
4154
+ reason?: string | undefined;
4155
+ };
4156
+ kind: {
4157
+ value: number | null;
4158
+ evidence: string[];
4159
+ weight: number;
4160
+ reason?: string | undefined;
4161
+ };
4162
+ chain: {
4163
+ value: number | null;
4164
+ evidence: string[];
4165
+ weight: number;
4166
+ reason?: string | undefined;
4167
+ };
4168
+ locus: {
4169
+ value: number | null;
4170
+ evidence: string[];
4171
+ weight: number;
4172
+ reason?: string | undefined;
4173
+ };
4174
+ tests: {
4175
+ value: number | null;
4176
+ evidence: string[];
4177
+ weight: number;
4178
+ reason?: string | undefined;
4179
+ };
4180
+ reach: {
4181
+ value: number | null;
4182
+ evidence: string[];
4183
+ weight: number;
4184
+ reason?: string | undefined;
4185
+ };
4186
+ recur: {
4187
+ value: number | null;
4188
+ evidence: string[];
4189
+ weight: number;
4190
+ reason?: string | undefined;
4191
+ };
4192
+ div: {
4193
+ value: number | null;
4194
+ evidence: string[];
4195
+ weight: number;
4196
+ reason?: string | undefined;
4197
+ };
4198
+ };
4199
+ band: "full" | "diagnose-only" | "out";
4200
+ urgency: {
4201
+ value: number | null;
4202
+ reason?: string | undefined;
4203
+ };
4204
+ priorsVersion: string;
4205
+ }>>;
3132
4206
  }, "strip", z.ZodTypeAny, {
3133
4207
  message: string;
3134
4208
  at: string;
@@ -3136,7 +4210,6 @@ declare const IncidentCardSchema: z.ZodObject<{
3136
4210
  service: string;
3137
4211
  kind: "incident";
3138
4212
  affectedNode: string;
3139
- incidentKind: "exception" | "5xx" | "4xx-burst" | "status-error" | "connector";
3140
4213
  locus: {
3141
4214
  file: string;
3142
4215
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | "FRONTIER";
@@ -3145,6 +4218,7 @@ declare const IncidentCardSchema: z.ZodObject<{
3145
4218
  lineStart?: number | undefined;
3146
4219
  lineEnd?: number | undefined;
3147
4220
  } | null;
4221
+ incidentKind: "exception" | "5xx" | "4xx-burst" | "status-error" | "connector";
3148
4222
  rootCause: {
3149
4223
  reason: string;
3150
4224
  confidence: number;
@@ -3160,10 +4234,10 @@ declare const IncidentCardSchema: z.ZodObject<{
3160
4234
  fix?: string | null | undefined;
3161
4235
  } | null;
3162
4236
  headline: string;
3163
- traceId?: string | undefined;
3164
- spanId?: string | undefined;
3165
4237
  exceptionType?: string | undefined;
3166
4238
  httpStatusCode?: number | undefined;
4239
+ traceId?: string | undefined;
4240
+ spanId?: string | undefined;
3167
4241
  window?: {
3168
4242
  first: string;
3169
4243
  last: string;
@@ -3185,7 +4259,83 @@ declare const IncidentCardSchema: z.ZodObject<{
3185
4259
  severity: string;
3186
4260
  policyName: string;
3187
4261
  message?: string | undefined;
4262
+ onViolation?: "log" | "alert" | "block" | undefined;
3188
4263
  }[] | undefined;
4264
+ grade?: {
4265
+ G: number;
4266
+ gamma: 0 | 1;
4267
+ gates: {
4268
+ policyNotBlock: {
4269
+ evidence: string[];
4270
+ passed: boolean;
4271
+ };
4272
+ notSymptomOnly: {
4273
+ evidence: string[];
4274
+ passed: boolean;
4275
+ };
4276
+ locusResolves: {
4277
+ evidence: string[];
4278
+ passed: boolean;
4279
+ };
4280
+ };
4281
+ C: number;
4282
+ factors: {
4283
+ evidence: {
4284
+ value: number | null;
4285
+ evidence: string[];
4286
+ weight: number;
4287
+ reason?: string | undefined;
4288
+ };
4289
+ kind: {
4290
+ value: number | null;
4291
+ evidence: string[];
4292
+ weight: number;
4293
+ reason?: string | undefined;
4294
+ };
4295
+ chain: {
4296
+ value: number | null;
4297
+ evidence: string[];
4298
+ weight: number;
4299
+ reason?: string | undefined;
4300
+ };
4301
+ locus: {
4302
+ value: number | null;
4303
+ evidence: string[];
4304
+ weight: number;
4305
+ reason?: string | undefined;
4306
+ };
4307
+ tests: {
4308
+ value: number | null;
4309
+ evidence: string[];
4310
+ weight: number;
4311
+ reason?: string | undefined;
4312
+ };
4313
+ reach: {
4314
+ value: number | null;
4315
+ evidence: string[];
4316
+ weight: number;
4317
+ reason?: string | undefined;
4318
+ };
4319
+ recur: {
4320
+ value: number | null;
4321
+ evidence: string[];
4322
+ weight: number;
4323
+ reason?: string | undefined;
4324
+ };
4325
+ div: {
4326
+ value: number | null;
4327
+ evidence: string[];
4328
+ weight: number;
4329
+ reason?: string | undefined;
4330
+ };
4331
+ };
4332
+ band: "full" | "diagnose-only" | "out";
4333
+ urgency: {
4334
+ value: number | null;
4335
+ reason?: string | undefined;
4336
+ };
4337
+ priorsVersion: string;
4338
+ } | undefined;
3189
4339
  }, {
3190
4340
  message: string;
3191
4341
  at: string;
@@ -3193,7 +4343,6 @@ declare const IncidentCardSchema: z.ZodObject<{
3193
4343
  service: string;
3194
4344
  kind: "incident";
3195
4345
  affectedNode: string;
3196
- incidentKind: "exception" | "5xx" | "4xx-burst" | "status-error" | "connector";
3197
4346
  locus: {
3198
4347
  file: string;
3199
4348
  provenance: "EXTRACTED" | "INFERRED" | "OBSERVED" | "STALE" | "FRONTIER";
@@ -3202,6 +4351,7 @@ declare const IncidentCardSchema: z.ZodObject<{
3202
4351
  lineStart?: number | undefined;
3203
4352
  lineEnd?: number | undefined;
3204
4353
  } | null;
4354
+ incidentKind: "exception" | "5xx" | "4xx-burst" | "status-error" | "connector";
3205
4355
  rootCause: {
3206
4356
  reason: string;
3207
4357
  confidence: number;
@@ -3217,10 +4367,10 @@ declare const IncidentCardSchema: z.ZodObject<{
3217
4367
  fix?: string | null | undefined;
3218
4368
  } | null;
3219
4369
  headline: string;
3220
- traceId?: string | undefined;
3221
- spanId?: string | undefined;
3222
4370
  exceptionType?: string | undefined;
3223
4371
  httpStatusCode?: number | undefined;
4372
+ traceId?: string | undefined;
4373
+ spanId?: string | undefined;
3224
4374
  window?: {
3225
4375
  first: string;
3226
4376
  last: string;
@@ -3242,7 +4392,83 @@ declare const IncidentCardSchema: z.ZodObject<{
3242
4392
  severity: string;
3243
4393
  policyName: string;
3244
4394
  message?: string | undefined;
4395
+ onViolation?: "log" | "alert" | "block" | undefined;
3245
4396
  }[] | undefined;
4397
+ grade?: {
4398
+ G: number;
4399
+ gamma: 0 | 1;
4400
+ gates: {
4401
+ policyNotBlock: {
4402
+ evidence: string[];
4403
+ passed: boolean;
4404
+ };
4405
+ notSymptomOnly: {
4406
+ evidence: string[];
4407
+ passed: boolean;
4408
+ };
4409
+ locusResolves: {
4410
+ evidence: string[];
4411
+ passed: boolean;
4412
+ };
4413
+ };
4414
+ C: number;
4415
+ factors: {
4416
+ evidence: {
4417
+ value: number | null;
4418
+ evidence: string[];
4419
+ weight: number;
4420
+ reason?: string | undefined;
4421
+ };
4422
+ kind: {
4423
+ value: number | null;
4424
+ evidence: string[];
4425
+ weight: number;
4426
+ reason?: string | undefined;
4427
+ };
4428
+ chain: {
4429
+ value: number | null;
4430
+ evidence: string[];
4431
+ weight: number;
4432
+ reason?: string | undefined;
4433
+ };
4434
+ locus: {
4435
+ value: number | null;
4436
+ evidence: string[];
4437
+ weight: number;
4438
+ reason?: string | undefined;
4439
+ };
4440
+ tests: {
4441
+ value: number | null;
4442
+ evidence: string[];
4443
+ weight: number;
4444
+ reason?: string | undefined;
4445
+ };
4446
+ reach: {
4447
+ value: number | null;
4448
+ evidence: string[];
4449
+ weight: number;
4450
+ reason?: string | undefined;
4451
+ };
4452
+ recur: {
4453
+ value: number | null;
4454
+ evidence: string[];
4455
+ weight: number;
4456
+ reason?: string | undefined;
4457
+ };
4458
+ div: {
4459
+ value: number | null;
4460
+ evidence: string[];
4461
+ weight: number;
4462
+ reason?: string | undefined;
4463
+ };
4464
+ };
4465
+ band: "full" | "diagnose-only" | "out";
4466
+ urgency: {
4467
+ value: number | null;
4468
+ reason?: string | undefined;
4469
+ };
4470
+ priorsVersion: string;
4471
+ } | undefined;
3246
4472
  }>;
3247
4473
  type IncidentCard = z.infer<typeof IncidentCardSchema>;
3248
4474
  declare const IncidentEventPayloadSchema: z.ZodObject<{
@@ -3646,8 +4872,8 @@ declare const PolicySchema: z.ZodObject<{
3646
4872
  id: string;
3647
4873
  name: string;
3648
4874
  severity: "info" | "warning" | "error" | "critical";
3649
- description?: string | undefined;
3650
4875
  onViolation?: "log" | "alert" | "block" | undefined;
4876
+ description?: string | undefined;
3651
4877
  }, {
3652
4878
  rule: {
3653
4879
  type: "structural";
@@ -3681,8 +4907,8 @@ declare const PolicySchema: z.ZodObject<{
3681
4907
  id: string;
3682
4908
  name: string;
3683
4909
  severity: "info" | "warning" | "error" | "critical";
3684
- description?: string | undefined;
3685
4910
  onViolation?: "log" | "alert" | "block" | undefined;
4911
+ description?: string | undefined;
3686
4912
  }>;
3687
4913
  type Policy = z.infer<typeof PolicySchema>;
3688
4914
  declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
@@ -3811,8 +5037,8 @@ declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
3811
5037
  id: string;
3812
5038
  name: string;
3813
5039
  severity: "info" | "warning" | "error" | "critical";
3814
- description?: string | undefined;
3815
5040
  onViolation?: "log" | "alert" | "block" | undefined;
5041
+ description?: string | undefined;
3816
5042
  }, {
3817
5043
  rule: {
3818
5044
  type: "structural";
@@ -3846,8 +5072,8 @@ declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
3846
5072
  id: string;
3847
5073
  name: string;
3848
5074
  severity: "info" | "warning" | "error" | "critical";
3849
- description?: string | undefined;
3850
5075
  onViolation?: "log" | "alert" | "block" | undefined;
5076
+ description?: string | undefined;
3851
5077
  }>, "many">;
3852
5078
  }, "strip", z.ZodTypeAny, {
3853
5079
  version: 1;
@@ -3884,8 +5110,8 @@ declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
3884
5110
  id: string;
3885
5111
  name: string;
3886
5112
  severity: "info" | "warning" | "error" | "critical";
3887
- description?: string | undefined;
3888
5113
  onViolation?: "log" | "alert" | "block" | undefined;
5114
+ description?: string | undefined;
3889
5115
  }[];
3890
5116
  }, {
3891
5117
  version: 1;
@@ -3922,8 +5148,8 @@ declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
3922
5148
  id: string;
3923
5149
  name: string;
3924
5150
  severity: "info" | "warning" | "error" | "critical";
3925
- description?: string | undefined;
3926
5151
  onViolation?: "log" | "alert" | "block" | undefined;
5152
+ description?: string | undefined;
3927
5153
  }[];
3928
5154
  }>, {
3929
5155
  version: 1;
@@ -3960,8 +5186,8 @@ declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
3960
5186
  id: string;
3961
5187
  name: string;
3962
5188
  severity: "info" | "warning" | "error" | "critical";
3963
- description?: string | undefined;
3964
5189
  onViolation?: "log" | "alert" | "block" | undefined;
5190
+ description?: string | undefined;
3965
5191
  }[];
3966
5192
  }, {
3967
5193
  version: 1;
@@ -3998,8 +5224,8 @@ declare const PolicyFileSchema: z.ZodEffects<z.ZodObject<{
3998
5224
  id: string;
3999
5225
  name: string;
4000
5226
  severity: "info" | "warning" | "error" | "critical";
4001
- description?: string | undefined;
4002
5227
  onViolation?: "log" | "alert" | "block" | undefined;
5228
+ description?: string | undefined;
4003
5229
  }[];
4004
5230
  }>;
4005
5231
  type PolicyFile = z.infer<typeof PolicyFileSchema>;
@@ -4376,6 +5602,22 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4376
5602
  source: string;
4377
5603
  rule: string;
4378
5604
  }>, z.ZodBoolean]>>;
5605
+ lastError: z.ZodOptional<z.ZodObject<{
5606
+ exceptionType: z.ZodOptional<z.ZodString>;
5607
+ message: z.ZodOptional<z.ZodString>;
5608
+ at: z.ZodOptional<z.ZodString>;
5609
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
5610
+ }, "strip", z.ZodTypeAny, {
5611
+ message?: string | undefined;
5612
+ at?: string | undefined;
5613
+ exceptionType?: string | undefined;
5614
+ httpStatusCode?: number | undefined;
5615
+ }, {
5616
+ message?: string | undefined;
5617
+ at?: string | undefined;
5618
+ exceptionType?: string | undefined;
5619
+ httpStatusCode?: number | undefined;
5620
+ }>>;
4379
5621
  }, "strip", z.ZodTypeAny, {
4380
5622
  spanCount: number;
4381
5623
  errorCount: number;
@@ -4389,6 +5631,12 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4389
5631
  source: string;
4390
5632
  rule: string;
4391
5633
  } | undefined;
5634
+ lastError?: {
5635
+ message?: string | undefined;
5636
+ at?: string | undefined;
5637
+ exceptionType?: string | undefined;
5638
+ httpStatusCode?: number | undefined;
5639
+ } | undefined;
4392
5640
  }, {
4393
5641
  spanCount: number;
4394
5642
  errorCount: number;
@@ -4402,6 +5650,12 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4402
5650
  source: string;
4403
5651
  rule: string;
4404
5652
  } | undefined;
5653
+ lastError?: {
5654
+ message?: string | undefined;
5655
+ at?: string | undefined;
5656
+ exceptionType?: string | undefined;
5657
+ httpStatusCode?: number | undefined;
5658
+ } | undefined;
4405
5659
  }>>;
4406
5660
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
4407
5661
  }, "strip", z.ZodTypeAny, {
@@ -4436,6 +5690,12 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4436
5690
  source: string;
4437
5691
  rule: string;
4438
5692
  } | undefined;
5693
+ lastError?: {
5694
+ message?: string | undefined;
5695
+ at?: string | undefined;
5696
+ exceptionType?: string | undefined;
5697
+ httpStatusCode?: number | undefined;
5698
+ } | undefined;
4439
5699
  } | undefined;
4440
5700
  grain?: "file" | "service" | undefined;
4441
5701
  }, {
@@ -4470,6 +5730,12 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4470
5730
  source: string;
4471
5731
  rule: string;
4472
5732
  } | undefined;
5733
+ lastError?: {
5734
+ message?: string | undefined;
5735
+ at?: string | undefined;
5736
+ exceptionType?: string | undefined;
5737
+ httpStatusCode?: number | undefined;
5738
+ } | undefined;
4473
5739
  } | undefined;
4474
5740
  grain?: "file" | "service" | undefined;
4475
5741
  }>>;
@@ -4521,6 +5787,12 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4521
5787
  source: string;
4522
5788
  rule: string;
4523
5789
  } | undefined;
5790
+ lastError?: {
5791
+ message?: string | undefined;
5792
+ at?: string | undefined;
5793
+ exceptionType?: string | undefined;
5794
+ httpStatusCode?: number | undefined;
5795
+ } | undefined;
4524
5796
  } | undefined;
4525
5797
  grain?: "file" | "service" | undefined;
4526
5798
  } | undefined;
@@ -4566,6 +5838,12 @@ declare const MissingObservedDivergenceSchema: z.ZodObject<{
4566
5838
  source: string;
4567
5839
  rule: string;
4568
5840
  } | undefined;
5841
+ lastError?: {
5842
+ message?: string | undefined;
5843
+ at?: string | undefined;
5844
+ exceptionType?: string | undefined;
5845
+ httpStatusCode?: number | undefined;
5846
+ } | undefined;
4569
5847
  } | undefined;
4570
5848
  grain?: "file" | "service" | undefined;
4571
5849
  } | undefined;
@@ -4637,6 +5915,22 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4637
5915
  source: string;
4638
5916
  rule: string;
4639
5917
  }>, z.ZodBoolean]>>;
5918
+ lastError: z.ZodOptional<z.ZodObject<{
5919
+ exceptionType: z.ZodOptional<z.ZodString>;
5920
+ message: z.ZodOptional<z.ZodString>;
5921
+ at: z.ZodOptional<z.ZodString>;
5922
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
5923
+ }, "strip", z.ZodTypeAny, {
5924
+ message?: string | undefined;
5925
+ at?: string | undefined;
5926
+ exceptionType?: string | undefined;
5927
+ httpStatusCode?: number | undefined;
5928
+ }, {
5929
+ message?: string | undefined;
5930
+ at?: string | undefined;
5931
+ exceptionType?: string | undefined;
5932
+ httpStatusCode?: number | undefined;
5933
+ }>>;
4640
5934
  }, "strip", z.ZodTypeAny, {
4641
5935
  spanCount: number;
4642
5936
  errorCount: number;
@@ -4650,6 +5944,12 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4650
5944
  source: string;
4651
5945
  rule: string;
4652
5946
  } | undefined;
5947
+ lastError?: {
5948
+ message?: string | undefined;
5949
+ at?: string | undefined;
5950
+ exceptionType?: string | undefined;
5951
+ httpStatusCode?: number | undefined;
5952
+ } | undefined;
4653
5953
  }, {
4654
5954
  spanCount: number;
4655
5955
  errorCount: number;
@@ -4663,6 +5963,12 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4663
5963
  source: string;
4664
5964
  rule: string;
4665
5965
  } | undefined;
5966
+ lastError?: {
5967
+ message?: string | undefined;
5968
+ at?: string | undefined;
5969
+ exceptionType?: string | undefined;
5970
+ httpStatusCode?: number | undefined;
5971
+ } | undefined;
4666
5972
  }>>;
4667
5973
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
4668
5974
  }, "strip", z.ZodTypeAny, {
@@ -4697,6 +6003,12 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4697
6003
  source: string;
4698
6004
  rule: string;
4699
6005
  } | undefined;
6006
+ lastError?: {
6007
+ message?: string | undefined;
6008
+ at?: string | undefined;
6009
+ exceptionType?: string | undefined;
6010
+ httpStatusCode?: number | undefined;
6011
+ } | undefined;
4700
6012
  } | undefined;
4701
6013
  grain?: "file" | "service" | undefined;
4702
6014
  }, {
@@ -4731,6 +6043,12 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4731
6043
  source: string;
4732
6044
  rule: string;
4733
6045
  } | undefined;
6046
+ lastError?: {
6047
+ message?: string | undefined;
6048
+ at?: string | undefined;
6049
+ exceptionType?: string | undefined;
6050
+ httpStatusCode?: number | undefined;
6051
+ } | undefined;
4734
6052
  } | undefined;
4735
6053
  grain?: "file" | "service" | undefined;
4736
6054
  }>>;
@@ -4782,6 +6100,12 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4782
6100
  source: string;
4783
6101
  rule: string;
4784
6102
  } | undefined;
6103
+ lastError?: {
6104
+ message?: string | undefined;
6105
+ at?: string | undefined;
6106
+ exceptionType?: string | undefined;
6107
+ httpStatusCode?: number | undefined;
6108
+ } | undefined;
4785
6109
  } | undefined;
4786
6110
  grain?: "file" | "service" | undefined;
4787
6111
  } | undefined;
@@ -4827,6 +6151,12 @@ declare const MissingExtractedDivergenceSchema: z.ZodObject<{
4827
6151
  source: string;
4828
6152
  rule: string;
4829
6153
  } | undefined;
6154
+ lastError?: {
6155
+ message?: string | undefined;
6156
+ at?: string | undefined;
6157
+ exceptionType?: string | undefined;
6158
+ httpStatusCode?: number | undefined;
6159
+ } | undefined;
4830
6160
  } | undefined;
4831
6161
  grain?: "file" | "service" | undefined;
4832
6162
  } | undefined;
@@ -4999,6 +6329,22 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
4999
6329
  source: string;
5000
6330
  rule: string;
5001
6331
  }>, z.ZodBoolean]>>;
6332
+ lastError: z.ZodOptional<z.ZodObject<{
6333
+ exceptionType: z.ZodOptional<z.ZodString>;
6334
+ message: z.ZodOptional<z.ZodString>;
6335
+ at: z.ZodOptional<z.ZodString>;
6336
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
6337
+ }, "strip", z.ZodTypeAny, {
6338
+ message?: string | undefined;
6339
+ at?: string | undefined;
6340
+ exceptionType?: string | undefined;
6341
+ httpStatusCode?: number | undefined;
6342
+ }, {
6343
+ message?: string | undefined;
6344
+ at?: string | undefined;
6345
+ exceptionType?: string | undefined;
6346
+ httpStatusCode?: number | undefined;
6347
+ }>>;
5002
6348
  }, "strip", z.ZodTypeAny, {
5003
6349
  spanCount: number;
5004
6350
  errorCount: number;
@@ -5012,6 +6358,12 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
5012
6358
  source: string;
5013
6359
  rule: string;
5014
6360
  } | undefined;
6361
+ lastError?: {
6362
+ message?: string | undefined;
6363
+ at?: string | undefined;
6364
+ exceptionType?: string | undefined;
6365
+ httpStatusCode?: number | undefined;
6366
+ } | undefined;
5015
6367
  }, {
5016
6368
  spanCount: number;
5017
6369
  errorCount: number;
@@ -5025,6 +6377,12 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
5025
6377
  source: string;
5026
6378
  rule: string;
5027
6379
  } | undefined;
6380
+ lastError?: {
6381
+ message?: string | undefined;
6382
+ at?: string | undefined;
6383
+ exceptionType?: string | undefined;
6384
+ httpStatusCode?: number | undefined;
6385
+ } | undefined;
5028
6386
  }>>;
5029
6387
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
5030
6388
  }, "strip", z.ZodTypeAny, {
@@ -5059,6 +6417,12 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
5059
6417
  source: string;
5060
6418
  rule: string;
5061
6419
  } | undefined;
6420
+ lastError?: {
6421
+ message?: string | undefined;
6422
+ at?: string | undefined;
6423
+ exceptionType?: string | undefined;
6424
+ httpStatusCode?: number | undefined;
6425
+ } | undefined;
5062
6426
  } | undefined;
5063
6427
  grain?: "file" | "service" | undefined;
5064
6428
  }, {
@@ -5093,6 +6457,12 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
5093
6457
  source: string;
5094
6458
  rule: string;
5095
6459
  } | undefined;
6460
+ lastError?: {
6461
+ message?: string | undefined;
6462
+ at?: string | undefined;
6463
+ exceptionType?: string | undefined;
6464
+ httpStatusCode?: number | undefined;
6465
+ } | undefined;
5096
6466
  } | undefined;
5097
6467
  grain?: "file" | "service" | undefined;
5098
6468
  }>;
@@ -5147,6 +6517,12 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
5147
6517
  source: string;
5148
6518
  rule: string;
5149
6519
  } | undefined;
6520
+ lastError?: {
6521
+ message?: string | undefined;
6522
+ at?: string | undefined;
6523
+ exceptionType?: string | undefined;
6524
+ httpStatusCode?: number | undefined;
6525
+ } | undefined;
5150
6526
  } | undefined;
5151
6527
  grain?: "file" | "service" | undefined;
5152
6528
  };
@@ -5196,6 +6572,12 @@ declare const CompatViolationDivergenceSchema: z.ZodObject<{
5196
6572
  source: string;
5197
6573
  rule: string;
5198
6574
  } | undefined;
6575
+ lastError?: {
6576
+ message?: string | undefined;
6577
+ at?: string | undefined;
6578
+ exceptionType?: string | undefined;
6579
+ httpStatusCode?: number | undefined;
6580
+ } | undefined;
5199
6581
  } | undefined;
5200
6582
  grain?: "file" | "service" | undefined;
5201
6583
  };
@@ -5316,6 +6698,22 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5316
6698
  source: string;
5317
6699
  rule: string;
5318
6700
  }>, z.ZodBoolean]>>;
6701
+ lastError: z.ZodOptional<z.ZodObject<{
6702
+ exceptionType: z.ZodOptional<z.ZodString>;
6703
+ message: z.ZodOptional<z.ZodString>;
6704
+ at: z.ZodOptional<z.ZodString>;
6705
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
6706
+ }, "strip", z.ZodTypeAny, {
6707
+ message?: string | undefined;
6708
+ at?: string | undefined;
6709
+ exceptionType?: string | undefined;
6710
+ httpStatusCode?: number | undefined;
6711
+ }, {
6712
+ message?: string | undefined;
6713
+ at?: string | undefined;
6714
+ exceptionType?: string | undefined;
6715
+ httpStatusCode?: number | undefined;
6716
+ }>>;
5319
6717
  }, "strip", z.ZodTypeAny, {
5320
6718
  spanCount: number;
5321
6719
  errorCount: number;
@@ -5329,6 +6727,12 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5329
6727
  source: string;
5330
6728
  rule: string;
5331
6729
  } | undefined;
6730
+ lastError?: {
6731
+ message?: string | undefined;
6732
+ at?: string | undefined;
6733
+ exceptionType?: string | undefined;
6734
+ httpStatusCode?: number | undefined;
6735
+ } | undefined;
5332
6736
  }, {
5333
6737
  spanCount: number;
5334
6738
  errorCount: number;
@@ -5342,6 +6746,12 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5342
6746
  source: string;
5343
6747
  rule: string;
5344
6748
  } | undefined;
6749
+ lastError?: {
6750
+ message?: string | undefined;
6751
+ at?: string | undefined;
6752
+ exceptionType?: string | undefined;
6753
+ httpStatusCode?: number | undefined;
6754
+ } | undefined;
5345
6755
  }>>;
5346
6756
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
5347
6757
  }, "strip", z.ZodTypeAny, {
@@ -5376,6 +6786,12 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5376
6786
  source: string;
5377
6787
  rule: string;
5378
6788
  } | undefined;
6789
+ lastError?: {
6790
+ message?: string | undefined;
6791
+ at?: string | undefined;
6792
+ exceptionType?: string | undefined;
6793
+ httpStatusCode?: number | undefined;
6794
+ } | undefined;
5379
6795
  } | undefined;
5380
6796
  grain?: "file" | "service" | undefined;
5381
6797
  }, {
@@ -5410,12 +6826,34 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5410
6826
  source: string;
5411
6827
  rule: string;
5412
6828
  } | undefined;
6829
+ lastError?: {
6830
+ message?: string | undefined;
6831
+ at?: string | undefined;
6832
+ exceptionType?: string | undefined;
6833
+ httpStatusCode?: number | undefined;
6834
+ } | undefined;
5413
6835
  } | undefined;
5414
6836
  grain?: "file" | "service" | undefined;
5415
6837
  }>>;
5416
- spanCount: z.ZodOptional<z.ZodNumber>;
5417
- errorCount: z.ZodOptional<z.ZodNumber>;
5418
- errorRate: z.ZodOptional<z.ZodNumber>;
6838
+ spanCount: z.ZodOptional<z.ZodNumber>;
6839
+ errorCount: z.ZodOptional<z.ZodNumber>;
6840
+ errorRate: z.ZodOptional<z.ZodNumber>;
6841
+ lastError: z.ZodOptional<z.ZodObject<{
6842
+ exceptionType: z.ZodOptional<z.ZodString>;
6843
+ message: z.ZodOptional<z.ZodString>;
6844
+ at: z.ZodOptional<z.ZodString>;
6845
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
6846
+ }, "strip", z.ZodTypeAny, {
6847
+ message?: string | undefined;
6848
+ at?: string | undefined;
6849
+ exceptionType?: string | undefined;
6850
+ httpStatusCode?: number | undefined;
6851
+ }, {
6852
+ message?: string | undefined;
6853
+ at?: string | undefined;
6854
+ exceptionType?: string | undefined;
6855
+ httpStatusCode?: number | undefined;
6856
+ }>>;
5419
6857
  location: z.ZodOptional<z.ZodString>;
5420
6858
  incidentId: z.ZodOptional<z.ZodString>;
5421
6859
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -5436,10 +6874,16 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5436
6874
  confidence: number;
5437
6875
  recommendation: string;
5438
6876
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
6877
+ httpStatusCode?: number | undefined;
5439
6878
  spanCount?: number | undefined;
5440
6879
  errorCount?: number | undefined;
6880
+ lastError?: {
6881
+ message?: string | undefined;
6882
+ at?: string | undefined;
6883
+ exceptionType?: string | undefined;
6884
+ httpStatusCode?: number | undefined;
6885
+ } | undefined;
5441
6886
  errorMessage?: string | undefined;
5442
- httpStatusCode?: number | undefined;
5443
6887
  incidentCount?: number | undefined;
5444
6888
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
5445
6889
  observed?: {
@@ -5474,6 +6918,12 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5474
6918
  source: string;
5475
6919
  rule: string;
5476
6920
  } | undefined;
6921
+ lastError?: {
6922
+ message?: string | undefined;
6923
+ at?: string | undefined;
6924
+ exceptionType?: string | undefined;
6925
+ httpStatusCode?: number | undefined;
6926
+ } | undefined;
5477
6927
  } | undefined;
5478
6928
  grain?: "file" | "service" | undefined;
5479
6929
  } | undefined;
@@ -5489,10 +6939,16 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5489
6939
  confidence: number;
5490
6940
  recommendation: string;
5491
6941
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
6942
+ httpStatusCode?: number | undefined;
5492
6943
  spanCount?: number | undefined;
5493
6944
  errorCount?: number | undefined;
6945
+ lastError?: {
6946
+ message?: string | undefined;
6947
+ at?: string | undefined;
6948
+ exceptionType?: string | undefined;
6949
+ httpStatusCode?: number | undefined;
6950
+ } | undefined;
5494
6951
  errorMessage?: string | undefined;
5495
- httpStatusCode?: number | undefined;
5496
6952
  incidentCount?: number | undefined;
5497
6953
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
5498
6954
  observed?: {
@@ -5527,6 +6983,12 @@ declare const ObservedFailingDivergenceSchema: z.ZodObject<{
5527
6983
  source: string;
5528
6984
  rule: string;
5529
6985
  } | undefined;
6986
+ lastError?: {
6987
+ message?: string | undefined;
6988
+ at?: string | undefined;
6989
+ exceptionType?: string | undefined;
6990
+ httpStatusCode?: number | undefined;
6991
+ } | undefined;
5530
6992
  } | undefined;
5531
6993
  grain?: "file" | "service" | undefined;
5532
6994
  } | undefined;
@@ -5639,6 +7101,22 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5639
7101
  source: string;
5640
7102
  rule: string;
5641
7103
  }>, z.ZodBoolean]>>;
7104
+ lastError: z.ZodOptional<z.ZodObject<{
7105
+ exceptionType: z.ZodOptional<z.ZodString>;
7106
+ message: z.ZodOptional<z.ZodString>;
7107
+ at: z.ZodOptional<z.ZodString>;
7108
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
7109
+ }, "strip", z.ZodTypeAny, {
7110
+ message?: string | undefined;
7111
+ at?: string | undefined;
7112
+ exceptionType?: string | undefined;
7113
+ httpStatusCode?: number | undefined;
7114
+ }, {
7115
+ message?: string | undefined;
7116
+ at?: string | undefined;
7117
+ exceptionType?: string | undefined;
7118
+ httpStatusCode?: number | undefined;
7119
+ }>>;
5642
7120
  }, "strip", z.ZodTypeAny, {
5643
7121
  spanCount: number;
5644
7122
  errorCount: number;
@@ -5652,6 +7130,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5652
7130
  source: string;
5653
7131
  rule: string;
5654
7132
  } | undefined;
7133
+ lastError?: {
7134
+ message?: string | undefined;
7135
+ at?: string | undefined;
7136
+ exceptionType?: string | undefined;
7137
+ httpStatusCode?: number | undefined;
7138
+ } | undefined;
5655
7139
  }, {
5656
7140
  spanCount: number;
5657
7141
  errorCount: number;
@@ -5665,6 +7149,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5665
7149
  source: string;
5666
7150
  rule: string;
5667
7151
  } | undefined;
7152
+ lastError?: {
7153
+ message?: string | undefined;
7154
+ at?: string | undefined;
7155
+ exceptionType?: string | undefined;
7156
+ httpStatusCode?: number | undefined;
7157
+ } | undefined;
5668
7158
  }>>;
5669
7159
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
5670
7160
  }, "strip", z.ZodTypeAny, {
@@ -5699,6 +7189,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5699
7189
  source: string;
5700
7190
  rule: string;
5701
7191
  } | undefined;
7192
+ lastError?: {
7193
+ message?: string | undefined;
7194
+ at?: string | undefined;
7195
+ exceptionType?: string | undefined;
7196
+ httpStatusCode?: number | undefined;
7197
+ } | undefined;
5702
7198
  } | undefined;
5703
7199
  grain?: "file" | "service" | undefined;
5704
7200
  }, {
@@ -5733,6 +7229,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5733
7229
  source: string;
5734
7230
  rule: string;
5735
7231
  } | undefined;
7232
+ lastError?: {
7233
+ message?: string | undefined;
7234
+ at?: string | undefined;
7235
+ exceptionType?: string | undefined;
7236
+ httpStatusCode?: number | undefined;
7237
+ } | undefined;
5736
7238
  } | undefined;
5737
7239
  grain?: "file" | "service" | undefined;
5738
7240
  }>>;
@@ -5784,6 +7286,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5784
7286
  source: string;
5785
7287
  rule: string;
5786
7288
  } | undefined;
7289
+ lastError?: {
7290
+ message?: string | undefined;
7291
+ at?: string | undefined;
7292
+ exceptionType?: string | undefined;
7293
+ httpStatusCode?: number | undefined;
7294
+ } | undefined;
5787
7295
  } | undefined;
5788
7296
  grain?: "file" | "service" | undefined;
5789
7297
  } | undefined;
@@ -5829,6 +7337,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5829
7337
  source: string;
5830
7338
  rule: string;
5831
7339
  } | undefined;
7340
+ lastError?: {
7341
+ message?: string | undefined;
7342
+ at?: string | undefined;
7343
+ exceptionType?: string | undefined;
7344
+ httpStatusCode?: number | undefined;
7345
+ } | undefined;
5832
7346
  } | undefined;
5833
7347
  grain?: "file" | "service" | undefined;
5834
7348
  } | undefined;
@@ -5898,6 +7412,22 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5898
7412
  source: string;
5899
7413
  rule: string;
5900
7414
  }>, z.ZodBoolean]>>;
7415
+ lastError: z.ZodOptional<z.ZodObject<{
7416
+ exceptionType: z.ZodOptional<z.ZodString>;
7417
+ message: z.ZodOptional<z.ZodString>;
7418
+ at: z.ZodOptional<z.ZodString>;
7419
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
7420
+ }, "strip", z.ZodTypeAny, {
7421
+ message?: string | undefined;
7422
+ at?: string | undefined;
7423
+ exceptionType?: string | undefined;
7424
+ httpStatusCode?: number | undefined;
7425
+ }, {
7426
+ message?: string | undefined;
7427
+ at?: string | undefined;
7428
+ exceptionType?: string | undefined;
7429
+ httpStatusCode?: number | undefined;
7430
+ }>>;
5901
7431
  }, "strip", z.ZodTypeAny, {
5902
7432
  spanCount: number;
5903
7433
  errorCount: number;
@@ -5911,6 +7441,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5911
7441
  source: string;
5912
7442
  rule: string;
5913
7443
  } | undefined;
7444
+ lastError?: {
7445
+ message?: string | undefined;
7446
+ at?: string | undefined;
7447
+ exceptionType?: string | undefined;
7448
+ httpStatusCode?: number | undefined;
7449
+ } | undefined;
5914
7450
  }, {
5915
7451
  spanCount: number;
5916
7452
  errorCount: number;
@@ -5924,6 +7460,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5924
7460
  source: string;
5925
7461
  rule: string;
5926
7462
  } | undefined;
7463
+ lastError?: {
7464
+ message?: string | undefined;
7465
+ at?: string | undefined;
7466
+ exceptionType?: string | undefined;
7467
+ httpStatusCode?: number | undefined;
7468
+ } | undefined;
5927
7469
  }>>;
5928
7470
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
5929
7471
  }, "strip", z.ZodTypeAny, {
@@ -5958,6 +7500,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5958
7500
  source: string;
5959
7501
  rule: string;
5960
7502
  } | undefined;
7503
+ lastError?: {
7504
+ message?: string | undefined;
7505
+ at?: string | undefined;
7506
+ exceptionType?: string | undefined;
7507
+ httpStatusCode?: number | undefined;
7508
+ } | undefined;
5961
7509
  } | undefined;
5962
7510
  grain?: "file" | "service" | undefined;
5963
7511
  }, {
@@ -5992,6 +7540,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5992
7540
  source: string;
5993
7541
  rule: string;
5994
7542
  } | undefined;
7543
+ lastError?: {
7544
+ message?: string | undefined;
7545
+ at?: string | undefined;
7546
+ exceptionType?: string | undefined;
7547
+ httpStatusCode?: number | undefined;
7548
+ } | undefined;
5995
7549
  } | undefined;
5996
7550
  grain?: "file" | "service" | undefined;
5997
7551
  }>>;
@@ -6043,6 +7597,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6043
7597
  source: string;
6044
7598
  rule: string;
6045
7599
  } | undefined;
7600
+ lastError?: {
7601
+ message?: string | undefined;
7602
+ at?: string | undefined;
7603
+ exceptionType?: string | undefined;
7604
+ httpStatusCode?: number | undefined;
7605
+ } | undefined;
6046
7606
  } | undefined;
6047
7607
  grain?: "file" | "service" | undefined;
6048
7608
  } | undefined;
@@ -6088,6 +7648,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6088
7648
  source: string;
6089
7649
  rule: string;
6090
7650
  } | undefined;
7651
+ lastError?: {
7652
+ message?: string | undefined;
7653
+ at?: string | undefined;
7654
+ exceptionType?: string | undefined;
7655
+ httpStatusCode?: number | undefined;
7656
+ } | undefined;
6091
7657
  } | undefined;
6092
7658
  grain?: "file" | "service" | undefined;
6093
7659
  } | undefined;
@@ -6232,6 +7798,22 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6232
7798
  source: string;
6233
7799
  rule: string;
6234
7800
  }>, z.ZodBoolean]>>;
7801
+ lastError: z.ZodOptional<z.ZodObject<{
7802
+ exceptionType: z.ZodOptional<z.ZodString>;
7803
+ message: z.ZodOptional<z.ZodString>;
7804
+ at: z.ZodOptional<z.ZodString>;
7805
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
7806
+ }, "strip", z.ZodTypeAny, {
7807
+ message?: string | undefined;
7808
+ at?: string | undefined;
7809
+ exceptionType?: string | undefined;
7810
+ httpStatusCode?: number | undefined;
7811
+ }, {
7812
+ message?: string | undefined;
7813
+ at?: string | undefined;
7814
+ exceptionType?: string | undefined;
7815
+ httpStatusCode?: number | undefined;
7816
+ }>>;
6235
7817
  }, "strip", z.ZodTypeAny, {
6236
7818
  spanCount: number;
6237
7819
  errorCount: number;
@@ -6245,6 +7827,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6245
7827
  source: string;
6246
7828
  rule: string;
6247
7829
  } | undefined;
7830
+ lastError?: {
7831
+ message?: string | undefined;
7832
+ at?: string | undefined;
7833
+ exceptionType?: string | undefined;
7834
+ httpStatusCode?: number | undefined;
7835
+ } | undefined;
6248
7836
  }, {
6249
7837
  spanCount: number;
6250
7838
  errorCount: number;
@@ -6258,6 +7846,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6258
7846
  source: string;
6259
7847
  rule: string;
6260
7848
  } | undefined;
7849
+ lastError?: {
7850
+ message?: string | undefined;
7851
+ at?: string | undefined;
7852
+ exceptionType?: string | undefined;
7853
+ httpStatusCode?: number | undefined;
7854
+ } | undefined;
6261
7855
  }>>;
6262
7856
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
6263
7857
  }, "strip", z.ZodTypeAny, {
@@ -6292,6 +7886,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6292
7886
  source: string;
6293
7887
  rule: string;
6294
7888
  } | undefined;
7889
+ lastError?: {
7890
+ message?: string | undefined;
7891
+ at?: string | undefined;
7892
+ exceptionType?: string | undefined;
7893
+ httpStatusCode?: number | undefined;
7894
+ } | undefined;
6295
7895
  } | undefined;
6296
7896
  grain?: "file" | "service" | undefined;
6297
7897
  }, {
@@ -6326,6 +7926,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6326
7926
  source: string;
6327
7927
  rule: string;
6328
7928
  } | undefined;
7929
+ lastError?: {
7930
+ message?: string | undefined;
7931
+ at?: string | undefined;
7932
+ exceptionType?: string | undefined;
7933
+ httpStatusCode?: number | undefined;
7934
+ } | undefined;
6329
7935
  } | undefined;
6330
7936
  grain?: "file" | "service" | undefined;
6331
7937
  }>;
@@ -6380,6 +7986,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6380
7986
  source: string;
6381
7987
  rule: string;
6382
7988
  } | undefined;
7989
+ lastError?: {
7990
+ message?: string | undefined;
7991
+ at?: string | undefined;
7992
+ exceptionType?: string | undefined;
7993
+ httpStatusCode?: number | undefined;
7994
+ } | undefined;
6383
7995
  } | undefined;
6384
7996
  grain?: "file" | "service" | undefined;
6385
7997
  };
@@ -6429,6 +8041,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6429
8041
  source: string;
6430
8042
  rule: string;
6431
8043
  } | undefined;
8044
+ lastError?: {
8045
+ message?: string | undefined;
8046
+ at?: string | undefined;
8047
+ exceptionType?: string | undefined;
8048
+ httpStatusCode?: number | undefined;
8049
+ } | undefined;
6432
8050
  } | undefined;
6433
8051
  grain?: "file" | "service" | undefined;
6434
8052
  };
@@ -6541,6 +8159,22 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6541
8159
  source: string;
6542
8160
  rule: string;
6543
8161
  }>, z.ZodBoolean]>>;
8162
+ lastError: z.ZodOptional<z.ZodObject<{
8163
+ exceptionType: z.ZodOptional<z.ZodString>;
8164
+ message: z.ZodOptional<z.ZodString>;
8165
+ at: z.ZodOptional<z.ZodString>;
8166
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
8167
+ }, "strip", z.ZodTypeAny, {
8168
+ message?: string | undefined;
8169
+ at?: string | undefined;
8170
+ exceptionType?: string | undefined;
8171
+ httpStatusCode?: number | undefined;
8172
+ }, {
8173
+ message?: string | undefined;
8174
+ at?: string | undefined;
8175
+ exceptionType?: string | undefined;
8176
+ httpStatusCode?: number | undefined;
8177
+ }>>;
6544
8178
  }, "strip", z.ZodTypeAny, {
6545
8179
  spanCount: number;
6546
8180
  errorCount: number;
@@ -6554,6 +8188,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6554
8188
  source: string;
6555
8189
  rule: string;
6556
8190
  } | undefined;
8191
+ lastError?: {
8192
+ message?: string | undefined;
8193
+ at?: string | undefined;
8194
+ exceptionType?: string | undefined;
8195
+ httpStatusCode?: number | undefined;
8196
+ } | undefined;
6557
8197
  }, {
6558
8198
  spanCount: number;
6559
8199
  errorCount: number;
@@ -6567,6 +8207,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6567
8207
  source: string;
6568
8208
  rule: string;
6569
8209
  } | undefined;
8210
+ lastError?: {
8211
+ message?: string | undefined;
8212
+ at?: string | undefined;
8213
+ exceptionType?: string | undefined;
8214
+ httpStatusCode?: number | undefined;
8215
+ } | undefined;
6570
8216
  }>>;
6571
8217
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
6572
8218
  }, "strip", z.ZodTypeAny, {
@@ -6601,6 +8247,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6601
8247
  source: string;
6602
8248
  rule: string;
6603
8249
  } | undefined;
8250
+ lastError?: {
8251
+ message?: string | undefined;
8252
+ at?: string | undefined;
8253
+ exceptionType?: string | undefined;
8254
+ httpStatusCode?: number | undefined;
8255
+ } | undefined;
6604
8256
  } | undefined;
6605
8257
  grain?: "file" | "service" | undefined;
6606
8258
  }, {
@@ -6635,12 +8287,34 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6635
8287
  source: string;
6636
8288
  rule: string;
6637
8289
  } | undefined;
8290
+ lastError?: {
8291
+ message?: string | undefined;
8292
+ at?: string | undefined;
8293
+ exceptionType?: string | undefined;
8294
+ httpStatusCode?: number | undefined;
8295
+ } | undefined;
6638
8296
  } | undefined;
6639
8297
  grain?: "file" | "service" | undefined;
6640
8298
  }>>;
6641
8299
  spanCount: z.ZodOptional<z.ZodNumber>;
6642
8300
  errorCount: z.ZodOptional<z.ZodNumber>;
6643
8301
  errorRate: z.ZodOptional<z.ZodNumber>;
8302
+ lastError: z.ZodOptional<z.ZodObject<{
8303
+ exceptionType: z.ZodOptional<z.ZodString>;
8304
+ message: z.ZodOptional<z.ZodString>;
8305
+ at: z.ZodOptional<z.ZodString>;
8306
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
8307
+ }, "strip", z.ZodTypeAny, {
8308
+ message?: string | undefined;
8309
+ at?: string | undefined;
8310
+ exceptionType?: string | undefined;
8311
+ httpStatusCode?: number | undefined;
8312
+ }, {
8313
+ message?: string | undefined;
8314
+ at?: string | undefined;
8315
+ exceptionType?: string | undefined;
8316
+ httpStatusCode?: number | undefined;
8317
+ }>>;
6644
8318
  location: z.ZodOptional<z.ZodString>;
6645
8319
  incidentId: z.ZodOptional<z.ZodString>;
6646
8320
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -6661,10 +8335,16 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6661
8335
  confidence: number;
6662
8336
  recommendation: string;
6663
8337
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
8338
+ httpStatusCode?: number | undefined;
6664
8339
  spanCount?: number | undefined;
6665
8340
  errorCount?: number | undefined;
8341
+ lastError?: {
8342
+ message?: string | undefined;
8343
+ at?: string | undefined;
8344
+ exceptionType?: string | undefined;
8345
+ httpStatusCode?: number | undefined;
8346
+ } | undefined;
6666
8347
  errorMessage?: string | undefined;
6667
- httpStatusCode?: number | undefined;
6668
8348
  incidentCount?: number | undefined;
6669
8349
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
6670
8350
  observed?: {
@@ -6699,6 +8379,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6699
8379
  source: string;
6700
8380
  rule: string;
6701
8381
  } | undefined;
8382
+ lastError?: {
8383
+ message?: string | undefined;
8384
+ at?: string | undefined;
8385
+ exceptionType?: string | undefined;
8386
+ httpStatusCode?: number | undefined;
8387
+ } | undefined;
6702
8388
  } | undefined;
6703
8389
  grain?: "file" | "service" | undefined;
6704
8390
  } | undefined;
@@ -6714,10 +8400,16 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6714
8400
  confidence: number;
6715
8401
  recommendation: string;
6716
8402
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
8403
+ httpStatusCode?: number | undefined;
6717
8404
  spanCount?: number | undefined;
6718
8405
  errorCount?: number | undefined;
8406
+ lastError?: {
8407
+ message?: string | undefined;
8408
+ at?: string | undefined;
8409
+ exceptionType?: string | undefined;
8410
+ httpStatusCode?: number | undefined;
8411
+ } | undefined;
6719
8412
  errorMessage?: string | undefined;
6720
- httpStatusCode?: number | undefined;
6721
8413
  incidentCount?: number | undefined;
6722
8414
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
6723
8415
  observed?: {
@@ -6752,6 +8444,12 @@ declare const DivergenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6752
8444
  source: string;
6753
8445
  rule: string;
6754
8446
  } | undefined;
8447
+ lastError?: {
8448
+ message?: string | undefined;
8449
+ at?: string | undefined;
8450
+ exceptionType?: string | undefined;
8451
+ httpStatusCode?: number | undefined;
8452
+ } | undefined;
6755
8453
  } | undefined;
6756
8454
  grain?: "file" | "service" | undefined;
6757
8455
  } | undefined;
@@ -6861,6 +8559,22 @@ declare const DivergenceResultSchema: z.ZodObject<{
6861
8559
  source: string;
6862
8560
  rule: string;
6863
8561
  }>, z.ZodBoolean]>>;
8562
+ lastError: z.ZodOptional<z.ZodObject<{
8563
+ exceptionType: z.ZodOptional<z.ZodString>;
8564
+ message: z.ZodOptional<z.ZodString>;
8565
+ at: z.ZodOptional<z.ZodString>;
8566
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
8567
+ }, "strip", z.ZodTypeAny, {
8568
+ message?: string | undefined;
8569
+ at?: string | undefined;
8570
+ exceptionType?: string | undefined;
8571
+ httpStatusCode?: number | undefined;
8572
+ }, {
8573
+ message?: string | undefined;
8574
+ at?: string | undefined;
8575
+ exceptionType?: string | undefined;
8576
+ httpStatusCode?: number | undefined;
8577
+ }>>;
6864
8578
  }, "strip", z.ZodTypeAny, {
6865
8579
  spanCount: number;
6866
8580
  errorCount: number;
@@ -6874,6 +8588,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
6874
8588
  source: string;
6875
8589
  rule: string;
6876
8590
  } | undefined;
8591
+ lastError?: {
8592
+ message?: string | undefined;
8593
+ at?: string | undefined;
8594
+ exceptionType?: string | undefined;
8595
+ httpStatusCode?: number | undefined;
8596
+ } | undefined;
6877
8597
  }, {
6878
8598
  spanCount: number;
6879
8599
  errorCount: number;
@@ -6887,6 +8607,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
6887
8607
  source: string;
6888
8608
  rule: string;
6889
8609
  } | undefined;
8610
+ lastError?: {
8611
+ message?: string | undefined;
8612
+ at?: string | undefined;
8613
+ exceptionType?: string | undefined;
8614
+ httpStatusCode?: number | undefined;
8615
+ } | undefined;
6890
8616
  }>>;
6891
8617
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
6892
8618
  }, "strip", z.ZodTypeAny, {
@@ -6921,6 +8647,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
6921
8647
  source: string;
6922
8648
  rule: string;
6923
8649
  } | undefined;
8650
+ lastError?: {
8651
+ message?: string | undefined;
8652
+ at?: string | undefined;
8653
+ exceptionType?: string | undefined;
8654
+ httpStatusCode?: number | undefined;
8655
+ } | undefined;
6924
8656
  } | undefined;
6925
8657
  grain?: "file" | "service" | undefined;
6926
8658
  }, {
@@ -6955,6 +8687,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
6955
8687
  source: string;
6956
8688
  rule: string;
6957
8689
  } | undefined;
8690
+ lastError?: {
8691
+ message?: string | undefined;
8692
+ at?: string | undefined;
8693
+ exceptionType?: string | undefined;
8694
+ httpStatusCode?: number | undefined;
8695
+ } | undefined;
6958
8696
  } | undefined;
6959
8697
  grain?: "file" | "service" | undefined;
6960
8698
  }>>;
@@ -7006,6 +8744,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7006
8744
  source: string;
7007
8745
  rule: string;
7008
8746
  } | undefined;
8747
+ lastError?: {
8748
+ message?: string | undefined;
8749
+ at?: string | undefined;
8750
+ exceptionType?: string | undefined;
8751
+ httpStatusCode?: number | undefined;
8752
+ } | undefined;
7009
8753
  } | undefined;
7010
8754
  grain?: "file" | "service" | undefined;
7011
8755
  } | undefined;
@@ -7051,6 +8795,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7051
8795
  source: string;
7052
8796
  rule: string;
7053
8797
  } | undefined;
8798
+ lastError?: {
8799
+ message?: string | undefined;
8800
+ at?: string | undefined;
8801
+ exceptionType?: string | undefined;
8802
+ httpStatusCode?: number | undefined;
8803
+ } | undefined;
7054
8804
  } | undefined;
7055
8805
  grain?: "file" | "service" | undefined;
7056
8806
  } | undefined;
@@ -7120,6 +8870,22 @@ declare const DivergenceResultSchema: z.ZodObject<{
7120
8870
  source: string;
7121
8871
  rule: string;
7122
8872
  }>, z.ZodBoolean]>>;
8873
+ lastError: z.ZodOptional<z.ZodObject<{
8874
+ exceptionType: z.ZodOptional<z.ZodString>;
8875
+ message: z.ZodOptional<z.ZodString>;
8876
+ at: z.ZodOptional<z.ZodString>;
8877
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
8878
+ }, "strip", z.ZodTypeAny, {
8879
+ message?: string | undefined;
8880
+ at?: string | undefined;
8881
+ exceptionType?: string | undefined;
8882
+ httpStatusCode?: number | undefined;
8883
+ }, {
8884
+ message?: string | undefined;
8885
+ at?: string | undefined;
8886
+ exceptionType?: string | undefined;
8887
+ httpStatusCode?: number | undefined;
8888
+ }>>;
7123
8889
  }, "strip", z.ZodTypeAny, {
7124
8890
  spanCount: number;
7125
8891
  errorCount: number;
@@ -7133,6 +8899,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7133
8899
  source: string;
7134
8900
  rule: string;
7135
8901
  } | undefined;
8902
+ lastError?: {
8903
+ message?: string | undefined;
8904
+ at?: string | undefined;
8905
+ exceptionType?: string | undefined;
8906
+ httpStatusCode?: number | undefined;
8907
+ } | undefined;
7136
8908
  }, {
7137
8909
  spanCount: number;
7138
8910
  errorCount: number;
@@ -7146,6 +8918,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7146
8918
  source: string;
7147
8919
  rule: string;
7148
8920
  } | undefined;
8921
+ lastError?: {
8922
+ message?: string | undefined;
8923
+ at?: string | undefined;
8924
+ exceptionType?: string | undefined;
8925
+ httpStatusCode?: number | undefined;
8926
+ } | undefined;
7149
8927
  }>>;
7150
8928
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
7151
8929
  }, "strip", z.ZodTypeAny, {
@@ -7180,6 +8958,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7180
8958
  source: string;
7181
8959
  rule: string;
7182
8960
  } | undefined;
8961
+ lastError?: {
8962
+ message?: string | undefined;
8963
+ at?: string | undefined;
8964
+ exceptionType?: string | undefined;
8965
+ httpStatusCode?: number | undefined;
8966
+ } | undefined;
7183
8967
  } | undefined;
7184
8968
  grain?: "file" | "service" | undefined;
7185
8969
  }, {
@@ -7214,6 +8998,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7214
8998
  source: string;
7215
8999
  rule: string;
7216
9000
  } | undefined;
9001
+ lastError?: {
9002
+ message?: string | undefined;
9003
+ at?: string | undefined;
9004
+ exceptionType?: string | undefined;
9005
+ httpStatusCode?: number | undefined;
9006
+ } | undefined;
7217
9007
  } | undefined;
7218
9008
  grain?: "file" | "service" | undefined;
7219
9009
  }>>;
@@ -7265,6 +9055,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7265
9055
  source: string;
7266
9056
  rule: string;
7267
9057
  } | undefined;
9058
+ lastError?: {
9059
+ message?: string | undefined;
9060
+ at?: string | undefined;
9061
+ exceptionType?: string | undefined;
9062
+ httpStatusCode?: number | undefined;
9063
+ } | undefined;
7268
9064
  } | undefined;
7269
9065
  grain?: "file" | "service" | undefined;
7270
9066
  } | undefined;
@@ -7310,6 +9106,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7310
9106
  source: string;
7311
9107
  rule: string;
7312
9108
  } | undefined;
9109
+ lastError?: {
9110
+ message?: string | undefined;
9111
+ at?: string | undefined;
9112
+ exceptionType?: string | undefined;
9113
+ httpStatusCode?: number | undefined;
9114
+ } | undefined;
7313
9115
  } | undefined;
7314
9116
  grain?: "file" | "service" | undefined;
7315
9117
  } | undefined;
@@ -7454,6 +9256,22 @@ declare const DivergenceResultSchema: z.ZodObject<{
7454
9256
  source: string;
7455
9257
  rule: string;
7456
9258
  }>, z.ZodBoolean]>>;
9259
+ lastError: z.ZodOptional<z.ZodObject<{
9260
+ exceptionType: z.ZodOptional<z.ZodString>;
9261
+ message: z.ZodOptional<z.ZodString>;
9262
+ at: z.ZodOptional<z.ZodString>;
9263
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
9264
+ }, "strip", z.ZodTypeAny, {
9265
+ message?: string | undefined;
9266
+ at?: string | undefined;
9267
+ exceptionType?: string | undefined;
9268
+ httpStatusCode?: number | undefined;
9269
+ }, {
9270
+ message?: string | undefined;
9271
+ at?: string | undefined;
9272
+ exceptionType?: string | undefined;
9273
+ httpStatusCode?: number | undefined;
9274
+ }>>;
7457
9275
  }, "strip", z.ZodTypeAny, {
7458
9276
  spanCount: number;
7459
9277
  errorCount: number;
@@ -7467,6 +9285,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7467
9285
  source: string;
7468
9286
  rule: string;
7469
9287
  } | undefined;
9288
+ lastError?: {
9289
+ message?: string | undefined;
9290
+ at?: string | undefined;
9291
+ exceptionType?: string | undefined;
9292
+ httpStatusCode?: number | undefined;
9293
+ } | undefined;
7470
9294
  }, {
7471
9295
  spanCount: number;
7472
9296
  errorCount: number;
@@ -7480,6 +9304,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7480
9304
  source: string;
7481
9305
  rule: string;
7482
9306
  } | undefined;
9307
+ lastError?: {
9308
+ message?: string | undefined;
9309
+ at?: string | undefined;
9310
+ exceptionType?: string | undefined;
9311
+ httpStatusCode?: number | undefined;
9312
+ } | undefined;
7483
9313
  }>>;
7484
9314
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
7485
9315
  }, "strip", z.ZodTypeAny, {
@@ -7514,6 +9344,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7514
9344
  source: string;
7515
9345
  rule: string;
7516
9346
  } | undefined;
9347
+ lastError?: {
9348
+ message?: string | undefined;
9349
+ at?: string | undefined;
9350
+ exceptionType?: string | undefined;
9351
+ httpStatusCode?: number | undefined;
9352
+ } | undefined;
7517
9353
  } | undefined;
7518
9354
  grain?: "file" | "service" | undefined;
7519
9355
  }, {
@@ -7548,6 +9384,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7548
9384
  source: string;
7549
9385
  rule: string;
7550
9386
  } | undefined;
9387
+ lastError?: {
9388
+ message?: string | undefined;
9389
+ at?: string | undefined;
9390
+ exceptionType?: string | undefined;
9391
+ httpStatusCode?: number | undefined;
9392
+ } | undefined;
7551
9393
  } | undefined;
7552
9394
  grain?: "file" | "service" | undefined;
7553
9395
  }>;
@@ -7602,6 +9444,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7602
9444
  source: string;
7603
9445
  rule: string;
7604
9446
  } | undefined;
9447
+ lastError?: {
9448
+ message?: string | undefined;
9449
+ at?: string | undefined;
9450
+ exceptionType?: string | undefined;
9451
+ httpStatusCode?: number | undefined;
9452
+ } | undefined;
7605
9453
  } | undefined;
7606
9454
  grain?: "file" | "service" | undefined;
7607
9455
  };
@@ -7651,6 +9499,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7651
9499
  source: string;
7652
9500
  rule: string;
7653
9501
  } | undefined;
9502
+ lastError?: {
9503
+ message?: string | undefined;
9504
+ at?: string | undefined;
9505
+ exceptionType?: string | undefined;
9506
+ httpStatusCode?: number | undefined;
9507
+ } | undefined;
7654
9508
  } | undefined;
7655
9509
  grain?: "file" | "service" | undefined;
7656
9510
  };
@@ -7763,6 +9617,22 @@ declare const DivergenceResultSchema: z.ZodObject<{
7763
9617
  source: string;
7764
9618
  rule: string;
7765
9619
  }>, z.ZodBoolean]>>;
9620
+ lastError: z.ZodOptional<z.ZodObject<{
9621
+ exceptionType: z.ZodOptional<z.ZodString>;
9622
+ message: z.ZodOptional<z.ZodString>;
9623
+ at: z.ZodOptional<z.ZodString>;
9624
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
9625
+ }, "strip", z.ZodTypeAny, {
9626
+ message?: string | undefined;
9627
+ at?: string | undefined;
9628
+ exceptionType?: string | undefined;
9629
+ httpStatusCode?: number | undefined;
9630
+ }, {
9631
+ message?: string | undefined;
9632
+ at?: string | undefined;
9633
+ exceptionType?: string | undefined;
9634
+ httpStatusCode?: number | undefined;
9635
+ }>>;
7766
9636
  }, "strip", z.ZodTypeAny, {
7767
9637
  spanCount: number;
7768
9638
  errorCount: number;
@@ -7776,6 +9646,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7776
9646
  source: string;
7777
9647
  rule: string;
7778
9648
  } | undefined;
9649
+ lastError?: {
9650
+ message?: string | undefined;
9651
+ at?: string | undefined;
9652
+ exceptionType?: string | undefined;
9653
+ httpStatusCode?: number | undefined;
9654
+ } | undefined;
7779
9655
  }, {
7780
9656
  spanCount: number;
7781
9657
  errorCount: number;
@@ -7789,6 +9665,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7789
9665
  source: string;
7790
9666
  rule: string;
7791
9667
  } | undefined;
9668
+ lastError?: {
9669
+ message?: string | undefined;
9670
+ at?: string | undefined;
9671
+ exceptionType?: string | undefined;
9672
+ httpStatusCode?: number | undefined;
9673
+ } | undefined;
7792
9674
  }>>;
7793
9675
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
7794
9676
  }, "strip", z.ZodTypeAny, {
@@ -7823,6 +9705,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7823
9705
  source: string;
7824
9706
  rule: string;
7825
9707
  } | undefined;
9708
+ lastError?: {
9709
+ message?: string | undefined;
9710
+ at?: string | undefined;
9711
+ exceptionType?: string | undefined;
9712
+ httpStatusCode?: number | undefined;
9713
+ } | undefined;
7826
9714
  } | undefined;
7827
9715
  grain?: "file" | "service" | undefined;
7828
9716
  }, {
@@ -7857,12 +9745,34 @@ declare const DivergenceResultSchema: z.ZodObject<{
7857
9745
  source: string;
7858
9746
  rule: string;
7859
9747
  } | undefined;
9748
+ lastError?: {
9749
+ message?: string | undefined;
9750
+ at?: string | undefined;
9751
+ exceptionType?: string | undefined;
9752
+ httpStatusCode?: number | undefined;
9753
+ } | undefined;
7860
9754
  } | undefined;
7861
9755
  grain?: "file" | "service" | undefined;
7862
9756
  }>>;
7863
9757
  spanCount: z.ZodOptional<z.ZodNumber>;
7864
9758
  errorCount: z.ZodOptional<z.ZodNumber>;
7865
9759
  errorRate: z.ZodOptional<z.ZodNumber>;
9760
+ lastError: z.ZodOptional<z.ZodObject<{
9761
+ exceptionType: z.ZodOptional<z.ZodString>;
9762
+ message: z.ZodOptional<z.ZodString>;
9763
+ at: z.ZodOptional<z.ZodString>;
9764
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
9765
+ }, "strip", z.ZodTypeAny, {
9766
+ message?: string | undefined;
9767
+ at?: string | undefined;
9768
+ exceptionType?: string | undefined;
9769
+ httpStatusCode?: number | undefined;
9770
+ }, {
9771
+ message?: string | undefined;
9772
+ at?: string | undefined;
9773
+ exceptionType?: string | undefined;
9774
+ httpStatusCode?: number | undefined;
9775
+ }>>;
7866
9776
  location: z.ZodOptional<z.ZodString>;
7867
9777
  incidentId: z.ZodOptional<z.ZodString>;
7868
9778
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -7883,10 +9793,16 @@ declare const DivergenceResultSchema: z.ZodObject<{
7883
9793
  confidence: number;
7884
9794
  recommendation: string;
7885
9795
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
9796
+ httpStatusCode?: number | undefined;
7886
9797
  spanCount?: number | undefined;
7887
9798
  errorCount?: number | undefined;
9799
+ lastError?: {
9800
+ message?: string | undefined;
9801
+ at?: string | undefined;
9802
+ exceptionType?: string | undefined;
9803
+ httpStatusCode?: number | undefined;
9804
+ } | undefined;
7888
9805
  errorMessage?: string | undefined;
7889
- httpStatusCode?: number | undefined;
7890
9806
  incidentCount?: number | undefined;
7891
9807
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
7892
9808
  observed?: {
@@ -7921,6 +9837,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7921
9837
  source: string;
7922
9838
  rule: string;
7923
9839
  } | undefined;
9840
+ lastError?: {
9841
+ message?: string | undefined;
9842
+ at?: string | undefined;
9843
+ exceptionType?: string | undefined;
9844
+ httpStatusCode?: number | undefined;
9845
+ } | undefined;
7924
9846
  } | undefined;
7925
9847
  grain?: "file" | "service" | undefined;
7926
9848
  } | undefined;
@@ -7936,10 +9858,16 @@ declare const DivergenceResultSchema: z.ZodObject<{
7936
9858
  confidence: number;
7937
9859
  recommendation: string;
7938
9860
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
9861
+ httpStatusCode?: number | undefined;
7939
9862
  spanCount?: number | undefined;
7940
9863
  errorCount?: number | undefined;
9864
+ lastError?: {
9865
+ message?: string | undefined;
9866
+ at?: string | undefined;
9867
+ exceptionType?: string | undefined;
9868
+ httpStatusCode?: number | undefined;
9869
+ } | undefined;
7941
9870
  errorMessage?: string | undefined;
7942
- httpStatusCode?: number | undefined;
7943
9871
  incidentCount?: number | undefined;
7944
9872
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
7945
9873
  observed?: {
@@ -7974,6 +9902,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
7974
9902
  source: string;
7975
9903
  rule: string;
7976
9904
  } | undefined;
9905
+ lastError?: {
9906
+ message?: string | undefined;
9907
+ at?: string | undefined;
9908
+ exceptionType?: string | undefined;
9909
+ httpStatusCode?: number | undefined;
9910
+ } | undefined;
7977
9911
  } | undefined;
7978
9912
  grain?: "file" | "service" | undefined;
7979
9913
  } | undefined;
@@ -8061,6 +9995,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8061
9995
  source: string;
8062
9996
  rule: string;
8063
9997
  } | undefined;
9998
+ lastError?: {
9999
+ message?: string | undefined;
10000
+ at?: string | undefined;
10001
+ exceptionType?: string | undefined;
10002
+ httpStatusCode?: number | undefined;
10003
+ } | undefined;
8064
10004
  } | undefined;
8065
10005
  grain?: "file" | "service" | undefined;
8066
10006
  } | undefined;
@@ -8106,6 +10046,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8106
10046
  source: string;
8107
10047
  rule: string;
8108
10048
  } | undefined;
10049
+ lastError?: {
10050
+ message?: string | undefined;
10051
+ at?: string | undefined;
10052
+ exceptionType?: string | undefined;
10053
+ httpStatusCode?: number | undefined;
10054
+ } | undefined;
8109
10055
  } | undefined;
8110
10056
  grain?: "file" | "service" | undefined;
8111
10057
  } | undefined;
@@ -8175,6 +10121,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8175
10121
  source: string;
8176
10122
  rule: string;
8177
10123
  } | undefined;
10124
+ lastError?: {
10125
+ message?: string | undefined;
10126
+ at?: string | undefined;
10127
+ exceptionType?: string | undefined;
10128
+ httpStatusCode?: number | undefined;
10129
+ } | undefined;
8178
10130
  } | undefined;
8179
10131
  grain?: "file" | "service" | undefined;
8180
10132
  };
@@ -8202,10 +10154,16 @@ declare const DivergenceResultSchema: z.ZodObject<{
8202
10154
  confidence: number;
8203
10155
  recommendation: string;
8204
10156
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
10157
+ httpStatusCode?: number | undefined;
8205
10158
  spanCount?: number | undefined;
8206
10159
  errorCount?: number | undefined;
10160
+ lastError?: {
10161
+ message?: string | undefined;
10162
+ at?: string | undefined;
10163
+ exceptionType?: string | undefined;
10164
+ httpStatusCode?: number | undefined;
10165
+ } | undefined;
8207
10166
  errorMessage?: string | undefined;
8208
- httpStatusCode?: number | undefined;
8209
10167
  incidentCount?: number | undefined;
8210
10168
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
8211
10169
  observed?: {
@@ -8240,6 +10198,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8240
10198
  source: string;
8241
10199
  rule: string;
8242
10200
  } | undefined;
10201
+ lastError?: {
10202
+ message?: string | undefined;
10203
+ at?: string | undefined;
10204
+ exceptionType?: string | undefined;
10205
+ httpStatusCode?: number | undefined;
10206
+ } | undefined;
8243
10207
  } | undefined;
8244
10208
  grain?: "file" | "service" | undefined;
8245
10209
  } | undefined;
@@ -8302,6 +10266,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8302
10266
  source: string;
8303
10267
  rule: string;
8304
10268
  } | undefined;
10269
+ lastError?: {
10270
+ message?: string | undefined;
10271
+ at?: string | undefined;
10272
+ exceptionType?: string | undefined;
10273
+ httpStatusCode?: number | undefined;
10274
+ } | undefined;
8305
10275
  } | undefined;
8306
10276
  grain?: "file" | "service" | undefined;
8307
10277
  } | undefined;
@@ -8347,6 +10317,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8347
10317
  source: string;
8348
10318
  rule: string;
8349
10319
  } | undefined;
10320
+ lastError?: {
10321
+ message?: string | undefined;
10322
+ at?: string | undefined;
10323
+ exceptionType?: string | undefined;
10324
+ httpStatusCode?: number | undefined;
10325
+ } | undefined;
8350
10326
  } | undefined;
8351
10327
  grain?: "file" | "service" | undefined;
8352
10328
  } | undefined;
@@ -8416,6 +10392,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8416
10392
  source: string;
8417
10393
  rule: string;
8418
10394
  } | undefined;
10395
+ lastError?: {
10396
+ message?: string | undefined;
10397
+ at?: string | undefined;
10398
+ exceptionType?: string | undefined;
10399
+ httpStatusCode?: number | undefined;
10400
+ } | undefined;
8419
10401
  } | undefined;
8420
10402
  grain?: "file" | "service" | undefined;
8421
10403
  };
@@ -8443,10 +10425,16 @@ declare const DivergenceResultSchema: z.ZodObject<{
8443
10425
  confidence: number;
8444
10426
  recommendation: string;
8445
10427
  failureKind: "error-rate" | "connection-refused" | "deadline-exceeded" | "timeout" | "unavailable" | "server-error";
10428
+ httpStatusCode?: number | undefined;
8446
10429
  spanCount?: number | undefined;
8447
10430
  errorCount?: number | undefined;
10431
+ lastError?: {
10432
+ message?: string | undefined;
10433
+ at?: string | undefined;
10434
+ exceptionType?: string | undefined;
10435
+ httpStatusCode?: number | undefined;
10436
+ } | undefined;
8448
10437
  errorMessage?: string | undefined;
8449
- httpStatusCode?: number | undefined;
8450
10438
  incidentCount?: number | undefined;
8451
10439
  edgeType?: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS" | "IMPORTS" | "INHERITS" | "IMPLEMENTS" | "REFERENCES" | undefined;
8452
10440
  observed?: {
@@ -8481,6 +10469,12 @@ declare const DivergenceResultSchema: z.ZodObject<{
8481
10469
  source: string;
8482
10470
  rule: string;
8483
10471
  } | undefined;
10472
+ lastError?: {
10473
+ message?: string | undefined;
10474
+ at?: string | undefined;
10475
+ exceptionType?: string | undefined;
10476
+ httpStatusCode?: number | undefined;
10477
+ } | undefined;
8484
10478
  } | undefined;
8485
10479
  grain?: "file" | "service" | undefined;
8486
10480
  } | undefined;
@@ -8536,11 +10530,11 @@ declare const IncidentsResponseSchema: z.ZodObject<{
8536
10530
  spanId: string;
8537
10531
  errorMessage: string;
8538
10532
  affectedNode: string;
8539
- errorType?: string | undefined;
8540
10533
  exceptionType?: string | undefined;
10534
+ httpStatusCode?: number | undefined;
10535
+ errorType?: string | undefined;
8541
10536
  exceptionStacktrace?: string | undefined;
8542
10537
  attributes?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null> | undefined;
8543
- httpStatusCode?: number | undefined;
8544
10538
  incidentCount?: number | undefined;
8545
10539
  firstTimestamp?: string | undefined;
8546
10540
  lastTimestamp?: string | undefined;
@@ -8552,11 +10546,11 @@ declare const IncidentsResponseSchema: z.ZodObject<{
8552
10546
  spanId: string;
8553
10547
  errorMessage: string;
8554
10548
  affectedNode: string;
8555
- errorType?: string | undefined;
8556
10549
  exceptionType?: string | undefined;
10550
+ httpStatusCode?: number | undefined;
10551
+ errorType?: string | undefined;
8557
10552
  exceptionStacktrace?: string | undefined;
8558
10553
  attributes?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null> | undefined;
8559
- httpStatusCode?: number | undefined;
8560
10554
  incidentCount?: number | undefined;
8561
10555
  firstTimestamp?: string | undefined;
8562
10556
  lastTimestamp?: string | undefined;
@@ -8572,11 +10566,11 @@ declare const IncidentsResponseSchema: z.ZodObject<{
8572
10566
  spanId: string;
8573
10567
  errorMessage: string;
8574
10568
  affectedNode: string;
8575
- errorType?: string | undefined;
8576
10569
  exceptionType?: string | undefined;
10570
+ httpStatusCode?: number | undefined;
10571
+ errorType?: string | undefined;
8577
10572
  exceptionStacktrace?: string | undefined;
8578
10573
  attributes?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null> | undefined;
8579
- httpStatusCode?: number | undefined;
8580
10574
  incidentCount?: number | undefined;
8581
10575
  firstTimestamp?: string | undefined;
8582
10576
  lastTimestamp?: string | undefined;
@@ -8592,11 +10586,11 @@ declare const IncidentsResponseSchema: z.ZodObject<{
8592
10586
  spanId: string;
8593
10587
  errorMessage: string;
8594
10588
  affectedNode: string;
8595
- errorType?: string | undefined;
8596
10589
  exceptionType?: string | undefined;
10590
+ httpStatusCode?: number | undefined;
10591
+ errorType?: string | undefined;
8597
10592
  exceptionStacktrace?: string | undefined;
8598
10593
  attributes?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null> | undefined;
8599
- httpStatusCode?: number | undefined;
8600
10594
  incidentCount?: number | undefined;
8601
10595
  firstTimestamp?: string | undefined;
8602
10596
  lastTimestamp?: string | undefined;
@@ -9802,6 +11796,22 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9802
11796
  source: string;
9803
11797
  rule: string;
9804
11798
  }>, z.ZodBoolean]>>;
11799
+ lastError: z.ZodOptional<z.ZodObject<{
11800
+ exceptionType: z.ZodOptional<z.ZodString>;
11801
+ message: z.ZodOptional<z.ZodString>;
11802
+ at: z.ZodOptional<z.ZodString>;
11803
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
11804
+ }, "strip", z.ZodTypeAny, {
11805
+ message?: string | undefined;
11806
+ at?: string | undefined;
11807
+ exceptionType?: string | undefined;
11808
+ httpStatusCode?: number | undefined;
11809
+ }, {
11810
+ message?: string | undefined;
11811
+ at?: string | undefined;
11812
+ exceptionType?: string | undefined;
11813
+ httpStatusCode?: number | undefined;
11814
+ }>>;
9805
11815
  }, "strip", z.ZodTypeAny, {
9806
11816
  spanCount: number;
9807
11817
  errorCount: number;
@@ -9815,6 +11825,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9815
11825
  source: string;
9816
11826
  rule: string;
9817
11827
  } | undefined;
11828
+ lastError?: {
11829
+ message?: string | undefined;
11830
+ at?: string | undefined;
11831
+ exceptionType?: string | undefined;
11832
+ httpStatusCode?: number | undefined;
11833
+ } | undefined;
9818
11834
  }, {
9819
11835
  spanCount: number;
9820
11836
  errorCount: number;
@@ -9828,6 +11844,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9828
11844
  source: string;
9829
11845
  rule: string;
9830
11846
  } | undefined;
11847
+ lastError?: {
11848
+ message?: string | undefined;
11849
+ at?: string | undefined;
11850
+ exceptionType?: string | undefined;
11851
+ httpStatusCode?: number | undefined;
11852
+ } | undefined;
9831
11853
  }>>;
9832
11854
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
9833
11855
  }, "strip", z.ZodTypeAny, {
@@ -9862,6 +11884,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9862
11884
  source: string;
9863
11885
  rule: string;
9864
11886
  } | undefined;
11887
+ lastError?: {
11888
+ message?: string | undefined;
11889
+ at?: string | undefined;
11890
+ exceptionType?: string | undefined;
11891
+ httpStatusCode?: number | undefined;
11892
+ } | undefined;
9865
11893
  } | undefined;
9866
11894
  grain?: "file" | "service" | undefined;
9867
11895
  }, {
@@ -9896,6 +11924,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9896
11924
  source: string;
9897
11925
  rule: string;
9898
11926
  } | undefined;
11927
+ lastError?: {
11928
+ message?: string | undefined;
11929
+ at?: string | undefined;
11930
+ exceptionType?: string | undefined;
11931
+ httpStatusCode?: number | undefined;
11932
+ } | undefined;
9899
11933
  } | undefined;
9900
11934
  grain?: "file" | "service" | undefined;
9901
11935
  }>, "many">;
@@ -9961,6 +11995,22 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9961
11995
  source: string;
9962
11996
  rule: string;
9963
11997
  }>, z.ZodBoolean]>>;
11998
+ lastError: z.ZodOptional<z.ZodObject<{
11999
+ exceptionType: z.ZodOptional<z.ZodString>;
12000
+ message: z.ZodOptional<z.ZodString>;
12001
+ at: z.ZodOptional<z.ZodString>;
12002
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
12003
+ }, "strip", z.ZodTypeAny, {
12004
+ message?: string | undefined;
12005
+ at?: string | undefined;
12006
+ exceptionType?: string | undefined;
12007
+ httpStatusCode?: number | undefined;
12008
+ }, {
12009
+ message?: string | undefined;
12010
+ at?: string | undefined;
12011
+ exceptionType?: string | undefined;
12012
+ httpStatusCode?: number | undefined;
12013
+ }>>;
9964
12014
  }, "strip", z.ZodTypeAny, {
9965
12015
  spanCount: number;
9966
12016
  errorCount: number;
@@ -9974,6 +12024,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9974
12024
  source: string;
9975
12025
  rule: string;
9976
12026
  } | undefined;
12027
+ lastError?: {
12028
+ message?: string | undefined;
12029
+ at?: string | undefined;
12030
+ exceptionType?: string | undefined;
12031
+ httpStatusCode?: number | undefined;
12032
+ } | undefined;
9977
12033
  }, {
9978
12034
  spanCount: number;
9979
12035
  errorCount: number;
@@ -9987,6 +12043,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
9987
12043
  source: string;
9988
12044
  rule: string;
9989
12045
  } | undefined;
12046
+ lastError?: {
12047
+ message?: string | undefined;
12048
+ at?: string | undefined;
12049
+ exceptionType?: string | undefined;
12050
+ httpStatusCode?: number | undefined;
12051
+ } | undefined;
9990
12052
  }>>;
9991
12053
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
9992
12054
  }, "strip", z.ZodTypeAny, {
@@ -10021,6 +12083,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
10021
12083
  source: string;
10022
12084
  rule: string;
10023
12085
  } | undefined;
12086
+ lastError?: {
12087
+ message?: string | undefined;
12088
+ at?: string | undefined;
12089
+ exceptionType?: string | undefined;
12090
+ httpStatusCode?: number | undefined;
12091
+ } | undefined;
10024
12092
  } | undefined;
10025
12093
  grain?: "file" | "service" | undefined;
10026
12094
  }, {
@@ -10055,6 +12123,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
10055
12123
  source: string;
10056
12124
  rule: string;
10057
12125
  } | undefined;
12126
+ lastError?: {
12127
+ message?: string | undefined;
12128
+ at?: string | undefined;
12129
+ exceptionType?: string | undefined;
12130
+ httpStatusCode?: number | undefined;
12131
+ } | undefined;
10058
12132
  } | undefined;
10059
12133
  grain?: "file" | "service" | undefined;
10060
12134
  }>, "many">;
@@ -10091,6 +12165,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
10091
12165
  source: string;
10092
12166
  rule: string;
10093
12167
  } | undefined;
12168
+ lastError?: {
12169
+ message?: string | undefined;
12170
+ at?: string | undefined;
12171
+ exceptionType?: string | undefined;
12172
+ httpStatusCode?: number | undefined;
12173
+ } | undefined;
10094
12174
  } | undefined;
10095
12175
  grain?: "file" | "service" | undefined;
10096
12176
  }[];
@@ -10126,6 +12206,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
10126
12206
  source: string;
10127
12207
  rule: string;
10128
12208
  } | undefined;
12209
+ lastError?: {
12210
+ message?: string | undefined;
12211
+ at?: string | undefined;
12212
+ exceptionType?: string | undefined;
12213
+ httpStatusCode?: number | undefined;
12214
+ } | undefined;
10129
12215
  } | undefined;
10130
12216
  grain?: "file" | "service" | undefined;
10131
12217
  }[];
@@ -10162,6 +12248,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
10162
12248
  source: string;
10163
12249
  rule: string;
10164
12250
  } | undefined;
12251
+ lastError?: {
12252
+ message?: string | undefined;
12253
+ at?: string | undefined;
12254
+ exceptionType?: string | undefined;
12255
+ httpStatusCode?: number | undefined;
12256
+ } | undefined;
10165
12257
  } | undefined;
10166
12258
  grain?: "file" | "service" | undefined;
10167
12259
  }[];
@@ -10197,6 +12289,12 @@ declare const GraphEdgesResponseSchema: z.ZodObject<{
10197
12289
  source: string;
10198
12290
  rule: string;
10199
12291
  } | undefined;
12292
+ lastError?: {
12293
+ message?: string | undefined;
12294
+ at?: string | undefined;
12295
+ exceptionType?: string | undefined;
12296
+ httpStatusCode?: number | undefined;
12297
+ } | undefined;
10200
12298
  } | undefined;
10201
12299
  grain?: "file" | "service" | undefined;
10202
12300
  }[];
@@ -10453,16 +12551,16 @@ declare const ConnectorStatusSchema: z.ZodObject<{
10453
12551
  lastError: z.ZodNullable<z.ZodString>;
10454
12552
  signalsLastPoll: z.ZodNumber;
10455
12553
  }, "strip", z.ZodTypeAny, {
12554
+ lastError: string | null;
10456
12555
  state: "stale" | "error" | "idle" | "healthy";
10457
12556
  lastPollAt: string | null;
10458
12557
  lastOutcome: "error" | "ok" | null;
10459
- lastError: string | null;
10460
12558
  signalsLastPoll: number;
10461
12559
  }, {
12560
+ lastError: string | null;
10462
12561
  state: "stale" | "error" | "idle" | "healthy";
10463
12562
  lastPollAt: string | null;
10464
12563
  lastOutcome: "error" | "ok" | null;
10465
- lastError: string | null;
10466
12564
  signalsLastPoll: number;
10467
12565
  }>;
10468
12566
  type ConnectorStatus = z.infer<typeof ConnectorStatusSchema>;
@@ -10477,24 +12575,24 @@ declare const ConnectorStatusEntrySchema: z.ZodObject<{
10477
12575
  lastError: z.ZodNullable<z.ZodString>;
10478
12576
  signalsLastPoll: z.ZodNumber;
10479
12577
  }, "strip", z.ZodTypeAny, {
12578
+ lastError: string | null;
10480
12579
  state: "stale" | "error" | "idle" | "healthy";
10481
12580
  lastPollAt: string | null;
10482
12581
  lastOutcome: "error" | "ok" | null;
10483
- lastError: string | null;
10484
12582
  signalsLastPoll: number;
10485
12583
  }, {
12584
+ lastError: string | null;
10486
12585
  state: "stale" | "error" | "idle" | "healthy";
10487
12586
  lastPollAt: string | null;
10488
12587
  lastOutcome: "error" | "ok" | null;
10489
- lastError: string | null;
10490
12588
  signalsLastPoll: number;
10491
12589
  }>;
10492
12590
  }, "strip", z.ZodTypeAny, {
10493
12591
  status: {
12592
+ lastError: string | null;
10494
12593
  state: "stale" | "error" | "idle" | "healthy";
10495
12594
  lastPollAt: string | null;
10496
12595
  lastOutcome: "error" | "ok" | null;
10497
- lastError: string | null;
10498
12596
  signalsLastPoll: number;
10499
12597
  };
10500
12598
  id: string;
@@ -10502,10 +12600,10 @@ declare const ConnectorStatusEntrySchema: z.ZodObject<{
10502
12600
  credentialRef: string | Record<string, string>;
10503
12601
  }, {
10504
12602
  status: {
12603
+ lastError: string | null;
10505
12604
  state: "stale" | "error" | "idle" | "healthy";
10506
12605
  lastPollAt: string | null;
10507
12606
  lastOutcome: "error" | "ok" | null;
10508
- lastError: string | null;
10509
12607
  signalsLastPoll: number;
10510
12608
  };
10511
12609
  id: string;
@@ -10525,24 +12623,24 @@ declare const ConnectorsStatusResponseSchema: z.ZodObject<{
10525
12623
  lastError: z.ZodNullable<z.ZodString>;
10526
12624
  signalsLastPoll: z.ZodNumber;
10527
12625
  }, "strip", z.ZodTypeAny, {
12626
+ lastError: string | null;
10528
12627
  state: "stale" | "error" | "idle" | "healthy";
10529
12628
  lastPollAt: string | null;
10530
12629
  lastOutcome: "error" | "ok" | null;
10531
- lastError: string | null;
10532
12630
  signalsLastPoll: number;
10533
12631
  }, {
12632
+ lastError: string | null;
10534
12633
  state: "stale" | "error" | "idle" | "healthy";
10535
12634
  lastPollAt: string | null;
10536
12635
  lastOutcome: "error" | "ok" | null;
10537
- lastError: string | null;
10538
12636
  signalsLastPoll: number;
10539
12637
  }>;
10540
12638
  }, "strip", z.ZodTypeAny, {
10541
12639
  status: {
12640
+ lastError: string | null;
10542
12641
  state: "stale" | "error" | "idle" | "healthy";
10543
12642
  lastPollAt: string | null;
10544
12643
  lastOutcome: "error" | "ok" | null;
10545
- lastError: string | null;
10546
12644
  signalsLastPoll: number;
10547
12645
  };
10548
12646
  id: string;
@@ -10550,10 +12648,10 @@ declare const ConnectorsStatusResponseSchema: z.ZodObject<{
10550
12648
  credentialRef: string | Record<string, string>;
10551
12649
  }, {
10552
12650
  status: {
12651
+ lastError: string | null;
10553
12652
  state: "stale" | "error" | "idle" | "healthy";
10554
12653
  lastPollAt: string | null;
10555
12654
  lastOutcome: "error" | "ok" | null;
10556
- lastError: string | null;
10557
12655
  signalsLastPoll: number;
10558
12656
  };
10559
12657
  id: string;
@@ -10563,10 +12661,10 @@ declare const ConnectorsStatusResponseSchema: z.ZodObject<{
10563
12661
  }, "strip", z.ZodTypeAny, {
10564
12662
  connectors: {
10565
12663
  status: {
12664
+ lastError: string | null;
10566
12665
  state: "stale" | "error" | "idle" | "healthy";
10567
12666
  lastPollAt: string | null;
10568
12667
  lastOutcome: "error" | "ok" | null;
10569
- lastError: string | null;
10570
12668
  signalsLastPoll: number;
10571
12669
  };
10572
12670
  id: string;
@@ -10576,10 +12674,10 @@ declare const ConnectorsStatusResponseSchema: z.ZodObject<{
10576
12674
  }, {
10577
12675
  connectors: {
10578
12676
  status: {
12677
+ lastError: string | null;
10579
12678
  state: "stale" | "error" | "idle" | "healthy";
10580
12679
  lastPollAt: string | null;
10581
12680
  lastOutcome: "error" | "ok" | null;
10582
- lastError: string | null;
10583
12681
  signalsLastPoll: number;
10584
12682
  };
10585
12683
  id: string;
@@ -11265,6 +13363,22 @@ declare const SerializedGraphSchema: z.ZodObject<{
11265
13363
  source: string;
11266
13364
  rule: string;
11267
13365
  }>, z.ZodBoolean]>>;
13366
+ lastError: z.ZodOptional<z.ZodObject<{
13367
+ exceptionType: z.ZodOptional<z.ZodString>;
13368
+ message: z.ZodOptional<z.ZodString>;
13369
+ at: z.ZodOptional<z.ZodString>;
13370
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
13371
+ }, "strip", z.ZodTypeAny, {
13372
+ message?: string | undefined;
13373
+ at?: string | undefined;
13374
+ exceptionType?: string | undefined;
13375
+ httpStatusCode?: number | undefined;
13376
+ }, {
13377
+ message?: string | undefined;
13378
+ at?: string | undefined;
13379
+ exceptionType?: string | undefined;
13380
+ httpStatusCode?: number | undefined;
13381
+ }>>;
11268
13382
  }, "strip", z.ZodTypeAny, {
11269
13383
  spanCount: number;
11270
13384
  errorCount: number;
@@ -11278,6 +13392,12 @@ declare const SerializedGraphSchema: z.ZodObject<{
11278
13392
  source: string;
11279
13393
  rule: string;
11280
13394
  } | undefined;
13395
+ lastError?: {
13396
+ message?: string | undefined;
13397
+ at?: string | undefined;
13398
+ exceptionType?: string | undefined;
13399
+ httpStatusCode?: number | undefined;
13400
+ } | undefined;
11281
13401
  }, {
11282
13402
  spanCount: number;
11283
13403
  errorCount: number;
@@ -11291,6 +13411,12 @@ declare const SerializedGraphSchema: z.ZodObject<{
11291
13411
  source: string;
11292
13412
  rule: string;
11293
13413
  } | undefined;
13414
+ lastError?: {
13415
+ message?: string | undefined;
13416
+ at?: string | undefined;
13417
+ exceptionType?: string | undefined;
13418
+ httpStatusCode?: number | undefined;
13419
+ } | undefined;
11294
13420
  }>>;
11295
13421
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
11296
13422
  }, "strip", z.ZodTypeAny, {
@@ -11325,6 +13451,12 @@ declare const SerializedGraphSchema: z.ZodObject<{
11325
13451
  source: string;
11326
13452
  rule: string;
11327
13453
  } | undefined;
13454
+ lastError?: {
13455
+ message?: string | undefined;
13456
+ at?: string | undefined;
13457
+ exceptionType?: string | undefined;
13458
+ httpStatusCode?: number | undefined;
13459
+ } | undefined;
11328
13460
  } | undefined;
11329
13461
  grain?: "file" | "service" | undefined;
11330
13462
  }, {
@@ -11359,6 +13491,12 @@ declare const SerializedGraphSchema: z.ZodObject<{
11359
13491
  source: string;
11360
13492
  rule: string;
11361
13493
  } | undefined;
13494
+ lastError?: {
13495
+ message?: string | undefined;
13496
+ at?: string | undefined;
13497
+ exceptionType?: string | undefined;
13498
+ httpStatusCode?: number | undefined;
13499
+ } | undefined;
11362
13500
  } | undefined;
11363
13501
  grain?: "file" | "service" | undefined;
11364
13502
  }>, "many">;
@@ -11561,6 +13699,12 @@ declare const SerializedGraphSchema: z.ZodObject<{
11561
13699
  source: string;
11562
13700
  rule: string;
11563
13701
  } | undefined;
13702
+ lastError?: {
13703
+ message?: string | undefined;
13704
+ at?: string | undefined;
13705
+ exceptionType?: string | undefined;
13706
+ httpStatusCode?: number | undefined;
13707
+ } | undefined;
11564
13708
  } | undefined;
11565
13709
  grain?: "file" | "service" | undefined;
11566
13710
  }[];
@@ -11763,6 +13907,12 @@ declare const SerializedGraphSchema: z.ZodObject<{
11763
13907
  source: string;
11764
13908
  rule: string;
11765
13909
  } | undefined;
13910
+ lastError?: {
13911
+ message?: string | undefined;
13912
+ at?: string | undefined;
13913
+ exceptionType?: string | undefined;
13914
+ httpStatusCode?: number | undefined;
13915
+ } | undefined;
11766
13916
  } | undefined;
11767
13917
  grain?: "file" | "service" | undefined;
11768
13918
  }[];
@@ -12428,6 +14578,22 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12428
14578
  source: string;
12429
14579
  rule: string;
12430
14580
  }>, z.ZodBoolean]>>;
14581
+ lastError: z.ZodOptional<z.ZodObject<{
14582
+ exceptionType: z.ZodOptional<z.ZodString>;
14583
+ message: z.ZodOptional<z.ZodString>;
14584
+ at: z.ZodOptional<z.ZodString>;
14585
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
14586
+ }, "strip", z.ZodTypeAny, {
14587
+ message?: string | undefined;
14588
+ at?: string | undefined;
14589
+ exceptionType?: string | undefined;
14590
+ httpStatusCode?: number | undefined;
14591
+ }, {
14592
+ message?: string | undefined;
14593
+ at?: string | undefined;
14594
+ exceptionType?: string | undefined;
14595
+ httpStatusCode?: number | undefined;
14596
+ }>>;
12431
14597
  }, "strip", z.ZodTypeAny, {
12432
14598
  spanCount: number;
12433
14599
  errorCount: number;
@@ -12441,6 +14607,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12441
14607
  source: string;
12442
14608
  rule: string;
12443
14609
  } | undefined;
14610
+ lastError?: {
14611
+ message?: string | undefined;
14612
+ at?: string | undefined;
14613
+ exceptionType?: string | undefined;
14614
+ httpStatusCode?: number | undefined;
14615
+ } | undefined;
12444
14616
  }, {
12445
14617
  spanCount: number;
12446
14618
  errorCount: number;
@@ -12454,6 +14626,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12454
14626
  source: string;
12455
14627
  rule: string;
12456
14628
  } | undefined;
14629
+ lastError?: {
14630
+ message?: string | undefined;
14631
+ at?: string | undefined;
14632
+ exceptionType?: string | undefined;
14633
+ httpStatusCode?: number | undefined;
14634
+ } | undefined;
12457
14635
  }>>;
12458
14636
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
12459
14637
  }, "strip", z.ZodTypeAny, {
@@ -12488,6 +14666,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12488
14666
  source: string;
12489
14667
  rule: string;
12490
14668
  } | undefined;
14669
+ lastError?: {
14670
+ message?: string | undefined;
14671
+ at?: string | undefined;
14672
+ exceptionType?: string | undefined;
14673
+ httpStatusCode?: number | undefined;
14674
+ } | undefined;
12491
14675
  } | undefined;
12492
14676
  grain?: "file" | "service" | undefined;
12493
14677
  }, {
@@ -12522,6 +14706,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12522
14706
  source: string;
12523
14707
  rule: string;
12524
14708
  } | undefined;
14709
+ lastError?: {
14710
+ message?: string | undefined;
14711
+ at?: string | undefined;
14712
+ exceptionType?: string | undefined;
14713
+ httpStatusCode?: number | undefined;
14714
+ } | undefined;
12525
14715
  } | undefined;
12526
14716
  grain?: "file" | "service" | undefined;
12527
14717
  }>, "many">;
@@ -12724,6 +14914,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12724
14914
  source: string;
12725
14915
  rule: string;
12726
14916
  } | undefined;
14917
+ lastError?: {
14918
+ message?: string | undefined;
14919
+ at?: string | undefined;
14920
+ exceptionType?: string | undefined;
14921
+ httpStatusCode?: number | undefined;
14922
+ } | undefined;
12727
14923
  } | undefined;
12728
14924
  grain?: "file" | "service" | undefined;
12729
14925
  }[];
@@ -12926,6 +15122,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
12926
15122
  source: string;
12927
15123
  rule: string;
12928
15124
  } | undefined;
15125
+ lastError?: {
15126
+ message?: string | undefined;
15127
+ at?: string | undefined;
15128
+ exceptionType?: string | undefined;
15129
+ httpStatusCode?: number | undefined;
15130
+ } | undefined;
12929
15131
  } | undefined;
12930
15132
  grain?: "file" | "service" | undefined;
12931
15133
  }[];
@@ -13575,6 +15777,22 @@ declare const GraphDiffResultSchema: z.ZodObject<{
13575
15777
  source: string;
13576
15778
  rule: string;
13577
15779
  }>, z.ZodBoolean]>>;
15780
+ lastError: z.ZodOptional<z.ZodObject<{
15781
+ exceptionType: z.ZodOptional<z.ZodString>;
15782
+ message: z.ZodOptional<z.ZodString>;
15783
+ at: z.ZodOptional<z.ZodString>;
15784
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
15785
+ }, "strip", z.ZodTypeAny, {
15786
+ message?: string | undefined;
15787
+ at?: string | undefined;
15788
+ exceptionType?: string | undefined;
15789
+ httpStatusCode?: number | undefined;
15790
+ }, {
15791
+ message?: string | undefined;
15792
+ at?: string | undefined;
15793
+ exceptionType?: string | undefined;
15794
+ httpStatusCode?: number | undefined;
15795
+ }>>;
13578
15796
  }, "strip", z.ZodTypeAny, {
13579
15797
  spanCount: number;
13580
15798
  errorCount: number;
@@ -13588,6 +15806,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
13588
15806
  source: string;
13589
15807
  rule: string;
13590
15808
  } | undefined;
15809
+ lastError?: {
15810
+ message?: string | undefined;
15811
+ at?: string | undefined;
15812
+ exceptionType?: string | undefined;
15813
+ httpStatusCode?: number | undefined;
15814
+ } | undefined;
13591
15815
  }, {
13592
15816
  spanCount: number;
13593
15817
  errorCount: number;
@@ -13601,6 +15825,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
13601
15825
  source: string;
13602
15826
  rule: string;
13603
15827
  } | undefined;
15828
+ lastError?: {
15829
+ message?: string | undefined;
15830
+ at?: string | undefined;
15831
+ exceptionType?: string | undefined;
15832
+ httpStatusCode?: number | undefined;
15833
+ } | undefined;
13604
15834
  }>>;
13605
15835
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
13606
15836
  }, "strip", z.ZodTypeAny, {
@@ -13635,6 +15865,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
13635
15865
  source: string;
13636
15866
  rule: string;
13637
15867
  } | undefined;
15868
+ lastError?: {
15869
+ message?: string | undefined;
15870
+ at?: string | undefined;
15871
+ exceptionType?: string | undefined;
15872
+ httpStatusCode?: number | undefined;
15873
+ } | undefined;
13638
15874
  } | undefined;
13639
15875
  grain?: "file" | "service" | undefined;
13640
15876
  }, {
@@ -13669,6 +15905,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
13669
15905
  source: string;
13670
15906
  rule: string;
13671
15907
  } | undefined;
15908
+ lastError?: {
15909
+ message?: string | undefined;
15910
+ at?: string | undefined;
15911
+ exceptionType?: string | undefined;
15912
+ httpStatusCode?: number | undefined;
15913
+ } | undefined;
13672
15914
  } | undefined;
13673
15915
  grain?: "file" | "service" | undefined;
13674
15916
  }>, "many">;
@@ -13871,6 +16113,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
13871
16113
  source: string;
13872
16114
  rule: string;
13873
16115
  } | undefined;
16116
+ lastError?: {
16117
+ message?: string | undefined;
16118
+ at?: string | undefined;
16119
+ exceptionType?: string | undefined;
16120
+ httpStatusCode?: number | undefined;
16121
+ } | undefined;
13874
16122
  } | undefined;
13875
16123
  grain?: "file" | "service" | undefined;
13876
16124
  }[];
@@ -14073,6 +16321,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
14073
16321
  source: string;
14074
16322
  rule: string;
14075
16323
  } | undefined;
16324
+ lastError?: {
16325
+ message?: string | undefined;
16326
+ at?: string | undefined;
16327
+ exceptionType?: string | undefined;
16328
+ httpStatusCode?: number | undefined;
16329
+ } | undefined;
14076
16330
  } | undefined;
14077
16331
  grain?: "file" | "service" | undefined;
14078
16332
  }[];
@@ -15977,6 +18231,22 @@ declare const GraphDiffResultSchema: z.ZodObject<{
15977
18231
  source: string;
15978
18232
  rule: string;
15979
18233
  }>, z.ZodBoolean]>>;
18234
+ lastError: z.ZodOptional<z.ZodObject<{
18235
+ exceptionType: z.ZodOptional<z.ZodString>;
18236
+ message: z.ZodOptional<z.ZodString>;
18237
+ at: z.ZodOptional<z.ZodString>;
18238
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
18239
+ }, "strip", z.ZodTypeAny, {
18240
+ message?: string | undefined;
18241
+ at?: string | undefined;
18242
+ exceptionType?: string | undefined;
18243
+ httpStatusCode?: number | undefined;
18244
+ }, {
18245
+ message?: string | undefined;
18246
+ at?: string | undefined;
18247
+ exceptionType?: string | undefined;
18248
+ httpStatusCode?: number | undefined;
18249
+ }>>;
15980
18250
  }, "strip", z.ZodTypeAny, {
15981
18251
  spanCount: number;
15982
18252
  errorCount: number;
@@ -15990,6 +18260,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
15990
18260
  source: string;
15991
18261
  rule: string;
15992
18262
  } | undefined;
18263
+ lastError?: {
18264
+ message?: string | undefined;
18265
+ at?: string | undefined;
18266
+ exceptionType?: string | undefined;
18267
+ httpStatusCode?: number | undefined;
18268
+ } | undefined;
15993
18269
  }, {
15994
18270
  spanCount: number;
15995
18271
  errorCount: number;
@@ -16003,6 +18279,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16003
18279
  source: string;
16004
18280
  rule: string;
16005
18281
  } | undefined;
18282
+ lastError?: {
18283
+ message?: string | undefined;
18284
+ at?: string | undefined;
18285
+ exceptionType?: string | undefined;
18286
+ httpStatusCode?: number | undefined;
18287
+ } | undefined;
16006
18288
  }>>;
16007
18289
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
16008
18290
  }, "strip", z.ZodTypeAny, {
@@ -16037,6 +18319,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16037
18319
  source: string;
16038
18320
  rule: string;
16039
18321
  } | undefined;
18322
+ lastError?: {
18323
+ message?: string | undefined;
18324
+ at?: string | undefined;
18325
+ exceptionType?: string | undefined;
18326
+ httpStatusCode?: number | undefined;
18327
+ } | undefined;
16040
18328
  } | undefined;
16041
18329
  grain?: "file" | "service" | undefined;
16042
18330
  }, {
@@ -16071,6 +18359,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16071
18359
  source: string;
16072
18360
  rule: string;
16073
18361
  } | undefined;
18362
+ lastError?: {
18363
+ message?: string | undefined;
18364
+ at?: string | undefined;
18365
+ exceptionType?: string | undefined;
18366
+ httpStatusCode?: number | undefined;
18367
+ } | undefined;
16074
18368
  } | undefined;
16075
18369
  grain?: "file" | "service" | undefined;
16076
18370
  }>;
@@ -16136,6 +18430,22 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16136
18430
  source: string;
16137
18431
  rule: string;
16138
18432
  }>, z.ZodBoolean]>>;
18433
+ lastError: z.ZodOptional<z.ZodObject<{
18434
+ exceptionType: z.ZodOptional<z.ZodString>;
18435
+ message: z.ZodOptional<z.ZodString>;
18436
+ at: z.ZodOptional<z.ZodString>;
18437
+ httpStatusCode: z.ZodOptional<z.ZodNumber>;
18438
+ }, "strip", z.ZodTypeAny, {
18439
+ message?: string | undefined;
18440
+ at?: string | undefined;
18441
+ exceptionType?: string | undefined;
18442
+ httpStatusCode?: number | undefined;
18443
+ }, {
18444
+ message?: string | undefined;
18445
+ at?: string | undefined;
18446
+ exceptionType?: string | undefined;
18447
+ httpStatusCode?: number | undefined;
18448
+ }>>;
16139
18449
  }, "strip", z.ZodTypeAny, {
16140
18450
  spanCount: number;
16141
18451
  errorCount: number;
@@ -16149,6 +18459,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16149
18459
  source: string;
16150
18460
  rule: string;
16151
18461
  } | undefined;
18462
+ lastError?: {
18463
+ message?: string | undefined;
18464
+ at?: string | undefined;
18465
+ exceptionType?: string | undefined;
18466
+ httpStatusCode?: number | undefined;
18467
+ } | undefined;
16152
18468
  }, {
16153
18469
  spanCount: number;
16154
18470
  errorCount: number;
@@ -16162,6 +18478,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16162
18478
  source: string;
16163
18479
  rule: string;
16164
18480
  } | undefined;
18481
+ lastError?: {
18482
+ message?: string | undefined;
18483
+ at?: string | undefined;
18484
+ exceptionType?: string | undefined;
18485
+ httpStatusCode?: number | undefined;
18486
+ } | undefined;
16165
18487
  }>>;
16166
18488
  grain: z.ZodOptional<z.ZodEnum<["file", "service"]>>;
16167
18489
  }, "strip", z.ZodTypeAny, {
@@ -16196,6 +18518,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16196
18518
  source: string;
16197
18519
  rule: string;
16198
18520
  } | undefined;
18521
+ lastError?: {
18522
+ message?: string | undefined;
18523
+ at?: string | undefined;
18524
+ exceptionType?: string | undefined;
18525
+ httpStatusCode?: number | undefined;
18526
+ } | undefined;
16199
18527
  } | undefined;
16200
18528
  grain?: "file" | "service" | undefined;
16201
18529
  }, {
@@ -16230,6 +18558,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16230
18558
  source: string;
16231
18559
  rule: string;
16232
18560
  } | undefined;
18561
+ lastError?: {
18562
+ message?: string | undefined;
18563
+ at?: string | undefined;
18564
+ exceptionType?: string | undefined;
18565
+ httpStatusCode?: number | undefined;
18566
+ } | undefined;
16233
18567
  } | undefined;
16234
18568
  grain?: "file" | "service" | undefined;
16235
18569
  }>;
@@ -16267,6 +18601,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16267
18601
  source: string;
16268
18602
  rule: string;
16269
18603
  } | undefined;
18604
+ lastError?: {
18605
+ message?: string | undefined;
18606
+ at?: string | undefined;
18607
+ exceptionType?: string | undefined;
18608
+ httpStatusCode?: number | undefined;
18609
+ } | undefined;
16270
18610
  } | undefined;
16271
18611
  grain?: "file" | "service" | undefined;
16272
18612
  };
@@ -16302,6 +18642,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16302
18642
  source: string;
16303
18643
  rule: string;
16304
18644
  } | undefined;
18645
+ lastError?: {
18646
+ message?: string | undefined;
18647
+ at?: string | undefined;
18648
+ exceptionType?: string | undefined;
18649
+ httpStatusCode?: number | undefined;
18650
+ } | undefined;
16305
18651
  } | undefined;
16306
18652
  grain?: "file" | "service" | undefined;
16307
18653
  };
@@ -16339,6 +18685,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16339
18685
  source: string;
16340
18686
  rule: string;
16341
18687
  } | undefined;
18688
+ lastError?: {
18689
+ message?: string | undefined;
18690
+ at?: string | undefined;
18691
+ exceptionType?: string | undefined;
18692
+ httpStatusCode?: number | undefined;
18693
+ } | undefined;
16342
18694
  } | undefined;
16343
18695
  grain?: "file" | "service" | undefined;
16344
18696
  };
@@ -16374,6 +18726,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16374
18726
  source: string;
16375
18727
  rule: string;
16376
18728
  } | undefined;
18729
+ lastError?: {
18730
+ message?: string | undefined;
18731
+ at?: string | undefined;
18732
+ exceptionType?: string | undefined;
18733
+ httpStatusCode?: number | undefined;
18734
+ } | undefined;
16377
18735
  } | undefined;
16378
18736
  grain?: "file" | "service" | undefined;
16379
18737
  };
@@ -16748,6 +19106,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16748
19106
  source: string;
16749
19107
  rule: string;
16750
19108
  } | undefined;
19109
+ lastError?: {
19110
+ message?: string | undefined;
19111
+ at?: string | undefined;
19112
+ exceptionType?: string | undefined;
19113
+ httpStatusCode?: number | undefined;
19114
+ } | undefined;
16751
19115
  } | undefined;
16752
19116
  grain?: "file" | "service" | undefined;
16753
19117
  };
@@ -16783,6 +19147,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
16783
19147
  source: string;
16784
19148
  rule: string;
16785
19149
  } | undefined;
19150
+ lastError?: {
19151
+ message?: string | undefined;
19152
+ at?: string | undefined;
19153
+ exceptionType?: string | undefined;
19154
+ httpStatusCode?: number | undefined;
19155
+ } | undefined;
16786
19156
  } | undefined;
16787
19157
  grain?: "file" | "service" | undefined;
16788
19158
  };
@@ -17157,6 +19527,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
17157
19527
  source: string;
17158
19528
  rule: string;
17159
19529
  } | undefined;
19530
+ lastError?: {
19531
+ message?: string | undefined;
19532
+ at?: string | undefined;
19533
+ exceptionType?: string | undefined;
19534
+ httpStatusCode?: number | undefined;
19535
+ } | undefined;
17160
19536
  } | undefined;
17161
19537
  grain?: "file" | "service" | undefined;
17162
19538
  };
@@ -17192,6 +19568,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
17192
19568
  source: string;
17193
19569
  rule: string;
17194
19570
  } | undefined;
19571
+ lastError?: {
19572
+ message?: string | undefined;
19573
+ at?: string | undefined;
19574
+ exceptionType?: string | undefined;
19575
+ httpStatusCode?: number | undefined;
19576
+ } | undefined;
17195
19577
  } | undefined;
17196
19578
  grain?: "file" | "service" | undefined;
17197
19579
  };
@@ -17403,6 +19785,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
17403
19785
  source: string;
17404
19786
  rule: string;
17405
19787
  } | undefined;
19788
+ lastError?: {
19789
+ message?: string | undefined;
19790
+ at?: string | undefined;
19791
+ exceptionType?: string | undefined;
19792
+ httpStatusCode?: number | undefined;
19793
+ } | undefined;
17406
19794
  } | undefined;
17407
19795
  grain?: "file" | "service" | undefined;
17408
19796
  }[];
@@ -17606,6 +19994,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
17606
19994
  source: string;
17607
19995
  rule: string;
17608
19996
  } | undefined;
19997
+ lastError?: {
19998
+ message?: string | undefined;
19999
+ at?: string | undefined;
20000
+ exceptionType?: string | undefined;
20001
+ httpStatusCode?: number | undefined;
20002
+ } | undefined;
17609
20003
  } | undefined;
17610
20004
  grain?: "file" | "service" | undefined;
17611
20005
  }[];
@@ -17980,6 +20374,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
17980
20374
  source: string;
17981
20375
  rule: string;
17982
20376
  } | undefined;
20377
+ lastError?: {
20378
+ message?: string | undefined;
20379
+ at?: string | undefined;
20380
+ exceptionType?: string | undefined;
20381
+ httpStatusCode?: number | undefined;
20382
+ } | undefined;
17983
20383
  } | undefined;
17984
20384
  grain?: "file" | "service" | undefined;
17985
20385
  };
@@ -18015,6 +20415,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
18015
20415
  source: string;
18016
20416
  rule: string;
18017
20417
  } | undefined;
20418
+ lastError?: {
20419
+ message?: string | undefined;
20420
+ at?: string | undefined;
20421
+ exceptionType?: string | undefined;
20422
+ httpStatusCode?: number | undefined;
20423
+ } | undefined;
18018
20424
  } | undefined;
18019
20425
  grain?: "file" | "service" | undefined;
18020
20426
  };
@@ -18226,6 +20632,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
18226
20632
  source: string;
18227
20633
  rule: string;
18228
20634
  } | undefined;
20635
+ lastError?: {
20636
+ message?: string | undefined;
20637
+ at?: string | undefined;
20638
+ exceptionType?: string | undefined;
20639
+ httpStatusCode?: number | undefined;
20640
+ } | undefined;
18229
20641
  } | undefined;
18230
20642
  grain?: "file" | "service" | undefined;
18231
20643
  }[];
@@ -18429,6 +20841,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
18429
20841
  source: string;
18430
20842
  rule: string;
18431
20843
  } | undefined;
20844
+ lastError?: {
20845
+ message?: string | undefined;
20846
+ at?: string | undefined;
20847
+ exceptionType?: string | undefined;
20848
+ httpStatusCode?: number | undefined;
20849
+ } | undefined;
18432
20850
  } | undefined;
18433
20851
  grain?: "file" | "service" | undefined;
18434
20852
  }[];
@@ -18803,6 +21221,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
18803
21221
  source: string;
18804
21222
  rule: string;
18805
21223
  } | undefined;
21224
+ lastError?: {
21225
+ message?: string | undefined;
21226
+ at?: string | undefined;
21227
+ exceptionType?: string | undefined;
21228
+ httpStatusCode?: number | undefined;
21229
+ } | undefined;
18806
21230
  } | undefined;
18807
21231
  grain?: "file" | "service" | undefined;
18808
21232
  };
@@ -18838,6 +21262,12 @@ declare const GraphDiffResultSchema: z.ZodObject<{
18838
21262
  source: string;
18839
21263
  rule: string;
18840
21264
  } | undefined;
21265
+ lastError?: {
21266
+ message?: string | undefined;
21267
+ at?: string | undefined;
21268
+ exceptionType?: string | undefined;
21269
+ httpStatusCode?: number | undefined;
21270
+ } | undefined;
18841
21271
  } | undefined;
18842
21272
  grain?: "file" | "service" | undefined;
18843
21273
  };
@@ -18897,4 +21327,4 @@ declare const PrVerdictBodySchema: z.ZodEffects<z.ZodObject<{
18897
21327
  }>;
18898
21328
  type PrVerdictBody = z.infer<typeof PrVerdictBodySchema>;
18899
21329
 
18900
- export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type AskFact, AskFactSchema, type AskIntent, AskIntentSchema, type AskMatch, AskMatchSchema, type AskResult, AskResultSchema, type AskSection, AskSectionSchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type ColumnAttr, ColumnAttrSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorPollState as ConnectorState, ConnectorPollStateSchema as ConnectorStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorStatusEntry as ConnectorSummary, ConnectorStatusEntrySchema as ConnectorSummarySchema, type ConnectorsStatusResponse as ConnectorsResponse, ConnectorsStatusResponseSchema as ConnectorsResponseSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DeployMismatchDivergence, DeployMismatchDivergenceSchema, type DeployMismatchKind, DeployMismatchKindSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeAnomaly, EdgeAnomalySchema, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExpandNeighbour, ExpandNeighbourSchema, type ExpandResult, ExpandResultSchema, type ExtractedConfidenceKind, type ExtractionCoverage, ExtractionCoverageSchema, type FieldGuardRule, FieldGuardRuleSchema, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentBlastRadius, IncidentBlastRadiusSchema, type IncidentCard, IncidentCardSchema, type IncidentChainHop, IncidentChainHopSchema, type IncidentDivergence, IncidentDivergenceSchema, type IncidentEventPayload, IncidentEventPayloadSchema, type IncidentKind, IncidentKindSchema, type IncidentLocus, IncidentLocusSchema, type IncidentPolicy, IncidentPolicySchema, type IncidentRootCause, IncidentRootCauseSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LatencyMs, LatencyMsSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, type NodeClassification, NodeClassificationSchema, type NodeContext, NodeContextSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type ObservedFailingDivergence, ObservedFailingDivergenceSchema, type ObservedFailureKind, ObservedFailureKindSchema, type ObservedSymbolMismatchDivergence, ObservedSymbolMismatchDivergenceSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, type PrVerdictBody, PrVerdictBodySchema, type ProjectListEntry, ProjectListEntrySchema, type ProjectServedBy, ProjectServedBySchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RelatePath, RelatePathSchema, type RelateResult, RelateResultSchema, type RootCauseCandidate, RootCauseCandidateSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServerActionNode, ServerActionNodeSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type SymbolKind, SymbolKindSchema, type SymbolMismatchKind, SymbolMismatchKindSchema, type SymbolNode, SymbolNodeSchema, type SymbolSpan, SymbolSpanSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierEdgeId, frontierId, graphqlOperationId, grpcMethodId, incidentKindOf, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServerActionId, parseServiceId, parseSymbolId, parseWebsocketChannelId, passesExtractedFloor, routeId, serverActionId, serviceId, symbolId, websocketChannelId };
21330
+ export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type AskFact, AskFactSchema, type AskIntent, AskIntentSchema, type AskMatch, AskMatchSchema, type AskResult, AskResultSchema, type AskSection, AskSectionSchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type ColumnAttr, ColumnAttrSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorPollState as ConnectorState, ConnectorPollStateSchema as ConnectorStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorStatusEntry as ConnectorSummary, ConnectorStatusEntrySchema as ConnectorSummarySchema, type ConnectorsStatusResponse as ConnectorsResponse, ConnectorsStatusResponseSchema as ConnectorsResponseSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DeployMismatchDivergence, DeployMismatchDivergenceSchema, type DeployMismatchKind, DeployMismatchKindSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeAnomaly, EdgeAnomalySchema, type EdgeErrorExemplar, EdgeErrorExemplarSchema, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExpandNeighbour, ExpandNeighbourSchema, type ExpandResult, ExpandResultSchema, type ExtractedConfidenceKind, type ExtractionCoverage, ExtractionCoverageSchema, type FieldGuardRule, FieldGuardRuleSchema, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentBlastRadius, IncidentBlastRadiusSchema, type IncidentCard, IncidentCardSchema, type IncidentChainHop, IncidentChainHopSchema, type IncidentDivergence, IncidentDivergenceSchema, type IncidentEventPayload, IncidentEventPayloadSchema, type IncidentGrade, IncidentGradeBandSchema, type IncidentGradeFactor, IncidentGradeFactorSchema, IncidentGradeGateSchema, IncidentGradeSchema, type IncidentKind, IncidentKindSchema, type IncidentLocus, IncidentLocusSchema, type IncidentPolicy, IncidentPolicySchema, type IncidentRootCause, IncidentRootCauseSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LatencyMs, LatencyMsSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, type NodeClassification, NodeClassificationSchema, type NodeContext, NodeContextSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type ObservedFailingDivergence, ObservedFailingDivergenceSchema, type ObservedFailureKind, ObservedFailureKindSchema, type ObservedSymbolMismatchDivergence, ObservedSymbolMismatchDivergenceSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, type PrVerdictBody, PrVerdictBodySchema, type ProjectListEntry, ProjectListEntrySchema, type ProjectServedBy, ProjectServedBySchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RelatePath, RelatePathSchema, type RelateResult, RelateResultSchema, type RootCauseCandidate, RootCauseCandidateSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServerActionNode, ServerActionNodeSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type SymbolKind, SymbolKindSchema, type SymbolMismatchKind, SymbolMismatchKindSchema, type SymbolNode, SymbolNodeSchema, type SymbolSpan, SymbolSpanSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierEdgeId, frontierId, graphqlOperationId, grpcMethodId, incidentKindOf, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServerActionId, parseServiceId, parseSymbolId, parseWebsocketChannelId, passesExtractedFloor, routeId, serverActionId, serviceId, symbolId, websocketChannelId };