decocms 4.331.1 → 4.332.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/dist/client/assets/{AlertCircle-CTUkQXgs.js → AlertCircle-DGaWwPgQ.js} +1 -1
  2. package/dist/client/assets/{AreaChart-C7DTOZ-b.js → AreaChart-CdnhzLvb.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-DEDPbgLG.js → ArrowLeft-CWVS1rl4.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-BC1eUTqQ.js → ArrowUp-tbXPz6Pt.js} +1 -1
  5. package/dist/client/assets/{Check-DhyLPiiJ.js → Check-BfBGeuul.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-CtgjJb3s.js → CheckCircle-Bd4fTOjH.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-erhjObhH.js → ChevronRight-CFzWSZUg.js} +1 -1
  8. package/dist/client/assets/{ChevronSelectorVertical-L5QYEswb.js → ChevronSelectorVertical-CafPMJW2.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-B7eB07ok.js → ChevronUp-wXVrCZI1.js} +1 -1
  10. package/dist/client/assets/{Copy01-xF3K8KuJ.js → Copy01-3zYOadUJ.js} +1 -1
  11. package/dist/client/assets/{CreditCard01-DasQHOnb.js → CreditCard01-CGpVReoa.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-alsvv1gj.js → DotsVertical-Bnzh51DN.js} +1 -1
  13. package/dist/client/assets/{Download01-Carxvlo9.js → Download01-DgtF4BB5.js} +1 -1
  14. package/dist/client/assets/{ErrorBarContext-D1fW4DqU.js → ErrorBarContext-C7JRDdSX.js} +1 -1
  15. package/dist/client/assets/{Eye-T_5uiyBH.js → Eye-C4MrrakN.js} +1 -1
  16. package/dist/client/assets/{GitBranch01-F7oOBAG6.js → GitBranch01-DPV5Y5N7.js} +1 -1
  17. package/dist/client/assets/{Globe01-Cip-2Ps4.js → Globe01-DMQbJ5et.js} +1 -1
  18. package/dist/client/assets/{HardDrive-5keoMCkV.js → HardDrive-C1E6V6Yk.js} +1 -1
  19. package/dist/client/assets/{Image01-B2vrhds6.js → Image01-DyQdO4x_.js} +1 -1
  20. package/dist/client/assets/{Key01-BDWlMcfg.js → Key01-BYudX7Yc.js} +1 -1
  21. package/dist/client/assets/{Link01-C08e0rPS.js → Link01-3tlXT_aK.js} +1 -1
  22. package/dist/client/assets/{LinkExternal01-DVFUVB9h.js → LinkExternal01-Dpq3cwMH.js} +1 -1
  23. package/dist/client/assets/{Monitor01-BIBipmDF.js → Monitor01-B3Lw1jH5.js} +1 -1
  24. package/dist/client/assets/{Package-ZNK4UmQ4.js → Package-BJ25qVC3.js} +1 -1
  25. package/dist/client/assets/{Palette-BZNwl0Y4.js → Palette-BedlZSuj.js} +1 -1
  26. package/dist/client/assets/{Play-Bdez5_h5.js → Play-D8kc57eX.js} +1 -1
  27. package/dist/client/assets/{Plus-DpDZOmhb.js → Plus-I156OmA3.js} +1 -1
  28. package/dist/client/assets/{SearchMd-TZRK7Jjy.js → SearchMd-CKfC5TmJ.js} +1 -1
  29. package/dist/client/assets/{Sector-fCAN3APE.js → Sector-CkAjItYp.js} +1 -1
  30. package/dist/client/assets/{Settings02-BvEJJ01O.js → Settings02-CqqtLHmZ.js} +1 -1
  31. package/dist/client/assets/{Share07-BbKQaSoa.js → Share07-BPxCIUue.js} +1 -1
  32. package/dist/client/assets/{Shield01-C7gp23VU.js → Shield01-0x-yz50P.js} +1 -1
  33. package/dist/client/assets/{Stars01-DzR1pkba.js → Stars01-DEDp8TU-.js} +1 -1
  34. package/dist/client/assets/{Sun-CRSDN_xr.js → Sun-rrOh04Rw.js} +1 -1
  35. package/dist/client/assets/{Tool01-BI2Udquq.js → Tool01-Bw9MLeJG.js} +1 -1
  36. package/dist/client/assets/{Tool02-D8KfndCv.js → Tool02-pQUInAOa.js} +1 -1
  37. package/dist/client/assets/{Trash01-DMTMR2Ld.js → Trash01-JMhZ3Tty.js} +1 -1
  38. package/dist/client/assets/{TrendUp01-DBzB_6-8.js → TrendUp01-CKJmSlQn.js} +1 -1
  39. package/dist/client/assets/{Upload01-BaU8BJAh.js → Upload01-CLeyxvQd.js} +1 -1
  40. package/dist/client/assets/{User01-EYes367B.js → User01-DN5UquSh.js} +1 -1
  41. package/dist/client/assets/{UserSquare-B0qUe-aI.js → UserSquare-DQc4Fwqd.js} +1 -1
  42. package/dist/client/assets/{Users01-DKepKoSC.js → Users01-CHQT_dsi.js} +1 -1
  43. package/dist/client/assets/{Users03-Dwp9VmWX.js → Users03-Cy6ggfv3.js} +1 -1
  44. package/dist/client/assets/{XCircle-BsDfD2mO.js → XCircle-e3s9N7iZ.js} +1 -1
  45. package/dist/client/assets/{XClose-B53vZH_B.js → XClose-Cx_5p9-p.js} +1 -1
  46. package/dist/client/assets/{Zap-DoRxOrrO.js → Zap-BOPEKw8B.js} +1 -1
  47. package/dist/client/assets/{ZoomOut-DwUiWK8W.js → ZoomOut-D7X89Xml.js} +1 -1
  48. package/dist/client/assets/{access-gate-Bg5o0dFT.js → access-gate-fms1ON4q.js} +1 -1
  49. package/dist/client/assets/{agent-icon-Dp7ilfSA.js → agent-icon-DawhRDaM.js} +1 -1
  50. package/dist/client/assets/agents-list-CJK-Vy61.js +1 -0
  51. package/dist/client/assets/ai-providers-CskGQgeR.js +1 -0
  52. package/dist/client/assets/{alert-CnJoV69d.js → alert-CdKOT2Ni.js} +1 -1
  53. package/dist/client/assets/{alert-dialog-CFvtxInl.js → alert-dialog-hhud4Gab.js} +1 -1
  54. package/dist/client/assets/{analytics-tab-CMEI20XU.js → analytics-tab-CilEmRZN.js} +1 -1
  55. package/dist/client/assets/api-keys-BlVxWO-h.js +1 -0
  56. package/dist/client/assets/{api-keys-C9nPFDfD.js → api-keys-CK_ST-j2.js} +1 -1
  57. package/dist/client/assets/app-editor-DLs3Ul6d.js +1 -0
  58. package/dist/client/assets/{auth-CPKG1PMF.js → auth-CNjmGQ4V.js} +1 -1
  59. package/dist/client/assets/{auth-catchall-CakNmAFy.js → auth-catchall-DXqEMCGT.js} +1 -1
  60. package/dist/client/assets/{auth-entry-RnBUxeeA.js → auth-entry-BvSY5US-.js} +1 -1
  61. package/dist/client/assets/{auth-split-layout-kNG-EnWA.js → auth-split-layout-DTB4MUWT.js} +1 -1
  62. package/dist/client/assets/{authenticate-and-persist-oauth-DHpekAO-.js → authenticate-and-persist-oauth-DYNv1LQw.js} +1 -1
  63. package/dist/client/assets/{automation-list-row-C09iz2n2.js → automation-list-row-C7_DXjLv.js} +1 -1
  64. package/dist/client/assets/{automation-runs-CAkFynJ2.js → automation-runs-azd6G8Ha.js} +1 -1
  65. package/dist/client/assets/{automations-BqJaQO-O.js → automations-B8mQch9W.js} +1 -1
  66. package/dist/client/assets/autosend-Zbzr4Vs8.js +1 -0
  67. package/dist/client/assets/{avatar-CYvGTxVT.js → avatar-DLnW_949.js} +1 -1
  68. package/dist/client/assets/{badge-jE0YdZz3.js → badge-C1kl4ba0.js} +1 -1
  69. package/dist/client/assets/{block-document-B9qbgFtn.js → block-document-DH8Isg3s.js} +1 -1
  70. package/dist/client/assets/{breadcrumb-DKP8gBQX.js → breadcrumb-D5SbFXUe.js} +1 -1
  71. package/dist/client/assets/{buckets-D5dyQWsL.js → buckets-DirQGsQr.js} +1 -1
  72. package/dist/client/assets/{bulk-category-panel-B87XiH9C.js → bulk-category-panel-D7_IfBbp.js} +1 -1
  73. package/dist/client/assets/{capability-load-error-CAVNGlum.js → capability-load-error-C8TJPwv6.js} +1 -1
  74. package/dist/client/assets/{cards-BqL2dW3x.js → cards-Wa7u18LE.js} +1 -1
  75. package/dist/client/assets/category-editor-BMbJSK8e.js +1 -0
  76. package/dist/client/assets/{cdn-tab-BCSDeMOv.js → cdn-tab-5JOA8bgA.js} +1 -1
  77. package/dist/client/assets/{chart-CZch6DZp.js → chart-CfvkUrRB.js} +1 -1
  78. package/dist/client/assets/{chat-context-BEHg6aEi.js → chat-context-BQg2wAMj.js} +6 -6
  79. package/dist/client/assets/{checkbox-DMdSKryI.js → checkbox-DsDwNSVc.js} +1 -1
  80. package/dist/client/assets/{choose-editor-B4jBLX09.js → choose-editor-BasnEC2z.js} +1 -1
  81. package/dist/client/assets/{cli-auth-success-CAD1lTgl.js → cli-auth-success-B5otSQlc.js} +1 -1
  82. package/dist/client/assets/{client-icons-jyguvoVn.js → client-icons-LV5EpOIE.js} +1 -1
  83. package/dist/client/assets/collection-detail-CbPr-uNE.js +1 -0
  84. package/dist/client/assets/{collection-display-button-DI-nsDCn.js → collection-display-button-Cm4gc9dR.js} +1 -1
  85. package/dist/client/assets/{collection-search-CoaljN3t.js → collection-search-BI6GHzBt.js} +1 -1
  86. package/dist/client/assets/{collection-table-wrapper-Cjvx4Wv2.js → collection-table-wrapper-KQkly3Tg.js} +1 -1
  87. package/dist/client/assets/{collection-tabs-DV5Bk6yE.js → collection-tabs-DfU20xoC.js} +1 -1
  88. package/dist/client/assets/{command-DHa5RJaq.js → command-BX8CujxT.js} +1 -1
  89. package/dist/client/assets/{commerce-onboarding-B0oP2xjO.js → commerce-onboarding-DyZHm08C.js} +1 -1
  90. package/dist/client/assets/{connect-CHfvFOxu.js → connect-D950dKsM.js} +1 -1
  91. package/dist/client/assets/{connect-layout-MA2Awb7r.js → connect-layout-Dpf1obeP.js} +1 -1
  92. package/dist/client/assets/{connection-BBdo3uke.js → connection-WYMfQ7DQ.js} +1 -1
  93. package/dist/client/assets/{connection-card-B3IJPiNj.js → connection-card-05tNuu4H.js} +1 -1
  94. package/dist/client/assets/{connection-detail-Lxtie76t.js → connection-detail-B1j7Of_y.js} +1 -1
  95. package/dist/client/assets/{connection-form-helpers-Do9xG8iy.js → connection-form-helpers-D4jcXsjA.js} +1 -1
  96. package/dist/client/assets/{connections-Cme4XVUa.js → connections-B-UAtE_8.js} +1 -1
  97. package/dist/client/assets/{constants-DNuUCxmW.js → constants-DNw8DKoD.js} +1 -1
  98. package/dist/client/assets/{create-organization-dialog-CDLw0Z3U.js → create-organization-dialog-28UaaE2I.js} +1 -1
  99. package/dist/client/assets/{decopilot-sse-pool-DuxzrK6E.js → decopilot-sse-pool-BKsExghb.js} +1 -1
  100. package/dist/client/assets/{dialog--s8x0s1I.js → dialog-CDo4MBP6.js} +1 -1
  101. package/dist/client/assets/{domain-settings-D_b5aj2K.js → domain-settings-IOS-08Mq.js} +1 -1
  102. package/dist/client/assets/{drawer-BhTJZiCl.js → drawer-_AK9bFi8.js} +1 -1
  103. package/dist/client/assets/{dropdown-menu-B1CAYfZn.js → dropdown-menu-CAWZ0_tm.js} +1 -1
  104. package/dist/client/assets/e2e-tab-WMCH4fNR.js +1 -0
  105. package/dist/client/assets/{editor-C2YJx_fu.js → editor-BdizNDCH.js} +1 -1
  106. package/dist/client/assets/{empty-state-BeZZ6aWm.js → empty-state-Dm2ymREG.js} +1 -1
  107. package/dist/client/assets/{empty-state-co5TrSoZ.js → empty-state-TkcHS3uK.js} +1 -1
  108. package/dist/client/assets/{extract-connection-data-ovzHbL2Q.js → extract-connection-data-Dlz-gEi2.js} +1 -1
  109. package/dist/client/assets/file-explorer-CI0IoPMh.js +2 -0
  110. package/dist/client/assets/{file-type-icon-CCcQ6AAf.js → file-type-icon-BmQruxfN.js} +1 -1
  111. package/dist/client/assets/{folder-icon-B0WjuCw8.js → folder-icon-DP4Eplxl.js} +1 -1
  112. package/dist/client/assets/{form-Bz464I8y.js → form-O4m2UJg-.js} +1 -1
  113. package/dist/client/assets/{general-CTShTVqj.js → general-DZ1hmTnf.js} +1 -1
  114. package/dist/client/assets/github-icon-lgC-aA3H.js +1 -0
  115. package/dist/client/assets/github-repo-picker-Bk-rnLOl.js +1 -0
  116. package/dist/client/assets/{hooks-BVfnO0Aw.js → hooks-DN_zGTIJ.js} +5 -5
  117. package/dist/client/assets/{hosting-tab-eRzJDwNq.js → hosting-tab-DHkqEzCF.js} +1 -1
  118. package/dist/client/assets/{index-BbswpEHj.js → index-B7C-ZaiU.js} +1 -1
  119. package/dist/client/assets/index-Bj1-n2mq.css +1 -0
  120. package/dist/client/assets/index-BwkRidSO.js +1 -0
  121. package/dist/client/assets/index-DRK_p8qT.js +1 -0
  122. package/dist/client/assets/{index-DDup5Pv4.js → index-DZCNxaHh.js} +47 -47
  123. package/dist/client/assets/{index-Db96eOyL.js → index-DhHjpqKm.js} +7 -7
  124. package/dist/client/assets/{index-CMU-J5F2.js → index-IqcBeCvj.js} +1 -1
  125. package/dist/client/assets/{index-CNdagDd8.js → index-M57K5T0Z.js} +1 -1
  126. package/dist/client/assets/{index-CXAF3w4w.js → index-XIJbFabv.js} +1 -1
  127. package/dist/client/assets/{index-CX_Uh4IL.js → index-e0KmpkK1.js} +1 -1
  128. package/dist/client/assets/{index-redirect-KOgwebWE.js → index-redirect-DPvLnxQn.js} +1 -1
  129. package/dist/client/assets/{index-DEh6Md0L.js → index-z6Y9RqfX.js} +2 -2
  130. package/dist/client/assets/{infra-billing-BVgEtduf.js → infra-billing-Cjmo2bh1.js} +1 -1
  131. package/dist/client/assets/{input-Cwwyr7Rh.js → input-DnEgOlRJ.js} +1 -1
  132. package/dist/client/assets/{integration-icon-B5SelfUS.js → integration-icon-BjZkBlSG.js} +1 -1
  133. package/dist/client/assets/{invite-member-dialog-C1bUVNWi.js → invite-member-dialog-BVMecNUA.js} +1 -1
  134. package/dist/client/assets/{label-D_vdFESC.js → label-Cyr0LGLV.js} +1 -1
  135. package/dist/client/assets/{layout-CgD5MMGX.js → layout-DE84R04T.js} +1 -1
  136. package/dist/client/assets/{login-BKtn9Zk-.js → login-D1O00RvQ.js} +1 -1
  137. package/dist/client/assets/{markdown-BTQo5HHG.js → markdown-DAfH1D5-.js} +1 -1
  138. package/dist/client/assets/{mcp-oauth-BPMpNuFO.js → mcp-oauth-CaoImyB-.js} +1 -1
  139. package/dist/client/assets/{members-CJF6NKF4.js → members-Ob32Kz-U.js} +1 -1
  140. package/dist/client/assets/{monaco-editor-CqhlT806.js → monaco-editor-DPoZHBwS.js} +1 -1
  141. package/dist/client/assets/{monitoring-stats-row-CZhvYRwq.js → monitoring-stats-row-BlmTojKr.js} +1 -1
  142. package/dist/client/assets/{multi-select-CjXByEMA.js → multi-select-D54d5PTk.js} +1 -1
  143. package/dist/client/assets/{oauth-callback-DlWi0e5v.js → oauth-callback-PCgYqee5.js} +1 -1
  144. package/dist/client/assets/{oauth-callback-ai-provider-CeDxg54Z.js → oauth-callback-ai-provider-DCIyCyU7.js} +1 -1
  145. package/dist/client/assets/{onboarding-CppmVf6x.js → onboarding-CUr_wbDT.js} +1 -1
  146. package/dist/client/assets/org-layout-Dg7l-Ap0.js +1 -0
  147. package/dist/client/assets/{organization-choice-D3M0mKax.js → organization-choice-BdteFlL9.js} +1 -1
  148. package/dist/client/assets/{orgs-CGyMtTjb.js → orgs-CUUtSHps.js} +1 -1
  149. package/dist/client/assets/{page-seo-form-CvkcVW5N.js → page-seo-form-C4qJ07ER.js} +1 -1
  150. package/dist/client/assets/{popover-BJRufN5E.js → popover-Cpk2uyjT.js} +1 -1
  151. package/dist/client/assets/post-calendar-C-BfuwDg.js +1 -0
  152. package/dist/client/assets/post-editor-4tXoAdKb.js +1 -0
  153. package/dist/client/assets/{primitives-tNTHzhGL.js → primitives-C6GKZmtg.js} +1 -1
  154. package/dist/client/assets/{profile-CD4pVSnx.js → profile-EYoF6PIG.js} +1 -1
  155. package/dist/client/assets/project-app-view-CdFEr6Ly.js +1 -0
  156. package/dist/client/assets/{project-icon-DW2b1tpw.js → project-icon-DLH9NBIU.js} +1 -1
  157. package/dist/client/assets/{prompts-ylc2vOB7.js → prompts-Cq-4_sxA.js} +1 -1
  158. package/dist/client/assets/record-editor-D5PxPrrO.js +1 -0
  159. package/dist/client/assets/redirect-editor-BE7taHvV.js +1 -0
  160. package/dist/client/assets/registry-C6W1ce9p.js +2 -0
  161. package/dist/client/assets/{registry-layout-DDAVBECZ.js → registry-layout-BlPof7lD.js} +1 -1
  162. package/dist/client/assets/{reports-Ce4vS7W7.js → reports-C14_u8Ch.js} +1 -1
  163. package/dist/client/assets/{require-capability-sWsoOFc2.js → require-capability-DEUybljI.js} +1 -1
  164. package/dist/client/assets/{required-auth-layout-CokOUEgr.js → required-auth-layout-BOqWdRqm.js} +1 -1
  165. package/dist/client/assets/{reset-password-ZJVFaRMm.js → reset-password-DSJ8Mouw.js} +1 -1
  166. package/dist/client/assets/{review-settings-BVtqlS7Y.js → review-settings-B-i0ALKF.js} +1 -1
  167. package/dist/client/assets/{roles-DDTREEXS.js → roles-BVpzW1nf.js} +1 -1
  168. package/dist/client/assets/{schema-D3Zdtr4A.js → schema-C25dJcYR.js} +1 -1
  169. package/dist/client/assets/{scroll-area-CeOD07Hw.js → scroll-area-BqxVdfZi.js} +1 -1
  170. package/dist/client/assets/{search-input-D5IwxOW_.js → search-input-DlaBJqle.js} +1 -1
  171. package/dist/client/assets/{secrets-DQbg3yxG.js → secrets-sNWfSHqh.js} +1 -1
  172. package/dist/client/assets/{sections-editor-BG-tuDpJ.js → sections-editor-C-t_63u5.js} +2 -2
  173. package/dist/client/assets/{select-CaIqJLnH.js → select-CqYqady4.js} +1 -1
  174. package/dist/client/assets/{select-model-BaaM-99e.js → select-model-BjbPH6OP.js} +1 -1
  175. package/dist/client/assets/{self-tool-result-EE9JsxOL.js → self-tool-result-By068BHj.js} +1 -1
  176. package/dist/client/assets/seo-editor-BtW6iZAv.js +1 -0
  177. package/dist/client/assets/settings-layout-C8hCzUST.js +1 -0
  178. package/dist/client/assets/settings-sidebar-Do2Z0gSA.js +1 -0
  179. package/dist/client/assets/{shell-controls-1hzI1GBL.js → shell-controls-BF2mDZK8.js} +1 -1
  180. package/dist/client/assets/shell-layout-Dgrq59kd.js +1 -0
  181. package/dist/client/assets/{skill-preview-C5-e77Iq.js → skill-preview-ByiphwPr.js} +1 -1
  182. package/dist/client/assets/{skills-DnPgPbsQ.js → skills-B5M8KH3K.js} +1 -1
  183. package/dist/client/assets/source-system-tabs-CnEGUb4r.js +1 -0
  184. package/dist/client/assets/{sso-2iOnxIqW.js → sso-BnayN86e.js} +1 -1
  185. package/dist/client/assets/{store-4cjHStMO.js → store-DBMb2FsJ.js} +1 -1
  186. package/dist/client/assets/store-registry-B1Cst9Oy.js +2 -0
  187. package/dist/client/assets/{switch-H6mW7TWR.js → switch-I8bTUVFa.js} +1 -1
  188. package/dist/client/assets/synced-repos-Dh7t-B8L.js +1 -0
  189. package/dist/client/assets/{table-D4EsPh8H.js → table-BFhelDKC.js} +1 -1
  190. package/dist/client/assets/{tabs-DI7MVoHq.js → tabs-CMNN0Zg_.js} +1 -1
  191. package/dist/client/assets/{task-board-CPnu2vHn.js → task-board-DGWa1Gm0.js} +1 -1
  192. package/dist/client/assets/task-route-DcwB5pXS.js +1 -0
  193. package/dist/client/assets/{tasks-DNY41pOF.js → tasks-BLNKFP5x.js} +1 -1
  194. package/dist/client/assets/{textarea-fFyq39OK.js → textarea-B0r0ti_p.js} +1 -1
  195. package/dist/client/assets/{thread-intent-BpQob6u5.js → thread-intent-C73EBMZL.js} +1 -1
  196. package/dist/client/assets/thread-route-BvKduPsE.js +1 -0
  197. package/dist/client/assets/{toggle-group-5X5OVxvO.js → toggle-group-B_iZpGTL.js} +1 -1
  198. package/dist/client/assets/{toolbar-CygYAeNY.js → toolbar-Vt-Ej5Vf.js} +1 -1
  199. package/dist/client/assets/{toolbar-icon-button-BjsE6ye3.js → toolbar-icon-button-DO1_O4bx.js} +1 -1
  200. package/dist/client/assets/{track-YMOI2TKV.js → track-BbSwhz7U.js} +1 -1
  201. package/dist/client/assets/{types-D618nSWF.js → types-C8fYYKqc.js} +1 -1
  202. package/dist/client/assets/{use-ai-providers-9OMyWZ-c.js → use-ai-providers-Be7UvucI.js} +1 -1
  203. package/dist/client/assets/{use-automations-B7rq5y89.js → use-automations-Bh8ZbMuK.js} +1 -1
  204. package/dist/client/assets/{use-autosave-B1LwduED.js → use-autosave-DV3OL7r_.js} +1 -1
  205. package/dist/client/assets/{use-connection-Dy0Z_WuU.js → use-connection-Cwa0QgBQ.js} +1 -1
  206. package/dist/client/assets/{use-copy-BtAcYms1.js → use-copy-BQnJ2OB1.js} +1 -1
  207. package/dist/client/assets/{use-create-virtual-mcp-wM5JPyhO.js → use-create-virtual-mcp-Dq2DpQVL.js} +1 -1
  208. package/dist/client/assets/{use-debounced-autosave-C9ED2M-K.js → use-debounced-autosave-C_SsQJXi.js} +1 -1
  209. package/dist/client/assets/{use-debounced-value-CNLUOYR4.js → use-debounced-value-Chh3I3P4.js} +1 -1
  210. package/dist/client/assets/{use-decopilot-events-CXqAHm8B.js → use-decopilot-events-DYUs2Qhl.js} +1 -1
  211. package/dist/client/assets/{use-delete-connection-Cd3jvMUJ.js → use-delete-connection-DD6t7mTf.js} +1 -1
  212. package/dist/client/assets/{use-deployment-admin-DlTRBf6Y.js → use-deployment-admin-ErQeZKsW.js} +1 -1
  213. package/dist/client/assets/{use-destination-route-BlaUDv1t.js → use-destination-route-D3sPU3yn.js} +1 -1
  214. package/dist/client/assets/{use-file-configs-DDYv5LKG.js → use-file-configs-CEbI4yf1.js} +1 -1
  215. package/dist/client/assets/{use-infinite-scroll-DO_cvi6-.js → use-infinite-scroll-DOiRhnJW.js} +1 -1
  216. package/dist/client/assets/{use-join-requests-CcTLOzEb.js → use-join-requests-oXvpcC9A.js} +1 -1
  217. package/dist/client/assets/{use-mcp-auth-status-Dj8UnSed.js → use-mcp-auth-status-C7WOQgUm.js} +1 -1
  218. package/dist/client/assets/{use-mcp-client-CrXQAzxs.js → use-mcp-client-DqhPCNA-.js} +1 -1
  219. package/dist/client/assets/{use-mcp-prompts-DVBCzZJ3.js → use-mcp-prompts-RqxRElya.js} +1 -1
  220. package/dist/client/assets/{use-members-C8Hqv8-u.js → use-members-C6y22kN0.js} +1 -1
  221. package/dist/client/assets/use-navigate-to-agent-CrljNh9U.js +5 -0
  222. package/dist/client/assets/{use-org-auth-client-FRXGLizb.js → use-org-auth-client-CHgS0aCH.js} +1 -1
  223. package/dist/client/assets/use-org-notice-Br9Yvstr.js +1 -0
  224. package/dist/client/assets/{use-org-sso-DqIp7ddK.js → use-org-sso-Djh-Wjrr.js} +1 -1
  225. package/dist/client/assets/{use-organization-roles-DL-rDg8L.js → use-organization-roles--fV6OhgA.js} +1 -1
  226. package/dist/client/assets/{use-organization-settings-CEqsZkOR.js → use-organization-settings-CLrP5LP7.js} +1 -1
  227. package/dist/client/assets/{use-panel-navigate-Bh-F8soa.js → use-panel-navigate-D9syj7R6.js} +1 -1
  228. package/dist/client/assets/{use-registry-connections-B4qaPIZH.js → use-registry-connections-MhIa_jkH.js} +1 -1
  229. package/dist/client/assets/{use-secrets-BJkbp2he.js → use-secrets-BjPyeyhU.js} +1 -1
  230. package/dist/client/assets/{use-section-preview-base-BTYgiL8q.js → use-section-preview-base-BT9ezAUh.js} +1 -1
  231. package/dist/client/assets/{use-status-sounds-Buxe5MUi.js → use-status-sounds-BJVy_x05.js} +1 -1
  232. package/dist/client/assets/{use-tags-DrEQnufT.js → use-tags-56ZtFwCf.js} +1 -1
  233. package/dist/client/assets/{use-view-mode-gLSPt8Er.js → use-view-mode-SaJmHW_e.js} +1 -1
  234. package/dist/client/assets/{use-virtual-mcp-TDdC23NB.js → use-virtual-mcp-DEiMy5Jt.js} +1 -1
  235. package/dist/client/assets/useInfiniteQuery-CFoJuuUN.js +1 -0
  236. package/dist/client/assets/useSuspenseInfiniteQuery-DSQqqgPb.js +1 -0
  237. package/dist/client/assets/{users-CzhwlFsm.js → users-DYF88Y5H.js} +1 -1
  238. package/dist/client/assets/variant-calendar-DU8m6GPF.js +1 -0
  239. package/dist/client/assets/{view-mode-toggle-BSAUX2AE.js → view-mode-toggle-DzbBgRGw.js} +1 -1
  240. package/dist/client/index.html +2 -2
  241. package/dist/server/cli.js +215 -215
  242. package/dist/server/server.js +211 -211
  243. package/package.json +1 -1
  244. package/dist/client/assets/agents-list-FPxN9IOf.js +0 -1
  245. package/dist/client/assets/ai-providers-D7PLItv9.js +0 -1
  246. package/dist/client/assets/api-keys-D2YehNxd.js +0 -1
  247. package/dist/client/assets/app-editor-CWnLKzg3.js +0 -1
  248. package/dist/client/assets/category-editor-YbrcictE.js +0 -1
  249. package/dist/client/assets/collection-detail-1jWQu8QJ.js +0 -1
  250. package/dist/client/assets/e2e-tab-BfF-aLBq.js +0 -1
  251. package/dist/client/assets/file-explorer-BMq9QxXt.js +0 -2
  252. package/dist/client/assets/github-repo-picker-CardHb2H.js +0 -1
  253. package/dist/client/assets/index-BP-qj0LS.css +0 -1
  254. package/dist/client/assets/index-Bddb2TOb.js +0 -1
  255. package/dist/client/assets/index-q60P7Zs8.js +0 -1
  256. package/dist/client/assets/org-layout-39ZF5JVf.js +0 -1
  257. package/dist/client/assets/post-calendar-DECkti-b.js +0 -1
  258. package/dist/client/assets/post-editor-CUpCPNXF.js +0 -1
  259. package/dist/client/assets/project-app-view-mek55VZ7.js +0 -1
  260. package/dist/client/assets/record-editor-C_Y7e52y.js +0 -1
  261. package/dist/client/assets/redirect-editor-COuJvUl5.js +0 -1
  262. package/dist/client/assets/registry-Up5B6LrP.js +0 -2
  263. package/dist/client/assets/seo-editor-BUI6GRns.js +0 -1
  264. package/dist/client/assets/settings-layout-gBQs_ZGW.js +0 -1
  265. package/dist/client/assets/settings-sidebar-DGHR5cgg.js +0 -1
  266. package/dist/client/assets/shell-layout--n0X6oT8.js +0 -1
  267. package/dist/client/assets/store-registry-CiA81JKH.js +0 -2
  268. package/dist/client/assets/synced-repos-Bg__UD_R.js +0 -1
  269. package/dist/client/assets/task-route-BTZYbUm0.js +0 -1
  270. package/dist/client/assets/thread-route-DnMeCT5b.js +0 -1
  271. package/dist/client/assets/use-navigate-to-agent-VH5AAfU9.js +0 -5
  272. package/dist/client/assets/useInfiniteQuery-qy981KB_.js +0 -1
  273. package/dist/client/assets/useSuspenseInfiniteQuery-BeaYkvve.js +0 -1
  274. package/dist/client/assets/variant-calendar-DGlZ6rr7.js +0 -1
@@ -1 +0,0 @@
1
- import{c as $,j as t,G as de,a as ye,n as me,r as D,aR as le,b as ee,h as Z,e as ge,t as te,fc as Ne,K as se,m as ke,l as ae,B as re,x as ve,z as Ce}from"./index-Db96eOyL.js";import{c as Re,d as we,b as Pe,D as Se}from"./dialog--s8x0s1I.js";import{C as Ie}from"./collection-search-CoaljN3t.js";import{u as Te}from"./use-debounced-value-CNLUOYR4.js";import{b as he,u as _e}from"./use-connection-Dy0Z_WuU.js";import{u as ne}from"./use-mcp-client-CrXQAzxs.js";import{W as Ee,S as pe}from"./constants-DNuUCxmW.js";import{a as be}from"./authenticate-and-persist-oauth-DHpekAO-.js";import{i as ue}from"./ArrowLeft-DEDPbgLG.js";import{n as Ae}from"./LinkExternal01-DVFUVB9h.js";import{n as ze}from"./Share07-BbKQaSoa.js";import{t as Le,u as Ge}from"./use-navigate-to-agent-VH5AAfU9.js";import{e as Fe}from"./extract-connection-data-ovzHbL2Q.js";import{b as Oe,p as fe,f as Ue,G as xe}from"./provision-repo-scoped-github-connection-WQFARyHG.js";function M(C){const e=$.c(4),{size:n,className:l}=C;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=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]=x):x=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:x}),e[1]=l,e[2]=n,e[3]=o):o=e[3],o}function De(C,e){const n=$.c(12),{org:l}=de();let x;n[0]!==l.id?(x=Ee.REGISTRY(l.id),n[0]=l.id,n[1]=x):x=n[1];const o=x;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=ne(a);let s;n[6]!==C?(s={name:C},n[6]=C,n[7]=s):s=n[7];const u=e?.enabled??!0;let k;return n[8]!==r||n[9]!==s||n[10]!==u?(k={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]=k):k=n[11],Le(k)}function He(C){return C.structuredContent?.item??null}const Me="deco/mcp-github";function $e(C){const{org:e}=de(),{data:n}=ye.useSession(),l=he(),x=me(),[o,a]=D.useState("idle"),[r,s]=D.useState(null),[u,k]=D.useState(null),{data:v,isLoading:P}=De(Me,{enabled:C.enabled}),f=D.useRef(!1);C.enabled&&v&&!P&&!f.current&&n?.user?.id&&o==="idle"&&(f.current=!0,d());async function d(){if(!(!v||!n?.user?.id||!e))try{a("installing"),s(null);const c=Fe(v,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:h}=await l.create.mutateAsync(c);a("authenticating");const y=await be({connectionId:h,orgId:e.id,orgSlug:e.slug,persistFallback:g=>l.update.mutateAsync({id:h,data:{connection_token:g}}).then(()=>{})});if(y.ran&&!y.ok){try{await l.delete.mutateAsync(h)}catch{}throw new Error(y.error&&y.error!=="no token received"?y.error:"No token received from GitHub")}le(x,e.id),k(c),a("ready")}catch(c){s(c instanceof Error?c.message:String(c)),a("error")}}function m(){a("idle"),s(null),k(null),f.current=!1}return C.enabled&&P&&o==="idle"?{status:"installing",error:null,connection:null,retry:m}:{status:o,error:r,connection:u,retry:m}}function ut(C){const e=$.c(27),{open:n,onOpenChange:l,title:x,onImportComplete:o,mode:a}=C,r=a===void 0?"agent":a,s=ee();let u;e[0]!==r||e[1]!==s||e[2]!==x?(u=x??s(r==="connection"?"common.githubRepoPicker.addRepo":"common.githubRepoPicker.importFromGitHub"),e[0]=r,e[1]=s,e[2]=x,e[3]=u):u=e[3];const k=u,[v,P]=D.useState(null);let f;e[4]!==k?(f=t.jsx(Re,{className:"sr-only",children:t.jsx(we,{children:k})}),e[4]=k,e[5]=f):f=e[5];let d;e[6]!==k||e[7]!==v||e[8]!==s?(d=t.jsx("div",{className:"flex items-center h-12 border-b border-border px-4 gap-3 shrink-0",children:v?t.jsxs(t.Fragment,{children:[t.jsx("button",{type:"button",onClick:()=>P(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:v.avatarUrl,alt:v.login,className:"size-5 rounded-full ring-1 ring-border shrink-0"}),t.jsx("span",{className:"text-sm font-medium text-foreground",children:v.login})]}):t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"size-4 text-foreground shrink-0"}),t.jsx("span",{className:"text-sm font-medium text-foreground",children:k})]})}),e[6]=k,e[7]=v,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,{className:"size-4.5 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]!==v||e[17]!==c?(b=t.jsx("div",{className:"flex-1 overflow-hidden flex flex-col min-w-0",children:t.jsx(D.Suspense,{fallback:m,children:t.jsx(Be,{open:n,onComplete:c,selectedInstallation:v,onSelectInstallation:P,onImportComplete:o,mode:r})})}),e[13]=r,e[14]=o,e[15]=n,e[16]=v,e[17]=c,e[18]=b):b=e[18];let h;e[19]!==f||e[20]!==d||e[21]!==b?(h=t.jsxs(Pe,{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]=h):h=e[22];let y;return e[23]!==l||e[24]!==n||e[25]!==h?(y=t.jsx(Se,{open:n,onOpenChange:l,children:h}),e[23]=l,e[24]=n,e[25]=h,e[26]=y):y=e[26],y}function Be({open:C,onComplete:e,selectedInstallation:n,onSelectInstallation:l,onImportComplete:x,mode:o="agent"}){const a=ee(),{org:r}=de(),s=me(),u=Ge(),[k,v]=D.useState(null),P=_e({slug:"mcp-github"}),f=Oe(P),d=$e({enabled:C&&f.length===0}),m=f.length===1?f[0]??null:k,c=ne({connectionId:m?.id??"",orgId:r.id,orgSlug:r.slug}),b=ne({connectionId:pe,orgId:r.id,orgSlug:r.slug}),h=async(i,j)=>{try{const I=await c.callTool({name:"get_file_contents",arguments:{owner:i.owner,repo:i.name,path:j}});if(I.isError)return null;const R=I.content?.find(w=>w.type==="resource")?.resource?.text;if(!R)return null;try{const w=JSON.parse(R);return typeof w=="string"?w:JSON.stringify(w)}catch{return R}}catch{return null}},y=(i,j)=>{Promise.all([h(j,"AGENTS.md"),h(j,"CLAUDE.md")]).then(async([N,I])=>{const T=N??I??null;T&&(await b.callTool({name:"COLLECTION_VIRTUAL_MCP_UPDATE",arguments:{id:i,data:{metadata:{instructions:T}}}}),le(s,r.id))}).catch(N=>{console.error("GitHub instructions fetch failed:",N)})},g=ge({mutationFn:async i=>{if(!m||!n)throw new Error("No GitHub connection or installation");const j=n.installationId;if(o==="connection"){const{childConnectionId:R}=await fe({orgSlug:r.slug,sourceConnection:m,installationId:j,owner:i.owner,repo:i.name,githubCallTool:w=>c.callTool(w),selfCallTool:w=>b.callTool(w),orgShared:!0});return{virtualMcpId:null,repo:i,connectionId:R,item:null}}const{childConnectionId:N,reused:I}=await fe({orgSlug:r.slug,sourceConnection:m,installationId:j,owner:i.owner,repo:i.name,githubCallTool:R=>c.callTool(R),selfCallTool:R=>b.callTool(R)});let T=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:j,connectionId:N},instructions:null,ui:{pinnedViews:null,layout:{defaultMainView:{type:"site-editor"},chatDefaultOpen:!0}}},connections:[{connection_id:N}]}}}),w=R.structuredContent??R,_=w.item?.id;if(!w.item||!_)throw new Error("Failed to create the imported agent");return T=_,{virtualMcpId:_,repo:i,connectionId:N,item:w.item}}catch(R){throw T&&await b.callTool({name:"COLLECTION_VIRTUAL_MCP_DELETE",arguments:{id:T}}).catch(()=>{}),I||await b.callTool({name:"COLLECTION_CONNECTIONS_DELETE",arguments:{id:N,force:!0}}).catch(()=>{}),R}},onSuccess:({virtualMcpId:i,repo:j,connectionId:N,item:I})=>{if(o==="connection"||!i||!I){if(le(s,r.id),Ne(s,r.id),x){x({virtualMcpId:null,repo:j,connectionId:N});return}te.success(a("common.githubRepoPicker.addedRepo",{name:j.name})),e();return}if(s.setQueryData(se.collectionItem(b,r.id,"","VIRTUAL_MCP",i),{item:I}),le(s,r.id),y(i,j),x){x({virtualMcpId:i,repo:j,connectionId:N});return}te.success(a("common.githubRepoPicker.importedRepo",{name:j.name})),e(),u(i)},onError:(i,j)=>{console.error("GitHub import failed:",i);const N=i instanceof Error?i.message:a("common.githubRepoPicker.unknownError");if(j.fork&&N.toLowerCase().includes("mint")){te.error(a("common.githubRepoPicker.failedImportFork",{name:j.name}));return}te.error(a("common.githubRepoPicker.failedImport",{error:N}))}});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:()=>v(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(M,{className:"size-3.5 text-muted-foreground"})}),t.jsx("span",{className:"text-sm font-medium",children:i.title})]},i.id))]}):m?n?t.jsx(Ve,{connectionId:m.id,orgId:r.id,orgSlug:r.slug,installation:n,onSelectRepo:i=>g.mutate(i),isSaving:g.isPending}):t.jsx(qe,{connectionId:m.id,orgId:r.id,orgSlug:r.slug,onSelect:l,showBackButton:f.length>1,onBack:()=>v(null)}):null}function qe(C){const e=$.c(124),{connectionId:n,orgId:l,orgSlug:x,onSelect:o,showBackButton:a,onBack:r}=C,s=ee();let u;e[0]!==l||e[1]!==x?(u={connectionId:pe,orgId:l,orgSlug:x},e[0]=l,e[1]=x,e[2]=u):u=e[2];const k=ne(u),v=me(),P=he();let f;e[3]!==n||e[4]!==l?(f=se.githubUserOrgs(l,n),e[3]=n,e[4]=l,e[5]=f):f=e[5];let d;e[6]!==n||e[7]!==k?(d=()=>Ue(p=>k.callTool(p),n),e[6]=n,e[7]=k,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]!==P||e[13]!==n||e[14]!==c||e[15]!==l||e[16]!==x||e[17]!==v?(b=async()=>{const p=await be({connectionId:n,orgId:l,orgSlug:x,persistFallback:E=>P.update.mutateAsync({id:n,data:{connection_token:E}}).then(Qe)});if(p.ran&&!p.ok)throw new Error(p.error??"no token received");const S=new URL(`/api/${x}/mcp/${n}`,window.location.origin);await v.invalidateQueries({queryKey:se.isMCPAuthenticated(S.href,null)}),await v.invalidateQueries({queryKey:se.mcpClientPrefix()}),await c.refetch()},e[12]=P,e[13]=n,e[14]=c,e[15]=l,e[16]=x,e[17]=v,e[18]=b):b=e[18];let h;e[19]!==s?(h=p=>{te.error(s("common.githubRepoPicker.failedReconnect",{error:p instanceof Error?p.message:s("common.githubRepoPicker.unknownError")}))},e[19]=s,e[20]=h):h=e[20];let y;e[21]!==b||e[22]!==h?(y={mutationFn:b,onError:h},e[21]=b,e[22]=h,e[23]=y):y=e[23];const g=ge(y);if(c.isLoading){let p;return e[24]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(Z,{className:"size-4.5 text-muted-foreground"})}),e[24]=p):p=e[24],p}if(c.isError){let p;e[25]!==s?(p=s("common.githubRepoPicker.failedLoadAccounts"),e[25]=s,e[26]=p):p=e[26];let S;e[27]!==p?(S=t.jsx("p",{className:"text-sm text-destructive",children:p}),e[27]=p,e[28]=S):S=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]!==g?(z=()=>g.mutate(),e[33]=g,e[34]=z):z=e[34];const H=g.isPending;let L;e[35]!==g.isPending?(L=g.isPending?t.jsx(Z,{className:"size-3.5"}):t.jsx(M,{className:"size-3.5"}),e[35]=g.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 F;e[39]!==g.isPending||e[40]!==z||e[41]!==L||e[42]!==G?(F=t.jsxs(re,{type:"button",variant:"outline",size:"sm",onClick:z,disabled:H,children:[L,G]}),e[39]=g.isPending,e[40]=z,e[41]=L,e[42]=G,e[43]=F):F=e[43];let U;return e[44]!==A||e[45]!==F||e[46]!==S?(U=t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-3 px-6 text-center",children:[S,A,F]}),e[44]=A,e[45]=F,e[46]=S,e[47]=U):U=e[47],U}const i=c.data;if(!i)return null;if(i.installations.length===0){let p;e[48]!==r||e[49]!==a||e[50]!==s?(p=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]=p):p=e[51];let S;e[52]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx("div",{className:"size-16 rounded-2xl bg-muted flex items-center justify-center",children:t.jsx(M,{className:"size-8 text-foreground"})}),e[52]=S):S=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 H;e[58]!==s?(H=s("common.githubRepoPicker.setupRepositoriesTitle"),e[58]=s,e[59]=H):H=e[59];let L;e[60]!==H?(L=t.jsx("h2",{className:"mt-2 text-base font-semibold text-foreground",children:H}),e[60]=H,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 F;e[64]!==G?(F=t.jsx("p",{className:"mt-1.5 max-w-[360px] text-xs leading-relaxed text-muted-foreground",children:G}),e[64]=G,e[65]=F):F=e[65];let U;e[66]!==s?(U=s("common.githubRepoPicker.chooseRepositories"),e[66]=s,e[67]=U):U=e[67];let ie;e[68]===Symbol.for("react.memo_cache_sentinel")?(ie=t.jsx(Ae,{size:14}),e[68]=ie):ie=e[68];let B;e[69]!==U?(B=t.jsx(re,{asChild:!0,size:"sm",children:t.jsxs("a",{href:xe,target:"_blank",rel:"noopener noreferrer",children:[U,ie]})}),e[69]=U,e[70]=B):B=e[70];let q;e[71]!==c?(q=()=>{c.refetch()},e[71]=c,e[72]=q):q=e[72];const je=c.isFetching;let Q;e[73]!==c.isFetching?(Q=c.isFetching&&t.jsx(Z,{className:"size-3.5"}),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]!==q||e[79]!==Q||e[80]!==V?(K=t.jsxs(re,{type:"button",variant:"outline",size:"sm",onClick:q,disabled:je,children:[Q,V]}),e[77]=c.isFetching,e[78]=q,e[79]=Q,e[80]=V,e[81]=K):K=e[81];let W;e[82]!==B||e[83]!==K?(W=t.jsxs("div",{className:"mt-5 flex items-center gap-2",children:[B,K]}),e[82]=B,e[83]=K,e[84]=W):W=e[84];let J;e[85]!==s?(J=s("common.githubRepoPicker.repositoryAccessNote"),e[85]=s,e[86]=J):J=e[86];let Y;e[87]!==J?(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:J}),e[87]=J,e[88]=Y):Y=e[88];let X;e[89]!==z||e[90]!==L||e[91]!==F||e[92]!==W||e[93]!==Y?(X=t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center px-8 py-6 text-center",children:[S,z,L,F,W,Y]}),e[89]=z,e[90]=L,e[91]=F,e[92]=W,e[93]=Y,e[94]=X):X=e[94];let oe;return e[95]!==X||e[96]!==p?(oe=t.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[p,X]}),e[95]=X,e[96]=p,e[97]=oe):oe=e[97],oe}let j;e[98]!==r||e[99]!==a||e[100]!==s?(j=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]=j):j=e[101];let N;if(e[102]!==i.installations||e[103]!==o||e[104]!==s){let p;e[106]!==o||e[107]!==s?(p=S=>t.jsxs("button",{type:"button",onClick:()=>o(S),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:S.avatarUrl,alt:S.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:S.login}),S.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")," →"]})]},S.installationId),e[106]=o,e[107]=s,e[108]=p):p=e[108],N=i.installations.map(p),e[102]=i.installations,e[103]=o,e[104]=s,e[105]=N}else N=e[105];let I;e[109]!==N?(I=t.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden [scrollbar-gutter:stable]",children:N}),e[109]=N,e[110]=I):I=e[110];let T;e[111]!==s?(T=s("common.githubRepoPicker.accountNotListed"),e[111]=s,e[112]=T):T=e[112];let R;e[113]!==s?(R=s("common.githubRepoPicker.installGitHubApp"),e[113]=s,e[114]=R):R=e[114];let w;e[115]!==R?(w=t.jsx("span",{className:"underline underline-offset-2",children:R}),e[115]=R,e[116]=w):w=e[116];let _;e[117]!==T||e[118]!==w?(_=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:[T," ",w]})}),e[117]=T,e[118]=w,e[119]=_):_=e[119];let O;return e[120]!==I||e[121]!==_||e[122]!==j?(O=t.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[j,I,_]}),e[120]=I,e[121]=_,e[122]=j,e[123]=O):O=e[123],O}function Qe(){}function Ve(C){const e=$.c(23),{connectionId:n,orgId:l,orgSlug:x,installation:o,onSelectRepo:a,isSaving:r}=C,s=ee(),[u,k]=D.useState(""),v=Te(u,300),P=D.useDeferredValue(v),f=u!==P;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(Ie,{placeholder:d,value:u,onChange:k,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 h;e[8]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(Z,{className:"size-4.5 text-muted-foreground"})}),e[8]=h):h=e[8];let y;e[9]!==n||e[10]!==P||e[11]!==o||e[12]!==r||e[13]!==a||e[14]!==l||e[15]!==x?(y=t.jsx(D.Suspense,{fallback:h,children:t.jsx(Ke,{connectionId:n,orgId:l,orgSlug:x,installation:o,query:P,onSelectRepo:a,isSaving:r})}),e[9]=n,e[10]=P,e[11]=o,e[12]=r,e[13]=a,e[14]=l,e[15]=x,e[16]=y):y=e[16];let g;e[17]!==b||e[18]!==y?(g=t.jsx("div",{className:b,children:y}),e[17]=b,e[18]=y,e[19]=g):g=e[19];let i;return e[20]!==m||e[21]!==g?(i=t.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[m,g]}),e[20]=m,e[21]=g,e[22]=i):i=e[22],i}function Ke(C){const e=$.c(36),{connectionId:n,orgId:l,orgSlug:x,installation:o,query:a,onSelectRepo:r,isSaving:s}=C,u=ee();let k;e[0]!==n||e[1]!==l||e[2]!==x?(k={connectionId:n,orgId:l,orgSlug:x},e[0]=n,e[1]=l,e[2]=x,e[3]=k):k=e[3];const v=ne(k),P=o.type==="User"?"user":"org",f=a?`${P}:${o.login} ${a} in:name fork:true`:`${P}:${o.login} fork:true`;let d;e[4]!==n||e[5]!==o.login||e[6]!==l||e[7]!==a?(d=se.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]!==v||e[10]!==f?(m=async g=>{const{signal:i}=g,N=(await v.callTool({name:"search_repositories",arguments:{query:f,page:1,perPage:30}},void 0,{signal:i})).content?.[0]?.text;if(!N)throw new Error("No response from search_repositories");return(JSON.parse(N).items??[]).map(We)},e[9]=v,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}=ve(c);if(b.length===0){let g;e[15]!==u?(g=u("common.githubRepoPicker.noRepositoriesFound"),e[15]=u,e[16]=g):g=e[16];let i;e[17]!==g?(i=t.jsx("p",{className:"text-sm text-muted-foreground",children:g}),e[17]=g,e[18]=i):i=e[18];let j;e[19]!==a||e[20]!==u?(j=a&&t.jsx("p",{className:"text-xs text-muted-foreground/60",children:u("common.githubRepoPicker.tryDifferentSearchTerm")}),e[19]=a,e[20]=u,e[21]=j):j=e[21];let N;return e[22]!==i||e[23]!==j?(N=t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-1",children:[i,j]}),e[22]=i,e[23]=j,e[24]=N):N=e[24],N}let h;if(e[25]!==s||e[26]!==r||e[27]!==b||e[28]!==u){let g;e[30]!==s||e[31]!==r||e[32]!==u?(g=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(M,{className:"size-4 text-muted-foreground mt-0.5 shrink-0"}),t.jsxs("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}),i.fork&&t.jsx("span",{className:"text-xs font-medium text-muted-foreground border border-border rounded px-1.5 py-0.5 shrink-0 leading-none",children:u("common.githubRepoPicker.forkBadge")})]}),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(Ce,{size:10}):t.jsx(ze,{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]=g):g=e[33],h=b.map(g),e[25]=s,e[26]=r,e[27]=b,e[28]=u,e[29]=h}else h=e[29];let y;return e[34]!==h?(y=t.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden flex flex-col [scrollbar-gutter:stable]",children:h}),e[34]=h,e[35]=y):y=e[35],y}function We(C){return{name:C.name,fullName:C.full_name,owner:C.full_name.split("/")[0]??"",url:C.html_url,private:C.private,description:C.description,updatedAt:C.updated_at,fork:C.fork??!1}}function ce(C){const e=$.c(51),{status:n,error:l,retry:x}=C,o=ee();if(n==="error"){let N;e[0]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx("div",{className:"size-10 rounded-full bg-destructive/10 flex items-center justify-center",children:t.jsx(M,{className:"size-5 text-destructive"})}),e[0]=N):N=e[0];let I;e[1]!==o?(I=o("common.githubRepoPicker.connectionFailed"),e[1]=o,e[2]=I):I=e[2];let T;e[3]!==I?(T=t.jsx("p",{className:"text-sm font-medium",children:I}),e[3]=I,e[4]=T):T=e[4];let R;e[5]!==l||e[6]!==o?(R=l??o("common.githubRepoPicker.somethingWentWrong"),e[5]=l,e[6]=o,e[7]=R):R=e[7];let w;e[8]!==R?(w=t.jsx("p",{className:"text-xs text-muted-foreground max-w-[260px] leading-relaxed",children:R}),e[8]=R,e[9]=w):w=e[9];let _;e[10]!==T||e[11]!==w?(_=t.jsxs("div",{className:"flex flex-col items-center gap-1 text-center",children:[T,w]}),e[10]=T,e[11]=w,e[12]=_):_=e[12];let O;e[13]!==o?(O=o("common.githubRepoPicker.tryAgain"),e[13]=o,e[14]=O):O=e[14];let p;e[15]!==x||e[16]!==O?(p=t.jsx("button",{type:"button",onClick:x,className:"text-xs font-medium text-foreground border border-border rounded-md px-3 py-1.5 hover:bg-accent transition-colors",children:O}),e[15]=x,e[16]=O,e[17]=p):p=e[17];let S;return e[18]!==_||e[19]!==p?(S=t.jsxs("div",{className:"flex flex-col items-center gap-4 px-6 py-10",children:[N,_,p]}),e[18]=_,e[19]=p,e[20]=S):S=e[20],S}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(M,{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,{className:"size-3 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 k;e[26]!==u?(k=t.jsx("p",{className:"text-sm font-medium",children:u}),e[26]=u,e[27]=k):k=e[27];let v;e[28]!==a||e[29]!==o?(v=o(a?"common.githubRepoPicker.completeOAuthFlow":"common.githubRepoPicker.installingGitHubConnection"),e[28]=a,e[29]=o,e[30]=v):v=e[30];let P;e[31]!==v?(P=t.jsx("p",{className:"text-xs text-muted-foreground",children:v}),e[31]=v,e[32]=P):P=e[32];let f;e[33]!==k||e[34]!==P?(f=t.jsxs("div",{className:"flex flex-col items-center gap-1 text-center",children:[k,P]}),e[33]=k,e[34]=P,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 h;e[40]!==b?(h=ae("size-1.5 rounded-full",b),e[40]=b,e[41]=h):h=e[41];let y;e[42]!==h?(y=t.jsx("span",{className:h}),e[42]=h,e[43]=y):y=e[43];let g;e[44]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("span",{className:"size-1.5 rounded-full bg-muted-foreground/30"}),e[44]=g):g=e[44];let i;e[45]!==c||e[46]!==y?(i=t.jsxs("div",{className:"flex items-center gap-1.5",children:[c,y,g]}),e[45]=c,e[46]=y,e[47]=i):i=e[47];let j;return e[48]!==i||e[49]!==f?(j=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]=j):j=e[50],j}export{M as G,ut as a,$e as b,De as u};