@codemation/core 0.8.1 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/{EngineRuntimeRegistration.types-BP6tsaNP.d.ts → EngineRuntimeRegistration.types-kxQA5NLt.d.ts} +2 -2
  3. package/dist/{EngineWorkflowRunnerService-DzOCa1BW.d.cts → EngineWorkflowRunnerService-Ba2AvBnL.d.cts} +2 -2
  4. package/dist/{InMemoryRunDataFactory-1iz7_SnO.d.cts → InMemoryRunDataFactory-Ou4tQUOS.d.cts} +2 -2
  5. package/dist/{RunIntentService-S-1lW-gS.d.cts → RunIntentService-Dyh_dH0k.d.cts} +528 -467
  6. package/dist/{RunIntentService-BqhmdoA1.d.ts → RunIntentService-dteLjNiT.d.ts} +568 -462
  7. package/dist/bootstrap/index.cjs +2 -2
  8. package/dist/bootstrap/index.d.cts +3 -3
  9. package/dist/bootstrap/index.d.ts +3 -3
  10. package/dist/bootstrap/index.js +2 -2
  11. package/dist/{bootstrap-BoknFKnw.js → bootstrap-CL68rqWg.js} +3 -2
  12. package/dist/bootstrap-CL68rqWg.js.map +1 -0
  13. package/dist/{bootstrap-Bx1u4cbS.cjs → bootstrap-Cko6udwL.cjs} +3 -2
  14. package/dist/bootstrap-Cko6udwL.cjs.map +1 -0
  15. package/dist/{index-CVs9rVhl.d.ts → index-CyfGTfU1.d.ts} +84 -14
  16. package/dist/index.cjs +10 -11
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +129 -14
  19. package/dist/index.d.ts +3 -3
  20. package/dist/index.js +2 -11
  21. package/dist/index.js.map +1 -1
  22. package/dist/{runtime-DUW6tIJ1.js → runtime-284ok0cm.js} +201 -31
  23. package/dist/runtime-284ok0cm.js.map +1 -0
  24. package/dist/{runtime-Dvo2ru5A.cjs → runtime-B3Og-_St.cjs} +223 -29
  25. package/dist/runtime-B3Og-_St.cjs.map +1 -0
  26. package/dist/testing.cjs +2 -2
  27. package/dist/testing.d.cts +2 -2
  28. package/dist/testing.d.ts +2 -2
  29. package/dist/testing.js +2 -2
  30. package/package.json +1 -1
  31. package/src/ai/AiHost.ts +42 -14
  32. package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +4 -0
  33. package/src/browser.ts +1 -0
  34. package/src/contracts/CodemationTelemetryAttributeNames.ts +6 -0
  35. package/src/contracts/NoOpNodeExecutionTelemetry.ts +2 -11
  36. package/src/contracts/NoOpTelemetrySpanScope.ts +46 -10
  37. package/src/contracts/executionPersistenceContracts.ts +30 -0
  38. package/src/contracts/runTypes.ts +10 -0
  39. package/src/contracts/runtimeTypes.ts +8 -0
  40. package/src/contracts/telemetryTypes.ts +8 -0
  41. package/src/contracts/workflowTypes.ts +6 -0
  42. package/src/events/ConnectionInvocationEventPublisher.ts +46 -0
  43. package/src/events/index.ts +1 -0
  44. package/src/events/runEvents.ts +25 -0
  45. package/src/execution/ChildExecutionScopeFactory.ts +58 -0
  46. package/src/execution/ExecutionTelemetryCostTrackingDecoratorFactory.ts +18 -0
  47. package/src/execution/NodeExecutor.ts +10 -2
  48. package/src/execution/NodeRunStateWriter.ts +7 -0
  49. package/src/execution/NodeRunStateWriterFactory.ts +7 -0
  50. package/src/execution/index.ts +1 -0
  51. package/src/index.ts +1 -0
  52. package/src/orchestration/RunStartService.ts +8 -1
  53. package/src/runtime/EngineFactory.ts +1 -0
  54. package/src/workflow/definition/NodeIterationIdFactory.ts +26 -0
  55. package/src/workflow/index.ts +1 -0
  56. package/dist/bootstrap-BoknFKnw.js.map +0 -1
  57. package/dist/bootstrap-Bx1u4cbS.cjs.map +0 -1
  58. package/dist/runtime-DUW6tIJ1.js.map +0 -1
  59. package/dist/runtime-Dvo2ru5A.cjs.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as WorkflowGraph, $n as WorkflowExecutionListingRepository, $r as CredentialTypeRegistry, $t as TriggerCleanupHandle, A as NodeOutputs, An as NodeInputsByPort, Ar as AnyCredentialType, At as ExecutionContext, B as RunId, Bn as PinnedNodeOutputsByPort, Br as CredentialInstanceRecord, Bt as NodeBinaryAttachmentService, C as NodeErrorHandler, Ci as RunEvent, Cn as ConnectionInvocationRecord, Cr as CostTrackingComponent, Ct as BinaryStorageStatResult, D as NodeIdRef, Dn as NodeExecutionError, Dr as CostTrackingTelemetryFactory, Dt as EngineHost, E as NodeId, En as ExecutionFrontierPlan, Er as CostTrackingTelemetryAttributeNames, Et as EngineDeps, F as ParentExecutionRef, Fn as PersistedRunSchedulingState, Fr as CredentialFieldSchema, Ft as NodeActivationContinuation, G as TriggerNodeConfig, Gn as RunPruneCandidate, Gr as CredentialRequirement, Gt as NodeExecutionStatePublisher, H as RunnableNodeConfig, Hn as RunCurrentState, Hr as CredentialMaterialSourceKind, Ht as NodeExecutionRequest, I as PersistedRunPolicySnapshot, In as PersistedRunState, Ir as CredentialHealth, It as NodeActivationReceipt, J as UpstreamRefPlaceholder, Jn as RunStateResetRequest, Jr as CredentialSessionService, Jt as PersistedTriggerSetupState, K as TriggerNodeOutputJson, Kn as RunQueueEntry, Kr as CredentialSessionFactory, Kt as NodeExecutor, L as PersistedTokenId, Ln as PersistedWorkflowSnapshot, Lr as CredentialHealthStatus, Lt as NodeActivationRequest, M as NodeSchedulerDecision, Mn as PersistedMutableNodeState, Mr as CredentialAuthDefinition, Mt as ItemNode, N as OutputPortKey, Nn as PersistedMutableRunState, Nr as CredentialBinding, Nt as LiveWorkflowRepository, O as NodeKind, On as NodeExecutionSnapshot, Or as CostTrackingTelemetryMetricNames, Ot as ExecutableTriggerNode, P as PairedItemRef, Pn as PersistedRunControlState, Pr as CredentialBindingKey, Pt as MultiInputNode, Q as WorkflowErrorHandlerSpec, Qn as WebhookRunResult, Qr as CredentialTypeId, Qt as TestableTriggerNode, R as RunDataFactory, Rn as PersistedWorkflowSnapshotNode, Rr as CredentialHealthTester, Rt as NodeActivationRequestBase, S as NodeDefinition, Si as EngineExecutionLimitsPolicyConfig, Sn as ConnectionInvocationId, Sr as NoOpTelemetryArtifactReference, St as BinaryStorageReadResult, T as NodeErrorHandlerSpec, Ti as RunEventSubscription, Tn as EngineRunCounters, Tr as CostTrackingTelemetry, Tt as BinaryStorageWriteResult, U as RunnableNodeInputJson, Un as RunEventPublisherDeps, Ur as CredentialOAuth2AuthDefinition, Ut as NodeExecutionRequestHandler, V as RunIdFactory, Vn as RunCompletionNotifier, Vr as CredentialJsonRecord, Vt as NodeExecutionContext, W as RunnableNodeOutputJson, Wn as RunExecutionOptions, Wr as CredentialOAuth2ScopesFromPublicConfig, Wt as NodeExecutionScheduler, X as WorkflowErrorContext, Xn as RunStopCondition, Xr as CredentialType, Xt as RunnableNode, Y as WorkflowDefinition, Yn as RunStatus, Yr as CredentialSetupStatus, Yt as PreparedNodeActivationDispatch, Z as WorkflowErrorHandler, Zn as RunSummary, Zr as CredentialTypeDefinition, Zt as RunnableNodeExecuteArgs, _ as JsonValue, _i as registry, _n as WebhookTriggerResolution, _r as CodemationTelemetryAttributeNames, _t as NoneRetryPolicySpec, a as BinaryAttachment, ai as InjectionToken, an as TriggerTestItemsContext, ar as TelemetryArtifactAttachment, at as WorkflowStoragePolicyDecisionArgs, b as NodeConfigBase, bn as WorkflowActivationPolicy, br as NoOpNodeExecutionTelemetry, bt as BinaryBody, c as ExecutionMode, ci as TypeToken, cn as WorkflowRunnerResolver, cr as TelemetryAttributes, ct as WorkflowStoragePolicySpec, d as ItemBinary, di as inject, dn as WorkflowSnapshotResolver, dr as TelemetryScope, dt as runnableNodeInputType, ei as CredentialUnboundError, en as TriggerNode, er as WorkflowExecutionPruneRepository, et as WorkflowGraphFactory, f as Items, fi as injectAll, fn as HttpMethod, fr as TelemetrySpanEnd, ft as runnableNodeOutputType, g as JsonPrimitive, gi as predicateAwareClassFactory, gn as WebhookTriggerMatcher, gr as GenAiTelemetryAttributeNames, gt as FixedRetryPolicySpec, h as JsonObject, hi as instancePerContainerCachingFactory, hn as WebhookInvocationMatch, hr as CodemationTelemetryMetricNames, ht as ExponentialRetryPolicySpec, i as ActivationIdFactory, ii as Disposable, in as TriggerSetupStateRepository, ir as NodeExecutionTelemetry, it as WorkflowPrunePolicySpec, j as NodeRef, jn as PendingNodeExecution, jr as CredentialAdvancedSectionPresentation, jt as ExecutionContextFactory, k as NodeOffloadPolicy, kn as NodeExecutionStatus, kr as CostTrackingUsageRecord, kt as ExecutionBinaryService, l as InputPortKey, li as container, ln as WorkflowRunnerService, lr as TelemetryChildSpanStart, lt as branchRef, m as JsonNonArray, mi as instanceCachingFactory, mn as WebhookControlSignal, mr as TelemetrySpanScope, mt as triggerNodeSetupStateType, n as InMemoryLiveWorkflowRepository, ni as Container, nn as TriggerSetupContext, nr as ExecutionTelemetry, nt as WorkflowNodeConnection, o as BinaryPreviewKind, oi as Lifecycle, on as WorkflowNodeInstanceFactory, or as TelemetryArtifactReference, ot as WorkflowStoragePolicyMode, p as JsonArray, pi as injectable, pn as TriggerInstanceId, pr as TelemetrySpanEventRecord, pt as triggerNodeOutputType, q as TriggerNodeSetupState, qn as RunResult, qr as CredentialSessionFactoryArgs, qt as NodeResolver, ri as DependencyContainer, rn as TriggerSetupStateFor, rr as ExecutionTelemetryFactory, rt as WorkflowPolicyRuntimeDefaults, s as Edge, si as RegistrationOptions, sn as WorkflowRepository, sr as TelemetryAttributePrimitive, st as WorkflowStoragePolicyResolver, t as RunIntentService, ti as OAuth2ProviderFromPublicConfig, tn as TriggerRuntimeDiagnostics, tr as WorkflowExecutionRepository, tt as WorkflowId, u as Item, ui as delay, un as WorkflowSnapshotFactory, ur as TelemetryMetricRecord, ut as nodeRef, v as MutableRunData, vi as singleton, vn as WebhookTriggerRoutingDiagnostics, vr as NoOpExecutionTelemetryFactory, vt as RetryPolicySpec, w as NodeErrorHandlerArgs, wi as RunEventBus, wn as CurrentStateExecutionRequest, wr as CostTrackingPriceQuote, wt as BinaryStorageWriteRequest, x as NodeConnectionName, xi as EngineExecutionLimitsPolicy, xn as ConnectionInvocationAppendArgs, xr as NoOpTelemetrySpanScope, xt as BinaryStorage, y as NodeActivationId, yi as CoreTokens, yn as AllWorkflowsActiveWorkflowActivationPolicy, yr as NoOpExecutionTelemetry, yt as BinaryAttachmentCreateRequest, z as RunDataSnapshot, zn as PersistedWorkflowTokenRegistryLike, zr as CredentialInstanceId, zt as NodeActivationScheduler } from "./RunIntentService-S-1lW-gS.cjs";
2
- import { a as RunnableOutputBehavior, c as InProcessRetryRunner, f as CredentialResolverFactory, i as UnavailableBinaryStorage, l as DefaultExecutionContextFactory, m as CostCatalogEntry, n as InMemoryBinaryStorage, o as RunnableOutputBehaviorResolver, p as CostCatalog, r as DefaultExecutionBinaryService, s as ItemExprResolver, t as InMemoryRunDataFactory, u as DefaultAsyncSleeper } from "./InMemoryRunDataFactory-1iz7_SnO.cjs";
1
+ import { $ as WorkflowErrorHandlerSpec, $n as CredentialBinding, $r as NodeExecutionSnapshot, $t as TestableTriggerNode, A as NodeOffloadPolicy, An as TelemetryMetricRecord, Ar as delay, At as ExecutionBinaryService, B as RunDataSnapshot, Bn as NoOpNodeExecutionTelemetry, Bt as NodeActivationScheduler, C as NodeErrorHandler, Ci as WebhookRunResult, Cn as ExecutionTelemetryFactory, Cr as DependencyContainer, Ct as BinaryStorageReadResult, D as NodeIdRef, Dn as TelemetryAttributePrimitive, Dr as RegistrationOptions, Dt as EngineDeps, E as NodeId, Ei as WorkflowExecutionRepository, En as TelemetryArtifactReference, Er as Lifecycle, Et as BinaryStorageWriteResult, F as PairedItemRef, Fn as CodemationTelemetryMetricNames, Fr as instancePerContainerCachingFactory, Ft as MultiInputNode, G as RunnableNodeOutputJson, Gn as CostTrackingTelemetry, Gr as RunEventSubscription, Gt as NodeExecutionScheduler, H as RunIdFactory, Hn as NoOpTelemetryArtifactReference, Hr as EngineExecutionLimitsPolicyConfig, Ht as NodeExecutionContext, I as ParentExecutionRef, In as GenAiTelemetryAttributeNames, Ir as predicateAwareClassFactory, It as NodeActivationContinuation, J as TriggerNodeSetupState, Jn as CostTrackingTelemetryMetricNames, Jr as ConnectionInvocationRecord, Jt as NodeResolver, K as TriggerNodeConfig, Kn as CostTrackingTelemetryAttributeNames, Kr as ConnectionInvocationAppendArgs, Kt as NodeExecutionStatePublisher, L as PersistedRunPolicySnapshot, Ln as CodemationTelemetryAttributeNames, Lr as registry, Lt as NodeActivationReceipt, M as NodeRef, Mn as TelemetrySpanEnd, Mr as injectAll, Mt as ExecutionContextFactory, N as NodeSchedulerDecision, Nn as TelemetrySpanEventRecord, Nr as injectable, Nt as ItemNode, O as NodeIterationId, On as TelemetryAttributes, Or as TypeToken, Ot as EngineHost, P as OutputPortKey, Pn as TelemetrySpanScope, Pr as instanceCachingFactory, Pt as LiveWorkflowRepository, Q as WorkflowErrorHandler, Qn as CredentialAuthDefinition, Qr as NodeExecutionError, Qt as RunnableNodeExecuteArgs, R as PersistedTokenId, Rn as NoOpExecutionTelemetryFactory, Rr as singleton, Rt as NodeActivationRequest, S as NodeDefinition, Si as RunSummary, Sn as ExecutionTelemetry, Sr as Container, St as BinaryStorage, T as NodeErrorHandlerSpec, Ti as WorkflowExecutionPruneRepository, Tn as TelemetryArtifactAttachment, Tr as InjectionToken, Tt as BinaryStorageWriteRequest, U as RunnableNodeConfig, Un as CostTrackingComponent, Ur as RunEvent, Ut as NodeExecutionRequest, V as RunId, Vn as NoOpTelemetrySpanScope, Vr as EngineExecutionLimitsPolicy, Vt as NodeBinaryAttachmentService, W as RunnableNodeInputJson, Wn as CostTrackingPriceQuote, Wr as RunEventBus, Wt as NodeExecutionRequestHandler, X as WorkflowDefinition, Xn as AnyCredentialType, Xr as EngineRunCounters, Xt as PreparedNodeActivationDispatch, Y as UpstreamRefPlaceholder, Yn as CostTrackingUsageRecord, Yr as CurrentStateExecutionRequest, Yt as PersistedTriggerSetupState, Z as WorkflowErrorContext, Zn as CredentialAdvancedSectionPresentation, Zr as ExecutionFrontierPlan, Zt as RunnableNode, _ as JsonValue, _i as RunQueueEntry, _n as WebhookTriggerMatcher, _r as CredentialTypeDefinition, _t as FixedRetryPolicySpec, a as BinaryAttachment, ai as PersistedRunControlState, an as TriggerSetupStateRepository, ar as CredentialInstanceId, at as WorkflowPrunePolicySpec, b as NodeConfigBase, bi as RunStatus, bn as AllWorkflowsActiveWorkflowActivationPolicy, br as CredentialUnboundError, bt as BinaryAttachmentCreateRequest, c as ExecutionMode, ci as PersistedWorkflowSnapshot, cn as WorkflowRepository, cr as CredentialMaterialSourceKind, ct as WorkflowStoragePolicyResolver, d as ItemBinary, di as PinnedNodeOutputsByPort, dn as WorkflowSnapshotFactory, dr as CredentialRequirement, dt as nodeRef, ei as NodeExecutionStatus, en as TriggerCleanupHandle, er as CredentialBindingKey, et as WorkflowGraph, f as Items, fi as RunCompletionNotifier, fn as WorkflowSnapshotResolver, fr as CredentialSessionFactory, ft as runnableNodeInputType, g as JsonPrimitive, gi as RunPruneCandidate, gn as WebhookInvocationMatch, gr as CredentialType, gt as ExponentialRetryPolicySpec, h as JsonObject, hi as RunExecutionOptions, hn as WebhookControlSignal, hr as CredentialSetupStatus, ht as triggerNodeSetupStateType, i as ActivationIdFactory, ii as PersistedMutableRunState, in as TriggerSetupStateFor, ir as CredentialHealthTester, it as WorkflowPolicyRuntimeDefaults, j as NodeOutputs, jn as TelemetryScope, jr as inject, jt as ExecutionContext, k as NodeKind, kn as TelemetryChildSpanStart, kr as container, kt as ExecutableTriggerNode, l as InputPortKey, li as PersistedWorkflowSnapshotNode, ln as WorkflowRunnerResolver, lr as CredentialOAuth2AuthDefinition, lt as WorkflowStoragePolicySpec, m as JsonNonArray, mi as RunEventPublisherDeps, mn as TriggerInstanceId, mr as CredentialSessionService, mt as triggerNodeOutputType, n as InMemoryLiveWorkflowRepository, ni as PendingNodeExecution, nn as TriggerRuntimeDiagnostics, nr as CredentialHealth, nt as WorkflowId, o as BinaryPreviewKind, oi as PersistedRunSchedulingState, on as TriggerTestItemsContext, or as CredentialInstanceRecord, ot as WorkflowStoragePolicyDecisionArgs, p as JsonArray, pi as RunCurrentState, pn as HttpMethod, pr as CredentialSessionFactoryArgs, pt as runnableNodeOutputType, q as TriggerNodeOutputJson, qn as CostTrackingTelemetryFactory, qr as ConnectionInvocationId, qt as NodeExecutor, ri as PersistedMutableNodeState, rn as TriggerSetupContext, rr as CredentialHealthStatus, rt as WorkflowNodeConnection, s as Edge, si as PersistedRunState, sn as WorkflowNodeInstanceFactory, sr as CredentialJsonRecord, st as WorkflowStoragePolicyMode, t as RunIntentService, ti as NodeInputsByPort, tn as TriggerNode, tr as CredentialFieldSchema, tt as WorkflowGraphFactory, u as Item, ui as PersistedWorkflowTokenRegistryLike, un as WorkflowRunnerService, ur as CredentialOAuth2ScopesFromPublicConfig, ut as branchRef, v as MutableRunData, vi as RunResult, vn as WebhookTriggerResolution, vr as CredentialTypeId, vt as NoneRetryPolicySpec, w as NodeErrorHandlerArgs, wi as WorkflowExecutionListingRepository, wn as NodeExecutionTelemetry, wr as Disposable, wt as BinaryStorageStatResult, x as NodeConnectionName, xi as RunStopCondition, xn as WorkflowActivationPolicy, xr as OAuth2ProviderFromPublicConfig, xt as BinaryBody, y as NodeActivationId, yi as RunStateResetRequest, yn as WebhookTriggerRoutingDiagnostics, yr as CredentialTypeRegistry, yt as RetryPolicySpec, z as RunDataFactory, zn as NoOpExecutionTelemetry, zr as CoreTokens, zt as NodeActivationRequestBase } from "./RunIntentService-Dyh_dH0k.cjs";
2
+ import { a as RunnableOutputBehavior, c as InProcessRetryRunner, f as CredentialResolverFactory, i as UnavailableBinaryStorage, l as DefaultExecutionContextFactory, m as CostCatalogEntry, n as InMemoryBinaryStorage, o as RunnableOutputBehaviorResolver, p as CostCatalog, r as DefaultExecutionBinaryService, s as ItemExprResolver, t as InMemoryRunDataFactory, u as DefaultAsyncSleeper } from "./InMemoryRunDataFactory-Ou4tQUOS.cjs";
3
3
  import { ZodType, input, output, z } from "zod";
4
4
 
5
5
  //#region src/contracts/emitPorts.d.ts
@@ -226,6 +226,29 @@ interface WorkflowRunDetailDto {
226
226
  readonly mutableState?: PersistedMutableRunState;
227
227
  readonly slotStates: ReadonlyArray<SlotExecutionStateDto>;
228
228
  readonly executionInstances: ReadonlyArray<ExecutionInstanceDto>;
229
+ readonly iterations?: ReadonlyArray<RunIterationDto>;
230
+ }
231
+ /**
232
+ * Per-item iteration projected from connection invocations and node activations.
233
+ *
234
+ * One iteration = one item processed by an agent within an activation. Multiple invocations
235
+ * (LLM rounds, tool calls) belonging to the same iteration share the iterationId.
236
+ */
237
+ interface RunIterationDto {
238
+ readonly iterationId: string;
239
+ readonly agentNodeId: NodeId;
240
+ readonly activationId: NodeActivationId;
241
+ readonly itemIndex: number;
242
+ readonly itemSummary?: string;
243
+ readonly status: NodeExecutionStatus;
244
+ readonly startedAt?: string;
245
+ readonly finishedAt?: string;
246
+ readonly invocationIds: ReadonlyArray<string>;
247
+ readonly parentInvocationId?: string;
248
+ /** Estimated cost rolled up from telemetry cost metric points, keyed by ISO currency code (e.g. "USD"). Values are minor units (cents-of-cents per the metric's `cost.currency_scale`). */
249
+ readonly estimatedCostMinorByCurrency?: Readonly<Record<string, number>>;
250
+ /** Currency scale (denominator) per currency, when present on the metric points. Joined with `estimatedCostMinorByCurrency` to format human-readable amounts. */
251
+ readonly estimatedCostCurrencyScaleByCurrency?: Readonly<Record<string, number>>;
229
252
  }
230
253
  interface SlotExecutionStateDto {
231
254
  readonly slotNodeId: NodeId;
@@ -254,6 +277,12 @@ interface ExecutionInstanceDto {
254
277
  readonly inputJson?: JsonValue;
255
278
  readonly outputJson?: JsonValue;
256
279
  readonly error?: Readonly<NodeExecutionError>;
280
+ /** Per-item iteration that produced this instance. Set on connectionInvocation rows produced inside per-item runnable loops. */
281
+ readonly iterationId?: string;
282
+ /** Item index (0-based) of the iteration. */
283
+ readonly itemIndex?: number;
284
+ /** Parent invocation id when this instance was emitted by a sub-agent triggered by an outer LLM/tool call. */
285
+ readonly parentInvocationId?: string;
257
286
  }
258
287
  interface WorkflowDetailSelectionState {
259
288
  readonly selectedSlotNodeId: NodeId | null;
@@ -368,6 +397,22 @@ declare class ConnectionNodeIdFactory {
368
397
  static normalizeToolName(toolName: string): string;
369
398
  }
370
399
  //#endregion
400
+ //#region src/workflow/definition/NodeIterationIdFactory.d.ts
401
+ /**
402
+ * Unique ids for one per-item iteration of a runnable node's execute loop.
403
+ *
404
+ * Activations are per-batch (one scheduled execution of a node, possibly with N items).
405
+ * Iterations refine that to one identifier per item-index inside the batch loop, so per-item
406
+ * connection invocations and telemetry can be grouped without time-window heuristics.
407
+ */
408
+ declare class NodeIterationIdFactory {
409
+ static create(): string;
410
+ /** Deterministic id for tests when a stable sequence is needed. */
411
+ static createForTest(seed: string, sequence: number): string;
412
+ /** Deterministic id derived from a connection node id (for sub-agent / tool-call scopes). */
413
+ static createForConnection(connectionNodeId: NodeId, sequence: number): string;
414
+ }
415
+ //#endregion
371
416
  //#region src/workflow/definition/WorkflowExecutableNodeClassifier.d.ts
372
417
  /**
373
418
  * Derives which workflow nodes participate in the main execution graph vs connection-only children.
@@ -405,6 +450,29 @@ declare class NodeEventPublisher {
405
450
  publish(kind: "nodeQueued" | "nodeStarted" | "nodeCompleted" | "nodeFailed", snapshot: NodeExecutionSnapshot): Promise<void>;
406
451
  }
407
452
  //#endregion
453
+ //#region src/execution/ChildExecutionScopeFactory.d.ts
454
+ /**
455
+ * Builds a re-rooted child execution context for sub-agent (and other deeply-nested) invocations.
456
+ *
457
+ * At the orchestrator's `agent.tool.call` boundary the inner runtime needs a ctx whose:
458
+ * - `nodeId` is the tool's connection node id (so inner LLM/tool connection ids derive correctly),
459
+ * - `activationId` is fresh (so its connection-invocation rows are uniquely identifiable),
460
+ * - `telemetry` parents children under the tool-call span (not the orchestrator's node span),
461
+ * - `binary` is scoped to the new (nodeId, activationId),
462
+ * - `parentInvocationId` points back to the tool-call invocation for downstream lineage.
463
+ */
464
+ declare class ChildExecutionScopeFactory {
465
+ private readonly activationIdFactory;
466
+ constructor(activationIdFactory: ActivationIdFactory);
467
+ forSubAgent<TConfig$1 extends RunnableNodeConfig<any, any>>(args: Readonly<{
468
+ parentCtx: NodeExecutionContext<TConfig$1>;
469
+ childNodeId: NodeId;
470
+ childConfig: TConfig$1;
471
+ parentInvocationId: ConnectionInvocationId;
472
+ parentSpan: TelemetrySpanScope;
473
+ }>): NodeExecutionContext<TConfig$1>;
474
+ }
475
+ //#endregion
408
476
  //#region src/execution/NodeOutputNormalizer.d.ts
409
477
  declare class NodeOutputNormalizer {
410
478
  normalizeExecuteResult(args: Readonly<{
@@ -666,6 +734,15 @@ type ToolExecuteArgs<TConfig$1 extends ToolConfig = ToolConfig, TInput = unknown
666
734
  item: Item;
667
735
  itemIndex: number;
668
736
  items: Items;
737
+ /**
738
+ * Optional sub-agent boundary hooks: when present, the live `agent.tool.call` span and the
739
+ * planned tool-call invocationId are forwarded so node-backed runtimes can re-root their child
740
+ * execution scope. Plain function tools may safely ignore these hooks.
741
+ */
742
+ hooks?: Readonly<{
743
+ parentSpan?: TelemetrySpanScope;
744
+ parentInvocationId?: ConnectionInvocationId;
745
+ }>;
669
746
  }>;
670
747
  interface Tool<TConfig$1 extends ToolConfig = ToolConfig, TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> {
671
748
  readonly defaultDescription: string;
@@ -736,25 +813,47 @@ interface ChatModelConfig {
736
813
  readonly presentation?: AgentCanvasPresentation;
737
814
  getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
738
815
  }
739
- interface LangChainChatModelLike {
740
- invoke(input: unknown, options?: unknown): Promise<unknown>;
741
- bindTools?(tools: ReadonlyArray<unknown>): LangChainChatModelLike;
742
- withStructuredOutput?(outputSchema: ZodSchemaAny, config?: ChatModelStructuredOutputOptions): LangChainStructuredOutputModelLike;
816
+ /**
817
+ * Provider-neutral chat language model wrapper returned by a {@link ChatModelFactory}.
818
+ *
819
+ * Thin adapter around an AI SDK `LanguageModelV2` (from `@ai-sdk/provider`) plus the call-site
820
+ * defaults Codemation needs at every generate/stream: the provider label, the model name used for
821
+ * pricing / telemetry, and the default invocation options (max output tokens, temperature,
822
+ * provider-specific overrides).
823
+ *
824
+ * The consumer (AIAgentNode / AgentStructuredOutputRunner) passes `languageModel` directly into
825
+ * `generateText({ model, ... })` from the `ai` package.
826
+ */
827
+ interface ChatLanguageModel {
828
+ /** AI SDK `LanguageModelV2` instance (kept `unknown` to avoid leaking the SDK type into `@codemation/core`). */
829
+ readonly languageModel: unknown;
830
+ /** Stable pricing/telemetry key — e.g. `"gpt-4.1-nano"`. */
831
+ readonly modelName: string;
832
+ /** Provider label — e.g. `"openai"`. Used for cost tracking. */
833
+ readonly provider?: string;
834
+ /** Defaults merged into every call. Consumers may override per-invocation. */
835
+ readonly defaultCallOptions?: ChatLanguageModelCallOptions;
743
836
  }
744
- interface LangChainStructuredOutputModelLike {
745
- invoke(input: unknown, options?: unknown): Promise<unknown>;
837
+ interface ChatLanguageModelCallOptions {
838
+ readonly maxOutputTokens?: number;
839
+ readonly temperature?: number;
840
+ readonly providerOptions?: Readonly<Record<string, Readonly<Record<string, JsonValue>>>>;
746
841
  }
747
- interface ChatModelStructuredOutputOptions {
748
- readonly method?: "jsonSchema" | "functionCalling" | "jsonMode";
842
+ /**
843
+ * Options for a structured-output generate call. Mirrors
844
+ * `generateText({ output: Output.object(...) })` from the `ai` package.
845
+ */
846
+ interface StructuredOutputOptions {
847
+ /** Optional schema name — used by some providers as the JSON schema name attribute. */
848
+ readonly schemaName?: string;
849
+ /** When `true`, the consumer should pass a strict-mode-compatible JSON Schema record. */
749
850
  readonly strict?: boolean;
750
- readonly includeRaw?: boolean;
751
- readonly tools?: ReadonlyArray<unknown>;
752
851
  }
753
852
  interface ChatModelFactory<TConfig$1 extends ChatModelConfig = ChatModelConfig> {
754
853
  create(args: Readonly<{
755
854
  config: TConfig$1;
756
855
  ctx: NodeExecutionContext<any>;
757
- }>): Promise<LangChainChatModelLike> | LangChainChatModelLike;
856
+ }>): Promise<ChatLanguageModel> | ChatLanguageModel;
758
857
  }
759
858
  type NodeBackedToolInputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
760
859
  input: TToolInput;
@@ -818,6 +917,22 @@ type AgentConnectionNodeCollectorApi = Readonly<{
818
917
  }>;
819
918
  declare const AgentConnectionNodeCollector: AgentConnectionNodeCollectorApi;
820
919
  //#endregion
920
+ //#region src/events/ConnectionInvocationEventPublisher.d.ts
921
+ /**
922
+ * Publishes per-invocation lifecycle records onto the run {@link RunEventBus}.
923
+ *
924
+ * Surgical, per-invocation events let the UI update the right-side inspector
925
+ * timeline as each LLM round / tool call transitions through `running` → `completed`
926
+ * (or `failed`) without depending on a coarse `runSaved` poll.
927
+ */
928
+ declare class ConnectionInvocationEventPublisher {
929
+ private readonly eventBus;
930
+ private readonly parent;
931
+ constructor(eventBus: RunEventBus | undefined, parent: ParentExecutionRef | undefined);
932
+ publish(record: ConnectionInvocationRecord): Promise<void>;
933
+ private kindFor;
934
+ }
935
+ //#endregion
821
936
  //#region src/events/InMemoryRunEventBusRegistry.d.ts
822
937
  declare class InMemoryRunEventBus implements RunEventBus {
823
938
  private readonly globalListeners;
@@ -921,5 +1036,5 @@ declare class ItemsInputNormalizer {
921
1036
  private isItem;
922
1037
  }
923
1038
  //#endregion
924
- export { ActivationIdFactory, AgentAttachmentRole, AgentCanvasPresentation, AgentConfigInspector, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type AgentConnectionNodeRole, AgentGuardrailConfig, AgentGuardrailDefaults, AgentMessageBuildArgs, AgentMessageConfig, AgentMessageConfigNormalizer, AgentMessageDto, AgentMessageLine, AgentMessageRole, AgentMessageTemplate, AgentMessageTemplateContent, AgentModelInvocationOptions, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolFactory, AgentToolToken, AgentTurnLimitBehavior, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, type CallableToolConfigOptions, type CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, ChainCursor, ChatModelConfig, ChatModelFactory, ChatModelStructuredOutputOptions, type Clock, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationKind, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryFactory, CostTrackingTelemetryMetricNames, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefineBatchNodeOptions, DefineCredentialOptions, DefineNodeExecuteArgs, DefineNodeOptions, DefinedNode, DefinedNodeConfigInput, DefinedNodeCredentialAccessors, DefinedNodeCredentialBinding, DefinedNodeCredentialBindings, DefinedNodeRegistry, DefinedNodeRunContext, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, ItemExpr, ItemExprArgs, ItemExprCallback, ItemExprContext, ItemExprResolvedContext, ItemExprResolver, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LangChainChatModelLike, LangChainStructuredOutputModelLike, Lifecycle, LiveWorkflowRepository, MultiInputNode, MutableRunData, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, 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, NodeInputsByPort, NodeKind, NodeOffloadPolicy, NodeOutputNormalizer, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, type PersistedRuntimeTypeDecoratorOptions, type PersistedRuntimeTypeKind, type PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, RunnableOutputBehaviorResolver, SlotExecutionStateDto, StackTraceCallSitePathResolver, StepSequenceOutput, SystemClock, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, 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, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, callableTool, chatModel, container, defineBatchNode, defineCredential, defineNode, delay, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
1039
+ export { ActivationIdFactory, AgentAttachmentRole, AgentCanvasPresentation, AgentConfigInspector, type AgentConnectionCredentialSource, AgentConnectionNodeCollector, type AgentConnectionNodeDescriptor, type AgentConnectionNodeRole, AgentGuardrailConfig, AgentGuardrailDefaults, AgentMessageBuildArgs, AgentMessageConfig, AgentMessageConfigNormalizer, AgentMessageDto, AgentMessageLine, AgentMessageRole, AgentMessageTemplate, AgentMessageTemplateContent, AgentModelInvocationOptions, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolFactory, AgentToolToken, AgentTurnLimitBehavior, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, type CallableToolConfigOptions, type CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, ChainCursor, ChatLanguageModel, ChatLanguageModelCallOptions, ChatModelConfig, ChatModelFactory, ChildExecutionScopeFactory, type Clock, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationEventPublisher, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationKind, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryFactory, CostTrackingTelemetryMetricNames, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefineBatchNodeOptions, DefineCredentialOptions, DefineNodeExecuteArgs, DefineNodeOptions, DefinedNode, DefinedNodeConfigInput, DefinedNodeCredentialAccessors, DefinedNodeCredentialBinding, DefinedNodeCredentialBindings, DefinedNodeRegistry, DefinedNodeRunContext, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, ItemExpr, ItemExprArgs, ItemExprCallback, ItemExprContext, ItemExprResolvedContext, ItemExprResolver, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, Lifecycle, LiveWorkflowRepository, MultiInputNode, MutableRunData, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, 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, NodeInputsByPort, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputNormalizer, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, type PersistedRuntimeTypeDecoratorOptions, type PersistedRuntimeTypeKind, type PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, RunnableOutputBehaviorResolver, SlotExecutionStateDto, StackTraceCallSitePathResolver, StepSequenceOutput, StructuredOutputOptions, SystemClock, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, 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, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, callableTool, chatModel, container, defineBatchNode, defineCredential, defineNode, delay, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
925
1040
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as Expr, $i as CredentialJsonRecord, $n as NodeExecutionContext, $r as RunCompletionNotifier, $t as RunIdFactory, A as ExecutionInstanceDto, Aa as singleton, Ai as NoOpExecutionTelemetryFactory, An as RetryPolicySpec, Ar as WebhookTriggerRoutingDiagnostics, At as MutableRunData, B as RunSlotProjectionState, Bi as CostTrackingTelemetryMetricNames, Bn as ExecutableTriggerNode, Br as NodeExecutionSnapshot, Bt as NodeKind, C as BranchOutputGuard, Ca as inject, Ci as TelemetryScope, Cn as runnableNodeInputType, Cr as WorkflowSnapshotResolver, Ct as ItemBinary, D as RunFinishedAtFactory, Da as instancePerContainerCachingFactory, Di as CodemationTelemetryMetricNames, Dn as ExponentialRetryPolicySpec, Dr as WebhookInvocationMatch, Dt as JsonObject, E as ValidStepSequence, Ea as instanceCachingFactory, Ei as TelemetrySpanScope, En as triggerNodeSetupStateType, Er as WebhookControlSignal, Et as JsonNonArray, F as PersistedExecutionInstanceRecord, Fa as RunEvent, Fi as CostTrackingComponent, Fn as BinaryStorageStatResult, Fr as ConnectionInvocationRecord, Ft as NodeErrorHandler, G as WorkflowRunDetailDto, Gi as CredentialBinding, Gn as LiveWorkflowRepository, Gr as PersistedMutableRunState, Gt as OutputPortKey, H as WorkItemId, Hi as AnyCredentialType, Hn as ExecutionContext, Hr as NodeInputsByPort, Ht as NodeOutputs, I as PersistedRunSlotProjectionRecord, Ia as RunEventBus, Ii as CostTrackingPriceQuote, In as BinaryStorageWriteRequest, Ir as CurrentStateExecutionRequest, It as NodeErrorHandlerArgs, J as CostCatalog, Ji as CredentialHealth, Jn as NodeActivationReceipt, Jr as PersistedRunState, Jt as PersistedRunPolicySnapshot, K as NoOpCostTrackingTelemetryFactory, Ki as CredentialBindingKey, Kn as MultiInputNode, Kr as PersistedRunControlState, Kt as PairedItemRef, L as PersistedRunWorkItemKind, La as RunEventSubscription, Li as CostTrackingTelemetry, Ln as BinaryStorageWriteResult, Lr as EngineRunCounters, Lt as NodeErrorHandlerSpec, M as ExecutionPayloadPolicyFields, Mi as NoOpNodeExecutionTelemetry, Mn as BinaryBody, Mr as WorkflowActivationPolicy, Mt as NodeConfigBase, N as PayloadStorageKind, Na as EngineExecutionLimitsPolicy, Ni as NoOpTelemetrySpanScope, Nn as BinaryStorage, Nr as ConnectionInvocationAppendArgs, Nt as NodeConnectionName, O as BatchId, Oa as predicateAwareClassFactory, Oi as GenAiTelemetryAttributeNames, On as FixedRetryPolicySpec, Or as WebhookTriggerMatcher, Ot as JsonPrimitive, P as PersistedExecutionInstanceKind, Pa as EngineExecutionLimitsPolicyConfig, Pi as NoOpTelemetryArtifactReference, Pn as BinaryStorageReadResult, Pr as ConnectionInvocationId, Pt as NodeDefinition, Q as NoRetryPolicy, Qi as CredentialInstanceRecord, Qn as NodeBinaryAttachmentService, Qr as PinnedNodeOutputsByPort, Qt as RunId, R as PersistedRunWorkItemRecord, Ri as CostTrackingTelemetryAttributeNames, Rn as EngineDeps, Rr as ExecutionFrontierPlan, Rt as NodeId, S as BranchMoreArgs, Sa as delay, Si as TelemetryMetricRecord, Sn as nodeRef, Sr as WorkflowSnapshotFactory, St as Item, T as StepSequenceOutput, Ta as injectable, Ti as TelemetrySpanEventRecord, Tn as triggerNodeOutputType, Tr as TriggerInstanceId, Tt as JsonArray, U as WorkItemStatus, Ui as CredentialAdvancedSectionPresentation, Un as ExecutionContextFactory, Ur as PendingNodeExecution, Ut as NodeRef, V as SlotExecutionStateDto, Vi as CostTrackingUsageRecord, Vn as ExecutionBinaryService, Vr as NodeExecutionStatus, Vt as NodeOffloadPolicy, W as WorkflowDetailSelectionState, Wi as CredentialAuthDefinition, Wn as ItemNode, Wr as PersistedMutableNodeState, Wt as NodeSchedulerDecision, X as ExpRetryPolicy, Xi as CredentialHealthTester, Xn as NodeActivationRequestBase, Xr as PersistedWorkflowSnapshotNode, Xt as RunDataFactory, Y as CostCatalogEntry, Yi as CredentialHealthStatus, Yn as NodeActivationRequest, Yr as PersistedWorkflowSnapshot, Yt as PersistedTokenId, Z as RetryPolicy, Zi as CredentialInstanceId, Zn as NodeActivationScheduler, Zr as PersistedWorkflowTokenRegistryLike, Zt as RunDataSnapshot, _ as ChainCursor, _a as InjectionToken, _i as TelemetryArtifactAttachment, _n as WorkflowStoragePolicyDecisionArgs, _r as TriggerTestItemsContext, _t as BinaryAttachment, aa as CredentialSessionFactoryArgs, ai as RunResult, an as TriggerNodeSetupState, ar as NodeResolver, at as ItemExprContext, b as AnyTriggerNodeConfig, ba as TypeToken, bi as TelemetryAttributes, bn as WorkflowStoragePolicySpec, br as WorkflowRunnerResolver, bt as ExecutionMode, ca as CredentialType, ci as RunStopCondition, cn as WorkflowErrorContext, cr as RunnableNode, ct as itemExpr, d as DefaultWorkflowGraphFactory, da as CredentialTypeRegistry, di as WorkflowExecutionListingRepository, dn as WorkflowGraph, dr as TriggerCleanupHandle, dt as getOriginIndexFromItem, ea as CredentialMaterialSourceKind, ei as RunCurrentState, en as RunnableNodeConfig, er as NodeExecutionRequest, et as Param, f as WorkflowExecutableNodeClassifierFactory, fa as CredentialUnboundError, fi as WorkflowExecutionPruneRepository, fn as WorkflowGraphFactory, fr as TriggerNode, ft as PortsEmission, g as WorkflowBuilder, ga as Disposable, gi as NodeExecutionTelemetry, gn as WorkflowPrunePolicySpec, gr as TriggerSetupStateRepository, gt as ActivationIdFactory, h as ConnectionInvocationIdFactory, ha as DependencyContainer, hi as ExecutionTelemetryFactory, hn as WorkflowPolicyRuntimeDefaults, hr as TriggerSetupStateFor, ht as isUnbrandedPortsEmissionShape, ia as CredentialSessionFactory, ii as RunQueueEntry, in as TriggerNodeOutputJson, ir as NodeExecutor, it as ItemExprCallback, j as ExecutionInstanceId, ja as CoreTokens, ji as NoOpExecutionTelemetry, jn as BinaryAttachmentCreateRequest, jr as AllWorkflowsActiveWorkflowActivationPolicy, jt as NodeActivationId, k as ConnectionInvocationKind, ka as registry, ki as CodemationTelemetryAttributeNames, kn as NoneRetryPolicySpec, kr as WebhookTriggerResolution, kt as JsonValue, la as CredentialTypeDefinition, li as RunSummary, ln as WorkflowErrorHandler, lr as RunnableNodeExecuteArgs, lt as resolveItemExprsForExecution, m as ConnectionNodeIdFactory, ma as Container, mi as ExecutionTelemetry, mn as WorkflowNodeConnection, mr as TriggerSetupContext, mt as isPortsEmission, n as InMemoryLiveWorkflowRepository, na as CredentialOAuth2ScopesFromPublicConfig, ni as RunExecutionOptions, nn as RunnableNodeOutputJson, nr as NodeExecutionScheduler, nt as ItemExpr, oa as CredentialSessionService, oi as RunStateResetRequest, on as UpstreamRefPlaceholder, or as PersistedTriggerSetupState, ot as ItemExprResolvedContext, p as WorkflowExecutableNodeClassifier, pa as OAuth2ProviderFromPublicConfig, pi as WorkflowExecutionRepository, pn as WorkflowId, pr as TriggerRuntimeDiagnostics, pt as emitPorts, q as NoOpCostTrackingTelemetry, qi as CredentialFieldSchema, qn as NodeActivationContinuation, qr as PersistedRunSchedulingState, qt as ParentExecutionRef, ra as CredentialRequirement, ri as RunPruneCandidate, rn as TriggerNodeConfig, rr as NodeExecutionStatePublisher, rt as ItemExprArgs, sa as CredentialSetupStatus, si as RunStatus, sn as WorkflowDefinition, sr as PreparedNodeActivationDispatch, st as isItemExpr, t as RunIntentService, ta as CredentialOAuth2AuthDefinition, ti as RunEventPublisherDeps, tn as RunnableNodeInputJson, tr as NodeExecutionRequestHandler, tt as ParamDeep, ua as CredentialTypeId, ui as WebhookRunResult, un as WorkflowErrorHandlerSpec, ur as TestableTriggerNode, ut as resolveItemExprsInUnknown, v as WhenBuilder, va as Lifecycle, vi as TelemetryArtifactReference, vn as WorkflowStoragePolicyMode, vr as WorkflowNodeInstanceFactory, vt as BinaryPreviewKind, w as BranchStepsArg, wa as injectAll, wi as TelemetrySpanEnd, wn as runnableNodeOutputType, wr as HttpMethod, wt as Items, x as BooleanWhenOverloads, xa as container, xi as TelemetryChildSpanStart, xn as branchRef, xr as WorkflowRunnerService, xt as InputPortKey, y as AnyRunnableNodeConfig, ya as RegistrationOptions, yi as TelemetryAttributePrimitive, yn as WorkflowStoragePolicyResolver, yr as WorkflowRepository, yt as Edge, z as RunRevision, zi as CostTrackingTelemetryFactory, zn as EngineHost, zr as NodeExecutionError, zt as NodeIdRef } from "./RunIntentService-BqhmdoA1.js";
2
- import { $ as ChatModelConfig, A as AgentConnectionNodeDescriptor, At as DefinedNodeCredentialAccessors, B as AgentMessageLine, Bt as NodeOutputNormalizer, C as PersistedRuntimeTypeDecoratorOptions, Ct as defineCredential, D as InMemoryRunEventBus, Dt as DefineNodeOptions, E as EventPublishingWorkflowExecutionRepository, Et as DefineNodeExecuteArgs, F as AgentGuardrailConfig, Ft as defineNode, G as AgentNodeConfig, Gt as DefaultExecutionContextFactory, H as AgentMessageTemplate, Ht as ItemExprResolver, I as AgentGuardrailDefaults, It as Clock, J as AgentToolCallPlanner, Jt as CredentialResolverFactory, K as AgentTool, Kt as DefaultAsyncSleeper, L as AgentMessageBuildArgs, Lt as SystemClock, M as callableTool, Mt as DefinedNodeCredentialBindings, N as AgentAttachmentRole, Nt as DefinedNodeRunContext, O as AgentConnectionCredentialSource, Ot as DefinedNode, P as AgentCanvasPresentation, Pt as defineBatchNode, Q as AgentTurnLimitBehavior, R as AgentMessageConfig, S as InjectableRuntimeDecoratorComposer, St as DefineCredentialOptions, T as PersistedRuntimeTypeMetadata, Tt as DefineBatchNodeOptions, U as AgentMessageTemplateContent, Ut as InProcessRetryRunner, V as AgentMessageRole, Vt as RunnableOutputBehaviorResolver, W as AgentModelInvocationOptions, X as AgentToolExecuteArgs, Y as AgentToolDefinition, Yt as NodeEventPublisher, Z as AgentToolToken, _ as node, _t as CallableToolFactory, at as NodeBackedToolInputMapper, b as PersistedRuntimeTypeNameResolver, bt as CallableToolExecuteHandler, ct as NodeBackedToolOutputMapperArgs, d as InMemoryBinaryStorage, dt as ToolExecuteArgs, et as ChatModelFactory, f as DefaultExecutionBinaryService, ft as ZodSchemaAny, g as getPersistedRuntimeTypeMetadata, gt as CallableToolKindToken, h as chatModel, ht as AgentToolFactory, it as NodeBackedToolConfigOptions, j as AgentConnectionNodeRole, jt as DefinedNodeCredentialBinding, k as AgentConnectionNodeCollector, kt as DefinedNodeConfigInput, lt as Tool, m as ItemsInputNormalizer, mt as AgentMessageConfigNormalizer, nt as LangChainChatModelLike, ot as NodeBackedToolInputMapperArgs, p as UnavailableBinaryStorage, pt as AgentConfigInspector, q as AgentToolCall, rt as LangChainStructuredOutputModelLike, st as NodeBackedToolOutputMapper, tt as ChatModelStructuredOutputOptions, u as InMemoryRunDataFactory, ut as ToolConfig, v as tool, vt as CallableToolConfig, w as PersistedRuntimeTypeKind, wt as DefinedNodeRegistry, x as PersistedRuntimeTypeMetadataStore, xt as NodeBackedToolConfig, y as StackTraceCallSitePathResolver, yt as CallableToolConfigOptions, z as AgentMessageDto } from "./index-CVs9rVhl.js";
3
- export { ActivationIdFactory, AgentAttachmentRole, AgentCanvasPresentation, AgentConfigInspector, AgentConnectionCredentialSource, AgentConnectionNodeCollector, AgentConnectionNodeDescriptor, AgentConnectionNodeRole, AgentGuardrailConfig, AgentGuardrailDefaults, AgentMessageBuildArgs, AgentMessageConfig, AgentMessageConfigNormalizer, AgentMessageDto, AgentMessageLine, AgentMessageRole, AgentMessageTemplate, AgentMessageTemplateContent, AgentModelInvocationOptions, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolFactory, AgentToolToken, AgentTurnLimitBehavior, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, CallableToolConfigOptions, CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, ChainCursor, ChatModelConfig, ChatModelFactory, ChatModelStructuredOutputOptions, Clock, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationKind, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryFactory, CostTrackingTelemetryMetricNames, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefineBatchNodeOptions, DefineCredentialOptions, DefineNodeExecuteArgs, DefineNodeOptions, DefinedNode, DefinedNodeConfigInput, DefinedNodeCredentialAccessors, DefinedNodeCredentialBinding, DefinedNodeCredentialBindings, DefinedNodeRegistry, DefinedNodeRunContext, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, ItemExpr, ItemExprArgs, ItemExprCallback, ItemExprContext, ItemExprResolvedContext, ItemExprResolver, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, LangChainChatModelLike, LangChainStructuredOutputModelLike, Lifecycle, LiveWorkflowRepository, MultiInputNode, MutableRunData, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, 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, NodeInputsByPort, NodeKind, NodeOffloadPolicy, NodeOutputNormalizer, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedRuntimeTypeDecoratorOptions, PersistedRuntimeTypeKind, PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, RunnableOutputBehaviorResolver, SlotExecutionStateDto, StackTraceCallSitePathResolver, StepSequenceOutput, SystemClock, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, 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, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, callableTool, chatModel, container, defineBatchNode, defineCredential, defineNode, delay, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
1
+ import { $ as RetryPolicy, $i as CoreTokens, $n as NodeActivationRequestBase, $r as NoOpExecutionTelemetry, $t as RunDataFactory, A as ConnectionInvocationKind, Aa as RunPruneCandidate, Ai as CredentialType, An as ExponentialRetryPolicySpec, Ar as WebhookInvocationMatch, At as JsonPrimitive, B as RunIterationDto, Ba as WorkflowExecutionRepository, Bi as Lifecycle, Bn as BinaryStorageWriteResult, Br as TelemetryArtifactReference, Bt as NodeId, C as BranchMoreArgs, Ca as PersistedWorkflowSnapshotNode, Ci as CredentialOAuth2AuthDefinition, Cn as WorkflowStoragePolicySpec, Cr as WorkflowRunnerResolver, Ct as InputPortKey, D as ValidStepSequence, Da as RunCurrentState, Di as CredentialSessionFactoryArgs, Dn as runnableNodeOutputType, Dr as HttpMethod, Dt as JsonArray, E as StepSequenceOutput, Ea as RunCompletionNotifier, Ei as CredentialSessionFactory, En as runnableNodeInputType, Er as WorkflowSnapshotResolver, Et as Items, F as PersistedExecutionInstanceKind, Fa as RunStopCondition, Fi as OAuth2ProviderFromPublicConfig, Fn as BinaryBody, Fr as WorkflowActivationPolicy, Ft as NodeConnectionName, G as WorkItemStatus, Gi as inject, Gn as ExecutionContext, Gr as TelemetryScope, Gt as NodeOutputs, H as RunSlotProjectionState, Hi as TypeToken, Hn as EngineHost, Hr as TelemetryAttributes, Ht as NodeIterationId, I as PersistedExecutionInstanceRecord, Ia as RunSummary, Ii as Container, In as BinaryStorage, Ir as ExecutionTelemetry, It as NodeDefinition, J as NoOpCostTrackingTelemetryFactory, Ji as instanceCachingFactory, Jn as LiveWorkflowRepository, Jr as TelemetrySpanScope, Jt as OutputPortKey, K as WorkflowDetailSelectionState, Ki as injectAll, Kn as ExecutionContextFactory, Kr as TelemetrySpanEnd, Kt as NodeRef, L as PersistedRunSlotProjectionRecord, La as WebhookRunResult, Li as DependencyContainer, Ln as BinaryStorageReadResult, Lr as ExecutionTelemetryFactory, Lt as NodeErrorHandler, M as ExecutionInstanceId, Ma as RunResult, Mi as CredentialTypeId, Mn as NoneRetryPolicySpec, Mr as WebhookTriggerResolution, Mt as MutableRunData, N as ExecutionPayloadPolicyFields, Na as RunStateResetRequest, Ni as CredentialTypeRegistry, Nn as RetryPolicySpec, Nr as WebhookTriggerRoutingDiagnostics, Nt as NodeActivationId, O as RunFinishedAtFactory, Oa as RunEventPublisherDeps, Oi as CredentialSessionService, On as triggerNodeOutputType, Or as TriggerInstanceId, Ot as JsonNonArray, P as PayloadStorageKind, Pa as RunStatus, Pi as CredentialUnboundError, Pn as BinaryAttachmentCreateRequest, Pr as AllWorkflowsActiveWorkflowActivationPolicy, Pt as NodeConfigBase, Q as ExpRetryPolicy, Qi as singleton, Qn as NodeActivationRequest, Qr as NoOpExecutionTelemetryFactory, Qt as PersistedTokenId, R as PersistedRunWorkItemKind, Ra as WorkflowExecutionListingRepository, Ri as Disposable, Rn as BinaryStorageStatResult, Rr as NodeExecutionTelemetry, Rt as NodeErrorHandlerArgs, S as BooleanWhenOverloads, Sa as PersistedWorkflowSnapshot, Si as CredentialMaterialSourceKind, Sn as WorkflowStoragePolicyResolver, Sr as WorkflowRepository, St as ExecutionMode, T as BranchStepsArg, Ta as PinnedNodeOutputsByPort, Ti as CredentialRequirement, Tn as nodeRef, Tr as WorkflowSnapshotFactory, Tt as ItemBinary, U as SlotExecutionStateDto, Ui as container, Un as ExecutableTriggerNode, Ur as TelemetryChildSpanStart, Ut as NodeKind, V as RunRevision, Vi as RegistrationOptions, Vn as EngineDeps, Vr as TelemetryAttributePrimitive, Vt as NodeIdRef, W as WorkItemId, Wi as delay, Wn as ExecutionBinaryService, Wr as TelemetryMetricRecord, Wt as NodeOffloadPolicy, X as CostCatalog, Xi as predicateAwareClassFactory, Xn as NodeActivationContinuation, Xr as GenAiTelemetryAttributeNames, Xt as ParentExecutionRef, Y as NoOpCostTrackingTelemetry, Yi as instancePerContainerCachingFactory, Yn as MultiInputNode, Yr as CodemationTelemetryMetricNames, Yt as PairedItemRef, Z as CostCatalogEntry, Zi as registry, Zn as NodeActivationReceipt, Zr as CodemationTelemetryAttributeNames, Zt as PersistedRunPolicySnapshot, _ as WorkflowBuilder, _a as PersistedMutableNodeState, _i as CredentialHealthStatus, _n as WorkflowNodeConnection, _r as TriggerSetupContext, _t as isUnbrandedPortsEmissionShape, aa as RunEventSubscription, ai as CostTrackingTelemetry, an as RunnableNodeOutputJson, ar as NodeExecutionScheduler, at as ItemExprArgs, b as AnyRunnableNodeConfig, ba as PersistedRunSchedulingState, bi as CredentialInstanceRecord, bn as WorkflowStoragePolicyDecisionArgs, br as TriggerTestItemsContext, bt as BinaryPreviewKind, ca as ConnectionInvocationRecord, ci as CostTrackingTelemetryMetricNames, cn as TriggerNodeSetupState, cr as NodeResolver, ct as ItemExprResolvedContext, d as DefaultWorkflowGraphFactory, da as ExecutionFrontierPlan, di as CredentialAdvancedSectionPresentation, dn as WorkflowErrorContext, dr as RunnableNode, dt as resolveItemExprsForExecution, ei as NoOpNodeExecutionTelemetry, en as RunDataSnapshot, er as NodeActivationScheduler, et as NoRetryPolicy, f as WorkflowExecutableNodeClassifierFactory, fa as NodeExecutionError, fi as CredentialAuthDefinition, fn as WorkflowErrorHandler, fr as RunnableNodeExecuteArgs, ft as resolveItemExprsInUnknown, g as ConnectionInvocationIdFactory, ga as PendingNodeExecution, gi as CredentialHealth, gn as WorkflowId, gr as TriggerRuntimeDiagnostics, gt as isPortsEmission, h as ConnectionNodeIdFactory, ha as NodeInputsByPort, hi as CredentialFieldSchema, hn as WorkflowGraphFactory, hr as TriggerNode, ht as emitPorts, ia as RunEventBus, ii as CostTrackingPriceQuote, in as RunnableNodeInputJson, ir as NodeExecutionRequestHandler, it as ItemExpr, j as ExecutionInstanceDto, ja as RunQueueEntry, ji as CredentialTypeDefinition, jn as FixedRetryPolicySpec, jr as WebhookTriggerMatcher, jt as JsonValue, k as BatchId, ka as RunExecutionOptions, ki as CredentialSetupStatus, kn as triggerNodeSetupStateType, kr as WebhookControlSignal, kt as JsonObject, la as CurrentStateExecutionRequest, li as CostTrackingUsageRecord, ln as UpstreamRefPlaceholder, lr as PersistedTriggerSetupState, lt as isItemExpr, m as NodeIterationIdFactory, ma as NodeExecutionStatus, mi as CredentialBindingKey, mn as WorkflowGraph, mr as TriggerCleanupHandle, mt as PortsEmission, n as InMemoryLiveWorkflowRepository, na as EngineExecutionLimitsPolicyConfig, ni as NoOpTelemetryArtifactReference, nn as RunIdFactory, nr as NodeExecutionContext, nt as Param, oa as ConnectionInvocationAppendArgs, oi as CostTrackingTelemetryAttributeNames, on as TriggerNodeConfig, or as NodeExecutionStatePublisher, ot as ItemExprCallback, p as WorkflowExecutableNodeClassifier, pa as NodeExecutionSnapshot, pi as CredentialBinding, pn as WorkflowErrorHandlerSpec, pr as TestableTriggerNode, pt as getOriginIndexFromItem, q as WorkflowRunDetailDto, qi as injectable, qn as ItemNode, qr as TelemetrySpanEventRecord, qt as NodeSchedulerDecision, ra as RunEvent, ri as CostTrackingComponent, rn as RunnableNodeConfig, rr as NodeExecutionRequest, rt as ParamDeep, sa as ConnectionInvocationId, si as CostTrackingTelemetryFactory, sn as TriggerNodeOutputJson, sr as NodeExecutor, st as ItemExprContext, t as RunIntentService, ta as EngineExecutionLimitsPolicy, ti as NoOpTelemetrySpanScope, tn as RunId, tr as NodeBinaryAttachmentService, tt as Expr, ua as EngineRunCounters, ui as AnyCredentialType, un as WorkflowDefinition, ur as PreparedNodeActivationDispatch, ut as itemExpr, v as ChainCursor, va as PersistedMutableRunState, vi as CredentialHealthTester, vn as WorkflowPolicyRuntimeDefaults, vr as TriggerSetupStateFor, vt as ActivationIdFactory, w as BranchOutputGuard, wa as PersistedWorkflowTokenRegistryLike, wi as CredentialOAuth2ScopesFromPublicConfig, wn as branchRef, wr as WorkflowRunnerService, wt as Item, x as AnyTriggerNodeConfig, xa as PersistedRunState, xi as CredentialJsonRecord, xn as WorkflowStoragePolicyMode, xr as WorkflowNodeInstanceFactory, xt as Edge, y as WhenBuilder, ya as PersistedRunControlState, yi as CredentialInstanceId, yn as WorkflowPrunePolicySpec, yr as TriggerSetupStateRepository, yt as BinaryAttachment, z as PersistedRunWorkItemRecord, za as WorkflowExecutionPruneRepository, zi as InjectionToken, zn as BinaryStorageWriteRequest, zr as TelemetryArtifactAttachment, zt as NodeErrorHandlerSpec } from "./RunIntentService-dteLjNiT.js";
2
+ import { $ as AgentTurnLimitBehavior, A as AgentConnectionNodeCollector, At as DefinedNodeConfigInput, B as AgentMessageDto, C as PersistedRuntimeTypeDecoratorOptions, Ct as DefineCredentialOptions, D as InMemoryRunEventBus, Dt as DefineNodeExecuteArgs, E as EventPublishingWorkflowExecutionRepository, Et as DefineBatchNodeOptions, F as AgentCanvasPresentation, Ft as defineBatchNode, G as AgentModelInvocationOptions, H as AgentMessageRole, Ht as RunnableOutputBehaviorResolver, I as AgentGuardrailConfig, It as defineNode, J as AgentToolCall, K as AgentNodeConfig, Kt as DefaultExecutionContextFactory, L as AgentGuardrailDefaults, Lt as Clock, M as AgentConnectionNodeRole, Mt as DefinedNodeCredentialBinding, N as callableTool, Nt as DefinedNodeCredentialBindings, O as ConnectionInvocationEventPublisher, Ot as DefineNodeOptions, P as AgentAttachmentRole, Pt as DefinedNodeRunContext, Q as AgentToolToken, R as AgentMessageBuildArgs, Rt as SystemClock, S as InjectableRuntimeDecoratorComposer, St as NodeBackedToolConfig, T as PersistedRuntimeTypeMetadata, Tt as DefinedNodeRegistry, U as AgentMessageTemplate, Ut as ItemExprResolver, V as AgentMessageLine, Vt as NodeOutputNormalizer, W as AgentMessageTemplateContent, Wt as InProcessRetryRunner, X as AgentToolDefinition, Xt as ChildExecutionScopeFactory, Y as AgentToolCallPlanner, Yt as CredentialResolverFactory, Z as AgentToolExecuteArgs, Zt as NodeEventPublisher, _ as node, _t as CallableToolKindToken, at as NodeBackedToolInputMapper, b as PersistedRuntimeTypeNameResolver, bt as CallableToolConfigOptions, ct as NodeBackedToolOutputMapperArgs, d as InMemoryBinaryStorage, dt as ToolConfig, et as ChatLanguageModel, f as DefaultExecutionBinaryService, ft as ToolExecuteArgs, g as getPersistedRuntimeTypeMetadata, gt as AgentToolFactory, h as chatModel, ht as AgentMessageConfigNormalizer, it as NodeBackedToolConfigOptions, j as AgentConnectionNodeDescriptor, jt as DefinedNodeCredentialAccessors, k as AgentConnectionCredentialSource, kt as DefinedNode, lt as StructuredOutputOptions, m as ItemsInputNormalizer, mt as AgentConfigInspector, nt as ChatModelConfig, ot as NodeBackedToolInputMapperArgs, p as UnavailableBinaryStorage, pt as ZodSchemaAny, q as AgentTool, qt as DefaultAsyncSleeper, rt as ChatModelFactory, st as NodeBackedToolOutputMapper, tt as ChatLanguageModelCallOptions, u as InMemoryRunDataFactory, ut as Tool, v as tool, vt as CallableToolFactory, w as PersistedRuntimeTypeKind, wt as defineCredential, x as PersistedRuntimeTypeMetadataStore, xt as CallableToolExecuteHandler, y as StackTraceCallSitePathResolver, yt as CallableToolConfig, z as AgentMessageConfig } from "./index-CyfGTfU1.js";
3
+ export { ActivationIdFactory, AgentAttachmentRole, AgentCanvasPresentation, AgentConfigInspector, AgentConnectionCredentialSource, AgentConnectionNodeCollector, AgentConnectionNodeDescriptor, AgentConnectionNodeRole, AgentGuardrailConfig, AgentGuardrailDefaults, AgentMessageBuildArgs, AgentMessageConfig, AgentMessageConfigNormalizer, AgentMessageDto, AgentMessageLine, AgentMessageRole, AgentMessageTemplate, AgentMessageTemplateContent, AgentModelInvocationOptions, AgentNodeConfig, AgentTool, AgentToolCall, AgentToolCallPlanner, AgentToolDefinition, AgentToolExecuteArgs, AgentToolFactory, AgentToolToken, AgentTurnLimitBehavior, AllWorkflowsActiveWorkflowActivationPolicy, AnyCredentialType, AnyRunnableNodeConfig, AnyTriggerNodeConfig, BatchId, BinaryAttachment, BinaryAttachmentCreateRequest, BinaryBody, BinaryPreviewKind, BinaryStorage, BinaryStorageReadResult, BinaryStorageStatResult, BinaryStorageWriteRequest, BinaryStorageWriteResult, BooleanWhenOverloads, BranchMoreArgs, BranchOutputGuard, BranchStepsArg, CallableToolConfig, CallableToolConfigOptions, CallableToolExecuteHandler, CallableToolFactory, CallableToolKindToken, ChainCursor, ChatLanguageModel, ChatLanguageModelCallOptions, ChatModelConfig, ChatModelFactory, ChildExecutionScopeFactory, Clock, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationAppendArgs, ConnectionInvocationEventPublisher, ConnectionInvocationId, ConnectionInvocationIdFactory, ConnectionInvocationKind, ConnectionInvocationRecord, ConnectionNodeIdFactory, Container, CoreTokens, CostCatalog, CostCatalogEntry, CostTrackingComponent, CostTrackingPriceQuote, CostTrackingTelemetry, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryFactory, CostTrackingTelemetryMetricNames, CostTrackingUsageRecord, CredentialAdvancedSectionPresentation, CredentialAuthDefinition, CredentialBinding, CredentialBindingKey, CredentialFieldSchema, CredentialHealth, CredentialHealthStatus, CredentialHealthTester, CredentialInstanceId, CredentialInstanceRecord, CredentialJsonRecord, CredentialMaterialSourceKind, CredentialOAuth2AuthDefinition, CredentialOAuth2ScopesFromPublicConfig, CredentialRequirement, CredentialResolverFactory, CredentialSessionFactory, CredentialSessionFactoryArgs, CredentialSessionService, CredentialSetupStatus, CredentialType, CredentialTypeDefinition, CredentialTypeId, CredentialTypeRegistry, CredentialUnboundError, CurrentStateExecutionRequest, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefineBatchNodeOptions, DefineCredentialOptions, DefineNodeExecuteArgs, DefineNodeOptions, DefinedNode, DefinedNodeConfigInput, DefinedNodeCredentialAccessors, DefinedNodeCredentialBinding, DefinedNodeCredentialBindings, DefinedNodeRegistry, DefinedNodeRunContext, DependencyContainer, Disposable, Edge, EngineDeps, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyConfig, EngineHost, EngineRunCounters, EventPublishingWorkflowExecutionRepository, ExecutableTriggerNode, ExecutionBinaryService, ExecutionContext, ExecutionContextFactory, ExecutionFrontierPlan, ExecutionInstanceDto, ExecutionInstanceId, ExecutionMode, ExecutionPayloadPolicyFields, ExecutionTelemetry, ExecutionTelemetryFactory, ExpRetryPolicy, ExponentialRetryPolicySpec, Expr, FixedRetryPolicySpec, GenAiTelemetryAttributeNames, HttpMethod, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, InjectionToken, InputPortKey, Item, ItemBinary, ItemExpr, ItemExprArgs, ItemExprCallback, ItemExprContext, ItemExprResolvedContext, ItemExprResolver, ItemNode, Items, ItemsInputNormalizer, JsonArray, JsonNonArray, JsonObject, JsonPrimitive, JsonValue, Lifecycle, LiveWorkflowRepository, MultiInputNode, MutableRunData, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, 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, NodeInputsByPort, NodeIterationId, NodeIterationIdFactory, NodeKind, NodeOffloadPolicy, NodeOutputNormalizer, NodeOutputs, NodeRef, NodeResolver, NodeSchedulerDecision, NoneRetryPolicySpec, OAuth2ProviderFromPublicConfig, OutputPortKey, PairedItemRef, Param, ParamDeep, ParentExecutionRef, PayloadStorageKind, PendingNodeExecution, PersistedExecutionInstanceKind, PersistedExecutionInstanceRecord, PersistedMutableNodeState, PersistedMutableRunState, PersistedRunControlState, PersistedRunPolicySnapshot, PersistedRunSchedulingState, PersistedRunSlotProjectionRecord, PersistedRunState, PersistedRunWorkItemKind, PersistedRunWorkItemRecord, PersistedRuntimeTypeDecoratorOptions, PersistedRuntimeTypeKind, PersistedRuntimeTypeMetadata, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, PersistedTokenId, PersistedTriggerSetupState, PersistedWorkflowSnapshot, PersistedWorkflowSnapshotNode, PersistedWorkflowTokenRegistryLike, PinnedNodeOutputsByPort, PortsEmission, PreparedNodeActivationDispatch, RegistrationOptions, RetryPolicy, RetryPolicySpec, RunCompletionNotifier, RunCurrentState, RunDataFactory, RunDataSnapshot, RunEvent, RunEventBus, RunEventPublisherDeps, RunEventSubscription, RunExecutionOptions, RunFinishedAtFactory, RunId, RunIdFactory, RunIntentService, RunIterationDto, RunPruneCandidate, RunQueueEntry, RunResult, RunRevision, RunSlotProjectionState, RunStateResetRequest, RunStatus, RunStopCondition, RunSummary, RunnableNode, RunnableNodeConfig, RunnableNodeExecuteArgs, RunnableNodeInputJson, RunnableNodeOutputJson, RunnableOutputBehaviorResolver, SlotExecutionStateDto, StackTraceCallSitePathResolver, StepSequenceOutput, StructuredOutputOptions, SystemClock, TelemetryArtifactAttachment, TelemetryArtifactReference, TelemetryAttributePrimitive, TelemetryAttributes, TelemetryChildSpanStart, TelemetryMetricRecord, TelemetryScope, TelemetrySpanEnd, TelemetrySpanEventRecord, TelemetrySpanScope, 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, WorkflowDetailSelectionState, WorkflowErrorContext, WorkflowErrorHandler, WorkflowErrorHandlerSpec, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository, WorkflowExecutionRepository, WorkflowGraph, WorkflowGraphFactory, WorkflowId, WorkflowNodeConnection, WorkflowNodeInstanceFactory, WorkflowPolicyRuntimeDefaults, WorkflowPrunePolicySpec, WorkflowRepository, WorkflowRunDetailDto, WorkflowRunnerResolver, WorkflowRunnerService, WorkflowSnapshotFactory, WorkflowSnapshotResolver, WorkflowStoragePolicyDecisionArgs, WorkflowStoragePolicyMode, WorkflowStoragePolicyResolver, WorkflowStoragePolicySpec, ZodSchemaAny, branchRef, callableTool, chatModel, container, defineBatchNode, defineCredential, defineNode, delay, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, runnableNodeInputType, runnableNodeOutputType, singleton, tool, triggerNodeOutputType, triggerNodeSetupStateType };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as CostTrackingTelemetryMetricNames, At as inject, B as nodeRef, Ct as tool, Dt as PersistedRuntimeTypeNameResolver, Et as StackTraceCallSitePathResolver, F as InProcessRetryRunner, Ft as predicateAwareClassFactory, G as NoOpExecutionTelemetryFactory, H as CodemationTelemetryMetricNames, It as registry, J as NoOpTelemetrySpanScope, K as NoOpExecutionTelemetry, L as DefaultExecutionContextFactory, Lt as singleton, M as RunnableOutputBehaviorResolver, Mt as injectable, N as NodeOutputNormalizer, Nt as instanceCachingFactory, Ot as container, P as ItemExprResolver, Pt as instancePerContainerCachingFactory, Q as CostTrackingTelemetryAttributeNames, R as AllWorkflowsActiveWorkflowActivationPolicy, Rt as CoreTokens, St as node, Tt as PersistedRuntimeTypeMetadataStore, U as GenAiTelemetryAttributeNames, V as RunFinishedAtFactory, W as CodemationTelemetryAttributeNames, X as NoOpCostTrackingTelemetryFactory, Y as NoOpTelemetryArtifactReference, Z as NoOpCostTrackingTelemetry, _t as itemExpr, a as InMemoryLiveWorkflowRepository, at as isPortsEmission, bt as chatModel, ct as CredentialResolverFactory, d as InMemoryBinaryStorage, dt as UnavailableBinaryStorage, et as CredentialUnboundError, ft as NodeEventPublisher, g as EngineExecutionLimitsPolicy, gt as isItemExpr, ht as ConnectionNodeIdFactory, i as RunIntentService, it as emitPorts, jt as injectAll, kt as delay, lt as getOriginIndexFromItem, mt as WorkflowExecutableNodeClassifier, nt as RetryPolicy, ot as isUnbrandedPortsEmissionShape, pt as WorkflowExecutableNodeClassifierFactory, q as NoOpNodeExecutionTelemetry, rt as NoRetryPolicy, st as DefaultAsyncSleeper, tt as ExpRetryPolicy, u as InMemoryRunDataFactory, ut as DefaultExecutionBinaryService, vt as resolveItemExprsForExecution, wt as InjectableRuntimeDecoratorComposer, xt as getPersistedRuntimeTypeMetadata, yt as resolveItemExprsInUnknown, z as branchRef } from "./runtime-DUW6tIJ1.js";
1
+ import { $ as CostTrackingTelemetryMetricNames, At as StackTraceCallSitePathResolver, B as nodeRef, Bt as registry, Ct as resolveItemExprsInUnknown, Dt as tool, Et as node, F as InProcessRetryRunner, Ft as injectAll, G as NoOpExecutionTelemetryFactory, H as CodemationTelemetryMetricNames, Ht as CoreTokens, It as injectable, J as NoOpTelemetrySpanScope, K as NoOpExecutionTelemetry, L as DefaultExecutionContextFactory, Lt as instanceCachingFactory, M as RunnableOutputBehaviorResolver, Mt as container, N as NodeOutputNormalizer, Nt as delay, Ot as InjectableRuntimeDecoratorComposer, P as ItemExprResolver, Pt as inject, Q as CostTrackingTelemetryAttributeNames, R as AllWorkflowsActiveWorkflowActivationPolicy, Rt as instancePerContainerCachingFactory, St as resolveItemExprsForExecution, Tt as getPersistedRuntimeTypeMetadata, U as GenAiTelemetryAttributeNames, V as RunFinishedAtFactory, Vt as singleton, W as CodemationTelemetryAttributeNames, X as NoOpCostTrackingTelemetryFactory, Y as NoOpTelemetryArtifactReference, Z as NoOpCostTrackingTelemetry, _t as WorkflowExecutableNodeClassifier, a as InMemoryLiveWorkflowRepository, at as isPortsEmission, bt as isItemExpr, ct as CredentialResolverFactory, d as InMemoryBinaryStorage, dt as DefaultExecutionBinaryService, et as CredentialUnboundError, ft as UnavailableBinaryStorage, g as EngineExecutionLimitsPolicy, gt as WorkflowExecutableNodeClassifierFactory, ht as ConnectionInvocationEventPublisher, i as RunIntentService, it as emitPorts, jt as PersistedRuntimeTypeNameResolver, kt as PersistedRuntimeTypeMetadataStore, lt as getOriginIndexFromItem, mt as NodeEventPublisher, nt as RetryPolicy, ot as isUnbrandedPortsEmissionShape, pt as __decorate, q as NoOpNodeExecutionTelemetry, rt as NoRetryPolicy, st as DefaultAsyncSleeper, tt as ExpRetryPolicy, u as InMemoryRunDataFactory, ut as ChildExecutionScopeFactory, vt as NodeIterationIdFactory, wt as chatModel, xt as itemExpr, yt as ConnectionNodeIdFactory, z as branchRef, zt as predicateAwareClassFactory } from "./runtime-284ok0cm.js";
2
2
  import { i as WhenBuilder, n as WorkflowBuilder, r as ChainCursor, t as InMemoryRunEventBus } from "./InMemoryRunEventBusRegistry-C2U83Hmv.js";
3
3
  import { ZodError, z } from "zod";
4
4
  import { randomUUID } from "node:crypto";
@@ -637,15 +637,6 @@ var EventPublishingWorkflowExecutionRepository = class {
637
637
  }
638
638
  };
639
639
 
640
- //#endregion
641
- //#region \0@oxc-project+runtime@0.95.0/helpers/decorate.js
642
- function __decorate(decorators, target, key, desc) {
643
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
644
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
645
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
646
- return c > 3 && r && Object.defineProperty(target, key, r), r;
647
- }
648
-
649
640
  //#endregion
650
641
  //#region src/serialization/ItemsInputNormalizer.ts
651
642
  let ItemsInputNormalizer = class ItemsInputNormalizer$1 {
@@ -670,5 +661,5 @@ let ItemsInputNormalizer = class ItemsInputNormalizer$1 {
670
661
  ItemsInputNormalizer = __decorate([injectable()], ItemsInputNormalizer);
671
662
 
672
663
  //#endregion
673
- export { AgentConfigInspector, AgentConnectionNodeCollector, AgentGuardrailDefaults, AgentMessageConfigNormalizer, AgentToolFactory, AllWorkflowsActiveWorkflowActivationPolicy, CallableToolConfig, CallableToolFactory, CallableToolKindToken, ChainCursor, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationIdFactory, ConnectionNodeIdFactory, CoreTokens, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryMetricNames, CredentialResolverFactory, CredentialUnboundError, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefinedNodeRegistry, EngineExecutionLimitsPolicy, EventPublishingWorkflowExecutionRepository, ExpRetryPolicy, GenAiTelemetryAttributeNames, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, ItemExprResolver, ItemsInputNormalizer, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NoRetryPolicy, NodeBackedToolConfig, NodeEventPublisher, NodeOutputNormalizer, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, RetryPolicy, RunFinishedAtFactory, RunIntentService, RunnableOutputBehaviorResolver, StackTraceCallSitePathResolver, SystemClock, UnavailableBinaryStorage, WhenBuilder, WorkflowBuilder, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, branchRef, callableTool, chatModel, container, defineBatchNode, defineCredential, defineNode, delay, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, singleton, tool };
664
+ export { AgentConfigInspector, AgentConnectionNodeCollector, AgentGuardrailDefaults, AgentMessageConfigNormalizer, AgentToolFactory, AllWorkflowsActiveWorkflowActivationPolicy, CallableToolConfig, CallableToolFactory, CallableToolKindToken, ChainCursor, ChildExecutionScopeFactory, CodemationTelemetryAttributeNames, CodemationTelemetryMetricNames, ConnectionInvocationEventPublisher, ConnectionInvocationIdFactory, ConnectionNodeIdFactory, CoreTokens, CostTrackingTelemetryAttributeNames, CostTrackingTelemetryMetricNames, CredentialResolverFactory, CredentialUnboundError, DefaultAsyncSleeper, DefaultExecutionBinaryService, DefaultExecutionContextFactory, DefaultWorkflowGraphFactory, DefinedNodeRegistry, EngineExecutionLimitsPolicy, EventPublishingWorkflowExecutionRepository, ExpRetryPolicy, GenAiTelemetryAttributeNames, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryRunEventBus, InProcessRetryRunner, InjectableRuntimeDecoratorComposer, ItemExprResolver, ItemsInputNormalizer, NoOpCostTrackingTelemetry, NoOpCostTrackingTelemetryFactory, NoOpExecutionTelemetry, NoOpExecutionTelemetryFactory, NoOpNodeExecutionTelemetry, NoOpTelemetryArtifactReference, NoOpTelemetrySpanScope, NoRetryPolicy, NodeBackedToolConfig, NodeEventPublisher, NodeIterationIdFactory, NodeOutputNormalizer, PersistedRuntimeTypeMetadataStore, PersistedRuntimeTypeNameResolver, RetryPolicy, RunFinishedAtFactory, RunIntentService, RunnableOutputBehaviorResolver, StackTraceCallSitePathResolver, SystemClock, UnavailableBinaryStorage, WhenBuilder, WorkflowBuilder, WorkflowExecutableNodeClassifier, WorkflowExecutableNodeClassifierFactory, branchRef, callableTool, chatModel, container, defineBatchNode, defineCredential, defineNode, delay, emitPorts, getOriginIndexFromItem, getPersistedRuntimeTypeMetadata, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, isItemExpr, isPortsEmission, isUnbrandedPortsEmissionShape, itemExpr, node, nodeRef, predicateAwareClassFactory, registry, resolveItemExprsForExecution, resolveItemExprsInUnknown, singleton, tool };
674
665
  //# sourceMappingURL=index.js.map