@codemation/core 0.0.19 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/EngineRuntimeRegistration.types-0sgV2XL2.d.ts +42 -0
  3. package/dist/EngineWorkflowRunnerService-Dx7bJsJR.d.cts +73 -0
  4. package/dist/InMemoryRunDataFactory-qIYQEar7.d.cts +94 -0
  5. package/dist/{InMemoryLiveWorkflowRepository-DxoualoC.d.ts → RunIntentService-BCvGdOSY.d.ts} +438 -9
  6. package/dist/{RunIntentService-C1nu_YwM.js → RunIntentService-BFA48UpH.js} +252 -67
  7. package/dist/RunIntentService-BFA48UpH.js.map +1 -0
  8. package/dist/{InMemoryLiveWorkflowRepository-orY1VsWG.d.cts → RunIntentService-CV8izV8t.d.cts} +214 -7
  9. package/dist/{RunIntentService-ZkjpY7MS.cjs → RunIntentService-DcxXf_AM.cjs} +262 -65
  10. package/dist/RunIntentService-DcxXf_AM.cjs.map +1 -0
  11. package/dist/bootstrap/index.cjs +14 -1135
  12. package/dist/bootstrap/index.d.cts +7 -60
  13. package/dist/bootstrap/index.d.ts +4 -40
  14. package/dist/bootstrap/index.js +3 -1122
  15. package/dist/bootstrap-D67Sf2BF.js +1136 -0
  16. package/dist/bootstrap-D67Sf2BF.js.map +1 -0
  17. package/dist/bootstrap-DoQHAEQJ.cjs +1203 -0
  18. package/dist/bootstrap-DoQHAEQJ.cjs.map +1 -0
  19. package/dist/{index-BIewO9-9.d.ts → index-BHmrZIHp.d.ts} +32 -260
  20. package/dist/index.cjs +98 -223
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +196 -6
  23. package/dist/index.d.ts +3 -3
  24. package/dist/index.js +92 -218
  25. package/dist/index.js.map +1 -1
  26. package/dist/testing.cjs +329 -3
  27. package/dist/testing.cjs.map +1 -1
  28. package/dist/testing.d.cts +181 -4
  29. package/dist/testing.d.ts +181 -3
  30. package/dist/testing.js +319 -2
  31. package/dist/testing.js.map +1 -1
  32. package/dist/workflowActivationPolicy-B8HzTk3o.js +201 -0
  33. package/dist/workflowActivationPolicy-B8HzTk3o.js.map +1 -0
  34. package/dist/workflowActivationPolicy-BzyzXLa_.cjs +231 -0
  35. package/dist/workflowActivationPolicy-BzyzXLa_.cjs.map +1 -0
  36. package/package.json +1 -1
  37. package/src/ai/AgentConnectionNodeCollector.ts +99 -0
  38. package/src/ai/AgentToolFactory.ts +38 -2
  39. package/src/ai/AiHost.ts +1 -1
  40. package/src/browser.ts +11 -0
  41. package/src/contracts/executionPersistenceContracts.ts +186 -0
  42. package/src/contracts/index.ts +1 -0
  43. package/src/contracts/runFinishedAtFactory.ts +5 -2
  44. package/src/contracts/runTypes.ts +10 -0
  45. package/src/contracts/runtimeTypes.ts +6 -2
  46. package/src/contracts/workflowTypes.ts +3 -2
  47. package/src/events/EventPublishingWorkflowExecutionRepository.ts +5 -0
  48. package/src/execution/ActivationEnqueueService.ts +8 -8
  49. package/src/execution/PersistedRunStateTerminalBuilder.ts +3 -0
  50. package/src/index.ts +6 -0
  51. package/src/orchestration/NodeExecutionRequestHandlerService.ts +11 -6
  52. package/src/orchestration/RunContinuationService.ts +94 -24
  53. package/src/runStorage/InMemoryWorkflowExecutionRepository.ts +14 -1
  54. package/src/scheduler/DefaultDrivingScheduler.ts +21 -11
  55. package/src/scheduler/InlineDrivingScheduler.ts +17 -21
  56. package/src/testing/CapturingScheduler.ts +15 -0
  57. package/src/testing/EngineTestKitRunIdFactory.ts +24 -0
  58. package/src/testing/InMemoryTriggerSetupStateRepository.ts +21 -0
  59. package/src/testing/PrefixedSequentialIdGenerator.ts +17 -0
  60. package/src/testing/RegistrarEngineTestKit.types.ts +76 -0
  61. package/src/testing/RegistrarEngineTestKitFactory.ts +154 -0
  62. package/src/testing/SubWorkflowRunnerTestNode.ts +83 -0
  63. package/src/testing/WorkflowTestHarnessManualTrigger.ts +39 -0
  64. package/src/testing/WorkflowTestKit.types.ts +9 -0
  65. package/src/testing/WorkflowTestKitBuilder.ts +77 -0
  66. package/src/testing/WorkflowTestKitNodeRegistrationContextFactory.ts +17 -0
  67. package/src/testing/WorkflowTestKitRunNodeWorkflowFactory.ts +26 -0
  68. package/src/testing.ts +19 -0
  69. package/src/types/index.ts +1 -0
  70. package/src/workflow/definition/ConnectionNodeIdFactory.ts +28 -0
  71. package/dist/InMemoryLiveWorkflowRepository-BTzHpQ6e.cjs +0 -151
  72. package/dist/InMemoryLiveWorkflowRepository-BTzHpQ6e.cjs.map +0 -1
  73. package/dist/InMemoryLiveWorkflowRepository-BoLNnVLg.js +0 -139
  74. package/dist/InMemoryLiveWorkflowRepository-BoLNnVLg.js.map +0 -1
  75. package/dist/RunIntentService-C1nu_YwM.js.map +0 -1
  76. package/dist/RunIntentService-DjbxzBBP.d.cts +0 -288
  77. package/dist/RunIntentService-ZkjpY7MS.cjs.map +0 -1
  78. package/dist/WorkflowSnapshotCodec-DSEzKyt3.d.cts +0 -22
  79. package/dist/bootstrap/index.cjs.map +0 -1
  80. package/dist/bootstrap/index.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import "reflect-metadata";
2
- import { DependencyContainer, DependencyContainer as Container, Disposable, InjectionToken, InjectionToken as TypeToken, Lifecycle, RegistrationOptions, container, delay, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, predicateAwareClassFactory, registry, singleton } from "tsyringe";
2
+ import { DependencyContainer as Container, DependencyContainer as DependencyContainer$1, Disposable, InjectionToken as InjectionToken$1, InjectionToken as TypeToken, Lifecycle, RegistrationOptions, container as container$1, delay, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, predicateAwareClassFactory, registry, singleton } from "tsyringe";
3
3
  import { ReadableStream } from "node:stream/web";
4
4
 
5
5
  //#region src/contracts/retryPolicySpec.types.d.ts
@@ -347,10 +347,18 @@ interface PendingNodeExecution {
347
347
  batchId?: string;
348
348
  enqueuedAt: string;
349
349
  }
350
+ interface PersistedRunSchedulingState {
351
+ pending?: PendingNodeExecution;
352
+ queue: RunQueueEntry[];
353
+ }
350
354
  interface PersistedRunState {
351
355
  runId: RunId;
352
356
  workflowId: WorkflowId;
353
357
  startedAt: string;
358
+ /** Canonical terminal time for listings and retention when persisted on the run root. */
359
+ finishedAt?: string;
360
+ /** Optimistic concurrency / CAS on the run aggregate (repository may increment on save). */
361
+ revision?: number;
354
362
  parent?: ParentExecutionRef;
355
363
  executionOptions?: RunExecutionOptions;
356
364
  control?: PersistedRunControlState;
@@ -382,6 +390,7 @@ interface WorkflowExecutionRepository {
382
390
  engineCounters?: EngineRunCounters;
383
391
  }): Promise<void>;
384
392
  load(runId: RunId): Promise<PersistedRunState | undefined>;
393
+ loadSchedulingState(runId: RunId): Promise<PersistedRunSchedulingState | undefined>;
385
394
  save(state: PersistedRunState): Promise<void>;
386
395
  deleteRun?(runId: RunId): Promise<void>;
387
396
  }
@@ -732,6 +741,10 @@ interface NodeActivationReceipt {
732
741
  mode?: "local" | "worker";
733
742
  queue?: string;
734
743
  }
744
+ interface PreparedNodeActivationDispatch {
745
+ readonly receipt: NodeActivationReceipt;
746
+ dispatch(): Promise<void>;
747
+ }
735
748
  interface NodeActivationContinuation {
736
749
  markNodeRunning(args: {
737
750
  runId: RunId;
@@ -754,8 +767,7 @@ interface NodeActivationContinuation {
754
767
  }
755
768
  interface NodeActivationScheduler {
756
769
  setContinuation?(continuation: NodeActivationContinuation): void;
757
- enqueue(request: NodeActivationRequest): Promise<NodeActivationReceipt>;
758
- notifyPendingStatePersisted?(runId: RunId): void;
770
+ prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
759
771
  cancel?(receiptId: string): Promise<void>;
760
772
  }
761
773
  interface WorkflowNodeInstanceFactory {
@@ -829,8 +841,9 @@ interface Edge {
829
841
  }
830
842
  type NodeConnectionName = string;
831
843
  /**
832
- * Named connection from an executable parent node to child nodes that exist in {@link WorkflowDefinition.nodes}
833
- * but are not traversed by the main execution graph.
844
+ * Named connection from a parent node to child nodes that exist in {@link WorkflowDefinition.nodes}
845
+ * but are not traversed by the main execution graph. Parents are commonly executable nodes, but may
846
+ * also be connection-owned nodes for recursive agent attachments.
834
847
  */
835
848
  interface WorkflowNodeConnection {
836
849
  readonly parentNodeId: NodeId;
@@ -1189,9 +1202,168 @@ declare class CredentialUnboundError extends Error {
1189
1202
  private static createMessage;
1190
1203
  }
1191
1204
  //#endregion
1205
+ //#region src/contracts/executionPersistenceContracts.d.ts
1206
+ /** Canonical id for persisted execution rows (activation or connection invocation). */
1207
+ type ExecutionInstanceId = string;
1208
+ /** Stable id for persisted work-queue rows. */
1209
+ type WorkItemId = string;
1210
+ /** Batch grouping for planner activations. */
1211
+ type BatchId = string;
1212
+ /** Optimistic concurrency on the run root. */
1213
+ type RunRevision = number;
1214
+ type PersistedRunWorkItemKind = "queue" | "pending";
1215
+ type WorkItemStatus = "queued" | "claimed" | "completed" | "failed" | "cancelled";
1216
+ type PersistedExecutionInstanceKind = "workflowNodeActivation" | "connectionInvocation";
1217
+ type ConnectionInvocationKind = "languageModel" | "tool" | "nestedAgent";
1218
+ type PayloadStorageKind = "inline" | "external" | "omitted";
1219
+ /**
1220
+ * Persisted run-work-queue row (queue entry or pending activation).
1221
+ * Serialized to {@link RunWorkItem} in Prisma; engine still uses {@link PersistedRunState} queue + pending.
1222
+ */
1223
+ interface PersistedRunWorkItemRecord {
1224
+ readonly workItemId: WorkItemId;
1225
+ readonly runId: RunId;
1226
+ readonly workflowId: WorkflowId;
1227
+ readonly kind: PersistedRunWorkItemKind;
1228
+ readonly orderIndex: number;
1229
+ readonly status: WorkItemStatus;
1230
+ readonly queueName?: string;
1231
+ readonly claimToken?: string;
1232
+ readonly claimedBy?: string;
1233
+ readonly claimedAt?: string;
1234
+ readonly availableAt: string;
1235
+ readonly enqueuedAt: string;
1236
+ readonly completedAt?: string;
1237
+ readonly failedAt?: string;
1238
+ readonly sourceInstanceId?: ExecutionInstanceId;
1239
+ readonly parentInstanceId?: ExecutionInstanceId;
1240
+ readonly itemsIn: number;
1241
+ /** Queue entry when kind is queue; pending activation when kind is pending. */
1242
+ readonly payloadJson: string;
1243
+ readonly error?: Readonly<NodeExecutionError>;
1244
+ }
1245
+ /**
1246
+ * Payload policy fields for large-batch externalization (optional on first rollout).
1247
+ */
1248
+ interface ExecutionPayloadPolicyFields {
1249
+ readonly inputStorageKind: PayloadStorageKind;
1250
+ readonly outputStorageKind: PayloadStorageKind;
1251
+ readonly inputBytes?: number;
1252
+ readonly outputBytes?: number;
1253
+ readonly inputPreviewJson?: unknown;
1254
+ readonly outputPreviewJson?: unknown;
1255
+ readonly inputPayloadRef?: string;
1256
+ readonly outputPayloadRef?: string;
1257
+ readonly inputTruncated?: boolean;
1258
+ readonly outputTruncated?: boolean;
1259
+ }
1260
+ /**
1261
+ * One persisted execution row (workflow node activation or connection invocation).
1262
+ */
1263
+ interface PersistedExecutionInstanceRecord {
1264
+ readonly instanceId: ExecutionInstanceId;
1265
+ readonly runId: RunId;
1266
+ readonly workflowId: WorkflowId;
1267
+ readonly slotNodeId: NodeId;
1268
+ readonly workflowNodeId: NodeId;
1269
+ readonly kind: PersistedExecutionInstanceKind;
1270
+ readonly connectionKind?: ConnectionInvocationKind;
1271
+ readonly activationId?: NodeActivationId;
1272
+ readonly batchId: BatchId;
1273
+ readonly runIndex: number;
1274
+ readonly parentInstanceId?: ExecutionInstanceId;
1275
+ readonly parentRunId?: RunId;
1276
+ readonly workerClaimToken?: string;
1277
+ readonly status: NodeExecutionStatus;
1278
+ readonly queuedAt?: string;
1279
+ readonly startedAt?: string;
1280
+ readonly finishedAt?: string;
1281
+ readonly updatedAt: string;
1282
+ readonly itemCount: number;
1283
+ readonly inputJson?: string;
1284
+ readonly outputJson?: string;
1285
+ readonly errorJson?: string;
1286
+ readonly inputItemIndicesJson?: string;
1287
+ readonly outputItemCount?: number;
1288
+ readonly successfulItemCount?: number;
1289
+ readonly failedItemCount?: number;
1290
+ readonly truncatedInputPreviewJson?: string;
1291
+ readonly truncatedOutputPreviewJson?: string;
1292
+ readonly inputTruncated?: boolean;
1293
+ readonly outputTruncated?: boolean;
1294
+ readonly usedPinnedOutput?: boolean;
1295
+ readonly payloadPolicy?: ExecutionPayloadPolicyFields;
1296
+ }
1297
+ /**
1298
+ * Cached slot projection for planner/debugger/UI (not canonical history).
1299
+ */
1300
+ interface RunSlotProjectionState {
1301
+ readonly runId: RunId;
1302
+ readonly workflowId: WorkflowId;
1303
+ readonly revision: RunRevision;
1304
+ readonly slotStatesByNodeId: Record<NodeId, Readonly<{
1305
+ latestInstanceId?: ExecutionInstanceId;
1306
+ latestTerminalInstanceId?: ExecutionInstanceId;
1307
+ latestRunningInstanceId?: ExecutionInstanceId;
1308
+ latestStatus?: NodeExecutionStatus;
1309
+ invocationCount: number;
1310
+ runCount: number;
1311
+ }>>;
1312
+ }
1313
+ interface PersistedRunSlotProjectionRecord {
1314
+ readonly runId: RunId;
1315
+ readonly workflowId: WorkflowId;
1316
+ readonly revision: RunRevision;
1317
+ readonly updatedAt: string;
1318
+ readonly slotStatesJson: string;
1319
+ }
1320
+ interface WorkflowRunDetailDto {
1321
+ readonly runId: RunId;
1322
+ readonly workflowId: WorkflowId;
1323
+ readonly startedAt: string;
1324
+ readonly finishedAt?: string;
1325
+ readonly status: RunStatus;
1326
+ readonly workflowSnapshot?: PersistedWorkflowSnapshot;
1327
+ readonly mutableState?: PersistedMutableRunState;
1328
+ readonly slotStates: ReadonlyArray<SlotExecutionStateDto>;
1329
+ readonly executionInstances: ReadonlyArray<ExecutionInstanceDto>;
1330
+ }
1331
+ interface SlotExecutionStateDto {
1332
+ readonly slotNodeId: NodeId;
1333
+ readonly latestInstanceId?: ExecutionInstanceId;
1334
+ readonly latestTerminalInstanceId?: ExecutionInstanceId;
1335
+ readonly latestRunningInstanceId?: ExecutionInstanceId;
1336
+ readonly status?: NodeExecutionStatus;
1337
+ readonly invocationCount: number;
1338
+ readonly runCount: number;
1339
+ }
1340
+ interface ExecutionInstanceDto {
1341
+ readonly instanceId: ExecutionInstanceId;
1342
+ readonly slotNodeId: NodeId;
1343
+ readonly workflowNodeId: NodeId;
1344
+ readonly parentInstanceId?: ExecutionInstanceId;
1345
+ readonly kind: PersistedExecutionInstanceKind;
1346
+ readonly connectionKind?: ConnectionInvocationKind;
1347
+ readonly runIndex: number;
1348
+ readonly batchId: BatchId;
1349
+ readonly activationId?: NodeActivationId;
1350
+ readonly status: NodeExecutionStatus;
1351
+ readonly queuedAt?: string;
1352
+ readonly startedAt?: string;
1353
+ readonly finishedAt?: string;
1354
+ readonly itemCount: number;
1355
+ readonly inputJson?: JsonValue;
1356
+ readonly outputJson?: JsonValue;
1357
+ readonly error?: Readonly<NodeExecutionError>;
1358
+ }
1359
+ interface WorkflowDetailSelectionState {
1360
+ readonly selectedSlotNodeId: NodeId | null;
1361
+ readonly selectedInstanceId: ExecutionInstanceId | null;
1362
+ }
1363
+ //#endregion
1192
1364
  //#region src/contracts/runFinishedAtFactory.d.ts
1193
- type RunFinishedAtSource = Pick<PersistedRunState, "status" | "nodeSnapshotsByNodeId">;
1194
- /** Derives workflow end time from node snapshots for run listings. */
1365
+ type RunFinishedAtSource = Pick<PersistedRunState, "status" | "nodeSnapshotsByNodeId" | "finishedAt">;
1366
+ /** Derives workflow end time from persisted run root or node snapshots for run listings. */
1195
1367
  declare class RunFinishedAtFactory {
1196
1368
  static resolveIso(state: RunFinishedAtSource): string | undefined;
1197
1369
  }
@@ -1279,6 +1451,13 @@ declare class ConnectionNodeIdFactory {
1279
1451
  static toolConnectionNodeId(parentNodeId: NodeId, toolName: string): NodeId;
1280
1452
  static isLanguageModelConnectionNodeId(nodeId: NodeId): boolean;
1281
1453
  static isToolConnectionNodeId(nodeId: NodeId): boolean;
1454
+ static parseLanguageModelConnectionNodeId(nodeId: NodeId): Readonly<{
1455
+ parentNodeId: NodeId;
1456
+ }> | undefined;
1457
+ static parseToolConnectionNodeId(nodeId: NodeId): Readonly<{
1458
+ parentNodeId: NodeId;
1459
+ normalizedToolName: string;
1460
+ }> | undefined;
1282
1461
  /** True when `nodeId` is a connection-owned child of `parentNodeId` (LLM or tool slot). */
1283
1462
  static isConnectionOwnedDescendantOf(parentNodeId: NodeId, nodeId: NodeId): boolean;
1284
1463
  /** Normalizes a tool display name to a stable id segment. */
@@ -1314,6 +1493,140 @@ declare class DefaultWorkflowGraphFactory implements WorkflowGraphFactory {
1314
1493
  create(def: WorkflowDefinition): WorkflowGraph;
1315
1494
  }
1316
1495
  //#endregion
1496
+ //#region src/orchestration/Engine.d.ts
1497
+ interface EngineTriggerRuntime {
1498
+ startTriggers(): Promise<void>;
1499
+ stop(): Promise<void>;
1500
+ syncWorkflowTriggersForActivation(workflowId: WorkflowId): Promise<void>;
1501
+ createTriggerTestItems(args: {
1502
+ workflow: WorkflowDefinition;
1503
+ nodeId: NodeId;
1504
+ }): Promise<Items | undefined>;
1505
+ }
1506
+ interface EngineRunStartService {
1507
+ runWorkflow(wf: WorkflowDefinition, startAt: NodeId, items: Items, parent?: ParentExecutionRef, executionOptions?: RunExecutionOptions, persistedStateOverrides?: Readonly<{
1508
+ workflowSnapshot?: NonNullable<Awaited<ReturnType<WorkflowExecutionRepository["load"]>>>["workflowSnapshot"];
1509
+ mutableState?: NonNullable<Awaited<ReturnType<WorkflowExecutionRepository["load"]>>>["mutableState"];
1510
+ }>): Promise<RunResult>;
1511
+ runWorkflowFromState(request: CurrentStateExecutionRequest): Promise<RunResult>;
1512
+ }
1513
+ interface EngineRunContinuationService {
1514
+ markNodeRunning(args: {
1515
+ runId: RunId;
1516
+ activationId: NodeActivationId;
1517
+ nodeId: NodeId;
1518
+ inputsByPort: NodeInputsByPort;
1519
+ }): Promise<void>;
1520
+ resumeFromNodeResult(args: {
1521
+ runId: RunId;
1522
+ activationId: NodeActivationId;
1523
+ nodeId: NodeId;
1524
+ outputs: NodeOutputs;
1525
+ }): Promise<RunResult>;
1526
+ resumeFromNodeError(args: {
1527
+ runId: RunId;
1528
+ activationId: NodeActivationId;
1529
+ nodeId: NodeId;
1530
+ error: Error;
1531
+ }): Promise<RunResult>;
1532
+ resumeFromStepResult(args: {
1533
+ runId: RunId;
1534
+ activationId: NodeActivationId;
1535
+ nodeId: NodeId;
1536
+ outputs: NodeOutputs;
1537
+ }): Promise<RunResult>;
1538
+ resumeFromStepError(args: {
1539
+ runId: RunId;
1540
+ activationId: NodeActivationId;
1541
+ nodeId: NodeId;
1542
+ error: Error;
1543
+ }): Promise<RunResult>;
1544
+ waitForCompletion(runId: RunId): Promise<Extract<RunResult, {
1545
+ status: "completed" | "failed";
1546
+ }>>;
1547
+ waitForWebhookResponse(runId: RunId): Promise<WebhookRunResult>;
1548
+ }
1549
+ interface EngineNodeExecutionRequestHandler {
1550
+ handleNodeExecutionRequest(request: NodeExecutionRequest): Promise<void>;
1551
+ }
1552
+ interface EngineFacadeDeps {
1553
+ liveWorkflowRepository: LiveWorkflowRepository;
1554
+ tokenRegistry: PersistedWorkflowTokenRegistryLike;
1555
+ webhookTriggerMatcher: WebhookTriggerMatcher;
1556
+ workflowSnapshotResolver: WorkflowSnapshotResolver;
1557
+ triggerRuntime: EngineTriggerRuntime;
1558
+ runStartService: EngineRunStartService;
1559
+ runContinuationService: EngineRunContinuationService;
1560
+ nodeExecutionRequestHandler: EngineNodeExecutionRequestHandler;
1561
+ }
1562
+ /**
1563
+ * Runtime facade for orchestration, continuation, triggers, and webhook routing.
1564
+ * Prefer {@link import("../intents/RunIntentService").RunIntentService} for host/HTTP invocation boundaries.
1565
+ * The class token is exported from `@codemation/core/bootstrap` (not the main `@codemation/core` barrel).
1566
+ */
1567
+ declare class Engine implements NodeActivationContinuation, NodeExecutionRequestHandler {
1568
+ private readonly deps;
1569
+ constructor(deps: EngineFacadeDeps);
1570
+ loadWorkflows(workflows: ReadonlyArray<WorkflowDefinition>): void;
1571
+ getTokenRegistry(): EngineFacadeDeps["tokenRegistry"];
1572
+ resolveWorkflowSnapshot(args: {
1573
+ workflowId: WorkflowId;
1574
+ workflowSnapshot?: NonNullable<Awaited<ReturnType<WorkflowExecutionRepository["load"]>>>["workflowSnapshot"];
1575
+ }): WorkflowDefinition | undefined;
1576
+ startTriggers(): Promise<void>;
1577
+ syncWorkflowTriggersForActivation(workflowId: WorkflowId): Promise<void>;
1578
+ start(workflows: WorkflowDefinition[]): Promise<void>;
1579
+ stop(): Promise<void>;
1580
+ resolveWebhookTrigger(args: {
1581
+ endpointPath: string;
1582
+ method: HttpMethod;
1583
+ }): WebhookTriggerResolution;
1584
+ createTriggerTestItems(args: {
1585
+ workflow: WorkflowDefinition;
1586
+ nodeId: NodeId;
1587
+ }): Promise<Items | undefined>;
1588
+ runWorkflow(wf: WorkflowDefinition, startAt: NodeId, items: Items, parent?: ParentExecutionRef, executionOptions?: RunExecutionOptions, persistedStateOverrides?: Readonly<{
1589
+ workflowSnapshot?: NonNullable<Awaited<ReturnType<WorkflowExecutionRepository["load"]>>>["workflowSnapshot"];
1590
+ mutableState?: NonNullable<Awaited<ReturnType<WorkflowExecutionRepository["load"]>>>["mutableState"];
1591
+ }>): Promise<RunResult>;
1592
+ runWorkflowFromState(request: CurrentStateExecutionRequest): Promise<RunResult>;
1593
+ markNodeRunning(args: {
1594
+ runId: RunId;
1595
+ activationId: NodeActivationId;
1596
+ nodeId: NodeId;
1597
+ inputsByPort: NodeInputsByPort;
1598
+ }): Promise<void>;
1599
+ resumeFromNodeResult(args: {
1600
+ runId: RunId;
1601
+ activationId: NodeActivationId;
1602
+ nodeId: NodeId;
1603
+ outputs: NodeOutputs;
1604
+ }): Promise<RunResult>;
1605
+ resumeFromNodeError(args: {
1606
+ runId: RunId;
1607
+ activationId: NodeActivationId;
1608
+ nodeId: NodeId;
1609
+ error: Error;
1610
+ }): Promise<RunResult>;
1611
+ resumeFromStepResult(args: {
1612
+ runId: RunId;
1613
+ activationId: NodeActivationId;
1614
+ nodeId: NodeId;
1615
+ outputs: NodeOutputs;
1616
+ }): Promise<RunResult>;
1617
+ resumeFromStepError(args: {
1618
+ runId: RunId;
1619
+ activationId: NodeActivationId;
1620
+ nodeId: NodeId;
1621
+ error: Error;
1622
+ }): Promise<RunResult>;
1623
+ waitForCompletion(runId: RunId): Promise<Extract<RunResult, {
1624
+ status: "completed" | "failed";
1625
+ }>>;
1626
+ waitForWebhookResponse(runId: RunId): Promise<WebhookRunResult>;
1627
+ handleNodeExecutionRequest(request: NodeExecutionRequest): Promise<void>;
1628
+ }
1629
+ //#endregion
1317
1630
  //#region src/workflowSnapshots/WorkflowSnapshotCodec.d.ts
1318
1631
  declare class WorkflowSnapshotCodec {
1319
1632
  private readonly tokenRegistry;
@@ -1332,6 +1645,62 @@ declare class WorkflowSnapshotCodec {
1332
1645
  private asRecord;
1333
1646
  }
1334
1647
  //#endregion
1648
+ //#region src/policies/executionLimits/EngineExecutionLimitsPolicyFactory.d.ts
1649
+ /**
1650
+ * Builds {@link EngineExecutionLimitsPolicy} by merging {@link ENGINE_EXECUTION_LIMITS_DEFAULTS} with optional `overrides` (e.g. host `runtime.engineExecutionLimits`).
1651
+ */
1652
+ declare class EngineExecutionLimitsPolicyFactory {
1653
+ create(overrides?: Partial<EngineExecutionLimitsPolicyConfig>): EngineExecutionLimitsPolicy;
1654
+ }
1655
+ //#endregion
1656
+ //#region src/policies/storage/RunPolicySnapshotFactory.d.ts
1657
+ declare class RunPolicySnapshotFactory {
1658
+ static create(workflow: WorkflowDefinition, defaults?: WorkflowPolicyRuntimeDefaults): PersistedRunPolicySnapshot;
1659
+ }
1660
+ //#endregion
1661
+ //#region src/policies/storage/WorkflowStoragePolicyEvaluator.d.ts
1662
+ declare class WorkflowStoragePolicyEvaluator {
1663
+ private readonly nodeResolver;
1664
+ constructor(nodeResolver: NodeResolver);
1665
+ shouldPersist(workflow: WorkflowDefinition, snapshot: PersistedRunPolicySnapshot | undefined, args: WorkflowStoragePolicyDecisionArgs): Promise<boolean>;
1666
+ private modeMatches;
1667
+ }
1668
+ //#endregion
1669
+ //#region src/policies/storage/RunTerminalPersistenceCoordinator.d.ts
1670
+ declare class RunTerminalPersistenceCoordinator {
1671
+ private readonly runRepository;
1672
+ private readonly storageEvaluator;
1673
+ constructor(runRepository: WorkflowExecutionRepository, storageEvaluator: WorkflowStoragePolicyEvaluator);
1674
+ maybeDeleteAfterTerminalState(args: {
1675
+ workflow: WorkflowDefinition;
1676
+ state: PersistedRunState;
1677
+ finalStatus: "completed" | "failed";
1678
+ finishedAt: string;
1679
+ }): Promise<void>;
1680
+ }
1681
+ //#endregion
1682
+ //#region src/policies/WorkflowPolicyErrorServices.d.ts
1683
+ declare class WorkflowPolicyErrorServices {
1684
+ private readonly nodeResolver;
1685
+ constructor(nodeResolver: NodeResolver);
1686
+ resolveNodeErrorHandler(spec: NodeErrorHandlerSpec | undefined): NodeErrorHandler | undefined;
1687
+ resolveWorkflowErrorHandler(spec: WorkflowErrorHandlerSpec | undefined): WorkflowErrorHandler | undefined;
1688
+ }
1689
+ //#endregion
1690
+ //#region src/runtime/EngineWorkflowRunnerService.d.ts
1691
+ declare class EngineWorkflowRunnerService {
1692
+ private readonly engine;
1693
+ private readonly workflowRepository;
1694
+ constructor(engine: Engine, workflowRepository: WorkflowRepository);
1695
+ runById(args: {
1696
+ workflowId: WorkflowId;
1697
+ startAt?: NodeId;
1698
+ items: Items;
1699
+ parent?: ParentExecutionRef;
1700
+ }): Promise<RunResult>;
1701
+ private findDefaultStartNodeId;
1702
+ }
1703
+ //#endregion
1335
1704
  //#region src/runtime/InMemoryLiveWorkflowRepository.d.ts
1336
1705
  declare class InMemoryLiveWorkflowRepository implements LiveWorkflowRepository {
1337
1706
  private readonly workflowsById;
@@ -1340,5 +1709,65 @@ declare class InMemoryLiveWorkflowRepository implements LiveWorkflowRepository {
1340
1709
  get(workflowId: WorkflowId): WorkflowDefinition | undefined;
1341
1710
  }
1342
1711
  //#endregion
1343
- export { JsonArray as $, ConnectionInvocationRecord as $n, RunEventBus as $r, BinaryBody as $t, CredentialJsonRecord as A, TriggerNode as An, WorkflowExecutionRepository as Ar, TriggerNodeOutputJson as At, CredentialTypeId as B, WorkflowSnapshotFactory as Bn, inject as Br, WorkflowNodeConnection as Bt, CredentialBindingKey as C, NodeExecutionScheduler as Cn, RunStateResetRequest as Cr, RunDataSnapshot as Ct, CredentialHealthTester as D, PersistedTriggerSetupState as Dn, WebhookRunResult as Dr, RunnableNodeInputJson as Dt, CredentialHealthStatus as E, NodeResolver as En, RunSummary as Er, RunnableNodeConfig as Et, CredentialSessionFactoryArgs as F, TriggerTestItemsContext as Fn, Lifecycle as Fr, WorkflowErrorHandler as Ft, BinaryAttachment as G, WebhookInvocationMatch as Gn, predicateAwareClassFactory as Gr, WorkflowStoragePolicyResolver as Gt, CredentialUnboundError as H, HttpMethod as Hn, injectable as Hr, WorkflowPrunePolicySpec as Ht, CredentialSessionService as I, WorkflowNodeInstanceFactory as In, RegistrationOptions as Ir, WorkflowErrorHandlerSpec as It, ExecutionMode as J, WebhookTriggerRoutingDiagnostics as Jn, CoreTokens as Jr, runnableNodeInputType as Jt, BinaryPreviewKind as K, WebhookTriggerMatcher as Kn, registry as Kr, WorkflowStoragePolicySpec as Kt, CredentialSetupStatus as L, WorkflowRepository as Ln, TypeToken as Lr, WorkflowGraph as Lt, CredentialOAuth2AuthDefinition as M, TriggerSetupContext as Mn, DependencyContainer as Mr, UpstreamRefPlaceholder as Mt, CredentialRequirement as N, TriggerSetupStateFor as Nn, Disposable as Nr, WorkflowDefinition as Nt, CredentialInstanceId as O, TestableTriggerNode as On, WorkflowExecutionListingRepository as Or, RunnableNodeOutputJson as Ot, CredentialSessionFactory as P, TriggerSetupStateRepository as Pn, InjectionToken as Pr, WorkflowErrorContext as Pt, Items as Q, ConnectionInvocationId as Qn, RunEvent as Qr, BinaryAttachmentCreateRequest as Qt, CredentialType as R, WorkflowRunnerResolver as Rn, container as Rr, WorkflowGraphFactory as Rt, CredentialBinding as S, NodeExecutionRequestHandler as Sn, RunResult as Sr, RunDataFactory as St, CredentialHealth as T, NodeExecutor as Tn, RunStopCondition as Tr, RunIdFactory as Tt, OAuth2ProviderFromPublicConfig as U, TriggerInstanceId as Un, instanceCachingFactory as Ur, WorkflowStoragePolicyDecisionArgs as Ut, CredentialTypeRegistry as V, WorkflowSnapshotResolver as Vn, injectAll as Vr, WorkflowPolicyRuntimeDefaults as Vt, ActivationIdFactory as W, WebhookControlSignal as Wn, instancePerContainerCachingFactory as Wr, WorkflowStoragePolicyMode as Wt, Item as X, WorkflowActivationPolicy as Xn, EngineExecutionLimitsPolicy as Xr, triggerNodeOutputType as Xt, InputPortKey as Y, AllWorkflowsActiveWorkflowActivationPolicy as Yn, ENGINE_EXECUTION_LIMITS_DEFAULTS as Yr, runnableNodeOutputType as Yt, ItemBinary as Z, ConnectionInvocationAppendArgs as Zn, EngineExecutionLimitsPolicyConfig as Zr, triggerNodeSetupStateType as Zt, StepSequenceOutput as _, NodeActivationRequestBase as _n, RunCurrentState as _r, OutputPortKey as _t, WorkflowExecutableNodeClassifier as a, FixedRetryPolicySpec as ai, EngineDeps as an, NodeExecutionStatus as ar, NodeConfigBase as at, AnyCredentialType as b, NodeExecutionContext as bn, RunPruneCandidate as br, PersistedRunPolicySnapshot as bt, WorkflowBuilder as c, ExecutionBinaryService as cn, PersistedMutableNodeState as cr, NodeErrorHandler as ct, AnyRunnableNodeConfig as d, LiveWorkflowRepository as dn, PersistedRunState as dr, NodeId as dt, RunEventSubscription as ei, BinaryStorage as en, CurrentStateExecutionRequest as er, JsonObject as et, AnyTriggerNodeConfig as f, MultiInputNode as fn, PersistedWorkflowSnapshot as fr, NodeKind as ft, BranchStepsArg as g, NodeActivationRequest as gn, RunCompletionNotifier as gr, NodeSchedulerDecision as gt, BranchOutputGuard as h, NodeActivationReceipt as hn, PinnedNodeOutputsByPort as hr, NodeRef as ht, WorkflowExecutableNodeClassifierFactory as i, ExponentialRetryPolicySpec as ii, BinaryStorageWriteResult as in, NodeExecutionSnapshot as ir, NodeActivationId as it, CredentialMaterialSourceKind as j, TriggerRuntimeDiagnostics as jn, Container as jr, TriggerNodeSetupState as jt, CredentialInstanceRecord as k, TriggerCleanupHandle as kn, WorkflowExecutionPruneRepository as kr, TriggerNodeConfig as kt, ChainCursor as l, ExecutionContext as ln, PersistedMutableRunState as lr, NodeErrorHandlerArgs as lt, BranchMoreArgs as m, NodeActivationContinuation as mn, PersistedWorkflowTokenRegistryLike as mr, NodeOutputs as mt, WorkflowSnapshotCodec as n, RetryPolicy as ni, BinaryStorageStatResult as nn, ExecutionFrontierPlan as nr, JsonValue as nt, ConnectionNodeIdFactory as o, NoneRetryPolicySpec as oi, EngineHost as on, NodeInputsByPort as or, NodeConnectionName as ot, BooleanWhenOverloads as p, Node as pn, PersistedWorkflowSnapshotNode as pr, NodeOffloadPolicy as pt, Edge as q, WebhookTriggerResolution as qn, singleton as qr, branchRef as qt, DefaultWorkflowGraphFactory as r, NoRetryPolicy as ri, BinaryStorageWriteRequest as rn, NodeExecutionError as rr, MutableRunData as rt, ConnectionInvocationIdFactory as s, RetryPolicySpec as si, ExecutableTriggerNode as sn, PendingNodeExecution as sr, NodeDefinition as st, InMemoryLiveWorkflowRepository as t, ExpRetryPolicy as ti, BinaryStorageReadResult as tn, EngineRunCounters as tr, JsonPrimitive as tt, WhenBuilder as u, ExecutionContextFactory as un, PersistedRunControlState as ur, NodeErrorHandlerSpec as ut, ValidStepSequence as v, NodeActivationScheduler as vn, RunEventPublisherDeps as vr, PairedItemRef as vt, CredentialFieldSchema as w, NodeExecutionStatePublisher as wn, RunStatus as wr, RunId as wt, CredentialAuthDefinition as x, NodeExecutionRequest as xn, RunQueueEntry as xr, PersistedTokenId as xt, RunFinishedAtFactory as y, NodeBinaryAttachmentService as yn, RunExecutionOptions as yr, ParentExecutionRef as yt, CredentialTypeDefinition as z, WorkflowRunnerService as zn, delay as zr, WorkflowId as zt };
1344
- //# sourceMappingURL=InMemoryLiveWorkflowRepository-DxoualoC.d.ts.map
1712
+ //#region src/runtime/RunIntentService.d.ts
1713
+ type StartWorkflowIntent = {
1714
+ workflow: WorkflowDefinition;
1715
+ startAt?: string;
1716
+ items: Items;
1717
+ synthesizeTriggerItems?: boolean;
1718
+ parent?: CurrentStateExecutionRequest["parent"];
1719
+ executionOptions?: RunExecutionOptions;
1720
+ workflowSnapshot?: CurrentStateExecutionRequest["workflowSnapshot"];
1721
+ mutableState?: CurrentStateExecutionRequest["mutableState"];
1722
+ currentState?: RunCurrentState;
1723
+ stopCondition?: RunStopCondition;
1724
+ reset?: CurrentStateExecutionRequest["reset"];
1725
+ };
1726
+ type RerunFromNodeIntent = {
1727
+ workflow: WorkflowDefinition;
1728
+ nodeId: NodeId;
1729
+ currentState: RunCurrentState;
1730
+ items?: Items;
1731
+ synthesizeTriggerItems?: boolean;
1732
+ parent?: CurrentStateExecutionRequest["parent"];
1733
+ executionOptions?: RunExecutionOptions;
1734
+ workflowSnapshot?: CurrentStateExecutionRequest["workflowSnapshot"];
1735
+ mutableState?: CurrentStateExecutionRequest["mutableState"];
1736
+ };
1737
+ type MatchedWebhookRunIntent = {
1738
+ endpointPath: string;
1739
+ method: HttpMethod;
1740
+ requestItem: Items[number];
1741
+ };
1742
+ type WebhookMatchRunIntent = {
1743
+ match: WebhookInvocationMatch;
1744
+ requestItem: Items[number];
1745
+ };
1746
+ declare class RunIntentService {
1747
+ private readonly engine;
1748
+ private readonly workflowRepository;
1749
+ constructor(engine: Engine, workflowRepository: WorkflowRepository);
1750
+ startWorkflow(args: StartWorkflowIntent): Promise<RunResult>;
1751
+ rerunFromNode(args: RerunFromNodeIntent): Promise<RunResult>;
1752
+ private resolveStartWorkflowItems;
1753
+ private resolveRerunItems;
1754
+ private resolveStartWorkflowTriggerNodeId;
1755
+ private resolveRerunTriggerNodeId;
1756
+ private firstTriggerNodeId;
1757
+ private isTriggerNode;
1758
+ private hasNonEmptyItems;
1759
+ resolveWebhookTrigger(args: {
1760
+ endpointPath: string;
1761
+ method: HttpMethod;
1762
+ }): WebhookTriggerResolution;
1763
+ runMatchedWebhook(args: MatchedWebhookRunIntent): Promise<WebhookRunResult>;
1764
+ runWebhookMatch(args: WebhookMatchRunIntent): Promise<WebhookRunResult>;
1765
+ /**
1766
+ * Webhook-triggered runs always force inline execution first.
1767
+ * This is the highest-precedence scheduler override: it wins over node hints and container defaults.
1768
+ */
1769
+ private createWebhookExecutionOptions;
1770
+ }
1771
+ //#endregion
1772
+ export { CredentialHealthTester as $, PersistedTriggerSetupState as $n, RunStopCondition as $r, RunnableNodeInputJson as $t, ExecutionInstanceDto as A, RetryPolicy as Ai, BinaryStorageWriteResult as An, NodeExecutionError as Ar, NodeActivationId as At, RunSlotProjectionState as B, NodeActivationContinuation as Bn, PersistedWorkflowSnapshot as Br, NodeOutputs as Bt, BranchOutputGuard as C, ENGINE_EXECUTION_LIMITS_DEFAULTS as Ci, triggerNodeSetupStateType as Cn, WorkflowActivationPolicy as Cr, ItemBinary as Ct, RunFinishedAtFactory as D, RunEventBus as Di, BinaryStorageReadResult as Dn, CurrentStateExecutionRequest as Dr, JsonPrimitive as Dt, ValidStepSequence as E, RunEvent as Ei, BinaryStorage as En, ConnectionInvocationRecord as Er, JsonObject as Et, PersistedExecutionInstanceRecord as F, RetryPolicySpec as Fi, ExecutionContext as Fn, PersistedMutableNodeState as Fr, NodeErrorHandlerArgs as Ft, WorkflowRunDetailDto as G, NodeBinaryAttachmentService as Gn, RunCurrentState as Gr, ParentExecutionRef as Gt, WorkItemId as H, NodeActivationRequest as Hn, PersistedWorkflowTokenRegistryLike as Hr, NodeSchedulerDecision as Ht, PersistedRunSlotProjectionRecord as I, ExecutionContextFactory as In, PersistedMutableRunState as Ir, NodeErrorHandlerSpec as It, CredentialBinding as J, NodeExecutionRequestHandler as Jn, RunPruneCandidate as Jr, RunDataFactory as Jt, AnyCredentialType as K, NodeExecutionContext as Kn, RunEventPublisherDeps as Kr, PersistedRunPolicySnapshot as Kt, PersistedRunWorkItemKind as L, LiveWorkflowRepository as Ln, PersistedRunControlState as Lr, NodeId as Lt, ExecutionPayloadPolicyFields as M, ExponentialRetryPolicySpec as Mi, EngineHost as Mn, NodeExecutionStatus as Mr, NodeConnectionName as Mt, PayloadStorageKind as N, FixedRetryPolicySpec as Ni, ExecutableTriggerNode as Nn, NodeInputsByPort as Nr, NodeDefinition as Nt, BatchId as O, RunEventSubscription as Oi, BinaryStorageStatResult as On, EngineRunCounters as Or, JsonValue as Ot, PersistedExecutionInstanceKind as P, NoneRetryPolicySpec as Pi, ExecutionBinaryService as Pn, PendingNodeExecution as Pr, NodeErrorHandler as Pt, CredentialHealthStatus as Q, NodeResolver as Qn, RunStatus as Qr, RunnableNodeConfig as Qt, PersistedRunWorkItemRecord as R, MultiInputNode as Rn, PersistedRunSchedulingState as Rr, NodeKind as Rt, BranchMoreArgs as S, CoreTokens as Si, triggerNodeOutputType as Sn, AllWorkflowsActiveWorkflowActivationPolicy as Sr, Item as St, StepSequenceOutput as T, EngineExecutionLimitsPolicyConfig as Ti, BinaryBody as Tn, ConnectionInvocationId as Tr, JsonArray as Tt, WorkItemStatus as U, NodeActivationRequestBase as Un, PinnedNodeOutputsByPort as Ur, OutputPortKey as Ut, SlotExecutionStateDto as V, NodeActivationReceipt as Vn, PersistedWorkflowSnapshotNode as Vr, NodeRef as Vt, WorkflowDetailSelectionState as W, NodeActivationScheduler as Wn, RunCompletionNotifier as Wr, PairedItemRef as Wt, CredentialFieldSchema as X, NodeExecutionStatePublisher as Xn, RunResult as Xr, RunId as Xt, CredentialBindingKey as Y, NodeExecutionScheduler as Yn, RunQueueEntry as Yr, RunDataSnapshot as Yt, CredentialHealth as Z, NodeExecutor as Zn, RunStateResetRequest as Zr, RunIdFactory as Zt, ChainCursor as _, instanceCachingFactory as _i, WorkflowStoragePolicyResolver as _n, WebhookControlSignal as _r, BinaryAttachment as _t, RunTerminalPersistenceCoordinator as a, Container as ai, WorkflowDefinition as an, TriggerSetupContext as ar, CredentialRequirement as at, AnyTriggerNodeConfig as b, registry as bi, runnableNodeInputType as bn, WebhookTriggerResolution as br, ExecutionMode as bt, EngineExecutionLimitsPolicyFactory as c, InjectionToken$1 as ci, WorkflowErrorHandlerSpec as cn, TriggerTestItemsContext as cr, CredentialSessionService as ct, DefaultWorkflowGraphFactory as d, TypeToken as di, WorkflowId as dn, WorkflowRunnerResolver as dr, CredentialTypeDefinition as dt, RunSummary as ei, RunnableNodeOutputJson as en, PreparedNodeActivationDispatch as er, CredentialInstanceId as et, WorkflowExecutableNodeClassifierFactory as f, container$1 as fi, WorkflowNodeConnection as fn, WorkflowRunnerService as fr, CredentialTypeId as ft, WorkflowBuilder as g, injectable as gi, WorkflowStoragePolicyMode as gn, TriggerInstanceId as gr, ActivationIdFactory as gt, ConnectionInvocationIdFactory as h, injectAll as hi, WorkflowStoragePolicyDecisionArgs as hn, HttpMethod as hr, OAuth2ProviderFromPublicConfig as ht, WorkflowPolicyErrorServices as i, WorkflowExecutionRepository as ii, UpstreamRefPlaceholder as in, TriggerRuntimeDiagnostics as ir, CredentialOAuth2AuthDefinition as it, ExecutionInstanceId as j, NoRetryPolicy as ji, EngineDeps as jn, NodeExecutionSnapshot as jr, NodeConfigBase as jt, ConnectionInvocationKind as k, ExpRetryPolicy as ki, BinaryStorageWriteRequest as kn, ExecutionFrontierPlan as kr, MutableRunData as kt, WorkflowSnapshotCodec as l, Lifecycle as li, WorkflowGraph as ln, WorkflowNodeInstanceFactory as lr, CredentialSetupStatus as lt, ConnectionNodeIdFactory as m, inject as mi, WorkflowPrunePolicySpec as mn, WorkflowSnapshotResolver as mr, CredentialUnboundError as mt, InMemoryLiveWorkflowRepository as n, WorkflowExecutionListingRepository as ni, TriggerNodeOutputJson as nn, TriggerCleanupHandle as nr, CredentialJsonRecord as nt, WorkflowStoragePolicyEvaluator as o, DependencyContainer$1 as oi, WorkflowErrorContext as on, TriggerSetupStateFor as or, CredentialSessionFactory as ot, WorkflowExecutableNodeClassifier as p, delay as pi, WorkflowPolicyRuntimeDefaults as pn, WorkflowSnapshotFactory as pr, CredentialTypeRegistry as pt, CredentialAuthDefinition as q, NodeExecutionRequest as qn, RunExecutionOptions as qr, PersistedTokenId as qt, EngineWorkflowRunnerService as r, WorkflowExecutionPruneRepository as ri, TriggerNodeSetupState as rn, TriggerNode as rr, CredentialMaterialSourceKind as rt, RunPolicySnapshotFactory as s, Disposable as si, WorkflowErrorHandler as sn, TriggerSetupStateRepository as sr, CredentialSessionFactoryArgs as st, RunIntentService as t, WebhookRunResult as ti, TriggerNodeConfig as tn, TestableTriggerNode as tr, CredentialInstanceRecord as tt, Engine as u, RegistrationOptions as ui, WorkflowGraphFactory as un, WorkflowRepository as ur, CredentialType as ut, WhenBuilder as v, instancePerContainerCachingFactory as vi, WorkflowStoragePolicySpec as vn, WebhookInvocationMatch as vr, BinaryPreviewKind as vt, BranchStepsArg as w, EngineExecutionLimitsPolicy as wi, BinaryAttachmentCreateRequest as wn, ConnectionInvocationAppendArgs as wr, Items as wt, BooleanWhenOverloads as x, singleton as xi, runnableNodeOutputType as xn, WebhookTriggerRoutingDiagnostics as xr, InputPortKey as xt, AnyRunnableNodeConfig as y, predicateAwareClassFactory as yi, branchRef as yn, WebhookTriggerMatcher as yr, Edge as yt, RunRevision as z, Node as zn, PersistedRunState as zr, NodeOffloadPolicy as zt };
1773
+ //# sourceMappingURL=RunIntentService-BCvGdOSY.d.ts.map