@cat-factory/contracts 0.355.0 → 0.356.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 (217) hide show
  1. package/dist/agent-failure-kinds.d.ts +3 -1
  2. package/dist/agent-failure-kinds.d.ts.map +1 -1
  3. package/dist/agent-failure-kinds.js +9 -0
  4. package/dist/agent-failure-kinds.js.map +1 -1
  5. package/dist/agent-presentation.d.ts +45 -0
  6. package/dist/agent-presentation.d.ts.map +1 -1
  7. package/dist/agent-presentation.js +43 -0
  8. package/dist/agent-presentation.js.map +1 -1
  9. package/dist/bootstrap.d.ts +2 -2
  10. package/dist/debug-api.d.ts +21 -3
  11. package/dist/debug-api.d.ts.map +1 -1
  12. package/dist/debug-api.js +13 -1
  13. package/dist/debug-api.js.map +1 -1
  14. package/dist/env-config-repair.d.ts +1 -1
  15. package/dist/errors.d.ts +2 -2
  16. package/dist/errors.d.ts.map +1 -1
  17. package/dist/errors.js +30 -0
  18. package/dist/errors.js.map +1 -1
  19. package/dist/execution.d.ts +96 -54
  20. package/dist/execution.d.ts.map +1 -1
  21. package/dist/execution.js +24 -31
  22. package/dist/execution.js.map +1 -1
  23. package/dist/observability.d.ts +28 -0
  24. package/dist/observability.d.ts.map +1 -1
  25. package/dist/observability.js +27 -0
  26. package/dist/observability.js.map +1 -1
  27. package/dist/public-provisioning.d.ts +1 -1
  28. package/dist/routes/accounts.d.ts +4 -4
  29. package/dist/routes/accounts.d.ts.map +1 -1
  30. package/dist/routes/accounts.js +5 -5
  31. package/dist/routes/accounts.js.map +1 -1
  32. package/dist/routes/agent-runs.d.ts +66 -8
  33. package/dist/routes/agent-runs.d.ts.map +1 -1
  34. package/dist/routes/api-keys.d.ts +2 -3
  35. package/dist/routes/api-keys.d.ts.map +1 -1
  36. package/dist/routes/api-keys.js +3 -3
  37. package/dist/routes/api-keys.js.map +1 -1
  38. package/dist/routes/auth.d.ts +10 -10
  39. package/dist/routes/auth.d.ts.map +1 -1
  40. package/dist/routes/auth.js +13 -13
  41. package/dist/routes/auth.js.map +1 -1
  42. package/dist/routes/board.d.ts +1 -1
  43. package/dist/routes/board.d.ts.map +1 -1
  44. package/dist/routes/board.js +2 -2
  45. package/dist/routes/board.js.map +1 -1
  46. package/dist/routes/bootstrap.d.ts +5 -6
  47. package/dist/routes/bootstrap.d.ts.map +1 -1
  48. package/dist/routes/bootstrap.js +2 -2
  49. package/dist/routes/bootstrap.js.map +1 -1
  50. package/dist/routes/bug-hunt.d.ts +62 -4
  51. package/dist/routes/bug-hunt.d.ts.map +1 -1
  52. package/dist/routes/capability-credentials.d.ts +1 -2
  53. package/dist/routes/capability-credentials.d.ts.map +1 -1
  54. package/dist/routes/capability-credentials.js +2 -2
  55. package/dist/routes/capability-credentials.js.map +1 -1
  56. package/dist/routes/consensus.d.ts +1 -2
  57. package/dist/routes/consensus.d.ts.map +1 -1
  58. package/dist/routes/consensus.js +2 -2
  59. package/dist/routes/consensus.js.map +1 -1
  60. package/dist/routes/debug-api.d.ts +10 -2
  61. package/dist/routes/debug-api.d.ts.map +1 -1
  62. package/dist/routes/documents.d.ts +2 -3
  63. package/dist/routes/documents.d.ts.map +1 -1
  64. package/dist/routes/documents.js +3 -3
  65. package/dist/routes/documents.js.map +1 -1
  66. package/dist/routes/environmentUserHandlers.d.ts +1 -2
  67. package/dist/routes/environmentUserHandlers.d.ts.map +1 -1
  68. package/dist/routes/environmentUserHandlers.js +2 -2
  69. package/dist/routes/environmentUserHandlers.js.map +1 -1
  70. package/dist/routes/environments.d.ts +3 -3
  71. package/dist/routes/environments.d.ts.map +1 -1
  72. package/dist/routes/environments.js +4 -4
  73. package/dist/routes/environments.js.map +1 -1
  74. package/dist/routes/execution.d.ts +310 -20
  75. package/dist/routes/execution.d.ts.map +1 -1
  76. package/dist/routes/foundational-services.d.ts +4 -4
  77. package/dist/routes/foundational-services.d.ts.map +1 -1
  78. package/dist/routes/foundational-services.js +5 -5
  79. package/dist/routes/foundational-services.js.map +1 -1
  80. package/dist/routes/fragment-library.d.ts +2 -2
  81. package/dist/routes/fragment-library.d.ts.map +1 -1
  82. package/dist/routes/fragment-library.js +3 -3
  83. package/dist/routes/fragment-library.js.map +1 -1
  84. package/dist/routes/github.d.ts +3 -4
  85. package/dist/routes/github.d.ts.map +1 -1
  86. package/dist/routes/github.js +4 -4
  87. package/dist/routes/github.js.map +1 -1
  88. package/dist/routes/gitlab.d.ts +1 -2
  89. package/dist/routes/gitlab.d.ts.map +1 -1
  90. package/dist/routes/gitlab.js +2 -2
  91. package/dist/routes/gitlab.js.map +1 -1
  92. package/dist/routes/human-review.d.ts +31 -2
  93. package/dist/routes/human-review.d.ts.map +1 -1
  94. package/dist/routes/human-test.d.ts +155 -10
  95. package/dist/routes/human-test.d.ts.map +1 -1
  96. package/dist/routes/incident-enrichment.d.ts +1 -2
  97. package/dist/routes/incident-enrichment.d.ts.map +1 -1
  98. package/dist/routes/incident-enrichment.js +2 -2
  99. package/dist/routes/incident-enrichment.js.map +1 -1
  100. package/dist/routes/localModels.d.ts +1 -2
  101. package/dist/routes/localModels.d.ts.map +1 -1
  102. package/dist/routes/localModels.js +2 -2
  103. package/dist/routes/localModels.js.map +1 -1
  104. package/dist/routes/merge.d.ts +3 -3
  105. package/dist/routes/merge.d.ts.map +1 -1
  106. package/dist/routes/merge.js +4 -4
  107. package/dist/routes/merge.js.map +1 -1
  108. package/dist/routes/model-presets.d.ts +1 -1
  109. package/dist/routes/model-presets.d.ts.map +1 -1
  110. package/dist/routes/model-presets.js +2 -2
  111. package/dist/routes/model-presets.js.map +1 -1
  112. package/dist/routes/notification-webhooks.d.ts +4 -5
  113. package/dist/routes/notification-webhooks.d.ts.map +1 -1
  114. package/dist/routes/notification-webhooks.js +5 -5
  115. package/dist/routes/notification-webhooks.js.map +1 -1
  116. package/dist/routes/package-registries.d.ts +1 -2
  117. package/dist/routes/package-registries.d.ts.map +1 -1
  118. package/dist/routes/package-registries.js +2 -2
  119. package/dist/routes/package-registries.js.map +1 -1
  120. package/dist/routes/personal-subscriptions.d.ts +1 -2
  121. package/dist/routes/personal-subscriptions.d.ts.map +1 -1
  122. package/dist/routes/personal-subscriptions.js +2 -2
  123. package/dist/routes/personal-subscriptions.js.map +1 -1
  124. package/dist/routes/pipelines.d.ts +1 -1
  125. package/dist/routes/pipelines.d.ts.map +1 -1
  126. package/dist/routes/pipelines.js +2 -2
  127. package/dist/routes/pipelines.js.map +1 -1
  128. package/dist/routes/public-api.d.ts +3 -3
  129. package/dist/routes/public-api.d.ts.map +1 -1
  130. package/dist/routes/public-api.js +4 -4
  131. package/dist/routes/public-api.js.map +1 -1
  132. package/dist/routes/public-board.d.ts +2 -3
  133. package/dist/routes/public-board.d.ts.map +1 -1
  134. package/dist/routes/public-board.js +3 -3
  135. package/dist/routes/public-board.js.map +1 -1
  136. package/dist/routes/public-provisioning.d.ts +2 -2
  137. package/dist/routes/recurring.d.ts +1 -1
  138. package/dist/routes/recurring.d.ts.map +1 -1
  139. package/dist/routes/recurring.js +2 -2
  140. package/dist/routes/recurring.js.map +1 -1
  141. package/dist/routes/release.d.ts +2 -3
  142. package/dist/routes/release.d.ts.map +1 -1
  143. package/dist/routes/release.js +3 -3
  144. package/dist/routes/release.js.map +1 -1
  145. package/dist/routes/runners.d.ts +1 -2
  146. package/dist/routes/runners.d.ts.map +1 -1
  147. package/dist/routes/runners.js +2 -2
  148. package/dist/routes/runners.js.map +1 -1
  149. package/dist/routes/sandbox.d.ts +2 -2
  150. package/dist/routes/sandbox.d.ts.map +1 -1
  151. package/dist/routes/sandbox.js +3 -3
  152. package/dist/routes/sandbox.js.map +1 -1
  153. package/dist/routes/service-catalog.d.ts +1 -1
  154. package/dist/routes/service-catalog.d.ts.map +1 -1
  155. package/dist/routes/service-catalog.js +2 -2
  156. package/dist/routes/service-catalog.js.map +1 -1
  157. package/dist/routes/services.d.ts +1 -2
  158. package/dist/routes/services.d.ts.map +1 -1
  159. package/dist/routes/services.js +2 -2
  160. package/dist/routes/services.js.map +1 -1
  161. package/dist/routes/shared-stacks.d.ts +1 -1
  162. package/dist/routes/shared-stacks.d.ts.map +1 -1
  163. package/dist/routes/shared-stacks.js +2 -2
  164. package/dist/routes/shared-stacks.js.map +1 -1
  165. package/dist/routes/skill-library.d.ts +1 -1
  166. package/dist/routes/skill-library.d.ts.map +1 -1
  167. package/dist/routes/skill-library.js +2 -2
  168. package/dist/routes/skill-library.js.map +1 -1
  169. package/dist/routes/slack.d.ts +1 -2
  170. package/dist/routes/slack.d.ts.map +1 -1
  171. package/dist/routes/slack.js +2 -2
  172. package/dist/routes/slack.js.map +1 -1
  173. package/dist/routes/tasks.d.ts +3 -3
  174. package/dist/routes/tasks.d.ts.map +1 -1
  175. package/dist/routes/tasks.js +4 -4
  176. package/dist/routes/tasks.js.map +1 -1
  177. package/dist/routes/test-secrets.d.ts +1 -2
  178. package/dist/routes/test-secrets.d.ts.map +1 -1
  179. package/dist/routes/test-secrets.js +2 -2
  180. package/dist/routes/test-secrets.js.map +1 -1
  181. package/dist/routes/tool-servers.d.ts +1 -1
  182. package/dist/routes/tool-servers.d.ts.map +1 -1
  183. package/dist/routes/tool-servers.js +2 -2
  184. package/dist/routes/tool-servers.js.map +1 -1
  185. package/dist/routes/tutorial.d.ts +1 -2
  186. package/dist/routes/tutorial.d.ts.map +1 -1
  187. package/dist/routes/tutorial.js +2 -2
  188. package/dist/routes/tutorial.js.map +1 -1
  189. package/dist/routes/user-secret.d.ts +1 -2
  190. package/dist/routes/user-secret.d.ts.map +1 -1
  191. package/dist/routes/user-secret.js +2 -2
  192. package/dist/routes/user-secret.js.map +1 -1
  193. package/dist/routes/validation-checks.d.ts +1 -2
  194. package/dist/routes/validation-checks.d.ts.map +1 -1
  195. package/dist/routes/validation-checks.js +2 -2
  196. package/dist/routes/validation-checks.js.map +1 -1
  197. package/dist/routes/vendor-credentials.d.ts +1 -2
  198. package/dist/routes/vendor-credentials.d.ts.map +1 -1
  199. package/dist/routes/vendor-credentials.js +2 -2
  200. package/dist/routes/vendor-credentials.js.map +1 -1
  201. package/dist/routes/visual-confirm.d.ts +93 -6
  202. package/dist/routes/visual-confirm.d.ts.map +1 -1
  203. package/dist/routes/workspace-members.d.ts +1 -2
  204. package/dist/routes/workspace-members.d.ts.map +1 -1
  205. package/dist/routes/workspace-members.js +2 -2
  206. package/dist/routes/workspace-members.js.map +1 -1
  207. package/dist/routes/workspaces.d.ts +83 -10
  208. package/dist/routes/workspaces.d.ts.map +1 -1
  209. package/dist/routes/workspaces.js +2 -2
  210. package/dist/routes/workspaces.js.map +1 -1
  211. package/dist/run-execution-surface.d.ts +196 -0
  212. package/dist/run-execution-surface.d.ts.map +1 -0
  213. package/dist/run-execution-surface.js +201 -0
  214. package/dist/run-execution-surface.js.map +1 -0
  215. package/dist/snapshot.d.ts +41 -4
  216. package/dist/snapshot.d.ts.map +1 -1
  217. package/package.json +4 -4
@@ -411,6 +411,34 @@ export declare const startExecutionContract: {
411
411
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
412
412
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
413
413
  }, undefined>, undefined>, undefined>;
414
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
415
+ readonly executor: v.StringSchema<undefined>;
416
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
417
+ readonly correlationKey: v.StringSchema<undefined>;
418
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
419
+ readonly intervalMs: v.NumberSchema<undefined>;
420
+ readonly maxDurationMs: v.NumberSchema<undefined>;
421
+ }, undefined>, undefined>, undefined>;
422
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
423
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
424
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
425
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
426
+ readonly base: v.StringSchema<undefined>;
427
+ readonly work: v.StringSchema<undefined>;
428
+ }, undefined>, undefined>, undefined>;
429
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
430
+ readonly owner: v.StringSchema<undefined>;
431
+ readonly name: v.StringSchema<undefined>;
432
+ }, undefined>, undefined>, undefined>;
433
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
434
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
435
+ readonly startedAt: v.NumberSchema<undefined>;
436
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
437
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
438
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
439
+ }, undefined>, undefined>;
440
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
441
+ }, undefined>, undefined>, undefined>;
414
442
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
415
443
  readonly available: v.BooleanSchema<undefined>;
416
444
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -1000,6 +1028,7 @@ export declare const startExecutionContract: {
1000
1028
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1001
1029
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1002
1030
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1031
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1003
1032
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1004
1033
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
1005
1034
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -1277,7 +1306,7 @@ export declare const startExecutionContract: {
1277
1306
  readonly currentStep: v.NumberSchema<undefined>;
1278
1307
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1279
1308
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1280
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1309
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1281
1310
  readonly message: v.StringSchema<undefined>;
1282
1311
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1283
1312
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1295,7 +1324,7 @@ export declare const startExecutionContract: {
1295
1324
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1296
1325
  }, undefined>, undefined>, undefined>;
1297
1326
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1298
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1327
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1299
1328
  readonly message: v.StringSchema<undefined>;
1300
1329
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1301
1330
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1729,6 +1758,34 @@ export declare const startAgentKindExecutionContract: {
1729
1758
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1730
1759
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1731
1760
  }, undefined>, undefined>, undefined>;
1761
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1762
+ readonly executor: v.StringSchema<undefined>;
1763
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
1764
+ readonly correlationKey: v.StringSchema<undefined>;
1765
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1766
+ readonly intervalMs: v.NumberSchema<undefined>;
1767
+ readonly maxDurationMs: v.NumberSchema<undefined>;
1768
+ }, undefined>, undefined>, undefined>;
1769
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1770
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1771
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1772
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1773
+ readonly base: v.StringSchema<undefined>;
1774
+ readonly work: v.StringSchema<undefined>;
1775
+ }, undefined>, undefined>, undefined>;
1776
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1777
+ readonly owner: v.StringSchema<undefined>;
1778
+ readonly name: v.StringSchema<undefined>;
1779
+ }, undefined>, undefined>, undefined>;
1780
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1781
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
1782
+ readonly startedAt: v.NumberSchema<undefined>;
1783
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1784
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1785
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1786
+ }, undefined>, undefined>;
1787
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1788
+ }, undefined>, undefined>, undefined>;
1732
1789
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1733
1790
  readonly available: v.BooleanSchema<undefined>;
1734
1791
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -2318,6 +2375,7 @@ export declare const startAgentKindExecutionContract: {
2318
2375
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2319
2376
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2320
2377
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2378
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2321
2379
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2322
2380
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
2323
2381
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -2595,7 +2653,7 @@ export declare const startAgentKindExecutionContract: {
2595
2653
  readonly currentStep: v.NumberSchema<undefined>;
2596
2654
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2597
2655
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2598
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2656
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2599
2657
  readonly message: v.StringSchema<undefined>;
2600
2658
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2601
2659
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2613,7 +2671,7 @@ export declare const startAgentKindExecutionContract: {
2613
2671
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2614
2672
  }, undefined>, undefined>, undefined>;
2615
2673
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2616
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2674
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2617
2675
  readonly message: v.StringSchema<undefined>;
2618
2676
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2619
2677
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3048,6 +3106,34 @@ export declare const getExecutionContract: {
3048
3106
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3049
3107
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3050
3108
  }, undefined>, undefined>, undefined>;
3109
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3110
+ readonly executor: v.StringSchema<undefined>;
3111
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
3112
+ readonly correlationKey: v.StringSchema<undefined>;
3113
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3114
+ readonly intervalMs: v.NumberSchema<undefined>;
3115
+ readonly maxDurationMs: v.NumberSchema<undefined>;
3116
+ }, undefined>, undefined>, undefined>;
3117
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3118
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3119
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3120
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3121
+ readonly base: v.StringSchema<undefined>;
3122
+ readonly work: v.StringSchema<undefined>;
3123
+ }, undefined>, undefined>, undefined>;
3124
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3125
+ readonly owner: v.StringSchema<undefined>;
3126
+ readonly name: v.StringSchema<undefined>;
3127
+ }, undefined>, undefined>, undefined>;
3128
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3129
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
3130
+ readonly startedAt: v.NumberSchema<undefined>;
3131
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3132
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3133
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3134
+ }, undefined>, undefined>;
3135
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3136
+ }, undefined>, undefined>, undefined>;
3051
3137
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3052
3138
  readonly available: v.BooleanSchema<undefined>;
3053
3139
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -3637,6 +3723,7 @@ export declare const getExecutionContract: {
3637
3723
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3638
3724
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3639
3725
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3726
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3640
3727
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3641
3728
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
3642
3729
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -3914,7 +4001,7 @@ export declare const getExecutionContract: {
3914
4001
  readonly currentStep: v.NumberSchema<undefined>;
3915
4002
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
3916
4003
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3917
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4004
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3918
4005
  readonly message: v.StringSchema<undefined>;
3919
4006
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3920
4007
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3932,7 +4019,7 @@ export declare const getExecutionContract: {
3932
4019
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3933
4020
  }, undefined>, undefined>, undefined>;
3934
4021
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3935
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4022
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3936
4023
  readonly message: v.StringSchema<undefined>;
3937
4024
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3938
4025
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5232,6 +5319,34 @@ export declare const resumeSpendContract: {
5232
5319
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5233
5320
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5234
5321
  }, undefined>, undefined>, undefined>;
5322
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5323
+ readonly executor: v.StringSchema<undefined>;
5324
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
5325
+ readonly correlationKey: v.StringSchema<undefined>;
5326
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5327
+ readonly intervalMs: v.NumberSchema<undefined>;
5328
+ readonly maxDurationMs: v.NumberSchema<undefined>;
5329
+ }, undefined>, undefined>, undefined>;
5330
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5331
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5332
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5333
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5334
+ readonly base: v.StringSchema<undefined>;
5335
+ readonly work: v.StringSchema<undefined>;
5336
+ }, undefined>, undefined>, undefined>;
5337
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5338
+ readonly owner: v.StringSchema<undefined>;
5339
+ readonly name: v.StringSchema<undefined>;
5340
+ }, undefined>, undefined>, undefined>;
5341
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5342
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
5343
+ readonly startedAt: v.NumberSchema<undefined>;
5344
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5345
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5346
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5347
+ }, undefined>, undefined>;
5348
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5349
+ }, undefined>, undefined>, undefined>;
5235
5350
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5236
5351
  readonly available: v.BooleanSchema<undefined>;
5237
5352
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -5821,6 +5936,7 @@ export declare const resumeSpendContract: {
5821
5936
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
5822
5937
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
5823
5938
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
5939
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
5824
5940
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5825
5941
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
5826
5942
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -6098,7 +6214,7 @@ export declare const resumeSpendContract: {
6098
6214
  readonly currentStep: v.NumberSchema<undefined>;
6099
6215
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
6100
6216
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6101
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6217
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6102
6218
  readonly message: v.StringSchema<undefined>;
6103
6219
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6104
6220
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -6116,7 +6232,7 @@ export declare const resumeSpendContract: {
6116
6232
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
6117
6233
  }, undefined>, undefined>, undefined>;
6118
6234
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
6119
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6235
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6120
6236
  readonly message: v.StringSchema<undefined>;
6121
6237
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6122
6238
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -6991,6 +7107,34 @@ export declare const resolveDecisionContract: {
6991
7107
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
6992
7108
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
6993
7109
  }, undefined>, undefined>, undefined>;
7110
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7111
+ readonly executor: v.StringSchema<undefined>;
7112
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
7113
+ readonly correlationKey: v.StringSchema<undefined>;
7114
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7115
+ readonly intervalMs: v.NumberSchema<undefined>;
7116
+ readonly maxDurationMs: v.NumberSchema<undefined>;
7117
+ }, undefined>, undefined>, undefined>;
7118
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7119
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7120
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7121
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7122
+ readonly base: v.StringSchema<undefined>;
7123
+ readonly work: v.StringSchema<undefined>;
7124
+ }, undefined>, undefined>, undefined>;
7125
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7126
+ readonly owner: v.StringSchema<undefined>;
7127
+ readonly name: v.StringSchema<undefined>;
7128
+ }, undefined>, undefined>, undefined>;
7129
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7130
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
7131
+ readonly startedAt: v.NumberSchema<undefined>;
7132
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7133
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7134
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7135
+ }, undefined>, undefined>;
7136
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7137
+ }, undefined>, undefined>, undefined>;
6994
7138
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6995
7139
  readonly available: v.BooleanSchema<undefined>;
6996
7140
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -7580,6 +7724,7 @@ export declare const resolveDecisionContract: {
7580
7724
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7581
7725
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7582
7726
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7727
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7583
7728
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7584
7729
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
7585
7730
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -7857,7 +8002,7 @@ export declare const resolveDecisionContract: {
7857
8002
  readonly currentStep: v.NumberSchema<undefined>;
7858
8003
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
7859
8004
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7860
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
8005
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
7861
8006
  readonly message: v.StringSchema<undefined>;
7862
8007
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7863
8008
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -7875,7 +8020,7 @@ export declare const resolveDecisionContract: {
7875
8020
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7876
8021
  }, undefined>, undefined>, undefined>;
7877
8022
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
7878
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
8023
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
7879
8024
  readonly message: v.StringSchema<undefined>;
7880
8025
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7881
8026
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -8306,6 +8451,34 @@ export declare const approveStepContract: {
8306
8451
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8307
8452
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8308
8453
  }, undefined>, undefined>, undefined>;
8454
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8455
+ readonly executor: v.StringSchema<undefined>;
8456
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
8457
+ readonly correlationKey: v.StringSchema<undefined>;
8458
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8459
+ readonly intervalMs: v.NumberSchema<undefined>;
8460
+ readonly maxDurationMs: v.NumberSchema<undefined>;
8461
+ }, undefined>, undefined>, undefined>;
8462
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8463
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8464
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8465
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8466
+ readonly base: v.StringSchema<undefined>;
8467
+ readonly work: v.StringSchema<undefined>;
8468
+ }, undefined>, undefined>, undefined>;
8469
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8470
+ readonly owner: v.StringSchema<undefined>;
8471
+ readonly name: v.StringSchema<undefined>;
8472
+ }, undefined>, undefined>, undefined>;
8473
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8474
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
8475
+ readonly startedAt: v.NumberSchema<undefined>;
8476
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8477
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8478
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8479
+ }, undefined>, undefined>;
8480
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8481
+ }, undefined>, undefined>, undefined>;
8309
8482
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8310
8483
  readonly available: v.BooleanSchema<undefined>;
8311
8484
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -8895,6 +9068,7 @@ export declare const approveStepContract: {
8895
9068
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
8896
9069
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
8897
9070
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
9071
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
8898
9072
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8899
9073
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
8900
9074
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -9172,7 +9346,7 @@ export declare const approveStepContract: {
9172
9346
  readonly currentStep: v.NumberSchema<undefined>;
9173
9347
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
9174
9348
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9175
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9349
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9176
9350
  readonly message: v.StringSchema<undefined>;
9177
9351
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9178
9352
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -9190,7 +9364,7 @@ export declare const approveStepContract: {
9190
9364
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
9191
9365
  }, undefined>, undefined>, undefined>;
9192
9366
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
9193
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9367
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9194
9368
  readonly message: v.StringSchema<undefined>;
9195
9369
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9196
9370
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -9635,6 +9809,34 @@ export declare const requestStepChangesContract: {
9635
9809
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9636
9810
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9637
9811
  }, undefined>, undefined>, undefined>;
9812
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9813
+ readonly executor: v.StringSchema<undefined>;
9814
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
9815
+ readonly correlationKey: v.StringSchema<undefined>;
9816
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9817
+ readonly intervalMs: v.NumberSchema<undefined>;
9818
+ readonly maxDurationMs: v.NumberSchema<undefined>;
9819
+ }, undefined>, undefined>, undefined>;
9820
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9821
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9822
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9823
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9824
+ readonly base: v.StringSchema<undefined>;
9825
+ readonly work: v.StringSchema<undefined>;
9826
+ }, undefined>, undefined>, undefined>;
9827
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9828
+ readonly owner: v.StringSchema<undefined>;
9829
+ readonly name: v.StringSchema<undefined>;
9830
+ }, undefined>, undefined>, undefined>;
9831
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9832
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
9833
+ readonly startedAt: v.NumberSchema<undefined>;
9834
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9835
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9836
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9837
+ }, undefined>, undefined>;
9838
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9839
+ }, undefined>, undefined>, undefined>;
9638
9840
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9639
9841
  readonly available: v.BooleanSchema<undefined>;
9640
9842
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -10224,6 +10426,7 @@ export declare const requestStepChangesContract: {
10224
10426
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10225
10427
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10226
10428
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10429
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10227
10430
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10228
10431
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
10229
10432
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -10501,7 +10704,7 @@ export declare const requestStepChangesContract: {
10501
10704
  readonly currentStep: v.NumberSchema<undefined>;
10502
10705
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
10503
10706
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10504
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10707
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10505
10708
  readonly message: v.StringSchema<undefined>;
10506
10709
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10507
10710
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -10519,7 +10722,7 @@ export declare const requestStepChangesContract: {
10519
10722
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10520
10723
  }, undefined>, undefined>, undefined>;
10521
10724
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
10522
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10725
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10523
10726
  readonly message: v.StringSchema<undefined>;
10524
10727
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10525
10728
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -10950,6 +11153,34 @@ export declare const resolveStepExceededContract: {
10950
11153
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
10951
11154
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
10952
11155
  }, undefined>, undefined>, undefined>;
11156
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11157
+ readonly executor: v.StringSchema<undefined>;
11158
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
11159
+ readonly correlationKey: v.StringSchema<undefined>;
11160
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11161
+ readonly intervalMs: v.NumberSchema<undefined>;
11162
+ readonly maxDurationMs: v.NumberSchema<undefined>;
11163
+ }, undefined>, undefined>, undefined>;
11164
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11165
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11166
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11167
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11168
+ readonly base: v.StringSchema<undefined>;
11169
+ readonly work: v.StringSchema<undefined>;
11170
+ }, undefined>, undefined>, undefined>;
11171
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11172
+ readonly owner: v.StringSchema<undefined>;
11173
+ readonly name: v.StringSchema<undefined>;
11174
+ }, undefined>, undefined>, undefined>;
11175
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11176
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
11177
+ readonly startedAt: v.NumberSchema<undefined>;
11178
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11179
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11180
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11181
+ }, undefined>, undefined>;
11182
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11183
+ }, undefined>, undefined>, undefined>;
10953
11184
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10954
11185
  readonly available: v.BooleanSchema<undefined>;
10955
11186
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -11539,6 +11770,7 @@ export declare const resolveStepExceededContract: {
11539
11770
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
11540
11771
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
11541
11772
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
11773
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
11542
11774
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11543
11775
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
11544
11776
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -11816,7 +12048,7 @@ export declare const resolveStepExceededContract: {
11816
12048
  readonly currentStep: v.NumberSchema<undefined>;
11817
12049
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
11818
12050
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11819
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
12051
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
11820
12052
  readonly message: v.StringSchema<undefined>;
11821
12053
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
11822
12054
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -11834,7 +12066,7 @@ export declare const resolveStepExceededContract: {
11834
12066
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
11835
12067
  }, undefined>, undefined>, undefined>;
11836
12068
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
11837
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
12069
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
11838
12070
  readonly message: v.StringSchema<undefined>;
11839
12071
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
11840
12072
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -12263,6 +12495,34 @@ export declare const restartExecutionContract: {
12263
12495
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12264
12496
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12265
12497
  }, undefined>, undefined>, undefined>;
12498
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12499
+ readonly executor: v.StringSchema<undefined>;
12500
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
12501
+ readonly correlationKey: v.StringSchema<undefined>;
12502
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12503
+ readonly intervalMs: v.NumberSchema<undefined>;
12504
+ readonly maxDurationMs: v.NumberSchema<undefined>;
12505
+ }, undefined>, undefined>, undefined>;
12506
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12507
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12508
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12509
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12510
+ readonly base: v.StringSchema<undefined>;
12511
+ readonly work: v.StringSchema<undefined>;
12512
+ }, undefined>, undefined>, undefined>;
12513
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12514
+ readonly owner: v.StringSchema<undefined>;
12515
+ readonly name: v.StringSchema<undefined>;
12516
+ }, undefined>, undefined>, undefined>;
12517
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12518
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
12519
+ readonly startedAt: v.NumberSchema<undefined>;
12520
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12521
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12522
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12523
+ }, undefined>, undefined>;
12524
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12525
+ }, undefined>, undefined>, undefined>;
12266
12526
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12267
12527
  readonly available: v.BooleanSchema<undefined>;
12268
12528
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -12852,6 +13112,7 @@ export declare const restartExecutionContract: {
12852
13112
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
12853
13113
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
12854
13114
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
13115
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
12855
13116
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12856
13117
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
12857
13118
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -13129,7 +13390,7 @@ export declare const restartExecutionContract: {
13129
13390
  readonly currentStep: v.NumberSchema<undefined>;
13130
13391
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
13131
13392
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13132
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
13393
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
13133
13394
  readonly message: v.StringSchema<undefined>;
13134
13395
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
13135
13396
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -13147,7 +13408,7 @@ export declare const restartExecutionContract: {
13147
13408
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
13148
13409
  }, undefined>, undefined>, undefined>;
13149
13410
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
13150
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
13411
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
13151
13412
  readonly message: v.StringSchema<undefined>;
13152
13413
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
13153
13414
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -13578,6 +13839,34 @@ export declare const rejectStepContract: {
13578
13839
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13579
13840
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13580
13841
  }, undefined>, undefined>, undefined>;
13842
+ readonly delegated: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13843
+ readonly executor: v.StringSchema<undefined>;
13844
+ readonly status: v.PicklistSchema<["starting", "running", "done", "failed", "cancelled"], undefined>;
13845
+ readonly correlationKey: v.StringSchema<undefined>;
13846
+ readonly poll: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13847
+ readonly intervalMs: v.NumberSchema<undefined>;
13848
+ readonly maxDurationMs: v.NumberSchema<undefined>;
13849
+ }, undefined>, undefined>, undefined>;
13850
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13851
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13852
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13853
+ readonly branches: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13854
+ readonly base: v.StringSchema<undefined>;
13855
+ readonly work: v.StringSchema<undefined>;
13856
+ }, undefined>, undefined>, undefined>;
13857
+ readonly repo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13858
+ readonly owner: v.StringSchema<undefined>;
13859
+ readonly name: v.StringSchema<undefined>;
13860
+ }, undefined>, undefined>, undefined>;
13861
+ readonly branch: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13862
+ readonly attempts: v.ArraySchema<v.ObjectSchema<{
13863
+ readonly startedAt: v.NumberSchema<undefined>;
13864
+ readonly externalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13865
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13866
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13867
+ }, undefined>, undefined>;
13868
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13869
+ }, undefined>, undefined>, undefined>;
13581
13870
  readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13582
13871
  readonly available: v.BooleanSchema<undefined>;
13583
13872
  readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
@@ -14167,6 +14456,7 @@ export declare const rejectStepContract: {
14167
14456
  readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
14168
14457
  readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
14169
14458
  readonly branchContentionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
14459
+ readonly delegatedRetries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
14170
14460
  readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
14171
14461
  readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
14172
14462
  readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
@@ -14444,7 +14734,7 @@ export declare const rejectStepContract: {
14444
14734
  readonly currentStep: v.NumberSchema<undefined>;
14445
14735
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
14446
14736
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
14447
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
14737
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
14448
14738
  readonly message: v.StringSchema<undefined>;
14449
14739
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
14450
14740
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -14462,7 +14752,7 @@ export declare const rejectStepContract: {
14462
14752
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
14463
14753
  }, undefined>, undefined>, undefined>;
14464
14754
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
14465
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
14755
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "delegated_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
14466
14756
  readonly message: v.StringSchema<undefined>;
14467
14757
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
14468
14758
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;