@codemation/core 0.14.0 → 0.15.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 (208) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/{CostCatalogContract-B9aYIqJu.d.cts → CostCatalogContract-Dwo-ZamG.d.cts} +2 -2
  3. package/dist/EngineRuntimeRegistration.types-BiNasx3G.d.cts +54 -0
  4. package/dist/EngineRuntimeRegistration.types-Dq4ucrdo.d.ts +21 -0
  5. package/dist/{InMemoryRunDataFactory-C3rIszrW.d.cts → InMemoryRunDataFactory-D2U9azmZ.d.cts} +2 -20
  6. package/dist/{InMemoryRunEventBusRegistry-Sa86VxuV.cjs → InMemoryRunEventBusRegistry-DO0WM9Lw.cjs} +1 -1
  7. package/dist/{InMemoryRunEventBusRegistry-Sa86VxuV.cjs.map → InMemoryRunEventBusRegistry-DO0WM9Lw.cjs.map} +1 -1
  8. package/dist/{InMemoryRunEventBusRegistry-Bwunvt1T.js → InMemoryRunEventBusRegistry-Layt2xgm.js} +1 -1
  9. package/dist/{InMemoryRunEventBusRegistry-Bwunvt1T.js.map → InMemoryRunEventBusRegistry-Layt2xgm.js.map} +1 -1
  10. package/dist/{ItemsInputNormalizer-UCpn7luX.d.cts → ItemsInputNormalizer-A5txcOWX.d.cts} +3 -98
  11. package/dist/{ItemsInputNormalizer-B9SdLG24.cjs → ItemsInputNormalizer-C1fv3sMW.cjs} +2 -2
  12. package/dist/ItemsInputNormalizer-C1fv3sMW.cjs.map +1 -0
  13. package/dist/{ItemsInputNormalizer-DoOawd9R.d.ts → ItemsInputNormalizer-D2vrMrX1.d.ts} +2 -62
  14. package/dist/{ItemsInputNormalizer-CZEODg94.js → ItemsInputNormalizer-fUYo4GLV.js} +2 -2
  15. package/dist/ItemsInputNormalizer-fUYo4GLV.js.map +1 -0
  16. package/dist/{RunIntentService-0f3ICjAz.d.cts → RunIntentService-DKxuHTUz.d.cts} +2 -15
  17. package/dist/{RunIntentService-Dx_HHxDX.d.ts → RunIntentService-DrpKli2k.d.ts} +2 -22
  18. package/dist/{agentMcpTypes-B11B3Hd-.d.cts → agentMcpTypes-BHX4RQCC.d.cts} +24 -524
  19. package/dist/bootstrap/index.cjs +9 -5
  20. package/dist/bootstrap/index.d.cts +32 -106
  21. package/dist/bootstrap/index.d.ts +18 -17
  22. package/dist/bootstrap/index.js +6 -5
  23. package/dist/{bootstrap-Be0LB0nh.cjs → bootstrap-CTB53rEF.cjs} +9 -60
  24. package/dist/bootstrap-CTB53rEF.cjs.map +1 -0
  25. package/dist/{bootstrap-pSQdsMfa.js → bootstrap-DmqKheCI.js} +6 -57
  26. package/dist/bootstrap-DmqKheCI.js.map +1 -0
  27. package/dist/browser.cjs +12 -11
  28. package/dist/browser.d.cts +4 -4
  29. package/dist/browser.d.ts +3 -3
  30. package/dist/browser.js +3 -2
  31. package/dist/contracts-7L1wJHdk.cjs +569 -0
  32. package/dist/contracts-7L1wJHdk.cjs.map +1 -0
  33. package/dist/contracts-CjJ5CZ7N.js +447 -0
  34. package/dist/contracts-CjJ5CZ7N.js.map +1 -0
  35. package/dist/contracts.cjs +9 -2
  36. package/dist/contracts.d.cts +5 -5
  37. package/dist/contracts.d.ts +2 -2
  38. package/dist/contracts.js +3 -2
  39. package/dist/{executionPersistenceContracts-CX9Ql8N1.d.cts → deploymentManifestTypes-B8CDmZZK.d.cts} +65 -81
  40. package/dist/di-C6Ubf9o5.cjs +179 -0
  41. package/dist/di-C6Ubf9o5.cjs.map +1 -0
  42. package/dist/di-Cjiil7U-.js +114 -0
  43. package/dist/di-Cjiil7U-.js.map +1 -0
  44. package/dist/{index-CbJdbIHe.d.ts → index-CRv3_pY3.d.ts} +87 -870
  45. package/dist/{index-uPnD9EE6.d.ts → index-mnLS0iQl.d.ts} +27 -400
  46. package/dist/index.cjs +44 -115
  47. package/dist/index.cjs.map +1 -1
  48. package/dist/index.d.cts +17 -524
  49. package/dist/index.d.ts +5 -5
  50. package/dist/index.js +21 -98
  51. package/dist/index.js.map +1 -1
  52. package/dist/{params-Dwl10Ws9.d.cts → params-CrK4iuG1.d.cts} +2 -11
  53. package/dist/{runtime-CSunvf7A.js → runtime-CBFDpmiz.js} +46 -679
  54. package/dist/runtime-CBFDpmiz.js.map +1 -0
  55. package/dist/{runtime-n2tqRwaf.cjs → runtime-Due-FOZ2.cjs} +69 -752
  56. package/dist/runtime-Due-FOZ2.cjs.map +1 -0
  57. package/dist/testing.cjs +8 -40
  58. package/dist/testing.cjs.map +1 -1
  59. package/dist/testing.d.cts +3 -32
  60. package/dist/testing.d.ts +3 -32
  61. package/dist/testing.js +6 -38
  62. package/dist/testing.js.map +1 -1
  63. package/dist/{di-DhwtDRgs.cjs → workflowTypes-BW6Hhee7.cjs} +4 -229
  64. package/dist/workflowTypes-BW6Hhee7.cjs.map +1 -0
  65. package/dist/{di-CEV6wTc4.js → workflowTypes-DZtBTmKf.js} +3 -162
  66. package/dist/workflowTypes-DZtBTmKf.js.map +1 -0
  67. package/package.json +1 -1
  68. package/src/ai/AgentConnectionNodeCollector.ts +0 -4
  69. package/src/ai/AgentMessageConfigNormalizerFactory.ts +0 -4
  70. package/src/ai/AiHost.ts +0 -38
  71. package/src/ai/CallableToolConfig.ts +0 -9
  72. package/src/ai/CallableToolKindToken.ts +0 -4
  73. package/src/authoring/callableTool.types.ts +0 -3
  74. package/src/authoring/defineCollection.types.ts +0 -11
  75. package/src/authoring/defineHumanApprovalNode.types.ts +0 -116
  76. package/src/authoring/defineNode.types.ts +0 -25
  77. package/src/authoring/definePollingTrigger.types.ts +18 -152
  78. package/src/authoring/definePollingTriggerInternals.ts +0 -4
  79. package/src/authoring/nodeBaseOptions.types.ts +0 -14
  80. package/src/binaries/boundedReadBinary.types.ts +0 -16
  81. package/src/bootstrap/index.ts +8 -2
  82. package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +0 -5
  83. package/src/bootstrap/runtime/EngineRuntimeRegistration.types.ts +0 -23
  84. package/src/browser.ts +0 -3
  85. package/src/contracts/AgentBindError.ts +0 -5
  86. package/src/contracts/Clock.ts +0 -1
  87. package/src/contracts/CodemationTelemetryAttributeNames.ts +0 -10
  88. package/src/contracts/NoOpAgentMcpIntegration.ts +0 -6
  89. package/src/contracts/NoOpTelemetrySpanScope.ts +0 -7
  90. package/src/contracts/RetryPolicy.ts +0 -2
  91. package/src/contracts/agentMcpTypes.ts +0 -34
  92. package/src/contracts/assertionTypes.ts +0 -33
  93. package/src/contracts/baseTypes.ts +0 -6
  94. package/src/contracts/collectionTypes.ts +0 -25
  95. package/src/contracts/credentialTypes.ts +13 -60
  96. package/src/contracts/deploymentManifestTypes.ts +158 -0
  97. package/src/contracts/dispatchTypes.ts +29 -0
  98. package/src/contracts/executionPersistenceContracts.ts +0 -33
  99. package/src/contracts/hitlSeamTypes.ts +0 -14
  100. package/src/contracts/humanTaskStoreTypes.ts +0 -2
  101. package/src/contracts/inboxChannelTypes.ts +0 -9
  102. package/src/contracts/index.ts +3 -0
  103. package/src/contracts/itemExpr.ts +0 -18
  104. package/src/contracts/itemMeta.ts +0 -3
  105. package/src/contracts/mcpTypes.ts +0 -16
  106. package/src/contracts/retryPolicySpec.types.ts +0 -10
  107. package/src/contracts/runFinishedAtFactory.ts +0 -1
  108. package/src/contracts/runTypes.ts +0 -74
  109. package/src/contracts/runtimeTypes.ts +4 -131
  110. package/src/contracts/telemetryTypes.ts +0 -7
  111. package/src/contracts/testTriggerTypes.ts +0 -43
  112. package/src/contracts/triggerInvokerTypes.ts +6 -0
  113. package/src/contracts/webhookTypes.ts +0 -8
  114. package/src/contracts/workflowActivationPolicy.ts +0 -5
  115. package/src/contracts/workflowTypes.ts +4 -86
  116. package/src/contracts/workspaceFileTypes.ts +0 -72
  117. package/src/contracts.ts +18 -10
  118. package/src/credentials/CredentialMaterialProvider.types.ts +0 -28
  119. package/src/credentials/ManagedCredentialMaterialWriteError.ts +0 -6
  120. package/src/credentials/ManagedMaterialFetchError.ts +0 -6
  121. package/src/credentials/OAuthFlowExecutor.types.ts +0 -15
  122. package/src/di/CoreTokens.ts +2 -6
  123. package/src/events/ConnectionInvocationEventPublisher.ts +0 -7
  124. package/src/events/NodeEventPublisher.ts +0 -1
  125. package/src/events/runEvents.ts +0 -8
  126. package/src/execution/ActivationEnqueueService.ts +0 -10
  127. package/src/execution/ChildExecutionScopeFactory.ts +0 -13
  128. package/src/execution/FanInMergeByOriginMerger.ts +0 -11
  129. package/src/execution/InProcessRetryRunner.ts +0 -1
  130. package/src/execution/ItemExprResolver.ts +0 -3
  131. package/src/execution/NodeActivationRequestComposer.ts +0 -3
  132. package/src/execution/NodeActivationRequestInputPreparer.ts +0 -5
  133. package/src/execution/NodeExecutionSnapshotFactory.ts +0 -1
  134. package/src/execution/NodeExecutor.ts +1 -17
  135. package/src/execution/NodeSuspensionHandler.ts +1 -39
  136. package/src/execution/PersistedRunStateTerminalBuilder.ts +0 -5
  137. package/src/execution/RunSuspendedError.ts +0 -10
  138. package/src/execution/WorkflowRunExecutionContextFactory.ts +0 -3
  139. package/src/orchestration/AbortControllerFactory.ts +0 -4
  140. package/src/orchestration/Engine.ts +0 -9
  141. package/src/orchestration/NodeExecutionRequestHandlerService.ts +3 -4
  142. package/src/orchestration/RunContinuationService.ts +7 -39
  143. package/src/orchestration/RunStartService.ts +0 -7
  144. package/src/orchestration/TestSuiteOrchestrator.ts +0 -18
  145. package/src/orchestration/TestSuiteRunIdFactory.ts +0 -4
  146. package/src/orchestration/TriggerRuntimeService.ts +3 -2
  147. package/src/planning/CurrentStateFrontierPlanner.ts +0 -1
  148. package/src/planning/RunQueuePlanner.ts +0 -6
  149. package/src/policies/executionLimits/EngineExecutionLimitsPolicy.ts +0 -8
  150. package/src/policies/executionLimits/EngineExecutionLimitsPolicyFactory.ts +0 -3
  151. package/src/runStorage/RunSummaryMapper.ts +0 -1
  152. package/src/runtime/EngineFactory.ts +6 -11
  153. package/src/runtime/RunIntentService.ts +0 -4
  154. package/src/runtime/WorkflowRepositoryWebhookTriggerMatcher.ts +0 -4
  155. package/src/runtime-types/InjectableRuntimeDecoratorComposerRegistry.ts +0 -4
  156. package/src/runtime-types/PersistedRuntimeTypeMetadataStoreRegistry.ts +0 -4
  157. package/src/runtime-types/PersistedRuntimeTypeNameResolver.ts +0 -1
  158. package/src/runtime-types/persistedRuntimeTypeModelRegistry.ts +0 -4
  159. package/src/runtime-types/runtimeTypeDecorators.types.ts +0 -12
  160. package/src/scheduler/ConfigDrivenOffloadPolicy.ts +0 -1
  161. package/src/scheduler/DefaultDrivingScheduler.ts +0 -6
  162. package/src/scheduler/InlineDrivingScheduler.ts +0 -13
  163. package/src/serialization/ItemsInputNormalizer.ts +0 -5
  164. package/src/testing/CapturingScheduler.ts +0 -3
  165. package/src/testing/EngineTestKitRunIdFactory.ts +0 -3
  166. package/src/testing/ItemHarnessNode.ts +0 -3
  167. package/src/testing/ItemHarnessNodeConfig.ts +0 -4
  168. package/src/testing/PrefixedSequentialIdGenerator.ts +0 -3
  169. package/src/testing/RegistrarEngineTestKit.types.ts +0 -2
  170. package/src/testing/RejectingCredentialSessionService.ts +0 -4
  171. package/src/testing/SubWorkflowRunnerTestNode.ts +0 -3
  172. package/src/testing/WorkflowTestHarnessManualTrigger.ts +0 -3
  173. package/src/testing/WorkflowTestKitBuilder.ts +0 -4
  174. package/src/testing/WorkflowTestKitRunNodeWorkflowFactory.ts +0 -3
  175. package/src/testing.ts +0 -3
  176. package/src/triggers/polling/PollingTriggerDedupWindow.ts +0 -4
  177. package/src/triggers/polling/PollingTriggerLogger.ts +0 -5
  178. package/src/triggers/polling/PollingTriggerRuntime.ts +0 -5
  179. package/src/types/index.ts +0 -6
  180. package/src/validation/WorkflowEdgePortValidator.ts +0 -5
  181. package/src/workflow/definition/ConnectionInvocationIdFactory.ts +0 -7
  182. package/src/workflow/definition/ConnectionNodeIdFactory.ts +0 -6
  183. package/src/workflow/definition/NodeIterationIdFactory.ts +0 -13
  184. package/src/workflow/definition/WorkflowExecutableNodeClassifier.ts +0 -6
  185. package/src/workflow/dsl/ChainCursorResolver.ts +0 -20
  186. package/src/workflow/dsl/NodeIdSlugifier.ts +0 -9
  187. package/src/workflow/dsl/WhenBuilder.ts +0 -17
  188. package/src/workflow/dsl/WorkflowDefinitionError.ts +0 -9
  189. package/src/workflow/dsl/workflowBuilderTypes.ts +0 -24
  190. package/src/workflowSnapshots/MissingRuntimeParityGuard.ts +24 -0
  191. package/src/workflowSnapshots/PersistedWorkflowTokenRegistry.ts +0 -6
  192. package/src/workflowSnapshots/WorkflowParityMismatchError.ts +18 -0
  193. package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +0 -5
  194. package/src/workflowSnapshots/index.ts +3 -0
  195. package/dist/EngineRuntimeRegistration.types-BYAmGMdS.d.cts +0 -81
  196. package/dist/EngineRuntimeRegistration.types-CVLI8DsJ.d.ts +0 -44
  197. package/dist/ItemsInputNormalizer-B9SdLG24.cjs.map +0 -1
  198. package/dist/ItemsInputNormalizer-CZEODg94.js.map +0 -1
  199. package/dist/bootstrap-Be0LB0nh.cjs.map +0 -1
  200. package/dist/bootstrap-pSQdsMfa.js.map +0 -1
  201. package/dist/contracts-CK0x6w_G.cjs +0 -74
  202. package/dist/contracts-CK0x6w_G.cjs.map +0 -1
  203. package/dist/contracts-DXdfTdpW.js +0 -50
  204. package/dist/contracts-DXdfTdpW.js.map +0 -1
  205. package/dist/di-CEV6wTc4.js.map +0 -1
  206. package/dist/di-DhwtDRgs.cjs.map +0 -1
  207. package/dist/runtime-CSunvf7A.js.map +0 -1
  208. package/dist/runtime-n2tqRwaf.cjs.map +0 -1
@@ -1,13 +1,9 @@
1
- import { $n as ActivationIdFactory, Aa as TelemetryScope, An as TypeToken, Ar as RunDataFactory, Bt as ConnectionInvocationId, Ci as ExecutionContext, Cn as WorkflowExecutionRepository, Cr as NodeOffloadPolicy, Ei as HumanTaskHandle, Er as NodeSchedulerDecision, Gn as RunEvent, Hi as NodeExecutionStatePublisher, Ii as NodeActivationScheduler, Ja as CostTrackingUsageRecord, Jn as TestCaseRunStatus, Ka as CostTrackingTelemetryFactory, Kn as RunEventBus, Kt as NodeExecutionSnapshot, L as NodeBaseOptions, Li as NodeBinaryAttachmentService, Lr as TriggerNodeConfig, Mi as NodeActivationContinuation, Mr as RunId, N as DefinedNodeCredentialBindings, Na as TelemetrySpanScope, Oi as HumanTaskSubject, Oo as NodeId, Or as ParentExecutionRef, Pi as NodeActivationRequest, Pr as RunnableNodeConfig, Ri as NodeExecutionContext, Sa as ExecutionTelemetryFactory, Si as ExecutionBinaryService, Sn as WorkflowExecutionPruneRepository, Ti as HumanTaskActor, Un as EngineExecutionLimitsPolicy, Ut as EngineRunCounters, Vi as NodeExecutionScheduler, Vr as WorkflowDefinition, Vt as ConnectionInvocationRecord, Wa as CostTrackingTelemetry, Wi as NodeResolver, Xa as CollectionsContext, Xn as TestSuiteRunId, Yn as TestSuiteRunStatus, Zi as SuspensionRequest, _i as BinaryStorageWriteResult, _o as CredentialType, _t as CostCatalogEntry, aa as TriggerTestItemsContext, ba as WorkflowActivationPolicy, br as NodeInspectorSummaryRow, co as CredentialJsonRecord, dr as JsonValue, en as PersistedRunSchedulingState, er as BinaryAttachment, fa as HttpMethod, fi as BinaryBody, fn as RunPruneCandidate, fo as CredentialRequirement, fr as MutableRunData, ga as WebhookTriggerMatcher, gt as CostCatalog, ha as WebhookInvocationMatch, hi as BinaryStorageStatResult, ho as CredentialSessionService, hr as NodeDefinition, ia as TriggerSetupStateRepository, in as PersistedWorkflowSnapshotNode, ir as Item, j as DefinedNodeCredentialAccessors, jo as WorkflowId, jr as RunDataSnapshot, k as DefinedNode, ko as OutputPortKey, kr as PersistedRunPolicySnapshot, li as RetryPolicySpec, mi as BinaryStorageReadResult, mn as RunResult, mo as CredentialSessionFactoryArgs, mr as NodeConfigBase, no as CredentialFieldSchema, nr as Edge, oa as WorkflowNodeInstanceFactory, or as Items, pa as TriggerInstanceId, pi as BinaryStorage, pr as NodeActivationId, qi as PreparedNodeActivationDispatch, qn as RunEventSubscription, ro as CredentialHealth, rr as ExecutionMode, sa as WorkflowRepository, tn as PersistedRunState, un as RunExecutionOptions, va as WebhookTriggerRoutingDiagnostics, vn as RunSummary, vo as CredentialTypeDefinition, wi as ExecutionContextFactory, wo as PollingTriggerLogger, wr as NodeOutputs, xa as ExecutionTelemetry, xn as WorkflowExecutionListingRepository, yi as EngineDeps, yn as RunTestContext, zi as NodeExecutionRequest } from "./index-CbJdbIHe.js";
2
- import { i as WorkflowSnapshotCodec, u as Engine } from "./RunIntentService-Dx_HHxDX.js";
3
- import { B as ZodSchemaAny, K as CallableToolConfig, q as CallableToolConfigOptions } from "./ItemsInputNormalizer-DoOawd9R.js";
1
+ import { $i as NodeExecutionContext, $t as ConnectionInvocationId, Ai as BinaryStorageStatResult, Ao as CredentialRequirement, Bi as HumanTaskActor, Br as NodeSchedulerDecision, Ca as WorkflowRepository, Cn as RunExecutionOptions, Cr as JsonObject, Di as BinaryBody, Dn as RunResult, Dr as NodeActivationId, Eo as CredentialJsonRecord, Er as MutableRunData, Fn as WorkflowExecutionPruneRepository, Fo as CredentialType, Gr as RunDataFactory, Ho as PollingTriggerLogger, Hr as ParentExecutionRef, Ia as WorkflowActivationPolicy, In as WorkflowExecutionRepository, Io as CredentialTypeDefinition, Ka as TelemetryScope, Ko as NodeId, Kr as RunDataSnapshot, L as NodeBaseOptions, La as ExecutionTelemetry, Li as ExecutionBinaryService, Lr as NodeOffloadPolicy, Ma as WebhookTriggerMatcher, Mi as BinaryStorageWriteResult, Mn as RunTestContext, Mo as CredentialSessionFactoryArgs, N as DefinedNodeCredentialBindings, No as CredentialSessionService, Oa as HttpMethod, Oi as BinaryStorage, Or as NodeConfigBase, Pa as WebhookTriggerRoutingDiagnostics, Pi as EngineDeps, Pn as WorkflowExecutionListingRepository, Pr as NodeInspectorSummaryRow, Qi as NodeBinaryAttachmentService, Qr as TriggerNodeConfig, Ra as ExecutionTelemetryFactory, Ri as ExecutionContext, Rr as NodeOutputs, Sa as WorkflowNodeInstanceFactory, Tn as RunPruneCandidate, Tr as JsonValue, Tt as CostCatalogEntry, Ui as HumanTaskSubject, Un as TypeToken, Ur as PersistedRunPolicySnapshot, Vi as HumanTaskHandle, Wr as PollingTriggerConfig, Ya as TelemetrySpanScope, Yi as NodeActivationRequest, Yo as WorkflowId, Yr as RunnableNodeConfig, Zi as NodeActivationScheduler, _n as PersistedWorkflowSnapshotNode, _r as ExecutionMode, aa as NodeResolver, an as NodeExecutionSnapshot, ar as RunEvent, ba as TriggerSetupStateRepository, bo as CredentialFieldSchema, br as Items, ca as PreparedNodeActivationDispatch, co as CostTrackingTelemetryFactory, cr as TestCaseRunStatus, ea as NodeExecutionRequest, en as ConnectionInvocationRecord, fa as SuspensionRequest, fo as CollectionsContext, gr as Edge, j as DefinedNodeCredentialAccessors, ja as WebhookInvocationMatch, jn as RunSummary, k as DefinedNode, ka as TriggerInstanceId, ki as BinaryStorageReadResult, kr as NodeDefinition, lr as TestSuiteRunStatus, mn as PersistedRunState, mr as BinaryAttachment, na as NodeExecutionScheduler, ni as WorkflowDefinition, nn as EngineRunCounters, oo as CostTrackingTelemetry, or as RunEventBus, pn as PersistedRunSchedulingState, pr as ActivationIdFactory, qi as NodeActivationContinuation, qo as OutputPortKey, qr as RunId, ra as NodeExecutionStatePublisher, rr as EngineExecutionLimitsPolicy, sr as RunEventSubscription, uo as CostTrackingUsageRecord, ur as TestSuiteRunId, vr as Item, wi as RetryPolicySpec, wt as CostCatalog, xa as TriggerTestItemsContext, xo as CredentialHealth, zi as ExecutionContextFactory } from "./index-CRv3_pY3.js";
2
+ import { i as WorkflowSnapshotCodec, u as Engine } from "./RunIntentService-DrpKli2k.js";
3
+ import { B as ZodSchemaAny, K as CallableToolConfig, q as CallableToolConfigOptions } from "./ItemsInputNormalizer-D2vrMrX1.js";
4
4
  import { ZodType, z } from "zod";
5
5
 
6
6
  //#region src/orchestration/AbortControllerFactory.d.ts
7
- /**
8
- * Mints fresh {@link AbortController}s. Injected (rather than direct `new`) to honor the
9
- * codebase's no-direct-construction rule and to give tests a seam for substituting a fake.
10
- */
11
7
  declare class AbortControllerFactory {
12
8
  create(): AbortController;
13
9
  }
@@ -20,15 +16,18 @@ declare class CredentialResolverFactory {
20
16
  }
21
17
  //#endregion
22
18
  //#region src/events/NodeEventPublisher.d.ts
23
- /** Publishes node lifecycle snapshots onto the run {@link RunEventBus}. */
24
19
  declare class NodeEventPublisher {
25
20
  private readonly eventBus;
26
21
  constructor(eventBus: RunEventBus | undefined);
27
22
  publish(kind: "nodeQueued" | "nodeStarted" | "nodeCompleted" | "nodeFailed", snapshot: NodeExecutionSnapshot): Promise<void>;
28
23
  }
29
24
  //#endregion
25
+ //#region src/workflowSnapshots/MissingRuntimeExecutionMarker.d.ts
26
+ declare class MissingRuntimeExecutionMarker {
27
+ isMarked(config: unknown): boolean;
28
+ }
29
+ //#endregion
30
30
  //#region src/contracts/Clock.d.ts
31
- /** Port for time; inject `SystemClock` in production and a fake/test clock in tests. */
32
31
  interface Clock {
33
32
  now(): Date;
34
33
  }
@@ -38,7 +37,6 @@ declare class SystemClock implements Clock {
38
37
  //#endregion
39
38
  //#region src/contracts/humanTaskStoreTypes.d.ts
40
39
  type HumanTaskStatus = "pending" | "decided" | "timed_out" | "auto_accepted" | "cancelled";
41
- /** Persisted record for a single HITL task instance. */
42
40
  interface HumanTaskRecord {
43
41
  readonly id: string;
44
42
  readonly runId: string;
@@ -67,7 +65,6 @@ interface HumanTaskStore {
67
65
  findById(taskId: string): Promise<HumanTaskRecord | undefined>;
68
66
  findByResumeTokenHash(tokenHash: string): Promise<HumanTaskRecord | undefined>;
69
67
  findPendingForWorkspace(workspaceId: string): Promise<ReadonlyArray<HumanTaskRecord>>;
70
- /** Returns all pending tasks regardless of workspace. Used by the local dev inbox (non-managed mode). */
71
68
  findAllPending(): Promise<ReadonlyArray<HumanTaskRecord>>;
72
69
  markDecided(args: {
73
70
  taskId: string;
@@ -83,12 +80,6 @@ interface HumanTaskStore {
83
80
  declare const HumanTaskStoreToken: TypeToken<HumanTaskStore | undefined>;
84
81
  //#endregion
85
82
  //#region src/contracts/hitlSeamTypes.d.ts
86
- /**
87
- * Seam interfaces for HITL collaborators that are implemented in `@codemation/host`
88
- * and injected into `NodeSuspensionHandler` at runtime. Core defines the interface only —
89
- * no HTTP, vendor SDK, or Prisma dependencies here.
90
- */
91
- /** Signs and hashes a HITL resume token. Core only needs the sign and hash operations. */
92
83
  interface HitlResumeTokenSignerSeam {
93
84
  sign(args: {
94
85
  taskId: string;
@@ -97,7 +88,6 @@ interface HitlResumeTokenSignerSeam {
97
88
  }): string;
98
89
  hashToken(token: string): string;
99
90
  }
100
- /** Schedules a delayed BullMQ job that drives the timeout path. */
101
91
  interface HitlTimeoutJobSchedulerSeam {
102
92
  enqueueTimeoutJob(args: {
103
93
  taskId: string;
@@ -106,19 +96,9 @@ interface HitlTimeoutJobSchedulerSeam {
106
96
  }
107
97
  declare const HitlResumeTokenSignerToken: TypeToken<HitlResumeTokenSignerSeam | undefined>;
108
98
  declare const HitlTimeoutJobSchedulerToken: TypeToken<HitlTimeoutJobSchedulerSeam | undefined>;
109
- /**
110
- * Optional workspace ID injected into NodeSuspensionHandler in managed mode (T7 security fix).
111
- * Allows the handler to stamp the workspaceId on each HumanTaskRecord so HitlCallbackHandler
112
- * can assert workspace identity independently of the HMAC middleware.
113
- * Not registered in non-managed mode; NodeSuspensionHandler defaults to null.
114
- */
115
99
  declare const HitlWorkspaceIdToken: TypeToken<string | undefined>;
116
100
  //#endregion
117
101
  //#region src/contracts/inboxChannelTypes.d.ts
118
- /**
119
- * A single inbox delivery channel.
120
- * Implementations: `LocalInboxChannel`, `ControlPlaneInboxChannel`.
121
- */
122
102
  interface InboxChannel {
123
103
  readonly kind: "local" | "control-plane-inbox";
124
104
  deliver(args: InboxDeliverArgs): Promise<InboxDelivery>;
@@ -130,7 +110,6 @@ type InboxDeliverArgs = Readonly<{
130
110
  subject: HumanTaskSubject;
131
111
  priority: "low" | "normal" | "high";
132
112
  item: Item;
133
- /** Present in managed mode (from `PairingConfig.workspaceId`). */
134
113
  workspaceId?: string;
135
114
  }>;
136
115
  type InboxDelivery = {
@@ -153,10 +132,6 @@ type InboxOnTimeoutArgs = Readonly<{
153
132
  delivery: InboxDelivery;
154
133
  policy: "halt" | "auto-accept";
155
134
  }>;
156
- /**
157
- * Resolves the correct `InboxChannel` for the current deployment mode
158
- * (local dev vs. managed/CP). Implemented in `@codemation/host`.
159
- */
160
135
  interface InboxChannelResolverSeam {
161
136
  resolve(): {
162
137
  channel: InboxChannel;
@@ -196,9 +171,6 @@ declare function defineCredential<TPublicSource extends CredentialFieldMap<any>
196
171
  };
197
172
  //#endregion
198
173
  //#region src/authoring/callableTool.types.d.ts
199
- /**
200
- * Workflow-facing helper for inline Zod-typed agent tools (same as {@link CallableToolFactory.callableTool}).
201
- */
202
174
  declare function callableTool<TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(options: CallableToolConfigOptions<TInputSchema, TOutputSchema>): CallableToolConfig<TInputSchema, TOutputSchema>;
203
175
  //#endregion
204
176
  //#region src/authoring/defineCollection.types.d.ts
@@ -262,138 +234,56 @@ declare class DefinedCollectionRegistry {
262
234
  //#endregion
263
235
  //#region src/authoring/definePollingTrigger.types.d.ts
264
236
  type MaybePromise<TValue> = TValue | Promise<TValue>;
265
- /**
266
- * Context passed into the `poll` callback on each tick.
267
- */
268
237
  interface DefinePollingTriggerPollContext<TConfig$1 extends CredentialJsonRecord, TState extends JsonValue | undefined, TBindings extends DefinedNodeCredentialBindings | undefined> {
269
238
  readonly config: TConfig$1;
270
239
  readonly state: TState;
271
240
  readonly credentials: DefinedNodeCredentialAccessors<TBindings>;
272
241
  }
273
- /**
274
- * What `poll` must return each tick.
275
- */
276
242
  interface DefinePollingTriggerPollResult<TItemJson, TState extends JsonValue | undefined> {
277
- /**
278
- * New items to emit. Each item may carry an optional `dedupKey`; duplicate keys are
279
- * filtered out against a rolling dedup window (managed internally by the runtime).
280
- * Items without a `dedupKey` are always emitted.
281
- */
282
243
  readonly items: ReadonlyArray<{
283
244
  json: TItemJson;
284
245
  dedupKey?: string;
285
246
  }>;
286
- /** Persisted as the trigger's setup state for the next tick. */
287
247
  readonly nextState: TState;
288
248
  }
289
- /**
290
- * Context passed into the `execute` callback for post-emit enrichment (e.g. fetching
291
- * attachment bytes). Mirrors `NodeExecutionContext` so plugin authors use familiar patterns.
292
- */
293
249
  type DefinePollingTriggerExecuteContext<TConfig$1 extends TriggerNodeConfig<any, any>> = NodeExecutionContext<TConfig$1>;
294
- /**
295
- * Context passed into the `testItems` callback.
296
- */
297
250
  type DefinePollingTriggerTestItemsContext<TConfig$1 extends TriggerNodeConfig<any, any>> = TriggerTestItemsContext<TConfig$1>;
298
- /**
299
- * Options accepted by `definePollingTrigger`.
300
- */
301
251
  interface DefinePollingTriggerOptions<TKey extends string, TConfig$1 extends CredentialJsonRecord, TItemJson, TState extends JsonValue | undefined, TBindings extends DefinedNodeCredentialBindings | undefined = undefined> {
302
- /**
303
- * Unique node-token-id-style key, e.g. `"msgraph-mail.on-new-mail"`.
304
- * Used as the persisted runtime type name — must be stable across deployments.
305
- */
306
252
  readonly key: TKey;
253
+ readonly packageName?: string;
307
254
  readonly title: string;
308
255
  readonly description?: string;
309
- /** Canvas icon (same contract as `NodeConfigBase.icon`). */
310
256
  readonly icon?: string;
311
- /**
312
- * Zod schema for the trigger's user-facing configuration.
313
- * When provided, the returned `create()` method is typed against the inferred config type.
314
- */
315
257
  readonly configSchema?: ZodType<TConfig$1>;
316
- /** Credential bindings keyed by slot (same format as `defineNode`). */
317
258
  readonly credentials?: TBindings;
318
- /**
319
- * Static configuration summary surfaced in the workflow inspector — see
320
- * {@link import("../contracts/workflowTypes").NodeConfigBase.inspectorSummary}.
321
- *
322
- * Receives the static config; returns 2–6 short label/value pairs (or `undefined` to skip).
323
- */
324
259
  readonly inspectorSummary?: (args: Readonly<{
325
260
  config: TConfig$1;
326
261
  }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined;
327
- /**
328
- * Called once when the trigger arms (or re-arms after a server restart) to provide the
329
- * initial value for `state` when no persisted state exists.
330
- */
331
262
  initialState?(): TState;
332
- /**
333
- * Polling interval in milliseconds. The runtime enforces a minimum of 25 ms.
334
- * @default 60_000
335
- */
336
263
  readonly pollIntervalMs?: number;
337
- /**
338
- * The per-tick poll logic. Called by the runtime each interval.
339
- * Must return new items plus the next persisted state.
340
- */
341
264
  poll(pollCtx: DefinePollingTriggerPollContext<TConfig$1, TState, TBindings>): MaybePromise<DefinePollingTriggerPollResult<TItemJson, TState>>;
342
- /**
343
- * Optional post-emit enrichment step (runs in the normal node-execute phase after the
344
- * trigger fires and the workflow run starts). Use for expensive per-item work such as
345
- * fetching attachment bytes via `ctx.binary.attach`. When omitted, the trigger passes
346
- * items through unchanged.
347
- */
348
265
  execute?(items: Items<TItemJson>, ctx: NodeExecutionContext<DefinedPollingTriggerConfig<TConfig$1, TItemJson>>): MaybePromise<NodeOutputs>;
349
- /**
350
- * Optional implementation for the workflow UI's "Test" button. Should return a small
351
- * sample of current items without consulting or mutating polling state.
352
- */
353
266
  testItems?(ctx: TriggerTestItemsContext<DefinedPollingTriggerConfig<TConfig$1, TItemJson>>): MaybePromise<Items<TItemJson>>;
354
267
  }
355
- /**
356
- * The object returned by `definePollingTrigger`. Register it via
357
- * `definePlugin({ nodes: [myTrigger] })` or call `.register(ctx)` directly.
358
- *
359
- * `poll` is also directly callable for unit-testing — no runtime needed.
360
- */
361
268
  interface DefinedPollingTrigger<TKey extends string, TConfig$1 extends CredentialJsonRecord, TItemJson, TState extends JsonValue | undefined, TBindings extends DefinedNodeCredentialBindings | undefined = undefined> {
362
269
  readonly kind: "defined-polling-trigger";
363
270
  readonly key: TKey;
364
271
  readonly title: string;
365
272
  readonly description?: string;
366
- /**
367
- * Create the trigger config for use in workflow definitions.
368
- * @param cfg - User-facing trigger configuration.
369
- * @param name - Display name (defaults to `title`).
370
- * @param idOrOptions - Optional stable node id, or `{ id?, description? }` authoring options
371
- * (a bare string id still works — back-compat).
372
- */
373
273
  create(cfg: TConfig$1, name?: string, idOrOptions?: string | NodeBaseOptions): DefinedPollingTriggerConfig<TConfig$1, TItemJson>;
374
- /**
375
- * Test seam: call `poll` directly without starting the runtime.
376
- * Returns `{ items, nextState }` just like the real runtime receives.
377
- */
378
274
  poll(pollCtx: Omit<DefinePollingTriggerPollContext<TConfig$1, TState, TBindings>, "credentials"> & {
379
275
  credentials?: DefinedNodeCredentialAccessors<TBindings>;
380
276
  }): MaybePromise<DefinePollingTriggerPollResult<TItemJson, TState>>;
381
- /** Registers the synthesised runtime class with the plugin container. */
382
277
  register(context: {
383
278
  registerNode<TValue>(token: TypeToken<TValue>, implementation?: TypeToken<TValue>): void;
384
279
  }): void;
385
280
  }
386
- /**
387
- * TriggerNodeConfig produced by `DefinedPollingTrigger.create(...)`.
388
- * Holds user configuration and credential requirements for the engine.
389
- * The setup state type is opaque `JsonValue | undefined` — the runtime
390
- * uses an internal wrapped shape that plugin authors never see.
391
- */
392
- declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord, TItemJson> implements TriggerNodeConfig<TItemJson, JsonValue | undefined> {
281
+ declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord, TItemJson> implements TriggerNodeConfig<TItemJson, JsonValue | undefined>, PollingTriggerConfig {
393
282
  readonly name: string;
394
283
  readonly cfg: TConfig$1;
395
284
  private readonly credentialRequirements;
396
285
  private readonly inspectorSummaryFn?;
286
+ private readonly defaultPollIntervalMs?;
397
287
  readonly kind: "trigger";
398
288
  readonly type: TypeToken<unknown>;
399
289
  readonly icon: string | undefined;
@@ -401,42 +291,17 @@ declare class DefinedPollingTriggerConfig<TConfig$1 extends CredentialJsonRecord
401
291
  readonly description?: string;
402
292
  constructor(name: string, cfg: TConfig$1, typeToken: TypeToken<unknown>, icon: string | undefined, credentialRequirements: ReadonlyArray<CredentialRequirement>, idOrOptions?: string | NodeBaseOptions, inspectorSummaryFn?: ((args: Readonly<{
403
293
  config: TConfig$1;
404
- }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined) | undefined);
294
+ }>) => ReadonlyArray<NodeInspectorSummaryRow> | undefined) | undefined, defaultPollIntervalMs?: number | undefined);
405
295
  getCredentialRequirements(): ReadonlyArray<CredentialRequirement>;
296
+ getTriggerPollConfig(): Readonly<{
297
+ config: JsonObject;
298
+ pollIntervalMs?: number;
299
+ }>;
406
300
  inspectorSummary(): ReadonlyArray<NodeInspectorSummaryRow> | undefined;
407
301
  }
408
- /**
409
- * Declarative helper for authoring polling triggers.
410
- *
411
- * ```ts
412
- * export const onNewMail = definePollingTrigger({
413
- * key: "my-plugin.on-new-mail",
414
- * title: "On new mail",
415
- * configSchema: z.object({ folder: z.string() }),
416
- * credentials: { auth: myOAuthCredentialType },
417
- * initialState: () => ({ lastSeenId: undefined }),
418
- * pollIntervalMs: 60_000,
419
- * async poll({ config, state, credentials }) {
420
- * const session = await credentials.auth();
421
- * const messages = await fetchMessages(session, config.folder, state.lastSeenId);
422
- * return {
423
- * items: messages.map(m => ({ json: m, dedupKey: m.id })),
424
- * nextState: { lastSeenId: messages[0]?.id ?? state.lastSeenId },
425
- * };
426
- * },
427
- * });
428
- * ```
429
- */
430
302
  declare function definePollingTrigger<TKey extends string, TConfig$1 extends CredentialJsonRecord, TItemJson, TState extends JsonValue | undefined, TBindings extends DefinedNodeCredentialBindings | undefined = undefined>(options: DefinePollingTriggerOptions<TKey, TConfig$1, TItemJson, TState, TBindings>): DefinedPollingTrigger<TKey, TConfig$1, TItemJson, TState, TBindings>;
431
303
  //#endregion
432
304
  //#region src/events/ConnectionInvocationEventPublisher.d.ts
433
- /**
434
- * Publishes per-invocation lifecycle records onto the run {@link RunEventBus}.
435
- *
436
- * Surgical, per-invocation events let the UI update the right-side inspector
437
- * timeline as each LLM round / tool call transitions through `running` → `completed`
438
- * (or `failed`) without depending on a coarse `runSaved` poll.
439
- */
440
305
  declare class ConnectionInvocationEventPublisher {
441
306
  private readonly eventBus;
442
307
  private readonly parent;
@@ -480,14 +345,12 @@ declare class EventPublishingWorkflowExecutionRepository implements WorkflowExec
480
345
  type DecoratedRuntimeType = Readonly<{
481
346
  name?: string;
482
347
  }> & object;
483
- /** Categories of runtime classes that can be discovered and rehydrated from persisted snapshots. */
484
348
  type PersistedRuntimeTypeKind = "node" | "tool" | "chatModel";
485
349
  interface PersistedRuntimeTypeDecoratorOptions {
486
350
  readonly name?: string;
487
351
  readonly packageName?: string;
488
352
  readonly moduleUrl?: string;
489
353
  }
490
- /** Serialized metadata attached to a decorated runtime type. */
491
354
  interface PersistedRuntimeTypeMetadata {
492
355
  readonly persistedName: string;
493
356
  readonly kind: PersistedRuntimeTypeKind;
@@ -496,26 +359,17 @@ interface PersistedRuntimeTypeMetadata {
496
359
  }
497
360
  //#endregion
498
361
  //#region src/runtime-types/InjectableRuntimeDecoratorComposerRegistry.d.ts
499
- /**
500
- * Applies both tsyringe injectability and persisted runtime metadata in one decorator.
501
- * This keeps runtime-type decorators thin while still recording enough data for snapshot hydration.
502
- */
503
362
  declare class InjectableRuntimeDecoratorComposer {
504
363
  static compose(kind: PersistedRuntimeTypeKind, options: PersistedRuntimeTypeDecoratorOptions, decoratorFileUrl: string): ClassDecorator;
505
364
  }
506
365
  //#endregion
507
366
  //#region src/runtime-types/PersistedRuntimeTypeMetadataStoreRegistry.d.ts
508
- /**
509
- * Defines and retrieves persisted runtime metadata on decorated classes.
510
- * The metadata is attached as a non-enumerable property so runtime objects stay serializable.
511
- */
512
367
  declare class PersistedRuntimeTypeMetadataStore {
513
368
  static define(target: DecoratedRuntimeType, kind: PersistedRuntimeTypeKind, options: PersistedRuntimeTypeDecoratorOptions, decoratorFileUrl: string): void;
514
369
  static get(target: unknown): PersistedRuntimeTypeMetadata | undefined;
515
370
  }
516
371
  //#endregion
517
372
  //#region src/runtime-types/PersistedRuntimeTypeNameResolver.d.ts
518
- /** Resolves the persisted type name from either an explicit override or the class name itself. */
519
373
  declare class PersistedRuntimeTypeNameResolver {
520
374
  static resolve(target: DecoratedRuntimeType, override: string | undefined): string;
521
375
  }
@@ -527,13 +381,9 @@ declare class StackTraceCallSitePathResolver {
527
381
  }
528
382
  //#endregion
529
383
  //#region src/runtime-types/runtimeTypeDecorators.types.d.ts
530
- /** Reads persisted runtime metadata from a decorated class or object. */
531
384
  declare function getPersistedRuntimeTypeMetadata(target: unknown): PersistedRuntimeTypeMetadata | undefined;
532
- /** Marks a class as a persisted node runtime type and an injectable tsyringe service. */
533
385
  declare function node(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
534
- /** Marks a class as a persisted tool runtime type and an injectable tsyringe service. */
535
386
  declare function tool(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
536
- /** Marks a class as a persisted chat-model runtime type and an injectable tsyringe service. */
537
387
  declare function chatModel(options?: PersistedRuntimeTypeDecoratorOptions): ClassDecorator;
538
388
  //#endregion
539
389
  //#region src/binaries/UnavailableBinaryStorage.d.ts
@@ -567,19 +417,6 @@ declare class DefaultExecutionBinaryService implements ExecutionBinaryService {
567
417
  }
568
418
  //#endregion
569
419
  //#region src/execution/ChildExecutionScopeFactory.d.ts
570
- /**
571
- * Builds a re-rooted child execution context for sub-agent (and other deeply-nested) invocations.
572
- *
573
- * At the orchestrator's `agent.tool.call` boundary the inner runtime needs a ctx whose:
574
- * - `nodeId` is the tool's connection node id (so inner LLM/tool connection ids derive correctly),
575
- * - `activationId` is fresh (so its connection-invocation rows are uniquely identifiable),
576
- * - `telemetry` parents children under the tool-call span (not the orchestrator's node span),
577
- * - `binary` is scoped to the new (nodeId, activationId),
578
- * - `parentInvocationId` points back to the tool-call invocation for downstream lineage.
579
- *
580
- * Registered via factory in {@link EngineRuntimeRegistrar} so constructors stay free of parameter
581
- * decorators (Next/SWC and coverage tooling cannot parse them on in-repo sources).
582
- */
583
420
  declare class ChildExecutionScopeFactory {
584
421
  private readonly activationIdFactory;
585
422
  constructor(activationIdFactory: ActivationIdFactory);
@@ -651,9 +488,6 @@ declare class InProcessRetryRunner {
651
488
  }
652
489
  //#endregion
653
490
  //#region src/execution/ItemExprResolver.d.ts
654
- /**
655
- * Resolves {@link import("../contracts/itemExpr").ItemExpr} leaves on runnable config before {@link RunnableNode.execute}.
656
- */
657
491
  declare class ItemExprResolver {
658
492
  resolveConfigForItem<TConfig$1 extends RunnableNodeConfig<any, any>>(ctx: NodeExecutionContext<TConfig$1>, item: Item, itemIndex: number, items: ReadonlyArray<Item>): Promise<NodeExecutionContext<TConfig$1>>;
659
493
  }
@@ -685,35 +519,13 @@ declare class NodeOutputNormalizer {
685
519
  }
686
520
  //#endregion
687
521
  //#region src/execution/NodeSuspensionHandler.d.ts
688
- /**
689
- * Handles per-item `SuspensionRequest` catches in the engine's item execution loop.
690
- *
691
- * Responsibilities:
692
- * 1. Generate a `taskId` (UUID v4).
693
- * 2. Persist a `HumanTask` row via `HumanTaskStore.create`.
694
- * 3. Sign a resume URL via `HitlResumeTokenSigner.sign`.
695
- * 4. Enqueue a delayed BullMQ timeout job via `HitlTimeoutJobScheduler.enqueue`.
696
- * 5. Build a `HumanTaskHandle` and call `deliver`.
697
- * 6. Append a `PersistedSuspensionEntry` to the run state and flip status to `"suspended"`.
698
- * 7. Persist via `WorkflowExecutionRepository.save`.
699
- * 8. Throw `RunSuspendedError` so the caller can exit cleanly.
700
- *
701
- * If `deliver` throws, the error propagates up to `NodeExecutionRequestHandlerService`
702
- * which routes it through `resumeFromNodeError` → run status becomes `"failed"`.
703
- *
704
- * `humanTaskStore`, `tokenSigner`, and `timeoutScheduler` are optional —
705
- * when not registered (e.g. in unit tests), the handler still suspends the run but
706
- * skips persistence, token signing, and job scheduling.
707
- */
708
522
  declare class NodeSuspensionHandler {
709
523
  private readonly workflowExecutionRepository;
710
524
  private readonly humanTaskStore?;
711
525
  private readonly tokenSigner?;
712
526
  private readonly timeoutScheduler?;
713
- /** Workspace ID to stamp on HumanTaskRecord in managed mode (T7 security fix). Null in non-managed mode. */
714
527
  private readonly workspaceId?;
715
- constructor(workflowExecutionRepository: WorkflowExecutionRepository, humanTaskStore?: HumanTaskStore | undefined, tokenSigner?: HitlResumeTokenSignerSeam | undefined, timeoutScheduler?: HitlTimeoutJobSchedulerSeam | undefined, /** Workspace ID to stamp on HumanTaskRecord in managed mode (T7 security fix). Null in non-managed mode. */
716
- workspaceId?: string | undefined);
528
+ constructor(workflowExecutionRepository: WorkflowExecutionRepository, humanTaskStore?: HumanTaskStore | undefined, tokenSigner?: HitlResumeTokenSignerSeam | undefined, timeoutScheduler?: HitlTimeoutJobSchedulerSeam | undefined, workspaceId?: string | undefined);
717
529
  handle(args: {
718
530
  runId: RunId;
719
531
  nodeId: NodeId;
@@ -721,14 +533,8 @@ declare class NodeSuspensionHandler {
721
533
  itemIndex: number;
722
534
  suspensionRequest: SuspensionRequest;
723
535
  state: PersistedRunState;
724
- /** Telemetry scope of the node's per-item span. Used to emit `hitl.task.*` span events. */
725
536
  telemetry?: TelemetryScope;
726
537
  }): Promise<never>;
727
- /**
728
- * Parse a duration string into milliseconds.
729
- * Accepts ISO 8601 durations ("PT24H", "PT30M") and shorthand ("24h", "30m", "1d").
730
- * Throws for unrecognised formats.
731
- */
732
538
  private parseDurationMs;
733
539
  private hashSchema;
734
540
  private schemaToJson;
@@ -738,17 +544,13 @@ declare class NodeSuspensionHandler {
738
544
  declare class NodeExecutor {
739
545
  private readonly nodeInstanceFactory;
740
546
  private readonly retryRunner;
741
- /** Required for HITL suspension support. When omitted, `SuspensionRequest` throws upward. */
742
547
  private readonly suspensionHandler?;
743
- /** Required alongside `suspensionHandler`. */
744
548
  private readonly loadRunState?;
745
549
  private readonly fanInMerger;
746
550
  private readonly outputNormalizer;
747
551
  private readonly itemExprResolver;
748
552
  private readonly outputBehaviorResolver;
749
- constructor(nodeInstanceFactory: WorkflowNodeInstanceFactory, retryRunner: InProcessRetryRunner, itemExprResolver?: ItemExprResolver, outputBehaviorResolver?: RunnableOutputBehaviorResolver, /** Required for HITL suspension support. When omitted, `SuspensionRequest` throws upward. */
750
- suspensionHandler?: NodeSuspensionHandler | undefined, /** Required alongside `suspensionHandler`. */
751
- loadRunState?: ((runId: RunId) => Promise<PersistedRunState | undefined>) | undefined);
553
+ constructor(nodeInstanceFactory: WorkflowNodeInstanceFactory, retryRunner: InProcessRetryRunner, itemExprResolver?: ItemExprResolver, outputBehaviorResolver?: RunnableOutputBehaviorResolver, suspensionHandler?: NodeSuspensionHandler | undefined, loadRunState?: ((runId: RunId) => Promise<PersistedRunState | undefined>) | undefined);
752
554
  execute(request: NodeActivationRequest): Promise<NodeOutputs>;
753
555
  private assertRequiredCredentialsBound;
754
556
  private isCredentialError;
@@ -759,7 +561,6 @@ declare class NodeExecutor {
759
561
  private hasExecuteMulti;
760
562
  private asMultiFromSingleActivation;
761
563
  private executeRunnableActivation;
762
- /** Use resolver ctx only when {@link NodeExecutionContext.config} is non-nullish. */
763
564
  private pickExecutionContext;
764
565
  private resolveInputSchema;
765
566
  private assertItemJsonNotTopLevelArray;
@@ -806,14 +607,6 @@ declare class InlineDrivingScheduler implements NodeActivationScheduler {
806
607
  private readonly activeDrainPromises;
807
608
  constructor(nodeExecutor: NodeExecutor);
808
609
  setContinuation(continuation: NodeActivationContinuation): void;
809
- /**
810
- * Prevents new drain cycles from being scheduled and waits for all currently-running
811
- * drains to complete. Call before closing the DB connection or rolling back test transactions
812
- * to ensure no in-flight writes hit a closed/rolled-back connection.
813
- *
814
- * Bounded: only the drains already in-flight at call time are awaited. Runs that keep
815
- * re-scheduling will not schedule new work once stopped is set.
816
- */
817
610
  stop(): Promise<void>;
818
611
  prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
819
612
  private drainRun;
@@ -833,12 +626,6 @@ declare class DefaultDrivingScheduler implements NodeActivationScheduler {
833
626
  constructor(offloadPolicy: NodeOffloadPolicy, workerScheduler: NodeExecutionScheduler, inline: InlineDrivingScheduler);
834
627
  setContinuation(continuation: NodeActivationContinuation): void;
835
628
  prepareDispatch(request: NodeActivationRequest): Promise<PreparedNodeActivationDispatch>;
836
- /**
837
- * Scheduler precedence is explicit:
838
- * 1. run-intent override (`executionOptions.localOnly`)
839
- * 2. node-level execution hint / queue policy
840
- * 3. container-default scheduler policy fallback
841
- */
842
629
  private selectScheduler;
843
630
  private hasNodeSchedulingPreference;
844
631
  private prepareInlineDispatch;
@@ -911,7 +698,6 @@ declare class InMemoryWorkflowExecutionRepository implements WorkflowExecutionRe
911
698
  }
912
699
  //#endregion
913
700
  //#region src/runStorage/RunSummaryMapper.d.ts
914
- /** Maps persisted run state to API run summaries for listings. */
915
701
  declare class RunSummaryMapper {
916
702
  static fromPersistedState(state: PersistedRunState): RunSummary;
917
703
  }
@@ -922,30 +708,16 @@ declare class MissingRuntimeFallbacks {
922
708
  }
923
709
  //#endregion
924
710
  //#region src/runtime/EngineFactory.d.ts
925
- /**
926
- * {@link EngineDeps} plus optional overrides for workflow-snapshot materialization.
927
- * Overrides keep default construction in this factory while allowing tests or advanced wiring to inject instances.
928
- */
929
711
  type EngineCompositionDeps = EngineDeps & {
930
712
  workflowSnapshotCodec?: WorkflowSnapshotCodec;
931
713
  missingRuntimeFallbacks?: MissingRuntimeFallbacks;
932
- /** When set, used for run-start, trigger, and continuation limit defaults. */
933
714
  executionLimitsPolicy?: EngineExecutionLimitsPolicy;
934
715
  };
935
- /**
936
- * Composes the {@link Engine} graph from {@link EngineCompositionDeps}. Production wiring usually goes through
937
- * {@link import("../bootstrap/runtime/EngineRuntimeRegistrar").EngineRuntimeRegistrar}; this factory remains for tests and custom composition.
938
- * Exported from `@codemation/core/bootstrap` (not the main `@codemation/core` barrel).
939
- */
940
716
  declare class EngineFactory {
941
717
  create(deps: EngineCompositionDeps): Engine;
942
718
  }
943
719
  //#endregion
944
720
  //#region src/runtime/WorkflowRepositoryWebhookTriggerMatcher.d.ts
945
- /**
946
- * Resolves webhook HTTP routes from the live workflow repository (no trigger setup / registration).
947
- * Maintains an in-memory index keyed by user-defined endpoint path for O(1) lookups after reload.
948
- */
949
721
  declare class WorkflowRepositoryWebhookTriggerMatcher implements WebhookTriggerMatcher {
950
722
  private readonly workflowRepository;
951
723
  private readonly workflowActivationPolicy;
@@ -983,11 +755,6 @@ interface PollingTriggerStartArgs<TState, TItem> {
983
755
  runCycle: (cycleCtx: PollingRunCycleArgs<TState>) => Promise<PollingRunCycleResult<TState, TItem>>;
984
756
  emit: (items: Items) => Promise<void>;
985
757
  }
986
- /**
987
- * Generic polling-trigger runtime. Owns the set-interval loop, overlap guard, and persistence.
988
- * Constructed by {@link import("../../runtime/EngineFactory").EngineFactory} and exposed to plugin
989
- * authors via {@link import("../../contracts/runtimeTypes").TriggerSetupContext}.polling.
990
- */
991
758
  declare class PollingTriggerRuntime {
992
759
  private readonly triggerSetupStateRepository;
993
760
  private readonly logger;
@@ -1025,23 +792,10 @@ declare class WorkflowEdgePortValidator {
1025
792
  nodes: ReadonlyArray<NodeDefinition>;
1026
793
  edges: ReadonlyArray<Edge>;
1027
794
  }): WorkflowEdgePortValidationResult;
1028
- /**
1029
- * Returns the declared output ports for a node, or null if the node is
1030
- * unknown / has no declared ports (legacy nodes — treat as unconstrained).
1031
- */
1032
795
  private allowedOutputPorts;
1033
796
  }
1034
797
  //#endregion
1035
798
  //#region src/credentials/OAuthFlowExecutor.types.d.ts
1036
- /**
1037
- * Four-concept model for credentials (see docs/design/credentials-oauth-unification.md):
1038
- * 1. CredentialType — schema for stored material (e.g. "oauth.google.gmail").
1039
- * 2. Credential slot requirement — which types a node or MCP server accepts.
1040
- * 3. CredentialInstance — a stored, usable token row in the host's credential store.
1041
- * 4. OAuthFlowExecutor (this file) — the only concept that differs between deployment
1042
- * modes. DI selects one implementation at boot; the rest of the system programs
1043
- * against this interface alone.
1044
- */
1045
799
  interface OAuthFlowStartArgs {
1046
800
  readonly typeId: string;
1047
801
  readonly scopes: ReadonlyArray<string>;
@@ -1064,11 +818,6 @@ interface OAuthMaterial {
1064
818
  }
1065
819
  interface OAuthFlowExecutor {
1066
820
  start(args: OAuthFlowStartArgs): Promise<OAuthFlowStartResult>;
1067
- /**
1068
- * Returns the instanceId associated with a pending stateToken without consuming it.
1069
- * Used by callback routes to identify the target instance before calling completeCallback.
1070
- * Returns undefined when the stateToken is unknown or already consumed.
1071
- */
1072
821
  lookupInstanceId(stateToken: string): string | undefined;
1073
822
  completeCallback(args: OAuthFlowCallbackArgs): Promise<OAuthMaterial>;
1074
823
  refresh(args: {
@@ -1079,33 +828,11 @@ interface OAuthFlowExecutor {
1079
828
  }
1080
829
  //#endregion
1081
830
  //#region src/credentials/CredentialMaterialProvider.types.d.ts
1082
- /**
1083
- * Material provider seam — see `docs/design/credentials-oauth-unification.md`,
1084
- * "Material provider seam" section. Sits beside the workspace's
1085
- * `CredentialStore`; persistence of the row stays at the store, persistence of
1086
- * the bytes goes through this provider so they can live at the control plane
1087
- * in managed mode.
1088
- */
1089
- /**
1090
- * Pointer to material bytes. For local rows `ref` is the workspace instance id
1091
- * and the bytes co-locate with the row (existing `CredentialOAuth2Material` /
1092
- * `CredentialSecretMaterial` tables). For control-plane rows `ref` is the
1093
- * CP-side credential id; the workspace stores only the pointer.
1094
- */
1095
831
  type CredentialMaterialRef = Readonly<{
1096
832
  source: "local" | "control-plane";
1097
833
  id: string;
1098
834
  }>;
1099
- /**
1100
- * Decrypted material bytes returned by a provider. Shape matches
1101
- * `OAuthMaterial` — every supported credential type today is OAuth-shaped.
1102
- */
1103
835
  type MaterialBundle = OAuthMaterial;
1104
- /**
1105
- * Caller context recorded by the CP material endpoint per fetch (D5 in the
1106
- * `credentials-vault` sprint README). The local provider accepts but ignores
1107
- * it; standalone mode has no audit log.
1108
- */
1109
836
  type CallerContext = Readonly<{
1110
837
  workspaceId: string;
1111
838
  caller: Readonly<{
@@ -1128,11 +855,6 @@ interface CredentialMaterialProvider {
1128
855
  getMaterial(ref: CredentialMaterialRef, context: CallerContext): Promise<MaterialBundle>;
1129
856
  setMaterial(ref: CredentialMaterialRef, material: MaterialBundle): Promise<void>;
1130
857
  }
1131
- /**
1132
- * Thrown by a provider when asked to operate on a `ref.source` it does not
1133
- * handle (e.g. the local provider being asked to read `control-plane` bytes).
1134
- * Exported so `instanceof`-checks work across the workspace boundary.
1135
- */
1136
858
  declare class IllegalMaterialSourceError extends Error {
1137
859
  readonly source: CredentialMaterialRef["source"];
1138
860
  readonly providerName: string;
@@ -1140,23 +862,11 @@ declare class IllegalMaterialSourceError extends Error {
1140
862
  }
1141
863
  //#endregion
1142
864
  //#region src/credentials/ManagedCredentialMaterialWriteError.d.ts
1143
- /**
1144
- * Thrown by managed-mode providers when `setMaterial` is called. Managed
1145
- * credential bytes are owned by the control plane; the workspace must not
1146
- * mutate them. See `docs/design/credentials-oauth-unification.md` and
1147
- * `planning/sprints/credentials-vault/02-controlplane-material-provider.md`.
1148
- */
1149
865
  declare class ManagedCredentialMaterialWriteError extends Error {
1150
866
  constructor(message?: string);
1151
867
  }
1152
868
  //#endregion
1153
869
  //#region src/credentials/ManagedMaterialFetchError.d.ts
1154
- /**
1155
- * Thrown by `ControlPlaneCredentialMaterialProvider` when the control-plane
1156
- * material endpoint returns a non-2xx response or a malformed body. Exposes
1157
- * the HTTP status and the raw error body so call sites can surface actionable
1158
- * detail without parsing strings.
1159
- */
1160
870
  declare class ManagedMaterialFetchError extends Error {
1161
871
  readonly status: number;
1162
872
  readonly providerErrorBody: string;
@@ -1164,117 +874,44 @@ declare class ManagedMaterialFetchError extends Error {
1164
874
  }
1165
875
  //#endregion
1166
876
  //#region src/contracts/workspaceFileTypes.d.ts
1167
- /**
1168
- * Metadata returned for a workspace file object.
1169
- * Filename and contentType come from the S3 object's custom metadata
1170
- * (stamped by the control plane at upload time — story 03).
1171
- * The local-fs driver reads them from a companion .meta.json sidecar.
1172
- */
1173
877
  interface WorkspaceFileMetadata {
1174
- /** Storage key: `<workspaceId>/files/<fileId>` */
1175
878
  readonly key: string;
1176
- /** Last path segment of the storage key. */
1177
879
  readonly fileId: string;
1178
- /** Original filename as stamped by the CP at upload time. Empty string if not yet stamped (pre-story-03). */
1179
880
  readonly filename: string;
1180
881
  readonly contentType: string;
1181
882
  readonly size: number;
1182
883
  readonly lastModified: Date;
1183
884
  }
1184
- /**
1185
- * Workspace-scoped port for accessing the shared workspace file pool.
1186
- * Implemented in `@codemation/host`; nodes reach it via `ctx.resolve(WorkspaceFileStorageToken)`.
1187
- *
1188
- * Key scheme: `<workspaceId>/files/<fileId>` — but nodes never construct raw keys.
1189
- * Use the workspace-level helpers (`listFiles`, `getFileByName`, `getFileById`, `writeFile`) instead.
1190
- *
1191
- * This adapter is SEPARATE from the run-scoped BinaryStorage — do not confuse the two.
1192
- */
1193
885
  interface IWorkspaceFileStorage {
1194
- /**
1195
- * Lists all files in this workspace, sorted newest-first by lastModified.
1196
- * Optional case-insensitive substring filter on filename.
1197
- */
1198
886
  listFiles(filenameFilter?: string): Promise<ReadonlyArray<WorkspaceFileMetadata>>;
1199
- /**
1200
- * Returns metadata for the newest file with the given filename in this workspace.
1201
- * @throws WorkspaceFileNotFoundError when no file with that name exists.
1202
- */
1203
887
  getFileByName(filename: string): Promise<WorkspaceFileMetadata>;
1204
- /**
1205
- * Returns metadata for the file with the given fileId in this workspace.
1206
- * @throws WorkspaceFileNotFoundError when no file with that id exists.
1207
- */
1208
888
  getFileById(fileId: string): Promise<WorkspaceFileMetadata>;
1209
- /**
1210
- * Returns a non-buffered stream of the stored object's bytes.
1211
- * Accepts a full storage key or a fileId (prefixes as needed).
1212
- * @throws WorkspaceFileNotFoundError when the key does not exist.
1213
- */
1214
889
  getStream(key: string): Promise<ReadableStream<Uint8Array>>;
1215
- /**
1216
- * Writes a file into the workspace's shared file pool.
1217
- *
1218
- * Generates a new fileId internally; the caller never constructs a raw key.
1219
- * Stamps the filename into object metadata so read-side adapters can resolve
1220
- * files by name without querying a registry.
1221
- *
1222
- * Returns the stored file's metadata (fileId, key, filename, contentType, size,
1223
- * lastModified). Callers that need concierge visibility must also register a
1224
- * WorkspaceFile row on the CP side via the HMAC-paired
1225
- * `POST /internal/workspace-files/register` endpoint — see the host-side
1226
- * `WorkspaceFileRegistrarClient`.
1227
- *
1228
- * @param filename Original filename; stored in object metadata.
1229
- * @param body Bytes to write (contiguous — required for presigned PUT Content-Length).
1230
- * @param contentType MIME type.
1231
- */
1232
890
  writeFile(filename: string, body: Uint8Array, contentType: string): Promise<WorkspaceFileMetadata>;
1233
891
  }
1234
- /**
1235
- * Error thrown when a requested workspace file key does not exist.
1236
- */
1237
892
  declare class WorkspaceFileNotFoundError extends Error {
1238
893
  readonly key: string;
1239
894
  constructor(key: string);
1240
895
  }
1241
- /**
1242
- * Port for registering a workflow-written file in the CP's WorkspaceFile table.
1243
- * Optional: only wired when the host is paired with a control plane.
1244
- * Implemented by `WorkspaceFileRegistrarClient` in `@codemation/host`.
1245
- * Nodes call this after `writeFile` so the concierge can see the file via
1246
- * `list_files` / `get_file`.
1247
- */
1248
896
  interface IWorkspaceFileRegistrar {
1249
897
  register(meta: WorkspaceFileMetadata): Promise<void>;
1250
898
  }
1251
- /**
1252
- * DI token for the workspace-scoped file storage adapter.
1253
- * Registered by `@codemation/host`; resolved by workspace-file nodes via `ctx.resolve(...)`.
1254
- */
1255
899
  declare const WorkspaceFileStorageToken: TypeToken<IWorkspaceFileStorage | undefined>;
1256
- /**
1257
- * DI token for the optional CP registry hook.
1258
- * Present only when the host is paired (managed mode). Standalone / local-fs
1259
- * deployments leave this undefined — workflow-written files will be in S3/local
1260
- * but will not appear in the concierge's list_files.
1261
- */
1262
900
  declare const WorkspaceFileRegistrarToken: TypeToken<IWorkspaceFileRegistrar | undefined>;
1263
901
  //#endregion
902
+ //#region src/workflowSnapshots/MissingRuntimeParityGuard.d.ts
903
+ declare class MissingRuntimeParityGuard {
904
+ private readonly marker;
905
+ constructor(marker: MissingRuntimeExecutionMarker);
906
+ assertNone(workflow: WorkflowDefinition, nodeIds?: ReadonlyArray<NodeId>): void;
907
+ }
908
+ //#endregion
1264
909
  //#region src/orchestration/TestSuiteRunIdFactory.d.ts
1265
- /**
1266
- * Mints unique TestSuiteRun identifiers. Separated from {@link import("../types").RunIdFactory}
1267
- * so suite ids and per-case workflow run ids never alias.
1268
- */
1269
910
  declare class TestSuiteRunIdFactory {
1270
911
  makeTestSuiteRunId(): TestSuiteRunId;
1271
912
  }
1272
913
  //#endregion
1273
914
  //#region src/orchestration/TestSuiteOrchestrator.d.ts
1274
- /**
1275
- * Engine-facade subset the orchestrator needs. Kept narrow on purpose so unit tests can
1276
- * substitute a fake without depending on the full Engine wiring.
1277
- */
1278
915
  interface TestSuiteOrchestratorEngine {
1279
916
  runWorkflow(wf: WorkflowDefinition, startAt: NodeId, items: Items, parent?: ParentExecutionRef, executionOptions?: RunExecutionOptions): Promise<RunResult>;
1280
917
  waitForCompletion(runId: RunId): Promise<Extract<RunResult, {
@@ -1303,15 +940,6 @@ interface RunTestSuiteArgs {
1303
940
  readonly concurrency?: number;
1304
941
  readonly signal?: AbortSignal;
1305
942
  }
1306
- /**
1307
- * Drives a {@link TestTriggerNodeConfig.generateItems} iterable into one workflow run per item,
1308
- * with bounded concurrency. Pure engine logic — no persistence, no HTTP, no UI. Hosts adapt by
1309
- * subscribing to {@link RunEventBus} and writing rows on `testSuite*` / `testCase*` / `nodeCompleted`.
1310
- *
1311
- * Cancellation: the supplied `AbortSignal` aborts the source iterable (so credentialed pulls bail)
1312
- * and stops scheduling further cases. In-flight cases are awaited; engine-level cancellation of
1313
- * an already-dispatched run is not yet wired (Phase 2).
1314
- */
1315
943
  declare class TestSuiteOrchestrator {
1316
944
  private readonly engine;
1317
945
  private readonly testSuiteRunIdFactory;
@@ -1324,10 +952,9 @@ declare class TestSuiteOrchestrator {
1324
952
  private runOneCase;
1325
953
  private deriveSuiteStatus;
1326
954
  private now;
1327
- /** Defensive label resolver — author-supplied callbacks throw / return non-strings; we tolerate both. */
1328
955
  private resolveCaseLabel;
1329
956
  private publish;
1330
957
  }
1331
958
  //#endregion
1332
- export { DefaultAsyncSleeper as $, HumanTaskRecord as $t, PollingTriggerRuntime as A, CollectionIndexDefinition as At, HintOnlyOffloadPolicy as B, InboxChannel as Bt, OAuthFlowStartResult as C, DefinedPollingTrigger as Ct, WorkflowEdgePortValidationResult as D, CollectionColumnBuilder as Dt, WorkflowEdgePortError as E, DefinedCollectionRegistry as Et, RunSummaryMapper as F, callableTool as Ft, NodeInstanceFactory as G, InboxOnDecisionArgs as Gt, InlineDrivingScheduler as H, InboxChannelResolverToken as Ht, InMemoryWorkflowExecutionRepository as I, DefineCredentialOptions as It, RunnableOutputBehaviorResolver as J, HitlResumeTokenSignerSeam as Jt, NodeExecutor as K, InboxOnTimeoutArgs as Kt, InMemoryRunDataFactory as L, defineCredential as Lt, WorkflowRepositoryWebhookTriggerMatcher as M, DefinedCollection as Mt, EngineCompositionDeps as N, c as Nt, PollingRunCycleArgs as O, CollectionDefinition as Ot, EngineFactory as P, defineCollection as Pt, DefaultExecutionContextFactory as Q, HitlWorkspaceIdToken as Qt, InMemoryBinaryStorage as R, DefinedNodeRegistry as Rt, OAuthFlowStartArgs as S, DefinePollingTriggerTestItemsContext as St, WorkflowEdgePortValidator as T, definePollingTrigger as Tt, ConfigDrivenOffloadPolicy as U, InboxDeliverArgs as Ut, DefaultDrivingScheduler as V, InboxChannelResolverSeam as Vt, StaticCostCatalog as W, InboxDelivery as Wt, InProcessRetryRunner as X, HitlTimeoutJobSchedulerSeam as Xt, ItemExprResolver as Y, HitlResumeTokenSignerToken as Yt, CatalogBackedCostTrackingTelemetryFactory as Z, HitlTimeoutJobSchedulerToken as Zt, CredentialMaterialRef as _, ConnectionInvocationEventPublisher as _t, TestSuiteRunResult as a, NodeEventPublisher as an, getPersistedRuntimeTypeMetadata as at, OAuthFlowCallbackArgs as b, DefinePollingTriggerPollContext as bt, IWorkspaceFileStorage as c, StackTraceCallSitePathResolver as ct, WorkspaceFileRegistrarToken as d, InjectableRuntimeDecoratorComposer as dt, HumanTaskStatus as en, AsyncSleeper as et, WorkspaceFileStorageToken as f, PersistedRuntimeTypeDecoratorOptions as ft, CredentialMaterialProvider as g, InMemoryRunEventBus as gt, CallerContext as h, EventPublishingWorkflowExecutionRepository as ht, TestSuiteOrchestratorEngine as i, SystemClock as in, chatModel as it, PollingTriggerStartArgs as j, DefineCollectionOptions as jt, PollingRunCycleResult as k, CollectionFieldDefinition as kt, WorkspaceFileMetadata as l, PersistedRuntimeTypeNameResolver as lt, ManagedCredentialMaterialWriteError as m, PersistedRuntimeTypeMetadata as mt, TestSuiteCaseOutcome as n, HumanTaskStoreToken as nn, DefaultExecutionBinaryService as nt, TestSuiteRunIdFactory as o, CredentialResolverFactory as on, node as ot, ManagedMaterialFetchError as p, PersistedRuntimeTypeKind as pt, NodeOutputNormalizer as q, LocalInboxChannelToken as qt, TestSuiteOrchestrator as r, Clock as rn, UnavailableBinaryStorage as rt, IWorkspaceFileRegistrar as s, AbortControllerFactory as sn, tool as st, RunTestSuiteArgs as t, HumanTaskStore as tn, ChildExecutionScopeFactory as tt, WorkspaceFileNotFoundError as u, PersistedRuntimeTypeMetadataStore as ut, IllegalMaterialSourceError as v, DefinePollingTriggerExecuteContext as vt, OAuthMaterial as w, DefinedPollingTriggerConfig as wt, OAuthFlowExecutor as x, DefinePollingTriggerPollResult as xt, MaterialBundle as y, DefinePollingTriggerOptions as yt, LocalOnlyScheduler as z, ControlPlaneInboxChannelToken as zt };
1333
- //# sourceMappingURL=index-uPnD9EE6.d.ts.map
959
+ export { DefaultExecutionContextFactory as $, HitlWorkspaceIdToken as $t, PollingRunCycleResult as A, CollectionFieldDefinition as At, LocalOnlyScheduler as B, ControlPlaneInboxChannelToken as Bt, OAuthFlowStartArgs as C, DefinePollingTriggerTestItemsContext as Ct, WorkflowEdgePortError as D, DefinedCollectionRegistry as Dt, WorkflowEdgePortValidator as E, definePollingTrigger as Et, EngineFactory as F, defineCollection as Ft, StaticCostCatalog as G, InboxDelivery as Gt, DefaultDrivingScheduler as H, InboxChannelResolverSeam as Ht, RunSummaryMapper as I, callableTool as It, NodeOutputNormalizer as J, LocalInboxChannelToken as Jt, NodeInstanceFactory as K, InboxOnDecisionArgs as Kt, InMemoryWorkflowExecutionRepository as L, DefineCredentialOptions as Lt, PollingTriggerStartArgs as M, DefineCollectionOptions as Mt, WorkflowRepositoryWebhookTriggerMatcher as N, DefinedCollection as Nt, WorkflowEdgePortValidationResult as O, CollectionColumnBuilder as Ot, EngineCompositionDeps as P, c as Pt, CatalogBackedCostTrackingTelemetryFactory as Q, HitlTimeoutJobSchedulerToken as Qt, InMemoryRunDataFactory as R, defineCredential as Rt, OAuthFlowExecutor as S, DefinePollingTriggerPollResult as St, OAuthMaterial as T, DefinedPollingTriggerConfig as Tt, InlineDrivingScheduler as U, InboxChannelResolverToken as Ut, HintOnlyOffloadPolicy as V, InboxChannel as Vt, ConfigDrivenOffloadPolicy as W, InboxDeliverArgs as Wt, ItemExprResolver as X, HitlResumeTokenSignerToken as Xt, RunnableOutputBehaviorResolver as Y, HitlResumeTokenSignerSeam as Yt, InProcessRetryRunner as Z, HitlTimeoutJobSchedulerSeam as Zt, CredentialMaterialProvider as _, InMemoryRunEventBus as _t, TestSuiteRunResult as a, SystemClock as an, chatModel as at, MaterialBundle as b, DefinePollingTriggerOptions as bt, IWorkspaceFileRegistrar as c, AbortControllerFactory as cn, tool as ct, WorkspaceFileNotFoundError as d, PersistedRuntimeTypeMetadataStore as dt, HumanTaskRecord as en, DefaultAsyncSleeper as et, WorkspaceFileRegistrarToken as f, InjectableRuntimeDecoratorComposer as ft, CallerContext as g, EventPublishingWorkflowExecutionRepository as gt, ManagedCredentialMaterialWriteError as h, PersistedRuntimeTypeMetadata as ht, TestSuiteOrchestratorEngine as i, Clock as in, UnavailableBinaryStorage as it, PollingTriggerRuntime as j, CollectionIndexDefinition as jt, PollingRunCycleArgs as k, CollectionDefinition as kt, IWorkspaceFileStorage as l, StackTraceCallSitePathResolver as lt, ManagedMaterialFetchError as m, PersistedRuntimeTypeKind as mt, TestSuiteCaseOutcome as n, HumanTaskStore as nn, ChildExecutionScopeFactory as nt, TestSuiteRunIdFactory as o, NodeEventPublisher as on, getPersistedRuntimeTypeMetadata as ot, WorkspaceFileStorageToken as p, PersistedRuntimeTypeDecoratorOptions as pt, NodeExecutor as q, InboxOnTimeoutArgs as qt, TestSuiteOrchestrator as r, HumanTaskStoreToken as rn, DefaultExecutionBinaryService as rt, MissingRuntimeParityGuard as s, CredentialResolverFactory as sn, node as st, RunTestSuiteArgs as t, HumanTaskStatus as tn, AsyncSleeper as tt, WorkspaceFileMetadata as u, PersistedRuntimeTypeNameResolver as ut, CredentialMaterialRef as v, ConnectionInvocationEventPublisher as vt, OAuthFlowStartResult as w, DefinedPollingTrigger as wt, OAuthFlowCallbackArgs as x, DefinePollingTriggerPollContext as xt, IllegalMaterialSourceError as y, DefinePollingTriggerExecuteContext as yt, InMemoryBinaryStorage as z, DefinedNodeRegistry as zt };
960
+ //# sourceMappingURL=index-mnLS0iQl.d.ts.map