@cat-factory/contracts 0.299.1 → 0.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/agent-failure-kinds.d.ts +1 -1
  2. package/dist/agent-failure-kinds.d.ts.map +1 -1
  3. package/dist/agent-failure-kinds.js +6 -0
  4. package/dist/agent-failure-kinds.js.map +1 -1
  5. package/dist/bootstrap.d.ts +2 -2
  6. package/dist/debug-api.d.ts +3 -3
  7. package/dist/env-config-repair.d.ts +1 -1
  8. package/dist/execution.d.ts +77 -3
  9. package/dist/execution.d.ts.map +1 -1
  10. package/dist/execution.js +28 -0
  11. package/dist/execution.js.map +1 -1
  12. package/dist/followUp.d.ts +20 -0
  13. package/dist/followUp.d.ts.map +1 -1
  14. package/dist/followUp.js +10 -0
  15. package/dist/followUp.js.map +1 -1
  16. package/dist/judge.d.ts +12 -0
  17. package/dist/judge.d.ts.map +1 -1
  18. package/dist/judge.js +12 -0
  19. package/dist/judge.js.map +1 -1
  20. package/dist/merge.d.ts +69 -5
  21. package/dist/merge.d.ts.map +1 -1
  22. package/dist/merge.js +67 -5
  23. package/dist/merge.js.map +1 -1
  24. package/dist/public-provisioning.d.ts +45 -3
  25. package/dist/public-provisioning.d.ts.map +1 -1
  26. package/dist/public-provisioning.js +25 -2
  27. package/dist/public-provisioning.js.map +1 -1
  28. package/dist/risk-policy-selection.d.ts +17 -5
  29. package/dist/risk-policy-selection.d.ts.map +1 -1
  30. package/dist/risk-policy-selection.js +8 -0
  31. package/dist/risk-policy-selection.js.map +1 -1
  32. package/dist/routes/agent-runs.d.ts +30 -8
  33. package/dist/routes/agent-runs.d.ts.map +1 -1
  34. package/dist/routes/bootstrap.d.ts +3 -3
  35. package/dist/routes/bug-hunt.d.ts +26 -4
  36. package/dist/routes/bug-hunt.d.ts.map +1 -1
  37. package/dist/routes/debug-api.d.ts +2 -2
  38. package/dist/routes/execution.d.ts +117 -18
  39. package/dist/routes/execution.d.ts.map +1 -1
  40. package/dist/routes/followUp.d.ts +5 -0
  41. package/dist/routes/followUp.d.ts.map +1 -1
  42. package/dist/routes/human-review.d.ts +13 -2
  43. package/dist/routes/human-review.d.ts.map +1 -1
  44. package/dist/routes/human-test.d.ts +65 -10
  45. package/dist/routes/human-test.d.ts.map +1 -1
  46. package/dist/routes/judge.d.ts +2 -0
  47. package/dist/routes/judge.d.ts.map +1 -1
  48. package/dist/routes/merge.d.ts +12 -0
  49. package/dist/routes/merge.d.ts.map +1 -1
  50. package/dist/routes/public-provisioning.d.ts +4 -2
  51. package/dist/routes/public-provisioning.d.ts.map +1 -1
  52. package/dist/routes/visual-confirm.d.ts +39 -6
  53. package/dist/routes/visual-confirm.d.ts.map +1 -1
  54. package/dist/routes/workspaces.d.ts +34 -8
  55. package/dist/routes/workspaces.d.ts.map +1 -1
  56. package/dist/run-provenance.d.ts +13 -0
  57. package/dist/run-provenance.d.ts.map +1 -1
  58. package/dist/run-provenance.js +33 -0
  59. package/dist/run-provenance.js.map +1 -1
  60. package/dist/snapshot.d.ts +17 -4
  61. package/dist/snapshot.d.ts.map +1 -1
  62. package/dist/step-decisions.d.ts +35 -0
  63. package/dist/step-decisions.d.ts.map +1 -1
  64. package/dist/step-decisions.js +12 -0
  65. package/dist/step-decisions.js.map +1 -1
  66. package/package.json +1 -1
@@ -56,7 +56,7 @@ export declare const retryAgentRunContract: {
56
56
  }, undefined>, undefined>;
57
57
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
58
58
  readonly failure: v.NullableSchema<v.ObjectSchema<{
59
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
59
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
60
60
  readonly message: v.StringSchema<undefined>;
61
61
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
62
62
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -430,9 +430,18 @@ export declare const retryAgentRunContract: {
430
430
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
431
431
  readonly passed: v.BooleanSchema<undefined>;
432
432
  readonly feedback: v.StringSchema<undefined>;
433
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
434
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
435
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
436
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
437
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
438
+ readonly body: v.StringSchema<undefined>;
439
+ }, undefined>, undefined>, undefined>;
433
440
  }, undefined>, undefined>;
434
441
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
442
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
435
443
  }, undefined>, undefined>, undefined>;
444
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
436
445
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
437
446
  readonly enabled: v.BooleanSchema<undefined>;
438
447
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -444,6 +453,7 @@ export declare const retryAgentRunContract: {
444
453
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
445
454
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
446
455
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
456
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
447
457
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
448
458
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
449
459
  readonly createdAt: v.NumberSchema<undefined>;
@@ -526,6 +536,7 @@ export declare const retryAgentRunContract: {
526
536
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
527
537
  }, undefined>, undefined>, readonly []>;
528
538
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
539
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
529
540
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
530
541
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
531
542
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1129,7 +1140,7 @@ export declare const retryAgentRunContract: {
1129
1140
  readonly currentStep: v.NumberSchema<undefined>;
1130
1141
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1131
1142
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1132
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1143
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1133
1144
  readonly message: v.StringSchema<undefined>;
1134
1145
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1135
1146
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1147,7 +1158,7 @@ export declare const retryAgentRunContract: {
1147
1158
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1148
1159
  }, undefined>, undefined>, undefined>;
1149
1160
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1150
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1161
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1151
1162
  readonly message: v.StringSchema<undefined>;
1152
1163
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1153
1164
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1244,7 +1255,7 @@ export declare const retryAgentRunContract: {
1244
1255
  }, undefined>, undefined>;
1245
1256
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1246
1257
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1247
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1258
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1248
1259
  readonly message: v.StringSchema<undefined>;
1249
1260
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1250
1261
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1323,7 +1334,7 @@ export declare const stopAgentRunContract: {
1323
1334
  }, undefined>, undefined>;
1324
1335
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1325
1336
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1326
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1337
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1327
1338
  readonly message: v.StringSchema<undefined>;
1328
1339
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1329
1340
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1697,9 +1708,18 @@ export declare const stopAgentRunContract: {
1697
1708
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1698
1709
  readonly passed: v.BooleanSchema<undefined>;
1699
1710
  readonly feedback: v.StringSchema<undefined>;
1711
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1712
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1713
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1714
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1715
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1716
+ readonly body: v.StringSchema<undefined>;
1717
+ }, undefined>, undefined>, undefined>;
1700
1718
  }, undefined>, undefined>;
1701
1719
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1720
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1702
1721
  }, undefined>, undefined>, undefined>;
1722
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1703
1723
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1704
1724
  readonly enabled: v.BooleanSchema<undefined>;
1705
1725
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -1711,6 +1731,7 @@ export declare const stopAgentRunContract: {
1711
1731
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
1712
1732
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1713
1733
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1734
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1714
1735
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1715
1736
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1716
1737
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1793,6 +1814,7 @@ export declare const stopAgentRunContract: {
1793
1814
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1794
1815
  }, undefined>, undefined>, readonly []>;
1795
1816
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1817
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1796
1818
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1797
1819
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
1798
1820
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -2396,7 +2418,7 @@ export declare const stopAgentRunContract: {
2396
2418
  readonly currentStep: v.NumberSchema<undefined>;
2397
2419
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2398
2420
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2399
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
2421
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2400
2422
  readonly message: v.StringSchema<undefined>;
2401
2423
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2402
2424
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2414,7 +2436,7 @@ export declare const stopAgentRunContract: {
2414
2436
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2415
2437
  }, undefined>, undefined>, undefined>;
2416
2438
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2417
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
2439
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2418
2440
  readonly message: v.StringSchema<undefined>;
2419
2441
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2420
2442
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2511,7 +2533,7 @@ export declare const stopAgentRunContract: {
2511
2533
  }, undefined>, undefined>;
2512
2534
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2513
2535
  readonly failure: v.NullableSchema<v.ObjectSchema<{
2514
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
2536
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2515
2537
  readonly message: v.StringSchema<undefined>;
2516
2538
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2517
2539
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"agent-runs.d.ts","sourceRoot":"","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAA"}
@@ -218,7 +218,7 @@ export declare const listBootstrapJobsContract: {
218
218
  }, undefined>, undefined>;
219
219
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
220
220
  readonly failure: v.NullableSchema<v.ObjectSchema<{
221
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
221
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
222
222
  readonly message: v.StringSchema<undefined>;
223
223
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
224
224
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -293,7 +293,7 @@ export declare const getBootstrapJobContract: {
293
293
  }, undefined>, undefined>;
294
294
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
295
295
  readonly failure: v.NullableSchema<v.ObjectSchema<{
296
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
296
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
297
297
  readonly message: v.StringSchema<undefined>;
298
298
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
299
299
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -378,7 +378,7 @@ export declare const startBootstrapJobContract: {
378
378
  }, undefined>, undefined>;
379
379
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
380
380
  readonly failure: v.NullableSchema<v.ObjectSchema<{
381
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
381
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
382
382
  readonly message: v.StringSchema<undefined>;
383
383
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
384
384
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -745,9 +745,18 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
745
745
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
746
746
  readonly passed: v.BooleanSchema<undefined>;
747
747
  readonly feedback: v.StringSchema<undefined>;
748
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
749
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
750
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
751
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
752
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
753
+ readonly body: v.StringSchema<undefined>;
754
+ }, undefined>, undefined>, undefined>;
748
755
  }, undefined>, undefined>;
749
756
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
757
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
750
758
  }, undefined>, undefined>, undefined>;
759
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
751
760
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
752
761
  readonly enabled: v.BooleanSchema<undefined>;
753
762
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -759,6 +768,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
759
768
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
760
769
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
761
770
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
771
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
762
772
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
763
773
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
764
774
  readonly createdAt: v.NumberSchema<undefined>;
@@ -841,6 +851,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
841
851
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
842
852
  }, undefined>, undefined>, readonly []>;
843
853
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
854
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
844
855
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
845
856
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
846
857
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1444,7 +1455,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1444
1455
  readonly currentStep: v.NumberSchema<undefined>;
1445
1456
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1446
1457
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1447
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1458
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1448
1459
  readonly message: v.StringSchema<undefined>;
1449
1460
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1450
1461
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1462,7 +1473,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1462
1473
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1463
1474
  }, undefined>, undefined>, undefined>;
1464
1475
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1465
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1476
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1466
1477
  readonly message: v.StringSchema<undefined>;
1467
1478
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1468
1479
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2429,9 +2440,18 @@ export declare const adoptBugHuntCandidateContract: {
2429
2440
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
2430
2441
  readonly passed: v.BooleanSchema<undefined>;
2431
2442
  readonly feedback: v.StringSchema<undefined>;
2443
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2444
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2445
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2446
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2447
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2448
+ readonly body: v.StringSchema<undefined>;
2449
+ }, undefined>, undefined>, undefined>;
2432
2450
  }, undefined>, undefined>;
2433
2451
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2452
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2434
2453
  }, undefined>, undefined>, undefined>;
2454
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2435
2455
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2436
2456
  readonly enabled: v.BooleanSchema<undefined>;
2437
2457
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -2443,6 +2463,7 @@ export declare const adoptBugHuntCandidateContract: {
2443
2463
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
2444
2464
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2445
2465
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2466
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2446
2467
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2447
2468
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2448
2469
  readonly createdAt: v.NumberSchema<undefined>;
@@ -2525,6 +2546,7 @@ export declare const adoptBugHuntCandidateContract: {
2525
2546
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2526
2547
  }, undefined>, undefined>, readonly []>;
2527
2548
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2549
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2528
2550
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2529
2551
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
2530
2552
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -3128,7 +3150,7 @@ export declare const adoptBugHuntCandidateContract: {
3128
3150
  readonly currentStep: v.NumberSchema<undefined>;
3129
3151
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
3130
3152
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3131
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
3153
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3132
3154
  readonly message: v.StringSchema<undefined>;
3133
3155
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3134
3156
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3146,7 +3168,7 @@ export declare const adoptBugHuntCandidateContract: {
3146
3168
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3147
3169
  }, undefined>, undefined>, undefined>;
3148
3170
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3149
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
3171
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3150
3172
  readonly message: v.StringSchema<undefined>;
3151
3173
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3152
3174
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"bug-hunt.d.ts","sourceRoot":"","sources":["../../src/routes/bug-hunt.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
@@ -42,7 +42,7 @@ export declare const listDebugRunsContract: {
42
42
  readonly currentStep: import("valibot").NumberSchema<undefined>;
43
43
  readonly stepCount: import("valibot").NumberSchema<undefined>;
44
44
  readonly failure: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
45
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
45
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
46
46
  readonly message: import("valibot").StringSchema<undefined>;
47
47
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
48
48
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -112,7 +112,7 @@ export declare const getDebugRunContract: {
112
112
  readonly currentStep: import("valibot").NumberSchema<undefined>;
113
113
  readonly stepCount: import("valibot").NumberSchema<undefined>;
114
114
  readonly failure: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
115
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
115
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
116
116
  readonly message: import("valibot").StringSchema<undefined>;
117
117
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
118
118
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;