@decocms/mesh 2.59.1 → 2.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/client/assets/{AlertCircle-fPPcaR5f.js → AlertCircle--GzH2vta.js} +1 -1
  2. package/dist/client/assets/{ArrowLeft-DT1xTBGU.js → ArrowLeft-DzpTEYvO.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-CtR259iO.js → ArrowUp-BfBrilbk.js} +1 -1
  4. package/dist/client/assets/{Check-DU7cpByy.js → Check-CXkamnnr.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-azWbt7u-.js → ChevronDown-DaqG_J6Z.js} +1 -1
  6. package/dist/client/assets/{Code01-COCYoPwi.js → Code01-BNQVP8-g.js} +1 -1
  7. package/dist/client/assets/{Copy01-BS5F7eSr.js → Copy01-CpBgXJFP.js} +1 -1
  8. package/dist/client/assets/{DotsHorizontal-CGIWHwff.js → DotsHorizontal-BDAFctKq.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-D0UahMMI.js → DotsVertical-D5MnD2QZ.js} +1 -1
  10. package/dist/client/assets/{Download01-Drbb93GF.js → Download01-4Tu3o0-K.js} +1 -1
  11. package/dist/client/assets/{Edit01-Y-NULVv3.js → Edit01-7Ak8JL9W.js} +1 -1
  12. package/dist/client/assets/{File06-Bkbh_2zg.js → File06-C7QVLRp6.js} +1 -1
  13. package/dist/client/assets/{FilterLines-CJ9m3X3i.js → FilterLines-UNZ5Kk_X.js} +1 -1
  14. package/dist/client/assets/{FlipBackward-CBCHYAL0.js → FlipBackward-Cc_OirbM.js} +1 -1
  15. package/dist/client/assets/{Grid01-g97U8qPw.js → Grid01-C_dMOr-7.js} +1 -1
  16. package/dist/client/assets/{Home02-DbfcHYft.js → Home02-Cfg1gm8U.js} +1 -1
  17. package/dist/client/assets/{Image01-Bjd8Adfr.js → Image01-C6IcS9Ip.js} +1 -1
  18. package/dist/client/assets/{Inbox01-CLqVjnaB.js → Inbox01-D1IW7Je7.js} +1 -1
  19. package/dist/client/assets/{InfoCircle-DRozFBoN.js → InfoCircle-Dwuc2RiH.js} +1 -1
  20. package/dist/client/assets/{Key01-DYF-_FxZ.js → Key01-CrwOIsjX.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-DlDS1S8C.js → LinkExternal01-yVEf-2cT.js} +1 -1
  22. package/dist/client/assets/{List-DflJv9FE.js → List-d88_8fTd.js} +1 -1
  23. package/dist/client/assets/{Loading01-WEA2Z3sB.js → Loading01-Bf56vlFv.js} +1 -1
  24. package/dist/client/assets/{Lock01-Bd04eNWH.js → Lock01-CQ0bp8OP.js} +1 -1
  25. package/dist/client/assets/{Pin01-Bi-ERQ-E.js → Pin01-DBKe5RmK.js} +1 -1
  26. package/dist/client/assets/{Play-Phpxo-Gg.js → Play-l95VP5u9.js} +1 -1
  27. package/dist/client/assets/{Plus-C51GvXtB.js → Plus-CcqPpwU0.js} +1 -1
  28. package/dist/client/assets/{SearchMd-C-0AQItY.js → SearchMd-Ns-pswyj.js} +1 -1
  29. package/dist/client/assets/{Share07-CExAPT_-.js → Share07-B5yrbjwk.js} +1 -1
  30. package/dist/client/assets/{Terminal-BIPX0F_t.js → Terminal-qZhwvVsv.js} +1 -1
  31. package/dist/client/assets/{Trash01-DlMEaqpj.js → Trash01-DVYV3BJw.js} +1 -1
  32. package/dist/client/assets/{Upload01-CUUKYNN3.js → Upload01-CCAaxnrW.js} +1 -1
  33. package/dist/client/assets/{Users03-CnY0pIWD.js → Users03-CSRHEIl2.js} +1 -1
  34. package/dist/client/assets/{X-CCyovJoX.js → X-Dz8JZ2ZX.js} +1 -1
  35. package/dist/client/assets/{XClose-QHHERH-x.js → XClose-BhgPfyG3.js} +1 -1
  36. package/dist/client/assets/{agent-detail-C7hvmlfv.js → agent-detail-nBBUtMd0.js} +1 -1
  37. package/dist/client/assets/{agents-v16TW_mQ.js → agents-4MJAHJGV.js} +1 -1
  38. package/dist/client/assets/{alert-dialog-DXUFHjZG.js → alert-dialog-5t1wq8Xl.js} +1 -1
  39. package/dist/client/assets/{auth-catchall-BXh0OUyB.js → auth-catchall-CTOFzXVU.js} +1 -1
  40. package/dist/client/assets/{avatar-BIq-NZMM.js → avatar-Cx4ORVtq.js} +1 -1
  41. package/dist/client/assets/{badge-Y7JSGKlq.js → badge-DfeUgg96.js} +1 -1
  42. package/dist/client/assets/{binder-CP43LYqU.js → binder-Dh-m11Sm.js} +1 -1
  43. package/dist/client/assets/{button-CZtA6e27.js → button-C83AQWC1.js} +1 -1
  44. package/dist/client/assets/{card-CvWkq_X8.js → card-CbXWWn3M.js} +1 -1
  45. package/dist/client/assets/{checkbox-DODuulDI.js → checkbox-DcPieRc5.js} +1 -1
  46. package/dist/client/assets/{circle-alert-DSFyuFJV.js → circle-alert-ChrxIBwd.js} +1 -1
  47. package/dist/client/assets/{collection-detail-C74ieQgx.js → collection-detail-B_qs3xwg.js} +1 -1
  48. package/dist/client/assets/{collection-display-button-BVuh0Ujb.js → collection-display-button-DlAEKbje.js} +1 -1
  49. package/dist/client/assets/{collection-header-ChDPCqnl.js → collection-header-Fc9BtUxQ.js} +1 -1
  50. package/dist/client/assets/{collection-page-l6wHN3i-.js → collection-page-DvzZtNQd.js} +1 -1
  51. package/dist/client/assets/{collection-search-BMTwYZEY.js → collection-search-bOTNZP0b.js} +1 -1
  52. package/dist/client/assets/{collection-tab-pveYZhJB.js → collection-tab-BB_A78nH.js} +1 -1
  53. package/dist/client/assets/{collection-table-wrapper-BmOSh0Ti.js → collection-table-wrapper-Ch8oh2UW.js} +1 -1
  54. package/dist/client/assets/{connect-BNx3fCnL.js → connect-DYIKCRWy.js} +1 -1
  55. package/dist/client/assets/{connection-card-OBK79Ok0.js → connection-card-BZU7F7-m.js} +1 -1
  56. package/dist/client/assets/{connection-detail-CTWJ36af.js → connection-detail-D3-I_W38.js} +1 -1
  57. package/dist/client/assets/{connections-B7qKl0yx.js → connections-dluTnyJM.js} +1 -1
  58. package/dist/client/assets/constants-CnfPGmdA.js +1 -0
  59. package/dist/client/assets/{constants-DTaz4Q6l.js → constants-ytntCGH9.js} +1 -1
  60. package/dist/client/assets/{create-organization-dialog-wKnCm4tD.js → create-organization-dialog-GjXRxTaj.js} +1 -1
  61. package/dist/client/assets/{dialog-_hbfKjgR.js → dialog-D_ebnPDF.js} +1 -1
  62. package/dist/client/assets/{dropdown-menu-Q-xjH7Pn.js → dropdown-menu-CzQCi3DZ.js} +1 -1
  63. package/dist/client/assets/{dynamic-plugin-layout-BvxSYJx0.js → dynamic-plugin-layout-DrCIvG61.js} +1 -1
  64. package/dist/client/assets/{empty-state-BZp4ZNND.js → empty-state-Cr5g6Vh9.js} +1 -1
  65. package/dist/client/assets/{empty-state-DwJP9EeA.js → empty-state-CxA9hap0.js} +1 -1
  66. package/dist/client/assets/{env-vars-editor-CM58G7UL.js → env-vars-editor-DXJo5cdV.js} +1 -1
  67. package/dist/client/assets/{error-boundary-TOEZuFH_.js → error-boundary-Dg0Af8BA.js} +1 -1
  68. package/dist/client/assets/{extract-connection-data-DgTMj_79.js → extract-connection-data-BYPMZtVW.js} +1 -1
  69. package/dist/client/assets/{file-browser-Bgi-XRAm.js → file-browser-2RP-n1Xp.js} +2 -2
  70. package/dist/client/assets/{form-DVP4UGQF.js → form-BISYEAnP.js} +1 -1
  71. package/dist/client/assets/{grid-view-BKbjwXal.js → grid-view-BzgHSliB.js} +1 -1
  72. package/dist/client/assets/{home-CHThgzq3.js → home-CZ1MSx2E.js} +1 -1
  73. package/dist/client/assets/{index--8-j2jIW.js → index-B-pYSGnK.js} +1 -1
  74. package/dist/client/assets/{index-BPDeXK2i.js → index-C8OOnmm1.js} +2 -2
  75. package/dist/client/assets/{index-DvgT-Ylp.js → index-CIvJ2wFV.js} +1 -1
  76. package/dist/client/assets/{index-ChSFgM-0.js → index-CmUKmcyS.js} +1 -1
  77. package/dist/client/assets/{index-q4slkA9o.js → index-HgNYu27A.js} +1 -1
  78. package/dist/client/assets/{index-Bb8qRjka.js → index-c6ju_hIh.js} +1 -1
  79. package/dist/client/assets/{infiniteQueryObserver-CkfPEnDe.js → infiniteQueryObserver-B1N6PF-z.js} +1 -1
  80. package/dist/client/assets/{input-BH7rcQ6N.js → input-CrR0FEof.js} +1 -1
  81. package/dist/client/assets/{layout-Bjcx__oq.js → layout-BGZtLEwK.js} +1 -1
  82. package/dist/client/assets/{localstorage-keys-CQxtmiwn.js → localstorage-keys-N4jrVxvr.js} +1 -1
  83. package/dist/client/assets/{login-H8mnQ1nn.js → login-BFXWEB6t.js} +1 -1
  84. package/dist/client/assets/{mcp-oauth-DCAX9rvQ.js → mcp-oauth-BkqLXiLL.js} +1 -1
  85. package/dist/client/assets/{mcp-server-card-B7eAu89V.js → mcp-server-card-CkDDvd5o.js} +1 -1
  86. package/dist/client/assets/{mcp-server-detail-BBu255GS.js → mcp-server-detail-CuItqIIY.js} +2 -2
  87. package/dist/client/assets/{members-DtDB93xu.js → members-C3Nvqq2t.js} +1 -1
  88. package/dist/client/assets/{monaco-editor-CSEPfDhp.js → monaco-editor-gim9RLZ3.js} +1 -1
  89. package/dist/client/assets/{monitoring-DrLLpiIk.js → monitoring-AmN2oTrM.js} +1 -1
  90. package/dist/client/assets/{oauth-callback-B1p8XG7Z.js → oauth-callback-BO8hRY4t.js} +1 -1
  91. package/dist/client/assets/{page-CCtDo97_.js → page-BcZkyr2a.js} +1 -1
  92. package/dist/client/assets/{page-CC98dZbM.js → page-D-IBJ4SW.js} +1 -1
  93. package/dist/client/assets/{pin-to-sidebar-button-BhX11X__.js → pin-to-sidebar-button-DbV8w54G.js} +1 -1
  94. package/dist/client/assets/{plugin-empty-state-DQiXYx1t.js → plugin-empty-state-Df2LAyPv.js} +1 -1
  95. package/dist/client/assets/{plugin-header-CBg64TM8.js → plugin-header-e5FObvvx.js} +1 -1
  96. package/dist/client/assets/{plugins-D1wlWAhy.js → plugins-BOsIh96E.js} +1 -1
  97. package/dist/client/assets/{popover-DRX_xxtv.js → popover-B2yKs5LA.js} +1 -1
  98. package/dist/client/assets/{registry-utils-1tI_xdzz.js → registry-utils-DekIcM3F.js} +1 -1
  99. package/dist/client/assets/{resizable-2WLYZXF8.js → resizable-V4jINWPU.js} +1 -1
  100. package/dist/client/assets/{resource-tabs--Vf32v1q.js → resource-tabs-BsRvwnyx.js} +1 -1
  101. package/dist/client/assets/{select-t24zUjd9.js → select-BlFReF6r.js} +1 -1
  102. package/dist/client/assets/{settings-CrvbtsPm.js → settings-cRTESMAX.js} +1 -1
  103. package/dist/client/assets/{shell-layout-eRPaowBH.js → shell-layout-BfC0vVyw.js} +1 -1
  104. package/dist/client/assets/{spinner-DtqP2JJP.js → spinner-CwfYynNt.js} +1 -1
  105. package/dist/client/assets/{store-invite-DhzcnT_6.js → store-invite-BErtY6PV.js} +1 -1
  106. package/dist/client/assets/{switch-Bary1URs.js → switch-DjW_2nBx.js} +1 -1
  107. package/dist/client/assets/{textarea-CS6QXlwX.js → textarea-DRMuRqUv.js} +1 -1
  108. package/dist/client/assets/{tool-set-selector-Bi3mcGiN.js → tool-set-selector-Btgo2YwH.js} +1 -1
  109. package/dist/client/assets/{tools-list-DHi6RJds.js → tools-list-DesNUyav.js} +1 -1
  110. package/dist/client/assets/{tooltip-DZZDyQXc.js → tooltip-aHeHMhKh.js} +1 -1
  111. package/dist/client/assets/{typewriter-title-Cy3KhZIj.js → typewriter-title-DRU6uRKP.js} +1 -1
  112. package/dist/client/assets/{use-binding-DA5WksVi.js → use-binding-C2mDgpbB.js} +1 -1
  113. package/dist/client/assets/{use-collections-B6FnnWjM.js → use-collections-CkAaybvR.js} +1 -1
  114. package/dist/client/assets/{use-connection-D3KERTW2.js → use-connection-TLrid9RM.js} +1 -1
  115. package/dist/client/assets/{use-create-virtual-mcp-DTS0bNB1.js → use-create-virtual-mcp-Bi6QQFl1.js} +1 -1
  116. package/dist/client/assets/{use-list-state-rseoSQyE.js → use-list-state-DuKw_MMV.js} +1 -1
  117. package/dist/client/assets/{use-mcp-prompts-Bg7WZoid.js → use-mcp-prompts-D5tApqEs.js} +1 -1
  118. package/dist/client/assets/{use-members-DpbK1cBA.js → use-members-g_5Yt7ve.js} +1 -1
  119. package/dist/client/assets/{use-mobile-CCX94LGD.js → use-mobile-DQ806XzQ.js} +1 -1
  120. package/dist/client/assets/{use-organization-settings-CrIvplba.js → use-organization-settings-C-IzAdi1.js} +1 -1
  121. package/dist/client/assets/{use-virtual-mcp-BEkx8KQT.js → use-virtual-mcp-C8lLKpyG.js} +1 -1
  122. package/dist/client/assets/useInfiniteQuery-BUOCgX3w.js +1 -0
  123. package/dist/client/assets/{useMutation-BMW6ucfs.js → useMutation-C4aXMLv3.js} +1 -1
  124. package/dist/client/assets/useQuery-DNOH3p7p.js +1 -0
  125. package/dist/client/assets/{view-mode-toggle-Cxs_NdgM.js → view-mode-toggle-jPeow5hv.js} +1 -1
  126. package/dist/client/assets/{workflow-CsZCHJ-t.js → workflow-pPSpZECL.js} +1 -1
  127. package/dist/client/index.html +1 -1
  128. package/dist/server/cli.js +159 -159
  129. package/dist/server/migrate.js +141 -141
  130. package/dist/server/server.js +144 -144
  131. package/package.json +1 -1
  132. package/dist/client/assets/constants-CglLP18m.js +0 -1
  133. package/dist/client/assets/useInfiniteQuery-Dv5zSBcU.js +0 -1
  134. package/dist/client/assets/useQuery-BytVpPBL.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as M,c as ne,j as S,bW as OL,bX as LL,E as DL,ag as jt,s as te,bY as co,bZ as RC,bq as ML,br as PL,bo as FL,ad as Lt,ae as Pa,n as is,o as Ne,bp as de,af as tr,b_ as BL,b$ as He,_ as UL,bz as gl,u as gn,a as OC,K as as,Y as ib,ab as ln,g as LC,h as HL,k as $L,c0 as DC,c1 as MC,c2 as PC,c3 as FC,c4 as BC,c5 as UC,c6 as HC,c7 as $C,c8 as zC,Z as bl,c9 as jC,bT as zL,bE as gt,ca as jL,cb as qL,a_ as qC,cc as GL,cd as Cn,ce as ou,cf as VL,cg as lu,ch as WL,ci as YL,cj as KL,ck as XL,q as ZL,cl as QL,cm as JL,cn as e2,co as t2,l as GC,bS as po,al as ab,am as n2,ao as r2,ah as i2,aj as a2,ak as s2,be as o2,at as l2}from"./index-BPDeXK2i.js";import{c as ge,B as bt}from"./button-CZtA6e27.js";import{i as u2}from"./X-CCyovJoX.js";import{u as ti,a as sb,b as ob,i as VC,e as c2}from"./constants-DTaz4Q6l.js";import{b as WC}from"./use-virtual-mcp-BEkx8KQT.js";import{b as YC}from"./use-collections-B6FnnWjM.js";import{b as KC,a as d2}from"./use-connection-D3KERTW2.js";import{a as p2}from"./use-binding-DA5WksVi.js";import{u as f2,M as XC,s as o0}from"./monaco-editor-CSEPfDhp.js";import{u as fo,L as lb}from"./localstorage-keys-CQxtmiwn.js";import{I as ub}from"./input-BH7rcQ6N.js";import{P as ss,a as ls,b as us}from"./popover-DRX_xxtv.js";import{S as h2,a as m2,b as g2,c as b2,d as E2}from"./select-t24zUjd9.js";import{t as ho}from"./ChevronDown-azWbt7u-.js";import{i as y2}from"./File06-Bkbh_2zg.js";import{c as T2,i as ZC}from"./Grid01-g97U8qPw.js";import{a as S2}from"./Image01-Bjd8Adfr.js";import{i as El}from"./SearchMd-C-0AQItY.js";import{S as yl}from"./spinner-DtqP2JJP.js";import{c as ni,T as ri,a as ii,b as cb}from"./tooltip-DZZDyQXc.js";import{u as A2,g as QC,l as l0,a as u0,r as v2}from"./use-mcp-prompts-Bg7WZoid.js";import{E as k2,i as x2}from"./error-boundary-TOEZuFH_.js";import{c as C2,b as _2,e as I2,a as w2,D as N2}from"./dialog-_hbfKjgR.js";import{a as R2,F as O2,b as L2,c as D2,d as M2,f as P2}from"./form-DVP4UGQF.js";import{I as db,E as F2}from"./empty-state-BZp4ZNND.js";import{i as JC}from"./AlertCircle-fPPcaR5f.js";import{i as B2}from"./ArrowUp-CtR259iO.js";import{i as U2}from"./Edit01-Y-NULVv3.js";import{t as pb}from"./Users03-CnY0pIWD.js";import{i as Tl}from"./Check-DU7cpByy.js";import{a as fb}from"./Copy01-BS5F7eSr.js";import{i as H2}from"./Terminal-BIPX0F_t.js";import{g as $2}from"./generate-id-Dyweu44Y.js";import{s as z2}from"./Trash01-DlMEaqpj.js";import{u as j2}from"./use-create-virtual-mcp-DTS0bNB1.js";import{s as q2}from"./Plus-C51GvXtB.js";var Fa;(function(t){t.assertEqual=i=>{};function e(i){}t.assertIs=e;function n(i){throw new Error}t.assertNever=n,t.arrayToEnum=i=>{const a={};for(const s of i)a[s]=s;return a},t.getValidEnumValues=i=>{const a=t.objectKeys(i).filter(o=>typeof i[i[o]]!="number"),s={};for(const o of a)s[o]=i[o];return t.objectValues(s)},t.objectValues=i=>t.objectKeys(i).map(function(a){return i[a]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&a.push(s);return a},t.find=(i,a)=>{for(const s of i)if(a(s))return s},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(s=>typeof s=="string"?`'${s}'`:s).join(a)}t.joinValues=r,t.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Fa||(Fa={}));var c0;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(c0||(c0={}));Fa.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);Fa.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class mo extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(a){return a.message},r={_errors:[]},i=a=>{for(const s of a.issues)if(s.code==="invalid_union")s.unionErrors.map(i);else if(s.code==="invalid_return_type")i(s.returnTypeError);else if(s.code==="invalid_arguments")i(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let o=r,l=0;for(;l<s.path.length;){const u=s.path[l];l===s.path.length-1?(o[u]=o[u]||{_errors:[]},o[u]._errors.push(n(s))):o[u]=o[u]||{_errors:[]},o=o[u],l++}}};return i(this),r}static assert(e){if(!(e instanceof mo))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Fa.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n=Object.create(null),r=[];for(const i of this.issues)if(i.path.length>0){const a=i.path[0];n[a]=n[a]||[],n[a].push(e(i))}else r.push(e(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}mo.create=t=>new mo(t);var d0;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(d0||(d0={}));var be;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(be||(be={}));const e_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M17.115 15.358c-.27.306-.554.608-.851.905-4.296 4.296-9.678 5.88-12.021 3.536-1.607-1.606-1.368-4.641.325-7.775M6.89 8.725c.281-.32.578-.636.888-.947C12.074 3.482 17.456 1.9 19.8 4.243c1.608 1.607 1.367 4.645-.33 7.781m-3.206-4.246c4.296 4.296 5.88 9.678 3.536 12.021-2.343 2.343-7.725.76-12.02-3.535C3.483 11.968 1.9 6.586 4.244 4.243c2.343-2.343 7.725-.76 12.02 3.535ZM13 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));e_.displayName="Atom02";const t_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m7 15 5 5 5-5M7 9l5-5 5 5"}));t_.displayName="ChevronSelectorVertical";const n_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M15.938 15.938A7.001 7.001 0 0 0 15 2a7.001 7.001 0 0 0-6.938 6.062M16 15a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"}));n_.displayName="Coins01";const r_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M6 16a4 4 0 0 0 4 4h4a4 4 0 0 0 0-8h-4a4 4 0 0 1 0-8h4a4 4 0 0 1 4 4m-6-6v20"}));r_.displayName="CurrencyDollar";const i_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M15 16.5V19c0 .932 0 1.398-.152 1.765a2 2 0 0 1-1.083 1.083C13.398 22 12.932 22 12 22c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C9 20.398 9 19.932 9 19v-2.5m6 0c2.649-1.157 4.5-3.925 4.5-7a7.5 7.5 0 0 0-15 0c0 3.075 1.851 5.843 4.5 7m6 0H9"}));i_.displayName="Lightbulb01";const a_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m18 8 4 4m0 0-4 4m4-4H9m6-7.796A8.383 8.383 0 0 0 10.667 3C5.88 3 2 7.03 2 12s3.88 9 8.667 9A8.384 8.384 0 0 0 15 19.796"}));a_.displayName="LogOut04";const Sl=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m6.5 13 .784 1.569c.266.53.399.796.576 1.026a3 3 0 0 0 .545.545c.23.177.495.31 1.026.575L11 17.5l-1.569.785c-.53.265-.796.398-1.026.575a3 3 0 0 0-.545.545c-.177.23-.31.495-.576 1.026L6.5 22l-.784-1.569c-.266-.53-.399-.796-.576-1.026a3 3 0 0 0-.545-.545c-.23-.177-.495-.31-1.026-.575L2 17.5l1.569-.785c.53-.265.796-.398 1.026-.575a3 3 0 0 0 .545-.545c.177-.23.31-.495.576-1.026L6.5 13ZM15 2l1.179 3.064c.282.734.423 1.1.642 1.409a3 3 0 0 0 .706.706c.309.22.675.36 1.409.642L22 9l-3.064 1.179c-.734.282-1.1.423-1.409.642a3 3 0 0 0-.706.706c-.22.309-.36.675-.642 1.409L15 16l-1.179-3.064c-.282-.734-.423-1.1-.642-1.409a3 3 0 0 0-.706-.706c-.309-.22-.675-.36-1.409-.642L8 9l3.064-1.179c.734-.282 1.1-.423 1.409-.642a3 3 0 0 0 .706-.706c.22-.309.36-.675.642-1.409L15 2Z"}));Sl.displayName="Stars01";const s_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"}));s_.displayName="Stop";const o_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M16 8V5l3-3 1 2 2 1-3 3h-3Zm0 0-4 4m10 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m5 10a5 5 0 1 1-5-5"}));o_.displayName="Target04";const l_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m15 9-6 6m0-6 6 6m7-3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));l_.displayName="XCircle";function Tt(t){const e=ne.c(8);let n,r;e[0]!==t?({className:n,...r}=t,e[0]=t,e[1]=n,e[2]=r):(n=e[1],r=e[2]);let i;e[3]!==n?(i=ge("bg-accent animate-pulse rounded-md",n),e[3]=n,e[4]=i):i=e[4];let a;return e[5]!==r||e[6]!==i?(a=S.jsx("div",{"data-slot":"skeleton",className:i,...r}),e[5]=r,e[6]=i,e[7]=a):a=e[7],a}function G2(){const t=ne.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=lb.developerMode(),t[0]=e):e=t[0],fo(e,!1)}var u_="vercel.ai.error",V2=Symbol.for(u_),p0,f0,wn=class c_ extends(f0=Error,p0=V2,f0){constructor({name:e,message:n,cause:r}){super(n),this[p0]=!0,this.name=e,this.cause=r}static isInstance(e){return c_.hasMarker(e,u_)}static hasMarker(e,n){const r=Symbol.for(n);return e!=null&&typeof e=="object"&&r in e&&typeof e[r]=="boolean"&&e[r]===!0}};function d_(t){return t==null?"unknown error":typeof t=="string"?t:t instanceof Error?t.message:JSON.stringify(t)}var p_="AI_InvalidArgumentError",f_=`vercel.ai.error.${p_}`,W2=Symbol.for(f_),h0,m0,Y2=class extends(m0=wn,h0=W2,m0){constructor({message:t,cause:e,argument:n}){super({name:p_,message:t,cause:e}),this[h0]=!0,this.argument=n}static isInstance(t){return wn.hasMarker(t,f_)}},h_="AI_JSONParseError",m_=`vercel.ai.error.${h_}`,K2=Symbol.for(m_),g0,b0,E0=class extends(b0=wn,g0=K2,b0){constructor({text:t,cause:e}){super({name:h_,message:`JSON parsing failed: Text: ${t}.
1
+ import{r as M,c as ne,j as S,bW as OL,bX as LL,E as DL,ag as jt,s as te,bY as co,bZ as RC,bq as ML,br as PL,bo as FL,ad as Lt,ae as Pa,n as is,o as Ne,bp as de,af as tr,b_ as BL,b$ as He,_ as UL,bz as gl,u as gn,a as OC,K as as,Y as ib,ab as ln,g as LC,h as HL,k as $L,c0 as DC,c1 as MC,c2 as PC,c3 as FC,c4 as BC,c5 as UC,c6 as HC,c7 as $C,c8 as zC,Z as bl,c9 as jC,bT as zL,bE as gt,ca as jL,cb as qL,a_ as qC,cc as GL,cd as Cn,ce as ou,cf as VL,cg as lu,ch as WL,ci as YL,cj as KL,ck as XL,q as ZL,cl as QL,cm as JL,cn as e2,co as t2,l as GC,bS as po,al as ab,am as n2,ao as r2,ah as i2,aj as a2,ak as s2,be as o2,at as l2}from"./index-C8OOnmm1.js";import{c as ge,B as bt}from"./button-C83AQWC1.js";import{i as u2}from"./X-Dz8JZ2ZX.js";import{u as ti,a as sb,b as ob,i as VC,e as c2}from"./constants-ytntCGH9.js";import{b as WC}from"./use-virtual-mcp-C8lLKpyG.js";import{b as YC}from"./use-collections-CkAaybvR.js";import{b as KC,a as d2}from"./use-connection-TLrid9RM.js";import{a as p2}from"./use-binding-C2mDgpbB.js";import{u as f2,M as XC,s as o0}from"./monaco-editor-gim9RLZ3.js";import{u as fo,L as lb}from"./localstorage-keys-N4jrVxvr.js";import{I as ub}from"./input-CrR0FEof.js";import{P as ss,a as ls,b as us}from"./popover-B2yKs5LA.js";import{S as h2,a as m2,b as g2,c as b2,d as E2}from"./select-BlFReF6r.js";import{t as ho}from"./ChevronDown-DaqG_J6Z.js";import{i as y2}from"./File06-C7QVLRp6.js";import{c as T2,i as ZC}from"./Grid01-C_dMOr-7.js";import{a as S2}from"./Image01-C6IcS9Ip.js";import{i as El}from"./SearchMd-Ns-pswyj.js";import{S as yl}from"./spinner-CwfYynNt.js";import{c as ni,T as ri,a as ii,b as cb}from"./tooltip-aHeHMhKh.js";import{u as A2,g as QC,l as l0,a as u0,r as v2}from"./use-mcp-prompts-D5tApqEs.js";import{E as k2,i as x2}from"./error-boundary-Dg0Af8BA.js";import{c as C2,b as _2,e as I2,a as w2,D as N2}from"./dialog-D_ebnPDF.js";import{a as R2,F as O2,b as L2,c as D2,d as M2,f as P2}from"./form-BISYEAnP.js";import{I as db,E as F2}from"./empty-state-Cr5g6Vh9.js";import{i as JC}from"./AlertCircle--GzH2vta.js";import{i as B2}from"./ArrowUp-BfBrilbk.js";import{i as U2}from"./Edit01-7Ak8JL9W.js";import{t as pb}from"./Users03-CSRHEIl2.js";import{i as Tl}from"./Check-CXkamnnr.js";import{a as fb}from"./Copy01-CpBgXJFP.js";import{i as H2}from"./Terminal-qZhwvVsv.js";import{g as $2}from"./generate-id-Dyweu44Y.js";import{s as z2}from"./Trash01-DVYV3BJw.js";import{u as j2}from"./use-create-virtual-mcp-Bi6QQFl1.js";import{s as q2}from"./Plus-CcqPpwU0.js";var Fa;(function(t){t.assertEqual=i=>{};function e(i){}t.assertIs=e;function n(i){throw new Error}t.assertNever=n,t.arrayToEnum=i=>{const a={};for(const s of i)a[s]=s;return a},t.getValidEnumValues=i=>{const a=t.objectKeys(i).filter(o=>typeof i[i[o]]!="number"),s={};for(const o of a)s[o]=i[o];return t.objectValues(s)},t.objectValues=i=>t.objectKeys(i).map(function(a){return i[a]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&a.push(s);return a},t.find=(i,a)=>{for(const s of i)if(a(s))return s},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(s=>typeof s=="string"?`'${s}'`:s).join(a)}t.joinValues=r,t.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Fa||(Fa={}));var c0;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(c0||(c0={}));Fa.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);Fa.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class mo extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(a){return a.message},r={_errors:[]},i=a=>{for(const s of a.issues)if(s.code==="invalid_union")s.unionErrors.map(i);else if(s.code==="invalid_return_type")i(s.returnTypeError);else if(s.code==="invalid_arguments")i(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let o=r,l=0;for(;l<s.path.length;){const u=s.path[l];l===s.path.length-1?(o[u]=o[u]||{_errors:[]},o[u]._errors.push(n(s))):o[u]=o[u]||{_errors:[]},o=o[u],l++}}};return i(this),r}static assert(e){if(!(e instanceof mo))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Fa.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n=Object.create(null),r=[];for(const i of this.issues)if(i.path.length>0){const a=i.path[0];n[a]=n[a]||[],n[a].push(e(i))}else r.push(e(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}mo.create=t=>new mo(t);var d0;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(d0||(d0={}));var be;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(be||(be={}));const e_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M17.115 15.358c-.27.306-.554.608-.851.905-4.296 4.296-9.678 5.88-12.021 3.536-1.607-1.606-1.368-4.641.325-7.775M6.89 8.725c.281-.32.578-.636.888-.947C12.074 3.482 17.456 1.9 19.8 4.243c1.608 1.607 1.367 4.645-.33 7.781m-3.206-4.246c4.296 4.296 5.88 9.678 3.536 12.021-2.343 2.343-7.725.76-12.02-3.535C3.483 11.968 1.9 6.586 4.244 4.243c2.343-2.343 7.725-.76 12.02 3.535ZM13 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));e_.displayName="Atom02";const t_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m7 15 5 5 5-5M7 9l5-5 5 5"}));t_.displayName="ChevronSelectorVertical";const n_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M15.938 15.938A7.001 7.001 0 0 0 15 2a7.001 7.001 0 0 0-6.938 6.062M16 15a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"}));n_.displayName="Coins01";const r_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M6 16a4 4 0 0 0 4 4h4a4 4 0 0 0 0-8h-4a4 4 0 0 1 0-8h4a4 4 0 0 1 4 4m-6-6v20"}));r_.displayName="CurrencyDollar";const i_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M15 16.5V19c0 .932 0 1.398-.152 1.765a2 2 0 0 1-1.083 1.083C13.398 22 12.932 22 12 22c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C9 20.398 9 19.932 9 19v-2.5m6 0c2.649-1.157 4.5-3.925 4.5-7a7.5 7.5 0 0 0-15 0c0 3.075 1.851 5.843 4.5 7m6 0H9"}));i_.displayName="Lightbulb01";const a_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m18 8 4 4m0 0-4 4m4-4H9m6-7.796A8.383 8.383 0 0 0 10.667 3C5.88 3 2 7.03 2 12s3.88 9 8.667 9A8.384 8.384 0 0 0 15 19.796"}));a_.displayName="LogOut04";const Sl=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m6.5 13 .784 1.569c.266.53.399.796.576 1.026a3 3 0 0 0 .545.545c.23.177.495.31 1.026.575L11 17.5l-1.569.785c-.53.265-.796.398-1.026.575a3 3 0 0 0-.545.545c-.177.23-.31.495-.576 1.026L6.5 22l-.784-1.569c-.266-.53-.399-.796-.576-1.026a3 3 0 0 0-.545-.545c-.23-.177-.495-.31-1.026-.575L2 17.5l1.569-.785c.53-.265.796-.398 1.026-.575a3 3 0 0 0 .545-.545c.177-.23.31-.495.576-1.026L6.5 13ZM15 2l1.179 3.064c.282.734.423 1.1.642 1.409a3 3 0 0 0 .706.706c.309.22.675.36 1.409.642L22 9l-3.064 1.179c-.734.282-1.1.423-1.409.642a3 3 0 0 0-.706.706c-.22.309-.36.675-.642 1.409L15 16l-1.179-3.064c-.282-.734-.423-1.1-.642-1.409a3 3 0 0 0-.706-.706c-.309-.22-.675-.36-1.409-.642L8 9l3.064-1.179c.734-.282 1.1-.423 1.409-.642a3 3 0 0 0 .706-.706c.22-.309.36-.675.642-1.409L15 2Z"}));Sl.displayName="Stars01";const s_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"}));s_.displayName="Stop";const o_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"M16 8V5l3-3 1 2 2 1-3 3h-3Zm0 0-4 4m10 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m5 10a5 5 0 1 1-5-5"}));o_.displayName="Target04";const l_=({size:t=24,color:e="currentColor",...n})=>M.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},M.createElement("path",{d:"m15 9-6 6m0-6 6 6m7-3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));l_.displayName="XCircle";function Tt(t){const e=ne.c(8);let n,r;e[0]!==t?({className:n,...r}=t,e[0]=t,e[1]=n,e[2]=r):(n=e[1],r=e[2]);let i;e[3]!==n?(i=ge("bg-accent animate-pulse rounded-md",n),e[3]=n,e[4]=i):i=e[4];let a;return e[5]!==r||e[6]!==i?(a=S.jsx("div",{"data-slot":"skeleton",className:i,...r}),e[5]=r,e[6]=i,e[7]=a):a=e[7],a}function G2(){const t=ne.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=lb.developerMode(),t[0]=e):e=t[0],fo(e,!1)}var u_="vercel.ai.error",V2=Symbol.for(u_),p0,f0,wn=class c_ extends(f0=Error,p0=V2,f0){constructor({name:e,message:n,cause:r}){super(n),this[p0]=!0,this.name=e,this.cause=r}static isInstance(e){return c_.hasMarker(e,u_)}static hasMarker(e,n){const r=Symbol.for(n);return e!=null&&typeof e=="object"&&r in e&&typeof e[r]=="boolean"&&e[r]===!0}};function d_(t){return t==null?"unknown error":typeof t=="string"?t:t instanceof Error?t.message:JSON.stringify(t)}var p_="AI_InvalidArgumentError",f_=`vercel.ai.error.${p_}`,W2=Symbol.for(f_),h0,m0,Y2=class extends(m0=wn,h0=W2,m0){constructor({message:t,cause:e,argument:n}){super({name:p_,message:t,cause:e}),this[h0]=!0,this.argument=n}static isInstance(t){return wn.hasMarker(t,f_)}},h_="AI_JSONParseError",m_=`vercel.ai.error.${h_}`,K2=Symbol.for(m_),g0,b0,E0=class extends(b0=wn,g0=K2,b0){constructor({text:t,cause:e}){super({name:h_,message:`JSON parsing failed: Text: ${t}.
2
2
  Error message: ${d_(e)}`,cause:e}),this[g0]=!0,this.text=t}static isInstance(t){return wn.hasMarker(t,m_)}},g_="AI_TypeValidationError",b_=`vercel.ai.error.${g_}`,X2=Symbol.for(b_),y0,T0,Ni=class Vm extends(T0=wn,y0=X2,T0){constructor({value:e,cause:n}){super({name:g_,message:`Type validation failed: Value: ${JSON.stringify(e)}.
3
3
  Error message: ${d_(n)}`,cause:n}),this[y0]=!0,this.value=e}static isInstance(e){return wn.hasMarker(e,b_)}static wrap({value:e,cause:n}){return Vm.isInstance(n)&&n.value===e?n:new Vm({value:e,cause:n})}},cs=({prefix:t,size:e=16,alphabet:n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:r="-"}={})=>{const i=()=>{const a=n.length,s=new Array(e);for(let o=0;o<e;o++)s[o]=n[Math.random()*a|0];return s.join("")};if(t==null)return i;if(n.includes(r))throw new Y2({argument:"separator",message:`The separator "${r}" must not be part of the alphabet "${n}".`});return()=>`${t}${r}${i()}`},Z2=cs();function S0(t=globalThis){var e,n,r;return t.window?"runtime/browser":(e=t.navigator)!=null&&e.userAgent?`runtime/${t.navigator.userAgent.toLowerCase()}`:(r=(n=t.process)==null?void 0:n.versions)!=null&&r.node?`runtime/node.js/${t.process.version.substring(0)}`:t.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function Dr(t){if(t==null)return{};const e={};if(t instanceof Headers)t.forEach((n,r)=>{e[r.toLowerCase()]=n});else{Array.isArray(t)||(t=Object.entries(t));for(const[n,r]of t)r!=null&&(e[n.toLowerCase()]=r)}return e}function A0(t,...e){const n=new Headers(Dr(t)),r=n.get("user-agent")||"";return n.set("user-agent",[r,...e].filter(Boolean).join(" ")),Object.fromEntries(n.entries())}var Q2=/"__proto__"\s*:/,J2=/"constructor"\s*:/;function v0(t){const e=JSON.parse(t);return e===null||typeof e!="object"||Q2.test(t)===!1&&J2.test(t)===!1?e:eD(e)}function eD(t){let e=[t];for(;e.length;){const n=e;e=[];for(const r of n){if(Object.prototype.hasOwnProperty.call(r,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(r,"constructor")&&Object.prototype.hasOwnProperty.call(r.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(const i in r){const a=r[i];a&&typeof a=="object"&&e.push(a)}}}return t}function tD(t){const{stackTraceLimit:e}=Error;try{Error.stackTraceLimit=0}catch{return v0(t)}try{return v0(t)}finally{Error.stackTraceLimit=e}}function hb(t){if(t.type==="object"||Array.isArray(t.type)&&t.type.includes("object")){t.additionalProperties=!1;const{properties:n}=t;if(n!=null)for(const r of Object.keys(n))n[r]=Rr(n[r])}t.items!=null&&(t.items=Array.isArray(t.items)?t.items.map(Rr):Rr(t.items)),t.anyOf!=null&&(t.anyOf=t.anyOf.map(Rr)),t.allOf!=null&&(t.allOf=t.allOf.map(Rr)),t.oneOf!=null&&(t.oneOf=t.oneOf.map(Rr));const{definitions:e}=t;if(e!=null)for(const n of Object.keys(e))e[n]=Rr(e[n]);return t}function Rr(t){return typeof t=="boolean"?t:hb(t)}var nD=Symbol("Let zodToJsonSchema decide on which parser to use"),k0={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},rD=t=>typeof t=="string"?{...k0,name:t}:{...k0,...t};function Qt(){return{}}function iD(t,e){var n,r,i;const a={type:"array"};return(n=t.type)!=null&&n._def&&((i=(r=t.type)==null?void 0:r._def)==null?void 0:i.typeName)!==be.ZodAny&&(a.items=Oe(t.type._def,{...e,currentPath:[...e.currentPath,"items"]})),t.minLength&&(a.minItems=t.minLength.value),t.maxLength&&(a.maxItems=t.maxLength.value),t.exactLength&&(a.minItems=t.exactLength.value,a.maxItems=t.exactLength.value),a}function aD(t){const e={type:"integer",format:"int64"};if(!t.checks)return e;for(const n of t.checks)switch(n.kind){case"min":n.inclusive?e.minimum=n.value:e.exclusiveMinimum=n.value;break;case"max":n.inclusive?e.maximum=n.value:e.exclusiveMaximum=n.value;break;case"multipleOf":e.multipleOf=n.value;break}return e}function sD(){return{type:"boolean"}}function E_(t,e){return Oe(t.type._def,e)}var oD=(t,e)=>Oe(t.innerType._def,e);function y_(t,e,n){const r=n??e.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((i,a)=>y_(t,e,i))};switch(r){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return lD(t)}}var lD=t=>{const e={type:"integer",format:"unix-time"};for(const n of t.checks)switch(n.kind){case"min":e.minimum=n.value;break;case"max":e.maximum=n.value;break}return e};function uD(t,e){return{...Oe(t.innerType._def,e),default:t.defaultValue()}}function cD(t,e){return e.effectStrategy==="input"?Oe(t.schema._def,e):Qt()}function dD(t){return{type:"string",enum:Array.from(t.values)}}var pD=t=>"type"in t&&t.type==="string"?!1:"allOf"in t;function fD(t,e){const n=[Oe(t.left._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),Oe(t.right._def,{...e,currentPath:[...e.currentPath,"allOf","1"]})].filter(i=>!!i),r=[];return n.forEach(i=>{if(pD(i))r.push(...i.allOf);else{let a=i;if("additionalProperties"in i&&i.additionalProperties===!1){const{additionalProperties:s,...o}=i;a=o}r.push(a)}}),r.length?{allOf:r}:void 0}function hD(t){const e=typeof t.value;return e!=="bigint"&&e!=="number"&&e!=="boolean"&&e!=="string"?{type:Array.isArray(t.value)?"array":"object"}:{type:e==="bigint"?"integer":e,const:t.value}}var uu=void 0,dn={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(uu===void 0&&(uu=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),uu),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function T_(t,e){const n={type:"string"};if(t.checks)for(const r of t.checks)switch(r.kind){case"min":n.minLength=typeof n.minLength=="number"?Math.max(n.minLength,r.value):r.value;break;case"max":n.maxLength=typeof n.maxLength=="number"?Math.min(n.maxLength,r.value):r.value;break;case"email":switch(e.emailStrategy){case"format:email":pn(n,"email",r.message,e);break;case"format:idn-email":pn(n,"idn-email",r.message,e);break;case"pattern:zod":Ot(n,dn.email,r.message,e);break}break;case"url":pn(n,"uri",r.message,e);break;case"uuid":pn(n,"uuid",r.message,e);break;case"regex":Ot(n,r.regex,r.message,e);break;case"cuid":Ot(n,dn.cuid,r.message,e);break;case"cuid2":Ot(n,dn.cuid2,r.message,e);break;case"startsWith":Ot(n,RegExp(`^${cu(r.value,e)}`),r.message,e);break;case"endsWith":Ot(n,RegExp(`${cu(r.value,e)}$`),r.message,e);break;case"datetime":pn(n,"date-time",r.message,e);break;case"date":pn(n,"date",r.message,e);break;case"time":pn(n,"time",r.message,e);break;case"duration":pn(n,"duration",r.message,e);break;case"length":n.minLength=typeof n.minLength=="number"?Math.max(n.minLength,r.value):r.value,n.maxLength=typeof n.maxLength=="number"?Math.min(n.maxLength,r.value):r.value;break;case"includes":{Ot(n,RegExp(cu(r.value,e)),r.message,e);break}case"ip":{r.version!=="v6"&&pn(n,"ipv4",r.message,e),r.version!=="v4"&&pn(n,"ipv6",r.message,e);break}case"base64url":Ot(n,dn.base64url,r.message,e);break;case"jwt":Ot(n,dn.jwt,r.message,e);break;case"cidr":{r.version!=="v6"&&Ot(n,dn.ipv4Cidr,r.message,e),r.version!=="v4"&&Ot(n,dn.ipv6Cidr,r.message,e);break}case"emoji":Ot(n,dn.emoji(),r.message,e);break;case"ulid":{Ot(n,dn.ulid,r.message,e);break}case"base64":{switch(e.base64Strategy){case"format:binary":{pn(n,"binary",r.message,e);break}case"contentEncoding:base64":{n.contentEncoding="base64";break}case"pattern:zod":{Ot(n,dn.base64,r.message,e);break}}break}case"nanoid":Ot(n,dn.nanoid,r.message,e)}return n}function cu(t,e){return e.patternStrategy==="escape"?gD(t):t}var mD=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function gD(t){let e="";for(let n=0;n<t.length;n++)mD.has(t[n])||(e+="\\"),e+=t[n];return e}function pn(t,e,n,r){var i;t.format||(i=t.anyOf)!=null&&i.some(a=>a.format)?(t.anyOf||(t.anyOf=[]),t.format&&(t.anyOf.push({format:t.format}),delete t.format),t.anyOf.push({format:e,...n&&r.errorMessages&&{errorMessage:{format:n}}})):t.format=e}function Ot(t,e,n,r){var i;t.pattern||(i=t.allOf)!=null&&i.some(a=>a.pattern)?(t.allOf||(t.allOf=[]),t.pattern&&(t.allOf.push({pattern:t.pattern}),delete t.pattern),t.allOf.push({pattern:x0(e,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):t.pattern=x0(e,r)}function x0(t,e){var n;if(!e.applyRegexFlags||!t.flags)return t.source;const r={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},i=r.i?t.source.toLowerCase():t.source;let a="",s=!1,o=!1,l=!1;for(let u=0;u<i.length;u++){if(s){a+=i[u],s=!1;continue}if(r.i){if(o){if(i[u].match(/[a-z]/)){l?(a+=i[u],a+=`${i[u-2]}-${i[u]}`.toUpperCase(),l=!1):i[u+1]==="-"&&((n=i[u+2])!=null&&n.match(/[a-z]/))?(a+=i[u],l=!0):a+=`${i[u]}${i[u].toUpperCase()}`;continue}}else if(i[u].match(/[a-z]/)){a+=`[${i[u]}${i[u].toUpperCase()}]`;continue}}if(r.m){if(i[u]==="^"){a+=`(^|(?<=[\r
4
4
  ]))`;continue}else if(i[u]==="$"){a+=`($|(?=[\r
@@ -1 +1 @@
1
- import{aS as K,aW as C,aT as V,a$ as z,a1 as _,Y as W,b0 as X,b1 as Y,r as h,b2 as $,b3 as J,b4 as Z,aX as ee,b5 as k,b6 as P,b7 as se,b8 as te,b9 as re,ah as oe,j as m,ba as ne,al as g,ak as O,bb as ae,am as w,bc as A,ao as ie,at as Q,aA as ue,aB as ce}from"./index-BPDeXK2i.js";function I(r,s){const t=new Set(s);return r.filter(o=>!t.has(o))}function de(r,s,t){const o=r.slice(0);return o[s]=t,o}var le=class extends K{#r;#e;#o;#n;#s;#t;#a;#i;#u=[];constructor(r,s,t){super(),this.#r=r,this.#n=t,this.#o=[],this.#s=[],this.#e=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(s=>{this.#h(r,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,s){this.#o=r,this.#n=s,C.batch(()=>{const t=this.#s,o=this.#l(this.#o);this.#u=o,o.forEach(i=>i.observer.setOptions(i.defaultedQueryOptions));const e=o.map(i=>i.observer),n=e.map(i=>i.getCurrentResult()),a=t.length!==e.length,c=e.some((i,d)=>i!==t[d]),l=a||c,b=l?!0:n.some((i,d)=>{const v=this.#e[d];return!v||!V(i,v)});!l&&!b||(l&&(this.#s=e),this.#e=n,this.hasListeners()&&(l&&(I(t,e).forEach(i=>{i.destroy()}),I(e,t).forEach(i=>{i.subscribe(d=>{this.#h(i,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,s){const t=this.#l(r),o=t.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions));return[o,e=>this.#d(e??o,s),()=>this.#c(o,t)]}#c(r,s){return s.map((t,o)=>{const e=r[o];return t.defaultedQueryOptions.notifyOnChangeProps?e:t.observer.trackResult(e,n=>{s.forEach(a=>{a.observer.trackProp(n)})})})}#d(r,s){return s?((!this.#t||this.#e!==this.#i||s!==this.#a)&&(this.#a=s,this.#i=this.#e,this.#t=z(this.#t,s(r))),this.#t):r}#l(r){const s=new Map;this.#s.forEach(o=>{const e=o.options.queryHash;if(!e)return;const n=s.get(e);n?n.push(o):s.set(e,[o])});const t=[];return r.forEach(o=>{const e=this.#r.defaultQueryOptions(o),a=s.get(e.queryHash)?.shift()??new _(this.#r,e);t.push({defaultedQueryOptions:e,observer:a})}),t}#h(r,s){const t=this.#s.indexOf(r);t!==-1&&(this.#e=de(this.#e,t,s),this.#p())}#p(){if(this.hasListeners()){const r=this.#t,s=this.#c(this.#e,this.#u),t=this.#d(s,this.#n?.combine);r!==t&&C.batch(()=>{this.listeners.forEach(o=>{o(this.#e)})})}}};function Ce({queries:r,...s},t){const o=W(t),e=X(),n=Y(),a=h.useMemo(()=>r.map(u=>{const f=o.defaultQueryOptions(u);return f._optimisticResults=e?"isRestoring":"optimistic",f}),[r,o,e]);a.forEach(u=>{$(u),J(u,n)}),Z(n);const[c]=h.useState(()=>new le(o,a,s)),[l,b,i]=c.getOptimisticResult(a,s.combine),d=!e&&s.subscribed!==!1;h.useSyncExternalStore(h.useCallback(u=>d?c.subscribe(C.batchCalls(u)):ee,[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),h.useEffect(()=>{c.setQueries(a,s)},[a,s,c]);const p=l.some((u,f)=>k(a[f],u))?l.flatMap((u,f)=>{const y=a[f];if(y){const x=new _(o,y);if(k(y,u))return P(y,x,n);se(u,e)&&P(y,x,n)}return[]}):[];if(p.length>0)throw Promise.all(p);const R=l.find((u,f)=>{const y=a[f];return y&&te({result:u,errorResetBoundary:n,throwOnError:y.throwOnError,query:o.getQueryCache().get(y.queryHash),suspense:y.suspense})});if(R?.error)throw R.error;return b(i())}var S="Radio",[he,G]=Q(S),[pe,fe]=he(S),M=h.forwardRef((r,s)=>{const{__scopeRadio:t,name:o,checked:e=!1,required:n,disabled:a,value:c="on",onCheck:l,form:b,...i}=r,[d,v]=h.useState(null),p=O(s,f=>v(f)),R=h.useRef(!1),u=d?b||!!d.closest("form"):!0;return m.jsxs(pe,{scope:t,checked:e,disabled:a,children:[m.jsx(g.button,{type:"button",role:"radio","aria-checked":e,"data-state":D(e),"data-disabled":a?"":void 0,disabled:a,value:c,...i,ref:p,onClick:w(r.onClick,f=>{e||l?.(),u&&(R.current=f.isPropagationStopped(),R.current||f.stopPropagation())})}),u&&m.jsx(q,{control:d,bubbles:!R.current,name:o,value:c,checked:e,required:n,disabled:a,form:b,style:{transform:"translateX(-100%)"}})]})});M.displayName=S;var j="RadioIndicator",N=h.forwardRef((r,s)=>{const{__scopeRadio:t,forceMount:o,...e}=r,n=fe(j,t);return m.jsx(ie,{present:o||n.checked,children:m.jsx(g.span,{"data-state":D(n.checked),"data-disabled":n.disabled?"":void 0,...e,ref:s})})});N.displayName=j;var Re="RadioBubbleInput",q=h.forwardRef(({__scopeRadio:r,control:s,checked:t,bubbles:o=!0,...e},n)=>{const a=h.useRef(null),c=O(a,n),l=ue(t),b=ce(s);return h.useEffect(()=>{const i=a.current;if(!i)return;const d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==t&&p){const R=new Event("click",{bubbles:o});p.call(i,t),i.dispatchEvent(R)}},[l,t,o]),m.jsx(g.input,{type:"radio","aria-hidden":!0,defaultChecked:t,...e,tabIndex:-1,ref:c,style:{...e.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});q.displayName=Re;function D(r){return r?"checked":"unchecked"}var be=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],E="RadioGroup",[ve]=Q(E,[A,G]),L=A(),B=G(),[me,ye]=ve(E),T=h.forwardRef((r,s)=>{const{__scopeRadioGroup:t,name:o,defaultValue:e,value:n,required:a=!1,disabled:c=!1,orientation:l,dir:b,loop:i=!0,onValueChange:d,...v}=r,p=L(t),R=re(b),[u,f]=oe({prop:n,defaultProp:e??null,onChange:d,caller:E});return m.jsx(me,{scope:t,name:o,required:a,disabled:c,value:u,onValueChange:f,children:m.jsx(ne,{asChild:!0,...p,orientation:l,dir:R,loop:i,children:m.jsx(g.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":c?"":void 0,dir:R,...v,ref:s})})})});T.displayName=E;var F="RadioGroupItem",U=h.forwardRef((r,s)=>{const{__scopeRadioGroup:t,disabled:o,...e}=r,n=ye(F,t),a=n.disabled||o,c=L(t),l=B(t),b=h.useRef(null),i=O(s,b),d=n.value===e.value,v=h.useRef(!1);return h.useEffect(()=>{const p=u=>{be.includes(u.key)&&(v.current=!0)},R=()=>v.current=!1;return document.addEventListener("keydown",p),document.addEventListener("keyup",R),()=>{document.removeEventListener("keydown",p),document.removeEventListener("keyup",R)}},[]),m.jsx(ae,{asChild:!0,...c,focusable:!a,active:d,children:m.jsx(M,{disabled:a,required:n.required,checked:d,...l,...e,name:n.name,ref:i,onCheck:()=>n.onValueChange(e.value),onKeyDown:w(p=>{p.key==="Enter"&&p.preventDefault()}),onFocus:w(e.onFocus,()=>{v.current&&b.current?.click()})})})});U.displayName=F;var ge="RadioGroupIndicator",H=h.forwardRef((r,s)=>{const{__scopeRadioGroup:t,...o}=r,e=B(t);return m.jsx(N,{...e,...o,ref:s})});H.displayName=ge;var we=T,Oe=U,Se=H;export{Oe as I,we as R,Se as a,Ce as u};
1
+ import{aS as K,aW as C,aT as V,a$ as z,a1 as _,Y as W,b0 as X,b1 as Y,r as h,b2 as $,b3 as J,b4 as Z,aX as ee,b5 as k,b6 as P,b7 as se,b8 as te,b9 as re,ah as oe,j as m,ba as ne,al as g,ak as O,bb as ae,am as w,bc as A,ao as ie,at as Q,aA as ue,aB as ce}from"./index-C8OOnmm1.js";function I(r,s){const t=new Set(s);return r.filter(o=>!t.has(o))}function de(r,s,t){const o=r.slice(0);return o[s]=t,o}var le=class extends K{#r;#e;#o;#n;#s;#t;#a;#i;#u=[];constructor(r,s,t){super(),this.#r=r,this.#n=t,this.#o=[],this.#s=[],this.#e=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(s=>{this.#h(r,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,s){this.#o=r,this.#n=s,C.batch(()=>{const t=this.#s,o=this.#l(this.#o);this.#u=o,o.forEach(i=>i.observer.setOptions(i.defaultedQueryOptions));const e=o.map(i=>i.observer),n=e.map(i=>i.getCurrentResult()),a=t.length!==e.length,c=e.some((i,d)=>i!==t[d]),l=a||c,b=l?!0:n.some((i,d)=>{const v=this.#e[d];return!v||!V(i,v)});!l&&!b||(l&&(this.#s=e),this.#e=n,this.hasListeners()&&(l&&(I(t,e).forEach(i=>{i.destroy()}),I(e,t).forEach(i=>{i.subscribe(d=>{this.#h(i,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,s){const t=this.#l(r),o=t.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions));return[o,e=>this.#d(e??o,s),()=>this.#c(o,t)]}#c(r,s){return s.map((t,o)=>{const e=r[o];return t.defaultedQueryOptions.notifyOnChangeProps?e:t.observer.trackResult(e,n=>{s.forEach(a=>{a.observer.trackProp(n)})})})}#d(r,s){return s?((!this.#t||this.#e!==this.#i||s!==this.#a)&&(this.#a=s,this.#i=this.#e,this.#t=z(this.#t,s(r))),this.#t):r}#l(r){const s=new Map;this.#s.forEach(o=>{const e=o.options.queryHash;if(!e)return;const n=s.get(e);n?n.push(o):s.set(e,[o])});const t=[];return r.forEach(o=>{const e=this.#r.defaultQueryOptions(o),a=s.get(e.queryHash)?.shift()??new _(this.#r,e);t.push({defaultedQueryOptions:e,observer:a})}),t}#h(r,s){const t=this.#s.indexOf(r);t!==-1&&(this.#e=de(this.#e,t,s),this.#p())}#p(){if(this.hasListeners()){const r=this.#t,s=this.#c(this.#e,this.#u),t=this.#d(s,this.#n?.combine);r!==t&&C.batch(()=>{this.listeners.forEach(o=>{o(this.#e)})})}}};function Ce({queries:r,...s},t){const o=W(t),e=X(),n=Y(),a=h.useMemo(()=>r.map(u=>{const f=o.defaultQueryOptions(u);return f._optimisticResults=e?"isRestoring":"optimistic",f}),[r,o,e]);a.forEach(u=>{$(u),J(u,n)}),Z(n);const[c]=h.useState(()=>new le(o,a,s)),[l,b,i]=c.getOptimisticResult(a,s.combine),d=!e&&s.subscribed!==!1;h.useSyncExternalStore(h.useCallback(u=>d?c.subscribe(C.batchCalls(u)):ee,[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),h.useEffect(()=>{c.setQueries(a,s)},[a,s,c]);const p=l.some((u,f)=>k(a[f],u))?l.flatMap((u,f)=>{const y=a[f];if(y){const x=new _(o,y);if(k(y,u))return P(y,x,n);se(u,e)&&P(y,x,n)}return[]}):[];if(p.length>0)throw Promise.all(p);const R=l.find((u,f)=>{const y=a[f];return y&&te({result:u,errorResetBoundary:n,throwOnError:y.throwOnError,query:o.getQueryCache().get(y.queryHash),suspense:y.suspense})});if(R?.error)throw R.error;return b(i())}var S="Radio",[he,G]=Q(S),[pe,fe]=he(S),M=h.forwardRef((r,s)=>{const{__scopeRadio:t,name:o,checked:e=!1,required:n,disabled:a,value:c="on",onCheck:l,form:b,...i}=r,[d,v]=h.useState(null),p=O(s,f=>v(f)),R=h.useRef(!1),u=d?b||!!d.closest("form"):!0;return m.jsxs(pe,{scope:t,checked:e,disabled:a,children:[m.jsx(g.button,{type:"button",role:"radio","aria-checked":e,"data-state":D(e),"data-disabled":a?"":void 0,disabled:a,value:c,...i,ref:p,onClick:w(r.onClick,f=>{e||l?.(),u&&(R.current=f.isPropagationStopped(),R.current||f.stopPropagation())})}),u&&m.jsx(q,{control:d,bubbles:!R.current,name:o,value:c,checked:e,required:n,disabled:a,form:b,style:{transform:"translateX(-100%)"}})]})});M.displayName=S;var j="RadioIndicator",N=h.forwardRef((r,s)=>{const{__scopeRadio:t,forceMount:o,...e}=r,n=fe(j,t);return m.jsx(ie,{present:o||n.checked,children:m.jsx(g.span,{"data-state":D(n.checked),"data-disabled":n.disabled?"":void 0,...e,ref:s})})});N.displayName=j;var Re="RadioBubbleInput",q=h.forwardRef(({__scopeRadio:r,control:s,checked:t,bubbles:o=!0,...e},n)=>{const a=h.useRef(null),c=O(a,n),l=ue(t),b=ce(s);return h.useEffect(()=>{const i=a.current;if(!i)return;const d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==t&&p){const R=new Event("click",{bubbles:o});p.call(i,t),i.dispatchEvent(R)}},[l,t,o]),m.jsx(g.input,{type:"radio","aria-hidden":!0,defaultChecked:t,...e,tabIndex:-1,ref:c,style:{...e.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});q.displayName=Re;function D(r){return r?"checked":"unchecked"}var be=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],E="RadioGroup",[ve]=Q(E,[A,G]),L=A(),B=G(),[me,ye]=ve(E),T=h.forwardRef((r,s)=>{const{__scopeRadioGroup:t,name:o,defaultValue:e,value:n,required:a=!1,disabled:c=!1,orientation:l,dir:b,loop:i=!0,onValueChange:d,...v}=r,p=L(t),R=re(b),[u,f]=oe({prop:n,defaultProp:e??null,onChange:d,caller:E});return m.jsx(me,{scope:t,name:o,required:a,disabled:c,value:u,onValueChange:f,children:m.jsx(ne,{asChild:!0,...p,orientation:l,dir:R,loop:i,children:m.jsx(g.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":c?"":void 0,dir:R,...v,ref:s})})})});T.displayName=E;var F="RadioGroupItem",U=h.forwardRef((r,s)=>{const{__scopeRadioGroup:t,disabled:o,...e}=r,n=ye(F,t),a=n.disabled||o,c=L(t),l=B(t),b=h.useRef(null),i=O(s,b),d=n.value===e.value,v=h.useRef(!1);return h.useEffect(()=>{const p=u=>{be.includes(u.key)&&(v.current=!0)},R=()=>v.current=!1;return document.addEventListener("keydown",p),document.addEventListener("keyup",R),()=>{document.removeEventListener("keydown",p),document.removeEventListener("keyup",R)}},[]),m.jsx(ae,{asChild:!0,...c,focusable:!a,active:d,children:m.jsx(M,{disabled:a,required:n.required,checked:d,...l,...e,name:n.name,ref:i,onCheck:()=>n.onValueChange(e.value),onKeyDown:w(p=>{p.key==="Enter"&&p.preventDefault()}),onFocus:w(e.onFocus,()=>{v.current&&b.current?.click()})})})});U.displayName=F;var ge="RadioGroupIndicator",H=h.forwardRef((r,s)=>{const{__scopeRadioGroup:t,...o}=r,e=B(t);return m.jsx(N,{...e,...o,ref:s})});H.displayName=ge;var we=T,Oe=U,Se=H;export{Oe as I,we as R,Se as a,Ce as u};
@@ -1 +1 @@
1
- import{C as r,L as i,O as l,P as u,V as C,i as c,p as P,u as p}from"./index-BPDeXK2i.js";import{u as M,a as g,b as f,c as x,d as L,e as S,f as d}from"./use-collections-B6FnnWjM.js";import{u as A,a as K,b as R}from"./use-connection-D3KERTW2.js";import{S as s}from"./constants-DTaz4Q6l.js";import{K as b,a as h,W as V,c as W,g as w,b as O,d as _,e as E,f as I,i as D,u as Q}from"./constants-DTaz4Q6l.js";import{g as G,l as U,a as k,r as v,u as F,b as H,c as J}from"./use-mcp-prompts-Bg7WZoid.js";import{u as Y,a as q,b as z}from"./use-virtual-mcp-BEkx8KQT.js";import{a as X,h as Z,i as $}from"./mcp-oauth-DCAX9rvQ.js";import"./useMutation-BMW6ucfs.js";import"./useQuery-BytVpPBL.js";export{r as ConnectionEntitySchema,b as KEYS,i as Locator,l as ORG_ADMIN_PROJECT_SLUG,u as ProjectContextProvider,h as SELF_MCP_ALIAS_ID,s as StreamableHTTPClientTransport,C as VirtualMCPEntitySchema,V as WellKnownOrgMCPId,X as authenticateMcp,W as createMCPClient,G as getPrompt,w as getWellKnownCommunityRegistryConnection,O as getWellKnownDecopilotVirtualMCP,_ as getWellKnownMcpStudioConnection,E as getWellKnownOpenRouterConnection,I as getWellKnownRegistryConnection,Z as handleOAuthCallback,$ as isConnectionAuthenticated,D as isDecopilot,c as isStdioParameters,U as listPrompts,k as listResources,P as parseVirtualUrl,v as readResource,M as useCollectionActions,g as useCollectionItem,f as useCollectionList,A as useConnection,K as useConnectionActions,R as useConnections,Q as useMCPClient,F as useMCPPromptsList,H as useMCPPromptsListQuery,J as useMCPResourcesListQuery,x as useMCPToolCall,L as useMCPToolCallMutation,S as useMCPToolCallQuery,d as useMCPToolsListQuery,p as useProjectContext,Y as useVirtualMCP,q as useVirtualMCPActions,z as useVirtualMCPs};
1
+ import{C as r,L as i,O as l,P as u,V as C,i as c,p as P,u as p}from"./index-C8OOnmm1.js";import{u as M,a as g,b as f,c as x,d as L,e as S,f as d}from"./use-collections-CkAaybvR.js";import{u as A,a as K,b as R}from"./use-connection-TLrid9RM.js";import{S as s}from"./constants-ytntCGH9.js";import{K as b,a as h,W as V,c as W,g as w,b as O,d as _,e as E,f as I,i as D,u as Q}from"./constants-ytntCGH9.js";import{g as G,l as U,a as k,r as v,u as F,b as H,c as J}from"./use-mcp-prompts-D5tApqEs.js";import{u as Y,a as q,b as z}from"./use-virtual-mcp-C8lLKpyG.js";import{a as X,h as Z,i as $}from"./mcp-oauth-BkqLXiLL.js";import"./useMutation-C4aXMLv3.js";import"./useQuery-DNOH3p7p.js";export{r as ConnectionEntitySchema,b as KEYS,i as Locator,l as ORG_ADMIN_PROJECT_SLUG,u as ProjectContextProvider,h as SELF_MCP_ALIAS_ID,s as StreamableHTTPClientTransport,C as VirtualMCPEntitySchema,V as WellKnownOrgMCPId,X as authenticateMcp,W as createMCPClient,G as getPrompt,w as getWellKnownCommunityRegistryConnection,O as getWellKnownDecopilotVirtualMCP,_ as getWellKnownMcpStudioConnection,E as getWellKnownOpenRouterConnection,I as getWellKnownRegistryConnection,Z as handleOAuthCallback,$ as isConnectionAuthenticated,D as isDecopilot,c as isStdioParameters,U as listPrompts,k as listResources,P as parseVirtualUrl,v as readResource,M as useCollectionActions,g as useCollectionItem,f as useCollectionList,A as useConnection,K as useConnectionActions,R as useConnections,Q as useMCPClient,F as useMCPPromptsList,H as useMCPPromptsListQuery,J as useMCPResourcesListQuery,x as useMCPToolCall,L as useMCPToolCallMutation,S as useMCPToolCallQuery,d as useMCPToolsListQuery,p as useProjectContext,Y as useVirtualMCP,q as useVirtualMCPActions,z as useVirtualMCPs};