@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
@@ -0,0 +1,3389 @@
1
+ "use client";
2
+ import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
3
+ import { t as cn } from "./cn-QqidFIgr.js";
4
+ import { t as Icon } from "./Icon-BtQ0HXLh.js";
5
+ import { Gn as newConnectionProviderKey, Hn as connectionsForAdapter, Kn as replaceAdapterConnections, Un as isOptionalAdapter, Wn as matchesAdapterProvider } from "./use-bare-node-registry-O6mKJO_n.js";
6
+ import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
7
+ import { a as SdkPermissionGate, t as FLUIDGRIDS_PERMISSIONS } from "./constants-DlRnHBfQ.js";
8
+ import { r as useConnections } from "./useConnections-DsgEJs05.js";
9
+ import { t as ConnectionFormDialog } from "./ConnectionFormDialog-C0kDgcrZ.js";
10
+ import { o as useAgentsUsingConnection } from "./McpTriggerServers-BCPCAOWB.js";
11
+ import { a as useRunners } from "./useRunners-URUc5quU.js";
12
+ import { t as RunnerStatusPill } from "./RunnerStatusPill-C1v967iq.js";
13
+ import * as React from "react";
14
+ import { useCallback, useMemo, useState } from "react";
15
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
16
+ import { Link2Off } from "lucide-react";
17
+ import { Button, CompactMarkOr, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EmptyState, Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@burdenoff/fe-libs/ui";
18
+ import { ProviderIcon } from "@burdenoff/fe-libs/connections";
19
+ import { formatDistanceToNow } from "date-fns";
20
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
21
+
22
+ // src/generated/documents/wspace/ListenForFormTestSubmissionDocument.ts
23
+ const ListenForFormTestSubmissionDocument = {
24
+ "kind": "Document",
25
+ "definitions": [{
26
+ "kind": "OperationDefinition",
27
+ "operation": "mutation",
28
+ "name": {
29
+ "kind": "Name",
30
+ "value": "ListenForFormTestSubmission"
31
+ },
32
+ "variableDefinitions": [{
33
+ "kind": "VariableDefinition",
34
+ "variable": {
35
+ "kind": "Variable",
36
+ "name": {
37
+ "kind": "Name",
38
+ "value": "input"
39
+ }
40
+ },
41
+ "type": {
42
+ "kind": "NonNullType",
43
+ "type": {
44
+ "kind": "NamedType",
45
+ "name": {
46
+ "kind": "Name",
47
+ "value": "ListenForFormTestSubmissionInput"
48
+ }
49
+ }
50
+ },
51
+ "directives": []
52
+ }],
53
+ "directives": [],
54
+ "selectionSet": {
55
+ "kind": "SelectionSet",
56
+ "selections": [{
57
+ "kind": "Field",
58
+ "name": {
59
+ "kind": "Name",
60
+ "value": "listenForFormTestSubmission"
61
+ },
62
+ "arguments": [{
63
+ "kind": "Argument",
64
+ "name": {
65
+ "kind": "Name",
66
+ "value": "input"
67
+ },
68
+ "value": {
69
+ "kind": "Variable",
70
+ "name": {
71
+ "kind": "Name",
72
+ "value": "input"
73
+ }
74
+ }
75
+ }],
76
+ "directives": [],
77
+ "selectionSet": {
78
+ "kind": "SelectionSet",
79
+ "selections": [
80
+ {
81
+ "kind": "Field",
82
+ "name": {
83
+ "kind": "Name",
84
+ "value": "id"
85
+ },
86
+ "arguments": [],
87
+ "directives": []
88
+ },
89
+ {
90
+ "kind": "Field",
91
+ "name": {
92
+ "kind": "Name",
93
+ "value": "workflowKey"
94
+ },
95
+ "arguments": [],
96
+ "directives": []
97
+ },
98
+ {
99
+ "kind": "Field",
100
+ "name": {
101
+ "kind": "Name",
102
+ "value": "version"
103
+ },
104
+ "arguments": [],
105
+ "directives": []
106
+ },
107
+ {
108
+ "kind": "Field",
109
+ "name": {
110
+ "kind": "Name",
111
+ "value": "triggerNodeId"
112
+ },
113
+ "arguments": [],
114
+ "directives": []
115
+ },
116
+ {
117
+ "kind": "Field",
118
+ "name": {
119
+ "kind": "Name",
120
+ "value": "status"
121
+ },
122
+ "arguments": [],
123
+ "directives": []
124
+ },
125
+ {
126
+ "kind": "Field",
127
+ "name": {
128
+ "kind": "Name",
129
+ "value": "testUrl"
130
+ },
131
+ "arguments": [],
132
+ "directives": []
133
+ },
134
+ {
135
+ "kind": "Field",
136
+ "name": {
137
+ "kind": "Name",
138
+ "value": "expiresAt"
139
+ },
140
+ "arguments": [],
141
+ "directives": []
142
+ },
143
+ {
144
+ "kind": "Field",
145
+ "name": {
146
+ "kind": "Name",
147
+ "value": "receivedAt"
148
+ },
149
+ "arguments": [],
150
+ "directives": []
151
+ },
152
+ {
153
+ "kind": "Field",
154
+ "name": {
155
+ "kind": "Name",
156
+ "value": "runId"
157
+ },
158
+ "arguments": [],
159
+ "directives": []
160
+ },
161
+ {
162
+ "kind": "Field",
163
+ "name": {
164
+ "kind": "Name",
165
+ "value": "error"
166
+ },
167
+ "arguments": [],
168
+ "directives": []
169
+ }
170
+ ]
171
+ }
172
+ }]
173
+ }
174
+ }]
175
+ };
176
+
177
+ // src/generated/documents/wspace/ListenForInboundTestEmailDocument.ts
178
+ const ListenForInboundTestEmailDocument = {
179
+ "kind": "Document",
180
+ "definitions": [{
181
+ "kind": "OperationDefinition",
182
+ "operation": "mutation",
183
+ "name": {
184
+ "kind": "Name",
185
+ "value": "ListenForInboundTestEmail"
186
+ },
187
+ "variableDefinitions": [{
188
+ "kind": "VariableDefinition",
189
+ "variable": {
190
+ "kind": "Variable",
191
+ "name": {
192
+ "kind": "Name",
193
+ "value": "input"
194
+ }
195
+ },
196
+ "type": {
197
+ "kind": "NonNullType",
198
+ "type": {
199
+ "kind": "NamedType",
200
+ "name": {
201
+ "kind": "Name",
202
+ "value": "ListenForInboundTestEmailInput"
203
+ }
204
+ }
205
+ },
206
+ "directives": []
207
+ }],
208
+ "directives": [],
209
+ "selectionSet": {
210
+ "kind": "SelectionSet",
211
+ "selections": [{
212
+ "kind": "Field",
213
+ "name": {
214
+ "kind": "Name",
215
+ "value": "listenForInboundTestEmail"
216
+ },
217
+ "arguments": [{
218
+ "kind": "Argument",
219
+ "name": {
220
+ "kind": "Name",
221
+ "value": "input"
222
+ },
223
+ "value": {
224
+ "kind": "Variable",
225
+ "name": {
226
+ "kind": "Name",
227
+ "value": "input"
228
+ }
229
+ }
230
+ }],
231
+ "directives": [],
232
+ "selectionSet": {
233
+ "kind": "SelectionSet",
234
+ "selections": [
235
+ {
236
+ "kind": "Field",
237
+ "name": {
238
+ "kind": "Name",
239
+ "value": "id"
240
+ },
241
+ "arguments": [],
242
+ "directives": []
243
+ },
244
+ {
245
+ "kind": "Field",
246
+ "name": {
247
+ "kind": "Name",
248
+ "value": "workflowKey"
249
+ },
250
+ "arguments": [],
251
+ "directives": []
252
+ },
253
+ {
254
+ "kind": "Field",
255
+ "name": {
256
+ "kind": "Name",
257
+ "value": "version"
258
+ },
259
+ "arguments": [],
260
+ "directives": []
261
+ },
262
+ {
263
+ "kind": "Field",
264
+ "name": {
265
+ "kind": "Name",
266
+ "value": "triggerNodeId"
267
+ },
268
+ "arguments": [],
269
+ "directives": []
270
+ },
271
+ {
272
+ "kind": "Field",
273
+ "name": {
274
+ "kind": "Name",
275
+ "value": "status"
276
+ },
277
+ "arguments": [],
278
+ "directives": []
279
+ },
280
+ {
281
+ "kind": "Field",
282
+ "name": {
283
+ "kind": "Name",
284
+ "value": "testUrl"
285
+ },
286
+ "arguments": [],
287
+ "directives": []
288
+ },
289
+ {
290
+ "kind": "Field",
291
+ "name": {
292
+ "kind": "Name",
293
+ "value": "expiresAt"
294
+ },
295
+ "arguments": [],
296
+ "directives": []
297
+ },
298
+ {
299
+ "kind": "Field",
300
+ "name": {
301
+ "kind": "Name",
302
+ "value": "receivedAt"
303
+ },
304
+ "arguments": [],
305
+ "directives": []
306
+ },
307
+ {
308
+ "kind": "Field",
309
+ "name": {
310
+ "kind": "Name",
311
+ "value": "runId"
312
+ },
313
+ "arguments": [],
314
+ "directives": []
315
+ },
316
+ {
317
+ "kind": "Field",
318
+ "name": {
319
+ "kind": "Name",
320
+ "value": "error"
321
+ },
322
+ "arguments": [],
323
+ "directives": []
324
+ }
325
+ ]
326
+ }
327
+ }]
328
+ }
329
+ }]
330
+ };
331
+
332
+ // src/generated/documents/wspace/ListenForWebhookTestEventDocument.ts
333
+ const ListenForWebhookTestEventDocument = {
334
+ "kind": "Document",
335
+ "definitions": [{
336
+ "kind": "OperationDefinition",
337
+ "operation": "mutation",
338
+ "name": {
339
+ "kind": "Name",
340
+ "value": "ListenForWebhookTestEvent"
341
+ },
342
+ "variableDefinitions": [{
343
+ "kind": "VariableDefinition",
344
+ "variable": {
345
+ "kind": "Variable",
346
+ "name": {
347
+ "kind": "Name",
348
+ "value": "input"
349
+ }
350
+ },
351
+ "type": {
352
+ "kind": "NonNullType",
353
+ "type": {
354
+ "kind": "NamedType",
355
+ "name": {
356
+ "kind": "Name",
357
+ "value": "ListenForWebhookTestEventInput"
358
+ }
359
+ }
360
+ },
361
+ "directives": []
362
+ }],
363
+ "directives": [],
364
+ "selectionSet": {
365
+ "kind": "SelectionSet",
366
+ "selections": [{
367
+ "kind": "Field",
368
+ "name": {
369
+ "kind": "Name",
370
+ "value": "listenForWebhookTestEvent"
371
+ },
372
+ "arguments": [{
373
+ "kind": "Argument",
374
+ "name": {
375
+ "kind": "Name",
376
+ "value": "input"
377
+ },
378
+ "value": {
379
+ "kind": "Variable",
380
+ "name": {
381
+ "kind": "Name",
382
+ "value": "input"
383
+ }
384
+ }
385
+ }],
386
+ "directives": [],
387
+ "selectionSet": {
388
+ "kind": "SelectionSet",
389
+ "selections": [
390
+ {
391
+ "kind": "Field",
392
+ "name": {
393
+ "kind": "Name",
394
+ "value": "id"
395
+ },
396
+ "arguments": [],
397
+ "directives": []
398
+ },
399
+ {
400
+ "kind": "Field",
401
+ "name": {
402
+ "kind": "Name",
403
+ "value": "workflowKey"
404
+ },
405
+ "arguments": [],
406
+ "directives": []
407
+ },
408
+ {
409
+ "kind": "Field",
410
+ "name": {
411
+ "kind": "Name",
412
+ "value": "version"
413
+ },
414
+ "arguments": [],
415
+ "directives": []
416
+ },
417
+ {
418
+ "kind": "Field",
419
+ "name": {
420
+ "kind": "Name",
421
+ "value": "triggerNodeId"
422
+ },
423
+ "arguments": [],
424
+ "directives": []
425
+ },
426
+ {
427
+ "kind": "Field",
428
+ "name": {
429
+ "kind": "Name",
430
+ "value": "status"
431
+ },
432
+ "arguments": [],
433
+ "directives": []
434
+ },
435
+ {
436
+ "kind": "Field",
437
+ "name": {
438
+ "kind": "Name",
439
+ "value": "testUrl"
440
+ },
441
+ "arguments": [],
442
+ "directives": []
443
+ },
444
+ {
445
+ "kind": "Field",
446
+ "name": {
447
+ "kind": "Name",
448
+ "value": "expiresAt"
449
+ },
450
+ "arguments": [],
451
+ "directives": []
452
+ },
453
+ {
454
+ "kind": "Field",
455
+ "name": {
456
+ "kind": "Name",
457
+ "value": "receivedAt"
458
+ },
459
+ "arguments": [],
460
+ "directives": []
461
+ },
462
+ {
463
+ "kind": "Field",
464
+ "name": {
465
+ "kind": "Name",
466
+ "value": "runId"
467
+ },
468
+ "arguments": [],
469
+ "directives": []
470
+ },
471
+ {
472
+ "kind": "Field",
473
+ "name": {
474
+ "kind": "Name",
475
+ "value": "error"
476
+ },
477
+ "arguments": [],
478
+ "directives": []
479
+ }
480
+ ]
481
+ }
482
+ }]
483
+ }
484
+ }]
485
+ };
486
+
487
+ // src/generated/documents/wspace/RegenerateEventRegistrationTokenDocument.ts
488
+ const RegenerateEventRegistrationTokenDocument = {
489
+ "kind": "Document",
490
+ "definitions": [{
491
+ "kind": "OperationDefinition",
492
+ "operation": "mutation",
493
+ "name": {
494
+ "kind": "Name",
495
+ "value": "RegenerateEventRegistrationToken"
496
+ },
497
+ "variableDefinitions": [{
498
+ "kind": "VariableDefinition",
499
+ "variable": {
500
+ "kind": "Variable",
501
+ "name": {
502
+ "kind": "Name",
503
+ "value": "id"
504
+ }
505
+ },
506
+ "type": {
507
+ "kind": "NonNullType",
508
+ "type": {
509
+ "kind": "NamedType",
510
+ "name": {
511
+ "kind": "Name",
512
+ "value": "ID"
513
+ }
514
+ }
515
+ },
516
+ "directives": []
517
+ }],
518
+ "directives": [],
519
+ "selectionSet": {
520
+ "kind": "SelectionSet",
521
+ "selections": [{
522
+ "kind": "Field",
523
+ "name": {
524
+ "kind": "Name",
525
+ "value": "regenerateEventRegistrationToken"
526
+ },
527
+ "arguments": [{
528
+ "kind": "Argument",
529
+ "name": {
530
+ "kind": "Name",
531
+ "value": "id"
532
+ },
533
+ "value": {
534
+ "kind": "Variable",
535
+ "name": {
536
+ "kind": "Name",
537
+ "value": "id"
538
+ }
539
+ }
540
+ }],
541
+ "directives": [],
542
+ "selectionSet": {
543
+ "kind": "SelectionSet",
544
+ "selections": [
545
+ {
546
+ "kind": "Field",
547
+ "name": {
548
+ "kind": "Name",
549
+ "value": "id"
550
+ },
551
+ "arguments": [],
552
+ "directives": []
553
+ },
554
+ {
555
+ "kind": "Field",
556
+ "name": {
557
+ "kind": "Name",
558
+ "value": "triggerNodeId"
559
+ },
560
+ "arguments": [],
561
+ "directives": []
562
+ },
563
+ {
564
+ "kind": "Field",
565
+ "name": {
566
+ "kind": "Name",
567
+ "value": "webhookToken"
568
+ },
569
+ "arguments": [],
570
+ "directives": []
571
+ },
572
+ {
573
+ "kind": "Field",
574
+ "name": {
575
+ "kind": "Name",
576
+ "value": "webhookUrl"
577
+ },
578
+ "arguments": [],
579
+ "directives": []
580
+ }
581
+ ]
582
+ }
583
+ }]
584
+ }
585
+ }]
586
+ };
587
+
588
+ // src/generated/documents/wspace/ResetEventRegistrationHandshakeSecretDocument.ts
589
+ const ResetEventRegistrationHandshakeSecretDocument = {
590
+ "kind": "Document",
591
+ "definitions": [{
592
+ "kind": "OperationDefinition",
593
+ "operation": "mutation",
594
+ "name": {
595
+ "kind": "Name",
596
+ "value": "ResetEventRegistrationHandshakeSecret"
597
+ },
598
+ "variableDefinitions": [{
599
+ "kind": "VariableDefinition",
600
+ "variable": {
601
+ "kind": "Variable",
602
+ "name": {
603
+ "kind": "Name",
604
+ "value": "id"
605
+ }
606
+ },
607
+ "type": {
608
+ "kind": "NonNullType",
609
+ "type": {
610
+ "kind": "NamedType",
611
+ "name": {
612
+ "kind": "Name",
613
+ "value": "ID"
614
+ }
615
+ }
616
+ },
617
+ "directives": []
618
+ }],
619
+ "directives": [],
620
+ "selectionSet": {
621
+ "kind": "SelectionSet",
622
+ "selections": [{
623
+ "kind": "Field",
624
+ "name": {
625
+ "kind": "Name",
626
+ "value": "resetEventRegistrationHandshakeSecret"
627
+ },
628
+ "arguments": [{
629
+ "kind": "Argument",
630
+ "name": {
631
+ "kind": "Name",
632
+ "value": "id"
633
+ },
634
+ "value": {
635
+ "kind": "Variable",
636
+ "name": {
637
+ "kind": "Name",
638
+ "value": "id"
639
+ }
640
+ }
641
+ }],
642
+ "directives": [],
643
+ "selectionSet": {
644
+ "kind": "SelectionSet",
645
+ "selections": [
646
+ {
647
+ "kind": "Field",
648
+ "name": {
649
+ "kind": "Name",
650
+ "value": "id"
651
+ },
652
+ "arguments": [],
653
+ "directives": []
654
+ },
655
+ {
656
+ "kind": "Field",
657
+ "name": {
658
+ "kind": "Name",
659
+ "value": "triggerNodeId"
660
+ },
661
+ "arguments": [],
662
+ "directives": []
663
+ },
664
+ {
665
+ "kind": "Field",
666
+ "name": {
667
+ "kind": "Name",
668
+ "value": "handshakeSecretCaptured"
669
+ },
670
+ "arguments": [],
671
+ "directives": []
672
+ }
673
+ ]
674
+ }
675
+ }]
676
+ }
677
+ }]
678
+ };
679
+
680
+ // src/generated/documents/wspace/RotateInboundMailboxAddressDocument.ts
681
+ const RotateInboundMailboxAddressDocument = {
682
+ "kind": "Document",
683
+ "definitions": [{
684
+ "kind": "OperationDefinition",
685
+ "operation": "mutation",
686
+ "name": {
687
+ "kind": "Name",
688
+ "value": "RotateInboundMailboxAddress"
689
+ },
690
+ "variableDefinitions": [{
691
+ "kind": "VariableDefinition",
692
+ "variable": {
693
+ "kind": "Variable",
694
+ "name": {
695
+ "kind": "Name",
696
+ "value": "workflowKey"
697
+ }
698
+ },
699
+ "type": {
700
+ "kind": "NonNullType",
701
+ "type": {
702
+ "kind": "NamedType",
703
+ "name": {
704
+ "kind": "Name",
705
+ "value": "String"
706
+ }
707
+ }
708
+ },
709
+ "directives": []
710
+ }, {
711
+ "kind": "VariableDefinition",
712
+ "variable": {
713
+ "kind": "Variable",
714
+ "name": {
715
+ "kind": "Name",
716
+ "value": "triggerNodeId"
717
+ }
718
+ },
719
+ "type": {
720
+ "kind": "NonNullType",
721
+ "type": {
722
+ "kind": "NamedType",
723
+ "name": {
724
+ "kind": "Name",
725
+ "value": "String"
726
+ }
727
+ }
728
+ },
729
+ "directives": []
730
+ }],
731
+ "directives": [],
732
+ "selectionSet": {
733
+ "kind": "SelectionSet",
734
+ "selections": [{
735
+ "kind": "Field",
736
+ "name": {
737
+ "kind": "Name",
738
+ "value": "rotateInboundMailboxAddress"
739
+ },
740
+ "arguments": [{
741
+ "kind": "Argument",
742
+ "name": {
743
+ "kind": "Name",
744
+ "value": "workflowKey"
745
+ },
746
+ "value": {
747
+ "kind": "Variable",
748
+ "name": {
749
+ "kind": "Name",
750
+ "value": "workflowKey"
751
+ }
752
+ }
753
+ }, {
754
+ "kind": "Argument",
755
+ "name": {
756
+ "kind": "Name",
757
+ "value": "triggerNodeId"
758
+ },
759
+ "value": {
760
+ "kind": "Variable",
761
+ "name": {
762
+ "kind": "Name",
763
+ "value": "triggerNodeId"
764
+ }
765
+ }
766
+ }],
767
+ "directives": [],
768
+ "selectionSet": {
769
+ "kind": "SelectionSet",
770
+ "selections": [
771
+ {
772
+ "kind": "Field",
773
+ "name": {
774
+ "kind": "Name",
775
+ "value": "id"
776
+ },
777
+ "arguments": [],
778
+ "directives": []
779
+ },
780
+ {
781
+ "kind": "Field",
782
+ "name": {
783
+ "kind": "Name",
784
+ "value": "workflowKey"
785
+ },
786
+ "arguments": [],
787
+ "directives": []
788
+ },
789
+ {
790
+ "kind": "Field",
791
+ "name": {
792
+ "kind": "Name",
793
+ "value": "triggerNodeId"
794
+ },
795
+ "arguments": [],
796
+ "directives": []
797
+ },
798
+ {
799
+ "kind": "Field",
800
+ "name": {
801
+ "kind": "Name",
802
+ "value": "address"
803
+ },
804
+ "arguments": [],
805
+ "directives": []
806
+ },
807
+ {
808
+ "kind": "Field",
809
+ "name": {
810
+ "kind": "Name",
811
+ "value": "localPart"
812
+ },
813
+ "arguments": [],
814
+ "directives": []
815
+ },
816
+ {
817
+ "kind": "Field",
818
+ "name": {
819
+ "kind": "Name",
820
+ "value": "domain"
821
+ },
822
+ "arguments": [],
823
+ "directives": []
824
+ },
825
+ {
826
+ "kind": "Field",
827
+ "name": {
828
+ "kind": "Name",
829
+ "value": "prefix"
830
+ },
831
+ "arguments": [],
832
+ "directives": []
833
+ },
834
+ {
835
+ "kind": "Field",
836
+ "name": {
837
+ "kind": "Name",
838
+ "value": "status"
839
+ },
840
+ "arguments": [],
841
+ "directives": []
842
+ },
843
+ {
844
+ "kind": "Field",
845
+ "name": {
846
+ "kind": "Name",
847
+ "value": "totalDeliveries"
848
+ },
849
+ "arguments": [],
850
+ "directives": []
851
+ },
852
+ {
853
+ "kind": "Field",
854
+ "name": {
855
+ "kind": "Name",
856
+ "value": "startedDeliveries"
857
+ },
858
+ "arguments": [],
859
+ "directives": []
860
+ },
861
+ {
862
+ "kind": "Field",
863
+ "name": {
864
+ "kind": "Name",
865
+ "value": "droppedDeliveries"
866
+ },
867
+ "arguments": [],
868
+ "directives": []
869
+ },
870
+ {
871
+ "kind": "Field",
872
+ "name": {
873
+ "kind": "Name",
874
+ "value": "lastReceivedAt"
875
+ },
876
+ "arguments": [],
877
+ "directives": []
878
+ },
879
+ {
880
+ "kind": "Field",
881
+ "name": {
882
+ "kind": "Name",
883
+ "value": "createdAt"
884
+ },
885
+ "arguments": [],
886
+ "directives": []
887
+ }
888
+ ]
889
+ }
890
+ }]
891
+ }
892
+ }]
893
+ };
894
+
895
+ // src/generated/documents/wspace/StartMcpTriggerTestListenerDocument.ts
896
+ const StartMcpTriggerTestListenerDocument = {
897
+ "kind": "Document",
898
+ "definitions": [{
899
+ "kind": "OperationDefinition",
900
+ "operation": "mutation",
901
+ "name": {
902
+ "kind": "Name",
903
+ "value": "StartMcpTriggerTestListener"
904
+ },
905
+ "variableDefinitions": [{
906
+ "kind": "VariableDefinition",
907
+ "variable": {
908
+ "kind": "Variable",
909
+ "name": {
910
+ "kind": "Name",
911
+ "value": "input"
912
+ }
913
+ },
914
+ "type": {
915
+ "kind": "NonNullType",
916
+ "type": {
917
+ "kind": "NamedType",
918
+ "name": {
919
+ "kind": "Name",
920
+ "value": "StartMcpTriggerTestListenerInput"
921
+ }
922
+ }
923
+ },
924
+ "directives": []
925
+ }],
926
+ "directives": [],
927
+ "selectionSet": {
928
+ "kind": "SelectionSet",
929
+ "selections": [{
930
+ "kind": "Field",
931
+ "name": {
932
+ "kind": "Name",
933
+ "value": "startMcpTriggerTestListener"
934
+ },
935
+ "arguments": [{
936
+ "kind": "Argument",
937
+ "name": {
938
+ "kind": "Name",
939
+ "value": "input"
940
+ },
941
+ "value": {
942
+ "kind": "Variable",
943
+ "name": {
944
+ "kind": "Name",
945
+ "value": "input"
946
+ }
947
+ }
948
+ }],
949
+ "directives": [],
950
+ "selectionSet": {
951
+ "kind": "SelectionSet",
952
+ "selections": [{
953
+ "kind": "FragmentSpread",
954
+ "name": {
955
+ "kind": "Name",
956
+ "value": "McpTriggerTestListenerFields"
957
+ },
958
+ "directives": []
959
+ }]
960
+ }
961
+ }]
962
+ }
963
+ }, {
964
+ "kind": "FragmentDefinition",
965
+ "name": {
966
+ "kind": "Name",
967
+ "value": "McpTriggerTestListenerFields"
968
+ },
969
+ "variableDefinitions": [],
970
+ "typeCondition": {
971
+ "kind": "NamedType",
972
+ "name": {
973
+ "kind": "Name",
974
+ "value": "McpTriggerTestListener"
975
+ }
976
+ },
977
+ "directives": [],
978
+ "selectionSet": {
979
+ "kind": "SelectionSet",
980
+ "selections": [
981
+ {
982
+ "kind": "Field",
983
+ "name": {
984
+ "kind": "Name",
985
+ "value": "id"
986
+ },
987
+ "arguments": [],
988
+ "directives": []
989
+ },
990
+ {
991
+ "kind": "Field",
992
+ "name": {
993
+ "kind": "Name",
994
+ "value": "workflowKey"
995
+ },
996
+ "arguments": [],
997
+ "directives": []
998
+ },
999
+ {
1000
+ "kind": "Field",
1001
+ "name": {
1002
+ "kind": "Name",
1003
+ "value": "workflowVersion"
1004
+ },
1005
+ "arguments": [],
1006
+ "directives": []
1007
+ },
1008
+ {
1009
+ "kind": "Field",
1010
+ "name": {
1011
+ "kind": "Name",
1012
+ "value": "triggerNodeId"
1013
+ },
1014
+ "arguments": [],
1015
+ "directives": []
1016
+ },
1017
+ {
1018
+ "kind": "Field",
1019
+ "name": {
1020
+ "kind": "Name",
1021
+ "value": "path"
1022
+ },
1023
+ "arguments": [],
1024
+ "directives": []
1025
+ },
1026
+ {
1027
+ "kind": "Field",
1028
+ "name": {
1029
+ "kind": "Name",
1030
+ "value": "testEndpointPath"
1031
+ },
1032
+ "arguments": [],
1033
+ "directives": []
1034
+ },
1035
+ {
1036
+ "kind": "Field",
1037
+ "name": {
1038
+ "kind": "Name",
1039
+ "value": "scope"
1040
+ },
1041
+ "arguments": [],
1042
+ "directives": []
1043
+ },
1044
+ {
1045
+ "kind": "Field",
1046
+ "name": {
1047
+ "kind": "Name",
1048
+ "value": "status"
1049
+ },
1050
+ "arguments": [],
1051
+ "directives": []
1052
+ },
1053
+ {
1054
+ "kind": "Field",
1055
+ "name": {
1056
+ "kind": "Name",
1057
+ "value": "expiresAt"
1058
+ },
1059
+ "arguments": [],
1060
+ "directives": []
1061
+ },
1062
+ {
1063
+ "kind": "Field",
1064
+ "name": {
1065
+ "kind": "Name",
1066
+ "value": "idleSeconds"
1067
+ },
1068
+ "arguments": [],
1069
+ "directives": []
1070
+ },
1071
+ {
1072
+ "kind": "Field",
1073
+ "name": {
1074
+ "kind": "Name",
1075
+ "value": "lastCallAt"
1076
+ },
1077
+ "arguments": [],
1078
+ "directives": []
1079
+ },
1080
+ {
1081
+ "kind": "Field",
1082
+ "name": {
1083
+ "kind": "Name",
1084
+ "value": "requestCount"
1085
+ },
1086
+ "arguments": [],
1087
+ "directives": []
1088
+ },
1089
+ {
1090
+ "kind": "Field",
1091
+ "name": {
1092
+ "kind": "Name",
1093
+ "value": "error"
1094
+ },
1095
+ "arguments": [],
1096
+ "directives": []
1097
+ },
1098
+ {
1099
+ "kind": "Field",
1100
+ "name": {
1101
+ "kind": "Name",
1102
+ "value": "tools"
1103
+ },
1104
+ "arguments": [],
1105
+ "directives": [],
1106
+ "selectionSet": {
1107
+ "kind": "SelectionSet",
1108
+ "selections": [{
1109
+ "kind": "Field",
1110
+ "name": {
1111
+ "kind": "Name",
1112
+ "value": "name"
1113
+ },
1114
+ "arguments": [],
1115
+ "directives": []
1116
+ }, {
1117
+ "kind": "Field",
1118
+ "name": {
1119
+ "kind": "Name",
1120
+ "value": "readOnly"
1121
+ },
1122
+ "arguments": [],
1123
+ "directives": []
1124
+ }]
1125
+ }
1126
+ },
1127
+ {
1128
+ "kind": "Field",
1129
+ "name": {
1130
+ "kind": "Name",
1131
+ "value": "skipped"
1132
+ },
1133
+ "arguments": [],
1134
+ "directives": [],
1135
+ "selectionSet": {
1136
+ "kind": "SelectionSet",
1137
+ "selections": [{
1138
+ "kind": "Field",
1139
+ "name": {
1140
+ "kind": "Name",
1141
+ "value": "toolName"
1142
+ },
1143
+ "arguments": [],
1144
+ "directives": []
1145
+ }, {
1146
+ "kind": "Field",
1147
+ "name": {
1148
+ "kind": "Name",
1149
+ "value": "reason"
1150
+ },
1151
+ "arguments": [],
1152
+ "directives": []
1153
+ }]
1154
+ }
1155
+ },
1156
+ {
1157
+ "kind": "Field",
1158
+ "name": {
1159
+ "kind": "Name",
1160
+ "value": "problems"
1161
+ },
1162
+ "arguments": [],
1163
+ "directives": []
1164
+ },
1165
+ {
1166
+ "kind": "Field",
1167
+ "name": {
1168
+ "kind": "Name",
1169
+ "value": "calls"
1170
+ },
1171
+ "arguments": [],
1172
+ "directives": [],
1173
+ "selectionSet": {
1174
+ "kind": "SelectionSet",
1175
+ "selections": [
1176
+ {
1177
+ "kind": "Field",
1178
+ "name": {
1179
+ "kind": "Name",
1180
+ "value": "id"
1181
+ },
1182
+ "arguments": [],
1183
+ "directives": []
1184
+ },
1185
+ {
1186
+ "kind": "Field",
1187
+ "name": {
1188
+ "kind": "Name",
1189
+ "value": "toolName"
1190
+ },
1191
+ "arguments": [],
1192
+ "directives": []
1193
+ },
1194
+ {
1195
+ "kind": "Field",
1196
+ "name": {
1197
+ "kind": "Name",
1198
+ "value": "status"
1199
+ },
1200
+ "arguments": [],
1201
+ "directives": []
1202
+ },
1203
+ {
1204
+ "kind": "Field",
1205
+ "name": {
1206
+ "kind": "Name",
1207
+ "value": "decision"
1208
+ },
1209
+ "arguments": [],
1210
+ "directives": []
1211
+ },
1212
+ {
1213
+ "kind": "Field",
1214
+ "name": {
1215
+ "kind": "Name",
1216
+ "value": "errorCode"
1217
+ },
1218
+ "arguments": [],
1219
+ "directives": []
1220
+ },
1221
+ {
1222
+ "kind": "Field",
1223
+ "name": {
1224
+ "kind": "Name",
1225
+ "value": "errorMessage"
1226
+ },
1227
+ "arguments": [],
1228
+ "directives": []
1229
+ },
1230
+ {
1231
+ "kind": "Field",
1232
+ "name": {
1233
+ "kind": "Name",
1234
+ "value": "latencyMs"
1235
+ },
1236
+ "arguments": [],
1237
+ "directives": []
1238
+ },
1239
+ {
1240
+ "kind": "Field",
1241
+ "name": {
1242
+ "kind": "Name",
1243
+ "value": "runId"
1244
+ },
1245
+ "arguments": [],
1246
+ "directives": []
1247
+ },
1248
+ {
1249
+ "kind": "Field",
1250
+ "name": {
1251
+ "kind": "Name",
1252
+ "value": "createdAt"
1253
+ },
1254
+ "arguments": [],
1255
+ "directives": []
1256
+ }
1257
+ ]
1258
+ }
1259
+ }
1260
+ ]
1261
+ }
1262
+ }]
1263
+ };
1264
+
1265
+ // src/generated/documents/wspace/StopMcpTriggerTestListenerDocument.ts
1266
+ const StopMcpTriggerTestListenerDocument = {
1267
+ "kind": "Document",
1268
+ "definitions": [{
1269
+ "kind": "OperationDefinition",
1270
+ "operation": "mutation",
1271
+ "name": {
1272
+ "kind": "Name",
1273
+ "value": "StopMcpTriggerTestListener"
1274
+ },
1275
+ "variableDefinitions": [{
1276
+ "kind": "VariableDefinition",
1277
+ "variable": {
1278
+ "kind": "Variable",
1279
+ "name": {
1280
+ "kind": "Name",
1281
+ "value": "id"
1282
+ }
1283
+ },
1284
+ "type": {
1285
+ "kind": "NonNullType",
1286
+ "type": {
1287
+ "kind": "NamedType",
1288
+ "name": {
1289
+ "kind": "Name",
1290
+ "value": "ID"
1291
+ }
1292
+ }
1293
+ },
1294
+ "directives": []
1295
+ }],
1296
+ "directives": [],
1297
+ "selectionSet": {
1298
+ "kind": "SelectionSet",
1299
+ "selections": [{
1300
+ "kind": "Field",
1301
+ "name": {
1302
+ "kind": "Name",
1303
+ "value": "stopMcpTriggerTestListener"
1304
+ },
1305
+ "arguments": [{
1306
+ "kind": "Argument",
1307
+ "name": {
1308
+ "kind": "Name",
1309
+ "value": "id"
1310
+ },
1311
+ "value": {
1312
+ "kind": "Variable",
1313
+ "name": {
1314
+ "kind": "Name",
1315
+ "value": "id"
1316
+ }
1317
+ }
1318
+ }],
1319
+ "directives": [],
1320
+ "selectionSet": {
1321
+ "kind": "SelectionSet",
1322
+ "selections": [{
1323
+ "kind": "FragmentSpread",
1324
+ "name": {
1325
+ "kind": "Name",
1326
+ "value": "McpTriggerTestListenerFields"
1327
+ },
1328
+ "directives": []
1329
+ }]
1330
+ }
1331
+ }]
1332
+ }
1333
+ }, {
1334
+ "kind": "FragmentDefinition",
1335
+ "name": {
1336
+ "kind": "Name",
1337
+ "value": "McpTriggerTestListenerFields"
1338
+ },
1339
+ "variableDefinitions": [],
1340
+ "typeCondition": {
1341
+ "kind": "NamedType",
1342
+ "name": {
1343
+ "kind": "Name",
1344
+ "value": "McpTriggerTestListener"
1345
+ }
1346
+ },
1347
+ "directives": [],
1348
+ "selectionSet": {
1349
+ "kind": "SelectionSet",
1350
+ "selections": [
1351
+ {
1352
+ "kind": "Field",
1353
+ "name": {
1354
+ "kind": "Name",
1355
+ "value": "id"
1356
+ },
1357
+ "arguments": [],
1358
+ "directives": []
1359
+ },
1360
+ {
1361
+ "kind": "Field",
1362
+ "name": {
1363
+ "kind": "Name",
1364
+ "value": "workflowKey"
1365
+ },
1366
+ "arguments": [],
1367
+ "directives": []
1368
+ },
1369
+ {
1370
+ "kind": "Field",
1371
+ "name": {
1372
+ "kind": "Name",
1373
+ "value": "workflowVersion"
1374
+ },
1375
+ "arguments": [],
1376
+ "directives": []
1377
+ },
1378
+ {
1379
+ "kind": "Field",
1380
+ "name": {
1381
+ "kind": "Name",
1382
+ "value": "triggerNodeId"
1383
+ },
1384
+ "arguments": [],
1385
+ "directives": []
1386
+ },
1387
+ {
1388
+ "kind": "Field",
1389
+ "name": {
1390
+ "kind": "Name",
1391
+ "value": "path"
1392
+ },
1393
+ "arguments": [],
1394
+ "directives": []
1395
+ },
1396
+ {
1397
+ "kind": "Field",
1398
+ "name": {
1399
+ "kind": "Name",
1400
+ "value": "testEndpointPath"
1401
+ },
1402
+ "arguments": [],
1403
+ "directives": []
1404
+ },
1405
+ {
1406
+ "kind": "Field",
1407
+ "name": {
1408
+ "kind": "Name",
1409
+ "value": "scope"
1410
+ },
1411
+ "arguments": [],
1412
+ "directives": []
1413
+ },
1414
+ {
1415
+ "kind": "Field",
1416
+ "name": {
1417
+ "kind": "Name",
1418
+ "value": "status"
1419
+ },
1420
+ "arguments": [],
1421
+ "directives": []
1422
+ },
1423
+ {
1424
+ "kind": "Field",
1425
+ "name": {
1426
+ "kind": "Name",
1427
+ "value": "expiresAt"
1428
+ },
1429
+ "arguments": [],
1430
+ "directives": []
1431
+ },
1432
+ {
1433
+ "kind": "Field",
1434
+ "name": {
1435
+ "kind": "Name",
1436
+ "value": "idleSeconds"
1437
+ },
1438
+ "arguments": [],
1439
+ "directives": []
1440
+ },
1441
+ {
1442
+ "kind": "Field",
1443
+ "name": {
1444
+ "kind": "Name",
1445
+ "value": "lastCallAt"
1446
+ },
1447
+ "arguments": [],
1448
+ "directives": []
1449
+ },
1450
+ {
1451
+ "kind": "Field",
1452
+ "name": {
1453
+ "kind": "Name",
1454
+ "value": "requestCount"
1455
+ },
1456
+ "arguments": [],
1457
+ "directives": []
1458
+ },
1459
+ {
1460
+ "kind": "Field",
1461
+ "name": {
1462
+ "kind": "Name",
1463
+ "value": "error"
1464
+ },
1465
+ "arguments": [],
1466
+ "directives": []
1467
+ },
1468
+ {
1469
+ "kind": "Field",
1470
+ "name": {
1471
+ "kind": "Name",
1472
+ "value": "tools"
1473
+ },
1474
+ "arguments": [],
1475
+ "directives": [],
1476
+ "selectionSet": {
1477
+ "kind": "SelectionSet",
1478
+ "selections": [{
1479
+ "kind": "Field",
1480
+ "name": {
1481
+ "kind": "Name",
1482
+ "value": "name"
1483
+ },
1484
+ "arguments": [],
1485
+ "directives": []
1486
+ }, {
1487
+ "kind": "Field",
1488
+ "name": {
1489
+ "kind": "Name",
1490
+ "value": "readOnly"
1491
+ },
1492
+ "arguments": [],
1493
+ "directives": []
1494
+ }]
1495
+ }
1496
+ },
1497
+ {
1498
+ "kind": "Field",
1499
+ "name": {
1500
+ "kind": "Name",
1501
+ "value": "skipped"
1502
+ },
1503
+ "arguments": [],
1504
+ "directives": [],
1505
+ "selectionSet": {
1506
+ "kind": "SelectionSet",
1507
+ "selections": [{
1508
+ "kind": "Field",
1509
+ "name": {
1510
+ "kind": "Name",
1511
+ "value": "toolName"
1512
+ },
1513
+ "arguments": [],
1514
+ "directives": []
1515
+ }, {
1516
+ "kind": "Field",
1517
+ "name": {
1518
+ "kind": "Name",
1519
+ "value": "reason"
1520
+ },
1521
+ "arguments": [],
1522
+ "directives": []
1523
+ }]
1524
+ }
1525
+ },
1526
+ {
1527
+ "kind": "Field",
1528
+ "name": {
1529
+ "kind": "Name",
1530
+ "value": "problems"
1531
+ },
1532
+ "arguments": [],
1533
+ "directives": []
1534
+ },
1535
+ {
1536
+ "kind": "Field",
1537
+ "name": {
1538
+ "kind": "Name",
1539
+ "value": "calls"
1540
+ },
1541
+ "arguments": [],
1542
+ "directives": [],
1543
+ "selectionSet": {
1544
+ "kind": "SelectionSet",
1545
+ "selections": [
1546
+ {
1547
+ "kind": "Field",
1548
+ "name": {
1549
+ "kind": "Name",
1550
+ "value": "id"
1551
+ },
1552
+ "arguments": [],
1553
+ "directives": []
1554
+ },
1555
+ {
1556
+ "kind": "Field",
1557
+ "name": {
1558
+ "kind": "Name",
1559
+ "value": "toolName"
1560
+ },
1561
+ "arguments": [],
1562
+ "directives": []
1563
+ },
1564
+ {
1565
+ "kind": "Field",
1566
+ "name": {
1567
+ "kind": "Name",
1568
+ "value": "status"
1569
+ },
1570
+ "arguments": [],
1571
+ "directives": []
1572
+ },
1573
+ {
1574
+ "kind": "Field",
1575
+ "name": {
1576
+ "kind": "Name",
1577
+ "value": "decision"
1578
+ },
1579
+ "arguments": [],
1580
+ "directives": []
1581
+ },
1582
+ {
1583
+ "kind": "Field",
1584
+ "name": {
1585
+ "kind": "Name",
1586
+ "value": "errorCode"
1587
+ },
1588
+ "arguments": [],
1589
+ "directives": []
1590
+ },
1591
+ {
1592
+ "kind": "Field",
1593
+ "name": {
1594
+ "kind": "Name",
1595
+ "value": "errorMessage"
1596
+ },
1597
+ "arguments": [],
1598
+ "directives": []
1599
+ },
1600
+ {
1601
+ "kind": "Field",
1602
+ "name": {
1603
+ "kind": "Name",
1604
+ "value": "latencyMs"
1605
+ },
1606
+ "arguments": [],
1607
+ "directives": []
1608
+ },
1609
+ {
1610
+ "kind": "Field",
1611
+ "name": {
1612
+ "kind": "Name",
1613
+ "value": "runId"
1614
+ },
1615
+ "arguments": [],
1616
+ "directives": []
1617
+ },
1618
+ {
1619
+ "kind": "Field",
1620
+ "name": {
1621
+ "kind": "Name",
1622
+ "value": "createdAt"
1623
+ },
1624
+ "arguments": [],
1625
+ "directives": []
1626
+ }
1627
+ ]
1628
+ }
1629
+ }
1630
+ ]
1631
+ }
1632
+ }]
1633
+ };
1634
+
1635
+ // src/generated/documents/wspace/StopWebhookTestListenerDocument.ts
1636
+ const StopWebhookTestListenerDocument = {
1637
+ "kind": "Document",
1638
+ "definitions": [{
1639
+ "kind": "OperationDefinition",
1640
+ "operation": "mutation",
1641
+ "name": {
1642
+ "kind": "Name",
1643
+ "value": "StopWebhookTestListener"
1644
+ },
1645
+ "variableDefinitions": [{
1646
+ "kind": "VariableDefinition",
1647
+ "variable": {
1648
+ "kind": "Variable",
1649
+ "name": {
1650
+ "kind": "Name",
1651
+ "value": "id"
1652
+ }
1653
+ },
1654
+ "type": {
1655
+ "kind": "NonNullType",
1656
+ "type": {
1657
+ "kind": "NamedType",
1658
+ "name": {
1659
+ "kind": "Name",
1660
+ "value": "ID"
1661
+ }
1662
+ }
1663
+ },
1664
+ "directives": []
1665
+ }],
1666
+ "directives": [],
1667
+ "selectionSet": {
1668
+ "kind": "SelectionSet",
1669
+ "selections": [{
1670
+ "kind": "Field",
1671
+ "name": {
1672
+ "kind": "Name",
1673
+ "value": "stopWebhookTestListener"
1674
+ },
1675
+ "arguments": [{
1676
+ "kind": "Argument",
1677
+ "name": {
1678
+ "kind": "Name",
1679
+ "value": "id"
1680
+ },
1681
+ "value": {
1682
+ "kind": "Variable",
1683
+ "name": {
1684
+ "kind": "Name",
1685
+ "value": "id"
1686
+ }
1687
+ }
1688
+ }],
1689
+ "directives": [],
1690
+ "selectionSet": {
1691
+ "kind": "SelectionSet",
1692
+ "selections": [
1693
+ {
1694
+ "kind": "Field",
1695
+ "name": {
1696
+ "kind": "Name",
1697
+ "value": "id"
1698
+ },
1699
+ "arguments": [],
1700
+ "directives": []
1701
+ },
1702
+ {
1703
+ "kind": "Field",
1704
+ "name": {
1705
+ "kind": "Name",
1706
+ "value": "status"
1707
+ },
1708
+ "arguments": [],
1709
+ "directives": []
1710
+ },
1711
+ {
1712
+ "kind": "Field",
1713
+ "name": {
1714
+ "kind": "Name",
1715
+ "value": "runId"
1716
+ },
1717
+ "arguments": [],
1718
+ "directives": []
1719
+ },
1720
+ {
1721
+ "kind": "Field",
1722
+ "name": {
1723
+ "kind": "Name",
1724
+ "value": "error"
1725
+ },
1726
+ "arguments": [],
1727
+ "directives": []
1728
+ }
1729
+ ]
1730
+ }
1731
+ }]
1732
+ }
1733
+ }]
1734
+ };
1735
+
1736
+ // src/generated/documents/wspace/EventRegistrationHandshakeSecretDocument.ts
1737
+ const EventRegistrationHandshakeSecretDocument = {
1738
+ "kind": "Document",
1739
+ "definitions": [{
1740
+ "kind": "OperationDefinition",
1741
+ "operation": "query",
1742
+ "name": {
1743
+ "kind": "Name",
1744
+ "value": "EventRegistrationHandshakeSecret"
1745
+ },
1746
+ "variableDefinitions": [{
1747
+ "kind": "VariableDefinition",
1748
+ "variable": {
1749
+ "kind": "Variable",
1750
+ "name": {
1751
+ "kind": "Name",
1752
+ "value": "id"
1753
+ }
1754
+ },
1755
+ "type": {
1756
+ "kind": "NonNullType",
1757
+ "type": {
1758
+ "kind": "NamedType",
1759
+ "name": {
1760
+ "kind": "Name",
1761
+ "value": "ID"
1762
+ }
1763
+ }
1764
+ },
1765
+ "directives": []
1766
+ }],
1767
+ "directives": [],
1768
+ "selectionSet": {
1769
+ "kind": "SelectionSet",
1770
+ "selections": [{
1771
+ "kind": "Field",
1772
+ "name": {
1773
+ "kind": "Name",
1774
+ "value": "eventRegistrationHandshakeSecret"
1775
+ },
1776
+ "arguments": [{
1777
+ "kind": "Argument",
1778
+ "name": {
1779
+ "kind": "Name",
1780
+ "value": "id"
1781
+ },
1782
+ "value": {
1783
+ "kind": "Variable",
1784
+ "name": {
1785
+ "kind": "Name",
1786
+ "value": "id"
1787
+ }
1788
+ }
1789
+ }],
1790
+ "directives": []
1791
+ }]
1792
+ }
1793
+ }]
1794
+ };
1795
+
1796
+ // src/generated/documents/wspace/InboundMailSettingsDocument.ts
1797
+ const InboundMailSettingsDocument = {
1798
+ "kind": "Document",
1799
+ "definitions": [{
1800
+ "kind": "OperationDefinition",
1801
+ "operation": "query",
1802
+ "name": {
1803
+ "kind": "Name",
1804
+ "value": "InboundMailSettings"
1805
+ },
1806
+ "variableDefinitions": [],
1807
+ "directives": [],
1808
+ "selectionSet": {
1809
+ "kind": "SelectionSet",
1810
+ "selections": [{
1811
+ "kind": "Field",
1812
+ "name": {
1813
+ "kind": "Name",
1814
+ "value": "inboundMailSettings"
1815
+ },
1816
+ "arguments": [],
1817
+ "directives": [],
1818
+ "selectionSet": {
1819
+ "kind": "SelectionSet",
1820
+ "selections": [{
1821
+ "kind": "Field",
1822
+ "name": {
1823
+ "kind": "Name",
1824
+ "value": "enabled"
1825
+ },
1826
+ "arguments": [],
1827
+ "directives": []
1828
+ }, {
1829
+ "kind": "Field",
1830
+ "name": {
1831
+ "kind": "Name",
1832
+ "value": "domain"
1833
+ },
1834
+ "arguments": [],
1835
+ "directives": []
1836
+ }]
1837
+ }
1838
+ }]
1839
+ }
1840
+ }]
1841
+ };
1842
+
1843
+ // src/generated/documents/wspace/InboundMailboxDocument.ts
1844
+ const InboundMailboxDocument = {
1845
+ "kind": "Document",
1846
+ "definitions": [{
1847
+ "kind": "OperationDefinition",
1848
+ "operation": "query",
1849
+ "name": {
1850
+ "kind": "Name",
1851
+ "value": "InboundMailbox"
1852
+ },
1853
+ "variableDefinitions": [{
1854
+ "kind": "VariableDefinition",
1855
+ "variable": {
1856
+ "kind": "Variable",
1857
+ "name": {
1858
+ "kind": "Name",
1859
+ "value": "workflowKey"
1860
+ }
1861
+ },
1862
+ "type": {
1863
+ "kind": "NonNullType",
1864
+ "type": {
1865
+ "kind": "NamedType",
1866
+ "name": {
1867
+ "kind": "Name",
1868
+ "value": "String"
1869
+ }
1870
+ }
1871
+ },
1872
+ "directives": []
1873
+ }, {
1874
+ "kind": "VariableDefinition",
1875
+ "variable": {
1876
+ "kind": "Variable",
1877
+ "name": {
1878
+ "kind": "Name",
1879
+ "value": "triggerNodeId"
1880
+ }
1881
+ },
1882
+ "type": {
1883
+ "kind": "NonNullType",
1884
+ "type": {
1885
+ "kind": "NamedType",
1886
+ "name": {
1887
+ "kind": "Name",
1888
+ "value": "String"
1889
+ }
1890
+ }
1891
+ },
1892
+ "directives": []
1893
+ }],
1894
+ "directives": [],
1895
+ "selectionSet": {
1896
+ "kind": "SelectionSet",
1897
+ "selections": [{
1898
+ "kind": "Field",
1899
+ "name": {
1900
+ "kind": "Name",
1901
+ "value": "inboundMailbox"
1902
+ },
1903
+ "arguments": [{
1904
+ "kind": "Argument",
1905
+ "name": {
1906
+ "kind": "Name",
1907
+ "value": "workflowKey"
1908
+ },
1909
+ "value": {
1910
+ "kind": "Variable",
1911
+ "name": {
1912
+ "kind": "Name",
1913
+ "value": "workflowKey"
1914
+ }
1915
+ }
1916
+ }, {
1917
+ "kind": "Argument",
1918
+ "name": {
1919
+ "kind": "Name",
1920
+ "value": "triggerNodeId"
1921
+ },
1922
+ "value": {
1923
+ "kind": "Variable",
1924
+ "name": {
1925
+ "kind": "Name",
1926
+ "value": "triggerNodeId"
1927
+ }
1928
+ }
1929
+ }],
1930
+ "directives": [],
1931
+ "selectionSet": {
1932
+ "kind": "SelectionSet",
1933
+ "selections": [
1934
+ {
1935
+ "kind": "Field",
1936
+ "name": {
1937
+ "kind": "Name",
1938
+ "value": "id"
1939
+ },
1940
+ "arguments": [],
1941
+ "directives": []
1942
+ },
1943
+ {
1944
+ "kind": "Field",
1945
+ "name": {
1946
+ "kind": "Name",
1947
+ "value": "workflowKey"
1948
+ },
1949
+ "arguments": [],
1950
+ "directives": []
1951
+ },
1952
+ {
1953
+ "kind": "Field",
1954
+ "name": {
1955
+ "kind": "Name",
1956
+ "value": "triggerNodeId"
1957
+ },
1958
+ "arguments": [],
1959
+ "directives": []
1960
+ },
1961
+ {
1962
+ "kind": "Field",
1963
+ "name": {
1964
+ "kind": "Name",
1965
+ "value": "address"
1966
+ },
1967
+ "arguments": [],
1968
+ "directives": []
1969
+ },
1970
+ {
1971
+ "kind": "Field",
1972
+ "name": {
1973
+ "kind": "Name",
1974
+ "value": "localPart"
1975
+ },
1976
+ "arguments": [],
1977
+ "directives": []
1978
+ },
1979
+ {
1980
+ "kind": "Field",
1981
+ "name": {
1982
+ "kind": "Name",
1983
+ "value": "domain"
1984
+ },
1985
+ "arguments": [],
1986
+ "directives": []
1987
+ },
1988
+ {
1989
+ "kind": "Field",
1990
+ "name": {
1991
+ "kind": "Name",
1992
+ "value": "prefix"
1993
+ },
1994
+ "arguments": [],
1995
+ "directives": []
1996
+ },
1997
+ {
1998
+ "kind": "Field",
1999
+ "name": {
2000
+ "kind": "Name",
2001
+ "value": "status"
2002
+ },
2003
+ "arguments": [],
2004
+ "directives": []
2005
+ },
2006
+ {
2007
+ "kind": "Field",
2008
+ "name": {
2009
+ "kind": "Name",
2010
+ "value": "totalDeliveries"
2011
+ },
2012
+ "arguments": [],
2013
+ "directives": []
2014
+ },
2015
+ {
2016
+ "kind": "Field",
2017
+ "name": {
2018
+ "kind": "Name",
2019
+ "value": "startedDeliveries"
2020
+ },
2021
+ "arguments": [],
2022
+ "directives": []
2023
+ },
2024
+ {
2025
+ "kind": "Field",
2026
+ "name": {
2027
+ "kind": "Name",
2028
+ "value": "droppedDeliveries"
2029
+ },
2030
+ "arguments": [],
2031
+ "directives": []
2032
+ },
2033
+ {
2034
+ "kind": "Field",
2035
+ "name": {
2036
+ "kind": "Name",
2037
+ "value": "lastReceivedAt"
2038
+ },
2039
+ "arguments": [],
2040
+ "directives": []
2041
+ },
2042
+ {
2043
+ "kind": "Field",
2044
+ "name": {
2045
+ "kind": "Name",
2046
+ "value": "createdAt"
2047
+ },
2048
+ "arguments": [],
2049
+ "directives": []
2050
+ }
2051
+ ]
2052
+ }
2053
+ }]
2054
+ }
2055
+ }]
2056
+ };
2057
+
2058
+ // src/generated/documents/wspace/McpTriggerTestListenerDocument.ts
2059
+ const McpTriggerTestListenerDocument = {
2060
+ "kind": "Document",
2061
+ "definitions": [{
2062
+ "kind": "OperationDefinition",
2063
+ "operation": "query",
2064
+ "name": {
2065
+ "kind": "Name",
2066
+ "value": "McpTriggerTestListener"
2067
+ },
2068
+ "variableDefinitions": [{
2069
+ "kind": "VariableDefinition",
2070
+ "variable": {
2071
+ "kind": "Variable",
2072
+ "name": {
2073
+ "kind": "Name",
2074
+ "value": "id"
2075
+ }
2076
+ },
2077
+ "type": {
2078
+ "kind": "NonNullType",
2079
+ "type": {
2080
+ "kind": "NamedType",
2081
+ "name": {
2082
+ "kind": "Name",
2083
+ "value": "ID"
2084
+ }
2085
+ }
2086
+ },
2087
+ "directives": []
2088
+ }],
2089
+ "directives": [],
2090
+ "selectionSet": {
2091
+ "kind": "SelectionSet",
2092
+ "selections": [{
2093
+ "kind": "Field",
2094
+ "name": {
2095
+ "kind": "Name",
2096
+ "value": "mcpTriggerTestListener"
2097
+ },
2098
+ "arguments": [{
2099
+ "kind": "Argument",
2100
+ "name": {
2101
+ "kind": "Name",
2102
+ "value": "id"
2103
+ },
2104
+ "value": {
2105
+ "kind": "Variable",
2106
+ "name": {
2107
+ "kind": "Name",
2108
+ "value": "id"
2109
+ }
2110
+ }
2111
+ }],
2112
+ "directives": [],
2113
+ "selectionSet": {
2114
+ "kind": "SelectionSet",
2115
+ "selections": [{
2116
+ "kind": "FragmentSpread",
2117
+ "name": {
2118
+ "kind": "Name",
2119
+ "value": "McpTriggerTestListenerFields"
2120
+ },
2121
+ "directives": []
2122
+ }]
2123
+ }
2124
+ }]
2125
+ }
2126
+ }, {
2127
+ "kind": "FragmentDefinition",
2128
+ "name": {
2129
+ "kind": "Name",
2130
+ "value": "McpTriggerTestListenerFields"
2131
+ },
2132
+ "variableDefinitions": [],
2133
+ "typeCondition": {
2134
+ "kind": "NamedType",
2135
+ "name": {
2136
+ "kind": "Name",
2137
+ "value": "McpTriggerTestListener"
2138
+ }
2139
+ },
2140
+ "directives": [],
2141
+ "selectionSet": {
2142
+ "kind": "SelectionSet",
2143
+ "selections": [
2144
+ {
2145
+ "kind": "Field",
2146
+ "name": {
2147
+ "kind": "Name",
2148
+ "value": "id"
2149
+ },
2150
+ "arguments": [],
2151
+ "directives": []
2152
+ },
2153
+ {
2154
+ "kind": "Field",
2155
+ "name": {
2156
+ "kind": "Name",
2157
+ "value": "workflowKey"
2158
+ },
2159
+ "arguments": [],
2160
+ "directives": []
2161
+ },
2162
+ {
2163
+ "kind": "Field",
2164
+ "name": {
2165
+ "kind": "Name",
2166
+ "value": "workflowVersion"
2167
+ },
2168
+ "arguments": [],
2169
+ "directives": []
2170
+ },
2171
+ {
2172
+ "kind": "Field",
2173
+ "name": {
2174
+ "kind": "Name",
2175
+ "value": "triggerNodeId"
2176
+ },
2177
+ "arguments": [],
2178
+ "directives": []
2179
+ },
2180
+ {
2181
+ "kind": "Field",
2182
+ "name": {
2183
+ "kind": "Name",
2184
+ "value": "path"
2185
+ },
2186
+ "arguments": [],
2187
+ "directives": []
2188
+ },
2189
+ {
2190
+ "kind": "Field",
2191
+ "name": {
2192
+ "kind": "Name",
2193
+ "value": "testEndpointPath"
2194
+ },
2195
+ "arguments": [],
2196
+ "directives": []
2197
+ },
2198
+ {
2199
+ "kind": "Field",
2200
+ "name": {
2201
+ "kind": "Name",
2202
+ "value": "scope"
2203
+ },
2204
+ "arguments": [],
2205
+ "directives": []
2206
+ },
2207
+ {
2208
+ "kind": "Field",
2209
+ "name": {
2210
+ "kind": "Name",
2211
+ "value": "status"
2212
+ },
2213
+ "arguments": [],
2214
+ "directives": []
2215
+ },
2216
+ {
2217
+ "kind": "Field",
2218
+ "name": {
2219
+ "kind": "Name",
2220
+ "value": "expiresAt"
2221
+ },
2222
+ "arguments": [],
2223
+ "directives": []
2224
+ },
2225
+ {
2226
+ "kind": "Field",
2227
+ "name": {
2228
+ "kind": "Name",
2229
+ "value": "idleSeconds"
2230
+ },
2231
+ "arguments": [],
2232
+ "directives": []
2233
+ },
2234
+ {
2235
+ "kind": "Field",
2236
+ "name": {
2237
+ "kind": "Name",
2238
+ "value": "lastCallAt"
2239
+ },
2240
+ "arguments": [],
2241
+ "directives": []
2242
+ },
2243
+ {
2244
+ "kind": "Field",
2245
+ "name": {
2246
+ "kind": "Name",
2247
+ "value": "requestCount"
2248
+ },
2249
+ "arguments": [],
2250
+ "directives": []
2251
+ },
2252
+ {
2253
+ "kind": "Field",
2254
+ "name": {
2255
+ "kind": "Name",
2256
+ "value": "error"
2257
+ },
2258
+ "arguments": [],
2259
+ "directives": []
2260
+ },
2261
+ {
2262
+ "kind": "Field",
2263
+ "name": {
2264
+ "kind": "Name",
2265
+ "value": "tools"
2266
+ },
2267
+ "arguments": [],
2268
+ "directives": [],
2269
+ "selectionSet": {
2270
+ "kind": "SelectionSet",
2271
+ "selections": [{
2272
+ "kind": "Field",
2273
+ "name": {
2274
+ "kind": "Name",
2275
+ "value": "name"
2276
+ },
2277
+ "arguments": [],
2278
+ "directives": []
2279
+ }, {
2280
+ "kind": "Field",
2281
+ "name": {
2282
+ "kind": "Name",
2283
+ "value": "readOnly"
2284
+ },
2285
+ "arguments": [],
2286
+ "directives": []
2287
+ }]
2288
+ }
2289
+ },
2290
+ {
2291
+ "kind": "Field",
2292
+ "name": {
2293
+ "kind": "Name",
2294
+ "value": "skipped"
2295
+ },
2296
+ "arguments": [],
2297
+ "directives": [],
2298
+ "selectionSet": {
2299
+ "kind": "SelectionSet",
2300
+ "selections": [{
2301
+ "kind": "Field",
2302
+ "name": {
2303
+ "kind": "Name",
2304
+ "value": "toolName"
2305
+ },
2306
+ "arguments": [],
2307
+ "directives": []
2308
+ }, {
2309
+ "kind": "Field",
2310
+ "name": {
2311
+ "kind": "Name",
2312
+ "value": "reason"
2313
+ },
2314
+ "arguments": [],
2315
+ "directives": []
2316
+ }]
2317
+ }
2318
+ },
2319
+ {
2320
+ "kind": "Field",
2321
+ "name": {
2322
+ "kind": "Name",
2323
+ "value": "problems"
2324
+ },
2325
+ "arguments": [],
2326
+ "directives": []
2327
+ },
2328
+ {
2329
+ "kind": "Field",
2330
+ "name": {
2331
+ "kind": "Name",
2332
+ "value": "calls"
2333
+ },
2334
+ "arguments": [],
2335
+ "directives": [],
2336
+ "selectionSet": {
2337
+ "kind": "SelectionSet",
2338
+ "selections": [
2339
+ {
2340
+ "kind": "Field",
2341
+ "name": {
2342
+ "kind": "Name",
2343
+ "value": "id"
2344
+ },
2345
+ "arguments": [],
2346
+ "directives": []
2347
+ },
2348
+ {
2349
+ "kind": "Field",
2350
+ "name": {
2351
+ "kind": "Name",
2352
+ "value": "toolName"
2353
+ },
2354
+ "arguments": [],
2355
+ "directives": []
2356
+ },
2357
+ {
2358
+ "kind": "Field",
2359
+ "name": {
2360
+ "kind": "Name",
2361
+ "value": "status"
2362
+ },
2363
+ "arguments": [],
2364
+ "directives": []
2365
+ },
2366
+ {
2367
+ "kind": "Field",
2368
+ "name": {
2369
+ "kind": "Name",
2370
+ "value": "decision"
2371
+ },
2372
+ "arguments": [],
2373
+ "directives": []
2374
+ },
2375
+ {
2376
+ "kind": "Field",
2377
+ "name": {
2378
+ "kind": "Name",
2379
+ "value": "errorCode"
2380
+ },
2381
+ "arguments": [],
2382
+ "directives": []
2383
+ },
2384
+ {
2385
+ "kind": "Field",
2386
+ "name": {
2387
+ "kind": "Name",
2388
+ "value": "errorMessage"
2389
+ },
2390
+ "arguments": [],
2391
+ "directives": []
2392
+ },
2393
+ {
2394
+ "kind": "Field",
2395
+ "name": {
2396
+ "kind": "Name",
2397
+ "value": "latencyMs"
2398
+ },
2399
+ "arguments": [],
2400
+ "directives": []
2401
+ },
2402
+ {
2403
+ "kind": "Field",
2404
+ "name": {
2405
+ "kind": "Name",
2406
+ "value": "runId"
2407
+ },
2408
+ "arguments": [],
2409
+ "directives": []
2410
+ },
2411
+ {
2412
+ "kind": "Field",
2413
+ "name": {
2414
+ "kind": "Name",
2415
+ "value": "createdAt"
2416
+ },
2417
+ "arguments": [],
2418
+ "directives": []
2419
+ }
2420
+ ]
2421
+ }
2422
+ }
2423
+ ]
2424
+ }
2425
+ }]
2426
+ };
2427
+
2428
+ // src/generated/documents/wspace/PreviewInboundParseRulesDocument.ts
2429
+ const PreviewInboundParseRulesDocument = {
2430
+ "kind": "Document",
2431
+ "definitions": [{
2432
+ "kind": "OperationDefinition",
2433
+ "operation": "query",
2434
+ "name": {
2435
+ "kind": "Name",
2436
+ "value": "PreviewInboundParseRules"
2437
+ },
2438
+ "variableDefinitions": [{
2439
+ "kind": "VariableDefinition",
2440
+ "variable": {
2441
+ "kind": "Variable",
2442
+ "name": {
2443
+ "kind": "Name",
2444
+ "value": "sample"
2445
+ }
2446
+ },
2447
+ "type": {
2448
+ "kind": "NonNullType",
2449
+ "type": {
2450
+ "kind": "NamedType",
2451
+ "name": {
2452
+ "kind": "Name",
2453
+ "value": "InboundParseSampleInput"
2454
+ }
2455
+ }
2456
+ },
2457
+ "directives": []
2458
+ }, {
2459
+ "kind": "VariableDefinition",
2460
+ "variable": {
2461
+ "kind": "Variable",
2462
+ "name": {
2463
+ "kind": "Name",
2464
+ "value": "rules"
2465
+ }
2466
+ },
2467
+ "type": {
2468
+ "kind": "NonNullType",
2469
+ "type": {
2470
+ "kind": "ListType",
2471
+ "type": {
2472
+ "kind": "NonNullType",
2473
+ "type": {
2474
+ "kind": "NamedType",
2475
+ "name": {
2476
+ "kind": "Name",
2477
+ "value": "JSON"
2478
+ }
2479
+ }
2480
+ }
2481
+ }
2482
+ },
2483
+ "directives": []
2484
+ }],
2485
+ "directives": [],
2486
+ "selectionSet": {
2487
+ "kind": "SelectionSet",
2488
+ "selections": [{
2489
+ "kind": "Field",
2490
+ "name": {
2491
+ "kind": "Name",
2492
+ "value": "previewInboundParseRules"
2493
+ },
2494
+ "arguments": [{
2495
+ "kind": "Argument",
2496
+ "name": {
2497
+ "kind": "Name",
2498
+ "value": "sample"
2499
+ },
2500
+ "value": {
2501
+ "kind": "Variable",
2502
+ "name": {
2503
+ "kind": "Name",
2504
+ "value": "sample"
2505
+ }
2506
+ }
2507
+ }, {
2508
+ "kind": "Argument",
2509
+ "name": {
2510
+ "kind": "Name",
2511
+ "value": "rules"
2512
+ },
2513
+ "value": {
2514
+ "kind": "Variable",
2515
+ "name": {
2516
+ "kind": "Name",
2517
+ "value": "rules"
2518
+ }
2519
+ }
2520
+ }],
2521
+ "directives": [],
2522
+ "selectionSet": {
2523
+ "kind": "SelectionSet",
2524
+ "selections": [
2525
+ {
2526
+ "kind": "Field",
2527
+ "name": {
2528
+ "kind": "Name",
2529
+ "value": "parsed"
2530
+ },
2531
+ "arguments": [],
2532
+ "directives": []
2533
+ },
2534
+ {
2535
+ "kind": "Field",
2536
+ "name": {
2537
+ "kind": "Name",
2538
+ "value": "parseErrors"
2539
+ },
2540
+ "arguments": [],
2541
+ "directives": [],
2542
+ "selectionSet": {
2543
+ "kind": "SelectionSet",
2544
+ "selections": [{
2545
+ "kind": "Field",
2546
+ "name": {
2547
+ "kind": "Name",
2548
+ "value": "field"
2549
+ },
2550
+ "arguments": [],
2551
+ "directives": []
2552
+ }, {
2553
+ "kind": "Field",
2554
+ "name": {
2555
+ "kind": "Name",
2556
+ "value": "reason"
2557
+ },
2558
+ "arguments": [],
2559
+ "directives": []
2560
+ }]
2561
+ }
2562
+ },
2563
+ {
2564
+ "kind": "Field",
2565
+ "name": {
2566
+ "kind": "Name",
2567
+ "value": "parseOk"
2568
+ },
2569
+ "arguments": [],
2570
+ "directives": []
2571
+ },
2572
+ {
2573
+ "kind": "Field",
2574
+ "name": {
2575
+ "kind": "Name",
2576
+ "value": "fields"
2577
+ },
2578
+ "arguments": [],
2579
+ "directives": [],
2580
+ "selectionSet": {
2581
+ "kind": "SelectionSet",
2582
+ "selections": [
2583
+ {
2584
+ "kind": "Field",
2585
+ "name": {
2586
+ "kind": "Name",
2587
+ "value": "field"
2588
+ },
2589
+ "arguments": [],
2590
+ "directives": []
2591
+ },
2592
+ {
2593
+ "kind": "Field",
2594
+ "name": {
2595
+ "kind": "Name",
2596
+ "value": "value"
2597
+ },
2598
+ "arguments": [],
2599
+ "directives": []
2600
+ },
2601
+ {
2602
+ "kind": "Field",
2603
+ "name": {
2604
+ "kind": "Name",
2605
+ "value": "error"
2606
+ },
2607
+ "arguments": [],
2608
+ "directives": []
2609
+ }
2610
+ ]
2611
+ }
2612
+ },
2613
+ {
2614
+ "kind": "Field",
2615
+ "name": {
2616
+ "kind": "Name",
2617
+ "value": "missingSources"
2618
+ },
2619
+ "arguments": [],
2620
+ "directives": []
2621
+ }
2622
+ ]
2623
+ }
2624
+ }]
2625
+ }
2626
+ }]
2627
+ };
2628
+
2629
+ // src/generated/documents/wspace/WebhookTestListenerDocument.ts
2630
+ const WebhookTestListenerDocument = {
2631
+ "kind": "Document",
2632
+ "definitions": [{
2633
+ "kind": "OperationDefinition",
2634
+ "operation": "query",
2635
+ "name": {
2636
+ "kind": "Name",
2637
+ "value": "WebhookTestListener"
2638
+ },
2639
+ "variableDefinitions": [{
2640
+ "kind": "VariableDefinition",
2641
+ "variable": {
2642
+ "kind": "Variable",
2643
+ "name": {
2644
+ "kind": "Name",
2645
+ "value": "id"
2646
+ }
2647
+ },
2648
+ "type": {
2649
+ "kind": "NonNullType",
2650
+ "type": {
2651
+ "kind": "NamedType",
2652
+ "name": {
2653
+ "kind": "Name",
2654
+ "value": "ID"
2655
+ }
2656
+ }
2657
+ },
2658
+ "directives": []
2659
+ }],
2660
+ "directives": [],
2661
+ "selectionSet": {
2662
+ "kind": "SelectionSet",
2663
+ "selections": [{
2664
+ "kind": "Field",
2665
+ "name": {
2666
+ "kind": "Name",
2667
+ "value": "webhookTestListener"
2668
+ },
2669
+ "arguments": [{
2670
+ "kind": "Argument",
2671
+ "name": {
2672
+ "kind": "Name",
2673
+ "value": "id"
2674
+ },
2675
+ "value": {
2676
+ "kind": "Variable",
2677
+ "name": {
2678
+ "kind": "Name",
2679
+ "value": "id"
2680
+ }
2681
+ }
2682
+ }],
2683
+ "directives": [],
2684
+ "selectionSet": {
2685
+ "kind": "SelectionSet",
2686
+ "selections": [
2687
+ {
2688
+ "kind": "Field",
2689
+ "name": {
2690
+ "kind": "Name",
2691
+ "value": "id"
2692
+ },
2693
+ "arguments": [],
2694
+ "directives": []
2695
+ },
2696
+ {
2697
+ "kind": "Field",
2698
+ "name": {
2699
+ "kind": "Name",
2700
+ "value": "status"
2701
+ },
2702
+ "arguments": [],
2703
+ "directives": []
2704
+ },
2705
+ {
2706
+ "kind": "Field",
2707
+ "name": {
2708
+ "kind": "Name",
2709
+ "value": "expiresAt"
2710
+ },
2711
+ "arguments": [],
2712
+ "directives": []
2713
+ },
2714
+ {
2715
+ "kind": "Field",
2716
+ "name": {
2717
+ "kind": "Name",
2718
+ "value": "receivedAt"
2719
+ },
2720
+ "arguments": [],
2721
+ "directives": []
2722
+ },
2723
+ {
2724
+ "kind": "Field",
2725
+ "name": {
2726
+ "kind": "Name",
2727
+ "value": "runId"
2728
+ },
2729
+ "arguments": [],
2730
+ "directives": []
2731
+ },
2732
+ {
2733
+ "kind": "Field",
2734
+ "name": {
2735
+ "kind": "Name",
2736
+ "value": "error"
2737
+ },
2738
+ "arguments": [],
2739
+ "directives": []
2740
+ }
2741
+ ]
2742
+ }
2743
+ }]
2744
+ }
2745
+ }]
2746
+ };
2747
+
2748
+ // src/generated/documents/wspace/WorkflowCallInputsDocument.ts
2749
+ const WorkflowCallInputsDocument = {
2750
+ "kind": "Document",
2751
+ "definitions": [{
2752
+ "kind": "OperationDefinition",
2753
+ "operation": "query",
2754
+ "name": {
2755
+ "kind": "Name",
2756
+ "value": "WorkflowCallInputs"
2757
+ },
2758
+ "variableDefinitions": [{
2759
+ "kind": "VariableDefinition",
2760
+ "variable": {
2761
+ "kind": "Variable",
2762
+ "name": {
2763
+ "kind": "Name",
2764
+ "value": "workflowKey"
2765
+ }
2766
+ },
2767
+ "type": {
2768
+ "kind": "NonNullType",
2769
+ "type": {
2770
+ "kind": "NamedType",
2771
+ "name": {
2772
+ "kind": "Name",
2773
+ "value": "String"
2774
+ }
2775
+ }
2776
+ },
2777
+ "directives": []
2778
+ }, {
2779
+ "kind": "VariableDefinition",
2780
+ "variable": {
2781
+ "kind": "Variable",
2782
+ "name": {
2783
+ "kind": "Name",
2784
+ "value": "version"
2785
+ }
2786
+ },
2787
+ "type": {
2788
+ "kind": "NamedType",
2789
+ "name": {
2790
+ "kind": "Name",
2791
+ "value": "String"
2792
+ }
2793
+ },
2794
+ "directives": []
2795
+ }],
2796
+ "directives": [],
2797
+ "selectionSet": {
2798
+ "kind": "SelectionSet",
2799
+ "selections": [{
2800
+ "kind": "Field",
2801
+ "name": {
2802
+ "kind": "Name",
2803
+ "value": "workflowCallInputs"
2804
+ },
2805
+ "arguments": [{
2806
+ "kind": "Argument",
2807
+ "name": {
2808
+ "kind": "Name",
2809
+ "value": "workflowKey"
2810
+ },
2811
+ "value": {
2812
+ "kind": "Variable",
2813
+ "name": {
2814
+ "kind": "Name",
2815
+ "value": "workflowKey"
2816
+ }
2817
+ }
2818
+ }, {
2819
+ "kind": "Argument",
2820
+ "name": {
2821
+ "kind": "Name",
2822
+ "value": "version"
2823
+ },
2824
+ "value": {
2825
+ "kind": "Variable",
2826
+ "name": {
2827
+ "kind": "Name",
2828
+ "value": "version"
2829
+ }
2830
+ }
2831
+ }],
2832
+ "directives": [],
2833
+ "selectionSet": {
2834
+ "kind": "SelectionSet",
2835
+ "selections": [
2836
+ {
2837
+ "kind": "Field",
2838
+ "name": {
2839
+ "kind": "Name",
2840
+ "value": "workflowKey"
2841
+ },
2842
+ "arguments": [],
2843
+ "directives": []
2844
+ },
2845
+ {
2846
+ "kind": "Field",
2847
+ "name": {
2848
+ "kind": "Name",
2849
+ "value": "version"
2850
+ },
2851
+ "arguments": [],
2852
+ "directives": []
2853
+ },
2854
+ {
2855
+ "kind": "Field",
2856
+ "name": {
2857
+ "kind": "Name",
2858
+ "value": "hasCallTrigger"
2859
+ },
2860
+ "arguments": [],
2861
+ "directives": []
2862
+ },
2863
+ {
2864
+ "kind": "Field",
2865
+ "name": {
2866
+ "kind": "Name",
2867
+ "value": "inputSource"
2868
+ },
2869
+ "arguments": [],
2870
+ "directives": []
2871
+ },
2872
+ {
2873
+ "kind": "Field",
2874
+ "name": {
2875
+ "kind": "Name",
2876
+ "value": "fields"
2877
+ },
2878
+ "arguments": [],
2879
+ "directives": [],
2880
+ "selectionSet": {
2881
+ "kind": "SelectionSet",
2882
+ "selections": [
2883
+ {
2884
+ "kind": "Field",
2885
+ "name": {
2886
+ "kind": "Name",
2887
+ "value": "name"
2888
+ },
2889
+ "arguments": [],
2890
+ "directives": []
2891
+ },
2892
+ {
2893
+ "kind": "Field",
2894
+ "name": {
2895
+ "kind": "Name",
2896
+ "value": "type"
2897
+ },
2898
+ "arguments": [],
2899
+ "directives": []
2900
+ },
2901
+ {
2902
+ "kind": "Field",
2903
+ "name": {
2904
+ "kind": "Name",
2905
+ "value": "required"
2906
+ },
2907
+ "arguments": [],
2908
+ "directives": []
2909
+ }
2910
+ ]
2911
+ }
2912
+ },
2913
+ {
2914
+ "kind": "Field",
2915
+ "name": {
2916
+ "kind": "Name",
2917
+ "value": "problem"
2918
+ },
2919
+ "arguments": [],
2920
+ "directives": []
2921
+ }
2922
+ ]
2923
+ }
2924
+ }]
2925
+ }
2926
+ }]
2927
+ };
2928
+
2929
+ // src/modules/agent-definitions/components/ConnectionAgentUsage.tsx
2930
+ /**
2931
+ * A connection's "used by agents" list (BOFF-9962).
2932
+ *
2933
+ * Shows which agents may use a connection, so whoever edits or reuses it knows an agent can act
2934
+ * with it. The list comes from `agentDefinitionsUsingConnection`; it renders nothing when no agent
2935
+ * uses the connection or the viewer cannot read agent definitions.
2936
+ */
2937
+ function ConnectionAgentUsage({ connectionId, connectionName }) {
2938
+ const tr = useTr();
2939
+ const agents = useAgentsUsingConnection(connectionId);
2940
+ if (agents.length === 0) return null;
2941
+ return /* @__PURE__ */ jsxs("div", {
2942
+ className: "flex items-start gap-1.5 text-xs text-muted-foreground",
2943
+ "data-testid": `connection-agent-usage-${connectionId}`,
2944
+ children: [/* @__PURE__ */ jsx(Icon, {
2945
+ icon: "mdi:robot-outline",
2946
+ className: "w-3.5 h-3.5 mt-0.5 shrink-0"
2947
+ }), /* @__PURE__ */ jsxs("span", { children: [
2948
+ connectionName ? tr("fluidgrids.agents.usedBy.namedLabel", "{{connection}} is used by agents:", { connection: connectionName }) : tr("fluidgrids.agents.usedBy.label", "Used by agents:"),
2949
+ " ",
2950
+ agents.map((agent) => agent.status === "ACTIVE" ? agent.name : tr("fluidgrids.agents.usedBy.disabled", "{{name}} (disabled)", { name: agent.name })).join(", ")
2951
+ ] })]
2952
+ });
2953
+ }
2954
+
2955
+ // src/modules/connections/components/ConnectionSelector.tsx
2956
+ /**
2957
+ * ConnectionSelector Component
2958
+ *
2959
+ * A dropdown selector for choosing integration connections in workflow nodes.
2960
+ * Replaces the legacy CredentialSelector and queries the integrations service.
2961
+ *
2962
+ * This component:
2963
+ * - Fetches connections from wspace-integrations-svc via the federated gateway
2964
+ * - Filters connections by provider adapters defined in node manifests
2965
+ * - Supports single and multiple selection modes
2966
+ * - Opens an inline ConnectionFormDialog popup for creating new connections (n8n-style)
2967
+ */
2968
+ function formatAge(dateString) {
2969
+ try {
2970
+ return formatDistanceToNow(new Date(dateString), { addSuffix: true });
2971
+ } catch {
2972
+ return "";
2973
+ }
2974
+ }
2975
+ function getStatusColor(status) {
2976
+ switch (status) {
2977
+ case "ACTIVE": return "text-[var(--color-status-success-text)]";
2978
+ case "INACTIVE": return "text-text-secondary";
2979
+ case "ERROR":
2980
+ case "REVOKED": return "text-[var(--color-status-error-text)]";
2981
+ case "EXPIRED":
2982
+ case "PENDING_AUTH": return "text-[var(--color-status-warning-text)]";
2983
+ default: return "text-text-secondary";
2984
+ }
2985
+ }
2986
+ function getStatusIcon(status) {
2987
+ switch (status) {
2988
+ case "ACTIVE": return "mdi:check-circle";
2989
+ case "INACTIVE": return "mdi:pause-circle";
2990
+ case "ERROR":
2991
+ case "REVOKED": return "mdi:alert-circle";
2992
+ case "EXPIRED": return "mdi:clock-alert";
2993
+ case "PENDING_AUTH": return "mdi:account-clock";
2994
+ default: return "mdi:help-circle";
2995
+ }
2996
+ }
2997
+ function ConnectionChip({ connection, connectionData, onRemove }) {
2998
+ const tr = useTr();
2999
+ const name = connectionData?.name || connection.connectionId;
3000
+ const status = connectionData?.status;
3001
+ return /* @__PURE__ */ jsxs("div", {
3002
+ className: "flex items-center gap-1.5 px-2 py-1 bg-accent/30 rounded-md text-sm group",
3003
+ children: [
3004
+ /* @__PURE__ */ jsx(ProviderIcon, {
3005
+ variant: "bare",
3006
+ provider: connectionData?.provider ?? {
3007
+ key: connection.adapter,
3008
+ icon: void 0,
3009
+ category: "CUSTOM"
3010
+ },
3011
+ size: 16
3012
+ }),
3013
+ /* @__PURE__ */ jsx("span", {
3014
+ className: "truncate max-w-32",
3015
+ children: name
3016
+ }),
3017
+ status && /* @__PURE__ */ jsx(Icon, {
3018
+ icon: getStatusIcon(status),
3019
+ className: `w-3.5 h-3.5 ${getStatusColor(status)}`
3020
+ }),
3021
+ /* @__PURE__ */ jsx("button", {
3022
+ type: "button",
3023
+ "aria-label": tr("fluidgrids.connections.connectionSelector.removeConnection", "Remove connection"),
3024
+ onClick: (e) => {
3025
+ e.stopPropagation();
3026
+ onRemove();
3027
+ },
3028
+ className: "text-text-secondary hover:text-status-error-text opacity-0 group-hover:opacity-100 transition-opacity",
3029
+ children: /* @__PURE__ */ jsx(Icon, {
3030
+ icon: "mdi:close",
3031
+ className: "w-3.5 h-3.5"
3032
+ })
3033
+ })
3034
+ ]
3035
+ });
3036
+ }
3037
+ function ConnectionSelector(props) {
3038
+ const connectionList = useConnections();
3039
+ if (props.adapters.length <= 1) return /* @__PURE__ */ jsx(AdapterConnectionSelector, {
3040
+ ...props,
3041
+ connectionList
3042
+ });
3043
+ return /* @__PURE__ */ jsx("div", {
3044
+ className: props.compact ? "space-y-2" : "space-y-3",
3045
+ children: props.adapters.map((adapter) => /* @__PURE__ */ jsxs("fieldset", {
3046
+ className: "min-w-0 space-y-1.5",
3047
+ children: [/* @__PURE__ */ jsx("legend", {
3048
+ className: "text-xs font-medium text-text-secondary",
3049
+ children: adapter.name
3050
+ }), /* @__PURE__ */ jsx(AdapterConnectionSelector, {
3051
+ ...props,
3052
+ adapters: [adapter],
3053
+ selectedConnections: connectionsForAdapter(props.selectedConnections, adapter.name),
3054
+ onChange: (connections) => props.onChange(replaceAdapterConnections(props.selectedConnections, adapter.name, connections.map((connection) => connection.connectionId))),
3055
+ showRequired: false,
3056
+ connectionList
3057
+ })]
3058
+ }, adapter.name))
3059
+ });
3060
+ }
3061
+ function AdapterConnectionSelector({ adapters, selectedConnections, onChange, multiple = false, showStatus = true, compact = false, showRequired = true, connectionList, scopeGroups }) {
3062
+ const tr = useTr();
3063
+ const [isDropdownOpen, setIsDropdownOpen] = useState(false);
3064
+ const [dialogOpen, setDialogOpen] = useState(false);
3065
+ const [dialogProviderKey, setDialogProviderKey] = useState();
3066
+ const { connections, loading: connectionsLoading, refetch } = connectionList;
3067
+ const availableConnections = useMemo(() => {
3068
+ if (!adapters || adapters.length === 0) return [];
3069
+ return connections.filter((connection) => connection.canUse !== false && adapters.some((adapter) => matchesAdapterProvider(adapter, connection.provider?.key ?? "")));
3070
+ }, [connections, adapters]);
3071
+ const mergedConnections = useMemo(() => {
3072
+ const allConnections = [...availableConnections];
3073
+ selectedConnections.forEach((selected) => {
3074
+ if (!availableConnections.some((c) => c.id === selected.connectionId)) {
3075
+ const fullConn = connections.find((c) => c.id === selected.connectionId);
3076
+ if (fullConn && fullConn.canUse !== false) allConnections.push(fullConn);
3077
+ }
3078
+ });
3079
+ return allConnections;
3080
+ }, [
3081
+ availableConnections,
3082
+ selectedConnections,
3083
+ connections
3084
+ ]);
3085
+ const groupedConnections = useMemo(() => {
3086
+ const groups = {};
3087
+ mergedConnections.forEach((conn) => {
3088
+ const providerName = conn.provider?.name || "Other";
3089
+ if (!groups[providerName]) groups[providerName] = [];
3090
+ groups[providerName].push(conn);
3091
+ });
3092
+ return groups;
3093
+ }, [mergedConnections]);
3094
+ const handleSelect = useCallback((connection) => {
3095
+ const providerKey = connection.provider?.key || "";
3096
+ const adapter = adapters.find((candidate) => matchesAdapterProvider(candidate, providerKey));
3097
+ if (!adapter) return;
3098
+ const newSelection = {
3099
+ connectionId: connection.id,
3100
+ adapter: adapter.name
3101
+ };
3102
+ if (multiple) {
3103
+ if (selectedConnections.some((c) => c.connectionId === connection.id)) onChange(selectedConnections.filter((c) => c.connectionId !== connection.id));
3104
+ else onChange([...selectedConnections, newSelection]);
3105
+ } else {
3106
+ onChange([newSelection]);
3107
+ setIsDropdownOpen(false);
3108
+ }
3109
+ }, [
3110
+ adapters,
3111
+ selectedConnections,
3112
+ onChange,
3113
+ multiple
3114
+ ]);
3115
+ const handleRemove = useCallback((connectionId) => {
3116
+ onChange(selectedConnections.filter((c) => c.connectionId !== connectionId));
3117
+ }, [selectedConnections, onChange]);
3118
+ const handleNewConnection = useCallback((providerKey) => {
3119
+ setDialogProviderKey(providerKey);
3120
+ setDialogOpen(true);
3121
+ setIsDropdownOpen(false);
3122
+ }, []);
3123
+ const handleConnectionCreated = useCallback((conn) => {
3124
+ const providerKey = conn.provider?.key || "";
3125
+ const adapter = adapters.find((candidate) => matchesAdapterProvider(candidate, providerKey));
3126
+ if (adapter) {
3127
+ const newSelection = {
3128
+ connectionId: conn.id,
3129
+ adapter: adapter.name
3130
+ };
3131
+ if (multiple) onChange([...selectedConnections, newSelection]);
3132
+ else onChange([newSelection]);
3133
+ }
3134
+ setDialogOpen(false);
3135
+ refetch();
3136
+ }, [
3137
+ adapters,
3138
+ selectedConnections,
3139
+ onChange,
3140
+ multiple,
3141
+ refetch
3142
+ ]);
3143
+ const getConnectionData = useCallback((connectionId) => connections.find((c) => c.id === connectionId), [connections]);
3144
+ if (!adapters || adapters.length === 0) return null;
3145
+ return /* @__PURE__ */ jsxs("div", {
3146
+ className: compact ? "space-y-2" : "space-y-3",
3147
+ children: [
3148
+ selectedConnections.length > 0 && /* @__PURE__ */ jsx("div", {
3149
+ className: "flex flex-wrap gap-1.5",
3150
+ children: selectedConnections.map((conn) => {
3151
+ const connData = getConnectionData(conn.connectionId);
3152
+ return /* @__PURE__ */ jsx(ConnectionChip, {
3153
+ connection: conn,
3154
+ connectionData: connData,
3155
+ onRemove: () => handleRemove(conn.connectionId)
3156
+ }, conn.connectionId);
3157
+ })
3158
+ }),
3159
+ selectedConnections.map((conn) => /* @__PURE__ */ jsx(ConnectionAgentUsage, {
3160
+ connectionId: conn.connectionId,
3161
+ connectionName: selectedConnections.length > 1 ? getConnectionData(conn.connectionId)?.name : null
3162
+ }, `agents-${conn.connectionId}`)),
3163
+ /* @__PURE__ */ jsxs("div", {
3164
+ className: "flex items-center gap-2",
3165
+ children: [/* @__PURE__ */ jsxs(DropdownMenu, {
3166
+ open: isDropdownOpen,
3167
+ onOpenChange: setIsDropdownOpen,
3168
+ children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
3169
+ asChild: true,
3170
+ children: /* @__PURE__ */ jsxs(Button, {
3171
+ variant: "outline",
3172
+ size: compact ? "sm" : "default",
3173
+ className: "justify-between min-w-[200px]",
3174
+ children: [/* @__PURE__ */ jsxs("span", {
3175
+ className: "flex items-center gap-2",
3176
+ children: [/* @__PURE__ */ jsx(Icon, {
3177
+ icon: "mdi:link-variant",
3178
+ className: "w-4 h-4 text-text-secondary"
3179
+ }), selectedConnections.length === 0 ? tr("fluidgrids.connections.connectionSelector.selectConnection", "Select connection") : multiple ? `${selectedConnections.length} selected` : tr("fluidgrids.connections.connectionSelector.changeConnection", "Change connection")]
3180
+ }), /* @__PURE__ */ jsx(Icon, {
3181
+ icon: "mdi:chevron-down",
3182
+ className: "w-4 h-4 text-text-secondary"
3183
+ })]
3184
+ })
3185
+ }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
3186
+ align: "start",
3187
+ style: { zIndex: 1100 },
3188
+ className: "w-[280px] max-h-[400px] overflow-y-auto",
3189
+ children: [connectionsLoading ? /* @__PURE__ */ jsxs("div", {
3190
+ className: "p-4 text-center text-sm text-text-secondary",
3191
+ children: [/* @__PURE__ */ jsx(CompactMarkOr, {
3192
+ today: /* @__PURE__ */ jsx(Icon, {
3193
+ icon: "mdi:loading",
3194
+ className: "w-6 h-6 mx-auto mb-2 animate-spin"
3195
+ }),
3196
+ className: "w-6 h-6 mx-auto mb-2"
3197
+ }), /* @__PURE__ */ jsx("p", { children: tr("fluidgrids.connections.connectionSelector.loading", "Loading connections...") })]
3198
+ }) : Object.keys(groupedConnections).length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
3199
+ kind: "first-use",
3200
+ illustration: "connections",
3201
+ size: "menu",
3202
+ compact: true,
3203
+ icon: /* @__PURE__ */ jsx(Link2Off, {
3204
+ className: "w-6 h-6",
3205
+ "aria-hidden": "true"
3206
+ }),
3207
+ title: tr("fluidgrids.connections.connectionSelector.emptyTitle", "No matching connections"),
3208
+ description: tr("fluidgrids.connections.connectionSelector.emptyHint", "Create one in Integrations")
3209
+ }) : Object.entries(groupedConnections).map(([providerName, conns]) => /* @__PURE__ */ jsxs("div", { children: [
3210
+ /* @__PURE__ */ jsxs(DropdownMenuLabel, {
3211
+ className: "flex items-center gap-2 text-xs font-semibold text-text-secondary uppercase tracking-wide",
3212
+ children: [/* @__PURE__ */ jsx(ProviderIcon, {
3213
+ variant: "bare",
3214
+ provider: conns[0]?.provider ?? {
3215
+ key: "generic",
3216
+ icon: void 0,
3217
+ category: "CUSTOM"
3218
+ },
3219
+ size: 16
3220
+ }), providerName]
3221
+ }),
3222
+ conns.map((conn) => {
3223
+ const isSelected = selectedConnections.some((c) => c.connectionId === conn.id);
3224
+ const isActive = conn.status === "ACTIVE";
3225
+ return /* @__PURE__ */ jsxs(DropdownMenuItem, {
3226
+ onSelect: (event) => {
3227
+ if (multiple) event.preventDefault();
3228
+ handleSelect(conn);
3229
+ },
3230
+ className: `flex items-center justify-between cursor-pointer ${isSelected ? "bg-action-primary-bg/10" : ""} ${!isActive ? "opacity-60" : ""}`,
3231
+ children: [/* @__PURE__ */ jsxs("div", {
3232
+ className: "flex flex-col min-w-0",
3233
+ children: [/* @__PURE__ */ jsxs("span", {
3234
+ className: "font-medium truncate flex items-center gap-1.5",
3235
+ children: [conn.name, showStatus && /* @__PURE__ */ jsx("span", {
3236
+ title: conn.status,
3237
+ children: /* @__PURE__ */ jsx(Icon, {
3238
+ icon: getStatusIcon(conn.status),
3239
+ className: `w-3.5 h-3.5 ${getStatusColor(conn.status)}`
3240
+ })
3241
+ })]
3242
+ }), /* @__PURE__ */ jsx("span", {
3243
+ className: "text-xs text-text-secondary",
3244
+ children: conn.externalAccountEmail || conn.updatedAt && `Updated ${formatAge(conn.updatedAt)}`
3245
+ })]
3246
+ }), isSelected && /* @__PURE__ */ jsx(Icon, {
3247
+ icon: "mdi:check",
3248
+ className: "w-4 h-4 text-primary flex-shrink-0"
3249
+ })]
3250
+ }, conn.id);
3251
+ }),
3252
+ /* @__PURE__ */ jsx(DropdownMenuSeparator, {})
3253
+ ] }, providerName)), /* @__PURE__ */ jsx(SdkPermissionGate, {
3254
+ permission: FLUIDGRIDS_PERMISSIONS.INTEGRATION_CONNECTION_CREATE,
3255
+ children: /* @__PURE__ */ jsxs(DropdownMenuItem, {
3256
+ onClick: () => {
3257
+ handleNewConnection(newConnectionProviderKey(adapters));
3258
+ },
3259
+ className: "text-primary cursor-pointer",
3260
+ children: [/* @__PURE__ */ jsx(Icon, {
3261
+ icon: "mdi:plus",
3262
+ className: "w-4 h-4 mr-2"
3263
+ }), tr("fluidgrids.connections.connectionSelector.newConnection", "New connection")]
3264
+ })
3265
+ })]
3266
+ })]
3267
+ }), selectedConnections.length === 0 && !compact && /* @__PURE__ */ jsx(SdkPermissionGate, {
3268
+ permission: FLUIDGRIDS_PERMISSIONS.INTEGRATION_CONNECTION_CREATE,
3269
+ children: /* @__PURE__ */ jsxs(Button, {
3270
+ variant: "ghost",
3271
+ size: "sm",
3272
+ onClick: () => handleNewConnection(newConnectionProviderKey(adapters)),
3273
+ className: "text-primary hover:text-primary/80",
3274
+ children: [/* @__PURE__ */ jsx(Icon, {
3275
+ icon: "mdi:plus",
3276
+ className: "w-4 h-4 mr-1"
3277
+ }), tr("fluidgrids.connections.connectionSelector.new", "New")]
3278
+ })
3279
+ })]
3280
+ }),
3281
+ showStatus && showRequired && selectedConnections.length === 0 && adapters.some((adapter) => !isOptionalAdapter(adapter)) && /* @__PURE__ */ jsxs("div", {
3282
+ className: "flex items-center gap-1.5 text-xs text-[var(--color-status-warning-text)]",
3283
+ children: [/* @__PURE__ */ jsx(Icon, {
3284
+ icon: "mdi:alert-circle",
3285
+ className: "w-3.5 h-3.5"
3286
+ }), /* @__PURE__ */ jsx("span", { children: tr("fluidgrids.connections.connectionSelector.connectionRequired", "Connection required for this node") })]
3287
+ }),
3288
+ /* @__PURE__ */ jsx(ConnectionFormDialog, {
3289
+ open: dialogOpen,
3290
+ onClose: () => setDialogOpen(false),
3291
+ providerKey: dialogProviderKey,
3292
+ scopeGroups,
3293
+ onConnectionCreated: handleConnectionCreated
3294
+ })
3295
+ ]
3296
+ });
3297
+ }
3298
+
3299
+ // src/modules/runners/components/RunOnSection.tsx
3300
+ /**
3301
+ * NDV Settings → "Run on": FluidGrids Cloud (default) or one of the
3302
+ * workspace's self-hosted runners.
3303
+ *
3304
+ * Persisted at `node.data.executionSettings.runOn = { kind: "runner", runnerId }`
3305
+ * (absent = FluidGrids Cloud). fluidgrids-workers reads exactly that and the
3306
+ * node then runs on the runner — or fails if it is offline; it never falls
3307
+ * back to the cloud.
3308
+ */
3309
+ const CLOUD = "__fluidgrids_cloud__";
3310
+ function RunOnSection({ value, onChange, sectionLabelClassName }) {
3311
+ const tr = useTr();
3312
+ const v2 = useNavigationV2();
3313
+ const { runners, loading } = useRunners({ pollMs: 15e3 });
3314
+ const selected = value ? runners.find((r) => r.id === value.runnerId) : void 0;
3315
+ if (v2 && !value && !runners.some((r) => r.status === "ONLINE")) return null;
3316
+ return /* @__PURE__ */ jsxs("section", {
3317
+ className: "space-y-2",
3318
+ "data-testid": "ndv-settings-run-on",
3319
+ children: [
3320
+ /* @__PURE__ */ jsx("div", {
3321
+ className: sectionLabelClassName,
3322
+ children: tr("fluidgrids.builder.nodeSettings.runOn", "Run on")
3323
+ }),
3324
+ /* @__PURE__ */ jsxs(Select, {
3325
+ value: value?.runnerId ?? CLOUD,
3326
+ onValueChange: (v) => onChange(v === CLOUD ? null : {
3327
+ kind: "runner",
3328
+ runnerId: v
3329
+ }),
3330
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
3331
+ className: "w-full",
3332
+ "data-testid": "ndv-settings-run-on-select",
3333
+ children: /* @__PURE__ */ jsx(SelectValue, {})
3334
+ }), /* @__PURE__ */ jsxs(SelectContent, {
3335
+ style: { zIndex: 1100 },
3336
+ "data-testid": "ndv-settings-run-on-options",
3337
+ children: [
3338
+ /* @__PURE__ */ jsx(SelectItem, {
3339
+ value: CLOUD,
3340
+ "data-testid": "run-on-cloud",
3341
+ children: tr("fluidgrids.builder.nodeSettings.runOnCloud", "FluidGrids Cloud (default)")
3342
+ }),
3343
+ runners.map((runner) => /* @__PURE__ */ jsxs(SelectItem, {
3344
+ value: runner.id,
3345
+ "data-testid": "run-on-runner-option",
3346
+ children: [runner.name, runner.status !== "ONLINE" ? ` (${runner.status === "OFFLINE" ? tr("fluidgrids.runners.offline", "Offline") : tr("fluidgrids.runners.neverConnected", "Not connected yet")})` : ""]
3347
+ }, runner.id)),
3348
+ value && !loading && !selected && /* @__PURE__ */ jsx(SelectItem, {
3349
+ value: value.runnerId,
3350
+ disabled: true,
3351
+ children: tr("fluidgrids.builder.nodeSettings.runOnMissing", "Removed runner")
3352
+ })
3353
+ ]
3354
+ })]
3355
+ }),
3356
+ value ? /* @__PURE__ */ jsxs("div", {
3357
+ className: "space-y-1 text-xs text-text-secondary",
3358
+ children: [/* @__PURE__ */ jsxs("div", {
3359
+ className: "flex items-start gap-2",
3360
+ children: [selected && /* @__PURE__ */ jsx(RunnerStatusPill, { status: selected.status }), /* @__PURE__ */ jsx("span", { children: tr("fluidgrids.builder.nodeSettings.runOnRunnerHint", "This node runs on your runner, in a local sandbox. If the runner is offline the node fails — it never falls back to FluidGrids Cloud. The node's input and the credentials it uses are sent to that machine.") })]
3361
+ }), selected && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("p", {
3362
+ "data-testid": "run-on-private-network",
3363
+ children: (selected.privateNetwork ?? []).length === 0 ? tr("fluidgrids.builder.nodeSettings.runOnPublicOnly", "On this runner, nodes reach the public internet only. Private destinations are opened on the runner machine (fluidgrids-runner network allow).") : tr("fluidgrids.builder.nodeSettings.runOnPrivateNetwork", "This runner opens {{count}} private destination(s) — see Runners for which nodes may use them.", { count: (selected.privateNetwork ?? []).length })
3364
+ }), /* @__PURE__ */ jsx("p", {
3365
+ "data-testid": "run-on-host-exec",
3366
+ children: selected.hostExec?.enabled && selected.hostExec.allow.length > 0 ? tr("fluidgrids.builder.nodeSettings.runOnHostExecOn", "Host commands: on ({{allow}}).", { allow: selected.hostExec.allow.join(", ") }) : tr("fluidgrids.builder.nodeSettings.runOnHostExecOff", "Host commands: off. Enable locally with `fluidgrids-runner exec enable --allow <prefix>` to run Execute Command nodes on this host.")
3367
+ })] })]
3368
+ }) : /* @__PURE__ */ jsx("p", {
3369
+ className: "text-xs text-text-secondary",
3370
+ children: runners.length === 0 && !loading ? tr("fluidgrids.builder.nodeSettings.runOnNoRunners", "Runs in FluidGrids Cloud. Add a runner under Workflows → Runners to run nodes on your own machine.") : tr("fluidgrids.builder.nodeSettings.runOnCloudHint", "Runs in FluidGrids Cloud.")
3371
+ })
3372
+ ]
3373
+ });
3374
+ }
3375
+
3376
+ // src/ui/popover.tsx
3377
+ const Popover$1 = PopoverPrimitive.Root;
3378
+ const PopoverTrigger$1 = PopoverPrimitive.Trigger;
3379
+ const PopoverContent$1 = React.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(PopoverPrimitive.Content, {
3380
+ ref,
3381
+ "data-slot": "popover-content",
3382
+ align,
3383
+ sideOffset,
3384
+ className: cn("z-50 w-72 rounded-card border border-border-subtle bg-bg-elevated p-4 text-text-primary shadow-elevation-3 outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", className),
3385
+ ...props
3386
+ }) }));
3387
+ PopoverContent$1.displayName = PopoverPrimitive.Content.displayName;
3388
+
3389
+ export { ResetEventRegistrationHandshakeSecretDocument as _, ConnectionSelector as a, ListenForInboundTestEmailDocument as b, PreviewInboundParseRulesDocument as c, InboundMailSettingsDocument as d, EventRegistrationHandshakeSecretDocument as f, RotateInboundMailboxAddressDocument as g, StartMcpTriggerTestListenerDocument as h, RunOnSection as i, McpTriggerTestListenerDocument as l, StopMcpTriggerTestListenerDocument as m, PopoverContent$1 as n, WorkflowCallInputsDocument as o, StopWebhookTestListenerDocument as p, PopoverTrigger$1 as r, WebhookTestListenerDocument as s, Popover$1 as t, InboundMailboxDocument as u, RegenerateEventRegistrationTokenDocument as v, ListenForFormTestSubmissionDocument as x, ListenForWebhookTestEventDocument as y };