@shivaedev/work-fleet 0.1.1 → 0.2.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 (311) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -2
  3. package/dist/admit.d.ts +54 -0
  4. package/dist/admit.d.ts.map +1 -1
  5. package/dist/engine/abandonStalled.d.ts +9807 -0
  6. package/dist/engine/abandonStalled.d.ts.map +1 -0
  7. package/dist/engine/abandonStalled.js +55 -0
  8. package/dist/engine/abandonStalled.js.map +1 -0
  9. package/dist/engine/applyResolution.d.ts +108 -0
  10. package/dist/engine/applyResolution.d.ts.map +1 -1
  11. package/dist/engine/applyResolution.js +3 -0
  12. package/dist/engine/applyResolution.js.map +1 -1
  13. package/dist/engine/approveBrief.d.ts +164 -2
  14. package/dist/engine/approveBrief.d.ts.map +1 -1
  15. package/dist/engine/approveBrief.js +7 -5
  16. package/dist/engine/approveBrief.js.map +1 -1
  17. package/dist/engine/authorizeResolution.d.ts +942 -24
  18. package/dist/engine/authorizeResolution.d.ts.map +1 -1
  19. package/dist/engine/boardBrief.d.ts +162 -0
  20. package/dist/engine/boardBrief.d.ts.map +1 -1
  21. package/dist/engine/capacityRetry.d.ts +2883 -75
  22. package/dist/engine/capacityRetry.d.ts.map +1 -1
  23. package/dist/engine/closeDecisions.d.ts +108 -0
  24. package/dist/engine/closeDecisions.d.ts.map +1 -1
  25. package/dist/engine/completeBoardWork.d.ts +108 -0
  26. package/dist/engine/completeBoardWork.d.ts.map +1 -1
  27. package/dist/engine/completeReport.d.ts +108 -0
  28. package/dist/engine/completeReport.d.ts.map +1 -1
  29. package/dist/engine/continueCommand.d.ts +54 -0
  30. package/dist/engine/continueCommand.d.ts.map +1 -1
  31. package/dist/engine/continueWorker.d.ts +108 -0
  32. package/dist/engine/continueWorker.d.ts.map +1 -1
  33. package/dist/engine/deliverPendingAnswers.d.ts +1104 -24
  34. package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
  35. package/dist/engine/dispatchCommand.d.ts +54 -0
  36. package/dist/engine/dispatchCommand.d.ts.map +1 -1
  37. package/dist/engine/ensureDecisionOwner.d.ts +108 -0
  38. package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
  39. package/dist/engine/ensurePublication.d.ts +108 -0
  40. package/dist/engine/ensurePublication.d.ts.map +1 -1
  41. package/dist/engine/inspectRenewal.d.ts +108 -0
  42. package/dist/engine/inspectRenewal.d.ts.map +1 -1
  43. package/dist/engine/launchInput.d.ts +54 -0
  44. package/dist/engine/launchInput.d.ts.map +1 -1
  45. package/dist/engine/launchReceipt.d.ts +54 -0
  46. package/dist/engine/launchReceipt.d.ts.map +1 -1
  47. package/dist/engine/makeAdopt.d.ts +108 -0
  48. package/dist/engine/makeAdopt.d.ts.map +1 -1
  49. package/dist/engine/makeAdvance.d.ts +54 -0
  50. package/dist/engine/makeAdvance.d.ts.map +1 -1
  51. package/dist/engine/makeDeliver.d.ts +108 -0
  52. package/dist/engine/makeDeliver.d.ts.map +1 -1
  53. package/dist/engine/makeHuman.d.ts +108 -0
  54. package/dist/engine/makeHuman.d.ts.map +1 -1
  55. package/dist/engine/makeLaunch.d.ts +108 -0
  56. package/dist/engine/makeLaunch.d.ts.map +1 -1
  57. package/dist/engine/makeObserve.d.ts +108 -0
  58. package/dist/engine/makeObserve.d.ts.map +1 -1
  59. package/dist/engine/makeReview.d.ts +108 -0
  60. package/dist/engine/makeReview.d.ts.map +1 -1
  61. package/dist/engine/makeState.d.ts +888 -24
  62. package/dist/engine/makeState.d.ts.map +1 -1
  63. package/dist/engine/makeValidate.d.ts +108 -0
  64. package/dist/engine/makeValidate.d.ts.map +1 -1
  65. package/dist/engine/mergeReadiness.d.ts +1212 -24
  66. package/dist/engine/mergeReadiness.d.ts.map +1 -1
  67. package/dist/engine/observeDeliveryFailure.d.ts +996 -24
  68. package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
  69. package/dist/engine/observeRenewal.d.ts +189 -0
  70. package/dist/engine/observeRenewal.d.ts.map +1 -1
  71. package/dist/engine/observedAttempt.d.ts.map +1 -1
  72. package/dist/engine/observedAttempt.js +3 -0
  73. package/dist/engine/observedAttempt.js.map +1 -1
  74. package/dist/engine/obtainReview.d.ts +54 -0
  75. package/dist/engine/obtainReview.d.ts.map +1 -1
  76. package/dist/engine/operationRecord.d.ts +726 -24
  77. package/dist/engine/operationRecord.d.ts.map +1 -1
  78. package/dist/engine/persistTerminalReceipts.d.ts +108 -0
  79. package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
  80. package/dist/engine/prepareCommand.d.ts +54 -0
  81. package/dist/engine/prepareCommand.d.ts.map +1 -1
  82. package/dist/engine/prepareCommand.js +19 -0
  83. package/dist/engine/prepareCommand.js.map +1 -1
  84. package/dist/engine/queueAnswerCommand.d.ts +54 -0
  85. package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
  86. package/dist/engine/readOrContinueReview.d.ts +54 -0
  87. package/dist/engine/readOrContinueReview.d.ts.map +1 -1
  88. package/dist/engine/readRetry.d.ts +1995 -51
  89. package/dist/engine/readRetry.d.ts.map +1 -1
  90. package/dist/engine/reassignCommand.d.ts +54 -0
  91. package/dist/engine/reassignCommand.d.ts.map +1 -1
  92. package/dist/engine/reconcileAttempt.d.ts +81 -0
  93. package/dist/engine/reconcileAttempt.d.ts.map +1 -1
  94. package/dist/engine/reconcileCommand.d.ts +54 -0
  95. package/dist/engine/reconcileCommand.d.ts.map +1 -1
  96. package/dist/engine/recoverStall.d.ts +1023 -24
  97. package/dist/engine/recoverStall.d.ts.map +1 -1
  98. package/dist/engine/recoverStall.js +5 -1
  99. package/dist/engine/recoverStall.js.map +1 -1
  100. package/dist/engine/recoverUnobservable.d.ts +1023 -24
  101. package/dist/engine/recoverUnobservable.d.ts.map +1 -1
  102. package/dist/engine/refreshBrief.d.ts +1997 -53
  103. package/dist/engine/refreshBrief.d.ts.map +1 -1
  104. package/dist/engine/refreshReviewResult.d.ts +108 -0
  105. package/dist/engine/refreshReviewResult.d.ts.map +1 -1
  106. package/dist/engine/releaseClosedPreparation.d.ts +996 -24
  107. package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
  108. package/dist/engine/releaseExecution.d.ts +996 -24
  109. package/dist/engine/releaseExecution.d.ts.map +1 -1
  110. package/dist/engine/releaseFinishedWork.d.ts +54 -0
  111. package/dist/engine/releaseFinishedWork.d.ts.map +1 -1
  112. package/dist/engine/repository.d.ts +672 -24
  113. package/dist/engine/repository.d.ts.map +1 -1
  114. package/dist/engine/repository.js +1 -0
  115. package/dist/engine/repository.js.map +1 -1
  116. package/dist/engine/requestConflictRepair.d.ts +996 -24
  117. package/dist/engine/requestConflictRepair.d.ts.map +1 -1
  118. package/dist/engine/requestRework.d.ts +108 -0
  119. package/dist/engine/requestRework.d.ts.map +1 -1
  120. package/dist/engine/resolveCommand.d.ts +54 -0
  121. package/dist/engine/resolveCommand.d.ts.map +1 -1
  122. package/dist/engine/resolveExecution.d.ts +996 -24
  123. package/dist/engine/resolveExecution.d.ts.map +1 -1
  124. package/dist/engine/resolveExecution.js +3 -1
  125. package/dist/engine/resolveExecution.js.map +1 -1
  126. package/dist/engine/resumeAttempt.d.ts +1023 -24
  127. package/dist/engine/resumeAttempt.d.ts.map +1 -1
  128. package/dist/engine/retireUnacknowledged.d.ts +108 -0
  129. package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
  130. package/dist/engine/retryTerminal.d.ts +942 -24
  131. package/dist/engine/retryTerminal.d.ts.map +1 -1
  132. package/dist/engine/scheduler.d.ts +108 -0
  133. package/dist/engine/scheduler.d.ts.map +1 -1
  134. package/dist/engine/sessionCleanup.d.ts +108 -0
  135. package/dist/engine/sessionCleanup.d.ts.map +1 -1
  136. package/dist/engine/sessionCleanup.js +3 -1
  137. package/dist/engine/sessionCleanup.js.map +1 -1
  138. package/dist/engine/sessionStatus.d.ts.map +1 -1
  139. package/dist/engine/sessionStatus.js +3 -0
  140. package/dist/engine/sessionStatus.js.map +1 -1
  141. package/dist/engine/settleMergedDelivery.d.ts +996 -24
  142. package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
  143. package/dist/engine/steerBrief.d.ts +10340 -0
  144. package/dist/engine/steerBrief.d.ts.map +1 -0
  145. package/dist/engine/steerBrief.js +42 -0
  146. package/dist/engine/steerBrief.js.map +1 -0
  147. package/dist/engine/submissionFailure.d.ts +888 -24
  148. package/dist/engine/submissionFailure.d.ts.map +1 -1
  149. package/dist/engine/submitLaunch.d.ts +942 -24
  150. package/dist/engine/submitLaunch.d.ts.map +1 -1
  151. package/dist/engine/views.js +1 -0
  152. package/dist/engine/views.js.map +1 -1
  153. package/dist/engine/workerReport.d.ts +162 -0
  154. package/dist/engine/workerReport.d.ts.map +1 -1
  155. package/dist/fleet.d.ts +540 -0
  156. package/dist/fleet.d.ts.map +1 -1
  157. package/dist/host/admission.d.ts +108 -0
  158. package/dist/host/admission.d.ts.map +1 -1
  159. package/dist/host/admission.js +2 -1
  160. package/dist/host/admission.js.map +1 -1
  161. package/dist/host/answerWork.d.ts +54 -0
  162. package/dist/host/answerWork.d.ts.map +1 -1
  163. package/dist/host/commands.d.ts +108 -0
  164. package/dist/host/commands.d.ts.map +1 -1
  165. package/dist/host/daemon.d.ts +1465 -865
  166. package/dist/host/daemon.d.ts.map +1 -1
  167. package/dist/host/daemonClient.d.ts +691 -91
  168. package/dist/host/daemonClient.d.ts.map +1 -1
  169. package/dist/host/daemonContract.d.ts +984 -0
  170. package/dist/host/daemonContract.d.ts.map +1 -1
  171. package/dist/host/readWaitStates.d.ts.map +1 -1
  172. package/dist/host/readWaitStates.js +13 -4
  173. package/dist/host/readWaitStates.js.map +1 -1
  174. package/dist/host/reassignWork.d.ts +54 -0
  175. package/dist/host/reassignWork.d.ts.map +1 -1
  176. package/dist/host/recordPayloads.d.ts.map +1 -1
  177. package/dist/host/recordPayloads.js +8 -3
  178. package/dist/host/recordPayloads.js.map +1 -1
  179. package/dist/host/releaseWork.d.ts +108 -0
  180. package/dist/host/releaseWork.d.ts.map +1 -1
  181. package/dist/host/status.d.ts +30 -0
  182. package/dist/host/status.d.ts.map +1 -1
  183. package/dist/model.d.ts +144 -0
  184. package/dist/model.d.ts.map +1 -1
  185. package/dist/model.js +14 -1
  186. package/dist/model.js.map +1 -1
  187. package/dist/operations.d.ts +1224 -0
  188. package/dist/operations.d.ts.map +1 -1
  189. package/dist/packageInfo.d.ts +1 -1
  190. package/dist/packageInfo.js +1 -1
  191. package/dist/prompt/briefEdit.d.ts +2 -0
  192. package/dist/prompt/briefEdit.d.ts.map +1 -0
  193. package/dist/prompt/briefEdit.js +41 -0
  194. package/dist/prompt/briefEdit.js.map +1 -0
  195. package/dist/prompt/worker.d.ts.map +1 -1
  196. package/dist/prompt/worker.js +11 -2
  197. package/dist/prompt/worker.js.map +1 -1
  198. package/dist/qualifyDependencies.d.ts +54 -0
  199. package/dist/qualifyDependencies.d.ts.map +1 -1
  200. package/dist/scheduling/areas.d.ts +162 -0
  201. package/dist/scheduling/areas.d.ts.map +1 -1
  202. package/dist/storage/attemptV12.d.ts +108 -0
  203. package/dist/storage/attemptV12.d.ts.map +1 -0
  204. package/dist/storage/attemptV12.js +94 -0
  205. package/dist/storage/attemptV12.js.map +1 -0
  206. package/dist/storage/createCollections.d.ts +5 -0
  207. package/dist/storage/createCollections.d.ts.map +1 -0
  208. package/dist/storage/createCollections.js +21 -0
  209. package/dist/storage/createCollections.js.map +1 -0
  210. package/dist/storage/cycleV12.d.ts +287 -0
  211. package/dist/storage/cycleV12.d.ts.map +1 -0
  212. package/dist/storage/cycleV12.js +124 -0
  213. package/dist/storage/cycleV12.js.map +1 -0
  214. package/dist/storage/fleetMigrations.d.ts +0 -39
  215. package/dist/storage/fleetMigrations.d.ts.map +1 -1
  216. package/dist/storage/fleetMigrations.js +3 -9
  217. package/dist/storage/fleetMigrations.js.map +1 -1
  218. package/dist/storage/legacyColumns.d.ts +40 -0
  219. package/dist/storage/legacyColumns.d.ts.map +1 -0
  220. package/dist/storage/legacyColumns.js +12 -0
  221. package/dist/storage/legacyColumns.js.map +1 -0
  222. package/dist/storage/makeForeignReservations.d.ts +15 -0
  223. package/dist/storage/makeForeignReservations.d.ts.map +1 -0
  224. package/dist/storage/makeForeignReservations.js +34 -0
  225. package/dist/storage/makeForeignReservations.js.map +1 -0
  226. package/dist/storage/makePostgresFleetStore.d.ts +36 -16
  227. package/dist/storage/makePostgresFleetStore.d.ts.map +1 -1
  228. package/dist/storage/makePostgresFleetStore.js +24 -32
  229. package/dist/storage/makePostgresFleetStore.js.map +1 -1
  230. package/dist/storage/model.d.ts +53 -59
  231. package/dist/storage/model.d.ts.map +1 -1
  232. package/dist/storage/model.js +18 -60
  233. package/dist/storage/model.js.map +1 -1
  234. package/dist/storage/operationEntries.d.ts +6 -5
  235. package/dist/storage/operationEntries.d.ts.map +1 -1
  236. package/dist/storage/operationEntries.js +12 -15
  237. package/dist/storage/operationEntries.js.map +1 -1
  238. package/dist/storage/preparationV12.d.ts +44 -0
  239. package/dist/storage/preparationV12.d.ts.map +1 -0
  240. package/dist/storage/preparationV12.js +30 -0
  241. package/dist/storage/preparationV12.js.map +1 -0
  242. package/dist/storage/readRecords.d.ts +4 -0
  243. package/dist/storage/readRecords.d.ts.map +1 -0
  244. package/dist/storage/readRecords.js +10 -0
  245. package/dist/storage/readRecords.js.map +1 -0
  246. package/dist/storage/recordChildren.d.ts +11 -0
  247. package/dist/storage/recordChildren.d.ts.map +1 -0
  248. package/dist/storage/recordChildren.js +105 -0
  249. package/dist/storage/recordChildren.js.map +1 -0
  250. package/dist/storage/recordShape.d.ts +23 -0
  251. package/dist/storage/recordShape.d.ts.map +1 -0
  252. package/dist/storage/recordShape.js +112 -0
  253. package/dist/storage/recordShape.js.map +1 -0
  254. package/dist/storage/recordValue.d.ts +9 -6
  255. package/dist/storage/recordValue.d.ts.map +1 -1
  256. package/dist/storage/recordValue.js +42 -32
  257. package/dist/storage/recordValue.js.map +1 -1
  258. package/dist/storage/shapeV12.d.ts +794 -0
  259. package/dist/storage/shapeV12.d.ts.map +1 -0
  260. package/dist/storage/shapeV12.js +10 -0
  261. package/dist/storage/shapeV12.js.map +1 -0
  262. package/dist/storage/textRecordValue.d.ts +3 -0
  263. package/dist/storage/textRecordValue.d.ts.map +1 -0
  264. package/dist/storage/textRecordValue.js +13 -0
  265. package/dist/storage/textRecordValue.js.map +1 -0
  266. package/dist/storage/typedDecisionsV12.d.ts +103 -0
  267. package/dist/storage/typedDecisionsV12.d.ts.map +1 -0
  268. package/dist/storage/typedDecisionsV12.js +97 -0
  269. package/dist/storage/typedDecisionsV12.js.map +1 -0
  270. package/dist/storage/typedTables.d.ts +4 -0
  271. package/dist/storage/typedTables.d.ts.map +1 -0
  272. package/dist/storage/typedTables.js +39 -0
  273. package/dist/storage/typedTables.js.map +1 -0
  274. package/package.json +8 -8
  275. package/src/engine/abandonStalled.ts +63 -0
  276. package/src/engine/applyResolution.ts +3 -0
  277. package/src/engine/approveBrief.ts +34 -32
  278. package/src/engine/observedAttempt.ts +3 -0
  279. package/src/engine/prepareCommand.ts +21 -0
  280. package/src/engine/recoverStall.ts +6 -2
  281. package/src/engine/repository.ts +1 -0
  282. package/src/engine/resolveExecution.ts +3 -1
  283. package/src/engine/sessionCleanup.ts +3 -1
  284. package/src/engine/sessionStatus.ts +5 -0
  285. package/src/engine/steerBrief.ts +54 -0
  286. package/src/engine/views.ts +1 -0
  287. package/src/host/admission.ts +2 -1
  288. package/src/host/readWaitStates.ts +12 -11
  289. package/src/host/recordPayloads.ts +11 -3
  290. package/src/model.ts +20 -1
  291. package/src/packageInfo.ts +1 -1
  292. package/src/prompt/briefEdit.ts +44 -0
  293. package/src/prompt/worker.ts +11 -2
  294. package/src/storage/attemptV12.ts +95 -0
  295. package/src/storage/createCollections.ts +21 -0
  296. package/src/storage/cycleV12.ts +125 -0
  297. package/src/storage/fleetMigrations.ts +3 -10
  298. package/src/storage/legacyColumns.ts +12 -0
  299. package/src/storage/makeForeignReservations.ts +41 -0
  300. package/src/storage/makePostgresFleetStore.ts +30 -43
  301. package/src/storage/model.ts +19 -69
  302. package/src/storage/operationEntries.ts +12 -22
  303. package/src/storage/preparationV12.ts +31 -0
  304. package/src/storage/readRecords.ts +12 -0
  305. package/src/storage/recordChildren.ts +131 -0
  306. package/src/storage/recordShape.ts +137 -0
  307. package/src/storage/recordValue.ts +47 -34
  308. package/src/storage/shapeV12.ts +11 -0
  309. package/src/storage/textRecordValue.ts +16 -0
  310. package/src/storage/typedDecisionsV12.ts +100 -0
  311. package/src/storage/typedTables.ts +39 -0
@@ -19,6 +19,33 @@ export declare const readRetry: (state: {
19
19
  readonly admissionReady?: boolean | undefined;
20
20
  readonly areas?: readonly string[] | undefined;
21
21
  readonly attempts: readonly {
22
+ readonly abandoned?: {
23
+ readonly at: number;
24
+ readonly interruptError?: string | undefined;
25
+ readonly observation?: {
26
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
27
+ readonly error?: string | undefined;
28
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
29
+ readonly output: string;
30
+ readonly progress?: readonly {
31
+ readonly id: string;
32
+ readonly status?: string | undefined;
33
+ }[] | undefined;
34
+ readonly provisioning: "ready" | "unknown";
35
+ readonly receipt: {
36
+ readonly sessionId: string;
37
+ readonly turnId: string;
38
+ };
39
+ readonly turnMissing?: boolean | undefined;
40
+ } | undefined;
41
+ readonly observationError?: string | undefined;
42
+ } | undefined;
43
+ readonly briefSteers?: readonly {
44
+ readonly error?: string | undefined;
45
+ readonly requestedAt: number;
46
+ readonly revision: string;
47
+ readonly steeredAt?: number | undefined;
48
+ }[] | undefined;
22
49
  readonly checkFailures?: readonly string[] | undefined;
23
50
  readonly missingSince?: number | undefined;
24
51
  readonly observationRetries?: number | undefined;
@@ -257,6 +284,33 @@ export declare const readRetry: (state: {
257
284
  readonly admissionReady?: boolean | undefined;
258
285
  readonly areas?: readonly string[] | undefined;
259
286
  readonly attempts: readonly {
287
+ readonly abandoned?: {
288
+ readonly at: number;
289
+ readonly interruptError?: string | undefined;
290
+ readonly observation?: {
291
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
292
+ readonly error?: string | undefined;
293
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
294
+ readonly output: string;
295
+ readonly progress?: readonly {
296
+ readonly id: string;
297
+ readonly status?: string | undefined;
298
+ }[] | undefined;
299
+ readonly provisioning: "ready" | "unknown";
300
+ readonly receipt: {
301
+ readonly sessionId: string;
302
+ readonly turnId: string;
303
+ };
304
+ readonly turnMissing?: boolean | undefined;
305
+ } | undefined;
306
+ readonly observationError?: string | undefined;
307
+ } | undefined;
308
+ readonly briefSteers?: readonly {
309
+ readonly error?: string | undefined;
310
+ readonly requestedAt: number;
311
+ readonly revision: string;
312
+ readonly steeredAt?: number | undefined;
313
+ }[] | undefined;
260
314
  readonly checkFailures?: readonly string[] | undefined;
261
315
  readonly missingSince?: number | undefined;
262
316
  readonly observationRetries?: number | undefined;
@@ -512,6 +566,33 @@ export declare const readRetry: (state: {
512
566
  readonly admissionReady?: boolean | undefined;
513
567
  readonly areas?: readonly string[] | undefined;
514
568
  readonly attempts: readonly {
569
+ readonly abandoned?: {
570
+ readonly at: number;
571
+ readonly interruptError?: string | undefined;
572
+ readonly observation?: {
573
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
574
+ readonly error?: string | undefined;
575
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
576
+ readonly output: string;
577
+ readonly progress?: readonly {
578
+ readonly id: string;
579
+ readonly status?: string | undefined;
580
+ }[] | undefined;
581
+ readonly provisioning: "ready" | "unknown";
582
+ readonly receipt: {
583
+ readonly sessionId: string;
584
+ readonly turnId: string;
585
+ };
586
+ readonly turnMissing?: boolean | undefined;
587
+ } | undefined;
588
+ readonly observationError?: string | undefined;
589
+ } | undefined;
590
+ readonly briefSteers?: readonly {
591
+ readonly error?: string | undefined;
592
+ readonly requestedAt: number;
593
+ readonly revision: string;
594
+ readonly steeredAt?: number | undefined;
595
+ }[] | undefined;
515
596
  readonly checkFailures?: readonly string[] | undefined;
516
597
  readonly missingSince?: number | undefined;
517
598
  readonly observationRetries?: number | undefined;
@@ -750,6 +831,33 @@ export declare const readRetry: (state: {
750
831
  readonly admissionReady?: boolean | undefined;
751
832
  readonly areas?: readonly string[] | undefined;
752
833
  readonly attempts: readonly {
834
+ readonly abandoned?: {
835
+ readonly at: number;
836
+ readonly interruptError?: string | undefined;
837
+ readonly observation?: {
838
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
839
+ readonly error?: string | undefined;
840
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
841
+ readonly output: string;
842
+ readonly progress?: readonly {
843
+ readonly id: string;
844
+ readonly status?: string | undefined;
845
+ }[] | undefined;
846
+ readonly provisioning: "ready" | "unknown";
847
+ readonly receipt: {
848
+ readonly sessionId: string;
849
+ readonly turnId: string;
850
+ };
851
+ readonly turnMissing?: boolean | undefined;
852
+ } | undefined;
853
+ readonly observationError?: string | undefined;
854
+ } | undefined;
855
+ readonly briefSteers?: readonly {
856
+ readonly error?: string | undefined;
857
+ readonly requestedAt: number;
858
+ readonly revision: string;
859
+ readonly steeredAt?: number | undefined;
860
+ }[] | undefined;
753
861
  readonly checkFailures?: readonly string[] | undefined;
754
862
  readonly missingSince?: number | undefined;
755
863
  readonly observationRetries?: number | undefined;
@@ -1009,6 +1117,33 @@ export declare const readRetry: (state: {
1009
1117
  readonly admissionReady?: boolean | undefined;
1010
1118
  readonly areas?: readonly string[] | undefined;
1011
1119
  readonly attempts: readonly {
1120
+ readonly abandoned?: {
1121
+ readonly at: number;
1122
+ readonly interruptError?: string | undefined;
1123
+ readonly observation?: {
1124
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1125
+ readonly error?: string | undefined;
1126
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1127
+ readonly output: string;
1128
+ readonly progress?: readonly {
1129
+ readonly id: string;
1130
+ readonly status?: string | undefined;
1131
+ }[] | undefined;
1132
+ readonly provisioning: "ready" | "unknown";
1133
+ readonly receipt: {
1134
+ readonly sessionId: string;
1135
+ readonly turnId: string;
1136
+ };
1137
+ readonly turnMissing?: boolean | undefined;
1138
+ } | undefined;
1139
+ readonly observationError?: string | undefined;
1140
+ } | undefined;
1141
+ readonly briefSteers?: readonly {
1142
+ readonly error?: string | undefined;
1143
+ readonly requestedAt: number;
1144
+ readonly revision: string;
1145
+ readonly steeredAt?: number | undefined;
1146
+ }[] | undefined;
1012
1147
  readonly checkFailures?: readonly string[] | undefined;
1013
1148
  readonly missingSince?: number | undefined;
1014
1149
  readonly observationRetries?: number | undefined;
@@ -1247,6 +1382,33 @@ export declare const readRetry: (state: {
1247
1382
  readonly admissionReady?: boolean | undefined;
1248
1383
  readonly areas?: readonly string[] | undefined;
1249
1384
  readonly attempts: readonly {
1385
+ readonly abandoned?: {
1386
+ readonly at: number;
1387
+ readonly interruptError?: string | undefined;
1388
+ readonly observation?: {
1389
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1390
+ readonly error?: string | undefined;
1391
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1392
+ readonly output: string;
1393
+ readonly progress?: readonly {
1394
+ readonly id: string;
1395
+ readonly status?: string | undefined;
1396
+ }[] | undefined;
1397
+ readonly provisioning: "ready" | "unknown";
1398
+ readonly receipt: {
1399
+ readonly sessionId: string;
1400
+ readonly turnId: string;
1401
+ };
1402
+ readonly turnMissing?: boolean | undefined;
1403
+ } | undefined;
1404
+ readonly observationError?: string | undefined;
1405
+ } | undefined;
1406
+ readonly briefSteers?: readonly {
1407
+ readonly error?: string | undefined;
1408
+ readonly requestedAt: number;
1409
+ readonly revision: string;
1410
+ readonly steeredAt?: number | undefined;
1411
+ }[] | undefined;
1250
1412
  readonly checkFailures?: readonly string[] | undefined;
1251
1413
  readonly missingSince?: number | undefined;
1252
1414
  readonly observationRetries?: number | undefined;
@@ -1503,6 +1665,33 @@ export declare const readRetry: (state: {
1503
1665
  readonly admissionReady?: boolean | undefined;
1504
1666
  readonly areas?: readonly string[] | undefined;
1505
1667
  readonly attempts: readonly {
1668
+ readonly abandoned?: {
1669
+ readonly at: number;
1670
+ readonly interruptError?: string | undefined;
1671
+ readonly observation?: {
1672
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1673
+ readonly error?: string | undefined;
1674
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1675
+ readonly output: string;
1676
+ readonly progress?: readonly {
1677
+ readonly id: string;
1678
+ readonly status?: string | undefined;
1679
+ }[] | undefined;
1680
+ readonly provisioning: "ready" | "unknown";
1681
+ readonly receipt: {
1682
+ readonly sessionId: string;
1683
+ readonly turnId: string;
1684
+ };
1685
+ readonly turnMissing?: boolean | undefined;
1686
+ } | undefined;
1687
+ readonly observationError?: string | undefined;
1688
+ } | undefined;
1689
+ readonly briefSteers?: readonly {
1690
+ readonly error?: string | undefined;
1691
+ readonly requestedAt: number;
1692
+ readonly revision: string;
1693
+ readonly steeredAt?: number | undefined;
1694
+ }[] | undefined;
1506
1695
  readonly checkFailures?: readonly string[] | undefined;
1507
1696
  readonly missingSince?: number | undefined;
1508
1697
  readonly observationRetries?: number | undefined;
@@ -1741,6 +1930,33 @@ export declare const readRetry: (state: {
1741
1930
  readonly admissionReady?: boolean | undefined;
1742
1931
  readonly areas?: readonly string[] | undefined;
1743
1932
  readonly attempts: readonly {
1933
+ readonly abandoned?: {
1934
+ readonly at: number;
1935
+ readonly interruptError?: string | undefined;
1936
+ readonly observation?: {
1937
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1938
+ readonly error?: string | undefined;
1939
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1940
+ readonly output: string;
1941
+ readonly progress?: readonly {
1942
+ readonly id: string;
1943
+ readonly status?: string | undefined;
1944
+ }[] | undefined;
1945
+ readonly provisioning: "ready" | "unknown";
1946
+ readonly receipt: {
1947
+ readonly sessionId: string;
1948
+ readonly turnId: string;
1949
+ };
1950
+ readonly turnMissing?: boolean | undefined;
1951
+ } | undefined;
1952
+ readonly observationError?: string | undefined;
1953
+ } | undefined;
1954
+ readonly briefSteers?: readonly {
1955
+ readonly error?: string | undefined;
1956
+ readonly requestedAt: number;
1957
+ readonly revision: string;
1958
+ readonly steeredAt?: number | undefined;
1959
+ }[] | undefined;
1744
1960
  readonly checkFailures?: readonly string[] | undefined;
1745
1961
  readonly missingSince?: number | undefined;
1746
1962
  readonly observationRetries?: number | undefined;
@@ -2061,10 +2277,47 @@ export declare const readRetry: (state: {
2061
2277
  }, prompt: string) => Effect.Effect<void, SessionFailure, never>;
2062
2278
  }>;
2063
2279
  store: Omit<{
2280
+ foreignReservations: () => Effect.Effect<Pick<{
2281
+ readonly backlog: boolean;
2282
+ readonly executing: boolean;
2283
+ readonly owner: string;
2284
+ }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
2285
+ releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
2286
+ reserveForeign: (owner: string, occupancy?: {
2287
+ readonly executing: boolean;
2288
+ readonly backlog: boolean;
2289
+ }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
2064
2290
  compareAndSet: (workId: string, expectedVersion: number, record: {
2065
2291
  readonly admissionReady?: boolean | undefined;
2066
2292
  readonly areas?: readonly string[] | undefined;
2067
2293
  readonly attempts: readonly {
2294
+ readonly abandoned?: {
2295
+ readonly at: number;
2296
+ readonly interruptError?: string | undefined;
2297
+ readonly observation?: {
2298
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
2299
+ readonly error?: string | undefined;
2300
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
2301
+ readonly output: string;
2302
+ readonly progress?: readonly {
2303
+ readonly id: string;
2304
+ readonly status?: string | undefined;
2305
+ }[] | undefined;
2306
+ readonly provisioning: "ready" | "unknown";
2307
+ readonly receipt: {
2308
+ readonly sessionId: string;
2309
+ readonly turnId: string;
2310
+ };
2311
+ readonly turnMissing?: boolean | undefined;
2312
+ } | undefined;
2313
+ readonly observationError?: string | undefined;
2314
+ } | undefined;
2315
+ readonly briefSteers?: readonly {
2316
+ readonly error?: string | undefined;
2317
+ readonly requestedAt: number;
2318
+ readonly revision: string;
2319
+ readonly steeredAt?: number | undefined;
2320
+ }[] | undefined;
2068
2321
  readonly checkFailures?: readonly string[] | undefined;
2069
2322
  readonly missingSince?: number | undefined;
2070
2323
  readonly observationRetries?: number | undefined;
@@ -2303,6 +2556,33 @@ export declare const readRetry: (state: {
2303
2556
  readonly admissionReady?: boolean | undefined;
2304
2557
  readonly areas?: readonly string[] | undefined;
2305
2558
  readonly attempts: readonly {
2559
+ readonly abandoned?: {
2560
+ readonly at: number;
2561
+ readonly interruptError?: string | undefined;
2562
+ readonly observation?: {
2563
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
2564
+ readonly error?: string | undefined;
2565
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
2566
+ readonly output: string;
2567
+ readonly progress?: readonly {
2568
+ readonly id: string;
2569
+ readonly status?: string | undefined;
2570
+ }[] | undefined;
2571
+ readonly provisioning: "ready" | "unknown";
2572
+ readonly receipt: {
2573
+ readonly sessionId: string;
2574
+ readonly turnId: string;
2575
+ };
2576
+ readonly turnMissing?: boolean | undefined;
2577
+ } | undefined;
2578
+ readonly observationError?: string | undefined;
2579
+ } | undefined;
2580
+ readonly briefSteers?: readonly {
2581
+ readonly error?: string | undefined;
2582
+ readonly requestedAt: number;
2583
+ readonly revision: string;
2584
+ readonly steeredAt?: number | undefined;
2585
+ }[] | undefined;
2306
2586
  readonly checkFailures?: readonly string[] | undefined;
2307
2587
  readonly missingSince?: number | undefined;
2308
2588
  readonly observationRetries?: number | undefined;
@@ -2545,6 +2825,33 @@ export declare const readRetry: (state: {
2545
2825
  readonly admissionReady?: boolean | undefined;
2546
2826
  readonly areas?: readonly string[] | undefined;
2547
2827
  readonly attempts: readonly {
2828
+ readonly abandoned?: {
2829
+ readonly at: number;
2830
+ readonly interruptError?: string | undefined;
2831
+ readonly observation?: {
2832
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
2833
+ readonly error?: string | undefined;
2834
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
2835
+ readonly output: string;
2836
+ readonly progress?: readonly {
2837
+ readonly id: string;
2838
+ readonly status?: string | undefined;
2839
+ }[] | undefined;
2840
+ readonly provisioning: "ready" | "unknown";
2841
+ readonly receipt: {
2842
+ readonly sessionId: string;
2843
+ readonly turnId: string;
2844
+ };
2845
+ readonly turnMissing?: boolean | undefined;
2846
+ } | undefined;
2847
+ readonly observationError?: string | undefined;
2848
+ } | undefined;
2849
+ readonly briefSteers?: readonly {
2850
+ readonly error?: string | undefined;
2851
+ readonly requestedAt: number;
2852
+ readonly revision: string;
2853
+ readonly steeredAt?: number | undefined;
2854
+ }[] | undefined;
2548
2855
  readonly checkFailures?: readonly string[] | undefined;
2549
2856
  readonly missingSince?: number | undefined;
2550
2857
  readonly observationRetries?: number | undefined;
@@ -2783,6 +3090,33 @@ export declare const readRetry: (state: {
2783
3090
  readonly admissionReady?: boolean | undefined;
2784
3091
  readonly areas?: readonly string[] | undefined;
2785
3092
  readonly attempts: readonly {
3093
+ readonly abandoned?: {
3094
+ readonly at: number;
3095
+ readonly interruptError?: string | undefined;
3096
+ readonly observation?: {
3097
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3098
+ readonly error?: string | undefined;
3099
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3100
+ readonly output: string;
3101
+ readonly progress?: readonly {
3102
+ readonly id: string;
3103
+ readonly status?: string | undefined;
3104
+ }[] | undefined;
3105
+ readonly provisioning: "ready" | "unknown";
3106
+ readonly receipt: {
3107
+ readonly sessionId: string;
3108
+ readonly turnId: string;
3109
+ };
3110
+ readonly turnMissing?: boolean | undefined;
3111
+ } | undefined;
3112
+ readonly observationError?: string | undefined;
3113
+ } | undefined;
3114
+ readonly briefSteers?: readonly {
3115
+ readonly error?: string | undefined;
3116
+ readonly requestedAt: number;
3117
+ readonly revision: string;
3118
+ readonly steeredAt?: number | undefined;
3119
+ }[] | undefined;
2786
3120
  readonly checkFailures?: readonly string[] | undefined;
2787
3121
  readonly missingSince?: number | undefined;
2788
3122
  readonly observationRetries?: number | undefined;
@@ -3023,17 +3357,39 @@ export declare const readRetry: (state: {
3023
3357
  };
3024
3358
  version: number;
3025
3359
  }, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
3026
- foreignReservations: () => Effect.Effect<Pick<{
3027
- readonly backlog: boolean;
3028
- readonly executing: boolean;
3029
- readonly owner: string;
3030
- }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
3031
3360
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
3032
3361
  initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
3033
3362
  insert: (record: {
3034
3363
  readonly admissionReady?: boolean | undefined;
3035
3364
  readonly areas?: readonly string[] | undefined;
3036
3365
  readonly attempts: readonly {
3366
+ readonly abandoned?: {
3367
+ readonly at: number;
3368
+ readonly interruptError?: string | undefined;
3369
+ readonly observation?: {
3370
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3371
+ readonly error?: string | undefined;
3372
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3373
+ readonly output: string;
3374
+ readonly progress?: readonly {
3375
+ readonly id: string;
3376
+ readonly status?: string | undefined;
3377
+ }[] | undefined;
3378
+ readonly provisioning: "ready" | "unknown";
3379
+ readonly receipt: {
3380
+ readonly sessionId: string;
3381
+ readonly turnId: string;
3382
+ };
3383
+ readonly turnMissing?: boolean | undefined;
3384
+ } | undefined;
3385
+ readonly observationError?: string | undefined;
3386
+ } | undefined;
3387
+ readonly briefSteers?: readonly {
3388
+ readonly error?: string | undefined;
3389
+ readonly requestedAt: number;
3390
+ readonly revision: string;
3391
+ readonly steeredAt?: number | undefined;
3392
+ }[] | undefined;
3037
3393
  readonly checkFailures?: readonly string[] | undefined;
3038
3394
  readonly missingSince?: number | undefined;
3039
3395
  readonly observationRetries?: number | undefined;
@@ -3272,6 +3628,33 @@ export declare const readRetry: (state: {
3272
3628
  readonly admissionReady?: boolean | undefined;
3273
3629
  readonly areas?: readonly string[] | undefined;
3274
3630
  readonly attempts: readonly {
3631
+ readonly abandoned?: {
3632
+ readonly at: number;
3633
+ readonly interruptError?: string | undefined;
3634
+ readonly observation?: {
3635
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3636
+ readonly error?: string | undefined;
3637
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3638
+ readonly output: string;
3639
+ readonly progress?: readonly {
3640
+ readonly id: string;
3641
+ readonly status?: string | undefined;
3642
+ }[] | undefined;
3643
+ readonly provisioning: "ready" | "unknown";
3644
+ readonly receipt: {
3645
+ readonly sessionId: string;
3646
+ readonly turnId: string;
3647
+ };
3648
+ readonly turnMissing?: boolean | undefined;
3649
+ } | undefined;
3650
+ readonly observationError?: string | undefined;
3651
+ } | undefined;
3652
+ readonly briefSteers?: readonly {
3653
+ readonly error?: string | undefined;
3654
+ readonly requestedAt: number;
3655
+ readonly revision: string;
3656
+ readonly steeredAt?: number | undefined;
3657
+ }[] | undefined;
3275
3658
  readonly checkFailures?: readonly string[] | undefined;
3276
3659
  readonly missingSince?: number | undefined;
3277
3660
  readonly observationRetries?: number | undefined;
@@ -3514,6 +3897,33 @@ export declare const readRetry: (state: {
3514
3897
  readonly admissionReady?: boolean | undefined;
3515
3898
  readonly areas?: readonly string[] | undefined;
3516
3899
  readonly attempts: readonly {
3900
+ readonly abandoned?: {
3901
+ readonly at: number;
3902
+ readonly interruptError?: string | undefined;
3903
+ readonly observation?: {
3904
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3905
+ readonly error?: string | undefined;
3906
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3907
+ readonly output: string;
3908
+ readonly progress?: readonly {
3909
+ readonly id: string;
3910
+ readonly status?: string | undefined;
3911
+ }[] | undefined;
3912
+ readonly provisioning: "ready" | "unknown";
3913
+ readonly receipt: {
3914
+ readonly sessionId: string;
3915
+ readonly turnId: string;
3916
+ };
3917
+ readonly turnMissing?: boolean | undefined;
3918
+ } | undefined;
3919
+ readonly observationError?: string | undefined;
3920
+ } | undefined;
3921
+ readonly briefSteers?: readonly {
3922
+ readonly error?: string | undefined;
3923
+ readonly requestedAt: number;
3924
+ readonly revision: string;
3925
+ readonly steeredAt?: number | undefined;
3926
+ }[] | undefined;
3517
3927
  readonly checkFailures?: readonly string[] | undefined;
3518
3928
  readonly missingSince?: number | undefined;
3519
3929
  readonly observationRetries?: number | undefined;
@@ -3752,6 +4162,33 @@ export declare const readRetry: (state: {
3752
4162
  readonly admissionReady?: boolean | undefined;
3753
4163
  readonly areas?: readonly string[] | undefined;
3754
4164
  readonly attempts: readonly {
4165
+ readonly abandoned?: {
4166
+ readonly at: number;
4167
+ readonly interruptError?: string | undefined;
4168
+ readonly observation?: {
4169
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4170
+ readonly error?: string | undefined;
4171
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4172
+ readonly output: string;
4173
+ readonly progress?: readonly {
4174
+ readonly id: string;
4175
+ readonly status?: string | undefined;
4176
+ }[] | undefined;
4177
+ readonly provisioning: "ready" | "unknown";
4178
+ readonly receipt: {
4179
+ readonly sessionId: string;
4180
+ readonly turnId: string;
4181
+ };
4182
+ readonly turnMissing?: boolean | undefined;
4183
+ } | undefined;
4184
+ readonly observationError?: string | undefined;
4185
+ } | undefined;
4186
+ readonly briefSteers?: readonly {
4187
+ readonly error?: string | undefined;
4188
+ readonly requestedAt: number;
4189
+ readonly revision: string;
4190
+ readonly steeredAt?: number | undefined;
4191
+ }[] | undefined;
3755
4192
  readonly checkFailures?: readonly string[] | undefined;
3756
4193
  readonly missingSince?: number | undefined;
3757
4194
  readonly observationRetries?: number | undefined;
@@ -3997,6 +4434,33 @@ export declare const readRetry: (state: {
3997
4434
  readonly admissionReady?: boolean | undefined;
3998
4435
  readonly areas?: readonly string[] | undefined;
3999
4436
  readonly attempts: readonly {
4437
+ readonly abandoned?: {
4438
+ readonly at: number;
4439
+ readonly interruptError?: string | undefined;
4440
+ readonly observation?: {
4441
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4442
+ readonly error?: string | undefined;
4443
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4444
+ readonly output: string;
4445
+ readonly progress?: readonly {
4446
+ readonly id: string;
4447
+ readonly status?: string | undefined;
4448
+ }[] | undefined;
4449
+ readonly provisioning: "ready" | "unknown";
4450
+ readonly receipt: {
4451
+ readonly sessionId: string;
4452
+ readonly turnId: string;
4453
+ };
4454
+ readonly turnMissing?: boolean | undefined;
4455
+ } | undefined;
4456
+ readonly observationError?: string | undefined;
4457
+ } | undefined;
4458
+ readonly briefSteers?: readonly {
4459
+ readonly error?: string | undefined;
4460
+ readonly requestedAt: number;
4461
+ readonly revision: string;
4462
+ readonly steeredAt?: number | undefined;
4463
+ }[] | undefined;
4000
4464
  readonly checkFailures?: readonly string[] | undefined;
4001
4465
  readonly missingSince?: number | undefined;
4002
4466
  readonly observationRetries?: number | undefined;
@@ -4235,6 +4699,33 @@ export declare const readRetry: (state: {
4235
4699
  readonly admissionReady?: boolean | undefined;
4236
4700
  readonly areas?: readonly string[] | undefined;
4237
4701
  readonly attempts: readonly {
4702
+ readonly abandoned?: {
4703
+ readonly at: number;
4704
+ readonly interruptError?: string | undefined;
4705
+ readonly observation?: {
4706
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4707
+ readonly error?: string | undefined;
4708
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4709
+ readonly output: string;
4710
+ readonly progress?: readonly {
4711
+ readonly id: string;
4712
+ readonly status?: string | undefined;
4713
+ }[] | undefined;
4714
+ readonly provisioning: "ready" | "unknown";
4715
+ readonly receipt: {
4716
+ readonly sessionId: string;
4717
+ readonly turnId: string;
4718
+ };
4719
+ readonly turnMissing?: boolean | undefined;
4720
+ } | undefined;
4721
+ readonly observationError?: string | undefined;
4722
+ } | undefined;
4723
+ readonly briefSteers?: readonly {
4724
+ readonly error?: string | undefined;
4725
+ readonly requestedAt: number;
4726
+ readonly revision: string;
4727
+ readonly steeredAt?: number | undefined;
4728
+ }[] | undefined;
4238
4729
  readonly checkFailures?: readonly string[] | undefined;
4239
4730
  readonly missingSince?: number | undefined;
4240
4731
  readonly observationRetries?: number | undefined;
@@ -4480,6 +4971,33 @@ export declare const readRetry: (state: {
4480
4971
  readonly admissionReady?: boolean | undefined;
4481
4972
  readonly areas?: readonly string[] | undefined;
4482
4973
  readonly attempts: readonly {
4974
+ readonly abandoned?: {
4975
+ readonly at: number;
4976
+ readonly interruptError?: string | undefined;
4977
+ readonly observation?: {
4978
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4979
+ readonly error?: string | undefined;
4980
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4981
+ readonly output: string;
4982
+ readonly progress?: readonly {
4983
+ readonly id: string;
4984
+ readonly status?: string | undefined;
4985
+ }[] | undefined;
4986
+ readonly provisioning: "ready" | "unknown";
4987
+ readonly receipt: {
4988
+ readonly sessionId: string;
4989
+ readonly turnId: string;
4990
+ };
4991
+ readonly turnMissing?: boolean | undefined;
4992
+ } | undefined;
4993
+ readonly observationError?: string | undefined;
4994
+ } | undefined;
4995
+ readonly briefSteers?: readonly {
4996
+ readonly error?: string | undefined;
4997
+ readonly requestedAt: number;
4998
+ readonly revision: string;
4999
+ readonly steeredAt?: number | undefined;
5000
+ }[] | undefined;
4483
5001
  readonly checkFailures?: readonly string[] | undefined;
4484
5002
  readonly missingSince?: number | undefined;
4485
5003
  readonly observationRetries?: number | undefined;
@@ -4718,6 +5236,33 @@ export declare const readRetry: (state: {
4718
5236
  readonly admissionReady?: boolean | undefined;
4719
5237
  readonly areas?: readonly string[] | undefined;
4720
5238
  readonly attempts: readonly {
5239
+ readonly abandoned?: {
5240
+ readonly at: number;
5241
+ readonly interruptError?: string | undefined;
5242
+ readonly observation?: {
5243
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
5244
+ readonly error?: string | undefined;
5245
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
5246
+ readonly output: string;
5247
+ readonly progress?: readonly {
5248
+ readonly id: string;
5249
+ readonly status?: string | undefined;
5250
+ }[] | undefined;
5251
+ readonly provisioning: "ready" | "unknown";
5252
+ readonly receipt: {
5253
+ readonly sessionId: string;
5254
+ readonly turnId: string;
5255
+ };
5256
+ readonly turnMissing?: boolean | undefined;
5257
+ } | undefined;
5258
+ readonly observationError?: string | undefined;
5259
+ } | undefined;
5260
+ readonly briefSteers?: readonly {
5261
+ readonly error?: string | undefined;
5262
+ readonly requestedAt: number;
5263
+ readonly revision: string;
5264
+ readonly steeredAt?: number | undefined;
5265
+ }[] | undefined;
4721
5266
  readonly checkFailures?: readonly string[] | undefined;
4722
5267
  readonly missingSince?: number | undefined;
4723
5268
  readonly observationRetries?: number | undefined;
@@ -4958,20 +5503,52 @@ export declare const readRetry: (state: {
4958
5503
  };
4959
5504
  version: number;
4960
5505
  } | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4961
- operationEntries: (operationId: string) => Effect.Effect<{
4962
- version: number;
4963
- workId: string;
4964
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5506
+ operationEntries: (operationId: string) => Effect.Effect<readonly {
5507
+ readonly workId: string;
5508
+ readonly version: number;
5509
+ }[], import("effect/sql/SqlError").SqlError, never>;
5510
+ }, "initialize" | "operationEntries"> & Partial<Pick<{
5511
+ foreignReservations: () => Effect.Effect<Pick<{
5512
+ readonly backlog: boolean;
5513
+ readonly executing: boolean;
5514
+ readonly owner: string;
5515
+ }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4965
5516
  releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4966
5517
  reserveForeign: (owner: string, occupancy?: {
4967
5518
  readonly executing: boolean;
4968
5519
  readonly backlog: boolean;
4969
5520
  }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4970
- }, "initialize" | "operationEntries"> & Partial<Pick<{
4971
5521
  compareAndSet: (workId: string, expectedVersion: number, record: {
4972
5522
  readonly admissionReady?: boolean | undefined;
4973
5523
  readonly areas?: readonly string[] | undefined;
4974
5524
  readonly attempts: readonly {
5525
+ readonly abandoned?: {
5526
+ readonly at: number;
5527
+ readonly interruptError?: string | undefined;
5528
+ readonly observation?: {
5529
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
5530
+ readonly error?: string | undefined;
5531
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
5532
+ readonly output: string;
5533
+ readonly progress?: readonly {
5534
+ readonly id: string;
5535
+ readonly status?: string | undefined;
5536
+ }[] | undefined;
5537
+ readonly provisioning: "ready" | "unknown";
5538
+ readonly receipt: {
5539
+ readonly sessionId: string;
5540
+ readonly turnId: string;
5541
+ };
5542
+ readonly turnMissing?: boolean | undefined;
5543
+ } | undefined;
5544
+ readonly observationError?: string | undefined;
5545
+ } | undefined;
5546
+ readonly briefSteers?: readonly {
5547
+ readonly error?: string | undefined;
5548
+ readonly requestedAt: number;
5549
+ readonly revision: string;
5550
+ readonly steeredAt?: number | undefined;
5551
+ }[] | undefined;
4975
5552
  readonly checkFailures?: readonly string[] | undefined;
4976
5553
  readonly missingSince?: number | undefined;
4977
5554
  readonly observationRetries?: number | undefined;
@@ -5210,6 +5787,33 @@ export declare const readRetry: (state: {
5210
5787
  readonly admissionReady?: boolean | undefined;
5211
5788
  readonly areas?: readonly string[] | undefined;
5212
5789
  readonly attempts: readonly {
5790
+ readonly abandoned?: {
5791
+ readonly at: number;
5792
+ readonly interruptError?: string | undefined;
5793
+ readonly observation?: {
5794
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
5795
+ readonly error?: string | undefined;
5796
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
5797
+ readonly output: string;
5798
+ readonly progress?: readonly {
5799
+ readonly id: string;
5800
+ readonly status?: string | undefined;
5801
+ }[] | undefined;
5802
+ readonly provisioning: "ready" | "unknown";
5803
+ readonly receipt: {
5804
+ readonly sessionId: string;
5805
+ readonly turnId: string;
5806
+ };
5807
+ readonly turnMissing?: boolean | undefined;
5808
+ } | undefined;
5809
+ readonly observationError?: string | undefined;
5810
+ } | undefined;
5811
+ readonly briefSteers?: readonly {
5812
+ readonly error?: string | undefined;
5813
+ readonly requestedAt: number;
5814
+ readonly revision: string;
5815
+ readonly steeredAt?: number | undefined;
5816
+ }[] | undefined;
5213
5817
  readonly checkFailures?: readonly string[] | undefined;
5214
5818
  readonly missingSince?: number | undefined;
5215
5819
  readonly observationRetries?: number | undefined;
@@ -5452,6 +6056,33 @@ export declare const readRetry: (state: {
5452
6056
  readonly admissionReady?: boolean | undefined;
5453
6057
  readonly areas?: readonly string[] | undefined;
5454
6058
  readonly attempts: readonly {
6059
+ readonly abandoned?: {
6060
+ readonly at: number;
6061
+ readonly interruptError?: string | undefined;
6062
+ readonly observation?: {
6063
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6064
+ readonly error?: string | undefined;
6065
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6066
+ readonly output: string;
6067
+ readonly progress?: readonly {
6068
+ readonly id: string;
6069
+ readonly status?: string | undefined;
6070
+ }[] | undefined;
6071
+ readonly provisioning: "ready" | "unknown";
6072
+ readonly receipt: {
6073
+ readonly sessionId: string;
6074
+ readonly turnId: string;
6075
+ };
6076
+ readonly turnMissing?: boolean | undefined;
6077
+ } | undefined;
6078
+ readonly observationError?: string | undefined;
6079
+ } | undefined;
6080
+ readonly briefSteers?: readonly {
6081
+ readonly error?: string | undefined;
6082
+ readonly requestedAt: number;
6083
+ readonly revision: string;
6084
+ readonly steeredAt?: number | undefined;
6085
+ }[] | undefined;
5455
6086
  readonly checkFailures?: readonly string[] | undefined;
5456
6087
  readonly missingSince?: number | undefined;
5457
6088
  readonly observationRetries?: number | undefined;
@@ -5690,6 +6321,33 @@ export declare const readRetry: (state: {
5690
6321
  readonly admissionReady?: boolean | undefined;
5691
6322
  readonly areas?: readonly string[] | undefined;
5692
6323
  readonly attempts: readonly {
6324
+ readonly abandoned?: {
6325
+ readonly at: number;
6326
+ readonly interruptError?: string | undefined;
6327
+ readonly observation?: {
6328
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6329
+ readonly error?: string | undefined;
6330
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6331
+ readonly output: string;
6332
+ readonly progress?: readonly {
6333
+ readonly id: string;
6334
+ readonly status?: string | undefined;
6335
+ }[] | undefined;
6336
+ readonly provisioning: "ready" | "unknown";
6337
+ readonly receipt: {
6338
+ readonly sessionId: string;
6339
+ readonly turnId: string;
6340
+ };
6341
+ readonly turnMissing?: boolean | undefined;
6342
+ } | undefined;
6343
+ readonly observationError?: string | undefined;
6344
+ } | undefined;
6345
+ readonly briefSteers?: readonly {
6346
+ readonly error?: string | undefined;
6347
+ readonly requestedAt: number;
6348
+ readonly revision: string;
6349
+ readonly steeredAt?: number | undefined;
6350
+ }[] | undefined;
5693
6351
  readonly checkFailures?: readonly string[] | undefined;
5694
6352
  readonly missingSince?: number | undefined;
5695
6353
  readonly observationRetries?: number | undefined;
@@ -5930,17 +6588,39 @@ export declare const readRetry: (state: {
5930
6588
  };
5931
6589
  version: number;
5932
6590
  }, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
5933
- foreignReservations: () => Effect.Effect<Pick<{
5934
- readonly backlog: boolean;
5935
- readonly executing: boolean;
5936
- readonly owner: string;
5937
- }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5938
6591
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5939
6592
  initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
5940
6593
  insert: (record: {
5941
6594
  readonly admissionReady?: boolean | undefined;
5942
6595
  readonly areas?: readonly string[] | undefined;
5943
6596
  readonly attempts: readonly {
6597
+ readonly abandoned?: {
6598
+ readonly at: number;
6599
+ readonly interruptError?: string | undefined;
6600
+ readonly observation?: {
6601
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6602
+ readonly error?: string | undefined;
6603
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6604
+ readonly output: string;
6605
+ readonly progress?: readonly {
6606
+ readonly id: string;
6607
+ readonly status?: string | undefined;
6608
+ }[] | undefined;
6609
+ readonly provisioning: "ready" | "unknown";
6610
+ readonly receipt: {
6611
+ readonly sessionId: string;
6612
+ readonly turnId: string;
6613
+ };
6614
+ readonly turnMissing?: boolean | undefined;
6615
+ } | undefined;
6616
+ readonly observationError?: string | undefined;
6617
+ } | undefined;
6618
+ readonly briefSteers?: readonly {
6619
+ readonly error?: string | undefined;
6620
+ readonly requestedAt: number;
6621
+ readonly revision: string;
6622
+ readonly steeredAt?: number | undefined;
6623
+ }[] | undefined;
5944
6624
  readonly checkFailures?: readonly string[] | undefined;
5945
6625
  readonly missingSince?: number | undefined;
5946
6626
  readonly observationRetries?: number | undefined;
@@ -6179,6 +6859,33 @@ export declare const readRetry: (state: {
6179
6859
  readonly admissionReady?: boolean | undefined;
6180
6860
  readonly areas?: readonly string[] | undefined;
6181
6861
  readonly attempts: readonly {
6862
+ readonly abandoned?: {
6863
+ readonly at: number;
6864
+ readonly interruptError?: string | undefined;
6865
+ readonly observation?: {
6866
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6867
+ readonly error?: string | undefined;
6868
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6869
+ readonly output: string;
6870
+ readonly progress?: readonly {
6871
+ readonly id: string;
6872
+ readonly status?: string | undefined;
6873
+ }[] | undefined;
6874
+ readonly provisioning: "ready" | "unknown";
6875
+ readonly receipt: {
6876
+ readonly sessionId: string;
6877
+ readonly turnId: string;
6878
+ };
6879
+ readonly turnMissing?: boolean | undefined;
6880
+ } | undefined;
6881
+ readonly observationError?: string | undefined;
6882
+ } | undefined;
6883
+ readonly briefSteers?: readonly {
6884
+ readonly error?: string | undefined;
6885
+ readonly requestedAt: number;
6886
+ readonly revision: string;
6887
+ readonly steeredAt?: number | undefined;
6888
+ }[] | undefined;
6182
6889
  readonly checkFailures?: readonly string[] | undefined;
6183
6890
  readonly missingSince?: number | undefined;
6184
6891
  readonly observationRetries?: number | undefined;
@@ -6421,6 +7128,33 @@ export declare const readRetry: (state: {
6421
7128
  readonly admissionReady?: boolean | undefined;
6422
7129
  readonly areas?: readonly string[] | undefined;
6423
7130
  readonly attempts: readonly {
7131
+ readonly abandoned?: {
7132
+ readonly at: number;
7133
+ readonly interruptError?: string | undefined;
7134
+ readonly observation?: {
7135
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7136
+ readonly error?: string | undefined;
7137
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7138
+ readonly output: string;
7139
+ readonly progress?: readonly {
7140
+ readonly id: string;
7141
+ readonly status?: string | undefined;
7142
+ }[] | undefined;
7143
+ readonly provisioning: "ready" | "unknown";
7144
+ readonly receipt: {
7145
+ readonly sessionId: string;
7146
+ readonly turnId: string;
7147
+ };
7148
+ readonly turnMissing?: boolean | undefined;
7149
+ } | undefined;
7150
+ readonly observationError?: string | undefined;
7151
+ } | undefined;
7152
+ readonly briefSteers?: readonly {
7153
+ readonly error?: string | undefined;
7154
+ readonly requestedAt: number;
7155
+ readonly revision: string;
7156
+ readonly steeredAt?: number | undefined;
7157
+ }[] | undefined;
6424
7158
  readonly checkFailures?: readonly string[] | undefined;
6425
7159
  readonly missingSince?: number | undefined;
6426
7160
  readonly observationRetries?: number | undefined;
@@ -6659,6 +7393,33 @@ export declare const readRetry: (state: {
6659
7393
  readonly admissionReady?: boolean | undefined;
6660
7394
  readonly areas?: readonly string[] | undefined;
6661
7395
  readonly attempts: readonly {
7396
+ readonly abandoned?: {
7397
+ readonly at: number;
7398
+ readonly interruptError?: string | undefined;
7399
+ readonly observation?: {
7400
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7401
+ readonly error?: string | undefined;
7402
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7403
+ readonly output: string;
7404
+ readonly progress?: readonly {
7405
+ readonly id: string;
7406
+ readonly status?: string | undefined;
7407
+ }[] | undefined;
7408
+ readonly provisioning: "ready" | "unknown";
7409
+ readonly receipt: {
7410
+ readonly sessionId: string;
7411
+ readonly turnId: string;
7412
+ };
7413
+ readonly turnMissing?: boolean | undefined;
7414
+ } | undefined;
7415
+ readonly observationError?: string | undefined;
7416
+ } | undefined;
7417
+ readonly briefSteers?: readonly {
7418
+ readonly error?: string | undefined;
7419
+ readonly requestedAt: number;
7420
+ readonly revision: string;
7421
+ readonly steeredAt?: number | undefined;
7422
+ }[] | undefined;
6662
7423
  readonly checkFailures?: readonly string[] | undefined;
6663
7424
  readonly missingSince?: number | undefined;
6664
7425
  readonly observationRetries?: number | undefined;
@@ -6904,6 +7665,33 @@ export declare const readRetry: (state: {
6904
7665
  readonly admissionReady?: boolean | undefined;
6905
7666
  readonly areas?: readonly string[] | undefined;
6906
7667
  readonly attempts: readonly {
7668
+ readonly abandoned?: {
7669
+ readonly at: number;
7670
+ readonly interruptError?: string | undefined;
7671
+ readonly observation?: {
7672
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7673
+ readonly error?: string | undefined;
7674
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7675
+ readonly output: string;
7676
+ readonly progress?: readonly {
7677
+ readonly id: string;
7678
+ readonly status?: string | undefined;
7679
+ }[] | undefined;
7680
+ readonly provisioning: "ready" | "unknown";
7681
+ readonly receipt: {
7682
+ readonly sessionId: string;
7683
+ readonly turnId: string;
7684
+ };
7685
+ readonly turnMissing?: boolean | undefined;
7686
+ } | undefined;
7687
+ readonly observationError?: string | undefined;
7688
+ } | undefined;
7689
+ readonly briefSteers?: readonly {
7690
+ readonly error?: string | undefined;
7691
+ readonly requestedAt: number;
7692
+ readonly revision: string;
7693
+ readonly steeredAt?: number | undefined;
7694
+ }[] | undefined;
6907
7695
  readonly checkFailures?: readonly string[] | undefined;
6908
7696
  readonly missingSince?: number | undefined;
6909
7697
  readonly observationRetries?: number | undefined;
@@ -7142,9 +7930,36 @@ export declare const readRetry: (state: {
7142
7930
  readonly admissionReady?: boolean | undefined;
7143
7931
  readonly areas?: readonly string[] | undefined;
7144
7932
  readonly attempts: readonly {
7145
- readonly checkFailures?: readonly string[] | undefined;
7146
- readonly missingSince?: number | undefined;
7147
- readonly observationRetries?: number | undefined;
7933
+ readonly abandoned?: {
7934
+ readonly at: number;
7935
+ readonly interruptError?: string | undefined;
7936
+ readonly observation?: {
7937
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7938
+ readonly error?: string | undefined;
7939
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7940
+ readonly output: string;
7941
+ readonly progress?: readonly {
7942
+ readonly id: string;
7943
+ readonly status?: string | undefined;
7944
+ }[] | undefined;
7945
+ readonly provisioning: "ready" | "unknown";
7946
+ readonly receipt: {
7947
+ readonly sessionId: string;
7948
+ readonly turnId: string;
7949
+ };
7950
+ readonly turnMissing?: boolean | undefined;
7951
+ } | undefined;
7952
+ readonly observationError?: string | undefined;
7953
+ } | undefined;
7954
+ readonly briefSteers?: readonly {
7955
+ readonly error?: string | undefined;
7956
+ readonly requestedAt: number;
7957
+ readonly revision: string;
7958
+ readonly steeredAt?: number | undefined;
7959
+ }[] | undefined;
7960
+ readonly checkFailures?: readonly string[] | undefined;
7961
+ readonly missingSince?: number | undefined;
7962
+ readonly observationRetries?: number | undefined;
7148
7963
  readonly operationId: string;
7149
7964
  readonly output?: string | undefined;
7150
7965
  readonly progress?: {
@@ -7387,6 +8202,33 @@ export declare const readRetry: (state: {
7387
8202
  readonly admissionReady?: boolean | undefined;
7388
8203
  readonly areas?: readonly string[] | undefined;
7389
8204
  readonly attempts: readonly {
8205
+ readonly abandoned?: {
8206
+ readonly at: number;
8207
+ readonly interruptError?: string | undefined;
8208
+ readonly observation?: {
8209
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
8210
+ readonly error?: string | undefined;
8211
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8212
+ readonly output: string;
8213
+ readonly progress?: readonly {
8214
+ readonly id: string;
8215
+ readonly status?: string | undefined;
8216
+ }[] | undefined;
8217
+ readonly provisioning: "ready" | "unknown";
8218
+ readonly receipt: {
8219
+ readonly sessionId: string;
8220
+ readonly turnId: string;
8221
+ };
8222
+ readonly turnMissing?: boolean | undefined;
8223
+ } | undefined;
8224
+ readonly observationError?: string | undefined;
8225
+ } | undefined;
8226
+ readonly briefSteers?: readonly {
8227
+ readonly error?: string | undefined;
8228
+ readonly requestedAt: number;
8229
+ readonly revision: string;
8230
+ readonly steeredAt?: number | undefined;
8231
+ }[] | undefined;
7390
8232
  readonly checkFailures?: readonly string[] | undefined;
7391
8233
  readonly missingSince?: number | undefined;
7392
8234
  readonly observationRetries?: number | undefined;
@@ -7625,6 +8467,33 @@ export declare const readRetry: (state: {
7625
8467
  readonly admissionReady?: boolean | undefined;
7626
8468
  readonly areas?: readonly string[] | undefined;
7627
8469
  readonly attempts: readonly {
8470
+ readonly abandoned?: {
8471
+ readonly at: number;
8472
+ readonly interruptError?: string | undefined;
8473
+ readonly observation?: {
8474
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
8475
+ readonly error?: string | undefined;
8476
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8477
+ readonly output: string;
8478
+ readonly progress?: readonly {
8479
+ readonly id: string;
8480
+ readonly status?: string | undefined;
8481
+ }[] | undefined;
8482
+ readonly provisioning: "ready" | "unknown";
8483
+ readonly receipt: {
8484
+ readonly sessionId: string;
8485
+ readonly turnId: string;
8486
+ };
8487
+ readonly turnMissing?: boolean | undefined;
8488
+ } | undefined;
8489
+ readonly observationError?: string | undefined;
8490
+ } | undefined;
8491
+ readonly briefSteers?: readonly {
8492
+ readonly error?: string | undefined;
8493
+ readonly requestedAt: number;
8494
+ readonly revision: string;
8495
+ readonly steeredAt?: number | undefined;
8496
+ }[] | undefined;
7628
8497
  readonly checkFailures?: readonly string[] | undefined;
7629
8498
  readonly missingSince?: number | undefined;
7630
8499
  readonly observationRetries?: number | undefined;
@@ -7865,20 +8734,42 @@ export declare const readRetry: (state: {
7865
8734
  };
7866
8735
  version: number;
7867
8736
  } | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
7868
- operationEntries: (operationId: string) => Effect.Effect<{
7869
- version: number;
7870
- workId: string;
7871
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
7872
- releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
7873
- reserveForeign: (owner: string, occupancy?: {
7874
- readonly executing: boolean;
7875
- readonly backlog: boolean;
7876
- }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
8737
+ operationEntries: (operationId: string) => Effect.Effect<readonly {
8738
+ readonly workId: string;
8739
+ readonly version: number;
8740
+ }[], import("effect/sql/SqlError").SqlError, never>;
7877
8741
  }, "operationEntries">>;
7878
8742
  }, current: Versioned<{
7879
8743
  readonly admissionReady?: boolean | undefined;
7880
8744
  readonly areas?: readonly string[] | undefined;
7881
8745
  readonly attempts: readonly {
8746
+ readonly abandoned?: {
8747
+ readonly at: number;
8748
+ readonly interruptError?: string | undefined;
8749
+ readonly observation?: {
8750
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
8751
+ readonly error?: string | undefined;
8752
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8753
+ readonly output: string;
8754
+ readonly progress?: readonly {
8755
+ readonly id: string;
8756
+ readonly status?: string | undefined;
8757
+ }[] | undefined;
8758
+ readonly provisioning: "ready" | "unknown";
8759
+ readonly receipt: {
8760
+ readonly sessionId: string;
8761
+ readonly turnId: string;
8762
+ };
8763
+ readonly turnMissing?: boolean | undefined;
8764
+ } | undefined;
8765
+ readonly observationError?: string | undefined;
8766
+ } | undefined;
8767
+ readonly briefSteers?: readonly {
8768
+ readonly error?: string | undefined;
8769
+ readonly requestedAt: number;
8770
+ readonly revision: string;
8771
+ readonly steeredAt?: number | undefined;
8772
+ }[] | undefined;
7882
8773
  readonly checkFailures?: readonly string[] | undefined;
7883
8774
  readonly missingSince?: number | undefined;
7884
8775
  readonly observationRetries?: number | undefined;
@@ -8117,6 +9008,33 @@ export declare const readRetry: (state: {
8117
9008
  readonly admissionReady?: boolean | undefined;
8118
9009
  readonly areas?: readonly string[] | undefined;
8119
9010
  readonly attempts: readonly {
9011
+ readonly abandoned?: {
9012
+ readonly at: number;
9013
+ readonly interruptError?: string | undefined;
9014
+ readonly observation?: {
9015
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9016
+ readonly error?: string | undefined;
9017
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9018
+ readonly output: string;
9019
+ readonly progress?: readonly {
9020
+ readonly id: string;
9021
+ readonly status?: string | undefined;
9022
+ }[] | undefined;
9023
+ readonly provisioning: "ready" | "unknown";
9024
+ readonly receipt: {
9025
+ readonly sessionId: string;
9026
+ readonly turnId: string;
9027
+ };
9028
+ readonly turnMissing?: boolean | undefined;
9029
+ } | undefined;
9030
+ readonly observationError?: string | undefined;
9031
+ } | undefined;
9032
+ readonly briefSteers?: readonly {
9033
+ readonly error?: string | undefined;
9034
+ readonly requestedAt: number;
9035
+ readonly revision: string;
9036
+ readonly steeredAt?: number | undefined;
9037
+ }[] | undefined;
8120
9038
  readonly checkFailures?: readonly string[] | undefined;
8121
9039
  readonly missingSince?: number | undefined;
8122
9040
  readonly observationRetries?: number | undefined;
@@ -8358,6 +9276,33 @@ export declare const readRetry: (state: {
8358
9276
  readonly admissionReady?: boolean | undefined;
8359
9277
  readonly areas?: readonly string[] | undefined;
8360
9278
  readonly attempts: readonly {
9279
+ readonly abandoned?: {
9280
+ readonly at: number;
9281
+ readonly interruptError?: string | undefined;
9282
+ readonly observation?: {
9283
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9284
+ readonly error?: string | undefined;
9285
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9286
+ readonly output: string;
9287
+ readonly progress?: readonly {
9288
+ readonly id: string;
9289
+ readonly status?: string | undefined;
9290
+ }[] | undefined;
9291
+ readonly provisioning: "ready" | "unknown";
9292
+ readonly receipt: {
9293
+ readonly sessionId: string;
9294
+ readonly turnId: string;
9295
+ };
9296
+ readonly turnMissing?: boolean | undefined;
9297
+ } | undefined;
9298
+ readonly observationError?: string | undefined;
9299
+ } | undefined;
9300
+ readonly briefSteers?: readonly {
9301
+ readonly error?: string | undefined;
9302
+ readonly requestedAt: number;
9303
+ readonly revision: string;
9304
+ readonly steeredAt?: number | undefined;
9305
+ }[] | undefined;
8361
9306
  readonly checkFailures?: readonly string[] | undefined;
8362
9307
  readonly missingSince?: number | undefined;
8363
9308
  readonly observationRetries?: number | undefined;
@@ -8596,6 +9541,33 @@ export declare const readRetry: (state: {
8596
9541
  readonly admissionReady?: boolean | undefined;
8597
9542
  readonly areas?: readonly string[] | undefined;
8598
9543
  readonly attempts: readonly {
9544
+ readonly abandoned?: {
9545
+ readonly at: number;
9546
+ readonly interruptError?: string | undefined;
9547
+ readonly observation?: {
9548
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9549
+ readonly error?: string | undefined;
9550
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9551
+ readonly output: string;
9552
+ readonly progress?: readonly {
9553
+ readonly id: string;
9554
+ readonly status?: string | undefined;
9555
+ }[] | undefined;
9556
+ readonly provisioning: "ready" | "unknown";
9557
+ readonly receipt: {
9558
+ readonly sessionId: string;
9559
+ readonly turnId: string;
9560
+ };
9561
+ readonly turnMissing?: boolean | undefined;
9562
+ } | undefined;
9563
+ readonly observationError?: string | undefined;
9564
+ } | undefined;
9565
+ readonly briefSteers?: readonly {
9566
+ readonly error?: string | undefined;
9567
+ readonly requestedAt: number;
9568
+ readonly revision: string;
9569
+ readonly steeredAt?: number | undefined;
9570
+ }[] | undefined;
8599
9571
  readonly checkFailures?: readonly string[] | undefined;
8600
9572
  readonly missingSince?: number | undefined;
8601
9573
  readonly observationRetries?: number | undefined;
@@ -8850,6 +9822,33 @@ export declare const clearIntegrationRetry: (state: {
8850
9822
  readonly admissionReady?: boolean | undefined;
8851
9823
  readonly areas?: readonly string[] | undefined;
8852
9824
  readonly attempts: readonly {
9825
+ readonly abandoned?: {
9826
+ readonly at: number;
9827
+ readonly interruptError?: string | undefined;
9828
+ readonly observation?: {
9829
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9830
+ readonly error?: string | undefined;
9831
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9832
+ readonly output: string;
9833
+ readonly progress?: readonly {
9834
+ readonly id: string;
9835
+ readonly status?: string | undefined;
9836
+ }[] | undefined;
9837
+ readonly provisioning: "ready" | "unknown";
9838
+ readonly receipt: {
9839
+ readonly sessionId: string;
9840
+ readonly turnId: string;
9841
+ };
9842
+ readonly turnMissing?: boolean | undefined;
9843
+ } | undefined;
9844
+ readonly observationError?: string | undefined;
9845
+ } | undefined;
9846
+ readonly briefSteers?: readonly {
9847
+ readonly error?: string | undefined;
9848
+ readonly requestedAt: number;
9849
+ readonly revision: string;
9850
+ readonly steeredAt?: number | undefined;
9851
+ }[] | undefined;
8853
9852
  readonly checkFailures?: readonly string[] | undefined;
8854
9853
  readonly missingSince?: number | undefined;
8855
9854
  readonly observationRetries?: number | undefined;
@@ -9088,6 +10087,33 @@ export declare const clearIntegrationRetry: (state: {
9088
10087
  readonly admissionReady?: boolean | undefined;
9089
10088
  readonly areas?: readonly string[] | undefined;
9090
10089
  readonly attempts: readonly {
10090
+ readonly abandoned?: {
10091
+ readonly at: number;
10092
+ readonly interruptError?: string | undefined;
10093
+ readonly observation?: {
10094
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
10095
+ readonly error?: string | undefined;
10096
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
10097
+ readonly output: string;
10098
+ readonly progress?: readonly {
10099
+ readonly id: string;
10100
+ readonly status?: string | undefined;
10101
+ }[] | undefined;
10102
+ readonly provisioning: "ready" | "unknown";
10103
+ readonly receipt: {
10104
+ readonly sessionId: string;
10105
+ readonly turnId: string;
10106
+ };
10107
+ readonly turnMissing?: boolean | undefined;
10108
+ } | undefined;
10109
+ readonly observationError?: string | undefined;
10110
+ } | undefined;
10111
+ readonly briefSteers?: readonly {
10112
+ readonly error?: string | undefined;
10113
+ readonly requestedAt: number;
10114
+ readonly revision: string;
10115
+ readonly steeredAt?: number | undefined;
10116
+ }[] | undefined;
9091
10117
  readonly checkFailures?: readonly string[] | undefined;
9092
10118
  readonly missingSince?: number | undefined;
9093
10119
  readonly observationRetries?: number | undefined;
@@ -9343,6 +10369,33 @@ export declare const clearIntegrationRetry: (state: {
9343
10369
  readonly admissionReady?: boolean | undefined;
9344
10370
  readonly areas?: readonly string[] | undefined;
9345
10371
  readonly attempts: readonly {
10372
+ readonly abandoned?: {
10373
+ readonly at: number;
10374
+ readonly interruptError?: string | undefined;
10375
+ readonly observation?: {
10376
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
10377
+ readonly error?: string | undefined;
10378
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
10379
+ readonly output: string;
10380
+ readonly progress?: readonly {
10381
+ readonly id: string;
10382
+ readonly status?: string | undefined;
10383
+ }[] | undefined;
10384
+ readonly provisioning: "ready" | "unknown";
10385
+ readonly receipt: {
10386
+ readonly sessionId: string;
10387
+ readonly turnId: string;
10388
+ };
10389
+ readonly turnMissing?: boolean | undefined;
10390
+ } | undefined;
10391
+ readonly observationError?: string | undefined;
10392
+ } | undefined;
10393
+ readonly briefSteers?: readonly {
10394
+ readonly error?: string | undefined;
10395
+ readonly requestedAt: number;
10396
+ readonly revision: string;
10397
+ readonly steeredAt?: number | undefined;
10398
+ }[] | undefined;
9346
10399
  readonly checkFailures?: readonly string[] | undefined;
9347
10400
  readonly missingSince?: number | undefined;
9348
10401
  readonly observationRetries?: number | undefined;
@@ -9581,6 +10634,33 @@ export declare const clearIntegrationRetry: (state: {
9581
10634
  readonly admissionReady?: boolean | undefined;
9582
10635
  readonly areas?: readonly string[] | undefined;
9583
10636
  readonly attempts: readonly {
10637
+ readonly abandoned?: {
10638
+ readonly at: number;
10639
+ readonly interruptError?: string | undefined;
10640
+ readonly observation?: {
10641
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
10642
+ readonly error?: string | undefined;
10643
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
10644
+ readonly output: string;
10645
+ readonly progress?: readonly {
10646
+ readonly id: string;
10647
+ readonly status?: string | undefined;
10648
+ }[] | undefined;
10649
+ readonly provisioning: "ready" | "unknown";
10650
+ readonly receipt: {
10651
+ readonly sessionId: string;
10652
+ readonly turnId: string;
10653
+ };
10654
+ readonly turnMissing?: boolean | undefined;
10655
+ } | undefined;
10656
+ readonly observationError?: string | undefined;
10657
+ } | undefined;
10658
+ readonly briefSteers?: readonly {
10659
+ readonly error?: string | undefined;
10660
+ readonly requestedAt: number;
10661
+ readonly revision: string;
10662
+ readonly steeredAt?: number | undefined;
10663
+ }[] | undefined;
9584
10664
  readonly checkFailures?: readonly string[] | undefined;
9585
10665
  readonly missingSince?: number | undefined;
9586
10666
  readonly observationRetries?: number | undefined;
@@ -9840,6 +10920,33 @@ export declare const clearIntegrationRetry: (state: {
9840
10920
  readonly admissionReady?: boolean | undefined;
9841
10921
  readonly areas?: readonly string[] | undefined;
9842
10922
  readonly attempts: readonly {
10923
+ readonly abandoned?: {
10924
+ readonly at: number;
10925
+ readonly interruptError?: string | undefined;
10926
+ readonly observation?: {
10927
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
10928
+ readonly error?: string | undefined;
10929
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
10930
+ readonly output: string;
10931
+ readonly progress?: readonly {
10932
+ readonly id: string;
10933
+ readonly status?: string | undefined;
10934
+ }[] | undefined;
10935
+ readonly provisioning: "ready" | "unknown";
10936
+ readonly receipt: {
10937
+ readonly sessionId: string;
10938
+ readonly turnId: string;
10939
+ };
10940
+ readonly turnMissing?: boolean | undefined;
10941
+ } | undefined;
10942
+ readonly observationError?: string | undefined;
10943
+ } | undefined;
10944
+ readonly briefSteers?: readonly {
10945
+ readonly error?: string | undefined;
10946
+ readonly requestedAt: number;
10947
+ readonly revision: string;
10948
+ readonly steeredAt?: number | undefined;
10949
+ }[] | undefined;
9843
10950
  readonly checkFailures?: readonly string[] | undefined;
9844
10951
  readonly missingSince?: number | undefined;
9845
10952
  readonly observationRetries?: number | undefined;
@@ -10078,6 +11185,33 @@ export declare const clearIntegrationRetry: (state: {
10078
11185
  readonly admissionReady?: boolean | undefined;
10079
11186
  readonly areas?: readonly string[] | undefined;
10080
11187
  readonly attempts: readonly {
11188
+ readonly abandoned?: {
11189
+ readonly at: number;
11190
+ readonly interruptError?: string | undefined;
11191
+ readonly observation?: {
11192
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
11193
+ readonly error?: string | undefined;
11194
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
11195
+ readonly output: string;
11196
+ readonly progress?: readonly {
11197
+ readonly id: string;
11198
+ readonly status?: string | undefined;
11199
+ }[] | undefined;
11200
+ readonly provisioning: "ready" | "unknown";
11201
+ readonly receipt: {
11202
+ readonly sessionId: string;
11203
+ readonly turnId: string;
11204
+ };
11205
+ readonly turnMissing?: boolean | undefined;
11206
+ } | undefined;
11207
+ readonly observationError?: string | undefined;
11208
+ } | undefined;
11209
+ readonly briefSteers?: readonly {
11210
+ readonly error?: string | undefined;
11211
+ readonly requestedAt: number;
11212
+ readonly revision: string;
11213
+ readonly steeredAt?: number | undefined;
11214
+ }[] | undefined;
10081
11215
  readonly checkFailures?: readonly string[] | undefined;
10082
11216
  readonly missingSince?: number | undefined;
10083
11217
  readonly observationRetries?: number | undefined;
@@ -10334,6 +11468,33 @@ export declare const clearIntegrationRetry: (state: {
10334
11468
  readonly admissionReady?: boolean | undefined;
10335
11469
  readonly areas?: readonly string[] | undefined;
10336
11470
  readonly attempts: readonly {
11471
+ readonly abandoned?: {
11472
+ readonly at: number;
11473
+ readonly interruptError?: string | undefined;
11474
+ readonly observation?: {
11475
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
11476
+ readonly error?: string | undefined;
11477
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
11478
+ readonly output: string;
11479
+ readonly progress?: readonly {
11480
+ readonly id: string;
11481
+ readonly status?: string | undefined;
11482
+ }[] | undefined;
11483
+ readonly provisioning: "ready" | "unknown";
11484
+ readonly receipt: {
11485
+ readonly sessionId: string;
11486
+ readonly turnId: string;
11487
+ };
11488
+ readonly turnMissing?: boolean | undefined;
11489
+ } | undefined;
11490
+ readonly observationError?: string | undefined;
11491
+ } | undefined;
11492
+ readonly briefSteers?: readonly {
11493
+ readonly error?: string | undefined;
11494
+ readonly requestedAt: number;
11495
+ readonly revision: string;
11496
+ readonly steeredAt?: number | undefined;
11497
+ }[] | undefined;
10337
11498
  readonly checkFailures?: readonly string[] | undefined;
10338
11499
  readonly missingSince?: number | undefined;
10339
11500
  readonly observationRetries?: number | undefined;
@@ -10572,6 +11733,33 @@ export declare const clearIntegrationRetry: (state: {
10572
11733
  readonly admissionReady?: boolean | undefined;
10573
11734
  readonly areas?: readonly string[] | undefined;
10574
11735
  readonly attempts: readonly {
11736
+ readonly abandoned?: {
11737
+ readonly at: number;
11738
+ readonly interruptError?: string | undefined;
11739
+ readonly observation?: {
11740
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
11741
+ readonly error?: string | undefined;
11742
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
11743
+ readonly output: string;
11744
+ readonly progress?: readonly {
11745
+ readonly id: string;
11746
+ readonly status?: string | undefined;
11747
+ }[] | undefined;
11748
+ readonly provisioning: "ready" | "unknown";
11749
+ readonly receipt: {
11750
+ readonly sessionId: string;
11751
+ readonly turnId: string;
11752
+ };
11753
+ readonly turnMissing?: boolean | undefined;
11754
+ } | undefined;
11755
+ readonly observationError?: string | undefined;
11756
+ } | undefined;
11757
+ readonly briefSteers?: readonly {
11758
+ readonly error?: string | undefined;
11759
+ readonly requestedAt: number;
11760
+ readonly revision: string;
11761
+ readonly steeredAt?: number | undefined;
11762
+ }[] | undefined;
10575
11763
  readonly checkFailures?: readonly string[] | undefined;
10576
11764
  readonly missingSince?: number | undefined;
10577
11765
  readonly observationRetries?: number | undefined;
@@ -10892,10 +12080,47 @@ export declare const clearIntegrationRetry: (state: {
10892
12080
  }, prompt: string) => Effect.Effect<void, SessionFailure, never>;
10893
12081
  }>;
10894
12082
  store: Omit<{
12083
+ foreignReservations: () => Effect.Effect<Pick<{
12084
+ readonly backlog: boolean;
12085
+ readonly executing: boolean;
12086
+ readonly owner: string;
12087
+ }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
12088
+ releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
12089
+ reserveForeign: (owner: string, occupancy?: {
12090
+ readonly executing: boolean;
12091
+ readonly backlog: boolean;
12092
+ }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
10895
12093
  compareAndSet: (workId: string, expectedVersion: number, record: {
10896
12094
  readonly admissionReady?: boolean | undefined;
10897
12095
  readonly areas?: readonly string[] | undefined;
10898
12096
  readonly attempts: readonly {
12097
+ readonly abandoned?: {
12098
+ readonly at: number;
12099
+ readonly interruptError?: string | undefined;
12100
+ readonly observation?: {
12101
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
12102
+ readonly error?: string | undefined;
12103
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
12104
+ readonly output: string;
12105
+ readonly progress?: readonly {
12106
+ readonly id: string;
12107
+ readonly status?: string | undefined;
12108
+ }[] | undefined;
12109
+ readonly provisioning: "ready" | "unknown";
12110
+ readonly receipt: {
12111
+ readonly sessionId: string;
12112
+ readonly turnId: string;
12113
+ };
12114
+ readonly turnMissing?: boolean | undefined;
12115
+ } | undefined;
12116
+ readonly observationError?: string | undefined;
12117
+ } | undefined;
12118
+ readonly briefSteers?: readonly {
12119
+ readonly error?: string | undefined;
12120
+ readonly requestedAt: number;
12121
+ readonly revision: string;
12122
+ readonly steeredAt?: number | undefined;
12123
+ }[] | undefined;
10899
12124
  readonly checkFailures?: readonly string[] | undefined;
10900
12125
  readonly missingSince?: number | undefined;
10901
12126
  readonly observationRetries?: number | undefined;
@@ -11134,6 +12359,33 @@ export declare const clearIntegrationRetry: (state: {
11134
12359
  readonly admissionReady?: boolean | undefined;
11135
12360
  readonly areas?: readonly string[] | undefined;
11136
12361
  readonly attempts: readonly {
12362
+ readonly abandoned?: {
12363
+ readonly at: number;
12364
+ readonly interruptError?: string | undefined;
12365
+ readonly observation?: {
12366
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
12367
+ readonly error?: string | undefined;
12368
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
12369
+ readonly output: string;
12370
+ readonly progress?: readonly {
12371
+ readonly id: string;
12372
+ readonly status?: string | undefined;
12373
+ }[] | undefined;
12374
+ readonly provisioning: "ready" | "unknown";
12375
+ readonly receipt: {
12376
+ readonly sessionId: string;
12377
+ readonly turnId: string;
12378
+ };
12379
+ readonly turnMissing?: boolean | undefined;
12380
+ } | undefined;
12381
+ readonly observationError?: string | undefined;
12382
+ } | undefined;
12383
+ readonly briefSteers?: readonly {
12384
+ readonly error?: string | undefined;
12385
+ readonly requestedAt: number;
12386
+ readonly revision: string;
12387
+ readonly steeredAt?: number | undefined;
12388
+ }[] | undefined;
11137
12389
  readonly checkFailures?: readonly string[] | undefined;
11138
12390
  readonly missingSince?: number | undefined;
11139
12391
  readonly observationRetries?: number | undefined;
@@ -11376,6 +12628,33 @@ export declare const clearIntegrationRetry: (state: {
11376
12628
  readonly admissionReady?: boolean | undefined;
11377
12629
  readonly areas?: readonly string[] | undefined;
11378
12630
  readonly attempts: readonly {
12631
+ readonly abandoned?: {
12632
+ readonly at: number;
12633
+ readonly interruptError?: string | undefined;
12634
+ readonly observation?: {
12635
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
12636
+ readonly error?: string | undefined;
12637
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
12638
+ readonly output: string;
12639
+ readonly progress?: readonly {
12640
+ readonly id: string;
12641
+ readonly status?: string | undefined;
12642
+ }[] | undefined;
12643
+ readonly provisioning: "ready" | "unknown";
12644
+ readonly receipt: {
12645
+ readonly sessionId: string;
12646
+ readonly turnId: string;
12647
+ };
12648
+ readonly turnMissing?: boolean | undefined;
12649
+ } | undefined;
12650
+ readonly observationError?: string | undefined;
12651
+ } | undefined;
12652
+ readonly briefSteers?: readonly {
12653
+ readonly error?: string | undefined;
12654
+ readonly requestedAt: number;
12655
+ readonly revision: string;
12656
+ readonly steeredAt?: number | undefined;
12657
+ }[] | undefined;
11379
12658
  readonly checkFailures?: readonly string[] | undefined;
11380
12659
  readonly missingSince?: number | undefined;
11381
12660
  readonly observationRetries?: number | undefined;
@@ -11614,6 +12893,33 @@ export declare const clearIntegrationRetry: (state: {
11614
12893
  readonly admissionReady?: boolean | undefined;
11615
12894
  readonly areas?: readonly string[] | undefined;
11616
12895
  readonly attempts: readonly {
12896
+ readonly abandoned?: {
12897
+ readonly at: number;
12898
+ readonly interruptError?: string | undefined;
12899
+ readonly observation?: {
12900
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
12901
+ readonly error?: string | undefined;
12902
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
12903
+ readonly output: string;
12904
+ readonly progress?: readonly {
12905
+ readonly id: string;
12906
+ readonly status?: string | undefined;
12907
+ }[] | undefined;
12908
+ readonly provisioning: "ready" | "unknown";
12909
+ readonly receipt: {
12910
+ readonly sessionId: string;
12911
+ readonly turnId: string;
12912
+ };
12913
+ readonly turnMissing?: boolean | undefined;
12914
+ } | undefined;
12915
+ readonly observationError?: string | undefined;
12916
+ } | undefined;
12917
+ readonly briefSteers?: readonly {
12918
+ readonly error?: string | undefined;
12919
+ readonly requestedAt: number;
12920
+ readonly revision: string;
12921
+ readonly steeredAt?: number | undefined;
12922
+ }[] | undefined;
11617
12923
  readonly checkFailures?: readonly string[] | undefined;
11618
12924
  readonly missingSince?: number | undefined;
11619
12925
  readonly observationRetries?: number | undefined;
@@ -11854,17 +13160,39 @@ export declare const clearIntegrationRetry: (state: {
11854
13160
  };
11855
13161
  version: number;
11856
13162
  }, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
11857
- foreignReservations: () => Effect.Effect<Pick<{
11858
- readonly backlog: boolean;
11859
- readonly executing: boolean;
11860
- readonly owner: string;
11861
- }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
11862
13163
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
11863
13164
  initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
11864
13165
  insert: (record: {
11865
13166
  readonly admissionReady?: boolean | undefined;
11866
13167
  readonly areas?: readonly string[] | undefined;
11867
13168
  readonly attempts: readonly {
13169
+ readonly abandoned?: {
13170
+ readonly at: number;
13171
+ readonly interruptError?: string | undefined;
13172
+ readonly observation?: {
13173
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
13174
+ readonly error?: string | undefined;
13175
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
13176
+ readonly output: string;
13177
+ readonly progress?: readonly {
13178
+ readonly id: string;
13179
+ readonly status?: string | undefined;
13180
+ }[] | undefined;
13181
+ readonly provisioning: "ready" | "unknown";
13182
+ readonly receipt: {
13183
+ readonly sessionId: string;
13184
+ readonly turnId: string;
13185
+ };
13186
+ readonly turnMissing?: boolean | undefined;
13187
+ } | undefined;
13188
+ readonly observationError?: string | undefined;
13189
+ } | undefined;
13190
+ readonly briefSteers?: readonly {
13191
+ readonly error?: string | undefined;
13192
+ readonly requestedAt: number;
13193
+ readonly revision: string;
13194
+ readonly steeredAt?: number | undefined;
13195
+ }[] | undefined;
11868
13196
  readonly checkFailures?: readonly string[] | undefined;
11869
13197
  readonly missingSince?: number | undefined;
11870
13198
  readonly observationRetries?: number | undefined;
@@ -12103,6 +13431,33 @@ export declare const clearIntegrationRetry: (state: {
12103
13431
  readonly admissionReady?: boolean | undefined;
12104
13432
  readonly areas?: readonly string[] | undefined;
12105
13433
  readonly attempts: readonly {
13434
+ readonly abandoned?: {
13435
+ readonly at: number;
13436
+ readonly interruptError?: string | undefined;
13437
+ readonly observation?: {
13438
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
13439
+ readonly error?: string | undefined;
13440
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
13441
+ readonly output: string;
13442
+ readonly progress?: readonly {
13443
+ readonly id: string;
13444
+ readonly status?: string | undefined;
13445
+ }[] | undefined;
13446
+ readonly provisioning: "ready" | "unknown";
13447
+ readonly receipt: {
13448
+ readonly sessionId: string;
13449
+ readonly turnId: string;
13450
+ };
13451
+ readonly turnMissing?: boolean | undefined;
13452
+ } | undefined;
13453
+ readonly observationError?: string | undefined;
13454
+ } | undefined;
13455
+ readonly briefSteers?: readonly {
13456
+ readonly error?: string | undefined;
13457
+ readonly requestedAt: number;
13458
+ readonly revision: string;
13459
+ readonly steeredAt?: number | undefined;
13460
+ }[] | undefined;
12106
13461
  readonly checkFailures?: readonly string[] | undefined;
12107
13462
  readonly missingSince?: number | undefined;
12108
13463
  readonly observationRetries?: number | undefined;
@@ -12345,6 +13700,33 @@ export declare const clearIntegrationRetry: (state: {
12345
13700
  readonly admissionReady?: boolean | undefined;
12346
13701
  readonly areas?: readonly string[] | undefined;
12347
13702
  readonly attempts: readonly {
13703
+ readonly abandoned?: {
13704
+ readonly at: number;
13705
+ readonly interruptError?: string | undefined;
13706
+ readonly observation?: {
13707
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
13708
+ readonly error?: string | undefined;
13709
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
13710
+ readonly output: string;
13711
+ readonly progress?: readonly {
13712
+ readonly id: string;
13713
+ readonly status?: string | undefined;
13714
+ }[] | undefined;
13715
+ readonly provisioning: "ready" | "unknown";
13716
+ readonly receipt: {
13717
+ readonly sessionId: string;
13718
+ readonly turnId: string;
13719
+ };
13720
+ readonly turnMissing?: boolean | undefined;
13721
+ } | undefined;
13722
+ readonly observationError?: string | undefined;
13723
+ } | undefined;
13724
+ readonly briefSteers?: readonly {
13725
+ readonly error?: string | undefined;
13726
+ readonly requestedAt: number;
13727
+ readonly revision: string;
13728
+ readonly steeredAt?: number | undefined;
13729
+ }[] | undefined;
12348
13730
  readonly checkFailures?: readonly string[] | undefined;
12349
13731
  readonly missingSince?: number | undefined;
12350
13732
  readonly observationRetries?: number | undefined;
@@ -12583,6 +13965,33 @@ export declare const clearIntegrationRetry: (state: {
12583
13965
  readonly admissionReady?: boolean | undefined;
12584
13966
  readonly areas?: readonly string[] | undefined;
12585
13967
  readonly attempts: readonly {
13968
+ readonly abandoned?: {
13969
+ readonly at: number;
13970
+ readonly interruptError?: string | undefined;
13971
+ readonly observation?: {
13972
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
13973
+ readonly error?: string | undefined;
13974
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
13975
+ readonly output: string;
13976
+ readonly progress?: readonly {
13977
+ readonly id: string;
13978
+ readonly status?: string | undefined;
13979
+ }[] | undefined;
13980
+ readonly provisioning: "ready" | "unknown";
13981
+ readonly receipt: {
13982
+ readonly sessionId: string;
13983
+ readonly turnId: string;
13984
+ };
13985
+ readonly turnMissing?: boolean | undefined;
13986
+ } | undefined;
13987
+ readonly observationError?: string | undefined;
13988
+ } | undefined;
13989
+ readonly briefSteers?: readonly {
13990
+ readonly error?: string | undefined;
13991
+ readonly requestedAt: number;
13992
+ readonly revision: string;
13993
+ readonly steeredAt?: number | undefined;
13994
+ }[] | undefined;
12586
13995
  readonly checkFailures?: readonly string[] | undefined;
12587
13996
  readonly missingSince?: number | undefined;
12588
13997
  readonly observationRetries?: number | undefined;
@@ -12828,6 +14237,33 @@ export declare const clearIntegrationRetry: (state: {
12828
14237
  readonly admissionReady?: boolean | undefined;
12829
14238
  readonly areas?: readonly string[] | undefined;
12830
14239
  readonly attempts: readonly {
14240
+ readonly abandoned?: {
14241
+ readonly at: number;
14242
+ readonly interruptError?: string | undefined;
14243
+ readonly observation?: {
14244
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
14245
+ readonly error?: string | undefined;
14246
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
14247
+ readonly output: string;
14248
+ readonly progress?: readonly {
14249
+ readonly id: string;
14250
+ readonly status?: string | undefined;
14251
+ }[] | undefined;
14252
+ readonly provisioning: "ready" | "unknown";
14253
+ readonly receipt: {
14254
+ readonly sessionId: string;
14255
+ readonly turnId: string;
14256
+ };
14257
+ readonly turnMissing?: boolean | undefined;
14258
+ } | undefined;
14259
+ readonly observationError?: string | undefined;
14260
+ } | undefined;
14261
+ readonly briefSteers?: readonly {
14262
+ readonly error?: string | undefined;
14263
+ readonly requestedAt: number;
14264
+ readonly revision: string;
14265
+ readonly steeredAt?: number | undefined;
14266
+ }[] | undefined;
12831
14267
  readonly checkFailures?: readonly string[] | undefined;
12832
14268
  readonly missingSince?: number | undefined;
12833
14269
  readonly observationRetries?: number | undefined;
@@ -13066,6 +14502,33 @@ export declare const clearIntegrationRetry: (state: {
13066
14502
  readonly admissionReady?: boolean | undefined;
13067
14503
  readonly areas?: readonly string[] | undefined;
13068
14504
  readonly attempts: readonly {
14505
+ readonly abandoned?: {
14506
+ readonly at: number;
14507
+ readonly interruptError?: string | undefined;
14508
+ readonly observation?: {
14509
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
14510
+ readonly error?: string | undefined;
14511
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
14512
+ readonly output: string;
14513
+ readonly progress?: readonly {
14514
+ readonly id: string;
14515
+ readonly status?: string | undefined;
14516
+ }[] | undefined;
14517
+ readonly provisioning: "ready" | "unknown";
14518
+ readonly receipt: {
14519
+ readonly sessionId: string;
14520
+ readonly turnId: string;
14521
+ };
14522
+ readonly turnMissing?: boolean | undefined;
14523
+ } | undefined;
14524
+ readonly observationError?: string | undefined;
14525
+ } | undefined;
14526
+ readonly briefSteers?: readonly {
14527
+ readonly error?: string | undefined;
14528
+ readonly requestedAt: number;
14529
+ readonly revision: string;
14530
+ readonly steeredAt?: number | undefined;
14531
+ }[] | undefined;
13069
14532
  readonly checkFailures?: readonly string[] | undefined;
13070
14533
  readonly missingSince?: number | undefined;
13071
14534
  readonly observationRetries?: number | undefined;
@@ -13311,6 +14774,33 @@ export declare const clearIntegrationRetry: (state: {
13311
14774
  readonly admissionReady?: boolean | undefined;
13312
14775
  readonly areas?: readonly string[] | undefined;
13313
14776
  readonly attempts: readonly {
14777
+ readonly abandoned?: {
14778
+ readonly at: number;
14779
+ readonly interruptError?: string | undefined;
14780
+ readonly observation?: {
14781
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
14782
+ readonly error?: string | undefined;
14783
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
14784
+ readonly output: string;
14785
+ readonly progress?: readonly {
14786
+ readonly id: string;
14787
+ readonly status?: string | undefined;
14788
+ }[] | undefined;
14789
+ readonly provisioning: "ready" | "unknown";
14790
+ readonly receipt: {
14791
+ readonly sessionId: string;
14792
+ readonly turnId: string;
14793
+ };
14794
+ readonly turnMissing?: boolean | undefined;
14795
+ } | undefined;
14796
+ readonly observationError?: string | undefined;
14797
+ } | undefined;
14798
+ readonly briefSteers?: readonly {
14799
+ readonly error?: string | undefined;
14800
+ readonly requestedAt: number;
14801
+ readonly revision: string;
14802
+ readonly steeredAt?: number | undefined;
14803
+ }[] | undefined;
13314
14804
  readonly checkFailures?: readonly string[] | undefined;
13315
14805
  readonly missingSince?: number | undefined;
13316
14806
  readonly observationRetries?: number | undefined;
@@ -13549,6 +15039,33 @@ export declare const clearIntegrationRetry: (state: {
13549
15039
  readonly admissionReady?: boolean | undefined;
13550
15040
  readonly areas?: readonly string[] | undefined;
13551
15041
  readonly attempts: readonly {
15042
+ readonly abandoned?: {
15043
+ readonly at: number;
15044
+ readonly interruptError?: string | undefined;
15045
+ readonly observation?: {
15046
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
15047
+ readonly error?: string | undefined;
15048
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
15049
+ readonly output: string;
15050
+ readonly progress?: readonly {
15051
+ readonly id: string;
15052
+ readonly status?: string | undefined;
15053
+ }[] | undefined;
15054
+ readonly provisioning: "ready" | "unknown";
15055
+ readonly receipt: {
15056
+ readonly sessionId: string;
15057
+ readonly turnId: string;
15058
+ };
15059
+ readonly turnMissing?: boolean | undefined;
15060
+ } | undefined;
15061
+ readonly observationError?: string | undefined;
15062
+ } | undefined;
15063
+ readonly briefSteers?: readonly {
15064
+ readonly error?: string | undefined;
15065
+ readonly requestedAt: number;
15066
+ readonly revision: string;
15067
+ readonly steeredAt?: number | undefined;
15068
+ }[] | undefined;
13552
15069
  readonly checkFailures?: readonly string[] | undefined;
13553
15070
  readonly missingSince?: number | undefined;
13554
15071
  readonly observationRetries?: number | undefined;
@@ -13789,20 +15306,52 @@ export declare const clearIntegrationRetry: (state: {
13789
15306
  };
13790
15307
  version: number;
13791
15308
  } | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
13792
- operationEntries: (operationId: string) => Effect.Effect<{
13793
- version: number;
13794
- workId: string;
13795
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
15309
+ operationEntries: (operationId: string) => Effect.Effect<readonly {
15310
+ readonly workId: string;
15311
+ readonly version: number;
15312
+ }[], import("effect/sql/SqlError").SqlError, never>;
15313
+ }, "initialize" | "operationEntries"> & Partial<Pick<{
15314
+ foreignReservations: () => Effect.Effect<Pick<{
15315
+ readonly backlog: boolean;
15316
+ readonly executing: boolean;
15317
+ readonly owner: string;
15318
+ }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
13796
15319
  releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
13797
15320
  reserveForeign: (owner: string, occupancy?: {
13798
15321
  readonly executing: boolean;
13799
15322
  readonly backlog: boolean;
13800
15323
  }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
13801
- }, "initialize" | "operationEntries"> & Partial<Pick<{
13802
15324
  compareAndSet: (workId: string, expectedVersion: number, record: {
13803
15325
  readonly admissionReady?: boolean | undefined;
13804
15326
  readonly areas?: readonly string[] | undefined;
13805
15327
  readonly attempts: readonly {
15328
+ readonly abandoned?: {
15329
+ readonly at: number;
15330
+ readonly interruptError?: string | undefined;
15331
+ readonly observation?: {
15332
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
15333
+ readonly error?: string | undefined;
15334
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
15335
+ readonly output: string;
15336
+ readonly progress?: readonly {
15337
+ readonly id: string;
15338
+ readonly status?: string | undefined;
15339
+ }[] | undefined;
15340
+ readonly provisioning: "ready" | "unknown";
15341
+ readonly receipt: {
15342
+ readonly sessionId: string;
15343
+ readonly turnId: string;
15344
+ };
15345
+ readonly turnMissing?: boolean | undefined;
15346
+ } | undefined;
15347
+ readonly observationError?: string | undefined;
15348
+ } | undefined;
15349
+ readonly briefSteers?: readonly {
15350
+ readonly error?: string | undefined;
15351
+ readonly requestedAt: number;
15352
+ readonly revision: string;
15353
+ readonly steeredAt?: number | undefined;
15354
+ }[] | undefined;
13806
15355
  readonly checkFailures?: readonly string[] | undefined;
13807
15356
  readonly missingSince?: number | undefined;
13808
15357
  readonly observationRetries?: number | undefined;
@@ -14041,6 +15590,33 @@ export declare const clearIntegrationRetry: (state: {
14041
15590
  readonly admissionReady?: boolean | undefined;
14042
15591
  readonly areas?: readonly string[] | undefined;
14043
15592
  readonly attempts: readonly {
15593
+ readonly abandoned?: {
15594
+ readonly at: number;
15595
+ readonly interruptError?: string | undefined;
15596
+ readonly observation?: {
15597
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
15598
+ readonly error?: string | undefined;
15599
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
15600
+ readonly output: string;
15601
+ readonly progress?: readonly {
15602
+ readonly id: string;
15603
+ readonly status?: string | undefined;
15604
+ }[] | undefined;
15605
+ readonly provisioning: "ready" | "unknown";
15606
+ readonly receipt: {
15607
+ readonly sessionId: string;
15608
+ readonly turnId: string;
15609
+ };
15610
+ readonly turnMissing?: boolean | undefined;
15611
+ } | undefined;
15612
+ readonly observationError?: string | undefined;
15613
+ } | undefined;
15614
+ readonly briefSteers?: readonly {
15615
+ readonly error?: string | undefined;
15616
+ readonly requestedAt: number;
15617
+ readonly revision: string;
15618
+ readonly steeredAt?: number | undefined;
15619
+ }[] | undefined;
14044
15620
  readonly checkFailures?: readonly string[] | undefined;
14045
15621
  readonly missingSince?: number | undefined;
14046
15622
  readonly observationRetries?: number | undefined;
@@ -14283,6 +15859,33 @@ export declare const clearIntegrationRetry: (state: {
14283
15859
  readonly admissionReady?: boolean | undefined;
14284
15860
  readonly areas?: readonly string[] | undefined;
14285
15861
  readonly attempts: readonly {
15862
+ readonly abandoned?: {
15863
+ readonly at: number;
15864
+ readonly interruptError?: string | undefined;
15865
+ readonly observation?: {
15866
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
15867
+ readonly error?: string | undefined;
15868
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
15869
+ readonly output: string;
15870
+ readonly progress?: readonly {
15871
+ readonly id: string;
15872
+ readonly status?: string | undefined;
15873
+ }[] | undefined;
15874
+ readonly provisioning: "ready" | "unknown";
15875
+ readonly receipt: {
15876
+ readonly sessionId: string;
15877
+ readonly turnId: string;
15878
+ };
15879
+ readonly turnMissing?: boolean | undefined;
15880
+ } | undefined;
15881
+ readonly observationError?: string | undefined;
15882
+ } | undefined;
15883
+ readonly briefSteers?: readonly {
15884
+ readonly error?: string | undefined;
15885
+ readonly requestedAt: number;
15886
+ readonly revision: string;
15887
+ readonly steeredAt?: number | undefined;
15888
+ }[] | undefined;
14286
15889
  readonly checkFailures?: readonly string[] | undefined;
14287
15890
  readonly missingSince?: number | undefined;
14288
15891
  readonly observationRetries?: number | undefined;
@@ -14521,6 +16124,33 @@ export declare const clearIntegrationRetry: (state: {
14521
16124
  readonly admissionReady?: boolean | undefined;
14522
16125
  readonly areas?: readonly string[] | undefined;
14523
16126
  readonly attempts: readonly {
16127
+ readonly abandoned?: {
16128
+ readonly at: number;
16129
+ readonly interruptError?: string | undefined;
16130
+ readonly observation?: {
16131
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
16132
+ readonly error?: string | undefined;
16133
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
16134
+ readonly output: string;
16135
+ readonly progress?: readonly {
16136
+ readonly id: string;
16137
+ readonly status?: string | undefined;
16138
+ }[] | undefined;
16139
+ readonly provisioning: "ready" | "unknown";
16140
+ readonly receipt: {
16141
+ readonly sessionId: string;
16142
+ readonly turnId: string;
16143
+ };
16144
+ readonly turnMissing?: boolean | undefined;
16145
+ } | undefined;
16146
+ readonly observationError?: string | undefined;
16147
+ } | undefined;
16148
+ readonly briefSteers?: readonly {
16149
+ readonly error?: string | undefined;
16150
+ readonly requestedAt: number;
16151
+ readonly revision: string;
16152
+ readonly steeredAt?: number | undefined;
16153
+ }[] | undefined;
14524
16154
  readonly checkFailures?: readonly string[] | undefined;
14525
16155
  readonly missingSince?: number | undefined;
14526
16156
  readonly observationRetries?: number | undefined;
@@ -14761,17 +16391,39 @@ export declare const clearIntegrationRetry: (state: {
14761
16391
  };
14762
16392
  version: number;
14763
16393
  }, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
14764
- foreignReservations: () => Effect.Effect<Pick<{
14765
- readonly backlog: boolean;
14766
- readonly executing: boolean;
14767
- readonly owner: string;
14768
- }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
14769
16394
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
14770
16395
  initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
14771
16396
  insert: (record: {
14772
16397
  readonly admissionReady?: boolean | undefined;
14773
16398
  readonly areas?: readonly string[] | undefined;
14774
16399
  readonly attempts: readonly {
16400
+ readonly abandoned?: {
16401
+ readonly at: number;
16402
+ readonly interruptError?: string | undefined;
16403
+ readonly observation?: {
16404
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
16405
+ readonly error?: string | undefined;
16406
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
16407
+ readonly output: string;
16408
+ readonly progress?: readonly {
16409
+ readonly id: string;
16410
+ readonly status?: string | undefined;
16411
+ }[] | undefined;
16412
+ readonly provisioning: "ready" | "unknown";
16413
+ readonly receipt: {
16414
+ readonly sessionId: string;
16415
+ readonly turnId: string;
16416
+ };
16417
+ readonly turnMissing?: boolean | undefined;
16418
+ } | undefined;
16419
+ readonly observationError?: string | undefined;
16420
+ } | undefined;
16421
+ readonly briefSteers?: readonly {
16422
+ readonly error?: string | undefined;
16423
+ readonly requestedAt: number;
16424
+ readonly revision: string;
16425
+ readonly steeredAt?: number | undefined;
16426
+ }[] | undefined;
14775
16427
  readonly checkFailures?: readonly string[] | undefined;
14776
16428
  readonly missingSince?: number | undefined;
14777
16429
  readonly observationRetries?: number | undefined;
@@ -15010,6 +16662,33 @@ export declare const clearIntegrationRetry: (state: {
15010
16662
  readonly admissionReady?: boolean | undefined;
15011
16663
  readonly areas?: readonly string[] | undefined;
15012
16664
  readonly attempts: readonly {
16665
+ readonly abandoned?: {
16666
+ readonly at: number;
16667
+ readonly interruptError?: string | undefined;
16668
+ readonly observation?: {
16669
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
16670
+ readonly error?: string | undefined;
16671
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
16672
+ readonly output: string;
16673
+ readonly progress?: readonly {
16674
+ readonly id: string;
16675
+ readonly status?: string | undefined;
16676
+ }[] | undefined;
16677
+ readonly provisioning: "ready" | "unknown";
16678
+ readonly receipt: {
16679
+ readonly sessionId: string;
16680
+ readonly turnId: string;
16681
+ };
16682
+ readonly turnMissing?: boolean | undefined;
16683
+ } | undefined;
16684
+ readonly observationError?: string | undefined;
16685
+ } | undefined;
16686
+ readonly briefSteers?: readonly {
16687
+ readonly error?: string | undefined;
16688
+ readonly requestedAt: number;
16689
+ readonly revision: string;
16690
+ readonly steeredAt?: number | undefined;
16691
+ }[] | undefined;
15013
16692
  readonly checkFailures?: readonly string[] | undefined;
15014
16693
  readonly missingSince?: number | undefined;
15015
16694
  readonly observationRetries?: number | undefined;
@@ -15252,6 +16931,33 @@ export declare const clearIntegrationRetry: (state: {
15252
16931
  readonly admissionReady?: boolean | undefined;
15253
16932
  readonly areas?: readonly string[] | undefined;
15254
16933
  readonly attempts: readonly {
16934
+ readonly abandoned?: {
16935
+ readonly at: number;
16936
+ readonly interruptError?: string | undefined;
16937
+ readonly observation?: {
16938
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
16939
+ readonly error?: string | undefined;
16940
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
16941
+ readonly output: string;
16942
+ readonly progress?: readonly {
16943
+ readonly id: string;
16944
+ readonly status?: string | undefined;
16945
+ }[] | undefined;
16946
+ readonly provisioning: "ready" | "unknown";
16947
+ readonly receipt: {
16948
+ readonly sessionId: string;
16949
+ readonly turnId: string;
16950
+ };
16951
+ readonly turnMissing?: boolean | undefined;
16952
+ } | undefined;
16953
+ readonly observationError?: string | undefined;
16954
+ } | undefined;
16955
+ readonly briefSteers?: readonly {
16956
+ readonly error?: string | undefined;
16957
+ readonly requestedAt: number;
16958
+ readonly revision: string;
16959
+ readonly steeredAt?: number | undefined;
16960
+ }[] | undefined;
15255
16961
  readonly checkFailures?: readonly string[] | undefined;
15256
16962
  readonly missingSince?: number | undefined;
15257
16963
  readonly observationRetries?: number | undefined;
@@ -15490,6 +17196,33 @@ export declare const clearIntegrationRetry: (state: {
15490
17196
  readonly admissionReady?: boolean | undefined;
15491
17197
  readonly areas?: readonly string[] | undefined;
15492
17198
  readonly attempts: readonly {
17199
+ readonly abandoned?: {
17200
+ readonly at: number;
17201
+ readonly interruptError?: string | undefined;
17202
+ readonly observation?: {
17203
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
17204
+ readonly error?: string | undefined;
17205
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
17206
+ readonly output: string;
17207
+ readonly progress?: readonly {
17208
+ readonly id: string;
17209
+ readonly status?: string | undefined;
17210
+ }[] | undefined;
17211
+ readonly provisioning: "ready" | "unknown";
17212
+ readonly receipt: {
17213
+ readonly sessionId: string;
17214
+ readonly turnId: string;
17215
+ };
17216
+ readonly turnMissing?: boolean | undefined;
17217
+ } | undefined;
17218
+ readonly observationError?: string | undefined;
17219
+ } | undefined;
17220
+ readonly briefSteers?: readonly {
17221
+ readonly error?: string | undefined;
17222
+ readonly requestedAt: number;
17223
+ readonly revision: string;
17224
+ readonly steeredAt?: number | undefined;
17225
+ }[] | undefined;
15493
17226
  readonly checkFailures?: readonly string[] | undefined;
15494
17227
  readonly missingSince?: number | undefined;
15495
17228
  readonly observationRetries?: number | undefined;
@@ -15735,6 +17468,33 @@ export declare const clearIntegrationRetry: (state: {
15735
17468
  readonly admissionReady?: boolean | undefined;
15736
17469
  readonly areas?: readonly string[] | undefined;
15737
17470
  readonly attempts: readonly {
17471
+ readonly abandoned?: {
17472
+ readonly at: number;
17473
+ readonly interruptError?: string | undefined;
17474
+ readonly observation?: {
17475
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
17476
+ readonly error?: string | undefined;
17477
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
17478
+ readonly output: string;
17479
+ readonly progress?: readonly {
17480
+ readonly id: string;
17481
+ readonly status?: string | undefined;
17482
+ }[] | undefined;
17483
+ readonly provisioning: "ready" | "unknown";
17484
+ readonly receipt: {
17485
+ readonly sessionId: string;
17486
+ readonly turnId: string;
17487
+ };
17488
+ readonly turnMissing?: boolean | undefined;
17489
+ } | undefined;
17490
+ readonly observationError?: string | undefined;
17491
+ } | undefined;
17492
+ readonly briefSteers?: readonly {
17493
+ readonly error?: string | undefined;
17494
+ readonly requestedAt: number;
17495
+ readonly revision: string;
17496
+ readonly steeredAt?: number | undefined;
17497
+ }[] | undefined;
15738
17498
  readonly checkFailures?: readonly string[] | undefined;
15739
17499
  readonly missingSince?: number | undefined;
15740
17500
  readonly observationRetries?: number | undefined;
@@ -15973,6 +17733,33 @@ export declare const clearIntegrationRetry: (state: {
15973
17733
  readonly admissionReady?: boolean | undefined;
15974
17734
  readonly areas?: readonly string[] | undefined;
15975
17735
  readonly attempts: readonly {
17736
+ readonly abandoned?: {
17737
+ readonly at: number;
17738
+ readonly interruptError?: string | undefined;
17739
+ readonly observation?: {
17740
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
17741
+ readonly error?: string | undefined;
17742
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
17743
+ readonly output: string;
17744
+ readonly progress?: readonly {
17745
+ readonly id: string;
17746
+ readonly status?: string | undefined;
17747
+ }[] | undefined;
17748
+ readonly provisioning: "ready" | "unknown";
17749
+ readonly receipt: {
17750
+ readonly sessionId: string;
17751
+ readonly turnId: string;
17752
+ };
17753
+ readonly turnMissing?: boolean | undefined;
17754
+ } | undefined;
17755
+ readonly observationError?: string | undefined;
17756
+ } | undefined;
17757
+ readonly briefSteers?: readonly {
17758
+ readonly error?: string | undefined;
17759
+ readonly requestedAt: number;
17760
+ readonly revision: string;
17761
+ readonly steeredAt?: number | undefined;
17762
+ }[] | undefined;
15976
17763
  readonly checkFailures?: readonly string[] | undefined;
15977
17764
  readonly missingSince?: number | undefined;
15978
17765
  readonly observationRetries?: number | undefined;
@@ -16218,6 +18005,33 @@ export declare const clearIntegrationRetry: (state: {
16218
18005
  readonly admissionReady?: boolean | undefined;
16219
18006
  readonly areas?: readonly string[] | undefined;
16220
18007
  readonly attempts: readonly {
18008
+ readonly abandoned?: {
18009
+ readonly at: number;
18010
+ readonly interruptError?: string | undefined;
18011
+ readonly observation?: {
18012
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
18013
+ readonly error?: string | undefined;
18014
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
18015
+ readonly output: string;
18016
+ readonly progress?: readonly {
18017
+ readonly id: string;
18018
+ readonly status?: string | undefined;
18019
+ }[] | undefined;
18020
+ readonly provisioning: "ready" | "unknown";
18021
+ readonly receipt: {
18022
+ readonly sessionId: string;
18023
+ readonly turnId: string;
18024
+ };
18025
+ readonly turnMissing?: boolean | undefined;
18026
+ } | undefined;
18027
+ readonly observationError?: string | undefined;
18028
+ } | undefined;
18029
+ readonly briefSteers?: readonly {
18030
+ readonly error?: string | undefined;
18031
+ readonly requestedAt: number;
18032
+ readonly revision: string;
18033
+ readonly steeredAt?: number | undefined;
18034
+ }[] | undefined;
16221
18035
  readonly checkFailures?: readonly string[] | undefined;
16222
18036
  readonly missingSince?: number | undefined;
16223
18037
  readonly observationRetries?: number | undefined;
@@ -16456,6 +18270,33 @@ export declare const clearIntegrationRetry: (state: {
16456
18270
  readonly admissionReady?: boolean | undefined;
16457
18271
  readonly areas?: readonly string[] | undefined;
16458
18272
  readonly attempts: readonly {
18273
+ readonly abandoned?: {
18274
+ readonly at: number;
18275
+ readonly interruptError?: string | undefined;
18276
+ readonly observation?: {
18277
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
18278
+ readonly error?: string | undefined;
18279
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
18280
+ readonly output: string;
18281
+ readonly progress?: readonly {
18282
+ readonly id: string;
18283
+ readonly status?: string | undefined;
18284
+ }[] | undefined;
18285
+ readonly provisioning: "ready" | "unknown";
18286
+ readonly receipt: {
18287
+ readonly sessionId: string;
18288
+ readonly turnId: string;
18289
+ };
18290
+ readonly turnMissing?: boolean | undefined;
18291
+ } | undefined;
18292
+ readonly observationError?: string | undefined;
18293
+ } | undefined;
18294
+ readonly briefSteers?: readonly {
18295
+ readonly error?: string | undefined;
18296
+ readonly requestedAt: number;
18297
+ readonly revision: string;
18298
+ readonly steeredAt?: number | undefined;
18299
+ }[] | undefined;
16459
18300
  readonly checkFailures?: readonly string[] | undefined;
16460
18301
  readonly missingSince?: number | undefined;
16461
18302
  readonly observationRetries?: number | undefined;
@@ -16696,20 +18537,42 @@ export declare const clearIntegrationRetry: (state: {
16696
18537
  };
16697
18538
  version: number;
16698
18539
  } | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
16699
- operationEntries: (operationId: string) => Effect.Effect<{
16700
- version: number;
16701
- workId: string;
16702
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
16703
- releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
16704
- reserveForeign: (owner: string, occupancy?: {
16705
- readonly executing: boolean;
16706
- readonly backlog: boolean;
16707
- }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
18540
+ operationEntries: (operationId: string) => Effect.Effect<readonly {
18541
+ readonly workId: string;
18542
+ readonly version: number;
18543
+ }[], import("effect/sql/SqlError").SqlError, never>;
16708
18544
  }, "operationEntries">>;
16709
18545
  }, current: Versioned<{
16710
18546
  readonly admissionReady?: boolean | undefined;
16711
18547
  readonly areas?: readonly string[] | undefined;
16712
18548
  readonly attempts: readonly {
18549
+ readonly abandoned?: {
18550
+ readonly at: number;
18551
+ readonly interruptError?: string | undefined;
18552
+ readonly observation?: {
18553
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
18554
+ readonly error?: string | undefined;
18555
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
18556
+ readonly output: string;
18557
+ readonly progress?: readonly {
18558
+ readonly id: string;
18559
+ readonly status?: string | undefined;
18560
+ }[] | undefined;
18561
+ readonly provisioning: "ready" | "unknown";
18562
+ readonly receipt: {
18563
+ readonly sessionId: string;
18564
+ readonly turnId: string;
18565
+ };
18566
+ readonly turnMissing?: boolean | undefined;
18567
+ } | undefined;
18568
+ readonly observationError?: string | undefined;
18569
+ } | undefined;
18570
+ readonly briefSteers?: readonly {
18571
+ readonly error?: string | undefined;
18572
+ readonly requestedAt: number;
18573
+ readonly revision: string;
18574
+ readonly steeredAt?: number | undefined;
18575
+ }[] | undefined;
16713
18576
  readonly checkFailures?: readonly string[] | undefined;
16714
18577
  readonly missingSince?: number | undefined;
16715
18578
  readonly observationRetries?: number | undefined;
@@ -16948,6 +18811,33 @@ export declare const clearIntegrationRetry: (state: {
16948
18811
  readonly admissionReady?: boolean | undefined;
16949
18812
  readonly areas?: readonly string[] | undefined;
16950
18813
  readonly attempts: readonly {
18814
+ readonly abandoned?: {
18815
+ readonly at: number;
18816
+ readonly interruptError?: string | undefined;
18817
+ readonly observation?: {
18818
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
18819
+ readonly error?: string | undefined;
18820
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
18821
+ readonly output: string;
18822
+ readonly progress?: readonly {
18823
+ readonly id: string;
18824
+ readonly status?: string | undefined;
18825
+ }[] | undefined;
18826
+ readonly provisioning: "ready" | "unknown";
18827
+ readonly receipt: {
18828
+ readonly sessionId: string;
18829
+ readonly turnId: string;
18830
+ };
18831
+ readonly turnMissing?: boolean | undefined;
18832
+ } | undefined;
18833
+ readonly observationError?: string | undefined;
18834
+ } | undefined;
18835
+ readonly briefSteers?: readonly {
18836
+ readonly error?: string | undefined;
18837
+ readonly requestedAt: number;
18838
+ readonly revision: string;
18839
+ readonly steeredAt?: number | undefined;
18840
+ }[] | undefined;
16951
18841
  readonly checkFailures?: readonly string[] | undefined;
16952
18842
  readonly missingSince?: number | undefined;
16953
18843
  readonly observationRetries?: number | undefined;
@@ -17189,6 +19079,33 @@ export declare const clearIntegrationRetry: (state: {
17189
19079
  readonly admissionReady?: boolean | undefined;
17190
19080
  readonly areas?: readonly string[] | undefined;
17191
19081
  readonly attempts: readonly {
19082
+ readonly abandoned?: {
19083
+ readonly at: number;
19084
+ readonly interruptError?: string | undefined;
19085
+ readonly observation?: {
19086
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
19087
+ readonly error?: string | undefined;
19088
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
19089
+ readonly output: string;
19090
+ readonly progress?: readonly {
19091
+ readonly id: string;
19092
+ readonly status?: string | undefined;
19093
+ }[] | undefined;
19094
+ readonly provisioning: "ready" | "unknown";
19095
+ readonly receipt: {
19096
+ readonly sessionId: string;
19097
+ readonly turnId: string;
19098
+ };
19099
+ readonly turnMissing?: boolean | undefined;
19100
+ } | undefined;
19101
+ readonly observationError?: string | undefined;
19102
+ } | undefined;
19103
+ readonly briefSteers?: readonly {
19104
+ readonly error?: string | undefined;
19105
+ readonly requestedAt: number;
19106
+ readonly revision: string;
19107
+ readonly steeredAt?: number | undefined;
19108
+ }[] | undefined;
17192
19109
  readonly checkFailures?: readonly string[] | undefined;
17193
19110
  readonly missingSince?: number | undefined;
17194
19111
  readonly observationRetries?: number | undefined;
@@ -17427,6 +19344,33 @@ export declare const clearIntegrationRetry: (state: {
17427
19344
  readonly admissionReady?: boolean | undefined;
17428
19345
  readonly areas?: readonly string[] | undefined;
17429
19346
  readonly attempts: readonly {
19347
+ readonly abandoned?: {
19348
+ readonly at: number;
19349
+ readonly interruptError?: string | undefined;
19350
+ readonly observation?: {
19351
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
19352
+ readonly error?: string | undefined;
19353
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
19354
+ readonly output: string;
19355
+ readonly progress?: readonly {
19356
+ readonly id: string;
19357
+ readonly status?: string | undefined;
19358
+ }[] | undefined;
19359
+ readonly provisioning: "ready" | "unknown";
19360
+ readonly receipt: {
19361
+ readonly sessionId: string;
19362
+ readonly turnId: string;
19363
+ };
19364
+ readonly turnMissing?: boolean | undefined;
19365
+ } | undefined;
19366
+ readonly observationError?: string | undefined;
19367
+ } | undefined;
19368
+ readonly briefSteers?: readonly {
19369
+ readonly error?: string | undefined;
19370
+ readonly requestedAt: number;
19371
+ readonly revision: string;
19372
+ readonly steeredAt?: number | undefined;
19373
+ }[] | undefined;
17430
19374
  readonly checkFailures?: readonly string[] | undefined;
17431
19375
  readonly missingSince?: number | undefined;
17432
19376
  readonly observationRetries?: number | undefined;