@fractal-solutions/qflow 1.0.78 → 1.0.79

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.
@@ -17,7 +17,7 @@ export class InteractiveWebviewNode extends AsyncNode {
17
17
  mode: {
18
18
  type: "string",
19
19
  enum: ["notification", "dialog", "input", "custom", "custom-dialog", "custom-input"],
20
- description: "The mode of the webview. Agents should generally default to 'custom-dialog' (custom HTML with dialog options), 'custom-input' (custom HTML with text input), or 'notification' (message with close button) for interactive tasks. For 'custom' mode, you provide the full HTML and JavaScript, and since it can only be closed by closing the window, the flow will hang upon webview closure, making 'custom' mode suitable primarily as a final action or when no return value is expected. Do NOT use `window.qflow.send()` or similar custom mechanisms. Other modes are 'dialog' (message with options), 'input' (message with text input)."
20
+ description: "The mode of the webview. Agents should default to using specifically 'custom-dialog' (custom HTML with dialog options), 'custom-input' (custom HTML with text input), or 'notification' (message with close button) for interactive tasks. In 'custom' mode (don't use much), you provide the full HTML and JavaScript, and since it can only be closed by closing the window, the flow will hang upon webview closure, making 'custom' mode suitable primarily as a final action or when no return value is expected. Do NOT use `window.qflow.send()` or similar custom mechanisms. Other modes are 'dialog' (message with options), 'input' (message with text input) - prefer custom-input and custom-dialog over these."
21
21
  },
22
22
  message: {
23
23
  type: "string",
@@ -42,7 +42,7 @@ export class InteractiveWebviewNode extends AsyncNode {
42
42
  },
43
43
  height: {
44
44
  type: "number",
45
- description: "Optional. The height of the webview window. Defaults to 300. For agent-generated content or elaborate custom HTML, it is often necessary to set a larger height to prevent content from being cut off. Ensure it fits content well and is not too small."
45
+ description: "Optional. The height of the webview window. Defaults to 300. FIt is very very necessary to set a larger height (*1.5) to prevent content from being cut off. Ensure it fits content well and is not too small."
46
46
  },
47
47
  theme: {
48
48
  type: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fractal-solutions/qflow",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
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",