@makaio/framework 1.0.0-dev-1788963848381 → 1.0.0-dev-1788966380232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{attempt-record-codec-62Ifw7fv.mjs → attempt-record-codec-D2Gb_epJ.mjs} +1 -1
  3. package/dist/contracts/adapter/index.d.mts +2 -2
  4. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  5. package/dist/contracts/artifact/index.d.mts +1 -1
  6. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  7. package/dist/contracts/capabilities/index.d.mts +1 -1
  8. package/dist/contracts/client/index.d.mts +2 -2
  9. package/dist/contracts/extension/index.d.mts +4 -4
  10. package/dist/contracts/facet/index.d.mts +1 -1
  11. package/dist/contracts/harness/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +71 -71
  13. package/dist/contracts/materialization/index.d.mts +2 -2
  14. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  15. package/dist/contracts/reaction/index.d.mts +1 -1
  16. package/dist/contracts/session/index.d.mts +2 -2
  17. package/dist/contracts/variant/index.d.mts +1 -1
  18. package/dist/contracts/worker/index.d.mts +1 -1
  19. package/dist/contracts/workflow/index.d.mts +1 -1
  20. package/dist/{contribution-BexrtFLC.d.mts → contribution-BfEEQ8YZ.d.mts} +1 -1
  21. package/dist/{execution-attempt-owner-recovery-CwTiTnnR.mjs → execution-attempt-owner-recovery-D4APLAvt.mjs} +1 -1
  22. package/dist/{execution-attempt-repository-CE7UXmEi.d.mts → execution-attempt-repository--RVils5-.d.mts} +273 -189
  23. package/dist/execution-attempt-repository-CWbgCTwA.mjs +1 -0
  24. package/dist/{extension-context-DDfSMPat.d.mts → extension-context-Cpf_n5FH.d.mts} +3 -3
  25. package/dist/{hook-responses-CRQYe15-.d.mts → hook-responses-CpEfxEmG.d.mts} +1 -1
  26. package/dist/{index-Bq8JJ77a2.d.mts → index-09eal6WI2.d.mts} +11 -11
  27. package/dist/{index-B_gyAIAo.d.mts → index-B7wjmaev.d.mts} +23 -13
  28. package/dist/{index-DTadNB7U.d.mts → index-BKwYE1Qk.d.mts} +3 -3
  29. package/dist/{index-BsZu6i8H2.d.mts → index-BT5qcsEf2.d.mts} +15 -15
  30. package/dist/{index-CCYavCD92.d.mts → index-BfzuauBt2.d.mts} +1 -1
  31. package/dist/{index-DkviOBAT.d.mts → index-Bj2JCo9V.d.mts} +1 -1
  32. package/dist/{index-CpGf9W_u.d.mts → index-BkQlL0Pl.d.mts} +8 -8
  33. package/dist/{index-DsEwuqKE.d.mts → index-Bnm0QvJ4.d.mts} +32 -32
  34. package/dist/{index-dpaDWzUU.d.mts → index-BqR2xDu6.d.mts} +234 -234
  35. package/dist/{index-CR5OVrQJ.d.mts → index-Bxq_zO2E.d.mts} +4 -4
  36. package/dist/{index-ndFBIZvG2.d.mts → index-C75h1xHF2.d.mts} +1 -1
  37. package/dist/{index-BdGOOFbD.d.mts → index-CVh7ZP2I.d.mts} +6 -6
  38. package/dist/{index-Bk8WkSa_.d.mts → index-DO633_D-.d.mts} +45 -45
  39. package/dist/{index-CP96gudX2.d.mts → index-DU9Y9tes2.d.mts} +4 -4
  40. package/dist/{index-CX9F0vHE.d.mts → index-DY_0TRvM.d.mts} +7 -7
  41. package/dist/{index-DhhHzOUU.d.mts → index-DzlGAEws.d.mts} +1 -1
  42. package/dist/{index-BIlFSGnW.d.mts → index-LjLUr3Dm.d.mts} +10 -10
  43. package/dist/{index-E55FZQKt.d.mts → index-MtDz_goH.d.mts} +49 -49
  44. package/dist/{index-DCHdW5g-.d.mts → index-ud9i9pue.d.mts} +16 -16
  45. package/dist/{index-di-02yaB2.d.mts → index-v9TbeVee2.d.mts} +5 -5
  46. package/dist/kernel/extension/index.d.mts +1 -1
  47. package/dist/kernel/index.d.mts +2 -2
  48. package/dist/kernel/observability/index.d.mts +1 -1
  49. package/dist/{namespace-CfA0C0JR.d.mts → namespace-B1sjokHd.d.mts} +2 -2
  50. package/dist/{namespace-BFZ4HTH-.d.mts → namespace-BYsKOw-g.d.mts} +2 -2
  51. package/dist/{namespace-Dmbm2JzV.d.mts → namespace-Cy62a3YP.d.mts} +2 -2
  52. package/dist/{namespace-De6ORL69.d.mts → namespace-KTRWfIPy.d.mts} +2 -2
  53. package/dist/package-B-xpYKe8.mjs +7 -0
  54. package/dist/{package-DjI3DSDe.d.mts → package-Bl0mcGb8.d.mts} +8 -1
  55. package/dist/package.json +1 -1
  56. package/dist/runtime-node/index.d.mts +1 -1
  57. package/dist/runtime-node/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  59. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  60. package/dist/{schemas-a4aVR0WT.d.mts → schemas-BYyT43gX.d.mts} +13 -13
  61. package/dist/{schemas-CQe4xCRn.d.mts → schemas-DGKWi7mk.d.mts} +2 -2
  62. package/dist/{schemas-CikbhFMx.d.mts → schemas-DwqibWUL.d.mts} +2 -2
  63. package/dist/services/agent-runtime/index.d.mts +2 -2
  64. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  65. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  66. package/dist/services/execution-target/index.d.mts +3 -3
  67. package/dist/services/execution-target/namespace.d.mts +1 -1
  68. package/dist/services/execution-target/schemas.d.mts +1 -1
  69. package/dist/services/filesystem/namespace.d.mts +6 -6
  70. package/dist/services/filesystem/schemas.d.mts +3 -3
  71. package/dist/services/index.d.mts +24 -24
  72. package/dist/services/log-import/browser.d.mts +2 -2
  73. package/dist/services/log-import/index.d.mts +2 -2
  74. package/dist/services/log-import/log-import.d.mts +1 -1
  75. package/dist/services/log-import/namespace.d.mts +2 -2
  76. package/dist/services/log-import/schemas.d.mts +1 -1
  77. package/dist/services/session/handlers/index.d.mts +1 -1
  78. package/dist/services/session/index.d.mts +3 -3
  79. package/dist/services/session/messages/namespace.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +10 -10
  81. package/dist/services/subagent-template/index.d.mts +2 -2
  82. package/dist/services/subagent-template/namespace.d.mts +1 -1
  83. package/dist/services/subagent-template/schemas.d.mts +1 -1
  84. package/dist/{session-lineage-CLOlB9l_.d.mts → session-lineage-CEyJWg_J.d.mts} +1 -1
  85. package/dist/{types-Bs3Pm8rB2.d.mts → types-Bnc-pdB12.d.mts} +1 -1
  86. package/dist/{types-DoxPKNUW.d.mts → types-ZvPhKp3j.d.mts} +8 -8
  87. package/dist/{view-builder-BMpOHHlf.d.mts → view-builder-D54kvyf7.d.mts} +9 -9
  88. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  89. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  90. package/dist/workflow-engine/index.d.mts +51 -51
  91. package/dist/workflow-engine/index.mjs +1 -1
  92. package/dist/workflow-engine/package.d.mts +1 -1
  93. package/dist/workflow-engine/package.mjs +1 -1
  94. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  95. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  96. package/dist/workflow-engine/testing/conformance.mjs +2 -2
  97. package/dist/workflow-engine/testing/index.d.mts +3 -1
  98. package/dist/workflow-engine/testing/index.mjs +1 -1
  99. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  100. package/dist/workflow-engine/testing/sqlite.mjs +66 -61
  101. package/dist/workflow-worker-CrnDwpkP.mjs +2 -0
  102. package/package.json +1 -1
  103. package/dist/execution-attempt-repository-Z7oEBcgp.mjs +0 -1
  104. package/dist/package-BESXccyx.mjs +0 -7
  105. package/dist/workflow-worker-Drf-skvM.mjs +0 -2
  106. package/dist/{index-BU9HQ1vJ2.d.mts → index-BBkJsViX2.d.mts} +6 -6
@@ -1,5 +1,5 @@
1
- import { $ as decodeDurableOutcome, A as MarkRuntimeReadyInput, At as RecordProviderOperationUncertaintyInput, B as RecordAllocationTerminatedInput, Bt as readAttemptSettlementSnapshot, C as ExecutionAttemptRecoveryOperations, Ct as ProviderOperationLeasePolicy, D as ExecutionOwnerId, Dt as ProviderOperationOwnershipRecord, E as ExecutionAttemptStatus, Et as ProviderOperationObligation, F as PendingAttemptAbandonmentDecision, Ft as AttemptSettlementSnapshot, G as RegisterRuntimeInput, H as RecordProvisionerIncarnationLostInput, Ht as snapshotEnsureExecutionAttemptInput, It as EnsureExecutionAttemptDecision, J as RuntimeOutcomeFence, L as ProvisioningClaimDecision, Lt as EnsureExecutionAttemptInput, M as OperationCompletionDecision, Mt as TakeOverProviderOperationInput, Nt as isProviderOperationResolved, Ot as ProvisionerIncarnationLossDecision, P as OutcomeCodec, Pt as AttemptSettlementRead, Q as assertRuntimeOutcomeFence, R as ReadBootstrapStartStateInput, Rt as EnsureExecutionAttemptPersistenceInput, S as ExecutionAttemptRecord, St as ProviderOperationCompletionDecision, T as ExecutionAttemptSettlementKind, Tt as ProviderOperationMutationDecision, U as RecordProvisioningAbsentInput, Ut as snapshotEnsureExecutionAttemptPersistenceInput, V as RecordInfrastructureFailureInput, Vt as replayEnsuredAttempt, W as RecoverableAttemptRecord, Wt as snapshotReadAttemptSettlementInput, X as RuntimeReadinessDecision, Y as RuntimeOutcomeFenceMismatchError, Z as RuntimeRegistrationDecision, _ as EXECUTION_ATTEMPT_STATUSES, _t as OpenProviderOperationRecord, a as AllocationRefEvolutionDecision, at as evaluateAttemptReachability, b as ExecutionAttemptOutcomeCommit, bt as ProviderOperationClaim, d as BootstrapStartState, dt as evaluateRuntimeRegistration, et as durableOutcome, f as CompleteOperationInput, ft as CompleteProviderOperationInput, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as ListOpenProviderOperationsInput, h as DurableOutcome, ht as InitialProviderOperationClaimContextSource, i as AllocationRefEvolution, it as AttemptReachabilityDecision, j as OperationAdmissionDecision, jt as RenewProviderOperationClaimInput, k as InfrastructureFailureDecision, kt as ProvisioningAbsenceDecision, l as AttemptOperationStartGate, lt as evaluateProvisionerIncarnationLoss, m as DuplicateExecutionAttemptError, mt as InitialProviderOperationClaimContext, n as AdmitOperationInput, nt as sameDurableOutcome, o as AllocationTerminationDecision, ot as evaluateOperationAdmission, p as DiscoveredAllocationDecision, pt as HandoffProviderOperationInput, q as RequestExecutionCancellationInput, r as AllocationRecordingDecision, rt as AttemptReachability, s as AttemptControlState, st as evaluateOperationCompletion, t as ATTEMPT_OPERATION_START_GATES, tt as sameAllocationRef, u as BeginProvisioningInput, ut as evaluateRuntimeReadiness, v as ExecutionAttemptCancellationIntent, vt as PROVIDER_OPERATION_OBLIGATIONS, w as ExecutionAttemptRepository, wt as ProviderOperationLeaseRenewal, x as ExecutionAttemptOutcomeDecision, xt as ProviderOperationClaimDecision, y as ExecutionAttemptCreate, yt as ProcessBoundProvisionerLossProof, z as RecordAllocationInput, zt as ReadAttemptSettlementInput } from "../execution-attempt-repository-CE7UXmEi.mjs";
2
- import { A as WorkflowWorkspaceRootResolver, C as OutcomePreCommitValidation, D as BootstrapStartOptions, E as BootstrapStartAuthority, O as WorkflowMaterializationSpecResolution, S as OutcomeConvergenceInput, T as ExecutionAttemptAuthority, _ as ExecutionAttemptHandlersDeps, a as WorkflowEngineServiceOptions, b as AttemptOutcomeSubmissionDeps, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as AttemptOutcomeDecodingInput, h as workflowAttemptOutcomeCodec, i as WorkflowEngineService, j as registerDrizzleWorkflowStorage, k as WorkflowMaterializationSpecResolver, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerResult, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as registerExecutionAttemptHandlers, w as submitAttemptOutcome, x as OutcomeConvergence, y as AttemptOutcomeSubmission } from "../package-DjI3DSDe.mjs";
1
+ import { $ as InitialProviderOperationClaimContextSource, At as evaluateRuntimeReadiness, B as RecordProvisioningAbsentInput, Bt as snapshotRequestExecutionCancellationInput, C as ExecutionAttemptStatus, Ct as RuntimeOutcomeFenceMismatchError, D as MarkRuntimeReadyInput, Dt as evaluateOperationCompletion, E as InfrastructureFailureDecision, Et as evaluateOperationAdmission, F as ReadBootstrapStartStateInput, Ft as RequestAttemptCancellationInput, G as RuntimeRegistrationDecision, Gt as EnsureExecutionAttemptPersistenceInput, H as RegisterRuntimeInput, Ht as AttemptSettlementSnapshot, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as replayEnsuredAttempt, K as decodeDurableOutcome, Kt as ReadAttemptSettlementInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, Tt as evaluateAttemptReachability, Ut as EnsureExecutionAttemptDecision, V as RecoverableAttemptRecord, Vt as AttemptSettlementRead, W as RuntimeReadinessDecision, Wt as EnsureExecutionAttemptInput, X as CompleteProviderOperationInput, Xt as snapshotEnsureExecutionAttemptPersistenceInput, Y as sameDurableOutcome, Yt as snapshotEnsureExecutionAttemptInput, Z as HandoffProviderOperationInput, Zt as snapshotReadAttemptSettlementInput, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, f as CompleteOperationInput, ft as ProvisionerIncarnationLossDecision, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as TakeOverProviderOperationInput, h as DurableOutcome, ht as RenewProviderOperationClaimInput, i as AllocationRefEvolution, it as ProviderOperationClaim, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, lt as ProviderOperationMutationDecision, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as readAttemptSettlementSnapshot, r as AllocationRecordingDecision, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, ut as ProviderOperationObligation, v as ExecutionAttemptCreate, vt as ExecutionAttemptOutcomeCommit, w as ExecutionOwnerId, wt as assertRuntimeOutcomeFence, x as ExecutionAttemptRepository, xt as AttemptReachabilityDecision, y as ExecutionAttemptRecord, yt as ExecutionAttemptOutcomeDecision, z as RecordProvisionerIncarnationLostInput, zt as snapshotRequestAttemptCancellationInput } from "../execution-attempt-repository--RVils5-.mjs";
2
+ import { A as WorkflowWorkspaceRootResolver, C as OutcomePreCommitValidation, D as BootstrapStartOptions, E as BootstrapStartAuthority, O as WorkflowMaterializationSpecResolution, S as OutcomeConvergenceInput, T as ExecutionAttemptAuthority, _ as ExecutionAttemptHandlersDeps, a as WorkflowEngineServiceOptions, b as AttemptOutcomeSubmissionDeps, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as AttemptOutcomeDecodingInput, h as workflowAttemptOutcomeCodec, i as WorkflowEngineService, j as registerDrizzleWorkflowStorage, k as WorkflowMaterializationSpecResolver, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerResult, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as registerExecutionAttemptHandlers, w as submitAttemptOutcome, x as OutcomeConvergence, y as AttemptOutcomeSubmission } from "../package-Bl0mcGb8.mjs";
3
3
  import { WorkflowTriggerPayloadPredicate, assertWorkflowTriggerPayload, compileWorkflowTriggerBindingFilter } from "./workflow-trigger-binding-consumer.mjs";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -797,9 +797,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
797
797
  pending: "pending";
798
798
  completed: "completed";
799
799
  cancelled: "cancelled";
800
- running: "running";
801
800
  failed: "failed";
802
801
  paused: "paused";
802
+ running: "running";
803
803
  finalizing: "finalizing";
804
804
  }>;
805
805
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -839,9 +839,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
839
839
  pending: "pending";
840
840
  completed: "completed";
841
841
  cancelled: "cancelled";
842
- running: "running";
843
842
  failed: "failed";
844
843
  paused: "paused";
844
+ running: "running";
845
845
  finalizing: "finalizing";
846
846
  }>;
847
847
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -888,9 +888,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
888
888
  pending: "pending";
889
889
  completed: "completed";
890
890
  cancelled: "cancelled";
891
- running: "running";
892
891
  failed: "failed";
893
892
  paused: "paused";
893
+ running: "running";
894
894
  finalizing: "finalizing";
895
895
  }>;
896
896
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1075,8 +1075,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1075
1075
  "exit-and-resume": "exit-and-resume";
1076
1076
  }>>;
1077
1077
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
1078
- worker: "worker";
1079
1078
  authority: "authority";
1079
+ worker: "worker";
1080
1080
  }>>;
1081
1081
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1082
1082
  kind: z.ZodLiteral<"local-directory">;
@@ -1228,9 +1228,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1228
1228
  pending: "pending";
1229
1229
  completed: "completed";
1230
1230
  cancelled: "cancelled";
1231
- running: "running";
1232
1231
  failed: "failed";
1233
1232
  paused: "paused";
1233
+ running: "running";
1234
1234
  finalizing: "finalizing";
1235
1235
  }>>;
1236
1236
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1425,9 +1425,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1425
1425
  pending: "pending";
1426
1426
  completed: "completed";
1427
1427
  cancelled: "cancelled";
1428
- running: "running";
1429
1428
  failed: "failed";
1430
1429
  paused: "paused";
1430
+ running: "running";
1431
1431
  finalizing: "finalizing";
1432
1432
  }>>;
1433
1433
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -1449,9 +1449,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1449
1449
  pending: "pending";
1450
1450
  completed: "completed";
1451
1451
  cancelled: "cancelled";
1452
- running: "running";
1453
1452
  failed: "failed";
1454
1453
  paused: "paused";
1454
+ running: "running";
1455
1455
  finalizing: "finalizing";
1456
1456
  }>;
1457
1457
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1502,9 +1502,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1502
1502
  pending: "pending";
1503
1503
  completed: "completed";
1504
1504
  cancelled: "cancelled";
1505
- running: "running";
1506
1505
  failed: "failed";
1507
1506
  paused: "paused";
1507
+ running: "running";
1508
1508
  finalizing: "finalizing";
1509
1509
  }>;
1510
1510
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1563,8 +1563,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1563
1563
  pending: "pending";
1564
1564
  completed: "completed";
1565
1565
  cancelled: "cancelled";
1566
- running: "running";
1567
1566
  failed: "failed";
1567
+ running: "running";
1568
1568
  skipped: "skipped";
1569
1569
  waiting: "waiting";
1570
1570
  }>;
@@ -1609,8 +1609,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1609
1609
  pending: "pending";
1610
1610
  completed: "completed";
1611
1611
  cancelled: "cancelled";
1612
- running: "running";
1613
1612
  failed: "failed";
1613
+ running: "running";
1614
1614
  skipped: "skipped";
1615
1615
  waiting: "waiting";
1616
1616
  }>;
@@ -1652,8 +1652,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1652
1652
  pending: "pending";
1653
1653
  completed: "completed";
1654
1654
  cancelled: "cancelled";
1655
- running: "running";
1656
1655
  failed: "failed";
1656
+ running: "running";
1657
1657
  skipped: "skipped";
1658
1658
  waiting: "waiting";
1659
1659
  }>;
@@ -1920,8 +1920,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1920
1920
  }>;
1921
1921
  status: z.ZodEnum<{
1922
1922
  completed: "completed";
1923
- running: "running";
1924
1923
  failed: "failed";
1924
+ running: "running";
1925
1925
  skipped: "skipped";
1926
1926
  }>;
1927
1927
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -1956,8 +1956,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1956
1956
  }>;
1957
1957
  status: z.ZodEnum<{
1958
1958
  completed: "completed";
1959
- running: "running";
1960
1959
  failed: "failed";
1960
+ running: "running";
1961
1961
  skipped: "skipped";
1962
1962
  }>;
1963
1963
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -2170,8 +2170,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2170
2170
  "exit-and-resume": "exit-and-resume";
2171
2171
  }>>;
2172
2172
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
2173
- worker: "worker";
2174
2173
  authority: "authority";
2174
+ worker: "worker";
2175
2175
  }>>;
2176
2176
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2177
2177
  kind: z.ZodLiteral<"local-directory">;
@@ -2357,8 +2357,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2357
2357
  "exit-and-resume": "exit-and-resume";
2358
2358
  }>>;
2359
2359
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
2360
- worker: "worker";
2361
2360
  authority: "authority";
2361
+ worker: "worker";
2362
2362
  }>>;
2363
2363
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2364
2364
  kind: z.ZodLiteral<"local-directory">;
@@ -2594,7 +2594,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2594
2594
  tableName: "workflow_definitions";
2595
2595
  dataType: "string";
2596
2596
  columnType: "SQLiteText";
2597
- data: "external" | "session" | "global" | "workspace";
2597
+ data: "external" | "workspace" | "session" | "global";
2598
2598
  driverParam: string;
2599
2599
  notNull: true;
2600
2600
  hasDefault: false;
@@ -2607,7 +2607,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2607
2607
  generated: undefined;
2608
2608
  }, {}, {
2609
2609
  length: number | undefined;
2610
- $type: "external" | "session" | "global" | "workspace";
2610
+ $type: "external" | "workspace" | "session" | "global";
2611
2611
  }>;
2612
2612
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2613
2613
  name: "scope_kind";
@@ -2905,7 +2905,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2905
2905
  tableName: "workflow_executions";
2906
2906
  dataType: "string";
2907
2907
  columnType: "SQLiteText";
2908
- data: "external" | "session" | "global" | "workspace";
2908
+ data: "external" | "workspace" | "session" | "global";
2909
2909
  driverParam: string;
2910
2910
  notNull: true;
2911
2911
  hasDefault: false;
@@ -2918,7 +2918,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2918
2918
  generated: undefined;
2919
2919
  }, {}, {
2920
2920
  length: number | undefined;
2921
- $type: "external" | "session" | "global" | "workspace";
2921
+ $type: "external" | "workspace" | "session" | "global";
2922
2922
  }>;
2923
2923
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2924
2924
  name: "scope_kind";
@@ -3020,7 +3020,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3020
3020
  tableName: "workflow_executions";
3021
3021
  dataType: "string";
3022
3022
  columnType: "SQLiteText";
3023
- data: "pending" | "completed" | "cancelled" | "running" | "failed" | "paused" | "finalizing";
3023
+ data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
3024
3024
  driverParam: string;
3025
3025
  notNull: true;
3026
3026
  hasDefault: false;
@@ -3347,7 +3347,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3347
3347
  tableName: "workflow_execution_frames";
3348
3348
  dataType: "string";
3349
3349
  columnType: "SQLiteText";
3350
- data: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
3350
+ data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
3351
3351
  driverParam: string;
3352
3352
  notNull: true;
3353
3353
  hasDefault: true;
@@ -3360,7 +3360,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3360
3360
  generated: undefined;
3361
3361
  }, {}, {
3362
3362
  length: number | undefined;
3363
- $type: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
3363
+ $type: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
3364
3364
  }>;
3365
3365
  attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3366
3366
  name: string;
@@ -3858,7 +3858,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3858
3858
  tableName: "workflow_step_spans";
3859
3859
  dataType: "string";
3860
3860
  columnType: "SQLiteText";
3861
- data: "completed" | "running" | "failed" | "skipped";
3861
+ data: "completed" | "failed" | "running" | "skipped";
3862
3862
  driverParam: string;
3863
3863
  notNull: true;
3864
3864
  hasDefault: false;
@@ -3871,7 +3871,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3871
3871
  generated: undefined;
3872
3872
  }, {}, {
3873
3873
  length: number | undefined;
3874
- $type: "completed" | "running" | "failed" | "skipped";
3874
+ $type: "completed" | "failed" | "running" | "skipped";
3875
3875
  }>;
3876
3876
  startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3877
3877
  name: string;
@@ -4624,7 +4624,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4624
4624
  tableName: "workflow_run_contexts";
4625
4625
  dataType: "string";
4626
4626
  columnType: "SQLiteText";
4627
- data: "external" | "session" | "global" | "workspace";
4627
+ data: "external" | "workspace" | "session" | "global";
4628
4628
  driverParam: string;
4629
4629
  notNull: true;
4630
4630
  hasDefault: true;
@@ -4637,7 +4637,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4637
4637
  generated: undefined;
4638
4638
  }, {}, {
4639
4639
  length: number | undefined;
4640
- $type: "external" | "session" | "global" | "workspace";
4640
+ $type: "external" | "workspace" | "session" | "global";
4641
4641
  }>;
4642
4642
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
4643
4643
  name: "scope_kind";
@@ -4757,7 +4757,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4757
4757
  tableName: "workflow_run_contexts";
4758
4758
  dataType: "string";
4759
4759
  columnType: "SQLiteText";
4760
- data: "worker" | "authority" | undefined;
4760
+ data: "authority" | "worker" | undefined;
4761
4761
  driverParam: string;
4762
4762
  notNull: false;
4763
4763
  hasDefault: false;
@@ -4770,7 +4770,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4770
4770
  generated: undefined;
4771
4771
  }, {}, {
4772
4772
  length: number | undefined;
4773
- $type: "worker" | "authority" | undefined;
4773
+ $type: "authority" | "worker" | undefined;
4774
4774
  }>;
4775
4775
  materializationSpec: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
4776
4776
  name: string;
@@ -4880,7 +4880,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4880
4880
  tableName: "worklog_summaries";
4881
4881
  dataType: "string";
4882
4882
  columnType: "SQLiteText";
4883
- data: "pending" | "completed" | "cancelled" | "running" | "failed" | "paused" | "finalizing";
4883
+ data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
4884
4884
  driverParam: string;
4885
4885
  notNull: true;
4886
4886
  hasDefault: false;
@@ -5142,7 +5142,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5142
5142
  tableName: "worklog_frame_entries";
5143
5143
  dataType: "string";
5144
5144
  columnType: "SQLiteText";
5145
- data: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
5145
+ data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
5146
5146
  driverParam: string;
5147
5147
  notNull: true;
5148
5148
  hasDefault: false;
@@ -6420,9 +6420,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6420
6420
  pending: "pending";
6421
6421
  completed: "completed";
6422
6422
  cancelled: "cancelled";
6423
- running: "running";
6424
6423
  failed: "failed";
6425
6424
  paused: "paused";
6425
+ running: "running";
6426
6426
  finalizing: "finalizing";
6427
6427
  }>;
6428
6428
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6462,9 +6462,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6462
6462
  pending: "pending";
6463
6463
  completed: "completed";
6464
6464
  cancelled: "cancelled";
6465
- running: "running";
6466
6465
  failed: "failed";
6467
6466
  paused: "paused";
6467
+ running: "running";
6468
6468
  finalizing: "finalizing";
6469
6469
  }>;
6470
6470
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6511,9 +6511,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6511
6511
  pending: "pending";
6512
6512
  completed: "completed";
6513
6513
  cancelled: "cancelled";
6514
- running: "running";
6515
6514
  failed: "failed";
6516
6515
  paused: "paused";
6516
+ running: "running";
6517
6517
  finalizing: "finalizing";
6518
6518
  }>;
6519
6519
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6698,8 +6698,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6698
6698
  "exit-and-resume": "exit-and-resume";
6699
6699
  }>>;
6700
6700
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
6701
- worker: "worker";
6702
6701
  authority: "authority";
6702
+ worker: "worker";
6703
6703
  }>>;
6704
6704
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6705
6705
  kind: z.ZodLiteral<"local-directory">;
@@ -6851,9 +6851,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6851
6851
  pending: "pending";
6852
6852
  completed: "completed";
6853
6853
  cancelled: "cancelled";
6854
- running: "running";
6855
6854
  failed: "failed";
6856
6855
  paused: "paused";
6856
+ running: "running";
6857
6857
  finalizing: "finalizing";
6858
6858
  }>>;
6859
6859
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7048,9 +7048,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7048
7048
  pending: "pending";
7049
7049
  completed: "completed";
7050
7050
  cancelled: "cancelled";
7051
- running: "running";
7052
7051
  failed: "failed";
7053
7052
  paused: "paused";
7053
+ running: "running";
7054
7054
  finalizing: "finalizing";
7055
7055
  }>>;
7056
7056
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -7072,9 +7072,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7072
7072
  pending: "pending";
7073
7073
  completed: "completed";
7074
7074
  cancelled: "cancelled";
7075
- running: "running";
7076
7075
  failed: "failed";
7077
7076
  paused: "paused";
7077
+ running: "running";
7078
7078
  finalizing: "finalizing";
7079
7079
  }>;
7080
7080
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -7125,9 +7125,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7125
7125
  pending: "pending";
7126
7126
  completed: "completed";
7127
7127
  cancelled: "cancelled";
7128
- running: "running";
7129
7128
  failed: "failed";
7130
7129
  paused: "paused";
7130
+ running: "running";
7131
7131
  finalizing: "finalizing";
7132
7132
  }>;
7133
7133
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -7186,8 +7186,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7186
7186
  pending: "pending";
7187
7187
  completed: "completed";
7188
7188
  cancelled: "cancelled";
7189
- running: "running";
7190
7189
  failed: "failed";
7190
+ running: "running";
7191
7191
  skipped: "skipped";
7192
7192
  waiting: "waiting";
7193
7193
  }>;
@@ -7232,8 +7232,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7232
7232
  pending: "pending";
7233
7233
  completed: "completed";
7234
7234
  cancelled: "cancelled";
7235
- running: "running";
7236
7235
  failed: "failed";
7236
+ running: "running";
7237
7237
  skipped: "skipped";
7238
7238
  waiting: "waiting";
7239
7239
  }>;
@@ -7275,8 +7275,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7275
7275
  pending: "pending";
7276
7276
  completed: "completed";
7277
7277
  cancelled: "cancelled";
7278
- running: "running";
7279
7278
  failed: "failed";
7279
+ running: "running";
7280
7280
  skipped: "skipped";
7281
7281
  waiting: "waiting";
7282
7282
  }>;
@@ -7543,8 +7543,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7543
7543
  }>;
7544
7544
  status: z.ZodEnum<{
7545
7545
  completed: "completed";
7546
- running: "running";
7547
7546
  failed: "failed";
7547
+ running: "running";
7548
7548
  skipped: "skipped";
7549
7549
  }>;
7550
7550
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -7579,8 +7579,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7579
7579
  }>;
7580
7580
  status: z.ZodEnum<{
7581
7581
  completed: "completed";
7582
- running: "running";
7583
7582
  failed: "failed";
7583
+ running: "running";
7584
7584
  skipped: "skipped";
7585
7585
  }>;
7586
7586
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -7793,8 +7793,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7793
7793
  "exit-and-resume": "exit-and-resume";
7794
7794
  }>>;
7795
7795
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
7796
- worker: "worker";
7797
7796
  authority: "authority";
7797
+ worker: "worker";
7798
7798
  }>>;
7799
7799
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7800
7800
  kind: z.ZodLiteral<"local-directory">;
@@ -7980,8 +7980,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7980
7980
  "exit-and-resume": "exit-and-resume";
7981
7981
  }>>;
7982
7982
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
7983
- worker: "worker";
7984
7983
  authority: "authority";
7984
+ worker: "worker";
7985
7985
  }>>;
7986
7986
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7987
7987
  kind: z.ZodLiteral<"local-directory">;
@@ -8183,7 +8183,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
8183
8183
  materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
8184
8184
  }>>; /** Definition-owned finalizer selected after successful execution. */
8185
8185
  successFinalizerId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"success_finalizer_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"success_finalizer_id", [string, ...string[]]>>;
8186
- scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
8186
+ scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "workspace" | "session" | "global">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "workspace" | "session" | "global">>;
8187
8187
  scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
8188
8188
  scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique workflow identifier. */
8189
8189
  id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow name. */
@@ -8266,7 +8266,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
8266
8266
  * Stores runtime state of workflow executions.
8267
8267
  */
8268
8268
  declare const workflowExecutionsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_executions", {
8269
- scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
8269
+ scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "workspace" | "session" | "global">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "workspace" | "session" | "global">>;
8270
8270
  scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
8271
8271
  scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique execution identifier. */
8272
8272
  id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow definition or ephemeral source execution identifier. */
@@ -8293,7 +8293,7 @@ declare const workflowStepSpansDual: _$_makaio_storage_drizzle0.DualTable<"workf
8293
8293
  frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>; /** Step identifier within the workflow definition. */
8294
8294
  stepId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_id", [string, ...string[]]>>>; /** Step type discriminant. */
8295
8295
  stepType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_type", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_type", [string, ...string[]]>>>; /** Current span status. */
8296
- status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "running" | "failed" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "running" | "failed" | "skipped">>>; /** Step start timestamp (epoch ms). */
8296
+ status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "failed" | "running" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "failed" | "running" | "skipped">>>; /** Step start timestamp (epoch ms). */
8297
8297
  startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Step completion timestamp (epoch ms). */
8298
8298
  completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
8299
8299
  durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (agent steps). */
@@ -8442,4 +8442,4 @@ declare function patchWorkflowState(db: MakaioDatabase, params: {
8442
8442
  value: JsonValue;
8443
8443
  }>;
8444
8444
  //#endregion
8445
- export { ATTEMPT_OPERATION_START_GATES, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AttemptSettlementRead, type AttemptSettlementSnapshot, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type CompleteProviderOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, type EnsureExecutionAttemptDecision, type EnsureExecutionAttemptInput, type EnsureExecutionAttemptPersistenceInput, ExecutionAttemptAuthority, type ExecutionAttemptCancellationIntent, type ExecutionAttemptCreate, type ExecutionAttemptHandlersDeps, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptPeerIdentity, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type ExecutionOwnerId, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, type ListOpenProviderOperationsInput, type MarkRuntimeReadyInput, type OpenProviderOperationRecord, type OperationAdmissionDecision, type OperationAdmissionDeps, type OperationCompletionDecision, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationCompletionDecision, type ProviderOperationLeasePolicy, type ProviderOperationLeaseRenewal, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadAttemptSettlementInput, type ReadBootstrapStartStateInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type RequestExecutionCancellationInput, type RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, type RuntimeReadinessDecision, type RuntimeRegistrationDecision, type RuntimeRegistrationDeps, type TakeOverProviderOperationInput, WORKFLOW_WORKLOAD_KIND, WORKFLOW_WORKLOAD_VERSION, type WorkflowAttemptCancellation, type WorkflowAttemptOutcome, WorkflowAttemptOutcomeSchema, type WorkflowAttemptTechnicalFailure, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowInvocationInput, WorkflowInvocationInputSchema, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowTriggerPayloadPredicate, WorkflowTriggerReconciler, type WorkflowWorkspaceRootResolver, assertRuntimeOutcomeFence, assertWorkflowTriggerPayload, buildWorkflowAttemptInstruction, buildWorkflowExpressionContextFromResolvedInputs, compileWorkflowTriggerBindingFilter, createWorkflowEnginePackage, decodeDurableOutcome, decodeWorkflowAttemptOutcome, durableOutcome, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, submitAttemptOutcome, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
8445
+ export { ATTEMPT_OPERATION_START_GATES, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeControlObservation, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AttemptSettlementRead, type AttemptSettlementSnapshot, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type CompleteProviderOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, type EnsureExecutionAttemptDecision, type EnsureExecutionAttemptInput, type EnsureExecutionAttemptPersistenceInput, ExecutionAttemptAuthority, type ExecutionAttemptCancellationDecision, type ExecutionAttemptCancellationIntent, type ExecutionAttemptCreate, type ExecutionAttemptHandlersDeps, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptPeerIdentity, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type ExecutionOwnerId, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, type ListOpenProviderOperationsInput, type MarkRuntimeReadyInput, type OpenProviderOperationRecord, type OperationAdmissionDecision, type OperationAdmissionDeps, type OperationCompletionDecision, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationCompletionDecision, type ProviderOperationLeasePolicy, type ProviderOperationLeaseRenewal, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadAttemptSettlementInput, type ReadBootstrapStartStateInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type RequestAttemptCancellationInput, type RequestExecutionCancellationInput, type RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, type RuntimeReadinessDecision, type RuntimeRegistrationDecision, type RuntimeRegistrationDeps, type TakeOverProviderOperationInput, WORKFLOW_WORKLOAD_KIND, WORKFLOW_WORKLOAD_VERSION, type WorkflowAttemptCancellation, type WorkflowAttemptOutcome, WorkflowAttemptOutcomeSchema, type WorkflowAttemptTechnicalFailure, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowInvocationInput, WorkflowInvocationInputSchema, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowTriggerPayloadPredicate, WorkflowTriggerReconciler, type WorkflowWorkspaceRootResolver, assertRuntimeOutcomeFence, assertWorkflowTriggerPayload, buildWorkflowAttemptInstruction, buildWorkflowExpressionContextFromResolvedInputs, compileWorkflowTriggerBindingFilter, createWorkflowEnginePackage, decodeDurableOutcome, decodeWorkflowAttemptOutcome, durableOutcome, evaluateAttemptCancellation, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotAttemptOutcomeControl, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput, submitAttemptOutcome, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
@@ -1 +1 @@
1
- import{C as e,E as t,H as n,K as ee,L as te,Q as r,S as i,T as a,U as o,W as s,_ as c,b as l,ct as u,et as d,ft as f,gt as p,nt as m,v as h,vt as g,w as _,x as v,y}from"../authority-state-bootstrap-DgoHPc9J.mjs";import{_ as b,a as x,c as S,d as C,f as w,g as T,h as E,i as D,l as O,m as k,n as A,o as j,p as M,r as N,s as P,t as F,u as I}from"../package-BESXccyx.mjs";import{_ as L,a as R,c as ne,d as z,f as B,g as V,h as H,i as U,l as W,n as G,o as K,p as q,r as J,s as Y,t as X,u as Z}from"../execution-attempt-repository-Z7oEBcgp.mjs";import{assertWorkflowTriggerPayload as re,compileWorkflowTriggerBindingFilter as ie}from"./workflow-trigger-binding-consumer.mjs";import{a as ae,i as oe,n as se,r as ce,t as le}from"../execution-attempt-owner-recovery-CwTiTnnR.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as ue,isProviderOperationResolved as de}from"./provider-operation.mjs";import{JsonValueSchema as Q,WorkflowFrameStateSchema as fe}from"@makaio/framework/contracts";const pe=new Set([...fe.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function me(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!pe.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function he(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:me(e.steps)?e.steps:{},inputs:Q.safeParse(e.inputs).success?e.inputs:{}};return`item`in e&&(t.item=e.item),typeof e.index==`number`&&(t.index=e.index),t}export{X as ATTEMPT_OPERATION_START_GATES,G as DuplicateExecutionAttemptError,J as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,U as EXECUTION_ATTEMPT_STATUSES,x as ExecutionAttemptAuthority,ue as PROVIDER_OPERATION_OBLIGATIONS,O as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,R as RuntimeOutcomeFenceMismatchError,v as WORKFLOW_WORKLOAD_KIND,i as WORKFLOW_WORKLOAD_VERSION,c as WorkflowAttemptOutcomeSchema,D as WorkflowEngineService,F as WorkflowEngineToken,P as WorkflowExecutor,e as WorkflowInvocationInputSchema,o as WorkflowStorageNamespace,s as WorkflowStorageSubjects,j as WorkflowTriggerReconciler,K as assertRuntimeOutcomeFence,re as assertWorkflowTriggerPayload,_ as buildWorkflowAttemptInstruction,he as buildWorkflowExpressionContextFromResolvedInputs,ie as compileWorkflowTriggerBindingFilter,A as createWorkflowEnginePackage,Y as decodeDurableOutcome,h as decodeWorkflowAttemptOutcome,ne as durableOutcome,z as evaluateAttemptReachability,B as evaluateOperationAdmission,q as evaluateOperationCompletion,H as evaluateProvisionerIncarnationLoss,V as evaluateRuntimeReadiness,L as evaluateRuntimeRegistration,E as getWorkflowState,T as initializeWorkflowState,de as isProviderOperationResolved,a as parseWorkflowAttemptInstruction,b as patchWorkflowState,le as readAttemptSettlementSnapshot,S as registerBootstrapStartHandler,k as registerDrizzleWorkflowStorage,w as registerExecutionAttemptHandlers,C as registerOperationAdmissionHandler,I as registerRuntimeRegistrationHandler,se as replayEnsuredAttempt,n as resolveExecutionAttemptPeer,t as runAuthorityDispatchedAttempt,te as runShellStep,W as sameAllocationRef,Z as sameDurableOutcome,ce as snapshotEnsureExecutionAttemptInput,oe as snapshotEnsureExecutionAttemptPersistenceInput,ae as snapshotReadAttemptSettlementInput,M as submitAttemptOutcome,y as toCommittedWorkflowRunnerResult,l as workflowAttemptOutcomeCodec,ee as workflowDefinitionsDual,N as workflowEnginePackage,r as workflowExecutionStateDual,d as workflowExecutionStateEventsDual,m as workflowExecutionsDual,g as workflowFinalizationsDual,u as workflowStepSpansDual,f as worklogFrameEntriesDual,p as worklogSummariesDual};
1
+ import{C as e,E as t,H as n,K as ee,L as te,Q as r,S as i,T as a,U as o,W as s,_ as c,b as l,ct as u,et as d,ft as f,gt as p,nt as m,v as h,vt as g,w as _,x as v,y}from"../authority-state-bootstrap-DgoHPc9J.mjs";import{_ as b,a as x,c as S,d as C,f as w,g as T,h as E,i as D,l as O,m as k,n as A,o as j,p as M,r as N,s as P,t as F,u as I}from"../package-B-xpYKe8.mjs";import{_ as L,a as R,b as ne,c as z,d as B,f as V,g as H,h as U,i as W,l as G,m as K,n as q,o as J,p as Y,r as X,s as Z,t as re,u as ie,x as ae,y as oe}from"../execution-attempt-repository-CWbgCTwA.mjs";import{assertWorkflowTriggerPayload as se,compileWorkflowTriggerBindingFilter as ce}from"./workflow-trigger-binding-consumer.mjs";import{a as le,i as ue,n as de,r as fe,t as pe}from"../execution-attempt-owner-recovery-D4APLAvt.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as me,isProviderOperationResolved as he}from"./provider-operation.mjs";import{JsonValueSchema as Q,WorkflowFrameStateSchema as ge}from"@makaio/framework/contracts";const _e=new Set([...ge.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function ve(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!_e.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function ye(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:ve(e.steps)?e.steps:{},inputs:Q.safeParse(e.inputs).success?e.inputs:{}};return`item`in e&&(t.item=e.item),typeof e.index==`number`&&(t.index=e.index),t}export{re as ATTEMPT_OPERATION_START_GATES,q as DuplicateExecutionAttemptError,X as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,W as EXECUTION_ATTEMPT_STATUSES,x as ExecutionAttemptAuthority,me as PROVIDER_OPERATION_OBLIGATIONS,O as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,Y as RuntimeOutcomeFenceMismatchError,v as WORKFLOW_WORKLOAD_KIND,i as WORKFLOW_WORKLOAD_VERSION,c as WorkflowAttemptOutcomeSchema,D as WorkflowEngineService,F as WorkflowEngineToken,P as WorkflowExecutor,e as WorkflowInvocationInputSchema,o as WorkflowStorageNamespace,s as WorkflowStorageSubjects,j as WorkflowTriggerReconciler,K as assertRuntimeOutcomeFence,se as assertWorkflowTriggerPayload,_ as buildWorkflowAttemptInstruction,ye as buildWorkflowExpressionContextFromResolvedInputs,ce as compileWorkflowTriggerBindingFilter,A as createWorkflowEnginePackage,R as decodeDurableOutcome,h as decodeWorkflowAttemptOutcome,J as durableOutcome,G as evaluateAttemptCancellation,U as evaluateAttemptReachability,H as evaluateOperationAdmission,L as evaluateOperationCompletion,oe as evaluateProvisionerIncarnationLoss,ne as evaluateRuntimeReadiness,ae as evaluateRuntimeRegistration,E as getWorkflowState,T as initializeWorkflowState,he as isProviderOperationResolved,a as parseWorkflowAttemptInstruction,b as patchWorkflowState,pe as readAttemptSettlementSnapshot,S as registerBootstrapStartHandler,k as registerDrizzleWorkflowStorage,w as registerExecutionAttemptHandlers,C as registerOperationAdmissionHandler,I as registerRuntimeRegistrationHandler,de as replayEnsuredAttempt,n as resolveExecutionAttemptPeer,t as runAuthorityDispatchedAttempt,te as runShellStep,Z as sameAllocationRef,z as sameDurableOutcome,ie as snapshotAttemptOutcomeControl,fe as snapshotEnsureExecutionAttemptInput,ue as snapshotEnsureExecutionAttemptPersistenceInput,le as snapshotReadAttemptSettlementInput,B as snapshotRequestAttemptCancellationInput,V as snapshotRequestExecutionCancellationInput,M as submitAttemptOutcome,y as toCommittedWorkflowRunnerResult,l as workflowAttemptOutcomeCodec,ee as workflowDefinitionsDual,N as workflowEnginePackage,r as workflowExecutionStateDual,d as workflowExecutionStateEventsDual,m as workflowExecutionsDual,g as workflowFinalizationsDual,u as workflowStepSpansDual,f as worklogFrameEntriesDual,p as worklogSummariesDual};
@@ -1,2 +1,2 @@
1
- import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-DjI3DSDe.mjs";
1
+ import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-Bl0mcGb8.mjs";
2
2
  export { WorkflowEngineToken, createWorkflowEnginePackage, workflowEnginePackage };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../package-BESXccyx.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
1
+ import{n as e,r as t,t as n}from"../package-B-xpYKe8.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
@@ -1,2 +1,2 @@
1
- import { At as RecordProviderOperationUncertaintyInput, Ct as ProviderOperationLeasePolicy, Dt as ProviderOperationOwnershipRecord, Et as ProviderOperationObligation, Mt as TakeOverProviderOperationInput, Nt as isProviderOperationResolved, Ot as ProvisionerIncarnationLossDecision, St as ProviderOperationCompletionDecision, Tt as ProviderOperationMutationDecision, _t as OpenProviderOperationRecord, bt as ProviderOperationClaim, ft as CompleteProviderOperationInput, gt as ListOpenProviderOperationsInput, ht as InitialProviderOperationClaimContextSource, jt as RenewProviderOperationClaimInput, kt as ProvisioningAbsenceDecision, mt as InitialProviderOperationClaimContext, pt as HandoffProviderOperationInput, vt as PROVIDER_OPERATION_OBLIGATIONS, wt as ProviderOperationLeaseRenewal, xt as ProviderOperationClaimDecision, yt as ProcessBoundProvisionerLossProof } from "../execution-attempt-repository-CE7UXmEi.mjs";
1
+ import { $ as InitialProviderOperationClaimContextSource, Q as InitialProviderOperationClaimContext, X as CompleteProviderOperationInput, Z as HandoffProviderOperationInput, _t as isProviderOperationResolved, at as ProviderOperationClaimDecision, ct as ProviderOperationLeaseRenewal, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, ft as ProvisionerIncarnationLossDecision, gt as TakeOverProviderOperationInput, ht as RenewProviderOperationClaimInput, it as ProviderOperationClaim, lt as ProviderOperationMutationDecision, mt as RecordProviderOperationUncertaintyInput, nt as PROVIDER_OPERATION_OBLIGATIONS, ot as ProviderOperationCompletionDecision, pt as ProvisioningAbsenceDecision, rt as ProcessBoundProvisionerLossProof, st as ProviderOperationLeasePolicy, tt as OpenProviderOperationRecord, ut as ProviderOperationObligation } from "../execution-attempt-repository--RVils5-.mjs";
2
2
  export { CompleteProviderOperationInput, HandoffProviderOperationInput, InitialProviderOperationClaimContext, InitialProviderOperationClaimContextSource, ListOpenProviderOperationsInput, OpenProviderOperationRecord, PROVIDER_OPERATION_OBLIGATIONS, ProcessBoundProvisionerLossProof, ProviderOperationClaim, ProviderOperationClaimDecision, ProviderOperationCompletionDecision, ProviderOperationLeasePolicy, ProviderOperationLeaseRenewal, ProviderOperationMutationDecision, ProviderOperationObligation, ProviderOperationOwnershipRecord, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, RecordProviderOperationUncertaintyInput, RenewProviderOperationClaimInput, TakeOverProviderOperationInput, isProviderOperationResolved };
@@ -1,4 +1,4 @@
1
- import { P as OutcomeCodec, w as ExecutionAttemptRepository } from "../../execution-attempt-repository-CE7UXmEi.mjs";
1
+ import { j as OutcomeCodec, x as ExecutionAttemptRepository } from "../../execution-attempt-repository--RVils5-.mjs";
2
2
 
3
3
  //#region subsystems/workflow-engine/src/testing/conformance/types.d.ts
4
4
  /** Narrow fixture input for recovery's oldest-first, identifier-tiebreak ordering contract. */