@codemation/core 0.12.0 → 0.13.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 +22 -0
- package/dist/{CostCatalogContract-DD7fQ4FF.d.cts → CostCatalogContract-Dxq1BTyi.d.cts} +2 -2
- package/dist/{EngineRuntimeRegistration.types-DTV5_7Jw.d.cts → EngineRuntimeRegistration.types-CqcTWexS.d.cts} +3 -3
- package/dist/{EngineRuntimeRegistration.types-Dl92Hdoi.d.ts → EngineRuntimeRegistration.types-Cr75cSfL.d.ts} +2 -2
- package/dist/{InMemoryRunDataFactory-qMiYjhCK.d.cts → InMemoryRunDataFactory-Csy2evr_.d.cts} +5 -2
- package/dist/{ItemsInputNormalizer-Div-fb6a.cjs → ItemsInputNormalizer-57EdA1ad.cjs} +2 -2
- package/dist/{ItemsInputNormalizer-Div-fb6a.cjs.map → ItemsInputNormalizer-57EdA1ad.cjs.map} +1 -1
- package/dist/{ItemsInputNormalizer-C09a7iFP.d.ts → ItemsInputNormalizer-BWtlwdVI.d.ts} +2 -2
- package/dist/{ItemsInputNormalizer-BhuxvZh5.js → ItemsInputNormalizer-BkSvmfAW.js} +2 -2
- package/dist/{ItemsInputNormalizer-BhuxvZh5.js.map → ItemsInputNormalizer-BkSvmfAW.js.map} +1 -1
- package/dist/{ItemsInputNormalizer-DLaD6rTl.d.cts → ItemsInputNormalizer-pLrWwUAP.d.cts} +3 -3
- package/dist/{RunIntentService-CWMMrAP4.d.cts → RunIntentService-BitgkKaT.d.cts} +2 -2
- package/dist/{RunIntentService-BOSGwmqn.d.ts → RunIntentService-DYpqfu6D.d.ts} +2 -2
- package/dist/{agentMcpTypes-DUmniLOY.d.cts → agentMcpTypes-DGIwk6Ue.d.cts} +20 -2
- package/dist/bootstrap/index.cjs +3 -3
- package/dist/bootstrap/index.d.cts +5 -5
- package/dist/bootstrap/index.d.ts +5 -5
- package/dist/bootstrap/index.js +3 -3
- package/dist/{bootstrap-D460dCgS.cjs → bootstrap-BEu1fJBM.cjs} +3 -3
- package/dist/{bootstrap-D460dCgS.cjs.map → bootstrap-BEu1fJBM.cjs.map} +1 -1
- package/dist/{bootstrap-CKTMMNmL.js → bootstrap-CSeInbj1.js} +3 -3
- package/dist/{bootstrap-CKTMMNmL.js.map → bootstrap-CSeInbj1.js.map} +1 -1
- package/dist/browser.cjs +3 -2
- package/dist/browser.d.cts +4 -4
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +3 -3
- package/dist/contracts.d.cts +5 -5
- package/dist/contracts.d.ts +2 -2
- package/dist/{di-tO6R7VJV.cjs → di-C-2ep8NZ.cjs} +9 -1
- package/dist/di-C-2ep8NZ.cjs.map +1 -0
- package/dist/{di-DdsgWfVy.js → di-D9Mv3kF3.js} +4 -2
- package/dist/di-D9Mv3kF3.js.map +1 -0
- package/dist/{executionPersistenceContracts-DenJJK2T.d.cts → executionPersistenceContracts-CN9d7AnL.d.cts} +2 -2
- package/dist/{index-BZDhEQ6W.d.ts → index-CqZeNGAp.d.ts} +71 -5
- package/dist/{index-CSKKuK60.d.ts → index-rllWL4r-.d.ts} +20 -2
- package/dist/index.cjs +23 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -8
- package/dist/index.d.ts +5 -5
- package/dist/index.js +22 -4
- package/dist/index.js.map +1 -1
- package/dist/{params-DqRvku2h.d.cts → params-DRUr0F5v.d.cts} +2 -2
- package/dist/{runtime-BPZgnZ9G.js → runtime-6-U2Cou5.js} +81 -4
- package/dist/runtime-6-U2Cou5.js.map +1 -0
- package/dist/{runtime-CyW9c9XM.cjs → runtime-DjYXgOo0.cjs} +81 -4
- package/dist/runtime-DjYXgOo0.cjs.map +1 -0
- package/dist/testing.cjs +3 -3
- package/dist/testing.d.cts +3 -3
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +3 -3
- package/package.json +1 -1
- package/src/binaries/DefaultExecutionBinaryServiceFactory.ts +27 -2
- package/src/binaries/DefaultNodeBinaryAttachmentServiceFactory.ts +14 -0
- package/src/binaries/boundedReadBinary.types.ts +90 -0
- package/src/contracts/runtimeTypes.ts +19 -0
- package/src/contracts/workspaceFileTypes.ts +73 -0
- package/src/index.ts +2 -0
- package/dist/di-DdsgWfVy.js.map +0 -1
- package/dist/di-tO6R7VJV.cjs.map +0 -1
- package/dist/runtime-BPZgnZ9G.js.map +0 -1
- package/dist/runtime-CyW9c9XM.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @codemation/core
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#189](https://github.com/MadeRelevant/codemation/pull/189) [`c1b081f`](https://github.com/MadeRelevant/codemation/commit/c1b081ffc8b66b0c4593c94f1d57a1cdf5c41140) Thanks [@cblokland90](https://github.com/cblokland90)! - feat(core): add `getBytes`, `getText`, and `getJson<T>` to the binary API
|
|
8
|
+
|
|
9
|
+
`ExecutionBinaryService` (and `NodeBinaryAttachmentService`) now expose three read helpers:
|
|
10
|
+
- `getBytes(attachment, maxBytes?)` — bounded read into `Uint8Array` (size-checked before allocation).
|
|
11
|
+
- `getText(attachment, maxBytes?)` — bounded read + UTF-8 decode.
|
|
12
|
+
- `getJson<T>(attachment, maxBytes?)` — bounded read + decode + `JSON.parse` with a clear `SyntaxError` on invalid JSON.
|
|
13
|
+
|
|
14
|
+
The duplicate `readBinaryBody` helpers previously copied across `core-nodes` and `core-nodes-ocr` are removed; all callers now use `ctx.binary.getBytes()`. `openReadStream` remains for true streaming use cases.
|
|
15
|
+
|
|
16
|
+
- [#185](https://github.com/MadeRelevant/codemation/pull/185) [`be520d2`](https://github.com/MadeRelevant/codemation/commit/be520d2755144a3709ecc109019b84e2c502337e) Thanks [@cblokland90](https://github.com/cblokland90)! - feat(workspace-files): read-only workspace file storage adapter (story 01)
|
|
17
|
+
|
|
18
|
+
Adds `IWorkspaceFileStorage` port + `WorkspaceFileStorageToken` to `@codemation/core` and
|
|
19
|
+
S3 + local-fs driver implementations to `@codemation/host`. The adapter reads the shared
|
|
20
|
+
workspace file pool using the same key scheme (`<workspaceId>/files/<fileId>`) and env
|
|
21
|
+
config shape (`BLOB_STORAGE_*`) as the control plane. Registered in `AppContainerFactory`
|
|
22
|
+
when `WORKSPACE_ID` is set; nodes reach it via `ctx.resolve(WorkspaceFileStorageToken)`.
|
|
23
|
+
Read-only — no put/delete surface is exposed.
|
|
24
|
+
|
|
3
25
|
## 0.12.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { pi as CostTrackingUsageRecord } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/contracts/CostCatalogContract.d.ts
|
|
4
4
|
interface CostCatalogEntry {
|
|
@@ -16,4 +16,4 @@ interface CostCatalog {
|
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CostCatalogEntry as n, CostCatalog as t };
|
|
19
|
-
//# sourceMappingURL=CostCatalogContract-
|
|
19
|
+
//# sourceMappingURL=CostCatalogContract-Dxq1BTyi.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as PersistedWorkflowSnapshotNode,
|
|
2
|
-
import { r as Engine } from "./RunIntentService-
|
|
1
|
+
import { C as PersistedWorkflowSnapshotNode, Er as WorkflowRepository, Fr as WebhookTriggerMatcher, Lr as WebhookTriggerRoutingDiagnostics, N as RunResult, Nt as NodeConfigBase, S as PersistedWorkflowSnapshot, Tt as Items, W as DependencyContainer, Xi as WorkflowId, br as TriggerRuntimeDiagnostics, lt as EngineExecutionLimitsPolicyConfig, on as WorkflowDefinition, pn as WorkflowPolicyRuntimeDefaults, qi as NodeId, qt as ParentExecutionRef, w as PersistedWorkflowTokenRegistryLike } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
|
+
import { r as Engine } from "./RunIntentService-BitgkKaT.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/workflowSnapshots/WorkflowSnapshotCodec.d.ts
|
|
5
5
|
declare class WorkflowSnapshotCodec {
|
|
@@ -78,4 +78,4 @@ interface EngineRuntimeRegistrationOptions {
|
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
80
|
export { WorkflowSnapshotCodec as a, EngineWorkflowRunnerService as i, TriggerRuntimeDiagnosticsProvider as n, WebhookTriggerMatcherProvider as r, EngineRuntimeRegistrationOptions as t };
|
|
81
|
-
//# sourceMappingURL=EngineRuntimeRegistration.types-
|
|
81
|
+
//# sourceMappingURL=EngineRuntimeRegistration.types-CqcTWexS.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cn as DependencyContainer, Hn as EngineExecutionLimitsPolicyConfig, Kr as WorkflowPolicyRuntimeDefaults,
|
|
1
|
+
import { $i as TriggerRuntimeDiagnostics, Cn as DependencyContainer, Hn as EngineExecutionLimitsPolicyConfig, Kr as WorkflowPolicyRuntimeDefaults, ga as WebhookTriggerRoutingDiagnostics, ma as WebhookTriggerMatcher } from "./index-rllWL4r-.js";
|
|
2
2
|
|
|
3
3
|
//#region src/bootstrap/runtime/EngineRuntimeRegistration.types.d.ts
|
|
4
4
|
|
|
@@ -41,4 +41,4 @@ interface EngineRuntimeRegistrationOptions {
|
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
export { TriggerRuntimeDiagnosticsProvider as n, WebhookTriggerMatcherProvider as r, EngineRuntimeRegistrationOptions as t };
|
|
44
|
-
//# sourceMappingURL=EngineRuntimeRegistration.types-
|
|
44
|
+
//# sourceMappingURL=EngineRuntimeRegistration.types-Cr75cSfL.d.ts.map
|
package/dist/{InMemoryRunDataFactory-qMiYjhCK.d.cts → InMemoryRunDataFactory-Csy2evr_.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as RunnableNodeConfig,
|
|
1
|
+
import { $t as RunnableNodeConfig, At as JsonValue, Ct as Item, Hn as ExecutionContext, In as BinaryStorageWriteResult, Jt as PersistedRunPolicySnapshot, Mn as BinaryStorage, Mt as NodeActivationId, Nn as BinaryStorageReadResult, On as RetryPolicySpec, Pi as CredentialSessionService, Pn as BinaryStorageStatResult, R as RunTestContext, Un as ExecutionContextFactory, Ut as NodeOutputs, Vn as ExecutionBinaryService, Vr as ExecutionTelemetryFactory, Wn as HumanTaskActor, Xi as WorkflowId, Xt as RunDataSnapshot, Y as TypeToken, Yt as RunDataFactory, Zt as RunId, di as CostTrackingTelemetryFactory, hi as CollectionsContext, jn as BinaryBody, jt as MutableRunData, lr as NodeResolver, nr as NodeBinaryAttachmentService, qi as NodeId, qn as HumanTaskSubject, qt as ParentExecutionRef, rr as NodeExecutionContext, sr as NodeExecutionStatePublisher, yt as BinaryAttachment } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/execution/CredentialResolverFactory.d.ts
|
|
4
4
|
declare class CredentialResolverFactory {
|
|
@@ -110,6 +110,9 @@ declare class DefaultExecutionBinaryService implements ExecutionBinaryService {
|
|
|
110
110
|
activationId: NodeActivationId;
|
|
111
111
|
}): NodeBinaryAttachmentService;
|
|
112
112
|
openReadStream(attachment: BinaryAttachment): Promise<BinaryStorageReadResult | undefined>;
|
|
113
|
+
getBytes(attachment: BinaryAttachment, maxBytes?: number): Promise<Uint8Array>;
|
|
114
|
+
getText(attachment: BinaryAttachment, maxBytes?: number): Promise<string>;
|
|
115
|
+
getJson<T = unknown>(attachment: BinaryAttachment, maxBytes?: number): Promise<T>;
|
|
113
116
|
}
|
|
114
117
|
//#endregion
|
|
115
118
|
//#region src/execution/asyncSleeper.types.d.ts
|
|
@@ -199,4 +202,4 @@ declare class InMemoryRunDataFactory implements RunDataFactory {
|
|
|
199
202
|
}
|
|
200
203
|
//#endregion
|
|
201
204
|
export { HumanTaskRecord as _, ItemExprResolver as a, HumanTaskStoreToken as b, DefaultAsyncSleeper as c, UnavailableBinaryStorage as d, HitlResumeTokenSignerSeam as f, HitlWorkspaceIdToken as g, HitlTimeoutJobSchedulerToken as h, RunnableOutputBehaviorResolver as i, AsyncSleeper as l, HitlTimeoutJobSchedulerSeam as m, InMemoryBinaryStorage as n, InProcessRetryRunner as o, HitlResumeTokenSignerToken as p, RunnableOutputBehavior as r, DefaultExecutionContextFactory as s, InMemoryRunDataFactory as t, DefaultExecutionBinaryService as u, HumanTaskStatus as v, CredentialResolverFactory as x, HumanTaskStore as y };
|
|
202
|
-
//# sourceMappingURL=InMemoryRunDataFactory-
|
|
205
|
+
//# sourceMappingURL=InMemoryRunDataFactory-Csy2evr_.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_di = require('./di-
|
|
1
|
+
const require_di = require('./di-C-2ep8NZ.cjs');
|
|
2
2
|
let tsyringe = require("tsyringe");
|
|
3
3
|
tsyringe = require_di.__toESM(tsyringe);
|
|
4
4
|
|
|
@@ -40,4 +40,4 @@ Object.defineProperty(exports, 'ItemsInputNormalizer', {
|
|
|
40
40
|
return ItemsInputNormalizer;
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
-
//# sourceMappingURL=ItemsInputNormalizer-
|
|
43
|
+
//# sourceMappingURL=ItemsInputNormalizer-57EdA1ad.cjs.map
|
package/dist/{ItemsInputNormalizer-Div-fb6a.cjs.map → ItemsInputNormalizer-57EdA1ad.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemsInputNormalizer-
|
|
1
|
+
{"version":3,"file":"ItemsInputNormalizer-57EdA1ad.cjs","names":["ItemsInputNormalizer"],"sources":["../src/serialization/ItemsInputNormalizer.ts"],"sourcesContent":["import type { Item, Items } from \"../contracts/workflowTypes\";\nimport { injectable } from \"../di\";\n\n/**\n * Normalizes external inputs into the engine's canonical `Items` shape.\n * Used at host and builder boundaries where callers may provide either a raw value,\n * a single item-like object, or an array of item-like values.\n */\n@injectable()\nexport class ItemsInputNormalizer {\n normalize(raw: unknown): Items {\n if (raw === undefined || raw === null) {\n return [];\n }\n if (Array.isArray(raw)) {\n return raw.map((value) => this.normalizeItem(value));\n }\n return [this.normalizeItem(raw)];\n }\n\n private normalizeItem(raw: unknown): Item {\n if (!this.isItem(raw)) {\n return { json: raw };\n }\n return {\n json: raw.json,\n ...(raw.binary === undefined ? {} : { binary: raw.binary }),\n ...(raw.meta === undefined ? {} : { meta: raw.meta }),\n ...(raw.paired === undefined ? {} : { paired: raw.paired }),\n };\n }\n\n private isItem(raw: unknown): raw is Item {\n return typeof raw === \"object\" && raw !== null && Object.prototype.hasOwnProperty.call(raw, \"json\");\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AASO,iCAAMA,uBAAqB;CAChC,UAAU,KAAqB;AAC7B,MAAI,QAAQ,UAAa,QAAQ,KAC/B,QAAO,EAAE;AAEX,MAAI,MAAM,QAAQ,IAAI,CACpB,QAAO,IAAI,KAAK,UAAU,KAAK,cAAc,MAAM,CAAC;AAEtD,SAAO,CAAC,KAAK,cAAc,IAAI,CAAC;;CAGlC,AAAQ,cAAc,KAAoB;AACxC,MAAI,CAAC,KAAK,OAAO,IAAI,CACnB,QAAO,EAAE,MAAM,KAAK;AAEtB,SAAO;GACL,MAAM,IAAI;GACV,GAAI,IAAI,WAAW,SAAY,EAAE,GAAG,EAAE,QAAQ,IAAI,QAAQ;GAC1D,GAAI,IAAI,SAAS,SAAY,EAAE,GAAG,EAAE,MAAM,IAAI,MAAM;GACpD,GAAI,IAAI,WAAW,SAAY,EAAE,GAAG,EAAE,QAAQ,IAAI,QAAQ;GAC3D;;CAGH,AAAQ,OAAO,KAA2B;AACxC,SAAO,OAAO,QAAQ,YAAY,QAAQ,QAAQ,OAAO,UAAU,eAAe,KAAK,KAAK,OAAO;;;6DAzB1F"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Eo as NodeId, Ii as NodeExecutionContext, Mr as RunnableNodeConfig, Nr as RunnableNodeInputJson, On as TypeToken, Rt as ConnectionInvocationId, Sr as NodeOutputs, To as NodeConnectionName, fr as NodeConfigBase, gt as Expr, ir as Items, ja as TelemetrySpanScope, lr as JsonValue, nr as Item, q as McpServerDeclaration, uo as CredentialRequirement } from "./index-rllWL4r-.js";
|
|
2
2
|
import { ZodType, input, output } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/ai/NodeBackedToolConfig.d.ts
|
|
@@ -318,4 +318,4 @@ declare class ItemsInputNormalizer {
|
|
|
318
318
|
}
|
|
319
319
|
//#endregion
|
|
320
320
|
export { ChatModelFactory as A, ZodSchemaAny as B, AgentToolDefinition as C, ChatLanguageModel as D, AgentTurnLimitBehavior as E, NodeBackedToolOutputMapperArgs as F, CallableToolFactory as G, AgentMessageConfigNormalizer as H, StructuredOutputOptions as I, CallableToolExecuteHandler as J, CallableToolConfig as K, Tool as L, NodeBackedToolInputMapper as M, NodeBackedToolInputMapperArgs as N, ChatLanguageModelCallOptions as O, NodeBackedToolOutputMapper as P, ToolConfig as R, AgentToolCallPlanner as S, AgentToolToken as T, AgentToolFactory as U, AgentConfigInspector as V, CallableToolKindToken as W, NodeBackedToolConfig as Y, AgentMessageTemplateContent as _, AgentConnectionNodeRole as a, AgentTool as b, AgentCanvasPresentation as c, AgentMessageBuildArgs as d, AgentMessageConfig as f, AgentMessageTemplate as g, AgentMessageRole as h, AgentConnectionNodeDescriptor as i, NodeBackedToolConfigOptions as j, ChatModelConfig as k, AgentGuardrailConfig as l, AgentMessageLine as m, AgentConnectionCredentialSource as n, McpServerResolver as o, AgentMessageDto as p, CallableToolConfigOptions as q, AgentConnectionNodeCollector as r, AgentAttachmentRole as s, ItemsInputNormalizer as t, AgentGuardrailDefaults as u, AgentModelInvocationOptions as v, AgentToolExecuteArgs as w, AgentToolCall as x, AgentNodeConfig as y, ToolExecuteArgs as z };
|
|
321
|
-
//# sourceMappingURL=ItemsInputNormalizer-
|
|
321
|
+
//# sourceMappingURL=ItemsInputNormalizer-BWtlwdVI.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as injectable } from "./di-
|
|
1
|
+
import { a as injectable } from "./di-D9Mv3kF3.js";
|
|
2
2
|
|
|
3
3
|
//#region \0@oxc-project+runtime@0.95.0/helpers/decorate.js
|
|
4
4
|
function __decorate(decorators, target, key, desc) {
|
|
@@ -33,4 +33,4 @@ ItemsInputNormalizer = __decorate([injectable()], ItemsInputNormalizer);
|
|
|
33
33
|
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ItemsInputNormalizer as t };
|
|
36
|
-
//# sourceMappingURL=ItemsInputNormalizer-
|
|
36
|
+
//# sourceMappingURL=ItemsInputNormalizer-BkSvmfAW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemsInputNormalizer-
|
|
1
|
+
{"version":3,"file":"ItemsInputNormalizer-BkSvmfAW.js","names":["ItemsInputNormalizer"],"sources":["../src/serialization/ItemsInputNormalizer.ts"],"sourcesContent":["import type { Item, Items } from \"../contracts/workflowTypes\";\nimport { injectable } from \"../di\";\n\n/**\n * Normalizes external inputs into the engine's canonical `Items` shape.\n * Used at host and builder boundaries where callers may provide either a raw value,\n * a single item-like object, or an array of item-like values.\n */\n@injectable()\nexport class ItemsInputNormalizer {\n normalize(raw: unknown): Items {\n if (raw === undefined || raw === null) {\n return [];\n }\n if (Array.isArray(raw)) {\n return raw.map((value) => this.normalizeItem(value));\n }\n return [this.normalizeItem(raw)];\n }\n\n private normalizeItem(raw: unknown): Item {\n if (!this.isItem(raw)) {\n return { json: raw };\n }\n return {\n json: raw.json,\n ...(raw.binary === undefined ? {} : { binary: raw.binary }),\n ...(raw.meta === undefined ? {} : { meta: raw.meta }),\n ...(raw.paired === undefined ? {} : { paired: raw.paired }),\n };\n }\n\n private isItem(raw: unknown): raw is Item {\n return typeof raw === \"object\" && raw !== null && Object.prototype.hasOwnProperty.call(raw, \"json\");\n }\n}\n"],"mappings":";;;;;;;;;;;;AASO,iCAAMA,uBAAqB;CAChC,UAAU,KAAqB;AAC7B,MAAI,QAAQ,UAAa,QAAQ,KAC/B,QAAO,EAAE;AAEX,MAAI,MAAM,QAAQ,IAAI,CACpB,QAAO,IAAI,KAAK,UAAU,KAAK,cAAc,MAAM,CAAC;AAEtD,SAAO,CAAC,KAAK,cAAc,IAAI,CAAC;;CAGlC,AAAQ,cAAc,KAAoB;AACxC,MAAI,CAAC,KAAK,OAAO,IAAI,CACnB,QAAO,EAAE,MAAM,KAAK;AAEtB,SAAO;GACL,MAAM,IAAI;GACV,GAAI,IAAI,WAAW,SAAY,EAAE,GAAG,EAAE,QAAQ,IAAI,QAAQ;GAC1D,GAAI,IAAI,SAAS,SAAY,EAAE,GAAG,EAAE,MAAM,IAAI,MAAM;GACpD,GAAI,IAAI,WAAW,SAAY,EAAE,GAAG,EAAE,QAAQ,IAAI,QAAQ;GAC3D;;CAGH,AAAQ,OAAO,KAA2B;AACxC,SAAO,OAAO,QAAQ,YAAY,QAAQ,QAAQ,OAAO,UAAU,eAAe,KAAK,KAAK,OAAO;;;mCAzBtG,YAAY"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as RunnableNodeConfig,
|
|
2
|
-
import { t as Expr } from "./params-
|
|
1
|
+
import { $t as RunnableNodeConfig, At as JsonValue, Ct as Item, Ki as NodeConnectionName, Nt as NodeConfigBase, Qr as TelemetrySpanScope, Tt as Items, Ut as NodeOutputs, Y as TypeToken, a as ConnectionInvocationId, b as PersistedRunState, en as RunnableNodeInputJson, ji as CredentialRequirement, qi as NodeId, rr as NodeExecutionContext } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
|
+
import { t as Expr } from "./params-DRUr0F5v.cjs";
|
|
3
3
|
import { ZodType, input, output } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/contracts/mcpTypes.d.ts
|
|
@@ -404,4 +404,4 @@ declare class ItemsInputNormalizer {
|
|
|
404
404
|
}
|
|
405
405
|
//#endregion
|
|
406
406
|
export { McpServerDeclaration as $, ChatModelFactory as A, ZodSchemaAny as B, AgentToolDefinition as C, ChatLanguageModel as D, AgentTurnLimitBehavior as E, NodeBackedToolOutputMapperArgs as F, CallableToolFactory as G, AgentMessageConfigNormalizer as H, StructuredOutputOptions as I, CallableToolExecuteHandler as J, CallableToolConfig as K, Tool as L, NodeBackedToolInputMapper as M, NodeBackedToolInputMapperArgs as N, ChatLanguageModelCallOptions as O, NodeBackedToolOutputMapper as P, RunFinishedAtFactory as Q, ToolConfig as R, AgentToolCallPlanner as S, AgentToolToken as T, AgentToolFactory as U, AgentConfigInspector as V, CallableToolKindToken as W, NodeIterationIdFactory as X, NodeBackedToolConfig as Y, ConnectionNodeIdFactory as Z, AgentMessageTemplateContent as _, AgentConnectionNodeRole as a, AgentTool as b, AgentCanvasPresentation as c, AgentMessageBuildArgs as d, McpServerTransport as et, AgentMessageConfig as f, AgentMessageTemplate as g, AgentMessageRole as h, AgentConnectionNodeDescriptor as i, NodeBackedToolConfigOptions as j, ChatModelConfig as k, AgentGuardrailConfig as l, AgentMessageLine as m, AgentConnectionCredentialSource as n, McpServerResolver as o, AgentMessageDto as p, CallableToolConfigOptions as q, AgentConnectionNodeCollector as r, AgentAttachmentRole as s, ItemsInputNormalizer as t, AgentGuardrailDefaults as u, AgentModelInvocationOptions as v, AgentToolExecuteArgs as w, AgentToolCall as x, AgentNodeConfig as y, ToolExecuteArgs as z };
|
|
407
|
-
//# sourceMappingURL=ItemsInputNormalizer-
|
|
407
|
+
//# sourceMappingURL=ItemsInputNormalizer-pLrWwUAP.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as
|
|
1
|
+
import { Ar as WorkflowSnapshotResolver, D as RunCurrentState, Er as WorkflowRepository, Fr as WebhookTriggerMatcher, H as WorkflowExecutionRepository, I as RunStopCondition, Ir as WebhookTriggerResolution, Mt as NodeActivationId, N as RunResult, Pr as WebhookInvocationMatch, Tt as Items, Ut as NodeOutputs, Xi as WorkflowId, Yn as LiveWorkflowRepository, Zn as NodeActivationContinuation, Zt as RunId, ar as NodeExecutionRequestHandler, ir as NodeExecutionRequest, jr as HttpMethod, k as RunExecutionOptions, on as WorkflowDefinition, p as NodeInputsByPort, pr as ResumeContext, qi as NodeId, qt as ParentExecutionRef, s as CurrentStateExecutionRequest, w as PersistedWorkflowTokenRegistryLike, z as WebhookRunResult } from "./agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/orchestration/Engine.d.ts
|
|
4
4
|
interface EngineTriggerRuntime {
|
|
@@ -217,4 +217,4 @@ declare class RunIntentService {
|
|
|
217
217
|
}
|
|
218
218
|
//#endregion
|
|
219
219
|
export { InMemoryLiveWorkflowRepository as n, Engine as r, RunIntentService as t };
|
|
220
|
-
//# sourceMappingURL=RunIntentService-
|
|
220
|
+
//# sourceMappingURL=RunIntentService-BitgkKaT.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as PersistedRunState, Ar as RunId, Bt as CurrentStateExecutionRequest,
|
|
1
|
+
import { $t as PersistedRunState, Ai as NodeActivationContinuation, Ar as RunId, Bt as CurrentStateExecutionRequest, Dr as PersistedRunPolicySnapshot, Eo as NodeId, Er as ParentExecutionRef, Hi as NodeResolver, Hn as EngineExecutionLimitsPolicyConfig, Hr as WorkflowErrorHandlerSpec, Jr as WorkflowStoragePolicyDecisionArgs, Ki as ResumeContext, Kr as WorkflowPolicyRuntimeDefaults, Kt as NodeInputsByPort, Li as NodeExecutionRequest, Oi as LiveWorkflowRepository, Ri as NodeExecutionRequestHandler, Sr as NodeOutputs, Vn as EngineExecutionLimitsPolicy, Vr as WorkflowErrorHandler, aa as WorkflowRepository, cn as RunExecutionOptions, dr as NodeActivationId, fn as RunResult, fr as NodeConfigBase, gr as NodeErrorHandlerSpec, ha as WebhookTriggerResolution, hn as RunStopCondition, ir as Items, ko as WorkflowId, la as WorkflowSnapshotResolver, ma as WebhookTriggerMatcher, mr as NodeErrorHandler, nn as PersistedWorkflowSnapshotNode, on as RunCurrentState, pa as WebhookInvocationMatch, rn as PersistedWorkflowTokenRegistryLike, tn as PersistedWorkflowSnapshot, ua as HttpMethod, vn as WebhookRunResult, xn as WorkflowExecutionRepository, zr as WorkflowDefinition } from "./index-rllWL4r-.js";
|
|
2
2
|
|
|
3
3
|
//#region src/orchestration/Engine.d.ts
|
|
4
4
|
interface EngineTriggerRuntime {
|
|
@@ -296,4 +296,4 @@ declare class RunIntentService {
|
|
|
296
296
|
}
|
|
297
297
|
//#endregion
|
|
298
298
|
export { RunPolicySnapshotFactory as a, RunTerminalPersistenceCoordinator as c, WorkflowSnapshotCodec as i, WorkflowStoragePolicyEvaluator as l, InMemoryLiveWorkflowRepository as n, EngineExecutionLimitsPolicyFactory as o, EngineWorkflowRunnerService as r, WorkflowPolicyErrorServices as s, RunIntentService as t, Engine as u };
|
|
299
|
-
//# sourceMappingURL=RunIntentService-
|
|
299
|
+
//# sourceMappingURL=RunIntentService-DYpqfu6D.d.ts.map
|
|
@@ -784,12 +784,30 @@ interface NodeBinaryAttachmentService extends ExecutionBinaryService {
|
|
|
784
784
|
attach(args: BinaryAttachmentCreateRequest): Promise<BinaryAttachment>;
|
|
785
785
|
withAttachment<TJson>(item: Item<TJson>, name: string, attachment: BinaryAttachment): Item<TJson>;
|
|
786
786
|
}
|
|
787
|
+
/** Default maximum bytes read into memory by the bounded helpers (50 MiB). */
|
|
788
|
+
declare const BINARY_DEFAULT_MAX_BYTES: number;
|
|
787
789
|
interface ExecutionBinaryService {
|
|
788
790
|
forNode(args: {
|
|
789
791
|
nodeId: NodeId;
|
|
790
792
|
activationId: NodeActivationId;
|
|
791
793
|
}): NodeBinaryAttachmentService;
|
|
792
794
|
openReadStream(attachment: BinaryAttachment): Promise<BinaryStorageReadResult | undefined>;
|
|
795
|
+
/**
|
|
796
|
+
* Reads all bytes from the attachment into a contiguous `Uint8Array`.
|
|
797
|
+
* Checks `attachment.size` against `maxBytes` *before* any allocation; throws a bounded-read
|
|
798
|
+
* error when exceeded (no OOM). Throws if the stream is unavailable or the byte count mismatches.
|
|
799
|
+
*/
|
|
800
|
+
getBytes(attachment: BinaryAttachment, maxBytes?: number): Promise<Uint8Array>;
|
|
801
|
+
/**
|
|
802
|
+
* Reads the attachment and decodes the bytes as UTF-8 text.
|
|
803
|
+
* Subject to the same bounded-read safety as `getBytes`.
|
|
804
|
+
*/
|
|
805
|
+
getText(attachment: BinaryAttachment, maxBytes?: number): Promise<string>;
|
|
806
|
+
/**
|
|
807
|
+
* Reads the attachment, decodes as UTF-8 text, and parses as JSON.
|
|
808
|
+
* Throws a clear error on invalid JSON. Subject to the same bounded-read safety.
|
|
809
|
+
*/
|
|
810
|
+
getJson<T = unknown>(attachment: BinaryAttachment, maxBytes?: number): Promise<T>;
|
|
793
811
|
}
|
|
794
812
|
interface ExecutionContext {
|
|
795
813
|
runId: RunId;
|
|
@@ -2125,5 +2143,5 @@ interface AgentMcpIntegration {
|
|
|
2125
2143
|
}): Promise<AgentMcpToolMap>;
|
|
2126
2144
|
}
|
|
2127
2145
|
//#endregion
|
|
2128
|
-
export { injectAll as $,
|
|
2129
|
-
//# sourceMappingURL=agentMcpTypes-
|
|
2146
|
+
export { injectAll as $, NodeActivationRequest as $n, CodemationTelemetryMetricNames as $r, RunnableNodeConfig as $t, RunHaltReason as A, CredentialOAuth2ScopesFromPublicConfig as Ai, BinaryAttachmentCreateRequest as An, WorkflowSnapshotResolver as Ar, JsonValue as At, WorkflowExecutionListingRepository as B, CredentialUnboundError as Bi, ExecutableTriggerNode as Bn, ExecutionTelemetry as Br, NodeIterationId as Bt, PersistedWorkflowSnapshotNode as C, CredentialHealthStatus as Ci, triggerNodeOutputType as Cn, TriggerSetupStateRepository as Cr, Item as Ct, RunCurrentState as D, CredentialJsonRecord as Di, NoneRetryPolicySpec as Dn, WorkflowRunnerResolver as Dr, JsonNonArray as Dt, RunCompletionNotifier as E, CredentialInstanceRecord as Ei, FixedRetryPolicySpec as En, WorkflowRepository as Er, JsonArray as Et, RunStatus as F, CredentialSetupStatus as Fi, BinaryStorageWriteRequest as Fn, WebhookTriggerMatcher as Fr, NodeErrorHandler as Ft, Disposable as G, InputPortKey as Gi, HumanTaskHandle as Gn, TelemetryAttributePrimitive as Gr, NodeSchedulerDecision as Gt, WorkflowExecutionRepository as H, NoOpPollingTriggerLogger as Hi, ExecutionContext as Hn, NodeExecutionTelemetry as Hr, NodeOffloadPolicy as Ht, RunStopCondition as I, CredentialType as Ii, BinaryStorageWriteResult as In, WebhookTriggerResolution as Ir, NodeErrorHandlerArgs as It, RegistrationOptions as J, OutputPortKey as Ji, ItemNode as Jn, TelemetryMetricRecord as Jr, PersistedRunPolicySnapshot as Jt, InjectionToken$1 as K, NodeConnectionName as Ki, HumanTaskId as Kn, TelemetryAttributes as Kr, PairedItemRef as Kt, RunSummary as L, CredentialTypeDefinition as Li, Duration as Ln, WebhookTriggerRoutingDiagnostics as Lr, NodeErrorHandlerSpec as Lt, RunQueueEntry as M, CredentialSessionFactory as Mi, BinaryStorage as Mn, TriggerInstanceId as Mr, NodeActivationId as Mt, RunResult as N, CredentialSessionFactoryArgs as Ni, BinaryStorageReadResult as Nn, WebhookControlSignal as Nr, NodeConfigBase as Nt, RunEventPublisherDeps as O, CredentialMaterialSourceKind as Oi, RetryPolicySpec as On, WorkflowRunnerService as Or, JsonObject as Ot, RunStateResetRequest as P, CredentialSessionService as Pi, BinaryStorageStatResult as Pn, WebhookInvocationMatch as Pr, NodeDefinition as Pt, inject as Q, NodeActivationReceipt as Qn, TelemetrySpanScope as Qr, RunIdFactory as Qt, RunTestContext as R, CredentialTypeId as Ri, EngineDeps as Rn, AllWorkflowsActiveWorkflowActivationPolicy as Rr, NodeIdRef as Rt, PersistedWorkflowSnapshot as S, CredentialHealth as Si, runnableNodeOutputType as Sn, TriggerSetupStateFor as Sr, ExecutionMode as St, PinnedNodeOutputsByPort as T, CredentialInstanceId as Ti, ExponentialRetryPolicySpec as Tn, WorkflowNodeInstanceFactory as Tr, Items as Tt, Container as U, PollingTriggerLogger as Ui, ExecutionContextFactory as Un, TelemetryArtifactAttachment as Ur, NodeOutputs as Ut, WorkflowExecutionPruneRepository as V, OAuth2ProviderFromPublicConfig as Vi, ExecutionBinaryService as Vn, ExecutionTelemetryFactory as Vr, NodeKind as Vt, DependencyContainer$1 as W, PollingTriggerDedupWindow as Wi, HumanTaskActor as Wn, TelemetryArtifactReference as Wr, NodeRef as Wt, container as X, WorkflowId as Xi, MultiInputNode as Xn, TelemetrySpanEnd as Xr, RunDataSnapshot as Xt, TypeToken as Y, PersistedTokenId as Yi, LiveWorkflowRepository as Yn, TelemetryScope as Yr, RunDataFactory as Yt, delay as Z, NodeActivationContinuation as Zn, TelemetrySpanEventRecord as Zr, RunId as Zt, PersistedMutableRunState as _, CredentialAdvancedSectionPresentation as _i, WorkflowStoragePolicyResolver as _n, TestableTriggerNode as _r, TestTriggerSetupContext as _t, ConnectionInvocationId as a, NoOpTelemetrySpanScope as ai, UpstreamRefPlaceholder as an, NodeExecutionRequestHandler as ar, singleton as at, PersistedRunState as b, CredentialBindingKey as bi, nodeRef as bn, TriggerRuntimeDiagnostics as br, BinaryPreviewKind as bt, EngineRunCounters as c, CostTrackingPriceQuote as ci, WorkflowErrorHandler as cn, NodeExecutor as cr, EngineExecutionLimitsPolicy as ct, NodeExecutionSnapshot as d, CostTrackingTelemetryFactory as di, WorkflowGraphFactory as dn, PollingTriggerHandle as dr, RunEventBus as dt, GenAiTelemetryAttributeNames as ei, RunnableNodeInputJson as en, NodeActivationRequestBase as er, injectable as et, NodeExecutionStatus as f, CostTrackingTelemetryMetricNames as fi, WorkflowNodeConnection as fn, PreparedNodeActivationDispatch as fr, RunEventSubscription as ft, PersistedMutableNodeState as g, AnyCredentialType as gi, WorkflowStoragePolicyMode as gn, SuspensionRequest as gr, TestTriggerNodeConfig as gt, PendingResumeEntry as h, CollectionsContext as hi, WorkflowStoragePolicyDecisionArgs as hn, RunnableNodeExecuteArgs as hr, TestSuiteRunId as ht, ConnectionInvocationAppendArgs as i, NoOpNodeExecutionTelemetry as ii, TriggerNodeSetupState as in, NodeExecutionRequest as ir, registry as it, RunPruneCandidate as j, CredentialRequirement as ji, BinaryBody as jn, HttpMethod as jr, MutableRunData as jt, RunExecutionOptions as k, CredentialOAuth2AuthDefinition as ki, BINARY_DEFAULT_MAX_BYTES as kn, WorkflowSnapshotFactory as kr, JsonPrimitive as kt, ExecutionFrontierPlan as l, CostTrackingTelemetry as li, WorkflowErrorHandlerSpec as ln, NodeResolver as lr, EngineExecutionLimitsPolicyConfig as lt, PendingNodeExecution as m, CollectionStore as mi, WorkflowPrunePolicySpec as mn, RunnableNode as mr, TestSuiteRunStatus as mt, AgentMcpToolMap as n, NoOpExecutionTelemetryFactory as ni, TriggerNodeConfig as nn, NodeBinaryAttachmentService as nr, instancePerContainerCachingFactory as nt, ConnectionInvocationRecord as o, NoOpTelemetryArtifactReference as oi, WorkflowDefinition as on, NodeExecutionScheduler as or, CoreTokens as ot, NodeInputsByPort as p, CostTrackingUsageRecord as pi, WorkflowPolicyRuntimeDefaults as pn, ResumeContext as pr, TestCaseRunStatus as pt, Lifecycle as q, NodeId as qi, HumanTaskSubject as qn, TelemetryChildSpanStart as qr, ParentExecutionRef as qt, NeedsReconsentEvent as r, NoOpExecutionTelemetry as ri, TriggerNodeOutputJson as rn, NodeExecutionContext as rr, predicateAwareClassFactory as rt, CurrentStateExecutionRequest as s, CostTrackingComponent as si, WorkflowErrorContext as sn, NodeExecutionStatePublisher as sr, ENGINE_EXECUTION_LIMITS_DEFAULTS as st, AgentMcpIntegration as t, CodemationTelemetryAttributeNames as ti, RunnableNodeOutputJson as tn, NodeActivationScheduler as tr, instanceCachingFactory as tt, NodeExecutionError as u, CostTrackingTelemetryAttributeNames as ui, WorkflowGraph as un, PersistedTriggerSetupState as ur, RunEvent as ut, PersistedRunControlState as v, CredentialAuthDefinition as vi, WorkflowStoragePolicySpec as vn, TriggerCleanupHandle as vr, ActivationIdFactory as vt, PersistedWorkflowTokenRegistryLike as w, CredentialHealthTester as wi, triggerNodeSetupStateType as wn, TriggerTestItemsContext as wr, ItemBinary as wt, PersistedSuspensionEntry as x, CredentialFieldSchema as xi, runnableNodeInputType as xn, TriggerSetupContext as xr, Edge as xt, PersistedRunSchedulingState as y, CredentialBinding as yi, branchRef as yn, TriggerNode as yr, BinaryAttachment as yt, WebhookRunResult as z, CredentialTypeRegistry as zi, EngineHost as zn, WorkflowActivationPolicy as zr, NodeInspectorSummaryRow as zt };
|
|
2147
|
+
//# sourceMappingURL=agentMcpTypes-DGIwk6Ue.d.cts.map
|
package/dist/bootstrap/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
require('../di-
|
|
1
|
+
require('../di-C-2ep8NZ.cjs');
|
|
2
2
|
require('../contracts-CK0x6w_G.cjs');
|
|
3
|
-
const require_runtime = require('../runtime-
|
|
4
|
-
const require_bootstrap = require('../bootstrap-
|
|
3
|
+
const require_runtime = require('../runtime-DjYXgOo0.cjs');
|
|
4
|
+
const require_bootstrap = require('../bootstrap-BEu1fJBM.cjs');
|
|
5
5
|
|
|
6
6
|
exports.AbortControllerFactory = require_bootstrap.AbortControllerFactory;
|
|
7
7
|
exports.CatalogBackedCostTrackingTelemetryFactory = require_runtime.CatalogBackedCostTrackingTelemetryFactory;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as CostCatalogEntry, t as CostCatalog } from "../CostCatalogContract-
|
|
3
|
-
import { n as InMemoryLiveWorkflowRepository, r as Engine, t as RunIntentService } from "../RunIntentService-
|
|
4
|
-
import { a as ItemExprResolver, c as DefaultAsyncSleeper, d as UnavailableBinaryStorage, f as HitlResumeTokenSignerSeam, i as RunnableOutputBehaviorResolver, l as AsyncSleeper, m as HitlTimeoutJobSchedulerSeam, n as InMemoryBinaryStorage, o as InProcessRetryRunner, s as DefaultExecutionContextFactory, t as InMemoryRunDataFactory, u as DefaultExecutionBinaryService, x as CredentialResolverFactory, y as HumanTaskStore } from "../InMemoryRunDataFactory-
|
|
5
|
-
import { a as WorkflowSnapshotCodec, i as EngineWorkflowRunnerService, n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-
|
|
1
|
+
import { $n as NodeActivationRequest, B as WorkflowExecutionListingRepository, Br as ExecutionTelemetry, C as PersistedWorkflowSnapshotNode, Er as WorkflowRepository, Fr as WebhookTriggerMatcher, Ft as NodeErrorHandler, Gt as NodeSchedulerDecision, H as WorkflowExecutionRepository, Ht as NodeOffloadPolicy, Jt as PersistedRunPolicySnapshot, L as RunSummary, Lr as WebhookTriggerRoutingDiagnostics, Lt as NodeErrorHandlerSpec, Mt as NodeActivationId, N as RunResult, Nt as NodeConfigBase, Pr as WebhookInvocationMatch, Pt as NodeDefinition, Rn as EngineDeps, St as ExecutionMode, Tr as WorkflowNodeInstanceFactory, Tt as Items, Ut as NodeOutputs, V as WorkflowExecutionPruneRepository, W as DependencyContainer, Xi as WorkflowId, Y as TypeToken, Yi as PersistedTokenId, Yr as TelemetryScope, Zn as NodeActivationContinuation, Zt as RunId, b as PersistedRunState, c as EngineRunCounters, cn as WorkflowErrorHandler, ct as EngineExecutionLimitsPolicy, di as CostTrackingTelemetryFactory, dt as RunEventBus, fr as PreparedNodeActivationDispatch, gr as SuspensionRequest, hn as WorkflowStoragePolicyDecisionArgs, ht as TestSuiteRunId, ir as NodeExecutionRequest, j as RunPruneCandidate, jr as HttpMethod, k as RunExecutionOptions, li as CostTrackingTelemetry, ln as WorkflowErrorHandlerSpec, lr as NodeResolver, lt as EngineExecutionLimitsPolicyConfig, mt as TestSuiteRunStatus, on as WorkflowDefinition, or as NodeExecutionScheduler, pi as CostTrackingUsageRecord, pn as WorkflowPolicyRuntimeDefaults, pt as TestCaseRunStatus, qi as NodeId, qt as ParentExecutionRef, st as ENGINE_EXECUTION_LIMITS_DEFAULTS, tr as NodeActivationScheduler, y as PersistedRunSchedulingState, zr as WorkflowActivationPolicy } from "../agentMcpTypes-DGIwk6Ue.cjs";
|
|
2
|
+
import { n as CostCatalogEntry, t as CostCatalog } from "../CostCatalogContract-Dxq1BTyi.cjs";
|
|
3
|
+
import { n as InMemoryLiveWorkflowRepository, r as Engine, t as RunIntentService } from "../RunIntentService-BitgkKaT.cjs";
|
|
4
|
+
import { a as ItemExprResolver, c as DefaultAsyncSleeper, d as UnavailableBinaryStorage, f as HitlResumeTokenSignerSeam, i as RunnableOutputBehaviorResolver, l as AsyncSleeper, m as HitlTimeoutJobSchedulerSeam, n as InMemoryBinaryStorage, o as InProcessRetryRunner, s as DefaultExecutionContextFactory, t as InMemoryRunDataFactory, u as DefaultExecutionBinaryService, x as CredentialResolverFactory, y as HumanTaskStore } from "../InMemoryRunDataFactory-Csy2evr_.cjs";
|
|
5
|
+
import { a as WorkflowSnapshotCodec, i as EngineWorkflowRunnerService, n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-CqcTWexS.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/orchestration/AbortControllerFactory.d.ts
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Bn as ENGINE_EXECUTION_LIMITS_DEFAULTS, Cn as DependencyContainer,
|
|
2
|
-
import { a as RunPolicySnapshotFactory, c as RunTerminalPersistenceCoordinator, l as WorkflowStoragePolicyEvaluator, n as InMemoryLiveWorkflowRepository, o as EngineExecutionLimitsPolicyFactory, r as EngineWorkflowRunnerService, s as WorkflowPolicyErrorServices, t as RunIntentService, u as Engine } from "../RunIntentService-
|
|
3
|
-
import { A as
|
|
4
|
-
import "../ItemsInputNormalizer-
|
|
5
|
-
import { n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-
|
|
1
|
+
import { Bn as ENGINE_EXECUTION_LIMITS_DEFAULTS, Cn as DependencyContainer, Hn as EngineExecutionLimitsPolicyConfig, On as TypeToken, Oo as PersistedTokenId, Vn as EngineExecutionLimitsPolicy, zr as WorkflowDefinition } from "../index-rllWL4r-.js";
|
|
2
|
+
import { a as RunPolicySnapshotFactory, c as RunTerminalPersistenceCoordinator, l as WorkflowStoragePolicyEvaluator, n as InMemoryLiveWorkflowRepository, o as EngineExecutionLimitsPolicyFactory, r as EngineWorkflowRunnerService, s as WorkflowPolicyErrorServices, t as RunIntentService, u as Engine } from "../RunIntentService-DYpqfu6D.js";
|
|
3
|
+
import { A as WorkflowRepositoryWebhookTriggerMatcher, B as InlineDrivingScheduler, F as InMemoryRunDataFactory, H as StaticCostCatalog, I as InMemoryBinaryStorage, J as InProcessRetryRunner, L as LocalOnlyScheduler, M as EngineFactory, N as RunSummaryMapper, P as InMemoryWorkflowExecutionRepository, Q as AsyncSleeper, R as HintOnlyOffloadPolicy, U as NodeInstanceFactory, V as ConfigDrivenOffloadPolicy, W as NodeExecutor, X as DefaultExecutionContextFactory, Y as CatalogBackedCostTrackingTelemetryFactory, Z as DefaultAsyncSleeper, a as TestSuiteRunResult, an as AbortControllerFactory, et as DefaultExecutionBinaryService, i as TestSuiteOrchestratorEngine, in as CredentialResolverFactory, j as EngineCompositionDeps, n as TestSuiteCaseOutcome, o as TestSuiteRunIdFactory, r as TestSuiteOrchestrator, t as RunTestSuiteArgs, tt as UnavailableBinaryStorage, z as DefaultDrivingScheduler } from "../index-CqZeNGAp.js";
|
|
4
|
+
import "../ItemsInputNormalizer-BWtlwdVI.js";
|
|
5
|
+
import { n as TriggerRuntimeDiagnosticsProvider, r as WebhookTriggerMatcherProvider, t as EngineRuntimeRegistrationOptions } from "../EngineRuntimeRegistration.types-Cr75cSfL.js";
|
|
6
6
|
|
|
7
7
|
//#region src/bootstrap/runtime/EngineRuntimeRegistrar.d.ts
|
|
8
8
|
/**
|
package/dist/bootstrap/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../di-
|
|
1
|
+
import "../di-D9Mv3kF3.js";
|
|
2
2
|
import "../contracts-DXdfTdpW.js";
|
|
3
|
-
import { A as PersistedWorkflowTokenRegistry, B as CatalogBackedCostTrackingTelemetryFactory, C as DefaultDrivingScheduler, E as StaticCostCatalog, N as NodeExecutor, O as NodeInstanceFactory, S as HintOnlyOffloadPolicy, T as RunPolicySnapshotFactory, V as DefaultExecutionContextFactory, _ as RunTerminalPersistenceCoordinator, a as InMemoryLiveWorkflowRepository, b as LocalOnlyScheduler, c as EngineFactory, ct as CredentialResolverFactory, dt as DefaultExecutionBinaryService, ft as UnavailableBinaryStorage, g as WorkflowPolicyErrorServices, h as WorkflowStoragePolicyEvaluator, i as RunIntentService, j as MissingRuntimeTriggerToken, l as Engine, m as InMemoryBinaryStorage, n as WorkflowRepositoryWebhookTriggerMatcher, p as InMemoryRunDataFactory, s as EngineWorkflowRunnerService, st as DefaultAsyncSleeper, v as ENGINE_EXECUTION_LIMITS_DEFAULTS, w as ConfigDrivenOffloadPolicy, x as InlineDrivingScheduler, y as EngineExecutionLimitsPolicy, z as InProcessRetryRunner } from "../runtime-
|
|
4
|
-
import { a as InMemoryWorkflowExecutionRepository, i as AbortControllerFactory, n as TestSuiteRunIdFactory, o as RunSummaryMapper, r as TestSuiteOrchestrator, s as EngineExecutionLimitsPolicyFactory, t as EngineRuntimeRegistrar } from "../bootstrap-
|
|
3
|
+
import { A as PersistedWorkflowTokenRegistry, B as CatalogBackedCostTrackingTelemetryFactory, C as DefaultDrivingScheduler, E as StaticCostCatalog, N as NodeExecutor, O as NodeInstanceFactory, S as HintOnlyOffloadPolicy, T as RunPolicySnapshotFactory, V as DefaultExecutionContextFactory, _ as RunTerminalPersistenceCoordinator, a as InMemoryLiveWorkflowRepository, b as LocalOnlyScheduler, c as EngineFactory, ct as CredentialResolverFactory, dt as DefaultExecutionBinaryService, ft as UnavailableBinaryStorage, g as WorkflowPolicyErrorServices, h as WorkflowStoragePolicyEvaluator, i as RunIntentService, j as MissingRuntimeTriggerToken, l as Engine, m as InMemoryBinaryStorage, n as WorkflowRepositoryWebhookTriggerMatcher, p as InMemoryRunDataFactory, s as EngineWorkflowRunnerService, st as DefaultAsyncSleeper, v as ENGINE_EXECUTION_LIMITS_DEFAULTS, w as ConfigDrivenOffloadPolicy, x as InlineDrivingScheduler, y as EngineExecutionLimitsPolicy, z as InProcessRetryRunner } from "../runtime-6-U2Cou5.js";
|
|
4
|
+
import { a as InMemoryWorkflowExecutionRepository, i as AbortControllerFactory, n as TestSuiteRunIdFactory, o as RunSummaryMapper, r as TestSuiteOrchestrator, s as EngineExecutionLimitsPolicyFactory, t as EngineRuntimeRegistrar } from "../bootstrap-CSeInbj1.js";
|
|
5
5
|
|
|
6
6
|
export { AbortControllerFactory, CatalogBackedCostTrackingTelemetryFactory, ConfigDrivenOffloadPolicy, CredentialResolverFactory, DefaultAsyncSleeper, DefaultDrivingScheduler, DefaultExecutionBinaryService, DefaultExecutionContextFactory, ENGINE_EXECUTION_LIMITS_DEFAULTS, Engine, EngineExecutionLimitsPolicy, EngineExecutionLimitsPolicyFactory, EngineFactory, EngineRuntimeRegistrar, EngineWorkflowRunnerService, HintOnlyOffloadPolicy, InMemoryBinaryStorage, InMemoryLiveWorkflowRepository, InMemoryRunDataFactory, InMemoryWorkflowExecutionRepository, InProcessRetryRunner, InlineDrivingScheduler, LocalOnlyScheduler, MissingRuntimeTriggerToken, NodeExecutor, NodeInstanceFactory, PersistedWorkflowTokenRegistry, RunIntentService, RunPolicySnapshotFactory, RunSummaryMapper, RunTerminalPersistenceCoordinator, StaticCostCatalog, TestSuiteOrchestrator, TestSuiteRunIdFactory, UnavailableBinaryStorage, WorkflowPolicyErrorServices, WorkflowRepositoryWebhookTriggerMatcher, WorkflowStoragePolicyEvaluator };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_di = require('./di-
|
|
1
|
+
const require_di = require('./di-C-2ep8NZ.cjs');
|
|
2
2
|
const require_contracts = require('./contracts-CK0x6w_G.cjs');
|
|
3
|
-
const require_runtime = require('./runtime-
|
|
3
|
+
const require_runtime = require('./runtime-DjYXgOo0.cjs');
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
zod = require_di.__toESM(zod);
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
@@ -672,4 +672,4 @@ Object.defineProperty(exports, 'TestSuiteRunIdFactory', {
|
|
|
672
672
|
return TestSuiteRunIdFactory;
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
|
-
//# sourceMappingURL=bootstrap-
|
|
675
|
+
//# sourceMappingURL=bootstrap-BEu1fJBM.cjs.map
|