@decaf-ts/as-graph 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +158 -2
- package/dist/as-graph.cjs +1 -1
- package/dist/as-graph.cjs.map +1 -1
- package/dist/as-graph.js +1 -1
- package/dist/as-graph.js.map +1 -1
- package/lib/cjs/dagster/DagsterGraphEventBridge.cjs +344 -0
- package/lib/cjs/dagster/DagsterGraphEventBridge.cjs.map +1 -0
- package/lib/cjs/dagster/DagsterGraphExecutionBackend.cjs +789 -0
- package/lib/cjs/dagster/DagsterGraphExecutionBackend.cjs.map +1 -0
- package/lib/cjs/dagster/DagsterResultMapper.cjs +56 -0
- package/lib/cjs/dagster/DagsterResultMapper.cjs.map +1 -0
- package/lib/cjs/dagster/DagsterTypes.cjs +4 -0
- package/lib/cjs/dagster/DagsterTypes.cjs.map +1 -0
- package/lib/cjs/dagster/capabilities.cjs +102 -0
- package/lib/cjs/dagster/capabilities.cjs.map +1 -0
- package/lib/cjs/dagster/constants.cjs +92 -0
- package/lib/cjs/dagster/constants.cjs.map +1 -0
- package/lib/cjs/dagster/index.cjs +32 -0
- package/lib/cjs/dagster/index.cjs.map +1 -0
- package/lib/cjs/engine/constants.cjs +6 -1
- package/lib/cjs/engine/constants.cjs.map +1 -1
- package/lib/cjs/engine/execution/GraphCodeMode.cjs +137 -0
- package/lib/cjs/engine/execution/GraphCodeMode.cjs.map +1 -0
- package/lib/cjs/engine/execution/GraphExecutionBackend.cjs +89 -0
- package/lib/cjs/engine/execution/GraphExecutionBackend.cjs.map +1 -0
- package/lib/cjs/engine/execution/GraphExecutionBackendRegistry.cjs +107 -0
- package/lib/cjs/engine/execution/GraphExecutionBackendRegistry.cjs.map +1 -0
- package/lib/cjs/engine/execution/GraphExecutionEngine.cjs +250 -733
- package/lib/cjs/engine/execution/GraphExecutionEngine.cjs.map +1 -1
- package/lib/cjs/engine/execution/LocalGraphExecutionBackend.cjs +804 -0
- package/lib/cjs/engine/execution/LocalGraphExecutionBackend.cjs.map +1 -0
- package/lib/cjs/engine/execution/index.cjs +4 -0
- package/lib/cjs/engine/execution/index.cjs.map +1 -1
- package/lib/cjs/engine/index.cjs +4 -0
- package/lib/cjs/engine/index.cjs.map +1 -1
- package/lib/cjs/engine/runs/GraphRunService.cjs +61 -0
- package/lib/cjs/engine/runs/GraphRunService.cjs.map +1 -1
- package/lib/cjs/engine/services/GraphWorkflowService.cjs +33 -14
- package/lib/cjs/engine/services/GraphWorkflowService.cjs.map +1 -1
- package/lib/cjs/mastra/MastraCapabilities.cjs +171 -0
- package/lib/cjs/mastra/MastraCapabilities.cjs.map +1 -0
- package/lib/cjs/mastra/MastraConditionBridge.cjs +39 -0
- package/lib/cjs/mastra/MastraConditionBridge.cjs.map +1 -0
- package/lib/cjs/mastra/MastraEventBridge.cjs +486 -0
- package/lib/cjs/mastra/MastraEventBridge.cjs.map +1 -0
- package/lib/cjs/mastra/MastraGraphExecutionBackend.cjs +351 -0
- package/lib/cjs/mastra/MastraGraphExecutionBackend.cjs.map +1 -0
- package/lib/cjs/mastra/MastraResumeGuard.cjs +127 -0
- package/lib/cjs/mastra/MastraResumeGuard.cjs.map +1 -0
- package/lib/cjs/mastra/MastraSchemaConverter.cjs +124 -0
- package/lib/cjs/mastra/MastraSchemaConverter.cjs.map +1 -0
- package/lib/cjs/mastra/MastraWorkflowCompiler.cjs +461 -0
- package/lib/cjs/mastra/MastraWorkflowCompiler.cjs.map +1 -0
- package/lib/cjs/mastra/MastraWorkflowManager.cjs +401 -0
- package/lib/cjs/mastra/MastraWorkflowManager.cjs.map +1 -0
- package/lib/cjs/mastra/index.cjs +35 -0
- package/lib/cjs/mastra/index.cjs.map +1 -0
- package/lib/cjs/mastra/types.cjs +34 -0
- package/lib/cjs/mastra/types.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphEngineCapabilityManifest.cjs +136 -0
- package/lib/cjs/nest/graph/GraphEngineCapabilityManifest.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphEngineCapabilityService.cjs +140 -0
- package/lib/cjs/nest/graph/GraphEngineCapabilityService.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphEngineController.cjs +227 -0
- package/lib/cjs/nest/graph/GraphEngineController.cjs.map +1 -0
- package/lib/cjs/nest/graph/GraphExecutionModule.cjs +30 -2
- package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -1
- package/lib/cjs/nest/graph/index.cjs +3 -0
- package/lib/cjs/nest/graph/index.cjs.map +1 -1
- package/lib/cjs/nest/graph/main.cjs +54 -0
- package/lib/cjs/nest/graph/main.cjs.map +1 -0
- package/lib/cjs/nest/graph/servingErrors.cjs +3 -0
- package/lib/cjs/nest/graph/servingErrors.cjs.map +1 -1
- package/lib/cjs/node/utility/code/node.cjs +11 -3
- package/lib/cjs/node/utility/code/node.cjs.map +1 -1
- package/lib/cjs/shared/graph/catalog/GraphManifestCompiler.cjs +2 -3
- package/lib/cjs/shared/graph/catalog/GraphManifestCompiler.cjs.map +1 -1
- package/lib/cjs/shared/graph/constants.cjs +8 -0
- package/lib/cjs/shared/graph/constants.cjs.map +1 -1
- package/lib/cjs/shared/graph/index.cjs +2 -1
- package/lib/cjs/shared/graph/index.cjs.map +1 -1
- package/lib/cjs/shared/graph/layout/GraphWorkflowLayout.cjs +146 -0
- package/lib/cjs/shared/graph/layout/GraphWorkflowLayout.cjs.map +1 -0
- package/lib/cjs/shared/graph/layout/index.cjs +23 -0
- package/lib/cjs/shared/graph/layout/index.cjs.map +1 -0
- package/lib/cjs/shared/graph/layout/layout-options.cjs +93 -0
- package/lib/cjs/shared/graph/layout/layout-options.cjs.map +1 -0
- package/lib/cjs/shared/ui/index.cjs +8 -10
- package/lib/cjs/shared/ui/index.cjs.map +1 -1
- package/lib/esm/dagster/DagsterGraphEventBridge.js +339 -0
- package/lib/esm/dagster/DagsterGraphEventBridge.js.map +1 -0
- package/lib/esm/dagster/DagsterGraphExecutionBackend.js +781 -0
- package/lib/esm/dagster/DagsterGraphExecutionBackend.js.map +1 -0
- package/lib/esm/dagster/DagsterResultMapper.js +51 -0
- package/lib/esm/dagster/DagsterResultMapper.js.map +1 -0
- package/lib/esm/dagster/DagsterTypes.js +2 -0
- package/lib/esm/dagster/DagsterTypes.js.map +1 -0
- package/lib/esm/dagster/capabilities.js +97 -0
- package/lib/esm/dagster/capabilities.js.map +1 -0
- package/lib/esm/dagster/constants.js +88 -0
- package/lib/esm/dagster/constants.js.map +1 -0
- package/lib/esm/dagster/index.js +15 -0
- package/lib/esm/dagster/index.js.map +1 -0
- package/lib/esm/engine/constants.js +5 -0
- package/lib/esm/engine/constants.js.map +1 -1
- package/lib/esm/engine/execution/GraphCodeMode.js +132 -0
- package/lib/esm/engine/execution/GraphCodeMode.js.map +1 -0
- package/lib/esm/engine/execution/GraphExecutionBackend.js +83 -0
- package/lib/esm/engine/execution/GraphExecutionBackend.js.map +1 -0
- package/lib/esm/engine/execution/GraphExecutionBackendRegistry.js +102 -0
- package/lib/esm/engine/execution/GraphExecutionBackendRegistry.js.map +1 -0
- package/lib/esm/engine/execution/GraphExecutionEngine.js +232 -716
- package/lib/esm/engine/execution/GraphExecutionEngine.js.map +1 -1
- package/lib/esm/engine/execution/LocalGraphExecutionBackend.js +799 -0
- package/lib/esm/engine/execution/LocalGraphExecutionBackend.js.map +1 -0
- package/lib/esm/engine/execution/index.js +4 -0
- package/lib/esm/engine/execution/index.js.map +1 -1
- package/lib/esm/engine/index.js +4 -0
- package/lib/esm/engine/index.js.map +1 -1
- package/lib/esm/engine/runs/GraphRunService.js +62 -1
- package/lib/esm/engine/runs/GraphRunService.js.map +1 -1
- package/lib/esm/engine/services/GraphWorkflowService.js +33 -14
- package/lib/esm/engine/services/GraphWorkflowService.js.map +1 -1
- package/lib/esm/mastra/MastraCapabilities.js +164 -0
- package/lib/esm/mastra/MastraCapabilities.js.map +1 -0
- package/lib/esm/mastra/MastraConditionBridge.js +34 -0
- package/lib/esm/mastra/MastraConditionBridge.js.map +1 -0
- package/lib/esm/mastra/MastraEventBridge.js +481 -0
- package/lib/esm/mastra/MastraEventBridge.js.map +1 -0
- package/lib/esm/mastra/MastraGraphExecutionBackend.js +346 -0
- package/lib/esm/mastra/MastraGraphExecutionBackend.js.map +1 -0
- package/lib/esm/mastra/MastraResumeGuard.js +123 -0
- package/lib/esm/mastra/MastraResumeGuard.js.map +1 -0
- package/lib/esm/mastra/MastraSchemaConverter.js +119 -0
- package/lib/esm/mastra/MastraSchemaConverter.js.map +1 -0
- package/lib/esm/mastra/MastraWorkflowCompiler.js +456 -0
- package/lib/esm/mastra/MastraWorkflowCompiler.js.map +1 -0
- package/lib/esm/mastra/MastraWorkflowManager.js +396 -0
- package/lib/esm/mastra/MastraWorkflowManager.js.map +1 -0
- package/lib/esm/mastra/index.js +18 -0
- package/lib/esm/mastra/index.js.map +1 -0
- package/lib/esm/mastra/types.js +30 -0
- package/lib/esm/mastra/types.js.map +1 -0
- package/lib/esm/nest/graph/GraphEngineCapabilityManifest.js +129 -0
- package/lib/esm/nest/graph/GraphEngineCapabilityManifest.js.map +1 -0
- package/lib/esm/nest/graph/GraphEngineCapabilityService.js +131 -0
- package/lib/esm/nest/graph/GraphEngineCapabilityService.js.map +1 -0
- package/lib/esm/nest/graph/GraphEngineController.js +218 -0
- package/lib/esm/nest/graph/GraphEngineController.js.map +1 -0
- package/lib/esm/nest/graph/GraphExecutionModule.js +30 -2
- package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -1
- package/lib/esm/nest/graph/index.js +3 -0
- package/lib/esm/nest/graph/index.js.map +1 -1
- package/lib/esm/nest/graph/main.js +51 -0
- package/lib/esm/nest/graph/main.js.map +1 -0
- package/lib/esm/nest/graph/servingErrors.js +3 -0
- package/lib/esm/nest/graph/servingErrors.js.map +1 -1
- package/lib/esm/node/utility/code/node.js +11 -3
- package/lib/esm/node/utility/code/node.js.map +1 -1
- package/lib/esm/shared/graph/GraphExecutionStateMapper.js.map +1 -1
- package/lib/esm/shared/graph/catalog/GraphManifestCompiler.js +2 -3
- package/lib/esm/shared/graph/catalog/GraphManifestCompiler.js.map +1 -1
- package/lib/esm/shared/graph/constants.js +8 -0
- package/lib/esm/shared/graph/constants.js.map +1 -1
- package/lib/esm/shared/graph/index.js +2 -1
- package/lib/esm/shared/graph/index.js.map +1 -1
- package/lib/esm/shared/graph/layout/GraphWorkflowLayout.js +107 -0
- package/lib/esm/shared/graph/layout/GraphWorkflowLayout.js.map +1 -0
- package/lib/esm/shared/graph/layout/index.js +6 -0
- package/lib/esm/shared/graph/layout/index.js.map +1 -0
- package/lib/esm/shared/graph/layout/layout-options.js +96 -0
- package/lib/esm/shared/graph/layout/layout-options.js.map +1 -0
- package/lib/esm/shared/ui/index.js +8 -10
- package/lib/esm/shared/ui/index.js.map +1 -1
- package/lib/types/dagster/DagsterGraphEventBridge.d.cts +142 -0
- package/lib/types/dagster/DagsterGraphEventBridge.d.mts +142 -0
- package/lib/types/dagster/DagsterGraphExecutionBackend.d.cts +323 -0
- package/lib/types/dagster/DagsterGraphExecutionBackend.d.mts +323 -0
- package/lib/types/dagster/DagsterResultMapper.d.cts +50 -0
- package/lib/types/dagster/DagsterResultMapper.d.mts +50 -0
- package/lib/types/dagster/DagsterTypes.d.cts +355 -0
- package/lib/types/dagster/DagsterTypes.d.mts +355 -0
- package/lib/types/dagster/capabilities.d.cts +34 -0
- package/lib/types/dagster/capabilities.d.mts +34 -0
- package/lib/types/dagster/constants.d.cts +87 -0
- package/lib/types/dagster/constants.d.mts +87 -0
- package/lib/types/dagster/index.d.cts +14 -0
- package/lib/types/dagster/index.d.mts +14 -0
- package/lib/types/engine/constants.d.cts +5 -0
- package/lib/types/engine/constants.d.mts +5 -0
- package/lib/types/engine/execution/GraphCodeMode.d.cts +52 -0
- package/lib/types/engine/execution/GraphCodeMode.d.mts +52 -0
- package/lib/types/engine/execution/GraphExecutionBackend.d.cts +306 -0
- package/lib/types/engine/execution/GraphExecutionBackend.d.mts +306 -0
- package/lib/types/engine/execution/GraphExecutionBackendRegistry.d.cts +59 -0
- package/lib/types/engine/execution/GraphExecutionBackendRegistry.d.mts +59 -0
- package/lib/types/engine/execution/GraphExecutionEngine.d.cts +116 -135
- package/lib/types/engine/execution/GraphExecutionEngine.d.mts +116 -135
- package/lib/types/engine/execution/LocalGraphExecutionBackend.d.cts +232 -0
- package/lib/types/engine/execution/LocalGraphExecutionBackend.d.mts +232 -0
- package/lib/types/engine/execution/index.d.cts +4 -0
- package/lib/types/engine/execution/index.d.mts +4 -0
- package/lib/types/engine/index.d.cts +4 -0
- package/lib/types/engine/index.d.mts +4 -0
- package/lib/types/engine/runs/GraphRunService.d.cts +19 -0
- package/lib/types/engine/runs/GraphRunService.d.mts +19 -0
- package/lib/types/engine/services/GraphWorkflowService.d.cts +22 -0
- package/lib/types/engine/services/GraphWorkflowService.d.mts +22 -0
- package/lib/types/mastra/MastraCapabilities.d.cts +91 -0
- package/lib/types/mastra/MastraCapabilities.d.mts +91 -0
- package/lib/types/mastra/MastraConditionBridge.d.cts +38 -0
- package/lib/types/mastra/MastraConditionBridge.d.mts +38 -0
- package/lib/types/mastra/MastraEventBridge.d.cts +189 -0
- package/lib/types/mastra/MastraEventBridge.d.mts +189 -0
- package/lib/types/mastra/MastraGraphExecutionBackend.d.cts +119 -0
- package/lib/types/mastra/MastraGraphExecutionBackend.d.mts +119 -0
- package/lib/types/mastra/MastraResumeGuard.d.cts +58 -0
- package/lib/types/mastra/MastraResumeGuard.d.mts +58 -0
- package/lib/types/mastra/MastraSchemaConverter.d.cts +39 -0
- package/lib/types/mastra/MastraSchemaConverter.d.mts +39 -0
- package/lib/types/mastra/MastraWorkflowCompiler.d.cts +218 -0
- package/lib/types/mastra/MastraWorkflowCompiler.d.mts +218 -0
- package/lib/types/mastra/MastraWorkflowManager.d.cts +220 -0
- package/lib/types/mastra/MastraWorkflowManager.d.mts +220 -0
- package/lib/types/mastra/index.d.cts +17 -0
- package/lib/types/mastra/index.d.mts +17 -0
- package/lib/types/mastra/types.d.cts +222 -0
- package/lib/types/mastra/types.d.mts +222 -0
- package/lib/types/nest/graph/GraphEngineCapabilityManifest.d.cts +87 -0
- package/lib/types/nest/graph/GraphEngineCapabilityManifest.d.mts +87 -0
- package/lib/types/nest/graph/GraphEngineCapabilityService.d.cts +98 -0
- package/lib/types/nest/graph/GraphEngineCapabilityService.d.mts +98 -0
- package/lib/types/nest/graph/GraphEngineController.d.cts +74 -0
- package/lib/types/nest/graph/GraphEngineController.d.mts +74 -0
- package/lib/types/nest/graph/GraphExecutionModule.d.cts +8 -0
- package/lib/types/nest/graph/GraphExecutionModule.d.mts +8 -0
- package/lib/types/nest/graph/index.d.cts +3 -0
- package/lib/types/nest/graph/index.d.mts +3 -0
- package/lib/types/nest/graph/main.d.cts +1 -0
- package/lib/types/nest/graph/main.d.mts +1 -0
- package/lib/types/nest/graph/servingErrors.d.cts +3 -1
- package/lib/types/nest/graph/servingErrors.d.mts +3 -1
- package/lib/types/node/utility/code/node.d.cts +1 -1
- package/lib/types/node/utility/code/node.d.mts +1 -1
- package/lib/types/shared/graph/GraphExecutionStateMapper.d.cts +5 -5
- package/lib/types/shared/graph/GraphExecutionStateMapper.d.mts +5 -5
- package/lib/types/shared/graph/constants.d.cts +8 -0
- package/lib/types/shared/graph/constants.d.mts +8 -0
- package/lib/types/shared/graph/index.d.cts +2 -1
- package/lib/types/shared/graph/index.d.mts +2 -1
- package/lib/types/shared/graph/layout/GraphWorkflowLayout.d.cts +49 -0
- package/lib/types/shared/graph/layout/GraphWorkflowLayout.d.mts +49 -0
- package/lib/types/shared/graph/layout/index.d.cts +5 -0
- package/lib/types/shared/graph/layout/index.d.mts +5 -0
- package/lib/types/shared/graph/layout/layout-options.d.cts +46 -0
- package/lib/types/shared/graph/layout/layout-options.d.mts +46 -0
- package/lib/types/shared/graph/types.d.cts +4 -3
- package/lib/types/shared/graph/types.d.mts +4 -3
- package/lib/types/shared/ui/index.d.cts +8 -10
- package/lib/types/shared/ui/index.d.mts +8 -10
- package/package.json +49 -6
- package/lib/cjs/shared/ui/GraphNodeView.cjs +0 -114
- package/lib/cjs/shared/ui/GraphNodeView.cjs.map +0 -1
- package/lib/cjs/shared/ui/GraphRunView.cjs +0 -96
- package/lib/cjs/shared/ui/GraphRunView.cjs.map +0 -1
- package/lib/cjs/shared/ui/GraphWorkflowView.cjs +0 -78
- package/lib/cjs/shared/ui/GraphWorkflowView.cjs.map +0 -1
- package/lib/cjs/shared/ui/types.cjs +0 -4
- package/lib/cjs/shared/ui/types.cjs.map +0 -1
- package/lib/esm/shared/ui/GraphNodeView.js +0 -107
- package/lib/esm/shared/ui/GraphNodeView.js.map +0 -1
- package/lib/esm/shared/ui/GraphRunView.js +0 -90
- package/lib/esm/shared/ui/GraphRunView.js.map +0 -1
- package/lib/esm/shared/ui/GraphWorkflowView.js +0 -72
- package/lib/esm/shared/ui/GraphWorkflowView.js.map +0 -1
- package/lib/esm/shared/ui/types.js +0 -2
- package/lib/esm/shared/ui/types.js.map +0 -1
- package/lib/types/shared/ui/GraphNodeView.d.cts +0 -48
- package/lib/types/shared/ui/GraphNodeView.d.mts +0 -48
- package/lib/types/shared/ui/GraphRunView.d.cts +0 -88
- package/lib/types/shared/ui/GraphRunView.d.mts +0 -88
- package/lib/types/shared/ui/GraphWorkflowView.d.cts +0 -18
- package/lib/types/shared/ui/GraphWorkflowView.d.mts +0 -18
- package/lib/types/shared/ui/types.d.cts +0 -200
- package/lib/types/shared/ui/types.d.mts +0 -200
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MastraEventBridge = void 0;
|
|
4
|
+
const constants_js_1 = require("./../shared/graph/constants.cjs");
|
|
5
|
+
/** Log levels accepted in bridged log events; anything else is dropped. */
|
|
6
|
+
const LOG_LEVELS = new Set([
|
|
7
|
+
"silly",
|
|
8
|
+
"trace",
|
|
9
|
+
"debug",
|
|
10
|
+
"verbose",
|
|
11
|
+
"info",
|
|
12
|
+
"warn",
|
|
13
|
+
"error",
|
|
14
|
+
"critical",
|
|
15
|
+
"fatal",
|
|
16
|
+
"benchmark",
|
|
17
|
+
]);
|
|
18
|
+
/**
|
|
19
|
+
* Resolves the node-scoped endpoint id of an edge side.
|
|
20
|
+
*
|
|
21
|
+
* @param edge - The edge to inspect.
|
|
22
|
+
* @param side - Which side of the edge to read.
|
|
23
|
+
* @returns The node id when the endpoint is node-scoped, else `undefined`.
|
|
24
|
+
*/
|
|
25
|
+
function nodeEndpointId(edge, side) {
|
|
26
|
+
const endpoint = edge[side];
|
|
27
|
+
return endpoint.scope === "node" ? endpoint.nodeId : undefined;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Resolves the port name of an edge side.
|
|
31
|
+
*
|
|
32
|
+
* @param edge - The edge to inspect.
|
|
33
|
+
* @param side - Which side of the edge to read.
|
|
34
|
+
* @returns The endpoint port name.
|
|
35
|
+
*/
|
|
36
|
+
function endpointPort(edge, side) {
|
|
37
|
+
return edge[side].port;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Translates Mastra `fullStream` events into canonical facade events. The
|
|
41
|
+
* bridge indexes the document's data edges by node endpoint so step results can
|
|
42
|
+
* be routed as edge values and step lifecycles can drive node/edge visual
|
|
43
|
+
* states. Log events (`log`, `writer`, `console`) are surfaced as
|
|
44
|
+
* `GRAPH_RUN_LOG` entries with a known log level.
|
|
45
|
+
*/
|
|
46
|
+
class MastraEventBridge {
|
|
47
|
+
/**
|
|
48
|
+
* Creates the bridge and indexes the document's node-scoped data edges.
|
|
49
|
+
*
|
|
50
|
+
* @param options - Run identity, document, and event sink options.
|
|
51
|
+
*/
|
|
52
|
+
constructor(options) {
|
|
53
|
+
this.options = options;
|
|
54
|
+
/** Data edges leaving each node, keyed by source node id. */
|
|
55
|
+
this.outgoing = new Map();
|
|
56
|
+
/** Data edges entering each node, keyed by target node id. */
|
|
57
|
+
this.incoming = new Map();
|
|
58
|
+
for (const edge of options.document.edges ?? []) {
|
|
59
|
+
if (edge.type !== "data")
|
|
60
|
+
continue;
|
|
61
|
+
const source = nodeEndpointId(edge, "source");
|
|
62
|
+
const target = nodeEndpointId(edge, "target");
|
|
63
|
+
if (source) {
|
|
64
|
+
const list = this.outgoing.get(source) ?? [];
|
|
65
|
+
list.push(edge);
|
|
66
|
+
this.outgoing.set(source, list);
|
|
67
|
+
}
|
|
68
|
+
if (target) {
|
|
69
|
+
const list = this.incoming.get(target) ?? [];
|
|
70
|
+
list.push(edge);
|
|
71
|
+
this.incoming.set(target, list);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Consumes a Mastra run's full event stream until it ends.
|
|
77
|
+
*
|
|
78
|
+
* @param stream - The async iterable of Mastra `fullStream` events.
|
|
79
|
+
* @returns Resolves when the stream is exhausted.
|
|
80
|
+
*/
|
|
81
|
+
async attach(stream) {
|
|
82
|
+
for await (const event of stream) {
|
|
83
|
+
await this.handle(event);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Translates one raw Mastra event and emits the matching canonical events.
|
|
88
|
+
* Unrecognised event types are ignored unless they look like log entries.
|
|
89
|
+
*
|
|
90
|
+
* @param event - The raw Mastra `fullStream` event.
|
|
91
|
+
* @returns Resolves once the derived events have been emitted.
|
|
92
|
+
*/
|
|
93
|
+
async handle(event) {
|
|
94
|
+
const type = typeof event["type"] === "string" ? event["type"] : undefined;
|
|
95
|
+
switch (type) {
|
|
96
|
+
case "workflow-start":
|
|
97
|
+
await this.emit({
|
|
98
|
+
type: constants_js_1.GraphExecutionEventType.WORKFLOW_STARTED,
|
|
99
|
+
status: constants_js_1.GraphExecutionStatus.RUNNING,
|
|
100
|
+
});
|
|
101
|
+
return;
|
|
102
|
+
case "workflow-step-start":
|
|
103
|
+
await this.onStepStart(event);
|
|
104
|
+
return;
|
|
105
|
+
case "workflow-step-output":
|
|
106
|
+
await this.onStepOutput(event);
|
|
107
|
+
return;
|
|
108
|
+
case "workflow-step-progress":
|
|
109
|
+
await this.onStepProgress(event);
|
|
110
|
+
return;
|
|
111
|
+
case "workflow-step-result":
|
|
112
|
+
await this.onStepResult(event);
|
|
113
|
+
return;
|
|
114
|
+
case "workflow-step-suspended":
|
|
115
|
+
await this.onStepSuspended(event);
|
|
116
|
+
return;
|
|
117
|
+
case "workflow-finish":
|
|
118
|
+
await this.onWorkflowFinish(event);
|
|
119
|
+
return;
|
|
120
|
+
case "workflow-canceled":
|
|
121
|
+
await this.emit({
|
|
122
|
+
type: constants_js_1.GraphExecutionEventType.WORKFLOW_CANCELLED,
|
|
123
|
+
status: constants_js_1.GraphExecutionStatus.CANCELLED,
|
|
124
|
+
});
|
|
125
|
+
return;
|
|
126
|
+
case "log":
|
|
127
|
+
case "writer":
|
|
128
|
+
case "console":
|
|
129
|
+
await this.onLog(event);
|
|
130
|
+
return;
|
|
131
|
+
default:
|
|
132
|
+
if (this.looksLikeLog(event)) {
|
|
133
|
+
await this.onLog(event);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Emits the node-started lifecycle, node visual state, and running edge
|
|
139
|
+
* states for the incoming data edges of a started step.
|
|
140
|
+
*
|
|
141
|
+
* @param event - The raw `workflow-step-start` event.
|
|
142
|
+
* @returns Resolves once the derived events have been emitted.
|
|
143
|
+
*/
|
|
144
|
+
async onStepStart(event) {
|
|
145
|
+
const nodeId = this.stepId(event);
|
|
146
|
+
if (!nodeId)
|
|
147
|
+
return;
|
|
148
|
+
const path = [...(this.options.path ?? []), nodeId];
|
|
149
|
+
await this.emit({
|
|
150
|
+
type: constants_js_1.GraphExecutionEventType.NODE_STARTED,
|
|
151
|
+
nodeId,
|
|
152
|
+
path,
|
|
153
|
+
status: constants_js_1.GraphExecutionStatus.RUNNING,
|
|
154
|
+
});
|
|
155
|
+
await this.emitNodeState(nodeId, constants_js_1.GraphVisualState.RUNNING, path);
|
|
156
|
+
for (const edge of this.incoming.get(nodeId) ?? []) {
|
|
157
|
+
await this.emitEdgeState(edge, constants_js_1.GraphVisualState.RUNNING, constants_js_1.GraphExecutionStatus.RUNNING);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Emits the step's incremental output as a node-output event.
|
|
162
|
+
*
|
|
163
|
+
* @param event - The raw `workflow-step-output` event.
|
|
164
|
+
* @returns Resolves once the derived events have been emitted.
|
|
165
|
+
*/
|
|
166
|
+
async onStepOutput(event) {
|
|
167
|
+
const nodeId = this.stepId(event);
|
|
168
|
+
if (!nodeId)
|
|
169
|
+
return;
|
|
170
|
+
const payload = this.payloadOf(event);
|
|
171
|
+
await this.emit({
|
|
172
|
+
type: constants_js_1.GraphExecutionEventType.NODE_OUTPUT,
|
|
173
|
+
nodeId,
|
|
174
|
+
path: [...(this.options.path ?? []), nodeId],
|
|
175
|
+
status: constants_js_1.GraphExecutionStatus.RUNNING,
|
|
176
|
+
payload: { outputs: payload["output"] ?? payload },
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Emits one loop-iteration progress event for a foreach/while step.
|
|
181
|
+
*
|
|
182
|
+
* @param event - The raw `workflow-step-progress` event.
|
|
183
|
+
* @returns Resolves once the derived events have been emitted.
|
|
184
|
+
*/
|
|
185
|
+
async onStepProgress(event) {
|
|
186
|
+
const nodeId = this.stepId(event);
|
|
187
|
+
if (!nodeId)
|
|
188
|
+
return;
|
|
189
|
+
const payload = this.payloadOf(event);
|
|
190
|
+
const iteration = typeof payload["currentIndex"] === "number" ? payload["currentIndex"] : undefined;
|
|
191
|
+
const failed = payload["iterationStatus"] === "failed";
|
|
192
|
+
await this.emit({
|
|
193
|
+
type: constants_js_1.GraphExecutionEventType.LOOP_ITERATION_COMPLETED,
|
|
194
|
+
nodeId,
|
|
195
|
+
path: [...(this.options.path ?? []), nodeId],
|
|
196
|
+
status: failed ? constants_js_1.GraphExecutionStatus.FAILED : constants_js_1.GraphExecutionStatus.SUCCEEDED,
|
|
197
|
+
iteration,
|
|
198
|
+
payload: {
|
|
199
|
+
completedCount: payload["completedCount"],
|
|
200
|
+
totalCount: payload["totalCount"],
|
|
201
|
+
iterationStatus: payload["iterationStatus"],
|
|
202
|
+
},
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Emits the terminal lifecycle of a finished step: failure, suspension
|
|
207
|
+
* block, or completion (including routed outgoing edge values).
|
|
208
|
+
*
|
|
209
|
+
* @param event - The raw `workflow-step-result` event.
|
|
210
|
+
* @returns Resolves once the derived events have been emitted.
|
|
211
|
+
*/
|
|
212
|
+
async onStepResult(event) {
|
|
213
|
+
const nodeId = this.stepId(event);
|
|
214
|
+
if (!nodeId)
|
|
215
|
+
return;
|
|
216
|
+
const payload = this.payloadOf(event);
|
|
217
|
+
const status = payload["status"];
|
|
218
|
+
const path = [...(this.options.path ?? []), nodeId];
|
|
219
|
+
const output = payload["output"];
|
|
220
|
+
if (status === "failed") {
|
|
221
|
+
await this.emit({
|
|
222
|
+
type: constants_js_1.GraphExecutionEventType.NODE_FAILED,
|
|
223
|
+
nodeId,
|
|
224
|
+
path,
|
|
225
|
+
status: constants_js_1.GraphExecutionStatus.FAILED,
|
|
226
|
+
error: this.errorPayload(payload["error"] ?? payload),
|
|
227
|
+
});
|
|
228
|
+
await this.emitNodeState(nodeId, constants_js_1.GraphVisualState.FAILED, path);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
if (status === "suspended") {
|
|
232
|
+
await this.emitNodeState(nodeId, constants_js_1.GraphVisualState.BLOCKED, path);
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
await this.emit({
|
|
236
|
+
type: constants_js_1.GraphExecutionEventType.NODE_COMPLETED,
|
|
237
|
+
nodeId,
|
|
238
|
+
path,
|
|
239
|
+
status: constants_js_1.GraphExecutionStatus.SUCCEEDED,
|
|
240
|
+
payload: { outputs: output ?? {} },
|
|
241
|
+
});
|
|
242
|
+
await this.emitNodeState(nodeId, constants_js_1.GraphVisualState.SUCCEEDED, path);
|
|
243
|
+
await this.routeEdges(nodeId, output, path);
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Emits the suspension state of a suspended step and the workflow-suspended
|
|
247
|
+
* event carrying Mastra's suspend payload.
|
|
248
|
+
*
|
|
249
|
+
* @param event - The raw `workflow-step-suspended` event.
|
|
250
|
+
* @returns Resolves once the derived events have been emitted.
|
|
251
|
+
*/
|
|
252
|
+
async onStepSuspended(event) {
|
|
253
|
+
const nodeId = this.stepId(event);
|
|
254
|
+
if (!nodeId)
|
|
255
|
+
return;
|
|
256
|
+
const path = [...(this.options.path ?? []), nodeId];
|
|
257
|
+
await this.emitNodeState(nodeId, constants_js_1.GraphVisualState.BLOCKED, path);
|
|
258
|
+
await this.emit({
|
|
259
|
+
type: constants_js_1.GraphExecutionEventType.WORKFLOW_SUSPENDED,
|
|
260
|
+
nodeId,
|
|
261
|
+
path,
|
|
262
|
+
status: constants_js_1.GraphExecutionStatus.PENDING,
|
|
263
|
+
payload: { suspend: this.payloadOf(event)["suspendPayload"] },
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Emits the terminal workflow event: failed, cancelled, or completed with
|
|
268
|
+
* the final workflow result.
|
|
269
|
+
*
|
|
270
|
+
* @param event - The raw `workflow-finish` event.
|
|
271
|
+
* @returns Resolves once the derived events have been emitted.
|
|
272
|
+
*/
|
|
273
|
+
async onWorkflowFinish(event) {
|
|
274
|
+
const payload = this.payloadOf(event);
|
|
275
|
+
const workflowStatus = payload["workflowStatus"];
|
|
276
|
+
if (workflowStatus === "failed") {
|
|
277
|
+
await this.emit({
|
|
278
|
+
type: constants_js_1.GraphExecutionEventType.WORKFLOW_FAILED,
|
|
279
|
+
status: constants_js_1.GraphExecutionStatus.FAILED,
|
|
280
|
+
error: this.errorPayload(payload["error"] ?? payload),
|
|
281
|
+
});
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
if (workflowStatus === "canceled" || workflowStatus === "cancelled") {
|
|
285
|
+
await this.emit({
|
|
286
|
+
type: constants_js_1.GraphExecutionEventType.WORKFLOW_CANCELLED,
|
|
287
|
+
status: constants_js_1.GraphExecutionStatus.CANCELLED,
|
|
288
|
+
});
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
await this.emit({
|
|
292
|
+
type: constants_js_1.GraphExecutionEventType.WORKFLOW_COMPLETED,
|
|
293
|
+
status: constants_js_1.GraphExecutionStatus.SUCCEEDED,
|
|
294
|
+
payload: { outputs: payload["finalWorkflowResult"] ?? payload["output"] },
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Emits a run-log entry for a bridged log event; unknown levels are dropped.
|
|
299
|
+
*
|
|
300
|
+
* @param event - The raw log/writer/console event.
|
|
301
|
+
* @returns Resolves once the log entry has been emitted.
|
|
302
|
+
*/
|
|
303
|
+
async onLog(event) {
|
|
304
|
+
const payload = this.payloadOf(event);
|
|
305
|
+
const level = typeof payload["level"] === "string" ? payload["level"] : "info";
|
|
306
|
+
if (!LOG_LEVELS.has(level))
|
|
307
|
+
return;
|
|
308
|
+
const nodeId = typeof payload["nodeId"] === "string" ? payload["nodeId"] : undefined;
|
|
309
|
+
const entry = {
|
|
310
|
+
level: level,
|
|
311
|
+
message: typeof payload["message"] === "string"
|
|
312
|
+
? payload["message"]
|
|
313
|
+
: String(payload["message"] ?? ""),
|
|
314
|
+
timestamp: new Date().toISOString(),
|
|
315
|
+
runId: this.options.runId,
|
|
316
|
+
workflowId: this.options.workflowId,
|
|
317
|
+
...(nodeId ? { nodeId } : {}),
|
|
318
|
+
};
|
|
319
|
+
await this.emit({
|
|
320
|
+
type: constants_js_1.GraphExecutionEventType.GRAPH_RUN_LOG,
|
|
321
|
+
nodeId,
|
|
322
|
+
status: constants_js_1.GraphExecutionStatus.RUNNING,
|
|
323
|
+
payload: entry,
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Heuristic check whether an unrecognised event is a log entry.
|
|
328
|
+
*
|
|
329
|
+
* @param event - The raw Mastra event.
|
|
330
|
+
* @returns `true` when the event carries a level and a message.
|
|
331
|
+
*/
|
|
332
|
+
looksLikeLog(event) {
|
|
333
|
+
const payload = this.payloadOf(event);
|
|
334
|
+
return (typeof payload["level"] === "string" &&
|
|
335
|
+
(typeof payload["message"] === "string" ||
|
|
336
|
+
typeof event["message"] === "string"));
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Routes one finished node's output values along its outgoing data edges,
|
|
340
|
+
* emitting edge-value and edge-state events per routed edge.
|
|
341
|
+
*
|
|
342
|
+
* @param nodeId - The finished node id.
|
|
343
|
+
* @param output - The node's output record.
|
|
344
|
+
* @param path - The node path the events are reported under.
|
|
345
|
+
* @returns Resolves once the routed edge events have been emitted.
|
|
346
|
+
*/
|
|
347
|
+
async routeEdges(nodeId, output, path) {
|
|
348
|
+
if (!output || typeof output !== "object" || Array.isArray(output)) {
|
|
349
|
+
return;
|
|
350
|
+
}
|
|
351
|
+
const outputs = output;
|
|
352
|
+
for (const edge of this.outgoing.get(nodeId) ?? []) {
|
|
353
|
+
const sourcePort = endpointPort(edge, "source");
|
|
354
|
+
if (!Object.prototype.hasOwnProperty.call(outputs, sourcePort))
|
|
355
|
+
continue;
|
|
356
|
+
await this.emit({
|
|
357
|
+
type: constants_js_1.GraphExecutionEventType.EDGE_VALUE_ROUTED,
|
|
358
|
+
edgeId: edge.id,
|
|
359
|
+
nodeId,
|
|
360
|
+
path,
|
|
361
|
+
status: constants_js_1.GraphExecutionStatus.SUCCEEDED,
|
|
362
|
+
payload: { edge, value: outputs[sourcePort] },
|
|
363
|
+
});
|
|
364
|
+
await this.emitEdgeState(edge, constants_js_1.GraphVisualState.SUCCEEDED, constants_js_1.GraphExecutionStatus.SUCCEEDED);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Emits a node visual-state change for the bridged run.
|
|
369
|
+
*
|
|
370
|
+
* @param nodeId - The node whose state changed.
|
|
371
|
+
* @param state - The new visual state.
|
|
372
|
+
* @param path - The node path the event is reported under.
|
|
373
|
+
* @returns Resolves once the event has been emitted.
|
|
374
|
+
*/
|
|
375
|
+
async emitNodeState(nodeId, state, path) {
|
|
376
|
+
await this.emit({
|
|
377
|
+
type: constants_js_1.GraphExecutionEventType.NODE_STATE_CHANGED,
|
|
378
|
+
nodeId,
|
|
379
|
+
path,
|
|
380
|
+
status: this.statusFor(state),
|
|
381
|
+
payload: {
|
|
382
|
+
nodeId,
|
|
383
|
+
state,
|
|
384
|
+
runId: this.options.runId,
|
|
385
|
+
workflowId: this.options.workflowId,
|
|
386
|
+
},
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Emits an edge visual-state change for the bridged run.
|
|
391
|
+
*
|
|
392
|
+
* @param edge - The edge whose state changed.
|
|
393
|
+
* @param state - The new visual state.
|
|
394
|
+
* @param status - The execution status carried by the event.
|
|
395
|
+
* @returns Resolves once the event has been emitted.
|
|
396
|
+
*/
|
|
397
|
+
async emitEdgeState(edge, state, status) {
|
|
398
|
+
await this.emit({
|
|
399
|
+
type: constants_js_1.GraphExecutionEventType.EDGE_STATE_CHANGED,
|
|
400
|
+
edgeId: edge.id,
|
|
401
|
+
nodeId: nodeEndpointId(edge, "source"),
|
|
402
|
+
path: [],
|
|
403
|
+
status,
|
|
404
|
+
payload: {
|
|
405
|
+
edgeId: edge.id,
|
|
406
|
+
state,
|
|
407
|
+
runId: this.options.runId,
|
|
408
|
+
workflowId: this.options.workflowId,
|
|
409
|
+
status,
|
|
410
|
+
},
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Maps a visual state to the execution status its event carries.
|
|
415
|
+
*
|
|
416
|
+
* @param state - The node visual state.
|
|
417
|
+
* @returns The matching execution status.
|
|
418
|
+
*/
|
|
419
|
+
statusFor(state) {
|
|
420
|
+
switch (state) {
|
|
421
|
+
case constants_js_1.GraphVisualState.SUCCEEDED:
|
|
422
|
+
return constants_js_1.GraphExecutionStatus.SUCCEEDED;
|
|
423
|
+
case constants_js_1.GraphVisualState.FAILED:
|
|
424
|
+
return constants_js_1.GraphExecutionStatus.FAILED;
|
|
425
|
+
case constants_js_1.GraphVisualState.SKIPPED:
|
|
426
|
+
return constants_js_1.GraphExecutionStatus.SKIPPED;
|
|
427
|
+
default:
|
|
428
|
+
return constants_js_1.GraphExecutionStatus.RUNNING;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Resolves the Mastra step id of an event (the canonical node id).
|
|
433
|
+
*
|
|
434
|
+
* @param event - The raw Mastra event.
|
|
435
|
+
* @returns The step id, or `undefined` when the event has none.
|
|
436
|
+
*/
|
|
437
|
+
stepId(event) {
|
|
438
|
+
const payload = this.payloadOf(event);
|
|
439
|
+
const id = payload["id"] ?? event["id"];
|
|
440
|
+
return typeof id === "string" ? id : undefined;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Extracts an event's payload record, tolerating missing or non-object
|
|
444
|
+
* payloads.
|
|
445
|
+
*
|
|
446
|
+
* @param event - The raw Mastra event.
|
|
447
|
+
* @returns The payload record, or an empty record.
|
|
448
|
+
*/
|
|
449
|
+
payloadOf(event) {
|
|
450
|
+
const payload = event["payload"];
|
|
451
|
+
return payload && typeof payload === "object" && !Array.isArray(payload)
|
|
452
|
+
? payload
|
|
453
|
+
: {};
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Normalises an arbitrary error into the canonical error payload shape.
|
|
457
|
+
*
|
|
458
|
+
* @param error - The thrown error or value.
|
|
459
|
+
* @returns The normalised name/message/code payload.
|
|
460
|
+
*/
|
|
461
|
+
errorPayload(error) {
|
|
462
|
+
if (error instanceof Error) {
|
|
463
|
+
return {
|
|
464
|
+
name: error.name,
|
|
465
|
+
message: error.message,
|
|
466
|
+
...(typeof error.code === "string"
|
|
467
|
+
? { code: error.code }
|
|
468
|
+
: {}),
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
return { name: "MastraError", message: String(error) };
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Forwards one canonical event onto the configured facade event sink.
|
|
475
|
+
*
|
|
476
|
+
* @param partial - The event to emit (run identity fields are supplied by
|
|
477
|
+
* the sink's frame awareness).
|
|
478
|
+
* @returns Resolves once the sink accepted the event.
|
|
479
|
+
*/
|
|
480
|
+
async emit(partial) {
|
|
481
|
+
await this.options.sink.emit(partial);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
exports.MastraEventBridge = MastraEventBridge;
|
|
485
|
+
//# sourceMappingURL=MastraEventBridge.js.map
|
|
486
|
+
//# sourceMappingURL=MastraEventBridge.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mastra/MastraEventBridge.cjs","sourceRoot":"","sources":["mastra/MastraEventBridge.js"],"names":[],"mappings":";;;AAAA,iEAAkH;AAClH,2EAA2E;AAC3E,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC;IACvB,OAAO;IACP,OAAO;IACP,OAAO;IACP,SAAS;IACT,MAAM;IACN,MAAM;IACN,OAAO;IACP,UAAU;IACV,OAAO;IACP,WAAW;CACd,CAAC,CAAC;AACH;;;;;;GAMG;AACH,SAAS,cAAc,CAAC,IAAI,EAAE,IAAI;IAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,QAAQ,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACnE,CAAC;AACD;;;;;;GAMG;AACH,SAAS,YAAY,CAAC,IAAI,EAAE,IAAI;IAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;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