decocms 4.158.6 → 4.158.8

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 (224) hide show
  1. package/dist/client/assets/{AlertCircle-lTTWUEMU.js → AlertCircle-CcLTLkng.js} +1 -1
  2. package/dist/client/assets/{AreaChart-WDJcR41f.js → AreaChart-DN1HqqOc.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-D-aW3xP7.js → ArrowUp-BusqDpOX.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-DvNXT-Nj.js → ArrowUpRight-C7V7ulJo.js} +1 -1
  5. package/dist/client/assets/{Check-Bd6u0VrD.js → Check-U3b2DkTc.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-DTYISX0m.js → CheckCircle-B2xteS2C.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-oH9DuKDx.js → ChevronDown-DOwhP31q.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-DvQgYnr6.js → ChevronRight-Dyg5U1pu.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-CE2DUxaf.js → ChevronUp-_cXYt63P.js} +1 -1
  10. package/dist/client/assets/{Copy01-DQch-m6v.js → Copy01-BOnAtrb2.js} +1 -1
  11. package/dist/client/assets/{CpuChip01-DLQUO_Sa.js → CpuChip01-m5nf2JoX.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-CuiFLbx8.js → DotsVertical-CKaXt4cW.js} +1 -1
  13. package/dist/client/assets/{Eye-DvlIrUXV.js → Eye-bWQ9UaCm.js} +1 -1
  14. package/dist/client/assets/{FilterLines-CpvFNn2w.js → FilterLines-D8jNh3a1.js} +1 -1
  15. package/dist/client/assets/{HardDrive-DJceZ5q1.js → HardDrive-k5W51oiW.js} +1 -1
  16. package/dist/client/assets/{Key01-BpW2vzpt.js → Key01-CrScrj2r.js} +1 -1
  17. package/dist/client/assets/{LayoutLeft-6xCaP7tB.js → LayoutLeft-CRPaWpwk.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-DLrde4KW.js → LinkExternal01-D3eG8VhZ.js} +1 -1
  19. package/dist/client/assets/{LogOut01-DGWiOe1V.js → LogOut01-DJkEd9fi.js} +1 -1
  20. package/dist/client/assets/{Monitor01-BvnXD2hP.js → Monitor01-rPAJG_yg.js} +1 -1
  21. package/dist/client/assets/{Palette-CJumCrC7.js → Palette-gt906-sM.js} +1 -1
  22. package/dist/client/assets/{Play-DbAjlvIl.js → Play-DBtQafyH.js} +1 -1
  23. package/dist/client/assets/{Plus-BFSEg_7B.js → Plus-ChZdPiym.js} +1 -1
  24. package/dist/client/assets/{SearchLg-Ieu9vZvC.js → SearchLg-BYU4RHgA.js} +1 -1
  25. package/dist/client/assets/{SearchMd-CrQt6y-B.js → SearchMd-UM_a16QZ.js} +1 -1
  26. package/dist/client/assets/{Settings02-CkFRJpfr.js → Settings02-DY-EcorK.js} +1 -1
  27. package/dist/client/assets/{Shield01-BOqMtnLm.js → Shield01-DpUwOECW.js} +1 -1
  28. package/dist/client/assets/{Star01-CGickKgx.js → Star01-DnbEPX-J.js} +1 -1
  29. package/dist/client/assets/{Stars01-Cw6s8erD.js → Stars01-Zscl6Kwf.js} +1 -1
  30. package/dist/client/assets/{Stars02-QCrS7e8R.js → Stars02-8dTTs6Ad.js} +1 -1
  31. package/dist/client/assets/{Sun-BUZqBhsx.js → Sun-C-r0AnUa.js} +1 -1
  32. package/dist/client/assets/{SwitchHorizontal01-CxfWE_kZ.js → SwitchHorizontal01-BYvmePpB.js} +1 -1
  33. package/dist/client/assets/{Tool01-DHXL6ASx.js → Tool01-Db-Gn0no.js} +1 -1
  34. package/dist/client/assets/{Tool02-BwYDEH8f.js → Tool02-mYnQBUr3.js} +1 -1
  35. package/dist/client/assets/{Trash01-DjPMVurl.js → Trash01-oZDez7Zj.js} +1 -1
  36. package/dist/client/assets/{TrendUp01-iOAvXa8g.js → TrendUp01-DeHcIVuJ.js} +1 -1
  37. package/dist/client/assets/{Upload01-D3StNHE7.js → Upload01-BQ2q7MB5.js} +1 -1
  38. package/dist/client/assets/{User01-BcddlGTT.js → User01-D64L6g6R.js} +1 -1
  39. package/dist/client/assets/{Users01-C_tnIW4O.js → Users01-GTL5_eEz.js} +1 -1
  40. package/dist/client/assets/{Users03-BoO35_ph.js → Users03-wQHJp2Ll.js} +1 -1
  41. package/dist/client/assets/{X-BAlz9y4D.js → X-DzrdgzZX.js} +1 -1
  42. package/dist/client/assets/{XCircle-qul2XSxU.js → XCircle-CvSgXPq9.js} +1 -1
  43. package/dist/client/assets/{XClose-B01M5ouq.js → XClose-DEl7AplN.js} +1 -1
  44. package/dist/client/assets/{Zap-neWmAKn3.js → Zap-DnjKQP4m.js} +1 -1
  45. package/dist/client/assets/{ZapSquare-CH9m3OmW.js → ZapSquare-B3pGHHSV.js} +1 -1
  46. package/dist/client/assets/{access-gate-DsZvNNz_.js → access-gate-CnlSPs0z.js} +1 -1
  47. package/dist/client/assets/{add-section-modal-DnJ-HSH_.js → add-section-modal-D0qMMTGl.js} +1 -1
  48. package/dist/client/assets/{agent-icon-BheQx5Pn.js → agent-icon-kNyCP01G.js} +1 -1
  49. package/dist/client/assets/{agents-list-BYN2kJ7T.js → agents-list-PlQd6u2c.js} +1 -1
  50. package/dist/client/assets/{ai-providers-CcXV79cC.js → ai-providers-D8IOcK2P.js} +1 -1
  51. package/dist/client/assets/{alert-CUWNa0c5.js → alert-CUR1XYgi.js} +1 -1
  52. package/dist/client/assets/{alert-dialog-Bfg941Jb.js → alert-dialog-C2AlVw0C.js} +1 -1
  53. package/dist/client/assets/{app-editor-dC_iT2zx.js → app-editor-Cv0YaJ9H.js} +1 -1
  54. package/dist/client/assets/{auth-BcGBurxu.js → auth-BuuCShZ3.js} +1 -1
  55. package/dist/client/assets/{auth-catchall-B0lC8pkR.js → auth-catchall-BPu_9aQc.js} +1 -1
  56. package/dist/client/assets/{auth-entry-DWs65PK7.js → auth-entry-Dos_AM_-.js} +1 -1
  57. package/dist/client/assets/{auth-split-layout-DjlqFHJ2.js → auth-split-layout-CqOwdPoQ.js} +1 -1
  58. package/dist/client/assets/{authenticate-and-persist-oauth-Dqvsv-8n.js → authenticate-and-persist-oauth-CiObpIlc.js} +1 -1
  59. package/dist/client/assets/{automation-list-row-DPrUywE1.js → automation-list-row-CHh7Gwdm.js} +1 -1
  60. package/dist/client/assets/{automation-runs-Da7lsqbU.js → automation-runs-D7xV_UI5.js} +1 -1
  61. package/dist/client/assets/{automations-Cm30DCm2.js → automations-CYYj5Yse.js} +1 -1
  62. package/dist/client/assets/{avatar-B9yuhRUl.js → avatar-B03gc0nF.js} +1 -1
  63. package/dist/client/assets/{badge-w8Lt-Bnh.js → badge-BEDLZc_R.js} +1 -1
  64. package/dist/client/assets/{block-document-B3Gj7Sj9.js → block-document-uVYrdUaW.js} +1 -1
  65. package/dist/client/assets/{brand-context-Bi-L1VL3.js → brand-context-tfE6Gj2_.js} +1 -1
  66. package/dist/client/assets/{buckets-CiLTiLe8.js → buckets-Di-X2zl0.js} +1 -1
  67. package/dist/client/assets/{bulk-category-panel-Bg4FDBO2.js → bulk-category-panel-C1XBcgR9.js} +1 -1
  68. package/dist/client/assets/{calendar-DM4Uk4eV.js → calendar-5SJUEb1a.js} +1 -1
  69. package/dist/client/assets/{capability-load-error-p6YPxTDK.js → capability-load-error-Cyki-mOC.js} +1 -1
  70. package/dist/client/assets/{card-DN6lm2yH.js → card-CbMSgRJp.js} +1 -1
  71. package/dist/client/assets/{category-editor-BzhDUXCy.js → category-editor-BQ42Wyb3.js} +1 -1
  72. package/dist/client/assets/{chat-context-Dv8bRIPL.js → chat-context-Tk4Ojgby.js} +1 -1
  73. package/dist/client/assets/{checkbox-BMr_PO6b.js → checkbox-2eV7GjSr.js} +1 -1
  74. package/dist/client/assets/{cli-auth-success-nKX7ZXyB.js → cli-auth-success-BKZmH1MX.js} +1 -1
  75. package/dist/client/assets/{collection-detail-C1gcD3fl.js → collection-detail-BuMtj2XH.js} +1 -1
  76. package/dist/client/assets/{collection-display-button-Bhw6g8xL.js → collection-display-button-H5GQBiPz.js} +1 -1
  77. package/dist/client/assets/{collection-search-CV58SfyD.js → collection-search-CP0L_Sg4.js} +1 -1
  78. package/dist/client/assets/{collection-table-wrapper-BDnTnDqf.js → collection-table-wrapper-CasNB7Na.js} +1 -1
  79. package/dist/client/assets/{collection-tabs-BFpxwfo-.js → collection-tabs-C4XfVm2G.js} +1 -1
  80. package/dist/client/assets/{command-BQKp113e.js → command-CgCsgJj-.js} +1 -1
  81. package/dist/client/assets/{commerce-onboarding-FxnOW4Td.js → commerce-onboarding-BTxtuM-F.js} +1 -1
  82. package/dist/client/assets/{companions-core-DY5A4263.js → companions-core-CQfY7AED.js} +1 -1
  83. package/dist/client/assets/{connect-CcLBNrX3.js → connect-q9recsqE.js} +1 -1
  84. package/dist/client/assets/{connection-kJKdETe2.js → connection-CdHiw_2m.js} +1 -1
  85. package/dist/client/assets/{connection-card-enZOgTi6.js → connection-card-C6MerF-S.js} +1 -1
  86. package/dist/client/assets/{connection-detail-nC6m5KkH.js → connection-detail-CMTJ0a8J.js} +1 -1
  87. package/dist/client/assets/{connection-form-helpers-i7AxywDM.js → connection-form-helpers-Bk11zT3H.js} +1 -1
  88. package/dist/client/assets/{connections-CrmV-nT3.js → connections-Cff2pYTq.js} +1 -1
  89. package/dist/client/assets/{decopilot-sse-pool-B12plIrH.js → decopilot-sse-pool-C3wASpgj.js} +1 -1
  90. package/dist/client/assets/{dialog-CBwoDwRx.js → dialog-CevrI9-5.js} +1 -1
  91. package/dist/client/assets/{domain-settings-CQOURtKC.js → domain-settings-CWex-IYG.js} +1 -1
  92. package/dist/client/assets/{drawer-DE26Mw6v.js → drawer-B6T_nRGe.js} +1 -1
  93. package/dist/client/assets/{dropdown-menu-C34dOntG.js → dropdown-menu-DXKSQdvX.js} +1 -1
  94. package/dist/client/assets/{empty-state-BqieDQ9B.js → empty-state-Dj6A_VjW.js} +1 -1
  95. package/dist/client/assets/{extract-connection-data-Vj_s2Cie.js → extract-connection-data-Dc9pZlxk.js} +1 -1
  96. package/dist/client/assets/{file-explorer-Dc1he1NW.js → file-explorer-DKDVlhab.js} +1 -1
  97. package/dist/client/assets/{form-BClU0ctX.js → form-B1W_PZT_.js} +1 -1
  98. package/dist/client/assets/{general-B7WNNY--.js → general-NxI97IX-.js} +1 -1
  99. package/dist/client/assets/github-repo-picker-Cxc3hKp2.js +1 -0
  100. package/dist/client/assets/{hooks-c2Ish0Ce.js → hooks-BHFA89Bx.js} +1 -1
  101. package/dist/client/assets/{index-eCWQQsZc.js → index-B1OnpZud.js} +1 -1
  102. package/dist/client/assets/index-Be-8L47z.css +1 -0
  103. package/dist/client/assets/index-C6DOLYpJ.js +663 -0
  104. package/dist/client/assets/{index-DKGBc2Fv.js → index-C9c-GovZ.js} +1 -1
  105. package/dist/client/assets/{index-DQS9sXll.js → index-CES2ak8a.js} +1 -1
  106. package/dist/client/assets/{index-C_6E6QBD.js → index-CQzsAi-_.js} +1 -1
  107. package/dist/client/assets/{index-w43tVHKL.js → index-Cbpqu3Us.js} +3 -3
  108. package/dist/client/assets/{index-MVNbeRhe.js → index-Da252sR6.js} +1 -1
  109. package/dist/client/assets/{index-rCxNU05y.js → index-DkgH5b4j.js} +1 -1
  110. package/dist/client/assets/{index-BSZkmwkX.js → index-Dn9QelPv.js} +29 -29
  111. package/dist/client/assets/{index-D1bsw67I.js → index-Dy7OM_qi.js} +1 -1
  112. package/dist/client/assets/{index-redirect-DqegiG4P.js → index-redirect-D3AW6cKz.js} +1 -1
  113. package/dist/client/assets/{index-asbM9uOf.js → index-tb8OhXaK.js} +1 -1
  114. package/dist/client/assets/{input-C-CugFd7.js → input-CW7fKzMn.js} +1 -1
  115. package/dist/client/assets/{integration-icon-CqYpMk1c.js → integration-icon-B7aUsgNS.js} +1 -1
  116. package/dist/client/assets/{invite-member-dialog-B4zUlmRf.js → invite-member-dialog-55AEsy2L.js} +1 -1
  117. package/dist/client/assets/{label-3VulnYNB.js → label-B10OcqOW.js} +1 -1
  118. package/dist/client/assets/{layout-CVJXIE8J.js → layout-CgCeMiUs.js} +1 -1
  119. package/dist/client/assets/{login-BlQ0Iazp.js → login-BYeP-KW9.js} +1 -1
  120. package/dist/client/assets/{mcp-oauth-DSGZuREA.js → mcp-oauth-D0B2B6eD.js} +1 -1
  121. package/dist/client/assets/{members-CFzt9n2U.js → members-DUYo0nqv.js} +1 -1
  122. package/dist/client/assets/{monaco-editor-Ch8Pmybe.js → monaco-editor-DgC_9sYS.js} +1 -1
  123. package/dist/client/assets/{monitoring-stats-row-DBK5iKIl.js → monitoring-stats-row--MFEdL-Y.js} +1 -1
  124. package/dist/client/assets/{multi-select-CM8umAnq.js → multi-select-Db-xtRxP.js} +1 -1
  125. package/dist/client/assets/{oauth-callback-GlJfJW3d.js → oauth-callback-Dm77JrqL.js} +1 -1
  126. package/dist/client/assets/{oauth-callback-ai-provider-DZGFhYnT.js → oauth-callback-ai-provider-BFMGBC8j.js} +1 -1
  127. package/dist/client/assets/{onboarding-CwtGP4Nl.js → onboarding-D05Z9iss.js} +1 -1
  128. package/dist/client/assets/{org-layout-Capemyj5.js → org-layout-ecRyWTIZ.js} +1 -1
  129. package/dist/client/assets/{organization-choice-Bb0vYmiy.js → organization-choice-CvHi9Iq7.js} +1 -1
  130. package/dist/client/assets/{orgs-CyLqK44G.js → orgs-J6vDKfiY.js} +1 -1
  131. package/dist/client/assets/{page-seo-form-CFx6UFU-.js → page-seo-form-CHQzAM2E.js} +1 -1
  132. package/dist/client/assets/{popover-Cv1lMm4W.js → popover-B-tkL6Mz.js} +1 -1
  133. package/dist/client/assets/{post-editor-BdgtG8Ia.js → post-editor-Dys80ILm.js} +1 -1
  134. package/dist/client/assets/{primitives-BtmW8RBV.js → primitives-DMKIJSJL.js} +1 -1
  135. package/dist/client/assets/{profile-CFlBtIKF.js → profile-BzYF9CIO.js} +1 -1
  136. package/dist/client/assets/project-app-view-CWukl740.js +1 -0
  137. package/dist/client/assets/record-editor-B_1TFgnF.js +1 -0
  138. package/dist/client/assets/{redirect-editor-2kzJI86A.js → redirect-editor-DlTZrW2z.js} +1 -1
  139. package/dist/client/assets/registry-CLsaVKIH.js +2 -0
  140. package/dist/client/assets/{registry-layout-rDaKt5oT.js → registry-layout-BFjo3bsf.js} +1 -1
  141. package/dist/client/assets/{reports-DZn6NFAi.js → reports-CmGfT9qE.js} +1 -1
  142. package/dist/client/assets/{require-capability-Dv2CKzjR.js → require-capability-oLOTz9uZ.js} +1 -1
  143. package/dist/client/assets/{required-auth-layout-z72XUaBB.js → required-auth-layout-6lOCKjYF.js} +1 -1
  144. package/dist/client/assets/{reset-password-CV4_3ycH.js → reset-password-B1QHcNwV.js} +1 -1
  145. package/dist/client/assets/{roles-BEod0mmk.js → roles-DhelWc0A.js} +1 -1
  146. package/dist/client/assets/{search-input-CTzowdrQ.js → search-input-BHApSsEW.js} +1 -1
  147. package/dist/client/assets/{secrets-vb8OfF_w.js → secrets-6YDtwWHE.js} +1 -1
  148. package/dist/client/assets/{sections-editor-Br3wWoKK.js → sections-editor-H7RztYqo.js} +1 -1
  149. package/dist/client/assets/{select-ByOVDaMv.js → select-_BZQFUiF.js} +1 -1
  150. package/dist/client/assets/{select-model-DJ-fZ6D9.js → select-model-L7VCGHDz.js} +1 -1
  151. package/dist/client/assets/{self-tool-result-Cm4NL9aR.js → self-tool-result-oE7sL6XG.js} +1 -1
  152. package/dist/client/assets/{seo-editor-CrEmPtU9.js → seo-editor-COa1JO5L.js} +1 -1
  153. package/dist/client/assets/{settings-layout-D1-f5Eot.js → settings-layout-CeZpYMWl.js} +1 -1
  154. package/dist/client/assets/{settings-section-DHclNGcv.js → settings-section-4vsWqKSf.js} +1 -1
  155. package/dist/client/assets/{shell-controls-bchDek5s.js → shell-controls-BsQCTxPO.js} +1 -1
  156. package/dist/client/assets/{shell-layout-CfRUSRc7.js → shell-layout-mgHTnCWh.js} +1 -1
  157. package/dist/client/assets/{sidebar-CE0wbO_z.js → sidebar-BXOBFxAr.js} +1 -1
  158. package/dist/client/assets/{skeleton-D-4N-eBD.js → skeleton-B3e0zgBK.js} +1 -1
  159. package/dist/client/assets/{spinner-e9Qq06ys.js → spinner-wIVB5JbV.js} +1 -1
  160. package/dist/client/assets/{sso-AelzSYPn.js → sso-BHbkLEwa.js} +1 -1
  161. package/dist/client/assets/{store-DsIXSWhv.js → store-BItYUBD3.js} +1 -1
  162. package/dist/client/assets/store-registry-BNw5_S5E.js +2 -0
  163. package/dist/client/assets/{studio-tools-Bjp9SK2-.js → studio-tools-Bc7qsum8.js} +1 -1
  164. package/dist/client/assets/{switch-BCEolZMu.js → switch-DKViU8n5.js} +1 -1
  165. package/dist/client/assets/{tab-id-B-7fTOLb.js → tab-id-C0DTsTEV.js} +1 -1
  166. package/dist/client/assets/{table-DxdxohgF.js → table-DqhV4B6P.js} +1 -1
  167. package/dist/client/assets/{tabs-BLG9dta7.js → tabs-By9baP-a.js} +1 -1
  168. package/dist/client/assets/{textarea-DJusPjuI.js → textarea-CDmQTaDs.js} +1 -1
  169. package/dist/client/assets/{toggle-group-CuFCRuWS.js → toggle-group-BgK4T7Sn.js} +1 -1
  170. package/dist/client/assets/{toolbar-CcsVd0qY.js → toolbar-C2pgDq8K.js} +1 -1
  171. package/dist/client/assets/{tooltip-av90mVdG.js → tooltip-7_qs63N8.js} +1 -1
  172. package/dist/client/assets/{use-ai-providers-D-qBcqL1.js → use-ai-providers-CDnfd5BM.js} +1 -1
  173. package/dist/client/assets/{use-automations-DDkXIpJd.js → use-automations-FSfVUwxK.js} +1 -1
  174. package/dist/client/assets/{use-autosave-DF-JOy9I.js → use-autosave-DQkpvw_k.js} +1 -1
  175. package/dist/client/assets/{use-capability-DRWCP4mX.js → use-capability-DWqbqyvG.js} +1 -1
  176. package/dist/client/assets/{use-clock-tick-Cj2XJ_kQ.js → use-clock-tick-zi1cIo4N.js} +1 -1
  177. package/dist/client/assets/{use-connection-D0sb-r5E.js → use-connection-DMc5yh5S.js} +1 -1
  178. package/dist/client/assets/{use-copy-DRC5NVq-.js → use-copy-BDSiecZE.js} +1 -1
  179. package/dist/client/assets/{use-create-virtual-mcp-DisU-8SJ.js → use-create-virtual-mcp-C_hqfwgX.js} +1 -1
  180. package/dist/client/assets/{use-debounced-autosave-Dtw_qE4w.js → use-debounced-autosave-ZU5TZrb9.js} +1 -1
  181. package/dist/client/assets/{use-debounced-value-DOqkST2R.js → use-debounced-value-CPn-3TRr.js} +1 -1
  182. package/dist/client/assets/{use-deco-credits-BkIvat1X.js → use-deco-credits-4-Enu1S7.js} +1 -1
  183. package/dist/client/assets/{use-decopilot-events-Cw_x8Ftp.js → use-decopilot-events-DUSynSW-.js} +1 -1
  184. package/dist/client/assets/{use-delete-connection-C0swVn0i.js → use-delete-connection-BLueJow8.js} +1 -1
  185. package/dist/client/assets/{use-deployment-admin-BptIPTzO.js → use-deployment-admin-CFP0u9u4.js} +1 -1
  186. package/dist/client/assets/{use-file-configs-C7glUyTc.js → use-file-configs-DNh3yTwi.js} +1 -1
  187. package/dist/client/assets/{use-infinite-scroll-Dl_b01U3.js → use-infinite-scroll-CPW-89cy.js} +1 -1
  188. package/dist/client/assets/{use-join-requests-Cxa9Va-D.js → use-join-requests-XiXz1TXa.js} +1 -1
  189. package/dist/client/assets/{use-mcp-auth-status-CZ7xyINB.js → use-mcp-auth-status-Byp-TS5n.js} +1 -1
  190. package/dist/client/assets/{use-mcp-client-DGElKfeh.js → use-mcp-client-BJb7Q8yj.js} +1 -1
  191. package/dist/client/assets/{use-mcp-tools-DF1lJn8f.js → use-mcp-tools-BheE5NkI.js} +1 -1
  192. package/dist/client/assets/{use-members-DaWPyZhm.js → use-members-Cyjps_7h.js} +1 -1
  193. package/dist/client/assets/{use-mobile-Dfxyb0uI.js → use-mobile-B4thjTn8.js} +1 -1
  194. package/dist/client/assets/{use-navigate-to-agent-IDYygjnW.js → use-navigate-to-agent-DB-S9Spj.js} +1 -1
  195. package/dist/client/assets/{use-org-auth-client-Bl-S2eL8.js → use-org-auth-client-5mKusUqT.js} +1 -1
  196. package/dist/client/assets/{use-org-sso-BlD5ikLQ.js → use-org-sso-C5HBrw3K.js} +1 -1
  197. package/dist/client/assets/{use-organization-roles-BrsWFq65.js → use-organization-roles-Dp37t_3O.js} +1 -1
  198. package/dist/client/assets/{use-organization-settings-DlJ4BO4W.js → use-organization-settings-CKLx1CMn.js} +1 -1
  199. package/dist/client/assets/{use-registry-connections-1hNMXokN.js → use-registry-connections-C7euYD6o.js} +1 -1
  200. package/dist/client/assets/{use-secrets-BgcWIPZI.js → use-secrets--dmMFYQT.js} +1 -1
  201. package/dist/client/assets/{use-status-sounds-B1ygAiqK.js → use-status-sounds-Wwlae5bG.js} +1 -1
  202. package/dist/client/assets/{use-tags-B-1trAXi.js → use-tags-D0raU1tH.js} +1 -1
  203. package/dist/client/assets/{use-view-mode-D-FuYlXK.js → use-view-mode-CcHiSbcs.js} +1 -1
  204. package/dist/client/assets/{use-virtual-mcp-C5vasSxg.js → use-virtual-mcp-BFGD1fF1.js} +1 -1
  205. package/dist/client/assets/useInfiniteQuery-MefwINr7.js +1 -0
  206. package/dist/client/assets/{useQueries--LvMWNmo.js → useQueries-CoF92ndr.js} +1 -1
  207. package/dist/client/assets/{useRouterState-DcEdAvNh.js → useRouterState-DNcLPXHW.js} +1 -1
  208. package/dist/client/assets/useSuspenseInfiniteQuery-CdjKnFUD.js +1 -0
  209. package/dist/client/assets/{users-Dxk2ende.js → users-D08nekTc.js} +1 -1
  210. package/dist/client/assets/{variant-calendar-COb30Ym0.js → variant-calendar-Cajb9sxy.js} +1 -1
  211. package/dist/client/assets/{view-mode-toggle-CFBJNjxo.js → view-mode-toggle-DwjW75hm.js} +1 -1
  212. package/dist/client/index.html +2 -2
  213. package/dist/server/cli.js +1 -1
  214. package/dist/server/server.js +1 -1
  215. package/package.json +1 -1
  216. package/dist/client/assets/github-repo-picker-CnPejrvx.js +0 -1
  217. package/dist/client/assets/index-CYhSS9zf.css +0 -1
  218. package/dist/client/assets/index-SN9uaEuS.js +0 -663
  219. package/dist/client/assets/project-app-view-qbiW0P5Z.js +0 -1
  220. package/dist/client/assets/record-editor-ztp9JIJx.js +0 -1
  221. package/dist/client/assets/registry-CzzUjPet.js +0 -2
  222. package/dist/client/assets/store-registry-X1iNtQ_v.js +0 -2
  223. package/dist/client/assets/useInfiniteQuery-VnfUSxdE.js +0 -1
  224. package/dist/client/assets/useSuspenseInfiniteQuery-DVNzGoxF.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decocms",
3
- "version": "4.158.6",
3
+ "version": "4.158.8",
4
4
  "description": "Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools",
5
5
  "author": "Deco team",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- import{c as M,j as t,F as de,a as ye,o as me,r as $,$ as oe,b as ee,k as Z,e as ge,t as le,d$ as Ne,K as te,G as ve,n as ke,m as ae,B as re,x as Ce,y as Re}from"./index-BSZkmwkX.js";import{a as we,b as Pe,d as Se,e as Ie}from"./dialog-CBwoDwRx.js";import{C as _e}from"./collection-search-CV58SfyD.js";import{u as Te}from"./use-debounced-value-DOqkST2R.js";import{b as he,u as Ee}from"./use-connection-D0sb-r5E.js";import{W as Ae,u as se,S as pe}from"./use-mcp-client-DGElKfeh.js";import{a as be}from"./authenticate-and-persist-oauth-Dqvsv-8n.js";import{b as ue}from"./Settings02-CkFRJpfr.js";import{n as ze}from"./LinkExternal01-DLrde4KW.js";import{U as Le}from"./agent-icon-BheQx5Pn.js";import{u as Ge}from"./use-mcp-tools-DF1lJn8f.js";import{e as Oe}from"./extract-connection-data-Vj_s2Cie.js";import{c as Fe}from"./use-navigate-to-agent-IDYygjnW.js";import{g as Ue,p as fe,f as $e,G as xe}from"./provision-repo-scoped-github-connection-CAXumITS.js";function H(k){const e=M.c(4),{size:n,className:l}=k;let p;e[0]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"}),e[0]=p):p=e[0];let o;return e[1]!==l||e[2]!==n?(o=t.jsx("svg",{width:n,height:n,viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",className:l,children:p}),e[1]=l,e[2]=n,e[3]=o):o=e[3],o}function De(k,e){const n=M.c(12),{org:l}=de();let p;n[0]!==l.id?(p=Ae.REGISTRY(l.id),n[0]=l.id,n[1]=p):p=n[1];const o=p;let a;n[2]!==l.id||n[3]!==l.slug||n[4]!==o?(a={connectionId:o,orgId:l.id,orgSlug:l.slug},n[2]=l.id,n[3]=l.slug,n[4]=o,n[5]=a):a=n[5];const r=se(a);let s;n[6]!==k?(s={name:k},n[6]=k,n[7]=s):s=n[7];const u=e?.enabled??!0;let y;return n[8]!==r||n[9]!==s||n[10]!==u?(y={client:r,toolName:"COLLECTION_REGISTRY_APP_GET",toolArguments:s,enabled:u,staleTime:3e5,select:He},n[8]=r,n[9]=s,n[10]=u,n[11]=y):y=n[11],Ge(y)}function He(k){return k.structuredContent?.item??null}const Me="deco/mcp-github";function qe(k){const{org:e}=de(),{data:n}=ye.useSession(),l=he(),p=me(),[o,a]=$.useState("idle"),[r,s]=$.useState(null),[u,y]=$.useState(null),{data:N,isLoading:w}=De(Me,{enabled:k.enabled}),f=$.useRef(!1);k.enabled&&N&&!w&&!f.current&&n?.user?.id&&o==="idle"&&(f.current=!0,d());async function d(){if(!(!N||!n?.user?.id||!e))try{a("installing"),s(null);const c=Oe(N,e.id,n.user.id,{remoteIndex:0});if(!c.connection_url)throw new Error("Registry item is missing a remote URL for mcp-github");const{id:g}=await l.create.mutateAsync(c);a("authenticating");const j=await be({connectionId:g,orgId:e.id,orgSlug:e.slug,persistFallback:x=>l.update.mutateAsync({id:g,data:{connection_token:x}}).then(()=>{})});if(j.ran&&!j.ok){try{await l.delete.mutateAsync(g)}catch{}throw new Error(j.error&&j.error!=="no token received"?j.error:"No token received from GitHub")}oe(p,e.id),y(c),a("ready")}catch(c){s(c instanceof Error?c.message:String(c)),a("error")}}function m(){a("idle"),s(null),y(null),f.current=!1}return k.enabled&&w&&o==="idle"?{status:"installing",error:null,connection:null,retry:m}:{status:o,error:r,connection:u,retry:m}}function dt(k){const e=M.c(27),{open:n,onOpenChange:l,title:p,onImportComplete:o,mode:a}=k,r=a===void 0?"agent":a,s=ee();let u;e[0]!==r||e[1]!==s||e[2]!==p?(u=p??s(r==="connection"?"common.githubRepoPicker.addRepo":"common.githubRepoPicker.importFromGitHub"),e[0]=r,e[1]=s,e[2]=p,e[3]=u):u=e[3];const y=u,[N,w]=$.useState(null);let f;e[4]!==y?(f=t.jsx(we,{className:"sr-only",children:t.jsx(Pe,{children:y})}),e[4]=y,e[5]=f):f=e[5];let d;e[6]!==y||e[7]!==N||e[8]!==s?(d=t.jsx("div",{className:"flex items-center h-12 border-b border-border px-4 gap-3 shrink-0",children:N?t.jsxs(t.Fragment,{children:[t.jsx("button",{type:"button",onClick:()=>w(null),className:"flex items-center justify-center text-muted-foreground hover:text-foreground transition-colors shrink-0","aria-label":s("common.githubRepoPicker.backToAccounts"),children:t.jsx(ue,{size:16})}),t.jsx("img",{src:N.avatarUrl,alt:N.login,className:"size-5 rounded-full ring-1 ring-border shrink-0"}),t.jsx("span",{className:"text-sm font-medium text-foreground",children:N.login})]}):t.jsxs(t.Fragment,{children:[t.jsx(H,{className:"size-4 text-foreground shrink-0"}),t.jsx("span",{className:"text-sm font-medium text-foreground",children:y})]})}),e[6]=y,e[7]=N,e[8]=s,e[9]=d):d=e[9];let m;e[10]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(Z,{size:18,className:"animate-spin text-muted-foreground"})}),e[10]=m):m=e[10];let c;e[11]!==l?(c=()=>l(!1),e[11]=l,e[12]=c):c=e[12];let b;e[13]!==r||e[14]!==o||e[15]!==n||e[16]!==N||e[17]!==c?(b=t.jsx("div",{className:"flex-1 overflow-hidden flex flex-col min-w-0",children:t.jsx($.Suspense,{fallback:m,children:t.jsx(Be,{open:n,onComplete:c,selectedInstallation:N,onSelectInstallation:w,onImportComplete:o,mode:r})})}),e[13]=r,e[14]=o,e[15]=n,e[16]=N,e[17]=c,e[18]=b):b=e[18];let g;e[19]!==f||e[20]!==d||e[21]!==b?(g=t.jsxs(Se,{className:"sm:max-w-[560px] h-[85svh] sm:h-[520px] p-0 gap-0 overflow-hidden flex flex-col",children:[f,d,b]}),e[19]=f,e[20]=d,e[21]=b,e[22]=g):g=e[22];let j;return e[23]!==l||e[24]!==n||e[25]!==g?(j=t.jsx(Ie,{open:n,onOpenChange:l,children:g}),e[23]=l,e[24]=n,e[25]=g,e[26]=j):j=e[26],j}function Be({open:k,onComplete:e,selectedInstallation:n,onSelectInstallation:l,onImportComplete:p,mode:o="agent"}){const a=ee(),{org:r}=de(),s=me(),u=Fe(),[y,N]=$.useState(null),w=Ee({slug:"mcp-github"}),f=Ue(w),d=qe({enabled:k&&f.length===0}),m=f.length===1?f[0]??null:y,c=se({connectionId:m?.id??"",orgId:r.id,orgSlug:r.slug}),b=se({connectionId:pe,orgId:r.id,orgSlug:r.slug}),g=async(i,v)=>{try{const P=await c.callTool({name:"get_file_contents",arguments:{owner:i.owner,repo:i.name,path:v}});if(P.isError)return null;const S=P.content?.find(_=>_.type==="resource")?.resource?.text;if(!S)return null;try{const _=JSON.parse(S);return typeof _=="string"?_:JSON.stringify(_)}catch{return S}}catch{return null}},j=(i,v)=>{Promise.all([g(v,"AGENTS.md"),g(v,"CLAUDE.md")]).then(async([C,P])=>{const R=C??P??null;R&&(await b.callTool({name:"COLLECTION_VIRTUAL_MCP_UPDATE",arguments:{id:i,data:{metadata:{instructions:R}}}}),oe(s,r.id))}).catch(C=>{console.error("GitHub instructions fetch failed:",C)})},x=ge({mutationFn:async i=>{if(!m||!n)throw new Error("No GitHub connection or installation");const v=n.installationId;if(o==="connection"){const{childConnectionId:R}=await fe({orgSlug:r.slug,sourceConnection:m,installationId:v,owner:i.owner,repo:i.name,githubCallTool:S=>c.callTool(S),selfCallTool:S=>b.callTool(S),orgShared:!0});return{virtualMcpId:null,repo:i,connectionId:R,item:null}}const{childConnectionId:C}=await fe({orgSlug:r.slug,sourceConnection:m,installationId:v,owner:i.owner,repo:i.name,githubCallTool:R=>c.callTool(R),selfCallTool:R=>b.callTool(R)});let P=null;try{const R=await b.callTool({name:"COLLECTION_VIRTUAL_MCP_CREATE",arguments:{data:{title:i.name,description:i.description||"Imported from GitHub",pinned:!1,icon:null,metadata:{githubRepo:{owner:i.owner,name:i.name,url:i.url,installationId:v,connectionId:C},instructions:null,ui:{pinnedViews:null,layout:{defaultMainView:{type:"preview"},chatDefaultOpen:!0}}},connections:[{connection_id:C}]}}}),S=R.structuredContent??R,_=S.item?.id;if(!S.item||!_)throw new Error("Failed to create the imported agent");return P=_,{virtualMcpId:_,repo:i,connectionId:C,item:S.item}}catch(R){throw P&&await b.callTool({name:"COLLECTION_VIRTUAL_MCP_DELETE",arguments:{id:P}}).catch(()=>{}),await b.callTool({name:"COLLECTION_CONNECTIONS_DELETE",arguments:{id:C,force:!0}}).catch(()=>{}),R}},onSuccess:({virtualMcpId:i,repo:v,connectionId:C,item:P})=>{if(o==="connection"||!i||!P){oe(s,r.id),Ne(s,r.id),le.success(a("common.githubRepoPicker.addedRepo",{name:v.name})),e();return}if(s.setQueryData(te.collectionItem(b,r.id,"","VIRTUAL_MCP",i),{item:P}),oe(s,r.id),j(i,v),p){p({virtualMcpId:i,repo:v,connectionId:C});return}le.success(a("common.githubRepoPicker.importedRepo",{name:v.name})),e(),localStorage.setItem(ve.sidebarOpen(),JSON.stringify(!1)),u(i)},onError:i=>{le.error(a("common.githubRepoPicker.failedImport",{error:i instanceof Error?i.message:a("common.githubRepoPicker.unknownError")}))}});return d.status==="installing"||d.status==="authenticating"?t.jsx(ce,{status:d.status,error:null,retry:d.retry}):d.status==="error"?t.jsx(ce,{status:"error",error:d.error,retry:d.retry}):f.length===0&&d.status==="idle"?t.jsx(ce,{status:"installing",error:null,retry:d.retry}):f.length>1&&!m?t.jsxs("div",{className:"flex flex-col py-2",children:[t.jsx("div",{className:"px-4 py-2",children:t.jsx("p",{className:"text-xs font-medium text-muted-foreground",children:a("common.githubRepoPicker.selectConnection")})}),f.map(i=>t.jsxs("button",{type:"button",onClick:()=>N(i),className:"flex items-center gap-3 px-4 py-3 hover:bg-accent transition-colors text-left",children:[i.icon?t.jsx("img",{src:i.icon,alt:i.title,className:"size-7 rounded-full shrink-0"}):t.jsx("div",{className:"size-7 rounded-full bg-muted flex items-center justify-center shrink-0",children:t.jsx(H,{className:"size-3.5 text-muted-foreground"})}),t.jsx("span",{className:"text-sm font-medium",children:i.title})]},i.id))]}):m?n?t.jsx(Ke,{connectionId:m.id,orgId:r.id,orgSlug:r.slug,installation:n,onSelectRepo:i=>x.mutate(i),isSaving:x.isPending}):t.jsx(Qe,{connectionId:m.id,orgId:r.id,orgSlug:r.slug,onSelect:l,showBackButton:f.length>1,onBack:()=>N(null)}):null}function Qe(k){const e=M.c(124),{connectionId:n,orgId:l,orgSlug:p,onSelect:o,showBackButton:a,onBack:r}=k,s=ee();let u;e[0]!==l||e[1]!==p?(u={connectionId:pe,orgId:l,orgSlug:p},e[0]=l,e[1]=p,e[2]=u):u=e[2];const y=se(u),N=me(),w=he();let f;e[3]!==n||e[4]!==l?(f=te.githubUserOrgs(l,n),e[3]=n,e[4]=l,e[5]=f):f=e[5];let d;e[6]!==n||e[7]!==y?(d=()=>$e(h=>y.callTool(h),n),e[6]=n,e[7]=y,e[8]=d):d=e[8];let m;e[9]!==f||e[10]!==d?(m={queryKey:f,queryFn:d},e[9]=f,e[10]=d,e[11]=m):m=e[11];const c=ke(m);let b;e[12]!==w||e[13]!==n||e[14]!==c||e[15]!==l||e[16]!==p||e[17]!==N?(b=async()=>{const h=await be({connectionId:n,orgId:l,orgSlug:p,persistFallback:E=>w.update.mutateAsync({id:n,data:{connection_token:E}}).then(Ve)});if(h.ran&&!h.ok)throw new Error(h.error??"no token received");const I=new URL(`/api/${p}/mcp/${n}`,window.location.origin);await N.invalidateQueries({queryKey:te.isMCPAuthenticated(I.href,null)}),await N.invalidateQueries({queryKey:te.mcpClientPrefix()}),await c.refetch()},e[12]=w,e[13]=n,e[14]=c,e[15]=l,e[16]=p,e[17]=N,e[18]=b):b=e[18];let g;e[19]!==s?(g=h=>{le.error(s("common.githubRepoPicker.failedReconnect",{error:h instanceof Error?h.message:s("common.githubRepoPicker.unknownError")}))},e[19]=s,e[20]=g):g=e[20];let j;e[21]!==b||e[22]!==g?(j={mutationFn:b,onError:g},e[21]=b,e[22]=g,e[23]=j):j=e[23];const x=ge(j);if(c.isLoading){let h;return e[24]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(Z,{size:18,className:"animate-spin text-muted-foreground"})}),e[24]=h):h=e[24],h}if(c.isError){let h;e[25]!==s?(h=s("common.githubRepoPicker.failedLoadAccounts"),e[25]=s,e[26]=h):h=e[26];let I;e[27]!==h?(I=t.jsx("p",{className:"text-sm text-destructive",children:h}),e[27]=h,e[28]=I):I=e[28];let E;e[29]!==s?(E=s("common.githubRepoPicker.connectionExpiredMessage"),e[29]=s,e[30]=E):E=e[30];let A;e[31]!==E?(A=t.jsx("p",{className:"text-xs text-muted-foreground max-w-[280px] leading-relaxed",children:E}),e[31]=E,e[32]=A):A=e[32];let z;e[33]!==x?(z=()=>x.mutate(),e[33]=x,e[34]=z):z=e[34];const D=x.isPending;let L;e[35]!==x.isPending?(L=x.isPending?t.jsx(Z,{size:14,className:"animate-spin"}):t.jsx(H,{className:"size-3.5"}),e[35]=x.isPending,e[36]=L):L=e[36];let G;e[37]!==s?(G=s("common.githubRepoPicker.reconnectGitHub"),e[37]=s,e[38]=G):G=e[38];let O;e[39]!==x.isPending||e[40]!==z||e[41]!==L||e[42]!==G?(O=t.jsxs(re,{type:"button",variant:"outline",size:"sm",onClick:z,disabled:D,children:[L,G]}),e[39]=x.isPending,e[40]=z,e[41]=L,e[42]=G,e[43]=O):O=e[43];let U;return e[44]!==A||e[45]!==O||e[46]!==I?(U=t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-3 px-6 text-center",children:[I,A,O]}),e[44]=A,e[45]=O,e[46]=I,e[47]=U):U=e[47],U}const i=c.data;if(!i)return null;if(i.installations.length===0){let h;e[48]!==r||e[49]!==a||e[50]!==s?(h=a&&t.jsx("div",{className:"flex items-center gap-1 px-4 pt-3 pb-1 shrink-0",children:t.jsxs("button",{type:"button",onClick:r,className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[t.jsx(ue,{size:12}),s("common.githubRepoPicker.changeConnection")]})}),e[48]=r,e[49]=a,e[50]=s,e[51]=h):h=e[51];let I;e[52]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx("div",{className:"size-16 rounded-2xl bg-muted flex items-center justify-center",children:t.jsx(H,{className:"size-8 text-foreground"})}),e[52]=I):I=e[52];let E;e[53]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsx("span",{className:"size-1.5 rounded-full bg-success"}),e[53]=E):E=e[53];let A;e[54]!==s?(A=s("common.githubRepoPicker.githubConnected"),e[54]=s,e[55]=A):A=e[55];let z;e[56]!==A?(z=t.jsxs("div",{className:"mt-4 flex items-center gap-1.5 text-xs font-medium text-success",children:[E,A]}),e[56]=A,e[57]=z):z=e[57];let D;e[58]!==s?(D=s("common.githubRepoPicker.setupRepositoriesTitle"),e[58]=s,e[59]=D):D=e[59];let L;e[60]!==D?(L=t.jsx("h2",{className:"mt-2 text-base font-semibold text-foreground",children:D}),e[60]=D,e[61]=L):L=e[61];let G;e[62]!==s?(G=s("common.githubRepoPicker.noRepositoriesShared"),e[62]=s,e[63]=G):G=e[63];let O;e[64]!==G?(O=t.jsx("p",{className:"mt-1.5 max-w-[360px] text-xs leading-relaxed text-muted-foreground",children:G}),e[64]=G,e[65]=O):O=e[65];let U;e[66]!==s?(U=s("common.githubRepoPicker.chooseRepositories"),e[66]=s,e[67]=U):U=e[67];let ne;e[68]===Symbol.for("react.memo_cache_sentinel")?(ne=t.jsx(ze,{size:14}),e[68]=ne):ne=e[68];let q;e[69]!==U?(q=t.jsx(re,{asChild:!0,size:"sm",children:t.jsxs("a",{href:xe,target:"_blank",rel:"noopener noreferrer",children:[U,ne]})}),e[69]=U,e[70]=q):q=e[70];let B;e[71]!==c?(B=()=>{c.refetch()},e[71]=c,e[72]=B):B=e[72];const je=c.isFetching;let Q;e[73]!==c.isFetching?(Q=c.isFetching&&t.jsx(Z,{size:14,className:"animate-spin"}),e[73]=c.isFetching,e[74]=Q):Q=e[74];let V;e[75]!==s?(V=s("common.githubRepoPicker.checkAgain"),e[75]=s,e[76]=V):V=e[76];let K;e[77]!==c.isFetching||e[78]!==B||e[79]!==Q||e[80]!==V?(K=t.jsxs(re,{type:"button",variant:"outline",size:"sm",onClick:B,disabled:je,children:[Q,V]}),e[77]=c.isFetching,e[78]=B,e[79]=Q,e[80]=V,e[81]=K):K=e[81];let J;e[82]!==q||e[83]!==K?(J=t.jsxs("div",{className:"mt-5 flex items-center gap-2",children:[q,K]}),e[82]=q,e[83]=K,e[84]=J):J=e[84];let W;e[85]!==s?(W=s("common.githubRepoPicker.repositoryAccessNote"),e[85]=s,e[86]=W):W=e[86];let Y;e[87]!==W?(Y=t.jsx("p",{className:"mt-4 max-w-[360px] rounded-lg bg-muted/50 px-3 py-2 text-xs leading-relaxed text-muted-foreground",children:W}),e[87]=W,e[88]=Y):Y=e[88];let X;e[89]!==z||e[90]!==L||e[91]!==O||e[92]!==J||e[93]!==Y?(X=t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center px-8 py-6 text-center",children:[I,z,L,O,J,Y]}),e[89]=z,e[90]=L,e[91]=O,e[92]=J,e[93]=Y,e[94]=X):X=e[94];let ie;return e[95]!==X||e[96]!==h?(ie=t.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[h,X]}),e[95]=X,e[96]=h,e[97]=ie):ie=e[97],ie}let v;e[98]!==r||e[99]!==a||e[100]!==s?(v=a&&t.jsx("div",{className:"flex items-center gap-1 px-4 pt-3 pb-1 shrink-0",children:t.jsxs("button",{type:"button",onClick:r,className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[t.jsx(ue,{size:12}),s("common.githubRepoPicker.changeConnection")]})}),e[98]=r,e[99]=a,e[100]=s,e[101]=v):v=e[101];let C;if(e[102]!==i.installations||e[103]!==o||e[104]!==s){let h;e[106]!==o||e[107]!==s?(h=I=>t.jsxs("button",{type:"button",onClick:()=>o(I),className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-accent transition-colors text-left group",children:[t.jsx("img",{src:I.avatarUrl,alt:I.login,className:"size-7 rounded-full shrink-0 ring-1 ring-border"}),t.jsxs("div",{className:"flex flex-col min-w-0 flex-1",children:[t.jsx("span",{className:"text-sm font-medium leading-none",children:I.login}),I.type==="User"&&t.jsx("span",{className:"text-xs text-muted-foreground mt-1",children:s("common.githubRepoPicker.personalAccount")})]}),t.jsxs("span",{className:"text-xs text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity shrink-0",children:[s("common.githubRepoPicker.select")," →"]})]},I.installationId),e[106]=o,e[107]=s,e[108]=h):h=e[108],C=i.installations.map(h),e[102]=i.installations,e[103]=o,e[104]=s,e[105]=C}else C=e[105];let P;e[109]!==C?(P=t.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden [scrollbar-gutter:stable]",children:C}),e[109]=C,e[110]=P):P=e[110];let R;e[111]!==s?(R=s("common.githubRepoPicker.accountNotListed"),e[111]=s,e[112]=R):R=e[112];let S;e[113]!==s?(S=s("common.githubRepoPicker.installGitHubApp"),e[113]=s,e[114]=S):S=e[114];let _;e[115]!==S?(_=t.jsx("span",{className:"underline underline-offset-2",children:S}),e[115]=S,e[116]=_):_=e[116];let T;e[117]!==R||e[118]!==_?(T=t.jsx("div",{className:"px-4 py-3 border-t border-border shrink-0",children:t.jsxs("a",{href:xe,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:[R," ",_]})}),e[117]=R,e[118]=_,e[119]=T):T=e[119];let F;return e[120]!==P||e[121]!==T||e[122]!==v?(F=t.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[v,P,T]}),e[120]=P,e[121]=T,e[122]=v,e[123]=F):F=e[123],F}function Ve(){}function Ke(k){const e=M.c(23),{connectionId:n,orgId:l,orgSlug:p,installation:o,onSelectRepo:a,isSaving:r}=k,s=ee(),[u,y]=$.useState(""),N=Te(u,300),w=$.useDeferredValue(N),f=u!==w;let d;e[0]!==s?(d=s("common.githubRepoPicker.searchRepositories"),e[0]=s,e[1]=d):d=e[1];let m;e[2]!==f||e[3]!==u||e[4]!==d?(m=t.jsx(_e,{placeholder:d,value:u,onChange:y,isSearching:f}),e[2]=f,e[3]=u,e[4]=d,e[5]=m):m=e[5];const c=f?"opacity-40":"opacity-100";let b;e[6]!==c?(b=ae("flex-1 overflow-hidden flex flex-col transition-opacity duration-150",c),e[6]=c,e[7]=b):b=e[7];let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(Z,{size:18,className:"animate-spin text-muted-foreground"})}),e[8]=g):g=e[8];let j;e[9]!==n||e[10]!==w||e[11]!==o||e[12]!==r||e[13]!==a||e[14]!==l||e[15]!==p?(j=t.jsx($.Suspense,{fallback:g,children:t.jsx(Je,{connectionId:n,orgId:l,orgSlug:p,installation:o,query:w,onSelectRepo:a,isSaving:r})}),e[9]=n,e[10]=w,e[11]=o,e[12]=r,e[13]=a,e[14]=l,e[15]=p,e[16]=j):j=e[16];let x;e[17]!==b||e[18]!==j?(x=t.jsx("div",{className:b,children:j}),e[17]=b,e[18]=j,e[19]=x):x=e[19];let i;return e[20]!==m||e[21]!==x?(i=t.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[m,x]}),e[20]=m,e[21]=x,e[22]=i):i=e[22],i}function Je(k){const e=M.c(36),{connectionId:n,orgId:l,orgSlug:p,installation:o,query:a,onSelectRepo:r,isSaving:s}=k,u=ee();let y;e[0]!==n||e[1]!==l||e[2]!==p?(y={connectionId:n,orgId:l,orgSlug:p},e[0]=n,e[1]=l,e[2]=p,e[3]=y):y=e[3];const N=se(y),w=o.type==="User"?"user":"org",f=a?`${w}:${o.login} ${a} in:name`:`${w}:${o.login}`;let d;e[4]!==n||e[5]!==o.login||e[6]!==l||e[7]!==a?(d=te.githubOrgRepos(l,n,o.login,a),e[4]=n,e[5]=o.login,e[6]=l,e[7]=a,e[8]=d):d=e[8];let m;e[9]!==N||e[10]!==f?(m=async x=>{const{signal:i}=x,C=(await N.callTool({name:"search_repositories",arguments:{query:f,page:1,perPage:30}},void 0,{signal:i})).content?.[0]?.text;if(!C)throw new Error("No response from search_repositories");return(JSON.parse(C).items??[]).map(We)},e[9]=N,e[10]=f,e[11]=m):m=e[11];let c;e[12]!==d||e[13]!==m?(c={queryKey:d,queryFn:m},e[12]=d,e[13]=m,e[14]=c):c=e[14];const{data:b}=Ce(c);if(b.length===0){let x;e[15]!==u?(x=u("common.githubRepoPicker.noRepositoriesFound"),e[15]=u,e[16]=x):x=e[16];let i;e[17]!==x?(i=t.jsx("p",{className:"text-sm text-muted-foreground",children:x}),e[17]=x,e[18]=i):i=e[18];let v;e[19]!==a||e[20]!==u?(v=a&&t.jsx("p",{className:"text-xs text-muted-foreground/60",children:u("common.githubRepoPicker.tryDifferentSearchTerm")}),e[19]=a,e[20]=u,e[21]=v):v=e[21];let C;return e[22]!==i||e[23]!==v?(C=t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-1",children:[i,v]}),e[22]=i,e[23]=v,e[24]=C):C=e[24],C}let g;if(e[25]!==s||e[26]!==r||e[27]!==b||e[28]!==u){let x;e[30]!==s||e[31]!==r||e[32]!==u?(x=i=>t.jsxs("button",{type:"button",onClick:()=>r(i),disabled:s,className:"flex items-start gap-3 px-4 py-3 hover:bg-accent transition-colors text-left disabled:opacity-50 disabled:cursor-not-allowed",children:[t.jsx(H,{className:"size-4 text-muted-foreground mt-0.5 shrink-0"}),t.jsx("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:t.jsx("span",{className:"text-sm font-medium truncate",children:i.name})}),t.jsxs("span",{className:"flex items-center gap-1 text-xs font-medium text-muted-foreground border border-border rounded px-1.5 py-0.5 shrink-0 leading-none",children:[i.private?t.jsx(Re,{size:10}):t.jsx(Le,{size:10}),i.private?u("common.githubRepoPicker.private"):u("common.githubRepoPicker.public")]})]},i.fullName),e[30]=s,e[31]=r,e[32]=u,e[33]=x):x=e[33],g=b.map(x),e[25]=s,e[26]=r,e[27]=b,e[28]=u,e[29]=g}else g=e[29];let j;return e[34]!==g?(j=t.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden flex flex-col [scrollbar-gutter:stable]",children:g}),e[34]=g,e[35]=j):j=e[35],j}function We(k){return{name:k.name,fullName:k.full_name,owner:k.full_name.split("/")[0]??"",url:k.html_url,private:k.private,description:k.description,updatedAt:k.updated_at}}function ce(k){const e=M.c(51),{status:n,error:l,retry:p}=k,o=ee();if(n==="error"){let C;e[0]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("div",{className:"size-10 rounded-full bg-destructive/10 flex items-center justify-center",children:t.jsx(H,{className:"size-5 text-destructive"})}),e[0]=C):C=e[0];let P;e[1]!==o?(P=o("common.githubRepoPicker.connectionFailed"),e[1]=o,e[2]=P):P=e[2];let R;e[3]!==P?(R=t.jsx("p",{className:"text-sm font-medium",children:P}),e[3]=P,e[4]=R):R=e[4];let S;e[5]!==l||e[6]!==o?(S=l??o("common.githubRepoPicker.somethingWentWrong"),e[5]=l,e[6]=o,e[7]=S):S=e[7];let _;e[8]!==S?(_=t.jsx("p",{className:"text-xs text-muted-foreground max-w-[260px] leading-relaxed",children:S}),e[8]=S,e[9]=_):_=e[9];let T;e[10]!==R||e[11]!==_?(T=t.jsxs("div",{className:"flex flex-col items-center gap-1 text-center",children:[R,_]}),e[10]=R,e[11]=_,e[12]=T):T=e[12];let F;e[13]!==o?(F=o("common.githubRepoPicker.tryAgain"),e[13]=o,e[14]=F):F=e[14];let h;e[15]!==p||e[16]!==F?(h=t.jsx("button",{type:"button",onClick:p,className:"text-xs font-medium text-foreground border border-border rounded-md px-3 py-1.5 hover:bg-accent transition-colors",children:F}),e[15]=p,e[16]=F,e[17]=h):h=e[17];let I;return e[18]!==T||e[19]!==h?(I=t.jsxs("div",{className:"flex flex-col items-center gap-4 px-6 py-10",children:[C,T,h]}),e[18]=T,e[19]=h,e[20]=I):I=e[20],I}const a=n==="authenticating";let r;e[21]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"size-10 rounded-full bg-muted flex items-center justify-center",children:t.jsx(H,{className:"size-5 text-foreground"})}),e[21]=r):r=e[21];let s;e[22]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsxs("div",{className:"relative size-10",children:[r,t.jsx("div",{className:"absolute -bottom-0.5 -right-0.5 size-4 rounded-full bg-background flex items-center justify-center",children:t.jsx(Z,{size:12,className:"animate-spin text-muted-foreground"})})]}),e[22]=s):s=e[22];let u;e[23]!==a||e[24]!==o?(u=o(a?"common.githubRepoPicker.authenticatingGitHub":"common.githubRepoPicker.settingUpGitHub"),e[23]=a,e[24]=o,e[25]=u):u=e[25];let y;e[26]!==u?(y=t.jsx("p",{className:"text-sm font-medium",children:u}),e[26]=u,e[27]=y):y=e[27];let N;e[28]!==a||e[29]!==o?(N=o(a?"common.githubRepoPicker.completeOAuthFlow":"common.githubRepoPicker.installingGitHubConnection"),e[28]=a,e[29]=o,e[30]=N):N=e[30];let w;e[31]!==N?(w=t.jsx("p",{className:"text-xs text-muted-foreground",children:N}),e[31]=N,e[32]=w):w=e[32];let f;e[33]!==y||e[34]!==w?(f=t.jsxs("div",{className:"flex flex-col items-center gap-1 text-center",children:[y,w]}),e[33]=y,e[34]=w,e[35]=f):f=e[35];const d=a?"bg-muted-foreground/30":"bg-foreground animate-pulse";let m;e[36]!==d?(m=ae("size-1.5 rounded-full",d),e[36]=d,e[37]=m):m=e[37];let c;e[38]!==m?(c=t.jsx("span",{className:m}),e[38]=m,e[39]=c):c=e[39];const b=a?"bg-foreground animate-pulse":"bg-muted-foreground/30";let g;e[40]!==b?(g=ae("size-1.5 rounded-full",b),e[40]=b,e[41]=g):g=e[41];let j;e[42]!==g?(j=t.jsx("span",{className:g}),e[42]=g,e[43]=j):j=e[43];let x;e[44]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("span",{className:"size-1.5 rounded-full bg-muted-foreground/30"}),e[44]=x):x=e[44];let i;e[45]!==c||e[46]!==j?(i=t.jsxs("div",{className:"flex items-center gap-1.5",children:[c,j,x]}),e[45]=c,e[46]=j,e[47]=i):i=e[47];let v;return e[48]!==i||e[49]!==f?(v=t.jsxs("div",{className:"flex flex-col items-center gap-4 px-6 py-10",children:[s,f,i]}),e[48]=i,e[49]=f,e[50]=v):v=e[50],v}export{H as G,dt as a,qe as b,De as u};