@meshflow/core 0.4.6 → 0.4.8

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 CHANGED
@@ -1,44 +1,44 @@
1
- # @meshflow/core
2
-
3
- **基于水位线调度(Watermark Scheduling)的轻量级拓扑逻辑引擎。**
4
-
5
- [![Documentation](https://img.shields.io/badge/docs-VitePress-blue.svg)](https://meshflow-docs.vercel.app/)
6
- [![Demo](https://img.shields.io/badge/demo-Vercel-orange.svg)](https://meshflow-factory-demo.vercel.app/)
7
-
8
- ## 🏗️ 引擎定位
9
-
10
- `@meshflow/core` 不预设任何业务场景。它是一个纯粹的**逻辑计算骨架**,负责管理节点(TaskNode)之间的拓扑依赖关系。
11
-
12
- 它只做三件事:
13
- 1. **构建拓扑图**:通过 Schema 定义节点及其层级。
14
- 2. **编排任务流**:管理节点间的联动规则(Rule)。
15
- 3. **确定性执行**:利用水位线(Watermark)机制,确保异步任务在复杂的依赖网中,依然能按正确的顺序提交。
16
-
17
- ---
18
-
19
- ## 🎯 核心能力
20
-
21
- ### 1. 任务依赖编排 (Topology)
22
- 引擎会自动解析节点间的依赖关系(A -> B, C -> D)。当上游节点变化时,下游节点会根据拓扑层级进行原子化更新,完美解决“循环计算”和“重复触发”问题。
23
-
24
- ### 2. 异步水位线调度 (Watermark)
25
- 在异步任务流中,由于网络波动,旧的任务可能比新的任务更晚返回。引擎通过内置的水位线令牌,确保只有最新的任务结果会被采纳,彻底杜绝异步竞态导致的数据覆盖风险。
26
-
27
- ### 3. 计算路径剪枝 (Pruning)
28
- 引擎会自动比对节点的值(Value Check)。如果某个节点的计算结果与之前一致,引擎将自动截断该路径的后续传播,实现极致的性能优化,支持 500+ 节点的实时复杂联动。
29
-
30
- ---
31
-
32
- ## ✨ 特性
33
-
34
- - **🏗️ 纯粹 Headless**:无 UI 绑定,适配 Vue/React/Solid 或 Node.js 环境。
35
- - **⚡ 极致类型推导**:提供完整的路径感知能力,支持超大规模 Schema 的深度类型检查。
36
- - **🧩 开放式模块系统**:通过 `modules` 注入,你可以轻松给引擎套上“表单”、“动画”或“工作流”的壳子。
37
- - **🚨 循环依赖检测**:在规则注册阶段即进行环检测,防止逻辑死循环。
38
- - **📦 极简体积**:产物仅 **~19KB**,零第三方依赖。
39
-
40
- ---
41
-
42
- ## 🚀 核心概念演示
43
-
44
- * **[数据表单场景]** 👉 使用 [**@meshflow/form**](https://www.npmjs.com/package/@meshflow/form) (基于 Core 封装的专业表单逻辑层)。
1
+ # @meshflow/core
2
+
3
+ **基于水位线调度(Watermark Scheduling)的轻量级拓扑逻辑引擎。**
4
+
5
+ [![Documentation](https://img.shields.io/badge/docs-VitePress-blue.svg)](https://meshflow-docs.vercel.app/)
6
+ [![Demo](https://img.shields.io/badge/demo-Vercel-orange.svg)](https://meshflow-factory-demo.vercel.app/)
7
+
8
+ ## 🏗️ 引擎定位
9
+
10
+ `@meshflow/core` 不预设任何业务场景。它是一个纯粹的**逻辑计算骨架**,负责管理节点(TaskNode)之间的拓扑依赖关系。
11
+
12
+ 它只做三件事:
13
+ 1. **构建拓扑图**:通过 Schema 定义节点及其层级。
14
+ 2. **编排任务流**:管理节点间的联动规则(Rule)。
15
+ 3. **确定性执行**:利用水位线(Watermark)机制,确保异步任务在复杂的依赖网中,依然能按正确的顺序提交。
16
+
17
+ ---
18
+
19
+ ## 🎯 核心能力
20
+
21
+ ### 1. 任务依赖编排 (Topology)
22
+ 引擎会自动解析节点间的依赖关系(A -> B, C -> D)。当上游节点变化时,下游节点会根据拓扑层级进行原子化更新,完美解决“循环计算”和“重复触发”问题。
23
+
24
+ ### 2. 异步水位线调度 (Watermark)
25
+ 在异步任务流中,由于网络波动,旧的任务可能比新的任务更晚返回。引擎通过内置的水位线令牌,确保只有最新的任务结果会被采纳,彻底杜绝异步竞态导致的数据覆盖风险。
26
+
27
+ ### 3. 计算路径剪枝 (Pruning)
28
+ 引擎会自动比对节点的值(Value Check)。如果某个节点的计算结果与之前一致,引擎将自动截断该路径的后续传播,实现极致的性能优化,支持 500+ 节点的实时复杂联动。
29
+
30
+ ---
31
+
32
+ ## ✨ 特性
33
+
34
+ - **🏗️ 纯粹 Headless**:无 UI 绑定,适配 Vue/React/Solid 或 Node.js 环境。
35
+ - **⚡ 极致类型推导**:提供完整的路径感知能力,支持超大规模 Schema 的深度类型检查。
36
+ - **🧩 开放式模块系统**:通过 `modules` 注入,你可以轻松给引擎套上“表单”、“动画”或“工作流”的壳子。
37
+ - **🚨 循环依赖检测**:在规则注册阶段即进行环检测,防止逻辑死循环。
38
+ - **📦 极简体积**:产物仅 **~19KB**,零第三方依赖。
39
+
40
+ ---
41
+
42
+ ## 🚀 核心概念演示
43
+
44
+ * **[数据表单场景]** 👉 使用 [**@meshflow/form**](https://www.npmjs.com/package/@meshflow/form) (基于 Core 封装的专业表单逻辑层)。
package/index.d.mts CHANGED
@@ -330,7 +330,7 @@ declare function useEngineInstance<T, P extends MeshPath, S = any, M extends Rec
330
330
  } & M;
331
331
  plugins: {};
332
332
  }): {
333
- SetRule: <TKeys extends KeysOfUnion<NM> = any>(outDegreePath: P, inDegreePath: P, key: KeysOfUnion<NM> | (string & {}), options: SetRuleOptions<NM, TKeys>) => void;
333
+ SetRule: <TKeys extends KeysOfUnion<NM>>(outDegreePath: P, inDegreePath: P, key: KeysOfUnion<NM> | (string & {}), options: SetRuleOptions<NM, TKeys>) => void;
334
334
  SetRules: <TKeys extends KeysOfUnion<NM>>(outDegreePaths: P[], inDegreePath: P, key: KeysOfUnion<NM> | (string & {}), options: SetRuleOptions<NM, TKeys>) => void;
335
335
  SetStrategy: (path: P, key: KeysOfUnion<NM>, strategy: DefaultStrategy) => void;
336
336
  useEntangle: (config: EntangleArgType<P>) => void;
@@ -379,7 +379,7 @@ declare function useEngineInstance<T, P extends MeshPath, S = any, M extends Rec
379
379
  notifyAll: () => Promise<void>;
380
380
  batchNotify: (updates: {
381
381
  path: P;
382
- key: KeysOfUnion<NM> | (string & {});
382
+ key: (string & {}) | KeysOfUnion<NM>;
383
383
  value: any;
384
384
  }[]) => void;
385
385
  useEntangle: (config: EntangleArgType<P>) => void;
@@ -524,7 +524,7 @@ M extends Record<string, any>, NM extends Record<string, any> = InferLeafType<S>
524
524
  signalTrigger: (signal: T) => void;
525
525
  };
526
526
  }) => Engine<{
527
- SetRule: <TKeys extends KeysOfUnion<NM> = any>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
527
+ SetRule: <TKeys extends KeysOfUnion<NM>>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
528
528
  SetRules: <TKeys extends KeysOfUnion<NM>>(outDegreePaths: P[], inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
529
529
  SetStrategy: (path: P, key: KeysOfUnion<NM>, strategy: DefaultStrategy) => void;
530
530
  useEntangle: (config: EntangleArgType<P>) => void;
@@ -615,7 +615,7 @@ declare const useMeshFlow: <const S extends Record<string, any> | any[], T, M ex
615
615
  signalTrigger: (signal: T) => void;
616
616
  };
617
617
  }) => Engine<{
618
- SetRule: <TKeys extends KeysOfUnion<NM> = any>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
618
+ SetRule: <TKeys extends KeysOfUnion<NM>>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
619
619
  SetRules: <TKeys extends KeysOfUnion<NM>>(outDegreePaths: P[], inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
620
620
  SetStrategy: (path: P, key: KeysOfUnion<NM>, strategy: DefaultStrategy) => void;
621
621
  useEntangle: (config: EntangleArgType<P>) => void;
package/index.d.ts CHANGED
@@ -330,7 +330,7 @@ declare function useEngineInstance<T, P extends MeshPath, S = any, M extends Rec
330
330
  } & M;
331
331
  plugins: {};
332
332
  }): {
333
- SetRule: <TKeys extends KeysOfUnion<NM> = any>(outDegreePath: P, inDegreePath: P, key: KeysOfUnion<NM> | (string & {}), options: SetRuleOptions<NM, TKeys>) => void;
333
+ SetRule: <TKeys extends KeysOfUnion<NM>>(outDegreePath: P, inDegreePath: P, key: KeysOfUnion<NM> | (string & {}), options: SetRuleOptions<NM, TKeys>) => void;
334
334
  SetRules: <TKeys extends KeysOfUnion<NM>>(outDegreePaths: P[], inDegreePath: P, key: KeysOfUnion<NM> | (string & {}), options: SetRuleOptions<NM, TKeys>) => void;
335
335
  SetStrategy: (path: P, key: KeysOfUnion<NM>, strategy: DefaultStrategy) => void;
336
336
  useEntangle: (config: EntangleArgType<P>) => void;
@@ -379,7 +379,7 @@ declare function useEngineInstance<T, P extends MeshPath, S = any, M extends Rec
379
379
  notifyAll: () => Promise<void>;
380
380
  batchNotify: (updates: {
381
381
  path: P;
382
- key: KeysOfUnion<NM> | (string & {});
382
+ key: (string & {}) | KeysOfUnion<NM>;
383
383
  value: any;
384
384
  }[]) => void;
385
385
  useEntangle: (config: EntangleArgType<P>) => void;
@@ -524,7 +524,7 @@ M extends Record<string, any>, NM extends Record<string, any> = InferLeafType<S>
524
524
  signalTrigger: (signal: T) => void;
525
525
  };
526
526
  }) => Engine<{
527
- SetRule: <TKeys extends KeysOfUnion<NM> = any>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
527
+ SetRule: <TKeys extends KeysOfUnion<NM>>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
528
528
  SetRules: <TKeys extends KeysOfUnion<NM>>(outDegreePaths: P[], inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
529
529
  SetStrategy: (path: P, key: KeysOfUnion<NM>, strategy: DefaultStrategy) => void;
530
530
  useEntangle: (config: EntangleArgType<P>) => void;
@@ -615,7 +615,7 @@ declare const useMeshFlow: <const S extends Record<string, any> | any[], T, M ex
615
615
  signalTrigger: (signal: T) => void;
616
616
  };
617
617
  }) => Engine<{
618
- SetRule: <TKeys extends KeysOfUnion<NM> = any>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
618
+ SetRule: <TKeys extends KeysOfUnion<NM>>(outDegreePath: P, inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
619
619
  SetRules: <TKeys extends KeysOfUnion<NM>>(outDegreePaths: P[], inDegreePath: P, key: (string & {}) | KeysOfUnion<NM>, options: SetRuleOptions<NM, TKeys>) => void;
620
620
  SetStrategy: (path: P, key: KeysOfUnion<NM>, strategy: DefaultStrategy) => void;
621
621
  useEntangle: (config: EntangleArgType<P>) => void;
package/package.json CHANGED
@@ -1,27 +1,36 @@
1
- {
2
- "name": "@meshflow/core",
3
- "version": "0.4.6",
4
- "description": "A logic orchestration engine utilizing topological scheduling and watermark control to resolve asynchronous race conditions in complex dependency linkages.”",
5
- "main": "./index.cjs",
6
- "module": "./index.js",
7
- "types": "./index.d.ts",
8
- "author": "nzy",
9
- "license": "AGPL-3.0-or-later",
10
- "publishConfig": {
11
- "registry": "https://registry.npmjs.org/"
12
- },
13
- "keywords": [
14
- "form",
15
- "form-engine",
16
- "logic-engine",
17
- "topology",
18
- "async-linkage",
19
- "watermark",
20
- "dag",
21
- "reactive"
22
- ],
23
- "devDependencies": {
24
- "typescript": "^5.0.0",
25
- "tsup": "^8.0.0"
26
- }
1
+ {
2
+ "name": "@meshflow/core",
3
+ "version": "0.4.8",
4
+ "description": "A logic orchestration engine utilizing topological scheduling and watermark control to resolve asynchronous race conditions in complex dependency linkages.",
5
+ "main": "./index.cjs",
6
+ "module": "./index.js",
7
+ "types": "./index.d.ts",
8
+ "author": "nzy",
9
+ "license": "AGPL-3.0-or-later",
10
+ "publishConfig": {
11
+ "registry": "https://registry.npmjs.org/"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/Nzy19940403/meshflow.git",
16
+ "directory": "utils/core"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/Nzy19940403/meshflow/issues"
20
+ },
21
+ "homepage": "https://github.com/Nzy19940403/meshflow#readme",
22
+ "keywords": [
23
+ "form",
24
+ "form-engine",
25
+ "logic-engine",
26
+ "topology",
27
+ "async-linkage",
28
+ "watermark",
29
+ "dag",
30
+ "reactive"
31
+ ],
32
+ "devDependencies": {
33
+ "typescript": "^5.0.0",
34
+ "tsup": "^8.0.0"
35
+ }
27
36
  }
package/metafile-cjs.json DELETED
@@ -1 +0,0 @@
1
- {"inputs":{"utils/core/types/types.ts":{"bytes":7417,"imports":[{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/bucket.ts":{"bytes":18142,"imports":[{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/dependency/useSetRule.ts":{"bytes":9855,"imports":[{"path":"utils/core/engine/bucket.ts","kind":"import-statement","original":"../engine/bucket"},{"path":"../types/types","kind":"import-statement","external":true},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/dependency/useStrategy.ts":{"bytes":557,"imports":[{"path":"../engine/bucket","kind":"import-statement","external":true},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/plugins/useExecutionTrace.ts":{"bytes":3887,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"}],"format":"esm"},"utils/core/dependency/useDepenency.ts":{"bytes":6586,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"}],"format":"esm"},"utils/core/hooks/useCreateHook.ts":{"bytes":436,"imports":[],"format":"esm"},"utils/core/hooks/useOnError.ts":{"bytes":481,"imports":[{"path":"utils/core/hooks/useCreateHook.ts","kind":"import-statement","original":"./useCreateHook"},{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/hooks/useOnSuccess.ts":{"bytes":216,"imports":[{"path":"utils/core/hooks/useCreateHook.ts","kind":"import-statement","original":"./useCreateHook"}],"format":"esm"},"utils/core/plugins/usePlugin.ts":{"bytes":2971,"imports":[{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/hooks/useOnStart.ts":{"bytes":210,"imports":[{"path":"utils/core/hooks/useCreateHook.ts","kind":"import-statement","original":"./useCreateHook"}],"format":"esm"},"utils/core/utils/util.ts":{"bytes":6875,"imports":[],"format":"esm"},"utils/core/engine/useMeshTask.ts":{"bytes":82718,"imports":[{"path":"utils/core/utils/util.ts","kind":"import-statement","original":"../utils/util"},{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"./bucket","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useMeshNode.ts":{"bytes":4009,"imports":[{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/dependency/useSetEntangle.ts":{"bytes":13440,"imports":[{"path":"../types/types","kind":"import-statement","external":true},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useScheduler.ts":{"bytes":13453,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"utils/core/engine/useMeshTask.ts","kind":"import-statement","original":"./useMeshTask"},{"path":"utils/core/engine/useMeshNode.ts","kind":"import-statement","original":"./useMeshNode"},{"path":"utils/core/utils/util.ts","kind":"import-statement","original":"../utils/util"},{"path":"utils/core/dependency/useSetEntangle.ts","kind":"import-statement","original":"../dependency/useSetEntangle"},{"path":"./bucket","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useEngineInstance.ts":{"bytes":13134,"imports":[{"path":"utils/core/dependency/useSetRule.ts","kind":"import-statement","original":"../dependency/useSetRule"},{"path":"utils/core/dependency/useStrategy.ts","kind":"import-statement","original":"../dependency/useStrategy"},{"path":"utils/core/plugins/useExecutionTrace.ts","kind":"import-statement","original":"../plugins/useExecutionTrace"},{"path":"utils/core/dependency/useDepenency.ts","kind":"import-statement","original":"../dependency/useDepenency"},{"path":"utils/core/hooks/useOnError.ts","kind":"import-statement","original":"../hooks/useOnError"},{"path":"utils/core/hooks/useOnSuccess.ts","kind":"import-statement","original":"../hooks/useOnSuccess"},{"path":"utils/core/plugins/usePlugin.ts","kind":"import-statement","original":"../plugins/usePlugin"},{"path":"utils/core/hooks/useOnStart.ts","kind":"import-statement","original":"../hooks/useOnStart"},{"path":"../types/types","kind":"import-statement","external":true},{"path":"utils/core/engine/useScheduler.ts","kind":"import-statement","original":"./useScheduler"},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useEngineManager.ts":{"bytes":11068,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"../utils/util","kind":"import-statement","external":true},{"path":"utils/core/engine/useEngineInstance.ts","kind":"import-statement","original":"./useEngineInstance"},{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"utils/core/engine/bucket.ts","kind":"import-statement","original":"../engine/bucket"},{"path":"utils/core/engine/useScheduler.ts","kind":"import-statement","original":"../engine/useScheduler"}],"format":"esm"}},"outputs":{"lib-dist/index.js":{"imports":[],"exports":["DefaultStrategy","MeshFlowEventsName","TriggerCause","deleteEngine","useEngine","useEngineManager","useMeshFlow","useMeshFlowDefiner","useScheduler"],"entryPoint":"utils/core/engine/useEngineManager.ts","inputs":{"utils/core/types/types.ts":{"bytesInOutput":735},"utils/core/engine/bucket.ts":{"bytesInOutput":5693},"utils/core/dependency/useSetRule.ts":{"bytesInOutput":2097},"utils/core/dependency/useStrategy.ts":{"bytesInOutput":128},"utils/core/plugins/useExecutionTrace.ts":{"bytesInOutput":663},"utils/core/dependency/useDepenency.ts":{"bytesInOutput":1034},"utils/core/hooks/useCreateHook.ts":{"bytesInOutput":122},"utils/core/hooks/useOnError.ts":{"bytesInOutput":68},"utils/core/hooks/useOnSuccess.ts":{"bytesInOutput":72},"utils/core/plugins/usePlugin.ts":{"bytesInOutput":424},"utils/core/hooks/useOnStart.ts":{"bytesInOutput":68},"utils/core/utils/util.ts":{"bytesInOutput":462},"utils/core/engine/useMeshTask.ts":{"bytesInOutput":8773},"utils/core/engine/useMeshNode.ts":{"bytesInOutput":891},"utils/core/dependency/useSetEntangle.ts":{"bytesInOutput":4029},"utils/core/engine/useScheduler.ts":{"bytesInOutput":2887},"utils/core/engine/useEngineInstance.ts":{"bytesInOutput":2501},"utils/core/engine/useEngineManager.ts":{"bytesInOutput":1853}},"bytes":32695}}}
package/metafile-esm.json DELETED
@@ -1 +0,0 @@
1
- {"inputs":{"utils/core/types/types.ts":{"bytes":7417,"imports":[{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/bucket.ts":{"bytes":18142,"imports":[{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/dependency/useSetRule.ts":{"bytes":9855,"imports":[{"path":"utils/core/engine/bucket.ts","kind":"import-statement","original":"../engine/bucket"},{"path":"../types/types","kind":"import-statement","external":true},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/dependency/useStrategy.ts":{"bytes":557,"imports":[{"path":"../engine/bucket","kind":"import-statement","external":true},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/plugins/useExecutionTrace.ts":{"bytes":3887,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"}],"format":"esm"},"utils/core/dependency/useDepenency.ts":{"bytes":6586,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"}],"format":"esm"},"utils/core/hooks/useCreateHook.ts":{"bytes":436,"imports":[],"format":"esm"},"utils/core/hooks/useOnError.ts":{"bytes":481,"imports":[{"path":"utils/core/hooks/useCreateHook.ts","kind":"import-statement","original":"./useCreateHook"},{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/hooks/useOnSuccess.ts":{"bytes":216,"imports":[{"path":"utils/core/hooks/useCreateHook.ts","kind":"import-statement","original":"./useCreateHook"}],"format":"esm"},"utils/core/plugins/usePlugin.ts":{"bytes":2971,"imports":[{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/hooks/useOnStart.ts":{"bytes":210,"imports":[{"path":"utils/core/hooks/useCreateHook.ts","kind":"import-statement","original":"./useCreateHook"}],"format":"esm"},"utils/core/utils/util.ts":{"bytes":6875,"imports":[],"format":"esm"},"utils/core/engine/useMeshTask.ts":{"bytes":82718,"imports":[{"path":"utils/core/utils/util.ts","kind":"import-statement","original":"../utils/util"},{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"./bucket","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useMeshNode.ts":{"bytes":4009,"imports":[{"path":"../types/types","kind":"import-statement","external":true}],"format":"esm"},"utils/core/dependency/useSetEntangle.ts":{"bytes":13440,"imports":[{"path":"../types/types","kind":"import-statement","external":true},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useScheduler.ts":{"bytes":13453,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"utils/core/engine/useMeshTask.ts","kind":"import-statement","original":"./useMeshTask"},{"path":"utils/core/engine/useMeshNode.ts","kind":"import-statement","original":"./useMeshNode"},{"path":"utils/core/utils/util.ts","kind":"import-statement","original":"../utils/util"},{"path":"utils/core/dependency/useSetEntangle.ts","kind":"import-statement","original":"../dependency/useSetEntangle"},{"path":"./bucket","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useEngineInstance.ts":{"bytes":13134,"imports":[{"path":"utils/core/dependency/useSetRule.ts","kind":"import-statement","original":"../dependency/useSetRule"},{"path":"utils/core/dependency/useStrategy.ts","kind":"import-statement","original":"../dependency/useStrategy"},{"path":"utils/core/plugins/useExecutionTrace.ts","kind":"import-statement","original":"../plugins/useExecutionTrace"},{"path":"utils/core/dependency/useDepenency.ts","kind":"import-statement","original":"../dependency/useDepenency"},{"path":"utils/core/hooks/useOnError.ts","kind":"import-statement","original":"../hooks/useOnError"},{"path":"utils/core/hooks/useOnSuccess.ts","kind":"import-statement","original":"../hooks/useOnSuccess"},{"path":"utils/core/plugins/usePlugin.ts","kind":"import-statement","original":"../plugins/usePlugin"},{"path":"utils/core/hooks/useOnStart.ts","kind":"import-statement","original":"../hooks/useOnStart"},{"path":"../types/types","kind":"import-statement","external":true},{"path":"utils/core/engine/useScheduler.ts","kind":"import-statement","original":"./useScheduler"},{"path":"../utils/util","kind":"import-statement","external":true}],"format":"esm"},"utils/core/engine/useEngineManager.ts":{"bytes":11068,"imports":[{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"../utils/util","kind":"import-statement","external":true},{"path":"utils/core/engine/useEngineInstance.ts","kind":"import-statement","original":"./useEngineInstance"},{"path":"utils/core/types/types.ts","kind":"import-statement","original":"../types/types"},{"path":"utils/core/engine/bucket.ts","kind":"import-statement","original":"../engine/bucket"},{"path":"utils/core/engine/useScheduler.ts","kind":"import-statement","original":"../engine/useScheduler"}],"format":"esm"}},"outputs":{"lib-dist/index.mjs":{"imports":[],"exports":["DefaultStrategy","MeshFlowEventsName","TriggerCause","deleteEngine","useEngine","useEngineManager","useMeshFlow","useMeshFlowDefiner","useScheduler"],"entryPoint":"utils/core/engine/useEngineManager.ts","inputs":{"utils/core/types/types.ts":{"bytesInOutput":735},"utils/core/engine/bucket.ts":{"bytesInOutput":5693},"utils/core/dependency/useSetRule.ts":{"bytesInOutput":2097},"utils/core/dependency/useStrategy.ts":{"bytesInOutput":128},"utils/core/plugins/useExecutionTrace.ts":{"bytesInOutput":663},"utils/core/dependency/useDepenency.ts":{"bytesInOutput":1034},"utils/core/hooks/useCreateHook.ts":{"bytesInOutput":122},"utils/core/hooks/useOnError.ts":{"bytesInOutput":68},"utils/core/hooks/useOnSuccess.ts":{"bytesInOutput":72},"utils/core/plugins/usePlugin.ts":{"bytesInOutput":424},"utils/core/hooks/useOnStart.ts":{"bytesInOutput":68},"utils/core/utils/util.ts":{"bytesInOutput":462},"utils/core/engine/useMeshTask.ts":{"bytesInOutput":8773},"utils/core/engine/useMeshNode.ts":{"bytesInOutput":891},"utils/core/dependency/useSetEntangle.ts":{"bytesInOutput":4029},"utils/core/engine/useScheduler.ts":{"bytesInOutput":2887},"utils/core/engine/useEngineInstance.ts":{"bytesInOutput":2501},"utils/core/engine/useEngineManager.ts":{"bytesInOutput":1853}},"bytes":32695}}}