@voltro/workflow 0.75.0 → 0.77.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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, J as c, K as l, L as u, M as d, O as f, P as p, R as m, S as h, T as g, U as _, V as v, W as y, Y as b, _ as x, a as S, b as C, c as w, d as T, f as E, g as D, h as O, i as k, j as A, k as j, l as M, m as N, n as P, o as F, p as I, q as L, r as R, s as z, t as B, u as V, v as H, w as U, x as W, y as G, z as K } from "./primitives-bv2JHUfk.js";
2
- import { $ as q, $t as J, A as Y, At as X, B as Z, Bt as Q, C as $, Ct as ee, D as te, Dt as ne, E as re, Et as ie, F as ae, Ft as oe, G as se, Gt as ce, H as le, Ht as ue, I as de, It as fe, J as pe, Jt as me, K as he, Kt as ge, L as _e, Lt as ve, M as ye, Mt as be, N as xe, Nt as Se, O as Ce, Ot as we, P as Te, Pt as Ee, Q as De, Qt as Oe, R as ke, Rt as Ae, S as je, St as Me, T as Ne, Tt as Pe, U as Fe, Ut as Ie, V as Le, Vt as Re, W as ze, Wt as Be, X as Ve, Xt as He, Y as Ue, Yt as We, Z as Ge, Zt as Ke, _ as qe, _n as Je, _t as Ye, a as Xe, an as Ze, at as Qe, b as $e, bn as et, bt as tt, c as nt, cn as rt, ct as it, d as at, dn as ot, dt as st, en as ct, et as lt, f as ut, fn as dt, ft, g as pt, gn as mt, gt as ht, h as gt, hn as _t, ht as vt, i as yt, in as bt, it as xt, j as St, jt as Ct, k as wt, kt as Tt, l as Et, ln as Dt, lt as Ot, m as kt, mn as At, mt as jt, n as Mt, nn as Nt, nt as Pt, o as Ft, on as It, ot as Lt, p as Rt, pn as zt, pt as Bt, q as Vt, qt as Ht, r as Ut, rn as Wt, rt as Gt, s as Kt, sn as qt, st as Jt, t as Yt, tn as Xt, tt as Zt, u as Qt, un as $t, ut as en, v as tn, vn as nn, vt as rn, w as an, wt as on, x as sn, xn as cn, xt as ln, y as un, yn as dn, yt as fn, z as pn, zt as mn } from "./src-BnF1JtbZ.js";
3
- import { c as hn, g as gn, l as _n, n as vn, r as yn, t as bn, u as xn } from "./clusterDiagnostics-Cwt-WFec.js";
4
- export { Bt as ADMISSIONS_TABLE, ut as BUDGET_HOLDS_TABLE, Rt as BudgetHoldExpired, ze as CANCEL_ON_WATERMARK, bn as CLUSTER_REREAD_WINDOW_MS, vn as ClusterDiagnostics, d as CurrentWorkflowExecutionId, p as CurrentWorkflowPatches, U as CurrentWorkflowReplayShape, a as CurrentWorkflowRunId, kt as DEFAULT_BUDGET_HOLD_TIMEOUT_MS, se as DEFAULT_COLD_LOOKBACK_MS, _e as DEFAULT_DRAIN_BATCH, he as DEFAULT_EVENT_BATCH, jt as DEFAULT_LEASE_MS, Yt as DEFAULT_MAX_RUN_RECLAIMS, Mt as DEFAULT_REPLAY_SHAPE_LIMIT, Z as DEFAULT_STALL_AFTER_MS, Le as DEFAULT_STALL_EVENT_LOOKBACK, le as DEFAULT_STALL_RUN_PAGE, ye as DEFAULT_SUSPEND_HINT_MS, f as DEFAULT_WORKFLOW_SCHEDULE_MAX_RUNTIME_MS, v as DEFERRING_CONTROLS, Vt as EVENTS_TABLE, J as FlowControlKeyError, vt as PAUSES_TABLE, ht as PENDING_TABLE, pe as WATERMARKS_TABLE, B as WorkflowFlowControlProperty, P as WorkflowMessagesProperty, u as WorkflowRunRecorder, j as WorkflowScheduleProperty, m as WorkflowStepInterceptorTag, R as WorkflowVersionTypeId, k as WorkflowWorkerLayerTypeId, gt as _voltroBudgetHoldsTable, rt as _voltroWorkflowAdmissionLocksTable, Dt as _voltroWorkflowAdmissionsTable, $t as _voltroWorkflowControlRequestsTable, ot as _voltroWorkflowFailureReportsTable, dt as _voltroWorkflowParentClosuresTable, zt as _voltroWorkflowPausesTable, At as _voltroWorkflowPendingTable, nn as _voltroWorkflowRunEventsTable, dn as _voltroWorkflowRunStepsTable, et as _voltroWorkflowRunsTable, Je as _voltroWorkflowStartContextsTable, _t as _voltroWorkflowStartReceiptsTable, mt as _voltroWorkflowSubmissionsTable, lt as _voltroWorkflowWatermarksTable, ke as acceptAdmissionSubmission, hn as acceptWorkflowControlInTransaction, Re as acknowledgeAdmissionSubmission, Zt as admitStart, Ye as allIntents, s as assertConsistentPools, L as attachPreparedWorkflowExecution, Y as awaitEvent, St as awaitSignal, $ as awaitSignalSuspending, at as awaitUpdate, ue as beginAdmissionSubmissionDispatchInTransaction, _n as beginWorkflowControlDispatchInTransaction, xn as bindWorkflowResumeJournalInTransaction, ve as bindWorkflowStartReceipts, pt as budgetHoldGeneration, qe as budgetHoldKey, tn as budgetHoldSignalName, Qe as cancelQueuedWorkflowStartInTransaction, it as cancelSuspendedWorkflowRunInTransaction, ct as comparePendingOrder, an as completeSuspendingSignal, Ot as completeWorkflowRunGenerationInTransaction, rn as deadLetterIntent, Xt as decideAdmission, _ as deferringControlsOf, fn as deleteIntent, yn as describeStalledRun, tt as discardIntent, ln as discardIntentInTransaction, pn as drainTick, Me as dueIntents, S as durableClock, F as durableQueue, z as durableQueueModule, w as durableRateLimiterModule, en as enterWorkflowRunGenerationInTransaction, ee as evaluateAdmission, c as executePreparedWorkflow, K as getCurrentWorkflowExecutionId, t as getCurrentWorkflowRunId, M as getWorkflowFlowControl, e as getWorkflowSchedule, V as getWorkflowVersionMetadata, We as handoffWorkflowFailureInTransaction, y as hasCancelOn, o as hasFlowControl, b as hasPreparedWorkflowExecution, un as heldBudgets, cn as inMemoryWorkflowEngineLayer, Qt as inspectWorkflow, Nt as isFinishExpired, Wt as isStartExpired, T as isWorkflowWorkerLayer, Pt as linkExecution, Et as makeInMemoryRecorder, g as makeReplayShapeTracker, Ut as makeWorkflowRunRecorder, re as makeWorkflowUpdateId, xe as maybeHintSuspendingSignal, De as newestEventAt, bt as nextSlotAt, i as nondeterminismEventPayload, yt as normaliseWorkflowPatches, Ie as noteAdmissionSubmissionFailure, on as noteIntentAttempt, Pe as parkDelayedStart, E as patch, ie as pauseWorkflow, Be as pendingAdmissionSubmissions, $e as pendingBudgetHolds, ne as pendingSlotId, we as pendingWindow, Tt as persistDefer, q as planCancellations, Ze as pooledConcurrencyKey, ce as prepareAdmissionSubmissionExecutionInTransaction, I as processQueue, X as pruneAdmissions, N as queueWorker, Jt as queuedCancellationRequestsTable, O as rateLimit, Ct as readAdmissionState, ge as readAdmissionSubmission, be as readPausedWorkflows, Lt as readQueuedWorkflowCancellationInTransaction, Ue as readWatermark, gn as readWorkflowControlInTransaction, Ke as readWorkflowFailureRecord, Ae as readWorkflowStartReceipt, He as reconcileWorkflowFailureInTransaction, Se as recordAdmission, Oe as recordWorkflowFailureInTransaction, mn as recordWorkflowStartReceipt, Ht as rejectAdmissionSubmissionInTransaction, sn as releaseBudgetHolds, Ee as releaseLease, r as reportNondeterminism, me as reserveAdmissionSubmission, Te as resetSuspendHintsForTest, It as resolveAdmissionKeys, Xe as resolveRunGuardTuning, ae as resolveSuspendHintMs, te as resolveWorkflowMessageRun, Q as resolveWorkflowStartReceipt, oe as resumeWorkflow, fe as retryDeadLetterIntent, Ce as sendWorkflowSignal, wt as sendWorkflowUpdate, Ft as serialiseWorkflowRowForWire, de as setSuspendSignalHintMs, D as sleep, x as sleepUntil, ft as stageWorkflowParentClosureInTransaction, H as step, G as stepIdempotencyKey, C as stepModule, je as suspendForBudget, Ne as suspendingSignalDeferredName, Ve as sweepCancelOn, Fe as sweepStalledRuns, Gt as takeAdmittedSubmissionInTransaction, xt as takePendingAdmissionSubmission, Kt as truncateWorkflowValue, l as validateFlowControl, A as validateWorkflowSchedule, qt as withAdmissionTransaction, W as withCompensation, h as workflow, n as workflowModule, st as workflowRestartRequestsTable, nt as wrapWorkflowExecuteWithRunRecording, Ge as writeWatermark };
2
+ import { $ as q, $t as J, A as Y, At as X, B as Z, Bt as Q, C as $, Ct as ee, D as te, Dt as ne, E as re, Et as ie, F as ae, Ft as oe, G as se, Gt as ce, H as le, Ht as ue, I as de, It as fe, J as pe, Jt as me, K as he, Kt as ge, L as _e, Lt as ve, M as ye, Mt as be, N as xe, Nt as Se, O as Ce, Ot as we, P as Te, Pt as Ee, Q as De, Qt as Oe, R as ke, Rt as Ae, S as je, Sn as Me, St as Ne, T as Pe, Tt as Fe, U as Ie, Ut as Le, V as Re, Vt as ze, W as Be, Wt as Ve, X as He, Xt as Ue, Y as We, Yt as Ge, Z as Ke, Zt as qe, _ as Je, _n as Ye, _t as Xe, a as Ze, an as Qe, at as $e, b as et, bn as tt, bt as nt, c as rt, cn as it, ct as at, d as ot, dn as st, dt as ct, en as lt, et as ut, f as dt, fn as ft, ft as pt, g as mt, gn as ht, gt, h as _t, hn as vt, ht as yt, i as bt, in as xt, it as St, j as Ct, jt as wt, k as Tt, kt as Et, l as Dt, ln as Ot, lt as kt, m as At, mn as jt, mt as Mt, n as Nt, nn as Pt, nt as Ft, o as It, on as Lt, ot as Rt, p as zt, pn as Bt, pt as Vt, q as Ht, qt as Ut, r as Wt, rn as Gt, rt as Kt, s as qt, sn as Jt, st as Yt, t as Xt, tn as Zt, tt as Qt, u as $t, un as en, ut as tn, v as nn, vn as rn, vt as an, w as on, wt as sn, x as cn, xn as ln, xt as un, y as dn, yn as fn, yt as pn, z as mn, zt as hn } from "./src-BvXFdkkW.js";
3
+ import { c as gn, g as _n, l as vn, n as yn, r as bn, t as xn, u as Sn } from "./clusterDiagnostics-Cwt-WFec.js";
4
+ export { Vt as ADMISSIONS_TABLE, dt as BUDGET_HOLDS_TABLE, zt as BudgetHoldExpired, Be as CANCEL_ON_WATERMARK, xn as CLUSTER_REREAD_WINDOW_MS, yn as ClusterDiagnostics, d as CurrentWorkflowExecutionId, p as CurrentWorkflowPatches, U as CurrentWorkflowReplayShape, a as CurrentWorkflowRunId, At as DEFAULT_BUDGET_HOLD_TIMEOUT_MS, se as DEFAULT_COLD_LOOKBACK_MS, _e as DEFAULT_DRAIN_BATCH, he as DEFAULT_EVENT_BATCH, Mt as DEFAULT_LEASE_MS, Xt as DEFAULT_MAX_RUN_RECLAIMS, Nt as DEFAULT_REPLAY_SHAPE_LIMIT, Z as DEFAULT_STALL_AFTER_MS, Re as DEFAULT_STALL_EVENT_LOOKBACK, le as DEFAULT_STALL_RUN_PAGE, ye as DEFAULT_SUSPEND_HINT_MS, f as DEFAULT_WORKFLOW_SCHEDULE_MAX_RUNTIME_MS, v as DEFERRING_CONTROLS, Ht as EVENTS_TABLE, lt as FlowControlKeyError, yt as PAUSES_TABLE, gt as PENDING_TABLE, pe as WATERMARKS_TABLE, B as WorkflowFlowControlProperty, P as WorkflowMessagesProperty, u as WorkflowRunRecorder, j as WorkflowScheduleProperty, m as WorkflowStepInterceptorTag, R as WorkflowVersionTypeId, k as WorkflowWorkerLayerTypeId, _t as _voltroBudgetHoldsTable, Ot as _voltroWorkflowAdmissionLocksTable, en as _voltroWorkflowAdmissionsTable, st as _voltroWorkflowControlRequestsTable, ft as _voltroWorkflowFailureReportsTable, Bt as _voltroWorkflowParentClosuresTable, jt as _voltroWorkflowPausesTable, vt as _voltroWorkflowPendingTable, fn as _voltroWorkflowRunEventsTable, tt as _voltroWorkflowRunStepsTable, ln as _voltroWorkflowRunsTable, rn as _voltroWorkflowStartContextsTable, ht as _voltroWorkflowStartReceiptsTable, Ye as _voltroWorkflowSubmissionsTable, ut as _voltroWorkflowWatermarksTable, ke as acceptAdmissionSubmission, gn as acceptWorkflowControlInTransaction, ze as acknowledgeAdmissionSubmission, Qt as admitStart, Xe as allIntents, s as assertConsistentPools, L as attachPreparedWorkflowExecution, Y as awaitEvent, Ct as awaitSignal, $ as awaitSignalSuspending, ot as awaitUpdate, ue as beginAdmissionSubmissionDispatchInTransaction, vn as beginWorkflowControlDispatchInTransaction, Sn as bindWorkflowResumeJournalInTransaction, ve as bindWorkflowStartReceipts, mt as budgetHoldGeneration, Je as budgetHoldKey, nn as budgetHoldSignalName, $e as cancelQueuedWorkflowStartInTransaction, at as cancelSuspendedWorkflowRunInTransaction, Zt as comparePendingOrder, on as completeSuspendingSignal, kt as completeWorkflowRunGenerationInTransaction, an as deadLetterIntent, Pt as decideAdmission, _ as deferringControlsOf, pn as deleteIntent, bn as describeStalledRun, nt as discardIntent, un as discardIntentInTransaction, mn as drainTick, Ne as dueIntents, S as durableClock, F as durableQueue, z as durableQueueModule, w as durableRateLimiterModule, tn as enterWorkflowRunGenerationInTransaction, ee as evaluateAdmission, c as executePreparedWorkflow, K as getCurrentWorkflowExecutionId, t as getCurrentWorkflowRunId, M as getWorkflowFlowControl, e as getWorkflowSchedule, V as getWorkflowVersionMetadata, Ue as handoffWorkflowFailureInTransaction, y as hasCancelOn, o as hasFlowControl, b as hasPreparedWorkflowExecution, dn as heldBudgets, Me as inMemoryWorkflowEngineLayer, $t as inspectWorkflow, Gt as isFinishExpired, xt as isStartExpired, T as isWorkflowWorkerLayer, Ft as linkExecution, Dt as makeInMemoryRecorder, g as makeReplayShapeTracker, Wt as makeWorkflowRunRecorder, re as makeWorkflowUpdateId, xe as maybeHintSuspendingSignal, De as newestEventAt, Qe as nextSlotAt, i as nondeterminismEventPayload, bt as normaliseWorkflowPatches, Le as noteAdmissionSubmissionFailure, sn as noteIntentAttempt, Fe as parkDelayedStart, E as patch, ie as pauseWorkflow, Ve as pendingAdmissionSubmissions, et as pendingBudgetHolds, ne as pendingSlotId, we as pendingWindow, Et as persistDefer, q as planCancellations, Lt as pooledConcurrencyKey, ce as prepareAdmissionSubmissionExecutionInTransaction, I as processQueue, X as pruneAdmissions, N as queueWorker, Yt as queuedCancellationRequestsTable, O as rateLimit, wt as readAdmissionState, ge as readAdmissionSubmission, be as readPausedWorkflows, Rt as readQueuedWorkflowCancellationInTransaction, We as readWatermark, _n as readWorkflowControlInTransaction, Oe as readWorkflowFailureRecord, Ae as readWorkflowStartReceipt, qe as reconcileWorkflowFailureInTransaction, Se as recordAdmission, J as recordWorkflowFailureInTransaction, hn as recordWorkflowStartReceipt, Ut as rejectAdmissionSubmissionInTransaction, cn as releaseBudgetHolds, Ee as releaseLease, r as reportNondeterminism, me as reserveAdmissionSubmission, Ge as reserveAdmissionSubmissionInTransaction, Te as resetSuspendHintsForTest, Jt as resolveAdmissionKeys, Ze as resolveRunGuardTuning, ae as resolveSuspendHintMs, te as resolveWorkflowMessageRun, Q as resolveWorkflowStartReceipt, oe as resumeWorkflow, fe as retryDeadLetterIntent, Ce as sendWorkflowSignal, Tt as sendWorkflowUpdate, It as serialiseWorkflowRowForWire, de as setSuspendSignalHintMs, D as sleep, x as sleepUntil, pt as stageWorkflowParentClosureInTransaction, H as step, G as stepIdempotencyKey, C as stepModule, je as suspendForBudget, Pe as suspendingSignalDeferredName, He as sweepCancelOn, Ie as sweepStalledRuns, Kt as takeAdmittedSubmissionInTransaction, St as takePendingAdmissionSubmission, qt as truncateWorkflowValue, l as validateFlowControl, A as validateWorkflowSchedule, it as withAdmissionTransaction, W as withCompensation, h as workflow, n as workflowModule, ct as workflowRestartRequestsTable, rt as wrapWorkflowExecuteWithRunRecording, Ke as writeWatermark };