decocms 4.255.2 → 4.255.4

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 (249) hide show
  1. package/dist/client/assets/{AlertCircle-BckADFTN.js → AlertCircle-rzbi7fmi.js} +1 -1
  2. package/dist/client/assets/{AreaChart-D3FkaC6Z.js → AreaChart-CuKqt6_P.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-CA4nZ19l.js → ArrowLeft-D-nEST6C.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-8tGgkrEO.js → ArrowUp-BfWB8MD1.js} +1 -1
  5. package/dist/client/assets/{Check-D4XLgaN4.js → Check-DPWJue1l.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-Dh96WJYX.js → CheckCircle-CzbHy_NQ.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-Dm6QJQj5.js → ChevronDown-Bchtg7Ey.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-Bbyr31or.js → ChevronRight-ywp7R8fi.js} +1 -1
  9. package/dist/client/assets/{ChevronSelectorVertical-BUgf0an-.js → ChevronSelectorVertical-fzOl_PXo.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-C7jPKNLf.js → ChevronUp-CJaWrIn8.js} +1 -1
  11. package/dist/client/assets/{Copy01-BqCuDnjV.js → Copy01-C1V4JSjm.js} +1 -1
  12. package/dist/client/assets/{CreditCard01-CALthygT.js → CreditCard01-BgWLt525.js} +1 -1
  13. package/dist/client/assets/{DotsVertical-CYMbIa1_.js → DotsVertical-CtCazyXg.js} +1 -1
  14. package/dist/client/assets/{Download01-C6mH6Z8f.js → Download01-B8eccotb.js} +1 -1
  15. package/dist/client/assets/{Eye-jMpQ7fBE.js → Eye-CVdFbQPq.js} +1 -1
  16. package/dist/client/assets/{FilterLines-4Qetm1ho.js → FilterLines-CHSA0Ovv.js} +1 -1
  17. package/dist/client/assets/{Globe01-CkxIxFjV.js → Globe01-C4uOnzpB.js} +1 -1
  18. package/dist/client/assets/{Globe04-CWbZ_xf0.js → Globe04-4ZySY2dL.js} +1 -1
  19. package/dist/client/assets/{HardDrive-DqrbzOlI.js → HardDrive-BpDqLmKr.js} +1 -1
  20. package/dist/client/assets/{Key01-CzBg_w_E.js → Key01-CIlMRmOa.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-BYv4_-zq.js → LinkExternal01-BnF74p76.js} +1 -1
  22. package/dist/client/assets/{LockUnlocked01-BssaZtDy.js → LockUnlocked01-CFo18Geo.js} +1 -1
  23. package/dist/client/assets/{LogOut01-CE6p7Q73.js → LogOut01-mY61xNf_.js} +1 -1
  24. package/dist/client/assets/{Monitor01-DUnpXEZF.js → Monitor01-DRcJh9rJ.js} +1 -1
  25. package/dist/client/assets/{Palette-zSvxc111.js → Palette-Dyv90Vji.js} +1 -1
  26. package/dist/client/assets/{Play-C9tlPC3I.js → Play-DHTGlq1Y.js} +1 -1
  27. package/dist/client/assets/{Plus-BBdbmkEC.js → Plus-BBG-uYzF.js} +1 -1
  28. package/dist/client/assets/{SearchLg-Bg0bWoci.js → SearchLg-3Irji4Em.js} +1 -1
  29. package/dist/client/assets/{SearchMd-B5LTpCxn.js → SearchMd-BiEg7og4.js} +1 -1
  30. package/dist/client/assets/{Settings02-DQ6Qx_Qo.js → Settings02-DdRb7E0Q.js} +1 -1
  31. package/dist/client/assets/{Share07-Di11XO-1.js → Share07-Cx9rW-3h.js} +1 -1
  32. package/dist/client/assets/{Shield01-FnU_LRxr.js → Shield01-Dj1i5rRJ.js} +1 -1
  33. package/dist/client/assets/{Stars01-C8fjQPly.js → Stars01-DsEuNQa4.js} +1 -1
  34. package/dist/client/assets/{Stars02-BC82QMl0.js → Stars02-CQidlt1A.js} +1 -1
  35. package/dist/client/assets/{Sun-CL5Lwimd.js → Sun-CedAoEhV.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-DJAL0oew.js → SwitchHorizontal01-BBS3aq1G.js} +1 -1
  37. package/dist/client/assets/{Tool01-kIIhzZhw.js → Tool01-DYiLYfEf.js} +1 -1
  38. package/dist/client/assets/{Tool02-xsTmH7TW.js → Tool02-53gDBxa-.js} +1 -1
  39. package/dist/client/assets/{Trash01-CISu7ukT.js → Trash01-hrM9uQgS.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-D54j7eRb.js → TrendUp01-CHalSWAC.js} +1 -1
  41. package/dist/client/assets/{Upload01-BBFWsedg.js → Upload01-DgdhEYC-.js} +1 -1
  42. package/dist/client/assets/{User01-Da-P04pG.js → User01-9rQwsqCE.js} +1 -1
  43. package/dist/client/assets/{UserSquare-DgUtDej9.js → UserSquare-BK8-agqd.js} +1 -1
  44. package/dist/client/assets/{Users01-CXfWV5oU.js → Users01-CBrs1-WF.js} +1 -1
  45. package/dist/client/assets/{Users03-BH_DGEIm.js → Users03-Ckv8dpNK.js} +1 -1
  46. package/dist/client/assets/{XCircle-qOGRhnhp.js → XCircle-VjO5lI8H.js} +1 -1
  47. package/dist/client/assets/{XClose-DL2O4uTC.js → XClose-BivECxO7.js} +1 -1
  48. package/dist/client/assets/{YAxis-DyE5fkIu.js → YAxis-BUFR5b9Q.js} +1 -1
  49. package/dist/client/assets/{Zap-DYtDBHNd.js → Zap-Cnsys2Wq.js} +1 -1
  50. package/dist/client/assets/{ZapSquare-CGgQRKSq.js → ZapSquare-CSYRxph5.js} +1 -1
  51. package/dist/client/assets/{access-gate-bxw6GJBM.js → access-gate-C37vr7HM.js} +1 -1
  52. package/dist/client/assets/{agent-icon-RO_lY7mQ.js → agent-icon-BUsh3oGt.js} +1 -1
  53. package/dist/client/assets/agents-list-BSXmKvPI.js +1 -0
  54. package/dist/client/assets/{ai-providers-_bAZfhEo.js → ai-providers-ByCNS5tk.js} +2 -2
  55. package/dist/client/assets/{alert-DS_4c1g8.js → alert-BqDinRfy.js} +1 -1
  56. package/dist/client/assets/{alert-dialog-B3eneGBp.js → alert-dialog-hhGN1kzx.js} +1 -1
  57. package/dist/client/assets/{api-keys-Cn1MTRia.js → api-keys-DHBiaV_r.js} +1 -1
  58. package/dist/client/assets/app-editor-C0hCGxtl.js +1 -0
  59. package/dist/client/assets/{auth-DeQHSbj0.js → auth-BbVa1hsz.js} +1 -1
  60. package/dist/client/assets/{auth-catchall-BWmr3lOz.js → auth-catchall-CFKvepKy.js} +1 -1
  61. package/dist/client/assets/{auth-entry-B3nspDeT.js → auth-entry-BXkmPqvH.js} +1 -1
  62. package/dist/client/assets/{auth-split-layout-DH603Yyd.js → auth-split-layout-CQECvTjT.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-DaDpqCGj.js → authenticate-and-persist-oauth-BW7lPmR8.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-GJXCE3Ep.js → automation-list-row-6SRFf-_b.js} +1 -1
  65. package/dist/client/assets/{automation-runs-CggJDo1C.js → automation-runs-BQ0Iu53B.js} +1 -1
  66. package/dist/client/assets/automations-DXRcT17e.js +1 -0
  67. package/dist/client/assets/{avatar-t8xMECgD.js → avatar-CffKfcxD.js} +1 -1
  68. package/dist/client/assets/{badge-3w-z2q_R.js → badge-DdvBiEJO.js} +1 -1
  69. package/dist/client/assets/{block-document-DBAOy7rM.js → block-document-Dp95KQeN.js} +1 -1
  70. package/dist/client/assets/{buckets-C6KeDFl_.js → buckets-C-YB4kjm.js} +1 -1
  71. package/dist/client/assets/bulk-category-panel-xdEU6TlG.js +1 -0
  72. package/dist/client/assets/{capability-load-error-CrnDuhrP.js → capability-load-error-DifEo2uP.js} +1 -1
  73. package/dist/client/assets/{cards-B116B10c.js → cards-BImfAb5p.js} +1 -1
  74. package/dist/client/assets/category-editor-BTtM_Oym.js +1 -0
  75. package/dist/client/assets/{chart-B-JWflUf.js → chart-CQDerfwb.js} +1 -1
  76. package/dist/client/assets/chat-context-BSlnS4lO.js +35 -0
  77. package/dist/client/assets/{checkbox-CTK-987j.js → checkbox-DvnU-G5n.js} +1 -1
  78. package/dist/client/assets/{choose-editor-BiIbar5e.js → choose-editor-DDZWpEEU.js} +1 -1
  79. package/dist/client/assets/{cli-auth-success-CWZIlaAu.js → cli-auth-success-BKkBveK7.js} +1 -1
  80. package/dist/client/assets/collection-detail-i2uJ3G4p.js +1 -0
  81. package/dist/client/assets/{collection-display-button-RvJk_3kM.js → collection-display-button-DUWiE5Mh.js} +1 -1
  82. package/dist/client/assets/{collection-search-TDcC3qnQ.js → collection-search-D5bU0Mny.js} +1 -1
  83. package/dist/client/assets/{collection-table-wrapper-AH8YyxhL.js → collection-table-wrapper-6LuinD6M.js} +1 -1
  84. package/dist/client/assets/{collection-tabs-mTx4dyj7.js → collection-tabs-DSNouQYO.js} +1 -1
  85. package/dist/client/assets/{command-BmhGhCGW.js → command-DO658f9K.js} +1 -1
  86. package/dist/client/assets/{commerce-onboarding-DDSFZSw4.js → commerce-onboarding-DTgTL1Sa.js} +1 -1
  87. package/dist/client/assets/{connect-BRqyUKct.js → connect-Bo1Gdnm2.js} +1 -1
  88. package/dist/client/assets/{connection-DPcqqUpI.js → connection-BMZxDUto.js} +1 -1
  89. package/dist/client/assets/{connection-card-Dg2tFKYT.js → connection-card-BxOv_0Pb.js} +1 -1
  90. package/dist/client/assets/connection-detail-Ceqi_UkX.js +1 -0
  91. package/dist/client/assets/{connection-form-helpers-BiSqyE70.js → connection-form-helpers-DwrLlCes.js} +1 -1
  92. package/dist/client/assets/{connections-BRZcZzvE.js → connections-sw9Pef3f.js} +1 -1
  93. package/dist/client/assets/{decopilot-sse-pool-Cn3-H_-J.js → decopilot-sse-pool-CnQZuU8U.js} +1 -1
  94. package/dist/client/assets/{dialog-CaTBZV_d.js → dialog-CRgUvUGD.js} +1 -1
  95. package/dist/client/assets/{domain-settings-DSiUt4s6.js → domain-settings-BHqc8jTd.js} +1 -1
  96. package/dist/client/assets/{drawer-CMaDObPV.js → drawer-B5fFyIgX.js} +1 -1
  97. package/dist/client/assets/{dropdown-menu-BRNNpXcy.js → dropdown-menu-C0p1X71u.js} +1 -1
  98. package/dist/client/assets/{empty-state-Dx5RvteD.js → empty-state-nAEi4fmW.js} +1 -1
  99. package/dist/client/assets/{extract-connection-data-DDL06q4h.js → extract-connection-data-D3s8EYsm.js} +1 -1
  100. package/dist/client/assets/file-explorer-C3wPz2g1.js +2 -0
  101. package/dist/client/assets/{file-type-icon-C2ALTS96.js → file-type-icon-BxCMRXC7.js} +1 -1
  102. package/dist/client/assets/{form-C1Z3Pgy9.js → form-CkF9Gll6.js} +1 -1
  103. package/dist/client/assets/{general-wKChpaKt.js → general-Bvd3m1q-.js} +1 -1
  104. package/dist/client/assets/{github-repo-picker-CghdTD4a.js → github-repo-picker-uCh44L_P.js} +1 -1
  105. package/dist/client/assets/{hooks-BjFStmIb.js → hooks-BMvgJI-g.js} +10 -10
  106. package/dist/client/assets/index-BxFod4ty.js +1 -0
  107. package/dist/client/assets/{index-k4eNrclM.js → index-C7yUTQLC.js} +1 -1
  108. package/dist/client/assets/{index-DXHENisy.js → index-CRX5z-Jb.js} +1 -1
  109. package/dist/client/assets/{index-Bv7SAPra.js → index-CWPBMaeR.js} +2 -2
  110. package/dist/client/assets/{index-xiyjF2ia.js → index-CxD2n68d.js} +1 -1
  111. package/dist/client/assets/index-CxZcM7iI.js +743 -0
  112. package/dist/client/assets/{index-C-3fd8Ck.js → index-D5JaHC8m.js} +1 -1
  113. package/dist/client/assets/{index-DnfUq0Re.js → index-DGbNQLI2.js} +1 -1
  114. package/dist/client/assets/index-dzFuJh3g.js +1 -0
  115. package/dist/client/assets/{index-DLiSt-zY.js → index-eMuSvnay.js} +5 -5
  116. package/dist/client/assets/{index-redirect-Q-uzQ1ZR.js → index-redirect-CSQT7dVz.js} +1 -1
  117. package/dist/client/assets/{infra-billing-C8apIzey.js → infra-billing-D1_-S4Iu.js} +1 -1
  118. package/dist/client/assets/{input-CY_6SiUS.js → input-CzXHUUzJ.js} +1 -1
  119. package/dist/client/assets/{integration-icon-CGhJSgDA.js → integration-icon-UAHcQu3Y.js} +1 -1
  120. package/dist/client/assets/{invite-member-dialog-B2p8Tm3P.js → invite-member-dialog-a03LtCNI.js} +1 -1
  121. package/dist/client/assets/{label-CIfNh86q.js → label-C-f36Ery.js} +1 -1
  122. package/dist/client/assets/{layout-BCjUdMcW.js → layout-ExdNCowx.js} +1 -1
  123. package/dist/client/assets/{login-Dy6oLdg_.js → login-BoUiAbPR.js} +1 -1
  124. package/dist/client/assets/{mcp-oauth-DImoLDws.js → mcp-oauth-EpOxhfnN.js} +1 -1
  125. package/dist/client/assets/{members-BeZb8rdR.js → members-DRacrCiw.js} +1 -1
  126. package/dist/client/assets/{monaco-editor-ZUjofCql.js → monaco-editor-DXWGpYdI.js} +1 -1
  127. package/dist/client/assets/{monitoring-stats-row-CwawUUDQ.js → monitoring-stats-row-CStChSPF.js} +1 -1
  128. package/dist/client/assets/{multi-select-BasuLjyg.js → multi-select-V9DJTmBZ.js} +1 -1
  129. package/dist/client/assets/{oauth-callback-CkV2aSCc.js → oauth-callback-CvsRTDAl.js} +1 -1
  130. package/dist/client/assets/{oauth-callback-ai-provider-DQzrQ2ZW.js → oauth-callback-ai-provider-BTZRnTS3.js} +1 -1
  131. package/dist/client/assets/{onboarding-ZjEXHRqc.js → onboarding-og3I_xVV.js} +1 -1
  132. package/dist/client/assets/{org-layout-BFuYj0lq.js → org-layout-QWnp58dZ.js} +1 -1
  133. package/dist/client/assets/{organization-choice-CNLElHVj.js → organization-choice-DurkooFh.js} +1 -1
  134. package/dist/client/assets/{orgs-DY4SjhQN.js → orgs-jsXpwgtJ.js} +1 -1
  135. package/dist/client/assets/{page-seo-form-DwRi_S8N.js → page-seo-form-CKaXssEk.js} +1 -1
  136. package/dist/client/assets/{popover-lX6wGPom.js → popover-OOnmalBV.js} +1 -1
  137. package/dist/client/assets/post-editor-CFCYmhEe.js +1 -0
  138. package/dist/client/assets/{primitives-BAE6y0ZV.js → primitives-BhZ-HVLG.js} +1 -1
  139. package/dist/client/assets/{profile-CMoih80z.js → profile-BRSzqaGC.js} +1 -1
  140. package/dist/client/assets/project-app-view-C5juFf3y.js +1 -0
  141. package/dist/client/assets/record-editor-BGJ3Uxr9.js +1 -0
  142. package/dist/client/assets/redirect-editor-BgmzxDxm.js +1 -0
  143. package/dist/client/assets/registry-Us39sPL5.js +2 -0
  144. package/dist/client/assets/{registry-layout-7bL7SAGE.js → registry-layout-CaPQ8D3m.js} +1 -1
  145. package/dist/client/assets/{reports-BkJ5gkYi.js → reports-CZRAYZND.js} +1 -1
  146. package/dist/client/assets/{require-capability-CLTXzK08.js → require-capability-CDs1Pl6o.js} +1 -1
  147. package/dist/client/assets/{required-auth-layout-v7tDA1sl.js → required-auth-layout-D7eBvpct.js} +1 -1
  148. package/dist/client/assets/{reset-password-BKBz_Aon.js → reset-password-DDPC0WP5.js} +1 -1
  149. package/dist/client/assets/reusable-new-chat-CzvRy4Pe.js +1 -0
  150. package/dist/client/assets/{roles-qVXSbIQj.js → roles-qcaRRwf8.js} +1 -1
  151. package/dist/client/assets/{search-input-4YJ4nTbO.js → search-input-Dv3_1Uvp.js} +1 -1
  152. package/dist/client/assets/{secrets-D-r8Fhcp.js → secrets-DcwYYhlg.js} +1 -1
  153. package/dist/client/assets/sections-editor-DNihJe6v.js +2 -0
  154. package/dist/client/assets/{select-BwLC9-0c.js → select-Cf3o4e13.js} +1 -1
  155. package/dist/client/assets/{select-model-DpD5UXaD.js → select-model-B7Rf8Feb.js} +1 -1
  156. package/dist/client/assets/{self-tool-result-BeRzbQuP.js → self-tool-result-BawREriG.js} +1 -1
  157. package/dist/client/assets/seo-editor-D_IRi8v_.js +1 -0
  158. package/dist/client/assets/session-runtime-wVXsCwcJ.js +1 -0
  159. package/dist/client/assets/{settings-layout-DTqIuCHt.js → settings-layout-BgcGIDRi.js} +1 -1
  160. package/dist/client/assets/{shell-controls-vM7eX0ni.js → shell-controls-BkJPCi4L.js} +1 -1
  161. package/dist/client/assets/{shell-layout-DEMtIHgw.js → shell-layout-DPDTGLA3.js} +1 -1
  162. package/dist/client/assets/{spinner-Dpvz3p80.js → spinner-CeAynGXW.js} +1 -1
  163. package/dist/client/assets/{sso-BxyVr7dm.js → sso-BlKU6Kgb.js} +1 -1
  164. package/dist/client/assets/{store-CEc4rXka.js → store-BYS_aOKm.js} +1 -1
  165. package/dist/client/assets/store-registry-BPg2BhqF.js +2 -0
  166. package/dist/client/assets/{switch-DBiih54-.js → switch-EyKGbAqJ.js} +1 -1
  167. package/dist/client/assets/synced-repos-BUf8qMc_.js +1 -0
  168. package/dist/client/assets/{tab-id-DrwxksV4.js → tab-id-BupMUSAp.js} +1 -1
  169. package/dist/client/assets/{table-BM3FdIaA.js → table-ByGDNySe.js} +1 -1
  170. package/dist/client/assets/{tabs-C49oMc7W.js → tabs-YXze6Pex.js} +1 -1
  171. package/dist/client/assets/{task-key-2XocQivt.js → task-key-D6-3eaXs.js} +1 -1
  172. package/dist/client/assets/{tasks-DIZudm73.js → tasks-CjQzsFHS.js} +1 -1
  173. package/dist/client/assets/{textarea-BYMb5MM5.js → textarea-BUU8Uzj2.js} +1 -1
  174. package/dist/client/assets/{toggle-group-DmafBxKV.js → toggle-group-5udoaIQ7.js} +1 -1
  175. package/dist/client/assets/{toolbar-BOPj8b0I.js → toolbar-jStDQiC9.js} +1 -1
  176. package/dist/client/assets/{track-Fq5TqDMp.js → track-x1Ue_gqj.js} +1 -1
  177. package/dist/client/assets/{types-7z_oxg9w.js → types-CWfqP-B-.js} +1 -1
  178. package/dist/client/assets/{use-ai-providers-Ck06PFGE.js → use-ai-providers-BJFNFBW8.js} +1 -1
  179. package/dist/client/assets/{use-api-keys-yafBkhyf.js → use-api-keys-zvnJANCI.js} +1 -1
  180. package/dist/client/assets/{use-automations-BrFXzBSZ.js → use-automations-CJu_L57g.js} +1 -1
  181. package/dist/client/assets/{use-autosave-DzyEelZn.js → use-autosave-xiJNpL3o.js} +1 -1
  182. package/dist/client/assets/{use-clock-tick-anNRVc0o.js → use-clock-tick-BY6Y0vZc.js} +1 -1
  183. package/dist/client/assets/use-commerce-diagnostic-DogDSREs.js +1 -0
  184. package/dist/client/assets/{use-connection-r6ziU6lR.js → use-connection-CrWZq_Ri.js} +1 -1
  185. package/dist/client/assets/{use-copy-BeCWcJQD.js → use-copy-X4stx05l.js} +1 -1
  186. package/dist/client/assets/{use-create-virtual-mcp-CRJnDKdI.js → use-create-virtual-mcp-DnKX51Fm.js} +1 -1
  187. package/dist/client/assets/{use-debounced-autosave-B4C2TeP_.js → use-debounced-autosave-C2GBWe-g.js} +1 -1
  188. package/dist/client/assets/{use-debounced-value-cAUV3o-a.js → use-debounced-value-pQUbNH4F.js} +1 -1
  189. package/dist/client/assets/{use-decopilot-events-DZOEgHZF.js → use-decopilot-events-DS-28zR1.js} +1 -1
  190. package/dist/client/assets/{use-delete-connection-Dkclv4mQ.js → use-delete-connection-B9dJVi18.js} +1 -1
  191. package/dist/client/assets/{use-deployment-admin-BNiRhHXk.js → use-deployment-admin-CzS4BgDQ.js} +1 -1
  192. package/dist/client/assets/{use-file-configs-DGfh8vOd.js → use-file-configs-bqn0DQl-.js} +1 -1
  193. package/dist/client/assets/{use-infinite-scroll-DsDG7oFh.js → use-infinite-scroll-DING_ypo.js} +1 -1
  194. package/dist/client/assets/use-join-requests-COAIroPq.js +1 -0
  195. package/dist/client/assets/{use-mcp-client-BsB3UQx0.js → use-mcp-client-DMgRONuR.js} +1 -1
  196. package/dist/client/assets/{use-mcp-tools-D7WtkO_a.js → use-mcp-tools-CrszPH3e.js} +1 -1
  197. package/dist/client/assets/{use-members-DZPpmeBy.js → use-members-D74i7CK7.js} +1 -1
  198. package/dist/client/assets/use-navigate-to-agent-D-PAXyxX.js +1 -0
  199. package/dist/client/assets/{use-org-auth-client-CR2NXIGs.js → use-org-auth-client-DGlgRRC_.js} +1 -1
  200. package/dist/client/assets/{use-org-repo-syncs-B1gYKpB8.js → use-org-repo-syncs-L_Q9jn6Z.js} +1 -1
  201. package/dist/client/assets/{use-org-sso-BhfC5bai.js → use-org-sso-DIKj2vIX.js} +1 -1
  202. package/dist/client/assets/{use-organization-roles-g149SJyR.js → use-organization-roles-CW54FQjL.js} +1 -1
  203. package/dist/client/assets/{use-organization-settings-WfyIMnA9.js → use-organization-settings-KBGKqIJR.js} +1 -1
  204. package/dist/client/assets/{use-registry-connections-WDHdHLId.js → use-registry-connections-B0WaaMcP.js} +1 -1
  205. package/dist/client/assets/{use-secrets-MMdltV8V.js → use-secrets-Cv3PcVUL.js} +1 -1
  206. package/dist/client/assets/use-section-preview-base-BItk4_Sy.js +1 -0
  207. package/dist/client/assets/{use-status-sounds-IuSNJ3uy.js → use-status-sounds-CTsRBUIT.js} +1 -1
  208. package/dist/client/assets/{use-tags-DN3Y1Fjc.js → use-tags-DB9UyYAF.js} +1 -1
  209. package/dist/client/assets/{use-view-mode-Cecw-Bk2.js → use-view-mode-jGpQ2LaX.js} +1 -1
  210. package/dist/client/assets/{use-virtual-mcp-DkibxhFn.js → use-virtual-mcp-M6mi7VuQ.js} +1 -1
  211. package/dist/client/assets/useInfiniteQuery-BUqQM02C.js +1 -0
  212. package/dist/client/assets/useSuspenseInfiniteQuery-DtiiRZ-l.js +1 -0
  213. package/dist/client/assets/{users-3pVvJjVm.js → users-Csrapr9p.js} +1 -1
  214. package/dist/client/assets/variant-calendar-BEGxTpND.js +1 -0
  215. package/dist/client/assets/{view-mode-toggle-3Ft6ZtrM.js → view-mode-toggle-CemYbpmR.js} +1 -1
  216. package/dist/client/index.html +1 -1
  217. package/dist/server/cli.js +520 -519
  218. package/dist/server/server.js +366 -365
  219. package/package.json +1 -1
  220. package/dist/client/assets/agents-list-DEVfy7bO.js +0 -1
  221. package/dist/client/assets/app-editor-CwurZ13A.js +0 -1
  222. package/dist/client/assets/automations-BU9EygDS.js +0 -1
  223. package/dist/client/assets/bulk-category-panel-q0gXcv7r.js +0 -1
  224. package/dist/client/assets/category-editor-J3ebsbj7.js +0 -1
  225. package/dist/client/assets/chat-context-DzbskOkq.js +0 -35
  226. package/dist/client/assets/collection-detail-DosMB9QP.js +0 -1
  227. package/dist/client/assets/connection-detail-BecsUn3M.js +0 -1
  228. package/dist/client/assets/deco-site-production-url-BjY4ZYd-.js +0 -1
  229. package/dist/client/assets/file-explorer-JPclp_ri.js +0 -2
  230. package/dist/client/assets/index-C5dcfsKv.js +0 -1
  231. package/dist/client/assets/index-CErG4sP_.js +0 -743
  232. package/dist/client/assets/index-_2waRVYp.js +0 -1
  233. package/dist/client/assets/post-editor-CHtqUuEA.js +0 -1
  234. package/dist/client/assets/project-app-view-DZkY6r-W.js +0 -1
  235. package/dist/client/assets/record-editor-BHVAEIpq.js +0 -1
  236. package/dist/client/assets/redirect-editor-DfoPFWBF.js +0 -1
  237. package/dist/client/assets/registry-C7_sqj0C.js +0 -2
  238. package/dist/client/assets/reusable-new-chat-CouMjkYR.js +0 -1
  239. package/dist/client/assets/sections-editor-DCdYW5bN.js +0 -2
  240. package/dist/client/assets/seo-editor-BPRdm9p8.js +0 -1
  241. package/dist/client/assets/store-registry-DVE1XJgw.js +0 -2
  242. package/dist/client/assets/synced-repos-DL_Fe1n5.js +0 -1
  243. package/dist/client/assets/use-commerce-diagnostic-spCFF13q.js +0 -1
  244. package/dist/client/assets/use-join-requests-B_O58DBS.js +0 -1
  245. package/dist/client/assets/use-navigate-to-agent-D_YtZ8Nf.js +0 -1
  246. package/dist/client/assets/use-section-preview-base-WS8WDR0j.js +0 -1
  247. package/dist/client/assets/useInfiniteQuery-Tdf3vSzC.js +0 -1
  248. package/dist/client/assets/useSuspenseInfiniteQuery-Dgd9ebpu.js +0 -1
  249. package/dist/client/assets/variant-calendar-Na_TE_QI.js +0 -1
@@ -1 +1 @@
1
- import{c as f,n as h,j as a}from"./index-DLiSt-zY.js";import{j as y}from"./agent-icon-RO_lY7mQ.js";import{s as v}from"./Plus-BBdbmkEC.js";import{s as j}from"./Trash01-CISu7ukT.js";function N(o){const e=f.c(14),{value:t,onChange:r,placeholder:s,className:n,onFocus:i,onBlur:l,onKeyDown:c,spellCheck:b,inputRef:p}=o,x=b===void 0?!0:b;let u;e[0]!==r?(u=g=>r(g.target.value),e[0]=r,e[1]=u):u=e[1];let d;e[2]!==n?(d=h("w-full resize-none border-0 bg-transparent p-0 outline-none [field-sizing:content] placeholder:text-muted-foreground/50 focus:ring-0",n),e[2]=n,e[3]=d):d=e[3];let m;return e[4]!==p||e[5]!==l||e[6]!==i||e[7]!==c||e[8]!==s||e[9]!==x||e[10]!==u||e[11]!==d||e[12]!==t?(m=a.jsx("textarea",{ref:p,value:t,onChange:u,onInput:w,onFocus:i,onBlur:l,onKeyDown:c,placeholder:s,spellCheck:x,rows:1,className:d}),e[4]=p,e[5]=l,e[6]=i,e[7]=c,e[8]=s,e[9]=x,e[10]=u,e[11]=d,e[12]=t,e[13]=m):m=e[13],m}function w(o){const e=o.currentTarget;e.style.height="auto",e.style.height=`${e.scrollHeight}px`}function z(o){return typeof o=="string"?o:""}function T(o){const e=f.c(11);let t,r;e[0]!==o?({className:t,...r}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);let s;e[3]!==t?(s=h(t,"pr-9"),e[3]=t,e[4]=s):s=e[4];let n;e[5]!==r||e[6]!==s?(n=a.jsx(N,{...r,className:s}),e[5]=r,e[6]=s,e[7]=n):n=e[7];let i;e[8]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(y,{size:18,"aria-hidden":!0,className:"pointer-events-none absolute right-2 top-3 text-muted-foreground/40 transition-opacity group-hover/editable:text-muted-foreground group-focus-within/editable:text-muted-foreground"}),e[8]=i):i=e[8];let l;return e[9]!==n?(l=a.jsxs("div",{className:"group/editable relative -mx-2 rounded-md px-2 transition-colors hover:bg-muted/50 focus-within:bg-muted/50",children:[n,i]}),e[9]=n,e[10]=l):l=e[10],l}function R(o){const e=f.c(5),{label:t,onClick:r,disabled:s}=o;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(v,{size:13}),e[0]=n):n=e[0];let i;return e[1]!==s||e[2]!==t||e[3]!==r?(i=a.jsxs("button",{type:"button",onClick:r,disabled:s,className:"flex items-center gap-1.5 rounded-md border border-dashed px-2.5 py-1.5 text-xs text-muted-foreground transition-colors hover:border-foreground/30 hover:text-foreground disabled:opacity-40 disabled:hover:border-dashed disabled:hover:text-muted-foreground cursor-pointer",children:[n,t]}),e[1]=s,e[2]=t,e[3]=r,e[4]=i):i=e[4],i}function B(o){const e=f.c(4),{label:t,onClick:r}=o;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(j,{size:13}),e[0]=s):s=e[0];let n;return e[1]!==t||e[2]!==r?(n=a.jsx("button",{type:"button","aria-label":t,onClick:r,className:"flex h-6 w-6 shrink-0 items-center justify-center rounded text-muted-foreground/60 opacity-0 transition-opacity hover:text-destructive group-hover/item:opacity-100 cursor-pointer",children:s}),e[1]=t,e[2]=r,e[3]=n):n=e[3],n}function E(o){const e=f.c(2),{children:t}=o;let r;return e[0]!==t?(r=a.jsx("div",{className:"absolute -top-9 left-0 z-10 flex items-center gap-0.5 rounded-md border bg-popover p-0.5 shadow-md",children:t}),e[0]=t,e[1]=r):r=e[1],r}function S(o){const e=f.c(8),{active:t,label:r,onClick:s,children:n}=o,i=t?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground";let l;e[0]!==i?(l=h("flex h-7 min-w-7 items-center justify-center rounded px-1.5 text-sm transition-colors cursor-pointer",i),e[0]=i,e[1]=l):l=e[1];let c;return e[2]!==t||e[3]!==n||e[4]!==r||e[5]!==s||e[6]!==l?(c=a.jsx("button",{type:"button","aria-label":r,"aria-pressed":t,onMouseDown:_,onClick:s,className:l,children:n}),e[2]=t,e[3]=n,e[4]=r,e[5]=s,e[6]=l,e[7]=c):c=e[7],c}function _(o){return o.preventDefault()}function D(o){if(Array.isArray(o))return o;if(typeof o!="string"||o.trim()==="")return[];try{const e=JSON.parse(o);return Array.isArray(e)?e:[]}catch{return[]}}export{R as A,T as E,E as F,N as I,B as R,S as T,D as p,z as s};
1
+ import{c as f,n as h,j as a}from"./index-eMuSvnay.js";import{j as y}from"./agent-icon-BUsh3oGt.js";import{s as v}from"./Plus-BBG-uYzF.js";import{s as j}from"./Trash01-hrM9uQgS.js";function N(o){const e=f.c(14),{value:t,onChange:r,placeholder:s,className:n,onFocus:i,onBlur:l,onKeyDown:c,spellCheck:b,inputRef:p}=o,x=b===void 0?!0:b;let u;e[0]!==r?(u=g=>r(g.target.value),e[0]=r,e[1]=u):u=e[1];let d;e[2]!==n?(d=h("w-full resize-none border-0 bg-transparent p-0 outline-none [field-sizing:content] placeholder:text-muted-foreground/50 focus:ring-0",n),e[2]=n,e[3]=d):d=e[3];let m;return e[4]!==p||e[5]!==l||e[6]!==i||e[7]!==c||e[8]!==s||e[9]!==x||e[10]!==u||e[11]!==d||e[12]!==t?(m=a.jsx("textarea",{ref:p,value:t,onChange:u,onInput:w,onFocus:i,onBlur:l,onKeyDown:c,placeholder:s,spellCheck:x,rows:1,className:d}),e[4]=p,e[5]=l,e[6]=i,e[7]=c,e[8]=s,e[9]=x,e[10]=u,e[11]=d,e[12]=t,e[13]=m):m=e[13],m}function w(o){const e=o.currentTarget;e.style.height="auto",e.style.height=`${e.scrollHeight}px`}function z(o){return typeof o=="string"?o:""}function T(o){const e=f.c(11);let t,r;e[0]!==o?({className:t,...r}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);let s;e[3]!==t?(s=h(t,"pr-9"),e[3]=t,e[4]=s):s=e[4];let n;e[5]!==r||e[6]!==s?(n=a.jsx(N,{...r,className:s}),e[5]=r,e[6]=s,e[7]=n):n=e[7];let i;e[8]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(y,{size:18,"aria-hidden":!0,className:"pointer-events-none absolute right-2 top-3 text-muted-foreground/40 transition-opacity group-hover/editable:text-muted-foreground group-focus-within/editable:text-muted-foreground"}),e[8]=i):i=e[8];let l;return e[9]!==n?(l=a.jsxs("div",{className:"group/editable relative -mx-2 rounded-md px-2 transition-colors hover:bg-muted/50 focus-within:bg-muted/50",children:[n,i]}),e[9]=n,e[10]=l):l=e[10],l}function R(o){const e=f.c(5),{label:t,onClick:r,disabled:s}=o;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(v,{size:13}),e[0]=n):n=e[0];let i;return e[1]!==s||e[2]!==t||e[3]!==r?(i=a.jsxs("button",{type:"button",onClick:r,disabled:s,className:"flex items-center gap-1.5 rounded-md border border-dashed px-2.5 py-1.5 text-xs text-muted-foreground transition-colors hover:border-foreground/30 hover:text-foreground disabled:opacity-40 disabled:hover:border-dashed disabled:hover:text-muted-foreground cursor-pointer",children:[n,t]}),e[1]=s,e[2]=t,e[3]=r,e[4]=i):i=e[4],i}function B(o){const e=f.c(4),{label:t,onClick:r}=o;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(j,{size:13}),e[0]=s):s=e[0];let n;return e[1]!==t||e[2]!==r?(n=a.jsx("button",{type:"button","aria-label":t,onClick:r,className:"flex h-6 w-6 shrink-0 items-center justify-center rounded text-muted-foreground/60 opacity-0 transition-opacity hover:text-destructive group-hover/item:opacity-100 cursor-pointer",children:s}),e[1]=t,e[2]=r,e[3]=n):n=e[3],n}function E(o){const e=f.c(2),{children:t}=o;let r;return e[0]!==t?(r=a.jsx("div",{className:"absolute -top-9 left-0 z-10 flex items-center gap-0.5 rounded-md border bg-popover p-0.5 shadow-md",children:t}),e[0]=t,e[1]=r):r=e[1],r}function S(o){const e=f.c(8),{active:t,label:r,onClick:s,children:n}=o,i=t?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground";let l;e[0]!==i?(l=h("flex h-7 min-w-7 items-center justify-center rounded px-1.5 text-sm transition-colors cursor-pointer",i),e[0]=i,e[1]=l):l=e[1];let c;return e[2]!==t||e[3]!==n||e[4]!==r||e[5]!==s||e[6]!==l?(c=a.jsx("button",{type:"button","aria-label":r,"aria-pressed":t,onMouseDown:_,onClick:s,className:l,children:n}),e[2]=t,e[3]=n,e[4]=r,e[5]=s,e[6]=l,e[7]=c):c=e[7],c}function _(o){return o.preventDefault()}function D(o){if(Array.isArray(o))return o;if(typeof o!="string"||o.trim()==="")return[];try{const e=JSON.parse(o);return Array.isArray(e)?e:[]}catch{return[]}}export{R as A,T as E,E as F,N as I,B as R,S as T,D as p,z as s};
@@ -1 +1 @@
1
- import{c as Se,b as Ne,j as s,P as be,d9 as Te,a as Ce,ao as Ee,as as $e,x as Be,q as V,t as Ae,d8 as w,d6 as Le,d7 as ze}from"./index-DLiSt-zY.js";import{A as qe}from"./avatar-t8xMECgD.js";import{S as ke}from"./switch-DBiih54-.js";import{c as Pe,S as De,d as ye,a as Ve}from"./select-BwLC9-0c.js";import{a as _e,T as Ge}from"./toggle-group-DmafBxKV.js";import{I as Re}from"./input-CY_6SiUS.js";import{i as Ue}from"./Monitor01-DUnpXEZF.js";import{n as Fe,a as Oe}from"./Sun-CL5Lwimd.js";import{i as Ke}from"./Play-C9tlPC3I.js";import{u as He}from"./use-debounced-autosave-B4C2TeP_.js";import{p as Je,q as Me}from"./question-004-sINsf4GQ.js";import"./User01-Da-P04pG.js";import"./Check-D4XLgaN4.js";import"./ChevronDown-Dm6QJQj5.js";import"./ChevronUp-C7jPKNLf.js";const we=[{value:"en",label:"English"},{value:"pt-BR",label:"Português (Brasil)"}];function Qe(){const e=Se.c(36),t=Ne(),{data:l,isPending:i}=Ce.useSession(),c=l?.user,r=c?.image,a=c?.name??"";let j;e[0]!==a?(j={values:{name:a}},e[0]=a,e[1]=j):j=e[1];const o=Ee(j);let L;e[2]!==o||e[3]!==t?(L={save:async()=>{const k=o.control._formState.dirtyFields;if(Object.keys(k).length===0)return;const x=o.getValues(),P=o.control._defaultValues;o.reset(x,{keepValues:!0});try{await Ce.updateUser({name:x.name}),V("profile_updated",{fields:["name"]}),Ae.success(t("settings.profile.updateSuccess"))}catch{o.reset(P,{keepValues:!0}),Ae.error(t("settings.profile.updateError"))}}},e[2]=o,e[3]=t,e[4]=L):L=e[4];const{schedule:y,flush:v}=He(L);if(i)return null;let b;e[5]!==t?(b=t("settings.profile.avatar"),e[5]=t,e[6]=b):b=e[6];const N=c?.name??"U";let f;e[7]!==N||e[8]!==r?(f=s.jsx(qe,{url:r,fallback:N,shape:"circle",size:"base"}),e[7]=N,e[8]=r,e[9]=f):f=e[9];let S;e[10]!==b||e[11]!==f?(S=s.jsx(w,{title:b,action:f}),e[10]=b,e[11]=f,e[12]=S):S=e[12];let p;e[13]!==t?(p=t("settings.profile.displayName"),e[13]=t,e[14]=p):p=e[14];let u;e[15]!==v||e[16]!==y||e[17]!==t?(u=k=>{const{field:x}=k;return s.jsx(Re,{id:"display-name",...x,onChange:P=>{x.onChange(P),y()},onBlur:()=>{x.onBlur(),v()},onKeyDown:P=>{P.key==="Enter"&&v()},placeholder:t("settings.profile.displayNamePlaceholder"),className:"w-[280px]"})},e[15]=v,e[16]=y,e[17]=t,e[18]=u):u=e[18];let _;e[19]!==o.control||e[20]!==u?(_=s.jsx($e,{control:o.control,name:"name",render:u}),e[19]=o.control,e[20]=u,e[21]=_):_=e[21];let d;e[22]!==p||e[23]!==_?(d=s.jsx(w,{title:p,action:_}),e[22]=p,e[23]=_,e[24]=d):d=e[24];let m;e[25]!==t?(m=t("settings.profile.email"),e[25]=t,e[26]=m):m=e[26];const C=c?.email;let g;e[27]!==C?(g=s.jsx("span",{className:"text-sm text-muted-foreground",children:C}),e[27]=C,e[28]=g):g=e[28];let h;e[29]!==m||e[30]!==g?(h=s.jsx(w,{title:m,action:g}),e[29]=m,e[30]=g,e[31]=h):h=e[31];let A;return e[32]!==d||e[33]!==h||e[34]!==S?(A=s.jsx(Le,{children:s.jsxs(ze,{children:[S,d,h]})}),e[32]=d,e[33]=h,e[34]=S,e[35]=A):A=e[35],A}function We(){const e=Se.c(159),t=Ne(),[l,i]=Be();let c;e[0]!==i||e[1]!==t?(c=async n=>{if(n&&await Notification.requestPermission()!=="granted"){V("preferences_notifications_permission_denied"),Ae.error(t("settings.preferences.notificationsDenied")),i(tt);return}V("preferences_notifications_toggled",{enabled:n}),i(D=>({...D,enableNotifications:n}))},e[0]=i,e[1]=t,e[2]=c):c=e[2];const r=c;let a;e[3]!==t?(a=t("settings.preferences.title"),e[3]=t,e[4]=a):a=e[4];let j;e[5]!==t?(j=t("settings.preferences.theme"),e[5]=t,e[6]=j):j=e[6];let o;e[7]!==t?(o=t("settings.preferences.themeDescription"),e[7]=t,e[8]=o):o=e[8];const L=l.theme;let y;e[9]!==i?(y=n=>{n&&(V("preferences_theme_changed",{to_value:n}),i(D=>({...D,theme:n})))},e[9]=i,e[10]=y):y=e[10];let v;e[11]!==t?(v=t("settings.preferences.themeLight"),e[11]=t,e[12]=v):v=e[12];let b;e[13]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(Fe,{size:14}),e[13]=b):b=e[13];let N;e[14]!==v?(N=s.jsx(_e,{value:"light","aria-label":v,children:b}),e[14]=v,e[15]=N):N=e[15];let f;e[16]!==t?(f=t("settings.preferences.themeDark"),e[16]=t,e[17]=f):f=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Oe,{size:14}),e[18]=S):S=e[18];let p;e[19]!==f?(p=s.jsx(_e,{value:"dark","aria-label":f,children:S}),e[19]=f,e[20]=p):p=e[20];let u;e[21]!==t?(u=t("settings.preferences.themeSystem"),e[21]=t,e[22]=u):u=e[22];let _;e[23]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(Ue,{size:14}),e[23]=_):_=e[23];let d;e[24]!==u?(d=s.jsx(_e,{value:"system","aria-label":u,children:_}),e[24]=u,e[25]=d):d=e[25];let m;e[26]!==l.theme||e[27]!==p||e[28]!==d||e[29]!==y||e[30]!==N?(m=s.jsxs(Ge,{type:"single",size:"sm",variant:"outline",value:L,onValueChange:y,children:[N,p,d]}),e[26]=l.theme,e[27]=p,e[28]=d,e[29]=y,e[30]=N,e[31]=m):m=e[31];let C;e[32]!==m||e[33]!==j||e[34]!==o?(C=s.jsx(w,{title:j,description:o,action:m}),e[32]=m,e[33]=j,e[34]=o,e[35]=C):C=e[35];let g;e[36]!==t?(g=t("settings.preferences.language"),e[36]=t,e[37]=g):g=e[37];let h;e[38]!==t?(h=t("settings.preferences.languageDescription"),e[38]=t,e[39]=h):h=e[39];let A;e[40]!==i?(A=n=>{V("preferences_language_changed",{to_value:n}),i(D=>({...D,language:n}))},e[40]=i,e[41]=A):A=e[41];let k;e[42]!==l.language?(k=we.find(n=>n.value===l.language)?.label,e[42]=l.language,e[43]=k):k=e[43];let x;e[44]!==k?(x=s.jsx(Ve,{className:"w-44 h-7 text-xs",children:s.jsx("span",{children:k})}),e[44]=k,e[45]=x):x=e[45];let P;e[46]===Symbol.for("react.memo_cache_sentinel")?(P=s.jsx(Pe,{children:we.map(et)}),e[46]=P):P=e[46];let z;e[47]!==l.language||e[48]!==A||e[49]!==x?(z=s.jsxs(De,{value:l.language,onValueChange:A,children:[x,P]}),e[47]=l.language,e[48]=A,e[49]=x,e[50]=z):z=e[50];let I;e[51]!==g||e[52]!==h||e[53]!==z?(I=s.jsx(w,{title:g,description:h,action:z}),e[51]=g,e[52]=h,e[53]=z,e[54]=I):I=e[54];let T;e[55]!==t?(T=t("settings.preferences.notifications"),e[55]=t,e[56]=T):T=e[56];let E;e[57]!==t?(E=t("settings.preferences.notificationsDescription"),e[57]=t,e[58]=E):E=e[58];let $;e[59]!==r||e[60]!==l.enableNotifications?($=typeof Notification<"u"?()=>r(!l.enableNotifications):void 0,e[59]=r,e[60]=l.enableNotifications,e[61]=$):$=e[61];let B;e[62]!==r||e[63]!==l.enableNotifications?(B=s.jsx(ke,{disabled:typeof Notification>"u",checked:l.enableNotifications,onCheckedChange:r}),e[62]=r,e[63]=l.enableNotifications,e[64]=B):B=e[64];let q;e[65]!==T||e[66]!==E||e[67]!==$||e[68]!==B?(q=s.jsx(w,{title:T,description:E,onClick:$,action:B}),e[65]=T,e[66]=E,e[67]=$,e[68]=B,e[69]=q):q=e[69];let G;e[70]!==t?(G=t("settings.preferences.sounds"),e[70]=t,e[71]=G):G=e[71];let R;e[72]!==t?(R=t("settings.preferences.soundsDescription"),e[72]=t,e[73]=R):R=e[73];let U;e[74]!==l.enableSounds||e[75]!==i?(U=()=>{V("preferences_sounds_toggled",{enabled:!l.enableSounds}),i(Ze)},e[74]=l.enableSounds,e[75]=i,e[76]=U):U=e[76];let F;e[77]!==t?(F=t("settings.preferences.soundsPreview"),e[77]=t,e[78]=F):F=e[78];let je;e[79]===Symbol.for("react.memo_cache_sentinel")?(je=s.jsx(Ke,{size:11}),e[79]=je):je=e[79];let O;e[80]!==F?(O=s.jsx("button",{type:"button","aria-label":F,onClick:Xe,className:"size-6 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent/50 transition-colors cursor-pointer",children:je}),e[80]=F,e[81]=O):O=e[81];let K;e[82]!==i?(K=n=>{V("preferences_sounds_toggled",{enabled:n}),i(D=>({...D,enableSounds:n}))},e[82]=i,e[83]=K):K=e[83];let H;e[84]!==l.enableSounds||e[85]!==K?(H=s.jsx(ke,{checked:l.enableSounds,onCheckedChange:K}),e[84]=l.enableSounds,e[85]=K,e[86]=H):H=e[86];let J;e[87]!==O||e[88]!==H?(J=s.jsxs("div",{className:"flex items-center gap-2",children:[O,H]}),e[87]=O,e[88]=H,e[89]=J):J=e[89];let M;e[90]!==G||e[91]!==R||e[92]!==U||e[93]!==J?(M=s.jsx(w,{title:G,description:R,onClick:U,action:J}),e[90]=G,e[91]=R,e[92]=U,e[93]=J,e[94]=M):M=e[94];let Q;e[95]!==t?(Q=t("settings.preferences.toolApproval"),e[95]=t,e[96]=Q):Q=e[96];let W;e[97]!==t?(W=t("settings.preferences.toolApprovalDescription"),e[97]=t,e[98]=W):W=e[98];const Ie=l.toolApprovalLevel;let X;e[99]!==i?(X=n=>{V("preferences_tool_approval_changed",{to_value:n}),i(D=>({...D,toolApprovalLevel:n}))},e[99]=i,e[100]=X):X=e[100];let Y;e[101]!==l.toolApprovalLevel||e[102]!==t?(Y={readonly:t("settings.preferences.toolApprovalAsk"),auto:t("settings.preferences.toolApprovalAuto")}[l.toolApprovalLevel]??t("settings.preferences.toolApprovalAsk"),e[101]=l.toolApprovalLevel,e[102]=t,e[103]=Y):Y=e[103];let Z;e[104]!==Y?(Z=s.jsx(Ve,{className:"w-36 h-7 text-xs",children:s.jsx("span",{children:Y})}),e[104]=Y,e[105]=Z):Z=e[105];let ee;e[106]!==t?(ee=t("settings.preferences.toolApprovalAsk"),e[106]=t,e[107]=ee):ee=e[107];let te;e[108]!==t?(te=t("settings.preferences.toolApprovalAsk"),e[108]=t,e[109]=te):te=e[109];let se;e[110]!==te?(se=s.jsx("span",{className:"font-medium",children:te}),e[110]=te,e[111]=se):se=e[111];let le;e[112]!==t?(le=t("settings.preferences.toolApprovalAskDescription"),e[112]=t,e[113]=le):le=e[113];let ie;e[114]!==le?(ie=s.jsx("span",{className:"text-xs text-muted-foreground",children:le}),e[114]=le,e[115]=ie):ie=e[115];let ne;e[116]!==se||e[117]!==ie?(ne=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[se,ie]}),e[116]=se,e[117]=ie,e[118]=ne):ne=e[118];let oe;e[119]!==ee||e[120]!==ne?(oe=s.jsx(ye,{value:"readonly",textValue:ee,children:ne}),e[119]=ee,e[120]=ne,e[121]=oe):oe=e[121];let re;e[122]!==t?(re=t("settings.preferences.toolApprovalAuto"),e[122]=t,e[123]=re):re=e[123];let ae;e[124]!==t?(ae=t("settings.preferences.toolApprovalAuto"),e[124]=t,e[125]=ae):ae=e[125];let ce;e[126]!==ae?(ce=s.jsx("span",{className:"font-medium",children:ae}),e[126]=ae,e[127]=ce):ce=e[127];let fe;e[128]!==t?(fe=t("settings.preferences.toolApprovalAutoDescription"),e[128]=t,e[129]=fe):fe=e[129];let pe;e[130]!==fe?(pe=s.jsx("span",{className:"text-xs text-muted-foreground",children:fe}),e[130]=fe,e[131]=pe):pe=e[131];let ue;e[132]!==ce||e[133]!==pe?(ue=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[ce,pe]}),e[132]=ce,e[133]=pe,e[134]=ue):ue=e[134];let de;e[135]!==re||e[136]!==ue?(de=s.jsx(ye,{value:"auto",textValue:re,children:ue}),e[135]=re,e[136]=ue,e[137]=de):de=e[137];let me;e[138]!==oe||e[139]!==de?(me=s.jsxs(Pe,{children:[oe,de]}),e[138]=oe,e[139]=de,e[140]=me):me=e[140];let ge;e[141]!==l.toolApprovalLevel||e[142]!==X||e[143]!==Z||e[144]!==me?(ge=s.jsxs(De,{value:Ie,onValueChange:X,children:[Z,me]}),e[141]=l.toolApprovalLevel,e[142]=X,e[143]=Z,e[144]=me,e[145]=ge):ge=e[145];let he;e[146]!==Q||e[147]!==W||e[148]!==ge?(he=s.jsx(w,{title:Q,description:W,action:ge}),e[146]=Q,e[147]=W,e[148]=ge,e[149]=he):he=e[149];let xe;e[150]!==C||e[151]!==I||e[152]!==q||e[153]!==M||e[154]!==he?(xe=s.jsxs(ze,{children:[C,I,q,M,he]}),e[150]=C,e[151]=I,e[152]=q,e[153]=M,e[154]=he,e[155]=xe):xe=e[155];let ve;return e[156]!==a||e[157]!==xe?(ve=s.jsx(Le,{title:a,children:xe}),e[156]=a,e[157]=xe,e[158]=ve):ve=e[158],ve}function Xe(){V("preferences_sounds_previewed"),Je(Me.dataUri).catch(Ye)}function Ye(){}function Ze(e){return{...e,enableSounds:!e.enableSounds}}function et(e){return s.jsx(ye,{value:e.value,textValue:e.label,children:e.label},e.value)}function tt(e){return{...e,enableNotifications:!1}}function st(){const e=Se.c(8),t=Ne();let l;e[0]!==t?(l=t("settings.title"),e[0]=t,e[1]=l):l=e[1];let i;e[2]!==l?(i=s.jsx(be.Title,{children:l}),e[2]=l,e[3]=i):i=e[3];let c,r;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(Qe,{}),r=s.jsx(We,{}),e[4]=c,e[5]=r):(c=e[4],r=e[5]);let a;return e[6]!==i?(a=s.jsx(be,{children:s.jsx(be.Content,{children:s.jsx(be.Body,{children:s.jsxs(Te,{children:[i,c,r]})})})}),e[6]=i,e[7]=a):a=e[7],a}function jt(){const e=Se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(st,{}),e[0]=t):t=e[0],t}export{jt as default};
1
+ import{c as Se,b as Ne,j as s,P as be,d9 as Te,a as Ce,ao as Ee,as as $e,x as Be,q as V,t as Ae,d8 as w,d6 as Le,d7 as ze}from"./index-eMuSvnay.js";import{A as qe}from"./avatar-CffKfcxD.js";import{S as ke}from"./switch-EyKGbAqJ.js";import{c as Pe,S as De,d as ye,a as Ve}from"./select-Cf3o4e13.js";import{a as _e,T as Ge}from"./toggle-group-5udoaIQ7.js";import{I as Re}from"./input-CzXHUUzJ.js";import{i as Ue}from"./Monitor01-DRcJh9rJ.js";import{n as Fe,a as Oe}from"./Sun-CedAoEhV.js";import{i as Ke}from"./Play-DHTGlq1Y.js";import{u as He}from"./use-debounced-autosave-C2GBWe-g.js";import{p as Je,q as Me}from"./question-004-sINsf4GQ.js";import"./User01-9rQwsqCE.js";import"./Check-DPWJue1l.js";import"./ChevronDown-Bchtg7Ey.js";import"./ChevronUp-CJaWrIn8.js";const we=[{value:"en",label:"English"},{value:"pt-BR",label:"Português (Brasil)"}];function Qe(){const e=Se.c(36),t=Ne(),{data:l,isPending:i}=Ce.useSession(),c=l?.user,r=c?.image,a=c?.name??"";let j;e[0]!==a?(j={values:{name:a}},e[0]=a,e[1]=j):j=e[1];const o=Ee(j);let L;e[2]!==o||e[3]!==t?(L={save:async()=>{const k=o.control._formState.dirtyFields;if(Object.keys(k).length===0)return;const x=o.getValues(),P=o.control._defaultValues;o.reset(x,{keepValues:!0});try{await Ce.updateUser({name:x.name}),V("profile_updated",{fields:["name"]}),Ae.success(t("settings.profile.updateSuccess"))}catch{o.reset(P,{keepValues:!0}),Ae.error(t("settings.profile.updateError"))}}},e[2]=o,e[3]=t,e[4]=L):L=e[4];const{schedule:y,flush:v}=He(L);if(i)return null;let b;e[5]!==t?(b=t("settings.profile.avatar"),e[5]=t,e[6]=b):b=e[6];const N=c?.name??"U";let f;e[7]!==N||e[8]!==r?(f=s.jsx(qe,{url:r,fallback:N,shape:"circle",size:"base"}),e[7]=N,e[8]=r,e[9]=f):f=e[9];let S;e[10]!==b||e[11]!==f?(S=s.jsx(w,{title:b,action:f}),e[10]=b,e[11]=f,e[12]=S):S=e[12];let p;e[13]!==t?(p=t("settings.profile.displayName"),e[13]=t,e[14]=p):p=e[14];let u;e[15]!==v||e[16]!==y||e[17]!==t?(u=k=>{const{field:x}=k;return s.jsx(Re,{id:"display-name",...x,onChange:P=>{x.onChange(P),y()},onBlur:()=>{x.onBlur(),v()},onKeyDown:P=>{P.key==="Enter"&&v()},placeholder:t("settings.profile.displayNamePlaceholder"),className:"w-[280px]"})},e[15]=v,e[16]=y,e[17]=t,e[18]=u):u=e[18];let _;e[19]!==o.control||e[20]!==u?(_=s.jsx($e,{control:o.control,name:"name",render:u}),e[19]=o.control,e[20]=u,e[21]=_):_=e[21];let d;e[22]!==p||e[23]!==_?(d=s.jsx(w,{title:p,action:_}),e[22]=p,e[23]=_,e[24]=d):d=e[24];let m;e[25]!==t?(m=t("settings.profile.email"),e[25]=t,e[26]=m):m=e[26];const C=c?.email;let g;e[27]!==C?(g=s.jsx("span",{className:"text-sm text-muted-foreground",children:C}),e[27]=C,e[28]=g):g=e[28];let h;e[29]!==m||e[30]!==g?(h=s.jsx(w,{title:m,action:g}),e[29]=m,e[30]=g,e[31]=h):h=e[31];let A;return e[32]!==d||e[33]!==h||e[34]!==S?(A=s.jsx(Le,{children:s.jsxs(ze,{children:[S,d,h]})}),e[32]=d,e[33]=h,e[34]=S,e[35]=A):A=e[35],A}function We(){const e=Se.c(159),t=Ne(),[l,i]=Be();let c;e[0]!==i||e[1]!==t?(c=async n=>{if(n&&await Notification.requestPermission()!=="granted"){V("preferences_notifications_permission_denied"),Ae.error(t("settings.preferences.notificationsDenied")),i(tt);return}V("preferences_notifications_toggled",{enabled:n}),i(D=>({...D,enableNotifications:n}))},e[0]=i,e[1]=t,e[2]=c):c=e[2];const r=c;let a;e[3]!==t?(a=t("settings.preferences.title"),e[3]=t,e[4]=a):a=e[4];let j;e[5]!==t?(j=t("settings.preferences.theme"),e[5]=t,e[6]=j):j=e[6];let o;e[7]!==t?(o=t("settings.preferences.themeDescription"),e[7]=t,e[8]=o):o=e[8];const L=l.theme;let y;e[9]!==i?(y=n=>{n&&(V("preferences_theme_changed",{to_value:n}),i(D=>({...D,theme:n})))},e[9]=i,e[10]=y):y=e[10];let v;e[11]!==t?(v=t("settings.preferences.themeLight"),e[11]=t,e[12]=v):v=e[12];let b;e[13]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(Fe,{size:14}),e[13]=b):b=e[13];let N;e[14]!==v?(N=s.jsx(_e,{value:"light","aria-label":v,children:b}),e[14]=v,e[15]=N):N=e[15];let f;e[16]!==t?(f=t("settings.preferences.themeDark"),e[16]=t,e[17]=f):f=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Oe,{size:14}),e[18]=S):S=e[18];let p;e[19]!==f?(p=s.jsx(_e,{value:"dark","aria-label":f,children:S}),e[19]=f,e[20]=p):p=e[20];let u;e[21]!==t?(u=t("settings.preferences.themeSystem"),e[21]=t,e[22]=u):u=e[22];let _;e[23]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(Ue,{size:14}),e[23]=_):_=e[23];let d;e[24]!==u?(d=s.jsx(_e,{value:"system","aria-label":u,children:_}),e[24]=u,e[25]=d):d=e[25];let m;e[26]!==l.theme||e[27]!==p||e[28]!==d||e[29]!==y||e[30]!==N?(m=s.jsxs(Ge,{type:"single",size:"sm",variant:"outline",value:L,onValueChange:y,children:[N,p,d]}),e[26]=l.theme,e[27]=p,e[28]=d,e[29]=y,e[30]=N,e[31]=m):m=e[31];let C;e[32]!==m||e[33]!==j||e[34]!==o?(C=s.jsx(w,{title:j,description:o,action:m}),e[32]=m,e[33]=j,e[34]=o,e[35]=C):C=e[35];let g;e[36]!==t?(g=t("settings.preferences.language"),e[36]=t,e[37]=g):g=e[37];let h;e[38]!==t?(h=t("settings.preferences.languageDescription"),e[38]=t,e[39]=h):h=e[39];let A;e[40]!==i?(A=n=>{V("preferences_language_changed",{to_value:n}),i(D=>({...D,language:n}))},e[40]=i,e[41]=A):A=e[41];let k;e[42]!==l.language?(k=we.find(n=>n.value===l.language)?.label,e[42]=l.language,e[43]=k):k=e[43];let x;e[44]!==k?(x=s.jsx(Ve,{className:"w-44 h-7 text-xs",children:s.jsx("span",{children:k})}),e[44]=k,e[45]=x):x=e[45];let P;e[46]===Symbol.for("react.memo_cache_sentinel")?(P=s.jsx(Pe,{children:we.map(et)}),e[46]=P):P=e[46];let z;e[47]!==l.language||e[48]!==A||e[49]!==x?(z=s.jsxs(De,{value:l.language,onValueChange:A,children:[x,P]}),e[47]=l.language,e[48]=A,e[49]=x,e[50]=z):z=e[50];let I;e[51]!==g||e[52]!==h||e[53]!==z?(I=s.jsx(w,{title:g,description:h,action:z}),e[51]=g,e[52]=h,e[53]=z,e[54]=I):I=e[54];let T;e[55]!==t?(T=t("settings.preferences.notifications"),e[55]=t,e[56]=T):T=e[56];let E;e[57]!==t?(E=t("settings.preferences.notificationsDescription"),e[57]=t,e[58]=E):E=e[58];let $;e[59]!==r||e[60]!==l.enableNotifications?($=typeof Notification<"u"?()=>r(!l.enableNotifications):void 0,e[59]=r,e[60]=l.enableNotifications,e[61]=$):$=e[61];let B;e[62]!==r||e[63]!==l.enableNotifications?(B=s.jsx(ke,{disabled:typeof Notification>"u",checked:l.enableNotifications,onCheckedChange:r}),e[62]=r,e[63]=l.enableNotifications,e[64]=B):B=e[64];let q;e[65]!==T||e[66]!==E||e[67]!==$||e[68]!==B?(q=s.jsx(w,{title:T,description:E,onClick:$,action:B}),e[65]=T,e[66]=E,e[67]=$,e[68]=B,e[69]=q):q=e[69];let G;e[70]!==t?(G=t("settings.preferences.sounds"),e[70]=t,e[71]=G):G=e[71];let R;e[72]!==t?(R=t("settings.preferences.soundsDescription"),e[72]=t,e[73]=R):R=e[73];let U;e[74]!==l.enableSounds||e[75]!==i?(U=()=>{V("preferences_sounds_toggled",{enabled:!l.enableSounds}),i(Ze)},e[74]=l.enableSounds,e[75]=i,e[76]=U):U=e[76];let F;e[77]!==t?(F=t("settings.preferences.soundsPreview"),e[77]=t,e[78]=F):F=e[78];let je;e[79]===Symbol.for("react.memo_cache_sentinel")?(je=s.jsx(Ke,{size:11}),e[79]=je):je=e[79];let O;e[80]!==F?(O=s.jsx("button",{type:"button","aria-label":F,onClick:Xe,className:"size-6 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent/50 transition-colors cursor-pointer",children:je}),e[80]=F,e[81]=O):O=e[81];let K;e[82]!==i?(K=n=>{V("preferences_sounds_toggled",{enabled:n}),i(D=>({...D,enableSounds:n}))},e[82]=i,e[83]=K):K=e[83];let H;e[84]!==l.enableSounds||e[85]!==K?(H=s.jsx(ke,{checked:l.enableSounds,onCheckedChange:K}),e[84]=l.enableSounds,e[85]=K,e[86]=H):H=e[86];let J;e[87]!==O||e[88]!==H?(J=s.jsxs("div",{className:"flex items-center gap-2",children:[O,H]}),e[87]=O,e[88]=H,e[89]=J):J=e[89];let M;e[90]!==G||e[91]!==R||e[92]!==U||e[93]!==J?(M=s.jsx(w,{title:G,description:R,onClick:U,action:J}),e[90]=G,e[91]=R,e[92]=U,e[93]=J,e[94]=M):M=e[94];let Q;e[95]!==t?(Q=t("settings.preferences.toolApproval"),e[95]=t,e[96]=Q):Q=e[96];let W;e[97]!==t?(W=t("settings.preferences.toolApprovalDescription"),e[97]=t,e[98]=W):W=e[98];const Ie=l.toolApprovalLevel;let X;e[99]!==i?(X=n=>{V("preferences_tool_approval_changed",{to_value:n}),i(D=>({...D,toolApprovalLevel:n}))},e[99]=i,e[100]=X):X=e[100];let Y;e[101]!==l.toolApprovalLevel||e[102]!==t?(Y={readonly:t("settings.preferences.toolApprovalAsk"),auto:t("settings.preferences.toolApprovalAuto")}[l.toolApprovalLevel]??t("settings.preferences.toolApprovalAsk"),e[101]=l.toolApprovalLevel,e[102]=t,e[103]=Y):Y=e[103];let Z;e[104]!==Y?(Z=s.jsx(Ve,{className:"w-36 h-7 text-xs",children:s.jsx("span",{children:Y})}),e[104]=Y,e[105]=Z):Z=e[105];let ee;e[106]!==t?(ee=t("settings.preferences.toolApprovalAsk"),e[106]=t,e[107]=ee):ee=e[107];let te;e[108]!==t?(te=t("settings.preferences.toolApprovalAsk"),e[108]=t,e[109]=te):te=e[109];let se;e[110]!==te?(se=s.jsx("span",{className:"font-medium",children:te}),e[110]=te,e[111]=se):se=e[111];let le;e[112]!==t?(le=t("settings.preferences.toolApprovalAskDescription"),e[112]=t,e[113]=le):le=e[113];let ie;e[114]!==le?(ie=s.jsx("span",{className:"text-xs text-muted-foreground",children:le}),e[114]=le,e[115]=ie):ie=e[115];let ne;e[116]!==se||e[117]!==ie?(ne=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[se,ie]}),e[116]=se,e[117]=ie,e[118]=ne):ne=e[118];let oe;e[119]!==ee||e[120]!==ne?(oe=s.jsx(ye,{value:"readonly",textValue:ee,children:ne}),e[119]=ee,e[120]=ne,e[121]=oe):oe=e[121];let re;e[122]!==t?(re=t("settings.preferences.toolApprovalAuto"),e[122]=t,e[123]=re):re=e[123];let ae;e[124]!==t?(ae=t("settings.preferences.toolApprovalAuto"),e[124]=t,e[125]=ae):ae=e[125];let ce;e[126]!==ae?(ce=s.jsx("span",{className:"font-medium",children:ae}),e[126]=ae,e[127]=ce):ce=e[127];let fe;e[128]!==t?(fe=t("settings.preferences.toolApprovalAutoDescription"),e[128]=t,e[129]=fe):fe=e[129];let pe;e[130]!==fe?(pe=s.jsx("span",{className:"text-xs text-muted-foreground",children:fe}),e[130]=fe,e[131]=pe):pe=e[131];let ue;e[132]!==ce||e[133]!==pe?(ue=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[ce,pe]}),e[132]=ce,e[133]=pe,e[134]=ue):ue=e[134];let de;e[135]!==re||e[136]!==ue?(de=s.jsx(ye,{value:"auto",textValue:re,children:ue}),e[135]=re,e[136]=ue,e[137]=de):de=e[137];let me;e[138]!==oe||e[139]!==de?(me=s.jsxs(Pe,{children:[oe,de]}),e[138]=oe,e[139]=de,e[140]=me):me=e[140];let ge;e[141]!==l.toolApprovalLevel||e[142]!==X||e[143]!==Z||e[144]!==me?(ge=s.jsxs(De,{value:Ie,onValueChange:X,children:[Z,me]}),e[141]=l.toolApprovalLevel,e[142]=X,e[143]=Z,e[144]=me,e[145]=ge):ge=e[145];let he;e[146]!==Q||e[147]!==W||e[148]!==ge?(he=s.jsx(w,{title:Q,description:W,action:ge}),e[146]=Q,e[147]=W,e[148]=ge,e[149]=he):he=e[149];let xe;e[150]!==C||e[151]!==I||e[152]!==q||e[153]!==M||e[154]!==he?(xe=s.jsxs(ze,{children:[C,I,q,M,he]}),e[150]=C,e[151]=I,e[152]=q,e[153]=M,e[154]=he,e[155]=xe):xe=e[155];let ve;return e[156]!==a||e[157]!==xe?(ve=s.jsx(Le,{title:a,children:xe}),e[156]=a,e[157]=xe,e[158]=ve):ve=e[158],ve}function Xe(){V("preferences_sounds_previewed"),Je(Me.dataUri).catch(Ye)}function Ye(){}function Ze(e){return{...e,enableSounds:!e.enableSounds}}function et(e){return s.jsx(ye,{value:e.value,textValue:e.label,children:e.label},e.value)}function tt(e){return{...e,enableNotifications:!1}}function st(){const e=Se.c(8),t=Ne();let l;e[0]!==t?(l=t("settings.title"),e[0]=t,e[1]=l):l=e[1];let i;e[2]!==l?(i=s.jsx(be.Title,{children:l}),e[2]=l,e[3]=i):i=e[3];let c,r;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(Qe,{}),r=s.jsx(We,{}),e[4]=c,e[5]=r):(c=e[4],r=e[5]);let a;return e[6]!==i?(a=s.jsx(be,{children:s.jsx(be.Content,{children:s.jsx(be.Body,{children:s.jsxs(Te,{children:[i,c,r]})})})}),e[6]=i,e[7]=a):a=e[7],a}function jt(){const e=Se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(st,{}),e[0]=t):t=e[0],t}export{jt as default};
@@ -0,0 +1 @@
1
+ import{c as U,b as B,j as l,r as L,E as X,H as K,a as Z,B as ee,k as te}from"./index-eMuSvnay.js";import{a as oe,g as q,s as H}from"./automation-runs-BQ0Iu53B.js";import{u as z}from"./use-mcp-client-DMgRONuR.js";import{W as ie,S as re,p as se}from"./constants-_08zpzmT.js";import{b as ne,c as le}from"./use-mcp-tools-CrszPH3e.js";import{u as ce}from"./index-CxZcM7iI.js";import{c as me}from"./monaco-editor-DXWGpYdI.js";import{g as ae,M as pe,a as Y}from"./types-CWfqP-B-.js";import{a as de,u as fe}from"./chat-context-BSlnS4lO.js";import{u as ue}from"./shell-layout-DPDTGLA3.js";import{O as ge}from"./tab-id-BupMUSAp.js";import{c as xe,e as he,s as Ce,f as je,P as Se,g as Ie,h as be}from"./self-tool-result-BawREriG.js";import{b as G,a as W,d as J,e as Q}from"./dialog-CRgUvUGD.js";import{I as Ne}from"./integration-icon-UAHcQu3Y.js";import"./select-Cf3o4e13.js";import"./Check-DPWJue1l.js";import"./ChevronDown-Bchtg7Ey.js";import"./ChevronUp-CJaWrIn8.js";import"./agent-icon-BUsh3oGt.js";import"./AlertCircle-rzbi7fmi.js";import"./Tool01-DYiLYfEf.js";import"./ArrowUp-BfWB8MD1.js";import"./ArrowLeft-D-nEST6C.js";import"./Tool02-53gDBxa-.js";import"./XCircle-VjO5lI8H.js";import"./TrendUp01-CHalSWAC.js";import"./ZapSquare-CSYRxph5.js";import"./Users03-Ckv8dpNK.js";import"./CheckCircle-CzbHy_NQ.js";import"./ChevronRight-ywp7R8fi.js";import"./ChevronSelectorVertical-fzOl_PXo.js";import"./DotsVertical-CtCazyXg.js";import"./Stars02-CQidlt1A.js";import"./UserSquare-BK8-agqd.js";import"./Copy01-C1V4JSjm.js";import"./CreditCard01-BgWLt525.js";import"./Download01-B8eccotb.js";import"./Settings02-DdRb7E0Q.js";import"./Eye-CVdFbQPq.js";import"./FilterLines-CHSA0Ovv.js";import"./Share07-Cx9rW-3h.js";import"./Globe01-C4uOnzpB.js";import"./Globe04-4ZySY2dL.js";import"./SwitchHorizontal01-BBS3aq1G.js";import"./HardDrive-BpDqLmKr.js";import"./Key01-CIlMRmOa.js";import"./LinkExternal01-BnF74p76.js";import"./LockUnlocked01-CFo18Geo.js";import"./LogOut01-mY61xNf_.js";import"./Monitor01-DRcJh9rJ.js";import"./Sun-CedAoEhV.js";import"./Palette-Dyv90Vji.js";import"./Play-DHTGlq1Y.js";import"./Plus-BBG-uYzF.js";import"./SearchLg-3Irji4Em.js";import"./SearchMd-BiEg7og4.js";import"./Shield01-Dj1i5rRJ.js";import"./Stars01-DsEuNQa4.js";import"./Trash01-hrM9uQgS.js";import"./Upload01-DgdhEYC-.js";import"./User01-9rQwsqCE.js";import"./Users01-CBrs1-WF.js";import"./XClose-BivECxO7.js";import"./Zap-Cnsys2Wq.js";import"./useInfiniteQuery-BUqQM02C.js";import"./use-infinite-scroll-DING_ypo.js";import"./use-connection-CrWZq_Ri.js";import"./use-virtual-mcp-M6mi7VuQ.js";import"./table-ByGDNySe.js";import"./empty-state-nAEi4fmW.js";import"./use-members-D74i7CK7.js";import"./use-org-auth-client-DGlgRRC_.js";import"./use-clock-tick-BY6Y0vZc.js";import"./use-automations-CJu_L57g.js";import"./useSuspenseInfiniteQuery-DtiiRZ-l.js";import"./avatar-CffKfcxD.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-X4stx05l.js";import"./hooks-BMvgJI-g.js";import"./decopilot-sse-pool-CnQZuU8U.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-navigate-to-agent-D-PAXyxX.js";import"./reusable-new-chat-CzvRy4Pe.js";import"./session-runtime-wVXsCwcJ.js";import"./chart-CQDerfwb.js";import"./index-CRX5z-Jb.js";import"./form-CkF9Gll6.js";import"./label-C-f36Ery.js";import"./input-CzXHUUzJ.js";import"./spinner-CeAynGXW.js";import"./file-type-icon-BxCMRXC7.js";import"./auth-BbVa1hsz.js";import"./drawer-B5fFyIgX.js";import"./collection-search-D5bU0Mny.js";import"./tabs-YXze6Pex.js";import"./toggle-group-5udoaIQ7.js";import"./use-commerce-diagnostic-DogDSREs.js";import"./popover-OOnmalBV.js";import"./toolbar-jStDQiC9.js";import"./github-repo-picker-uCh44L_P.js";import"./use-debounced-value-pQUbNH4F.js";import"./authenticate-and-persist-oauth-BW7lPmR8.js";import"./mcp-oauth-EpOxhfnN.js";import"./extract-connection-data-D3s8EYsm.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-CMPWtdMv.js";import"./agent-capabilities-C4tLW0Za.js";import"./connection-card-BxOv_0Pb.js";import"./use-registry-connections-B0WaaMcP.js";import"./use-organization-settings-KBGKqIJR.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BUU8Uzj2.js";import"./connection-form-helpers-DwrLlCes.js";import"./collection-tabs-DSNouQYO.js";import"./badge-DdvBiEJO.js";import"./use-ai-providers-BJFNFBW8.js";import"./command-DO658f9K.js";import"./index-DGbNQLI2.js";import"./alert-dialog-hhGN1kzx.js";import"./select-model-B7Rf8Feb.js";import"./checkbox-DvnU-G5n.js";import"./ai-providers-logos-DD3qZ33J.js";import"./use-is-desktop-app-BNujXJc_.js";import"./cards-BImfAb5p.js";import"./dropdown-menu-C0p1X71u.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CTsRBUIT.js";import"./use-decopilot-events-DS-28zR1.js";import"./use-file-configs-bqn0DQl-.js";import"./pt-BR-CLy76QW2.js";import"./switch-EyKGbAqJ.js";import"./use-debounced-autosave-C2GBWe-g.js";import"./search-input-Dv3_1Uvp.js";import"./index-C7yUTQLC.js";import"./use-secrets-Cv3PcVUL.js";import"./AreaChart-CuKqt6_P.js";import"./task-key-D6-3eaXs.js";import"./use-tags-DB9UyYAF.js";import"./get-initials-D-f_fDFw.js";import"./automation-list-row-6SRFf-_b.js";import"./use-org-repo-syncs-L_Q9jn6Z.js";import"./required-auth-layout-D7eBvpct.js";import"./use-org-sso-DIKj2vIX.js";import"./track-x1Ue_gqj.js";const ve="studio://navigate",De=new Set(["vtex","ga4","gsc","github"]);function Me(b){const[e]=b;if(b.length!==1||e?.type!=="resource_link"||!e.uri.startsWith(ve))return{isNavigate:!1};let o=null,i=null;try{const r=new URL(e.uri).searchParams;o=r.get("main"),i=r.get("field")}catch{}return{isNavigate:!0,tab:o&&ge.has(o)?o:null,field:i&&De.has(i)?i:null}}function $(b){const e=U.c(12),{onClose:o,children:i}=b,r=B();let t;e[0]!==o?(t=f=>!f&&o(),e[0]=o,e[1]=t):t=e[1];let m;e[2]!==r?(m=r("commerceOnboarding.connectSourceDialog.title"),e[2]=r,e[3]=m):m=e[3];let c;e[4]!==m?(c=l.jsx(W,{children:l.jsx(G,{children:m})}),e[4]=m,e[5]=c):c=e[5];let d;e[6]!==i||e[7]!==c?(d=l.jsxs(J,{"aria-describedby":void 0,className:"sm:max-w-lg",children:[c,i]}),e[6]=i,e[7]=c,e[8]=d):d=e[8];let n;return e[9]!==t||e[10]!==d?(n=l.jsx(Q,{open:!0,onOpenChange:t,children:d}),e[9]=t,e[10]=d,e[11]=n):n=e[11],n}function F(b){const e=U.c(3),{label:o}=b;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=l.jsx(te,{size:16,className:"animate-spin"}),e[0]=i):i=e[0];let r;return e[1]!==o?(r=l.jsxs("div",{className:"flex items-center gap-2 py-2 text-sm text-muted-foreground",children:[i,l.jsx("span",{children:o})]}),e[1]=o,e[2]=r):r=e[2],r}function _e(b){const e=U.c(19),{field:o,onClose:i}=b,r=B();let t;e[0]!==i||e[1]!==r?(t=()=>l.jsx($,{onClose:i,children:l.jsx("p",{className:"text-sm text-muted-foreground",children:r("routes.commerceOnboarding.connectModal.loadError")})}),e[0]=i,e[1]=r,e[2]=t):t=e[2];let m;e[3]!==r?(m=r("commerceOnboarding.connectSourceDialog.loading"),e[3]=r,e[4]=m):m=e[4];let c;e[5]!==m?(c=l.jsx(F,{label:m}),e[5]=m,e[6]=c):c=e[6];let d;e[7]!==i||e[8]!==c?(d=l.jsx($,{onClose:i,children:c}),e[7]=i,e[8]=c,e[9]=d):d=e[9];let n;e[10]!==o||e[11]!==i?(n=l.jsx(ye,{field:o,onClose:i}),e[10]=o,e[11]=i,e[12]=n):n=e[12];let f;e[13]!==d||e[14]!==n?(f=l.jsx(L.Suspense,{fallback:d,children:n}),e[13]=d,e[14]=n,e[15]=f):f=e[15];let g;return e[16]!==t||e[17]!==f?(g=l.jsx(X,{fallback:t,children:f}),e[16]=t,e[17]=f,e[18]=g):g=e[18],g}function ye(b){const e=U.c(75),{field:o,onClose:i}=b,r=B(),{org:t}=K();let m;e[0]!==t.id?(m=ie.COMMERCE_DISCOVERY(t.id),e[0]=t.id,e[1]=m):m=e[1];const c=m;let d;e[2]!==t.id||e[3]!==t.slug?(d={connectionId:re,orgId:t.id,orgSlug:t.slug},e[2]=t.id,e[3]=t.slug,e[4]=d):d=e[4];const n=z(d),{data:f}=Z.useSession(),g=f?.user?.id??"";let h;e[5]!==c||e[6]!==t||e[7]!==n?(h={selfClient:n,org:t,cdConnectionId:c},e[5]=c,e[6]=t,e[7]=n,e[8]=h):h=e[8];const s=xe(h);let S;e[9]!==c||e[10]!==t||e[11]!==n||e[12]!==s?(S={selfClient:n,org:t,cdConnectionId:c,siteUrl:s},e[9]=c,e[10]=t,e[11]=n,e[12]=s,e[13]=S):S=e[13];const{cards:C}=he(S);let I;e[14]!==s?(I=Ce(s)??void 0,e[14]=s,e[15]=I):I=e[15];let N;e[16]!==c||e[17]!==t||e[18]!==n||e[19]!==s||e[20]!==I||e[21]!==g?(N={selfClient:n,org:t,userId:g,cdConnectionId:c,domain:I,siteUrl:s},e[16]=c,e[17]=t,e[18]=n,e[19]=s,e[20]=I,e[21]=g,e[22]=N):N=e[22];const{connect:x,connectingFieldKey:O,error:T}=je(N);let M;if(e[23]!==C||e[24]!==o){let a;e[26]!==o?(a=p=>p.fieldKey===o,e[26]=o,e[27]=a):a=e[27],M=C.find(a),e[23]=C,e[24]=o,e[25]=M}else M=e[25];const u=M;if(!u){let a;e[28]!==r?(a=r("routes.commerceOnboarding.connectModal.loadError"),e[28]=r,e[29]=a):a=e[29];let p;e[30]!==a?(p=l.jsx("p",{className:"text-sm text-muted-foreground",children:a}),e[30]=a,e[31]=p):p=e[31];let j;return e[32]!==i||e[33]!==p?(j=l.jsx($,{onClose:i,children:p}),e[32]=i,e[33]=p,e[34]=j):j=e[34],j}const _=Se[u.bindingType];if(_&&u.boundVia!=="oauth"){let a;e[35]!==i?(a=v=>!v&&i(),e[35]=i,e[36]=a):a=e[36];let p;e[37]!==u||e[38]!==x?(p=u.satisfied?void 0:()=>{x(u)},e[37]=u,e[38]=x,e[39]=p):p=e[39];let j;return e[40]!==u||e[41]!==t||e[42]!==_||e[43]!==n||e[44]!==s||e[45]!==a||e[46]!==p?(j=l.jsx(be,{card:u,provider:_,org:t,selfClient:n,siteUrl:s,open:!0,onOpenChange:a,onOAuthInstead:p}),e[40]=u,e[41]=t,e[42]=_,e[43]=n,e[44]=s,e[45]=a,e[46]=p,e[47]=j):j=e[47],j}if(u.satisfied&&u.linkedConnectionId){let a;e[48]!==r?(a=r("commerceOnboarding.connectSourceDialog.loading"),e[48]=r,e[49]=a):a=e[49];let p;e[50]!==a?(p=l.jsx(F,{label:a}),e[50]=a,e[51]=p):p=e[51];let j;e[52]!==i||e[53]!==p?(j=l.jsx($,{onClose:i,children:p}),e[52]=i,e[53]=p,e[54]=j):j=e[54];let v;e[55]!==i?(v=w=>!w&&i(),e[55]=i,e[56]=v):v=e[56];let D;e[57]!==u||e[58]!==t||e[59]!==n||e[60]!==s||e[61]!==v?(D=l.jsx(Ie,{card:u,org:t,selfClient:n,connectionId:u.linkedConnectionId,contextSiteUrl:s,open:!0,onOpenChange:v}),e[57]=u,e[58]=t,e[59]=n,e[60]=s,e[61]=v,e[62]=D):D=e[62];let y;return e[63]!==j||e[64]!==D?(y=l.jsx(L.Suspense,{fallback:j,children:D}),e[63]=j,e[64]=D,e[65]=y):y=e[65],y}const R=O===u.fieldKey;let E;e[66]!==u||e[67]!==x?(E=()=>{x(u)},e[66]=u,e[67]=x,e[68]=E):E=e[68];let P;return e[69]!==u||e[70]!==T||e[71]!==i||e[72]!==R||e[73]!==E?(P=l.jsx(Oe,{card:u,connecting:R,error:T,onConnect:E,onClose:i}),e[69]=u,e[70]=T,e[71]=i,e[72]=R,e[73]=E,e[74]=P):P=e[74],P}function Oe(b){const e=U.c(22),{card:o,connecting:i,error:r,onConnect:t,onClose:m}=b,c=B(),[d,n]=L.useState(!1);d||(n(!0),queueMicrotask(t));let f;e[0]!==i||e[1]!==m?(f=N=>{!N&&i||N||m()},e[0]=i,e[1]=m,e[2]=f):f=e[2];let g;e[3]!==o.icon||e[4]!==o.title?(g=l.jsx(Ne,{icon:o.icon,name:o.title,size:"sm",fit:"contain",className:"p-1"}),e[3]=o.icon,e[4]=o.title,e[5]=g):g=e[5];let h;e[6]!==o.title?(h=l.jsx(G,{className:"min-w-0 flex-1",children:o.title}),e[6]=o.title,e[7]=h):h=e[7];let s;e[8]!==g||e[9]!==h?(s=l.jsxs(W,{className:"flex-row items-center gap-3 space-y-0 text-left",children:[g,h]}),e[8]=g,e[9]=h,e[10]=s):s=e[10];let S;e[11]!==o.title||e[12]!==r||e[13]!==t||e[14]!==c?(S=r?l.jsxs("div",{className:"flex flex-col gap-3",children:[l.jsx("p",{role:"alert",className:"text-sm text-destructive",children:r}),l.jsx(ee,{type:"button",variant:"outline",size:"sm",className:"self-start",onClick:t,children:c("routes.commerceOnboarding.companionSection.retry")})]}):l.jsx(F,{label:c("commerceOnboarding.connectSourceDialog.connecting",{title:o.title})}),e[11]=o.title,e[12]=r,e[13]=t,e[14]=c,e[15]=S):S=e[15];let C;e[16]!==s||e[17]!==S?(C=l.jsxs(J,{"aria-describedby":void 0,className:"sm:max-w-lg",children:[s,S]}),e[16]=s,e[17]=S,e[18]=C):C=e[18];let I;return e[19]!==f||e[20]!==C?(I=l.jsx(Q,{open:!0,onOpenChange:f,children:C}),e[19]=f,e[20]=C,e[21]=I):I=e[21],I}const Ee={};function Pe(b){const e=U.c(43),{client:o,resourceURI:i,tool:r,connectionId:t,orgId:m,args:c}=b,{sendMessage:d}=de(),{setAppContext:n,clearAppContext:f}=fe(),{openSidePanel:g,openTab:h}=ue(),s=`${t}:${r.name}`,[S,C]=L.useState(null);let I;e[0]!==h?(I=A=>A==="inline"?(h("0"),"inline"):"fullscreen",e[0]=h,e[1]=I):I=e[1];const N=I,x=c??Ee;let O;e[2]!==o||e[3]!==r.name||e[4]!==x?(O={client:o,toolName:r.name,toolArguments:x},e[2]=o,e[3]=r.name,e[4]=x,e[5]=O):O=e[5];const{data:T}=le(O);let M;if(e[6]!==r._meta||e[7]!==r.name){const A=q(r._meta);M=H(r.name,A),e[6]=r._meta,e[7]=r.name,e[8]=M}else M=e[8];const u=M;let _;e[9]!==r.inputSchema?(_=r.inputSchema??{type:"object"},e[9]=r.inputSchema,e[10]=_):_=e[10];let R;e[11]!==u||e[12]!==_||e[13]!==r?(R={...r,name:u,inputSchema:_},e[11]=u,e[12]=_,e[13]=r,e[14]=R):R=e[14];const E=R;let P;e[15]!==g||e[16]!==h||e[17]!==d?(P=A=>{const k=Me(A.content);if(k.isNavigate){k.tab==="connect-sources"&&k.field?C(k.field):k.tab&&h(k.tab);return}const V=me(A.content);V.content.length>0&&(g("chat"),d({tiptapDoc:V}))},e[15]=g,e[16]=h,e[17]=d,e[18]=P):P=e[18];const a=P;let p;e[19]!==E?(p={tool:E},e[19]=E,e[20]=p):p=e[20];let j;e[21]!==n||e[22]!==s?(j=A=>n(s,A),e[21]=n,e[22]=s,e[23]=j):j=e[23];let v;e[24]!==f||e[25]!==s?(v=()=>f(s),e[24]=f,e[25]=s,e[26]=v):v=e[26];let D;e[27]!==o||e[28]!==a||e[29]!==N||e[30]!==m||e[31]!==i||e[32]!==p||e[33]!==j||e[34]!==v||e[35]!==x||e[36]!==T?(D=l.jsx(pe,{resourceURI:i,orgId:m,toolInfo:p,toolInput:x,toolResult:T,displayMode:"fullscreen",minHeight:Y.fullscreen.minHeight,maxHeight:Y.fullscreen.maxHeight,client:o,onMessage:a,onUpdateModelContext:j,onTeardown:v,onRequestDisplayMode:N,className:"h-full"}),e[27]=o,e[28]=a,e[29]=N,e[30]=m,e[31]=i,e[32]=p,e[33]=j,e[34]=v,e[35]=x,e[36]=T,e[37]=D):D=e[37];let y;e[38]!==S?(y=S&&l.jsx(_e,{field:S,onClose:()=>C(null)}),e[38]=S,e[39]=y):y=e[39];let w;return e[40]!==D||e[41]!==y?(w=l.jsxs(l.Fragment,{children:[D,y]}),e[40]=D,e[41]=y,e[42]=w):w=e[42],w}function Ci(b){const e=U.c(24),{connectionId:o,toolName:i,args:r}=b,{org:t}=K(),m=ce();let c;e[0]!==o||e[1]!==m?(c=se(o)&&m.vmEntry?.sandboxProviderKind==="user-desktop"&&m.previewUrl?`${m.previewUrl.replace(/\/+$/,"")}/api/mcp`:void 0,e[0]=o,e[1]=m,e[2]=c):c=e[2];const d=c;let n;e[3]!==o||e[4]!==d||e[5]!==t.id||e[6]!==t.slug?(n={connectionId:o,orgId:t.id,orgSlug:t.slug,mcpUrl:d},e[3]=o,e[4]=d,e[5]=t.id,e[6]=t.slug,e[7]=n):n=e[7];const f=z(n);let g;e[8]!==f?(g={client:f},e[8]=f,e[9]=g):g=e[9];const{data:h}=ne(g);let s,S,C;e[10]!==i||e[11]!==h.tools?(s=oe(decodeURIComponent(i)),C=h.tools.find(x=>x.name===s)??h.tools.find(x=>{const O=q(x._meta);if(!O)return!1;if(H(x.name,O)===s)return!0;const M=H(s,O);return M!==s&&x.name===M}),S=C?._meta?ae(C._meta):void 0,e[10]=i,e[11]=h.tools,e[12]=s,e[13]=S,e[14]=C):(s=e[12],S=e[13],C=e[14]);const I=S;if(!C||!I){let x;return e[15]!==s?(x=l.jsx("div",{className:"flex items-center justify-center h-full w-full",children:l.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',s,'" not found or has no UI']})}),e[15]=s,e[16]=x):x=e[16],x}let N;return e[17]!==r||e[18]!==f||e[19]!==o||e[20]!==t.id||e[21]!==I||e[22]!==C?(N=l.jsx(Pe,{client:f,resourceURI:I,tool:C,connectionId:o,orgId:t.id,args:r}),e[17]=r,e[18]=f,e[19]=o,e[20]=t.id,e[21]=I,e[22]=C,e[23]=N):N=e[23],N}export{Ci as AppViewContent};
@@ -0,0 +1 @@
1
+ import{c as B,b as L,j as r}from"./index-eMuSvnay.js";import{I as A}from"./input-CzXHUUzJ.js";import{L as F}from"./label-C-f36Ery.js";import{S as R,a as z,b as O,c as V,d as D}from"./select-Cf3o4e13.js";import{T as G}from"./textarea-BUU8Uzj2.js";import{G as J,U as M,K as U,W,a1 as $}from"./index-CxZcM7iI.js";import{s as P}from"./primitives-BhZ-HVLG.js";import{u as q}from"./use-autosave-xiJNpL3o.js";import"./Check-DPWJue1l.js";import"./ChevronDown-Bchtg7Ey.js";import"./ChevronUp-CJaWrIn8.js";import"./ArrowUp-BfWB8MD1.js";import"./chat-context-BSlnS4lO.js";import"./tab-id-BupMUSAp.js";import"./dialog-CRgUvUGD.js";import"./Copy01-C1V4JSjm.js";import"./Download01-B8eccotb.js";import"./session-runtime-wVXsCwcJ.js";import"./hooks-BMvgJI-g.js";import"./use-mcp-client-DMgRONuR.js";import"./constants-_08zpzmT.js";import"./auth-BbVa1hsz.js";import"./decopilot-sse-pool-CnQZuU8U.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-M6mi7VuQ.js";import"./use-ai-providers-BJFNFBW8.js";import"./use-decopilot-events-DS-28zR1.js";import"./use-organization-settings-KBGKqIJR.js";import"./automation-runs-BQ0Iu53B.js";import"./agent-icon-BUsh3oGt.js";import"./AlertCircle-rzbi7fmi.js";import"./Tool01-DYiLYfEf.js";import"./ArrowLeft-D-nEST6C.js";import"./Tool02-53gDBxa-.js";import"./XCircle-VjO5lI8H.js";import"./TrendUp01-CHalSWAC.js";import"./ZapSquare-CSYRxph5.js";import"./Users03-Ckv8dpNK.js";import"./CheckCircle-CzbHy_NQ.js";import"./ChevronRight-ywp7R8fi.js";import"./ChevronSelectorVertical-fzOl_PXo.js";import"./DotsVertical-CtCazyXg.js";import"./Stars02-CQidlt1A.js";import"./UserSquare-BK8-agqd.js";import"./CreditCard01-BgWLt525.js";import"./Settings02-DdRb7E0Q.js";import"./Eye-CVdFbQPq.js";import"./FilterLines-CHSA0Ovv.js";import"./Share07-Cx9rW-3h.js";import"./Globe01-C4uOnzpB.js";import"./Globe04-4ZySY2dL.js";import"./SwitchHorizontal01-BBS3aq1G.js";import"./HardDrive-BpDqLmKr.js";import"./Key01-CIlMRmOa.js";import"./LinkExternal01-BnF74p76.js";import"./LockUnlocked01-CFo18Geo.js";import"./LogOut01-mY61xNf_.js";import"./Monitor01-DRcJh9rJ.js";import"./Sun-CedAoEhV.js";import"./Palette-Dyv90Vji.js";import"./Play-DHTGlq1Y.js";import"./Plus-BBG-uYzF.js";import"./SearchLg-3Irji4Em.js";import"./SearchMd-BiEg7og4.js";import"./Shield01-Dj1i5rRJ.js";import"./Stars01-DsEuNQa4.js";import"./Trash01-hrM9uQgS.js";import"./Upload01-DgdhEYC-.js";import"./User01-9rQwsqCE.js";import"./Users01-CBrs1-WF.js";import"./XClose-BivECxO7.js";import"./Zap-Cnsys2Wq.js";import"./useInfiniteQuery-BUqQM02C.js";import"./use-infinite-scroll-DING_ypo.js";import"./use-connection-CrWZq_Ri.js";import"./table-ByGDNySe.js";import"./empty-state-nAEi4fmW.js";import"./use-members-D74i7CK7.js";import"./use-org-auth-client-DGlgRRC_.js";import"./use-clock-tick-BY6Y0vZc.js";import"./use-automations-CJu_L57g.js";import"./useSuspenseInfiniteQuery-DtiiRZ-l.js";import"./avatar-CffKfcxD.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-X4stx05l.js";import"./monaco-editor-DXWGpYdI.js";import"./spinner-CeAynGXW.js";import"./types-CWfqP-B-.js";import"./shell-layout-DPDTGLA3.js";import"./required-auth-layout-D7eBvpct.js";import"./use-org-sso-DIKj2vIX.js";import"./integration-icon-UAHcQu3Y.js";import"./use-navigate-to-agent-D-PAXyxX.js";import"./reusable-new-chat-CzvRy4Pe.js";import"./chart-CQDerfwb.js";import"./index-CRX5z-Jb.js";import"./form-CkF9Gll6.js";import"./file-type-icon-BxCMRXC7.js";import"./drawer-B5fFyIgX.js";import"./collection-search-D5bU0Mny.js";import"./tabs-YXze6Pex.js";import"./toggle-group-5udoaIQ7.js";import"./use-commerce-diagnostic-DogDSREs.js";import"./popover-OOnmalBV.js";import"./self-tool-result-BawREriG.js";import"./alert-dialog-hhGN1kzx.js";import"./extract-connection-data-D3s8EYsm.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-CMPWtdMv.js";import"./use-debounced-value-pQUbNH4F.js";import"./authenticate-and-persist-oauth-BW7lPmR8.js";import"./mcp-oauth-EpOxhfnN.js";import"./track-x1Ue_gqj.js";import"./toolbar-jStDQiC9.js";import"./github-repo-picker-uCh44L_P.js";import"./use-mcp-tools-CrszPH3e.js";import"./agent-capabilities-C4tLW0Za.js";import"./connection-card-BxOv_0Pb.js";import"./use-registry-connections-B0WaaMcP.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-DwrLlCes.js";import"./collection-tabs-DSNouQYO.js";import"./badge-DdvBiEJO.js";import"./command-DO658f9K.js";import"./index-DGbNQLI2.js";import"./select-model-B7Rf8Feb.js";import"./checkbox-DvnU-G5n.js";import"./ai-providers-logos-DD3qZ33J.js";import"./cards-BImfAb5p.js";import"./dropdown-menu-C0p1X71u.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CTsRBUIT.js";import"./use-file-configs-bqn0DQl-.js";import"./pt-BR-CLy76QW2.js";import"./switch-EyKGbAqJ.js";import"./use-debounced-autosave-C2GBWe-g.js";import"./search-input-Dv3_1Uvp.js";import"./index-C7yUTQLC.js";import"./use-secrets-Cv3PcVUL.js";import"./AreaChart-CuKqt6_P.js";import"./task-key-D6-3eaXs.js";import"./use-tags-DB9UyYAF.js";import"./get-initials-D-f_fDFw.js";import"./automation-list-row-6SRFf-_b.js";import"./use-org-repo-syncs-L_Q9jn6Z.js";const H={authors:[{key:"name",labelKey:"sandbox.recordEditor.fieldName",widget:"text"},{key:"type",labelKey:"sandbox.recordEditor.fieldType",widget:"select",options:[{value:"Person",labelKey:"sandbox.recordEditor.optionPerson"},{value:"Organization",labelKey:"sandbox.recordEditor.optionOrganization"}]},{key:"email",labelKey:"sandbox.recordEditor.fieldEmail",widget:"text",placeholderKey:"sandbox.recordEditor.placeholderEmail"},{key:"jobTitle",labelKey:"sandbox.recordEditor.fieldJobTitle",widget:"text"},{key:"company",labelKey:"sandbox.recordEditor.fieldCompany",widget:"text"},{key:"avatar",labelKey:"sandbox.recordEditor.fieldAvatar",widget:"image"}]},Q={authors:"sandbox.recordEditor.titleAuthor"};function Or(I){const t=B.c(39),{orgSlug:E,virtualMcpId:K,branch:w,kind:a,blockKey:b,block:f}=I,i=L();let h;t[0]!==w||t[1]!==E||t[2]!==K?(h={orgSlug:E,virtualMcpId:K,branch:w},t[0]=w,t[1]=E,t[2]=K,t[3]=h):h=t[3];const p=J(h);let g;t[4]!==f||t[5]!==a?(g=M(f,a),t[4]=f,t[5]=a,t[6]=g):g=t[6];const C=g;let k;t[7]!==b||t[8]!==a||t[9]!==p?(k=l=>{p.mutate({blockKey:b,data:W(b,a,l)})},t[7]=b,t[8]=a,t[9]=p,t[10]=k):k=t[10];const[e,S]=q(C,k);let v;t[11]!==e||t[12]!==S?(v=(l,o)=>S({...e,[l]:o}),t[11]=e,t[12]=S,t[13]=v):v=t[13];const s=v,N=Q[a];let n;t[14]!==i||t[15]!==N?(n=i(N),t[14]=i,t[15]=N,t[16]=n):n=t[16];let c;t[17]!==n?(c=r.jsx("span",{className:"text-sm font-medium",children:n}),t[17]=n,t[18]=c):c=t[18];let d;t[19]!==p.isError||t[20]!==p.isPending?(d=r.jsx(U,{isPending:p.isPending,isError:p.isError}),t[19]=p.isError,t[20]=p.isPending,t[21]=d):d=t[21];let y;t[22]!==c||t[23]!==d?(y=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[c,d]}),t[22]=c,t[23]=d,t[24]=y):y=t[24];const T=H[a];let x;if(t[25]!==e||t[26]!==s||t[27]!==i||t[28]!==T){let l;t[30]!==e||t[31]!==s||t[32]!==i?(l=o=>r.jsx("div",{className:"space-y-2",children:o.widget==="image"?r.jsx($,{schema:{type:"string",format:"image-uri",title:i(o.labelKey)},value:e[o.key],onChange:m=>s(o.key,m),path:o.key,label:i(o.labelKey)}):o.widget==="select"?r.jsxs(r.Fragment,{children:[r.jsx(F,{htmlFor:o.key,children:i(o.labelKey)}),r.jsxs(R,{value:P(e[o.key])||o.options?.[0]?.value,onValueChange:m=>s(o.key,m),children:[r.jsx(z,{id:o.key,className:"h-10 w-full",children:r.jsx(O,{placeholder:i(o.labelKey)})}),r.jsx(V,{children:(o.options??[]).map(m=>r.jsx(D,{value:m.value,children:i(m.labelKey)},m.value))})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(F,{htmlFor:o.key,children:i(o.labelKey)}),o.widget==="textarea"?r.jsx(G,{id:o.key,value:P(e[o.key]),onChange:m=>s(o.key,m.target.value),rows:3}):r.jsx(A,{id:o.key,value:P(e[o.key]),placeholder:o.placeholderKey?i(o.placeholderKey):void 0,onChange:m=>s(o.key,m.target.value),className:"h-10"})]})},o.key),t[30]=e,t[31]=s,t[32]=i,t[33]=l):l=t[33],x=T.map(l),t[25]=e,t[26]=s,t[27]=i,t[28]=T,t[29]=x}else x=t[29];let u;t[34]!==x?(u=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:x})}),t[34]=x,t[35]=u):u=t[35];let j;return t[36]!==u||t[37]!==y?(j=r.jsxs("div",{className:"flex h-full flex-col",children:[y,u]}),t[36]=u,t[37]=y,t[38]=j):j=t[38],j}export{Or as RecordEditor};
@@ -0,0 +1 @@
1
+ import{c as pt,b as at,j as r}from"./index-eMuSvnay.js";import{C as ct}from"./checkbox-DvnU-G5n.js";import{I as rt}from"./input-CzXHUUzJ.js";import{L as et}from"./label-C-f36Ery.js";import{d as dt,a as nt,b as ft,c as xt,S as ht}from"./select-Cf3o4e13.js";import{G as ut,bB as bt,K as yt,bC as jt,bD as vt}from"./index-CxZcM7iI.js";import{u as gt}from"./use-autosave-xiJNpL3o.js";import"./Check-DPWJue1l.js";import"./ChevronDown-Bchtg7Ey.js";import"./ChevronUp-CJaWrIn8.js";import"./ArrowUp-BfWB8MD1.js";import"./chat-context-BSlnS4lO.js";import"./tab-id-BupMUSAp.js";import"./dialog-CRgUvUGD.js";import"./Copy01-C1V4JSjm.js";import"./Download01-B8eccotb.js";import"./session-runtime-wVXsCwcJ.js";import"./hooks-BMvgJI-g.js";import"./use-mcp-client-DMgRONuR.js";import"./constants-_08zpzmT.js";import"./auth-BbVa1hsz.js";import"./decopilot-sse-pool-CnQZuU8U.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-M6mi7VuQ.js";import"./use-ai-providers-BJFNFBW8.js";import"./use-decopilot-events-DS-28zR1.js";import"./use-organization-settings-KBGKqIJR.js";import"./automation-runs-BQ0Iu53B.js";import"./agent-icon-BUsh3oGt.js";import"./AlertCircle-rzbi7fmi.js";import"./Tool01-DYiLYfEf.js";import"./ArrowLeft-D-nEST6C.js";import"./Tool02-53gDBxa-.js";import"./XCircle-VjO5lI8H.js";import"./TrendUp01-CHalSWAC.js";import"./ZapSquare-CSYRxph5.js";import"./Users03-Ckv8dpNK.js";import"./CheckCircle-CzbHy_NQ.js";import"./ChevronRight-ywp7R8fi.js";import"./ChevronSelectorVertical-fzOl_PXo.js";import"./DotsVertical-CtCazyXg.js";import"./Stars02-CQidlt1A.js";import"./UserSquare-BK8-agqd.js";import"./CreditCard01-BgWLt525.js";import"./Settings02-DdRb7E0Q.js";import"./Eye-CVdFbQPq.js";import"./FilterLines-CHSA0Ovv.js";import"./Share07-Cx9rW-3h.js";import"./Globe01-C4uOnzpB.js";import"./Globe04-4ZySY2dL.js";import"./SwitchHorizontal01-BBS3aq1G.js";import"./HardDrive-BpDqLmKr.js";import"./Key01-CIlMRmOa.js";import"./LinkExternal01-BnF74p76.js";import"./LockUnlocked01-CFo18Geo.js";import"./LogOut01-mY61xNf_.js";import"./Monitor01-DRcJh9rJ.js";import"./Sun-CedAoEhV.js";import"./Palette-Dyv90Vji.js";import"./Play-DHTGlq1Y.js";import"./Plus-BBG-uYzF.js";import"./SearchLg-3Irji4Em.js";import"./SearchMd-BiEg7og4.js";import"./Shield01-Dj1i5rRJ.js";import"./Stars01-DsEuNQa4.js";import"./Trash01-hrM9uQgS.js";import"./Upload01-DgdhEYC-.js";import"./User01-9rQwsqCE.js";import"./Users01-CBrs1-WF.js";import"./XClose-BivECxO7.js";import"./Zap-Cnsys2Wq.js";import"./useInfiniteQuery-BUqQM02C.js";import"./use-infinite-scroll-DING_ypo.js";import"./use-connection-CrWZq_Ri.js";import"./table-ByGDNySe.js";import"./empty-state-nAEi4fmW.js";import"./use-members-D74i7CK7.js";import"./use-org-auth-client-DGlgRRC_.js";import"./use-clock-tick-BY6Y0vZc.js";import"./use-automations-CJu_L57g.js";import"./useSuspenseInfiniteQuery-DtiiRZ-l.js";import"./avatar-CffKfcxD.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-X4stx05l.js";import"./monaco-editor-DXWGpYdI.js";import"./spinner-CeAynGXW.js";import"./types-CWfqP-B-.js";import"./shell-layout-DPDTGLA3.js";import"./required-auth-layout-D7eBvpct.js";import"./use-org-sso-DIKj2vIX.js";import"./integration-icon-UAHcQu3Y.js";import"./use-navigate-to-agent-D-PAXyxX.js";import"./reusable-new-chat-CzvRy4Pe.js";import"./chart-CQDerfwb.js";import"./index-CRX5z-Jb.js";import"./form-CkF9Gll6.js";import"./file-type-icon-BxCMRXC7.js";import"./drawer-B5fFyIgX.js";import"./collection-search-D5bU0Mny.js";import"./tabs-YXze6Pex.js";import"./toggle-group-5udoaIQ7.js";import"./use-commerce-diagnostic-DogDSREs.js";import"./popover-OOnmalBV.js";import"./self-tool-result-BawREriG.js";import"./alert-dialog-hhGN1kzx.js";import"./extract-connection-data-D3s8EYsm.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-CMPWtdMv.js";import"./use-debounced-value-pQUbNH4F.js";import"./authenticate-and-persist-oauth-BW7lPmR8.js";import"./mcp-oauth-EpOxhfnN.js";import"./track-x1Ue_gqj.js";import"./toolbar-jStDQiC9.js";import"./github-repo-picker-uCh44L_P.js";import"./use-mcp-tools-CrszPH3e.js";import"./agent-capabilities-C4tLW0Za.js";import"./connection-card-BxOv_0Pb.js";import"./use-registry-connections-B0WaaMcP.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BUU8Uzj2.js";import"./connection-form-helpers-DwrLlCes.js";import"./collection-tabs-DSNouQYO.js";import"./badge-DdvBiEJO.js";import"./command-DO658f9K.js";import"./index-DGbNQLI2.js";import"./select-model-B7Rf8Feb.js";import"./ai-providers-logos-DD3qZ33J.js";import"./cards-BImfAb5p.js";import"./dropdown-menu-C0p1X71u.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CTsRBUIT.js";import"./use-file-configs-bqn0DQl-.js";import"./pt-BR-CLy76QW2.js";import"./switch-EyKGbAqJ.js";import"./use-debounced-autosave-C2GBWe-g.js";import"./search-input-Dv3_1Uvp.js";import"./index-C7yUTQLC.js";import"./use-secrets-Cv3PcVUL.js";import"./AreaChart-CuKqt6_P.js";import"./task-key-D6-3eaXs.js";import"./use-tags-DB9UyYAF.js";import"./get-initials-D-f_fDFw.js";import"./automation-list-row-6SRFf-_b.js";import"./use-org-repo-syncs-L_Q9jn6Z.js";const Et=[{value:"temporary",labelKey:"sandbox.redirectEditor.typeTemporary"},{value:"permanent",labelKey:"sandbox.redirectEditor.typePermanent"}];function ai(it){const t=pt.c(106),{orgSlug:H,virtualMcpId:J,branch:W,blockKey:X,block:Z}=it,e=at();let V;t[0]!==W||t[1]!==H||t[2]!==J?(V={orgSlug:H,virtualMcpId:J,branch:W},t[0]=W,t[1]=H,t[2]=J,t[3]=V):V=t[3];const s=ut(V);let G;t[4]!==Z?(G=bt(Z),t[4]=Z,t[5]=G):G=t[5];const ot=G;let M;t[6]!==X||t[7]!==s?(M=i=>{s.mutate({blockKey:X,data:vt(i)})},t[6]=X,t[7]=s,t[8]=M):M=t[8];const[o,tt]=gt(ot,M);let Y;t[9]!==o||t[10]!==tt?(Y=i=>tt({...o,...i}),t[9]=o,t[10]=tt,t[11]=Y):Y=t[11];const m=Y;let l;t[12]!==e?(l=e("sandbox.redirectEditor.title"),t[12]=e,t[13]=l):l=t[13];let p;t[14]!==l?(p=r.jsx("span",{className:"text-sm font-medium",children:l}),t[14]=l,t[15]=p):p=t[15];let a;t[16]!==s.isError||t[17]!==s.isPending?(a=r.jsx(yt,{isPending:s.isPending,isError:s.isError}),t[16]=s.isError,t[17]=s.isPending,t[18]=a):a=t[18];let c;t[19]!==p||t[20]!==a?(c=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[p,a]}),t[19]=p,t[20]=a,t[21]=c):c=t[21];let d;t[22]!==e?(d=e("sandbox.redirectEditor.fromLabel"),t[22]=e,t[23]=d):d=t[23];let n;t[24]!==d?(n=r.jsx(et,{htmlFor:"redirect-from",children:d}),t[24]=d,t[25]=n):n=t[25];const mt=o.from;let f;t[26]!==e?(f=e("sandbox.redirectEditor.fromPlaceholder"),t[26]=e,t[27]=f):f=t[27];let x;t[28]!==m?(x=i=>m({from:i.target.value}),t[28]=m,t[29]=x):x=t[29];let h;t[30]!==o.from||t[31]!==f||t[32]!==x?(h=r.jsx(rt,{id:"redirect-from",value:mt,placeholder:f,onChange:x,className:"h-10"}),t[30]=o.from,t[31]=f,t[32]=x,t[33]=h):h=t[33];let u;t[34]!==e?(u=e("sandbox.redirectEditor.fromDescription"),t[34]=e,t[35]=u):u=t[35];let b;t[36]!==u?(b=r.jsx("p",{className:"text-xs text-muted-foreground",children:u}),t[36]=u,t[37]=b):b=t[37];let y;t[38]!==n||t[39]!==h||t[40]!==b?(y=r.jsxs("div",{className:"space-y-2",children:[n,h,b]}),t[38]=n,t[39]=h,t[40]=b,t[41]=y):y=t[41];let j;t[42]!==e?(j=e("sandbox.redirectEditor.toLabel"),t[42]=e,t[43]=j):j=t[43];let v;t[44]!==j?(v=r.jsx(et,{htmlFor:"redirect-to",children:j}),t[44]=j,t[45]=v):v=t[45];const st=o.to;let g;t[46]!==e?(g=e("sandbox.redirectEditor.toPlaceholder"),t[46]=e,t[47]=g):g=t[47];let E;t[48]!==m?(E=i=>m({to:i.target.value}),t[48]=m,t[49]=E):E=t[49];let P;t[50]!==o.to||t[51]!==g||t[52]!==E?(P=r.jsx(rt,{id:"redirect-to",value:st,placeholder:g,onChange:E,className:"h-10"}),t[50]=o.to,t[51]=g,t[52]=E,t[53]=P):P=t[53];let N;t[54]!==e?(N=e("sandbox.redirectEditor.toDescription"),t[54]=e,t[55]=N):N=t[55];let S;t[56]!==N?(S=r.jsx("p",{className:"text-xs text-muted-foreground",children:N}),t[56]=N,t[57]=S):S=t[57];let C;t[58]!==v||t[59]!==P||t[60]!==S?(C=r.jsxs("div",{className:"space-y-2",children:[v,P,S]}),t[58]=v,t[59]=P,t[60]=S,t[61]=C):C=t[61];let T;t[62]!==e?(T=e("sandbox.redirectEditor.typeLabel"),t[62]=e,t[63]=T):T=t[63];let k;t[64]!==T?(k=r.jsx(et,{htmlFor:"redirect-type",children:T}),t[64]=T,t[65]=k):k=t[65];const lt=o.type;let w;t[66]!==m?(w=i=>m({type:i}),t[66]=m,t[67]=w):w=t[67];let R;t[68]!==e?(R=e("sandbox.redirectEditor.typePlaceholder"),t[68]=e,t[69]=R):R=t[69];let I;t[70]!==R?(I=r.jsx(nt,{id:"redirect-type",className:"h-10 w-full",children:r.jsx(ft,{placeholder:R})}),t[70]=R,t[71]=I):I=t[71];let _;t[72]!==e?(_=Et.map(i=>r.jsx(dt,{value:i.value,children:e(i.labelKey,{status:jt[i.value]})},i.value)),t[72]=e,t[73]=_):_=t[73];let K;t[74]!==_?(K=r.jsx(xt,{children:_}),t[74]=_,t[75]=K):K=t[75];let L;t[76]!==o.type||t[77]!==w||t[78]!==I||t[79]!==K?(L=r.jsxs(ht,{value:lt,onValueChange:w,children:[I,K]}),t[76]=o.type,t[77]=w,t[78]=I,t[79]=K,t[80]=L):L=t[80];let $;t[81]===Symbol.for("react.memo_cache_sentinel")?($=r.jsx("strong",{children:"Temporary"}),t[81]=$):$=t[81];let q;t[82]===Symbol.for("react.memo_cache_sentinel")?(q=r.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",$," when the redirect may change;"," ",r.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),t[82]=q):q=t[82];let Q;t[83]!==k||t[84]!==L?(Q=r.jsxs("div",{className:"space-y-2",children:[k,L,q]}),t[83]=k,t[84]=L,t[85]=Q):Q=t[85];let D;t[86]!==m?(D=i=>m({discardQueryParameters:i===!0}),t[86]=m,t[87]=D):D=t[87];let F;t[88]!==o.discardQueryParameters||t[89]!==D?(F=r.jsx(ct,{checked:o.discardQueryParameters,onCheckedChange:D}),t[88]=o.discardQueryParameters,t[89]=D,t[90]=F):F=t[90];let B;t[91]!==e?(B=e("sandbox.redirectEditor.discardQueryParameters"),t[91]=e,t[92]=B):B=t[92];let A;t[93]!==B?(A=r.jsx("span",{className:"text-sm",children:B}),t[93]=B,t[94]=A):A=t[94];let O;t[95]!==F||t[96]!==A?(O=r.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[F,A]}),t[95]=F,t[96]=A,t[97]=O):O=t[97];let U;t[98]!==y||t[99]!==C||t[100]!==Q||t[101]!==O?(U=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[y,C,Q,O]})}),t[98]=y,t[99]=C,t[100]=Q,t[101]=O,t[102]=U):U=t[102];let z;return t[103]!==U||t[104]!==c?(z=r.jsxs("div",{className:"flex h-full flex-col",children:[c,U]}),t[103]=U,t[104]=c,t[105]=z):z=t[105],z}export{ai as RedirectEditor};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-CaPQ8D3m.js","assets/index-eMuSvnay.js","assets/index-DZ9B9lIh.css","assets/Tool02-53gDBxa-.js","assets/CheckCircle-CzbHy_NQ.js","assets/Settings02-DdRb7E0Q.js","assets/use-mcp-client-DMgRONuR.js","assets/constants-_08zpzmT.js","assets/auth-BbVa1hsz.js","assets/useInfiniteQuery-BUqQM02C.js","assets/use-infinite-scroll-DING_ypo.js","assets/badge-DdvBiEJO.js","assets/input-CzXHUUzJ.js","assets/dropdown-menu-C0p1X71u.js","assets/Check-DPWJue1l.js","assets/ChevronRight-ywp7R8fi.js","assets/DotsVertical-CtCazyXg.js","assets/table-ByGDNySe.js","assets/toggle-group-5udoaIQ7.js","assets/use-view-mode-jGpQ2LaX.js","assets/FilterLines-CHSA0Ovv.js","assets/Globe01-C4uOnzpB.js","assets/SearchMd-BiEg7og4.js","assets/dialog-CRgUvUGD.js","assets/AlertCircle-rzbi7fmi.js","assets/Download01-B8eccotb.js","assets/Upload01-DgdhEYC-.js","assets/metadata-dUsYcpuu.js","assets/alert-dialog-hhGN1kzx.js","assets/Trash01-hrM9uQgS.js","assets/label-C-f36Ery.js","assets/select-Cf3o4e13.js","assets/ChevronDown-Bchtg7Ey.js","assets/ChevronUp-CJaWrIn8.js","assets/switch-EyKGbAqJ.js","assets/textarea-BUU8Uzj2.js","assets/ArrowLeft-D-nEST6C.js","assets/XCircle-VjO5lI8H.js","assets/checkbox-DvnU-G5n.js","assets/Eye-CVdFbQPq.js","assets/LinkExternal01-BnF74p76.js","assets/use-copy-X4stx05l.js","assets/Copy01-C1V4JSjm.js","assets/Key01-CIlMRmOa.js","assets/Plus-BBG-uYzF.js","assets/mcp-oauth-EpOxhfnN.js","assets/Play-DHTGlq1Y.js"])))=>i.map(i=>d[i]);
2
+ import{c as i,j as e,r as s,k as a,bc as o}from"./index-eMuSvnay.js";import{R as c}from"./require-capability-CDs1Pl6o.js";import"./access-gate-C37vr7HM.js";import"./capability-load-error-DifEo2uP.js";const n=s.lazy(()=>o(()=>import("./registry-layout-CaPQ8D3m.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,39,40,41,42,43,44,45,46])));function u(){const r=i.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(c,{capability:"registry:manage",area:"the registry",children:e.jsx(s.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{u as default};
@@ -1,4 +1,4 @@
1
- import{c as Z,H as Ne,o as Ae,p as Ue,e as Pe,av as Me,t as V,b as oe,r as q,j as t,B as Q,aT as ge,k as Ye,n as te,aj as Gs,a8 as Qs,a9 as Ys,ab as Ws,bN as Js,bO as Zs}from"./index-DLiSt-zY.js";import{i as ss,a as ps,t as Xs,c as er,n as tr,b as sr}from"./Tool02-xsTmH7TW.js";import{i as We}from"./CheckCircle-Dh96WJYX.js";import{s as Ft,b as rr,i as ir,a as nr}from"./Settings02-DQ6Qx_Qo.js";import{u as Fe}from"./use-mcp-client-BsB3UQx0.js";import{S as Oe,W as or}from"./constants-_08zpzmT.js";import{u as hs}from"./useInfiniteQuery-Tdf3vSzC.js";import{B as H}from"./badge-3w-z2q_R.js";import{I as je}from"./input-CY_6SiUS.js";import{D as ft,a as Ie,b as yt,c as jt,j as rs,k as is,i as ar}from"./dropdown-menu-BRNNpXcy.js";import{c as $t,e as zt,a as Je,d as he,b as Ot,T as fe}from"./table-BM3FdIaA.js";import{T as lr,a as ns}from"./toggle-group-DmafBxKV.js";import{u as cr}from"./use-view-mode-Cecw-Bk2.js";import{a as Bt}from"./DotsVertical-CYMbIa1_.js";import{i as dr}from"./FilterLines-4Qetm1ho.js";import{i as fs}from"./Globe01-CkxIxFjV.js";import{i as ur}from"./SearchMd-B5LTpCxn.js";import{e as vt,d as bt,b as Nt,h as Ct,a as wt,c as _t}from"./dialog-CaTBZV_d.js";import{i as st}from"./AlertCircle-BckADFTN.js";import{n as mr}from"./Download01-C6mH6Z8f.js";import{i as os}from"./Upload01-BBFWsedg.js";import{g as ke,w as Pt}from"./metadata-dUsYcpuu.js";import{c as rt,d as it,b as nt,f as ot,g as at,e as lt,a as ct,A as dt}from"./alert-dialog-B3eneGBp.js";import{s as ut}from"./Trash01-CISu7ukT.js";import{L as le}from"./label-CIfNh86q.js";import{S as gr,a as xr,b as pr,c as hr,d as qt}from"./select-BwLC9-0c.js";import{S as Ge}from"./switch-DBiih54-.js";import{T as Rt}from"./textarea-BYMb5MM5.js";import{i as fr}from"./ArrowLeft-CA4nZ19l.js";import{b as yr,i as jr,a as vr}from"./XCircle-qOGRhnhp.js";import{t as br}from"./ChevronDown-Dm6QJQj5.js";import{n as Nr}from"./ChevronUp-C7jPKNLf.js";import{C as as}from"./checkbox-CTK-987j.js";import{s as ys}from"./Eye-jMpQ7fBE.js";import{n as Cr}from"./LinkExternal01-BYv4_-zq.js";import{u as wr}from"./use-infinite-scroll-DsDG7oFh.js";import{u as Et}from"./use-copy-BeCWcJQD.js";import{i as Lt}from"./Check-D4XLgaN4.js";import{a as At}from"./Copy01-BqCuDnjV.js";import{i as _r}from"./Key01-CzBg_w_E.js";import{s as Pr}from"./Plus-BBdbmkEC.js";import{i as Rr,a as kr}from"./mcp-oauth-DImoLDws.js";import{i as Ir}from"./Play-C9tlPC3I.js";import"./auth-DeQHSbj0.js";import"./ChevronRight-Bbyr31or.js";const Ve="private-registry",Sr=`
1
+ import{c as Z,H as Ne,o as Ae,p as Ue,e as Pe,av as Me,t as V,b as oe,r as q,j as t,B as Q,aT as ge,k as Ye,n as te,aj as Gs,a8 as Qs,a9 as Ys,ab as Ws,bN as Js,bO as Zs}from"./index-eMuSvnay.js";import{i as ss,a as ps,t as Xs,c as er,n as tr,b as sr}from"./Tool02-53gDBxa-.js";import{i as We}from"./CheckCircle-CzbHy_NQ.js";import{s as Ft,b as rr,i as ir,a as nr}from"./Settings02-DdRb7E0Q.js";import{u as Fe}from"./use-mcp-client-DMgRONuR.js";import{S as Oe,W as or}from"./constants-_08zpzmT.js";import{u as hs}from"./useInfiniteQuery-BUqQM02C.js";import{B as H}from"./badge-DdvBiEJO.js";import{I as je}from"./input-CzXHUUzJ.js";import{D as ft,a as Ie,b as yt,c as jt,j as rs,k as is,i as ar}from"./dropdown-menu-C0p1X71u.js";import{c as $t,e as zt,a as Je,d as he,b as Ot,T as fe}from"./table-ByGDNySe.js";import{T as lr,a as ns}from"./toggle-group-5udoaIQ7.js";import{u as cr}from"./use-view-mode-jGpQ2LaX.js";import{a as Bt}from"./DotsVertical-CtCazyXg.js";import{i as dr}from"./FilterLines-CHSA0Ovv.js";import{i as fs}from"./Globe01-C4uOnzpB.js";import{i as ur}from"./SearchMd-BiEg7og4.js";import{e as vt,d as bt,b as Nt,h as Ct,a as wt,c as _t}from"./dialog-CRgUvUGD.js";import{i as st}from"./AlertCircle-rzbi7fmi.js";import{n as mr}from"./Download01-B8eccotb.js";import{i as os}from"./Upload01-DgdhEYC-.js";import{g as ke,w as Pt}from"./metadata-dUsYcpuu.js";import{c as rt,d as it,b as nt,f as ot,g as at,e as lt,a as ct,A as dt}from"./alert-dialog-hhGN1kzx.js";import{s as ut}from"./Trash01-hrM9uQgS.js";import{L as le}from"./label-C-f36Ery.js";import{S as gr,a as xr,b as pr,c as hr,d as qt}from"./select-Cf3o4e13.js";import{S as Ge}from"./switch-EyKGbAqJ.js";import{T as Rt}from"./textarea-BUU8Uzj2.js";import{i as fr}from"./ArrowLeft-D-nEST6C.js";import{b as yr,i as jr,a as vr}from"./XCircle-VjO5lI8H.js";import{t as br}from"./ChevronDown-Bchtg7Ey.js";import{n as Nr}from"./ChevronUp-CJaWrIn8.js";import{C as as}from"./checkbox-DvnU-G5n.js";import{s as ys}from"./Eye-CVdFbQPq.js";import{n as Cr}from"./LinkExternal01-BnF74p76.js";import{u as wr}from"./use-infinite-scroll-DING_ypo.js";import{u as Et}from"./use-copy-X4stx05l.js";import{i as Lt}from"./Check-DPWJue1l.js";import{a as At}from"./Copy01-C1V4JSjm.js";import{i as _r}from"./Key01-CIlMRmOa.js";import{s as Pr}from"./Plus-BBG-uYzF.js";import{i as Rr,a as kr}from"./mcp-oauth-EpOxhfnN.js";import{i as Ir}from"./Play-DHTGlq1Y.js";import"./auth-BbVa1hsz.js";import"./ChevronRight-ywp7R8fi.js";const Ve="private-registry",Sr=`
2
2
  You are an MCP tool tester running automated integration checks.
3
3
 
4
4
  Goal: