@fractal-solutions/qflow 1.0.73 → 1.0.75

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,11 +38,11 @@ export class InteractiveWebviewNode extends AsyncNode {
38
38
  },
39
39
  width: {
40
40
  type: "number",
41
- description: "Optional. The width of the webview window. Defaults to 400."
41
+ description: "Optional. The width of the webview window. Defaults to 400. Ensure it fits content well and is not too small."
42
42
  },
43
43
  height: {
44
44
  type: "number",
45
- description: "Optional. The height of the webview window. Defaults to 220."
45
+ description: "Optional. The height of the webview window. Defaults to 300. Ensure it fits content well and is not too small."
46
46
  },
47
47
  theme: {
48
48
  type: "string",
@@ -62,7 +62,7 @@ export class InteractiveWebviewNode extends AsyncNode {
62
62
  description: "Optional. If true, the input field in 'input' mode will be a multiline textarea. Defaults to false."
63
63
  }
64
64
  },
65
- required: ["mode"]
65
+ required: ["mode", "title"]
66
66
  }
67
67
  };
68
68
  }
@@ -74,7 +74,7 @@ export class InteractiveWebviewNode extends AsyncNode {
74
74
  const { mode = 'notification', // 'notification', 'dialog', 'input'
75
75
  message = '', options = [], // for dialog mode
76
76
  prompt = '', // for input mode
77
- title = 'Qflow', width = 400, height = 220, theme = 'light', // 'light', 'dark'
77
+ title = 'Qflow', width = 400, height = 300, theme = 'light', // 'light', 'dark'
78
78
  persistent = false, // New parameter for persistent webview
79
79
  html = '', // New parameter for custom HTML content
80
80
  multilineInput = false, // New parameter for multi-line input
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fractal-solutions/qflow",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
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",