decocms 4.584.1 → 4.584.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 (428) hide show
  1. package/dist/client/assets/{AlertCircle-DQxZei1M.js → AlertCircle-DkHwL8J1.js} +1 -1
  2. package/dist/client/assets/{AreaChart-BpPDw3S2.js → AreaChart-CqQJ_jHe.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-BXhTMhZ6.js → ArrowLeft-DUdD3O1h.js} +1 -1
  4. package/dist/client/assets/{ArrowRight-BrCDap4m.js → ArrowRight-C-96aap_.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-DqYXEiS6.js → ArrowUp-M0Oty0ad.js} +1 -1
  6. package/dist/client/assets/{BookOpen01-BJOsJKWt.js → BookOpen01-CFfDgspV.js} +1 -1
  7. package/dist/client/assets/{CartesianChart-DovdkEKF.js → CartesianChart-CQVkEISE.js} +1 -1
  8. package/dist/client/assets/{CategoricalChart-g0ZOgFoY.js → CategoricalChart-BYqeYqCM.js} +1 -1
  9. package/dist/client/assets/{CheckCircle-BupieyS2.js → CheckCircle-BoW3-tYB.js} +1 -1
  10. package/dist/client/assets/{ChevronDown-rYBqLYZM.js → ChevronDown-Cgrp93vj.js} +1 -1
  11. package/dist/client/assets/{ChevronSelectorVertical-BRPtW72N.js → ChevronSelectorVertical-BQ5yoEQJ.js} +1 -1
  12. package/dist/client/assets/{ChevronUp-DH1sZis7.js → ChevronUp-CY-2sTeM.js} +1 -1
  13. package/dist/client/assets/{CreditCard01-jTESoJyl.js → CreditCard01-DQY5YZS3.js} +1 -1
  14. package/dist/client/assets/{Eye-CHPIJQjl.js → Eye-C0T4ax0j.js} +1 -1
  15. package/dist/client/assets/{File02-DTSJu4_M.js → File02-CqfeuTRH.js} +1 -1
  16. package/dist/client/assets/{Globe04-BBhKUFMP.js → Globe04-BxdmxA7w.js} +1 -1
  17. package/dist/client/assets/{Image01-DhuPGc9J.js → Image01-8Cd3kLQA.js} +1 -1
  18. package/dist/client/assets/{Key01-Cy6U3PPJ.js → Key01-Cn65SmhA.js} +1 -1
  19. package/dist/client/assets/{LayoutLeft-CQYXrSFJ.js → LayoutLeft-g2-0PX2O.js} +1 -1
  20. package/dist/client/assets/{LinkBroken01-C0qz4eZM.js → LinkBroken01-wvS8U8Go.js} +1 -1
  21. package/dist/client/assets/{Minimize01-B-w6jPRM.js → Minimize01-DHYXtZEK.js} +1 -1
  22. package/dist/client/assets/{Minus-CuVl5Nk4.js → Minus-B73boC9K.js} +1 -1
  23. package/dist/client/assets/{Monitor01-Du9j9yAH.js → Monitor01-DZG9Dy8l.js} +1 -1
  24. package/dist/client/assets/{Play-5POBzwun.js → Play-BWxPQkCn.js} +1 -1
  25. package/dist/client/assets/{Plus-BuHEMQHj.js → Plus-D0hw0S8O.js} +1 -1
  26. package/dist/client/assets/{ReferenceLine-CD2YCNYN.js → ReferenceLine-j-5fLGQ1.js} +1 -1
  27. package/dist/client/assets/{SearchMd-BvADjx7u.js → SearchMd-JJeVcqnt.js} +1 -1
  28. package/dist/client/assets/{ShoppingBag01-BX-lvdE7.js → ShoppingBag01-B7Xw3TZM.js} +1 -1
  29. package/dist/client/assets/{Sun-rTc-uCbQ.js → Sun-Jpz2VUT7.js} +1 -1
  30. package/dist/client/assets/{SwitchHorizontal01-CSYGFkCN.js → SwitchHorizontal01-B2d4sXSY.js} +1 -1
  31. package/dist/client/assets/{Tool01-e3-ebizX.js → Tool01-D-8rHPmt.js} +1 -1
  32. package/dist/client/assets/{Tooltip-DZsuCEaj.js → Tooltip-C6uaV9hI.js} +1 -1
  33. package/dist/client/assets/{Trash01-C4Y4RaH9.js → Trash01-L3G-m7_u.js} +1 -1
  34. package/dist/client/assets/{TrendUp01-BTeMqD6U.js → TrendUp01-xQ_Lovhx.js} +1 -1
  35. package/dist/client/assets/{Upload01-BwW7JFsg.js → Upload01-BlCadmu3.js} +1 -1
  36. package/dist/client/assets/{UserCheck01-BaEElAkP.js → UserCheck01-D2EW_Elf.js} +1 -1
  37. package/dist/client/assets/{UserSquare-Dyyof09V.js → UserSquare-CMsUnOC-.js} +1 -1
  38. package/dist/client/assets/{Users01-BnstW7gr.js → Users01-DwGImjV5.js} +1 -1
  39. package/dist/client/assets/{XClose-CtKN8GLR.js → XClose-CWYJ8AbV.js} +1 -1
  40. package/dist/client/assets/{Zap-DsBnYwKs.js → Zap-C155p2bP.js} +1 -1
  41. package/dist/client/assets/{access-gate-BntOlgl7.js → access-gate-BNP8OtH0.js} +1 -1
  42. package/dist/client/assets/{add-connection-dialog-59sWEK5_.js → add-connection-dialog-Cwmrq3R3.js} +1 -1
  43. package/dist/client/assets/agent-app-BxJH02hF.js +1 -0
  44. package/dist/client/assets/{agent-assets-CSBU0hid.js → agent-assets-DjNdZo4_.js} +1 -1
  45. package/dist/client/assets/{agent-automation-CxWAwCKQ.js → agent-automation-Dcq6n7G3.js} +1 -1
  46. package/dist/client/assets/{agent-automations-BiFwrTja.js → agent-automations-DVZbbOTO.js} +1 -1
  47. package/dist/client/assets/{agent-blog-CvqVSDQe.js → agent-blog-LLXH24Uv.js} +2 -2
  48. package/dist/client/assets/{agent-blog-post-CNmT-Bw1.js → agent-blog-post-n6g0XZqO.js} +2 -2
  49. package/dist/client/assets/{agent-calendar-Df2E5iU7.js → agent-calendar-DCdRbBWp.js} +1 -1
  50. package/dist/client/assets/{agent-capabilities-DL0Et1pz.js → agent-capabilities-CnmIubfU.js} +1 -1
  51. package/dist/client/assets/{agent-connect-sources-DjO3ELqr.js → agent-connect-sources-CXJtCmcY.js} +1 -1
  52. package/dist/client/assets/agent-deck-CFxj1PRZ.js +1 -0
  53. package/dist/client/assets/{agent-e2e-DPsBEkPw.js → agent-e2e-CBmY7TQM.js} +1 -1
  54. package/dist/client/assets/agent-experiments-BMArc9T_.js +1 -0
  55. package/dist/client/assets/agent-file-l_gDVK5w.js +1 -0
  56. package/dist/client/assets/{agent-hosting-N1yvJFNT.js → agent-hosting-CXUwAtCi.js} +1 -1
  57. package/dist/client/assets/{agent-icon-DKmZvJgZ.js → agent-icon-lbRSQKRr.js} +1 -1
  58. package/dist/client/assets/agent-library-CzDyRFxC.js +1 -0
  59. package/dist/client/assets/agent-library-file-BFgS5tYK.js +1 -0
  60. package/dist/client/assets/agent-overview-CxfXbzjD.js +1 -0
  61. package/dist/client/assets/{agent-releases-CTHfLMQR.js → agent-releases-CCRvBzEc.js} +1 -1
  62. package/dist/client/assets/agent-settings-Bj6cb1Jx.js +1 -0
  63. package/dist/client/assets/agent-site-editor-code-C3R-NyjY.js +2 -0
  64. package/dist/client/assets/agent-site-editor-content-AQyserB2.js +1 -0
  65. package/dist/client/assets/agent-site-editor-preview-Bh42CzpT.js +1 -0
  66. package/dist/client/assets/{agent-site-editor-cTApO8_e.js → agent-site-editor-yd71XZG2.js} +1 -1
  67. package/dist/client/assets/agent-view-DBr8QkSV.js +1 -0
  68. package/dist/client/assets/{agent-view-guard-BhYsk1BZ.js → agent-view-guard-Bf6REgtC.js} +1 -1
  69. package/dist/client/assets/{ai-providers-Do3U2ueK.js → ai-providers-D_Uo1RgZ.js} +1 -1
  70. package/dist/client/assets/{alert-1FQypqKU.js → alert-PofKmjfr.js} +1 -1
  71. package/dist/client/assets/{analytics-sections-6shIIY_9.js → analytics-sections-BU55AVXg.js} +1 -1
  72. package/dist/client/assets/api-keys-C1h4ufxJ.js +1 -0
  73. package/dist/client/assets/{api-keys-CLle76fE.js → api-keys-v_05m9r5.js} +1 -1
  74. package/dist/client/assets/{app-editor-LFvS-D7P.js → app-editor-BYqt23l3.js} +1 -1
  75. package/dist/client/assets/{asset-utils-C17ggG12.js → asset-utils-X6F2xGVM.js} +1 -1
  76. package/dist/client/assets/{auth-DM_x_MzR.js → auth-DXP0BI6D.js} +1 -1
  77. package/dist/client/assets/{auth-catchall-BPafoRCP.js → auth-catchall-_wrDu745.js} +1 -1
  78. package/dist/client/assets/{auth-entry-DpZohCSe.js → auth-entry-Cqoib9bi.js} +1 -1
  79. package/dist/client/assets/{auth-split-layout-TV_ZF3vV.js → auth-split-layout-DV86NPs6.js} +1 -1
  80. package/dist/client/assets/{authenticate-and-persist-oauth-BB_emyV8.js → authenticate-and-persist-oauth-BwpowUw2.js} +1 -1
  81. package/dist/client/assets/{automation-list-row-CSZy0P8y.js → automation-list-row-C5ZCWUST.js} +1 -1
  82. package/dist/client/assets/{automation-runs-Dwd63wnZ.js → automation-runs-DVTf5GuI.js} +1 -1
  83. package/dist/client/assets/{automations-BneDlBwJ.js → automations-Bk7_NxA3.js} +1 -1
  84. package/dist/client/assets/{badge-C4UVwcna.js → badge-DrzcoZwC.js} +1 -1
  85. package/dist/client/assets/{block-document--vYZqLkK.js → block-document-B3KEauhh.js} +1 -1
  86. package/dist/client/assets/{blocks-preview-workspace-context-CICZXJZV.js → blocks-preview-workspace-context-CEfS8u2W.js} +1 -1
  87. package/dist/client/assets/{blocks-tab-states-Cd3JWT_-.js → blocks-tab-states-eAnMaZy5.js} +1 -1
  88. package/dist/client/assets/{blog-preview-url-Ba2xc55V.js → blog-preview-url-Cb_fruiT.js} +1 -1
  89. package/dist/client/assets/{blog-schema-B4mnHHT1.js → blog-schema-BsEJHIA-.js} +1 -1
  90. package/dist/client/assets/{blog-source-gate-CJ7ECLCv.js → blog-source-gate-BfuFZRkH.js} +1 -1
  91. package/dist/client/assets/{blog-view-gate-8-5UD9Vy.js → blog-view-gate-CSnZq3JQ.js} +1 -1
  92. package/dist/client/assets/{buckets-Cbg1Gz3J.js → buckets-CK4KzNcr.js} +1 -1
  93. package/dist/client/assets/{build-improve-prompt-doc-C11pf2M8.js → build-improve-prompt-doc-DWAA6feU.js} +1 -1
  94. package/dist/client/assets/{calendar-CJeS1cU0.js → calendar-BuJZ_OpN.js} +1 -1
  95. package/dist/client/assets/{capability-load-error-DJnu-VAt.js → capability-load-error-CaAhbUrk.js} +1 -1
  96. package/dist/client/assets/{category-editor-DYKgEga_.js → category-editor-D6LhDDkP.js} +1 -1
  97. package/dist/client/assets/{category-tree-DMad1kgd.js → category-tree-DnC5Xza2.js} +1 -1
  98. package/dist/client/assets/{chart-DFW5rTOU.js → chart-D_ubEwrG.js} +1 -1
  99. package/dist/client/assets/{chat-context-BNZ_9-8I.js → chat-context-BZCgTb_I.js} +1 -1
  100. package/dist/client/assets/{chat-draft-D-mbDU5V.js → chat-draft-CJFLb9Mj.js} +1 -1
  101. package/dist/client/assets/{checkbox-BhkoX8Ty.js → checkbox-Cd8xyzDb.js} +1 -1
  102. package/dist/client/assets/{choose-editor-PSR-AhBm.js → choose-editor-FunavWxL.js} +1 -1
  103. package/dist/client/assets/{cli-auth-success-iqwwPoIK.js → cli-auth-success-wg0sDdwR.js} +1 -1
  104. package/dist/client/assets/{cms-settings-editor-CODxJGge.js → cms-settings-editor-ftnCzt6n.js} +1 -1
  105. package/dist/client/assets/{cms-store-drafts-DbB0rL_p.js → cms-store-drafts-BMv0dQxC.js} +1 -1
  106. package/dist/client/assets/{collapsible-2JPp4iG8.js → collapsible-BZgS4z1I.js} +1 -1
  107. package/dist/client/assets/{collection-detail-DDg39GUv.js → collection-detail-DBgOOn_S.js} +1 -1
  108. package/dist/client/assets/{collection-display-button-a-kxAH9S.js → collection-display-button-D7jl1-Xf.js} +1 -1
  109. package/dist/client/assets/{collection-search-BKN9EjWI.js → collection-search-B817v3tJ.js} +1 -1
  110. package/dist/client/assets/{collection-table-wrapper-BTsJY-2Y.js → collection-table-wrapper-DsuqOatw.js} +1 -1
  111. package/dist/client/assets/{collection-tabs-BByE0AF2.js → collection-tabs-DdHkmkp2.js} +1 -1
  112. package/dist/client/assets/{combobox-D-AE0za3.js → combobox-CJZiIB2Z.js} +1 -1
  113. package/dist/client/assets/{command-1rGUkJU6.js → command-CYNVyZbO.js} +1 -1
  114. package/dist/client/assets/{companion-mcps-section-C0SBN__q.js → companion-mcps-section-Bt6WfeHQ.js} +1 -1
  115. package/dist/client/assets/{config-ySNx5jY7.js → config-C8wUMmyi.js} +1 -1
  116. package/dist/client/assets/{connect-dcudJGkR.js → connect-BAVqbq1G.js} +1 -1
  117. package/dist/client/assets/{connect-key-BdMAsXh0.js → connect-key-CIVlEro2.js} +1 -1
  118. package/dist/client/assets/{connect-layout-DzBvWaNS.js → connect-layout-auJRtfdC.js} +1 -1
  119. package/dist/client/assets/{connect-source-dialog-BxAaaWS9.js → connect-source-dialog-KSJGh1Sl.js} +1 -1
  120. package/dist/client/assets/{connection-B1w9XeEb.js → connection-DKL8hGZk.js} +1 -1
  121. package/dist/client/assets/{connection-card-ozwXxBsz.js → connection-card-CgkIR0Yz.js} +1 -1
  122. package/dist/client/assets/{connection-detail-C4zRa_cO.js → connection-detail-BeGUIlFK.js} +1 -1
  123. package/dist/client/assets/{connection-form-helpers-B6__xS0A.js → connection-form-helpers-DglXKsDe.js} +1 -1
  124. package/dist/client/assets/{connection-slug-C95YanvL.js → connection-slug-DgbcRUso.js} +1 -1
  125. package/dist/client/assets/{connections-NomfYn_t.js → connections-BM3Vx6MT.js} +1 -1
  126. package/dist/client/assets/{content-tab-BvcDl2gQ.js → content-tab-BFFdA5v6.js} +3 -3
  127. package/dist/client/assets/{context-Cvc8fgay.js → context-DBfBTDUj.js} +1 -1
  128. package/dist/client/assets/{context-menu-DBCh223t.js → context-menu-r8q6W3Vd.js} +1 -1
  129. package/dist/client/assets/{context-shell-CAxUAqQN.js → context-shell-C5Sv2Vfh.js} +3 -3
  130. package/dist/client/assets/{create-organization-dialog-WzOR16k9.js → create-organization-dialog-DeDVxi2S.js} +1 -1
  131. package/dist/client/assets/{daily-pulse-9WDMhYxD.js → daily-pulse-Bnk3FMPf.js} +1 -1
  132. package/dist/client/assets/{delete-copy-B4_SCbWy.js → delete-copy-BG2c9FAH.js} +1 -1
  133. package/dist/client/assets/{device-hint-B8guedWJ.js → device-hint-FTmZTvjb.js} +1 -1
  134. package/dist/client/assets/{discover-CBb9-mOO.js → discover-BjFcb1Nd.js} +1 -1
  135. package/dist/client/assets/{domain-settings-8msdYCkg.js → domain-settings-gzHiimD8.js} +1 -1
  136. package/dist/client/assets/{drawer-CN3NEJqY.js → drawer-DEXSNHC1.js} +1 -1
  137. package/dist/client/assets/{editor-BIhlI60e.js → editor-C42px5GX.js} +1 -1
  138. package/dist/client/assets/{editor-classes-CPgVKg5X.js → editor-classes-CH0-XTN2.js} +1 -1
  139. package/dist/client/assets/{empty-message-CTz0j9ie.js → empty-message-DR5P4mUA.js} +1 -1
  140. package/dist/client/assets/{empty-state-3xiekdCM.js → empty-state-DWlXCulm.js} +1 -1
  141. package/dist/client/assets/{empty-state-myFrB_Ip.js → empty-state-QEbc1xkD.js} +1 -1
  142. package/dist/client/assets/{experiments-tab-choice-2CS-Zgr0.js → experiments-tab-choice-CDYr4cN0.js} +1 -1
  143. package/dist/client/assets/{extract-connection-data-BPRLQOFh.js → extract-connection-data-Dn38BGyb.js} +1 -1
  144. package/dist/client/assets/{feature-gate-BuF8FtOJ.js → feature-gate-B3RdVNU6.js} +1 -1
  145. package/dist/client/assets/{feature-paywall-DYmmeBz6.js → feature-paywall-C6kx3CwL.js} +1 -1
  146. package/dist/client/assets/{file-explorer-o1fJE87z.js → file-explorer-BVdrWVar.js} +1 -1
  147. package/dist/client/assets/{file-preview-BxRBK5s6.js → file-preview-C9hbZ2X-.js} +1 -1
  148. package/dist/client/assets/{file-share-button-C8YeuQFC.js → file-share-button-BAAEwJkT.js} +1 -1
  149. package/dist/client/assets/{file-type-icon-DO8X7oBj.js → file-type-icon-DuPf-PNe.js} +1 -1
  150. package/dist/client/assets/{folder-icon-BER7BhBb.js → folder-icon-5ZBzBjm2.js} +1 -1
  151. package/dist/client/assets/{form-CdBjJq5W.js → form-14ZcPjXe.js} +1 -1
  152. package/dist/client/assets/{frame-navigation-D3UfnhDI.js → frame-navigation-D_WZF0Hs.js} +1 -1
  153. package/dist/client/assets/{gateway-client-CqrPq2Zk.js → gateway-client-DdE8Hgae.js} +1 -1
  154. package/dist/client/assets/{general-DubsWx1F.js → general-B5q5w2vv.js} +1 -1
  155. package/dist/client/assets/{github-icon-BzIHSx26.js → github-icon-CyiD2Iik.js} +1 -1
  156. package/dist/client/assets/{held-block-view-CyRccyrh.js → held-block-view-BdCI62ev.js} +1 -1
  157. package/dist/client/assets/{home-kU7uY0wN.js → home-BxH-WIVf.js} +1 -1
  158. package/dist/client/assets/{home-overview-CVeVpH2f.js → home-overview-eWJ4ScQm.js} +1 -1
  159. package/dist/client/assets/{hosted-reconcile-CfjfxtVx.js → hosted-reconcile-G96-wVBG.js} +1 -1
  160. package/dist/client/assets/{icon-button-ue-T-dgY.js → icon-button-BcSeIlmN.js} +1 -1
  161. package/dist/client/assets/{index-DLuam-oO.js → index-7zGhlT8r.js} +3 -3
  162. package/dist/client/assets/{index-DFWNckdo.js → index-B--5J1r2.js} +1 -1
  163. package/dist/client/assets/{index-DBvbzGen.js → index-B7KfGe6i.js} +1 -1
  164. package/dist/client/assets/{index-MxDefvFp.js → index-B9KgggsM.js} +1 -1
  165. package/dist/client/assets/{index-CJfrwB-R.js → index-BWsIL1KW.js} +1 -1
  166. package/dist/client/assets/{index-CV1w3jjI.js → index-BkSYM2mK.js} +1 -1
  167. package/dist/client/assets/{index-CKb3YsIm.js → index-C8R3c8YZ.js} +1 -1
  168. package/dist/client/assets/{index-DVG3DDnP.js → index-CEjnpfFV.js} +1 -1
  169. package/dist/client/assets/{index-DuLSpVbY.js → index-CM55ixAR.js} +1 -1
  170. package/dist/client/assets/{index-CTrggIhe.js → index-CZAKlZBr.js} +1 -1
  171. package/dist/client/assets/{index-DK0mPK-c.js → index-Cg0U1XrX.js} +1 -1
  172. package/dist/client/assets/{index-DSnXPPOf.js → index-CsRgsybh.js} +1 -1
  173. package/dist/client/assets/{index-BAOf8r3P.js → index-D7wefbkZ.js} +1 -1
  174. package/dist/client/assets/{index-BpLMoHof.js → index-DO569FOD.js} +1 -1
  175. package/dist/client/assets/{index-DKfNWn49.js → index-Dpa0nN_7.js} +1 -1
  176. package/dist/client/assets/{index-BqtN0tVI.js → index-Ffi6YsHl.js} +1 -1
  177. package/dist/client/assets/{index-redirect-DjZ-Sa8w.js → index-redirect-SWoSlMJB.js} +1 -1
  178. package/dist/client/assets/{index-D0nLrq64.js → index-y_pWAPzu.js} +1 -1
  179. package/dist/client/assets/{infiniteQueryObserver-DmwMo8IW.js → infiniteQueryObserver-CEKfthGG.js} +1 -1
  180. package/dist/client/assets/{infra-billing-tL7M-OYS.js → infra-billing-CpYIBFZs.js} +1 -1
  181. package/dist/client/assets/{input-CleFKoms.js → input-DqVQ7h1O.js} +1 -1
  182. package/dist/client/assets/{input-BmLmPqN8.js → input-Dqol4hii.js} +3 -3
  183. package/dist/client/assets/{integration-icon-DNMl6-J4.js → integration-icon-DFIVBhS2.js} +1 -1
  184. package/dist/client/assets/{item-actions-Dx1AQzgR.js → item-actions-Cp7fOSBk.js} +1 -1
  185. package/dist/client/assets/{jira-icon-Daus-Qh_.js → jira-icon-C-_-8N-R.js} +1 -1
  186. package/dist/client/assets/{label-B40B-mb1.js → label-6adXwSZa.js} +1 -1
  187. package/dist/client/assets/{layout-BdcpXWG7.js → layout-CHn337bp.js} +1 -1
  188. package/dist/client/assets/{legacy-admin-welcome-dialog-Dty139TN.js → legacy-admin-welcome-dialog-B_q7kUN3.js} +1 -1
  189. package/dist/client/assets/{legacy-agents-deep-Dzc7RIdK.js → legacy-agents-deep-D67b0iWR.js} +1 -1
  190. package/dist/client/assets/{legacy-main-redirect-0mpfN8mn.js → legacy-main-redirect-DDTJLl9s.js} +1 -1
  191. package/dist/client/assets/library-pWEfrpRp.js +1 -0
  192. package/dist/client/assets/{library-tab-BQGS1hg4.js → library-tab-BcgSCSjV.js} +1 -1
  193. package/dist/client/assets/{login-fewT-eGQ.js → login-DBTnYQPw.js} +1 -1
  194. package/dist/client/assets/{markdown-DIZTLySz.js → markdown-CTL4sdx2.js} +1 -1
  195. package/dist/client/assets/{mcp-app-renderer-BxY6mRCw.js → mcp-app-renderer-C6Co8dzn.js} +1 -1
  196. package/dist/client/assets/{mcp-oauth-DPpUVCIn.js → mcp-oauth-B53WQBO5.js} +1 -1
  197. package/dist/client/assets/{mcp-oauth-CYwT_ghl.js → mcp-oauth-B_3SxbLi.js} +1 -1
  198. package/dist/client/assets/{members-B50nL28U.js → members-D7AvGTKs.js} +1 -1
  199. package/dist/client/assets/{memory-DFivCTx1.js → memory-BRgCdcRl.js} +1 -1
  200. package/dist/client/assets/{mock-board-DSINFAen.js → mock-board-CDET5jsd.js} +3 -3
  201. package/dist/client/assets/{monaco-editor-UA1YjU4h.js → monaco-editor-B2XLiorm.js} +1 -1
  202. package/dist/client/assets/{monitoring-BK7wCv-P.js → monitoring-A51RIdP9.js} +2 -2
  203. package/dist/client/assets/{monitoring-stats-row-Brhc7V-D.js → monitoring-stats-row-14JdR3ss.js} +1 -1
  204. package/dist/client/assets/{multi-select-BIcoAJyN.js → multi-select-gxfwFoFX.js} +1 -1
  205. package/dist/client/assets/{mustache-CiKDfLgV.js → mustache-D95ItWPR.js} +1 -1
  206. package/dist/client/assets/{named-rule-step-5FH6L5dL.js → named-rule-step-DCPjI8tu.js} +1 -1
  207. package/dist/client/assets/{named-rule-view-DngGXZwe.js → named-rule-view-OvRHWdFm.js} +1 -1
  208. package/dist/client/assets/{new-project-dialog-CJFHxf5_.js → new-project-dialog-Cf-zLQZ_.js} +1 -1
  209. package/dist/client/assets/{new-project-store-BXbDjmer.js → new-project-store-bT4UmoJb.js} +1 -1
  210. package/dist/client/assets/{oauth-callback-jqZo425q.js → oauth-callback-UBNLncxp.js} +1 -1
  211. package/dist/client/assets/{oauth-callback-ai-provider-U5G79VLu.js → oauth-callback-ai-provider-Doja709C.js} +1 -1
  212. package/dist/client/assets/{oauth-consent-39y0iaMU.js → oauth-consent-BSYJT7RI.js} +1 -1
  213. package/dist/client/assets/{onboarding-DWLBD5ut.js → onboarding-Bylk5E9x.js} +1 -1
  214. package/dist/client/assets/{openai-conversation-DpZUzyhJ.js → openai-conversation-DGzSKPwh.js} +1 -1
  215. package/dist/client/assets/{optimistic-project-sidebar-views-CTVuJVPD.js → optimistic-project-sidebar-views-CstvPoAW.js} +1 -1
  216. package/dist/client/assets/{order-monitor-day-dpkjc8ij.js → order-monitor-day-DLxiI7BZ.js} +1 -1
  217. package/dist/client/assets/{organization-choice-D5AXEApQ.js → organization-choice-EOwWGeA5.js} +1 -1
  218. package/dist/client/assets/{orgs-loxqaAZ4.js → orgs-gbmKxRt6.js} +1 -1
  219. package/dist/client/assets/{own-accounts-section-BheLkLhk.js → own-accounts-section-DZFYn2_4.js} +1 -1
  220. package/dist/client/assets/{pair-Cd9OPgUF.js → pair-Dj9jprhR.js} +1 -1
  221. package/dist/client/assets/{parse-sections-Ddd3WX1b.js → parse-sections-C3LoVE7G.js} +2 -2
  222. package/dist/client/assets/{plan-057NyNVI.js → plan-IHm2Xano.js} +1 -1
  223. package/dist/client/assets/{plan-ladder-Dtd21Pl6.js → plan-ladder-8e0e7xt0.js} +1 -1
  224. package/dist/client/assets/{plan-usage-card-jrtY0QJl.js → plan-usage-card-FehD9CYa.js} +1 -1
  225. package/dist/client/assets/{popover-DWDvG2sJ.js → popover-Cn8F-2id.js} +1 -1
  226. package/dist/client/assets/{post-calendar-Bu09DnPi.js → post-calendar-l3sKcyyr.js} +1 -1
  227. package/dist/client/assets/{post-editor-BDNaaN9x.js → post-editor-UFLVvSpG.js} +1 -1
  228. package/dist/client/assets/{preview-content-CtnZUPEs.js → preview-content-mIztqkm_.js} +1 -1
  229. package/dist/client/assets/{preview-dialog-DdxdDV82.js → preview-dialog-Dmbc5qqb.js} +1 -1
  230. package/dist/client/assets/{preview-panel-ixPYwT5r.js → preview-panel-BAoMc-SU.js} +1 -1
  231. package/dist/client/assets/{preview-tab-Cm_klhH-.js → preview-tab-Cw-sa1Lc.js} +3 -3
  232. package/dist/client/assets/{product-picker-dialog-BAGp-pzM.js → product-picker-dialog-CWtZ08kV.js} +1 -1
  233. package/dist/client/assets/{profile-BPxHpR5D.js → profile-C5WzRSSb.js} +1 -1
  234. package/dist/client/assets/{project-app-view-CdRO1n9x.js → project-app-view-D1zpDl5r.js} +1 -1
  235. package/dist/client/assets/{project-apps-DjfXES5v.js → project-apps-AoKulVqs.js} +1 -1
  236. package/dist/client/assets/{project-icon-CySwwEU9.js → project-icon-DXEYPK6k.js} +1 -1
  237. package/dist/client/assets/{project-index-1ZydFeWl.js → project-index-Dth0KuML.js} +1 -1
  238. package/dist/client/assets/project-reports-v9_oHSWV.js +1 -0
  239. package/dist/client/assets/project-tasks-1jDLeAkv.js +1 -0
  240. package/dist/client/assets/{projects-He1mlmS7.js → projects-B2kmIr27.js} +1 -1
  241. package/dist/client/assets/{projects-empty-state-ADXUwUj7.js → projects-empty-state-DUiQECfr.js} +1 -1
  242. package/dist/client/assets/{prompts-DK1e5czf.js → prompts-BXrutyeC.js} +1 -1
  243. package/dist/client/assets/record-editor-SD1slkhf.js +1 -0
  244. package/dist/client/assets/{redirect-editor-IDqQ8xFk.js → redirect-editor-qF81S-3t.js} +1 -1
  245. package/dist/client/assets/{reports-lYJ13Oyh.js → reports-C2tqIi3r.js} +1 -1
  246. package/dist/client/assets/reports-CJBF-Cx9.js +1 -0
  247. package/dist/client/assets/{reports-onboarding-DaousQwr.js → reports-onboarding-CemSxMxL.js} +1 -1
  248. package/dist/client/assets/{reports-tab-by1j2nl6.js → reports-tab-CnjX4JEm.js} +2 -2
  249. package/dist/client/assets/repositories-C2V_QKg8.js +1 -0
  250. package/dist/client/assets/{repositories-BrfAbLdn.js → repositories-CivRTT2C.js} +1 -1
  251. package/dist/client/assets/{repository-binding-BnP0NJWu.js → repository-binding-djJO-C6X.js} +1 -1
  252. package/dist/client/assets/{repository-picker-vBJtxDaP.js → repository-picker-BsD4BAF1.js} +1 -1
  253. package/dist/client/assets/{require-capability-Cr8WvkbM.js → require-capability-BVAL35yg.js} +1 -1
  254. package/dist/client/assets/{required-auth-layout-DEnKlG9k.js → required-auth-layout-B9DPc7yf.js} +1 -1
  255. package/dist/client/assets/{reset-password-G1XaV8Dd.js → reset-password-8RJoIK4l.js} +1 -1
  256. package/dist/client/assets/{resizable-D8QP7rfi.js → resizable-CB2m-mU0.js} +1 -1
  257. package/dist/client/assets/{resolve-tab-icon-DcSz8B7S.js → resolve-tab-icon-DVzuN81G.js} +1 -1
  258. package/dist/client/assets/{review-settings-CgzfxoaC.js → review-settings-B1Qs05Wf.js} +1 -1
  259. package/dist/client/assets/{role-color-C69WmCOL.js → role-color-BAVNr0ON.js} +1 -1
  260. package/dist/client/assets/{roles-BGI2Y25_.js → roles-BNJbGE6C.js} +1 -1
  261. package/dist/client/assets/{route-BjSwEarg.js → route-BJ2Mac_y.js} +1 -1
  262. package/dist/client/assets/route-ECZ9GGKn.js +1 -0
  263. package/dist/client/assets/{route-B4TcTxp_.js → route-a-CZUgop.js} +1 -1
  264. package/dist/client/assets/{route-page-header-D5mciaLz.js → route-page-header-H5YK34EZ.js} +1 -1
  265. package/dist/client/assets/{sandbox-git-api-BsZqakhs.js → sandbox-git-api-BvrXQqNA.js} +1 -1
  266. package/dist/client/assets/{sandbox-lifecycle-context-CabivZ0G.js → sandbox-lifecycle-context-DVuPgDFg.js} +1 -1
  267. package/dist/client/assets/{save-status-Bt5jCay9.js → save-status-DAxhQuZS.js} +1 -1
  268. package/dist/client/assets/{schema-3tzQDCWP.js → schema-BLHIxDld.js} +1 -1
  269. package/dist/client/assets/{schema-BM6o7q66.js → schema-hiyr_sLU.js} +1 -1
  270. package/dist/client/assets/{scroll-area-CltAMX3V.js → scroll-area-DbM-AL9l.js} +1 -1
  271. package/dist/client/assets/{search-input-CyDCJavO.js → search-input-6mfg7ug5.js} +1 -1
  272. package/dist/client/assets/{search-toggle-uNgvu336.js → search-toggle-DJr8IQ4N.js} +1 -1
  273. package/dist/client/assets/{secret-picker-C8eTSOuG.js → secret-picker-TJh1jmxx.js} +1 -1
  274. package/dist/client/assets/{secrets-Bj8129eI.js → secrets-BaauDIpm.js} +1 -1
  275. package/dist/client/assets/{section-array-field-CbwaMhTt.js → section-array-field-CkVoRheS.js} +1 -1
  276. package/dist/client/assets/{sections-BW9uhCQa.js → sections-BXQUxCNo.js} +1 -1
  277. package/dist/client/assets/{sections-editor-DMAnP9ts.js → sections-editor-BABMOqMu.js} +1 -1
  278. package/dist/client/assets/{select-IOXOk3Ja.js → select-B8N58NFv.js} +1 -1
  279. package/dist/client/assets/{select-model-DSJLMb4j.js → select-model-Dhr_ZL06.js} +1 -1
  280. package/dist/client/assets/{seo-editor-CBuQjDAN.js → seo-editor-BqLHV65p.js} +1 -1
  281. package/dist/client/assets/{separator-CKPY3Jny.js → separator-CfUu5XHI.js} +1 -1
  282. package/dist/client/assets/{session-runtime-AXnCtlIf.js → session-runtime-C1YpKp6Z.js} +1 -1
  283. package/dist/client/assets/settings-tab-DCpadV5R.js +1 -0
  284. package/dist/client/assets/{sheet-C7jRkpDc.js → sheet-BiTxH0Dd.js} +1 -1
  285. package/dist/client/assets/{shell-layout-MV3x6XdO.js → shell-layout-Duq0Xa8U.js} +1 -1
  286. package/dist/client/assets/{site-draft-actions-Cs2K4nbV.js → site-draft-actions-Dt1nmoC7.js} +1 -1
  287. package/dist/client/assets/{site-draft-view-BORE1dgv.js → site-draft-view-D_fSWwLE.js} +1 -1
  288. package/dist/client/assets/site-editor-DIWbyMzv.js +1 -0
  289. package/dist/client/assets/{site-editor-toast-Btsx5baB.js → site-editor-toast-DgVI2k0O.js} +1 -1
  290. package/dist/client/assets/{skills-Gl5GY5F7.js → skills-Cy2k48AC.js} +1 -1
  291. package/dist/client/assets/{slider-Z3uc-J_e.js → slider-BISXtABo.js} +1 -1
  292. package/dist/client/assets/{sortable.esm-BsRtZMdI.js → sortable.esm-DdNzXeUL.js} +1 -1
  293. package/dist/client/assets/{sso-CBda3voX.js → sso-DGW3qNdu.js} +1 -1
  294. package/dist/client/assets/{suggestion-DOa2is9l.js → suggestion-CG3s6_aY.js} +1 -1
  295. package/dist/client/assets/{super-agent-icon-BQSqMktN.js → super-agent-icon-16dgZUQ6.js} +1 -1
  296. package/dist/client/assets/{switch-DSmB9qdd.js → switch-BzXoCpZ5.js} +1 -1
  297. package/dist/client/assets/{synced-repos-uAwFax5M.js → synced-repos-65XJJcE_.js} +1 -1
  298. package/dist/client/assets/{tab-icon-glyph-DrbVFRqR.js → tab-icon-glyph-CUaZezyN.js} +1 -1
  299. package/dist/client/assets/{table-CulA5cEm.js → table-D3uwpvCo.js} +1 -1
  300. package/dist/client/assets/{tabs-Bl2CDwVl.js → tabs-cyjxgUUN.js} +1 -1
  301. package/dist/client/assets/{task-board-BgNefmZ8.js → task-board-DzRumLNt.js} +1 -1
  302. package/dist/client/assets/{task-key-BTXsrkSp.js → task-key-Bxtvsh0V.js} +1 -1
  303. package/dist/client/assets/{task-route-DF_PNMho.js → task-route-BhRoqmHY.js} +1 -1
  304. package/dist/client/assets/{task-status-B0c9osDw.js → task-status-BbljIvbf.js} +1 -1
  305. package/dist/client/assets/{taskboard-analytics-BxKSmses.js → taskboard-analytics-BUO3f4M0.js} +1 -1
  306. package/dist/client/assets/{tasks-f3FLHitr.js → tasks-DupamzYt.js} +1 -1
  307. package/dist/client/assets/tasks-g9n99WNk.js +1 -0
  308. package/dist/client/assets/{textarea-C4626nq7.js → textarea-BG9F8tOD.js} +1 -1
  309. package/dist/client/assets/{thread-analytics-BKF7OuH8.js → thread-analytics-CilZLnJD.js} +1 -1
  310. package/dist/client/assets/{thread-button-B9KUEqWE.js → thread-button-BCIujk1d.js} +1 -1
  311. package/dist/client/assets/{thread-intent-CMXI4-Qn.js → thread-intent-Bb4U5yQQ.js} +1 -1
  312. package/dist/client/assets/{thread-route-CJ7vAn39.js → thread-route-C55w1baF.js} +1 -1
  313. package/dist/client/assets/{thread-route-BF3m0AEN.js → thread-route-JxTLM2rp.js} +1 -1
  314. package/dist/client/assets/{thread-sheet-body-BH7bDMNO.js → thread-sheet-body-C-_jljH_.js} +1 -1
  315. package/dist/client/assets/{time-range-picker-TDPR9tPD.js → time-range-picker-CFXafk3N.js} +1 -1
  316. package/dist/client/assets/{toggle-group-PrSAkfEN.js → toggle-group-YpdNMPPd.js} +1 -1
  317. package/dist/client/assets/{tool-set-selector-UU50iLeq.js → tool-set-selector-VdmqTpl9.js} +1 -1
  318. package/dist/client/assets/{toolbar-icon-button-D16G27u4.js → toolbar-icon-button-CzSz4v_E.js} +1 -1
  319. package/dist/client/assets/{tooltip-CDlpUz6Q.js → tooltip-BfPZsPnN.js} +1 -1
  320. package/dist/client/assets/{tooltipContext-jGLnEmc0.js → tooltipContext-B2N57NJF.js} +1 -1
  321. package/dist/client/assets/{track-C9ncInZ1.js → track-DZKSO5QB.js} +1 -1
  322. package/dist/client/assets/{types-NGYefc4q.js → types-WxQSc-9D.js} +1 -1
  323. package/dist/client/assets/{url-slug-D4QdPt75.js → url-slug-38rmcKZy.js} +1 -1
  324. package/dist/client/assets/{usage-stats-BoGlEdlD.js → usage-stats-NRcbm3e5.js} +1 -1
  325. package/dist/client/assets/{use-ai-providers-BR6hIwAY.js → use-ai-providers-wkmM0nDR.js} +1 -1
  326. package/dist/client/assets/{use-api-keys-BswXTYVi.js → use-api-keys-CZ1rjtWp.js} +1 -1
  327. package/dist/client/assets/{use-apply-named-rule-Bs9HuiLY.js → use-apply-named-rule-DGa6vp8G.js} +1 -1
  328. package/dist/client/assets/use-ask-in-chat-BujQyStK.js +1 -0
  329. package/dist/client/assets/{use-automations-kWiY5yEx.js → use-automations-BJeGx_lB.js} +1 -1
  330. package/dist/client/assets/{use-autosave-DWxLArrt.js → use-autosave-C_PE2ads.js} +1 -1
  331. package/dist/client/assets/use-blocks-v8-project-CGr__fvY.js +1 -0
  332. package/dist/client/assets/use-blog-view-Du5CuuHc.js +1 -0
  333. package/dist/client/assets/{use-chat-layout-state-Rd9RKrqE.js → use-chat-layout-state-Cq5Tmm_K.js} +1 -1
  334. package/dist/client/assets/{use-cms-publish-actions-BURhmTo2.js → use-cms-publish-actions-Db9gbmph.js} +1 -1
  335. package/dist/client/assets/{use-connect-companion-C7oXoVon.js → use-connect-companion-C8pnTEHb.js} +1 -1
  336. package/dist/client/assets/{use-connection-stybxl69.js → use-connection-BkSWGbNf.js} +1 -1
  337. package/dist/client/assets/{use-content-sync-DOJ-d6ui.js → use-content-sync-CzsTDfef.js} +1 -1
  338. package/dist/client/assets/{use-copy-DyvoSaWK.js → use-copy-D029JLSS.js} +1 -1
  339. package/dist/client/assets/{use-current-view-DYsOXIAq.js → use-current-view-BfodK9gG.js} +1 -1
  340. package/dist/client/assets/{use-date-fns-locale-Lfy9W6k7.js → use-date-fns-locale-DycfSwk3.js} +1 -1
  341. package/dist/client/assets/{use-debounced-autosave-D-vOeZW7.js → use-debounced-autosave-Dy8jra8N.js} +1 -1
  342. package/dist/client/assets/{use-debounced-value-nMm2S7EZ.js → use-debounced-value-DZc1zf0Z.js} +1 -1
  343. package/dist/client/assets/{use-deco-credits-DBi73j00.js → use-deco-credits-ChK5XwL3.js} +1 -1
  344. package/dist/client/assets/{use-decopilot-events-Eq5Di3tt.js → use-decopilot-events-Co2HuPK6.js} +1 -1
  345. package/dist/client/assets/{use-delete-block-CQsMvlR4.js → use-delete-block-DjHkDeDL.js} +1 -1
  346. package/dist/client/assets/{use-delete-connection-DX3VcYoy.js → use-delete-connection-C2zKLW69.js} +1 -1
  347. package/dist/client/assets/{use-deployment-admin-B8eJaq0l.js → use-deployment-admin-DiCadhp3.js} +1 -1
  348. package/dist/client/assets/{use-entitlements-q1JiSGnY.js → use-entitlements-D64xTxJC.js} +1 -1
  349. package/dist/client/assets/{use-fast-preview-draft-url-CZJSDWBz.js → use-fast-preview-draft-url-BCCy37Z0.js} +1 -1
  350. package/dist/client/assets/{use-file-configs-BwDtz-SL.js → use-file-configs-MD9huX3e.js} +1 -1
  351. package/dist/client/assets/{use-id-selection-B5uuKs_6.js → use-id-selection-BInUXf7W.js} +1 -1
  352. package/dist/client/assets/{use-in-settings-B7PmXEGx.js → use-in-settings-BXZ1flBO.js} +1 -1
  353. package/dist/client/assets/{use-inbox-feed-DAFI3RXk.js → use-inbox-feed-BgghU6zv.js} +1 -1
  354. package/dist/client/assets/{use-infinite-scroll-DIo4dLVO.js → use-infinite-scroll-a-was_wV.js} +1 -1
  355. package/dist/client/assets/{use-join-requests-Cije4ISI.js → use-join-requests-Dew340iZ.js} +1 -1
  356. package/dist/client/assets/{use-main-panel-tabs-QBCK4CGm.js → use-main-panel-tabs-CofVomMF.js} +1 -1
  357. package/dist/client/assets/{use-mcp-auth-status-Ht1UiyQD.js → use-mcp-auth-status-sM1WMIXj.js} +1 -1
  358. package/dist/client/assets/{use-mcp-client-oQNpcxdA.js → use-mcp-client-CnD6rmUP.js} +1 -1
  359. package/dist/client/assets/{use-mcp-prompts-DJDMRBKo.js → use-mcp-prompts-CJDEOIrf.js} +1 -1
  360. package/dist/client/assets/{use-mcp-tools-B3lfSeU8.js → use-mcp-tools-hcCDzOu2.js} +1 -1
  361. package/dist/client/assets/{use-mobile-B6Glooki.js → use-mobile-2AsEzLf2.js} +1 -1
  362. package/dist/client/assets/{use-move-blocks-DgoYqSh3.js → use-move-blocks-D1ddI4qu.js} +1 -1
  363. package/dist/client/assets/{use-navigate-to-agent-DHcX_wvC.js → use-navigate-to-agent-qbUEQ7kJ.js} +1 -1
  364. package/dist/client/assets/{use-never-published-DIs5T7vx.js → use-never-published-CJ050mxC.js} +1 -1
  365. package/dist/client/assets/{use-org-fs-D6go1e07.js → use-org-fs-DEtGZ0OX.js} +1 -1
  366. package/dist/client/assets/{use-org-notice-MJYmvNw3.js → use-org-notice-M_I53CvQ.js} +1 -1
  367. package/dist/client/assets/{use-org-repo-syncs-CTYF72h2.js → use-org-repo-syncs-XoO3xbdG.js} +1 -1
  368. package/dist/client/assets/{use-org-sso-DQr7OjOZ.js → use-org-sso-D7bMsLHv.js} +1 -1
  369. package/dist/client/assets/{use-organization-settings-1p7-uoSE.js → use-organization-settings-DEI-2Mdu.js} +1 -1
  370. package/dist/client/assets/{use-panel-navigate-CX_YerR_.js → use-panel-navigate-Cgc8QZvG.js} +1 -1
  371. package/dist/client/assets/{use-project-native-view-presence-C1CJqaSZ.js → use-project-native-view-presence-D9-wJ1O7.js} +1 -1
  372. package/dist/client/assets/{use-project-scope-CUICChkO.js → use-project-scope-5o2m3916.js} +1 -1
  373. package/dist/client/assets/{use-recent-apps-jf9rGSSR.js → use-recent-apps-BvDORfSg.js} +1 -1
  374. package/dist/client/assets/{use-reports-diagnostic-CzsUPfAR.js → use-reports-diagnostic-DK-p83Vg.js} +1 -1
  375. package/dist/client/assets/{use-sandbox-events-CZaUevSl.js → use-sandbox-events-CF8Zmwcz.js} +1 -1
  376. package/dist/client/assets/{use-secrets-YqO4Pj-K.js → use-secrets-oap3Sfgj.js} +1 -1
  377. package/dist/client/assets/{use-section-preview-base-B_DOEyxF.js → use-section-preview-base-DCX8RbPA.js} +1 -1
  378. package/dist/client/assets/{use-sidebar-collapsed-DPsCe0op.js → use-sidebar-collapsed-C1RRRqbD.js} +1 -1
  379. package/dist/client/assets/{use-tags-Bipp2IYl.js → use-tags-BV4877fv.js} +1 -1
  380. package/dist/client/assets/{use-task-board-analytics-SrK71r3z.js → use-task-board-analytics-mp50qmPG.js} +1 -1
  381. package/dist/client/assets/{use-task-board-item-prs-Bt3VjLjz.js → use-task-board-item-prs-CwaffMkz.js} +1 -1
  382. package/dist/client/assets/{use-task-board-items-CbhYR4S7.js → use-task-board-items-BjJdOASU.js} +1 -1
  383. package/dist/client/assets/{use-task-board-prompts-CywXKY9x.js → use-task-board-prompts-DV_ruK00.js} +1 -1
  384. package/dist/client/assets/{use-task-metadata-ZmaeCO2k.js → use-task-metadata-gPlEiLJx.js} +1 -1
  385. package/dist/client/assets/{use-thread-outputs-CFLu8mMl.js → use-thread-outputs-D_ZJGfwp.js} +1 -1
  386. package/dist/client/assets/{use-view-draft-kind-CEwc6BMY.js → use-view-draft-kind-W96Ds4Zi.js} +1 -1
  387. package/dist/client/assets/{use-voice-input-CoHzgJEF.js → use-voice-input-CIq4Y88-.js} +1 -1
  388. package/dist/client/assets/useInfiniteQuery-CRAxl7DP.js +1 -0
  389. package/dist/client/assets/{useQueries-BRIu-KH4.js → useQueries-Dq9jPrZd.js} +1 -1
  390. package/dist/client/assets/useSuspenseInfiniteQuery-Ciw8KzoC.js +1 -0
  391. package/dist/client/assets/{users-BHbfDVzi.js → users-BvIsgN5c.js} +1 -1
  392. package/dist/client/assets/{utils-BLkb241y.js → utils-DyMUXWM4.js} +1 -1
  393. package/dist/client/assets/{variant-calendar-t-_VXUP5.js → variant-calendar-Bw8cYqTS.js} +1 -1
  394. package/dist/client/assets/{variant-matcher-override-CorWpPMf.js → variant-matcher-override-C7dpNQoG.js} +1 -1
  395. package/dist/client/assets/{view-header-BOHwmkNu.js → view-header-D6SIA1tU.js} +1 -1
  396. package/dist/client/assets/{virtual-mcp-DkZfQiia.js → virtual-mcp-BwWPUYJI.js} +1 -1
  397. package/dist/client/assets/{watch-sse-pool-fx4VSRmD.js → watch-sse-pool-ZsYyhYfT.js} +1 -1
  398. package/dist/client/index.html +1 -1
  399. package/dist/server/server.js +1 -1
  400. package/package.json +1 -1
  401. package/dist/client/assets/agent-app-DAyp6W1I.js +0 -1
  402. package/dist/client/assets/agent-deck-DKfZyTG1.js +0 -1
  403. package/dist/client/assets/agent-experiments-CGsGxxo6.js +0 -1
  404. package/dist/client/assets/agent-file-CPOrYbU2.js +0 -1
  405. package/dist/client/assets/agent-library-BkV0iVdr.js +0 -1
  406. package/dist/client/assets/agent-library-file-2kVH1dmS.js +0 -1
  407. package/dist/client/assets/agent-overview-BwQW84d6.js +0 -1
  408. package/dist/client/assets/agent-settings-iJ--LXZN.js +0 -1
  409. package/dist/client/assets/agent-site-editor-code-C9qZvHAo.js +0 -2
  410. package/dist/client/assets/agent-site-editor-content-MtSfvdcm.js +0 -1
  411. package/dist/client/assets/agent-site-editor-preview-bCH5xSAf.js +0 -1
  412. package/dist/client/assets/agent-view-DkyKhs8z.js +0 -1
  413. package/dist/client/assets/api-keys-tRTG3oS8.js +0 -1
  414. package/dist/client/assets/library-BrEeR06C.js +0 -1
  415. package/dist/client/assets/project-reports-DqV8Bd24.js +0 -1
  416. package/dist/client/assets/project-tasks-qTU5720S.js +0 -1
  417. package/dist/client/assets/record-editor-DCJNlw5O.js +0 -1
  418. package/dist/client/assets/reports-B6ii5CDi.js +0 -1
  419. package/dist/client/assets/repositories-CSXIjdlZ.js +0 -1
  420. package/dist/client/assets/route-BqTOx7z7.js +0 -1
  421. package/dist/client/assets/settings-tab-wW6TWR10.js +0 -1
  422. package/dist/client/assets/site-editor-CeDcKfa-.js +0 -1
  423. package/dist/client/assets/tasks-CcFMDLuk.js +0 -1
  424. package/dist/client/assets/use-ask-in-chat-DQ7NDNSO.js +0 -1
  425. package/dist/client/assets/use-blocks-v8-project-Dr2j7xAG.js +0 -1
  426. package/dist/client/assets/use-blog-view-C9Shh8Sd.js +0 -1
  427. package/dist/client/assets/useInfiniteQuery-U8sFHKjc.js +0 -1
  428. package/dist/client/assets/useSuspenseInfiniteQuery-B3Zlqz10.js +0 -1
@@ -1 +1 @@
1
- import{c as B,r as C,b as G,j as h,t as A,a5 as ye,x as xe,aS as ke,w as we,B as be,v as Pe,D as Ce,q as le,a4 as ce,K as Y,E as Q,gj as ue,gk as re,gl as z,m as Se}from"./index-DLuam-oO.js";import{S as de,s as _e}from"./suggestion-DOa2is9l.js";import{K as Fe,t as De,A as Ie,p as J,L as je,P as ne,O as ve,k as Me,a as Le,Q as Re,o as Ee,l as Ae,F as Ne,s as Te,E as Qe}from"./usage-stats-BoGlEdlD.js";import{aJ as Oe}from"./agent-icon-DKmZvJgZ.js";import"./chat-context-BNZ_9-8I.js";import{m as Ue,i as $e,b as qe}from"./index-CV1w3jjI.js";import{u as me}from"./use-mcp-client-oQNpcxdA.js";import{u as Ke}from"./repository-binding-BnP0NJWu.js";import{g as se,a as fe}from"./gateway-client-CqrPq2Zk.js";import{l as oe,g as pe}from"./use-mcp-prompts-DJDMRBKo.js";import{f as ze,b as Je}from"./use-org-fs-D6go1e07.js";async function Be(t,e,r,s,i,o){if(!Ue(e)){A.error("Selected model does not support file uploads");return}const l=r.type||"application/octet-stream";if(!$e(l,e)){const g=qe(e).parts.map(m=>o(m)).join(", "),k=e?.title??"This model";i?i({fileName:r.name,modelName:k,accepted:g}):A.error(`"${r.name}" can't be attached`,{description:`${k} accepts ${g}.`});return}const c=10*1024*1024;if(r.size>c){A.error(`File "${r.name}" exceeds 10MB limit`);return}try{const g=new FileReader,k=new Promise((n,u)=>{g.onload=()=>{const d=g.result;if(typeof d!="string"){u(new Error("Failed to read file as data URL"));return}const b=d.includes(",")?d.split(",")[1]??d:d;n(b)},g.onerror=u});g.readAsDataURL(r);const m=await k,p={id:crypto.randomUUID(),name:r.name,mimeType:r.type||"application/octet-stream",size:r.size,data:m};Fe(t,{from:s,to:s},p)}catch(g){console.error("Failed to process file:",g),A.error(`Failed to load file "${r.name}"`)}}function He(t,e,r,s){if(r)return!1;const i=e.dataTransfer?.files;if(!i||i.length===0)return!1;const o=t.posAtCoords({left:e.clientX,top:e.clientY});if(!o)return!1;e.preventDefault();const l=Array.from(i);return(async()=>{let c=o.pos;for(const g of l)await s(g,c),c=t.state.selection.to})(),!0}function Ve(t){const e=B.c(9),{editor:r,selectedModel:s,onUnsupportedFile:i}=t,o=G(),l=C.useRef(Xe);let c,g;e[0]!==r||e[1]!==i||e[2]!==s||e[3]!==o?(c=()=>{l.current=async(p,n)=>{await Be(r,s,p,n,i,o)}},g=[r,s,i,o],e[0]=r,e[1]=i,e[2]=s,e[3]=o,e[4]=c,e[5]=g):(c=e[4],g=e[5]),C.useEffect(c,g);let k,m;return e[6]!==r?(k=()=>{if(r?.isDestroyed)return;const p=new De("fileDropHandler");r.state.plugins.find(d=>d.spec.key===p)&&r.unregisterPlugin(p);const u=new Ie({key:p,props:{handleDrop:(d,b,F,_)=>He(d,b,_,(S,j)=>l.current(S,j)),handlePaste:(d,b)=>{const F=b.clipboardData?.items;if(!F)return!1;const _=Array.from(F).filter(We);return _.length===0?!1:(b.preventDefault(),(async()=>{let S=d.state.selection.from;for(const j of _){const I=j.getAsFile();I&&(await l.current?.(I,S),S=d.state.selection.to)}})(),!0)}}});return r.registerPlugin(u),()=>{r?.isDestroyed||r.unregisterPlugin(p)}},m=[r],e[6]=r,e[7]=k,e[8]=m):(k=e[7],m=e[8]),C.useEffect(k,m),null}function We(t){return t.kind==="file"}function Xe(){return Promise.resolve()}function bt(t){const e=B.c(43),{info:r,onClose:s}=t,i=G(),o=r!==null;let l;e[0]!==s?(l=v=>!v&&s(),e[0]=s,e[1]=l):l=e[1];let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=["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]=c):c=e[2];let g;e[3]===Symbol.for("react.memo_cache_sentinel")?(g=h.jsx("div",{className:"absolute inset-x-0 top-0 h-36 pointer-events-none",style:{backgroundImage:c.join(", "),maskImage:"linear-gradient(to bottom, black 0%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, transparent 100%)"}}),e[3]=g):g=e[3];let k;e[4]===Symbol.for("react.memo_cache_sentinel")?(k=h.jsx("div",{className:"flex items-center justify-center size-9 rounded-lg bg-warning/15 text-warning",children:h.jsx(ye,{size:18})}),e[4]=k):k=e[4];let m;e[5]!==i?(m=i("chat.uploader.fileTypeNotSupported"),e[5]=i,e[6]=m):m=e[6];let p;e[7]!==m?(p=h.jsx(xe,{className:"text-xl font-semibold tracking-tight",children:m}),e[7]=m,e[8]=p):p=e[8];const n=r?.fileName;let u;e[9]!==n?(u=h.jsxs("span",{className:"font-medium text-foreground",children:["“",n,"”"]}),e[9]=n,e[10]=u):u=e[10];let d;e[11]!==i?(d=i("chat.uploader.cantAttachToChat"),e[11]=i,e[12]=d):d=e[12];let b;e[13]!==d||e[14]!==u?(b=h.jsxs(ke,{className:"mt-1.5 text-sm leading-relaxed",children:[u," ",d]}),e[13]=d,e[14]=u,e[15]=b):b=e[15];let F;e[16]!==b||e[17]!==p?(F=h.jsxs("div",{className:"relative px-8 pt-8 pb-2 overflow-hidden",children:[g,h.jsxs(we,{className:"relative gap-4",children:[k,h.jsxs("div",{children:[p,b]})]})]}),e[16]=b,e[17]=p,e[18]=F):F=e[18];const _=r?.modelName??"";let S;e[19]!==i||e[20]!==_?(S=i("chat.uploader.accepts",{modelName:_}),e[19]=i,e[20]=_,e[21]=S):S=e[21];let j;e[22]!==S?(j=h.jsx("div",{className:"text-xs font-medium text-muted-foreground mb-2",children:S}),e[22]=S,e[23]=j):j=e[23];let I;e[24]===Symbol.for("react.memo_cache_sentinel")?(I=h.jsx(Oe,{size:14,className:"text-muted-foreground"}),e[24]=I):I=e[24];const L=r?.accepted;let D;e[25]!==L?(D=h.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground",children:[I,h.jsx("span",{className:"capitalize",children:L})]}),e[25]=L,e[26]=D):D=e[26];let a;e[27]!==j||e[28]!==D?(a=h.jsx("div",{className:"px-8 pt-3 pb-6 space-y-3",children:h.jsxs("div",{className:"surface p-4",children:[j,D]})}),e[27]=j,e[28]=D,e[29]=a):a=e[29];let f;e[30]!==i?(f=i("chat.uploader.gotIt"),e[30]=i,e[31]=f):f=e[31];let x;e[32]!==s||e[33]!==f?(x=h.jsx("div",{className:"px-8 py-4 border-t border-border bg-muted/30 flex items-center justify-end",children:h.jsx(be,{onClick:s,children:f})}),e[32]=s,e[33]=f,e[34]=x):x=e[34];let P;e[35]!==F||e[36]!==a||e[37]!==x?(P=h.jsxs(Pe,{className:"sm:max-w-[480px] gap-0 p-0 overflow-hidden",onOpenAutoFocus:Ye,children:[F,a,x]}),e[35]=F,e[36]=a,e[37]=x,e[38]=P):P=e[38];let M;return e[39]!==o||e[40]!==l||e[41]!==P?(M=h.jsx(Ce,{open:o,onOpenChange:l,children:P}),e[39]=o,e[40]=l,e[41]=P,e[42]=M):M=e[42],M}function Ye(t){return t.preventDefault()}function Pt(){const t=B.c(3),[e,r]=C.useState(null);let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>r(null),t[0]=s):s=t[0];let i;return t[1]!==e?(i={unsupportedFile:e,onUnsupportedFile:r,clearUnsupportedFile:s},t[1]=e,t[2]=i):i=t[2],i}function he(t,e){return e||t}const Ge=t=>{const e=B.c(50),{editor:r,virtualMcpId:s,suggestionOpenRef:i}=t,o=G(),l=le(),{org:c}=ce(),g=Ke();let k;e[0]!==c.id||e[1]!==c.slug||e[2]!==s?(k={connectionId:s,orgId:c.id,orgSlug:c.slug},e[0]=c.id,e[1]=c.slug,e[2]=s,e[3]=k):k=e[3];const m=me(k);let p;e[4]!==c.id||e[5]!==s?(p=Y.virtualMcpResources(s,c.id),e[4]=c.id,e[5]=s,e[6]=p):p=e[6];const n=p,[u,d]=C.useState("categories");let b;e[7]!==u?(b=()=>u,e[7]=u,e[8]=b):b=e[8];const F=C.useEffectEvent(b),_=C.useRef(null),S=C.useRef(!1),j=s??"default";let I;e[9]!==u||e[10]!==c.id||e[11]!==j?(I=["at-mention",c.id,j,u],e[9]=u,e[10]=c.id,e[11]=j,e[12]=I):I=e[12];const L=I;let D;e[13]!==o?(D=o("chat.mentionAt.agentsTitle"),e[13]=o,e[14]=D):D=e[14];let a;e[15]!==o?(a=o("chat.mentionAt.agentsDescription"),e[15]=o,e[16]=a):a=e[16];let f;e[17]!==D||e[18]!==a?(f={name:"agents",title:D,description:a,kind:"category",drillable:!0},e[17]=D,e[18]=a,e[19]=f):f=e[19];let x;e[20]!==o?(x=o("chat.mentionAt.resourcesTitle"),e[20]=o,e[21]=x):x=e[21];let P;e[22]!==o?(P=o("chat.mentionAt.resourcesDescription"),e[22]=o,e[23]=P):P=e[23];let M;e[24]!==P||e[25]!==x?(M={name:"resources",title:x,description:P,kind:"category",drillable:!0},e[24]=P,e[25]=x,e[26]=M):M=e[26];let v;e[27]!==M||e[28]!==f?(v=[f,M],e[27]=M,e[28]=f,e[29]=v):v=e[29];const $=v;let O;e[30]!==m||e[31]!==r||e[32]!==o?(O=async U=>{const{item:w,range:K}=U;if(Q("chat_picker_item_selected",{picker:"@",item_kind:w.kind,item_name:w.name}),w.kind!=="category"&&(S.current=!0),w.kind==="category")return d(w.name==="agents"?"agents":"resources"),!1;if(w.kind==="agent"&&w.agentId){J(r,K,{id:w.agentId,name:w.name,metadata:{agentId:w.agentId,title:w.name},char:"@"}),d("categories");return}if(w.kind==="resource"&&w.uri&&m){try{const T=await ue(m,w.uri);J(r,K,{id:w.uri,name:w.uri,metadata:T.contents,char:"@"})}catch(T){console.error("[at-mention] Failed to fetch resource:",T),A.error(o("chat.mentionAt.failedToLoadResource"))}d("categories");return}},e[30]=m,e[31]=r,e[32]=o,e[33]=O):O=e[33];const q=O;let y;e[34]!==g||e[35]!==$||e[36]!==m||e[37]!==F||e[38]!==l||e[39]!==n||e[40]!==s?(y=async U=>{const{query:w}=U,K=F();if(K==="categories"){if(!w.trim())return $;const R=w.toLowerCase(),E=g.filter(N=>N.status==="active"&&(!N.id||!re(N.id))&&N.id!==s&&(N.title.toLowerCase().includes(R)||N.description?.toLowerCase().includes(R))).map(Ze),X=await(async()=>{if(!m)return[];let N=l.getQueryData(n);return N||(N=await l.fetchQuery({queryKey:n,queryFn:()=>z(m),staleTime:6e4})),(N?.resources??[]).filter(te=>te.uri.toLowerCase().includes(R)||te.name?.toLowerCase().includes(R)||te.description?.toLowerCase().includes(R)).map(et)})();return[...E,...X]}if(K==="agents"){let R=g.filter(E=>E.status==="active"&&(!E.id||!re(E.id))&&E.id!==s);if(w.trim()){const E=w.toLowerCase();R=R.filter(X=>X.title.toLowerCase().includes(E)||X.description?.toLowerCase().includes(E))}return R.map(tt)}if(!m)return[];let T=l.getQueryData(n);T?l.fetchQuery({queryKey:n,queryFn:()=>z(m),staleTime:6e4}).catch(st):T=await l.fetchQuery({queryKey:n,queryFn:()=>z(m),staleTime:6e4});let W=T?.resources??[];if(w.trim()){const R=w.toLowerCase();W=W.filter(E=>E.uri.toLowerCase().includes(R)||E.name?.toLowerCase().includes(R)||E.description?.toLowerCase().includes(R))}return W.map(rt)},e[34]=g,e[35]=$,e[36]=m,e[37]=F,e[38]=l,e[39]=n,e[40]=s,e[41]=y):y=e[41];const Z=y;let H;e[42]!==i?(H=U=>{if(i&&(i.current=U),U)_.current=Date.now(),S.current=!1,Q("chat_picker_opened",{picker:"@"});else{const w=_.current;Q("chat_picker_closed",{picker:"@",outcome:S.current?"selected":"dismissed",duration_ms:w?Date.now()-w:null}),_.current=null,d("categories")}},e[42]=i,e[43]=H):H=e[43];const ee=H;let V;return e[44]!==r||e[45]!==Z||e[46]!==q||e[47]!==ee||e[48]!==L?(V=h.jsx(de,{editor:r,char:"@",pluginKey:"atDropdownMenu",queryKey:L,queryFn:Z,onSelect:q,onOpenChange:ee}),e[44]=r,e[45]=Z,e[46]=q,e[47]=ee,e[48]=L,e[49]=V):V=e[49],V};function Ze(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function et(t){return{name:he(t.uri,t.name),title:t.name,description:t.description,kind:"resource",uri:t.uri}}function tt(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function st(){}function rt(t){return{name:he(t.uri,t.name),title:t.name,description:t.description,kind:"resource",uri:t.uri}}async function ie(t,e,r,s,i,o,l){try{const c=await pe(r,s,o);J(t,e,{id:s,name:fe(s,i),metadata:c.messages,char:"/",kind:"prompt",args:o})}catch(c){console.error("[slash] Failed to fetch prompt:",c),A.error(l.t("chat.mentionSlash.failedLoadPrompt"))}}async function nt(t,e,r,s,i){try{const o=await ue(r,s);J(t,e,{id:s,name:s,metadata:o.contents,char:"/",kind:"resource"})}catch(o){console.error("[slash] Failed to fetch resource:",o),A.error(i.t("chat.mentionSlash.failedLoadResource"))}}async function ot(t,e,r,s,i){try{const{files:o,omittedPaths:l}=await ze(r,s.volume,s.path),c={sandboxPath:s.sandboxPath,volume:s.volume,path:s.path,files:o,omittedPaths:l};J(t,e,{id:s.id,name:s.name,metadata:c,char:"/",kind:"skill"})}catch(o){console.error("[slash] Failed to fetch skill:",o),A.error(i.t("chat.mentionSlash.failedLoadSkill"))}}const it=({editor:t,virtualMcpId:e,suggestionOpenRef:r})=>{const s=G(),i=le(),{org:o}=ce(),l=me({connectionId:e,orgId:o.id,orgSlug:o.slug}),c=Y.virtualMcpPrompts(e,o.id),g=Y.virtualMcpResources(e,o.id),k=Y.slashSkills(o.id),m=["slash-mention",o.id,e??"default"],[p,n]=C.useState(null),[u,d]=C.useState(null),b=je(t);b&&(b.onEditChip=async a=>{if(l)try{const x=(await ae(i,c,l)).find(P=>P.name===a.promptId);if(!x?.arguments||x.arguments.length===0)return;d({...a,prompt:x})}catch(f){console.error("[slash] Failed to load prompt for editing:",f),A.error(s("chat.mentionSlash.failedLoadPrompt"))}});const F=C.useRef(null),_=C.useRef(!1),S=async({item:a,range:f})=>{if(Q("chat_picker_item_selected",{picker:"/",item_kind:a.kind,item_name:a.name}),_.current=!0,!!l)if(a.kind==="prompt"){if(a.arguments&&a.arguments.length>0){n({range:f,item:a});return}const x=se(a._meta);await ie(t,f,l,a.name,x,void 0,{t:s})}else a.kind==="skill"?a.skill&&await ot(t,f,o.slug,a.skill,{t:s}):a.uri&&await nt(t,f,l,a.uri,{t:s})},j=async a=>{if(!p||!l)return;const{range:f,item:x}=p,P=se(x._meta);await ie(t,f,l,x.name,P,a,{t:s}),n(null)},I=async a=>{if(!(!u||!l)){if(!ve(t,u.pos,u.promptId)){A.error(s("chat.mentionSlash.failedUpdatePrompt")),d(null);return}try{const f=await pe(l,u.promptId,a),x=se(u.prompt._meta);t.chain().focus().setNodeSelection(u.pos).deleteSelection().insertContentAt(u.pos,Me({id:u.promptId,name:fe(u.promptId,x),metadata:f.messages,char:"/",kind:"prompt",args:a})).run(),Q("chat_picker_item_selected",{picker:"/edit",item_kind:"prompt",item_name:u.promptId})}catch(f){console.error("[slash] Failed to update prompt:",f),A.error(s("chat.mentionSlash.failedUpdatePrompt"))}d(null)}},L=async a=>{const{query:f}=a;if(!l)return[];const[x,P,M]=await Promise.all([ae(i,c,l),lt(i,g,l),at(i,k,o.slug)]),v=f.trim().toLowerCase(),$=(x??[]).filter(y=>!v||y.name.toLowerCase().includes(v)||y.title?.toLowerCase().includes(v)||y.description?.toLowerCase().includes(v)).map(y=>({name:y.name,title:y.title,description:y.description,kind:"prompt",arguments:y.arguments,_meta:y._meta})),O=(P??[]).filter(y=>!v||y.uri.toLowerCase().includes(v)||y.name?.toLowerCase().includes(v)||y.description?.toLowerCase().includes(v)).map(y=>({name:y.name??y.uri,title:y.name,description:y.description,kind:"resource",uri:y.uri})),q=(M??[]).filter(y=>!v||y.name.toLowerCase().includes(v)||y.id.toLowerCase().includes(v)||y.description?.toLowerCase().includes(v)).map(y=>({name:y.name,title:y.name,description:y.description??void 0,kind:"skill",skill:y}));return[...$,...O,...q]},D=p?.item.kind==="prompt"?{name:p.item.name,title:p.item.title,arguments:p.item.arguments,description:p.item.description,_meta:p.item._meta}:null;return h.jsxs(h.Fragment,{children:[h.jsx(de,{editor:t,char:"/",pluginKey:"slashDropdownMenu",queryKey:m,queryFn:L,onSelect:S,onOpenChange:a=>{if(r&&(r.current=a),a)F.current=Date.now(),_.current=!1,Q("chat_picker_opened",{picker:"/"});else{const f=F.current;Q("chat_picker_closed",{picker:"/",outcome:_.current?"selected":"dismissed",duration_ms:f?Date.now()-f:null}),F.current=null}}}),h.jsx(ne,{prompt:D,setPrompt:()=>n(null),onSubmit:j}),h.jsx(ne,{prompt:u?.prompt??null,setPrompt:()=>d(null),onSubmit:I,defaultValues:u?.args},u?`edit-${u.promptId}-${u.pos}`:"edit-idle")]})};async function ae(t,e,r){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>oe(r),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>oe(r),staleTime:6e4}).catch(()=>{}),s?.prompts??[]}async function at(t,e,r){const s=t.getQueryData(e),i=()=>t.fetchQuery({queryKey:e,queryFn:()=>Je(r),staleTime:6e4});return s?(i().catch(()=>{}),s):i().catch(()=>[])}async function lt(t,e,r){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>z(r),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>z(r),staleTime:6e4}).catch(()=>{}),s?.resources??[]}const ge="Ask anything, / for prompts & skills, @ for agents & resources...";function ct(t){return[Te.configure({heading:!1,blockquote:!1,codeBlock:!1,horizontalRule:!1,dropcursor:!1}),_e.configure({placeholder:()=>t.current??ge,showOnlyWhenEditable:!1}),Ae,Ne]}function Ct({tiptapDoc:t,setTiptapDoc:e,disabled:r=!1,enterToSubmit:s=!1,placeholder:i,onSubmit:o,suggestionOpenRef:l,children:c}){const g=C.useRef(o),k=C.useRef(e),m=C.useRef(s),p=C.useRef(i),n=Le({extensions:ct(p),content:t||"",editorProps:{attributes:{"data-chat-input":"true",role:"textbox","aria-multiline":"true","aria-label":i??ge,class:"prose prose-sm max-w-none focus:outline-none w-full h-full text-[14px] max-md:text-base p-[18px]"},handleKeyDown:(u,d)=>d.key==="Enter"&&!d.shiftKey&&m.current&&!l?.current?(d.preventDefault(),g.current?.(),!0):!1},onUpdate:({editor:u})=>{k.current(u?.getJSON())}});return C.useEffect(()=>{n?.setEditable(!r)},[n,r]),C.useEffect(()=>{g.current=o},[o]),C.useEffect(()=>{k.current=e},[e]),C.useEffect(()=>{m.current=s},[s]),C.useEffect(()=>{p.current=i},[i]),C.useEffect(()=>{if(!n||n.isDestroyed)return;const u=JSON.stringify(n.getJSON()),d=JSON.stringify(t||{type:"doc",content:[]});u!==d&&n.commands.setContent(t||{type:"doc",content:[]})},[n,t]),h.jsx(Re.Provider,{value:{editor:n},children:c})}function St(t){const e=B.c(29),{disabled:r,virtualMcpId:s,showFileUploader:i,selectedModel:o,onUnsupportedFile:l,suggestionOpenRef:c,ref:g,className:k}=t,m=r===void 0?!1:r,p=i===void 0?!1:i,{editor:n}=Ee();let u,d;if(e[0]!==n?(u=()=>({focus:()=>{n?.commands.focus()},clear:()=>{n?.commands.clearContent(!0)},appendText:x=>{if(!n)return;const P=n.state.doc.textContent.trim()==="";n.commands.focus("end"),P||n.commands.insertContent(" "),n.commands.insertContent(x)},syncVoiceText:(x,P)=>{if(n&&(n.commands.setContent(x||{type:"doc",content:[]}),P)){n.commands.focus("end");const M=n.state.doc.textContent.trim().length>0;n.commands.insertContent({type:"text",text:M?" "+P:P})}},restoreContent:x=>{n&&n.commands.setContent(x||{type:"doc",content:[]})}}),d=[n],e[0]=n,e[1]=u,e[2]=d):(u=e[1],d=e[2]),C.useImperativeHandle(g??null,u,d),!n)return null;const b=m&&"cursor-not-allowed opacity-70",F=m&&"[&_.ProseMirror]:cursor-not-allowed";let _;e[3]!==k||e[4]!==b||e[5]!==F?(_=Se("overflow-y-auto relative flex-1 max-h-[164px] min-h-[20px] w-full flex flex-col",k,"[&_.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",b,F),e[3]=k,e[4]=b,e[5]=F,e[6]=_):_=e[6];let S;e[7]!==n||e[8]!==_?(S=h.jsx(Qe,{editor:n,className:_}),e[7]=n,e[8]=_,e[9]=S):S=e[9];const j=s??null;let I;e[10]!==n||e[11]!==c||e[12]!==j?(I=h.jsx(C.Suspense,{fallback:null,children:h.jsx(it,{editor:n,virtualMcpId:j,suggestionOpenRef:c})}),e[10]=n,e[11]=c,e[12]=j,e[13]=I):I=e[13];const L=s??null;let D;e[14]!==n||e[15]!==c||e[16]!==L?(D=h.jsx(C.Suspense,{fallback:null,children:h.jsx(Ge,{editor:n,virtualMcpId:L,suggestionOpenRef:c})}),e[14]=n,e[15]=c,e[16]=L,e[17]=D):D=e[17];let a;e[18]!==m||e[19]!==n||e[20]!==l||e[21]!==o||e[22]!==p?(a=p&&o&&!m?h.jsx(Ve,{editor:n,selectedModel:o,onUnsupportedFile:l}):null,e[18]=m,e[19]=n,e[20]=l,e[21]=o,e[22]=p,e[23]=a):a=e[23];let f;return e[24]!==I||e[25]!==D||e[26]!==a||e[27]!==S?(f=h.jsxs(h.Fragment,{children:[S,I,D,a]}),e[24]=I,e[25]=D,e[26]=a,e[27]=S,e[28]=f):f=e[28],f}export{Ct as T,bt as U,St as a,Be as p,Pt as u};
1
+ import{c as B,r as C,b as G,j as h,t as A,a5 as ye,x as xe,aS as ke,w as we,B as be,v as Pe,D as Ce,q as le,a4 as ce,K as Y,E as Q,gj as ue,gk as re,gl as z,m as Se}from"./index-7zGhlT8r.js";import{S as de,s as _e}from"./suggestion-CG3s6_aY.js";import{K as Fe,t as De,A as Ie,p as J,L as je,P as ne,O as ve,k as Me,a as Le,Q as Re,o as Ee,l as Ae,F as Ne,s as Te,E as Qe}from"./usage-stats-NRcbm3e5.js";import{aJ as Oe}from"./agent-icon-lbRSQKRr.js";import"./chat-context-BZCgTb_I.js";import{m as Ue,i as $e,b as qe}from"./index-BkSYM2mK.js";import{u as me}from"./use-mcp-client-CnD6rmUP.js";import{u as Ke}from"./repository-binding-djJO-C6X.js";import{g as se,a as fe}from"./gateway-client-DdE8Hgae.js";import{l as oe,g as pe}from"./use-mcp-prompts-CJDEOIrf.js";import{f as ze,b as Je}from"./use-org-fs-DEtGZ0OX.js";async function Be(t,e,r,s,i,o){if(!Ue(e)){A.error("Selected model does not support file uploads");return}const l=r.type||"application/octet-stream";if(!$e(l,e)){const g=qe(e).parts.map(m=>o(m)).join(", "),k=e?.title??"This model";i?i({fileName:r.name,modelName:k,accepted:g}):A.error(`"${r.name}" can't be attached`,{description:`${k} accepts ${g}.`});return}const c=10*1024*1024;if(r.size>c){A.error(`File "${r.name}" exceeds 10MB limit`);return}try{const g=new FileReader,k=new Promise((n,u)=>{g.onload=()=>{const d=g.result;if(typeof d!="string"){u(new Error("Failed to read file as data URL"));return}const b=d.includes(",")?d.split(",")[1]??d:d;n(b)},g.onerror=u});g.readAsDataURL(r);const m=await k,p={id:crypto.randomUUID(),name:r.name,mimeType:r.type||"application/octet-stream",size:r.size,data:m};Fe(t,{from:s,to:s},p)}catch(g){console.error("Failed to process file:",g),A.error(`Failed to load file "${r.name}"`)}}function He(t,e,r,s){if(r)return!1;const i=e.dataTransfer?.files;if(!i||i.length===0)return!1;const o=t.posAtCoords({left:e.clientX,top:e.clientY});if(!o)return!1;e.preventDefault();const l=Array.from(i);return(async()=>{let c=o.pos;for(const g of l)await s(g,c),c=t.state.selection.to})(),!0}function Ve(t){const e=B.c(9),{editor:r,selectedModel:s,onUnsupportedFile:i}=t,o=G(),l=C.useRef(Xe);let c,g;e[0]!==r||e[1]!==i||e[2]!==s||e[3]!==o?(c=()=>{l.current=async(p,n)=>{await Be(r,s,p,n,i,o)}},g=[r,s,i,o],e[0]=r,e[1]=i,e[2]=s,e[3]=o,e[4]=c,e[5]=g):(c=e[4],g=e[5]),C.useEffect(c,g);let k,m;return e[6]!==r?(k=()=>{if(r?.isDestroyed)return;const p=new De("fileDropHandler");r.state.plugins.find(d=>d.spec.key===p)&&r.unregisterPlugin(p);const u=new Ie({key:p,props:{handleDrop:(d,b,F,_)=>He(d,b,_,(S,j)=>l.current(S,j)),handlePaste:(d,b)=>{const F=b.clipboardData?.items;if(!F)return!1;const _=Array.from(F).filter(We);return _.length===0?!1:(b.preventDefault(),(async()=>{let S=d.state.selection.from;for(const j of _){const I=j.getAsFile();I&&(await l.current?.(I,S),S=d.state.selection.to)}})(),!0)}}});return r.registerPlugin(u),()=>{r?.isDestroyed||r.unregisterPlugin(p)}},m=[r],e[6]=r,e[7]=k,e[8]=m):(k=e[7],m=e[8]),C.useEffect(k,m),null}function We(t){return t.kind==="file"}function Xe(){return Promise.resolve()}function bt(t){const e=B.c(43),{info:r,onClose:s}=t,i=G(),o=r!==null;let l;e[0]!==s?(l=v=>!v&&s(),e[0]=s,e[1]=l):l=e[1];let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=["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]=c):c=e[2];let g;e[3]===Symbol.for("react.memo_cache_sentinel")?(g=h.jsx("div",{className:"absolute inset-x-0 top-0 h-36 pointer-events-none",style:{backgroundImage:c.join(", "),maskImage:"linear-gradient(to bottom, black 0%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, transparent 100%)"}}),e[3]=g):g=e[3];let k;e[4]===Symbol.for("react.memo_cache_sentinel")?(k=h.jsx("div",{className:"flex items-center justify-center size-9 rounded-lg bg-warning/15 text-warning",children:h.jsx(ye,{size:18})}),e[4]=k):k=e[4];let m;e[5]!==i?(m=i("chat.uploader.fileTypeNotSupported"),e[5]=i,e[6]=m):m=e[6];let p;e[7]!==m?(p=h.jsx(xe,{className:"text-xl font-semibold tracking-tight",children:m}),e[7]=m,e[8]=p):p=e[8];const n=r?.fileName;let u;e[9]!==n?(u=h.jsxs("span",{className:"font-medium text-foreground",children:["“",n,"”"]}),e[9]=n,e[10]=u):u=e[10];let d;e[11]!==i?(d=i("chat.uploader.cantAttachToChat"),e[11]=i,e[12]=d):d=e[12];let b;e[13]!==d||e[14]!==u?(b=h.jsxs(ke,{className:"mt-1.5 text-sm leading-relaxed",children:[u," ",d]}),e[13]=d,e[14]=u,e[15]=b):b=e[15];let F;e[16]!==b||e[17]!==p?(F=h.jsxs("div",{className:"relative px-8 pt-8 pb-2 overflow-hidden",children:[g,h.jsxs(we,{className:"relative gap-4",children:[k,h.jsxs("div",{children:[p,b]})]})]}),e[16]=b,e[17]=p,e[18]=F):F=e[18];const _=r?.modelName??"";let S;e[19]!==i||e[20]!==_?(S=i("chat.uploader.accepts",{modelName:_}),e[19]=i,e[20]=_,e[21]=S):S=e[21];let j;e[22]!==S?(j=h.jsx("div",{className:"text-xs font-medium text-muted-foreground mb-2",children:S}),e[22]=S,e[23]=j):j=e[23];let I;e[24]===Symbol.for("react.memo_cache_sentinel")?(I=h.jsx(Oe,{size:14,className:"text-muted-foreground"}),e[24]=I):I=e[24];const L=r?.accepted;let D;e[25]!==L?(D=h.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground",children:[I,h.jsx("span",{className:"capitalize",children:L})]}),e[25]=L,e[26]=D):D=e[26];let a;e[27]!==j||e[28]!==D?(a=h.jsx("div",{className:"px-8 pt-3 pb-6 space-y-3",children:h.jsxs("div",{className:"surface p-4",children:[j,D]})}),e[27]=j,e[28]=D,e[29]=a):a=e[29];let f;e[30]!==i?(f=i("chat.uploader.gotIt"),e[30]=i,e[31]=f):f=e[31];let x;e[32]!==s||e[33]!==f?(x=h.jsx("div",{className:"px-8 py-4 border-t border-border bg-muted/30 flex items-center justify-end",children:h.jsx(be,{onClick:s,children:f})}),e[32]=s,e[33]=f,e[34]=x):x=e[34];let P;e[35]!==F||e[36]!==a||e[37]!==x?(P=h.jsxs(Pe,{className:"sm:max-w-[480px] gap-0 p-0 overflow-hidden",onOpenAutoFocus:Ye,children:[F,a,x]}),e[35]=F,e[36]=a,e[37]=x,e[38]=P):P=e[38];let M;return e[39]!==o||e[40]!==l||e[41]!==P?(M=h.jsx(Ce,{open:o,onOpenChange:l,children:P}),e[39]=o,e[40]=l,e[41]=P,e[42]=M):M=e[42],M}function Ye(t){return t.preventDefault()}function Pt(){const t=B.c(3),[e,r]=C.useState(null);let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>r(null),t[0]=s):s=t[0];let i;return t[1]!==e?(i={unsupportedFile:e,onUnsupportedFile:r,clearUnsupportedFile:s},t[1]=e,t[2]=i):i=t[2],i}function he(t,e){return e||t}const Ge=t=>{const e=B.c(50),{editor:r,virtualMcpId:s,suggestionOpenRef:i}=t,o=G(),l=le(),{org:c}=ce(),g=Ke();let k;e[0]!==c.id||e[1]!==c.slug||e[2]!==s?(k={connectionId:s,orgId:c.id,orgSlug:c.slug},e[0]=c.id,e[1]=c.slug,e[2]=s,e[3]=k):k=e[3];const m=me(k);let p;e[4]!==c.id||e[5]!==s?(p=Y.virtualMcpResources(s,c.id),e[4]=c.id,e[5]=s,e[6]=p):p=e[6];const n=p,[u,d]=C.useState("categories");let b;e[7]!==u?(b=()=>u,e[7]=u,e[8]=b):b=e[8];const F=C.useEffectEvent(b),_=C.useRef(null),S=C.useRef(!1),j=s??"default";let I;e[9]!==u||e[10]!==c.id||e[11]!==j?(I=["at-mention",c.id,j,u],e[9]=u,e[10]=c.id,e[11]=j,e[12]=I):I=e[12];const L=I;let D;e[13]!==o?(D=o("chat.mentionAt.agentsTitle"),e[13]=o,e[14]=D):D=e[14];let a;e[15]!==o?(a=o("chat.mentionAt.agentsDescription"),e[15]=o,e[16]=a):a=e[16];let f;e[17]!==D||e[18]!==a?(f={name:"agents",title:D,description:a,kind:"category",drillable:!0},e[17]=D,e[18]=a,e[19]=f):f=e[19];let x;e[20]!==o?(x=o("chat.mentionAt.resourcesTitle"),e[20]=o,e[21]=x):x=e[21];let P;e[22]!==o?(P=o("chat.mentionAt.resourcesDescription"),e[22]=o,e[23]=P):P=e[23];let M;e[24]!==P||e[25]!==x?(M={name:"resources",title:x,description:P,kind:"category",drillable:!0},e[24]=P,e[25]=x,e[26]=M):M=e[26];let v;e[27]!==M||e[28]!==f?(v=[f,M],e[27]=M,e[28]=f,e[29]=v):v=e[29];const $=v;let O;e[30]!==m||e[31]!==r||e[32]!==o?(O=async U=>{const{item:w,range:K}=U;if(Q("chat_picker_item_selected",{picker:"@",item_kind:w.kind,item_name:w.name}),w.kind!=="category"&&(S.current=!0),w.kind==="category")return d(w.name==="agents"?"agents":"resources"),!1;if(w.kind==="agent"&&w.agentId){J(r,K,{id:w.agentId,name:w.name,metadata:{agentId:w.agentId,title:w.name},char:"@"}),d("categories");return}if(w.kind==="resource"&&w.uri&&m){try{const T=await ue(m,w.uri);J(r,K,{id:w.uri,name:w.uri,metadata:T.contents,char:"@"})}catch(T){console.error("[at-mention] Failed to fetch resource:",T),A.error(o("chat.mentionAt.failedToLoadResource"))}d("categories");return}},e[30]=m,e[31]=r,e[32]=o,e[33]=O):O=e[33];const q=O;let y;e[34]!==g||e[35]!==$||e[36]!==m||e[37]!==F||e[38]!==l||e[39]!==n||e[40]!==s?(y=async U=>{const{query:w}=U,K=F();if(K==="categories"){if(!w.trim())return $;const R=w.toLowerCase(),E=g.filter(N=>N.status==="active"&&(!N.id||!re(N.id))&&N.id!==s&&(N.title.toLowerCase().includes(R)||N.description?.toLowerCase().includes(R))).map(Ze),X=await(async()=>{if(!m)return[];let N=l.getQueryData(n);return N||(N=await l.fetchQuery({queryKey:n,queryFn:()=>z(m),staleTime:6e4})),(N?.resources??[]).filter(te=>te.uri.toLowerCase().includes(R)||te.name?.toLowerCase().includes(R)||te.description?.toLowerCase().includes(R)).map(et)})();return[...E,...X]}if(K==="agents"){let R=g.filter(E=>E.status==="active"&&(!E.id||!re(E.id))&&E.id!==s);if(w.trim()){const E=w.toLowerCase();R=R.filter(X=>X.title.toLowerCase().includes(E)||X.description?.toLowerCase().includes(E))}return R.map(tt)}if(!m)return[];let T=l.getQueryData(n);T?l.fetchQuery({queryKey:n,queryFn:()=>z(m),staleTime:6e4}).catch(st):T=await l.fetchQuery({queryKey:n,queryFn:()=>z(m),staleTime:6e4});let W=T?.resources??[];if(w.trim()){const R=w.toLowerCase();W=W.filter(E=>E.uri.toLowerCase().includes(R)||E.name?.toLowerCase().includes(R)||E.description?.toLowerCase().includes(R))}return W.map(rt)},e[34]=g,e[35]=$,e[36]=m,e[37]=F,e[38]=l,e[39]=n,e[40]=s,e[41]=y):y=e[41];const Z=y;let H;e[42]!==i?(H=U=>{if(i&&(i.current=U),U)_.current=Date.now(),S.current=!1,Q("chat_picker_opened",{picker:"@"});else{const w=_.current;Q("chat_picker_closed",{picker:"@",outcome:S.current?"selected":"dismissed",duration_ms:w?Date.now()-w:null}),_.current=null,d("categories")}},e[42]=i,e[43]=H):H=e[43];const ee=H;let V;return e[44]!==r||e[45]!==Z||e[46]!==q||e[47]!==ee||e[48]!==L?(V=h.jsx(de,{editor:r,char:"@",pluginKey:"atDropdownMenu",queryKey:L,queryFn:Z,onSelect:q,onOpenChange:ee}),e[44]=r,e[45]=Z,e[46]=q,e[47]=ee,e[48]=L,e[49]=V):V=e[49],V};function Ze(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function et(t){return{name:he(t.uri,t.name),title:t.name,description:t.description,kind:"resource",uri:t.uri}}function tt(t){return{name:t.title,title:t.title,description:t.description??void 0,icon:t.icon??null,kind:"agent",agentId:t.id}}function st(){}function rt(t){return{name:he(t.uri,t.name),title:t.name,description:t.description,kind:"resource",uri:t.uri}}async function ie(t,e,r,s,i,o,l){try{const c=await pe(r,s,o);J(t,e,{id:s,name:fe(s,i),metadata:c.messages,char:"/",kind:"prompt",args:o})}catch(c){console.error("[slash] Failed to fetch prompt:",c),A.error(l.t("chat.mentionSlash.failedLoadPrompt"))}}async function nt(t,e,r,s,i){try{const o=await ue(r,s);J(t,e,{id:s,name:s,metadata:o.contents,char:"/",kind:"resource"})}catch(o){console.error("[slash] Failed to fetch resource:",o),A.error(i.t("chat.mentionSlash.failedLoadResource"))}}async function ot(t,e,r,s,i){try{const{files:o,omittedPaths:l}=await ze(r,s.volume,s.path),c={sandboxPath:s.sandboxPath,volume:s.volume,path:s.path,files:o,omittedPaths:l};J(t,e,{id:s.id,name:s.name,metadata:c,char:"/",kind:"skill"})}catch(o){console.error("[slash] Failed to fetch skill:",o),A.error(i.t("chat.mentionSlash.failedLoadSkill"))}}const it=({editor:t,virtualMcpId:e,suggestionOpenRef:r})=>{const s=G(),i=le(),{org:o}=ce(),l=me({connectionId:e,orgId:o.id,orgSlug:o.slug}),c=Y.virtualMcpPrompts(e,o.id),g=Y.virtualMcpResources(e,o.id),k=Y.slashSkills(o.id),m=["slash-mention",o.id,e??"default"],[p,n]=C.useState(null),[u,d]=C.useState(null),b=je(t);b&&(b.onEditChip=async a=>{if(l)try{const x=(await ae(i,c,l)).find(P=>P.name===a.promptId);if(!x?.arguments||x.arguments.length===0)return;d({...a,prompt:x})}catch(f){console.error("[slash] Failed to load prompt for editing:",f),A.error(s("chat.mentionSlash.failedLoadPrompt"))}});const F=C.useRef(null),_=C.useRef(!1),S=async({item:a,range:f})=>{if(Q("chat_picker_item_selected",{picker:"/",item_kind:a.kind,item_name:a.name}),_.current=!0,!!l)if(a.kind==="prompt"){if(a.arguments&&a.arguments.length>0){n({range:f,item:a});return}const x=se(a._meta);await ie(t,f,l,a.name,x,void 0,{t:s})}else a.kind==="skill"?a.skill&&await ot(t,f,o.slug,a.skill,{t:s}):a.uri&&await nt(t,f,l,a.uri,{t:s})},j=async a=>{if(!p||!l)return;const{range:f,item:x}=p,P=se(x._meta);await ie(t,f,l,x.name,P,a,{t:s}),n(null)},I=async a=>{if(!(!u||!l)){if(!ve(t,u.pos,u.promptId)){A.error(s("chat.mentionSlash.failedUpdatePrompt")),d(null);return}try{const f=await pe(l,u.promptId,a),x=se(u.prompt._meta);t.chain().focus().setNodeSelection(u.pos).deleteSelection().insertContentAt(u.pos,Me({id:u.promptId,name:fe(u.promptId,x),metadata:f.messages,char:"/",kind:"prompt",args:a})).run(),Q("chat_picker_item_selected",{picker:"/edit",item_kind:"prompt",item_name:u.promptId})}catch(f){console.error("[slash] Failed to update prompt:",f),A.error(s("chat.mentionSlash.failedUpdatePrompt"))}d(null)}},L=async a=>{const{query:f}=a;if(!l)return[];const[x,P,M]=await Promise.all([ae(i,c,l),lt(i,g,l),at(i,k,o.slug)]),v=f.trim().toLowerCase(),$=(x??[]).filter(y=>!v||y.name.toLowerCase().includes(v)||y.title?.toLowerCase().includes(v)||y.description?.toLowerCase().includes(v)).map(y=>({name:y.name,title:y.title,description:y.description,kind:"prompt",arguments:y.arguments,_meta:y._meta})),O=(P??[]).filter(y=>!v||y.uri.toLowerCase().includes(v)||y.name?.toLowerCase().includes(v)||y.description?.toLowerCase().includes(v)).map(y=>({name:y.name??y.uri,title:y.name,description:y.description,kind:"resource",uri:y.uri})),q=(M??[]).filter(y=>!v||y.name.toLowerCase().includes(v)||y.id.toLowerCase().includes(v)||y.description?.toLowerCase().includes(v)).map(y=>({name:y.name,title:y.name,description:y.description??void 0,kind:"skill",skill:y}));return[...$,...O,...q]},D=p?.item.kind==="prompt"?{name:p.item.name,title:p.item.title,arguments:p.item.arguments,description:p.item.description,_meta:p.item._meta}:null;return h.jsxs(h.Fragment,{children:[h.jsx(de,{editor:t,char:"/",pluginKey:"slashDropdownMenu",queryKey:m,queryFn:L,onSelect:S,onOpenChange:a=>{if(r&&(r.current=a),a)F.current=Date.now(),_.current=!1,Q("chat_picker_opened",{picker:"/"});else{const f=F.current;Q("chat_picker_closed",{picker:"/",outcome:_.current?"selected":"dismissed",duration_ms:f?Date.now()-f:null}),F.current=null}}}),h.jsx(ne,{prompt:D,setPrompt:()=>n(null),onSubmit:j}),h.jsx(ne,{prompt:u?.prompt??null,setPrompt:()=>d(null),onSubmit:I,defaultValues:u?.args},u?`edit-${u.promptId}-${u.pos}`:"edit-idle")]})};async function ae(t,e,r){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>oe(r),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>oe(r),staleTime:6e4}).catch(()=>{}),s?.prompts??[]}async function at(t,e,r){const s=t.getQueryData(e),i=()=>t.fetchQuery({queryKey:e,queryFn:()=>Je(r),staleTime:6e4});return s?(i().catch(()=>{}),s):i().catch(()=>[])}async function lt(t,e,r){let s=t.getQueryData(e);return s?t.fetchQuery({queryKey:e,queryFn:()=>z(r),staleTime:6e4}).catch(()=>{}):s=await t.fetchQuery({queryKey:e,queryFn:()=>z(r),staleTime:6e4}).catch(()=>{}),s?.resources??[]}const ge="Ask anything, / for prompts & skills, @ for agents & resources...";function ct(t){return[Te.configure({heading:!1,blockquote:!1,codeBlock:!1,horizontalRule:!1,dropcursor:!1}),_e.configure({placeholder:()=>t.current??ge,showOnlyWhenEditable:!1}),Ae,Ne]}function Ct({tiptapDoc:t,setTiptapDoc:e,disabled:r=!1,enterToSubmit:s=!1,placeholder:i,onSubmit:o,suggestionOpenRef:l,children:c}){const g=C.useRef(o),k=C.useRef(e),m=C.useRef(s),p=C.useRef(i),n=Le({extensions:ct(p),content:t||"",editorProps:{attributes:{"data-chat-input":"true",role:"textbox","aria-multiline":"true","aria-label":i??ge,class:"prose prose-sm max-w-none focus:outline-none w-full h-full text-[14px] max-md:text-base p-[18px]"},handleKeyDown:(u,d)=>d.key==="Enter"&&!d.shiftKey&&m.current&&!l?.current?(d.preventDefault(),g.current?.(),!0):!1},onUpdate:({editor:u})=>{k.current(u?.getJSON())}});return C.useEffect(()=>{n?.setEditable(!r)},[n,r]),C.useEffect(()=>{g.current=o},[o]),C.useEffect(()=>{k.current=e},[e]),C.useEffect(()=>{m.current=s},[s]),C.useEffect(()=>{p.current=i},[i]),C.useEffect(()=>{if(!n||n.isDestroyed)return;const u=JSON.stringify(n.getJSON()),d=JSON.stringify(t||{type:"doc",content:[]});u!==d&&n.commands.setContent(t||{type:"doc",content:[]})},[n,t]),h.jsx(Re.Provider,{value:{editor:n},children:c})}function St(t){const e=B.c(29),{disabled:r,virtualMcpId:s,showFileUploader:i,selectedModel:o,onUnsupportedFile:l,suggestionOpenRef:c,ref:g,className:k}=t,m=r===void 0?!1:r,p=i===void 0?!1:i,{editor:n}=Ee();let u,d;if(e[0]!==n?(u=()=>({focus:()=>{n?.commands.focus()},clear:()=>{n?.commands.clearContent(!0)},appendText:x=>{if(!n)return;const P=n.state.doc.textContent.trim()==="";n.commands.focus("end"),P||n.commands.insertContent(" "),n.commands.insertContent(x)},syncVoiceText:(x,P)=>{if(n&&(n.commands.setContent(x||{type:"doc",content:[]}),P)){n.commands.focus("end");const M=n.state.doc.textContent.trim().length>0;n.commands.insertContent({type:"text",text:M?" "+P:P})}},restoreContent:x=>{n&&n.commands.setContent(x||{type:"doc",content:[]})}}),d=[n],e[0]=n,e[1]=u,e[2]=d):(u=e[1],d=e[2]),C.useImperativeHandle(g??null,u,d),!n)return null;const b=m&&"cursor-not-allowed opacity-70",F=m&&"[&_.ProseMirror]:cursor-not-allowed";let _;e[3]!==k||e[4]!==b||e[5]!==F?(_=Se("overflow-y-auto relative flex-1 max-h-[164px] min-h-[20px] w-full flex flex-col",k,"[&_.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",b,F),e[3]=k,e[4]=b,e[5]=F,e[6]=_):_=e[6];let S;e[7]!==n||e[8]!==_?(S=h.jsx(Qe,{editor:n,className:_}),e[7]=n,e[8]=_,e[9]=S):S=e[9];const j=s??null;let I;e[10]!==n||e[11]!==c||e[12]!==j?(I=h.jsx(C.Suspense,{fallback:null,children:h.jsx(it,{editor:n,virtualMcpId:j,suggestionOpenRef:c})}),e[10]=n,e[11]=c,e[12]=j,e[13]=I):I=e[13];const L=s??null;let D;e[14]!==n||e[15]!==c||e[16]!==L?(D=h.jsx(C.Suspense,{fallback:null,children:h.jsx(Ge,{editor:n,virtualMcpId:L,suggestionOpenRef:c})}),e[14]=n,e[15]=c,e[16]=L,e[17]=D):D=e[17];let a;e[18]!==m||e[19]!==n||e[20]!==l||e[21]!==o||e[22]!==p?(a=p&&o&&!m?h.jsx(Ve,{editor:n,selectedModel:o,onUnsupportedFile:l}):null,e[18]=m,e[19]=n,e[20]=l,e[21]=o,e[22]=p,e[23]=a):a=e[23];let f;return e[24]!==I||e[25]!==D||e[26]!==a||e[27]!==S?(f=h.jsxs(h.Fragment,{children:[S,I,D,a]}),e[24]=I,e[25]=D,e[26]=a,e[27]=S,e[28]=f):f=e[28],f}export{Ct as T,bt as U,St as a,Be as p,Pt as u};