decocms 4.82.20 → 4.83.1

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 (264) hide show
  1. package/dist/client/assets/{AlertCircle-Bx5VPnCL.js → AlertCircle-D2LEYSUh.js} +1 -1
  2. package/dist/client/assets/{AreaChart-DKXgsttk.js → AreaChart-DqLYq5VW.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-CRGMcwjN.js → ArrowUp-D8Znnjoa.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-XjbUsL6J.js → ArrowUpRight-wdyhd7_i.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-DvTvBvKr.js → CheckCircle-q7whrJQW.js} +1 -1
  6. package/dist/client/assets/{ChevronDown--710wNet.js → ChevronDown-DoJ-k2NZ.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-CyX_OwBu.js → ChevronRight-C4hEIfgs.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-BVwUhVX7.js → ChevronUp-CGTR312P.js} +1 -1
  9. package/dist/client/assets/{Copy01-BlUuudlp.js → Copy01-CvyYg5ZQ.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-BHuPkmo3.js → DotsVertical-0e14gdIQ.js} +1 -1
  11. package/dist/client/assets/{Eye-HqCyXTaB.js → Eye-Def6pxO6.js} +1 -1
  12. package/dist/client/assets/{FilterLines-CfibCuLd.js → FilterLines-CppNK8_d.js} +1 -1
  13. package/dist/client/assets/{Globe01-CxXiD__5.js → Globe01-DzGglNry.js} +1 -1
  14. package/dist/client/assets/{Globe04-CiK6pryU.js → Globe04-bLBNXIps.js} +1 -1
  15. package/dist/client/assets/{HardDrive-DljyyjQe.js → HardDrive-CKFbwvbY.js} +1 -1
  16. package/dist/client/assets/{Image01-CCmFaLM6.js → Image01-B2X86JxG.js} +1 -1
  17. package/dist/client/assets/{Key01-CV8c3aey.js → Key01-3uf0kElN.js} +1 -1
  18. package/dist/client/assets/{LayoutLeft-D8A_vRpx.js → LayoutLeft-CcADrtuW.js} +1 -1
  19. package/dist/client/assets/{LinkExternal01-Blg4CFhG.js → LinkExternal01-DmAlYXHu.js} +1 -1
  20. package/dist/client/assets/{Monitor01-G0XI4AyE.js → Monitor01-Bo-ZNUM_.js} +1 -1
  21. package/dist/client/assets/{Package-BpnbT20S.js → Package-4efmOaN-.js} +1 -1
  22. package/dist/client/assets/{Palette-CucSl-Tp.js → Palette-Bpjldwh3.js} +1 -1
  23. package/dist/client/assets/{Play-J4lAOl0L.js → Play-DygcnDZ9.js} +1 -1
  24. package/dist/client/assets/{Plus-Be2ZDEMF.js → Plus-sn3sMPWN.js} +1 -1
  25. package/dist/client/assets/{SearchLg-hF3HTPE5.js → SearchLg-DRzFBnhX.js} +1 -1
  26. package/dist/client/assets/{SearchMd-BvJfdUAe.js → SearchMd-DvgdHj41.js} +1 -1
  27. package/dist/client/assets/{Settings02-BND3ad-_.js → Settings02-D5KqlDWC.js} +1 -1
  28. package/dist/client/assets/{Shield01-CesuQ_f6.js → Shield01-DpQDgtHf.js} +1 -1
  29. package/dist/client/assets/{Star01-B13g--Yk.js → Star01-DO3nFxrj.js} +1 -1
  30. package/dist/client/assets/{Stars01-DMCvEOuj.js → Stars01-CM0GEhaD.js} +1 -1
  31. package/dist/client/assets/{Stars02-Bf5s6jtI.js → Stars02-D-P-9j-l.js} +1 -1
  32. package/dist/client/assets/{Sun-D4wn6C4e.js → Sun-C6ImKKWE.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-COeWFMnn.js → SwitchHorizontal01-DyVGY9vs.js} +1 -1
  34. package/dist/client/assets/{Tool01-bTVguty-.js → Tool01-DZAVhVl-.js} +1 -1
  35. package/dist/client/assets/{Tool02-9uhchTyk.js → Tool02-DiJz5U4h.js} +1 -1
  36. package/dist/client/assets/{Trash01-Dv6dfSGH.js → Trash01-DknQ9OYs.js} +1 -1
  37. package/dist/client/assets/{TrendUp01-C-A7bTAN.js → TrendUp01-CwLTY0dJ.js} +1 -1
  38. package/dist/client/assets/{Upload01-BpEWpOj6.js → Upload01-C8vvf1IS.js} +1 -1
  39. package/dist/client/assets/{User01-DWXBU7_-.js → User01-CEkSMdwk.js} +1 -1
  40. package/dist/client/assets/{Users01-DAw96n2a.js → Users01-BWfzl-eM.js} +1 -1
  41. package/dist/client/assets/{Users03-2_7vN278.js → Users03-BfTrIRmK.js} +1 -1
  42. package/dist/client/assets/{X-BsyIQyXA.js → X-5pEiZiJA.js} +1 -1
  43. package/dist/client/assets/{XCircle-CkxSUHFg.js → XCircle-Dthd2Gnh.js} +1 -1
  44. package/dist/client/assets/{XClose-CUMcIZJo.js → XClose-CM5jhDsd.js} +1 -1
  45. package/dist/client/assets/{Zap-NvsmBFeg.js → Zap-DoOEDpdm.js} +1 -1
  46. package/dist/client/assets/{ZapSquare-Ccv-CNqp.js → ZapSquare-BxW8QNCf.js} +1 -1
  47. package/dist/client/assets/{ZoomOut-DIgycBu9.js → ZoomOut-BPI23qxl.js} +1 -1
  48. package/dist/client/assets/{access-gate-BRzOXph6.js → access-gate-B0xYeFOT.js} +1 -1
  49. package/dist/client/assets/{add-section-modal-BuZMOK1d.js → add-section-modal-QAfg520y.js} +1 -1
  50. package/dist/client/assets/{agent-icon-CQWu7X4M.js → agent-icon-DICx3hBA.js} +1 -1
  51. package/dist/client/assets/agents-list-CpF2-Mmw.js +1 -0
  52. package/dist/client/assets/ai-providers-CULIjkDu.js +1 -0
  53. package/dist/client/assets/{alert-CN8O4eEL.js → alert-DzdKCOTr.js} +1 -1
  54. package/dist/client/assets/{alert-dialog-B6UQptWc.js → alert-dialog--Wl_Q716.js} +1 -1
  55. package/dist/client/assets/app-editor-DjSAkLPq.js +1 -0
  56. package/dist/client/assets/{auth-CL1EKZwd.js → auth-DimuwgkU.js} +1 -1
  57. package/dist/client/assets/{auth-catchall-DsnXmu1s.js → auth-catchall-BYMJNpIK.js} +1 -1
  58. package/dist/client/assets/{auth-entry-CHD6OsmF.js → auth-entry-CdIL0xiz.js} +1 -1
  59. package/dist/client/assets/{auth-split-layout-C5g7KSYo.js → auth-split-layout-qkXHATDZ.js} +1 -1
  60. package/dist/client/assets/{authenticate-and-persist-oauth-DsuAbKam.js → authenticate-and-persist-oauth-DP7OH-0x.js} +1 -1
  61. package/dist/client/assets/{automation-list-row-9QEecu1P.js → automation-list-row-Bi2cr-f1.js} +1 -1
  62. package/dist/client/assets/{automation-runs-CHGY7bEN.js → automation-runs-sn1XZ5te.js} +25 -25
  63. package/dist/client/assets/automations-BY3X1yDC.js +1 -0
  64. package/dist/client/assets/{autosend-BR42-er8.js → autosend-VhtZIUZd.js} +1 -1
  65. package/dist/client/assets/{avatar-D4ZURmpF.js → avatar-DGDAlp6S.js} +1 -1
  66. package/dist/client/assets/{badge-BaCv5hEo.js → badge-CCCcI3SI.js} +1 -1
  67. package/dist/client/assets/{block-document-CpVTeUMx.js → block-document-p9lRw5vx.js} +1 -1
  68. package/dist/client/assets/{brand-context-BDAmWJRA.js → brand-context-CRDzhD5j.js} +1 -1
  69. package/dist/client/assets/{buckets-CybA-B50.js → buckets-C3oeEEpb.js} +1 -1
  70. package/dist/client/assets/{bulk-category-panel-DX-Ab1He.js → bulk-category-panel-CBqou1uj.js} +1 -1
  71. package/dist/client/assets/{calendar-BcT06D8w.js → calendar-DDf-RI1R.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-BmygI5Wl.js → capability-load-error-BDVdgQRH.js} +1 -1
  73. package/dist/client/assets/{card-UiTrwBHx.js → card-8x9dhfB5.js} +1 -1
  74. package/dist/client/assets/category-editor-BySV0yHR.js +1 -0
  75. package/dist/client/assets/{chat-context-C2HnQcJb.js → chat-context-BUKIQ9Uy.js} +6 -6
  76. package/dist/client/assets/{checkbox-DypyLGWd.js → checkbox-Dtlv_cuM.js} +1 -1
  77. package/dist/client/assets/{cli-auth-success-Biu-3dRM.js → cli-auth-success-D8NathVH.js} +1 -1
  78. package/dist/client/assets/collection-detail-Cvj_FzmH.js +1 -0
  79. package/dist/client/assets/{collection-display-button-DR8_laa0.js → collection-display-button-DB1XgpsY.js} +1 -1
  80. package/dist/client/assets/{collection-search-oVrfvvPK.js → collection-search-DiU5iEl5.js} +1 -1
  81. package/dist/client/assets/{collection-table-wrapper-BaJEOGx7.js → collection-table-wrapper-Bds1RMIC.js} +1 -1
  82. package/dist/client/assets/{collection-tabs-BzGvAa7-.js → collection-tabs-Beh83ebn.js} +1 -1
  83. package/dist/client/assets/{command-QdNoVtsu.js → command-BF6wZHTx.js} +1 -1
  84. package/dist/client/assets/commerce-onboarding-BP75s2Dk.js +1 -0
  85. package/dist/client/assets/{companions-core-I50RkMs1.js → companions-core-CtMZ4uem.js} +1 -1
  86. package/dist/client/assets/{connect-desktop-dialog-B1psOfPz.js → connect-desktop-dialog-CRY8YFXe.js} +1 -1
  87. package/dist/client/assets/connection-card-C7d2lD5S.js +1 -0
  88. package/dist/client/assets/connection-detail-CdPkUHlK.js +1 -0
  89. package/dist/client/assets/{connection-form-helpers-CkmqwL7L.js → connection-form-helpers-gT2vyvci.js} +1 -1
  90. package/dist/client/assets/connections-NSyDQ6Q7.js +1 -0
  91. package/dist/client/assets/{decopilot-sse-pool-Ch1Qumbm.js → decopilot-sse-pool-d9CNNZp5.js} +1 -1
  92. package/dist/client/assets/{dialog-qW-RW6Eb.js → dialog-B3XC2Fem.js} +1 -1
  93. package/dist/client/assets/{domain-settings-B8ldFr2r.js → domain-settings-CPkp1FtW.js} +1 -1
  94. package/dist/client/assets/{drawer-Ci9lekJ-.js → drawer-DMmd7qYS.js} +1 -1
  95. package/dist/client/assets/{dropdown-menu-M4Iyqsr4.js → dropdown-menu-DKKt9Hkl.js} +1 -1
  96. package/dist/client/assets/{empty-state-BAAsV00B.js → empty-state-Dkw_A4Pa.js} +1 -1
  97. package/dist/client/assets/extract-connection-data-DKQdJ934.js +1 -0
  98. package/dist/client/assets/file-explorer-DuhDO9xR.js +2 -0
  99. package/dist/client/assets/{file-type-icon-Cb5F2Kv5.js → file-type-icon-B7W5aql-.js} +1 -1
  100. package/dist/client/assets/{files-BuMJgWiq.js → files-LbKJmLK6.js} +1 -1
  101. package/dist/client/assets/{form-CxHAlAHx.js → form-07ny9vF1.js} +1 -1
  102. package/dist/client/assets/general-B9Z-Av5B.js +1 -0
  103. package/dist/client/assets/github-repo-picker-VXOAor7G.js +1 -0
  104. package/dist/client/assets/{hooks-CfbEEqda.js → hooks-CfXb-GNM.js} +4 -4
  105. package/dist/client/assets/{index-w3F47_RR.js → index-B3KpIghl.js} +1 -1
  106. package/dist/client/assets/{index-7BezNFoz.js → index-BLewo5np.js} +2 -2
  107. package/dist/client/assets/{index-BCg0EIRK.js → index-BRw9UGjF.js} +28 -28
  108. package/dist/client/assets/{index-CLAxS6F3.js → index-Bo5r9vhN.js} +1 -1
  109. package/dist/client/assets/index-C-yyDLRu.js +1 -0
  110. package/dist/client/assets/index-CiXfb9It.js +2 -0
  111. package/dist/client/assets/{index-B5wBAEvg.js → index-CkALF4KI.js} +1 -1
  112. package/dist/client/assets/{index-DMziGwwO.js → index-CyuM7rEn.js} +3 -3
  113. package/dist/client/assets/{index-C3TuMzMV.js → index-DPG8bThA.js} +2 -2
  114. package/dist/client/assets/{index-o6uO1QaJ.js → index-DeLa-LYI.js} +1 -1
  115. package/dist/client/assets/index-Du211SsF.js +1 -0
  116. package/dist/client/assets/{index-DakOweBw.js → index-TSzs123k.js} +1 -1
  117. package/dist/client/assets/{index-B9PofSU9.js → index-Z-r6rVBU.js} +1 -1
  118. package/dist/client/assets/{index-b8bN8MBO.js → index-_7ZZ6KHp.js} +1 -1
  119. package/dist/client/assets/{index-redirect-DvL5DDro.js → index-redirect-najUMrCC.js} +1 -1
  120. package/dist/client/assets/{input-B9mAD-FD.js → input-o4VGMAG1.js} +1 -1
  121. package/dist/client/assets/{integration-icon-BQSFPqY7.js → integration-icon-D1Wd5y66.js} +1 -1
  122. package/dist/client/assets/{invite-member-dialog-De8-xT6a.js → invite-member-dialog-SwESCPvB.js} +1 -1
  123. package/dist/client/assets/{label-Dw5usZ3s.js → label-Cp1qAc_O.js} +1 -1
  124. package/dist/client/assets/{layout-QddrRa8I.js → layout-Uz2CO7h9.js} +1 -1
  125. package/dist/client/assets/{login-BaaqbzaD.js → login-CReEgOAU.js} +1 -1
  126. package/dist/client/assets/{mcp-oauth-BBC8qIQI.js → mcp-oauth-CXkLjY6n.js} +1 -1
  127. package/dist/client/assets/{members-DgmyND8B.js → members-f_xknx9b.js} +1 -1
  128. package/dist/client/assets/{monaco-editor-BlxKl3DU.js → monaco-editor-D0Cz-f05.js} +1 -1
  129. package/dist/client/assets/{monitoring-stats-row-p4nUKL95.js → monitoring-stats-row-D97tffak.js} +1 -1
  130. package/dist/client/assets/{multi-select-CGZlQjFP.js → multi-select-QjQn7xxx.js} +1 -1
  131. package/dist/client/assets/{oauth-callback-CUAMF4ay.js → oauth-callback-Xy2OCum6.js} +1 -1
  132. package/dist/client/assets/{oauth-callback-ai-provider-CHFT6E6u.js → oauth-callback-ai-provider-HO59Hib1.js} +1 -1
  133. package/dist/client/assets/{onboarding-CgK1Huxt.js → onboarding-hpqfvA1m.js} +1 -1
  134. package/dist/client/assets/{org-install-CFlTSXa_.js → org-install-DJcxR66L.js} +1 -1
  135. package/dist/client/assets/{org-layout-C5P2KBoH.js → org-layout-WanSzVEd.js} +1 -1
  136. package/dist/client/assets/{organization-choice-SCcE-4Ds.js → organization-choice-Bl3Ca_Hf.js} +1 -1
  137. package/dist/client/assets/{orgs-MpAFLZ66.js → orgs-C67x5e8Z.js} +1 -1
  138. package/dist/client/assets/{page-seo-form-CSZ7Y3ej.js → page-seo-form-BM6NNXaU.js} +1 -1
  139. package/dist/client/assets/page-seo-sheet-DIktSv_X.js +1 -0
  140. package/dist/client/assets/{popover-CrO_Pfyc.js → popover-C6W8ZY4L.js} +1 -1
  141. package/dist/client/assets/post-editor-CcXD07Iw.js +1 -0
  142. package/dist/client/assets/{primitives-tp-ZjAPF.js → primitives-D67KmtUQ.js} +1 -1
  143. package/dist/client/assets/{profile-C8cnGeHg.js → profile-C4zXNVYU.js} +1 -1
  144. package/dist/client/assets/project-app-view-CdL-Xe3D.js +1 -0
  145. package/dist/client/assets/record-editor-DegFqRtz.js +1 -0
  146. package/dist/client/assets/redirect-editor-M06MPqqu.js +1 -0
  147. package/dist/client/assets/registry-Bxy6fUrE.js +2 -0
  148. package/dist/client/assets/{registry-layout-CIlh541C.js → registry-layout-Dc3jKiGl.js} +2 -2
  149. package/dist/client/assets/{reports-BovH0q0k.js → reports-DlD4jKdQ.js} +1 -1
  150. package/dist/client/assets/{require-capability-BFPA48Ea.js → require-capability-CFg_jVen.js} +1 -1
  151. package/dist/client/assets/{required-auth-layout-CAuTE_Ha.js → required-auth-layout-CENlweRO.js} +1 -1
  152. package/dist/client/assets/{reset-password-DVLvTotL.js → reset-password-Ck7S41pT.js} +1 -1
  153. package/dist/client/assets/roles-CRB9Uy1H.js +1 -0
  154. package/dist/client/assets/{search-input-BAsli81d.js → search-input-CY-dgNyz.js} +1 -1
  155. package/dist/client/assets/{secrets-BrR011u-.js → secrets-BfKEAhLf.js} +1 -1
  156. package/dist/client/assets/{sections-editor-hWe8pJps.js → sections-editor-D5k1kuC3.js} +2 -2
  157. package/dist/client/assets/{select-DY2h8ddP.js → select-D35sjC1I.js} +1 -1
  158. package/dist/client/assets/{select-model-DXVz8VSi.js → select-model-C6NvdYij.js} +1 -1
  159. package/dist/client/assets/self-tool-result-DHoHVidu.js +1 -0
  160. package/dist/client/assets/seo-editor-CSt4gfSw.js +1 -0
  161. package/dist/client/assets/{settings-layout-DQoYYzwG.js → settings-layout-CHHWRz-z.js} +1 -1
  162. package/dist/client/assets/{settings-section-ATW3P6O6.js → settings-section-4VLllqP4.js} +1 -1
  163. package/dist/client/assets/{shell-controls-BOk0i4_B.js → shell-controls-zZ7JDYfl.js} +1 -1
  164. package/dist/client/assets/shell-layout-cmLFtkbA.js +1 -0
  165. package/dist/client/assets/{sidebar-Dn9hhb22.js → sidebar-DnLUXLHH.js} +1 -1
  166. package/dist/client/assets/{skeleton-CypjCzyH.js → skeleton-3wI9_Cp3.js} +1 -1
  167. package/dist/client/assets/{sso-DQrgyUQ5.js → sso-DDaUas1M.js} +1 -1
  168. package/dist/client/assets/store-CJfMIbtg.js +1 -0
  169. package/dist/client/assets/store-registry-CpID09If.js +2 -0
  170. package/dist/client/assets/{studio-tools-D58JPByV.js → studio-tools-CRWhXKLV.js} +1 -1
  171. package/dist/client/assets/{switch-BYYj1eu3.js → switch-DKD8jTwV.js} +1 -1
  172. package/dist/client/assets/{table-yhILZeXr.js → table-B3G6ZFdl.js} +1 -1
  173. package/dist/client/assets/{tabs-CMvxJGz-.js → tabs-DgYirOYT.js} +1 -1
  174. package/dist/client/assets/{textarea-DkhX0GHx.js → textarea-CFawkka2.js} +1 -1
  175. package/dist/client/assets/{toggle-group-DycM7-N_.js → toggle-group-DldcGrfI.js} +1 -1
  176. package/dist/client/assets/{toolbar-icon-button-C1nzkZ0O.js → toolbar-icon-button-C-BQlOIA.js} +1 -1
  177. package/dist/client/assets/{toolbar-BkEAwLUI.js → toolbar-jBTR3791.js} +1 -1
  178. package/dist/client/assets/{tooltip-BqKyJXAE.js → tooltip-CpOE5nvR.js} +1 -1
  179. package/dist/client/assets/{use-ai-providers-5Uex2oSr.js → use-ai-providers-DdIX-Xpr.js} +1 -1
  180. package/dist/client/assets/use-automations-CznkKU7t.js +1 -0
  181. package/dist/client/assets/{use-autosave-Bl3c8i03.js → use-autosave-DoSudPf1.js} +1 -1
  182. package/dist/client/assets/{use-capability-DEr7wDGX.js → use-capability-BovP4XU-.js} +1 -1
  183. package/dist/client/assets/{use-clock-tick-CSY_8HaC.js → use-clock-tick-ChZsdFLh.js} +1 -1
  184. package/dist/client/assets/{use-collections-DUypxirp.js → use-collections-S6V0IwCi.js} +1 -1
  185. package/dist/client/assets/use-connection-D6Dwslfb.js +1 -0
  186. package/dist/client/assets/{use-copy-D3Kq5ZXg.js → use-copy-BfaKF8HI.js} +1 -1
  187. package/dist/client/assets/{use-create-virtual-mcp-wWKEU4qb.js → use-create-virtual-mcp-Cdzy2DJ5.js} +1 -1
  188. package/dist/client/assets/{use-debounced-autosave-JY3wOk_Q.js → use-debounced-autosave-DFr-y--s.js} +1 -1
  189. package/dist/client/assets/{use-debounced-value-bL-Oya1Z.js → use-debounced-value-RFTrWCtV.js} +1 -1
  190. package/dist/client/assets/use-deco-credits-DXyld6r6.js +1 -0
  191. package/dist/client/assets/{use-decopilot-events-B1D2InIQ.js → use-decopilot-events-BT5VDJfu.js} +1 -1
  192. package/dist/client/assets/{use-delete-connection-D_oVL8p-.js → use-delete-connection-CuuUkwta.js} +1 -1
  193. package/dist/client/assets/{use-deployment-admin-Dklq6Q3m.js → use-deployment-admin-Dt1BUk6I.js} +1 -1
  194. package/dist/client/assets/{use-file-configs-COjddq6T.js → use-file-configs-CDPbC_cj.js} +1 -1
  195. package/dist/client/assets/{use-infinite-scroll-JNWuT_ZF.js → use-infinite-scroll-D-SpdQHa.js} +1 -1
  196. package/dist/client/assets/{use-join-requests-Dn_loBCd.js → use-join-requests-D-sfKqNd.js} +1 -1
  197. package/dist/client/assets/{use-mcp-auth-status-CYu-P7ZL.js → use-mcp-auth-status-BNFQn9dc.js} +1 -1
  198. package/dist/client/assets/use-mcp-client-pOz4zopz.js +10 -0
  199. package/dist/client/assets/{use-mcp-tools-uJVRRujf.js → use-mcp-tools-15u_CgDb.js} +1 -1
  200. package/dist/client/assets/{use-members-Cf24-Ckt.js → use-members-CedPlYWb.js} +1 -1
  201. package/dist/client/assets/{use-mobile-BLQxo0Qz.js → use-mobile-D93fuoUn.js} +1 -1
  202. package/dist/client/assets/{use-navigate-to-agent-DX9RGu8W.js → use-navigate-to-agent-DSm6IUhE.js} +1 -1
  203. package/dist/client/assets/{use-org-auth-client-DN10IV5X.js → use-org-auth-client-B-c5r-I9.js} +1 -1
  204. package/dist/client/assets/{use-org-sso-Bsdle9Ju.js → use-org-sso-DHWTyEhh.js} +1 -1
  205. package/dist/client/assets/{use-organization-roles-C1dmcd8L.js → use-organization-roles-B7HrL9iH.js} +1 -1
  206. package/dist/client/assets/use-organization-settings-B3nks7fT.js +1 -0
  207. package/dist/client/assets/use-registry-app-CIJpU86G.js +1 -0
  208. package/dist/client/assets/use-registry-connections-CTr4M4ng.js +1 -0
  209. package/dist/client/assets/{use-secrets-DuRhDEB-.js → use-secrets-BJqMdSXL.js} +1 -1
  210. package/dist/client/assets/{use-status-sounds-CdM89JI2.js → use-status-sounds-CEwnbmsu.js} +1 -1
  211. package/dist/client/assets/{use-view-mode-CPZ_1kNu.js → use-view-mode-8qZQpYmt.js} +1 -1
  212. package/dist/client/assets/use-virtual-mcp-Cnu2_CEQ.js +1 -0
  213. package/dist/client/assets/useInfiniteQuery-IKzGAo4c.js +1 -0
  214. package/dist/client/assets/{useRouterState-BYirp-2v.js → useRouterState-Cu8GUbFN.js} +1 -1
  215. package/dist/client/assets/useSuspenseInfiniteQuery-JM6cFEC3.js +1 -0
  216. package/dist/client/assets/{users-Czfh_Ldy.js → users-BKNT8Pt-.js} +1 -1
  217. package/dist/client/assets/variant-calendar-CLm59vNC.js +1 -0
  218. package/dist/client/assets/{view-mode-toggle-D6NSNTM_.js → view-mode-toggle-CgTCB_hD.js} +1 -1
  219. package/dist/client/index.html +1 -1
  220. package/dist/server/cli.js +421 -421
  221. package/dist/server/migrate.js +80 -80
  222. package/dist/server/server.js +322 -322
  223. package/package.json +1 -1
  224. package/dist/client/assets/agents-list-uZ6QsPyJ.js +0 -1
  225. package/dist/client/assets/ai-providers-akY5IvEe.js +0 -1
  226. package/dist/client/assets/app-editor-D-7rxszJ.js +0 -1
  227. package/dist/client/assets/automations-CrrXQk0x.js +0 -1
  228. package/dist/client/assets/category-editor-BZ1iPsZn.js +0 -1
  229. package/dist/client/assets/collection-detail-CqQNJY-x.js +0 -1
  230. package/dist/client/assets/commerce-onboarding-DXLELfyG.js +0 -1
  231. package/dist/client/assets/connection-card-DjnLwIM-.js +0 -1
  232. package/dist/client/assets/connection-detail-Dmj7NLds.js +0 -1
  233. package/dist/client/assets/connections-CrZX9eIp.js +0 -1
  234. package/dist/client/assets/constants-BHDe7bIw.js +0 -1
  235. package/dist/client/assets/extract-connection-data-C0qDfuTX.js +0 -1
  236. package/dist/client/assets/file-explorer-Dx__xcgv.js +0 -2
  237. package/dist/client/assets/general-BvZcEbfM.js +0 -1
  238. package/dist/client/assets/github-repo-picker-Dtn_JVi-.js +0 -1
  239. package/dist/client/assets/index-D276pkfu.js +0 -2
  240. package/dist/client/assets/index-QfSYYMYy.js +0 -1
  241. package/dist/client/assets/index-vj1UIDk9.js +0 -1
  242. package/dist/client/assets/page-seo-sheet-mSGuS0o0.js +0 -1
  243. package/dist/client/assets/post-editor-CjgnpX45.js +0 -1
  244. package/dist/client/assets/project-app-view-BJ0hEB-9.js +0 -1
  245. package/dist/client/assets/record-editor-DxzYImji.js +0 -1
  246. package/dist/client/assets/redirect-editor-CSQWyuD6.js +0 -1
  247. package/dist/client/assets/registry-CoEuzgUm.js +0 -2
  248. package/dist/client/assets/roles-NiJ2qmTH.js +0 -1
  249. package/dist/client/assets/self-tool-result-B9B3SGAU.js +0 -1
  250. package/dist/client/assets/seo-editor-BnkeQMbe.js +0 -1
  251. package/dist/client/assets/shell-layout-BUDxl1va.js +0 -1
  252. package/dist/client/assets/store-3uQXsGQf.js +0 -1
  253. package/dist/client/assets/store-registry-BnE356l7.js +0 -2
  254. package/dist/client/assets/use-automations-DVQ8vBHR.js +0 -1
  255. package/dist/client/assets/use-connection-ZAfjrw2n.js +0 -1
  256. package/dist/client/assets/use-deco-credits-zzllCk_4.js +0 -1
  257. package/dist/client/assets/use-mcp-client-BjL1G4QR.js +0 -10
  258. package/dist/client/assets/use-organization-settings-diMs3Q13.js +0 -1
  259. package/dist/client/assets/use-registry-app-BkvGxg0L.js +0 -1
  260. package/dist/client/assets/use-registry-connections-BEaKKIqL.js +0 -1
  261. package/dist/client/assets/use-virtual-mcp-BUq9lEJe.js +0 -1
  262. package/dist/client/assets/useInfiniteQuery-BxBR_av7.js +0 -1
  263. package/dist/client/assets/useSuspenseInfiniteQuery-Cdibyh2E.js +0 -1
  264. package/dist/client/assets/variant-calendar-BRbWSmVd.js +0 -1
@@ -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-DMziGwwO.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-CyuM7rEn.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};
@@ -0,0 +1 @@
1
+ import{c as Y,j as t,B as le}from"./index-CyuM7rEn.js";import{i as ae}from"./AlertCircle-D2LEYSUh.js";import{n as me}from"./LinkExternal01-DmAlYXHu.js";import{aL as pe,h as ne}from"./agent-icon-DICx3hBA.js";import{I as te}from"./input-o4VGMAG1.js";import{L as X}from"./label-Cp1qAc_O.js";import{M as ce}from"./multi-select-QjQn7xxx.js";import{b as ie,c as de,T as se,a as fe}from"./tabs-DgYirOYT.js";import{T as ue}from"./textarea-CFawkka2.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-BRw9UGjF.js";import{b as Se,T as Pe,a as we}from"./tooltip-CpOE5nvR.js";import{b as _e,a as Be,B as Te}from"./block-document-p9lRw5vx.js";import{u as Ee}from"./use-autosave-DoSudPf1.js";import{s as T,E as Fe,R as Re,A as Ae}from"./primitives-D67KmtUQ.js";import"./Tool01-DZAVhVl-.js";import"./ArrowUp-D8Znnjoa.js";import"./Settings02-D5KqlDWC.js";import"./Tool02-DiJz5U4h.js";import"./XCircle-Dthd2Gnh.js";import"./ArrowUpRight-wdyhd7_i.js";import"./TrendUp01-CwLTY0dJ.js";import"./ZapSquare-BxW8QNCf.js";import"./ZoomOut-BPI23qxl.js";import"./Users03-BfTrIRmK.js";import"./CheckCircle-q7whrJQW.js";import"./ChevronUp-CGTR312P.js";import"./ChevronDown-DoJ-k2NZ.js";import"./ChevronRight-C4hEIfgs.js";import"./DotsVertical-0e14gdIQ.js";import"./Stars02-D-P-9j-l.js";import"./Copy01-CvyYg5ZQ.js";import"./Globe01-DzGglNry.js";import"./Eye-Def6pxO6.js";import"./FilterLines-CppNK8_d.js";import"./Star01-DO3nFxrj.js";import"./Globe04-bLBNXIps.js";import"./SwitchHorizontal01-DyVGY9vs.js";import"./HardDrive-CKFbwvbY.js";import"./Image01-B2X86JxG.js";import"./Key01-3uf0kElN.js";import"./LayoutLeft-CcADrtuW.js";import"./Monitor01-Bo-ZNUM_.js";import"./Sun-C6ImKKWE.js";import"./Package-4efmOaN-.js";import"./Palette-Bpjldwh3.js";import"./Play-DygcnDZ9.js";import"./Plus-sn3sMPWN.js";import"./SearchLg-DRzFBnhX.js";import"./SearchMd-DvgdHj41.js";import"./Shield01-DpQDgtHf.js";import"./Stars01-CM0GEhaD.js";import"./Trash01-DknQ9OYs.js";import"./Upload01-C8vvf1IS.js";import"./User01-CEkSMdwk.js";import"./Users01-BWfzl-eM.js";import"./XClose-CM5jhDsd.js";import"./X-5pEiZiJA.js";import"./Zap-DoOEDpdm.js";import"./badge-CCCcI3SI.js";import"./checkbox-Dtlv_cuM.js";import"./command-BF6wZHTx.js";import"./index-Bo5r9vhN.js";import"./dialog-B3XC2Fem.js";import"./popover-C6W8ZY4L.js";import"./chat-context-BUKIQ9Uy.js";import"./autosend-VhtZIUZd.js";import"./hooks-CfXb-GNM.js";import"./use-mcp-client-pOz4zopz.js";import"./auth-DimuwgkU.js";import"./decopilot-sse-pool-d9CNNZp5.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-CRWhXKLV.js";import"./use-virtual-mcp-Cnu2_CEQ.js";import"./use-collections-S6V0IwCi.js";import"./use-ai-providers-DdIX-Xpr.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-BT5VDJfu.js";import"./use-organization-settings-B3nks7fT.js";import"./automation-runs-sn1XZ5te.js";import"./select-D35sjC1I.js";import"./useInfiniteQuery-IKzGAo4c.js";import"./use-infinite-scroll-D-SpdQHa.js";import"./use-connection-D6Dwslfb.js";import"./card-8x9dhfB5.js";import"./sidebar-DnLUXLHH.js";import"./use-mobile-D93fuoUn.js";import"./table-B3G6ZFdl.js";import"./empty-state-Dkw_A4Pa.js";import"./use-members-CedPlYWb.js";import"./use-org-auth-client-B-c5r-I9.js";import"./use-clock-tick-ChZsdFLh.js";import"./use-automations-CznkKU7t.js";import"./useSuspenseInfiniteQuery-JM6cFEC3.js";import"./avatar-DGDAlp6S.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BfaKF8HI.js";import"./file-type-icon-B7W5aql-.js";import"./monaco-editor-D0Cz-f05.js";import"./index-_7ZZ6KHp.js";import"./index-CkALF4KI.js";import"./calendar-DDf-RI1R.js";import"./shell-layout-cmLFtkbA.js";import"./required-auth-layout-CENlweRO.js";import"./use-org-sso-DHWTyEhh.js";import"./integration-icon-D1Wd5y66.js";import"./use-navigate-to-agent-DSm6IUhE.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DqLYq5VW.js";import"./form-07ny9vF1.js";import"./drawer-DMmd7qYS.js";import"./collection-search-DiU5iEl5.js";import"./index-CiXfb9It.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CIJpU86G.js";import"./use-mcp-tools-15u_CgDb.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DP7OH-0x.js";import"./mcp-oauth-CXkLjY6n.js";import"./extract-connection-data-DKQdJ934.js";import"./dropdown-menu-DKKt9Hkl.js";import"./toggle-group-DldcGrfI.js";import"./use-deco-credits-DXyld6r6.js";import"./connection-card-C7d2lD5S.js";import"./use-registry-connections-CTr4M4ng.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-gT2vyvci.js";import"./collection-tabs-Beh83ebn.js";import"./connect-desktop-dialog-CRY8YFXe.js";import"./select-model-C6NvdYij.js";import"./skeleton-3wI9_Cp3.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-4VLllqP4.js";import"./index-B3KpIghl.js";import"./alert-dialog--Wl_Q716.js";import"./toolbar-jBTR3791.js";import"./use-debounced-value-RFTrWCtV.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CEwnbmsu.js";import"./use-capability-BovP4XU-.js";import"./toolbar-icon-button-C-BQlOIA.js";import"./use-debounced-autosave-DFr-y--s.js";import"./index-TSzs123k.js";import"./search-input-CY-dgNyz.js";import"./use-mcp-auth-status-BNFQn9dc.js";import"./switch-DKD8jTwV.js";import"./github-repo-picker-VXOAor7G.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BJqMdSXL.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-CtMZ4uem.js";import"./use-file-configs-CDPbC_cj.js";import"./automation-list-row-Bi2cr-f1.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-DMziGwwO.js";import{k as y}from"./agent-icon-CQWu7X4M.js";import{s as v}from"./Plus-Be2ZDEMF.js";import{s as j}from"./Trash01-Dv6dfSGH.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-CyuM7rEn.js";import{k as y}from"./agent-icon-DICx3hBA.js";import{s as v}from"./Plus-sn3sMPWN.js";import{s as j}from"./Trash01-DknQ9OYs.js";function N(o){const e=f.c(14),{value:t,onChange:r,placeholder:s,className:n,onFocus:i,onBlur:l,onKeyDown:c,spellCheck:b,inputRef:p}=o,x=b===void 0?!0:b;let u;e[0]!==r?(u=g=>r(g.target.value),e[0]=r,e[1]=u):u=e[1];let d;e[2]!==n?(d=h("w-full resize-none border-0 bg-transparent p-0 outline-none [field-sizing:content] placeholder:text-muted-foreground/50 focus:ring-0",n),e[2]=n,e[3]=d):d=e[3];let m;return e[4]!==p||e[5]!==l||e[6]!==i||e[7]!==c||e[8]!==s||e[9]!==x||e[10]!==u||e[11]!==d||e[12]!==t?(m=a.jsx("textarea",{ref:p,value:t,onChange:u,onInput:w,onFocus:i,onBlur:l,onKeyDown:c,placeholder:s,spellCheck:x,rows:1,className:d}),e[4]=p,e[5]=l,e[6]=i,e[7]=c,e[8]=s,e[9]=x,e[10]=u,e[11]=d,e[12]=t,e[13]=m):m=e[13],m}function w(o){const e=o.currentTarget;e.style.height="auto",e.style.height=`${e.scrollHeight}px`}function z(o){return typeof o=="string"?o:""}function T(o){const e=f.c(11);let t,r;e[0]!==o?({className:t,...r}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);let s;e[3]!==t?(s=h(t,"pr-9"),e[3]=t,e[4]=s):s=e[4];let n;e[5]!==r||e[6]!==s?(n=a.jsx(N,{...r,className:s}),e[5]=r,e[6]=s,e[7]=n):n=e[7];let i;e[8]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(y,{size:18,"aria-hidden":!0,className:"pointer-events-none absolute right-2 top-3 text-muted-foreground/40 transition-opacity group-hover/editable:text-muted-foreground group-focus-within/editable:text-muted-foreground"}),e[8]=i):i=e[8];let l;return e[9]!==n?(l=a.jsxs("div",{className:"group/editable relative -mx-2 rounded-md px-2 transition-colors hover:bg-muted/50 focus-within:bg-muted/50",children:[n,i]}),e[9]=n,e[10]=l):l=e[10],l}function R(o){const e=f.c(5),{label:t,onClick:r,disabled:s}=o;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(v,{size:13}),e[0]=n):n=e[0];let i;return e[1]!==s||e[2]!==t||e[3]!==r?(i=a.jsxs("button",{type:"button",onClick:r,disabled:s,className:"flex items-center gap-1.5 rounded-md border border-dashed px-2.5 py-1.5 text-xs text-muted-foreground transition-colors hover:border-foreground/30 hover:text-foreground disabled:opacity-40 disabled:hover:border-dashed disabled:hover:text-muted-foreground cursor-pointer",children:[n,t]}),e[1]=s,e[2]=t,e[3]=r,e[4]=i):i=e[4],i}function B(o){const e=f.c(4),{label:t,onClick:r}=o;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(j,{size:13}),e[0]=s):s=e[0];let n;return e[1]!==t||e[2]!==r?(n=a.jsx("button",{type:"button","aria-label":t,onClick:r,className:"flex h-6 w-6 shrink-0 items-center justify-center rounded text-muted-foreground/60 opacity-0 transition-opacity hover:text-destructive group-hover/item:opacity-100 cursor-pointer",children:s}),e[1]=t,e[2]=r,e[3]=n):n=e[3],n}function E(o){const e=f.c(2),{children:t}=o;let r;return e[0]!==t?(r=a.jsx("div",{className:"absolute -top-9 left-0 z-10 flex items-center gap-0.5 rounded-md border bg-popover p-0.5 shadow-md",children:t}),e[0]=t,e[1]=r):r=e[1],r}function S(o){const e=f.c(8),{active:t,label:r,onClick:s,children:n}=o,i=t?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground";let l;e[0]!==i?(l=h("flex h-7 min-w-7 items-center justify-center rounded px-1.5 text-sm transition-colors cursor-pointer",i),e[0]=i,e[1]=l):l=e[1];let c;return e[2]!==t||e[3]!==n||e[4]!==r||e[5]!==s||e[6]!==l?(c=a.jsx("button",{type:"button","aria-label":r,"aria-pressed":t,onMouseDown:_,onClick:s,className:l,children:n}),e[2]=t,e[3]=n,e[4]=r,e[5]=s,e[6]=l,e[7]=c):c=e[7],c}function _(o){return o.preventDefault()}function D(o){if(Array.isArray(o))return o;if(typeof o!="string"||o.trim()==="")return[];try{const e=JSON.parse(o);return Array.isArray(e)?e:[]}catch{return[]}}export{R as A,T as E,E as F,N as I,B as R,S as T,D as p,z as s};
@@ -1 +1 @@
1
- import{c as V,j as t,a as D,M as R,ah as U,U as q,p as N,t as T}from"./index-DMziGwwO.js";import{P as L}from"./index-DakOweBw.js";import{A as B}from"./avatar-D4ZURmpF.js";import{S as I}from"./switch-BYYj1eu3.js";import{S as G,a as Y,d as $,c as K}from"./select-DY2h8ddP.js";import{a as M,T as z}from"./toggle-group-DycM7-N_.js";import{I as O}from"./input-B9mAD-FD.js";import{i as H}from"./Monitor01-G0XI4AyE.js";import{n as J,a as Q}from"./Sun-D4wn6C4e.js";import{i as W}from"./Play-J4lAOl0L.js";import{u as X}from"./use-debounced-autosave-JY3wOk_Q.js";import{p as Z,q as ee}from"./question-004-sINsf4GQ.js";import"./index-B9PofSU9.js";import{c as te,b as A,S as E,a as F}from"./settings-section-ATW3P6O6.js";import"./sidebar-Dn9hhb22.js";import"./LayoutLeft-D8A_vRpx.js";import"./use-mobile-BLQxo0Qz.js";import"./X-BsyIQyXA.js";import"./tooltip-BqKyJXAE.js";import"./User01-DWXBU7_-.js";import"./ChevronUp-BVwUhVX7.js";import"./ChevronDown--710wNet.js";import"./card-UiTrwBHx.js";import"./ArrowUpRight-XjbUsL6J.js";function se(){const e=V.c(19),{data:s,isPending:o}=D.useSession(),v=s?.user,p=v?.image,h=v?.name??"";let S;e[0]!==h?(S={values:{name:h}},e[0]=h,e[1]=S):S=e[1];const n=R(S);let _;e[2]!==n?(_={save:async()=>{const g=n.control._formState.dirtyFields;if(Object.keys(g).length===0)return;const r=n.getValues(),f=n.control._defaultValues;n.reset(r,{keepValues:!0});try{await D.updateUser({name:r.name}),N("profile_updated",{fields:["name"]}),T.success("Profile updated successfully")}catch{n.reset(f,{keepValues:!0}),T.error("Failed to update profile")}}},e[2]=n,e[3]=_):_=e[3];const{schedule:x,flush:d}=X(_);if(o)return null;const j=v?.name??"U";let i;e[4]!==j||e[5]!==p?(i=t.jsx(A,{title:"Avatar",action:t.jsx(B,{url:p,fallback:j,shape:"circle",size:"base"})}),e[4]=j,e[5]=p,e[6]=i):i=e[6];let l;e[7]!==d||e[8]!==x?(l=g=>{const{field:r}=g;return t.jsx(O,{id:"display-name",...r,onChange:f=>{r.onChange(f),x()},onBlur:()=>{r.onBlur(),d()},onKeyDown:f=>{f.key==="Enter"&&d()},placeholder:"Your name",className:"w-[280px]"})},e[7]=d,e[8]=x,e[9]=l):l=e[9];let m;e[10]!==n.control||e[11]!==l?(m=t.jsx(A,{title:"Display name",action:t.jsx(U,{control:n.control,name:"name",render:l})}),e[10]=n.control,e[11]=l,e[12]=m):m=e[12];const b=v?.email;let a;e[13]!==b?(a=t.jsx(A,{title:"Email",action:t.jsx("span",{className:"text-sm text-muted-foreground",children:b})}),e[13]=b,e[14]=a):a=e[14];let u;return e[15]!==i||e[16]!==m||e[17]!==a?(u=t.jsx(E,{children:t.jsxs(F,{children:[i,m,a]})}),e[15]=i,e[16]=m,e[17]=a,e[18]=u):u=e[18],u}function oe(){const e=V.c(48),[s,o]=q();let v;e[0]!==o?(v=async c=>{if(c&&await Notification.requestPermission()!=="granted"){N("preferences_notifications_permission_denied"),T.error("Notifications denied. Please enable them in your browser settings."),o(ae);return}N("preferences_notifications_toggled",{enabled:c}),o(y=>({...y,enableNotifications:c}))},e[0]=o,e[1]=v):v=e[1];const p=v;let h;e[2]!==o?(h=c=>{c&&(N("preferences_theme_changed",{to_value:c}),o(y=>({...y,theme:c})))},e[2]=o,e[3]=h):h=e[3];let S;e[4]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(z,{value:"light","aria-label":"Light theme",children:t.jsx(J,{size:14})}),e[4]=S):S=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx(z,{value:"dark","aria-label":"Dark theme",children:t.jsx(Q,{size:14})}),e[5]=n):n=e[5];let _;e[6]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(z,{value:"system","aria-label":"System theme",children:t.jsx(H,{size:14})}),e[6]=_):_=e[6];let x;e[7]!==s.theme||e[8]!==h?(x=t.jsx(A,{title:"Theme",description:"Your preferred color scheme.",action:t.jsxs(M,{type:"single",size:"sm",variant:"outline",value:s.theme,onValueChange:h,children:[S,n,_]})}),e[7]=s.theme,e[8]=h,e[9]=x):x=e[9];let d;e[10]!==p||e[11]!==s.enableNotifications?(d=typeof Notification<"u"?()=>p(!s.enableNotifications):void 0,e[10]=p,e[11]=s.enableNotifications,e[12]=d):d=e[12];let j;e[13]!==p||e[14]!==s.enableNotifications?(j=t.jsx(I,{disabled:typeof Notification>"u",checked:s.enableNotifications,onCheckedChange:p}),e[13]=p,e[14]=s.enableNotifications,e[15]=j):j=e[15];let i;e[16]!==d||e[17]!==j?(i=t.jsx(A,{title:"Notifications",description:"Receive browser notifications for important events.",onClick:d,action:j}),e[16]=d,e[17]=j,e[18]=i):i=e[18];let l;e[19]!==s.enableSounds||e[20]!==o?(l=()=>{N("preferences_sounds_toggled",{enabled:!s.enableSounds}),o(le)},e[19]=s.enableSounds,e[20]=o,e[21]=l):l=e[21];let m;e[22]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("button",{type:"button","aria-label":"Preview notification sound",onClick:ne,className:"size-6 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent/50 transition-colors cursor-pointer",children:t.jsx(W,{size:11})}),e[22]=m):m=e[22];let b;e[23]!==o?(b=c=>{N("preferences_sounds_toggled",{enabled:c}),o(y=>({...y,enableSounds:c}))},e[23]=o,e[24]=b):b=e[24];let a;e[25]!==s.enableSounds||e[26]!==b?(a=t.jsxs("div",{className:"flex items-center gap-2",children:[m,t.jsx(I,{checked:s.enableSounds,onCheckedChange:b})]}),e[25]=s.enableSounds,e[26]=b,e[27]=a):a=e[27];let u;e[28]!==a||e[29]!==l?(u=t.jsx(A,{title:"Sounds",description:"Play sounds for agent actions and notifications.",onClick:l,action:a}),e[28]=a,e[29]=l,e[30]=u):u=e[30];let g;e[31]!==o?(g=c=>{N("preferences_tool_approval_changed",{to_value:c}),o(y=>({...y,toolApprovalLevel:c}))},e[31]=o,e[32]=g):g=e[32];let r;e[33]!==s.toolApprovalLevel?(r={readonly:"Ask before edit",auto:"Auto approve"}[s.toolApprovalLevel]??"Ask before edit",e[33]=s.toolApprovalLevel,e[34]=r):r=e[34];let f;e[35]!==r?(f=t.jsx(Y,{className:"w-36 h-7 text-xs",children:t.jsx("span",{children:r})}),e[35]=r,e[36]=f):f=e[36];let C;e[37]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx($,{value:"readonly",textValue:"Ask before edit",children:t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsx("span",{className:"font-medium",children:"Ask before edit"}),t.jsx("span",{className:"text-xs text-muted-foreground",children:"Auto-approve read-only tools"})]})}),e[37]=C):C=e[37];let k;e[38]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsxs(K,{children:[C,t.jsx($,{value:"auto",textValue:"Auto approve",children:t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsx("span",{className:"font-medium",children:"Auto approve"}),t.jsx("span",{className:"text-xs text-muted-foreground",children:"Execute all without approval"})]})})]}),e[38]=k):k=e[38];let P;e[39]!==s.toolApprovalLevel||e[40]!==g||e[41]!==f?(P=t.jsx(A,{title:"Tool Approval",description:"Control how tools are approved before execution.",action:t.jsxs(G,{value:s.toolApprovalLevel,onValueChange:g,children:[f,k]})}),e[39]=s.toolApprovalLevel,e[40]=g,e[41]=f,e[42]=P):P=e[42];let w;return e[43]!==u||e[44]!==P||e[45]!==x||e[46]!==i?(w=t.jsx(E,{title:"Preferences",children:t.jsxs(F,{children:[x,i,u,P]})}),e[43]=u,e[44]=P,e[45]=x,e[46]=i,e[47]=w):w=e[47],w}function ne(){N("preferences_sounds_previewed"),Z(ee.dataUri).catch(ie)}function ie(){}function le(e){return{...e,enableSounds:!e.enableSounds}}function ae(e){return{...e,enableNotifications:!1}}function re(){const e=V.c(1);let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(L,{children:t.jsx(L.Content,{children:t.jsx(L.Body,{children:t.jsxs(te,{children:[t.jsx(L.Title,{children:"Profile & Preferences"}),t.jsx(se,{}),t.jsx(oe,{})]})})})}),e[0]=s):s=e[0],s}function Te(){const e=V.c(1);let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(re,{}),e[0]=s):s=e[0],s}export{Te as default};
1
+ import{c as V,j as t,a as D,M as R,ah as U,U as q,p as N,t as T}from"./index-CyuM7rEn.js";import{P as L}from"./index-TSzs123k.js";import{A as B}from"./avatar-DGDAlp6S.js";import{S as I}from"./switch-DKD8jTwV.js";import{S as G,a as Y,d as $,c as K}from"./select-D35sjC1I.js";import{a as M,T as z}from"./toggle-group-DldcGrfI.js";import{I as O}from"./input-o4VGMAG1.js";import{i as H}from"./Monitor01-Bo-ZNUM_.js";import{n as J,a as Q}from"./Sun-C6ImKKWE.js";import{i as W}from"./Play-DygcnDZ9.js";import{u as X}from"./use-debounced-autosave-DFr-y--s.js";import{p as Z,q as ee}from"./question-004-sINsf4GQ.js";import"./index-Z-r6rVBU.js";import{c as te,b as A,S as E,a as F}from"./settings-section-4VLllqP4.js";import"./sidebar-DnLUXLHH.js";import"./LayoutLeft-CcADrtuW.js";import"./use-mobile-D93fuoUn.js";import"./X-5pEiZiJA.js";import"./tooltip-CpOE5nvR.js";import"./User01-CEkSMdwk.js";import"./ChevronUp-CGTR312P.js";import"./ChevronDown-DoJ-k2NZ.js";import"./card-8x9dhfB5.js";import"./ArrowUpRight-wdyhd7_i.js";function se(){const e=V.c(19),{data:s,isPending:o}=D.useSession(),v=s?.user,p=v?.image,h=v?.name??"";let S;e[0]!==h?(S={values:{name:h}},e[0]=h,e[1]=S):S=e[1];const n=R(S);let _;e[2]!==n?(_={save:async()=>{const g=n.control._formState.dirtyFields;if(Object.keys(g).length===0)return;const r=n.getValues(),f=n.control._defaultValues;n.reset(r,{keepValues:!0});try{await D.updateUser({name:r.name}),N("profile_updated",{fields:["name"]}),T.success("Profile updated successfully")}catch{n.reset(f,{keepValues:!0}),T.error("Failed to update profile")}}},e[2]=n,e[3]=_):_=e[3];const{schedule:x,flush:d}=X(_);if(o)return null;const j=v?.name??"U";let i;e[4]!==j||e[5]!==p?(i=t.jsx(A,{title:"Avatar",action:t.jsx(B,{url:p,fallback:j,shape:"circle",size:"base"})}),e[4]=j,e[5]=p,e[6]=i):i=e[6];let l;e[7]!==d||e[8]!==x?(l=g=>{const{field:r}=g;return t.jsx(O,{id:"display-name",...r,onChange:f=>{r.onChange(f),x()},onBlur:()=>{r.onBlur(),d()},onKeyDown:f=>{f.key==="Enter"&&d()},placeholder:"Your name",className:"w-[280px]"})},e[7]=d,e[8]=x,e[9]=l):l=e[9];let m;e[10]!==n.control||e[11]!==l?(m=t.jsx(A,{title:"Display name",action:t.jsx(U,{control:n.control,name:"name",render:l})}),e[10]=n.control,e[11]=l,e[12]=m):m=e[12];const b=v?.email;let a;e[13]!==b?(a=t.jsx(A,{title:"Email",action:t.jsx("span",{className:"text-sm text-muted-foreground",children:b})}),e[13]=b,e[14]=a):a=e[14];let u;return e[15]!==i||e[16]!==m||e[17]!==a?(u=t.jsx(E,{children:t.jsxs(F,{children:[i,m,a]})}),e[15]=i,e[16]=m,e[17]=a,e[18]=u):u=e[18],u}function oe(){const e=V.c(48),[s,o]=q();let v;e[0]!==o?(v=async c=>{if(c&&await Notification.requestPermission()!=="granted"){N("preferences_notifications_permission_denied"),T.error("Notifications denied. Please enable them in your browser settings."),o(ae);return}N("preferences_notifications_toggled",{enabled:c}),o(y=>({...y,enableNotifications:c}))},e[0]=o,e[1]=v):v=e[1];const p=v;let h;e[2]!==o?(h=c=>{c&&(N("preferences_theme_changed",{to_value:c}),o(y=>({...y,theme:c})))},e[2]=o,e[3]=h):h=e[3];let S;e[4]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(z,{value:"light","aria-label":"Light theme",children:t.jsx(J,{size:14})}),e[4]=S):S=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx(z,{value:"dark","aria-label":"Dark theme",children:t.jsx(Q,{size:14})}),e[5]=n):n=e[5];let _;e[6]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(z,{value:"system","aria-label":"System theme",children:t.jsx(H,{size:14})}),e[6]=_):_=e[6];let x;e[7]!==s.theme||e[8]!==h?(x=t.jsx(A,{title:"Theme",description:"Your preferred color scheme.",action:t.jsxs(M,{type:"single",size:"sm",variant:"outline",value:s.theme,onValueChange:h,children:[S,n,_]})}),e[7]=s.theme,e[8]=h,e[9]=x):x=e[9];let d;e[10]!==p||e[11]!==s.enableNotifications?(d=typeof Notification<"u"?()=>p(!s.enableNotifications):void 0,e[10]=p,e[11]=s.enableNotifications,e[12]=d):d=e[12];let j;e[13]!==p||e[14]!==s.enableNotifications?(j=t.jsx(I,{disabled:typeof Notification>"u",checked:s.enableNotifications,onCheckedChange:p}),e[13]=p,e[14]=s.enableNotifications,e[15]=j):j=e[15];let i;e[16]!==d||e[17]!==j?(i=t.jsx(A,{title:"Notifications",description:"Receive browser notifications for important events.",onClick:d,action:j}),e[16]=d,e[17]=j,e[18]=i):i=e[18];let l;e[19]!==s.enableSounds||e[20]!==o?(l=()=>{N("preferences_sounds_toggled",{enabled:!s.enableSounds}),o(le)},e[19]=s.enableSounds,e[20]=o,e[21]=l):l=e[21];let m;e[22]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("button",{type:"button","aria-label":"Preview notification sound",onClick:ne,className:"size-6 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent/50 transition-colors cursor-pointer",children:t.jsx(W,{size:11})}),e[22]=m):m=e[22];let b;e[23]!==o?(b=c=>{N("preferences_sounds_toggled",{enabled:c}),o(y=>({...y,enableSounds:c}))},e[23]=o,e[24]=b):b=e[24];let a;e[25]!==s.enableSounds||e[26]!==b?(a=t.jsxs("div",{className:"flex items-center gap-2",children:[m,t.jsx(I,{checked:s.enableSounds,onCheckedChange:b})]}),e[25]=s.enableSounds,e[26]=b,e[27]=a):a=e[27];let u;e[28]!==a||e[29]!==l?(u=t.jsx(A,{title:"Sounds",description:"Play sounds for agent actions and notifications.",onClick:l,action:a}),e[28]=a,e[29]=l,e[30]=u):u=e[30];let g;e[31]!==o?(g=c=>{N("preferences_tool_approval_changed",{to_value:c}),o(y=>({...y,toolApprovalLevel:c}))},e[31]=o,e[32]=g):g=e[32];let r;e[33]!==s.toolApprovalLevel?(r={readonly:"Ask before edit",auto:"Auto approve"}[s.toolApprovalLevel]??"Ask before edit",e[33]=s.toolApprovalLevel,e[34]=r):r=e[34];let f;e[35]!==r?(f=t.jsx(Y,{className:"w-36 h-7 text-xs",children:t.jsx("span",{children:r})}),e[35]=r,e[36]=f):f=e[36];let C;e[37]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx($,{value:"readonly",textValue:"Ask before edit",children:t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsx("span",{className:"font-medium",children:"Ask before edit"}),t.jsx("span",{className:"text-xs text-muted-foreground",children:"Auto-approve read-only tools"})]})}),e[37]=C):C=e[37];let k;e[38]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsxs(K,{children:[C,t.jsx($,{value:"auto",textValue:"Auto approve",children:t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsx("span",{className:"font-medium",children:"Auto approve"}),t.jsx("span",{className:"text-xs text-muted-foreground",children:"Execute all without approval"})]})})]}),e[38]=k):k=e[38];let P;e[39]!==s.toolApprovalLevel||e[40]!==g||e[41]!==f?(P=t.jsx(A,{title:"Tool Approval",description:"Control how tools are approved before execution.",action:t.jsxs(G,{value:s.toolApprovalLevel,onValueChange:g,children:[f,k]})}),e[39]=s.toolApprovalLevel,e[40]=g,e[41]=f,e[42]=P):P=e[42];let w;return e[43]!==u||e[44]!==P||e[45]!==x||e[46]!==i?(w=t.jsx(E,{title:"Preferences",children:t.jsxs(F,{children:[x,i,u,P]})}),e[43]=u,e[44]=P,e[45]=x,e[46]=i,e[47]=w):w=e[47],w}function ne(){N("preferences_sounds_previewed"),Z(ee.dataUri).catch(ie)}function ie(){}function le(e){return{...e,enableSounds:!e.enableSounds}}function ae(e){return{...e,enableNotifications:!1}}function re(){const e=V.c(1);let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(L,{children:t.jsx(L.Content,{children:t.jsx(L.Body,{children:t.jsxs(te,{children:[t.jsx(L.Title,{children:"Profile & Preferences"}),t.jsx(se,{}),t.jsx(oe,{})]})})})}),e[0]=s):s=e[0],s}function Te(){const e=V.c(1);let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(re,{}),e[0]=s):s=e[0],s}export{Te as default};
@@ -0,0 +1 @@
1
+ import{c as L,C as H,j as U}from"./index-CyuM7rEn.js";import{a as O,g as $,s as E}from"./automation-runs-sn1XZ5te.js";import{q as k,u as q}from"./use-mcp-client-pOz4zopz.js";import{b as B,c as V}from"./use-mcp-tools-15u_CgDb.js";import{u as Y}from"./index-BRw9UGjF.js";import{c as G}from"./monaco-editor-D0Cz-f05.js";import{g as K,M as W,a as D}from"./index-CkALF4KI.js";import{b as z,a as F}from"./chat-context-BUKIQ9Uy.js";import{u as J}from"./shell-layout-cmLFtkbA.js";import{O as Q}from"./tab-id-BijBBRwE.js";import"./select-D35sjC1I.js";import"./tooltip-CpOE5nvR.js";import"./ChevronUp-CGTR312P.js";import"./ChevronDown-DoJ-k2NZ.js";import"./useInfiniteQuery-IKzGAo4c.js";import"./use-infinite-scroll-D-SpdQHa.js";import"./use-connection-D6Dwslfb.js";import"./use-collections-S6V0IwCi.js";import"./use-virtual-mcp-Cnu2_CEQ.js";import"./card-8x9dhfB5.js";import"./sidebar-DnLUXLHH.js";import"./LayoutLeft-CcADrtuW.js";import"./use-mobile-D93fuoUn.js";import"./X-5pEiZiJA.js";import"./table-B3G6ZFdl.js";import"./empty-state-Dkw_A4Pa.js";import"./use-members-CedPlYWb.js";import"./use-org-auth-client-B-c5r-I9.js";import"./use-clock-tick-ChZsdFLh.js";import"./AlertCircle-D2LEYSUh.js";import"./CheckCircle-q7whrJQW.js";import"./DotsVertical-0e14gdIQ.js";import"./agent-icon-DICx3hBA.js";import"./Tool01-DZAVhVl-.js";import"./ArrowUp-D8Znnjoa.js";import"./Settings02-D5KqlDWC.js";import"./Tool02-DiJz5U4h.js";import"./XCircle-Dthd2Gnh.js";import"./ArrowUpRight-wdyhd7_i.js";import"./TrendUp01-CwLTY0dJ.js";import"./ZapSquare-BxW8QNCf.js";import"./ZoomOut-BPI23qxl.js";import"./Users03-BfTrIRmK.js";import"./ChevronRight-C4hEIfgs.js";import"./Stars02-D-P-9j-l.js";import"./Copy01-CvyYg5ZQ.js";import"./Globe01-DzGglNry.js";import"./Eye-Def6pxO6.js";import"./FilterLines-CppNK8_d.js";import"./Star01-DO3nFxrj.js";import"./Globe04-bLBNXIps.js";import"./SwitchHorizontal01-DyVGY9vs.js";import"./HardDrive-CKFbwvbY.js";import"./Image01-B2X86JxG.js";import"./Key01-3uf0kElN.js";import"./LinkExternal01-DmAlYXHu.js";import"./Monitor01-Bo-ZNUM_.js";import"./Sun-C6ImKKWE.js";import"./Package-4efmOaN-.js";import"./Palette-Bpjldwh3.js";import"./Play-DygcnDZ9.js";import"./Plus-sn3sMPWN.js";import"./SearchLg-DRzFBnhX.js";import"./SearchMd-DvgdHj41.js";import"./Shield01-DpQDgtHf.js";import"./Stars01-CM0GEhaD.js";import"./Trash01-DknQ9OYs.js";import"./Upload01-C8vvf1IS.js";import"./User01-CEkSMdwk.js";import"./Users01-BWfzl-eM.js";import"./XClose-CM5jhDsd.js";import"./Zap-DoOEDpdm.js";import"./use-automations-CznkKU7t.js";import"./studio-tools-CRWhXKLV.js";import"./useSuspenseInfiniteQuery-JM6cFEC3.js";import"./avatar-DGDAlp6S.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BfaKF8HI.js";import"./file-type-icon-B7W5aql-.js";import"./dialog-B3XC2Fem.js";import"./hooks-CfXb-GNM.js";import"./decopilot-sse-pool-d9CNNZp5.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./calendar-DDf-RI1R.js";import"./integration-icon-D1Wd5y66.js";import"./use-navigate-to-agent-DSm6IUhE.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DqLYq5VW.js";import"./form-07ny9vF1.js";import"./label-Cp1qAc_O.js";import"./input-o4VGMAG1.js";import"./auth-DimuwgkU.js";import"./drawer-DMmd7qYS.js";import"./collection-search-DiU5iEl5.js";import"./autosend-VhtZIUZd.js";import"./index-CiXfb9It.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CIJpU86G.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DP7OH-0x.js";import"./mcp-oauth-CXkLjY6n.js";import"./extract-connection-data-DKQdJ934.js";import"./use-decopilot-events-BT5VDJfu.js";import"./dropdown-menu-DKKt9Hkl.js";import"./popover-C6W8ZY4L.js";import"./command-BF6wZHTx.js";import"./index-Bo5r9vhN.js";import"./use-organization-settings-B3nks7fT.js";import"./tabs-DgYirOYT.js";import"./toggle-group-DldcGrfI.js";import"./use-deco-credits-DXyld6r6.js";import"./connection-card-C7d2lD5S.js";import"./use-registry-connections-CTr4M4ng.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-CFawkka2.js";import"./connection-form-helpers-gT2vyvci.js";import"./collection-tabs-Beh83ebn.js";import"./badge-CCCcI3SI.js";import"./use-ai-providers-DdIX-Xpr.js";import"./connect-desktop-dialog-CRY8YFXe.js";import"./select-model-C6NvdYij.js";import"./checkbox-Dtlv_cuM.js";import"./skeleton-3wI9_Cp3.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-4VLllqP4.js";import"./index-B3KpIghl.js";import"./alert-dialog--Wl_Q716.js";import"./toolbar-jBTR3791.js";import"./use-debounced-value-RFTrWCtV.js";import"./location-BpLtHjTZ.js";import"./index-_7ZZ6KHp.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CEwnbmsu.js";import"./use-capability-BovP4XU-.js";import"./toolbar-icon-button-C-BQlOIA.js";import"./use-debounced-autosave-DFr-y--s.js";import"./index-TSzs123k.js";import"./search-input-CY-dgNyz.js";import"./use-mcp-auth-status-BNFQn9dc.js";import"./switch-DKD8jTwV.js";import"./github-repo-picker-VXOAor7G.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BJqMdSXL.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-CtMZ4uem.js";import"./use-file-configs-CDPbC_cj.js";import"./automation-list-row-Bi2cr-f1.js";import"./required-auth-layout-CENlweRO.js";import"./use-org-sso-DHWTyEhh.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(),e=`${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:r}=V(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]!==e?(N=x=>f(e,x),t[21]=f,t[22]=e,t[23]=N):N=t[23];let T;t[24]!==l||t[25]!==e?(T=()=>l(e),t[24]=l,t[25]=e,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]!==r?(S=U.jsx(W,{resourceURI:I,orgId:a,toolInfo:P,toolInput:n,toolResult:r,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]=r,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=Y();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=q(f);let g;t[8]!==l?(g={client:l},t[8]=l,t[9]=g):g=t[9];const{data:s}=B(g);let e,c,m;t[10]!==I||t[11]!==s.tools?(e=O(decodeURIComponent(I)),m=s.tools.find(r=>r.name===e)??s.tools.find(r=>{const h=$(r._meta);if(!h)return!1;if(E(r.name,h)===e)return!0;const d=E(e,h);return d!==e&&r.name===d}),c=m?._meta?K(m._meta):void 0,t[10]=I,t[11]=s.tools,t[12]=e,t[13]=c,t[14]=m):(e=t[12],c=t[13],m=t[14]);const n=c;if(!m||!n){let r;return t[15]!==e?(r=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 "',e,'" not found or has no UI']})}),t[15]=e,t[16]=r):r=t[16],r}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-CyuM7rEn.js";import{I as B}from"./input-o4VGMAG1.js";import{L as T}from"./label-Cp1qAc_O.js";import{S as L,a as A,b as R,c as z,d as O}from"./select-D35sjC1I.js";import{T as V}from"./textarea-CFawkka2.js";import{v as D,w as J,o as K,y as M,I as _}from"./index-BRw9UGjF.js";import{s as F}from"./primitives-D67KmtUQ.js";import{u as $}from"./use-autosave-DoSudPf1.js";import"./tooltip-CpOE5nvR.js";import"./ChevronUp-CGTR312P.js";import"./ChevronDown-DoJ-k2NZ.js";import"./ArrowUp-D8Znnjoa.js";import"./chat-context-BUKIQ9Uy.js";import"./autosend-VhtZIUZd.js";import"./hooks-CfXb-GNM.js";import"./use-mcp-client-pOz4zopz.js";import"./auth-DimuwgkU.js";import"./decopilot-sse-pool-d9CNNZp5.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-CRWhXKLV.js";import"./use-virtual-mcp-Cnu2_CEQ.js";import"./use-collections-S6V0IwCi.js";import"./use-ai-providers-DdIX-Xpr.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-BT5VDJfu.js";import"./use-organization-settings-B3nks7fT.js";import"./automation-runs-sn1XZ5te.js";import"./useInfiniteQuery-IKzGAo4c.js";import"./use-infinite-scroll-D-SpdQHa.js";import"./use-connection-D6Dwslfb.js";import"./card-8x9dhfB5.js";import"./sidebar-DnLUXLHH.js";import"./LayoutLeft-CcADrtuW.js";import"./use-mobile-D93fuoUn.js";import"./X-5pEiZiJA.js";import"./table-B3G6ZFdl.js";import"./empty-state-Dkw_A4Pa.js";import"./use-members-CedPlYWb.js";import"./use-org-auth-client-B-c5r-I9.js";import"./use-clock-tick-ChZsdFLh.js";import"./AlertCircle-D2LEYSUh.js";import"./CheckCircle-q7whrJQW.js";import"./DotsVertical-0e14gdIQ.js";import"./agent-icon-DICx3hBA.js";import"./Tool01-DZAVhVl-.js";import"./Settings02-D5KqlDWC.js";import"./Tool02-DiJz5U4h.js";import"./XCircle-Dthd2Gnh.js";import"./ArrowUpRight-wdyhd7_i.js";import"./TrendUp01-CwLTY0dJ.js";import"./ZapSquare-BxW8QNCf.js";import"./ZoomOut-BPI23qxl.js";import"./Users03-BfTrIRmK.js";import"./ChevronRight-C4hEIfgs.js";import"./Stars02-D-P-9j-l.js";import"./Copy01-CvyYg5ZQ.js";import"./Globe01-DzGglNry.js";import"./Eye-Def6pxO6.js";import"./FilterLines-CppNK8_d.js";import"./Star01-DO3nFxrj.js";import"./Globe04-bLBNXIps.js";import"./SwitchHorizontal01-DyVGY9vs.js";import"./HardDrive-CKFbwvbY.js";import"./Image01-B2X86JxG.js";import"./Key01-3uf0kElN.js";import"./LinkExternal01-DmAlYXHu.js";import"./Monitor01-Bo-ZNUM_.js";import"./Sun-C6ImKKWE.js";import"./Package-4efmOaN-.js";import"./Palette-Bpjldwh3.js";import"./Play-DygcnDZ9.js";import"./Plus-sn3sMPWN.js";import"./SearchLg-DRzFBnhX.js";import"./SearchMd-DvgdHj41.js";import"./Shield01-DpQDgtHf.js";import"./Stars01-CM0GEhaD.js";import"./Trash01-DknQ9OYs.js";import"./Upload01-C8vvf1IS.js";import"./User01-CEkSMdwk.js";import"./Users01-BWfzl-eM.js";import"./XClose-CM5jhDsd.js";import"./Zap-DoOEDpdm.js";import"./use-automations-CznkKU7t.js";import"./useSuspenseInfiniteQuery-JM6cFEC3.js";import"./avatar-DGDAlp6S.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BfaKF8HI.js";import"./file-type-icon-B7W5aql-.js";import"./dialog-B3XC2Fem.js";import"./monaco-editor-D0Cz-f05.js";import"./index-_7ZZ6KHp.js";import"./index-CkALF4KI.js";import"./calendar-DDf-RI1R.js";import"./shell-layout-cmLFtkbA.js";import"./required-auth-layout-CENlweRO.js";import"./use-org-sso-DHWTyEhh.js";import"./integration-icon-D1Wd5y66.js";import"./use-navigate-to-agent-DSm6IUhE.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DqLYq5VW.js";import"./form-07ny9vF1.js";import"./drawer-DMmd7qYS.js";import"./collection-search-DiU5iEl5.js";import"./index-CiXfb9It.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CIJpU86G.js";import"./use-mcp-tools-15u_CgDb.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DP7OH-0x.js";import"./mcp-oauth-CXkLjY6n.js";import"./extract-connection-data-DKQdJ934.js";import"./dropdown-menu-DKKt9Hkl.js";import"./popover-C6W8ZY4L.js";import"./command-BF6wZHTx.js";import"./index-Bo5r9vhN.js";import"./tabs-DgYirOYT.js";import"./toggle-group-DldcGrfI.js";import"./use-deco-credits-DXyld6r6.js";import"./connection-card-C7d2lD5S.js";import"./use-registry-connections-CTr4M4ng.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-gT2vyvci.js";import"./collection-tabs-Beh83ebn.js";import"./badge-CCCcI3SI.js";import"./connect-desktop-dialog-CRY8YFXe.js";import"./select-model-C6NvdYij.js";import"./checkbox-Dtlv_cuM.js";import"./skeleton-3wI9_Cp3.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-4VLllqP4.js";import"./index-B3KpIghl.js";import"./alert-dialog--Wl_Q716.js";import"./toolbar-jBTR3791.js";import"./use-debounced-value-RFTrWCtV.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CEwnbmsu.js";import"./use-capability-BovP4XU-.js";import"./toolbar-icon-button-C-BQlOIA.js";import"./use-debounced-autosave-DFr-y--s.js";import"./index-TSzs123k.js";import"./search-input-CY-dgNyz.js";import"./use-mcp-auth-status-BNFQn9dc.js";import"./switch-DKD8jTwV.js";import"./github-repo-picker-VXOAor7G.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BJqMdSXL.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-CtMZ4uem.js";import"./use-file-configs-CDPbC_cj.js";import"./automation-list-row-Bi2cr-f1.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-CyuM7rEn.js";import{C as G}from"./checkbox-Dtlv_cuM.js";import{I as K}from"./input-o4VGMAG1.js";import{L as q}from"./label-Cp1qAc_O.js";import{c as H,S as J,d as W,a as X,b as Z}from"./select-D35sjC1I.js";import{k as ee,a_ as te,o as re,a$ as M,b0 as ie}from"./index-BRw9UGjF.js";import{u as oe}from"./use-autosave-DoSudPf1.js";import"./ChevronUp-CGTR312P.js";import"./tooltip-CpOE5nvR.js";import"./ChevronDown-DoJ-k2NZ.js";import"./ArrowUp-D8Znnjoa.js";import"./chat-context-BUKIQ9Uy.js";import"./autosend-VhtZIUZd.js";import"./hooks-CfXb-GNM.js";import"./use-mcp-client-pOz4zopz.js";import"./auth-DimuwgkU.js";import"./decopilot-sse-pool-d9CNNZp5.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-CRWhXKLV.js";import"./use-virtual-mcp-Cnu2_CEQ.js";import"./use-collections-S6V0IwCi.js";import"./use-ai-providers-DdIX-Xpr.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-BT5VDJfu.js";import"./use-organization-settings-B3nks7fT.js";import"./automation-runs-sn1XZ5te.js";import"./useInfiniteQuery-IKzGAo4c.js";import"./use-infinite-scroll-D-SpdQHa.js";import"./use-connection-D6Dwslfb.js";import"./card-8x9dhfB5.js";import"./sidebar-DnLUXLHH.js";import"./LayoutLeft-CcADrtuW.js";import"./use-mobile-D93fuoUn.js";import"./X-5pEiZiJA.js";import"./table-B3G6ZFdl.js";import"./empty-state-Dkw_A4Pa.js";import"./use-members-CedPlYWb.js";import"./use-org-auth-client-B-c5r-I9.js";import"./use-clock-tick-ChZsdFLh.js";import"./AlertCircle-D2LEYSUh.js";import"./CheckCircle-q7whrJQW.js";import"./DotsVertical-0e14gdIQ.js";import"./agent-icon-DICx3hBA.js";import"./Tool01-DZAVhVl-.js";import"./Settings02-D5KqlDWC.js";import"./Tool02-DiJz5U4h.js";import"./XCircle-Dthd2Gnh.js";import"./ArrowUpRight-wdyhd7_i.js";import"./TrendUp01-CwLTY0dJ.js";import"./ZapSquare-BxW8QNCf.js";import"./ZoomOut-BPI23qxl.js";import"./Users03-BfTrIRmK.js";import"./ChevronRight-C4hEIfgs.js";import"./Stars02-D-P-9j-l.js";import"./Copy01-CvyYg5ZQ.js";import"./Globe01-DzGglNry.js";import"./Eye-Def6pxO6.js";import"./FilterLines-CppNK8_d.js";import"./Star01-DO3nFxrj.js";import"./Globe04-bLBNXIps.js";import"./SwitchHorizontal01-DyVGY9vs.js";import"./HardDrive-CKFbwvbY.js";import"./Image01-B2X86JxG.js";import"./Key01-3uf0kElN.js";import"./LinkExternal01-DmAlYXHu.js";import"./Monitor01-Bo-ZNUM_.js";import"./Sun-C6ImKKWE.js";import"./Package-4efmOaN-.js";import"./Palette-Bpjldwh3.js";import"./Play-DygcnDZ9.js";import"./Plus-sn3sMPWN.js";import"./SearchLg-DRzFBnhX.js";import"./SearchMd-DvgdHj41.js";import"./Shield01-DpQDgtHf.js";import"./Stars01-CM0GEhaD.js";import"./Trash01-DknQ9OYs.js";import"./Upload01-C8vvf1IS.js";import"./User01-CEkSMdwk.js";import"./Users01-BWfzl-eM.js";import"./XClose-CM5jhDsd.js";import"./Zap-DoOEDpdm.js";import"./use-automations-CznkKU7t.js";import"./useSuspenseInfiniteQuery-JM6cFEC3.js";import"./avatar-DGDAlp6S.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BfaKF8HI.js";import"./file-type-icon-B7W5aql-.js";import"./dialog-B3XC2Fem.js";import"./monaco-editor-D0Cz-f05.js";import"./index-_7ZZ6KHp.js";import"./index-CkALF4KI.js";import"./calendar-DDf-RI1R.js";import"./shell-layout-cmLFtkbA.js";import"./required-auth-layout-CENlweRO.js";import"./use-org-sso-DHWTyEhh.js";import"./integration-icon-D1Wd5y66.js";import"./use-navigate-to-agent-DSm6IUhE.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DqLYq5VW.js";import"./form-07ny9vF1.js";import"./drawer-DMmd7qYS.js";import"./collection-search-DiU5iEl5.js";import"./index-CiXfb9It.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CIJpU86G.js";import"./use-mcp-tools-15u_CgDb.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-DP7OH-0x.js";import"./mcp-oauth-CXkLjY6n.js";import"./extract-connection-data-DKQdJ934.js";import"./dropdown-menu-DKKt9Hkl.js";import"./popover-C6W8ZY4L.js";import"./command-BF6wZHTx.js";import"./index-Bo5r9vhN.js";import"./tabs-DgYirOYT.js";import"./toggle-group-DldcGrfI.js";import"./use-deco-credits-DXyld6r6.js";import"./connection-card-C7d2lD5S.js";import"./use-registry-connections-CTr4M4ng.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-CFawkka2.js";import"./connection-form-helpers-gT2vyvci.js";import"./collection-tabs-Beh83ebn.js";import"./badge-CCCcI3SI.js";import"./connect-desktop-dialog-CRY8YFXe.js";import"./select-model-C6NvdYij.js";import"./skeleton-3wI9_Cp3.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-4VLllqP4.js";import"./index-B3KpIghl.js";import"./alert-dialog--Wl_Q716.js";import"./toolbar-jBTR3791.js";import"./use-debounced-value-RFTrWCtV.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CEwnbmsu.js";import"./use-capability-BovP4XU-.js";import"./toolbar-icon-button-C-BQlOIA.js";import"./use-debounced-autosave-DFr-y--s.js";import"./index-TSzs123k.js";import"./search-input-CY-dgNyz.js";import"./use-mcp-auth-status-BNFQn9dc.js";import"./switch-DKD8jTwV.js";import"./github-repo-picker-VXOAor7G.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BJqMdSXL.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-CtMZ4uem.js";import"./use-file-configs-CDPbC_cj.js";import"./automation-list-row-Bi2cr-f1.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-Dc3jKiGl.js","assets/index-CyuM7rEn.js","assets/index-C-1vh7Fd.css","assets/Tool02-DiJz5U4h.js","assets/CheckCircle-q7whrJQW.js","assets/Settings02-D5KqlDWC.js","assets/use-mcp-client-pOz4zopz.js","assets/auth-DimuwgkU.js","assets/useInfiniteQuery-IKzGAo4c.js","assets/use-infinite-scroll-D-SpdQHa.js","assets/studio-tools-CRWhXKLV.js","assets/badge-CCCcI3SI.js","assets/input-o4VGMAG1.js","assets/dropdown-menu-DKKt9Hkl.js","assets/ChevronUp-CGTR312P.js","assets/ChevronRight-C4hEIfgs.js","assets/DotsVertical-0e14gdIQ.js","assets/table-B3G6ZFdl.js","assets/toggle-group-DldcGrfI.js","assets/use-view-mode-8qZQpYmt.js","assets/use-mobile-D93fuoUn.js","assets/FilterLines-CppNK8_d.js","assets/Globe01-DzGglNry.js","assets/SearchMd-DvgdHj41.js","assets/dialog-B3XC2Fem.js","assets/X-5pEiZiJA.js","assets/AlertCircle-D2LEYSUh.js","assets/Upload01-C8vvf1IS.js","assets/alert-dialog--Wl_Q716.js","assets/card-8x9dhfB5.js","assets/Trash01-DknQ9OYs.js","assets/label-Cp1qAc_O.js","assets/select-D35sjC1I.js","assets/tooltip-CpOE5nvR.js","assets/ChevronDown-DoJ-k2NZ.js","assets/switch-DKD8jTwV.js","assets/textarea-CFawkka2.js","assets/XCircle-Dthd2Gnh.js","assets/checkbox-Dtlv_cuM.js","assets/Eye-Def6pxO6.js","assets/LinkExternal01-DmAlYXHu.js","assets/use-copy-BfaKF8HI.js","assets/Copy01-CvyYg5ZQ.js","assets/Key01-3uf0kElN.js","assets/Plus-sn3sMPWN.js","assets/mcp-oauth-CXkLjY6n.js","assets/Play-DygcnDZ9.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-CyuM7rEn.js";import{R as m}from"./require-capability-CFg_jVen.js";import"./use-capability-BovP4XU-.js";import"./access-gate-B0xYeFOT.js";import"./capability-load-error-BDVdgQRH.js";const n=i.lazy(()=>o(()=>import("./registry-layout-Dc3jKiGl.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};