@decocms/mesh 1.0.21 → 1.0.22

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 (117) hide show
  1. package/dist/client/assets/{AlertCircle-CkBPRGL_.js → AlertCircle-Du1WT751.js} +1 -1
  2. package/dist/client/assets/{ArrowLeft-eDq0PdxL.js → ArrowLeft-D2XEhobZ.js} +1 -1
  3. package/dist/client/assets/{Calendar-GsuMeXnI.js → Calendar-Co6ako3r.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-CqrF2uJ-.js → ChevronDown-BTsoCUlX.js} +1 -1
  5. package/dist/client/assets/{Clock-d43uwP0y.js → Clock-DaV6oMqF.js} +1 -1
  6. package/dist/client/assets/{Copy01-CUqgUCLS.js → Copy01-DK5159Rb.js} +1 -1
  7. package/dist/client/assets/{CpuChip02-CwrVudRE.js → CpuChip02-DG7E5vjX.js} +1 -1
  8. package/dist/client/assets/{DotsVertical-CGWni397.js → DotsVertical-ATvueeDl.js} +1 -1
  9. package/dist/client/assets/{File06-CwcvFGqd.js → File06-CCcPYdcS.js} +1 -1
  10. package/dist/client/assets/{GitBranch01-B0LIL7GO.js → GitBranch01-DdBZ2zon.js} +1 -1
  11. package/dist/client/assets/{Inbox01-De35FSLT.js → Inbox01-FsIho9ps.js} +1 -1
  12. package/dist/client/assets/{InfoCircle-CaOedrxe.js → InfoCircle-z9SmeZ2K.js} +1 -1
  13. package/dist/client/assets/{Key01-BXtnSDND.js → Key01-PJxsN9f2.js} +1 -1
  14. package/dist/client/assets/{LinkExternal01-ClKXW-wQ.js → LinkExternal01-UPDE0V2O.js} +1 -1
  15. package/dist/client/assets/{Loading01-DfUJLT5a.js → Loading01-CH6mw7mn.js} +1 -1
  16. package/dist/client/assets/{Lock01-mcQuD2fk.js → Lock01-DfYPtjUw.js} +1 -1
  17. package/dist/client/assets/{Plus-xQLsl9Xg.js → Plus-D2stpxr4.js} +1 -1
  18. package/dist/client/assets/{SearchMd-BAWY3jJ1.js → SearchMd-CwAqtJqG.js} +1 -1
  19. package/dist/client/assets/{Terminal-CJwUlnBn.js → Terminal-zrKj2_VN.js} +1 -1
  20. package/dist/client/assets/{Trash01-DAwkJNu8.js → Trash01-BRxmwmD1.js} +1 -1
  21. package/dist/client/assets/{Upload01-5z8SDkNm.js → Upload01-CGDUyeg3.js} +1 -1
  22. package/dist/client/assets/{X-SWur-HdE.js → X-E7J_uWRT.js} +1 -1
  23. package/dist/client/assets/{XClose-CAyc7YMv.js → XClose-BGxDstvO.js} +1 -1
  24. package/dist/client/assets/{alert-dialog-dauOR89q.js → alert-dialog-CxYBxRCI.js} +2 -2
  25. package/dist/client/assets/auth-TMT6XsET.js +1 -0
  26. package/dist/client/assets/{auth-catchall-L0DhXNi0.js → auth-catchall-DkkFwJAm.js} +1 -1
  27. package/dist/client/assets/avatar-F70el86e.js +1 -0
  28. package/dist/client/assets/{badge-DBsMMhww.js → badge-BcTlBuEb.js} +1 -1
  29. package/dist/client/assets/{button-UpWqqi7Z.js → button-Dj8ueofv.js} +1 -1
  30. package/dist/client/assets/{card-csaWOT-1.js → card-66QSeiOF.js} +1 -1
  31. package/dist/client/assets/{checkbox-B53QAVdc.js → checkbox-CVcef9O7.js} +1 -1
  32. package/dist/client/assets/{collection-detail-DU4x4vE8.js → collection-detail-D8wVTEqX.js} +1 -1
  33. package/dist/client/assets/{collection-display-button-CJMwmXuc.js → collection-display-button-C193PAy9.js} +1 -1
  34. package/dist/client/assets/{collection-header-BIZLVBPH.js → collection-header-BuFCeK4g.js} +1 -1
  35. package/dist/client/assets/{collection-page-CpTNB-W7.js → collection-page-M_cHcDoQ.js} +1 -1
  36. package/dist/client/assets/{collection-search-xvAQUbQ8.js → collection-search-Vq1GfSWB.js} +1 -1
  37. package/dist/client/assets/{collection-table-wrapper-BLpgESGM.js → collection-table-wrapper-BCXAi-BN.js} +1 -1
  38. package/dist/client/assets/{connection-card-DIVWkbya.js → connection-card-BsnAC2N8.js} +1 -1
  39. package/dist/client/assets/connection-detail-R_iXfPNX.js +1 -0
  40. package/dist/client/assets/connections-DYIPJTN9.js +1 -0
  41. package/dist/client/assets/{core-Cy6-sfQL.js → core-DKy85ot6.js} +1 -1
  42. package/dist/client/assets/{create-organization-dialog-BpD_WYLu.js → create-organization-dialog-Dc45BpM3.js} +1 -1
  43. package/dist/client/assets/{dialog-DQ_m9LgP.js → dialog-Dcux2Ttt.js} +1 -1
  44. package/dist/client/assets/{dropdown-menu-B_pozn9G.js → dropdown-menu-BUANjhM2.js} +1 -1
  45. package/dist/client/assets/env-vars-editor-Cmi8ii-i.js +1 -0
  46. package/dist/client/assets/{error-boundary-07xTy_TK.js → error-boundary-BaDP7Z4Q.js} +1 -1
  47. package/dist/client/assets/{extract-connection-data-DzWc2H-V.js → extract-connection-data-BD7XgNcV.js} +1 -1
  48. package/dist/client/assets/{form-CGaxh2WC.js → form-D1QOQ8Im.js} +1 -1
  49. package/dist/client/assets/{formatDistanceToNow-BzQ8Uo3Q.js → formatDistanceToNow-BZKDch9X.js} +1 -1
  50. package/dist/client/assets/gateway-detail-BruHhfdQ.js +1 -0
  51. package/dist/client/assets/{gateways-B-RGUqRx.js → gateways-MFtOEWry.js} +1 -1
  52. package/dist/client/assets/{home-FzIxjpJt.js → home-CfjYes5U.js} +1 -1
  53. package/dist/client/assets/{index-CB7OHJDJ.js → index-B-Y0sZwN.js} +1 -1
  54. package/dist/client/assets/index-BdkjLo3e.css +1 -0
  55. package/dist/client/assets/{index-Czm7CWjK.js → index-CXfjFAB2.js} +1 -1
  56. package/dist/client/assets/{index-D_TAlzS2.js → index-D7vBid7X.js} +1 -1
  57. package/dist/client/assets/{index-D_9U2egr.js → index-DkE856zJ.js} +3 -3
  58. package/dist/client/assets/{input-DNanPJKs.js → input-C2Ph-V5_.js} +1 -1
  59. package/dist/client/assets/json-DVnNOwmi.js +1 -0
  60. package/dist/client/assets/{json-syntax-highlighter-BgGlXkoS.js → json-syntax-highlighter-B4SQlh57.js} +2 -2
  61. package/dist/client/assets/{layout-Cx9b8Yer.js → layout-DqSCBByW.js} +1 -1
  62. package/dist/client/assets/{lazy-highlighter-B6ffJp-C.js → lazy-highlighter-BZxAEkAn.js} +1 -1
  63. package/dist/client/assets/{localstorage-keys-BkdyiQZF.js → localstorage-keys-BdgFgIfr.js} +1 -1
  64. package/dist/client/assets/{login-C7pFWDVX.js → login-CjvCnOTd.js} +1 -1
  65. package/dist/client/assets/{mcp-oauth-C_ge4NPz.js → mcp-oauth-BRLf6SSt.js} +1 -1
  66. package/dist/client/assets/members-qDc7lURh.js +3 -0
  67. package/dist/client/assets/monitoring-B3MEXlZy.js +1 -0
  68. package/dist/client/assets/{oauth-callback-DVsq0aWr.js → oauth-callback-DRBgoMZ7.js} +1 -1
  69. package/dist/client/assets/{page-lDA0jUjQ.js → page-BQFA7pBB.js} +1 -1
  70. package/dist/client/assets/popover-B5X6Vli5.js +1 -0
  71. package/dist/client/assets/prism-light-BeJZ3zKA.js +1 -0
  72. package/dist/client/assets/{resizable-CjAFAEbu.js → resizable-D_GRD1gk.js} +3 -3
  73. package/dist/client/assets/{resource-tabs-CwnllnxC.js → resource-tabs-BeL7wdCw.js} +1 -1
  74. package/dist/client/assets/select-DIsljPdj.js +1 -0
  75. package/dist/client/assets/{settings-B33ucW8T.js → settings-D0j6CjB5.js} +1 -1
  76. package/dist/client/assets/{shell-layout-D2VG1r1F.js → shell-layout-CdA9l5Mv.js} +1 -1
  77. package/dist/client/assets/{spinner-mwkhkfGn.js → spinner-TVmB-5qD.js} +1 -1
  78. package/dist/client/assets/{store-bCSxhgbO.js → store-Dg8rXQqH.js} +1 -1
  79. package/dist/client/assets/{store-app-detail-MMa90jUl.js → store-app-detail-BaLRva6m.js} +1 -1
  80. package/dist/client/assets/switch-Zc7AToJx.js +1 -0
  81. package/dist/client/assets/{tools-list-ReDr32oC.js → tools-list-D_OD1vn5.js} +1 -1
  82. package/dist/client/assets/tooltip-CNuF1S13.js +1 -0
  83. package/dist/client/assets/{types-C7Od-bBc.js → types-BFTKKK_w.js} +1 -1
  84. package/dist/client/assets/{use-binding-q2q9V0d9.js → use-binding-Dx0VfUue.js} +6 -6
  85. package/dist/client/assets/{use-connection-CCY0Xwwp.js → use-connection-B9P3V0a0.js} +1 -1
  86. package/dist/client/assets/{use-connection-resources-CQX8IZC3.js → use-connection-resources-BzPnvL0L.js} +1 -1
  87. package/dist/client/assets/{use-gateway-6PKj5OoP.js → use-gateway-DynzgasG.js} +1 -1
  88. package/dist/client/assets/{use-list-state-C-sROL5p.js → use-list-state-DLhjJXJo.js} +1 -1
  89. package/dist/client/assets/{use-mcp-W5evRIL-.js → use-mcp-B4HuTx_L.js} +1 -1
  90. package/dist/client/assets/{use-members-DBU71Me9.js → use-members-8RC-uoxQ.js} +1 -1
  91. package/dist/client/assets/{use-mobile-DjZ7nTWx.js → use-mobile-BtxRZpBG.js} +1 -1
  92. package/dist/client/assets/{use-organization-settings-Du1vfsWT.js → use-organization-settings-D16HeZQR.js} +1 -1
  93. package/dist/client/assets/{use-tool-call-DTxbLF2G.js → use-tool-call-Betk01yc.js} +1 -1
  94. package/dist/client/assets/useQuery-BDcaqn5m.js +1 -0
  95. package/dist/client/assets/{useSuspenseInfiniteQuery-6jf87YQF.js → useSuspenseInfiniteQuery-DHmfnsAy.js} +1 -1
  96. package/dist/client/assets/{view-mode-toggle-BWA1OFcI.js → view-mode-toggle-CIqr2uxV.js} +1 -1
  97. package/dist/client/index.html +2 -2
  98. package/dist/server/cli.js +128 -128
  99. package/dist/server/migrate.js +87 -87
  100. package/dist/server/server.js +121 -121
  101. package/package.json +1 -1
  102. package/dist/client/assets/auth-Ds7lWA5K.js +0 -1
  103. package/dist/client/assets/avatar-CB7RLPFt.js +0 -1
  104. package/dist/client/assets/connection-detail-Cdicu8TT.js +0 -1
  105. package/dist/client/assets/connections-BYIPhseC.js +0 -1
  106. package/dist/client/assets/env-vars-editor-DcIkv_3p.js +0 -1
  107. package/dist/client/assets/gateway-detail-DOKwn-_O.js +0 -1
  108. package/dist/client/assets/index-DNC-5MRZ.css +0 -1
  109. package/dist/client/assets/json-rZ-8IzF3.js +0 -1
  110. package/dist/client/assets/members-g3aHOb_a.js +0 -3
  111. package/dist/client/assets/monitoring-B4Jp1FeK.js +0 -1
  112. package/dist/client/assets/popover-BN78TD4M.js +0 -1
  113. package/dist/client/assets/prism-light-B_WmfTLI.js +0 -1
  114. package/dist/client/assets/select-888i9ck2.js +0 -1
  115. package/dist/client/assets/switch-CxdnIT30.js +0 -1
  116. package/dist/client/assets/tooltip-CaoJSXa7.js +0 -1
  117. package/dist/client/assets/useQuery-BTda2D25.js +0 -1
@@ -1,2 +1,2 @@
1
- import{r as F,c as v,j as L,K as j,q as A,e as D,t as I}from"./index-D_9U2egr.js";import{c as b,u as q}from"./button-UpWqqi7Z.js";import{u as x}from"./tooltip-CaoJSXa7.js";const U=({size:n=24,color:t="currentColor",...o})=>F.createElement("svg",{viewBox:"0 0 24 24",width:n,height:n,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},F.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666Z"}));U.displayName="Container";const W={xs:"h-6 w-6",sm:"h-8 w-8",md:"h-12 w-12",lg:"h-16 w-16"},Q={xs:"min-w-6",sm:"min-w-8",md:"min-w-12",lg:"min-w-16"},B={xs:12,sm:16,md:24,lg:32};function ot(n){const t=v.c(7),{icon:o,name:e,size:s,className:r,fallbackIcon:i}=n,m=s===void 0?"md":s,g=o??"no-icon";let c;return t[0]!==r||t[1]!==i||t[2]!==o||t[3]!==e||t[4]!==m||t[5]!==g?(c=L.jsx(J,{icon:o,name:e,size:m,className:r,fallbackIcon:i},g),t[0]=r,t[1]=i,t[2]=o,t[3]=e,t[4]=m,t[5]=g,t[6]=c):c=t[6],c}function J(n){const t=v.c(24),{icon:o,name:e,size:s,className:r,fallbackIcon:i}=n,m=s===void 0?"md":s,[g,c]=F.useState(!1),h=!!o&&g,a=W[m],E=Q[m];let S;t[0]!==r||t[1]!==a||t[2]!==E?(S=b("rounded-lg border border-border shrink-0 overflow-hidden",a,E,r),t[0]=r,t[1]=a,t[2]=E,t[3]=S):S=t[3];const N=o||void 0,_=!h&&"hidden";let l;t[4]!==_?(l=b("h-full w-full object-cover",_),t[4]=_,t[5]=l):l=t[5];let y,T;t[6]===Symbol.for("react.memo_cache_sentinel")?(y=()=>c(!1),T=()=>c(!0),t[6]=y,t[7]=T):(y=t[6],T=t[7]);let u;t[8]!==e||t[9]!==N||t[10]!==l?(u=L.jsx("img",{src:N,alt:e,className:l,onError:y,onLoad:T}),t[8]=e,t[9]=N,t[10]=l,t[11]=u):u=t[11];const p=h&&"hidden";let d;t[12]!==p?(d=b("h-full w-full flex items-center justify-center bg-muted/20",p),t[12]=p,t[13]=d):d=t[13];let w;t[14]!==i||t[15]!==m?(w=i??L.jsx(U,{size:B[m],className:"text-muted-foreground"}),t[14]=i,t[15]=m,t[16]=w):w=t[16];let C;t[17]!==d||t[18]!==w?(C=L.jsx("div",{className:d,children:w}),t[17]=d,t[18]=w,t[19]=C):C=t[19];let f;return t[20]!==u||t[21]!==C||t[22]!==S?(f=L.jsxs("div",{className:S,children:[u,C]}),t[20]=u,t[21]=C,t[22]=S,t[23]=f):f=t[23],f}const M="UNKNOWN_CONNECTION_ID",P=async n=>{const o=(await n.text()).split(`
1
+ import{r as F,c as v,j as L,K as j,q as A,e as D,t as I}from"./index-DkE856zJ.js";import{c as b,u as q}from"./button-Dj8ueofv.js";import{u as x}from"./tooltip-CNuF1S13.js";const U=({size:n=24,color:t="currentColor",...o})=>F.createElement("svg",{viewBox:"0 0 24 24",width:n,height:n,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},F.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666Z"}));U.displayName="Container";const W={xs:"h-6 w-6",sm:"h-8 w-8",md:"h-12 w-12",lg:"h-16 w-16"},Q={xs:"min-w-6",sm:"min-w-8",md:"min-w-12",lg:"min-w-16"},B={xs:12,sm:16,md:24,lg:32};function ot(n){const t=v.c(7),{icon:o,name:e,size:s,className:r,fallbackIcon:i}=n,m=s===void 0?"md":s,g=o??"no-icon";let c;return t[0]!==r||t[1]!==i||t[2]!==o||t[3]!==e||t[4]!==m||t[5]!==g?(c=L.jsx(J,{icon:o,name:e,size:m,className:r,fallbackIcon:i},g),t[0]=r,t[1]=i,t[2]=o,t[3]=e,t[4]=m,t[5]=g,t[6]=c):c=t[6],c}function J(n){const t=v.c(24),{icon:o,name:e,size:s,className:r,fallbackIcon:i}=n,m=s===void 0?"md":s,[g,c]=F.useState(!1),h=!!o&&g,a=W[m],E=Q[m];let S;t[0]!==r||t[1]!==a||t[2]!==E?(S=b("rounded-lg border border-border shrink-0 overflow-hidden",a,E,r),t[0]=r,t[1]=a,t[2]=E,t[3]=S):S=t[3];const N=o||void 0,_=!h&&"hidden";let l;t[4]!==_?(l=b("h-full w-full object-cover",_),t[4]=_,t[5]=l):l=t[5];let y,T;t[6]===Symbol.for("react.memo_cache_sentinel")?(y=()=>c(!1),T=()=>c(!0),t[6]=y,t[7]=T):(y=t[6],T=t[7]);let u;t[8]!==e||t[9]!==N||t[10]!==l?(u=L.jsx("img",{src:N,alt:e,className:l,onError:y,onLoad:T}),t[8]=e,t[9]=N,t[10]=l,t[11]=u):u=t[11];const p=h&&"hidden";let d;t[12]!==p?(d=b("h-full w-full flex items-center justify-center bg-muted/20",p),t[12]=p,t[13]=d):d=t[13];let w;t[14]!==i||t[15]!==m?(w=i??L.jsx(U,{size:B[m],className:"text-muted-foreground"}),t[14]=i,t[15]=m,t[16]=w):w=t[16];let C;t[17]!==d||t[18]!==w?(C=L.jsx("div",{className:d,children:w}),t[17]=d,t[18]=w,t[19]=C):C=t[19];let f;return t[20]!==u||t[21]!==C||t[22]!==S?(f=L.jsxs("div",{className:S,children:[u,C]}),t[20]=u,t[21]=C,t[22]=S,t[23]=f):f=t[23],f}const M="UNKNOWN_CONNECTION_ID",P=async n=>{const o=(await n.text()).split(`
2
2
  `).find(s=>s.startsWith("data: "));if(!o)throw new Error("No data received from the server");return JSON.parse(o.replace("data: ",""))};function k(n){if(n===M)return(async()=>{});const t=n?`/mcp/${n}`:"/mcp";return async(o,e)=>{const s=await fetch(t,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:"tools/call",params:{name:o,arguments:e}}),headers:{"Content-Type":"application/json",Accept:"application/json, text/event-stream"},credentials:"include"});if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);const r=s.headers.get("Content-Type")==="application/json"?await s.json():await P(s);if(r.result?.isError)throw new Error(r.result.content?.[0]?.text||"Tool call failed");return r.result?.structuredContent||r.result}}function R(n,t,o){const e=[];if(n?.trim()){const s=n.trim(),r=o.map(i=>({field:[String(i)],operator:"contains",value:s}));r.length===1&&r[0]?e.push(r[0]):r.length>1&&e.push({operator:"or",conditions:r})}if(t&&t.length>0)for(const s of t)e.push({field:[s.column],operator:"eq",value:s.value});if(e.length!==0)return e.length===1?e[0]:{operator:"and",conditions:e}}function K(n,t,o){const e=n??o,s=t??"asc";return[{field:[String(e)],direction:s}]}function Z(n,t,o,e){const s=v.c(14),{org:r}=x();let i;s[0]!==t?(i=t.toUpperCase(),s[0]=t,s[1]=i):i=s[1];const g=`COLLECTION_${i}_GET`;let c;s[2]!==t||s[3]!==o||s[4]!==r.slug||s[5]!==n?(c=j.collectionItem(r.slug,n,t,o??""),s[2]=t,s[3]=o,s[4]=r.slug,s[5]=n,s[6]=c):c=s[6];let h;s[7]!==g||s[8]!==o||s[9]!==e?(h=async()=>o?await e(g,{id:o}):{item:null},s[7]=g,s[8]=o,s[9]=e,s[10]=h):h=s[10];let a;s[11]!==c||s[12]!==h?(a={queryKey:c,queryFn:h,staleTime:6e4},s[11]=c,s[12]=h,s[13]=a):a=s[13];const{data:E}=A(a);return E.item}function H(n,t,o,e){const s=v.c(11),r=e===void 0?{}:e,{org:i}=x(),{searchTerm:m,filters:g,sortKey:c,sortDirection:h,searchFields:a,defaultSortKey:E,pageSize:S}=r,N=a===void 0?["title","description"]:a,_=E===void 0?"updated_at":E,l=S===void 0?100:S;let y;s[0]!==t?(y=t.toUpperCase(),s[0]=t,s[1]=y):y=s[1];const u=`COLLECTION_${y}_LIST`,p=R(m,g,N),d=K(c,h,_),w=JSON.stringify({where:p,orderBy:d,limit:l}),C=j.collectionList(i.slug,n,t,w);let f;s[2]!==u||s[3]!==d||s[4]!==l||s[5]!==o||s[6]!==p?(f=async()=>{const z={...p&&{where:p},...d&&{orderBy:d},limit:l,offset:0};return(await o(u,z))?.items??[]},s[2]=u,s[3]=d,s[4]=l,s[5]=o,s[6]=p,s[7]=f):f=s[7];let O;s[8]!==C||s[9]!==f?(O={queryKey:C,queryFn:f},s[8]=C,s[9]=f,s[10]=O):O=s[10];const{data:$}=A(O);return $}function G(n,t,o){const e=v.c(39),{org:s}=x(),r=D();let i;e[0]!==t?(i=t.toUpperCase(),e[0]=t,e[1]=i):i=e[1];const m=i,g=`COLLECTION_${m}_CREATE`,c=`COLLECTION_${m}_UPDATE`,h=`COLLECTION_${m}_DELETE`;let a;e[2]!==g||e[3]!==o?(a=async f=>(await o(g,{data:f})).item,e[2]=g,e[3]=o,e[4]=a):a=e[4];let E;e[5]!==t||e[6]!==s||e[7]!==r||e[8]!==n?(E=()=>{r.invalidateQueries({queryKey:j.collection(s.slug,n,t)}),I.success("Item created successfully")},e[5]=t,e[6]=s,e[7]=r,e[8]=n,e[9]=E):E=e[9];let S;e[10]!==a||e[11]!==E?(S={mutationFn:a,onSuccess:E,onError:X},e[10]=a,e[11]=E,e[12]=S):S=e[12];const N=q(S);let _;e[13]!==o||e[14]!==c?(_=async f=>{const{id:O,data:$}=f;return(await o(c,{id:O,data:$})).item},e[13]=o,e[14]=c,e[15]=_):_=e[15];let l;e[16]!==t||e[17]!==s||e[18]!==r||e[19]!==n?(l=()=>{r.invalidateQueries({queryKey:j.collection(s.slug,n,t)}),I.success("Item updated successfully")},e[16]=t,e[17]=s,e[18]=r,e[19]=n,e[20]=l):l=e[20];let y;e[21]!==_||e[22]!==l?(y={mutationFn:_,onSuccess:l,onError:Y},e[21]=_,e[22]=l,e[23]=y):y=e[23];const T=q(y);let u;e[24]!==h||e[25]!==o?(u=async f=>(await o(h,{id:f})).item.id,e[24]=h,e[25]=o,e[26]=u):u=e[26];let p;e[27]!==t||e[28]!==s||e[29]!==r||e[30]!==n?(p=()=>{r.invalidateQueries({queryKey:j.collection(s.slug,n,t)}),I.success("Item deleted successfully")},e[27]=t,e[28]=s,e[29]=r,e[30]=n,e[31]=p):p=e[31];let d;e[32]!==u||e[33]!==p?(d={mutationFn:u,onSuccess:p,onError:V},e[32]=u,e[33]=p,e[34]=d):d=e[34];const w=q(d);let C;return e[35]!==N||e[36]!==w||e[37]!==T?(C={create:N,update:T,delete:w},e[35]=N,e[36]=w,e[37]=T,e[38]=C):C=e[38],C}function V(n){const t=n instanceof Error?n.message:String(n);I.error(`Failed to delete item: ${t}`)}function Y(n){const t=n instanceof Error?n.message:String(n);I.error(`Failed to update item: ${t}`)}function X(n){const t=n instanceof Error?n.message:String(n);I.error(`Failed to create item: ${t}`)}function rt(n){const t=v.c(3);let o;t[0]!==n?(o=n===void 0?{}:n,t[0]=n,t[1]=o):o=t[1];const e=o,{org:s}=x();let r;t[2]===Symbol.for("react.memo_cache_sentinel")?(r=k(),t[2]=r):r=t[2];const i=r;return H(s.slug,"CONNECTIONS",i,e)}function it(n){const t=v.c(1),{org:o}=x();let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=k(),t[0]=e):e=t[0];const s=e;return Z(o.slug,"CONNECTIONS",n,s)}function ct(){const n=v.c(1),{org:t}=x();let o;n[0]===Symbol.for("react.memo_cache_sentinel")?(o=k(),n[0]=o):o=n[0];const e=o;return G(t.slug,"CONNECTIONS",e)}export{ot as I,M as U,ct as a,it as b,k as c,G as d,H as e,Z as f,U as n,rt as u};
@@ -1 +1 @@
1
- import{c as f,K as l}from"./index-D_9U2egr.js";import{u as y}from"./formatDistanceToNow-BzQ8Uo3Q.js";async function h(t){const e=`/mcp/${t}`,s={"Content-Type":"application/json",Accept:"application/json, text/event-stream"};try{const o=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"mesh-prompts",version:"1.0.0"}}})});if(!o.ok)return[];if((await o.json()).error)return[];const i=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:2,method:"prompts/list",params:{}})});if(!i.ok)return[];const r=await i.json();return r.error?[]:r.result?.prompts||[]}catch{return[]}}function P(t){const e=f.c(13);let s;e[0]!==t?(s=t.map(q),e[0]=t,e[1]=s):s=e[1];let o;e[2]!==s?(o={queries:s},e[2]=s,e[3]=o):o=e[3];const n=y(o);let i,r;if(e[4]!==t||e[5]!==n){r=new Map;let p;e[8]!==n?(p=n.some(j),e[8]=n,e[9]=p):p=e[9],i=p,t.forEach((u,m)=>{const c=n[m];c?.data?r.set(u,c.data.map(d)):r.set(u,[])}),e[4]=t,e[5]=n,e[6]=i,e[7]=r}else i=e[6],r=e[7];let a;return e[10]!==i||e[11]!==r?(a={promptsMap:r,isLoading:i},e[10]=i,e[11]=r,e[12]=a):a=e[12],a}function d(t){return{name:t.name,description:t.description}}function j(t){return t.isLoading}function q(t){return{queryKey:l.connectionPrompts(t),queryFn:()=>h(t),staleTime:6e4,retry:!1}}async function w(t){const e=`/mcp/${t}`,s={"Content-Type":"application/json",Accept:"application/json, text/event-stream"};try{const o=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"mesh-resources",version:"1.0.0"}}})});if(!o.ok)return[];if((await o.json()).error)return[];const i=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:2,method:"resources/list",params:{}})});if(!i.ok)return[];const r=await i.json();return r.error?[]:r.result?.resources||[]}catch{return[]}}function $(t){const e=f.c(13);let s;e[0]!==t?(s=t.map(O),e[0]=t,e[1]=s):s=e[1];let o;e[2]!==s?(o={queries:s},e[2]=s,e[3]=o):o=e[3];const n=y(o);let i,r;if(e[4]!==t||e[5]!==n){r=new Map;let p;e[8]!==n?(p=n.some(g),e[8]=n,e[9]=p):p=e[9],i=p,t.forEach((u,m)=>{const c=n[m];c?.data?r.set(u,c.data.map(S)):r.set(u,[])}),e[4]=t,e[5]=n,e[6]=i,e[7]=r}else i=e[6],r=e[7];let a;return e[10]!==i||e[11]!==r?(a={resourcesMap:r,isLoading:i},e[10]=i,e[11]=r,e[12]=a):a=e[12],a}function S(t){return{uri:t.uri,name:t.name,description:t.description}}function g(t){return t.isLoading}function O(t){return{queryKey:l.connectionResources(t),queryFn:()=>w(t),staleTime:6e4,retry:!1}}export{$ as a,P as u};
1
+ import{c as f,K as l}from"./index-DkE856zJ.js";import{u as y}from"./formatDistanceToNow-BZKDch9X.js";async function h(t){const e=`/mcp/${t}`,s={"Content-Type":"application/json",Accept:"application/json, text/event-stream"};try{const o=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"mesh-prompts",version:"1.0.0"}}})});if(!o.ok)return[];if((await o.json()).error)return[];const i=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:2,method:"prompts/list",params:{}})});if(!i.ok)return[];const r=await i.json();return r.error?[]:r.result?.prompts||[]}catch{return[]}}function P(t){const e=f.c(13);let s;e[0]!==t?(s=t.map(q),e[0]=t,e[1]=s):s=e[1];let o;e[2]!==s?(o={queries:s},e[2]=s,e[3]=o):o=e[3];const n=y(o);let i,r;if(e[4]!==t||e[5]!==n){r=new Map;let p;e[8]!==n?(p=n.some(j),e[8]=n,e[9]=p):p=e[9],i=p,t.forEach((u,m)=>{const c=n[m];c?.data?r.set(u,c.data.map(d)):r.set(u,[])}),e[4]=t,e[5]=n,e[6]=i,e[7]=r}else i=e[6],r=e[7];let a;return e[10]!==i||e[11]!==r?(a={promptsMap:r,isLoading:i},e[10]=i,e[11]=r,e[12]=a):a=e[12],a}function d(t){return{name:t.name,description:t.description}}function j(t){return t.isLoading}function q(t){return{queryKey:l.connectionPrompts(t),queryFn:()=>h(t),staleTime:6e4,retry:!1}}async function w(t){const e=`/mcp/${t}`,s={"Content-Type":"application/json",Accept:"application/json, text/event-stream"};try{const o=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"mesh-resources",version:"1.0.0"}}})});if(!o.ok)return[];if((await o.json()).error)return[];const i=await fetch(e,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",id:2,method:"resources/list",params:{}})});if(!i.ok)return[];const r=await i.json();return r.error?[]:r.result?.resources||[]}catch{return[]}}function $(t){const e=f.c(13);let s;e[0]!==t?(s=t.map(O),e[0]=t,e[1]=s):s=e[1];let o;e[2]!==s?(o={queries:s},e[2]=s,e[3]=o):o=e[3];const n=y(o);let i,r;if(e[4]!==t||e[5]!==n){r=new Map;let p;e[8]!==n?(p=n.some(g),e[8]=n,e[9]=p):p=e[9],i=p,t.forEach((u,m)=>{const c=n[m];c?.data?r.set(u,c.data.map(S)):r.set(u,[])}),e[4]=t,e[5]=n,e[6]=i,e[7]=r}else i=e[6],r=e[7];let a;return e[10]!==i||e[11]!==r?(a={resourcesMap:r,isLoading:i},e[10]=i,e[11]=r,e[12]=a):a=e[12],a}function S(t){return{uri:t.uri,name:t.name,description:t.description}}function g(t){return t.isLoading}function O(t){return{queryKey:l.connectionResources(t),queryFn:()=>w(t),staleTime:6e4,retry:!1}}export{$ as a,P as u};
@@ -1 +1 @@
1
- import{c as n}from"./index-D_9U2egr.js";import{e as u,d as m,f,c as r}from"./use-connection-CCY0Xwwp.js";import{u as a}from"./tooltip-CaoJSXa7.js";function g(t){const e=n.c(3);let o;e[0]!==t?(o=t===void 0?{}:t,e[0]=t,e[1]=o):o=e[1];const s=o,{org:c}=a();let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=r(),e[2]=l):l=e[2];const i=l;return u(c.slug,"GATEWAY",i,s)}function y(t){const e=n.c(1),{org:o}=a();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=r(),e[0]=s):s=e[0];const c=s;return f(o.slug,"GATEWAY",t,c)}function G(){const t=n.c(1),{org:e}=a();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=r(),t[0]=o):o=t[0];const s=o;return m(e.slug,"GATEWAY",s)}export{G as a,y as b,g as u};
1
+ import{c as n}from"./index-DkE856zJ.js";import{e as u,d as m,f,c as r}from"./use-connection-B9P3V0a0.js";import{u as a}from"./tooltip-CNuF1S13.js";function g(t){const e=n.c(3);let o;e[0]!==t?(o=t===void 0?{}:t,e[0]=t,e[1]=o):o=e[1];const s=o,{org:c}=a();let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=r(),e[2]=l):l=e[2];const i=l;return u(c.slug,"GATEWAY",i,s)}function y(t){const e=n.c(1),{org:o}=a();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=r(),e[0]=s):s=e[0];const c=s;return f(o.slug,"GATEWAY",t,c)}function G(){const t=n.c(1),{org:e}=a();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=r(),t[0]=o):o=t[0];const s=o;return m(e.slug,"GATEWAY",s)}export{G as a,y as b,g as u};
@@ -1 +1 @@
1
- import{r as a,c as T}from"./index-D_9U2egr.js";import{u as D}from"./use-mobile-DjZ7nTWx.js";const W=({size:l=24,color:e="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M2.42 12.713c-.136-.215-.204-.323-.242-.49a1.173 1.173 0 0 1 0-.446c.038-.167.106-.274.242-.49C3.546 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.029.125.029.322 0 .446-.038.167-.106.274-.242.49C20.455 14.495 17.105 19 12 19c-5.106 0-8.455-4.505-9.58-6.287Z"}),a.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}));W.displayName="Eye";function k(l){const e=`deco-filters-${l}`,[t,c]=a.useState(()=>{try{const o=globalThis.localStorage?.getItem(e);if(o)return JSON.parse(o)}catch(o){console.error("Failed to parse stored filters:",o)}return[]});return[t,o=>{c(o);try{globalThis.localStorage?.setItem(e,JSON.stringify(o))}catch(i){console.error("Failed to save filters:",i)}}]}function C(l){const e=T.c(7),[t,c]=a.useState(l),[s,o]=a.useState(l?"desc":null);let i;e[0]!==s||e[1]!==t?(i=h=>{t!==h?(c(h),o("asc")):s==="asc"?o("desc"):s==="desc"&&(c(void 0),o(null))},e[0]=s,e[1]=t,e[2]=i):i=e[2];const u=i;let r;return e[3]!==u||e[4]!==s||e[5]!==t?(r={sortKey:t,sortDirection:s,handleSort:u},e[3]=u,e[4]=s,e[5]=t,e[6]=r):r=e[6],r}function L(l,e){const t=T.c(12),c=e===void 0?"cards":e,s=D(),o=a.useRef(s),i=l?`deco-view-mode-${l}`:"deco-view-mode";let u;t[0]!==c||t[1]!==i?(u=()=>{const d=globalThis.localStorage?.getItem(i);return d==="cards"||d==="table"?d:c},t[0]=c,t[1]=i,t[2]=u):u=t[2];const[r,h]=a.useState(u);let f;t[3]!==i?(f=d=>{h(d),globalThis.localStorage?.setItem(i,d)},t[3]=i,t[4]=f):f=t[4];const p=f;let S,g;t[5]!==s||t[6]!==r?(S=()=>{!o.current&&s&&r==="table"&&h("cards"),o.current=s},g=[s,r],t[5]=s,t[6]=r,t[7]=S,t[8]=g):(S=t[7],g=t[8]),a.useEffect(S,g);let n;return t[9]!==p||t[10]!==r?(n=[r,p],t[9]=p,t[10]=r,t[11]=n):n=t[11],n}function O(l){const e=T.c(20),{namespace:t,resource:c,defaultSortKey:s,defaultViewMode:o}=l,i=s===void 0?"title":s,u=o===void 0?"table":o,[r,h]=a.useState(""),f=a.useDeferredValue(r),p=`${t}-${c}`,[S,g]=k(p),n=`mesh-${c}-filter-visible-${t}`;let d;e[0]!==n?(d=()=>globalThis.localStorage?.getItem(n)==="true",e[0]=n,e[1]=d):d=e[1];const[m,B]=a.useState(d);let y;e[2]!==n?(y=I=>{B(I),globalThis.localStorage?.setItem(n,String(I))},e[2]=n,e[3]=y):y=e[3];const b=y;let M;e[4]!==m||e[5]!==b?(M=()=>{b(!m)},e[4]=m,e[5]=b,e[6]=M):M=e[6];const w=M,[V,$]=L(`mesh-${c}-${t}`,u),{sortKey:x,sortDirection:F,handleSort:K}=C(i),E=x;let v;return e[7]!==m||e[8]!==S||e[9]!==K||e[10]!==r||e[11]!==f||e[12]!==b||e[13]!==g||e[14]!==$||e[15]!==F||e[16]!==E||e[17]!==w||e[18]!==V?(v={search:r,searchTerm:f,setSearch:h,filters:S,setFilters:g,filterBarVisible:m,setFilterBarVisible:b,toggleFilterBar:w,viewMode:V,setViewMode:$,sortKey:E,sortDirection:F,handleSort:K},e[7]=m,e[8]=S,e[9]=K,e[10]=r,e[11]=f,e[12]=b,e[13]=g,e[14]=$,e[15]=F,e[16]=E,e[17]=w,e[18]=V,e[19]=v):v=e[19],v}export{W as s,O as u};
1
+ import{r as a,c as T}from"./index-DkE856zJ.js";import{u as D}from"./use-mobile-BtxRZpBG.js";const W=({size:l=24,color:e="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M2.42 12.713c-.136-.215-.204-.323-.242-.49a1.173 1.173 0 0 1 0-.446c.038-.167.106-.274.242-.49C3.546 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.029.125.029.322 0 .446-.038.167-.106.274-.242.49C20.455 14.495 17.105 19 12 19c-5.106 0-8.455-4.505-9.58-6.287Z"}),a.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}));W.displayName="Eye";function k(l){const e=`deco-filters-${l}`,[t,c]=a.useState(()=>{try{const o=globalThis.localStorage?.getItem(e);if(o)return JSON.parse(o)}catch(o){console.error("Failed to parse stored filters:",o)}return[]});return[t,o=>{c(o);try{globalThis.localStorage?.setItem(e,JSON.stringify(o))}catch(i){console.error("Failed to save filters:",i)}}]}function C(l){const e=T.c(7),[t,c]=a.useState(l),[s,o]=a.useState(l?"desc":null);let i;e[0]!==s||e[1]!==t?(i=h=>{t!==h?(c(h),o("asc")):s==="asc"?o("desc"):s==="desc"&&(c(void 0),o(null))},e[0]=s,e[1]=t,e[2]=i):i=e[2];const u=i;let r;return e[3]!==u||e[4]!==s||e[5]!==t?(r={sortKey:t,sortDirection:s,handleSort:u},e[3]=u,e[4]=s,e[5]=t,e[6]=r):r=e[6],r}function L(l,e){const t=T.c(12),c=e===void 0?"cards":e,s=D(),o=a.useRef(s),i=l?`deco-view-mode-${l}`:"deco-view-mode";let u;t[0]!==c||t[1]!==i?(u=()=>{const d=globalThis.localStorage?.getItem(i);return d==="cards"||d==="table"?d:c},t[0]=c,t[1]=i,t[2]=u):u=t[2];const[r,h]=a.useState(u);let f;t[3]!==i?(f=d=>{h(d),globalThis.localStorage?.setItem(i,d)},t[3]=i,t[4]=f):f=t[4];const p=f;let S,g;t[5]!==s||t[6]!==r?(S=()=>{!o.current&&s&&r==="table"&&h("cards"),o.current=s},g=[s,r],t[5]=s,t[6]=r,t[7]=S,t[8]=g):(S=t[7],g=t[8]),a.useEffect(S,g);let n;return t[9]!==p||t[10]!==r?(n=[r,p],t[9]=p,t[10]=r,t[11]=n):n=t[11],n}function O(l){const e=T.c(20),{namespace:t,resource:c,defaultSortKey:s,defaultViewMode:o}=l,i=s===void 0?"title":s,u=o===void 0?"table":o,[r,h]=a.useState(""),f=a.useDeferredValue(r),p=`${t}-${c}`,[S,g]=k(p),n=`mesh-${c}-filter-visible-${t}`;let d;e[0]!==n?(d=()=>globalThis.localStorage?.getItem(n)==="true",e[0]=n,e[1]=d):d=e[1];const[m,B]=a.useState(d);let y;e[2]!==n?(y=I=>{B(I),globalThis.localStorage?.setItem(n,String(I))},e[2]=n,e[3]=y):y=e[3];const b=y;let M;e[4]!==m||e[5]!==b?(M=()=>{b(!m)},e[4]=m,e[5]=b,e[6]=M):M=e[6];const w=M,[V,$]=L(`mesh-${c}-${t}`,u),{sortKey:x,sortDirection:F,handleSort:K}=C(i),E=x;let v;return e[7]!==m||e[8]!==S||e[9]!==K||e[10]!==r||e[11]!==f||e[12]!==b||e[13]!==g||e[14]!==$||e[15]!==F||e[16]!==E||e[17]!==w||e[18]!==V?(v={search:r,searchTerm:f,setSearch:h,filters:S,setFilters:g,filterBarVisible:m,setFilterBarVisible:b,toggleFilterBar:w,viewMode:V,setViewMode:$,sortKey:E,sortDirection:F,handleSort:K},e[7]=m,e[8]=S,e[9]=K,e[10]=r,e[11]=f,e[12]=b,e[13]=g,e[14]=$,e[15]=F,e[16]=E,e[17]=w,e[18]=V,e[19]=v):v=e[19],v}export{W as s,O as u};
@@ -1 +1 @@
1
- import{c as E,K as b}from"./index-D_9U2egr.js";import{u as j}from"./useQuery-BTda2D25.js";function T(g){const e=E.c(18),{url:o,token:r,enabled:w}=g,$=w===void 0?!0:w;let i;e[0]!==r||e[1]!==o?(i=b.mcpTools(o,r),e[0]=r,e[1]=o,e[2]=i):i=e[2];let s;e[3]!==r||e[4]!==o?(s=async()=>{if(!o)return[];const m={"Content-Type":"application/json",Accept:"application/json, text/event-stream"};r&&(m.Authorization=`Bearer ${r}`);const u=await fetch(o,{method:"POST",headers:m,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"mesh-mcp",version:"1.0.0"}}})});if(!u.ok)throw new Error(`MCP initialization failed: ${u.status}`);const h=await u.json();if(h.error)throw new Error(`MCP initialization error: ${h.error.message} (code: ${h.error.code})`);const y=await fetch(o,{method:"POST",headers:m,body:JSON.stringify({jsonrpc:"2.0",id:2,method:"tools/list",params:{}})});if(!y.ok)throw new Error(`Failed to list tools: ${y.status}`);const l=await y.json();if(l.error)throw new Error(`Failed to list tools: ${l.error.message} (code: ${l.error.code})`);return l.result?.tools||[]},e[3]=r,e[4]=o,e[5]=s):s=e[5];const d=$&&!!o;let a;e[6]!==i||e[7]!==s||e[8]!==d?(a={queryKey:i,queryFn:s,enabled:d,staleTime:3e4,retry:!1},e[6]=i,e[7]=s,e[8]=d,e[9]=a):a=e[9];const t=j(a),f=o?t.isLoading?"connecting":t.isError?"error":"ready":"disconnected";let n;e[10]!==t.data?(n=t.data||[],e[10]=t.data,e[11]=n):n=e[11];const p=t.error;let c;return e[12]!==t.isLoading||e[13]!==t.refetch||e[14]!==f||e[15]!==n||e[16]!==p?(c={tools:n,state:f,error:p,isLoading:t.isLoading,refetch:t.refetch},e[12]=t.isLoading,e[13]=t.refetch,e[14]=f,e[15]=n,e[16]=p,e[17]=c):c=e[17],c}export{T as u};
1
+ import{c as E,K as b}from"./index-DkE856zJ.js";import{u as j}from"./useQuery-BDcaqn5m.js";function T(g){const e=E.c(18),{url:o,token:r,enabled:w}=g,$=w===void 0?!0:w;let i;e[0]!==r||e[1]!==o?(i=b.mcpTools(o,r),e[0]=r,e[1]=o,e[2]=i):i=e[2];let s;e[3]!==r||e[4]!==o?(s=async()=>{if(!o)return[];const m={"Content-Type":"application/json",Accept:"application/json, text/event-stream"};r&&(m.Authorization=`Bearer ${r}`);const u=await fetch(o,{method:"POST",headers:m,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"mesh-mcp",version:"1.0.0"}}})});if(!u.ok)throw new Error(`MCP initialization failed: ${u.status}`);const h=await u.json();if(h.error)throw new Error(`MCP initialization error: ${h.error.message} (code: ${h.error.code})`);const y=await fetch(o,{method:"POST",headers:m,body:JSON.stringify({jsonrpc:"2.0",id:2,method:"tools/list",params:{}})});if(!y.ok)throw new Error(`Failed to list tools: ${y.status}`);const l=await y.json();if(l.error)throw new Error(`Failed to list tools: ${l.error.message} (code: ${l.error.code})`);return l.result?.tools||[]},e[3]=r,e[4]=o,e[5]=s):s=e[5];const d=$&&!!o;let a;e[6]!==i||e[7]!==s||e[8]!==d?(a={queryKey:i,queryFn:s,enabled:d,staleTime:3e4,retry:!1},e[6]=i,e[7]=s,e[8]=d,e[9]=a):a=e[9];const t=j(a),f=o?t.isLoading?"connecting":t.isError?"error":"ready":"disconnected";let n;e[10]!==t.data?(n=t.data||[],e[10]=t.data,e[11]=n):n=e[11];const p=t.error;let c;return e[12]!==t.isLoading||e[13]!==t.refetch||e[14]!==f||e[15]!==n||e[16]!==p?(c={tools:n,state:f,error:p,isLoading:t.isLoading,refetch:t.refetch},e[12]=t.isLoading,e[13]=t.refetch,e[14]=f,e[15]=n,e[16]=p,e[17]=c):c=e[17],c}export{T as u};
@@ -1 +1 @@
1
- import{c as o,q as n,K as u,a as i}from"./index-D_9U2egr.js";import{u as a}from"./tooltip-CaoJSXa7.js";function p(){const e=o.c(4),{locator:s}=a();let t;e[0]!==s?(t=u.members(s),e[0]=s,e[1]=t):t=e[1];let r;return e[2]!==t?(r={queryKey:t,queryFn:m},e[2]=t,e[3]=r):r=e[3],n(r)}function m(){return i.organization.listMembers()}export{p as u};
1
+ import{c as o,q as n,K as u,a as i}from"./index-DkE856zJ.js";import{u as a}from"./tooltip-CNuF1S13.js";function p(){const e=o.c(4),{locator:s}=a();let t;e[0]!==s?(t=u.members(s),e[0]=s,e[1]=t):t=e[1];let r;return e[2]!==t?(r={queryKey:t,queryFn:m},e[2]=t,e[3]=r):r=e[3],n(r)}function m(){return i.organization.listMembers()}export{p as u};
@@ -1 +1 @@
1
- import{c as m,r}from"./index-D_9U2egr.js";const a=768,o=()=>globalThis.innerWidth<a;function u(){const e=m.c(2),[l,n]=r.useState(o);let t,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{const i=()=>n(o),c=globalThis.matchMedia(`(max-width: ${a-1}px)`);return c.addEventListener("change",i),n(o),()=>c.removeEventListener("change",i)},s=[],e[0]=t,e[1]=s):(t=e[0],s=e[1]),r.useEffect(t,s),l}export{u};
1
+ import{c as m,r}from"./index-DkE856zJ.js";const a=768,o=()=>globalThis.innerWidth<a;function u(){const e=m.c(2),[l,n]=r.useState(o);let t,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{const i=()=>n(o),c=globalThis.matchMedia(`(max-width: ${a-1}px)`);return c.addEventListener("change",i),n(o),()=>c.removeEventListener("change",i)},s=[],e[0]=t,e[1]=s):(t=e[0],s=e[1]),r.useEffect(t,s),l}export{u};
@@ -1 +1 @@
1
- import{c as o,q as y,e as T,K as f}from"./index-D_9U2egr.js";import{u as p}from"./button-UpWqqi7Z.js";import{c as m}from"./use-connection-CCY0Xwwp.js";function N(t){const e=o.c(8);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=m(),e[0]=n):n=e[0];const c=n;let r;e[1]!==t?(r=f.organizationSettings(t),e[1]=t,e[2]=r):r=e[2];let s;e[3]!==t?(s=async()=>{const u=await c("ORGANIZATION_SETTINGS_GET",{});return u||{organizationId:t,sidebar_items:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}},e[3]=t,e[4]=s):s=e[4];let l;e[5]!==r||e[6]!==s?(l={queryKey:r,queryFn:s,staleTime:6e4},e[5]=r,e[6]=s,e[7]=l):l=e[7];const{data:i}=y(l);return i}function q(t){const e=o.c(11),n=T();let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=m(),e[0]=c):c=e[0];const r=c;let s;e[1]!==t?(s=async S=>await r("ORGANIZATION_SETTINGS_UPDATE",{organizationId:t,...S}),e[1]=t,e[2]=s):s=e[2];let l;e[3]!==t||e[4]!==n?(l=()=>{n.invalidateQueries({queryKey:f.organizationSettings(t)})},e[3]=t,e[4]=n,e[5]=l):l=e[5];let i;e[6]!==s||e[7]!==l?(i={mutationFn:s,onSuccess:l},e[6]=s,e[7]=l,e[8]=i):i=e[8];const u=p(i);let a;return e[9]!==u?(a={update:u},e[9]=u,e[10]=a):a=e[10],a}export{q as a,N as u};
1
+ import{c as o,q as y,e as T,K as f}from"./index-DkE856zJ.js";import{u as p}from"./button-Dj8ueofv.js";import{c as m}from"./use-connection-B9P3V0a0.js";function N(t){const e=o.c(8);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=m(),e[0]=n):n=e[0];const c=n;let r;e[1]!==t?(r=f.organizationSettings(t),e[1]=t,e[2]=r):r=e[2];let s;e[3]!==t?(s=async()=>{const u=await c("ORGANIZATION_SETTINGS_GET",{});return u||{organizationId:t,sidebar_items:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}},e[3]=t,e[4]=s):s=e[4];let l;e[5]!==r||e[6]!==s?(l={queryKey:r,queryFn:s,staleTime:6e4},e[5]=r,e[6]=s,e[7]=l):l=e[7];const{data:i}=y(l);return i}function q(t){const e=o.c(11),n=T();let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=m(),e[0]=c):c=e[0];const r=c;let s;e[1]!==t?(s=async S=>await r("ORGANIZATION_SETTINGS_UPDATE",{organizationId:t,...S}),e[1]=t,e[2]=s):s=e[2];let l;e[3]!==t||e[4]!==n?(l=()=>{n.invalidateQueries({queryKey:f.organizationSettings(t)})},e[3]=t,e[4]=n,e[5]=l):l=e[5];let i;e[6]!==s||e[7]!==l?(i={mutationFn:s,onSuccess:l},e[6]=s,e[7]=l,e[8]=i):i=e[8];const u=p(i);let a;return e[9]!==u?(a={update:u},e[9]=u,e[10]=a):a=e[10],a}export{q as a,N as u};
@@ -1 +1 @@
1
- import{c as p,q as T,K as C}from"./index-D_9U2egr.js";import{u as q}from"./useQuery-BTda2D25.js";import{u as K}from"./button-UpWqqi7Z.js";function F(a){const e=p.c(23);let o,l,t,s,r;e[0]!==a?({toolCaller:t,toolName:r,toolInputParams:s,scope:l,...o}=a,e[0]=a,e[1]=o,e[2]=l,e[3]=t,e[4]=s,e[5]=r):(o=e[1],l=e[2],t=e[3],s=e[4],r=e[5]);let i,c,m,u;if(e[6]!==o||e[7]!==l||e[8]!==s||e[9]!==r){const y=JSON.stringify(s);u=T,i=o,c=o.staleTime??6e4,m=C.toolCall(l,r,y),e[6]=o,e[7]=l,e[8]=s,e[9]=r,e[10]=i,e[11]=c,e[12]=m,e[13]=u}else i=e[10],c=e[11],m=e[12],u=e[13];let n;e[14]!==t||e[15]!==s||e[16]!==r?(n=async()=>await t(r,s),e[14]=t,e[15]=s,e[16]=r,e[17]=n):n=e[17];let f;return e[18]!==i||e[19]!==c||e[20]!==m||e[21]!==n?(f={...i,staleTime:c,queryKey:m,queryFn:n},e[18]=i,e[19]=c,e[20]=m,e[21]=n,e[22]=f):f=e[22],u(f)}function I(a){const e=p.c(3),{toolCaller:o,toolName:l}=a;let t;return e[0]!==o||e[1]!==l?(t={mutationFn:async s=>await o(l,s),onSuccess:S,onError:N},e[0]=o,e[1]=l,e[2]=t):t=e[2],K(t)}function N(a){console.error("tool call mutation error",a)}function S(a){console.log("tool call mutation success",a)}function O(a){const e=p.c(14),{toolCaller:o,toolName:l,toolInputParams:t,scope:s,staleTime:r,refetchInterval:i,enabled:c}=a,m=r===void 0?6e4:r;let u;e[0]!==s||e[1]!==t||e[2]!==l?(u=C.toolCall(s,l,JSON.stringify(t??{})),e[0]=s,e[1]=t,e[2]=l,e[3]=u):u=e[3];let n;e[4]!==o||e[5]!==t||e[6]!==l?(n=async()=>await o(l,t??{}),e[4]=o,e[5]=t,e[6]=l,e[7]=n):n=e[7];let f;return e[8]!==c||e[9]!==i||e[10]!==m||e[11]!==u||e[12]!==n?(f={queryKey:u,queryFn:n,enabled:c,staleTime:m,refetchInterval:i},e[8]=c,e[9]=i,e[10]=m,e[11]=u,e[12]=n,e[13]=f):f=e[13],q(f)}export{O as a,I as b,F as u};
1
+ import{c as p,q as T,K as C}from"./index-DkE856zJ.js";import{u as q}from"./useQuery-BDcaqn5m.js";import{u as K}from"./button-Dj8ueofv.js";function F(a){const e=p.c(23);let o,l,t,s,r;e[0]!==a?({toolCaller:t,toolName:r,toolInputParams:s,scope:l,...o}=a,e[0]=a,e[1]=o,e[2]=l,e[3]=t,e[4]=s,e[5]=r):(o=e[1],l=e[2],t=e[3],s=e[4],r=e[5]);let i,c,m,u;if(e[6]!==o||e[7]!==l||e[8]!==s||e[9]!==r){const y=JSON.stringify(s);u=T,i=o,c=o.staleTime??6e4,m=C.toolCall(l,r,y),e[6]=o,e[7]=l,e[8]=s,e[9]=r,e[10]=i,e[11]=c,e[12]=m,e[13]=u}else i=e[10],c=e[11],m=e[12],u=e[13];let n;e[14]!==t||e[15]!==s||e[16]!==r?(n=async()=>await t(r,s),e[14]=t,e[15]=s,e[16]=r,e[17]=n):n=e[17];let f;return e[18]!==i||e[19]!==c||e[20]!==m||e[21]!==n?(f={...i,staleTime:c,queryKey:m,queryFn:n},e[18]=i,e[19]=c,e[20]=m,e[21]=n,e[22]=f):f=e[22],u(f)}function I(a){const e=p.c(3),{toolCaller:o,toolName:l}=a;let t;return e[0]!==o||e[1]!==l?(t={mutationFn:async s=>await o(l,s),onSuccess:S,onError:N},e[0]=o,e[1]=l,e[2]=t):t=e[2],K(t)}function N(a){console.error("tool call mutation error",a)}function S(a){console.log("tool call mutation success",a)}function O(a){const e=p.c(14),{toolCaller:o,toolName:l,toolInputParams:t,scope:s,staleTime:r,refetchInterval:i,enabled:c}=a,m=r===void 0?6e4:r;let u;e[0]!==s||e[1]!==t||e[2]!==l?(u=C.toolCall(s,l,JSON.stringify(t??{})),e[0]=s,e[1]=t,e[2]=l,e[3]=u):u=e[3];let n;e[4]!==o||e[5]!==t||e[6]!==l?(n=async()=>await o(l,t??{}),e[4]=o,e[5]=t,e[6]=l,e[7]=n):n=e[7];let f;return e[8]!==c||e[9]!==i||e[10]!==m||e[11]!==u||e[12]!==n?(f={queryKey:u,queryFn:n,enabled:c,staleTime:m,refetchInterval:i},e[8]=c,e[9]=i,e[10]=m,e[11]=u,e[12]=n,e[13]=f):f=e[13],q(f)}export{O as a,I as b,F as u};
@@ -0,0 +1 @@
1
+ import{aq as u,am as s}from"./index-DkE856zJ.js";function o(e,r){return u(e,s,r)}export{o as u};
@@ -1 +1 @@
1
- import{ap as d,aq as f,ar as v,as as b,at as p,au as x}from"./index-D_9U2egr.js";var l=class extends d{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:f()})}getOptimisticResult(e){return e.behavior=f(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:s}=e,a=super.createResult(e,t),{isFetching:i,isRefetching:P,isError:c,isRefetchError:g}=a,r=s.fetchMeta?.fetchMore?.direction,h=c&&r==="forward",o=i&&r==="forward",n=c&&r==="backward",u=i&&r==="backward";return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:b(t,s.data),hasPreviousPage:v(t,s.data),isFetchNextPageError:h,isFetchingNextPage:o,isFetchPreviousPageError:n,isFetchingPreviousPage:u,isRefetchError:g&&!h&&!n,isRefetching:P&&!o&&!u}}};function w(e,t){return p({...e,enabled:!0,suspense:!0,throwOnError:x},l,t)}export{w as u};
1
+ import{am as d,an as f,ao as v,ap as b,aq as p,ar as x}from"./index-DkE856zJ.js";var l=class extends d{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:f()})}getOptimisticResult(e){return e.behavior=f(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:s}=e,a=super.createResult(e,t),{isFetching:i,isRefetching:P,isError:c,isRefetchError:g}=a,r=s.fetchMeta?.fetchMore?.direction,h=c&&r==="forward",o=i&&r==="forward",n=c&&r==="backward",u=i&&r==="backward";return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:b(t,s.data),hasPreviousPage:v(t,s.data),isFetchNextPageError:h,isFetchingNextPage:o,isFetchPreviousPageError:n,isFetchingPreviousPage:u,isRefetchError:g&&!h&&!n,isRefetching:P&&!o&&!u}}};function w(e,t){return p({...e,enabled:!0,suspense:!0,throwOnError:x},l,t)}export{w as u};
@@ -1 +1 @@
1
- import{c as Y,r as V,j as i}from"./index-D_9U2egr.js";import{c as n}from"./button-UpWqqi7Z.js";const Z={sm:{button:"size-7",icon:"size-4"},md:{button:"size-9",icon:"size-5"},lg:{button:"size-12",icon:"size-6"}};function oe(J){const e=Y.c(66),{value:o,onValueChange:l,options:t,size:D,fullWidth:F,className:W}=J,K=D===void 0?"sm":D,w=F===void 0?!1:F,G=V.useRef(null),H=V.useRef(null);let R;e[0]===Symbol.for("react.memo_cache_sentinel")?(R={left:0,width:0,opacity:0},e[0]=R):R=e[0];const[N,O]=V.useState(R);let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=S=>{if(!S.current)return;const{offsetLeft:U,offsetWidth:X}=S.current;O({left:U,width:X,opacity:1})},e[1]=_):_=e[1];const Q=_;let C;e[2]!==t[0].value||e[3]!==o?(C=()=>{const S=o===t[0].value?G:H;Q(S)},e[2]=t[0].value,e[3]=o,e[4]=C):C=e[4];let E;e[5]!==t||e[6]!==o?(E=[o,t],e[5]=t,e[6]=o,e[7]=E):E=e[7],V.useEffect(C,E);const s=Z[K];let a;e[8]!==W?(a=n("relative flex gap-0 bg-muted rounded-lg",W),e[8]=W,e[9]=a):a=e[9];let c;e[10]!==l||e[11]!==t[0].value?(c=()=>l(t[0].value),e[10]=l,e[11]=t[0].value,e[12]=c):c=e[12];const $=w?"flex-1 h-12 px-4":s.button,I=!w&&t[0].label?"px-3":"";let r;e[13]!==I||e[14]!==$?(r=n("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",$,I),e[13]=I,e[14]=$,e[15]=r):r=e[15];const P=o===t[0].value?"text-foreground":"text-muted-foreground";let u;e[16]!==s.icon||e[17]!==P?(u=n("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",s.icon,P),e[16]=s.icon,e[17]=P,e[18]=u):u=e[18];let f;e[19]!==t[0].icon||e[20]!==u?(f=i.jsx("span",{className:u,children:t[0].icon}),e[19]=t[0].icon,e[20]=u,e[21]=f):f=e[21];let d;e[22]!==t[0].label||e[23]!==t[0].value||e[24]!==o?(d=t[0].label&&i.jsx("span",{className:n("text-xs transition-colors ease-out duration-200 whitespace-nowrap",o===t[0].value?"text-foreground":"text-muted-foreground"),children:t[0].label}),e[22]=t[0].label,e[23]=t[0].value,e[24]=o,e[25]=d):d=e[25];let m;e[26]!==r||e[27]!==f||e[28]!==d||e[29]!==c?(m=i.jsxs("button",{ref:G,type:"button",onClick:c,className:r,children:[f,d]}),e[26]=r,e[27]=f,e[28]=d,e[29]=c,e[30]=m):m=e[30];let x;e[31]!==l||e[32]!==t[1].value?(x=()=>l(t[1].value),e[31]=l,e[32]=t[1].value,e[33]=x):x=e[33];const L=w?"flex-1 h-12 px-4":s.button,M=!w&&t[1].label?"px-3":"";let p;e[34]!==L||e[35]!==M?(p=n("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",L,M),e[34]=L,e[35]=M,e[36]=p):p=e[36];const T=o===t[1].value?"text-foreground":"text-muted-foreground";let b;e[37]!==s.icon||e[38]!==T?(b=n("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",s.icon,T),e[37]=s.icon,e[38]=T,e[39]=b):b=e[39];let v;e[40]!==t[1].icon||e[41]!==b?(v=i.jsx("span",{className:b,children:t[1].icon}),e[40]=t[1].icon,e[41]=b,e[42]=v):v=e[42];let g;e[43]!==t[1].label||e[44]!==t[1].value||e[45]!==o?(g=t[1].label&&i.jsx("span",{className:n("text-xs transition-colors ease-out duration-200 whitespace-nowrap",o===t[1].value?"text-foreground":"text-muted-foreground"),children:t[1].label}),e[43]=t[1].label,e[44]=t[1].value,e[45]=o,e[46]=g):g=e[46];let h;e[47]!==x||e[48]!==p||e[49]!==v||e[50]!==g?(h=i.jsxs("button",{ref:H,type:"button",onClick:x,className:p,children:[v,g]}),e[47]=x,e[48]=p,e[49]=v,e[50]=g,e[51]=h):h=e[51];const q=w?"h-12":s.button;let y;e[52]!==q?(y=n("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",q),e[52]=q,e[53]=y):y=e[53];const A=`${N.left}px`,B=`${N.width}px`;let j;e[54]!==N.opacity||e[55]!==A||e[56]!==B?(j={left:A,width:B,opacity:N.opacity},e[54]=N.opacity,e[55]=A,e[56]=B,e[57]=j):j=e[57];let z;e[58]!==y||e[59]!==j?(z=i.jsx("div",{className:y,style:j}),e[58]=y,e[59]=j,e[60]=z):z=e[60];let k;return e[61]!==m||e[62]!==h||e[63]!==z||e[64]!==a?(k=i.jsxs("div",{className:a,children:[m,h,z]}),e[61]=m,e[62]=h,e[63]=z,e[64]=a,e[65]=k):k=e[65],k}export{oe as V};
1
+ import{c as Y,r as V,j as i}from"./index-DkE856zJ.js";import{c as n}from"./button-Dj8ueofv.js";const Z={sm:{button:"size-7",icon:"size-4"},md:{button:"size-9",icon:"size-5"},lg:{button:"size-12",icon:"size-6"}};function oe(J){const e=Y.c(66),{value:o,onValueChange:l,options:t,size:D,fullWidth:F,className:W}=J,K=D===void 0?"sm":D,w=F===void 0?!1:F,G=V.useRef(null),H=V.useRef(null);let R;e[0]===Symbol.for("react.memo_cache_sentinel")?(R={left:0,width:0,opacity:0},e[0]=R):R=e[0];const[N,O]=V.useState(R);let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=S=>{if(!S.current)return;const{offsetLeft:U,offsetWidth:X}=S.current;O({left:U,width:X,opacity:1})},e[1]=_):_=e[1];const Q=_;let C;e[2]!==t[0].value||e[3]!==o?(C=()=>{const S=o===t[0].value?G:H;Q(S)},e[2]=t[0].value,e[3]=o,e[4]=C):C=e[4];let E;e[5]!==t||e[6]!==o?(E=[o,t],e[5]=t,e[6]=o,e[7]=E):E=e[7],V.useEffect(C,E);const s=Z[K];let a;e[8]!==W?(a=n("relative flex gap-0 bg-muted rounded-lg",W),e[8]=W,e[9]=a):a=e[9];let c;e[10]!==l||e[11]!==t[0].value?(c=()=>l(t[0].value),e[10]=l,e[11]=t[0].value,e[12]=c):c=e[12];const $=w?"flex-1 h-12 px-4":s.button,I=!w&&t[0].label?"px-3":"";let r;e[13]!==I||e[14]!==$?(r=n("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",$,I),e[13]=I,e[14]=$,e[15]=r):r=e[15];const P=o===t[0].value?"text-foreground":"text-muted-foreground";let u;e[16]!==s.icon||e[17]!==P?(u=n("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",s.icon,P),e[16]=s.icon,e[17]=P,e[18]=u):u=e[18];let f;e[19]!==t[0].icon||e[20]!==u?(f=i.jsx("span",{className:u,children:t[0].icon}),e[19]=t[0].icon,e[20]=u,e[21]=f):f=e[21];let d;e[22]!==t[0].label||e[23]!==t[0].value||e[24]!==o?(d=t[0].label&&i.jsx("span",{className:n("text-xs transition-colors ease-out duration-200 whitespace-nowrap",o===t[0].value?"text-foreground":"text-muted-foreground"),children:t[0].label}),e[22]=t[0].label,e[23]=t[0].value,e[24]=o,e[25]=d):d=e[25];let m;e[26]!==r||e[27]!==f||e[28]!==d||e[29]!==c?(m=i.jsxs("button",{ref:G,type:"button",onClick:c,className:r,children:[f,d]}),e[26]=r,e[27]=f,e[28]=d,e[29]=c,e[30]=m):m=e[30];let x;e[31]!==l||e[32]!==t[1].value?(x=()=>l(t[1].value),e[31]=l,e[32]=t[1].value,e[33]=x):x=e[33];const L=w?"flex-1 h-12 px-4":s.button,M=!w&&t[1].label?"px-3":"";let p;e[34]!==L||e[35]!==M?(p=n("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",L,M),e[34]=L,e[35]=M,e[36]=p):p=e[36];const T=o===t[1].value?"text-foreground":"text-muted-foreground";let b;e[37]!==s.icon||e[38]!==T?(b=n("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",s.icon,T),e[37]=s.icon,e[38]=T,e[39]=b):b=e[39];let v;e[40]!==t[1].icon||e[41]!==b?(v=i.jsx("span",{className:b,children:t[1].icon}),e[40]=t[1].icon,e[41]=b,e[42]=v):v=e[42];let g;e[43]!==t[1].label||e[44]!==t[1].value||e[45]!==o?(g=t[1].label&&i.jsx("span",{className:n("text-xs transition-colors ease-out duration-200 whitespace-nowrap",o===t[1].value?"text-foreground":"text-muted-foreground"),children:t[1].label}),e[43]=t[1].label,e[44]=t[1].value,e[45]=o,e[46]=g):g=e[46];let h;e[47]!==x||e[48]!==p||e[49]!==v||e[50]!==g?(h=i.jsxs("button",{ref:H,type:"button",onClick:x,className:p,children:[v,g]}),e[47]=x,e[48]=p,e[49]=v,e[50]=g,e[51]=h):h=e[51];const q=w?"h-12":s.button;let y;e[52]!==q?(y=n("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",q),e[52]=q,e[53]=y):y=e[53];const A=`${N.left}px`,B=`${N.width}px`;let j;e[54]!==N.opacity||e[55]!==A||e[56]!==B?(j={left:A,width:B,opacity:N.opacity},e[54]=N.opacity,e[55]=A,e[56]=B,e[57]=j):j=e[57];let z;e[58]!==y||e[59]!==j?(z=i.jsx("div",{className:y,style:j}),e[58]=y,e[59]=j,e[60]=z):z=e[60];let k;return e[61]!==m||e[62]!==h||e[63]!==z||e[64]!==a?(k=i.jsxs("div",{className:a,children:[m,h,z]}),e[61]=m,e[62]=h,e[63]=z,e[64]=a,e[65]=k):k=e[65],k}export{oe as V};
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <title>MCP Mesh</title>
5
5
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
- <script type="module" crossorigin src="/assets/index-D_9U2egr.js"></script>
7
- <link rel="stylesheet" crossorigin href="/assets/index-DNC-5MRZ.css">
6
+ <script type="module" crossorigin src="/assets/index-DkE856zJ.js"></script>
7
+ <link rel="stylesheet" crossorigin href="/assets/index-BdkjLo3e.css">
8
8
  </head>
9
9
  <body>
10
10
  <div id="root"></div>