@decocms/mesh 1.0.4 → 1.0.6
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.
- package/dist/client/assets/{AlertCircle-D0nDWFmW.js → AlertCircle-BpngO4aw.js} +1 -1
- package/dist/client/assets/{ArrowLeft-Dy5EiaSz.js → ArrowLeft-DnNeLtGd.js} +1 -1
- package/dist/client/assets/{Calendar-BJxxu5C2.js → Calendar-D9128Zt6.js} +1 -1
- package/dist/client/assets/{CheckCircle-CIZ-G0cr.js → CheckCircle-pvl06c1v.js} +1 -1
- package/dist/client/assets/{ChevronDown-BaUXzk6S.js → ChevronDown-DDObtPy0.js} +1 -1
- package/dist/client/assets/{Clock-ByLvVVaa.js → Clock-Bhch8Dmk.js} +1 -1
- package/dist/client/assets/{Copy01-qQVvX-ag.js → Copy01-D0UvfCIS.js} +1 -1
- package/dist/client/assets/{CpuChip02-D94fV7L1.js → CpuChip02-CHkUken-.js} +1 -1
- package/dist/client/assets/{DotsVertical-Bwr84gxu.js → DotsVertical-Dx8byzRL.js} +1 -1
- package/dist/client/assets/{File06-wdks9UDf.js → File06-BhKX70V2.js} +1 -1
- package/dist/client/assets/{GitBranch01-BEddVBkT.js → GitBranch01-B4CzhWKg.js} +1 -1
- package/dist/client/assets/{Inbox01-Z0aW0--W.js → Inbox01-C3XiWYYM.js} +1 -1
- package/dist/client/assets/{InfoCircle-DlRKJuiF.js → InfoCircle-RxSckwOE.js} +1 -1
- package/dist/client/assets/{Key01-Dnk7VSvJ.js → Key01-Df_FMcod.js} +1 -1
- package/dist/client/assets/{LinkExternal01-9eWvk-rl.js → LinkExternal01-BKGS1ajv.js} +1 -1
- package/dist/client/assets/{Loading01-DimFEMf8.js → Loading01-BKEuP0BH.js} +1 -1
- package/dist/client/assets/{Plus-Dq2PT6Y9.js → Plus-QVXsH8wr.js} +1 -1
- package/dist/client/assets/{SearchMd-B721Dhru.js → SearchMd-C9aO1pvs.js} +1 -1
- package/dist/client/assets/{Trash01-k3joih0I.js → Trash01-Dz5QBjzt.js} +1 -1
- package/dist/client/assets/{Upload01-CaIFJ1wc.js → Upload01-D2Q9ozBI.js} +1 -1
- package/dist/client/assets/{X-DLJOSrBL.js → X-B6099MPR.js} +1 -1
- package/dist/client/assets/{XClose-CE9-wvzR.js → XClose-DSJxdHjH.js} +1 -1
- package/dist/client/assets/{alert-dialog-DSXTwITs.js → alert-dialog-Bsv_icPD.js} +1 -1
- package/dist/client/assets/{auth-DW5xyVSX.js → auth-DRlnk2xb.js} +1 -1
- package/dist/client/assets/{auth-catchall-lLRsq2bv.js → auth-catchall-BBXFE5-p.js} +1 -1
- package/dist/client/assets/{avatar-Cdwojtd9.js → avatar-DBXvQJLu.js} +1 -1
- package/dist/client/assets/{badge-BKAVZN76.js → badge-EdnCME49.js} +1 -1
- package/dist/client/assets/{button-Cbx1psx0.js → button-BBbnP-v9.js} +1 -1
- package/dist/client/assets/{card-DPj2Jhqd.js → card-oQzKnd4e.js} +1 -1
- package/dist/client/assets/{checkbox-zcMnPIpA.js → checkbox-AVyYmXWI.js} +1 -1
- package/dist/client/assets/{collection-detail-ChLk2o5y.js → collection-detail-CnS3NqzF.js} +1 -1
- package/dist/client/assets/{collection-display-button-CASXIcfv.js → collection-display-button-DVo3HJTi.js} +1 -1
- package/dist/client/assets/{collection-header-DYCWQd6V.js → collection-header-BpXu8Vzd.js} +1 -1
- package/dist/client/assets/{collection-page-C7DppZNC.js → collection-page-BDOciB5D.js} +1 -1
- package/dist/client/assets/{collection-search-CkrsYVHK.js → collection-search-Clscyxb6.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DYHssETe.js → collection-table-wrapper-DrJQ8qIR.js} +1 -1
- package/dist/client/assets/{connection-card-Ccv2RGnA.js → connection-card-DNEpv4P8.js} +1 -1
- package/dist/client/assets/{connection-detail-C4ySrNnu.js → connection-detail-DJQ5DpK4.js} +1 -1
- package/dist/client/assets/{connections-1K9OuPLG.js → connections-B8KLLrqT.js} +1 -1
- package/dist/client/assets/{core-CDKYwt4t.js → core-B2H4SHem.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-CMqfWkSO.js → create-organization-dialog-BgaQBiov.js} +1 -1
- package/dist/client/assets/{dialog-b1ZSD0yQ.js → dialog-zSQgybFt.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CDqLiYRK.js → dropdown-menu-DjQlOq7B.js} +1 -1
- package/dist/client/assets/{error-boundary-Kdc9g4VW.js → error-boundary-DnOs9ptq.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C1-YxFs5.js → extract-connection-data-C4TbfE2g.js} +1 -1
- package/dist/client/assets/{form-8svTn9hb.js → form-DbXTocCZ.js} +1 -1
- package/dist/client/assets/{formatDistanceToNow-CUwQS-xD.js → formatDistanceToNow-DXvTo8fz.js} +1 -1
- package/dist/client/assets/{gateway-detail-hfG6iBJG.js → gateway-detail-D_Eeu8GA.js} +1 -1
- package/dist/client/assets/{gateways-C_zZYP4A.js → gateways-CpOqHGPf.js} +1 -1
- package/dist/client/assets/{home-BjWql1uD.js → home-DH79MOVs.js} +1 -1
- package/dist/client/assets/{index-C-wz9XDG.js → index-CGQ5MQzC.js} +1 -1
- package/dist/client/assets/index-CLqXtDUO.js +1 -0
- package/dist/client/assets/{index-CUKSaF48.js → index-DIMg3McT.js} +2 -2
- package/dist/client/assets/{index-BwIl7ggr.js → index-DmnZvHNs.js} +1 -1
- package/dist/client/assets/{input-H6VT8E5Y.js → input-DuLixXzs.js} +1 -1
- package/dist/client/assets/json-BR-1n4UW.js +1 -0
- package/dist/client/assets/{json-syntax-highlighter-BVdiHUZ0.js → json-syntax-highlighter-DzeQqB3N.js} +2 -2
- package/dist/client/assets/{layout-BQd1I6xa.js → layout-BXMoCa5p.js} +1 -1
- package/dist/client/assets/{lazy-highlighter-B5RwvSZU.js → lazy-highlighter-DlCJvY4E.js} +1 -1
- package/dist/client/assets/{localstorage-keys-DjtPyJdf.js → localstorage-keys-DUsAqGtJ.js} +1 -1
- package/dist/client/assets/{login-DzimQUQo.js → login-DzOOW3NK.js} +1 -1
- package/dist/client/assets/{mcp-oauth-B_sv-TkE.js → mcp-oauth-u1f9o4pW.js} +1 -1
- package/dist/client/assets/{members-CRouHlMm.js → members-BcgmC3Q2.js} +1 -1
- package/dist/client/assets/{monitoring-CcJvqpst.js → monitoring-Ci-6RfIl.js} +1 -1
- package/dist/client/assets/{oauth-callback-BPKJmJXt.js → oauth-callback-D7HKnm8-.js} +1 -1
- package/dist/client/assets/{page-D5Fp2CZa.js → page-D8EXKf1f.js} +1 -1
- package/dist/client/assets/{popover-Bk6CGVAU.js → popover-CSmu1XQf.js} +1 -1
- package/dist/client/assets/prism-light-DdlubWED.js +1 -0
- package/dist/client/assets/{resizable-DmzyZoqu.js → resizable-DaIbtpXr.js} +4 -4
- package/dist/client/assets/{resource-tabs-CHwi6mUQ.js → resource-tabs-UHT4jRlB.js} +1 -1
- package/dist/client/assets/{schema-Bmw1udN9.js → schema-DLujv0-N.js} +1 -1
- package/dist/client/assets/{select-CMEQTzOd.js → select-yhQhGgIP.js} +1 -1
- package/dist/client/assets/{settings-cNvY-rFi.js → settings-LFw_pLDl.js} +1 -1
- package/dist/client/assets/{shell-layout-BU-xHCbm.js → shell-layout-BcDSRee_.js} +1 -1
- package/dist/client/assets/{spinner-Cla_bqD5.js → spinner-BZx2tm9C.js} +1 -1
- package/dist/client/assets/{store-DOUbL8HI.js → store-QDtOTGzB.js} +1 -1
- package/dist/client/assets/{store-app-detail-CLx7Tiyl.js → store-app-detail-gbykHeE1.js} +1 -1
- package/dist/client/assets/{switch-DkW26u3q.js → switch-7ykyI8eT.js} +1 -1
- package/dist/client/assets/{tools-list-DSipnNXa.js → tools-list-Cg7Vdfai.js} +1 -1
- package/dist/client/assets/{tooltip-6DkXiGB3.js → tooltip-C8Lb1JlD.js} +1 -1
- package/dist/client/assets/{types-DY58s8k_.js → types-mJaNg2R7.js} +1 -1
- package/dist/client/assets/{use-binding-CTox1Niq.js → use-binding-DGE2EQtT.js} +1 -1
- package/dist/client/assets/{use-connection-Cj_N-56I.js → use-connection-CdhlvEhz.js} +1 -1
- package/dist/client/assets/{use-connection-resources-Er78LVOz.js → use-connection-resources-DLA7YNHa.js} +1 -1
- package/dist/client/assets/{use-gateway-B64MZgV5.js → use-gateway-DGSuI4Pr.js} +1 -1
- package/dist/client/assets/{use-list-state-D7R4e82G.js → use-list-state-BCOB_OIi.js} +1 -1
- package/dist/client/assets/{use-mcp-DgPyQ4aq.js → use-mcp-i7kSvKqD.js} +1 -1
- package/dist/client/assets/{use-members-BC7usg5N.js → use-members-C4WkWKg7.js} +1 -1
- package/dist/client/assets/{use-mobile-Bi0wd_6D.js → use-mobile-DJp6G0-T.js} +1 -1
- package/dist/client/assets/{use-organization-settings-HuuZ3X-G.js → use-organization-settings-Dhw1as1Y.js} +1 -1
- package/dist/client/assets/{use-tool-call-DP5wwhCb.js → use-tool-call-ZoYxiLnk.js} +1 -1
- package/dist/client/assets/useQuery-CMnzSYEG.js +1 -0
- package/dist/client/assets/utils-B0Sj2akX.js +1 -0
- package/dist/client/assets/{view-mode-toggle-BLmASoqb.js → view-mode-toggle-CgM7sjNw.js} +1 -1
- package/dist/client/assets/{well-known-mcp-C14XnQVT.js → well-known-mcp-59JQWa69.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +3 -3
- package/dist/server/server.js +2 -2
- package/package.json +1 -1
- package/dist/client/assets/index-De7NV5ze.js +0 -1
- package/dist/client/assets/json-DXDmXnbb.js +0 -1
- package/dist/client/assets/prism-light-rMaH_Wpf.js +0 -1
- package/dist/client/assets/useQuery-CBbBOkDY.js +0 -1
- package/dist/client/assets/utils-D1z8mp5k.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as $,c as O,j as L,Y as z,p as k,K as x,t as I}from"./index-
|
|
1
|
+
import{r as $,c as O,j as L,Y as z,p as k,K as x,t as I}from"./index-DIMg3McT.js";import{c as N}from"./utils-B0Sj2akX.js";import{u as b}from"./tooltip-C8Lb1JlD.js";import{u as j}from"./button-BBbnP-v9.js";const Q=({size:n=24,color:e="currentColor",...r})=>$.createElement("svg",{viewBox:"0 0 24 24",width:n,height:n,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},$.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"}));Q.displayName="Container";const A={xs:"h-6 w-6",sm:"h-8 w-8",md:"h-12 w-12",lg:"h-16 w-16"},U={xs:"min-w-6",sm:"min-w-8",md:"min-w-12",lg:"min-w-16"},D={xs:12,sm:16,md:24,lg:32};function ne(n){const e=O.c(7),{icon:r,name:t,size:s,className:i,fallbackIcon:o}=n,a=s===void 0?"md":s,c=r??"no-icon";let l;return e[0]!==i||e[1]!==o||e[2]!==r||e[3]!==t||e[4]!==a||e[5]!==c?(l=L.jsx(W,{icon:r,name:t,size:a,className:i,fallbackIcon:o},c),e[0]=i,e[1]=o,e[2]=r,e[3]=t,e[4]=a,e[5]=c,e[6]=l):l=e[6],l}function W(n){const e=O.c(24),{icon:r,name:t,size:s,className:i,fallbackIcon:o}=n,a=s===void 0?"md":s,[c,l]=$.useState(!1),u=!!r&&c,f=A[a],p=U[a];let w;e[0]!==i||e[1]!==f||e[2]!==p?(w=N("rounded-lg border border-border shrink-0 overflow-hidden",f,p,i),e[0]=i,e[1]=f,e[2]=p,e[3]=w):w=e[3];const h=r||void 0,g=!u&&"hidden";let E;e[4]!==g?(E=N("h-full w-full object-cover",g),e[4]=g,e[5]=E):E=e[5];let T,S;e[6]===Symbol.for("react.memo_cache_sentinel")?(T=()=>l(!1),S=()=>l(!0),e[6]=T,e[7]=S):(T=e[6],S=e[7]);let d;e[8]!==t||e[9]!==h||e[10]!==E?(d=L.jsx("img",{src:h,alt:t,className:E,onError:T,onLoad:S}),e[8]=t,e[9]=h,e[10]=E,e[11]=d):d=e[11];const v=u&&"hidden";let y;e[12]!==v?(y=N("h-full w-full flex items-center justify-center bg-muted/20",v),e[12]=v,e[13]=y):y=e[13];let C;e[14]!==o||e[15]!==a?(C=o??L.jsx(Q,{size:D[a],className:"text-muted-foreground"}),e[14]=o,e[15]=a,e[16]=C):C=e[16];let m;e[17]!==y||e[18]!==C?(m=L.jsx("div",{className:y,children:C}),e[17]=y,e[18]=C,e[19]=m):m=e[19];let _;return e[20]!==d||e[21]!==m||e[22]!==w?(_=L.jsxs("div",{className:w,children:[d,m]}),e[20]=d,e[21]=m,e[22]=w,e[23]=_):_=e[23],_}const B="UNKNOWN_CONNECTION_ID",J=async n=>{const r=(await n.text()).split(`
|
|
2
2
|
`).find(s=>s.startsWith("data: "));if(!r)throw new Error("No data received from the server");return JSON.parse(r.replace("data: ",""))};function q(n){if(n===B)return(async()=>{});const e=n?`/mcp/${n}`:"/mcp";return async(r,t)=>{const s=await fetch(e,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:"tools/call",params:{name:r,arguments:t}}),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 i=s.headers.get("Content-Type")==="application/json"?await s.json():await J(s);if(i.result?.isError)throw new Error(i.result.content?.[0]?.text||"Tool call failed");return i.result?.structuredContent||i.result}}function M(n,e,r){const t=[];if(n?.trim()){const s=n.trim(),i=r.map(o=>({field:[String(o)],operator:"contains",value:s}));i.length===1&&i[0]?t.push(i[0]):i.length>1&&t.push({operator:"or",conditions:i})}if(e&&e.length>0)for(const s of e)t.push({field:[s.column],operator:"eq",value:s.value});if(t.length!==0)return t.length===1?t[0]:{operator:"and",conditions:t}}function R(n,e,r){const t=n??r,s=e??"asc";return[{field:[String(t)],direction:s}]}function Z(n,e,r,t){const s=O.c(13);let i;s[0]!==e?(i=e.toUpperCase(),s[0]=e,s[1]=i):i=s[1];const a=`COLLECTION_${i}_GET`;let c;s[2]!==e||s[3]!==r||s[4]!==n?(c=x.collectionItem(n,e,r??""),s[2]=e,s[3]=r,s[4]=n,s[5]=c):c=s[5];let l;s[6]!==a||s[7]!==r||s[8]!==t?(l=async()=>r?await t(a,{id:r}):{item:null},s[6]=a,s[7]=r,s[8]=t,s[9]=l):l=s[9];let u;s[10]!==c||s[11]!==l?(u={queryKey:c,queryFn:l,staleTime:6e4},s[10]=c,s[11]=l,s[12]=u):u=s[12];const{data:f}=k(u);return f.item}function H(n,e,r,t){const s=O.c(20);let i,o,a,c,l,u;if(s[0]!==e||s[1]!==n||s[2]!==t){const h=t===void 0?{}:t,{searchTerm:g,filters:E,sortKey:T,sortDirection:S,searchFields:d,defaultSortKey:v,pageSize:y}=h,C=d===void 0?["title","description"]:d,m=v===void 0?"updated_at":v;a=y===void 0?100:y;let _;s[9]!==e?(_=e.toUpperCase(),s[9]=e,s[10]=_):_=s[10],i=`COLLECTION_${_}_LIST`,u=M(g,E,C),o=R(T,S,m);const P=JSON.stringify({where:u,orderBy:o,limit:a});l=k,c=x.collectionList(n,e,P),s[0]=e,s[1]=n,s[2]=t,s[3]=i,s[4]=o,s[5]=a,s[6]=c,s[7]=l,s[8]=u}else i=s[3],o=s[4],a=s[5],c=s[6],l=s[7],u=s[8];let f;s[11]!==i||s[12]!==o||s[13]!==a||s[14]!==r||s[15]!==u?(f=async()=>{const h={...u&&{where:u},...o&&{orderBy:o},limit:a,offset:0};return(await r(i,h))?.items??[]},s[11]=i,s[12]=o,s[13]=a,s[14]=r,s[15]=u,s[16]=f):f=s[16];let p;s[17]!==c||s[18]!==f?(p={queryKey:c,queryFn:f},s[17]=c,s[18]=f,s[19]=p):p=s[19];const{data:w}=l(p);return w}function Y(n,e,r){const t=O.c(36),s=z();let i;t[0]!==e?(i=e.toUpperCase(),t[0]=e,t[1]=i):i=t[1];const o=i,a=`COLLECTION_${o}_CREATE`,c=`COLLECTION_${o}_UPDATE`,l=`COLLECTION_${o}_DELETE`;let u;t[2]!==a||t[3]!==r?(u=async m=>(await r(a,{data:m})).item,t[2]=a,t[3]=r,t[4]=u):u=t[4];let f;t[5]!==e||t[6]!==s||t[7]!==n?(f=()=>{s.invalidateQueries({queryKey:x.collectionListPrefix(n,e)}),s.invalidateQueries({queryKey:x.collectionListInfinitePrefix(n,e)}),I.success("Item created successfully")},t[5]=e,t[6]=s,t[7]=n,t[8]=f):f=t[8];let p;t[9]!==u||t[10]!==f?(p={mutationFn:u,onSuccess:f,onError:V},t[9]=u,t[10]=f,t[11]=p):p=t[11];const w=j(p);let h;t[12]!==r||t[13]!==c?(h=async m=>{const{id:_,data:F}=m;return(await r(c,{id:_,data:F})).item},t[12]=r,t[13]=c,t[14]=h):h=t[14];let g;t[15]!==e||t[16]!==s||t[17]!==n?(g=m=>{s.invalidateQueries({queryKey:x.collectionListPrefix(n,e)}),s.invalidateQueries({queryKey:x.collectionListInfinitePrefix(n,e)}),s.invalidateQueries({queryKey:x.collectionItem(n,e,m.id)}),I.success("Item updated successfully")},t[15]=e,t[16]=s,t[17]=n,t[18]=g):g=t[18];let E;t[19]!==h||t[20]!==g?(E={mutationFn:h,onSuccess:g,onError:K},t[19]=h,t[20]=g,t[21]=E):E=t[21];const T=j(E);let S;t[22]!==l||t[23]!==r?(S=async m=>(await r(l,{id:m})).item.id,t[22]=l,t[23]=r,t[24]=S):S=t[24];let d;t[25]!==e||t[26]!==s||t[27]!==n?(d=()=>{s.invalidateQueries({queryKey:x.collectionListPrefix(n,e)}),s.invalidateQueries({queryKey:x.collectionListInfinitePrefix(n,e)}),I.success("Item deleted successfully")},t[25]=e,t[26]=s,t[27]=n,t[28]=d):d=t[28];let v;t[29]!==S||t[30]!==d?(v={mutationFn:S,onSuccess:d,onError:G},t[29]=S,t[30]=d,t[31]=v):v=t[31];const y=j(v);let C;return t[32]!==w||t[33]!==y||t[34]!==T?(C={create:w,update:T,delete:y},t[32]=w,t[33]=y,t[34]=T,t[35]=C):C=t[35],C}function G(n){const e=n instanceof Error?n.message:String(n);I.error(`Failed to delete item: ${e}`)}function K(n){const e=n instanceof Error?n.message:String(n);I.error(`Failed to update item: ${e}`)}function V(n){const e=n instanceof Error?n.message:String(n);I.error(`Failed to create item: ${e}`)}function re(n){const e=O.c(3);let r;e[0]!==n?(r=n===void 0?{}:n,e[0]=n,e[1]=r):r=e[1];const t=r,{org:s}=b();let i;e[2]===Symbol.for("react.memo_cache_sentinel")?(i=q(),e[2]=i):i=e[2];const o=i;return H(s.slug,"CONNECTIONS",o,t)}function ie(n){const e=O.c(1),{org:r}=b();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=q(),e[0]=t):t=e[0];const s=t;return Z(r.slug,"CONNECTIONS",n,s)}function oe(){const n=O.c(1),{org:e}=b();let r;n[0]===Symbol.for("react.memo_cache_sentinel")?(r=q(),n[0]=r):r=n[0];const t=r;return Y(e.slug,"CONNECTIONS",t)}export{ne as I,B as U,oe as a,ie as b,q as c,Y as d,H as e,Z as f,Q as n,re as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f,K as l}from"./index-
|
|
1
|
+
import{c as f,K as l}from"./index-DIMg3McT.js";import{u as y}from"./formatDistanceToNow-DXvTo8fz.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-
|
|
1
|
+
import{c as n}from"./index-DIMg3McT.js";import{e as u,d as m,f,c as r}from"./use-connection-CdhlvEhz.js";import{u as a}from"./tooltip-C8Lb1JlD.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-
|
|
1
|
+
import{r as a,c as T}from"./index-DIMg3McT.js";import{u as D}from"./use-mobile-DJp6G0-T.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-
|
|
1
|
+
import{c as E,K as b}from"./index-DIMg3McT.js";import{u as j}from"./useQuery-CMnzSYEG.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,p as n,K as u,a as i}from"./index-
|
|
1
|
+
import{c as o,p as n,K as u,a as i}from"./index-DIMg3McT.js";import{u as a}from"./tooltip-C8Lb1JlD.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-
|
|
1
|
+
import{c as m,r}from"./index-DIMg3McT.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,p as y,Y as p,K as f}from"./index-
|
|
1
|
+
import{c as o,p as y,Y as p,K as f}from"./index-DIMg3McT.js";import{u as T}from"./button-BBbnP-v9.js";import{c as m}from"./use-connection-CdhlvEhz.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 C(t){const e=o.c(11),n=p();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=T(i);let a;return e[9]!==u?(a={update:u},e[9]=u,e[10]=a):a=e[10],a}export{C as a,N as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as y,p as T,K as C}from"./index-
|
|
1
|
+
import{c as y,p as T,K as C}from"./index-DIMg3McT.js";import{u as q}from"./useQuery-CMnzSYEG.js";import{u as K}from"./button-BBbnP-v9.js";function F(a){const e=y.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 p=JSON.stringify(s);u=T,i=o,c=o.staleTime??6e4,m=C.toolCall(l,r,p),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=y.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=y.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{as as s,ao as u}from"./index-DIMg3McT.js";function o(e,r){return s(e,u,r)}export{o as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bl as t,Q as c}from"./index-DIMg3McT.js";function n(...r){return t(c(r))}export{n as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Y,r as V,j as i}from"./index-
|
|
1
|
+
import{c as Y,r as V,j as i}from"./index-DIMg3McT.js";import{c as n}from"./utils-B0Sj2akX.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 +1 @@
|
|
|
1
|
-
import{r as n}from"./index-
|
|
1
|
+
import{r as n}from"./index-DIMg3McT.js";const i=({size:e=24,color:o="currentColor",...c})=>n.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...c},n.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));i.displayName="Lock01";const t={SELF:"self",REGISTRY:"registry",COMMUNITY_REGISTRY:"community-registry"},r={SELF:e=>`${e}_${t.SELF}`,REGISTRY:e=>`${e}_${t.REGISTRY}`,COMMUNITY_REGISTRY:e=>`${e}_${t.COMMUNITY_REGISTRY}`};function a(e){return{id:r.REGISTRY(e),title:"Deco Store",description:"Official deco MCP registry with curated integrations",connection_type:"HTTP",connection_url:"https://api.decocms.com/mcp/registry",icon:"https://assets.decocache.com/decocms/00ccf6c3-9e13-4517-83b0-75ab84554bb9/596364c63320075ca58483660156b6d9de9b526e.png",app_name:"deco-registry",app_id:null,connection_token:null,connection_headers:null,oauth_config:null,configuration_state:null,configuration_scopes:null,metadata:{isDefault:!0,type:"registry"}}}function l(){return{id:t.COMMUNITY_REGISTRY,title:"MCP Registry",description:"Community MCP registry with thousands of handy MCPs",connection_type:"HTTP",connection_url:"https://sites-registry.decocache.com/mcp",icon:"https://assets.decocache.com/decocms/cd7ca472-0f72-463a-b0de-6e44bdd0f9b4/mcp.png",app_name:"mcp-registry",app_id:null,connection_token:null,connection_headers:null,oauth_config:null,configuration_state:null,configuration_scopes:null,metadata:{isDefault:!0,type:"registry"}}}export{t as W,l as a,a as g,i};
|
package/dist/client/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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-
|
|
6
|
+
<script type="module" crossorigin src="/assets/index-DIMg3McT.js"></script>
|
|
7
7
|
<link rel="stylesheet" crossorigin href="/assets/index-Bw8uh6yx.css">
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|