@codemation/core 0.2.1 → 0.2.3
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 +14 -0
- package/dist/{EngineRuntimeRegistration.types-0sgV2XL2.d.ts → EngineRuntimeRegistration.types-Bjeo7Sfq.d.ts} +2 -2
- package/dist/{EngineWorkflowRunnerService-Dx7bJsJR.d.cts → EngineWorkflowRunnerService-Dd4yD31l.d.cts} +2 -2
- package/dist/{InMemoryRunDataFactory-qIYQEar7.d.cts → InMemoryRunDataFactory-OUzDmAHt.d.cts} +2 -2
- package/dist/{RunIntentService-BCvGdOSY.d.ts → RunIntentService-BAKikN8h.d.ts} +80 -12
- package/dist/{RunIntentService-CV8izV8t.d.cts → RunIntentService-Bkg4oYrM.d.cts} +74 -5
- package/dist/bootstrap/index.cjs +31 -31
- package/dist/bootstrap/index.d.cts +5 -3
- package/dist/bootstrap/index.d.ts +3 -3
- package/dist/bootstrap/index.js +2 -2
- package/dist/bootstrap-BD6CobHl.js +215 -0
- package/dist/bootstrap-BD6CobHl.js.map +1 -0
- package/dist/bootstrap-DwS5S7s9.cjs +240 -0
- package/dist/bootstrap-DwS5S7s9.cjs.map +1 -0
- package/dist/{index-CueSzHsf.d.ts → index-BDHCiN22.d.ts} +18 -10
- package/dist/index.cjs +59 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -17
- package/dist/index.d.ts +3 -3
- package/dist/index.js +28 -1
- package/dist/index.js.map +1 -1
- package/dist/{RunIntentService-BFA48UpH.js → runtime-Cy-3FTI_.js} +1224 -94
- package/dist/runtime-Cy-3FTI_.js.map +1 -0
- package/dist/{RunIntentService-DcxXf_AM.cjs → runtime-ZJUpWmPH.cjs} +1251 -132
- package/dist/runtime-ZJUpWmPH.cjs.map +1 -0
- package/dist/testing.cjs +74 -29
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +55 -3
- package/dist/testing.d.ts +55 -3
- package/dist/testing.js +46 -3
- package/dist/testing.js.map +1 -1
- package/dist/workflowActivationPolicy-B8HzTk3o.js.map +1 -1
- package/dist/workflowActivationPolicy-BzyzXLa_.cjs.map +1 -1
- package/package.json +1 -1
- package/src/ai/AgentMessageConfigNormalizerFactory.ts +43 -0
- package/src/ai/AgentToolFactory.ts +2 -2
- package/src/ai/AiHost.ts +10 -9
- package/src/ai/NodeBackedToolConfig.ts +1 -1
- package/src/authoring/defineNode.types.ts +1 -1
- package/src/contracts/runtimeTypes.ts +26 -0
- package/src/contracts/workflowTypes.ts +67 -5
- package/src/execution/ActivationEnqueueService.ts +8 -5
- package/src/execution/NodeActivationRequestInputPreparer.ts +89 -0
- package/src/execution/NodeExecutor.ts +38 -1
- package/src/execution/NodeInputContractError.ts +13 -0
- package/src/execution/index.ts +2 -0
- package/src/orchestration/RunContinuationService.ts +181 -50
- package/src/planning/RunQueuePlanner.ts +12 -1
- package/src/runtime/EngineFactory.ts +3 -0
- package/src/testing/ItemHarnessNode.ts +27 -0
- package/src/testing/ItemHarnessNodeConfig.ts +43 -0
- package/src/testing/RegistrarEngineTestKitFactory.ts +2 -0
- package/src/testing.ts +2 -0
- package/src/workflow/dsl/ChainCursorResolver.ts +1 -1
- package/src/workflow/dsl/workflowBuilderTypes.ts +8 -5
- package/dist/RunIntentService-BFA48UpH.js.map +0 -1
- package/dist/RunIntentService-DcxXf_AM.cjs.map +0 -1
- package/dist/bootstrap-D67Sf2BF.js +0 -1136
- package/dist/bootstrap-D67Sf2BF.js.map +0 -1
- package/dist/bootstrap-DoQHAEQJ.cjs +0 -1203
- package/dist/bootstrap-DoQHAEQJ.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as
|
|
1
|
+
import { $n as NodeExecutionRequest, $t as RunId, Ai as EngineExecutionLimitsPolicy, An as BinaryBody, Bn as ExecutionContext, Bt as NodeId, Dr as WebhookTriggerRoutingDiagnostics, Dt as Items, Fn as BinaryStorageWriteResult, Ft as NodeConnectionName, Gr as PersistedRunState, Gt as NodeSchedulerDecision, Ht as NodeOffloadPolicy, In as EngineDeps, It as NodeDefinition, Jn as NodeActivationRequest, Jt as ParentExecutionRef, K as AnyCredentialType, Kn as NodeActivationContinuation, Lr as NodeExecutionSnapshot, Mi as RunEvent, Mn as BinaryStorageReadResult, Mt as MutableRunData, Ni as RunEventBus, Nn as BinaryStorageStatResult, Nt as NodeActivationId, Pi as RunEventSubscription, Pr as EngineRunCounters, Pt as NodeConfigBase, Qn as NodeExecutionContext, Qt as RunDataSnapshot, St as Item, Tr as WebhookTriggerMatcher, Ut as NodeOutputs, Vi as RetryPolicySpec, Vn as ExecutionContextFactory, Wr as PersistedRunSchedulingState, X as CredentialFieldSchema, Xn as NodeActivationScheduler, Z as CredentialHealth, Zn as NodeBinaryAttachmentService, Zt as RunDataFactory, _i as TypeToken, _t as BinaryAttachment, at as CredentialRequirement, bt as ExecutionMode, ci as WorkflowExecutionListingRepository, ct as CredentialSessionService, dt as CredentialTypeDefinition, ei as RunPruneCandidate, ft as CredentialTypeId, gr as WorkflowRepository, hn as WorkflowId, hr as WorkflowNodeInstanceFactory, ir as NodeResolver, jn as BinaryStorage, jt as JsonValue, kr as WorkflowActivationPolicy, l as WorkflowSnapshotCodec, li as WorkflowExecutionPruneRepository, ln as WorkflowDefinition, nn as RunnableNodeInputJson, nr as NodeExecutionStatePublisher, nt as CredentialJsonRecord, oi as RunSummary, or as PreparedNodeActivationDispatch, qr as PersistedWorkflowSnapshotNode, st as CredentialSessionFactoryArgs, tn as RunnableNodeConfig, tr as NodeExecutionScheduler, u as Engine, ui as WorkflowExecutionRepository, ut as CredentialType, wr as WebhookInvocationMatch, xr as HttpMethod, zn as ExecutionBinaryService } from "./RunIntentService-BAKikN8h.js";
|
|
2
2
|
import { ZodType, input, output, z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/workflowSnapshots/MissingRuntimeFallbacksFactory.d.ts
|
|
@@ -89,6 +89,8 @@ declare class NodeExecutor {
|
|
|
89
89
|
execute(request: NodeActivationRequest): Promise<NodeOutputs>;
|
|
90
90
|
private executeMultiInputNode;
|
|
91
91
|
private executeSingleInputNode;
|
|
92
|
+
private hasExecuteOne;
|
|
93
|
+
private executeItemNode;
|
|
92
94
|
}
|
|
93
95
|
//#endregion
|
|
94
96
|
//#region src/execution/NodeInstanceFactory.d.ts
|
|
@@ -185,7 +187,7 @@ declare function defineCredential<TPublicSource extends CredentialFieldMap<any>
|
|
|
185
187
|
};
|
|
186
188
|
//#endregion
|
|
187
189
|
//#region src/ai/NodeBackedToolConfig.d.ts
|
|
188
|
-
declare class NodeBackedToolConfig<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> implements ToolConfig {
|
|
190
|
+
declare class NodeBackedToolConfig<TNodeConfig extends RunnableNodeConfig<any, any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> implements ToolConfig {
|
|
189
191
|
readonly name: string;
|
|
190
192
|
readonly node: TNodeConfig;
|
|
191
193
|
readonly type: TypeToken<unknown>;
|
|
@@ -208,7 +210,7 @@ declare class NodeBackedToolConfig<TNodeConfig extends RunnableNodeConfig<any, a
|
|
|
208
210
|
//#endregion
|
|
209
211
|
//#region src/ai/AgentToolFactory.d.ts
|
|
210
212
|
declare class AgentToolFactoryImpl {
|
|
211
|
-
asTool<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(node: TNodeConfig, options: Readonly<{
|
|
213
|
+
asTool<TNodeConfig extends RunnableNodeConfig<any, any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny>(node: TNodeConfig, options: Readonly<{
|
|
212
214
|
name?: string;
|
|
213
215
|
} & NodeBackedToolConfigOptions<TNodeConfig, TInputSchema, TOutputSchema>>): NodeBackedToolConfig<TNodeConfig, TInputSchema, TOutputSchema>;
|
|
214
216
|
private withDefaultAgentInputMapper;
|
|
@@ -219,7 +221,13 @@ declare const AgentToolFactory: AgentToolFactoryImpl;
|
|
|
219
221
|
//#endregion
|
|
220
222
|
//#region src/ai/AgentMessageConfigNormalizerFactory.d.ts
|
|
221
223
|
declare class AgentMessageConfigNormalizer {
|
|
224
|
+
/**
|
|
225
|
+
* Prefer {@code input.messages} when present (ItemNode / engine-mapped payloads); otherwise resolve from
|
|
226
|
+
* {@link AgentNodeConfig.messages} templates.
|
|
227
|
+
*/
|
|
228
|
+
static resolveFromInputOrConfig<TInputJson, TOutputJson>(input: unknown, config: AgentNodeConfig<TInputJson, TOutputJson>, args: AgentMessageBuildArgs<TInputJson>): ReadonlyArray<AgentMessageDto>;
|
|
222
229
|
static normalize<TInputJson, TOutputJson>(config: AgentNodeConfig<TInputJson, TOutputJson>, args: AgentMessageBuildArgs<TInputJson>): ReadonlyArray<AgentMessageDto>;
|
|
230
|
+
private static tryMessagesFromStructuredInput;
|
|
223
231
|
private static normalizeRichMessages;
|
|
224
232
|
private static lineToDto;
|
|
225
233
|
}
|
|
@@ -328,7 +336,7 @@ interface ChatModelFactory<TConfig$1 extends ChatModelConfig = ChatModelConfig>
|
|
|
328
336
|
ctx: NodeExecutionContext<any>;
|
|
329
337
|
}>): Promise<LangChainChatModelLike> | LangChainChatModelLike;
|
|
330
338
|
}
|
|
331
|
-
type NodeBackedToolInputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
|
|
339
|
+
type NodeBackedToolInputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any, any>, TToolInput = unknown> = Readonly<{
|
|
332
340
|
input: TToolInput;
|
|
333
341
|
item: Item;
|
|
334
342
|
itemIndex: number;
|
|
@@ -336,7 +344,7 @@ type NodeBackedToolInputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, a
|
|
|
336
344
|
ctx: NodeExecutionContext<any>;
|
|
337
345
|
node: TNodeConfig;
|
|
338
346
|
}>;
|
|
339
|
-
type NodeBackedToolOutputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = Readonly<{
|
|
347
|
+
type NodeBackedToolOutputMapperArgs<TNodeConfig extends RunnableNodeConfig<any, any, any>, TToolInput = unknown> = Readonly<{
|
|
340
348
|
input: TToolInput;
|
|
341
349
|
item: Item;
|
|
342
350
|
itemIndex: number;
|
|
@@ -345,9 +353,9 @@ type NodeBackedToolOutputMapperArgs<TNodeConfig extends RunnableNodeConfig<any,
|
|
|
345
353
|
node: TNodeConfig;
|
|
346
354
|
outputs: NodeOutputs;
|
|
347
355
|
}>;
|
|
348
|
-
type NodeBackedToolInputMapper<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown> = (args: NodeBackedToolInputMapperArgs<TNodeConfig, TToolInput>) => Item<RunnableNodeInputJson<TNodeConfig>> | RunnableNodeInputJson<TNodeConfig>;
|
|
349
|
-
type NodeBackedToolOutputMapper<TNodeConfig extends RunnableNodeConfig<any, any>, TToolInput = unknown, TToolOutput = unknown> = (args: NodeBackedToolOutputMapperArgs<TNodeConfig, TToolInput>) => TToolOutput;
|
|
350
|
-
type NodeBackedToolConfigOptions<TNodeConfig extends RunnableNodeConfig<any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = Readonly<{
|
|
356
|
+
type NodeBackedToolInputMapper<TNodeConfig extends RunnableNodeConfig<any, any, any>, TToolInput = unknown> = (args: NodeBackedToolInputMapperArgs<TNodeConfig, TToolInput>) => Item<RunnableNodeInputJson<TNodeConfig>> | RunnableNodeInputJson<TNodeConfig>;
|
|
357
|
+
type NodeBackedToolOutputMapper<TNodeConfig extends RunnableNodeConfig<any, any, any>, TToolInput = unknown, TToolOutput = unknown> = (args: NodeBackedToolOutputMapperArgs<TNodeConfig, TToolInput>) => TToolOutput;
|
|
358
|
+
type NodeBackedToolConfigOptions<TNodeConfig extends RunnableNodeConfig<any, any, any>, TInputSchema extends ZodSchemaAny, TOutputSchema extends ZodSchemaAny> = Readonly<{
|
|
351
359
|
description?: string;
|
|
352
360
|
presentation?: AgentCanvasPresentation;
|
|
353
361
|
inputSchema: TInputSchema;
|
|
@@ -355,7 +363,7 @@ type NodeBackedToolConfigOptions<TNodeConfig extends RunnableNodeConfig<any, any
|
|
|
355
363
|
mapInput?: NodeBackedToolInputMapper<TNodeConfig, input<TInputSchema>>;
|
|
356
364
|
mapOutput?: NodeBackedToolOutputMapper<TNodeConfig, input<TInputSchema>, output<TOutputSchema>>;
|
|
357
365
|
}>;
|
|
358
|
-
interface AgentNodeConfig<TInputJson = unknown, TOutputJson = unknown> extends RunnableNodeConfig<TInputJson, TOutputJson> {
|
|
366
|
+
interface AgentNodeConfig<TInputJson = unknown, TOutputJson = unknown, TWireJson = TInputJson> extends RunnableNodeConfig<TInputJson, TOutputJson, TWireJson> {
|
|
359
367
|
readonly messages: AgentMessageConfig<TInputJson>;
|
|
360
368
|
readonly chatModel: ChatModelConfig;
|
|
361
369
|
readonly tools?: ReadonlyArray<ToolConfig>;
|
|
@@ -655,4 +663,4 @@ declare class LocalOnlyScheduler implements NodeExecutionScheduler {
|
|
|
655
663
|
}
|
|
656
664
|
//#endregion
|
|
657
665
|
export { LangChainChatModelLike as $, AgentConnectionNodeRole as A, AsyncSleeper as At, AgentMessageTemplate as B, PersistedRuntimeTypeKind as C, Clock as Ct, AgentConnectionCredentialSource as D, InProcessRetryRunner as Dt, InMemoryRunEventBus as E, NodeExecutor as Et, AgentMessageBuildArgs as F, AgentToolCall as G, AgentModelInvocationOptions as H, AgentMessageConfig as I, AgentToolExecuteArgs as J, AgentToolCallPlanner as K, AgentMessageDto as L, AgentCanvasPresentation as M, NodeEventPublisher as Mt, AgentGuardrailConfig as N, EngineCompositionDeps as Nt, AgentConnectionNodeCollector as O, DefaultExecutionContextFactory as Ot, AgentGuardrailDefaults as P, EngineFactory as Pt, ChatModelFactory as Q, AgentMessageLine as R, PersistedRuntimeTypeDecoratorOptions as S, defineNode as St, EventPublishingWorkflowExecutionRepository as T, NodeInstanceFactory as Tt, AgentNodeConfig as U, AgentMessageTemplateContent as V, AgentTool as W, AgentTurnLimitBehavior as X, AgentToolToken as Y, ChatModelConfig as Z, tool as _, DefinedNode as _t, ConfigDrivenOffloadPolicy as a, Tool as at, PersistedRuntimeTypeMetadataStore as b, DefinedNodeCredentialBindings as bt, InMemoryWorkflowExecutionRepository as c, ZodSchemaAny as ct, DefaultExecutionBinaryService as d, AgentToolFactory as dt, NodeBackedToolConfigOptions as et, UnavailableBinaryStorage as f, NodeBackedToolConfig as ft, node as g, DefineNodeOptions as gt, getPersistedRuntimeTypeMetadata as h, DefinedNodeRegistry as ht, InlineDrivingScheduler as i, NodeBackedToolOutputMapperArgs as it, AgentAttachmentRole as j, CredentialResolverFactory as jt, AgentConnectionNodeDescriptor as k, DefaultAsyncSleeper as kt, InMemoryRunDataFactory as l, AgentConfigInspector as lt, chatModel as m, defineCredential as mt, HintOnlyOffloadPolicy as n, NodeBackedToolInputMapperArgs as nt, WorkflowRepositoryWebhookTriggerMatcher as o, ToolConfig as ot, ItemsInputNormalizer as p, DefineCredentialOptions as pt, AgentToolDefinition as q, DefaultDrivingScheduler as r, NodeBackedToolOutputMapper as rt, RunSummaryMapper as s, ToolExecuteArgs as st, LocalOnlyScheduler as t, NodeBackedToolInputMapper as tt, InMemoryBinaryStorage as u, AgentMessageConfigNormalizer as ut, StackTraceCallSitePathResolver as v, DefinedNodeCredentialAccessors as vt, PersistedRuntimeTypeMetadata as w, SystemClock as wt, InjectableRuntimeDecoratorComposer as x, DefinedNodeRunContext as xt, PersistedRuntimeTypeNameResolver as y, DefinedNodeCredentialBinding as yt, AgentMessageRole as z };
|
|
658
|
-
//# sourceMappingURL=index-
|
|
666
|
+
//# sourceMappingURL=index-BDHCiN22.d.ts.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_runtime = require('./runtime-ZJUpWmPH.cjs');
|
|
2
2
|
const require_workflowActivationPolicy = require('./workflowActivationPolicy-BzyzXLa_.cjs');
|
|
3
3
|
let zod = require("zod");
|
|
4
|
-
zod =
|
|
4
|
+
zod = require_runtime.__toESM(zod);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
|
-
node_crypto =
|
|
6
|
+
node_crypto = require_runtime.__toESM(node_crypto);
|
|
7
7
|
let tsyringe = require("tsyringe");
|
|
8
|
-
tsyringe =
|
|
8
|
+
tsyringe = require_runtime.__toESM(tsyringe);
|
|
9
9
|
|
|
10
10
|
//#region src/contracts/Clock.ts
|
|
11
11
|
var SystemClock = class {
|
|
@@ -83,7 +83,7 @@ function defineNode(options) {
|
|
|
83
83
|
}) };
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
require_runtime.node({ name: options.key })(DefinedNodeRuntime);
|
|
87
87
|
const DefinedRunnableNodeConfig = class {
|
|
88
88
|
kind = "node";
|
|
89
89
|
type = DefinedNodeRuntime;
|
|
@@ -289,11 +289,38 @@ const AgentToolFactory = new AgentToolFactoryImpl();
|
|
|
289
289
|
//#endregion
|
|
290
290
|
//#region src/ai/AgentMessageConfigNormalizerFactory.ts
|
|
291
291
|
var AgentMessageConfigNormalizer = class {
|
|
292
|
+
/**
|
|
293
|
+
* Prefer {@code input.messages} when present (ItemNode / engine-mapped payloads); otherwise resolve from
|
|
294
|
+
* {@link AgentNodeConfig.messages} templates.
|
|
295
|
+
*/
|
|
296
|
+
static resolveFromInputOrConfig(input, config, args) {
|
|
297
|
+
const fromInput = this.tryMessagesFromStructuredInput(input);
|
|
298
|
+
if (fromInput.length > 0) return fromInput;
|
|
299
|
+
return this.normalize(config, args);
|
|
300
|
+
}
|
|
292
301
|
static normalize(config, args) {
|
|
293
302
|
const fromMessages = this.normalizeRichMessages(config.messages, args);
|
|
294
303
|
if (fromMessages.length > 0) return fromMessages;
|
|
295
304
|
throw new Error("AIAgent messages must be a non-empty array, or an object with a non-empty prompt array and/or buildMessages that returns messages.");
|
|
296
305
|
}
|
|
306
|
+
static tryMessagesFromStructuredInput(input) {
|
|
307
|
+
if (!input || typeof input !== "object") return [];
|
|
308
|
+
const raw = input.messages;
|
|
309
|
+
if (!Array.isArray(raw) || raw.length === 0) return [];
|
|
310
|
+
const out = [];
|
|
311
|
+
for (const m of raw) {
|
|
312
|
+
if (!m || typeof m !== "object") continue;
|
|
313
|
+
const role = m.role;
|
|
314
|
+
const content = m.content;
|
|
315
|
+
if (role !== "system" && role !== "user" && role !== "assistant") continue;
|
|
316
|
+
if (typeof content !== "string") continue;
|
|
317
|
+
out.push({
|
|
318
|
+
role,
|
|
319
|
+
content
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
return out;
|
|
323
|
+
}
|
|
297
324
|
static normalizeRichMessages(config, args) {
|
|
298
325
|
if (Array.isArray(config)) return config.map((line) => this.lineToDto(line, args));
|
|
299
326
|
const structured = config;
|
|
@@ -329,7 +356,7 @@ const AgentConnectionNodeCollector = new class {
|
|
|
329
356
|
}
|
|
330
357
|
collectInto(parentNodeId, agentConfig, collected) {
|
|
331
358
|
collected.push({
|
|
332
|
-
nodeId:
|
|
359
|
+
nodeId: require_runtime.ConnectionNodeIdFactory.languageModelConnectionNodeId(parentNodeId),
|
|
333
360
|
parentNodeId,
|
|
334
361
|
connectionName: "llm",
|
|
335
362
|
role: "languageModel",
|
|
@@ -339,7 +366,7 @@ const AgentConnectionNodeCollector = new class {
|
|
|
339
366
|
credentialSource: agentConfig.chatModel
|
|
340
367
|
});
|
|
341
368
|
for (const tool$1 of agentConfig.tools ?? []) {
|
|
342
|
-
const toolNodeId =
|
|
369
|
+
const toolNodeId = require_runtime.ConnectionNodeIdFactory.toolConnectionNodeId(parentNodeId, tool$1.name);
|
|
343
370
|
const isNestedAgent = this.isNodeBackedAgentTool(tool$1);
|
|
344
371
|
collected.push({
|
|
345
372
|
nodeId: toolNodeId,
|
|
@@ -573,24 +600,24 @@ exports.AgentToolFactory = AgentToolFactory;
|
|
|
573
600
|
exports.AllWorkflowsActiveWorkflowActivationPolicy = require_workflowActivationPolicy.AllWorkflowsActiveWorkflowActivationPolicy;
|
|
574
601
|
exports.ChainCursor = require_workflowActivationPolicy.ChainCursor;
|
|
575
602
|
exports.ConnectionInvocationIdFactory = ConnectionInvocationIdFactory;
|
|
576
|
-
exports.ConnectionNodeIdFactory =
|
|
577
|
-
exports.CoreTokens =
|
|
578
|
-
exports.CredentialResolverFactory =
|
|
603
|
+
exports.ConnectionNodeIdFactory = require_runtime.ConnectionNodeIdFactory;
|
|
604
|
+
exports.CoreTokens = require_runtime.CoreTokens;
|
|
605
|
+
exports.CredentialResolverFactory = require_runtime.CredentialResolverFactory;
|
|
579
606
|
exports.CredentialUnboundError = CredentialUnboundError;
|
|
580
|
-
exports.DefaultAsyncSleeper =
|
|
581
|
-
exports.DefaultExecutionBinaryService =
|
|
582
|
-
exports.DefaultExecutionContextFactory =
|
|
607
|
+
exports.DefaultAsyncSleeper = require_runtime.DefaultAsyncSleeper;
|
|
608
|
+
exports.DefaultExecutionBinaryService = require_runtime.DefaultExecutionBinaryService;
|
|
609
|
+
exports.DefaultExecutionContextFactory = require_runtime.DefaultExecutionContextFactory;
|
|
583
610
|
exports.DefaultWorkflowGraphFactory = DefaultWorkflowGraphFactory;
|
|
584
611
|
exports.DefinedNodeRegistry = DefinedNodeRegistry;
|
|
585
|
-
exports.EngineExecutionLimitsPolicy =
|
|
612
|
+
exports.EngineExecutionLimitsPolicy = require_runtime.EngineExecutionLimitsPolicy;
|
|
586
613
|
exports.EventPublishingWorkflowExecutionRepository = EventPublishingWorkflowExecutionRepository;
|
|
587
614
|
exports.ExpRetryPolicy = ExpRetryPolicy;
|
|
588
|
-
exports.InMemoryBinaryStorage =
|
|
589
|
-
exports.InMemoryLiveWorkflowRepository =
|
|
590
|
-
exports.InMemoryRunDataFactory =
|
|
615
|
+
exports.InMemoryBinaryStorage = require_runtime.InMemoryBinaryStorage;
|
|
616
|
+
exports.InMemoryLiveWorkflowRepository = require_runtime.InMemoryLiveWorkflowRepository;
|
|
617
|
+
exports.InMemoryRunDataFactory = require_runtime.InMemoryRunDataFactory;
|
|
591
618
|
exports.InMemoryRunEventBus = require_workflowActivationPolicy.InMemoryRunEventBus;
|
|
592
|
-
exports.InProcessRetryRunner =
|
|
593
|
-
exports.InjectableRuntimeDecoratorComposer =
|
|
619
|
+
exports.InProcessRetryRunner = require_runtime.InProcessRetryRunner;
|
|
620
|
+
exports.InjectableRuntimeDecoratorComposer = require_runtime.InjectableRuntimeDecoratorComposer;
|
|
594
621
|
Object.defineProperty(exports, 'ItemsInputNormalizer', {
|
|
595
622
|
enumerable: true,
|
|
596
623
|
get: function () {
|
|
@@ -599,21 +626,21 @@ Object.defineProperty(exports, 'ItemsInputNormalizer', {
|
|
|
599
626
|
});
|
|
600
627
|
exports.NoRetryPolicy = NoRetryPolicy;
|
|
601
628
|
exports.NodeBackedToolConfig = NodeBackedToolConfig;
|
|
602
|
-
exports.NodeEventPublisher =
|
|
603
|
-
exports.PersistedRuntimeTypeMetadataStore =
|
|
604
|
-
exports.PersistedRuntimeTypeNameResolver =
|
|
629
|
+
exports.NodeEventPublisher = require_runtime.NodeEventPublisher;
|
|
630
|
+
exports.PersistedRuntimeTypeMetadataStore = require_runtime.PersistedRuntimeTypeMetadataStore;
|
|
631
|
+
exports.PersistedRuntimeTypeNameResolver = require_runtime.PersistedRuntimeTypeNameResolver;
|
|
605
632
|
exports.RetryPolicy = RetryPolicy;
|
|
606
|
-
exports.RunFinishedAtFactory =
|
|
607
|
-
exports.RunIntentService =
|
|
608
|
-
exports.StackTraceCallSitePathResolver =
|
|
633
|
+
exports.RunFinishedAtFactory = require_runtime.RunFinishedAtFactory;
|
|
634
|
+
exports.RunIntentService = require_runtime.RunIntentService;
|
|
635
|
+
exports.StackTraceCallSitePathResolver = require_runtime.StackTraceCallSitePathResolver;
|
|
609
636
|
exports.SystemClock = SystemClock;
|
|
610
|
-
exports.UnavailableBinaryStorage =
|
|
637
|
+
exports.UnavailableBinaryStorage = require_runtime.UnavailableBinaryStorage;
|
|
611
638
|
exports.WhenBuilder = require_workflowActivationPolicy.WhenBuilder;
|
|
612
639
|
exports.WorkflowBuilder = require_workflowActivationPolicy.WorkflowBuilder;
|
|
613
|
-
exports.WorkflowExecutableNodeClassifier =
|
|
614
|
-
exports.WorkflowExecutableNodeClassifierFactory =
|
|
640
|
+
exports.WorkflowExecutableNodeClassifier = require_runtime.WorkflowExecutableNodeClassifier;
|
|
641
|
+
exports.WorkflowExecutableNodeClassifierFactory = require_runtime.WorkflowExecutableNodeClassifierFactory;
|
|
615
642
|
exports.branchRef = branchRef;
|
|
616
|
-
exports.chatModel =
|
|
643
|
+
exports.chatModel = require_runtime.chatModel;
|
|
617
644
|
Object.defineProperty(exports, 'container', {
|
|
618
645
|
enumerable: true,
|
|
619
646
|
get: function () {
|
|
@@ -628,7 +655,7 @@ Object.defineProperty(exports, 'delay', {
|
|
|
628
655
|
return tsyringe.delay;
|
|
629
656
|
}
|
|
630
657
|
});
|
|
631
|
-
exports.getPersistedRuntimeTypeMetadata =
|
|
658
|
+
exports.getPersistedRuntimeTypeMetadata = require_runtime.getPersistedRuntimeTypeMetadata;
|
|
632
659
|
Object.defineProperty(exports, 'inject', {
|
|
633
660
|
enumerable: true,
|
|
634
661
|
get: function () {
|
|
@@ -659,7 +686,7 @@ Object.defineProperty(exports, 'instancePerContainerCachingFactory', {
|
|
|
659
686
|
return tsyringe.instancePerContainerCachingFactory;
|
|
660
687
|
}
|
|
661
688
|
});
|
|
662
|
-
exports.node =
|
|
689
|
+
exports.node = require_runtime.node;
|
|
663
690
|
Object.defineProperty(exports, 'predicateAwareClassFactory', {
|
|
664
691
|
enumerable: true,
|
|
665
692
|
get: function () {
|
|
@@ -678,5 +705,5 @@ Object.defineProperty(exports, 'singleton', {
|
|
|
678
705
|
return tsyringe.singleton;
|
|
679
706
|
}
|
|
680
707
|
});
|
|
681
|
-
exports.tool =
|
|
708
|
+
exports.tool = require_runtime.tool;
|
|
682
709
|
//# sourceMappingURL=index.cjs.map
|