decocms 2.285.1 → 2.286.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/dist/client/assets/{AlertCircle-Ljx3VIeb.js → AlertCircle-DTmaHldD.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-B8YVT66M.js → ArrowNarrowLeft-DlPeFc4v.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-BFRWTTWo.js → CheckCircle-DJ3lme5R.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-BqFspEzt.js → ChevronDown-DGnjAtqs.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-DCsBjQ-n.js → ChevronRight-DV9No7GF.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-D7S3j_fa.js → ChevronUp-BkSgkwhO.js} +1 -1
  7. package/dist/client/assets/{Container-SHbLkl7K.js → Container-B1nHZdmn.js} +1 -1
  8. package/dist/client/assets/DotsVertical-Bp2tW8JI.js +1 -0
  9. package/dist/client/assets/{LinkExternal01-XmkIm96u.js → LinkExternal01-BBbCPDtX.js} +1 -1
  10. package/dist/client/assets/{Lock01-CXrm99F-.js → Lock01-DpPIS3K7.js} +1 -1
  11. package/dist/client/assets/{Palette-B46VjX8F.js → Palette-CI8n49a8.js} +1 -1
  12. package/dist/client/assets/{Play-9pX5w5-3.js → Play-DKFUTU3G.js} +1 -1
  13. package/dist/client/assets/{Plus-Bmk1thjl.js → Plus-oXFwCrYz.js} +1 -1
  14. package/dist/client/assets/RefreshCcw01-B10mKiE2.js +1 -0
  15. package/dist/client/assets/SearchMd-BRJBvWf4.js +1 -0
  16. package/dist/client/assets/{Settings02-C88OtRRq.js → Settings02-Dm9dFDqk.js} +1 -1
  17. package/dist/client/assets/Shield01-BZJVBd5S.js +1 -0
  18. package/dist/client/assets/{Star01-fuGmPeeu.js → Star01-_IJK5Yjt.js} +1 -1
  19. package/dist/client/assets/{Sun-ndN_CHuQ.js → Sun-QqE1VnS_.js} +1 -1
  20. package/dist/client/assets/{Tool01-DBxgF1Y_.js → Tool01-CKowkGsd.js} +1 -1
  21. package/dist/client/assets/{Trash01-BHBjIGXE.js → Trash01-C6bAXG6g.js} +1 -1
  22. package/dist/client/assets/{User01-DCiwOMBU.js → User01-C2-anwoO.js} +1 -1
  23. package/dist/client/assets/{Users03-Bgfd1KM0.js → Users03-DqYvPeZM.js} +1 -1
  24. package/dist/client/assets/{X-BWV-b86T.js → X-i9zBn6Hn.js} +1 -1
  25. package/dist/client/assets/XCircle-C1sJYG9R.js +1 -0
  26. package/dist/client/assets/XClose-BbIo6xHe.js +1 -0
  27. package/dist/client/assets/{Zap-K9sQXDlC.js → Zap-KmbRMccM.js} +1 -1
  28. package/dist/client/assets/{ZapSquare-CTcr_tRy.js → ZapSquare-DT93lGV4.js} +1 -1
  29. package/dist/client/assets/{accordion-COmeMo5z.js → accordion-BV3tm7bj.js} +1 -1
  30. package/dist/client/assets/agent-icon-CyE6nkC1.js +1 -0
  31. package/dist/client/assets/agents-list-7o6gZt-q.js +1 -0
  32. package/dist/client/assets/ai-providers-DI3UF9nU.js +1 -0
  33. package/dist/client/assets/{alert-dialog-DaP8t8su.js → alert-dialog-CicrCOay.js} +2 -2
  34. package/dist/client/assets/{auth-catchall-CerK6T4u.js → auth-catchall-Cyd7fWQv.js} +1 -1
  35. package/dist/client/assets/automation-list-row-B4Vfg4UC.js +1 -0
  36. package/dist/client/assets/automations-DRM_lJom.js +1 -0
  37. package/dist/client/assets/{avatar-gTIcZioB.js → avatar-CF1bgUpD.js} +1 -1
  38. package/dist/client/assets/{badge-DsWPcX1V.js → badge-s_TAXGUN.js} +1 -1
  39. package/dist/client/assets/{brand-context-CnnwTWNT.js → brand-context-iopLFZ2k.js} +1 -1
  40. package/dist/client/assets/{card-CPVRwbgl.js → card-CaekC2K0.js} +1 -1
  41. package/dist/client/assets/{chat-context-CZAEwDWp.js → chat-context-DP5UfIrn.js} +1 -1
  42. package/dist/client/assets/{checkbox-CPqdqI54.js → checkbox-DznLgPgR.js} +1 -1
  43. package/dist/client/assets/collection-detail-CTQuhG7N.js +1 -0
  44. package/dist/client/assets/collection-display-button-BgYKhoGQ.js +1 -0
  45. package/dist/client/assets/{collection-search-DgokupF2.js → collection-search-Bo2bOvRn.js} +1 -1
  46. package/dist/client/assets/{collection-search-lfil19IA.js → collection-search-DMqppne6.js} +1 -1
  47. package/dist/client/assets/collection-table-wrapper-KnWZIddd.js +1 -0
  48. package/dist/client/assets/{collection-tabs-BRY4wHvH.js → collection-tabs-CU6MCzSn.js} +1 -1
  49. package/dist/client/assets/{collections-lJhN2k9k.js → collections-DHmXATua.js} +1 -1
  50. package/dist/client/assets/command-D4w2xkZT.js +1 -0
  51. package/dist/client/assets/{connection-card-BrctpSfE.js → connection-card-DBz-rrLk.js} +1 -1
  52. package/dist/client/assets/connection-detail-zHqb5ZSw.js +1 -0
  53. package/dist/client/assets/{connection-form-helpers-C1FnnBdL.js → connection-form-helpers-CBEV0IXi.js} +1 -1
  54. package/dist/client/assets/connections-CHiGbl1F.js +1 -0
  55. package/dist/client/assets/{constants-D8VkIs2c.js → constants-DDHDU3PV.js} +1 -1
  56. package/dist/client/assets/{constants-D_Nupw5-.js → constants-v4RUVkEN.js} +1 -1
  57. package/dist/client/assets/{dialog-BOagZAx2.js → dialog-C4lREl-t.js} +1 -1
  58. package/dist/client/assets/{drawer-BRUzFEdi.js → drawer-BTCEaGGQ.js} +1 -1
  59. package/dist/client/assets/dropdown-menu-v2GifVOh.js +1 -0
  60. package/dist/client/assets/{dynamic-plugin-layout-ltkevohS.js → dynamic-plugin-layout-CVBBnlEt.js} +1 -1
  61. package/dist/client/assets/{empty-state-BokLRSGE.js → empty-state-BdQTFnZA.js} +1 -1
  62. package/dist/client/assets/{empty-state-DCK4Z2GX.js → empty-state-DdKZ_is7.js} +1 -1
  63. package/dist/client/assets/{extract-connection-data-V-eInhlP.js → extract-connection-data-CfXvFcGA.js} +1 -1
  64. package/dist/client/assets/{features-DIBFVG_b.js → features-fsR9zLkr.js} +1 -1
  65. package/dist/client/assets/{form-DHQjt1Tk.js → form-D7DN8UcB.js} +1 -1
  66. package/dist/client/assets/general-WQbdllPl.js +1 -0
  67. package/dist/client/assets/{github-repo-picker-CIYxcUMn.js → github-repo-picker-DZqLC6FL.js} +2 -2
  68. package/dist/client/assets/index-BCwsJqWc.css +1 -0
  69. package/dist/client/assets/{index-sYNl3b-7.js → index-C5AR7k1c.js} +1 -1
  70. package/dist/client/assets/{index-DWOvEgKr.js → index-CHKi_s_a.js} +1 -1
  71. package/dist/client/assets/{index-DvxSs9Po.js → index-D-RCnwJQ.js} +1 -1
  72. package/dist/client/assets/{index-CNolBSVE.js → index-D34n6J5J.js} +22 -22
  73. package/dist/client/assets/{index-DbNFtLRR.js → index-DBclwIf_.js} +3 -3
  74. package/dist/client/assets/{index-Di0ylaLI.js → index-DnJZfbsP.js} +3 -3
  75. package/dist/client/assets/{index-uSGXbgq4.js → index-FnxI6OGR.js} +1 -1
  76. package/dist/client/assets/{index-BWvVdWtP.js → index-e3AFJ_dX.js} +1 -1
  77. package/dist/client/assets/{index-gfedyrlZ.js → index-qXZ0t4XR.js} +16 -16
  78. package/dist/client/assets/{index-PT6VRyBL.js → index-zDq2Zqio.js} +1 -1
  79. package/dist/client/assets/{infiniteQueryObserver-B8q-YDXm.js → infiniteQueryObserver-1_M-sq16.js} +1 -1
  80. package/dist/client/assets/{input-B8j75XZ_.js → input-urtyHxks.js} +1 -1
  81. package/dist/client/assets/{integration-icon-De50Mm7k.js → integration-icon-Cdkk9YPE.js} +1 -1
  82. package/dist/client/assets/{label-KH35YAYU.js → label-Bt4h_QUk.js} +1 -1
  83. package/dist/client/assets/{layout-E2py7rYQ.js → layout-B5SDe6IW.js} +1 -1
  84. package/dist/client/assets/{login-agOBj-o2.js → login-7zFMf3C1.js} +1 -1
  85. package/dist/client/assets/members-Dy7hWkQ8.js +3 -0
  86. package/dist/client/assets/{monaco-editor-CzAT2DWn.js → monaco-editor-lveN-AoO.js} +1 -1
  87. package/dist/client/assets/{monitoring-stats-row-k0blCMgl.js → monitoring-stats-row-D3x0_phM.js} +1 -1
  88. package/dist/client/assets/{oauth-callback-ViEW-3g2.js → oauth-callback-BJALVgfT.js} +1 -1
  89. package/dist/client/assets/{oauth-callback-ai-provider-cSZy9hW7.js → oauth-callback-ai-provider-o8Hfz-wL.js} +1 -1
  90. package/dist/client/assets/{onboarding-CquRdW5q.js → onboarding-DlI3PsIA.js} +1 -1
  91. package/dist/client/assets/{org-layout-DY9vqUg9.js → org-layout-DPzm8vzJ.js} +1 -1
  92. package/dist/client/assets/{org-plugin-layout-HyePbhDN.js → org-plugin-layout-DB72TzxO.js} +1 -1
  93. package/dist/client/assets/{plugin-empty-state-tSKwN8yW.js → plugin-empty-state-BzyxU1IF.js} +1 -1
  94. package/dist/client/assets/{plugin-header-CgMEgROC.js → plugin-header-hJH6-4Nr.js} +1 -1
  95. package/dist/client/assets/{plugin-layout-B0f9qTk_.js → plugin-layout-l_MDXBYc.js} +1 -1
  96. package/dist/client/assets/{popover-BK6PL-XB.js → popover-j_PzMtdY.js} +1 -1
  97. package/dist/client/assets/{profile-C_xBhvj7.js → profile-lf_QL3Ye.js} +1 -1
  98. package/dist/client/assets/project-app-view-DuFzKNXE.js +1 -0
  99. package/dist/client/assets/registry-D3m_WKwq.js +2 -0
  100. package/dist/client/assets/{registry-layout-7nSgT8Ua.js → registry-layout-DRb_iR_v.js} +3 -3
  101. package/dist/client/assets/{required-auth-layout-D-NWWr5P.js → required-auth-layout-C2o7AZ4K.js} +1 -1
  102. package/dist/client/assets/{reset-password-C7m0cAdE.js → reset-password-DTEY3I_i.js} +1 -1
  103. package/dist/client/assets/roles-DW1_Kn6r.js +1 -0
  104. package/dist/client/assets/{scroll-area-Da2hNrch.js → scroll-area-BebfgLv6.js} +1 -1
  105. package/dist/client/assets/{search-input-BZmdDW7A.js → search-input-dmuYGYsk.js} +1 -1
  106. package/dist/client/assets/{select-JPYD20it.js → select-CePxsPeP.js} +1 -1
  107. package/dist/client/assets/{select-model-DMVU-2Gx.js → select-model-QQ7yjZl9.js} +2 -2
  108. package/dist/client/assets/settings-layout-Cd1tdTnr.js +1 -0
  109. package/dist/client/assets/{shell-layout-DkN8Q_tp.js → shell-layout-BE22YA40.js} +1 -1
  110. package/dist/client/assets/{skeleton-DPqifXUx.js → skeleton-C9NsUzIb.js} +1 -1
  111. package/dist/client/assets/{sso-BdiVJFM8.js → sso-QSGlyP2n.js} +1 -1
  112. package/dist/client/assets/{store-D9lb1Gph.js → store-BB9yi6PD.js} +1 -1
  113. package/dist/client/assets/store-registry-BSp-W72J.js +2 -0
  114. package/dist/client/assets/{switch-CVtXvreH.js → switch-VBeL01bM.js} +1 -1
  115. package/dist/client/assets/{table-C-JSrHQJ.js → table-CQMW-Toa.js} +1 -1
  116. package/dist/client/assets/{tabs-DtgWLQ6i.js → tabs-DOoLL5wa.js} +1 -1
  117. package/dist/client/assets/{task-status-DTuLfGhm.js → task-status-vvRP86lz.js} +7 -7
  118. package/dist/client/assets/{textarea-p_oNKH-r.js → textarea-Ie4QUdo5.js} +1 -1
  119. package/dist/client/assets/{toggle-group-B6-etMEh.js → toggle-group-C077Smww.js} +1 -1
  120. package/dist/client/assets/tools-list-UnPsMGhr.js +1 -0
  121. package/dist/client/assets/{types-BP7V6N8z.js → types-D4PfKOFF.js} +1 -1
  122. package/dist/client/assets/{use-ai-providers-oN1cKhaJ.js → use-ai-providers-DHuVj1kn.js} +1 -1
  123. package/dist/client/assets/{use-collections-BTXUmiDi.js → use-collections-DRlHpXQL.js} +1 -1
  124. package/dist/client/assets/{use-connection-DIvNoxL5.js → use-connection-Cif-LY0f.js} +1 -1
  125. package/dist/client/assets/{use-copy-D8L6lrfC.js → use-copy-uiSuMvtc.js} +1 -1
  126. package/dist/client/assets/{use-create-virtual-mcp-DUKkySGS.js → use-create-virtual-mcp-CBpw3zXA.js} +1 -1
  127. package/dist/client/assets/{use-decopilot-events-BRc3SX00.js → use-decopilot-events-Dpt6CcIN.js} +1 -1
  128. package/dist/client/assets/{use-delete-connection-IDpzSpRp.js → use-delete-connection-BZmW9ZAz.js} +1 -1
  129. package/dist/client/assets/{use-infinite-scroll-WKRKMI2J.js → use-infinite-scroll-CWlV3gJA.js} +1 -1
  130. package/dist/client/assets/{use-list-state-Dyh2zhb9.js → use-list-state-BJZWeXjY.js} +1 -1
  131. package/dist/client/assets/{use-mcp-tools-tZ37UBLL.js → use-mcp-tools-BYVtg7WH.js} +1 -1
  132. package/dist/client/assets/{use-members-AvAHjkiq.js → use-members-M_p47epa.js} +1 -1
  133. package/dist/client/assets/{use-mobile-Ctb5URy7.js → use-mobile-CxvYCzu9.js} +1 -1
  134. package/dist/client/assets/{use-navigate-to-agent-CLfSU3ru.js → use-navigate-to-agent-CFIKBq0L.js} +1 -1
  135. package/dist/client/assets/{use-org-sso-CmuM4ieo.js → use-org-sso-CACnH9GQ.js} +1 -1
  136. package/dist/client/assets/use-organization-roles-o4lVU0iD.js +1 -0
  137. package/dist/client/assets/{use-organization-settings-dQpmtQzl.js → use-organization-settings-BD9CIHH5.js} +1 -1
  138. package/dist/client/assets/{use-registry-connections-CP0QI7iA.js → use-registry-connections-DR_etJ2H.js} +1 -1
  139. package/dist/client/assets/{use-status-sounds-CObwI0DY.js → use-status-sounds-Ce7WandB.js} +1 -1
  140. package/dist/client/assets/{use-tasks-7rX1bsHL.js → use-tasks-Dpp1DK1f.js} +1 -1
  141. package/dist/client/assets/{use-view-mode-BkbloGkm.js → use-view-mode-CZPzVaxj.js} +1 -1
  142. package/dist/client/assets/{use-virtual-mcp-CDOk_IIy.js → use-virtual-mcp-0vHwLInn.js} +1 -1
  143. package/dist/client/assets/useInfiniteQuery-B4w-6TrV.js +1 -0
  144. package/dist/client/assets/useSuspenseInfiniteQuery-WURyRq6p.js +1 -0
  145. package/dist/client/assets/{user-lj8QRtGG.js → user-xj80BAo3.js} +1 -1
  146. package/dist/client/assets/{view-mode-toggle-BiPtlB_S.js → view-mode-toggle-D5CGwPOj.js} +1 -1
  147. package/dist/client/assets/workflow-CD_DiE5j.js +1 -0
  148. package/dist/client/assets/workflow-detail-CxWEb-ID.js +1 -0
  149. package/dist/client/index.html +2 -2
  150. package/dist/server/cli.js +2 -2
  151. package/dist/server/node_modules/figures/index.d.ts +279 -0
  152. package/dist/server/node_modules/figures/index.js +292 -0
  153. package/dist/server/node_modules/figures/license +9 -0
  154. package/dist/server/node_modules/figures/package.json +49 -0
  155. package/dist/server/node_modules/figures/readme.md +337 -0
  156. package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
  157. package/dist/server/node_modules/ink/build/ansi-tokenizer.js +316 -0
  158. package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
  159. package/dist/server/node_modules/ink/build/apply-styles.js +175 -0
  160. package/dist/server/node_modules/ink/build/build-layout.js +77 -0
  161. package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +53 -0
  162. package/dist/server/node_modules/ink/build/colorize.d.ts +3 -0
  163. package/dist/server/node_modules/ink/build/colorize.js +48 -0
  164. package/dist/server/node_modules/ink/build/colorize.js.map +1 -0
  165. package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
  166. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +5 -0
  167. package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
  168. package/dist/server/node_modules/ink/build/components/App.d.ts +18 -0
  169. package/dist/server/node_modules/ink/build/components/App.js +351 -0
  170. package/dist/server/node_modules/ink/build/components/App.js.map +1 -0
  171. package/dist/server/node_modules/ink/build/components/AppContext.d.ts +15 -0
  172. package/dist/server/node_modules/ink/build/components/AppContext.js +11 -0
  173. package/dist/server/node_modules/ink/build/components/AppContext.js.map +1 -0
  174. package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
  175. package/dist/server/node_modules/ink/build/components/BackgroundContext.js +3 -0
  176. package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
  177. package/dist/server/node_modules/ink/build/components/Box.d.ts +117 -0
  178. package/dist/server/node_modules/ink/build/components/Box.js +34 -0
  179. package/dist/server/node_modules/ink/build/components/Box.js.map +1 -0
  180. package/dist/server/node_modules/ink/build/components/Color.js +62 -0
  181. package/dist/server/node_modules/ink/build/components/Cursor.d.ts +83 -0
  182. package/dist/server/node_modules/ink/build/components/Cursor.js +53 -0
  183. package/dist/server/node_modules/ink/build/components/Cursor.js.map +1 -0
  184. package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +11 -0
  185. package/dist/server/node_modules/ink/build/components/CursorContext.js +8 -0
  186. package/dist/server/node_modules/ink/build/components/CursorContext.js.map +1 -0
  187. package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
  188. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +23 -0
  189. package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
  190. package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
  191. package/dist/server/node_modules/ink/build/components/ErrorOverview.js +84 -0
  192. package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
  193. package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +16 -0
  194. package/dist/server/node_modules/ink/build/components/FocusContext.js +17 -0
  195. package/dist/server/node_modules/ink/build/components/FocusContext.js.map +1 -0
  196. package/dist/server/node_modules/ink/build/components/Newline.d.ts +13 -0
  197. package/dist/server/node_modules/ink/build/components/Newline.js +8 -0
  198. package/dist/server/node_modules/ink/build/components/Newline.js.map +1 -0
  199. package/dist/server/node_modules/ink/build/components/Spacer.d.ts +7 -0
  200. package/dist/server/node_modules/ink/build/components/Spacer.js +11 -0
  201. package/dist/server/node_modules/ink/build/components/Spacer.js.map +1 -0
  202. package/dist/server/node_modules/ink/build/components/Static.d.ts +24 -0
  203. package/dist/server/node_modules/ink/build/components/Static.js +28 -0
  204. package/dist/server/node_modules/ink/build/components/Static.js.map +1 -0
  205. package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +15 -0
  206. package/dist/server/node_modules/ink/build/components/StderrContext.js +13 -0
  207. package/dist/server/node_modules/ink/build/components/StderrContext.js.map +1 -0
  208. package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +22 -0
  209. package/dist/server/node_modules/ink/build/components/StdinContext.js +19 -0
  210. package/dist/server/node_modules/ink/build/components/StdinContext.js.map +1 -0
  211. package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
  212. package/dist/server/node_modules/ink/build/components/StdoutContext.js +13 -0
  213. package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +1 -0
  214. package/dist/server/node_modules/ink/build/components/Text.d.ts +55 -0
  215. package/dist/server/node_modules/ink/build/components/Text.js +50 -0
  216. package/dist/server/node_modules/ink/build/components/Text.js.map +1 -0
  217. package/dist/server/node_modules/ink/build/components/Transform.d.ts +16 -0
  218. package/dist/server/node_modules/ink/build/components/Transform.js +15 -0
  219. package/dist/server/node_modules/ink/build/components/Transform.js.map +1 -0
  220. package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +38 -0
  221. package/dist/server/node_modules/ink/build/cursor-helpers.js +56 -0
  222. package/dist/server/node_modules/ink/build/cursor-helpers.js.map +1 -0
  223. package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
  224. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +65 -0
  225. package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
  226. package/dist/server/node_modules/ink/build/devtools.d.ts +1 -0
  227. package/dist/server/node_modules/ink/build/devtools.js +11 -0
  228. package/dist/server/node_modules/ink/build/devtools.js.map +1 -0
  229. package/dist/server/node_modules/ink/build/dom.d.ts +56 -0
  230. package/dist/server/node_modules/ink/build/dom.js +124 -0
  231. package/dist/server/node_modules/ink/build/dom.js.map +1 -0
  232. package/dist/server/node_modules/ink/build/experimental/apply-style.js +140 -0
  233. package/dist/server/node_modules/ink/build/experimental/dom.js +123 -0
  234. package/dist/server/node_modules/ink/build/experimental/output.js +91 -0
  235. package/dist/server/node_modules/ink/build/experimental/reconciler.js +141 -0
  236. package/dist/server/node_modules/ink/build/experimental/renderer.js +81 -0
  237. package/dist/server/node_modules/ink/build/get-max-width.d.ts +3 -0
  238. package/dist/server/node_modules/ink/build/get-max-width.js +10 -0
  239. package/dist/server/node_modules/ink/build/get-max-width.js.map +1 -0
  240. package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +5 -0
  241. package/dist/server/node_modules/ink/build/hooks/use-app.js +8 -0
  242. package/dist/server/node_modules/ink/build/hooks/use-app.js.map +1 -0
  243. package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
  244. package/dist/server/node_modules/ink/build/hooks/use-cursor.js +29 -0
  245. package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
  246. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +28 -0
  247. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +17 -0
  248. package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
  249. package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +29 -0
  250. package/dist/server/node_modules/ink/build/hooks/use-focus.js +42 -0
  251. package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +1 -0
  252. package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +131 -0
  253. package/dist/server/node_modules/ink/build/hooks/use-input.js +124 -0
  254. package/dist/server/node_modules/ink/build/hooks/use-input.js.map +1 -0
  255. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +5 -0
  256. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +11 -0
  257. package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
  258. package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
  259. package/dist/server/node_modules/ink/build/hooks/use-stderr.js +8 -0
  260. package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
  261. package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
  262. package/dist/server/node_modules/ink/build/hooks/use-stdin.js +8 -0
  263. package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
  264. package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
  265. package/dist/server/node_modules/ink/build/hooks/use-stdout.js +8 -0
  266. package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
  267. package/dist/server/node_modules/ink/build/hooks/useInput.js +38 -0
  268. package/dist/server/node_modules/ink/build/index.d.ts +34 -0
  269. package/dist/server/node_modules/ink/build/index.js +20 -0
  270. package/dist/server/node_modules/ink/build/index.js.map +1 -0
  271. package/dist/server/node_modules/ink/build/ink.d.ts +90 -0
  272. package/dist/server/node_modules/ink/build/ink.js +637 -0
  273. package/dist/server/node_modules/ink/build/ink.js.map +1 -0
  274. package/dist/server/node_modules/ink/build/input-parser.d.ts +7 -0
  275. package/dist/server/node_modules/ink/build/input-parser.js +154 -0
  276. package/dist/server/node_modules/ink/build/input-parser.js.map +1 -0
  277. package/dist/server/node_modules/ink/build/instance.js +205 -0
  278. package/dist/server/node_modules/ink/build/instances.d.ts +3 -0
  279. package/dist/server/node_modules/ink/build/instances.js +8 -0
  280. package/dist/server/node_modules/ink/build/instances.js.map +1 -0
  281. package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
  282. package/dist/server/node_modules/ink/build/kitty-keyboard.js +32 -0
  283. package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +1 -0
  284. package/dist/server/node_modules/ink/build/layout.d.ts +7 -0
  285. package/dist/server/node_modules/ink/build/layout.js +33 -0
  286. package/dist/server/node_modules/ink/build/layout.js.map +1 -0
  287. package/dist/server/node_modules/ink/build/log-update.d.ts +19 -0
  288. package/dist/server/node_modules/ink/build/log-update.js +242 -0
  289. package/dist/server/node_modules/ink/build/log-update.js.map +1 -0
  290. package/dist/server/node_modules/ink/build/measure-element.d.ts +16 -0
  291. package/dist/server/node_modules/ink/build/measure-element.js +9 -0
  292. package/dist/server/node_modules/ink/build/measure-element.js.map +1 -0
  293. package/dist/server/node_modules/ink/build/measure-text.d.ts +6 -0
  294. package/dist/server/node_modules/ink/build/measure-text.js +21 -0
  295. package/dist/server/node_modules/ink/build/measure-text.js.map +1 -0
  296. package/dist/server/node_modules/ink/build/options.d.ts +52 -0
  297. package/dist/server/node_modules/ink/build/options.js +2 -0
  298. package/dist/server/node_modules/ink/build/options.js.map +1 -0
  299. package/dist/server/node_modules/ink/build/output.d.ts +35 -0
  300. package/dist/server/node_modules/ink/build/output.js +183 -0
  301. package/dist/server/node_modules/ink/build/output.js.map +1 -0
  302. package/dist/server/node_modules/ink/build/parse-keypress.d.ts +22 -0
  303. package/dist/server/node_modules/ink/build/parse-keypress.js +493 -0
  304. package/dist/server/node_modules/ink/build/parse-keypress.js.map +1 -0
  305. package/dist/server/node_modules/ink/build/reconciler.d.ts +4 -0
  306. package/dist/server/node_modules/ink/build/reconciler.js +274 -0
  307. package/dist/server/node_modules/ink/build/reconciler.js.map +1 -0
  308. package/dist/server/node_modules/ink/build/render-background.d.ts +4 -0
  309. package/dist/server/node_modules/ink/build/render-background.js +25 -0
  310. package/dist/server/node_modules/ink/build/render-background.js.map +1 -0
  311. package/dist/server/node_modules/ink/build/render-border.d.ts +4 -0
  312. package/dist/server/node_modules/ink/build/render-border.js +73 -0
  313. package/dist/server/node_modules/ink/build/render-border.js.map +1 -0
  314. package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +14 -0
  315. package/dist/server/node_modules/ink/build/render-node-to-output.js +147 -0
  316. package/dist/server/node_modules/ink/build/render-node-to-output.js.map +1 -0
  317. package/dist/server/node_modules/ink/build/render-to-string.d.ts +38 -0
  318. package/dist/server/node_modules/ink/build/render-to-string.js +115 -0
  319. package/dist/server/node_modules/ink/build/render-to-string.js.map +1 -0
  320. package/dist/server/node_modules/ink/build/render.d.ts +121 -0
  321. package/dist/server/node_modules/ink/build/render.js +55 -0
  322. package/dist/server/node_modules/ink/build/render.js.map +1 -0
  323. package/dist/server/node_modules/ink/build/renderer.d.ts +8 -0
  324. package/dist/server/node_modules/ink/build/renderer.js +55 -0
  325. package/dist/server/node_modules/ink/build/renderer.js.map +1 -0
  326. package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
  327. package/dist/server/node_modules/ink/build/sanitize-ansi.js +27 -0
  328. package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +1 -0
  329. package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +13 -0
  330. package/dist/server/node_modules/ink/build/screen-reader-update.js +38 -0
  331. package/dist/server/node_modules/ink/build/screen-reader-update.js.map +1 -0
  332. package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
  333. package/dist/server/node_modules/ink/build/squash-text-nodes.js +36 -0
  334. package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +1 -0
  335. package/dist/server/node_modules/ink/build/styles.d.ts +240 -0
  336. package/dist/server/node_modules/ink/build/styles.js +232 -0
  337. package/dist/server/node_modules/ink/build/styles.js.map +1 -0
  338. package/dist/server/node_modules/ink/build/utils.d.ts +2 -0
  339. package/dist/server/node_modules/ink/build/utils.js +4 -0
  340. package/dist/server/node_modules/ink/build/utils.js.map +1 -0
  341. package/dist/server/node_modules/ink/build/wrap-text.d.ts +3 -0
  342. package/dist/server/node_modules/ink/build/wrap-text.js +31 -0
  343. package/dist/server/node_modules/ink/build/wrap-text.js.map +1 -0
  344. package/dist/server/node_modules/ink/build/write-synchronized.d.ts +4 -0
  345. package/dist/server/node_modules/ink/build/write-synchronized.js +7 -0
  346. package/dist/server/node_modules/ink/build/write-synchronized.js.map +1 -0
  347. package/dist/server/node_modules/ink/license +10 -0
  348. package/dist/server/node_modules/ink/package.json +201 -0
  349. package/dist/server/node_modules/ink/readme.md +2636 -0
  350. package/dist/server/node_modules/onetime/index.d.ts +64 -0
  351. package/dist/server/node_modules/onetime/index.js +44 -0
  352. package/dist/server/node_modules/onetime/license +9 -0
  353. package/dist/server/node_modules/onetime/package.json +43 -0
  354. package/dist/server/node_modules/onetime/readme.md +94 -0
  355. package/dist/server/server.js +1 -1
  356. package/package.json +1 -1
  357. package/dist/client/assets/SearchMd-VdXbz8fL.js +0 -1
  358. package/dist/client/assets/XCircle-BiHPX6_R.js +0 -1
  359. package/dist/client/assets/agent-icon-DCE-D-qC.js +0 -1
  360. package/dist/client/assets/agents-list-8_yOp3iD.js +0 -1
  361. package/dist/client/assets/ai-providers-DxQNSEJT.js +0 -1
  362. package/dist/client/assets/automation-list-row-BWjwKsQ5.js +0 -1
  363. package/dist/client/assets/automations-D6LOd0hH.js +0 -1
  364. package/dist/client/assets/collection-detail-BTibo6D3.js +0 -1
  365. package/dist/client/assets/collection-display-button-CfjJ9SIP.js +0 -1
  366. package/dist/client/assets/collection-table-wrapper-B4l_6tOy.js +0 -1
  367. package/dist/client/assets/command-BPSv-8-5.js +0 -1
  368. package/dist/client/assets/connection-detail-DgKIsKao.js +0 -1
  369. package/dist/client/assets/connections-rM_I7gvv.js +0 -1
  370. package/dist/client/assets/dropdown-menu-DO26Q0bD.js +0 -1
  371. package/dist/client/assets/general-VnUbEBHT.js +0 -1
  372. package/dist/client/assets/index-DeSgX7LP.css +0 -1
  373. package/dist/client/assets/members-6PieW-Nu.js +0 -3
  374. package/dist/client/assets/project-app-view-EMrqjiux.js +0 -1
  375. package/dist/client/assets/registry-CYL2cMC0.js +0 -2
  376. package/dist/client/assets/settings-layout-hwviWS6Q.js +0 -1
  377. package/dist/client/assets/store-registry-DAeO63_G.js +0 -2
  378. package/dist/client/assets/tools-list-C0RCBhOc.js +0 -1
  379. package/dist/client/assets/useInfiniteQuery-Ci00Hw-m.js +0 -1
  380. package/dist/client/assets/workflow-BrBlpNSn.js +0 -1
  381. package/dist/client/assets/workflow-detail-NqGVn5hy.js +0 -1
@@ -1 +1 @@
1
- import{s as E,r as S,j as e,B as u,t as h,z as a,e as I}from"./index-CNolBSVE.js";import{P as g}from"./index-PT6VRyBL.js";import{I as d}from"./input-B8j75XZ_.js";import{L as m}from"./label-KH35YAYU.js";import{S as _}from"./switch-CVtXvreH.js";import{a as w,b as z,c as D,d as k}from"./use-org-sso-CmuM4ieo.js";import{i as F}from"./AlertCircle-Ljx3VIeb.js";import{i as P}from"./CheckCircle-BFRWTTWo.js";import{s as R}from"./Trash01-BHBjIGXE.js";import"./use-mobile-Ctb5URy7.js";import"./X-BWV-b86T.js";function L(){const{org:n}=E(),{data:r,isLoading:N}=w(n.id),p=z(n.id),j=D(n.id),v=k(n.id),[i,c]=S.useState({issuer:"",clientId:"",clientSecret:"",discoveryEndpoint:"",domain:"",scopes:"openid email profile"}),[x,f]=S.useState(!1),l=r?.configured&&r.config,t=r?.config,y=()=>{t&&c({issuer:t.issuer,clientId:t.clientId,clientSecret:"",discoveryEndpoint:t.discoveryEndpoint??"",domain:t.domain,scopes:t.scopes.join(" ")}),f(!0)},C=async()=>{if(!i.issuer||!i.clientId||!i.domain){a.error("Issuer, Client ID, and Domain are required");return}if(!l&&!i.clientSecret){a.error("Client Secret is required for initial setup");return}try{await p.mutateAsync({issuer:i.issuer,clientId:i.clientId,clientSecret:i.clientSecret,discoveryEndpoint:i.discoveryEndpoint||void 0,scopes:i.scopes.split(/\s+/).filter(Boolean),domain:i.domain,enforced:t?.enforced??!1}),h(l?"sso_config_updated":"sso_configured",{organization_id:n.id,email_domain:i.domain}),a.success("SSO configuration saved"),f(!1)}catch(s){a.error(s instanceof Error?s.message:"Failed to save SSO config")}},O=async()=>{if(confirm("Are you sure you want to remove SSO configuration?"))try{await j.mutateAsync(),h("sso_config_removed",{organization_id:n.id}),a.success("SSO configuration removed"),f(!1)}catch{a.error("Failed to remove SSO config")}},b=async s=>{try{await v.mutateAsync(s),h("sso_enforcement_toggled",{organization_id:n.id,enforced:s}),a.success(s?"SSO enforcement enabled":"SSO enforcement disabled")}catch{a.error("Failed to toggle SSO enforcement")}};return e.jsx(g,{children:e.jsx(g.Content,{children:e.jsx(g.Body,{children:e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx(g.Title,{children:"Single Sign-On"}),N?e.jsx("div",{className:"text-sm text-muted-foreground",children:"Loading..."}):e.jsxs("div",{className:"flex flex-col gap-6",children:[l&&!x&&e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-md bg-muted/50",children:[e.jsx(P,{size:16,className:"text-green-600"}),e.jsx("span",{className:"text-sm font-medium",children:"SSO Configured"}),e.jsx("span",{className:"text-xs text-muted-foreground ml-auto",children:t.issuer})]}),e.jsxs("div",{className:"flex flex-col gap-3 text-sm",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Provider"}),e.jsx("span",{className:"font-medium",children:t.issuer})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Client ID"}),e.jsx("span",{className:"font-mono text-xs",children:t.clientId})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Domain"}),e.jsx("span",{className:"font-medium",children:t.domain})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Scopes"}),e.jsx("span",{className:"font-mono text-xs",children:t.scopes.join(" ")})]})]}),e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-md border border-border",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium",children:"Enforce SSO"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Require all members to authenticate via SSO"})]}),e.jsx(_,{checked:t.enforced,onCheckedChange:b,disabled:v.isPending})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(u,{variant:"outline",size:"sm",onClick:y,children:"Edit configuration"}),e.jsx(u,{variant:"outline",size:"sm",onClick:()=>{window.open(`/api/org-sso/authorize?orgId=${n.id}`,"_blank")},children:"Test SSO"}),e.jsxs(u,{variant:"ghost",size:"sm",onClick:O,disabled:j.isPending,className:"text-destructive hover:text-destructive ml-auto",children:[e.jsx(R,{size:14}),"Remove"]})]})]}),(!l||x)&&e.jsxs("div",{className:"flex flex-col gap-4",children:[!l&&e.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-md bg-muted/50",children:[e.jsx(F,{size:16,className:"text-muted-foreground"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:"SSO is not configured for this organization."})]}),e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-issuer",children:"Issuer URL"}),e.jsx(d,{id:"sso-issuer",placeholder:"https://login.microsoftonline.com/{tenant}/v2.0",value:i.issuer,onChange:s=>c(o=>({...o,issuer:s.target.value}))}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"The OIDC issuer URL of your identity provider."})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-5",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-client-id",children:"Client ID"}),e.jsx(d,{id:"sso-client-id",placeholder:"your-client-id",value:i.clientId,onChange:s=>c(o=>({...o,clientId:s.target.value}))})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs(m,{htmlFor:"sso-client-secret",children:["Client Secret",x&&l&&e.jsx("span",{className:"text-muted-foreground font-normal ml-1",children:"(leave empty to keep current)"})]}),e.jsx(d,{id:"sso-client-secret",type:"password",placeholder:"your-client-secret",value:i.clientSecret,onChange:s=>c(o=>({...o,clientSecret:s.target.value}))})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-5",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-domain",children:"Email Domain"}),e.jsx(d,{id:"sso-domain",placeholder:"company.com",value:i.domain,onChange:s=>c(o=>({...o,domain:s.target.value}))}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"The email domain that this SSO provider covers."})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-scopes",children:"Scopes"}),e.jsx(d,{id:"sso-scopes",placeholder:"openid email profile",value:i.scopes,onChange:s=>c(o=>({...o,scopes:s.target.value}))})]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs(m,{htmlFor:"sso-discovery",children:["Discovery Endpoint"," ",e.jsx("span",{className:"text-muted-foreground font-normal",children:"(optional)"})]}),e.jsx(d,{id:"sso-discovery",placeholder:"Auto-detected from issuer",value:i.discoveryEndpoint,onChange:s=>c(o=>({...o,discoveryEndpoint:s.target.value}))})]})]}),e.jsxs("div",{className:"flex gap-2 pt-2",children:[e.jsx(u,{onClick:C,disabled:p.isPending,children:p.isPending?"Saving...":x?"Update":"Configure SSO"}),x&&e.jsx(u,{variant:"ghost",onClick:()=>f(!1),children:"Cancel"})]})]})]})]})})})})}function Q(){const n=I.c(1);let r;return n[0]===Symbol.for("react.memo_cache_sentinel")?(r=e.jsx(L,{}),n[0]=r):r=n[0],r}export{Q as default};
1
+ import{s as E,r as S,j as e,B as u,t as h,z as a,e as I}from"./index-D34n6J5J.js";import{P as g}from"./index-zDq2Zqio.js";import{I as d}from"./input-urtyHxks.js";import{L as m}from"./label-Bt4h_QUk.js";import{S as _}from"./switch-VBeL01bM.js";import{a as w,b as z,c as D,d as k}from"./use-org-sso-CACnH9GQ.js";import{i as F}from"./AlertCircle-DTmaHldD.js";import{i as P}from"./CheckCircle-DJ3lme5R.js";import{s as R}from"./Trash01-C6bAXG6g.js";import"./use-mobile-CxvYCzu9.js";import"./X-i9zBn6Hn.js";function L(){const{org:n}=E(),{data:r,isLoading:N}=w(n.id),p=z(n.id),j=D(n.id),v=k(n.id),[i,c]=S.useState({issuer:"",clientId:"",clientSecret:"",discoveryEndpoint:"",domain:"",scopes:"openid email profile"}),[x,f]=S.useState(!1),l=r?.configured&&r.config,t=r?.config,y=()=>{t&&c({issuer:t.issuer,clientId:t.clientId,clientSecret:"",discoveryEndpoint:t.discoveryEndpoint??"",domain:t.domain,scopes:t.scopes.join(" ")}),f(!0)},C=async()=>{if(!i.issuer||!i.clientId||!i.domain){a.error("Issuer, Client ID, and Domain are required");return}if(!l&&!i.clientSecret){a.error("Client Secret is required for initial setup");return}try{await p.mutateAsync({issuer:i.issuer,clientId:i.clientId,clientSecret:i.clientSecret,discoveryEndpoint:i.discoveryEndpoint||void 0,scopes:i.scopes.split(/\s+/).filter(Boolean),domain:i.domain,enforced:t?.enforced??!1}),h(l?"sso_config_updated":"sso_configured",{organization_id:n.id,email_domain:i.domain}),a.success("SSO configuration saved"),f(!1)}catch(s){a.error(s instanceof Error?s.message:"Failed to save SSO config")}},O=async()=>{if(confirm("Are you sure you want to remove SSO configuration?"))try{await j.mutateAsync(),h("sso_config_removed",{organization_id:n.id}),a.success("SSO configuration removed"),f(!1)}catch{a.error("Failed to remove SSO config")}},b=async s=>{try{await v.mutateAsync(s),h("sso_enforcement_toggled",{organization_id:n.id,enforced:s}),a.success(s?"SSO enforcement enabled":"SSO enforcement disabled")}catch{a.error("Failed to toggle SSO enforcement")}};return e.jsx(g,{children:e.jsx(g.Content,{children:e.jsx(g.Body,{children:e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx(g.Title,{children:"Single Sign-On"}),N?e.jsx("div",{className:"text-sm text-muted-foreground",children:"Loading..."}):e.jsxs("div",{className:"flex flex-col gap-6",children:[l&&!x&&e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-md bg-muted/50",children:[e.jsx(P,{size:16,className:"text-green-600"}),e.jsx("span",{className:"text-sm font-medium",children:"SSO Configured"}),e.jsx("span",{className:"text-xs text-muted-foreground ml-auto",children:t.issuer})]}),e.jsxs("div",{className:"flex flex-col gap-3 text-sm",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Provider"}),e.jsx("span",{className:"font-medium",children:t.issuer})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Client ID"}),e.jsx("span",{className:"font-mono text-xs",children:t.clientId})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Domain"}),e.jsx("span",{className:"font-medium",children:t.domain})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-muted-foreground",children:"Scopes"}),e.jsx("span",{className:"font-mono text-xs",children:t.scopes.join(" ")})]})]}),e.jsxs("div",{className:"flex items-center justify-between p-3 rounded-md border border-border",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium",children:"Enforce SSO"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Require all members to authenticate via SSO"})]}),e.jsx(_,{checked:t.enforced,onCheckedChange:b,disabled:v.isPending})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(u,{variant:"outline",size:"sm",onClick:y,children:"Edit configuration"}),e.jsx(u,{variant:"outline",size:"sm",onClick:()=>{window.open(`/api/org-sso/authorize?orgId=${n.id}`,"_blank")},children:"Test SSO"}),e.jsxs(u,{variant:"ghost",size:"sm",onClick:O,disabled:j.isPending,className:"text-destructive hover:text-destructive ml-auto",children:[e.jsx(R,{size:14}),"Remove"]})]})]}),(!l||x)&&e.jsxs("div",{className:"flex flex-col gap-4",children:[!l&&e.jsxs("div",{className:"flex items-center gap-2 p-3 rounded-md bg-muted/50",children:[e.jsx(F,{size:16,className:"text-muted-foreground"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:"SSO is not configured for this organization."})]}),e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-issuer",children:"Issuer URL"}),e.jsx(d,{id:"sso-issuer",placeholder:"https://login.microsoftonline.com/{tenant}/v2.0",value:i.issuer,onChange:s=>c(o=>({...o,issuer:s.target.value}))}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"The OIDC issuer URL of your identity provider."})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-5",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-client-id",children:"Client ID"}),e.jsx(d,{id:"sso-client-id",placeholder:"your-client-id",value:i.clientId,onChange:s=>c(o=>({...o,clientId:s.target.value}))})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs(m,{htmlFor:"sso-client-secret",children:["Client Secret",x&&l&&e.jsx("span",{className:"text-muted-foreground font-normal ml-1",children:"(leave empty to keep current)"})]}),e.jsx(d,{id:"sso-client-secret",type:"password",placeholder:"your-client-secret",value:i.clientSecret,onChange:s=>c(o=>({...o,clientSecret:s.target.value}))})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-5",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-domain",children:"Email Domain"}),e.jsx(d,{id:"sso-domain",placeholder:"company.com",value:i.domain,onChange:s=>c(o=>({...o,domain:s.target.value}))}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"The email domain that this SSO provider covers."})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(m,{htmlFor:"sso-scopes",children:"Scopes"}),e.jsx(d,{id:"sso-scopes",placeholder:"openid email profile",value:i.scopes,onChange:s=>c(o=>({...o,scopes:s.target.value}))})]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs(m,{htmlFor:"sso-discovery",children:["Discovery Endpoint"," ",e.jsx("span",{className:"text-muted-foreground font-normal",children:"(optional)"})]}),e.jsx(d,{id:"sso-discovery",placeholder:"Auto-detected from issuer",value:i.discoveryEndpoint,onChange:s=>c(o=>({...o,discoveryEndpoint:s.target.value}))})]})]}),e.jsxs("div",{className:"flex gap-2 pt-2",children:[e.jsx(u,{onClick:C,disabled:p.isPending,children:p.isPending?"Saving...":x?"Update":"Configure SSO"}),x&&e.jsx(u,{variant:"ghost",onClick:()=>f(!1),children:"Cancel"})]})]})]})]})})})})}function Q(){const n=I.c(1);let r;return n[0]===Symbol.for("react.memo_cache_sentinel")?(r=e.jsx(L,{}),n[0]=r):r=n[0],r}export{Q as default};
@@ -1 +1 @@
1
- import{e as B,j as s,E as ie,r as O,s as ne,o as re,f as oe,g as le,B as Y,t as V,K as ae,a as ce,z as Z}from"./index-CNolBSVE.js";import{i as me}from"./AlertCircle-Ljx3VIeb.js";import{i as de}from"./ChevronRight-DCsBjQ-n.js";import{s as fe}from"./Plus-Bmk1thjl.js";import{s as ue}from"./Trash01-BHBjIGXE.js";import{C as ge}from"./card-CPVRwbgl.js";import{I as W}from"./input-B8j75XZ_.js";import{S as ee}from"./switch-CVtXvreH.js";import{S as xe}from"./skeleton-DPqifXUx.js";import{A as te}from"./avatar-gTIcZioB.js";import{b as he,P as pe,a as ye}from"./popover-BK6PL-XB.js";import{a as se}from"./use-connection-DIvNoxL5.js";import{d as J}from"./constants-D8VkIs2c.js";import{P as G}from"./index-PT6VRyBL.js";import{u as je}from"./use-registry-connections-CP0QI7iA.js";import{g as ve,h as Ce}from"./use-organization-settings-dQpmtQzl.js";import"./User01-DCiwOMBU.js";import"./use-collections-BTXUmiDi.js";import"./use-mobile-Ctb5URy7.js";import"./X-BWV-b86T.js";function _e(t){const e=B.c(3),{error:n}=t;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(me,{size:16}),e[0]=m):m=e[0];let r;return e[1]!==n.message?(r=s.jsxs("div",{className:"p-4 rounded-md bg-destructive/10 text-destructive flex items-center gap-2",children:[m,s.jsxs("span",{className:"text-sm font-medium",children:["Failed to load store settings: ",n.message]})]}),e[1]=n.message,e[2]=r):r=e[2],r}function be(t){const e=B.c(39),{onCancel:n,onSuccess:m}=t,r=se(),[o,b]=O.useState(""),[d,P]=O.useState(""),[g,v]=O.useState("");let x;e[0]!==r||e[1]!==o||e[2]!==g||e[3]!==d?(x=async()=>(await r.create.mutateAsync({title:o||"Private Registry",description:"Private MCP registry",connection_type:"HTTP",connection_url:d,connection_token:g||null,connection_headers:null,oauth_config:null,configuration_state:null,configuration_scopes:null,metadata:{type:"registry"},app_name:null,app_id:null,icon:null})).id,e[0]=r,e[1]=o,e[2]=g,e[3]=d,e[4]=x):x=e[4];let f;e[5]!==m?(f=k=>{V("store_private_registry_added",{connection_id:k}),Z.success("Private registry added"),m(k)},e[5]=m,e[6]=f):f=e[6];let c;e[7]!==x||e[8]!==f?(c={mutationFn:x,onSuccess:f,onError:Ne},e[7]=x,e[8]=f,e[9]=c):c=e[9];const{mutate:h,isPending:y}=ce(c);let j;e[10]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Name"}),e[10]=j):j=e[10];let u;e[11]===Symbol.for("react.memo_cache_sentinel")?(u=k=>b(k.target.value),e[11]=u):u=e[11];let l;e[12]!==o?(l=s.jsxs("div",{className:"space-y-1",children:[j,s.jsx(W,{placeholder:"e.g. Acme Corp Registry",value:o,onChange:u,className:"h-8 text-sm"})]}),e[12]=o,e[13]=l):l=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Registry URL"}),e[14]=C):C=e[14];let N;e[15]===Symbol.for("react.memo_cache_sentinel")?(N=k=>P(k.target.value),e[15]=N):N=e[15];let p;e[16]!==d?(p=s.jsxs("div",{className:"space-y-1",children:[C,s.jsx(W,{placeholder:"https://registry.example.com/mcp",value:d,onChange:N,className:"h-8 text-sm"})]}),e[16]=d,e[17]=p):p=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Auth Token (optional)"}),e[18]=S):S=e[18];let R;e[19]===Symbol.for("react.memo_cache_sentinel")?(R=k=>v(k.target.value),e[19]=R):R=e[19];let _;e[20]!==g?(_=s.jsxs("div",{className:"space-y-1",children:[S,s.jsx(W,{type:"password",placeholder:"Bearer token...",value:g,onChange:R,className:"h-8 text-sm"})]}),e[20]=g,e[21]=_):_=e[21];let w;e[22]!==y||e[23]!==n?(w=s.jsx(Y,{variant:"ghost",size:"sm",onClick:n,disabled:y,children:"Cancel"}),e[22]=y,e[23]=n,e[24]=w):w=e[24];let a;e[25]!==h?(a=()=>h(),e[25]=h,e[26]=a):a=e[26];const A=!d||y,E=y?"Adding...":"Add Registry";let T;e[27]!==a||e[28]!==A||e[29]!==E?(T=s.jsx(Y,{size:"sm",onClick:a,disabled:A,children:E}),e[27]=a,e[28]=A,e[29]=E,e[30]=T):T=e[30];let M;e[31]!==w||e[32]!==T?(M=s.jsxs("div",{className:"flex justify-end gap-2 pt-1",children:[w,T]}),e[31]=w,e[32]=T,e[33]=M):M=e[33];let $;return e[34]!==_||e[35]!==M||e[36]!==l||e[37]!==p?($=s.jsxs("div",{className:"space-y-3 p-4 border rounded-lg bg-muted/30",children:[l,p,_,M]}),e[34]=_,e[35]=M,e[36]=l,e[37]=p,e[38]=$):$=e[38],$}function Ne(t){Z.error(`Failed to add registry: ${t.message}`)}function L(t){const e=B.c(38),{name:n,description:m,icon:r,enabled:o,onToggle:b,onDelete:d,href:P}=t,g=oe();let v;e[0]===Symbol.for("react.memo_cache_sentinel")?(v={from:"/shell/$org"},e[0]=v):v=e[0];const{org:x}=le(v);let f;e[1]!==o||e[2]!==P||e[3]!==g||e[4]!==b||e[5]!==x?(f=()=>{P?g({to:P,params:{org:x}}):b(!o)},e[1]=o,e[2]=P,e[3]=g,e[4]=b,e[5]=x,e[6]=f):f=e[6];const c=f;let h;e[7]!==c?(h=a=>{a.currentTarget===a.target&&(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),c())},e[7]=c,e[8]=h):h=e[8];const y=h;let j;e[9]!==r||e[10]!==n?(j=r?s.jsx("img",{src:r,alt:n,className:"size-8 rounded-md object-contain shrink-0"}):s.jsx(te,{fallback:n.charAt(0),className:"size-8 bg-primary/10 text-primary shrink-0"}),e[9]=r,e[10]=n,e[11]=j):j=e[11];let u;e[12]!==n?(u=s.jsx("h3",{className:"font-medium text-sm truncate",children:n}),e[12]=n,e[13]=u):u=e[13];let l;e[14]!==m?(l=s.jsx("p",{className:"text-xs text-muted-foreground line-clamp-1",children:m}),e[14]=m,e[15]=l):l=e[15];let C;e[16]!==u||e[17]!==l?(C=s.jsxs("div",{className:"min-w-0 flex-1",children:[u,l]}),e[16]=u,e[17]=l,e[18]=C):C=e[18];let N;e[19]!==d?(N=d&&s.jsxs(he,{children:[s.jsx(pe,{asChild:!0,children:s.jsx(Y,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-destructive",onClick:ke,children:s.jsx(ue,{size:14})})}),s.jsx(ye,{className:"w-auto p-2",align:"end",children:s.jsxs("div",{className:"flex flex-col gap-2",children:[s.jsx("p",{className:"text-xs font-medium",children:"Remove this registry?"}),s.jsx(Y,{variant:"destructive",size:"xs",onClick:a=>{a.stopPropagation(),d()},children:"Remove"})]})})]}),e[19]=d,e[20]=N):N=e[20];let p;e[21]!==b?(p=a=>b(a),e[21]=b,e[22]=p):p=e[22];let S;e[23]!==o||e[24]!==p?(S=s.jsx(ee,{checked:o,onClick:Se,onCheckedChange:p}),e[23]=o,e[24]=p,e[25]=S):S=e[25];let R;e[26]!==P?(R=P&&s.jsx(de,{size:14,className:"text-muted-foreground"}),e[26]=P,e[27]=R):R=e[27];let _;e[28]!==S||e[29]!==R||e[30]!==N?(_=s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[N,S,R]}),e[28]=S,e[29]=R,e[30]=N,e[31]=_):_=e[31];let w;return e[32]!==c||e[33]!==y||e[34]!==_||e[35]!==j||e[36]!==C?(w=s.jsxs("div",{role:"button",tabIndex:0,className:"flex items-center gap-3 p-3 border rounded-lg cursor-pointer hover:bg-muted/30 transition-colors",onClick:c,onKeyDown:y,children:[j,C,_]}),e[32]=c,e[33]=y,e[34]=_,e[35]=j,e[36]=C,e[37]=w):w=e[37],w}function Se(t){return t.stopPropagation()}function ke(t){return t.stopPropagation()}function Pe(){const t=B.c(55),{org:e}=ne(),n=je(),m=se(),r=ve(),{mutateAsync:o}=Ce(),b=re(),[d,P]=O.useState(!1);let g,v,x,f,c,h;if(t[0]!==m||t[1]!==e.id||t[2]!==b||t[3]!==r||t[4]!==n||t[5]!==d||t[6]!==o){const u=J.REGISTRY(e.id),l=i=>{if(!r)return i===u;const z=r.registries[i];return z?z.enabled:i===u},C=J.COMMUNITY_REGISTRY(e.id),N=n.find(i=>i.id===u),p=n.find(i=>i.id===C||i.id==="community-registry"),S=p?.id??C,R=J.SELF(e.id),_=new Set([u,C,"community-registry",R]),w=n.filter(i=>!_.has(i.id));let a;t[13]!==r||t[14]!==o?(a=async(i,z)=>{V("store_registry_toggled",{connection_id:i,enabled:z});const X=r??{registries:{},blockedMcps:[]};await o({...X,registries:{...X.registries,[i]:{enabled:z}}})},t[13]=r,t[14]=o,t[15]=a):a=t[15];const A=a;let E;t[16]!==m||t[17]!==e.id||t[18]!==b?(E=async i=>{V("store_private_registry_removed",{connection_id:i}),await m.delete.mutateAsync(i),b.invalidateQueries({queryKey:ae.organizationSettings(e.id)})},t[16]=m,t[17]=e.id,t[18]=b,t[19]=E):E=t[19];const T=E;let M;t[20]!==r||t[21]!==o?(M=async i=>{P(!1);const z=r??{registries:{},blockedMcps:[]};await o({...z,registries:{...z.registries,[i]:{enabled:!0}}})},t[20]=r,t[21]=o,t[22]=M):M=t[22];const $=M;f="space-y-6";let k;t[23]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:"Deco Store"}),t[23]=k):k=t[23];const Q=N?s.jsx(L,{name:"Deco Store",description:"Official deco MCP registry with curated integrations",icon:N.icon,enabled:l(u),onToggle:i=>A(u,i)}):s.jsx(ge,{className:"p-4",children:s.jsx("p",{className:"text-sm text-muted-foreground",children:"Deco Store connection not found. It will be created automatically."})});t[24]!==Q?(c=s.jsxs("div",{className:"space-y-3",children:[k,Q]}),t[24]=Q,t[25]=c):c=t[25];let U;t[26]===Symbol.for("react.memo_cache_sentinel")?(U=s.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:"Private Registries"}),t[26]=U):U=t[26];let D;t[27]!==l?(D=l("self"),t[27]=l,t[28]=D):D=t[28];let F;t[29]!==A?(F=i=>A("self",i),t[29]=A,t[30]=F):F=t[30];let I;t[31]!==D||t[32]!==F?(I=s.jsx(L,{name:"Private Registry",description:"Your organization's private MCP registry",enabled:D,onToggle:F,href:"/$org/settings/store/registry"}),t[31]=D,t[32]=F,t[33]=I):I=t[33];let q;t[34]!==T||t[35]!==A||t[36]!==l?(q=i=>s.jsx(L,{name:i.title,description:i.description??"Private MCP registry",icon:i.icon,enabled:l(i.id),onToggle:z=>A(i.id,z),onDelete:()=>T(i.id)},i.id),t[34]=T,t[35]=A,t[36]=l,t[37]=q):q=t[37];const H=w.map(q);let K;t[38]!==$||t[39]!==d?(K=d?s.jsx(be,{onCancel:()=>P(!1),onSuccess:$}):s.jsxs(Y,{variant:"outline",size:"sm",className:"gap-1.5",onClick:()=>P(!0),children:[s.jsx(fe,{size:14}),"Add Private Registry"]}),t[38]=$,t[39]=d,t[40]=K):K=t[40],t[41]!==I||t[42]!==H||t[43]!==K?(h=s.jsxs("div",{className:"space-y-3",children:[U,I,H,K]}),t[41]=I,t[42]=H,t[43]=K,t[44]=h):h=t[44],g="space-y-3",t[45]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:"Community"}),t[45]=v):v=t[45],x=p?s.jsx(L,{name:"MCP Registry",description:"Community MCP registry with thousands of handy MCPs",icon:p.icon,enabled:l(S),onToggle:i=>A(S,i)}):s.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-md bg-muted/30",children:[s.jsx(te,{fallback:"M",className:"size-8 bg-primary/10 text-primary shrink-0"}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("p",{className:"text-sm font-medium",children:"MCP Registry"}),s.jsx("p",{className:"text-xs text-muted-foreground",children:"Community MCP registry — not yet added"})]}),s.jsx(ee,{checked:!1,disabled:!0,onCheckedChange:Re})]}),t[0]=m,t[1]=e.id,t[2]=b,t[3]=r,t[4]=n,t[5]=d,t[6]=o,t[7]=g,t[8]=v,t[9]=x,t[10]=f,t[11]=c,t[12]=h}else g=t[7],v=t[8],x=t[9],f=t[10],c=t[11],h=t[12];let y;t[46]!==g||t[47]!==v||t[48]!==x?(y=s.jsxs("div",{className:g,children:[v,x]}),t[46]=g,t[47]=v,t[48]=x,t[49]=y):y=t[49];let j;return t[50]!==f||t[51]!==c||t[52]!==h||t[53]!==y?(j=s.jsxs("div",{className:f,children:[c,h,y]}),t[50]=f,t[51]=c,t[52]=h,t[53]=y,t[54]=j):j=t[54],j}function Re(){}function we(){const t=B.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(xe,{className:"h-64 w-full"}),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(ie,{fallback:Ae,children:s.jsx(O.Suspense,{fallback:e,children:s.jsx(G,{children:s.jsx(G.Content,{children:s.jsx(G.Body,{children:s.jsxs("div",{className:"flex flex-col gap-6",children:[s.jsx("div",{children:s.jsx(G.Title,{children:"Store"})}),s.jsx(Pe,{})]})})})})})}),t[1]=n):n=t[1],n}function Ae(t){const{error:e}=t;return s.jsx(_e,{error:e??new Error("Failed to load store settings")})}function Ve(){const t=B.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(we,{}),t[0]=e):e=t[0],e}export{Ve as default};
1
+ import{e as B,j as s,E as ie,r as O,s as ne,o as re,f as oe,g as le,B as Y,t as V,K as ae,a as ce,z as Z}from"./index-D34n6J5J.js";import{i as me}from"./AlertCircle-DTmaHldD.js";import{i as de}from"./ChevronRight-DV9No7GF.js";import{s as fe}from"./Plus-oXFwCrYz.js";import{s as ue}from"./Trash01-C6bAXG6g.js";import{C as ge}from"./card-CaekC2K0.js";import{I as W}from"./input-urtyHxks.js";import{S as ee}from"./switch-VBeL01bM.js";import{S as xe}from"./skeleton-C9NsUzIb.js";import{A as te}from"./avatar-CF1bgUpD.js";import{b as he,P as pe,a as ye}from"./popover-j_PzMtdY.js";import{a as se}from"./use-connection-Cif-LY0f.js";import{d as J}from"./constants-DDHDU3PV.js";import{P as G}from"./index-zDq2Zqio.js";import{u as je}from"./use-registry-connections-DR_etJ2H.js";import{g as ve,h as Ce}from"./use-organization-settings-BD9CIHH5.js";import"./User01-C2-anwoO.js";import"./use-collections-DRlHpXQL.js";import"./use-mobile-CxvYCzu9.js";import"./X-i9zBn6Hn.js";function _e(t){const e=B.c(3),{error:n}=t;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(me,{size:16}),e[0]=m):m=e[0];let r;return e[1]!==n.message?(r=s.jsxs("div",{className:"p-4 rounded-md bg-destructive/10 text-destructive flex items-center gap-2",children:[m,s.jsxs("span",{className:"text-sm font-medium",children:["Failed to load store settings: ",n.message]})]}),e[1]=n.message,e[2]=r):r=e[2],r}function be(t){const e=B.c(39),{onCancel:n,onSuccess:m}=t,r=se(),[o,b]=O.useState(""),[d,P]=O.useState(""),[g,v]=O.useState("");let x;e[0]!==r||e[1]!==o||e[2]!==g||e[3]!==d?(x=async()=>(await r.create.mutateAsync({title:o||"Private Registry",description:"Private MCP registry",connection_type:"HTTP",connection_url:d,connection_token:g||null,connection_headers:null,oauth_config:null,configuration_state:null,configuration_scopes:null,metadata:{type:"registry"},app_name:null,app_id:null,icon:null})).id,e[0]=r,e[1]=o,e[2]=g,e[3]=d,e[4]=x):x=e[4];let f;e[5]!==m?(f=k=>{V("store_private_registry_added",{connection_id:k}),Z.success("Private registry added"),m(k)},e[5]=m,e[6]=f):f=e[6];let c;e[7]!==x||e[8]!==f?(c={mutationFn:x,onSuccess:f,onError:Ne},e[7]=x,e[8]=f,e[9]=c):c=e[9];const{mutate:h,isPending:y}=ce(c);let j;e[10]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Name"}),e[10]=j):j=e[10];let u;e[11]===Symbol.for("react.memo_cache_sentinel")?(u=k=>b(k.target.value),e[11]=u):u=e[11];let l;e[12]!==o?(l=s.jsxs("div",{className:"space-y-1",children:[j,s.jsx(W,{placeholder:"e.g. Acme Corp Registry",value:o,onChange:u,className:"h-8 text-sm"})]}),e[12]=o,e[13]=l):l=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Registry URL"}),e[14]=C):C=e[14];let N;e[15]===Symbol.for("react.memo_cache_sentinel")?(N=k=>P(k.target.value),e[15]=N):N=e[15];let p;e[16]!==d?(p=s.jsxs("div",{className:"space-y-1",children:[C,s.jsx(W,{placeholder:"https://registry.example.com/mcp",value:d,onChange:N,className:"h-8 text-sm"})]}),e[16]=d,e[17]=p):p=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Auth Token (optional)"}),e[18]=S):S=e[18];let R;e[19]===Symbol.for("react.memo_cache_sentinel")?(R=k=>v(k.target.value),e[19]=R):R=e[19];let _;e[20]!==g?(_=s.jsxs("div",{className:"space-y-1",children:[S,s.jsx(W,{type:"password",placeholder:"Bearer token...",value:g,onChange:R,className:"h-8 text-sm"})]}),e[20]=g,e[21]=_):_=e[21];let w;e[22]!==y||e[23]!==n?(w=s.jsx(Y,{variant:"ghost",size:"sm",onClick:n,disabled:y,children:"Cancel"}),e[22]=y,e[23]=n,e[24]=w):w=e[24];let a;e[25]!==h?(a=()=>h(),e[25]=h,e[26]=a):a=e[26];const A=!d||y,E=y?"Adding...":"Add Registry";let T;e[27]!==a||e[28]!==A||e[29]!==E?(T=s.jsx(Y,{size:"sm",onClick:a,disabled:A,children:E}),e[27]=a,e[28]=A,e[29]=E,e[30]=T):T=e[30];let M;e[31]!==w||e[32]!==T?(M=s.jsxs("div",{className:"flex justify-end gap-2 pt-1",children:[w,T]}),e[31]=w,e[32]=T,e[33]=M):M=e[33];let $;return e[34]!==_||e[35]!==M||e[36]!==l||e[37]!==p?($=s.jsxs("div",{className:"space-y-3 p-4 border rounded-lg bg-muted/30",children:[l,p,_,M]}),e[34]=_,e[35]=M,e[36]=l,e[37]=p,e[38]=$):$=e[38],$}function Ne(t){Z.error(`Failed to add registry: ${t.message}`)}function L(t){const e=B.c(38),{name:n,description:m,icon:r,enabled:o,onToggle:b,onDelete:d,href:P}=t,g=oe();let v;e[0]===Symbol.for("react.memo_cache_sentinel")?(v={from:"/shell/$org"},e[0]=v):v=e[0];const{org:x}=le(v);let f;e[1]!==o||e[2]!==P||e[3]!==g||e[4]!==b||e[5]!==x?(f=()=>{P?g({to:P,params:{org:x}}):b(!o)},e[1]=o,e[2]=P,e[3]=g,e[4]=b,e[5]=x,e[6]=f):f=e[6];const c=f;let h;e[7]!==c?(h=a=>{a.currentTarget===a.target&&(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),c())},e[7]=c,e[8]=h):h=e[8];const y=h;let j;e[9]!==r||e[10]!==n?(j=r?s.jsx("img",{src:r,alt:n,className:"size-8 rounded-md object-contain shrink-0"}):s.jsx(te,{fallback:n.charAt(0),className:"size-8 bg-primary/10 text-primary shrink-0"}),e[9]=r,e[10]=n,e[11]=j):j=e[11];let u;e[12]!==n?(u=s.jsx("h3",{className:"font-medium text-sm truncate",children:n}),e[12]=n,e[13]=u):u=e[13];let l;e[14]!==m?(l=s.jsx("p",{className:"text-xs text-muted-foreground line-clamp-1",children:m}),e[14]=m,e[15]=l):l=e[15];let C;e[16]!==u||e[17]!==l?(C=s.jsxs("div",{className:"min-w-0 flex-1",children:[u,l]}),e[16]=u,e[17]=l,e[18]=C):C=e[18];let N;e[19]!==d?(N=d&&s.jsxs(he,{children:[s.jsx(pe,{asChild:!0,children:s.jsx(Y,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-destructive",onClick:ke,children:s.jsx(ue,{size:14})})}),s.jsx(ye,{className:"w-auto p-2",align:"end",children:s.jsxs("div",{className:"flex flex-col gap-2",children:[s.jsx("p",{className:"text-xs font-medium",children:"Remove this registry?"}),s.jsx(Y,{variant:"destructive",size:"xs",onClick:a=>{a.stopPropagation(),d()},children:"Remove"})]})})]}),e[19]=d,e[20]=N):N=e[20];let p;e[21]!==b?(p=a=>b(a),e[21]=b,e[22]=p):p=e[22];let S;e[23]!==o||e[24]!==p?(S=s.jsx(ee,{checked:o,onClick:Se,onCheckedChange:p}),e[23]=o,e[24]=p,e[25]=S):S=e[25];let R;e[26]!==P?(R=P&&s.jsx(de,{size:14,className:"text-muted-foreground"}),e[26]=P,e[27]=R):R=e[27];let _;e[28]!==S||e[29]!==R||e[30]!==N?(_=s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[N,S,R]}),e[28]=S,e[29]=R,e[30]=N,e[31]=_):_=e[31];let w;return e[32]!==c||e[33]!==y||e[34]!==_||e[35]!==j||e[36]!==C?(w=s.jsxs("div",{role:"button",tabIndex:0,className:"flex items-center gap-3 p-3 border rounded-lg cursor-pointer hover:bg-muted/30 transition-colors",onClick:c,onKeyDown:y,children:[j,C,_]}),e[32]=c,e[33]=y,e[34]=_,e[35]=j,e[36]=C,e[37]=w):w=e[37],w}function Se(t){return t.stopPropagation()}function ke(t){return t.stopPropagation()}function Pe(){const t=B.c(55),{org:e}=ne(),n=je(),m=se(),r=ve(),{mutateAsync:o}=Ce(),b=re(),[d,P]=O.useState(!1);let g,v,x,f,c,h;if(t[0]!==m||t[1]!==e.id||t[2]!==b||t[3]!==r||t[4]!==n||t[5]!==d||t[6]!==o){const u=J.REGISTRY(e.id),l=i=>{if(!r)return i===u;const z=r.registries[i];return z?z.enabled:i===u},C=J.COMMUNITY_REGISTRY(e.id),N=n.find(i=>i.id===u),p=n.find(i=>i.id===C||i.id==="community-registry"),S=p?.id??C,R=J.SELF(e.id),_=new Set([u,C,"community-registry",R]),w=n.filter(i=>!_.has(i.id));let a;t[13]!==r||t[14]!==o?(a=async(i,z)=>{V("store_registry_toggled",{connection_id:i,enabled:z});const X=r??{registries:{},blockedMcps:[]};await o({...X,registries:{...X.registries,[i]:{enabled:z}}})},t[13]=r,t[14]=o,t[15]=a):a=t[15];const A=a;let E;t[16]!==m||t[17]!==e.id||t[18]!==b?(E=async i=>{V("store_private_registry_removed",{connection_id:i}),await m.delete.mutateAsync(i),b.invalidateQueries({queryKey:ae.organizationSettings(e.id)})},t[16]=m,t[17]=e.id,t[18]=b,t[19]=E):E=t[19];const T=E;let M;t[20]!==r||t[21]!==o?(M=async i=>{P(!1);const z=r??{registries:{},blockedMcps:[]};await o({...z,registries:{...z.registries,[i]:{enabled:!0}}})},t[20]=r,t[21]=o,t[22]=M):M=t[22];const $=M;f="space-y-6";let k;t[23]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:"Deco Store"}),t[23]=k):k=t[23];const Q=N?s.jsx(L,{name:"Deco Store",description:"Official deco MCP registry with curated integrations",icon:N.icon,enabled:l(u),onToggle:i=>A(u,i)}):s.jsx(ge,{className:"p-4",children:s.jsx("p",{className:"text-sm text-muted-foreground",children:"Deco Store connection not found. It will be created automatically."})});t[24]!==Q?(c=s.jsxs("div",{className:"space-y-3",children:[k,Q]}),t[24]=Q,t[25]=c):c=t[25];let U;t[26]===Symbol.for("react.memo_cache_sentinel")?(U=s.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:"Private Registries"}),t[26]=U):U=t[26];let D;t[27]!==l?(D=l("self"),t[27]=l,t[28]=D):D=t[28];let F;t[29]!==A?(F=i=>A("self",i),t[29]=A,t[30]=F):F=t[30];let I;t[31]!==D||t[32]!==F?(I=s.jsx(L,{name:"Private Registry",description:"Your organization's private MCP registry",enabled:D,onToggle:F,href:"/$org/settings/store/registry"}),t[31]=D,t[32]=F,t[33]=I):I=t[33];let q;t[34]!==T||t[35]!==A||t[36]!==l?(q=i=>s.jsx(L,{name:i.title,description:i.description??"Private MCP registry",icon:i.icon,enabled:l(i.id),onToggle:z=>A(i.id,z),onDelete:()=>T(i.id)},i.id),t[34]=T,t[35]=A,t[36]=l,t[37]=q):q=t[37];const H=w.map(q);let K;t[38]!==$||t[39]!==d?(K=d?s.jsx(be,{onCancel:()=>P(!1),onSuccess:$}):s.jsxs(Y,{variant:"outline",size:"sm",className:"gap-1.5",onClick:()=>P(!0),children:[s.jsx(fe,{size:14}),"Add Private Registry"]}),t[38]=$,t[39]=d,t[40]=K):K=t[40],t[41]!==I||t[42]!==H||t[43]!==K?(h=s.jsxs("div",{className:"space-y-3",children:[U,I,H,K]}),t[41]=I,t[42]=H,t[43]=K,t[44]=h):h=t[44],g="space-y-3",t[45]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:"Community"}),t[45]=v):v=t[45],x=p?s.jsx(L,{name:"MCP Registry",description:"Community MCP registry with thousands of handy MCPs",icon:p.icon,enabled:l(S),onToggle:i=>A(S,i)}):s.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-md bg-muted/30",children:[s.jsx(te,{fallback:"M",className:"size-8 bg-primary/10 text-primary shrink-0"}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("p",{className:"text-sm font-medium",children:"MCP Registry"}),s.jsx("p",{className:"text-xs text-muted-foreground",children:"Community MCP registry — not yet added"})]}),s.jsx(ee,{checked:!1,disabled:!0,onCheckedChange:Re})]}),t[0]=m,t[1]=e.id,t[2]=b,t[3]=r,t[4]=n,t[5]=d,t[6]=o,t[7]=g,t[8]=v,t[9]=x,t[10]=f,t[11]=c,t[12]=h}else g=t[7],v=t[8],x=t[9],f=t[10],c=t[11],h=t[12];let y;t[46]!==g||t[47]!==v||t[48]!==x?(y=s.jsxs("div",{className:g,children:[v,x]}),t[46]=g,t[47]=v,t[48]=x,t[49]=y):y=t[49];let j;return t[50]!==f||t[51]!==c||t[52]!==h||t[53]!==y?(j=s.jsxs("div",{className:f,children:[c,h,y]}),t[50]=f,t[51]=c,t[52]=h,t[53]=y,t[54]=j):j=t[54],j}function Re(){}function we(){const t=B.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(xe,{className:"h-64 w-full"}),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(ie,{fallback:Ae,children:s.jsx(O.Suspense,{fallback:e,children:s.jsx(G,{children:s.jsx(G.Content,{children:s.jsx(G.Body,{children:s.jsxs("div",{className:"flex flex-col gap-6",children:[s.jsx("div",{children:s.jsx(G.Title,{children:"Store"})}),s.jsx(Pe,{})]})})})})})}),t[1]=n):n=t[1],n}function Ae(t){const{error:e}=t;return s.jsx(_e,{error:e??new Error("Failed to load store settings")})}function Ve(){const t=B.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(we,{}),t[0]=e):e=t[0],e}export{Ve as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DRb_iR_v.js","assets/index-D34n6J5J.js","assets/index-BCwsJqWc.css","assets/ArrowNarrowLeft-DlPeFc4v.js","assets/CheckCircle-DJ3lme5R.js","assets/Container-B1nHZdmn.js","assets/Settings02-Dm9dFDqk.js","assets/XCircle-C1sJYG9R.js","assets/constants-DDHDU3PV.js","assets/useInfiniteQuery-B4w-6TrV.js","assets/infiniteQueryObserver-1_M-sq16.js","assets/badge-s_TAXGUN.js","assets/input-urtyHxks.js","assets/dropdown-menu-v2GifVOh.js","assets/ChevronDown-DGnjAtqs.js","assets/ChevronRight-DV9No7GF.js","assets/DotsVertical-Bp2tW8JI.js","assets/table-CQMW-Toa.js","assets/toggle-group-C077Smww.js","assets/use-view-mode-CZPzVaxj.js","assets/use-mobile-CxvYCzu9.js","assets/SearchMd-BRJBvWf4.js","assets/dialog-C4lREl-t.js","assets/X-i9zBn6Hn.js","assets/AlertCircle-DTmaHldD.js","assets/alert-dialog-CicrCOay.js","assets/card-CaekC2K0.js","assets/Trash01-C6bAXG6g.js","assets/label-Bt4h_QUk.js","assets/select-CePxsPeP.js","assets/ChevronUp-BkSgkwhO.js","assets/switch-VBeL01bM.js","assets/textarea-Ie4QUdo5.js","assets/RefreshCcw01-B10mKiE2.js","assets/checkbox-DznLgPgR.js","assets/LinkExternal01-BBbCPDtX.js","assets/use-copy-uiSuMvtc.js","assets/Plus-oXFwCrYz.js","assets/Play-DKFUTU3G.js"])))=>i.map(i=>d[i]);
2
+ import{e as n,f as c,g as m,j as r,l as f,r as l,aE as u}from"./index-D34n6J5J.js";const g=l.lazy(()=>u(()=>import("./registry-layout-DRb_iR_v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])));function _(){const e=n.c(5),o=c();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:i}=m(t);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=r.jsx("div",{className:"h-full flex items-center justify-center",children:r.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=s):s=e[1];let a;return e[2]!==o||e[3]!==i?(a=r.jsx(l.Suspense,{fallback:s,children:r.jsx(g,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{_ as default};
@@ -1 +1 @@
1
- import{r as c,j as i,ah as C,b6 as y,aT as B,ai as I,b7 as M,b8 as H,ao as z,e as A,c as g}from"./index-CNolBSVE.js";var m="Switch",[U]=z(m),[q,L]=U(m),E=c.forwardRef((r,e)=>{const{__scopeSwitch:t,name:s,checked:a,defaultChecked:n,required:o,disabled:d,value:u="on",onCheckedChange:k,form:l,...w}=r,[p,h]=c.useState(null),v=y(e,b=>h(b)),x=c.useRef(!1),S=p?l||!!p.closest("form"):!0,[f,N]=B({prop:a,defaultProp:n??!1,onChange:k,caller:m});return i.jsxs(q,{scope:t,checked:f,disabled:d,children:[i.jsx(C.button,{type:"button",role:"switch","aria-checked":f,"aria-required":o,"data-state":j(f),"data-disabled":d?"":void 0,disabled:d,value:u,...w,ref:v,onClick:I(r.onClick,b=>{N(T=>!T),S&&(x.current=b.isPropagationStopped(),x.current||b.stopPropagation())})}),S&&i.jsx(_,{control:p,bubbles:!x.current,name:s,value:u,checked:f,required:o,disabled:d,form:l,style:{transform:"translateX(-100%)"}})]})});E.displayName=m;var P="SwitchThumb",R=c.forwardRef((r,e)=>{const{__scopeSwitch:t,...s}=r,a=L(P,t);return i.jsx(C.span,{"data-state":j(a.checked),"data-disabled":a.disabled?"":void 0,...s,ref:e})});R.displayName=P;var O="SwitchBubbleInput",_=c.forwardRef(({__scopeSwitch:r,control:e,checked:t,bubbles:s=!0,...a},n)=>{const o=c.useRef(null),d=y(o,n),u=M(t),k=H(e);return c.useEffect(()=>{const l=o.current;if(!l)return;const w=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(w,"checked").set;if(u!==t&&h){const v=new Event("click",{bubbles:s});h.call(l,t),l.dispatchEvent(v)}},[u,t,s]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...a,tabIndex:-1,ref:d,style:{...a.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});_.displayName=O;function j(r){return r?"checked":"unchecked"}var $=E,D=R;function W(r){const e=A.c(9);let t,s;e[0]!==r?({className:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=g("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/20 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[2px] disabled:opacity-50",t),e[3]=t,e[4]=a):a=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx(D,{"data-slot":"switch-thumb",className:g("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")}),e[5]=n):n=e[5];let o;return e[6]!==s||e[7]!==a?(o=i.jsx($,{"data-slot":"switch",className:a,...s,children:n}),e[6]=s,e[7]=a,e[8]=o):o=e[8],o}export{W as S};
1
+ import{r as c,j as i,ah as C,b6 as y,aT as B,ai as I,b7 as M,b8 as H,ao as z,e as A,c as g}from"./index-D34n6J5J.js";var m="Switch",[U]=z(m),[q,L]=U(m),E=c.forwardRef((r,e)=>{const{__scopeSwitch:t,name:s,checked:a,defaultChecked:n,required:o,disabled:d,value:u="on",onCheckedChange:k,form:l,...w}=r,[p,h]=c.useState(null),v=y(e,b=>h(b)),x=c.useRef(!1),S=p?l||!!p.closest("form"):!0,[f,N]=B({prop:a,defaultProp:n??!1,onChange:k,caller:m});return i.jsxs(q,{scope:t,checked:f,disabled:d,children:[i.jsx(C.button,{type:"button",role:"switch","aria-checked":f,"aria-required":o,"data-state":j(f),"data-disabled":d?"":void 0,disabled:d,value:u,...w,ref:v,onClick:I(r.onClick,b=>{N(T=>!T),S&&(x.current=b.isPropagationStopped(),x.current||b.stopPropagation())})}),S&&i.jsx(_,{control:p,bubbles:!x.current,name:s,value:u,checked:f,required:o,disabled:d,form:l,style:{transform:"translateX(-100%)"}})]})});E.displayName=m;var P="SwitchThumb",R=c.forwardRef((r,e)=>{const{__scopeSwitch:t,...s}=r,a=L(P,t);return i.jsx(C.span,{"data-state":j(a.checked),"data-disabled":a.disabled?"":void 0,...s,ref:e})});R.displayName=P;var O="SwitchBubbleInput",_=c.forwardRef(({__scopeSwitch:r,control:e,checked:t,bubbles:s=!0,...a},n)=>{const o=c.useRef(null),d=y(o,n),u=M(t),k=H(e);return c.useEffect(()=>{const l=o.current;if(!l)return;const w=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(w,"checked").set;if(u!==t&&h){const v=new Event("click",{bubbles:s});h.call(l,t),l.dispatchEvent(v)}},[u,t,s]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...a,tabIndex:-1,ref:d,style:{...a.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});_.displayName=O;function j(r){return r?"checked":"unchecked"}var $=E,D=R;function W(r){const e=A.c(9);let t,s;e[0]!==r?({className:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=g("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/20 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[2px] disabled:opacity-50",t),e[3]=t,e[4]=a):a=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx(D,{"data-slot":"switch-thumb",className:g("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")}),e[5]=n):n=e[5];let o;return e[6]!==s||e[7]!==a?(o=i.jsx($,{"data-slot":"switch",className:a,...s,children:n}),e[6]=s,e[7]=a,e[8]=o):o=e[8],o}export{W as S};
@@ -1 +1 @@
1
- import{e as c,c as n,j as r}from"./index-CNolBSVE.js";function d(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("w-full caption-bottom text-sm min-w-0",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("div",{"data-slot":"table-container",className:"w-full min-w-0 bg-background dark:bg-input/30 rounded-xl card-shadow overflow-hidden",children:r.jsx("table",{"data-slot":"table",className:s,...l})}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function b(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("[&_tr]:border-b sticky top-0 z-10 bg-background",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("thead",{"data-slot":"table-header",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function f(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("[&_tr:last-child]:border-0",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("tbody",{"data-slot":"table-body",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function p(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("data-[state=selected]:bg-muted border-b transition-colors",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("tr",{"data-slot":"table-row",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function m(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("th",{"data-slot":"table-head",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function u(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("p-2 align-middle whitespace-nowrap text-sm [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("td",{"data-slot":"table-cell",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}export{u as T,p as a,f as b,d as c,b as d,m as e};
1
+ import{e as c,c as n,j as r}from"./index-D34n6J5J.js";function d(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("w-full caption-bottom text-sm min-w-0",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("div",{"data-slot":"table-container",className:"w-full min-w-0 bg-background dark:bg-input/30 rounded-xl card-shadow overflow-hidden",children:r.jsx("table",{"data-slot":"table",className:s,...l})}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function b(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("[&_tr]:border-b sticky top-0 z-10 bg-background",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("thead",{"data-slot":"table-header",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function f(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("[&_tr:last-child]:border-0",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("tbody",{"data-slot":"table-body",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function p(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("data-[state=selected]:bg-muted border-b transition-colors",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("tr",{"data-slot":"table-row",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function m(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("th",{"data-slot":"table-head",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function u(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=n("p-2 align-middle whitespace-nowrap text-sm [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("td",{"data-slot":"table-cell",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}export{u as T,p as a,f as b,d as c,b as d,m as e};
@@ -1 +1 @@
1
- import{e as b,n as A,V as F,aO as V,aP as k,r as f,j as d,aQ as L,ah as m,ai as y,aR as h,ao as q,aS as D,aT as K,aU as G,aV as O,aW as Q,c as g}from"./index-CNolBSVE.js";import{K as w}from"./constants-D8VkIs2c.js";async function C(s){if(!s.getServerCapabilities()?.prompts)return{prompts:[]};try{return await s.listPrompts()}catch(t){if(t instanceof V&&t.code===k.MethodNotFound)return{prompts:[]};throw t}}async function Z(s,e,t){if(!s.getServerCapabilities()?.prompts)throw new Error("Prompts capability not supported");return await s.getPrompt({name:e,arguments:t??{}})}function ee(s){const e=b.c(12);let t,a;e[0]!==s?({client:t,...a}=s,e[0]=s,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let r;e[3]!==t?(r=w.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let o;e[5]!==t?(o=()=>C(t),e[5]=t,e[6]=o):o=e[6];const n=a.staleTime??3e4;let i;return e[7]!==a||e[8]!==r||e[9]!==o||e[10]!==n?(i={...a,queryKey:r,queryFn:o,staleTime:n,retry:!1},e[7]=a,e[8]=r,e[9]=o,e[10]=n,e[11]=i):i=e[11],F(i)}function te(s){const e=b.c(12);let t,a;e[0]!==s?({client:t,...a}=s,e[0]=s,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let r;e[3]!==t?(r=w.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let o;e[5]!==t?(o=()=>C(t),e[5]=t,e[6]=o):o=e[6];const n=a.staleTime??3e4;let i;return e[7]!==a||e[8]!==r||e[9]!==o||e[10]!==n?(i={...a,queryKey:r,queryFn:o,staleTime:n,retry:!1},e[7]=a,e[8]=r,e[9]=o,e[10]=n,e[11]=i):i=e[11],A(i)}var x="Tabs",[z]=q(x,[h]),P=h(),[B,T]=z(x),N=f.forwardRef((s,e)=>{const{__scopeTabs:t,value:a,onValueChange:r,defaultValue:o,orientation:n="horizontal",dir:i,activationMode:l="automatic",...v}=s,u=D(i),[c,p]=K({prop:a,onChange:r,defaultProp:o??"",caller:x});return d.jsx(B,{scope:t,baseId:G(),value:c,onValueChange:p,orientation:n,dir:u,activationMode:l,children:d.jsx(m.div,{dir:u,"data-orientation":n,...v,ref:e})})});N.displayName=x;var j="TabsList",E=f.forwardRef((s,e)=>{const{__scopeTabs:t,loop:a=!0,...r}=s,o=T(j,t),n=P(t);return d.jsx(O,{asChild:!0,...n,orientation:o.orientation,dir:o.dir,loop:a,children:d.jsx(m.div,{role:"tablist","aria-orientation":o.orientation,...r,ref:e})})});E.displayName=j;var I="TabsTrigger",_=f.forwardRef((s,e)=>{const{__scopeTabs:t,value:a,disabled:r=!1,...o}=s,n=T(I,t),i=P(t),l=M(n.baseId,a),v=$(n.baseId,a),u=a===n.value;return d.jsx(L,{asChild:!0,...i,focusable:!r,active:u,children:d.jsx(m.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":v,"data-state":u?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...o,ref:e,onMouseDown:y(s.onMouseDown,c=>{!r&&c.button===0&&c.ctrlKey===!1?n.onValueChange(a):c.preventDefault()}),onKeyDown:y(s.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&n.onValueChange(a)}),onFocus:y(s.onFocus,()=>{const c=n.activationMode!=="manual";!u&&!r&&c&&n.onValueChange(a)})})})});_.displayName=I;var R="TabsContent",S=f.forwardRef((s,e)=>{const{__scopeTabs:t,value:a,forceMount:r,children:o,...n}=s,i=T(R,t),l=M(i.baseId,a),v=$(i.baseId,a),u=a===i.value,c=f.useRef(u);return f.useEffect(()=>{const p=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(p)},[]),d.jsx(Q,{present:r||u,children:({present:p})=>d.jsx(m.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:v,tabIndex:0,...n,ref:e,style:{...s.style,animationDuration:c.current?"0s":void 0},children:p&&o})})});S.displayName=R;function M(s,e){return`${s}-trigger-${e}`}function $(s,e){return`${s}-content-${e}`}var H=N,U=E,W=_,Y=S;function ae(s){const e=b.c(10);let t,a,r;e[0]!==s?({className:t,variant:r,...a}=s,e[0]=s,e[1]=t,e[2]=a,e[3]=r):(t=e[1],a=e[2],r=e[3]);const o=r===void 0?"pill":r;let n;e[4]!==t?(n=g("flex flex-col gap-2",t),e[4]=t,e[5]=n):n=e[5];let i;return e[6]!==a||e[7]!==n||e[8]!==o?(i=d.jsx(H,{"data-slot":"tabs","data-variant":o,className:n,...a}),e[6]=a,e[7]=n,e[8]=o,e[9]=i):i=e[9],i}function re(s){const e=b.c(11);let t,a,r;e[0]!==s?({className:t,variant:r,...a}=s,e[0]=s,e[1]=t,e[2]=a,e[3]=r):(t=e[1],a=e[2],r=e[3]);const o=r||"pill",n=o==="underline"?"flex h-[52px] items-center border-b border-border":o==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let i;e[4]!==t||e[5]!==n?(i=g(n,t),e[4]=t,e[5]=n,e[6]=i):i=e[6];let l;return e[7]!==o||e[8]!==a||e[9]!==i?(l=d.jsx(U,{"data-slot":"tabs-list","data-variant":o,className:i,...a}),e[7]=o,e[8]=a,e[9]=i,e[10]=l):l=e[10],l}function se(s){const e=b.c(11);let t,a,r;e[0]!==s?({className:t,variant:r,...a}=s,e[0]=s,e[1]=t,e[2]=a,e[3]=r):(t=e[1],a=e[2],r=e[3]);const o=r||"pill",n=o==="underline"?"flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-primary disabled:pointer-events-none disabled:opacity-50":o==="canvas"?"flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[2px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let i;e[4]!==t||e[5]!==n?(i=g(n,t),e[4]=t,e[5]=n,e[6]=i):i=e[6];let l;return e[7]!==o||e[8]!==a||e[9]!==i?(l=d.jsx(W,{"data-slot":"tabs-trigger","data-variant":o,className:i,...a}),e[7]=o,e[8]=a,e[9]=i,e[10]=l):l=e[10],l}function oe(s){const e=b.c(8);let t,a;e[0]!==s?({className:t,...a}=s,e[0]=s,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let r;e[3]!==t?(r=g("flex-1 outline-none h-full",t),e[3]=t,e[4]=r):r=e[4];let o;return e[5]!==a||e[6]!==r?(o=d.jsx(Y,{"data-slot":"tabs-content",className:r,...a}),e[5]=a,e[6]=r,e[7]=o):o=e[7],o}export{ae as T,oe as a,se as b,re as c,te as d,Z as g,C as l,ee as u};
1
+ import{e as b,n as A,V as F,aO as V,aP as k,r as f,j as d,aQ as L,ah as m,ai as y,aR as h,ao as q,aS as D,aT as K,aU as G,aV as O,aW as Q,c as g}from"./index-D34n6J5J.js";import{K as w}from"./constants-DDHDU3PV.js";async function C(s){if(!s.getServerCapabilities()?.prompts)return{prompts:[]};try{return await s.listPrompts()}catch(t){if(t instanceof V&&t.code===k.MethodNotFound)return{prompts:[]};throw t}}async function Z(s,e,t){if(!s.getServerCapabilities()?.prompts)throw new Error("Prompts capability not supported");return await s.getPrompt({name:e,arguments:t??{}})}function ee(s){const e=b.c(12);let t,a;e[0]!==s?({client:t,...a}=s,e[0]=s,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let r;e[3]!==t?(r=w.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let o;e[5]!==t?(o=()=>C(t),e[5]=t,e[6]=o):o=e[6];const n=a.staleTime??3e4;let i;return e[7]!==a||e[8]!==r||e[9]!==o||e[10]!==n?(i={...a,queryKey:r,queryFn:o,staleTime:n,retry:!1},e[7]=a,e[8]=r,e[9]=o,e[10]=n,e[11]=i):i=e[11],F(i)}function te(s){const e=b.c(12);let t,a;e[0]!==s?({client:t,...a}=s,e[0]=s,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let r;e[3]!==t?(r=w.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let o;e[5]!==t?(o=()=>C(t),e[5]=t,e[6]=o):o=e[6];const n=a.staleTime??3e4;let i;return e[7]!==a||e[8]!==r||e[9]!==o||e[10]!==n?(i={...a,queryKey:r,queryFn:o,staleTime:n,retry:!1},e[7]=a,e[8]=r,e[9]=o,e[10]=n,e[11]=i):i=e[11],A(i)}var x="Tabs",[z]=q(x,[h]),P=h(),[B,T]=z(x),N=f.forwardRef((s,e)=>{const{__scopeTabs:t,value:a,onValueChange:r,defaultValue:o,orientation:n="horizontal",dir:i,activationMode:l="automatic",...v}=s,u=D(i),[c,p]=K({prop:a,onChange:r,defaultProp:o??"",caller:x});return d.jsx(B,{scope:t,baseId:G(),value:c,onValueChange:p,orientation:n,dir:u,activationMode:l,children:d.jsx(m.div,{dir:u,"data-orientation":n,...v,ref:e})})});N.displayName=x;var j="TabsList",E=f.forwardRef((s,e)=>{const{__scopeTabs:t,loop:a=!0,...r}=s,o=T(j,t),n=P(t);return d.jsx(O,{asChild:!0,...n,orientation:o.orientation,dir:o.dir,loop:a,children:d.jsx(m.div,{role:"tablist","aria-orientation":o.orientation,...r,ref:e})})});E.displayName=j;var I="TabsTrigger",_=f.forwardRef((s,e)=>{const{__scopeTabs:t,value:a,disabled:r=!1,...o}=s,n=T(I,t),i=P(t),l=M(n.baseId,a),v=$(n.baseId,a),u=a===n.value;return d.jsx(L,{asChild:!0,...i,focusable:!r,active:u,children:d.jsx(m.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":v,"data-state":u?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...o,ref:e,onMouseDown:y(s.onMouseDown,c=>{!r&&c.button===0&&c.ctrlKey===!1?n.onValueChange(a):c.preventDefault()}),onKeyDown:y(s.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&n.onValueChange(a)}),onFocus:y(s.onFocus,()=>{const c=n.activationMode!=="manual";!u&&!r&&c&&n.onValueChange(a)})})})});_.displayName=I;var R="TabsContent",S=f.forwardRef((s,e)=>{const{__scopeTabs:t,value:a,forceMount:r,children:o,...n}=s,i=T(R,t),l=M(i.baseId,a),v=$(i.baseId,a),u=a===i.value,c=f.useRef(u);return f.useEffect(()=>{const p=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(p)},[]),d.jsx(Q,{present:r||u,children:({present:p})=>d.jsx(m.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:v,tabIndex:0,...n,ref:e,style:{...s.style,animationDuration:c.current?"0s":void 0},children:p&&o})})});S.displayName=R;function M(s,e){return`${s}-trigger-${e}`}function $(s,e){return`${s}-content-${e}`}var H=N,U=E,W=_,Y=S;function ae(s){const e=b.c(10);let t,a,r;e[0]!==s?({className:t,variant:r,...a}=s,e[0]=s,e[1]=t,e[2]=a,e[3]=r):(t=e[1],a=e[2],r=e[3]);const o=r===void 0?"pill":r;let n;e[4]!==t?(n=g("flex flex-col gap-2",t),e[4]=t,e[5]=n):n=e[5];let i;return e[6]!==a||e[7]!==n||e[8]!==o?(i=d.jsx(H,{"data-slot":"tabs","data-variant":o,className:n,...a}),e[6]=a,e[7]=n,e[8]=o,e[9]=i):i=e[9],i}function re(s){const e=b.c(11);let t,a,r;e[0]!==s?({className:t,variant:r,...a}=s,e[0]=s,e[1]=t,e[2]=a,e[3]=r):(t=e[1],a=e[2],r=e[3]);const o=r||"pill",n=o==="underline"?"flex h-[52px] items-center border-b border-border":o==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let i;e[4]!==t||e[5]!==n?(i=g(n,t),e[4]=t,e[5]=n,e[6]=i):i=e[6];let l;return e[7]!==o||e[8]!==a||e[9]!==i?(l=d.jsx(U,{"data-slot":"tabs-list","data-variant":o,className:i,...a}),e[7]=o,e[8]=a,e[9]=i,e[10]=l):l=e[10],l}function se(s){const e=b.c(11);let t,a,r;e[0]!==s?({className:t,variant:r,...a}=s,e[0]=s,e[1]=t,e[2]=a,e[3]=r):(t=e[1],a=e[2],r=e[3]);const o=r||"pill",n=o==="underline"?"flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-primary disabled:pointer-events-none disabled:opacity-50":o==="canvas"?"flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[2px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let i;e[4]!==t||e[5]!==n?(i=g(n,t),e[4]=t,e[5]=n,e[6]=i):i=e[6];let l;return e[7]!==o||e[8]!==a||e[9]!==i?(l=d.jsx(W,{"data-slot":"tabs-trigger","data-variant":o,className:i,...a}),e[7]=o,e[8]=a,e[9]=i,e[10]=l):l=e[10],l}function oe(s){const e=b.c(8);let t,a;e[0]!==s?({className:t,...a}=s,e[0]=s,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let r;e[3]!==t?(r=g("flex-1 outline-none h-full",t),e[3]=t,e[4]=r):r=e[4];let o;return e[5]!==a||e[6]!==r?(o=d.jsx(Y,{"data-slot":"tabs-content",className:r,...a}),e[5]=a,e[6]=r,e[7]=o):o=e[7],o}export{ae as T,oe as a,se as b,re as c,te as d,Z as g,C as l,ee as u};