@fluidgrids/fe-sdk 0.0.0-stage → 2026.1203.7

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 (323) hide show
  1. package/README.md +564 -2
  2. package/dist/ActivityOptionsFields-C2u-hY2U.js +142 -0
  3. package/dist/AiStudioPage-B_hNTj-_.js +1137 -0
  4. package/dist/ApprovalInboxPage-ClITra3n.js +1312 -0
  5. package/dist/ChoiceSelect-LkK-uS9J.js +65 -0
  6. package/dist/ConfirmActionDialog-DHWTDRbp.js +31 -0
  7. package/dist/ConnectionFormDialog-C0kDgcrZ.js +153 -0
  8. package/dist/CreateFluidgridsTagDocument-Dtp9KPLJ.js +1055 -0
  9. package/dist/DataSinkDashboardPage-b4ezeqa6.js +278 -0
  10. package/dist/DataTablesPage-C1d9YGHz.js +5575 -0
  11. package/dist/DateTimeField-B1qR4ruo.js +51 -0
  12. package/dist/Disclosure-BNKij7-v.js +45 -0
  13. package/dist/ElementLibraryPage-8jNO6YmE.js +2256 -0
  14. package/dist/ElementLibrarySequenceDocument-B-W8SPzn.js +3979 -0
  15. package/dist/EnsureThemeProvider-BvlNjAd0.js +24 -0
  16. package/dist/EntityTagBadge-1OlP6p0c.js +25 -0
  17. package/dist/EntityTagPicker-BBrU5cE0.js +137 -0
  18. package/dist/ExecuteStepDocument-B4j1mdRT.js +189 -0
  19. package/dist/ExecutionDetailDocument-D6QuM-kp.js +875 -0
  20. package/dist/ExecutionDetailPage-D4CBtFdo.js +12217 -0
  21. package/dist/ExecutionDetailPage-DvQ667OE.d.ts +10 -0
  22. package/dist/ExecutionStatusBadge-BsDVor9t.js +221 -0
  23. package/dist/ExecutionsListDocument-Dan7ZiqB.js +459 -0
  24. package/dist/ExecutionsListPage-B3XT8ITL.js +4307 -0
  25. package/dist/FailureTriagePanel-DOJMaJ0n.js +1285 -0
  26. package/dist/FileDownloadUrlDocument-CVOYKcL5.js +92 -0
  27. package/dist/FluidGridsDocsLink-bX0Hnhxr.js +66 -0
  28. package/dist/FluidGridsMark-CE2blT7K.js +74 -0
  29. package/dist/HeldLoadRegion-BtTxbvOW.js +34 -0
  30. package/dist/HistoryPage-BLoRpJ1R.d.ts +6 -0
  31. package/dist/HistoryPage-BSBISXoj.js +2835 -0
  32. package/dist/Icon-BtQ0HXLh.js +160 -0
  33. package/dist/InsightsPage-D7ybj8N9.js +11245 -0
  34. package/dist/IsolationSetting-vy911E8b.js +1153 -0
  35. package/dist/LibraryParts-DOeNgR8A.js +413 -0
  36. package/dist/ManagedAiPolicyAuthority-BxwJ3ptd.js +40 -0
  37. package/dist/ManagedAiPolicyAuthority-DM3t3wNr.d.ts +18 -0
  38. package/dist/ManagedAiPolicyAuthorityContext-CNkxIOZ1.js +10 -0
  39. package/dist/McpTriggerServers-BCPCAOWB.js +459 -0
  40. package/dist/MissingNodesInstallModal-rO_SEDrC.js +224 -0
  41. package/dist/NavigationV2Provider-DCDt35eG.js +17 -0
  42. package/dist/NodeSchemaIntrospectionDocument-C1vAIcHd.js +95 -0
  43. package/dist/NodesPage-DEbnz9iU.d.ts +6 -0
  44. package/dist/NodesPage-O7KeeKtd.js +653 -0
  45. package/dist/OfflineIcon-TwMKYWjA.js +207 -0
  46. package/dist/OpenTemplateAsCodeButton-BhWJWIF3.js +94 -0
  47. package/dist/PaidTemplateConfirm-_G3ag6S4.js +28 -0
  48. package/dist/PublishCustomNodeAction-CIySbK4c.js +134 -0
  49. package/dist/RecordTaskDialog-BkpCDvhR.js +2078 -0
  50. package/dist/RunActionsMenu-DodOgIQm.js +59 -0
  51. package/dist/RunnerStatusPill-C1v967iq.js +24 -0
  52. package/dist/RunnersPage-dB0RSdY_.js +1929 -0
  53. package/dist/SandboxRuntimeExhaustedNotice-BFOIF93C.js +120 -0
  54. package/dist/SchedulesPage-DPWr1yvf.js +1607 -0
  55. package/dist/SearchBox-BGtYjvfs.js +49 -0
  56. package/dist/SequenceEditor-CFiHeHkR.js +497 -0
  57. package/dist/SettingsPage-0CQBNPZV.js +8695 -0
  58. package/dist/StewardPages-DAJhepen.js +47 -0
  59. package/dist/StewardRunImportPanel-Kva2DO0u.js +2844 -0
  60. package/dist/StoreTemplateCardCompact-CHn5kP7A.js +2166 -0
  61. package/dist/TagFilterSelect-CyA8QrS7.js +42 -0
  62. package/dist/TaskQueuesPage-DdnDCyat.js +3571 -0
  63. package/dist/TechnicalDetails-B0Oi4aZw.js +19 -0
  64. package/dist/TemplateConfigurationModal-CdvCYJLM.js +332 -0
  65. package/dist/TemplateDetailPanel-CbiKciuB.js +222 -0
  66. package/dist/TemplatePreview-cx7-NOeG.js +868 -0
  67. package/dist/TemplatesPage-BG3H-6v6.d.ts +10 -0
  68. package/dist/TemplatesPage-BVQpGYIV.js +3251 -0
  69. package/dist/TerminateExecutionDocument-B_HKNVrN.js +581 -0
  70. package/dist/TranslationBridge-Bd4aJKMs.d.ts +11 -0
  71. package/dist/TranslationBridge-Da-TPgQm.js +68 -0
  72. package/dist/TriggerWorkflowDocument-D9Km2Vv2.js +460 -0
  73. package/dist/UiSequencePickerSequenceDocument-BSYnSDV7.js +607 -0
  74. package/dist/UiStepScreenshot-Qh4QMyUp.js +146 -0
  75. package/dist/UsageTimeSeriesDocument-DcInx9-z.js +177 -0
  76. package/dist/VariablesPage-ChfGuW22.js +2243 -0
  77. package/dist/VersionDiffDialog-Bd2AeUwf.js +1702 -0
  78. package/dist/VersionLifecycleBar-BBeWVtz-.js +143 -0
  79. package/dist/WebhookDeliveriesPage-D66bua0j.js +1563 -0
  80. package/dist/WorkflowBuilder-B6wQD1TK.js +539 -0
  81. package/dist/WorkflowBuilder-DR4ku8Tr.js +1611 -0
  82. package/dist/WorkflowDefinitionDocument-DZLbTPUZ.js +321 -0
  83. package/dist/WorkflowEmbed-BXfFGy0i.js +708 -0
  84. package/dist/WorkflowEmbed-Cbqe1s1z.d.ts +6 -0
  85. package/dist/WorkflowPinnedDataDocument-BODT5omd.js +782 -0
  86. package/dist/WorkflowProposalCard-BruukdeF.js +96 -0
  87. package/dist/WorkflowProposalDocument-BdUbsrd0.js +620 -0
  88. package/dist/WorkflowSearchRedirect-C7zJ2MKH.js +40 -0
  89. package/dist/WorkflowSettingsDrawer-MVU1BKfY.d.ts +18 -0
  90. package/dist/WorkflowSettingsDrawer-gazs97WR.js +196 -0
  91. package/dist/WorkflowShareDialog-e8jJtLjU.js +469 -0
  92. package/dist/WorkflowVersionsDocument-DRVOp8Uj.js +3213 -0
  93. package/dist/WorkflowsList--hR2_8gf.js +4593 -0
  94. package/dist/WorkflowsList-CcNDQge5.d.ts +6 -0
  95. package/dist/WorkflowsListPageDocument-CnzcQm_o.js +934 -0
  96. package/dist/addonCatalog-CbZS4deh.js +58 -0
  97. package/dist/addonCatalog-sjlonAmR.d.ts +15 -0
  98. package/dist/addons.d.ts +3 -0
  99. package/dist/addons.js +4 -0
  100. package/dist/agent-form-Bfvm32j1.js +83 -0
  101. package/dist/agent-tools.d.ts +3 -0
  102. package/dist/agent-tools.js +5 -0
  103. package/dist/agentTools-CyL7DLOF.js +320 -0
  104. package/dist/ai-usage-BrxDgvdR.js +240 -0
  105. package/dist/aiCreditsBridge-BuE92tKo.js +49 -0
  106. package/dist/api-BKq-nIOZ.js +2286 -0
  107. package/dist/api-Ol7I8NxE.js +8289 -0
  108. package/dist/apollo-type-policies.d.ts +11 -0
  109. package/dist/apollo-type-policies.js +64 -0
  110. package/dist/askAboutBridge-ByYsQams.js +106 -0
  111. package/dist/askQuestions-Cmx7VnMm.js +742 -0
  112. package/dist/assert-rules-lfYEMc99.js +318 -0
  113. package/dist/assistant.d.ts +94 -0
  114. package/dist/assistant.js +99 -0
  115. package/dist/attach-node-helpers-HDKQOtrD.js +32 -0
  116. package/dist/badge-CXfPhoMH.js +26 -0
  117. package/dist/basil.generated-BK-EHbwN.js +10 -0
  118. package/dist/browser-steps-DMpS5TyB.js +533 -0
  119. package/dist/builderTimings-pvGnK1m-.js +510 -0
  120. package/dist/button-DG7y_FVJ.js +48 -0
  121. package/dist/canvasNoteTools-BxuP_AYO.js +137 -0
  122. package/dist/card-Bomy_1UG.js +44 -0
  123. package/dist/catalogGrid-BOrfMgi-.js +41 -0
  124. package/dist/channel-CPyQ1NR1.js +212 -0
  125. package/dist/chips-CvNrYJZa.js +27 -0
  126. package/dist/client-holder-C0M5Cfwl.js +68 -0
  127. package/dist/cn-QqidFIgr.js +10 -0
  128. package/dist/code-editor-diagnostics-Zr0cIcx1.js +46 -0
  129. package/dist/code-editor-field-x_JrY8KR.js +113 -0
  130. package/dist/codec-client-DPuD6mw7.js +515 -0
  131. package/dist/conditionBuilder-DwfEF0Q-.js +1144 -0
  132. package/dist/config-DO68jw5k.js +322 -0
  133. package/dist/constants-DgbVc24O.d.ts +296 -0
  134. package/dist/constants-DlRnHBfQ.js +217 -0
  135. package/dist/convert-browser-action-pfecelF7.js +347 -0
  136. package/dist/convert-dialog-B_o22NiJ.js +382 -0
  137. package/dist/create-workflow-first-Azg3JUdX.js +120 -0
  138. package/dist/definition-canvas-Bsda-rDT.js +31 -0
  139. package/dist/dialog-BVd152GS.js +94 -0
  140. package/dist/durable-nodes-BXyYCLxT.js +91 -0
  141. package/dist/duration-CDb7-mT_.js +33 -0
  142. package/dist/edge-mapper-wEAdGVU2.js +4477 -0
  143. package/dist/element-library-DkSlg_VE.js +727 -0
  144. package/dist/entities-I_0kio3q.js +38 -0
  145. package/dist/error-advice-QLr5NCm7.js +65 -0
  146. package/dist/errors-ClKb5sEt.js +188 -0
  147. package/dist/executions.d.ts +3 -0
  148. package/dist/executions.js +5 -0
  149. package/dist/feature-flags-B2qetXKd.js +385 -0
  150. package/dist/field-label-DPZRmE_B.js +153 -0
  151. package/dist/firstWorkflow-C_h0KMB2.js +133 -0
  152. package/dist/flags.d.ts +3 -0
  153. package/dist/flags.js +4 -0
  154. package/dist/flow-builder-DIvLOhz0.js +28038 -0
  155. package/dist/flow-store-holder-CUN7Terz.js +52 -0
  156. package/dist/fluent.generated-CA_e6-4l.js +14 -0
  157. package/dist/fluidgridsEvents-bbEQbwU6.js +175 -0
  158. package/dist/fluidgridsTheme-DUhvOgoy.js +297 -0
  159. package/dist/global-client-BQPuFrFa.js +433 -0
  160. package/dist/global-operations-BG6YgxrM.js +136 -0
  161. package/dist/graphql-types-UTYtujY9.js +21358 -0
  162. package/dist/history.d.ts +3 -0
  163. package/dist/history.js +4 -0
  164. package/dist/index-AoJAa5vU.d.ts +164958 -0
  165. package/dist/index-DEMT3iAM.d.ts +120 -0
  166. package/dist/index-ROZzNGyY.d.ts +76 -0
  167. package/dist/index.d.ts +20 -0
  168. package/dist/index.js +8123 -0
  169. package/dist/ion.generated-mbajjcAg.js +10 -0
  170. package/dist/label-Lzb8ZXf_.js +29 -0
  171. package/dist/labels-rXd9gYQz.js +1236 -0
  172. package/dist/liveCanvas-D5ytXDp8.js +103 -0
  173. package/dist/logos.generated-X6_0kjVR.js +21 -0
  174. package/dist/logs-panel-Cw0DkG0l.js +468 -0
  175. package/dist/lucide.generated-B6NVd3GT.js +29 -0
  176. package/dist/marksStore-a9oIMMot.js +175 -0
  177. package/dist/mcp-trigger-D0nRdvq5.js +307 -0
  178. package/dist/mdi.generated-D1BV74d6.js +292 -0
  179. package/dist/menus-CU3hDGYl.js +160 -0
  180. package/dist/mynaui.generated-DMWr5cXz.js +66 -0
  181. package/dist/navigation-v2.d.ts +3 -0
  182. package/dist/navigation-v2.js +5 -0
  183. package/dist/node-detail-view-Cgm5H1P-.js +1372 -0
  184. package/dist/node-editor-tab-body-CZ0fVuVP.js +187 -0
  185. package/dist/node-operation-selection-CdV3KI_V.js +3534 -0
  186. package/dist/node-registry-refresh-s3okf83X.js +27 -0
  187. package/dist/node-role-TMbnkmeP.js +132 -0
  188. package/dist/node-type-icon-BZa8n4iG.js +33 -0
  189. package/dist/nodes.d.ts +3 -0
  190. package/dist/nodes.js +4 -0
  191. package/dist/notesKey-5EaREBGA.js +12 -0
  192. package/dist/observability.d.ts +3 -0
  193. package/dist/observability.js +5 -0
  194. package/dist/offset-pages-zghoClB3.js +55 -0
  195. package/dist/operations-BBmT9ToP.js +663 -0
  196. package/dist/operations-WxRJWeqO.js +3133 -0
  197. package/dist/output-files-Ba8bu5lv.js +196 -0
  198. package/dist/page-operation-DrWuhd6Y.js +129 -0
  199. package/dist/page-twins.d.ts +13 -0
  200. package/dist/page-twins.js +186 -0
  201. package/dist/pageControlSpecs-DZJ9K37m.js +134 -0
  202. package/dist/pageControlsBridge-0pX9s-3k.js +54 -0
  203. package/dist/pageControlsBridge-DAuT3w7L.d.ts +36 -0
  204. package/dist/panels-PfBBAToE.js +346 -0
  205. package/dist/parts-B7fBcw-B.js +346 -0
  206. package/dist/popover-Dms9Vz3j.js +3389 -0
  207. package/dist/preloadable-lazy-Pp47mqQ9.js +65 -0
  208. package/dist/proactive.d.ts +66 -0
  209. package/dist/proactive.js +237 -0
  210. package/dist/quick-config-panel-DFd77xho.js +451 -0
  211. package/dist/quota-DeA_CJ2e.js +175 -0
  212. package/dist/quota.d.ts +3 -0
  213. package/dist/quota.js +4 -0
  214. package/dist/read-only-context-Dt9N9SIG.js +18 -0
  215. package/dist/relative-time-Dxt8ZIIu.js +55 -0
  216. package/dist/results-CwK_yDxK.js +325 -0
  217. package/dist/rolldown-runtime-hDbaFkMy.js +18 -0
  218. package/dist/route-data.d.ts +12 -0
  219. package/dist/route-data.js +69 -0
  220. package/dist/route-match-C-0_EnAt.d.ts +5 -0
  221. package/dist/route-match-DMkUICYV.js +41 -0
  222. package/dist/route-preload-C4DlGoCd.js +120 -0
  223. package/dist/run-display-UjLAoYqQ.js +81 -0
  224. package/dist/run-history-arGiHzGU.js +285 -0
  225. package/dist/run-list-links-DJn4Mf1T.js +98 -0
  226. package/dist/run-mode-USmM0-Uo.js +82 -0
  227. package/dist/run-parity-CWXqEJqM.js +144 -0
  228. package/dist/runsQuota-B6SyTbne.js +100 -0
  229. package/dist/runsQuota-DsniKiSg.d.ts +20 -0
  230. package/dist/safe-expression-Cw7-SCsm.js +1251 -0
  231. package/dist/save-status-store-C7nEYpfb.js +631 -0
  232. package/dist/schedule-panel-B4GYXzXQ.js +13774 -0
  233. package/dist/schedule-rules-ggVKRkBH.js +358 -0
  234. package/dist/secrets-Re_wSiE3.js +153 -0
  235. package/dist/settings.d.ts +4 -0
  236. package/dist/settings.js +6 -0
  237. package/dist/shared-DAWGGMSM.js +177 -0
  238. package/dist/sidebar-node-editor-6eSSgCzc.js +178 -0
  239. package/dist/solar.generated-CGYuUQAC.js +10 -0
  240. package/dist/stableTabbedDialog-BBhrfXGe.js +20 -0
  241. package/dist/start-url-CT6Yz96K.js +24 -0
  242. package/dist/status-CessxGpm.js +55 -0
  243. package/dist/store-icon-OctYp5zP.js +155 -0
  244. package/dist/styles-WGmTnZ2n.js +26 -0
  245. package/dist/styles.css +139 -0
  246. package/dist/svg-spinners.generated-CIPT7IhM.js +10 -0
  247. package/dist/template-code-CzN6JWNV.js +191 -0
  248. package/dist/template-graph-DLF9dygU.js +20 -0
  249. package/dist/template-preview-DcIIKOOL.js +32 -0
  250. package/dist/template-price-CdUHZRMF.js +40 -0
  251. package/dist/templates.d.ts +3 -0
  252. package/dist/templates.js +5 -0
  253. package/dist/theme-provider-CntfC4_i.js +23 -0
  254. package/dist/transient-DgZfhDfN.js +57 -0
  255. package/dist/typed-calls-C5tO03wq.js +26 -0
  256. package/dist/ui-script-By74Guk3.js +1094 -0
  257. package/dist/ui-script-editor-CqPu2bCN.js +2447 -0
  258. package/dist/ui-step-fix-8uM2_Hft.js +67 -0
  259. package/dist/ui-step-fix-store-CcO1FdRx.js +19 -0
  260. package/dist/ui-step-run-context-o7bLE6KP.js +46 -0
  261. package/dist/ui-target-editor-D2JhB_lD.js +673 -0
  262. package/dist/uiMarkTools-CSznnO1i.js +1054 -0
  263. package/dist/upgradePrompt-BAFBKKW5.js +72 -0
  264. package/dist/use-bare-node-registry-O6mKJO_n.js +11498 -0
  265. package/dist/use-browser-available-hj8wc3Kb.js +241 -0
  266. package/dist/use-edge-mapper-schemas-Bonofxow.js +496 -0
  267. package/dist/use-extension-bridge-B9ZreOkQ.js +608 -0
  268. package/dist/use-mobile-BTqCUjzS.js +27 -0
  269. package/dist/use-sdk-query-C697xZVv.js +116 -0
  270. package/dist/use-workflow-code-editor-CFoRFrZ5.js +753 -0
  271. package/dist/useActionParam-B2tU2BlY.js +85 -0
  272. package/dist/useAgentTokenStream-Bko_J0d0.js +4217 -0
  273. package/dist/useBrowserClients-3v95-gSh.js +103 -0
  274. package/dist/useCodeWorkflowInsights-w0tz9Ap_.js +600 -0
  275. package/dist/useConnections-DsgEJs05.js +439 -0
  276. package/dist/useDebouncedValue-BFekcv6n.js +18 -0
  277. package/dist/useDurableParity-8fnMZmBc.js +1787 -0
  278. package/dist/useEntityTags-D0spL6Ut.js +460 -0
  279. package/dist/useExecutions-2u5nGJJk.js +681 -0
  280. package/dist/useFluidGridsAnalytics-VM8lAi2x.js +238 -0
  281. package/dist/useGlobalStoreClient-BTdhkA2I.js +24 -0
  282. package/dist/useHumanRequests-zlYDp3l1.js +221 -0
  283. package/dist/useNavigationV2-C2WeqN7d.js +29 -0
  284. package/dist/useNavigationV2-DANUmg12.d.ts +9 -0
  285. package/dist/useObservability-BRlQ0tOA.js +285 -0
  286. package/dist/useRequestedProposal-B7uPXfZB.js +51 -0
  287. package/dist/useRunHistory-CXCMUPyf.js +2759 -0
  288. package/dist/useRunLive-D0JvVZT2.js +1060 -0
  289. package/dist/useRunnerList-Dbi59i1K.js +446 -0
  290. package/dist/useRunners-URUc5quU.js +173 -0
  291. package/dist/useRunsPage-DG656UCK.js +2709 -0
  292. package/dist/useVariables-BIelxcWr.js +463 -0
  293. package/dist/useVersionHistoryData-CTjqVw7l.js +292 -0
  294. package/dist/useWorkflowCodeExport-pqxyLHD1.js +522 -0
  295. package/dist/useWorkflowListExport-hcZNvTaB.js +232 -0
  296. package/dist/useWorkflowOrganization-CpBbOrs7.js +1772 -0
  297. package/dist/useWorkflowProposal-BH0VdNMA.js +3280 -0
  298. package/dist/useWorkflows-Cvg-Z_IE.js +1606 -0
  299. package/dist/utils-fvBb5qOD.js +89 -0
  300. package/dist/webhook-deliveries-AvQujaZy.js +99 -0
  301. package/dist/workflow-builder-CJygVkVv.d.ts +2 -0
  302. package/dist/workflow-builder.d.ts +3 -0
  303. package/dist/workflow-builder.js +8 -0
  304. package/dist/workflow-code-transfer-Bsy0JKAZ.js +323 -0
  305. package/dist/workflow-embed.d.ts +3 -0
  306. package/dist/workflow-embed.js +4 -0
  307. package/dist/workflow-git-sync--K9ZsPDC.js +263 -0
  308. package/dist/workflow-host.d.ts +6 -0
  309. package/dist/workflow-host.js +11 -0
  310. package/dist/workflow-pages-D-7ByLTB.d.ts +68 -0
  311. package/dist/workflow-pages.d.ts +3 -0
  312. package/dist/workflow-pages.js +115 -0
  313. package/dist/workflow-preview-canvas-CO8yzdE3.js +848 -0
  314. package/dist/workflow-preview.d.ts +65 -0
  315. package/dist/workflow-preview.js +4 -0
  316. package/dist/workflow-route.d.ts +33 -0
  317. package/dist/workflow-route.js +4 -0
  318. package/dist/workflow-save-state-D0l-DkLf.js +767 -0
  319. package/dist/workflow-transfer-CQnQC-ke.js +104 -0
  320. package/dist/workflowRouteData-BkfVOc-O.js +169 -0
  321. package/dist/workflows-list.d.ts +10 -0
  322. package/dist/workflows-list.js +5 -0
  323. package/package.json +320 -4
package/README.md CHANGED
@@ -1,3 +1,565 @@
1
- # Temporary Holding Version
1
+ # @fluidgrids/fe-sdk
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Operations with several credential adapters render a separate connection picker for each
4
+ adapter role. Selecting, replacing, creating, or removing one role's connection preserves
5
+ the other roles in `args.connections`, including when two roles share a provider or account.
6
+ Consumers opting into `multiple` can select several accounts per role without discarding
7
+ the other accounts; the builder's default remains one account per role.
8
+ Provider matching uses the declared provider key (or legacy adapter identity), not substring
9
+ or category matches. The builder does not assume every declared adapter is mandatory:
10
+ some operations declare alternative backends. Authentication and connection creation remain
11
+ in the shared `@burdenoff/fe-libs/connections` dialog for every supported method.
12
+
13
+ An explicitly selected operation is authoritative on every node card and in saved workflow
14
+ state. Legacy graph-position defaults only initialize nodes without an operation; moving
15
+ or connecting a configured node does not change its operation. Specialized property panels
16
+ declare which operations they support; other operations use their manifest-driven form.
17
+
18
+ FluidGrids Workflow Builder SDK - Embeddable visual workflow automation for React applications.
19
+
20
+ ## Loop Compatibility
21
+
22
+ Loop Reset accepts a boolean or boolean expression. New nodes installed from the
23
+ updated registry persist `batchSize: 1` and `reset: false`; saved explicit values
24
+ and legacy definitions omitting batch size keep their existing behavior (10).
25
+ The shared parameter editors distinguish missing return paths from possible
26
+ conditional exits without rejecting intentional exits. Reset clears the current
27
+ batch/results but not its safety budget. Existing output envelopes are unchanged.
28
+ BOFF-7415's cycle-authoring/continuation fix is required for general loop bodies;
29
+ these Reset controls do not replace that fix. Item-level lineage is not provided.
30
+
31
+ ## Installation
32
+
33
+ ```bash
34
+ npm install @fluidgrids/fe-sdk
35
+ # or
36
+ bun add @fluidgrids/fe-sdk
37
+ ```
38
+
39
+ ## Quick Start
40
+
41
+ ### Standalone Workflow Builder
42
+
43
+ Use `WorkflowBuilder` when you want a self-contained workflow builder with its own Apollo client:
44
+
45
+ ```tsx
46
+ import { WorkflowBuilder } from "@fluidgrids/fe-sdk";
47
+ import "@fluidgrids/fe-sdk/styles.css";
48
+
49
+ function App() {
50
+ return (
51
+ <WorkflowBuilder
52
+ apiGatewayUrl={process.env.NEXT_PUBLIC_FLUIDGRIDS_API_URL!}
53
+ authToken="your-auth-token"
54
+ workspaceId="your-workspace-id"
55
+ onSave={(workflow) => {
56
+ console.log("Workflow saved:", workflow);
57
+ }}
58
+ onExecute={(runId) => {
59
+ console.log("Execution started:", runId);
60
+ }}
61
+ />
62
+ );
63
+ }
64
+ ```
65
+
66
+ ### Full Workflow Module with Routing
67
+
68
+ Use `FluidGridsRoot` for complete workflow management including list, builder, runs, and credentials:
69
+
70
+ ```tsx
71
+ import { FluidGridsRoot } from "@fluidgrids/fe-sdk";
72
+ import "@fluidgrids/fe-sdk/styles.css";
73
+ import { useNavigate } from "react-router-dom";
74
+
75
+ function App() {
76
+ const navigate = useNavigate();
77
+
78
+ return (
79
+ <FluidGridsRoot
80
+ basePath="/workflows"
81
+ apiGatewayUrl={process.env.NEXT_PUBLIC_FLUIDGRIDS_API_URL!}
82
+ authToken="your-auth-token"
83
+ workspaceId="your-workspace-id"
84
+ navigate={(path) => navigate(path)}
85
+ onWorkflowSave={(workflow) => {
86
+ console.log("Workflow saved:", workflow);
87
+ }}
88
+ />
89
+ );
90
+ }
91
+ ```
92
+
93
+ ### Core Builder (BYO Apollo Client)
94
+
95
+ Use `WorkflowBuilderCore` when you want to provide your own Apollo client:
96
+
97
+ ```tsx
98
+ import {
99
+ WorkflowBuilderCore,
100
+ FluidGridsProvider,
101
+ } from "@fluidgrids/fe-sdk";
102
+ import { ApolloProvider } from "@apollo/client";
103
+ import { yourApolloClient } from "./apollo";
104
+
105
+ function App() {
106
+ return (
107
+ <FluidGridsProvider
108
+ apiGatewayUrl={process.env.NEXT_PUBLIC_FLUIDGRIDS_API_URL!}
109
+ authToken="your-auth-token"
110
+ workspaceId="your-workspace-id"
111
+ trustedOrigins={[window.location.origin]}
112
+ apolloClient={yourApolloClient}
113
+ >
114
+ <WorkflowBuilderCore
115
+ workflow={yourWorkflowData}
116
+ onSave={(workflow) => console.log("Saved:", workflow)}
117
+ />
118
+ </FluidGridsProvider>
119
+ );
120
+ }
121
+ ```
122
+
123
+ ## Mapping Input Data
124
+
125
+ The node detail view and quick-config mapper use the selected upstream node's
126
+ output from the loaded run, falling back to its declared output schema when no
127
+ output is available. Store/GraphQL operation-name wrappers remain part of mapping
128
+ paths; `internal:*` output stays flat. Switching sources also switches the data
129
+ used by the mapper. The node detail view keeps the target's post-mapping values
130
+ under **Executed parameters (read-only)**; those values are not upstream paths.
131
+
132
+ Declared fields with `oneOf` or `anyOf` show each supported shape as an expandable
133
+ branch, including nested objects and array items. Shape labels are display-only:
134
+ dragging a child retains its actual operation-wrapped path, with no variant label
135
+ inserted into the expression. Once a run supplies output, the tree reflects that
136
+ actual value instead. This is schema visualization, not JSON Schema validation;
137
+ catalog field updates still require publication and a fresh node installation.
138
+
139
+ ## Optional Boolean Inputs
140
+
141
+ Both property panels provide **Not set** beside optional boolean checkboxes.
142
+ Choosing it removes that field from the node's fixed state; the operation's
143
+ existing omitted-input behavior then applies. Checking or unchecking still
144
+ stores explicit `true` or `false`. Rendering, opening and saving do not reset
145
+ existing values or defaults automatically. As with other fixed edits, unsetting
146
+ also clears that field's stale incoming mappings, without changing other fields'
147
+ mappings. Required booleans, expression controls and dynamic option controls
148
+ retain their existing behavior. Keyboard focus stays on the action after unset.
149
+
150
+ ## API Reference
151
+
152
+ ### WorkflowBuilder Props
153
+
154
+ | Prop | Type | Required | Description |
155
+ | ----------------- | -------------------- | -------- | ------------------------- |
156
+ | `apiGatewayUrl` | `string` | Yes | Workspace API Gateway URL |
157
+ | `authToken` | `string` | No | Authentication token |
158
+ | `workspaceId` | `string` | Yes | Current workspace ID |
159
+ | `tenantId` | `string` | No | Current tenant ID |
160
+ | `workflowId` | `string` | No | Workflow ID to load |
161
+ | `workflowVersion` | `string` | No | Workflow version to load |
162
+ | `initialWorkflow` | `WorkflowData` | No | Initial workflow data |
163
+ | `readonly` | `boolean` | No | Disable editing |
164
+ | `hideHeader` | `boolean` | No | Hide the header toolbar |
165
+ | `hideSidebar` | `boolean` | No | Hide the sidebar |
166
+ | `hideLogsPanel` | `boolean` | No | Hide the logs panel |
167
+ | `onSave` | `(workflow) => void` | No | Save callback |
168
+ | `onExecute` | `(runId) => void` | No | Execute callback |
169
+ | `onNodeClick` | `(node) => void` | No | Node click callback |
170
+ | `onBack` | `() => void` | No | Back button callback |
171
+ | `className` | `string` | No | Custom CSS class |
172
+
173
+ ### FluidGridsRoot Props
174
+
175
+ | Prop | Type | Required | Description |
176
+ | ------------------- | ----------------------------- | -------- | ------------------------- |
177
+ | `basePath` | `string` | No | Base path for routing |
178
+ | `apiGatewayUrl` | `string` | Yes | Workspace API Gateway URL |
179
+ | `authToken` | `string` | No | Authentication token |
180
+ | `workspaceId` | `string` | Yes | Current workspace ID |
181
+ | `tenantId` | `string` | No | Current tenant ID |
182
+ | `currentUser` | `User` | No | Current user info |
183
+ | `navigate` | `(path) => void` | No | Navigation function |
184
+ | `readonly` | `boolean` | No | Global readonly mode |
185
+ | `onWorkflowSave` | `(workflow) => void` | No | Save callback |
186
+ | `onWorkflowExecute` | `(runId, workflowId) => void` | No | Execute callback |
187
+ | `className` | `string` | No | Custom CSS class |
188
+
189
+ ## JSON edge mappings
190
+
191
+ Incoming edge mappings support JSON values, including nested arrays/objects and
192
+ literal `false`, `0`, and `null`. Both quick-config and Node Detail View preserve
193
+ these types and nested expressions. String mappings retain the expression editor.
194
+ For a JSON mapping, select **Apply mapping** before saving the workflow; **Reset**
195
+ discards the draft. Invalid or unapplied drafts do not replace the saved mapping.
196
+ Switching to fixed mode removes that field's mapping from all incoming edges.
197
+
198
+ ## Assistant page controls (optional)
199
+
200
+ Hosts that run an AI assistant can let people say "show failed runs" or "search
201
+ workflows for invoices" and have the page do exactly what a click on its own
202
+ control does. The SDK does **not** import any fe-libs assistant code (no new
203
+ fe-libs version floor): the host mounts a small bridge and maps the page's
204
+ description onto its own assistant.
205
+
206
+ ```tsx
207
+ import { FluidGridsAssistantBridge, type FgPageControlsSpec } from "@fluidgrids/fe-sdk/assistant";
208
+
209
+ // Stable identity (module constant or useCallback). Map the spec onto your
210
+ // assistant; return the function that removes exactly this registration.
211
+ const register = (spec: FgPageControlsSpec) => registerWithMyAssistant(spec);
212
+
213
+ <FluidGridsAssistantBridge register={register}>
214
+ <FluidGridsRoot ... />
215
+ </FluidGridsAssistantBridge>
216
+ ```
217
+
218
+ - Import from the `/assistant` subpath: it is a tiny entry, so a host's main
219
+ bundle does not pull the whole SDK in for a context provider. The pages share
220
+ its chunk (one bridge per app).
221
+ - With no `FluidGridsAssistantBridge` above, nothing happens and the pages work
222
+ as before.
223
+ - Pages that describe their controls: Workflows list (search, Status when more
224
+ than one status exists, Tag), Executions (search, Status, Workflow),
225
+ Templates (From Store / My Templates tabs, search, Category on My Templates),
226
+ History (search, Workflow). A page registers only what it shows right now and
227
+ unregisters when it unmounts.
228
+ - A spec only holds tabs, single-choice filters and a search setter, and each
229
+ setter is the page's own state setter. There is no create, save, delete, run,
230
+ retry, duplicate or approve in a spec.
231
+ - `FgEnumFilterSpec` / `FgTabsSpec` are structurally the fe-libs `EnumFilterSpec`
232
+ / `TabsSpec` (fe-libs >= 2026.1004.6 `appControls`), so a host can pass them
233
+ straight to `enumFilter` / `tabsOf`.
234
+
235
+ ## Read-only workflow preview (optional)
236
+
237
+ `WorkflowPreviewCanvas` draws a stored workflow definition with the builder's own
238
+ node cards, read-only, and animates it as a workflow is built live (the AI
239
+ assistant's live preview). It needs no `FluidGridsProvider`, config, Apollo client
240
+ or node registry, and makes no request of its own.
241
+
242
+ ```tsx
243
+ import {
244
+ WorkflowPreviewCanvas,
245
+ previewCanvasFromDefinition,
246
+ previewRevealOrder,
247
+ } from "@fluidgrids/fe-sdk/workflow-preview";
248
+
249
+ <div style={{ height: 520 }}>
250
+ <WorkflowPreviewCanvas
251
+ definition={workflow.definitionJson} // object or JSON string
252
+ visibleNodeIds={shown} // omit to show every node
253
+ freshNodeIds={justAdded} // highlighted with a ring
254
+ running={assistantIsWriting} // flow along edges, newest node pulses
255
+ />
256
+ </div>;
257
+ ```
258
+
259
+ - The host drives the reveal: `previewRevealOrder(previewCanvasFromDefinition(def).nodes)`
260
+ gives the along-the-flow order. A node that becomes visible pops in, an edge
261
+ draws in once both ends are visible, and the camera eases to keep every
262
+ visible node in view (max zoom 1.5).
263
+ - `resolveNodeMeta(nodeType)` (optional, keep it stable) supplies registry names
264
+ and icons; without it a card uses the node's saved manifest, then a name and
265
+ icon derived from its type.
266
+ - Edges follow the builder's rule: an edge whose source or target handle the
267
+ builder's card for that node does not have (read from the node's stored data,
268
+ as the builder reads it) is not drawn, so the preview never shows a
269
+ connection the builder drops.
270
+ - Nodes cannot be dragged, connected, selected or deleted; pan and zoom work.
271
+ - `prefers-reduced-motion: reduce` turns every animation off.
272
+
273
+ ## Starting the builder's data early (optional)
274
+
275
+ On a cold load of a builder address the builder's own code takes a while to
276
+ arrive. A host can start the builder's read as soon as it knows the route and the
277
+ person's workspace token, and the builder takes the answer when it opens instead
278
+ of asking again. `./workflow-route` imports nothing else from the SDK, so it can
279
+ sit on the host's entry.
280
+
281
+ ```ts
282
+ import {
283
+ matchWorkflowBuilderRoute,
284
+ prefetchWorkflowForBuilder,
285
+ } from "@fluidgrids/fe-sdk/workflow-route";
286
+
287
+ const route = matchWorkflowBuilderRoute(location.pathname, "/workflows");
288
+ if (route && workspaceId && workspaceToken) {
289
+ prefetchWorkflowForBuilder({
290
+ ...route,
291
+ workspaceId, // the builder takes the read only for the same workspace
292
+ // The host's own GraphQL fetch with the person's tokens. Send it on its own
293
+ // request: a batch window would give back what starting early gains.
294
+ request: ({ operationName, query, variables }) =>
295
+ hostGraphqlFetch({ operationName, query, variables, batch: false }),
296
+ });
297
+ }
298
+ ```
299
+
300
+ - A read is handed to the builder once, for the same workspace, workflow key and
301
+ version, and only within 15 seconds of its start (`PREFETCHED_WORKFLOW_TTL_MS`).
302
+ - A read that fails, answers with errors or answers for another workflow is not
303
+ used: the builder sends its own read and reports the problem as before.
304
+ - Without a started read the builder sends its read itself, on its own request
305
+ (`context: { sendUnbatched: true }`), so a batching host client does not hold it.
306
+
307
+ ## Workflow pages as lazy modules
308
+
309
+ A host that mounts the workflow pages on its own routes (microfe-workflows does)
310
+ should take them from `./workflow-pages`. Each page there is its own lazy module
311
+ under the main barrel's name, so a route loads only its own page instead of every
312
+ page of the SDK. Render them inside a `<Suspense>` boundary.
313
+
314
+ ```tsx
315
+ import { Suspense } from "react";
316
+ import { Route, Routes } from "react-router";
317
+ import {
318
+ WorkflowBuilderPage,
319
+ WorkflowsList,
320
+ } from "@fluidgrids/fe-sdk/workflow-pages";
321
+
322
+ <Suspense fallback={<Loading />}>
323
+ <Routes>
324
+ <Route path="list" element={<WorkflowsList />} />
325
+ <Route path="workflow/:id/:version" element={<WorkflowBuilderPage />} />
326
+ </Routes>
327
+ </Suspense>;
328
+ ```
329
+
330
+ - `preloadWorkflowPage(name)` starts a page's code without rendering it, for a
331
+ host that knows the route before it renders (at boot, on a cold load). The page
332
+ then renders from the same load. It never rejects; a failed load is left to the
333
+ page, which retries a failed chunk twice and then throws to the nearest error
334
+ boundary.
335
+ - The entry imports no SDK module statically, so it can sit on a host's entry.
336
+
337
+ `./workflow-host` carries what such a host wires around the pages: the config and
338
+ client setters (`setFluidGridsConfig`, `setFluidGridsClient`,
339
+ `setGlobalStoreClient` and their resets), `refreshNodeRegistry` (reloads the
340
+ builder's node palette for new clients once the builder has loaded it), the
341
+ translation, permissions and managed AI authority providers,
342
+ `FLUIDGRIDS_PERMISSIONS`, and the flags the routes read. It shares its state
343
+ with the pages and the main entry.
344
+
345
+ `./flags` carries only the FluidGrids feature flag hooks, for a shell that reads
346
+ a flag on every page (for example to list a navigation item).
347
+
348
+ `./quota` carries only `readRunsQuota` and the `RunsQuota` type, for a host
349
+ surface (a plan or profile popup) that reads the workspace's run allowance
350
+ outside the builder:
351
+
352
+ ```ts
353
+ import {
354
+ readRunsQuota,
355
+ type RunsQuota,
356
+ } from "@fluidgrids/fe-sdk/quota";
357
+
358
+ const quota: RunsQuota | null = await readRunsQuota(apolloClient, workspaceId);
359
+ ```
360
+
361
+ ## Agent tools (optional)
362
+
363
+ `./agent-tools` carries FluidGrids' AI agent tools (`createFluidGridsAgentTools`)
364
+ and the assistant's point-at tools and callouts (`createUiMarkTools`,
365
+ `AgentCalloutOverlay`) without the rest of the SDK, for a shell that mounts them on
366
+ every page. The main entry still exports them.
367
+
368
+ ## Styling
369
+
370
+ The SDK uses Tailwind CSS for styling. Make sure you have Tailwind configured in your project, or import the pre-built styles:
371
+
372
+ ```tsx
373
+ import "@fluidgrids/fe-sdk/styles.css";
374
+ ```
375
+
376
+ ## Embedding: theme, token refresh and events (BOFF-9961)
377
+
378
+ `FluidGridsProvider`, `FluidGridsRoot` and `WorkflowBuilder` take three
379
+ embedding props (also settable with `setFluidGridsConfig`):
380
+
381
+ ```tsx
382
+ <FluidGridsProvider
383
+ workspaceId={workspaceId}
384
+ apiGatewayUrl={workspaceGraphqlUrl}
385
+ authToken={token}
386
+ theme={{
387
+ mode: "light",
388
+ colors: { primary: "#2563eb" },
389
+ radius: { base: "10px" },
390
+ }}
391
+ auth={{ onTokenExpired: () => session.refresh() }}
392
+ onEvent={(name, payload) => {
393
+ if (name === "run:completed") console.log(payload.runId, payload.status);
394
+ }}
395
+ >
396
+ {children}
397
+ </FluidGridsProvider>
398
+ ```
399
+
400
+ - **`theme`** — `"light"`, `"dark"` or `{ mode?, colors?, radius?, font? }`.
401
+ Each token maps to fe-libs semantic CSS variables (`FLUIDGRIDS_THEME_TOKEN_MAP`);
402
+ values are validated (`themeToCssVariables`) and applied document-wide as
403
+ inline properties on `<html>`, restored on unmount (`applyFluidGridsTheme`,
404
+ `useFluidGridsTheme`). The public embed viewer also reads `accent`, `radius`
405
+ and `font` query parameters next to `theme`; its single `radius` sets
406
+ `radius.base`, `radius.card`, `radius.button` and `radius.input` (builder node
407
+ cards follow `--radius-card`).
408
+ - **`auth.onTokenExpired`** — called once per expired-session failure (401,
409
+ `UNAUTHENTICATED`, expired/revoked credential); concurrent failures share one
410
+ call; the request is retried once with the new token; on rejection the SDK
411
+ emits `auth:failed` and surfaces the original error. A failed refresh is
412
+ reported once: requests already in flight with the expired token fail with
413
+ their own error without a second call or event; a request sent after the
414
+ failure may refresh again. Host-injected Apollo
415
+ clients add `createFluidGridsTokenRefreshLink()` before their auth link.
416
+ - **`onEvent`** — typed `FluidGridsEventMap`: `workflow:saved`,
417
+ `workflow:activated`, `run:started`, `run:completed`, `node:selected`,
418
+ `error`, `auth:failed`, `builder:fullscreen` (`{ active }`, also mirrored on
419
+ `<html data-fluidgrids-builder-fullscreen>` and a
420
+ `fluidgrids:builder-fullscreen` window event for shells without `onEvent`).
421
+ Contract version `FLUIDGRIDS_EVENTS_VERSION` (semver:
422
+ additive = minor, payload break = major). The standalone `WorkflowBuilder` /
423
+ `WorkflowBuilderCore` canvas saves and runs locally (`onSave` / `onExecute`),
424
+ so it emits only `node:selected`.
425
+ - `FluidGridsRoot`, `WorkflowBuilder` and `WorkflowBuilderCore` work without a
426
+ host `ThemeProvider`; they reuse the host's when there is one.
427
+
428
+ Full guide: [docs.fluidgrids.ai/developers/embedding](https://docs.fluidgrids.ai/developers/embedding).
429
+
430
+ ### The public embed viewer
431
+
432
+ `WorkflowEmbedPage` (the read-only viewer a host serves at `/embed/workflow`) has
433
+ its own entry, so a host that lazy-loads it downloads the viewer and its canvas
434
+ only, not every page the root entry re-exports:
435
+
436
+ ```tsx
437
+ const WorkflowEmbedPage = lazy(() =>
438
+ import("@fluidgrids/fe-sdk/workflow-embed").then((m) => ({
439
+ default: m.WorkflowEmbedPage,
440
+ })),
441
+ );
442
+ ```
443
+
444
+ The root entry still exports it, so existing hosts keep working.
445
+
446
+ ## Branding
447
+
448
+ Every workflow canvas the SDK renders — `WorkflowBuilder`, `WorkflowBuilderCore`,
449
+ the `FluidGridsRoot` builder and template-preview routes, and the public
450
+ `WorkflowEmbedPage` viewer — shows a small **Powered by FluidGrids** mark in its
451
+ top-right corner, linking to [fluidgrids.ai](https://www.fluidgrids.ai). The
452
+ chrome props above (`hideHeader`, `hideSidebar`, `hideLogsPanel`, `readonly`)
453
+ hide toolbars and panels only.
454
+
455
+ FluidGrids is not offered as a white-label product: no prop, context, theme
456
+ option or URL parameter hides or replaces the mark. The embed viewer's old
457
+ `badge=false` parameter is ignored. Translations may reword the "Powered by"
458
+ phrase, but the FluidGrids name always stays.
459
+
460
+ ## Structured Node Parameters
461
+
462
+ The quick-config and full node editors use the selected operation's `input_fields`
463
+ schema for array and object values. Enter arrays and objects as JSON; string arrays
464
+ also accept comma-separated values. Blank inputs clear the field, while `[]` and
465
+ `{}` remain explicit empty values. Declared item/property types are validated.
466
+
467
+ Invalid drafts on enabled nodes stay visible for correction and cannot be saved or
468
+ executed. Disabled nodes retain their drafts when saved; re-enabling restores
469
+ validation. Saving
470
+ also normalizes legacy JSON strings from adaptive-card forms using the same schema.
471
+ Expression mappings remain separate from fixed values: switch the field to
472
+ Expression mode for whole-value templates such as `{{ $vars.LIST }}` or
473
+ `${output.items}`. Fixed JSON string items remain literal; the store-node runtime
474
+ does not generally evaluate templates in fixed `args.state` values.
475
+ Save the workflow before
476
+ execution to run the updated configuration; this does not change the existing
477
+ saved-version execution behavior or the operation-name output wrapper.
478
+ Absent fields remain unset so the engine can supply upstream inputs or defaults.
479
+
480
+ ## Security Notes
481
+
482
+ - Codegen's transitive `@graphql-tools/utils` is pinned to `12.0.3` for
483
+ GHSA-7mx3-vvmw-hjmv; `source-map-js` is pinned to `1.2.2` for
484
+ GHSA-68fv-2mgg-jv7q. The utils override crosses older plugin ranges because
485
+ even the current Apollo hook plugin retains an affected helper dependency.
486
+ Keep the existing codegen contract tests and compare all four generated files
487
+ when changing this pin; its GraphQL 17 execution-helper changes are not used
488
+ by this repository's GraphQL 16 codegen path.
489
+ Validate with a clean frozen-lockfile install: an incremental Bun install can
490
+ leave old nested copies in `node_modules` after an override changes resolution.
491
+ - Pass runtime URLs through environment variables instead of hardcoded localhost defaults.
492
+ - Use `trustedOrigins` when embedding the SDK into known host applications.
493
+ - Avoid logging or persisting `authToken` values in app telemetry or error reports.
494
+
495
+ ## Loop Wiring
496
+
497
+ Connect a Loop's **Loop Body** output to the body nodes, then connect the last body node back to the Loop input. Connect **Done** to the following step. Canvas drag and click-to-connect accept this controlled cycle regardless of which edge is drawn last; ordinary cycles and cycles through Done remain rejected. SDK imperative connections, import and copy/paste preserve the same graph.
498
+
499
+ Return to the Loop input, not to an upstream trigger or ancestor. The validator uses workflow entry and Done paths to distinguish a controller's body, and rejects outside connections that would bypass an already-wired controller.
500
+
501
+ Loop Body classification follows the configured `loopHandle` in execution precedence: `data`, `config`, `data.args.state`, then `args.state`. Custom and swapped handle names retain controlled return validation and the guard against disabling an active controller, including saved/imported graphs. The default remains `loop`; configure matching output metadata and edge handles. This does not add new validation to arbitrary imported graphs or change runtime execution.
502
+
503
+ A controller cannot be disabled while it controls a loop cycle: disconnect the cycle first. The shared toggle action returns `false` without changing the graph or undo history, and the node toolbar explains why. Body-node toggles and undo for permitted changes remain available. This does not repair already-invalid imported graphs.
504
+
505
+ Body nodes may replace their output when the companion BOFF-7415 worker change is deployed: continuation is transported in execution context, not business fields. A workflow without a return edge does not request another batch. Reset/default parity and multiple-incoming-edge mapping are tracked separately in BOFF-9042 and BOFF-9041.
506
+
507
+ ## Development
508
+
509
+ - `bun run sanity`: codegen, lint, format, type-check, the bun unit suite, the
510
+ library build, the npm tarball check (`scripts/verify-package-contents.sh`) and
511
+ the Storybook build.
512
+ - `bun run storybook` / `bun run build-storybook`: stories for the builder canvas,
513
+ the node card, the workflow list card and the run list (`src/stories/`, fixture
514
+ data, no backend). Stories are never packed.
515
+ - `bun run test:e2e`: read-only Playwright specs for the list, builder and runs
516
+ pages through the fluidgrids-app shell, against alpha (Cloudflare Access) or
517
+ prod. See `e2e/README.md`.
518
+ - `bun run schema:pull` refreshes `graphql/{wspace,global}.graphql` from the
519
+ GraphQL Hive CDN; `bun run schema:check` is the no-write drift check. Gateways
520
+ are never introspected (see `docs/owned-codegen.md`).
521
+
522
+ ## License
523
+
524
+ Proprietary - Copyright Algoshred Technologies Pvt Ltd.
525
+
526
+ ## Apollo 4 declaration migration (BOFF-9420)
527
+
528
+ The BOFF-9420 migration preserves the named operation/hook surface
529
+ and fixes the packed public declarations using supported typed documents and
530
+ owning Apollo 4 facades. Required query variables, skipped suspense results, lazy
531
+ execution options and configured mutation variables now follow the actual Apollo
532
+ 4 contract and require Apollo Client 4.2.0 or newer within major 4. This is an
533
+ explicit type migration, not a transparent compatibility
534
+ claim for invalid earlier signatures; existing published versions are unchanged.
535
+
536
+ See the [migration contract](https://github.com/Algoshred/fluidgrids-fe-sdk/blob/main/docs/apollo4-migration.md)
537
+ for the correction table and verification limits. Package availability depends
538
+ on its released version and verified release evidence. Host adoption and live
539
+ workflow acceptance require separate verification.
540
+
541
+ ### Workspace managed-AI settings
542
+
543
+ Hosts can opt into the workspace AI setting by wrapping the existing Settings
544
+ page with `ManagedAiPolicyAuthorityProvider`. Supply a fresh
545
+ `ManagedAiRequestScope` whenever the account, credentials, API, organization,
546
+ tenant, workspace or selected project changes. Never put credentials in React
547
+ keys, persisted configuration or diagnostics.
548
+
549
+ Use `authority: "profile"` for a shell with the canonical active profile. The
550
+ SDK checks that profile before preparing authority, requires a workspace-wide
551
+ selection and checks the captured context before and after every request. A
552
+ standalone embed must explicitly choose `authority: "provided"` and supply both
553
+ credentials; missing profile state never silently becomes provided authority.
554
+ The server remains the authorization boundary. Bridge actual permissions with
555
+ `FluidGridsPermissionsProvider`: reading requires `workflow:read`, and management
556
+ controls require an enforced `system-config:manage` permission.
557
+
558
+ Without this authority provider, existing embeds send no new policy requests.
559
+ When the server reports `enforcementActive: false`, the card states that existing
560
+ behavior is unchanged and offers no approval switch. An interrupted write is
561
+ never retried automatically: the user must reload the authoritative setting.
562
+ A successful fresh read resets the disclosure acknowledgment, even when the
563
+ revision did not change. Enabling an active setting sends the current disclosure
564
+ version and expected revision; disabling does not require a new acknowledgment.
565
+ This technical control does not execute a DPA or represent a human signature.