@codemation/core 0.2.3 → 0.4.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 (82) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +2 -0
  3. package/dist/{EngineRuntimeRegistration.types-Bjeo7Sfq.d.ts → EngineRuntimeRegistration.types-DU6MsjU9.d.ts} +2 -2
  4. package/dist/{EngineWorkflowRunnerService-Dd4yD31l.d.cts → EngineWorkflowRunnerService-BBkL4VQF.d.cts} +2 -2
  5. package/dist/{InMemoryRunDataFactory-OUzDmAHt.d.cts → InMemoryRunDataFactory-CsYEMJK2.d.cts} +11 -3
  6. package/dist/{RunIntentService-Bkg4oYrM.d.cts → RunIntentService-BvlTpmEb.d.cts} +224 -237
  7. package/dist/{RunIntentService-BAKikN8h.d.ts → RunIntentService-zbTchO9T.d.ts} +305 -259
  8. package/dist/bootstrap/index.cjs +2 -2
  9. package/dist/bootstrap/index.d.cts +19 -7
  10. package/dist/bootstrap/index.d.ts +3 -3
  11. package/dist/bootstrap/index.js +2 -2
  12. package/dist/{bootstrap-DwS5S7s9.cjs → bootstrap-DHH2uo-W.cjs} +4 -2
  13. package/dist/bootstrap-DHH2uo-W.cjs.map +1 -0
  14. package/dist/{bootstrap-BD6CobHl.js → bootstrap-DbUlOl11.js} +4 -2
  15. package/dist/bootstrap-DbUlOl11.js.map +1 -0
  16. package/dist/{index-BDHCiN22.d.ts → index-CUt13qs1.d.ts} +85 -16
  17. package/dist/index.cjs +74 -12
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +131 -24
  20. package/dist/index.d.ts +3 -3
  21. package/dist/index.js +64 -13
  22. package/dist/index.js.map +1 -1
  23. package/dist/{runtime-Cy-3FTI_.js → runtime-BdH94eBR.js} +502 -123
  24. package/dist/runtime-BdH94eBR.js.map +1 -0
  25. package/dist/{runtime-ZJUpWmPH.cjs → runtime-feFn8OmG.cjs} +561 -122
  26. package/dist/runtime-feFn8OmG.cjs.map +1 -0
  27. package/dist/testing.cjs +40 -36
  28. package/dist/testing.cjs.map +1 -1
  29. package/dist/testing.d.cts +17 -26
  30. package/dist/testing.d.ts +17 -26
  31. package/dist/testing.js +40 -36
  32. package/dist/testing.js.map +1 -1
  33. package/dist/{workflowActivationPolicy-BzyzXLa_.cjs → workflowActivationPolicy-6V3OJD3N.cjs} +65 -19
  34. package/dist/workflowActivationPolicy-6V3OJD3N.cjs.map +1 -0
  35. package/dist/{workflowActivationPolicy-B8HzTk3o.js → workflowActivationPolicy-Td9HTOuD.js} +65 -19
  36. package/dist/workflowActivationPolicy-Td9HTOuD.js.map +1 -0
  37. package/package.json +2 -1
  38. package/src/ai/AgentConfigInspectorFactory.ts +4 -0
  39. package/src/ai/AgentMessageConfigNormalizerFactory.ts +7 -0
  40. package/src/ai/AgentToolFactory.ts +2 -2
  41. package/src/ai/AiHost.ts +11 -10
  42. package/src/ai/NodeBackedToolConfig.ts +1 -1
  43. package/src/authoring/defineNode.types.ts +144 -25
  44. package/src/authoring/index.ts +3 -1
  45. package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +8 -0
  46. package/src/contracts/emitPorts.ts +27 -0
  47. package/src/contracts/index.ts +3 -0
  48. package/src/contracts/itemMeta.ts +11 -0
  49. package/src/contracts/itemValue.ts +147 -0
  50. package/src/contracts/runtimeTypes.ts +39 -22
  51. package/src/contracts/workflowTypes.ts +26 -56
  52. package/src/execution/FanInMergeByOriginMerger.ts +67 -0
  53. package/src/execution/ItemValueResolver.ts +27 -0
  54. package/src/execution/NodeActivationRequestComposer.ts +25 -0
  55. package/src/execution/NodeActivationRequestInputPreparer.ts +57 -25
  56. package/src/execution/NodeExecutor.ts +199 -30
  57. package/src/execution/NodeOutputNormalizer.ts +90 -0
  58. package/src/execution/index.ts +2 -0
  59. package/src/index.ts +2 -0
  60. package/src/orchestration/NodeExecutionRequestHandlerService.ts +39 -18
  61. package/src/orchestration/RunContinuationService.ts +11 -17
  62. package/src/planning/CurrentStateFrontierPlanner.ts +20 -20
  63. package/src/planning/RunQueuePlanner.ts +56 -19
  64. package/src/planning/WorkflowTopologyPlanner.ts +57 -33
  65. package/src/testing/ItemHarnessNode.ts +4 -10
  66. package/src/testing/ItemHarnessNodeConfig.ts +7 -16
  67. package/src/testing/RegistrarEngineTestKitFactory.ts +2 -0
  68. package/src/testing/SubWorkflowRunnerTestNode.ts +28 -43
  69. package/src/testing/SwitchHarnessNode.ts +54 -0
  70. package/src/types/index.ts +3 -0
  71. package/src/workflow/dsl/ChainCursorResolver.ts +68 -23
  72. package/src/workflow/dsl/WorkflowBuilder.ts +3 -5
  73. package/src/workflow/dsl/workflowBuilderTypes.ts +5 -8
  74. package/src/workflowSnapshots/MissingRuntimeNode.ts +4 -4
  75. package/src/workflowSnapshots/MissingRuntimeNodeConfig.ts +2 -2
  76. package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +16 -7
  77. package/dist/bootstrap-BD6CobHl.js.map +0 -1
  78. package/dist/bootstrap-DwS5S7s9.cjs.map +0 -1
  79. package/dist/runtime-Cy-3FTI_.js.map +0 -1
  80. package/dist/runtime-ZJUpWmPH.cjs.map +0 -1
  81. package/dist/workflowActivationPolicy-B8HzTk3o.js.map +0 -1
  82. package/dist/workflowActivationPolicy-BzyzXLa_.cjs.map +0 -1
@@ -2,35 +2,6 @@ import { ReadableStream } from "node:stream/web";
2
2
  import { DependencyContainer as Container, DependencyContainer as DependencyContainer$1, Disposable, InjectionToken as InjectionToken$1, InjectionToken as TypeToken, Lifecycle, RegistrationOptions, container, delay, inject, injectAll, injectable, instanceCachingFactory, instancePerContainerCachingFactory, predicateAwareClassFactory, registry, singleton } from "tsyringe";
3
3
  import { ZodType } from "zod";
4
4
 
5
- //#region src/contracts/retryPolicySpec.types.d.ts
6
-
7
- /**
8
- * In-process retry policy for runnable nodes. Serialized configs use the same
9
- * `kind` discriminator (`JSON.stringify` / persisted workflows).
10
- *
11
- * `maxAttempts` is the total number of tries including the first (e.g. 3 means up to 2 delays after failures).
12
- */
13
- type RetryPolicySpec = NoneRetryPolicySpec | FixedRetryPolicySpec | ExponentialRetryPolicySpec;
14
- interface NoneRetryPolicySpec {
15
- readonly kind: "none";
16
- }
17
- interface FixedRetryPolicySpec {
18
- readonly kind: "fixed";
19
- /** Total attempts including the first execution. Must be >= 1. */
20
- readonly maxAttempts: number;
21
- readonly delayMs: number;
22
- }
23
- interface ExponentialRetryPolicySpec {
24
- readonly kind: "exponential";
25
- /** Total attempts including the first execution. Must be >= 1. */
26
- readonly maxAttempts: number;
27
- readonly initialDelayMs: number;
28
- readonly multiplier: number;
29
- readonly maxDelayMs?: number;
30
- /** When true, each delay is multiplied by a random factor in [1, 1.2). */
31
- readonly jitter?: boolean;
32
- }
33
- //#endregion
34
5
  //#region src/events/runEvents.d.ts
35
6
  type RunEvent = Readonly<{
36
7
  kind: "runCreated";
@@ -132,6 +103,149 @@ declare const CoreTokens: {
132
103
  readonly WorkflowActivationPolicy: TypeToken<WorkflowActivationPolicy>;
133
104
  };
134
105
  //#endregion
106
+ //#region src/contracts/credentialTypes.d.ts
107
+ type CredentialTypeId = string;
108
+ type CredentialInstanceId = string;
109
+ type CredentialMaterialSourceKind = "db" | "env" | "code";
110
+ type CredentialSetupStatus = "draft" | "ready";
111
+ type CredentialHealthStatus = "unknown" | "healthy" | "failing";
112
+ type CredentialFieldSchema = Readonly<{
113
+ key: string;
114
+ label: string;
115
+ type: "string" | "password" | "textarea" | "json" | "boolean";
116
+ required?: true;
117
+ order?: number;
118
+ placeholder?: string;
119
+ helpText?: string;
120
+ /** When set, host resolves this field from process.env at runtime; env wins over stored values. */
121
+ envVarName?: string;
122
+ /**
123
+ * When set, the dialog shows a copy action for this exact string (e.g. a static OAuth redirect URI
124
+ * pattern or documentation URL). Do not use for secret values.
125
+ */
126
+ copyValue?: string;
127
+ /** Accessible label for the copy control (default: Copy). */
128
+ copyButtonLabel?: string;
129
+ }>;
130
+ type CredentialRequirement = Readonly<{
131
+ slotKey: string;
132
+ label: string;
133
+ acceptedTypes: ReadonlyArray<CredentialTypeId>;
134
+ optional?: true;
135
+ helpText?: string;
136
+ helpUrl?: string;
137
+ }>;
138
+ type CredentialBindingKey = Readonly<{
139
+ workflowId: WorkflowId;
140
+ nodeId: NodeId;
141
+ slotKey: string;
142
+ }>;
143
+ type CredentialBinding = Readonly<{
144
+ key: CredentialBindingKey;
145
+ instanceId: CredentialInstanceId;
146
+ updatedAt: string;
147
+ }>;
148
+ type CredentialHealth = Readonly<{
149
+ status: CredentialHealthStatus;
150
+ message?: string;
151
+ testedAt?: string;
152
+ expiresAt?: string;
153
+ details?: Readonly<Record<string, unknown>>;
154
+ }>;
155
+ type OAuth2ProviderFromPublicConfig = Readonly<{
156
+ authorizeUrlFieldKey: string;
157
+ tokenUrlFieldKey: string;
158
+ userInfoUrlFieldKey?: string;
159
+ }>;
160
+ type CredentialOAuth2AuthDefinition = Readonly<{
161
+ kind: "oauth2";
162
+ providerId: string;
163
+ scopes: ReadonlyArray<string>;
164
+ clientIdFieldKey?: string;
165
+ clientSecretFieldKey?: string;
166
+ } | {
167
+ kind: "oauth2";
168
+ providerFromPublicConfig: OAuth2ProviderFromPublicConfig;
169
+ scopes: ReadonlyArray<string>;
170
+ clientIdFieldKey?: string;
171
+ clientSecretFieldKey?: string;
172
+ }>;
173
+ type CredentialAuthDefinition = CredentialOAuth2AuthDefinition;
174
+ type CredentialTypeDefinition = Readonly<{
175
+ typeId: CredentialTypeId;
176
+ displayName: string;
177
+ description?: string;
178
+ publicFields?: ReadonlyArray<CredentialFieldSchema>;
179
+ secretFields?: ReadonlyArray<CredentialFieldSchema>;
180
+ supportedSourceKinds?: ReadonlyArray<CredentialMaterialSourceKind>;
181
+ auth?: CredentialAuthDefinition;
182
+ }>;
183
+ /**
184
+ * JSON-shaped credential field bag (public config, resolved secret material, etc.).
185
+ */
186
+ type CredentialJsonRecord = Readonly<Record<string, unknown>>;
187
+ /**
188
+ * Persisted credential instance with typed `publicConfig`.
189
+ * Hosts may specialize `secretRef` with a stricter union while remaining
190
+ * assignable here for session/test callbacks.
191
+ */
192
+ type CredentialInstanceRecord<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord> = Readonly<{
193
+ instanceId: CredentialInstanceId;
194
+ typeId: CredentialTypeId;
195
+ displayName: string;
196
+ sourceKind: CredentialMaterialSourceKind;
197
+ publicConfig: TPublicConfig;
198
+ secretRef: CredentialJsonRecord;
199
+ tags: ReadonlyArray<string>;
200
+ setupStatus: CredentialSetupStatus;
201
+ createdAt: string;
202
+ updatedAt: string;
203
+ }>;
204
+ /**
205
+ * Arguments passed to `CredentialType.createSession` and `CredentialType.test`.
206
+ * Declare `TPublicConfig` / `TMaterial` on `CredentialType` so implementations are checked
207
+ * against your credential shapes (similar to `NodeExecutionContext.config` for nodes).
208
+ */
209
+ type CredentialSessionFactoryArgs<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord> = Readonly<{
210
+ instance: CredentialInstanceRecord<TPublicConfig>;
211
+ material: TMaterial;
212
+ publicConfig: TPublicConfig;
213
+ }>;
214
+ type CredentialSessionFactory<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord, TSession = unknown> = (args: CredentialSessionFactoryArgs<TPublicConfig, TMaterial>) => Promise<TSession>;
215
+ type CredentialHealthTester<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord> = (args: CredentialSessionFactoryArgs<TPublicConfig, TMaterial>) => Promise<CredentialHealth>;
216
+ /**
217
+ * Full credential type implementation: `definition` (UI/schema), `createSession`, and `test`.
218
+ * Use this at registration and config boundaries; `CredentialTypeDefinition` is only the schema slice.
219
+ */
220
+ type CredentialType<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord, TSession = unknown> = Readonly<{
221
+ definition: CredentialTypeDefinition;
222
+ createSession: CredentialSessionFactory<TPublicConfig, TMaterial, TSession>;
223
+ test: CredentialHealthTester<TPublicConfig, TMaterial>;
224
+ }>;
225
+ /**
226
+ * Credential type with unspecified generics — used for `CodemationConfig.credentialTypes`, the host registry,
227
+ * and anywhere a concrete `CredentialType<YourPublic, YourMaterial, YourSession>` is placed in a heterogeneous list.
228
+ * Using `any` here avoids unsafe `as` casts while keeping typed `satisfies CredentialType<…>` definitions.
229
+ */
230
+ type AnyCredentialType = CredentialType<any, any, unknown>;
231
+ interface CredentialSessionService {
232
+ getSession<TSession = unknown>(args: Readonly<{
233
+ workflowId: WorkflowId;
234
+ nodeId: NodeId;
235
+ slotKey: string;
236
+ }>): Promise<TSession>;
237
+ }
238
+ interface CredentialTypeRegistry {
239
+ listTypes(): ReadonlyArray<CredentialTypeDefinition>;
240
+ getType(typeId: CredentialTypeId): CredentialTypeDefinition | undefined;
241
+ }
242
+ declare class CredentialUnboundError extends Error {
243
+ readonly bindingKey: CredentialBindingKey;
244
+ readonly acceptedTypes: ReadonlyArray<CredentialTypeId>;
245
+ constructor(bindingKey: CredentialBindingKey, acceptedTypes?: ReadonlyArray<CredentialTypeId>);
246
+ private static createMessage;
247
+ }
248
+ //#endregion
135
249
  //#region src/contracts/runTypes.d.ts
136
250
  interface RunExecutionOptions {
137
251
  /** Run-intent override: force the inline scheduler and bypass node-level offload decisions. */
@@ -651,31 +765,41 @@ interface EngineHost {
651
765
  credentialSessions: CredentialSessionService;
652
766
  workflows?: WorkflowRunnerService;
653
767
  }
654
- interface Node<TConfig extends NodeConfigBase = NodeConfigBase> {
655
- kind: "node";
656
- outputPorts: ReadonlyArray<OutputPortKey>;
657
- execute(items: Items, ctx: NodeExecutionContext<TConfig>): Promise<NodeOutputs>;
658
- }
659
768
  /**
660
- * Single-input runnable node with per-item execution on `main` only (1→1 default).
661
- * Engine applies {@link RunnableNodeConfig.mapInput} (if any) + `inputSchema.parse` before `executeOne`.
769
+ * Per-item runnable node: return JSON, an array to fan-out on `main`, or {@link emitPorts} for multi-port emission.
770
+ * Engine applies `inputSchema.parse(item.json)` and passes the result as `args.input` (wire `item.json` is unchanged).
662
771
  */
663
- interface ItemNode<TConfig extends NodeConfigBase = NodeConfigBase, TInputJson$1 = unknown, TOutputJson$1 = unknown> {
772
+ interface RunnableNodeExecuteArgs<TConfig extends RunnableNodeConfig<any, any> = RunnableNodeConfig<any, any>, TInputJson$1 = unknown> {
773
+ readonly input: TInputJson$1;
774
+ readonly item: Item;
775
+ readonly itemIndex: number;
776
+ readonly items: Items;
777
+ readonly ctx: NodeExecutionContext<TConfig>;
778
+ }
779
+ interface RunnableNode<TConfig extends RunnableNodeConfig<any, any> = RunnableNodeConfig<any, any>, TInputJson$1 = unknown, _TOutputJson = unknown> {
664
780
  readonly kind: "node";
665
- readonly outputPorts: readonly ["main"];
781
+ /**
782
+ * Declared output ports (e.g. `["main"]`).
783
+ *
784
+ * Prefer describing dynamic router ports (Switch) and fixed multi-ports (If true/false)
785
+ * via {@link NodeConfigBase.declaredOutputPorts}. Engine defaults to `["main"]` when omitted.
786
+ */
787
+ readonly outputPorts?: ReadonlyArray<OutputPortKey>;
666
788
  /** When omitted, engine uses {@link RunnableNodeConfig.inputSchema} or `z.unknown()`. */
667
789
  readonly inputSchema?: ZodType<TInputJson$1>;
668
- executeOne(args: Readonly<{
669
- input: TInputJson$1;
670
- item: Item;
671
- itemIndex: number;
672
- items: Items;
673
- ctx: NodeExecutionContext<TConfig>;
674
- }>): Promise<TOutputJson$1> | TOutputJson$1;
790
+ execute(args: RunnableNodeExecuteArgs<TConfig, TInputJson$1>): Promise<unknown> | unknown;
675
791
  }
792
+ /** @deprecated Use {@link RunnableNode} */
793
+ type ItemNode<TConfig extends RunnableNodeConfig<any, any> = RunnableNodeConfig<any, any>, TInputJson$1 = unknown, TOutputJson$1 = unknown> = RunnableNode<TConfig, TInputJson$1, TOutputJson$1>;
676
794
  interface MultiInputNode<TConfig extends NodeConfigBase = NodeConfigBase> {
677
795
  kind: "node";
678
- outputPorts: ReadonlyArray<OutputPortKey>;
796
+ /**
797
+ * Declared output ports (typically `["main"]`).
798
+ *
799
+ * Prefer describing ports for authoring/canvas via {@link NodeConfigBase.declaredOutputPorts}.
800
+ * Engine defaults to `["main"]` when omitted.
801
+ */
802
+ outputPorts?: ReadonlyArray<OutputPortKey>;
679
803
  executeMulti(inputsByPort: NodeInputsByPort, ctx: NodeExecutionContext<TConfig>): Promise<NodeOutputs>;
680
804
  }
681
805
  type TriggerSetupStateFor<TConfig extends TriggerNodeConfig<any, any>> = TriggerNodeSetupState<TConfig>;
@@ -805,6 +929,34 @@ interface EngineDeps {
805
929
  triggerRuntimeDiagnostics?: TriggerRuntimeDiagnostics;
806
930
  }
807
931
  //#endregion
932
+ //#region src/contracts/retryPolicySpec.types.d.ts
933
+ /**
934
+ * In-process retry policy for runnable nodes. Serialized configs use the same
935
+ * `kind` discriminator (`JSON.stringify` / persisted workflows).
936
+ *
937
+ * `maxAttempts` is the total number of tries including the first (e.g. 3 means up to 2 delays after failures).
938
+ */
939
+ type RetryPolicySpec = NoneRetryPolicySpec | FixedRetryPolicySpec | ExponentialRetryPolicySpec;
940
+ interface NoneRetryPolicySpec {
941
+ readonly kind: "none";
942
+ }
943
+ interface FixedRetryPolicySpec {
944
+ readonly kind: "fixed";
945
+ /** Total attempts including the first execution. Must be >= 1. */
946
+ readonly maxAttempts: number;
947
+ readonly delayMs: number;
948
+ }
949
+ interface ExponentialRetryPolicySpec {
950
+ readonly kind: "exponential";
951
+ /** Total attempts including the first execution. Must be >= 1. */
952
+ readonly maxAttempts: number;
953
+ readonly initialDelayMs: number;
954
+ readonly multiplier: number;
955
+ readonly maxDelayMs?: number;
956
+ /** When true, each delay is multiplied by a random factor in [1, 1.2). */
957
+ readonly jitter?: boolean;
958
+ }
959
+ //#endregion
808
960
  //#region src/contracts/workflowTypes.d.ts
809
961
  type WorkflowId = string;
810
962
  type NodeId = string;
@@ -818,6 +970,8 @@ interface JsonObject {
818
970
  }
819
971
  type JsonValue = JsonPrimitive | JsonObject | JsonArray;
820
972
  type JsonArray = ReadonlyArray<JsonValue>;
973
+ /** JSON value that is not a top-level array (nested arrays inside objects are allowed). */
974
+ type JsonNonArray = JsonPrimitive | JsonObject;
821
975
  interface Edge {
822
976
  from: {
823
977
  nodeId: NodeId;
@@ -887,65 +1041,42 @@ interface NodeConfigBase {
887
1041
  * main batches skip downstream execution and propagate the empty path.
888
1042
  */
889
1043
  readonly continueWhenEmptyOutput?: boolean;
1044
+ /**
1045
+ * Declared I/O port names for canvas authoring (unioned with ports inferred from edges).
1046
+ * Use for dynamic routers (Switch) and future error ports.
1047
+ */
1048
+ readonly declaredOutputPorts?: ReadonlyArray<OutputPortKey>;
1049
+ readonly declaredInputPorts?: ReadonlyArray<InputPortKey>;
890
1050
  getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
891
1051
  }
892
1052
  declare const runnableNodeInputType: unique symbol;
893
1053
  declare const runnableNodeOutputType: unique symbol;
894
- /** Phantom: JSON shape on the wire from upstream before {@link RunnableNodeConfig.mapInput}. */
895
- declare const runnableNodeWireType: unique symbol;
896
1054
  declare const triggerNodeOutputType: unique symbol;
1055
+ type LineageCarryPolicy = "emitOnly" | "carryThrough";
897
1056
  /**
898
- * Read-only execution slice passed to {@link RunnableNodeConfig.mapInput} (aligned with the engine’s
899
- * node execution context for `runId`, `data`, etc.). Use **`ctx.data`** to read **any completed** upstream
900
- * node’s outputs in this run (e.g. `ctx.data.getOutputItems(nodeIdA, "main")` while mapping at D), not only
901
- * the immediate predecessor’s {@link ItemInputMapperArgs.item}.
902
- */
903
- interface ItemInputMapperContext {
904
- readonly runId: RunId;
905
- readonly workflowId: WorkflowId;
906
- /** Node whose activation is being prepared (the consumer of `mapInput`). */
907
- readonly nodeId: NodeId;
908
- readonly activationId: NodeActivationId;
909
- readonly parent?: ParentExecutionRef;
910
- readonly data: RunDataSnapshot;
911
- }
912
- /**
913
- * Arguments for optional per-item input mapping applied by the engine before Zod validation.
1057
+ * Runnable node: **`TInputJson`** is what **`inputSchema`** validates on **`item.json`** (the wire payload).
1058
+ * **`TOutputJson`** is emitted `item.json` on outputs.
914
1059
  */
915
- interface ItemInputMapperArgs<TWireJson$1 = unknown> {
916
- readonly item: Item<TWireJson$1>;
917
- readonly itemIndex: number;
918
- readonly items: Items<TWireJson$1>;
919
- readonly ctx: ItemInputMapperContext;
920
- }
921
- /**
922
- * Per-item mapper before Zod validation. Uses a **bivariant** method signature so concrete
923
- * `ItemInputMapper<SpecificWire, TIn>` remains assignable to `RunnableNodeConfig` fields typed as
924
- * `ItemInputMapper<unknown, unknown>` (same pattern as React-style callbacks).
925
- */
926
- type ItemInputMapper<TWireJson$1 = unknown, TInputJson$1 = unknown> = {
927
- bivarianceHack(args: ItemInputMapperArgs<TWireJson$1>): TInputJson$1 | Promise<TInputJson$1>;
928
- }["bivarianceHack"];
929
- /**
930
- * Runnable node: **`TInputJson`** is the payload after `mapInput` (if any) + Zod validation — what {@link ItemNode}
931
- * `executeOne` receives. **`TOutputJson`** is emitted `item.json` on outputs. **`TWireJson`** is `item.json` from
932
- * upstream **before** `mapInput`; it defaults to **`TInputJson`** when there is no mapper or wire differs from execute input.
933
- */
934
- interface RunnableNodeConfig<TInputJson$1 = unknown, TOutputJson$1 = unknown, TWireJson$1 = TInputJson$1> extends NodeConfigBase {
1060
+ interface RunnableNodeConfig<TInputJson$1 = unknown, TOutputJson$1 = unknown> extends NodeConfigBase {
935
1061
  readonly kind: "node";
936
1062
  readonly [runnableNodeInputType]?: TInputJson$1;
937
1063
  readonly [runnableNodeOutputType]?: TOutputJson$1;
938
- readonly [runnableNodeWireType]?: TWireJson$1;
939
1064
  /**
940
- * Optional Zod input contract for {@link ItemNode} when not set on the node class.
1065
+ * Optional Zod input contract for {@link RunnableNode} when not set on the node class.
941
1066
  * Resolution order: node instance `inputSchema`, then config `inputSchema`, then `z.unknown()`.
942
1067
  */
943
1068
  readonly inputSchema?: ZodType<TInputJson$1>;
944
1069
  /**
945
- * Optional per-item mapper: engine applies it before validating against the node’s `inputSchema`.
946
- * When omitted, the engine validates `item.json` directly.
1070
+ * Overrides default lineage propagation for `execute` outputs (binary/meta/paired).
1071
+ * Routers with multiple {@link RunnableNode#outputPorts} default to **`carryThrough`**; others default to **`emitOnly`**.
1072
+ */
1073
+ readonly lineageCarry?: LineageCarryPolicy;
1074
+ /**
1075
+ * When an activation receives **zero** input items, the engine normally runs `execute` zero times.
1076
+ * Set to **`runOnce`** to run `execute` once with an empty `items` batch (and a synthetic wire item for schema parsing).
1077
+ * Used by batch-style callback nodes (built-in `Callback`) so `callback([], ctx)` still runs.
947
1078
  */
948
- readonly mapInput?: ItemInputMapper<TWireJson$1, TInputJson$1>;
1079
+ readonly emptyBatchExecution?: "skip" | "runOnce";
949
1080
  }
950
1081
  declare const triggerNodeSetupStateType: unique symbol;
951
1082
  interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonValue | undefined = undefined> extends NodeConfigBase {
@@ -953,9 +1084,8 @@ interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonV
953
1084
  readonly [triggerNodeOutputType]?: TOutputJson$1;
954
1085
  readonly [triggerNodeSetupStateType]?: TSetupState$1;
955
1086
  }
956
- type RunnableNodeInputJson<TConfig extends RunnableNodeConfig<any, any, any>> = TConfig extends RunnableNodeConfig<infer TInputJson, any, any> ? TInputJson : never;
957
- type RunnableNodeWireJson<TConfig extends RunnableNodeConfig<any, any, any>> = TConfig extends RunnableNodeConfig<any, any, infer TWireJson> ? TWireJson : never;
958
- type RunnableNodeOutputJson<TConfig extends RunnableNodeConfig<any, any, any>> = TConfig extends RunnableNodeConfig<any, infer TOutputJson, any> ? TOutputJson : never;
1087
+ type RunnableNodeInputJson<TConfig extends RunnableNodeConfig<any, any>> = TConfig extends RunnableNodeConfig<infer TInputJson, any> ? TInputJson : never;
1088
+ type RunnableNodeOutputJson<TConfig extends RunnableNodeConfig<any, any>> = TConfig extends RunnableNodeConfig<any, infer TOutputJson> ? TOutputJson : never;
959
1089
  type TriggerNodeOutputJson<TConfig extends TriggerNodeConfig<any, any>> = TConfig extends TriggerNodeConfig<infer TOutputJson, any> ? TOutputJson : never;
960
1090
  type TriggerNodeSetupState<TConfig extends TriggerNodeConfig<any, any>> = TConfig extends TriggerNodeConfig<any, infer TSetupState> ? TSetupState : never;
961
1091
  interface NodeDefinition {
@@ -1099,149 +1229,6 @@ interface WorkflowPolicyRuntimeDefaults {
1099
1229
  readonly storagePolicy?: WorkflowStoragePolicyMode;
1100
1230
  }
1101
1231
  //#endregion
1102
- //#region src/contracts/credentialTypes.d.ts
1103
- type CredentialTypeId = string;
1104
- type CredentialInstanceId = string;
1105
- type CredentialMaterialSourceKind = "db" | "env" | "code";
1106
- type CredentialSetupStatus = "draft" | "ready";
1107
- type CredentialHealthStatus = "unknown" | "healthy" | "failing";
1108
- type CredentialFieldSchema = Readonly<{
1109
- key: string;
1110
- label: string;
1111
- type: "string" | "password" | "textarea" | "json" | "boolean";
1112
- required?: true;
1113
- order?: number;
1114
- placeholder?: string;
1115
- helpText?: string;
1116
- /** When set, host resolves this field from process.env at runtime; env wins over stored values. */
1117
- envVarName?: string;
1118
- /**
1119
- * When set, the dialog shows a copy action for this exact string (e.g. a static OAuth redirect URI
1120
- * pattern or documentation URL). Do not use for secret values.
1121
- */
1122
- copyValue?: string;
1123
- /** Accessible label for the copy control (default: Copy). */
1124
- copyButtonLabel?: string;
1125
- }>;
1126
- type CredentialRequirement = Readonly<{
1127
- slotKey: string;
1128
- label: string;
1129
- acceptedTypes: ReadonlyArray<CredentialTypeId>;
1130
- optional?: true;
1131
- helpText?: string;
1132
- helpUrl?: string;
1133
- }>;
1134
- type CredentialBindingKey = Readonly<{
1135
- workflowId: WorkflowId;
1136
- nodeId: NodeId;
1137
- slotKey: string;
1138
- }>;
1139
- type CredentialBinding = Readonly<{
1140
- key: CredentialBindingKey;
1141
- instanceId: CredentialInstanceId;
1142
- updatedAt: string;
1143
- }>;
1144
- type CredentialHealth = Readonly<{
1145
- status: CredentialHealthStatus;
1146
- message?: string;
1147
- testedAt?: string;
1148
- expiresAt?: string;
1149
- details?: Readonly<Record<string, unknown>>;
1150
- }>;
1151
- type OAuth2ProviderFromPublicConfig = Readonly<{
1152
- authorizeUrlFieldKey: string;
1153
- tokenUrlFieldKey: string;
1154
- userInfoUrlFieldKey?: string;
1155
- }>;
1156
- type CredentialOAuth2AuthDefinition = Readonly<{
1157
- kind: "oauth2";
1158
- providerId: string;
1159
- scopes: ReadonlyArray<string>;
1160
- clientIdFieldKey?: string;
1161
- clientSecretFieldKey?: string;
1162
- } | {
1163
- kind: "oauth2";
1164
- providerFromPublicConfig: OAuth2ProviderFromPublicConfig;
1165
- scopes: ReadonlyArray<string>;
1166
- clientIdFieldKey?: string;
1167
- clientSecretFieldKey?: string;
1168
- }>;
1169
- type CredentialAuthDefinition = CredentialOAuth2AuthDefinition;
1170
- type CredentialTypeDefinition = Readonly<{
1171
- typeId: CredentialTypeId;
1172
- displayName: string;
1173
- description?: string;
1174
- publicFields?: ReadonlyArray<CredentialFieldSchema>;
1175
- secretFields?: ReadonlyArray<CredentialFieldSchema>;
1176
- supportedSourceKinds?: ReadonlyArray<CredentialMaterialSourceKind>;
1177
- auth?: CredentialAuthDefinition;
1178
- }>;
1179
- /**
1180
- * JSON-shaped credential field bag (public config, resolved secret material, etc.).
1181
- */
1182
- type CredentialJsonRecord = Readonly<Record<string, unknown>>;
1183
- /**
1184
- * Persisted credential instance with typed `publicConfig`.
1185
- * Hosts may specialize `secretRef` with a stricter union while remaining
1186
- * assignable here for session/test callbacks.
1187
- */
1188
- type CredentialInstanceRecord<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord> = Readonly<{
1189
- instanceId: CredentialInstanceId;
1190
- typeId: CredentialTypeId;
1191
- displayName: string;
1192
- sourceKind: CredentialMaterialSourceKind;
1193
- publicConfig: TPublicConfig;
1194
- secretRef: CredentialJsonRecord;
1195
- tags: ReadonlyArray<string>;
1196
- setupStatus: CredentialSetupStatus;
1197
- createdAt: string;
1198
- updatedAt: string;
1199
- }>;
1200
- /**
1201
- * Arguments passed to `CredentialType.createSession` and `CredentialType.test`.
1202
- * Declare `TPublicConfig` / `TMaterial` on `CredentialType` so implementations are checked
1203
- * against your credential shapes (similar to `NodeExecutionContext.config` for nodes).
1204
- */
1205
- type CredentialSessionFactoryArgs<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord> = Readonly<{
1206
- instance: CredentialInstanceRecord<TPublicConfig>;
1207
- material: TMaterial;
1208
- publicConfig: TPublicConfig;
1209
- }>;
1210
- type CredentialSessionFactory<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord, TSession = unknown> = (args: CredentialSessionFactoryArgs<TPublicConfig, TMaterial>) => Promise<TSession>;
1211
- type CredentialHealthTester<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord> = (args: CredentialSessionFactoryArgs<TPublicConfig, TMaterial>) => Promise<CredentialHealth>;
1212
- /**
1213
- * Full credential type implementation: `definition` (UI/schema), `createSession`, and `test`.
1214
- * Use this at registration and config boundaries; `CredentialTypeDefinition` is only the schema slice.
1215
- */
1216
- type CredentialType<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord, TSession = unknown> = Readonly<{
1217
- definition: CredentialTypeDefinition;
1218
- createSession: CredentialSessionFactory<TPublicConfig, TMaterial, TSession>;
1219
- test: CredentialHealthTester<TPublicConfig, TMaterial>;
1220
- }>;
1221
- /**
1222
- * Credential type with unspecified generics — used for `CodemationConfig.credentialTypes`, the host registry,
1223
- * and anywhere a concrete `CredentialType<YourPublic, YourMaterial, YourSession>` is placed in a heterogeneous list.
1224
- * Using `any` here avoids unsafe `as` casts while keeping typed `satisfies CredentialType<…>` definitions.
1225
- */
1226
- type AnyCredentialType = CredentialType<any, any, unknown>;
1227
- interface CredentialSessionService {
1228
- getSession<TSession = unknown>(args: Readonly<{
1229
- workflowId: WorkflowId;
1230
- nodeId: NodeId;
1231
- slotKey: string;
1232
- }>): Promise<TSession>;
1233
- }
1234
- interface CredentialTypeRegistry {
1235
- listTypes(): ReadonlyArray<CredentialTypeDefinition>;
1236
- getType(typeId: CredentialTypeId): CredentialTypeDefinition | undefined;
1237
- }
1238
- declare class CredentialUnboundError extends Error {
1239
- readonly bindingKey: CredentialBindingKey;
1240
- readonly acceptedTypes: ReadonlyArray<CredentialTypeId>;
1241
- constructor(bindingKey: CredentialBindingKey, acceptedTypes?: ReadonlyArray<CredentialTypeId>);
1242
- private static createMessage;
1243
- }
1244
- //#endregion
1245
1232
  //#region src/orchestration/Engine.d.ts
1246
1233
  interface EngineTriggerRuntime {
1247
1234
  startTriggers(): Promise<void>;
@@ -1444,5 +1431,5 @@ declare class RunIntentService {
1444
1431
  private createWebhookExecutionOptions;
1445
1432
  }
1446
1433
  //#endregion
1447
- export { NodeKind as $, PersistedMutableNodeState as $n, ExecutionContextFactory as $t, BinaryPreviewKind as A, WorkflowRunnerService as An, container as Ar, WorkflowPrunePolicySpec as At, JsonArray as B, AllWorkflowsActiveWorkflowActivationPolicy as Bn, CoreTokens as Br, triggerNodeSetupStateType as Bt, CredentialTypeDefinition as C, TriggerSetupContext as Cn, Container as Cr, WorkflowErrorHandler as Ct, OAuth2ProviderFromPublicConfig as D, WorkflowNodeInstanceFactory as Dn, Lifecycle as Dr, WorkflowId as Dt, CredentialUnboundError as E, TriggerTestItemsContext as En, InjectionToken$1 as Er, WorkflowGraphFactory as Et, ItemBinary as F, WebhookControlSignal as Fn, instanceCachingFactory as Fr, branchRef as Ft, NodeActivationId as G, CurrentStateExecutionRequest as Gn, RunEventBus as Gr, BinaryStorageStatResult as Gt, JsonPrimitive as H, ConnectionInvocationAppendArgs as Hn, EngineExecutionLimitsPolicy as Hr, BinaryBody as Ht, ItemInputMapper as I, WebhookInvocationMatch as In, instancePerContainerCachingFactory as Ir, runnableNodeInputType as It, NodeDefinition as J, NodeExecutionError as Jn, FixedRetryPolicySpec as Jr, EngineDeps as Jt, NodeConfigBase as K, EngineRunCounters as Kn, RunEventSubscription as Kr, BinaryStorageWriteRequest as Kt, ItemInputMapperArgs as L, WebhookTriggerMatcher as Ln, predicateAwareClassFactory as Lr, runnableNodeOutputType as Lt, ExecutionMode as M, WorkflowSnapshotResolver as Mn, inject as Mr, WorkflowStoragePolicyMode as Mt, InputPortKey as N, HttpMethod as Nn, injectAll as Nr, WorkflowStoragePolicyResolver as Nt, ActivationIdFactory as O, WorkflowRepository as On, RegistrationOptions as Or, WorkflowNodeConnection as Ot, Item as P, TriggerInstanceId as Pn, injectable as Pr, WorkflowStoragePolicySpec as Pt, NodeId as Q, PendingNodeExecution as Qn, ExecutionContext as Qt, ItemInputMapperContext as R, WebhookTriggerResolution as Rn, registry as Rr, runnableNodeWireType as Rt, CredentialType as S, TriggerRuntimeDiagnostics as Sn, WorkflowExecutionRepository as Sr, WorkflowErrorContext as St, CredentialTypeRegistry as T, TriggerSetupStateRepository as Tn, Disposable as Tr, WorkflowGraph as Tt, JsonValue as U, ConnectionInvocationId as Un, EngineExecutionLimitsPolicyConfig as Ur, BinaryStorage as Ut, JsonObject as V, WorkflowActivationPolicy as Vn, ENGINE_EXECUTION_LIMITS_DEFAULTS as Vr, BinaryAttachmentCreateRequest as Vt, MutableRunData as W, ConnectionInvocationRecord as Wn, RunEvent as Wr, BinaryStorageReadResult as Wt, NodeErrorHandlerArgs as X, NodeExecutionStatus as Xn, RetryPolicySpec as Xr, ExecutableTriggerNode as Xt, NodeErrorHandler as Y, NodeExecutionSnapshot as Yn, NoneRetryPolicySpec as Yr, EngineHost as Yt, NodeErrorHandlerSpec as Z, NodeInputsByPort as Zn, ExecutionBinaryService as Zt, CredentialRequirement as _, PersistedTriggerSetupState as _n, RunStopCondition as _r, TriggerNodeConfig as _t, CredentialAuthDefinition as a, NodeActivationReceipt as an, PersistedWorkflowSnapshotNode as ar, PairedItemRef as at, CredentialSessionService as b, TriggerCleanupHandle as bn, WorkflowExecutionListingRepository as br, UpstreamRefPlaceholder as bt, CredentialFieldSchema as c, NodeActivationScheduler as cn, RunCompletionNotifier as cr, PersistedTokenId as ct, CredentialHealthTester as d, NodeExecutionRequest as dn, RunExecutionOptions as dr, RunId as dt, ItemNode as en, PersistedMutableRunState as er, NodeOffloadPolicy as et, CredentialInstanceId as f, NodeExecutionRequestHandler as fn, RunPruneCandidate as fr, RunIdFactory as ft, CredentialOAuth2AuthDefinition as g, NodeResolver as gn, RunStatus as gr, RunnableNodeWireJson as gt, CredentialMaterialSourceKind as h, NodeExecutor as hn, RunStateResetRequest as hr, RunnableNodeOutputJson as ht, AnyCredentialType as i, NodeActivationContinuation as in, PersistedWorkflowSnapshot as ir, OutputPortKey as it, Edge as j, WorkflowSnapshotFactory as jn, delay as jr, WorkflowStoragePolicyDecisionArgs as jt, BinaryAttachment as k, WorkflowRunnerResolver as kn, TypeToken as kr, WorkflowPolicyRuntimeDefaults as kt, CredentialHealth as l, NodeBinaryAttachmentService as ln, RunCurrentState as lr, RunDataFactory as lt, CredentialJsonRecord as m, NodeExecutionStatePublisher as mn, RunResult as mr, RunnableNodeInputJson as mt, InMemoryLiveWorkflowRepository as n, MultiInputNode as nn, PersistedRunSchedulingState as nr, NodeRef as nt, CredentialBinding as o, NodeActivationRequest as on, PersistedWorkflowTokenRegistryLike as or, ParentExecutionRef as ot, CredentialInstanceRecord as p, NodeExecutionScheduler as pn, RunQueueEntry as pr, RunnableNodeConfig as pt, NodeConnectionName as q, ExecutionFrontierPlan as qn, ExponentialRetryPolicySpec as qr, BinaryStorageWriteResult as qt, Engine as r, Node as rn, PersistedRunState as rr, NodeSchedulerDecision as rt, CredentialBindingKey as s, NodeActivationRequestBase as sn, PinnedNodeOutputsByPort as sr, PersistedRunPolicySnapshot as st, RunIntentService as t, LiveWorkflowRepository as tn, PersistedRunControlState as tr, NodeOutputs as tt, CredentialHealthStatus as u, NodeExecutionContext as un, RunEventPublisherDeps as ur, RunDataSnapshot as ut, CredentialSessionFactory as v, PreparedNodeActivationDispatch as vn, RunSummary as vr, TriggerNodeOutputJson as vt, CredentialTypeId as w, TriggerSetupStateFor as wn, DependencyContainer$1 as wr, WorkflowErrorHandlerSpec as wt, CredentialSetupStatus as x, TriggerNode as xn, WorkflowExecutionPruneRepository as xr, WorkflowDefinition as xt, CredentialSessionFactoryArgs as y, TestableTriggerNode as yn, WebhookRunResult as yr, TriggerNodeSetupState as yt, Items as z, WebhookTriggerRoutingDiagnostics as zn, singleton as zr, triggerNodeOutputType as zt };
1448
- //# sourceMappingURL=RunIntentService-Bkg4oYrM.d.cts.map
1434
+ export { WorkflowGraph as $, WorkflowExecutionPruneRepository as $n, TriggerNode as $t, NodeOutputs as A, PendingNodeExecution as An, RegistrationOptions as Ar, ExecutionContextFactory as At, RunId as B, RunCompletionNotifier as Bn, registry as Br, NodeExecutionContext as Bt, NodeDefinition as C, CurrentStateExecutionRequest as Cn, CredentialUnboundError as Cr, BinaryStorageWriteRequest as Ct, NodeId as D, NodeExecutionSnapshot as Dn, Disposable as Dr, ExecutableTriggerNode as Dt, NodeErrorHandlerSpec as E, NodeExecutionError as En, DependencyContainer$1 as Er, EngineHost as Et, ParentExecutionRef as F, PersistedRunState as Fn, injectAll as Fr, NodeActivationReceipt as Ft, TriggerNodeConfig as G, RunQueueEntry as Gn, EngineExecutionLimitsPolicyConfig as Gr, NodeExecutor as Gt, RunnableNodeConfig as H, RunEventPublisherDeps as Hn, CoreTokens as Hr, NodeExecutionRequestHandler as Ht, PersistedRunPolicySnapshot as I, PersistedWorkflowSnapshot as In, injectable as Ir, NodeActivationRequest as It, UpstreamRefPlaceholder as J, RunStatus as Jn, RunEventSubscription as Jr, PreparedNodeActivationDispatch as Jt, TriggerNodeOutputJson as K, RunResult as Kn, RunEvent as Kr, NodeResolver as Kt, PersistedTokenId as L, PersistedWorkflowSnapshotNode as Ln, instanceCachingFactory as Lr, NodeActivationRequestBase as Lt, NodeSchedulerDecision as M, PersistedMutableRunState as Mn, container as Mr, LiveWorkflowRepository as Mt, OutputPortKey as N, PersistedRunControlState as Nn, delay as Nr, MultiInputNode as Nt, NodeKind as O, NodeExecutionStatus as On, InjectionToken$1 as Or, ExecutionBinaryService as Ot, PairedItemRef as P, PersistedRunSchedulingState as Pn, inject as Pr, NodeActivationContinuation as Pt, WorkflowErrorHandlerSpec as Q, WorkflowExecutionListingRepository as Qn, TriggerCleanupHandle as Qt, RunDataFactory as R, PersistedWorkflowTokenRegistryLike as Rn, instancePerContainerCachingFactory as Rr, NodeActivationScheduler as Rt, NodeConnectionName as S, ConnectionInvocationRecord as Sn, CredentialTypeRegistry as Sr, BinaryStorageStatResult as St, NodeErrorHandlerArgs as T, ExecutionFrontierPlan as Tn, Container as Tr, EngineDeps as Tt, RunnableNodeInputJson as U, RunExecutionOptions as Un, ENGINE_EXECUTION_LIMITS_DEFAULTS as Ur, NodeExecutionScheduler as Ut, RunIdFactory as V, RunCurrentState as Vn, singleton as Vr, NodeExecutionRequest as Vt, RunnableNodeOutputJson as W, RunPruneCandidate as Wn, EngineExecutionLimitsPolicy as Wr, NodeExecutionStatePublisher as Wt, WorkflowErrorContext as X, RunSummary as Xn, RunnableNodeExecuteArgs as Xt, WorkflowDefinition as Y, RunStopCondition as Yn, RunnableNode as Yt, WorkflowErrorHandler as Z, WebhookRunResult as Zn, TestableTriggerNode as Zt, JsonValue as _, WebhookTriggerRoutingDiagnostics as _n, CredentialSessionService as _r, RetryPolicySpec as _t, BinaryAttachment as a, WorkflowNodeInstanceFactory as an, CredentialFieldSchema as ar, WorkflowStoragePolicyDecisionArgs as at, NodeActivationId as b, ConnectionInvocationAppendArgs as bn, CredentialTypeDefinition as br, BinaryStorage as bt, ExecutionMode as c, WorkflowRunnerService as cn, CredentialHealthTester as cr, WorkflowStoragePolicySpec as ct, ItemBinary as d, HttpMethod as dn, CredentialJsonRecord as dr, runnableNodeOutputType as dt, TriggerRuntimeDiagnostics as en, WorkflowExecutionRepository as er, WorkflowGraphFactory as et, Items as f, TriggerInstanceId as fn, CredentialMaterialSourceKind as fr, triggerNodeOutputType as ft, JsonPrimitive as g, WebhookTriggerResolution as gn, CredentialSessionFactoryArgs as gr, NoneRetryPolicySpec as gt, JsonObject as h, WebhookTriggerMatcher as hn, CredentialSessionFactory as hr, FixedRetryPolicySpec as ht, ActivationIdFactory as i, TriggerTestItemsContext as in, CredentialBindingKey as ir, WorkflowPrunePolicySpec as it, NodeRef as j, PersistedMutableNodeState as jn, TypeToken as jr, ItemNode as jt, NodeOffloadPolicy as k, NodeInputsByPort as kn, Lifecycle as kr, ExecutionContext as kt, InputPortKey as l, WorkflowSnapshotFactory as ln, CredentialInstanceId as lr, branchRef as lt, JsonNonArray as m, WebhookInvocationMatch as mn, CredentialRequirement as mr, ExponentialRetryPolicySpec as mt, InMemoryLiveWorkflowRepository as n, TriggerSetupStateFor as nn, CredentialAuthDefinition as nr, WorkflowNodeConnection as nt, BinaryPreviewKind as o, WorkflowRepository as on, CredentialHealth as or, WorkflowStoragePolicyMode as ot, JsonArray as p, WebhookControlSignal as pn, CredentialOAuth2AuthDefinition as pr, triggerNodeSetupStateType as pt, TriggerNodeSetupState as q, RunStateResetRequest as qn, RunEventBus as qr, PersistedTriggerSetupState as qt, Engine as r, TriggerSetupStateRepository as rn, CredentialBinding as rr, WorkflowPolicyRuntimeDefaults as rt, Edge as s, WorkflowRunnerResolver as sn, CredentialHealthStatus as sr, WorkflowStoragePolicyResolver as st, RunIntentService as t, TriggerSetupContext as tn, AnyCredentialType as tr, WorkflowId as tt, Item as u, WorkflowSnapshotResolver as un, CredentialInstanceRecord as ur, runnableNodeInputType as ut, LineageCarryPolicy as v, AllWorkflowsActiveWorkflowActivationPolicy as vn, CredentialSetupStatus as vr, BinaryAttachmentCreateRequest as vt, NodeErrorHandler as w, EngineRunCounters as wn, OAuth2ProviderFromPublicConfig as wr, BinaryStorageWriteResult as wt, NodeConfigBase as x, ConnectionInvocationId as xn, CredentialTypeId as xr, BinaryStorageReadResult as xt, MutableRunData as y, WorkflowActivationPolicy as yn, CredentialType as yr, BinaryBody as yt, RunDataSnapshot as z, PinnedNodeOutputsByPort as zn, predicateAwareClassFactory as zr, NodeBinaryAttachmentService as zt };
1435
+ //# sourceMappingURL=RunIntentService-BvlTpmEb.d.cts.map