@mcpjam/inspector 3.27.1 → 3.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{CaniuseCapabilityPage-CrC-cTZL.js → CaniuseCapabilityPage-BGCx_CV1.js} +4 -4
- package/dist/client/assets/{CaniuseLoadingScreen-DFga82Px.js → CaniuseLoadingScreen-CnLJTk-6.js} +2 -2
- package/dist/client/assets/{PosthogUtils-C6QzDx66.js → PosthogUtils-BnkWsJl1.js} +1 -1
- package/dist/client/assets/{PosthogUtils-BAwbC5iX.js → PosthogUtils-CreNC30F.js} +2 -2
- package/dist/client/assets/{access-link-BJMsYDmK.js → access-link-CiqZlBT_.js} +2 -2
- package/dist/client/assets/{app-bootstrap-DzzSTL6f.js → app-bootstrap-Dihy9pBm.js} +259 -259
- package/dist/client/assets/{app-navigation-CTBnrg26.js → app-navigation-BzZWduTQ.js} +2 -2
- package/dist/client/assets/{bundle-mjs-BGe1waGK.js → bundle-mjs-C4gHyVze.js} +2 -2
- package/dist/client/assets/{caniuse-bootstrap-C-sKeXoq.js → caniuse-bootstrap-DClGA--s.js} +3 -3
- package/dist/client/assets/{chunk-D32TOXHM-C-gMffNp.js → chunk-D32TOXHM-BM6p8aoA.js} +5 -5
- package/dist/client/assets/{dead-clicks-autocapture-Bf2yz9Zr.js → dead-clicks-autocapture-DMIvXYDI.js} +2 -2
- package/dist/client/assets/{error-reporting-DmYc69Ih.js → error-reporting-BufzMdax.js} +1 -1
- package/dist/client/assets/{error-reporting-C7685g3J.js → error-reporting-C3V1rL02.js} +2 -2
- package/dist/client/assets/{exception-autocapture-C6yGegF5.js → exception-autocapture-D42Ql1CZ.js} +2 -2
- package/dist/client/assets/{feature-flags-Cbn8gAeC.js → feature-flags-9Kzm95Iy.js} +2 -2
- package/dist/client/assets/{first-run-oauth-return-CFW2tqzu.js → first-run-oauth-return-DBF8M446.js} +2 -2
- package/dist/client/assets/{highlighted-body-KQOG7T2V-BufAIVu0.js → highlighted-body-KQOG7T2V-BDDk3j-o.js} +2 -2
- package/dist/client/assets/{index-CCQWRMU8.js → index-CB2B0gyI.js} +3 -3
- package/dist/client/assets/{jszip.min-C6ASC0Lj.js → jszip.min-D0H-wysy.js} +2 -2
- package/dist/client/assets/{mcp-init-BWmQoGiF.js → mcp-init-D384t3us.js} +3 -3
- package/dist/client/assets/{mermaid-MCJ5UELQ-84PBltPS.js → mermaid-MCJ5UELQ-DXZIWzsB.js} +1 -1
- package/dist/client/assets/{module-BA6blRdw.js → module-BHBrpZ4U.js} +2 -2
- package/dist/client/assets/{module-DovF9UUB.js → module-CmXaunIz.js} +1 -1
- package/dist/client/assets/posthog-bundled-extensions-CrY82kI1.js +3 -0
- package/dist/client/assets/{posthog-bundled-extensions-_dhL7VQK.js → posthog-bundled-extensions-DUscOFM-.js} +1 -1
- package/dist/client/assets/{posthog-recorder-BIqCIRJB.js → posthog-recorder-PnXQoK1P.js} +2 -2
- package/dist/client/assets/{preload-helper-CQSqs-Ur.js → preload-helper-Dk-R02bM.js} +1 -1
- package/dist/client/assets/{project-route-B8ycjI6Q.js → project-route-CwOywjoT.js} +2 -2
- package/dist/client/assets/{react-dom-DXowvrFG.js → react-dom-s4nupq_N.js} +2 -2
- package/dist/client/assets/{rolldown-runtime-BlpueFg6.js → rolldown-runtime-Df2-koJ7.js} +1 -1
- package/dist/client/assets/{server-feature-flags-CFqtsG2I.js → server-feature-flags-ByZjY7fi.js} +2 -2
- package/dist/client/assets/{server-feature-flags-yy8cq8x7.js → server-feature-flags-CqB4sk67.js} +1 -1
- package/dist/client/assets/{session-revoked-BJat-_na.js → session-revoked-B_iZLaTD.js} +2 -2
- package/dist/client/assets/{surveys-DSRAF-TV.js → surveys-B4xlE-Cz.js} +2 -2
- package/dist/client/assets/telemetry-files-620cc3a6060f3829.js +1 -0
- package/dist/client/assets/{trace-timeline-BdQMiVa6.js → trace-timeline-BEzP_FzL.js} +1 -1
- package/dist/client/assets/{trace-timeline-CLTmhMpA.js → trace-timeline-BWWuYM0j.js} +2 -2
- package/dist/client/assets/{web-vitals-BGMXZEXu.js → web-vitals-jdhe8VpD.js} +2 -2
- package/dist/client/index.html +12 -12
- package/dist/server/index.js +2 -2
- package/package.json +2 -2
- package/dist/client/assets/posthog-bundled-extensions-Cs4q3GVP.js +0 -3
- package/dist/client/assets/telemetry-files-58cade72c6da8102.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as Ie,o as Va,r as Ha}from"./rolldown-runtime-BlpueFg6.js";import{a as br,c as Nt,n as De,o as Ba,p as vr}from"./project-route-B8ycjI6Q.js";import{n as $a}from"./react-dom-DXowvrFG.js";import{n as xr,r as Wa,t as Ga}from"./bundle-mjs-BGe1waGK.js";import{$ as k,B as Ya,C as Ka,E as Ja,J as q,K as Za,L as Qa,Ot as Xa,Q as yr,R as ie,U as en,X as tn,Z as jt,_ as on,_t as i,a as rn,at as Xt,b as sn,bt as D,ct as K,dt as p,ft as F,ht as _,lt as Lo,mt as eo,nt as an,rt as wr,st as u,t as nn,tt as y,ut as S,yt as M,z as le}from"./mcp-init-BWmQoGiF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.1"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0a3f396e-67b7-487b-9c30-3050dd5d8512",e._sentryDebugIdIdentifier="sentry-dbid-0a3f396e-67b7-487b-9c30-3050dd5d8512")}catch{}})();var v=Va($a(),1);function B(...e){return Ga(xr(e))}var ln=Object.defineProperty,to=(e,t)=>ln(e,"name",{value:t,configurable:!0});function qt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}to(qt,"setRef");function kr(...e){return t=>{let o=!1;const r=e.map(s=>{const a=qt(s,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let s=0;s<r.length;s++){const a=r[s];typeof a=="function"?a():qt(e[s],null)}}}}to(kr,"composeRefs");function Cr(...e){return v.useCallback(kr(...e),e)}to(Cr,"useComposedRefs");var cn=Object.defineProperty,se=(e,t)=>cn(e,"name",{value:t,configurable:!0});function Sr(e){const t=v.forwardRef((o,r)=>{let{children:s,...a}=o,n=null,l=!1;const h=[];Vt(s)&&typeof pt=="function"&&(s=pt(s._payload)),v.Children.forEach(s,g=>{if(Ar(g)){l=!0;const b=g;let x="child"in b.props?b.props.child:b.props.children;Vt(x)&&typeof pt=="function"&&(x=pt(x._payload)),n=un(b,x),h.push(n?.props?.children)}else h.push(g)}),n?n=v.cloneElement(n,void 0,h):!l&&v.Children.count(s)===1&&v.isValidElement(s)&&(n=s);const d=n?Ir(n):void 0,f=Cr(r,d);if(!n){if(s||s===0)throw new Error(l?mn(e):hn(e));return s}const c=Tr(a,n.props??{});return n.type!==v.Fragment&&(c.ref=r?f:d),v.cloneElement(n,c)});return t.displayName=`${e}.Slot`,t}se(Sr,"createSlot");var dn=Sr("Slot"),_r=Symbol.for("radix.slottable");function pn(e){const t=se(o=>"child"in o?o.children(o.child):o.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=_r,t}se(pn,"createSlottable");var un=se((e,t)=>{if("child"in e.props){const o=e.props.child;return v.isValidElement(o)?v.cloneElement(o,void 0,e.props.children(o.props.children)):null}return v.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function Tr(e,t){const o={...t};for(const r in t){const s=e[r],a=t[r];/^on[A-Z]/.test(r)?s&&a?o[r]=(...n)=>{const l=a(...n);return s(...n),l}:s&&(o[r]=s):r==="style"?o[r]={...s,...a}:r==="className"&&(o[r]=[s,a].filter(Boolean).join(" "))}return{...e,...o}}se(Tr,"mergeProps");function Ir(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}se(Ir,"getElementRef");function Ar(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===_r}se(Ar,"isSlottable");var gn=Symbol.for("react.lazy");function Vt(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===gn&&"_payload"in e&&Rr(e._payload)}se(Vt,"isLazyComponent");function Rr(e){return typeof e=="object"&&e!==null&&"then"in e}se(Rr,"isPromiseLike");var hn=se(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),mn=se(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),pt=v[" use ".trim().toString()],Uo=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,zo=xr,fn=(e,t)=>o=>{var r;if(t?.variants==null)return zo(e,o?.class,o?.className);const{variants:s,defaultVariants:a}=t,n=Object.keys(s).map(d=>{const f=o?.[d],c=a?.[d];if(f===null)return null;const g=Uo(f)||Uo(c);return s[d][g]}),l=o&&Object.entries(o).reduce((d,f)=>{let[c,g]=f;return g===void 0||(d[c]=g),d},{}),h=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,f)=>{let{class:c,className:g,...b}=f;return Object.entries(b).every(x=>{let[T,C]=x;return Array.isArray(C)?C.includes({...a,...l}[T]):{...a,...l}[T]===C})?[...d,c,g]:d},[]);return zo(e,n,h,o?.class,o?.className)},m=Wa(),bn=fn("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",contrast:"border border-card-foreground bg-card-foreground text-card shadow-none hover:bg-foreground focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-card-foreground",destructive:"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-chrome-control text-foreground border border-chrome-control-border shadow-xs hover:bg-chrome-control-hover",chrome:"bg-chrome-button text-foreground border border-chrome-control-border shadow-xs hover:bg-chrome-button-hover",ghost:"hover:bg-chrome-hover hover:text-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 text-sm has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 text-xs has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 text-base has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function b1({className:e,variant:t,size:o,asChild:r=!1,...s}){const a=r?dn:"button";return(0,m.jsx)(a,{"data-slot":"button",className:B(bn({variant:t,size:o,className:e})),...s})}var vn=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function xn(e,t,o=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:vn(e),size:24,node:t,...o.length>0?{aliases:o}:{}}}var yn=e=>{let t="",o=!1;for(const r of e){if(r==="-"||r==="_"||r<=" "){o=t.length>0;continue}t.length===0?t+=r.toLowerCase():t+=o?r.toUpperCase():r,o=!1}return t},wn=e=>{const t=yn(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ht=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),be={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Lt(e){return e!=null}function kn(e,t={}){const o=t.attributeNames??{},r=c=>o[c]??c,s=e.size??e.width??be.width,a=e.size??e.height??be.height,n=e.aliases?.filter(c=>typeof c=="string"&&c.trim()!=="").map(c=>`lucide-${c}`)??[],l=[...e.name?[`lucide-${e.name}`]:[],...n],h=t.className?.split(" ").filter(Boolean)??[],d=t.includeDefaultClasses===!1?Ht(...h):Ht("lucide",...l,...h),f=t.absoluteStrokeWidth?Number(t.strokeWidth??be["stroke-width"])*Number(e.size??e.width??be.width)/Number(t.size??t.width??be.width):t.strokeWidth??be["stroke-width"];return["svg",{...Object.entries(be).reduce((c,[g,b])=>(c[r(g)]=b,c),{}),..."color"in t&&t.color&&{[r("stroke")]:t.color},..."size"in t&&Lt(t.size)&&{[r("width")]:t.size,[r("height")]:t.size},..."width"in t&&Lt(t.width)&&{[r("width")]:t.width},..."height"in t&&Lt(t.height)&&{[r("height")]:t.height},[r("stroke-width")]:f,...d&&{[r("class")]:d},[r("viewBox")]:`0 0 ${s} ${a}`,...t.hasA11yProp===!1?{[r("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(c=>{const[g,b,x]=c,T=t.nonScalingStroke?{[r("vector-effect")]:"non-scaling-stroke",...b}:b;return x?[g,T,x]:[g,T]})]}function Cn(e,t={}){return kn(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var Sn=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},_n=(0,v.createContext)({}),Tn=()=>(0,v.useContext)(_n),In=(0,v.forwardRef)(({color:e,size:t,width:o,height:r,strokeWidth:s,absoluteStrokeWidth:a,nonScalingStroke:n,className:l="",children:h,iconNode:d=[],icon:f={node:d,aliases:[],size:24},...c},g)=>{const{size:b=24,strokeWidth:x=2,absoluteStrokeWidth:T=!1,nonScalingStroke:C=!1,color:w="currentColor",className:A=""}=Tn()??{},j=!!h||Sn(c),[V,ne,Y=[]]=Cn(f,{color:e??w,width:o??t??b,height:r??t??b,strokeWidth:s??x,absoluteStrokeWidth:a??T,nonScalingStroke:n??C,className:Ht(A,l),hasA11yProp:j,attributes:c});return(0,v.createElement)(V,{ref:g,...ne},[...Y.map(([J,P])=>(0,v.createElement)(J,P)),...Array.isArray(h)?h:[h]])});function Mr(e,t=[],o=[]){const r=typeof e=="string"?xn(e,t,o):e,s=(0,v.forwardRef)(({className:a,...n},l)=>(0,v.createElement)(In,{ref:l,icon:r,className:a,...n}));return r.name&&(s.displayName=wn(r.name)),s}var Pr={name:"circle",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]};Pr.node;var v1=Mr(Pr),Er={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};Er.node;var x1=Mr(Er),Dr="/claude_logo.png",Lr="/claude-desktop-logo.png",An="/claude_code_logo.png",Ur="/openai_logo.png",Rn="/mistral_logo.png",Mn="/goose_logo_dark.png",Oo="/goose_logo_light.png",zr="/cursor_logo.png",Pn="/copilot_logo.png",En="/github_copilot_logo_dark.png",Fo="/github_copilot_logo_light.png",Or="/codex-logo.svg",Dn="/vscode_logo.svg",Ln="/bedrock_logo.svg",Un="/n8n_logo.svg",zn="/perplexity_logo.svg",On="/cline_logo_dark.svg",No="/cline_logo_light.svg",Fn="/notion_logo.png",Nn="/slack_logo.png",jn="/mcp_jam.svg",qn="/google_logo.png",Vn=Object.defineProperty,Fr=e=>{throw TypeError(e)},Hn=(e,t,o)=>t in e?Vn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ae=(e,t,o)=>Hn(e,typeof t!="symbol"?t+"":t,o),oo=(e,t,o)=>t.has(e)||Fr("Cannot "+o),O=(e,t,o)=>(oo(e,t,"read from private field"),o?o.call(e):t.get(e)),re=(e,t,o)=>t.has(e)?Fr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Bt=(e,t,o,r)=>(oo(e,t,"write to private field"),r?r.call(e,o):t.set(e,o),o),H=(e,t,o)=>(oo(e,t,"access private method"),o),jo={PREFERRED_FRAME_SIZE:"preferred-frame-size",INITIAL_RENDER_DATA:"initial-render-data"},Bn="mcpui.dev/ui-";function $n(e){let t;try{t=new URL(e)}catch(o){return console.error("Error parsing URL:",o),!1}return t.protocol==="http:"||t.protocol==="https:"}function Wn(e,t){if(e.mimeType!=="text/html"&&e.mimeType!=="text/uri-list")return{error:"Resource must be of type text/html (for HTML content) or text/uri-list (for URL content)."};if(e.mimeType==="text/uri-list"){let o="";if("text"in e&&typeof e.text=="string"&&e.text.trim()!=="")o=e.text;else if("blob"in e&&typeof e.blob=="string")try{o=new TextDecoder().decode(Uint8Array.from(atob(e.blob),a=>a.charCodeAt(0)))}catch(a){return console.error("Error decoding base64 blob for URL content:",a),{error:"Error decoding URL from blob."}}else return{error:"URL resource expects a non-empty text or blob field containing the URL."};if(o.trim()==="")return{error:"URL content is empty."};const r=o.split(`
|
|
1
|
+
import{i as Ie,o as Va,r as Ha}from"./rolldown-runtime-Df2-koJ7.js";import{a as br,c as Nt,n as De,o as Ba,p as vr}from"./project-route-CwOywjoT.js";import{n as $a}from"./react-dom-s4nupq_N.js";import{n as xr,r as Wa,t as Ga}from"./bundle-mjs-C4gHyVze.js";import{$ as k,B as Ya,C as Ka,E as Ja,J as q,K as Za,L as Qa,Ot as Xa,Q as yr,R as ie,U as en,X as tn,Z as jt,_ as on,_t as i,a as rn,at as Xt,b as sn,bt as D,ct as K,dt as p,ft as F,ht as _,lt as Lo,mt as eo,nt as an,rt as wr,st as u,t as nn,tt as y,ut as S,yt as M,z as le}from"./mcp-init-D384t3us.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3.27.2"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0a3f396e-67b7-487b-9c30-3050dd5d8512",e._sentryDebugIdIdentifier="sentry-dbid-0a3f396e-67b7-487b-9c30-3050dd5d8512")}catch{}})();var v=Va($a(),1);function B(...e){return Ga(xr(e))}var ln=Object.defineProperty,to=(e,t)=>ln(e,"name",{value:t,configurable:!0});function qt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}to(qt,"setRef");function kr(...e){return t=>{let o=!1;const r=e.map(s=>{const a=qt(s,t);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let s=0;s<r.length;s++){const a=r[s];typeof a=="function"?a():qt(e[s],null)}}}}to(kr,"composeRefs");function Cr(...e){return v.useCallback(kr(...e),e)}to(Cr,"useComposedRefs");var cn=Object.defineProperty,se=(e,t)=>cn(e,"name",{value:t,configurable:!0});function Sr(e){const t=v.forwardRef((o,r)=>{let{children:s,...a}=o,n=null,l=!1;const h=[];Vt(s)&&typeof pt=="function"&&(s=pt(s._payload)),v.Children.forEach(s,g=>{if(Ar(g)){l=!0;const b=g;let x="child"in b.props?b.props.child:b.props.children;Vt(x)&&typeof pt=="function"&&(x=pt(x._payload)),n=un(b,x),h.push(n?.props?.children)}else h.push(g)}),n?n=v.cloneElement(n,void 0,h):!l&&v.Children.count(s)===1&&v.isValidElement(s)&&(n=s);const d=n?Ir(n):void 0,f=Cr(r,d);if(!n){if(s||s===0)throw new Error(l?mn(e):hn(e));return s}const c=Tr(a,n.props??{});return n.type!==v.Fragment&&(c.ref=r?f:d),v.cloneElement(n,c)});return t.displayName=`${e}.Slot`,t}se(Sr,"createSlot");var dn=Sr("Slot"),_r=Symbol.for("radix.slottable");function pn(e){const t=se(o=>"child"in o?o.children(o.child):o.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=_r,t}se(pn,"createSlottable");var un=se((e,t)=>{if("child"in e.props){const o=e.props.child;return v.isValidElement(o)?v.cloneElement(o,void 0,e.props.children(o.props.children)):null}return v.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function Tr(e,t){const o={...t};for(const r in t){const s=e[r],a=t[r];/^on[A-Z]/.test(r)?s&&a?o[r]=(...n)=>{const l=a(...n);return s(...n),l}:s&&(o[r]=s):r==="style"?o[r]={...s,...a}:r==="className"&&(o[r]=[s,a].filter(Boolean).join(" "))}return{...e,...o}}se(Tr,"mergeProps");function Ir(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}se(Ir,"getElementRef");function Ar(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===_r}se(Ar,"isSlottable");var gn=Symbol.for("react.lazy");function Vt(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===gn&&"_payload"in e&&Rr(e._payload)}se(Vt,"isLazyComponent");function Rr(e){return typeof e=="object"&&e!==null&&"then"in e}se(Rr,"isPromiseLike");var hn=se(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),mn=se(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),pt=v[" use ".trim().toString()],Uo=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,zo=xr,fn=(e,t)=>o=>{var r;if(t?.variants==null)return zo(e,o?.class,o?.className);const{variants:s,defaultVariants:a}=t,n=Object.keys(s).map(d=>{const f=o?.[d],c=a?.[d];if(f===null)return null;const g=Uo(f)||Uo(c);return s[d][g]}),l=o&&Object.entries(o).reduce((d,f)=>{let[c,g]=f;return g===void 0||(d[c]=g),d},{}),h=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,f)=>{let{class:c,className:g,...b}=f;return Object.entries(b).every(x=>{let[T,C]=x;return Array.isArray(C)?C.includes({...a,...l}[T]):{...a,...l}[T]===C})?[...d,c,g]:d},[]);return zo(e,n,h,o?.class,o?.className)},m=Wa(),bn=fn("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",contrast:"border border-card-foreground bg-card-foreground text-card shadow-none hover:bg-foreground focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-card-foreground",destructive:"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-chrome-control text-foreground border border-chrome-control-border shadow-xs hover:bg-chrome-control-hover",chrome:"bg-chrome-button text-foreground border border-chrome-control-border shadow-xs hover:bg-chrome-button-hover",ghost:"hover:bg-chrome-hover hover:text-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 text-sm has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 text-xs has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 text-base has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function b1({className:e,variant:t,size:o,asChild:r=!1,...s}){const a=r?dn:"button";return(0,m.jsx)(a,{"data-slot":"button",className:B(bn({variant:t,size:o,className:e})),...s})}var vn=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function xn(e,t,o=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:vn(e),size:24,node:t,...o.length>0?{aliases:o}:{}}}var yn=e=>{let t="",o=!1;for(const r of e){if(r==="-"||r==="_"||r<=" "){o=t.length>0;continue}t.length===0?t+=r.toLowerCase():t+=o?r.toUpperCase():r,o=!1}return t},wn=e=>{const t=yn(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ht=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),be={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Lt(e){return e!=null}function kn(e,t={}){const o=t.attributeNames??{},r=c=>o[c]??c,s=e.size??e.width??be.width,a=e.size??e.height??be.height,n=e.aliases?.filter(c=>typeof c=="string"&&c.trim()!=="").map(c=>`lucide-${c}`)??[],l=[...e.name?[`lucide-${e.name}`]:[],...n],h=t.className?.split(" ").filter(Boolean)??[],d=t.includeDefaultClasses===!1?Ht(...h):Ht("lucide",...l,...h),f=t.absoluteStrokeWidth?Number(t.strokeWidth??be["stroke-width"])*Number(e.size??e.width??be.width)/Number(t.size??t.width??be.width):t.strokeWidth??be["stroke-width"];return["svg",{...Object.entries(be).reduce((c,[g,b])=>(c[r(g)]=b,c),{}),..."color"in t&&t.color&&{[r("stroke")]:t.color},..."size"in t&&Lt(t.size)&&{[r("width")]:t.size,[r("height")]:t.size},..."width"in t&&Lt(t.width)&&{[r("width")]:t.width},..."height"in t&&Lt(t.height)&&{[r("height")]:t.height},[r("stroke-width")]:f,...d&&{[r("class")]:d},[r("viewBox")]:`0 0 ${s} ${a}`,...t.hasA11yProp===!1?{[r("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(c=>{const[g,b,x]=c,T=t.nonScalingStroke?{[r("vector-effect")]:"non-scaling-stroke",...b}:b;return x?[g,T,x]:[g,T]})]}function Cn(e,t={}){return kn(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var Sn=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},_n=(0,v.createContext)({}),Tn=()=>(0,v.useContext)(_n),In=(0,v.forwardRef)(({color:e,size:t,width:o,height:r,strokeWidth:s,absoluteStrokeWidth:a,nonScalingStroke:n,className:l="",children:h,iconNode:d=[],icon:f={node:d,aliases:[],size:24},...c},g)=>{const{size:b=24,strokeWidth:x=2,absoluteStrokeWidth:T=!1,nonScalingStroke:C=!1,color:w="currentColor",className:A=""}=Tn()??{},j=!!h||Sn(c),[V,ne,Y=[]]=Cn(f,{color:e??w,width:o??t??b,height:r??t??b,strokeWidth:s??x,absoluteStrokeWidth:a??T,nonScalingStroke:n??C,className:Ht(A,l),hasA11yProp:j,attributes:c});return(0,v.createElement)(V,{ref:g,...ne},[...Y.map(([J,P])=>(0,v.createElement)(J,P)),...Array.isArray(h)?h:[h]])});function Mr(e,t=[],o=[]){const r=typeof e=="string"?xn(e,t,o):e,s=(0,v.forwardRef)(({className:a,...n},l)=>(0,v.createElement)(In,{ref:l,icon:r,className:a,...n}));return r.name&&(s.displayName=wn(r.name)),s}var Pr={name:"circle",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]};Pr.node;var v1=Mr(Pr),Er={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};Er.node;var x1=Mr(Er),Dr="/claude_logo.png",Lr="/claude-desktop-logo.png",An="/claude_code_logo.png",Ur="/openai_logo.png",Rn="/mistral_logo.png",Mn="/goose_logo_dark.png",Oo="/goose_logo_light.png",zr="/cursor_logo.png",Pn="/copilot_logo.png",En="/github_copilot_logo_dark.png",Fo="/github_copilot_logo_light.png",Or="/codex-logo.svg",Dn="/vscode_logo.svg",Ln="/bedrock_logo.svg",Un="/n8n_logo.svg",zn="/perplexity_logo.svg",On="/cline_logo_dark.svg",No="/cline_logo_light.svg",Fn="/notion_logo.png",Nn="/slack_logo.png",jn="/mcp_jam.svg",qn="/google_logo.png",Vn=Object.defineProperty,Fr=e=>{throw TypeError(e)},Hn=(e,t,o)=>t in e?Vn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ae=(e,t,o)=>Hn(e,typeof t!="symbol"?t+"":t,o),oo=(e,t,o)=>t.has(e)||Fr("Cannot "+o),O=(e,t,o)=>(oo(e,t,"read from private field"),o?o.call(e):t.get(e)),re=(e,t,o)=>t.has(e)?Fr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Bt=(e,t,o,r)=>(oo(e,t,"write to private field"),r?r.call(e,o):t.set(e,o),o),H=(e,t,o)=>(oo(e,t,"access private method"),o),jo={PREFERRED_FRAME_SIZE:"preferred-frame-size",INITIAL_RENDER_DATA:"initial-render-data"},Bn="mcpui.dev/ui-";function $n(e){let t;try{t=new URL(e)}catch(o){return console.error("Error parsing URL:",o),!1}return t.protocol==="http:"||t.protocol==="https:"}function Wn(e,t){if(e.mimeType!=="text/html"&&e.mimeType!=="text/uri-list")return{error:"Resource must be of type text/html (for HTML content) or text/uri-list (for URL content)."};if(e.mimeType==="text/uri-list"){let o="";if("text"in e&&typeof e.text=="string"&&e.text.trim()!=="")o=e.text;else if("blob"in e&&typeof e.blob=="string")try{o=new TextDecoder().decode(Uint8Array.from(atob(e.blob),a=>a.charCodeAt(0)))}catch(a){return console.error("Error decoding base64 blob for URL content:",a),{error:"Error decoding URL from blob."}}else return{error:"URL resource expects a non-empty text or blob field containing the URL."};if(o.trim()==="")return{error:"URL content is empty."};const r=o.split(`
|
|
2
2
|
`).map(a=>a.trim()).filter(a=>a&&!a.startsWith("#")&&$n(a));if(r.length===0)return{error:"No valid URLs found in uri-list content."};r.length>1&&console.warn(`Multiple URLs found in uri-list content. Using the first URL: "${r[0]}". Other URLs ignored:`,r.slice(1));const s=r[0];if(t&&t.trim()!=="")try{const a=new URL(t);if(typeof window<"u"&&a.host===window.location.host)console.error("For security, the proxy origin must not be the same as the host origin. Using original URL instead.");else return a.searchParams.set("url",s),{iframeSrc:a.toString(),iframeRenderMode:"src"}}catch(a){console.error(`Invalid proxy URL provided: "${t}". Falling back to direct URL.`,a instanceof Error?a.message:String(a))}return{iframeSrc:s,iframeRenderMode:"src"}}else if(e.mimeType==="text/html"){let o="";if("text"in e&&typeof e.text=="string")o=e.text;else if("blob"in e&&typeof e.blob=="string")try{o=new TextDecoder().decode(Uint8Array.from(atob(e.blob),r=>r.charCodeAt(0)))}catch(r){return console.error("Error decoding base64 blob for HTML content:",r),{error:"Error decoding HTML content from blob."}}else return{error:"HTML resource requires text or blob content."};if(t&&t.trim()!=="")try{const r=new URL(t);if(typeof window<"u"&&r.host===window.location.host)console.error("For security, the proxy origin must not be the same as the host origin. Using srcDoc rendering instead.");else return r.searchParams.set("contentType","rawhtml"),{iframeSrc:r.toString(),iframeRenderMode:"src",htmlString:o}}catch(r){console.error(`Invalid proxy URL provided: "${t}". Falling back to srcDoc rendering.`,r instanceof Error?r.message:String(r))}return{htmlString:o,iframeRenderMode:"srcDoc"}}else return{error:"Unsupported mimeType. Expected text/html or text/uri-list."}}function Gn(e){if("text"in e&&typeof e.text=="string"&&e.text.trim()!=="")return{code:e.text};if("blob"in e&&typeof e.blob=="string")try{return{code:new TextDecoder().decode(Uint8Array.from(atob(e.blob),t=>t.charCodeAt(0)))}}catch(t){return console.error("Error decoding base64 blob for remote DOM content:",t),{error:"Error decoding remote DOM content from blob."}}return{error:"Remote DOM resource requires non-empty text or blob content."}}function Yn(e){return e._meta??{}}function Kn(e){const t=Yn(e),o={};return Object.entries(t).forEach(([r,s])=>{r.startsWith(Bn)&&(o[r.slice(13)]=s)}),o}var oe={UI_MESSAGE_RECEIVED:"ui-message-received",UI_MESSAGE_RESPONSE:"ui-message-response",UI_SIZE_CHANGE:"ui-size-change",UI_LIFECYCLE_IFRAME_READY:"ui-lifecycle-iframe-ready",UI_LIFECYCLE_IFRAME_RENDER_DATA:"ui-lifecycle-iframe-render-data",UI_REQUEST_RENDER_DATA:"ui-request-render-data",UI_PROXY_IFRAME_READY:"ui-proxy-iframe-ready",UI_HTML_CONTENT:"ui-html-content"},Jn={WAIT_FOR_RENDER_DATA:"waitForRenderData"},Nr=({resource:e,onUIAction:t,style:o,proxy:r,iframeRenderData:s,autoResizeIframe:a,sandboxPermissions:n,iframeProps:l})=>{const h=(0,v.useRef)(null);(0,v.useImperativeHandle)(l?.ref,()=>h.current);const{error:d,iframeSrc:f,iframeRenderMode:c,htmlString:g}=(0,v.useMemo)(()=>Wn(e,r),[e,r]),b=(0,v.useMemo)(()=>Kn(e),[e]),x=b[jo.PREFERRED_FRAME_SIZE]??["100%","100%"],T=b[jo.INITIAL_RENDER_DATA]??void 0,C=(0,v.useMemo)(()=>{if(!(!s&&!T))return{...T,...s}},[s,T]),w=(0,v.useMemo)(()=>{if(f&&C){const V=new URL(f);return V.searchParams.set(Jn.WAIT_FOR_RENDER_DATA,"true"),V.toString()}return f},[f,C]),A=(0,v.useCallback)(V=>{var ne;if(C){const Y=V.currentTarget.contentWindow,J=w?new URL(w).origin:"*";ve(oe.UI_LIFECYCLE_IFRAME_RENDER_DATA,Y,J,void 0,{renderData:C})}(ne=l?.onLoad)==null||ne.call(l,V)},[C,w,l?.onLoad]),j=(0,v.useMemo)(()=>c==="srcDoc"?qo(n??"","allow-scripts"):qo(n??"","allow-scripts allow-same-origin"),[n,c]);return(0,v.useEffect)(()=>{async function V(ne){const{source:Y,origin:J,data:P}=ne;if(h.current&&Y===h.current.contentWindow){if(P?.type===oe.UI_PROXY_IFRAME_READY){c==="src"&&g&&w!=null&&w.includes("contentType=rawhtml")&&ve(oe.UI_HTML_CONTENT,Y,J,void 0,{html:g});return}if(P?.type===oe.UI_LIFECYCLE_IFRAME_READY){C&&ve(oe.UI_LIFECYCLE_IFRAME_RENDER_DATA,Y,J,void 0,{renderData:C});return}if(P?.type===oe.UI_REQUEST_RENDER_DATA){ve(oe.UI_LIFECYCLE_IFRAME_RENDER_DATA,Y,J,P.messageId,{renderData:C});return}if(P?.type===oe.UI_SIZE_CHANGE){const{width:Te,height:fe}=P.payload;if(a&&h.current){const ja=(typeof a=="boolean"||a.height)&&fe,qa=(typeof a=="boolean"||a.width)&&Te;ja&&(h.current.style.height=`${fe}px`),qa&&(h.current.style.width=`${Te}px`)}return}const pe=P;if(!pe)return;if(t){const Te=pe.messageId;ve(oe.UI_MESSAGE_RECEIVED,Y,J,Te);try{const fe=await t(pe);ve(oe.UI_MESSAGE_RESPONSE,Y,J,Te,{response:fe})}catch(fe){console.error("Error handling UI action result in HTMLResourceRenderer:",fe),ve(oe.UI_MESSAGE_RESPONSE,Y,J,Te,{error:fe})}}}}return window.addEventListener("message",V),()=>window.removeEventListener("message",V)},[t,C,c,g,w]),d?(0,m.jsx)("p",{className:"text-red-500",children:d}):c==="srcDoc"?g==null?d?null:(0,m.jsx)("p",{className:"text-orange-500",children:"No HTML content to display."}):(0,m.jsx)("iframe",{srcDoc:g,sandbox:j,style:{width:x[0],height:x[1],...o},title:"MCP HTML Resource (Embedded Content)",...l,ref:h,onLoad:A}):c==="src"?w==null?d?null:(0,m.jsx)("p",{className:"text-orange-500",children:"No URL provided for HTML resource."}):(0,m.jsx)("iframe",{src:w,sandbox:j,style:{width:x[0],height:x[1],...o},title:"MCP HTML Resource (URL)",...l,ref:h,onLoad:A}):(0,m.jsx)("p",{className:"text-gray-500",children:"Initializing HTML resource display..."})};Nr.displayName="HTMLResourceRenderer";function ve(e,t,o,r,s){const a=o&&o!=="null"?o:"*";t?.postMessage({type:e,messageId:r??void 0,payload:s},a)}function qo(e,t){return[...new Set([...e.split(" "),...t.split(" ")])].filter(Boolean).map(o=>o.trim()).join(" ")}var jr=1,qr=3,Vr=8,Zn=9,Qn=0,Xn=1,ei=2,ti=3,$e=1,ro=2,so=3,je="~";function Hr({call:e,insertChild:t,removeChild:o,updateText:r,updateProperty:s}){const a={[Qn]:t,[Xn]:o,[ei]:r,[ti]:s};return{call:e,mutate(n){for(const[l,...h]of n)a[l](...h)}}}var oi=class{constructor({retain:e,release:t,methods:o}={}){Ae(this,"root",{id:je,type:Zn,children:[],version:0,properties:{},attributes:{},eventListeners:{}}),Ae(this,"attached",new Map([[je,this.root]])),Ae(this,"subscribers",new Map),Ae(this,"parents",new Map),Ae(this,"implementations",new Map);const{attached:r,parents:s,subscribers:a}=this;this.connection=Hr({call:(d,f,...c)=>{const g=this.implementations.get(d),b=g?.[f];if(typeof b!="function")throw new Error(`Node ${d} does not implement the ${f}() method`);return b(...c)},insertChild:(d,f,c)=>{const g=r.get(d),{children:b}=g,x=l(f,g);c===b.length?b.push(x):b.splice(c,0,x),g.version+=1,this.parents.set(f.id,g.id),n(g)},removeChild:(d,f)=>{const c=r.get(d),{children:g}=c,[b]=g.splice(f,1);b&&(c.version+=1,n(c),h(b))},updateProperty:(d,f,c,g=$e)=>{const b=r.get(d);e?.(c);let x;switch(g){case $e:x=b.properties;break;case ro:x=b.attributes;break;case so:x=b.eventListeners}const T=x[f];x[f]=c,b.version+=1;let C;if(f==="slot"){const w=this.parents.get(d);C=w==null?w:r.get(w),C&&(C.version+=1)}n(b),C&&n(C),t?.(T)},updateText:(d,f)=>{const c=r.get(d);c.data=f,c.version+=1,n(c)}}),o&&this.implement(this.root,o);function n(d){const f=a.get(d.id);if(f)for(const c of f)c(d)}function l(d,f){let c;switch(d.type){case qr:case Vr:{const{id:g,type:b,data:x}=d;c={id:g,type:b,data:x,version:0};break}case jr:{const{id:g,type:b,element:x,children:T,properties:C,attributes:w,eventListeners:A}=d;e?.(C),e?.(A);const j=[];c={id:g,type:b,element:x,version:0,children:j,properties:{...C},attributes:{...w},eventListeners:{...A}};for(const V of T)j.push(l(V,c));break}default:throw new Error(`Unknown node type: ${JSON.stringify(d)}`)}return r.set(c.id,c),s.set(c.id,f.id),c}function h(d){if(r.delete(d.id),s.delete(d.id),t&&("properties"in d&&t(d.properties),"eventListeners"in d&&t(d.eventListeners)),"children"in d)for(const f of d.children)h(f)}}get({id:e}){return this.attached.get(e)}implement({id:e},t){t==null?this.implementations.delete(e):this.implementations.set(e,t)}subscribe({id:e},t,{signal:o}={}){let r=this.subscribers.get(e);r??(r=new Set,this.subscribers.set(e,r)),r.add(t),o?.addEventListener("abort",()=>{r.delete(t),r.size===0&&this.subscribers.delete(e)})}},Vo=new WeakMap,ut=new WeakMap,Br=new WeakMap,ri=class{constructor({root:e,retain:t,release:o,call:r,cache:s}={}){Ae(this,"attached",new Map),this.root=e??document.createDocumentFragment();const{attached:a}=this,n=new Map;this.connection=Hr({call:(d,f,...c)=>{const g=d===je&&this.root.nodeType!==11?this.root:a.get(d);return r?r(g,f,...c):g[f](...c)},insertChild:(d,f,c)=>{const g=d===je?this.root:a.get(d),b=n.get(d);b&&clearTimeout(b),g.insertBefore(l(f),g.childNodes[c]||null)},removeChild:(d,f)=>{const c=(d===je?this.root:a.get(d)).childNodes[f];if(c.remove(),s!=null&&s.maxAge){const g=n.get(d);g&&clearTimeout(g);const b=setTimeout(()=>{h(c)},s.maxAge);n.set(d,b)}else h(c)},updateProperty:(d,f,c,g=$e)=>{const b=a.get(d);t?.(c);const x=ut.get(b),T=x[f];x[f]=c,gt(b,f,c,g),o?.(T)},updateText:(d,f)=>{const c=a.get(d);c.data=f}});function l(d){const f=a.get(d.id);if(f)return f;let c;switch(d.type){case jr:if(c=document.createElement(d.element),d.properties){ut.set(c,d.properties);for(const g of Object.keys(d.properties)){const b=d.properties[g];t?.(b),gt(c,g,b,$e)}}else ut.set(c,{});if(d.attributes)for(const g of Object.keys(d.attributes)){const b=d.attributes[g];t?.(b),gt(c,g,b,ro)}if(Br.set(c,{}),d.eventListeners)for(const g of Object.keys(d.eventListeners)){const b=d.eventListeners[g];t?.(b),gt(c,g,b,so)}for(const g of d.children)c.appendChild(l(g));break;case qr:c=document.createTextNode(d.data);break;case Vr:c=document.createComment(d.data);break;default:throw new Error(`Unknown node type: ${JSON.stringify(d)}`)}return Vo.set(c,d.id),a.set(d.id,c),c}function h(d){const f=Vo.get(d);f&&a.delete(f);const c=ut.get(d);if(c&&o&&o(c),d instanceof Element)for(const g of d.childNodes)h(g)}}connect(e){const t=this.root;this.root=e,t.childNodes.forEach(o=>{e.appendChild(o)})}disconnect(){if(this.root.nodeType===11)return this.root;const e=this.root,t=new DocumentFragment;return this.root=t,e.childNodes.forEach(o=>{t.appendChild(o)}),t}};function gt(e,t,o,r){switch(r){case $e:e[t]=o;break;case ro:o==null?e.removeAttribute(t):e.setAttribute(t,o);break;case so:{const s=Br.get(e),a=s?.[t];if(a&&e.removeEventListener(t,a),o!=null){const n=l=>{var h;if(l.target!==e)return;const d=o(l.detail);(h=l.resolve)==null||h.call(l,d)};s&&(s[t]=n),e.addEventListener(t,n)}break}}}function ao(e,t){const[o,r]=(0,v.useState)(()=>{const a=t.get(e);return{id:e.id,version:a?.version,value:a,receiver:t}});let s=o.value;if(o.receiver!==t||o.id!==e.id){const a=t.get(e);s=a,r({receiver:t,id:e.id,version:a?.version,value:s})}return(0,v.useDebugValue)(s),(0,v.useEffect)(()=>{const a=new AbortController,n=()=>{a.signal.aborted||r(l=>{const{id:h,version:d,receiver:f}=l,{id:c}=e;if(f!==t||h!==c)return l;const g=t.get(e),b=g?.version;return d===b?l:{receiver:t,value:g,id:c,version:b}})};return t.subscribe(e,n,{signal:a.signal}),n(),()=>{a.abort()}},[t,e.id]),s}function si({remote:e,receiver:t}){const o=ao(e,t);return o?(0,m.jsx)(m.Fragment,{children:o.data}):null}function $t(e,{receiver:t,components:o}){switch(e.type){case 1:{const r=o.get(e.element);if(r==null)throw new Error(`No component found for remote element: ${e.element}`);return(0,m.jsx)(r,{element:e,receiver:t,components:o},e.id)}case 3:return(0,m.jsx)(si,{remote:e,receiver:t},e.id);case 8:return null;default:throw new Error(`Unknown remote node type: ${String(e)}`)}}function ai(e,t){if(!e)return;const{children:o,properties:r,attributes:s,eventListeners:a}=e,n=[],l={...r,...s,children:n};if(t.eventProps)for(const[h,d]of Object.entries(t.eventProps)){const f=d?.event;if(f==null)continue;const c=a[f];c&&(l[h]=Ho(c))}else for(const[h,d]of Object.entries(a))l[`on${h[0].toUpperCase()}${h.slice(1)}`]=Ho(d);for(const h of o)if(h.type===1&&typeof h.attributes.slot=="string"){const d=h.attributes.slot,f=$t(h,t);l[d]=l[d]?(0,m.jsxs)(m.Fragment,{children:[l[d],f]}):f}else n.push($t(h,t));return l}function Ho(e){return function(...t){if(t.length===1&&t[0]instanceof Event){const o=t[0];return o.target!==o.currentTarget?void 0:"detail"in o?e(o.detail):e()}return e(...t)}}var ni=Symbol.for("remote-dom.element"),ii=Symbol.for("remote-dom.element.attached");function li(e,{name:t,eventProps:o}={}){const r=(0,v.memo)(function({element:s,receiver:a,components:n}){const l=(0,v.useRef)(),h=ao(s,a),d=h??s,f=d.id,c=ai(d,{receiver:a,components:n,eventProps:o});if(c[ni]=d,c[ii]=h!=null,l.current==null){const g={id:f,receiver:a};g.instanceRef=ci(g),l.current=g}return l.current.id=f,l.current.receiver=a,(0,v.useEffect)(()=>{var g;const b={id:f};return a.implement(b,(g=l.current)==null?void 0:g.instanceRef.current),()=>{a.implement(b,null)}},[f,a]),(0,m.jsx)(e,{ref:l.current.instanceRef,...c})});return r.displayName=t??`RemoteComponentRenderer(${e.displayName??e.name??"Component"})`,r}function ci(e){let t=null;return{get current(){return t},set current(o){t=o,e.receiver.implement(e,o)}}}function di(e){const{receiver:t}=e,{children:o}=ao(t.root,t);return(0,m.jsx)(m.Fragment,{children:o.map(r=>$t(r,e))})}var pi=`<!DOCTYPE html>
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
@@ -1900,4 +1900,4 @@ M38.268 335.9l-4.456-2.448-3.204-2.117-.508-.235h-2.45l-1.6.95-1.55 2.5v1.9l1.6
|
|
|
1900
1900
|
}
|
|
1901
1901
|
`}}},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-03-26"],clientInfo:{name:"goose-desktop",version:"1.38.0"}},apps:{uiInitialize:{hostInfo:{name:"MCP-UI Host",version:"1.0.0"}},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!1,xhr:!1,websocket:!1},cspResourceDomains:{script:!1,stylesheet:!1,image:!1,font:!1,media:!1},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared",cspDirectives:{"font-src":["https://cash-f.squarecdn.com"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"]}}}},slack:{id:"slack",label:"Slackbot",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"#fff","--color-background-secondary":"#f8f8f8","--color-background-tertiary":"#eaeaea","--color-background-inverse":"#1d1c1d","--color-background-info":"#e3f8ff","--color-background-danger":"#ffe8ef","--color-background-success":"#e3fff3","--color-background-warning":"#fffae0","--color-background-disabled":"#1d1c1d0f","--color-text-primary":"#1d1c1d","--color-text-secondary":"#454447","--color-text-tertiary":"#5e5d60","--color-text-inverse":"#fff","--color-text-info":"#1264a3","--color-text-danger":"#c01343","--color-text-success":"#007a5a","--color-text-warning":"#6b5000","--color-text-disabled":"#5e5d60","--color-border-primary":"#7c7a7f","--color-border-secondary":"#5e5d6073","--color-border-tertiary":"#5e5d6021","--color-border-inverse":"#f8f8f8d9","--color-border-info":"#1264a3","--color-border-danger":"#e01e5a","--color-border-success":"#007a5a","--color-border-warning":"#c79600","--color-border-disabled":"#5e5d6021","--color-ring-primary":"#7c7a7f","--color-ring-secondary":"#5e5d6073","--color-ring-inverse":"#f8f8f8d9","--color-ring-info":"#1264a3","--color-ring-danger":"#e01e5a","--color-ring-success":"#007a5a","--color-ring-warning":"#c79600","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},dark:{"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17960832e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"slack",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.slack/block-kit":{mimeTypes:["application/vnd.slack.blocks+json"]},"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxWidth:598},locale:"en-US",timeZone:"America/Los_Angeles",platform:"web",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:{"--color-background-primary":"#1a1d21","--color-background-secondary":"#1a1d21","--color-background-tertiary":"#212428","--color-background-inverse":"#212428","--color-background-info":"#001a2d","--color-background-danger":"#300005","--color-background-success":"#05241b","--color-background-warning":"#2f1e00","--color-background-disabled":"#f8f8f80f","--color-text-primary":"#f8f8f8","--color-text-secondary":"#b9babd","--color-text-tertiary":"#9a9b9e","--color-text-inverse":"#f8f8f8","--color-text-info":"#2ba5ce","--color-text-danger":"#de678a","--color-text-success":"#3daa7c","--color-text-warning":"#dea700","--color-text-disabled":"#9a9b9e","--color-border-primary":"#797c81","--color-border-secondary":"#797c8180","--color-border-tertiary":"#797c814d","--color-border-inverse":"#797c81","--color-border-info":"#2ba5ce","--color-border-danger":"#d94c75","--color-border-success":"#259b69","--color-border-warning":"#d29c00","--color-border-disabled":"#797c814d","--color-ring-primary":"#797c81","--color-ring-secondary":"#797c8180","--color-ring-inverse":"#797c81","--color-ring-info":"#2ba5ce","--color-ring-danger":"#d94c75","--color-ring-success":"#259b69","--color-ring-warning":"#d29c00","--color-background-ghost":"transparent","--color-text-ghost":"transparent","--color-border-ghost":"transparent","--font-sans":'"Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif',"--font-mono":'"Slack-Roboto-Mono", "Monaco", "Menlo", "Consolas", "Courier New", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"22px","--font-heading-md-size":"28px","--font-heading-lg-size":"32px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"42px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.25","--font-text-sm-line-height":"1.25","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.5","--font-heading-xs-line-height":"1.25","--font-heading-sm-line-height":"1.25","--font-heading-md-line-height":"1.25","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.2","--font-heading-3xl-line-height":"1.15","--border-radius-xs":"0px","--border-radius-sm":"2px","--border-radius-md":"4px","--border-radius-lg":"8px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px currentColor","--shadow-sm":"0 1px 2px 0 #0000000c","--shadow-md":"0 2px 4px -2px #00000019, 0 4px 6px -1px #00000019","--shadow-lg":"0 4px 6px -4px #00000019, 0 10px 15px -3px #00000019"},css:{fonts:'body { font-family: "Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif; }'}}},mcpProfile:{profileVersion:1,paginationTraversal:"firstPageOnly",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Slackbot MCP Client",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Slackbot",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!1},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}}},cursor:{id:"cursor",label:"Cursor",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],verifiedAt:17960832e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cursor",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},elicitation:{form:{}},roots:{listChanged:!1}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:649,maxHeight:800},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"cursor",platform:"desktop"},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"cursor-vscode",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"Cursor",version:"3.32.24"}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},"copilot-cli":{id:"copilot-cli",label:"GitHub Copilot CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25","2026-07-28"],verifiedAt:17960832e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"copilot-cli",modelId:"openai/gpt-5.5",systemPrompt:"",temperature:1,requireToolApproval:!0,runUnloadedToolCalls:!0,respectToolVisibility:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"copilot-cli",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{sampling:{}},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,initialize:{clientInfo:{name:"copilot-cli",version:"1.0.92"}},paginationTraversal:"full",toolListChanged:{listens:!0},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},"cursor-cli":{id:"cursor-cli",label:"Cursor CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25","2026-07-28"],verifiedAt:1794096e6,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cursor-cli",modelId:"cursor/auto",systemPrompt:"",temperature:1,requireToolApproval:!0,runUnloadedToolCalls:!0,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"cursor",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{elicitation:{form:{}}},hostContext:{},mcpProfile:{profileVersion:1,versionNegotiation:"legacy-first",initialize:{clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},codex:{id:"codex",label:"Codex",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17959968e5,styleVariablesByTheme:{light:{"--color-background-primary":"rgb(255, 255, 255)","--color-background-secondary":"rgba(255, 255, 255, 0.96)","--color-background-tertiary":"rgb(245, 245, 245)","--color-background-inverse":"rgb(13, 13, 13)","--color-background-ghost":"transparent","--color-background-info":"rgb(222, 236, 248)","--color-background-danger":"rgb(255, 240, 240)","--color-background-success":"color-mix(in srgb, rgb(0, 162, 64) 12%, rgb(255, 255, 255))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(255, 255, 255))","--color-background-disabled":"rgba(13, 13, 13, 0.047)","--color-text-primary":"rgb(13, 13, 13)","--color-text-secondary":"rgba(13, 13, 13, 0.494)","--color-text-tertiary":"rgba(13, 13, 13, 0.494)","--color-text-inverse":"rgb(255, 255, 255)","--color-text-ghost":"rgba(13, 13, 13, 0.494)","--color-text-info":"rgb(1, 105, 204)","--color-text-danger":"rgb(224, 46, 42)","--color-text-success":"rgb(0, 162, 64)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgba(13, 13, 13, 0.494)","--color-border-primary":"rgba(13, 13, 13, 0.118)","--color-border-secondary":"rgba(13, 13, 13, 0.08)","--color-border-tertiary":"rgba(13, 13, 13, 0.08)","--color-border-inverse":"rgb(13, 13, 13)","--color-border-ghost":"transparent","--color-border-info":"rgb(1, 105, 204)","--color-border-danger":"rgb(224, 46, 42)","--color-border-success":"rgb(0, 162, 64)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(13, 13, 13, 0.118)","--color-ring-primary":"rgb(1, 105, 204)","--color-ring-secondary":"rgb(1, 105, 204)","--color-ring-inverse":"rgb(1, 105, 204)","--color-ring-info":"rgb(1, 105, 204)","--color-ring-danger":"rgb(224, 46, 42)","--color-ring-success":"rgb(0, 162, 64)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'Inter, -apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',"--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"},dark:{"--color-background-primary":"rgb(24, 24, 24)","--color-background-secondary":"rgba(54, 54, 54, 0.96)","--color-background-tertiary":"rgb(20, 20, 20)","--color-background-inverse":"rgb(255, 255, 255)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"rgb(40, 11, 10)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(255, 133, 73) 12%, rgb(40, 40, 40))","--color-background-disabled":"rgba(255, 255, 255, 0.05)","--color-text-primary":"rgb(255, 255, 255)","--color-text-secondary":"color(srgb 1 1 1 / 0.65)","--color-text-tertiary":"rgba(255, 255, 255, 0.498)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgba(255, 255, 255, 0.498)","--color-text-info":"rgb(44, 103, 197)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(255, 133, 73)","--color-text-disabled":"rgba(255, 255, 255, 0.498)","--color-border-primary":"rgba(255, 255, 255, 0.157)","--color-border-secondary":"rgba(255, 255, 255, 0.082)","--color-border-tertiary":"rgba(255, 255, 255, 0.082)","--color-border-inverse":"rgb(255, 255, 255)","--color-border-ghost":"transparent","--color-border-info":"rgb(58, 131, 247)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(255, 133, 73)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(58, 131, 247)","--color-ring-secondary":"rgb(58, 131, 247)","--color-ring-inverse":"rgb(58, 131, 247)","--color-ring-info":"rgb(58, 131, 247)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(255, 133, 73)","--font-sans":'-apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", menlo, consolas, "Liberation Mono", monospace',"--font-weight-normal":"430","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"}},modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"codex",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app","text/html+skybridge"]},"openai/elicitation":{form:{}},"openai/form":{}},elicitation:{form:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"rgb(24, 24, 24)","--color-background-secondary":"rgba(54, 54, 54, 0.96)","--color-background-tertiary":"rgb(20, 20, 20)","--color-background-inverse":"rgb(255, 255, 255)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"rgb(40, 11, 10)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(255, 133, 73) 12%, rgb(40, 40, 40))","--color-background-disabled":"rgba(255, 255, 255, 0.05)","--color-text-primary":"rgb(255, 255, 255)","--color-text-secondary":"color(srgb 1 1 1 / 0.65)","--color-text-tertiary":"rgba(255, 255, 255, 0.498)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgba(255, 255, 255, 0.498)","--color-text-info":"rgb(44, 103, 197)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(255, 133, 73)","--color-text-disabled":"rgba(255, 255, 255, 0.498)","--color-border-primary":"rgba(255, 255, 255, 0.157)","--color-border-secondary":"rgba(255, 255, 255, 0.082)","--color-border-tertiary":"rgba(255, 255, 255, 0.082)","--color-border-inverse":"rgb(255, 255, 255)","--color-border-ghost":"transparent","--color-border-info":"rgb(58, 131, 247)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(255, 133, 73)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(58, 131, 247)","--color-ring-secondary":"rgb(58, 131, 247)","--color-ring-inverse":"rgb(58, 131, 247)","--color-ring-info":"rgb(58, 131, 247)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(255, 133, 73)","--font-sans":'-apple-system, "system-ui", "Segoe UI", sans-serif',"--font-mono":'ui-monospace, SFMono-Regular, "SF Mono", menlo, consolas, "Liberation Mono", monospace',"--font-weight-normal":"430","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"12px","--font-text-sm-size":"13px","--font-text-md-size":"14px","--font-text-lg-size":"16px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"28px","--font-heading-xl-size":"36px","--font-heading-2xl-size":"48px","--font-heading-3xl-size":"72px","--font-text-xs-line-height":"calc(1 / .75)","--font-text-sm-line-height":"calc(1.25 / .875)","--font-text-md-line-height":"calc(1.5 / 1)","--font-text-lg-line-height":"calc(1.75 / 1.125)","--font-heading-xs-line-height":"1.33","--font-heading-sm-line-height":"1.33","--font-heading-md-line-height":"1.2","--font-heading-lg-line-height":"1.2","--font-heading-xl-line-height":"1","--font-heading-2xl-line-height":"1","--font-heading-3xl-line-height":"1","--border-radius-xs":"5px","--border-radius-sm":"7.5px","--border-radius-md":"10px","--border-radius-lg":"12.5px","--border-radius-xl":"15px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px","--shadow-sm":"rgba(0, 0, 0, 0.08) 0px 1px 2px -1px","--shadow-md":"rgba(0, 0, 0, 0.08) 0px 2px 4px -1px","--shadow-lg":"rgba(0, 0, 0, 0.1) 0px 4px 8px -2px"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1120.50957"}},pluginExtensions:{enabled:!0},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"],"base-uri":["'none'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,toolInfo:!1,downloadFile:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,toolCancelled:!1,resourceTeardown:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}}}}},"codex-cli":{id:"codex-cli",label:"Codex CLI",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17960832e5,modelVisibleMcpToolResults:{structuredContent:"preferred"},mcpToolResultImageRendering:{},hostStyle:"codex-cli",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!0,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{elicitation:{form:{},url:{}}},hostContext:{},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0},mcpProtocolVersion:"2025-06-18",initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"codex-mcp-client",title:"Codex",version:"0.163.0"}},apps:{pluginExtensions:{enabled:!1},mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},opencode:{id:"opencode",label:"OpenCode",provenance:"assumed",rendersMcpApps:!1,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"opencode",modelId:"anthropic/claude-haiku-4.5",systemPrompt:"",temperature:1,requireToolApproval:!0,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"opencode",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1}},"web-claude":{id:"web-claude",label:"Claude web",provenance:"assumed",rendersMcpApps:!1,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"web-claude",modelId:"claude-web/default",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"claude-web",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1}},"web-chatgpt":{id:"web-chatgpt",label:"ChatGPT web",provenance:"assumed",rendersMcpApps:!1,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"web-chatgpt",modelId:"chatgpt-web/default",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"chatgpt-web",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1}},copilot:{id:"copilot",label:"Copilot",provenance:"vendor-doc",rendersMcpApps:!0,supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17960832e5,compatibilityEvidence:{profileLabel:"Copilot",sourceUrl:"https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-mcp-apps",sourceUpdatedAt:178416e7,componentBridge:{"window.openai.toolInput":{status:"supported",mcpAppsEquivalent:"app.ontoolinput"},"window.openai.toolOutput":{status:"supported",mcpAppsEquivalent:"app.ontoolresult"},"window.openai.toolResponseMetadata":{status:"supported",mcpAppsEquivalent:"app.ontoolresult params._meta"},"window.openai.widgetState":{status:"supported"},"window.openai.setWidgetState":{status:"supported",note:"No direct MCP Apps equivalent; Microsoft recommends alternatives including app.updateModelContext()."},"window.openai.callTool":{status:"supported",mcpAppsEquivalent:"app.callServerTool"},"window.openai.sendFollowUpMessage":{status:"supported",mcpAppsEquivalent:"app.sendMessage"},"window.openai.uploadFile":{status:"unsupported"},"window.openai.getFileDownloadUrl":{status:"unsupported"},"window.openai.requestDisplayMode":{status:"limited",mcpAppsEquivalent:"app.requestDisplayMode",note:"Fullscreen requests only."},"window.openai.requestModal":{status:"unsupported"},"window.openai.notifyIntrinsicHeight":{status:"supported",mcpAppsEquivalent:"app.sendSizeChanged"},"window.openai.openExternal":{status:"supported",mcpAppsEquivalent:"app.openLink"},"window.openai.setOpenInAppUrl":{status:"supported"},"window.openai.theme":{status:"supported",mcpAppsEquivalent:"app.getHostContext().theme"},"window.openai.displayMode":{status:"supported",mcpAppsEquivalent:"app.getHostContext().displayMode"},"window.openai.maxHeight":{status:"supported",mcpAppsEquivalent:"app.getHostContext().viewport.maxHeight"},"window.openai.safeArea":{status:"supported",mcpAppsEquivalent:"app.getHostContext().safeAreaInsets"},"window.openai.view":{status:"supported"},"window.openai.userAgent":{status:"supported",mcpAppsEquivalent:"app.getHostContext().userAgent"},"window.openai.locale":{status:"supported",mcpAppsEquivalent:"app.getHostContext().locale"},"app.ontoolinputpartial":{status:"unsupported"},"app.ontoolcancelled":{status:"unsupported"},"app.getHostContext().availableDisplayModes":{status:"unsupported"},"app.getHostContext().toolInfo":{status:"unsupported"},"app.onhostcontextchanged":{status:"unsupported"},"app.onteardown":{status:"unsupported"},"app.sendLog":{status:"unsupported"},"app.getHostVersion":{status:"unsupported"},"app.getHostCapabilities":{status:"supported"}},toolDescriptorMeta:{"openai/outputTemplate":{status:"supported",mcpAppsEquivalent:"_meta.ui.resourceUri"},"openai/widgetAccessible":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.visibility"},"openai/visibility":{status:"supported",mcpAppsEquivalent:"_meta.ui.visibility"},"openai/toolInvocation/invoking":{status:"unsupported"},"openai/toolInvocation/invoked":{status:"unsupported"},"openai/fileParams":{status:"unsupported"},securitySchemes:{status:"unsupported"}},toolAnnotations:{readOnlyHint:{status:"supported",mcpAppsEquivalent:"readOnlyHint"},destructiveHint:{status:"unsupported",mcpAppsEquivalent:"destructiveHint"},openWorldHint:{status:"unsupported",mcpAppsEquivalent:"openWorldHint"},idempotentHint:{status:"unsupported",mcpAppsEquivalent:"idempotentHint"}},componentResourceMeta:{"openai/widgetDescription":{status:"unsupported"},"openai/widgetPrefersBorder":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.prefersBorder"},"openai/widgetCSP":{status:"supported",mcpAppsEquivalent:"_meta.ui.csp"},"openai/widgetDomain":{status:"unsupported",mcpAppsEquivalent:"_meta.ui.domain"},"_meta.ui.permissions":{status:"unsupported"}},cspProperties:{connect_domains:{status:"supported",mcpAppsEquivalent:"connectDomains"},resource_domains:{status:"supported",mcpAppsEquivalent:"resourceDomains"},frame_domains:{status:"unsupported",mcpAppsEquivalent:"frameDomains"},redirect_domains:{status:"unsupported"},baseUriDomains:{status:"unsupported",mcpAppsEquivalent:"baseUriDomains"}},hostProvidedToolResultMeta:{"openai/widgetSessionId":{status:"unsupported"}},clientProvidedMeta:{"openai/locale":{status:"supported",mcpAppsEquivalent:'_meta["openai/locale"]'},"openai/userAgent":{status:"supported",mcpAppsEquivalent:'_meta["openai/userAgent"]'},"openai/userLocation":{status:"supported",mcpAppsEquivalent:'_meta["openai/userLocation"]'},"openai/subject":{status:"unsupported"}},deployment:{supportedUiStandards:["MCP Apps","OpenAI Apps SDK"],productionAuthentication:["OAuth 2.1","Microsoft Entra SSO"],developmentAuthentication:["None (anonymous)"],widgetHostPattern:"{sha256-mcp-domain}.widget-renderer.usercontent.microsoft.com",oauthRedirectUris:[{surface:"Microsoft 365 Copilot",uri:"https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect"},{surface:"Visual Studio Code Agents Toolkit",uri:"https://vscode.dev/redirect"}],entraSsoRedirectUris:[{surface:"Microsoft 365 Copilot",uri:"https://teams.microsoft.com/api/platform/v1.0/oAuthConsentRedirect"}],minimumAgentsToolkitVersion:"6.12.0",defaultToolDiscovery:"dynamic",notes:["A remote MCP server is required.","Visual Studio Code does not currently support SSO while fetching tools.","Production deployments should configure authentication; anonymous access is for development."]}},modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"copilot",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},experimental:{"microsoft/copilot":{enabled:!0}}},hostCapabilitiesOverride:{openLinks:{},serverTools:{},serverResources:{},logging:{},downloadFile:{},message:{text:{}},updateModelContext:{text:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxHeight:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"officeweb_fullpage|client=M365ChatClient",platform:"desktop"},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!1},mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2024-11-05","2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Sydney",version:"1.0.0"}},apps:{uiInitialize:{hostInfo:{name:"M365Copilot",version:"1.0.0"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,getFileDownloadUrl:!1}},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!0,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},resourcePrefersBorder:!1,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}}},vscode:{id:"vscode",label:"VS Code",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#fdeded","--color-background-disabled":"rgba(0, 105, 204, 0.1)","--color-background-ghost":"transparent","--color-background-info":"#e6f2fa","--color-background-inverse":"#202020","--color-background-primary":"#ffffff","--color-background-secondary":"#fafafd","--color-background-success":"rgba(88, 124, 12, 0.15)","--color-background-tertiary":"#fafafd","--color-background-warning":"#fdf6e3","--color-border-danger":"#ad0707","--color-border-disabled":"#bbbbbb","--color-border-ghost":"transparent","--color-border-info":"#0069cc","--color-border-inverse":"#202020","--color-border-primary":"#e2e2e5","--color-border-secondary":"#e4e5e6","--color-border-success":"#73c991","--color-border-tertiary":"#f0f1f2","--color-border-warning":"#b69500","--color-ring-danger":"#ad0707","--color-ring-info":"#0069cc","--color-ring-inverse":"#0069cc","--color-ring-primary":"#0069cc","--color-ring-secondary":"#0069cc","--color-ring-success":"#73c991","--color-ring-warning":"#b69500","--color-text-danger":"#ad0707","--color-text-disabled":"#bbbbbb","--color-text-ghost":"#606060","--color-text-info":"#0069cc","--color-text-inverse":"#ffffff","--color-text-primary":"#202020","--color-text-secondary":"#606060","--color-text-success":"#73c991","--color-text-tertiary":"#bbbbbb","--color-text-warning":"#bf8803","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0)"},dark:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#5a1d1d","--color-background-disabled":"#3a3d41","--color-background-ghost":"transparent","--color-background-info":"#063b49","--color-background-inverse":"#d4d4d4","--color-background-primary":"#1e1e1e","--color-background-secondary":"#252526","--color-background-success":"rgba(156, 204, 44, 0.2)","--color-background-tertiary":"#333333","--color-background-warning":"#352a05","--color-border-danger":"#be1100","--color-border-disabled":"rgba(204, 204, 204, 0.5)","--color-border-ghost":"transparent","--color-border-info":"#007acc","--color-border-inverse":"#cccccc","--color-border-primary":"#303031","--color-border-secondary":"rgba(204, 204, 204, 0.2)","--color-border-success":"#73c991","--color-border-tertiary":"rgba(128, 128, 128, 0.35)","--color-border-warning":"#b89500","--color-ring-danger":"#be1100","--color-ring-info":"#007acc","--color-ring-inverse":"#007fd4","--color-ring-primary":"#007fd4","--color-ring-secondary":"#007fd4","--color-ring-success":"#73c991","--color-ring-warning":"#b89500","--color-text-danger":"#f48771","--color-text-disabled":"rgba(204, 204, 204, 0.5)","--color-text-ghost":"rgba(204, 204, 204, 0.7)","--color-text-info":"#3794ff","--color-text-inverse":"#1e1e1e","--color-text-primary":"#cccccc","--color-text-secondary":"rgba(204, 204, 204, 0.7)","--color-text-success":"#73c991","--color-text-tertiary":"rgba(204, 204, 204, 0.5)","--color-text-warning":"#cca700","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.36)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.36)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.36)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.36)"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17959968e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!0}}},hostStyle:"vscode",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!1,respectToolVisibility:!1,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{roots:{listChanged:!0},sampling:{},elicitation:{form:{},url:{}},tasks:{list:{},cancel:{},requests:{sampling:{createMessage:{}},elicitation:{create:{}}}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/skills":{}}},hostCapabilitiesOverride:{openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}},downloadFile:{}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:494,maxHeight:720},locale:"en-us",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:{"--border-radius-full":"9999px","--border-radius-lg":"6px","--border-radius-md":"4px","--border-radius-sm":"3px","--border-radius-xl":"8px","--border-radius-xs":"2px","--border-width-regular":"1px","--color-background-danger":"#5a1d1d","--color-background-disabled":"#3a3d41","--color-background-ghost":"transparent","--color-background-info":"#063b49","--color-background-inverse":"#d4d4d4","--color-background-primary":"#1e1e1e","--color-background-secondary":"#252526","--color-background-success":"rgba(156, 204, 44, 0.2)","--color-background-tertiary":"#333333","--color-background-warning":"#352a05","--color-border-danger":"#be1100","--color-border-disabled":"rgba(204, 204, 204, 0.5)","--color-border-ghost":"transparent","--color-border-info":"#007acc","--color-border-inverse":"#cccccc","--color-border-primary":"#303031","--color-border-secondary":"rgba(204, 204, 204, 0.2)","--color-border-success":"#73c991","--color-border-tertiary":"rgba(128, 128, 128, 0.35)","--color-border-warning":"#b89500","--color-ring-danger":"#be1100","--color-ring-info":"#007acc","--color-ring-inverse":"#007fd4","--color-ring-primary":"#007fd4","--color-ring-secondary":"#007fd4","--color-ring-success":"#73c991","--color-ring-warning":"#b89500","--color-text-danger":"#f48771","--color-text-disabled":"rgba(204, 204, 204, 0.5)","--color-text-ghost":"rgba(204, 204, 204, 0.7)","--color-text-info":"#3794ff","--color-text-inverse":"#1e1e1e","--color-text-primary":"#cccccc","--color-text-secondary":"rgba(204, 204, 204, 0.7)","--color-text-success":"#73c991","--color-text-tertiary":"rgba(204, 204, 204, 0.5)","--color-text-warning":"#cca700","--font-heading-2xl-line-height":"1.25","--font-heading-2xl-size":"40px","--font-heading-3xl-line-height":"1.25","--font-heading-3xl-size":"48px","--font-heading-lg-line-height":"1.25","--font-heading-lg-size":"24px","--font-heading-md-line-height":"1.25","--font-heading-md-size":"20px","--font-heading-sm-line-height":"1.25","--font-heading-sm-size":"18px","--font-heading-xl-line-height":"1.25","--font-heading-xl-size":"32px","--font-heading-xs-line-height":"1.25","--font-heading-xs-size":"16px","--font-mono":"Menlo, Monaco, 'Courier New', monospace","--font-sans":"-apple-system, BlinkMacSystemFont, sans-serif","--font-text-lg-line-height":"1.5","--font-text-lg-size":"14px","--font-text-md-line-height":"1.5","--font-text-md-size":"13px","--font-text-sm-line-height":"1.5","--font-text-sm-size":"11px","--font-text-xs-line-height":"1.5","--font-text-xs-size":"10px","--font-weight-bold":"bold","--font-weight-medium":"500","--font-weight-normal":"normal","--font-weight-semibold":"600","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.36)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.36)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.36)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.36)"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"Visual Studio Code",version:"1.136.1"}},apps:{uiInitialize:{hostInfo:{name:"Visual Studio Code",version:"1.148.0"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-pointer-lock","allow-downloads","allow-forms"],allowFeatures:{"cross-origin-isolated":"'src'",autoplay:"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!1,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,widgetDisplayModeRequests:"accept"}}}},agentcore:{id:"agentcore",label:"AgentCore",provenance:"vendor-doc",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"agentcore",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{}},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"bedrock-agentcore",title:"AgentCore",version:"1.0.0",description:"AWS Bedrock AgentCore agent runtime",websiteUrl:"https://aws.amazon.com/bedrock/agentcore/"}}}},n8n:{id:"n8n",label:"n8n",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"n8n",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"@n8n/n8n-nodes-langchain.mcpClientTool",version:"1.4"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},gemini:{id:"gemini",label:"Gemini",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-11-25"],verifiedAt:17961696e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"gemini",modelId:"google/gemini-3.8-flash",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{maxHeight:600}},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"google-adk",version:"2.14.1"}},apps:{uiInitialize:{hostInfo:{name:"UCS Widget",version:"1.0"}},compatRuntime:{openaiApps:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups"],sameOriginAppIframe:!0},mcpAppsOverrides:{openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,toolInfo:!0,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},cspFrameDomains:!0,cspBaseUriDomains:!1,toolResult:{structuredContent:!0},resourcePrefersBorder:!0,availableDisplayModes:["inline","fullscreen","pip"],safeAreaInsets:!1}}}},perplexity:{id:"perplexity",label:"Perplexity",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-06-18"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"perplexity",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},cline:{id:"cline",label:"Cline",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"cline",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cline",version:"4.0.10"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},notion:{id:"notion",label:"Notion",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17847648e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"notion",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"notion",version:"1.0.0"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},muse:{id:"muse",label:"Muse",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-11-25"],verifiedAt:17942688e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"muse",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"muse-custom-connector",version:"1"}},apps:{mcpAppsOverrides:{availableDisplayModes:["inline"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!1,serverTools:!1,serverResources:!1,logging:!1,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}}}},grokbot:{id:"grokbot",label:"Grokbot",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-11-25"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"grokbot",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{},mcpProfile:{profileVersion:1,toolListChanged:{listens:!0},initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{}}}}}};function cp(e){const t=e.modelVisibleMcpToolResults,o=e.mcpToolResultImageRendering;if(!(!t&&!o))return{toolImageContent:{model:t?.directContent?.image===!0,ui:o?.directContent?.image===!0},embeddedResourceImages:{model:t?.embeddedResources?.blob?.image===!0,ui:o?.embeddedResources?.blob?.image===!0},resourceLinkImages:{model:t?.linkedResources?.blob?.image===!0,ui:o?.linkedResources?.blob?.image===!0},placement:o?.placement??"none"}}function dp(e,t){const o=sn(t.mcpProfile);if((o?.toolResultAuthChallenge??on.toolResultAuthChallenge)!=="passthrough")return[];const r=e.filter(s=>Ka(Ja({declaration:{securitySchemes:s.securitySchemes,_meta:s._meta}}))).map(s=>s.name).sort();return r.length===0?[]:[{lane:"server",severity:"info",code:"tool_result_auth_challenge_ignored",title:"Sign-in challenges in tool results are shown as errors",detail:`${t.hostLabel} shows a tool result carrying _meta["mcp/www_authenticate"] as an ordinary error and does not start sign-in from it. These tools declare an oauth2 security scheme, the pattern that asks for sign-in that way: ${r.join(", ")}.`,remediation:'To ask for sign-in in the way the MCP spec defines, refuse the unauthenticated call with HTTP 401 and a `WWW-Authenticate: Bearer resource_metadata="…"` header; hosts that read the _meta challenge can be served it alongside.',tools:r,provenance:o?.toolResultAuthChallenge!==void 0?t.provenance:"assumed"}]}function pp(e,t,o){return e.map(r=>{const s=Object.hasOwn(o.hostsById,r.hostId)?o.hostsById[r.hostId]:void 0,a=dp(t,{hostLabel:r.hostLabel,provenance:r.provenance,mcpProfile:s?.mcpProfile});return a.length===0?r:{...r,findings:[...r.findings,...a],...r.lanes?{lanes:{...r.lanes,server:{...r.lanes.server,provenance:wa(a,r.lanes.server.provenance)}}}:{}}})}function ka(e){return JSON.parse(JSON.stringify(e))}function Ca(e){if(e!==null&&typeof e=="object"){Object.isFrozen(e)||Object.freeze(e);for(const t of Object.keys(e))Ca(e[t])}return e}var dr=null;function Sa(){return dr??=Ca(_a(ka(lp))),dr}function _a(e){return{hostsById:Object.fromEntries(Object.entries(e.hostsById).map(([t,o])=>[t,Mo(o)]))}}function Mo(e){const t=cp(e)??e.imageSupport;return{...e,...t?{imageSupport:t}:void 0}}function up(e,t){return Ta(e,t)?.mcpProfile?.apps?.mcpAppsOverrides}function Ta(e,t){const o=Object.hasOwn(e.hostsById,t)?e.hostsById[t]:void 0;return o?Mo(o):void 0}function eg(e,t){const o=Ta(e,t);if(o)return ka(gp(o))}function tg(e){return Object.values(e.hostsById).map(Mo)}function gp(e){const{id:t,label:o,provenance:r,rendersMcpApps:s,supportedProtocolVersions:a,verifiedAt:n,imageSupport:l,compatibilityEvidence:h,styleVariablesByTheme:d,...f}=e;return f}function hp(e){return e?.mcpProfile?.apps?.compatRuntime?.openaiApps===!0}function mp(e){const t=e?.mcpProfile?.apps?.sandbox?.permissions?.allow;if(!t||typeof t!="object"||Array.isArray(t))return;const o=Object.entries(t).filter(([,r])=>typeof r=="boolean");return Object.fromEntries(o)}function Ia(e){return{...e,verifiedAt:e.verifiedAt,supportedProtocolVersions:e.supportedProtocolVersions?[...e.supportedProtocolVersions]:void 0,capabilities:e.capabilities?{...e.capabilities,availableDisplayModes:e.capabilities.availableDisplayModes?[...e.capabilities.availableDisplayModes]:void 0,cspConnectDomains:e.capabilities.cspConnectDomains?{...e.capabilities.cspConnectDomains}:void 0,cspResourceDomains:e.capabilities.cspResourceDomains?{...e.capabilities.cspResourceDomains}:void 0}:void 0,sandboxPermissionAllow:e.sandboxPermissionAllow?{...e.sandboxPermissionAllow}:void 0,imageSupport:e.imageSupport?{toolImageContent:{...e.imageSupport.toolImageContent},embeddedResourceImages:{...e.imageSupport.embeddedResourceImages},resourceLinkImages:{...e.imageSupport.resourceLinkImages},placement:e.imageSupport.placement}:void 0}}function Aa(e){return Object.entries(e.hostsById).map(([t,o])=>{const r=hp(o),s=o.rendersMcpApps||r,a=up(e,t),n=s?a??Be:void 0;return{id:o.id,label:o.label,provenance:o.provenance,verifiedAt:o.verifiedAt,rendersMcpApps:o.rendersMcpApps,rendersOpenAiApps:r,supportedProtocolVersions:o.supportedProtocolVersions,capabilities:n,sandboxPermissionAllow:mp(o),imageSupport:o.imageSupport}}).map(Ia)}var pr=null;function fp(){return pr??=Aa(Sa()),pr.map(Ia)}function og(e,t){const{catalog:o,...r}=t??{},s=o?Aa(o):fp(),a=ip(e,s,r),n=(e?.tools??[]).map(l=>{const h=e?.toolsMetadata?.[l.name];return h?{...l,_meta:h}:l});return{...a,reports:pp(a.reports,n,o??Sa())}}var ur=["inline","fullscreen","pip"],bp=eo(e=>Array.isArray(e)?e.filter(t=>ur.includes(t)):e,k(q(ur)).optional()),vp=p({availableDisplayModes:bp,toolInputPartial:y().optional(),toolCancelled:y().optional(),hostContextChanged:y().optional(),resourceTeardown:y().optional(),toolInfo:y().optional(),openLinks:y().optional(),serverTools:y().optional(),serverResources:y().optional(),logging:y().optional(),updateModelContext:y().optional(),message:y().optional(),sandboxPermissions:y().optional(),cspFrameDomains:y().optional(),cspBaseUriDomains:y().optional(),cspConnectDomains:p({fetch:y().optional(),xhr:y().optional(),websocket:y().optional()}).optional(),cspResourceDomains:p({script:y().optional(),stylesheet:y().optional(),image:y().optional(),font:y().optional(),media:y().optional()}).optional(),resourceCacheTtl:y().optional(),toolResult:p({structuredContent:y().optional(),content:p({text:y().optional(),image:y().optional(),audio:y().optional(),resource:y().optional(),resourceLink:y().optional()}).optional()}).optional(),resourcePrefersBorder:y().optional(),downloadFile:y().optional(),requestTeardown:y().optional(),safeAreaInsets:y().optional(),widgetDisplayModeRequests:q(["accept","user-initiated-only","decline"]).optional().catch(void 0)}),Ft=p({model:y(),ui:y()}),xp=p({toolImageContent:Ft,embeddedResourceImages:Ft,resourceLinkImages:Ft,placement:q(["none","collapsed","inline"]).catch("none")}),yp=p({status:q(["supported","unsupported","limited"]),mcpAppsEquivalent:i().optional(),note:i().optional()}),ye=_(i(),yp),wp=p({profileLabel:i().min(1),sourceUrl:i().min(1),sourceUpdatedAt:S(),componentBridge:ye,toolDescriptorMeta:ye,toolAnnotations:ye,componentResourceMeta:ye,cspProperties:ye,hostProvidedToolResultMeta:ye,clientProvidedMeta:ye,deployment:p({supportedUiStandards:k(i()),productionAuthentication:k(i()),developmentAuthentication:k(i()),widgetHostPattern:i(),oauthRedirectUris:k(p({surface:i(),uri:i()})),entraSsoRedirectUris:k(p({surface:i(),uri:i()})),minimumAgentsToolkitVersion:i(),defaultToolDiscovery:i(),notes:k(i())})}),kp=p({id:i().min(1),label:i().min(1),provenance:q(["observed","probe","vendor-doc","assumed"]).catch("assumed"),rendersMcpApps:y(),supportedProtocolVersions:k(i()).optional(),verifiedAt:S().optional(),imageSupport:xp.optional(),compatibilityEvidence:wp.optional(),styleVariablesByTheme:p({light:_(i(),i()).optional(),dark:_(i(),i()).optional()}).optional()}),Cp=p({profileVersion:S().optional(),apps:p({mcpAppsOverrides:vp.optional()}).passthrough().optional()}).passthrough(),Sp=p({hostStyle:i().min(1),modelId:i(),systemPrompt:i(),temperature:S(),requireToolApproval:y(),respectToolVisibility:y(),progressiveToolDiscovery:y().optional(),runUnloadedToolCalls:y().optional(),serverIds:k(i()),optionalServerIds:k(i()),builtInToolIds:k(i()),modelVisibleMcpToolResults:D().optional(),mcpToolResultImageRendering:D().optional(),computer:p({kind:u("personal"),workdir:i().optional()}).optional(),harness:q(rn).optional(),connectionDefaults:p({headers:_(i(),i()),requestTimeout:S()}),clientCapabilities:_(i(),D()),hostContext:_(i(),D()),hostCapabilitiesOverride:_(i(),D()).optional(),chatUiOverride:_(i(),D()).optional(),mcpProfile:Cp.optional(),serverConnectionOverrides:_(i(),p({headersOverride:_(i(),i()).optional(),requestTimeoutOverride:S().optional(),mcpProtocolVersionOverride:i().optional()})).optional()}),_p=Xt(kp,Sp),Tp=p({hostsById:_(i(),_p)}),Ip=p({schemaVersion:u(2),version:S(),contentHash:i(),publishedAt:S(),catalog:Tp,source:i().optional()}),Ra="https://app.mcpjam.com",Ma=`${Ra}/api/v1`,rg=Object.freeze({apiUrl:Ma,baseUrl:Ra}),Ap=Ma,sg=`mcpjam-sdk/${Qa()}`;function Rp(e){const t=e!==null&&typeof e=="object"&&!Array.isArray(e)?e.schemaVersion:void 0;console.warn("[host-catalog] rejected live catalog envelope",{reason:typeof t=="number"&&t!==2?"schema_version_mismatch":"invalid_envelope",schemaVersion:t,expectedSchemaVersion:2})}async function ag(e){const t=(e?.baseUrl??Ap).replace(/\/+$/,""),o=e?.timeoutMs??3e3,r=e?.fetchImpl??globalThis.fetch?.bind(globalThis);if(typeof r!="function")return{ok:!1,reason:"network"};const s=new AbortController,a=setTimeout(()=>s.abort(),o);try{const n=await r(`${t}/host-catalog`,{method:"GET",headers:{accept:"application/json"},signal:s.signal});if(!n.ok)return{ok:!1,reason:"unavailable"};let l;try{l=await n.json()}catch{return s.signal.aborted?{ok:!1,reason:"timeout"}:{ok:!1,reason:"invalid"}}const h=Ip.safeParse(l);return h.success?{ok:!0,catalog:_a(h.data.catalog),version:h.data.version,contentHash:h.data.contentHash,publishedAt:h.data.publishedAt,source:h.data.source??"live"}:(Rp(l),{ok:!1,reason:"invalid"})}catch{return{ok:!1,reason:s.signal.aborted?"timeout":"network"}}finally{clearTimeout(a)}}var Mp=[{key:"serverTools",patterns:[/tools\/call/,/\bcallTool\b/,/\bcallServerTool\b/]},{key:"serverResources",patterns:[/resources\/read/,/\breadResource\b/]},{key:"message",patterns:[/ui\/message/,/\bsendFollowUpMessage\b/i]},{key:"updateModelContext",patterns:[/ui\/update-model-context/,/\bsetWidgetState\b/]},{key:"openLinks",patterns:[/ui\/open-link/,/\bopenExternal\b/]},{key:"downloadFile",patterns:[/ui\/download-file/,/\bgetFileDownloadUrl\b/,/\buploadFile\b/]},{key:"logging",patterns:[/notifications\/message/]}];function Pp(e){const t=new Set;for(const{key:o,patterns:r}of Mp)r.some(s=>s.test(e))&&t.add(o);return t}function Ep(e){const t=new Set,o=e?.ui,r=o?.csp?.frameDomains;Array.isArray(r)&&r.length>0&&t.add("cspFrameDomains");const s=o?.permissions;return s&&typeof s=="object"&&Object.keys(s).length>0&&t.add("sandboxPermissions"),t}function Dp(e){const t=e?.ui?.permissions;return!t||typeof t!="object"||Array.isArray(t)?new Set:new Set(Object.keys(t).filter(o=>o.length>0))}function Lp(e){const t=Ge(e);if(t)return t;const o=e?.["openai/outputTemplate"];return typeof o=="string"&&o.length>0?o:void 0}function Up(e){if(typeof e.text=="string")return e.text;if(typeof e.blob=="string")try{return atob(e.blob)}catch{return""}return""}async function ng(e,t){if(!e?.tools)return;const o=new Map;for(const n of e.tools){const l=Lp(e.toolsMetadata?.[n.name]??n._meta);l&&o.set(l,[...o.get(l)??[],n.name])}if(o.size===0)return{};const r={},s=(n,l)=>{r[n]=Array.from(new Set([...r[n]??[],...l]))},a=(n,l)=>{if(n.size===0)return;const h=r.sandboxPermissionTools??{};for(const d of n)h[d]=Array.from(new Set([...h[d]??[],...l])).sort();r.sandboxPermissionTools=h,r.sandboxPermissionNames=Object.keys(h).sort()};return(await Promise.all(Array.from(o.entries()).map(async([n,l])=>{try{const h=(await t(n))?.contents?.[0];if(!h)return!1;const d=new Set([...Pp(Up(h)),...Ep(h._meta)]);a(Dp(h._meta),l);for(const f of d)s(f,l);return!0}catch{return!1}}))).every(Boolean)?r:void 0}var Ne=nt,vt=wd,xt=kd,zp=Cd,Q=Be,Op=_d,Fp=Sd,Np={availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!1,message:!1,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"},jp={availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!0,openLinks:!0,serverTools:!1,serverResources:!0,logging:!0,updateModelContext:!1,message:!0,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!1,resourcePrefersBorder:!0,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"},ze={updateModelContext:{text:{},image:{},resourceLink:{},resource:{},structuredContent:{}},message:{text:{},image:{},resourceLink:{},resource:{}}},z={claude:{mcpAppsCapabilities:vt},"claude-desktop":{mcpAppsCapabilities:vt},"claude-code":{mcpAppsCapabilities:Ne},"claude-code-desktop":{mcpAppsCapabilities:vt},"claude-code-web":{mcpAppsCapabilities:vt},chatgpt:{mcpAppsCapabilities:xt,hostCapabilitiesReplacement:ze},"chatgpt-desktop":{mcpAppsCapabilities:xt,hostCapabilitiesReplacement:ze},"chatgpt-work":{mcpAppsCapabilities:xt,hostCapabilitiesReplacement:ze},"chatgpt-work-desktop":{mcpAppsCapabilities:xt,hostCapabilitiesReplacement:ze},mistral:{mcpAppsCapabilities:{...Ne,availableDisplayModes:["inline","fullscreen"],toolCancelled:!1,resourceTeardown:!1,toolInfo:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,widgetDisplayModeRequests:"accept"},hostCapabilitiesAugment:{message:{image:{}}}},goose:{mcpAppsCapabilities:Fp},slack:{mcpAppsCapabilities:Np},gemini:{mcpAppsCapabilities:jp},cursor:{mcpAppsCapabilities:zp,hostCapabilitiesAugment:{serverTools:{listChanged:!1},serverResources:{listChanged:!1}}},"copilot-cli":{mcpAppsCapabilities:Q},"cursor-cli":{mcpAppsCapabilities:Q},"codex-cli":{mcpAppsCapabilities:Q},opencode:{mcpAppsCapabilities:Q},copilot:{mcpAppsCapabilities:Op},codex:{mcpAppsCapabilities:{...Ne,serverResources:!1,logging:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0}},hostCapabilitiesReplacement:ze},vscode:{mcpAppsCapabilities:Td,hostCapabilitiesAugment:{serverTools:{listChanged:!0},serverResources:{listChanged:!0}},hostCapabilitiesReplacement:{updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}}}},agentcore:{mcpAppsCapabilities:Q},n8n:{mcpAppsCapabilities:Q},perplexity:{mcpAppsCapabilities:Q},cline:{mcpAppsCapabilities:Q},notion:{mcpAppsCapabilities:Q},muse:{mcpAppsCapabilities:Q},grokbot:{mcpAppsCapabilities:Q},mcpjam:{mcpAppsCapabilities:Ne}},Pa={};function Qt(e,t,o){const r={};if(e.openLinks&&(r.openLinks={}),e.serverTools&&(r.serverTools={}),e.serverResources&&(r.serverResources={}),e.logging&&(r.logging={}),e.updateModelContext&&(r.updateModelContext={text:{}}),e.message&&(r.message={text:{}}),e.downloadFile&&(r.downloadFile={}),t)for(const[s,a]of Object.entries(t))r[s]!==void 0&&(r[s]={...r[s],...a});if(o)for(const[s,a]of Object.entries(o))r[s]!==void 0&&(r[s]=a);return r}function qp(e,t){if(!t)return e;const o=t.availableDisplayModes,r=o!==void 0?o.length>0?o:["inline"]:e.availableDisplayModes,s=e.cspConnectDomains||t.cspConnectDomains?{...e.cspConnectDomains,...t.cspConnectDomains}:void 0,a=e.cspResourceDomains||t.cspResourceDomains?{...e.cspResourceDomains,...t.cspResourceDomains}:void 0,n=e.toolResult||t.toolResult?{...e.toolResult,...t.toolResult,...e.toolResult?.content||t.toolResult?.content?{content:{...e.toolResult?.content,...t.toolResult?.content}}:{}}:void 0;return{availableDisplayModes:r,toolInputPartial:t.toolInputPartial??e.toolInputPartial,toolCancelled:t.toolCancelled??e.toolCancelled,hostContextChanged:t.hostContextChanged??e.hostContextChanged,resourceTeardown:t.resourceTeardown??e.resourceTeardown,toolInfo:t.toolInfo??e.toolInfo,openLinks:t.openLinks??e.openLinks,serverTools:t.serverTools??e.serverTools,serverResources:t.serverResources??e.serverResources,logging:t.logging??e.logging,updateModelContext:t.updateModelContext??e.updateModelContext,message:t.message??e.message,sandboxPermissions:t.sandboxPermissions??e.sandboxPermissions,cspFrameDomains:t.cspFrameDomains??e.cspFrameDomains,cspBaseUriDomains:t.cspBaseUriDomains??e.cspBaseUriDomains,cspConnectDomains:s,cspResourceDomains:a,toolResult:n,resourcePrefersBorder:t.resourcePrefersBorder??e.resourcePrefersBorder,downloadFile:t.downloadFile??e.downloadFile,requestTeardown:t.requestTeardown??e.requestTeardown,safeAreaInsets:t.safeAreaInsets??e.safeAreaInsets,widgetDisplayModeRequests:t.widgetDisplayModeRequests??e.widgetDisplayModeRequests}}function Vp(e,t){const o=t(e.hostStyle)?.mcpAppsCapabilities,r=e.profile?.apps?.mcpAppsOverrides;return qp(o??(r!==void 0?Q:Ne),r)}function ig(e,t){if(e.profile?.apps?.mcpAppsOverrides!==void 0){const r=Vp({profile:e.profile,hostStyle:e.hostStyle},t),s=t(e.hostStyle);return Qt(r,s?.hostCapabilitiesAugment,s?.hostCapabilitiesReplacement)}if(e.hostCapabilitiesOverride!==void 0){const{sandbox:r,...s}=e.hostCapabilitiesOverride;return s}const o=t(e.hostStyle);return o?Qt(o.mcpAppsCapabilities,o.hostCapabilitiesAugment,o.hostCapabilitiesReplacement):Pa}var ct={callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"all",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!0,uploadFile:!0,selectFiles:!0,getFileDownloadUrl:!0,requestCheckout:!0,requestClose:!0},Hp={callTool:!0,sendFollowUpMessage:!0,setWidgetState:!0,requestDisplayMode:"fullscreen-only",notifyIntrinsicHeight:!0,openExternal:!0,setOpenInAppUrl:!0,requestModal:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,requestClose:!0},Ea={...ct,notifyIntrinsicHeight:!1,setOpenInAppUrl:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1},Da="/chatgpt_desktop_logo.png",Bp="/muse_logo.png",$p="/grokbot_logo.png",gr="/opencode-logo-light.svg",Wp="/opencode-logo-dark.svg",Gp={id:"claude-code-desktop",mcp:{protocolOverride:U.MCP_APPS,platform:Rt,fontCss:"",...z["claude-code-desktop"],resolveStyleVariables:st},chatUi:{label:"Claude Code Desktop",shortLabel:"Claude Code Desktop-style host",pickerDescription:"Claude Code in the Claude desktop app",logoSrc:Lr,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:Ao}},Yp={id:"claude-code-web",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z["claude-code-web"],resolveStyleVariables:st},chatUi:{label:"Claude Code Web",shortLabel:"Claude Code Web-style host",pickerDescription:"Claude Code Web in the browser",logoSrc:Dr,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:Ao}},Kp={id:"chatgpt-desktop",mcp:{protocolOverride:U.OPENAI_SDK,platform:"desktop",fontCss:"",...z["chatgpt-desktop"],resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:Ea}},chatUi:{label:"ChatGPT Desktop",shortLabel:"ChatGPT Desktop-style host",pickerDescription:"ChatGPT desktop app chrome",logoSrc:Da,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Mt}},Jp={id:"chatgpt-work",mcp:{protocolOverride:U.OPENAI_SDK,platform:"web",fontCss:"",...z["chatgpt-work"],resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ct}},chatUi:{label:"ChatGPT Work",shortLabel:"ChatGPT Work-style host",pickerDescription:"ChatGPT Work in the browser",logoSrc:Ur,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Mt}},Zp={id:"chatgpt-work-desktop",mcp:{protocolOverride:U.OPENAI_SDK,platform:"desktop",fontCss:"",...z["chatgpt-work-desktop"],resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:Ea}},chatUi:{label:"ChatGPT Work Desktop",shortLabel:"ChatGPT Work Desktop-style host",pickerDescription:"ChatGPT work mode in the desktop app",logoSrc:Da,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Mt}},Qp={id:"codex-cli",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z["codex-cli"],resolveStyleVariables:ue},chatUi:{label:"Codex CLI",shortLabel:"Codex CLI-style host",pickerDescription:"OpenAI Codex in a terminal",logoSrc:Or,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Pt}},Xp={id:"opencode",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.opencode,resolveStyleVariables:ce},chatUi:{label:"OpenCode",shortLabel:"OpenCode-style host",pickerDescription:"The OpenCode coding agent in a terminal",logoSrc:gr,logoSrcByTheme:{light:gr,dark:Wp},family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},eu={id:"muse",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.muse,resolveStyleVariables:ce},chatUi:{label:"Muse",shortLabel:"Muse-style host",pickerDescription:"Muse MCP client (tools-only)",logoSrc:Bp,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},tu={id:"grokbot",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.grokbot,resolveStyleVariables:ce},chatUi:{label:"Grokbot",shortLabel:"Grokbot-style host",pickerDescription:"Grokbot MCP client (tools-only)",logoSrc:$p,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},lg={light:"border border-[#DFDFDB] bg-white shadow-[0_1px_2px_rgba(0,0,0,0.05),0_4px_20px_rgba(110,110,110,0.08)]",dark:"border-[#4b463d] bg-[#30302E] shadow-[0_1px_2px_rgba(0,0,0,0.28),0_4px_22px_rgba(120,120,120,0.12)]"},cg={light:"border border-neutral-200/90 bg-white shadow-[0_1px_2px_rgba(0,0,0,0.04),0_4px_22px_rgba(100,100,100,0.08)]",dark:"border border-white/10 bg-[#303030] shadow-[0_1px_2px_rgba(0,0,0,0.28),0_4px_24px_rgba(130,130,130,0.14)]"},ou={id:"claude",mcp:{protocolOverride:U.MCP_APPS,platform:Rt,fontCss:"",...z.claude,resolveStyleVariables:st},chatUi:{label:"Claude",shortLabel:"Claude-style host",pickerDescription:"Claude-style swarm chrome",logoSrc:Dr,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:ma}},ru={id:"claude-desktop",mcp:{protocolOverride:U.MCP_APPS,platform:Rt,fontCss:"",...z["claude-desktop"],resolveStyleVariables:st},chatUi:{label:"Claude Desktop",shortLabel:"Claude Desktop-style host",pickerDescription:"Claude desktop app chrome",logoSrc:Lr,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:ma}},su={id:"claude-code",mcp:{protocolOverride:U.MCP_APPS,platform:Rt,fontCss:"",...z["claude-code"],resolveStyleVariables:st},chatUi:{label:"Claude Code",shortLabel:"Claude Code-style host",pickerDescription:"Anthropic Claude Code CLI chrome",logoSrc:An,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:Ao}},au={id:"chatgpt",mcp:{protocolOverride:U.OPENAI_SDK,platform:"web",fontCss:"",...z.chatgpt,resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ct}},chatUi:{label:"ChatGPT",shortLabel:"ChatGPT-style host",pickerDescription:"OpenAI-style swarm chrome",logoSrc:Ur,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Mt}},nu={id:"mistral",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.mistral,resolveStyleVariables:Ld},chatUi:{label:"Mistral",shortLabel:"Mistral-style host",pickerDescription:"Mistral web host",logoSrc:Rn,family:"chatgpt",resolveChatBackground:e=>Ud[e],loadingIndicator:Xd}},iu={id:"goose",mcp:{protocolOverride:U.MCP_APPS,platform:ia,fontCss:da,...z.goose,resolveStyleVariables:zd},chatUi:{label:"Goose",shortLabel:"Goose-style host",pickerDescription:"Goose Desktop host",logoSrc:Oo,logoSrcByTheme:{light:Oo,dark:Mn},family:"chatgpt",resolveChatBackground:e=>Od[e],loadingIndicator:Wd}},lu={id:"slack",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:ga,...z.slack,resolveStyleVariables:Fd},chatUi:{label:"Slackbot",shortLabel:"Slackbot-style host",pickerDescription:"Slackbot MCP host",logoSrc:Nn,family:"chatgpt",resolveChatBackground:e=>Nd[e],loadingIndicator:Pt}},cu={id:"cursor",mcp:{protocolOverride:U.MCP_APPS,platform:ta,fontCss:"",...z.cursor,resolveStyleVariables:ra},chatUi:{label:"Cursor",shortLabel:"Cursor-style host",pickerDescription:"Cursor IDE chat panel chrome",logoSrc:zr,family:"chatgpt",resolveChatBackground:e=>oa[e],loadingIndicator:Ro}},du={id:"cursor-cli",mcp:{protocolOverride:U.MCP_APPS,platform:ta,fontCss:"",...z["cursor-cli"],resolveStyleVariables:ra},chatUi:{label:"Cursor CLI",shortLabel:"Cursor CLI-style host",pickerDescription:"Cursor coding CLI chrome",logoSrc:zr,family:"chatgpt",resolveChatBackground:e=>oa[e],loadingIndicator:Ro}},hr={id:"copilot",mcp:{protocolOverride:U.OPENAI_SDK,platform:"web",fontCss:"",...z.copilot,resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:Hp}},chatUi:{label:"Copilot",shortLabel:"Copilot-style host",pickerDescription:"Microsoft 365 Copilot chrome",logoSrc:Pn,family:"chatgpt",resolveChatBackground:e=>e==="dark"?"rgba(48, 48, 48, 1)":_e.light,loadingIndicator:Gd}},pu={id:"codex",mcp:{protocolOverride:U.OPENAI_SDK,platform:"web",fontCss:"",...z.codex,resolveStyleVariables:ue},chatUi:{label:"Codex",shortLabel:"Codex-style host",pickerDescription:"OpenAI Codex CLI-style chrome",logoSrc:Or,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Pt}},uu={id:"vscode",mcp:{protocolOverride:U.MCP_APPS,platform:Ed,fontCss:"",...z.vscode,resolveStyleVariables:Pd},chatUi:{label:"VS Code",shortLabel:"VS Code-style host",pickerDescription:"Visual Studio Code chat panel chrome",logoSrc:Dn,family:"chatgpt",resolveChatBackground:e=>Dd[e],loadingIndicator:Ro}},gu={id:"agentcore",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.agentcore,resolveStyleVariables:ce},chatUi:{label:"AgentCore",shortLabel:"AgentCore-style host",pickerDescription:"AWS Bedrock AgentCore runtime (text servers only)",logoSrc:Ln,family:"claude",resolveChatBackground:e=>de[e],loadingIndicator:Pt}},hu={id:"n8n",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.n8n,resolveStyleVariables:ce},chatUi:{label:"n8n",shortLabel:"n8n-style host",pickerDescription:"n8n MCP Client Tool (tools-only)",logoSrc:Un,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:Yd}},mu={id:"gemini",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.gemini,resolveStyleVariables:ce},chatUi:{label:"Gemini",shortLabel:"Gemini-style host",pickerDescription:"Gemini (MCP Apps, no sandbox capability)",logoSrc:qn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},fu={id:"perplexity",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.perplexity,resolveStyleVariables:ce},chatUi:{label:"Perplexity",shortLabel:"Perplexity-style host",pickerDescription:"Perplexity MCP client (tools-only)",logoSrc:zn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:Jd}},bu={id:"cline",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.cline,resolveStyleVariables:ce},chatUi:{label:"Cline",shortLabel:"Cline-style host",pickerDescription:"Cline MCP client (tools-only)",logoSrc:No,logoSrcByTheme:{light:No,dark:On},family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:Zd}},vu={id:"notion",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.notion,resolveStyleVariables:ce},chatUi:{label:"Notion",shortLabel:"Notion-style host",pickerDescription:"Notion AI agent (tools-only)",logoSrc:Fn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:Qd}},La={id:"mcpjam",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.mcpjam,resolveStyleVariables:ce,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:ct}},chatUi:{label:"MCPJam",shortLabel:"MCPJam-style host",pickerDescription:"Inspector's house chrome",logoSrc:jn,family:"claude",resolveChatBackground:e=>de[e],loadingIndicator:lt}},xu=[La,ou,au,Kp,Jp,Zp,nu,iu,lu,cu,du,{id:"copilot-cli",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z["copilot-cli"],resolveStyleVariables:ue},chatUi:{...hr.chatUi,label:"GitHub Copilot CLI",shortLabel:"GitHub Copilot CLI",pickerDescription:"GitHub Copilot CLI in a hosted sandbox",logoSrc:Fo,logoSrcByTheme:{light:Fo,dark:En}}},hr,pu,Qp,Xp,su,Gp,Yp,ru,uu,gu,hu,mu,fu,bu,vu,eu,tu],yu="#F2735B",wu={1:[0],2:[0,150],3:[0,150,300]};function ku({def:e,className:t}){if(e.kind==="dots"){const r=e.color??yu,s=e.count===1||e.count===2||e.count===3?e.count:3,a=wu[s];return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center gap-1",t),"aria-live":"polite",children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dispatch-dots","data-dot-count":s,className:"inline-flex items-center gap-1",children:a.map((n,l)=>(0,m.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full animate-thinking-dot-pulse",style:{backgroundColor:r,animationDelay:`${n}ms`}},l))})]})}const o=e.animation==="spin"?"animate-spin":e.animation==="none"?"":"animate-pulse";return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",t),"aria-live":"polite",children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsx)("img",{src:e.src,alt:"","aria-hidden":"true","data-testid":"loading-indicator-dispatch-image","data-animation":e.animation??"pulse",className:B("h-5 w-5 object-contain",o)})]})}var Et=new Map;for(const e of xu)Et.set(e.id,e);var Cu=La;function Po(e){if(e)return Et.get(e)}function Su(e){return Po(e)??Cu}function dg(e){const t=Po(e);return t?Qt(t.mcp.mcpAppsCapabilities,t.mcp.hostCapabilitiesAugment,t.mcp.hostCapabilitiesReplacement):Pa}function pg(e){const t=Po(e)?.mcp.compatRuntime;return t?.openaiApps?{injected:!0,capabilities:t.openaiAppsCapabilities??ct}:{injected:!1}}function ug(e,t){return Ue({hostStyle:e,chatUiOverride:t}).chatUi.loadingIndicator}function gg(e){return typeof e=="string"&&Et.has(e)}function _u(){return Array.from(Et.values())}function Ue(e){const t=Su(e.hostStyle),o=e.chatUiOverride;if(!o)return t;const r=o.family??t.chatUi.family,s=o.chatBackground,a=s?c=>s[c]:t.chatUi.resolveChatBackground,n=o.indicator!==void 0?Tu(o.indicator):t.chatUi.loadingIndicator,l={label:o.label??t.chatUi.label,shortLabel:o.shortLabel??t.chatUi.shortLabel,pickerDescription:o.pickerDescription??t.chatUi.pickerDescription,logoSrc:o.logoSrc??t.chatUi.logoSrc,logoSrcByTheme:o.logoSrc!==void 0?void 0:t.chatUi.logoSrcByTheme,family:r,resolveChatBackground:a,loadingIndicator:n},h=o.styleVariables,d=h?c=>h[c]:t.mcp.resolveStyleVariables,f={...t.mcp,fontCss:o.fontCss??t.mcp.fontCss,resolveStyleVariables:d};return{id:t.id,chatUi:l,mcp:f}}function Tu(e){function t({className:o}){return(0,v.createElement)(ku,{def:e,className:o})}return t.displayName=`CustomHostIndicator(${e.kind})`,t}function hg(e){if(typeof e!="string")return null;const t=e.trim();return t.length>0?t:null}function mg(e,t){return Ue({hostStyle:e,chatUiOverride:t}).chatUi.label}function Iu(e,t,o){return Au(Ue({hostStyle:e,chatUiOverride:t}).chatUi,o)}function Au(e,t){return t?e.logoSrcByTheme?.[t]??e.logoSrc:e.logoSrc}function Ru(e){const t=e.trim().toLowerCase().replace(/\s+/g,"");if(!t)return null;for(const o of _u()){const r=o.id.toLowerCase(),s=o.chatUi.label.toLowerCase().replace(/\s+/g,""),a=o.chatUi.shortLabel.toLowerCase().replace(/\s+/g,"");if(t===r||t===s||t===a)return o.id}return null}function fg(e,t){const o=Ru(e);return o?Iu(o,void 0,t):null}function bg(e,t){return e?Ue({hostStyle:e,chatUiOverride:t}).chatUi.family:null}function vg(e,t,o){if(e)return Ue({hostStyle:e,chatUiOverride:o}).chatUi.resolveChatBackground(t)}function xg(e,t,o){const r=Ue({hostStyle:e,chatUiOverride:o}),s=r.mcp.resolveStyleVariables(t),a=r.chatUi.resolveChatBackground(t),n=s,l=(h,d)=>n[h]??d;return{"--background":a,"--foreground":l("--color-text-primary",a),"--card":l("--color-background-primary",a),"--card-foreground":l("--color-text-primary",a),"--popover":l("--color-background-primary",a),"--popover-foreground":l("--color-text-primary",a),"--secondary":l("--color-background-secondary",a),"--secondary-foreground":l("--color-text-primary",a),"--muted":l("--color-background-secondary",a),"--muted-foreground":l("--color-text-secondary",a),"--accent":l("--color-background-tertiary",a),"--accent-foreground":l("--color-text-primary",a),"--border":l("--color-border-secondary",a),"--input":l("--color-border-primary",a),"--ring":l("--color-ring-primary",a),"--font-sans":l("--font-sans","ui-sans-serif, sans-serif"),"--shadow-sm":n["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow":n["--shadow"]??n["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":n["--shadow-md"]??"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":n["--shadow-lg"]??"0 4px 8px -2px rgba(0, 0, 0, 0.1)"}}var Mu=v.createContext(null);Mu.displayName="DataRouter";var Pu=v.createContext(null);Pu.displayName="DataRouterState";var Eu=v.createContext(null);Eu.displayName="DataRouterData";var Du=v.createContext(null);Du.displayName="DataRouterNavigation";var Lu=v.createContext(!1);function yg(){return v.useContext(Lu)}var Uu=v.createContext({isTransitioning:!1});Uu.displayName="ViewTransition";var zu=v.createContext(null);zu.displayName="Fetchers";var Ou=v.createContext(null);Ou.displayName="Await";var Ua=v.createContext(null);Ua.displayName="Navigation";var me=v.createContext(null);me.displayName="Location";var Fu=v.createContext({outlet:null,matches:[],isDataRoute:!1});Fu.displayName="Route";var Nu=v.createContext(!1);Nu.displayName="IsDataRoute";var ju=v.createContext(void 0);ju.displayName="RouteId";var qu=v.createContext(null);qu.displayName="RouteError";var za=null;function Oa(){return za}function wg(e){za=e}var Fa=[{id:"home",scope:"project",canonicalPath:"/home",routePatterns:["/","home"],navSegments:["home"],title:"Home",purpose:"The landing screen: a chat box plus an overview of the workspace and what changed recently.",userActivities:["See workspace counts (teammates, projects, servers, eval suites, recent tool executions)","Start a chat with this assistant","Read What's New updates","Connect a recommended MCP server or create a recommended host"],agentTools:{kind:"none",reason:"Overview screen; the primary agent entry is the chat itself — no workflow mutations to drive here."},showInAtlas:!0},{id:"servers",scope:"project",canonicalPath:"/servers",routePatterns:["servers","servers/plugins/:pluginId","servers/:serverId"],navSegments:["servers","client-config"],title:"Connect",purpose:"Connect and manage the MCP servers in the current project. The starting point for most work — most other screens act on a server connected here.",userActivities:["Add an MCP server by URL (HTTP) or command (STDIO)","Connect, disconnect, reconnect, or remove a server","Authorize a server that requires OAuth","Edit a server's transport, headers, environment variables, or auth method","Inspect a connection's status and configuration"],agentTools:{kind:"global"},showInAtlas:!0},{id:"hosts",scope:"project",canonicalPath:"/hosts",routePatterns:["hosts","hosts/:hostId"],navSegments:["clients"],title:"Hosts",purpose:"Model an MCP client/host (Claude, ChatGPT, Cursor, …) and configure how it behaves — its model, tools, and capabilities.",userActivities:["Create a host from a client template","Open a host's editor to set its model, system prompt, and behavior (tool approval, tool discovery)","Attach or detach the project's servers on a host","Duplicate or delete a host","Deep-link to a specific host's canvas"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"host-compare",scope:"global",canonicalPath:"/host-compare",routePatterns:["host-compare","capabilities/:capabilitySlug"],navSegments:["host-compare"],title:"Compare",purpose:"Compare MCP feature support across hosts — which clients implement which parts of the protocol.",userActivities:["Compare capability support across several hosts","Open a single capability's support page"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only comparison matrix; nothing to operate, but snapshot-only for observability so the agent can see which hosts and capabilities are being compared."},showInAtlas:!0},{id:"computer",scope:"project",canonicalPath:"/computer",routePatterns:["computer"],navSegments:["computer"],title:"Computer",purpose:"A project's cloud sandbox — the environment that runs STDIO servers, skills, and agent harnesses.",userActivities:["Start or hibernate the project's computer","Reset or delete the computer","Open a terminal (human-only)"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"registry",scope:"project",canonicalPath:"/registry",routePatterns:["registry"],navSegments:["registry"],title:"Registry",purpose:"Browse organization-shared MCP servers and mirrors of the Claude and ChatGPT connector directories, and install them into the current project.",userActivities:["Share a server with the organization","Search a mirrored connector directory (Claude or ChatGPT) by name, description, tool or skill name","Switch between the Claude and ChatGPT directories","Install a directory or organization server into the project","Choose which endpoint a multi-region connector uses, or enter their own instance URL"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"playground",scope:"project",canonicalPath:"/playground",routePatterns:["playground"],navSegments:["playground","chat"],title:"Playground",purpose:"Test a connected MCP server against a real model, and preview MCP Apps / ChatGPT apps UI. This is where tool calls are actually run and their results rendered.",userActivities:["Chat with a model that has the selected servers' tools","Select a tool and fill in its parameters","Execute a tool and inspect the result","Emulate app context: theme, device, display mode, locale, time zone"],hasSnapshotProvider:!0,agentTools:{kind:"global"},showInAtlas:!0},{id:"triggers",scope:"project",canonicalPath:"/triggers",routePatterns:["triggers"],navSegments:["triggers"],title:"Triggers",purpose:"Run an agent unattended on MCPJam's hosted runner whenever a subscribed MCP event arrives, and review each run.",userActivities:["Create a trigger on an event subscription with instructions, a model and budgets","Enable, disable, edit or delete a trigger","Browse a trigger's run history and a run's tool calls, result and parked reason"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:"Triggers spend money and act unattended on a member's credentials; configuring them stays a deliberate human action."},showInAtlas:!0},{id:"scenarios",scope:"project",canonicalPath:"/user-testing",routePatterns:["user-testing","user-testing/new","user-testing/:scenarioId/edit","user-testing/:scenarioId"],navSegments:["scenarios"],title:"User Testing",purpose:"Share a scenario — one client, one server — with real people, then review the sessions they had with it.",userActivities:["Create a scenario (pick a server, a client, and who can open it)","Browse the project's user-testing scenarios and how many testers each has had","Open a scenario to copy its share link or invite testers by email","Review a scenario's tester sessions (trace, chat, raw)","Review the feedback clusters across one scenario's sessions","Delete a scenario (unpublish it; the client stays in Connect)"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"swarms",scope:"project",canonicalPath:"/swarms",routePatterns:["swarms","swarms/new","swarms/:swarmId"],navSegments:["swarms"],title:"Swarms",purpose:"Run many simulated agent sessions against your hosts at scale: define a persona, give it a goal across one or more hosts, launch a run, and review how each session did.",userActivities:["Create a persona (a simulated user with a role and personality)","Set up a goal a persona pursues across one or more hosts","Launch a goal run that fans out many sessions and spends quota","Open a Swarm Run detail to review score, insights, and sessions","Review each run's sessions, readiness, and goal-completion scores","Promote a strong session into an eval test case"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"project-environments",scope:"project",canonicalPath:"/environments",routePatterns:["environments","environments/:environmentId"],navSegments:["environments"],title:"Environments",purpose:"Manage the project's environments — named bundles of one client, an optional server group, and optional pinned skills that eval suites and goals run against.",userActivities:["Create or edit an environment (name, client, server group, skills)","Archive or restore an environment","Review which client and server group an environment resolves to"],agentTools:{kind:"none",reason:"Admin-flavored configuration surface behind a rollout flag; no agent automation until the feature is generally available."},showInAtlas:!1},{id:"sessions",scope:"project",canonicalPath:"/sessions",routePatterns:["sessions"],navSegments:["sessions"],title:"Sessions",purpose:"Browse every conversation in the project in one feed — Playground chats, User Testing sessions, eval iterations, and swarm runs — filter by source, and search by title.",userActivities:["Browse the project's sessions across all surfaces, newest first","Filter sessions by source (Playground, User Testing, Eval, Swarm) or status","Search sessions by title","Open a session to review its transcript"],agentTools:{kind:"none",reason:"Read-only browse surface behind a rollout flag; no agent automation until the unified feed is generally available."},showInAtlas:!1},{id:"evals",scope:"project",canonicalPath:"/evals",routePatterns:["evals","evals/create","evals/suite/:suiteId","evals/suite/:suiteId/settings","evals/suite/:suiteId/settings/evaluators","evals/suite/:suiteId/runs/:runId","evals/suite/:suiteId/test/:testId","evals/suite/:suiteId/test/:testId/edit","evals/runs","evals/runs/create","evals/runs/commit/:commitSha","evals/runs/suite/:suiteId","evals/runs/suite/:suiteId/settings","evals/runs/suite/:suiteId/settings/evaluators","evals/runs/suite/:suiteId/runs/:runId","evals/runs/suite/:suiteId/test/:testId","evals/runs/suite/:suiteId/test/:testId/edit"],navSegments:["evals"],title:"Legacy eval links",purpose:"Compatibility routes for saved eval links that redirect to Evaluate.",userActivities:["Open a saved suite or run link in Evaluate"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!1},{id:"evaluate",scope:"project",canonicalPath:"/evaluate",routePatterns:["evaluate","evaluate/create","evaluate/eval-server/:serverId","evaluate/suite/:suiteId","evaluate/suite/:suiteId/settings","evaluate/suite/:suiteId/settings/evaluators","evaluate/suite/:suiteId/runs/:runId","evaluate/suite/:suiteId/runs/:runId/compare","evaluate/suite/:suiteId/runs/:runId/cases/:caseId","evaluate/suite/:suiteId/runs/:runId/cases/:caseId/iterations/:iterationId","evaluate/suite/:suiteId/test/:testId","evaluate/suite/:suiteId/test/:testId/edit"],navSegments:["evaluate"],title:"Evaluate",purpose:"Create and run eval suites, configure grading in Suite Settings, and review run history, case results, and comparisons.",userActivities:["Browse eval suites from the landing table","Start a first-run preview from a connected server","Create a suite on the full-page create flow","Open a suite's overview to see its run history and cases","Open a run to inspect each step, tool call, and score"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:'Uses the snapshot and tool group registered under surfaceId "evals".'},showInAtlas:!0},{id:"tools",scope:"project",canonicalPath:"/tools",routePatterns:["tools"],navSegments:["tools"],title:"Tools",purpose:"List and invoke the tools a connected MCP server exposes, without a model in the loop.",userActivities:["Browse a server's tools","Invoke a tool directly"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Snapshot-only: tool EXECUTION is already covered by the global ui_execute_tool, so a screen tool would duplicate it — this surface only exposes state (its tools, selection, last result) via ui_snapshot_app."},showInAtlas:!0},{id:"resources",scope:"project",canonicalPath:"/resources",routePatterns:["resources"],navSegments:["resources"],title:"Resources",purpose:"List and read the resources a connected MCP server exposes.",userActivities:["Browse a server's resources and resource templates","Read a resource, or resolve and read a template"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"prompts",scope:"project",canonicalPath:"/prompts",routePatterns:["prompts"],navSegments:["prompts"],title:"Prompts",purpose:"List and render the prompts a connected MCP server exposes.",userActivities:["Browse a server's prompts","Render a prompt with arguments"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"tasks",scope:"project",canonicalPath:"/tasks",routePatterns:["tasks"],navSegments:["tasks"],title:"Tasks",purpose:"Inspect long-running MCP tasks a connected server exposes, and their status.",userActivities:["Browse a server's tasks","Inspect a task's status"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only view of a server's long-running tasks; nothing to operate, but snapshot-only for observability so the agent can see the tasks and their statuses."},showInAtlas:!0},{id:"events",scope:"project",canonicalPath:"/events",routePatterns:["events"],navSegments:["events"],title:"Events",purpose:"Inspect the MCP Events (draft extension) a connected server declares, subscribe to them, and watch deliveries arrive live.",userActivities:["Check whether the selected server declares capabilities.events","Browse a server's event types and their input and payload schemas","Subscribe to an event by poll, push or webhook under the draft or ChatGPT profile","Pause, resume, remove or rotate the secret of a subscription","Watch the live delivery feed and rejected deliveries","Send a simulated event to a subscription"],hasSnapshotProvider:!1,agentTools:{kind:"none",reason:"Subscriptions register webhooks and hold credentials-bound upstream state; creating or removing them stays a deliberate human action while the extension is a draft."},showInAtlas:!0},{id:"skills",scope:"project",canonicalPath:"/skills",routePatterns:["skills"],navSegments:["skills"],title:"Skills",purpose:"View, add, and manage the skills available to hosts.",userActivities:["Browse skills","Add or edit a skill"],agentTools:{kind:"none",reason:"Tool group planned (browse skills, prefill a new skill for review); tracked in the surface-tools rollout."},showInAtlas:!0},{id:"learning",scope:"project",canonicalPath:"/learning",routePatterns:["learning"],navSegments:["learning"],title:"Learning",purpose:"Learning material about MCP and the inspector.",userActivities:["Read or watch learning material"],agentTools:{kind:"none",reason:"Read-only learning material; there is nothing here for an agent to operate."},showInAtlas:!0},{id:"conformance",scope:"project",canonicalPath:"/conformance",routePatterns:["conformance","conformance/runs/:runId"],navSegments:["conformance"],title:"Conformance",purpose:"Run protocol conformance checks against a connected MCP server and review what it does and doesn't implement correctly.",userActivities:["Run a conformance scorecard against a server","Review individual check results"],agentTools:{kind:"none",reason:"Tool group planned (run a conformance scorecard against a server, read results); tracked in the surface-tools rollout."},showInAtlas:!0},{id:"compatibility",scope:"project",canonicalPath:"/compatibility",routePatterns:["compatibility"],navSegments:["compatibility"],title:"Compatibility",purpose:"Check whether a server works with specific MCP hosts, and where it falls short.",userActivities:["Review a server's host compatibility"],hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only review of a server's host compatibility; nothing to operate, but snapshot-only for observability so the agent can see which servers and hosts are on the matrix."},showInAtlas:!0},{id:"readiness",scope:"project",canonicalPath:"/readiness",routePatterns:["readiness"],navSegments:["readiness"],title:"Readiness",purpose:"Rehearse a directory submission for a saved server: fill a copy of the Claude connector portal and run MCPJam's checks on the answers and the server.",userActivities:["Start or open a rehearsal for a saved server","Fill the portal's fields and read check results under them","Run the readiness checks"],agentTools:{kind:"none",reason:"Agents edit and run submissions through the directory submission operations, not the page."},showInAtlas:!1},{id:"oauth-flow",scope:"project",canonicalPath:"/oauth-flow",routePatterns:["oauth-flow"],navSegments:["oauth-flow"],title:"OAuth Debugger",purpose:"Step through an MCP server's OAuth flow and see exactly what happens at each stage — discovery, registration, authorization, token exchange.",userActivities:["Run an OAuth flow against a server step by step","Inspect discovery metadata and each request/response"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{id:"xaa-flow",scope:"project",canonicalPath:"/xaa-flow",routePatterns:["xaa-flow"],navSegments:["xaa-flow"],title:"XAA Debugger",purpose:"Debug Cross-App Access (identity assertion / ID-JAG) flows between an identity provider and a resource app.",userActivities:["Run an XAA flow and inspect each token exchange","Configure the identity provider and resource app"],agentTools:{kind:"none",reason:"Interactive auth debugger — human-in-the-loop by design; the agent must not drive token exchanges."},showInAtlas:!0},{id:"tracing",scope:"project",canonicalPath:"/tracing",routePatterns:["tracing"],navSegments:["tracing"],title:"Tracing",purpose:"Inspect traces of chat turns and tool calls.",userActivities:["Review turn traces"],hostedBlocked:!0,hasSnapshotProvider:!0,agentTools:{kind:"none",reason:"Read-only review of chat-turn traces; nothing to operate, but snapshot-only for observability so the agent can see the recent traffic summary."},showInAtlas:!0},{id:"settings",scope:"global",canonicalPath:"/settings",routePatterns:["settings","settings/about","settings/appearance","settings/api-keys","settings/integrations","settings/integrations/github","settings/integrations/github/callback"],navSegments:["settings"],title:"Settings",purpose:"Application settings, including API keys and third-party integrations.",userActivities:["Change app settings","Manage API keys","Connect integrations (GitHub Checks, Slack)"],agentTools:{kind:"none",reason:"Admin surface holding API keys; the agent must not automate credential management."},showInAtlas:!0},{id:"project-settings",scope:"project",canonicalPath:"/project-settings",routePatterns:["project-settings","project-settings/members","project-settings/secrets"],navSegments:["project-settings"],title:"Project settings",purpose:"Settings for the current project, including its members and configuration.",userActivities:["Change project settings","Manage project members"],agentTools:{kind:"none",reason:"Admin surface (project members and configuration); the agent must not automate membership changes."},showInAtlas:!0},{id:"organizations",scope:"global",canonicalPath:"/organizations",routePatterns:["organizations","organizations/:orgId","organizations/:orgId/integrations","organizations/:orgId/members","organizations/:orgId/sharing","organizations/:orgId/audit-log","organizations/:orgId/data-management","organizations/:orgId/security","organizations/:orgId/api-keys","organizations/:orgId/plans","organizations/:orgId/billing","organizations/:orgId/billing/byok","organizations/:orgId/models/usage","organizations/:orgId/billing/usage","organizations/:orgId/models","organizations/:orgId/slack","organizations/:orgId/discord","organizations/:orgId/observability"],navSegments:["organizations"],title:"Organizations",purpose:"Organization administration: members, billing, and which models the org allows.",userActivities:["Manage organization members","Review or change billing","Configure allowed models and provider keys","Turn credential export on or off"],agentTools:{kind:"none",reason:"Admin surface (members, billing, provider keys); the agent must not automate billing or access."},showInAtlas:!0},{id:"profile",scope:"global",canonicalPath:"/profile",routePatterns:["profile"],navSegments:["profile"],title:"Profile",purpose:"The signed-in user's own profile.",userActivities:["Review or edit your profile"],agentTools:{kind:"none",reason:"The user's own account details; the agent must not automate identity or profile changes."},showInAtlas:!0},{id:"support",scope:"global",canonicalPath:"/settings/support",routePatterns:["settings/support"],navSegments:["support"],title:"Support",purpose:"Get help and contact MCPJam support.",userActivities:["Contact support"],agentTools:{kind:"none",reason:"Contact-support screen; a human conversation, nothing for an agent to automate."},showInAtlas:!0},{id:"webmcp",scope:"project",canonicalPath:"/webmcp",routePatterns:["webmcp"],navSegments:["webmcp"],title:"WebMCP",purpose:"Inspect a live web page's WebMCP tools: what it registers, what they accept, and what they return when invoked.",userActivities:["Open a page in a managed browser and watch the tools it registers","Invoke a page tool with structured input and read its result","Review the activity timeline across navigations, with screenshots"],agentTools:{kind:"none",reason:"Drives a live third-party web page; the in-app agent must not operate someone's site, and page output is untrusted."},showInAtlas:!1}];function Eo(){return Fa}var Vu=new Map(Eo().map(e=>[e.id,e]));function kg(e){return typeof e=="string"&&Vu.has(e)}var Hu=new Map(Eo().flatMap(e=>e.navSegments.map(t=>[t,e])));function Cg(e){return Hu.get(e)}function Bu(){const e=new Set;for(const t of Fa)for(const o of t.navSegments)e.add(o);return[...e]}function $u(){const e=new Set;for(const t of Eo())if(t.hostedBlocked)for(const o of t.navSegments)e.add(o);return[...e]}var Wu={chat:"playground","app-builder":"playground","chat-v2":"playground",connect:"clients",hosts:"clients","user-testing":"scenarios","ci-evals":"evals"},Gu=$u(),Yu=new Set(Gu);function Dt(e){return Wu[e]??e}function Sg(e){return Yu.has(Dt(e))}var Ku=[{path:"redeem",kind:"special",scope:"public",standalone:!0,note:"Conference card confirmation outside onboarding and project chrome."},{path:"access-requests/:requestId",kind:"special",scope:"global",note:"Where an approver answers a project access request from the bell or the email."},{path:"web-accounts/:webAccountId/reconnect",kind:"special",scope:"global",note:"Where an admin signs a web account in again; its project rides in the query, as the backend's email links it."},{path:"settings/appearance",kind:"screen",surfaceId:"settings",scope:"global"},{path:"organizations/:orgId/integrations",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"settings/about",kind:"screen",surfaceId:"settings",scope:"global"},{path:"organizations/:orgId/members",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/sharing",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing/byok",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing/usage",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/models/usage",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/api-keys",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/plans",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/data-management",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/security",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/audit-log",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"project-settings/members",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"project-settings/secrets",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"/",kind:"screen",surfaceId:"home",scope:"project"},{path:"home",kind:"screen",surfaceId:"home",scope:"project"},{path:"servers",kind:"screen",surfaceId:"servers",scope:"project"},{path:"servers/plugins/:pluginId",kind:"screen",surfaceId:"servers",scope:"project"},{path:"servers/:serverId",kind:"screen",surfaceId:"servers",scope:"project"},{path:"clients",kind:"redirect",note:"Legacy: the tab was renamed Client → Host; redirects to /hosts.",scope:"project"},{path:"clients/:hostId",kind:"redirect",note:"Legacy deep link; re-encoded through buildHostsPath.",scope:"project"},{path:"host-compare",kind:"screen",surfaceId:"host-compare",scope:"global"},{path:"embed/host-compare",kind:"special",note:"Chrome-less vanity surface (caniuse.dev): no sidebar, no NUX.",scope:"public"},{path:"compare",kind:"special",scope:"public",note:"Public comparison matrix."},{path:"embed/score",kind:"special",note:"Chrome-less vanity surface (score.mcpjam.com): the conformance-score runner. No sidebar, no NUX.",scope:"public"},{path:"embed/bench",kind:"special",note:"Chrome-less vanity surface (score.mcpjam.com): the Connector Bench runner. No sidebar, no NUX.",scope:"public"},{path:"embed/bench/:runId",kind:"special",note:"The same runner, resumed. The run id in the URL is the whole client state — refresh and a second tab both just re-read it.",scope:"public"},{path:"results/:runToken",kind:"special",note:"One score run's report. Public by link token — no session required to read it.",scope:"public"},{path:"bench/results/:secret",kind:"special",note:"One benchmark scorecard. Public by link secret — no session required to read it.",scope:"public"},{path:"capabilities/:capabilitySlug",kind:"screen",surfaceId:"host-compare",scope:"global"},{path:"computer",kind:"screen",surfaceId:"computer",scope:"project"},{path:"hosts",kind:"screen",surfaceId:"hosts",scope:"project"},{path:"hosts/:hostId",kind:"screen",surfaceId:"hosts",scope:"project"},{path:"registry",kind:"screen",surfaceId:"registry",scope:"project"},{path:"tools",kind:"screen",surfaceId:"tools",scope:"project"},{path:"resources",kind:"screen",surfaceId:"resources",scope:"project"},{path:"prompts",kind:"screen",surfaceId:"prompts",scope:"project"},{path:"tasks",kind:"screen",surfaceId:"tasks",scope:"project"},{path:"events",kind:"screen",surfaceId:"events",scope:"project"},{path:"skills",kind:"screen",surfaceId:"skills",scope:"project"},{path:"learning",kind:"screen",surfaceId:"learning",scope:"project"},{path:"conformance",kind:"screen",surfaceId:"conformance",scope:"project"},{path:"conformance/runs/:runId",kind:"screen",surfaceId:"conformance",scope:"project"},{path:"conformance/shared/:token",kind:"special",note:"Read-only shared conformance run. Redeem-based (guest session or WorkOS). Legacy HMAC tokens read as invalid on this page; /api/web/conformance-shared still serves them until I6.",scope:"public"},{path:"compatibility",kind:"screen",surfaceId:"compatibility",scope:"project"},{path:"readiness",kind:"screen",surfaceId:"readiness",scope:"project"},{path:"oauth-flow",kind:"screen",surfaceId:"oauth-flow",scope:"project"},{path:"xaa-flow",kind:"screen",surfaceId:"xaa-flow",scope:"project"},{path:"tracing",kind:"screen",surfaceId:"tracing",scope:"project"},{path:"webmcp",kind:"screen",surfaceId:"webmcp",scope:"project"},{path:"chat",kind:"redirect",note:"Legacy alias; redirects to /playground.",scope:"project"},{path:"chat/*",kind:"redirect",note:"Legacy deep link; redirects to /playground so old bookmarks land there rather than the catch-all.",scope:"project"},{path:"user-testing",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/new",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/:scenarioId/edit",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"user-testing/:scenarioId",kind:"screen",surfaceId:"scenarios",scope:"project"},{path:"scenarios",kind:"redirect",note:"Legacy: the Scenario surface is now User Testing. Redirects to /user-testing, preserving search + hash so old ?host=&session= links keep working.",scope:"project"},{path:"swarms",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"swarms/new",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"swarms/:swarmId",kind:"screen",surfaceId:"swarms",scope:"project"},{path:"environments",kind:"screen",surfaceId:"project-environments",scope:"project"},{path:"environments/:environmentId",kind:"screen",surfaceId:"project-environments",scope:"project"},{path:"sessions",kind:"screen",surfaceId:"sessions",scope:"project"},{path:"playground",kind:"screen",surfaceId:"playground",scope:"project"},{path:"triggers",kind:"screen",surfaceId:"triggers",scope:"project"},{path:"settings/support",kind:"screen",surfaceId:"support",scope:"global"},{path:"support",kind:"redirect",note:"Support moved to Settings",scope:"global"},{path:"settings",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/api-keys",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations/github",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/integrations/github/callback",kind:"screen",surfaceId:"settings",scope:"global"},{path:"settings/github-checks",kind:"redirect",note:"Legacy: the page moved under Integrations; redirects to /settings/integrations/github.",scope:"global"},{path:"profile",kind:"screen",surfaceId:"profile",scope:"global"},{path:"project-settings",kind:"screen",surfaceId:"project-settings",scope:"project"},{path:"client-config",kind:"redirect",note:"Legacy alias; redirects to /servers.",scope:"project"},{path:"organizations",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/billing",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/models",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/slack",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/discord",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/observability",kind:"screen",surfaceId:"organizations",scope:"global"},{path:"organizations/:orgId/budget",kind:"redirect",note:"Spend budget was removed; auto-reload limits live under Billing",scope:"global"},{path:"evals/shared/:token",kind:"special",note:"Read-only shared eval run. Redeem-based (guest session or WorkOS). Chrome-less.",scope:"public"},{path:"evals",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/create",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/settings",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evals/runs",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/create",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/commit/:commitSha",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/settings",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evals",scope:"project"},{path:"evals/runs/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evaluate",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/create",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/eval-server/:serverId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/settings",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/settings/evaluators",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/edit",kind:"redirect",note:"Old Suite settings address; redirects to …/settings with its query.",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/cases/:caseId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/cases/:caseId/iterations/:iterationId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/runs/:runId/compare",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/test/:testId",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"evaluate/suite/:suiteId/test/:testId/edit",kind:"screen",surfaceId:"evaluate",scope:"project"},{path:"ci-evals",kind:"redirect",note:"Legacy: redirects to public Evaluate.",scope:"project"},{path:"ci-evals/*",kind:"redirect",note:"Legacy CI links open Evaluate. Run links preserve context; commit links open the unfiltered run table.",scope:"project"},{path:"billing",kind:"special",note:"Post-checkout landing. Neutral loading screen while the billing deep-link effect hands off to the organization's billing page.",scope:"global"},{path:"login",kind:"special",note:"WorkOS Initiate Login URL for IdP-initiated SSO; starts a fresh app-originated sign-in.",scope:"public"},{path:"callback",kind:"special",note:"Auth callback landing. Renders a neutral loading screen, never a project screen: App restores the stored sign-in return path from here, and flashing another project's Servers first is exactly what the canonical URL work exists to stop.",scope:"public"},{path:"oauth/callback/*",kind:"special",note:"MCP server OAuth callback. Neutral landing; useServerState restores the exact saved route.",scope:"public"},{path:"*",kind:"special",note:"Explicit not found. It used to render Servers, which meant an unknown URL silently showed a valid-looking screen for whatever project the viewer happened to be parked on.",scope:"public"}];function Ju(e,t){if(e==="*")return"splat";if(e==="/")return t.length===0?"exact":null;const o=e.split("/").filter(Boolean),r=o[o.length-1]==="*",s=r?o.slice(0,-1):o;if(r?t.length<s.length:t.length!==s.length)return null;let a=!1;for(let n=0;n<s.length;n+=1){const l=s[n];if(l.startsWith(":")){if(!t[n])return null;a=!0;continue}if(l!==t[n])return null}return r?"splat":a?"param":"exact"}function Zu(e){const t=(typeof e=="string"?e.split(/[?#]/)[0]:"").split("/").filter(Boolean);let o=null,r=null;for(const s of Ku){if(s.path==="*")continue;const a=Ju(s.path,t);if(a==="exact")return s;a==="param"&&!o&&(o=s),a==="splat"&&!r&&(r=s)}return o??r}function Qu(e){return Zu(e)?.scope??null}function Xu(e){return Qu(e)==="project"}function e1(e){return e==="members"||e==="sharing"||e==="audit-log"||e==="data-management"||e==="security"||e==="integrations"||e==="api-keys"||e==="plans"?e:e==="billing"?"billing":e==="models"?"models":e==="slack"?"slack":e==="discord"?"discord":e==="observability"?"observability":"overview"}var I={root:"/",home:"/home",servers:"/servers",hosts:"/hosts",hostCompare:"/host-compare",embedHostCompare:"/embed/host-compare",caniuseCompare:"/compare",embedScore:"/embed/score",embedBench:"/embed/bench",scoreResults:"/results",benchResults:"/bench/results",capabilities:"/capabilities",computer:"/computer",registry:"/registry",tools:"/tools",resources:"/resources",prompts:"/prompts",tasks:"/tasks",events:"/events",auth:"/auth",skills:"/skills",learning:"/learning",conformance:"/conformance",conformanceRuns:"/conformance/runs",conformanceShared:"/conformance/shared",compatibility:"/compatibility",readiness:"/readiness",oauthFlow:"/oauth-flow",xaaFlow:"/xaa-flow",tracing:"/tracing",webmcp:"/webmcp",scenarios:"/scenarios",userTesting:"/user-testing",swarms:"/swarms",environments:"/environments",sessions:"/sessions",playground:"/playground",triggers:"/triggers",support:"/settings/support",settings:"/settings",profile:"/profile",projectSettings:"/project-settings",login:"/login",callback:"/callback",billing:"/billing",evals:"/evals",evalsRuns:"/evals/runs",evalsShared:"/evals/shared",evaluate:"/evaluate",organizations:"/organizations"};function _g(e){return e?`${I.servers}/${encodeURIComponent(e)}`:I.servers}function Tg(e){return e?`${I.servers}/plugins/${encodeURIComponent(e)}`:I.servers}function Ig(e){return e?`${I.environments}/${encodeURIComponent(e)}`:I.environments}function Ag(e){return e?`${I.hosts}/${encodeURIComponent(e)}`:I.hosts}function Rg(e){if(!e||e.length===0)return I.hostCompare;const t=e.map(r=>r.trim()).filter(r=>r.length>0);if(t.length===0)return I.hostCompare;const o=new URLSearchParams({hosts:t.join(",")});return`${I.hostCompare}?${o.toString()}`}var Mg=`${I.userTesting}/new`,t1=new Set(["sessions","insights","findings"]);function Pg(e){return e===0?"insights":"findings"}function Eg(e,t={}){const o=`${I.userTesting}/${encodeURIComponent(e)}`,r=new URLSearchParams,s=t.defaultTab??"findings";t.tab&&t.tab!==s&&r.set("tab",t.tab),t.session&&r.set("session",t.session),t.sel&&r.set("sel",t.sel),t.view&&t.view!=="flow"&&r.set("view",t.view);const a=r.toString();return a?`${o}?${a}`:o}function Dg(e){return`${I.userTesting}/${encodeURIComponent(e)}/edit`}function Lg(e){const t=new URLSearchParams(e).get("tab");return t==="edit"||t==="share"||t==="preview"}function Ug(e,t="findings"){const o=new URLSearchParams(e),r=o.get("tab");return r==="clusters"?"insights":r&&t1.has(r)?r:o.get("session")?"sessions":t}var zg=`${I.swarms}/new`;function Og(e,t={}){const o=`${I.swarms}/${encodeURIComponent(e)}`,r=new URLSearchParams;t.tab&&r.set("tab",t.tab),t.session&&r.set("session",t.session),t.sel&&r.set("sel",t.sel),t.finding&&r.set("finding",t.finding);const s=r.toString();return s?`${o}?${s}`:o}function Fg(e){const t=new URLSearchParams(e),o=t.get("tab");return o==="run"?"run":o==="sessions"?"sessions":o==="insights"||o==="personas"||o==="overview"?"insights":o==="findings"?"findings":t.get("session")?"sessions":"findings"}function Ng(e){const t=new URLSearchParams({persona:e.personaRefId,run:e.runId,host:e.hostId,session:e.threadId});return`${I.swarms}?${t.toString()}`}function jg(e){const t=new URLSearchParams(e),o=r=>{const s=t.get(r);return s&&s.trim()?s:void 0};return{personaRefId:o("persona"),runId:o("run"),hostId:o("host"),threadId:o("session")}}function qg(e={}){const t=new URLSearchParams;e.session&&t.set("session",e.session);const o=t.toString(),r=o?`${I.sessions}?${o}`:I.sessions;return e.project?De(e.project,r):r}function o1(e,t){return t==="members"||t==="sharing"||t==="audit-log"||t==="data-management"||t==="security"||t==="integrations"?`/organizations/${e}/${t}`:t==="api-keys"||t==="plans"?`/organizations/${e}/${t}`:t==="billing"?`/organizations/${e}/billing`:t==="models"?`/organizations/${e}/models`:t==="slack"?`/organizations/${e}/slack`:t==="discord"?`/organizations/${e}/discord`:t==="observability"?`/organizations/${e}/observability`:`/organizations/${e}`}function Vg(e){return r1(I.evaluate,e)}function Hg(e){return`${I.evaluate}?${new URLSearchParams({run:e})}`}function Bg(e,t="",o=""){if(/^\/(?:evals\/runs|ci-evals)\/commit\/[^/]+\/*$/i.test(e)){const r=new URLSearchParams(t).get("project"),s=new URLSearchParams;return r&&s.set("project",r),`${I.evaluate}${s.size?`?${s}`:""}`}return`${e.replace(/^\/(?:evals(?:\/runs)?|ci-evals)(?=\/|$)/i,I.evaluate)}${t}${o}`}function $g(e,t="",o=""){return`${e.replace(/^\/evals(?:\/runs)?\/suite\/([^/]+)\/test\/([^/]+)(\/edit)?\/*$/i,(r,s,a,n)=>`${I.evaluate}/suite/${s}/test/${a}${n?"/edit":""}`)}${t}${o}`}function r1(e,t){switch(t.type){case"list":return e;case"create":return`${e}/create`;case"eval-server":return e!==I.evaluate?e:`${e}/eval-server/${encodeURIComponent(t.serverId)}`;case"suite-overview":{const o=new URLSearchParams;t.view&&t.view!=="runs"&&o.set("view",t.view),t.fromCommit&&o.set("fromCommit",t.fromCommit),t.importJob&&o.set("importJob",t.importJob);const r=o.toString();return`${e}/suite/${encodeURIComponent(t.suiteId)}${r?`?${r}`:""}`}case"run-detail":{const o=new URLSearchParams,r=t.resultPage;r?.target&&o.set("target",r.target),r?.tab&&o.set("tab",r.tab),t.iteration&&o.set("iteration",t.iteration),t.testCaseId&&o.set("case",t.testCaseId),t.insightsFocus&&o.set("insights","1"),t.compareToRunId&&o.set("compareTo",t.compareToRunId);const s=o.toString();return`${e}/suite/${encodeURIComponent(t.suiteId)}/runs/${encodeURIComponent(t.runId)}${t.comparison?"/compare":""}${r?`/cases/${encodeURIComponent(r.caseKey)}${r.iterationId?`/iterations/${encodeURIComponent(r.iterationId)}`:""}`:""}${s?`?${s}`:""}`}case"test-detail":{const o=new URLSearchParams;t.iteration&&o.set("iteration",t.iteration);const r=o.toString();return`${e}/suite/${encodeURIComponent(t.suiteId)}/test/${encodeURIComponent(t.testId)}${r?`?${r}`:""}`}case"test-edit":{const o=new URLSearchParams;t.openCompare&&o.set("compare","1"),t.checks&&o.set("checks","1"),t.iteration&&o.set("iteration",t.iteration),t.fromEvalServer&&o.set("fromEvalServer",t.fromEvalServer);const r=o.toString();return`${e}/suite/${encodeURIComponent(t.suiteId)}/test/${encodeURIComponent(t.testId)}/edit${r?`?${r}`:""}`}case"suite-edit":return`${e}/suite/${encodeURIComponent(t.suiteId)}/settings${t.tab==="evaluators"?"/evaluators":""}${t.fromCaseChecks?`?fromCaseChecks=${encodeURIComponent(t.fromCaseChecks)}`:""}`;case"commit-detail":{if(e!==I.evalsRuns)return e;const o=new URLSearchParams;t.suite&&o.set("suite",t.suite),t.iteration&&o.set("iteration",t.iteration);const r=o.toString();return`${e}/commit/${encodeURIComponent(t.commitSha)}${r?`?${r}`:""}`}}}function s1(){const e=Oa()?.state?.location?.pathname;return e||Ke()}function Na(e,t){if(typeof e!="string"||!e||e.startsWith("?")||e.startsWith("#")||!br(e)||Nt(e))return e;const o=Nt(t??s1());if(!o)return e;const r=e.split(/[?#]/)[0];return Xu(r)?De(o.projectId,e):e}function a1(e,t){const o=t?.unscoped?e:Na(e),r=Oa();if(r){r.navigate(o,{replace:t?.replace,state:t?.state});return}if(!window.dispatchEvent(new Event("settings-before-navigation",{cancelable:!0})))return;const s=t?.state??{};t?.replace?window.history.replaceState(s,"",o):window.history.pushState(s,"",o),window.dispatchEvent(new PopStateEvent("popstate"))}function Wg(){const e=(0,v.useContext)(Ua),t=(0,v.useContext)(me),o=e?.navigator,r=t?.location.pathname;return(0,v.useCallback)((s,a)=>{const n=a?.unscoped?s:Na(s,r);if(o){a?.replace?o.replace(n,a.state):o.push(n,a?.state);return}a1(n,a)},[o,r])}function Gg(){const e=(0,v.useContext)(me),[t,o]=(0,v.useState)(Ke);return(0,v.useLayoutEffect)(()=>{if(e||typeof window>"u")return;const r=()=>{o(Ke())};return window.addEventListener("popstate",r),()=>{window.removeEventListener("popstate",r)}},[e]),l1(e?.location.pathname??t)}function Yg(){const e=(0,v.useContext)(me),[t,o]=(0,v.useState)(Ke);return(0,v.useLayoutEffect)(()=>{if(e||typeof window>"u")return;const r=()=>o(Ke());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[e]),e?.location.pathname??t}function Kg(){const e=(0,v.useContext)(me),[t,o]=(0,v.useState)(mr);(0,v.useLayoutEffect)(()=>{if(e||typeof window>"u")return;const s=()=>o(mr());return window.addEventListener("popstate",s),()=>window.removeEventListener("popstate",s)},[e]);const r=e?.location;return r?{pathname:r.pathname||"/",search:r.search||"",hash:r.hash||""}:t}function Jg(){const e=(0,v.useContext)(me);return e?e.location.state:typeof window>"u"?void 0:window.history.state}function mr(){return typeof window>"u"?{pathname:"/",search:"",hash:""}:{pathname:window.location.pathname||"/",search:window.location.search||"",hash:window.location.hash||""}}var dt=new Set(Bu());function Zg(e){return dt.has(e)}function Qg(){return[...dt]}function n1(e){return e==="/billing"||e==="/billing/"||e==="/callback"||e==="/callback/"||e.startsWith("/oauth/callback")}function Xg(e){return e==="/oauth/callback/debug"||e.startsWith("/oauth/callback/debug/")}function eh(e,t){const o=`${I.conformanceRuns}/${encodeURIComponent(e)}`;return t?De(t,o):o}function th(e){return`${I.conformance}?${new URLSearchParams({run:e})}`}var i1="setup";function oh(){return`${I.conformance}?${i1}=1`}function rh(e){return`${I.conformanceShared}/${encodeURIComponent(e)}`}function sh(e){return`${I.evalsShared}/${encodeURIComponent(e)}`}function l1(e){const t=vr(e);if(n1(t))return"servers";if(t.startsWith(`${I.capabilities}/`))return"host-compare";const o=t.replace(/^\/+/,"").split("/")[0]||"home",r=Dt(o);return dt.has(r)?r:"servers"}function Ke(){return typeof window>"u"?"/":window.location.pathname||"/"}function ah(){const e=((0,v.useContext)(me)?.location.pathname??(typeof window>"u"?"/":window.location.pathname)).replace(/^\/+/,"").split("/");if(e[0]!=="organizations")return null;const t=e[1];if(!t)return null;const o=e1(e[2]);return{orgId:c1(t),orgSection:o}}function nh(e){const t=(0,v.useContext)(me),[o,r]=(0,v.useState)(fr);(0,v.useLayoutEffect)(()=>{if(t||typeof window>"u")return;const a=()=>r(fr());return window.addEventListener("popstate",a),()=>{window.removeEventListener("popstate",a)}},[t]);const s=t?.location.search??o;return new URLSearchParams(s).get(e)}function fr(){return typeof window>"u"?"":window.location.search||""}function c1(e){try{return decodeURIComponent(e)}catch{return e}}function Do(e,t=I.servers){const o=Nt(e);if(o){const{suffix:d,path:f}=(()=>{const g=vr(e),b=g.search(/[?#]/);return b===-1?{path:g,suffix:""}:{path:g.slice(0,b),suffix:g.slice(b)}})(),c=Do(`${f}${d}`,t);return De(o.projectId,c)}const r=e.replace(/^#/,"").replace(/^\/+/,""),s=r.indexOf("?"),a=s===-1?r:r.slice(0,s),n=s===-1?"":r.slice(s),l=a.split("/").filter(Boolean),h=Dt(l[0]||"servers");return dt.has(h)?`/${[h==="scenarios"?"user-testing":h,...l.slice(1)].join("/")}${n}`:t}function d1(e){const t=e.replace(/^#\/?/,"");if(!t)return null;const o=t.split(/[/?]/)[0]||"",r=Dt(o);return dt.has(r)?Do(r===o?t:`${r}${t.slice(o.length)}`):null}function ih(){if(typeof window>"u")return;const e=window.location.pathname||"/";if(e!=="/"&&e!=="")return;const t=d1(window.location.hash);t&&window.history.replaceState({},"",t)}function lh(e,t=I.servers){const o=e?.trim()??"";return!o||!br(o)?t:Do(o,t)}function ch(){if(typeof window>"u")return null;const e=window.location.pathname||I.root,t=window.location.search||"",o=window.location.hash||"";return e===I.root||e===""?null:`${e}${t}${o}`}function p1(e){return De(e,I.servers)}function dh(e){return De(e,I.projectSettings)}function ph(e,t){const o=(t??[]).filter(r=>r.organizationId===e).sort((r,s)=>s.updatedAt-r.updatedAt)[0];return o&&Ba(o._id)?p1(o._id):o1(e)}function uh({routeTab:e,routeOrganizationId:t,isLoadingOrganizations:o,hasRouteOrganization:r}){return e!=="organizations"||o?null:!t||!r?I.servers:null}export{Zu as $,jn as $n,Sa as $t,Bg as A,F1 as An,Cr as Ar,Cu as At,l1 as B,tr as Bn,lg as Bt,ch as C,V1 as Cn,b1 as Cr,bg as Ct,Zg as D,dd as Dn,Sr as Dr,hg as Dt,Xg as E,cd as En,dn as Er,xg as Et,ih as F,O1 as Fn,ug as Ft,Wg as G,Hc as Gn,Da as Gt,Na as H,E1 as Hn,gr as Ht,lh as I,D1 as In,gg as It,ah as J,Fi as Jn,Vp as Jt,Kg as K,Js as Kn,ct as Kt,Fg as L,L1 as Ln,_u as Lt,Qg as M,U as Mn,pg as Mt,a1 as N,ad as Nn,dg as Nt,Lg as O,j1 as On,pn as Or,fg as Ot,Do as P,z1 as Pn,Su as Pt,Ku as Q,qn as Qn,fp as Qt,jg as R,U1 as Rn,Ue as Rt,Eg as S,id as Sn,Mr as Sr,vg as St,uh as T,ld as Tn,fn as Tr,Iu as Tt,zg as U,Qc as Un,$p as Ut,I as V,P1 as Vn,Wp as Vt,Gg as W,Qs as Wn,Bp as Wt,nh as X,ks as Xn,ag as Xt,Yg as Y,$ as Yn,ng as Yt,Mg as Z,Ri as Zn,Aa as Zt,p1 as _,G1 as _n,An as _r,qu as _t,rh as a,Z1 as an,Un as ar,wg as at,Ng as b,Se as bn,x1 as br,yg as bt,Hg as c,X1 as cn,Or as cr,Eu as ct,o1 as d,ma as dn,Pn as dr,zu as dt,og as en,Nn as er,Sg as et,ph as f,Vd as fn,zr as fr,Nu as ft,dh as g,ar as gn,Ur as gr,Fu as gt,_g as h,Zt as hn,Rn as hr,Lu as ht,oh as i,lt as in,zn as ir,Oa as it,d1 as j,N1 as jn,B as jr,Po as jt,$g as k,q1 as kn,kr,Ru as kt,Rg as l,Q1 as ln,Fo as lr,Du as lt,Tg as m,ha as mn,Mn as mr,Ua as mt,eh as n,tg as nn,No as nr,Cg as nt,sh as o,K1 as on,Ln as or,Ou as ot,Ig as p,qd as pn,Oo as pr,me as pt,Jg as q,rt as qn,ig as qt,th as r,eg as rn,On as rr,kg as rt,Vg as s,J1 as sn,Dn as sr,Mu as st,i1 as t,Ta as tn,Fn as tr,Dt as tt,Ag as u,it as un,En as ur,Pu as ut,qg as v,Y1 as vn,Lr as vr,ju as vt,Pg as w,H1 as wn,bn as wr,mg as wt,Dg as x,ke as xn,v1 as xr,Au as xt,Og as y,L as yn,Dr as yr,Uu as yt,Ug as z,sd as zn,cg as zt};
|
|
1902
1902
|
|
|
1903
|
-
//# sourceMappingURL=app-navigation-
|
|
1903
|
+
//# sourceMappingURL=app-navigation-BzZWduTQ.js.map
|