@flowdrop/flowdrop 1.11.0 → 1.12.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/dist/api/enhanced-client.d.ts +29 -16
- package/dist/api/enhanced-client.js +0 -14
- package/dist/components/PipelineStatus.svelte +9 -12
- package/dist/components/WorkflowEditor.svelte +3 -0
- package/dist/components/interrupt/ChoicePrompt.svelte +24 -5
- package/dist/components/interrupt/ConfirmationPrompt.svelte +5 -0
- package/dist/components/interrupt/InterruptBubble.svelte +12 -0
- package/dist/components/interrupt/ReviewPrompt.svelte +20 -0
- package/dist/components/interrupt/TextInputPrompt.svelte +5 -0
- package/dist/components/nodes/GatewayNode.svelte +2 -6
- package/dist/components/nodes/WorkflowNode.svelte +2 -6
- package/dist/components/playground/ChatInput.svelte +359 -0
- package/dist/components/playground/ChatInput.svelte.d.ts +14 -0
- package/dist/components/playground/ChatPanel.svelte +100 -724
- package/dist/components/playground/ChatPanel.svelte.d.ts +9 -26
- package/dist/components/playground/ControlPanel.svelte +496 -0
- package/dist/components/playground/ControlPanel.svelte.d.ts +20 -0
- package/dist/components/playground/ExecutionConsole.svelte +163 -0
- package/dist/components/playground/ExecutionConsole.svelte.d.ts +14 -0
- package/dist/components/playground/MessageStream.svelte +283 -0
- package/dist/components/playground/MessageStream.svelte.d.ts +27 -0
- package/dist/components/playground/PipelineKanbanView.svelte +284 -0
- package/dist/components/playground/PipelineKanbanView.svelte.d.ts +11 -0
- package/dist/components/playground/PipelinePanel.svelte +204 -65
- package/dist/components/playground/PipelinePanel.svelte.d.ts +3 -1
- package/dist/components/playground/PipelineTableView.svelte +376 -0
- package/dist/components/playground/PipelineTableView.svelte.d.ts +11 -0
- package/dist/components/playground/Playground.svelte +262 -1200
- package/dist/components/playground/Playground.svelte.d.ts +0 -13
- package/dist/components/playground/PlaygroundStudio.svelte +35 -61
- package/dist/components/playground/PlaygroundStudio.svelte.d.ts +3 -1
- package/dist/components/playground/pipelineViewUtils.svelte.d.ts +22 -0
- package/dist/components/playground/pipelineViewUtils.svelte.js +77 -0
- package/dist/messages/defaults.d.ts +24 -0
- package/dist/messages/defaults.js +24 -0
- package/dist/playground/index.d.ts +6 -1
- package/dist/playground/index.js +6 -0
- package/dist/playground/mount.d.ts +3 -0
- package/dist/playground/mount.js +3 -2
- package/dist/stores/playgroundStore.svelte.d.ts +6 -0
- package/dist/stores/playgroundStore.svelte.js +21 -1
- package/dist/types/index.d.ts +28 -2
- package/dist/types/playground.d.ts +5 -2
- package/dist/types/playground.js +5 -7
- package/dist/utils/nodeStatus.js +15 -5
- package/package.json +1 -1
package/dist/utils/nodeStatus.js
CHANGED
|
@@ -13,7 +13,9 @@ export function getStatusColor(status) {
|
|
|
13
13
|
completed: '#10b981', // emerald
|
|
14
14
|
failed: '#ef4444', // red
|
|
15
15
|
cancelled: '#6b7280', // gray
|
|
16
|
-
skipped: '#8b5cf6' // violet
|
|
16
|
+
skipped: '#8b5cf6', // violet
|
|
17
|
+
paused: '#f97316', // orange
|
|
18
|
+
interrupted: '#06b6d4' // cyan
|
|
17
19
|
};
|
|
18
20
|
return statusColors[status] || statusColors.idle;
|
|
19
21
|
}
|
|
@@ -28,7 +30,9 @@ export function getStatusIcon(status) {
|
|
|
28
30
|
completed: 'mdi:check-circle',
|
|
29
31
|
failed: 'mdi:alert-circle',
|
|
30
32
|
cancelled: 'mdi:cancel',
|
|
31
|
-
skipped: 'mdi:skip-next'
|
|
33
|
+
skipped: 'mdi:skip-next',
|
|
34
|
+
paused: 'mdi:pause-circle-outline',
|
|
35
|
+
interrupted: 'mdi:account-clock-outline'
|
|
32
36
|
};
|
|
33
37
|
return statusIcons[status] || statusIcons.idle;
|
|
34
38
|
}
|
|
@@ -43,7 +47,9 @@ export function getStatusLabel(status) {
|
|
|
43
47
|
completed: 'Completed',
|
|
44
48
|
failed: 'Failed',
|
|
45
49
|
cancelled: 'Cancelled',
|
|
46
|
-
skipped: 'Skipped'
|
|
50
|
+
skipped: 'Skipped',
|
|
51
|
+
paused: 'Paused',
|
|
52
|
+
interrupted: 'Waiting'
|
|
47
53
|
};
|
|
48
54
|
return statusLabels[status] || statusLabels.idle;
|
|
49
55
|
}
|
|
@@ -58,7 +64,9 @@ export function getStatusBackgroundColor(status) {
|
|
|
58
64
|
completed: '#d1fae5', // light emerald
|
|
59
65
|
failed: '#fee2e2', // light red
|
|
60
66
|
cancelled: '#f3f4f6', // light gray
|
|
61
|
-
skipped: '#ede9fe' // light violet
|
|
67
|
+
skipped: '#ede9fe', // light violet
|
|
68
|
+
paused: '#ffedd5', // light orange
|
|
69
|
+
interrupted: '#cffafe' // light cyan
|
|
62
70
|
};
|
|
63
71
|
return statusBackgroundColors[status] || statusBackgroundColors.idle;
|
|
64
72
|
}
|
|
@@ -73,7 +81,9 @@ export function getStatusTextColor(status) {
|
|
|
73
81
|
completed: '#059669', // emerald
|
|
74
82
|
failed: '#dc2626', // red
|
|
75
83
|
cancelled: '#6b7280', // gray
|
|
76
|
-
skipped: '#7c3aed' // violet
|
|
84
|
+
skipped: '#7c3aed', // violet
|
|
85
|
+
paused: '#ea580c', // orange
|
|
86
|
+
interrupted: '#0891b2' // cyan
|
|
77
87
|
};
|
|
78
88
|
return statusTextColors[status] || statusTextColors.idle;
|
|
79
89
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "A drop-in visual workflow editor for any web application. You own the backend. You own the data. You own the orchestration.",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.12.0",
|
|
7
7
|
"author": "Shibin Das (D34dMan)",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://github.com/flowdrop-io/flowdrop/issues"
|