@flowdrop/flowdrop 2.11.0 → 2.13.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 (455) hide show
  1. package/CHANGELOG.md +233 -0
  2. package/dist/adapters/agentspec/autoLayout.d.ts +18 -36
  3. package/dist/adapters/agentspec/autoLayout.js +75 -93
  4. package/dist/chat/activity.d.ts +49 -0
  5. package/dist/chat/activity.js +65 -0
  6. package/dist/chat/commandClassifier.js +2 -1
  7. package/dist/commands/executor.js +186 -27
  8. package/dist/commands/index.d.ts +2 -1
  9. package/dist/commands/index.js +2 -0
  10. package/dist/commands/parser.js +43 -3
  11. package/dist/commands/session.d.ts +60 -0
  12. package/dist/commands/session.js +332 -0
  13. package/dist/commands/storeIntegration.svelte.js +18 -1
  14. package/dist/commands/types.d.ts +77 -4
  15. package/dist/components/App.svelte +976 -226
  16. package/dist/components/App.svelte.d.ts +34 -2
  17. package/dist/components/BindablePortListbox.svelte +68 -369
  18. package/dist/components/Button.svelte +17 -14
  19. package/dist/components/Button.svelte.d.ts +2 -2
  20. package/dist/components/CanvasContextMenu.svelte +31 -10
  21. package/dist/components/CanvasController.svelte +146 -3
  22. package/dist/components/CanvasController.svelte.d.ts +25 -33
  23. package/dist/components/CanvasIconButton.svelte +6 -6
  24. package/dist/components/CanvasToolbar.svelte +103 -0
  25. package/dist/components/CanvasToolbar.svelte.d.ts +23 -0
  26. package/dist/components/CanvasZoomControls.svelte +122 -0
  27. package/dist/components/CanvasZoomControls.svelte.d.ts +15 -0
  28. package/dist/components/ConfigForm.svelte +159 -121
  29. package/dist/components/ConfigModal.svelte +11 -54
  30. package/dist/components/ConfigPanel.svelte +98 -228
  31. package/dist/components/ConfigPanel.svelte.d.ts +2 -2
  32. package/dist/components/ConnectPortPicker.svelte +153 -0
  33. package/dist/components/ConnectPortPicker.svelte.d.ts +22 -0
  34. package/dist/components/DoctorMenu.svelte +422 -0
  35. package/dist/components/DoctorMenu.svelte.d.ts +7 -0
  36. package/dist/components/ExternalLinkRow.svelte +82 -0
  37. package/dist/components/ExternalLinkRow.svelte.d.ts +14 -0
  38. package/dist/components/FlowDropEdge.svelte +52 -2
  39. package/dist/components/FlowDropEdge.svelte.d.ts +5 -1
  40. package/dist/components/InterfaceNameInput.svelte +103 -0
  41. package/dist/components/InterfaceNameInput.svelte.d.ts +13 -0
  42. package/dist/components/InterfaceTag.svelte +215 -0
  43. package/dist/components/InterfaceTag.svelte.d.ts +20 -0
  44. package/dist/components/InterfaceTagAnchor.svelte +103 -0
  45. package/dist/components/InterfaceTagAnchor.svelte.d.ts +12 -0
  46. package/dist/components/InterfaceTagLayer.svelte +314 -0
  47. package/dist/components/InterfaceTagLayer.svelte.d.ts +28 -0
  48. package/dist/components/LogsSidebar.svelte +43 -43
  49. package/dist/components/LoopbackLanes.svelte +54 -0
  50. package/dist/components/LoopbackLanes.svelte.d.ts +8 -0
  51. package/dist/components/Navbar.svelte +539 -169
  52. package/dist/components/Navbar.svelte.d.ts +20 -1
  53. package/dist/components/NodeInspector.svelte +153 -0
  54. package/dist/components/NodeInspector.svelte.d.ts +19 -0
  55. package/dist/components/NodeLastRun.svelte +212 -0
  56. package/dist/components/NodeLastRun.svelte.d.ts +13 -0
  57. package/dist/components/NodeSidebar.svelte +279 -23
  58. package/dist/components/NodeSidebar.svelte.d.ts +11 -0
  59. package/dist/components/NodeStatusOverlay.svelte +144 -353
  60. package/dist/components/NodeStatusOverlay.svelte.d.ts +4 -1
  61. package/dist/components/PortMappingRow.svelte +28 -44
  62. package/dist/components/PortPickerListbox.svelte +475 -0
  63. package/dist/components/PortPickerListbox.svelte.d.ts +73 -0
  64. package/dist/components/ReadOnlyDetails.svelte +52 -89
  65. package/dist/components/RunBar.svelte +222 -0
  66. package/dist/components/RunBar.svelte.d.ts +20 -0
  67. package/dist/components/RunsMenu.svelte +649 -0
  68. package/dist/components/RunsMenu.svelte.d.ts +14 -0
  69. package/dist/components/SettingsModal.svelte +27 -59
  70. package/dist/components/SettingsPanel.svelte +515 -241
  71. package/dist/components/StraightGuides.svelte +46 -0
  72. package/dist/components/StraightGuides.svelte.d.ts +7 -0
  73. package/dist/components/ThemeToggle.svelte +14 -4
  74. package/dist/components/UniversalNode.svelte +152 -51
  75. package/dist/components/WebMCPBridgeMenu.svelte +336 -0
  76. package/dist/components/WebMCPBridgeMenu.svelte.d.ts +3 -0
  77. package/dist/components/WorkflowEditor.svelte +789 -136
  78. package/dist/components/WorkflowEditor.svelte.d.ts +43 -1
  79. package/dist/components/WorkflowInterfaceEditor.svelte +63 -92
  80. package/dist/components/WorkflowInterfaceEntryCard.svelte +478 -549
  81. package/dist/components/WorkflowInterfaceEntryComposer.svelte +23 -67
  82. package/dist/components/WorkflowPlaygroundSettings.svelte +48 -85
  83. package/dist/components/WorkflowSettingsPanel.svelte +311 -0
  84. package/dist/components/WorkflowSettingsPanel.svelte.d.ts +20 -0
  85. package/dist/components/ZoomTier.svelte +56 -0
  86. package/dist/components/ZoomTier.svelte.d.ts +4 -0
  87. package/dist/components/chat/AIChatPanel.svelte +463 -312
  88. package/dist/components/chat/ActivityList.svelte +130 -0
  89. package/dist/components/chat/ActivityList.svelte.d.ts +11 -0
  90. package/dist/components/chat/ActivityRow.svelte +179 -0
  91. package/dist/components/chat/ActivityRow.svelte.d.ts +16 -0
  92. package/dist/components/chat/CommandPreview.svelte +42 -64
  93. package/dist/components/console/CommandConsole.svelte +106 -41
  94. package/dist/components/console/CommandConsole.svelte.d.ts +2 -0
  95. package/dist/components/console/ConsoleAutocomplete.svelte +14 -13
  96. package/dist/components/console/ConsoleInput.svelte +60 -27
  97. package/dist/components/console/ConsoleOutput.svelte +86 -24
  98. package/dist/components/console/ConsoleStrip.svelte +80 -0
  99. package/dist/components/console/ConsoleStrip.svelte.d.ts +13 -0
  100. package/dist/components/form/FieldFactory.svelte +30 -4
  101. package/dist/components/form/FormArray.svelte +306 -339
  102. package/dist/components/form/FormArray.svelte.d.ts +10 -0
  103. package/dist/components/form/FormArrayRows.svelte +443 -0
  104. package/dist/components/form/FormArrayRows.svelte.d.ts +18 -0
  105. package/dist/components/form/FormAutocomplete.svelte +2 -2
  106. package/dist/components/form/FormCheckboxGroup.svelte +10 -85
  107. package/dist/components/form/FormCodeEditor.svelte +3 -3
  108. package/dist/components/form/FormFieldWrapper.svelte +98 -18
  109. package/dist/components/form/FormFieldWrapper.svelte.d.ts +10 -0
  110. package/dist/components/form/FormFieldset.svelte +44 -28
  111. package/dist/components/form/FormMarkdownEditor.svelte +6 -6
  112. package/dist/components/form/FormPorts.svelte +437 -141
  113. package/dist/components/form/FormSelect.svelte +1 -1
  114. package/dist/components/form/FormTemplateEditor.svelte +22 -26
  115. package/dist/components/form/FormToggle.svelte +15 -106
  116. package/dist/components/form/FormToggle.svelte.d.ts +3 -2
  117. package/dist/components/form/FormUISchemaRenderer.svelte +38 -3
  118. package/dist/components/form/humanizeKey.d.ts +7 -0
  119. package/dist/components/form/humanizeKey.js +21 -0
  120. package/dist/components/form/types.d.ts +6 -0
  121. package/dist/components/icons/MenuOpenIcon.svelte +8 -1
  122. package/dist/components/interrupt/ChoicePrompt.svelte +51 -152
  123. package/dist/components/interrupt/ChoicePrompt.svelte.d.ts +0 -2
  124. package/dist/components/interrupt/ConfirmationPrompt.svelte +18 -201
  125. package/dist/components/interrupt/ConfirmationPrompt.svelte.d.ts +0 -4
  126. package/dist/components/interrupt/FormPrompt.svelte +22 -147
  127. package/dist/components/interrupt/FormPrompt.svelte.d.ts +0 -4
  128. package/dist/components/interrupt/InterruptBubble.svelte +198 -355
  129. package/dist/components/interrupt/InterruptBubble.svelte.d.ts +0 -2
  130. package/dist/components/interrupt/ReviewPrompt.svelte +0 -10
  131. package/dist/components/interrupt/TextInputPrompt.svelte +23 -120
  132. package/dist/components/interrupt/TextInputPrompt.svelte.d.ts +0 -2
  133. package/dist/components/layouts/MainLayout.svelte +110 -75
  134. package/dist/components/layouts/MainLayout.svelte.d.ts +17 -0
  135. package/dist/components/nodes/CaptionNode.svelte +7 -0
  136. package/dist/components/nodes/GatewayNode.svelte +66 -431
  137. package/dist/components/nodes/IdeaNode.svelte +6 -5
  138. package/dist/components/nodes/NodeCard.svelte +1051 -0
  139. package/dist/components/nodes/NodeCard.svelte.d.ts +30 -0
  140. package/dist/components/nodes/NodeConfigButton.svelte +28 -9
  141. package/dist/components/nodes/NodeProblemMark.svelte +113 -0
  142. package/dist/components/nodes/NodeProblemMark.svelte.d.ts +8 -0
  143. package/dist/components/nodes/NodeTip.svelte +104 -0
  144. package/dist/components/nodes/NodeTip.svelte.d.ts +15 -0
  145. package/dist/components/nodes/NotesNode.svelte +183 -150
  146. package/dist/components/nodes/SimpleNode.svelte +176 -44
  147. package/dist/components/nodes/SquareNode.svelte +127 -34
  148. package/dist/components/nodes/TerminalNode.svelte +232 -88
  149. package/dist/components/nodes/ToolNode.svelte +49 -381
  150. package/dist/components/nodes/WorkflowNode.svelte +40 -399
  151. package/dist/components/playground/ChatBubble.svelte +248 -62
  152. package/dist/components/playground/ChatInput.svelte +134 -297
  153. package/dist/components/playground/ChatInput.svelte.d.ts +17 -0
  154. package/dist/components/playground/ControlPanel.svelte +290 -190
  155. package/dist/components/playground/ControlPanel.svelte.d.ts +10 -2
  156. package/dist/components/playground/DockedPlayground.svelte +82 -0
  157. package/dist/components/playground/DockedPlayground.svelte.d.ts +30 -0
  158. package/dist/components/playground/ExecutionConsole.svelte +54 -36
  159. package/dist/components/playground/ExecutionConsole.svelte.d.ts +12 -0
  160. package/dist/components/playground/ExecutionLogs.svelte +4 -0
  161. package/dist/components/playground/HeaderMenu.svelte +170 -0
  162. package/dist/components/playground/HeaderMenu.svelte.d.ts +22 -0
  163. package/dist/components/playground/InputCollector.svelte +8 -32
  164. package/dist/components/playground/InputFields.svelte +246 -0
  165. package/dist/components/playground/InputFields.svelte.d.ts +16 -0
  166. package/dist/components/playground/InterfaceInputForm.svelte +285 -30
  167. package/dist/components/playground/InterfaceInputForm.svelte.d.ts +20 -0
  168. package/dist/components/playground/InterfaceJsonInput.svelte +92 -0
  169. package/dist/components/playground/InterfaceJsonInput.svelte.d.ts +10 -0
  170. package/dist/components/playground/LogRow.svelte +12 -12
  171. package/dist/components/playground/MessageMarkdown.svelte +11 -11
  172. package/dist/components/playground/MessageStream.svelte +154 -182
  173. package/dist/components/playground/Playground.svelte +17 -1139
  174. package/dist/components/playground/PlaygroundApp.svelte +12 -2
  175. package/dist/components/playground/PlaygroundApp.svelte.d.ts +2 -1
  176. package/dist/components/playground/PlaygroundHeader.svelte +309 -0
  177. package/dist/components/playground/PlaygroundHeader.svelte.d.ts +22 -0
  178. package/dist/components/playground/PlaygroundModal.svelte +6 -0
  179. package/dist/components/playground/PlaygroundStudio.svelte +30 -32
  180. package/dist/components/playground/PlaygroundSurface.svelte +648 -0
  181. package/dist/components/playground/PlaygroundSurface.svelte.d.ts +79 -0
  182. package/dist/components/playground/StepsSummary.svelte +312 -0
  183. package/dist/components/playground/StepsSummary.svelte.d.ts +11 -0
  184. package/dist/components/playground/messageDisplay.d.ts +9 -0
  185. package/dist/components/playground/messageDisplay.js +24 -2
  186. package/dist/components/playground/stepSummary.d.ts +71 -0
  187. package/dist/components/playground/stepSummary.js +152 -0
  188. package/dist/components/ports/PortTypeBadge.svelte +13 -1
  189. package/dist/components/primitives/Button.svelte +226 -0
  190. package/dist/components/primitives/Button.svelte.d.ts +31 -0
  191. package/dist/components/primitives/Card.svelte +110 -0
  192. package/dist/components/primitives/Card.svelte.d.ts +20 -0
  193. package/dist/components/primitives/Checkbox.svelte +126 -0
  194. package/dist/components/primitives/Checkbox.svelte.d.ts +15 -0
  195. package/dist/components/primitives/Chip.svelte +143 -0
  196. package/dist/components/primitives/Chip.svelte.d.ts +22 -0
  197. package/dist/components/primitives/Combobox.svelte +444 -0
  198. package/dist/components/primitives/Combobox.svelte.d.ts +22 -0
  199. package/dist/components/primitives/Composer.svelte +293 -0
  200. package/dist/components/primitives/Composer.svelte.d.ts +47 -0
  201. package/dist/components/primitives/EmptyState.svelte +113 -0
  202. package/dist/components/primitives/EmptyState.svelte.d.ts +18 -0
  203. package/dist/components/primitives/Field.svelte +178 -0
  204. package/dist/components/primitives/Field.svelte.d.ts +30 -0
  205. package/dist/components/primitives/IconButton.svelte +156 -0
  206. package/dist/components/primitives/IconButton.svelte.d.ts +27 -0
  207. package/dist/components/primitives/Menu.svelte +435 -0
  208. package/dist/components/primitives/Menu.svelte.d.ts +61 -0
  209. package/dist/components/primitives/Notice.svelte +161 -0
  210. package/dist/components/primitives/Notice.svelte.d.ts +22 -0
  211. package/dist/components/primitives/PanelHeader.svelte +134 -0
  212. package/dist/components/primitives/PanelHeader.svelte.d.ts +23 -0
  213. package/dist/components/primitives/Segmented.svelte +198 -0
  214. package/dist/components/primitives/Segmented.svelte.d.ts +32 -0
  215. package/dist/components/primitives/Select.svelte +130 -0
  216. package/dist/components/primitives/Select.svelte.d.ts +26 -0
  217. package/dist/components/primitives/StatusPill.svelte +218 -0
  218. package/dist/components/primitives/StatusPill.svelte.d.ts +24 -0
  219. package/dist/components/primitives/Switch.svelte +113 -0
  220. package/dist/components/primitives/Switch.svelte.d.ts +14 -0
  221. package/dist/components/primitives/Tabs.svelte +209 -0
  222. package/dist/components/primitives/Tabs.svelte.d.ts +32 -0
  223. package/dist/components/primitives/Toolbar.svelte +94 -0
  224. package/dist/components/primitives/Toolbar.svelte.d.ts +14 -0
  225. package/dist/components/primitives/ToolbarSeparator.svelte +40 -0
  226. package/dist/components/primitives/ToolbarSeparator.svelte.d.ts +7 -0
  227. package/dist/components/surfaces/SurfaceOverlay.svelte +10 -40
  228. package/dist/components/surfaces/TabbedSurface.svelte +49 -39
  229. package/dist/components/surfaces/TabbedSurface.svelte.d.ts +8 -0
  230. package/dist/components/toast/DismissibleToast.svelte +94 -32
  231. package/dist/components/toast/DismissibleToast.svelte.d.ts +17 -7
  232. package/dist/config/endpoints.d.ts +43 -1
  233. package/dist/config/endpoints.js +21 -3
  234. package/dist/core/index.d.ts +8 -5
  235. package/dist/core/index.js +1 -1
  236. package/dist/editor/connectCandidates.d.ts +56 -0
  237. package/dist/editor/connectCandidates.js +131 -0
  238. package/dist/editor/contextMenu.d.ts +31 -2
  239. package/dist/editor/contextMenu.js +96 -9
  240. package/dist/editor/index.d.ts +4 -1
  241. package/dist/editor/index.js +1 -0
  242. package/dist/editor/interfaceMenu.d.ts +35 -0
  243. package/dist/editor/interfaceMenu.js +47 -0
  244. package/dist/editor/portMenu.d.ts +23 -0
  245. package/dist/editor/portMenu.js +34 -0
  246. package/dist/editor/tidy.d.ts +30 -0
  247. package/dist/editor/tidy.js +66 -0
  248. package/dist/helpers/workflowEditorHelper.d.ts +3 -0
  249. package/dist/helpers/workflowEditorHelper.js +8 -3
  250. package/dist/layout/fromWorkflow.d.ts +42 -0
  251. package/dist/layout/fromWorkflow.js +135 -0
  252. package/dist/layout/geometry.d.ts +102 -0
  253. package/dist/layout/geometry.js +317 -0
  254. package/dist/layout/index.d.ts +21 -0
  255. package/dist/layout/index.js +14 -0
  256. package/dist/layout/inspect.d.ts +18 -0
  257. package/dist/layout/inspect.js +81 -0
  258. package/dist/layout/lanePath.d.ts +23 -0
  259. package/dist/layout/lanePath.js +47 -0
  260. package/dist/layout/measure.d.ts +141 -0
  261. package/dist/layout/measure.js +477 -0
  262. package/dist/layout/primitives.d.ts +124 -0
  263. package/dist/layout/primitives.js +461 -0
  264. package/dist/layout/sweep.d.ts +59 -0
  265. package/dist/layout/sweep.js +257 -0
  266. package/dist/layout/toWorkflow.d.ts +43 -0
  267. package/dist/layout/toWorkflow.js +131 -0
  268. package/dist/layout/types.d.ts +93 -0
  269. package/dist/layout/types.js +35 -0
  270. package/dist/messages/defaults.d.ts +641 -26
  271. package/dist/messages/defaults.js +578 -25
  272. package/dist/messages/types.d.ts +21 -1
  273. package/dist/openapi/v1/openapi.yaml +109 -0
  274. package/dist/playground/index.d.ts +28 -1
  275. package/dist/playground/index.js +29 -0
  276. package/dist/playground/mount.d.ts +28 -2
  277. package/dist/playground/mount.js +41 -15
  278. package/dist/playground/runAction.d.ts +29 -0
  279. package/dist/playground/runAction.js +38 -0
  280. package/dist/services/doctorService.d.ts +52 -0
  281. package/dist/services/doctorService.js +113 -0
  282. package/dist/services/globalSave.js +12 -29
  283. package/dist/services/nodeExecutionService.d.ts +12 -1
  284. package/dist/services/nodeExecutionService.js +58 -58
  285. package/dist/services/playgroundService.d.ts +17 -2
  286. package/dist/services/playgroundService.js +48 -5
  287. package/dist/services/runsService.d.ts +42 -0
  288. package/dist/services/runsService.js +87 -0
  289. package/dist/services/toastQueue.d.ts +33 -0
  290. package/dist/services/toastQueue.js +38 -0
  291. package/dist/services/toastService.d.ts +30 -9
  292. package/dist/services/toastService.js +81 -46
  293. package/dist/settings/index.d.ts +1 -0
  294. package/dist/skins/graphite.d.ts +26 -0
  295. package/dist/skins/graphite.js +473 -0
  296. package/dist/skins/index.d.ts +2 -1
  297. package/dist/skins/index.js +4 -2
  298. package/dist/skins/slate.js +4 -4
  299. package/dist/stores/attachedRunStore.svelte.d.ts +35 -0
  300. package/dist/stores/attachedRunStore.svelte.js +47 -0
  301. package/dist/stores/connectDragStore.svelte.d.ts +39 -0
  302. package/dist/stores/connectDragStore.svelte.js +42 -0
  303. package/dist/stores/doctorStore.svelte.d.ts +79 -0
  304. package/dist/stores/doctorStore.svelte.js +244 -0
  305. package/dist/stores/editedNodesStore.svelte.d.ts +42 -0
  306. package/dist/stores/editedNodesStore.svelte.js +84 -0
  307. package/dist/stores/editorModeStore.svelte.d.ts +34 -0
  308. package/dist/stores/editorModeStore.svelte.js +55 -0
  309. package/dist/stores/instanceContainer.svelte.d.ts +53 -0
  310. package/dist/stores/instanceContainer.svelte.js +38 -1
  311. package/dist/stores/loopbackLanesStore.svelte.d.ts +18 -0
  312. package/dist/stores/loopbackLanesStore.svelte.js +25 -0
  313. package/dist/stores/nodeHighlightStore.svelte.d.ts +34 -0
  314. package/dist/stores/nodeHighlightStore.svelte.js +56 -0
  315. package/dist/stores/playgroundStore.svelte.d.ts +66 -2
  316. package/dist/stores/playgroundStore.svelte.js +164 -2
  317. package/dist/stores/runController.svelte.d.ts +382 -0
  318. package/dist/stores/runController.svelte.js +1217 -0
  319. package/dist/stores/settingsStore.svelte.d.ts +80 -18
  320. package/dist/stores/settingsStore.svelte.js +180 -62
  321. package/dist/stores/workflowStore.svelte.d.ts +14 -0
  322. package/dist/stores/workflowStore.svelte.js +22 -1
  323. package/dist/styles/base.css +286 -25
  324. package/dist/styles/fonts/Inter-LICENSE.txt +93 -0
  325. package/dist/styles/fonts/inter-latin-wght-normal.woff2 +0 -0
  326. package/dist/styles/fonts/inter.css +19 -0
  327. package/dist/styles/toast.css +100 -20
  328. package/dist/styles/tokenAliases.js +118 -1
  329. package/dist/styles/tokens.css +586 -14
  330. package/dist/svelte-app.d.ts +47 -5
  331. package/dist/svelte-app.js +15 -3
  332. package/dist/themes/graphite.d.ts +2 -0
  333. package/dist/themes/graphite.js +15 -0
  334. package/dist/themes/index.d.ts +2 -1
  335. package/dist/themes/index.js +22 -3
  336. package/dist/themes/minimal.js +10 -0
  337. package/dist/themes/scopedSkinCss.d.ts +22 -5
  338. package/dist/themes/scopedSkinCss.js +136 -11
  339. package/dist/types/chat.d.ts +6 -0
  340. package/dist/types/doctor.d.ts +82 -0
  341. package/dist/types/doctor.js +11 -0
  342. package/dist/types/events.d.ts +35 -0
  343. package/dist/types/events.js +4 -1
  344. package/dist/types/index.d.ts +17 -2
  345. package/dist/types/navbar.d.ts +36 -0
  346. package/dist/types/playground.d.ts +75 -0
  347. package/dist/types/settings.d.ts +120 -7
  348. package/dist/types/settings.js +35 -3
  349. package/dist/types/skin.d.ts +21 -8
  350. package/dist/types/theme.d.ts +40 -2
  351. package/dist/utils/appearance.d.ts +19 -0
  352. package/dist/utils/appearance.js +13 -0
  353. package/dist/utils/canvasFit.d.ts +41 -0
  354. package/dist/utils/canvasFit.js +44 -0
  355. package/dist/utils/chipTitles.d.ts +9 -0
  356. package/dist/utils/chipTitles.js +19 -0
  357. package/dist/utils/connections.js +8 -0
  358. package/dist/utils/consoleHighlight.d.ts +28 -0
  359. package/dist/utils/consoleHighlight.js +269 -0
  360. package/dist/utils/deprecation.d.ts +17 -0
  361. package/dist/utils/deprecation.js +29 -0
  362. package/dist/utils/doctorOperations.d.ts +40 -0
  363. package/dist/utils/doctorOperations.js +237 -0
  364. package/dist/utils/duration.d.ts +13 -0
  365. package/dist/utils/duration.js +40 -0
  366. package/dist/utils/inspectorContext.d.ts +19 -0
  367. package/dist/utils/inspectorContext.js +12 -0
  368. package/dist/utils/inspectorSections.d.ts +20 -0
  369. package/dist/utils/inspectorSections.js +44 -0
  370. package/dist/utils/inspectorSurface.d.ts +46 -0
  371. package/dist/utils/inspectorSurface.js +51 -0
  372. package/dist/utils/interfaceTags.d.ts +102 -0
  373. package/dist/utils/interfaceTags.js +211 -0
  374. package/dist/utils/itemRef.d.ts +86 -0
  375. package/dist/utils/itemRef.js +106 -0
  376. package/dist/utils/lastRun.d.ts +35 -0
  377. package/dist/utils/lastRun.js +73 -0
  378. package/dist/utils/messageNodeLink.d.ts +17 -0
  379. package/dist/utils/messageNodeLink.js +16 -0
  380. package/dist/utils/minimapVisibility.d.ts +28 -0
  381. package/dist/utils/minimapVisibility.js +34 -0
  382. package/dist/utils/nodeAriaLabel.d.ts +12 -0
  383. package/dist/utils/nodeAriaLabel.js +17 -0
  384. package/dist/utils/nodeFingerprint.d.ts +27 -0
  385. package/dist/utils/nodeFingerprint.js +66 -0
  386. package/dist/utils/nodeFormSchema.d.ts +10 -0
  387. package/dist/utils/nodeFormSchema.js +2 -2
  388. package/dist/utils/nodeGeometry.d.ts +168 -0
  389. package/dist/utils/nodeGeometry.js +204 -0
  390. package/dist/utils/nodeProblem.d.ts +19 -0
  391. package/dist/utils/nodeProblem.js +9 -0
  392. package/dist/utils/nodeStatus.d.ts +38 -3
  393. package/dist/utils/nodeStatus.js +67 -39
  394. package/dist/utils/nodeSwap.js +9 -1
  395. package/dist/utils/nodeWrapper.d.ts +1 -0
  396. package/dist/utils/playgroundHistory.d.ts +48 -0
  397. package/dist/utils/playgroundHistory.js +38 -0
  398. package/dist/utils/playgroundInputRuns.d.ts +26 -0
  399. package/dist/utils/playgroundInputRuns.js +50 -0
  400. package/dist/utils/portExposure.d.ts +49 -0
  401. package/dist/utils/portExposure.js +122 -0
  402. package/dist/utils/portUtils.d.ts +16 -0
  403. package/dist/utils/portUtils.js +37 -0
  404. package/dist/utils/portal.d.ts +0 -19
  405. package/dist/utils/portal.js +8 -1
  406. package/dist/utils/reservedPorts.d.ts +59 -0
  407. package/dist/utils/reservedPorts.js +60 -0
  408. package/dist/utils/runEdges.d.ts +24 -0
  409. package/dist/utils/runEdges.js +35 -0
  410. package/dist/utils/runsList.d.ts +69 -0
  411. package/dist/utils/runsList.js +134 -0
  412. package/dist/utils/selectOptions.d.ts +62 -0
  413. package/dist/utils/selectOptions.js +137 -0
  414. package/dist/utils/sessionRuns.d.ts +62 -0
  415. package/dist/utils/sessionRuns.js +123 -0
  416. package/dist/utils/sheetWidths.d.ts +29 -0
  417. package/dist/utils/sheetWidths.js +41 -0
  418. package/dist/utils/sidebarWidths.d.ts +34 -0
  419. package/dist/utils/sidebarWidths.js +47 -0
  420. package/dist/utils/straightWires.d.ts +73 -0
  421. package/dist/utils/straightWires.js +99 -0
  422. package/dist/utils/themeScope.svelte.d.ts +10 -0
  423. package/dist/utils/themeScope.svelte.js +80 -0
  424. package/dist/utils/wiredHandles.d.ts +10 -0
  425. package/dist/utils/wiredHandles.js +14 -0
  426. package/dist/utils/workflowDraft.d.ts +9 -0
  427. package/dist/utils/workflowDraft.js +39 -0
  428. package/dist/utils/workflowInterface.d.ts +40 -7
  429. package/dist/utils/workflowInterface.js +66 -16
  430. package/dist/utils/zoomTier.d.ts +43 -0
  431. package/dist/utils/zoomTier.js +107 -0
  432. package/dist/utils/zoomTierRows.d.ts +41 -0
  433. package/dist/utils/zoomTierRows.js +103 -0
  434. package/dist/webmcp/WebMCPConfirm.svelte +1 -1
  435. package/dist/webmcp/bridge.d.ts +5 -0
  436. package/dist/webmcp/bridge.js +8 -0
  437. package/dist/webmcp/bridgeController.svelte.d.ts +84 -0
  438. package/dist/webmcp/bridgeController.svelte.js +224 -0
  439. package/dist/webmcp/descriptors.d.ts +1 -1
  440. package/dist/webmcp/descriptors.js +66 -5
  441. package/dist/webmcp/fakeWidget.d.ts +34 -0
  442. package/dist/webmcp/fakeWidget.js +75 -0
  443. package/dist/webmcp/gate.js +4 -0
  444. package/dist/webmcp/index.d.ts +2 -0
  445. package/dist/webmcp/index.js +1 -0
  446. package/dist/webmcp/runtime.js +4 -1
  447. package/dist/webmcp/types.d.ts +2 -0
  448. package/dist/webmcp/validate.js +5 -1
  449. package/package.json +8 -2
  450. package/dist/components/Select.svelte +0 -53
  451. package/dist/components/Select.svelte.d.ts +0 -15
  452. package/dist/components/icons/CommandLineIcon.svelte +0 -15
  453. package/dist/components/icons/CommandLineIcon.svelte.d.ts +0 -26
  454. package/dist/components/toast/WarningIcon.svelte +0 -28
  455. package/dist/components/toast/WarningIcon.svelte.d.ts +0 -26
@@ -45,7 +45,22 @@ export declare const defaultMessages: {
45
45
  }) => string;
46
46
  readonly moveUp: "Move up";
47
47
  readonly moveDown: "Move down";
48
+ readonly movedTo: ({ name, n, total }: {
49
+ name: string;
50
+ n: number;
51
+ total: number;
52
+ }) => string;
48
53
  readonly delete: "Delete item";
54
+ readonly rowActions: ({ n }: {
55
+ n: number;
56
+ }) => string;
57
+ readonly makeDefault: "Make default";
58
+ readonly defaultBadge: "default";
59
+ readonly noDefault: "No default: the node fails when nothing matches";
60
+ readonly defaultFromInput: "Default: set by input";
61
+ readonly defaultDangling: ({ name }: {
62
+ name: string;
63
+ }) => string;
49
64
  readonly yes: "Yes";
50
65
  readonly no: "No";
51
66
  readonly empty: "No items yet";
@@ -199,6 +214,24 @@ export declare const defaultMessages: {
199
214
  readonly default: "Response Submitted";
200
215
  };
201
216
  readonly cancelled: "Cancelled";
217
+ readonly resolved: {
218
+ readonly confirmed: ({ value }: {
219
+ value: string;
220
+ }) => string;
221
+ readonly declined: ({ value }: {
222
+ value: string;
223
+ }) => string;
224
+ readonly chose: ({ value }: {
225
+ value: string;
226
+ }) => string;
227
+ readonly submitted: "Submitted";
228
+ readonly submittedValue: ({ value }: {
229
+ value: string;
230
+ }) => string;
231
+ readonly by: ({ name }: {
232
+ name: string;
233
+ }) => string;
234
+ };
202
235
  readonly errorRetry: "Error - Click to Retry";
203
236
  readonly retry: "Retry";
204
237
  readonly cancel: "Cancel";
@@ -215,14 +248,36 @@ export declare const defaultMessages: {
215
248
  readonly connected: "Connected";
216
249
  readonly settingsTitle: "Settings";
217
250
  readonly settingsAriaLabel: "Open settings";
251
+ readonly appearance: {
252
+ readonly label: "Appearance";
253
+ readonly light: "Light";
254
+ readonly dark: "Dark";
255
+ readonly system: "System";
256
+ readonly hostHint: ({ label, scheme }: {
257
+ label: string;
258
+ scheme: string;
259
+ }) => string;
260
+ readonly systemHint: ({ scheme }: {
261
+ scheme: string;
262
+ }) => string;
263
+ readonly allSettings: "All settings…";
264
+ };
218
265
  readonly save: "Save";
219
266
  readonly export: "Export";
220
267
  readonly import: "Import";
221
268
  readonly workflowSettings: "Workflow Settings";
269
+ readonly workflowButton: "Workflow";
270
+ readonly workflowButtonTitle: "Workflow settings";
271
+ readonly moreActions: "More actions";
222
272
  readonly workflowSettingsPanelTitle: "Workflow Settings";
223
273
  readonly workflowSettingsPanelSubtitle: "Settings";
274
+ readonly workflowSettingsGeneralTab: "General";
224
275
  readonly workflowSettingsInterfaceTab: "Interface";
225
276
  readonly workflowSettingsPlaygroundTab: "Playground";
277
+ readonly workflowCounts: ({ nodes, connections }: {
278
+ nodes: number;
279
+ connections: number;
280
+ }) => string;
226
281
  readonly nodeConfigDescription: "Node configuration";
227
282
  readonly closeSettings: "Close settings";
228
283
  readonly closeConfigModal: "Close configuration modal";
@@ -231,6 +286,77 @@ export declare const defaultMessages: {
231
286
  readonly console: "Console";
232
287
  readonly chat: "AI Assistant";
233
288
  };
289
+ readonly editorMode: {
290
+ readonly label: "Editor mode";
291
+ readonly edit: "Edit";
292
+ readonly test: "Test";
293
+ readonly editTitle: "Edit the workflow (T)";
294
+ readonly testTitle: "Test the workflow (T)";
295
+ readonly toolbarLabel: "Canvas";
296
+ readonly runActive: "A test run is going or waiting";
297
+ };
298
+ };
299
+ readonly canvasStatus: {
300
+ readonly nodeCount: ({ n }: {
301
+ n: number;
302
+ }) => string;
303
+ readonly summary: ({ nodes, edges }: {
304
+ nodes: number;
305
+ edges: number;
306
+ }) => string;
307
+ readonly cycles: "Cycles detected";
308
+ readonly cyclesTitle: "The workflow contains a cycle";
309
+ };
310
+ readonly tidy: {
311
+ readonly button: "Tidy up";
312
+ readonly done: "Tidied up";
313
+ readonly straightened: ({ n }: {
314
+ n: number;
315
+ }) => string;
316
+ readonly uncrossed: ({ n }: {
317
+ n: number;
318
+ }) => string;
319
+ readonly unbackward: ({ n }: {
320
+ n: number;
321
+ }) => string;
322
+ readonly unoverlapped: ({ n, left }: {
323
+ n: number;
324
+ left?: number;
325
+ }) => string;
326
+ readonly spaced: ({ n, left }: {
327
+ n: number;
328
+ left?: number;
329
+ }) => string;
330
+ readonly moreOverlaps: ({ n }: {
331
+ n: number;
332
+ }) => string;
333
+ readonly moreSpacing: ({ n }: {
334
+ n: number;
335
+ }) => string;
336
+ readonly morePassed: ({ n }: {
337
+ n: number;
338
+ }) => string;
339
+ readonly fewerStraight: ({ n }: {
340
+ n: number;
341
+ }) => string;
342
+ readonly moreBackward: ({ n }: {
343
+ n: number;
344
+ }) => string;
345
+ readonly moreCrossings: ({ n }: {
346
+ n: number;
347
+ }) => string;
348
+ readonly tradeOff: ({ what }: {
349
+ what: string;
350
+ }) => string;
351
+ readonly tooLarge: "Too many nodes to tidy at once";
352
+ readonly unpassed: ({ n }: {
353
+ n: number;
354
+ }) => string;
355
+ readonly undo: "Undo";
356
+ readonly alreadyTidy: "Layout is already tidy";
357
+ readonly alreadyTidyBody: "Nothing would improve, so nothing moved.";
358
+ readonly nodeAlreadyTidy: "Node is already tidy";
359
+ readonly nodesAlreadyTidy: "Nodes are already tidy";
234
360
  };
235
361
  readonly contextMenu: {
236
362
  readonly menuLabel: "Canvas actions";
@@ -241,27 +367,233 @@ export declare const defaultMessages: {
241
367
  }) => string;
242
368
  readonly addCaption: "Add caption";
243
369
  readonly editText: "Edit text";
244
- readonly shortcutEnter: "Enter";
245
- readonly shortcutDelete: "Delete";
370
+ readonly duplicate: "Duplicate";
371
+ readonly swap: "Swap node";
372
+ readonly tidyNode: "Tidy node";
373
+ readonly tidyNodes: ({ n }: {
374
+ n: number;
375
+ }) => string;
376
+ readonly tidyLayout: "Tidy up";
377
+ readonly hideUnconnectedPorts: "Hide unconnected ports";
378
+ readonly hideUnconnectedPortsCount: ({ n }: {
379
+ n: number;
380
+ }) => string;
381
+ readonly showHiddenPorts: "Show hidden ports";
382
+ readonly showHiddenPortsCount: ({ n }: {
383
+ n: number;
384
+ }) => string;
385
+ readonly connectTo: "Connect to…";
386
+ readonly exposeInput: "Expose as workflow input…";
387
+ readonly exposeOutput: "Expose as workflow output…";
388
+ readonly renameInterfaceEntry: "Rename…";
389
+ readonly removeInterfaceEntry: "Remove from interface";
390
+ readonly shortcutEnter: "↵";
391
+ readonly shortcutDelete: "⌫";
392
+ readonly shortcutTidyNode: "⇧S";
393
+ readonly shortcutTidyLayout: "⇧⌥T";
394
+ };
395
+ readonly connectTo: {
396
+ readonly title: ({ port }: {
397
+ port: string;
398
+ }) => string;
399
+ readonly searchLabel: "Search ports";
400
+ readonly searchPlaceholder: "Search by node, port or type…";
401
+ readonly listLabelInput: "Input ports to connect to";
402
+ readonly listLabelOutput: "Output ports to connect from";
403
+ readonly groupCompatible: "Compatible";
404
+ readonly groupOther: "Other types";
405
+ readonly connected: "Connected";
406
+ readonly wired: "Wired";
407
+ readonly noPorts: "No other node has a port to connect to.";
408
+ readonly noMatches: "No ports match your search.";
409
+ readonly popoverLabel: "Connect to a port";
410
+ readonly optionCurrent: "current";
411
+ readonly optionTaken: "already taken";
412
+ };
413
+ readonly runBar: {
414
+ readonly label: "Run";
415
+ readonly running: "Running";
416
+ readonly waiting: "Waiting";
417
+ readonly failed: "Failed";
418
+ readonly done: "Done";
419
+ readonly stopped: "Stopped";
420
+ readonly stop: "Stop";
421
+ readonly stopLabel: "Stop the run";
422
+ readonly open: "Open";
423
+ readonly openLabel: "Open the run in Test mode";
424
+ readonly askAssistant: "Ask the Assistant";
425
+ readonly askAssistantLabel: "Ask the Assistant about this run";
426
+ readonly announce: {
427
+ readonly running: "Run started.";
428
+ readonly waiting: "Run is waiting for you.";
429
+ readonly failed: "Run failed.";
430
+ readonly done: "Run finished.";
431
+ readonly stopped: "Run stopped.";
432
+ };
433
+ };
434
+ readonly doctor: {
435
+ readonly trigger: ({ count }: {
436
+ count: number;
437
+ }) => string;
438
+ readonly triggerTitle: "Problems found in this workflow";
439
+ readonly title: "Problems";
440
+ readonly listLabel: "Problems in this workflow";
441
+ readonly severity: {
442
+ readonly error: "Error";
443
+ readonly warning: "Warning";
444
+ readonly info: "Note";
445
+ };
446
+ readonly selectNode: ({ name }: {
447
+ name: string;
448
+ }) => string;
449
+ readonly badge: ({ severity, count }: {
450
+ severity: string;
451
+ count: number;
452
+ }) => string;
453
+ readonly port: ({ port }: {
454
+ port: string;
455
+ }) => string;
456
+ readonly workflowWide: "Whole workflow";
457
+ readonly chooseLabel: "Choose";
458
+ readonly choosePlaceholder: "Choose…";
459
+ readonly applying: "Applying…";
460
+ readonly confirm: "This removes something. Apply it?";
461
+ readonly confirmApply: "Apply";
462
+ readonly confirmCancel: "Cancel";
463
+ readonly applyLabel: ({ remedy, problem }: {
464
+ remedy: string;
465
+ problem: string;
466
+ }) => string;
467
+ readonly notice: {
468
+ readonly gone: "That problem is already gone.";
469
+ readonly changed: "The workflow changed in the meantime. It was checked again.";
470
+ readonly empty: "That fix would change nothing.";
471
+ readonly failed: ({ message }: {
472
+ message: string;
473
+ }) => string;
474
+ };
475
+ readonly dismissNotice: "Dismiss";
476
+ };
477
+ readonly runsList: {
478
+ readonly trigger: "Runs";
479
+ readonly triggerTitle: "Past runs of this workflow";
480
+ readonly shown: ({ status, time }: {
481
+ status: string;
482
+ time: string;
483
+ }) => string;
484
+ readonly shownTitle: "Run shown on the canvas";
485
+ readonly clearShown: "Stop showing this run";
486
+ readonly title: "Runs";
487
+ readonly listLabel: "Runs of this workflow";
488
+ readonly loading: "Loading runs…";
489
+ readonly loadError: "Could not load the runs.";
490
+ readonly retry: "Try again";
491
+ readonly empty: "No runs yet";
492
+ readonly emptyHint: "Runs of this workflow show up here.";
493
+ readonly today: "Today";
494
+ readonly yesterday: "Yesterday";
495
+ readonly loadMore: "Load more";
496
+ readonly loadingMore: "Loading…";
497
+ readonly openAdmin: "Open in admin";
498
+ readonly openAdminRun: "Open this run in admin";
499
+ readonly openRun: ({ id, status, time }: {
500
+ id: string;
501
+ status: string;
502
+ time: string;
503
+ }) => string;
504
+ readonly rerun: "Re-run";
505
+ readonly rerunLabel: ({ id }: {
506
+ id: string;
507
+ }) => string;
508
+ readonly cancel: "Cancel";
509
+ readonly cancelLabel: ({ id }: {
510
+ id: string;
511
+ }) => string;
512
+ readonly actionFailed: "The action failed.";
513
+ readonly status: {
514
+ readonly pending: "Queued";
515
+ readonly running: "Running";
516
+ readonly paused: "Paused";
517
+ readonly interrupted: "Waiting";
518
+ readonly completed: "Done";
519
+ readonly failed: "Failed";
520
+ readonly cancelled: "Cancelled";
521
+ };
522
+ readonly jobsFailed: ({ n }: {
523
+ n: number;
524
+ }) => string;
525
+ };
526
+ readonly nodeInspector: {
527
+ readonly tabsLabel: "Node tabs";
528
+ readonly config: "Config";
529
+ readonly ports: "Ports";
530
+ readonly execution: "Execution";
531
+ readonly lastRun: "Last run";
532
+ readonly notRun: "This node has not run in the run you are viewing.";
533
+ readonly running: "Running now…";
534
+ readonly waiting: "Waiting for a decision in the conversation.";
535
+ readonly noRunShown: "No run to show yet. Send a message or run the workflow.";
536
+ readonly status: "Status";
537
+ readonly duration: "Duration";
538
+ readonly started: "Started";
539
+ readonly finished: "Finished";
540
+ readonly tokens: "Tokens";
541
+ readonly input: "Input";
542
+ readonly output: "Output";
543
+ readonly error: "Error";
544
+ readonly executions: ({ n }: {
545
+ n: number;
546
+ }) => string;
547
+ readonly expand: "Show all";
548
+ readonly collapse: "Show less";
549
+ readonly askAssistant: "Ask the Assistant about this run";
550
+ readonly statuses: {
551
+ readonly idle: "Idle";
552
+ readonly pending: "Pending";
553
+ readonly running: "Running";
554
+ readonly completed: "Completed";
555
+ readonly failed: "Failed";
556
+ readonly cancelled: "Cancelled";
557
+ readonly skipped: "Skipped";
558
+ readonly paused: "Paused";
559
+ readonly interrupted: "Waiting";
560
+ };
246
561
  };
247
562
  readonly layout: {
248
563
  readonly componentsSidebar: "Components sidebar";
564
+ readonly nodesTab: "Nodes";
249
565
  readonly workflowCanvas: "Workflow canvas";
250
566
  readonly executionLogs: "Execution logs sidebar";
251
567
  readonly settingsCategories: "Settings categories";
568
+ readonly zoomLevelsTitle: "Zoom levels";
569
+ readonly zoomLevelsHelp: "Draw simpler nodes as you zoom out. The full node shows above the first level that is on.";
252
570
  readonly searchComponents: "Search components";
253
571
  readonly commandConsole: "Command Console (`)";
572
+ readonly consoleStrip: "Console";
573
+ readonly consoleStripHint: "Press ` to toggle the Console";
574
+ readonly consoleExamplesLabel: "Try";
254
575
  readonly backToConfiguration: "Back to configuration";
255
576
  readonly resizeLeftSidebar: "Resize left sidebar";
256
577
  readonly resizeRightSidebar: "Resize right sidebar";
578
+ readonly resizeWorkflowSheet: "Resize workflow settings";
257
579
  readonly resizeBottomPanel: "Resize bottom panel";
258
580
  readonly expandSidebar: "Expand sidebar";
259
581
  readonly collapseSidebar: "Collapse sidebar";
582
+ readonly showPlayground: "Show Playground";
583
+ readonly hidePlayground: "Hide Playground";
584
+ readonly nodeLibrary: "Node library";
260
585
  readonly closePlaygroundModal: "Close playground modal";
261
586
  readonly closeLogsSidebar: "Close logs sidebar";
262
587
  readonly closeConfigPanel: "Close panel";
263
588
  readonly closeConsole: "Close console";
264
589
  readonly swapNode: "Swap node";
590
+ readonly swapNodeTitle: "Swap node type";
591
+ readonly popOutConfig: "Pop out configuration";
592
+ readonly popOutConfigTitle: "Pop out to a larger window";
593
+ readonly dockConfig: "Dock configuration back to sidebar";
594
+ readonly dockConfigTitle: "Dock back to sidebar";
595
+ readonly dockConfigButton: "Dock back to sidebar";
596
+ readonly configPoppedOut: "Configuration is open in a larger window.";
265
597
  readonly backToNodeSelection: "Back to node selection";
266
598
  readonly loadSession: ({ name }: {
267
599
  name: string;
@@ -272,40 +604,95 @@ export declare const defaultMessages: {
272
604
  readonly requiresBackend: "AI Assistant requires backend configuration";
273
605
  readonly loadWorkflow: "Load a workflow to start chatting";
274
606
  readonly helpBuild: "Ask the AI to help build your workflow";
275
- readonly placeholder: "Describe what you want to build...";
607
+ readonly suggestionsLabel: "Suggestions";
608
+ readonly suggestions: readonly ["Explain this workflow", "Add error handling", "Summarise what this does"];
609
+ readonly placeholder: "Describe a change…";
276
610
  readonly send: "Send message";
611
+ readonly attach: {
612
+ readonly add: "Attach a run";
613
+ readonly chipLabel: "Attached run";
614
+ readonly detach: "Remove the attached run";
615
+ readonly listLabel: "Runs of this test session";
616
+ readonly empty: "No runs yet. Run the workflow in Test mode first.";
617
+ readonly unavailable: "This server does not list runs.";
618
+ readonly run: ({ id }: {
619
+ id: string;
620
+ }) => string;
621
+ readonly failed: "failed";
622
+ readonly stale: "older version";
623
+ readonly staleTitle: "The workflow has changed since this run.";
624
+ readonly statuses: {
625
+ readonly pending: "running";
626
+ readonly running: "running";
627
+ readonly waiting: "waiting";
628
+ readonly interrupted: "waiting";
629
+ readonly done: "done";
630
+ readonly completed: "done";
631
+ readonly failed: "failed";
632
+ readonly stopped: "stopped";
633
+ readonly cancelled: "stopped";
634
+ readonly unknown: "unknown";
635
+ };
636
+ };
277
637
  readonly autoRetry: ({ attempt, max }: {
278
638
  attempt: number;
279
639
  max: number;
280
640
  }) => string;
281
641
  readonly tools: {
282
- /** Status line while a read tool runs: `Reading: describe_type http_request`. */
283
- readonly reading: ({ tool, detail }: {
642
+ /** A tool's label while it runs and once it is done, by tool id. */
643
+ readonly verbs: Record<string, {
644
+ running: string;
645
+ done: string;
646
+ }>;
647
+ /** A tool with no label of its own. */
648
+ readonly verbFallback: ({ tool, phase }: {
284
649
  tool: string;
285
- detail: string;
650
+ phase: "running" | "done";
286
651
  }) => string;
287
- readonly awaitingApproval: ({ tool }: {
652
+ /**
653
+ * @deprecated Not used since the step rows (`verbs`, `used`); kept so 2.11.0 overrides
654
+ * keep type-checking. Removed in 3.0.
655
+ */
656
+ readonly reading: ({ tool, detail }: {
288
657
  tool: string;
658
+ detail: string;
289
659
  }) => string;
290
- /** Title of the approval dialog when the assistant, not a browser agent, asks. */
291
- readonly confirmTitle: ({ name }: {
292
- name: string;
293
- }) => string;
294
- /** A read that completed: `Read: describe_type http_request`. */
660
+ /** @deprecated Not used (see `reading`). Removed in 3.0. */
295
661
  readonly read: ({ tool, detail }: {
296
662
  tool: string;
297
663
  detail: string;
298
664
  }) => string;
665
+ /** @deprecated Not used (see `reading`). Removed in 3.0. */
299
666
  readonly applied: ({ tool, detail }: {
300
667
  tool: string;
301
668
  detail: string;
302
669
  }) => string;
303
- readonly rejected: ({ tool }: {
304
- tool: string;
670
+ /** The row while the reply is still coming. */
671
+ readonly thinking: "Thinking…";
672
+ /**
673
+ * The row of a call that waits on the person; the call's own label follows it.
674
+ * A 2.11.0 override written as `({ tool }) => string` is still honoured (deprecated; 3.0
675
+ * takes strings only).
676
+ */
677
+ readonly awaitingApproval: "Waiting for your approval";
678
+ /** Title of the approval dialog when the assistant, not a browser agent, asks. */
679
+ readonly confirmTitle: ({ name }: {
680
+ name: string;
305
681
  }) => string;
306
- readonly failed: ({ tool, error }: {
307
- tool: string;
308
- error: string;
682
+ /**
683
+ * A call the person turned down; its action follows. A 2.11.0 override written as
684
+ * `({ tool }) => string` is still honoured (deprecated; 3.0 takes strings only).
685
+ */
686
+ readonly rejected: "Rejected";
687
+ /** A call that failed: `Adding node failed`, the error follows. */
688
+ readonly failed: ({ action }: {
689
+ action: string;
690
+ }) => string;
691
+ /** The fold of a finished turn: `Used 4 tools · 1.6 s`, `Used 4 tools · 1 failed · 1.6 s`. */
692
+ readonly used: ({ count, problems, duration }: {
693
+ count: number;
694
+ problems: number;
695
+ duration: string;
309
696
  }) => string;
310
697
  readonly rounds: ({ count }: {
311
698
  count: number;
@@ -337,10 +724,28 @@ export declare const defaultMessages: {
337
724
  readonly chatNotSetUp: "No chat yet. Pick the input the message goes to in Playground settings.";
338
725
  readonly chatHalfSet: "Nothing will reply here. Pick the results that print as replies in Playground settings.";
339
726
  readonly inputForm: {
340
- readonly title: "Workflow inputs";
727
+ readonly title: "Inputs";
728
+ readonly fillFromLast: "Fill from last run";
729
+ readonly fillFromLastTitle: "Fill the inputs with what the last run was started with";
730
+ readonly runsTitle: "Earlier runs";
731
+ readonly runsLabel: "Earlier runs of this session";
732
+ readonly useRun: ({ summary }: {
733
+ summary: string;
734
+ }) => string;
735
+ readonly folded: "Inputs";
736
+ readonly foldedCount: ({ filled, total }: {
737
+ filled: number;
738
+ total: number;
739
+ }) => string;
740
+ readonly foldedShow: "Show the inputs";
741
+ readonly foldedHide: "Hide the inputs";
742
+ readonly jsonHint: "JSON";
341
743
  readonly missingRequired: ({ names }: {
342
744
  names: string;
343
745
  }) => string;
746
+ readonly invalidJson: ({ names }: {
747
+ names: string;
748
+ }) => string;
344
749
  };
345
750
  readonly states: {
346
751
  readonly newSessionTitle: "New session";
@@ -453,7 +858,19 @@ export declare const defaultMessages: {
453
858
  readonly runTitle: "Run workflow";
454
859
  readonly runWaitingTitle: "Waiting for workflow to be ready...";
455
860
  readonly run: "Run";
861
+ readonly saveAndSend: "Save & send";
862
+ readonly saveAndSendTitle: "Save the workflow, then send the message";
863
+ readonly saveFirstHint: "Unsaved edits: sending saves the workflow first.";
864
+ readonly saveAndRun: "Save & run";
865
+ readonly saveAndRunTitle: "Save the workflow, then run it";
866
+ readonly saving: "Saving…";
456
867
  };
868
+ readonly versionDivider: "Saved — new version";
869
+ readonly saveFailed: ({ message }: {
870
+ message: string;
871
+ }) => string;
872
+ readonly saveNotDone: "Not sent: the workflow was not saved.";
873
+ readonly saveFirst: "Save the workflow first: a test session needs a saved workflow.";
457
874
  readonly roles: {
458
875
  readonly you: "You";
459
876
  readonly assistant: "Assistant";
@@ -471,16 +888,53 @@ export declare const defaultMessages: {
471
888
  origin: string;
472
889
  }) => string;
473
890
  };
891
+ /** @deprecated Unused since the steps row; log lines fold into `steps`. */
474
892
  readonly logGroup: {
475
893
  readonly summary: ({ count }: {
476
894
  count: number;
477
895
  }) => string;
478
896
  };
897
+ readonly steps: {
898
+ readonly summary: ({ count }: {
899
+ count: number;
900
+ }) => string;
901
+ readonly waiting: ({ count }: {
902
+ count: number;
903
+ }) => string;
904
+ readonly failed: ({ count }: {
905
+ count: number;
906
+ }) => string;
907
+ readonly tableLabel: "Steps of this turn";
908
+ readonly columnNode: "Node";
909
+ readonly columnStatus: "Status";
910
+ readonly columnCount: "Runs";
911
+ readonly columnDuration: "Time";
912
+ readonly repeated: ({ count }: {
913
+ count: number;
914
+ }) => string;
915
+ readonly pendingNode: "Waiting for input";
916
+ readonly status: {
917
+ readonly running: "Running";
918
+ readonly completed: "Done";
919
+ readonly waiting: "Waiting";
920
+ readonly failed: "Failed";
921
+ readonly skipped: "Skipped";
922
+ };
923
+ };
924
+ readonly emptyTurn: {
925
+ readonly run: "Started a run";
926
+ readonly withInputs: ({ names }: {
927
+ names: string;
928
+ }) => string;
929
+ };
479
930
  readonly messageTooltips: {
480
931
  readonly nodeId: ({ id }: {
481
932
  id: string;
482
933
  }) => string;
483
934
  readonly executionDuration: "Execution duration";
935
+ readonly showNodeLastRun: ({ label }: {
936
+ label: string;
937
+ }) => string;
484
938
  };
485
939
  readonly messageAnnotations: {
486
940
  readonly hierarchyOf: ({ path }: {
@@ -506,13 +960,47 @@ export declare const defaultMessages: {
506
960
  }) => string;
507
961
  };
508
962
  readonly executionConsole: {
963
+ /** @deprecated The console no longer draws a header row. */
509
964
  readonly header: "Execution";
510
965
  readonly noExecutionTitle: "No execution yet";
511
966
  readonly noExecutionText: "Create or select a session below, then run your workflow to see execution output here.";
967
+ /** @deprecated The "Ready to run" state is gone; an empty session shows nothing. */
512
968
  readonly readyTitle: "Ready to run";
969
+ /** @deprecated See `readyTitle`. */
513
970
  readonly readyText: "Use the controls below to start the workflow. Output and interactive prompts will appear here.";
514
971
  readonly newSession: "New session";
515
972
  };
973
+ readonly header: {
974
+ readonly history: "Conversation and run history";
975
+ readonly noConversation: "New conversation";
976
+ readonly conversations: "Conversations";
977
+ readonly runs: "Runs";
978
+ readonly newConversation: "New conversation";
979
+ readonly newConversationHint: "The current one stays on the sessions page";
980
+ readonly noRuns: "No runs yet";
981
+ readonly noRunsHint: "Send a message or press Run to make one";
982
+ readonly run: ({ number }: {
983
+ number: number;
984
+ }) => string;
985
+ readonly staleRun: "older version";
986
+ readonly currentRun: "shown";
987
+ readonly moreActions: "More actions";
988
+ readonly showSteps: "Expand steps by default";
989
+ readonly showStepsHint: "Each turn shows its steps open instead of one folded row";
990
+ readonly jsonView: "JSON view";
991
+ readonly jsonViewHint: "Edit the inputs as JSON";
992
+ readonly refresh: "Refresh";
993
+ readonly refreshHint: "If a run looks stuck. It also refreshes on focus.";
994
+ readonly reset: "Reset stuck session";
995
+ readonly resetHint: "Clears the session's state when a run cannot continue";
996
+ readonly playgroundSettings: "Playground settings";
997
+ readonly playgroundSettingsHint: "What the chat fills and what it prints";
998
+ };
999
+ readonly jsonInput: {
1000
+ readonly label: "Inputs as JSON";
1001
+ readonly invalid: "Not valid JSON: the form keeps its last good values.";
1002
+ readonly notObject: "The inputs must be a JSON object.";
1003
+ };
516
1004
  readonly controlPanel: {
517
1005
  readonly sessionsLabel: "Session";
518
1006
  readonly noSession: "No session";
@@ -523,6 +1011,7 @@ export declare const defaultMessages: {
523
1011
  readonly hidePipeline: "Hide pipeline";
524
1012
  readonly refresh: "Refresh";
525
1013
  readonly refreshTitle: "Refresh status";
1014
+ readonly openPlaygroundSettings: "Playground settings";
526
1015
  readonly logs: "Logs";
527
1016
  readonly showLogs: "Show log messages";
528
1017
  readonly hideLogs: "Hide log messages";
@@ -531,6 +1020,9 @@ export declare const defaultMessages: {
531
1020
  };
532
1021
  };
533
1022
  readonly nodes: {
1023
+ readonly configure: "Configure node";
1024
+ readonly configureTool: "Configure tool";
1025
+ readonly configureIdea: "Configure idea";
534
1026
  readonly notes: {
535
1027
  readonly placeholder: "Add your notes here...";
536
1028
  readonly types: {
@@ -567,6 +1059,13 @@ export declare const defaultMessages: {
567
1059
  readonly connectBranch: ({ name }: {
568
1060
  name: string;
569
1061
  }) => string;
1062
+ readonly portRequired: "Required";
1063
+ readonly execIn: "Runs when the previous node completes";
1064
+ readonly execOut: "Fires when this node completes";
1065
+ readonly configureHint: "Double-click to configure";
1066
+ readonly publishedAs: ({ name }: {
1067
+ name: string;
1068
+ }) => string;
570
1069
  };
571
1070
  };
572
1071
  readonly status: {
@@ -584,23 +1083,77 @@ export declare const defaultMessages: {
584
1083
  }) => string;
585
1084
  };
586
1085
  readonly overlay: {
587
- readonly tooltip: ({ status, count }: {
1086
+ readonly tooltip: ({ status }: {
588
1087
  status: string;
589
- count: number;
590
1088
  }) => string;
591
1089
  readonly ariaLabel: ({ status }: {
592
1090
  status: string;
593
1091
  }) => string;
594
- readonly statusLabel: "Status:";
595
- readonly executionsLabel: "Executions:";
596
- readonly lastRunLabel: "Last Run:";
597
- readonly durationLabel: "Duration:";
598
- readonly errorLabel: "Error:";
599
- readonly historyLabel: "Runs:";
1092
+ readonly runs: ({ count }: {
1093
+ count: number;
1094
+ }) => string;
1095
+ readonly edited: "edited";
1096
+ readonly editedTooltip: "Changed since this run started. The result may be out of date.";
600
1097
  };
601
1098
  };
602
1099
  readonly workflowInterface: {
1100
+ readonly tagAria: ({ id, type, direction }: {
1101
+ id: string;
1102
+ type: string;
1103
+ direction: "input" | "output";
1104
+ }) => string;
1105
+ readonly tagTitle: ({ id, type }: {
1106
+ id: string;
1107
+ type: string;
1108
+ }) => string;
1109
+ readonly tagTipInput: "Workflow input";
1110
+ readonly tagTipOutput: "Workflow output";
1111
+ readonly tagTipReserved: "Trigger event";
1112
+ readonly tagTipInputBody: ({ port, node }: {
1113
+ port: string;
1114
+ node: string;
1115
+ }) => string;
1116
+ readonly tagTipOutputBody: ({ port, node }: {
1117
+ port: string;
1118
+ node: string;
1119
+ }) => string;
1120
+ readonly tagTipReservedBody: "Holds what happened when this trigger fires: the event fills this input and the run starts here. Callers cannot see or supply it.";
1121
+ readonly tagTipRequired: "Required";
1122
+ readonly tagTipMismatch: ({ declared, port }: {
1123
+ declared: string;
1124
+ port: string;
1125
+ }) => string;
1126
+ readonly tagTipEditHint: "Double-click to rename · right-click for more";
1127
+ readonly tagTipReservedHint: "Derived from the trigger node · read-only";
1128
+ readonly reservedTagAria: ({ id, type }: {
1129
+ id: string;
1130
+ type: string;
1131
+ }) => string;
1132
+ readonly tagNameLabel: "Interface name";
1133
+ readonly tagNameHint: "Enter saves · Esc cancels";
1134
+ readonly tagIdEmpty: "Give it a name.";
1135
+ readonly tagIdDuplicate: ({ id, direction }: {
1136
+ id: string;
1137
+ direction: "input" | "output";
1138
+ }) => string;
1139
+ readonly exposeInputPort: ({ port }: {
1140
+ port: string;
1141
+ }) => string;
1142
+ readonly exposeOutputPort: ({ port }: {
1143
+ port: string;
1144
+ }) => string;
1145
+ readonly renameTag: ({ id }: {
1146
+ id: string;
1147
+ }) => string;
1148
+ readonly removeTag: ({ id }: {
1149
+ id: string;
1150
+ }) => string;
1151
+ readonly portActions: ({ port }: {
1152
+ port: string;
1153
+ }) => string;
603
1154
  readonly inputsHeading: "Inputs";
1155
+ readonly reservedInputsHeading: "Trigger events";
1156
+ readonly reservedInputsHint: "Each trigger fills its own event input when it fires. Derived from the trigger nodes; callers cannot supply them.";
604
1157
  readonly outputsHeading: "Outputs";
605
1158
  readonly addInput: "Add input";
606
1159
  readonly addOutput: "Add output";
@@ -638,6 +1191,12 @@ export declare const defaultMessages: {
638
1191
  readonly removeEntry: ({ id }: {
639
1192
  id: string;
640
1193
  }) => string;
1194
+ readonly entryActions: ({ id }: {
1195
+ id: string;
1196
+ }) => string;
1197
+ readonly menuMoveUp: "Move up";
1198
+ readonly menuMoveDown: "Move down";
1199
+ readonly menuRemove: "Remove";
641
1200
  readonly moveUp: ({ id }: {
642
1201
  id: string;
643
1202
  }) => string;
@@ -750,6 +1309,28 @@ export declare const defaultMessages: {
750
1309
  };
751
1310
  };
752
1311
  readonly webmcp: {
1312
+ readonly bridge: {
1313
+ readonly trigger: "Desktop bridge";
1314
+ readonly triggerTitle: ({ status }: {
1315
+ status: string;
1316
+ }) => string;
1317
+ readonly title: "Desktop bridge";
1318
+ readonly explainer: "Lets an AI app on this computer see and edit this workflow.";
1319
+ readonly status: {
1320
+ readonly disconnected: "Not connected";
1321
+ readonly connecting: "Connecting…";
1322
+ readonly connected: "Connected";
1323
+ readonly error: "Connection failed";
1324
+ };
1325
+ readonly tokenLabel: "Connection token";
1326
+ readonly tokenPlaceholder: "Paste the token from the bridge";
1327
+ readonly connect: "Connect";
1328
+ readonly disconnect: "Disconnect";
1329
+ readonly toolsOffered: ({ count }: {
1330
+ count: number;
1331
+ }) => string;
1332
+ readonly toolsLabel: "Tools offered to the connected app";
1333
+ };
753
1334
  readonly confirmTitle: ({ name }: {
754
1335
  name: string;
755
1336
  }) => string;
@@ -792,4 +1373,38 @@ export declare const defaultMessages: {
792
1373
  }) => string;
793
1374
  readonly rememberEdits: "Apply further edits from any agent on this page without asking, until this page is closed";
794
1375
  };
1376
+ readonly statusPill: {
1377
+ readonly running: "Running";
1378
+ readonly completed: "Completed";
1379
+ readonly waiting: "Waiting for you";
1380
+ readonly failed: "Failed";
1381
+ readonly skipped: "Skipped";
1382
+ };
1383
+ readonly composer: {
1384
+ readonly placeholder: "Type a message";
1385
+ readonly send: "Send";
1386
+ readonly stop: "Stop";
1387
+ readonly attach: "Attach";
1388
+ };
1389
+ readonly notice: {
1390
+ readonly dismiss: "Dismiss";
1391
+ };
1392
+ readonly field: {
1393
+ readonly required: "required";
1394
+ readonly examples: "Examples";
1395
+ };
1396
+ readonly menu: {
1397
+ readonly moreActions: "More actions";
1398
+ };
1399
+ readonly select: {
1400
+ readonly searchPlaceholder: "Search…";
1401
+ readonly noMatches: "No matches";
1402
+ readonly count: ({ shown, total }: {
1403
+ shown: number;
1404
+ total: number;
1405
+ }) => string;
1406
+ readonly hintMove: "move";
1407
+ readonly hintChoose: "choose";
1408
+ readonly hintClose: "close";
1409
+ };
795
1410
  };