@codemation/core 0.10.2 → 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 (100) hide show
  1. package/CHANGELOG.md +183 -0
  2. package/dist/CostCatalogContract-DZgcUBE4.d.cts +19 -0
  3. package/dist/{EngineRuntimeRegistration.types-ClLuY1FG.d.ts → EngineRuntimeRegistration.types-BQbS9_gs.d.ts} +2 -2
  4. package/dist/{EngineRuntimeRegistration.types-BryWi2mA.d.cts → EngineRuntimeRegistration.types-Cggm5GVY.d.cts} +8 -2
  5. package/dist/{InMemoryRunDataFactory-DeXNJt1O.d.cts → InMemoryRunDataFactory-C7YItvHG.d.cts} +9 -19
  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-BqNjrksF.d.cts → agentMcpTypes-ZiNbNsEi.d.cts} +1717 -1809
  19. package/dist/bootstrap/index.cjs +4 -2
  20. package/dist/bootstrap/index.d.cts +8 -3
  21. package/dist/bootstrap/index.d.ts +6 -4
  22. package/dist/bootstrap/index.js +4 -2
  23. package/dist/{bootstrap-DtjQtuvi.cjs → bootstrap-BxuTFTLB.cjs} +41 -34
  24. package/dist/bootstrap-BxuTFTLB.cjs.map +1 -0
  25. package/dist/{bootstrap-BfFKGzyj.js → bootstrap-D_Yyi0wL.js} +9 -2
  26. package/dist/bootstrap-D_Yyi0wL.js.map +1 -0
  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-CJQtTY_M.d.ts → index-62Ba9f7D.d.ts} +114 -320
  45. package/dist/{RunIntentService-CI-F8qQ7.d.ts → index-zWGtEhrf.d.ts} +1811 -1914
  46. package/dist/index.cjs +76 -71
  47. package/dist/index.cjs.map +1 -1
  48. package/dist/index.d.cts +112 -656
  49. package/dist/index.d.ts +5 -3
  50. package/dist/index.js +52 -50
  51. package/dist/index.js.map +1 -1
  52. package/dist/params-B5SENSzZ.d.cts +44 -0
  53. package/dist/{runtime-_ywksLa6.cjs → runtime-DBzq5YBi.cjs} +125 -489
  54. package/dist/runtime-DBzq5YBi.cjs.map +1 -0
  55. package/dist/{runtime-DbMjpb5d.js → runtime-cxmUkk0l.js} +117 -369
  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 +4 -3
  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 +12 -17
  64. package/src/ai/AgentConnectionNodeCollector.ts +47 -5
  65. package/src/authoring/defineNode.types.ts +21 -1
  66. package/src/authoring/definePollingTrigger.types.ts +20 -0
  67. package/src/binaries/UnavailableBinaryStorage.ts +6 -0
  68. package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +9 -0
  69. package/src/browser.ts +1 -0
  70. package/src/contracts/AgentBindError.ts +11 -0
  71. package/src/contracts/CodemationTelemetryAttributeNames.ts +4 -0
  72. package/src/contracts/NoOpAgentMcpIntegration.ts +13 -0
  73. package/src/contracts/agentMcpTypes.ts +64 -0
  74. package/src/contracts/index.ts +4 -0
  75. package/src/contracts/mcpTypes.ts +29 -0
  76. package/src/contracts/runTypes.ts +8 -0
  77. package/src/contracts/runtimeTypes.ts +4 -0
  78. package/src/contracts/workflowTypes.ts +21 -0
  79. package/src/contracts.ts +3 -0
  80. package/src/credentials/OAuthFlowExecutor.types.ts +45 -0
  81. package/src/di/CoreTokens.ts +7 -0
  82. package/src/execution/InProcessRetryRunner.ts +31 -5
  83. package/src/execution/NodeExecutor.ts +27 -7
  84. package/src/execution/NodeRunStateWriter.ts +2 -0
  85. package/src/index.ts +10 -0
  86. package/src/orchestration/RunContinuationService.ts +6 -2
  87. package/src/runStorage/InMemoryBinaryStorageRegistry.ts +10 -0
  88. package/src/scheduler/InlineDrivingScheduler.ts +26 -22
  89. package/src/types/index.ts +1 -0
  90. package/src/validation/WorkflowEdgePortError.types.ts +16 -0
  91. package/src/validation/WorkflowEdgePortValidator.ts +52 -0
  92. package/src/workflow/definition/ConnectionInvocationIdFactory.ts +4 -3
  93. package/src/workflow/definition/ConnectionNodeIdFactory.ts +25 -0
  94. package/src/workflow/definition/NodeIterationIdFactory.ts +5 -3
  95. package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +42 -10
  96. package/tsdown.config.ts +1 -1
  97. package/dist/bootstrap-BfFKGzyj.js.map +0 -1
  98. package/dist/bootstrap-DtjQtuvi.cjs.map +0 -1
  99. package/dist/runtime-DbMjpb5d.js.map +0 -1
  100. package/dist/runtime-_ywksLa6.cjs.map +0 -1
@@ -1,5 +1,7 @@
1
- import { $t as PersistedRunPolicySnapshot, Aa as TypeToken, Ai as CredentialSessionFactoryArgs, Bi as PollingTriggerLogger, Bn as BinaryStorageWriteResult, Bt as NodeDefinition, Ca as WorkflowExecutionRepository, Cr as WorkflowRepository, Fi as CredentialTypeId, Fn as BinaryBody, Ga as RunEvent, Gn as ExecutionContext, In as BinaryStorage, Ir as WorkflowActivationPolicy, It as JsonValue, Ja as TestCaseRunStatus, Jt as NodeOutputs, Ka as RunEventBus, Ki as EngineRunCounters, Kn as ExecutionContextFactory, Ln as BinaryStorageReadResult, Lr as ExecutionTelemetry, Lt as MutableRunData, Mr as WebhookTriggerMatcher, Ni as CredentialType, Nn as RetryPolicySpec, Oi as CredentialRequirement, Or as HttpMethod, Ot as ExecutionMode, Pi as CredentialTypeDefinition, Pr as WebhookTriggerRoutingDiagnostics, Qn as NodeActivationRequest, Qt as ParentExecutionRef, Rn as BinaryStorageStatResult, Rr as ExecutionTelemetryFactory, Rt as NodeActivationId, Sa as WorkflowExecutionPruneRepository, Sr as WorkflowNodeInstanceFactory, Tt as BinaryAttachment, Ua as EngineExecutionLimitsPolicy, Ui as ConnectionInvocationId, Vn as EngineDeps, Wi as ConnectionInvocationRecord, Wn as ExecutionBinaryService, Xa as TestSuiteRunId, Xn as NodeActivationContinuation, Xt as NodeSchedulerDecision, Ya as TestSuiteRunStatus, Yi as NodeExecutionSnapshot, Yr as TelemetrySpanScope, aa as PersistedWorkflowSnapshotNode, an as RunnableNodeInputJson, ar as NodeExecutionScheduler, br as TriggerSetupStateRepository, ci as CostTrackingTelemetryFactory, cr as NodeResolver, ct as Expr, da as RunExecutionOptions, dn as WorkflowDefinition, dr as PreparedNodeActivationDispatch, en as RunDataFactory, eo as NodeConnectionName, er as NodeActivationScheduler, fa as RunPruneCandidate, fi as CollectionsContext, i as WorkflowSnapshotCodec, in as RunnableNodeConfig, io as WorkflowId, ji as CredentialSessionService, jr as WebhookInvocationMatch, jt as Items, kr as TriggerInstanceId, kt as Item, ma as RunResult, na as PersistedRunSchedulingState, nn as RunId, nr as NodeExecutionContext, oi as CostTrackingTelemetry, or as NodeExecutionStatePublisher, ot as CostCatalog, pi as AnyCredentialType, qa as RunEventSubscription, qt as NodeOffloadPolicy, ra as PersistedRunState, rr as NodeExecutionRequest, sn as TriggerNodeConfig, st as CostCatalogEntry, tn as RunDataSnapshot, to as NodeId, tr as NodeBinaryAttachmentService, u as Engine, ui as CostTrackingUsageRecord, ut as ParamDeep, va as RunSummary, vi as CredentialFieldSchema, wi as CredentialJsonRecord, wt as ActivationIdFactory, xa as WorkflowExecutionListingRepository, xr as TriggerTestItemsContext, ya as RunTestContext, yi as CredentialHealth, zt as NodeConfigBase } from "./RunIntentService-CI-F8qQ7.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
  /**
@@ -101,6 +103,15 @@ interface DefineNodeOptions<TKey$1 extends string, TConfig$1 extends CredentialJ
101
103
  readonly inputSchema?: ZodType<TInputJson>;
102
104
  /** Preserve inbound `item.binary` when `execute` returns plain JSON or item-shaped results without `binary`. */
103
105
  readonly keepBinaries?: boolean;
106
+ /**
107
+ * Static configuration summary surfaced in the workflow inspector — see
108
+ * {@link import("../contracts/workflowTypes").NodeConfigBase.inspectorSummary}.
109
+ *
110
+ * Receives the static config; returns 2–6 short label/value pairs (or `undefined` to skip).
111
+ */
112
+ readonly inspectorSummary?: (args: Readonly<{
113
+ config: TConfig$1;
114
+ }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined;
104
115
  execute(args: DefineNodeExecuteArgs<TConfig$1, TInputJson>, context: DefinedNodeRunContext<TConfig$1, TBindings>): MaybePromise$2<TOutputJson>;
105
116
  }
106
117
  /**
@@ -114,6 +125,9 @@ interface DefineBatchNodeOptions<TKey$1 extends string, TConfig$1 extends Creden
114
125
  readonly input?: Readonly<Record<keyof TConfig$1 & string, unknown>>;
115
126
  readonly configSchema?: z.ZodType<TConfig$1>;
116
127
  readonly credentials?: TBindings;
128
+ readonly inspectorSummary?: (args: Readonly<{
129
+ config: TConfig$1;
130
+ }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined;
117
131
  run(items: ReadonlyArray<TInputJson>, context: DefinedNodeRunContext<TConfig$1, TBindings>): MaybePromise$2<ReadonlyArray<TOutputJson>>;
118
132
  }
119
133
  declare function defineNode<TKey$1 extends string, TConfig$1 extends CredentialJsonRecord, TInputJson, TOutputJson, TBindings extends DefinedNodeCredentialBindings | undefined = undefined>(options: DefineNodeOptions<TKey$1, TConfig$1, TInputJson, TOutputJson, TBindings>): DefinedNode<TKey$1, TConfig$1, TInputJson, TOutputJson, TBindings>;
@@ -147,288 +161,6 @@ declare function defineCredential<TPublicSource extends CredentialFieldMap<any>
147
161
  readonly key: string;
148
162
  };
149
163
  //#endregion
150
- //#region src/ai/NodeBackedToolConfig.d.ts
151
- declare class NodeBackedToolConfig<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> implements ToolConfig {
152
- readonly name: string;
153
- readonly node: TNodeConfig;
154
- readonly type: TypeToken<unknown>;
155
- readonly toolKind: "nodeBacked";
156
- readonly description?: string;
157
- readonly presentation?: AgentCanvasPresentation;
158
- private readonly inputSchemaValue;
159
- private readonly outputSchemaValue;
160
- private readonly mapInputValue?;
161
- private readonly mapOutputValue?;
162
- constructor(name: string, node: TNodeConfig, options: NodeBackedToolConfigOptions<TNodeConfig, TInputSchema, TOutputSchema>);
163
- getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
164
- getInputSchema(): TInputSchema;
165
- getOutputSchema(): TOutputSchema;
166
- toNodeItem(args: NodeBackedToolInputMapperArgs<TNodeConfig, input<TInputSchema>>): Item<RunnableNodeInputJson<TNodeConfig>>;
167
- toToolOutput(args: NodeBackedToolOutputMapperArgs<TNodeConfig, input<TInputSchema>>): output<TOutputSchema>;
168
- private readDefaultToolOutput;
169
- private isItem;
170
- }
171
- //#endregion
172
- //#region src/ai/CallableToolConfig.d.ts
173
- type CallableToolExecuteHandler<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = (args: ToolExecuteArgs<CallableToolConfig<TInputSchema, TOutputSchema>, input<TInputSchema>>) => Promise<output<TOutputSchema>> | output<TOutputSchema>;
174
- type CallableToolConfigOptions<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = Readonly<{
175
- name: string;
176
- description?: string;
177
- presentation?: AgentCanvasPresentation;
178
- inputSchema: TInputSchema;
179
- outputSchema: TOutputSchema;
180
- /**
181
- * Optional credential slots for this tool (same contract as other {@link ToolConfig} shapes).
182
- */
183
- credentialRequirements?: ReadonlyArray<CredentialRequirement>;
184
- execute: CallableToolExecuteHandler<TInputSchema, TOutputSchema>;
185
- }>;
186
- /**
187
- * Inline callable agent tool: DSL sugar over {@link ToolConfig} without a separate {@link NodeResolver}-registered {@link Tool} class.
188
- */
189
- declare class CallableToolConfig<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> implements ToolConfig {
190
- readonly name: string;
191
- readonly type: TypeToken<unknown>;
192
- readonly toolKind: "callable";
193
- readonly description?: string;
194
- readonly presentation?: AgentCanvasPresentation;
195
- private readonly inputSchemaValue;
196
- private readonly outputSchemaValue;
197
- private readonly credentialRequirementsValue?;
198
- private readonly executeHandler;
199
- constructor(name: string, options: CallableToolConfigOptions<TInputSchema, TOutputSchema>);
200
- getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
201
- getInputSchema(): TInputSchema;
202
- getOutputSchema(): TOutputSchema;
203
- /**
204
- * Parses tool input and output with the configured Zod schemas.
205
- */
206
- executeTool(args: ToolExecuteArgs<CallableToolConfig<TInputSchema, TOutputSchema>, input<TInputSchema>>): Promise<output<TOutputSchema>>;
207
- private parseInput;
208
- private parseOutput;
209
- private decorateValidationError;
210
- }
211
- //#endregion
212
- //#region src/ai/CallableToolFactory.d.ts
213
- declare class CallableToolFactoryImpl {
214
- callableTool<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(options: CallableToolConfigOptions<TInputSchema, TOutputSchema>): CallableToolConfig<TInputSchema, TOutputSchema>;
215
- }
216
- declare const CallableToolFactory: CallableToolFactoryImpl;
217
- //#endregion
218
- //#region src/ai/CallableToolKindToken.d.ts
219
- /**
220
- * Shared {@link import("../di").TypeToken} marker for {@link CallableToolConfig}.
221
- * Callable tools are not registered in {@link NodeResolver}; this class only satisfies {@link ToolConfig#type}.
222
- */
223
- declare class CallableToolKindToken {}
224
- //#endregion
225
- //#region src/ai/AgentToolFactory.d.ts
226
- declare class AgentToolFactoryImpl {
227
- asTool<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(node: TNodeConfig, options: Readonly<{
228
- name?: string;
229
- } & NodeBackedToolConfigOptions<TNodeConfig, TInputSchema, TOutputSchema>>): NodeBackedToolConfig<TNodeConfig, TInputSchema, TOutputSchema>;
230
- private withDefaultAgentInputMapper;
231
- private mergeAgentToolInputWithCurrentItem;
232
- private isMergeableRecord;
233
- }
234
- declare const AgentToolFactory: AgentToolFactoryImpl;
235
- //#endregion
236
- //#region src/ai/AgentMessageConfigNormalizerFactory.d.ts
237
- declare class AgentMessageConfigNormalizer {
238
- /**
239
- * Prefer {@code input.messages} when present (ItemNode / engine-mapped payloads); otherwise resolve from
240
- * {@link AgentNodeConfig.messages} templates.
241
- */
242
- static resolveFromInputOrConfig<TInputJson, TOutputJson>(input: unknown, config: AgentNodeConfig<TInputJson, TOutputJson>, args: AgentMessageBuildArgs<TInputJson>): ReadonlyArray<AgentMessageDto>;
243
- static normalize<TInputJson, TOutputJson>(config: AgentNodeConfig<TInputJson, TOutputJson>, args: AgentMessageBuildArgs<TInputJson>): ReadonlyArray<AgentMessageDto>;
244
- private static tryMessagesFromStructuredInput;
245
- private static normalizeRichMessages;
246
- private static lineToDto;
247
- }
248
- //#endregion
249
- //#region src/ai/AgentConfigInspectorFactory.d.ts
250
- declare class AgentConfigInspector {
251
- static isAgentNodeConfig(config: NodeConfigBase | undefined): config is AgentNodeConfig<any, any>;
252
- private static hasCompatibleMessageConfiguration;
253
- }
254
- //#endregion
255
- //#region src/ai/AiHost.d.ts
256
- interface AgentCanvasPresentation<TIcon extends string = string> {
257
- readonly label?: string;
258
- readonly icon?: TIcon;
259
- }
260
- type ZodSchemaAny = ZodType<any, any, any>;
261
- interface ToolConfig {
262
- readonly type: TypeToken<unknown>;
263
- readonly name: string;
264
- readonly description?: string;
265
- readonly presentation?: AgentCanvasPresentation;
266
- getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
267
- }
268
- type ToolExecuteArgs<TConfig$1 extends ToolConfig = ToolConfig, TInput = unknown> = Readonly<{
269
- config: TConfig$1;
270
- input: TInput;
271
- ctx: NodeExecutionContext<any>;
272
- item: Item;
273
- itemIndex: number;
274
- items: Items;
275
- /**
276
- * Optional sub-agent boundary hooks: when present, the live `agent.tool.call` span and the
277
- * planned tool-call invocationId are forwarded so node-backed runtimes can re-root their child
278
- * execution scope. Plain function tools may safely ignore these hooks.
279
- */
280
- hooks?: Readonly<{
281
- parentSpan?: TelemetrySpanScope;
282
- parentInvocationId?: ConnectionInvocationId;
283
- }>;
284
- }>;
285
- interface Tool<TConfig$1 extends ToolConfig = ToolConfig, TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> {
286
- readonly defaultDescription: string;
287
- readonly inputSchema: TInputSchema;
288
- readonly outputSchema: TOutputSchema;
289
- execute(args: ToolExecuteArgs<TConfig$1, input<TInputSchema>>): Promise<output<TOutputSchema>> | output<TOutputSchema>;
290
- }
291
- type AgentTool<TInputSchema extends ZodSchemaAny = ZodSchemaAny, TOutputSchema extends ZodSchemaAny = ZodSchemaAny> = Tool<ToolConfig, TInputSchema, TOutputSchema>;
292
- type AgentToolExecuteArgs<TInput = unknown> = ToolExecuteArgs<ToolConfig, TInput>;
293
- type AgentToolToken = TypeToken<Tool<ToolConfig, ZodSchemaAny, ZodSchemaAny>>;
294
- type AgentMessageRole = "system" | "user" | "assistant";
295
- type AgentMessageBuildArgs<TInputJson = unknown> = Readonly<{
296
- item: Item<TInputJson>;
297
- itemIndex: number;
298
- items: Items<TInputJson>;
299
- ctx: NodeExecutionContext<any>;
300
- }>;
301
- interface AgentMessageDto {
302
- readonly role: AgentMessageRole;
303
- readonly content: string;
304
- }
305
- type AgentMessageTemplateContent<TInputJson = unknown> = string | ((args: AgentMessageBuildArgs<TInputJson>) => string);
306
- interface AgentMessageTemplate<TInputJson = unknown> {
307
- readonly role: AgentMessageRole;
308
- readonly content: AgentMessageTemplateContent<TInputJson>;
309
- }
310
- /** A single prompt line: fixed DTO or template with optional function `content`. */
311
- type AgentMessageLine<TInputJson = unknown> = AgentMessageDto | AgentMessageTemplate<TInputJson>;
312
- /**
313
- * Message list for an agent. Prefer a **plain array** of `{ role, content }` (optionally with function `content` for templates).
314
- * Use the object form only when you need `buildMessages` to append messages after optional `prompt` lines.
315
- */
316
- type AgentMessageConfig<TInputJson = unknown> = Expr<ReadonlyArray<AgentMessageLine<TInputJson>>, TInputJson> | ReadonlyArray<AgentMessageLine<TInputJson>> | {
317
- readonly prompt?: ReadonlyArray<AgentMessageLine<TInputJson>>;
318
- readonly buildMessages?: (args: AgentMessageBuildArgs<TInputJson>) => ReadonlyArray<AgentMessageDto>;
319
- };
320
- type AgentTurnLimitBehavior = "error" | "respondWithLastMessage";
321
- interface AgentModelInvocationOptions {
322
- readonly maxTokens?: number;
323
- readonly providerOptions?: Readonly<Record<string, JsonValue>>;
324
- }
325
- interface AgentGuardrailConfig {
326
- readonly maxTurns?: number;
327
- readonly onTurnLimitReached?: AgentTurnLimitBehavior;
328
- readonly modelInvocationOptions?: AgentModelInvocationOptions;
329
- }
330
- /** Defaults aligned with common tool-agent iteration limits (many products use ~10 max rounds). */
331
- declare const AgentGuardrailDefaults: {
332
- readonly maxTurns: 10;
333
- readonly onTurnLimitReached: AgentTurnLimitBehavior;
334
- };
335
- interface AgentToolDefinition {
336
- readonly name: string;
337
- readonly description: string;
338
- readonly inputSchema: ZodSchemaAny;
339
- }
340
- type AgentToolCall = Readonly<{
341
- id?: string;
342
- name: string;
343
- input: unknown;
344
- }>;
345
- type AgentToolCallPlanner<_TNodeConfig = unknown> = (item: Item, index: number, items: Items, ctx: NodeExecutionContext<any>) => ReadonlyArray<AgentToolCall>;
346
- interface ChatModelConfig {
347
- readonly type: TypeToken<ChatModelFactory<ChatModelConfig>>;
348
- readonly name: string;
349
- readonly provider?: string;
350
- readonly modelName?: string;
351
- readonly presentation?: AgentCanvasPresentation;
352
- getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
353
- }
354
- /**
355
- * Provider-neutral chat language model wrapper returned by a {@link ChatModelFactory}.
356
- *
357
- * Thin adapter around an AI SDK `LanguageModelV2` (from `@ai-sdk/provider`) plus the call-site
358
- * defaults Codemation needs at every generate/stream: the provider label, the model name used for
359
- * pricing / telemetry, and the default invocation options (max output tokens, temperature,
360
- * provider-specific overrides).
361
- *
362
- * The consumer (AIAgentNode / AgentStructuredOutputRunner) passes `languageModel` directly into
363
- * `generateText({ model, ... })` from the `ai` package.
364
- */
365
- interface ChatLanguageModel {
366
- /** AI SDK `LanguageModelV2` instance (kept `unknown` to avoid leaking the SDK type into `@codemation/core`). */
367
- readonly languageModel: unknown;
368
- /** Stable pricing/telemetry key — e.g. `"gpt-4.1-nano"`. */
369
- readonly modelName: string;
370
- /** Provider label — e.g. `"openai"`. Used for cost tracking. */
371
- readonly provider?: string;
372
- /** Defaults merged into every call. Consumers may override per-invocation. */
373
- readonly defaultCallOptions?: ChatLanguageModelCallOptions;
374
- }
375
- interface ChatLanguageModelCallOptions {
376
- readonly maxOutputTokens?: number;
377
- readonly temperature?: number;
378
- readonly providerOptions?: Readonly<Record<string, Readonly<Record<string, JsonValue>>>>;
379
- }
380
- /**
381
- * Options for a structured-output generate call. Mirrors
382
- * `generateText({ output: Output.object(...) })` from the `ai` package.
383
- */
384
- interface StructuredOutputOptions {
385
- /** Optional schema name — used by some providers as the JSON schema name attribute. */
386
- readonly schemaName?: string;
387
- /** When `true`, the consumer should pass a strict-mode-compatible JSON Schema record. */
388
- readonly strict?: boolean;
389
- }
390
- interface ChatModelFactory<TConfig$1 extends ChatModelConfig = ChatModelConfig> {
391
- create(args: Readonly<{
392
- config: TConfig$1;
393
- ctx: NodeExecutionContext<any>;
394
- }>): Promise<ChatLanguageModel> | ChatLanguageModel;
395
- }
396
- type NodeBackedToolInputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
397
- input: TToolInput;
398
- item: Item;
399
- itemIndex: number;
400
- items: Items;
401
- ctx: NodeExecutionContext<any>;
402
- node: TNodeConfig;
403
- }>;
404
- type NodeBackedToolOutputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
405
- input: TToolInput;
406
- item: Item;
407
- itemIndex: number;
408
- items: Items;
409
- ctx: NodeExecutionContext<any>;
410
- node: TNodeConfig;
411
- outputs: NodeOutputs;
412
- }>;
413
- type NodeBackedToolInputMapper<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = (args: NodeBackedToolInputMapperArgs<TNodeConfig, TToolInput>) => Item<RunnableNodeInputJson<TNodeConfig>> | RunnableNodeInputJson<TNodeConfig>;
414
- type NodeBackedToolOutputMapper<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown, TToolOutput = unknown> = (args: NodeBackedToolOutputMapperArgs<TNodeConfig, TToolInput>) => TToolOutput;
415
- type NodeBackedToolConfigOptions<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = Readonly<{
416
- description?: string;
417
- presentation?: AgentCanvasPresentation;
418
- inputSchema: TInputSchema;
419
- outputSchema: TOutputSchema;
420
- mapInput?: NodeBackedToolInputMapper<TNodeConfig, input<TInputSchema>>;
421
- mapOutput?: NodeBackedToolOutputMapper<TNodeConfig, input<TInputSchema>, output<TOutputSchema>>;
422
- }>;
423
- interface AgentNodeConfig<TInputJson = unknown, TOutputJson = unknown> extends RunnableNodeConfig<TInputJson, TOutputJson> {
424
- readonly messages: AgentMessageConfig<TInputJson>;
425
- readonly chatModel: ChatModelConfig;
426
- readonly tools?: ReadonlyArray<ToolConfig>;
427
- readonly guardrails?: AgentGuardrailConfig;
428
- readonly outputSchema?: ZodType<TOutputJson>;
429
- }
430
- type AgentAttachmentRole = "languageModel" | "tool" | "nestedAgent";
431
- //#endregion
432
164
  //#region src/authoring/callableTool.types.d.ts
433
165
  /**
434
166
  * Workflow-facing helper for inline Zod-typed agent tools (same as {@link CallableToolFactory.callableTool}).
@@ -549,6 +281,15 @@ interface DefinePollingTriggerOptions<TKey$1 extends string, TConfig$1 extends C
549
281
  readonly configSchema?: ZodType<TConfig$1>;
550
282
  /** Credential bindings keyed by slot (same format as `defineNode`). */
551
283
  readonly credentials?: TBindings;
284
+ /**
285
+ * Static configuration summary surfaced in the workflow inspector — see
286
+ * {@link import("../contracts/workflowTypes").NodeConfigBase.inspectorSummary}.
287
+ *
288
+ * Receives the static config; returns 2–6 short label/value pairs (or `undefined` to skip).
289
+ */
290
+ readonly inspectorSummary?: (args: Readonly<{
291
+ config: TConfig$1;
292
+ }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined;
552
293
  /**
553
294
  * Called once when the trigger arms (or re-arms after a server restart) to provide the
554
295
  * initial value for `state` when no persisted state exists.
@@ -618,11 +359,15 @@ declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord
618
359
  readonly cfg: TConfig$1;
619
360
  private readonly credentialRequirements;
620
361
  readonly id?: string | undefined;
362
+ private readonly inspectorSummaryFn?;
621
363
  readonly kind: "trigger";
622
364
  readonly type: TypeToken<unknown>;
623
365
  readonly icon: string | undefined;
624
- constructor(name: string, cfg: TConfig$1, typeToken: TypeToken<unknown>, icon: string | undefined, credentialRequirements: ReadonlyArray<CredentialRequirement>, id?: string | undefined);
366
+ constructor(name: string, cfg: TConfig$1, typeToken: TypeToken<unknown>, icon: string | undefined, credentialRequirements: ReadonlyArray<CredentialRequirement>, id?: string | undefined, inspectorSummaryFn?: ((args: Readonly<{
367
+ config: TConfig$1;
368
+ }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined) | undefined);
625
369
  getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
370
+ inspectorSummary(): ReadonlyArray<NodeInspectorSummaryRow> | undefined;
626
371
  }
627
372
  /**
628
373
  * Declarative helper for authoring polling triggers.
@@ -648,26 +393,6 @@ declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord
648
393
  */
649
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>;
650
395
  //#endregion
651
- //#region src/ai/AgentConnectionNodeCollector.d.ts
652
- type AgentConnectionNodeRole = "languageModel" | "tool" | "nestedAgent";
653
- type AgentConnectionCredentialSource = Readonly<{
654
- getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
655
- }>;
656
- type AgentConnectionNodeDescriptor = Readonly<{
657
- nodeId: NodeId;
658
- parentNodeId: NodeId;
659
- connectionName: NodeConnectionName;
660
- role: AgentConnectionNodeRole;
661
- name: string;
662
- typeName: string;
663
- icon?: string;
664
- credentialSource: AgentConnectionCredentialSource;
665
- }>;
666
- type AgentConnectionNodeCollectorApi = Readonly<{
667
- collect(parentNodeId: NodeId, agentConfig: AgentNodeConfig<any, any>): ReadonlyArray<AgentConnectionNodeDescriptor>;
668
- }>;
669
- declare const AgentConnectionNodeCollector: AgentConnectionNodeCollectorApi;
670
- //#endregion
671
396
  //#region src/events/ConnectionInvocationEventPublisher.d.ts
672
397
  /**
673
398
  * Publishes per-invocation lifecycle records onto the run {@link RunEventBus}.
@@ -775,18 +500,6 @@ declare function tool(options?: PersistedRuntimeTypeDecoratorOptions): ClassDeco
775
500
  /** Marks a class as a persisted chat-model runtime type and an injectable tsyringe service. */
776
501
  declare function chatModel(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
777
502
  //#endregion
778
- //#region src/serialization/ItemsInputNormalizer.d.ts
779
- /**
780
- * Normalizes external inputs into the engine's canonical `Items` shape.
781
- * Used at host and builder boundaries where callers may provide either a raw value,
782
- * a single item-like object, or an array of item-like values.
783
- */
784
- declare class ItemsInputNormalizer {
785
- normalize(raw: unknown): Items;
786
- private normalizeItem;
787
- private isItem;
788
- }
789
- //#endregion
790
503
  //#region src/binaries/UnavailableBinaryStorage.d.ts
791
504
  declare class UnavailableBinaryStorage implements BinaryStorage {
792
505
  readonly driverName = "unavailable";
@@ -796,6 +509,8 @@ declare class UnavailableBinaryStorage implements BinaryStorage {
796
509
  exists: false;
797
510
  }>;
798
511
  delete(): Promise<void>;
512
+ deleteMany(): Promise<void>;
513
+ listByPrefix(): Promise<ReadonlyArray<string>>;
799
514
  }
800
515
  //#endregion
801
516
  //#region src/binaries/DefaultExecutionBinaryServiceFactory.d.ts
@@ -886,9 +601,10 @@ declare class CatalogBackedCostTrackingTelemetryFactory implements CostTrackingT
886
601
  declare class InProcessRetryRunner {
887
602
  private readonly sleeper;
888
603
  constructor(sleeper: AsyncSleeper);
889
- run<T>(policy: RetryPolicySpec | undefined, work: () => Promise<T>): Promise<T>;
604
+ run<T>(policy: RetryPolicySpec | undefined, work: () => Promise<T>, shouldRetry?: (error: unknown) => boolean, warn?: (message: string) => void): Promise<T>;
890
605
  private static delayAfterFailureMs;
891
606
  private static normalizePolicy;
607
+ private static clampMaxAttempts;
892
608
  private static assertPositiveInt;
893
609
  private static assertNonNegativeFinite;
894
610
  private static assertMultiplier;
@@ -935,6 +651,8 @@ declare class NodeExecutor {
935
651
  private readonly outputBehaviorResolver;
936
652
  constructor(nodeInstanceFactory: WorkflowNodeInstanceFactory, retryRunner: InProcessRetryRunner, itemExprResolver?: ItemExprResolver, outputBehaviorResolver?: RunnableOutputBehaviorResolver);
937
653
  execute(request: NodeActivationRequest): Promise<NodeOutputs>;
654
+ private assertRequiredCredentialsBound;
655
+ private isCredentialError;
938
656
  private executeMultiInputActivation;
939
657
  private executeSingleInputNode;
940
658
  private isTriggerNode;
@@ -1043,6 +761,8 @@ declare class InMemoryBinaryStorage implements BinaryStorage {
1043
761
  openReadStream(storageKey: string): Promise<BinaryStorageReadResult | undefined>;
1044
762
  stat(storageKey: string): Promise<BinaryStorageStatResult>;
1045
763
  delete(storageKey: string): Promise<void>;
764
+ deleteMany(storageKeys: ReadonlyArray<string>): Promise<void>;
765
+ listByPrefix(prefix: string): Promise<ReadonlyArray<string>>;
1046
766
  }
1047
767
  //#endregion
1048
768
  //#region src/runStorage/InMemoryRunDataFactory.d.ts
@@ -1174,6 +894,80 @@ declare class PollingTriggerRuntime {
1174
894
  private logError;
1175
895
  }
1176
896
  //#endregion
897
+ //#region src/validation/WorkflowEdgePortError.types.d.ts
898
+ interface WorkflowEdgePortError {
899
+ readonly edge: Edge;
900
+ readonly sourceNodeId: NodeId;
901
+ readonly sourceNodeName: string | undefined;
902
+ readonly sourceNodeKind: string | undefined;
903
+ readonly badPort: OutputPortKey;
904
+ readonly allowedPorts: ReadonlyArray<string>;
905
+ readonly message: string;
906
+ }
907
+ interface WorkflowEdgePortValidationResult {
908
+ readonly valid: boolean;
909
+ readonly errors: ReadonlyArray<WorkflowEdgePortError>;
910
+ }
911
+ //#endregion
912
+ //#region src/validation/WorkflowEdgePortValidator.d.ts
913
+ declare class WorkflowEdgePortValidator {
914
+ validate(workflow: {
915
+ nodes: ReadonlyArray<NodeDefinition>;
916
+ edges: ReadonlyArray<Edge>;
917
+ }): WorkflowEdgePortValidationResult;
918
+ /**
919
+ * Returns the declared output ports for a node, or null if the node is
920
+ * unknown / has no declared ports (legacy nodes — treat as unconstrained).
921
+ */
922
+ private allowedOutputPorts;
923
+ }
924
+ //#endregion
925
+ //#region src/credentials/OAuthFlowExecutor.types.d.ts
926
+ /**
927
+ * Four-concept model for credentials (see docs/design/credentials-oauth-unification.md):
928
+ * 1. CredentialType — schema for stored material (e.g. "oauth.google.gmail").
929
+ * 2. Credential slot requirement — which types a node or MCP server accepts.
930
+ * 3. CredentialInstance — a stored, usable token row in the host's credential store.
931
+ * 4. OAuthFlowExecutor (this file) — the only concept that differs between deployment
932
+ * modes. DI selects one implementation at boot; the rest of the system programs
933
+ * against this interface alone.
934
+ */
935
+ interface OAuthFlowStartArgs {
936
+ readonly typeId: string;
937
+ readonly scopes: ReadonlyArray<string>;
938
+ readonly redirectUri: string;
939
+ readonly instanceId?: string;
940
+ }
941
+ interface OAuthFlowStartResult {
942
+ readonly consentUrl: string;
943
+ readonly stateToken: string;
944
+ }
945
+ interface OAuthFlowCallbackArgs {
946
+ readonly stateToken: string;
947
+ readonly code: string;
948
+ }
949
+ interface OAuthMaterial {
950
+ readonly accessToken: string;
951
+ readonly refreshToken?: string;
952
+ readonly expiresAt?: string;
953
+ readonly grantedScopes: ReadonlyArray<string>;
954
+ }
955
+ interface OAuthFlowExecutor {
956
+ start(args: OAuthFlowStartArgs): Promise<OAuthFlowStartResult>;
957
+ /**
958
+ * Returns the instanceId associated with a pending stateToken without consuming it.
959
+ * Used by callback routes to identify the target instance before calling completeCallback.
960
+ * Returns undefined when the stateToken is unknown or already consumed.
961
+ */
962
+ lookupInstanceId(stateToken: string): string | undefined;
963
+ completeCallback(args: OAuthFlowCallbackArgs): Promise<OAuthMaterial>;
964
+ refresh(args: {
965
+ typeId: string;
966
+ instanceId: string;
967
+ material: OAuthMaterial;
968
+ }): Promise<OAuthMaterial>;
969
+ }
970
+ //#endregion
1177
971
  //#region src/orchestration/TestSuiteRunIdFactory.d.ts
1178
972
  /**
1179
973
  * Mints unique TestSuiteRun identifiers. Separated from {@link import("../types").RunIdFactory}
@@ -1242,5 +1036,5 @@ declare class TestSuiteOrchestrator {
1242
1036
  private publish;
1243
1037
  }
1244
1038
  //#endregion
1245
- export { AgentConnectionNodeCollector as $, ZodSchemaAny as $t, CatalogBackedCostTrackingTelemetryFactory as A, AgentMessageTemplateContent as At, node as B, ChatLanguageModel as Bt, StaticCostCatalog as C, Clock as Cn, AgentGuardrailDefaults as Ct, RunnableOutputBehaviorResolver as D, AbortControllerFactory as Dn, AgentMessageLine as Dt, NodeOutputNormalizer as E, CredentialResolverFactory as En, AgentMessageDto as Et, DefaultExecutionBinaryService as F, AgentToolCallPlanner as Ft, InjectableRuntimeDecoratorComposer as G, NodeBackedToolInputMapper as Gt, StackTraceCallSitePathResolver as H, ChatModelConfig as Ht, UnavailableBinaryStorage as I, AgentToolDefinition as It, PersistedRuntimeTypeMetadata as J, NodeBackedToolOutputMapperArgs as Jt, PersistedRuntimeTypeDecoratorOptions as K, NodeBackedToolInputMapperArgs as Kt, ItemsInputNormalizer as L, AgentToolExecuteArgs as Lt, DefaultAsyncSleeper as M, AgentNodeConfig as Mt, AsyncSleeper as N, AgentTool as Nt, ItemExprResolver as O, AgentMessageRole as Ot, ChildExecutionScopeFactory as P, AgentToolCall as Pt, AgentConnectionCredentialSource as Q, ToolExecuteArgs as Qt, chatModel as R, AgentToolToken as Rt, ConfigDrivenOffloadPolicy as S, defineNode as Sn, AgentGuardrailConfig as St, NodeExecutor as T, NodeEventPublisher as Tn, AgentMessageConfig as Tt, PersistedRuntimeTypeNameResolver as U, ChatModelFactory as Ut, tool as V, ChatLanguageModelCallOptions as Vt, PersistedRuntimeTypeMetadataStore as W, NodeBackedToolConfigOptions as Wt, InMemoryRunEventBus as X, Tool as Xt, EventPublishingWorkflowExecutionRepository as Y, StructuredOutputOptions as Yt, ConnectionInvocationEventPublisher as Z, ToolConfig as Zt, InMemoryBinaryStorage as _, DefinedNodeCredentialAccessors as _n, c as _t, TestSuiteRunResult as a, CallableToolConfig as an, DefinePollingTriggerPollResult as at, DefaultDrivingScheduler as b, DefinedNodeRunContext as bn, AgentAttachmentRole as bt, PollingRunCycleResult as c, NodeBackedToolConfig as cn, DefinedPollingTriggerConfig as ct, WorkflowRepositoryWebhookTriggerMatcher as d, DefinedNodeRegistry as dn, CollectionColumnBuilder as dt, AgentConfigInspector as en, AgentConnectionNodeDescriptor as et, EngineCompositionDeps as f, DefineBatchNodeOptions as fn, CollectionDefinition as ft, InMemoryRunDataFactory as g, DefinedNodeConfigInput as gn, DefinedCollection as gt, InMemoryWorkflowExecutionRepository as h, DefinedNode as hn, DefineCollectionOptions as ht, TestSuiteOrchestratorEngine as i, CallableToolFactory as in, DefinePollingTriggerPollContext as it, DefaultExecutionContextFactory as j, AgentModelInvocationOptions as jt, InProcessRetryRunner as k, AgentMessageTemplate as kt, PollingTriggerRuntime as l, DefineCredentialOptions as ln, definePollingTrigger as lt, RunSummaryMapper as m, DefineNodeOptions as mn, CollectionIndexDefinition as mt, TestSuiteCaseOutcome as n, AgentToolFactory as nn, DefinePollingTriggerExecuteContext as nt, TestSuiteRunIdFactory as o, CallableToolConfigOptions as on, DefinePollingTriggerTestItemsContext as ot, EngineFactory as p, DefineNodeExecuteArgs as pn, CollectionFieldDefinition as pt, PersistedRuntimeTypeKind as q, NodeBackedToolOutputMapper as qt, TestSuiteOrchestrator as r, CallableToolKindToken as rn, DefinePollingTriggerOptions as rt, PollingRunCycleArgs as s, CallableToolExecuteHandler as sn, DefinedPollingTrigger as st, RunTestSuiteArgs as t, AgentMessageConfigNormalizer as tn, AgentConnectionNodeRole as tt, PollingTriggerStartArgs as u, defineCredential as un, DefinedCollectionRegistry as ut, LocalOnlyScheduler as v, DefinedNodeCredentialBinding as vn, defineCollection as vt, NodeInstanceFactory as w, SystemClock as wn, AgentMessageBuildArgs as wt, InlineDrivingScheduler as x, defineBatchNode as xn, AgentCanvasPresentation as xt, HintOnlyOffloadPolicy as y, DefinedNodeCredentialBindings as yn, callableTool as yt, getPersistedRuntimeTypeMetadata as z, AgentTurnLimitBehavior as zt };
1246
- //# sourceMappingURL=index-CJQtTY_M.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