@fractal-solutions/qflow 1.0.70 → 1.0.71

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.
@@ -38,7 +38,7 @@ import { SummarizeNode } from '../nodes/summarize.js';
38
38
  import { HttpServerNode } from '../nodes/http_server.js';
39
39
  import { InteractiveWebviewNode } from '../nodes/interactive_webview.js';
40
40
  import { WebviewNode } from '../nodes/webview.js';
41
- import qflowConfig from '../../qflow.config.js'; // Import the config file
41
+ import qflowConfig from '../qflow.config.js'; // Import the config file
42
42
  import path from 'path';
43
43
  import { fileURLToPath } from 'url';
44
44
  // Get the directory name of the current module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fractal-solutions/qflow",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "description": "A lightweight and flexible JavaScript library for creating and managing workflows and agents.",
5
5
  "main": "dist/qflow.js",
6
6
  "types": "dist/qflow.d.ts",
@@ -16,7 +16,8 @@
16
16
  },
17
17
  "files": [
18
18
  "dist/",
19
- "README.md"
19
+ "README.md",
20
+ "qflow.config.js"
20
21
  ],
21
22
  "scripts": {
22
23
  "test": "bun test",
@@ -0,0 +1,18 @@
1
+ // qflow.config.js
2
+ /**
3
+ * @type {import('./src/types').QFlowConfig}
4
+ */
5
+ const qflowConfig = {
6
+ /**
7
+ * An array of paths to custom node files.
8
+ * These nodes will be dynamically loaded and their static getToolDefinition() methods
9
+ * will be used to make them available as tools for agents.
10
+ * Paths should be relative to the project root.
11
+ * Example: ['./my_nodes/my_custom_node.js', './another_module/special_node.js']
12
+ */
13
+ customNodePaths: [],
14
+
15
+ // Add other qflow configurations here in the future
16
+ };
17
+
18
+ export default qflowConfig;