@codemation/core 0.13.1 → 0.14.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 +110 -0
- package/dist/{CostCatalogContract-Dxq1BTyi.d.cts → CostCatalogContract-B9aYIqJu.d.cts} +2 -2
- package/dist/{EngineRuntimeRegistration.types-CqcTWexS.d.cts → EngineRuntimeRegistration.types-BYAmGMdS.d.cts} +3 -3
- package/dist/{EngineRuntimeRegistration.types-Cr75cSfL.d.ts → EngineRuntimeRegistration.types-CVLI8DsJ.d.ts} +2 -2
- package/dist/{InMemoryRunDataFactory-Csy2evr_.d.cts → InMemoryRunDataFactory-C3rIszrW.d.cts} +4 -2
- package/dist/{ItemsInputNormalizer-57EdA1ad.cjs → ItemsInputNormalizer-B9SdLG24.cjs} +2 -2
- package/dist/{ItemsInputNormalizer-57EdA1ad.cjs.map → ItemsInputNormalizer-B9SdLG24.cjs.map} +1 -1
- package/dist/{ItemsInputNormalizer-BkSvmfAW.js → ItemsInputNormalizer-CZEODg94.js} +2 -2
- package/dist/{ItemsInputNormalizer-BkSvmfAW.js.map → ItemsInputNormalizer-CZEODg94.js.map} +1 -1
- package/dist/{ItemsInputNormalizer-BWtlwdVI.d.ts → ItemsInputNormalizer-DoOawd9R.d.ts} +10 -2
- package/dist/{ItemsInputNormalizer-pLrWwUAP.d.cts → ItemsInputNormalizer-UCpn7luX.d.cts} +11 -3
- package/dist/{RunIntentService-BitgkKaT.d.cts → RunIntentService-0f3ICjAz.d.cts} +2 -2
- package/dist/{RunIntentService-DYpqfu6D.d.ts → RunIntentService-Dx_HHxDX.d.ts} +2 -2
- package/dist/{agentMcpTypes-DGIwk6Ue.d.cts → agentMcpTypes-B11B3Hd-.d.cts} +8 -1
- package/dist/bootstrap/index.cjs +3 -3
- package/dist/bootstrap/index.d.cts +5 -5
- package/dist/bootstrap/index.d.ts +5 -5
- package/dist/bootstrap/index.js +3 -3
- package/dist/{bootstrap-UDyH8OfK.cjs → bootstrap-Be0LB0nh.cjs} +3 -3
- package/dist/{bootstrap-UDyH8OfK.cjs.map → bootstrap-Be0LB0nh.cjs.map} +1 -1
- package/dist/{bootstrap-DB3jpo8F.js → bootstrap-pSQdsMfa.js} +3 -3
- package/dist/{bootstrap-DB3jpo8F.js.map → bootstrap-pSQdsMfa.js.map} +1 -1
- package/dist/browser.cjs +2 -2
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +2 -2
- package/dist/contracts.d.cts +4 -4
- package/dist/contracts.d.ts +1 -1
- package/dist/{di-D9Mv3kF3.js → di-CEV6wTc4.js} +6 -5
- package/dist/di-CEV6wTc4.js.map +1 -0
- package/dist/{di-C-2ep8NZ.cjs → di-DhwtDRgs.cjs} +6 -5
- package/dist/di-DhwtDRgs.cjs.map +1 -0
- package/dist/{executionPersistenceContracts-CN9d7AnL.d.cts → executionPersistenceContracts-CX9Ql8N1.d.cts} +2 -2
- package/dist/{index-rllWL4r-.d.ts → index-CbJdbIHe.d.ts} +93 -6
- package/dist/{index-C2P-fOAx.d.ts → index-uPnD9EE6.d.ts} +51 -11
- package/dist/index.cjs +20 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +135 -16
- package/dist/index.d.ts +5 -5
- package/dist/index.js +19 -8
- package/dist/index.js.map +1 -1
- package/dist/{params-DRUr0F5v.d.cts → params-Dwl10Ws9.d.cts} +3 -4
- package/dist/{runtime-iHBN1jyD.js → runtime-CSunvf7A.js} +112 -15
- package/dist/runtime-CSunvf7A.js.map +1 -0
- package/dist/{runtime-rrH8-Ouq.cjs → runtime-n2tqRwaf.cjs} +117 -14
- package/dist/runtime-n2tqRwaf.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/ai/AiHost.ts +7 -0
- package/src/ai/NodeBackedToolConfig.ts +2 -0
- package/src/authoring/defineNode.types.ts +18 -7
- package/src/authoring/definePollingTrigger.types.ts +20 -5
- package/src/authoring/index.ts +1 -0
- package/src/authoring/nodeBaseOptions.types.ts +18 -0
- package/src/contracts/itemExpr.ts +15 -11
- package/src/contracts/workflowTypes.ts +7 -0
- package/src/contracts/workspaceFileTypes.ts +42 -2
- package/src/execution/NodeOutputNormalizer.ts +8 -1
- package/src/execution/RunnableOutputBehaviorResolver.ts +12 -0
- package/src/index.ts +10 -2
- package/src/workflow/dsl/ChainCursorResolver.ts +13 -0
- package/src/workflow/dsl/WhenBuilder.ts +66 -2
- package/src/workflow/dsl/workflowBuilderTypes.ts +29 -0
- package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +1 -0
- package/dist/di-C-2ep8NZ.cjs.map +0 -1
- package/dist/di-D9Mv3kF3.js.map +0 -1
- package/dist/runtime-iHBN1jyD.js.map +0 -1
- package/dist/runtime-rrH8-Ouq.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as injectAll, $n as NodeActivationRequest, $r as CodemationTelemetryMetricNames, $t as RunnableNodeConfig, A as RunHaltReason, Ai as CredentialOAuth2ScopesFromPublicConfig, An as BinaryAttachmentCreateRequest, Ar as WorkflowSnapshotResolver, At as JsonValue, B as WorkflowExecutionListingRepository, Bi as CredentialUnboundError, Bn as ExecutableTriggerNode, Br as ExecutionTelemetry, Bt as NodeIterationId, C as PersistedWorkflowSnapshotNode, Ci as CredentialHealthStatus, Cn as triggerNodeOutputType, Cr as TriggerSetupStateRepository, Ct as Item, D as RunCurrentState, Di as CredentialJsonRecord, Dn as NoneRetryPolicySpec, Dr as WorkflowRunnerResolver, Dt as JsonNonArray, E as RunCompletionNotifier, Ei as CredentialInstanceRecord, En as FixedRetryPolicySpec, Er as WorkflowRepository, Et as JsonArray, F as RunStatus, Fi as CredentialSetupStatus, Fn as BinaryStorageWriteRequest, Fr as WebhookTriggerMatcher, Ft as NodeErrorHandler, G as Disposable, Gi as InputPortKey, Gn as HumanTaskHandle, Gr as TelemetryAttributePrimitive, Gt as NodeSchedulerDecision, H as WorkflowExecutionRepository, Hi as NoOpPollingTriggerLogger, Hn as ExecutionContext, Hr as NodeExecutionTelemetry, Ht as NodeOffloadPolicy, I as RunStopCondition, Ii as CredentialType, In as BinaryStorageWriteResult, Ir as WebhookTriggerResolution, It as NodeErrorHandlerArgs, J as RegistrationOptions, Ji as OutputPortKey, Jn as ItemNode, Jr as TelemetryMetricRecord, Jt as PersistedRunPolicySnapshot, K as InjectionToken, Ki as NodeConnectionName, Kn as HumanTaskId, Kr as TelemetryAttributes, Kt as PairedItemRef, L as RunSummary, Li as CredentialTypeDefinition, Ln as Duration, Lr as WebhookTriggerRoutingDiagnostics, Lt as NodeErrorHandlerSpec, M as RunQueueEntry, Mi as CredentialSessionFactory, Mn as BinaryStorage, Mr as TriggerInstanceId, Mt as NodeActivationId, N as RunResult, Ni as CredentialSessionFactoryArgs, Nn as BinaryStorageReadResult, Nr as WebhookControlSignal, Nt as NodeConfigBase, O as RunEventPublisherDeps, Oi as CredentialMaterialSourceKind, On as RetryPolicySpec, Or as WorkflowRunnerService, Ot as JsonObject, P as RunStateResetRequest, Pi as CredentialSessionService, Pn as BinaryStorageStatResult, Pr as WebhookInvocationMatch, Pt as NodeDefinition, Q as inject, Qn as NodeActivationReceipt, Qr as TelemetrySpanScope, Qt as RunIdFactory, R as RunTestContext, Ri as CredentialTypeId, Rn as EngineDeps, Rr as AllWorkflowsActiveWorkflowActivationPolicy, Rt as NodeIdRef, S as PersistedWorkflowSnapshot, Si as CredentialHealth, Sn as runnableNodeOutputType, Sr as TriggerSetupStateFor, St as ExecutionMode, T as PinnedNodeOutputsByPort, Ti as CredentialInstanceId, Tn as ExponentialRetryPolicySpec, Tr as WorkflowNodeInstanceFactory, Tt as Items, U as Container, Ui as PollingTriggerLogger, Un as ExecutionContextFactory, Ur as TelemetryArtifactAttachment, Ut as NodeOutputs, V as WorkflowExecutionPruneRepository, Vi as OAuth2ProviderFromPublicConfig, Vn as ExecutionBinaryService, Vr as ExecutionTelemetryFactory, Vt as NodeKind, W as DependencyContainer, Wi as PollingTriggerDedupWindow, Wn as HumanTaskActor, Wr as TelemetryArtifactReference, Wt as NodeRef, X as container, Xi as WorkflowId, Xn as MultiInputNode, Xr as TelemetrySpanEnd, Xt as RunDataSnapshot, Y as TypeToken, Yi as PersistedTokenId, Yn as LiveWorkflowRepository, Yr as TelemetryScope, Yt as RunDataFactory, Z as delay, Zn as NodeActivationContinuation, Zr as TelemetrySpanEventRecord, Zt as RunId, _ as PersistedMutableRunState, _i as CredentialAdvancedSectionPresentation, _n as WorkflowStoragePolicyResolver, _r as TestableTriggerNode, _t as TestTriggerSetupContext, a as ConnectionInvocationId, ai as NoOpTelemetrySpanScope, an as UpstreamRefPlaceholder, ar as NodeExecutionRequestHandler, at as singleton, b as PersistedRunState, bi as CredentialBindingKey, bn as nodeRef, br as TriggerRuntimeDiagnostics, bt as BinaryPreviewKind, c as EngineRunCounters, ci as CostTrackingPriceQuote, cn as WorkflowErrorHandler, cr as NodeExecutor, ct as EngineExecutionLimitsPolicy, d as NodeExecutionSnapshot, di as CostTrackingTelemetryFactory, dn as WorkflowGraphFactory, dr as PollingTriggerHandle, dt as RunEventBus, ei as GenAiTelemetryAttributeNames, en as RunnableNodeInputJson, er as NodeActivationRequestBase, et as injectable, f as NodeExecutionStatus, fi as CostTrackingTelemetryMetricNames, fn as WorkflowNodeConnection, fr as PreparedNodeActivationDispatch, ft as RunEventSubscription, g as PersistedMutableNodeState, gi as AnyCredentialType, gn as WorkflowStoragePolicyMode, gr as SuspensionRequest, gt as TestTriggerNodeConfig, h as PendingResumeEntry, hi as CollectionsContext, hn as WorkflowStoragePolicyDecisionArgs, hr as RunnableNodeExecuteArgs, ht as TestSuiteRunId, i as ConnectionInvocationAppendArgs, ii as NoOpNodeExecutionTelemetry, in as TriggerNodeSetupState, ir as NodeExecutionRequest, it as registry, j as RunPruneCandidate, ji as CredentialRequirement, jn as BinaryBody, jr as HttpMethod, jt as MutableRunData, k as RunExecutionOptions, ki as CredentialOAuth2AuthDefinition, kn as BINARY_DEFAULT_MAX_BYTES, kr as WorkflowSnapshotFactory, kt as JsonPrimitive, l as ExecutionFrontierPlan, li as CostTrackingTelemetry, ln as WorkflowErrorHandlerSpec, lr as NodeResolver, lt as EngineExecutionLimitsPolicyConfig, m as PendingNodeExecution, mi as CollectionStore, mn as WorkflowPrunePolicySpec, mr as RunnableNode, mt as TestSuiteRunStatus, n as AgentMcpToolMap, ni as NoOpExecutionTelemetryFactory, nn as TriggerNodeConfig, nr as NodeBinaryAttachmentService, nt as instancePerContainerCachingFactory, o as ConnectionInvocationRecord, oi as NoOpTelemetryArtifactReference, on as WorkflowDefinition, or as NodeExecutionScheduler, ot as CoreTokens, p as NodeInputsByPort, pi as CostTrackingUsageRecord, pn as WorkflowPolicyRuntimeDefaults, pr as ResumeContext, pt as TestCaseRunStatus, q as Lifecycle, qi as NodeId, qn as HumanTaskSubject, qr as TelemetryChildSpanStart, qt as ParentExecutionRef, r as NeedsReconsentEvent, ri as NoOpExecutionTelemetry, rn as TriggerNodeOutputJson, rr as NodeExecutionContext, rt as predicateAwareClassFactory, s as CurrentStateExecutionRequest, si as CostTrackingComponent, sn as WorkflowErrorContext, sr as NodeExecutionStatePublisher, t as AgentMcpIntegration, ti as CodemationTelemetryAttributeNames, tn as RunnableNodeOutputJson, tr as NodeActivationScheduler, tt as instanceCachingFactory, u as NodeExecutionError, ui as CostTrackingTelemetryAttributeNames, un as WorkflowGraph, ur as PersistedTriggerSetupState, ut as RunEvent, v as PersistedRunControlState, vi as CredentialAuthDefinition, vn as WorkflowStoragePolicySpec, vr as TriggerCleanupHandle, vt as ActivationIdFactory, w as PersistedWorkflowTokenRegistryLike, wi as CredentialHealthTester, wn as triggerNodeSetupStateType, wr as TriggerTestItemsContext, wt as ItemBinary, x as PersistedSuspensionEntry, xi as CredentialFieldSchema, xn as runnableNodeInputType, xr as TriggerSetupContext, xt as Edge, y as PersistedRunSchedulingState, yi as CredentialBinding, yn as branchRef, yr as TriggerNode, yt as BinaryAttachment, z as WebhookRunResult, zi as CredentialTypeRegistry, zn as EngineHost, zr as WorkflowActivationPolicy, zt as NodeInspectorSummaryRow } from "./agentMcpTypes-
|
|
2
|
-
import { C as deriveAssertionPassed, S as DEFAULT_ASSERTION_PASS_THRESHOLD, T as AgentBindError, _ as WorkItemStatus, a as ExecutionPayloadPolicyFields, b as AssertionResult, c as PersistedExecutionInstanceRecord, d as PersistedRunWorkItemRecord, f as RunIterationDto, g as WorkItemId, h as SlotExecutionStateDto, i as ExecutionInstanceId, l as PersistedRunSlotProjectionRecord, m as RunSlotProjectionState, n as ConnectionInvocationKind, o as PayloadStorageKind, p as RunRevision, r as ExecutionInstanceDto, s as PersistedExecutionInstanceKind, t as BatchId, u as PersistedRunWorkItemKind, v as WorkflowDetailSelectionState, w as NoOpAgentMcpIntegration, x as AssertionResultProvenance, y as WorkflowRunDetailDto } from "./executionPersistenceContracts-
|
|
3
|
-
import { a as ItemExprArgs, c as ItemExprResolvedContext, d as resolveItemExprsForExecution, f as resolveItemExprsInUnknown, i as ItemExpr, l as isItemExpr, n as Param, o as ItemExprCallback, r as ParamDeep, s as ItemExprContext, t as Expr, u as itemExpr } from "./params-
|
|
4
|
-
import { n as CostCatalogEntry, t as CostCatalog } from "./CostCatalogContract-
|
|
5
|
-
import { $ as McpServerDeclaration, 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, Q as RunFinishedAtFactory, R as ToolConfig, S as AgentToolCallPlanner, T as AgentToolToken, U as AgentToolFactory, V as AgentConfigInspector, W as CallableToolKindToken, X as NodeIterationIdFactory, Y as NodeBackedToolConfig, Z as ConnectionNodeIdFactory, _ as AgentMessageTemplateContent, a as AgentConnectionNodeRole, b as AgentTool, c as AgentCanvasPresentation, d as AgentMessageBuildArgs, et as McpServerTransport, 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-
|
|
6
|
-
import { n as InMemoryLiveWorkflowRepository, t as RunIntentService } from "./RunIntentService-
|
|
7
|
-
import { _ as HumanTaskRecord, a as ItemExprResolver, b as HumanTaskStoreToken, c as DefaultAsyncSleeper, d as UnavailableBinaryStorage, f as HitlResumeTokenSignerSeam, g as HitlWorkspaceIdToken, h as HitlTimeoutJobSchedulerToken, i as RunnableOutputBehaviorResolver, m as HitlTimeoutJobSchedulerSeam, n as InMemoryBinaryStorage, o as InProcessRetryRunner, p as HitlResumeTokenSignerToken, r as RunnableOutputBehavior, s as DefaultExecutionContextFactory, t as InMemoryRunDataFactory, u as DefaultExecutionBinaryService, v as HumanTaskStatus, x as CredentialResolverFactory, y as HumanTaskStore } from "./InMemoryRunDataFactory-
|
|
1
|
+
import { $ as injectAll, $n as NodeActivationRequest, $r as CodemationTelemetryMetricNames, $t as RunnableNodeConfig, A as RunHaltReason, Ai as CredentialOAuth2ScopesFromPublicConfig, An as BinaryAttachmentCreateRequest, Ar as WorkflowSnapshotResolver, At as JsonValue, B as WorkflowExecutionListingRepository, Bi as CredentialUnboundError, Bn as ExecutableTriggerNode, Br as ExecutionTelemetry, Bt as NodeIterationId, C as PersistedWorkflowSnapshotNode, Ci as CredentialHealthStatus, Cn as triggerNodeOutputType, Cr as TriggerSetupStateRepository, Ct as Item, D as RunCurrentState, Di as CredentialJsonRecord, Dn as NoneRetryPolicySpec, Dr as WorkflowRunnerResolver, Dt as JsonNonArray, E as RunCompletionNotifier, Ei as CredentialInstanceRecord, En as FixedRetryPolicySpec, Er as WorkflowRepository, Et as JsonArray, F as RunStatus, Fi as CredentialSetupStatus, Fn as BinaryStorageWriteRequest, Fr as WebhookTriggerMatcher, Ft as NodeErrorHandler, G as Disposable, Gi as InputPortKey, Gn as HumanTaskHandle, Gr as TelemetryAttributePrimitive, Gt as NodeSchedulerDecision, H as WorkflowExecutionRepository, Hi as NoOpPollingTriggerLogger, Hn as ExecutionContext, Hr as NodeExecutionTelemetry, Ht as NodeOffloadPolicy, I as RunStopCondition, Ii as CredentialType, In as BinaryStorageWriteResult, Ir as WebhookTriggerResolution, It as NodeErrorHandlerArgs, J as RegistrationOptions, Ji as OutputPortKey, Jn as ItemNode, Jr as TelemetryMetricRecord, Jt as PersistedRunPolicySnapshot, K as InjectionToken, Ki as NodeConnectionName, Kn as HumanTaskId, Kr as TelemetryAttributes, Kt as PairedItemRef, L as RunSummary, Li as CredentialTypeDefinition, Ln as Duration, Lr as WebhookTriggerRoutingDiagnostics, Lt as NodeErrorHandlerSpec, M as RunQueueEntry, Mi as CredentialSessionFactory, Mn as BinaryStorage, Mr as TriggerInstanceId, Mt as NodeActivationId, N as RunResult, Ni as CredentialSessionFactoryArgs, Nn as BinaryStorageReadResult, Nr as WebhookControlSignal, Nt as NodeConfigBase, O as RunEventPublisherDeps, Oi as CredentialMaterialSourceKind, On as RetryPolicySpec, Or as WorkflowRunnerService, Ot as JsonObject, P as RunStateResetRequest, Pi as CredentialSessionService, Pn as BinaryStorageStatResult, Pr as WebhookInvocationMatch, Pt as NodeDefinition, Q as inject, Qn as NodeActivationReceipt, Qr as TelemetrySpanScope, Qt as RunIdFactory, R as RunTestContext, Ri as CredentialTypeId, Rn as EngineDeps, Rr as AllWorkflowsActiveWorkflowActivationPolicy, Rt as NodeIdRef, S as PersistedWorkflowSnapshot, Si as CredentialHealth, Sn as runnableNodeOutputType, Sr as TriggerSetupStateFor, St as ExecutionMode, T as PinnedNodeOutputsByPort, Ti as CredentialInstanceId, Tn as ExponentialRetryPolicySpec, Tr as WorkflowNodeInstanceFactory, Tt as Items, U as Container, Ui as PollingTriggerLogger, Un as ExecutionContextFactory, Ur as TelemetryArtifactAttachment, Ut as NodeOutputs, V as WorkflowExecutionPruneRepository, Vi as OAuth2ProviderFromPublicConfig, Vn as ExecutionBinaryService, Vr as ExecutionTelemetryFactory, Vt as NodeKind, W as DependencyContainer, Wi as PollingTriggerDedupWindow, Wn as HumanTaskActor, Wr as TelemetryArtifactReference, Wt as NodeRef, X as container, Xi as WorkflowId, Xn as MultiInputNode, Xr as TelemetrySpanEnd, Xt as RunDataSnapshot, Y as TypeToken, Yi as PersistedTokenId, Yn as LiveWorkflowRepository, Yr as TelemetryScope, Yt as RunDataFactory, Z as delay, Zn as NodeActivationContinuation, Zr as TelemetrySpanEventRecord, Zt as RunId, _ as PersistedMutableRunState, _i as CredentialAdvancedSectionPresentation, _n as WorkflowStoragePolicyResolver, _r as TestableTriggerNode, _t as TestTriggerSetupContext, a as ConnectionInvocationId, ai as NoOpTelemetrySpanScope, an as UpstreamRefPlaceholder, ar as NodeExecutionRequestHandler, at as singleton, b as PersistedRunState, bi as CredentialBindingKey, bn as nodeRef, br as TriggerRuntimeDiagnostics, bt as BinaryPreviewKind, c as EngineRunCounters, ci as CostTrackingPriceQuote, cn as WorkflowErrorHandler, cr as NodeExecutor, ct as EngineExecutionLimitsPolicy, d as NodeExecutionSnapshot, di as CostTrackingTelemetryFactory, dn as WorkflowGraphFactory, dr as PollingTriggerHandle, dt as RunEventBus, ei as GenAiTelemetryAttributeNames, en as RunnableNodeInputJson, er as NodeActivationRequestBase, et as injectable, f as NodeExecutionStatus, fi as CostTrackingTelemetryMetricNames, fn as WorkflowNodeConnection, fr as PreparedNodeActivationDispatch, ft as RunEventSubscription, g as PersistedMutableNodeState, gi as AnyCredentialType, gn as WorkflowStoragePolicyMode, gr as SuspensionRequest, gt as TestTriggerNodeConfig, h as PendingResumeEntry, hi as CollectionsContext, hn as WorkflowStoragePolicyDecisionArgs, hr as RunnableNodeExecuteArgs, ht as TestSuiteRunId, i as ConnectionInvocationAppendArgs, ii as NoOpNodeExecutionTelemetry, in as TriggerNodeSetupState, ir as NodeExecutionRequest, it as registry, j as RunPruneCandidate, ji as CredentialRequirement, jn as BinaryBody, jr as HttpMethod, jt as MutableRunData, k as RunExecutionOptions, ki as CredentialOAuth2AuthDefinition, kn as BINARY_DEFAULT_MAX_BYTES, kr as WorkflowSnapshotFactory, kt as JsonPrimitive, l as ExecutionFrontierPlan, li as CostTrackingTelemetry, ln as WorkflowErrorHandlerSpec, lr as NodeResolver, lt as EngineExecutionLimitsPolicyConfig, m as PendingNodeExecution, mi as CollectionStore, mn as WorkflowPrunePolicySpec, mr as RunnableNode, mt as TestSuiteRunStatus, n as AgentMcpToolMap, ni as NoOpExecutionTelemetryFactory, nn as TriggerNodeConfig, nr as NodeBinaryAttachmentService, nt as instancePerContainerCachingFactory, o as ConnectionInvocationRecord, oi as NoOpTelemetryArtifactReference, on as WorkflowDefinition, or as NodeExecutionScheduler, ot as CoreTokens, p as NodeInputsByPort, pi as CostTrackingUsageRecord, pn as WorkflowPolicyRuntimeDefaults, pr as ResumeContext, pt as TestCaseRunStatus, q as Lifecycle, qi as NodeId, qn as HumanTaskSubject, qr as TelemetryChildSpanStart, qt as ParentExecutionRef, r as NeedsReconsentEvent, ri as NoOpExecutionTelemetry, rn as TriggerNodeOutputJson, rr as NodeExecutionContext, rt as predicateAwareClassFactory, s as CurrentStateExecutionRequest, si as CostTrackingComponent, sn as WorkflowErrorContext, sr as NodeExecutionStatePublisher, t as AgentMcpIntegration, ti as CodemationTelemetryAttributeNames, tn as RunnableNodeOutputJson, tr as NodeActivationScheduler, tt as instanceCachingFactory, u as NodeExecutionError, ui as CostTrackingTelemetryAttributeNames, un as WorkflowGraph, ur as PersistedTriggerSetupState, ut as RunEvent, v as PersistedRunControlState, vi as CredentialAuthDefinition, vn as WorkflowStoragePolicySpec, vr as TriggerCleanupHandle, vt as ActivationIdFactory, w as PersistedWorkflowTokenRegistryLike, wi as CredentialHealthTester, wn as triggerNodeSetupStateType, wr as TriggerTestItemsContext, wt as ItemBinary, x as PersistedSuspensionEntry, xi as CredentialFieldSchema, xn as runnableNodeInputType, xr as TriggerSetupContext, xt as Edge, y as PersistedRunSchedulingState, yi as CredentialBinding, yn as branchRef, yr as TriggerNode, yt as BinaryAttachment, z as WebhookRunResult, zi as CredentialTypeRegistry, zn as EngineHost, zr as WorkflowActivationPolicy, zt as NodeInspectorSummaryRow } from "./agentMcpTypes-B11B3Hd-.cjs";
|
|
2
|
+
import { C as deriveAssertionPassed, S as DEFAULT_ASSERTION_PASS_THRESHOLD, T as AgentBindError, _ as WorkItemStatus, a as ExecutionPayloadPolicyFields, b as AssertionResult, c as PersistedExecutionInstanceRecord, d as PersistedRunWorkItemRecord, f as RunIterationDto, g as WorkItemId, h as SlotExecutionStateDto, i as ExecutionInstanceId, l as PersistedRunSlotProjectionRecord, m as RunSlotProjectionState, n as ConnectionInvocationKind, o as PayloadStorageKind, p as RunRevision, r as ExecutionInstanceDto, s as PersistedExecutionInstanceKind, t as BatchId, u as PersistedRunWorkItemKind, v as WorkflowDetailSelectionState, w as NoOpAgentMcpIntegration, x as AssertionResultProvenance, y as WorkflowRunDetailDto } from "./executionPersistenceContracts-CX9Ql8N1.cjs";
|
|
3
|
+
import { a as ItemExprArgs, c as ItemExprResolvedContext, d as resolveItemExprsForExecution, f as resolveItemExprsInUnknown, i as ItemExpr, l as isItemExpr, n as Param, o as ItemExprCallback, r as ParamDeep, s as ItemExprContext, t as Expr, u as itemExpr } from "./params-Dwl10Ws9.cjs";
|
|
4
|
+
import { n as CostCatalogEntry, t as CostCatalog } from "./CostCatalogContract-B9aYIqJu.cjs";
|
|
5
|
+
import { $ as McpServerDeclaration, 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, Q as RunFinishedAtFactory, R as ToolConfig, S as AgentToolCallPlanner, T as AgentToolToken, U as AgentToolFactory, V as AgentConfigInspector, W as CallableToolKindToken, X as NodeIterationIdFactory, Y as NodeBackedToolConfig, Z as ConnectionNodeIdFactory, _ as AgentMessageTemplateContent, a as AgentConnectionNodeRole, b as AgentTool, c as AgentCanvasPresentation, d as AgentMessageBuildArgs, et as McpServerTransport, 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-UCpn7luX.cjs";
|
|
6
|
+
import { n as InMemoryLiveWorkflowRepository, t as RunIntentService } from "./RunIntentService-0f3ICjAz.cjs";
|
|
7
|
+
import { _ as HumanTaskRecord, a as ItemExprResolver, b as HumanTaskStoreToken, c as DefaultAsyncSleeper, d as UnavailableBinaryStorage, f as HitlResumeTokenSignerSeam, g as HitlWorkspaceIdToken, h as HitlTimeoutJobSchedulerToken, i as RunnableOutputBehaviorResolver, m as HitlTimeoutJobSchedulerSeam, n as InMemoryBinaryStorage, o as InProcessRetryRunner, p as HitlResumeTokenSignerToken, r as RunnableOutputBehavior, s as DefaultExecutionContextFactory, t as InMemoryRunDataFactory, u as DefaultExecutionBinaryService, v as HumanTaskStatus, x as CredentialResolverFactory, y as HumanTaskStore } from "./InMemoryRunDataFactory-C3rIszrW.cjs";
|
|
8
8
|
import { ZodType, z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/contracts/emitPorts.d.ts
|
|
@@ -66,6 +66,26 @@ declare class NoOpCostTrackingTelemetryFactory implements CostTrackingTelemetryF
|
|
|
66
66
|
}>): CostTrackingTelemetry;
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
|
+
//#region src/authoring/nodeBaseOptions.types.d.ts
|
|
70
|
+
/**
|
|
71
|
+
* Core-local copy of the per-instance authoring options every `define*` factory's `create(...)`
|
|
72
|
+
* accepts in its trailing argument: a stable `id` plus a plain-language `description` (the
|
|
73
|
+
* non-technical "what does this step do" line surfaced in the node sidebar).
|
|
74
|
+
*
|
|
75
|
+
* `description` is a first-class option — passed inline exactly like `id` — and is threaded onto
|
|
76
|
+
* the config instance as an OWN ENUMERABLE field so it flows into the persisted workflow snapshot
|
|
77
|
+
* (`WorkflowSnapshotCodec` serializes via `JSON.parse(JSON.stringify(config))`, which only captures
|
|
78
|
+
* own enumerable properties — never a getter).
|
|
79
|
+
*
|
|
80
|
+
* `@codemation/core-nodes` declares an identical `NodeBaseOptions` for its bare-id built-in nodes;
|
|
81
|
+
* core keeps its own copy because core must not depend on `@codemation/core-nodes` (dependency
|
|
82
|
+
* direction). The two types are structurally identical by design.
|
|
83
|
+
*/
|
|
84
|
+
interface NodeBaseOptions {
|
|
85
|
+
readonly id?: string;
|
|
86
|
+
readonly description?: string;
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
69
89
|
//#region src/authoring/defineNode.types.d.ts
|
|
70
90
|
type MaybePromise$2<TValue> = TValue | Promise<TValue>;
|
|
71
91
|
type ResolvableCredentialType = AnyCredentialType | CredentialTypeId;
|
|
@@ -106,7 +126,7 @@ interface DefinedNode<TKey$1 extends string, TConfig$1 extends CredentialJsonRec
|
|
|
106
126
|
readonly key: TKey$1;
|
|
107
127
|
readonly title: string;
|
|
108
128
|
readonly description?: string;
|
|
109
|
-
create<TConfigItemJson = TInputJson>(config: DefinedNodeConfigInput<TConfig$1, TConfigItemJson>, name?: string,
|
|
129
|
+
create<TConfigItemJson = TInputJson>(config: DefinedNodeConfigInput<TConfig$1, TConfigItemJson>, name?: string, idOrOptions?: string | NodeBaseOptions): RunnableNodeConfig<TInputJson, TOutputJson>;
|
|
110
130
|
register(context: {
|
|
111
131
|
registerNode<TValue>(token: TypeToken<TValue>, implementation?: TypeToken<TValue>): void;
|
|
112
132
|
}): void;
|
|
@@ -305,6 +325,31 @@ declare function defineHumanApprovalNode<TKey$1 extends string, TConfig$1 extend
|
|
|
305
325
|
}): DefinedHumanApprovalNode<TKey$1, TConfig$1, TInputJson, TBindings>;
|
|
306
326
|
//#endregion
|
|
307
327
|
//#region src/workflow/dsl/workflowBuilderTypes.d.ts
|
|
328
|
+
/**
|
|
329
|
+
* Flags a node's config so its output is MERGED onto `item.json` (shallow, output-wins) instead of
|
|
330
|
+
* replacing it — the config-level twin of {@link ChainCursor.thenMerge}.
|
|
331
|
+
*
|
|
332
|
+
* Unlike `.thenMerge` (a cursor method that only works on the trunk), `mergeForward` operates on a
|
|
333
|
+
* bare config, so it is usable in ANY position — including inside a `.when({ true: [...] })` branch
|
|
334
|
+
* arm, where the steps are a flat array of configs (not a cursor). Wrap a payload-REPLACING node
|
|
335
|
+
* (e.g. an extractor) in `mergeForward(node.create(...))` so prior fields survive into the next step.
|
|
336
|
+
*
|
|
337
|
+
* The OUTPUT type becomes `TIn & TOut` (the intersection), mirroring `.thenMerge`'s return type at
|
|
338
|
+
* the config level — so the next step in the branch array sees both the prior fields and the node's
|
|
339
|
+
* output. The INPUT type stays `TIn` (the node still receives the pre-merge item).
|
|
340
|
+
*
|
|
341
|
+
* @example
|
|
342
|
+
* ```ts
|
|
343
|
+
* workflow
|
|
344
|
+
* .trigger(...)
|
|
345
|
+
* .when({
|
|
346
|
+
* true: [mergeForward(extractor.create(...))], // output merges onto item.json; { a } survives
|
|
347
|
+
* false: [...],
|
|
348
|
+
* })
|
|
349
|
+
* .build();
|
|
350
|
+
* ```
|
|
351
|
+
*/
|
|
352
|
+
declare function mergeForward<TIn, TOut>(config: RunnableNodeConfig<TIn, TOut>): RunnableNodeConfig<TIn, TIn & TOut>;
|
|
308
353
|
type AnyRunnableNodeConfig = RunnableNodeConfig<any, any>;
|
|
309
354
|
type AnyTriggerNodeConfig = TriggerNodeConfig<any>;
|
|
310
355
|
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;
|
|
@@ -319,14 +364,44 @@ type BooleanWhenOverloads<TCurrentJson, TReturn> = {
|
|
|
319
364
|
};
|
|
320
365
|
//#endregion
|
|
321
366
|
//#region src/workflow/dsl/WhenBuilder.d.ts
|
|
367
|
+
/** Structurally identical to ChainCursorResolver's (unexported) ChainCursorEndpoint. */
|
|
368
|
+
type WhenEndpoint = Readonly<{
|
|
369
|
+
node: NodeRef;
|
|
370
|
+
output: OutputPortKey;
|
|
371
|
+
inputPortHint?: InputPortKey;
|
|
372
|
+
}>;
|
|
322
373
|
declare class WhenBuilder<TCurrentJson> {
|
|
323
374
|
private readonly wf;
|
|
324
375
|
private readonly from;
|
|
325
376
|
private readonly branchPort;
|
|
326
|
-
|
|
377
|
+
/** Tails of arms added by earlier `.when(...)` calls in this chain. */
|
|
378
|
+
private readonly priorEndpoints;
|
|
379
|
+
/** Tail endpoint of the arm this builder added (set by addBranch). */
|
|
380
|
+
private armEndpoint;
|
|
381
|
+
constructor(wf: WorkflowBuilder, from: NodeRef, branchPort: OutputPortKey, /** Tails of arms added by earlier `.when(...)` calls in this chain. */
|
|
382
|
+
priorEndpoints?: ReadonlyArray<WhenEndpoint>);
|
|
327
383
|
addBranch<TSteps extends ReadonlyArray<AnyRunnableNodeConfig>>(steps: TSteps & ValidStepSequence<TCurrentJson, TSteps>): this;
|
|
328
384
|
readonly when: BooleanWhenOverloads<TCurrentJson, WhenBuilder<TCurrentJson>>;
|
|
385
|
+
/**
|
|
386
|
+
* Continue the trunk after a boolean `.when(...)` branch chain, auto-merging EVERY branch
|
|
387
|
+
* tail accumulated across the chain into the next node — the same fan-in the object form
|
|
388
|
+
* produces. Typed as `ChainCursor<TCurrentJson>` (the pre-branch item type): boolean arms
|
|
389
|
+
* carry no output guard so the merged item type is underdetermined — use the object form
|
|
390
|
+
* `.when({ true: [...], false: [...] })` when you need a precise merged type inline.
|
|
391
|
+
*/
|
|
392
|
+
then<TOutputJson, TConfig$1 extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig$1): ChainCursor<RunnableNodeOutputJson<TConfig$1>>;
|
|
393
|
+
/**
|
|
394
|
+
* Chainable human-approval step after a boolean `.when(...)` branch chain — merges every
|
|
395
|
+
* branch tail into the approval node. Mirrors `ChainCursor.humanApproval`.
|
|
396
|
+
*/
|
|
397
|
+
humanApproval<TKey$1 extends string, TConfig$1 extends Record<string, unknown>, TBindings extends DefinedNodeCredentialBindings | undefined = undefined>(node: DefinedHumanApprovalNode<TKey$1, TConfig$1, TCurrentJson & Record<string, unknown>, TBindings>, config: TConfig$1, metadata?: {
|
|
398
|
+
name?: string;
|
|
399
|
+
nodeId?: string;
|
|
400
|
+
}): ChainCursor<HumanApprovalOutputJson<TCurrentJson & Record<string, unknown>>>;
|
|
329
401
|
build(): WorkflowDefinition;
|
|
402
|
+
/** Endpoints of every arm added so far in this chain (prior arms + this one). */
|
|
403
|
+
private get accumulatedEndpoints();
|
|
404
|
+
private toCursor;
|
|
330
405
|
}
|
|
331
406
|
//#endregion
|
|
332
407
|
//#region src/workflow/dsl/ChainCursorResolver.d.ts
|
|
@@ -346,6 +421,12 @@ declare class ChainCursor<TCurrentJson> {
|
|
|
346
421
|
private readonly endpoints;
|
|
347
422
|
constructor(wf: WorkflowBuilder, endpoints: ReadonlyArray<ChainCursorEndpoint>);
|
|
348
423
|
then<TOutputJson, TConfig$1 extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig$1): ChainCursor<RunnableNodeOutputJson<TConfig$1>>;
|
|
424
|
+
/**
|
|
425
|
+
* Append a step whose output is MERGED onto `item.json` (shallow, output-wins) instead of
|
|
426
|
+
* replacing it — so earlier fields (e.g. trigger metadata) survive a transform/OCR/extraction
|
|
427
|
+
* node. Use for any node in a pipeline where you need data from before it.
|
|
428
|
+
*/
|
|
429
|
+
thenMerge<TOutputJson, TConfig$1 extends RunnableNodeConfig<TCurrentJson, TOutputJson>>(config: TConfig$1): ChainCursor<TCurrentJson & RunnableNodeOutputJson<TConfig$1>>;
|
|
349
430
|
thenIntoInputHints<TOutputJson, TConfig$1 extends RunnableNodeConfig<any, TOutputJson>>(config: TConfig$1): ChainCursor<RunnableNodeOutputJson<TConfig$1>>;
|
|
350
431
|
readonly when: ChainCursorWhenOverloads<TCurrentJson>;
|
|
351
432
|
route<TNextJson$1>(branches: Readonly<Record<OutputPortKey, (branch: ChainCursor<TCurrentJson>) => ChainCursor<TNextJson$1> | undefined>>): ChainCursor<TNextJson$1>;
|
|
@@ -730,9 +811,10 @@ interface DefinedPollingTrigger<TKey$1 extends string, TConfig$1 extends Credent
|
|
|
730
811
|
* Create the trigger config for use in workflow definitions.
|
|
731
812
|
* @param cfg - User-facing trigger configuration.
|
|
732
813
|
* @param name - Display name (defaults to `title`).
|
|
733
|
-
* @param
|
|
814
|
+
* @param idOrOptions - Optional stable node id, or `{ id?, description? }` authoring options
|
|
815
|
+
* (a bare string id still works — back-compat).
|
|
734
816
|
*/
|
|
735
|
-
create(cfg: TConfig$1, name?: string,
|
|
817
|
+
create(cfg: TConfig$1, name?: string, idOrOptions?: string | NodeBaseOptions): DefinedPollingTriggerConfig<TConfig$1, TItemJson>;
|
|
736
818
|
/**
|
|
737
819
|
* Test seam: call `poll` directly without starting the runtime.
|
|
738
820
|
* Returns `{ items, nextState }` just like the real runtime receives.
|
|
@@ -755,12 +837,13 @@ declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord
|
|
|
755
837
|
readonly name: string;
|
|
756
838
|
readonly cfg: TConfig$1;
|
|
757
839
|
private readonly credentialRequirements;
|
|
758
|
-
readonly id?: string | undefined;
|
|
759
840
|
private readonly inspectorSummaryFn?;
|
|
760
841
|
readonly kind: "trigger";
|
|
761
842
|
readonly type: TypeToken<unknown>;
|
|
762
843
|
readonly icon: string | undefined;
|
|
763
|
-
|
|
844
|
+
readonly id?: string;
|
|
845
|
+
readonly description?: string;
|
|
846
|
+
constructor(name: string, cfg: TConfig$1, typeToken: TypeToken<unknown>, icon: string | undefined, credentialRequirements: ReadonlyArray<CredentialRequirement>, idOrOptions?: string | NodeBaseOptions, inspectorSummaryFn?: ((args: Readonly<{
|
|
764
847
|
config: TConfig$1;
|
|
765
848
|
}>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined) | undefined);
|
|
766
849
|
getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
|
|
@@ -934,6 +1017,7 @@ declare class NodeOutputNormalizer {
|
|
|
934
1017
|
private emitPortsToOutputs;
|
|
935
1018
|
private normalizePortPayload;
|
|
936
1019
|
private isItemLike;
|
|
1020
|
+
private isPlainJsonObject;
|
|
937
1021
|
private applyOutput;
|
|
938
1022
|
}
|
|
939
1023
|
//#endregion
|
|
@@ -1152,11 +1236,11 @@ interface WorkspaceFileMetadata {
|
|
|
1152
1236
|
readonly lastModified: Date;
|
|
1153
1237
|
}
|
|
1154
1238
|
/**
|
|
1155
|
-
*
|
|
1239
|
+
* Workspace-scoped port for accessing the shared workspace file pool.
|
|
1156
1240
|
* Implemented in `@codemation/host`; nodes reach it via `ctx.resolve(WorkspaceFileStorageToken)`.
|
|
1157
1241
|
*
|
|
1158
1242
|
* Key scheme: `<workspaceId>/files/<fileId>` — but nodes never construct raw keys.
|
|
1159
|
-
* Use the workspace-level helpers (`listFiles`, `getFileByName`, `getFileById`) instead.
|
|
1243
|
+
* Use the workspace-level helpers (`listFiles`, `getFileByName`, `getFileById`, `writeFile`) instead.
|
|
1160
1244
|
*
|
|
1161
1245
|
* This adapter is SEPARATE from the run-scoped BinaryStorage — do not confuse the two.
|
|
1162
1246
|
*/
|
|
@@ -1182,6 +1266,24 @@ interface IWorkspaceFileStorage {
|
|
|
1182
1266
|
* @throws WorkspaceFileNotFoundError when the key does not exist.
|
|
1183
1267
|
*/
|
|
1184
1268
|
getStream(key: string): Promise<ReadableStream<Uint8Array>>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Writes a file into the workspace's shared file pool.
|
|
1271
|
+
*
|
|
1272
|
+
* Generates a new fileId internally; the caller never constructs a raw key.
|
|
1273
|
+
* Stamps the filename into object metadata so read-side adapters can resolve
|
|
1274
|
+
* files by name without querying a registry.
|
|
1275
|
+
*
|
|
1276
|
+
* Returns the stored file's metadata (fileId, key, filename, contentType, size,
|
|
1277
|
+
* lastModified). Callers that need concierge visibility must also register a
|
|
1278
|
+
* WorkspaceFile row on the CP side via the HMAC-paired
|
|
1279
|
+
* `POST /internal/workspace-files/register` endpoint — see the host-side
|
|
1280
|
+
* `WorkspaceFileRegistrarClient`.
|
|
1281
|
+
*
|
|
1282
|
+
* @param filename Original filename; stored in object metadata.
|
|
1283
|
+
* @param body Bytes to write (contiguous — required for presigned PUT Content-Length).
|
|
1284
|
+
* @param contentType MIME type.
|
|
1285
|
+
*/
|
|
1286
|
+
writeFile(filename: string, body: Uint8Array, contentType: string): Promise<WorkspaceFileMetadata>;
|
|
1185
1287
|
}
|
|
1186
1288
|
/**
|
|
1187
1289
|
* Error thrown when a requested workspace file key does not exist.
|
|
@@ -1190,11 +1292,28 @@ declare class WorkspaceFileNotFoundError extends Error {
|
|
|
1190
1292
|
readonly key: string;
|
|
1191
1293
|
constructor(key: string);
|
|
1192
1294
|
}
|
|
1295
|
+
/**
|
|
1296
|
+
* Port for registering a workflow-written file in the CP's WorkspaceFile table.
|
|
1297
|
+
* Optional: only wired when the host is paired with a control plane.
|
|
1298
|
+
* Implemented by `WorkspaceFileRegistrarClient` in `@codemation/host`.
|
|
1299
|
+
* Nodes call this after `writeFile` so the concierge can see the file via
|
|
1300
|
+
* `list_files` / `get_file`.
|
|
1301
|
+
*/
|
|
1302
|
+
interface IWorkspaceFileRegistrar {
|
|
1303
|
+
register(meta: WorkspaceFileMetadata): Promise<void>;
|
|
1304
|
+
}
|
|
1193
1305
|
/**
|
|
1194
1306
|
* DI token for the workspace-scoped file storage adapter.
|
|
1195
1307
|
* Registered by `@codemation/host`; resolved by workspace-file nodes via `ctx.resolve(...)`.
|
|
1196
1308
|
*/
|
|
1197
1309
|
declare const WorkspaceFileStorageToken: TypeToken<IWorkspaceFileStorage | undefined>;
|
|
1310
|
+
/**
|
|
1311
|
+
* DI token for the optional CP registry hook.
|
|
1312
|
+
* Present only when the host is paired (managed mode). Standalone / local-fs
|
|
1313
|
+
* deployments leave this undefined — workflow-written files will be in S3/local
|
|
1314
|
+
* but will not appear in the concierge's list_files.
|
|
1315
|
+
*/
|
|
1316
|
+
declare const WorkspaceFileRegistrarToken: TypeToken<IWorkspaceFileRegistrar | undefined>;
|
|
1198
1317
|
//#endregion
|
|
1199
|
-
export { ActivationIdFactory, AgentAttachmentRole, AgentBindError, AgentCanvasPresentation, AgentConfigInspector, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type 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, BINARY_DEFAULT_MAX_BYTES, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, CallableToolConfigOptions, CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, type CallerContext, ChainCursor, ChatLanguageModel, ChatLanguageModelCallOptions, ChatModelConfig, ChatModelFactory, ChildExecutionScopeFactory, type 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, type CredentialMaterialProvider, type 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, type Duration, Edge, EngineDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, type HitlResumeTokenSignerSeam, HitlResumeTokenSignerToken, type HitlTimeoutJobSchedulerSeam, HitlTimeoutJobSchedulerToken, HitlWorkspaceIdToken, HttpMethod, HumanApprovalDecisionResult, HumanApprovalOutputJson, type HumanTaskActor, type HumanTaskHandle, type HumanTaskId, type HumanTaskRecord, type HumanTaskStatus, type HumanTaskStore, HumanTaskStoreToken, type HumanTaskSubject, type IWorkspaceFileStorage, IllegalMaterialSourceError, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, type InboxChannel, type InboxChannelResolverSeam, InboxChannelResolverToken, type InboxDeliverArgs, type InboxDelivery, type InboxOnDecisionArgs, type 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, type MaterialBundle, McpServerDeclaration, type 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, type OAuthFlowCallbackArgs, type OAuthFlowExecutor, type OAuthFlowStartArgs, type OAuthFlowStartResult, type OAuthMaterial, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, type PendingResumeEntry, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, type PersistedRuntimeTypeDecoratorOptions, type PersistedRuntimeTypeKind, type PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, type PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, type PollingRunCycleArgs, type PollingRunCycleResult, PollingTriggerDedupWindow, PollingTriggerHandle, type PollingTriggerLogger, PollingTriggerRuntime, type PollingTriggerStartArgs, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, type ResumeContext, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, type 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, type WorkflowEdgePortError, type 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, type WorkspaceFileMetadata, WorkspaceFileNotFoundError, WorkspaceFileStorageToken, 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 };
|
|
1318
|
+
export { ActivationIdFactory, AgentAttachmentRole, AgentBindError, AgentCanvasPresentation, AgentConfigInspector, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type 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, BINARY_DEFAULT_MAX_BYTES, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, CallableToolConfigOptions, CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, type CallerContext, ChainCursor, ChatLanguageModel, ChatLanguageModelCallOptions, ChatModelConfig, ChatModelFactory, ChildExecutionScopeFactory, type 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, type CredentialMaterialProvider, type 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, type Duration, Edge, EngineDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, type HitlResumeTokenSignerSeam, HitlResumeTokenSignerToken, type HitlTimeoutJobSchedulerSeam, HitlTimeoutJobSchedulerToken, HitlWorkspaceIdToken, HttpMethod, HumanApprovalDecisionResult, HumanApprovalOutputJson, type HumanTaskActor, type HumanTaskHandle, type HumanTaskId, type HumanTaskRecord, type HumanTaskStatus, type HumanTaskStore, HumanTaskStoreToken, type HumanTaskSubject, type IWorkspaceFileRegistrar, type IWorkspaceFileStorage, IllegalMaterialSourceError, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, type InboxChannel, type InboxChannelResolverSeam, InboxChannelResolverToken, type InboxDeliverArgs, type InboxDelivery, type InboxOnDecisionArgs, type 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, type MaterialBundle, McpServerDeclaration, type 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, NodeBaseOptions, 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, type OAuthFlowCallbackArgs, type OAuthFlowExecutor, type OAuthFlowStartArgs, type OAuthFlowStartResult, type OAuthMaterial, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, type PendingResumeEntry, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, type PersistedRuntimeTypeDecoratorOptions, type PersistedRuntimeTypeKind, type PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, type PersistedSuspensionEntry, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, type PollingRunCycleArgs, type PollingRunCycleResult, PollingTriggerDedupWindow, PollingTriggerHandle, type PollingTriggerLogger, PollingTriggerRuntime, type PollingTriggerStartArgs, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, type ResumeContext, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, type 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, type WorkflowEdgePortError, type 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, type WorkspaceFileMetadata, WorkspaceFileNotFoundError, WorkspaceFileRegistrarToken, WorkspaceFileStorageToken, 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, mergeForward, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
|
|
1200
1319
|
//# sourceMappingURL=index.d.cts.map
|
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, BINARY_DEFAULT_MAX_BYTES, 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, IWorkspaceFileStorage, 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, WorkspaceFileMetadata, WorkspaceFileNotFoundError, WorkspaceFileStorageToken, 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 };
|
|
1
|
+
import { $ as ExecutionInstanceDto, $a as CredentialAuthDefinition, $i as TriggerCleanupHandle, $n as ActivationIdFactory, $r as WorkflowStoragePolicySpec, $t as PersistedRunControlState, A as DefinedNodeConfigInput, Aa as TelemetryScope, Ai as LiveWorkflowRepository, An as TypeToken, Ao as PersistedTokenId, Ar as RunDataFactory, At as AssertionResult, B as NoOpCostTrackingTelemetry, Ba as NoOpTelemetrySpanScope, Bi as NodeExecutionRequestHandler, Bn as singleton, Br as UpstreamRefPlaceholder, Bt as ConnectionInvocationId, C as HumanApprovalOutputJson, Ca as NodeExecutionTelemetry, Ci as ExecutionContext, Cn as WorkflowExecutionRepository, Co as NoOpPollingTriggerLogger, Cr as NodeOffloadPolicy, Ct as ItemExprCallback, D as DefineNodeExecuteArgs, Da as TelemetryAttributes, Di as HumanTaskId, Dn as InjectionToken, Do as NodeConnectionName, Dr as PairedItemRef, Dt as itemExpr, E as DefineBatchNodeOptions, Ea as TelemetryAttributePrimitive, Ei as HumanTaskHandle, En as Disposable, Eo as InputPortKey, Er as NodeSchedulerDecision, Et as isItemExpr, F as defineBatchNode, Fa as GenAiTelemetryAttributeNames, Fi as NodeActivationRequestBase, Fn as injectable, Fr as RunnableNodeInputJson, Ft as AgentBindError, G as PortsEmission, Ga as CostTrackingTelemetryAttributeNames, Gi as PersistedTriggerSetupState, Gn as RunEvent, Gr as WorkflowGraph, Gt as NodeExecutionError, H as RetryPolicy, Ha as CostTrackingComponent, Hi as NodeExecutionStatePublisher, Hr as WorkflowErrorContext, Ht as CurrentStateExecutionRequest, I as defineNode, Ia as CodemationTelemetryAttributeNames, Ii as NodeActivationScheduler, In as instanceCachingFactory, Ir as RunnableNodeOutputJson, It as AgentMcpIntegration, J as isUnbrandedPortsEmissionShape, Ja as CostTrackingUsageRecord, Ji as ResumeContext, Jn as TestCaseRunStatus, Jr as WorkflowPolicyRuntimeDefaults, Jt as NodeInputsByPort, K as emitPorts, Ka as CostTrackingTelemetryFactory, Ki as PollingTriggerHandle, Kn as RunEventBus, Kr as WorkflowGraphFactory, Kt as NodeExecutionSnapshot, L as NodeBaseOptions, La as NoOpExecutionTelemetryFactory, Li as NodeBinaryAttachmentService, Ln as instancePerContainerCachingFactory, Lr as TriggerNodeConfig, Lt as AgentMcpToolMap, M as DefinedNodeCredentialBinding, Ma as TelemetrySpanEventRecord, Mi as NodeActivationContinuation, Mn as delay, Mr as RunId, Mt as DEFAULT_ASSERTION_PASS_THRESHOLD, N as DefinedNodeCredentialBindings, Na as TelemetrySpanScope, Ni as NodeActivationReceipt, Nn as inject, Nr as RunIdFactory, Nt as deriveAssertionPassed, O as DefineNodeOptions, Oa as TelemetryChildSpanStart, Oi as HumanTaskSubject, On as Lifecycle, Oo as NodeId, Or as ParentExecutionRef, Ot as resolveItemExprsForExecution, P as DefinedNodeRunContext, Pa as CodemationTelemetryMetricNames, Pi as NodeActivationRequest, Pn as injectAll, Pr as RunnableNodeConfig, Pt as NoOpAgentMcpIntegration, Q as ConnectionInvocationKind, Qa as CredentialAdvancedSectionPresentation, Qi as TestableTriggerNode, Qn as TestTriggerSetupContext, Qr as WorkflowStoragePolicyResolver, Qt as PersistedMutableRunState, R as RunFinishedAtFactory, Ra as NoOpExecutionTelemetry, Ri as NodeExecutionContext, Rn as predicateAwareClassFactory, Rr as TriggerNodeOutputJson, Rt as NeedsReconsentEvent, S as HumanApprovalDecisionResult, Sa as ExecutionTelemetryFactory, Si as ExecutionBinaryService, Sn as WorkflowExecutionPruneRepository, So as OAuth2ProviderFromPublicConfig, Sr as NodeKind, St as ItemExprArgs, T as isHumanApprovalNode, Ta as TelemetryArtifactReference, Ti as HumanTaskActor, Tn as DependencyContainer, To as PollingTriggerDedupWindow, Tr as NodeRef, Tt as ItemExprResolvedContext, U as NoRetryPolicy, Ua as CostTrackingPriceQuote, Ui as NodeExecutor, Un as EngineExecutionLimitsPolicy, Ur as WorkflowErrorHandler, Ut as EngineRunCounters, V as ExpRetryPolicy, Va as NoOpTelemetryArtifactReference, Vi as NodeExecutionScheduler, Vn as CoreTokens, Vr as WorkflowDefinition, Vt as ConnectionInvocationRecord, W as getOriginIndexFromItem, Wa as CostTrackingTelemetry, Wi as NodeResolver, Wn as EngineExecutionLimitsPolicyConfig, Wr as WorkflowErrorHandlerSpec, Wt as ExecutionFrontierPlan, X as McpServerTransport, Xa as CollectionsContext, Xi as RunnableNodeExecuteArgs, Xn as TestSuiteRunId, Xr as WorkflowStoragePolicyDecisionArgs, Xt as PendingResumeEntry, Y as McpServerDeclaration, Ya as CollectionStore, Yi as RunnableNode, Yn as TestSuiteRunStatus, Yr as WorkflowPrunePolicySpec, Yt as PendingNodeExecution, Z as BatchId, Za as AnyCredentialType, Zi as SuspensionRequest, Zn as TestTriggerNodeConfig, Zr as WorkflowStoragePolicyMode, Zt as PersistedMutableNodeState, _ as BranchStepsArg, _a as WebhookTriggerResolution, _i as BinaryStorageWriteResult, _n as RunStopCondition, _o as CredentialType, _r as NodeErrorHandlerArgs, _t as CostCatalogEntry, a as ConnectionNodeIdFactory, aa as TriggerTestItemsContext, ai as triggerNodeSetupStateType, an as PersistedWorkflowTokenRegistryLike, ao as CredentialHealthTester, ar as ItemBinary, at as PersistedRunSlotProjectionRecord, b as mergeForward, ba as WorkflowActivationPolicy, bi as EngineHost, bn as WebhookRunResult, bo as CredentialTypeRegistry, br as NodeInspectorSummaryRow, bt as ParamDeep, c as WorkflowDefinitionError, ca as WorkflowRunnerResolver, ci as NoneRetryPolicySpec, cn as RunCurrentState, co as CredentialJsonRecord, cr as JsonNonArray, ct as RunIterationDto, d as WhenBuilder, da as WorkflowSnapshotResolver, di as BinaryAttachmentCreateRequest, dn as RunHaltReason, do as CredentialOAuth2ScopesFromPublicConfig, dr as JsonValue, dt as SlotExecutionStateDto, ea as TriggerNode, ei as branchRef, en as PersistedRunSchedulingState, eo as CredentialBinding, er as BinaryAttachment, et as ExecutionInstanceId, f as AnyRunnableNodeConfig, fa as HttpMethod, fi as BinaryBody, fn as RunPruneCandidate, fo as CredentialRequirement, fr as MutableRunData, ft as WorkItemId, g as BranchOutputGuard, ga as WebhookTriggerMatcher, gi as BinaryStorageWriteRequest, gn as RunStatus, go as CredentialSetupStatus, gr as NodeErrorHandler, gt as CostCatalog, h as BranchMoreArgs, ha as WebhookInvocationMatch, hi as BinaryStorageStatResult, hn as RunStateResetRequest, ho as CredentialSessionService, hr as NodeDefinition, ht as WorkflowRunDetailDto, i as NodeIterationIdFactory, ia as TriggerSetupStateRepository, ii as triggerNodeOutputType, in as PersistedWorkflowSnapshotNode, io as CredentialHealthStatus, ir as Item, it as PersistedExecutionInstanceRecord, j as DefinedNodeCredentialAccessors, ja as TelemetrySpanEnd, ji as MultiInputNode, jn as container, jo as WorkflowId, jr as RunDataSnapshot, jt as AssertionResultProvenance, k as DefinedNode, ka as TelemetryMetricRecord, ki as ItemNode, kn as RegistrationOptions, ko as OutputPortKey, kr as PersistedRunPolicySnapshot, kt as resolveItemExprsInUnknown, l as WorkflowBuilder, la as WorkflowRunnerService, li as RetryPolicySpec, ln as RunEventPublisherDeps, lo as CredentialMaterialSourceKind, lr as JsonObject, lt as RunRevision, m as BooleanWhenOverloads, ma as WebhookControlSignal, mi as BinaryStorageReadResult, mn as RunResult, mo as CredentialSessionFactoryArgs, mr as NodeConfigBase, mt as WorkflowDetailSelectionState, n as WorkflowExecutableNodeClassifierFactory, na as TriggerSetupContext, ni as runnableNodeInputType, nn as PersistedSuspensionEntry, no as CredentialFieldSchema, nr as Edge, nt as PayloadStorageKind, o as ConnectionInvocationIdFactory, oa as WorkflowNodeInstanceFactory, oi as ExponentialRetryPolicySpec, on as PinnedNodeOutputsByPort, oo as CredentialInstanceId, or as Items, ot as PersistedRunWorkItemKind, p as AnyTriggerNodeConfig, pa as TriggerInstanceId, pi as BinaryStorage, pn as RunQueueEntry, po as CredentialSessionFactory, pr as NodeActivationId, pt as WorkItemStatus, q as isPortsEmission, qa as CostTrackingTelemetryMetricNames, qi as PreparedNodeActivationDispatch, qn as RunEventSubscription, qr as WorkflowNodeConnection, qt as NodeExecutionStatus, r as WorkflowExecutableNodeClassifier, ra as TriggerSetupStateFor, ri as runnableNodeOutputType, rn as PersistedWorkflowSnapshot, ro as CredentialHealth, rr as ExecutionMode, rt as PersistedExecutionInstanceKind, s as NodeIdSlugifier, sa as WorkflowRepository, si as FixedRetryPolicySpec, sn as RunCompletionNotifier, so as CredentialInstanceRecord, sr as JsonArray, st as PersistedRunWorkItemRecord, t as DefaultWorkflowGraphFactory, ta as TriggerRuntimeDiagnostics, ti as nodeRef, tn as PersistedRunState, to as CredentialBindingKey, tr as BinaryPreviewKind, tt as ExecutionPayloadPolicyFields, u as ChainCursor, ua as WorkflowSnapshotFactory, ui as BINARY_DEFAULT_MAX_BYTES, un as RunExecutionOptions, uo as CredentialOAuth2AuthDefinition, ur as JsonPrimitive, ut as RunSlotProjectionState, v as StepSequenceOutput, va as WebhookTriggerRoutingDiagnostics, vi as Duration, vn as RunSummary, vo as CredentialTypeDefinition, vr as NodeErrorHandlerSpec, vt as Expr, w as defineHumanApprovalNode, wa as TelemetryArtifactAttachment, wi as ExecutionContextFactory, wn as Container, wo as PollingTriggerLogger, wr as NodeOutputs, wt as ItemExprContext, x as DefinedHumanApprovalNode, xa as ExecutionTelemetry, xi as ExecutableTriggerNode, xn as WorkflowExecutionListingRepository, xo as CredentialUnboundError, xr as NodeIterationId, xt as ItemExpr, y as ValidStepSequence, ya as AllWorkflowsActiveWorkflowActivationPolicy, yi as EngineDeps, yn as RunTestContext, yo as CredentialTypeId, yr as NodeIdRef, yt as Param, z as NoOpCostTrackingTelemetryFactory, za as NoOpNodeExecutionTelemetry, zi as NodeExecutionRequest, zn as registry, zr as TriggerNodeSetupState, zt as ConnectionInvocationAppendArgs } from "./index-CbJdbIHe.js";
|
|
2
|
+
import { n as InMemoryLiveWorkflowRepository, t as RunIntentService } from "./RunIntentService-Dx_HHxDX.js";
|
|
3
|
+
import { $ as DefaultAsyncSleeper, $t as HumanTaskRecord, A as PollingTriggerRuntime, At as CollectionIndexDefinition, Bt as InboxChannel, C as OAuthFlowStartResult, Ct as DefinedPollingTrigger, D as WorkflowEdgePortValidationResult, Dt as CollectionColumnBuilder, E as WorkflowEdgePortError, Et as DefinedCollectionRegistry, Ft as callableTool, Gt as InboxOnDecisionArgs, Ht as InboxChannelResolverToken, It as DefineCredentialOptions, J as RunnableOutputBehaviorResolver, Jt as HitlResumeTokenSignerSeam, Kt as InboxOnTimeoutArgs, L as InMemoryRunDataFactory, Lt as defineCredential, Mt as DefinedCollection, Nt as c, O as PollingRunCycleArgs, Ot as CollectionDefinition, Pt as defineCollection, Q as DefaultExecutionContextFactory, Qt as HitlWorkspaceIdToken, R as InMemoryBinaryStorage, Rt as DefinedNodeRegistry, S as OAuthFlowStartArgs, St as DefinePollingTriggerTestItemsContext, T as WorkflowEdgePortValidator, Tt as definePollingTrigger, Ut as InboxDeliverArgs, Vt as InboxChannelResolverSeam, Wt as InboxDelivery, X as InProcessRetryRunner, Xt as HitlTimeoutJobSchedulerSeam, Y as ItemExprResolver, Yt as HitlResumeTokenSignerToken, Zt as HitlTimeoutJobSchedulerToken, _ as CredentialMaterialRef, _t as ConnectionInvocationEventPublisher, an as NodeEventPublisher, at as getPersistedRuntimeTypeMetadata, b as OAuthFlowCallbackArgs, bt as DefinePollingTriggerPollContext, c as IWorkspaceFileStorage, ct as StackTraceCallSitePathResolver, d as WorkspaceFileRegistrarToken, dt as InjectableRuntimeDecoratorComposer, en as HumanTaskStatus, f as WorkspaceFileStorageToken, ft as PersistedRuntimeTypeDecoratorOptions, g as CredentialMaterialProvider, gt as InMemoryRunEventBus, h as CallerContext, ht as EventPublishingWorkflowExecutionRepository, in as SystemClock, it as chatModel, j as PollingTriggerStartArgs, jt as DefineCollectionOptions, k as PollingRunCycleResult, kt as CollectionFieldDefinition, l as WorkspaceFileMetadata, lt as PersistedRuntimeTypeNameResolver, m as ManagedCredentialMaterialWriteError, mt as PersistedRuntimeTypeMetadata, nn as HumanTaskStoreToken, nt as DefaultExecutionBinaryService, on as CredentialResolverFactory, ot as node, p as ManagedMaterialFetchError, pt as PersistedRuntimeTypeKind, q as NodeOutputNormalizer, qt as LocalInboxChannelToken, rn as Clock, rt as UnavailableBinaryStorage, s as IWorkspaceFileRegistrar, st as tool, tn as HumanTaskStore, tt as ChildExecutionScopeFactory, u as WorkspaceFileNotFoundError, ut as PersistedRuntimeTypeMetadataStore, v as IllegalMaterialSourceError, vt as DefinePollingTriggerExecuteContext, w as OAuthMaterial, wt as DefinedPollingTriggerConfig, x as OAuthFlowExecutor, xt as DefinePollingTriggerPollResult, y as MaterialBundle, yt as DefinePollingTriggerOptions, zt as ControlPlaneInboxChannelToken } from "./index-uPnD9EE6.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-DoOawd9R.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, BINARY_DEFAULT_MAX_BYTES, 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, IWorkspaceFileRegistrar, IWorkspaceFileStorage, 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, NodeBaseOptions, 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, WorkspaceFileMetadata, WorkspaceFileNotFoundError, WorkspaceFileRegistrarToken, WorkspaceFileStorageToken, 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, mergeForward, 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 itemExpr, E as ConnectionNodeIdFactory, S as isItemExpr, T as resolveItemExprsInUnknown, _ as CredentialUnboundError, a as injectable, b as NodeBackedToolConfig, c as predicateAwareClassFactory, d as CoreTokens, f as branchRef, g 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 NodeIterationIdFactory, w as resolveItemExprsForExecution, x as AgentConfigInspector, y as AgentConnectionNodeCollector } from "./di-
|
|
2
|
-
import { t as ItemsInputNormalizer } from "./ItemsInputNormalizer-
|
|
1
|
+
import { C as itemExpr, E as ConnectionNodeIdFactory, S as isItemExpr, T as resolveItemExprsInUnknown, _ as CredentialUnboundError, a as injectable, b as NodeBackedToolConfig, c as predicateAwareClassFactory, d as CoreTokens, f as branchRef, g 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 NodeIterationIdFactory, w as resolveItemExprsForExecution, x as AgentConfigInspector, y as AgentConnectionNodeCollector } from "./di-CEV6wTc4.js";
|
|
2
|
+
import { t as ItemsInputNormalizer } from "./ItemsInputNormalizer-CZEODg94.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 CostTrackingTelemetryAttributeNames, At as
|
|
4
|
+
import { $ as CostTrackingTelemetryAttributeNames, At as getPersistedRuntimeTypeMetadata, Bt as HitlWorkspaceIdToken, Ct as mergeForward, Dt as defineBatchNode, Et as isHumanApprovalNode, Ft as StackTraceCallSitePathResolver, G as AllWorkflowsActiveWorkflowActivationPolicy, H as CodemationTelemetryMetricNames, I as RunnableOutputBehaviorResolver, It as PersistedRuntimeTypeNameResolver, J as NoOpNodeExecutionTelemetry, K as NoOpExecutionTelemetryFactory, L as NodeOutputNormalizer, Lt as DefinedNodeRegistry, Mt as tool, Nt as InjectableRuntimeDecoratorComposer, Ot as defineNode, Pt as PersistedRuntimeTypeMetadataStore, Q as NoOpCostTrackingTelemetry, R as ItemExprResolver, Rt as HitlResumeTokenSignerToken, St as ChainCursor, Tt as defineHumanApprovalNode, U as GenAiTelemetryAttributeNames, V as DefaultExecutionContextFactory, Vt as HumanTaskStoreToken, 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 node, kt as chatModel, 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 WhenBuilder, xt as NodeIdSlugifier, y as EngineExecutionLimitsPolicy, yt as WorkflowBuilder, z as InProcessRetryRunner, zt as HitlTimeoutJobSchedulerToken } from "./runtime-CSunvf7A.js";
|
|
5
5
|
import { t as InMemoryRunEventBus } from "./InMemoryRunEventBusRegistry-Bwunvt1T.js";
|
|
6
6
|
import { ZodError, z } from "zod";
|
|
7
7
|
|
|
@@ -355,14 +355,18 @@ var DefinedPollingTriggerConfig = class {
|
|
|
355
355
|
kind = "trigger";
|
|
356
356
|
type;
|
|
357
357
|
icon;
|
|
358
|
-
|
|
358
|
+
id;
|
|
359
|
+
description;
|
|
360
|
+
constructor(name, cfg, typeToken, icon, credentialRequirements, idOrOptions, inspectorSummaryFn) {
|
|
359
361
|
this.name = name;
|
|
360
362
|
this.cfg = cfg;
|
|
361
363
|
this.credentialRequirements = credentialRequirements;
|
|
362
|
-
this.id = id;
|
|
363
364
|
this.inspectorSummaryFn = inspectorSummaryFn;
|
|
364
365
|
this.type = typeToken;
|
|
365
366
|
this.icon = icon;
|
|
367
|
+
const resolved = typeof idOrOptions === "string" ? { id: idOrOptions } : idOrOptions;
|
|
368
|
+
this.id = resolved?.id;
|
|
369
|
+
this.description = resolved?.description;
|
|
366
370
|
}
|
|
367
371
|
getCredentialRequirements() {
|
|
368
372
|
return this.credentialRequirements;
|
|
@@ -458,8 +462,8 @@ function definePollingTrigger(options) {
|
|
|
458
462
|
key: options.key,
|
|
459
463
|
title: options.title,
|
|
460
464
|
description: options.description,
|
|
461
|
-
create(cfg, name = options.title,
|
|
462
|
-
return new DefinedPollingTriggerConfig(name, cfg, DefinedPollingTriggerRuntime, options.icon, credentialRequirements,
|
|
465
|
+
create(cfg, name = options.title, idOrOptions) {
|
|
466
|
+
return new DefinedPollingTriggerConfig(name, cfg, DefinedPollingTriggerRuntime, options.icon, credentialRequirements, idOrOptions, options.inspectorSummary);
|
|
463
467
|
},
|
|
464
468
|
poll(pollCtx) {
|
|
465
469
|
return options.poll({
|
|
@@ -718,7 +722,14 @@ var WorkspaceFileNotFoundError = class extends Error {
|
|
|
718
722
|
* Registered by `@codemation/host`; resolved by workspace-file nodes via `ctx.resolve(...)`.
|
|
719
723
|
*/
|
|
720
724
|
const WorkspaceFileStorageToken = Symbol.for("codemation.core.WorkspaceFileStorage");
|
|
725
|
+
/**
|
|
726
|
+
* DI token for the optional CP registry hook.
|
|
727
|
+
* Present only when the host is paired (managed mode). Standalone / local-fs
|
|
728
|
+
* deployments leave this undefined — workflow-written files will be in S3/local
|
|
729
|
+
* but will not appear in the concierge's list_files.
|
|
730
|
+
*/
|
|
731
|
+
const WorkspaceFileRegistrarToken = Symbol.for("codemation.core.WorkspaceFileRegistrar");
|
|
721
732
|
|
|
722
733
|
//#endregion
|
|
723
|
-
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, WorkspaceFileNotFoundError, WorkspaceFileStorageToken, 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 };
|
|
734
|
+
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, WorkspaceFileNotFoundError, WorkspaceFileRegistrarToken, WorkspaceFileStorageToken, 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, mergeForward, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, singleton, tool };
|
|
724
735
|
//# sourceMappingURL=index.js.map
|