@codemation/core 0.11.0 → 0.11.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 (67) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/CostCatalogContract-DZgcUBE4.d.cts +19 -0
  3. package/dist/{EngineRuntimeRegistration.types-BZ_1XWAJ.d.ts → EngineRuntimeRegistration.types-BQbS9_gs.d.ts} +2 -2
  4. package/dist/{EngineRuntimeRegistration.types-MPYWsEM0.d.cts → EngineRuntimeRegistration.types-Cggm5GVY.d.cts} +3 -2
  5. package/dist/{InMemoryRunDataFactory-hmkh0lzR.d.cts → InMemoryRunDataFactory-C7YItvHG.d.cts} +3 -18
  6. package/dist/{InMemoryRunEventBusRegistry-sM4z4n_i.js → InMemoryRunEventBusRegistry-Bwunvt1T.js} +1 -1
  7. package/dist/{InMemoryRunEventBusRegistry-sM4z4n_i.js.map → InMemoryRunEventBusRegistry-Bwunvt1T.js.map} +1 -1
  8. package/dist/{InMemoryRunEventBusRegistry-VM3OWnHo.cjs → InMemoryRunEventBusRegistry-Sa86VxuV.cjs} +1 -1
  9. package/dist/{InMemoryRunEventBusRegistry-VM3OWnHo.cjs.map → InMemoryRunEventBusRegistry-Sa86VxuV.cjs.map} +1 -1
  10. package/dist/ItemsInputNormalizer-C_dpn76M.d.cts +407 -0
  11. package/dist/ItemsInputNormalizer-CwdOhSAK.cjs +43 -0
  12. package/dist/ItemsInputNormalizer-CwdOhSAK.cjs.map +1 -0
  13. package/dist/ItemsInputNormalizer-D-MH8MBs.js +36 -0
  14. package/dist/ItemsInputNormalizer-D-MH8MBs.js.map +1 -0
  15. package/dist/ItemsInputNormalizer-_Mfcd3YU.d.ts +321 -0
  16. package/dist/RunIntentService-BVur7x9n.d.ts +285 -0
  17. package/dist/RunIntentService-CEF-sFfI.d.cts +206 -0
  18. package/dist/{RunIntentService-MUHJ1bhO.d.cts → agentMcpTypes-ZiNbNsEi.d.cts} +2 -204
  19. package/dist/bootstrap/index.cjs +4 -2
  20. package/dist/bootstrap/index.d.cts +5 -3
  21. package/dist/bootstrap/index.d.ts +5 -4
  22. package/dist/bootstrap/index.js +4 -2
  23. package/dist/{bootstrap-dVmpU1ju.cjs → bootstrap-BxuTFTLB.cjs} +38 -36
  24. package/dist/{bootstrap-dVmpU1ju.cjs.map → bootstrap-BxuTFTLB.cjs.map} +1 -1
  25. package/dist/{bootstrap-Dgzsjoj7.js → bootstrap-D_Yyi0wL.js} +4 -2
  26. package/dist/{bootstrap-Dgzsjoj7.js.map → bootstrap-D_Yyi0wL.js.map} +1 -1
  27. package/dist/browser.cjs +16 -0
  28. package/dist/browser.d.cts +4 -0
  29. package/dist/browser.d.ts +3 -0
  30. package/dist/browser.js +4 -0
  31. package/dist/contracts-CK0x6w_G.cjs +74 -0
  32. package/dist/contracts-CK0x6w_G.cjs.map +1 -0
  33. package/dist/contracts-DXdfTdpW.js +50 -0
  34. package/dist/contracts-DXdfTdpW.js.map +1 -0
  35. package/dist/contracts.cjs +6 -0
  36. package/dist/contracts.d.cts +5 -0
  37. package/dist/contracts.d.ts +2 -0
  38. package/dist/contracts.js +3 -0
  39. package/dist/di-0Wop7z1y.js +376 -0
  40. package/dist/di-0Wop7z1y.js.map +1 -0
  41. package/dist/di-BlEKdoZS.cjs +489 -0
  42. package/dist/di-BlEKdoZS.cjs.map +1 -0
  43. package/dist/executionPersistenceContracts-BgZMRsTa.d.cts +275 -0
  44. package/dist/{index-Bes88mxT.d.ts → index-62Ba9f7D.d.ts} +6 -319
  45. package/dist/{RunIntentService-BrEq6Jm6.d.ts → index-zWGtEhrf.d.ts} +2 -283
  46. package/dist/index.cjs +29 -92
  47. package/dist/index.cjs.map +1 -1
  48. package/dist/index.d.cts +9 -715
  49. package/dist/index.d.ts +4 -2
  50. package/dist/index.js +5 -68
  51. package/dist/index.js.map +1 -1
  52. package/dist/params-B5SENSzZ.d.cts +44 -0
  53. package/dist/{runtime-vH0EeZzH.cjs → runtime-DBzq5YBi.cjs} +13 -517
  54. package/dist/runtime-DBzq5YBi.cjs.map +1 -0
  55. package/dist/{runtime-Duf3ClPw.js → runtime-cxmUkk0l.js} +3 -389
  56. package/dist/runtime-cxmUkk0l.js.map +1 -0
  57. package/dist/testing.cjs +23 -21
  58. package/dist/testing.cjs.map +1 -1
  59. package/dist/testing.d.cts +3 -2
  60. package/dist/testing.d.ts +3 -2
  61. package/dist/testing.js +5 -3
  62. package/dist/testing.js.map +1 -1
  63. package/package.json +9 -5
  64. package/src/ai/AgentConnectionNodeCollector.ts +1 -1
  65. package/tsdown.config.ts +1 -1
  66. package/dist/runtime-Duf3ClPw.js.map +0 -1
  67. package/dist/runtime-vH0EeZzH.cjs.map +0 -1
@@ -0,0 +1,275 @@
1
+ import { Dt as JsonValue, Ii as NodeId, Jt as RunId, M as RunStatus, b as PersistedWorkflowSnapshot, f as NodeExecutionStatus, g as PersistedMutableRunState, kt as NodeActivationId, n as AgentMcpToolMap, t as AgentMcpIntegration, u as NodeExecutionError, zi as WorkflowId } from "./agentMcpTypes-ZiNbNsEi.cjs";
2
+
3
+ //#region src/contracts/AgentBindError.d.ts
4
+
5
+ /**
6
+ * Thrown at agent bind time when mcpServers declarations cannot be resolved.
7
+ * Causes include: unknown server id, missing credential instance, insufficient scopes,
8
+ * and ambiguous shorthand binding (multiple credential instances match).
9
+ */
10
+ declare class AgentBindError extends Error {
11
+ constructor(message: string);
12
+ }
13
+ //#endregion
14
+ //#region src/contracts/NoOpAgentMcpIntegration.d.ts
15
+ /**
16
+ * No-op implementation of AgentMcpIntegration.
17
+ * Registered by the core engine runtime as a fallback when the host does not
18
+ * supply a real implementation (e.g. in unit tests or headless engine setups).
19
+ * Always returns an empty tool map so the agent runs with node-backed tools only.
20
+ */
21
+ declare class NoOpAgentMcpIntegration implements AgentMcpIntegration {
22
+ prepareMcpTools(): Promise<AgentMcpToolMap>;
23
+ }
24
+ //#endregion
25
+ //#region src/contracts/assertionTypes.d.ts
26
+ /**
27
+ * One assertion emitted by an assertion-emitting node (a node whose config sets
28
+ * `emitsAssertions: true`). Each emitted item on `main` carries one of these as `item.json`.
29
+ *
30
+ * Pass/fail is derived from `score >= (passThreshold ?? 0.5)` — see {@link deriveAssertionPassed}.
31
+ * The `errored` marker is for cases where the assertion code itself threw (distinct from
32
+ * "the assertion was evaluated and the score was low") and is treated as a hard fail in rollups
33
+ * regardless of `score`.
34
+ */
35
+ interface AssertionResult {
36
+ readonly name: string;
37
+ /** 0..1 score. Source of truth for pass/fail (compared against `passThreshold`). */
38
+ readonly score: number;
39
+ /** 0..1 threshold for "passed". When omitted, consumers default to 0.5. */
40
+ readonly passThreshold?: number;
41
+ /** True when evaluating the assertion threw — treated as fail regardless of `score`. */
42
+ readonly errored?: true;
43
+ /** What the assertion expected. Free-form JSON; UIs render with a JSON viewer. */
44
+ readonly expected?: JsonValue;
45
+ /** What the workflow actually produced. */
46
+ readonly actual?: JsonValue;
47
+ /** Short human-readable explanation, especially for fails / errors. */
48
+ readonly message?: string;
49
+ /** Bag of supplemental fields (e.g. judge prompt, judge raw response, comparison method). */
50
+ readonly details?: Readonly<Record<string, JsonValue>>;
51
+ }
52
+ /**
53
+ * Default {@link AssertionResult.passThreshold} when authors omit it. Boolean-style assertions
54
+ * (assertEqual / contains / etc.) emit `score: 1` or `score: 0` so this default works for them;
55
+ * AI-judge assertions are expected to set their own threshold.
56
+ */
57
+ declare const DEFAULT_ASSERTION_PASS_THRESHOLD = 0.5;
58
+ /**
59
+ * Derive whether an assertion result is considered "passing" using the score-based contract:
60
+ * `errored` always fails, otherwise `score >= (passThreshold ?? 0.5)`. This is the canonical
61
+ * derivation — UI and rollup code should call it rather than inlining the comparison so future
62
+ * tweaks (e.g. NaN handling) land in one place.
63
+ */
64
+ declare function deriveAssertionPassed(result: {
65
+ readonly score: number;
66
+ readonly passThreshold?: number;
67
+ readonly errored?: true;
68
+ }): boolean;
69
+ /**
70
+ * Provenance for a persisted {@link AssertionResult}: which node produced it and where in the
71
+ * per-item iteration tree it landed. Filled in by the host-side persister, not the node itself.
72
+ */
73
+ interface AssertionResultProvenance {
74
+ readonly nodeId: NodeId;
75
+ /** Per-item iteration id when the emitting node ran inside a per-item loop. */
76
+ readonly iterationId?: string;
77
+ /** Item index (0-based) within the activation that produced this assertion. */
78
+ readonly itemIndex?: number;
79
+ }
80
+ //#endregion
81
+ //#region src/contracts/executionPersistenceContracts.d.ts
82
+ /** Canonical id for persisted execution rows (activation or connection invocation). */
83
+ type ExecutionInstanceId = string;
84
+ /** Stable id for persisted work-queue rows. */
85
+ type WorkItemId = string;
86
+ /** Batch grouping for planner activations. */
87
+ type BatchId = string;
88
+ /** Optimistic concurrency on the run root. */
89
+ type RunRevision = number;
90
+ type PersistedRunWorkItemKind = "queue" | "pending";
91
+ type WorkItemStatus = "queued" | "claimed" | "completed" | "failed" | "cancelled";
92
+ type PersistedExecutionInstanceKind = "workflowNodeActivation" | "connectionInvocation";
93
+ type ConnectionInvocationKind = "languageModel" | "tool" | "nestedAgent";
94
+ type PayloadStorageKind = "inline" | "external" | "omitted";
95
+ /**
96
+ * Persisted run-work-queue row (queue entry or pending activation).
97
+ * Serialized to {@link RunWorkItem} in Prisma; engine still uses {@link PersistedRunState} queue + pending.
98
+ */
99
+ interface PersistedRunWorkItemRecord {
100
+ readonly workItemId: WorkItemId;
101
+ readonly runId: RunId;
102
+ readonly workflowId: WorkflowId;
103
+ readonly kind: PersistedRunWorkItemKind;
104
+ readonly orderIndex: number;
105
+ readonly status: WorkItemStatus;
106
+ readonly queueName?: string;
107
+ readonly claimToken?: string;
108
+ readonly claimedBy?: string;
109
+ readonly claimedAt?: string;
110
+ readonly availableAt: string;
111
+ readonly enqueuedAt: string;
112
+ readonly completedAt?: string;
113
+ readonly failedAt?: string;
114
+ readonly sourceInstanceId?: ExecutionInstanceId;
115
+ readonly parentInstanceId?: ExecutionInstanceId;
116
+ readonly itemsIn: number;
117
+ /** Queue entry when kind is queue; pending activation when kind is pending. */
118
+ readonly payloadJson: string;
119
+ readonly error?: Readonly<NodeExecutionError>;
120
+ }
121
+ /**
122
+ * Payload policy fields for large-batch externalization (optional on first rollout).
123
+ */
124
+ interface ExecutionPayloadPolicyFields {
125
+ readonly inputStorageKind: PayloadStorageKind;
126
+ readonly outputStorageKind: PayloadStorageKind;
127
+ readonly inputBytes?: number;
128
+ readonly outputBytes?: number;
129
+ readonly inputPreviewJson?: unknown;
130
+ readonly outputPreviewJson?: unknown;
131
+ readonly inputPayloadRef?: string;
132
+ readonly outputPayloadRef?: string;
133
+ readonly inputTruncated?: boolean;
134
+ readonly outputTruncated?: boolean;
135
+ }
136
+ /**
137
+ * One persisted execution row (workflow node activation or connection invocation).
138
+ */
139
+ interface PersistedExecutionInstanceRecord {
140
+ readonly instanceId: ExecutionInstanceId;
141
+ readonly runId: RunId;
142
+ readonly workflowId: WorkflowId;
143
+ readonly slotNodeId: NodeId;
144
+ readonly workflowNodeId: NodeId;
145
+ readonly kind: PersistedExecutionInstanceKind;
146
+ readonly connectionKind?: ConnectionInvocationKind;
147
+ readonly activationId?: NodeActivationId;
148
+ readonly batchId: BatchId;
149
+ readonly runIndex: number;
150
+ readonly parentInstanceId?: ExecutionInstanceId;
151
+ readonly parentRunId?: RunId;
152
+ readonly workerClaimToken?: string;
153
+ readonly status: NodeExecutionStatus;
154
+ readonly queuedAt?: string;
155
+ readonly startedAt?: string;
156
+ readonly finishedAt?: string;
157
+ readonly updatedAt: string;
158
+ readonly itemCount: number;
159
+ readonly inputJson?: string;
160
+ readonly outputJson?: string;
161
+ readonly errorJson?: string;
162
+ readonly inputItemIndicesJson?: string;
163
+ readonly outputItemCount?: number;
164
+ readonly successfulItemCount?: number;
165
+ readonly failedItemCount?: number;
166
+ readonly truncatedInputPreviewJson?: string;
167
+ readonly truncatedOutputPreviewJson?: string;
168
+ readonly inputTruncated?: boolean;
169
+ readonly outputTruncated?: boolean;
170
+ readonly usedPinnedOutput?: boolean;
171
+ readonly payloadPolicy?: ExecutionPayloadPolicyFields;
172
+ }
173
+ /**
174
+ * Cached slot projection for planner/debugger/UI (not canonical history).
175
+ */
176
+ interface RunSlotProjectionState {
177
+ readonly runId: RunId;
178
+ readonly workflowId: WorkflowId;
179
+ readonly revision: RunRevision;
180
+ readonly slotStatesByNodeId: Record<NodeId, Readonly<{
181
+ latestInstanceId?: ExecutionInstanceId;
182
+ latestTerminalInstanceId?: ExecutionInstanceId;
183
+ latestRunningInstanceId?: ExecutionInstanceId;
184
+ latestStatus?: NodeExecutionStatus;
185
+ invocationCount: number;
186
+ runCount: number;
187
+ }>>;
188
+ }
189
+ interface PersistedRunSlotProjectionRecord {
190
+ readonly runId: RunId;
191
+ readonly workflowId: WorkflowId;
192
+ readonly revision: RunRevision;
193
+ readonly updatedAt: string;
194
+ readonly slotStatesJson: string;
195
+ }
196
+ interface WorkflowRunDetailDto {
197
+ readonly runId: RunId;
198
+ readonly workflowId: WorkflowId;
199
+ readonly startedAt: string;
200
+ readonly finishedAt?: string;
201
+ readonly status: RunStatus;
202
+ readonly workflowSnapshot?: PersistedWorkflowSnapshot;
203
+ readonly mutableState?: PersistedMutableRunState;
204
+ readonly slotStates: ReadonlyArray<SlotExecutionStateDto>;
205
+ readonly executionInstances: ReadonlyArray<ExecutionInstanceDto>;
206
+ readonly iterations?: ReadonlyArray<RunIterationDto>;
207
+ }
208
+ /**
209
+ * Per-item iteration projected from connection invocations and node activations.
210
+ *
211
+ * One iteration = one item processed by an agent within an activation. Multiple invocations
212
+ * (LLM rounds, tool calls) belonging to the same iteration share the iterationId.
213
+ */
214
+ interface RunIterationDto {
215
+ readonly iterationId: string;
216
+ readonly agentNodeId: NodeId;
217
+ readonly activationId: NodeActivationId;
218
+ readonly itemIndex: number;
219
+ readonly itemSummary?: string;
220
+ readonly status: NodeExecutionStatus;
221
+ readonly startedAt?: string;
222
+ readonly finishedAt?: string;
223
+ readonly invocationIds: ReadonlyArray<string>;
224
+ readonly parentInvocationId?: string;
225
+ /** 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`). */
226
+ readonly estimatedCostMinorByCurrency?: Readonly<Record<string, number>>;
227
+ /** Currency scale (denominator) per currency, when present on the metric points. Joined with `estimatedCostMinorByCurrency` to format human-readable amounts. */
228
+ readonly estimatedCostCurrencyScaleByCurrency?: Readonly<Record<string, number>>;
229
+ }
230
+ interface SlotExecutionStateDto {
231
+ readonly slotNodeId: NodeId;
232
+ readonly latestInstanceId?: ExecutionInstanceId;
233
+ readonly latestTerminalInstanceId?: ExecutionInstanceId;
234
+ readonly latestRunningInstanceId?: ExecutionInstanceId;
235
+ readonly status?: NodeExecutionStatus;
236
+ readonly invocationCount: number;
237
+ readonly runCount: number;
238
+ }
239
+ interface ExecutionInstanceDto {
240
+ readonly instanceId: ExecutionInstanceId;
241
+ readonly slotNodeId: NodeId;
242
+ readonly workflowNodeId: NodeId;
243
+ readonly parentInstanceId?: ExecutionInstanceId;
244
+ readonly kind: PersistedExecutionInstanceKind;
245
+ readonly connectionKind?: ConnectionInvocationKind;
246
+ readonly runIndex: number;
247
+ readonly batchId: BatchId;
248
+ readonly activationId?: NodeActivationId;
249
+ readonly status: NodeExecutionStatus;
250
+ readonly queuedAt?: string;
251
+ readonly startedAt?: string;
252
+ readonly finishedAt?: string;
253
+ readonly itemCount: number;
254
+ readonly inputJson?: JsonValue;
255
+ readonly outputJson?: JsonValue;
256
+ readonly error?: Readonly<NodeExecutionError>;
257
+ /** Per-item iteration that produced this instance. Set on connectionInvocation rows produced inside per-item runnable loops. */
258
+ readonly iterationId?: string;
259
+ /** Item index (0-based) of the iteration. */
260
+ readonly itemIndex?: number;
261
+ /** Parent invocation id when this instance was emitted by a sub-agent triggered by an outer LLM/tool call. */
262
+ readonly parentInvocationId?: string;
263
+ /**
264
+ * When this instance is a SubWorkflow node activation, the run id of the child run it spawned.
265
+ * Used by the UI to deep-link directly to the child execution.
266
+ */
267
+ readonly childRunId?: string;
268
+ }
269
+ interface WorkflowDetailSelectionState {
270
+ readonly selectedSlotNodeId: NodeId | null;
271
+ readonly selectedInstanceId: ExecutionInstanceId | null;
272
+ }
273
+ //#endregion
274
+ export { deriveAssertionPassed as C, DEFAULT_ASSERTION_PASS_THRESHOLD as S, AgentBindError as T, WorkItemStatus as _, ExecutionPayloadPolicyFields as a, AssertionResult as b, PersistedExecutionInstanceRecord as c, PersistedRunWorkItemRecord as d, RunIterationDto as f, WorkItemId as g, SlotExecutionStateDto as h, ExecutionInstanceId as i, PersistedRunSlotProjectionRecord as l, RunSlotProjectionState as m, ConnectionInvocationKind as n, PayloadStorageKind as o, RunRevision as p, ExecutionInstanceDto as r, PersistedExecutionInstanceKind as s, BatchId as t, PersistedRunWorkItemKind as u, WorkflowDetailSelectionState as v, NoOpAgentMcpIntegration as w, AssertionResultProvenance as x, WorkflowRunDetailDto as y };
275
+ //# sourceMappingURL=executionPersistenceContracts-BgZMRsTa.d.cts.map
@@ -1,5 +1,7 @@
1
- import { $a as CredentialTypeDefinition, $i as WebhookTriggerRoutingDiagnostics, Ai as PreparedNodeActivationDispatch, Ar as WorkflowDefinition, Bi as TriggerTestItemsContext, Cr as RunnableNodeConfig, Da as CostTrackingTelemetryFactory, Di as NodeResolver, Er as TriggerNodeConfig, Fn as RunEventBus, Ft as EngineRunCounters, Gn as Edge, Gt as PersistedRunSchedulingState, Hi as WorkflowRepository, Hn as ActivationIdFactory, In as RunEventSubscription, Ji as TriggerInstanceId, Jt as PersistedWorkflowSnapshotNode, Kn as ExecutionMode, Kt as PersistedRunState, La as CredentialFieldSchema, Ln as TestCaseRunStatus, Ma as AnyCredentialType, Mn as EngineExecutionLimitsPolicy, Mt as ConnectionInvocationId, Nt as ConnectionInvocationRecord, Pn as RunEvent, Qa as CredentialType, Qr as RetryPolicySpec, Ra as CredentialHealth, Rn as TestSuiteRunStatus, Rt as NodeExecutionSnapshot, Si as NodeExecutionRequest, Ta as CostTrackingTelemetry, Ti as NodeExecutionStatePublisher, Ua as CredentialJsonRecord, Un as BinaryAttachment, V as McpServerDeclaration, Vi as WorkflowNodeInstanceFactory, Xa as CredentialSessionService, Xi as WebhookInvocationMatch, Ya as CredentialSessionFactoryArgs, Yn as Items, Zi as WebhookTriggerMatcher, _i as NodeActivationRequest, _r as ParentExecutionRef, ai as BinaryStorageWriteResult, ao as PollingTriggerLogger, bi as NodeBinaryAttachmentService, br as RunDataSnapshot, cn as RunTestContext, co as NodeConnectionName, ct as CostCatalog, di as ExecutionContextFactory, dn as WorkflowExecutionPruneRepository, ei as BinaryBody, en as RunExecutionOptions, eo as CredentialTypeId, er as JsonValue, fn as WorkflowExecutionRepository, fo as WorkflowId, fr as NodeOffloadPolicy, ft as ParamDeep, hi as NodeActivationContinuation, hr as NodeSchedulerDecision, i as WorkflowSnapshotCodec, ir as NodeDefinition, ja as CollectionsContext, ka as CostTrackingUsageRecord, li as ExecutionBinaryService, lo as NodeId, lr as NodeInspectorSummaryRow, lt as CostCatalogEntry, ma as TelemetrySpanScope, na as ExecutionTelemetry, ni as BinaryStorageReadResult, nr as NodeActivationId, oi as EngineDeps, pr as NodeOutputs, qa as CredentialRequirement, qi as HttpMethod, qn as Item, ra as ExecutionTelemetryFactory, ri as BinaryStorageStatResult, rn as RunResult, rr as NodeConfigBase, sn as RunSummary, ta as WorkflowActivationPolicy, ti as BinaryStorage, tn as RunPruneCandidate, tr as MutableRunData, u as Engine, ui as ExecutionContext, un as WorkflowExecutionListingRepository, uo as OutputPortKey, ut as Expr, vr as PersistedRunPolicySnapshot, wi as NodeExecutionScheduler, wr as RunnableNodeInputJson, xi as NodeExecutionContext, xr as RunId, yi as NodeActivationScheduler, yn as TypeToken, yr as RunDataFactory, zi as TriggerSetupStateRepository, zn as TestSuiteRunId } from "./RunIntentService-BrEq6Jm6.js";
2
- import { ZodType, input, output, z } from "zod";
1
+ import { $ as CostCatalogEntry, $a as NodeId, $n as NodeInspectorSummaryRow, $r as ExecutionBinaryService, Ai as TriggerTestItemsContext, Ba as CredentialSessionService, Bi as WebhookInvocationMatch, Ct as ConnectionInvocationRecord, Da as CredentialFieldSchema, Dn as TestCaseRunStatus, En as RunEventSubscription, Fn as Edge, Ft as PersistedRunSchedulingState, Gi as WorkflowActivationPolicy, Gn as MutableRunData, Gr as BinaryStorage, Gt as RunPruneCandidate, Ha as CredentialType, Hr as RetryPolicySpec, In as ExecutionMode, It as PersistedRunState, Jn as NodeDefinition, Ki as ExecutionTelemetry, Kn as NodeActivationId, Kr as BinaryStorageReadResult, La as CredentialRequirement, Li as HttpMethod, Ln as Item, Mi as WorkflowRepository, Mn as ActivationIdFactory, Na as CredentialJsonRecord, Nn as BinaryAttachment, Oa as CredentialHealth, On as TestSuiteRunStatus, Ot as NodeExecutionSnapshot, Q as CostCatalog, Qt as RunTestContext, Ri as TriggerInstanceId, Rt as PersistedWorkflowSnapshotNode, Sa as AnyCredentialType, Sn as EngineExecutionLimitsPolicy, St as ConnectionInvocationId, Tn as RunEventBus, Tt as EngineRunCounters, Ua as CredentialTypeDefinition, Ui as WebhookTriggerRoutingDiagnostics, Vi as WebhookTriggerMatcher, Wa as CredentialTypeId, Wn as JsonValue, Wr as BinaryBody, Wt as RunExecutionOptions, Xr as EngineDeps, Ya as PollingTriggerLogger, Yr as BinaryStorageWriteResult, Zt as RunSummary, _a as CostTrackingTelemetryFactory, _i as NodeResolver, ai as NodeActivationContinuation, ar as NodeSchedulerDecision, bi as PreparedNodeActivationDispatch, br as WorkflowDefinition, cr as PersistedRunPolicySnapshot, di as NodeExecutionContext, dr as RunId, ei as ExecutionContext, en as WorkflowExecutionListingRepository, eo as OutputPortKey, fi as NodeExecutionRequest, gr as TriggerNodeConfig, ha as CostTrackingTelemetry, hi as NodeExecutionStatePublisher, ia as TelemetrySpanScope, ji as WorkflowNodeInstanceFactory, ki as TriggerSetupStateRepository, kn as TestSuiteRunId, li as NodeActivationScheduler, ln as TypeToken, lr as RunDataFactory, mi as NodeExecutionScheduler, nn as WorkflowExecutionRepository, no as WorkflowId, nr as NodeOffloadPolicy, nt as ParamDeep, pr as RunnableNodeConfig, qi as ExecutionTelemetryFactory, qn as NodeConfigBase, qr as BinaryStorageStatResult, qt as RunResult, rr as NodeOutputs, si as NodeActivationRequest, sr as ParentExecutionRef, ti as ExecutionContextFactory, tn as WorkflowExecutionPruneRepository, ui as NodeBinaryAttachmentService, ur as RunDataSnapshot, wn as RunEvent, xa as CollectionsContext, ya as CostTrackingUsageRecord, za as CredentialSessionFactoryArgs, zn as Items } from "./index-zWGtEhrf.js";
2
+ import { i as WorkflowSnapshotCodec, u as Engine } from "./RunIntentService-BVur7x9n.js";
3
+ import { B as ZodSchemaAny, K as CallableToolConfig, q as CallableToolConfigOptions } from "./ItemsInputNormalizer-_Mfcd3YU.js";
4
+ import { ZodType, z } from "zod";
3
5
 
4
6
  //#region src/orchestration/AbortControllerFactory.d.ts
5
7
  /**
@@ -159,288 +161,6 @@ declare function defineCredential<TPublicSource extends CredentialFieldMap<any>
159
161
  readonly key: string;
160
162
  };
161
163
  //#endregion
162
- //#region src/ai/NodeBackedToolConfig.d.ts
163
- declare class NodeBackedToolConfig<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> implements ToolConfig {
164
- readonly name: string;
165
- readonly node: TNodeConfig;
166
- readonly type: TypeToken<unknown>;
167
- readonly toolKind: "nodeBacked";
168
- readonly description?: string;
169
- readonly presentation?: AgentCanvasPresentation;
170
- private readonly inputSchemaValue;
171
- private readonly outputSchemaValue;
172
- private readonly mapInputValue?;
173
- private readonly mapOutputValue?;
174
- constructor(name: string, node: TNodeConfig, options: NodeBackedToolConfigOptions<TNodeConfig, TInputSchema, TOutputSchema>);
175
- getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
176
- getInputSchema(): TInputSchema;
177
- getOutputSchema(): TOutputSchema;
178
- toNodeItem(args: NodeBackedToolInputMapperArgs<TNodeConfig, input<TInputSchema>>): Item<RunnableNodeInputJson<TNodeConfig>>;
179
- toToolOutput(args: NodeBackedToolOutputMapperArgs<TNodeConfig, input<TInputSchema>>): output<TOutputSchema>;
180
- private readDefaultToolOutput;
181
- private isItem;
182
- }
183
- //#endregion
184
- //#region src/ai/CallableToolConfig.d.ts
185
- type CallableToolExecuteHandler<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = (args: ToolExecuteArgs<CallableToolConfig<TInputSchema, TOutputSchema>, input<TInputSchema>>) => Promise<output<TOutputSchema>> | output<TOutputSchema>;
186
- type CallableToolConfigOptions<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = Readonly<{
187
- name: string;
188
- description?: string;
189
- presentation?: AgentCanvasPresentation;
190
- inputSchema: TInputSchema;
191
- outputSchema: TOutputSchema;
192
- /**
193
- * Optional credential slots for this tool (same contract as other {@link ToolConfig} shapes).
194
- */
195
- credentialRequirements?: ReadonlyArray<CredentialRequirement>;
196
- execute: CallableToolExecuteHandler<TInputSchema, TOutputSchema>;
197
- }>;
198
- /**
199
- * Inline callable agent tool: DSL sugar over {@link ToolConfig} without a separate {@link NodeResolver}-registered {@link Tool} class.
200
- */
201
- declare class CallableToolConfig<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> implements ToolConfig {
202
- readonly name: string;
203
- readonly type: TypeToken<unknown>;
204
- readonly toolKind: "callable";
205
- readonly description?: string;
206
- readonly presentation?: AgentCanvasPresentation;
207
- private readonly inputSchemaValue;
208
- private readonly outputSchemaValue;
209
- private readonly credentialRequirementsValue?;
210
- private readonly executeHandler;
211
- constructor(name: string, options: CallableToolConfigOptions<TInputSchema, TOutputSchema>);
212
- getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
213
- getInputSchema(): TInputSchema;
214
- getOutputSchema(): TOutputSchema;
215
- /**
216
- * Parses tool input and output with the configured Zod schemas.
217
- */
218
- executeTool(args: ToolExecuteArgs<CallableToolConfig<TInputSchema, TOutputSchema>, input<TInputSchema>>): Promise<output<TOutputSchema>>;
219
- private parseInput;
220
- private parseOutput;
221
- private decorateValidationError;
222
- }
223
- //#endregion
224
- //#region src/ai/CallableToolFactory.d.ts
225
- declare class CallableToolFactoryImpl {
226
- callableTool<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(options: CallableToolConfigOptions<TInputSchema, TOutputSchema>): CallableToolConfig<TInputSchema, TOutputSchema>;
227
- }
228
- declare const CallableToolFactory: CallableToolFactoryImpl;
229
- //#endregion
230
- //#region src/ai/CallableToolKindToken.d.ts
231
- /**
232
- * Shared {@link import("../di").TypeToken} marker for {@link CallableToolConfig}.
233
- * Callable tools are not registered in {@link NodeResolver}; this class only satisfies {@link ToolConfig#type}.
234
- */
235
- declare class CallableToolKindToken {}
236
- //#endregion
237
- //#region src/ai/AgentToolFactory.d.ts
238
- declare class AgentToolFactoryImpl {
239
- asTool<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(node: TNodeConfig, options: Readonly<{
240
- name?: string;
241
- } & NodeBackedToolConfigOptions<TNodeConfig, TInputSchema, TOutputSchema>>): NodeBackedToolConfig<TNodeConfig, TInputSchema, TOutputSchema>;
242
- private withDefaultAgentInputMapper;
243
- private mergeAgentToolInputWithCurrentItem;
244
- private isMergeableRecord;
245
- }
246
- declare const AgentToolFactory: AgentToolFactoryImpl;
247
- //#endregion
248
- //#region src/ai/AgentMessageConfigNormalizerFactory.d.ts
249
- declare class AgentMessageConfigNormalizer {
250
- /**
251
- * Prefer {@code input.messages} when present (ItemNode / engine-mapped payloads); otherwise resolve from
252
- * {@link AgentNodeConfig.messages} templates.
253
- */
254
- static resolveFromInputOrConfig<TInputJson, TOutputJson>(input: unknown, config: AgentNodeConfig<TInputJson, TOutputJson>, args: AgentMessageBuildArgs<TInputJson>): ReadonlyArray<AgentMessageDto>;
255
- static normalize<TInputJson, TOutputJson>(config: AgentNodeConfig<TInputJson, TOutputJson>, args: AgentMessageBuildArgs<TInputJson>): ReadonlyArray<AgentMessageDto>;
256
- private static tryMessagesFromStructuredInput;
257
- private static normalizeRichMessages;
258
- private static lineToDto;
259
- }
260
- //#endregion
261
- //#region src/ai/AgentConfigInspectorFactory.d.ts
262
- declare class AgentConfigInspector {
263
- static isAgentNodeConfig(config: NodeConfigBase | undefined): config is AgentNodeConfig<any, any>;
264
- private static hasCompatibleMessageConfiguration;
265
- }
266
- //#endregion
267
- //#region src/ai/AiHost.d.ts
268
- interface AgentCanvasPresentation<TIcon extends string = string> {
269
- readonly label?: string;
270
- readonly icon?: TIcon;
271
- }
272
- type ZodSchemaAny = ZodType<any, any, any>;
273
- interface ToolConfig {
274
- readonly type: TypeToken<unknown>;
275
- readonly name: string;
276
- readonly description?: string;
277
- readonly presentation?: AgentCanvasPresentation;
278
- getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
279
- }
280
- type ToolExecuteArgs<TConfig$1 extends ToolConfig = ToolConfig, TInput = unknown> = Readonly<{
281
- config: TConfig$1;
282
- input: TInput;
283
- ctx: NodeExecutionContext<any>;
284
- item: Item;
285
- itemIndex: number;
286
- items: Items;
287
- /**
288
- * Optional sub-agent boundary hooks: when present, the live `agent.tool.call` span and the
289
- * planned tool-call invocationId are forwarded so node-backed runtimes can re-root their child
290
- * execution scope. Plain function tools may safely ignore these hooks.
291
- */
292
- hooks?: Readonly<{
293
- parentSpan?: TelemetrySpanScope;
294
- parentInvocationId?: ConnectionInvocationId;
295
- }>;
296
- }>;
297
- interface Tool<TConfig$1 extends ToolConfig = ToolConfig, TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> {
298
- readonly defaultDescription: string;
299
- readonly inputSchema: TInputSchema;
300
- readonly outputSchema: TOutputSchema;
301
- execute(args: ToolExecuteArgs<TConfig$1, input<TInputSchema>>): Promise<output<TOutputSchema>> | output<TOutputSchema>;
302
- }
303
- type AgentTool<TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> = Tool<ToolConfig, TInputSchema, TOutputSchema>;
304
- type AgentToolExecuteArgs<TInput = unknown> = ToolExecuteArgs<ToolConfig, TInput>;
305
- type AgentToolToken = TypeToken<Tool<ToolConfig, ZodSchemaAny, ZodSchemaAny>>;
306
- type AgentMessageRole = "system" | "user" | "assistant";
307
- type AgentMessageBuildArgs<TInputJson = unknown> = Readonly<{
308
- item: Item<TInputJson>;
309
- itemIndex: number;
310
- items: Items<TInputJson>;
311
- ctx: NodeExecutionContext<any>;
312
- }>;
313
- interface AgentMessageDto {
314
- readonly role: AgentMessageRole;
315
- readonly content: string;
316
- }
317
- type AgentMessageTemplateContent<TInputJson = unknown> = string | ((args: AgentMessageBuildArgs<TInputJson>) => string);
318
- interface AgentMessageTemplate<TInputJson = unknown> {
319
- readonly role: AgentMessageRole;
320
- readonly content: AgentMessageTemplateContent<TInputJson>;
321
- }
322
- /** A single prompt line: fixed DTO or template with optional function `content`. */
323
- type AgentMessageLine<TInputJson = unknown> = AgentMessageDto | AgentMessageTemplate<TInputJson>;
324
- /**
325
- * Message list for an agent. Prefer a **plain array** of `{ role, content }` (optionally with function `content` for templates).
326
- * Use the object form only when you need `buildMessages` to append messages after optional `prompt` lines.
327
- */
328
- type AgentMessageConfig<TInputJson = unknown> = Expr<ReadonlyArray<AgentMessageLine<TInputJson>>, TInputJson> | ReadonlyArray<AgentMessageLine<TInputJson>> | {
329
- readonly prompt?: ReadonlyArray<AgentMessageLine<TInputJson>>;
330
- readonly buildMessages?: (args: AgentMessageBuildArgs<TInputJson>) => ReadonlyArray<AgentMessageDto>;
331
- };
332
- type AgentTurnLimitBehavior = "error" | "respondWithLastMessage";
333
- interface AgentModelInvocationOptions {
334
- readonly maxTokens?: number;
335
- readonly providerOptions?: Readonly<Record<string, JsonValue>>;
336
- }
337
- interface AgentGuardrailConfig {
338
- readonly maxTurns?: number;
339
- readonly onTurnLimitReached?: AgentTurnLimitBehavior;
340
- readonly modelInvocationOptions?: AgentModelInvocationOptions;
341
- }
342
- /** Defaults aligned with common tool-agent iteration limits (many products use ~10 max rounds). */
343
- declare const AgentGuardrailDefaults: {
344
- readonly maxTurns: 10;
345
- readonly onTurnLimitReached: AgentTurnLimitBehavior;
346
- };
347
- interface AgentToolDefinition {
348
- readonly name: string;
349
- readonly description: string;
350
- readonly inputSchema: ZodSchemaAny;
351
- }
352
- type AgentToolCall = Readonly<{
353
- id?: string;
354
- name: string;
355
- input: unknown;
356
- }>;
357
- type AgentToolCallPlanner<_TNodeConfig = unknown> = (item: Item, index: number, items: Items, ctx: NodeExecutionContext<any>) => ReadonlyArray<AgentToolCall>;
358
- interface ChatModelConfig {
359
- readonly type: TypeToken<ChatModelFactory<ChatModelConfig>>;
360
- readonly name: string;
361
- readonly provider?: string;
362
- readonly modelName?: string;
363
- readonly presentation?: AgentCanvasPresentation;
364
- getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
365
- }
366
- /**
367
- * Provider-neutral chat language model wrapper returned by a {@link ChatModelFactory}.
368
- *
369
- * Thin adapter around an AI SDK `LanguageModelV2` (from `@ai-sdk/provider`) plus the call-site
370
- * defaults Codemation needs at every generate/stream: the provider label, the model name used for
371
- * pricing / telemetry, and the default invocation options (max output tokens, temperature,
372
- * provider-specific overrides).
373
- *
374
- * The consumer (AIAgentNode / AgentStructuredOutputRunner) passes `languageModel` directly into
375
- * `generateText({ model, ... })` from the `ai` package.
376
- */
377
- interface ChatLanguageModel {
378
- /** AI SDK `LanguageModelV2` instance (kept `unknown` to avoid leaking the SDK type into `@codemation/core`). */
379
- readonly languageModel: unknown;
380
- /** Stable pricing/telemetry key — e.g. `"gpt-4.1-nano"`. */
381
- readonly modelName: string;
382
- /** Provider label — e.g. `"openai"`. Used for cost tracking. */
383
- readonly provider?: string;
384
- /** Defaults merged into every call. Consumers may override per-invocation. */
385
- readonly defaultCallOptions?: ChatLanguageModelCallOptions;
386
- }
387
- interface ChatLanguageModelCallOptions {
388
- readonly maxOutputTokens?: number;
389
- readonly temperature?: number;
390
- readonly providerOptions?: Readonly<Record<string, Readonly<Record<string, JsonValue>>>>;
391
- }
392
- /**
393
- * Options for a structured-output generate call. Mirrors
394
- * `generateText({ output: Output.object(...) })` from the `ai` package.
395
- */
396
- interface StructuredOutputOptions {
397
- /** Optional schema name — used by some providers as the JSON schema name attribute. */
398
- readonly schemaName?: string;
399
- /** When `true`, the consumer should pass a strict-mode-compatible JSON Schema record. */
400
- readonly strict?: boolean;
401
- }
402
- interface ChatModelFactory<TConfig$1 extends ChatModelConfig = ChatModelConfig> {
403
- create(args: Readonly<{
404
- config: TConfig$1;
405
- ctx: NodeExecutionContext<any>;
406
- }>): Promise<ChatLanguageModel> | ChatLanguageModel;
407
- }
408
- type NodeBackedToolInputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
409
- input: TToolInput;
410
- item: Item;
411
- itemIndex: number;
412
- items: Items;
413
- ctx: NodeExecutionContext<any>;
414
- node: TNodeConfig;
415
- }>;
416
- type NodeBackedToolOutputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
417
- input: TToolInput;
418
- item: Item;
419
- itemIndex: number;
420
- items: Items;
421
- ctx: NodeExecutionContext<any>;
422
- node: TNodeConfig;
423
- outputs: NodeOutputs;
424
- }>;
425
- type NodeBackedToolInputMapper<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = (args: NodeBackedToolInputMapperArgs<TNodeConfig, TToolInput>) => Item<RunnableNodeInputJson<TNodeConfig>> | RunnableNodeInputJson<TNodeConfig>;
426
- type NodeBackedToolOutputMapper<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown, TToolOutput = unknown> = (args: NodeBackedToolOutputMapperArgs<TNodeConfig, TToolInput>) => TToolOutput;
427
- type NodeBackedToolConfigOptions<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = Readonly<{
428
- description?: string;
429
- presentation?: AgentCanvasPresentation;
430
- inputSchema: TInputSchema;
431
- outputSchema: TOutputSchema;
432
- mapInput?: NodeBackedToolInputMapper<TNodeConfig, input<TInputSchema>>;
433
- mapOutput?: NodeBackedToolOutputMapper<TNodeConfig, input<TInputSchema>, output<TOutputSchema>>;
434
- }>;
435
- interface AgentNodeConfig<TInputJson = unknown, TOutputJson = unknown> extends RunnableNodeConfig<TInputJson, TOutputJson> {
436
- readonly messages: AgentMessageConfig<TInputJson>;
437
- readonly chatModel: ChatModelConfig;
438
- readonly tools?: ReadonlyArray<ToolConfig>;
439
- readonly guardrails?: AgentGuardrailConfig;
440
- readonly outputSchema?: ZodType<TOutputJson>;
441
- }
442
- type AgentAttachmentRole = "languageModel" | "tool" | "nestedAgent";
443
- //#endregion
444
164
  //#region src/authoring/callableTool.types.d.ts
445
165
  /**
446
166
  * Workflow-facing helper for inline Zod-typed agent tools (same as {@link CallableToolFactory.callableTool}).
@@ -673,27 +393,6 @@ declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord
673
393
  */
674
394
  declare function definePollingTrigger<TKey$1 extends string, TConfig$1 extends CredentialJsonRecord, TItemJson, TState extends JsonValue | undefined, TBindings extends DefinedNodeCredentialBindings | undefined = undefined>(options: DefinePollingTriggerOptions<TKey$1, TConfig$1, TItemJson, TState, TBindings>): DefinedPollingTrigger<TKey$1, TConfig$1, TItemJson, TState, TBindings>;
675
395
  //#endregion
676
- //#region src/ai/AgentConnectionNodeCollector.d.ts
677
- type AgentConnectionNodeRole = "languageModel" | "tool" | "nestedAgent";
678
- type AgentConnectionCredentialSource = Readonly<{
679
- getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
680
- }>;
681
- type AgentConnectionNodeDescriptor = Readonly<{
682
- nodeId: NodeId;
683
- parentNodeId: NodeId;
684
- connectionName: NodeConnectionName;
685
- role: AgentConnectionNodeRole;
686
- name: string;
687
- typeName: string;
688
- icon?: string;
689
- credentialSource: AgentConnectionCredentialSource;
690
- }>;
691
- type McpServerResolver = (id: string) => McpServerDeclaration | undefined;
692
- type AgentConnectionNodeCollectorApi = Readonly<{
693
- collect(parentNodeId: NodeId, agentConfig: AgentNodeConfig<any, any>, mcpServerResolver?: McpServerResolver): ReadonlyArray<AgentConnectionNodeDescriptor>;
694
- }>;
695
- declare const AgentConnectionNodeCollector: AgentConnectionNodeCollectorApi;
696
- //#endregion
697
396
  //#region src/events/ConnectionInvocationEventPublisher.d.ts
698
397
  /**
699
398
  * Publishes per-invocation lifecycle records onto the run {@link RunEventBus}.
@@ -801,18 +500,6 @@ declare function tool(options?: PersistedRuntimeTypeDecoratorOptions): ClassDeco
801
500
  /** Marks a class as a persisted chat-model runtime type and an injectable tsyringe service. */
802
501
  declare function chatModel(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
803
502
  //#endregion
804
- //#region src/serialization/ItemsInputNormalizer.d.ts
805
- /**
806
- * Normalizes external inputs into the engine's canonical `Items` shape.
807
- * Used at host and builder boundaries where callers may provide either a raw value,
808
- * a single item-like object, or an array of item-like values.
809
- */
810
- declare class ItemsInputNormalizer {
811
- normalize(raw: unknown): Items;
812
- private normalizeItem;
813
- private isItem;
814
- }
815
- //#endregion
816
503
  //#region src/binaries/UnavailableBinaryStorage.d.ts
817
504
  declare class UnavailableBinaryStorage implements BinaryStorage {
818
505
  readonly driverName = "unavailable";
@@ -1349,5 +1036,5 @@ declare class TestSuiteOrchestrator {
1349
1036
  private publish;
1350
1037
  }
1351
1038
  //#endregion
1352
- export { InjectableRuntimeDecoratorComposer as $, NodeBackedToolConfigOptions as $t, ConfigDrivenOffloadPolicy as A, defineBatchNode as An, AgentCanvasPresentation as At, DefaultAsyncSleeper as B, AgentModelInvocationOptions as Bt, InMemoryWorkflowExecutionRepository as C, DefineNodeOptions as Cn, CollectionIndexDefinition as Ct, HintOnlyOffloadPolicy as D, DefinedNodeCredentialBinding as Dn, defineCollection as Dt, LocalOnlyScheduler as E, DefinedNodeCredentialAccessors as En, c as Et, RunnableOutputBehaviorResolver as F, CredentialResolverFactory as Fn, AgentMessageDto as Ft, ItemsInputNormalizer as G, AgentToolDefinition as Gt, ChildExecutionScopeFactory as H, AgentTool as Ht, ItemExprResolver as I, AbortControllerFactory as In, AgentMessageLine as It, node as J, AgentTurnLimitBehavior as Jt, chatModel as K, AgentToolExecuteArgs as Kt, InProcessRetryRunner as L, AgentMessageRole as Lt, NodeInstanceFactory as M, Clock as Mn, AgentGuardrailDefaults as Mt, NodeExecutor as N, SystemClock as Nn, AgentMessageBuildArgs as Nt, DefaultDrivingScheduler as O, DefinedNodeCredentialBindings as On, callableTool as Ot, NodeOutputNormalizer as P, NodeEventPublisher as Pn, AgentMessageConfig as Pt, PersistedRuntimeTypeMetadataStore as Q, ChatModelFactory as Qt, CatalogBackedCostTrackingTelemetryFactory as R, AgentMessageTemplate as Rt, RunSummaryMapper as S, DefineNodeExecuteArgs as Sn, CollectionFieldDefinition as St, InMemoryBinaryStorage as T, DefinedNodeConfigInput as Tn, DefinedCollection as Tt, DefaultExecutionBinaryService as U, AgentToolCall as Ut, AsyncSleeper as V, AgentNodeConfig as Vt, UnavailableBinaryStorage as W, AgentToolCallPlanner as Wt, StackTraceCallSitePathResolver as X, ChatLanguageModelCallOptions as Xt, tool as Y, ChatLanguageModel as Yt, PersistedRuntimeTypeNameResolver as Z, ChatModelConfig as Zt, PollingTriggerRuntime as _, NodeBackedToolConfig as _n, DefinedPollingTriggerConfig as _t, TestSuiteRunResult as a, Tool as an, ConnectionInvocationEventPublisher as at, EngineCompositionDeps as b, DefinedNodeRegistry as bn, CollectionColumnBuilder as bt, OAuthFlowExecutor as c, ZodSchemaAny as cn, AgentConnectionNodeDescriptor as ct, OAuthMaterial as d, AgentToolFactory as dn, DefinePollingTriggerExecuteContext as dt, NodeBackedToolInputMapper as en, PersistedRuntimeTypeDecoratorOptions as et, WorkflowEdgePortValidator as f, CallableToolKindToken as fn, DefinePollingTriggerOptions as ft, PollingRunCycleResult as g, CallableToolExecuteHandler as gn, DefinedPollingTrigger as gt, PollingRunCycleArgs as h, CallableToolConfigOptions as hn, DefinePollingTriggerTestItemsContext as ht, TestSuiteOrchestratorEngine as i, StructuredOutputOptions as in, InMemoryRunEventBus as it, StaticCostCatalog as j, defineNode as jn, AgentGuardrailConfig as jt, InlineDrivingScheduler as k, DefinedNodeRunContext as kn, AgentAttachmentRole as kt, OAuthFlowStartArgs as l, AgentConfigInspector as ln, AgentConnectionNodeRole as lt, WorkflowEdgePortValidationResult as m, CallableToolConfig as mn, DefinePollingTriggerPollResult as mt, TestSuiteCaseOutcome as n, NodeBackedToolOutputMapper as nn, PersistedRuntimeTypeMetadata as nt, TestSuiteRunIdFactory as o, ToolConfig as on, AgentConnectionCredentialSource as ot, WorkflowEdgePortError as p, CallableToolFactory as pn, DefinePollingTriggerPollContext as pt, getPersistedRuntimeTypeMetadata as q, AgentToolToken as qt, TestSuiteOrchestrator as r, NodeBackedToolOutputMapperArgs as rn, EventPublishingWorkflowExecutionRepository as rt, OAuthFlowCallbackArgs as s, ToolExecuteArgs as sn, AgentConnectionNodeCollector as st, RunTestSuiteArgs as t, NodeBackedToolInputMapperArgs as tn, PersistedRuntimeTypeKind as tt, OAuthFlowStartResult as u, AgentMessageConfigNormalizer as un, McpServerResolver as ut, PollingTriggerStartArgs as v, DefineCredentialOptions as vn, definePollingTrigger as vt, InMemoryRunDataFactory as w, DefinedNode as wn, DefineCollectionOptions as wt, EngineFactory as x, DefineBatchNodeOptions as xn, CollectionDefinition as xt, WorkflowRepositoryWebhookTriggerMatcher as y, defineCredential as yn, DefinedCollectionRegistry as yt, DefaultExecutionContextFactory as z, AgentMessageTemplateContent as zt };
1353
- //# sourceMappingURL=index-Bes88mxT.d.ts.map
1039
+ export { PersistedRuntimeTypeDecoratorOptions as $, ConfigDrivenOffloadPolicy as A, DefinedNodeConfigInput as At, DefaultAsyncSleeper as B, CredentialResolverFactory as Bt, InMemoryWorkflowExecutionRepository as C, DefineCredentialOptions as Ct, HintOnlyOffloadPolicy as D, DefineNodeExecuteArgs as Dt, LocalOnlyScheduler as E, DefineBatchNodeOptions as Et, RunnableOutputBehaviorResolver as F, defineBatchNode as Ft, chatModel as G, ChildExecutionScopeFactory as H, ItemExprResolver as I, defineNode as It, tool as J, getPersistedRuntimeTypeMetadata as K, InProcessRetryRunner as L, Clock as Lt, NodeInstanceFactory as M, DefinedNodeCredentialBinding as Mt, NodeExecutor as N, DefinedNodeCredentialBindings as Nt, DefaultDrivingScheduler as O, DefineNodeOptions as Ot, NodeOutputNormalizer as P, DefinedNodeRunContext as Pt, InjectableRuntimeDecoratorComposer as Q, CatalogBackedCostTrackingTelemetryFactory as R, SystemClock as Rt, RunSummaryMapper as S, callableTool as St, InMemoryBinaryStorage as T, DefinedNodeRegistry as Tt, DefaultExecutionBinaryService as U, AsyncSleeper as V, AbortControllerFactory as Vt, UnavailableBinaryStorage as W, PersistedRuntimeTypeNameResolver as X, StackTraceCallSitePathResolver as Y, PersistedRuntimeTypeMetadataStore as Z, PollingTriggerRuntime as _, CollectionIndexDefinition as _t, TestSuiteRunResult as a, DefinePollingTriggerExecuteContext as at, EngineCompositionDeps as b, c as bt, OAuthFlowExecutor as c, DefinePollingTriggerPollResult as ct, OAuthMaterial as d, DefinedPollingTriggerConfig as dt, PersistedRuntimeTypeKind as et, WorkflowEdgePortValidator as f, definePollingTrigger as ft, PollingRunCycleResult as g, CollectionFieldDefinition as gt, PollingRunCycleArgs as h, CollectionDefinition as ht, TestSuiteOrchestratorEngine as i, ConnectionInvocationEventPublisher as it, StaticCostCatalog as j, DefinedNodeCredentialAccessors as jt, InlineDrivingScheduler as k, DefinedNode as kt, OAuthFlowStartArgs as l, DefinePollingTriggerTestItemsContext as lt, WorkflowEdgePortValidationResult as m, CollectionColumnBuilder as mt, TestSuiteCaseOutcome as n, EventPublishingWorkflowExecutionRepository as nt, TestSuiteRunIdFactory as o, DefinePollingTriggerOptions as ot, WorkflowEdgePortError as p, DefinedCollectionRegistry as pt, node as q, TestSuiteOrchestrator as r, InMemoryRunEventBus as rt, OAuthFlowCallbackArgs as s, DefinePollingTriggerPollContext as st, RunTestSuiteArgs as t, PersistedRuntimeTypeMetadata as tt, OAuthFlowStartResult as u, DefinedPollingTrigger as ut, PollingTriggerStartArgs as v, DefineCollectionOptions as vt, InMemoryRunDataFactory as w, defineCredential as wt, EngineFactory as x, defineCollection as xt, WorkflowRepositoryWebhookTriggerMatcher as y, DefinedCollection as yt, DefaultExecutionContextFactory as z, NodeEventPublisher as zt };
1040
+ //# sourceMappingURL=index-62Ba9f7D.d.ts.map