@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.
Files changed (46) hide show
  1. package/dist/api/enhanced-client.d.ts +29 -16
  2. package/dist/api/enhanced-client.js +0 -14
  3. package/dist/components/PipelineStatus.svelte +9 -12
  4. package/dist/components/WorkflowEditor.svelte +3 -0
  5. package/dist/components/interrupt/ChoicePrompt.svelte +24 -5
  6. package/dist/components/interrupt/ConfirmationPrompt.svelte +5 -0
  7. package/dist/components/interrupt/InterruptBubble.svelte +12 -0
  8. package/dist/components/interrupt/ReviewPrompt.svelte +20 -0
  9. package/dist/components/interrupt/TextInputPrompt.svelte +5 -0
  10. package/dist/components/nodes/GatewayNode.svelte +2 -6
  11. package/dist/components/nodes/WorkflowNode.svelte +2 -6
  12. package/dist/components/playground/ChatInput.svelte +359 -0
  13. package/dist/components/playground/ChatInput.svelte.d.ts +14 -0
  14. package/dist/components/playground/ChatPanel.svelte +100 -724
  15. package/dist/components/playground/ChatPanel.svelte.d.ts +9 -26
  16. package/dist/components/playground/ControlPanel.svelte +496 -0
  17. package/dist/components/playground/ControlPanel.svelte.d.ts +20 -0
  18. package/dist/components/playground/ExecutionConsole.svelte +163 -0
  19. package/dist/components/playground/ExecutionConsole.svelte.d.ts +14 -0
  20. package/dist/components/playground/MessageStream.svelte +283 -0
  21. package/dist/components/playground/MessageStream.svelte.d.ts +27 -0
  22. package/dist/components/playground/PipelineKanbanView.svelte +284 -0
  23. package/dist/components/playground/PipelineKanbanView.svelte.d.ts +11 -0
  24. package/dist/components/playground/PipelinePanel.svelte +204 -65
  25. package/dist/components/playground/PipelinePanel.svelte.d.ts +3 -1
  26. package/dist/components/playground/PipelineTableView.svelte +376 -0
  27. package/dist/components/playground/PipelineTableView.svelte.d.ts +11 -0
  28. package/dist/components/playground/Playground.svelte +262 -1200
  29. package/dist/components/playground/Playground.svelte.d.ts +0 -13
  30. package/dist/components/playground/PlaygroundStudio.svelte +35 -61
  31. package/dist/components/playground/PlaygroundStudio.svelte.d.ts +3 -1
  32. package/dist/components/playground/pipelineViewUtils.svelte.d.ts +22 -0
  33. package/dist/components/playground/pipelineViewUtils.svelte.js +77 -0
  34. package/dist/messages/defaults.d.ts +24 -0
  35. package/dist/messages/defaults.js +24 -0
  36. package/dist/playground/index.d.ts +6 -1
  37. package/dist/playground/index.js +6 -0
  38. package/dist/playground/mount.d.ts +3 -0
  39. package/dist/playground/mount.js +3 -2
  40. package/dist/stores/playgroundStore.svelte.d.ts +6 -0
  41. package/dist/stores/playgroundStore.svelte.js +21 -1
  42. package/dist/types/index.d.ts +28 -2
  43. package/dist/types/playground.d.ts +5 -2
  44. package/dist/types/playground.js +5 -7
  45. package/dist/utils/nodeStatus.js +15 -5
  46. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ placeholder?: string;
3
+ /** Show the textarea (default: true). When false, only the Run button is shown. */
4
+ showTextarea?: boolean;
5
+ /** Show the Run button when textarea is hidden (default: true) */
6
+ showRunButton?: boolean;
7
+ /** Message sent when Run is clicked with textarea hidden */
8
+ predefinedMessage?: string;
9
+ onSendMessage?: (content: string) => void;
10
+ onStopExecution?: () => void;
11
+ }
12
+ declare const ChatInput: import("svelte").Component<Props, {}, "">;
13
+ type ChatInput = ReturnType<typeof ChatInput>;
14
+ export default ChatInput;