@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.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/dist/admit.d.ts +54 -0
- package/dist/admit.d.ts.map +1 -1
- package/dist/engine/abandonStalled.d.ts +9807 -0
- package/dist/engine/abandonStalled.d.ts.map +1 -0
- package/dist/engine/abandonStalled.js +55 -0
- package/dist/engine/abandonStalled.js.map +1 -0
- package/dist/engine/applyResolution.d.ts +108 -0
- package/dist/engine/applyResolution.d.ts.map +1 -1
- package/dist/engine/applyResolution.js +3 -0
- package/dist/engine/applyResolution.js.map +1 -1
- package/dist/engine/approveBrief.d.ts +164 -2
- package/dist/engine/approveBrief.d.ts.map +1 -1
- package/dist/engine/approveBrief.js +7 -5
- package/dist/engine/approveBrief.js.map +1 -1
- package/dist/engine/authorizeResolution.d.ts +942 -24
- package/dist/engine/authorizeResolution.d.ts.map +1 -1
- package/dist/engine/boardBrief.d.ts +162 -0
- package/dist/engine/boardBrief.d.ts.map +1 -1
- package/dist/engine/capacityRetry.d.ts +2883 -75
- package/dist/engine/capacityRetry.d.ts.map +1 -1
- package/dist/engine/closeDecisions.d.ts +108 -0
- package/dist/engine/closeDecisions.d.ts.map +1 -1
- package/dist/engine/completeBoardWork.d.ts +108 -0
- package/dist/engine/completeBoardWork.d.ts.map +1 -1
- package/dist/engine/completeReport.d.ts +108 -0
- package/dist/engine/completeReport.d.ts.map +1 -1
- package/dist/engine/continueCommand.d.ts +54 -0
- package/dist/engine/continueCommand.d.ts.map +1 -1
- package/dist/engine/continueWorker.d.ts +108 -0
- package/dist/engine/continueWorker.d.ts.map +1 -1
- package/dist/engine/deliverPendingAnswers.d.ts +1104 -24
- package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.d.ts +54 -0
- package/dist/engine/dispatchCommand.d.ts.map +1 -1
- package/dist/engine/ensureDecisionOwner.d.ts +108 -0
- package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
- package/dist/engine/ensurePublication.d.ts +108 -0
- package/dist/engine/ensurePublication.d.ts.map +1 -1
- package/dist/engine/inspectRenewal.d.ts +108 -0
- package/dist/engine/inspectRenewal.d.ts.map +1 -1
- package/dist/engine/launchInput.d.ts +54 -0
- package/dist/engine/launchInput.d.ts.map +1 -1
- package/dist/engine/launchReceipt.d.ts +54 -0
- package/dist/engine/launchReceipt.d.ts.map +1 -1
- package/dist/engine/makeAdopt.d.ts +108 -0
- package/dist/engine/makeAdopt.d.ts.map +1 -1
- package/dist/engine/makeAdvance.d.ts +54 -0
- package/dist/engine/makeAdvance.d.ts.map +1 -1
- package/dist/engine/makeDeliver.d.ts +108 -0
- package/dist/engine/makeDeliver.d.ts.map +1 -1
- package/dist/engine/makeHuman.d.ts +108 -0
- package/dist/engine/makeHuman.d.ts.map +1 -1
- package/dist/engine/makeLaunch.d.ts +108 -0
- package/dist/engine/makeLaunch.d.ts.map +1 -1
- package/dist/engine/makeObserve.d.ts +108 -0
- package/dist/engine/makeObserve.d.ts.map +1 -1
- package/dist/engine/makeReview.d.ts +108 -0
- package/dist/engine/makeReview.d.ts.map +1 -1
- package/dist/engine/makeState.d.ts +888 -24
- package/dist/engine/makeState.d.ts.map +1 -1
- package/dist/engine/makeValidate.d.ts +108 -0
- package/dist/engine/makeValidate.d.ts.map +1 -1
- package/dist/engine/mergeReadiness.d.ts +1212 -24
- package/dist/engine/mergeReadiness.d.ts.map +1 -1
- package/dist/engine/observeDeliveryFailure.d.ts +996 -24
- package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
- package/dist/engine/observeRenewal.d.ts +189 -0
- package/dist/engine/observeRenewal.d.ts.map +1 -1
- package/dist/engine/observedAttempt.d.ts.map +1 -1
- package/dist/engine/observedAttempt.js +3 -0
- package/dist/engine/observedAttempt.js.map +1 -1
- package/dist/engine/obtainReview.d.ts +54 -0
- package/dist/engine/obtainReview.d.ts.map +1 -1
- package/dist/engine/operationRecord.d.ts +726 -24
- package/dist/engine/operationRecord.d.ts.map +1 -1
- package/dist/engine/persistTerminalReceipts.d.ts +108 -0
- package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
- package/dist/engine/prepareCommand.d.ts +54 -0
- package/dist/engine/prepareCommand.d.ts.map +1 -1
- package/dist/engine/prepareCommand.js +19 -0
- package/dist/engine/prepareCommand.js.map +1 -1
- package/dist/engine/queueAnswerCommand.d.ts +54 -0
- package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
- package/dist/engine/readOrContinueReview.d.ts +54 -0
- package/dist/engine/readOrContinueReview.d.ts.map +1 -1
- package/dist/engine/readRetry.d.ts +1995 -51
- package/dist/engine/readRetry.d.ts.map +1 -1
- package/dist/engine/reassignCommand.d.ts +54 -0
- package/dist/engine/reassignCommand.d.ts.map +1 -1
- package/dist/engine/reconcileAttempt.d.ts +81 -0
- package/dist/engine/reconcileAttempt.d.ts.map +1 -1
- package/dist/engine/reconcileCommand.d.ts +54 -0
- package/dist/engine/reconcileCommand.d.ts.map +1 -1
- package/dist/engine/recoverStall.d.ts +1023 -24
- package/dist/engine/recoverStall.d.ts.map +1 -1
- package/dist/engine/recoverStall.js +5 -1
- package/dist/engine/recoverStall.js.map +1 -1
- package/dist/engine/recoverUnobservable.d.ts +1023 -24
- package/dist/engine/recoverUnobservable.d.ts.map +1 -1
- package/dist/engine/refreshBrief.d.ts +1997 -53
- package/dist/engine/refreshBrief.d.ts.map +1 -1
- package/dist/engine/refreshReviewResult.d.ts +108 -0
- package/dist/engine/refreshReviewResult.d.ts.map +1 -1
- package/dist/engine/releaseClosedPreparation.d.ts +996 -24
- package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
- package/dist/engine/releaseExecution.d.ts +996 -24
- package/dist/engine/releaseExecution.d.ts.map +1 -1
- package/dist/engine/releaseFinishedWork.d.ts +54 -0
- package/dist/engine/releaseFinishedWork.d.ts.map +1 -1
- package/dist/engine/repository.d.ts +672 -24
- package/dist/engine/repository.d.ts.map +1 -1
- package/dist/engine/repository.js +1 -0
- package/dist/engine/repository.js.map +1 -1
- package/dist/engine/requestConflictRepair.d.ts +996 -24
- package/dist/engine/requestConflictRepair.d.ts.map +1 -1
- package/dist/engine/requestRework.d.ts +108 -0
- package/dist/engine/requestRework.d.ts.map +1 -1
- package/dist/engine/resolveCommand.d.ts +54 -0
- package/dist/engine/resolveCommand.d.ts.map +1 -1
- package/dist/engine/resolveExecution.d.ts +996 -24
- package/dist/engine/resolveExecution.d.ts.map +1 -1
- package/dist/engine/resolveExecution.js +3 -1
- package/dist/engine/resolveExecution.js.map +1 -1
- package/dist/engine/resumeAttempt.d.ts +1023 -24
- package/dist/engine/resumeAttempt.d.ts.map +1 -1
- package/dist/engine/retireUnacknowledged.d.ts +108 -0
- package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
- package/dist/engine/retryTerminal.d.ts +942 -24
- package/dist/engine/retryTerminal.d.ts.map +1 -1
- package/dist/engine/scheduler.d.ts +108 -0
- package/dist/engine/scheduler.d.ts.map +1 -1
- package/dist/engine/sessionCleanup.d.ts +108 -0
- package/dist/engine/sessionCleanup.d.ts.map +1 -1
- package/dist/engine/sessionCleanup.js +3 -1
- package/dist/engine/sessionCleanup.js.map +1 -1
- package/dist/engine/sessionStatus.d.ts.map +1 -1
- package/dist/engine/sessionStatus.js +3 -0
- package/dist/engine/sessionStatus.js.map +1 -1
- package/dist/engine/settleMergedDelivery.d.ts +996 -24
- package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
- package/dist/engine/steerBrief.d.ts +10340 -0
- package/dist/engine/steerBrief.d.ts.map +1 -0
- package/dist/engine/steerBrief.js +42 -0
- package/dist/engine/steerBrief.js.map +1 -0
- package/dist/engine/submissionFailure.d.ts +888 -24
- package/dist/engine/submissionFailure.d.ts.map +1 -1
- package/dist/engine/submitLaunch.d.ts +942 -24
- package/dist/engine/submitLaunch.d.ts.map +1 -1
- package/dist/engine/views.js +1 -0
- package/dist/engine/views.js.map +1 -1
- package/dist/engine/workerReport.d.ts +162 -0
- package/dist/engine/workerReport.d.ts.map +1 -1
- package/dist/fleet.d.ts +540 -0
- package/dist/fleet.d.ts.map +1 -1
- package/dist/host/admission.d.ts +108 -0
- package/dist/host/admission.d.ts.map +1 -1
- package/dist/host/admission.js +2 -1
- package/dist/host/admission.js.map +1 -1
- package/dist/host/answerWork.d.ts +54 -0
- package/dist/host/answerWork.d.ts.map +1 -1
- package/dist/host/commands.d.ts +108 -0
- package/dist/host/commands.d.ts.map +1 -1
- package/dist/host/daemon.d.ts +1465 -865
- package/dist/host/daemon.d.ts.map +1 -1
- package/dist/host/daemonClient.d.ts +691 -91
- package/dist/host/daemonClient.d.ts.map +1 -1
- package/dist/host/daemonContract.d.ts +984 -0
- package/dist/host/daemonContract.d.ts.map +1 -1
- package/dist/host/readWaitStates.d.ts.map +1 -1
- package/dist/host/readWaitStates.js +13 -4
- package/dist/host/readWaitStates.js.map +1 -1
- package/dist/host/reassignWork.d.ts +54 -0
- package/dist/host/reassignWork.d.ts.map +1 -1
- package/dist/host/recordPayloads.d.ts.map +1 -1
- package/dist/host/recordPayloads.js +8 -3
- package/dist/host/recordPayloads.js.map +1 -1
- package/dist/host/releaseWork.d.ts +108 -0
- package/dist/host/releaseWork.d.ts.map +1 -1
- package/dist/host/status.d.ts +30 -0
- package/dist/host/status.d.ts.map +1 -1
- package/dist/model.d.ts +144 -0
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +14 -1
- package/dist/model.js.map +1 -1
- package/dist/operations.d.ts +1224 -0
- package/dist/operations.d.ts.map +1 -1
- package/dist/packageInfo.d.ts +1 -1
- package/dist/packageInfo.js +1 -1
- package/dist/prompt/briefEdit.d.ts +2 -0
- package/dist/prompt/briefEdit.d.ts.map +1 -0
- package/dist/prompt/briefEdit.js +41 -0
- package/dist/prompt/briefEdit.js.map +1 -0
- package/dist/prompt/worker.d.ts.map +1 -1
- package/dist/prompt/worker.js +11 -2
- package/dist/prompt/worker.js.map +1 -1
- package/dist/qualifyDependencies.d.ts +54 -0
- package/dist/qualifyDependencies.d.ts.map +1 -1
- package/dist/scheduling/areas.d.ts +162 -0
- package/dist/scheduling/areas.d.ts.map +1 -1
- package/dist/storage/attemptV12.d.ts +108 -0
- package/dist/storage/attemptV12.d.ts.map +1 -0
- package/dist/storage/attemptV12.js +94 -0
- package/dist/storage/attemptV12.js.map +1 -0
- package/dist/storage/createCollections.d.ts +5 -0
- package/dist/storage/createCollections.d.ts.map +1 -0
- package/dist/storage/createCollections.js +21 -0
- package/dist/storage/createCollections.js.map +1 -0
- package/dist/storage/cycleV12.d.ts +287 -0
- package/dist/storage/cycleV12.d.ts.map +1 -0
- package/dist/storage/cycleV12.js +124 -0
- package/dist/storage/cycleV12.js.map +1 -0
- package/dist/storage/fleetMigrations.d.ts +0 -39
- package/dist/storage/fleetMigrations.d.ts.map +1 -1
- package/dist/storage/fleetMigrations.js +3 -9
- package/dist/storage/fleetMigrations.js.map +1 -1
- package/dist/storage/legacyColumns.d.ts +40 -0
- package/dist/storage/legacyColumns.d.ts.map +1 -0
- package/dist/storage/legacyColumns.js +12 -0
- package/dist/storage/legacyColumns.js.map +1 -0
- package/dist/storage/makeForeignReservations.d.ts +15 -0
- package/dist/storage/makeForeignReservations.d.ts.map +1 -0
- package/dist/storage/makeForeignReservations.js +34 -0
- package/dist/storage/makeForeignReservations.js.map +1 -0
- package/dist/storage/makePostgresFleetStore.d.ts +36 -16
- package/dist/storage/makePostgresFleetStore.d.ts.map +1 -1
- package/dist/storage/makePostgresFleetStore.js +24 -32
- package/dist/storage/makePostgresFleetStore.js.map +1 -1
- package/dist/storage/model.d.ts +53 -59
- package/dist/storage/model.d.ts.map +1 -1
- package/dist/storage/model.js +18 -60
- package/dist/storage/model.js.map +1 -1
- package/dist/storage/operationEntries.d.ts +6 -5
- package/dist/storage/operationEntries.d.ts.map +1 -1
- package/dist/storage/operationEntries.js +12 -15
- package/dist/storage/operationEntries.js.map +1 -1
- package/dist/storage/preparationV12.d.ts +44 -0
- package/dist/storage/preparationV12.d.ts.map +1 -0
- package/dist/storage/preparationV12.js +30 -0
- package/dist/storage/preparationV12.js.map +1 -0
- package/dist/storage/readRecords.d.ts +4 -0
- package/dist/storage/readRecords.d.ts.map +1 -0
- package/dist/storage/readRecords.js +10 -0
- package/dist/storage/readRecords.js.map +1 -0
- package/dist/storage/recordChildren.d.ts +11 -0
- package/dist/storage/recordChildren.d.ts.map +1 -0
- package/dist/storage/recordChildren.js +105 -0
- package/dist/storage/recordChildren.js.map +1 -0
- package/dist/storage/recordShape.d.ts +23 -0
- package/dist/storage/recordShape.d.ts.map +1 -0
- package/dist/storage/recordShape.js +112 -0
- package/dist/storage/recordShape.js.map +1 -0
- package/dist/storage/recordValue.d.ts +9 -6
- package/dist/storage/recordValue.d.ts.map +1 -1
- package/dist/storage/recordValue.js +42 -32
- package/dist/storage/recordValue.js.map +1 -1
- package/dist/storage/shapeV12.d.ts +794 -0
- package/dist/storage/shapeV12.d.ts.map +1 -0
- package/dist/storage/shapeV12.js +10 -0
- package/dist/storage/shapeV12.js.map +1 -0
- package/dist/storage/textRecordValue.d.ts +3 -0
- package/dist/storage/textRecordValue.d.ts.map +1 -0
- package/dist/storage/textRecordValue.js +13 -0
- package/dist/storage/textRecordValue.js.map +1 -0
- package/dist/storage/typedDecisionsV12.d.ts +103 -0
- package/dist/storage/typedDecisionsV12.d.ts.map +1 -0
- package/dist/storage/typedDecisionsV12.js +97 -0
- package/dist/storage/typedDecisionsV12.js.map +1 -0
- package/dist/storage/typedTables.d.ts +4 -0
- package/dist/storage/typedTables.d.ts.map +1 -0
- package/dist/storage/typedTables.js +39 -0
- package/dist/storage/typedTables.js.map +1 -0
- package/package.json +8 -8
- package/src/engine/abandonStalled.ts +63 -0
- package/src/engine/applyResolution.ts +3 -0
- package/src/engine/approveBrief.ts +34 -32
- package/src/engine/observedAttempt.ts +3 -0
- package/src/engine/prepareCommand.ts +21 -0
- package/src/engine/recoverStall.ts +6 -2
- package/src/engine/repository.ts +1 -0
- package/src/engine/resolveExecution.ts +3 -1
- package/src/engine/sessionCleanup.ts +3 -1
- package/src/engine/sessionStatus.ts +5 -0
- package/src/engine/steerBrief.ts +54 -0
- package/src/engine/views.ts +1 -0
- package/src/host/admission.ts +2 -1
- package/src/host/readWaitStates.ts +12 -11
- package/src/host/recordPayloads.ts +11 -3
- package/src/model.ts +20 -1
- package/src/packageInfo.ts +1 -1
- package/src/prompt/briefEdit.ts +44 -0
- package/src/prompt/worker.ts +11 -2
- package/src/storage/attemptV12.ts +95 -0
- package/src/storage/createCollections.ts +21 -0
- package/src/storage/cycleV12.ts +125 -0
- package/src/storage/fleetMigrations.ts +3 -10
- package/src/storage/legacyColumns.ts +12 -0
- package/src/storage/makeForeignReservations.ts +41 -0
- package/src/storage/makePostgresFleetStore.ts +30 -43
- package/src/storage/model.ts +19 -69
- package/src/storage/operationEntries.ts +12 -22
- package/src/storage/preparationV12.ts +31 -0
- package/src/storage/readRecords.ts +12 -0
- package/src/storage/recordChildren.ts +131 -0
- package/src/storage/recordShape.ts +137 -0
- package/src/storage/recordValue.ts +47 -34
- package/src/storage/shapeV12.ts +11 -0
- package/src/storage/textRecordValue.ts +16 -0
- package/src/storage/typedDecisionsV12.ts +100 -0
- package/src/storage/typedTables.ts +39 -0
|
@@ -17,6 +17,33 @@ export declare const refreshBrief: (state: {
|
|
|
17
17
|
readonly admissionReady?: boolean | undefined;
|
|
18
18
|
readonly areas?: readonly string[] | undefined;
|
|
19
19
|
readonly attempts: readonly {
|
|
20
|
+
readonly abandoned?: {
|
|
21
|
+
readonly at: number;
|
|
22
|
+
readonly interruptError?: string | undefined;
|
|
23
|
+
readonly observation?: {
|
|
24
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
25
|
+
readonly error?: string | undefined;
|
|
26
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
27
|
+
readonly output: string;
|
|
28
|
+
readonly progress?: readonly {
|
|
29
|
+
readonly id: string;
|
|
30
|
+
readonly status?: string | undefined;
|
|
31
|
+
}[] | undefined;
|
|
32
|
+
readonly provisioning: "ready" | "unknown";
|
|
33
|
+
readonly receipt: {
|
|
34
|
+
readonly sessionId: string;
|
|
35
|
+
readonly turnId: string;
|
|
36
|
+
};
|
|
37
|
+
readonly turnMissing?: boolean | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly observationError?: string | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
readonly briefSteers?: readonly {
|
|
42
|
+
readonly error?: string | undefined;
|
|
43
|
+
readonly requestedAt: number;
|
|
44
|
+
readonly revision: string;
|
|
45
|
+
readonly steeredAt?: number | undefined;
|
|
46
|
+
}[] | undefined;
|
|
20
47
|
readonly checkFailures?: readonly string[] | undefined;
|
|
21
48
|
readonly missingSince?: number | undefined;
|
|
22
49
|
readonly observationRetries?: number | undefined;
|
|
@@ -255,6 +282,33 @@ export declare const refreshBrief: (state: {
|
|
|
255
282
|
readonly admissionReady?: boolean | undefined;
|
|
256
283
|
readonly areas?: readonly string[] | undefined;
|
|
257
284
|
readonly attempts: readonly {
|
|
285
|
+
readonly abandoned?: {
|
|
286
|
+
readonly at: number;
|
|
287
|
+
readonly interruptError?: string | undefined;
|
|
288
|
+
readonly observation?: {
|
|
289
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
290
|
+
readonly error?: string | undefined;
|
|
291
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
292
|
+
readonly output: string;
|
|
293
|
+
readonly progress?: readonly {
|
|
294
|
+
readonly id: string;
|
|
295
|
+
readonly status?: string | undefined;
|
|
296
|
+
}[] | undefined;
|
|
297
|
+
readonly provisioning: "ready" | "unknown";
|
|
298
|
+
readonly receipt: {
|
|
299
|
+
readonly sessionId: string;
|
|
300
|
+
readonly turnId: string;
|
|
301
|
+
};
|
|
302
|
+
readonly turnMissing?: boolean | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
readonly observationError?: string | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
readonly briefSteers?: readonly {
|
|
307
|
+
readonly error?: string | undefined;
|
|
308
|
+
readonly requestedAt: number;
|
|
309
|
+
readonly revision: string;
|
|
310
|
+
readonly steeredAt?: number | undefined;
|
|
311
|
+
}[] | undefined;
|
|
258
312
|
readonly checkFailures?: readonly string[] | undefined;
|
|
259
313
|
readonly missingSince?: number | undefined;
|
|
260
314
|
readonly observationRetries?: number | undefined;
|
|
@@ -510,6 +564,33 @@ export declare const refreshBrief: (state: {
|
|
|
510
564
|
readonly admissionReady?: boolean | undefined;
|
|
511
565
|
readonly areas?: readonly string[] | undefined;
|
|
512
566
|
readonly attempts: readonly {
|
|
567
|
+
readonly abandoned?: {
|
|
568
|
+
readonly at: number;
|
|
569
|
+
readonly interruptError?: string | undefined;
|
|
570
|
+
readonly observation?: {
|
|
571
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
572
|
+
readonly error?: string | undefined;
|
|
573
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
574
|
+
readonly output: string;
|
|
575
|
+
readonly progress?: readonly {
|
|
576
|
+
readonly id: string;
|
|
577
|
+
readonly status?: string | undefined;
|
|
578
|
+
}[] | undefined;
|
|
579
|
+
readonly provisioning: "ready" | "unknown";
|
|
580
|
+
readonly receipt: {
|
|
581
|
+
readonly sessionId: string;
|
|
582
|
+
readonly turnId: string;
|
|
583
|
+
};
|
|
584
|
+
readonly turnMissing?: boolean | undefined;
|
|
585
|
+
} | undefined;
|
|
586
|
+
readonly observationError?: string | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
readonly briefSteers?: readonly {
|
|
589
|
+
readonly error?: string | undefined;
|
|
590
|
+
readonly requestedAt: number;
|
|
591
|
+
readonly revision: string;
|
|
592
|
+
readonly steeredAt?: number | undefined;
|
|
593
|
+
}[] | undefined;
|
|
513
594
|
readonly checkFailures?: readonly string[] | undefined;
|
|
514
595
|
readonly missingSince?: number | undefined;
|
|
515
596
|
readonly observationRetries?: number | undefined;
|
|
@@ -748,6 +829,33 @@ export declare const refreshBrief: (state: {
|
|
|
748
829
|
readonly admissionReady?: boolean | undefined;
|
|
749
830
|
readonly areas?: readonly string[] | undefined;
|
|
750
831
|
readonly attempts: readonly {
|
|
832
|
+
readonly abandoned?: {
|
|
833
|
+
readonly at: number;
|
|
834
|
+
readonly interruptError?: string | undefined;
|
|
835
|
+
readonly observation?: {
|
|
836
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
837
|
+
readonly error?: string | undefined;
|
|
838
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
839
|
+
readonly output: string;
|
|
840
|
+
readonly progress?: readonly {
|
|
841
|
+
readonly id: string;
|
|
842
|
+
readonly status?: string | undefined;
|
|
843
|
+
}[] | undefined;
|
|
844
|
+
readonly provisioning: "ready" | "unknown";
|
|
845
|
+
readonly receipt: {
|
|
846
|
+
readonly sessionId: string;
|
|
847
|
+
readonly turnId: string;
|
|
848
|
+
};
|
|
849
|
+
readonly turnMissing?: boolean | undefined;
|
|
850
|
+
} | undefined;
|
|
851
|
+
readonly observationError?: string | undefined;
|
|
852
|
+
} | undefined;
|
|
853
|
+
readonly briefSteers?: readonly {
|
|
854
|
+
readonly error?: string | undefined;
|
|
855
|
+
readonly requestedAt: number;
|
|
856
|
+
readonly revision: string;
|
|
857
|
+
readonly steeredAt?: number | undefined;
|
|
858
|
+
}[] | undefined;
|
|
751
859
|
readonly checkFailures?: readonly string[] | undefined;
|
|
752
860
|
readonly missingSince?: number | undefined;
|
|
753
861
|
readonly observationRetries?: number | undefined;
|
|
@@ -1007,6 +1115,33 @@ export declare const refreshBrief: (state: {
|
|
|
1007
1115
|
readonly admissionReady?: boolean | undefined;
|
|
1008
1116
|
readonly areas?: readonly string[] | undefined;
|
|
1009
1117
|
readonly attempts: readonly {
|
|
1118
|
+
readonly abandoned?: {
|
|
1119
|
+
readonly at: number;
|
|
1120
|
+
readonly interruptError?: string | undefined;
|
|
1121
|
+
readonly observation?: {
|
|
1122
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1123
|
+
readonly error?: string | undefined;
|
|
1124
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1125
|
+
readonly output: string;
|
|
1126
|
+
readonly progress?: readonly {
|
|
1127
|
+
readonly id: string;
|
|
1128
|
+
readonly status?: string | undefined;
|
|
1129
|
+
}[] | undefined;
|
|
1130
|
+
readonly provisioning: "ready" | "unknown";
|
|
1131
|
+
readonly receipt: {
|
|
1132
|
+
readonly sessionId: string;
|
|
1133
|
+
readonly turnId: string;
|
|
1134
|
+
};
|
|
1135
|
+
readonly turnMissing?: boolean | undefined;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
readonly observationError?: string | undefined;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
readonly briefSteers?: readonly {
|
|
1140
|
+
readonly error?: string | undefined;
|
|
1141
|
+
readonly requestedAt: number;
|
|
1142
|
+
readonly revision: string;
|
|
1143
|
+
readonly steeredAt?: number | undefined;
|
|
1144
|
+
}[] | undefined;
|
|
1010
1145
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1011
1146
|
readonly missingSince?: number | undefined;
|
|
1012
1147
|
readonly observationRetries?: number | undefined;
|
|
@@ -1245,6 +1380,33 @@ export declare const refreshBrief: (state: {
|
|
|
1245
1380
|
readonly admissionReady?: boolean | undefined;
|
|
1246
1381
|
readonly areas?: readonly string[] | undefined;
|
|
1247
1382
|
readonly attempts: readonly {
|
|
1383
|
+
readonly abandoned?: {
|
|
1384
|
+
readonly at: number;
|
|
1385
|
+
readonly interruptError?: string | undefined;
|
|
1386
|
+
readonly observation?: {
|
|
1387
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1388
|
+
readonly error?: string | undefined;
|
|
1389
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1390
|
+
readonly output: string;
|
|
1391
|
+
readonly progress?: readonly {
|
|
1392
|
+
readonly id: string;
|
|
1393
|
+
readonly status?: string | undefined;
|
|
1394
|
+
}[] | undefined;
|
|
1395
|
+
readonly provisioning: "ready" | "unknown";
|
|
1396
|
+
readonly receipt: {
|
|
1397
|
+
readonly sessionId: string;
|
|
1398
|
+
readonly turnId: string;
|
|
1399
|
+
};
|
|
1400
|
+
readonly turnMissing?: boolean | undefined;
|
|
1401
|
+
} | undefined;
|
|
1402
|
+
readonly observationError?: string | undefined;
|
|
1403
|
+
} | undefined;
|
|
1404
|
+
readonly briefSteers?: readonly {
|
|
1405
|
+
readonly error?: string | undefined;
|
|
1406
|
+
readonly requestedAt: number;
|
|
1407
|
+
readonly revision: string;
|
|
1408
|
+
readonly steeredAt?: number | undefined;
|
|
1409
|
+
}[] | undefined;
|
|
1248
1410
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1249
1411
|
readonly missingSince?: number | undefined;
|
|
1250
1412
|
readonly observationRetries?: number | undefined;
|
|
@@ -1501,6 +1663,33 @@ export declare const refreshBrief: (state: {
|
|
|
1501
1663
|
readonly admissionReady?: boolean | undefined;
|
|
1502
1664
|
readonly areas?: readonly string[] | undefined;
|
|
1503
1665
|
readonly attempts: readonly {
|
|
1666
|
+
readonly abandoned?: {
|
|
1667
|
+
readonly at: number;
|
|
1668
|
+
readonly interruptError?: string | undefined;
|
|
1669
|
+
readonly observation?: {
|
|
1670
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1671
|
+
readonly error?: string | undefined;
|
|
1672
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1673
|
+
readonly output: string;
|
|
1674
|
+
readonly progress?: readonly {
|
|
1675
|
+
readonly id: string;
|
|
1676
|
+
readonly status?: string | undefined;
|
|
1677
|
+
}[] | undefined;
|
|
1678
|
+
readonly provisioning: "ready" | "unknown";
|
|
1679
|
+
readonly receipt: {
|
|
1680
|
+
readonly sessionId: string;
|
|
1681
|
+
readonly turnId: string;
|
|
1682
|
+
};
|
|
1683
|
+
readonly turnMissing?: boolean | undefined;
|
|
1684
|
+
} | undefined;
|
|
1685
|
+
readonly observationError?: string | undefined;
|
|
1686
|
+
} | undefined;
|
|
1687
|
+
readonly briefSteers?: readonly {
|
|
1688
|
+
readonly error?: string | undefined;
|
|
1689
|
+
readonly requestedAt: number;
|
|
1690
|
+
readonly revision: string;
|
|
1691
|
+
readonly steeredAt?: number | undefined;
|
|
1692
|
+
}[] | undefined;
|
|
1504
1693
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1505
1694
|
readonly missingSince?: number | undefined;
|
|
1506
1695
|
readonly observationRetries?: number | undefined;
|
|
@@ -1739,6 +1928,33 @@ export declare const refreshBrief: (state: {
|
|
|
1739
1928
|
readonly admissionReady?: boolean | undefined;
|
|
1740
1929
|
readonly areas?: readonly string[] | undefined;
|
|
1741
1930
|
readonly attempts: readonly {
|
|
1931
|
+
readonly abandoned?: {
|
|
1932
|
+
readonly at: number;
|
|
1933
|
+
readonly interruptError?: string | undefined;
|
|
1934
|
+
readonly observation?: {
|
|
1935
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1936
|
+
readonly error?: string | undefined;
|
|
1937
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1938
|
+
readonly output: string;
|
|
1939
|
+
readonly progress?: readonly {
|
|
1940
|
+
readonly id: string;
|
|
1941
|
+
readonly status?: string | undefined;
|
|
1942
|
+
}[] | undefined;
|
|
1943
|
+
readonly provisioning: "ready" | "unknown";
|
|
1944
|
+
readonly receipt: {
|
|
1945
|
+
readonly sessionId: string;
|
|
1946
|
+
readonly turnId: string;
|
|
1947
|
+
};
|
|
1948
|
+
readonly turnMissing?: boolean | undefined;
|
|
1949
|
+
} | undefined;
|
|
1950
|
+
readonly observationError?: string | undefined;
|
|
1951
|
+
} | undefined;
|
|
1952
|
+
readonly briefSteers?: readonly {
|
|
1953
|
+
readonly error?: string | undefined;
|
|
1954
|
+
readonly requestedAt: number;
|
|
1955
|
+
readonly revision: string;
|
|
1956
|
+
readonly steeredAt?: number | undefined;
|
|
1957
|
+
}[] | undefined;
|
|
1742
1958
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1743
1959
|
readonly missingSince?: number | undefined;
|
|
1744
1960
|
readonly observationRetries?: number | undefined;
|
|
@@ -2059,10 +2275,47 @@ export declare const refreshBrief: (state: {
|
|
|
2059
2275
|
}, prompt: string) => Effect.Effect<void, import("../session/schema.ts").SessionFailure, never>;
|
|
2060
2276
|
}>;
|
|
2061
2277
|
store: Omit<{
|
|
2278
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
2279
|
+
readonly backlog: boolean;
|
|
2280
|
+
readonly executing: boolean;
|
|
2281
|
+
readonly owner: string;
|
|
2282
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2283
|
+
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2284
|
+
reserveForeign: (owner: string, occupancy?: {
|
|
2285
|
+
readonly executing: boolean;
|
|
2286
|
+
readonly backlog: boolean;
|
|
2287
|
+
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2062
2288
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
2063
2289
|
readonly admissionReady?: boolean | undefined;
|
|
2064
2290
|
readonly areas?: readonly string[] | undefined;
|
|
2065
2291
|
readonly attempts: readonly {
|
|
2292
|
+
readonly abandoned?: {
|
|
2293
|
+
readonly at: number;
|
|
2294
|
+
readonly interruptError?: string | undefined;
|
|
2295
|
+
readonly observation?: {
|
|
2296
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2297
|
+
readonly error?: string | undefined;
|
|
2298
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2299
|
+
readonly output: string;
|
|
2300
|
+
readonly progress?: readonly {
|
|
2301
|
+
readonly id: string;
|
|
2302
|
+
readonly status?: string | undefined;
|
|
2303
|
+
}[] | undefined;
|
|
2304
|
+
readonly provisioning: "ready" | "unknown";
|
|
2305
|
+
readonly receipt: {
|
|
2306
|
+
readonly sessionId: string;
|
|
2307
|
+
readonly turnId: string;
|
|
2308
|
+
};
|
|
2309
|
+
readonly turnMissing?: boolean | undefined;
|
|
2310
|
+
} | undefined;
|
|
2311
|
+
readonly observationError?: string | undefined;
|
|
2312
|
+
} | undefined;
|
|
2313
|
+
readonly briefSteers?: readonly {
|
|
2314
|
+
readonly error?: string | undefined;
|
|
2315
|
+
readonly requestedAt: number;
|
|
2316
|
+
readonly revision: string;
|
|
2317
|
+
readonly steeredAt?: number | undefined;
|
|
2318
|
+
}[] | undefined;
|
|
2066
2319
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2067
2320
|
readonly missingSince?: number | undefined;
|
|
2068
2321
|
readonly observationRetries?: number | undefined;
|
|
@@ -2301,6 +2554,33 @@ export declare const refreshBrief: (state: {
|
|
|
2301
2554
|
readonly admissionReady?: boolean | undefined;
|
|
2302
2555
|
readonly areas?: readonly string[] | undefined;
|
|
2303
2556
|
readonly attempts: readonly {
|
|
2557
|
+
readonly abandoned?: {
|
|
2558
|
+
readonly at: number;
|
|
2559
|
+
readonly interruptError?: string | undefined;
|
|
2560
|
+
readonly observation?: {
|
|
2561
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2562
|
+
readonly error?: string | undefined;
|
|
2563
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2564
|
+
readonly output: string;
|
|
2565
|
+
readonly progress?: readonly {
|
|
2566
|
+
readonly id: string;
|
|
2567
|
+
readonly status?: string | undefined;
|
|
2568
|
+
}[] | undefined;
|
|
2569
|
+
readonly provisioning: "ready" | "unknown";
|
|
2570
|
+
readonly receipt: {
|
|
2571
|
+
readonly sessionId: string;
|
|
2572
|
+
readonly turnId: string;
|
|
2573
|
+
};
|
|
2574
|
+
readonly turnMissing?: boolean | undefined;
|
|
2575
|
+
} | undefined;
|
|
2576
|
+
readonly observationError?: string | undefined;
|
|
2577
|
+
} | undefined;
|
|
2578
|
+
readonly briefSteers?: readonly {
|
|
2579
|
+
readonly error?: string | undefined;
|
|
2580
|
+
readonly requestedAt: number;
|
|
2581
|
+
readonly revision: string;
|
|
2582
|
+
readonly steeredAt?: number | undefined;
|
|
2583
|
+
}[] | undefined;
|
|
2304
2584
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2305
2585
|
readonly missingSince?: number | undefined;
|
|
2306
2586
|
readonly observationRetries?: number | undefined;
|
|
@@ -2543,6 +2823,33 @@ export declare const refreshBrief: (state: {
|
|
|
2543
2823
|
readonly admissionReady?: boolean | undefined;
|
|
2544
2824
|
readonly areas?: readonly string[] | undefined;
|
|
2545
2825
|
readonly attempts: readonly {
|
|
2826
|
+
readonly abandoned?: {
|
|
2827
|
+
readonly at: number;
|
|
2828
|
+
readonly interruptError?: string | undefined;
|
|
2829
|
+
readonly observation?: {
|
|
2830
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2831
|
+
readonly error?: string | undefined;
|
|
2832
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2833
|
+
readonly output: string;
|
|
2834
|
+
readonly progress?: readonly {
|
|
2835
|
+
readonly id: string;
|
|
2836
|
+
readonly status?: string | undefined;
|
|
2837
|
+
}[] | undefined;
|
|
2838
|
+
readonly provisioning: "ready" | "unknown";
|
|
2839
|
+
readonly receipt: {
|
|
2840
|
+
readonly sessionId: string;
|
|
2841
|
+
readonly turnId: string;
|
|
2842
|
+
};
|
|
2843
|
+
readonly turnMissing?: boolean | undefined;
|
|
2844
|
+
} | undefined;
|
|
2845
|
+
readonly observationError?: string | undefined;
|
|
2846
|
+
} | undefined;
|
|
2847
|
+
readonly briefSteers?: readonly {
|
|
2848
|
+
readonly error?: string | undefined;
|
|
2849
|
+
readonly requestedAt: number;
|
|
2850
|
+
readonly revision: string;
|
|
2851
|
+
readonly steeredAt?: number | undefined;
|
|
2852
|
+
}[] | undefined;
|
|
2546
2853
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2547
2854
|
readonly missingSince?: number | undefined;
|
|
2548
2855
|
readonly observationRetries?: number | undefined;
|
|
@@ -2781,6 +3088,33 @@ export declare const refreshBrief: (state: {
|
|
|
2781
3088
|
readonly admissionReady?: boolean | undefined;
|
|
2782
3089
|
readonly areas?: readonly string[] | undefined;
|
|
2783
3090
|
readonly attempts: readonly {
|
|
3091
|
+
readonly abandoned?: {
|
|
3092
|
+
readonly at: number;
|
|
3093
|
+
readonly interruptError?: string | undefined;
|
|
3094
|
+
readonly observation?: {
|
|
3095
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3096
|
+
readonly error?: string | undefined;
|
|
3097
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3098
|
+
readonly output: string;
|
|
3099
|
+
readonly progress?: readonly {
|
|
3100
|
+
readonly id: string;
|
|
3101
|
+
readonly status?: string | undefined;
|
|
3102
|
+
}[] | undefined;
|
|
3103
|
+
readonly provisioning: "ready" | "unknown";
|
|
3104
|
+
readonly receipt: {
|
|
3105
|
+
readonly sessionId: string;
|
|
3106
|
+
readonly turnId: string;
|
|
3107
|
+
};
|
|
3108
|
+
readonly turnMissing?: boolean | undefined;
|
|
3109
|
+
} | undefined;
|
|
3110
|
+
readonly observationError?: string | undefined;
|
|
3111
|
+
} | undefined;
|
|
3112
|
+
readonly briefSteers?: readonly {
|
|
3113
|
+
readonly error?: string | undefined;
|
|
3114
|
+
readonly requestedAt: number;
|
|
3115
|
+
readonly revision: string;
|
|
3116
|
+
readonly steeredAt?: number | undefined;
|
|
3117
|
+
}[] | undefined;
|
|
2784
3118
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2785
3119
|
readonly missingSince?: number | undefined;
|
|
2786
3120
|
readonly observationRetries?: number | undefined;
|
|
@@ -3021,17 +3355,39 @@ export declare const refreshBrief: (state: {
|
|
|
3021
3355
|
};
|
|
3022
3356
|
version: number;
|
|
3023
3357
|
}, 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>;
|
|
3024
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
3025
|
-
readonly backlog: boolean;
|
|
3026
|
-
readonly executing: boolean;
|
|
3027
|
-
readonly owner: string;
|
|
3028
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3029
3358
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3030
3359
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
3031
3360
|
insert: (record: {
|
|
3032
3361
|
readonly admissionReady?: boolean | undefined;
|
|
3033
3362
|
readonly areas?: readonly string[] | undefined;
|
|
3034
3363
|
readonly attempts: readonly {
|
|
3364
|
+
readonly abandoned?: {
|
|
3365
|
+
readonly at: number;
|
|
3366
|
+
readonly interruptError?: string | undefined;
|
|
3367
|
+
readonly observation?: {
|
|
3368
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3369
|
+
readonly error?: string | undefined;
|
|
3370
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3371
|
+
readonly output: string;
|
|
3372
|
+
readonly progress?: readonly {
|
|
3373
|
+
readonly id: string;
|
|
3374
|
+
readonly status?: string | undefined;
|
|
3375
|
+
}[] | undefined;
|
|
3376
|
+
readonly provisioning: "ready" | "unknown";
|
|
3377
|
+
readonly receipt: {
|
|
3378
|
+
readonly sessionId: string;
|
|
3379
|
+
readonly turnId: string;
|
|
3380
|
+
};
|
|
3381
|
+
readonly turnMissing?: boolean | undefined;
|
|
3382
|
+
} | undefined;
|
|
3383
|
+
readonly observationError?: string | undefined;
|
|
3384
|
+
} | undefined;
|
|
3385
|
+
readonly briefSteers?: readonly {
|
|
3386
|
+
readonly error?: string | undefined;
|
|
3387
|
+
readonly requestedAt: number;
|
|
3388
|
+
readonly revision: string;
|
|
3389
|
+
readonly steeredAt?: number | undefined;
|
|
3390
|
+
}[] | undefined;
|
|
3035
3391
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3036
3392
|
readonly missingSince?: number | undefined;
|
|
3037
3393
|
readonly observationRetries?: number | undefined;
|
|
@@ -3270,6 +3626,33 @@ export declare const refreshBrief: (state: {
|
|
|
3270
3626
|
readonly admissionReady?: boolean | undefined;
|
|
3271
3627
|
readonly areas?: readonly string[] | undefined;
|
|
3272
3628
|
readonly attempts: readonly {
|
|
3629
|
+
readonly abandoned?: {
|
|
3630
|
+
readonly at: number;
|
|
3631
|
+
readonly interruptError?: string | undefined;
|
|
3632
|
+
readonly observation?: {
|
|
3633
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3634
|
+
readonly error?: string | undefined;
|
|
3635
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3636
|
+
readonly output: string;
|
|
3637
|
+
readonly progress?: readonly {
|
|
3638
|
+
readonly id: string;
|
|
3639
|
+
readonly status?: string | undefined;
|
|
3640
|
+
}[] | undefined;
|
|
3641
|
+
readonly provisioning: "ready" | "unknown";
|
|
3642
|
+
readonly receipt: {
|
|
3643
|
+
readonly sessionId: string;
|
|
3644
|
+
readonly turnId: string;
|
|
3645
|
+
};
|
|
3646
|
+
readonly turnMissing?: boolean | undefined;
|
|
3647
|
+
} | undefined;
|
|
3648
|
+
readonly observationError?: string | undefined;
|
|
3649
|
+
} | undefined;
|
|
3650
|
+
readonly briefSteers?: readonly {
|
|
3651
|
+
readonly error?: string | undefined;
|
|
3652
|
+
readonly requestedAt: number;
|
|
3653
|
+
readonly revision: string;
|
|
3654
|
+
readonly steeredAt?: number | undefined;
|
|
3655
|
+
}[] | undefined;
|
|
3273
3656
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3274
3657
|
readonly missingSince?: number | undefined;
|
|
3275
3658
|
readonly observationRetries?: number | undefined;
|
|
@@ -3512,6 +3895,33 @@ export declare const refreshBrief: (state: {
|
|
|
3512
3895
|
readonly admissionReady?: boolean | undefined;
|
|
3513
3896
|
readonly areas?: readonly string[] | undefined;
|
|
3514
3897
|
readonly attempts: readonly {
|
|
3898
|
+
readonly abandoned?: {
|
|
3899
|
+
readonly at: number;
|
|
3900
|
+
readonly interruptError?: string | undefined;
|
|
3901
|
+
readonly observation?: {
|
|
3902
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3903
|
+
readonly error?: string | undefined;
|
|
3904
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3905
|
+
readonly output: string;
|
|
3906
|
+
readonly progress?: readonly {
|
|
3907
|
+
readonly id: string;
|
|
3908
|
+
readonly status?: string | undefined;
|
|
3909
|
+
}[] | undefined;
|
|
3910
|
+
readonly provisioning: "ready" | "unknown";
|
|
3911
|
+
readonly receipt: {
|
|
3912
|
+
readonly sessionId: string;
|
|
3913
|
+
readonly turnId: string;
|
|
3914
|
+
};
|
|
3915
|
+
readonly turnMissing?: boolean | undefined;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
readonly observationError?: string | undefined;
|
|
3918
|
+
} | undefined;
|
|
3919
|
+
readonly briefSteers?: readonly {
|
|
3920
|
+
readonly error?: string | undefined;
|
|
3921
|
+
readonly requestedAt: number;
|
|
3922
|
+
readonly revision: string;
|
|
3923
|
+
readonly steeredAt?: number | undefined;
|
|
3924
|
+
}[] | undefined;
|
|
3515
3925
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3516
3926
|
readonly missingSince?: number | undefined;
|
|
3517
3927
|
readonly observationRetries?: number | undefined;
|
|
@@ -3750,6 +4160,33 @@ export declare const refreshBrief: (state: {
|
|
|
3750
4160
|
readonly admissionReady?: boolean | undefined;
|
|
3751
4161
|
readonly areas?: readonly string[] | undefined;
|
|
3752
4162
|
readonly attempts: readonly {
|
|
4163
|
+
readonly abandoned?: {
|
|
4164
|
+
readonly at: number;
|
|
4165
|
+
readonly interruptError?: string | undefined;
|
|
4166
|
+
readonly observation?: {
|
|
4167
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4168
|
+
readonly error?: string | undefined;
|
|
4169
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4170
|
+
readonly output: string;
|
|
4171
|
+
readonly progress?: readonly {
|
|
4172
|
+
readonly id: string;
|
|
4173
|
+
readonly status?: string | undefined;
|
|
4174
|
+
}[] | undefined;
|
|
4175
|
+
readonly provisioning: "ready" | "unknown";
|
|
4176
|
+
readonly receipt: {
|
|
4177
|
+
readonly sessionId: string;
|
|
4178
|
+
readonly turnId: string;
|
|
4179
|
+
};
|
|
4180
|
+
readonly turnMissing?: boolean | undefined;
|
|
4181
|
+
} | undefined;
|
|
4182
|
+
readonly observationError?: string | undefined;
|
|
4183
|
+
} | undefined;
|
|
4184
|
+
readonly briefSteers?: readonly {
|
|
4185
|
+
readonly error?: string | undefined;
|
|
4186
|
+
readonly requestedAt: number;
|
|
4187
|
+
readonly revision: string;
|
|
4188
|
+
readonly steeredAt?: number | undefined;
|
|
4189
|
+
}[] | undefined;
|
|
3753
4190
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3754
4191
|
readonly missingSince?: number | undefined;
|
|
3755
4192
|
readonly observationRetries?: number | undefined;
|
|
@@ -3995,6 +4432,33 @@ export declare const refreshBrief: (state: {
|
|
|
3995
4432
|
readonly admissionReady?: boolean | undefined;
|
|
3996
4433
|
readonly areas?: readonly string[] | undefined;
|
|
3997
4434
|
readonly attempts: readonly {
|
|
4435
|
+
readonly abandoned?: {
|
|
4436
|
+
readonly at: number;
|
|
4437
|
+
readonly interruptError?: string | undefined;
|
|
4438
|
+
readonly observation?: {
|
|
4439
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4440
|
+
readonly error?: string | undefined;
|
|
4441
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4442
|
+
readonly output: string;
|
|
4443
|
+
readonly progress?: readonly {
|
|
4444
|
+
readonly id: string;
|
|
4445
|
+
readonly status?: string | undefined;
|
|
4446
|
+
}[] | undefined;
|
|
4447
|
+
readonly provisioning: "ready" | "unknown";
|
|
4448
|
+
readonly receipt: {
|
|
4449
|
+
readonly sessionId: string;
|
|
4450
|
+
readonly turnId: string;
|
|
4451
|
+
};
|
|
4452
|
+
readonly turnMissing?: boolean | undefined;
|
|
4453
|
+
} | undefined;
|
|
4454
|
+
readonly observationError?: string | undefined;
|
|
4455
|
+
} | undefined;
|
|
4456
|
+
readonly briefSteers?: readonly {
|
|
4457
|
+
readonly error?: string | undefined;
|
|
4458
|
+
readonly requestedAt: number;
|
|
4459
|
+
readonly revision: string;
|
|
4460
|
+
readonly steeredAt?: number | undefined;
|
|
4461
|
+
}[] | undefined;
|
|
3998
4462
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3999
4463
|
readonly missingSince?: number | undefined;
|
|
4000
4464
|
readonly observationRetries?: number | undefined;
|
|
@@ -4233,6 +4697,33 @@ export declare const refreshBrief: (state: {
|
|
|
4233
4697
|
readonly admissionReady?: boolean | undefined;
|
|
4234
4698
|
readonly areas?: readonly string[] | undefined;
|
|
4235
4699
|
readonly attempts: readonly {
|
|
4700
|
+
readonly abandoned?: {
|
|
4701
|
+
readonly at: number;
|
|
4702
|
+
readonly interruptError?: string | undefined;
|
|
4703
|
+
readonly observation?: {
|
|
4704
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4705
|
+
readonly error?: string | undefined;
|
|
4706
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4707
|
+
readonly output: string;
|
|
4708
|
+
readonly progress?: readonly {
|
|
4709
|
+
readonly id: string;
|
|
4710
|
+
readonly status?: string | undefined;
|
|
4711
|
+
}[] | undefined;
|
|
4712
|
+
readonly provisioning: "ready" | "unknown";
|
|
4713
|
+
readonly receipt: {
|
|
4714
|
+
readonly sessionId: string;
|
|
4715
|
+
readonly turnId: string;
|
|
4716
|
+
};
|
|
4717
|
+
readonly turnMissing?: boolean | undefined;
|
|
4718
|
+
} | undefined;
|
|
4719
|
+
readonly observationError?: string | undefined;
|
|
4720
|
+
} | undefined;
|
|
4721
|
+
readonly briefSteers?: readonly {
|
|
4722
|
+
readonly error?: string | undefined;
|
|
4723
|
+
readonly requestedAt: number;
|
|
4724
|
+
readonly revision: string;
|
|
4725
|
+
readonly steeredAt?: number | undefined;
|
|
4726
|
+
}[] | undefined;
|
|
4236
4727
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4237
4728
|
readonly missingSince?: number | undefined;
|
|
4238
4729
|
readonly observationRetries?: number | undefined;
|
|
@@ -4478,6 +4969,33 @@ export declare const refreshBrief: (state: {
|
|
|
4478
4969
|
readonly admissionReady?: boolean | undefined;
|
|
4479
4970
|
readonly areas?: readonly string[] | undefined;
|
|
4480
4971
|
readonly attempts: readonly {
|
|
4972
|
+
readonly abandoned?: {
|
|
4973
|
+
readonly at: number;
|
|
4974
|
+
readonly interruptError?: string | undefined;
|
|
4975
|
+
readonly observation?: {
|
|
4976
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4977
|
+
readonly error?: string | undefined;
|
|
4978
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4979
|
+
readonly output: string;
|
|
4980
|
+
readonly progress?: readonly {
|
|
4981
|
+
readonly id: string;
|
|
4982
|
+
readonly status?: string | undefined;
|
|
4983
|
+
}[] | undefined;
|
|
4984
|
+
readonly provisioning: "ready" | "unknown";
|
|
4985
|
+
readonly receipt: {
|
|
4986
|
+
readonly sessionId: string;
|
|
4987
|
+
readonly turnId: string;
|
|
4988
|
+
};
|
|
4989
|
+
readonly turnMissing?: boolean | undefined;
|
|
4990
|
+
} | undefined;
|
|
4991
|
+
readonly observationError?: string | undefined;
|
|
4992
|
+
} | undefined;
|
|
4993
|
+
readonly briefSteers?: readonly {
|
|
4994
|
+
readonly error?: string | undefined;
|
|
4995
|
+
readonly requestedAt: number;
|
|
4996
|
+
readonly revision: string;
|
|
4997
|
+
readonly steeredAt?: number | undefined;
|
|
4998
|
+
}[] | undefined;
|
|
4481
4999
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4482
5000
|
readonly missingSince?: number | undefined;
|
|
4483
5001
|
readonly observationRetries?: number | undefined;
|
|
@@ -4716,6 +5234,33 @@ export declare const refreshBrief: (state: {
|
|
|
4716
5234
|
readonly admissionReady?: boolean | undefined;
|
|
4717
5235
|
readonly areas?: readonly string[] | undefined;
|
|
4718
5236
|
readonly attempts: readonly {
|
|
5237
|
+
readonly abandoned?: {
|
|
5238
|
+
readonly at: number;
|
|
5239
|
+
readonly interruptError?: string | undefined;
|
|
5240
|
+
readonly observation?: {
|
|
5241
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5242
|
+
readonly error?: string | undefined;
|
|
5243
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5244
|
+
readonly output: string;
|
|
5245
|
+
readonly progress?: readonly {
|
|
5246
|
+
readonly id: string;
|
|
5247
|
+
readonly status?: string | undefined;
|
|
5248
|
+
}[] | undefined;
|
|
5249
|
+
readonly provisioning: "ready" | "unknown";
|
|
5250
|
+
readonly receipt: {
|
|
5251
|
+
readonly sessionId: string;
|
|
5252
|
+
readonly turnId: string;
|
|
5253
|
+
};
|
|
5254
|
+
readonly turnMissing?: boolean | undefined;
|
|
5255
|
+
} | undefined;
|
|
5256
|
+
readonly observationError?: string | undefined;
|
|
5257
|
+
} | undefined;
|
|
5258
|
+
readonly briefSteers?: readonly {
|
|
5259
|
+
readonly error?: string | undefined;
|
|
5260
|
+
readonly requestedAt: number;
|
|
5261
|
+
readonly revision: string;
|
|
5262
|
+
readonly steeredAt?: number | undefined;
|
|
5263
|
+
}[] | undefined;
|
|
4719
5264
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4720
5265
|
readonly missingSince?: number | undefined;
|
|
4721
5266
|
readonly observationRetries?: number | undefined;
|
|
@@ -4956,20 +5501,52 @@ export declare const refreshBrief: (state: {
|
|
|
4956
5501
|
};
|
|
4957
5502
|
version: number;
|
|
4958
5503
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
4959
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
}[], import("effect/
|
|
5504
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
5505
|
+
readonly workId: string;
|
|
5506
|
+
readonly version: number;
|
|
5507
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
5508
|
+
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
5509
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
5510
|
+
readonly backlog: boolean;
|
|
5511
|
+
readonly executing: boolean;
|
|
5512
|
+
readonly owner: string;
|
|
5513
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
4963
5514
|
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
4964
5515
|
reserveForeign: (owner: string, occupancy?: {
|
|
4965
5516
|
readonly executing: boolean;
|
|
4966
5517
|
readonly backlog: boolean;
|
|
4967
5518
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
4968
|
-
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
4969
5519
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
4970
5520
|
readonly admissionReady?: boolean | undefined;
|
|
4971
5521
|
readonly areas?: readonly string[] | undefined;
|
|
4972
5522
|
readonly attempts: readonly {
|
|
5523
|
+
readonly abandoned?: {
|
|
5524
|
+
readonly at: number;
|
|
5525
|
+
readonly interruptError?: string | undefined;
|
|
5526
|
+
readonly observation?: {
|
|
5527
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5528
|
+
readonly error?: string | undefined;
|
|
5529
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5530
|
+
readonly output: string;
|
|
5531
|
+
readonly progress?: readonly {
|
|
5532
|
+
readonly id: string;
|
|
5533
|
+
readonly status?: string | undefined;
|
|
5534
|
+
}[] | undefined;
|
|
5535
|
+
readonly provisioning: "ready" | "unknown";
|
|
5536
|
+
readonly receipt: {
|
|
5537
|
+
readonly sessionId: string;
|
|
5538
|
+
readonly turnId: string;
|
|
5539
|
+
};
|
|
5540
|
+
readonly turnMissing?: boolean | undefined;
|
|
5541
|
+
} | undefined;
|
|
5542
|
+
readonly observationError?: string | undefined;
|
|
5543
|
+
} | undefined;
|
|
5544
|
+
readonly briefSteers?: readonly {
|
|
5545
|
+
readonly error?: string | undefined;
|
|
5546
|
+
readonly requestedAt: number;
|
|
5547
|
+
readonly revision: string;
|
|
5548
|
+
readonly steeredAt?: number | undefined;
|
|
5549
|
+
}[] | undefined;
|
|
4973
5550
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4974
5551
|
readonly missingSince?: number | undefined;
|
|
4975
5552
|
readonly observationRetries?: number | undefined;
|
|
@@ -5208,6 +5785,33 @@ export declare const refreshBrief: (state: {
|
|
|
5208
5785
|
readonly admissionReady?: boolean | undefined;
|
|
5209
5786
|
readonly areas?: readonly string[] | undefined;
|
|
5210
5787
|
readonly attempts: readonly {
|
|
5788
|
+
readonly abandoned?: {
|
|
5789
|
+
readonly at: number;
|
|
5790
|
+
readonly interruptError?: string | undefined;
|
|
5791
|
+
readonly observation?: {
|
|
5792
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5793
|
+
readonly error?: string | undefined;
|
|
5794
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5795
|
+
readonly output: string;
|
|
5796
|
+
readonly progress?: readonly {
|
|
5797
|
+
readonly id: string;
|
|
5798
|
+
readonly status?: string | undefined;
|
|
5799
|
+
}[] | undefined;
|
|
5800
|
+
readonly provisioning: "ready" | "unknown";
|
|
5801
|
+
readonly receipt: {
|
|
5802
|
+
readonly sessionId: string;
|
|
5803
|
+
readonly turnId: string;
|
|
5804
|
+
};
|
|
5805
|
+
readonly turnMissing?: boolean | undefined;
|
|
5806
|
+
} | undefined;
|
|
5807
|
+
readonly observationError?: string | undefined;
|
|
5808
|
+
} | undefined;
|
|
5809
|
+
readonly briefSteers?: readonly {
|
|
5810
|
+
readonly error?: string | undefined;
|
|
5811
|
+
readonly requestedAt: number;
|
|
5812
|
+
readonly revision: string;
|
|
5813
|
+
readonly steeredAt?: number | undefined;
|
|
5814
|
+
}[] | undefined;
|
|
5211
5815
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5212
5816
|
readonly missingSince?: number | undefined;
|
|
5213
5817
|
readonly observationRetries?: number | undefined;
|
|
@@ -5450,6 +6054,33 @@ export declare const refreshBrief: (state: {
|
|
|
5450
6054
|
readonly admissionReady?: boolean | undefined;
|
|
5451
6055
|
readonly areas?: readonly string[] | undefined;
|
|
5452
6056
|
readonly attempts: readonly {
|
|
6057
|
+
readonly abandoned?: {
|
|
6058
|
+
readonly at: number;
|
|
6059
|
+
readonly interruptError?: string | undefined;
|
|
6060
|
+
readonly observation?: {
|
|
6061
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6062
|
+
readonly error?: string | undefined;
|
|
6063
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6064
|
+
readonly output: string;
|
|
6065
|
+
readonly progress?: readonly {
|
|
6066
|
+
readonly id: string;
|
|
6067
|
+
readonly status?: string | undefined;
|
|
6068
|
+
}[] | undefined;
|
|
6069
|
+
readonly provisioning: "ready" | "unknown";
|
|
6070
|
+
readonly receipt: {
|
|
6071
|
+
readonly sessionId: string;
|
|
6072
|
+
readonly turnId: string;
|
|
6073
|
+
};
|
|
6074
|
+
readonly turnMissing?: boolean | undefined;
|
|
6075
|
+
} | undefined;
|
|
6076
|
+
readonly observationError?: string | undefined;
|
|
6077
|
+
} | undefined;
|
|
6078
|
+
readonly briefSteers?: readonly {
|
|
6079
|
+
readonly error?: string | undefined;
|
|
6080
|
+
readonly requestedAt: number;
|
|
6081
|
+
readonly revision: string;
|
|
6082
|
+
readonly steeredAt?: number | undefined;
|
|
6083
|
+
}[] | undefined;
|
|
5453
6084
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5454
6085
|
readonly missingSince?: number | undefined;
|
|
5455
6086
|
readonly observationRetries?: number | undefined;
|
|
@@ -5688,6 +6319,33 @@ export declare const refreshBrief: (state: {
|
|
|
5688
6319
|
readonly admissionReady?: boolean | undefined;
|
|
5689
6320
|
readonly areas?: readonly string[] | undefined;
|
|
5690
6321
|
readonly attempts: readonly {
|
|
6322
|
+
readonly abandoned?: {
|
|
6323
|
+
readonly at: number;
|
|
6324
|
+
readonly interruptError?: string | undefined;
|
|
6325
|
+
readonly observation?: {
|
|
6326
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6327
|
+
readonly error?: string | undefined;
|
|
6328
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6329
|
+
readonly output: string;
|
|
6330
|
+
readonly progress?: readonly {
|
|
6331
|
+
readonly id: string;
|
|
6332
|
+
readonly status?: string | undefined;
|
|
6333
|
+
}[] | undefined;
|
|
6334
|
+
readonly provisioning: "ready" | "unknown";
|
|
6335
|
+
readonly receipt: {
|
|
6336
|
+
readonly sessionId: string;
|
|
6337
|
+
readonly turnId: string;
|
|
6338
|
+
};
|
|
6339
|
+
readonly turnMissing?: boolean | undefined;
|
|
6340
|
+
} | undefined;
|
|
6341
|
+
readonly observationError?: string | undefined;
|
|
6342
|
+
} | undefined;
|
|
6343
|
+
readonly briefSteers?: readonly {
|
|
6344
|
+
readonly error?: string | undefined;
|
|
6345
|
+
readonly requestedAt: number;
|
|
6346
|
+
readonly revision: string;
|
|
6347
|
+
readonly steeredAt?: number | undefined;
|
|
6348
|
+
}[] | undefined;
|
|
5691
6349
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5692
6350
|
readonly missingSince?: number | undefined;
|
|
5693
6351
|
readonly observationRetries?: number | undefined;
|
|
@@ -5928,17 +6586,39 @@ export declare const refreshBrief: (state: {
|
|
|
5928
6586
|
};
|
|
5929
6587
|
version: number;
|
|
5930
6588
|
}, 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>;
|
|
5931
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
5932
|
-
readonly backlog: boolean;
|
|
5933
|
-
readonly executing: boolean;
|
|
5934
|
-
readonly owner: string;
|
|
5935
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5936
6589
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5937
6590
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
5938
6591
|
insert: (record: {
|
|
5939
6592
|
readonly admissionReady?: boolean | undefined;
|
|
5940
6593
|
readonly areas?: readonly string[] | undefined;
|
|
5941
6594
|
readonly attempts: readonly {
|
|
6595
|
+
readonly abandoned?: {
|
|
6596
|
+
readonly at: number;
|
|
6597
|
+
readonly interruptError?: string | undefined;
|
|
6598
|
+
readonly observation?: {
|
|
6599
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6600
|
+
readonly error?: string | undefined;
|
|
6601
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6602
|
+
readonly output: string;
|
|
6603
|
+
readonly progress?: readonly {
|
|
6604
|
+
readonly id: string;
|
|
6605
|
+
readonly status?: string | undefined;
|
|
6606
|
+
}[] | undefined;
|
|
6607
|
+
readonly provisioning: "ready" | "unknown";
|
|
6608
|
+
readonly receipt: {
|
|
6609
|
+
readonly sessionId: string;
|
|
6610
|
+
readonly turnId: string;
|
|
6611
|
+
};
|
|
6612
|
+
readonly turnMissing?: boolean | undefined;
|
|
6613
|
+
} | undefined;
|
|
6614
|
+
readonly observationError?: string | undefined;
|
|
6615
|
+
} | undefined;
|
|
6616
|
+
readonly briefSteers?: readonly {
|
|
6617
|
+
readonly error?: string | undefined;
|
|
6618
|
+
readonly requestedAt: number;
|
|
6619
|
+
readonly revision: string;
|
|
6620
|
+
readonly steeredAt?: number | undefined;
|
|
6621
|
+
}[] | undefined;
|
|
5942
6622
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5943
6623
|
readonly missingSince?: number | undefined;
|
|
5944
6624
|
readonly observationRetries?: number | undefined;
|
|
@@ -6177,6 +6857,33 @@ export declare const refreshBrief: (state: {
|
|
|
6177
6857
|
readonly admissionReady?: boolean | undefined;
|
|
6178
6858
|
readonly areas?: readonly string[] | undefined;
|
|
6179
6859
|
readonly attempts: readonly {
|
|
6860
|
+
readonly abandoned?: {
|
|
6861
|
+
readonly at: number;
|
|
6862
|
+
readonly interruptError?: string | undefined;
|
|
6863
|
+
readonly observation?: {
|
|
6864
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6865
|
+
readonly error?: string | undefined;
|
|
6866
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6867
|
+
readonly output: string;
|
|
6868
|
+
readonly progress?: readonly {
|
|
6869
|
+
readonly id: string;
|
|
6870
|
+
readonly status?: string | undefined;
|
|
6871
|
+
}[] | undefined;
|
|
6872
|
+
readonly provisioning: "ready" | "unknown";
|
|
6873
|
+
readonly receipt: {
|
|
6874
|
+
readonly sessionId: string;
|
|
6875
|
+
readonly turnId: string;
|
|
6876
|
+
};
|
|
6877
|
+
readonly turnMissing?: boolean | undefined;
|
|
6878
|
+
} | undefined;
|
|
6879
|
+
readonly observationError?: string | undefined;
|
|
6880
|
+
} | undefined;
|
|
6881
|
+
readonly briefSteers?: readonly {
|
|
6882
|
+
readonly error?: string | undefined;
|
|
6883
|
+
readonly requestedAt: number;
|
|
6884
|
+
readonly revision: string;
|
|
6885
|
+
readonly steeredAt?: number | undefined;
|
|
6886
|
+
}[] | undefined;
|
|
6180
6887
|
readonly checkFailures?: readonly string[] | undefined;
|
|
6181
6888
|
readonly missingSince?: number | undefined;
|
|
6182
6889
|
readonly observationRetries?: number | undefined;
|
|
@@ -6419,6 +7126,33 @@ export declare const refreshBrief: (state: {
|
|
|
6419
7126
|
readonly admissionReady?: boolean | undefined;
|
|
6420
7127
|
readonly areas?: readonly string[] | undefined;
|
|
6421
7128
|
readonly attempts: readonly {
|
|
7129
|
+
readonly abandoned?: {
|
|
7130
|
+
readonly at: number;
|
|
7131
|
+
readonly interruptError?: string | undefined;
|
|
7132
|
+
readonly observation?: {
|
|
7133
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
7134
|
+
readonly error?: string | undefined;
|
|
7135
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
7136
|
+
readonly output: string;
|
|
7137
|
+
readonly progress?: readonly {
|
|
7138
|
+
readonly id: string;
|
|
7139
|
+
readonly status?: string | undefined;
|
|
7140
|
+
}[] | undefined;
|
|
7141
|
+
readonly provisioning: "ready" | "unknown";
|
|
7142
|
+
readonly receipt: {
|
|
7143
|
+
readonly sessionId: string;
|
|
7144
|
+
readonly turnId: string;
|
|
7145
|
+
};
|
|
7146
|
+
readonly turnMissing?: boolean | undefined;
|
|
7147
|
+
} | undefined;
|
|
7148
|
+
readonly observationError?: string | undefined;
|
|
7149
|
+
} | undefined;
|
|
7150
|
+
readonly briefSteers?: readonly {
|
|
7151
|
+
readonly error?: string | undefined;
|
|
7152
|
+
readonly requestedAt: number;
|
|
7153
|
+
readonly revision: string;
|
|
7154
|
+
readonly steeredAt?: number | undefined;
|
|
7155
|
+
}[] | undefined;
|
|
6422
7156
|
readonly checkFailures?: readonly string[] | undefined;
|
|
6423
7157
|
readonly missingSince?: number | undefined;
|
|
6424
7158
|
readonly observationRetries?: number | undefined;
|
|
@@ -6657,6 +7391,33 @@ export declare const refreshBrief: (state: {
|
|
|
6657
7391
|
readonly admissionReady?: boolean | undefined;
|
|
6658
7392
|
readonly areas?: readonly string[] | undefined;
|
|
6659
7393
|
readonly attempts: readonly {
|
|
7394
|
+
readonly abandoned?: {
|
|
7395
|
+
readonly at: number;
|
|
7396
|
+
readonly interruptError?: string | undefined;
|
|
7397
|
+
readonly observation?: {
|
|
7398
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
7399
|
+
readonly error?: string | undefined;
|
|
7400
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
7401
|
+
readonly output: string;
|
|
7402
|
+
readonly progress?: readonly {
|
|
7403
|
+
readonly id: string;
|
|
7404
|
+
readonly status?: string | undefined;
|
|
7405
|
+
}[] | undefined;
|
|
7406
|
+
readonly provisioning: "ready" | "unknown";
|
|
7407
|
+
readonly receipt: {
|
|
7408
|
+
readonly sessionId: string;
|
|
7409
|
+
readonly turnId: string;
|
|
7410
|
+
};
|
|
7411
|
+
readonly turnMissing?: boolean | undefined;
|
|
7412
|
+
} | undefined;
|
|
7413
|
+
readonly observationError?: string | undefined;
|
|
7414
|
+
} | undefined;
|
|
7415
|
+
readonly briefSteers?: readonly {
|
|
7416
|
+
readonly error?: string | undefined;
|
|
7417
|
+
readonly requestedAt: number;
|
|
7418
|
+
readonly revision: string;
|
|
7419
|
+
readonly steeredAt?: number | undefined;
|
|
7420
|
+
}[] | undefined;
|
|
6660
7421
|
readonly checkFailures?: readonly string[] | undefined;
|
|
6661
7422
|
readonly missingSince?: number | undefined;
|
|
6662
7423
|
readonly observationRetries?: number | undefined;
|
|
@@ -6902,6 +7663,33 @@ export declare const refreshBrief: (state: {
|
|
|
6902
7663
|
readonly admissionReady?: boolean | undefined;
|
|
6903
7664
|
readonly areas?: readonly string[] | undefined;
|
|
6904
7665
|
readonly attempts: readonly {
|
|
7666
|
+
readonly abandoned?: {
|
|
7667
|
+
readonly at: number;
|
|
7668
|
+
readonly interruptError?: string | undefined;
|
|
7669
|
+
readonly observation?: {
|
|
7670
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
7671
|
+
readonly error?: string | undefined;
|
|
7672
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
7673
|
+
readonly output: string;
|
|
7674
|
+
readonly progress?: readonly {
|
|
7675
|
+
readonly id: string;
|
|
7676
|
+
readonly status?: string | undefined;
|
|
7677
|
+
}[] | undefined;
|
|
7678
|
+
readonly provisioning: "ready" | "unknown";
|
|
7679
|
+
readonly receipt: {
|
|
7680
|
+
readonly sessionId: string;
|
|
7681
|
+
readonly turnId: string;
|
|
7682
|
+
};
|
|
7683
|
+
readonly turnMissing?: boolean | undefined;
|
|
7684
|
+
} | undefined;
|
|
7685
|
+
readonly observationError?: string | undefined;
|
|
7686
|
+
} | undefined;
|
|
7687
|
+
readonly briefSteers?: readonly {
|
|
7688
|
+
readonly error?: string | undefined;
|
|
7689
|
+
readonly requestedAt: number;
|
|
7690
|
+
readonly revision: string;
|
|
7691
|
+
readonly steeredAt?: number | undefined;
|
|
7692
|
+
}[] | undefined;
|
|
6905
7693
|
readonly checkFailures?: readonly string[] | undefined;
|
|
6906
7694
|
readonly missingSince?: number | undefined;
|
|
6907
7695
|
readonly observationRetries?: number | undefined;
|
|
@@ -7140,9 +7928,36 @@ export declare const refreshBrief: (state: {
|
|
|
7140
7928
|
readonly admissionReady?: boolean | undefined;
|
|
7141
7929
|
readonly areas?: readonly string[] | undefined;
|
|
7142
7930
|
readonly attempts: readonly {
|
|
7143
|
-
readonly
|
|
7144
|
-
|
|
7145
|
-
|
|
7931
|
+
readonly abandoned?: {
|
|
7932
|
+
readonly at: number;
|
|
7933
|
+
readonly interruptError?: string | undefined;
|
|
7934
|
+
readonly observation?: {
|
|
7935
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
7936
|
+
readonly error?: string | undefined;
|
|
7937
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
7938
|
+
readonly output: string;
|
|
7939
|
+
readonly progress?: readonly {
|
|
7940
|
+
readonly id: string;
|
|
7941
|
+
readonly status?: string | undefined;
|
|
7942
|
+
}[] | undefined;
|
|
7943
|
+
readonly provisioning: "ready" | "unknown";
|
|
7944
|
+
readonly receipt: {
|
|
7945
|
+
readonly sessionId: string;
|
|
7946
|
+
readonly turnId: string;
|
|
7947
|
+
};
|
|
7948
|
+
readonly turnMissing?: boolean | undefined;
|
|
7949
|
+
} | undefined;
|
|
7950
|
+
readonly observationError?: string | undefined;
|
|
7951
|
+
} | undefined;
|
|
7952
|
+
readonly briefSteers?: readonly {
|
|
7953
|
+
readonly error?: string | undefined;
|
|
7954
|
+
readonly requestedAt: number;
|
|
7955
|
+
readonly revision: string;
|
|
7956
|
+
readonly steeredAt?: number | undefined;
|
|
7957
|
+
}[] | undefined;
|
|
7958
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
7959
|
+
readonly missingSince?: number | undefined;
|
|
7960
|
+
readonly observationRetries?: number | undefined;
|
|
7146
7961
|
readonly operationId: string;
|
|
7147
7962
|
readonly output?: string | undefined;
|
|
7148
7963
|
readonly progress?: {
|
|
@@ -7385,6 +8200,33 @@ export declare const refreshBrief: (state: {
|
|
|
7385
8200
|
readonly admissionReady?: boolean | undefined;
|
|
7386
8201
|
readonly areas?: readonly string[] | undefined;
|
|
7387
8202
|
readonly attempts: readonly {
|
|
8203
|
+
readonly abandoned?: {
|
|
8204
|
+
readonly at: number;
|
|
8205
|
+
readonly interruptError?: string | undefined;
|
|
8206
|
+
readonly observation?: {
|
|
8207
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
8208
|
+
readonly error?: string | undefined;
|
|
8209
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
8210
|
+
readonly output: string;
|
|
8211
|
+
readonly progress?: readonly {
|
|
8212
|
+
readonly id: string;
|
|
8213
|
+
readonly status?: string | undefined;
|
|
8214
|
+
}[] | undefined;
|
|
8215
|
+
readonly provisioning: "ready" | "unknown";
|
|
8216
|
+
readonly receipt: {
|
|
8217
|
+
readonly sessionId: string;
|
|
8218
|
+
readonly turnId: string;
|
|
8219
|
+
};
|
|
8220
|
+
readonly turnMissing?: boolean | undefined;
|
|
8221
|
+
} | undefined;
|
|
8222
|
+
readonly observationError?: string | undefined;
|
|
8223
|
+
} | undefined;
|
|
8224
|
+
readonly briefSteers?: readonly {
|
|
8225
|
+
readonly error?: string | undefined;
|
|
8226
|
+
readonly requestedAt: number;
|
|
8227
|
+
readonly revision: string;
|
|
8228
|
+
readonly steeredAt?: number | undefined;
|
|
8229
|
+
}[] | undefined;
|
|
7388
8230
|
readonly checkFailures?: readonly string[] | undefined;
|
|
7389
8231
|
readonly missingSince?: number | undefined;
|
|
7390
8232
|
readonly observationRetries?: number | undefined;
|
|
@@ -7623,6 +8465,33 @@ export declare const refreshBrief: (state: {
|
|
|
7623
8465
|
readonly admissionReady?: boolean | undefined;
|
|
7624
8466
|
readonly areas?: readonly string[] | undefined;
|
|
7625
8467
|
readonly attempts: readonly {
|
|
8468
|
+
readonly abandoned?: {
|
|
8469
|
+
readonly at: number;
|
|
8470
|
+
readonly interruptError?: string | undefined;
|
|
8471
|
+
readonly observation?: {
|
|
8472
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
8473
|
+
readonly error?: string | undefined;
|
|
8474
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
8475
|
+
readonly output: string;
|
|
8476
|
+
readonly progress?: readonly {
|
|
8477
|
+
readonly id: string;
|
|
8478
|
+
readonly status?: string | undefined;
|
|
8479
|
+
}[] | undefined;
|
|
8480
|
+
readonly provisioning: "ready" | "unknown";
|
|
8481
|
+
readonly receipt: {
|
|
8482
|
+
readonly sessionId: string;
|
|
8483
|
+
readonly turnId: string;
|
|
8484
|
+
};
|
|
8485
|
+
readonly turnMissing?: boolean | undefined;
|
|
8486
|
+
} | undefined;
|
|
8487
|
+
readonly observationError?: string | undefined;
|
|
8488
|
+
} | undefined;
|
|
8489
|
+
readonly briefSteers?: readonly {
|
|
8490
|
+
readonly error?: string | undefined;
|
|
8491
|
+
readonly requestedAt: number;
|
|
8492
|
+
readonly revision: string;
|
|
8493
|
+
readonly steeredAt?: number | undefined;
|
|
8494
|
+
}[] | undefined;
|
|
7626
8495
|
readonly checkFailures?: readonly string[] | undefined;
|
|
7627
8496
|
readonly missingSince?: number | undefined;
|
|
7628
8497
|
readonly observationRetries?: number | undefined;
|
|
@@ -7863,20 +8732,42 @@ export declare const refreshBrief: (state: {
|
|
|
7863
8732
|
};
|
|
7864
8733
|
version: number;
|
|
7865
8734
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
7866
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
}[], import("effect/
|
|
7870
|
-
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
7871
|
-
reserveForeign: (owner: string, occupancy?: {
|
|
7872
|
-
readonly executing: boolean;
|
|
7873
|
-
readonly backlog: boolean;
|
|
7874
|
-
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
8735
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
8736
|
+
readonly workId: string;
|
|
8737
|
+
readonly version: number;
|
|
8738
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
7875
8739
|
}, "operationEntries">>;
|
|
7876
8740
|
}, stored: Versioned<{
|
|
7877
8741
|
readonly admissionReady?: boolean | undefined;
|
|
7878
8742
|
readonly areas?: readonly string[] | undefined;
|
|
7879
8743
|
readonly attempts: readonly {
|
|
8744
|
+
readonly abandoned?: {
|
|
8745
|
+
readonly at: number;
|
|
8746
|
+
readonly interruptError?: string | undefined;
|
|
8747
|
+
readonly observation?: {
|
|
8748
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
8749
|
+
readonly error?: string | undefined;
|
|
8750
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
8751
|
+
readonly output: string;
|
|
8752
|
+
readonly progress?: readonly {
|
|
8753
|
+
readonly id: string;
|
|
8754
|
+
readonly status?: string | undefined;
|
|
8755
|
+
}[] | undefined;
|
|
8756
|
+
readonly provisioning: "ready" | "unknown";
|
|
8757
|
+
readonly receipt: {
|
|
8758
|
+
readonly sessionId: string;
|
|
8759
|
+
readonly turnId: string;
|
|
8760
|
+
};
|
|
8761
|
+
readonly turnMissing?: boolean | undefined;
|
|
8762
|
+
} | undefined;
|
|
8763
|
+
readonly observationError?: string | undefined;
|
|
8764
|
+
} | undefined;
|
|
8765
|
+
readonly briefSteers?: readonly {
|
|
8766
|
+
readonly error?: string | undefined;
|
|
8767
|
+
readonly requestedAt: number;
|
|
8768
|
+
readonly revision: string;
|
|
8769
|
+
readonly steeredAt?: number | undefined;
|
|
8770
|
+
}[] | undefined;
|
|
7880
8771
|
readonly checkFailures?: readonly string[] | undefined;
|
|
7881
8772
|
readonly missingSince?: number | undefined;
|
|
7882
8773
|
readonly observationRetries?: number | undefined;
|
|
@@ -8115,6 +9006,33 @@ export declare const refreshBrief: (state: {
|
|
|
8115
9006
|
readonly admissionReady?: boolean | undefined;
|
|
8116
9007
|
readonly areas?: readonly string[] | undefined;
|
|
8117
9008
|
readonly attempts: readonly {
|
|
9009
|
+
readonly abandoned?: {
|
|
9010
|
+
readonly at: number;
|
|
9011
|
+
readonly interruptError?: string | undefined;
|
|
9012
|
+
readonly observation?: {
|
|
9013
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
9014
|
+
readonly error?: string | undefined;
|
|
9015
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
9016
|
+
readonly output: string;
|
|
9017
|
+
readonly progress?: readonly {
|
|
9018
|
+
readonly id: string;
|
|
9019
|
+
readonly status?: string | undefined;
|
|
9020
|
+
}[] | undefined;
|
|
9021
|
+
readonly provisioning: "ready" | "unknown";
|
|
9022
|
+
readonly receipt: {
|
|
9023
|
+
readonly sessionId: string;
|
|
9024
|
+
readonly turnId: string;
|
|
9025
|
+
};
|
|
9026
|
+
readonly turnMissing?: boolean | undefined;
|
|
9027
|
+
} | undefined;
|
|
9028
|
+
readonly observationError?: string | undefined;
|
|
9029
|
+
} | undefined;
|
|
9030
|
+
readonly briefSteers?: readonly {
|
|
9031
|
+
readonly error?: string | undefined;
|
|
9032
|
+
readonly requestedAt: number;
|
|
9033
|
+
readonly revision: string;
|
|
9034
|
+
readonly steeredAt?: number | undefined;
|
|
9035
|
+
}[] | undefined;
|
|
8118
9036
|
readonly checkFailures?: readonly string[] | undefined;
|
|
8119
9037
|
readonly missingSince?: number | undefined;
|
|
8120
9038
|
readonly observationRetries?: number | undefined;
|
|
@@ -8366,6 +9284,33 @@ export declare const refreshBrief: (state: {
|
|
|
8366
9284
|
readonly admissionReady?: boolean | undefined;
|
|
8367
9285
|
readonly areas?: readonly string[] | undefined;
|
|
8368
9286
|
readonly attempts: readonly {
|
|
9287
|
+
readonly abandoned?: {
|
|
9288
|
+
readonly at: number;
|
|
9289
|
+
readonly interruptError?: string | undefined;
|
|
9290
|
+
readonly observation?: {
|
|
9291
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
9292
|
+
readonly error?: string | undefined;
|
|
9293
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
9294
|
+
readonly output: string;
|
|
9295
|
+
readonly progress?: readonly {
|
|
9296
|
+
readonly id: string;
|
|
9297
|
+
readonly status?: string | undefined;
|
|
9298
|
+
}[] | undefined;
|
|
9299
|
+
readonly provisioning: "ready" | "unknown";
|
|
9300
|
+
readonly receipt: {
|
|
9301
|
+
readonly sessionId: string;
|
|
9302
|
+
readonly turnId: string;
|
|
9303
|
+
};
|
|
9304
|
+
readonly turnMissing?: boolean | undefined;
|
|
9305
|
+
} | undefined;
|
|
9306
|
+
readonly observationError?: string | undefined;
|
|
9307
|
+
} | undefined;
|
|
9308
|
+
readonly briefSteers?: readonly {
|
|
9309
|
+
readonly error?: string | undefined;
|
|
9310
|
+
readonly requestedAt: number;
|
|
9311
|
+
readonly revision: string;
|
|
9312
|
+
readonly steeredAt?: number | undefined;
|
|
9313
|
+
}[] | undefined;
|
|
8369
9314
|
readonly checkFailures?: readonly string[] | undefined;
|
|
8370
9315
|
readonly missingSince?: number | undefined;
|
|
8371
9316
|
readonly observationRetries?: number | undefined;
|
|
@@ -8604,6 +9549,33 @@ export declare const refreshBrief: (state: {
|
|
|
8604
9549
|
readonly admissionReady?: boolean | undefined;
|
|
8605
9550
|
readonly areas?: readonly string[] | undefined;
|
|
8606
9551
|
readonly attempts: readonly {
|
|
9552
|
+
readonly abandoned?: {
|
|
9553
|
+
readonly at: number;
|
|
9554
|
+
readonly interruptError?: string | undefined;
|
|
9555
|
+
readonly observation?: {
|
|
9556
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
9557
|
+
readonly error?: string | undefined;
|
|
9558
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
9559
|
+
readonly output: string;
|
|
9560
|
+
readonly progress?: readonly {
|
|
9561
|
+
readonly id: string;
|
|
9562
|
+
readonly status?: string | undefined;
|
|
9563
|
+
}[] | undefined;
|
|
9564
|
+
readonly provisioning: "ready" | "unknown";
|
|
9565
|
+
readonly receipt: {
|
|
9566
|
+
readonly sessionId: string;
|
|
9567
|
+
readonly turnId: string;
|
|
9568
|
+
};
|
|
9569
|
+
readonly turnMissing?: boolean | undefined;
|
|
9570
|
+
} | undefined;
|
|
9571
|
+
readonly observationError?: string | undefined;
|
|
9572
|
+
} | undefined;
|
|
9573
|
+
readonly briefSteers?: readonly {
|
|
9574
|
+
readonly error?: string | undefined;
|
|
9575
|
+
readonly requestedAt: number;
|
|
9576
|
+
readonly revision: string;
|
|
9577
|
+
readonly steeredAt?: number | undefined;
|
|
9578
|
+
}[] | undefined;
|
|
8607
9579
|
readonly checkFailures?: readonly string[] | undefined;
|
|
8608
9580
|
readonly missingSince?: number | undefined;
|
|
8609
9581
|
readonly observationRetries?: number | undefined;
|
|
@@ -8841,7 +9813,7 @@ export declare const refreshBrief: (state: {
|
|
|
8841
9813
|
readonly archivedAt: number;
|
|
8842
9814
|
}[] | undefined;
|
|
8843
9815
|
readonly workId: string;
|
|
8844
|
-
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | 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>;
|
|
9816
|
+
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | 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>;
|
|
8845
9817
|
export declare const reconcileBrief: (state: {
|
|
8846
9818
|
board: {
|
|
8847
9819
|
readonly acknowledgeDecision: (input: import("../board/schema.ts").BoardDecisionAcknowledgement) => Effect.Effect<void, import("#policy.ts").BoardFailure | import("../board/schema.ts").BoardAcknowledgementStale>;
|
|
@@ -8857,6 +9829,33 @@ export declare const reconcileBrief: (state: {
|
|
|
8857
9829
|
readonly admissionReady?: boolean | undefined;
|
|
8858
9830
|
readonly areas?: readonly string[] | undefined;
|
|
8859
9831
|
readonly attempts: readonly {
|
|
9832
|
+
readonly abandoned?: {
|
|
9833
|
+
readonly at: number;
|
|
9834
|
+
readonly interruptError?: string | undefined;
|
|
9835
|
+
readonly observation?: {
|
|
9836
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
9837
|
+
readonly error?: string | undefined;
|
|
9838
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
9839
|
+
readonly output: string;
|
|
9840
|
+
readonly progress?: readonly {
|
|
9841
|
+
readonly id: string;
|
|
9842
|
+
readonly status?: string | undefined;
|
|
9843
|
+
}[] | undefined;
|
|
9844
|
+
readonly provisioning: "ready" | "unknown";
|
|
9845
|
+
readonly receipt: {
|
|
9846
|
+
readonly sessionId: string;
|
|
9847
|
+
readonly turnId: string;
|
|
9848
|
+
};
|
|
9849
|
+
readonly turnMissing?: boolean | undefined;
|
|
9850
|
+
} | undefined;
|
|
9851
|
+
readonly observationError?: string | undefined;
|
|
9852
|
+
} | undefined;
|
|
9853
|
+
readonly briefSteers?: readonly {
|
|
9854
|
+
readonly error?: string | undefined;
|
|
9855
|
+
readonly requestedAt: number;
|
|
9856
|
+
readonly revision: string;
|
|
9857
|
+
readonly steeredAt?: number | undefined;
|
|
9858
|
+
}[] | undefined;
|
|
8860
9859
|
readonly checkFailures?: readonly string[] | undefined;
|
|
8861
9860
|
readonly missingSince?: number | undefined;
|
|
8862
9861
|
readonly observationRetries?: number | undefined;
|
|
@@ -9095,6 +10094,33 @@ export declare const reconcileBrief: (state: {
|
|
|
9095
10094
|
readonly admissionReady?: boolean | undefined;
|
|
9096
10095
|
readonly areas?: readonly string[] | undefined;
|
|
9097
10096
|
readonly attempts: readonly {
|
|
10097
|
+
readonly abandoned?: {
|
|
10098
|
+
readonly at: number;
|
|
10099
|
+
readonly interruptError?: string | undefined;
|
|
10100
|
+
readonly observation?: {
|
|
10101
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
10102
|
+
readonly error?: string | undefined;
|
|
10103
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
10104
|
+
readonly output: string;
|
|
10105
|
+
readonly progress?: readonly {
|
|
10106
|
+
readonly id: string;
|
|
10107
|
+
readonly status?: string | undefined;
|
|
10108
|
+
}[] | undefined;
|
|
10109
|
+
readonly provisioning: "ready" | "unknown";
|
|
10110
|
+
readonly receipt: {
|
|
10111
|
+
readonly sessionId: string;
|
|
10112
|
+
readonly turnId: string;
|
|
10113
|
+
};
|
|
10114
|
+
readonly turnMissing?: boolean | undefined;
|
|
10115
|
+
} | undefined;
|
|
10116
|
+
readonly observationError?: string | undefined;
|
|
10117
|
+
} | undefined;
|
|
10118
|
+
readonly briefSteers?: readonly {
|
|
10119
|
+
readonly error?: string | undefined;
|
|
10120
|
+
readonly requestedAt: number;
|
|
10121
|
+
readonly revision: string;
|
|
10122
|
+
readonly steeredAt?: number | undefined;
|
|
10123
|
+
}[] | undefined;
|
|
9098
10124
|
readonly checkFailures?: readonly string[] | undefined;
|
|
9099
10125
|
readonly missingSince?: number | undefined;
|
|
9100
10126
|
readonly observationRetries?: number | undefined;
|
|
@@ -9350,6 +10376,33 @@ export declare const reconcileBrief: (state: {
|
|
|
9350
10376
|
readonly admissionReady?: boolean | undefined;
|
|
9351
10377
|
readonly areas?: readonly string[] | undefined;
|
|
9352
10378
|
readonly attempts: readonly {
|
|
10379
|
+
readonly abandoned?: {
|
|
10380
|
+
readonly at: number;
|
|
10381
|
+
readonly interruptError?: string | undefined;
|
|
10382
|
+
readonly observation?: {
|
|
10383
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
10384
|
+
readonly error?: string | undefined;
|
|
10385
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
10386
|
+
readonly output: string;
|
|
10387
|
+
readonly progress?: readonly {
|
|
10388
|
+
readonly id: string;
|
|
10389
|
+
readonly status?: string | undefined;
|
|
10390
|
+
}[] | undefined;
|
|
10391
|
+
readonly provisioning: "ready" | "unknown";
|
|
10392
|
+
readonly receipt: {
|
|
10393
|
+
readonly sessionId: string;
|
|
10394
|
+
readonly turnId: string;
|
|
10395
|
+
};
|
|
10396
|
+
readonly turnMissing?: boolean | undefined;
|
|
10397
|
+
} | undefined;
|
|
10398
|
+
readonly observationError?: string | undefined;
|
|
10399
|
+
} | undefined;
|
|
10400
|
+
readonly briefSteers?: readonly {
|
|
10401
|
+
readonly error?: string | undefined;
|
|
10402
|
+
readonly requestedAt: number;
|
|
10403
|
+
readonly revision: string;
|
|
10404
|
+
readonly steeredAt?: number | undefined;
|
|
10405
|
+
}[] | undefined;
|
|
9353
10406
|
readonly checkFailures?: readonly string[] | undefined;
|
|
9354
10407
|
readonly missingSince?: number | undefined;
|
|
9355
10408
|
readonly observationRetries?: number | undefined;
|
|
@@ -9588,6 +10641,33 @@ export declare const reconcileBrief: (state: {
|
|
|
9588
10641
|
readonly admissionReady?: boolean | undefined;
|
|
9589
10642
|
readonly areas?: readonly string[] | undefined;
|
|
9590
10643
|
readonly attempts: readonly {
|
|
10644
|
+
readonly abandoned?: {
|
|
10645
|
+
readonly at: number;
|
|
10646
|
+
readonly interruptError?: string | undefined;
|
|
10647
|
+
readonly observation?: {
|
|
10648
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
10649
|
+
readonly error?: string | undefined;
|
|
10650
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
10651
|
+
readonly output: string;
|
|
10652
|
+
readonly progress?: readonly {
|
|
10653
|
+
readonly id: string;
|
|
10654
|
+
readonly status?: string | undefined;
|
|
10655
|
+
}[] | undefined;
|
|
10656
|
+
readonly provisioning: "ready" | "unknown";
|
|
10657
|
+
readonly receipt: {
|
|
10658
|
+
readonly sessionId: string;
|
|
10659
|
+
readonly turnId: string;
|
|
10660
|
+
};
|
|
10661
|
+
readonly turnMissing?: boolean | undefined;
|
|
10662
|
+
} | undefined;
|
|
10663
|
+
readonly observationError?: string | undefined;
|
|
10664
|
+
} | undefined;
|
|
10665
|
+
readonly briefSteers?: readonly {
|
|
10666
|
+
readonly error?: string | undefined;
|
|
10667
|
+
readonly requestedAt: number;
|
|
10668
|
+
readonly revision: string;
|
|
10669
|
+
readonly steeredAt?: number | undefined;
|
|
10670
|
+
}[] | undefined;
|
|
9591
10671
|
readonly checkFailures?: readonly string[] | undefined;
|
|
9592
10672
|
readonly missingSince?: number | undefined;
|
|
9593
10673
|
readonly observationRetries?: number | undefined;
|
|
@@ -9847,6 +10927,33 @@ export declare const reconcileBrief: (state: {
|
|
|
9847
10927
|
readonly admissionReady?: boolean | undefined;
|
|
9848
10928
|
readonly areas?: readonly string[] | undefined;
|
|
9849
10929
|
readonly attempts: readonly {
|
|
10930
|
+
readonly abandoned?: {
|
|
10931
|
+
readonly at: number;
|
|
10932
|
+
readonly interruptError?: string | undefined;
|
|
10933
|
+
readonly observation?: {
|
|
10934
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
10935
|
+
readonly error?: string | undefined;
|
|
10936
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
10937
|
+
readonly output: string;
|
|
10938
|
+
readonly progress?: readonly {
|
|
10939
|
+
readonly id: string;
|
|
10940
|
+
readonly status?: string | undefined;
|
|
10941
|
+
}[] | undefined;
|
|
10942
|
+
readonly provisioning: "ready" | "unknown";
|
|
10943
|
+
readonly receipt: {
|
|
10944
|
+
readonly sessionId: string;
|
|
10945
|
+
readonly turnId: string;
|
|
10946
|
+
};
|
|
10947
|
+
readonly turnMissing?: boolean | undefined;
|
|
10948
|
+
} | undefined;
|
|
10949
|
+
readonly observationError?: string | undefined;
|
|
10950
|
+
} | undefined;
|
|
10951
|
+
readonly briefSteers?: readonly {
|
|
10952
|
+
readonly error?: string | undefined;
|
|
10953
|
+
readonly requestedAt: number;
|
|
10954
|
+
readonly revision: string;
|
|
10955
|
+
readonly steeredAt?: number | undefined;
|
|
10956
|
+
}[] | undefined;
|
|
9850
10957
|
readonly checkFailures?: readonly string[] | undefined;
|
|
9851
10958
|
readonly missingSince?: number | undefined;
|
|
9852
10959
|
readonly observationRetries?: number | undefined;
|
|
@@ -10085,6 +11192,33 @@ export declare const reconcileBrief: (state: {
|
|
|
10085
11192
|
readonly admissionReady?: boolean | undefined;
|
|
10086
11193
|
readonly areas?: readonly string[] | undefined;
|
|
10087
11194
|
readonly attempts: readonly {
|
|
11195
|
+
readonly abandoned?: {
|
|
11196
|
+
readonly at: number;
|
|
11197
|
+
readonly interruptError?: string | undefined;
|
|
11198
|
+
readonly observation?: {
|
|
11199
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
11200
|
+
readonly error?: string | undefined;
|
|
11201
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
11202
|
+
readonly output: string;
|
|
11203
|
+
readonly progress?: readonly {
|
|
11204
|
+
readonly id: string;
|
|
11205
|
+
readonly status?: string | undefined;
|
|
11206
|
+
}[] | undefined;
|
|
11207
|
+
readonly provisioning: "ready" | "unknown";
|
|
11208
|
+
readonly receipt: {
|
|
11209
|
+
readonly sessionId: string;
|
|
11210
|
+
readonly turnId: string;
|
|
11211
|
+
};
|
|
11212
|
+
readonly turnMissing?: boolean | undefined;
|
|
11213
|
+
} | undefined;
|
|
11214
|
+
readonly observationError?: string | undefined;
|
|
11215
|
+
} | undefined;
|
|
11216
|
+
readonly briefSteers?: readonly {
|
|
11217
|
+
readonly error?: string | undefined;
|
|
11218
|
+
readonly requestedAt: number;
|
|
11219
|
+
readonly revision: string;
|
|
11220
|
+
readonly steeredAt?: number | undefined;
|
|
11221
|
+
}[] | undefined;
|
|
10088
11222
|
readonly checkFailures?: readonly string[] | undefined;
|
|
10089
11223
|
readonly missingSince?: number | undefined;
|
|
10090
11224
|
readonly observationRetries?: number | undefined;
|
|
@@ -10341,6 +11475,33 @@ export declare const reconcileBrief: (state: {
|
|
|
10341
11475
|
readonly admissionReady?: boolean | undefined;
|
|
10342
11476
|
readonly areas?: readonly string[] | undefined;
|
|
10343
11477
|
readonly attempts: readonly {
|
|
11478
|
+
readonly abandoned?: {
|
|
11479
|
+
readonly at: number;
|
|
11480
|
+
readonly interruptError?: string | undefined;
|
|
11481
|
+
readonly observation?: {
|
|
11482
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
11483
|
+
readonly error?: string | undefined;
|
|
11484
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
11485
|
+
readonly output: string;
|
|
11486
|
+
readonly progress?: readonly {
|
|
11487
|
+
readonly id: string;
|
|
11488
|
+
readonly status?: string | undefined;
|
|
11489
|
+
}[] | undefined;
|
|
11490
|
+
readonly provisioning: "ready" | "unknown";
|
|
11491
|
+
readonly receipt: {
|
|
11492
|
+
readonly sessionId: string;
|
|
11493
|
+
readonly turnId: string;
|
|
11494
|
+
};
|
|
11495
|
+
readonly turnMissing?: boolean | undefined;
|
|
11496
|
+
} | undefined;
|
|
11497
|
+
readonly observationError?: string | undefined;
|
|
11498
|
+
} | undefined;
|
|
11499
|
+
readonly briefSteers?: readonly {
|
|
11500
|
+
readonly error?: string | undefined;
|
|
11501
|
+
readonly requestedAt: number;
|
|
11502
|
+
readonly revision: string;
|
|
11503
|
+
readonly steeredAt?: number | undefined;
|
|
11504
|
+
}[] | undefined;
|
|
10344
11505
|
readonly checkFailures?: readonly string[] | undefined;
|
|
10345
11506
|
readonly missingSince?: number | undefined;
|
|
10346
11507
|
readonly observationRetries?: number | undefined;
|
|
@@ -10579,6 +11740,33 @@ export declare const reconcileBrief: (state: {
|
|
|
10579
11740
|
readonly admissionReady?: boolean | undefined;
|
|
10580
11741
|
readonly areas?: readonly string[] | undefined;
|
|
10581
11742
|
readonly attempts: readonly {
|
|
11743
|
+
readonly abandoned?: {
|
|
11744
|
+
readonly at: number;
|
|
11745
|
+
readonly interruptError?: string | undefined;
|
|
11746
|
+
readonly observation?: {
|
|
11747
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
11748
|
+
readonly error?: string | undefined;
|
|
11749
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
11750
|
+
readonly output: string;
|
|
11751
|
+
readonly progress?: readonly {
|
|
11752
|
+
readonly id: string;
|
|
11753
|
+
readonly status?: string | undefined;
|
|
11754
|
+
}[] | undefined;
|
|
11755
|
+
readonly provisioning: "ready" | "unknown";
|
|
11756
|
+
readonly receipt: {
|
|
11757
|
+
readonly sessionId: string;
|
|
11758
|
+
readonly turnId: string;
|
|
11759
|
+
};
|
|
11760
|
+
readonly turnMissing?: boolean | undefined;
|
|
11761
|
+
} | undefined;
|
|
11762
|
+
readonly observationError?: string | undefined;
|
|
11763
|
+
} | undefined;
|
|
11764
|
+
readonly briefSteers?: readonly {
|
|
11765
|
+
readonly error?: string | undefined;
|
|
11766
|
+
readonly requestedAt: number;
|
|
11767
|
+
readonly revision: string;
|
|
11768
|
+
readonly steeredAt?: number | undefined;
|
|
11769
|
+
}[] | undefined;
|
|
10582
11770
|
readonly checkFailures?: readonly string[] | undefined;
|
|
10583
11771
|
readonly missingSince?: number | undefined;
|
|
10584
11772
|
readonly observationRetries?: number | undefined;
|
|
@@ -10899,10 +12087,47 @@ export declare const reconcileBrief: (state: {
|
|
|
10899
12087
|
}, prompt: string) => Effect.Effect<void, import("../session/schema.ts").SessionFailure, never>;
|
|
10900
12088
|
}>;
|
|
10901
12089
|
store: Omit<{
|
|
12090
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
12091
|
+
readonly backlog: boolean;
|
|
12092
|
+
readonly executing: boolean;
|
|
12093
|
+
readonly owner: string;
|
|
12094
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
12095
|
+
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
12096
|
+
reserveForeign: (owner: string, occupancy?: {
|
|
12097
|
+
readonly executing: boolean;
|
|
12098
|
+
readonly backlog: boolean;
|
|
12099
|
+
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
10902
12100
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
10903
12101
|
readonly admissionReady?: boolean | undefined;
|
|
10904
12102
|
readonly areas?: readonly string[] | undefined;
|
|
10905
12103
|
readonly attempts: readonly {
|
|
12104
|
+
readonly abandoned?: {
|
|
12105
|
+
readonly at: number;
|
|
12106
|
+
readonly interruptError?: string | undefined;
|
|
12107
|
+
readonly observation?: {
|
|
12108
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
12109
|
+
readonly error?: string | undefined;
|
|
12110
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
12111
|
+
readonly output: string;
|
|
12112
|
+
readonly progress?: readonly {
|
|
12113
|
+
readonly id: string;
|
|
12114
|
+
readonly status?: string | undefined;
|
|
12115
|
+
}[] | undefined;
|
|
12116
|
+
readonly provisioning: "ready" | "unknown";
|
|
12117
|
+
readonly receipt: {
|
|
12118
|
+
readonly sessionId: string;
|
|
12119
|
+
readonly turnId: string;
|
|
12120
|
+
};
|
|
12121
|
+
readonly turnMissing?: boolean | undefined;
|
|
12122
|
+
} | undefined;
|
|
12123
|
+
readonly observationError?: string | undefined;
|
|
12124
|
+
} | undefined;
|
|
12125
|
+
readonly briefSteers?: readonly {
|
|
12126
|
+
readonly error?: string | undefined;
|
|
12127
|
+
readonly requestedAt: number;
|
|
12128
|
+
readonly revision: string;
|
|
12129
|
+
readonly steeredAt?: number | undefined;
|
|
12130
|
+
}[] | undefined;
|
|
10906
12131
|
readonly checkFailures?: readonly string[] | undefined;
|
|
10907
12132
|
readonly missingSince?: number | undefined;
|
|
10908
12133
|
readonly observationRetries?: number | undefined;
|
|
@@ -11141,6 +12366,33 @@ export declare const reconcileBrief: (state: {
|
|
|
11141
12366
|
readonly admissionReady?: boolean | undefined;
|
|
11142
12367
|
readonly areas?: readonly string[] | undefined;
|
|
11143
12368
|
readonly attempts: readonly {
|
|
12369
|
+
readonly abandoned?: {
|
|
12370
|
+
readonly at: number;
|
|
12371
|
+
readonly interruptError?: string | undefined;
|
|
12372
|
+
readonly observation?: {
|
|
12373
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
12374
|
+
readonly error?: string | undefined;
|
|
12375
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
12376
|
+
readonly output: string;
|
|
12377
|
+
readonly progress?: readonly {
|
|
12378
|
+
readonly id: string;
|
|
12379
|
+
readonly status?: string | undefined;
|
|
12380
|
+
}[] | undefined;
|
|
12381
|
+
readonly provisioning: "ready" | "unknown";
|
|
12382
|
+
readonly receipt: {
|
|
12383
|
+
readonly sessionId: string;
|
|
12384
|
+
readonly turnId: string;
|
|
12385
|
+
};
|
|
12386
|
+
readonly turnMissing?: boolean | undefined;
|
|
12387
|
+
} | undefined;
|
|
12388
|
+
readonly observationError?: string | undefined;
|
|
12389
|
+
} | undefined;
|
|
12390
|
+
readonly briefSteers?: readonly {
|
|
12391
|
+
readonly error?: string | undefined;
|
|
12392
|
+
readonly requestedAt: number;
|
|
12393
|
+
readonly revision: string;
|
|
12394
|
+
readonly steeredAt?: number | undefined;
|
|
12395
|
+
}[] | undefined;
|
|
11144
12396
|
readonly checkFailures?: readonly string[] | undefined;
|
|
11145
12397
|
readonly missingSince?: number | undefined;
|
|
11146
12398
|
readonly observationRetries?: number | undefined;
|
|
@@ -11383,6 +12635,33 @@ export declare const reconcileBrief: (state: {
|
|
|
11383
12635
|
readonly admissionReady?: boolean | undefined;
|
|
11384
12636
|
readonly areas?: readonly string[] | undefined;
|
|
11385
12637
|
readonly attempts: readonly {
|
|
12638
|
+
readonly abandoned?: {
|
|
12639
|
+
readonly at: number;
|
|
12640
|
+
readonly interruptError?: string | undefined;
|
|
12641
|
+
readonly observation?: {
|
|
12642
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
12643
|
+
readonly error?: string | undefined;
|
|
12644
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
12645
|
+
readonly output: string;
|
|
12646
|
+
readonly progress?: readonly {
|
|
12647
|
+
readonly id: string;
|
|
12648
|
+
readonly status?: string | undefined;
|
|
12649
|
+
}[] | undefined;
|
|
12650
|
+
readonly provisioning: "ready" | "unknown";
|
|
12651
|
+
readonly receipt: {
|
|
12652
|
+
readonly sessionId: string;
|
|
12653
|
+
readonly turnId: string;
|
|
12654
|
+
};
|
|
12655
|
+
readonly turnMissing?: boolean | undefined;
|
|
12656
|
+
} | undefined;
|
|
12657
|
+
readonly observationError?: string | undefined;
|
|
12658
|
+
} | undefined;
|
|
12659
|
+
readonly briefSteers?: readonly {
|
|
12660
|
+
readonly error?: string | undefined;
|
|
12661
|
+
readonly requestedAt: number;
|
|
12662
|
+
readonly revision: string;
|
|
12663
|
+
readonly steeredAt?: number | undefined;
|
|
12664
|
+
}[] | undefined;
|
|
11386
12665
|
readonly checkFailures?: readonly string[] | undefined;
|
|
11387
12666
|
readonly missingSince?: number | undefined;
|
|
11388
12667
|
readonly observationRetries?: number | undefined;
|
|
@@ -11621,6 +12900,33 @@ export declare const reconcileBrief: (state: {
|
|
|
11621
12900
|
readonly admissionReady?: boolean | undefined;
|
|
11622
12901
|
readonly areas?: readonly string[] | undefined;
|
|
11623
12902
|
readonly attempts: readonly {
|
|
12903
|
+
readonly abandoned?: {
|
|
12904
|
+
readonly at: number;
|
|
12905
|
+
readonly interruptError?: string | undefined;
|
|
12906
|
+
readonly observation?: {
|
|
12907
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
12908
|
+
readonly error?: string | undefined;
|
|
12909
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
12910
|
+
readonly output: string;
|
|
12911
|
+
readonly progress?: readonly {
|
|
12912
|
+
readonly id: string;
|
|
12913
|
+
readonly status?: string | undefined;
|
|
12914
|
+
}[] | undefined;
|
|
12915
|
+
readonly provisioning: "ready" | "unknown";
|
|
12916
|
+
readonly receipt: {
|
|
12917
|
+
readonly sessionId: string;
|
|
12918
|
+
readonly turnId: string;
|
|
12919
|
+
};
|
|
12920
|
+
readonly turnMissing?: boolean | undefined;
|
|
12921
|
+
} | undefined;
|
|
12922
|
+
readonly observationError?: string | undefined;
|
|
12923
|
+
} | undefined;
|
|
12924
|
+
readonly briefSteers?: readonly {
|
|
12925
|
+
readonly error?: string | undefined;
|
|
12926
|
+
readonly requestedAt: number;
|
|
12927
|
+
readonly revision: string;
|
|
12928
|
+
readonly steeredAt?: number | undefined;
|
|
12929
|
+
}[] | undefined;
|
|
11624
12930
|
readonly checkFailures?: readonly string[] | undefined;
|
|
11625
12931
|
readonly missingSince?: number | undefined;
|
|
11626
12932
|
readonly observationRetries?: number | undefined;
|
|
@@ -11861,17 +13167,39 @@ export declare const reconcileBrief: (state: {
|
|
|
11861
13167
|
};
|
|
11862
13168
|
version: number;
|
|
11863
13169
|
}, 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>;
|
|
11864
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
11865
|
-
readonly backlog: boolean;
|
|
11866
|
-
readonly executing: boolean;
|
|
11867
|
-
readonly owner: string;
|
|
11868
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
11869
13170
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
11870
13171
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
11871
13172
|
insert: (record: {
|
|
11872
13173
|
readonly admissionReady?: boolean | undefined;
|
|
11873
13174
|
readonly areas?: readonly string[] | undefined;
|
|
11874
13175
|
readonly attempts: readonly {
|
|
13176
|
+
readonly abandoned?: {
|
|
13177
|
+
readonly at: number;
|
|
13178
|
+
readonly interruptError?: string | undefined;
|
|
13179
|
+
readonly observation?: {
|
|
13180
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
13181
|
+
readonly error?: string | undefined;
|
|
13182
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
13183
|
+
readonly output: string;
|
|
13184
|
+
readonly progress?: readonly {
|
|
13185
|
+
readonly id: string;
|
|
13186
|
+
readonly status?: string | undefined;
|
|
13187
|
+
}[] | undefined;
|
|
13188
|
+
readonly provisioning: "ready" | "unknown";
|
|
13189
|
+
readonly receipt: {
|
|
13190
|
+
readonly sessionId: string;
|
|
13191
|
+
readonly turnId: string;
|
|
13192
|
+
};
|
|
13193
|
+
readonly turnMissing?: boolean | undefined;
|
|
13194
|
+
} | undefined;
|
|
13195
|
+
readonly observationError?: string | undefined;
|
|
13196
|
+
} | undefined;
|
|
13197
|
+
readonly briefSteers?: readonly {
|
|
13198
|
+
readonly error?: string | undefined;
|
|
13199
|
+
readonly requestedAt: number;
|
|
13200
|
+
readonly revision: string;
|
|
13201
|
+
readonly steeredAt?: number | undefined;
|
|
13202
|
+
}[] | undefined;
|
|
11875
13203
|
readonly checkFailures?: readonly string[] | undefined;
|
|
11876
13204
|
readonly missingSince?: number | undefined;
|
|
11877
13205
|
readonly observationRetries?: number | undefined;
|
|
@@ -12110,6 +13438,33 @@ export declare const reconcileBrief: (state: {
|
|
|
12110
13438
|
readonly admissionReady?: boolean | undefined;
|
|
12111
13439
|
readonly areas?: readonly string[] | undefined;
|
|
12112
13440
|
readonly attempts: readonly {
|
|
13441
|
+
readonly abandoned?: {
|
|
13442
|
+
readonly at: number;
|
|
13443
|
+
readonly interruptError?: string | undefined;
|
|
13444
|
+
readonly observation?: {
|
|
13445
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
13446
|
+
readonly error?: string | undefined;
|
|
13447
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
13448
|
+
readonly output: string;
|
|
13449
|
+
readonly progress?: readonly {
|
|
13450
|
+
readonly id: string;
|
|
13451
|
+
readonly status?: string | undefined;
|
|
13452
|
+
}[] | undefined;
|
|
13453
|
+
readonly provisioning: "ready" | "unknown";
|
|
13454
|
+
readonly receipt: {
|
|
13455
|
+
readonly sessionId: string;
|
|
13456
|
+
readonly turnId: string;
|
|
13457
|
+
};
|
|
13458
|
+
readonly turnMissing?: boolean | undefined;
|
|
13459
|
+
} | undefined;
|
|
13460
|
+
readonly observationError?: string | undefined;
|
|
13461
|
+
} | undefined;
|
|
13462
|
+
readonly briefSteers?: readonly {
|
|
13463
|
+
readonly error?: string | undefined;
|
|
13464
|
+
readonly requestedAt: number;
|
|
13465
|
+
readonly revision: string;
|
|
13466
|
+
readonly steeredAt?: number | undefined;
|
|
13467
|
+
}[] | undefined;
|
|
12113
13468
|
readonly checkFailures?: readonly string[] | undefined;
|
|
12114
13469
|
readonly missingSince?: number | undefined;
|
|
12115
13470
|
readonly observationRetries?: number | undefined;
|
|
@@ -12352,6 +13707,33 @@ export declare const reconcileBrief: (state: {
|
|
|
12352
13707
|
readonly admissionReady?: boolean | undefined;
|
|
12353
13708
|
readonly areas?: readonly string[] | undefined;
|
|
12354
13709
|
readonly attempts: readonly {
|
|
13710
|
+
readonly abandoned?: {
|
|
13711
|
+
readonly at: number;
|
|
13712
|
+
readonly interruptError?: string | undefined;
|
|
13713
|
+
readonly observation?: {
|
|
13714
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
13715
|
+
readonly error?: string | undefined;
|
|
13716
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
13717
|
+
readonly output: string;
|
|
13718
|
+
readonly progress?: readonly {
|
|
13719
|
+
readonly id: string;
|
|
13720
|
+
readonly status?: string | undefined;
|
|
13721
|
+
}[] | undefined;
|
|
13722
|
+
readonly provisioning: "ready" | "unknown";
|
|
13723
|
+
readonly receipt: {
|
|
13724
|
+
readonly sessionId: string;
|
|
13725
|
+
readonly turnId: string;
|
|
13726
|
+
};
|
|
13727
|
+
readonly turnMissing?: boolean | undefined;
|
|
13728
|
+
} | undefined;
|
|
13729
|
+
readonly observationError?: string | undefined;
|
|
13730
|
+
} | undefined;
|
|
13731
|
+
readonly briefSteers?: readonly {
|
|
13732
|
+
readonly error?: string | undefined;
|
|
13733
|
+
readonly requestedAt: number;
|
|
13734
|
+
readonly revision: string;
|
|
13735
|
+
readonly steeredAt?: number | undefined;
|
|
13736
|
+
}[] | undefined;
|
|
12355
13737
|
readonly checkFailures?: readonly string[] | undefined;
|
|
12356
13738
|
readonly missingSince?: number | undefined;
|
|
12357
13739
|
readonly observationRetries?: number | undefined;
|
|
@@ -12590,6 +13972,33 @@ export declare const reconcileBrief: (state: {
|
|
|
12590
13972
|
readonly admissionReady?: boolean | undefined;
|
|
12591
13973
|
readonly areas?: readonly string[] | undefined;
|
|
12592
13974
|
readonly attempts: readonly {
|
|
13975
|
+
readonly abandoned?: {
|
|
13976
|
+
readonly at: number;
|
|
13977
|
+
readonly interruptError?: string | undefined;
|
|
13978
|
+
readonly observation?: {
|
|
13979
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
13980
|
+
readonly error?: string | undefined;
|
|
13981
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
13982
|
+
readonly output: string;
|
|
13983
|
+
readonly progress?: readonly {
|
|
13984
|
+
readonly id: string;
|
|
13985
|
+
readonly status?: string | undefined;
|
|
13986
|
+
}[] | undefined;
|
|
13987
|
+
readonly provisioning: "ready" | "unknown";
|
|
13988
|
+
readonly receipt: {
|
|
13989
|
+
readonly sessionId: string;
|
|
13990
|
+
readonly turnId: string;
|
|
13991
|
+
};
|
|
13992
|
+
readonly turnMissing?: boolean | undefined;
|
|
13993
|
+
} | undefined;
|
|
13994
|
+
readonly observationError?: string | undefined;
|
|
13995
|
+
} | undefined;
|
|
13996
|
+
readonly briefSteers?: readonly {
|
|
13997
|
+
readonly error?: string | undefined;
|
|
13998
|
+
readonly requestedAt: number;
|
|
13999
|
+
readonly revision: string;
|
|
14000
|
+
readonly steeredAt?: number | undefined;
|
|
14001
|
+
}[] | undefined;
|
|
12593
14002
|
readonly checkFailures?: readonly string[] | undefined;
|
|
12594
14003
|
readonly missingSince?: number | undefined;
|
|
12595
14004
|
readonly observationRetries?: number | undefined;
|
|
@@ -12835,6 +14244,33 @@ export declare const reconcileBrief: (state: {
|
|
|
12835
14244
|
readonly admissionReady?: boolean | undefined;
|
|
12836
14245
|
readonly areas?: readonly string[] | undefined;
|
|
12837
14246
|
readonly attempts: readonly {
|
|
14247
|
+
readonly abandoned?: {
|
|
14248
|
+
readonly at: number;
|
|
14249
|
+
readonly interruptError?: string | undefined;
|
|
14250
|
+
readonly observation?: {
|
|
14251
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
14252
|
+
readonly error?: string | undefined;
|
|
14253
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
14254
|
+
readonly output: string;
|
|
14255
|
+
readonly progress?: readonly {
|
|
14256
|
+
readonly id: string;
|
|
14257
|
+
readonly status?: string | undefined;
|
|
14258
|
+
}[] | undefined;
|
|
14259
|
+
readonly provisioning: "ready" | "unknown";
|
|
14260
|
+
readonly receipt: {
|
|
14261
|
+
readonly sessionId: string;
|
|
14262
|
+
readonly turnId: string;
|
|
14263
|
+
};
|
|
14264
|
+
readonly turnMissing?: boolean | undefined;
|
|
14265
|
+
} | undefined;
|
|
14266
|
+
readonly observationError?: string | undefined;
|
|
14267
|
+
} | undefined;
|
|
14268
|
+
readonly briefSteers?: readonly {
|
|
14269
|
+
readonly error?: string | undefined;
|
|
14270
|
+
readonly requestedAt: number;
|
|
14271
|
+
readonly revision: string;
|
|
14272
|
+
readonly steeredAt?: number | undefined;
|
|
14273
|
+
}[] | undefined;
|
|
12838
14274
|
readonly checkFailures?: readonly string[] | undefined;
|
|
12839
14275
|
readonly missingSince?: number | undefined;
|
|
12840
14276
|
readonly observationRetries?: number | undefined;
|
|
@@ -13073,6 +14509,33 @@ export declare const reconcileBrief: (state: {
|
|
|
13073
14509
|
readonly admissionReady?: boolean | undefined;
|
|
13074
14510
|
readonly areas?: readonly string[] | undefined;
|
|
13075
14511
|
readonly attempts: readonly {
|
|
14512
|
+
readonly abandoned?: {
|
|
14513
|
+
readonly at: number;
|
|
14514
|
+
readonly interruptError?: string | undefined;
|
|
14515
|
+
readonly observation?: {
|
|
14516
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
14517
|
+
readonly error?: string | undefined;
|
|
14518
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
14519
|
+
readonly output: string;
|
|
14520
|
+
readonly progress?: readonly {
|
|
14521
|
+
readonly id: string;
|
|
14522
|
+
readonly status?: string | undefined;
|
|
14523
|
+
}[] | undefined;
|
|
14524
|
+
readonly provisioning: "ready" | "unknown";
|
|
14525
|
+
readonly receipt: {
|
|
14526
|
+
readonly sessionId: string;
|
|
14527
|
+
readonly turnId: string;
|
|
14528
|
+
};
|
|
14529
|
+
readonly turnMissing?: boolean | undefined;
|
|
14530
|
+
} | undefined;
|
|
14531
|
+
readonly observationError?: string | undefined;
|
|
14532
|
+
} | undefined;
|
|
14533
|
+
readonly briefSteers?: readonly {
|
|
14534
|
+
readonly error?: string | undefined;
|
|
14535
|
+
readonly requestedAt: number;
|
|
14536
|
+
readonly revision: string;
|
|
14537
|
+
readonly steeredAt?: number | undefined;
|
|
14538
|
+
}[] | undefined;
|
|
13076
14539
|
readonly checkFailures?: readonly string[] | undefined;
|
|
13077
14540
|
readonly missingSince?: number | undefined;
|
|
13078
14541
|
readonly observationRetries?: number | undefined;
|
|
@@ -13318,6 +14781,33 @@ export declare const reconcileBrief: (state: {
|
|
|
13318
14781
|
readonly admissionReady?: boolean | undefined;
|
|
13319
14782
|
readonly areas?: readonly string[] | undefined;
|
|
13320
14783
|
readonly attempts: readonly {
|
|
14784
|
+
readonly abandoned?: {
|
|
14785
|
+
readonly at: number;
|
|
14786
|
+
readonly interruptError?: string | undefined;
|
|
14787
|
+
readonly observation?: {
|
|
14788
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
14789
|
+
readonly error?: string | undefined;
|
|
14790
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
14791
|
+
readonly output: string;
|
|
14792
|
+
readonly progress?: readonly {
|
|
14793
|
+
readonly id: string;
|
|
14794
|
+
readonly status?: string | undefined;
|
|
14795
|
+
}[] | undefined;
|
|
14796
|
+
readonly provisioning: "ready" | "unknown";
|
|
14797
|
+
readonly receipt: {
|
|
14798
|
+
readonly sessionId: string;
|
|
14799
|
+
readonly turnId: string;
|
|
14800
|
+
};
|
|
14801
|
+
readonly turnMissing?: boolean | undefined;
|
|
14802
|
+
} | undefined;
|
|
14803
|
+
readonly observationError?: string | undefined;
|
|
14804
|
+
} | undefined;
|
|
14805
|
+
readonly briefSteers?: readonly {
|
|
14806
|
+
readonly error?: string | undefined;
|
|
14807
|
+
readonly requestedAt: number;
|
|
14808
|
+
readonly revision: string;
|
|
14809
|
+
readonly steeredAt?: number | undefined;
|
|
14810
|
+
}[] | undefined;
|
|
13321
14811
|
readonly checkFailures?: readonly string[] | undefined;
|
|
13322
14812
|
readonly missingSince?: number | undefined;
|
|
13323
14813
|
readonly observationRetries?: number | undefined;
|
|
@@ -13556,6 +15046,33 @@ export declare const reconcileBrief: (state: {
|
|
|
13556
15046
|
readonly admissionReady?: boolean | undefined;
|
|
13557
15047
|
readonly areas?: readonly string[] | undefined;
|
|
13558
15048
|
readonly attempts: readonly {
|
|
15049
|
+
readonly abandoned?: {
|
|
15050
|
+
readonly at: number;
|
|
15051
|
+
readonly interruptError?: string | undefined;
|
|
15052
|
+
readonly observation?: {
|
|
15053
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
15054
|
+
readonly error?: string | undefined;
|
|
15055
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
15056
|
+
readonly output: string;
|
|
15057
|
+
readonly progress?: readonly {
|
|
15058
|
+
readonly id: string;
|
|
15059
|
+
readonly status?: string | undefined;
|
|
15060
|
+
}[] | undefined;
|
|
15061
|
+
readonly provisioning: "ready" | "unknown";
|
|
15062
|
+
readonly receipt: {
|
|
15063
|
+
readonly sessionId: string;
|
|
15064
|
+
readonly turnId: string;
|
|
15065
|
+
};
|
|
15066
|
+
readonly turnMissing?: boolean | undefined;
|
|
15067
|
+
} | undefined;
|
|
15068
|
+
readonly observationError?: string | undefined;
|
|
15069
|
+
} | undefined;
|
|
15070
|
+
readonly briefSteers?: readonly {
|
|
15071
|
+
readonly error?: string | undefined;
|
|
15072
|
+
readonly requestedAt: number;
|
|
15073
|
+
readonly revision: string;
|
|
15074
|
+
readonly steeredAt?: number | undefined;
|
|
15075
|
+
}[] | undefined;
|
|
13559
15076
|
readonly checkFailures?: readonly string[] | undefined;
|
|
13560
15077
|
readonly missingSince?: number | undefined;
|
|
13561
15078
|
readonly observationRetries?: number | undefined;
|
|
@@ -13796,20 +15313,52 @@ export declare const reconcileBrief: (state: {
|
|
|
13796
15313
|
};
|
|
13797
15314
|
version: number;
|
|
13798
15315
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
13799
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
13800
|
-
|
|
13801
|
-
|
|
13802
|
-
}[], import("effect/
|
|
15316
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
15317
|
+
readonly workId: string;
|
|
15318
|
+
readonly version: number;
|
|
15319
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
15320
|
+
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
15321
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
15322
|
+
readonly backlog: boolean;
|
|
15323
|
+
readonly executing: boolean;
|
|
15324
|
+
readonly owner: string;
|
|
15325
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
13803
15326
|
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
13804
15327
|
reserveForeign: (owner: string, occupancy?: {
|
|
13805
15328
|
readonly executing: boolean;
|
|
13806
15329
|
readonly backlog: boolean;
|
|
13807
15330
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
13808
|
-
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
13809
15331
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
13810
15332
|
readonly admissionReady?: boolean | undefined;
|
|
13811
15333
|
readonly areas?: readonly string[] | undefined;
|
|
13812
15334
|
readonly attempts: readonly {
|
|
15335
|
+
readonly abandoned?: {
|
|
15336
|
+
readonly at: number;
|
|
15337
|
+
readonly interruptError?: string | undefined;
|
|
15338
|
+
readonly observation?: {
|
|
15339
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
15340
|
+
readonly error?: string | undefined;
|
|
15341
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
15342
|
+
readonly output: string;
|
|
15343
|
+
readonly progress?: readonly {
|
|
15344
|
+
readonly id: string;
|
|
15345
|
+
readonly status?: string | undefined;
|
|
15346
|
+
}[] | undefined;
|
|
15347
|
+
readonly provisioning: "ready" | "unknown";
|
|
15348
|
+
readonly receipt: {
|
|
15349
|
+
readonly sessionId: string;
|
|
15350
|
+
readonly turnId: string;
|
|
15351
|
+
};
|
|
15352
|
+
readonly turnMissing?: boolean | undefined;
|
|
15353
|
+
} | undefined;
|
|
15354
|
+
readonly observationError?: string | undefined;
|
|
15355
|
+
} | undefined;
|
|
15356
|
+
readonly briefSteers?: readonly {
|
|
15357
|
+
readonly error?: string | undefined;
|
|
15358
|
+
readonly requestedAt: number;
|
|
15359
|
+
readonly revision: string;
|
|
15360
|
+
readonly steeredAt?: number | undefined;
|
|
15361
|
+
}[] | undefined;
|
|
13813
15362
|
readonly checkFailures?: readonly string[] | undefined;
|
|
13814
15363
|
readonly missingSince?: number | undefined;
|
|
13815
15364
|
readonly observationRetries?: number | undefined;
|
|
@@ -14048,6 +15597,33 @@ export declare const reconcileBrief: (state: {
|
|
|
14048
15597
|
readonly admissionReady?: boolean | undefined;
|
|
14049
15598
|
readonly areas?: readonly string[] | undefined;
|
|
14050
15599
|
readonly attempts: readonly {
|
|
15600
|
+
readonly abandoned?: {
|
|
15601
|
+
readonly at: number;
|
|
15602
|
+
readonly interruptError?: string | undefined;
|
|
15603
|
+
readonly observation?: {
|
|
15604
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
15605
|
+
readonly error?: string | undefined;
|
|
15606
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
15607
|
+
readonly output: string;
|
|
15608
|
+
readonly progress?: readonly {
|
|
15609
|
+
readonly id: string;
|
|
15610
|
+
readonly status?: string | undefined;
|
|
15611
|
+
}[] | undefined;
|
|
15612
|
+
readonly provisioning: "ready" | "unknown";
|
|
15613
|
+
readonly receipt: {
|
|
15614
|
+
readonly sessionId: string;
|
|
15615
|
+
readonly turnId: string;
|
|
15616
|
+
};
|
|
15617
|
+
readonly turnMissing?: boolean | undefined;
|
|
15618
|
+
} | undefined;
|
|
15619
|
+
readonly observationError?: string | undefined;
|
|
15620
|
+
} | undefined;
|
|
15621
|
+
readonly briefSteers?: readonly {
|
|
15622
|
+
readonly error?: string | undefined;
|
|
15623
|
+
readonly requestedAt: number;
|
|
15624
|
+
readonly revision: string;
|
|
15625
|
+
readonly steeredAt?: number | undefined;
|
|
15626
|
+
}[] | undefined;
|
|
14051
15627
|
readonly checkFailures?: readonly string[] | undefined;
|
|
14052
15628
|
readonly missingSince?: number | undefined;
|
|
14053
15629
|
readonly observationRetries?: number | undefined;
|
|
@@ -14290,6 +15866,33 @@ export declare const reconcileBrief: (state: {
|
|
|
14290
15866
|
readonly admissionReady?: boolean | undefined;
|
|
14291
15867
|
readonly areas?: readonly string[] | undefined;
|
|
14292
15868
|
readonly attempts: readonly {
|
|
15869
|
+
readonly abandoned?: {
|
|
15870
|
+
readonly at: number;
|
|
15871
|
+
readonly interruptError?: string | undefined;
|
|
15872
|
+
readonly observation?: {
|
|
15873
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
15874
|
+
readonly error?: string | undefined;
|
|
15875
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
15876
|
+
readonly output: string;
|
|
15877
|
+
readonly progress?: readonly {
|
|
15878
|
+
readonly id: string;
|
|
15879
|
+
readonly status?: string | undefined;
|
|
15880
|
+
}[] | undefined;
|
|
15881
|
+
readonly provisioning: "ready" | "unknown";
|
|
15882
|
+
readonly receipt: {
|
|
15883
|
+
readonly sessionId: string;
|
|
15884
|
+
readonly turnId: string;
|
|
15885
|
+
};
|
|
15886
|
+
readonly turnMissing?: boolean | undefined;
|
|
15887
|
+
} | undefined;
|
|
15888
|
+
readonly observationError?: string | undefined;
|
|
15889
|
+
} | undefined;
|
|
15890
|
+
readonly briefSteers?: readonly {
|
|
15891
|
+
readonly error?: string | undefined;
|
|
15892
|
+
readonly requestedAt: number;
|
|
15893
|
+
readonly revision: string;
|
|
15894
|
+
readonly steeredAt?: number | undefined;
|
|
15895
|
+
}[] | undefined;
|
|
14293
15896
|
readonly checkFailures?: readonly string[] | undefined;
|
|
14294
15897
|
readonly missingSince?: number | undefined;
|
|
14295
15898
|
readonly observationRetries?: number | undefined;
|
|
@@ -14528,6 +16131,33 @@ export declare const reconcileBrief: (state: {
|
|
|
14528
16131
|
readonly admissionReady?: boolean | undefined;
|
|
14529
16132
|
readonly areas?: readonly string[] | undefined;
|
|
14530
16133
|
readonly attempts: readonly {
|
|
16134
|
+
readonly abandoned?: {
|
|
16135
|
+
readonly at: number;
|
|
16136
|
+
readonly interruptError?: string | undefined;
|
|
16137
|
+
readonly observation?: {
|
|
16138
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
16139
|
+
readonly error?: string | undefined;
|
|
16140
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
16141
|
+
readonly output: string;
|
|
16142
|
+
readonly progress?: readonly {
|
|
16143
|
+
readonly id: string;
|
|
16144
|
+
readonly status?: string | undefined;
|
|
16145
|
+
}[] | undefined;
|
|
16146
|
+
readonly provisioning: "ready" | "unknown";
|
|
16147
|
+
readonly receipt: {
|
|
16148
|
+
readonly sessionId: string;
|
|
16149
|
+
readonly turnId: string;
|
|
16150
|
+
};
|
|
16151
|
+
readonly turnMissing?: boolean | undefined;
|
|
16152
|
+
} | undefined;
|
|
16153
|
+
readonly observationError?: string | undefined;
|
|
16154
|
+
} | undefined;
|
|
16155
|
+
readonly briefSteers?: readonly {
|
|
16156
|
+
readonly error?: string | undefined;
|
|
16157
|
+
readonly requestedAt: number;
|
|
16158
|
+
readonly revision: string;
|
|
16159
|
+
readonly steeredAt?: number | undefined;
|
|
16160
|
+
}[] | undefined;
|
|
14531
16161
|
readonly checkFailures?: readonly string[] | undefined;
|
|
14532
16162
|
readonly missingSince?: number | undefined;
|
|
14533
16163
|
readonly observationRetries?: number | undefined;
|
|
@@ -14768,17 +16398,39 @@ export declare const reconcileBrief: (state: {
|
|
|
14768
16398
|
};
|
|
14769
16399
|
version: number;
|
|
14770
16400
|
}, 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>;
|
|
14771
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
14772
|
-
readonly backlog: boolean;
|
|
14773
|
-
readonly executing: boolean;
|
|
14774
|
-
readonly owner: string;
|
|
14775
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
14776
16401
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
14777
16402
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
14778
16403
|
insert: (record: {
|
|
14779
16404
|
readonly admissionReady?: boolean | undefined;
|
|
14780
16405
|
readonly areas?: readonly string[] | undefined;
|
|
14781
16406
|
readonly attempts: readonly {
|
|
16407
|
+
readonly abandoned?: {
|
|
16408
|
+
readonly at: number;
|
|
16409
|
+
readonly interruptError?: string | undefined;
|
|
16410
|
+
readonly observation?: {
|
|
16411
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
16412
|
+
readonly error?: string | undefined;
|
|
16413
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
16414
|
+
readonly output: string;
|
|
16415
|
+
readonly progress?: readonly {
|
|
16416
|
+
readonly id: string;
|
|
16417
|
+
readonly status?: string | undefined;
|
|
16418
|
+
}[] | undefined;
|
|
16419
|
+
readonly provisioning: "ready" | "unknown";
|
|
16420
|
+
readonly receipt: {
|
|
16421
|
+
readonly sessionId: string;
|
|
16422
|
+
readonly turnId: string;
|
|
16423
|
+
};
|
|
16424
|
+
readonly turnMissing?: boolean | undefined;
|
|
16425
|
+
} | undefined;
|
|
16426
|
+
readonly observationError?: string | undefined;
|
|
16427
|
+
} | undefined;
|
|
16428
|
+
readonly briefSteers?: readonly {
|
|
16429
|
+
readonly error?: string | undefined;
|
|
16430
|
+
readonly requestedAt: number;
|
|
16431
|
+
readonly revision: string;
|
|
16432
|
+
readonly steeredAt?: number | undefined;
|
|
16433
|
+
}[] | undefined;
|
|
14782
16434
|
readonly checkFailures?: readonly string[] | undefined;
|
|
14783
16435
|
readonly missingSince?: number | undefined;
|
|
14784
16436
|
readonly observationRetries?: number | undefined;
|
|
@@ -15017,6 +16669,33 @@ export declare const reconcileBrief: (state: {
|
|
|
15017
16669
|
readonly admissionReady?: boolean | undefined;
|
|
15018
16670
|
readonly areas?: readonly string[] | undefined;
|
|
15019
16671
|
readonly attempts: readonly {
|
|
16672
|
+
readonly abandoned?: {
|
|
16673
|
+
readonly at: number;
|
|
16674
|
+
readonly interruptError?: string | undefined;
|
|
16675
|
+
readonly observation?: {
|
|
16676
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
16677
|
+
readonly error?: string | undefined;
|
|
16678
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
16679
|
+
readonly output: string;
|
|
16680
|
+
readonly progress?: readonly {
|
|
16681
|
+
readonly id: string;
|
|
16682
|
+
readonly status?: string | undefined;
|
|
16683
|
+
}[] | undefined;
|
|
16684
|
+
readonly provisioning: "ready" | "unknown";
|
|
16685
|
+
readonly receipt: {
|
|
16686
|
+
readonly sessionId: string;
|
|
16687
|
+
readonly turnId: string;
|
|
16688
|
+
};
|
|
16689
|
+
readonly turnMissing?: boolean | undefined;
|
|
16690
|
+
} | undefined;
|
|
16691
|
+
readonly observationError?: string | undefined;
|
|
16692
|
+
} | undefined;
|
|
16693
|
+
readonly briefSteers?: readonly {
|
|
16694
|
+
readonly error?: string | undefined;
|
|
16695
|
+
readonly requestedAt: number;
|
|
16696
|
+
readonly revision: string;
|
|
16697
|
+
readonly steeredAt?: number | undefined;
|
|
16698
|
+
}[] | undefined;
|
|
15020
16699
|
readonly checkFailures?: readonly string[] | undefined;
|
|
15021
16700
|
readonly missingSince?: number | undefined;
|
|
15022
16701
|
readonly observationRetries?: number | undefined;
|
|
@@ -15259,6 +16938,33 @@ export declare const reconcileBrief: (state: {
|
|
|
15259
16938
|
readonly admissionReady?: boolean | undefined;
|
|
15260
16939
|
readonly areas?: readonly string[] | undefined;
|
|
15261
16940
|
readonly attempts: readonly {
|
|
16941
|
+
readonly abandoned?: {
|
|
16942
|
+
readonly at: number;
|
|
16943
|
+
readonly interruptError?: string | undefined;
|
|
16944
|
+
readonly observation?: {
|
|
16945
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
16946
|
+
readonly error?: string | undefined;
|
|
16947
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
16948
|
+
readonly output: string;
|
|
16949
|
+
readonly progress?: readonly {
|
|
16950
|
+
readonly id: string;
|
|
16951
|
+
readonly status?: string | undefined;
|
|
16952
|
+
}[] | undefined;
|
|
16953
|
+
readonly provisioning: "ready" | "unknown";
|
|
16954
|
+
readonly receipt: {
|
|
16955
|
+
readonly sessionId: string;
|
|
16956
|
+
readonly turnId: string;
|
|
16957
|
+
};
|
|
16958
|
+
readonly turnMissing?: boolean | undefined;
|
|
16959
|
+
} | undefined;
|
|
16960
|
+
readonly observationError?: string | undefined;
|
|
16961
|
+
} | undefined;
|
|
16962
|
+
readonly briefSteers?: readonly {
|
|
16963
|
+
readonly error?: string | undefined;
|
|
16964
|
+
readonly requestedAt: number;
|
|
16965
|
+
readonly revision: string;
|
|
16966
|
+
readonly steeredAt?: number | undefined;
|
|
16967
|
+
}[] | undefined;
|
|
15262
16968
|
readonly checkFailures?: readonly string[] | undefined;
|
|
15263
16969
|
readonly missingSince?: number | undefined;
|
|
15264
16970
|
readonly observationRetries?: number | undefined;
|
|
@@ -15497,6 +17203,33 @@ export declare const reconcileBrief: (state: {
|
|
|
15497
17203
|
readonly admissionReady?: boolean | undefined;
|
|
15498
17204
|
readonly areas?: readonly string[] | undefined;
|
|
15499
17205
|
readonly attempts: readonly {
|
|
17206
|
+
readonly abandoned?: {
|
|
17207
|
+
readonly at: number;
|
|
17208
|
+
readonly interruptError?: string | undefined;
|
|
17209
|
+
readonly observation?: {
|
|
17210
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
17211
|
+
readonly error?: string | undefined;
|
|
17212
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
17213
|
+
readonly output: string;
|
|
17214
|
+
readonly progress?: readonly {
|
|
17215
|
+
readonly id: string;
|
|
17216
|
+
readonly status?: string | undefined;
|
|
17217
|
+
}[] | undefined;
|
|
17218
|
+
readonly provisioning: "ready" | "unknown";
|
|
17219
|
+
readonly receipt: {
|
|
17220
|
+
readonly sessionId: string;
|
|
17221
|
+
readonly turnId: string;
|
|
17222
|
+
};
|
|
17223
|
+
readonly turnMissing?: boolean | undefined;
|
|
17224
|
+
} | undefined;
|
|
17225
|
+
readonly observationError?: string | undefined;
|
|
17226
|
+
} | undefined;
|
|
17227
|
+
readonly briefSteers?: readonly {
|
|
17228
|
+
readonly error?: string | undefined;
|
|
17229
|
+
readonly requestedAt: number;
|
|
17230
|
+
readonly revision: string;
|
|
17231
|
+
readonly steeredAt?: number | undefined;
|
|
17232
|
+
}[] | undefined;
|
|
15500
17233
|
readonly checkFailures?: readonly string[] | undefined;
|
|
15501
17234
|
readonly missingSince?: number | undefined;
|
|
15502
17235
|
readonly observationRetries?: number | undefined;
|
|
@@ -15742,6 +17475,33 @@ export declare const reconcileBrief: (state: {
|
|
|
15742
17475
|
readonly admissionReady?: boolean | undefined;
|
|
15743
17476
|
readonly areas?: readonly string[] | undefined;
|
|
15744
17477
|
readonly attempts: readonly {
|
|
17478
|
+
readonly abandoned?: {
|
|
17479
|
+
readonly at: number;
|
|
17480
|
+
readonly interruptError?: string | undefined;
|
|
17481
|
+
readonly observation?: {
|
|
17482
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
17483
|
+
readonly error?: string | undefined;
|
|
17484
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
17485
|
+
readonly output: string;
|
|
17486
|
+
readonly progress?: readonly {
|
|
17487
|
+
readonly id: string;
|
|
17488
|
+
readonly status?: string | undefined;
|
|
17489
|
+
}[] | undefined;
|
|
17490
|
+
readonly provisioning: "ready" | "unknown";
|
|
17491
|
+
readonly receipt: {
|
|
17492
|
+
readonly sessionId: string;
|
|
17493
|
+
readonly turnId: string;
|
|
17494
|
+
};
|
|
17495
|
+
readonly turnMissing?: boolean | undefined;
|
|
17496
|
+
} | undefined;
|
|
17497
|
+
readonly observationError?: string | undefined;
|
|
17498
|
+
} | undefined;
|
|
17499
|
+
readonly briefSteers?: readonly {
|
|
17500
|
+
readonly error?: string | undefined;
|
|
17501
|
+
readonly requestedAt: number;
|
|
17502
|
+
readonly revision: string;
|
|
17503
|
+
readonly steeredAt?: number | undefined;
|
|
17504
|
+
}[] | undefined;
|
|
15745
17505
|
readonly checkFailures?: readonly string[] | undefined;
|
|
15746
17506
|
readonly missingSince?: number | undefined;
|
|
15747
17507
|
readonly observationRetries?: number | undefined;
|
|
@@ -15980,6 +17740,33 @@ export declare const reconcileBrief: (state: {
|
|
|
15980
17740
|
readonly admissionReady?: boolean | undefined;
|
|
15981
17741
|
readonly areas?: readonly string[] | undefined;
|
|
15982
17742
|
readonly attempts: readonly {
|
|
17743
|
+
readonly abandoned?: {
|
|
17744
|
+
readonly at: number;
|
|
17745
|
+
readonly interruptError?: string | undefined;
|
|
17746
|
+
readonly observation?: {
|
|
17747
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
17748
|
+
readonly error?: string | undefined;
|
|
17749
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
17750
|
+
readonly output: string;
|
|
17751
|
+
readonly progress?: readonly {
|
|
17752
|
+
readonly id: string;
|
|
17753
|
+
readonly status?: string | undefined;
|
|
17754
|
+
}[] | undefined;
|
|
17755
|
+
readonly provisioning: "ready" | "unknown";
|
|
17756
|
+
readonly receipt: {
|
|
17757
|
+
readonly sessionId: string;
|
|
17758
|
+
readonly turnId: string;
|
|
17759
|
+
};
|
|
17760
|
+
readonly turnMissing?: boolean | undefined;
|
|
17761
|
+
} | undefined;
|
|
17762
|
+
readonly observationError?: string | undefined;
|
|
17763
|
+
} | undefined;
|
|
17764
|
+
readonly briefSteers?: readonly {
|
|
17765
|
+
readonly error?: string | undefined;
|
|
17766
|
+
readonly requestedAt: number;
|
|
17767
|
+
readonly revision: string;
|
|
17768
|
+
readonly steeredAt?: number | undefined;
|
|
17769
|
+
}[] | undefined;
|
|
15983
17770
|
readonly checkFailures?: readonly string[] | undefined;
|
|
15984
17771
|
readonly missingSince?: number | undefined;
|
|
15985
17772
|
readonly observationRetries?: number | undefined;
|
|
@@ -16225,6 +18012,33 @@ export declare const reconcileBrief: (state: {
|
|
|
16225
18012
|
readonly admissionReady?: boolean | undefined;
|
|
16226
18013
|
readonly areas?: readonly string[] | undefined;
|
|
16227
18014
|
readonly attempts: readonly {
|
|
18015
|
+
readonly abandoned?: {
|
|
18016
|
+
readonly at: number;
|
|
18017
|
+
readonly interruptError?: string | undefined;
|
|
18018
|
+
readonly observation?: {
|
|
18019
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
18020
|
+
readonly error?: string | undefined;
|
|
18021
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
18022
|
+
readonly output: string;
|
|
18023
|
+
readonly progress?: readonly {
|
|
18024
|
+
readonly id: string;
|
|
18025
|
+
readonly status?: string | undefined;
|
|
18026
|
+
}[] | undefined;
|
|
18027
|
+
readonly provisioning: "ready" | "unknown";
|
|
18028
|
+
readonly receipt: {
|
|
18029
|
+
readonly sessionId: string;
|
|
18030
|
+
readonly turnId: string;
|
|
18031
|
+
};
|
|
18032
|
+
readonly turnMissing?: boolean | undefined;
|
|
18033
|
+
} | undefined;
|
|
18034
|
+
readonly observationError?: string | undefined;
|
|
18035
|
+
} | undefined;
|
|
18036
|
+
readonly briefSteers?: readonly {
|
|
18037
|
+
readonly error?: string | undefined;
|
|
18038
|
+
readonly requestedAt: number;
|
|
18039
|
+
readonly revision: string;
|
|
18040
|
+
readonly steeredAt?: number | undefined;
|
|
18041
|
+
}[] | undefined;
|
|
16228
18042
|
readonly checkFailures?: readonly string[] | undefined;
|
|
16229
18043
|
readonly missingSince?: number | undefined;
|
|
16230
18044
|
readonly observationRetries?: number | undefined;
|
|
@@ -16463,6 +18277,33 @@ export declare const reconcileBrief: (state: {
|
|
|
16463
18277
|
readonly admissionReady?: boolean | undefined;
|
|
16464
18278
|
readonly areas?: readonly string[] | undefined;
|
|
16465
18279
|
readonly attempts: readonly {
|
|
18280
|
+
readonly abandoned?: {
|
|
18281
|
+
readonly at: number;
|
|
18282
|
+
readonly interruptError?: string | undefined;
|
|
18283
|
+
readonly observation?: {
|
|
18284
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
18285
|
+
readonly error?: string | undefined;
|
|
18286
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
18287
|
+
readonly output: string;
|
|
18288
|
+
readonly progress?: readonly {
|
|
18289
|
+
readonly id: string;
|
|
18290
|
+
readonly status?: string | undefined;
|
|
18291
|
+
}[] | undefined;
|
|
18292
|
+
readonly provisioning: "ready" | "unknown";
|
|
18293
|
+
readonly receipt: {
|
|
18294
|
+
readonly sessionId: string;
|
|
18295
|
+
readonly turnId: string;
|
|
18296
|
+
};
|
|
18297
|
+
readonly turnMissing?: boolean | undefined;
|
|
18298
|
+
} | undefined;
|
|
18299
|
+
readonly observationError?: string | undefined;
|
|
18300
|
+
} | undefined;
|
|
18301
|
+
readonly briefSteers?: readonly {
|
|
18302
|
+
readonly error?: string | undefined;
|
|
18303
|
+
readonly requestedAt: number;
|
|
18304
|
+
readonly revision: string;
|
|
18305
|
+
readonly steeredAt?: number | undefined;
|
|
18306
|
+
}[] | undefined;
|
|
16466
18307
|
readonly checkFailures?: readonly string[] | undefined;
|
|
16467
18308
|
readonly missingSince?: number | undefined;
|
|
16468
18309
|
readonly observationRetries?: number | undefined;
|
|
@@ -16703,20 +18544,42 @@ export declare const reconcileBrief: (state: {
|
|
|
16703
18544
|
};
|
|
16704
18545
|
version: number;
|
|
16705
18546
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
16706
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
}[], import("effect/
|
|
16710
|
-
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
16711
|
-
reserveForeign: (owner: string, occupancy?: {
|
|
16712
|
-
readonly executing: boolean;
|
|
16713
|
-
readonly backlog: boolean;
|
|
16714
|
-
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
18547
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
18548
|
+
readonly workId: string;
|
|
18549
|
+
readonly version: number;
|
|
18550
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
16715
18551
|
}, "operationEntries">>;
|
|
16716
18552
|
}, stored: Versioned<{
|
|
16717
18553
|
readonly admissionReady?: boolean | undefined;
|
|
16718
18554
|
readonly areas?: readonly string[] | undefined;
|
|
16719
18555
|
readonly attempts: readonly {
|
|
18556
|
+
readonly abandoned?: {
|
|
18557
|
+
readonly at: number;
|
|
18558
|
+
readonly interruptError?: string | undefined;
|
|
18559
|
+
readonly observation?: {
|
|
18560
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
18561
|
+
readonly error?: string | undefined;
|
|
18562
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
18563
|
+
readonly output: string;
|
|
18564
|
+
readonly progress?: readonly {
|
|
18565
|
+
readonly id: string;
|
|
18566
|
+
readonly status?: string | undefined;
|
|
18567
|
+
}[] | undefined;
|
|
18568
|
+
readonly provisioning: "ready" | "unknown";
|
|
18569
|
+
readonly receipt: {
|
|
18570
|
+
readonly sessionId: string;
|
|
18571
|
+
readonly turnId: string;
|
|
18572
|
+
};
|
|
18573
|
+
readonly turnMissing?: boolean | undefined;
|
|
18574
|
+
} | undefined;
|
|
18575
|
+
readonly observationError?: string | undefined;
|
|
18576
|
+
} | undefined;
|
|
18577
|
+
readonly briefSteers?: readonly {
|
|
18578
|
+
readonly error?: string | undefined;
|
|
18579
|
+
readonly requestedAt: number;
|
|
18580
|
+
readonly revision: string;
|
|
18581
|
+
readonly steeredAt?: number | undefined;
|
|
18582
|
+
}[] | undefined;
|
|
16720
18583
|
readonly checkFailures?: readonly string[] | undefined;
|
|
16721
18584
|
readonly missingSince?: number | undefined;
|
|
16722
18585
|
readonly observationRetries?: number | undefined;
|
|
@@ -16955,6 +18818,33 @@ export declare const reconcileBrief: (state: {
|
|
|
16955
18818
|
readonly admissionReady?: boolean | undefined;
|
|
16956
18819
|
readonly areas?: readonly string[] | undefined;
|
|
16957
18820
|
readonly attempts: readonly {
|
|
18821
|
+
readonly abandoned?: {
|
|
18822
|
+
readonly at: number;
|
|
18823
|
+
readonly interruptError?: string | undefined;
|
|
18824
|
+
readonly observation?: {
|
|
18825
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
18826
|
+
readonly error?: string | undefined;
|
|
18827
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
18828
|
+
readonly output: string;
|
|
18829
|
+
readonly progress?: readonly {
|
|
18830
|
+
readonly id: string;
|
|
18831
|
+
readonly status?: string | undefined;
|
|
18832
|
+
}[] | undefined;
|
|
18833
|
+
readonly provisioning: "ready" | "unknown";
|
|
18834
|
+
readonly receipt: {
|
|
18835
|
+
readonly sessionId: string;
|
|
18836
|
+
readonly turnId: string;
|
|
18837
|
+
};
|
|
18838
|
+
readonly turnMissing?: boolean | undefined;
|
|
18839
|
+
} | undefined;
|
|
18840
|
+
readonly observationError?: string | undefined;
|
|
18841
|
+
} | undefined;
|
|
18842
|
+
readonly briefSteers?: readonly {
|
|
18843
|
+
readonly error?: string | undefined;
|
|
18844
|
+
readonly requestedAt: number;
|
|
18845
|
+
readonly revision: string;
|
|
18846
|
+
readonly steeredAt?: number | undefined;
|
|
18847
|
+
}[] | undefined;
|
|
16958
18848
|
readonly checkFailures?: readonly string[] | undefined;
|
|
16959
18849
|
readonly missingSince?: number | undefined;
|
|
16960
18850
|
readonly observationRetries?: number | undefined;
|
|
@@ -17196,6 +19086,33 @@ export declare const reconcileBrief: (state: {
|
|
|
17196
19086
|
readonly admissionReady?: boolean | undefined;
|
|
17197
19087
|
readonly areas?: readonly string[] | undefined;
|
|
17198
19088
|
readonly attempts: readonly {
|
|
19089
|
+
readonly abandoned?: {
|
|
19090
|
+
readonly at: number;
|
|
19091
|
+
readonly interruptError?: string | undefined;
|
|
19092
|
+
readonly observation?: {
|
|
19093
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
19094
|
+
readonly error?: string | undefined;
|
|
19095
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
19096
|
+
readonly output: string;
|
|
19097
|
+
readonly progress?: readonly {
|
|
19098
|
+
readonly id: string;
|
|
19099
|
+
readonly status?: string | undefined;
|
|
19100
|
+
}[] | undefined;
|
|
19101
|
+
readonly provisioning: "ready" | "unknown";
|
|
19102
|
+
readonly receipt: {
|
|
19103
|
+
readonly sessionId: string;
|
|
19104
|
+
readonly turnId: string;
|
|
19105
|
+
};
|
|
19106
|
+
readonly turnMissing?: boolean | undefined;
|
|
19107
|
+
} | undefined;
|
|
19108
|
+
readonly observationError?: string | undefined;
|
|
19109
|
+
} | undefined;
|
|
19110
|
+
readonly briefSteers?: readonly {
|
|
19111
|
+
readonly error?: string | undefined;
|
|
19112
|
+
readonly requestedAt: number;
|
|
19113
|
+
readonly revision: string;
|
|
19114
|
+
readonly steeredAt?: number | undefined;
|
|
19115
|
+
}[] | undefined;
|
|
17199
19116
|
readonly checkFailures?: readonly string[] | undefined;
|
|
17200
19117
|
readonly missingSince?: number | undefined;
|
|
17201
19118
|
readonly observationRetries?: number | undefined;
|
|
@@ -17434,6 +19351,33 @@ export declare const reconcileBrief: (state: {
|
|
|
17434
19351
|
readonly admissionReady?: boolean | undefined;
|
|
17435
19352
|
readonly areas?: readonly string[] | undefined;
|
|
17436
19353
|
readonly attempts: readonly {
|
|
19354
|
+
readonly abandoned?: {
|
|
19355
|
+
readonly at: number;
|
|
19356
|
+
readonly interruptError?: string | undefined;
|
|
19357
|
+
readonly observation?: {
|
|
19358
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
19359
|
+
readonly error?: string | undefined;
|
|
19360
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
19361
|
+
readonly output: string;
|
|
19362
|
+
readonly progress?: readonly {
|
|
19363
|
+
readonly id: string;
|
|
19364
|
+
readonly status?: string | undefined;
|
|
19365
|
+
}[] | undefined;
|
|
19366
|
+
readonly provisioning: "ready" | "unknown";
|
|
19367
|
+
readonly receipt: {
|
|
19368
|
+
readonly sessionId: string;
|
|
19369
|
+
readonly turnId: string;
|
|
19370
|
+
};
|
|
19371
|
+
readonly turnMissing?: boolean | undefined;
|
|
19372
|
+
} | undefined;
|
|
19373
|
+
readonly observationError?: string | undefined;
|
|
19374
|
+
} | undefined;
|
|
19375
|
+
readonly briefSteers?: readonly {
|
|
19376
|
+
readonly error?: string | undefined;
|
|
19377
|
+
readonly requestedAt: number;
|
|
19378
|
+
readonly revision: string;
|
|
19379
|
+
readonly steeredAt?: number | undefined;
|
|
19380
|
+
}[] | undefined;
|
|
17437
19381
|
readonly checkFailures?: readonly string[] | undefined;
|
|
17438
19382
|
readonly missingSince?: number | undefined;
|
|
17439
19383
|
readonly observationRetries?: number | undefined;
|
|
@@ -17671,5 +19615,5 @@ export declare const reconcileBrief: (state: {
|
|
|
17671
19615
|
readonly archivedAt: number;
|
|
17672
19616
|
}[] | undefined;
|
|
17673
19617
|
readonly workId: string;
|
|
17674
|
-
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | 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>;
|
|
19618
|
+
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | 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>;
|
|
17675
19619
|
//# sourceMappingURL=refreshBrief.d.ts.map
|