decocms 4.498.1 → 4.498.2

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 (367) hide show
  1. package/dist/client/assets/{ActiveShapeUtils-CEOSKof6.js → ActiveShapeUtils-CPrqBLS-.js} +1 -1
  2. package/dist/client/assets/{AlertCircle-yt_vxPJf.js → AlertCircle-Bz95IA1L.js} +1 -1
  3. package/dist/client/assets/{AreaChart-NgSbz1YU.js → AreaChart-Xme8QWLU.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-BoFdVIj0.js → ArrowLeft-B5K5-flN.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-CIbRKXRd.js → ArrowUp-W9fOJYtW.js} +1 -1
  6. package/dist/client/assets/{BarChart-CZZfMdqS.js → BarChart-BPQlorah.js} +1 -1
  7. package/dist/client/assets/{Building02-Grdt_-B9.js → Building02-DH0ShiKs.js} +1 -1
  8. package/dist/client/assets/{CategoricalChart-DOyrhZnb.js → CategoricalChart-Dy_bc6zw.js} +1 -1
  9. package/dist/client/assets/{CheckCircle-CZBNcseh.js → CheckCircle-CvrX7p0-.js} +1 -1
  10. package/dist/client/assets/{ChevronSelectorVertical-Cx7bXE4W.js → ChevronSelectorVertical-DCbswHDn.js} +1 -1
  11. package/dist/client/assets/{ChevronUp-D6IHSaQn.js → ChevronUp-BF5A1_bk.js} +1 -1
  12. package/dist/client/assets/{Copy01-CEPiTf5t.js → Copy01-JxasDo0Y.js} +1 -1
  13. package/dist/client/assets/{CreditCard01-tiXWLEqR.js → CreditCard01-zruO6RR6.js} +1 -1
  14. package/dist/client/assets/{DotsVertical-BuI2KBNC.js → DotsVertical-IlcVf06d.js} +1 -1
  15. package/dist/client/assets/{ErrorBarContext-z-eRCr-L.js → ErrorBarContext-BHJpW1jD.js} +1 -1
  16. package/dist/client/assets/{Globe04-C0XtFFMY.js → Globe04-DRKGVBCX.js} +1 -1
  17. package/dist/client/assets/{Image01-9sEHDLML.js → Image01-Bt6ZIkX1.js} +1 -1
  18. package/dist/client/assets/{Key01-yp2uNovQ.js → Key01-DBTFQIL_.js} +1 -1
  19. package/dist/client/assets/{Link01-EXdK0urZ.js → Link01-Da5EfBPU.js} +1 -1
  20. package/dist/client/assets/{LinkBroken01-3c_toy9W.js → LinkBroken01-DeBiMAX8.js} +1 -1
  21. package/dist/client/assets/{Monitor01-TfUbVR_O.js → Monitor01-8fVRFSue.js} +1 -1
  22. package/dist/client/assets/{Play-CN_3v0Nc.js → Play-auont4T3.js} +1 -1
  23. package/dist/client/assets/{Plus-BuHYG86K.js → Plus-B-IfeegN.js} +1 -1
  24. package/dist/client/assets/{SearchMd-Dq3HFXQW.js → SearchMd-BHEy3hgp.js} +1 -1
  25. package/dist/client/assets/{Sector-BZNZXef1.js → Sector-8CKg69iF.js} +1 -1
  26. package/dist/client/assets/{ShoppingBag01-Cf6UKyjX.js → ShoppingBag01-DVzEvqIf.js} +1 -1
  27. package/dist/client/assets/{Sun-CO0EKSy7.js → Sun-BBJ4xAcN.js} +1 -1
  28. package/dist/client/assets/{SwitchHorizontal01-Bu2dq40R.js → SwitchHorizontal01-DWzDEU-3.js} +1 -1
  29. package/dist/client/assets/{Tool01-1QQRqWDa.js → Tool01-G_7e_fu0.js} +1 -1
  30. package/dist/client/assets/{Trash01-B6NXmxPH.js → Trash01-DsUZfXDb.js} +1 -1
  31. package/dist/client/assets/{Upload01-D4HC2Tn9.js → Upload01-CQ46KAYz.js} +1 -1
  32. package/dist/client/assets/{User01-j65IkD-p.js → User01-P3sVVPbl.js} +1 -1
  33. package/dist/client/assets/{UserSquare-BlEF03DB.js → UserSquare-D3rxt1fW.js} +1 -1
  34. package/dist/client/assets/{Users01-DaolauCT.js → Users01-C3X5KgEC.js} +1 -1
  35. package/dist/client/assets/{XAxis-BEe_hkuD.js → XAxis-ccboYQXo.js} +1 -1
  36. package/dist/client/assets/{XClose-DR6y5rEy.js → XClose-wS5BxV-4.js} +1 -1
  37. package/dist/client/assets/{ZoomOut-4Na-37_y.js → ZoomOut-RInN96sm.js} +1 -1
  38. package/dist/client/assets/{access-gate-BkRaj5GE.js → access-gate-BfaxUmir.js} +1 -1
  39. package/dist/client/assets/{add-connection-dialog-Clf3RGrh.js → add-connection-dialog-CuTrOuMt.js} +1 -1
  40. package/dist/client/assets/{agent-analytics-DtOK7V_m.js → agent-analytics-QnKf3VXx.js} +1 -1
  41. package/dist/client/assets/agent-app-y713S8L2.js +1 -0
  42. package/dist/client/assets/{agent-assets-eggmJ6AO.js → agent-assets-CbOxvUVV.js} +1 -1
  43. package/dist/client/assets/{agent-automation-DKjiKuGX.js → agent-automation-DTCmfA1N.js} +1 -1
  44. package/dist/client/assets/{agent-automations-D0TPMz58.js → agent-automations-BmGXIPS7.js} +1 -1
  45. package/dist/client/assets/{agent-connect-sources-QM1x-Vlg.js → agent-connect-sources-_4X6sAcK.js} +1 -1
  46. package/dist/client/assets/agent-deck-Clw_PoDY.js +1 -0
  47. package/dist/client/assets/{agent-e2e-Ca7-yyUr.js → agent-e2e-yMfZw5Yr.js} +1 -1
  48. package/dist/client/assets/{agent-experiments-CShjLMy4.js → agent-experiments-Hqcu4xN3.js} +1 -1
  49. package/dist/client/assets/{agent-file-CXnhLpHv.js → agent-file-CAK6n9Y3.js} +1 -1
  50. package/dist/client/assets/{agent-hosting-CJ7X3aoi.js → agent-hosting-DzG38PAp.js} +1 -1
  51. package/dist/client/assets/{agent-icon-BWm1tEHf.js → agent-icon-DtuRgBXt.js} +1 -1
  52. package/dist/client/assets/agent-library-CDbG2dvW.js +1 -0
  53. package/dist/client/assets/agent-library-file-D6nDt_06.js +1 -0
  54. package/dist/client/assets/{agent-monitor-aO-ZX72I.js → agent-monitor-BOoiOM64.js} +1 -1
  55. package/dist/client/assets/{agent-overview-BdNqyANT.js → agent-overview-BAiMf3nd.js} +1 -1
  56. package/dist/client/assets/agent-settings-DZqJ1Ao9.js +1 -0
  57. package/dist/client/assets/{agent-site-editor-DpVUGFZO.js → agent-site-editor-D0WgiifS.js} +1 -1
  58. package/dist/client/assets/agent-site-editor-code-hMG7vrm0.js +2 -0
  59. package/dist/client/assets/{agent-site-editor-content-Ch_W-XBW.js → agent-site-editor-content-BgOJFG9c.js} +3 -3
  60. package/dist/client/assets/{agent-site-editor-preview-B_IWatK1.js → agent-site-editor-preview-CUoQ3A2A.js} +3 -3
  61. package/dist/client/assets/agent-view-49jn3sef.js +1 -0
  62. package/dist/client/assets/{agent-view-guard-BvLhIXrv.js → agent-view-guard-4ZKaGH4G.js} +1 -1
  63. package/dist/client/assets/{agents-list-C1mOaR5S.js → agents-list-D3gJ2RT9.js} +1 -1
  64. package/dist/client/assets/{ai-providers-Dl-M1PyL.js → ai-providers-EX3loIyU.js} +1 -1
  65. package/dist/client/assets/{alert-SBNacSkV.js → alert--bP6MJ-s.js} +1 -1
  66. package/dist/client/assets/{alert-dialog-jQtZ3ZzI.js → alert-dialog-BXQXu_hy.js} +1 -1
  67. package/dist/client/assets/{analytics-sections-ClrZtpv-.js → analytics-sections-CdYiQ-xy.js} +1 -1
  68. package/dist/client/assets/{api-keys-CPJrFMqi.js → api-keys-BrjugwDb.js} +1 -1
  69. package/dist/client/assets/api-keys-CJs0zhxS.js +1 -0
  70. package/dist/client/assets/app-editor-jFcBonBj.js +1 -0
  71. package/dist/client/assets/{asset-utils-D08Aoc_R.js → asset-utils-D7XXIUcy.js} +1 -1
  72. package/dist/client/assets/{auth-mFhLeKMz.js → auth-BE-jkdby.js} +1 -1
  73. package/dist/client/assets/{auth-catchall-BeMyoBKu.js → auth-catchall-CjR3tChI.js} +1 -1
  74. package/dist/client/assets/{auth-entry-DJaGJAjK.js → auth-entry-DDsI8LJz.js} +1 -1
  75. package/dist/client/assets/{auth-split-layout-ByDkAW2k.js → auth-split-layout-D6qqJdJA.js} +1 -1
  76. package/dist/client/assets/{authenticate-and-persist-oauth-CeGbqgzS.js → authenticate-and-persist-oauth-6gcBpEYE.js} +1 -1
  77. package/dist/client/assets/{automation-list-row-DVkYWn7-.js → automation-list-row-CteUT-6p.js} +1 -1
  78. package/dist/client/assets/{automation-runs-ClsfcDj3.js → automation-runs-CUtnmcVp.js} +1 -1
  79. package/dist/client/assets/{automations-J6M9iOPe.js → automations-lYa6AiLA.js} +1 -1
  80. package/dist/client/assets/{autosend-BMgG-yyo.js → autosend-DoPX3ID2.js} +1 -1
  81. package/dist/client/assets/{avatar-CGKHJJ29.js → avatar-Bq6TAAFW.js} +1 -1
  82. package/dist/client/assets/{badge-e2QrlLU3.js → badge-DdyoasWI.js} +1 -1
  83. package/dist/client/assets/{block-document-CwvleIK5.js → block-document-DFUf28-k.js} +1 -1
  84. package/dist/client/assets/{blocks-preview-workspace-context-CRfw600-.js → blocks-preview-workspace-context-CcflmcEy.js} +1 -1
  85. package/dist/client/assets/{blog-schema-9H1MsVja.js → blog-schema-OMPmGRLW.js} +1 -1
  86. package/dist/client/assets/{board-analytics-DJF9aWKh.js → board-analytics-BiNZrPNn.js} +1 -1
  87. package/dist/client/assets/{buckets-BP1Vhyhd.js → buckets-CaFJvXOA.js} +1 -1
  88. package/dist/client/assets/{build-improve-prompt-doc-v8716goQ.js → build-improve-prompt-doc-vQTXQ0bc.js} +1 -1
  89. package/dist/client/assets/{calendar-Bk2o0YZw.js → calendar-CKjCUK4z.js} +1 -1
  90. package/dist/client/assets/{capability-load-error-CIHPR5Gy.js → capability-load-error-yY_zJ-Ao.js} +1 -1
  91. package/dist/client/assets/{category-editor-BaQg02aW.js → category-editor-k50OxEem.js} +1 -1
  92. package/dist/client/assets/{chart-HyDGBD-q.js → chart-DLnDEiU-.js} +1 -1
  93. package/dist/client/assets/{chat-context-BbNDNUk9.js → chat-context-CrQzXlfA.js} +1 -1
  94. package/dist/client/assets/{chat-draft-hlZVssEX.js → chat-draft-Dt0YxfIm.js} +1 -1
  95. package/dist/client/assets/{checkbox-C_2F1Cj3.js → checkbox-BDf-RH4K.js} +1 -1
  96. package/dist/client/assets/{choose-editor-ChSwWWjo.js → choose-editor-DGzy5hBy.js} +1 -1
  97. package/dist/client/assets/{claim-phase-copy-D269DINR.js → claim-phase-copy-DzqqNAQK.js} +1 -1
  98. package/dist/client/assets/{cli-auth-success-CmkX-i8P.js → cli-auth-success-BxMYF6-F.js} +1 -1
  99. package/dist/client/assets/{client-icons-DSMjDL_L.js → client-icons-Dg5TRoFi.js} +1 -1
  100. package/dist/client/assets/{collapsible-B9gzEACx.js → collapsible-BxK4deT6.js} +1 -1
  101. package/dist/client/assets/{collection-detail-1UUQlOPW.js → collection-detail-CywnSV_7.js} +1 -1
  102. package/dist/client/assets/{collection-display-button-Bfbynwrl.js → collection-display-button-jNP5K1bz.js} +1 -1
  103. package/dist/client/assets/{collection-search-B0uW5tI4.js → collection-search-DPsn3CXI.js} +1 -1
  104. package/dist/client/assets/{collection-table-wrapper-ClFZOmuM.js → collection-table-wrapper-V4lSNzMe.js} +1 -1
  105. package/dist/client/assets/{collection-tabs-Bkk1_mfm.js → collection-tabs-yGaibPbt.js} +1 -1
  106. package/dist/client/assets/{column-rules-DSDPtHpm.js → column-rules-w5dI6MiR.js} +1 -1
  107. package/dist/client/assets/{combobox-CShUh4PQ.js → combobox-BiNAlC0P.js} +1 -1
  108. package/dist/client/assets/{command-nVyplWK_.js → command-BTi6xeFr.js} +1 -1
  109. package/dist/client/assets/{companion-mcps-section-kC08wD54.js → companion-mcps-section-CeXtyAjb.js} +1 -1
  110. package/dist/client/assets/{config-0BiCejtE.js → config-kzOWzcVE.js} +1 -1
  111. package/dist/client/assets/{connect-BBeQU_EJ.js → connect-D9ikDmaj.js} +1 -1
  112. package/dist/client/assets/{connect-layout-Bwx9aBPg.js → connect-layout-CTahsp5z.js} +1 -1
  113. package/dist/client/assets/{connection-A7b7D2VS.js → connection-D9I74S7M.js} +1 -1
  114. package/dist/client/assets/{connection-card-DE57XYjn.js → connection-card-CJQIw_Nv.js} +1 -1
  115. package/dist/client/assets/{connection-detail-BTLWRKbY.js → connection-detail-pgMuX5Oz.js} +1 -1
  116. package/dist/client/assets/{connection-form-helpers-DtAJchwc.js → connection-form-helpers-B-LWzl1k.js} +1 -1
  117. package/dist/client/assets/{connections-DrngcRP8.js → connections-DieTcSBX.js} +1 -1
  118. package/dist/client/assets/{context-DaL6xhih.js → context-DFJUTjoL.js} +1 -1
  119. package/dist/client/assets/{context-menu-BJwy_nFH.js → context-menu-D1ZZXqJA.js} +1 -1
  120. package/dist/client/assets/{core.esm-DDBCWV0w.js → core.esm-Dv_8c6_R.js} +1 -1
  121. package/dist/client/assets/{create-organization-dialog-DB9rEtrK.js → create-organization-dialog-Creof6Q6.js} +1 -1
  122. package/dist/client/assets/{daily-pulse-CJrJLexW.js → daily-pulse-C1iRL0DP.js} +1 -1
  123. package/dist/client/assets/{device-hint-CvaTEhNc.js → device-hint-D6o0ZAXt.js} +1 -1
  124. package/dist/client/assets/{discover-Dw08zcmB.js → discover-CePAnyrm.js} +1 -1
  125. package/dist/client/assets/{domain-settings-B0_IxtF3.js → domain-settings-D6QuHIIo.js} +1 -1
  126. package/dist/client/assets/{drawer-DcBsCtJm.js → drawer-BteL4_b8.js} +1 -1
  127. package/dist/client/assets/{editor-BM9Si7NB.js → editor-DXs48n4m.js} +1 -1
  128. package/dist/client/assets/{empty-state-DLkkLJux.js → empty-state-DVOe8f0v.js} +1 -1
  129. package/dist/client/assets/{empty-state-C3RzST0N.js → empty-state-nxvSNmCo.js} +1 -1
  130. package/dist/client/assets/{extract-connection-data-oAa1fXR4.js → extract-connection-data-C4LE3XP1.js} +1 -1
  131. package/dist/client/assets/{feature-gate-r-cIsb_9.js → feature-gate-D5cs36pg.js} +1 -1
  132. package/dist/client/assets/{feature-paywall-nMZG76Hu.js → feature-paywall-Bav9eu3-.js} +1 -1
  133. package/dist/client/assets/{file-explorer-Bom54db-.js → file-explorer-BxD_Van3.js} +1 -1
  134. package/dist/client/assets/{file-preview-CALjnZBa.js → file-preview--UotbnAp.js} +1 -1
  135. package/dist/client/assets/{file-share-button-CJ6c6rH7.js → file-share-button-DfSOzwKL.js} +1 -1
  136. package/dist/client/assets/{file-type-icon-DUTtkOfJ.js → file-type-icon-BdgYZI0o.js} +1 -1
  137. package/dist/client/assets/flat-project-DECVe2Af.js +1 -0
  138. package/dist/client/assets/{folder-icon-BpHYuhb6.js → folder-icon-DPpHsFKf.js} +1 -1
  139. package/dist/client/assets/{form-D6G00z5h.js → form-D1MBRr1a.js} +1 -1
  140. package/dist/client/assets/{general-B7xvTz9V.js → general-s5vFb1AW.js} +1 -1
  141. package/dist/client/assets/{home-PELUmr4H.js → home-zkRu3m0Z.js} +1 -1
  142. package/dist/client/assets/{icon-button-DGINqU7U.js → icon-button-Be2OFfn9.js} +1 -1
  143. package/dist/client/assets/{index-Bq_h7Umn.js → index-BWAlpkwu.js} +2 -2
  144. package/dist/client/assets/{index-TQwnj3sP.js → index-BZmo2tt3.js} +1 -1
  145. package/dist/client/assets/{index-yMyEaAzH.js → index-BarLJujz.js} +1 -1
  146. package/dist/client/assets/{index-45BC-IUR.js → index-CYZBRz3B.js} +1 -1
  147. package/dist/client/assets/{index-BJiAXB1x.js → index-CpwRaMGG.js} +1 -1
  148. package/dist/client/assets/{index-CakTkyAW.js → index-Cu0cR7bc.js} +3 -3
  149. package/dist/client/assets/{index-BqudK4-L.js → index-DCl7JFhF.js} +1 -1
  150. package/dist/client/assets/{index-BOHdm5fb.js → index-DQfpFSGJ.js} +1 -1
  151. package/dist/client/assets/{index-CkoPmvjx.js → index-DZ-4XlyB.js} +1 -1
  152. package/dist/client/assets/{index-DdQUASg3.js → index-DaIZzrp6.js} +1 -1
  153. package/dist/client/assets/{index-DdOq1jSd.js → index-DphH3SH1.js} +1 -1
  154. package/dist/client/assets/{index-BuDhwSVB.js → index-U_vV9Req.js} +1 -1
  155. package/dist/client/assets/{index-mX8QUf9o.js → index-nGorqSn2.js} +1 -1
  156. package/dist/client/assets/{index-redirect-DNi4zMfa.js → index-redirect-BUhiGPCW.js} +1 -1
  157. package/dist/client/assets/{infiniteQueryObserver-BGAJA7Os.js → infiniteQueryObserver-MzzHKvZc.js} +1 -1
  158. package/dist/client/assets/{infra-billing-CbbmB2V7.js → infra-billing-iMOaTHaE.js} +1 -1
  159. package/dist/client/assets/{input-BKhewuuN.js → input-B36YHfuk.js} +1 -1
  160. package/dist/client/assets/{input-Box_WV2_.js → input-Dxjz6HLl.js} +3 -3
  161. package/dist/client/assets/{integration-icon-DhOhrv7U.js → integration-icon-COlVJ6Ap.js} +1 -1
  162. package/dist/client/assets/{jira-icon-i4VUNyiL.js → jira-icon-C99q-eqp.js} +1 -1
  163. package/dist/client/assets/{label-CsAQzNfl.js → label-DxzpCGxy.js} +1 -1
  164. package/dist/client/assets/{layout-CkHYkU9R.js → layout-BPEjMWyv.js} +1 -1
  165. package/dist/client/assets/{legacy-agents-deep-C98RQKXI.js → legacy-agents-deep-D22i61GY.js} +1 -1
  166. package/dist/client/assets/{legacy-main-redirect-BIgyJ_Rn.js → legacy-main-redirect-Bd1f4-s6.js} +1 -1
  167. package/dist/client/assets/library-BzWAyYdS.js +1 -0
  168. package/dist/client/assets/{library-tab-BPP4xFsL.js → library-tab-BwMklNG7.js} +1 -1
  169. package/dist/client/assets/{login-C9xo8gC-.js → login-Cg-H_746.js} +1 -1
  170. package/dist/client/assets/{markdown-Clwy6_tr.js → markdown-CIDKXAe3.js} +1 -1
  171. package/dist/client/assets/{mcp-app-renderer-DArMX47N.js → mcp-app-renderer-C_aV5_pO.js} +1 -1
  172. package/dist/client/assets/{mcp-oauth-Cea99ANT.js → mcp-oauth-IMvvQmc3.js} +1 -1
  173. package/dist/client/assets/{mcp-oauth-CbvlD5SX.js → mcp-oauth-nWbzfbZw.js} +1 -1
  174. package/dist/client/assets/{members-wctf2Ubi.js → members-Z99D6BSC.js} +1 -1
  175. package/dist/client/assets/{memory-Jt-lr6yw.js → memory-BzR5MfaH.js} +1 -1
  176. package/dist/client/assets/{mini-report-page-B13wqcgl.js → mini-report-page-J0RaSepS.js} +1 -1
  177. package/dist/client/assets/{mock-board-B5RdDxLI.js → mock-board-CnMocWT0.js} +1 -1
  178. package/dist/client/assets/{monaco-editor-dtwnOmjA.js → monaco-editor-DKDSZsxq.js} +1 -1
  179. package/dist/client/assets/{monitoring-stats-row-DYDDyWu-.js → monitoring-stats-row-_d1_Xm5C.js} +1 -1
  180. package/dist/client/assets/{multi-select-DdSpqudi.js → multi-select-C4Opj1Hx.js} +1 -1
  181. package/dist/client/assets/{mustache-CX4MpdBX.js → mustache-DpS2EmOz.js} +1 -1
  182. package/dist/client/assets/{new-project-dialog-BGypGobH.js → new-project-dialog-Cqc94Xrg.js} +1 -1
  183. package/dist/client/assets/{oauth-callback-kqzCIobn.js → oauth-callback-BvnuYowV.js} +1 -1
  184. package/dist/client/assets/{oauth-callback-ai-provider-DWrRnAQa.js → oauth-callback-ai-provider-DoVXzlg4.js} +1 -1
  185. package/dist/client/assets/{onboarding-CcYfi8WI.js → onboarding-BxKrIDfZ.js} +1 -1
  186. package/dist/client/assets/{openai-conversation-DhlBv8-E.js → openai-conversation-D_WargBp.js} +1 -1
  187. package/dist/client/assets/{optimistic-project-sidebar-views-zum4YfIs.js → optimistic-project-sidebar-views-C72D-T6C.js} +1 -1
  188. package/dist/client/assets/{organization-choice-BfiXSZG8.js → organization-choice-CkZFZuI5.js} +1 -1
  189. package/dist/client/assets/{orgs-B5gFQq1F.js → orgs-BkyRjXec.js} +1 -1
  190. package/dist/client/assets/{page-seo-form-JFwiZIT0.js → page-seo-form-V0XVwdbM.js} +1 -1
  191. package/dist/client/assets/{pair-BGz-xvRt.js → pair-DArsz9tT.js} +1 -1
  192. package/dist/client/assets/{plan-ladder-B7BcLgoM.js → plan-ladder-HvyjB5S9.js} +1 -1
  193. package/dist/client/assets/{popover-SThjTKkw.js → popover-DiRh2ZE6.js} +1 -1
  194. package/dist/client/assets/{post-calendar-D2ZuozAK.js → post-calendar-DZPRF1Fw.js} +1 -1
  195. package/dist/client/assets/{post-editor-C5YzMvlA.js → post-editor-Rq8bfJrk.js} +1 -1
  196. package/dist/client/assets/{preview-content-D4UMh6Mw.js → preview-content-BBDqb8iV.js} +1 -1
  197. package/dist/client/assets/{preview-dialog-CNlppihz.js → preview-dialog-B05ZYzPt.js} +1 -1
  198. package/dist/client/assets/{preview-panel-D1c2tSFa.js → preview-panel-C0Z5Xpkr.js} +1 -1
  199. package/dist/client/assets/{product-picker-dialog-Bg_wRS27.js → product-picker-dialog-B3zoX2p7.js} +1 -1
  200. package/dist/client/assets/{profile-BgOQ9aAb.js → profile-D0KJYGbH.js} +1 -1
  201. package/dist/client/assets/{project-app-view-4rqXbkzF.js → project-app-view-DnyrcgvT.js} +1 -1
  202. package/dist/client/assets/{project-feed-B9W-92Dz.js → project-feed-B1V1oVqF.js} +1 -1
  203. package/dist/client/assets/{project-icon-CIwLSfgH.js → project-icon-CERkoZt2.js} +1 -1
  204. package/dist/client/assets/project-reports-ClPCzaR7.js +1 -0
  205. package/dist/client/assets/project-tasks-D6PlNqPf.js +1 -0
  206. package/dist/client/assets/{projects-CTer1OmE.js → projects-BjpwoYcB.js} +1 -1
  207. package/dist/client/assets/{projects-empty-state-Bdm7hEu4.js → projects-empty-state-mw_x5s3z.js} +1 -1
  208. package/dist/client/assets/{prompts-BVzWI9A2.js → prompts-ws24GjVu.js} +1 -1
  209. package/dist/client/assets/record-editor-BM2bfocU.js +1 -0
  210. package/dist/client/assets/redirect-editor-8f6pOi1q.js +1 -0
  211. package/dist/client/assets/{reports-DD5cz_RA.js → reports-9nAIioaC.js} +1 -1
  212. package/dist/client/assets/reports-efTLNI8J.js +1 -0
  213. package/dist/client/assets/{reports-onboarding-BsU9VGgp.js → reports-onboarding-CQX2_wNC.js} +1 -1
  214. package/dist/client/assets/{reports-tab-Csnk5c_k.js → reports-tab-CTElJmji.js} +2 -2
  215. package/dist/client/assets/{repositories-CpvdMs7E.js → repositories-BNfy6lS5.js} +1 -1
  216. package/dist/client/assets/{repository-binding-BRtfh-B2.js → repository-binding-BkAj46q1.js} +1 -1
  217. package/dist/client/assets/{repository-import-picker-BHmiPnBI.js → repository-import-picker-D222lJkc.js} +1 -1
  218. package/dist/client/assets/{repository-picker-DvE9EG8b.js → repository-picker-BgLHJAB7.js} +1 -1
  219. package/dist/client/assets/{require-capability-CPXwUBF0.js → require-capability-9g_2IlJC.js} +1 -1
  220. package/dist/client/assets/{required-auth-layout-BndaENeT.js → required-auth-layout-C2W0Hmb4.js} +1 -1
  221. package/dist/client/assets/{reset-password-BS360IO6.js → reset-password-Bl7GenBs.js} +1 -1
  222. package/dist/client/assets/{resizable-DziF2F06.js → resizable-BeKhifo6.js} +1 -1
  223. package/dist/client/assets/{resolve-tab-icon-DtE6yqkk.js → resolve-tab-icon-sCKE8Gcb.js} +1 -1
  224. package/dist/client/assets/{review-settings-C18UhQh3.js → review-settings-CK8XpKJr.js} +1 -1
  225. package/dist/client/assets/{rich-text-link-control-DzTRiuLD.js → rich-text-link-control-DFO6A-Xy.js} +1 -1
  226. package/dist/client/assets/{roles-D2MdIBra.js → roles-BE5NOOrK.js} +1 -1
  227. package/dist/client/assets/route-ByrWDzCb.js +1 -0
  228. package/dist/client/assets/{route-DBgBZrOb.js → route-DP_WtFkJ.js} +1 -1
  229. package/dist/client/assets/{route-Dixxnj33.js → route-g1ppf9aO.js} +1 -1
  230. package/dist/client/assets/{runnable-block-editor-CIGu38ky.js → runnable-block-editor-D7D4bcP5.js} +1 -1
  231. package/dist/client/assets/{sandbox-lifecycle-context-CPCgb-_w.js → sandbox-lifecycle-context-DwZumXpN.js} +1 -1
  232. package/dist/client/assets/{schema-Du_TtumO.js → schema-SVXt4E6H.js} +1 -1
  233. package/dist/client/assets/{scroll-area-ms-tTzk1.js → scroll-area-DC2prxTD.js} +1 -1
  234. package/dist/client/assets/{search-input-39xhlSYx.js → search-input-DpIQ019n.js} +1 -1
  235. package/dist/client/assets/{search-toggle-CSuLKQ_Y.js → search-toggle-DQlNqONe.js} +1 -1
  236. package/dist/client/assets/{secret-picker-CZCX6GO5.js → secret-picker-BVqoJ9wg.js} +1 -1
  237. package/dist/client/assets/{secrets-CdI8V4V2.js → secrets-jX83QUBm.js} +1 -1
  238. package/dist/client/assets/{sections-editor-DMeqz1oV.js → sections-editor-D06mA4CH.js} +1 -1
  239. package/dist/client/assets/{select-JLYSksJb.js → select-5QkF-ydf.js} +1 -1
  240. package/dist/client/assets/{select-model-DKQUaD4e.js → select-model-BPJLgnED.js} +1 -1
  241. package/dist/client/assets/{seo-editor-DsYvsfFz.js → seo-editor-BIs-FzOM.js} +1 -1
  242. package/dist/client/assets/{separator-BmovFMP1.js → separator-CwKe-sT_.js} +1 -1
  243. package/dist/client/assets/{settings-tab-txXR_zUN.js → settings-tab-BryWi3Fl.js} +1 -1
  244. package/dist/client/assets/{sheet-Jvnn431v.js → sheet-Ccw9R6E9.js} +1 -1
  245. package/dist/client/assets/{shell-layout-CJgfswow.js → shell-layout-CmyoqizW.js} +1 -1
  246. package/dist/client/assets/{skills-DYFaqavF.js → skills-DWOJiWbw.js} +1 -1
  247. package/dist/client/assets/{slider-Bdt_gbvO.js → slider-BhZMOdIj.js} +1 -1
  248. package/dist/client/assets/{sortable.esm-Cj9zcuDX.js → sortable.esm-CTrrb9k2.js} +1 -1
  249. package/dist/client/assets/{sso-BGnGFz0u.js → sso-BbaZR3ST.js} +1 -1
  250. package/dist/client/assets/{suggestion-QLaiiEa4.js → suggestion-DN6ve0Z-.js} +1 -1
  251. package/dist/client/assets/{switch-Cr9OdHZR.js → switch-BcjqQ0Bd.js} +1 -1
  252. package/dist/client/assets/{symbol-6XkBontZ.js → symbol-Anjb0I8w.js} +1 -1
  253. package/dist/client/assets/{synced-repos-nPJinKKB.js → synced-repos-omp4l-Qh.js} +1 -1
  254. package/dist/client/assets/{tab-icon-glyph-D-ycwvR2.js → tab-icon-glyph-DJKeBMtp.js} +1 -1
  255. package/dist/client/assets/{table-Cri4Xg02.js → table-zpHK9BMQ.js} +1 -1
  256. package/dist/client/assets/{tabs-D4q7kwbr.js → tabs-BbVh-GPF.js} +1 -1
  257. package/dist/client/assets/{task-board-tSRaoKqm.js → task-board-CuPrIMXJ.js} +1 -1
  258. package/dist/client/assets/{task-route-ZhU1PK_V.js → task-route-Be5gAj81.js} +1 -1
  259. package/dist/client/assets/{task-status-BbeX0x8L.js → task-status-BF84kVgv.js} +1 -1
  260. package/dist/client/assets/taskboard-analytics-BACyQaw4.js +1 -0
  261. package/dist/client/assets/{tasks-Byrbraao.js → tasks-Cg2ediCg.js} +1 -1
  262. package/dist/client/assets/tasks-DbSw5iLI.js +1 -0
  263. package/dist/client/assets/{textarea-Dl_dkdBZ.js → textarea-CU3yT73Z.js} +1 -1
  264. package/dist/client/assets/{thread-analytics-CXh2lNz9.js → thread-analytics-CL66KEgk.js} +1 -1
  265. package/dist/client/assets/{thread-button-DXyx_ks_.js → thread-button-BicBi2YW.js} +1 -1
  266. package/dist/client/assets/{thread-intent-D_WXT-Pe.js → thread-intent-qsgT0v7g.js} +1 -1
  267. package/dist/client/assets/{thread-route-VI83l3tU.js → thread-route-Bvc86kB8.js} +1 -1
  268. package/dist/client/assets/{thread-route-CUc8muIW.js → thread-route-VcdZ-yo1.js} +1 -1
  269. package/dist/client/assets/{thread-sheet-body-jfLPV_BJ.js → thread-sheet-body-CPBxYYyX.js} +1 -1
  270. package/dist/client/assets/{time-range-picker-D6_PeFy6.js → time-range-picker-BiZZSuW7.js} +1 -1
  271. package/dist/client/assets/{toggle-group-CMzFoK81.js → toggle-group-mviOe0_V.js} +1 -1
  272. package/dist/client/assets/{tool-namespace-CBl6r41H.js → tool-namespace-Cm6DqXGb.js} +1 -1
  273. package/dist/client/assets/{toolbar-icon-button-4Lwb9IsI.js → toolbar-icon-button-CT832dEu.js} +1 -1
  274. package/dist/client/assets/{tooltip-BwGAQHGK.js → tooltip-DgqSmkd3.js} +1 -1
  275. package/dist/client/assets/{tooltipContext-Dg_1ywjo.js → tooltipContext-CWoJ1tLJ.js} +1 -1
  276. package/dist/client/assets/{track-DRV0x9iD.js → track-Bsbqp3Hn.js} +1 -1
  277. package/dist/client/assets/{types-CyBvFRGE.js → types-ZkHG882G.js} +1 -1
  278. package/dist/client/assets/{url-slug-DGtQ7HWv.js → url-slug-Bn0tWo1u.js} +1 -1
  279. package/dist/client/assets/{usage-stats-BzAa1e6J.js → usage-stats-CwHrFrwm.js} +1 -1
  280. package/dist/client/assets/{use-ai-providers-Dzg7qOBB.js → use-ai-providers-Dw5yZbHU.js} +1 -1
  281. package/dist/client/assets/{use-automations-BmndfAFz.js → use-automations-DGkz1D1I.js} +1 -1
  282. package/dist/client/assets/{use-autosave-dIExvC1c.js → use-autosave-CRooFXam.js} +1 -1
  283. package/dist/client/assets/{use-chat-layout-state-Cu5VHCdn.js → use-chat-layout-state-Aoi0ufu4.js} +1 -1
  284. package/dist/client/assets/{use-chat-navigation-Dq4AID7c.js → use-chat-navigation-D7AQRSfw.js} +1 -1
  285. package/dist/client/assets/{use-clock-tick-CVfWS6yM.js → use-clock-tick-DFaAt8jb.js} +1 -1
  286. package/dist/client/assets/{use-connect-companion-B8sGfDXf.js → use-connect-companion-ZHdRjz9u.js} +1 -1
  287. package/dist/client/assets/{use-connection-BOUIPY6t.js → use-connection-CEXahlIk.js} +1 -1
  288. package/dist/client/assets/{use-copy-Dvf6c8uG.js → use-copy-DapieTwf.js} +1 -1
  289. package/dist/client/assets/{use-create-virtual-mcp-DSn6yk0N.js → use-create-virtual-mcp-CjHeuHjz.js} +1 -1
  290. package/dist/client/assets/{use-date-fns-locale-CgGcC6Az.js → use-date-fns-locale-BIu5umci.js} +1 -1
  291. package/dist/client/assets/{use-debounced-autosave-CE2-QUqa.js → use-debounced-autosave-uZ7zbYGC.js} +1 -1
  292. package/dist/client/assets/{use-debounced-value-BzsL07qR.js → use-debounced-value-D6NhrevJ.js} +1 -1
  293. package/dist/client/assets/{use-deco-credits-DkF5SY_h.js → use-deco-credits-BZuYHeV1.js} +1 -1
  294. package/dist/client/assets/{use-decopilot-events-Blhc-ndU.js → use-decopilot-events-Cq_vCUrM.js} +1 -1
  295. package/dist/client/assets/{use-delete-connection-CYF8pz_F.js → use-delete-connection-gUL1t4_0.js} +1 -1
  296. package/dist/client/assets/{use-deployment-admin-CLpFZG4D.js → use-deployment-admin-BtZ93ofY.js} +1 -1
  297. package/dist/client/assets/{use-ensure-project-folder-BOYyvWFQ.js → use-ensure-project-folder-FLO8zvA3.js} +1 -1
  298. package/dist/client/assets/{use-fast-preview-draft-url-CIyiUthR.js → use-fast-preview-draft-url-G0OtfyDx.js} +1 -1
  299. package/dist/client/assets/{use-file-configs-96Lf4lzD.js → use-file-configs-6DIvP8tn.js} +1 -1
  300. package/dist/client/assets/{use-infinite-scroll-Dm8NTnoo.js → use-infinite-scroll-DeMwG1OG.js} +1 -1
  301. package/dist/client/assets/{use-join-requests-Cknb7py1.js → use-join-requests-DmvTad5Q.js} +1 -1
  302. package/dist/client/assets/{use-main-panel-tabs-BgFjt2aK.js → use-main-panel-tabs-BtpwyvjF.js} +1 -1
  303. package/dist/client/assets/{use-mcp-auth-status-Y0skDQ3v.js → use-mcp-auth-status-CCBaD_t7.js} +1 -1
  304. package/dist/client/assets/{use-mcp-client-CNAsaI5e.js → use-mcp-client-Qoi044ys.js} +1 -1
  305. package/dist/client/assets/{use-mcp-prompts-CmgQ14fY.js → use-mcp-prompts-BMgpvY14.js} +1 -1
  306. package/dist/client/assets/{use-mcp-tools-UtYane4F.js → use-mcp-tools-BlaP_xtx.js} +1 -1
  307. package/dist/client/assets/{use-members-BgejpANd.js → use-members-ENr1twTa.js} +1 -1
  308. package/dist/client/assets/{use-mobile-DnCFkPJO.js → use-mobile-CwSfPydP.js} +1 -1
  309. package/dist/client/assets/{use-navigate-to-agent-B0zcOk2z.js → use-navigate-to-agent-D1F3bZCL.js} +1 -1
  310. package/dist/client/assets/use-new-blocks-editor-D2VBaOY7.js +1 -0
  311. package/dist/client/assets/{use-open-billing-url-CKWus2xS.js → use-open-billing-url-BoRkSQlB.js} +1 -1
  312. package/dist/client/assets/{use-org-auth-client-CD-nyV-c.js → use-org-auth-client-BsOQBY-k.js} +1 -1
  313. package/dist/client/assets/{use-org-fs-DLNWZCr_.js → use-org-fs-CVJeIAyC.js} +1 -1
  314. package/dist/client/assets/{use-org-repo-syncs-DJwlGK__.js → use-org-repo-syncs-DxrCYoIn.js} +1 -1
  315. package/dist/client/assets/{use-org-sso-CRxV8p8t.js → use-org-sso-Ddt7V8xj.js} +1 -1
  316. package/dist/client/assets/{use-organization-roles-BfBFRRgX.js → use-organization-roles-D9xxQxFR.js} +1 -1
  317. package/dist/client/assets/{use-organization-settings-BNn0Gqay.js → use-organization-settings-BbR_CXXI.js} +1 -1
  318. package/dist/client/assets/{use-panel-navigate-DwB1wmJM.js → use-panel-navigate-DKoLfagd.js} +1 -1
  319. package/dist/client/assets/{use-project-scope-4_AOQZp8.js → use-project-scope-B9BJjHwp.js} +1 -1
  320. package/dist/client/assets/{use-releases-Cx-VnR2N.js → use-releases-JESV1CSi.js} +1 -1
  321. package/dist/client/assets/{use-reports-diagnostic-CsqGKGh6.js → use-reports-diagnostic-xu7ZUmZP.js} +1 -1
  322. package/dist/client/assets/{use-sandbox-events-CSD-klwz.js → use-sandbox-events-CZCsW2q8.js} +1 -1
  323. package/dist/client/assets/{use-secrets-DXbIcS8Z.js → use-secrets-Jwfb7jmE.js} +1 -1
  324. package/dist/client/assets/{use-section-preview-base-BvT5dwZ-.js → use-section-preview-base-Dd1LZgFO.js} +1 -1
  325. package/dist/client/assets/{use-tags-jhKYOldy.js → use-tags-BaR2yuSY.js} +1 -1
  326. package/dist/client/assets/{use-task-board-analytics-3nTgrvPC.js → use-task-board-analytics-JumBGEbJ.js} +1 -1
  327. package/dist/client/assets/{use-task-board-events-CqrXYzkU.js → use-task-board-events-DJcOVtd5.js} +1 -1
  328. package/dist/client/assets/{use-task-board-item-prs-Dd1q_l-B.js → use-task-board-item-prs-CRO34NDT.js} +1 -1
  329. package/dist/client/assets/{use-task-board-items-C75zoD0D.js → use-task-board-items-CgMDPdKH.js} +1 -1
  330. package/dist/client/assets/{use-task-metadata-DdlcIqCj.js → use-task-metadata-CZKhUiWq.js} +1 -1
  331. package/dist/client/assets/{use-thread-analytics-DCMrsmOZ.js → use-thread-analytics-BwMzDnad.js} +1 -1
  332. package/dist/client/assets/{use-thread-outputs-CvH5Vmni.js → use-thread-outputs-CINM0_Ec.js} +1 -1
  333. package/dist/client/assets/useInfiniteQuery-C1KwH6U-.js +1 -0
  334. package/dist/client/assets/{useQueries-Tky8WmoX.js → useQueries-B0oo9pOn.js} +1 -1
  335. package/dist/client/assets/useSuspenseInfiniteQuery-BhqW4802.js +1 -0
  336. package/dist/client/assets/{users-CVCcRfbM.js → users-bQzZTP34.js} +1 -1
  337. package/dist/client/assets/{utils-BOsIAs_e.js → utils-BQ82PIjq.js} +1 -1
  338. package/dist/client/assets/{variant-calendar-Dk9EVqWx.js → variant-calendar-DeFFVX92.js} +1 -1
  339. package/dist/client/assets/{variant-matcher-override-BpPqjUGk.js → variant-matcher-override-DoZRlwTe.js} +1 -1
  340. package/dist/client/assets/{view-mode-toggle-Dl2euStK.js → view-mode-toggle-ClN4sSDy.js} +1 -1
  341. package/dist/client/assets/{virtual-mcp-5EzMLO01.js → virtual-mcp-Dx4LWaPY.js} +1 -1
  342. package/dist/client/assets/{watch-sse-pool-CMD7Z7qL.js → watch-sse-pool-jiotiysJ.js} +1 -1
  343. package/dist/client/index.html +1 -1
  344. package/dist/server/server.js +2 -2
  345. package/package.json +1 -1
  346. package/dist/client/assets/agent-app-OaxZqeD_.js +0 -1
  347. package/dist/client/assets/agent-deck-B2nYR7Dm.js +0 -1
  348. package/dist/client/assets/agent-library-BOKehDWH.js +0 -1
  349. package/dist/client/assets/agent-library-file-bZx6dPQZ.js +0 -1
  350. package/dist/client/assets/agent-settings-C9O5P6Ac.js +0 -1
  351. package/dist/client/assets/agent-site-editor-code-B6YFKzJn.js +0 -2
  352. package/dist/client/assets/agent-view-B5RueEsw.js +0 -1
  353. package/dist/client/assets/api-keys-DBSJuVWB.js +0 -1
  354. package/dist/client/assets/app-editor-pad2zBVL.js +0 -1
  355. package/dist/client/assets/flat-project-D87vZYtU.js +0 -1
  356. package/dist/client/assets/library-DFMSzKbO.js +0 -1
  357. package/dist/client/assets/project-reports-RELkMoLG.js +0 -1
  358. package/dist/client/assets/project-tasks-DNjdwI1k.js +0 -1
  359. package/dist/client/assets/record-editor-CJO9Opqj.js +0 -1
  360. package/dist/client/assets/redirect-editor-CU0aYdIn.js +0 -1
  361. package/dist/client/assets/reports-BAz1tWvD.js +0 -1
  362. package/dist/client/assets/route-IAz4JGQ1.js +0 -1
  363. package/dist/client/assets/taskboard-analytics-BBPxyOfm.js +0 -1
  364. package/dist/client/assets/tasks-BJbNG40I.js +0 -1
  365. package/dist/client/assets/use-new-blocks-editor-67BT0BD6.js +0 -1
  366. package/dist/client/assets/useInfiniteQuery-Dv-XATwg.js +0 -1
  367. package/dist/client/assets/useSuspenseInfiniteQuery-C_E-uilI.js +0 -1
@@ -1 +1 @@
1
- import{c as J,r as C,b as G,j as h,t as N,a4 as xe,v as ke,aK as we,s as be,B as Pe,q as _e,D as Ce,o as de,a2 as ue,K as Z,y as O,eH as me,eI as oe,eJ as z,l as Se}from"./index-Bq_h7Umn.js";import{S as fe,s as Fe}from"./suggestion-QLaiiEa4.js";import{l as Ie,n as ve,o as De,f as H,p as je,P as ie,q as Me,c as Re,u as Le,r as Ae,e as Ee,k as Ne,F as Te,s as Qe,b as Oe}from"./usage-stats-BzAa1e6J.js";import{aZ as Ue}from"./agent-icon-BWm1tEHf.js";import"./chat-context-BbNDNUk9.js";import{m as $e,i as qe,b as Ke}from"./index-mX8QUf9o.js";import{u as pe}from"./use-mcp-client-CNAsaI5e.js";import{b as ze}from"./repository-binding-BRtfh-B2.js";import{v as He}from"./use-chat-layout-state-Cu5VHCdn.js";import{g as ne,s as he}from"./tool-namespace-CBl6r41H.js";import{l as ae,g as ge}from"./use-mcp-prompts-CmgQ14fY.js";import{f as Je,a as Be}from"./use-org-fs-DLNWZCr_.js";async function Ve(t,e,n,s,i,o){if(!$e(e)){N.error("Selected model does not support file uploads");return}const c=n.type||"application/octet-stream";if(!qe(c,e)){const p=Ke(e).parts.map(x=>o(x)).join(", "),w=e?.title??"This model";i?i({fileName:n.name,modelName:w,accepted:p}):N.error(`"${n.name}" can't be attached`,{description:`${w} accepts ${p}.`});return}const d=10*1024*1024;if(n.size>d){N.error(`File "${n.name}" exceeds 10MB limit`);return}try{const p=new FileReader,w=new Promise((r,u)=>{p.onload=()=>{const a=p.result;if(typeof a!="string"){u(new Error("Failed to read file as data URL"));return}const k=a.includes(",")?a.split(",")[1]??a:a;r(k)},p.onerror=u});p.readAsDataURL(n);const x=await w,f={id:crypto.randomUUID(),name:n.name,mimeType:n.type||"application/octet-stream",size:n.size,data:x};Ie(t,{from:s,to:s},f)}catch(p){console.error("Failed to process file:",p),N.error(`Failed to load file "${n.name}"`)}}function We(t){const e=J.c(9),{editor:n,selectedModel:s,onUnsupportedFile:i}=t,o=G(),c=C.useRef(Ye);let d,p;e[0]!==n||e[1]!==i||e[2]!==s||e[3]!==o?(d=()=>{c.current=async(f,r)=>{await Ve(n,s,f,r,i,o)}},p=[n,s,i,o],e[0]=n,e[1]=i,e[2]=s,e[3]=o,e[4]=d,e[5]=p):(d=e[4],p=e[5]),C.useEffect(d,p);let w,x;return e[6]!==n?(w=()=>{if(n?.isDestroyed)return;const f=new ve("fileDropHandler");n.state.plugins.find(a=>a.spec.key===f)&&n.unregisterPlugin(f);const u=new De({key:f,props:{handleDrop:(a,k,F,S)=>{if(S)return!1;const b=k.dataTransfer?.files;if(!b||b.length===0)return!1;k.preventDefault();const D=a.posAtCoords({left:k.clientX,top:k.clientY});if(!D)return!1;const I=Array.from(b);return(async()=>{let M=D.pos;for(const v of I)await c.current?.(v,M),M=a.state.selection.to})(),!0},handlePaste:(a,k)=>{const F=k.clipboardData?.items;if(!F)return!1;const S=Array.from(F).filter(Xe);return S.length===0?!1:(k.preventDefault(),(async()=>{let b=a.state.selection.from;for(const D of S){const I=D.getAsFile();I&&(await c.current?.(I,b),b=a.state.selection.to)}})(),!0)}}});return n.registerPlugin(u),()=>{n?.isDestroyed||n.unregisterPlugin(f)}},x=[n],e[6]=n,e[7]=w,e[8]=x):(w=e[7],x=e[8]),C.useEffect(w,x),null}function Xe(t){return t.kind==="file"}function Ye(){return Promise.resolve()}function _t(t){const e=J.c(43),{info:n,onClose:s}=t,i=G(),o=n!==null;let c;e[0]!==s?(c=j=>!j&&s(),e[0]=s,e[1]=c):c=e[1];let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=["radial-gradient(ellipse 40% 200% at -5% 100%, rgba(251,191,36,0.35) 0%, transparent 100%)","radial-gradient(ellipse 40% 200% at 105% -10%, rgba(244,114,182,0.25) 0%, transparent 100%)"],e[2]=d):d=e[2];let p;e[3]===Symbol.for("react.memo_cache_sentinel")?(p=h.jsx("div",{className:"absolute inset-x-0 top-0 h-36 pointer-events-none",style:{backgroundImage:d.join(", "),maskImage:"linear-gradient(to bottom, black 0%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, transparent 100%)"}}),e[3]=p):p=e[3];let w;e[4]===Symbol.for("react.memo_cache_sentinel")?(w=h.jsx("div",{className:"flex items-center justify-center size-9 rounded-lg bg-warning/15 text-warning",children:h.jsx(xe,{size:18})}),e[4]=w):w=e[4];let x;e[5]!==i?(x=i("chat.uploader.fileTypeNotSupported"),e[5]=i,e[6]=x):x=e[6];let f;e[7]!==x?(f=h.jsx(ke,{className:"text-xl font-semibold tracking-tight",children:x}),e[7]=x,e[8]=f):f=e[8];const r=n?.fileName;let u;e[9]!==r?(u=h.jsxs("span",{className:"font-medium text-foreground",children:["“",r,"”"]}),e[9]=r,e[10]=u):u=e[10];let a;e[11]!==i?(a=i("chat.uploader.cantAttachToChat"),e[11]=i,e[12]=a):a=e[12];let k;e[13]!==a||e[14]!==u?(k=h.jsxs(we,{className:"mt-1.5 text-sm leading-relaxed",children:[u," ",a]}),e[13]=a,e[14]=u,e[15]=k):k=e[15];let F;e[16]!==k||e[17]!==f?(F=h.jsxs("div",{className:"relative px-8 pt-8 pb-2 overflow-hidden",children:[p,h.jsxs(be,{className:"relative gap-4",children:[w,h.jsxs("div",{children:[f,k]})]})]}),e[16]=k,e[17]=f,e[18]=F):F=e[18];const S=n?.modelName??"";let b;e[19]!==i||e[20]!==S?(b=i("chat.uploader.accepts",{modelName:S}),e[19]=i,e[20]=S,e[21]=b):b=e[21];let D;e[22]!==b?(D=h.jsx("div",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground mb-2",children:b}),e[22]=b,e[23]=D):D=e[23];let I;e[24]===Symbol.for("react.memo_cache_sentinel")?(I=h.jsx(Ue,{size:14,className:"text-muted-foreground"}),e[24]=I):I=e[24];const M=n?.accepted;let v;e[25]!==M?(v=h.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground",children:[I,h.jsx("span",{className:"capitalize",children:M})]}),e[25]=M,e[26]=v):v=e[26];let l;e[27]!==D||e[28]!==v?(l=h.jsx("div",{className:"px-8 pt-3 pb-6 space-y-3",children:h.jsxs("div",{className:"rounded-xl border border-border p-4",children:[D,v]})}),e[27]=D,e[28]=v,e[29]=l):l=e[29];let m;e[30]!==i?(m=i("chat.uploader.gotIt"),e[30]=i,e[31]=m):m=e[31];let y;e[32]!==s||e[33]!==m?(y=h.jsx("div",{className:"px-8 py-4 border-t border-border bg-muted/30 flex items-center justify-end",children:h.jsx(Pe,{onClick:s,children:m})}),e[32]=s,e[33]=m,e[34]=y):y=e[34];let _;e[35]!==F||e[36]!==l||e[37]!==y?(_=h.jsxs(_e,{className:"sm:max-w-[480px] gap-0 p-0 overflow-hidden",onOpenAutoFocus:Ze,children:[F,l,y]}),e[35]=F,e[36]=l,e[37]=y,e[38]=_):_=e[38];let R;return e[39]!==o||e[40]!==c||e[41]!==_?(R=h.jsx(Ce,{open:o,onOpenChange:c,children:_}),e[39]=o,e[40]=c,e[41]=_,e[42]=R):R=e[42],R}function Ze(t){return t.preventDefault()}function Ct(){const t=J.c(3),[e,n]=C.useState(null);let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>n(null),t[0]=s):s=t[0];let i;return t[1]!==e?(i={unsupportedFile:e,onUnsupportedFile:n,clearUnsupportedFile:s},t[1]=e,t[2]=i):i=t[2],i}const Ge=t=>{const e=J.c(53),{editor:n,virtualMcpId:s,suggestionOpenRef:i}=t,o=G(),c=de(),{org:d}=ue(),p=ze();let w;e[0]!==p?(w=He(p),e[0]=p,e[1]=w):w=e[1];const x=w;let f;e[2]!==d.id||e[3]!==d.slug||e[4]!==s?(f={connectionId:s,orgId:d.id,orgSlug:d.slug},e[2]=d.id,e[3]=d.slug,e[4]=s,e[5]=f):f=e[5];const r=pe(f);let u;e[6]!==d.id||e[7]!==s?(u=Z.virtualMcpResources(s,d.id),e[6]=d.id,e[7]=s,e[8]=u):u=e[8];const a=u,[k,F]=C.useState("categories");let S;e[9]!==k?(S=()=>k,e[9]=k,e[10]=S):S=e[10];const b=C.useEffectEvent(S),D=C.useRef(null),I=C.useRef(!1),M=s??"default";let v;e[11]!==k||e[12]!==d.id||e[13]!==M?(v=["at-mention",d.id,M,k],e[11]=k,e[12]=d.id,e[13]=M,e[14]=v):v=e[14];const l=v;let m;e[15]!==o?(m=o("chat.mentionAt.agentsTitle"),e[15]=o,e[16]=m):m=e[16];let y;e[17]!==o?(y=o("chat.mentionAt.agentsDescription"),e[17]=o,e[18]=y):y=e[18];let _;e[19]!==m||e[20]!==y?(_={name:"agents",title:m,description:y,kind:"category",drillable:!0},e[19]=m,e[20]=y,e[21]=_):_=e[21];let R;e[22]!==o?(R=o("chat.mentionAt.resourcesTitle"),e[22]=o,e[23]=R):R=e[23];let j;e[24]!==o?(j=o("chat.mentionAt.resourcesDescription"),e[24]=o,e[25]=j):j=e[25];let T;e[26]!==R||e[27]!==j?(T={name:"resources",title:R,description:j,kind:"category",drillable:!0},e[26]=R,e[27]=j,e[28]=T):T=e[28];let U;e[29]!==T||e[30]!==_?(U=[_,T],e[29]=T,e[30]=_,e[31]=U):U=e[31];const q=U;let g;e[32]!==r||e[33]!==n||e[34]!==o?(g=async $=>{const{item:P,range:K}=$;if(O("chat_picker_item_selected",{picker:"@",item_kind:P.kind,item_name:P.name}),P.kind!=="category"&&(I.current=!0),P.kind==="category")return F(P.name==="agents"?"agents":"resources"),!1;if(P.kind==="agent"&&P.agentId){H(n,K,{id:P.agentId,name:P.name,metadata:{agentId:P.agentId,title:P.name},char:"@"}),F("categories");return}if(P.kind==="resource"&&P.uri&&r){try{const Q=await me(r,P.uri);H(n,K,{id:P.uri,name:P.uri,metadata:Q.contents,char:"@"})}catch(Q){console.error("[at-mention] Failed to fetch resource:",Q),N.error(o("chat.mentionAt.failedToLoadResource"))}F("categories");return}},e[32]=r,e[33]=n,e[34]=o,e[35]=g):g=e[35];const ee=g;let B;e[36]!==p||e[37]!==q||e[38]!==r||e[39]!==x||e[40]!==b||e[41]!==c||e[42]!==a||e[43]!==s?(B=async $=>{const{query:P}=$,K=b();if(K==="categories"){if(!P.trim())return q;const A=P.toLowerCase(),L=p.filter(E=>E.status==="active"&&(!E.id||!oe(E.id))&&!x.has(E.id)&&E.id!==s&&(E.title.toLowerCase().includes(A)||E.description?.toLowerCase().includes(A))).map(et),Y=await(async()=>{if(!r)return[];let E=c.getQueryData(a);return E||(E=await c.fetchQuery({queryKey:a,queryFn:()=>z(r),staleTime:6e4})),(E?.resources??[]).filter(re=>re.uri.toLowerCase().includes(A)||re.name?.toLowerCase().includes(A)||re.description?.toLowerCase().includes(A)).map(tt)})();return[...L,...Y]}if(K==="agents"){let A=p.filter(L=>L.status==="active"&&(!L.id||!oe(L.id))&&!x.has(L.id)&&L.id!==s);if(P.trim()){const L=P.toLowerCase();A=A.filter(Y=>Y.title.toLowerCase().includes(L)||Y.description?.toLowerCase().includes(L))}return A.map(st)}if(!r)return[];let Q=c.getQueryData(a);Q?c.fetchQuery({queryKey:a,queryFn:()=>z(r),staleTime:6e4}).catch(rt):Q=await c.fetchQuery({queryKey:a,queryFn:()=>z(r),staleTime:6e4});let X=Q?.resources??[];if(P.trim()){const A=P.toLowerCase();X=X.filter(L=>L.uri.toLowerCase().includes(A)||L.name?.toLowerCase().includes(A)||L.description?.toLowerCase().includes(A))}return X.map(nt)},e[36]=p,e[37]=q,e[38]=r,e[39]=x,e[40]=b,e[41]=c,e[42]=a,e[43]=s,e[44]=B):B=e[44];const te=B;let V;e[45]!==i?(V=$=>{if(i&&(i.current=$),$)D.current=Date.now(),I.current=!1,O("chat_picker_opened",{picker:"@"});else{const P=D.current;O("chat_picker_closed",{picker:"@",outcome:I.current?"selected":"dismissed",duration_ms:P?Date.now()-P:null}),D.current=null,F("categories")}},e[45]=i,e[46]=V):V=e[46];const se=V;let W;return e[47]!==n||e[48]!==te||e[49]!==ee||e[50]!==se||e[51]!==l?(W=h.jsx(fe,{editor:n,char:"@",pluginKey:"atDropdownMenu",queryKey:l,queryFn:te,onSelect:ee,onOpenChange:se}),e[47]=n,e[48]=te,e[49]=ee,e[50]=se,e[51]=l,e[52]=W):W=e[52],W};function et(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function tt(t){return{name:t.name??t.uri,title:t.name,description:t.description,kind:"resource",uri:t.uri}}function st(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function rt(){}function nt(t){return{name:t.name??t.uri,title:t.name,description:t.description,kind:"resource",uri:t.uri}}async function le(t,e,n,s,i,o,c){try{const d=await ge(n,s,o);H(t,e,{id:s,name:he(s,i),metadata:d.messages,char:"/",kind:"prompt",args:o})}catch(d){console.error("[slash] Failed to fetch prompt:",d),N.error(c.t("chat.mentionSlash.failedLoadPrompt"))}}async function ot(t,e,n,s,i){try{const o=await me(n,s);H(t,e,{id:s,name:s,metadata:o.contents,char:"/",kind:"resource"})}catch(o){console.error("[slash] Failed to fetch resource:",o),N.error(i.t("chat.mentionSlash.failedLoadResource"))}}async function it(t,e,n,s,i){try{const{files:o,omittedPaths:c}=await Je(n,s.volume,s.path),d={sandboxPath:s.sandboxPath,volume:s.volume,path:s.path,files:o,omittedPaths:c};H(t,e,{id:s.id,name:s.name,metadata:d,char:"/",kind:"skill"})}catch(o){console.error("[slash] Failed to fetch skill:",o),N.error(i.t("chat.mentionSlash.failedLoadSkill"))}}const at=({editor:t,virtualMcpId:e,suggestionOpenRef:n})=>{const s=G(),i=de(),{org:o}=ue(),c=pe({connectionId:e,orgId:o.id,orgSlug:o.slug}),d=Z.virtualMcpPrompts(e,o.id),p=Z.virtualMcpResources(e,o.id),w=Z.slashSkills(o.id),x=["slash-mention",o.id,e??"default"],[f,r]=C.useState(null),[u,a]=C.useState(null),k=je(t);k&&(k.onEditChip=async l=>{if(c)try{const y=(await ce(i,d,c)).find(_=>_.name===l.promptId);if(!y?.arguments||y.arguments.length===0)return;a({...l,prompt:y})}catch(m){console.error("[slash] Failed to load prompt for editing:",m),N.error(s("chat.mentionSlash.failedLoadPrompt"))}});const F=C.useRef(null),S=C.useRef(!1),b=async({item:l,range:m})=>{if(O("chat_picker_item_selected",{picker:"/",item_kind:l.kind,item_name:l.name}),S.current=!0,!!c)if(l.kind==="prompt"){if(l.arguments&&l.arguments.length>0){r({range:m,item:l});return}const y=ne(l._meta);await le(t,m,c,l.name,y,void 0,{t:s})}else l.kind==="skill"?l.skill&&await it(t,m,o.slug,l.skill,{t:s}):l.uri&&await ot(t,m,c,l.uri,{t:s})},D=async l=>{if(!f||!c)return;const{range:m,item:y}=f,_=ne(y._meta);await le(t,m,c,y.name,_,l,{t:s}),r(null)},I=async l=>{if(!(!u||!c)){if(!Me(t,u.pos,u.promptId)){N.error(s("chat.mentionSlash.failedUpdatePrompt")),a(null);return}try{const m=await ge(c,u.promptId,l),y=ne(u.prompt._meta);t.chain().focus().setNodeSelection(u.pos).deleteSelection().insertContentAt(u.pos,Re({id:u.promptId,name:he(u.promptId,y),metadata:m.messages,char:"/",kind:"prompt",args:l})).run(),O("chat_picker_item_selected",{picker:"/edit",item_kind:"prompt",item_name:u.promptId})}catch(m){console.error("[slash] Failed to update prompt:",m),N.error(s("chat.mentionSlash.failedUpdatePrompt"))}a(null)}},M=async l=>{const{query:m}=l;if(!c)return[];const[y,_,R]=await Promise.all([ce(i,d,c),ct(i,p,c),lt(i,w,o.slug)]),j=m.trim().toLowerCase(),T=(y??[]).filter(g=>!j||g.name.toLowerCase().includes(j)||g.title?.toLowerCase().includes(j)||g.description?.toLowerCase().includes(j)).map(g=>({name:g.name,title:g.title,description:g.description,kind:"prompt",arguments:g.arguments,_meta:g._meta})),U=(_??[]).filter(g=>!j||g.uri.toLowerCase().includes(j)||g.name?.toLowerCase().includes(j)||g.description?.toLowerCase().includes(j)).map(g=>({name:g.name??g.uri,title:g.name,description:g.description,kind:"resource",uri:g.uri})),q=(R??[]).filter(g=>!j||g.name.toLowerCase().includes(j)||g.id.toLowerCase().includes(j)||g.description?.toLowerCase().includes(j)).map(g=>({name:g.name,title:g.name,description:g.description??void 0,kind:"skill",skill:g}));return[...T,...U,...q]},v=f?.item.kind==="prompt"?{name:f.item.name,title:f.item.title,arguments:f.item.arguments,description:f.item.description,_meta:f.item._meta}:null;return h.jsxs(h.Fragment,{children:[h.jsx(fe,{editor:t,char:"/",pluginKey:"slashDropdownMenu",queryKey:x,queryFn:M,onSelect:b,onOpenChange:l=>{if(n&&(n.current=l),l)F.current=Date.now(),S.current=!1,O("chat_picker_opened",{picker:"/"});else{const m=F.current;O("chat_picker_closed",{picker:"/",outcome:S.current?"selected":"dismissed",duration_ms:m?Date.now()-m:null}),F.current=null}}}),h.jsx(ie,{prompt:v,setPrompt:()=>r(null),onSubmit:D}),h.jsx(ie,{prompt:u?.prompt??null,setPrompt:()=>a(null),onSubmit:I,defaultValues:u?.args},u?`edit-${u.promptId}-${u.pos}`:"edit-idle")]})};async function ce(t,e,n){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>ae(n),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>ae(n),staleTime:6e4}).catch(()=>{}),s?.prompts??[]}async function lt(t,e,n){const s=t.getQueryData(e),i=()=>t.fetchQuery({queryKey:e,queryFn:()=>Be(n),staleTime:6e4});return s?(i().catch(()=>{}),s):i().catch(()=>[])}async function ct(t,e,n){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>z(n),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>z(n),staleTime:6e4}).catch(()=>{}),s?.resources??[]}const ye="Ask anything, / for prompts & skills, @ for agents & resources...";function dt(t){return[Qe.configure({heading:!1,blockquote:!1,codeBlock:!1,horizontalRule:!1,dropcursor:!1}),Fe.configure({placeholder:()=>t.current??ye,showOnlyWhenEditable:!1}),Ne,Te]}function St({tiptapDoc:t,setTiptapDoc:e,disabled:n=!1,enterToSubmit:s=!1,placeholder:i,onSubmit:o,suggestionOpenRef:c,children:d}){const p=C.useRef(o),w=C.useRef(e),x=C.useRef(s),f=C.useRef(i),r=Le({extensions:dt(f),content:t||"",editorProps:{attributes:{"data-chat-input":"true",role:"textbox","aria-multiline":"true","aria-label":i??ye,class:"prose prose-sm max-w-none focus:outline-none w-full h-full text-[15px] p-[18px]"},handleKeyDown:(u,a)=>a.key==="Enter"&&!a.shiftKey&&x.current&&!c?.current?(a.preventDefault(),p.current?.(),!0):!1},onUpdate:({editor:u})=>{w.current(u?.getJSON())}});return C.useEffect(()=>{r?.setEditable(!n)},[r,n]),C.useEffect(()=>{p.current=o},[o]),C.useEffect(()=>{w.current=e},[e]),C.useEffect(()=>{x.current=s},[s]),C.useEffect(()=>{f.current=i},[i]),C.useEffect(()=>{if(!r||r.isDestroyed)return;const u=JSON.stringify(r.getJSON()),a=JSON.stringify(t||{type:"doc",content:[]});u!==a&&r.commands.setContent(t||{type:"doc",content:[]})},[r,t]),h.jsx(Ae.Provider,{value:{editor:r},children:d})}function Ft(t){const e=J.c(29),{disabled:n,virtualMcpId:s,showFileUploader:i,selectedModel:o,onUnsupportedFile:c,suggestionOpenRef:d,ref:p,className:w}=t,x=n===void 0?!1:n,f=i===void 0?!1:i,{editor:r}=Ee();let u,a;if(e[0]!==r?(u=()=>({focus:()=>{r?.commands.focus()},clear:()=>{r?.commands.clearContent(!0)},appendText:y=>{if(!r)return;const _=r.state.doc.textContent.trim()==="";r.commands.focus("end"),_||r.commands.insertContent(" "),r.commands.insertContent(y)},syncVoiceText:(y,_)=>{if(r&&(r.commands.setContent(y||{type:"doc",content:[]}),_)){r.commands.focus("end");const R=r.state.doc.textContent.trim().length>0;r.commands.insertContent({type:"text",text:R?" "+_:_})}},restoreContent:y=>{r&&r.commands.setContent(y||{type:"doc",content:[]})}}),a=[r],e[0]=r,e[1]=u,e[2]=a):(u=e[1],a=e[2]),C.useImperativeHandle(p??null,u,a),!r)return null;const k=x&&"cursor-not-allowed opacity-70",F=x&&"[&_.ProseMirror]:cursor-not-allowed";let S;e[3]!==w||e[4]!==k||e[5]!==F?(S=Se("overflow-y-auto relative flex-1 max-h-[164px] min-h-[20px] w-full flex flex-col",w,"[&_.ProseMirror]:outline-none [&_.ProseMirror]:min-h-[20px] [&_.ProseMirror]:flex-1","[&_.ProseMirror_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)]","[&_.ProseMirror_p.is-editor-empty:first-child::before]:text-muted-foreground","[&_.ProseMirror_p.is-editor-empty:first-child::before]:opacity-50","[&_.ProseMirror_p.is-editor-empty:first-child::before]:float-left","[&_.ProseMirror_p.is-editor-empty:first-child::before]:pointer-events-none","[&_.ProseMirror_p.is-editor-empty:first-child::before]:h-0","[&_.ProseMirror_p.is-editor-empty:first-child::before]:w-full","[&_.ProseMirror_p.is-editor-empty:first-child::before]:break-words",k,F),e[3]=w,e[4]=k,e[5]=F,e[6]=S):S=e[6];let b;e[7]!==r||e[8]!==S?(b=h.jsx(Oe,{editor:r,className:S}),e[7]=r,e[8]=S,e[9]=b):b=e[9];const D=s??null;let I;e[10]!==r||e[11]!==d||e[12]!==D?(I=h.jsx(C.Suspense,{fallback:null,children:h.jsx(at,{editor:r,virtualMcpId:D,suggestionOpenRef:d})}),e[10]=r,e[11]=d,e[12]=D,e[13]=I):I=e[13];const M=s??null;let v;e[14]!==r||e[15]!==d||e[16]!==M?(v=h.jsx(C.Suspense,{fallback:null,children:h.jsx(Ge,{editor:r,virtualMcpId:M,suggestionOpenRef:d})}),e[14]=r,e[15]=d,e[16]=M,e[17]=v):v=e[17];let l;e[18]!==x||e[19]!==r||e[20]!==c||e[21]!==o||e[22]!==f?(l=f&&o&&!x?h.jsx(We,{editor:r,selectedModel:o,onUnsupportedFile:c}):null,e[18]=x,e[19]=r,e[20]=c,e[21]=o,e[22]=f,e[23]=l):l=e[23];let m;return e[24]!==I||e[25]!==v||e[26]!==l||e[27]!==b?(m=h.jsxs(h.Fragment,{children:[b,I,v,l]}),e[24]=I,e[25]=v,e[26]=l,e[27]=b,e[28]=m):m=e[28],m}export{St as T,_t as U,Ft as a,Ve as p,Ct as u};
1
+ import{c as J,r as C,b as G,j as h,t as N,a4 as xe,v as ke,aK as we,s as be,B as Pe,q as _e,D as Ce,o as de,a2 as ue,K as Z,y as O,eH as me,eI as oe,eJ as z,l as Se}from"./index-BWAlpkwu.js";import{S as fe,s as Fe}from"./suggestion-DN6ve0Z-.js";import{l as Ie,n as ve,o as De,f as H,p as je,P as ie,q as Me,c as Re,u as Le,r as Ae,e as Ee,k as Ne,F as Te,s as Qe,b as Oe}from"./usage-stats-CwHrFrwm.js";import{aZ as Ue}from"./agent-icon-DtuRgBXt.js";import"./chat-context-CrQzXlfA.js";import{m as $e,i as qe,b as Ke}from"./index-nGorqSn2.js";import{u as pe}from"./use-mcp-client-Qoi044ys.js";import{b as ze}from"./repository-binding-BkAj46q1.js";import{v as He}from"./use-chat-layout-state-Aoi0ufu4.js";import{g as ne,s as he}from"./tool-namespace-Cm6DqXGb.js";import{l as ae,g as ge}from"./use-mcp-prompts-BMgpvY14.js";import{f as Je,a as Be}from"./use-org-fs-CVJeIAyC.js";async function Ve(t,e,n,s,i,o){if(!$e(e)){N.error("Selected model does not support file uploads");return}const c=n.type||"application/octet-stream";if(!qe(c,e)){const p=Ke(e).parts.map(x=>o(x)).join(", "),w=e?.title??"This model";i?i({fileName:n.name,modelName:w,accepted:p}):N.error(`"${n.name}" can't be attached`,{description:`${w} accepts ${p}.`});return}const d=10*1024*1024;if(n.size>d){N.error(`File "${n.name}" exceeds 10MB limit`);return}try{const p=new FileReader,w=new Promise((r,u)=>{p.onload=()=>{const a=p.result;if(typeof a!="string"){u(new Error("Failed to read file as data URL"));return}const k=a.includes(",")?a.split(",")[1]??a:a;r(k)},p.onerror=u});p.readAsDataURL(n);const x=await w,f={id:crypto.randomUUID(),name:n.name,mimeType:n.type||"application/octet-stream",size:n.size,data:x};Ie(t,{from:s,to:s},f)}catch(p){console.error("Failed to process file:",p),N.error(`Failed to load file "${n.name}"`)}}function We(t){const e=J.c(9),{editor:n,selectedModel:s,onUnsupportedFile:i}=t,o=G(),c=C.useRef(Ye);let d,p;e[0]!==n||e[1]!==i||e[2]!==s||e[3]!==o?(d=()=>{c.current=async(f,r)=>{await Ve(n,s,f,r,i,o)}},p=[n,s,i,o],e[0]=n,e[1]=i,e[2]=s,e[3]=o,e[4]=d,e[5]=p):(d=e[4],p=e[5]),C.useEffect(d,p);let w,x;return e[6]!==n?(w=()=>{if(n?.isDestroyed)return;const f=new ve("fileDropHandler");n.state.plugins.find(a=>a.spec.key===f)&&n.unregisterPlugin(f);const u=new De({key:f,props:{handleDrop:(a,k,F,S)=>{if(S)return!1;const b=k.dataTransfer?.files;if(!b||b.length===0)return!1;k.preventDefault();const D=a.posAtCoords({left:k.clientX,top:k.clientY});if(!D)return!1;const I=Array.from(b);return(async()=>{let M=D.pos;for(const v of I)await c.current?.(v,M),M=a.state.selection.to})(),!0},handlePaste:(a,k)=>{const F=k.clipboardData?.items;if(!F)return!1;const S=Array.from(F).filter(Xe);return S.length===0?!1:(k.preventDefault(),(async()=>{let b=a.state.selection.from;for(const D of S){const I=D.getAsFile();I&&(await c.current?.(I,b),b=a.state.selection.to)}})(),!0)}}});return n.registerPlugin(u),()=>{n?.isDestroyed||n.unregisterPlugin(f)}},x=[n],e[6]=n,e[7]=w,e[8]=x):(w=e[7],x=e[8]),C.useEffect(w,x),null}function Xe(t){return t.kind==="file"}function Ye(){return Promise.resolve()}function _t(t){const e=J.c(43),{info:n,onClose:s}=t,i=G(),o=n!==null;let c;e[0]!==s?(c=j=>!j&&s(),e[0]=s,e[1]=c):c=e[1];let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=["radial-gradient(ellipse 40% 200% at -5% 100%, rgba(251,191,36,0.35) 0%, transparent 100%)","radial-gradient(ellipse 40% 200% at 105% -10%, rgba(244,114,182,0.25) 0%, transparent 100%)"],e[2]=d):d=e[2];let p;e[3]===Symbol.for("react.memo_cache_sentinel")?(p=h.jsx("div",{className:"absolute inset-x-0 top-0 h-36 pointer-events-none",style:{backgroundImage:d.join(", "),maskImage:"linear-gradient(to bottom, black 0%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, transparent 100%)"}}),e[3]=p):p=e[3];let w;e[4]===Symbol.for("react.memo_cache_sentinel")?(w=h.jsx("div",{className:"flex items-center justify-center size-9 rounded-lg bg-warning/15 text-warning",children:h.jsx(xe,{size:18})}),e[4]=w):w=e[4];let x;e[5]!==i?(x=i("chat.uploader.fileTypeNotSupported"),e[5]=i,e[6]=x):x=e[6];let f;e[7]!==x?(f=h.jsx(ke,{className:"text-xl font-semibold tracking-tight",children:x}),e[7]=x,e[8]=f):f=e[8];const r=n?.fileName;let u;e[9]!==r?(u=h.jsxs("span",{className:"font-medium text-foreground",children:["“",r,"”"]}),e[9]=r,e[10]=u):u=e[10];let a;e[11]!==i?(a=i("chat.uploader.cantAttachToChat"),e[11]=i,e[12]=a):a=e[12];let k;e[13]!==a||e[14]!==u?(k=h.jsxs(we,{className:"mt-1.5 text-sm leading-relaxed",children:[u," ",a]}),e[13]=a,e[14]=u,e[15]=k):k=e[15];let F;e[16]!==k||e[17]!==f?(F=h.jsxs("div",{className:"relative px-8 pt-8 pb-2 overflow-hidden",children:[p,h.jsxs(be,{className:"relative gap-4",children:[w,h.jsxs("div",{children:[f,k]})]})]}),e[16]=k,e[17]=f,e[18]=F):F=e[18];const S=n?.modelName??"";let b;e[19]!==i||e[20]!==S?(b=i("chat.uploader.accepts",{modelName:S}),e[19]=i,e[20]=S,e[21]=b):b=e[21];let D;e[22]!==b?(D=h.jsx("div",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground mb-2",children:b}),e[22]=b,e[23]=D):D=e[23];let I;e[24]===Symbol.for("react.memo_cache_sentinel")?(I=h.jsx(Ue,{size:14,className:"text-muted-foreground"}),e[24]=I):I=e[24];const M=n?.accepted;let v;e[25]!==M?(v=h.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground",children:[I,h.jsx("span",{className:"capitalize",children:M})]}),e[25]=M,e[26]=v):v=e[26];let l;e[27]!==D||e[28]!==v?(l=h.jsx("div",{className:"px-8 pt-3 pb-6 space-y-3",children:h.jsxs("div",{className:"rounded-xl border border-border p-4",children:[D,v]})}),e[27]=D,e[28]=v,e[29]=l):l=e[29];let m;e[30]!==i?(m=i("chat.uploader.gotIt"),e[30]=i,e[31]=m):m=e[31];let y;e[32]!==s||e[33]!==m?(y=h.jsx("div",{className:"px-8 py-4 border-t border-border bg-muted/30 flex items-center justify-end",children:h.jsx(Pe,{onClick:s,children:m})}),e[32]=s,e[33]=m,e[34]=y):y=e[34];let _;e[35]!==F||e[36]!==l||e[37]!==y?(_=h.jsxs(_e,{className:"sm:max-w-[480px] gap-0 p-0 overflow-hidden",onOpenAutoFocus:Ze,children:[F,l,y]}),e[35]=F,e[36]=l,e[37]=y,e[38]=_):_=e[38];let R;return e[39]!==o||e[40]!==c||e[41]!==_?(R=h.jsx(Ce,{open:o,onOpenChange:c,children:_}),e[39]=o,e[40]=c,e[41]=_,e[42]=R):R=e[42],R}function Ze(t){return t.preventDefault()}function Ct(){const t=J.c(3),[e,n]=C.useState(null);let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>n(null),t[0]=s):s=t[0];let i;return t[1]!==e?(i={unsupportedFile:e,onUnsupportedFile:n,clearUnsupportedFile:s},t[1]=e,t[2]=i):i=t[2],i}const Ge=t=>{const e=J.c(53),{editor:n,virtualMcpId:s,suggestionOpenRef:i}=t,o=G(),c=de(),{org:d}=ue(),p=ze();let w;e[0]!==p?(w=He(p),e[0]=p,e[1]=w):w=e[1];const x=w;let f;e[2]!==d.id||e[3]!==d.slug||e[4]!==s?(f={connectionId:s,orgId:d.id,orgSlug:d.slug},e[2]=d.id,e[3]=d.slug,e[4]=s,e[5]=f):f=e[5];const r=pe(f);let u;e[6]!==d.id||e[7]!==s?(u=Z.virtualMcpResources(s,d.id),e[6]=d.id,e[7]=s,e[8]=u):u=e[8];const a=u,[k,F]=C.useState("categories");let S;e[9]!==k?(S=()=>k,e[9]=k,e[10]=S):S=e[10];const b=C.useEffectEvent(S),D=C.useRef(null),I=C.useRef(!1),M=s??"default";let v;e[11]!==k||e[12]!==d.id||e[13]!==M?(v=["at-mention",d.id,M,k],e[11]=k,e[12]=d.id,e[13]=M,e[14]=v):v=e[14];const l=v;let m;e[15]!==o?(m=o("chat.mentionAt.agentsTitle"),e[15]=o,e[16]=m):m=e[16];let y;e[17]!==o?(y=o("chat.mentionAt.agentsDescription"),e[17]=o,e[18]=y):y=e[18];let _;e[19]!==m||e[20]!==y?(_={name:"agents",title:m,description:y,kind:"category",drillable:!0},e[19]=m,e[20]=y,e[21]=_):_=e[21];let R;e[22]!==o?(R=o("chat.mentionAt.resourcesTitle"),e[22]=o,e[23]=R):R=e[23];let j;e[24]!==o?(j=o("chat.mentionAt.resourcesDescription"),e[24]=o,e[25]=j):j=e[25];let T;e[26]!==R||e[27]!==j?(T={name:"resources",title:R,description:j,kind:"category",drillable:!0},e[26]=R,e[27]=j,e[28]=T):T=e[28];let U;e[29]!==T||e[30]!==_?(U=[_,T],e[29]=T,e[30]=_,e[31]=U):U=e[31];const q=U;let g;e[32]!==r||e[33]!==n||e[34]!==o?(g=async $=>{const{item:P,range:K}=$;if(O("chat_picker_item_selected",{picker:"@",item_kind:P.kind,item_name:P.name}),P.kind!=="category"&&(I.current=!0),P.kind==="category")return F(P.name==="agents"?"agents":"resources"),!1;if(P.kind==="agent"&&P.agentId){H(n,K,{id:P.agentId,name:P.name,metadata:{agentId:P.agentId,title:P.name},char:"@"}),F("categories");return}if(P.kind==="resource"&&P.uri&&r){try{const Q=await me(r,P.uri);H(n,K,{id:P.uri,name:P.uri,metadata:Q.contents,char:"@"})}catch(Q){console.error("[at-mention] Failed to fetch resource:",Q),N.error(o("chat.mentionAt.failedToLoadResource"))}F("categories");return}},e[32]=r,e[33]=n,e[34]=o,e[35]=g):g=e[35];const ee=g;let B;e[36]!==p||e[37]!==q||e[38]!==r||e[39]!==x||e[40]!==b||e[41]!==c||e[42]!==a||e[43]!==s?(B=async $=>{const{query:P}=$,K=b();if(K==="categories"){if(!P.trim())return q;const A=P.toLowerCase(),L=p.filter(E=>E.status==="active"&&(!E.id||!oe(E.id))&&!x.has(E.id)&&E.id!==s&&(E.title.toLowerCase().includes(A)||E.description?.toLowerCase().includes(A))).map(et),Y=await(async()=>{if(!r)return[];let E=c.getQueryData(a);return E||(E=await c.fetchQuery({queryKey:a,queryFn:()=>z(r),staleTime:6e4})),(E?.resources??[]).filter(re=>re.uri.toLowerCase().includes(A)||re.name?.toLowerCase().includes(A)||re.description?.toLowerCase().includes(A)).map(tt)})();return[...L,...Y]}if(K==="agents"){let A=p.filter(L=>L.status==="active"&&(!L.id||!oe(L.id))&&!x.has(L.id)&&L.id!==s);if(P.trim()){const L=P.toLowerCase();A=A.filter(Y=>Y.title.toLowerCase().includes(L)||Y.description?.toLowerCase().includes(L))}return A.map(st)}if(!r)return[];let Q=c.getQueryData(a);Q?c.fetchQuery({queryKey:a,queryFn:()=>z(r),staleTime:6e4}).catch(rt):Q=await c.fetchQuery({queryKey:a,queryFn:()=>z(r),staleTime:6e4});let X=Q?.resources??[];if(P.trim()){const A=P.toLowerCase();X=X.filter(L=>L.uri.toLowerCase().includes(A)||L.name?.toLowerCase().includes(A)||L.description?.toLowerCase().includes(A))}return X.map(nt)},e[36]=p,e[37]=q,e[38]=r,e[39]=x,e[40]=b,e[41]=c,e[42]=a,e[43]=s,e[44]=B):B=e[44];const te=B;let V;e[45]!==i?(V=$=>{if(i&&(i.current=$),$)D.current=Date.now(),I.current=!1,O("chat_picker_opened",{picker:"@"});else{const P=D.current;O("chat_picker_closed",{picker:"@",outcome:I.current?"selected":"dismissed",duration_ms:P?Date.now()-P:null}),D.current=null,F("categories")}},e[45]=i,e[46]=V):V=e[46];const se=V;let W;return e[47]!==n||e[48]!==te||e[49]!==ee||e[50]!==se||e[51]!==l?(W=h.jsx(fe,{editor:n,char:"@",pluginKey:"atDropdownMenu",queryKey:l,queryFn:te,onSelect:ee,onOpenChange:se}),e[47]=n,e[48]=te,e[49]=ee,e[50]=se,e[51]=l,e[52]=W):W=e[52],W};function et(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function tt(t){return{name:t.name??t.uri,title:t.name,description:t.description,kind:"resource",uri:t.uri}}function st(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function rt(){}function nt(t){return{name:t.name??t.uri,title:t.name,description:t.description,kind:"resource",uri:t.uri}}async function le(t,e,n,s,i,o,c){try{const d=await ge(n,s,o);H(t,e,{id:s,name:he(s,i),metadata:d.messages,char:"/",kind:"prompt",args:o})}catch(d){console.error("[slash] Failed to fetch prompt:",d),N.error(c.t("chat.mentionSlash.failedLoadPrompt"))}}async function ot(t,e,n,s,i){try{const o=await me(n,s);H(t,e,{id:s,name:s,metadata:o.contents,char:"/",kind:"resource"})}catch(o){console.error("[slash] Failed to fetch resource:",o),N.error(i.t("chat.mentionSlash.failedLoadResource"))}}async function it(t,e,n,s,i){try{const{files:o,omittedPaths:c}=await Je(n,s.volume,s.path),d={sandboxPath:s.sandboxPath,volume:s.volume,path:s.path,files:o,omittedPaths:c};H(t,e,{id:s.id,name:s.name,metadata:d,char:"/",kind:"skill"})}catch(o){console.error("[slash] Failed to fetch skill:",o),N.error(i.t("chat.mentionSlash.failedLoadSkill"))}}const at=({editor:t,virtualMcpId:e,suggestionOpenRef:n})=>{const s=G(),i=de(),{org:o}=ue(),c=pe({connectionId:e,orgId:o.id,orgSlug:o.slug}),d=Z.virtualMcpPrompts(e,o.id),p=Z.virtualMcpResources(e,o.id),w=Z.slashSkills(o.id),x=["slash-mention",o.id,e??"default"],[f,r]=C.useState(null),[u,a]=C.useState(null),k=je(t);k&&(k.onEditChip=async l=>{if(c)try{const y=(await ce(i,d,c)).find(_=>_.name===l.promptId);if(!y?.arguments||y.arguments.length===0)return;a({...l,prompt:y})}catch(m){console.error("[slash] Failed to load prompt for editing:",m),N.error(s("chat.mentionSlash.failedLoadPrompt"))}});const F=C.useRef(null),S=C.useRef(!1),b=async({item:l,range:m})=>{if(O("chat_picker_item_selected",{picker:"/",item_kind:l.kind,item_name:l.name}),S.current=!0,!!c)if(l.kind==="prompt"){if(l.arguments&&l.arguments.length>0){r({range:m,item:l});return}const y=ne(l._meta);await le(t,m,c,l.name,y,void 0,{t:s})}else l.kind==="skill"?l.skill&&await it(t,m,o.slug,l.skill,{t:s}):l.uri&&await ot(t,m,c,l.uri,{t:s})},D=async l=>{if(!f||!c)return;const{range:m,item:y}=f,_=ne(y._meta);await le(t,m,c,y.name,_,l,{t:s}),r(null)},I=async l=>{if(!(!u||!c)){if(!Me(t,u.pos,u.promptId)){N.error(s("chat.mentionSlash.failedUpdatePrompt")),a(null);return}try{const m=await ge(c,u.promptId,l),y=ne(u.prompt._meta);t.chain().focus().setNodeSelection(u.pos).deleteSelection().insertContentAt(u.pos,Re({id:u.promptId,name:he(u.promptId,y),metadata:m.messages,char:"/",kind:"prompt",args:l})).run(),O("chat_picker_item_selected",{picker:"/edit",item_kind:"prompt",item_name:u.promptId})}catch(m){console.error("[slash] Failed to update prompt:",m),N.error(s("chat.mentionSlash.failedUpdatePrompt"))}a(null)}},M=async l=>{const{query:m}=l;if(!c)return[];const[y,_,R]=await Promise.all([ce(i,d,c),ct(i,p,c),lt(i,w,o.slug)]),j=m.trim().toLowerCase(),T=(y??[]).filter(g=>!j||g.name.toLowerCase().includes(j)||g.title?.toLowerCase().includes(j)||g.description?.toLowerCase().includes(j)).map(g=>({name:g.name,title:g.title,description:g.description,kind:"prompt",arguments:g.arguments,_meta:g._meta})),U=(_??[]).filter(g=>!j||g.uri.toLowerCase().includes(j)||g.name?.toLowerCase().includes(j)||g.description?.toLowerCase().includes(j)).map(g=>({name:g.name??g.uri,title:g.name,description:g.description,kind:"resource",uri:g.uri})),q=(R??[]).filter(g=>!j||g.name.toLowerCase().includes(j)||g.id.toLowerCase().includes(j)||g.description?.toLowerCase().includes(j)).map(g=>({name:g.name,title:g.name,description:g.description??void 0,kind:"skill",skill:g}));return[...T,...U,...q]},v=f?.item.kind==="prompt"?{name:f.item.name,title:f.item.title,arguments:f.item.arguments,description:f.item.description,_meta:f.item._meta}:null;return h.jsxs(h.Fragment,{children:[h.jsx(fe,{editor:t,char:"/",pluginKey:"slashDropdownMenu",queryKey:x,queryFn:M,onSelect:b,onOpenChange:l=>{if(n&&(n.current=l),l)F.current=Date.now(),S.current=!1,O("chat_picker_opened",{picker:"/"});else{const m=F.current;O("chat_picker_closed",{picker:"/",outcome:S.current?"selected":"dismissed",duration_ms:m?Date.now()-m:null}),F.current=null}}}),h.jsx(ie,{prompt:v,setPrompt:()=>r(null),onSubmit:D}),h.jsx(ie,{prompt:u?.prompt??null,setPrompt:()=>a(null),onSubmit:I,defaultValues:u?.args},u?`edit-${u.promptId}-${u.pos}`:"edit-idle")]})};async function ce(t,e,n){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>ae(n),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>ae(n),staleTime:6e4}).catch(()=>{}),s?.prompts??[]}async function lt(t,e,n){const s=t.getQueryData(e),i=()=>t.fetchQuery({queryKey:e,queryFn:()=>Be(n),staleTime:6e4});return s?(i().catch(()=>{}),s):i().catch(()=>[])}async function ct(t,e,n){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>z(n),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>z(n),staleTime:6e4}).catch(()=>{}),s?.resources??[]}const ye="Ask anything, / for prompts & skills, @ for agents & resources...";function dt(t){return[Qe.configure({heading:!1,blockquote:!1,codeBlock:!1,horizontalRule:!1,dropcursor:!1}),Fe.configure({placeholder:()=>t.current??ye,showOnlyWhenEditable:!1}),Ne,Te]}function St({tiptapDoc:t,setTiptapDoc:e,disabled:n=!1,enterToSubmit:s=!1,placeholder:i,onSubmit:o,suggestionOpenRef:c,children:d}){const p=C.useRef(o),w=C.useRef(e),x=C.useRef(s),f=C.useRef(i),r=Le({extensions:dt(f),content:t||"",editorProps:{attributes:{"data-chat-input":"true",role:"textbox","aria-multiline":"true","aria-label":i??ye,class:"prose prose-sm max-w-none focus:outline-none w-full h-full text-[15px] p-[18px]"},handleKeyDown:(u,a)=>a.key==="Enter"&&!a.shiftKey&&x.current&&!c?.current?(a.preventDefault(),p.current?.(),!0):!1},onUpdate:({editor:u})=>{w.current(u?.getJSON())}});return C.useEffect(()=>{r?.setEditable(!n)},[r,n]),C.useEffect(()=>{p.current=o},[o]),C.useEffect(()=>{w.current=e},[e]),C.useEffect(()=>{x.current=s},[s]),C.useEffect(()=>{f.current=i},[i]),C.useEffect(()=>{if(!r||r.isDestroyed)return;const u=JSON.stringify(r.getJSON()),a=JSON.stringify(t||{type:"doc",content:[]});u!==a&&r.commands.setContent(t||{type:"doc",content:[]})},[r,t]),h.jsx(Ae.Provider,{value:{editor:r},children:d})}function Ft(t){const e=J.c(29),{disabled:n,virtualMcpId:s,showFileUploader:i,selectedModel:o,onUnsupportedFile:c,suggestionOpenRef:d,ref:p,className:w}=t,x=n===void 0?!1:n,f=i===void 0?!1:i,{editor:r}=Ee();let u,a;if(e[0]!==r?(u=()=>({focus:()=>{r?.commands.focus()},clear:()=>{r?.commands.clearContent(!0)},appendText:y=>{if(!r)return;const _=r.state.doc.textContent.trim()==="";r.commands.focus("end"),_||r.commands.insertContent(" "),r.commands.insertContent(y)},syncVoiceText:(y,_)=>{if(r&&(r.commands.setContent(y||{type:"doc",content:[]}),_)){r.commands.focus("end");const R=r.state.doc.textContent.trim().length>0;r.commands.insertContent({type:"text",text:R?" "+_:_})}},restoreContent:y=>{r&&r.commands.setContent(y||{type:"doc",content:[]})}}),a=[r],e[0]=r,e[1]=u,e[2]=a):(u=e[1],a=e[2]),C.useImperativeHandle(p??null,u,a),!r)return null;const k=x&&"cursor-not-allowed opacity-70",F=x&&"[&_.ProseMirror]:cursor-not-allowed";let S;e[3]!==w||e[4]!==k||e[5]!==F?(S=Se("overflow-y-auto relative flex-1 max-h-[164px] min-h-[20px] w-full flex flex-col",w,"[&_.ProseMirror]:outline-none [&_.ProseMirror]:min-h-[20px] [&_.ProseMirror]:flex-1","[&_.ProseMirror_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)]","[&_.ProseMirror_p.is-editor-empty:first-child::before]:text-muted-foreground","[&_.ProseMirror_p.is-editor-empty:first-child::before]:opacity-50","[&_.ProseMirror_p.is-editor-empty:first-child::before]:float-left","[&_.ProseMirror_p.is-editor-empty:first-child::before]:pointer-events-none","[&_.ProseMirror_p.is-editor-empty:first-child::before]:h-0","[&_.ProseMirror_p.is-editor-empty:first-child::before]:w-full","[&_.ProseMirror_p.is-editor-empty:first-child::before]:break-words",k,F),e[3]=w,e[4]=k,e[5]=F,e[6]=S):S=e[6];let b;e[7]!==r||e[8]!==S?(b=h.jsx(Oe,{editor:r,className:S}),e[7]=r,e[8]=S,e[9]=b):b=e[9];const D=s??null;let I;e[10]!==r||e[11]!==d||e[12]!==D?(I=h.jsx(C.Suspense,{fallback:null,children:h.jsx(at,{editor:r,virtualMcpId:D,suggestionOpenRef:d})}),e[10]=r,e[11]=d,e[12]=D,e[13]=I):I=e[13];const M=s??null;let v;e[14]!==r||e[15]!==d||e[16]!==M?(v=h.jsx(C.Suspense,{fallback:null,children:h.jsx(Ge,{editor:r,virtualMcpId:M,suggestionOpenRef:d})}),e[14]=r,e[15]=d,e[16]=M,e[17]=v):v=e[17];let l;e[18]!==x||e[19]!==r||e[20]!==c||e[21]!==o||e[22]!==f?(l=f&&o&&!x?h.jsx(We,{editor:r,selectedModel:o,onUnsupportedFile:c}):null,e[18]=x,e[19]=r,e[20]=c,e[21]=o,e[22]=f,e[23]=l):l=e[23];let m;return e[24]!==I||e[25]!==v||e[26]!==l||e[27]!==b?(m=h.jsxs(h.Fragment,{children:[b,I,v,l]}),e[24]=I,e[25]=v,e[26]=l,e[27]=b,e[28]=m):m=e[28],m}export{St as T,_t as U,Ft as a,Ve as p,Ct as u};