@codemation/core 0.0.5 → 0.0.11
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/{InMemoryLiveWorkflowRepository-DL7LmC9S.d.ts → InMemoryLiveWorkflowRepository-DxoualoC.d.ts} +6 -2
- package/dist/{InMemoryLiveWorkflowRepository-D6eiiXxF.d.cts → InMemoryLiveWorkflowRepository-orY1VsWG.d.cts} +6 -2
- package/dist/{RunIntentService-NKobsfMQ.d.cts → RunIntentService-ByuUYsAL.d.cts} +8 -3
- package/dist/{RunIntentService-BFVbsOcg.js → RunIntentService-CYnn140t.js} +9 -4
- package/dist/RunIntentService-CYnn140t.js.map +1 -0
- package/dist/{RunIntentService-2ivFmNQh.cjs → RunIntentService-DlQH5eZ2.cjs} +9 -4
- package/dist/RunIntentService-DlQH5eZ2.cjs.map +1 -0
- package/dist/{WorkflowSnapshotCodec-DTdWkoW_.d.cts → WorkflowSnapshotCodec-DSEzKyt3.d.cts} +2 -2
- package/dist/bootstrap/index.cjs +133 -4
- package/dist/bootstrap/index.cjs.map +1 -1
- package/dist/bootstrap/index.d.cts +4 -3
- package/dist/bootstrap/index.d.ts +3 -2
- package/dist/bootstrap/index.js +133 -4
- package/dist/bootstrap/index.js.map +1 -1
- package/dist/{index-9g6Pfe9Z.d.ts → index-CTjfVHJh.d.ts} +8 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/testing.d.cts +2 -2
- package/dist/testing.d.ts +1 -1
- package/package.json +6 -1
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +10 -2
- package/src/contracts/runtimeTypes.ts +5 -0
- package/src/execution/NodeActivationRequestComposer.ts +15 -4
- package/src/orchestration/Engine.ts +12 -1
- package/src/orchestration/NodeExecutionRequestHandlerService.ts +179 -0
- package/src/runtime/EngineFactory.ts +13 -0
- package/dist/EngineExecutionLimitsPolicy-8MEFIYx1.d.cts +0 -160
- package/dist/EngineExecutionLimitsPolicy-BWAXW9D6.d.cts +0 -160
- package/dist/EngineExecutionLimitsPolicy-Bp8PS1Ss.d.cts +0 -159
- package/dist/EngineExecutionLimitsPolicy-CLxcN-D2.d.ts +0 -159
- package/dist/EngineExecutionLimitsPolicy-DZXuix51.d.ts +0 -160
- package/dist/EngineExecutionLimitsPolicy-Gfz6ngFd.d.ts +0 -160
- package/dist/EngineFactory-CBnntY3J.cjs +0 -3152
- package/dist/EngineFactory-CBnntY3J.cjs.map +0 -1
- package/dist/EngineFactory-Cwn3R2YA.js +0 -3087
- package/dist/EngineFactory-Cwn3R2YA.js.map +0 -1
- package/dist/EngineFactory-DWCnNocp.js +0 -3063
- package/dist/EngineFactory-DWCnNocp.js.map +0 -1
- package/dist/EngineFactory-DhPFou4p.cjs +0 -3188
- package/dist/EngineFactory-DhPFou4p.cjs.map +0 -1
- package/dist/EngineFactory-l_9xmBtv.cjs +0 -3190
- package/dist/EngineFactory-l_9xmBtv.cjs.map +0 -1
- package/dist/EngineFactory-w-aOWuqh.js +0 -3089
- package/dist/EngineFactory-w-aOWuqh.js.map +0 -1
- package/dist/InMemoryLiveWorkflowRepository-1J9MHN_I.js +0 -18
- package/dist/InMemoryLiveWorkflowRepository-1J9MHN_I.js.map +0 -1
- package/dist/InMemoryLiveWorkflowRepository-CULNqv96.d.ts +0 -1300
- package/dist/InMemoryLiveWorkflowRepository-D7l8cjdZ.d.cts +0 -1130
- package/dist/InMemoryLiveWorkflowRepository-jnv-OnOP.d.ts +0 -1300
- package/dist/InMemoryLiveWorkflowRepository-xny1_Z6i.cjs +0 -24
- package/dist/InMemoryLiveWorkflowRepository-xny1_Z6i.cjs.map +0 -1
- package/dist/InMemoryLiveWorkflowRepository-xr7b4kvi.d.ts +0 -1338
- package/dist/InMemoryWorkflowCatalog-BIdFpwbK.d.ts +0 -1205
- package/dist/InMemoryWorkflowCatalog-BW00_3N3.d.cts +0 -12
- package/dist/InMemoryWorkflowCatalog-BiYHGoPw.cjs +0 -24
- package/dist/InMemoryWorkflowCatalog-BiYHGoPw.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-BrG0ApMO.d.cts +0 -1115
- package/dist/InMemoryWorkflowCatalog-BzrAr--Y.js +0 -139
- package/dist/InMemoryWorkflowCatalog-BzrAr--Y.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-C-EJlJ7y.d.cts +0 -1120
- package/dist/InMemoryWorkflowCatalog-C4482bpw.cjs +0 -24
- package/dist/InMemoryWorkflowCatalog-C4482bpw.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-CZ0kZpOv.d.ts +0 -1289
- package/dist/InMemoryWorkflowCatalog-C_ACeLyW.d.cts +0 -1119
- package/dist/InMemoryWorkflowCatalog-CiHWIu5E.d.cts +0 -12
- package/dist/InMemoryWorkflowCatalog-CkH7gkya.js +0 -18
- package/dist/InMemoryWorkflowCatalog-CkH7gkya.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-CnpZVJM9.d.ts +0 -1205
- package/dist/InMemoryWorkflowCatalog-Cu68S8YR.js +0 -18
- package/dist/InMemoryWorkflowCatalog-Cu68S8YR.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-D2w9nMj2.cjs +0 -151
- package/dist/InMemoryWorkflowCatalog-D2w9nMj2.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-D5eMxEf7.js +0 -18
- package/dist/InMemoryWorkflowCatalog-D5eMxEf7.js.map +0 -1
- package/dist/InMemoryWorkflowCatalog-D5nCp2yZ.d.ts +0 -1267
- package/dist/InMemoryWorkflowCatalog-DIq0bjqN.d.ts +0 -12
- package/dist/InMemoryWorkflowCatalog-DLgaEaw_.d.ts +0 -1288
- package/dist/InMemoryWorkflowCatalog-DNBFdK-x.d.cts +0 -1120
- package/dist/InMemoryWorkflowCatalog-DQBkCzb7.cjs +0 -24
- package/dist/InMemoryWorkflowCatalog-DQBkCzb7.cjs.map +0 -1
- package/dist/InMemoryWorkflowCatalog-DS4-eX6i.d.cts +0 -1118
- package/dist/InMemoryWorkflowCatalog-DdVfy8MY.d.ts +0 -12
- package/dist/InMemoryWorkflowCatalog-DeVZu3g8.d.ts +0 -12
- package/dist/InMemoryWorkflowCatalog-GxkQjvt5.d.ts +0 -1200
- package/dist/InMemoryWorkflowCatalog-qaVRn1Lc.d.cts +0 -1115
- package/dist/InMemoryWorkflowCatalog-z1aIT4TC.d.cts +0 -12
- package/dist/InMemoryWorkflowRegistry-BBuOovLL.d.ts +0 -1007
- package/dist/InMemoryWorkflowRegistry-BIFnSl3k.d.ts +0 -1201
- package/dist/InMemoryWorkflowRegistry-BnGilthz.d.ts +0 -1137
- package/dist/InMemoryWorkflowRegistry-CEp5I8No.d.ts +0 -1146
- package/dist/InMemoryWorkflowRegistry-CHyMB9jW.d.cts +0 -976
- package/dist/InMemoryWorkflowRegistry-CUN7K86m.d.cts +0 -1061
- package/dist/InMemoryWorkflowRegistry-CVfHyELh.d.cts +0 -971
- package/dist/InMemoryWorkflowRegistry-CXXJrwAr.d.cts +0 -1052
- package/dist/InMemoryWorkflowRegistry-DDGfPTJy.d.ts +0 -1013
- package/dist/InMemoryWorkflowRegistry-DnYSOoT5.d.ts +0 -1120
- package/dist/InMemoryWorkflowRegistry-Dp5GiFF2.d.cts +0 -1035
- package/dist/InMemoryWorkflowRegistry-DypDBeOw.d.cts +0 -1116
- package/dist/InMemoryWorkflowRegistry-SzwJCAxT.d.ts +0 -1012
- package/dist/InMemoryWorkflowRegistry-jupvqyGc.d.cts +0 -977
- package/dist/InMemoryWorkflowRegistry-rAdKVWYT.d.ts +0 -1117
- package/dist/InProcessRetryRunner-BBNPkXjy.d.cts +0 -292
- package/dist/PersistedWorkflowSnapshotFactory-7RkOL3Kg.d.ts +0 -14
- package/dist/PersistedWorkflowSnapshotFactory-BmANa46W.cjs +0 -141
- package/dist/PersistedWorkflowSnapshotFactory-BmANa46W.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Bwb_etSt.js +0 -118
- package/dist/PersistedWorkflowSnapshotFactory-Bwb_etSt.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-CRkKGNV6.js +0 -123
- package/dist/PersistedWorkflowSnapshotFactory-CRkKGNV6.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-CZolnGy5.js +0 -101
- package/dist/PersistedWorkflowSnapshotFactory-CZolnGy5.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Ca_oysOv.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-Ca_oysOv.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-CqIcShnX.js +0 -103
- package/dist/PersistedWorkflowSnapshotFactory-CqIcShnX.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-D-tBk4_G.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-D-tBk4_G.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-D4cXl2e2.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-D4cXl2e2.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DINoP12r.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-DINoP12r.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DJAwSuHU.js +0 -103
- package/dist/PersistedWorkflowSnapshotFactory-DJAwSuHU.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DSUjVCcf.cjs +0 -131
- package/dist/PersistedWorkflowSnapshotFactory-DSUjVCcf.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-DdHuhkDb.cjs +0 -107
- package/dist/PersistedWorkflowSnapshotFactory-DdHuhkDb.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Dqc6NHis.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-Dqc6NHis.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Dxa2dSrw.cjs +0 -130
- package/dist/PersistedWorkflowSnapshotFactory-Dxa2dSrw.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Ep79Ah1G.js +0 -123
- package/dist/PersistedWorkflowSnapshotFactory-Ep79Ah1G.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-GyLfRuiJ.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-GyLfRuiJ.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-HTpBsBzn.js +0 -102
- package/dist/PersistedWorkflowSnapshotFactory-HTpBsBzn.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-LVmaaf3t.cjs +0 -141
- package/dist/PersistedWorkflowSnapshotFactory-LVmaaf3t.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-PZCpo2ZS.js +0 -119
- package/dist/PersistedWorkflowSnapshotFactory-PZCpo2ZS.js.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-UjQ1SJev.cjs +0 -109
- package/dist/PersistedWorkflowSnapshotFactory-UjQ1SJev.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Y8kCrhcy.cjs +0 -109
- package/dist/PersistedWorkflowSnapshotFactory-Y8kCrhcy.cjs.map +0 -1
- package/dist/PersistedWorkflowSnapshotFactory-Z_nB-fmB.cjs +0 -108
- package/dist/PersistedWorkflowSnapshotFactory-Z_nB-fmB.cjs.map +0 -1
- package/dist/RunIntentService-1EE6N8ZL.cjs +0 -963
- package/dist/RunIntentService-1EE6N8ZL.cjs.map +0 -1
- package/dist/RunIntentService-2ivFmNQh.cjs.map +0 -1
- package/dist/RunIntentService-B0sUL5q-.js +0 -761
- package/dist/RunIntentService-B0sUL5q-.js.map +0 -1
- package/dist/RunIntentService-BFVbsOcg.js.map +0 -1
- package/dist/RunIntentService-BsBOwpVN.cjs +0 -1051
- package/dist/RunIntentService-BsBOwpVN.cjs.map +0 -1
- package/dist/RunIntentService-CSk3ETyn.js +0 -858
- package/dist/RunIntentService-CSk3ETyn.js.map +0 -1
- package/dist/RunIntentService-Ckn3u3tA.d.cts +0 -326
- package/dist/RunIntentService-DEo6GTTo.d.cts +0 -289
- package/dist/RunIntentService-DKrGtL0B.js +0 -782
- package/dist/RunIntentService-DKrGtL0B.js.map +0 -1
- package/dist/RunIntentService-DNOJc1R7.cjs +0 -942
- package/dist/RunIntentService-DNOJc1R7.cjs.map +0 -1
- package/dist/RunIntentService-Dq3pV53j.d.cts +0 -289
- package/dist/WorkflowSnapshotCodec-C3fuuS_R.d.cts +0 -22
- package/dist/WorkflowSnapshotCodec-CUudUo6f.js +0 -123
- package/dist/WorkflowSnapshotCodec-CUudUo6f.js.map +0 -1
- package/dist/WorkflowSnapshotCodec-CuCPQZTc.cjs +0 -129
- package/dist/WorkflowSnapshotCodec-CuCPQZTc.cjs.map +0 -1
- package/dist/WorkflowSnapshotCodec-DLiXQNvV.d.cts +0 -22
- package/dist/WorkflowSnapshotCodec-DNtdrZ7l.d.cts +0 -22
- package/dist/credentialTypes-B5h3dI7r.d.cts +0 -1107
- package/dist/credentialTypes-B9okPCVo.d.cts +0 -963
- package/dist/credentialTypes-BFL70rgZ.d.cts +0 -964
- package/dist/credentialTypes-BGkh1O07.d.ts +0 -1010
- package/dist/credentialTypes-BNLi4Q7u.d.ts +0 -1030
- package/dist/credentialTypes-CeSoZGj3.d.cts +0 -994
- package/dist/credentialTypes-CpHc32Ig.d.cts +0 -984
- package/dist/credentialTypes-D0m7MQQl.d.cts +0 -1107
- package/dist/credentialTypes-D4nL2sUd.d.ts +0 -1000
- package/dist/credentialTypes-DBYK2Qbu.d.ts +0 -999
- package/dist/credentialTypes-DMJVy0r1.d.ts +0 -1000
- package/dist/credentialTypes-DhUAjYQp.d.ts +0 -1020
- package/dist/credentialTypes-gGITj5KL.d.cts +0 -964
- package/dist/credentialTypes-r3KVBJBE.d.cts +0 -974
- package/dist/diTokens-ClO27tjK.cjs +0 -34
- package/dist/diTokens-ClO27tjK.cjs.map +0 -1
- package/dist/diTokens-CoHBkwG6.js +0 -28
- package/dist/diTokens-CoHBkwG6.js.map +0 -1
- package/dist/index-6Doxmfnd.d.ts +0 -857
- package/dist/index-AZ72Ej-K.d.ts +0 -920
- package/dist/index-BEk9V-q-.d.ts +0 -667
- package/dist/index-Bjt7_7oS.d.ts +0 -1192
- package/dist/index-CFGxsYXy.d.ts +0 -708
- package/dist/index-C_u8xFgn.d.ts +0 -690
- package/dist/index-CpbfsvOJ.d.ts +0 -1192
- package/dist/index-CsReNJN_.d.ts +0 -859
- package/dist/index-D5iNnXaW.d.ts +0 -667
- package/dist/index-DD_Eft1q.d.ts +0 -708
- package/dist/index-DiSYUe0G.d.ts +0 -1192
- package/dist/index-gIcH60sp.d.ts +0 -674
- package/dist/runtime-BIvd-1JA.cjs +0 -4112
- package/dist/runtime-BIvd-1JA.cjs.map +0 -1
- package/dist/runtime-D3eWKSQK.cjs +0 -3986
- package/dist/runtime-D3eWKSQK.cjs.map +0 -1
- package/dist/runtime-Dvp4xAjg.js +0 -3799
- package/dist/runtime-Dvp4xAjg.js.map +0 -1
- package/dist/runtime-vc76SSAa.js +0 -3685
- package/dist/runtime-vc76SSAa.js.map +0 -1
- package/dist/runtimeTypes-BK0b8SaG.d.cts +0 -884
- package/dist/runtimeTypes-CoYZkYQq.d.cts +0 -851
- package/dist/runtimeTypes-D-Pm0Uas.d.cts +0 -849
- package/dist/types-Cb5UK7Y6.d.ts +0 -857
|
@@ -707,6 +707,9 @@ interface NodeExecutionScheduler {
|
|
|
707
707
|
}>;
|
|
708
708
|
cancel?(receiptId: string): Promise<void>;
|
|
709
709
|
}
|
|
710
|
+
interface NodeExecutionRequestHandler {
|
|
711
|
+
handleNodeExecutionRequest(request: NodeExecutionRequest): Promise<void>;
|
|
712
|
+
}
|
|
710
713
|
type NodeActivationRequestBase = Readonly<{
|
|
711
714
|
runId: RunId;
|
|
712
715
|
activationId: NodeActivationId;
|
|
@@ -791,6 +794,7 @@ interface EngineDeps {
|
|
|
791
794
|
activationScheduler: NodeActivationScheduler;
|
|
792
795
|
runDataFactory: RunDataFactory;
|
|
793
796
|
executionContextFactory: ExecutionContextFactory;
|
|
797
|
+
nodeExecutor: NodeExecutor;
|
|
794
798
|
eventBus?: RunEventBus;
|
|
795
799
|
tokenRegistry: PersistedWorkflowTokenRegistryLike;
|
|
796
800
|
workflowNodeInstanceFactory: WorkflowNodeInstanceFactory;
|
|
@@ -1336,5 +1340,5 @@ declare class InMemoryLiveWorkflowRepository implements LiveWorkflowRepository {
|
|
|
1336
1340
|
get(workflowId: WorkflowId): WorkflowDefinition | undefined;
|
|
1337
1341
|
}
|
|
1338
1342
|
//#endregion
|
|
1339
|
-
export { JsonArray as $,
|
|
1340
|
-
//# sourceMappingURL=InMemoryLiveWorkflowRepository-
|
|
1343
|
+
export { JsonArray as $, ConnectionInvocationRecord as $n, RunEventBus as $r, BinaryBody as $t, CredentialJsonRecord as A, TriggerNode as An, WorkflowExecutionRepository as Ar, TriggerNodeOutputJson as At, CredentialTypeId as B, WorkflowSnapshotFactory as Bn, inject as Br, WorkflowNodeConnection as Bt, CredentialBindingKey as C, NodeExecutionScheduler as Cn, RunStateResetRequest as Cr, RunDataSnapshot as Ct, CredentialHealthTester as D, PersistedTriggerSetupState as Dn, WebhookRunResult as Dr, RunnableNodeInputJson as Dt, CredentialHealthStatus as E, NodeResolver as En, RunSummary as Er, RunnableNodeConfig as Et, CredentialSessionFactoryArgs as F, TriggerTestItemsContext as Fn, Lifecycle as Fr, WorkflowErrorHandler as Ft, BinaryAttachment as G, WebhookInvocationMatch as Gn, predicateAwareClassFactory as Gr, WorkflowStoragePolicyResolver as Gt, CredentialUnboundError as H, HttpMethod as Hn, injectable as Hr, WorkflowPrunePolicySpec as Ht, CredentialSessionService as I, WorkflowNodeInstanceFactory as In, RegistrationOptions as Ir, WorkflowErrorHandlerSpec as It, ExecutionMode as J, WebhookTriggerRoutingDiagnostics as Jn, CoreTokens as Jr, runnableNodeInputType as Jt, BinaryPreviewKind as K, WebhookTriggerMatcher as Kn, registry as Kr, WorkflowStoragePolicySpec as Kt, CredentialSetupStatus as L, WorkflowRepository as Ln, TypeToken as Lr, WorkflowGraph as Lt, CredentialOAuth2AuthDefinition as M, TriggerSetupContext as Mn, DependencyContainer as Mr, UpstreamRefPlaceholder as Mt, CredentialRequirement as N, TriggerSetupStateFor as Nn, Disposable as Nr, WorkflowDefinition as Nt, CredentialInstanceId as O, TestableTriggerNode as On, WorkflowExecutionListingRepository as Or, RunnableNodeOutputJson as Ot, CredentialSessionFactory as P, TriggerSetupStateRepository as Pn, InjectionToken as Pr, WorkflowErrorContext as Pt, Items as Q, ConnectionInvocationId as Qn, RunEvent as Qr, BinaryAttachmentCreateRequest as Qt, CredentialType as R, WorkflowRunnerResolver as Rn, container as Rr, WorkflowGraphFactory as Rt, CredentialBinding as S, NodeExecutionRequestHandler as Sn, RunResult as Sr, RunDataFactory as St, CredentialHealth as T, NodeExecutor as Tn, RunStopCondition as Tr, RunIdFactory as Tt, OAuth2ProviderFromPublicConfig as U, TriggerInstanceId as Un, instanceCachingFactory as Ur, WorkflowStoragePolicyDecisionArgs as Ut, CredentialTypeRegistry as V, WorkflowSnapshotResolver as Vn, injectAll as Vr, WorkflowPolicyRuntimeDefaults as Vt, ActivationIdFactory as W, WebhookControlSignal as Wn, instancePerContainerCachingFactory as Wr, WorkflowStoragePolicyMode as Wt, Item as X, WorkflowActivationPolicy as Xn, EngineExecutionLimitsPolicy as Xr, triggerNodeOutputType as Xt, InputPortKey as Y, AllWorkflowsActiveWorkflowActivationPolicy as Yn, ENGINE_EXECUTION_LIMITS_DEFAULTS as Yr, runnableNodeOutputType as Yt, ItemBinary as Z, ConnectionInvocationAppendArgs as Zn, EngineExecutionLimitsPolicyConfig as Zr, triggerNodeSetupStateType as Zt, StepSequenceOutput as _, NodeActivationRequestBase as _n, RunCurrentState as _r, OutputPortKey as _t, WorkflowExecutableNodeClassifier as a, FixedRetryPolicySpec as ai, EngineDeps as an, NodeExecutionStatus as ar, NodeConfigBase as at, AnyCredentialType as b, NodeExecutionContext as bn, RunPruneCandidate as br, PersistedRunPolicySnapshot as bt, WorkflowBuilder as c, ExecutionBinaryService as cn, PersistedMutableNodeState as cr, NodeErrorHandler as ct, AnyRunnableNodeConfig as d, LiveWorkflowRepository as dn, PersistedRunState as dr, NodeId as dt, RunEventSubscription as ei, BinaryStorage as en, CurrentStateExecutionRequest as er, JsonObject as et, AnyTriggerNodeConfig as f, MultiInputNode as fn, PersistedWorkflowSnapshot as fr, NodeKind as ft, BranchStepsArg as g, NodeActivationRequest as gn, RunCompletionNotifier as gr, NodeSchedulerDecision as gt, BranchOutputGuard as h, NodeActivationReceipt as hn, PinnedNodeOutputsByPort as hr, NodeRef as ht, WorkflowExecutableNodeClassifierFactory as i, ExponentialRetryPolicySpec as ii, BinaryStorageWriteResult as in, NodeExecutionSnapshot as ir, NodeActivationId as it, CredentialMaterialSourceKind as j, TriggerRuntimeDiagnostics as jn, Container as jr, TriggerNodeSetupState as jt, CredentialInstanceRecord as k, TriggerCleanupHandle as kn, WorkflowExecutionPruneRepository as kr, TriggerNodeConfig as kt, ChainCursor as l, ExecutionContext as ln, PersistedMutableRunState as lr, NodeErrorHandlerArgs as lt, BranchMoreArgs as m, NodeActivationContinuation as mn, PersistedWorkflowTokenRegistryLike as mr, NodeOutputs as mt, WorkflowSnapshotCodec as n, RetryPolicy as ni, BinaryStorageStatResult as nn, ExecutionFrontierPlan as nr, JsonValue as nt, ConnectionNodeIdFactory as o, NoneRetryPolicySpec as oi, EngineHost as on, NodeInputsByPort as or, NodeConnectionName as ot, BooleanWhenOverloads as p, Node as pn, PersistedWorkflowSnapshotNode as pr, NodeOffloadPolicy as pt, Edge as q, WebhookTriggerResolution as qn, singleton as qr, branchRef as qt, DefaultWorkflowGraphFactory as r, NoRetryPolicy as ri, BinaryStorageWriteRequest as rn, NodeExecutionError as rr, MutableRunData as rt, ConnectionInvocationIdFactory as s, RetryPolicySpec as si, ExecutableTriggerNode as sn, PendingNodeExecution as sr, NodeDefinition as st, InMemoryLiveWorkflowRepository as t, ExpRetryPolicy as ti, BinaryStorageReadResult as tn, EngineRunCounters as tr, JsonPrimitive as tt, WhenBuilder as u, ExecutionContextFactory as un, PersistedRunControlState as ur, NodeErrorHandlerSpec as ut, ValidStepSequence as v, NodeActivationScheduler as vn, RunEventPublisherDeps as vr, PairedItemRef as vt, CredentialFieldSchema as w, NodeExecutionStatePublisher as wn, RunStatus as wr, RunId as wt, CredentialAuthDefinition as x, NodeExecutionRequest as xn, RunQueueEntry as xr, PersistedTokenId as xt, RunFinishedAtFactory as y, NodeBinaryAttachmentService as yn, RunExecutionOptions as yr, ParentExecutionRef as yt, CredentialTypeDefinition as z, WorkflowRunnerService as zn, delay as zr, WorkflowId as zt };
|
|
1344
|
+
//# sourceMappingURL=InMemoryLiveWorkflowRepository-DxoualoC.d.ts.map
|
|
@@ -678,6 +678,9 @@ interface NodeExecutionScheduler {
|
|
|
678
678
|
}>;
|
|
679
679
|
cancel?(receiptId: string): Promise<void>;
|
|
680
680
|
}
|
|
681
|
+
interface NodeExecutionRequestHandler {
|
|
682
|
+
handleNodeExecutionRequest(request: NodeExecutionRequest): Promise<void>;
|
|
683
|
+
}
|
|
681
684
|
type NodeActivationRequestBase = Readonly<{
|
|
682
685
|
runId: RunId;
|
|
683
686
|
activationId: NodeActivationId;
|
|
@@ -762,6 +765,7 @@ interface EngineDeps {
|
|
|
762
765
|
activationScheduler: NodeActivationScheduler;
|
|
763
766
|
runDataFactory: RunDataFactory;
|
|
764
767
|
executionContextFactory: ExecutionContextFactory;
|
|
768
|
+
nodeExecutor: NodeExecutor;
|
|
765
769
|
eventBus?: RunEventBus;
|
|
766
770
|
tokenRegistry: PersistedWorkflowTokenRegistryLike;
|
|
767
771
|
workflowNodeInstanceFactory: WorkflowNodeInstanceFactory;
|
|
@@ -1164,5 +1168,5 @@ declare class InMemoryLiveWorkflowRepository implements LiveWorkflowRepository {
|
|
|
1164
1168
|
get(workflowId: WorkflowId): WorkflowDefinition | undefined;
|
|
1165
1169
|
}
|
|
1166
1170
|
//#endregion
|
|
1167
|
-
export { OutputPortKey as $,
|
|
1168
|
-
//# sourceMappingURL=InMemoryLiveWorkflowRepository-
|
|
1171
|
+
export { OutputPortKey as $, RunCurrentState as $n, NodeActivationRequestBase as $t, ExecutionMode as A, WebhookTriggerRoutingDiagnostics as An, CoreTokens as Ar, runnableNodeInputType as At, NodeActivationId as B, NodeExecutionSnapshot as Bn, RetryPolicySpec as Br, BinaryStorageWriteResult as Bt, CredentialTypeRegistry as C, WorkflowSnapshotResolver as Cn, injectAll as Cr, WorkflowPolicyRuntimeDefaults as Ct, BinaryAttachment as D, WebhookInvocationMatch as Dn, predicateAwareClassFactory as Dr, WorkflowStoragePolicyResolver as Dt, ActivationIdFactory as E, WebhookControlSignal as En, instancePerContainerCachingFactory as Er, WorkflowStoragePolicyMode as Et, JsonArray as F, ConnectionInvocationRecord as Fn, RunEventBus as Fr, BinaryBody as Ft, NodeErrorHandlerArgs as G, PersistedMutableRunState as Gn, ExecutionContext as Gt, NodeConnectionName as H, NodeInputsByPort as Hn, EngineHost as Ht, JsonObject as I, CurrentStateExecutionRequest as In, RunEventSubscription as Ir, BinaryStorage as It, NodeKind as J, PersistedWorkflowSnapshot as Jn, MultiInputNode as Jt, NodeErrorHandlerSpec as K, PersistedRunControlState as Kn, ExecutionContextFactory as Kt, JsonPrimitive as L, EngineRunCounters as Ln, ExponentialRetryPolicySpec as Lr, BinaryStorageReadResult as Lt, Item as M, WorkflowActivationPolicy as Mn, EngineExecutionLimitsPolicy as Mr, triggerNodeOutputType as Mt, ItemBinary as N, ConnectionInvocationAppendArgs as Nn, EngineExecutionLimitsPolicyConfig as Nr, triggerNodeSetupStateType as Nt, BinaryPreviewKind as O, WebhookTriggerMatcher as On, registry as Or, WorkflowStoragePolicySpec as Ot, Items as P, ConnectionInvocationId as Pn, RunEvent as Pr, BinaryAttachmentCreateRequest as Pt, NodeSchedulerDecision as Q, RunCompletionNotifier as Qn, NodeActivationRequest as Qt, JsonValue as R, ExecutionFrontierPlan as Rn, FixedRetryPolicySpec as Rr, BinaryStorageStatResult as Rt, CredentialTypeId as S, WorkflowSnapshotFactory as Sn, inject as Sr, WorkflowNodeConnection as St, OAuth2ProviderFromPublicConfig as T, TriggerInstanceId as Tn, instanceCachingFactory as Tr, WorkflowStoragePolicyDecisionArgs as Tt, NodeDefinition as U, PendingNodeExecution as Un, ExecutableTriggerNode as Ut, NodeConfigBase as V, NodeExecutionStatus as Vn, EngineDeps as Vt, NodeErrorHandler as W, PersistedMutableNodeState as Wn, ExecutionBinaryService as Wt, NodeOutputs as X, PersistedWorkflowTokenRegistryLike as Xn, NodeActivationContinuation as Xt, NodeOffloadPolicy as Y, PersistedWorkflowSnapshotNode as Yn, Node as Yt, NodeRef as Z, PinnedNodeOutputsByPort as Zn, NodeActivationReceipt as Zt, CredentialSessionFactoryArgs as _, TriggerTestItemsContext as _n, Lifecycle as _r, WorkflowErrorHandler as _t, CredentialBindingKey as a, NodeExecutionScheduler as an, RunStateResetRequest as ar, RunDataSnapshot as at, CredentialType as b, WorkflowRunnerResolver as bn, container as br, WorkflowGraphFactory as bt, CredentialHealthStatus as c, NodeResolver as cn, RunSummary as cr, RunnableNodeConfig as ct, CredentialInstanceRecord as d, TriggerCleanupHandle as dn, WorkflowExecutionPruneRepository as dr, TriggerNodeConfig as dt, NodeActivationScheduler as en, RunEventPublisherDeps as er, PairedItemRef as et, CredentialJsonRecord as f, TriggerNode as fn, WorkflowExecutionRepository as fr, TriggerNodeOutputJson as ft, CredentialSessionFactory as g, TriggerSetupStateRepository as gn, InjectionToken as gr, WorkflowErrorContext as gt, CredentialRequirement as h, TriggerSetupStateFor as hn, Disposable as hr, WorkflowDefinition as ht, CredentialBinding as i, NodeExecutionRequestHandler as in, RunResult as ir, RunDataFactory as it, InputPortKey as j, AllWorkflowsActiveWorkflowActivationPolicy as jn, ENGINE_EXECUTION_LIMITS_DEFAULTS as jr, runnableNodeOutputType as jt, Edge as k, WebhookTriggerResolution as kn, singleton as kr, branchRef as kt, CredentialHealthTester as l, PersistedTriggerSetupState as ln, WebhookRunResult as lr, RunnableNodeInputJson as lt, CredentialOAuth2AuthDefinition as m, TriggerSetupContext as mn, DependencyContainer as mr, UpstreamRefPlaceholder as mt, AnyCredentialType as n, NodeExecutionContext as nn, RunPruneCandidate as nr, PersistedRunPolicySnapshot as nt, CredentialFieldSchema as o, NodeExecutionStatePublisher as on, RunStatus as or, RunId as ot, CredentialMaterialSourceKind as p, TriggerRuntimeDiagnostics as pn, Container as pr, TriggerNodeSetupState as pt, NodeId as q, PersistedRunState as qn, LiveWorkflowRepository as qt, CredentialAuthDefinition as r, NodeExecutionRequest as rn, RunQueueEntry as rr, PersistedTokenId as rt, CredentialHealth as s, NodeExecutor as sn, RunStopCondition as sr, RunIdFactory as st, InMemoryLiveWorkflowRepository as t, NodeBinaryAttachmentService as tn, RunExecutionOptions as tr, ParentExecutionRef as tt, CredentialInstanceId as u, TestableTriggerNode as un, WorkflowExecutionListingRepository as ur, RunnableNodeOutputJson as ut, CredentialSessionService as v, WorkflowNodeInstanceFactory as vn, RegistrationOptions as vr, WorkflowErrorHandlerSpec as vt, CredentialUnboundError as w, HttpMethod as wn, injectable as wr, WorkflowPrunePolicySpec as wt, CredentialTypeDefinition as x, WorkflowRunnerService as xn, delay as xr, WorkflowId as xt, CredentialSetupStatus as y, WorkflowRepository as yn, TypeToken as yr, WorkflowGraph as yt, MutableRunData as z, NodeExecutionError as zn, NoneRetryPolicySpec as zr, BinaryStorageWriteRequest as zt };
|
|
1172
|
+
//# sourceMappingURL=InMemoryLiveWorkflowRepository-orY1VsWG.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as NodeActivationId, Bt as BinaryStorageWriteResult, Cn as
|
|
1
|
+
import { $n as RunCurrentState, B as NodeActivationId, Br as RetryPolicySpec, Bt as BinaryStorageWriteResult, Cn as WorkflowSnapshotResolver, D as BinaryAttachment, Dn as WebhookInvocationMatch, Ft as BinaryBody, Gt as ExecutionContext, Hn as NodeInputsByPort, In as CurrentStateExecutionRequest, It as BinaryStorage, Kt as ExecutionContextFactory, Lt as BinaryStorageReadResult, On as WebhookTriggerMatcher, P as Items, Rt as BinaryStorageStatResult, Wt as ExecutionBinaryService, X as NodeOutputs, Xn as PersistedWorkflowTokenRegistryLike, Xt as NodeActivationContinuation, at as RunDataSnapshot, fr as WorkflowExecutionRepository, ht as WorkflowDefinition, in as NodeExecutionRequestHandler, ir as RunResult, it as RunDataFactory, kn as WebhookTriggerResolution, lr as WebhookRunResult, nn as NodeExecutionContext, on as NodeExecutionStatePublisher, ot as RunId, q as NodeId, qt as LiveWorkflowRepository, rn as NodeExecutionRequest, sr as RunStopCondition, tn as NodeBinaryAttachmentService, tr as RunExecutionOptions, tt as ParentExecutionRef, v as CredentialSessionService, wn as HttpMethod, xt as WorkflowId, yn as WorkflowRepository, z as MutableRunData } from "./InMemoryLiveWorkflowRepository-orY1VsWG.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/orchestration/Engine.d.ts
|
|
4
4
|
interface EngineTriggerRuntime {
|
|
@@ -53,6 +53,9 @@ interface EngineRunContinuationService {
|
|
|
53
53
|
}>>;
|
|
54
54
|
waitForWebhookResponse(runId: RunId): Promise<WebhookRunResult>;
|
|
55
55
|
}
|
|
56
|
+
interface EngineNodeExecutionRequestHandler {
|
|
57
|
+
handleNodeExecutionRequest(request: NodeExecutionRequest): Promise<void>;
|
|
58
|
+
}
|
|
56
59
|
interface EngineFacadeDeps {
|
|
57
60
|
liveWorkflowRepository: LiveWorkflowRepository;
|
|
58
61
|
tokenRegistry: PersistedWorkflowTokenRegistryLike;
|
|
@@ -61,13 +64,14 @@ interface EngineFacadeDeps {
|
|
|
61
64
|
triggerRuntime: EngineTriggerRuntime;
|
|
62
65
|
runStartService: EngineRunStartService;
|
|
63
66
|
runContinuationService: EngineRunContinuationService;
|
|
67
|
+
nodeExecutionRequestHandler: EngineNodeExecutionRequestHandler;
|
|
64
68
|
}
|
|
65
69
|
/**
|
|
66
70
|
* Runtime facade for orchestration, continuation, triggers, and webhook routing.
|
|
67
71
|
* Prefer {@link import("../intents/RunIntentService").RunIntentService} for host/HTTP invocation boundaries.
|
|
68
72
|
* The class token is exported from `@codemation/core/bootstrap` (not the main `@codemation/core` barrel).
|
|
69
73
|
*/
|
|
70
|
-
declare class Engine implements NodeActivationContinuation {
|
|
74
|
+
declare class Engine implements NodeActivationContinuation, NodeExecutionRequestHandler {
|
|
71
75
|
private readonly deps;
|
|
72
76
|
constructor(deps: EngineFacadeDeps);
|
|
73
77
|
loadWorkflows(workflows: ReadonlyArray<WorkflowDefinition>): void;
|
|
@@ -127,6 +131,7 @@ declare class Engine implements NodeActivationContinuation {
|
|
|
127
131
|
status: "completed" | "failed";
|
|
128
132
|
}>>;
|
|
129
133
|
waitForWebhookResponse(runId: RunId): Promise<WebhookRunResult>;
|
|
134
|
+
handleNodeExecutionRequest(request: NodeExecutionRequest): Promise<void>;
|
|
130
135
|
}
|
|
131
136
|
//#endregion
|
|
132
137
|
//#region src/execution/CredentialResolverFactory.d.ts
|
|
@@ -271,4 +276,4 @@ declare class RunIntentService {
|
|
|
271
276
|
}
|
|
272
277
|
//#endregion
|
|
273
278
|
export { UnavailableBinaryStorage as a, DefaultAsyncSleeper as c, Engine as d, DefaultExecutionBinaryService as i, AsyncSleeper as l, InMemoryRunDataFactory as n, InProcessRetryRunner as o, InMemoryBinaryStorage as r, DefaultExecutionContextFactory as s, RunIntentService as t, CredentialResolverFactory as u };
|
|
274
|
-
//# sourceMappingURL=RunIntentService-
|
|
279
|
+
//# sourceMappingURL=RunIntentService-ByuUYsAL.d.cts.map
|
|
@@ -702,12 +702,17 @@ var NodeActivationRequestComposer = class {
|
|
|
702
702
|
this.credentialResolverFactory = credentialResolverFactory;
|
|
703
703
|
}
|
|
704
704
|
createSingleFromDefinition(args) {
|
|
705
|
-
|
|
706
|
-
|
|
705
|
+
return this.createSingleFromDefinitionWithActivation({
|
|
706
|
+
...args,
|
|
707
|
+
activationId: this.activationIdFactory.makeActivationId()
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
createSingleFromDefinitionWithActivation(args) {
|
|
711
|
+
const ctx = this.createNodeExecutionContext(args, args.definition, args.activationId);
|
|
707
712
|
return {
|
|
708
713
|
kind: "single",
|
|
709
714
|
runId: args.runId,
|
|
710
|
-
activationId,
|
|
715
|
+
activationId: args.activationId,
|
|
711
716
|
workflowId: args.workflowId,
|
|
712
717
|
nodeId: args.definition.id,
|
|
713
718
|
parent: args.parent,
|
|
@@ -3128,4 +3133,4 @@ var RunIntentService = class {
|
|
|
3128
3133
|
|
|
3129
3134
|
//#endregion
|
|
3130
3135
|
export { instancePerContainerCachingFactory as $, InProcessRetryRunnerFactory as A, node as B, PersistedWorkflowTokenRegistry as C, NodeExecutorFactory as D, MissingRuntimeExecutionMarker as E, ActivationEnqueueService as F, PersistedRuntimeTypeNameResolver as G, InjectableRuntimeDecoratorComposer as H, DefaultExecutionBinaryService as I, delay as J, NodeEventPublisher as K, UnavailableBinaryStorage as L, DefaultExecutionContextFactory as M, DefaultAsyncSleeper as N, NodeExecutor as O, CredentialResolverFactory as P, instanceCachingFactory as Q, chatModel as R, WorkflowSnapshotResolver as S, MissingRuntimeTriggerToken as T, PersistedRuntimeTypeMetadataStore as U, tool as V, StackTraceCallSitePathResolver as W, injectAll as X, inject as Y, injectable as Z, RunStateSemantics as _, ENGINE_EXECUTION_LIMITS_DEFAULTS as a, WorkflowExecutableNodeClassifier as at, NodeInstanceFactoryFactory as b, InlineDrivingScheduler as c, ConfigDrivenOffloadPolicy as d, predicateAwareClassFactory as et, RunStartService as f, WorkflowRunExecutionContextFactory as g, WorkflowTopology as h, InMemoryBinaryStorage as i, WorkflowExecutableNodeClassifierFactory as it, InProcessRetryRunner as j, NodeActivationRequestComposer as k, HintOnlyOffloadPolicy as l, RunContinuationService as m, RunFinishedAtFactory as n, singleton as nt, EngineExecutionLimitsPolicy as o, ConnectionNodeIdFactory as ot, RunPolicySnapshotFactory as p, container as q, InMemoryRunDataFactory as r, CoreTokens as rt, LocalOnlyScheduler as s, RunIntentService as t, registry as tt, DefaultDrivingScheduler as u, PersistedRunStateTerminalBuilder as v, MissingRuntimeFallbacks as w, NodeInstanceFactory as x, NodeRunStateWriterFactory as y, getPersistedRuntimeTypeMetadata as z };
|
|
3131
|
-
//# sourceMappingURL=RunIntentService-
|
|
3136
|
+
//# sourceMappingURL=RunIntentService-CYnn140t.js.map
|