@decocms/mesh 2.17.0 → 2.17.1
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-DOBZDZTf.js → AlertCircle-rclbzics.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CiX5attk.js → ArrowLeft-ClViT7Hc.js} +1 -1
- package/dist/client/assets/{ArrowUp-Cb5IgbXf.js → ArrowUp-BsQNKzS-.js} +1 -1
- package/dist/client/assets/{Check-D_y2LGJG.js → Check-C2R_Lcai.js} +1 -1
- package/dist/client/assets/{ChevronDown-CK8tBMwt.js → ChevronDown-CGAmRXVd.js} +1 -1
- package/dist/client/assets/{Code01-CHaKquD7.js → Code01-CVOtW_Yi.js} +1 -1
- package/dist/client/assets/{Copy01-DEYUyyKa.js → Copy01-BvrgG3_u.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-CJj2K5Fj.js → DotsHorizontal-D-_ECokQ.js} +1 -1
- package/dist/client/assets/{DotsVertical-DBgin8Gd.js → DotsVertical-BeOWu8ww.js} +1 -1
- package/dist/client/assets/{Download01-D480FrAl.js → Download01-C4VXJ4rj.js} +1 -1
- package/dist/client/assets/{Edit01-C2wyoLl_.js → Edit01-CkDEl3XN.js} +1 -1
- package/dist/client/assets/{File06-Dss_qxDP.js → File06-DcfM98WM.js} +1 -1
- package/dist/client/assets/{FilterLines-BIIc2m5u.js → FilterLines-BFhYlm1G.js} +1 -1
- package/dist/client/assets/{FlipBackward-C6tD49bS.js → FlipBackward-Bz0fRANc.js} +1 -1
- package/dist/client/assets/{GitBranch01-CCs9Y7UL.js → GitBranch01-Bc0tKWvO.js} +1 -1
- package/dist/client/assets/{Grid01-CPcgzk-j.js → Grid01-SL4tYH2-.js} +1 -1
- package/dist/client/assets/{Home02-B2DfszMd.js → Home02-C2IjHPBI.js} +1 -1
- package/dist/client/assets/{Image01-CWiMChMV.js → Image01-BQtv4av4.js} +1 -1
- package/dist/client/assets/{Inbox01-E54Xv1AH.js → Inbox01-Dq00_28Z.js} +1 -1
- package/dist/client/assets/{InfoCircle-C1Hk7qxK.js → InfoCircle-Cr1Ezl_g.js} +1 -1
- package/dist/client/assets/{Key01-D3jgPHnl.js → Key01-nM2KN2wI.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DXt_okRr.js → LinkExternal01-Cek4l5LT.js} +1 -1
- package/dist/client/assets/{List-vJTsFkGC.js → List-DhHX60HN.js} +1 -1
- package/dist/client/assets/{Loading01-CXxLrMyp.js → Loading01-CpEccvEO.js} +1 -1
- package/dist/client/assets/{Lock01-C0IcfwAr.js → Lock01-DkAqto6l.js} +1 -1
- package/dist/client/assets/{MessageChatSquare-BAK3msQ9.js → MessageChatSquare-B8VNN8W_.js} +1 -1
- package/dist/client/assets/{Play-D5UR01Yp.js → Play-gy0OXoTQ.js} +1 -1
- package/dist/client/assets/{Plus-BwqRnIpw.js → Plus-DjzFfDDP.js} +1 -1
- package/dist/client/assets/{SearchMd-B72GLhSo.js → SearchMd-Cg2el-z8.js} +1 -1
- package/dist/client/assets/{Terminal-C6oII67o.js → Terminal-Kg8grfTZ.js} +1 -1
- package/dist/client/assets/{Trash01-pQsQJfD7.js → Trash01-BnAfsqRe.js} +1 -1
- package/dist/client/assets/{Upload01-CPXoheIk.js → Upload01-DRgz8NgE.js} +1 -1
- package/dist/client/assets/{X-Ta7e64fd.js → X-CBga9b95.js} +1 -1
- package/dist/client/assets/{XClose-COWRVEvP.js → XClose-DEljIF8n.js} +1 -1
- package/dist/client/assets/{alert-dialog-CwDNNTWs.js → alert-dialog-BNxiLvEc.js} +1 -1
- package/dist/client/assets/{auth-catchall-DOIkjlbS.js → auth-catchall-DeehfEMz.js} +1 -1
- package/dist/client/assets/{avatar-Bbu1o6br.js → avatar-BXyXgGjh.js} +1 -1
- package/dist/client/assets/{badge-BF26aj7r.js → badge-Ctdv4gxt.js} +1 -1
- package/dist/client/assets/{binder-CZMsXyzM.js → binder-BxrAqFdA.js} +1 -1
- package/dist/client/assets/{button-CKEM3eQL.js → button-C0pnkZlC.js} +1 -1
- package/dist/client/assets/{card-2L27xRvH.js → card-DUUk5B6T.js} +1 -1
- package/dist/client/assets/{checkbox-D-u8zfFA.js → checkbox-DSzJrlMA.js} +1 -1
- package/dist/client/assets/{collection-detail-DRvlQkfI.js → collection-detail-iIrZ-zZ-.js} +1 -1
- package/dist/client/assets/{collection-display-button-BRmjKmXA.js → collection-display-button-DDxBelrQ.js} +1 -1
- package/dist/client/assets/{collection-header-DxthRGYV.js → collection-header-d89fPnWN.js} +1 -1
- package/dist/client/assets/{collection-page-D_yHhDuI.js → collection-page-DvY1awQQ.js} +1 -1
- package/dist/client/assets/{collection-search-B1XW3AZu.js → collection-search-DFSn4A42.js} +1 -1
- package/dist/client/assets/{collection-tab-tjhO7Mrn.js → collection-tab-J4NMpB8P.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-D0Ju0-U8.js → collection-table-wrapper-CB1f1HNV.js} +1 -1
- package/dist/client/assets/{connection-iGG9vveH.js → connection-CMutAR-q.js} +1 -1
- package/dist/client/assets/{connection-card-DtL0ugHI.js → connection-card-DJA7LSPP.js} +1 -1
- package/dist/client/assets/connection-detail-AyiveTST.js +1 -0
- package/dist/client/assets/{connections-D3zmX0Z9.js → connections-B5sVjhUZ.js} +1 -1
- package/dist/client/assets/constants-Bx2xP4ra.js +1 -0
- package/dist/client/assets/{create-organization-dialog-eRNW8Qxh.js → create-organization-dialog-FpknJphA.js} +1 -1
- package/dist/client/assets/{dialog-CDtau8Kt.js → dialog-DGipxHKv.js} +1 -1
- package/dist/client/assets/{dropdown-menu-wWS-zaMN.js → dropdown-menu-DXIsFCVQ.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DputRlYb.js → dynamic-plugin-layout-p6uYyMI7.js} +1 -1
- package/dist/client/assets/{empty-state-CVNEuxZY.js → empty-state-BOQ8a8rM.js} +1 -1
- package/dist/client/assets/{empty-state-BHbK0lgC.js → empty-state-CsVvxFp9.js} +1 -1
- package/dist/client/assets/{env-vars-editor-C51mNjyA.js → env-vars-editor-DsDwdS2I.js} +1 -1
- package/dist/client/assets/{error-boundary-Bcxx4rfP.js → error-boundary-CiihS5J_.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Dpmksiuo.js → extract-connection-data-CZNqSTSO.js} +1 -1
- package/dist/client/assets/{file-browser-BGJT68ml.js → file-browser-DtPxgmLq.js} +2 -2
- package/dist/client/assets/{form-V7XQlTI9.js → form-Cq3oH5p8.js} +1 -1
- package/dist/client/assets/{gateway-detail-Dwo3tRMv.js → gateway-detail-Ds9jNsAy.js} +1 -1
- package/dist/client/assets/{gateways-zERSWoJy.js → gateways--0F8usoj.js} +1 -1
- package/dist/client/assets/{grid-view-D8luahOM.js → grid-view-DCCLpGyL.js} +1 -1
- package/dist/client/assets/{home-BzIxKv5R.js → home-C6YGDrtN.js} +1 -1
- package/dist/client/assets/{index-Dm3KUy-5.js → index-BEGxRCwV.js} +4 -4
- package/dist/client/assets/{index-D93bwXlh.js → index-BPAz_Wmi.js} +1 -1
- package/dist/client/assets/{index-BuhwJgoT.js → index-Ct-XKtSm.js} +1 -1
- package/dist/client/assets/{index-H8waGLZX.js → index-lLPOJwFP.js} +19 -19
- package/dist/client/assets/index-sjg7ALLH.js +25 -0
- package/dist/client/assets/{infiniteQueryObserver-CorNdPTl.js → infiniteQueryObserver-Cg5Uwm-m.js} +1 -1
- package/dist/client/assets/{input-B_S0H_Hl.js → input-BtvEWyY7.js} +1 -1
- package/dist/client/assets/{layout-CSDcjZIC.js → layout-D_5LiG9u.js} +1 -1
- package/dist/client/assets/{lazy-highlighter-C9yEt-oj.js → lazy-highlighter-D262jDd3.js} +1 -1
- package/dist/client/assets/{localstorage-keys-bcceq1xC.js → localstorage-keys-CrsmSVIa.js} +1 -1
- package/dist/client/assets/{login-BYnVwbER.js → login-D-eNDgSJ.js} +1 -1
- package/dist/client/assets/mcp-oauth-BlRDBNPG.js +1 -0
- package/dist/client/assets/{mcp-server-card-_ATNoXTX.js → mcp-server-card-h4-acR5C.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-DObA9nLB.js → mcp-server-detail-BIJFOf-1.js} +1 -1
- package/dist/client/assets/{members-BebBEAXI.js → members-JDeSn8de.js} +1 -1
- package/dist/client/assets/{monaco-editor-DKdQnknl.js → monaco-editor-h8_XpHnI.js} +1 -1
- package/dist/client/assets/{monitoring-CDDlEqUx.js → monitoring-B5veKGER.js} +12 -12
- package/dist/client/assets/{oauth-callback-gzfkrrQW.js → oauth-callback-B7GGjmT2.js} +1 -1
- package/dist/client/assets/{page-Do6tc7Ak.js → page-DRfRpAk9.js} +1 -1
- package/dist/client/assets/{page-CLLgwmPE.js → page-JPTyFV98.js} +1 -1
- package/dist/client/assets/{pin-to-sidebar-button-NqMT4AF7.js → pin-to-sidebar-button-DNtnmSb8.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CsEwK0UI.js → plugin-empty-state-DrcgOOcq.js} +1 -1
- package/dist/client/assets/{plugin-header-DMvUkTVw.js → plugin-header-riFgGbiI.js} +1 -1
- package/dist/client/assets/{plugins-femIOaN7.js → plugins-DoB7Ko8p.js} +1 -1
- package/dist/client/assets/{popover-CUHksX3w.js → popover-pNwa1deQ.js} +1 -1
- package/dist/client/assets/{project-context-provider-DTbOrAFq.js → project-context-provider-BMHXD39x.js} +1 -1
- package/dist/client/assets/{registry-utils-C5W-BZ_1.js → registry-utils-BkBVcE6w.js} +1 -1
- package/dist/client/assets/{resizable-BEUt05S8.js → resizable-jz1SBMEc.js} +1 -1
- package/dist/client/assets/{resource-tabs-kfeiBQEL.js → resource-tabs-DqRWX41r.js} +1 -1
- package/dist/client/assets/{select-H2esePZI.js → select-COJ5S7Rq.js} +1 -1
- package/dist/client/assets/{settings-DO0PkWA0.js → settings-CmNkIvY0.js} +1 -1
- package/dist/client/assets/{shell-layout-Bx8F46Gf.js → shell-layout-B43W-k9I.js} +1 -1
- package/dist/client/assets/{spinner-BZhaf6l_.js → spinner-Deoz6N0J.js} +1 -1
- package/dist/client/assets/{switch-CIfCfD81.js → switch-Z2NGTQao.js} +1 -1
- package/dist/client/assets/{textarea-CC9KHQpw.js → textarea-fD103gtG.js} +1 -1
- package/dist/client/assets/{tool-set-selector-Cty6fXdH.js → tool-set-selector-SxQbDynN.js} +1 -1
- package/dist/client/assets/{tools-list-rrG-PiCB.js → tools-list-9lgpWeKJ.js} +1 -1
- package/dist/client/assets/{tooltip-DixY1Sbc.js → tooltip-D0yN_jPS.js} +1 -1
- package/dist/client/assets/{use-binding-CPqdk4GE.js → use-binding-bdIG4ysm.js} +1 -1
- package/dist/client/assets/{use-collections-S6OVeMx0.js → use-collections-DiH8BH96.js} +1 -1
- package/dist/client/assets/{use-connection-C_QQYkok.js → use-connection-BvgGy_ae.js} +1 -1
- package/dist/client/assets/{use-connection-resources-h_CY6VEc.js → use-connection-resources-CazBLQYp.js} +1 -1
- package/dist/client/assets/{use-create-gateway-eDGGqEOS.js → use-create-gateway-DWTCcW8J.js} +1 -1
- package/dist/client/assets/{use-gateway-DMJjVwlU.js → use-gateway-Blme6XE1.js} +1 -1
- package/dist/client/assets/{use-gateway-system-prompt-CfIIyZId.js → use-gateway-system-prompt-DfRYNjlK.js} +1 -1
- package/dist/client/assets/{use-list-state-Bt6QEhtR.js → use-list-state-C9VeGRXh.js} +1 -1
- package/dist/client/assets/{use-mcp-DuKh-Xf7.js → use-mcp-ByUu9rNa.js} +1 -1
- package/dist/client/assets/{use-members-Hsme2FMs.js → use-members-A4eH5Mug.js} +1 -1
- package/dist/client/assets/{use-mobile-Bh6onNnL.js → use-mobile-DQFSnNx5.js} +1 -1
- package/dist/client/assets/{use-organization-settings-C4u9V1Gg.js → use-organization-settings-CFfwAQvt.js} +1 -1
- package/dist/client/assets/{use-tool-call-BSVniqlJ.js → use-tool-call-q6DaczOv.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-c0A7IUcG.js +1 -0
- package/dist/client/assets/{useMutation-DXyBs08e.js → useMutation-8xrpFP-l.js} +1 -1
- package/dist/client/assets/useQuery-CLJFoOtO.js +1 -0
- package/dist/client/assets/{value-EQeDZr5M.js → value-_3bvT1Yq.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CoxeG-5F.js → view-mode-toggle-C7lGZNG7.js} +1 -1
- package/dist/client/assets/{workflow-CdkAFtfl.js → workflow-DBXd52Rn.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +208 -208
- package/dist/server/migrate.js +186 -186
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/LICENSE +47 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/README.md +82 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.d.ts +11 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs +43 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cjs +45 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cloudflare.cjs +46 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cloudflare.d.ts +11 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.d.ts +11 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs +46 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm +0 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.d.mts +83 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.d.ts +83 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.js +2 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.js.map +1 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs +2 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs.map +1 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.d.mts +20 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.d.ts +20 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js +2 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js.map +1 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs +2 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs.map +1 -0
- package/dist/server/node_modules/@jitl/quickjs-wasmfile-release-sync/package.json +61 -0
- package/dist/server/server.js +202 -202
- package/package.json +1 -1
- package/dist/client/assets/connection-detail-CfQ3feir.js +0 -1
- package/dist/client/assets/constants-rLrKmanL.js +0 -1
- package/dist/client/assets/index-COEG5bG9.js +0 -25
- package/dist/client/assets/mcp-oauth-BQzIgGw8.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BYo7uk8S.js +0 -1
- package/dist/client/assets/useQuery-9rHAo5k0.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{bF as T,bG as P,bH as V,bI as $}from"./index-H8waGLZX.js";function A(n){let e=0;for(let t=0;t<n.length;t++){const o=n.charCodeAt(t);e=(e<<5)-e+o,e=e&e}return Math.abs(e).toString(16)}const U=new Map,I="mcp:oauth:callback:";class L{serverUrl;_clientMetadata;_redirectUrl;_state=null;_codeVerifier=null;_clientInfo=null;_tokens=null;constructor(e){this.serverUrl=e.serverUrl,this._redirectUrl=e.callbackUrl??`${window.location.origin}/oauth/callback`;const t=e.scope?Array.isArray(e.scope)?e.scope.join(" "):e.scope:void 0;this._clientMetadata={redirect_uris:[this._redirectUrl],token_endpoint_auth_method:"none",grant_types:["authorization_code","refresh_token"],response_types:["code"],client_name:e.clientName??"@decocms/mesh MCP client",...t&&{scope:t}},U.set(A(this.serverUrl),this)}get redirectUrl(){return this._redirectUrl}get clientMetadata(){return this._clientMetadata}state(){return this._state||(this._state=crypto.randomUUID()),this._state}getStoredState(){return this._state}clientInformation(){return this._clientInfo??void 0}saveClientInformation(e){this._clientInfo=e}tokens(){return this._tokens??void 0}saveTokens(e){this._tokens=e}redirectToAuthorization(e){const a=window.screenX+(window.outerWidth-600)/2,s=window.screenY+(window.outerHeight-700)/2;window.open(e.toString(),"mcp-oauth",`width=600,height=700,left=${a},top=${s},popup=yes`)}saveCodeVerifier(e){this._codeVerifier=e}codeVerifier(){if(!this._codeVerifier)throw new Error("Code verifier not found");return this._codeVerifier}invalidateCredentials(){this._clientInfo=null,this._tokens=null,this._codeVerifier=null,this._state=null}getServerUrl(){return this.serverUrl}cleanup(){U.delete(A(this.serverUrl))}}async function x(n){const e=new URL(`/mcp/${n.connectionId}`,window.location.origin),t=new L({serverUrl:e.href,clientName:n.clientName,clientUri:n.clientUri,callbackUrl:n.callbackUrl,scope:n.scope});try{const o=new Promise((r,c)=>{const b=n.timeout||12e4;let w,h=!1;const E=t.state(),_=`${I}${E}`,l=()=>{window.removeEventListener("message",m),window.removeEventListener("storage",g),clearTimeout(w);try{localStorage.removeItem(_)}catch{}},k=async i=>{if(h)return;if(h=!0,!i.success){l(),c(new Error(i.error||"OAuth authentication failed"));return}const{code:f,state:C}=i;if(!f){l(),c(new Error("Missing authorization code"));return}if(t.getStoredState()!==C){l(),c(new Error("OAuth state mismatch - possible CSRF attack"));return}try{const S=(await T(e))?.authorization_servers?.[0]||e,y=await P(S),d=t.clientInformation();if(!d){l(),c(new Error("Client information not found"));return}const M=t.codeVerifier(),O=await V(S,{metadata:y,clientInformation:d,authorizationCode:f,codeVerifier:M,redirectUri:t.redirectUrl,resource:new URL(e)});l(),r({tokens:O,clientId:d.client_id??null,clientSecret:"client_secret"in d?d.client_secret:null,tokenEndpoint:y?.token_endpoint??null})}catch(v){l(),c(v)}},m=async i=>{i.origin===window.location.origin&&i.data?.type==="mcp:oauth:callback"&&await k(i.data)},g=async i=>{if(!(i.key!==_||!i.newValue))try{const f=JSON.parse(i.newValue);await k(f)}catch{}};window.addEventListener("message",m),window.addEventListener("storage",g),w=setTimeout(()=>{h||(h=!0,l(),c(new Error("OAuth authentication timeout")))},b)});if(await $(t,{serverUrl:e})==="REDIRECT"){const r=await o;return{token:r.tokens.access_token,tokenInfo:{accessToken:r.tokens.access_token,refreshToken:r.tokens.refresh_token??null,expiresIn:r.tokens.expires_in??null,scope:r.tokens.scope??null,clientId:r.clientId,clientSecret:r.clientSecret,tokenEndpoint:r.tokenEndpoint},error:null}}const s=t.tokens(),u=t.clientInformation();return{token:s?.access_token||null,tokenInfo:s?{accessToken:s.access_token,refreshToken:s.refresh_token??null,expiresIn:s.expires_in??null,scope:s.scope??null,clientId:u?.client_id??null,clientSecret:u&&"client_secret"in u?u.client_secret:null,tokenEndpoint:null}:null,error:null}}catch(o){return{token:null,tokenInfo:null,error:o instanceof Error?o.message:String(o)}}finally{t.cleanup()}}function p(n,e){if(window.opener&&!window.opener.closed)return window.opener.postMessage(n,window.location.origin),!0;if(e)try{const t=`${I}${e}`;return localStorage.setItem(t,JSON.stringify(n)),!0}catch{}return!1}async function N(){const n=new URLSearchParams(window.location.search),e=n.get("code");let t=n.get("state");const o=n.get("error"),a=n.get("error_description");let s=t;if(t)try{const r=atob(t),c=JSON.parse(r);c.clientState&&(s=c.clientState)}catch{}if(o){const r=a||o;return p({type:"mcp:oauth:callback",success:!1,error:r},s),{success:!1,error:r}}if(!e||!t){const r="Missing code or state parameter";return p({type:"mcp:oauth:callback",success:!1,error:r},s),{success:!1,error:r}}return t=s||t,p({type:"mcp:oauth:callback",success:!0,code:e,state:t},t)?{success:!0}:{success:!1,error:"Parent window not available"}}async function H({url:n,token:e}){try{const t=new Headers;t.set("Content-Type","application/json"),t.set("Accept","application/json, text/event-stream");const o=await fetch(n,{method:"POST",headers:t,body:JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"@decocms/mesh MCP client",version:"1.0.0"}}})});if(o.ok)return{isAuthenticated:!0,supportsOAuth:!0};let a;try{const r=await o.json();a=r.error||r.message}catch{}return o.status>=500?{isAuthenticated:!1,supportsOAuth:!1,error:a||`HTTP ${o.status}`,isServerError:!0}:{isAuthenticated:!1,supportsOAuth:!!o.headers.get("WWW-Authenticate"),error:a||`HTTP ${o.status}`}}catch(t){return console.error("[isConnectionAuthenticated] Error:",t),{isAuthenticated:!1,supportsOAuth:!1,error:t.message}}}export{x as a,N as h,H as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-CorNdPTl.js";import{U as i}from"./index-H8waGLZX.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as u,b4 as s}from"./index-H8waGLZX.js";function o(e,r){return u(e,s,r)}export{o as u};
|