@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
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
export declare const operationRecord: (store: Omit<{
|
|
3
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
4
|
+
readonly backlog: boolean;
|
|
5
|
+
readonly executing: boolean;
|
|
6
|
+
readonly owner: string;
|
|
7
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
8
|
+
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
9
|
+
reserveForeign: (owner: string, occupancy?: {
|
|
10
|
+
readonly executing: boolean;
|
|
11
|
+
readonly backlog: boolean;
|
|
12
|
+
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3
13
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
4
14
|
readonly admissionReady?: boolean | undefined;
|
|
5
15
|
readonly areas?: readonly string[] | undefined;
|
|
6
16
|
readonly attempts: readonly {
|
|
17
|
+
readonly abandoned?: {
|
|
18
|
+
readonly at: number;
|
|
19
|
+
readonly interruptError?: string | undefined;
|
|
20
|
+
readonly observation?: {
|
|
21
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
22
|
+
readonly error?: string | undefined;
|
|
23
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
24
|
+
readonly output: string;
|
|
25
|
+
readonly progress?: readonly {
|
|
26
|
+
readonly id: string;
|
|
27
|
+
readonly status?: string | undefined;
|
|
28
|
+
}[] | undefined;
|
|
29
|
+
readonly provisioning: "ready" | "unknown";
|
|
30
|
+
readonly receipt: {
|
|
31
|
+
readonly sessionId: string;
|
|
32
|
+
readonly turnId: string;
|
|
33
|
+
};
|
|
34
|
+
readonly turnMissing?: boolean | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
readonly observationError?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
readonly briefSteers?: readonly {
|
|
39
|
+
readonly error?: string | undefined;
|
|
40
|
+
readonly requestedAt: number;
|
|
41
|
+
readonly revision: string;
|
|
42
|
+
readonly steeredAt?: number | undefined;
|
|
43
|
+
}[] | undefined;
|
|
7
44
|
readonly checkFailures?: readonly string[] | undefined;
|
|
8
45
|
readonly missingSince?: number | undefined;
|
|
9
46
|
readonly observationRetries?: number | undefined;
|
|
@@ -242,6 +279,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
242
279
|
readonly admissionReady?: boolean | undefined;
|
|
243
280
|
readonly areas?: readonly string[] | undefined;
|
|
244
281
|
readonly attempts: readonly {
|
|
282
|
+
readonly abandoned?: {
|
|
283
|
+
readonly at: number;
|
|
284
|
+
readonly interruptError?: string | undefined;
|
|
285
|
+
readonly observation?: {
|
|
286
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
287
|
+
readonly error?: string | undefined;
|
|
288
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
289
|
+
readonly output: string;
|
|
290
|
+
readonly progress?: readonly {
|
|
291
|
+
readonly id: string;
|
|
292
|
+
readonly status?: string | undefined;
|
|
293
|
+
}[] | undefined;
|
|
294
|
+
readonly provisioning: "ready" | "unknown";
|
|
295
|
+
readonly receipt: {
|
|
296
|
+
readonly sessionId: string;
|
|
297
|
+
readonly turnId: string;
|
|
298
|
+
};
|
|
299
|
+
readonly turnMissing?: boolean | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
readonly observationError?: string | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
readonly briefSteers?: readonly {
|
|
304
|
+
readonly error?: string | undefined;
|
|
305
|
+
readonly requestedAt: number;
|
|
306
|
+
readonly revision: string;
|
|
307
|
+
readonly steeredAt?: number | undefined;
|
|
308
|
+
}[] | undefined;
|
|
245
309
|
readonly checkFailures?: readonly string[] | undefined;
|
|
246
310
|
readonly missingSince?: number | undefined;
|
|
247
311
|
readonly observationRetries?: number | undefined;
|
|
@@ -484,6 +548,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
484
548
|
readonly admissionReady?: boolean | undefined;
|
|
485
549
|
readonly areas?: readonly string[] | undefined;
|
|
486
550
|
readonly attempts: readonly {
|
|
551
|
+
readonly abandoned?: {
|
|
552
|
+
readonly at: number;
|
|
553
|
+
readonly interruptError?: string | undefined;
|
|
554
|
+
readonly observation?: {
|
|
555
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
556
|
+
readonly error?: string | undefined;
|
|
557
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
558
|
+
readonly output: string;
|
|
559
|
+
readonly progress?: readonly {
|
|
560
|
+
readonly id: string;
|
|
561
|
+
readonly status?: string | undefined;
|
|
562
|
+
}[] | undefined;
|
|
563
|
+
readonly provisioning: "ready" | "unknown";
|
|
564
|
+
readonly receipt: {
|
|
565
|
+
readonly sessionId: string;
|
|
566
|
+
readonly turnId: string;
|
|
567
|
+
};
|
|
568
|
+
readonly turnMissing?: boolean | undefined;
|
|
569
|
+
} | undefined;
|
|
570
|
+
readonly observationError?: string | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
readonly briefSteers?: readonly {
|
|
573
|
+
readonly error?: string | undefined;
|
|
574
|
+
readonly requestedAt: number;
|
|
575
|
+
readonly revision: string;
|
|
576
|
+
readonly steeredAt?: number | undefined;
|
|
577
|
+
}[] | undefined;
|
|
487
578
|
readonly checkFailures?: readonly string[] | undefined;
|
|
488
579
|
readonly missingSince?: number | undefined;
|
|
489
580
|
readonly observationRetries?: number | undefined;
|
|
@@ -722,6 +813,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
722
813
|
readonly admissionReady?: boolean | undefined;
|
|
723
814
|
readonly areas?: readonly string[] | undefined;
|
|
724
815
|
readonly attempts: readonly {
|
|
816
|
+
readonly abandoned?: {
|
|
817
|
+
readonly at: number;
|
|
818
|
+
readonly interruptError?: string | undefined;
|
|
819
|
+
readonly observation?: {
|
|
820
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
821
|
+
readonly error?: string | undefined;
|
|
822
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
823
|
+
readonly output: string;
|
|
824
|
+
readonly progress?: readonly {
|
|
825
|
+
readonly id: string;
|
|
826
|
+
readonly status?: string | undefined;
|
|
827
|
+
}[] | undefined;
|
|
828
|
+
readonly provisioning: "ready" | "unknown";
|
|
829
|
+
readonly receipt: {
|
|
830
|
+
readonly sessionId: string;
|
|
831
|
+
readonly turnId: string;
|
|
832
|
+
};
|
|
833
|
+
readonly turnMissing?: boolean | undefined;
|
|
834
|
+
} | undefined;
|
|
835
|
+
readonly observationError?: string | undefined;
|
|
836
|
+
} | undefined;
|
|
837
|
+
readonly briefSteers?: readonly {
|
|
838
|
+
readonly error?: string | undefined;
|
|
839
|
+
readonly requestedAt: number;
|
|
840
|
+
readonly revision: string;
|
|
841
|
+
readonly steeredAt?: number | undefined;
|
|
842
|
+
}[] | undefined;
|
|
725
843
|
readonly checkFailures?: readonly string[] | undefined;
|
|
726
844
|
readonly missingSince?: number | undefined;
|
|
727
845
|
readonly observationRetries?: number | undefined;
|
|
@@ -962,17 +1080,39 @@ export declare const operationRecord: (store: Omit<{
|
|
|
962
1080
|
};
|
|
963
1081
|
version: number;
|
|
964
1082
|
}, 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>;
|
|
965
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
966
|
-
readonly backlog: boolean;
|
|
967
|
-
readonly executing: boolean;
|
|
968
|
-
readonly owner: string;
|
|
969
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
970
1083
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
971
1084
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
972
1085
|
insert: (record: {
|
|
973
1086
|
readonly admissionReady?: boolean | undefined;
|
|
974
1087
|
readonly areas?: readonly string[] | undefined;
|
|
975
1088
|
readonly attempts: readonly {
|
|
1089
|
+
readonly abandoned?: {
|
|
1090
|
+
readonly at: number;
|
|
1091
|
+
readonly interruptError?: string | undefined;
|
|
1092
|
+
readonly observation?: {
|
|
1093
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1094
|
+
readonly error?: string | undefined;
|
|
1095
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1096
|
+
readonly output: string;
|
|
1097
|
+
readonly progress?: readonly {
|
|
1098
|
+
readonly id: string;
|
|
1099
|
+
readonly status?: string | undefined;
|
|
1100
|
+
}[] | undefined;
|
|
1101
|
+
readonly provisioning: "ready" | "unknown";
|
|
1102
|
+
readonly receipt: {
|
|
1103
|
+
readonly sessionId: string;
|
|
1104
|
+
readonly turnId: string;
|
|
1105
|
+
};
|
|
1106
|
+
readonly turnMissing?: boolean | undefined;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
readonly observationError?: string | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
readonly briefSteers?: readonly {
|
|
1111
|
+
readonly error?: string | undefined;
|
|
1112
|
+
readonly requestedAt: number;
|
|
1113
|
+
readonly revision: string;
|
|
1114
|
+
readonly steeredAt?: number | undefined;
|
|
1115
|
+
}[] | undefined;
|
|
976
1116
|
readonly checkFailures?: readonly string[] | undefined;
|
|
977
1117
|
readonly missingSince?: number | undefined;
|
|
978
1118
|
readonly observationRetries?: number | undefined;
|
|
@@ -1211,6 +1351,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
1211
1351
|
readonly admissionReady?: boolean | undefined;
|
|
1212
1352
|
readonly areas?: readonly string[] | undefined;
|
|
1213
1353
|
readonly attempts: readonly {
|
|
1354
|
+
readonly abandoned?: {
|
|
1355
|
+
readonly at: number;
|
|
1356
|
+
readonly interruptError?: string | undefined;
|
|
1357
|
+
readonly observation?: {
|
|
1358
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1359
|
+
readonly error?: string | undefined;
|
|
1360
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1361
|
+
readonly output: string;
|
|
1362
|
+
readonly progress?: readonly {
|
|
1363
|
+
readonly id: string;
|
|
1364
|
+
readonly status?: string | undefined;
|
|
1365
|
+
}[] | undefined;
|
|
1366
|
+
readonly provisioning: "ready" | "unknown";
|
|
1367
|
+
readonly receipt: {
|
|
1368
|
+
readonly sessionId: string;
|
|
1369
|
+
readonly turnId: string;
|
|
1370
|
+
};
|
|
1371
|
+
readonly turnMissing?: boolean | undefined;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
readonly observationError?: string | undefined;
|
|
1374
|
+
} | undefined;
|
|
1375
|
+
readonly briefSteers?: readonly {
|
|
1376
|
+
readonly error?: string | undefined;
|
|
1377
|
+
readonly requestedAt: number;
|
|
1378
|
+
readonly revision: string;
|
|
1379
|
+
readonly steeredAt?: number | undefined;
|
|
1380
|
+
}[] | undefined;
|
|
1214
1381
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1215
1382
|
readonly missingSince?: number | undefined;
|
|
1216
1383
|
readonly observationRetries?: number | undefined;
|
|
@@ -1453,6 +1620,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
1453
1620
|
readonly admissionReady?: boolean | undefined;
|
|
1454
1621
|
readonly areas?: readonly string[] | undefined;
|
|
1455
1622
|
readonly attempts: readonly {
|
|
1623
|
+
readonly abandoned?: {
|
|
1624
|
+
readonly at: number;
|
|
1625
|
+
readonly interruptError?: string | undefined;
|
|
1626
|
+
readonly observation?: {
|
|
1627
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1628
|
+
readonly error?: string | undefined;
|
|
1629
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1630
|
+
readonly output: string;
|
|
1631
|
+
readonly progress?: readonly {
|
|
1632
|
+
readonly id: string;
|
|
1633
|
+
readonly status?: string | undefined;
|
|
1634
|
+
}[] | undefined;
|
|
1635
|
+
readonly provisioning: "ready" | "unknown";
|
|
1636
|
+
readonly receipt: {
|
|
1637
|
+
readonly sessionId: string;
|
|
1638
|
+
readonly turnId: string;
|
|
1639
|
+
};
|
|
1640
|
+
readonly turnMissing?: boolean | undefined;
|
|
1641
|
+
} | undefined;
|
|
1642
|
+
readonly observationError?: string | undefined;
|
|
1643
|
+
} | undefined;
|
|
1644
|
+
readonly briefSteers?: readonly {
|
|
1645
|
+
readonly error?: string | undefined;
|
|
1646
|
+
readonly requestedAt: number;
|
|
1647
|
+
readonly revision: string;
|
|
1648
|
+
readonly steeredAt?: number | undefined;
|
|
1649
|
+
}[] | undefined;
|
|
1456
1650
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1457
1651
|
readonly missingSince?: number | undefined;
|
|
1458
1652
|
readonly observationRetries?: number | undefined;
|
|
@@ -1691,6 +1885,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
1691
1885
|
readonly admissionReady?: boolean | undefined;
|
|
1692
1886
|
readonly areas?: readonly string[] | undefined;
|
|
1693
1887
|
readonly attempts: readonly {
|
|
1888
|
+
readonly abandoned?: {
|
|
1889
|
+
readonly at: number;
|
|
1890
|
+
readonly interruptError?: string | undefined;
|
|
1891
|
+
readonly observation?: {
|
|
1892
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1893
|
+
readonly error?: string | undefined;
|
|
1894
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1895
|
+
readonly output: string;
|
|
1896
|
+
readonly progress?: readonly {
|
|
1897
|
+
readonly id: string;
|
|
1898
|
+
readonly status?: string | undefined;
|
|
1899
|
+
}[] | undefined;
|
|
1900
|
+
readonly provisioning: "ready" | "unknown";
|
|
1901
|
+
readonly receipt: {
|
|
1902
|
+
readonly sessionId: string;
|
|
1903
|
+
readonly turnId: string;
|
|
1904
|
+
};
|
|
1905
|
+
readonly turnMissing?: boolean | undefined;
|
|
1906
|
+
} | undefined;
|
|
1907
|
+
readonly observationError?: string | undefined;
|
|
1908
|
+
} | undefined;
|
|
1909
|
+
readonly briefSteers?: readonly {
|
|
1910
|
+
readonly error?: string | undefined;
|
|
1911
|
+
readonly requestedAt: number;
|
|
1912
|
+
readonly revision: string;
|
|
1913
|
+
readonly steeredAt?: number | undefined;
|
|
1914
|
+
}[] | undefined;
|
|
1694
1915
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1695
1916
|
readonly missingSince?: number | undefined;
|
|
1696
1917
|
readonly observationRetries?: number | undefined;
|
|
@@ -1936,6 +2157,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
1936
2157
|
readonly admissionReady?: boolean | undefined;
|
|
1937
2158
|
readonly areas?: readonly string[] | undefined;
|
|
1938
2159
|
readonly attempts: readonly {
|
|
2160
|
+
readonly abandoned?: {
|
|
2161
|
+
readonly at: number;
|
|
2162
|
+
readonly interruptError?: string | undefined;
|
|
2163
|
+
readonly observation?: {
|
|
2164
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2165
|
+
readonly error?: string | undefined;
|
|
2166
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2167
|
+
readonly output: string;
|
|
2168
|
+
readonly progress?: readonly {
|
|
2169
|
+
readonly id: string;
|
|
2170
|
+
readonly status?: string | undefined;
|
|
2171
|
+
}[] | undefined;
|
|
2172
|
+
readonly provisioning: "ready" | "unknown";
|
|
2173
|
+
readonly receipt: {
|
|
2174
|
+
readonly sessionId: string;
|
|
2175
|
+
readonly turnId: string;
|
|
2176
|
+
};
|
|
2177
|
+
readonly turnMissing?: boolean | undefined;
|
|
2178
|
+
} | undefined;
|
|
2179
|
+
readonly observationError?: string | undefined;
|
|
2180
|
+
} | undefined;
|
|
2181
|
+
readonly briefSteers?: readonly {
|
|
2182
|
+
readonly error?: string | undefined;
|
|
2183
|
+
readonly requestedAt: number;
|
|
2184
|
+
readonly revision: string;
|
|
2185
|
+
readonly steeredAt?: number | undefined;
|
|
2186
|
+
}[] | undefined;
|
|
1939
2187
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1940
2188
|
readonly missingSince?: number | undefined;
|
|
1941
2189
|
readonly observationRetries?: number | undefined;
|
|
@@ -2174,6 +2422,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
2174
2422
|
readonly admissionReady?: boolean | undefined;
|
|
2175
2423
|
readonly areas?: readonly string[] | undefined;
|
|
2176
2424
|
readonly attempts: readonly {
|
|
2425
|
+
readonly abandoned?: {
|
|
2426
|
+
readonly at: number;
|
|
2427
|
+
readonly interruptError?: string | undefined;
|
|
2428
|
+
readonly observation?: {
|
|
2429
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2430
|
+
readonly error?: string | undefined;
|
|
2431
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2432
|
+
readonly output: string;
|
|
2433
|
+
readonly progress?: readonly {
|
|
2434
|
+
readonly id: string;
|
|
2435
|
+
readonly status?: string | undefined;
|
|
2436
|
+
}[] | undefined;
|
|
2437
|
+
readonly provisioning: "ready" | "unknown";
|
|
2438
|
+
readonly receipt: {
|
|
2439
|
+
readonly sessionId: string;
|
|
2440
|
+
readonly turnId: string;
|
|
2441
|
+
};
|
|
2442
|
+
readonly turnMissing?: boolean | undefined;
|
|
2443
|
+
} | undefined;
|
|
2444
|
+
readonly observationError?: string | undefined;
|
|
2445
|
+
} | undefined;
|
|
2446
|
+
readonly briefSteers?: readonly {
|
|
2447
|
+
readonly error?: string | undefined;
|
|
2448
|
+
readonly requestedAt: number;
|
|
2449
|
+
readonly revision: string;
|
|
2450
|
+
readonly steeredAt?: number | undefined;
|
|
2451
|
+
}[] | undefined;
|
|
2177
2452
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2178
2453
|
readonly missingSince?: number | undefined;
|
|
2179
2454
|
readonly observationRetries?: number | undefined;
|
|
@@ -2419,6 +2694,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
2419
2694
|
readonly admissionReady?: boolean | undefined;
|
|
2420
2695
|
readonly areas?: readonly string[] | undefined;
|
|
2421
2696
|
readonly attempts: readonly {
|
|
2697
|
+
readonly abandoned?: {
|
|
2698
|
+
readonly at: number;
|
|
2699
|
+
readonly interruptError?: string | undefined;
|
|
2700
|
+
readonly observation?: {
|
|
2701
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2702
|
+
readonly error?: string | undefined;
|
|
2703
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2704
|
+
readonly output: string;
|
|
2705
|
+
readonly progress?: readonly {
|
|
2706
|
+
readonly id: string;
|
|
2707
|
+
readonly status?: string | undefined;
|
|
2708
|
+
}[] | undefined;
|
|
2709
|
+
readonly provisioning: "ready" | "unknown";
|
|
2710
|
+
readonly receipt: {
|
|
2711
|
+
readonly sessionId: string;
|
|
2712
|
+
readonly turnId: string;
|
|
2713
|
+
};
|
|
2714
|
+
readonly turnMissing?: boolean | undefined;
|
|
2715
|
+
} | undefined;
|
|
2716
|
+
readonly observationError?: string | undefined;
|
|
2717
|
+
} | undefined;
|
|
2718
|
+
readonly briefSteers?: readonly {
|
|
2719
|
+
readonly error?: string | undefined;
|
|
2720
|
+
readonly requestedAt: number;
|
|
2721
|
+
readonly revision: string;
|
|
2722
|
+
readonly steeredAt?: number | undefined;
|
|
2723
|
+
}[] | undefined;
|
|
2422
2724
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2423
2725
|
readonly missingSince?: number | undefined;
|
|
2424
2726
|
readonly observationRetries?: number | undefined;
|
|
@@ -2657,6 +2959,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
2657
2959
|
readonly admissionReady?: boolean | undefined;
|
|
2658
2960
|
readonly areas?: readonly string[] | undefined;
|
|
2659
2961
|
readonly attempts: readonly {
|
|
2962
|
+
readonly abandoned?: {
|
|
2963
|
+
readonly at: number;
|
|
2964
|
+
readonly interruptError?: string | undefined;
|
|
2965
|
+
readonly observation?: {
|
|
2966
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2967
|
+
readonly error?: string | undefined;
|
|
2968
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2969
|
+
readonly output: string;
|
|
2970
|
+
readonly progress?: readonly {
|
|
2971
|
+
readonly id: string;
|
|
2972
|
+
readonly status?: string | undefined;
|
|
2973
|
+
}[] | undefined;
|
|
2974
|
+
readonly provisioning: "ready" | "unknown";
|
|
2975
|
+
readonly receipt: {
|
|
2976
|
+
readonly sessionId: string;
|
|
2977
|
+
readonly turnId: string;
|
|
2978
|
+
};
|
|
2979
|
+
readonly turnMissing?: boolean | undefined;
|
|
2980
|
+
} | undefined;
|
|
2981
|
+
readonly observationError?: string | undefined;
|
|
2982
|
+
} | undefined;
|
|
2983
|
+
readonly briefSteers?: readonly {
|
|
2984
|
+
readonly error?: string | undefined;
|
|
2985
|
+
readonly requestedAt: number;
|
|
2986
|
+
readonly revision: string;
|
|
2987
|
+
readonly steeredAt?: number | undefined;
|
|
2988
|
+
}[] | undefined;
|
|
2660
2989
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2661
2990
|
readonly missingSince?: number | undefined;
|
|
2662
2991
|
readonly observationRetries?: number | undefined;
|
|
@@ -2897,20 +3226,52 @@ export declare const operationRecord: (store: Omit<{
|
|
|
2897
3226
|
};
|
|
2898
3227
|
version: number;
|
|
2899
3228
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2900
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
}[], import("effect/
|
|
3229
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
3230
|
+
readonly workId: string;
|
|
3231
|
+
readonly version: number;
|
|
3232
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
3233
|
+
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
3234
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
3235
|
+
readonly backlog: boolean;
|
|
3236
|
+
readonly executing: boolean;
|
|
3237
|
+
readonly owner: string;
|
|
3238
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2904
3239
|
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2905
3240
|
reserveForeign: (owner: string, occupancy?: {
|
|
2906
3241
|
readonly executing: boolean;
|
|
2907
3242
|
readonly backlog: boolean;
|
|
2908
3243
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2909
|
-
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
2910
3244
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
2911
3245
|
readonly admissionReady?: boolean | undefined;
|
|
2912
3246
|
readonly areas?: readonly string[] | undefined;
|
|
2913
3247
|
readonly attempts: readonly {
|
|
3248
|
+
readonly abandoned?: {
|
|
3249
|
+
readonly at: number;
|
|
3250
|
+
readonly interruptError?: string | undefined;
|
|
3251
|
+
readonly observation?: {
|
|
3252
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3253
|
+
readonly error?: string | undefined;
|
|
3254
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3255
|
+
readonly output: string;
|
|
3256
|
+
readonly progress?: readonly {
|
|
3257
|
+
readonly id: string;
|
|
3258
|
+
readonly status?: string | undefined;
|
|
3259
|
+
}[] | undefined;
|
|
3260
|
+
readonly provisioning: "ready" | "unknown";
|
|
3261
|
+
readonly receipt: {
|
|
3262
|
+
readonly sessionId: string;
|
|
3263
|
+
readonly turnId: string;
|
|
3264
|
+
};
|
|
3265
|
+
readonly turnMissing?: boolean | undefined;
|
|
3266
|
+
} | undefined;
|
|
3267
|
+
readonly observationError?: string | undefined;
|
|
3268
|
+
} | undefined;
|
|
3269
|
+
readonly briefSteers?: readonly {
|
|
3270
|
+
readonly error?: string | undefined;
|
|
3271
|
+
readonly requestedAt: number;
|
|
3272
|
+
readonly revision: string;
|
|
3273
|
+
readonly steeredAt?: number | undefined;
|
|
3274
|
+
}[] | undefined;
|
|
2914
3275
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2915
3276
|
readonly missingSince?: number | undefined;
|
|
2916
3277
|
readonly observationRetries?: number | undefined;
|
|
@@ -3149,6 +3510,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
3149
3510
|
readonly admissionReady?: boolean | undefined;
|
|
3150
3511
|
readonly areas?: readonly string[] | undefined;
|
|
3151
3512
|
readonly attempts: readonly {
|
|
3513
|
+
readonly abandoned?: {
|
|
3514
|
+
readonly at: number;
|
|
3515
|
+
readonly interruptError?: string | undefined;
|
|
3516
|
+
readonly observation?: {
|
|
3517
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3518
|
+
readonly error?: string | undefined;
|
|
3519
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3520
|
+
readonly output: string;
|
|
3521
|
+
readonly progress?: readonly {
|
|
3522
|
+
readonly id: string;
|
|
3523
|
+
readonly status?: string | undefined;
|
|
3524
|
+
}[] | undefined;
|
|
3525
|
+
readonly provisioning: "ready" | "unknown";
|
|
3526
|
+
readonly receipt: {
|
|
3527
|
+
readonly sessionId: string;
|
|
3528
|
+
readonly turnId: string;
|
|
3529
|
+
};
|
|
3530
|
+
readonly turnMissing?: boolean | undefined;
|
|
3531
|
+
} | undefined;
|
|
3532
|
+
readonly observationError?: string | undefined;
|
|
3533
|
+
} | undefined;
|
|
3534
|
+
readonly briefSteers?: readonly {
|
|
3535
|
+
readonly error?: string | undefined;
|
|
3536
|
+
readonly requestedAt: number;
|
|
3537
|
+
readonly revision: string;
|
|
3538
|
+
readonly steeredAt?: number | undefined;
|
|
3539
|
+
}[] | undefined;
|
|
3152
3540
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3153
3541
|
readonly missingSince?: number | undefined;
|
|
3154
3542
|
readonly observationRetries?: number | undefined;
|
|
@@ -3391,6 +3779,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
3391
3779
|
readonly admissionReady?: boolean | undefined;
|
|
3392
3780
|
readonly areas?: readonly string[] | undefined;
|
|
3393
3781
|
readonly attempts: readonly {
|
|
3782
|
+
readonly abandoned?: {
|
|
3783
|
+
readonly at: number;
|
|
3784
|
+
readonly interruptError?: string | undefined;
|
|
3785
|
+
readonly observation?: {
|
|
3786
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3787
|
+
readonly error?: string | undefined;
|
|
3788
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3789
|
+
readonly output: string;
|
|
3790
|
+
readonly progress?: readonly {
|
|
3791
|
+
readonly id: string;
|
|
3792
|
+
readonly status?: string | undefined;
|
|
3793
|
+
}[] | undefined;
|
|
3794
|
+
readonly provisioning: "ready" | "unknown";
|
|
3795
|
+
readonly receipt: {
|
|
3796
|
+
readonly sessionId: string;
|
|
3797
|
+
readonly turnId: string;
|
|
3798
|
+
};
|
|
3799
|
+
readonly turnMissing?: boolean | undefined;
|
|
3800
|
+
} | undefined;
|
|
3801
|
+
readonly observationError?: string | undefined;
|
|
3802
|
+
} | undefined;
|
|
3803
|
+
readonly briefSteers?: readonly {
|
|
3804
|
+
readonly error?: string | undefined;
|
|
3805
|
+
readonly requestedAt: number;
|
|
3806
|
+
readonly revision: string;
|
|
3807
|
+
readonly steeredAt?: number | undefined;
|
|
3808
|
+
}[] | undefined;
|
|
3394
3809
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3395
3810
|
readonly missingSince?: number | undefined;
|
|
3396
3811
|
readonly observationRetries?: number | undefined;
|
|
@@ -3629,6 +4044,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
3629
4044
|
readonly admissionReady?: boolean | undefined;
|
|
3630
4045
|
readonly areas?: readonly string[] | undefined;
|
|
3631
4046
|
readonly attempts: readonly {
|
|
4047
|
+
readonly abandoned?: {
|
|
4048
|
+
readonly at: number;
|
|
4049
|
+
readonly interruptError?: string | undefined;
|
|
4050
|
+
readonly observation?: {
|
|
4051
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4052
|
+
readonly error?: string | undefined;
|
|
4053
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4054
|
+
readonly output: string;
|
|
4055
|
+
readonly progress?: readonly {
|
|
4056
|
+
readonly id: string;
|
|
4057
|
+
readonly status?: string | undefined;
|
|
4058
|
+
}[] | undefined;
|
|
4059
|
+
readonly provisioning: "ready" | "unknown";
|
|
4060
|
+
readonly receipt: {
|
|
4061
|
+
readonly sessionId: string;
|
|
4062
|
+
readonly turnId: string;
|
|
4063
|
+
};
|
|
4064
|
+
readonly turnMissing?: boolean | undefined;
|
|
4065
|
+
} | undefined;
|
|
4066
|
+
readonly observationError?: string | undefined;
|
|
4067
|
+
} | undefined;
|
|
4068
|
+
readonly briefSteers?: readonly {
|
|
4069
|
+
readonly error?: string | undefined;
|
|
4070
|
+
readonly requestedAt: number;
|
|
4071
|
+
readonly revision: string;
|
|
4072
|
+
readonly steeredAt?: number | undefined;
|
|
4073
|
+
}[] | undefined;
|
|
3632
4074
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3633
4075
|
readonly missingSince?: number | undefined;
|
|
3634
4076
|
readonly observationRetries?: number | undefined;
|
|
@@ -3869,17 +4311,39 @@ export declare const operationRecord: (store: Omit<{
|
|
|
3869
4311
|
};
|
|
3870
4312
|
version: number;
|
|
3871
4313
|
}, 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>;
|
|
3872
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
3873
|
-
readonly backlog: boolean;
|
|
3874
|
-
readonly executing: boolean;
|
|
3875
|
-
readonly owner: string;
|
|
3876
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3877
4314
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3878
4315
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
3879
4316
|
insert: (record: {
|
|
3880
4317
|
readonly admissionReady?: boolean | undefined;
|
|
3881
4318
|
readonly areas?: readonly string[] | undefined;
|
|
3882
4319
|
readonly attempts: readonly {
|
|
4320
|
+
readonly abandoned?: {
|
|
4321
|
+
readonly at: number;
|
|
4322
|
+
readonly interruptError?: string | undefined;
|
|
4323
|
+
readonly observation?: {
|
|
4324
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4325
|
+
readonly error?: string | undefined;
|
|
4326
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4327
|
+
readonly output: string;
|
|
4328
|
+
readonly progress?: readonly {
|
|
4329
|
+
readonly id: string;
|
|
4330
|
+
readonly status?: string | undefined;
|
|
4331
|
+
}[] | undefined;
|
|
4332
|
+
readonly provisioning: "ready" | "unknown";
|
|
4333
|
+
readonly receipt: {
|
|
4334
|
+
readonly sessionId: string;
|
|
4335
|
+
readonly turnId: string;
|
|
4336
|
+
};
|
|
4337
|
+
readonly turnMissing?: boolean | undefined;
|
|
4338
|
+
} | undefined;
|
|
4339
|
+
readonly observationError?: string | undefined;
|
|
4340
|
+
} | undefined;
|
|
4341
|
+
readonly briefSteers?: readonly {
|
|
4342
|
+
readonly error?: string | undefined;
|
|
4343
|
+
readonly requestedAt: number;
|
|
4344
|
+
readonly revision: string;
|
|
4345
|
+
readonly steeredAt?: number | undefined;
|
|
4346
|
+
}[] | undefined;
|
|
3883
4347
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3884
4348
|
readonly missingSince?: number | undefined;
|
|
3885
4349
|
readonly observationRetries?: number | undefined;
|
|
@@ -4118,6 +4582,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
4118
4582
|
readonly admissionReady?: boolean | undefined;
|
|
4119
4583
|
readonly areas?: readonly string[] | undefined;
|
|
4120
4584
|
readonly attempts: readonly {
|
|
4585
|
+
readonly abandoned?: {
|
|
4586
|
+
readonly at: number;
|
|
4587
|
+
readonly interruptError?: string | undefined;
|
|
4588
|
+
readonly observation?: {
|
|
4589
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4590
|
+
readonly error?: string | undefined;
|
|
4591
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4592
|
+
readonly output: string;
|
|
4593
|
+
readonly progress?: readonly {
|
|
4594
|
+
readonly id: string;
|
|
4595
|
+
readonly status?: string | undefined;
|
|
4596
|
+
}[] | undefined;
|
|
4597
|
+
readonly provisioning: "ready" | "unknown";
|
|
4598
|
+
readonly receipt: {
|
|
4599
|
+
readonly sessionId: string;
|
|
4600
|
+
readonly turnId: string;
|
|
4601
|
+
};
|
|
4602
|
+
readonly turnMissing?: boolean | undefined;
|
|
4603
|
+
} | undefined;
|
|
4604
|
+
readonly observationError?: string | undefined;
|
|
4605
|
+
} | undefined;
|
|
4606
|
+
readonly briefSteers?: readonly {
|
|
4607
|
+
readonly error?: string | undefined;
|
|
4608
|
+
readonly requestedAt: number;
|
|
4609
|
+
readonly revision: string;
|
|
4610
|
+
readonly steeredAt?: number | undefined;
|
|
4611
|
+
}[] | undefined;
|
|
4121
4612
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4122
4613
|
readonly missingSince?: number | undefined;
|
|
4123
4614
|
readonly observationRetries?: number | undefined;
|
|
@@ -4360,6 +4851,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
4360
4851
|
readonly admissionReady?: boolean | undefined;
|
|
4361
4852
|
readonly areas?: readonly string[] | undefined;
|
|
4362
4853
|
readonly attempts: readonly {
|
|
4854
|
+
readonly abandoned?: {
|
|
4855
|
+
readonly at: number;
|
|
4856
|
+
readonly interruptError?: string | undefined;
|
|
4857
|
+
readonly observation?: {
|
|
4858
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4859
|
+
readonly error?: string | undefined;
|
|
4860
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4861
|
+
readonly output: string;
|
|
4862
|
+
readonly progress?: readonly {
|
|
4863
|
+
readonly id: string;
|
|
4864
|
+
readonly status?: string | undefined;
|
|
4865
|
+
}[] | undefined;
|
|
4866
|
+
readonly provisioning: "ready" | "unknown";
|
|
4867
|
+
readonly receipt: {
|
|
4868
|
+
readonly sessionId: string;
|
|
4869
|
+
readonly turnId: string;
|
|
4870
|
+
};
|
|
4871
|
+
readonly turnMissing?: boolean | undefined;
|
|
4872
|
+
} | undefined;
|
|
4873
|
+
readonly observationError?: string | undefined;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
readonly briefSteers?: readonly {
|
|
4876
|
+
readonly error?: string | undefined;
|
|
4877
|
+
readonly requestedAt: number;
|
|
4878
|
+
readonly revision: string;
|
|
4879
|
+
readonly steeredAt?: number | undefined;
|
|
4880
|
+
}[] | undefined;
|
|
4363
4881
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4364
4882
|
readonly missingSince?: number | undefined;
|
|
4365
4883
|
readonly observationRetries?: number | undefined;
|
|
@@ -4598,6 +5116,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
4598
5116
|
readonly admissionReady?: boolean | undefined;
|
|
4599
5117
|
readonly areas?: readonly string[] | undefined;
|
|
4600
5118
|
readonly attempts: readonly {
|
|
5119
|
+
readonly abandoned?: {
|
|
5120
|
+
readonly at: number;
|
|
5121
|
+
readonly interruptError?: string | undefined;
|
|
5122
|
+
readonly observation?: {
|
|
5123
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5124
|
+
readonly error?: string | undefined;
|
|
5125
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5126
|
+
readonly output: string;
|
|
5127
|
+
readonly progress?: readonly {
|
|
5128
|
+
readonly id: string;
|
|
5129
|
+
readonly status?: string | undefined;
|
|
5130
|
+
}[] | undefined;
|
|
5131
|
+
readonly provisioning: "ready" | "unknown";
|
|
5132
|
+
readonly receipt: {
|
|
5133
|
+
readonly sessionId: string;
|
|
5134
|
+
readonly turnId: string;
|
|
5135
|
+
};
|
|
5136
|
+
readonly turnMissing?: boolean | undefined;
|
|
5137
|
+
} | undefined;
|
|
5138
|
+
readonly observationError?: string | undefined;
|
|
5139
|
+
} | undefined;
|
|
5140
|
+
readonly briefSteers?: readonly {
|
|
5141
|
+
readonly error?: string | undefined;
|
|
5142
|
+
readonly requestedAt: number;
|
|
5143
|
+
readonly revision: string;
|
|
5144
|
+
readonly steeredAt?: number | undefined;
|
|
5145
|
+
}[] | undefined;
|
|
4601
5146
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4602
5147
|
readonly missingSince?: number | undefined;
|
|
4603
5148
|
readonly observationRetries?: number | undefined;
|
|
@@ -4843,6 +5388,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
4843
5388
|
readonly admissionReady?: boolean | undefined;
|
|
4844
5389
|
readonly areas?: readonly string[] | undefined;
|
|
4845
5390
|
readonly attempts: readonly {
|
|
5391
|
+
readonly abandoned?: {
|
|
5392
|
+
readonly at: number;
|
|
5393
|
+
readonly interruptError?: string | undefined;
|
|
5394
|
+
readonly observation?: {
|
|
5395
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5396
|
+
readonly error?: string | undefined;
|
|
5397
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5398
|
+
readonly output: string;
|
|
5399
|
+
readonly progress?: readonly {
|
|
5400
|
+
readonly id: string;
|
|
5401
|
+
readonly status?: string | undefined;
|
|
5402
|
+
}[] | undefined;
|
|
5403
|
+
readonly provisioning: "ready" | "unknown";
|
|
5404
|
+
readonly receipt: {
|
|
5405
|
+
readonly sessionId: string;
|
|
5406
|
+
readonly turnId: string;
|
|
5407
|
+
};
|
|
5408
|
+
readonly turnMissing?: boolean | undefined;
|
|
5409
|
+
} | undefined;
|
|
5410
|
+
readonly observationError?: string | undefined;
|
|
5411
|
+
} | undefined;
|
|
5412
|
+
readonly briefSteers?: readonly {
|
|
5413
|
+
readonly error?: string | undefined;
|
|
5414
|
+
readonly requestedAt: number;
|
|
5415
|
+
readonly revision: string;
|
|
5416
|
+
readonly steeredAt?: number | undefined;
|
|
5417
|
+
}[] | undefined;
|
|
4846
5418
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4847
5419
|
readonly missingSince?: number | undefined;
|
|
4848
5420
|
readonly observationRetries?: number | undefined;
|
|
@@ -5081,6 +5653,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
5081
5653
|
readonly admissionReady?: boolean | undefined;
|
|
5082
5654
|
readonly areas?: readonly string[] | undefined;
|
|
5083
5655
|
readonly attempts: readonly {
|
|
5656
|
+
readonly abandoned?: {
|
|
5657
|
+
readonly at: number;
|
|
5658
|
+
readonly interruptError?: string | undefined;
|
|
5659
|
+
readonly observation?: {
|
|
5660
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5661
|
+
readonly error?: string | undefined;
|
|
5662
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5663
|
+
readonly output: string;
|
|
5664
|
+
readonly progress?: readonly {
|
|
5665
|
+
readonly id: string;
|
|
5666
|
+
readonly status?: string | undefined;
|
|
5667
|
+
}[] | undefined;
|
|
5668
|
+
readonly provisioning: "ready" | "unknown";
|
|
5669
|
+
readonly receipt: {
|
|
5670
|
+
readonly sessionId: string;
|
|
5671
|
+
readonly turnId: string;
|
|
5672
|
+
};
|
|
5673
|
+
readonly turnMissing?: boolean | undefined;
|
|
5674
|
+
} | undefined;
|
|
5675
|
+
readonly observationError?: string | undefined;
|
|
5676
|
+
} | undefined;
|
|
5677
|
+
readonly briefSteers?: readonly {
|
|
5678
|
+
readonly error?: string | undefined;
|
|
5679
|
+
readonly requestedAt: number;
|
|
5680
|
+
readonly revision: string;
|
|
5681
|
+
readonly steeredAt?: number | undefined;
|
|
5682
|
+
}[] | undefined;
|
|
5084
5683
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5085
5684
|
readonly missingSince?: number | undefined;
|
|
5086
5685
|
readonly observationRetries?: number | undefined;
|
|
@@ -5326,6 +5925,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
5326
5925
|
readonly admissionReady?: boolean | undefined;
|
|
5327
5926
|
readonly areas?: readonly string[] | undefined;
|
|
5328
5927
|
readonly attempts: readonly {
|
|
5928
|
+
readonly abandoned?: {
|
|
5929
|
+
readonly at: number;
|
|
5930
|
+
readonly interruptError?: string | undefined;
|
|
5931
|
+
readonly observation?: {
|
|
5932
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5933
|
+
readonly error?: string | undefined;
|
|
5934
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5935
|
+
readonly output: string;
|
|
5936
|
+
readonly progress?: readonly {
|
|
5937
|
+
readonly id: string;
|
|
5938
|
+
readonly status?: string | undefined;
|
|
5939
|
+
}[] | undefined;
|
|
5940
|
+
readonly provisioning: "ready" | "unknown";
|
|
5941
|
+
readonly receipt: {
|
|
5942
|
+
readonly sessionId: string;
|
|
5943
|
+
readonly turnId: string;
|
|
5944
|
+
};
|
|
5945
|
+
readonly turnMissing?: boolean | undefined;
|
|
5946
|
+
} | undefined;
|
|
5947
|
+
readonly observationError?: string | undefined;
|
|
5948
|
+
} | undefined;
|
|
5949
|
+
readonly briefSteers?: readonly {
|
|
5950
|
+
readonly error?: string | undefined;
|
|
5951
|
+
readonly requestedAt: number;
|
|
5952
|
+
readonly revision: string;
|
|
5953
|
+
readonly steeredAt?: number | undefined;
|
|
5954
|
+
}[] | undefined;
|
|
5329
5955
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5330
5956
|
readonly missingSince?: number | undefined;
|
|
5331
5957
|
readonly observationRetries?: number | undefined;
|
|
@@ -5564,6 +6190,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
5564
6190
|
readonly admissionReady?: boolean | undefined;
|
|
5565
6191
|
readonly areas?: readonly string[] | undefined;
|
|
5566
6192
|
readonly attempts: readonly {
|
|
6193
|
+
readonly abandoned?: {
|
|
6194
|
+
readonly at: number;
|
|
6195
|
+
readonly interruptError?: string | undefined;
|
|
6196
|
+
readonly observation?: {
|
|
6197
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6198
|
+
readonly error?: string | undefined;
|
|
6199
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6200
|
+
readonly output: string;
|
|
6201
|
+
readonly progress?: readonly {
|
|
6202
|
+
readonly id: string;
|
|
6203
|
+
readonly status?: string | undefined;
|
|
6204
|
+
}[] | undefined;
|
|
6205
|
+
readonly provisioning: "ready" | "unknown";
|
|
6206
|
+
readonly receipt: {
|
|
6207
|
+
readonly sessionId: string;
|
|
6208
|
+
readonly turnId: string;
|
|
6209
|
+
};
|
|
6210
|
+
readonly turnMissing?: boolean | undefined;
|
|
6211
|
+
} | undefined;
|
|
6212
|
+
readonly observationError?: string | undefined;
|
|
6213
|
+
} | undefined;
|
|
6214
|
+
readonly briefSteers?: readonly {
|
|
6215
|
+
readonly error?: string | undefined;
|
|
6216
|
+
readonly requestedAt: number;
|
|
6217
|
+
readonly revision: string;
|
|
6218
|
+
readonly steeredAt?: number | undefined;
|
|
6219
|
+
}[] | undefined;
|
|
5567
6220
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5568
6221
|
readonly missingSince?: number | undefined;
|
|
5569
6222
|
readonly observationRetries?: number | undefined;
|
|
@@ -5804,20 +6457,42 @@ export declare const operationRecord: (store: Omit<{
|
|
|
5804
6457
|
};
|
|
5805
6458
|
version: number;
|
|
5806
6459
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5807
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
}[], import("effect/
|
|
5811
|
-
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5812
|
-
reserveForeign: (owner: string, occupancy?: {
|
|
5813
|
-
readonly executing: boolean;
|
|
5814
|
-
readonly backlog: boolean;
|
|
5815
|
-
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
6460
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
6461
|
+
readonly workId: string;
|
|
6462
|
+
readonly version: number;
|
|
6463
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
5816
6464
|
}, "operationEntries">>, operationId: string) => Effect.Effect<{
|
|
5817
6465
|
value: {
|
|
5818
6466
|
readonly admissionReady?: boolean | undefined;
|
|
5819
6467
|
readonly areas?: readonly string[] | undefined;
|
|
5820
6468
|
readonly attempts: readonly {
|
|
6469
|
+
readonly abandoned?: {
|
|
6470
|
+
readonly at: number;
|
|
6471
|
+
readonly interruptError?: string | undefined;
|
|
6472
|
+
readonly observation?: {
|
|
6473
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6474
|
+
readonly error?: string | undefined;
|
|
6475
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6476
|
+
readonly output: string;
|
|
6477
|
+
readonly progress?: readonly {
|
|
6478
|
+
readonly id: string;
|
|
6479
|
+
readonly status?: string | undefined;
|
|
6480
|
+
}[] | undefined;
|
|
6481
|
+
readonly provisioning: "ready" | "unknown";
|
|
6482
|
+
readonly receipt: {
|
|
6483
|
+
readonly sessionId: string;
|
|
6484
|
+
readonly turnId: string;
|
|
6485
|
+
};
|
|
6486
|
+
readonly turnMissing?: boolean | undefined;
|
|
6487
|
+
} | undefined;
|
|
6488
|
+
readonly observationError?: string | undefined;
|
|
6489
|
+
} | undefined;
|
|
6490
|
+
readonly briefSteers?: readonly {
|
|
6491
|
+
readonly error?: string | undefined;
|
|
6492
|
+
readonly requestedAt: number;
|
|
6493
|
+
readonly revision: string;
|
|
6494
|
+
readonly steeredAt?: number | undefined;
|
|
6495
|
+
}[] | undefined;
|
|
5821
6496
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5822
6497
|
readonly missingSince?: number | undefined;
|
|
5823
6498
|
readonly observationRetries?: number | undefined;
|
|
@@ -6056,6 +6731,33 @@ export declare const operationRecord: (store: Omit<{
|
|
|
6056
6731
|
readonly admissionReady?: boolean | undefined;
|
|
6057
6732
|
readonly areas?: readonly string[] | undefined;
|
|
6058
6733
|
readonly attempts: readonly {
|
|
6734
|
+
readonly abandoned?: {
|
|
6735
|
+
readonly at: number;
|
|
6736
|
+
readonly interruptError?: string | undefined;
|
|
6737
|
+
readonly observation?: {
|
|
6738
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6739
|
+
readonly error?: string | undefined;
|
|
6740
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6741
|
+
readonly output: string;
|
|
6742
|
+
readonly progress?: readonly {
|
|
6743
|
+
readonly id: string;
|
|
6744
|
+
readonly status?: string | undefined;
|
|
6745
|
+
}[] | undefined;
|
|
6746
|
+
readonly provisioning: "ready" | "unknown";
|
|
6747
|
+
readonly receipt: {
|
|
6748
|
+
readonly sessionId: string;
|
|
6749
|
+
readonly turnId: string;
|
|
6750
|
+
};
|
|
6751
|
+
readonly turnMissing?: boolean | undefined;
|
|
6752
|
+
} | undefined;
|
|
6753
|
+
readonly observationError?: string | undefined;
|
|
6754
|
+
} | undefined;
|
|
6755
|
+
readonly briefSteers?: readonly {
|
|
6756
|
+
readonly error?: string | undefined;
|
|
6757
|
+
readonly requestedAt: number;
|
|
6758
|
+
readonly revision: string;
|
|
6759
|
+
readonly steeredAt?: number | undefined;
|
|
6760
|
+
}[] | undefined;
|
|
6059
6761
|
readonly checkFailures?: readonly string[] | undefined;
|
|
6060
6762
|
readonly missingSince?: number | undefined;
|
|
6061
6763
|
readonly observationRetries?: number | undefined;
|