@codemation/core 0.8.1 → 0.10.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 +386 -0
  2. package/dist/{EngineRuntimeRegistration.types-BP6tsaNP.d.ts → EngineRuntimeRegistration.types-D1fyApMI.d.ts} +2 -2
  3. package/dist/{EngineWorkflowRunnerService-DzOCa1BW.d.cts → EngineRuntimeRegistration.types-pB3FnzqR.d.cts} +17 -17
  4. package/dist/{InMemoryRunDataFactory-1iz7_SnO.d.cts → InMemoryRunDataFactory-Xw7v4-sj.d.cts} +31 -29
  5. package/dist/InMemoryRunEventBusRegistry-VM3OWnHo.cjs +47 -0
  6. package/dist/InMemoryRunEventBusRegistry-VM3OWnHo.cjs.map +1 -0
  7. package/dist/InMemoryRunEventBusRegistry-sM4z4n_i.js +41 -0
  8. package/dist/InMemoryRunEventBusRegistry-sM4z4n_i.js.map +1 -0
  9. package/dist/{RunIntentService-BqhmdoA1.d.ts → RunIntentService-BE9CAkbf.d.ts} +966 -471
  10. package/dist/{RunIntentService-S-1lW-gS.d.cts → RunIntentService-siBSjaaY.d.cts} +859 -493
  11. package/dist/bootstrap/index.cjs +5 -2
  12. package/dist/bootstrap/index.d.cts +212 -135
  13. package/dist/bootstrap/index.d.ts +4 -4
  14. package/dist/bootstrap/index.js +3 -3
  15. package/dist/{bootstrap-Bx1u4cbS.cjs → bootstrap-Cm5ruQxx.cjs} +253 -2
  16. package/dist/bootstrap-Cm5ruQxx.cjs.map +1 -0
  17. package/dist/{bootstrap-BoknFKnw.js → bootstrap-D3r505ko.js} +236 -3
  18. package/dist/bootstrap-D3r505ko.js.map +1 -0
  19. package/dist/{index-CVs9rVhl.d.ts → index-DeLl1Tne.d.ts} +632 -230
  20. package/dist/index.cjs +323 -176
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +544 -91
  23. package/dist/index.d.ts +3 -3
  24. package/dist/index.js +299 -166
  25. package/dist/index.js.map +1 -1
  26. package/dist/{runtime-DUW6tIJ1.js → runtime-BGNbRnqs.js} +934 -75
  27. package/dist/runtime-BGNbRnqs.js.map +1 -0
  28. package/dist/{runtime-Dvo2ru5A.cjs → runtime-DKXJwTNv.cjs} +1028 -73
  29. package/dist/runtime-DKXJwTNv.cjs.map +1 -0
  30. package/dist/testing.cjs +4 -4
  31. package/dist/testing.cjs.map +1 -1
  32. package/dist/testing.d.cts +2 -2
  33. package/dist/testing.d.ts +2 -2
  34. package/dist/testing.js +3 -3
  35. package/package.json +7 -2
  36. package/src/ai/AiHost.ts +42 -14
  37. package/src/authoring/DefinedCollectionRegistry.ts +17 -0
  38. package/src/authoring/defineCollection.types.ts +181 -0
  39. package/src/authoring/definePollingTrigger.types.ts +396 -0
  40. package/src/authoring/definePollingTriggerInternals.ts +74 -0
  41. package/src/authoring/index.ts +19 -0
  42. package/src/bootstrap/index.ts +9 -0
  43. package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +8 -0
  44. package/src/browser.ts +1 -0
  45. package/src/contracts/CodemationTelemetryAttributeNames.ts +6 -0
  46. package/src/contracts/NoOpNodeExecutionTelemetry.ts +2 -11
  47. package/src/contracts/NoOpTelemetrySpanScope.ts +46 -10
  48. package/src/contracts/assertionTypes.ts +63 -0
  49. package/src/contracts/baseTypes.ts +12 -0
  50. package/src/contracts/collectionTypes.ts +44 -0
  51. package/src/contracts/credentialTypes.ts +23 -1
  52. package/src/contracts/executionPersistenceContracts.ts +30 -0
  53. package/src/contracts/index.ts +4 -0
  54. package/src/contracts/runTypes.ts +37 -1
  55. package/src/contracts/runtimeTypes.ts +42 -0
  56. package/src/contracts/telemetryTypes.ts +8 -0
  57. package/src/contracts/testTriggerTypes.ts +66 -0
  58. package/src/contracts/workflowTypes.ts +36 -7
  59. package/src/contracts.ts +59 -0
  60. package/src/events/ConnectionInvocationEventPublisher.ts +46 -0
  61. package/src/events/index.ts +1 -0
  62. package/src/events/runEvents.ts +74 -0
  63. package/src/execution/ChildExecutionScopeFactory.ts +55 -0
  64. package/src/execution/DefaultExecutionContextFactory.ts +6 -0
  65. package/src/execution/ExecutionTelemetryCostTrackingDecoratorFactory.ts +18 -0
  66. package/src/execution/NodeExecutor.ts +10 -2
  67. package/src/execution/NodeInstanceFactory.ts +13 -1
  68. package/src/execution/NodeInstantiationError.ts +16 -0
  69. package/src/execution/NodeRunStateWriter.ts +7 -0
  70. package/src/execution/NodeRunStateWriterFactory.ts +7 -0
  71. package/src/execution/WorkflowRunExecutionContextFactory.ts +3 -0
  72. package/src/execution/index.ts +2 -0
  73. package/src/index.ts +8 -0
  74. package/src/orchestration/AbortControllerFactory.ts +9 -0
  75. package/src/orchestration/NodeExecutionRequestHandlerService.ts +1 -0
  76. package/src/orchestration/RunContinuationService.ts +3 -0
  77. package/src/orchestration/RunStartService.ts +122 -3
  78. package/src/orchestration/TestSuiteOrchestrator.ts +350 -0
  79. package/src/orchestration/TestSuiteRunIdFactory.ts +11 -0
  80. package/src/orchestration/TriggerRuntimeService.ts +34 -7
  81. package/src/orchestration/index.ts +9 -0
  82. package/src/runtime/EngineFactory.ts +12 -0
  83. package/src/triggers/polling/PollingTriggerDedupWindow.ts +23 -0
  84. package/src/triggers/polling/PollingTriggerLogger.ts +18 -0
  85. package/src/triggers/polling/PollingTriggerRuntime.ts +122 -0
  86. package/src/triggers/polling/index.ts +5 -0
  87. package/src/types/index.ts +12 -9
  88. package/src/workflow/definition/NodeIterationIdFactory.ts +26 -0
  89. package/src/workflow/dsl/NodeIdSlugifier.ts +18 -0
  90. package/src/workflow/dsl/WorkflowBuilder.ts +71 -3
  91. package/src/workflow/dsl/WorkflowDefinitionError.ts +15 -0
  92. package/src/workflow/index.ts +3 -0
  93. package/dist/InMemoryRunEventBusRegistry-B0_C4OnP.cjs +0 -262
  94. package/dist/InMemoryRunEventBusRegistry-B0_C4OnP.cjs.map +0 -1
  95. package/dist/InMemoryRunEventBusRegistry-C2U83Hmv.js +0 -238
  96. package/dist/InMemoryRunEventBusRegistry-C2U83Hmv.js.map +0 -1
  97. package/dist/bootstrap-BoknFKnw.js.map +0 -1
  98. package/dist/bootstrap-Bx1u4cbS.cjs.map +0 -1
  99. package/dist/runtime-DUW6tIJ1.js.map +0 -1
  100. package/dist/runtime-Dvo2ru5A.cjs.map +0 -1
@@ -1,6 +1,7 @@
1
- const require_runtime = require('../runtime-Dvo2ru5A.cjs');
2
- const require_bootstrap = require('../bootstrap-Bx1u4cbS.cjs');
1
+ const require_runtime = require('../runtime-DKXJwTNv.cjs');
2
+ const require_bootstrap = require('../bootstrap-Cm5ruQxx.cjs');
3
3
 
4
+ exports.AbortControllerFactory = require_bootstrap.AbortControllerFactory;
4
5
  exports.CatalogBackedCostTrackingTelemetryFactory = require_runtime.CatalogBackedCostTrackingTelemetryFactory;
5
6
  exports.ConfigDrivenOffloadPolicy = require_runtime.ConfigDrivenOffloadPolicy;
6
7
  exports.CredentialResolverFactory = require_runtime.CredentialResolverFactory;
@@ -32,6 +33,8 @@ exports.RunPolicySnapshotFactory = require_runtime.RunPolicySnapshotFactory;
32
33
  exports.RunSummaryMapper = require_bootstrap.RunSummaryMapper;
33
34
  exports.RunTerminalPersistenceCoordinator = require_runtime.RunTerminalPersistenceCoordinator;
34
35
  exports.StaticCostCatalog = require_runtime.StaticCostCatalog;
36
+ exports.TestSuiteOrchestrator = require_bootstrap.TestSuiteOrchestrator;
37
+ exports.TestSuiteRunIdFactory = require_bootstrap.TestSuiteRunIdFactory;
35
38
  exports.UnavailableBinaryStorage = require_runtime.UnavailableBinaryStorage;
36
39
  exports.WorkflowPolicyErrorServices = require_runtime.WorkflowPolicyErrorServices;
37
40
  exports.WorkflowRepositoryWebhookTriggerMatcher = require_runtime.WorkflowRepositoryWebhookTriggerMatcher;
@@ -1,48 +1,43 @@
1
- import { $n as WorkflowExecutionListingRepository, A as NodeOutputs, B as RunId, C as NodeErrorHandler, Dr as CostTrackingTelemetryFactory, E as NodeId, Et as EngineDeps, F as ParentExecutionRef, Fn as PersistedRunSchedulingState, Ft as NodeActivationContinuation, Gn as RunPruneCandidate, Ht as NodeExecutionRequest, I as PersistedRunPolicySnapshot, In as PersistedRunState, L as PersistedTokenId, Lt as NodeActivationRequest, M as NodeSchedulerDecision, Q as WorkflowErrorHandlerSpec, Rn as PersistedWorkflowSnapshotNode, S as NodeDefinition, Si as EngineExecutionLimitsPolicyConfig, T as NodeErrorHandlerSpec, Tn as EngineRunCounters, Tr as CostTrackingTelemetry, Wt as NodeExecutionScheduler, Y as WorkflowDefinition, Yt as PreparedNodeActivationDispatch, Z as WorkflowErrorHandler, Zn as RunSummary, at as WorkflowStoragePolicyDecisionArgs, b as NodeConfigBase, bi as ENGINE_EXECUTION_LIMITS_DEFAULTS, bn as WorkflowActivationPolicy, c as ExecutionMode, ci as TypeToken, er as WorkflowExecutionPruneRepository, fn as HttpMethod, gn as WebhookTriggerMatcher, hn as WebhookInvocationMatch, k as NodeOffloadPolicy, kr as CostTrackingUsageRecord, n as InMemoryLiveWorkflowRepository, nr as ExecutionTelemetry, on as WorkflowNodeInstanceFactory, qt as NodeResolver, r as Engine, ri as DependencyContainer, rt as WorkflowPolicyRuntimeDefaults, sn as WorkflowRepository, t as RunIntentService, tr as WorkflowExecutionRepository, tt as WorkflowId, vn as WebhookTriggerRoutingDiagnostics, xi as EngineExecutionLimitsPolicy, zt as NodeActivationScheduler } from "../RunIntentService-S-1lW-gS.cjs";
2
- import { c as InProcessRetryRunner, d as AsyncSleeper, f as CredentialResolverFactory, i as UnavailableBinaryStorage, l as DefaultExecutionContextFactory, m as CostCatalogEntry, n as InMemoryBinaryStorage, o as RunnableOutputBehaviorResolver, p as CostCatalog, r as DefaultExecutionBinaryService, s as ItemExprResolver, t as InMemoryRunDataFactory, u as DefaultAsyncSleeper } from "../InMemoryRunDataFactory-1iz7_SnO.cjs";
3
- import { a as WorkflowSnapshotCodec, i as WebhookTriggerMatcherProvider, n as EngineRuntimeRegistrationOptions, r as TriggerRuntimeDiagnosticsProvider, t as EngineWorkflowRunnerService } from "../EngineWorkflowRunnerService-DzOCa1BW.cjs";
1
+ import { A as NodeSchedulerDecision, Ai as TestSuiteRunId, At as NodeActivationContinuation, Bn as CostTrackingTelemetry, C as NodeErrorHandlerSpec, Ci as EngineExecutionLimitsPolicy, D as NodeOffloadPolicy, Ei as RunEventBus, Er as EngineRunCounters, Fi as NodeId, G as WorkflowDefinition, Gr as RunExecutionOptions, Gt as PreparedNodeActivationDispatch, Hn as CostTrackingTelemetryFactory, Ht as NodeResolver, I as RunId, Ir as PersistedRunSchedulingState, J as WorkflowErrorHandlerSpec, Jr as RunResult, Kr as RunPruneCandidate, Li as PersistedTokenId, Lr as PersistedRunState, Lt as NodeExecutionRequest, M as ParentExecutionRef, Mt as NodeActivationRequest, N as PersistedRunPolicySnapshot, O as NodeOutputs, Oi as TestCaseRunStatus, Pt as NodeActivationScheduler, Q as WorkflowPolicyRuntimeDefaults, Qr as RunSummary, Ri as WorkflowId, Si as ENGINE_EXECUTION_LIMITS_DEFAULTS, Wn as CostTrackingUsageRecord, _n as ExecutionTelemetry, ai as DependencyContainer, b as NodeDefinition, c as ExecutionMode, cn as HttpMethod, d as Items, dn as WebhookInvocationMatch, et as WorkflowStoragePolicyDecisionArgs, fn as WebhookTriggerMatcher, gn as WorkflowActivationPolicy, ki as TestSuiteRunStatus, mn as WebhookTriggerRoutingDiagnostics, n as InMemoryLiveWorkflowRepository, ni as WorkflowExecutionPruneRepository, nn as WorkflowNodeInstanceFactory, q as WorkflowErrorHandler, r as Engine, ri as WorkflowExecutionRepository, rn as WorkflowRepository, t as RunIntentService, ti as WorkflowExecutionListingRepository, ui as TypeToken, wi as EngineExecutionLimitsPolicyConfig, x as NodeErrorHandler, xt as EngineDeps, y as NodeConfigBase, zr as PersistedWorkflowSnapshotNode, zt as NodeExecutionScheduler } from "../RunIntentService-siBSjaaY.cjs";
2
+ import { a as ItemExprResolver, c as DefaultAsyncSleeper, d as UnavailableBinaryStorage, f as CredentialResolverFactory, i as RunnableOutputBehaviorResolver, l as AsyncSleeper, m as CostCatalogEntry, n as InMemoryBinaryStorage, o as InProcessRetryRunner, p as CostCatalog, s as DefaultExecutionContextFactory, t as InMemoryRunDataFactory, u as DefaultExecutionBinaryService } from "../InMemoryRunDataFactory-Xw7v4-sj.cjs";
3
+ import { a as WorkflowSnapshotCodec, i as EngineWorkflowRunnerService, n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-pB3FnzqR.cjs";
4
4
 
5
- //#region src/workflowSnapshots/MissingRuntimeFallbacksFactory.d.ts
6
- declare class MissingRuntimeFallbacks {
7
- createDefinition(snapshotNode: PersistedWorkflowSnapshotNode): NodeDefinition;
8
- }
9
- //#endregion
10
- //#region src/runtime/EngineFactory.d.ts
5
+ //#region src/orchestration/AbortControllerFactory.d.ts
11
6
  /**
12
- * {@link EngineDeps} plus optional overrides for workflow-snapshot materialization.
13
- * Overrides keep default construction in this factory while allowing tests or advanced wiring to inject instances.
7
+ * Mints fresh {@link AbortController}s. Injected (rather than direct `new`) to honor the
8
+ * codebase's no-direct-construction rule and to give tests a seam for substituting a fake.
14
9
  */
15
- type EngineCompositionDeps = EngineDeps & {
16
- workflowSnapshotCodec?: WorkflowSnapshotCodec;
17
- missingRuntimeFallbacks?: MissingRuntimeFallbacks;
18
- /** When set, used for run-start, trigger, and continuation limit defaults. */
19
- executionLimitsPolicy?: EngineExecutionLimitsPolicy;
20
- };
21
- /**
22
- * Composes the {@link Engine} graph from {@link EngineCompositionDeps}. Production wiring usually goes through
23
- * {@link import("../bootstrap/runtime/EngineRuntimeRegistrar").EngineRuntimeRegistrar}; this factory remains for tests and custom composition.
24
- * Exported from `@codemation/core/bootstrap` (not the main `@codemation/core` barrel).
25
- */
26
- declare class EngineFactory {
27
- create(deps: EngineCompositionDeps): Engine;
10
+ declare class AbortControllerFactory {
11
+ create(): AbortController;
28
12
  }
29
13
  //#endregion
30
- //#region src/bootstrap/runtime/EngineRuntimeRegistrar.d.ts
31
- /**
32
- * Container-first entry: call on a host/test container **after** workflow, run, node, and credential
33
- * ports are registered. The registrar owns the default inline scheduler, engine binding,
34
- * and intent-surface wiring so hosts only override the seams they actually replace.
35
- */
36
- declare class EngineRuntimeRegistrar {
37
- register(container: DependencyContainer, options?: EngineRuntimeRegistrationOptions): void;
38
- private registerSupportFactories;
39
- private registerExecutionLimitsPolicy;
40
- private ensureWorkflowNodeInstanceFactory;
41
- private ensureNodeExecutor;
42
- private registerDefaultActivationScheduler;
43
- private registerEngine;
44
- private registerIntentServices;
45
- private resolveMatcherProvider;
14
+ //#region src/policies/storage/WorkflowStoragePolicyEvaluator.d.ts
15
+ declare class WorkflowStoragePolicyEvaluator {
16
+ private readonly nodeResolver;
17
+ constructor(nodeResolver: NodeResolver);
18
+ shouldPersist(workflow: WorkflowDefinition, snapshot: PersistedRunPolicySnapshot | undefined, args: WorkflowStoragePolicyDecisionArgs): Promise<boolean>;
19
+ private modeMatches;
20
+ }
21
+ //#endregion
22
+ //#region src/policies/storage/RunTerminalPersistenceCoordinator.d.ts
23
+ declare class RunTerminalPersistenceCoordinator {
24
+ private readonly runRepository;
25
+ private readonly storageEvaluator;
26
+ constructor(runRepository: WorkflowExecutionRepository, storageEvaluator: WorkflowStoragePolicyEvaluator);
27
+ maybeDeleteAfterTerminalState(args: {
28
+ workflow: WorkflowDefinition;
29
+ state: PersistedRunState;
30
+ finalStatus: "completed" | "failed";
31
+ finishedAt: string;
32
+ }): Promise<void>;
33
+ }
34
+ //#endregion
35
+ //#region src/policies/WorkflowPolicyErrorServices.d.ts
36
+ declare class WorkflowPolicyErrorServices {
37
+ private readonly nodeResolver;
38
+ constructor(nodeResolver: NodeResolver);
39
+ resolveNodeErrorHandler(spec: NodeErrorHandlerSpec | undefined): NodeErrorHandler | undefined;
40
+ resolveWorkflowErrorHandler(spec: WorkflowErrorHandlerSpec | undefined): WorkflowErrorHandler | undefined;
46
41
  }
47
42
  //#endregion
48
43
  //#region src/execution/CatalogBackedCostTrackingTelemetryFactory.d.ts
@@ -87,6 +82,80 @@ declare class NodeInstanceFactory implements WorkflowNodeInstanceFactory {
87
82
  createByType(type: TypeToken<unknown>): unknown;
88
83
  }
89
84
  //#endregion
85
+ //#region src/execution/StaticCostCatalog.d.ts
86
+ declare class StaticCostCatalog implements CostCatalog {
87
+ private readonly entriesByKey;
88
+ constructor(entries: ReadonlyArray<CostCatalogEntry>);
89
+ findEntry(args: CostTrackingUsageRecord): CostCatalogEntry | undefined;
90
+ private createKeyFromEntry;
91
+ private createKeyFromUsage;
92
+ }
93
+ //#endregion
94
+ //#region src/scheduler/ConfigDrivenOffloadPolicy.d.ts
95
+ declare class ConfigDrivenOffloadPolicy implements NodeOffloadPolicy {
96
+ private readonly defaultMode;
97
+ constructor(defaultMode?: ExecutionMode);
98
+ decide(args: {
99
+ workflowId: WorkflowId;
100
+ nodeId: NodeId;
101
+ config: NodeConfigBase;
102
+ }): NodeSchedulerDecision;
103
+ }
104
+ //#endregion
105
+ //#region src/scheduler/InlineDrivingScheduler.d.ts
106
+ declare class InlineDrivingScheduler implements NodeActivationScheduler {
107
+ private readonly nodeExecutor;
108
+ private continuation;
109
+ private readonly drainingRuns;
110
+ private readonly queuesByRunId;
111
+ private readonly scheduledRuns;
112
+ constructor(nodeExecutor: NodeExecutor);
113
+ setContinuation(continuation: NodeActivationContinuation): void;
114
+ prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
115
+ private drainRun;
116
+ private scheduleDrain;
117
+ private resumeAfterExecutionResult;
118
+ private resumeAfterExecutionError;
119
+ private asError;
120
+ private rethrowUnlessIgnorableContinuationError;
121
+ private isIgnorableContinuationError;
122
+ }
123
+ //#endregion
124
+ //#region src/scheduler/DefaultDrivingScheduler.d.ts
125
+ declare class DefaultDrivingScheduler implements NodeActivationScheduler {
126
+ private readonly offloadPolicy;
127
+ private readonly workerScheduler;
128
+ private readonly inline;
129
+ constructor(offloadPolicy: NodeOffloadPolicy, workerScheduler: NodeExecutionScheduler, inline: InlineDrivingScheduler);
130
+ setContinuation(continuation: NodeActivationContinuation): void;
131
+ prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
132
+ /**
133
+ * Scheduler precedence is explicit:
134
+ * 1. run-intent override (`executionOptions.localOnly`)
135
+ * 2. node-level execution hint / queue policy
136
+ * 3. container-default scheduler policy fallback
137
+ */
138
+ private selectScheduler;
139
+ private hasNodeSchedulingPreference;
140
+ private prepareInlineDispatch;
141
+ }
142
+ //#endregion
143
+ //#region src/scheduler/HintOnlyOffloadPolicy.d.ts
144
+ declare class HintOnlyOffloadPolicy implements NodeOffloadPolicy {
145
+ decide(args: {
146
+ workflowId: WorkflowId;
147
+ nodeId: NodeId;
148
+ config: NodeConfigBase;
149
+ }): NodeSchedulerDecision;
150
+ }
151
+ //#endregion
152
+ //#region src/scheduler/LocalOnlyScheduler.d.ts
153
+ declare class LocalOnlyScheduler implements NodeExecutionScheduler {
154
+ enqueue(_request: NodeExecutionRequest): Promise<{
155
+ receiptId: string;
156
+ }>;
157
+ }
158
+ //#endregion
90
159
  //#region src/policies/executionLimits/EngineExecutionLimitsPolicyFactory.d.ts
91
160
  /**
92
161
  * Builds {@link EngineExecutionLimitsPolicy} by merging {@link ENGINE_EXECUTION_LIMITS_DEFAULTS} with optional `overrides` (e.g. host `runtime.engineExecutionLimits`).
@@ -100,35 +169,6 @@ declare class RunPolicySnapshotFactory {
100
169
  static create(workflow: WorkflowDefinition, defaults?: WorkflowPolicyRuntimeDefaults): PersistedRunPolicySnapshot;
101
170
  }
102
171
  //#endregion
103
- //#region src/policies/storage/WorkflowStoragePolicyEvaluator.d.ts
104
- declare class WorkflowStoragePolicyEvaluator {
105
- private readonly nodeResolver;
106
- constructor(nodeResolver: NodeResolver);
107
- shouldPersist(workflow: WorkflowDefinition, snapshot: PersistedRunPolicySnapshot | undefined, args: WorkflowStoragePolicyDecisionArgs): Promise<boolean>;
108
- private modeMatches;
109
- }
110
- //#endregion
111
- //#region src/policies/storage/RunTerminalPersistenceCoordinator.d.ts
112
- declare class RunTerminalPersistenceCoordinator {
113
- private readonly runRepository;
114
- private readonly storageEvaluator;
115
- constructor(runRepository: WorkflowExecutionRepository, storageEvaluator: WorkflowStoragePolicyEvaluator);
116
- maybeDeleteAfterTerminalState(args: {
117
- workflow: WorkflowDefinition;
118
- state: PersistedRunState;
119
- finalStatus: "completed" | "failed";
120
- finishedAt: string;
121
- }): Promise<void>;
122
- }
123
- //#endregion
124
- //#region src/policies/WorkflowPolicyErrorServices.d.ts
125
- declare class WorkflowPolicyErrorServices {
126
- private readonly nodeResolver;
127
- constructor(nodeResolver: NodeResolver);
128
- resolveNodeErrorHandler(spec: NodeErrorHandlerSpec | undefined): NodeErrorHandler | undefined;
129
- resolveWorkflowErrorHandler(spec: WorkflowErrorHandlerSpec | undefined): WorkflowErrorHandler | undefined;
130
- }
131
- //#endregion
132
172
  //#region src/runStorage/InMemoryWorkflowExecutionRepository.d.ts
133
173
  declare class InMemoryWorkflowExecutionRepository implements WorkflowExecutionRepository, WorkflowExecutionListingRepository, WorkflowExecutionPruneRepository {
134
174
  private readonly runs;
@@ -165,6 +205,31 @@ declare class RunSummaryMapper {
165
205
  static fromPersistedState(state: PersistedRunState): RunSummary;
166
206
  }
167
207
  //#endregion
208
+ //#region src/workflowSnapshots/MissingRuntimeFallbacksFactory.d.ts
209
+ declare class MissingRuntimeFallbacks {
210
+ createDefinition(snapshotNode: PersistedWorkflowSnapshotNode): NodeDefinition;
211
+ }
212
+ //#endregion
213
+ //#region src/runtime/EngineFactory.d.ts
214
+ /**
215
+ * {@link EngineDeps} plus optional overrides for workflow-snapshot materialization.
216
+ * Overrides keep default construction in this factory while allowing tests or advanced wiring to inject instances.
217
+ */
218
+ type EngineCompositionDeps = EngineDeps & {
219
+ workflowSnapshotCodec?: WorkflowSnapshotCodec;
220
+ missingRuntimeFallbacks?: MissingRuntimeFallbacks;
221
+ /** When set, used for run-start, trigger, and continuation limit defaults. */
222
+ executionLimitsPolicy?: EngineExecutionLimitsPolicy;
223
+ };
224
+ /**
225
+ * Composes the {@link Engine} graph from {@link EngineCompositionDeps}. Production wiring usually goes through
226
+ * {@link import("../bootstrap/runtime/EngineRuntimeRegistrar").EngineRuntimeRegistrar}; this factory remains for tests and custom composition.
227
+ * Exported from `@codemation/core/bootstrap` (not the main `@codemation/core` barrel).
228
+ */
229
+ declare class EngineFactory {
230
+ create(deps: EngineCompositionDeps): Engine;
231
+ }
232
+ //#endregion
168
233
  //#region src/runtime/WorkflowRepositoryWebhookTriggerMatcher.d.ts
169
234
  /**
170
235
  * Resolves webhook HTTP routes from the live workflow repository (no trigger setup / registration).
@@ -191,78 +256,90 @@ declare class WorkflowRepositoryWebhookTriggerMatcher implements WebhookTriggerM
191
256
  private normalizeEndpointPath;
192
257
  }
193
258
  //#endregion
194
- //#region src/execution/StaticCostCatalog.d.ts
195
- declare class StaticCostCatalog implements CostCatalog {
196
- private readonly entriesByKey;
197
- constructor(entries: ReadonlyArray<CostCatalogEntry>);
198
- findEntry(args: CostTrackingUsageRecord): CostCatalogEntry | undefined;
199
- private createKeyFromEntry;
200
- private createKeyFromUsage;
259
+ //#region src/orchestration/TestSuiteRunIdFactory.d.ts
260
+ /**
261
+ * Mints unique TestSuiteRun identifiers. Separated from {@link import("../types").RunIdFactory}
262
+ * so suite ids and per-case workflow run ids never alias.
263
+ */
264
+ declare class TestSuiteRunIdFactory {
265
+ makeTestSuiteRunId(): TestSuiteRunId;
201
266
  }
202
267
  //#endregion
203
- //#region src/scheduler/ConfigDrivenOffloadPolicy.d.ts
204
- declare class ConfigDrivenOffloadPolicy implements NodeOffloadPolicy {
205
- private readonly defaultMode;
206
- constructor(defaultMode?: ExecutionMode);
207
- decide(args: {
208
- workflowId: WorkflowId;
209
- nodeId: NodeId;
210
- config: NodeConfigBase;
211
- }): NodeSchedulerDecision;
268
+ //#region src/orchestration/TestSuiteOrchestrator.d.ts
269
+ /**
270
+ * Engine-facade subset the orchestrator needs. Kept narrow on purpose so unit tests can
271
+ * substitute a fake without depending on the full Engine wiring.
272
+ */
273
+ interface TestSuiteOrchestratorEngine {
274
+ runWorkflow(wf: WorkflowDefinition, startAt: NodeId, items: Items, parent?: ParentExecutionRef, executionOptions?: RunExecutionOptions): Promise<RunResult>;
275
+ waitForCompletion(runId: RunId): Promise<Extract<RunResult, {
276
+ status: "completed" | "failed";
277
+ }>>;
212
278
  }
213
- //#endregion
214
- //#region src/scheduler/InlineDrivingScheduler.d.ts
215
- declare class InlineDrivingScheduler implements NodeActivationScheduler {
216
- private readonly nodeExecutor;
217
- private continuation;
218
- private readonly drainingRuns;
219
- private readonly queuesByRunId;
220
- private readonly scheduledRuns;
221
- constructor(nodeExecutor: NodeExecutor);
222
- setContinuation(continuation: NodeActivationContinuation): void;
223
- prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
224
- private drainRun;
225
- private scheduleDrain;
226
- private resumeAfterExecutionResult;
227
- private resumeAfterExecutionError;
228
- private asError;
229
- private rethrowUnlessIgnorableContinuationError;
230
- private isIgnorableContinuationError;
279
+ interface TestSuiteCaseOutcome {
280
+ readonly testCaseIndex: number;
281
+ readonly runId: RunId;
282
+ readonly status: TestCaseRunStatus;
231
283
  }
232
- //#endregion
233
- //#region src/scheduler/DefaultDrivingScheduler.d.ts
234
- declare class DefaultDrivingScheduler implements NodeActivationScheduler {
235
- private readonly offloadPolicy;
236
- private readonly workerScheduler;
237
- private readonly inline;
238
- constructor(offloadPolicy: NodeOffloadPolicy, workerScheduler: NodeExecutionScheduler, inline: InlineDrivingScheduler);
239
- setContinuation(continuation: NodeActivationContinuation): void;
240
- prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
241
- /**
242
- * Scheduler precedence is explicit:
243
- * 1. run-intent override (`executionOptions.localOnly`)
244
- * 2. node-level execution hint / queue policy
245
- * 3. container-default scheduler policy fallback
246
- */
247
- private selectScheduler;
248
- private hasNodeSchedulingPreference;
249
- private prepareInlineDispatch;
284
+ interface TestSuiteRunResult {
285
+ readonly testSuiteRunId: TestSuiteRunId;
286
+ readonly workflowId: WorkflowId;
287
+ readonly triggerNodeId: NodeId;
288
+ readonly status: TestSuiteRunStatus;
289
+ readonly totalCases: number;
290
+ readonly passedCases: number;
291
+ readonly failedCases: number;
292
+ readonly cases: ReadonlyArray<TestSuiteCaseOutcome>;
250
293
  }
251
- //#endregion
252
- //#region src/scheduler/HintOnlyOffloadPolicy.d.ts
253
- declare class HintOnlyOffloadPolicy implements NodeOffloadPolicy {
254
- decide(args: {
255
- workflowId: WorkflowId;
256
- nodeId: NodeId;
257
- config: NodeConfigBase;
258
- }): NodeSchedulerDecision;
294
+ interface RunTestSuiteArgs {
295
+ readonly workflow: WorkflowDefinition;
296
+ readonly triggerNodeId: NodeId;
297
+ readonly testSuiteRunId?: TestSuiteRunId;
298
+ readonly concurrency?: number;
299
+ readonly signal?: AbortSignal;
300
+ }
301
+ /**
302
+ * Drives a {@link TestTriggerNodeConfig.generateItems} iterable into one workflow run per item,
303
+ * with bounded concurrency. Pure engine logic — no persistence, no HTTP, no UI. Hosts adapt by
304
+ * subscribing to {@link RunEventBus} and writing rows on `testSuite*` / `testCase*` / `nodeCompleted`.
305
+ *
306
+ * Cancellation: the supplied `AbortSignal` aborts the source iterable (so credentialed pulls bail)
307
+ * and stops scheduling further cases. In-flight cases are awaited; engine-level cancellation of
308
+ * an already-dispatched run is not yet wired (Phase 2).
309
+ */
310
+ declare class TestSuiteOrchestrator {
311
+ private readonly engine;
312
+ private readonly testSuiteRunIdFactory;
313
+ private readonly credentialResolverFactory;
314
+ private readonly abortControllerFactory;
315
+ private readonly eventBus;
316
+ private readonly currentDate;
317
+ constructor(engine: TestSuiteOrchestratorEngine, testSuiteRunIdFactory: TestSuiteRunIdFactory, credentialResolverFactory: CredentialResolverFactory, abortControllerFactory: AbortControllerFactory, eventBus: RunEventBus | undefined, currentDate?: () => Date);
318
+ runSuite(args: RunTestSuiteArgs): Promise<TestSuiteRunResult>;
319
+ private runOneCase;
320
+ private deriveSuiteStatus;
321
+ private now;
322
+ /** Defensive label resolver — author-supplied callbacks throw / return non-strings; we tolerate both. */
323
+ private resolveCaseLabel;
324
+ private publish;
259
325
  }
260
326
  //#endregion
261
- //#region src/scheduler/LocalOnlyScheduler.d.ts
262
- declare class LocalOnlyScheduler implements NodeExecutionScheduler {
263
- enqueue(_request: NodeExecutionRequest): Promise<{
264
- receiptId: string;
265
- }>;
327
+ //#region src/bootstrap/runtime/EngineRuntimeRegistrar.d.ts
328
+ /**
329
+ * Container-first entry: call on a host/test container **after** workflow, run, node, and credential
330
+ * ports are registered. The registrar owns the default inline scheduler, engine binding,
331
+ * and intent-surface wiring so hosts only override the seams they actually replace.
332
+ */
333
+ declare class EngineRuntimeRegistrar {
334
+ register(container: DependencyContainer, options?: EngineRuntimeRegistrationOptions): void;
335
+ private registerSupportFactories;
336
+ private registerExecutionLimitsPolicy;
337
+ private ensureWorkflowNodeInstanceFactory;
338
+ private ensureNodeExecutor;
339
+ private registerDefaultActivationScheduler;
340
+ private registerEngine;
341
+ private registerIntentServices;
342
+ private resolveMatcherProvider;
266
343
  }
267
344
  //#endregion
268
345
  //#region src/workflowSnapshots/MissingRuntimeTriggerToken.d.ts
@@ -288,5 +365,5 @@ declare class PersistedWorkflowTokenRegistry {
288
365
  resolve(tokenId: PersistedTokenId): TypeToken<unknown> | undefined;
289
366
  }
290
367
  //#endregion
291
- export { type AsyncSleeper, CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, type EngineCompositionDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, type EngineRuntimeRegistrationOptions, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, StaticCostCatalog, type TriggerRuntimeDiagnosticsProvider, UnavailableBinaryStorage, type WebhookTriggerMatcherProvider, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };
368
+ export { AbortControllerFactory, type AsyncSleeper, CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, type EngineCompositionDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, type EngineRuntimeRegistrationOptions, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, type RunTestSuiteArgs, StaticCostCatalog, type TestSuiteCaseOutcome, TestSuiteOrchestrator, type TestSuiteOrchestratorEngine, TestSuiteRunIdFactory, type TestSuiteRunResult, type TriggerRuntimeDiagnosticsProvider, UnavailableBinaryStorage, type WebhookTriggerMatcherProvider, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };
292
369
  //# sourceMappingURL=index.d.cts.map
@@ -1,6 +1,6 @@
1
- import { Ma as ENGINE_EXECUTION_LIMITS_DEFAULTS, Na as EngineExecutionLimitsPolicy, Pa as EngineExecutionLimitsPolicyConfig, Yt as PersistedTokenId, a as RunTerminalPersistenceCoordinator, ba as TypeToken, c as EngineExecutionLimitsPolicyFactory, ha as DependencyContainer, i as WorkflowPolicyErrorServices, n as InMemoryLiveWorkflowRepository, o as WorkflowStoragePolicyEvaluator, r as EngineWorkflowRunnerService, s as RunPolicySnapshotFactory, sn as WorkflowDefinition, t as RunIntentService, u as Engine } from "../RunIntentService-BqhmdoA1.js";
2
- import { Gt as DefaultExecutionContextFactory, Jt as CredentialResolverFactory, Kt as DefaultAsyncSleeper, Rt as NodeInstanceFactory, Ut as InProcessRetryRunner, Wt as CatalogBackedCostTrackingTelemetryFactory, Xt as EngineCompositionDeps, Zt as EngineFactory, a as ConfigDrivenOffloadPolicy, c as RunSummaryMapper, d as InMemoryBinaryStorage, f as DefaultExecutionBinaryService, i as InlineDrivingScheduler, l as InMemoryWorkflowExecutionRepository, n as HintOnlyOffloadPolicy, o as StaticCostCatalog, p as UnavailableBinaryStorage, qt as AsyncSleeper, r as DefaultDrivingScheduler, s as WorkflowRepositoryWebhookTriggerMatcher, t as LocalOnlyScheduler, u as InMemoryRunDataFactory, zt as NodeExecutor } from "../index-CVs9rVhl.js";
3
- import { n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-BP6tsaNP.js";
1
+ import { Aa as TypeToken, Ha as ENGINE_EXECUTION_LIMITS_DEFAULTS, Ta as DependencyContainer, Ua as EngineExecutionLimitsPolicy, Wa as EngineExecutionLimitsPolicyConfig, a as RunPolicySnapshotFactory, c as RunTerminalPersistenceCoordinator, dn as WorkflowDefinition, l as WorkflowStoragePolicyEvaluator, n as InMemoryLiveWorkflowRepository, o as EngineExecutionLimitsPolicyFactory, r as EngineWorkflowRunnerService, ro as PersistedTokenId, s as WorkflowPolicyErrorServices, t as RunIntentService, u as Engine } from "../RunIntentService-BE9CAkbf.js";
2
+ import { A as CatalogBackedCostTrackingTelemetryFactory, C as StaticCostCatalog, Dn as AbortControllerFactory, En as CredentialResolverFactory, F as DefaultExecutionBinaryService, I as UnavailableBinaryStorage, M as DefaultAsyncSleeper, N as AsyncSleeper, S as ConfigDrivenOffloadPolicy, T as NodeExecutor, _ as InMemoryBinaryStorage, a as TestSuiteRunResult, b as DefaultDrivingScheduler, d as WorkflowRepositoryWebhookTriggerMatcher, f as EngineCompositionDeps, g as InMemoryRunDataFactory, h as InMemoryWorkflowExecutionRepository, i as TestSuiteOrchestratorEngine, j as DefaultExecutionContextFactory, k as InProcessRetryRunner, m as RunSummaryMapper, n as TestSuiteCaseOutcome, o as TestSuiteRunIdFactory, p as EngineFactory, r as TestSuiteOrchestrator, t as RunTestSuiteArgs, v as LocalOnlyScheduler, w as NodeInstanceFactory, x as InlineDrivingScheduler, y as HintOnlyOffloadPolicy } from "../index-DeLl1Tne.js";
3
+ import { n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-D1fyApMI.js";
4
4
 
5
5
  //#region src/bootstrap/runtime/EngineRuntimeRegistrar.d.ts
6
6
 
@@ -44,5 +44,5 @@ declare class PersistedWorkflowTokenRegistry {
44
44
  resolve(tokenId: PersistedTokenId): TypeToken<unknown> | undefined;
45
45
  }
46
46
  //#endregion
47
- export { type AsyncSleeper, CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, type EngineCompositionDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, type EngineRuntimeRegistrationOptions, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, StaticCostCatalog, type TriggerRuntimeDiagnosticsProvider, UnavailableBinaryStorage, type WebhookTriggerMatcherProvider, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };
47
+ export { AbortControllerFactory, type AsyncSleeper, CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, type EngineCompositionDeps, EngineExecutionLimitsPolicy, type EngineExecutionLimitsPolicyConfig, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, type EngineRuntimeRegistrationOptions, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, type RunTestSuiteArgs, StaticCostCatalog, type TestSuiteCaseOutcome, TestSuiteOrchestrator, type TestSuiteOrchestratorEngine, TestSuiteRunIdFactory, type TestSuiteRunResult, type TriggerRuntimeDiagnosticsProvider, UnavailableBinaryStorage, type WebhookTriggerMatcherProvider, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };
48
48
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { A as NodeExecutor, C as StaticCostCatalog, D as PersistedWorkflowTokenRegistry, F as InProcessRetryRunner, I as CatalogBackedCostTrackingTelemetryFactory, L as DefaultExecutionContextFactory, O as MissingRuntimeTriggerToken, S as RunPolicySnapshotFactory, T as NodeInstanceFactory, _ as LocalOnlyScheduler, a as InMemoryLiveWorkflowRepository, b as DefaultDrivingScheduler, c as EngineFactory, ct as CredentialResolverFactory, d as InMemoryBinaryStorage, dt as UnavailableBinaryStorage, f as WorkflowStoragePolicyEvaluator, g as EngineExecutionLimitsPolicy, h as ENGINE_EXECUTION_LIMITS_DEFAULTS, i as RunIntentService, l as Engine, m as RunTerminalPersistenceCoordinator, n as WorkflowRepositoryWebhookTriggerMatcher, p as WorkflowPolicyErrorServices, s as EngineWorkflowRunnerService, st as DefaultAsyncSleeper, u as InMemoryRunDataFactory, ut as DefaultExecutionBinaryService, v as InlineDrivingScheduler, x as ConfigDrivenOffloadPolicy, y as HintOnlyOffloadPolicy } from "../runtime-DUW6tIJ1.js";
2
- import { i as EngineExecutionLimitsPolicyFactory, n as InMemoryWorkflowExecutionRepository, r as RunSummaryMapper, t as EngineRuntimeRegistrar } from "../bootstrap-BoknFKnw.js";
1
+ import { A as PersistedWorkflowTokenRegistry, B as DefaultExecutionContextFactory, C as DefaultDrivingScheduler, E as StaticCostCatalog, N as NodeExecutor, O as NodeInstanceFactory, R as InProcessRetryRunner, S as HintOnlyOffloadPolicy, T as RunPolicySnapshotFactory, _ as RunTerminalPersistenceCoordinator, a as InMemoryLiveWorkflowRepository, b as LocalOnlyScheduler, c as EngineFactory, dt as CredentialResolverFactory, g as WorkflowPolicyErrorServices, h as WorkflowStoragePolicyEvaluator, ht as UnavailableBinaryStorage, i as RunIntentService, j as MissingRuntimeTriggerToken, l as Engine, m as InMemoryBinaryStorage, mt as DefaultExecutionBinaryService, n as WorkflowRepositoryWebhookTriggerMatcher, p as InMemoryRunDataFactory, s as EngineWorkflowRunnerService, ut as DefaultAsyncSleeper, v as ENGINE_EXECUTION_LIMITS_DEFAULTS, w as ConfigDrivenOffloadPolicy, x as InlineDrivingScheduler, y as EngineExecutionLimitsPolicy, z as CatalogBackedCostTrackingTelemetryFactory } from "../runtime-BGNbRnqs.js";
2
+ import { a as InMemoryWorkflowExecutionRepository, i as AbortControllerFactory, n as TestSuiteRunIdFactory, o as RunSummaryMapper, r as TestSuiteOrchestrator, s as EngineExecutionLimitsPolicyFactory, t as EngineRuntimeRegistrar } from "../bootstrap-D3r505ko.js";
3
3
 
4
- export { CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, StaticCostCatalog, UnavailableBinaryStorage, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };
4
+ export { AbortControllerFactory, CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, StaticCostCatalog, TestSuiteOrchestrator, TestSuiteRunIdFactory, UnavailableBinaryStorage, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };