decocms 4.86.3 → 4.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/client/assets/{AlertCircle-DLkW-D8r.js → AlertCircle-D-iHyVs7.js} +1 -1
  2. package/dist/client/assets/{AreaChart-CQJC7Yx-.js → AreaChart-Ccl3RkYl.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-DfoEAi42.js → ArrowUp-eD2g1ze5.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-Cao1-uCY.js → ArrowUpRight-BP83i5g7.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-WJlpqtVo.js → CheckCircle-CzBDsKPK.js} +1 -1
  6. package/dist/client/assets/{ChevronDown-C6a2YBvw.js → ChevronDown-CTXYLSaK.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-D3pXmI3r.js → ChevronRight-q5d6uFM5.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-XFdtuA9Y.js → ChevronUp-CeXG3T7Q.js} +1 -1
  9. package/dist/client/assets/{Copy01-BdylCFlV.js → Copy01-wzVXYzx9.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-D9nt5zhx.js → DotsVertical-CTZdcpE4.js} +1 -1
  11. package/dist/client/assets/{Eye-fRpXKX1r.js → Eye-WdF_3F_E.js} +1 -1
  12. package/dist/client/assets/{FilterLines-DP1oBDsZ.js → FilterLines-DMRfuAjb.js} +1 -1
  13. package/dist/client/assets/{Globe01-CBnMNGG-.js → Globe01-D5vFay0B.js} +1 -1
  14. package/dist/client/assets/{Globe04-CzMVsjFV.js → Globe04-DPiqo9h_.js} +1 -1
  15. package/dist/client/assets/{HardDrive-By6kT4xt.js → HardDrive-CNGPngJW.js} +1 -1
  16. package/dist/client/assets/{Image01-CYehtBn3.js → Image01-Cw58gqLC.js} +1 -1
  17. package/dist/client/assets/{Key01-BohuMtcS.js → Key01-BPSSu_cV.js} +1 -1
  18. package/dist/client/assets/{LayoutLeft-RWKgI-n2.js → LayoutLeft-BvkDodd7.js} +1 -1
  19. package/dist/client/assets/{LinkExternal01-BmYA4GJe.js → LinkExternal01-Bzm3X9Eu.js} +1 -1
  20. package/dist/client/assets/{Monitor01-CUURmWax.js → Monitor01-CBCrOQKX.js} +1 -1
  21. package/dist/client/assets/{Package-DFyl5qTZ.js → Package-DuPMq6gF.js} +1 -1
  22. package/dist/client/assets/{Palette-B-XTczsP.js → Palette-8-DoknMu.js} +1 -1
  23. package/dist/client/assets/{Play-BfzR-6lQ.js → Play-W_tyYjyU.js} +1 -1
  24. package/dist/client/assets/{Plus-AqZ-MFgY.js → Plus-ZampjQ1c.js} +1 -1
  25. package/dist/client/assets/{SearchLg-BpghI3L4.js → SearchLg-nCNkDt9b.js} +1 -1
  26. package/dist/client/assets/{SearchMd-DjRWQAGM.js → SearchMd-CzCmM-Mo.js} +1 -1
  27. package/dist/client/assets/{Settings02-CduzvDA8.js → Settings02-DiEGH6SU.js} +1 -1
  28. package/dist/client/assets/{Shield01-DJJM2iQT.js → Shield01-DOZwb0VW.js} +1 -1
  29. package/dist/client/assets/{Star01-DfKNPWS6.js → Star01-CvI4fqP7.js} +1 -1
  30. package/dist/client/assets/{Stars01-B2PKOH-U.js → Stars01-L2SJKBzN.js} +1 -1
  31. package/dist/client/assets/{Stars02-lv2MXLoy.js → Stars02-Be18K_Z8.js} +1 -1
  32. package/dist/client/assets/{Sun-BEjRgK5a.js → Sun-BSbrufjj.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-C8F1WRkU.js → SwitchHorizontal01-BMO_N3oN.js} +1 -1
  34. package/dist/client/assets/{Tool01-nE5tFxaB.js → Tool01-CXL1-1xQ.js} +1 -1
  35. package/dist/client/assets/{Tool02-x-oqE1tt.js → Tool02-DG2uVfj0.js} +1 -1
  36. package/dist/client/assets/{Trash01-DpaEaloO.js → Trash01-BEpWbC-P.js} +1 -1
  37. package/dist/client/assets/{TrendUp01-DWNtp3BE.js → TrendUp01-CaPznoak.js} +1 -1
  38. package/dist/client/assets/{Upload01-D1H-ptv4.js → Upload01-egF7uJFz.js} +1 -1
  39. package/dist/client/assets/{User01-qmV9vxo_.js → User01-Fs0ZC54M.js} +1 -1
  40. package/dist/client/assets/{Users01-D5CKCxGT.js → Users01-DqWrfyY1.js} +1 -1
  41. package/dist/client/assets/{Users03-DMyfJm3j.js → Users03-Dj6va1Tf.js} +1 -1
  42. package/dist/client/assets/{X-Bqyzv9zS.js → X-DGbtz74n.js} +1 -1
  43. package/dist/client/assets/{XCircle-EKf5FEAL.js → XCircle-BntHiGeT.js} +1 -1
  44. package/dist/client/assets/{XClose-BMhViER7.js → XClose-Cgz7gs-U.js} +1 -1
  45. package/dist/client/assets/{Zap-1HGMAluv.js → Zap-1rUhnHCW.js} +1 -1
  46. package/dist/client/assets/{ZapSquare-Bmlcm-uV.js → ZapSquare-BbAUgUmL.js} +1 -1
  47. package/dist/client/assets/{ZoomOut-DXzI2mO9.js → ZoomOut-CczbRBMV.js} +1 -1
  48. package/dist/client/assets/{access-gate-Bh_ni7nO.js → access-gate-I7mC4qxc.js} +1 -1
  49. package/dist/client/assets/{add-section-modal-C3eMH8P8.js → add-section-modal-yVVF_H0I.js} +1 -1
  50. package/dist/client/assets/{agent-icon-CwOWIhBV.js → agent-icon-4OYn2-Xd.js} +1 -1
  51. package/dist/client/assets/{agents-list-BFhoXDb_.js → agents-list-BwrjHaPg.js} +1 -1
  52. package/dist/client/assets/{ai-providers-DhbZJwEE.js → ai-providers-u8MDKa7Y.js} +1 -1
  53. package/dist/client/assets/{alert-TumAgxQl.js → alert-BqZRzHFK.js} +1 -1
  54. package/dist/client/assets/{alert-dialog-CdaqECTU.js → alert-dialog-tDYvnU02.js} +1 -1
  55. package/dist/client/assets/{app-editor-CbMeeK1t.js → app-editor-BKxAk1Go.js} +1 -1
  56. package/dist/client/assets/{auth-Coeo-dwO.js → auth-C-w9gXI2.js} +1 -1
  57. package/dist/client/assets/{auth-catchall-CQBQliI8.js → auth-catchall-dLElGFJf.js} +1 -1
  58. package/dist/client/assets/{auth-entry-BgzNYHuN.js → auth-entry-CdMPp0sV.js} +1 -1
  59. package/dist/client/assets/{auth-split-layout-Dt0CDxkx.js → auth-split-layout-DsF0Bz-b.js} +1 -1
  60. package/dist/client/assets/{authenticate-and-persist-oauth-DpGoKeGK.js → authenticate-and-persist-oauth-DKhmO9CB.js} +1 -1
  61. package/dist/client/assets/{automation-list-row-BpX_XPAP.js → automation-list-row-lB4CIuYy.js} +1 -1
  62. package/dist/client/assets/{automation-runs-C44_ptS5.js → automation-runs-C2IkSzyr.js} +1 -1
  63. package/dist/client/assets/{automations-C3HC8nn_.js → automations-CuuSFd65.js} +1 -1
  64. package/dist/client/assets/{autosend-CswpIeO7.js → autosend-DNq41CeN.js} +1 -1
  65. package/dist/client/assets/{avatar-Cc8GS28z.js → avatar-xlIuyoMc.js} +1 -1
  66. package/dist/client/assets/{badge-Bn9DubCM.js → badge-CZdauhkX.js} +1 -1
  67. package/dist/client/assets/{block-document-UoHa74In.js → block-document-jZB3g7JC.js} +1 -1
  68. package/dist/client/assets/{brand-context-D9hfGpkj.js → brand-context-CTEEMLbg.js} +1 -1
  69. package/dist/client/assets/{buckets-C9Pr_hNB.js → buckets-Dl7WsuGL.js} +1 -1
  70. package/dist/client/assets/{bulk-category-panel-BUk9kn8S.js → bulk-category-panel-CDGMiv5s.js} +1 -1
  71. package/dist/client/assets/{calendar-BqXDgxQh.js → calendar-DA-wtmXd.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-DwdQH6EW.js → capability-load-error-CiaG_I5c.js} +1 -1
  73. package/dist/client/assets/{card-BLPPFux8.js → card-CkwoLH0q.js} +1 -1
  74. package/dist/client/assets/{category-editor-CECt-h9Q.js → category-editor-ZNBiAlMx.js} +1 -1
  75. package/dist/client/assets/{chat-context-C9TaCX5x.js → chat-context-Dphgvmep.js} +1 -1
  76. package/dist/client/assets/{checkbox-BXj0XY72.js → checkbox-_ElG6Efh.js} +1 -1
  77. package/dist/client/assets/{cli-auth-success-B2wne-f-.js → cli-auth-success-NSc8F-Fn.js} +1 -1
  78. package/dist/client/assets/{collection-detail-BMj0JDki.js → collection-detail-gNjQhFCs.js} +1 -1
  79. package/dist/client/assets/{collection-display-button-AgkWNmBQ.js → collection-display-button-Dx6WWuaZ.js} +1 -1
  80. package/dist/client/assets/{collection-search-GMmAfAY-.js → collection-search-CHFEzXDD.js} +1 -1
  81. package/dist/client/assets/{collection-table-wrapper-O8RANcuM.js → collection-table-wrapper-DG5X_kiQ.js} +1 -1
  82. package/dist/client/assets/{collection-tabs-CnxnCNc2.js → collection-tabs-Dldo-wkB.js} +1 -1
  83. package/dist/client/assets/{command-Bzx4Xk3u.js → command-CHlOLrW7.js} +1 -1
  84. package/dist/client/assets/{commerce-onboarding-BoAGdL5f.js → commerce-onboarding-DYYylH17.js} +1 -1
  85. package/dist/client/assets/{companions-core-DB2dXBTZ.js → companions-core-Cy55eNzu.js} +1 -1
  86. package/dist/client/assets/{connect-desktop-dialog--hQnOOgS.js → connect-desktop-dialog-BXvNjr5j.js} +1 -1
  87. package/dist/client/assets/{connection-card-Dt2-auZb.js → connection-card-BvGyMi1d.js} +1 -1
  88. package/dist/client/assets/{connection-detail-CYnuScSl.js → connection-detail-BTFO7_c8.js} +1 -1
  89. package/dist/client/assets/{connection-form-helpers-BFA3bn9M.js → connection-form-helpers-BtW0MONX.js} +1 -1
  90. package/dist/client/assets/{connections-CVT5zxlb.js → connections-CA108L29.js} +1 -1
  91. package/dist/client/assets/{decopilot-sse-pool-BOnG-VTK.js → decopilot-sse-pool-BLZuSHqj.js} +1 -1
  92. package/dist/client/assets/{dialog-D9PywX8D.js → dialog-CuMAjQ08.js} +1 -1
  93. package/dist/client/assets/{domain-settings-BlBFygTS.js → domain-settings-D3-lFU8-.js} +1 -1
  94. package/dist/client/assets/{drawer-CwQ3vz3J.js → drawer-CkUomq8q.js} +1 -1
  95. package/dist/client/assets/{dropdown-menu-oR1-acEm.js → dropdown-menu-C-P3K57C.js} +1 -1
  96. package/dist/client/assets/{empty-state-hMpaRT9l.js → empty-state-DJa-N1zF.js} +1 -1
  97. package/dist/client/assets/{extract-connection-data-BbHf1qdX.js → extract-connection-data-wmFgy-D9.js} +1 -1
  98. package/dist/client/assets/{file-explorer-OFQLSGXu.js → file-explorer-BfOwyd_z.js} +1 -1
  99. package/dist/client/assets/{file-type-icon-qTQhUX4t.js → file-type-icon-ByeIyc-K.js} +1 -1
  100. package/dist/client/assets/{files-DiI3ynoD.js → files-YyIF06rK.js} +1 -1
  101. package/dist/client/assets/{form-CALh8HmI.js → form-CJYslYp3.js} +1 -1
  102. package/dist/client/assets/{general-Ch7pwHR5.js → general-ClOKc1h1.js} +1 -1
  103. package/dist/client/assets/{github-repo-picker-oLy-zM4t.js → github-repo-picker-BmMSB5hV.js} +1 -1
  104. package/dist/client/assets/{hooks-CdBO1JPT.js → hooks-79VbY-Yk.js} +1 -1
  105. package/dist/client/assets/{index-D0sbyEKG.js → index-BViuj3Zp.js} +26 -26
  106. package/dist/client/assets/{index-GJ1EH4uQ.js → index-BcHd9c8O.js} +1 -1
  107. package/dist/client/assets/{index-1orzmCGi.js → index-CDpX4jH_.js} +1 -1
  108. package/dist/client/assets/{index-B5rl5ds7.js → index-CMTGZ4MP.js} +1 -1
  109. package/dist/client/assets/{index-BBegPXW_.js → index-CVV8aCPO.js} +1 -1
  110. package/dist/client/assets/{index-fwjk58vV.js → index-CiZTeCW9.js} +1 -1
  111. package/dist/client/assets/{index-DY1h4rhQ.js → index-Ck9z8hnX.js} +1 -1
  112. package/dist/client/assets/{index-BMwFucLh.js → index-Cuf1heBd.js} +1 -1
  113. package/dist/client/assets/{index-DfHDcJ1o.js → index-Diic5mDN.js} +5 -5
  114. package/dist/client/assets/{index-DwGC9rKI.js → index-Dj2oFgmy.js} +1 -1
  115. package/dist/client/assets/{index-B558NcST.js → index-Dm1_rrM-.js} +1 -1
  116. package/dist/client/assets/{index-redirect-hQX2-Rce.js → index-redirect-D13tqsii.js} +1 -1
  117. package/dist/client/assets/{index-BH0xA84H.js → index-u-MbppEy.js} +2 -2
  118. package/dist/client/assets/{index-BNgkmKMp.js → index-ycUs8pYO.js} +1 -1
  119. package/dist/client/assets/{index-CHDqttl-.js → index-ydjvkSe4.js} +1 -1
  120. package/dist/client/assets/{input-B_aM31ol.js → input-CrWepkq-.js} +1 -1
  121. package/dist/client/assets/{integration-icon-Bif6g46t.js → integration-icon-BxWuhD67.js} +1 -1
  122. package/dist/client/assets/{invite-member-dialog-DgMudun-.js → invite-member-dialog-DL2RtFMz.js} +1 -1
  123. package/dist/client/assets/{label-Dk1mHqTQ.js → label-B_MQ8EmH.js} +1 -1
  124. package/dist/client/assets/{layout-BmF3-tu4.js → layout-Bh9ET4vE.js} +1 -1
  125. package/dist/client/assets/{login-CrYoEOAl.js → login-CFwyfHE1.js} +1 -1
  126. package/dist/client/assets/{mcp-oauth-DjM-Kpes.js → mcp-oauth-Bc8O3CuI.js} +1 -1
  127. package/dist/client/assets/{members-5SJQB4Sv.js → members-CYJM6mf3.js} +1 -1
  128. package/dist/client/assets/{monaco-editor-CV2M6cKI.js → monaco-editor-q-bsxkqg.js} +1 -1
  129. package/dist/client/assets/{monitoring-stats-row-DbGn8xHI.js → monitoring-stats-row-B8qb08Ii.js} +1 -1
  130. package/dist/client/assets/{multi-select-CQ1N-5wi.js → multi-select-F8_rUQV3.js} +1 -1
  131. package/dist/client/assets/{oauth-callback-Dkn42cP9.js → oauth-callback-B3huweeX.js} +1 -1
  132. package/dist/client/assets/{oauth-callback-ai-provider-Bve2i7rU.js → oauth-callback-ai-provider-BCg8yztl.js} +1 -1
  133. package/dist/client/assets/{onboarding-B-JntvsH.js → onboarding-COUoA5La.js} +1 -1
  134. package/dist/client/assets/{org-install-BRjWODGL.js → org-install-BaPrIx_i.js} +1 -1
  135. package/dist/client/assets/{org-layout-rfVbG2a3.js → org-layout-YvTTlrUz.js} +1 -1
  136. package/dist/client/assets/{organization-choice-992DACTN.js → organization-choice-BYuMjNJJ.js} +1 -1
  137. package/dist/client/assets/{orgs-BJPaSRv8.js → orgs-COH51Fif.js} +1 -1
  138. package/dist/client/assets/{page-seo-form-B6XOfrej.js → page-seo-form-4xcxbg8l.js} +1 -1
  139. package/dist/client/assets/page-seo-sheet-BQ52-SOa.js +1 -0
  140. package/dist/client/assets/{popover-Bic83jpq.js → popover-Bk3uS9IT.js} +1 -1
  141. package/dist/client/assets/{post-editor-B9tX1c-T.js → post-editor-CWW940YD.js} +1 -1
  142. package/dist/client/assets/{primitives-BtLUiXpZ.js → primitives-DG56UuNW.js} +1 -1
  143. package/dist/client/assets/profile-DeXBSsqa.js +1 -0
  144. package/dist/client/assets/project-app-view-DGwapzNh.js +1 -0
  145. package/dist/client/assets/record-editor-CXZTKJ4v.js +1 -0
  146. package/dist/client/assets/redirect-editor-BZPlBrTs.js +1 -0
  147. package/dist/client/assets/registry-VMzTzgkI.js +2 -0
  148. package/dist/client/assets/{registry-layout-Oz6-17NZ.js → registry-layout-qvDv8qlK.js} +1 -1
  149. package/dist/client/assets/{reports-ClgV-HmV.js → reports-h68ZYQjg.js} +1 -1
  150. package/dist/client/assets/{require-capability-FLJVcE01.js → require-capability-BkVhJwqT.js} +1 -1
  151. package/dist/client/assets/{required-auth-layout-BEng0Gz1.js → required-auth-layout-BRc364iL.js} +1 -1
  152. package/dist/client/assets/{reset-password-BDbX_Cl9.js → reset-password-CmAIcRLd.js} +1 -1
  153. package/dist/client/assets/{roles-Bcu76g_l.js → roles-DHf5tZNr.js} +1 -1
  154. package/dist/client/assets/{search-input-DeJBzkQ0.js → search-input-o3OcMxgz.js} +1 -1
  155. package/dist/client/assets/{secrets-DaVQFeG2.js → secrets-DFw883M8.js} +1 -1
  156. package/dist/client/assets/{sections-editor-8R6loeY4.js → sections-editor-B4d2859R.js} +1 -1
  157. package/dist/client/assets/{select-model-DGPFFhhz.js → select-model-BvJl1hDq.js} +1 -1
  158. package/dist/client/assets/{select-3Me5H3ZN.js → select-qG9TXgnQ.js} +1 -1
  159. package/dist/client/assets/{self-tool-result-CZFozws7.js → self-tool-result-GW06rT4g.js} +1 -1
  160. package/dist/client/assets/{seo-editor-BLkek6Xo.js → seo-editor-gYWPXJ3u.js} +1 -1
  161. package/dist/client/assets/settings-layout-C5_cYd73.js +1 -0
  162. package/dist/client/assets/{settings-section-B7qvG3Qh.js → settings-section-BmrOBhaa.js} +1 -1
  163. package/dist/client/assets/{shell-controls-DJwkDv3a.js → shell-controls-D3Ljd6hV.js} +1 -1
  164. package/dist/client/assets/{shell-layout-CLvNXOBL.js → shell-layout-DECxtr74.js} +1 -1
  165. package/dist/client/assets/{sidebar-B324pXvQ.js → sidebar-C1px8gXk.js} +1 -1
  166. package/dist/client/assets/{skeleton-D6yK9KZa.js → skeleton-DrZCq-iL.js} +1 -1
  167. package/dist/client/assets/{sso-c73UXhbE.js → sso-BED7UEZe.js} +1 -1
  168. package/dist/client/assets/{store-vCWT1stw.js → store-BlO9022w.js} +1 -1
  169. package/dist/client/assets/store-registry-CjhV9-EG.js +2 -0
  170. package/dist/client/assets/{studio-tools-DSrrLWEf.js → studio-tools-bPAOpcGV.js} +1 -1
  171. package/dist/client/assets/{switch-BVTG0w3B.js → switch-B3m9k2eD.js} +1 -1
  172. package/dist/client/assets/{table-BWGE7qw6.js → table-ChwnWGd-.js} +1 -1
  173. package/dist/client/assets/{tabs-CjAOmC1f.js → tabs-yGShcoAM.js} +1 -1
  174. package/dist/client/assets/{textarea-DO6Uu1Lo.js → textarea-BeRJSbNE.js} +1 -1
  175. package/dist/client/assets/{toggle-group-CrXVJ0nD.js → toggle-group-Tou0VhGL.js} +1 -1
  176. package/dist/client/assets/{toolbar-CBs2Dz8f.js → toolbar-DttPgBTD.js} +1 -1
  177. package/dist/client/assets/{toolbar-icon-button-DCbXweAB.js → toolbar-icon-button-DUiZW1W8.js} +1 -1
  178. package/dist/client/assets/{tooltip-CuCBKir6.js → tooltip-C00IgCuZ.js} +1 -1
  179. package/dist/client/assets/{use-ai-providers-CT7xgD8G.js → use-ai-providers-BycXD_7L.js} +1 -1
  180. package/dist/client/assets/{use-automations-DkWo7Rw_.js → use-automations-Xi6RZR9c.js} +1 -1
  181. package/dist/client/assets/{use-autosave-BbTuMVVl.js → use-autosave-BWtR445L.js} +1 -1
  182. package/dist/client/assets/{use-capability-CAMuRASv.js → use-capability-DjArrWU7.js} +1 -1
  183. package/dist/client/assets/{use-clock-tick-Be3yUDG2.js → use-clock-tick-7UIvH8pN.js} +1 -1
  184. package/dist/client/assets/{use-collections-Dzl2omYQ.js → use-collections-ByB7tifA.js} +1 -1
  185. package/dist/client/assets/{use-connection-CA7WxC0U.js → use-connection-BmsZEZdh.js} +1 -1
  186. package/dist/client/assets/{use-copy-DsmPQU2T.js → use-copy-e8MdZAl7.js} +1 -1
  187. package/dist/client/assets/{use-create-virtual-mcp-Cxvgpd66.js → use-create-virtual-mcp-B-ccFmjp.js} +1 -1
  188. package/dist/client/assets/{use-debounced-autosave-Ts3uSjCz.js → use-debounced-autosave-CdfQISSq.js} +1 -1
  189. package/dist/client/assets/{use-debounced-value-xhDNxkO9.js → use-debounced-value-DOM2DgKp.js} +1 -1
  190. package/dist/client/assets/{use-deco-credits-BhUc46Wi.js → use-deco-credits-2CWebt3c.js} +1 -1
  191. package/dist/client/assets/{use-decopilot-events-44ydXeRP.js → use-decopilot-events-uv0dzzKN.js} +1 -1
  192. package/dist/client/assets/{use-delete-connection-DdNuoT8z.js → use-delete-connection-CK7RqwfE.js} +1 -1
  193. package/dist/client/assets/{use-deployment-admin-DvNp6Ed7.js → use-deployment-admin-DnsEe2pH.js} +1 -1
  194. package/dist/client/assets/{use-file-configs-CMTrcHEd.js → use-file-configs-BIsCTuCw.js} +1 -1
  195. package/dist/client/assets/{use-infinite-scroll-C6v5IfbW.js → use-infinite-scroll-BjMzxbtd.js} +1 -1
  196. package/dist/client/assets/{use-join-requests-C_WiyOQ6.js → use-join-requests-DfcvUtSK.js} +1 -1
  197. package/dist/client/assets/{use-mcp-auth-status-CsTSjPht.js → use-mcp-auth-status-QUWWvgsS.js} +1 -1
  198. package/dist/client/assets/{use-mcp-client-hjy57WVi.js → use-mcp-client-CCBeFzjN.js} +1 -1
  199. package/dist/client/assets/{use-mcp-tools-DsnloDtc.js → use-mcp-tools-DGAtC90c.js} +1 -1
  200. package/dist/client/assets/{use-members-ChlGpgK0.js → use-members-DFXNKZZN.js} +1 -1
  201. package/dist/client/assets/{use-mobile-D3Qy1fCh.js → use-mobile-VzfnI9e8.js} +1 -1
  202. package/dist/client/assets/{use-navigate-to-agent-BsnfDuJC.js → use-navigate-to-agent-IK2-SrV7.js} +1 -1
  203. package/dist/client/assets/{use-org-auth-client-CDvSuJdd.js → use-org-auth-client-BLZyK2ST.js} +1 -1
  204. package/dist/client/assets/{use-org-sso-CDDsV4ZE.js → use-org-sso-B_e2Szhn.js} +1 -1
  205. package/dist/client/assets/{use-organization-roles-BbZw1CEs.js → use-organization-roles-BrK4_ZDl.js} +1 -1
  206. package/dist/client/assets/{use-organization-settings-DQ4wLJOX.js → use-organization-settings-wRIFZUlG.js} +1 -1
  207. package/dist/client/assets/{use-registry-app-CaVngLda.js → use-registry-app-2lK_PnWA.js} +1 -1
  208. package/dist/client/assets/{use-registry-connections-B_hgltJI.js → use-registry-connections-CbHz8uO3.js} +1 -1
  209. package/dist/client/assets/{use-secrets-B3UjccCS.js → use-secrets-BilxCrsw.js} +1 -1
  210. package/dist/client/assets/{use-status-sounds-BtG7EK13.js → use-status-sounds-BJl9VP5P.js} +1 -1
  211. package/dist/client/assets/use-t-BtoDI8fu.js +1 -0
  212. package/dist/client/assets/{use-view-mode-DzNyKydL.js → use-view-mode-CVUVZ-An.js} +1 -1
  213. package/dist/client/assets/{use-virtual-mcp-oO6xj4zJ.js → use-virtual-mcp-BgtJGOyu.js} +1 -1
  214. package/dist/client/assets/useInfiniteQuery-DN_1U3UT.js +1 -0
  215. package/dist/client/assets/{useRouterState-BeOh0j-p.js → useRouterState-Cnghy6l8.js} +1 -1
  216. package/dist/client/assets/useSuspenseInfiniteQuery-BvZ3s7aO.js +1 -0
  217. package/dist/client/assets/{users-qy7d1cxT.js → users-D-g78Wyr.js} +1 -1
  218. package/dist/client/assets/{variant-calendar-BYF7LiDk.js → variant-calendar-Dl9i_mGA.js} +1 -1
  219. package/dist/client/assets/{view-mode-toggle-otcKKx5d.js → view-mode-toggle-h3hlpZPh.js} +1 -1
  220. package/dist/client/index.html +1 -1
  221. package/dist/server/cli.js +1 -2
  222. package/dist/server/server.js +1 -2
  223. package/package.json +1 -1
  224. package/dist/client/assets/page-seo-sheet-D3UpIaxq.js +0 -1
  225. package/dist/client/assets/profile-LcUvlWZI.js +0 -1
  226. package/dist/client/assets/project-app-view-DxV_LdP9.js +0 -1
  227. package/dist/client/assets/record-editor-BFB4KiW2.js +0 -1
  228. package/dist/client/assets/redirect-editor-CpK0gFk-.js +0 -1
  229. package/dist/client/assets/registry-Di7DTHtB.js +0 -2
  230. package/dist/client/assets/settings-layout-BVD8k2Cw.js +0 -1
  231. package/dist/client/assets/store-registry-BzoB_Sag.js +0 -2
  232. package/dist/client/assets/useInfiniteQuery-CIKhe25A.js +0 -1
  233. package/dist/client/assets/useSuspenseInfiniteQuery-CW5e2CbZ.js +0 -1
@@ -0,0 +1 @@
1
+ import{c as it,r as E,j as e,i as rt}from"./index-BViuj3Zp.js";import{m as mt,o as pt,p as st,q as at}from"./sidebar-C1px8gXk.js";import{m as nt}from"./automation-runs-C2IkSzyr.js";import{r as lt,u as ct,a as dt,b as St,i as ft,f as ut,d as vt,P as ht,S as gt}from"./page-seo-form-4xcxbg8l.js";import{r as xt}from"./index-Diic5mDN.js";import"./LayoutLeft-BvkDodd7.js";import"./use-mobile-VzfnI9e8.js";import"./X-DGbtz74n.js";import"./tooltip-C00IgCuZ.js";import"./select-qG9TXgnQ.js";import"./ChevronUp-CeXG3T7Q.js";import"./ChevronDown-CTXYLSaK.js";import"./useInfiniteQuery-DN_1U3UT.js";import"./use-infinite-scroll-BjMzxbtd.js";import"./use-connection-BmsZEZdh.js";import"./use-collections-ByB7tifA.js";import"./use-mcp-client-CCBeFzjN.js";import"./auth-C-w9gXI2.js";import"./use-virtual-mcp-BgtJGOyu.js";import"./card-CkwoLH0q.js";import"./table-ChwnWGd-.js";import"./empty-state-DJa-N1zF.js";import"./use-members-DFXNKZZN.js";import"./use-org-auth-client-BLZyK2ST.js";import"./use-clock-tick-7UIvH8pN.js";import"./AlertCircle-D-iHyVs7.js";import"./CheckCircle-CzBDsKPK.js";import"./DotsVertical-CTZdcpE4.js";import"./agent-icon-4OYn2-Xd.js";import"./Tool01-CXL1-1xQ.js";import"./ArrowUp-eD2g1ze5.js";import"./Settings02-DiEGH6SU.js";import"./Tool02-DG2uVfj0.js";import"./XCircle-BntHiGeT.js";import"./ArrowUpRight-BP83i5g7.js";import"./TrendUp01-CaPznoak.js";import"./ZapSquare-BbAUgUmL.js";import"./ZoomOut-CczbRBMV.js";import"./Users03-Dj6va1Tf.js";import"./ChevronRight-q5d6uFM5.js";import"./Stars02-Be18K_Z8.js";import"./Copy01-wzVXYzx9.js";import"./Globe01-D5vFay0B.js";import"./Eye-WdF_3F_E.js";import"./FilterLines-DMRfuAjb.js";import"./Star01-CvI4fqP7.js";import"./Globe04-DPiqo9h_.js";import"./SwitchHorizontal01-BMO_N3oN.js";import"./HardDrive-CNGPngJW.js";import"./Image01-Cw58gqLC.js";import"./Key01-BPSSu_cV.js";import"./LinkExternal01-Bzm3X9Eu.js";import"./Monitor01-CBCrOQKX.js";import"./Sun-BSbrufjj.js";import"./Package-DuPMq6gF.js";import"./Palette-8-DoknMu.js";import"./Play-W_tyYjyU.js";import"./Plus-ZampjQ1c.js";import"./SearchLg-nCNkDt9b.js";import"./SearchMd-CzCmM-Mo.js";import"./Shield01-DOZwb0VW.js";import"./Stars01-L2SJKBzN.js";import"./Trash01-BEpWbC-P.js";import"./Upload01-egF7uJFz.js";import"./User01-Fs0ZC54M.js";import"./Users01-DqWrfyY1.js";import"./XClose-Cgz7gs-U.js";import"./Zap-1rUhnHCW.js";import"./use-automations-Xi6RZR9c.js";import"./studio-tools-bPAOpcGV.js";import"./useSuspenseInfiniteQuery-BvZ3s7aO.js";import"./avatar-xlIuyoMc.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-e8MdZAl7.js";import"./file-type-icon-ByeIyc-K.js";import"./dialog-CuMAjQ08.js";import"./tab-id-BijBBRwE.js";import"./hooks-79VbY-Yk.js";import"./decopilot-sse-pool-BLZuSHqj.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-Dphgvmep.js";import"./autosend-DNq41CeN.js";import"./use-ai-providers-BycXD_7L.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-uv0dzzKN.js";import"./use-organization-settings-wRIFZUlG.js";import"./monaco-editor-q-bsxkqg.js";import"./index-BcHd9c8O.js";import"./index-Ck9z8hnX.js";import"./calendar-DA-wtmXd.js";import"./shell-layout-DECxtr74.js";import"./required-auth-layout-BRc364iL.js";import"./use-org-sso-B_e2Szhn.js";import"./integration-icon-BxWuhD67.js";import"./use-navigate-to-agent-IK2-SrV7.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ccl3RkYl.js";import"./form-CJYslYp3.js";import"./label-B_MQ8EmH.js";import"./input-CrWepkq-.js";import"./switch-B3m9k2eD.js";import"./drawer-CkUomq8q.js";import"./collection-search-CHFEzXDD.js";import"./index-u-MbppEy.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-2lK_PnWA.js";import"./use-mcp-tools-DGAtC90c.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DKhmO9CB.js";import"./mcp-oauth-Bc8O3CuI.js";import"./extract-connection-data-wmFgy-D9.js";import"./dropdown-menu-C-P3K57C.js";import"./popover-Bk3uS9IT.js";import"./command-CHlOLrW7.js";import"./index-CiZTeCW9.js";import"./tabs-yGShcoAM.js";import"./toggle-group-Tou0VhGL.js";import"./use-deco-credits-2CWebt3c.js";import"./connection-card-BvGyMi1d.js";import"./use-registry-connections-CbHz8uO3.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BeRJSbNE.js";import"./connection-form-helpers-BtW0MONX.js";import"./collection-tabs-Dldo-wkB.js";import"./badge-CZdauhkX.js";import"./connect-desktop-dialog-BXvNjr5j.js";import"./select-model-BvJl1hDq.js";import"./checkbox-_ElG6Efh.js";import"./skeleton-DrZCq-iL.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-BmrOBhaa.js";import"./index-Dj2oFgmy.js";import"./alert-dialog-tDYvnU02.js";import"./toolbar-DttPgBTD.js";import"./use-debounced-value-DOM2DgKp.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BJl9VP5P.js";import"./use-capability-DjArrWU7.js";import"./toolbar-icon-button-DUiZW1W8.js";import"./use-debounced-autosave-CdfQISSq.js";import"./index-CDpX4jH_.js";import"./search-input-o3OcMxgz.js";import"./use-mcp-auth-status-QUWWvgsS.js";import"./github-repo-picker-BmMSB5hV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BilxCrsw.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-Cy55eNzu.js";import"./use-file-configs-BIsCTuCw.js";import"./automation-list-row-lB4CIuYy.js";function fi(u){const t=it.c(46),{open:N,onOpenChange:P,orgSlug:Q,virtualMcpId:U,branch:W,decofile:G,meta:s,target:m,onSaved:X}=u,o=lt(G,m,s),k=m.kind==="site"?"site":m.pageKey,[Y,Z]=E.useState(k),[tt,i]=E.useState(null),[J,g]=E.useState(void 0),[x,y]=E.useState(0);Y!==k&&(Z(k),i(null),g(void 0),y(wt));const{persistSeo:a,persistRawSeo:I,flush:K,isPending:D}=ct({orgSlug:Q,virtualMcpId:U,branch:W,target:m,resolved:o,onSaved:X}),w=m.kind==="page",ot=w?o?.rawSeoData:void 0,v=J!==void 0?J:ot,et=w?dt(v)??void 0:void 0,h=tt??et??o?.seoData??{},p=o?St(h,o):null,n=p&&(!w||ft(v))?xt(p,s):null,_=m.kind==="page"?ut(G,s)?.seoData??void 0:void 0;let j;t[0]!==s?(j=vt(s),t[0]=s,t[1]=j):j=t[1];const M=j;let R;t[2]!==a||t[3]!==o||t[4]!==i?(R=r=>{if(!o)return;const L=r;i(L),a(L)},t[2]=a,t[3]=o,t[4]=i,t[5]=R):R=t[5];const V=R;let F;t[6]!==K||t[7]!==P?(F=r=>{r||K(),P(r)},t[6]=K,t[7]=P,t[8]=F):F=t[8];const q=F,z=m.kind==="site"?"Site SEO":"Page SEO",T=w&&o,A=m.kind==="site"&&o&&n,B=m.kind==="site"?"No site-level SEO block found.":o?"SEO schema not found for this page.":"Could not load page SEO.";let C;t[9]!==i?(C=()=>i(null),t[9]=i,t[10]=C):C=t[10];const H=C;let O;t[11]!==y?(O=()=>y(yt),t[11]=y,t[12]=O):O=t[12];const $=O;let l;t[13]!==z?(l=e.jsx(mt,{className:"text-sm font-semibold",children:z}),t[13]=z,t[14]=l):l=t[14];let c;t[15]!==D?(c=D&&e.jsx(rt,{size:14,className:"animate-spin text-muted-foreground"}),t[15]=D,t[16]=c):c=t[16];let d;t[17]!==l||t[18]!==c?(d=e.jsxs(pt,{className:"px-4 py-3 border-b flex-row items-center justify-between space-y-0",children:[l,c]}),t[17]=l,t[18]=c,t[19]=d):d=t[19];let S;t[20]!==p||t[21]!==$||t[22]!==H||t[23]!==M||t[24]!==v||t[25]!==h||t[26]!==B||t[27]!==x||t[28]!==V||t[29]!==I||t[30]!==a||t[31]!==o||t[32]!==n||t[33]!==i||t[34]!==g||t[35]!==T||t[36]!==A||t[37]!==_?(S=!o||!T&&!A?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:B}):e.jsx(nt,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:e.jsx("div",{className:"px-6 py-4",children:e.jsx("div",{className:"mx-auto max-w-sm",children:T?e.jsx(ht,{rawSeo:v,innerSeo:h,defaultResolveType:M,seoSchema:n,activeResolveType:p,seoTypeOptions:o.seoTypeOptions,formResetKey:x,siteDefaultSeo:_,onPersistRaw:r=>{g(r),I(r)},onInnerChange:r=>{i(r),a(r)},onClearForm:H,onBumpFormKey:$}):n&&p&&e.jsx(gt,{schema:n,resolveType:p,value:h,formResetKey:x,onChange:V})})})}),t[20]=p,t[21]=$,t[22]=H,t[23]=M,t[24]=v,t[25]=h,t[26]=B,t[27]=x,t[28]=V,t[29]=I,t[30]=a,t[31]=o,t[32]=n,t[33]=i,t[34]=g,t[35]=T,t[36]=A,t[37]=_,t[38]=S):S=t[38];let f;t[39]!==d||t[40]!==S?(f=e.jsxs(st,{side:"right",className:"w-[400px] sm:max-w-[440px] p-0 gap-0",children:[d,S]}),t[39]=d,t[40]=S,t[41]=f):f=t[41];let b;return t[42]!==q||t[43]!==N||t[44]!==f?(b=e.jsx(at,{open:N,onOpenChange:q,children:f}),t[42]=q,t[43]=N,t[44]=f,t[45]=b):b=t[45],b}function yt(u){return u+1}function wt(u){return u+1}export{fi as SeoSheet};
@@ -1 +1 @@
1
- import{r as i,aR as $,j as c,cR as L,aV as z,aS as A,aO as _,aU as g,cS as j,ba as w,cT as G,cU as E,c_ as H,d0 as U,aQ as V,d2 as K,c$ as W,d1 as Q,cV as Y,cW as Z,cY as q,c as R,l as B}from"./index-D0sbyEKG.js";var C="Popover",[b]=V(C,[E]),P=E(),[J,u]=b(C),N=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,p=P(e),l=i.useRef(null),[d,h]=i.useState(!1),[x,f]=$({prop:r,defaultProp:n??!1,onChange:s,caller:C});return c.jsx(L,{...p,children:c.jsx(J,{scope:e,contentId:z(),triggerRef:l,open:x,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:d,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:a,children:o})})};N.displayName=C;var S="PopoverAnchor",X=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=u(S,o),s=P(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:p}=n;return i.useEffect(()=>(a(),()=>p()),[a,p]),c.jsx(j,{...s,...r,ref:e})});X.displayName=S;var F="PopoverTrigger",y=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=u(F,o),s=P(o),a=A(e,n.triggerRef),p=c.jsx(_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...r,ref:a,onClick:g(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?p:c.jsx(j,{asChild:!0,...s,children:p})});y.displayName=F;var O="PopoverPortal",[ee,oe]=b(O,{forceMount:void 0}),D=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=u(O,e);return c.jsx(ee,{scope:e,forceMount:o,children:c.jsx(w,{present:o||s.open,children:c.jsx(G,{asChild:!0,container:n,children:r})})})};D.displayName=O;var v="PopoverContent",M=i.forwardRef((t,e)=>{const o=oe(v,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=u(v,t.__scopePopover);return c.jsx(w,{present:r||s.open,children:s.modal?c.jsx(re,{...n,ref:e}):c.jsx(ne,{...n,ref:e})})});M.displayName=v;var te=K("PopoverContent.RemoveScroll"),re=i.forwardRef((t,e)=>{const o=u(v,t.__scopePopover),r=i.useRef(null),n=A(e,r),s=i.useRef(!1);return i.useEffect(()=>{const a=r.current;if(a)return H(a)},[]),c.jsx(U,{as:te,allowPinchZoom:!0,children:c.jsx(T,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:g(t.onPointerDownOutside,a=>{const p=a.detail.originalEvent,l=p.button===0&&p.ctrlKey===!0,d=p.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:g(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),ne=i.forwardRef((t,e)=>{const o=u(v,t.__scopePopover),r=i.useRef(!1),n=i.useRef(!1);return c.jsx(T,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),T=i.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:h,...x}=t,f=u(v,o),m=P(o);return W(),c.jsx(Q,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(Y,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>f.onOpenChange(!1),children:c.jsx(Z,{"data-state":I(f.open),role:"dialog",id:f.contentId,...m,...x,ref:e,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",se=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=u(k,o);return c.jsx(_.button,{type:"button",...r,ref:e,onClick:g(t.onClick,()=>n.onOpenChange(!1))})});se.displayName=k;var ae="PopoverArrow",ce=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(o);return c.jsx(q,{...n,...r,ref:e})});ce.displayName=ae;function I(t){return t?"open":"closed"}var ie=N,pe=y,le=D,de=M;function fe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(ie,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function ve(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function ge(t){const e=R.c(12);let o,r,n,s;e[0]!==t?({className:o,align:n,sideOffset:s,...r}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s):(o=e[1],r=e[2],n=e[3],s=e[4]);const a=n===void 0?"center":n,p=s===void 0?4:s;let l;e[5]!==o?(l=B("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg overflow-hidden border p-4 shadow-md outline-hidden",o),e[5]=o,e[6]=l):l=e[6];let d;return e[7]!==a||e[8]!==r||e[9]!==p||e[10]!==l?(d=c.jsx(le,{children:c.jsx(de,{"data-slot":"popover-content",align:a,sideOffset:p,className:l,...r})}),e[7]=a,e[8]=r,e[9]=p,e[10]=l,e[11]=d):d=e[11],d}export{ve as P,ge as a,fe as b};
1
+ import{r as i,aR as $,j as c,cR as L,aV as z,aS as A,aO as _,aU as g,cS as j,ba as w,cT as G,cU as E,c_ as H,d0 as U,aQ as V,d2 as K,c$ as W,d1 as Q,cV as Y,cW as Z,cY as q,c as R,l as B}from"./index-BViuj3Zp.js";var C="Popover",[b]=V(C,[E]),P=E(),[J,u]=b(C),N=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,p=P(e),l=i.useRef(null),[d,h]=i.useState(!1),[x,f]=$({prop:r,defaultProp:n??!1,onChange:s,caller:C});return c.jsx(L,{...p,children:c.jsx(J,{scope:e,contentId:z(),triggerRef:l,open:x,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:d,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:a,children:o})})};N.displayName=C;var S="PopoverAnchor",X=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=u(S,o),s=P(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:p}=n;return i.useEffect(()=>(a(),()=>p()),[a,p]),c.jsx(j,{...s,...r,ref:e})});X.displayName=S;var F="PopoverTrigger",y=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=u(F,o),s=P(o),a=A(e,n.triggerRef),p=c.jsx(_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...r,ref:a,onClick:g(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?p:c.jsx(j,{asChild:!0,...s,children:p})});y.displayName=F;var O="PopoverPortal",[ee,oe]=b(O,{forceMount:void 0}),D=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=u(O,e);return c.jsx(ee,{scope:e,forceMount:o,children:c.jsx(w,{present:o||s.open,children:c.jsx(G,{asChild:!0,container:n,children:r})})})};D.displayName=O;var v="PopoverContent",M=i.forwardRef((t,e)=>{const o=oe(v,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=u(v,t.__scopePopover);return c.jsx(w,{present:r||s.open,children:s.modal?c.jsx(re,{...n,ref:e}):c.jsx(ne,{...n,ref:e})})});M.displayName=v;var te=K("PopoverContent.RemoveScroll"),re=i.forwardRef((t,e)=>{const o=u(v,t.__scopePopover),r=i.useRef(null),n=A(e,r),s=i.useRef(!1);return i.useEffect(()=>{const a=r.current;if(a)return H(a)},[]),c.jsx(U,{as:te,allowPinchZoom:!0,children:c.jsx(T,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:g(t.onPointerDownOutside,a=>{const p=a.detail.originalEvent,l=p.button===0&&p.ctrlKey===!0,d=p.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:g(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),ne=i.forwardRef((t,e)=>{const o=u(v,t.__scopePopover),r=i.useRef(!1),n=i.useRef(!1);return c.jsx(T,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),T=i.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:h,...x}=t,f=u(v,o),m=P(o);return W(),c.jsx(Q,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(Y,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>f.onOpenChange(!1),children:c.jsx(Z,{"data-state":I(f.open),role:"dialog",id:f.contentId,...m,...x,ref:e,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",se=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=u(k,o);return c.jsx(_.button,{type:"button",...r,ref:e,onClick:g(t.onClick,()=>n.onOpenChange(!1))})});se.displayName=k;var ae="PopoverArrow",ce=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(o);return c.jsx(q,{...n,...r,ref:e})});ce.displayName=ae;function I(t){return t?"open":"closed"}var ie=N,pe=y,le=D,de=M;function fe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(ie,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function ve(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function ge(t){const e=R.c(12);let o,r,n,s;e[0]!==t?({className:o,align:n,sideOffset:s,...r}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s):(o=e[1],r=e[2],n=e[3],s=e[4]);const a=n===void 0?"center":n,p=s===void 0?4:s;let l;e[5]!==o?(l=B("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg overflow-hidden border p-4 shadow-md outline-hidden",o),e[5]=o,e[6]=l):l=e[6];let d;return e[7]!==a||e[8]!==r||e[9]!==p||e[10]!==l?(d=c.jsx(le,{children:c.jsx(de,{"data-slot":"popover-content",align:a,sideOffset:p,className:l,...r})}),e[7]=a,e[8]=r,e[9]=p,e[10]=l,e[11]=d):d=e[11],d}export{ve as P,ge as a,fe as b};
@@ -1 +1 @@
1
- import{c as Y,j as t,B as le}from"./index-D0sbyEKG.js";import{i as ae}from"./AlertCircle-DLkW-D8r.js";import{n as me}from"./LinkExternal01-BmYA4GJe.js";import{aL as pe,h as ne}from"./agent-icon-CwOWIhBV.js";import{I as te}from"./input-B_aM31ol.js";import{L as X}from"./label-Dk1mHqTQ.js";import{M as ce}from"./multi-select-CQ1N-5wi.js";import{b as ie,c as de,T as se,a as fe}from"./tabs-CjAOmC1f.js";import{T as ue}from"./textarea-DO6Uu1Lo.js";import{v as xe,w as he,x as ge,o as ve,y as je,z as be,I as ye,A as Ce,B as Ne,C as ke}from"./index-DfHDcJ1o.js";import{b as Se,T as Pe,a as we}from"./tooltip-CuCBKir6.js";import{b as _e,a as Be,B as Te}from"./block-document-UoHa74In.js";import{u as Ee}from"./use-autosave-BbTuMVVl.js";import{s as T,E as Fe,R as Re,A as Ae}from"./primitives-BtLUiXpZ.js";import"./Tool01-nE5tFxaB.js";import"./ArrowUp-DfoEAi42.js";import"./Settings02-CduzvDA8.js";import"./Tool02-x-oqE1tt.js";import"./XCircle-EKf5FEAL.js";import"./ArrowUpRight-Cao1-uCY.js";import"./TrendUp01-DWNtp3BE.js";import"./ZapSquare-Bmlcm-uV.js";import"./ZoomOut-DXzI2mO9.js";import"./Users03-DMyfJm3j.js";import"./CheckCircle-WJlpqtVo.js";import"./ChevronUp-XFdtuA9Y.js";import"./ChevronDown-C6a2YBvw.js";import"./ChevronRight-D3pXmI3r.js";import"./DotsVertical-D9nt5zhx.js";import"./Stars02-lv2MXLoy.js";import"./Copy01-BdylCFlV.js";import"./Globe01-CBnMNGG-.js";import"./Eye-fRpXKX1r.js";import"./FilterLines-DP1oBDsZ.js";import"./Star01-DfKNPWS6.js";import"./Globe04-CzMVsjFV.js";import"./SwitchHorizontal01-C8F1WRkU.js";import"./HardDrive-By6kT4xt.js";import"./Image01-CYehtBn3.js";import"./Key01-BohuMtcS.js";import"./LayoutLeft-RWKgI-n2.js";import"./Monitor01-CUURmWax.js";import"./Sun-BEjRgK5a.js";import"./Package-DFyl5qTZ.js";import"./Palette-B-XTczsP.js";import"./Play-BfzR-6lQ.js";import"./Plus-AqZ-MFgY.js";import"./SearchLg-BpghI3L4.js";import"./SearchMd-DjRWQAGM.js";import"./Shield01-DJJM2iQT.js";import"./Stars01-B2PKOH-U.js";import"./Trash01-DpaEaloO.js";import"./Upload01-D1H-ptv4.js";import"./User01-qmV9vxo_.js";import"./Users01-D5CKCxGT.js";import"./XClose-BMhViER7.js";import"./X-Bqyzv9zS.js";import"./Zap-1HGMAluv.js";import"./badge-Bn9DubCM.js";import"./checkbox-BXj0XY72.js";import"./command-Bzx4Xk3u.js";import"./index-fwjk58vV.js";import"./dialog-D9PywX8D.js";import"./popover-Bic83jpq.js";import"./chat-context-C9TaCX5x.js";import"./autosend-CswpIeO7.js";import"./hooks-CdBO1JPT.js";import"./use-mcp-client-hjy57WVi.js";import"./auth-Coeo-dwO.js";import"./decopilot-sse-pool-BOnG-VTK.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-DSrrLWEf.js";import"./use-virtual-mcp-oO6xj4zJ.js";import"./use-collections-Dzl2omYQ.js";import"./use-ai-providers-CT7xgD8G.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-44ydXeRP.js";import"./use-organization-settings-DQ4wLJOX.js";import"./automation-runs-C44_ptS5.js";import"./select-3Me5H3ZN.js";import"./useInfiniteQuery-CIKhe25A.js";import"./use-infinite-scroll-C6v5IfbW.js";import"./use-connection-CA7WxC0U.js";import"./card-BLPPFux8.js";import"./sidebar-B324pXvQ.js";import"./use-mobile-D3Qy1fCh.js";import"./table-BWGE7qw6.js";import"./empty-state-hMpaRT9l.js";import"./use-members-ChlGpgK0.js";import"./use-org-auth-client-CDvSuJdd.js";import"./use-clock-tick-Be3yUDG2.js";import"./use-automations-DkWo7Rw_.js";import"./useSuspenseInfiniteQuery-CW5e2CbZ.js";import"./avatar-Cc8GS28z.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DsmPQU2T.js";import"./file-type-icon-qTQhUX4t.js";import"./monaco-editor-CV2M6cKI.js";import"./index-GJ1EH4uQ.js";import"./index-DY1h4rhQ.js";import"./calendar-BqXDgxQh.js";import"./shell-layout-CLvNXOBL.js";import"./required-auth-layout-BEng0Gz1.js";import"./use-org-sso-CDDsV4ZE.js";import"./integration-icon-Bif6g46t.js";import"./use-navigate-to-agent-BsnfDuJC.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-CQJC7Yx-.js";import"./form-CALh8HmI.js";import"./drawer-CwQ3vz3J.js";import"./collection-search-GMmAfAY-.js";import"./index-BH0xA84H.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CaVngLda.js";import"./use-mcp-tools-DsnloDtc.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DpGoKeGK.js";import"./mcp-oauth-DjM-Kpes.js";import"./extract-connection-data-BbHf1qdX.js";import"./dropdown-menu-oR1-acEm.js";import"./toggle-group-CrXVJ0nD.js";import"./use-deco-credits-BhUc46Wi.js";import"./connection-card-Dt2-auZb.js";import"./use-registry-connections-B_hgltJI.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-BFA3bn9M.js";import"./collection-tabs-CnxnCNc2.js";import"./connect-desktop-dialog--hQnOOgS.js";import"./select-model-DGPFFhhz.js";import"./skeleton-D6yK9KZa.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-B7qvG3Qh.js";import"./index-DwGC9rKI.js";import"./alert-dialog-CdaqECTU.js";import"./toolbar-CBs2Dz8f.js";import"./use-debounced-value-xhDNxkO9.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BtG7EK13.js";import"./use-capability-CAMuRASv.js";import"./toolbar-icon-button-DCbXweAB.js";import"./use-debounced-autosave-Ts3uSjCz.js";import"./index-1orzmCGi.js";import"./search-input-DeJBzkQ0.js";import"./use-mcp-auth-status-CsTSjPht.js";import"./switch-BVTG0w3B.js";import"./github-repo-picker-oLy-zM4t.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-B3UjccCS.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-DB2dXBTZ.js";import"./use-file-configs-CMTrcHEd.js";import"./automation-list-row-BpX_XPAP.js";function Le(j){return Array.isArray(j)?j.map(e=>({key:T(e?.key),value:T(e?.value)})):[]}function As(j){const e=Y.c(82),{orgSlug:s,virtualMcpId:r,branch:i,blockKey:f,block:m,decofile:a,meta:c,previewBaseUrl:h}=j;let x;e[0]!==i||e[1]!==s||e[2]!==r?(x={orgSlug:s,virtualMcpId:r,branch:i},e[0]=i,e[1]=s,e[2]=r,e[3]=x):x=e[3];const l=xe(x);let p;e[4]!==m?(p=he(m,"posts"),e[4]=m,e[5]=p):p=e[5];const d=p;let n;e[6]!==f||e[7]!==l?(n=E=>{l.mutate({blockKey:f,data:je(f,"posts",be(E))})},e[6]=f,e[7]=l,e[8]=n):n=e[8];const[o,N]=Ee(d,n);let k;e[9]!==o||e[10]!==N?(k=(E,re)=>N({...o,[E]:re}),e[9]=o,e[10]=N,e[11]=k):k=e[11];const b=k;let S;e[12]!==a||e[13]!==o||e[14]!==h?(S=_e({decofile:a,post:o,previewBaseUrl:h}),e[12]=a,e[13]=o,e[14]=h,e[15]=S):S=e[15];const y=S;let g,v,P,w;e[16]!==o?(v=ge(o),g=v.length>0,P=v.length===1?"field":"fields",w=v.join(", "),e[16]=o,e[17]=g,e[18]=v,e[19]=P,e[20]=w):(g=e[17],v=e[18],P=e[19],w=e[20]);const _=`Missing required ${P}: ${w}`;let C;e[21]!==o.title?(C=T(o.title)||"Untitled post",e[21]=o.title,e[22]=C):C=e[22];let B;e[23]!==C?(B=t.jsx("span",{className:"truncate text-sm font-medium",children:C}),e[23]=C,e[24]=B):B=e[24];let u;e[25]!==g||e[26]!==v||e[27]!==_?(u=g&&t.jsxs(Se,{children:[t.jsx(Pe,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(ae,{size:14}),v.length," ",v.length===1?"issue":"issues"]})}),t.jsx(we,{side:"bottom",children:_})]}),e[25]=g,e[26]=v,e[27]=_,e[28]=u):u=e[28];let F;e[29]!==l.isError||e[30]!==l.isPending?(F=t.jsx(ve,{isPending:l.isPending,isError:l.isError}),e[29]=l.isError,e[30]=l.isPending,e[31]=F):F=e[31];const Z=!y||g,ee=g?_:y?"Open the post preview in a new tab":"Set the post slug (and its category) plus the blog app's pageSlug to preview";let R;e[32]!==g||e[33]!==y?(R=()=>{y&&!g&&window.open(y,"_blank","noopener,noreferrer")},e[32]=g,e[33]=y,e[34]=R):R=e[34];let H;e[35]===Symbol.for("react.memo_cache_sentinel")?(H=t.jsx(me,{size:14}),e[35]=H):H=e[35];let A;e[36]!==Z||e[37]!==ee||e[38]!==R?(A=t.jsxs(le,{type:"button",variant:"outline",size:"sm",disabled:Z,title:ee,onClick:R,children:[H,"See preview"]}),e[36]=Z,e[37]=ee,e[38]=R,e[39]=A):A=e[39];let L;e[40]!==u||e[41]!==F||e[42]!==A?(L=t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[u,F,A]}),e[40]=u,e[41]=F,e[42]=A,e[43]=L):L=e[43];let $;e[44]!==L||e[45]!==B?($=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[B,L]}),e[44]=L,e[45]=B,e[46]=$):$=e[46];let M;e[47]!==o.title?(M=T(o.title),e[47]=o.title,e[48]=M):M=e[48];let I;e[49]!==b?(I=E=>b("title",E),e[49]=b,e[50]=I):I=e[50];let U;e[51]!==M||e[52]!==I?(U=t.jsx(Fe,{value:M,onChange:I,placeholder:"Post title",className:"py-1 text-4xl font-bold text-foreground"}),e[51]=M,e[52]=I,e[53]=U):U=e[53];let J;e[54]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsxs(ie,{value:"content",children:[t.jsx(pe,{}),"Content"]}),e[54]=J):J=e[54];let Q;e[55]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsxs(de,{children:[J,t.jsxs(ie,{value:"settings",children:[t.jsx(ne,{}),"Settings"]})]}),e[55]=Q):Q=e[55];let V;e[56]!==o.sections?(V=Be(o.sections),e[56]=o.sections,e[57]=V):V=e[57];let z;e[58]!==b?(z=E=>b("sections",E),e[58]=b,e[59]=z):z=e[59];let D;e[60]!==i||e[61]!==s||e[62]!==r?(D={orgSlug:s,virtualMcpId:r,branch:i},e[60]=i,e[61]=s,e[62]=r,e[63]=D):D=e[63];let q;e[64]!==c||e[65]!==V||e[66]!==z||e[67]!==D?(q=t.jsx(se,{value:"content",children:t.jsx("div",{className:"rounded-xl border bg-card p-8 shadow-sm",children:t.jsx(Te,{value:V,onChange:z,meta:c,sandboxRef:D,emptyMessage:"This post has no content yet. Use ⊕ to add your first block."})})}),e[64]=c,e[65]=V,e[66]=z,e[67]=D,e[68]=q):q=e[68];let K;e[69]!==a||e[70]!==o||e[71]!==b?(K=t.jsx(se,{value:"settings",children:t.jsx("div",{className:"rounded-xl border bg-card p-6 shadow-sm",children:t.jsx($e,{post:o,decofile:a,onChange:b})})}),e[69]=a,e[70]=o,e[71]=b,e[72]=K):K=e[72];let O;e[73]!==q||e[74]!==K?(O=t.jsxs(fe,{defaultValue:"content",className:"mt-6 gap-4",children:[Q,q,K]}),e[73]=q,e[74]=K,e[75]=O):O=e[75];let G;e[76]!==U||e[77]!==O?(G=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 py-8",children:[U,O]})}),e[76]=U,e[77]=O,e[78]=G):G=e[78];let W;return e[79]!==$||e[80]!==G?(W=t.jsxs("div",{className:"flex h-full flex-col",children:[$,G]}),e[79]=$,e[80]=G,e[81]=W):W=e[81],W}function $e(j){const e=Y.c(57),{post:s,decofile:r,onChange:i}=j;let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(X,{htmlFor:"post-excerpt",children:"Excerpt"}),e[0]=f):f=e[0];let m;e[1]!==s.excerpt?(m=T(s.excerpt),e[1]=s.excerpt,e[2]=m):m=e[2];let a;e[3]!==i?(a=u=>i("excerpt",u.target.value),e[3]=i,e[4]=a):a=e[4];let c;e[5]!==m||e[6]!==a?(c=t.jsxs("div",{className:"space-y-2",children:[f,t.jsx(ue,{id:"post-excerpt",value:m,onChange:a,rows:2})]}),e[5]=m,e[6]=a,e[7]=c):c=e[7];let h;e[8]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx(X,{htmlFor:"post-slug",children:"Slug"}),e[8]=h):h=e[8];let x;e[9]!==s.slug?(x=T(s.slug),e[9]=s.slug,e[10]=x):x=e[10];let l;e[11]!==i?(l=u=>i("slug",u.target.value),e[11]=i,e[12]=l):l=e[12];let p;e[13]!==x||e[14]!==l?(p=t.jsxs("div",{className:"space-y-2",children:[h,t.jsx(te,{id:"post-slug",value:x,onChange:l,placeholder:"my-post",className:"h-10"})]}),e[13]=x,e[14]=l,e[15]=p):p=e[15];let d;e[16]===Symbol.for("react.memo_cache_sentinel")?(d={type:"string",format:"date",title:"Date"},e[16]=d):d=e[16];let n;e[17]!==s.date?(n=T(s.date),e[17]=s.date,e[18]=n):n=e[18];let o;e[19]!==i?(o=u=>i("date",u),e[19]=i,e[20]=o):o=e[20];let N;e[21]!==n||e[22]!==o?(N=t.jsx(ke,{schema:d,value:n,onChange:o,path:"post-date",label:"Date"}),e[21]=n,e[22]=o,e[23]=N):N=e[23];let k;e[24]!==N||e[25]!==p?(k=t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[p,N]}),e[24]=N,e[25]=p,e[26]=k):k=e[26];let b;e[27]===Symbol.for("react.memo_cache_sentinel")?(b={type:"string",format:"image-uri",title:"Cover image"},e[27]=b):b=e[27];let S;e[28]!==i?(S=u=>i("image",u),e[28]=i,e[29]=S):S=e[29];let y;e[30]!==s.image||e[31]!==S?(y=t.jsx(ye,{schema:b,value:s.image,onChange:S,path:"post-image",label:"Cover image"}),e[30]=s.image,e[31]=S,e[32]=y):y=e[32];let g;e[33]!==i?(g=u=>i("authors",u),e[33]=i,e[34]=g):g=e[34];let v;e[35]!==r||e[36]!==s.authors||e[37]!==g?(v=t.jsx(oe,{label:"Authors",decofile:r,kind:"authors",valueField:"email",toRef:Ie,selected:s.authors,onChange:g}),e[35]=r,e[36]=s.authors,e[37]=g,e[38]=v):v=e[38];let P;e[39]!==i?(P=u=>i("categories",u),e[39]=i,e[40]=P):P=e[40];let w;e[41]!==r||e[42]!==s.categories||e[43]!==P?(w=t.jsx(oe,{label:"Categories",decofile:r,kind:"categories",valueField:"slug",toRef:Me,selected:s.categories,onChange:P}),e[41]=r,e[42]=s.categories,e[43]=P,e[44]=w):w=e[44];let _;e[45]!==i?(_=u=>i("extraProps",u),e[45]=i,e[46]=_):_=e[46];let C;e[47]!==s.extraProps||e[48]!==_?(C=t.jsx(Ue,{value:s.extraProps,onChange:_}),e[47]=s.extraProps,e[48]=_,e[49]=C):C=e[49];let B;return e[50]!==k||e[51]!==y||e[52]!==v||e[53]!==w||e[54]!==C||e[55]!==c?(B=t.jsxs("div",{className:"space-y-5",children:[c,k,y,v,w,C]}),e[50]=k,e[51]=y,e[52]=v,e[53]=w,e[54]=C,e[55]=c,e[56]=B):B=e[56],B}function Me(j){return{name:T(j.name),slug:T(j.slug)}}function Ie(j){return{...j}}function Ue(j){const e=Y.c(15),{value:s,onChange:r}=j;let i,f,m,a;if(e[0]!==r||e[1]!==s){i=Le(s);const x=(l,p)=>r(i.map((d,n)=>n===l?{...d,...p}:d));f="space-y-2",e[6]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx(X,{children:"Extra props"}),e[6]=m):m=e[6],a=i.length>0&&t.jsx("ul",{className:"space-y-2",children:i.map((l,p)=>t.jsxs("li",{className:"group/item flex items-center gap-2",children:[t.jsx(te,{value:l.key,onChange:d=>x(p,{key:d.target.value}),placeholder:"key",className:"h-9 flex-1"}),t.jsx(te,{value:l.value,onChange:d=>x(p,{value:d.target.value}),placeholder:"value",className:"h-9 flex-1"}),t.jsx(Re,{label:"Remove prop",onClick:()=>r(i.filter((d,n)=>n!==p))})]},p))}),e[0]=r,e[1]=s,e[2]=i,e[3]=f,e[4]=m,e[5]=a}else i=e[2],f=e[3],m=e[4],a=e[5];let c;e[7]!==i||e[8]!==r?(c=t.jsx(Ae,{label:"Add prop",onClick:()=>r([...i,{key:"",value:""}])}),e[7]=i,e[8]=r,e[9]=c):c=e[9];let h;return e[10]!==f||e[11]!==m||e[12]!==a||e[13]!==c?(h=t.jsxs("div",{className:f,children:[m,a,c]}),e[10]=f,e[11]=m,e[12]=a,e[13]=c,e[14]=h):h=e[14],h}function oe(j){const e=Y.c(17),{label:s,decofile:r,kind:i,valueField:f,toRef:m,selected:a,onChange:c}=j;let h;e[0]!==r||e[1]!==i||e[2]!==a||e[3]!==m||e[4]!==f?(h=Ce({records:Ne(r,i),selected:a,valueField:f,toRef:m}),e[0]=r,e[1]=i,e[2]=a,e[3]=m,e[4]=f,e[5]=h):h=e[5];const{options:x,selectedValues:l,refsForValues:p}=h;let d;e[6]!==s?(d=t.jsx(X,{children:s}),e[6]=s,e[7]=d):d=e[7];let n;e[8]!==s||e[9]!==c||e[10]!==x||e[11]!==p||e[12]!==l?(n=x.length===0?t.jsxs("p",{className:"text-xs text-muted-foreground",children:["No ",s.toLowerCase()," yet — create some in the"," ",s.toLowerCase()," collection."]}):t.jsx(ce,{options:x,defaultValue:l,onValueChange:N=>c(p(N)),placeholder:`Select ${s.toLowerCase()}`,maxCount:4}),e[8]=s,e[9]=c,e[10]=x,e[11]=p,e[12]=l,e[13]=n):n=e[13];let o;return e[14]!==d||e[15]!==n?(o=t.jsxs("div",{className:"space-y-2",children:[d,n]}),e[14]=d,e[15]=n,e[16]=o):o=e[16],o}export{As as PostEditor};
1
+ import{c as Y,j as t,B as le}from"./index-BViuj3Zp.js";import{i as ae}from"./AlertCircle-D-iHyVs7.js";import{n as me}from"./LinkExternal01-Bzm3X9Eu.js";import{aL as pe,h as ne}from"./agent-icon-4OYn2-Xd.js";import{I as te}from"./input-CrWepkq-.js";import{L as X}from"./label-B_MQ8EmH.js";import{M as ce}from"./multi-select-F8_rUQV3.js";import{b as ie,c as de,T as se,a as fe}from"./tabs-yGShcoAM.js";import{T as ue}from"./textarea-BeRJSbNE.js";import{v as xe,w as he,x as ge,o as ve,y as je,z as be,I as ye,A as Ce,B as Ne,C as ke}from"./index-Diic5mDN.js";import{b as Se,T as Pe,a as we}from"./tooltip-C00IgCuZ.js";import{b as _e,a as Be,B as Te}from"./block-document-jZB3g7JC.js";import{u as Ee}from"./use-autosave-BWtR445L.js";import{s as T,E as Fe,R as Re,A as Ae}from"./primitives-DG56UuNW.js";import"./Tool01-CXL1-1xQ.js";import"./ArrowUp-eD2g1ze5.js";import"./Settings02-DiEGH6SU.js";import"./Tool02-DG2uVfj0.js";import"./XCircle-BntHiGeT.js";import"./ArrowUpRight-BP83i5g7.js";import"./TrendUp01-CaPznoak.js";import"./ZapSquare-BbAUgUmL.js";import"./ZoomOut-CczbRBMV.js";import"./Users03-Dj6va1Tf.js";import"./CheckCircle-CzBDsKPK.js";import"./ChevronUp-CeXG3T7Q.js";import"./ChevronDown-CTXYLSaK.js";import"./ChevronRight-q5d6uFM5.js";import"./DotsVertical-CTZdcpE4.js";import"./Stars02-Be18K_Z8.js";import"./Copy01-wzVXYzx9.js";import"./Globe01-D5vFay0B.js";import"./Eye-WdF_3F_E.js";import"./FilterLines-DMRfuAjb.js";import"./Star01-CvI4fqP7.js";import"./Globe04-DPiqo9h_.js";import"./SwitchHorizontal01-BMO_N3oN.js";import"./HardDrive-CNGPngJW.js";import"./Image01-Cw58gqLC.js";import"./Key01-BPSSu_cV.js";import"./LayoutLeft-BvkDodd7.js";import"./Monitor01-CBCrOQKX.js";import"./Sun-BSbrufjj.js";import"./Package-DuPMq6gF.js";import"./Palette-8-DoknMu.js";import"./Play-W_tyYjyU.js";import"./Plus-ZampjQ1c.js";import"./SearchLg-nCNkDt9b.js";import"./SearchMd-CzCmM-Mo.js";import"./Shield01-DOZwb0VW.js";import"./Stars01-L2SJKBzN.js";import"./Trash01-BEpWbC-P.js";import"./Upload01-egF7uJFz.js";import"./User01-Fs0ZC54M.js";import"./Users01-DqWrfyY1.js";import"./XClose-Cgz7gs-U.js";import"./X-DGbtz74n.js";import"./Zap-1rUhnHCW.js";import"./badge-CZdauhkX.js";import"./checkbox-_ElG6Efh.js";import"./command-CHlOLrW7.js";import"./index-CiZTeCW9.js";import"./dialog-CuMAjQ08.js";import"./popover-Bk3uS9IT.js";import"./chat-context-Dphgvmep.js";import"./autosend-DNq41CeN.js";import"./hooks-79VbY-Yk.js";import"./use-mcp-client-CCBeFzjN.js";import"./auth-C-w9gXI2.js";import"./decopilot-sse-pool-BLZuSHqj.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-bPAOpcGV.js";import"./use-virtual-mcp-BgtJGOyu.js";import"./use-collections-ByB7tifA.js";import"./use-ai-providers-BycXD_7L.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-uv0dzzKN.js";import"./use-organization-settings-wRIFZUlG.js";import"./automation-runs-C2IkSzyr.js";import"./select-qG9TXgnQ.js";import"./useInfiniteQuery-DN_1U3UT.js";import"./use-infinite-scroll-BjMzxbtd.js";import"./use-connection-BmsZEZdh.js";import"./card-CkwoLH0q.js";import"./sidebar-C1px8gXk.js";import"./use-mobile-VzfnI9e8.js";import"./table-ChwnWGd-.js";import"./empty-state-DJa-N1zF.js";import"./use-members-DFXNKZZN.js";import"./use-org-auth-client-BLZyK2ST.js";import"./use-clock-tick-7UIvH8pN.js";import"./use-automations-Xi6RZR9c.js";import"./useSuspenseInfiniteQuery-BvZ3s7aO.js";import"./avatar-xlIuyoMc.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-e8MdZAl7.js";import"./file-type-icon-ByeIyc-K.js";import"./monaco-editor-q-bsxkqg.js";import"./index-BcHd9c8O.js";import"./index-Ck9z8hnX.js";import"./calendar-DA-wtmXd.js";import"./shell-layout-DECxtr74.js";import"./required-auth-layout-BRc364iL.js";import"./use-org-sso-B_e2Szhn.js";import"./integration-icon-BxWuhD67.js";import"./use-navigate-to-agent-IK2-SrV7.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ccl3RkYl.js";import"./form-CJYslYp3.js";import"./drawer-CkUomq8q.js";import"./collection-search-CHFEzXDD.js";import"./index-u-MbppEy.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-2lK_PnWA.js";import"./use-mcp-tools-DGAtC90c.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DKhmO9CB.js";import"./mcp-oauth-Bc8O3CuI.js";import"./extract-connection-data-wmFgy-D9.js";import"./dropdown-menu-C-P3K57C.js";import"./toggle-group-Tou0VhGL.js";import"./use-deco-credits-2CWebt3c.js";import"./connection-card-BvGyMi1d.js";import"./use-registry-connections-CbHz8uO3.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-BtW0MONX.js";import"./collection-tabs-Dldo-wkB.js";import"./connect-desktop-dialog-BXvNjr5j.js";import"./select-model-BvJl1hDq.js";import"./skeleton-DrZCq-iL.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-BmrOBhaa.js";import"./index-Dj2oFgmy.js";import"./alert-dialog-tDYvnU02.js";import"./toolbar-DttPgBTD.js";import"./use-debounced-value-DOM2DgKp.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BJl9VP5P.js";import"./use-capability-DjArrWU7.js";import"./toolbar-icon-button-DUiZW1W8.js";import"./use-debounced-autosave-CdfQISSq.js";import"./index-CDpX4jH_.js";import"./search-input-o3OcMxgz.js";import"./use-mcp-auth-status-QUWWvgsS.js";import"./switch-B3m9k2eD.js";import"./github-repo-picker-BmMSB5hV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BilxCrsw.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-Cy55eNzu.js";import"./use-file-configs-BIsCTuCw.js";import"./automation-list-row-lB4CIuYy.js";function Le(j){return Array.isArray(j)?j.map(e=>({key:T(e?.key),value:T(e?.value)})):[]}function As(j){const e=Y.c(82),{orgSlug:s,virtualMcpId:r,branch:i,blockKey:f,block:m,decofile:a,meta:c,previewBaseUrl:h}=j;let x;e[0]!==i||e[1]!==s||e[2]!==r?(x={orgSlug:s,virtualMcpId:r,branch:i},e[0]=i,e[1]=s,e[2]=r,e[3]=x):x=e[3];const l=xe(x);let p;e[4]!==m?(p=he(m,"posts"),e[4]=m,e[5]=p):p=e[5];const d=p;let n;e[6]!==f||e[7]!==l?(n=E=>{l.mutate({blockKey:f,data:je(f,"posts",be(E))})},e[6]=f,e[7]=l,e[8]=n):n=e[8];const[o,N]=Ee(d,n);let k;e[9]!==o||e[10]!==N?(k=(E,re)=>N({...o,[E]:re}),e[9]=o,e[10]=N,e[11]=k):k=e[11];const b=k;let S;e[12]!==a||e[13]!==o||e[14]!==h?(S=_e({decofile:a,post:o,previewBaseUrl:h}),e[12]=a,e[13]=o,e[14]=h,e[15]=S):S=e[15];const y=S;let g,v,P,w;e[16]!==o?(v=ge(o),g=v.length>0,P=v.length===1?"field":"fields",w=v.join(", "),e[16]=o,e[17]=g,e[18]=v,e[19]=P,e[20]=w):(g=e[17],v=e[18],P=e[19],w=e[20]);const _=`Missing required ${P}: ${w}`;let C;e[21]!==o.title?(C=T(o.title)||"Untitled post",e[21]=o.title,e[22]=C):C=e[22];let B;e[23]!==C?(B=t.jsx("span",{className:"truncate text-sm font-medium",children:C}),e[23]=C,e[24]=B):B=e[24];let u;e[25]!==g||e[26]!==v||e[27]!==_?(u=g&&t.jsxs(Se,{children:[t.jsx(Pe,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(ae,{size:14}),v.length," ",v.length===1?"issue":"issues"]})}),t.jsx(we,{side:"bottom",children:_})]}),e[25]=g,e[26]=v,e[27]=_,e[28]=u):u=e[28];let F;e[29]!==l.isError||e[30]!==l.isPending?(F=t.jsx(ve,{isPending:l.isPending,isError:l.isError}),e[29]=l.isError,e[30]=l.isPending,e[31]=F):F=e[31];const Z=!y||g,ee=g?_:y?"Open the post preview in a new tab":"Set the post slug (and its category) plus the blog app's pageSlug to preview";let R;e[32]!==g||e[33]!==y?(R=()=>{y&&!g&&window.open(y,"_blank","noopener,noreferrer")},e[32]=g,e[33]=y,e[34]=R):R=e[34];let H;e[35]===Symbol.for("react.memo_cache_sentinel")?(H=t.jsx(me,{size:14}),e[35]=H):H=e[35];let A;e[36]!==Z||e[37]!==ee||e[38]!==R?(A=t.jsxs(le,{type:"button",variant:"outline",size:"sm",disabled:Z,title:ee,onClick:R,children:[H,"See preview"]}),e[36]=Z,e[37]=ee,e[38]=R,e[39]=A):A=e[39];let L;e[40]!==u||e[41]!==F||e[42]!==A?(L=t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[u,F,A]}),e[40]=u,e[41]=F,e[42]=A,e[43]=L):L=e[43];let $;e[44]!==L||e[45]!==B?($=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[B,L]}),e[44]=L,e[45]=B,e[46]=$):$=e[46];let M;e[47]!==o.title?(M=T(o.title),e[47]=o.title,e[48]=M):M=e[48];let I;e[49]!==b?(I=E=>b("title",E),e[49]=b,e[50]=I):I=e[50];let U;e[51]!==M||e[52]!==I?(U=t.jsx(Fe,{value:M,onChange:I,placeholder:"Post title",className:"py-1 text-4xl font-bold text-foreground"}),e[51]=M,e[52]=I,e[53]=U):U=e[53];let J;e[54]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsxs(ie,{value:"content",children:[t.jsx(pe,{}),"Content"]}),e[54]=J):J=e[54];let Q;e[55]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsxs(de,{children:[J,t.jsxs(ie,{value:"settings",children:[t.jsx(ne,{}),"Settings"]})]}),e[55]=Q):Q=e[55];let V;e[56]!==o.sections?(V=Be(o.sections),e[56]=o.sections,e[57]=V):V=e[57];let z;e[58]!==b?(z=E=>b("sections",E),e[58]=b,e[59]=z):z=e[59];let D;e[60]!==i||e[61]!==s||e[62]!==r?(D={orgSlug:s,virtualMcpId:r,branch:i},e[60]=i,e[61]=s,e[62]=r,e[63]=D):D=e[63];let q;e[64]!==c||e[65]!==V||e[66]!==z||e[67]!==D?(q=t.jsx(se,{value:"content",children:t.jsx("div",{className:"rounded-xl border bg-card p-8 shadow-sm",children:t.jsx(Te,{value:V,onChange:z,meta:c,sandboxRef:D,emptyMessage:"This post has no content yet. Use ⊕ to add your first block."})})}),e[64]=c,e[65]=V,e[66]=z,e[67]=D,e[68]=q):q=e[68];let K;e[69]!==a||e[70]!==o||e[71]!==b?(K=t.jsx(se,{value:"settings",children:t.jsx("div",{className:"rounded-xl border bg-card p-6 shadow-sm",children:t.jsx($e,{post:o,decofile:a,onChange:b})})}),e[69]=a,e[70]=o,e[71]=b,e[72]=K):K=e[72];let O;e[73]!==q||e[74]!==K?(O=t.jsxs(fe,{defaultValue:"content",className:"mt-6 gap-4",children:[Q,q,K]}),e[73]=q,e[74]=K,e[75]=O):O=e[75];let G;e[76]!==U||e[77]!==O?(G=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 py-8",children:[U,O]})}),e[76]=U,e[77]=O,e[78]=G):G=e[78];let W;return e[79]!==$||e[80]!==G?(W=t.jsxs("div",{className:"flex h-full flex-col",children:[$,G]}),e[79]=$,e[80]=G,e[81]=W):W=e[81],W}function $e(j){const e=Y.c(57),{post:s,decofile:r,onChange:i}=j;let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(X,{htmlFor:"post-excerpt",children:"Excerpt"}),e[0]=f):f=e[0];let m;e[1]!==s.excerpt?(m=T(s.excerpt),e[1]=s.excerpt,e[2]=m):m=e[2];let a;e[3]!==i?(a=u=>i("excerpt",u.target.value),e[3]=i,e[4]=a):a=e[4];let c;e[5]!==m||e[6]!==a?(c=t.jsxs("div",{className:"space-y-2",children:[f,t.jsx(ue,{id:"post-excerpt",value:m,onChange:a,rows:2})]}),e[5]=m,e[6]=a,e[7]=c):c=e[7];let h;e[8]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx(X,{htmlFor:"post-slug",children:"Slug"}),e[8]=h):h=e[8];let x;e[9]!==s.slug?(x=T(s.slug),e[9]=s.slug,e[10]=x):x=e[10];let l;e[11]!==i?(l=u=>i("slug",u.target.value),e[11]=i,e[12]=l):l=e[12];let p;e[13]!==x||e[14]!==l?(p=t.jsxs("div",{className:"space-y-2",children:[h,t.jsx(te,{id:"post-slug",value:x,onChange:l,placeholder:"my-post",className:"h-10"})]}),e[13]=x,e[14]=l,e[15]=p):p=e[15];let d;e[16]===Symbol.for("react.memo_cache_sentinel")?(d={type:"string",format:"date",title:"Date"},e[16]=d):d=e[16];let n;e[17]!==s.date?(n=T(s.date),e[17]=s.date,e[18]=n):n=e[18];let o;e[19]!==i?(o=u=>i("date",u),e[19]=i,e[20]=o):o=e[20];let N;e[21]!==n||e[22]!==o?(N=t.jsx(ke,{schema:d,value:n,onChange:o,path:"post-date",label:"Date"}),e[21]=n,e[22]=o,e[23]=N):N=e[23];let k;e[24]!==N||e[25]!==p?(k=t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[p,N]}),e[24]=N,e[25]=p,e[26]=k):k=e[26];let b;e[27]===Symbol.for("react.memo_cache_sentinel")?(b={type:"string",format:"image-uri",title:"Cover image"},e[27]=b):b=e[27];let S;e[28]!==i?(S=u=>i("image",u),e[28]=i,e[29]=S):S=e[29];let y;e[30]!==s.image||e[31]!==S?(y=t.jsx(ye,{schema:b,value:s.image,onChange:S,path:"post-image",label:"Cover image"}),e[30]=s.image,e[31]=S,e[32]=y):y=e[32];let g;e[33]!==i?(g=u=>i("authors",u),e[33]=i,e[34]=g):g=e[34];let v;e[35]!==r||e[36]!==s.authors||e[37]!==g?(v=t.jsx(oe,{label:"Authors",decofile:r,kind:"authors",valueField:"email",toRef:Ie,selected:s.authors,onChange:g}),e[35]=r,e[36]=s.authors,e[37]=g,e[38]=v):v=e[38];let P;e[39]!==i?(P=u=>i("categories",u),e[39]=i,e[40]=P):P=e[40];let w;e[41]!==r||e[42]!==s.categories||e[43]!==P?(w=t.jsx(oe,{label:"Categories",decofile:r,kind:"categories",valueField:"slug",toRef:Me,selected:s.categories,onChange:P}),e[41]=r,e[42]=s.categories,e[43]=P,e[44]=w):w=e[44];let _;e[45]!==i?(_=u=>i("extraProps",u),e[45]=i,e[46]=_):_=e[46];let C;e[47]!==s.extraProps||e[48]!==_?(C=t.jsx(Ue,{value:s.extraProps,onChange:_}),e[47]=s.extraProps,e[48]=_,e[49]=C):C=e[49];let B;return e[50]!==k||e[51]!==y||e[52]!==v||e[53]!==w||e[54]!==C||e[55]!==c?(B=t.jsxs("div",{className:"space-y-5",children:[c,k,y,v,w,C]}),e[50]=k,e[51]=y,e[52]=v,e[53]=w,e[54]=C,e[55]=c,e[56]=B):B=e[56],B}function Me(j){return{name:T(j.name),slug:T(j.slug)}}function Ie(j){return{...j}}function Ue(j){const e=Y.c(15),{value:s,onChange:r}=j;let i,f,m,a;if(e[0]!==r||e[1]!==s){i=Le(s);const x=(l,p)=>r(i.map((d,n)=>n===l?{...d,...p}:d));f="space-y-2",e[6]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx(X,{children:"Extra props"}),e[6]=m):m=e[6],a=i.length>0&&t.jsx("ul",{className:"space-y-2",children:i.map((l,p)=>t.jsxs("li",{className:"group/item flex items-center gap-2",children:[t.jsx(te,{value:l.key,onChange:d=>x(p,{key:d.target.value}),placeholder:"key",className:"h-9 flex-1"}),t.jsx(te,{value:l.value,onChange:d=>x(p,{value:d.target.value}),placeholder:"value",className:"h-9 flex-1"}),t.jsx(Re,{label:"Remove prop",onClick:()=>r(i.filter((d,n)=>n!==p))})]},p))}),e[0]=r,e[1]=s,e[2]=i,e[3]=f,e[4]=m,e[5]=a}else i=e[2],f=e[3],m=e[4],a=e[5];let c;e[7]!==i||e[8]!==r?(c=t.jsx(Ae,{label:"Add prop",onClick:()=>r([...i,{key:"",value:""}])}),e[7]=i,e[8]=r,e[9]=c):c=e[9];let h;return e[10]!==f||e[11]!==m||e[12]!==a||e[13]!==c?(h=t.jsxs("div",{className:f,children:[m,a,c]}),e[10]=f,e[11]=m,e[12]=a,e[13]=c,e[14]=h):h=e[14],h}function oe(j){const e=Y.c(17),{label:s,decofile:r,kind:i,valueField:f,toRef:m,selected:a,onChange:c}=j;let h;e[0]!==r||e[1]!==i||e[2]!==a||e[3]!==m||e[4]!==f?(h=Ce({records:Ne(r,i),selected:a,valueField:f,toRef:m}),e[0]=r,e[1]=i,e[2]=a,e[3]=m,e[4]=f,e[5]=h):h=e[5];const{options:x,selectedValues:l,refsForValues:p}=h;let d;e[6]!==s?(d=t.jsx(X,{children:s}),e[6]=s,e[7]=d):d=e[7];let n;e[8]!==s||e[9]!==c||e[10]!==x||e[11]!==p||e[12]!==l?(n=x.length===0?t.jsxs("p",{className:"text-xs text-muted-foreground",children:["No ",s.toLowerCase()," yet — create some in the"," ",s.toLowerCase()," collection."]}):t.jsx(ce,{options:x,defaultValue:l,onValueChange:N=>c(p(N)),placeholder:`Select ${s.toLowerCase()}`,maxCount:4}),e[8]=s,e[9]=c,e[10]=x,e[11]=p,e[12]=l,e[13]=n):n=e[13];let o;return e[14]!==d||e[15]!==n?(o=t.jsxs("div",{className:"space-y-2",children:[d,n]}),e[14]=d,e[15]=n,e[16]=o):o=e[16],o}export{As as PostEditor};
@@ -1 +1 @@
1
- import{c as f,l as h,j as a}from"./index-D0sbyEKG.js";import{k as y}from"./agent-icon-CwOWIhBV.js";import{s as v}from"./Plus-AqZ-MFgY.js";import{s as j}from"./Trash01-DpaEaloO.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,l as h,j as a}from"./index-BViuj3Zp.js";import{k as y}from"./agent-icon-4OYn2-Xd.js";import{s as v}from"./Plus-ZampjQ1c.js";import{s as j}from"./Trash01-BEpWbC-P.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};
@@ -0,0 +1 @@
1
+ import{c as Se,j as s,a as Ce,M as Te,ah as Ee,U as $e,p as V,t as Ae}from"./index-BViuj3Zp.js";import{P as be}from"./index-CDpX4jH_.js";import{A as Be}from"./avatar-xlIuyoMc.js";import{S as ke}from"./switch-B3m9k2eD.js";import{c as Pe,S as De,d as ye,a as Ve}from"./select-qG9TXgnQ.js";import{T as _e,a as Ue}from"./toggle-group-Tou0VhGL.js";import{I as Ge}from"./input-CrWepkq-.js";import{i as Re}from"./Monitor01-CBCrOQKX.js";import{n as qe,a as Fe}from"./Sun-BSbrufjj.js";import{i as Oe}from"./Play-W_tyYjyU.js";import{u as Ke}from"./use-debounced-autosave-CdfQISSq.js";import{u as Ne}from"./use-t-BtoDI8fu.js";import{p as Me,q as He}from"./question-004-sINsf4GQ.js";import"./index-CMTGZ4MP.js";import{c as Je,b as w,S as Le,a as ze}from"./settings-section-BmrOBhaa.js";import"./sidebar-C1px8gXk.js";import"./LayoutLeft-BvkDodd7.js";import"./use-mobile-VzfnI9e8.js";import"./X-DGbtz74n.js";import"./tooltip-C00IgCuZ.js";import"./User01-Fs0ZC54M.js";import"./ChevronUp-CeXG3T7Q.js";import"./ChevronDown-CTXYLSaK.js";import"./card-CkwoLH0q.js";import"./ArrowUpRight-BP83i5g7.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=Te(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}=Ke(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(Be,{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(Ge,{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(Ee,{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]=$e();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(qe,{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(Fe,{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(Re,{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(Ue,{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 U;e[65]!==T||e[66]!==E||e[67]!==$||e[68]!==B?(U=s.jsx(w,{title:T,description:E,onClick:$,action:B}),e[65]=T,e[66]=E,e[67]=$,e[68]=B,e[69]=U):U=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 q;e[74]!==l.enableSounds||e[75]!==i?(q=()=>{V("preferences_sounds_toggled",{enabled:!l.enableSounds}),i(Ze)},e[74]=l.enableSounds,e[75]=i,e[76]=q):q=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(Oe,{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 M;e[84]!==l.enableSounds||e[85]!==K?(M=s.jsx(ke,{checked:l.enableSounds,onCheckedChange:K}),e[84]=l.enableSounds,e[85]=K,e[86]=M):M=e[86];let H;e[87]!==O||e[88]!==M?(H=s.jsxs("div",{className:"flex items-center gap-2",children:[O,M]}),e[87]=O,e[88]=M,e[89]=H):H=e[89];let J;e[90]!==G||e[91]!==R||e[92]!==q||e[93]!==H?(J=s.jsx(w,{title:G,description:R,onClick:q,action:H}),e[90]=G,e[91]=R,e[92]=q,e[93]=H,e[94]=J):J=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]!==U||e[153]!==J||e[154]!==he?(xe=s.jsxs(ze,{children:[C,I,U,J,he]}),e[150]=C,e[151]=I,e[152]=U,e[153]=J,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"),Me(He.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(Je,{children:[i,c,r]})})})}),e[6]=i,e[7]=a):a=e[7],a}function Pt(){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{Pt as default};
@@ -0,0 +1 @@
1
+ import{c as L,C as H,j as U}from"./index-BViuj3Zp.js";import{a as O,g as $,s as E}from"./automation-runs-C2IkSzyr.js";import{r as k,u as B}from"./use-mcp-client-CCBeFzjN.js";import{b as V,c as Y}from"./use-mcp-tools-DGAtC90c.js";import{u as q}from"./index-Diic5mDN.js";import{c as G}from"./monaco-editor-q-bsxkqg.js";import{g as K,M as W,a as D}from"./index-Ck9z8hnX.js";import{b as z,a as F}from"./chat-context-Dphgvmep.js";import{u as J}from"./shell-layout-DECxtr74.js";import{O as Q}from"./tab-id-BijBBRwE.js";import"./select-qG9TXgnQ.js";import"./tooltip-C00IgCuZ.js";import"./ChevronUp-CeXG3T7Q.js";import"./ChevronDown-CTXYLSaK.js";import"./useInfiniteQuery-DN_1U3UT.js";import"./use-infinite-scroll-BjMzxbtd.js";import"./use-connection-BmsZEZdh.js";import"./use-collections-ByB7tifA.js";import"./use-virtual-mcp-BgtJGOyu.js";import"./card-CkwoLH0q.js";import"./sidebar-C1px8gXk.js";import"./LayoutLeft-BvkDodd7.js";import"./use-mobile-VzfnI9e8.js";import"./X-DGbtz74n.js";import"./table-ChwnWGd-.js";import"./empty-state-DJa-N1zF.js";import"./use-members-DFXNKZZN.js";import"./use-org-auth-client-BLZyK2ST.js";import"./use-clock-tick-7UIvH8pN.js";import"./AlertCircle-D-iHyVs7.js";import"./CheckCircle-CzBDsKPK.js";import"./DotsVertical-CTZdcpE4.js";import"./agent-icon-4OYn2-Xd.js";import"./Tool01-CXL1-1xQ.js";import"./ArrowUp-eD2g1ze5.js";import"./Settings02-DiEGH6SU.js";import"./Tool02-DG2uVfj0.js";import"./XCircle-BntHiGeT.js";import"./ArrowUpRight-BP83i5g7.js";import"./TrendUp01-CaPznoak.js";import"./ZapSquare-BbAUgUmL.js";import"./ZoomOut-CczbRBMV.js";import"./Users03-Dj6va1Tf.js";import"./ChevronRight-q5d6uFM5.js";import"./Stars02-Be18K_Z8.js";import"./Copy01-wzVXYzx9.js";import"./Globe01-D5vFay0B.js";import"./Eye-WdF_3F_E.js";import"./FilterLines-DMRfuAjb.js";import"./Star01-CvI4fqP7.js";import"./Globe04-DPiqo9h_.js";import"./SwitchHorizontal01-BMO_N3oN.js";import"./HardDrive-CNGPngJW.js";import"./Image01-Cw58gqLC.js";import"./Key01-BPSSu_cV.js";import"./LinkExternal01-Bzm3X9Eu.js";import"./Monitor01-CBCrOQKX.js";import"./Sun-BSbrufjj.js";import"./Package-DuPMq6gF.js";import"./Palette-8-DoknMu.js";import"./Play-W_tyYjyU.js";import"./Plus-ZampjQ1c.js";import"./SearchLg-nCNkDt9b.js";import"./SearchMd-CzCmM-Mo.js";import"./Shield01-DOZwb0VW.js";import"./Stars01-L2SJKBzN.js";import"./Trash01-BEpWbC-P.js";import"./Upload01-egF7uJFz.js";import"./User01-Fs0ZC54M.js";import"./Users01-DqWrfyY1.js";import"./XClose-Cgz7gs-U.js";import"./Zap-1rUhnHCW.js";import"./use-automations-Xi6RZR9c.js";import"./studio-tools-bPAOpcGV.js";import"./useSuspenseInfiniteQuery-BvZ3s7aO.js";import"./avatar-xlIuyoMc.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-e8MdZAl7.js";import"./file-type-icon-ByeIyc-K.js";import"./dialog-CuMAjQ08.js";import"./hooks-79VbY-Yk.js";import"./decopilot-sse-pool-BLZuSHqj.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./calendar-DA-wtmXd.js";import"./integration-icon-BxWuhD67.js";import"./use-navigate-to-agent-IK2-SrV7.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ccl3RkYl.js";import"./form-CJYslYp3.js";import"./label-B_MQ8EmH.js";import"./input-CrWepkq-.js";import"./auth-C-w9gXI2.js";import"./drawer-CkUomq8q.js";import"./collection-search-CHFEzXDD.js";import"./autosend-DNq41CeN.js";import"./index-u-MbppEy.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-2lK_PnWA.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DKhmO9CB.js";import"./mcp-oauth-Bc8O3CuI.js";import"./extract-connection-data-wmFgy-D9.js";import"./use-decopilot-events-uv0dzzKN.js";import"./dropdown-menu-C-P3K57C.js";import"./popover-Bk3uS9IT.js";import"./command-CHlOLrW7.js";import"./index-CiZTeCW9.js";import"./use-organization-settings-wRIFZUlG.js";import"./tabs-yGShcoAM.js";import"./toggle-group-Tou0VhGL.js";import"./use-deco-credits-2CWebt3c.js";import"./connection-card-BvGyMi1d.js";import"./use-registry-connections-CbHz8uO3.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BeRJSbNE.js";import"./connection-form-helpers-BtW0MONX.js";import"./collection-tabs-Dldo-wkB.js";import"./badge-CZdauhkX.js";import"./use-ai-providers-BycXD_7L.js";import"./connect-desktop-dialog-BXvNjr5j.js";import"./select-model-BvJl1hDq.js";import"./checkbox-_ElG6Efh.js";import"./skeleton-DrZCq-iL.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-BmrOBhaa.js";import"./index-Dj2oFgmy.js";import"./alert-dialog-tDYvnU02.js";import"./toolbar-DttPgBTD.js";import"./use-debounced-value-DOM2DgKp.js";import"./location-BpLtHjTZ.js";import"./index-BcHd9c8O.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BJl9VP5P.js";import"./use-capability-DjArrWU7.js";import"./toolbar-icon-button-DUiZW1W8.js";import"./use-debounced-autosave-CdfQISSq.js";import"./index-CDpX4jH_.js";import"./search-input-o3OcMxgz.js";import"./use-mcp-auth-status-QUWWvgsS.js";import"./switch-B3m9k2eD.js";import"./github-repo-picker-BmMSB5hV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BilxCrsw.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-Cy55eNzu.js";import"./use-file-configs-BIsCTuCw.js";import"./automation-list-row-lB4CIuYy.js";import"./required-auth-layout-BRc364iL.js";import"./use-org-sso-B_e2Szhn.js";const X="studio://navigate";function Z(M){const[t]=M;if(M.length!==1||t?.type!=="resource_link"||!t.uri.startsWith(X))return{isNavigate:!1};let o=null;try{o=new URL(t.uri).searchParams.get("main")}catch{}return{isNavigate:!0,tab:o&&Q.has(o)?o:null}}const tt={};function ot(M){const t=L.c(38),{client:o,resourceURI:I,tool:i,connectionId:p,orgId:a,args:v}=M,{sendMessage:C}=z(),{setAppContext:f,clearAppContext:l}=F(),{openSidePanel:g,openTab:s}=J(),r=`${p}:${i.name}`;let c;t[0]!==s?(c=x=>x==="inline"?(s("0"),"inline"):"fullscreen",t[0]=s,t[1]=c):c=t[1];const m=c,n=v??tt;let u;t[2]!==o||t[3]!==i.name||t[4]!==n?(u={client:o,toolName:i.name,toolArguments:n},t[2]=o,t[3]=i.name,t[4]=n,t[5]=u):u=t[5];const{data:e}=Y(u);let h;if(t[6]!==i._meta||t[7]!==i.name){const x=$(i._meta);h=E(i.name,x),t[6]=i._meta,t[7]=i.name,t[8]=h}else h=t[8];const A=h;let d;t[9]!==i.inputSchema?(d=i.inputSchema??{type:"object"},t[9]=i.inputSchema,t[10]=d):d=t[10];let R;t[11]!==A||t[12]!==d||t[13]!==i?(R={...i,name:A,inputSchema:d},t[11]=A,t[12]=d,t[13]=i,t[14]=R):R=t[14];const b=R;let _;t[15]!==g||t[16]!==s||t[17]!==C?(_=x=>{const j=Z(x.content);if(j.isNavigate){j.tab&&s(j.tab);return}const w=G(x.content);w.content.length>0&&(g("chat"),C({tiptapDoc:w}))},t[15]=g,t[16]=s,t[17]=C,t[18]=_):_=t[18];const y=_;let P;t[19]!==b?(P={tool:b},t[19]=b,t[20]=P):P=t[20];let N;t[21]!==f||t[22]!==r?(N=x=>f(r,x),t[21]=f,t[22]=r,t[23]=N):N=t[23];let T;t[24]!==l||t[25]!==r?(T=()=>l(r),t[24]=l,t[25]=r,t[26]=T):T=t[26];let S;return t[27]!==o||t[28]!==y||t[29]!==m||t[30]!==a||t[31]!==I||t[32]!==P||t[33]!==N||t[34]!==T||t[35]!==n||t[36]!==e?(S=U.jsx(W,{resourceURI:I,orgId:a,toolInfo:P,toolInput:n,toolResult:e,displayMode:"fullscreen",minHeight:D.fullscreen.minHeight,maxHeight:D.fullscreen.maxHeight,client:o,onMessage:y,onUpdateModelContext:N,onTeardown:T,onRequestDisplayMode:m,className:"h-full"}),t[27]=o,t[28]=y,t[29]=m,t[30]=a,t[31]=I,t[32]=P,t[33]=N,t[34]=T,t[35]=n,t[36]=e,t[37]=S):S=t[37],S}function Wi(M){const t=L.c(24),{connectionId:o,toolName:I,args:i}=M,{org:p}=H(),a=q();let v;t[0]!==o||t[1]!==a?(v=k(o)&&a.vmEntry?.sandboxProviderKind==="user-desktop"&&a.previewUrl?`${a.previewUrl.replace(/\/+$/,"")}/api/mcp`:void 0,t[0]=o,t[1]=a,t[2]=v):v=t[2];const C=v;let f;t[3]!==o||t[4]!==C||t[5]!==p.id||t[6]!==p.slug?(f={connectionId:o,orgId:p.id,orgSlug:p.slug,mcpUrl:C},t[3]=o,t[4]=C,t[5]=p.id,t[6]=p.slug,t[7]=f):f=t[7];const l=B(f);let g;t[8]!==l?(g={client:l},t[8]=l,t[9]=g):g=t[9];const{data:s}=V(g);let r,c,m;t[10]!==I||t[11]!==s.tools?(r=O(decodeURIComponent(I)),m=s.tools.find(e=>e.name===r)??s.tools.find(e=>{const h=$(e._meta);if(!h)return!1;if(E(e.name,h)===r)return!0;const d=E(r,h);return d!==r&&e.name===d}),c=m?._meta?K(m._meta):void 0,t[10]=I,t[11]=s.tools,t[12]=r,t[13]=c,t[14]=m):(r=t[12],c=t[13],m=t[14]);const n=c;if(!m||!n){let e;return t[15]!==r?(e=U.jsx("div",{className:"flex items-center justify-center h-full w-full",children:U.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',r,'" not found or has no UI']})}),t[15]=r,t[16]=e):e=t[16],e}let u;return t[17]!==i||t[18]!==l||t[19]!==o||t[20]!==p.id||t[21]!==n||t[22]!==m?(u=U.jsx(ot,{client:l,resourceURI:n,tool:m,connectionId:o,orgId:p.id,args:i}),t[17]=i,t[18]=l,t[19]=o,t[20]=p.id,t[21]=n,t[22]=m,t[23]=u):u=t[23],u}export{Wi as AppViewContent};
@@ -0,0 +1 @@
1
+ import{c as C,j as o}from"./index-BViuj3Zp.js";import{I as B}from"./input-CrWepkq-.js";import{L as T}from"./label-B_MQ8EmH.js";import{S as L,a as A,b as R,c as z,d as O}from"./select-qG9TXgnQ.js";import{T as V}from"./textarea-BeRJSbNE.js";import{v as D,w as J,o as K,y as M,I as _}from"./index-Diic5mDN.js";import{s as F}from"./primitives-DG56UuNW.js";import{u as $}from"./use-autosave-BWtR445L.js";import"./tooltip-C00IgCuZ.js";import"./ChevronUp-CeXG3T7Q.js";import"./ChevronDown-CTXYLSaK.js";import"./ArrowUp-eD2g1ze5.js";import"./chat-context-Dphgvmep.js";import"./autosend-DNq41CeN.js";import"./hooks-79VbY-Yk.js";import"./use-mcp-client-CCBeFzjN.js";import"./auth-C-w9gXI2.js";import"./decopilot-sse-pool-BLZuSHqj.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-bPAOpcGV.js";import"./use-virtual-mcp-BgtJGOyu.js";import"./use-collections-ByB7tifA.js";import"./use-ai-providers-BycXD_7L.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-uv0dzzKN.js";import"./use-organization-settings-wRIFZUlG.js";import"./automation-runs-C2IkSzyr.js";import"./useInfiniteQuery-DN_1U3UT.js";import"./use-infinite-scroll-BjMzxbtd.js";import"./use-connection-BmsZEZdh.js";import"./card-CkwoLH0q.js";import"./sidebar-C1px8gXk.js";import"./LayoutLeft-BvkDodd7.js";import"./use-mobile-VzfnI9e8.js";import"./X-DGbtz74n.js";import"./table-ChwnWGd-.js";import"./empty-state-DJa-N1zF.js";import"./use-members-DFXNKZZN.js";import"./use-org-auth-client-BLZyK2ST.js";import"./use-clock-tick-7UIvH8pN.js";import"./AlertCircle-D-iHyVs7.js";import"./CheckCircle-CzBDsKPK.js";import"./DotsVertical-CTZdcpE4.js";import"./agent-icon-4OYn2-Xd.js";import"./Tool01-CXL1-1xQ.js";import"./Settings02-DiEGH6SU.js";import"./Tool02-DG2uVfj0.js";import"./XCircle-BntHiGeT.js";import"./ArrowUpRight-BP83i5g7.js";import"./TrendUp01-CaPznoak.js";import"./ZapSquare-BbAUgUmL.js";import"./ZoomOut-CczbRBMV.js";import"./Users03-Dj6va1Tf.js";import"./ChevronRight-q5d6uFM5.js";import"./Stars02-Be18K_Z8.js";import"./Copy01-wzVXYzx9.js";import"./Globe01-D5vFay0B.js";import"./Eye-WdF_3F_E.js";import"./FilterLines-DMRfuAjb.js";import"./Star01-CvI4fqP7.js";import"./Globe04-DPiqo9h_.js";import"./SwitchHorizontal01-BMO_N3oN.js";import"./HardDrive-CNGPngJW.js";import"./Image01-Cw58gqLC.js";import"./Key01-BPSSu_cV.js";import"./LinkExternal01-Bzm3X9Eu.js";import"./Monitor01-CBCrOQKX.js";import"./Sun-BSbrufjj.js";import"./Package-DuPMq6gF.js";import"./Palette-8-DoknMu.js";import"./Play-W_tyYjyU.js";import"./Plus-ZampjQ1c.js";import"./SearchLg-nCNkDt9b.js";import"./SearchMd-CzCmM-Mo.js";import"./Shield01-DOZwb0VW.js";import"./Stars01-L2SJKBzN.js";import"./Trash01-BEpWbC-P.js";import"./Upload01-egF7uJFz.js";import"./User01-Fs0ZC54M.js";import"./Users01-DqWrfyY1.js";import"./XClose-Cgz7gs-U.js";import"./Zap-1rUhnHCW.js";import"./use-automations-Xi6RZR9c.js";import"./useSuspenseInfiniteQuery-BvZ3s7aO.js";import"./avatar-xlIuyoMc.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-e8MdZAl7.js";import"./file-type-icon-ByeIyc-K.js";import"./dialog-CuMAjQ08.js";import"./monaco-editor-q-bsxkqg.js";import"./index-BcHd9c8O.js";import"./index-Ck9z8hnX.js";import"./calendar-DA-wtmXd.js";import"./shell-layout-DECxtr74.js";import"./required-auth-layout-BRc364iL.js";import"./use-org-sso-B_e2Szhn.js";import"./integration-icon-BxWuhD67.js";import"./use-navigate-to-agent-IK2-SrV7.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ccl3RkYl.js";import"./form-CJYslYp3.js";import"./drawer-CkUomq8q.js";import"./collection-search-CHFEzXDD.js";import"./index-u-MbppEy.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-2lK_PnWA.js";import"./use-mcp-tools-DGAtC90c.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DKhmO9CB.js";import"./mcp-oauth-Bc8O3CuI.js";import"./extract-connection-data-wmFgy-D9.js";import"./dropdown-menu-C-P3K57C.js";import"./popover-Bk3uS9IT.js";import"./command-CHlOLrW7.js";import"./index-CiZTeCW9.js";import"./tabs-yGShcoAM.js";import"./toggle-group-Tou0VhGL.js";import"./use-deco-credits-2CWebt3c.js";import"./connection-card-BvGyMi1d.js";import"./use-registry-connections-CbHz8uO3.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-BtW0MONX.js";import"./collection-tabs-Dldo-wkB.js";import"./badge-CZdauhkX.js";import"./connect-desktop-dialog-BXvNjr5j.js";import"./select-model-BvJl1hDq.js";import"./checkbox-_ElG6Efh.js";import"./skeleton-DrZCq-iL.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-BmrOBhaa.js";import"./index-Dj2oFgmy.js";import"./alert-dialog-tDYvnU02.js";import"./toolbar-DttPgBTD.js";import"./use-debounced-value-DOM2DgKp.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BJl9VP5P.js";import"./use-capability-DjArrWU7.js";import"./toolbar-icon-button-DUiZW1W8.js";import"./use-debounced-autosave-CdfQISSq.js";import"./index-CDpX4jH_.js";import"./search-input-o3OcMxgz.js";import"./use-mcp-auth-status-QUWWvgsS.js";import"./switch-B3m9k2eD.js";import"./github-repo-picker-BmMSB5hV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BilxCrsw.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-Cy55eNzu.js";import"./use-file-configs-BIsCTuCw.js";import"./automation-list-row-lB4CIuYy.js";const q={authors:[{key:"name",label:"Name",widget:"text"},{key:"type",label:"Type",widget:"select",options:[{value:"Person",label:"Person"},{value:"Organization",label:"Organization"}]},{key:"email",label:"Email",widget:"text",placeholder:"author@example.com"},{key:"jobTitle",label:"Job title",widget:"text"},{key:"company",label:"Company",widget:"text"},{key:"avatar",label:"Avatar",widget:"image"}]},G={authors:"Author"};function Ko(g){const t=C.c(34),{orgSlug:j,virtualMcpId:w,branch:S,kind:e,blockKey:h,block:E}=g;let y;t[0]!==S||t[1]!==j||t[2]!==w?(y={orgSlug:j,virtualMcpId:w,branch:S},t[0]=S,t[1]=j,t[2]=w,t[3]=y):y=t[3];const m=D(y);let d;t[4]!==E||t[5]!==e?(d=J(E,e),t[4]=E,t[5]=e,t[6]=d):d=t[6];const f=d;let k;t[7]!==h||t[8]!==e||t[9]!==m?(k=a=>{m.mutate({blockKey:h,data:M(h,e,a)})},t[7]=h,t[8]=e,t[9]=m,t[10]=k):k=t[10];const[i,N]=$(f,k);let b;t[11]!==i||t[12]!==N?(b=(a,r)=>N({...i,[a]:r}),t[11]=i,t[12]=N,t[13]=b):b=t[13];const p=b,I=G[e];let l;t[14]!==I?(l=o.jsx("span",{className:"text-sm font-medium",children:I}),t[14]=I,t[15]=l):l=t[15];let n;t[16]!==m.isError||t[17]!==m.isPending?(n=o.jsx(K,{isPending:m.isPending,isError:m.isError}),t[16]=m.isError,t[17]=m.isPending,t[18]=n):n=t[18];let c;t[19]!==l||t[20]!==n?(c=o.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[l,n]}),t[19]=l,t[20]=n,t[21]=c):c=t[21];const P=q[e];let u;if(t[22]!==i||t[23]!==p||t[24]!==P){let a;t[26]!==i||t[27]!==p?(a=r=>o.jsx("div",{className:"space-y-2",children:r.widget==="image"?o.jsx(_,{schema:{type:"string",format:"image-uri",title:r.label},value:i[r.key],onChange:s=>p(r.key,s),path:r.key,label:r.label}):r.widget==="select"?o.jsxs(o.Fragment,{children:[o.jsx(T,{htmlFor:r.key,children:r.label}),o.jsxs(L,{value:F(i[r.key])||r.options?.[0]?.value,onValueChange:s=>p(r.key,s),children:[o.jsx(A,{id:r.key,className:"h-10 w-full",children:o.jsx(R,{placeholder:r.label})}),o.jsx(z,{children:(r.options??[]).map(H)})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(T,{htmlFor:r.key,children:r.label}),r.widget==="textarea"?o.jsx(V,{id:r.key,value:F(i[r.key]),onChange:s=>p(r.key,s.target.value),rows:3}):o.jsx(B,{id:r.key,value:F(i[r.key]),placeholder:r.placeholder,onChange:s=>p(r.key,s.target.value),className:"h-10"})]})},r.key),t[26]=i,t[27]=p,t[28]=a):a=t[28],u=P.map(a),t[22]=i,t[23]=p,t[24]=P,t[25]=u}else u=t[25];let x;t[29]!==u?(x=o.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:o.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:u})}),t[29]=u,t[30]=x):x=t[30];let v;return t[31]!==x||t[32]!==c?(v=o.jsxs("div",{className:"flex h-full flex-col",children:[c,x]}),t[31]=x,t[32]=c,t[33]=v):v=t[33],v}function H(g){return o.jsx(O,{value:g.value,children:g.label},g.value)}export{Ko as RecordEditor};
@@ -0,0 +1 @@
1
+ import{c as z,j as t}from"./index-BViuj3Zp.js";import{C as G}from"./checkbox-_ElG6Efh.js";import{I as K}from"./input-CrWepkq-.js";import{L as q}from"./label-B_MQ8EmH.js";import{c as H,S as J,d as W,a as X,b as Z}from"./select-qG9TXgnQ.js";import{k as ee,a_ as te,o as re,a$ as M,b0 as ie}from"./index-Diic5mDN.js";import{u as oe}from"./use-autosave-BWtR445L.js";import"./ChevronUp-CeXG3T7Q.js";import"./tooltip-C00IgCuZ.js";import"./ChevronDown-CTXYLSaK.js";import"./ArrowUp-eD2g1ze5.js";import"./chat-context-Dphgvmep.js";import"./autosend-DNq41CeN.js";import"./hooks-79VbY-Yk.js";import"./use-mcp-client-CCBeFzjN.js";import"./auth-C-w9gXI2.js";import"./decopilot-sse-pool-BLZuSHqj.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-bPAOpcGV.js";import"./use-virtual-mcp-BgtJGOyu.js";import"./use-collections-ByB7tifA.js";import"./use-ai-providers-BycXD_7L.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-uv0dzzKN.js";import"./use-organization-settings-wRIFZUlG.js";import"./automation-runs-C2IkSzyr.js";import"./useInfiniteQuery-DN_1U3UT.js";import"./use-infinite-scroll-BjMzxbtd.js";import"./use-connection-BmsZEZdh.js";import"./card-CkwoLH0q.js";import"./sidebar-C1px8gXk.js";import"./LayoutLeft-BvkDodd7.js";import"./use-mobile-VzfnI9e8.js";import"./X-DGbtz74n.js";import"./table-ChwnWGd-.js";import"./empty-state-DJa-N1zF.js";import"./use-members-DFXNKZZN.js";import"./use-org-auth-client-BLZyK2ST.js";import"./use-clock-tick-7UIvH8pN.js";import"./AlertCircle-D-iHyVs7.js";import"./CheckCircle-CzBDsKPK.js";import"./DotsVertical-CTZdcpE4.js";import"./agent-icon-4OYn2-Xd.js";import"./Tool01-CXL1-1xQ.js";import"./Settings02-DiEGH6SU.js";import"./Tool02-DG2uVfj0.js";import"./XCircle-BntHiGeT.js";import"./ArrowUpRight-BP83i5g7.js";import"./TrendUp01-CaPznoak.js";import"./ZapSquare-BbAUgUmL.js";import"./ZoomOut-CczbRBMV.js";import"./Users03-Dj6va1Tf.js";import"./ChevronRight-q5d6uFM5.js";import"./Stars02-Be18K_Z8.js";import"./Copy01-wzVXYzx9.js";import"./Globe01-D5vFay0B.js";import"./Eye-WdF_3F_E.js";import"./FilterLines-DMRfuAjb.js";import"./Star01-CvI4fqP7.js";import"./Globe04-DPiqo9h_.js";import"./SwitchHorizontal01-BMO_N3oN.js";import"./HardDrive-CNGPngJW.js";import"./Image01-Cw58gqLC.js";import"./Key01-BPSSu_cV.js";import"./LinkExternal01-Bzm3X9Eu.js";import"./Monitor01-CBCrOQKX.js";import"./Sun-BSbrufjj.js";import"./Package-DuPMq6gF.js";import"./Palette-8-DoknMu.js";import"./Play-W_tyYjyU.js";import"./Plus-ZampjQ1c.js";import"./SearchLg-nCNkDt9b.js";import"./SearchMd-CzCmM-Mo.js";import"./Shield01-DOZwb0VW.js";import"./Stars01-L2SJKBzN.js";import"./Trash01-BEpWbC-P.js";import"./Upload01-egF7uJFz.js";import"./User01-Fs0ZC54M.js";import"./Users01-DqWrfyY1.js";import"./XClose-Cgz7gs-U.js";import"./Zap-1rUhnHCW.js";import"./use-automations-Xi6RZR9c.js";import"./useSuspenseInfiniteQuery-BvZ3s7aO.js";import"./avatar-xlIuyoMc.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-e8MdZAl7.js";import"./file-type-icon-ByeIyc-K.js";import"./dialog-CuMAjQ08.js";import"./monaco-editor-q-bsxkqg.js";import"./index-BcHd9c8O.js";import"./index-Ck9z8hnX.js";import"./calendar-DA-wtmXd.js";import"./shell-layout-DECxtr74.js";import"./required-auth-layout-BRc364iL.js";import"./use-org-sso-B_e2Szhn.js";import"./integration-icon-BxWuhD67.js";import"./use-navigate-to-agent-IK2-SrV7.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ccl3RkYl.js";import"./form-CJYslYp3.js";import"./drawer-CkUomq8q.js";import"./collection-search-CHFEzXDD.js";import"./index-u-MbppEy.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-2lK_PnWA.js";import"./use-mcp-tools-DGAtC90c.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DKhmO9CB.js";import"./mcp-oauth-Bc8O3CuI.js";import"./extract-connection-data-wmFgy-D9.js";import"./dropdown-menu-C-P3K57C.js";import"./popover-Bk3uS9IT.js";import"./command-CHlOLrW7.js";import"./index-CiZTeCW9.js";import"./tabs-yGShcoAM.js";import"./toggle-group-Tou0VhGL.js";import"./use-deco-credits-2CWebt3c.js";import"./connection-card-BvGyMi1d.js";import"./use-registry-connections-CbHz8uO3.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BeRJSbNE.js";import"./connection-form-helpers-BtW0MONX.js";import"./collection-tabs-Dldo-wkB.js";import"./badge-CZdauhkX.js";import"./connect-desktop-dialog-BXvNjr5j.js";import"./select-model-BvJl1hDq.js";import"./skeleton-DrZCq-iL.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-BmrOBhaa.js";import"./index-Dj2oFgmy.js";import"./alert-dialog-tDYvnU02.js";import"./toolbar-DttPgBTD.js";import"./use-debounced-value-DOM2DgKp.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BJl9VP5P.js";import"./use-capability-DjArrWU7.js";import"./toolbar-icon-button-DUiZW1W8.js";import"./use-debounced-autosave-CdfQISSq.js";import"./index-CDpX4jH_.js";import"./search-input-o3OcMxgz.js";import"./use-mcp-auth-status-QUWWvgsS.js";import"./switch-B3m9k2eD.js";import"./github-repo-picker-BmMSB5hV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BilxCrsw.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-Cy55eNzu.js";import"./use-file-configs-BIsCTuCw.js";import"./automation-list-row-lB4CIuYy.js";const me=[{value:"temporary",label:`Temporary (${M.temporary})`},{value:"permanent",label:`Permanent (${M.permanent})`}];function Xr(_){const e=z.c(62),{orgSlug:$,virtualMcpId:A,branch:B,blockKey:D,block:O}=_;let S;e[0]!==B||e[1]!==$||e[2]!==A?(S={orgSlug:$,virtualMcpId:A,branch:B},e[0]=B,e[1]=$,e[2]=A,e[3]=S):S=e[3];const m=ee(S);let g;e[4]!==O?(g=te(O),e[4]=O,e[5]=g):g=e[5];const Y=g;let v;e[6]!==D||e[7]!==m?(v=o=>{m.mutate({blockKey:D,data:ie(o)})},e[6]=D,e[7]=m,e[8]=v):v=e[8];const[r,V]=oe(Y,v);let N;e[9]!==r||e[10]!==V?(N=o=>V({...r,...o}),e[9]=r,e[10]=V,e[11]=N):N=e[11];const i=N;let P;e[12]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("span",{className:"text-sm font-medium",children:"Redirect"}),e[12]=P):P=e[12];let p;e[13]!==m.isError||e[14]!==m.isPending?(p=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[P,t.jsx(re,{isPending:m.isPending,isError:m.isError})]}),e[13]=m.isError,e[14]=m.isPending,e[15]=p):p=e[15];let T;e[16]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(q,{htmlFor:"redirect-from",children:"From"}),e[16]=T):T=e[16];let s;e[17]!==i?(s=o=>i({from:o.target.value}),e[17]=i,e[18]=s):s=e[18];let l;e[19]!==r.from||e[20]!==s?(l=t.jsx(K,{id:"redirect-from",value:r.from,placeholder:"/old-path",onChange:s,className:"h-10"}),e[19]=r.from,e[20]=s,e[21]=l):l=e[21];let E;e[22]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["The source path to match. Supports URLPattern syntax (e.g."," ",t.jsx("code",{children:"/product/:slug"}),")."]}),e[22]=E):E=e[22];let a;e[23]!==l?(a=t.jsxs("div",{className:"space-y-2",children:[T,l,E]}),e[23]=l,e[24]=a):a=e[24];let R;e[25]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx(q,{htmlFor:"redirect-to",children:"To"}),e[25]=R):R=e[25];let c;e[26]!==i?(c=o=>i({to:o.target.value}),e[26]=i,e[27]=c):c=e[27];let n;e[28]!==r.to||e[29]!==c?(n=t.jsx(K,{id:"redirect-to",value:r.to,placeholder:"/new-path",onChange:c,className:"h-10"}),e[28]=r.to,e[29]=c,e[30]=n):n=e[30];let k;e[31]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("p",{className:"text-xs text-muted-foreground",children:"The destination — a relative path or an absolute URL."}),e[31]=k):k=e[31];let d;e[32]!==n?(d=t.jsxs("div",{className:"space-y-2",children:[R,n,k]}),e[32]=n,e[33]=d):d=e[33];let C;e[34]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(q,{htmlFor:"redirect-type",children:"Type"}),e[34]=C):C=e[34];let f;e[35]!==i?(f=o=>i({type:o}),e[35]=i,e[36]=f):f=e[36];let w;e[37]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(X,{id:"redirect-type",className:"h-10 w-full",children:t.jsx(Z,{placeholder:"Type"})}),e[37]=w):w=e[37];let I;e[38]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(H,{children:me.map(pe)}),e[38]=I):I=e[38];let h;e[39]!==r.type||e[40]!==f?(h=t.jsxs(J,{value:r.type,onValueChange:f,children:[w,I]}),e[39]=r.type,e[40]=f,e[41]=h):h=e[41];let F;e[42]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx("strong",{children:"Temporary"}),e[42]=F):F=e[42];let L;e[43]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",F," when the redirect may change;"," ",t.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),e[43]=L):L=e[43];let x;e[44]!==h?(x=t.jsxs("div",{className:"space-y-2",children:[C,h,L]}),e[44]=h,e[45]=x):x=e[45];let u;e[46]!==i?(u=o=>i({discardQueryParameters:o===!0}),e[46]=i,e[47]=u):u=e[47];let y;e[48]!==r.discardQueryParameters||e[49]!==u?(y=t.jsx(G,{checked:r.discardQueryParameters,onCheckedChange:u}),e[48]=r.discardQueryParameters,e[49]=u,e[50]=y):y=e[50];let Q;e[51]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx("span",{className:"text-sm",children:"Discard query parameters"}),e[51]=Q):Q=e[51];let j;e[52]!==y?(j=t.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[y,Q]}),e[52]=y,e[53]=j):j=e[53];let b;e[54]!==a||e[55]!==d||e[56]!==x||e[57]!==j?(b=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:t.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[a,d,x,j]})}),e[54]=a,e[55]=d,e[56]=x,e[57]=j,e[58]=b):b=e[58];let U;return e[59]!==b||e[60]!==p?(U=t.jsxs("div",{className:"flex h-full flex-col",children:[p,b]}),e[59]=b,e[60]=p,e[61]=U):U=e[61],U}function pe(_){return t.jsx(W,{value:_.value,children:_.label},_.value)}export{Xr as RedirectEditor};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-qvDv8qlK.js","assets/index-BViuj3Zp.js","assets/index-uQHpzHcR.css","assets/Tool02-DG2uVfj0.js","assets/CheckCircle-CzBDsKPK.js","assets/Settings02-DiEGH6SU.js","assets/use-mcp-client-CCBeFzjN.js","assets/auth-C-w9gXI2.js","assets/useInfiniteQuery-DN_1U3UT.js","assets/use-infinite-scroll-BjMzxbtd.js","assets/studio-tools-bPAOpcGV.js","assets/badge-CZdauhkX.js","assets/input-CrWepkq-.js","assets/dropdown-menu-C-P3K57C.js","assets/ChevronUp-CeXG3T7Q.js","assets/ChevronRight-q5d6uFM5.js","assets/DotsVertical-CTZdcpE4.js","assets/table-ChwnWGd-.js","assets/toggle-group-Tou0VhGL.js","assets/use-view-mode-CVUVZ-An.js","assets/use-mobile-VzfnI9e8.js","assets/FilterLines-DMRfuAjb.js","assets/Globe01-D5vFay0B.js","assets/SearchMd-CzCmM-Mo.js","assets/dialog-CuMAjQ08.js","assets/X-DGbtz74n.js","assets/AlertCircle-D-iHyVs7.js","assets/Upload01-egF7uJFz.js","assets/alert-dialog-tDYvnU02.js","assets/card-CkwoLH0q.js","assets/Trash01-BEpWbC-P.js","assets/label-B_MQ8EmH.js","assets/select-qG9TXgnQ.js","assets/tooltip-C00IgCuZ.js","assets/ChevronDown-CTXYLSaK.js","assets/switch-B3m9k2eD.js","assets/textarea-BeRJSbNE.js","assets/XCircle-BntHiGeT.js","assets/checkbox-_ElG6Efh.js","assets/Eye-WdF_3F_E.js","assets/LinkExternal01-Bzm3X9Eu.js","assets/use-copy-e8MdZAl7.js","assets/Copy01-wzVXYzx9.js","assets/Key01-BPSSu_cV.js","assets/Plus-ZampjQ1c.js","assets/mcp-oauth-Bc8O3CuI.js","assets/Play-W_tyYjyU.js"])))=>i.map(i=>d[i]);
2
+ import{c as s,j as e,r as i,i as a,aX as o}from"./index-BViuj3Zp.js";import{R as m}from"./require-capability-BkVhJwqT.js";import"./use-capability-DjArrWU7.js";import"./access-gate-I7mC4qxc.js";import"./capability-load-error-CiaG_I5c.js";const n=i.lazy(()=>o(()=>import("./registry-layout-qvDv8qlK.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 f(){const r=s.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(i.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{f as default};
@@ -1,4 +1,4 @@
1
- import{c as W,C as ge,m as Re,n as Te,d as be,t as Q,r as T,j as t,B as V,i as Fe,l as Z,bb as qs,bc as Bs}from"./index-D0sbyEKG.js";import{i as Jt,a as ds,t as Qs,c as Vs,n as Gs,b as Ks}from"./Tool02-x-oqE1tt.js";import{i as qe}from"./CheckCircle-WJlpqtVo.js";import{s as Mt,c as Ys,b as Hs,i as Ws,a as Js}from"./Settings02-CduzvDA8.js";import{S as Me,u as Ie,W as Zs}from"./use-mcp-client-hjy57WVi.js";import{u as us}from"./useInfiniteQuery-CIKhe25A.js";import{u as _e}from"./studio-tools-DSrrLWEf.js";import{B as F}from"./badge-Bn9DubCM.js";import{I as pe}from"./input-B_aM31ol.js";import{a as dt,d as Ne,c as ut,D as mt,b as Zt,k as Xt,j as Xs}from"./dropdown-menu-oR1-acEm.js";import{c as Et,d as At,a as Be,e as ce,b as Dt,T as de}from"./table-BWGE7qw6.js";import{a as er,T as es}from"./toggle-group-CrXVJ0nD.js";import{u as tr}from"./use-view-mode-DzNyKydL.js";import{i as $t}from"./DotsVertical-D9nt5zhx.js";import{i as sr}from"./FilterLines-DP1oBDsZ.js";import{n as rr,i as ms}from"./Globe01-CBnMNGG-.js";import{i as ir}from"./SearchMd-DjRWQAGM.js";import{D as xt,a as pt,h as ht,c as ft,d as gt,e as jt}from"./dialog-D9PywX8D.js";import{i as Ye}from"./AlertCircle-DLkW-D8r.js";import{i as ts}from"./Upload01-D1H-ptv4.js";import{c as He,b as We,d as Je,A as Ze,g as Xe,e as et,a as tt,f as st}from"./alert-dialog-CdaqECTU.js";import{C as re}from"./card-BLPPFux8.js";import{s as rt}from"./Trash01-DpaEaloO.js";import{L as te}from"./label-Dk1mHqTQ.js";import{S as nr,a as ar,b as lr,c as or,d as St}from"./select-3Me5H3ZN.js";import{S as Le}from"./switch-BVTG0w3B.js";import{T as vt}from"./textarea-DO6Uu1Lo.js";import{b as cr,i as dr,a as ur}from"./XCircle-EKf5FEAL.js";import{i as mr}from"./X-Bqyzv9zS.js";import{t as xr}from"./ChevronDown-C6a2YBvw.js";import{n as pr,i as Rt}from"./ChevronUp-XFdtuA9Y.js";import{C as ss}from"./checkbox-BXj0XY72.js";import{s as xs}from"./Eye-fRpXKX1r.js";import{n as hr}from"./LinkExternal01-BmYA4GJe.js";import{u as fr}from"./use-infinite-scroll-C6v5IfbW.js";import{u as Tt}from"./use-copy-DsmPQU2T.js";import{a as It}from"./Copy01-BdylCFlV.js";import{i as gr}from"./Key01-BohuMtcS.js";import{s as jr}from"./Plus-AqZ-MFgY.js";import{T as vr,a as br,b as yr}from"./tooltip-CuCBKir6.js";import{i as Nr,a as wr}from"./mcp-oauth-DjM-Kpes.js";import{i as _r}from"./Play-BfzR-6lQ.js";import"./auth-Coeo-dwO.js";import"./ChevronRight-D3pXmI3r.js";import"./use-mobile-D3Qy1fCh.js";const Ue="private-registry",Cr=`
1
+ import{c as W,C as ge,m as Re,n as Te,d as be,t as Q,r as T,j as t,B as V,i as Fe,l as Z,bb as qs,bc as Bs}from"./index-BViuj3Zp.js";import{i as Jt,a as ds,t as Qs,c as Vs,n as Gs,b as Ks}from"./Tool02-DG2uVfj0.js";import{i as qe}from"./CheckCircle-CzBDsKPK.js";import{s as Mt,c as Ys,b as Hs,i as Ws,a as Js}from"./Settings02-DiEGH6SU.js";import{S as Me,u as Ie,W as Zs}from"./use-mcp-client-CCBeFzjN.js";import{u as us}from"./useInfiniteQuery-DN_1U3UT.js";import{u as _e}from"./studio-tools-bPAOpcGV.js";import{B as F}from"./badge-CZdauhkX.js";import{I as pe}from"./input-CrWepkq-.js";import{a as dt,d as Ne,c as ut,D as mt,b as Zt,k as Xt,j as Xs}from"./dropdown-menu-C-P3K57C.js";import{c as Et,d as At,a as Be,e as ce,b as Dt,T as de}from"./table-ChwnWGd-.js";import{a as er,T as es}from"./toggle-group-Tou0VhGL.js";import{u as tr}from"./use-view-mode-CVUVZ-An.js";import{i as $t}from"./DotsVertical-CTZdcpE4.js";import{i as sr}from"./FilterLines-DMRfuAjb.js";import{n as rr,i as ms}from"./Globe01-D5vFay0B.js";import{i as ir}from"./SearchMd-CzCmM-Mo.js";import{D as xt,a as pt,h as ht,c as ft,d as gt,e as jt}from"./dialog-CuMAjQ08.js";import{i as Ye}from"./AlertCircle-D-iHyVs7.js";import{i as ts}from"./Upload01-egF7uJFz.js";import{c as He,b as We,d as Je,A as Ze,g as Xe,e as et,a as tt,f as st}from"./alert-dialog-tDYvnU02.js";import{C as re}from"./card-CkwoLH0q.js";import{s as rt}from"./Trash01-BEpWbC-P.js";import{L as te}from"./label-B_MQ8EmH.js";import{S as nr,a as ar,b as lr,c as or,d as St}from"./select-qG9TXgnQ.js";import{S as Le}from"./switch-B3m9k2eD.js";import{T as vt}from"./textarea-BeRJSbNE.js";import{b as cr,i as dr,a as ur}from"./XCircle-BntHiGeT.js";import{i as mr}from"./X-DGbtz74n.js";import{t as xr}from"./ChevronDown-CTXYLSaK.js";import{n as pr,i as Rt}from"./ChevronUp-CeXG3T7Q.js";import{C as ss}from"./checkbox-_ElG6Efh.js";import{s as xs}from"./Eye-WdF_3F_E.js";import{n as hr}from"./LinkExternal01-Bzm3X9Eu.js";import{u as fr}from"./use-infinite-scroll-BjMzxbtd.js";import{u as Tt}from"./use-copy-e8MdZAl7.js";import{a as It}from"./Copy01-wzVXYzx9.js";import{i as gr}from"./Key01-BPSSu_cV.js";import{s as jr}from"./Plus-ZampjQ1c.js";import{T as vr,a as br,b as yr}from"./tooltip-C00IgCuZ.js";import{i as Nr,a as wr}from"./mcp-oauth-Bc8O3CuI.js";import{i as _r}from"./Play-W_tyYjyU.js";import"./auth-C-w9gXI2.js";import"./ChevronRight-q5d6uFM5.js";import"./use-mobile-VzfnI9e8.js";const Ue="private-registry",Cr=`
2
2
  You are an MCP tool tester running automated integration checks.
3
3
 
4
4
  Goal: