@codemation/core 0.0.1
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/README.md +30 -0
- package/dist/EngineExecutionLimitsPolicy-8MEFIYx1.d.cts +160 -0
- package/dist/EngineExecutionLimitsPolicy-BWAXW9D6.d.cts +160 -0
- package/dist/EngineExecutionLimitsPolicy-Bp8PS1Ss.d.cts +159 -0
- package/dist/EngineExecutionLimitsPolicy-CLxcN-D2.d.ts +159 -0
- package/dist/EngineExecutionLimitsPolicy-DZXuix51.d.ts +160 -0
- package/dist/EngineExecutionLimitsPolicy-Gfz6ngFd.d.ts +160 -0
- package/dist/EngineFactory-CBnntY3J.cjs +3152 -0
- package/dist/EngineFactory-CBnntY3J.cjs.map +1 -0
- package/dist/EngineFactory-Cwn3R2YA.js +3087 -0
- package/dist/EngineFactory-Cwn3R2YA.js.map +1 -0
- package/dist/EngineFactory-DWCnNocp.js +3063 -0
- package/dist/EngineFactory-DWCnNocp.js.map +1 -0
- package/dist/EngineFactory-DhPFou4p.cjs +3188 -0
- package/dist/EngineFactory-DhPFou4p.cjs.map +1 -0
- package/dist/EngineFactory-l_9xmBtv.cjs +3190 -0
- package/dist/EngineFactory-l_9xmBtv.cjs.map +1 -0
- package/dist/EngineFactory-w-aOWuqh.js +3089 -0
- package/dist/EngineFactory-w-aOWuqh.js.map +1 -0
- package/dist/InMemoryLiveWorkflowRepository-1J9MHN_I.js +18 -0
- package/dist/InMemoryLiveWorkflowRepository-1J9MHN_I.js.map +1 -0
- package/dist/InMemoryLiveWorkflowRepository-BTzHpQ6e.cjs +151 -0
- package/dist/InMemoryLiveWorkflowRepository-BTzHpQ6e.cjs.map +1 -0
- package/dist/InMemoryLiveWorkflowRepository-BoLNnVLg.js +139 -0
- package/dist/InMemoryLiveWorkflowRepository-BoLNnVLg.js.map +1 -0
- package/dist/InMemoryLiveWorkflowRepository-CULNqv96.d.ts +1300 -0
- package/dist/InMemoryLiveWorkflowRepository-D6eiiXxF.d.cts +1168 -0
- package/dist/InMemoryLiveWorkflowRepository-D7l8cjdZ.d.cts +1130 -0
- package/dist/InMemoryLiveWorkflowRepository-DL7LmC9S.d.ts +1340 -0
- package/dist/InMemoryLiveWorkflowRepository-jnv-OnOP.d.ts +1300 -0
- package/dist/InMemoryLiveWorkflowRepository-xny1_Z6i.cjs +24 -0
- package/dist/InMemoryLiveWorkflowRepository-xny1_Z6i.cjs.map +1 -0
- package/dist/InMemoryLiveWorkflowRepository-xr7b4kvi.d.ts +1338 -0
- package/dist/InMemoryWorkflowCatalog-BIdFpwbK.d.ts +1205 -0
- package/dist/InMemoryWorkflowCatalog-BW00_3N3.d.cts +12 -0
- package/dist/InMemoryWorkflowCatalog-BiYHGoPw.cjs +24 -0
- package/dist/InMemoryWorkflowCatalog-BiYHGoPw.cjs.map +1 -0
- package/dist/InMemoryWorkflowCatalog-BrG0ApMO.d.cts +1115 -0
- package/dist/InMemoryWorkflowCatalog-BzrAr--Y.js +139 -0
- package/dist/InMemoryWorkflowCatalog-BzrAr--Y.js.map +1 -0
- package/dist/InMemoryWorkflowCatalog-C-EJlJ7y.d.cts +1120 -0
- package/dist/InMemoryWorkflowCatalog-C4482bpw.cjs +24 -0
- package/dist/InMemoryWorkflowCatalog-C4482bpw.cjs.map +1 -0
- package/dist/InMemoryWorkflowCatalog-CZ0kZpOv.d.ts +1289 -0
- package/dist/InMemoryWorkflowCatalog-C_ACeLyW.d.cts +1119 -0
- package/dist/InMemoryWorkflowCatalog-CiHWIu5E.d.cts +12 -0
- package/dist/InMemoryWorkflowCatalog-CkH7gkya.js +18 -0
- package/dist/InMemoryWorkflowCatalog-CkH7gkya.js.map +1 -0
- package/dist/InMemoryWorkflowCatalog-CnpZVJM9.d.ts +1205 -0
- package/dist/InMemoryWorkflowCatalog-Cu68S8YR.js +18 -0
- package/dist/InMemoryWorkflowCatalog-Cu68S8YR.js.map +1 -0
- package/dist/InMemoryWorkflowCatalog-D2w9nMj2.cjs +151 -0
- package/dist/InMemoryWorkflowCatalog-D2w9nMj2.cjs.map +1 -0
- package/dist/InMemoryWorkflowCatalog-D5eMxEf7.js +18 -0
- package/dist/InMemoryWorkflowCatalog-D5eMxEf7.js.map +1 -0
- package/dist/InMemoryWorkflowCatalog-D5nCp2yZ.d.ts +1267 -0
- package/dist/InMemoryWorkflowCatalog-DIq0bjqN.d.ts +12 -0
- package/dist/InMemoryWorkflowCatalog-DLgaEaw_.d.ts +1288 -0
- package/dist/InMemoryWorkflowCatalog-DNBFdK-x.d.cts +1120 -0
- package/dist/InMemoryWorkflowCatalog-DQBkCzb7.cjs +24 -0
- package/dist/InMemoryWorkflowCatalog-DQBkCzb7.cjs.map +1 -0
- package/dist/InMemoryWorkflowCatalog-DS4-eX6i.d.cts +1118 -0
- package/dist/InMemoryWorkflowCatalog-DdVfy8MY.d.ts +12 -0
- package/dist/InMemoryWorkflowCatalog-DeVZu3g8.d.ts +12 -0
- package/dist/InMemoryWorkflowCatalog-GxkQjvt5.d.ts +1200 -0
- package/dist/InMemoryWorkflowCatalog-qaVRn1Lc.d.cts +1115 -0
- package/dist/InMemoryWorkflowCatalog-z1aIT4TC.d.cts +12 -0
- package/dist/InMemoryWorkflowRegistry-BBuOovLL.d.ts +1007 -0
- package/dist/InMemoryWorkflowRegistry-BIFnSl3k.d.ts +1201 -0
- package/dist/InMemoryWorkflowRegistry-BnGilthz.d.ts +1137 -0
- package/dist/InMemoryWorkflowRegistry-CEp5I8No.d.ts +1146 -0
- package/dist/InMemoryWorkflowRegistry-CHyMB9jW.d.cts +976 -0
- package/dist/InMemoryWorkflowRegistry-CUN7K86m.d.cts +1061 -0
- package/dist/InMemoryWorkflowRegistry-CVfHyELh.d.cts +971 -0
- package/dist/InMemoryWorkflowRegistry-CXXJrwAr.d.cts +1052 -0
- package/dist/InMemoryWorkflowRegistry-DDGfPTJy.d.ts +1013 -0
- package/dist/InMemoryWorkflowRegistry-DnYSOoT5.d.ts +1120 -0
- package/dist/InMemoryWorkflowRegistry-Dp5GiFF2.d.cts +1035 -0
- package/dist/InMemoryWorkflowRegistry-DypDBeOw.d.cts +1116 -0
- package/dist/InMemoryWorkflowRegistry-SzwJCAxT.d.ts +1012 -0
- package/dist/InMemoryWorkflowRegistry-jupvqyGc.d.cts +977 -0
- package/dist/InMemoryWorkflowRegistry-rAdKVWYT.d.ts +1117 -0
- package/dist/InProcessRetryRunner-BBNPkXjy.d.cts +292 -0
- package/dist/PersistedWorkflowSnapshotFactory-7RkOL3Kg.d.ts +14 -0
- package/dist/PersistedWorkflowSnapshotFactory-BmANa46W.cjs +141 -0
- package/dist/PersistedWorkflowSnapshotFactory-BmANa46W.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Bwb_etSt.js +118 -0
- package/dist/PersistedWorkflowSnapshotFactory-Bwb_etSt.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-CRkKGNV6.js +123 -0
- package/dist/PersistedWorkflowSnapshotFactory-CRkKGNV6.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-CZolnGy5.js +101 -0
- package/dist/PersistedWorkflowSnapshotFactory-CZolnGy5.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Ca_oysOv.cjs +131 -0
- package/dist/PersistedWorkflowSnapshotFactory-Ca_oysOv.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-CqIcShnX.js +103 -0
- package/dist/PersistedWorkflowSnapshotFactory-CqIcShnX.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-D-tBk4_G.js +119 -0
- package/dist/PersistedWorkflowSnapshotFactory-D-tBk4_G.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-D4cXl2e2.cjs +131 -0
- package/dist/PersistedWorkflowSnapshotFactory-D4cXl2e2.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-DINoP12r.cjs +131 -0
- package/dist/PersistedWorkflowSnapshotFactory-DINoP12r.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-DJAwSuHU.js +103 -0
- package/dist/PersistedWorkflowSnapshotFactory-DJAwSuHU.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-DSUjVCcf.cjs +131 -0
- package/dist/PersistedWorkflowSnapshotFactory-DSUjVCcf.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-DdHuhkDb.cjs +107 -0
- package/dist/PersistedWorkflowSnapshotFactory-DdHuhkDb.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Dqc6NHis.js +119 -0
- package/dist/PersistedWorkflowSnapshotFactory-Dqc6NHis.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Dxa2dSrw.cjs +130 -0
- package/dist/PersistedWorkflowSnapshotFactory-Dxa2dSrw.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Ep79Ah1G.js +123 -0
- package/dist/PersistedWorkflowSnapshotFactory-Ep79Ah1G.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-GyLfRuiJ.js +119 -0
- package/dist/PersistedWorkflowSnapshotFactory-GyLfRuiJ.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-HTpBsBzn.js +102 -0
- package/dist/PersistedWorkflowSnapshotFactory-HTpBsBzn.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-LVmaaf3t.cjs +141 -0
- package/dist/PersistedWorkflowSnapshotFactory-LVmaaf3t.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-PZCpo2ZS.js +119 -0
- package/dist/PersistedWorkflowSnapshotFactory-PZCpo2ZS.js.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-UjQ1SJev.cjs +109 -0
- package/dist/PersistedWorkflowSnapshotFactory-UjQ1SJev.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Y8kCrhcy.cjs +109 -0
- package/dist/PersistedWorkflowSnapshotFactory-Y8kCrhcy.cjs.map +1 -0
- package/dist/PersistedWorkflowSnapshotFactory-Z_nB-fmB.cjs +108 -0
- package/dist/PersistedWorkflowSnapshotFactory-Z_nB-fmB.cjs.map +1 -0
- package/dist/RunIntentService-1EE6N8ZL.cjs +963 -0
- package/dist/RunIntentService-1EE6N8ZL.cjs.map +1 -0
- package/dist/RunIntentService-2ivFmNQh.cjs +3462 -0
- package/dist/RunIntentService-2ivFmNQh.cjs.map +1 -0
- package/dist/RunIntentService-B0sUL5q-.js +761 -0
- package/dist/RunIntentService-B0sUL5q-.js.map +1 -0
- package/dist/RunIntentService-BFVbsOcg.js +3131 -0
- package/dist/RunIntentService-BFVbsOcg.js.map +1 -0
- package/dist/RunIntentService-BsBOwpVN.cjs +1051 -0
- package/dist/RunIntentService-BsBOwpVN.cjs.map +1 -0
- package/dist/RunIntentService-CSk3ETyn.js +858 -0
- package/dist/RunIntentService-CSk3ETyn.js.map +1 -0
- package/dist/RunIntentService-Ckn3u3tA.d.cts +326 -0
- package/dist/RunIntentService-DEo6GTTo.d.cts +289 -0
- package/dist/RunIntentService-DKrGtL0B.js +782 -0
- package/dist/RunIntentService-DKrGtL0B.js.map +1 -0
- package/dist/RunIntentService-DNOJc1R7.cjs +942 -0
- package/dist/RunIntentService-DNOJc1R7.cjs.map +1 -0
- package/dist/RunIntentService-Dq3pV53j.d.cts +289 -0
- package/dist/RunIntentService-NKobsfMQ.d.cts +274 -0
- package/dist/WorkflowSnapshotCodec-C3fuuS_R.d.cts +22 -0
- package/dist/WorkflowSnapshotCodec-CUudUo6f.js +123 -0
- package/dist/WorkflowSnapshotCodec-CUudUo6f.js.map +1 -0
- package/dist/WorkflowSnapshotCodec-CuCPQZTc.cjs +129 -0
- package/dist/WorkflowSnapshotCodec-CuCPQZTc.cjs.map +1 -0
- package/dist/WorkflowSnapshotCodec-DLiXQNvV.d.cts +22 -0
- package/dist/WorkflowSnapshotCodec-DNtdrZ7l.d.cts +22 -0
- package/dist/WorkflowSnapshotCodec-DTdWkoW_.d.cts +22 -0
- package/dist/bootstrap/index.cjs +1028 -0
- package/dist/bootstrap/index.cjs.map +1 -0
- package/dist/bootstrap/index.d.cts +311 -0
- package/dist/bootstrap/index.d.ts +83 -0
- package/dist/bootstrap/index.js +994 -0
- package/dist/bootstrap/index.js.map +1 -0
- package/dist/credentialTypes-B5h3dI7r.d.cts +1107 -0
- package/dist/credentialTypes-B9okPCVo.d.cts +963 -0
- package/dist/credentialTypes-BFL70rgZ.d.cts +964 -0
- package/dist/credentialTypes-BGkh1O07.d.ts +1010 -0
- package/dist/credentialTypes-BNLi4Q7u.d.ts +1030 -0
- package/dist/credentialTypes-CeSoZGj3.d.cts +994 -0
- package/dist/credentialTypes-CpHc32Ig.d.cts +984 -0
- package/dist/credentialTypes-D0m7MQQl.d.cts +1107 -0
- package/dist/credentialTypes-D4nL2sUd.d.ts +1000 -0
- package/dist/credentialTypes-DBYK2Qbu.d.ts +999 -0
- package/dist/credentialTypes-DMJVy0r1.d.ts +1000 -0
- package/dist/credentialTypes-DhUAjYQp.d.ts +1020 -0
- package/dist/credentialTypes-gGITj5KL.d.cts +964 -0
- package/dist/credentialTypes-r3KVBJBE.d.cts +974 -0
- package/dist/diTokens-ClO27tjK.cjs +34 -0
- package/dist/diTokens-ClO27tjK.cjs.map +1 -0
- package/dist/diTokens-CoHBkwG6.js +28 -0
- package/dist/diTokens-CoHBkwG6.js.map +1 -0
- package/dist/index-6Doxmfnd.d.ts +857 -0
- package/dist/index-9g6Pfe9Z.d.ts +689 -0
- package/dist/index-AZ72Ej-K.d.ts +920 -0
- package/dist/index-BEk9V-q-.d.ts +667 -0
- package/dist/index-Bjt7_7oS.d.ts +1192 -0
- package/dist/index-CFGxsYXy.d.ts +708 -0
- package/dist/index-C_u8xFgn.d.ts +690 -0
- package/dist/index-CpbfsvOJ.d.ts +1192 -0
- package/dist/index-CsReNJN_.d.ts +859 -0
- package/dist/index-D5iNnXaW.d.ts +667 -0
- package/dist/index-DD_Eft1q.d.ts +708 -0
- package/dist/index-DiSYUe0G.d.ts +1192 -0
- package/dist/index-gIcH60sp.d.ts +674 -0
- package/dist/index.cjs +520 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +345 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +412 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime-BIvd-1JA.cjs +4112 -0
- package/dist/runtime-BIvd-1JA.cjs.map +1 -0
- package/dist/runtime-D3eWKSQK.cjs +3986 -0
- package/dist/runtime-D3eWKSQK.cjs.map +1 -0
- package/dist/runtime-Dvp4xAjg.js +3799 -0
- package/dist/runtime-Dvp4xAjg.js.map +1 -0
- package/dist/runtime-vc76SSAa.js +3685 -0
- package/dist/runtime-vc76SSAa.js.map +1 -0
- package/dist/runtimeTypes-BK0b8SaG.d.cts +884 -0
- package/dist/runtimeTypes-CoYZkYQq.d.cts +851 -0
- package/dist/runtimeTypes-D-Pm0Uas.d.cts +849 -0
- package/dist/testing.cjs +18 -0
- package/dist/testing.cjs.map +1 -0
- package/dist/testing.d.cts +19 -0
- package/dist/testing.d.ts +18 -0
- package/dist/testing.js +16 -0
- package/dist/testing.js.map +1 -0
- package/dist/types-Cb5UK7Y6.d.ts +857 -0
- package/package.json +66 -0
- package/src/ai/AiHost.ts +115 -0
- package/src/binaries/DefaultExecutionBinaryServiceFactory.ts +37 -0
- package/src/binaries/DefaultNodeBinaryAttachmentServiceFactory.ts +120 -0
- package/src/binaries/UnavailableBinaryStorage.ts +19 -0
- package/src/binaries/index.ts +2 -0
- package/src/bootstrap/index.ts +46 -0
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +180 -0
- package/src/bootstrap/runtime/EngineRuntimeRegistration.types.ts +43 -0
- package/src/bootstrap/runtime/index.ts +6 -0
- package/src/browser.ts +8 -0
- package/src/contracts/Clock.ts +10 -0
- package/src/contracts/ExpRetryPolicy.ts +23 -0
- package/src/contracts/NoRetryPolicy.ts +5 -0
- package/src/contracts/RetryPolicy.ts +23 -0
- package/src/contracts/credentialTypes.ts +194 -0
- package/src/contracts/index.ts +6 -0
- package/src/contracts/retryPolicySpec.types.ts +30 -0
- package/src/contracts/runFinishedAtFactory.ts +19 -0
- package/src/contracts/runTypes.ts +314 -0
- package/src/contracts/runtimeTypes.ts +373 -0
- package/src/contracts/webhookTypes.ts +49 -0
- package/src/contracts/workflowActivationPolicy.ts +16 -0
- package/src/contracts/workflowTypes.ts +280 -0
- package/src/di/CoreTokens.ts +60 -0
- package/src/di/index.ts +24 -0
- package/src/events/EventPublishingWorkflowExecutionRepository.ts +67 -0
- package/src/events/InMemoryRunEventBusRegistry.ts +37 -0
- package/src/events/InMemoryRunEventSubscription.ts +9 -0
- package/src/events/NodeEventPublisher.ts +22 -0
- package/src/events/index.ts +4 -0
- package/src/events/runEvents.ts +54 -0
- package/src/execution/ActivationEnqueueService.ts +125 -0
- package/src/execution/CredentialResolverFactory.ts +39 -0
- package/src/execution/DefaultAsyncSleeper.ts +9 -0
- package/src/execution/DefaultExecutionContextFactory.ts +48 -0
- package/src/execution/InProcessRetryRunner.ts +115 -0
- package/src/execution/InProcessRetryRunnerFactory.ts +8 -0
- package/src/execution/NodeActivationRequestComposer.ts +113 -0
- package/src/execution/NodeExecutionSnapshotFactory.ts +152 -0
- package/src/execution/NodeExecutor.ts +43 -0
- package/src/execution/NodeExecutorFactory.ts +10 -0
- package/src/execution/NodeInputsByPortFactory.ts +14 -0
- package/src/execution/NodeInstanceFactory.ts +32 -0
- package/src/execution/NodeInstanceFactoryFactory.ts +9 -0
- package/src/execution/NodeRunStateWriter.ts +185 -0
- package/src/execution/NodeRunStateWriterFactory.ts +29 -0
- package/src/execution/PersistedRunStateTerminalBuilder.ts +25 -0
- package/src/execution/RunStateSemantics.ts +158 -0
- package/src/execution/WorkflowRunExecutionContextFactory.ts +45 -0
- package/src/execution/asyncSleeper.types.ts +3 -0
- package/src/execution/index.ts +26 -0
- package/src/index.ts +18 -0
- package/src/orchestration/Engine.ts +229 -0
- package/src/orchestration/EngineWaiters.ts +37 -0
- package/src/orchestration/RunContinuationService.ts +810 -0
- package/src/orchestration/RunStartService.ts +449 -0
- package/src/orchestration/TriggerRuntimeService.ts +260 -0
- package/src/orchestration/index.ts +5 -0
- package/src/planning/CurrentStateFrontierPlanner.ts +400 -0
- package/src/planning/EngineWorkflowPlanningFactory.ts +63 -0
- package/src/planning/RunQueuePlanner.ts +302 -0
- package/src/planning/WorkflowTopologyPlanner.ts +77 -0
- package/src/planning/index.ts +4 -0
- package/src/policies/WorkflowPolicyErrorServices.ts +38 -0
- package/src/policies/executionLimits/EngineExecutionLimitsPolicy.ts +66 -0
- package/src/policies/executionLimits/EngineExecutionLimitsPolicyFactory.ts +14 -0
- package/src/policies/index.ts +10 -0
- package/src/policies/storage/RunPolicySnapshotFactory.ts +23 -0
- package/src/policies/storage/RunTerminalPersistenceCoordinator.ts +29 -0
- package/src/policies/storage/WorkflowStoragePolicyEvaluator.ts +39 -0
- package/src/runStorage/BinaryBodyBufferReader.ts +57 -0
- package/src/runStorage/BinaryBodyReadableStreamFactory.ts +21 -0
- package/src/runStorage/InMemoryBinaryStorageRegistry.ts +53 -0
- package/src/runStorage/InMemoryRunData.ts +33 -0
- package/src/runStorage/InMemoryRunDataFactory.ts +8 -0
- package/src/runStorage/InMemoryWorkflowExecutionRepository.ts +95 -0
- package/src/runStorage/RunSummaryMapper.ts +17 -0
- package/src/runStorage/index.ts +7 -0
- package/src/runtime/EngineFactory.ts +151 -0
- package/src/runtime/EngineWorkflowRunnerService.ts +39 -0
- package/src/runtime/EngineWorkflowRunnerServiceFactory.ts +11 -0
- package/src/runtime/InMemoryLiveWorkflowRepository.ts +20 -0
- package/src/runtime/RunIntentService.ts +175 -0
- package/src/runtime/RunIntentServiceFactory.ts +11 -0
- package/src/runtime/WorkflowRepositoryWebhookTriggerMatcher.ts +144 -0
- package/src/runtime/WorkflowRepositoryWebhookTriggerMatcherFactory.ts +13 -0
- package/src/runtime/index.ts +9 -0
- package/src/runtime-types/InjectableRuntimeDecoratorComposerRegistry.ts +25 -0
- package/src/runtime-types/PersistedRuntimeTypeMetadataStoreRegistry.ts +46 -0
- package/src/runtime-types/PersistedRuntimeTypeNameResolver.ts +14 -0
- package/src/runtime-types/StackTraceCallSitePathResolver.ts +25 -0
- package/src/runtime-types/persistedRuntimeTypeModelRegistry.ts +33 -0
- package/src/runtime-types/runtimeTypeDecorators.types.ts +46 -0
- package/src/scheduler/ConfigDrivenOffloadPolicy.ts +28 -0
- package/src/scheduler/DefaultDrivingScheduler.ts +100 -0
- package/src/scheduler/HintOnlyOffloadPolicy.ts +9 -0
- package/src/scheduler/InlineDrivingScheduler.ts +145 -0
- package/src/scheduler/InlineDrivingSchedulerFactory.ts +9 -0
- package/src/scheduler/LocalOnlyScheduler.ts +7 -0
- package/src/serialization/ItemsInputNormalizer.ts +36 -0
- package/src/testing/RejectingCredentialSessionService.ts +15 -0
- package/src/testing.ts +6 -0
- package/src/types/index.ts +12 -0
- package/src/workflow/definition/ConnectionInvocationIdFactory.ts +17 -0
- package/src/workflow/definition/ConnectionNodeIdFactory.ts +42 -0
- package/src/workflow/definition/WorkflowExecutableNodeClassifier.ts +71 -0
- package/src/workflow/definition/WorkflowExecutableNodeClassifierFactory.ts +9 -0
- package/src/workflow/dsl/ChainCursorResolver.ts +103 -0
- package/src/workflow/dsl/WhenBuilder.ts +57 -0
- package/src/workflow/dsl/WorkflowBuilder.ts +55 -0
- package/src/workflow/dsl/workflowBuilderTypes.ts +63 -0
- package/src/workflow/graph/DefaultWorkflowGraphFactory.ts +8 -0
- package/src/workflow/graph/ExecutableGraph.ts +24 -0
- package/src/workflow/index.ts +11 -0
- package/src/workflowSnapshots/MissingRuntimeExecutionMarker.ts +5 -0
- package/src/workflowSnapshots/MissingRuntimeFallbacksFactory.ts +27 -0
- package/src/workflowSnapshots/MissingRuntimeNode.ts +12 -0
- package/src/workflowSnapshots/MissingRuntimeNodeConfig.ts +14 -0
- package/src/workflowSnapshots/MissingRuntimeNodeToken.ts +1 -0
- package/src/workflowSnapshots/MissingRuntimeTrigger.ts +16 -0
- package/src/workflowSnapshots/MissingRuntimeTriggerConfig.ts +14 -0
- package/src/workflowSnapshots/MissingRuntimeTriggerToken.ts +1 -0
- package/src/workflowSnapshots/PersistedRuntimeTypeIdFactory.ts +19 -0
- package/src/workflowSnapshots/PersistedWorkflowTokenRegistry.ts +89 -0
- package/src/workflowSnapshots/PersistedWorkflowTokenRegistryFactory.ts +2 -0
- package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +177 -0
- package/src/workflowSnapshots/WorkflowSnapshotResolver.ts +102 -0
- package/src/workflowSnapshots/index.ts +12 -0
- package/tsconfig.json +9 -0
- package/tsdown.config.ts +10 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { $ as OutputPortKey, $n as RunEventPublisherDeps, $t as NodeActivationRequestBase, A as ExecutionMode, An as AllWorkflowsActiveWorkflowActivationPolicy, At as runnableNodeInputType, B as NodeActivationId, Bn as NodeExecutionStatus, Bt as BinaryStorageWriteResult, C as CredentialTypeRegistry, Cn as HttpMethod, Cr as injectable, Ct as WorkflowPolicyRuntimeDefaults, D as BinaryAttachment, Dn as WebhookTriggerMatcher, Dr as registry, Dt as WorkflowStoragePolicyResolver, E as ActivationIdFactory, En as WebhookInvocationMatch, Er as predicateAwareClassFactory, Et as WorkflowStoragePolicyMode, F as JsonArray, Fn as CurrentStateExecutionRequest, Fr as RunEventSubscription, Ft as BinaryBody, G as NodeErrorHandlerArgs, Gn as PersistedRunControlState, Gt as ExecutionContext, H as NodeConnectionName, Hn as PendingNodeExecution, Ht as EngineHost, I as JsonObject, In as EngineRunCounters, Ir as ExponentialRetryPolicySpec, It as BinaryStorage, J as NodeKind, Jn as PersistedWorkflowSnapshotNode, Jt as MultiInputNode, K as NodeErrorHandlerSpec, Kn as PersistedRunState, Kt as ExecutionContextFactory, L as JsonPrimitive, Ln as ExecutionFrontierPlan, Lr as FixedRetryPolicySpec, Lt as BinaryStorageReadResult, M as Item, Mn as ConnectionInvocationAppendArgs, Mr as EngineExecutionLimitsPolicyConfig, Mt as triggerNodeOutputType, N as ItemBinary, Nn as ConnectionInvocationId, Nr as RunEvent, Nt as triggerNodeSetupStateType, O as BinaryPreviewKind, On as WebhookTriggerResolution, Or as singleton, Ot as WorkflowStoragePolicySpec, P as Items, Pn as ConnectionInvocationRecord, Pr as RunEventBus, Pt as BinaryAttachmentCreateRequest, Q as NodeSchedulerDecision, Qn as RunCurrentState, Qt as NodeActivationRequest, R as JsonValue, Rn as NodeExecutionError, Rr as NoneRetryPolicySpec, Rt as BinaryStorageStatResult, S as CredentialTypeId, Sn as WorkflowSnapshotResolver, Sr as injectAll, St as WorkflowNodeConnection, T as OAuth2ProviderFromPublicConfig, Tn as WebhookControlSignal, Tr as instancePerContainerCachingFactory, Tt as WorkflowStoragePolicyDecisionArgs, U as NodeDefinition, Un as PersistedMutableNodeState, Ut as ExecutableTriggerNode, V as NodeConfigBase, Vn as NodeInputsByPort, Vt as EngineDeps, W as NodeErrorHandler, Wn as PersistedMutableRunState, Wt as ExecutionBinaryService, X as NodeOutputs, Xn as PinnedNodeOutputsByPort, Xt as NodeActivationContinuation, Y as NodeOffloadPolicy, Yn as PersistedWorkflowTokenRegistryLike, Yt as Node, Z as NodeRef, Zn as RunCompletionNotifier, Zt as NodeActivationReceipt, _ as CredentialSessionFactoryArgs, _n as WorkflowNodeInstanceFactory, _r as RegistrationOptions, _t as WorkflowErrorHandler, a as CredentialBindingKey, an as NodeExecutionStatePublisher, ar as RunStatus, at as RunDataSnapshot, b as CredentialType, bn as WorkflowRunnerService, br as delay, bt as WorkflowGraphFactory, c as CredentialHealthStatus, cn as PersistedTriggerSetupState, cr as WebhookRunResult, ct as RunnableNodeConfig, d as CredentialInstanceRecord, dn as TriggerNode, dr as WorkflowExecutionRepository, dt as TriggerNodeConfig, en as NodeActivationScheduler, er as RunExecutionOptions, et as PairedItemRef, f as CredentialJsonRecord, fn as TriggerRuntimeDiagnostics, fr as Container, ft as TriggerNodeOutputJson, g as CredentialSessionFactory, gn as TriggerTestItemsContext, gr as Lifecycle, gt as WorkflowErrorContext, h as CredentialRequirement, hn as TriggerSetupStateRepository, hr as InjectionToken, ht as WorkflowDefinition, i as CredentialBinding, in as NodeExecutionScheduler, ir as RunStateResetRequest, it as RunDataFactory, j as InputPortKey, jn as WorkflowActivationPolicy, jr as EngineExecutionLimitsPolicy, jt as runnableNodeOutputType, k as Edge, kn as WebhookTriggerRoutingDiagnostics, kr as CoreTokens, kt as branchRef, l as CredentialHealthTester, ln as TestableTriggerNode, lr as WorkflowExecutionListingRepository, lt as RunnableNodeInputJson, m as CredentialOAuth2AuthDefinition, mn as TriggerSetupStateFor, mr as Disposable, mt as UpstreamRefPlaceholder, n as AnyCredentialType, nn as NodeExecutionContext, nr as RunQueueEntry, nt as PersistedRunPolicySnapshot, o as CredentialFieldSchema, on as NodeExecutor, or as RunStopCondition, ot as RunId, p as CredentialMaterialSourceKind, pn as TriggerSetupContext, pr as DependencyContainer, pt as TriggerNodeSetupState, q as NodeId, qn as PersistedWorkflowSnapshot, qt as LiveWorkflowRepository, r as CredentialAuthDefinition, rn as NodeExecutionRequest, rr as RunResult, rt as PersistedTokenId, s as CredentialHealth, sn as NodeResolver, sr as RunSummary, st as RunIdFactory, t as InMemoryLiveWorkflowRepository, tn as NodeBinaryAttachmentService, tr as RunPruneCandidate, tt as ParentExecutionRef, u as CredentialInstanceId, un as TriggerCleanupHandle, ur as WorkflowExecutionPruneRepository, ut as RunnableNodeOutputJson, v as CredentialSessionService, vn as WorkflowRepository, vr as TypeToken, vt as WorkflowErrorHandlerSpec, w as CredentialUnboundError, wn as TriggerInstanceId, wr as instanceCachingFactory, wt as WorkflowPrunePolicySpec, x as CredentialTypeDefinition, xn as WorkflowSnapshotFactory, xr as inject, xt as WorkflowId, y as CredentialSetupStatus, yn as WorkflowRunnerResolver, yr as container, yt as WorkflowGraph, z as MutableRunData, zn as NodeExecutionSnapshot, zr as RetryPolicySpec, zt as BinaryStorageWriteRequest } from "./InMemoryLiveWorkflowRepository-D6eiiXxF.cjs";
|
|
2
|
+
import { a as UnavailableBinaryStorage, c as DefaultAsyncSleeper, i as DefaultExecutionBinaryService, n as InMemoryRunDataFactory, o as InProcessRetryRunner, r as InMemoryBinaryStorage, s as DefaultExecutionContextFactory, t as RunIntentService, u as CredentialResolverFactory } from "./RunIntentService-NKobsfMQ.cjs";
|
|
3
|
+
import { ZodType, input, output } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/contracts/NoRetryPolicy.d.ts
|
|
6
|
+
declare class NoRetryPolicy implements NoneRetryPolicySpec {
|
|
7
|
+
readonly kind: "none";
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/contracts/RetryPolicy.d.ts
|
|
11
|
+
declare class RetryPolicy implements FixedRetryPolicySpec {
|
|
12
|
+
readonly maxAttempts: number;
|
|
13
|
+
readonly delayMs: number;
|
|
14
|
+
readonly kind: "fixed";
|
|
15
|
+
constructor(maxAttempts: number, delayMs: number);
|
|
16
|
+
/** Default for HTTP-style transient failures: 3 tries, 1s between attempts. */
|
|
17
|
+
static readonly defaultForHttp: FixedRetryPolicySpec;
|
|
18
|
+
/** Default for LLM / agent calls: 3 tries, 2s fixed backoff. */
|
|
19
|
+
static readonly defaultForAiAgent: FixedRetryPolicySpec;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/contracts/ExpRetryPolicy.d.ts
|
|
23
|
+
declare class ExpRetryPolicy implements ExponentialRetryPolicySpec {
|
|
24
|
+
readonly maxAttempts: number;
|
|
25
|
+
readonly initialDelayMs: number;
|
|
26
|
+
readonly multiplier: number;
|
|
27
|
+
readonly maxDelayMs?: number | undefined;
|
|
28
|
+
readonly jitter?: boolean | undefined;
|
|
29
|
+
readonly kind: "exponential";
|
|
30
|
+
constructor(maxAttempts: number, initialDelayMs: number, multiplier: number, maxDelayMs?: number | undefined, jitter?: boolean | undefined);
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/contracts/runFinishedAtFactory.d.ts
|
|
34
|
+
type RunFinishedAtSource = Pick<PersistedRunState, "status" | "nodeSnapshotsByNodeId">;
|
|
35
|
+
/** Derives workflow end time from node snapshots for run listings. */
|
|
36
|
+
declare class RunFinishedAtFactory {
|
|
37
|
+
static resolveIso(state: RunFinishedAtSource): string | undefined;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/workflow/dsl/workflowBuilderTypes.d.ts
|
|
41
|
+
type AnyRunnableNodeConfig = RunnableNodeConfig<any, any>;
|
|
42
|
+
type AnyTriggerNodeConfig = TriggerNodeConfig<any>;
|
|
43
|
+
type ValidStepSequence<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TSteps extends readonly [] ? readonly [] : TSteps extends readonly [infer TFirst, ...infer TRest] ? TFirst extends RunnableNodeConfig<TCurrentJson, infer TNextJson> ? TRest extends ReadonlyArray<AnyRunnableNodeConfig> ? readonly [TFirst, ...ValidStepSequence<TNextJson, TRest>] : never : never : TSteps;
|
|
44
|
+
type StepSequenceOutput<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined> = TSteps extends ReadonlyArray<AnyRunnableNodeConfig> ? TSteps extends readonly [] ? TCurrentJson : TSteps extends readonly [infer TFirst, ...infer TRest] ? TFirst extends RunnableNodeConfig<TCurrentJson, infer TNextJson> ? TRest extends ReadonlyArray<AnyRunnableNodeConfig> ? StepSequenceOutput<TNextJson, TRest> : never : never : TCurrentJson : TCurrentJson;
|
|
45
|
+
type TypesMatch<TLeft, TRight> = [TLeft] extends [TRight] ? ([TRight] extends [TLeft] ? true : false) : false;
|
|
46
|
+
type BranchOutputGuard<TCurrentJson, TTrueSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined, TFalseSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined> = TypesMatch<StepSequenceOutput<TCurrentJson, TTrueSteps>, StepSequenceOutput<TCurrentJson, TFalseSteps>> extends true ? unknown : never;
|
|
47
|
+
type BranchStepsArg<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TSteps & ValidStepSequence<TCurrentJson, TSteps>;
|
|
48
|
+
type BranchMoreArgs<TCurrentJson, TFirstStep extends RunnableNodeConfig<TCurrentJson, any>, TRestSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TRestSteps & ValidStepSequence<RunnableNodeOutputJson<TFirstStep>, TRestSteps>;
|
|
49
|
+
type BooleanWhenOverloads<TCurrentJson, TReturn> = {
|
|
50
|
+
<TSteps extends ReadonlyArray<AnyRunnableNodeConfig>>(branch: boolean, steps: BranchStepsArg<TCurrentJson, TSteps>): TReturn;
|
|
51
|
+
<TFirstStep extends RunnableNodeConfig<TCurrentJson, any>, TRestSteps extends ReadonlyArray<AnyRunnableNodeConfig>>(branch: boolean, step: TFirstStep, ...more: BranchMoreArgs<TCurrentJson, TFirstStep, TRestSteps>): TReturn;
|
|
52
|
+
};
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/workflow/dsl/WhenBuilder.d.ts
|
|
55
|
+
declare class WhenBuilder<TCurrentJson> {
|
|
56
|
+
private readonly wf;
|
|
57
|
+
private readonly from;
|
|
58
|
+
private readonly branchPort;
|
|
59
|
+
constructor(wf: WorkflowBuilder, from: NodeRef, branchPort: OutputPortKey);
|
|
60
|
+
addBranch<TSteps extends ReadonlyArray<AnyRunnableNodeConfig>>(steps: TSteps & ValidStepSequence<TCurrentJson, TSteps>): this;
|
|
61
|
+
readonly when: BooleanWhenOverloads<TCurrentJson, WhenBuilder<TCurrentJson>>;
|
|
62
|
+
build(): WorkflowDefinition;
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/workflow/dsl/ChainCursorResolver.d.ts
|
|
66
|
+
type ChainCursorWhenOverloads<TCurrentJson> = BooleanWhenOverloads<TCurrentJson, WhenBuilder<TCurrentJson>> & {
|
|
67
|
+
<TTrueSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined, TFalseSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined>(branches: Readonly<{
|
|
68
|
+
true?: TTrueSteps extends ReadonlyArray<AnyRunnableNodeConfig> ? BranchStepsArg<TCurrentJson, TTrueSteps> : never;
|
|
69
|
+
false?: TFalseSteps extends ReadonlyArray<AnyRunnableNodeConfig> ? BranchStepsArg<TCurrentJson, TFalseSteps> : never;
|
|
70
|
+
}> & BranchOutputGuard<TCurrentJson, TTrueSteps, TFalseSteps>): ChainCursor<StepSequenceOutput<TCurrentJson, TTrueSteps>>;
|
|
71
|
+
};
|
|
72
|
+
declare class ChainCursor<TCurrentJson> {
|
|
73
|
+
private readonly wf;
|
|
74
|
+
private readonly cursor;
|
|
75
|
+
private readonly cursorOutput;
|
|
76
|
+
constructor(wf: WorkflowBuilder, cursor: NodeRef, cursorOutput: OutputPortKey);
|
|
77
|
+
then<TConfig extends RunnableNodeConfig<TCurrentJson, any>>(config: TConfig): ChainCursor<RunnableNodeOutputJson<TConfig>>;
|
|
78
|
+
readonly when: ChainCursorWhenOverloads<TCurrentJson>;
|
|
79
|
+
build(): WorkflowDefinition;
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/workflow/dsl/WorkflowBuilder.d.ts
|
|
83
|
+
declare class WorkflowBuilder {
|
|
84
|
+
private readonly meta;
|
|
85
|
+
private readonly options?;
|
|
86
|
+
private readonly nodes;
|
|
87
|
+
private readonly edges;
|
|
88
|
+
private seq;
|
|
89
|
+
constructor(meta: {
|
|
90
|
+
id: WorkflowId;
|
|
91
|
+
name: string;
|
|
92
|
+
}, options?: Readonly<{
|
|
93
|
+
makeMergeNode?: (name: string) => AnyRunnableNodeConfig;
|
|
94
|
+
}> | undefined);
|
|
95
|
+
private add;
|
|
96
|
+
private connect;
|
|
97
|
+
trigger<TConfig extends AnyTriggerNodeConfig>(config: TConfig): ChainCursor<TriggerNodeOutputJson<TConfig>>;
|
|
98
|
+
start<TConfig extends AnyRunnableNodeConfig>(config: TConfig): ChainCursor<RunnableNodeOutputJson<TConfig>>;
|
|
99
|
+
build(): WorkflowDefinition;
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/workflow/definition/ConnectionInvocationIdFactory.d.ts
|
|
103
|
+
/**
|
|
104
|
+
* Unique ids for persisted connection invocation history rows (LLM/tool calls under an owning node).
|
|
105
|
+
*/
|
|
106
|
+
declare class ConnectionInvocationIdFactory {
|
|
107
|
+
static create(): string;
|
|
108
|
+
/** Deterministic id for tests when a stable sequence is needed. */
|
|
109
|
+
static createForTest(runId: string, connectionNodeId: NodeId, sequence: number): string;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/workflow/definition/ConnectionNodeIdFactory.d.ts
|
|
113
|
+
/**
|
|
114
|
+
* Deterministic ids for workflow connection-owned child nodes (LLM slot, tools, etc.).
|
|
115
|
+
* These are stable across loads.
|
|
116
|
+
*/
|
|
117
|
+
declare class ConnectionNodeIdFactory {
|
|
118
|
+
static readonly connectionSegment: "__conn__";
|
|
119
|
+
static languageModelConnectionNodeId(parentNodeId: NodeId): NodeId;
|
|
120
|
+
static toolConnectionNodeId(parentNodeId: NodeId, toolName: string): NodeId;
|
|
121
|
+
static isLanguageModelConnectionNodeId(nodeId: NodeId): boolean;
|
|
122
|
+
static isToolConnectionNodeId(nodeId: NodeId): boolean;
|
|
123
|
+
/** True when `nodeId` is a connection-owned child of `parentNodeId` (LLM or tool slot). */
|
|
124
|
+
static isConnectionOwnedDescendantOf(parentNodeId: NodeId, nodeId: NodeId): boolean;
|
|
125
|
+
/** Normalizes a tool display name to a stable id segment. */
|
|
126
|
+
static normalizeToolName(toolName: string): string;
|
|
127
|
+
}
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/workflow/definition/WorkflowExecutableNodeClassifier.d.ts
|
|
130
|
+
/**
|
|
131
|
+
* Derives which workflow nodes participate in the main execution graph vs connection-only children.
|
|
132
|
+
*/
|
|
133
|
+
declare class WorkflowExecutableNodeClassifier {
|
|
134
|
+
private readonly connectionOwnedIds;
|
|
135
|
+
constructor(workflow: WorkflowDefinition);
|
|
136
|
+
isConnectionOwnedNodeId(nodeId: NodeId): boolean;
|
|
137
|
+
isExecutableNodeId(nodeId: NodeId): boolean;
|
|
138
|
+
filterExecutableNodeDefinitions(nodes: ReadonlyArray<NodeDefinition>): ReadonlyArray<NodeDefinition>;
|
|
139
|
+
private collectConnectionOwnedIds;
|
|
140
|
+
/**
|
|
141
|
+
* Resolves the default start node: first trigger, else first executable node with no incoming edges from executable nodes.
|
|
142
|
+
*/
|
|
143
|
+
findDefaultExecutableStartNodeId(workflow: WorkflowDefinition): NodeId;
|
|
144
|
+
firstExecutableNodeIdInDefinitionOrder(workflow: WorkflowDefinition): NodeId | undefined;
|
|
145
|
+
lastExecutableNodeIdInDefinitionOrder(workflow: WorkflowDefinition): NodeId;
|
|
146
|
+
}
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/workflow/definition/WorkflowExecutableNodeClassifierFactory.d.ts
|
|
149
|
+
declare class WorkflowExecutableNodeClassifierFactory {
|
|
150
|
+
static create(workflow: WorkflowDefinition): WorkflowExecutableNodeClassifier;
|
|
151
|
+
}
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/workflow/graph/DefaultWorkflowGraphFactory.d.ts
|
|
154
|
+
declare class DefaultWorkflowGraphFactory implements WorkflowGraphFactory {
|
|
155
|
+
create(def: WorkflowDefinition): WorkflowGraph;
|
|
156
|
+
}
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region src/events/NodeEventPublisher.d.ts
|
|
159
|
+
/** Publishes node lifecycle snapshots onto the run {@link RunEventBus}. */
|
|
160
|
+
declare class NodeEventPublisher {
|
|
161
|
+
private readonly eventBus;
|
|
162
|
+
constructor(eventBus: RunEventBus | undefined);
|
|
163
|
+
publish(kind: "nodeQueued" | "nodeStarted" | "nodeCompleted" | "nodeFailed", snapshot: NodeExecutionSnapshot): Promise<void>;
|
|
164
|
+
}
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/contracts/Clock.d.ts
|
|
167
|
+
/** Port for time; inject `SystemClock` in production and a fake/test clock in tests. */
|
|
168
|
+
interface Clock {
|
|
169
|
+
now(): Date;
|
|
170
|
+
}
|
|
171
|
+
declare class SystemClock implements Clock {
|
|
172
|
+
now(): Date;
|
|
173
|
+
}
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/ai/AiHost.d.ts
|
|
176
|
+
interface AgentCanvasPresentation<TIcon extends string = string> {
|
|
177
|
+
readonly label?: string;
|
|
178
|
+
readonly icon?: TIcon;
|
|
179
|
+
}
|
|
180
|
+
type ZodSchemaAny = ZodType<any, any, any>;
|
|
181
|
+
interface ToolConfig {
|
|
182
|
+
readonly type: TypeToken<Tool<ToolConfig, ZodSchemaAny, ZodSchemaAny>>;
|
|
183
|
+
readonly name: string;
|
|
184
|
+
readonly description?: string;
|
|
185
|
+
readonly presentation?: AgentCanvasPresentation;
|
|
186
|
+
getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
|
|
187
|
+
}
|
|
188
|
+
type ToolExecuteArgs<TConfig extends ToolConfig = ToolConfig, TInput = unknown> = Readonly<{
|
|
189
|
+
config: TConfig;
|
|
190
|
+
input: TInput;
|
|
191
|
+
ctx: NodeExecutionContext<any>;
|
|
192
|
+
item: Item;
|
|
193
|
+
itemIndex: number;
|
|
194
|
+
items: Items;
|
|
195
|
+
}>;
|
|
196
|
+
interface Tool<TConfig extends ToolConfig = ToolConfig, TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> {
|
|
197
|
+
readonly defaultDescription: string;
|
|
198
|
+
readonly inputSchema: TInputSchema;
|
|
199
|
+
readonly outputSchema: TOutputSchema;
|
|
200
|
+
execute(args: ToolExecuteArgs<TConfig, input<TInputSchema>>): Promise<output<TOutputSchema>> | output<TOutputSchema>;
|
|
201
|
+
}
|
|
202
|
+
type AgentTool<TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> = Tool<ToolConfig, TInputSchema, TOutputSchema>;
|
|
203
|
+
type AgentToolExecuteArgs<TInput = unknown> = ToolExecuteArgs<ToolConfig, TInput>;
|
|
204
|
+
type AgentToolToken = TypeToken<Tool<ToolConfig, ZodSchemaAny, ZodSchemaAny>>;
|
|
205
|
+
interface AgentToolDefinition {
|
|
206
|
+
readonly name: string;
|
|
207
|
+
readonly description: string;
|
|
208
|
+
readonly inputSchema: ZodSchemaAny;
|
|
209
|
+
}
|
|
210
|
+
type AgentToolCall = Readonly<{
|
|
211
|
+
id?: string;
|
|
212
|
+
name: string;
|
|
213
|
+
input: unknown;
|
|
214
|
+
}>;
|
|
215
|
+
type AgentToolCallPlanner<_TNodeConfig = unknown> = (item: Item, index: number, items: Items, ctx: NodeExecutionContext<any>) => ReadonlyArray<AgentToolCall>;
|
|
216
|
+
interface ChatModelConfig {
|
|
217
|
+
readonly type: TypeToken<ChatModelFactory<ChatModelConfig>>;
|
|
218
|
+
readonly name: string;
|
|
219
|
+
readonly presentation?: AgentCanvasPresentation;
|
|
220
|
+
getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
|
|
221
|
+
}
|
|
222
|
+
interface LangChainChatModelLike {
|
|
223
|
+
invoke(input: unknown, options?: unknown): Promise<unknown>;
|
|
224
|
+
bindTools?(tools: ReadonlyArray<unknown>): LangChainChatModelLike;
|
|
225
|
+
}
|
|
226
|
+
interface ChatModelFactory<TConfig extends ChatModelConfig = ChatModelConfig> {
|
|
227
|
+
create(args: Readonly<{
|
|
228
|
+
config: TConfig;
|
|
229
|
+
ctx: NodeExecutionContext<any>;
|
|
230
|
+
}>): Promise<LangChainChatModelLike> | LangChainChatModelLike;
|
|
231
|
+
}
|
|
232
|
+
interface AgentNodeConfig<TInputJson = unknown, TOutputJson = unknown> extends RunnableNodeConfig<TInputJson, TOutputJson> {
|
|
233
|
+
readonly systemMessage: string;
|
|
234
|
+
readonly userMessageFormatter: (item: Item<TInputJson>, index: number, items: Items<TInputJson>, ctx: NodeExecutionContext<any>) => string;
|
|
235
|
+
readonly chatModel: ChatModelConfig;
|
|
236
|
+
readonly tools?: ReadonlyArray<ToolConfig>;
|
|
237
|
+
}
|
|
238
|
+
declare class AgentConfigInspector {
|
|
239
|
+
static isAgentNodeConfig(config: NodeConfigBase | undefined): config is AgentNodeConfig<any, any>;
|
|
240
|
+
}
|
|
241
|
+
type AgentAttachmentRole = "languageModel" | "tool";
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region src/events/InMemoryRunEventBusRegistry.d.ts
|
|
244
|
+
declare class InMemoryRunEventBus implements RunEventBus {
|
|
245
|
+
private readonly globalListeners;
|
|
246
|
+
private readonly listenersByWorkflowId;
|
|
247
|
+
publish(event: RunEvent): Promise<void>;
|
|
248
|
+
subscribe(onEvent: (event: RunEvent) => void): Promise<RunEventSubscription>;
|
|
249
|
+
subscribeToWorkflow(workflowId: WorkflowId, onEvent: (event: RunEvent) => void): Promise<RunEventSubscription>;
|
|
250
|
+
}
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/events/EventPublishingWorkflowExecutionRepository.d.ts
|
|
253
|
+
declare class EventPublishingWorkflowExecutionRepository implements WorkflowExecutionRepository, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository {
|
|
254
|
+
private readonly inner;
|
|
255
|
+
private readonly eventBus;
|
|
256
|
+
private readonly now;
|
|
257
|
+
constructor(inner: WorkflowExecutionRepository, eventBus: RunEventBus, now?: () => Date);
|
|
258
|
+
createRun(args: Parameters<WorkflowExecutionRepository["createRun"]>[0]): Promise<void>;
|
|
259
|
+
load(runId: RunId): Promise<PersistedRunState | undefined>;
|
|
260
|
+
save(state: PersistedRunState): Promise<void>;
|
|
261
|
+
deleteRun(runId: RunId): Promise<void>;
|
|
262
|
+
listRuns(args?: Readonly<{
|
|
263
|
+
workflowId?: WorkflowId;
|
|
264
|
+
limit?: number;
|
|
265
|
+
}>): Promise<ReadonlyArray<RunSummary>>;
|
|
266
|
+
listRunsOlderThan(args: Readonly<{
|
|
267
|
+
beforeIso: string;
|
|
268
|
+
limit?: number;
|
|
269
|
+
}>): Promise<ReadonlyArray<RunPruneCandidate>>;
|
|
270
|
+
}
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region src/runtime-types/persistedRuntimeTypeModelRegistry.d.ts
|
|
273
|
+
type DecoratedRuntimeType = Readonly<{
|
|
274
|
+
name?: string;
|
|
275
|
+
}> & object;
|
|
276
|
+
/** Categories of runtime classes that can be discovered and rehydrated from persisted snapshots. */
|
|
277
|
+
type PersistedRuntimeTypeKind = "node" | "tool" | "chatModel";
|
|
278
|
+
interface PersistedRuntimeTypeDecoratorOptions {
|
|
279
|
+
readonly name?: string;
|
|
280
|
+
readonly packageName?: string;
|
|
281
|
+
readonly moduleUrl?: string;
|
|
282
|
+
}
|
|
283
|
+
/** Serialized metadata attached to a decorated runtime type. */
|
|
284
|
+
interface PersistedRuntimeTypeMetadata {
|
|
285
|
+
readonly persistedName: string;
|
|
286
|
+
readonly kind: PersistedRuntimeTypeKind;
|
|
287
|
+
readonly packageName: string;
|
|
288
|
+
readonly sourceHint?: string;
|
|
289
|
+
}
|
|
290
|
+
//#endregion
|
|
291
|
+
//#region src/runtime-types/InjectableRuntimeDecoratorComposerRegistry.d.ts
|
|
292
|
+
/**
|
|
293
|
+
* Applies both tsyringe injectability and persisted runtime metadata in one decorator.
|
|
294
|
+
* This keeps runtime-type decorators thin while still recording enough data for snapshot hydration.
|
|
295
|
+
*/
|
|
296
|
+
declare class InjectableRuntimeDecoratorComposer {
|
|
297
|
+
static compose(kind: PersistedRuntimeTypeKind, options: PersistedRuntimeTypeDecoratorOptions, decoratorFileUrl: string): ClassDecorator;
|
|
298
|
+
}
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region src/runtime-types/PersistedRuntimeTypeMetadataStoreRegistry.d.ts
|
|
301
|
+
/**
|
|
302
|
+
* Defines and retrieves persisted runtime metadata on decorated classes.
|
|
303
|
+
* The metadata is attached as a non-enumerable property so runtime objects stay serializable.
|
|
304
|
+
*/
|
|
305
|
+
declare class PersistedRuntimeTypeMetadataStore {
|
|
306
|
+
static define(target: DecoratedRuntimeType, kind: PersistedRuntimeTypeKind, options: PersistedRuntimeTypeDecoratorOptions, decoratorFileUrl: string): void;
|
|
307
|
+
static get(target: unknown): PersistedRuntimeTypeMetadata | undefined;
|
|
308
|
+
}
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region src/runtime-types/PersistedRuntimeTypeNameResolver.d.ts
|
|
311
|
+
/** Resolves the persisted type name from either an explicit override or the class name itself. */
|
|
312
|
+
declare class PersistedRuntimeTypeNameResolver {
|
|
313
|
+
static resolve(target: DecoratedRuntimeType, override: string | undefined): string;
|
|
314
|
+
}
|
|
315
|
+
//#endregion
|
|
316
|
+
//#region src/runtime-types/StackTraceCallSitePathResolver.d.ts
|
|
317
|
+
declare class StackTraceCallSitePathResolver {
|
|
318
|
+
static resolve(decoratorFileUrl: string): string | undefined;
|
|
319
|
+
private static extractPath;
|
|
320
|
+
}
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region src/runtime-types/runtimeTypeDecorators.types.d.ts
|
|
323
|
+
/** Reads persisted runtime metadata from a decorated class or object. */
|
|
324
|
+
declare function getPersistedRuntimeTypeMetadata(target: unknown): PersistedRuntimeTypeMetadata | undefined;
|
|
325
|
+
/** Marks a class as a persisted node runtime type and an injectable tsyringe service. */
|
|
326
|
+
declare function node(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
|
|
327
|
+
/** Marks a class as a persisted tool runtime type and an injectable tsyringe service. */
|
|
328
|
+
declare function tool(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
|
|
329
|
+
/** Marks a class as a persisted chat-model runtime type and an injectable tsyringe service. */
|
|
330
|
+
declare function chatModel(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/serialization/ItemsInputNormalizer.d.ts
|
|
333
|
+
/**
|
|
334
|
+
* Normalizes external inputs into the engine's canonical `Items` shape.
|
|
335
|
+
* Used at host and builder boundaries where callers may provide either a raw value,
|
|
336
|
+
* a single item-like object, or an array of item-like values.
|
|
337
|
+
*/
|
|
338
|
+
declare class ItemsInputNormalizer {
|
|
339
|
+
normalize(raw: unknown): Items;
|
|
340
|
+
private normalizeItem;
|
|
341
|
+
private isItem;
|
|
342
|
+
}
|
|
343
|
+
//#endregion
|
|
344
|
+
export { ActivationIdFactory, AgentAttachmentRole, AgentCanvasPresentation, AgentConfigInspector, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolToken, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, ChainCursor, ChatModelConfig, ChatModelFactory, type Clock, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionMode, ExpRetryPolicy, ExponentialRetryPolicySpec, FixedRetryPolicySpec, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, Items, ItemsInputNormalizer, JsonArray, JsonObject, JsonPrimitive, JsonValue, LangChainChatModelLike, Lifecycle, LiveWorkflowRepository, MultiInputNode, MutableRunData, NoRetryPolicy, Node, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeEventPublisher, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutor, NodeId, NodeInputsByPort, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, ParentExecutionRef, PendingNodeExecution, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunState, type PersistedRuntimeTypeDecoratorOptions, type PersistedRuntimeTypeKind, type PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunPruneCandidate, RunQueueEntry, RunResult, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunnableNodeConfig, RunnableNodeInputJson, RunnableNodeOutputJson, StackTraceCallSitePathResolver, StepSequenceOutput, SystemClock, TestableTriggerNode, Tool, ToolConfig, ToolExecuteArgs, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, TypeToken, UnavailableBinaryStorage, UpstreamRefPlaceholder, ValidStepSequence, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WhenBuilder, WorkflowActivationPolicy, WorkflowBuilder, WorkflowDefinition, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, chatModel, container, delay, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, node, predicateAwareClassFactory, registry, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
345
|
+
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { $ as JsonArray, $n as CurrentStateExecutionRequest, $r as RunEventSubscription, $t as BinaryBody, A as CredentialJsonRecord, An as TriggerRuntimeDiagnostics, Ar as Container, At as TriggerNodeOutputJson, B as CredentialTypeId, Bn as WorkflowSnapshotResolver, Br as injectAll, Bt as WorkflowNodeConnection, C as CredentialBindingKey, Cn as NodeExecutionStatePublisher, Cr as RunStatus, Ct as RunDataSnapshot, D as CredentialHealthTester, Dn as TestableTriggerNode, Dr as WorkflowExecutionListingRepository, Dt as RunnableNodeInputJson, E as CredentialHealthStatus, En as PersistedTriggerSetupState, Er as WebhookRunResult, Et as RunnableNodeConfig, F as CredentialSessionFactoryArgs, Fn as WorkflowNodeInstanceFactory, Fr as RegistrationOptions, Ft as WorkflowErrorHandler, G as BinaryAttachment, Gn as WebhookTriggerMatcher, Gr as registry, Gt as WorkflowStoragePolicyResolver, H as CredentialUnboundError, Hn as TriggerInstanceId, Hr as instanceCachingFactory, Ht as WorkflowPrunePolicySpec, I as CredentialSessionService, In as WorkflowRepository, Ir as TypeToken, It as WorkflowErrorHandlerSpec, J as ExecutionMode, Jn as AllWorkflowsActiveWorkflowActivationPolicy, Jt as runnableNodeInputType, K as BinaryPreviewKind, Kn as WebhookTriggerResolution, Kr as singleton, Kt as WorkflowStoragePolicySpec, L as CredentialSetupStatus, Ln as WorkflowRunnerResolver, Lr as container, Lt as WorkflowGraph, M as CredentialOAuth2AuthDefinition, Mn as TriggerSetupStateFor, Mr as Disposable, Mt as UpstreamRefPlaceholder, N as CredentialRequirement, Nn as TriggerSetupStateRepository, Nr as InjectionToken, Nt as WorkflowDefinition, O as CredentialInstanceId, On as TriggerCleanupHandle, Or as WorkflowExecutionPruneRepository, Ot as RunnableNodeOutputJson, P as CredentialSessionFactory, Pn as TriggerTestItemsContext, Pr as Lifecycle, Pt as WorkflowErrorContext, Q as Items, Qn as ConnectionInvocationRecord, Qr as RunEventBus, Qt as BinaryAttachmentCreateRequest, R as CredentialType, Rn as WorkflowRunnerService, Rr as delay, Rt as WorkflowGraphFactory, S as CredentialBinding, Sn as NodeExecutionScheduler, Sr as RunStateResetRequest, St as RunDataFactory, T as CredentialHealth, Tn as NodeResolver, Tr as RunSummary, Tt as RunIdFactory, U as OAuth2ProviderFromPublicConfig, Un as WebhookControlSignal, Ur as instancePerContainerCachingFactory, Ut as WorkflowStoragePolicyDecisionArgs, V as CredentialTypeRegistry, Vn as HttpMethod, Vr as injectable, Vt as WorkflowPolicyRuntimeDefaults, W as ActivationIdFactory, Wn as WebhookInvocationMatch, Wr as predicateAwareClassFactory, Wt as WorkflowStoragePolicyMode, X as Item, Xn as ConnectionInvocationAppendArgs, Xr as EngineExecutionLimitsPolicyConfig, Xt as triggerNodeOutputType, Y as InputPortKey, Yn as WorkflowActivationPolicy, Yr as EngineExecutionLimitsPolicy, Yt as runnableNodeOutputType, Z as ItemBinary, Zn as ConnectionInvocationId, Zr as RunEvent, Zt as triggerNodeSetupStateType, _ as StepSequenceOutput, _n as NodeActivationRequestBase, _r as RunEventPublisherDeps, _t as OutputPortKey, a as WorkflowExecutableNodeClassifier, ai as NoneRetryPolicySpec, an as EngineDeps, ar as NodeInputsByPort, at as NodeConfigBase, b as AnyCredentialType, bn as NodeExecutionContext, br as RunQueueEntry, bt as PersistedRunPolicySnapshot, c as WorkflowBuilder, cn as ExecutionBinaryService, cr as PersistedMutableRunState, ct as NodeErrorHandler, d as AnyRunnableNodeConfig, dn as LiveWorkflowRepository, dr as PersistedWorkflowSnapshot, dt as NodeId, ei as ExpRetryPolicy, en as BinaryStorage, er as EngineRunCounters, et as JsonObject, f as AnyTriggerNodeConfig, fn as MultiInputNode, fr as PersistedWorkflowSnapshotNode, ft as NodeKind, g as BranchStepsArg, gn as NodeActivationRequest, gr as RunCurrentState, gt as NodeSchedulerDecision, h as BranchOutputGuard, hn as NodeActivationReceipt, hr as RunCompletionNotifier, ht as NodeRef, i as WorkflowExecutableNodeClassifierFactory, ii as FixedRetryPolicySpec, in as BinaryStorageWriteResult, ir as NodeExecutionStatus, it as NodeActivationId, j as CredentialMaterialSourceKind, jn as TriggerSetupContext, jr as DependencyContainer, jt as TriggerNodeSetupState, k as CredentialInstanceRecord, kn as TriggerNode, kr as WorkflowExecutionRepository, kt as TriggerNodeConfig, l as ChainCursor, ln as ExecutionContext, lr as PersistedRunControlState, lt as NodeErrorHandlerArgs, m as BranchMoreArgs, mn as NodeActivationContinuation, mr as PinnedNodeOutputsByPort, mt as NodeOutputs, ni as NoRetryPolicy, nn as BinaryStorageStatResult, nr as NodeExecutionError, nt as JsonValue, o as ConnectionNodeIdFactory, oi as RetryPolicySpec, on as EngineHost, or as PendingNodeExecution, ot as NodeConnectionName, p as BooleanWhenOverloads, pn as Node, pr as PersistedWorkflowTokenRegistryLike, pt as NodeOffloadPolicy, q as Edge, qn as WebhookTriggerRoutingDiagnostics, qr as CoreTokens, qt as branchRef, r as DefaultWorkflowGraphFactory, ri as ExponentialRetryPolicySpec, rn as BinaryStorageWriteRequest, rr as NodeExecutionSnapshot, rt as MutableRunData, s as ConnectionInvocationIdFactory, sn as ExecutableTriggerNode, sr as PersistedMutableNodeState, st as NodeDefinition, t as InMemoryLiveWorkflowRepository, ti as RetryPolicy, tn as BinaryStorageReadResult, tr as ExecutionFrontierPlan, tt as JsonPrimitive, u as WhenBuilder, un as ExecutionContextFactory, ur as PersistedRunState, ut as NodeErrorHandlerSpec, v as ValidStepSequence, vn as NodeActivationScheduler, vr as RunExecutionOptions, vt as PairedItemRef, w as CredentialFieldSchema, wn as NodeExecutor, wr as RunStopCondition, wt as RunId, x as CredentialAuthDefinition, xn as NodeExecutionRequest, xr as RunResult, xt as PersistedTokenId, y as RunFinishedAtFactory, yn as NodeBinaryAttachmentService, yr as RunPruneCandidate, yt as ParentExecutionRef, z as CredentialTypeDefinition, zn as WorkflowSnapshotFactory, zr as inject, zt as WorkflowId } from "./InMemoryLiveWorkflowRepository-DL7LmC9S.js";
|
|
2
|
+
import { A as PersistedRuntimeTypeKind, B as AgentToolCallPlanner, C as node, D as PersistedRuntimeTypeMetadataStore, E as PersistedRuntimeTypeNameResolver, F as AgentCanvasPresentation, G as ChatModelFactory, H as AgentToolExecuteArgs, I as AgentConfigInspector, J as ToolConfig, K as LangChainChatModelLike, L as AgentNodeConfig, M as EventPublishingWorkflowExecutionRepository, N as InMemoryRunEventBus, O as InjectableRuntimeDecoratorComposer, P as AgentAttachmentRole, Q as SystemClock, R as AgentTool, S as getPersistedRuntimeTypeMetadata, T as StackTraceCallSitePathResolver, U as AgentToolToken, V as AgentToolDefinition, W as ChatModelConfig, X as ZodSchemaAny, Y as ToolExecuteArgs, Z as Clock, at as CredentialResolverFactory, b as ItemsInputNormalizer, d as InMemoryRunDataFactory, f as InMemoryBinaryStorage, j as PersistedRuntimeTypeMetadata, k as PersistedRuntimeTypeDecoratorOptions, nt as DefaultExecutionContextFactory, ot as NodeEventPublisher, q as Tool, rt as DefaultAsyncSleeper, s as RunIntentService, tt as InProcessRetryRunner, v as DefaultExecutionBinaryService, w as tool, x as chatModel, y as UnavailableBinaryStorage, z as AgentToolCall } from "./index-9g6Pfe9Z.js";
|
|
3
|
+
export { ActivationIdFactory, AgentAttachmentRole, AgentCanvasPresentation, AgentConfigInspector, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolToken, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, ChainCursor, ChatModelConfig, ChatModelFactory, Clock, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionMode, ExpRetryPolicy, ExponentialRetryPolicySpec, FixedRetryPolicySpec, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, Items, ItemsInputNormalizer, JsonArray, JsonObject, JsonPrimitive, JsonValue, LangChainChatModelLike, Lifecycle, LiveWorkflowRepository, MultiInputNode, MutableRunData, NoRetryPolicy, Node, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeEventPublisher, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutor, NodeId, NodeInputsByPort, NodeKind, NodeOffloadPolicy, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, ParentExecutionRef, PendingNodeExecution, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunState, PersistedRuntimeTypeDecoratorOptions, PersistedRuntimeTypeKind, PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunPruneCandidate, RunQueueEntry, RunResult, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunnableNodeConfig, RunnableNodeInputJson, RunnableNodeOutputJson, StackTraceCallSitePathResolver, StepSequenceOutput, SystemClock, TestableTriggerNode, Tool, ToolConfig, ToolExecuteArgs, TriggerCleanupHandle, TriggerInstanceId, TriggerNode, TriggerNodeConfig, TriggerNodeOutputJson, TriggerNodeSetupState, TriggerRuntimeDiagnostics, TriggerSetupContext, TriggerSetupStateFor, TriggerSetupStateRepository, TriggerTestItemsContext, TypeToken, UnavailableBinaryStorage, UpstreamRefPlaceholder, ValidStepSequence, WebhookControlSignal, WebhookInvocationMatch, WebhookRunResult, WebhookTriggerMatcher, WebhookTriggerResolution, WebhookTriggerRoutingDiagnostics, WhenBuilder, WorkflowActivationPolicy, WorkflowBuilder, WorkflowDefinition, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, chatModel, container, delay, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, node, predicateAwareClassFactory, registry, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
|