@codemation/core 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/{CostCatalogContract-DZgcUBE4.d.cts → CostCatalogContract-DD7fQ4FF.d.cts} +2 -2
- package/dist/{EngineRuntimeRegistration.types-Cggm5GVY.d.cts → EngineRuntimeRegistration.types-DTV5_7Jw.d.cts} +3 -3
- package/dist/{EngineRuntimeRegistration.types-BQbS9_gs.d.ts → EngineRuntimeRegistration.types-Dl92Hdoi.d.ts} +2 -2
- package/dist/InMemoryRunDataFactory-qMiYjhCK.d.cts +202 -0
- package/dist/{ItemsInputNormalizer-D-MH8MBs.js → ItemsInputNormalizer-BhuxvZh5.js} +2 -2
- package/dist/{ItemsInputNormalizer-D-MH8MBs.js.map → ItemsInputNormalizer-BhuxvZh5.js.map} +1 -1
- package/dist/{ItemsInputNormalizer-_Mfcd3YU.d.ts → ItemsInputNormalizer-C09a7iFP.d.ts} +2 -2
- package/dist/{ItemsInputNormalizer-C_dpn76M.d.cts → ItemsInputNormalizer-DLaD6rTl.d.cts} +3 -3
- package/dist/{ItemsInputNormalizer-CwdOhSAK.cjs → ItemsInputNormalizer-Div-fb6a.cjs} +2 -2
- package/dist/{ItemsInputNormalizer-CwdOhSAK.cjs.map → ItemsInputNormalizer-Div-fb6a.cjs.map} +1 -1
- package/dist/{RunIntentService-BVur7x9n.d.ts → RunIntentService-BOSGwmqn.d.ts} +18 -4
- package/dist/{RunIntentService-CEF-sFfI.d.cts → RunIntentService-CWMMrAP4.d.cts} +18 -4
- package/dist/{agentMcpTypes-ZiNbNsEi.d.cts → agentMcpTypes-DUmniLOY.d.cts} +183 -4
- package/dist/bootstrap/index.cjs +3 -3
- package/dist/bootstrap/index.d.cts +63 -7
- package/dist/bootstrap/index.d.ts +5 -5
- package/dist/bootstrap/index.js +3 -3
- package/dist/{bootstrap-D_Yyi0wL.js → bootstrap-CKTMMNmL.js} +173 -4
- package/dist/bootstrap-CKTMMNmL.js.map +1 -0
- package/dist/{bootstrap-BxuTFTLB.cjs → bootstrap-D460dCgS.cjs} +175 -4
- package/dist/bootstrap-D460dCgS.cjs.map +1 -0
- package/dist/browser.cjs +3 -2
- package/dist/browser.d.cts +4 -4
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +3 -3
- package/dist/contracts.d.cts +5 -5
- package/dist/contracts.d.ts +2 -2
- package/dist/{di-0Wop7z1y.js → di-DdsgWfVy.js} +31 -2
- package/dist/di-DdsgWfVy.js.map +1 -0
- package/dist/{di-BlEKdoZS.cjs → di-tO6R7VJV.cjs} +36 -1
- package/dist/di-tO6R7VJV.cjs.map +1 -0
- package/dist/{executionPersistenceContracts-BgZMRsTa.d.cts → executionPersistenceContracts-DenJJK2T.d.cts} +2 -2
- package/dist/{index-62Ba9f7D.d.ts → index-BZDhEQ6W.d.ts} +277 -101
- package/dist/{index-zWGtEhrf.d.ts → index-CSKKuK60.d.ts} +441 -5
- package/dist/index.cjs +71 -161
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +395 -97
- package/dist/index.d.ts +5 -5
- package/dist/index.js +56 -159
- package/dist/index.js.map +1 -1
- package/dist/{params-B5SENSzZ.d.cts → params-DqRvku2h.d.cts} +2 -2
- package/dist/{runtime-cxmUkk0l.js → runtime-BPZgnZ9G.js} +611 -16
- package/dist/runtime-BPZgnZ9G.js.map +1 -0
- package/dist/{runtime-DBzq5YBi.cjs → runtime-CyW9c9XM.cjs} +670 -15
- package/dist/runtime-CyW9c9XM.cjs.map +1 -0
- package/dist/testing.cjs +3 -3
- package/dist/testing.d.cts +3 -3
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +3 -3
- package/package.json +1 -1
- package/src/authoring/defineHumanApprovalNode.types.ts +379 -0
- package/src/authoring/index.ts +6 -0
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +29 -0
- package/src/contracts/CodemationTelemetryAttributeNames.ts +10 -0
- package/src/contracts/credentialTypes.ts +10 -0
- package/src/contracts/hitlSeamTypes.ts +34 -0
- package/src/contracts/humanTaskStoreTypes.ts +48 -0
- package/src/contracts/inboxChannelTypes.ts +58 -0
- package/src/contracts/index.ts +3 -0
- package/src/contracts/runTypes.ts +61 -3
- package/src/contracts/runtimeTypes.ts +112 -0
- package/src/credentials/CredentialMaterialProvider.types.ts +61 -0
- package/src/credentials/ManagedCredentialMaterialWriteError.ts +14 -0
- package/src/credentials/ManagedMaterialFetchError.ts +16 -0
- package/src/execution/ActivationEnqueueService.ts +16 -0
- package/src/execution/DefaultExecutionContextFactory.ts +11 -0
- package/src/execution/NodeExecutionSnapshotFactory.ts +7 -1
- package/src/execution/NodeExecutor.ts +60 -1
- package/src/execution/NodeExecutorFactory.ts +12 -2
- package/src/execution/NodeSuspensionHandler.ts +220 -0
- package/src/execution/PersistedRunStateTerminalBuilder.ts +5 -2
- package/src/execution/RunStateSemantics.ts +5 -0
- package/src/execution/RunSuspendedError.ts +21 -0
- package/src/index.ts +40 -0
- package/src/orchestration/Engine.ts +12 -2
- package/src/orchestration/EngineWaiters.ts +1 -1
- package/src/orchestration/NodeExecutionRequestHandlerService.ts +25 -2
- package/src/orchestration/RunContinuationService.ts +226 -2
- package/src/orchestration/TestSuiteOrchestrator.ts +5 -4
- package/src/runtime/RunIntentService.ts +3 -0
- package/src/workflow/dsl/ChainCursorResolver.ts +36 -0
- package/dist/InMemoryRunDataFactory-C7YItvHG.d.cts +0 -123
- package/dist/bootstrap-BxuTFTLB.cjs.map +0 -1
- package/dist/bootstrap-D_Yyi0wL.js.map +0 -1
- package/dist/di-0Wop7z1y.js.map +0 -1
- package/dist/di-BlEKdoZS.cjs.map +0 -1
- package/dist/runtime-DBzq5YBi.cjs.map +0 -1
- package/dist/runtime-cxmUkk0l.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { n as InMemoryLiveWorkflowRepository, t as RunIntentService } from "./RunIntentService-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { A as ChatModelFactory, B as ZodSchemaAny, C as AgentToolDefinition, D as ChatLanguageModel, E as AgentTurnLimitBehavior, F as NodeBackedToolOutputMapperArgs, G as CallableToolFactory, H as AgentMessageConfigNormalizer, I as StructuredOutputOptions, J as CallableToolExecuteHandler, K as CallableToolConfig, L as Tool, M as NodeBackedToolInputMapper, N as NodeBackedToolInputMapperArgs, O as ChatLanguageModelCallOptions, P as NodeBackedToolOutputMapper, R as ToolConfig, S as AgentToolCallPlanner, T as AgentToolToken, U as AgentToolFactory, V as AgentConfigInspector, W as CallableToolKindToken, Y as NodeBackedToolConfig, _ as AgentMessageTemplateContent, a as AgentConnectionNodeRole, b as AgentTool, c as AgentCanvasPresentation, d as AgentMessageBuildArgs, f as AgentMessageConfig, g as AgentMessageTemplate, h as AgentMessageRole, i as AgentConnectionNodeDescriptor, j as NodeBackedToolConfigOptions, k as ChatModelConfig, l as AgentGuardrailConfig, m as AgentMessageLine, n as AgentConnectionCredentialSource, o as McpServerResolver, p as AgentMessageDto, q as CallableToolConfigOptions, r as AgentConnectionNodeCollector, s as AgentAttachmentRole, t as ItemsInputNormalizer, u as AgentGuardrailDefaults, v as AgentModelInvocationOptions, w as AgentToolExecuteArgs, x as AgentToolCall, y as AgentNodeConfig, z as ToolExecuteArgs } from "./ItemsInputNormalizer-
|
|
5
|
-
export { ActivationIdFactory, AgentAttachmentRole, AgentBindError, AgentCanvasPresentation, AgentConfigInspector, AgentConnectionCredentialSource, AgentConnectionNodeCollector, AgentConnectionNodeDescriptor, AgentConnectionNodeRole, AgentGuardrailConfig, AgentGuardrailDefaults, AgentMcpIntegration, AgentMcpToolMap, AgentMessageBuildArgs, AgentMessageConfig, AgentMessageConfigNormalizer, AgentMessageDto, AgentMessageLine, AgentMessageRole, AgentMessageTemplate, AgentMessageTemplateContent, AgentModelInvocationOptions, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolFactory, AgentToolToken, AgentTurnLimitBehavior, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, AssertionResult, AssertionResultProvenance, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, CallableToolConfigOptions, CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, ChainCursor, ChatLanguageModel, ChatLanguageModelCallOptions, ChatModelConfig, ChatModelFactory, ChildExecutionScopeFactory, Clock, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, CollectionColumnBuilder, CollectionDefinition, CollectionFieldDefinition, CollectionIndexDefinition, CollectionStore, CollectionsContext, ConnectionInvocationAppendArgs, ConnectionInvocationEventPublisher, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationKind, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryFactory, CostTrackingTelemetryMetricNames, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DEFAULT_ASSERTION_PASS_THRESHOLD, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefineBatchNodeOptions, DefineCollectionOptions, DefineCredentialOptions, DefineNodeExecuteArgs, DefineNodeOptions, DefinePollingTriggerExecuteContext, DefinePollingTriggerOptions, DefinePollingTriggerPollContext, DefinePollingTriggerPollResult, DefinePollingTriggerTestItemsContext, DefinedCollection, DefinedCollectionRegistry, DefinedNode, DefinedNodeConfigInput, DefinedNodeCredentialAccessors, DefinedNodeCredentialBinding, DefinedNodeCredentialBindings, DefinedNodeRegistry, DefinedNodeRunContext, DefinedPollingTrigger, DefinedPollingTriggerConfig, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, ItemExpr, ItemExprArgs, ItemExprCallback, ItemExprContext, ItemExprResolvedContext, ItemExprResolver, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, Lifecycle, LiveWorkflowRepository, McpServerDeclaration, McpServerResolver, McpServerTransport, MultiInputNode, MutableRunData, NeedsReconsentEvent, NoOpAgentMcpIntegration, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpPollingTriggerLogger, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NoRetryPolicy, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBackedToolConfig, NodeBackedToolConfigOptions, NodeBackedToolInputMapper, NodeBackedToolInputMapperArgs, NodeBackedToolOutputMapper, NodeBackedToolOutputMapperArgs, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeEventPublisher, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutionTelemetry, NodeExecutor, NodeId, NodeIdRef, NodeIdSlugifier, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputNormalizer, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OAuthFlowCallbackArgs, OAuthFlowExecutor, OAuthFlowStartArgs, OAuthFlowStartResult, OAuthMaterial, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedRuntimeTypeDecoratorOptions, PersistedRuntimeTypeKind, PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingRunCycleArgs, PollingRunCycleResult, PollingTriggerDedupWindow, PollingTriggerHandle, PollingTriggerLogger, PollingTriggerRuntime, PollingTriggerStartArgs, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, RunnableOutputBehaviorResolver, SlotExecutionStateDto, StackTraceCallSitePathResolver, StepSequenceOutput, StructuredOutputOptions, SystemClock, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, TestCaseRunStatus, TestSuiteRunId, TestSuiteRunStatus, TestTriggerNodeConfig, TestTriggerSetupContext, 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, WorkItemId, WorkItemStatus, WorkflowActivationPolicy, WorkflowBuilder, WorkflowDefinition, WorkflowDefinitionError, WorkflowDetailSelectionState, WorkflowEdgePortError, WorkflowEdgePortValidationResult, WorkflowEdgePortValidator, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, c, callableTool, chatModel, container, defineBatchNode, defineCollection, defineCredential, defineNode, definePollingTrigger, delay, deriveAssertionPassed, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
1
|
+
import { $ as ExecutionPayloadPolicyFields, $a as CredentialFieldSchema, $i as TriggerSetupContext, $n as BinaryPreviewKind, $r as nodeRef, $t as PersistedRunState, A as DefinedNodeCredentialAccessors, Aa as TelemetrySpanScope, Ai as NodeActivationReceipt, An as delay, Ar as RunId, At as DEFAULT_ASSERTION_PASS_THRESHOLD, B as RetryPolicy, Ba as CostTrackingPriceQuote, Bi as NodeExecutor, Br as WorkflowErrorContext, Bt as CurrentStateExecutionRequest, C as defineHumanApprovalNode, Ca as TelemetryAttributePrimitive, Ci as HumanTaskHandle, Cn as DependencyContainer, Co as InputPortKey, Cr as NodeRef, Ct as ItemExprResolvedContext, D as DefineNodeOptions, Da as TelemetryScope, Di as LiveWorkflowRepository, Dn as RegistrationOptions, Do as PersistedTokenId, Dr as PersistedRunPolicySnapshot, Dt as resolveItemExprsInUnknown, E as DefineNodeExecuteArgs, Ea as TelemetryMetricRecord, Ei as ItemNode, En as Lifecycle, Eo as OutputPortKey, Er as ParentExecutionRef, Et as resolveItemExprsForExecution, F as defineNode, Fa as NoOpExecutionTelemetry, Fi as NodeExecutionContext, Fn as instancePerContainerCachingFactory, Fr as TriggerNodeConfig, Ft as AgentMcpToolMap, G as isPortsEmission, Ga as CostTrackingUsageRecord, Gi as ResumeContext, Gn as RunEventSubscription, Gr as WorkflowNodeConnection, Gt as NodeExecutionStatus, H as getOriginIndexFromItem, Ha as CostTrackingTelemetryAttributeNames, Hi as PersistedTriggerSetupState, Hn as EngineExecutionLimitsPolicyConfig, Hr as WorkflowErrorHandlerSpec, Ht as ExecutionFrontierPlan, I as RunFinishedAtFactory, Ia as NoOpNodeExecutionTelemetry, Ii as NodeExecutionRequest, In as predicateAwareClassFactory, Ir as TriggerNodeOutputJson, It as NeedsReconsentEvent, J as McpServerTransport, Ja as AnyCredentialType, Ji as SuspensionRequest, Jn as TestSuiteRunId, Jr as WorkflowStoragePolicyDecisionArgs, Jt as PendingResumeEntry, K as isUnbrandedPortsEmissionShape, Ka as CollectionStore, Ki as RunnableNode, Kn as TestCaseRunStatus, Kr as WorkflowPolicyRuntimeDefaults, Kt as NodeInputsByPort, L as NoOpCostTrackingTelemetryFactory, La as NoOpTelemetrySpanScope, Li as NodeExecutionRequestHandler, Ln as registry, Lr as TriggerNodeSetupState, Lt as ConnectionInvocationAppendArgs, M as DefinedNodeCredentialBindings, Ma as GenAiTelemetryAttributeNames, Mi as NodeActivationRequestBase, Mn as injectAll, Mr as RunnableNodeConfig, Mt as NoOpAgentMcpIntegration, N as DefinedNodeRunContext, Na as CodemationTelemetryAttributeNames, Ni as NodeActivationScheduler, Nn as injectable, Nr as RunnableNodeInputJson, Nt as AgentBindError, O as DefinedNode, Oa as TelemetrySpanEnd, Oi as MultiInputNode, On as TypeToken, Oo as WorkflowId, Or as RunDataFactory, Ot as AssertionResult, P as defineBatchNode, Pa as NoOpExecutionTelemetryFactory, Pi as NodeBinaryAttachmentService, Pn as instanceCachingFactory, Pr as RunnableNodeOutputJson, Pt as AgentMcpIntegration, Q as ExecutionInstanceId, Qa as CredentialBindingKey, Qi as TriggerRuntimeDiagnostics, Qn as BinaryAttachment, Qr as branchRef, Qt as PersistedRunSchedulingState, R as NoOpCostTrackingTelemetry, Ra as NoOpTelemetryArtifactReference, Ri as NodeExecutionScheduler, Rn as singleton, Rr as UpstreamRefPlaceholder, Rt as ConnectionInvocationId, S as HumanApprovalOutputJson, Sa as TelemetryArtifactReference, Si as HumanTaskActor, Sn as Container, So as PollingTriggerDedupWindow, Sr as NodeOutputs, St as ItemExprContext, T as DefineBatchNodeOptions, Ta as TelemetryChildSpanStart, Ti as HumanTaskSubject, Tn as InjectionToken, To as NodeId, Tr as PairedItemRef, Tt as itemExpr, U as PortsEmission, Ua as CostTrackingTelemetryFactory, Ui as PollingTriggerHandle, Un as RunEvent, Ur as WorkflowGraph, Ut as NodeExecutionError, V as NoRetryPolicy, Va as CostTrackingTelemetry, Vi as NodeResolver, Vn as EngineExecutionLimitsPolicy, Vr as WorkflowErrorHandler, Vt as EngineRunCounters, W as emitPorts, Wa as CostTrackingTelemetryMetricNames, Wi as PreparedNodeActivationDispatch, Wn as RunEventBus, Wr as WorkflowGraphFactory, Wt as NodeExecutionSnapshot, X as ConnectionInvocationKind, Xa as CredentialAuthDefinition, Xi as TriggerCleanupHandle, Xn as TestTriggerSetupContext, Xr as WorkflowStoragePolicyResolver, Xt as PersistedMutableRunState, Y as BatchId, Ya as CredentialAdvancedSectionPresentation, Yi as TestableTriggerNode, Yn as TestTriggerNodeConfig, Yr as WorkflowStoragePolicyMode, Yt as PersistedMutableNodeState, Z as ExecutionInstanceDto, Za as CredentialBinding, Zi as TriggerNode, Zn as ActivationIdFactory, Zr as WorkflowStoragePolicySpec, Zt as PersistedRunControlState, _ as BranchStepsArg, _a as WorkflowActivationPolicy, _i as EngineHost, _n as RunTestContext, _o as CredentialTypeRegistry, _r as NodeIdRef, _t as Param, a as ConnectionNodeIdFactory, aa as WorkflowRunnerResolver, ai as FixedRetryPolicySpec, an as RunCompletionNotifier, ao as CredentialJsonRecord, ar as JsonArray, at as PersistedRunWorkItemRecord, b as DefinedHumanApprovalNode, ba as NodeExecutionTelemetry, bi as ExecutionContext, bn as WorkflowExecutionPruneRepository, bo as NoOpPollingTriggerLogger, br as NodeKind, bt as ItemExprArgs, c as WorkflowDefinitionError, ca as WorkflowSnapshotResolver, ci as BinaryAttachmentCreateRequest, cn as RunExecutionOptions, co as CredentialOAuth2ScopesFromPublicConfig, cr as JsonPrimitive, ct as RunSlotProjectionState, d as WhenBuilder, da as WebhookControlSignal, di as BinaryStorageReadResult, dn as RunQueueEntry, do as CredentialSessionFactoryArgs, dr as NodeActivationId, dt as WorkItemStatus, ea as TriggerSetupStateFor, ei as runnableNodeInputType, en as PersistedSuspensionEntry, eo as CredentialHealth, er as Edge, et as PayloadStorageKind, f as AnyRunnableNodeConfig, fa as WebhookInvocationMatch, fi as BinaryStorageStatResult, fn as RunResult, fo as CredentialSessionService, fr as NodeConfigBase, ft as WorkflowDetailSelectionState, g as BranchOutputGuard, ga as AllWorkflowsActiveWorkflowActivationPolicy, gi as EngineDeps, gn as RunSummary, go as CredentialTypeId, gr as NodeErrorHandlerSpec, gt as Expr, h as BranchMoreArgs, ha as WebhookTriggerRoutingDiagnostics, hi as Duration, hn as RunStopCondition, ho as CredentialTypeDefinition, hr as NodeErrorHandlerArgs, ht as CostCatalogEntry, i as NodeIterationIdFactory, ia as WorkflowRepository, ii as ExponentialRetryPolicySpec, in as PinnedNodeOutputsByPort, io as CredentialInstanceRecord, ir as Items, it as PersistedRunWorkItemKind, j as DefinedNodeCredentialBinding, ja as CodemationTelemetryMetricNames, ji as NodeActivationRequest, jn as inject, jr as RunIdFactory, jt as deriveAssertionPassed, k as DefinedNodeConfigInput, ka as TelemetrySpanEventRecord, ki as NodeActivationContinuation, kn as container, kr as RunDataSnapshot, kt as AssertionResultProvenance, l as WorkflowBuilder, la as HttpMethod, li as BinaryBody, ln as RunHaltReason, lo as CredentialRequirement, lr as JsonValue, lt as SlotExecutionStateDto, m as BooleanWhenOverloads, ma as WebhookTriggerResolution, mi as BinaryStorageWriteResult, mn as RunStatus, mo as CredentialType, mr as NodeErrorHandler, mt as CostCatalog, n as WorkflowExecutableNodeClassifierFactory, na as TriggerTestItemsContext, ni as triggerNodeOutputType, nn as PersistedWorkflowSnapshotNode, no as CredentialHealthTester, nr as Item, nt as PersistedExecutionInstanceRecord, o as ConnectionInvocationIdFactory, oa as WorkflowRunnerService, oi as NoneRetryPolicySpec, on as RunCurrentState, oo as CredentialMaterialSourceKind, or as JsonNonArray, ot as RunIterationDto, p as AnyTriggerNodeConfig, pa as WebhookTriggerMatcher, pi as BinaryStorageWriteRequest, pn as RunStateResetRequest, po as CredentialSetupStatus, pr as NodeDefinition, pt as WorkflowRunDetailDto, q as McpServerDeclaration, qa as CollectionsContext, qi as RunnableNodeExecuteArgs, qn as TestSuiteRunStatus, qr as WorkflowPrunePolicySpec, qt as PendingNodeExecution, r as WorkflowExecutableNodeClassifier, ra as WorkflowNodeInstanceFactory, ri as triggerNodeSetupStateType, rn as PersistedWorkflowTokenRegistryLike, ro as CredentialInstanceId, rr as ItemBinary, rt as PersistedRunSlotProjectionRecord, s as NodeIdSlugifier, sa as WorkflowSnapshotFactory, si as RetryPolicySpec, sn as RunEventPublisherDeps, so as CredentialOAuth2AuthDefinition, sr as JsonObject, st as RunRevision, t as DefaultWorkflowGraphFactory, ta as TriggerSetupStateRepository, ti as runnableNodeOutputType, tn as PersistedWorkflowSnapshot, to as CredentialHealthStatus, tr as ExecutionMode, tt as PersistedExecutionInstanceKind, u as ChainCursor, ua as TriggerInstanceId, ui as BinaryStorage, un as RunPruneCandidate, uo as CredentialSessionFactory, ur as MutableRunData, ut as WorkItemId, v as StepSequenceOutput, va as ExecutionTelemetry, vi as ExecutableTriggerNode, vn as WebhookRunResult, vo as CredentialUnboundError, vr as NodeInspectorSummaryRow, vt as ParamDeep, w as isHumanApprovalNode, wa as TelemetryAttributes, wi as HumanTaskId, wn as Disposable, wo as NodeConnectionName, wr as NodeSchedulerDecision, wt as isItemExpr, x as HumanApprovalDecisionResult, xa as TelemetryArtifactAttachment, xi as ExecutionContextFactory, xn as WorkflowExecutionRepository, xo as PollingTriggerLogger, xr as NodeOffloadPolicy, xt as ItemExprCallback, y as ValidStepSequence, ya as ExecutionTelemetryFactory, yi as ExecutionBinaryService, yn as WorkflowExecutionListingRepository, yo as OAuth2ProviderFromPublicConfig, yr as NodeIterationId, yt as ItemExpr, z as ExpRetryPolicy, za as CostTrackingComponent, zi as NodeExecutionStatePublisher, zn as CoreTokens, zr as WorkflowDefinition, zt as ConnectionInvocationRecord } from "./index-CSKKuK60.js";
|
|
2
|
+
import { n as InMemoryLiveWorkflowRepository, t as RunIntentService } from "./RunIntentService-BOSGwmqn.js";
|
|
3
|
+
import { $ as getPersistedRuntimeTypeMetadata, $t as NodeEventPublisher, At as DefineCredentialOptions, Bt as InboxOnTimeoutArgs, C as PollingRunCycleResult, Ct as CollectionFieldDefinition, Dt as c, Et as DefinedCollection, Ft as InboxChannelResolverSeam, Gt as HitlTimeoutJobSchedulerToken, H as RunnableOutputBehaviorResolver, Ht as HitlResumeTokenSignerSeam, It as InboxChannelResolverToken, Jt as HumanTaskStatus, K as DefaultExecutionContextFactory, Kt as HitlWorkspaceIdToken, Lt as InboxDeliverArgs, M as InMemoryBinaryStorage, Mt as DefinedNodeRegistry, Nt as ControlPlaneInboxChannelToken, Ot as defineCollection, Pt as InboxChannel, Q as chatModel, Qt as SystemClock, Rt as InboxDelivery, S as PollingRunCycleArgs, St as CollectionDefinition, T as PollingTriggerStartArgs, Tt as DefineCollectionOptions, U as ItemExprResolver, Ut as HitlResumeTokenSignerToken, V as NodeOutputNormalizer, Vt as LocalInboxChannelToken, W as InProcessRetryRunner, Wt as HitlTimeoutJobSchedulerSeam, X as DefaultExecutionBinaryService, Xt as HumanTaskStoreToken, Y as ChildExecutionScopeFactory, Yt as HumanTaskStore, Z as UnavailableBinaryStorage, Zt as Clock, _ as OAuthFlowStartResult, _t as DefinedPollingTrigger, at as InjectableRuntimeDecoratorComposer, b as WorkflowEdgePortError, bt as DefinedCollectionRegistry, c as ManagedCredentialMaterialWriteError, ct as PersistedRuntimeTypeMetadata, d as CredentialMaterialRef, dt as ConnectionInvocationEventPublisher, en as CredentialResolverFactory, et as node, f as IllegalMaterialSourceError, ft as DefinePollingTriggerExecuteContext, g as OAuthFlowStartArgs, gt as DefinePollingTriggerTestItemsContext, h as OAuthFlowExecutor, ht as DefinePollingTriggerPollResult, it as PersistedRuntimeTypeMetadataStore, j as InMemoryRunDataFactory, jt as defineCredential, kt as callableTool, l as CallerContext, lt as EventPublishingWorkflowExecutionRepository, m as OAuthFlowCallbackArgs, mt as DefinePollingTriggerPollContext, nt as StackTraceCallSitePathResolver, ot as PersistedRuntimeTypeDecoratorOptions, p as MaterialBundle, pt as DefinePollingTriggerOptions, q as DefaultAsyncSleeper, qt as HumanTaskRecord, rt as PersistedRuntimeTypeNameResolver, s as ManagedMaterialFetchError, st as PersistedRuntimeTypeKind, tt as tool, u as CredentialMaterialProvider, ut as InMemoryRunEventBus, v as OAuthMaterial, vt as DefinedPollingTriggerConfig, w as PollingTriggerRuntime, wt as CollectionIndexDefinition, x as WorkflowEdgePortValidationResult, xt as CollectionColumnBuilder, y as WorkflowEdgePortValidator, yt as definePollingTrigger, zt as InboxOnDecisionArgs } from "./index-BZDhEQ6W.js";
|
|
4
|
+
import { A as ChatModelFactory, B as ZodSchemaAny, C as AgentToolDefinition, D as ChatLanguageModel, E as AgentTurnLimitBehavior, F as NodeBackedToolOutputMapperArgs, G as CallableToolFactory, H as AgentMessageConfigNormalizer, I as StructuredOutputOptions, J as CallableToolExecuteHandler, K as CallableToolConfig, L as Tool, M as NodeBackedToolInputMapper, N as NodeBackedToolInputMapperArgs, O as ChatLanguageModelCallOptions, P as NodeBackedToolOutputMapper, R as ToolConfig, S as AgentToolCallPlanner, T as AgentToolToken, U as AgentToolFactory, V as AgentConfigInspector, W as CallableToolKindToken, Y as NodeBackedToolConfig, _ as AgentMessageTemplateContent, a as AgentConnectionNodeRole, b as AgentTool, c as AgentCanvasPresentation, d as AgentMessageBuildArgs, f as AgentMessageConfig, g as AgentMessageTemplate, h as AgentMessageRole, i as AgentConnectionNodeDescriptor, j as NodeBackedToolConfigOptions, k as ChatModelConfig, l as AgentGuardrailConfig, m as AgentMessageLine, n as AgentConnectionCredentialSource, o as McpServerResolver, p as AgentMessageDto, q as CallableToolConfigOptions, r as AgentConnectionNodeCollector, s as AgentAttachmentRole, t as ItemsInputNormalizer, u as AgentGuardrailDefaults, v as AgentModelInvocationOptions, w as AgentToolExecuteArgs, x as AgentToolCall, y as AgentNodeConfig, z as ToolExecuteArgs } from "./ItemsInputNormalizer-C09a7iFP.js";
|
|
5
|
+
export { ActivationIdFactory, AgentAttachmentRole, AgentBindError, AgentCanvasPresentation, AgentConfigInspector, AgentConnectionCredentialSource, AgentConnectionNodeCollector, AgentConnectionNodeDescriptor, AgentConnectionNodeRole, AgentGuardrailConfig, AgentGuardrailDefaults, AgentMcpIntegration, AgentMcpToolMap, AgentMessageBuildArgs, AgentMessageConfig, AgentMessageConfigNormalizer, AgentMessageDto, AgentMessageLine, AgentMessageRole, AgentMessageTemplate, AgentMessageTemplateContent, AgentModelInvocationOptions, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolFactory, AgentToolToken, AgentTurnLimitBehavior, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, AssertionResult, AssertionResultProvenance, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, CallableToolConfigOptions, CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, CallerContext, ChainCursor, ChatLanguageModel, ChatLanguageModelCallOptions, ChatModelConfig, ChatModelFactory, ChildExecutionScopeFactory, Clock, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, CollectionColumnBuilder, CollectionDefinition, CollectionFieldDefinition, CollectionIndexDefinition, CollectionStore, CollectionsContext, ConnectionInvocationAppendArgs, ConnectionInvocationEventPublisher, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationKind, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, ControlPlaneInboxChannelToken, CoreTokens, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryFactory, CostTrackingTelemetryMetricNames, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialProvider, CredentialMaterialRef, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DEFAULT_ASSERTION_PASS_THRESHOLD, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefineBatchNodeOptions, DefineCollectionOptions, DefineCredentialOptions, DefineNodeExecuteArgs, DefineNodeOptions, DefinePollingTriggerExecuteContext, DefinePollingTriggerOptions, DefinePollingTriggerPollContext, DefinePollingTriggerPollResult, DefinePollingTriggerTestItemsContext, DefinedCollection, DefinedCollectionRegistry, DefinedHumanApprovalNode, DefinedNode, DefinedNodeConfigInput, DefinedNodeCredentialAccessors, DefinedNodeCredentialBinding, DefinedNodeCredentialBindings, DefinedNodeRegistry, DefinedNodeRunContext, DefinedPollingTrigger, DefinedPollingTriggerConfig, DependencyContainer, Disposable, Duration, Edge, EngineDeps, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HitlResumeTokenSignerSeam, HitlResumeTokenSignerToken, HitlTimeoutJobSchedulerSeam, HitlTimeoutJobSchedulerToken, HitlWorkspaceIdToken, HttpMethod, HumanApprovalDecisionResult, HumanApprovalOutputJson, HumanTaskActor, HumanTaskHandle, HumanTaskId, HumanTaskRecord, HumanTaskStatus, HumanTaskStore, HumanTaskStoreToken, HumanTaskSubject, IllegalMaterialSourceError, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InboxChannel, InboxChannelResolverSeam, InboxChannelResolverToken, InboxDeliverArgs, InboxDelivery, InboxOnDecisionArgs, InboxOnTimeoutArgs, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, ItemExpr, ItemExprArgs, ItemExprCallback, ItemExprContext, ItemExprResolvedContext, ItemExprResolver, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, Lifecycle, LiveWorkflowRepository, LocalInboxChannelToken, ManagedCredentialMaterialWriteError, ManagedMaterialFetchError, MaterialBundle, McpServerDeclaration, McpServerResolver, McpServerTransport, MultiInputNode, MutableRunData, NeedsReconsentEvent, NoOpAgentMcpIntegration, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpPollingTriggerLogger, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NoRetryPolicy, NodeActivationContinuation, NodeActivationId, NodeActivationReceipt, NodeActivationRequest, NodeActivationRequestBase, NodeActivationScheduler, NodeBackedToolConfig, NodeBackedToolConfigOptions, NodeBackedToolInputMapper, NodeBackedToolInputMapperArgs, NodeBackedToolOutputMapper, NodeBackedToolOutputMapperArgs, NodeBinaryAttachmentService, NodeConfigBase, NodeConnectionName, NodeDefinition, NodeErrorHandler, NodeErrorHandlerArgs, NodeErrorHandlerSpec, NodeEventPublisher, NodeExecutionContext, NodeExecutionError, NodeExecutionRequest, NodeExecutionRequestHandler, NodeExecutionScheduler, NodeExecutionSnapshot, NodeExecutionStatePublisher, NodeExecutionStatus, NodeExecutionTelemetry, NodeExecutor, NodeId, NodeIdRef, NodeIdSlugifier, NodeInputsByPort, NodeInspectorSummaryRow, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputNormalizer, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OAuthFlowCallbackArgs, OAuthFlowExecutor, OAuthFlowStartArgs, OAuthFlowStartResult, OAuthMaterial, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PendingResumeEntry, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedRuntimeTypeDecoratorOptions, PersistedRuntimeTypeKind, PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PollingRunCycleArgs, PollingRunCycleResult, PollingTriggerDedupWindow, PollingTriggerHandle, PollingTriggerLogger, PollingTriggerRuntime, PollingTriggerStartArgs, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, ResumeContext, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunHaltReason, RunId, RunIdFactory, RunIntentService, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunTestContext, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, RunnableOutputBehaviorResolver, SlotExecutionStateDto, StackTraceCallSitePathResolver, StepSequenceOutput, StructuredOutputOptions, SuspensionRequest, SystemClock, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, TestCaseRunStatus, TestSuiteRunId, TestSuiteRunStatus, TestTriggerNodeConfig, TestTriggerSetupContext, 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, WorkItemId, WorkItemStatus, WorkflowActivationPolicy, WorkflowBuilder, WorkflowDefinition, WorkflowDefinitionError, WorkflowDetailSelectionState, WorkflowEdgePortError, WorkflowEdgePortValidationResult, WorkflowEdgePortValidator, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, c, callableTool, chatModel, container, defineBatchNode, defineCollection, defineCredential, defineHumanApprovalNode, defineNode, definePollingTrigger, delay, deriveAssertionPassed, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isHumanApprovalNode, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { t as ItemsInputNormalizer } from "./ItemsInputNormalizer-
|
|
1
|
+
import { C as resolveItemExprsForExecution, S as itemExpr, T as ConnectionNodeIdFactory, _ as NodeIterationIdFactory, a as injectable, b as AgentConfigInspector, c as predicateAwareClassFactory, d as CoreTokens, f as branchRef, g as CredentialUnboundError, h as SuspensionRequest, i as injectAll, l as registry, m as RunFinishedAtFactory, n as delay, o as instanceCachingFactory, p as nodeRef, r as inject, s as instancePerContainerCachingFactory, t as container, u as singleton, v as AgentConnectionNodeCollector, w as resolveItemExprsInUnknown, x as isItemExpr, y as NodeBackedToolConfig } from "./di-DdsgWfVy.js";
|
|
2
|
+
import { t as ItemsInputNormalizer } from "./ItemsInputNormalizer-BhuxvZh5.js";
|
|
3
3
|
import { i as AgentBindError, n as deriveAssertionPassed, r as NoOpAgentMcpIntegration, t as DEFAULT_ASSERTION_PASS_THRESHOLD } from "./contracts-DXdfTdpW.js";
|
|
4
|
-
import { $ as
|
|
4
|
+
import { $ as CostTrackingTelemetryAttributeNames, At as node, Bt as HumanTaskStoreToken, Ct as WhenBuilder, Dt as defineNode, Et as defineBatchNode, Ft as PersistedRuntimeTypeNameResolver, G as AllWorkflowsActiveWorkflowActivationPolicy, H as CodemationTelemetryMetricNames, I as RunnableOutputBehaviorResolver, It as DefinedNodeRegistry, J as NoOpNodeExecutionTelemetry, K as NoOpExecutionTelemetryFactory, L as NodeOutputNormalizer, Lt as HitlResumeTokenSignerToken, Mt as InjectableRuntimeDecoratorComposer, Nt as PersistedRuntimeTypeMetadataStore, Ot as chatModel, Pt as StackTraceCallSitePathResolver, Q as NoOpCostTrackingTelemetry, R as ItemExprResolver, Rt as HitlTimeoutJobSchedulerToken, St as ChainCursor, Tt as isHumanApprovalNode, U as GenAiTelemetryAttributeNames, V as DefaultExecutionContextFactory, W as CodemationTelemetryAttributeNames, X as NoOpTelemetryArtifactReference, Y as NoOpTelemetrySpanScope, Z as NoOpCostTrackingTelemetryFactory, _t as WorkflowExecutableNodeClassifier, a as InMemoryLiveWorkflowRepository, at as isPortsEmission, bt as WorkflowDefinitionError, ct as CredentialResolverFactory, d as PollingTriggerRuntime, dt as DefaultExecutionBinaryService, et as CostTrackingTelemetryMetricNames, f as PollingTriggerDedupWindow, ft as UnavailableBinaryStorage, gt as WorkflowExecutableNodeClassifierFactory, ht as DefaultWorkflowGraphFactory, i as RunIntentService, it as emitPorts, jt as tool, kt as getPersistedRuntimeTypeMetadata, lt as getOriginIndexFromItem, m as InMemoryBinaryStorage, mt as ConnectionInvocationEventPublisher, nt as RetryPolicy, ot as isUnbrandedPortsEmissionShape, p as InMemoryRunDataFactory, pt as NodeEventPublisher, q as NoOpExecutionTelemetry, rt as NoRetryPolicy, st as DefaultAsyncSleeper, tt as ExpRetryPolicy, u as NoOpPollingTriggerLogger, ut as ChildExecutionScopeFactory, vt as ConnectionInvocationIdFactory, wt as defineHumanApprovalNode, xt as NodeIdSlugifier, y as EngineExecutionLimitsPolicy, yt as WorkflowBuilder, z as InProcessRetryRunner, zt as HitlWorkspaceIdToken } from "./runtime-BPZgnZ9G.js";
|
|
5
5
|
import { t as InMemoryRunEventBus } from "./InMemoryRunEventBusRegistry-Bwunvt1T.js";
|
|
6
6
|
import { ZodError, z } from "zod";
|
|
7
7
|
|
|
@@ -13,161 +13,10 @@ var SystemClock = class {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region src/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
this.definitions.set(definition.key, definition);
|
|
21
|
-
}
|
|
22
|
-
static resolve(key) {
|
|
23
|
-
return this.definitions.get(key);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/authoring/defineNode.types.ts
|
|
29
|
-
const definedNodeCredentialRequirementFactory$1 = {
|
|
30
|
-
create(bindings) {
|
|
31
|
-
if (!bindings) return [];
|
|
32
|
-
return Object.entries(bindings).map(([slotKey, binding]) => {
|
|
33
|
-
if (typeof binding === "string" || this.isCredentialType(binding)) return {
|
|
34
|
-
slotKey,
|
|
35
|
-
label: this.humanize(slotKey),
|
|
36
|
-
acceptedTypes: [this.resolveTypeId(binding)]
|
|
37
|
-
};
|
|
38
|
-
const types = Array.isArray(binding.type) ? binding.type : [binding.type];
|
|
39
|
-
return {
|
|
40
|
-
slotKey,
|
|
41
|
-
label: binding.label ?? this.humanize(slotKey),
|
|
42
|
-
acceptedTypes: types.map((entry) => this.resolveTypeId(entry)),
|
|
43
|
-
optional: binding.optional,
|
|
44
|
-
helpText: binding.helpText,
|
|
45
|
-
helpUrl: binding.helpUrl
|
|
46
|
-
};
|
|
47
|
-
});
|
|
48
|
-
},
|
|
49
|
-
isCredentialType(value) {
|
|
50
|
-
return Boolean(value) && typeof value === "object" && "definition" in value && typeof value.definition?.typeId === "string";
|
|
51
|
-
},
|
|
52
|
-
resolveTypeId(type) {
|
|
53
|
-
return typeof type === "string" ? type : type.definition.typeId;
|
|
54
|
-
},
|
|
55
|
-
humanize(key) {
|
|
56
|
-
return key.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[-_.]+/g, " ").replace(/\s+/g, " ").trim().replace(/^./, (character) => character.toUpperCase());
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const definedNodeCredentialAccessorFactory$1 = { create(bindings, ctx) {
|
|
60
|
-
if (!bindings) return {};
|
|
61
|
-
const entries = Object.keys(bindings).map((slotKey) => [slotKey, () => ctx.getCredential(slotKey)]);
|
|
62
|
-
return Object.fromEntries(entries);
|
|
63
|
-
} };
|
|
64
|
-
function defineNode(options) {
|
|
65
|
-
const credentialRequirements = definedNodeCredentialRequirementFactory$1.create(options.credentials);
|
|
66
|
-
const DefinedNodeRuntime = class {
|
|
67
|
-
kind = "node";
|
|
68
|
-
outputPorts = ["main"];
|
|
69
|
-
inputSchema = options.inputSchema;
|
|
70
|
-
async execute(args) {
|
|
71
|
-
const ctx = args.ctx;
|
|
72
|
-
const context = {
|
|
73
|
-
config: ctx.config.config,
|
|
74
|
-
credentials: definedNodeCredentialAccessorFactory$1.create(options.credentials, ctx),
|
|
75
|
-
execution: ctx
|
|
76
|
-
};
|
|
77
|
-
const payload = {
|
|
78
|
-
input: args.input,
|
|
79
|
-
item: args.item,
|
|
80
|
-
itemIndex: args.itemIndex,
|
|
81
|
-
items: args.items,
|
|
82
|
-
ctx
|
|
83
|
-
};
|
|
84
|
-
return await options.execute(payload, context);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
node({ name: options.key })(DefinedNodeRuntime);
|
|
88
|
-
const DefinedRunnableNodeConfig = class {
|
|
89
|
-
kind = "node";
|
|
90
|
-
type = DefinedNodeRuntime;
|
|
91
|
-
icon = options.icon;
|
|
92
|
-
inputSchema = options.inputSchema;
|
|
93
|
-
keepBinaries = options.keepBinaries ?? false;
|
|
94
|
-
constructor(name, config, id) {
|
|
95
|
-
this.name = name;
|
|
96
|
-
this.id = id;
|
|
97
|
-
this.config = config;
|
|
98
|
-
}
|
|
99
|
-
config;
|
|
100
|
-
getCredentialRequirements() {
|
|
101
|
-
return credentialRequirements;
|
|
102
|
-
}
|
|
103
|
-
inspectorSummary() {
|
|
104
|
-
return options.inspectorSummary?.({ config: this.config });
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
const definition = {
|
|
108
|
-
kind: "defined-node",
|
|
109
|
-
key: options.key,
|
|
110
|
-
title: options.title,
|
|
111
|
-
description: options.description,
|
|
112
|
-
create(config, name = options.title, id) {
|
|
113
|
-
return new DefinedRunnableNodeConfig(name, config, id);
|
|
114
|
-
},
|
|
115
|
-
register(context) {
|
|
116
|
-
context.registerNode(DefinedNodeRuntime);
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
DefinedNodeRegistry.register(definition);
|
|
120
|
-
return definition;
|
|
121
|
-
}
|
|
122
|
-
function defineBatchNode(options) {
|
|
123
|
-
const credentialRequirements = definedNodeCredentialRequirementFactory$1.create(options.credentials);
|
|
124
|
-
const DefinedNodeRuntime = class {
|
|
125
|
-
kind = "node";
|
|
126
|
-
outputPorts = ["main"];
|
|
127
|
-
async execute(args) {
|
|
128
|
-
if (args.itemIndex !== args.items.length - 1) return [];
|
|
129
|
-
const ctx = args.ctx;
|
|
130
|
-
const context = {
|
|
131
|
-
config: ctx.config.config,
|
|
132
|
-
credentials: definedNodeCredentialAccessorFactory$1.create(options.credentials, ctx),
|
|
133
|
-
execution: ctx
|
|
134
|
-
};
|
|
135
|
-
return [...await options.run(args.items.map((item) => item.json), context)];
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
node({ name: options.key })(DefinedNodeRuntime);
|
|
139
|
-
const DefinedRunnableNodeConfig = class {
|
|
140
|
-
kind = "node";
|
|
141
|
-
type = DefinedNodeRuntime;
|
|
142
|
-
icon = options.icon;
|
|
143
|
-
constructor(name, config, id) {
|
|
144
|
-
this.name = name;
|
|
145
|
-
this.id = id;
|
|
146
|
-
this.config = config;
|
|
147
|
-
}
|
|
148
|
-
config;
|
|
149
|
-
getCredentialRequirements() {
|
|
150
|
-
return credentialRequirements;
|
|
151
|
-
}
|
|
152
|
-
inspectorSummary() {
|
|
153
|
-
return options.inspectorSummary?.({ config: this.config });
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
const definition = {
|
|
157
|
-
kind: "defined-node",
|
|
158
|
-
key: options.key,
|
|
159
|
-
title: options.title,
|
|
160
|
-
description: options.description,
|
|
161
|
-
create(config, name = options.title, id) {
|
|
162
|
-
return new DefinedRunnableNodeConfig(name, config, id);
|
|
163
|
-
},
|
|
164
|
-
register(context) {
|
|
165
|
-
context.registerNode(DefinedNodeRuntime);
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
DefinedNodeRegistry.register(definition);
|
|
169
|
-
return definition;
|
|
170
|
-
}
|
|
16
|
+
//#region src/contracts/inboxChannelTypes.ts
|
|
17
|
+
const InboxChannelResolverToken = Symbol.for("codemation.core.InboxChannelResolver");
|
|
18
|
+
const LocalInboxChannelToken = Symbol.for("codemation.core.LocalInboxChannel");
|
|
19
|
+
const ControlPlaneInboxChannelToken = Symbol.for("codemation.core.ControlPlaneInboxChannel");
|
|
171
20
|
|
|
172
21
|
//#endregion
|
|
173
22
|
//#region src/authoring/defineCredential.types.ts
|
|
@@ -805,5 +654,53 @@ var WorkflowEdgePortValidator = class {
|
|
|
805
654
|
};
|
|
806
655
|
|
|
807
656
|
//#endregion
|
|
808
|
-
|
|
657
|
+
//#region src/credentials/CredentialMaterialProvider.types.ts
|
|
658
|
+
/**
|
|
659
|
+
* Thrown by a provider when asked to operate on a `ref.source` it does not
|
|
660
|
+
* handle (e.g. the local provider being asked to read `control-plane` bytes).
|
|
661
|
+
* Exported so `instanceof`-checks work across the workspace boundary.
|
|
662
|
+
*/
|
|
663
|
+
var IllegalMaterialSourceError = class extends Error {
|
|
664
|
+
constructor(source, providerName) {
|
|
665
|
+
super(`Provider "${providerName}" cannot handle material source "${source}".`);
|
|
666
|
+
this.source = source;
|
|
667
|
+
this.providerName = providerName;
|
|
668
|
+
this.name = "IllegalMaterialSourceError";
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
//#endregion
|
|
673
|
+
//#region src/credentials/ManagedCredentialMaterialWriteError.ts
|
|
674
|
+
/**
|
|
675
|
+
* Thrown by managed-mode providers when `setMaterial` is called. Managed
|
|
676
|
+
* credential bytes are owned by the control plane; the workspace must not
|
|
677
|
+
* mutate them. See `docs/design/credentials-oauth-unification.md` and
|
|
678
|
+
* `planning/sprints/credentials-vault/02-controlplane-material-provider.md`.
|
|
679
|
+
*/
|
|
680
|
+
var ManagedCredentialMaterialWriteError = class extends Error {
|
|
681
|
+
constructor(message = "managed credentials are owned by the control plane; use the Connected apps page to create or modify them.") {
|
|
682
|
+
super(message);
|
|
683
|
+
this.name = "ManagedCredentialMaterialWriteError";
|
|
684
|
+
}
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
//#endregion
|
|
688
|
+
//#region src/credentials/ManagedMaterialFetchError.ts
|
|
689
|
+
/**
|
|
690
|
+
* Thrown by `ControlPlaneCredentialMaterialProvider` when the control-plane
|
|
691
|
+
* material endpoint returns a non-2xx response or a malformed body. Exposes
|
|
692
|
+
* the HTTP status and the raw error body so call sites can surface actionable
|
|
693
|
+
* detail without parsing strings.
|
|
694
|
+
*/
|
|
695
|
+
var ManagedMaterialFetchError = class extends Error {
|
|
696
|
+
constructor(status, providerErrorBody, message) {
|
|
697
|
+
super(message ?? `Control-plane material fetch failed: HTTP ${status} ${providerErrorBody}`);
|
|
698
|
+
this.status = status;
|
|
699
|
+
this.providerErrorBody = providerErrorBody;
|
|
700
|
+
this.name = "ManagedMaterialFetchError";
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
//#endregion
|
|
705
|
+
export { AgentBindError, AgentConfigInspector, AgentConnectionNodeCollector, AgentGuardrailDefaults, AgentMessageConfigNormalizer, AgentToolFactory, AllWorkflowsActiveWorkflowActivationPolicy, CallableToolConfig, CallableToolFactory, CallableToolKindToken, ChainCursor, ChildExecutionScopeFactory, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationEventPublisher, ConnectionInvocationIdFactory, ConnectionNodeIdFactory, ControlPlaneInboxChannelToken, CoreTokens, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryMetricNames, CredentialResolverFactory, CredentialUnboundError, DEFAULT_ASSERTION_PASS_THRESHOLD, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefinedCollectionRegistry, DefinedNodeRegistry, DefinedPollingTriggerConfig, EngineExecutionLimitsPolicy, EventPublishingWorkflowExecutionRepository, ExpRetryPolicy, GenAiTelemetryAttributeNames, HitlResumeTokenSignerToken, HitlTimeoutJobSchedulerToken, HitlWorkspaceIdToken, HumanTaskStoreToken, IllegalMaterialSourceError, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InboxChannelResolverToken, InjectableRuntimeDecoratorComposer, ItemExprResolver, ItemsInputNormalizer, LocalInboxChannelToken, ManagedCredentialMaterialWriteError, ManagedMaterialFetchError, NoOpAgentMcpIntegration, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpPollingTriggerLogger, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NoRetryPolicy, NodeBackedToolConfig, NodeEventPublisher, NodeIdSlugifier, NodeIterationIdFactory, NodeOutputNormalizer, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PollingTriggerDedupWindow, PollingTriggerRuntime, RetryPolicy, RunFinishedAtFactory, RunIntentService, RunnableOutputBehaviorResolver, StackTraceCallSitePathResolver, SuspensionRequest, SystemClock, UnavailableBinaryStorage, WhenBuilder, WorkflowBuilder, WorkflowDefinitionError, WorkflowEdgePortValidator, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, branchRef, c, callableTool, chatModel, container, defineBatchNode, defineCollection, defineCredential, defineHumanApprovalNode, defineNode, definePollingTrigger, delay, deriveAssertionPassed, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isHumanApprovalNode, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, singleton, tool };
|
|
809
706
|
//# sourceMappingURL=index.js.map
|