@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
|
@@ -2,10 +2,47 @@ import { Context, Effect, Layer } from "effect";
|
|
|
2
2
|
import { SqlClient } from "effect/sql";
|
|
3
3
|
import { SessionJournal } from "#session/service.ts";
|
|
4
4
|
declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shivaedev/work-fleet/FleetRepository", Omit<{
|
|
5
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
6
|
+
readonly backlog: boolean;
|
|
7
|
+
readonly executing: boolean;
|
|
8
|
+
readonly owner: string;
|
|
9
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
10
|
+
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
11
|
+
reserveForeign: (owner: string, occupancy?: {
|
|
12
|
+
readonly executing: boolean;
|
|
13
|
+
readonly backlog: boolean;
|
|
14
|
+
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5
15
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
6
16
|
readonly admissionReady?: boolean | undefined;
|
|
7
17
|
readonly areas?: readonly string[] | undefined;
|
|
8
18
|
readonly attempts: readonly {
|
|
19
|
+
readonly abandoned?: {
|
|
20
|
+
readonly at: number;
|
|
21
|
+
readonly interruptError?: string | undefined;
|
|
22
|
+
readonly observation?: {
|
|
23
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
24
|
+
readonly error?: string | undefined;
|
|
25
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
26
|
+
readonly output: string;
|
|
27
|
+
readonly progress?: readonly {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly status?: string | undefined;
|
|
30
|
+
}[] | undefined;
|
|
31
|
+
readonly provisioning: "ready" | "unknown";
|
|
32
|
+
readonly receipt: {
|
|
33
|
+
readonly sessionId: string;
|
|
34
|
+
readonly turnId: string;
|
|
35
|
+
};
|
|
36
|
+
readonly turnMissing?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
readonly observationError?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
readonly briefSteers?: readonly {
|
|
41
|
+
readonly error?: string | undefined;
|
|
42
|
+
readonly requestedAt: number;
|
|
43
|
+
readonly revision: string;
|
|
44
|
+
readonly steeredAt?: number | undefined;
|
|
45
|
+
}[] | undefined;
|
|
9
46
|
readonly checkFailures?: readonly string[] | undefined;
|
|
10
47
|
readonly missingSince?: number | undefined;
|
|
11
48
|
readonly observationRetries?: number | undefined;
|
|
@@ -244,6 +281,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
244
281
|
readonly admissionReady?: boolean | undefined;
|
|
245
282
|
readonly areas?: readonly string[] | undefined;
|
|
246
283
|
readonly attempts: readonly {
|
|
284
|
+
readonly abandoned?: {
|
|
285
|
+
readonly at: number;
|
|
286
|
+
readonly interruptError?: string | undefined;
|
|
287
|
+
readonly observation?: {
|
|
288
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
289
|
+
readonly error?: string | undefined;
|
|
290
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
291
|
+
readonly output: string;
|
|
292
|
+
readonly progress?: readonly {
|
|
293
|
+
readonly id: string;
|
|
294
|
+
readonly status?: string | undefined;
|
|
295
|
+
}[] | undefined;
|
|
296
|
+
readonly provisioning: "ready" | "unknown";
|
|
297
|
+
readonly receipt: {
|
|
298
|
+
readonly sessionId: string;
|
|
299
|
+
readonly turnId: string;
|
|
300
|
+
};
|
|
301
|
+
readonly turnMissing?: boolean | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
readonly observationError?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
readonly briefSteers?: readonly {
|
|
306
|
+
readonly error?: string | undefined;
|
|
307
|
+
readonly requestedAt: number;
|
|
308
|
+
readonly revision: string;
|
|
309
|
+
readonly steeredAt?: number | undefined;
|
|
310
|
+
}[] | undefined;
|
|
247
311
|
readonly checkFailures?: readonly string[] | undefined;
|
|
248
312
|
readonly missingSince?: number | undefined;
|
|
249
313
|
readonly observationRetries?: number | undefined;
|
|
@@ -486,6 +550,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
486
550
|
readonly admissionReady?: boolean | undefined;
|
|
487
551
|
readonly areas?: readonly string[] | undefined;
|
|
488
552
|
readonly attempts: readonly {
|
|
553
|
+
readonly abandoned?: {
|
|
554
|
+
readonly at: number;
|
|
555
|
+
readonly interruptError?: string | undefined;
|
|
556
|
+
readonly observation?: {
|
|
557
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
558
|
+
readonly error?: string | undefined;
|
|
559
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
560
|
+
readonly output: string;
|
|
561
|
+
readonly progress?: readonly {
|
|
562
|
+
readonly id: string;
|
|
563
|
+
readonly status?: string | undefined;
|
|
564
|
+
}[] | undefined;
|
|
565
|
+
readonly provisioning: "ready" | "unknown";
|
|
566
|
+
readonly receipt: {
|
|
567
|
+
readonly sessionId: string;
|
|
568
|
+
readonly turnId: string;
|
|
569
|
+
};
|
|
570
|
+
readonly turnMissing?: boolean | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
readonly observationError?: string | undefined;
|
|
573
|
+
} | undefined;
|
|
574
|
+
readonly briefSteers?: readonly {
|
|
575
|
+
readonly error?: string | undefined;
|
|
576
|
+
readonly requestedAt: number;
|
|
577
|
+
readonly revision: string;
|
|
578
|
+
readonly steeredAt?: number | undefined;
|
|
579
|
+
}[] | undefined;
|
|
489
580
|
readonly checkFailures?: readonly string[] | undefined;
|
|
490
581
|
readonly missingSince?: number | undefined;
|
|
491
582
|
readonly observationRetries?: number | undefined;
|
|
@@ -724,6 +815,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
724
815
|
readonly admissionReady?: boolean | undefined;
|
|
725
816
|
readonly areas?: readonly string[] | undefined;
|
|
726
817
|
readonly attempts: readonly {
|
|
818
|
+
readonly abandoned?: {
|
|
819
|
+
readonly at: number;
|
|
820
|
+
readonly interruptError?: string | undefined;
|
|
821
|
+
readonly observation?: {
|
|
822
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
823
|
+
readonly error?: string | undefined;
|
|
824
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
825
|
+
readonly output: string;
|
|
826
|
+
readonly progress?: readonly {
|
|
827
|
+
readonly id: string;
|
|
828
|
+
readonly status?: string | undefined;
|
|
829
|
+
}[] | undefined;
|
|
830
|
+
readonly provisioning: "ready" | "unknown";
|
|
831
|
+
readonly receipt: {
|
|
832
|
+
readonly sessionId: string;
|
|
833
|
+
readonly turnId: string;
|
|
834
|
+
};
|
|
835
|
+
readonly turnMissing?: boolean | undefined;
|
|
836
|
+
} | undefined;
|
|
837
|
+
readonly observationError?: string | undefined;
|
|
838
|
+
} | undefined;
|
|
839
|
+
readonly briefSteers?: readonly {
|
|
840
|
+
readonly error?: string | undefined;
|
|
841
|
+
readonly requestedAt: number;
|
|
842
|
+
readonly revision: string;
|
|
843
|
+
readonly steeredAt?: number | undefined;
|
|
844
|
+
}[] | undefined;
|
|
727
845
|
readonly checkFailures?: readonly string[] | undefined;
|
|
728
846
|
readonly missingSince?: number | undefined;
|
|
729
847
|
readonly observationRetries?: number | undefined;
|
|
@@ -964,17 +1082,39 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
964
1082
|
};
|
|
965
1083
|
version: number;
|
|
966
1084
|
}, 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>;
|
|
967
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
968
|
-
readonly backlog: boolean;
|
|
969
|
-
readonly executing: boolean;
|
|
970
|
-
readonly owner: string;
|
|
971
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
972
1085
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
973
1086
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
974
1087
|
insert: (record: {
|
|
975
1088
|
readonly admissionReady?: boolean | undefined;
|
|
976
1089
|
readonly areas?: readonly string[] | undefined;
|
|
977
1090
|
readonly attempts: readonly {
|
|
1091
|
+
readonly abandoned?: {
|
|
1092
|
+
readonly at: number;
|
|
1093
|
+
readonly interruptError?: string | undefined;
|
|
1094
|
+
readonly observation?: {
|
|
1095
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1096
|
+
readonly error?: string | undefined;
|
|
1097
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1098
|
+
readonly output: string;
|
|
1099
|
+
readonly progress?: readonly {
|
|
1100
|
+
readonly id: string;
|
|
1101
|
+
readonly status?: string | undefined;
|
|
1102
|
+
}[] | undefined;
|
|
1103
|
+
readonly provisioning: "ready" | "unknown";
|
|
1104
|
+
readonly receipt: {
|
|
1105
|
+
readonly sessionId: string;
|
|
1106
|
+
readonly turnId: string;
|
|
1107
|
+
};
|
|
1108
|
+
readonly turnMissing?: boolean | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
readonly observationError?: string | undefined;
|
|
1111
|
+
} | undefined;
|
|
1112
|
+
readonly briefSteers?: readonly {
|
|
1113
|
+
readonly error?: string | undefined;
|
|
1114
|
+
readonly requestedAt: number;
|
|
1115
|
+
readonly revision: string;
|
|
1116
|
+
readonly steeredAt?: number | undefined;
|
|
1117
|
+
}[] | undefined;
|
|
978
1118
|
readonly checkFailures?: readonly string[] | undefined;
|
|
979
1119
|
readonly missingSince?: number | undefined;
|
|
980
1120
|
readonly observationRetries?: number | undefined;
|
|
@@ -1213,6 +1353,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
1213
1353
|
readonly admissionReady?: boolean | undefined;
|
|
1214
1354
|
readonly areas?: readonly string[] | undefined;
|
|
1215
1355
|
readonly attempts: readonly {
|
|
1356
|
+
readonly abandoned?: {
|
|
1357
|
+
readonly at: number;
|
|
1358
|
+
readonly interruptError?: string | undefined;
|
|
1359
|
+
readonly observation?: {
|
|
1360
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1361
|
+
readonly error?: string | undefined;
|
|
1362
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1363
|
+
readonly output: string;
|
|
1364
|
+
readonly progress?: readonly {
|
|
1365
|
+
readonly id: string;
|
|
1366
|
+
readonly status?: string | undefined;
|
|
1367
|
+
}[] | undefined;
|
|
1368
|
+
readonly provisioning: "ready" | "unknown";
|
|
1369
|
+
readonly receipt: {
|
|
1370
|
+
readonly sessionId: string;
|
|
1371
|
+
readonly turnId: string;
|
|
1372
|
+
};
|
|
1373
|
+
readonly turnMissing?: boolean | undefined;
|
|
1374
|
+
} | undefined;
|
|
1375
|
+
readonly observationError?: string | undefined;
|
|
1376
|
+
} | undefined;
|
|
1377
|
+
readonly briefSteers?: readonly {
|
|
1378
|
+
readonly error?: string | undefined;
|
|
1379
|
+
readonly requestedAt: number;
|
|
1380
|
+
readonly revision: string;
|
|
1381
|
+
readonly steeredAt?: number | undefined;
|
|
1382
|
+
}[] | undefined;
|
|
1216
1383
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1217
1384
|
readonly missingSince?: number | undefined;
|
|
1218
1385
|
readonly observationRetries?: number | undefined;
|
|
@@ -1455,6 +1622,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
1455
1622
|
readonly admissionReady?: boolean | undefined;
|
|
1456
1623
|
readonly areas?: readonly string[] | undefined;
|
|
1457
1624
|
readonly attempts: readonly {
|
|
1625
|
+
readonly abandoned?: {
|
|
1626
|
+
readonly at: number;
|
|
1627
|
+
readonly interruptError?: string | undefined;
|
|
1628
|
+
readonly observation?: {
|
|
1629
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1630
|
+
readonly error?: string | undefined;
|
|
1631
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1632
|
+
readonly output: string;
|
|
1633
|
+
readonly progress?: readonly {
|
|
1634
|
+
readonly id: string;
|
|
1635
|
+
readonly status?: string | undefined;
|
|
1636
|
+
}[] | undefined;
|
|
1637
|
+
readonly provisioning: "ready" | "unknown";
|
|
1638
|
+
readonly receipt: {
|
|
1639
|
+
readonly sessionId: string;
|
|
1640
|
+
readonly turnId: string;
|
|
1641
|
+
};
|
|
1642
|
+
readonly turnMissing?: boolean | undefined;
|
|
1643
|
+
} | undefined;
|
|
1644
|
+
readonly observationError?: string | undefined;
|
|
1645
|
+
} | undefined;
|
|
1646
|
+
readonly briefSteers?: readonly {
|
|
1647
|
+
readonly error?: string | undefined;
|
|
1648
|
+
readonly requestedAt: number;
|
|
1649
|
+
readonly revision: string;
|
|
1650
|
+
readonly steeredAt?: number | undefined;
|
|
1651
|
+
}[] | undefined;
|
|
1458
1652
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1459
1653
|
readonly missingSince?: number | undefined;
|
|
1460
1654
|
readonly observationRetries?: number | undefined;
|
|
@@ -1693,6 +1887,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
1693
1887
|
readonly admissionReady?: boolean | undefined;
|
|
1694
1888
|
readonly areas?: readonly string[] | undefined;
|
|
1695
1889
|
readonly attempts: readonly {
|
|
1890
|
+
readonly abandoned?: {
|
|
1891
|
+
readonly at: number;
|
|
1892
|
+
readonly interruptError?: string | undefined;
|
|
1893
|
+
readonly observation?: {
|
|
1894
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1895
|
+
readonly error?: string | undefined;
|
|
1896
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1897
|
+
readonly output: string;
|
|
1898
|
+
readonly progress?: readonly {
|
|
1899
|
+
readonly id: string;
|
|
1900
|
+
readonly status?: string | undefined;
|
|
1901
|
+
}[] | undefined;
|
|
1902
|
+
readonly provisioning: "ready" | "unknown";
|
|
1903
|
+
readonly receipt: {
|
|
1904
|
+
readonly sessionId: string;
|
|
1905
|
+
readonly turnId: string;
|
|
1906
|
+
};
|
|
1907
|
+
readonly turnMissing?: boolean | undefined;
|
|
1908
|
+
} | undefined;
|
|
1909
|
+
readonly observationError?: string | undefined;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
readonly briefSteers?: readonly {
|
|
1912
|
+
readonly error?: string | undefined;
|
|
1913
|
+
readonly requestedAt: number;
|
|
1914
|
+
readonly revision: string;
|
|
1915
|
+
readonly steeredAt?: number | undefined;
|
|
1916
|
+
}[] | undefined;
|
|
1696
1917
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1697
1918
|
readonly missingSince?: number | undefined;
|
|
1698
1919
|
readonly observationRetries?: number | undefined;
|
|
@@ -1938,6 +2159,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
1938
2159
|
readonly admissionReady?: boolean | undefined;
|
|
1939
2160
|
readonly areas?: readonly string[] | undefined;
|
|
1940
2161
|
readonly attempts: readonly {
|
|
2162
|
+
readonly abandoned?: {
|
|
2163
|
+
readonly at: number;
|
|
2164
|
+
readonly interruptError?: string | undefined;
|
|
2165
|
+
readonly observation?: {
|
|
2166
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2167
|
+
readonly error?: string | undefined;
|
|
2168
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2169
|
+
readonly output: string;
|
|
2170
|
+
readonly progress?: readonly {
|
|
2171
|
+
readonly id: string;
|
|
2172
|
+
readonly status?: string | undefined;
|
|
2173
|
+
}[] | undefined;
|
|
2174
|
+
readonly provisioning: "ready" | "unknown";
|
|
2175
|
+
readonly receipt: {
|
|
2176
|
+
readonly sessionId: string;
|
|
2177
|
+
readonly turnId: string;
|
|
2178
|
+
};
|
|
2179
|
+
readonly turnMissing?: boolean | undefined;
|
|
2180
|
+
} | undefined;
|
|
2181
|
+
readonly observationError?: string | undefined;
|
|
2182
|
+
} | undefined;
|
|
2183
|
+
readonly briefSteers?: readonly {
|
|
2184
|
+
readonly error?: string | undefined;
|
|
2185
|
+
readonly requestedAt: number;
|
|
2186
|
+
readonly revision: string;
|
|
2187
|
+
readonly steeredAt?: number | undefined;
|
|
2188
|
+
}[] | undefined;
|
|
1941
2189
|
readonly checkFailures?: readonly string[] | undefined;
|
|
1942
2190
|
readonly missingSince?: number | undefined;
|
|
1943
2191
|
readonly observationRetries?: number | undefined;
|
|
@@ -2176,6 +2424,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
2176
2424
|
readonly admissionReady?: boolean | undefined;
|
|
2177
2425
|
readonly areas?: readonly string[] | undefined;
|
|
2178
2426
|
readonly attempts: readonly {
|
|
2427
|
+
readonly abandoned?: {
|
|
2428
|
+
readonly at: number;
|
|
2429
|
+
readonly interruptError?: string | undefined;
|
|
2430
|
+
readonly observation?: {
|
|
2431
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2432
|
+
readonly error?: string | undefined;
|
|
2433
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2434
|
+
readonly output: string;
|
|
2435
|
+
readonly progress?: readonly {
|
|
2436
|
+
readonly id: string;
|
|
2437
|
+
readonly status?: string | undefined;
|
|
2438
|
+
}[] | undefined;
|
|
2439
|
+
readonly provisioning: "ready" | "unknown";
|
|
2440
|
+
readonly receipt: {
|
|
2441
|
+
readonly sessionId: string;
|
|
2442
|
+
readonly turnId: string;
|
|
2443
|
+
};
|
|
2444
|
+
readonly turnMissing?: boolean | undefined;
|
|
2445
|
+
} | undefined;
|
|
2446
|
+
readonly observationError?: string | undefined;
|
|
2447
|
+
} | undefined;
|
|
2448
|
+
readonly briefSteers?: readonly {
|
|
2449
|
+
readonly error?: string | undefined;
|
|
2450
|
+
readonly requestedAt: number;
|
|
2451
|
+
readonly revision: string;
|
|
2452
|
+
readonly steeredAt?: number | undefined;
|
|
2453
|
+
}[] | undefined;
|
|
2179
2454
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2180
2455
|
readonly missingSince?: number | undefined;
|
|
2181
2456
|
readonly observationRetries?: number | undefined;
|
|
@@ -2421,6 +2696,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
2421
2696
|
readonly admissionReady?: boolean | undefined;
|
|
2422
2697
|
readonly areas?: readonly string[] | undefined;
|
|
2423
2698
|
readonly attempts: readonly {
|
|
2699
|
+
readonly abandoned?: {
|
|
2700
|
+
readonly at: number;
|
|
2701
|
+
readonly interruptError?: string | undefined;
|
|
2702
|
+
readonly observation?: {
|
|
2703
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2704
|
+
readonly error?: string | undefined;
|
|
2705
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2706
|
+
readonly output: string;
|
|
2707
|
+
readonly progress?: readonly {
|
|
2708
|
+
readonly id: string;
|
|
2709
|
+
readonly status?: string | undefined;
|
|
2710
|
+
}[] | undefined;
|
|
2711
|
+
readonly provisioning: "ready" | "unknown";
|
|
2712
|
+
readonly receipt: {
|
|
2713
|
+
readonly sessionId: string;
|
|
2714
|
+
readonly turnId: string;
|
|
2715
|
+
};
|
|
2716
|
+
readonly turnMissing?: boolean | undefined;
|
|
2717
|
+
} | undefined;
|
|
2718
|
+
readonly observationError?: string | undefined;
|
|
2719
|
+
} | undefined;
|
|
2720
|
+
readonly briefSteers?: readonly {
|
|
2721
|
+
readonly error?: string | undefined;
|
|
2722
|
+
readonly requestedAt: number;
|
|
2723
|
+
readonly revision: string;
|
|
2724
|
+
readonly steeredAt?: number | undefined;
|
|
2725
|
+
}[] | undefined;
|
|
2424
2726
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2425
2727
|
readonly missingSince?: number | undefined;
|
|
2426
2728
|
readonly observationRetries?: number | undefined;
|
|
@@ -2659,6 +2961,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
2659
2961
|
readonly admissionReady?: boolean | undefined;
|
|
2660
2962
|
readonly areas?: readonly string[] | undefined;
|
|
2661
2963
|
readonly attempts: readonly {
|
|
2964
|
+
readonly abandoned?: {
|
|
2965
|
+
readonly at: number;
|
|
2966
|
+
readonly interruptError?: string | undefined;
|
|
2967
|
+
readonly observation?: {
|
|
2968
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2969
|
+
readonly error?: string | undefined;
|
|
2970
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2971
|
+
readonly output: string;
|
|
2972
|
+
readonly progress?: readonly {
|
|
2973
|
+
readonly id: string;
|
|
2974
|
+
readonly status?: string | undefined;
|
|
2975
|
+
}[] | undefined;
|
|
2976
|
+
readonly provisioning: "ready" | "unknown";
|
|
2977
|
+
readonly receipt: {
|
|
2978
|
+
readonly sessionId: string;
|
|
2979
|
+
readonly turnId: string;
|
|
2980
|
+
};
|
|
2981
|
+
readonly turnMissing?: boolean | undefined;
|
|
2982
|
+
} | undefined;
|
|
2983
|
+
readonly observationError?: string | undefined;
|
|
2984
|
+
} | undefined;
|
|
2985
|
+
readonly briefSteers?: readonly {
|
|
2986
|
+
readonly error?: string | undefined;
|
|
2987
|
+
readonly requestedAt: number;
|
|
2988
|
+
readonly revision: string;
|
|
2989
|
+
readonly steeredAt?: number | undefined;
|
|
2990
|
+
}[] | undefined;
|
|
2662
2991
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2663
2992
|
readonly missingSince?: number | undefined;
|
|
2664
2993
|
readonly observationRetries?: number | undefined;
|
|
@@ -2899,20 +3228,52 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
2899
3228
|
};
|
|
2900
3229
|
version: number;
|
|
2901
3230
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2902
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
}[], import("effect/
|
|
3231
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
3232
|
+
readonly workId: string;
|
|
3233
|
+
readonly version: number;
|
|
3234
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
3235
|
+
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
3236
|
+
foreignReservations: () => Effect.Effect<Pick<{
|
|
3237
|
+
readonly backlog: boolean;
|
|
3238
|
+
readonly executing: boolean;
|
|
3239
|
+
readonly owner: string;
|
|
3240
|
+
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2906
3241
|
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2907
3242
|
reserveForeign: (owner: string, occupancy?: {
|
|
2908
3243
|
readonly executing: boolean;
|
|
2909
3244
|
readonly backlog: boolean;
|
|
2910
3245
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2911
|
-
}, "initialize" | "operationEntries"> & Partial<Pick<{
|
|
2912
3246
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
2913
3247
|
readonly admissionReady?: boolean | undefined;
|
|
2914
3248
|
readonly areas?: readonly string[] | undefined;
|
|
2915
3249
|
readonly attempts: readonly {
|
|
3250
|
+
readonly abandoned?: {
|
|
3251
|
+
readonly at: number;
|
|
3252
|
+
readonly interruptError?: string | undefined;
|
|
3253
|
+
readonly observation?: {
|
|
3254
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3255
|
+
readonly error?: string | undefined;
|
|
3256
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3257
|
+
readonly output: string;
|
|
3258
|
+
readonly progress?: readonly {
|
|
3259
|
+
readonly id: string;
|
|
3260
|
+
readonly status?: string | undefined;
|
|
3261
|
+
}[] | undefined;
|
|
3262
|
+
readonly provisioning: "ready" | "unknown";
|
|
3263
|
+
readonly receipt: {
|
|
3264
|
+
readonly sessionId: string;
|
|
3265
|
+
readonly turnId: string;
|
|
3266
|
+
};
|
|
3267
|
+
readonly turnMissing?: boolean | undefined;
|
|
3268
|
+
} | undefined;
|
|
3269
|
+
readonly observationError?: string | undefined;
|
|
3270
|
+
} | undefined;
|
|
3271
|
+
readonly briefSteers?: readonly {
|
|
3272
|
+
readonly error?: string | undefined;
|
|
3273
|
+
readonly requestedAt: number;
|
|
3274
|
+
readonly revision: string;
|
|
3275
|
+
readonly steeredAt?: number | undefined;
|
|
3276
|
+
}[] | undefined;
|
|
2916
3277
|
readonly checkFailures?: readonly string[] | undefined;
|
|
2917
3278
|
readonly missingSince?: number | undefined;
|
|
2918
3279
|
readonly observationRetries?: number | undefined;
|
|
@@ -3151,6 +3512,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
3151
3512
|
readonly admissionReady?: boolean | undefined;
|
|
3152
3513
|
readonly areas?: readonly string[] | undefined;
|
|
3153
3514
|
readonly attempts: readonly {
|
|
3515
|
+
readonly abandoned?: {
|
|
3516
|
+
readonly at: number;
|
|
3517
|
+
readonly interruptError?: string | undefined;
|
|
3518
|
+
readonly observation?: {
|
|
3519
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3520
|
+
readonly error?: string | undefined;
|
|
3521
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3522
|
+
readonly output: string;
|
|
3523
|
+
readonly progress?: readonly {
|
|
3524
|
+
readonly id: string;
|
|
3525
|
+
readonly status?: string | undefined;
|
|
3526
|
+
}[] | undefined;
|
|
3527
|
+
readonly provisioning: "ready" | "unknown";
|
|
3528
|
+
readonly receipt: {
|
|
3529
|
+
readonly sessionId: string;
|
|
3530
|
+
readonly turnId: string;
|
|
3531
|
+
};
|
|
3532
|
+
readonly turnMissing?: boolean | undefined;
|
|
3533
|
+
} | undefined;
|
|
3534
|
+
readonly observationError?: string | undefined;
|
|
3535
|
+
} | undefined;
|
|
3536
|
+
readonly briefSteers?: readonly {
|
|
3537
|
+
readonly error?: string | undefined;
|
|
3538
|
+
readonly requestedAt: number;
|
|
3539
|
+
readonly revision: string;
|
|
3540
|
+
readonly steeredAt?: number | undefined;
|
|
3541
|
+
}[] | undefined;
|
|
3154
3542
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3155
3543
|
readonly missingSince?: number | undefined;
|
|
3156
3544
|
readonly observationRetries?: number | undefined;
|
|
@@ -3393,6 +3781,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
3393
3781
|
readonly admissionReady?: boolean | undefined;
|
|
3394
3782
|
readonly areas?: readonly string[] | undefined;
|
|
3395
3783
|
readonly attempts: readonly {
|
|
3784
|
+
readonly abandoned?: {
|
|
3785
|
+
readonly at: number;
|
|
3786
|
+
readonly interruptError?: string | undefined;
|
|
3787
|
+
readonly observation?: {
|
|
3788
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
3789
|
+
readonly error?: string | undefined;
|
|
3790
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
3791
|
+
readonly output: string;
|
|
3792
|
+
readonly progress?: readonly {
|
|
3793
|
+
readonly id: string;
|
|
3794
|
+
readonly status?: string | undefined;
|
|
3795
|
+
}[] | undefined;
|
|
3796
|
+
readonly provisioning: "ready" | "unknown";
|
|
3797
|
+
readonly receipt: {
|
|
3798
|
+
readonly sessionId: string;
|
|
3799
|
+
readonly turnId: string;
|
|
3800
|
+
};
|
|
3801
|
+
readonly turnMissing?: boolean | undefined;
|
|
3802
|
+
} | undefined;
|
|
3803
|
+
readonly observationError?: string | undefined;
|
|
3804
|
+
} | undefined;
|
|
3805
|
+
readonly briefSteers?: readonly {
|
|
3806
|
+
readonly error?: string | undefined;
|
|
3807
|
+
readonly requestedAt: number;
|
|
3808
|
+
readonly revision: string;
|
|
3809
|
+
readonly steeredAt?: number | undefined;
|
|
3810
|
+
}[] | undefined;
|
|
3396
3811
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3397
3812
|
readonly missingSince?: number | undefined;
|
|
3398
3813
|
readonly observationRetries?: number | undefined;
|
|
@@ -3631,6 +4046,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
3631
4046
|
readonly admissionReady?: boolean | undefined;
|
|
3632
4047
|
readonly areas?: readonly string[] | undefined;
|
|
3633
4048
|
readonly attempts: readonly {
|
|
4049
|
+
readonly abandoned?: {
|
|
4050
|
+
readonly at: number;
|
|
4051
|
+
readonly interruptError?: string | undefined;
|
|
4052
|
+
readonly observation?: {
|
|
4053
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4054
|
+
readonly error?: string | undefined;
|
|
4055
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4056
|
+
readonly output: string;
|
|
4057
|
+
readonly progress?: readonly {
|
|
4058
|
+
readonly id: string;
|
|
4059
|
+
readonly status?: string | undefined;
|
|
4060
|
+
}[] | undefined;
|
|
4061
|
+
readonly provisioning: "ready" | "unknown";
|
|
4062
|
+
readonly receipt: {
|
|
4063
|
+
readonly sessionId: string;
|
|
4064
|
+
readonly turnId: string;
|
|
4065
|
+
};
|
|
4066
|
+
readonly turnMissing?: boolean | undefined;
|
|
4067
|
+
} | undefined;
|
|
4068
|
+
readonly observationError?: string | undefined;
|
|
4069
|
+
} | undefined;
|
|
4070
|
+
readonly briefSteers?: readonly {
|
|
4071
|
+
readonly error?: string | undefined;
|
|
4072
|
+
readonly requestedAt: number;
|
|
4073
|
+
readonly revision: string;
|
|
4074
|
+
readonly steeredAt?: number | undefined;
|
|
4075
|
+
}[] | undefined;
|
|
3634
4076
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3635
4077
|
readonly missingSince?: number | undefined;
|
|
3636
4078
|
readonly observationRetries?: number | undefined;
|
|
@@ -3871,17 +4313,39 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
3871
4313
|
};
|
|
3872
4314
|
version: number;
|
|
3873
4315
|
}, 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>;
|
|
3874
|
-
foreignReservations: () => Effect.Effect<Pick<{
|
|
3875
|
-
readonly backlog: boolean;
|
|
3876
|
-
readonly executing: boolean;
|
|
3877
|
-
readonly owner: string;
|
|
3878
|
-
}, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3879
4316
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3880
4317
|
initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
3881
4318
|
insert: (record: {
|
|
3882
4319
|
readonly admissionReady?: boolean | undefined;
|
|
3883
4320
|
readonly areas?: readonly string[] | undefined;
|
|
3884
4321
|
readonly attempts: readonly {
|
|
4322
|
+
readonly abandoned?: {
|
|
4323
|
+
readonly at: number;
|
|
4324
|
+
readonly interruptError?: string | undefined;
|
|
4325
|
+
readonly observation?: {
|
|
4326
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4327
|
+
readonly error?: string | undefined;
|
|
4328
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4329
|
+
readonly output: string;
|
|
4330
|
+
readonly progress?: readonly {
|
|
4331
|
+
readonly id: string;
|
|
4332
|
+
readonly status?: string | undefined;
|
|
4333
|
+
}[] | undefined;
|
|
4334
|
+
readonly provisioning: "ready" | "unknown";
|
|
4335
|
+
readonly receipt: {
|
|
4336
|
+
readonly sessionId: string;
|
|
4337
|
+
readonly turnId: string;
|
|
4338
|
+
};
|
|
4339
|
+
readonly turnMissing?: boolean | undefined;
|
|
4340
|
+
} | undefined;
|
|
4341
|
+
readonly observationError?: string | undefined;
|
|
4342
|
+
} | undefined;
|
|
4343
|
+
readonly briefSteers?: readonly {
|
|
4344
|
+
readonly error?: string | undefined;
|
|
4345
|
+
readonly requestedAt: number;
|
|
4346
|
+
readonly revision: string;
|
|
4347
|
+
readonly steeredAt?: number | undefined;
|
|
4348
|
+
}[] | undefined;
|
|
3885
4349
|
readonly checkFailures?: readonly string[] | undefined;
|
|
3886
4350
|
readonly missingSince?: number | undefined;
|
|
3887
4351
|
readonly observationRetries?: number | undefined;
|
|
@@ -4120,6 +4584,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
4120
4584
|
readonly admissionReady?: boolean | undefined;
|
|
4121
4585
|
readonly areas?: readonly string[] | undefined;
|
|
4122
4586
|
readonly attempts: readonly {
|
|
4587
|
+
readonly abandoned?: {
|
|
4588
|
+
readonly at: number;
|
|
4589
|
+
readonly interruptError?: string | undefined;
|
|
4590
|
+
readonly observation?: {
|
|
4591
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4592
|
+
readonly error?: string | undefined;
|
|
4593
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4594
|
+
readonly output: string;
|
|
4595
|
+
readonly progress?: readonly {
|
|
4596
|
+
readonly id: string;
|
|
4597
|
+
readonly status?: string | undefined;
|
|
4598
|
+
}[] | undefined;
|
|
4599
|
+
readonly provisioning: "ready" | "unknown";
|
|
4600
|
+
readonly receipt: {
|
|
4601
|
+
readonly sessionId: string;
|
|
4602
|
+
readonly turnId: string;
|
|
4603
|
+
};
|
|
4604
|
+
readonly turnMissing?: boolean | undefined;
|
|
4605
|
+
} | undefined;
|
|
4606
|
+
readonly observationError?: string | undefined;
|
|
4607
|
+
} | undefined;
|
|
4608
|
+
readonly briefSteers?: readonly {
|
|
4609
|
+
readonly error?: string | undefined;
|
|
4610
|
+
readonly requestedAt: number;
|
|
4611
|
+
readonly revision: string;
|
|
4612
|
+
readonly steeredAt?: number | undefined;
|
|
4613
|
+
}[] | undefined;
|
|
4123
4614
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4124
4615
|
readonly missingSince?: number | undefined;
|
|
4125
4616
|
readonly observationRetries?: number | undefined;
|
|
@@ -4362,6 +4853,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
4362
4853
|
readonly admissionReady?: boolean | undefined;
|
|
4363
4854
|
readonly areas?: readonly string[] | undefined;
|
|
4364
4855
|
readonly attempts: readonly {
|
|
4856
|
+
readonly abandoned?: {
|
|
4857
|
+
readonly at: number;
|
|
4858
|
+
readonly interruptError?: string | undefined;
|
|
4859
|
+
readonly observation?: {
|
|
4860
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
4861
|
+
readonly error?: string | undefined;
|
|
4862
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
4863
|
+
readonly output: string;
|
|
4864
|
+
readonly progress?: readonly {
|
|
4865
|
+
readonly id: string;
|
|
4866
|
+
readonly status?: string | undefined;
|
|
4867
|
+
}[] | undefined;
|
|
4868
|
+
readonly provisioning: "ready" | "unknown";
|
|
4869
|
+
readonly receipt: {
|
|
4870
|
+
readonly sessionId: string;
|
|
4871
|
+
readonly turnId: string;
|
|
4872
|
+
};
|
|
4873
|
+
readonly turnMissing?: boolean | undefined;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
readonly observationError?: string | undefined;
|
|
4876
|
+
} | undefined;
|
|
4877
|
+
readonly briefSteers?: readonly {
|
|
4878
|
+
readonly error?: string | undefined;
|
|
4879
|
+
readonly requestedAt: number;
|
|
4880
|
+
readonly revision: string;
|
|
4881
|
+
readonly steeredAt?: number | undefined;
|
|
4882
|
+
}[] | undefined;
|
|
4365
4883
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4366
4884
|
readonly missingSince?: number | undefined;
|
|
4367
4885
|
readonly observationRetries?: number | undefined;
|
|
@@ -4600,6 +5118,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
4600
5118
|
readonly admissionReady?: boolean | undefined;
|
|
4601
5119
|
readonly areas?: readonly string[] | undefined;
|
|
4602
5120
|
readonly attempts: readonly {
|
|
5121
|
+
readonly abandoned?: {
|
|
5122
|
+
readonly at: number;
|
|
5123
|
+
readonly interruptError?: string | undefined;
|
|
5124
|
+
readonly observation?: {
|
|
5125
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5126
|
+
readonly error?: string | undefined;
|
|
5127
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5128
|
+
readonly output: string;
|
|
5129
|
+
readonly progress?: readonly {
|
|
5130
|
+
readonly id: string;
|
|
5131
|
+
readonly status?: string | undefined;
|
|
5132
|
+
}[] | undefined;
|
|
5133
|
+
readonly provisioning: "ready" | "unknown";
|
|
5134
|
+
readonly receipt: {
|
|
5135
|
+
readonly sessionId: string;
|
|
5136
|
+
readonly turnId: string;
|
|
5137
|
+
};
|
|
5138
|
+
readonly turnMissing?: boolean | undefined;
|
|
5139
|
+
} | undefined;
|
|
5140
|
+
readonly observationError?: string | undefined;
|
|
5141
|
+
} | undefined;
|
|
5142
|
+
readonly briefSteers?: readonly {
|
|
5143
|
+
readonly error?: string | undefined;
|
|
5144
|
+
readonly requestedAt: number;
|
|
5145
|
+
readonly revision: string;
|
|
5146
|
+
readonly steeredAt?: number | undefined;
|
|
5147
|
+
}[] | undefined;
|
|
4603
5148
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4604
5149
|
readonly missingSince?: number | undefined;
|
|
4605
5150
|
readonly observationRetries?: number | undefined;
|
|
@@ -4845,6 +5390,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
4845
5390
|
readonly admissionReady?: boolean | undefined;
|
|
4846
5391
|
readonly areas?: readonly string[] | undefined;
|
|
4847
5392
|
readonly attempts: readonly {
|
|
5393
|
+
readonly abandoned?: {
|
|
5394
|
+
readonly at: number;
|
|
5395
|
+
readonly interruptError?: string | undefined;
|
|
5396
|
+
readonly observation?: {
|
|
5397
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5398
|
+
readonly error?: string | undefined;
|
|
5399
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5400
|
+
readonly output: string;
|
|
5401
|
+
readonly progress?: readonly {
|
|
5402
|
+
readonly id: string;
|
|
5403
|
+
readonly status?: string | undefined;
|
|
5404
|
+
}[] | undefined;
|
|
5405
|
+
readonly provisioning: "ready" | "unknown";
|
|
5406
|
+
readonly receipt: {
|
|
5407
|
+
readonly sessionId: string;
|
|
5408
|
+
readonly turnId: string;
|
|
5409
|
+
};
|
|
5410
|
+
readonly turnMissing?: boolean | undefined;
|
|
5411
|
+
} | undefined;
|
|
5412
|
+
readonly observationError?: string | undefined;
|
|
5413
|
+
} | undefined;
|
|
5414
|
+
readonly briefSteers?: readonly {
|
|
5415
|
+
readonly error?: string | undefined;
|
|
5416
|
+
readonly requestedAt: number;
|
|
5417
|
+
readonly revision: string;
|
|
5418
|
+
readonly steeredAt?: number | undefined;
|
|
5419
|
+
}[] | undefined;
|
|
4848
5420
|
readonly checkFailures?: readonly string[] | undefined;
|
|
4849
5421
|
readonly missingSince?: number | undefined;
|
|
4850
5422
|
readonly observationRetries?: number | undefined;
|
|
@@ -5083,6 +5655,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
5083
5655
|
readonly admissionReady?: boolean | undefined;
|
|
5084
5656
|
readonly areas?: readonly string[] | undefined;
|
|
5085
5657
|
readonly attempts: readonly {
|
|
5658
|
+
readonly abandoned?: {
|
|
5659
|
+
readonly at: number;
|
|
5660
|
+
readonly interruptError?: string | undefined;
|
|
5661
|
+
readonly observation?: {
|
|
5662
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5663
|
+
readonly error?: string | undefined;
|
|
5664
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5665
|
+
readonly output: string;
|
|
5666
|
+
readonly progress?: readonly {
|
|
5667
|
+
readonly id: string;
|
|
5668
|
+
readonly status?: string | undefined;
|
|
5669
|
+
}[] | undefined;
|
|
5670
|
+
readonly provisioning: "ready" | "unknown";
|
|
5671
|
+
readonly receipt: {
|
|
5672
|
+
readonly sessionId: string;
|
|
5673
|
+
readonly turnId: string;
|
|
5674
|
+
};
|
|
5675
|
+
readonly turnMissing?: boolean | undefined;
|
|
5676
|
+
} | undefined;
|
|
5677
|
+
readonly observationError?: string | undefined;
|
|
5678
|
+
} | undefined;
|
|
5679
|
+
readonly briefSteers?: readonly {
|
|
5680
|
+
readonly error?: string | undefined;
|
|
5681
|
+
readonly requestedAt: number;
|
|
5682
|
+
readonly revision: string;
|
|
5683
|
+
readonly steeredAt?: number | undefined;
|
|
5684
|
+
}[] | undefined;
|
|
5086
5685
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5087
5686
|
readonly missingSince?: number | undefined;
|
|
5088
5687
|
readonly observationRetries?: number | undefined;
|
|
@@ -5328,6 +5927,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
5328
5927
|
readonly admissionReady?: boolean | undefined;
|
|
5329
5928
|
readonly areas?: readonly string[] | undefined;
|
|
5330
5929
|
readonly attempts: readonly {
|
|
5930
|
+
readonly abandoned?: {
|
|
5931
|
+
readonly at: number;
|
|
5932
|
+
readonly interruptError?: string | undefined;
|
|
5933
|
+
readonly observation?: {
|
|
5934
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5935
|
+
readonly error?: string | undefined;
|
|
5936
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5937
|
+
readonly output: string;
|
|
5938
|
+
readonly progress?: readonly {
|
|
5939
|
+
readonly id: string;
|
|
5940
|
+
readonly status?: string | undefined;
|
|
5941
|
+
}[] | undefined;
|
|
5942
|
+
readonly provisioning: "ready" | "unknown";
|
|
5943
|
+
readonly receipt: {
|
|
5944
|
+
readonly sessionId: string;
|
|
5945
|
+
readonly turnId: string;
|
|
5946
|
+
};
|
|
5947
|
+
readonly turnMissing?: boolean | undefined;
|
|
5948
|
+
} | undefined;
|
|
5949
|
+
readonly observationError?: string | undefined;
|
|
5950
|
+
} | undefined;
|
|
5951
|
+
readonly briefSteers?: readonly {
|
|
5952
|
+
readonly error?: string | undefined;
|
|
5953
|
+
readonly requestedAt: number;
|
|
5954
|
+
readonly revision: string;
|
|
5955
|
+
readonly steeredAt?: number | undefined;
|
|
5956
|
+
}[] | undefined;
|
|
5331
5957
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5332
5958
|
readonly missingSince?: number | undefined;
|
|
5333
5959
|
readonly observationRetries?: number | undefined;
|
|
@@ -5566,6 +6192,33 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
5566
6192
|
readonly admissionReady?: boolean | undefined;
|
|
5567
6193
|
readonly areas?: readonly string[] | undefined;
|
|
5568
6194
|
readonly attempts: readonly {
|
|
6195
|
+
readonly abandoned?: {
|
|
6196
|
+
readonly at: number;
|
|
6197
|
+
readonly interruptError?: string | undefined;
|
|
6198
|
+
readonly observation?: {
|
|
6199
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6200
|
+
readonly error?: string | undefined;
|
|
6201
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6202
|
+
readonly output: string;
|
|
6203
|
+
readonly progress?: readonly {
|
|
6204
|
+
readonly id: string;
|
|
6205
|
+
readonly status?: string | undefined;
|
|
6206
|
+
}[] | undefined;
|
|
6207
|
+
readonly provisioning: "ready" | "unknown";
|
|
6208
|
+
readonly receipt: {
|
|
6209
|
+
readonly sessionId: string;
|
|
6210
|
+
readonly turnId: string;
|
|
6211
|
+
};
|
|
6212
|
+
readonly turnMissing?: boolean | undefined;
|
|
6213
|
+
} | undefined;
|
|
6214
|
+
readonly observationError?: string | undefined;
|
|
6215
|
+
} | undefined;
|
|
6216
|
+
readonly briefSteers?: readonly {
|
|
6217
|
+
readonly error?: string | undefined;
|
|
6218
|
+
readonly requestedAt: number;
|
|
6219
|
+
readonly revision: string;
|
|
6220
|
+
readonly steeredAt?: number | undefined;
|
|
6221
|
+
}[] | undefined;
|
|
5569
6222
|
readonly checkFailures?: readonly string[] | undefined;
|
|
5570
6223
|
readonly missingSince?: number | undefined;
|
|
5571
6224
|
readonly observationRetries?: number | undefined;
|
|
@@ -5806,15 +6459,10 @@ declare const FleetRepository_base: Context.ServiceClass<FleetRepository, "@shiv
|
|
|
5806
6459
|
};
|
|
5807
6460
|
version: number;
|
|
5808
6461
|
} | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5809
|
-
operationEntries: (operationId: string) => Effect.Effect<{
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
}[], import("effect/
|
|
5813
|
-
releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5814
|
-
reserveForeign: (owner: string, occupancy?: {
|
|
5815
|
-
readonly executing: boolean;
|
|
5816
|
-
readonly backlog: boolean;
|
|
5817
|
-
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
6462
|
+
operationEntries: (operationId: string) => Effect.Effect<readonly {
|
|
6463
|
+
readonly workId: string;
|
|
6464
|
+
readonly version: number;
|
|
6465
|
+
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
5818
6466
|
}, "operationEntries">>>;
|
|
5819
6467
|
export declare class FleetRepository extends FleetRepository_base {
|
|
5820
6468
|
}
|