@codemation/core 0.3.0 → 0.5.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.
- package/CHANGELOG.md +23 -0
- package/dist/{EngineRuntimeRegistration.types-Bjeo7Sfq.d.ts → EngineRuntimeRegistration.types-BtTZolK0.d.ts} +2 -2
- package/dist/{EngineWorkflowRunnerService-Dd4yD31l.d.cts → EngineWorkflowRunnerService-Ddl0fekp.d.cts} +2 -2
- package/dist/{InMemoryRunDataFactory-OUzDmAHt.d.cts → InMemoryRunDataFactory-i-u2yngD.d.cts} +11 -3
- package/dist/{RunIntentService-Bkg4oYrM.d.cts → RunIntentService-Cjx-glgz.d.cts} +232 -237
- package/dist/{RunIntentService-BAKikN8h.d.ts → RunIntentService-Dkr4YwN8.d.ts} +313 -259
- package/dist/bootstrap/index.cjs +2 -2
- package/dist/bootstrap/index.d.cts +19 -7
- package/dist/bootstrap/index.d.ts +3 -3
- package/dist/bootstrap/index.js +2 -2
- package/dist/{bootstrap-DwS5S7s9.cjs → bootstrap-DHH2uo-W.cjs} +4 -2
- package/dist/bootstrap-DHH2uo-W.cjs.map +1 -0
- package/dist/{bootstrap-BD6CobHl.js → bootstrap-DbUlOl11.js} +4 -2
- package/dist/bootstrap-DbUlOl11.js.map +1 -0
- package/dist/{index-uCm9l0nw.d.ts → index-B2v4wtys.d.ts} +62 -34
- package/dist/index.cjs +22 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -42
- package/dist/index.d.ts +3 -3
- package/dist/index.js +13 -16
- package/dist/index.js.map +1 -1
- package/dist/{runtime-Cy-3FTI_.js → runtime-BdH94eBR.js} +502 -123
- package/dist/runtime-BdH94eBR.js.map +1 -0
- package/dist/{runtime-ZJUpWmPH.cjs → runtime-feFn8OmG.cjs} +561 -122
- package/dist/runtime-feFn8OmG.cjs.map +1 -0
- package/dist/testing.cjs +40 -36
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +17 -26
- package/dist/testing.d.ts +17 -26
- package/dist/testing.js +40 -36
- package/dist/testing.js.map +1 -1
- package/dist/{workflowActivationPolicy-BzyzXLa_.cjs → workflowActivationPolicy-6V3OJD3N.cjs} +65 -19
- package/dist/workflowActivationPolicy-6V3OJD3N.cjs.map +1 -0
- package/dist/{workflowActivationPolicy-B8HzTk3o.js → workflowActivationPolicy-Td9HTOuD.js} +65 -19
- package/dist/workflowActivationPolicy-Td9HTOuD.js.map +1 -0
- package/package.json +2 -1
- package/src/ai/AgentConfigInspectorFactory.ts +4 -0
- package/src/ai/AgentMessageConfigNormalizerFactory.ts +7 -0
- package/src/ai/AgentToolFactory.ts +2 -2
- package/src/ai/AiHost.ts +11 -10
- package/src/ai/NodeBackedToolConfig.ts +1 -1
- package/src/authoring/defineNode.types.ts +48 -72
- package/src/authoring/index.ts +1 -1
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +8 -0
- package/src/contracts/credentialTypes.ts +9 -0
- package/src/contracts/emitPorts.ts +27 -0
- package/src/contracts/index.ts +3 -0
- package/src/contracts/itemMeta.ts +11 -0
- package/src/contracts/itemValue.ts +147 -0
- package/src/contracts/runtimeTypes.ts +39 -22
- package/src/contracts/workflowTypes.ts +26 -56
- package/src/execution/FanInMergeByOriginMerger.ts +67 -0
- package/src/execution/ItemValueResolver.ts +27 -0
- package/src/execution/NodeActivationRequestComposer.ts +25 -0
- package/src/execution/NodeActivationRequestInputPreparer.ts +57 -25
- package/src/execution/NodeExecutor.ts +199 -30
- package/src/execution/NodeOutputNormalizer.ts +90 -0
- package/src/execution/index.ts +2 -0
- package/src/index.ts +2 -0
- package/src/orchestration/NodeExecutionRequestHandlerService.ts +39 -18
- package/src/orchestration/RunContinuationService.ts +11 -17
- package/src/planning/CurrentStateFrontierPlanner.ts +20 -20
- package/src/planning/RunQueuePlanner.ts +56 -19
- package/src/planning/WorkflowTopologyPlanner.ts +57 -33
- package/src/testing/ItemHarnessNode.ts +4 -10
- package/src/testing/ItemHarnessNodeConfig.ts +7 -16
- package/src/testing/RegistrarEngineTestKitFactory.ts +2 -0
- package/src/testing/SubWorkflowRunnerTestNode.ts +28 -43
- package/src/testing/SwitchHarnessNode.ts +54 -0
- package/src/types/index.ts +3 -0
- package/src/workflow/dsl/ChainCursorResolver.ts +68 -23
- package/src/workflow/dsl/WorkflowBuilder.ts +3 -5
- package/src/workflow/dsl/workflowBuilderTypes.ts +5 -8
- package/src/workflowSnapshots/MissingRuntimeNode.ts +4 -4
- package/src/workflowSnapshots/MissingRuntimeNodeConfig.ts +2 -2
- package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +16 -7
- package/dist/bootstrap-BD6CobHl.js.map +0 -1
- package/dist/bootstrap-DwS5S7s9.cjs.map +0 -1
- package/dist/runtime-Cy-3FTI_.js.map +0 -1
- package/dist/runtime-ZJUpWmPH.cjs.map +0 -1
- package/dist/workflowActivationPolicy-B8HzTk3o.js.map +0 -1
- 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,157 @@ 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 CredentialOAuth2ScopesFromPublicConfig = Readonly<{
|
|
161
|
+
presetFieldKey: string;
|
|
162
|
+
presetScopes: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
163
|
+
customPresetKey?: string;
|
|
164
|
+
customScopesFieldKey?: string;
|
|
165
|
+
}>;
|
|
166
|
+
type CredentialOAuth2AuthDefinition = Readonly<{
|
|
167
|
+
kind: "oauth2";
|
|
168
|
+
providerId: string;
|
|
169
|
+
scopes: ReadonlyArray<string>;
|
|
170
|
+
scopesFromPublicConfig?: CredentialOAuth2ScopesFromPublicConfig;
|
|
171
|
+
clientIdFieldKey?: string;
|
|
172
|
+
clientSecretFieldKey?: string;
|
|
173
|
+
} | {
|
|
174
|
+
kind: "oauth2";
|
|
175
|
+
providerFromPublicConfig: OAuth2ProviderFromPublicConfig;
|
|
176
|
+
scopes: ReadonlyArray<string>;
|
|
177
|
+
scopesFromPublicConfig?: CredentialOAuth2ScopesFromPublicConfig;
|
|
178
|
+
clientIdFieldKey?: string;
|
|
179
|
+
clientSecretFieldKey?: string;
|
|
180
|
+
}>;
|
|
181
|
+
type CredentialAuthDefinition = CredentialOAuth2AuthDefinition;
|
|
182
|
+
type CredentialTypeDefinition = Readonly<{
|
|
183
|
+
typeId: CredentialTypeId;
|
|
184
|
+
displayName: string;
|
|
185
|
+
description?: string;
|
|
186
|
+
publicFields?: ReadonlyArray<CredentialFieldSchema>;
|
|
187
|
+
secretFields?: ReadonlyArray<CredentialFieldSchema>;
|
|
188
|
+
supportedSourceKinds?: ReadonlyArray<CredentialMaterialSourceKind>;
|
|
189
|
+
auth?: CredentialAuthDefinition;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* JSON-shaped credential field bag (public config, resolved secret material, etc.).
|
|
193
|
+
*/
|
|
194
|
+
type CredentialJsonRecord = Readonly<Record<string, unknown>>;
|
|
195
|
+
/**
|
|
196
|
+
* Persisted credential instance with typed `publicConfig`.
|
|
197
|
+
* Hosts may specialize `secretRef` with a stricter union while remaining
|
|
198
|
+
* assignable here for session/test callbacks.
|
|
199
|
+
*/
|
|
200
|
+
type CredentialInstanceRecord<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord> = Readonly<{
|
|
201
|
+
instanceId: CredentialInstanceId;
|
|
202
|
+
typeId: CredentialTypeId;
|
|
203
|
+
displayName: string;
|
|
204
|
+
sourceKind: CredentialMaterialSourceKind;
|
|
205
|
+
publicConfig: TPublicConfig;
|
|
206
|
+
secretRef: CredentialJsonRecord;
|
|
207
|
+
tags: ReadonlyArray<string>;
|
|
208
|
+
setupStatus: CredentialSetupStatus;
|
|
209
|
+
createdAt: string;
|
|
210
|
+
updatedAt: string;
|
|
211
|
+
}>;
|
|
212
|
+
/**
|
|
213
|
+
* Arguments passed to `CredentialType.createSession` and `CredentialType.test`.
|
|
214
|
+
* Declare `TPublicConfig` / `TMaterial` on `CredentialType` so implementations are checked
|
|
215
|
+
* against your credential shapes (similar to `NodeExecutionContext.config` for nodes).
|
|
216
|
+
*/
|
|
217
|
+
type CredentialSessionFactoryArgs<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord> = Readonly<{
|
|
218
|
+
instance: CredentialInstanceRecord<TPublicConfig>;
|
|
219
|
+
material: TMaterial;
|
|
220
|
+
publicConfig: TPublicConfig;
|
|
221
|
+
}>;
|
|
222
|
+
type CredentialSessionFactory<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord, TSession = unknown> = (args: CredentialSessionFactoryArgs<TPublicConfig, TMaterial>) => Promise<TSession>;
|
|
223
|
+
type CredentialHealthTester<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord> = (args: CredentialSessionFactoryArgs<TPublicConfig, TMaterial>) => Promise<CredentialHealth>;
|
|
224
|
+
/**
|
|
225
|
+
* Full credential type implementation: `definition` (UI/schema), `createSession`, and `test`.
|
|
226
|
+
* Use this at registration and config boundaries; `CredentialTypeDefinition` is only the schema slice.
|
|
227
|
+
*/
|
|
228
|
+
type CredentialType<TPublicConfig extends CredentialJsonRecord = CredentialJsonRecord, TMaterial extends CredentialJsonRecord = CredentialJsonRecord, TSession = unknown> = Readonly<{
|
|
229
|
+
definition: CredentialTypeDefinition;
|
|
230
|
+
createSession: CredentialSessionFactory<TPublicConfig, TMaterial, TSession>;
|
|
231
|
+
test: CredentialHealthTester<TPublicConfig, TMaterial>;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* Credential type with unspecified generics — used for `CodemationConfig.credentialTypes`, the host registry,
|
|
235
|
+
* and anywhere a concrete `CredentialType<YourPublic, YourMaterial, YourSession>` is placed in a heterogeneous list.
|
|
236
|
+
* Using `any` here avoids unsafe `as` casts while keeping typed `satisfies CredentialType<…>` definitions.
|
|
237
|
+
*/
|
|
238
|
+
type AnyCredentialType = CredentialType<any, any, unknown>;
|
|
239
|
+
interface CredentialSessionService {
|
|
240
|
+
getSession<TSession = unknown>(args: Readonly<{
|
|
241
|
+
workflowId: WorkflowId;
|
|
242
|
+
nodeId: NodeId;
|
|
243
|
+
slotKey: string;
|
|
244
|
+
}>): Promise<TSession>;
|
|
245
|
+
}
|
|
246
|
+
interface CredentialTypeRegistry {
|
|
247
|
+
listTypes(): ReadonlyArray<CredentialTypeDefinition>;
|
|
248
|
+
getType(typeId: CredentialTypeId): CredentialTypeDefinition | undefined;
|
|
249
|
+
}
|
|
250
|
+
declare class CredentialUnboundError extends Error {
|
|
251
|
+
readonly bindingKey: CredentialBindingKey;
|
|
252
|
+
readonly acceptedTypes: ReadonlyArray<CredentialTypeId>;
|
|
253
|
+
constructor(bindingKey: CredentialBindingKey, acceptedTypes?: ReadonlyArray<CredentialTypeId>);
|
|
254
|
+
private static createMessage;
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
135
257
|
//#region src/contracts/runTypes.d.ts
|
|
136
258
|
interface RunExecutionOptions {
|
|
137
259
|
/** Run-intent override: force the inline scheduler and bypass node-level offload decisions. */
|
|
@@ -651,31 +773,41 @@ interface EngineHost {
|
|
|
651
773
|
credentialSessions: CredentialSessionService;
|
|
652
774
|
workflows?: WorkflowRunnerService;
|
|
653
775
|
}
|
|
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
776
|
/**
|
|
660
|
-
*
|
|
661
|
-
* Engine applies
|
|
777
|
+
* Per-item runnable node: return JSON, an array to fan-out on `main`, or {@link emitPorts} for multi-port emission.
|
|
778
|
+
* Engine applies `inputSchema.parse(item.json)` and passes the result as `args.input` (wire `item.json` is unchanged).
|
|
662
779
|
*/
|
|
663
|
-
interface
|
|
780
|
+
interface RunnableNodeExecuteArgs<TConfig extends RunnableNodeConfig<any, any> = RunnableNodeConfig<any, any>, TInputJson$1 = unknown> {
|
|
781
|
+
readonly input: TInputJson$1;
|
|
782
|
+
readonly item: Item;
|
|
783
|
+
readonly itemIndex: number;
|
|
784
|
+
readonly items: Items;
|
|
785
|
+
readonly ctx: NodeExecutionContext<TConfig>;
|
|
786
|
+
}
|
|
787
|
+
interface RunnableNode<TConfig extends RunnableNodeConfig<any, any> = RunnableNodeConfig<any, any>, TInputJson$1 = unknown, _TOutputJson = unknown> {
|
|
664
788
|
readonly kind: "node";
|
|
665
|
-
|
|
789
|
+
/**
|
|
790
|
+
* Declared output ports (e.g. `["main"]`).
|
|
791
|
+
*
|
|
792
|
+
* Prefer describing dynamic router ports (Switch) and fixed multi-ports (If true/false)
|
|
793
|
+
* via {@link NodeConfigBase.declaredOutputPorts}. Engine defaults to `["main"]` when omitted.
|
|
794
|
+
*/
|
|
795
|
+
readonly outputPorts?: ReadonlyArray<OutputPortKey>;
|
|
666
796
|
/** When omitted, engine uses {@link RunnableNodeConfig.inputSchema} or `z.unknown()`. */
|
|
667
797
|
readonly inputSchema?: ZodType<TInputJson$1>;
|
|
668
|
-
|
|
669
|
-
input: TInputJson$1;
|
|
670
|
-
item: Item;
|
|
671
|
-
itemIndex: number;
|
|
672
|
-
items: Items;
|
|
673
|
-
ctx: NodeExecutionContext<TConfig>;
|
|
674
|
-
}>): Promise<TOutputJson$1> | TOutputJson$1;
|
|
798
|
+
execute(args: RunnableNodeExecuteArgs<TConfig, TInputJson$1>): Promise<unknown> | unknown;
|
|
675
799
|
}
|
|
800
|
+
/** @deprecated Use {@link RunnableNode} */
|
|
801
|
+
type ItemNode<TConfig extends RunnableNodeConfig<any, any> = RunnableNodeConfig<any, any>, TInputJson$1 = unknown, TOutputJson$1 = unknown> = RunnableNode<TConfig, TInputJson$1, TOutputJson$1>;
|
|
676
802
|
interface MultiInputNode<TConfig extends NodeConfigBase = NodeConfigBase> {
|
|
677
803
|
kind: "node";
|
|
678
|
-
|
|
804
|
+
/**
|
|
805
|
+
* Declared output ports (typically `["main"]`).
|
|
806
|
+
*
|
|
807
|
+
* Prefer describing ports for authoring/canvas via {@link NodeConfigBase.declaredOutputPorts}.
|
|
808
|
+
* Engine defaults to `["main"]` when omitted.
|
|
809
|
+
*/
|
|
810
|
+
outputPorts?: ReadonlyArray<OutputPortKey>;
|
|
679
811
|
executeMulti(inputsByPort: NodeInputsByPort, ctx: NodeExecutionContext<TConfig>): Promise<NodeOutputs>;
|
|
680
812
|
}
|
|
681
813
|
type TriggerSetupStateFor<TConfig extends TriggerNodeConfig<any, any>> = TriggerNodeSetupState<TConfig>;
|
|
@@ -805,6 +937,34 @@ interface EngineDeps {
|
|
|
805
937
|
triggerRuntimeDiagnostics?: TriggerRuntimeDiagnostics;
|
|
806
938
|
}
|
|
807
939
|
//#endregion
|
|
940
|
+
//#region src/contracts/retryPolicySpec.types.d.ts
|
|
941
|
+
/**
|
|
942
|
+
* In-process retry policy for runnable nodes. Serialized configs use the same
|
|
943
|
+
* `kind` discriminator (`JSON.stringify` / persisted workflows).
|
|
944
|
+
*
|
|
945
|
+
* `maxAttempts` is the total number of tries including the first (e.g. 3 means up to 2 delays after failures).
|
|
946
|
+
*/
|
|
947
|
+
type RetryPolicySpec = NoneRetryPolicySpec | FixedRetryPolicySpec | ExponentialRetryPolicySpec;
|
|
948
|
+
interface NoneRetryPolicySpec {
|
|
949
|
+
readonly kind: "none";
|
|
950
|
+
}
|
|
951
|
+
interface FixedRetryPolicySpec {
|
|
952
|
+
readonly kind: "fixed";
|
|
953
|
+
/** Total attempts including the first execution. Must be >= 1. */
|
|
954
|
+
readonly maxAttempts: number;
|
|
955
|
+
readonly delayMs: number;
|
|
956
|
+
}
|
|
957
|
+
interface ExponentialRetryPolicySpec {
|
|
958
|
+
readonly kind: "exponential";
|
|
959
|
+
/** Total attempts including the first execution. Must be >= 1. */
|
|
960
|
+
readonly maxAttempts: number;
|
|
961
|
+
readonly initialDelayMs: number;
|
|
962
|
+
readonly multiplier: number;
|
|
963
|
+
readonly maxDelayMs?: number;
|
|
964
|
+
/** When true, each delay is multiplied by a random factor in [1, 1.2). */
|
|
965
|
+
readonly jitter?: boolean;
|
|
966
|
+
}
|
|
967
|
+
//#endregion
|
|
808
968
|
//#region src/contracts/workflowTypes.d.ts
|
|
809
969
|
type WorkflowId = string;
|
|
810
970
|
type NodeId = string;
|
|
@@ -818,6 +978,8 @@ interface JsonObject {
|
|
|
818
978
|
}
|
|
819
979
|
type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
820
980
|
type JsonArray = ReadonlyArray<JsonValue>;
|
|
981
|
+
/** JSON value that is not a top-level array (nested arrays inside objects are allowed). */
|
|
982
|
+
type JsonNonArray = JsonPrimitive | JsonObject;
|
|
821
983
|
interface Edge {
|
|
822
984
|
from: {
|
|
823
985
|
nodeId: NodeId;
|
|
@@ -887,65 +1049,42 @@ interface NodeConfigBase {
|
|
|
887
1049
|
* main batches skip downstream execution and propagate the empty path.
|
|
888
1050
|
*/
|
|
889
1051
|
readonly continueWhenEmptyOutput?: boolean;
|
|
1052
|
+
/**
|
|
1053
|
+
* Declared I/O port names for canvas authoring (unioned with ports inferred from edges).
|
|
1054
|
+
* Use for dynamic routers (Switch) and future error ports.
|
|
1055
|
+
*/
|
|
1056
|
+
readonly declaredOutputPorts?: ReadonlyArray<OutputPortKey>;
|
|
1057
|
+
readonly declaredInputPorts?: ReadonlyArray<InputPortKey>;
|
|
890
1058
|
getCredentialRequirements?(): ReadonlyArray<CredentialRequirement>;
|
|
891
1059
|
}
|
|
892
1060
|
declare const runnableNodeInputType: unique symbol;
|
|
893
1061
|
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
1062
|
declare const triggerNodeOutputType: unique symbol;
|
|
1063
|
+
type LineageCarryPolicy = "emitOnly" | "carryThrough";
|
|
897
1064
|
/**
|
|
898
|
-
*
|
|
899
|
-
*
|
|
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.
|
|
1065
|
+
* Runnable node: **`TInputJson`** is what **`inputSchema`** validates on **`item.json`** (the wire payload).
|
|
1066
|
+
* **`TOutputJson`** is emitted `item.json` on outputs.
|
|
914
1067
|
*/
|
|
915
|
-
interface
|
|
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 {
|
|
1068
|
+
interface RunnableNodeConfig<TInputJson$1 = unknown, TOutputJson$1 = unknown> extends NodeConfigBase {
|
|
935
1069
|
readonly kind: "node";
|
|
936
1070
|
readonly [runnableNodeInputType]?: TInputJson$1;
|
|
937
1071
|
readonly [runnableNodeOutputType]?: TOutputJson$1;
|
|
938
|
-
readonly [runnableNodeWireType]?: TWireJson$1;
|
|
939
1072
|
/**
|
|
940
|
-
* Optional Zod input contract for {@link
|
|
1073
|
+
* Optional Zod input contract for {@link RunnableNode} when not set on the node class.
|
|
941
1074
|
* Resolution order: node instance `inputSchema`, then config `inputSchema`, then `z.unknown()`.
|
|
942
1075
|
*/
|
|
943
1076
|
readonly inputSchema?: ZodType<TInputJson$1>;
|
|
944
1077
|
/**
|
|
945
|
-
*
|
|
946
|
-
*
|
|
1078
|
+
* Overrides default lineage propagation for `execute` outputs (binary/meta/paired).
|
|
1079
|
+
* Routers with multiple {@link RunnableNode#outputPorts} default to **`carryThrough`**; others default to **`emitOnly`**.
|
|
1080
|
+
*/
|
|
1081
|
+
readonly lineageCarry?: LineageCarryPolicy;
|
|
1082
|
+
/**
|
|
1083
|
+
* When an activation receives **zero** input items, the engine normally runs `execute` zero times.
|
|
1084
|
+
* Set to **`runOnce`** to run `execute` once with an empty `items` batch (and a synthetic wire item for schema parsing).
|
|
1085
|
+
* Used by batch-style callback nodes (built-in `Callback`) so `callback([], ctx)` still runs.
|
|
947
1086
|
*/
|
|
948
|
-
readonly
|
|
1087
|
+
readonly emptyBatchExecution?: "skip" | "runOnce";
|
|
949
1088
|
}
|
|
950
1089
|
declare const triggerNodeSetupStateType: unique symbol;
|
|
951
1090
|
interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonValue | undefined = undefined> extends NodeConfigBase {
|
|
@@ -953,9 +1092,8 @@ interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonV
|
|
|
953
1092
|
readonly [triggerNodeOutputType]?: TOutputJson$1;
|
|
954
1093
|
readonly [triggerNodeSetupStateType]?: TSetupState$1;
|
|
955
1094
|
}
|
|
956
|
-
type RunnableNodeInputJson<TConfig extends RunnableNodeConfig<any, any
|
|
957
|
-
type
|
|
958
|
-
type RunnableNodeOutputJson<TConfig extends RunnableNodeConfig<any, any, any>> = TConfig extends RunnableNodeConfig<any, infer TOutputJson, any> ? TOutputJson : never;
|
|
1095
|
+
type RunnableNodeInputJson<TConfig extends RunnableNodeConfig<any, any>> = TConfig extends RunnableNodeConfig<infer TInputJson, any> ? TInputJson : never;
|
|
1096
|
+
type RunnableNodeOutputJson<TConfig extends RunnableNodeConfig<any, any>> = TConfig extends RunnableNodeConfig<any, infer TOutputJson> ? TOutputJson : never;
|
|
959
1097
|
type TriggerNodeOutputJson<TConfig extends TriggerNodeConfig<any, any>> = TConfig extends TriggerNodeConfig<infer TOutputJson, any> ? TOutputJson : never;
|
|
960
1098
|
type TriggerNodeSetupState<TConfig extends TriggerNodeConfig<any, any>> = TConfig extends TriggerNodeConfig<any, infer TSetupState> ? TSetupState : never;
|
|
961
1099
|
interface NodeDefinition {
|
|
@@ -1099,149 +1237,6 @@ interface WorkflowPolicyRuntimeDefaults {
|
|
|
1099
1237
|
readonly storagePolicy?: WorkflowStoragePolicyMode;
|
|
1100
1238
|
}
|
|
1101
1239
|
//#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
1240
|
//#region src/orchestration/Engine.d.ts
|
|
1246
1241
|
interface EngineTriggerRuntime {
|
|
1247
1242
|
startTriggers(): Promise<void>;
|
|
@@ -1444,5 +1439,5 @@ declare class RunIntentService {
|
|
|
1444
1439
|
private createWebhookExecutionOptions;
|
|
1445
1440
|
}
|
|
1446
1441
|
//#endregion
|
|
1447
|
-
export {
|
|
1448
|
-
//# sourceMappingURL=RunIntentService-
|
|
1442
|
+
export { WorkflowGraph as $, WorkflowExecutionPruneRepository as $n, TriggerNode as $t, NodeOutputs as A, PendingNodeExecution as An, Lifecycle as Ar, ExecutionContextFactory as At, RunId as B, RunCompletionNotifier as Bn, predicateAwareClassFactory as Br, NodeExecutionContext as Bt, NodeDefinition as C, CurrentStateExecutionRequest as Cn, CredentialTypeRegistry as Cr, BinaryStorageWriteRequest as Ct, NodeId as D, NodeExecutionSnapshot as Dn, DependencyContainer$1 as Dr, ExecutableTriggerNode as Dt, NodeErrorHandlerSpec as E, NodeExecutionError as En, Container as Er, EngineHost as Et, ParentExecutionRef as F, PersistedRunState as Fn, inject as Fr, NodeActivationReceipt as Ft, TriggerNodeConfig as G, RunQueueEntry as Gn, EngineExecutionLimitsPolicy as Gr, NodeExecutor as Gt, RunnableNodeConfig as H, RunEventPublisherDeps as Hn, singleton as Hr, NodeExecutionRequestHandler as Ht, PersistedRunPolicySnapshot as I, PersistedWorkflowSnapshot as In, injectAll as Ir, NodeActivationRequest as It, UpstreamRefPlaceholder as J, RunStatus as Jn, RunEventBus as Jr, PreparedNodeActivationDispatch as Jt, TriggerNodeOutputJson as K, RunResult as Kn, EngineExecutionLimitsPolicyConfig as Kr, NodeResolver as Kt, PersistedTokenId as L, PersistedWorkflowSnapshotNode as Ln, injectable as Lr, NodeActivationRequestBase as Lt, NodeSchedulerDecision as M, PersistedMutableRunState as Mn, TypeToken as Mr, LiveWorkflowRepository as Mt, OutputPortKey as N, PersistedRunControlState as Nn, container as Nr, MultiInputNode as Nt, NodeKind as O, NodeExecutionStatus as On, Disposable as Or, ExecutionBinaryService as Ot, PairedItemRef as P, PersistedRunSchedulingState as Pn, delay as Pr, NodeActivationContinuation as Pt, WorkflowErrorHandlerSpec as Q, WorkflowExecutionListingRepository as Qn, TriggerCleanupHandle as Qt, RunDataFactory as R, PersistedWorkflowTokenRegistryLike as Rn, instanceCachingFactory as Rr, NodeActivationScheduler as Rt, NodeConnectionName as S, ConnectionInvocationRecord as Sn, CredentialTypeId as Sr, BinaryStorageStatResult as St, NodeErrorHandlerArgs as T, ExecutionFrontierPlan as Tn, OAuth2ProviderFromPublicConfig as Tr, EngineDeps as Tt, RunnableNodeInputJson as U, RunExecutionOptions as Un, CoreTokens as Ur, NodeExecutionScheduler as Ut, RunIdFactory as V, RunCurrentState as Vn, registry as Vr, NodeExecutionRequest as Vt, RunnableNodeOutputJson as W, RunPruneCandidate as Wn, ENGINE_EXECUTION_LIMITS_DEFAULTS as Wr, NodeExecutionStatePublisher as Wt, WorkflowErrorContext as X, RunSummary as Xn, RunnableNodeExecuteArgs as Xt, WorkflowDefinition as Y, RunStopCondition as Yn, RunEventSubscription as Yr, RunnableNode as Yt, WorkflowErrorHandler as Z, WebhookRunResult as Zn, TestableTriggerNode as Zt, JsonValue as _, WebhookTriggerRoutingDiagnostics as _n, CredentialSessionFactoryArgs as _r, RetryPolicySpec as _t, BinaryAttachment as a, WorkflowNodeInstanceFactory as an, CredentialFieldSchema as ar, WorkflowStoragePolicyDecisionArgs as at, NodeActivationId as b, ConnectionInvocationAppendArgs as bn, CredentialType 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, CredentialSessionFactory as gr, NoneRetryPolicySpec as gt, JsonObject as h, WebhookTriggerMatcher as hn, CredentialRequirement as hr, FixedRetryPolicySpec as ht, ActivationIdFactory as i, TriggerTestItemsContext as in, CredentialBindingKey as ir, WorkflowPrunePolicySpec as it, NodeRef as j, PersistedMutableNodeState as jn, RegistrationOptions as jr, ItemNode as jt, NodeOffloadPolicy as k, NodeInputsByPort as kn, InjectionToken$1 as kr, ExecutionContext as kt, InputPortKey as l, WorkflowSnapshotFactory as ln, CredentialInstanceId as lr, branchRef as lt, JsonNonArray as m, WebhookInvocationMatch as mn, CredentialOAuth2ScopesFromPublicConfig 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, RunEvent 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, CredentialSessionService as vr, BinaryAttachmentCreateRequest as vt, NodeErrorHandler as w, EngineRunCounters as wn, CredentialUnboundError as wr, BinaryStorageWriteResult as wt, NodeConfigBase as x, ConnectionInvocationId as xn, CredentialTypeDefinition as xr, BinaryStorageReadResult as xt, MutableRunData as y, WorkflowActivationPolicy as yn, CredentialSetupStatus as yr, BinaryBody as yt, RunDataSnapshot as z, PinnedNodeOutputsByPort as zn, instancePerContainerCachingFactory as zr, NodeBinaryAttachmentService as zt };
|
|
1443
|
+
//# sourceMappingURL=RunIntentService-Cjx-glgz.d.cts.map
|