@flowdrop/flowdrop 2.10.1 → 2.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 (571) hide show
  1. package/CHANGELOG.md +385 -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 +1030 -207
  16. package/dist/components/App.svelte.d.ts +26 -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 +163 -125
  29. package/dist/components/ConfigModal.svelte +13 -56
  30. package/dist/components/ConfigModal.svelte.d.ts +1 -1
  31. package/dist/components/ConfigPanel.svelte +98 -228
  32. package/dist/components/ConfigPanel.svelte.d.ts +2 -2
  33. package/dist/components/ConnectPortPicker.svelte +153 -0
  34. package/dist/components/ConnectPortPicker.svelte.d.ts +22 -0
  35. package/dist/components/ConnectionLine.svelte +1 -1
  36. package/dist/components/DoctorMenu.svelte +422 -0
  37. package/dist/components/DoctorMenu.svelte.d.ts +7 -0
  38. package/dist/components/ExternalLinkRow.svelte +82 -0
  39. package/dist/components/ExternalLinkRow.svelte.d.ts +14 -0
  40. package/dist/components/FlowDropEdge.svelte +52 -2
  41. package/dist/components/FlowDropEdge.svelte.d.ts +5 -1
  42. package/dist/components/InterfaceNameInput.svelte +103 -0
  43. package/dist/components/InterfaceNameInput.svelte.d.ts +13 -0
  44. package/dist/components/InterfaceTag.svelte +215 -0
  45. package/dist/components/InterfaceTag.svelte.d.ts +20 -0
  46. package/dist/components/InterfaceTagAnchor.svelte +103 -0
  47. package/dist/components/InterfaceTagAnchor.svelte.d.ts +12 -0
  48. package/dist/components/InterfaceTagLayer.svelte +314 -0
  49. package/dist/components/InterfaceTagLayer.svelte.d.ts +28 -0
  50. package/dist/components/LogsSidebar.svelte +58 -55
  51. package/dist/components/LoopbackLanes.svelte +54 -0
  52. package/dist/components/LoopbackLanes.svelte.d.ts +8 -0
  53. package/dist/components/MarkdownDisplay.svelte +1 -1
  54. package/dist/components/Navbar.svelte +539 -169
  55. package/dist/components/Navbar.svelte.d.ts +20 -1
  56. package/dist/components/NodeInspector.svelte +153 -0
  57. package/dist/components/NodeInspector.svelte.d.ts +19 -0
  58. package/dist/components/NodeLastRun.svelte +212 -0
  59. package/dist/components/NodeLastRun.svelte.d.ts +13 -0
  60. package/dist/components/NodeSidebar.svelte +279 -23
  61. package/dist/components/NodeSidebar.svelte.d.ts +11 -0
  62. package/dist/components/NodeStatusOverlay.svelte +144 -353
  63. package/dist/components/NodeStatusOverlay.svelte.d.ts +4 -1
  64. package/dist/components/PipelineStatus.svelte +5 -18
  65. package/dist/components/PortMappingRow.svelte +28 -44
  66. package/dist/components/PortPickerListbox.svelte +475 -0
  67. package/dist/components/PortPickerListbox.svelte.d.ts +73 -0
  68. package/dist/components/ReadOnlyDetails.svelte +52 -89
  69. package/dist/components/RunBar.svelte +222 -0
  70. package/dist/components/RunBar.svelte.d.ts +20 -0
  71. package/dist/components/RunsMenu.svelte +649 -0
  72. package/dist/components/RunsMenu.svelte.d.ts +14 -0
  73. package/dist/components/SchemaForm.svelte +1 -1
  74. package/dist/components/SettingsModal.svelte +28 -60
  75. package/dist/components/SettingsPanel.svelte +516 -242
  76. package/dist/components/StraightGuides.svelte +46 -0
  77. package/dist/components/StraightGuides.svelte.d.ts +7 -0
  78. package/dist/components/ThemeToggle.svelte +14 -4
  79. package/dist/components/UniversalNode.svelte +152 -51
  80. package/dist/components/WebMCPBridgeMenu.svelte +336 -0
  81. package/dist/components/WebMCPBridgeMenu.svelte.d.ts +3 -0
  82. package/dist/components/WorkflowEditor.svelte +821 -142
  83. package/dist/components/WorkflowEditor.svelte.d.ts +43 -1
  84. package/dist/components/WorkflowInterfaceEditor.svelte +106 -100
  85. package/dist/components/WorkflowInterfaceEditor.svelte.d.ts +12 -1
  86. package/dist/components/WorkflowInterfaceEntryCard.svelte +496 -494
  87. package/dist/components/WorkflowInterfaceEntryCard.svelte.d.ts +14 -1
  88. package/dist/components/WorkflowInterfaceEntryComposer.svelte +23 -67
  89. package/dist/components/WorkflowPlaygroundSettings.svelte +514 -0
  90. package/dist/components/WorkflowPlaygroundSettings.svelte.d.ts +20 -0
  91. package/dist/components/WorkflowSettingsPanel.svelte +311 -0
  92. package/dist/components/WorkflowSettingsPanel.svelte.d.ts +20 -0
  93. package/dist/components/ZoomTier.svelte +56 -0
  94. package/dist/components/ZoomTier.svelte.d.ts +4 -0
  95. package/dist/components/chat/AIChatPanel.svelte +464 -313
  96. package/dist/components/chat/ActivityList.svelte +130 -0
  97. package/dist/components/chat/ActivityList.svelte.d.ts +11 -0
  98. package/dist/components/chat/ActivityRow.svelte +179 -0
  99. package/dist/components/chat/ActivityRow.svelte.d.ts +16 -0
  100. package/dist/components/chat/CommandPreview.svelte +42 -64
  101. package/dist/components/console/CommandConsole.svelte +106 -41
  102. package/dist/components/console/CommandConsole.svelte.d.ts +2 -0
  103. package/dist/components/console/ConsoleAutocomplete.svelte +14 -13
  104. package/dist/components/console/ConsoleInput.svelte +60 -27
  105. package/dist/components/console/ConsoleOutput.svelte +86 -24
  106. package/dist/components/console/ConsoleStrip.svelte +80 -0
  107. package/dist/components/console/ConsoleStrip.svelte.d.ts +13 -0
  108. package/dist/components/form/FieldFactory.svelte +30 -4
  109. package/dist/components/form/FormArray.svelte +306 -339
  110. package/dist/components/form/FormArray.svelte.d.ts +10 -0
  111. package/dist/components/form/FormArrayRows.svelte +443 -0
  112. package/dist/components/form/FormArrayRows.svelte.d.ts +18 -0
  113. package/dist/components/form/FormAutocomplete.svelte +2 -2
  114. package/dist/components/form/FormCheckboxGroup.svelte +10 -85
  115. package/dist/components/form/FormCodeEditor.svelte +3 -3
  116. package/dist/components/form/FormFieldWrapper.svelte +98 -18
  117. package/dist/components/form/FormFieldWrapper.svelte.d.ts +10 -0
  118. package/dist/components/form/FormFieldset.svelte +44 -28
  119. package/dist/components/form/FormMarkdownEditor.svelte +6 -6
  120. package/dist/components/form/FormPorts.svelte +437 -141
  121. package/dist/components/form/FormSelect.svelte +1 -1
  122. package/dist/components/form/FormTemplateEditor.svelte +22 -26
  123. package/dist/components/form/FormToggle.svelte +15 -106
  124. package/dist/components/form/FormToggle.svelte.d.ts +3 -2
  125. package/dist/components/form/FormUISchemaRenderer.svelte +38 -3
  126. package/dist/components/form/humanizeKey.d.ts +7 -0
  127. package/dist/components/form/humanizeKey.js +21 -0
  128. package/dist/components/form/index.d.ts +2 -2
  129. package/dist/components/form/index.js +2 -2
  130. package/dist/components/form/types.d.ts +6 -0
  131. package/dist/components/icons/MenuOpenIcon.svelte +8 -1
  132. package/dist/components/interrupt/ChoicePrompt.svelte +51 -152
  133. package/dist/components/interrupt/ChoicePrompt.svelte.d.ts +0 -2
  134. package/dist/components/interrupt/ConfirmationPrompt.svelte +18 -201
  135. package/dist/components/interrupt/ConfirmationPrompt.svelte.d.ts +0 -4
  136. package/dist/components/interrupt/FormPrompt.svelte +22 -147
  137. package/dist/components/interrupt/FormPrompt.svelte.d.ts +0 -4
  138. package/dist/components/interrupt/InterruptBubble.svelte +198 -355
  139. package/dist/components/interrupt/InterruptBubble.svelte.d.ts +0 -2
  140. package/dist/components/interrupt/ReviewPrompt.svelte +0 -10
  141. package/dist/components/interrupt/TextInputPrompt.svelte +23 -120
  142. package/dist/components/interrupt/TextInputPrompt.svelte.d.ts +0 -2
  143. package/dist/components/layouts/MainLayout.svelte +110 -75
  144. package/dist/components/layouts/MainLayout.svelte.d.ts +17 -0
  145. package/dist/components/nodes/CaptionNode.svelte +7 -0
  146. package/dist/components/nodes/GatewayNode.svelte +66 -431
  147. package/dist/components/nodes/IdeaNode.svelte +6 -5
  148. package/dist/components/nodes/NodeCard.svelte +1051 -0
  149. package/dist/components/nodes/NodeCard.svelte.d.ts +30 -0
  150. package/dist/components/nodes/NodeConfigButton.svelte +28 -9
  151. package/dist/components/nodes/NodeProblemMark.svelte +113 -0
  152. package/dist/components/nodes/NodeProblemMark.svelte.d.ts +8 -0
  153. package/dist/components/nodes/NodeTip.svelte +104 -0
  154. package/dist/components/nodes/NodeTip.svelte.d.ts +15 -0
  155. package/dist/components/nodes/NotesNode.svelte +183 -150
  156. package/dist/components/nodes/SimpleNode.svelte +176 -44
  157. package/dist/components/nodes/SquareNode.svelte +127 -34
  158. package/dist/components/nodes/TerminalNode.svelte +232 -88
  159. package/dist/components/nodes/ToolNode.svelte +49 -381
  160. package/dist/components/nodes/WorkflowNode.svelte +40 -399
  161. package/dist/components/playground/ChatBubble.svelte +248 -62
  162. package/dist/components/playground/ChatInput.svelte +134 -297
  163. package/dist/components/playground/ChatInput.svelte.d.ts +17 -0
  164. package/dist/components/playground/ControlPanel.svelte +318 -188
  165. package/dist/components/playground/ControlPanel.svelte.d.ts +13 -0
  166. package/dist/components/playground/DockedPlayground.svelte +75 -0
  167. package/dist/components/playground/DockedPlayground.svelte.d.ts +24 -0
  168. package/dist/components/playground/ExecutionConsole.svelte +54 -36
  169. package/dist/components/playground/ExecutionConsole.svelte.d.ts +12 -0
  170. package/dist/components/playground/ExecutionLogs.svelte +4 -0
  171. package/dist/components/playground/HeaderMenu.svelte +170 -0
  172. package/dist/components/playground/HeaderMenu.svelte.d.ts +22 -0
  173. package/dist/components/playground/InputCollector.svelte +8 -32
  174. package/dist/components/playground/InputFields.svelte +246 -0
  175. package/dist/components/playground/InputFields.svelte.d.ts +16 -0
  176. package/dist/components/playground/InterfaceInputForm.svelte +285 -30
  177. package/dist/components/playground/InterfaceInputForm.svelte.d.ts +20 -0
  178. package/dist/components/playground/InterfaceJsonInput.svelte +92 -0
  179. package/dist/components/playground/InterfaceJsonInput.svelte.d.ts +10 -0
  180. package/dist/components/playground/LogRow.svelte +12 -12
  181. package/dist/components/playground/MessageMarkdown.svelte +11 -11
  182. package/dist/components/playground/MessageStream.svelte +154 -182
  183. package/dist/components/playground/Playground.svelte +17 -1087
  184. package/dist/components/playground/PlaygroundApp.svelte +12 -2
  185. package/dist/components/playground/PlaygroundApp.svelte.d.ts +2 -1
  186. package/dist/components/playground/PlaygroundHeader.svelte +309 -0
  187. package/dist/components/playground/PlaygroundHeader.svelte.d.ts +22 -0
  188. package/dist/components/playground/PlaygroundModal.svelte +7 -1
  189. package/dist/components/playground/PlaygroundStudio.svelte +31 -33
  190. package/dist/components/playground/PlaygroundSurface.svelte +648 -0
  191. package/dist/components/playground/PlaygroundSurface.svelte.d.ts +79 -0
  192. package/dist/components/playground/StepsSummary.svelte +312 -0
  193. package/dist/components/playground/StepsSummary.svelte.d.ts +11 -0
  194. package/dist/components/playground/messageDisplay.d.ts +9 -0
  195. package/dist/components/playground/messageDisplay.js +24 -2
  196. package/dist/components/playground/stepSummary.d.ts +71 -0
  197. package/dist/components/playground/stepSummary.js +152 -0
  198. package/dist/components/ports/PortTypeBadge.svelte +13 -1
  199. package/dist/components/primitives/Button.svelte +226 -0
  200. package/dist/components/primitives/Button.svelte.d.ts +31 -0
  201. package/dist/components/primitives/Card.svelte +110 -0
  202. package/dist/components/primitives/Card.svelte.d.ts +20 -0
  203. package/dist/components/primitives/Checkbox.svelte +126 -0
  204. package/dist/components/primitives/Checkbox.svelte.d.ts +15 -0
  205. package/dist/components/primitives/Chip.svelte +143 -0
  206. package/dist/components/primitives/Chip.svelte.d.ts +22 -0
  207. package/dist/components/primitives/Combobox.svelte +444 -0
  208. package/dist/components/primitives/Combobox.svelte.d.ts +22 -0
  209. package/dist/components/primitives/Composer.svelte +293 -0
  210. package/dist/components/primitives/Composer.svelte.d.ts +47 -0
  211. package/dist/components/primitives/EmptyState.svelte +113 -0
  212. package/dist/components/primitives/EmptyState.svelte.d.ts +18 -0
  213. package/dist/components/primitives/Field.svelte +178 -0
  214. package/dist/components/primitives/Field.svelte.d.ts +30 -0
  215. package/dist/components/primitives/IconButton.svelte +156 -0
  216. package/dist/components/primitives/IconButton.svelte.d.ts +27 -0
  217. package/dist/components/primitives/Menu.svelte +435 -0
  218. package/dist/components/primitives/Menu.svelte.d.ts +61 -0
  219. package/dist/components/primitives/Notice.svelte +161 -0
  220. package/dist/components/primitives/Notice.svelte.d.ts +22 -0
  221. package/dist/components/primitives/PanelHeader.svelte +134 -0
  222. package/dist/components/primitives/PanelHeader.svelte.d.ts +23 -0
  223. package/dist/components/primitives/Segmented.svelte +198 -0
  224. package/dist/components/primitives/Segmented.svelte.d.ts +32 -0
  225. package/dist/components/primitives/Select.svelte +130 -0
  226. package/dist/components/primitives/Select.svelte.d.ts +26 -0
  227. package/dist/components/primitives/StatusPill.svelte +218 -0
  228. package/dist/components/primitives/StatusPill.svelte.d.ts +24 -0
  229. package/dist/components/primitives/Switch.svelte +113 -0
  230. package/dist/components/primitives/Switch.svelte.d.ts +14 -0
  231. package/dist/components/primitives/Tabs.svelte +209 -0
  232. package/dist/components/primitives/Tabs.svelte.d.ts +32 -0
  233. package/dist/components/primitives/Toolbar.svelte +94 -0
  234. package/dist/components/primitives/Toolbar.svelte.d.ts +14 -0
  235. package/dist/components/primitives/ToolbarSeparator.svelte +40 -0
  236. package/dist/components/primitives/ToolbarSeparator.svelte.d.ts +7 -0
  237. package/dist/components/surfaces/SurfaceOverlay.svelte +10 -40
  238. package/dist/components/surfaces/TabbedSurface.svelte +49 -39
  239. package/dist/components/surfaces/TabbedSurface.svelte.d.ts +8 -0
  240. package/dist/components/toast/DismissibleToast.svelte +94 -32
  241. package/dist/components/toast/DismissibleToast.svelte.d.ts +17 -7
  242. package/dist/config/endpoints.d.ts +43 -1
  243. package/dist/config/endpoints.js +21 -3
  244. package/dist/core/index.d.ts +9 -6
  245. package/dist/core/index.js +1 -1
  246. package/dist/editor/connectCandidates.d.ts +56 -0
  247. package/dist/editor/connectCandidates.js +131 -0
  248. package/dist/editor/contextMenu.d.ts +31 -2
  249. package/dist/editor/contextMenu.js +96 -9
  250. package/dist/editor/index.d.ts +3 -1
  251. package/dist/editor/index.js +1 -0
  252. package/dist/editor/interfaceMenu.d.ts +35 -0
  253. package/dist/editor/interfaceMenu.js +47 -0
  254. package/dist/editor/portMenu.d.ts +23 -0
  255. package/dist/editor/portMenu.js +34 -0
  256. package/dist/editor/tidy.d.ts +30 -0
  257. package/dist/editor/tidy.js +66 -0
  258. package/dist/helpers/workflowEditorHelper.d.ts +15 -0
  259. package/dist/helpers/workflowEditorHelper.js +39 -3
  260. package/dist/layout/fromWorkflow.d.ts +42 -0
  261. package/dist/layout/fromWorkflow.js +135 -0
  262. package/dist/layout/geometry.d.ts +102 -0
  263. package/dist/layout/geometry.js +317 -0
  264. package/dist/layout/index.d.ts +21 -0
  265. package/dist/layout/index.js +14 -0
  266. package/dist/layout/inspect.d.ts +18 -0
  267. package/dist/layout/inspect.js +81 -0
  268. package/dist/layout/lanePath.d.ts +23 -0
  269. package/dist/layout/lanePath.js +47 -0
  270. package/dist/layout/measure.d.ts +141 -0
  271. package/dist/layout/measure.js +477 -0
  272. package/dist/layout/primitives.d.ts +124 -0
  273. package/dist/layout/primitives.js +461 -0
  274. package/dist/layout/sweep.d.ts +59 -0
  275. package/dist/layout/sweep.js +257 -0
  276. package/dist/layout/toWorkflow.d.ts +43 -0
  277. package/dist/layout/toWorkflow.js +131 -0
  278. package/dist/layout/types.d.ts +93 -0
  279. package/dist/layout/types.js +35 -0
  280. package/dist/messages/defaults.d.ts +694 -26
  281. package/dist/messages/defaults.js +626 -27
  282. package/dist/messages/types.d.ts +21 -1
  283. package/dist/openapi/v1/openapi.yaml +222 -5
  284. package/dist/playground/index.d.ts +31 -2
  285. package/dist/playground/index.js +31 -1
  286. package/dist/playground/mount.d.ts +34 -12
  287. package/dist/playground/mount.js +80 -35
  288. package/dist/playground/runAction.d.ts +29 -0
  289. package/dist/playground/runAction.js +38 -0
  290. package/dist/schemas/index.js +1 -1
  291. package/dist/schemas/v1/workflow.schema.json +140 -2
  292. package/dist/services/doctorService.d.ts +52 -0
  293. package/dist/services/doctorService.js +113 -0
  294. package/dist/services/globalSave.js +17 -24
  295. package/dist/services/nodeExecutionService.d.ts +12 -1
  296. package/dist/services/nodeExecutionService.js +58 -58
  297. package/dist/services/playgroundService.d.ts +23 -3
  298. package/dist/services/playgroundService.js +53 -5
  299. package/dist/services/runsService.d.ts +42 -0
  300. package/dist/services/runsService.js +87 -0
  301. package/dist/services/toastQueue.d.ts +33 -0
  302. package/dist/services/toastQueue.js +38 -0
  303. package/dist/services/toastService.d.ts +30 -9
  304. package/dist/services/toastService.js +81 -46
  305. package/dist/settings/index.d.ts +1 -0
  306. package/dist/skins/default.d.ts +1 -1
  307. package/dist/skins/drafter.d.ts +1 -1
  308. package/dist/skins/graphite.d.ts +26 -0
  309. package/dist/skins/graphite.js +473 -0
  310. package/dist/skins/index.d.ts +6 -5
  311. package/dist/skins/index.js +7 -5
  312. package/dist/skins/slate.d.ts +1 -1
  313. package/dist/skins/slate.js +4 -4
  314. package/dist/stores/attachedRunStore.svelte.d.ts +35 -0
  315. package/dist/stores/attachedRunStore.svelte.js +47 -0
  316. package/dist/stores/connectDragStore.svelte.d.ts +39 -0
  317. package/dist/stores/connectDragStore.svelte.js +42 -0
  318. package/dist/stores/doctorStore.svelte.d.ts +79 -0
  319. package/dist/stores/doctorStore.svelte.js +244 -0
  320. package/dist/stores/editedNodesStore.svelte.d.ts +42 -0
  321. package/dist/stores/editedNodesStore.svelte.js +84 -0
  322. package/dist/stores/editorModeStore.svelte.d.ts +34 -0
  323. package/dist/stores/editorModeStore.svelte.js +55 -0
  324. package/dist/stores/instanceContainer.svelte.d.ts +68 -0
  325. package/dist/stores/instanceContainer.svelte.js +49 -2
  326. package/dist/stores/loopbackLanesStore.svelte.d.ts +18 -0
  327. package/dist/stores/loopbackLanesStore.svelte.js +25 -0
  328. package/dist/stores/nodeHighlightStore.svelte.d.ts +34 -0
  329. package/dist/stores/nodeHighlightStore.svelte.js +56 -0
  330. package/dist/stores/playgroundStore.svelte.d.ts +74 -2
  331. package/dist/stores/playgroundStore.svelte.js +182 -6
  332. package/dist/stores/runController.svelte.d.ts +382 -0
  333. package/dist/stores/runController.svelte.js +1217 -0
  334. package/dist/stores/settingsStore.svelte.d.ts +80 -18
  335. package/dist/stores/settingsStore.svelte.js +180 -62
  336. package/dist/stores/workflowStore.svelte.d.ts +18 -1
  337. package/dist/stores/workflowStore.svelte.js +29 -1
  338. package/dist/styles/base.css +300 -28
  339. package/dist/styles/fonts/Inter-LICENSE.txt +93 -0
  340. package/dist/styles/fonts/inter-latin-wght-normal.woff2 +0 -0
  341. package/dist/styles/fonts/inter.css +19 -0
  342. package/dist/styles/toast.css +100 -20
  343. package/dist/styles/tokenAliases.d.ts +13 -0
  344. package/dist/styles/tokenAliases.js +206 -0
  345. package/dist/styles/tokens.css +586 -14
  346. package/dist/svelte-app.d.ts +38 -5
  347. package/dist/svelte-app.js +14 -3
  348. package/dist/themes/graphite.d.ts +2 -0
  349. package/dist/themes/graphite.js +15 -0
  350. package/dist/themes/index.d.ts +2 -1
  351. package/dist/themes/index.js +22 -3
  352. package/dist/themes/minimal.js +10 -0
  353. package/dist/themes/scopedSkinCss.d.ts +47 -0
  354. package/dist/themes/scopedSkinCss.js +220 -0
  355. package/dist/types/chat.d.ts +6 -0
  356. package/dist/types/doctor.d.ts +82 -0
  357. package/dist/types/doctor.js +11 -0
  358. package/dist/types/events.d.ts +35 -0
  359. package/dist/types/events.js +4 -1
  360. package/dist/types/index.d.ts +103 -6
  361. package/dist/types/index.js +15 -3
  362. package/dist/types/navbar.d.ts +36 -0
  363. package/dist/types/playground.d.ts +66 -0
  364. package/dist/types/settings.d.ts +120 -7
  365. package/dist/types/settings.js +35 -3
  366. package/dist/types/skin.d.ts +23 -10
  367. package/dist/types/theme.d.ts +40 -2
  368. package/dist/utils/appearance.d.ts +19 -0
  369. package/dist/utils/appearance.js +13 -0
  370. package/dist/utils/canvasFit.d.ts +41 -0
  371. package/dist/utils/canvasFit.js +44 -0
  372. package/dist/utils/chipTitles.d.ts +9 -0
  373. package/dist/utils/chipTitles.js +19 -0
  374. package/dist/utils/connections.js +8 -0
  375. package/dist/utils/consoleHighlight.d.ts +28 -0
  376. package/dist/utils/consoleHighlight.js +269 -0
  377. package/dist/utils/deprecation.d.ts +17 -0
  378. package/dist/utils/deprecation.js +29 -0
  379. package/dist/utils/doctorOperations.d.ts +40 -0
  380. package/dist/utils/doctorOperations.js +237 -0
  381. package/dist/utils/duration.d.ts +13 -0
  382. package/dist/utils/duration.js +40 -0
  383. package/dist/utils/inspectorContext.d.ts +19 -0
  384. package/dist/utils/inspectorContext.js +12 -0
  385. package/dist/utils/inspectorSections.d.ts +20 -0
  386. package/dist/utils/inspectorSections.js +44 -0
  387. package/dist/utils/inspectorSurface.d.ts +46 -0
  388. package/dist/utils/inspectorSurface.js +51 -0
  389. package/dist/utils/interfaceTags.d.ts +102 -0
  390. package/dist/utils/interfaceTags.js +211 -0
  391. package/dist/utils/itemRef.d.ts +86 -0
  392. package/dist/utils/itemRef.js +106 -0
  393. package/dist/utils/lastRun.d.ts +35 -0
  394. package/dist/utils/lastRun.js +73 -0
  395. package/dist/utils/messageNodeLink.d.ts +17 -0
  396. package/dist/utils/messageNodeLink.js +16 -0
  397. package/dist/utils/minimapVisibility.d.ts +28 -0
  398. package/dist/utils/minimapVisibility.js +34 -0
  399. package/dist/utils/nodeAriaLabel.d.ts +12 -0
  400. package/dist/utils/nodeAriaLabel.js +17 -0
  401. package/dist/utils/nodeFingerprint.d.ts +27 -0
  402. package/dist/utils/nodeFingerprint.js +66 -0
  403. package/dist/utils/nodeFormSchema.d.ts +10 -0
  404. package/dist/utils/nodeFormSchema.js +2 -2
  405. package/dist/utils/nodeGeometry.d.ts +168 -0
  406. package/dist/utils/nodeGeometry.js +204 -0
  407. package/dist/utils/nodeProblem.d.ts +19 -0
  408. package/dist/utils/nodeProblem.js +9 -0
  409. package/dist/utils/nodeStatus.d.ts +38 -3
  410. package/dist/utils/nodeStatus.js +67 -39
  411. package/dist/utils/nodeSwap.js +9 -1
  412. package/dist/utils/nodeWrapper.d.ts +1 -0
  413. package/dist/utils/playgroundChat.d.ts +121 -0
  414. package/dist/utils/playgroundChat.js +275 -0
  415. package/dist/utils/playgroundHistory.d.ts +48 -0
  416. package/dist/utils/playgroundHistory.js +38 -0
  417. package/dist/utils/playgroundInputRuns.d.ts +26 -0
  418. package/dist/utils/playgroundInputRuns.js +50 -0
  419. package/dist/utils/portExposure.d.ts +49 -0
  420. package/dist/utils/portExposure.js +122 -0
  421. package/dist/utils/portUtils.d.ts +16 -0
  422. package/dist/utils/portUtils.js +37 -0
  423. package/dist/utils/portal.d.ts +3 -14
  424. package/dist/utils/portal.js +22 -0
  425. package/dist/utils/reservedPorts.d.ts +59 -0
  426. package/dist/utils/reservedPorts.js +60 -0
  427. package/dist/utils/runEdges.d.ts +24 -0
  428. package/dist/utils/runEdges.js +35 -0
  429. package/dist/utils/runsList.d.ts +69 -0
  430. package/dist/utils/runsList.js +134 -0
  431. package/dist/utils/selectOptions.d.ts +62 -0
  432. package/dist/utils/selectOptions.js +137 -0
  433. package/dist/utils/sessionRuns.d.ts +62 -0
  434. package/dist/utils/sessionRuns.js +123 -0
  435. package/dist/utils/sheetWidths.d.ts +29 -0
  436. package/dist/utils/sheetWidths.js +41 -0
  437. package/dist/utils/sidebarWidths.d.ts +34 -0
  438. package/dist/utils/sidebarWidths.js +47 -0
  439. package/dist/utils/straightWires.d.ts +73 -0
  440. package/dist/utils/straightWires.js +99 -0
  441. package/dist/utils/themeScope.svelte.d.ts +10 -0
  442. package/dist/utils/themeScope.svelte.js +80 -0
  443. package/dist/utils/wiredHandles.d.ts +10 -0
  444. package/dist/utils/wiredHandles.js +14 -0
  445. package/dist/utils/workflowDraft.d.ts +9 -0
  446. package/dist/utils/workflowDraft.js +39 -0
  447. package/dist/utils/workflowInterface.d.ts +128 -27
  448. package/dist/utils/workflowInterface.js +244 -33
  449. package/dist/utils/zoomTier.d.ts +43 -0
  450. package/dist/utils/zoomTier.js +107 -0
  451. package/dist/utils/zoomTierRows.d.ts +41 -0
  452. package/dist/utils/zoomTierRows.js +103 -0
  453. package/dist/webmcp/WebMCPConfirm.svelte +68 -18
  454. package/dist/webmcp/bridge.d.ts +5 -0
  455. package/dist/webmcp/bridge.js +8 -0
  456. package/dist/webmcp/bridgeController.svelte.d.ts +84 -0
  457. package/dist/webmcp/bridgeController.svelte.js +224 -0
  458. package/dist/webmcp/descriptors.d.ts +1 -1
  459. package/dist/webmcp/descriptors.js +66 -5
  460. package/dist/webmcp/fakeWidget.d.ts +34 -0
  461. package/dist/webmcp/fakeWidget.js +75 -0
  462. package/dist/webmcp/gate.d.ts +6 -0
  463. package/dist/webmcp/gate.js +8 -0
  464. package/dist/webmcp/index.d.ts +2 -0
  465. package/dist/webmcp/index.js +1 -0
  466. package/dist/webmcp/runtime.js +6 -2
  467. package/dist/webmcp/types.d.ts +2 -0
  468. package/dist/webmcp/validate.js +5 -1
  469. package/package.json +14 -7
  470. package/dist/components/Button.stories.svelte +0 -65
  471. package/dist/components/Button.stories.svelte.d.ts +0 -19
  472. package/dist/components/CanvasBanner.stories.svelte +0 -30
  473. package/dist/components/CanvasBanner.stories.svelte.d.ts +0 -27
  474. package/dist/components/CanvasContextMenu.stories.svelte +0 -63
  475. package/dist/components/CanvasContextMenu.stories.svelte.d.ts +0 -19
  476. package/dist/components/ConfigPanel.stories.svelte +0 -47
  477. package/dist/components/ConfigPanel.stories.svelte.d.ts +0 -27
  478. package/dist/components/EditorStatusBar.stories.svelte +0 -44
  479. package/dist/components/EditorStatusBar.stories.svelte.d.ts +0 -27
  480. package/dist/components/FlowDropEdge.stories.svelte +0 -197
  481. package/dist/components/FlowDropEdge.stories.svelte.d.ts +0 -26
  482. package/dist/components/LoadingSpinner.stories.svelte +0 -30
  483. package/dist/components/LoadingSpinner.stories.svelte.d.ts +0 -27
  484. package/dist/components/Logo.stories.svelte +0 -22
  485. package/dist/components/Logo.stories.svelte.d.ts +0 -27
  486. package/dist/components/MarkdownDisplay.stories.svelte +0 -38
  487. package/dist/components/MarkdownDisplay.stories.svelte.d.ts +0 -27
  488. package/dist/components/Navbar.stories.svelte +0 -58
  489. package/dist/components/Navbar.stories.svelte.d.ts +0 -27
  490. package/dist/components/NodeStatusOverlay.stories.svelte +0 -85
  491. package/dist/components/NodeStatusOverlay.stories.svelte.d.ts +0 -27
  492. package/dist/components/SchemaForm.stories.svelte +0 -122
  493. package/dist/components/SchemaForm.stories.svelte.d.ts +0 -27
  494. package/dist/components/Select.svelte +0 -53
  495. package/dist/components/Select.svelte.d.ts +0 -15
  496. package/dist/components/StatusIcon.stories.svelte +0 -60
  497. package/dist/components/StatusIcon.stories.svelte.d.ts +0 -27
  498. package/dist/components/StatusLabel.stories.svelte +0 -17
  499. package/dist/components/StatusLabel.stories.svelte.d.ts +0 -27
  500. package/dist/components/ThemeToggle.stories.svelte +0 -25
  501. package/dist/components/ThemeToggle.stories.svelte.d.ts +0 -27
  502. package/dist/components/console/CommandConsole.stories.svelte +0 -111
  503. package/dist/components/console/CommandConsole.stories.svelte.d.ts +0 -27
  504. package/dist/components/form/FormCheckboxGroup.stories.svelte +0 -28
  505. package/dist/components/form/FormCheckboxGroup.stories.svelte.d.ts +0 -27
  506. package/dist/components/form/FormFieldWrapper.stories.svelte +0 -53
  507. package/dist/components/form/FormFieldWrapper.stories.svelte.d.ts +0 -27
  508. package/dist/components/form/FormNumberField.stories.svelte +0 -36
  509. package/dist/components/form/FormNumberField.stories.svelte.d.ts +0 -27
  510. package/dist/components/form/FormRangeField.stories.svelte +0 -31
  511. package/dist/components/form/FormRangeField.stories.svelte.d.ts +0 -27
  512. package/dist/components/form/FormSelect.stories.svelte +0 -50
  513. package/dist/components/form/FormSelect.stories.svelte.d.ts +0 -27
  514. package/dist/components/form/FormTextField.stories.svelte +0 -30
  515. package/dist/components/form/FormTextField.stories.svelte.d.ts +0 -27
  516. package/dist/components/form/FormTextarea.stories.svelte +0 -34
  517. package/dist/components/form/FormTextarea.stories.svelte.d.ts +0 -27
  518. package/dist/components/form/FormToggle.stories.svelte +0 -30
  519. package/dist/components/form/FormToggle.stories.svelte.d.ts +0 -27
  520. package/dist/components/icons/CommandLineIcon.svelte +0 -15
  521. package/dist/components/icons/CommandLineIcon.svelte.d.ts +0 -26
  522. package/dist/components/interrupt/ChoicePrompt.stories.svelte +0 -68
  523. package/dist/components/interrupt/ChoicePrompt.stories.svelte.d.ts +0 -27
  524. package/dist/components/interrupt/ConfirmationPrompt.stories.svelte +0 -71
  525. package/dist/components/interrupt/ConfirmationPrompt.stories.svelte.d.ts +0 -27
  526. package/dist/components/interrupt/ReviewPrompt.stories.svelte +0 -77
  527. package/dist/components/interrupt/ReviewPrompt.stories.svelte.d.ts +0 -27
  528. package/dist/components/interrupt/TextInputPrompt.stories.svelte +0 -51
  529. package/dist/components/interrupt/TextInputPrompt.stories.svelte.d.ts +0 -27
  530. package/dist/components/nodes/CaptionNode.stories.svelte +0 -65
  531. package/dist/components/nodes/CaptionNode.stories.svelte.d.ts +0 -18
  532. package/dist/components/nodes/GatewayNode.stories.svelte +0 -108
  533. package/dist/components/nodes/GatewayNode.stories.svelte.d.ts +0 -26
  534. package/dist/components/nodes/IdeaNode.stories.svelte +0 -52
  535. package/dist/components/nodes/IdeaNode.stories.svelte.d.ts +0 -26
  536. package/dist/components/nodes/NotesNode.stories.svelte +0 -76
  537. package/dist/components/nodes/NotesNode.stories.svelte.d.ts +0 -26
  538. package/dist/components/nodes/SimpleNode.stories.svelte +0 -223
  539. package/dist/components/nodes/SimpleNode.stories.svelte.d.ts +0 -26
  540. package/dist/components/nodes/SquareNode.stories.svelte +0 -127
  541. package/dist/components/nodes/SquareNode.stories.svelte.d.ts +0 -26
  542. package/dist/components/nodes/TerminalNode.stories.svelte +0 -25
  543. package/dist/components/nodes/TerminalNode.stories.svelte.d.ts +0 -26
  544. package/dist/components/nodes/ToolNode.stories.svelte +0 -189
  545. package/dist/components/nodes/ToolNode.stories.svelte.d.ts +0 -26
  546. package/dist/components/nodes/WorkflowNode.stories.svelte +0 -188
  547. package/dist/components/nodes/WorkflowNode.stories.svelte.d.ts +0 -26
  548. package/dist/components/playground/MessageBubble.stories.svelte +0 -151
  549. package/dist/components/playground/MessageBubble.stories.svelte.d.ts +0 -27
  550. package/dist/components/toast/WarningIcon.svelte +0 -28
  551. package/dist/components/toast/WarningIcon.svelte.d.ts +0 -26
  552. package/dist/mocks/app-environment.d.ts +0 -8
  553. package/dist/mocks/app-environment.js +0 -16
  554. package/dist/mocks/app-forms.d.ts +0 -6
  555. package/dist/mocks/app-forms.js +0 -29
  556. package/dist/mocks/app-navigation.d.ts +0 -5
  557. package/dist/mocks/app-navigation.js +0 -36
  558. package/dist/mocks/app-stores.d.ts +0 -14
  559. package/dist/mocks/app-stores.js +0 -26
  560. package/dist/stories/CanvasDecorator.svelte +0 -49
  561. package/dist/stories/CanvasDecorator.svelte.d.ts +0 -8
  562. package/dist/stories/EdgeDecorator.svelte +0 -125
  563. package/dist/stories/EdgeDecorator.svelte.d.ts +0 -17
  564. package/dist/stories/NodeDecorator.svelte +0 -75
  565. package/dist/stories/NodeDecorator.svelte.d.ts +0 -8
  566. package/dist/stories/WebMCPFakeAgent.svelte +0 -229
  567. package/dist/stories/WebMCPFakeAgent.svelte.d.ts +0 -10
  568. package/dist/stories/utils.d.ts +0 -93
  569. package/dist/stories/utils.js +0 -156
  570. package/dist/webmcp/WebMCP.stories.svelte +0 -101
  571. package/dist/webmcp/WebMCP.stories.svelte.d.ts +0 -18
@@ -38,7 +38,16 @@ export const defaultMessages = {
38
38
  deleteItem: ({ n }) => `Delete item ${n}`,
39
39
  moveUp: 'Move up',
40
40
  moveDown: 'Move down',
41
+ // Live announcement after an Alt+Arrow reorder (array rows and interface ports).
42
+ movedTo: ({ name, n, total }) => `${name} moved to position ${n} of ${total}`,
41
43
  delete: 'Delete item',
44
+ rowActions: ({ n }) => `Actions for item ${n}`,
45
+ // An array a sibling field names an item of (`x-item-ref`), e.g. a default branch.
46
+ makeDefault: 'Make default',
47
+ defaultBadge: 'default',
48
+ noDefault: 'No default: the node fails when nothing matches',
49
+ defaultFromInput: 'Default: set by input',
50
+ defaultDangling: ({ name }) => `The default "${name}" matches no item. Make one of the items the default.`,
42
51
  // Boolean rendering inside array items.
43
52
  yes: 'Yes',
44
53
  no: 'No',
@@ -177,6 +186,15 @@ export const defaultMessages = {
177
186
  default: 'Response Submitted'
178
187
  },
179
188
  cancelled: 'Cancelled',
189
+ // The one line an answered prompt folds to.
190
+ resolved: {
191
+ confirmed: ({ value }) => `Confirmed · ${value}`,
192
+ declined: ({ value }) => `Declined · ${value}`,
193
+ chose: ({ value }) => `Chose · ${value}`,
194
+ submitted: 'Submitted',
195
+ submittedValue: ({ value }) => `Submitted · ${value}`,
196
+ by: ({ name }) => `by ${name}`
197
+ },
180
198
  errorRetry: 'Error - Click to Retry',
181
199
  retry: 'Retry',
182
200
  cancel: 'Cancel',
@@ -185,22 +203,45 @@ export const defaultMessages = {
185
203
  }
186
204
  },
187
205
  navigation: {
188
- // Navbar branding (rendered when no consumer overrides via title prop).
206
+ // Product name: the navbar logo's accessible name and title, the fallback alt
207
+ // text of a branded logo, and the page <title>.
189
208
  appName: 'FlowDrop',
190
209
  tagline: 'Visual Workflow Manager',
191
210
  breadcrumbAriaLabel: 'Breadcrumb',
192
211
  connected: 'Connected',
193
212
  settingsTitle: 'Settings',
194
213
  settingsAriaLabel: 'Open settings',
214
+ // The gear menu: an Appearance switch, then the full settings dialog.
215
+ appearance: {
216
+ label: 'Appearance',
217
+ light: 'Light',
218
+ dark: 'Dark',
219
+ // Follow the operating system (no host colour scheme given).
220
+ system: 'System',
221
+ // Hint under the switch when the host's scheme is offered: its name comes
222
+ // from the host (`colorScheme.host.label`), `scheme` is Light or Dark.
223
+ hostHint: ({ label, scheme }) => `${label} · currently ${scheme}`,
224
+ systemHint: ({ scheme }) => `Following your system · currently ${scheme}`,
225
+ allSettings: 'All settings…'
226
+ },
195
227
  // Default primary action labels rendered when no `navbarActions` prop is supplied.
196
228
  save: 'Save',
197
229
  export: 'Export',
198
230
  import: 'Import',
199
231
  workflowSettings: 'Workflow Settings',
232
+ // The ghost button in the navbar that opens the workflow-settings panel.
233
+ workflowButton: 'Workflow',
234
+ workflowButtonTitle: 'Workflow settings',
235
+ // Accessible name of the chevron that opens the Save menu.
236
+ moreActions: 'More actions',
200
237
  // Right-sidebar workflow settings panel (distinct from the navbar action label above).
201
238
  workflowSettingsPanelTitle: 'Workflow Settings',
202
239
  workflowSettingsPanelSubtitle: 'Settings',
240
+ workflowSettingsGeneralTab: 'General',
203
241
  workflowSettingsInterfaceTab: 'Interface',
242
+ workflowSettingsPlaygroundTab: 'Playground',
243
+ // The one muted line under the tabs: "6 nodes · 6 connections".
244
+ workflowCounts: ({ nodes, connections }) => `${nodes} ${nodes === 1 ? 'node' : 'nodes'} · ${connections} ${connections === 1 ? 'connection' : 'connections'}`,
204
245
  nodeConfigDescription: 'Node configuration',
205
246
  closeSettings: 'Close settings',
206
247
  closeConfigModal: 'Close configuration modal',
@@ -209,8 +250,60 @@ export const defaultMessages = {
209
250
  bottomPanel: {
210
251
  console: 'Console',
211
252
  chat: 'AI Assistant'
253
+ },
254
+ // The Edit | Test switch in the canvas toolbar.
255
+ editorMode: {
256
+ label: 'Editor mode',
257
+ edit: 'Edit',
258
+ test: 'Test',
259
+ // Tooltips: the shortcut toggles the mode.
260
+ editTitle: 'Edit the workflow (T)',
261
+ testTitle: 'Test the workflow (T)',
262
+ // Accessible name of the canvas toolbar that holds the switch.
263
+ toolbarLabel: 'Canvas',
264
+ // Title of the dot on Test while a run is going or waiting. Unused since
265
+ // the run pill replaced the dot; kept so existing overrides still type-check.
266
+ runActive: 'A test run is going or waiting'
212
267
  }
213
268
  },
269
+ // The node count (and cycle warning) beside the canvas zoom controls.
270
+ canvasStatus: {
271
+ nodeCount: ({ n }) => `${n} node${n !== 1 ? 's' : ''}`,
272
+ // Title / accessible name of the count: the full tally.
273
+ summary: ({ nodes, edges }) => `${nodes} node${nodes !== 1 ? 's' : ''} · ${edges} connection${edges !== 1 ? 's' : ''}`,
274
+ cycles: 'Cycles detected',
275
+ cyclesTitle: 'The workflow contains a cycle'
276
+ },
277
+ // "Tidy up": the layout sweep from the canvas button, the canvas menu and the node menu.
278
+ tidy: {
279
+ // The canvas button's accessible name, tooltip and the canvas menu entry.
280
+ button: 'Tidy up',
281
+ // Toast after a tidy that changed something. The body lists what improved, joined with " · ".
282
+ done: 'Tidied up',
283
+ straightened: ({ n }) => `${n} wire${n !== 1 ? 's' : ''} straightened`,
284
+ uncrossed: ({ n }) => `${n} crossing${n !== 1 ? 's' : ''} removed`,
285
+ unbackward: ({ n }) => `${n} wire${n !== 1 ? 's' : ''} turned to flow left to right`,
286
+ // `left` is what is still overlapping or too close afterwards (0 or absent: nothing).
287
+ unoverlapped: ({ n, left }) => `${n} overlap${n !== 1 ? 's' : ''} fixed${left ? `, ${left} left` : ''}`,
288
+ spaced: ({ n, left }) => `${n} pair${n !== 1 ? 's' : ''} of cards spaced out${left ? `, ${left} still too close` : ''}`,
289
+ // When something got worse: what it cost, one phrase each, joined with ", " into `tradeOff`.
290
+ moreOverlaps: ({ n }) => `${n} more overlap${n !== 1 ? 's' : ''}`,
291
+ moreSpacing: ({ n }) => `${n} more pair${n !== 1 ? 's' : ''} too close`,
292
+ morePassed: ({ n }) => `${n} more wire${n !== 1 ? 's' : ''} through a port`,
293
+ fewerStraight: ({ n }) => `${n} fewer straight wire${n !== 1 ? 's' : ''}`,
294
+ moreBackward: ({ n }) => `${n} more wire${n !== 1 ? 's' : ''} running right to left`,
295
+ moreCrossings: ({ n }) => `${n} more crossing${n !== 1 ? 's' : ''}`,
296
+ tradeOff: ({ what }) => `but ${what}`,
297
+ // Toast title when Tidy up refuses the graph (too many nodes).
298
+ tooLarge: 'Too many nodes to tidy at once',
299
+ unpassed: ({ n }) => `${n} wire${n !== 1 ? 's' : ''} no longer run${n !== 1 ? '' : 's'} through a port`,
300
+ undo: 'Undo',
301
+ // Toast when nothing would improve: nothing moved.
302
+ alreadyTidy: 'Layout is already tidy',
303
+ alreadyTidyBody: 'Nothing would improve, so nothing moved.',
304
+ nodeAlreadyTidy: 'Node is already tidy',
305
+ nodesAlreadyTidy: 'Nodes are already tidy'
306
+ },
214
307
  contextMenu: {
215
308
  // aria-label of the canvas context menu.
216
309
  menuLabel: 'Canvas actions',
@@ -219,30 +312,219 @@ export const defaultMessages = {
219
312
  deleteNodes: ({ n }) => `Delete ${n} node${n !== 1 ? 's' : ''}`,
220
313
  addCaption: 'Add caption',
221
314
  editText: 'Edit text',
222
- // Key hints shown beside an entry; plain words so they read on any platform.
223
- shortcutEnter: 'Enter',
224
- shortcutDelete: 'Delete'
315
+ duplicate: 'Duplicate',
316
+ swap: 'Swap node',
317
+ // Tidies the node(s): column, port order, straight wires, free space (`layout node beautify`).
318
+ tidyNode: 'Tidy node',
319
+ tidyNodes: ({ n }) => `Tidy ${n} nodes`,
320
+ // The pane menu's "Tidy up" (the whole graph).
321
+ tidyLayout: 'Tidy up',
322
+ // Hide / show ports of the node(s). These change which ports are exposed (as the Ports
323
+ // form's eye does), they do not just fold the card. The counted form is used when n > 0.
324
+ hideUnconnectedPorts: 'Hide unconnected ports',
325
+ hideUnconnectedPortsCount: ({ n }) => `Hide unconnected ports (${n})`,
326
+ showHiddenPorts: 'Show hidden ports',
327
+ showHiddenPortsCount: ({ n }) => `Show hidden ports (${n})`,
328
+ // A port's menu: wire it to a port on another node, from a picker.
329
+ connectTo: 'Connect to…',
330
+ // A port's menu: publish it in the workflow interface, rename or unpublish it.
331
+ exposeInput: 'Expose as workflow input…',
332
+ exposeOutput: 'Expose as workflow output…',
333
+ renameInterfaceEntry: 'Rename…',
334
+ removeInterfaceEntry: 'Remove from interface',
335
+ // Key hints shown beside an entry, as key glyphs.
336
+ shortcutEnter: '↵',
337
+ shortcutDelete: '⌫',
338
+ shortcutTidyNode: '⇧S',
339
+ shortcutTidyLayout: '⇧⌥T'
340
+ },
341
+ // The "Connect to…" picker opened from a port's menu.
342
+ connectTo: {
343
+ title: ({ port }) => `Connect ${port} to…`,
344
+ searchLabel: 'Search ports',
345
+ searchPlaceholder: 'Search by node, port or type…',
346
+ listLabelInput: 'Input ports to connect to',
347
+ listLabelOutput: 'Output ports to connect from',
348
+ groupCompatible: 'Compatible',
349
+ groupOther: 'Other types',
350
+ // A pair that already has a wire between exactly these two ports.
351
+ connected: 'Connected',
352
+ // An input that already receives a wire; connecting adds another.
353
+ wired: 'Wired',
354
+ noPorts: 'No other node has a port to connect to.',
355
+ noMatches: 'No ports match your search.',
356
+ popoverLabel: 'Connect to a port',
357
+ // Screen-reader text for rows that are only marked visually.
358
+ optionCurrent: 'current',
359
+ optionTaken: 'already taken'
360
+ },
361
+ // The run bar on the Edit canvas: shown only while a run exists.
362
+ runBar: {
363
+ label: 'Run',
364
+ running: 'Running',
365
+ waiting: 'Waiting',
366
+ failed: 'Failed',
367
+ done: 'Done',
368
+ stopped: 'Stopped',
369
+ stop: 'Stop',
370
+ stopLabel: 'Stop the run',
371
+ open: 'Open',
372
+ openLabel: 'Open the run in Test mode',
373
+ askAssistant: 'Ask the Assistant',
374
+ askAssistantLabel: 'Ask the Assistant about this run',
375
+ // Read out politely when the status changes.
376
+ announce: {
377
+ running: 'Run started.',
378
+ waiting: 'Run is waiting for you.',
379
+ failed: 'Run failed.',
380
+ done: 'Run finished.',
381
+ stopped: 'Run stopped.'
382
+ }
383
+ },
384
+ // The Doctor: the Problems indicator in the navbar, its popover and the badges on nodes.
385
+ doctor: {
386
+ trigger: ({ count }) => (count === 1 ? '1 problem' : `${count} problems`),
387
+ triggerTitle: 'Problems found in this workflow',
388
+ title: 'Problems',
389
+ listLabel: 'Problems in this workflow',
390
+ severity: { error: 'Error', warning: 'Warning', info: 'Note' },
391
+ // A node name in a problem row: it selects the node on the canvas.
392
+ selectNode: ({ name }) => `Select ${name} on the canvas`,
393
+ // The node badge's hover text and accessible name.
394
+ badge: ({ severity, count }) => count === 1 ? `${severity}: 1 problem` : `${severity}: ${count} problems`,
395
+ port: ({ port }) => `port ${port}`,
396
+ workflowWide: 'Whole workflow',
397
+ chooseLabel: 'Choose',
398
+ choosePlaceholder: 'Choose\u2026',
399
+ applying: 'Applying\u2026',
400
+ // Destructive remedies ask first, inline.
401
+ confirm: 'This removes something. Apply it?',
402
+ confirmApply: 'Apply',
403
+ confirmCancel: 'Cancel',
404
+ applyLabel: ({ remedy, problem }) => `${remedy}: ${problem}`,
405
+ notice: {
406
+ gone: 'That problem is already gone.',
407
+ changed: 'The workflow changed in the meantime. It was checked again.',
408
+ empty: 'That fix would change nothing.',
409
+ failed: ({ message }) => `The fix could not be applied. ${message}`
410
+ },
411
+ dismissNotice: 'Dismiss'
412
+ },
413
+ // The Runs list in Test mode: a popover from the canvas toolbar.
414
+ runsList: {
415
+ trigger: 'Runs',
416
+ triggerTitle: 'Past runs of this workflow',
417
+ // The trigger while a past run is shown: "Run · Failed · Yesterday 15:54".
418
+ shown: ({ status, time }) => `Run · ${status}${time ? ` · ${time}` : ''}`,
419
+ shownTitle: 'Run shown on the canvas',
420
+ clearShown: 'Stop showing this run',
421
+ title: 'Runs',
422
+ listLabel: 'Runs of this workflow',
423
+ loading: 'Loading runs…',
424
+ loadError: 'Could not load the runs.',
425
+ retry: 'Try again',
426
+ empty: 'No runs yet',
427
+ emptyHint: 'Runs of this workflow show up here.',
428
+ today: 'Today',
429
+ yesterday: 'Yesterday',
430
+ loadMore: 'Load more',
431
+ loadingMore: 'Loading…',
432
+ openAdmin: 'Open in admin',
433
+ openAdminRun: 'Open this run in admin',
434
+ // A row is a button: its name says what it opens.
435
+ openRun: ({ id, status, time }) => `Show run ${id} (${status}${time ? `, ${time}` : ''}) on the canvas`,
436
+ rerun: 'Re-run',
437
+ rerunLabel: ({ id }) => `Re-run run ${id}`,
438
+ cancel: 'Cancel',
439
+ cancelLabel: ({ id }) => `Cancel run ${id}`,
440
+ actionFailed: 'The action failed.',
441
+ status: {
442
+ pending: 'Queued',
443
+ running: 'Running',
444
+ paused: 'Paused',
445
+ interrupted: 'Waiting',
446
+ completed: 'Done',
447
+ failed: 'Failed',
448
+ cancelled: 'Cancelled'
449
+ },
450
+ jobsFailed: ({ n }) => `${n} failed`
451
+ },
452
+ // The inspector tabs of a node in Test mode, and the Last run tab.
453
+ nodeInspector: {
454
+ tabsLabel: 'Node tabs',
455
+ config: 'Config',
456
+ ports: 'Ports',
457
+ execution: 'Execution',
458
+ lastRun: 'Last run',
459
+ notRun: 'This node has not run in the run you are viewing.',
460
+ running: 'Running now…',
461
+ waiting: 'Waiting for a decision in the conversation.',
462
+ noRunShown: 'No run to show yet. Send a message or run the workflow.',
463
+ status: 'Status',
464
+ duration: 'Duration',
465
+ started: 'Started',
466
+ finished: 'Finished',
467
+ tokens: 'Tokens',
468
+ input: 'Input',
469
+ output: 'Output',
470
+ error: 'Error',
471
+ executions: ({ n }) => `Ran ${n} times in this run. Showing the last.`,
472
+ expand: 'Show all',
473
+ collapse: 'Show less',
474
+ askAssistant: 'Ask the Assistant about this run',
475
+ statuses: {
476
+ idle: 'Idle',
477
+ pending: 'Pending',
478
+ running: 'Running',
479
+ completed: 'Completed',
480
+ failed: 'Failed',
481
+ cancelled: 'Cancelled',
482
+ skipped: 'Skipped',
483
+ paused: 'Paused',
484
+ interrupted: 'Waiting'
485
+ }
225
486
  },
226
487
  layout: {
227
488
  // Sidebar/main-region landmarks.
228
489
  componentsSidebar: 'Components sidebar',
490
+ // Edit mode's left slot: Nodes | Assistant.
491
+ nodesTab: 'Nodes',
229
492
  workflowCanvas: 'Workflow canvas',
230
493
  executionLogs: 'Execution logs sidebar',
231
494
  settingsCategories: 'Settings categories',
495
+ zoomLevelsTitle: 'Zoom levels',
496
+ zoomLevelsHelp: 'Draw simpler nodes as you zoom out. The full node shows above the first level that is on.',
232
497
  searchComponents: 'Search components',
233
498
  commandConsole: 'Command Console (`)',
499
+ // The slim strip along the canvas's bottom edge that opens the Console.
500
+ consoleStrip: 'Console',
501
+ consoleStripHint: 'Press ` to toggle the Console',
502
+ consoleExamplesLabel: 'Try',
234
503
  backToConfiguration: 'Back to configuration',
235
504
  // Resize handle labels — keyboard users tab to these.
236
505
  resizeLeftSidebar: 'Resize left sidebar',
237
506
  resizeRightSidebar: 'Resize right sidebar',
507
+ resizeWorkflowSheet: 'Resize workflow settings',
238
508
  resizeBottomPanel: 'Resize bottom panel',
239
509
  expandSidebar: 'Expand sidebar',
240
510
  collapseSidebar: 'Collapse sidebar',
511
+ // Test mode on a narrow screen: the Playground is a drawer over the canvas.
512
+ showPlayground: 'Show Playground',
513
+ hidePlayground: 'Hide Playground',
514
+ // Test mode: the node library as a popover (N).
515
+ nodeLibrary: 'Node library',
241
516
  closePlaygroundModal: 'Close playground modal',
242
517
  closeLogsSidebar: 'Close logs sidebar',
243
518
  closeConfigPanel: 'Close panel',
244
519
  closeConsole: 'Close console',
245
520
  swapNode: 'Swap node',
521
+ swapNodeTitle: 'Swap node type',
522
+ popOutConfig: 'Pop out configuration',
523
+ popOutConfigTitle: 'Pop out to a larger window',
524
+ dockConfig: 'Dock configuration back to sidebar',
525
+ dockConfigTitle: 'Dock back to sidebar',
526
+ dockConfigButton: 'Dock back to sidebar',
527
+ configPoppedOut: 'Configuration is open in a larger window.',
246
528
  backToNodeSelection: 'Back to node selection',
247
529
  loadSession: ({ name }) => `Load session: ${name}`
248
530
  },
@@ -252,21 +534,105 @@ export const defaultMessages = {
252
534
  requiresBackend: 'AI Assistant requires backend configuration',
253
535
  loadWorkflow: 'Load a workflow to start chatting',
254
536
  helpBuild: 'Ask the AI to help build your workflow',
255
- placeholder: 'Describe what you want to build...',
537
+ // Empty-state shortcuts: the chip label is also the prompt sent.
538
+ suggestionsLabel: 'Suggestions',
539
+ suggestions: ['Explain this workflow', 'Add error handling', 'Summarise what this does'],
540
+ placeholder: 'Describe a change…',
256
541
  send: 'Send message',
542
+ // The run attached to the Assistant, above the composer.
543
+ attach: {
544
+ add: 'Attach a run',
545
+ chipLabel: 'Attached run',
546
+ detach: 'Remove the attached run',
547
+ listLabel: 'Runs of this test session',
548
+ empty: 'No runs yet. Run the workflow in Test mode first.',
549
+ unavailable: 'This server does not list runs.',
550
+ run: ({ id }) => `Run #${id}`,
551
+ failed: 'failed',
552
+ stale: 'older version',
553
+ staleTitle: 'The workflow has changed since this run.',
554
+ statuses: {
555
+ pending: 'running',
556
+ running: 'running',
557
+ waiting: 'waiting',
558
+ interrupted: 'waiting',
559
+ done: 'done',
560
+ completed: 'done',
561
+ failed: 'failed',
562
+ stopped: 'stopped',
563
+ cancelled: 'stopped',
564
+ unknown: 'unknown'
565
+ }
566
+ },
257
567
  autoRetry: ({ attempt, max }) => `Auto-retrying (attempt ${attempt}/${max})…`,
258
568
  // Tool-calling turns (tools mode).
259
569
  tools: {
260
- /** Status line while a read tool runs: `Reading: describe_type http_request`. */
570
+ /** A tool's label while it runs and once it is done, by tool id. */
571
+ verbs: {
572
+ list_nodes: { running: 'Reading workflow', done: 'Read workflow' },
573
+ list_edges: { running: 'Reading connections', done: 'Read connections' },
574
+ list_types: { running: 'Listing node types', done: 'Listed node types' },
575
+ describe_type: { running: 'Reading node type', done: 'Read node type' },
576
+ search_types: { running: 'Searching node types', done: 'Searched node types' },
577
+ get_config: { running: 'Reading config', done: 'Read config' },
578
+ info: { running: 'Reading workflow info', done: 'Read workflow info' },
579
+ view: { running: 'Viewing', done: 'Viewed' },
580
+ add_node: { running: 'Adding node', done: 'Added node' },
581
+ delete_node: { running: 'Deleting node', done: 'Deleted node' },
582
+ rename_node: { running: 'Renaming node', done: 'Renamed node' },
583
+ move_node: { running: 'Moving node', done: 'Moved node' },
584
+ swap_node: { running: 'Swapping node', done: 'Swapped node' },
585
+ set_config: { running: 'Setting config', done: 'Set config' },
586
+ connect: { running: 'Connecting', done: 'Connected' },
587
+ disconnect_ports: { running: 'Disconnecting', done: 'Disconnected' },
588
+ disconnect_node: { running: 'Disconnecting', done: 'Disconnected' },
589
+ undo: { running: 'Undoing', done: 'Undid' },
590
+ redo: { running: 'Redoing', done: 'Redid' },
591
+ auto_layout: { running: 'Arranging layout', done: 'Arranged layout' },
592
+ beautify_layout: { running: 'Tidying layout', done: 'Tidied layout' },
593
+ inspect_node_layout: { running: 'Inspecting layout', done: 'Inspected layout' },
594
+ beautify_node: { running: 'Tidying node', done: 'Tidied node' },
595
+ batch: { running: 'Applying changes', done: 'Applied changes' },
596
+ save: { running: 'Saving', done: 'Saved' },
597
+ run: { running: 'Starting run', done: 'Started run' },
598
+ run_status: { running: 'Checking run', done: 'Checked run' }
599
+ },
600
+ /** A tool with no label of its own. */
601
+ verbFallback: ({ tool, phase }) => phase === 'running' ? `Running ${tool}` : `Ran ${tool}`,
602
+ /**
603
+ * @deprecated Not used since the step rows (`verbs`, `used`); kept so 2.11.0 overrides
604
+ * keep type-checking. Removed in 3.0.
605
+ */
261
606
  reading: ({ tool, detail }) => detail ? `Reading: ${tool} ${detail}` : `Reading: ${tool}`,
262
- awaitingApproval: ({ tool }) => `Waiting for your approval: ${tool}`,
263
- /** Title of the approval dialog when the assistant, not a browser agent, asks. */
264
- confirmTitle: ({ name }) => `The assistant wants to change “${name}”`,
265
- /** A read that completed: `Read: describe_type http_request`. */
607
+ /** @deprecated Not used (see `reading`). Removed in 3.0. */
266
608
  read: ({ tool, detail }) => detail ? `Read: ${tool} ${detail}` : `Read: ${tool}`,
609
+ /** @deprecated Not used (see `reading`). Removed in 3.0. */
267
610
  applied: ({ tool, detail }) => detail ? `Applied: ${detail}` : `Done: ${tool}`,
268
- rejected: ({ tool }) => `You rejected: ${tool}`,
269
- failed: ({ tool, error }) => `${tool} failed: ${error}`,
611
+ /** The row while the reply is still coming. */
612
+ thinking: 'Thinking…',
613
+ /**
614
+ * The row of a call that waits on the person; the call's own label follows it.
615
+ * A 2.11.0 override written as `({ tool }) => string` is still honoured (deprecated; 3.0
616
+ * takes strings only).
617
+ */
618
+ awaitingApproval: 'Waiting for your approval',
619
+ /** Title of the approval dialog when the assistant, not a browser agent, asks. */
620
+ confirmTitle: ({ name }) => `The assistant wants to change “${name}”`,
621
+ /**
622
+ * A call the person turned down; its action follows. A 2.11.0 override written as
623
+ * `({ tool }) => string` is still honoured (deprecated; 3.0 takes strings only).
624
+ */
625
+ rejected: 'Rejected',
626
+ /** A call that failed: `Adding node failed`, the error follows. */
627
+ failed: ({ action }) => `${action} failed`,
628
+ /** The fold of a finished turn: `Used 4 tools · 1.6 s`, `Used 4 tools · 1 failed · 1.6 s`. */
629
+ used: ({ count, problems, duration }) => [
630
+ `Used ${count} ${count === 1 ? 'tool' : 'tools'}`,
631
+ problems > 0 ? `${problems} failed` : '',
632
+ duration
633
+ ]
634
+ .filter(Boolean)
635
+ .join(' · '),
270
636
  rounds: ({ count }) => `${count} ${count === 1 ? 'tool round' : 'tool rounds'}`,
271
637
  legacyFallback: 'This backend does not support tool-calling turns; using the text mode for this session.',
272
638
  aborted: ({ reason }) => `Stopped: ${reason}`,
@@ -291,11 +657,28 @@ export const defaultMessages = {
291
657
  placeholder: 'Type your message...',
292
658
  predefinedRun: 'Run workflow'
293
659
  },
660
+ // Shown when the workflow's Playground settings bind no chat (and no
661
+ // deprecated interface `turn` does): the form or Run still work.
662
+ chatNotSetUp: 'No chat yet. Pick the input the message goes to in Playground settings.',
663
+ // Shown when a message input is bound but no reply is: the run completes
664
+ // and nothing prints.
665
+ chatHalfSet: 'Nothing will reply here. Pick the results that print as replies in Playground settings.',
294
666
  // The form a workflow's interface inputs render as (inputs without a chat
295
667
  // turn; the session fills the others).
296
668
  inputForm: {
297
- title: 'Workflow inputs',
298
- missingRequired: ({ names }) => `Fill in the required inputs: ${names}`
669
+ title: 'Inputs',
670
+ fillFromLast: 'Fill from last run',
671
+ fillFromLastTitle: 'Fill the inputs with what the last run was started with',
672
+ runsTitle: 'Earlier runs',
673
+ runsLabel: 'Earlier runs of this session',
674
+ useRun: ({ summary }) => `Fill the inputs with: ${summary}`,
675
+ folded: 'Inputs',
676
+ foldedCount: ({ filled, total }) => `${filled} of ${total} filled`,
677
+ foldedShow: 'Show the inputs',
678
+ foldedHide: 'Hide the inputs',
679
+ jsonHint: 'JSON',
680
+ missingRequired: ({ names }) => `Fill in the required inputs: ${names}`,
681
+ invalidJson: ({ names }) => `Not valid JSON for its type: ${names}`
299
682
  },
300
683
  states: {
301
684
  newSessionTitle: 'New session',
@@ -366,8 +749,24 @@ export const defaultMessages = {
366
749
  send: 'Send',
367
750
  runTitle: 'Run workflow',
368
751
  runWaitingTitle: 'Waiting for workflow to be ready...',
369
- run: 'Run'
752
+ run: 'Run',
753
+ // The editor's Playground while the workflow has unsaved edits: the
754
+ // action saves first, then goes.
755
+ saveAndSend: 'Save & send',
756
+ saveAndSendTitle: 'Save the workflow, then send the message',
757
+ // Under the composer while the workflow has unsaved edits.
758
+ saveFirstHint: 'Unsaved edits: sending saves the workflow first.',
759
+ saveAndRun: 'Save & run',
760
+ saveAndRunTitle: 'Save the workflow, then run it',
761
+ saving: 'Saving…'
370
762
  },
763
+ // Shown in the conversation where the workflow was saved (a new version).
764
+ versionDivider: 'Saved — new version',
765
+ // Save & send, when the save did not happen: nothing is sent.
766
+ saveFailed: ({ message }) => `Not sent: the workflow was not saved. ${message}`,
767
+ saveNotDone: 'Not sent: the workflow was not saved.',
768
+ // A run or test session needs a saved workflow and there is none yet.
769
+ saveFirst: 'Save the workflow first: a test session needs a saved workflow.',
371
770
  // Message author labels.
372
771
  roles: {
373
772
  you: 'You',
@@ -386,13 +785,42 @@ export const defaultMessages = {
386
785
  interrupt: 'Interrupt',
387
786
  postedBy: ({ origin }) => `Posted by: ${origin}`
388
787
  },
389
- // Collapsible run of adjacent log lines.
788
+ /** @deprecated Unused since the steps row; log lines fold into `steps`. */
390
789
  logGroup: {
391
790
  summary: ({ count }) => `${count} log lines`
392
791
  },
792
+ // One row per turn that folds the node steps: "4 steps · 46 ms · 1 waiting".
793
+ steps: {
794
+ summary: ({ count }) => `${count} ${count === 1 ? 'step' : 'steps'}`,
795
+ waiting: ({ count }) => `${count} waiting`,
796
+ failed: ({ count }) => `${count} failed`,
797
+ tableLabel: 'Steps of this turn',
798
+ columnNode: 'Node',
799
+ columnStatus: 'Status',
800
+ columnCount: 'Runs',
801
+ columnDuration: 'Time',
802
+ repeated: ({ count }) => `Ran ${count} times`,
803
+ pendingNode: 'Waiting for input',
804
+ // Short names for the table's status column (the pill's own are long).
805
+ status: {
806
+ running: 'Running',
807
+ completed: 'Done',
808
+ waiting: 'Waiting',
809
+ failed: 'Failed',
810
+ skipped: 'Skipped'
811
+ }
812
+ },
813
+ // A turn the person started without typing (Run on a form or run-only
814
+ // workflow): what its otherwise empty bubble says instead.
815
+ emptyTurn: {
816
+ run: 'Started a run',
817
+ withInputs: ({ names }) => `Ran with ${names}`
818
+ },
393
819
  messageTooltips: {
394
820
  nodeId: ({ id }) => `Node ID: ${id}`,
395
- executionDuration: 'Execution duration'
821
+ executionDuration: 'Execution duration',
822
+ // The node link above a reply: jumps to the node on request.
823
+ showNodeLastRun: ({ label }) => `Show ${label} and its last run`
396
824
  },
397
825
  // ARIA labels for message annotations. The hierarchy trail names the
398
826
  // actual path so AT users hear "From: ForEach Loop / Greeter" rather
@@ -414,13 +842,47 @@ export const defaultMessages = {
414
842
  daysAgo: ({ n }) => `${n}d ago`
415
843
  },
416
844
  executionConsole: {
845
+ /** @deprecated The console no longer draws a header row. */
417
846
  header: 'Execution',
418
847
  noExecutionTitle: 'No execution yet',
419
848
  noExecutionText: 'Create or select a session below, then run your workflow to see execution output here.',
849
+ /** @deprecated The "Ready to run" state is gone; an empty session shows nothing. */
420
850
  readyTitle: 'Ready to run',
851
+ /** @deprecated See `readyTitle`. */
421
852
  readyText: 'Use the controls below to start the workflow. Output and interactive prompts will appear here.',
422
853
  newSession: 'New session'
423
854
  },
855
+ // The docked Playground's header (Test mode): the history chip and the
856
+ // overflow menu. One line under each action says when it is needed.
857
+ header: {
858
+ history: 'Conversation and run history',
859
+ noConversation: 'New conversation',
860
+ conversations: 'Conversations',
861
+ runs: 'Runs',
862
+ newConversation: 'New conversation',
863
+ newConversationHint: 'The current one stays on the sessions page',
864
+ noRuns: 'No runs yet',
865
+ noRunsHint: 'Send a message or press Run to make one',
866
+ run: ({ number }) => `Run ${number}`,
867
+ staleRun: 'older version',
868
+ currentRun: 'shown',
869
+ moreActions: 'More actions',
870
+ showSteps: 'Expand steps by default',
871
+ showStepsHint: 'Each turn shows its steps open instead of one folded row',
872
+ jsonView: 'JSON view',
873
+ jsonViewHint: 'Edit the inputs as JSON',
874
+ refresh: 'Refresh',
875
+ refreshHint: 'If a run looks stuck. It also refreshes on focus.',
876
+ reset: 'Reset stuck session',
877
+ resetHint: "Clears the session's state when a run cannot continue",
878
+ playgroundSettings: 'Playground settings',
879
+ playgroundSettingsHint: 'What the chat fills and what it prints'
880
+ },
881
+ jsonInput: {
882
+ label: 'Inputs as JSON',
883
+ invalid: 'Not valid JSON: the form keeps its last good values.',
884
+ notObject: 'The inputs must be a JSON object.'
885
+ },
424
886
  controlPanel: {
425
887
  sessionsLabel: 'Session',
426
888
  noSession: 'No session',
@@ -431,6 +893,8 @@ export const defaultMessages = {
431
893
  hidePipeline: 'Hide pipeline',
432
894
  refresh: 'Refresh',
433
895
  refreshTitle: 'Refresh status',
896
+ // No longer shown (the docked header's menu has `header.playgroundSettings`); kept so host overrides still type-check.
897
+ openPlaygroundSettings: 'Playground settings',
434
898
  logs: 'Logs',
435
899
  showLogs: 'Show log messages',
436
900
  hideLogs: 'Hide log messages',
@@ -439,6 +903,10 @@ export const defaultMessages = {
439
903
  }
440
904
  },
441
905
  nodes: {
906
+ // Tooltip and accessible name of the gear on a node card.
907
+ configure: 'Configure node',
908
+ configureTool: 'Configure tool',
909
+ configureIdea: 'Configure idea',
442
910
  notes: {
443
911
  placeholder: 'Add your notes here...',
444
912
  types: {
@@ -467,7 +935,13 @@ export const defaultMessages = {
467
935
  ideaNode: ({ title }) => `Idea node: ${title}`,
468
936
  connectInputPort: ({ name }) => `Connect to ${name} input port`,
469
937
  connectOutputPort: ({ name }) => `Connect from ${name} output port`,
470
- connectBranch: ({ name }) => `Connect from ${name} branch`
938
+ connectBranch: ({ name }) => `Connect from ${name} branch`,
939
+ // Node card tooltips: the title popover and the port tooltips.
940
+ portRequired: 'Required',
941
+ execIn: 'Runs when the previous node completes',
942
+ execOut: 'Fires when this node completes',
943
+ configureHint: 'Double-click to configure',
944
+ publishedAs: ({ name }) => `Published as: ${name}`
471
945
  }
472
946
  },
473
947
  status: {
@@ -486,20 +960,45 @@ export const defaultMessages = {
486
960
  // resolved status label (typically from `getStatusLabel()` so it stays
487
961
  // consistent with status icons elsewhere); the wrapper text is localized.
488
962
  overlay: {
489
- tooltip: ({ status, count }) => `${status} - Executed ${count} times`,
963
+ tooltip: ({ status }) => status,
490
964
  ariaLabel: ({ status }) => `Node execution status: ${status}`,
491
- statusLabel: 'Status:',
492
- executionsLabel: 'Executions:',
493
- lastRunLabel: 'Last Run:',
494
- durationLabel: 'Duration:',
495
- errorLabel: 'Error:',
496
- historyLabel: 'Runs:'
965
+ // Hover detail on the status pill: how many runs sit behind it.
966
+ runs: ({ count }) => `${count} runs`,
967
+ edited: 'edited',
968
+ editedTooltip: 'Changed since this run started. The result may be out of date.'
497
969
  }
498
970
  },
499
971
  // WorkflowInterfaceEditor — the canonical panel for authoring a workflow's
500
972
  // public contract (`Workflow.interface`). See `.claude/plans/workflow-interface.md`.
501
973
  workflowInterface: {
974
+ // The tag drawn beside a published port, on the canvas and in the Ports tab.
975
+ tagAria: ({ id, type, direction }) => `Workflow ${direction} ${id}, ${type}`,
976
+ tagTitle: ({ id, type }) => `${id} · ${type}`,
977
+ // The popover on a hovered tag: what the name means and where it goes.
978
+ tagTipInput: 'Workflow input',
979
+ tagTipOutput: 'Workflow output',
980
+ tagTipReserved: 'Trigger event',
981
+ tagTipInputBody: ({ port, node }) => `Whoever runs this workflow (the API, a Run workflow node, an agent or the Playground) passes a value under this name. It fills ${port} on ${node}.`,
982
+ tagTipOutputBody: ({ port, node }) => `Whoever runs this workflow gets ${port} from ${node} back under this name.`,
983
+ tagTipReservedBody: 'Holds what happened when this trigger fires: the event fills this input and the run starts here. Callers cannot see or supply it.',
984
+ tagTipRequired: 'Required',
985
+ tagTipMismatch: ({ declared, port }) => `Declared ${declared}, but the port is ${port}`,
986
+ tagTipEditHint: 'Double-click to rename · right-click for more',
987
+ tagTipReservedHint: 'Derived from the trigger node · read-only',
988
+ // The read-only tag beside a trigger's event input (derived, MAN-26).
989
+ reservedTagAria: ({ id, type }) => `Trigger event input ${id}, ${type}, read-only`,
990
+ tagNameLabel: 'Interface name',
991
+ tagNameHint: 'Enter saves · Esc cancels',
992
+ tagIdEmpty: 'Give it a name.',
993
+ tagIdDuplicate: ({ id, direction }) => `A workflow ${direction} named "${id}" already exists.`,
994
+ exposeInputPort: ({ port }) => `Expose ${port} as workflow input…`,
995
+ exposeOutputPort: ({ port }) => `Expose ${port} as workflow output…`,
996
+ renameTag: ({ id }) => `Rename interface entry "${id}"`,
997
+ removeTag: ({ id }) => `Remove "${id}" from the interface`,
998
+ portActions: ({ port }) => `Interface actions for ${port}`,
502
999
  inputsHeading: 'Inputs',
1000
+ reservedInputsHeading: 'Trigger events',
1001
+ reservedInputsHint: 'Each trigger fills its own event input when it fires. Derived from the trigger nodes; callers cannot supply them.',
503
1002
  outputsHeading: 'Outputs',
504
1003
  addInput: 'Add input',
505
1004
  addOutput: 'Add output',
@@ -528,10 +1027,21 @@ export const defaultMessages = {
528
1027
  pullFromPort: 'Pull from port',
529
1028
  pullFromPortTitle: "Fill name, data type, description, required and default from the bound port's own declaration",
530
1029
  removeEntry: ({ id }) => `Remove interface entry "${id}"`,
1030
+ // The row's overflow menu: its accessible name and the short item labels.
1031
+ entryActions: ({ id }) => `Actions for "${id}"`,
1032
+ menuMoveUp: 'Move up',
1033
+ menuMoveDown: 'Move down',
1034
+ menuRemove: 'Remove',
531
1035
  moveUp: ({ id }) => `Move "${id}" up`,
532
1036
  moveDown: ({ id }) => `Move "${id}" down`,
533
1037
  metaDisclosure: 'Server metadata (read-only)',
534
- // The Chat turn selector: what a port is for in a chat turn (`turn`).
1038
+ // A port's chat `turn`: deprecated since 2.11.0. With Playground settings
1039
+ // (a server from FlowDrop 2.7.0 on) it is read-only and the chat is set up
1040
+ // in the Playground settings tab. Without them, the Chat turn selector
1041
+ // (`turnLabel`, `turnNone`, `turnDescriptions`, `turnUnknown`,
1042
+ // `historyLimitLabel`, `historyLimitPlaceholder`) is still offered, until 3.0.
1043
+ turnDeprecated: ({ turn, limit }) => `Chat turn "${turn}"${limit !== undefined ? ` (${limit} messages)` : ''} is deprecated: the chat is set up in the Playground settings now.`,
1044
+ turnOpenPlayground: 'Open Playground settings',
535
1045
  turnLabel: 'Chat turn',
536
1046
  turnNone: 'None',
537
1047
  turns: {
@@ -549,7 +1059,7 @@ export const defaultMessages = {
549
1059
  reply: "Text the session saves as the assistant's answer"
550
1060
  },
551
1061
  turnUnknown: ({ value }) => `${value} (not known to this editor)`,
552
- turnTakenInline: ({ id }) => `Input "${id}" already has this chat turn. A workflow takes one input per turn value.`,
1062
+ turnTakenInline: ({ id }) => `Input "${id}" already has this chat turn, so this one does not count.`,
553
1063
  historyLimitLabel: 'Messages to include',
554
1064
  historyLimitPlaceholder: ({ limit }) => `${limit} (default)`,
555
1065
  // The inline composer that opens from "Add input" / "Add output".
@@ -576,8 +1086,62 @@ export const defaultMessages = {
576
1086
  composerBack: 'Back',
577
1087
  composerCancel: 'Cancel'
578
1088
  },
1089
+ // The workflow's Playground settings tab: its chat binding (`workflow.playground`).
1090
+ playgroundSettings: {
1091
+ notSetUpTitle: 'Not set up',
1092
+ notSetUp: 'No chat until someone sets it up. The Playground shows a form built from the interface inputs. To chat with this workflow, pick the input the message goes to and the results that print as replies.',
1093
+ turnSource: 'This workflow chats through "Chat turn" marks on its interface, which are deprecated. The fields below show what they set up. Move them here to keep the chat as it is; changing any field moves them too.',
1094
+ moveTurns: 'Move them here',
1095
+ leftoverTurns: 'The interface still carries deprecated "Chat turn" marks. They are ignored while these settings are set.',
1096
+ removeTurns: 'Remove them',
1097
+ noInputs: 'The workflow interface has no inputs yet. Add one on the Interface tab first.',
1098
+ messageLabel: 'Message goes to',
1099
+ messageNone: 'Nothing (form only)',
1100
+ messageHint: 'The input that receives what the person types in the chat.',
1101
+ historyLabel: 'History goes to',
1102
+ historyLimitLabel: 'Messages',
1103
+ inputNone: 'Nothing',
1104
+ inputMissing: ({ id }) => `${id} (not on the interface)`,
1105
+ idsDisclosure: 'Session and message IDs',
1106
+ sessionIdLabel: 'Session ID goes to',
1107
+ messageIdLabel: 'Message ID goes to',
1108
+ repliesLabel: 'Print as replies',
1109
+ repliesNone: 'No node has an exposed output port yet.',
1110
+ subWorkflowReplies: 'Also print what sub-workflows reply',
1111
+ halfSet: 'Nothing will print. The run completes and the chat stays silent. Pick at least one reply.',
1112
+ savedWith: 'Set for this workflow and saved with it when you press Save.',
1113
+ historyLimitInvalid: 'A whole number, 1 or more.',
1114
+ /** Problems with the binding, by issue code (`playgroundChatIssues`). */
1115
+ issues: {
1116
+ inputMissing: ({ field, id }) => `${field}: the input "${id}" is not on the workflow interface.`,
1117
+ inputDuplicate: ({ field, id, other }) => `${field}: the input "${id}" is already picked under "${other}".`,
1118
+ replyNodeMissing: ({ reply }) => `The reply "${reply}" is on a node that is no longer in the workflow.`,
1119
+ replyPortMissing: ({ reply }) => `The reply "${reply}" is on an output the node no longer has.`
1120
+ }
1121
+ },
579
1122
  // The confirm dialog the WebMCP adapter shows before a browser agent's change runs.
580
1123
  webmcp: {
1124
+ // The desktop bridge: a button beside the canvas zoom controls and its popover, for a
1125
+ // browser without WebMCP of its own. Offered only when the site turned the bridge on.
1126
+ bridge: {
1127
+ trigger: 'Desktop bridge',
1128
+ // Hover text of the button: the name and where the connection stands.
1129
+ triggerTitle: ({ status }) => `Desktop bridge: ${status}`,
1130
+ title: 'Desktop bridge',
1131
+ explainer: 'Lets an AI app on this computer see and edit this workflow.',
1132
+ status: {
1133
+ disconnected: 'Not connected',
1134
+ connecting: 'Connecting\u2026',
1135
+ connected: 'Connected',
1136
+ error: 'Connection failed'
1137
+ },
1138
+ tokenLabel: 'Connection token',
1139
+ tokenPlaceholder: 'Paste the token from the bridge',
1140
+ connect: 'Connect',
1141
+ disconnect: 'Disconnect',
1142
+ toolsOffered: ({ count }) => count === 1 ? '1 tool offered' : `${count} tools offered`,
1143
+ toolsLabel: 'Tools offered to the connected app'
1144
+ },
581
1145
  confirmTitle: ({ name }) => `A browser agent wants to change “${name}”`,
582
1146
  confirmCount: ({ count }) => `${count === 1 ? '1 change' : `${count} changes`} — applied together, undone together.`,
583
1147
  reject: 'Reject',
@@ -596,5 +1160,40 @@ export const defaultMessages = {
596
1160
  /** `{count} changes — adds 2 nodes, connects 1 edge. Applied together, undone together.` */
597
1161
  batchSummary: ({ count, parts }) => `${count} changes — ${parts}. Applied together, undone together.`,
598
1162
  rememberEdits: 'Apply further edits from any agent on this page without asking, until this page is closed'
1163
+ },
1164
+ // Design-system primitives (components/primitives). Defaults only; every
1165
+ // primitive also accepts the visible text as a prop.
1166
+ statusPill: {
1167
+ running: 'Running',
1168
+ completed: 'Completed',
1169
+ waiting: 'Waiting for you',
1170
+ failed: 'Failed',
1171
+ skipped: 'Skipped'
1172
+ },
1173
+ composer: {
1174
+ placeholder: 'Type a message',
1175
+ send: 'Send',
1176
+ stop: 'Stop',
1177
+ attach: 'Attach'
1178
+ },
1179
+ notice: {
1180
+ dismiss: 'Dismiss'
1181
+ },
1182
+ field: {
1183
+ required: 'required',
1184
+ examples: 'Examples'
1185
+ },
1186
+ menu: {
1187
+ moreActions: 'More actions'
1188
+ },
1189
+ // The searchable rendering of the Select primitive (long or grouped lists).
1190
+ select: {
1191
+ searchPlaceholder: 'Search…',
1192
+ noMatches: 'No matches',
1193
+ // "3 of 42" — what the filter leaves, out of everything listed.
1194
+ count: ({ shown, total }) => `${shown} of ${total}`,
1195
+ hintMove: 'move',
1196
+ hintChoose: 'choose',
1197
+ hintClose: 'close'
599
1198
  }
600
1199
  };