@foresthubai/workflow-builder 0.3.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 (496) hide show
  1. package/LICENSE +661 -0
  2. package/NOTICE +16 -0
  3. package/README.md +93 -0
  4. package/dist/BuilderLayout.d.ts +34 -0
  5. package/dist/BuilderLayout.d.ts.map +1 -0
  6. package/dist/BuilderLayout.js +172 -0
  7. package/dist/BuilderLayout.js.map +1 -0
  8. package/dist/Canvas.d.ts +23 -0
  9. package/dist/Canvas.d.ts.map +1 -0
  10. package/dist/Canvas.js +141 -0
  11. package/dist/Canvas.js.map +1 -0
  12. package/dist/CanvasEditor.d.ts +46 -0
  13. package/dist/CanvasEditor.d.ts.map +1 -0
  14. package/dist/CanvasEditor.js +57 -0
  15. package/dist/CanvasEditor.js.map +1 -0
  16. package/dist/CanvasTabsToolbar.d.ts +11 -0
  17. package/dist/CanvasTabsToolbar.d.ts.map +1 -0
  18. package/dist/CanvasTabsToolbar.js +101 -0
  19. package/dist/CanvasTabsToolbar.js.map +1 -0
  20. package/dist/RightConfigPanel.d.ts +27 -0
  21. package/dist/RightConfigPanel.d.ts.map +1 -0
  22. package/dist/RightConfigPanel.js +102 -0
  23. package/dist/RightConfigPanel.js.map +1 -0
  24. package/dist/WorkflowBuilder.d.ts +62 -0
  25. package/dist/WorkflowBuilder.d.ts.map +1 -0
  26. package/dist/WorkflowBuilder.js +275 -0
  27. package/dist/WorkflowBuilder.js.map +1 -0
  28. package/dist/cn.d.ts +3 -0
  29. package/dist/cn.d.ts.map +1 -0
  30. package/dist/cn.js +6 -0
  31. package/dist/cn.js.map +1 -0
  32. package/dist/components/ui/add-button.d.ts +16 -0
  33. package/dist/components/ui/add-button.d.ts.map +1 -0
  34. package/dist/components/ui/add-button.js +21 -0
  35. package/dist/components/ui/add-button.js.map +1 -0
  36. package/dist/components/ui/alert-dialog.d.ts +21 -0
  37. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  38. package/dist/components/ui/alert-dialog.js +30 -0
  39. package/dist/components/ui/alert-dialog.js.map +1 -0
  40. package/dist/components/ui/alert.d.ts +9 -0
  41. package/dist/components/ui/alert.d.ts.map +1 -0
  42. package/dist/components/ui/alert.js +23 -0
  43. package/dist/components/ui/alert.js.map +1 -0
  44. package/dist/components/ui/badge.d.ts +10 -0
  45. package/dist/components/ui/badge.d.ts.map +1 -0
  46. package/dist/components/ui/badge.js +21 -0
  47. package/dist/components/ui/badge.js.map +1 -0
  48. package/dist/components/ui/button.d.ts +13 -0
  49. package/dist/components/ui/button.d.ts.map +1 -0
  50. package/dist/components/ui/button.js +40 -0
  51. package/dist/components/ui/button.js.map +1 -0
  52. package/dist/components/ui/card.d.ts +9 -0
  53. package/dist/components/ui/card.d.ts.map +1 -0
  54. package/dist/components/ui/card.js +17 -0
  55. package/dist/components/ui/card.js.map +1 -0
  56. package/dist/components/ui/checkbox.d.ts +5 -0
  57. package/dist/components/ui/checkbox.d.ts.map +1 -0
  58. package/dist/components/ui/checkbox.js +9 -0
  59. package/dist/components/ui/checkbox.js.map +1 -0
  60. package/dist/components/ui/collapsible.d.ts +6 -0
  61. package/dist/components/ui/collapsible.d.ts.map +1 -0
  62. package/dist/components/ui/collapsible.js +6 -0
  63. package/dist/components/ui/collapsible.js.map +1 -0
  64. package/dist/components/ui/command.d.ts +82 -0
  65. package/dist/components/ui/command.d.ts.map +1 -0
  66. package/dist/components/ui/command.js +29 -0
  67. package/dist/components/ui/command.js.map +1 -0
  68. package/dist/components/ui/delete-button.d.ts +11 -0
  69. package/dist/components/ui/delete-button.d.ts.map +1 -0
  70. package/dist/components/ui/delete-button.js +14 -0
  71. package/dist/components/ui/delete-button.js.map +1 -0
  72. package/dist/components/ui/dialog.d.ts +22 -0
  73. package/dist/components/ui/dialog.d.ts.map +1 -0
  74. package/dist/components/ui/dialog.js +27 -0
  75. package/dist/components/ui/dialog.js.map +1 -0
  76. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  77. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  78. package/dist/components/ui/dropdown-menu.js +36 -0
  79. package/dist/components/ui/dropdown-menu.js.map +1 -0
  80. package/dist/components/ui/input.d.ts +13 -0
  81. package/dist/components/ui/input.d.ts.map +1 -0
  82. package/dist/components/ui/input.js +34 -0
  83. package/dist/components/ui/input.js.map +1 -0
  84. package/dist/components/ui/label.d.ts +6 -0
  85. package/dist/components/ui/label.d.ts.map +1 -0
  86. package/dist/components/ui/label.js +10 -0
  87. package/dist/components/ui/label.js.map +1 -0
  88. package/dist/components/ui/readonly-banner.d.ts +7 -0
  89. package/dist/components/ui/readonly-banner.d.ts.map +1 -0
  90. package/dist/components/ui/readonly-banner.js +12 -0
  91. package/dist/components/ui/readonly-banner.js.map +1 -0
  92. package/dist/components/ui/resizable.d.ts +24 -0
  93. package/dist/components/ui/resizable.d.ts.map +1 -0
  94. package/dist/components/ui/resizable.js +9 -0
  95. package/dist/components/ui/resizable.js.map +1 -0
  96. package/dist/components/ui/scroll-area.d.ts +45 -0
  97. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  98. package/dist/components/ui/scroll-area.js +27 -0
  99. package/dist/components/ui/scroll-area.js.map +1 -0
  100. package/dist/components/ui/select.d.ts +14 -0
  101. package/dist/components/ui/select.d.ts.map +1 -0
  102. package/dist/components/ui/select.js +30 -0
  103. package/dist/components/ui/select.js.map +1 -0
  104. package/dist/components/ui/separator.d.ts +5 -0
  105. package/dist/components/ui/separator.d.ts.map +1 -0
  106. package/dist/components/ui/separator.js +8 -0
  107. package/dist/components/ui/separator.js.map +1 -0
  108. package/dist/components/ui/switch.d.ts +5 -0
  109. package/dist/components/ui/switch.d.ts.map +1 -0
  110. package/dist/components/ui/switch.js +8 -0
  111. package/dist/components/ui/switch.js.map +1 -0
  112. package/dist/components/ui/textarea.d.ts +12 -0
  113. package/dist/components/ui/textarea.d.ts.map +1 -0
  114. package/dist/components/ui/textarea.js +34 -0
  115. package/dist/components/ui/textarea.js.map +1 -0
  116. package/dist/components/ui/toast.d.ts +16 -0
  117. package/dist/components/ui/toast.d.ts.map +1 -0
  118. package/dist/components/ui/toast.js +34 -0
  119. package/dist/components/ui/toast.js.map +1 -0
  120. package/dist/components/ui/toaster.d.ts +2 -0
  121. package/dist/components/ui/toaster.d.ts.map +1 -0
  122. package/dist/components/ui/toaster.js +10 -0
  123. package/dist/components/ui/toaster.js.map +1 -0
  124. package/dist/components/ui/toggle-group.d.ts +13 -0
  125. package/dist/components/ui/toggle-group.d.ts.map +1 -0
  126. package/dist/components/ui/toggle-group.js +21 -0
  127. package/dist/components/ui/toggle-group.js.map +1 -0
  128. package/dist/components/ui/toggle.d.ts +13 -0
  129. package/dist/components/ui/toggle.d.ts.map +1 -0
  130. package/dist/components/ui/toggle.js +26 -0
  131. package/dist/components/ui/toggle.js.map +1 -0
  132. package/dist/components/ui/tooltip.d.ts +8 -0
  133. package/dist/components/ui/tooltip.d.ts.map +1 -0
  134. package/dist/components/ui/tooltip.js +14 -0
  135. package/dist/components/ui/tooltip.js.map +1 -0
  136. package/dist/dialogs/NodePickerDialog.d.ts +10 -0
  137. package/dist/dialogs/NodePickerDialog.d.ts.map +1 -0
  138. package/dist/dialogs/NodePickerDialog.js +39 -0
  139. package/dist/dialogs/NodePickerDialog.js.map +1 -0
  140. package/dist/dialogs/ValidationDialog.d.ts +17 -0
  141. package/dist/dialogs/ValidationDialog.d.ts.map +1 -0
  142. package/dist/dialogs/ValidationDialog.js +29 -0
  143. package/dist/dialogs/ValidationDialog.js.map +1 -0
  144. package/dist/graph/BaseNode.d.ts +9 -0
  145. package/dist/graph/BaseNode.d.ts.map +1 -0
  146. package/dist/graph/BaseNode.js +318 -0
  147. package/dist/graph/BaseNode.js.map +1 -0
  148. package/dist/graph/CustomEdge.d.ts +14 -0
  149. package/dist/graph/CustomEdge.d.ts.map +1 -0
  150. package/dist/graph/CustomEdge.js +107 -0
  151. package/dist/graph/CustomEdge.js.map +1 -0
  152. package/dist/graph/CustomNode.d.ts +3 -0
  153. package/dist/graph/CustomNode.d.ts.map +1 -0
  154. package/dist/graph/CustomNode.js +15 -0
  155. package/dist/graph/CustomNode.js.map +1 -0
  156. package/dist/graph/FunctionCallNode.d.ts +3 -0
  157. package/dist/graph/FunctionCallNode.d.ts.map +1 -0
  158. package/dist/graph/FunctionCallNode.js +25 -0
  159. package/dist/graph/FunctionCallNode.js.map +1 -0
  160. package/dist/graph/PortHandle.d.ts +21 -0
  161. package/dist/graph/PortHandle.d.ts.map +1 -0
  162. package/dist/graph/PortHandle.js +113 -0
  163. package/dist/graph/PortHandle.js.map +1 -0
  164. package/dist/graph/reactFlowRegistry.d.ts +65 -0
  165. package/dist/graph/reactFlowRegistry.d.ts.map +1 -0
  166. package/dist/graph/reactFlowRegistry.js +24 -0
  167. package/dist/graph/reactFlowRegistry.js.map +1 -0
  168. package/dist/hooks/use-toast.d.ts +47 -0
  169. package/dist/hooks/use-toast.d.ts.map +1 -0
  170. package/dist/hooks/use-toast.js +95 -0
  171. package/dist/hooks/use-toast.js.map +1 -0
  172. package/dist/hooks/useAvailableVariables.d.ts +12 -0
  173. package/dist/hooks/useAvailableVariables.d.ts.map +1 -0
  174. package/dist/hooks/useAvailableVariables.js +16 -0
  175. package/dist/hooks/useAvailableVariables.js.map +1 -0
  176. package/dist/hooks/useCanvasHistory.d.ts +14 -0
  177. package/dist/hooks/useCanvasHistory.d.ts.map +1 -0
  178. package/dist/hooks/useCanvasHistory.js +20 -0
  179. package/dist/hooks/useCanvasHistory.js.map +1 -0
  180. package/dist/hooks/useCanvasTabs.d.ts +23 -0
  181. package/dist/hooks/useCanvasTabs.d.ts.map +1 -0
  182. package/dist/hooks/useCanvasTabs.js +136 -0
  183. package/dist/hooks/useCanvasTabs.js.map +1 -0
  184. package/dist/hooks/useFunctionDiagnosticsSync.d.ts +14 -0
  185. package/dist/hooks/useFunctionDiagnosticsSync.d.ts.map +1 -0
  186. package/dist/hooks/useFunctionDiagnosticsSync.js +38 -0
  187. package/dist/hooks/useFunctionDiagnosticsSync.js.map +1 -0
  188. package/dist/hooks/useFunctionRegistry.d.ts +15 -0
  189. package/dist/hooks/useFunctionRegistry.d.ts.map +1 -0
  190. package/dist/hooks/useFunctionRegistry.js +22 -0
  191. package/dist/hooks/useFunctionRegistry.js.map +1 -0
  192. package/dist/hooks/useFunctions.d.ts +15 -0
  193. package/dist/hooks/useFunctions.d.ts.map +1 -0
  194. package/dist/hooks/useFunctions.js +34 -0
  195. package/dist/hooks/useFunctions.js.map +1 -0
  196. package/dist/hooks/useGraph.d.ts +40 -0
  197. package/dist/hooks/useGraph.d.ts.map +1 -0
  198. package/dist/hooks/useGraph.js +102 -0
  199. package/dist/hooks/useGraph.js.map +1 -0
  200. package/dist/hooks/useNodeDefinitions.d.ts +17 -0
  201. package/dist/hooks/useNodeDefinitions.d.ts.map +1 -0
  202. package/dist/hooks/useNodeDefinitions.js +65 -0
  203. package/dist/hooks/useNodeDefinitions.js.map +1 -0
  204. package/dist/hooks/useParamErrors.d.ts +12 -0
  205. package/dist/hooks/useParamErrors.d.ts.map +1 -0
  206. package/dist/hooks/useParamErrors.js +28 -0
  207. package/dist/hooks/useParamErrors.js.map +1 -0
  208. package/dist/hooks/useResolvedTheme.d.ts +10 -0
  209. package/dist/hooks/useResolvedTheme.d.ts.map +1 -0
  210. package/dist/hooks/useResolvedTheme.js +29 -0
  211. package/dist/hooks/useResolvedTheme.js.map +1 -0
  212. package/dist/hooks/useResourceDiagnosticsSync.d.ts +40 -0
  213. package/dist/hooks/useResourceDiagnosticsSync.d.ts.map +1 -0
  214. package/dist/hooks/useResourceDiagnosticsSync.js +39 -0
  215. package/dist/hooks/useResourceDiagnosticsSync.js.map +1 -0
  216. package/dist/hooks/useSuppressThemeTransition.d.ts +32 -0
  217. package/dist/hooks/useSuppressThemeTransition.d.ts.map +1 -0
  218. package/dist/hooks/useSuppressThemeTransition.js +75 -0
  219. package/dist/hooks/useSuppressThemeTransition.js.map +1 -0
  220. package/dist/hooks/useWorkflowSerialization.d.ts +24 -0
  221. package/dist/hooks/useWorkflowSerialization.d.ts.map +1 -0
  222. package/dist/hooks/useWorkflowSerialization.js +113 -0
  223. package/dist/hooks/useWorkflowSerialization.js.map +1 -0
  224. package/dist/i18n/index.d.ts +4 -0
  225. package/dist/i18n/index.d.ts.map +1 -0
  226. package/dist/i18n/index.js +46 -0
  227. package/dist/i18n/index.js.map +1 -0
  228. package/dist/i18n/locales/de.json +501 -0
  229. package/dist/i18n/locales/en.json +557 -0
  230. package/dist/index.d.ts +9 -0
  231. package/dist/index.d.ts.map +1 -0
  232. package/dist/index.js +12 -0
  233. package/dist/index.js.map +1 -0
  234. package/dist/inputs/ExpressionInput.d.ts +12 -0
  235. package/dist/inputs/ExpressionInput.d.ts.map +1 -0
  236. package/dist/inputs/ExpressionInput.js +203 -0
  237. package/dist/inputs/ExpressionInput.js.map +1 -0
  238. package/dist/inputs/ParameterEditor.d.ts +13 -0
  239. package/dist/inputs/ParameterEditor.d.ts.map +1 -0
  240. package/dist/inputs/ParameterEditor.js +204 -0
  241. package/dist/inputs/ParameterEditor.js.map +1 -0
  242. package/dist/inputs/PortSection.d.ts +31 -0
  243. package/dist/inputs/PortSection.d.ts.map +1 -0
  244. package/dist/inputs/PortSection.js +26 -0
  245. package/dist/inputs/PortSection.js.map +1 -0
  246. package/dist/panels/BuilderSidebar.d.ts +24 -0
  247. package/dist/panels/BuilderSidebar.d.ts.map +1 -0
  248. package/dist/panels/BuilderSidebar.js +202 -0
  249. package/dist/panels/BuilderSidebar.js.map +1 -0
  250. package/dist/panels/ChannelConfigPanel.d.ts +8 -0
  251. package/dist/panels/ChannelConfigPanel.d.ts.map +1 -0
  252. package/dist/panels/ChannelConfigPanel.js +26 -0
  253. package/dist/panels/ChannelConfigPanel.js.map +1 -0
  254. package/dist/panels/ChannelsPanel.d.ts +2 -0
  255. package/dist/panels/ChannelsPanel.d.ts.map +1 -0
  256. package/dist/panels/ChannelsPanel.js +16 -0
  257. package/dist/panels/ChannelsPanel.js.map +1 -0
  258. package/dist/panels/DebugConsolePanel.d.ts +2 -0
  259. package/dist/panels/DebugConsolePanel.d.ts.map +1 -0
  260. package/dist/panels/DebugConsolePanel.js +32 -0
  261. package/dist/panels/DebugConsolePanel.js.map +1 -0
  262. package/dist/panels/DebugContextPanel.d.ts +2 -0
  263. package/dist/panels/DebugContextPanel.d.ts.map +1 -0
  264. package/dist/panels/DebugContextPanel.js +32 -0
  265. package/dist/panels/DebugContextPanel.js.map +1 -0
  266. package/dist/panels/DebugExternalIOPanel.d.ts +9 -0
  267. package/dist/panels/DebugExternalIOPanel.d.ts.map +1 -0
  268. package/dist/panels/DebugExternalIOPanel.js +66 -0
  269. package/dist/panels/DebugExternalIOPanel.js.map +1 -0
  270. package/dist/panels/DiagnosticsPanel.d.ts +8 -0
  271. package/dist/panels/DiagnosticsPanel.d.ts.map +1 -0
  272. package/dist/panels/DiagnosticsPanel.js +86 -0
  273. package/dist/panels/DiagnosticsPanel.js.map +1 -0
  274. package/dist/panels/EdgeConfigPanel.d.ts +14 -0
  275. package/dist/panels/EdgeConfigPanel.d.ts.map +1 -0
  276. package/dist/panels/EdgeConfigPanel.js +34 -0
  277. package/dist/panels/EdgeConfigPanel.js.map +1 -0
  278. package/dist/panels/FunctionConfigPanel.d.ts +16 -0
  279. package/dist/panels/FunctionConfigPanel.d.ts.map +1 -0
  280. package/dist/panels/FunctionConfigPanel.js +62 -0
  281. package/dist/panels/FunctionConfigPanel.js.map +1 -0
  282. package/dist/panels/FunctionListPanel.d.ts +14 -0
  283. package/dist/panels/FunctionListPanel.d.ts.map +1 -0
  284. package/dist/panels/FunctionListPanel.js +25 -0
  285. package/dist/panels/FunctionListPanel.js.map +1 -0
  286. package/dist/panels/MemoryConfigPanel.d.ts +8 -0
  287. package/dist/panels/MemoryConfigPanel.d.ts.map +1 -0
  288. package/dist/panels/MemoryConfigPanel.js +22 -0
  289. package/dist/panels/MemoryConfigPanel.js.map +1 -0
  290. package/dist/panels/MemoryPanel.d.ts +2 -0
  291. package/dist/panels/MemoryPanel.d.ts.map +1 -0
  292. package/dist/panels/MemoryPanel.js +25 -0
  293. package/dist/panels/MemoryPanel.js.map +1 -0
  294. package/dist/panels/ModelConfigPanel.d.ts +8 -0
  295. package/dist/panels/ModelConfigPanel.d.ts.map +1 -0
  296. package/dist/panels/ModelConfigPanel.js +14 -0
  297. package/dist/panels/ModelConfigPanel.js.map +1 -0
  298. package/dist/panels/ModelsPanel.d.ts +8 -0
  299. package/dist/panels/ModelsPanel.d.ts.map +1 -0
  300. package/dist/panels/ModelsPanel.js +24 -0
  301. package/dist/panels/ModelsPanel.js.map +1 -0
  302. package/dist/panels/NodeConfigPanel.d.ts +16 -0
  303. package/dist/panels/NodeConfigPanel.d.ts.map +1 -0
  304. package/dist/panels/NodeConfigPanel.js +248 -0
  305. package/dist/panels/NodeConfigPanel.js.map +1 -0
  306. package/dist/panels/NodeLibrary.d.ts +16 -0
  307. package/dist/panels/NodeLibrary.d.ts.map +1 -0
  308. package/dist/panels/NodeLibrary.js +125 -0
  309. package/dist/panels/NodeLibrary.js.map +1 -0
  310. package/dist/panels/ResourceConfigPanel.d.ts +37 -0
  311. package/dist/panels/ResourceConfigPanel.d.ts.map +1 -0
  312. package/dist/panels/ResourceConfigPanel.js +35 -0
  313. package/dist/panels/ResourceConfigPanel.js.map +1 -0
  314. package/dist/panels/ResourceListPanel.d.ts +35 -0
  315. package/dist/panels/ResourceListPanel.d.ts.map +1 -0
  316. package/dist/panels/ResourceListPanel.js +35 -0
  317. package/dist/panels/ResourceListPanel.js.map +1 -0
  318. package/dist/panels/VariableConfigPanel.d.ts +9 -0
  319. package/dist/panels/VariableConfigPanel.d.ts.map +1 -0
  320. package/dist/panels/VariableConfigPanel.js +50 -0
  321. package/dist/panels/VariableConfigPanel.js.map +1 -0
  322. package/dist/panels/VariablesPanel.d.ts +7 -0
  323. package/dist/panels/VariablesPanel.d.ts.map +1 -0
  324. package/dist/panels/VariablesPanel.js +56 -0
  325. package/dist/panels/VariablesPanel.js.map +1 -0
  326. package/dist/stores/canvasStore.d.ts +41 -0
  327. package/dist/stores/canvasStore.d.ts.map +1 -0
  328. package/dist/stores/canvasStore.js +187 -0
  329. package/dist/stores/canvasStore.js.map +1 -0
  330. package/dist/stores/debugStore.d.ts +42 -0
  331. package/dist/stores/debugStore.d.ts.map +1 -0
  332. package/dist/stores/debugStore.js +22 -0
  333. package/dist/stores/debugStore.js.map +1 -0
  334. package/dist/stores/diagnosticsStore.d.ts +41 -0
  335. package/dist/stores/diagnosticsStore.d.ts.map +1 -0
  336. package/dist/stores/diagnosticsStore.js +67 -0
  337. package/dist/stores/diagnosticsStore.js.map +1 -0
  338. package/dist/stores/editorStore.d.ts +76 -0
  339. package/dist/stores/editorStore.d.ts.map +1 -0
  340. package/dist/stores/editorStore.js +116 -0
  341. package/dist/stores/editorStore.js.map +1 -0
  342. package/dist/utils/categoryConstants.d.ts +4 -0
  343. package/dist/utils/categoryConstants.d.ts.map +1 -0
  344. package/dist/utils/categoryConstants.js +24 -0
  345. package/dist/utils/categoryConstants.js.map +1 -0
  346. package/dist/utils/channelOperations.d.ts +21 -0
  347. package/dist/utils/channelOperations.d.ts.map +1 -0
  348. package/dist/utils/channelOperations.js +84 -0
  349. package/dist/utils/channelOperations.js.map +1 -0
  350. package/dist/utils/connectionRules.d.ts +15 -0
  351. package/dist/utils/connectionRules.d.ts.map +1 -0
  352. package/dist/utils/connectionRules.js +113 -0
  353. package/dist/utils/connectionRules.js.map +1 -0
  354. package/dist/utils/functionOperations.d.ts +27 -0
  355. package/dist/utils/functionOperations.d.ts.map +1 -0
  356. package/dist/utils/functionOperations.js +140 -0
  357. package/dist/utils/functionOperations.js.map +1 -0
  358. package/dist/utils/graphOperations.d.ts +54 -0
  359. package/dist/utils/graphOperations.d.ts.map +1 -0
  360. package/dist/utils/graphOperations.js +461 -0
  361. package/dist/utils/graphOperations.js.map +1 -0
  362. package/dist/utils/history.d.ts +76 -0
  363. package/dist/utils/history.d.ts.map +1 -0
  364. package/dist/utils/history.js +93 -0
  365. package/dist/utils/history.js.map +1 -0
  366. package/dist/utils/memoryOperations.d.ts +14 -0
  367. package/dist/utils/memoryOperations.d.ts.map +1 -0
  368. package/dist/utils/memoryOperations.js +55 -0
  369. package/dist/utils/memoryOperations.js.map +1 -0
  370. package/dist/utils/migrateFunctionNodes.d.ts +9 -0
  371. package/dist/utils/migrateFunctionNodes.d.ts.map +1 -0
  372. package/dist/utils/migrateFunctionNodes.js +89 -0
  373. package/dist/utils/migrateFunctionNodes.js.map +1 -0
  374. package/dist/utils/modelOperations.d.ts +13 -0
  375. package/dist/utils/modelOperations.d.ts.map +1 -0
  376. package/dist/utils/modelOperations.js +53 -0
  377. package/dist/utils/modelOperations.js.map +1 -0
  378. package/dist/utils/paramDisplay.d.ts +12 -0
  379. package/dist/utils/paramDisplay.d.ts.map +1 -0
  380. package/dist/utils/paramDisplay.js +56 -0
  381. package/dist/utils/paramDisplay.js.map +1 -0
  382. package/dist/utils/resourceHelpers.d.ts +17 -0
  383. package/dist/utils/resourceHelpers.d.ts.map +1 -0
  384. package/dist/utils/resourceHelpers.js +32 -0
  385. package/dist/utils/resourceHelpers.js.map +1 -0
  386. package/dist/utils/translation.d.ts +20 -0
  387. package/dist/utils/translation.d.ts.map +1 -0
  388. package/dist/utils/translation.js +23 -0
  389. package/dist/utils/translation.js.map +1 -0
  390. package/dist/utils/variableOperations.d.ts +15 -0
  391. package/dist/utils/variableOperations.d.ts.map +1 -0
  392. package/dist/utils/variableOperations.js +71 -0
  393. package/dist/utils/variableOperations.js.map +1 -0
  394. package/package.json +79 -0
  395. package/src/BuilderLayout.tsx +345 -0
  396. package/src/Canvas.tsx +261 -0
  397. package/src/CanvasEditor.tsx +142 -0
  398. package/src/CanvasTabsToolbar.tsx +176 -0
  399. package/src/RightConfigPanel.tsx +266 -0
  400. package/src/WorkflowBuilder.tsx +412 -0
  401. package/src/cn.ts +6 -0
  402. package/src/components/ui/add-button.tsx +39 -0
  403. package/src/components/ui/alert-dialog.tsx +141 -0
  404. package/src/components/ui/alert.tsx +59 -0
  405. package/src/components/ui/badge.tsx +36 -0
  406. package/src/components/ui/button.tsx +85 -0
  407. package/src/components/ui/card.tsx +79 -0
  408. package/src/components/ui/checkbox.tsx +28 -0
  409. package/src/components/ui/collapsible.tsx +9 -0
  410. package/src/components/ui/command.tsx +153 -0
  411. package/src/components/ui/delete-button.tsx +23 -0
  412. package/src/components/ui/dialog.tsx +125 -0
  413. package/src/components/ui/dropdown-menu.tsx +198 -0
  414. package/src/components/ui/input.tsx +55 -0
  415. package/src/components/ui/label.tsx +24 -0
  416. package/src/components/ui/readonly-banner.tsx +15 -0
  417. package/src/components/ui/resizable.tsx +43 -0
  418. package/src/components/ui/scroll-area.tsx +102 -0
  419. package/src/components/ui/select.tsx +160 -0
  420. package/src/components/ui/separator.tsx +29 -0
  421. package/src/components/ui/switch.tsx +27 -0
  422. package/src/components/ui/textarea.tsx +51 -0
  423. package/src/components/ui/toast.tsx +127 -0
  424. package/src/components/ui/toaster.tsx +33 -0
  425. package/src/components/ui/toggle-group.tsx +59 -0
  426. package/src/components/ui/toggle.tsx +43 -0
  427. package/src/components/ui/tooltip.tsx +32 -0
  428. package/src/dialogs/NodePickerDialog.tsx +84 -0
  429. package/src/dialogs/ValidationDialog.tsx +184 -0
  430. package/src/graph/BaseNode.tsx +557 -0
  431. package/src/graph/CustomEdge.tsx +185 -0
  432. package/src/graph/CustomNode.tsx +16 -0
  433. package/src/graph/FunctionCallNode.tsx +30 -0
  434. package/src/graph/PortHandle.tsx +189 -0
  435. package/src/graph/reactFlowRegistry.ts +26 -0
  436. package/src/hooks/use-toast.ts +125 -0
  437. package/src/hooks/useAvailableVariables.ts +20 -0
  438. package/src/hooks/useCanvasHistory.ts +22 -0
  439. package/src/hooks/useCanvasTabs.ts +168 -0
  440. package/src/hooks/useFunctionDiagnosticsSync.ts +40 -0
  441. package/src/hooks/useFunctionRegistry.ts +26 -0
  442. package/src/hooks/useFunctions.ts +44 -0
  443. package/src/hooks/useGraph.ts +161 -0
  444. package/src/hooks/useNodeDefinitions.ts +82 -0
  445. package/src/hooks/useParamErrors.ts +26 -0
  446. package/src/hooks/useResolvedTheme.ts +30 -0
  447. package/src/hooks/useResourceDiagnosticsSync.ts +58 -0
  448. package/src/hooks/useSuppressThemeTransition.ts +79 -0
  449. package/src/hooks/useWorkflowSerialization.ts +127 -0
  450. package/src/i18n/index.ts +53 -0
  451. package/src/i18n/locales/de.json +501 -0
  452. package/src/i18n/locales/en.json +557 -0
  453. package/src/index.ts +27 -0
  454. package/src/inputs/ExpressionInput.tsx +297 -0
  455. package/src/inputs/ParameterEditor.tsx +515 -0
  456. package/src/inputs/PortSection.tsx +144 -0
  457. package/src/panels/BuilderSidebar.tsx +301 -0
  458. package/src/panels/ChannelConfigPanel.tsx +49 -0
  459. package/src/panels/ChannelsPanel.tsx +28 -0
  460. package/src/panels/DebugConsolePanel.tsx +73 -0
  461. package/src/panels/DebugContextPanel.tsx +77 -0
  462. package/src/panels/DebugExternalIOPanel.tsx +180 -0
  463. package/src/panels/DiagnosticsPanel.tsx +170 -0
  464. package/src/panels/EdgeConfigPanel.tsx +104 -0
  465. package/src/panels/FunctionConfigPanel.tsx +179 -0
  466. package/src/panels/FunctionListPanel.tsx +45 -0
  467. package/src/panels/MemoryConfigPanel.tsx +55 -0
  468. package/src/panels/MemoryPanel.tsx +40 -0
  469. package/src/panels/ModelConfigPanel.tsx +41 -0
  470. package/src/panels/ModelsPanel.tsx +36 -0
  471. package/src/panels/NodeConfigPanel.tsx +630 -0
  472. package/src/panels/NodeLibrary.tsx +288 -0
  473. package/src/panels/ResourceConfigPanel.tsx +132 -0
  474. package/src/panels/ResourceListPanel.tsx +113 -0
  475. package/src/panels/VariableConfigPanel.tsx +161 -0
  476. package/src/panels/VariablesPanel.tsx +145 -0
  477. package/src/stores/canvasStore.test.ts +44 -0
  478. package/src/stores/canvasStore.ts +245 -0
  479. package/src/stores/debugStore.ts +74 -0
  480. package/src/stores/diagnosticsStore.ts +130 -0
  481. package/src/stores/editorStore.ts +202 -0
  482. package/src/styles/index.css +526 -0
  483. package/src/utils/categoryConstants.ts +26 -0
  484. package/src/utils/channelOperations.ts +86 -0
  485. package/src/utils/connectionRules.ts +137 -0
  486. package/src/utils/functionOperations.ts +179 -0
  487. package/src/utils/graphOperations.ts +550 -0
  488. package/src/utils/history.ts +207 -0
  489. package/src/utils/memoryOperations.ts +57 -0
  490. package/src/utils/migrateFunctionNodes.ts +107 -0
  491. package/src/utils/modelOperations.ts +55 -0
  492. package/src/utils/paramDisplay.ts +71 -0
  493. package/src/utils/resourceHelpers.ts +32 -0
  494. package/src/utils/translation.ts +28 -0
  495. package/src/utils/variableOperations.ts +75 -0
  496. package/tailwind-preset.ts +166 -0
@@ -0,0 +1,557 @@
1
+ {
2
+ "exportAsJSON": "Export as JSON",
3
+ "nodeLibrary": "Node Library",
4
+ "blockLibrary": "Node Library",
5
+ "diagnostics": "Diagnostics",
6
+ "functionDefinition": "Function Definition",
7
+ "open": "Open",
8
+ "close": "Close",
9
+ "save": "Save",
10
+ "versionHistory": "Version History",
11
+ "test": "Test",
12
+ "run": "Run",
13
+ "stop": "Stop",
14
+ "deploy": "Deploy",
15
+ "configure": "Configure",
16
+ "addBlock": "Add Node",
17
+ "deleteBlock": "Delete Node",
18
+ "duplicateBlock": "Duplicate Node",
19
+ "connectBlocks": "Connect Nodes",
20
+ "disconnectBlocks": "Disconnect Nodes",
21
+ "zoomIn": "Zoom In",
22
+ "zoomOut": "Zoom Out",
23
+ "fitView": "Fit to View",
24
+ "autoLayout": "Auto Layout",
25
+ "grid": "Grid",
26
+ "showGrid": "Show Grid",
27
+ "snapToGrid": "Snap to Grid",
28
+ "undo": "Undo",
29
+ "redo": "Redo",
30
+ "cut": "Cut",
31
+ "copy": "Copy",
32
+ "paste": "Paste",
33
+ "selectAll": "Select All",
34
+ "deselectAll": "Deselect All",
35
+ "delete": "Delete",
36
+ "canvas": "Canvas",
37
+ "parameters": "Parameters",
38
+ "connections": "Connections",
39
+ "validation": "Validation",
40
+ "errors": "Errors",
41
+ "warnings": "Warnings",
42
+ "noErrors": "No errors found",
43
+ "unknownNodeType": "Unknown node type: {{type}}",
44
+ "deleteNode": "Delete Node",
45
+ "updateToLatestDefinition": "Update to latest definition",
46
+ "functionCallNodesMigrated": "Function call nodes updated",
47
+ "functionCallNodesMigratedDesc": "{{count}} node(s) were migrated to the latest function definition.",
48
+ "variables": "Variables",
49
+ "agents": "Agents",
50
+ "conversations": "Conversations",
51
+ "noVariables": "No variables available",
52
+ "addBlocksForVariables": "Add nodes to see their output variables",
53
+ "agentsDescription": "Manage and configure AI agents for your workflow",
54
+ "noAgentsConfigured": "No agents configured yet",
55
+ "addAgent": "Add Agent",
56
+ "availableAgents": "Available Agents",
57
+ "comingSoon": "Coming soon...",
58
+ "conversationsDescription": "View and manage conversation flows",
59
+ "noConversations": "No conversations yet",
60
+ "newConversation": "New Conversation",
61
+ "conversationTemplates": "Templates",
62
+ "newWorkflow": "New Workflow",
63
+ "searchBlocks": "Search nodes...",
64
+ "noParameters": "No parameters",
65
+ "moreCount": "+{{count}} more",
66
+ "parametersLabel": "Parameters:",
67
+ "required": "Required",
68
+ "optional": "Optional",
69
+ "typeLabel": "Type:",
70
+ "defaultLabel": "Default:",
71
+ "optionsLabel": "Options:",
72
+ "parameterCount": "{{count}} parameter",
73
+ "paramTypeText": "Text",
74
+ "paramTypeNumber": "Number",
75
+ "paramTypeBoolean": "Boolean",
76
+ "paramTypeSelection": "Selection",
77
+ "paramTypeExpression": "Expr",
78
+ "noModelsAvailable": "No LLM models are currently available. Please contact support.",
79
+ "generatedConfig": "Generated Configuration",
80
+ "importProject": "Import Project",
81
+ "jsonConfig": "JSON Configuration",
82
+ "jsonConfigPlaceholder": "Paste JSON configuration here...",
83
+ "orUploadFile": "Or upload file",
84
+ "import": "Import",
85
+ "saveWorkflow": "Save Workflow",
86
+ "createProject": "Create Project",
87
+ "create": "Create",
88
+ "unsavedDraft": "Unsaved draft",
89
+ "unsavedDraftWarning": "You have unsaved changes that will be lost. Leave anyway?",
90
+ "saveFailedMessage": "Could not create the project. Download your work as JSON to avoid losing it.",
91
+ "downloadAsJSON": "Download as JSON",
92
+ "namePlaceholder": "Enter workflow name...",
93
+ "descriptionOptional": "Description (optional)",
94
+ "descriptionPlaceholder": "Short description of the workflow...",
95
+ "saving": "Saving...",
96
+ "testAgentNode": "Test Agent Node",
97
+ "testAgentDescription": "Send a prompt to the agent and stream the response. Costs are charged to your balance.",
98
+ "prompt": "Prompt",
99
+ "promptPlaceholder": "Describe the task for the agent",
100
+ "testing": "Testing...",
101
+ "startTest": "Start Test",
102
+ "stopTest": "Stop",
103
+ "testAgent": "Test Agent",
104
+ "maxTurns": "Max Turns",
105
+ "toolCall": "Tool Call: {{name}}",
106
+ "toolResult": "Tool Result: {{name}}",
107
+ "finalOutput": "Final Output ({{turns}} turns)",
108
+ "structuredOutput": "Structured Output",
109
+ "structuredOutputParseError": "Could not parse structured output as JSON",
110
+ "rawJson": "Raw JSON",
111
+ "outputName": "Name",
112
+ "outputType": "Type",
113
+ "outputValue": "Value",
114
+ "noNodeSelected": "No node selected",
115
+ "selectNodeMessage": "Please select a target node on the canvas.",
116
+ "importError": "Import Error",
117
+ "invalidJson": "Invalid JSON format",
118
+ "exportSuccess": "Export successful",
119
+ "configDownloaded": "Configuration was downloaded",
120
+ "copied": "Copied",
121
+ "configCopied": "Configuration was copied to clipboard",
122
+ "autoVersionMessage": "Automatic checkpoint",
123
+ "autoVersionLabel": "Auto",
124
+ "saveStatus.saved": "Saved",
125
+ "saveStatus.saving": "Saving...",
126
+ "saveStatus.unsaved": "Unsaved changes",
127
+ "versionRenameTooltip": "Rename version",
128
+ "versionPreviewPlaceholder": "Visual preview coming soon",
129
+ "preview.viewingVersion": "Version #{{number}} from {{date}}",
130
+ "preview.restore": "Restore",
131
+ "preview.cancel": "Back to current",
132
+ "preview.viewButton": "Inspect",
133
+ "preview.viewOnly": "View only",
134
+ "preview.noPreview": "Select a version to preview",
135
+ "preview.selectVersion": "Select a version to inspect",
136
+ "preview.template": "Template: {{name}}",
137
+ "preview.useAsProject": "Use as Project",
138
+ "preview.emptyCanvas": "No nodes in this version",
139
+ "preview.setAsCurrent": "Set as current",
140
+ "preview.returnToCurrent": "Return to current",
141
+ "debug.session": "Debug Session",
142
+ "debug.start": "Debug",
143
+ "debug.stop": "Stop",
144
+ "debug.step": "Step",
145
+ "debug.building": "Building",
146
+ "debug.idle": "Idle",
147
+ "debug.paused": "Paused",
148
+ "debug.stepping": "Stepping",
149
+ "debug.error": "Error",
150
+ "debug.console": "Console",
151
+ "debug.clearConsole": "Clear console",
152
+ "debug.consoleEmpty": "Console output will appear here during execution.",
153
+ "debug.context": "Context",
154
+ "debug.externalIO": "External I/O",
155
+ "debug.noVariables": "No workflow variables defined.",
156
+ "debug.noInputsNeeded": "No external inputs needed for this node.",
157
+ "debug.selectNode": "Select a node to debug.",
158
+ "debug.triggerNotSteppable": "Trigger nodes cannot be stepped. Select a downstream node to begin debugging.",
159
+ "debug.gpioPin": "GPIO Pin {{pin}}",
160
+ "debug.serialInput": "Serial Input",
161
+ "debug.serialPlaceholder": "Enter serial data...",
162
+ "versionsLoading": "Loading versions...",
163
+ "noVersions": "No versions available.",
164
+ "versionsReadOnly": "Versions are read-only and cannot be modified.",
165
+ "loadingDialogs": "Loading dialogs...",
166
+ "loadingVersions": "Loading versions...",
167
+ "loadingTest": "Loading test dialog...",
168
+ "current": "Current",
169
+ "newFunction": "New Function",
170
+ "enterExpression": "Enter expression...",
171
+ "enterTypeExpression": "Enter {{type}} expression...",
172
+ "fromNode": "from {{node}}",
173
+ "addFunction": "Add Function",
174
+ "addFunctionHint": "Create a reusable function",
175
+ "addNodesForVariables": "Add nodes to see their output variables",
176
+ "addVariable": "Add Variable",
177
+ "continueWithWarnings": "Continue with Warnings",
178
+ "createFunction": "Create Function",
179
+ "definedVariables": "Defined Variables",
180
+ "deleteFunction": "Delete Function",
181
+ "deleteFunctionTitle": "Delete Function?",
182
+ "done": "Done",
183
+ "editFunction": "Edit Function",
184
+ "expressionFor": "Expression for",
185
+ "fnarg": "Arg",
186
+ "functionArguments": "Function Arguments",
187
+ "functionDialogDesc": "Configure the function name, inputs and outputs.",
188
+ "functionInputsDesc": "Arguments passed in when the function is called",
189
+ "functionOutputsDesc": "Values the function returns; each is an expression over its inputs and body",
190
+ "functionName": "Function Name",
191
+ "functionNamePlaceholder": "Enter function name...",
192
+ "functions": "Functions",
193
+ "openFunction": "Open function",
194
+ "globalVariable": "Global Variable",
195
+ "dataType": "Data type",
196
+ "deleteVariable": "Delete variable",
197
+ "variableName": "Variable name",
198
+ "variableNameRequired": "Name is required",
199
+ "variableDescription": "A declared variable you can read and write across this canvas",
200
+ "initialValue": "Initial Value",
201
+ "inputs": "Inputs",
202
+ "nodeOutputVariables": "Node Output Variables",
203
+ "noEdgeParams": "No edge parameters",
204
+ "noFunctionInfo": "No function information available",
205
+ "noFunctions": "No functions yet",
206
+ "noInputs": "No inputs",
207
+ "noChannels": "No channels defined yet",
208
+ "noChannelsHint": "Add channels to declare the hardware interfaces your workflow needs",
209
+ "channels": "Channels",
210
+ "channelLabelHeading": "Label",
211
+ "addChannel": "Add Channel",
212
+ "selectChannel": "Select a channel...",
213
+ "noMemoryFiles": "No memory files yet",
214
+ "noMemoryFilesHint": "Declare durable storage your agents can read or write",
215
+ "memoryFiles": "Memory",
216
+ "addMemoryFile": "Add Memory File",
217
+ "deleteMemoryFile": "Delete memory file",
218
+ "memoryFileName": "Memory file name",
219
+ "memoryFileDescription": "Agent-scoped durable storage",
220
+ "memoryFileNameRequired": "Name is required",
221
+ "memoryFileNameDuplicate": "Name must be unique per agent",
222
+ "noMemoryFilesForAgent": "No memory files declared yet. Add one from the Memory tab in the sidebar.",
223
+ "selectMemoryFile": "Select memory file...",
224
+ "memoryRefStale": "Deleted memory file",
225
+ "addMemoryRef": "Add memory ref",
226
+ "removeMemoryRef": "Remove memory ref",
227
+ "memoryModeRead": "Read",
228
+ "memoryModeReadWrite": "Read + Write",
229
+ "noMemory": "No memory declared yet",
230
+ "noMemoryHint": "Declare memory files for agents and vector databases for RAG",
231
+ "addVectorDatabase": "Add Vector Database",
232
+ "selectMemory": "Select memory...",
233
+ "memoryLabel": "Memory label",
234
+ "memoryLabelRequired": "Label is required",
235
+ "memoryLabelDuplicate": "Label must be unique per agent",
236
+ "deleteMemory": "Delete memory",
237
+ "models": "AI Models",
238
+ "noModels": "No custom models yet",
239
+ "noModelsHint": "Built-in models are always available. Declare custom or self-hosted models here.",
240
+ "addCustomModel": "Add Custom Model",
241
+ "modelLLMBadge": "LLM",
242
+ "selectModel": "Select model...",
243
+ "modelLabel": "Model label",
244
+ "modelLabelRequired": "Label is required",
245
+ "modelCustomDescription": "Custom model mapped to a provider at deploy",
246
+ "deleteModel": "Delete model",
247
+ "createNewPin": "Create new pin...",
248
+ "capabilities": "Capabilities",
249
+ "protocol": "Protocol",
250
+ "noIssuesFound": "No issues found",
251
+ "noOutputs": "No outputs",
252
+ "outputs": "Outputs",
253
+ "returnValueAssignments": "Return Value Assignments",
254
+ "returnValueAssignmentsDesc": "Assign expressions to function return values",
255
+ "deleteEdge": "Delete Edge",
256
+ "renameProject": "Rename project",
257
+ "functionCallDesc": "Invoke the \"{{name}}\" function",
258
+ "functionParamDesc": "Enter value for {{name}}",
259
+ "functionOutputDesc": "Enter name of output variable for {{name}}",
260
+ "deleteFunctionDesc": "This will permanently delete this function and all its nodes. This action cannot be undone.",
261
+ "nodeLabel": "Node",
262
+ "validationPassed": "No errors or warnings in workflow",
263
+ "validationIssues": "Validation Issues",
264
+ "validationErrorsDesc": "{{errorCount}} error(s) and {{warningCount}} warning(s) found. Fix errors before exporting.",
265
+ "validationWarningsDesc": "{{warningCount}} warning(s) found. You can still proceed.",
266
+ "versionSaved": "Version saved",
267
+ "versionSaveError": "Version could not be saved",
268
+ "versionRestored": "Version restored",
269
+ "versionRestoreError": "Version could not be restored",
270
+ "versionRenamed": "Version renamed",
271
+ "versionRenameError": "Version could not be renamed",
272
+ "codeGenSuccess": "Embedded firmware was successfully generated and downloaded.",
273
+ "codeGenTitle": "C code generated",
274
+ "codeGenError": "C code generation failed",
275
+ "codeGenErrorDesc": "C code could not be generated.",
276
+ "seoDescription": "Visual builder for your projects.",
277
+ "projectNotFound": "Project not found",
278
+ "projectNotFoundDesc": "The selected project does not exist.",
279
+ "deploymentNotFound": "Deployment not found",
280
+ "deployDialog": {
281
+ "title": "Deploy Workflow",
282
+ "description": "Deploy this workflow to a device.",
283
+ "redeployTab": "Update Agent",
284
+ "newAgentTab": "New Agent",
285
+ "selectAgent": "Select an agent",
286
+ "redeploy": "Redeploy",
287
+ "selectDevice": "Select a device",
288
+ "agentName": "Agent name",
289
+ "agentNamePlaceholder": "e.g. Greenhouse Controller",
290
+ "confirm": "Deploy",
291
+ "platform": "Platform",
292
+ "platformPlaceholder": "Select a platform",
293
+ "submitPush": "Push to engine",
294
+ "submitBundle": "Download bundle",
295
+ "submitCreateAndBundle": "Create agent & download",
296
+ "method": {
297
+ "sectionTitle": "Deploy method",
298
+ "push": "Push to engine",
299
+ "pushHint": "Send the workflow directly to the running engine over the local network.",
300
+ "bundle": "Download bundle",
301
+ "bundleHint": "Download the deploy bundle and apply it on the device manually.",
302
+ "includeImage": "Also download engine image (.tar)",
303
+ "offlineHint": "Engine is offline — last seen {{time}}. Download the bundle and apply it on the device.",
304
+ "pendingHint": "Engine is still booting after the latest deployment. Download the bundle if you want to re-apply manually.",
305
+ "bootErrorHint": "Engine reported a boot error. Download the bundle and re-apply on the device.",
306
+ "newAgentHint": "A new agent has no running engine yet. Submit creates the agent and downloads the deploy bundle for manual install."
307
+ },
308
+ "redeployHeader": "Redeploy {{workflow}} to {{agent}}",
309
+ "success": {
310
+ "push": "Workflow pushed to engine",
311
+ "bundle": "Deploy bundle downloaded",
312
+ "bundleWithImage": "Bundle and engine image downloaded"
313
+ },
314
+ "warn": {
315
+ "imageFailed": "Engine image download failed",
316
+ "imageFailedDescription": "Bundle was downloaded successfully. You can retry the engine image download from the agent details page."
317
+ },
318
+ "error": {
319
+ "save": "Saving the workflow failed",
320
+ "push": "Push to engine failed",
321
+ "pushUnreachable": "Engine is unreachable — try downloading the bundle instead",
322
+ "pushForbidden": "Engine rejected the request — check agent credentials",
323
+ "bundle": "Bundle download failed"
324
+ },
325
+ "releaseInfo": "Release {{number}}",
326
+ "newRelease": "New release will be created",
327
+ "existingRelease": "Deploying existing release",
328
+ "savingChanges": "Saving changes...",
329
+ "deploying": "Deploying...",
330
+ "deploySuccess": "Deployed successfully",
331
+ "deploySuccessDesc": "Deployed to {{device}}",
332
+ "draftError": "Save your project before deploying"
333
+ },
334
+ "pinMapping": {
335
+ "title": "Map Pins to Board",
336
+ "description": "Drag each IO pin onto a compatible board pin",
337
+ "unassignedPins": "Unassigned Pins",
338
+ "allMapped": "All pins mapped",
339
+ "confirm": "Generate Code",
340
+ "clickToUnassign": "Click to unassign"
341
+ },
342
+ "blocks": {
343
+ "input": "Input",
344
+ "output": "Output",
345
+ "logic": "Logic",
346
+ "math": "Math",
347
+ "ai": "AI",
348
+ "control": "Control",
349
+ "sensor": "Sensor",
350
+ "actuator": "Actuator",
351
+ "communication": "Communication",
352
+ "storage": "Storage",
353
+ "custom": "Custom"
354
+ },
355
+ "add": "Add",
356
+ "cancel": "Cancel",
357
+ "nodes": {
358
+ "ReadPin": {
359
+ "description": "Read data from a pin",
360
+ "params": {
361
+ "pinNumber": {
362
+ "description": "Number of the pin to read"
363
+ },
364
+ "signalType": {
365
+ "description": "Type of signal"
366
+ },
367
+ "outputName": {
368
+ "description": "Name for the generated output variable"
369
+ }
370
+ }
371
+ },
372
+ "SerialRead": {
373
+ "description": "Read a string from serial interface",
374
+ "params": {
375
+ "prompt": {
376
+ "description": "Prompt for the serial read operation"
377
+ },
378
+ "outputName": {
379
+ "description": "Variable name for the read value"
380
+ }
381
+ }
382
+ },
383
+ "Retriever": {
384
+ "description": "Retrieves relevant documents from a knowledge base",
385
+ "params": {
386
+ "memoryReference": {
387
+ "description": "The vector database to search"
388
+ },
389
+ "topK": {
390
+ "description": "Number of results to retrieve"
391
+ },
392
+ "outputName": {
393
+ "description": "Variable name for the retrieved results"
394
+ }
395
+ }
396
+ },
397
+ "WritePin": {
398
+ "description": "Write data to a pin",
399
+ "params": {
400
+ "pinNumber": {
401
+ "description": "Number of the pin to write to"
402
+ },
403
+ "signalType": {
404
+ "description": "Type of signal"
405
+ },
406
+ "value": {
407
+ "description": "Value to write to the pin"
408
+ }
409
+ }
410
+ },
411
+ "SerialWrite": {
412
+ "description": "Write a string to serial interface",
413
+ "params": {
414
+ "value": {
415
+ "description": "Expression for the value to write"
416
+ }
417
+ }
418
+ },
419
+ "OnFunctionCall": {
420
+ "description": "Triggers when this function is called by a function call node"
421
+ },
422
+ "Delay": {
423
+ "description": "Pauses execution for a specified duration and triggers when the delay completes. Other node chains can execute during this pause.",
424
+ "params": {
425
+ "delayMs": {
426
+ "description": "Time in milliseconds to pause"
427
+ }
428
+ }
429
+ },
430
+ "Ticker": {
431
+ "description": "Triggers repeatedly at a fixed interval",
432
+ "params": {
433
+ "intervalValue": {
434
+ "description": "Number of units between ticks"
435
+ },
436
+ "intervalUnit": {
437
+ "description": "Time unit for the interval"
438
+ }
439
+ }
440
+ },
441
+ "Alarm": {
442
+ "description": "Triggers at a scheduled time on selected weekdays",
443
+ "params": {
444
+ "time": {
445
+ "description": "Time of day to trigger (24-hour format)"
446
+ },
447
+ "days": {
448
+ "description": "Weekdays to trigger on (empty = every day)"
449
+ }
450
+ }
451
+ },
452
+ "OnStartup": {
453
+ "description": "Triggers once when the device powers on"
454
+ },
455
+ "OnPinChange": {
456
+ "description": "Triggers when a pin value changes",
457
+ "params": {
458
+ "pinNumber": {
459
+ "description": "Pin number to monitor"
460
+ },
461
+ "outputName": {
462
+ "description": "Variable name that holds the pin value when the trigger fires"
463
+ },
464
+ "mode": {
465
+ "description": "Whether to read the pin as digital or analog"
466
+ },
467
+ "edge": {
468
+ "description": "Which edge transition triggers the event"
469
+ },
470
+ "threshold": {
471
+ "description": "Analog threshold value (0-1023)"
472
+ },
473
+ "direction": {
474
+ "description": "Direction of threshold crossing that triggers the event"
475
+ }
476
+ }
477
+ },
478
+ "OnSerialReceive": {
479
+ "description": "Triggers when serial data arrives"
480
+ },
481
+ "OnThreshold": {
482
+ "description": "Triggers when an expression value crosses a threshold",
483
+ "params": {
484
+ "value": {
485
+ "description": "Expression to monitor"
486
+ },
487
+ "threshold": {
488
+ "description": "Threshold value"
489
+ },
490
+ "direction": {
491
+ "description": "Direction of threshold crossing that triggers the event"
492
+ }
493
+ }
494
+ },
495
+ "Agent": {
496
+ "description": "AI-powered agent for intelligent processing",
497
+ "params": {
498
+ "name": {
499
+ "description": "Name of the agent"
500
+ },
501
+ "model": {
502
+ "description": "AI model for the cloud agent"
503
+ },
504
+ "instructions": {
505
+ "description": "Instructions for the cloud agent as system prompt"
506
+ }
507
+ }
508
+ },
509
+ "If": {
510
+ "description": "Conditional branching based on boolean expression",
511
+ "params": {
512
+ "condition": {
513
+ "description": "Boolean expression (e.g. ${Input_1.value} > 50)"
514
+ }
515
+ }
516
+ },
517
+ "SetVariable": {
518
+ "description": "Assign a new value to an existing variable",
519
+ "params": {
520
+ "variable": {
521
+ "description": "The variable to update"
522
+ },
523
+ "value": {
524
+ "description": "Expression to assign"
525
+ }
526
+ }
527
+ },
528
+ "WebSearchTool": {
529
+ "description": "Provides web search functionality for connected agents",
530
+ "params": {
531
+ "maxResults": {
532
+ "description": "Maximum number of search results to return"
533
+ },
534
+ "searchDomain": {
535
+ "description": "Optional domain to restrict the search"
536
+ }
537
+ }
538
+ }
539
+ },
540
+ "edges": {
541
+ "agentTask": {
542
+ "description": "Assigns a task with a prompt to an agent"
543
+ },
544
+ "agentChoice": {
545
+ "description": "A path the agent can choose based on its description"
546
+ },
547
+ "agentDelegate": {
548
+ "description": "Allows an agent to hand off control to another agent"
549
+ },
550
+ "control": {
551
+ "description": "Sequential control flow between nodes"
552
+ },
553
+ "tool": {
554
+ "description": "Tool connection between nodes"
555
+ }
556
+ }
557
+ }
@@ -0,0 +1,9 @@
1
+ export { WorkflowBuilder } from "./WorkflowBuilder";
2
+ export type { WorkflowBuilderProps, WorkflowBuilderHandle } from "./WorkflowBuilder";
3
+ export type { BuilderMode } from "./WorkflowBuilder";
4
+ export type { DebugSessionPhase } from "./stores/debugStore";
5
+ export type { ValidationResult, Diagnostic, CanvasValidationResult } from "@foresthubai/workflow-core/diagnostics";
6
+ export { default as ValidationDialog } from "./dialogs/ValidationDialog";
7
+ export { toast } from "./hooks/use-toast";
8
+ export type { ApiWorkflow as Workflow } from "@foresthubai/workflow-core/workflow";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAGrF,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAInH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAOzE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,YAAY,EAAE,WAAW,IAAI,QAAQ,EAAE,MAAM,qCAAqC,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ // Main component + its contract
2
+ export { WorkflowBuilder } from "./WorkflowBuilder";
3
+ // The validation dialog the builder renders on validate(). Also exported for
4
+ // embedders that drive their own validation flow.
5
+ export { default as ValidationDialog } from "./dialogs/ValidationDialog";
6
+ // Post a toast to the builder's notification surface. The builder mounts its own
7
+ // <Toaster> (for internal notices like singleton-node rejection); exporting this
8
+ // lets the embedder render host-level notices (save/load errors) in the SAME
9
+ // toaster, so they share one style and one surface. shadcn API:
10
+ // toast({ title, description?, variant?: "default" | "destructive" }).
11
+ export { toast } from "./hooks/use-toast";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAapD,6EAA6E;AAC7E,kDAAkD;AAClD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,iFAAiF;AACjF,iFAAiF;AACjF,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { DataType, Expression } from "@foresthubai/workflow-core";
2
+ import { type Variable } from "@foresthubai/workflow-core/variable";
3
+ interface ExpressionInputProps {
4
+ value: Expression;
5
+ onChange: (value: Expression) => void;
6
+ expressionType: DataType;
7
+ availableVariables: Record<string, Variable>;
8
+ placeholder?: string;
9
+ }
10
+ declare const ExpressionInput: ({ value: apiValue, onChange, expressionType, availableVariables, placeholder, }: ExpressionInputProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default ExpressionInput;
12
+ //# sourceMappingURL=ExpressionInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpressionInput.d.ts","sourceRoot":"","sources":["../../src/inputs/ExpressionInput.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAa,MAAM,4BAA4B,CAAC;AAElF,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK5E,UAAU,oBAAoB;IAC5B,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,cAAc,EAAE,QAAQ,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,eAAe,GAAI,iFAMtB,oBAAoB,4CA8QtB,CAAC;AAEF,eAAe,eAAe,CAAC"}