@mcpjam/inspector 3.25.2 → 3.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/client/assets/app-bootstrap-BTQE7bOL.css +1 -0
  2. package/dist/client/assets/{app-bootstrap-1nvCvKTu.js → app-bootstrap-DH9V5ruc.js} +417 -401
  3. package/dist/client/assets/app-navigation-DR1HvySV.js +1903 -0
  4. package/dist/client/assets/caniuse-instrument-sans-BbzFLZTg.woff2 +0 -0
  5. package/dist/client/assets/{chunk-D32TOXHM-oQ9_W5Z_.js → chunk-D32TOXHM-CyuI5mIj.js} +5 -5
  6. package/dist/client/assets/{dead-clicks-autocapture-4b8CtYsH.js → dead-clicks-autocapture-DPDniRFT.js} +2 -2
  7. package/dist/client/assets/{error-reporting-Dtp0I_co.js → error-reporting-B3uD72Mm.js} +1 -1
  8. package/dist/client/assets/{error-reporting-BSiw4y1I.js → error-reporting-B45ic1xn.js} +60 -60
  9. package/dist/client/assets/{exception-autocapture-B7NhdXJS.js → exception-autocapture-DfmiXL7P.js} +2 -2
  10. package/dist/client/assets/first-run-oauth-return-CNNqEZ9t.css +2 -0
  11. package/dist/client/assets/first-run-oauth-return-D9QTp0pi.js +11 -0
  12. package/dist/client/assets/{highlighted-body-KQOG7T2V-Bkm2yeWV.js → highlighted-body-KQOG7T2V-BJHVzwuE.js} +2 -2
  13. package/dist/client/assets/index-COoa-n8G.js +4 -0
  14. package/dist/client/assets/{jszip.min-BMhd-tDN.js → jszip.min-mcFGNyxN.js} +2 -2
  15. package/dist/client/assets/{mermaid-MCJ5UELQ-BH89GBNu.js → mermaid-MCJ5UELQ-C7LKilvg.js} +1 -1
  16. package/dist/client/assets/{posthog-recorder-BYAtjhGv.js → posthog-recorder-CPrlbyxV.js} +2 -2
  17. package/dist/client/assets/{preload-helper-SIk4t7Ze.js → preload-helper-DSOvb5Vt.js} +2 -2
  18. package/dist/client/assets/{project-route-CVSc0mXZ.js → project-route-Nif61zEo.js} +3 -3
  19. package/dist/client/assets/{react-dom-CeQ1Kv3m.js → react-dom-DYqNESIg.js} +2 -2
  20. package/dist/client/assets/{rolldown-runtime-COoCppmG.js → rolldown-runtime-B8IK0bAc.js} +1 -1
  21. package/dist/client/assets/{surveys-CS6JUc-z.js → surveys-P2oB9RB7.js} +2 -2
  22. package/dist/client/assets/telemetry-files-c187231a8c0529f6.js +1 -0
  23. package/dist/client/assets/trace-timeline-BZb0fhoh.js +90 -0
  24. package/dist/client/assets/{trace-timeline-b3f1aE0g.js → trace-timeline-CKpfuLys.js} +1 -1
  25. package/dist/client/assets/{web-vitals-p0pJml2T.js → web-vitals-D0Dvhg3H.js} +2 -2
  26. package/dist/client/caniuse-instrument-sans-OFL.txt +93 -0
  27. package/dist/client/caniuse-jar.webp +0 -0
  28. package/dist/client/caniuse-share-icons.svg +8 -0
  29. package/dist/client/index.html +9 -9
  30. package/dist/server/harness-install-cli.js +311 -62
  31. package/dist/server/index.js +2 -2
  32. package/package.json +2 -2
  33. package/dist/client/assets/app-bootstrap-wXhyegHd.css +0 -1
  34. package/dist/client/assets/first-run-oauth-return-Ctdtlees.js +0 -1872
  35. package/dist/client/assets/first-run-oauth-return-DS6OM0jO.css +0 -2
  36. package/dist/client/assets/index-BJZmdbiq.js +0 -4
  37. package/dist/client/assets/telemetry-files-fac3cc064e66cb1e.js +0 -1
  38. package/dist/client/assets/trace-timeline-CKGcby6S.js +0 -73
  39. package/dist/client/assets/use-reduced-motion-iJQiY9UT.js +0 -42
@@ -0,0 +1,1903 @@
1
+ import{i as Ie,o as $a,r as Wa}from"./rolldown-runtime-B8IK0bAc.js";import{Bt as to,Ct as qt,D as Ga,Dt as y,Ft as zo,Gt as M,It as S,K as Ya,Kt as D,Lt as p,Nt as u,Ot as Ka,Pt as K,Q as Ja,Rt as F,St as Za,Tt as k,U as Qa,Ut as i,Vt as _,Y as Xa,a as xr,bt as q,c as Vt,dt as ie,en,ft as tn,ht as on,j as rn,jt as oo,kt as yr,lt as sn,n as De,o as an,p as wr,ut as le,vt as nn,wt as kr}from"./project-route-Nif61zEo.js";import{n as ln}from"./react-dom-DYqNESIg.js";import{i as cn,n as dn,r as Cr}from"./preload-helper-DSOvb5Vt.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.26.0"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f354fd7-42da-4dea-8f30-c43cae938775",e._sentryDebugIdIdentifier="sentry-dbid-4f354fd7-42da-4dea-8f30-c43cae938775")}catch{}})();var Sr="mcpjam.local-access",k1="mcpjam:access-required",C1="mcpjam:access-granted",yt=null,Ct=e=>typeof e=="string"&&/^[A-Za-z0-9_-]{24,}$/.test(e);function pn(e){yt=e;try{localStorage.setItem(Sr,e)}catch{}}function S1(e=!1){if(!e&&yt)return yt;try{const t=localStorage.getItem(Sr);if(Ct(t))return t}catch{}return yt}function _1(e){if(Ct(e.trim()))return e.trim();try{const t=new URLSearchParams(new URL(e.trim()).hash.slice(1)).get("token");return Ct(t)?t:null}catch{return null}}var un="mcpjam:access-link-received";function gn(){const e=new URLSearchParams(window.location.hash.slice(1));if(!e.has("token"))return null;const t=e.get("token"),o=Ct(t)?t:null;o&&pn(o);const r=e.get("tab");return history.replaceState(history.state,"",`${location.pathname}${location.search}${r?`#${encodeURIComponent(r)}`:""}`),o}function T1(){const e=()=>{gn()&&window.dispatchEvent(new Event(un))};return window.addEventListener("popstate",e),window.addEventListener("hashchange",e),()=>{window.removeEventListener("popstate",e),window.removeEventListener("hashchange",e)}}var v=$a(ln(),1),hn=Object.defineProperty,ro=(e,t)=>hn(e,"name",{value:t,configurable:!0});function Ht(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}ro(Ht,"setRef");function _r(...e){return t=>{let o=!1;const r=e.map(s=>{const a=Ht(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():Ht(e[s],null)}}}}ro(_r,"composeRefs");function Tr(...e){return v.useCallback(_r(...e),e)}ro(Tr,"useComposedRefs");var mn=Object.defineProperty,se=(e,t)=>mn(e,"name",{value:t,configurable:!0});function Ir(e){const t=v.forwardRef((o,r)=>{let{children:s,...a}=o,n=null,l=!1;const h=[];Bt(s)&&typeof pt=="function"&&(s=pt(s._payload)),v.Children.forEach(s,g=>{if(Pr(g)){l=!0;const b=g;let x="child"in b.props?b.props.child:b.props.children;Bt(x)&&typeof pt=="function"&&(x=pt(x._payload)),n=vn(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?Mr(n):void 0,f=Tr(r,d);if(!n){if(s||s===0)throw new Error(l?wn(e):yn(e));return s}const c=Rr(a,n.props??{});return n.type!==v.Fragment&&(c.ref=r?f:d),v.cloneElement(n,c)});return t.displayName=`${e}.Slot`,t}se(Ir,"createSlot");var fn=Ir("Slot"),Ar=Symbol.for("radix.slottable");function bn(e){const t=se(o=>"child"in o?o.children(o.child):o.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Ar,t}se(bn,"createSlottable");var vn=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 Rr(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(Rr,"mergeProps");function Mr(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(Mr,"getElementRef");function Pr(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ar}se(Pr,"isSlottable");var xn=Symbol.for("react.lazy");function Bt(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===xn&&"_payload"in e&&Er(e._payload)}se(Bt,"isLazyComponent");function Er(e){return typeof e=="object"&&e!==null&&"then"in e}se(Er,"isPromiseLike");var yn=se(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),wn=se(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),pt=v[" use ".trim().toString()],Oo=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Fo=Cr,kn=(e,t)=>o=>{var r;if(t?.variants==null)return Fo(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=Oo(f)||Oo(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 Fo(e,n,h,o?.class,o?.className)};function B(...e){return dn(Cr(e))}var m=cn(),Cn=kn("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 I1({className:e,variant:t,size:o,asChild:r=!1,...s}){const a=r?fn:"button";return(0,m.jsx)(a,{"data-slot":"button",className:B(Cn({variant:t,size:o,className:e})),...s})}var Sn=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function _n(e,t,o=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Sn(e),size:24,node:t,...o.length>0?{aliases:o}:{}}}var Tn=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},In=e=>{const t=Tn(e);return t.charAt(0).toUpperCase()+t.slice(1)},$t=(...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 zt(e){return e!=null}function An(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?$t(...h):$t("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&&zt(t.size)&&{[r("width")]:t.size,[r("height")]:t.size},..."width"in t&&zt(t.width)&&{[r("width")]:t.width},..."height"in t&&zt(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 Rn(e,t={}){return An(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var Mn=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Pn=(0,v.createContext)({}),En=()=>(0,v.useContext)(Pn),Dn=(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=""}=En()??{},j=!!h||Mn(c),[V,ne,Y=[]]=Rn(f,{color:e??w,width:o??t??b,height:r??t??b,strokeWidth:s??x,absoluteStrokeWidth:a??T,nonScalingStroke:n??C,className:$t(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 Dr(e,t=[],o=[]){const r=typeof e=="string"?_n(e,t,o):e,s=(0,v.forwardRef)(({className:a,...n},l)=>(0,v.createElement)(Dn,{ref:l,icon:r,className:a,...n}));return r.name&&(s.displayName=In(r.name)),s}var Lr={name:"circle",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]};Lr.node;var A1=Dr(Lr),Ur={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};Ur.node;var R1=Dr(Ur),zr="/claude_logo.png",Or="/claude-desktop-logo.png",Ln="/claude_code_logo.png",Fr="/openai_logo.png",Un="/mistral_logo.png",zn="/goose_logo_dark.png",No="/goose_logo_light.png",Nr="/cursor_logo.png",On="/copilot_logo.png",Fn="/github_copilot_logo_dark.png",jo="/github_copilot_logo_light.png",jr="/codex-logo.svg",Nn="/vscode_logo.svg",jn="/bedrock_logo.svg",qn="/n8n_logo.svg",Vn="/perplexity_logo.svg",Hn="/cline_logo_dark.svg",qo="/cline_logo_light.svg",Bn="/notion_logo.png",$n="/slack_logo.png",Wn="/mcp_jam.svg",Gn="/google_logo.png",Yn=Object.defineProperty,qr=e=>{throw TypeError(e)},Kn=(e,t,o)=>t in e?Yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ae=(e,t,o)=>Kn(e,typeof t!="symbol"?t+"":t,o),so=(e,t,o)=>t.has(e)||qr("Cannot "+o),O=(e,t,o)=>(so(e,t,"read from private field"),o?o.call(e):t.get(e)),re=(e,t,o)=>t.has(e)?qr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Wt=(e,t,o,r)=>(so(e,t,"write to private field"),r?r.call(e,o):t.set(e,o),o),H=(e,t,o)=>(so(e,t,"access private method"),o),Vo={PREFERRED_FRAME_SIZE:"preferred-frame-size",INITIAL_RENDER_DATA:"initial-render-data"},Jn="mcpui.dev/ui-";function Zn(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 Qn(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
+ `).map(a=>a.trim()).filter(a=>a&&!a.startsWith("#")&&Zn(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 Xn(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 ei(e){return e._meta??{}}function ti(e){const t=ei(e),o={};return Object.entries(t).forEach(([r,s])=>{r.startsWith(Jn)&&(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"},oi={WAIT_FOR_RENDER_DATA:"waitForRenderData"},Vr=({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)(()=>Qn(e,r),[e,r]),b=(0,v.useMemo)(()=>ti(e),[e]),x=b[Vo.PREFERRED_FRAME_SIZE]??["100%","100%"],T=b[Vo.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(oi.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"?Ho(n??"","allow-scripts"):Ho(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 Ha=(typeof a=="boolean"||a.height)&&fe,Ba=(typeof a=="boolean"||a.width)&&Te;Ha&&(h.current.style.height=`${fe}px`),Ba&&(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..."})};Vr.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 Ho(e,t){return[...new Set([...e.split(" "),...t.split(" ")])].filter(Boolean).map(o=>o.trim()).join(" ")}var Hr=1,Br=3,$r=8,ri=9,si=0,ai=1,ni=2,ii=3,$e=1,ao=2,no=3,je="~";function Wr({call:e,insertChild:t,removeChild:o,updateText:r,updateProperty:s}){const a={[si]:t,[ai]:o,[ni]:r,[ii]:s};return{call:e,mutate(n){for(const[l,...h]of n)a[l](...h)}}}var li=class{constructor({retain:e,release:t,methods:o}={}){Ae(this,"root",{id:je,type:ri,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=Wr({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 ao:x=b.attributes;break;case no: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 Br:case $r:{const{id:g,type:b,data:x}=d;c={id:g,type:b,data:x,version:0};break}case Hr:{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)})}},Bo=new WeakMap,ut=new WeakMap,Gr=new WeakMap,ci=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=Wr({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 Hr: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,ao)}if(Gr.set(c,{}),d.eventListeners)for(const g of Object.keys(d.eventListeners)){const b=d.eventListeners[g];t?.(b),gt(c,g,b,no)}for(const g of d.children)c.appendChild(l(g));break;case Br:c=document.createTextNode(d.data);break;case $r:c=document.createComment(d.data);break;default:throw new Error(`Unknown node type: ${JSON.stringify(d)}`)}return Bo.set(c,d.id),a.set(d.id,c),c}function h(d){const f=Bo.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 ao:o==null?e.removeAttribute(t):e.setAttribute(t,o);break;case no:{const s=Gr.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 io(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 di({remote:e,receiver:t}){const o=io(e,t);return o?(0,m.jsx)(m.Fragment,{children:o.data}):null}function Gt(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)(di,{remote:e,receiver:t},e.id);case 8:return null;default:throw new Error(`Unknown remote node type: ${String(e)}`)}}function pi(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]=$o(c))}else for(const[h,d]of Object.entries(a))l[`on${h[0].toUpperCase()}${h.slice(1)}`]=$o(d);for(const h of o)if(h.type===1&&typeof h.attributes.slot=="string"){const d=h.attributes.slot,f=Gt(h,t);l[d]=l[d]?(0,m.jsxs)(m.Fragment,{children:[l[d],f]}):f}else n.push(Gt(h,t));return l}function $o(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 ui=Symbol.for("remote-dom.element"),gi=Symbol.for("remote-dom.element.attached");function hi(e,{name:t,eventProps:o}={}){const r=(0,v.memo)(function({element:s,receiver:a,components:n}){const l=(0,v.useRef)(),h=io(s,a),d=h??s,f=d.id,c=pi(d,{receiver:a,components:n,eventProps:o});if(c[ui]=d,c[gi]=h!=null,l.current==null){const g={id:f,receiver:a};g.instanceRef=mi(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 mi(e){let t=null;return{get current(){return t},set current(o){t=o,e.receiver.implement(e,o)}}}function fi(e){const{receiver:t}=e,{children:o}=io(t.root,t);return(0,m.jsx)(m.Fragment,{children:o.map(r=>Gt(r,e))})}var bi=`<!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8">
6
+ </head>
7
+ <body>
8
+ <div id="root"></div>
9
+ <script>
10
+ "use strict";
11
+ (() => {
12
+ var __defProp = Object.defineProperty;
13
+ var __typeError = (msg) => {
14
+ throw TypeError(msg);
15
+ };
16
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
17
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
18
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
19
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
20
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
21
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
22
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
23
+
24
+ // ../../../node_modules/.pnpm/@remote-dom+core@1.8.1_@preact+signals-core@1.10.0/node_modules/@remote-dom/core/build/esm/elements/RemoteEvent.mjs
25
+ var RemoteEvent = class extends CustomEvent {
26
+ /**
27
+ * The last value received from a \`respondWith()\` call.
28
+ */
29
+ /**
30
+ * Provides the \`response\` value to be sent as the return value for
31
+ * the remote property function that triggered this event.
32
+ */
33
+ respondWith(response) {
34
+ this.response = response;
35
+ }
36
+ };
37
+
38
+ // ../../../node_modules/.pnpm/@remote-dom+core@1.8.1_@preact+signals-core@1.10.0/node_modules/@remote-dom/core/build/esm/constants.mjs
39
+ var MUTATION_TYPE_INSERT_CHILD = 0;
40
+ var MUTATION_TYPE_REMOVE_CHILD = 1;
41
+ var MUTATION_TYPE_UPDATE_TEXT = 2;
42
+ var MUTATION_TYPE_UPDATE_PROPERTY = 3;
43
+ var UPDATE_PROPERTY_TYPE_PROPERTY = 1;
44
+ var UPDATE_PROPERTY_TYPE_ATTRIBUTE = 2;
45
+ var UPDATE_PROPERTY_TYPE_EVENT_LISTENER = 3;
46
+ var ROOT_ID = "~";
47
+
48
+ // ../../../node_modules/.pnpm/@remote-dom+core@1.8.1_@preact+signals-core@1.10.0/node_modules/@remote-dom/core/build/esm/elements/internals.mjs
49
+ var REMOTE_CONNECTIONS = /* @__PURE__ */ new WeakMap();
50
+ var REMOTE_IDS = /* @__PURE__ */ new WeakMap();
51
+ var id = 0;
52
+ function remoteId(node) {
53
+ let remoteID = REMOTE_IDS.get(node);
54
+ if (remoteID == null) {
55
+ remoteID = String(id++);
56
+ REMOTE_IDS.set(node, remoteID);
57
+ }
58
+ return remoteID;
59
+ }
60
+ var REMOTE_PROPERTIES = /* @__PURE__ */ new WeakMap();
61
+ function remoteProperties(node) {
62
+ return REMOTE_PROPERTIES.get(node);
63
+ }
64
+ var REMOTE_ATTRIBUTES = /* @__PURE__ */ new WeakMap();
65
+ function remoteAttributes(node) {
66
+ let attributes = REMOTE_ATTRIBUTES.get(node);
67
+ if (attributes != null) return attributes;
68
+ if (!(node instanceof Element) || node.tagName.includes("-")) return void 0;
69
+ attributes = {};
70
+ for (const {
71
+ name,
72
+ value
73
+ } of node.attributes) {
74
+ attributes[name] = value;
75
+ }
76
+ return attributes;
77
+ }
78
+ var REMOTE_EVENT_LISTENERS = /* @__PURE__ */ new WeakMap();
79
+ function remoteEventListeners(node) {
80
+ return REMOTE_EVENT_LISTENERS.get(node);
81
+ }
82
+ function updateRemoteElementProperty(node, property, value) {
83
+ let properties = REMOTE_PROPERTIES.get(node);
84
+ if (properties == null) {
85
+ properties = {};
86
+ REMOTE_PROPERTIES.set(node, properties);
87
+ }
88
+ if (properties[property] === value) return;
89
+ properties[property] = value;
90
+ const connection = REMOTE_CONNECTIONS.get(node);
91
+ if (connection == null) return;
92
+ connection.mutate([[MUTATION_TYPE_UPDATE_PROPERTY, remoteId(node), property, value, UPDATE_PROPERTY_TYPE_PROPERTY]]);
93
+ }
94
+ function updateRemoteElementAttribute(node, attribute, value) {
95
+ let attributes = REMOTE_ATTRIBUTES.get(node);
96
+ if (attributes == null) {
97
+ attributes = {};
98
+ REMOTE_ATTRIBUTES.set(node, attributes);
99
+ }
100
+ if (attributes[attribute] === value) return;
101
+ if (value == null) {
102
+ delete attributes[attribute];
103
+ } else {
104
+ attributes[attribute] = String(value);
105
+ }
106
+ const connection = REMOTE_CONNECTIONS.get(node);
107
+ if (connection == null) return;
108
+ connection.mutate([[MUTATION_TYPE_UPDATE_PROPERTY, remoteId(node), attribute, value, UPDATE_PROPERTY_TYPE_ATTRIBUTE]]);
109
+ }
110
+ function updateRemoteElementEventListener(node, event, listener) {
111
+ let eventListeners = REMOTE_EVENT_LISTENERS.get(node);
112
+ if (eventListeners == null) {
113
+ eventListeners = {};
114
+ REMOTE_EVENT_LISTENERS.set(node, eventListeners);
115
+ }
116
+ if (eventListeners[event] === listener) return;
117
+ if (listener == null) {
118
+ delete eventListeners[event];
119
+ } else {
120
+ eventListeners[event] = listener;
121
+ }
122
+ const connection = REMOTE_CONNECTIONS.get(node);
123
+ if (connection == null) return;
124
+ connection.mutate([[MUTATION_TYPE_UPDATE_PROPERTY, remoteId(node), event, listener, UPDATE_PROPERTY_TYPE_EVENT_LISTENER]]);
125
+ }
126
+ function connectRemoteNode(node, connection) {
127
+ const existingConnection = REMOTE_CONNECTIONS.get(node);
128
+ if (existingConnection === connection) return;
129
+ REMOTE_CONNECTIONS.set(node, connection);
130
+ if (node.childNodes) {
131
+ for (let i = 0; i < node.childNodes.length; i++) {
132
+ connectRemoteNode(node.childNodes[i], connection);
133
+ }
134
+ }
135
+ }
136
+ function disconnectRemoteNode(node) {
137
+ const existingConnection = REMOTE_CONNECTIONS.get(node);
138
+ if (existingConnection == null) return;
139
+ REMOTE_CONNECTIONS.delete(node);
140
+ if (node.childNodes) {
141
+ for (let i = 0; i < node.childNodes.length; i++) {
142
+ disconnectRemoteNode(node.childNodes[i]);
143
+ }
144
+ }
145
+ }
146
+ function serializeRemoteNode(node) {
147
+ const {
148
+ nodeType
149
+ } = node;
150
+ switch (nodeType) {
151
+ // Element
152
+ case 1: {
153
+ return {
154
+ id: remoteId(node),
155
+ type: nodeType,
156
+ element: node.localName,
157
+ properties: cloneMaybeObject(remoteProperties(node)),
158
+ attributes: cloneMaybeObject(remoteAttributes(node)),
159
+ eventListeners: cloneMaybeObject(remoteEventListeners(node)),
160
+ children: Array.from(node.childNodes).map(serializeRemoteNode)
161
+ };
162
+ }
163
+ // TextNode
164
+ case 3:
165
+ // Comment
166
+ // eslint-disable-next-line no-fallthrough
167
+ case 8: {
168
+ return {
169
+ id: remoteId(node),
170
+ type: nodeType,
171
+ data: node.data
172
+ };
173
+ }
174
+ default: {
175
+ throw new Error(\`Cannot serialize node of type \${node.nodeType} (\${typeof node.nodeType})\`);
176
+ }
177
+ }
178
+ }
179
+ function cloneMaybeObject(maybeObject) {
180
+ return maybeObject ? {
181
+ ...maybeObject
182
+ } : void 0;
183
+ }
184
+ function callRemoteElementMethod(node, method, ...args) {
185
+ const id2 = REMOTE_IDS.get(node);
186
+ const connection = REMOTE_CONNECTIONS.get(node);
187
+ if (id2 == null || connection == null) {
188
+ throw new Error(\`Cannot call method \${method} on an unconnected node\`);
189
+ }
190
+ return connection.call(id2, method, ...args);
191
+ }
192
+
193
+ // ../../../node_modules/.pnpm/@remote-dom+core@1.8.1_@preact+signals-core@1.10.0/node_modules/@remote-dom/core/build/esm/elements/RemoteElement.mjs
194
+ var EMPTY_DEFINITION = Object.freeze({});
195
+ var RemoteElement = class extends HTMLElement {
196
+ static get observedAttributes() {
197
+ return this.finalize().__observedAttributes;
198
+ }
199
+ /**
200
+ * The resolved property definitions for this remote element.
201
+ */
202
+ static get remotePropertyDefinitions() {
203
+ return this.finalize().__remotePropertyDefinitions;
204
+ }
205
+ /**
206
+ * The resolved attribute definitions for this remote element.
207
+ */
208
+ static get remoteAttributeDefinitions() {
209
+ return this.finalize().__remoteAttributeDefinitions;
210
+ }
211
+ /**
212
+ * The resolved event listener definitions for this remote element.
213
+ */
214
+ static get remoteEventDefinitions() {
215
+ return this.finalize().__remoteEventDefinitions;
216
+ }
217
+ /**
218
+ * The resolved slot definitions for this remote element.
219
+ */
220
+ static get remoteSlotDefinitions() {
221
+ return this.finalize().__remoteSlotDefinitions;
222
+ }
223
+ /**
224
+ * Creates a new definition for a property that will be synchronized between
225
+ * this remote element and its host representation.
226
+ */
227
+ static createProperty(name, definition) {
228
+ saveRemoteProperty(name, definition, this.observedAttributes, this.remotePropertyDefinitions, this.__attributeToPropertyMap, this.__eventToPropertyMap);
229
+ }
230
+ /**
231
+ * Consumes all the static members defined on the class and converts them
232
+ * into the internal representation used to handle properties, attributes,
233
+ * and event listeners.
234
+ */
235
+ static finalize() {
236
+ if (this.hasOwnProperty("__finalized")) {
237
+ return this;
238
+ }
239
+ this.__finalized = true;
240
+ const {
241
+ slottable,
242
+ remoteSlots,
243
+ remoteProperties: remoteProperties2,
244
+ remoteAttributes: remoteAttributes2,
245
+ remoteEvents,
246
+ remoteMethods
247
+ } = this;
248
+ const SuperConstructor = Object.getPrototypeOf(this);
249
+ const observedAttributes = /* @__PURE__ */ new Set();
250
+ if (slottable) observedAttributes.add("slot");
251
+ const attributeToPropertyMap = /* @__PURE__ */ new Map();
252
+ const eventToPropertyMap = /* @__PURE__ */ new Map();
253
+ const remoteSlotDefinitions = /* @__PURE__ */ new Map();
254
+ const remotePropertyDefinitions = /* @__PURE__ */ new Map();
255
+ const remoteAttributeDefinitions = /* @__PURE__ */ new Map();
256
+ const remoteEventDefinitions = /* @__PURE__ */ new Map();
257
+ if (typeof SuperConstructor.finalize === "function") {
258
+ SuperConstructor.finalize();
259
+ SuperConstructor.observedAttributes.forEach((attribute) => {
260
+ observedAttributes.add(attribute);
261
+ });
262
+ SuperConstructor.remotePropertyDefinitions.forEach((definition, property) => {
263
+ remotePropertyDefinitions.set(property, definition);
264
+ });
265
+ SuperConstructor.remoteAttributeDefinitions.forEach((definition, event) => {
266
+ remoteAttributeDefinitions.set(event, definition);
267
+ });
268
+ SuperConstructor.remoteEventDefinitions.forEach((definition, event) => {
269
+ remoteEventDefinitions.set(event, definition);
270
+ });
271
+ SuperConstructor.remoteSlotDefinitions.forEach((definition, slot) => {
272
+ remoteSlotDefinitions.set(slot, definition);
273
+ });
274
+ }
275
+ if (remoteSlots != null) {
276
+ const slotNames = Array.isArray(remoteSlots) ? remoteSlots : Object.keys(remoteSlots);
277
+ slotNames.forEach((slotName) => {
278
+ remoteSlotDefinitions.set(slotName, EMPTY_DEFINITION);
279
+ });
280
+ }
281
+ if (remoteProperties2 != null) {
282
+ if (Array.isArray(remoteProperties2)) {
283
+ remoteProperties2.forEach((propertyName) => {
284
+ saveRemoteProperty(propertyName, void 0, observedAttributes, remotePropertyDefinitions, attributeToPropertyMap, eventToPropertyMap);
285
+ });
286
+ } else {
287
+ Object.keys(remoteProperties2).forEach((propertyName) => {
288
+ saveRemoteProperty(propertyName, remoteProperties2[propertyName], observedAttributes, remotePropertyDefinitions, attributeToPropertyMap, eventToPropertyMap);
289
+ });
290
+ }
291
+ }
292
+ if (remoteAttributes2 != null) {
293
+ remoteAttributes2.forEach((attribute) => {
294
+ remoteAttributeDefinitions.set(attribute, EMPTY_DEFINITION);
295
+ observedAttributes.add(attribute);
296
+ });
297
+ }
298
+ if (remoteEvents != null) {
299
+ if (Array.isArray(remoteEvents)) {
300
+ remoteEvents.forEach((event) => {
301
+ remoteEventDefinitions.set(event, EMPTY_DEFINITION);
302
+ });
303
+ } else {
304
+ Object.keys(remoteEvents).forEach((event) => {
305
+ remoteEventDefinitions.set(event, remoteEvents[event]);
306
+ });
307
+ }
308
+ }
309
+ if (remoteMethods != null) {
310
+ if (Array.isArray(remoteMethods)) {
311
+ for (const method of remoteMethods) {
312
+ this.prototype[method] = function(...args) {
313
+ return this.callRemoteMethod(method, ...args);
314
+ };
315
+ }
316
+ } else {
317
+ Object.assign(this, remoteMethods);
318
+ }
319
+ }
320
+ Object.defineProperties(this, {
321
+ __observedAttributes: {
322
+ value: [...observedAttributes],
323
+ enumerable: false
324
+ },
325
+ __remoteSlotDefinitions: {
326
+ value: remoteSlotDefinitions,
327
+ enumerable: false
328
+ },
329
+ __remotePropertyDefinitions: {
330
+ value: remotePropertyDefinitions,
331
+ enumerable: false
332
+ },
333
+ __remoteAttributeDefinitions: {
334
+ value: remoteAttributeDefinitions,
335
+ enumerable: false
336
+ },
337
+ __remoteEventDefinitions: {
338
+ value: remoteEventDefinitions,
339
+ enumerable: false
340
+ },
341
+ __attributeToPropertyMap: {
342
+ value: attributeToPropertyMap,
343
+ enumerable: false
344
+ },
345
+ __eventToPropertyMap: {
346
+ value: eventToPropertyMap,
347
+ enumerable: false
348
+ }
349
+ });
350
+ return this;
351
+ }
352
+ // Just need to use these types so TS doesn’t lose track of them.
353
+ /** @internal */
354
+ /** @internal */
355
+ /** @internal */
356
+ /** @internal */
357
+ constructor() {
358
+ super();
359
+ this.constructor.finalize();
360
+ const propertyDescriptors = {};
361
+ const initialPropertiesToSet = {};
362
+ const prototype = Object.getPrototypeOf(this);
363
+ const ThisClass = this.constructor;
364
+ for (const [property, description] of ThisClass.remotePropertyDefinitions.entries()) {
365
+ const aliasedName = description.name;
366
+ if (prototype.hasOwnProperty(property)) {
367
+ continue;
368
+ }
369
+ if (property === aliasedName) {
370
+ initialPropertiesToSet[property] = description.default;
371
+ }
372
+ const propertyDescriptor = {
373
+ configurable: true,
374
+ enumerable: property === aliasedName,
375
+ get: () => {
376
+ return remoteProperties(this)?.[aliasedName];
377
+ },
378
+ set: (value) => {
379
+ updateRemoteElementProperty(this, aliasedName, value);
380
+ }
381
+ };
382
+ propertyDescriptors[property] = propertyDescriptor;
383
+ }
384
+ for (const [event, definition] of ThisClass.remoteEventDefinitions.entries()) {
385
+ const propertyFromDefinition = definition.property ?? true;
386
+ if (!propertyFromDefinition) continue;
387
+ const property = propertyFromDefinition === true ? \`on\${event}\` : propertyFromDefinition;
388
+ propertyDescriptors[property] = {
389
+ configurable: true,
390
+ enumerable: true,
391
+ get: () => {
392
+ return getRemoteEvents(this).properties.get(property) ?? null;
393
+ },
394
+ set: (value) => {
395
+ const remoteEvents = getRemoteEvents(this);
396
+ const currentListener = remoteEvents.properties.get(property);
397
+ if (typeof value === "function") {
398
+ let handler = function(...args) {
399
+ return value.call(this, ...args);
400
+ };
401
+ remoteEvents.properties.set(property, handler);
402
+ this.addEventListener(event, handler);
403
+ } else {
404
+ remoteEvents.properties.delete(property);
405
+ }
406
+ if (currentListener) {
407
+ this.removeEventListener(event, currentListener);
408
+ }
409
+ }
410
+ };
411
+ }
412
+ Object.defineProperties(this, propertyDescriptors);
413
+ Object.assign(this, initialPropertiesToSet);
414
+ }
415
+ attributeChangedCallback(attribute, _oldValue, newValue) {
416
+ if (attribute === "slot" && this.constructor.slottable) {
417
+ updateRemoteElementAttribute(this, attribute, newValue ? String(newValue) : void 0);
418
+ return;
419
+ }
420
+ const {
421
+ remotePropertyDefinitions,
422
+ remoteAttributeDefinitions,
423
+ __attributeToPropertyMap: attributeToPropertyMap
424
+ } = this.constructor;
425
+ if (remoteAttributeDefinitions.has(attribute)) {
426
+ updateRemoteElementAttribute(this, attribute, newValue);
427
+ return;
428
+ }
429
+ const property = attributeToPropertyMap.get(attribute);
430
+ const propertyDefinition = property == null ? property : remotePropertyDefinitions.get(property);
431
+ if (propertyDefinition == null) return;
432
+ this[property] = convertAttributeValueToProperty(newValue, propertyDefinition.type);
433
+ }
434
+ connectedCallback() {
435
+ for (const [event, descriptor] of this.constructor.remoteEventDefinitions.entries()) {
436
+ if (descriptor.bubbles) {
437
+ this.addEventListener(event, noopBubblesEventListener);
438
+ }
439
+ }
440
+ }
441
+ disconnectedCallback() {
442
+ for (const [event, descriptor] of this.constructor.remoteEventDefinitions.entries()) {
443
+ if (descriptor.bubbles) {
444
+ this.removeEventListener(event, noopBubblesEventListener);
445
+ }
446
+ }
447
+ }
448
+ addEventListener(type, listener, options) {
449
+ const {
450
+ remoteEventDefinitions,
451
+ __eventToPropertyMap: eventToPropertyMap
452
+ } = this.constructor;
453
+ const listenerDefinition = remoteEventDefinitions.get(type);
454
+ const property = eventToPropertyMap.get(type);
455
+ if (listenerDefinition == null && property == null) {
456
+ return super.addEventListener(type, listener, options);
457
+ }
458
+ const remoteEvents = getRemoteEvents(this);
459
+ const remoteEvent = getRemoteEventRecord.call(this, type, {
460
+ property,
461
+ definition: listenerDefinition
462
+ });
463
+ const normalizedListener = typeof options === "object" && options?.once ? (...args) => {
464
+ const result = typeof listener === "object" ? listener.handleEvent(...args) : listener.call(this, ...args);
465
+ removeRemoteListener.call(this, type, listener, listenerRecord);
466
+ return result;
467
+ } : listener;
468
+ const listenerRecord = [normalizedListener, remoteEvent];
469
+ remoteEvent.listeners.add(listener);
470
+ remoteEvents.listeners.set(listener, listenerRecord);
471
+ super.addEventListener(type, normalizedListener, options);
472
+ if (typeof options === "object" && options.signal) {
473
+ options.signal.addEventListener("abort", () => {
474
+ removeRemoteListener.call(this, type, listener, listenerRecord);
475
+ }, {
476
+ once: true
477
+ });
478
+ }
479
+ if (listenerDefinition) {
480
+ updateRemoteElementEventListener(this, type, remoteEvent.dispatch);
481
+ } else {
482
+ updateRemoteElementProperty(this, property, remoteEvent.dispatch);
483
+ }
484
+ }
485
+ removeEventListener(type, listener, options) {
486
+ const listenerRecord = REMOTE_EVENTS.get(this)?.listeners.get(listener);
487
+ const normalizedListener = listenerRecord ? listenerRecord[0] : listener;
488
+ super.removeEventListener(type, normalizedListener, options);
489
+ if (listenerRecord == null) return;
490
+ removeRemoteListener.call(this, type, listener, listenerRecord);
491
+ }
492
+ /**
493
+ * Updates a single remote property on an element node. If the element is
494
+ * connected to a remote root, this function will also make a \`mutate()\` call
495
+ * to communicate the change to the host.
496
+ */
497
+ updateRemoteProperty(name, value) {
498
+ updateRemoteElementProperty(this, name, value);
499
+ }
500
+ /**
501
+ * Updates a single remote attribute on an element node. If the element is
502
+ * connected to a remote root, this function will also make a \`mutate()\` call
503
+ * to communicate the change to the host.
504
+ */
505
+ updateRemoteAttribute(name, value) {
506
+ updateRemoteElementAttribute(this, name, value);
507
+ }
508
+ /**
509
+ * Performs a method through \`RemoteConnection.call()\`, using the remote ID and
510
+ * connection for the provided node.
511
+ */
512
+ callRemoteMethod(method, ...args) {
513
+ return callRemoteElementMethod(this, method, ...args);
514
+ }
515
+ };
516
+ __publicField(RemoteElement, "slottable", true);
517
+ __publicField(RemoteElement, "__finalized", true);
518
+ __publicField(RemoteElement, "__observedAttributes", []);
519
+ __publicField(RemoteElement, "__attributeToPropertyMap", /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
520
+ __publicField(RemoteElement, "__eventToPropertyMap", /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
521
+ __publicField(RemoteElement, "__remotePropertyDefinitions", /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
522
+ __publicField(RemoteElement, "__remoteAttributeDefinitions", /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
523
+ __publicField(RemoteElement, "__remoteEventDefinitions", /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
524
+ __publicField(RemoteElement, "__remoteSlotDefinitions", /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
525
+ var REMOTE_EVENTS = /* @__PURE__ */ new WeakMap();
526
+ function getRemoteEvents(element) {
527
+ let events = REMOTE_EVENTS.get(element);
528
+ if (events) return events;
529
+ events = {
530
+ events: /* @__PURE__ */ new Map(),
531
+ properties: /* @__PURE__ */ new Map(),
532
+ listeners: /* @__PURE__ */ new WeakMap()
533
+ };
534
+ REMOTE_EVENTS.set(element, events);
535
+ return events;
536
+ }
537
+ function getRemoteEventRecord(type, {
538
+ property,
539
+ definition
540
+ }) {
541
+ const remoteEvents = getRemoteEvents(this);
542
+ let remoteEvent = remoteEvents.events.get(type);
543
+ if (remoteEvent == null) {
544
+ remoteEvent = {
545
+ name: type,
546
+ property,
547
+ definition,
548
+ listeners: /* @__PURE__ */ new Set(),
549
+ dispatch: (arg) => {
550
+ const event = definition?.dispatchEvent?.call(this, arg) ?? new RemoteEvent(type, {
551
+ detail: arg,
552
+ bubbles: definition?.bubbles
553
+ });
554
+ this.dispatchEvent(event);
555
+ return event.response;
556
+ }
557
+ };
558
+ remoteEvents.events.set(type, remoteEvent);
559
+ }
560
+ return remoteEvent;
561
+ }
562
+ function removeRemoteListener(type, listener, listenerRecord) {
563
+ const remoteEvents = getRemoteEvents(this);
564
+ const remoteEvent = listenerRecord[1];
565
+ remoteEvent.listeners.delete(listener);
566
+ remoteEvents.listeners.delete(listener);
567
+ if (remoteEvent.listeners.size > 0) return;
568
+ remoteEvents.events.delete(type);
569
+ if (remoteEvent.property) {
570
+ if (remoteProperties(this)?.[remoteEvent.property] === remoteEvent.dispatch) {
571
+ updateRemoteElementProperty(this, remoteEvent.property, void 0);
572
+ }
573
+ } else {
574
+ if (remoteEventListeners(this)?.[type] === remoteEvent.dispatch) {
575
+ updateRemoteElementEventListener(this, type, void 0);
576
+ }
577
+ }
578
+ }
579
+ function saveRemoteProperty(name, description, observedAttributes, remotePropertyDefinitions, attributeToPropertyMap, eventToPropertyMap) {
580
+ if (remotePropertyDefinitions.has(name)) {
581
+ return remotePropertyDefinitions.get(name);
582
+ }
583
+ const looksLikeEventCallback = name[0] === "o" && name[1] === "n";
584
+ const resolvedDescription = description ?? {};
585
+ let {
586
+ alias
587
+ } = resolvedDescription;
588
+ const {
589
+ type = looksLikeEventCallback ? Function : String,
590
+ attribute = type !== Function,
591
+ event = looksLikeEventCallback,
592
+ default: defaultValue = type === Boolean ? false : void 0
593
+ } = resolvedDescription;
594
+ if (alias == null) {
595
+ const lowercaseProperty = name.toLowerCase();
596
+ if (lowercaseProperty !== name) {
597
+ alias = [lowercaseProperty];
598
+ }
599
+ if (looksLikeEventCallback) {
600
+ alias ?? (alias = []);
601
+ alias.unshift(\`_\${name}\`);
602
+ }
603
+ }
604
+ let attributeName;
605
+ if (attribute === true) {
606
+ attributeName = camelToKebabCase(name);
607
+ } else if (typeof attribute === "string") {
608
+ attributeName = attribute;
609
+ }
610
+ if (attributeName) {
611
+ if (Array.isArray(observedAttributes)) {
612
+ observedAttributes.push(attributeName);
613
+ } else {
614
+ observedAttributes.add(attributeName);
615
+ }
616
+ attributeToPropertyMap.set(attributeName, name);
617
+ }
618
+ let eventName;
619
+ if (event === true) {
620
+ eventName = camelToKebabCase(looksLikeEventCallback ? name.slice(2) : name);
621
+ } else if (typeof event === "string") {
622
+ eventName = event;
623
+ }
624
+ if (eventName) {
625
+ eventToPropertyMap.set(eventName, name);
626
+ }
627
+ const definition = {
628
+ name,
629
+ type,
630
+ alias,
631
+ event: eventName,
632
+ attribute: attributeName,
633
+ default: defaultValue
634
+ };
635
+ remotePropertyDefinitions.set(name, definition);
636
+ if (alias) {
637
+ for (const propertyAlias of alias) {
638
+ remotePropertyDefinitions.set(propertyAlias, definition);
639
+ }
640
+ }
641
+ return definition;
642
+ }
643
+ function convertAttributeValueToProperty(value, type) {
644
+ if (value == null) return void 0;
645
+ switch (type) {
646
+ case Boolean:
647
+ return value != null && value !== "false";
648
+ case Object:
649
+ case Array:
650
+ try {
651
+ return JSON.parse(value);
652
+ } catch {
653
+ return void 0;
654
+ }
655
+ case String:
656
+ return String(value);
657
+ case Number:
658
+ return Number.parseFloat(value);
659
+ case Function:
660
+ return void 0;
661
+ default: {
662
+ return type.parse?.(value);
663
+ }
664
+ }
665
+ }
666
+ function camelToKebabCase(str) {
667
+ return str.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
668
+ }
669
+ function noopBubblesEventListener() {
670
+ }
671
+
672
+ // ../../../node_modules/.pnpm/@remote-dom+core@1.8.1_@preact+signals-core@1.10.0/node_modules/@remote-dom/core/build/esm/elements/RemoteMutationObserver.mjs
673
+ var RemoteMutationObserver = class extends MutationObserver {
674
+ constructor(connection) {
675
+ super((records) => {
676
+ const addedNodes = [];
677
+ const remoteRecords = [];
678
+ for (const record of records) {
679
+ const targetId = remoteId(record.target);
680
+ if (record.type === "childList") {
681
+ const position = record.previousSibling ? indexOf(record.previousSibling, record.target.childNodes) + 1 : 0;
682
+ record.removedNodes.forEach((node) => {
683
+ disconnectRemoteNode(node);
684
+ remoteRecords.push([MUTATION_TYPE_REMOVE_CHILD, targetId, position]);
685
+ });
686
+ record.addedNodes.forEach((node, index) => {
687
+ if (addedNodes.some((addedNode) => {
688
+ return addedNode === node || addedNode.contains(node);
689
+ })) {
690
+ return;
691
+ }
692
+ addedNodes.push(node);
693
+ connectRemoteNode(node, connection);
694
+ remoteRecords.push([MUTATION_TYPE_INSERT_CHILD, targetId, serializeRemoteNode(node), position + index]);
695
+ });
696
+ } else if (record.type === "characterData") {
697
+ remoteRecords.push([MUTATION_TYPE_UPDATE_TEXT, targetId, record.target.textContent ?? ""]);
698
+ } else if (record.type === "attributes" && record.attributeName != null && record.target instanceof Element && !record.target.tagName.includes("-")) {
699
+ remoteRecords.push([MUTATION_TYPE_UPDATE_PROPERTY, targetId, record.attributeName, record.target.getAttribute(record.attributeName)]);
700
+ }
701
+ }
702
+ connection.mutate(remoteRecords);
703
+ });
704
+ this.connection = connection;
705
+ }
706
+ /**
707
+ * Starts watching changes to the element, and communicates changes to the
708
+ * host environment. By default, this method will also communicate any initial
709
+ * children of the element to the host environment.
710
+ */
711
+ observe(target, options) {
712
+ REMOTE_IDS.set(target, ROOT_ID);
713
+ if (options?.initial !== false && target.childNodes.length > 0) {
714
+ const records = [];
715
+ for (let i = 0; i < target.childNodes.length; i++) {
716
+ const node = target.childNodes[i];
717
+ connectRemoteNode(node, this.connection);
718
+ records.push([MUTATION_TYPE_INSERT_CHILD, ROOT_ID, serializeRemoteNode(node), i]);
719
+ }
720
+ this.connection.mutate(records);
721
+ }
722
+ super.observe(target, {
723
+ subtree: true,
724
+ childList: true,
725
+ attributes: true,
726
+ characterData: true,
727
+ ...options
728
+ });
729
+ }
730
+ };
731
+ function indexOf(node, list) {
732
+ for (let i = 0; i < list.length; i++) {
733
+ if (list[i] === node) return i;
734
+ }
735
+ return -1;
736
+ }
737
+
738
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/constants.mjs
739
+ var MESSAGE_CALL = 1;
740
+ var MESSAGE_CALL_RESULT = 2;
741
+ var MESSAGE_FUNCTION_CALL = 3;
742
+ var MESSAGE_FUNCTION_RESULT = 4;
743
+ var MESSAGE_FUNCTION_RELEASE = 5;
744
+ var SERIALIZE_METHOD = Symbol.for("quilt.threads.serialize");
745
+ var TRANSFERABLE = Symbol.for("quilt.threads.transferable");
746
+
747
+ // ../../../node_modules/.pnpm/@quilted+events@2.1.3/node_modules/@quilted/events/build/esm/abort/NestedAbortController.mjs
748
+ var NestedAbortController = class extends AbortController {
749
+ constructor(...parents) {
750
+ super();
751
+ const abortedSignal = parents.find((signal) => signal.aborted);
752
+ if (abortedSignal) {
753
+ this.abort(abortedSignal.reason);
754
+ } else {
755
+ const abort = (event) => this.abort(event.target.reason);
756
+ const options = {
757
+ signal: this.signal
758
+ };
759
+ for (const signal of parents) {
760
+ signal.addEventListener("abort", abort, options);
761
+ }
762
+ }
763
+ }
764
+ };
765
+
766
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/errors.mjs
767
+ var ThreadClosedError = class extends Error {
768
+ constructor() {
769
+ super("You attempted to call a function on a closed thread.");
770
+ }
771
+ };
772
+
773
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/nanoid.mjs
774
+ var a = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
775
+ function nanoid(e = 21) {
776
+ let t = "", r = crypto.getRandomValues(new Uint8Array(e));
777
+ for (let n = 0; n < e; n++) t += a[63 & r[n]];
778
+ return t;
779
+ }
780
+
781
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/functions/ThreadFunctionsAutomatic.mjs
782
+ var _functionsToId, _idsToFunction, _idsToProxy, _finalization, _ThreadFunctionsAutomatic_instances, finalizationRegistry_fn;
783
+ var ThreadFunctionsAutomatic = class {
784
+ constructor() {
785
+ __privateAdd(this, _ThreadFunctionsAutomatic_instances);
786
+ __privateAdd(this, _functionsToId, /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
787
+ __privateAdd(this, _idsToFunction, /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
788
+ __privateAdd(this, _idsToProxy, /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
789
+ __privateAdd(this, _finalization, /* @__PURE__ */ (() => /* @__PURE__ */ new WeakMap())());
790
+ }
791
+ get(id2) {
792
+ return __privateGet(this, _idsToFunction).get(id2);
793
+ }
794
+ release(id2) {
795
+ const func = __privateGet(this, _idsToFunction).get(id2);
796
+ if (func) {
797
+ __privateGet(this, _idsToFunction).delete(id2);
798
+ __privateGet(this, _functionsToId).delete(func);
799
+ }
800
+ return Boolean(func);
801
+ }
802
+ serialize(func) {
803
+ let id2 = __privateGet(this, _functionsToId).get(func);
804
+ if (id2 == null) {
805
+ id2 = nanoid();
806
+ __privateGet(this, _functionsToId).set(func, id2);
807
+ __privateGet(this, _idsToFunction).set(id2, func);
808
+ }
809
+ return id2;
810
+ }
811
+ deserialize(id2, thread) {
812
+ let proxy = __privateGet(this, _idsToProxy).get(id2)?.deref();
813
+ if (proxy) return proxy;
814
+ proxy = (...args) => {
815
+ if (!__privateGet(this, _idsToProxy).has(id2)) {
816
+ throw new Error("You attempted to call a function that was already revoked.");
817
+ }
818
+ return thread.call((callID, args2, transferable) => {
819
+ thread.messages.send([MESSAGE_FUNCTION_CALL, callID, id2, args2], transferable);
820
+ }, args);
821
+ };
822
+ __privateMethod(this, _ThreadFunctionsAutomatic_instances, finalizationRegistry_fn).call(this, thread)?.register(proxy, id2);
823
+ __privateGet(this, _idsToProxy).set(id2, new WeakRef(proxy));
824
+ return proxy;
825
+ }
826
+ };
827
+ _functionsToId = new WeakMap();
828
+ _idsToFunction = new WeakMap();
829
+ _idsToProxy = new WeakMap();
830
+ _finalization = new WeakMap();
831
+ _ThreadFunctionsAutomatic_instances = new WeakSet();
832
+ finalizationRegistry_fn = function(thread) {
833
+ let finalization = __privateGet(this, _finalization).get(thread);
834
+ if (typeof FinalizationRegistry === "undefined") {
835
+ return void 0;
836
+ }
837
+ if (!finalization) {
838
+ finalization = new FinalizationRegistry((id2) => {
839
+ thread.messages.send([MESSAGE_FUNCTION_RELEASE, id2]);
840
+ });
841
+ __privateGet(this, _finalization).set(thread, finalization);
842
+ }
843
+ return finalization;
844
+ };
845
+
846
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/serialization/shared.mjs
847
+ function isIterator(value) {
848
+ return value != null && (Symbol.asyncIterator in value || Symbol.iterator in value) && typeof value.next === "function";
849
+ }
850
+ function isBasicObject(value) {
851
+ if (value == null || typeof value !== "object") return false;
852
+ const prototype = Object.getPrototypeOf(value);
853
+ return prototype == null || prototype === Object.prototype;
854
+ }
855
+
856
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/serialization/ThreadSerializationStructuredClone.mjs
857
+ var FUNCTION = "_@f";
858
+ var ASYNC_ITERATOR = "_@i";
859
+ var _customSerializer, _customDeserializer, _ThreadSerializationStructuredClone_instances, serializeInternal_fn, deserializeInternal_fn;
860
+ var ThreadSerializationStructuredClone = class {
861
+ constructor(options) {
862
+ __privateAdd(this, _ThreadSerializationStructuredClone_instances);
863
+ __privateAdd(this, _customSerializer);
864
+ __privateAdd(this, _customDeserializer);
865
+ __privateSet(this, _customSerializer, options?.serialize);
866
+ __privateSet(this, _customDeserializer, options?.deserialize);
867
+ }
868
+ /**
869
+ * Serializes a value into a structured cloning-compatible format that can be transferred between threads.
870
+ */
871
+ serialize(value, thread, transferable) {
872
+ return __privateMethod(this, _ThreadSerializationStructuredClone_instances, serializeInternal_fn).call(this, value, thread, transferable);
873
+ }
874
+ /**
875
+ * Deserializes a structured cloning-compatible value from another thread.
876
+ */
877
+ deserialize(value, thread) {
878
+ return __privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, value, thread);
879
+ }
880
+ };
881
+ _customSerializer = new WeakMap();
882
+ _customDeserializer = new WeakMap();
883
+ _ThreadSerializationStructuredClone_instances = new WeakSet();
884
+ serializeInternal_fn = function(value, thread, transferable, seen = /* @__PURE__ */ new Map(), isApplyingDefault = false) {
885
+ if (value == null) return value;
886
+ if (seen.has(value)) return seen.get(value);
887
+ seen.set(value, void 0);
888
+ if (typeof value === "object") {
889
+ if (__privateGet(this, _customSerializer) && !isApplyingDefault) {
890
+ const customValue = __privateGet(this, _customSerializer).call(this, value, (value2) => __privateMethod(this, _ThreadSerializationStructuredClone_instances, serializeInternal_fn).call(this, value2, thread, transferable, seen, true), thread, transferable);
891
+ if (customValue !== void 0) {
892
+ seen.set(value, customValue);
893
+ return customValue;
894
+ }
895
+ }
896
+ if (value[TRANSFERABLE]) {
897
+ transferable?.push(value);
898
+ seen.set(value, value);
899
+ return value;
900
+ }
901
+ const serializeValue = (value2) => {
902
+ return __privateMethod(this, _ThreadSerializationStructuredClone_instances, serializeInternal_fn).call(this, value2, thread, transferable, seen);
903
+ };
904
+ if (typeof value[SERIALIZE_METHOD] === "function") {
905
+ const result = value[SERIALIZE_METHOD]({
906
+ serialize: serializeValue
907
+ });
908
+ seen.set(value, result);
909
+ return result;
910
+ }
911
+ if (Array.isArray(value)) {
912
+ const result = value.map((item) => serializeValue(item));
913
+ seen.set(value, result);
914
+ return result;
915
+ }
916
+ if (value instanceof Map) {
917
+ const entries = [...value.entries()].map(([key, value2]) => {
918
+ return [serializeValue(key), serializeValue(value2)];
919
+ });
920
+ const result = new Map(entries);
921
+ seen.set(value, result);
922
+ return result;
923
+ }
924
+ if (value instanceof Set) {
925
+ const entries = [...value].map((entry) => serializeValue(entry));
926
+ const result = new Set(entries);
927
+ seen.set(value, result);
928
+ return result;
929
+ }
930
+ const valueIsIterator = isIterator(value);
931
+ if (isBasicObject(value) || valueIsIterator) {
932
+ const result = {};
933
+ for (const key of Object.keys(value)) {
934
+ result[key] = serializeValue(value[key]);
935
+ }
936
+ if (valueIsIterator) {
937
+ result.next ?? (result.next = serializeValue(value.next.bind(value)));
938
+ result.return ?? (result.return = serializeValue(value.return.bind(value)));
939
+ result.throw ?? (result.throw = serializeValue(value.throw.bind(value)));
940
+ result[ASYNC_ITERATOR] = true;
941
+ }
942
+ seen.set(value, result);
943
+ return result;
944
+ }
945
+ }
946
+ if (typeof value === "function") {
947
+ const serialized = thread.functions.serialize(value, thread, transferable);
948
+ const result = {
949
+ [FUNCTION]: serialized
950
+ };
951
+ seen.set(value, result);
952
+ return result;
953
+ }
954
+ seen.set(value, value);
955
+ return value;
956
+ };
957
+ deserializeInternal_fn = function(value, thread, isApplyingDefault = false) {
958
+ if (value == null) return value;
959
+ if (typeof value === "object") {
960
+ if (__privateGet(this, _customDeserializer) && !isApplyingDefault) {
961
+ const customValue = __privateGet(this, _customDeserializer).call(this, value, (value2) => __privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, value2, thread, true), thread);
962
+ if (customValue !== void 0) {
963
+ return customValue;
964
+ }
965
+ }
966
+ if (value == null) {
967
+ return value;
968
+ }
969
+ if (Array.isArray(value)) {
970
+ return value.map((value2) => __privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, value2, thread));
971
+ }
972
+ if (value instanceof Map) {
973
+ return new Map([...value].map(([key, value2]) => [__privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, key, thread), __privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, value2, thread)]));
974
+ }
975
+ if (value instanceof Set) {
976
+ return new Set([...value].map((entry) => __privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, entry, thread)));
977
+ }
978
+ if (FUNCTION in value) {
979
+ const func = thread.functions.deserialize(value[FUNCTION], thread);
980
+ return func;
981
+ }
982
+ if (!isBasicObject(value)) {
983
+ return value;
984
+ }
985
+ const result = {};
986
+ for (const key of Object.keys(value)) {
987
+ if (key === ASYNC_ITERATOR) {
988
+ result[Symbol.asyncIterator] = () => result;
989
+ } else {
990
+ result[key] = __privateMethod(this, _ThreadSerializationStructuredClone_instances, deserializeInternal_fn).call(this, value[key], thread);
991
+ }
992
+ }
993
+ return result;
994
+ }
995
+ return value;
996
+ };
997
+
998
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/Thread.mjs
999
+ var _abort, _idsToResolver, _Thread_instances, callLocal_fn, handlerForCall_fn, resolveCall_fn, waitForResult_fn;
1000
+ var Thread = class {
1001
+ constructor(messages, {
1002
+ imports,
1003
+ exports,
1004
+ functions = new ThreadFunctionsAutomatic(),
1005
+ serialization = new ThreadSerializationStructuredClone(),
1006
+ signal
1007
+ } = {}) {
1008
+ __privateAdd(this, _Thread_instances);
1009
+ __privateAdd(this, _abort);
1010
+ __privateAdd(this, _idsToResolver, /* @__PURE__ */ (() => /* @__PURE__ */ new Map())());
1011
+ this.messages = messages;
1012
+ __privateSet(this, _abort, signal ? new NestedAbortController(signal) : new AbortController());
1013
+ this.exports = exports ?? {};
1014
+ this.imports = createThreadImports(__privateMethod(this, _Thread_instances, handlerForCall_fn).bind(this), imports);
1015
+ this.functions = functions;
1016
+ this.serialization = serialization;
1017
+ this.functions.start?.(this);
1018
+ this.serialization.start?.(this);
1019
+ this.signal.addEventListener("abort", () => {
1020
+ for (const id2 of __privateGet(this, _idsToResolver).keys()) {
1021
+ __privateMethod(this, _Thread_instances, resolveCall_fn).call(this, id2, void 0, new ThreadClosedError());
1022
+ }
1023
+ __privateGet(this, _idsToResolver).clear();
1024
+ }, {
1025
+ once: true
1026
+ });
1027
+ messages.listen(async (rawData) => {
1028
+ const isThreadMessageData = Array.isArray(rawData) && typeof rawData[0] === "number";
1029
+ if (!isThreadMessageData) {
1030
+ return;
1031
+ }
1032
+ const data = rawData;
1033
+ switch (data[0]) {
1034
+ case MESSAGE_CALL: {
1035
+ const [, id2, property, args] = data;
1036
+ const func = this.exports[property] ?? (() => {
1037
+ throw new Error(\`No '\${property}' method is exported from this thread\`);
1038
+ });
1039
+ await __privateMethod(this, _Thread_instances, callLocal_fn).call(this, func, args, (value, error, transferable) => {
1040
+ this.messages.send([MESSAGE_CALL_RESULT, id2, value, error], transferable);
1041
+ });
1042
+ break;
1043
+ }
1044
+ case MESSAGE_FUNCTION_CALL: {
1045
+ const [, callID, funcID, args] = data;
1046
+ const func = this.functions.get(funcID, this) ?? missingThreadFunction;
1047
+ await __privateMethod(this, _Thread_instances, callLocal_fn).call(this, func, args, (value, error, transferable) => {
1048
+ this.messages.send([MESSAGE_FUNCTION_RESULT, callID, value, error], transferable);
1049
+ });
1050
+ break;
1051
+ }
1052
+ case MESSAGE_CALL_RESULT:
1053
+ case MESSAGE_FUNCTION_RESULT: {
1054
+ __privateMethod(this, _Thread_instances, resolveCall_fn).call(this, ...data.slice(1));
1055
+ break;
1056
+ }
1057
+ case MESSAGE_FUNCTION_RELEASE: {
1058
+ const id2 = data[1];
1059
+ this.functions.release(id2, this);
1060
+ break;
1061
+ }
1062
+ }
1063
+ }, {
1064
+ signal: this.signal
1065
+ });
1066
+ }
1067
+ /**
1068
+ * An object that exposes the methods that can be called on the paired thread.
1069
+ * This object will automatically encode and decode arguments and return values
1070
+ * as necessary.
1071
+ */
1072
+ /**
1073
+ * An object that exposes the methods that can be called on this thread by the
1074
+ * paired thread. To set these methods, pass the \`exports\` option when creating
1075
+ * a new \`Thread\`.
1076
+ */
1077
+ /**
1078
+ * An object that provides the message-passing interface that allows communication
1079
+ * to flow between environments.
1080
+ */
1081
+ /**
1082
+ * An object that manages how functions are proxied between threads.
1083
+ */
1084
+ /**
1085
+ * An object that manages how values are serialized and deserialized between threads.
1086
+ */
1087
+ /**
1088
+ * An \`AbortSignal\` that indicates whether the communication channel is still open.
1089
+ */
1090
+ get signal() {
1091
+ return __privateGet(this, _abort).signal;
1092
+ }
1093
+ /**
1094
+ * A boolean indicating whether the communication channel is still open.
1095
+ */
1096
+ get closed() {
1097
+ return __privateGet(this, _abort).signal.aborted;
1098
+ }
1099
+ /**
1100
+ * Closes the communication channel between the two threads. This will prevent
1101
+ * any further communication between the threads, and will clean up any memory
1102
+ * associated with in-progress communication. It will also reject any inflight
1103
+ * function calls between threads with a \`ThreadClosedError\`.
1104
+ */
1105
+ close() {
1106
+ __privateGet(this, _abort).abort();
1107
+ }
1108
+ /**
1109
+ * Requests that the thread provide the context needed to make a function
1110
+ * call between threads. You provide this method a function to call and the
1111
+ * unserialized arguments you wish to call it with, and the thread will call
1112
+ * the function you provided with a serialized call ID, the serialized arguments,
1113
+ * and any transferable objects that need to be passed between threads.
1114
+ */
1115
+ call(func, args) {
1116
+ if (this.closed) {
1117
+ return Promise.reject(new ThreadClosedError());
1118
+ }
1119
+ const transferable = [];
1120
+ const serialized = this.serialization.serialize(args, this, transferable);
1121
+ const id2 = nanoid();
1122
+ const done = __privateMethod(this, _Thread_instances, waitForResult_fn).call(this, id2);
1123
+ func(id2, serialized, transferable);
1124
+ return done;
1125
+ }
1126
+ };
1127
+ _abort = new WeakMap();
1128
+ _idsToResolver = new WeakMap();
1129
+ _Thread_instances = new WeakSet();
1130
+ callLocal_fn = async function(func, args, withResult) {
1131
+ try {
1132
+ const result = this.functions.call ? await this.functions.call(func, args, this) : await func(...this.serialization.deserialize(args, this));
1133
+ const transferable = [];
1134
+ const serialized = this.serialization.serialize(result, this, transferable);
1135
+ withResult(serialized, void 0, transferable);
1136
+ } catch (error) {
1137
+ withResult(void 0, this.serialization.serialize(error, this));
1138
+ }
1139
+ };
1140
+ handlerForCall_fn = function(property) {
1141
+ return (...args) => {
1142
+ try {
1143
+ if (typeof property !== "string" && typeof property !== "number") {
1144
+ throw new Error(\`Can’t call a symbol method on a thread: \${property.toString()}\`);
1145
+ }
1146
+ return this.call((id2, serializedArgs, transferable) => {
1147
+ this.messages.send([MESSAGE_CALL, id2, property, serializedArgs], transferable);
1148
+ }, args);
1149
+ } catch (error) {
1150
+ return Promise.reject(error);
1151
+ }
1152
+ };
1153
+ };
1154
+ resolveCall_fn = function(...args) {
1155
+ const callID = args[0];
1156
+ const resolver = __privateGet(this, _idsToResolver).get(callID);
1157
+ if (resolver) {
1158
+ resolver(...args);
1159
+ __privateGet(this, _idsToResolver).delete(callID);
1160
+ }
1161
+ };
1162
+ waitForResult_fn = function(id2) {
1163
+ const promise = new Promise((resolve, reject) => {
1164
+ __privateGet(this, _idsToResolver).set(id2, (_, value, error) => {
1165
+ if (error == null) {
1166
+ resolve(this.serialization.deserialize(value, this));
1167
+ } else {
1168
+ reject(this.serialization.deserialize(error, this));
1169
+ }
1170
+ });
1171
+ });
1172
+ Object.defineProperty(promise, Symbol.asyncIterator, {
1173
+ async *value() {
1174
+ const result = await promise;
1175
+ Object.defineProperty(result, Symbol.asyncIterator, {
1176
+ value: () => result
1177
+ });
1178
+ yield* result;
1179
+ }
1180
+ });
1181
+ return promise;
1182
+ };
1183
+ function createThreadImports(handlerForImport, imported) {
1184
+ let call;
1185
+ if (imported == null) {
1186
+ if (typeof Proxy !== "function") {
1187
+ throw new Error(\`You must pass an array of callable methods in environments without Proxies.\`);
1188
+ }
1189
+ const cache = /* @__PURE__ */ new Map();
1190
+ call = new Proxy({}, {
1191
+ get(_target, property) {
1192
+ if (cache.has(property)) {
1193
+ return cache.get(property);
1194
+ }
1195
+ const handler = handlerForImport(property);
1196
+ cache.set(property, handler);
1197
+ return handler;
1198
+ }
1199
+ });
1200
+ } else {
1201
+ call = {};
1202
+ for (const method of imported) {
1203
+ Object.defineProperty(call, method, {
1204
+ value: handlerForImport(method),
1205
+ writable: false,
1206
+ configurable: true,
1207
+ enumerable: true
1208
+ });
1209
+ }
1210
+ }
1211
+ return call;
1212
+ }
1213
+ function missingThreadFunction() {
1214
+ throw new Error(\`You attempted to call a function that is not stored. It may have already been released.\`);
1215
+ }
1216
+
1217
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/threads/window/shared.mjs
1218
+ var CHECK_MESSAGE = "quilt.threads.ping";
1219
+ var RESPONSE_MESSAGE = "quilt.threads.pong";
1220
+
1221
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/threads/window/ThreadNestedWindow.mjs
1222
+ function nestedWindowToThreadTarget(parent, {
1223
+ targetOrigin = "*"
1224
+ } = {}) {
1225
+ const ready = () => {
1226
+ const respond = () => parent.postMessage(RESPONSE_MESSAGE, targetOrigin);
1227
+ self.addEventListener("message", ({
1228
+ data,
1229
+ source
1230
+ }) => {
1231
+ if (source !== parent) return;
1232
+ if (data === CHECK_MESSAGE) respond();
1233
+ });
1234
+ respond();
1235
+ };
1236
+ if (document.readyState === "complete") {
1237
+ ready();
1238
+ } else {
1239
+ document.addEventListener("readystatechange", () => {
1240
+ if (document.readyState === "complete") {
1241
+ ready();
1242
+ }
1243
+ });
1244
+ }
1245
+ return {
1246
+ send(message, transfer) {
1247
+ return parent.postMessage(message, targetOrigin, transfer);
1248
+ },
1249
+ listen(listen, {
1250
+ signal
1251
+ }) {
1252
+ self.addEventListener("message", (event) => {
1253
+ if (event.data === CHECK_MESSAGE) return;
1254
+ listen(event.data);
1255
+ }, {
1256
+ signal
1257
+ });
1258
+ }
1259
+ };
1260
+ }
1261
+
1262
+ // ../../../node_modules/.pnpm/@quilted+threads@3.1.3_@preact+signals-core@1.10.0/node_modules/@quilted/threads/build/esm/threads/ThreadNestedIframe.mjs
1263
+ var ThreadNestedIframe = class extends Thread {
1264
+ constructor({
1265
+ parent = globalThis.parent,
1266
+ targetOrigin = "*",
1267
+ ...options
1268
+ } = {}) {
1269
+ if (typeof self === "undefined" || parent == null) {
1270
+ throw new Error("You are not inside an iframe, because there is no parent window.");
1271
+ }
1272
+ super(nestedWindowToThreadTarget(parent, {
1273
+ targetOrigin
1274
+ }), options);
1275
+ this.parent = parent;
1276
+ }
1277
+ };
1278
+
1279
+ // scripts/iframe-entry.js
1280
+ new ThreadNestedIframe({
1281
+ exports: {
1282
+ async render(options, receiver, hostApi) {
1283
+ if (options.remoteElements) {
1284
+ options.remoteElements.forEach((def) => {
1285
+ if (customElements.get(def.tagName)) return;
1286
+ const remoteElement = class extends RemoteElement {
1287
+ static get remoteAttributes() {
1288
+ return def.remoteAttributes || [];
1289
+ }
1290
+ static get remoteEvents() {
1291
+ return def.remoteEvents || [];
1292
+ }
1293
+ };
1294
+ Object.defineProperty(remoteElement, "name", {
1295
+ value: \`Remote\${def.tagName.replace(
1296
+ /(^w|-w)/g,
1297
+ (c) => c.replace("-", "").toUpperCase()
1298
+ )}\`
1299
+ });
1300
+ customElements.define(def.tagName, remoteElement);
1301
+ });
1302
+ }
1303
+ const root = document.querySelector("#root");
1304
+ const observer = new RemoteMutationObserver(receiver);
1305
+ observer.observe(root);
1306
+ const { code } = options;
1307
+ if (code && root) {
1308
+ try {
1309
+ const scriptFunction = new Function("root", "console", code);
1310
+ scriptFunction(root, console);
1311
+ } catch (e) {
1312
+ console.error("Error executing remote script:", e);
1313
+ }
1314
+ }
1315
+ }
1316
+ }
1317
+ });
1318
+ })();
1319
+
1320
+ <\/script>
1321
+ </body>
1322
+ </html>`,Yr=1,Wo=2,Kr=3,Go=4,Jr=5,Yo=Symbol.for("quilt.threads.serialize"),vi=Symbol.for("quilt.threads.transferable"),xi=class extends AbortController{constructor(...e){super();const t=e.find(o=>o.aborted);if(t)this.abort(t.reason);else{const o=s=>this.abort(s.target.reason),r={signal:this.signal};for(const s of e)s.addEventListener("abort",o,r)}}},Ko=class extends Error{constructor(){super("You attempted to call a function on a closed thread.")}},yi="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Zr(e=21){let t="",o=crypto.getRandomValues(new Uint8Array(e));for(let r=0;r<e;r++)t+=yi[63&o[r]];return t}var Oe,Re,Fe,wt,Yt,Qr,wi=class{constructor(){re(this,Yt),re(this,Oe,new Map),re(this,Re,new Map),re(this,Fe,new Map),re(this,wt,new WeakMap)}get(e){return O(this,Re).get(e)}release(e){const t=O(this,Re).get(e);return t&&(O(this,Re).delete(e),O(this,Oe).delete(t)),!!t}serialize(e){let t=O(this,Oe).get(e);return t??(t=Zr(),O(this,Oe).set(e,t),O(this,Re).set(t,e)),t}deserialize(e,t){var o,r;let s=(o=O(this,Fe).get(e))==null?void 0:o.deref();return s||(s=(...a)=>{if(!O(this,Fe).has(e))throw new Error("You attempted to call a function that was already revoked.");return t.call((n,l,h)=>{t.messages.send([Kr,n,e,l],h)},a)},(r=H(this,Yt,Qr).call(this,t))==null||r.register(s,e),O(this,Fe).set(e,new WeakRef(s)),s)}};Oe=new WeakMap,Re=new WeakMap,Fe=new WeakMap,wt=new WeakMap,Yt=new WeakSet,Qr=function(e){let t=O(this,wt).get(e);if(!(typeof FinalizationRegistry>"u"))return t||(t=new FinalizationRegistry(o=>{e.messages.send([Jr,o])}),O(this,wt).set(e,t)),t};function ki(e){return e!=null&&(Symbol.asyncIterator in e||Symbol.iterator in e)&&typeof e.next=="function"}function Jo(e){if(e==null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t==null||t===Object.prototype}var Ot="_@f",Zo="_@i",qe,Ve,X,kt,ge,Ci=class{constructor(e){re(this,X),re(this,qe),re(this,Ve),Wt(this,qe,e?.serialize),Wt(this,Ve,e?.deserialize)}serialize(e,t,o){return H(this,X,kt).call(this,e,t,o)}deserialize(e,t){return H(this,X,ge).call(this,e,t)}};qe=new WeakMap,Ve=new WeakMap,X=new WeakSet,kt=function(e,t,o,r=new Map,s=!1){if(e==null)return e;if(r.has(e))return r.get(e);if(r.set(e,void 0),typeof e=="object"){if(O(this,qe)&&!s){const l=O(this,qe).call(this,e,h=>H(this,X,kt).call(this,h,t,o,r,!0),t,o);if(l!==void 0)return r.set(e,l),l}if(e[vi])return o?.push(e),r.set(e,e),e;const a=l=>H(this,X,kt).call(this,l,t,o,r);if(typeof e[Yo]=="function"){const l=e[Yo]({serialize:a});return r.set(e,l),l}if(Array.isArray(e)){const l=e.map(h=>a(h));return r.set(e,l),l}if(e instanceof Map){const l=[...e.entries()].map(([d,f])=>[a(d),a(f)]),h=new Map(l);return r.set(e,h),h}if(e instanceof Set){const l=[...e].map(d=>a(d)),h=new Set(l);return r.set(e,h),h}const n=ki(e);if(Jo(e)||n){const l={};for(const h of Object.keys(e))l[h]=a(e[h]);return n&&(l.next??(l.next=a(e.next.bind(e))),l.return??(l.return=a(e.return.bind(e))),l.throw??(l.throw=a(e.throw.bind(e))),l[Zo]=!0),r.set(e,l),l}}if(typeof e=="function"){const a=t.functions.serialize(e,t,o),n={[Ot]:a};return r.set(e,n),n}return r.set(e,e),e},ge=function(e,t,o=!1){if(e==null)return e;if(typeof e=="object"){if(O(this,Ve)&&!o){const s=O(this,Ve).call(this,e,a=>H(this,X,ge).call(this,a,t,!0),t);if(s!==void 0)return s}if(e==null)return e;if(Array.isArray(e))return e.map(s=>H(this,X,ge).call(this,s,t));if(e instanceof Map)return new Map([...e].map(([s,a])=>[H(this,X,ge).call(this,s,t),H(this,X,ge).call(this,a,t)]));if(e instanceof Set)return new Set([...e].map(s=>H(this,X,ge).call(this,s,t)));if(Ot in e)return t.functions.deserialize(e[Ot],t);if(!Jo(e))return e;const r={};for(const s of Object.keys(e))s===Zo?r[Symbol.asyncIterator]=()=>r:r[s]=H(this,X,ge).call(this,e[s],t);return r}return e};var Me,Ce,he,Kt,Xr,Jt,es,Si=class{constructor(e,{imports:t,exports:o,functions:r=new wi,serialization:s=new Ci,signal:a}={}){re(this,he),re(this,Me),re(this,Ce,new Map);var n,l,h,d;this.messages=e,Wt(this,Me,a?new xi(a):new AbortController),this.exports=o??{},this.imports=_i(H(this,he,Xr).bind(this),t),this.functions=r,this.serialization=s,(l=(n=this.functions).start)==null||l.call(n,this),(d=(h=this.serialization).start)==null||d.call(h,this),this.signal.addEventListener("abort",()=>{for(const f of O(this,Ce).keys())H(this,he,Jt).call(this,f,void 0,new Ko);O(this,Ce).clear()},{once:!0}),e.listen(async f=>{if(!(Array.isArray(f)&&typeof f[0]=="number"))return;const c=f;switch(c[0]){case Yr:{const[,g,b,x]=c,T=this.exports[b]??(()=>{throw new Error(`No '${b}' method is exported from this thread`)});await H(this,he,Kt).call(this,T,x,(C,w,A)=>{this.messages.send([Wo,g,C,w],A)});break}case Kr:{const[,g,b,x]=c,T=this.functions.get(b,this)??Ti;await H(this,he,Kt).call(this,T,x,(C,w,A)=>{this.messages.send([Go,g,C,w],A)});break}case Wo:case Go:H(this,he,Jt).call(this,...c.slice(1));break;case Jr:{const g=c[1];this.functions.release(g,this);break}}},{signal:this.signal})}get signal(){return O(this,Me).signal}get closed(){return O(this,Me).signal.aborted}close(){O(this,Me).abort()}call(e,t){if(this.closed)return Promise.reject(new Ko);const o=[],r=this.serialization.serialize(t,this,o),s=Zr(),a=H(this,he,es).call(this,s);return e(s,r,o),a}};Me=new WeakMap,Ce=new WeakMap,he=new WeakSet,Kt=async function(e,t,o){try{const r=this.functions.call?await this.functions.call(e,t,this):await e(...this.serialization.deserialize(t,this)),s=[];o(this.serialization.serialize(r,this,s),void 0,s)}catch(r){o(void 0,this.serialization.serialize(r,this))}},Xr=function(e){return(...t)=>{try{if(typeof e!="string"&&typeof e!="number")throw new Error(`Can’t call a symbol method on a thread: ${e.toString()}`);return this.call((o,r,s)=>{this.messages.send([Yr,o,e,r],s)},t)}catch(o){return Promise.reject(o)}}},Jt=function(...e){const t=e[0],o=O(this,Ce).get(t);o&&(o(...e),O(this,Ce).delete(t))},es=function(e){const t=new Promise((o,r)=>{O(this,Ce).set(e,(s,a,n)=>{n==null?o(this.serialization.deserialize(a,this)):r(this.serialization.deserialize(n,this))})});return Object.defineProperty(t,Symbol.asyncIterator,{async*value(){const o=await t;Object.defineProperty(o,Symbol.asyncIterator,{value:()=>o}),yield*o}}),t};function _i(e,t){let o;if(t==null){if(typeof Proxy!="function")throw new Error("You must pass an array of callable methods in environments without Proxies.");const r=new Map;o=new Proxy({},{get(s,a){if(r.has(a))return r.get(a);const n=e(a);return r.set(a,n),n}})}else{o={};for(const r of t)Object.defineProperty(o,r,{value:e(r),writable:!1,configurable:!0,enumerable:!0})}return o}function Ti(){throw new Error("You attempted to call a function that is not stored. It may have already been released.")}var Ii="quilt.threads.ping",Qo="quilt.threads.pong";function Ai(e,{targetOrigin:t="*"}={}){let o=!1;const r=function(a,n){e.postMessage(a,t,n)},s=new Promise(a=>{const n=new AbortController;globalThis.window.addEventListener("message",l=>{l.source===e&&l.data===Qo&&(o=!0,n.abort(),a())},{signal:n.signal}),n.signal.addEventListener("abort",()=>a(),{once:!0}),r(Ii)});return{send(a,n){return o?r(a,n):s.then(()=>{if(o)return r(a,n)})},listen(a,{signal:n}){self.addEventListener("message",l=>{l.source===e&&l.data!==Qo&&a(l.data)},{signal:n})}}}var Ri=class extends Si{constructor(e,{targetOrigin:t="*",...o}={}){super(Ai(e.contentWindow,{targetOrigin:t}),o),this.iframe=e}},ts=v.forwardRef(({content:e,children:t,...o},r)=>(0,m.jsx)("span",{ref:r,...o,children:e||t}));ts.displayName="UIText";var os=v.forwardRef(({label:e,onPress:t,onClick:o,children:r,...s},a)=>(0,m.jsx)("button",{ref:a,onClick:n=>{t&&t(),o&&o(n)},style:{padding:"8px 16px",backgroundColor:"#007bff",color:"white",border:"none",borderRadius:"4px",cursor:"pointer"},...s,children:e||r}));os.displayName="UIButton";var rs=v.forwardRef(({direction:e="vertical",spacing:t="8",align:o="stretch",justify:r="flex-start",children:s,...a},n)=>(0,m.jsx)("div",{ref:n,style:{display:"flex",flexDirection:e==="horizontal"?"row":"column",gap:`${t}px`,alignItems:o,justifyContent:r},...a,children:s}));rs.displayName="UIStack";var ss=v.forwardRef(({src:e,alt:t,width:o,height:r,children:s,...a},n)=>(0,m.jsx)("img",{ref:n,src:e,alt:t,width:o,height:r,style:{maxWidth:"100%",height:"auto",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)"},...a}));ss.displayName="UIImage";var as={name:"basic",elements:[{tagName:"ui-text",component:ts,propMapping:{content:"content"},eventMapping:{}},{tagName:"ui-button",component:os,propMapping:{label:"label"},eventMapping:{press:"onPress"}},{tagName:"ui-stack",component:rs,propMapping:{direction:"direction",spacing:"spacing",align:"align",justify:"justify"},eventMapping:{}},{tagName:"ui-image",component:ss,propMapping:{src:"src",alt:"alt",width:"width",height:"height"},eventMapping:{}}]},Mi=({receiver:e})=>{const t=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(t.current)return e.connect(t.current),()=>{e.disconnect()}},[e]),(0,m.jsx)("div",{ref:t,"data-testid":"standard-dom-renderer-container"})},Pi=({resource:e,library:t,remoteElements:o=[],onUIAction:r})=>{const s=(0,v.useRef)(null),a=(0,v.useRef)(null),[n,l]=(0,v.useState)(null),h=(0,v.useMemo)(()=>(e.mimeType||"").includes("framework=react")?"react":"webcomponents",[e.mimeType]),d=`${t?.name}-${h}`,{receiver:f,components:c}=(0,v.useMemo)(()=>{if(h==="react"){const b=new li,x=t||as,T=new Map;return x&&x.elements.forEach(C=>{const w=hi(C.component);T.set(C.tagName,w)}),{receiver:b,components:T}}else return{receiver:new ci,components:null}},[e,t,o]);(0,v.useEffect)(()=>{function b(x){var T;if(s.current&&x.source===s.current.contentWindow){const C=x.data;if(!C)return;(T=r?.(C))==null||T.catch(w=>{console.error("Error handling UI action result in RemoteDOMResourceRenderer:",w)})}}return window.addEventListener("message",b),()=>window.removeEventListener("message",b)},[r]),(0,v.useEffect)(()=>{const b=a.current;return a.current=null,()=>{b?.close()}},[d]);const g=()=>{const b=s.current;if(!b||a.current)return;const x=new Ri(b);a.current=x;const{code:T,error:C}=Xn(e);if(C){l(C);return}if(T&&f!=null&&f.connection){const w={code:T,remoteElements:o,useReactRenderer:h==="react",componentLibrary:t?.name};x.imports.render(w,f.connection).catch(A=>console.error("Error calling remote render:",A))}};return n?(0,m.jsx)("p",{className:"text-red-500",children:n}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("iframe",{ref:s,srcDoc:bi,sandbox:"allow-scripts",style:{display:"none"},title:"Remote DOM Sandbox",onLoad:g},d),h==="react"&&c?(0,m.jsx)(fi,{receiver:f,components:c}):(0,m.jsx)(Mi,{receiver:f})]})};function Ei(e){var t;if(e.contentType)return e.contentType;if(e.mimeType==="text/html")return"rawHtml";if(e.mimeType==="text/uri-list")return"externalUrl";if((t=e.mimeType)!=null&&t.startsWith("application/vnd.mcp-ui.remote-dom"))return"remoteDom"}var Di=e=>{const{resource:t,onUIAction:o,supportedContentTypes:r,htmlProps:s,remoteDomProps:a}=e,n=Ei(t);if(r&&n&&!r.includes(n))return(0,m.jsxs)("p",{className:"text-red-500",children:["Unsupported content type: ",n,"."]});switch(n){case"rawHtml":case"externalUrl":return(0,m.jsx)(Vr,{resource:t,onUIAction:o,...s});case"remoteDom":return(0,m.jsx)(Pi,{resource:t,onUIAction:o,library:a?.library||as,...a});default:return(0,m.jsx)("p",{className:"text-red-500",children:"Unsupported resource type."})}};Di.displayName="UIResourceRenderer";function Li(e){var t,o;return(e.type==="resource"&&((o=(t=e.resource)==null?void 0:t.uri)==null?void 0:o.startsWith("ui://")))??!1}function Ui(e){const t=(e?.ui&&typeof e.ui=="object"&&!Array.isArray(e.ui)?e.ui:void 0)?.visibility;if(!Array.isArray(t))return["model","app"];const o=Array.from(new Set(t.filter(r=>r==="model"||r==="app")));return o.length>0?o:["model","app"]}function zi(e){const t=Ui(e);return t.length===1&&t[0]==="model"}var we="io.modelcontextprotocol/related-task";var N=Ka(e=>e!==null&&(typeof e=="object"||typeof e=="function")),ns=M([i(),S().int()]),is=i(),M1=K({ttl:S().optional(),pollInterval:S().optional()}),Oi=p({ttl:S().optional()}),Fi=p({taskId:i()}),lo=K({progressToken:ns.optional(),[we]:Fi.optional()}),Z=p({_meta:lo.optional()}),Je=Z.extend({task:Oi.optional()}),Ni=e=>Je.safeParse(e).success,$=p({method:i(),params:Z.loose().optional()}),ee=p({_meta:lo.optional()}),te=p({method:i(),params:ee.loose().optional()}),W=K({_meta:lo.optional()}),Ze=M([i(),S().int()]),ls=p({jsonrpc:u("2.0"),id:Ze,...$.shape}).strict(),Xo=e=>ls.safeParse(e).success,cs=p({jsonrpc:u("2.0"),...te.shape}).strict(),ji=e=>cs.safeParse(e).success,co=p({jsonrpc:u("2.0"),id:Ze,result:W}).strict(),ht=e=>co.safeParse(e).success,E;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(E||(E={}));var po=p({jsonrpc:u("2.0"),id:Ze.optional(),error:p({code:S().int(),message:i(),data:D().optional()})}).strict(),qi=e=>po.safeParse(e).success,Vi=M([ls,cs,co,po]),P1=M([co,po]),ds=W.strict(),Hi=ee.extend({requestId:Ze.optional(),reason:i().optional()}),uo=te.extend({method:u("notifications/cancelled"),params:Hi}),Bi=p({src:i(),mimeType:i().optional(),sizes:k(i()).optional(),theme:q(["light","dark"]).optional()}),Qe=p({icons:k(Bi).optional()}),Pe=p({name:i(),title:i().optional()}),It=Pe.extend({...Pe.shape,...Qe.shape,version:i(),websiteUrl:i().optional(),description:i().optional()}),$i=oo(p({applyDefaults:y().optional()}),_(i(),D())),Wi=to(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,oo(p({form:$i.optional(),url:N.optional()}),_(i(),D()).optional())),Gi=K({list:N.optional(),cancel:N.optional(),requests:K({sampling:K({createMessage:N.optional()}).optional(),elicitation:K({create:N.optional()}).optional()}).optional()}),Yi=K({list:N.optional(),cancel:N.optional(),requests:K({tools:K({call:N.optional()}).optional()}).optional()}),Ki=p({experimental:_(i(),N).optional(),sampling:p({context:N.optional(),tools:N.optional()}).optional(),elicitation:Wi.optional(),roots:p({listChanged:y().optional()}).optional(),tasks:Gi.optional(),extensions:_(i(),N).optional()}),Ji=Z.extend({protocolVersion:i(),capabilities:Ki,clientInfo:It}),Zi=$.extend({method:u("initialize"),params:Ji}),Qi=p({experimental:_(i(),N).optional(),logging:N.optional(),completions:N.optional(),prompts:p({listChanged:y().optional()}).optional(),resources:p({subscribe:y().optional(),listChanged:y().optional()}).optional(),tools:p({listChanged:y().optional()}).optional(),tasks:Yi.optional(),extensions:_(i(),N).optional()}),Xi=W.extend({protocolVersion:i(),capabilities:Qi,serverInfo:It,instructions:i().optional()}),el=te.extend({method:u("notifications/initialized"),params:ee.optional()}),At=$.extend({method:u("ping"),params:Z.optional()}),tl=p({progress:S(),total:F(S()),message:F(i())}),ol=p({...ee.shape,...tl.shape,progressToken:ns}),go=te.extend({method:u("notifications/progress"),params:ol}),rl=Z.extend({cursor:is.optional()}),Xe=$.extend({params:rl.optional()}),et=W.extend({nextCursor:is.optional()}),sl=q(["working","input_required","completed","failed","cancelled"]),tt=p({taskId:i(),status:sl,ttl:M([S(),Za()]),createdAt:i(),lastUpdatedAt:i(),pollInterval:F(S()),statusMessage:F(i())}),ho=W.extend({task:tt}),al=ee.merge(tt),St=te.extend({method:u("notifications/tasks/status"),params:al}),mo=$.extend({method:u("tasks/get"),params:Z.extend({taskId:i()})}),fo=W.merge(tt),bo=$.extend({method:u("tasks/result"),params:Z.extend({taskId:i()})}),E1=W.loose(),vo=Xe.extend({method:u("tasks/list")}),xo=et.extend({tasks:k(tt)}),yo=$.extend({method:u("tasks/cancel"),params:Z.extend({taskId:i()})}),nl=W.merge(tt),ps=p({uri:i(),mimeType:F(i()),_meta:_(i(),D()).optional()}),us=ps.extend({text:i()}),wo=i().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),gs=ps.extend({blob:wo}),ot=q(["user","assistant"]),Le=p({audience:k(ot).optional(),priority:S().min(0).max(1).optional(),lastModified:nn({offset:!0}).optional()}),hs=p({...Pe.shape,...Qe.shape,uri:i(),description:F(i()),mimeType:F(i()),size:F(S()),annotations:Le.optional(),_meta:F(K({}))}),il=p({...Pe.shape,...Qe.shape,uriTemplate:i(),description:F(i()),mimeType:F(i()),annotations:Le.optional(),_meta:F(K({}))}),ms=Xe.extend({method:u("resources/list")}),fs=et.extend({resources:k(hs)}),bs=Xe.extend({method:u("resources/templates/list")}),vs=et.extend({resourceTemplates:k(il)}),ko=Z.extend({uri:i()}),ll=ko,xs=$.extend({method:u("resources/read"),params:ll}),ys=W.extend({contents:k(M([us,gs]))}),ws=te.extend({method:u("notifications/resources/list_changed"),params:ee.optional()}),cl=ko,dl=$.extend({method:u("resources/subscribe"),params:cl}),pl=ko,ul=$.extend({method:u("resources/unsubscribe"),params:pl}),gl=ee.extend({uri:i()}),hl=te.extend({method:u("notifications/resources/updated"),params:gl}),ml=p({name:i(),description:F(i()),required:F(y())}),fl=p({...Pe.shape,...Qe.shape,description:F(i()),arguments:F(k(ml)),_meta:F(K({}))}),ks=Xe.extend({method:u("prompts/list")}),Cs=et.extend({prompts:k(fl)}),bl=Z.extend({name:i(),arguments:_(i(),i()).optional()}),vl=$.extend({method:u("prompts/get"),params:bl}),Co=p({type:u("text"),text:i(),annotations:Le.optional(),_meta:_(i(),D()).optional()}),So=p({type:u("image"),data:wo,mimeType:i(),annotations:Le.optional(),_meta:_(i(),D()).optional()}),_o=p({type:u("audio"),data:wo,mimeType:i(),annotations:Le.optional(),_meta:_(i(),D()).optional()}),xl=p({type:u("tool_use"),name:i(),id:i(),input:_(i(),D()),_meta:_(i(),D()).optional()}),Ss=p({type:u("resource"),resource:M([us,gs]),annotations:Le.optional(),_meta:_(i(),D()).optional()}),_s=hs.extend({type:u("resource_link")}),rt=M([Co,So,_o,_s,Ss]),yl=p({role:ot,content:rt}),wl=W.extend({description:i().optional(),messages:k(yl)}),Ts=te.extend({method:u("notifications/prompts/list_changed"),params:ee.optional()}),kl=p({title:i().optional(),readOnlyHint:y().optional(),destructiveHint:y().optional(),idempotentHint:y().optional(),openWorldHint:y().optional()}),Cl=p({taskSupport:q(["required","optional","forbidden"]).optional()}),To=p({...Pe.shape,...Qe.shape,description:i().optional(),inputSchema:p({type:u("object"),properties:_(i(),N).optional(),required:k(i()).optional()}).catchall(D()),outputSchema:p({type:u("object"),properties:_(i(),N).optional(),required:k(i()).optional()}).catchall(D()).optional(),annotations:kl.optional(),execution:Cl.optional(),_meta:_(i(),D()).optional()}),Sl=Xe.extend({method:u("tools/list")}),Is=et.extend({tools:k(To)}),We=W.extend({content:k(rt).default([]),structuredContent:_(i(),D()).optional(),isError:y().optional()}),D1=We.or(W.extend({toolResult:D()})),_l=Je.extend({name:i(),arguments:_(i(),D()).optional()}),As=$.extend({method:u("tools/call"),params:_l}),Rs=te.extend({method:u("notifications/tools/list_changed"),params:ee.optional()}),L1=p({autoRefresh:y().default(!0),debounceMs:S().int().nonnegative().default(300)}),Ms=q(["debug","info","notice","warning","error","critical","alert","emergency"]),Tl=Z.extend({level:Ms}),Il=$.extend({method:u("logging/setLevel"),params:Tl}),Al=ee.extend({level:Ms,logger:i().optional(),data:D()}),Ps=te.extend({method:u("notifications/message"),params:Al}),Rl=p({name:i().optional()}),Ml=p({hints:k(Rl).optional(),costPriority:S().min(0).max(1).optional(),speedPriority:S().min(0).max(1).optional(),intelligencePriority:S().min(0).max(1).optional()}),Pl=p({mode:q(["auto","required","none"]).optional()}),El=p({type:u("tool_result"),toolUseId:i().describe("The unique identifier for the corresponding tool call."),content:k(rt).default([]),structuredContent:p({}).loose().optional(),isError:y().optional(),_meta:_(i(),D()).optional()}),Dl=yr("type",[Co,So,_o]),_t=yr("type",[Co,So,_o,xl,El]),Ll=p({role:ot,content:M([_t,k(_t)]),_meta:_(i(),D()).optional()}),Ul=Je.extend({messages:k(Ll),modelPreferences:Ml.optional(),systemPrompt:i().optional(),includeContext:q(["none","thisServer","allServers"]).optional(),temperature:S().optional(),maxTokens:S().int(),stopSequences:k(i()).optional(),metadata:N.optional(),tools:k(To).optional(),toolChoice:Pl.optional()}),Es=$.extend({method:u("sampling/createMessage"),params:Ul}),zl=W.extend({model:i(),stopReason:F(q(["endTurn","stopSequence","maxTokens"]).or(i())),role:ot,content:Dl}),Ol=W.extend({model:i(),stopReason:F(q(["endTurn","stopSequence","maxTokens","toolUse"]).or(i())),role:ot,content:M([_t,k(_t)])}),Fl=p({type:u("boolean"),title:i().optional(),description:i().optional(),default:y().optional()}),Nl=p({type:u("string"),title:i().optional(),description:i().optional(),minLength:S().optional(),maxLength:S().optional(),format:q(["email","uri","date","date-time"]).optional(),default:i().optional()}),jl=p({type:q(["number","integer"]),title:i().optional(),description:i().optional(),minimum:S().optional(),maximum:S().optional(),default:S().optional()}),ql=p({type:u("string"),title:i().optional(),description:i().optional(),enum:k(i()),default:i().optional()}),Vl=p({type:u("string"),title:i().optional(),description:i().optional(),oneOf:k(p({const:i(),title:i()})),default:i().optional()}),Hl=p({type:u("string"),title:i().optional(),description:i().optional(),enum:k(i()),enumNames:k(i()).optional(),default:i().optional()}),Bl=M([ql,Vl]),$l=p({type:u("array"),title:i().optional(),description:i().optional(),minItems:S().optional(),maxItems:S().optional(),items:p({type:u("string"),enum:k(i())}),default:k(i()).optional()}),Wl=p({type:u("array"),title:i().optional(),description:i().optional(),minItems:S().optional(),maxItems:S().optional(),items:p({anyOf:k(p({const:i(),title:i()}))}),default:k(i()).optional()}),Gl=M([$l,Wl]),Yl=M([Hl,Bl,Gl]),Kl=M([Yl,Fl,Nl,jl]),Jl=Je.extend({mode:u("form").optional(),message:i(),requestedSchema:p({type:u("object"),properties:_(i(),Kl),required:k(i()).optional()})}),Zl=Je.extend({mode:u("url"),message:i(),elicitationId:i(),url:i().url()}),Ql=M([Jl,Zl]),Xl=$.extend({method:u("elicitation/create"),params:Ql}),ec=ee.extend({elicitationId:i()}),tc=te.extend({method:u("notifications/elicitation/complete"),params:ec}),oc=W.extend({action:q(["accept","decline","cancel"]),content:to(e=>e===null?void 0:e,_(i(),M([i(),S(),y(),k(i())])).optional())}),rc=p({type:u("ref/resource"),uri:i()}),sc=p({type:u("ref/prompt"),name:i()}),ac=Z.extend({ref:M([sc,rc]),argument:p({name:i(),value:i()}),context:p({arguments:_(i(),i()).optional()}).optional()}),nc=$.extend({method:u("completion/complete"),params:ac}),ic=W.extend({completion:K({values:k(i()).max(100),total:F(S().int()),hasMore:F(y())})}),lc=p({uri:i().startsWith("file://"),name:i().optional(),_meta:_(i(),D()).optional()}),cc=$.extend({method:u("roots/list"),params:Z.optional()}),dc=W.extend({roots:k(lc)}),pc=te.extend({method:u("notifications/roots/list_changed"),params:ee.optional()}),U1=M([At,Zi,nc,Il,vl,ks,ms,bs,xs,dl,ul,As,Sl,mo,bo,vo,yo]),z1=M([uo,go,el,pc,St]),O1=M([ds,zl,Ol,oc,dc,fo,xo,ho]),F1=M([At,Es,Xl,cc,mo,bo,vo,yo]),N1=M([uo,go,Ps,hl,ws,Rs,Ts,St,tc]),j1=M([ds,Xi,ic,wl,Cs,fs,vs,ys,We,Is,fo,xo,ho]),R=class Ds extends Error{constructor(t,o,r){super(`MCP error ${t}: ${o}`),this.code=t,this.data=r,this.name="McpError"}static fromError(t,o,r){if(t===E.UrlElicitationRequired&&r){const s=r;if(s.elicitations)return new uc(s.elicitations,o)}return new Ds(t,o,r)}},uc=class extends R{constructor(e,t=`URL elicitation${e.length>1?"s":""} required`){super(E.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function Io(e){return!!e._zod}function Ls(e,t){return Io(e)?en(e,t):e.safeParse(t)}function gc(e){if(!e)return;let t;if(Io(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function hc(e){if(Io(e)){const r=e._zod?.def;if(r){if(r.value!==void 0)return r.value;if(Array.isArray(r.values)&&r.values.length>0)return r.values[0]}}const t=e._def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}const o=e.value;if(o!==void 0)return o}function xe(e){return e==="completed"||e==="failed"||e==="cancelled"}function er(e){const t=gc(e)?.method;if(!t)throw new Error("Schema is missing a method literal");const o=hc(t);if(typeof o!="string")throw new Error("Schema method literal must be a string");return o}function tr(e,t){const o=Ls(e,t);if(!o.success)throw o.error;return o.data}var mc=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(uo,t=>{this._oncancel(t)}),this.setNotificationHandler(go,t=>{this._onprogress(t)}),this.setRequestHandler(At,t=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(mo,async(t,o)=>{const r=await this._taskStore.getTask(t.params.taskId,o.sessionId);if(!r)throw new R(E.InvalidParams,"Failed to retrieve task: Task not found");return{...r}}),this.setRequestHandler(bo,async(t,o)=>{const r=async()=>{const s=t.params.taskId;if(!await this._taskStore.getTask(s,o.sessionId))throw new R(E.InvalidParams,`Task not found: ${s}`);if(this._taskMessageQueue){let n;for(;n=await this._taskMessageQueue.dequeue(s,o.sessionId);){if(n.type==="response"||n.type==="error"){const l=n.message,h=l.id,d=this._requestResolvers.get(h);if(d)if(this._requestResolvers.delete(h),n.type==="response")d(l);else{const f=l;d(new R(f.error.code,f.error.message,f.error.data))}else{const f=n.type==="response"?"Response":"Error";this._onerror(new Error(`${f} handler missing for request ${h}`))}continue}await this._transport?.send(n.message,{relatedRequestId:o.requestId})}}const a=await this._taskStore.getTask(s,o.sessionId);if(!a)throw new R(E.InvalidParams,`Task not found: ${s}`);if(!xe(a.status))return await this._waitForTaskUpdate(s,o.signal,o.sessionId),await r();if(xe(a.status)){const n=await this._taskStore.getTaskResult(s,o.sessionId);return this._clearTaskQueue(s,o.sessionId),{...n,_meta:{...n._meta,[we]:{taskId:s}}}}return await r()};return await r()}),this.setRequestHandler(vo,async(t,o)=>{try{const{tasks:r,nextCursor:s}=await this._taskStore.listTasks(t.params?.cursor,o.sessionId);return{tasks:r,nextCursor:s,_meta:{}}}catch(r){throw new R(E.InvalidParams,`Failed to list tasks: ${r instanceof Error?r.message:String(r)}`)}}),this.setRequestHandler(yo,async(t,o)=>{try{const r=await this._taskStore.getTask(t.params.taskId,o.sessionId);if(!r)throw new R(E.InvalidParams,`Task not found: ${t.params.taskId}`);if(xe(r.status))throw new R(E.InvalidParams,`Cannot cancel task in terminal status: ${r.status}`);await this._taskStore.updateTaskStatus(t.params.taskId,"cancelled","Client cancelled task execution.",o.sessionId),this._clearTaskQueue(t.params.taskId,o.sessionId);const s=await this._taskStore.getTask(t.params.taskId,o.sessionId);if(!s)throw new R(E.InvalidParams,`Task not found after cancellation: ${t.params.taskId}`);return{_meta:{},...s}}catch(r){throw r instanceof R?r:new R(E.InvalidRequest,`Failed to cancel task: ${r instanceof Error?r.message:String(r)}`)}}))}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,o,r,s=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,t),startTime:Date.now(),timeout:t,maxTotalTimeout:o,resetTimeoutOnProgress:s,onTimeout:r})}_resetTimeout(e){const t=this._timeoutInfo.get(e);if(!t)return!1;const o=Date.now()-t.startTime;if(t.maxTotalTimeout&&o>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),R.fromError(E.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:o});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){const t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=e;const t=this.transport?.onclose;this._transport.onclose=()=>{t?.(),this._onclose()};const o=this.transport?.onerror;this._transport.onerror=s=>{o?.(s),this._onerror(s)};const r=this._transport?.onmessage;this._transport.onmessage=(s,a)=>{r?.(s,a),ht(s)||qi(s)?this._onresponse(s):Xo(s)?this._onrequest(s,a):ji(s)?this._onnotification(s):this._onerror(new Error(`Unknown message type: ${JSON.stringify(s)}`))},await this._transport.start()}_onclose(){const e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(const o of this._timeoutInfo.values())clearTimeout(o.timeoutId);this._timeoutInfo.clear();for(const o of this._requestHandlerAbortControllers.values())o.abort();this._requestHandlerAbortControllers.clear();const t=R.fromError(E.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(const o of e.values())o(t)}_onerror(e){this.onerror?.(e)}_onnotification(e){const t=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;t!==void 0&&Promise.resolve().then(()=>t(e)).catch(o=>this._onerror(new Error(`Uncaught error in notification handler: ${o}`)))}_onrequest(e,t){const o=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,s=e.params?._meta?.[we]?.taskId,a=r?.sessionId,n=this._taskStore;let l=!0,h;if(s&&n&&this._taskMessageQueue&&a!==void 0&&(l=!1,h=(async()=>{if(!await n.getTask(s,a))throw new R(E.InvalidParams,`Task not found: ${s}`);l=!0})()),o===void 0){const b={jsonrpc:"2.0",id:e.id,error:{code:E.MethodNotFound,message:"Method not found"}};if(s&&h){const x={type:"error",message:b,timestamp:Date.now()};h.then(()=>this._enqueueTaskMessage(s,x,a),()=>r?.send(b)).catch(T=>this._onerror(new Error(`Failed to send an error response: ${T}`)))}else s&&this._taskMessageQueue?this._enqueueTaskMessage(s,{type:"error",message:b,timestamp:Date.now()},r?.sessionId).catch(x=>this._onerror(new Error(`Failed to enqueue error response: ${x}`))):r?.send(b).catch(x=>this._onerror(new Error(`Failed to send an error response: ${x}`)));return}const d=new AbortController;this._requestHandlerAbortControllers.set(e.id,d);const f=Ni(e.params)?e.params.task:void 0,c=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,g={signal:d.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async b=>{if(d.signal.aborted)return;const x={relatedRequestId:e.id};s&&(x.relatedTask={taskId:s}),await this.notification(b,x)},sendRequest:async(b,x,T)=>{if(d.signal.aborted)throw new R(E.ConnectionClosed,"Request was cancelled");const C={...T,relatedRequestId:e.id};s&&!C.relatedTask&&(C.relatedTask={taskId:s});const w=C.relatedTask?.taskId??s;return w&&c&&await c.updateTaskStatus(w,"input_required"),await this.request(b,x,C)},authInfo:t?.authInfo,requestId:e.id,requestInfo:t?.requestInfo,taskId:s,taskStore:c,taskRequestedTtl:f?.ttl,closeSSEStream:t?.closeSSEStream,closeStandaloneSSEStream:t?.closeStandaloneSSEStream};(h??Promise.resolve()).then(()=>{if(h&&d.signal.aborted)throw new R(E.ConnectionClosed,"Request was cancelled");f&&this.assertTaskHandlerCapability(e.method)}).then(()=>o(e,g)).then(async b=>{if(d.signal.aborted)return;const x={result:b,jsonrpc:"2.0",id:e.id};s&&this._taskMessageQueue?await this._enqueueTaskMessage(s,{type:"response",message:x,timestamp:Date.now()},r?.sessionId):await r?.send(x)},async b=>{if(d.signal.aborted)return;const x={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(b.code)?b.code:E.InternalError,message:b.message??"Internal error",...b.data!==void 0&&{data:b.data}}};s&&this._taskMessageQueue&&l?await this._enqueueTaskMessage(s,{type:"error",message:x,timestamp:Date.now()},r?.sessionId):await r?.send(x)}).catch(b=>this._onerror(new Error(`Failed to send response: ${b}`))).finally(()=>{this._requestHandlerAbortControllers.get(e.id)===d&&this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){const{progressToken:t,...o}=e.params,r=Number(t),s=this._progressHandlers.get(r);if(!s){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}const a=this._responseHandlers.get(r),n=this._timeoutInfo.get(r);if(n&&a&&n.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(l){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(l);return}s(o)}_onresponse(e){const t=Number(e.id),o=this._requestResolvers.get(t);if(o){this._requestResolvers.delete(t),ht(e)?o(e):o(new R(e.error.code,e.error.message,e.error.data));return}const r=this._responseHandlers.get(t);if(r===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t);let s=!1;if(ht(e)&&e.result&&typeof e.result=="object"){const a=e.result;if(a.task&&typeof a.task=="object"){const n=a.task;typeof n.taskId=="string"&&(s=!0,this._taskProgressTokens.set(n.taskId,t))}}s||this._progressHandlers.delete(t),ht(e)?r(e):r(R.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,t,o){const{task:r}=o??{};if(!r){try{yield{type:"result",result:await this.request(e,t,o)}}catch(a){yield{type:"error",error:a instanceof R?a:new R(E.InternalError,String(a))}}return}let s;try{const a=await this.request(e,ho,o);if(a.task)s=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new R(E.InternalError,"Task creation did not return a task");for(;;){const n=await this.getTask({taskId:s},o);if(yield{type:"taskStatus",task:n},xe(n.status)){n.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:s},t,o)}:n.status==="failed"?yield{type:"error",error:new R(E.InternalError,`Task ${s} failed`)}:n.status==="cancelled"&&(yield{type:"error",error:new R(E.InternalError,`Task ${s} was cancelled`)});return}if(n.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:s},t,o)};return}const l=n.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(h=>setTimeout(h,l)),o?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof R?a:new R(E.InternalError,String(a))}}}request(e,t,o){const{relatedRequestId:r,resumptionToken:s,onresumptiontoken:a,task:n,relatedTask:l}=o??{};return new Promise((h,d)=>{const f=w=>{d(w)};if(!this._transport){f(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),n&&this.assertTaskCapability(e.method)}catch(w){f(w);return}o?.signal?.throwIfAborted();const c=this._requestMessageId++,g={...e,jsonrpc:"2.0",id:c};o?.onprogress&&(this._progressHandlers.set(c,o.onprogress),g.params={...e.params,_meta:{...e.params?._meta||{},progressToken:c}}),n&&(g.params={...g.params,task:n}),l&&(g.params={...g.params,_meta:{...g.params?._meta||{},[we]:l}});const b=w=>{this._responseHandlers.delete(c),this._progressHandlers.delete(c),this._cleanupTimeout(c),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:c,reason:String(w)}},{relatedRequestId:r,resumptionToken:s,onresumptiontoken:a}).catch(A=>this._onerror(new Error(`Failed to send cancellation: ${A}`))),d(w instanceof R?w:new R(E.RequestTimeout,String(w)))};this._responseHandlers.set(c,w=>{if(!o?.signal?.aborted){if(w instanceof Error)return d(w);try{const A=Ls(t,w.result);A.success?h(A.data):d(A.error)}catch(A){d(A)}}}),o?.signal?.addEventListener("abort",()=>{b(o?.signal?.reason)});const x=o?.timeout??6e4,T=()=>b(R.fromError(E.RequestTimeout,"Request timed out",{timeout:x}));this._setupTimeout(c,x,o?.maxTotalTimeout,T,o?.resetTimeoutOnProgress??!1);const C=l?.taskId;if(C){const w=A=>{const j=this._responseHandlers.get(c);j?j(A):this._onerror(new Error(`Response handler missing for side-channeled request ${c}`))};this._requestResolvers.set(c,w),this._enqueueTaskMessage(C,{type:"request",message:g,timestamp:Date.now()}).catch(A=>{this._cleanupTimeout(c),d(A)})}else this._transport.send(g,{relatedRequestId:r,resumptionToken:s,onresumptiontoken:a}).catch(w=>{this._cleanupTimeout(c),d(w)})})}async getTask(e,t){return this.request({method:"tasks/get",params:e},fo,t)}async getTaskResult(e,t,o){return this.request({method:"tasks/result",params:e},t,o)}async listTasks(e,t){return this.request({method:"tasks/list",params:e},xo,t)}async cancelTask(e,t){return this.request({method:"tasks/cancel",params:e},nl,t)}async notification(e,t){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(e.method);const o=t?.relatedTask?.taskId;if(o){const s={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...e.params?._meta||{},[we]:t.relatedTask}}};await this._enqueueTaskMessage(o,{type:"notification",message:s,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!t?.relatedRequestId&&!t?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let s={...e,jsonrpc:"2.0"};t?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[we]:t.relatedTask}}}),this._transport?.send(s,t).catch(a=>this._onerror(a))});return}let r={...e,jsonrpc:"2.0"};t?.relatedTask&&(r={...r,params:{...r.params,_meta:{...r.params?._meta||{},[we]:t.relatedTask}}}),await this._transport.send(r,t)}setRequestHandler(e,t){const o=er(e);this.assertRequestHandlerCapability(o),this._requestHandlers.set(o,(r,s)=>{const a=tr(e,r);return Promise.resolve(t(a,s))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){const o=er(e);this._notificationHandlers.set(o,r=>{const s=tr(e,r);return Promise.resolve(t(s))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){const t=this._taskProgressTokens.get(e);t!==void 0&&(this._progressHandlers.delete(t),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,t,o){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");const r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,t,o??this._transport?.sessionId,r)}async _clearTaskQueue(e,t){if(this._taskMessageQueue){const o=await this._taskMessageQueue.dequeueAll(e,t);for(const r of o)if(r.type==="request"&&Xo(r.message)){const s=r.message.id,a=this._requestResolvers.get(s);a?(a(new R(E.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(s)):this._onerror(new Error(`Resolver missing for request ${s} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,t,o){let r=this._options?.defaultTaskPollInterval??1e3;try{const s=await this._taskStore?.getTask(e,o);s?.pollInterval&&(r=s.pollInterval)}catch{}return new Promise((s,a)=>{if(t.aborted){a(new R(E.InvalidRequest,"Request cancelled"));return}const n=setTimeout(s,r);t.addEventListener("abort",()=>{clearTimeout(n),a(new R(E.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,t){const o=this._taskStore;if(!o)throw new Error("No task store configured");return{createTask:async r=>{if(!e)throw new Error("No request provided");return await o.createTask(r,e.id,{method:e.method,params:e.params},t)},getTask:async r=>{const s=await o.getTask(r,t);if(!s)throw new R(E.InvalidParams,"Failed to retrieve task: Task not found");return s},storeTaskResult:async(r,s,a)=>{await o.storeTaskResult(r,s,a,t);const n=await o.getTask(r,t);if(n){const l=St.parse({method:"notifications/tasks/status",params:n});await this.notification(l),xe(n.status)&&this._cleanupTaskProgressHandler(r)}},getTaskResult:r=>o.getTaskResult(r,t),updateTaskStatus:async(r,s,a)=>{const n=await o.getTask(r,t);if(!n)throw new R(E.InvalidParams,`Task "${r}" not found - it may have been cleaned up`);if(xe(n.status))throw new R(E.InvalidParams,`Cannot update task "${r}" from terminal status "${n.status}" to "${s}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await o.updateTaskStatus(r,s,a,t);const l=await o.getTask(r,t);if(l){const h=St.parse({method:"notifications/tasks/status",params:l});await this.notification(h),xe(l.status)&&this._cleanupTaskProgressHandler(r)}},listTasks:r=>o.listTasks(r,t)}}},Us=Wa({AppBridge:()=>ta,DOWNLOAD_FILE_METHOD:()=>vc,HOST_CONTEXT_CHANGED_METHOD:()=>Ic,INITIALIZED_METHOD:()=>Pc,INITIALIZE_METHOD:()=>Mc,LATEST_PROTOCOL_VERSION:()=>Ao,MESSAGE_METHOD:()=>xc,McpUiAppCapabilitiesSchema:()=>$s,McpUiDisplayModeSchema:()=>Ee,McpUiDownloadFileRequestSchema:()=>Ys,McpUiDownloadFileResultSchema:()=>zc,McpUiHostCapabilitiesSchema:()=>Bs,McpUiHostContextChangedNotificationSchema:()=>Gc,McpUiHostContextSchema:()=>Ro,McpUiHostCssSchema:()=>js,McpUiHostStylesSchema:()=>qs,McpUiInitializeRequestSchema:()=>Zs,McpUiInitializeResultSchema:()=>Yc,McpUiInitializedNotificationSchema:()=>Ws,McpUiMessageRequestSchema:()=>Ks,McpUiMessageResultSchema:()=>Oc,McpUiOpenLinkRequestSchema:()=>Os,McpUiOpenLinkResultSchema:()=>Uc,McpUiRequestDisplayModeRequestSchema:()=>Qt,McpUiRequestDisplayModeResultSchema:()=>Hc,McpUiRequestTeardownNotificationSchema:()=>Hs,McpUiResourceCspSchema:()=>Rt,McpUiResourceMetaSchema:()=>Vc,McpUiResourcePermissionsSchema:()=>Mt,McpUiResourceTeardownRequestSchema:()=>qc,McpUiResourceTeardownResultSchema:()=>Vs,McpUiSandboxProxyReadyNotificationSchema:()=>Fs,McpUiSandboxResourceReadyNotificationSchema:()=>$c,McpUiSizeChangedNotificationSchema:()=>Ns,McpUiSupportedContentBlockModalitiesSchema:()=>Zt,McpUiThemeSchema:()=>zs,McpUiToolCancelledNotificationSchema:()=>jc,McpUiToolInputNotificationSchema:()=>Fc,McpUiToolInputPartialNotificationSchema:()=>Nc,McpUiToolMetaSchema:()=>Bc,McpUiToolResultNotificationSchema:()=>Wc,McpUiToolVisibilitySchema:()=>Gs,McpUiUpdateModelContextRequestSchema:()=>Js,OPEN_LINK_METHOD:()=>bc,PostMessageTransport:()=>Kc,REQUEST_DISPLAY_MODE_METHOD:()=>Ec,REQUEST_TEARDOWN_METHOD:()=>Ac,RESOURCE_MIME_TYPE:()=>Jc,RESOURCE_TEARDOWN_METHOD:()=>Rc,RESOURCE_URI_META_KEY:()=>Qs,SANDBOX_PROXY_READY_METHOD:()=>yc,SANDBOX_RESOURCE_READY_METHOD:()=>wc,SIZE_CHANGED_METHOD:()=>kc,SUPPORTED_PROTOCOL_VERSIONS:()=>ea,TOOL_CANCELLED_METHOD:()=>Tc,TOOL_INPUT_METHOD:()=>Cc,TOOL_INPUT_PARTIAL_METHOD:()=>Sc,TOOL_RESULT_METHOD:()=>_c,buildAllowAttribute:()=>Xc,getToolUiResourceUri:()=>Xs,isToolVisibilityAppOnly:()=>Qc,isToolVisibilityModelOnly:()=>Zc});(e=>typeof Ie<"u"?Ie:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof Ie<"u"?Ie:t)[o]}):e)(function(e){if(typeof Ie<"u")return Ie.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var fc=class extends mc{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(e,t){}_ensureEventSlot(e){let t=this._eventSlots.get(e);if(!t){let o=this.eventSchemas[e];if(!o)throw Error(`Unknown event: ${String(e)}`);t={listeners:[]},this._eventSlots.set(e,t);let r=o.shape.method.value;this._registeredMethods.add(r);let s=t;super.setNotificationHandler(o,a=>{let n=a.params;this.onEventDispatch(e,n),s.onHandler?.(n);for(let l of[...s.listeners])l(n)})}return t}setEventHandler(e,t){let o=this._ensureEventSlot(e);o.onHandler&&t&&console.warn(`[MCP Apps] on${String(e)} handler replaced. Use addEventListener("${String(e)}", …) to add multiple listeners without replacing.`),o.onHandler=t}getEventHandler(e){return this._eventSlots.get(e)?.onHandler}addEventListener(e,t){this._ensureEventSlot(e).listeners.push(t)}removeEventListener(e,t){let o=this._eventSlots.get(e);if(!o)return;let r=o.listeners.indexOf(t);r!==-1&&o.listeners.splice(r,1)}setRequestHandler=(e,t)=>{this._assertMethodNotRegistered(e,"setRequestHandler"),super.setRequestHandler(e,t)};setNotificationHandler=(e,t)=>{this._assertMethodNotRegistered(e,"setNotificationHandler"),super.setNotificationHandler(e,t)};warnIfRequestHandlerReplaced(e,t,o){t&&o&&console.warn(`[MCP Apps] ${e} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(e,t)=>{let o=e.shape.method.value;this._registeredMethods.add(o),super.setRequestHandler(e,t)};_assertMethodNotRegistered(e,t){let o=e.shape.method.value;if(this._registeredMethods.has(o))throw Error(`Handler for "${o}" already registered (via ${t}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(o)}},Ao="2026-01-26",bc="ui/open-link",vc="ui/download-file",xc="ui/message",yc="ui/notifications/sandbox-proxy-ready",wc="ui/notifications/sandbox-resource-ready",kc="ui/notifications/size-changed",Cc="ui/notifications/tool-input",Sc="ui/notifications/tool-input-partial",_c="ui/notifications/tool-result",Tc="ui/notifications/tool-cancelled",Ic="ui/notifications/host-context-changed",Ac="ui/notifications/request-teardown",Rc="ui/resource-teardown",Mc="ui/initialize",Pc="ui/notifications/initialized",Ec="ui/request-display-mode",zs=M([u("light"),u("dark")]).describe("Color theme preference for the host environment."),Ee=M([u("inline"),u("fullscreen"),u("pip")]).describe("Display mode for UI presentation."),Dc=M([u("--color-background-primary"),u("--color-background-secondary"),u("--color-background-tertiary"),u("--color-background-inverse"),u("--color-background-ghost"),u("--color-background-info"),u("--color-background-danger"),u("--color-background-success"),u("--color-background-warning"),u("--color-background-disabled"),u("--color-text-primary"),u("--color-text-secondary"),u("--color-text-tertiary"),u("--color-text-inverse"),u("--color-text-ghost"),u("--color-text-info"),u("--color-text-danger"),u("--color-text-success"),u("--color-text-warning"),u("--color-text-disabled"),u("--color-border-primary"),u("--color-border-secondary"),u("--color-border-tertiary"),u("--color-border-inverse"),u("--color-border-ghost"),u("--color-border-info"),u("--color-border-danger"),u("--color-border-success"),u("--color-border-warning"),u("--color-border-disabled"),u("--color-ring-primary"),u("--color-ring-secondary"),u("--color-ring-inverse"),u("--color-ring-info"),u("--color-ring-danger"),u("--color-ring-success"),u("--color-ring-warning"),u("--font-sans"),u("--font-mono"),u("--font-weight-normal"),u("--font-weight-medium"),u("--font-weight-semibold"),u("--font-weight-bold"),u("--font-text-xs-size"),u("--font-text-sm-size"),u("--font-text-md-size"),u("--font-text-lg-size"),u("--font-heading-xs-size"),u("--font-heading-sm-size"),u("--font-heading-md-size"),u("--font-heading-lg-size"),u("--font-heading-xl-size"),u("--font-heading-2xl-size"),u("--font-heading-3xl-size"),u("--font-text-xs-line-height"),u("--font-text-sm-line-height"),u("--font-text-md-line-height"),u("--font-text-lg-line-height"),u("--font-heading-xs-line-height"),u("--font-heading-sm-line-height"),u("--font-heading-md-line-height"),u("--font-heading-lg-line-height"),u("--font-heading-xl-line-height"),u("--font-heading-2xl-line-height"),u("--font-heading-3xl-line-height"),u("--border-radius-xs"),u("--border-radius-sm"),u("--border-radius-md"),u("--border-radius-lg"),u("--border-radius-xl"),u("--border-radius-full"),u("--border-width-regular"),u("--shadow-hairline"),u("--shadow-sm"),u("--shadow-md"),u("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),Lc=_(Dc.describe(`Style variables for theming MCP apps.
1323
+
1324
+ Individual style keys are optional - hosts may provide any subset of these values.
1325
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
1326
+
1327
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
1328
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),M([i(),qt()]).describe(`Style variables for theming MCP apps.
1329
+
1330
+ Individual style keys are optional - hosts may provide any subset of these values.
1331
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
1332
+
1333
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
1334
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.
1335
+
1336
+ Individual style keys are optional - hosts may provide any subset of these values.
1337
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
1338
+
1339
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
1340
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),Os=p({method:u("ui/open-link"),params:p({url:i().describe("URL to open in the host's browser")})}),Uc=p({isError:y().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),zc=p({isError:y().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),Oc=p({isError:y().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough(),Fs=p({method:u("ui/notifications/sandbox-proxy-ready"),params:p({})}),Rt=p({connectDomains:k(i()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
1341
+
1342
+ - Maps to CSP \`connect-src\` directive
1343
+ - Empty or omitted → no network connections (secure default)`),resourceDomains:k(i()).optional().describe("Origins for static resources (images, scripts, stylesheets, fonts, media).\n\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\n- Wildcard subdomains supported: `https://*.example.com`\n- Empty or omitted → no network resources (secure default)"),frameDomains:k(i()).optional().describe("Origins for nested iframes.\n\n- Maps to CSP `frame-src` directive\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)"),baseUriDomains:k(i()).optional().describe("Allowed base URIs for the document.\n\n- Maps to CSP `base-uri` directive\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)")}),Mt=p({camera:p({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:p({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:p({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:p({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")}),Ns=p({method:u("ui/notifications/size-changed"),params:p({width:S().optional().describe("New width in pixels."),height:S().optional().describe("New height in pixels.")})}),Fc=p({method:u("ui/notifications/tool-input"),params:p({arguments:_(i(),D().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),Nc=p({method:u("ui/notifications/tool-input-partial"),params:p({arguments:_(i(),D().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),jc=p({method:u("ui/notifications/tool-cancelled"),params:p({reason:i().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),js=p({fonts:i().optional()}),qs=p({variables:Lc.optional().describe("CSS variables for theming the app."),css:js.optional().describe("CSS blocks that apps can inject.")}),qc=p({method:u("ui/resource-teardown"),params:p({})}),Vs=_(i(),D()),Zt=p({text:p({}).optional().describe("Host supports text content blocks."),image:p({}).optional().describe("Host supports image content blocks."),audio:p({}).optional().describe("Host supports audio content blocks."),resource:p({}).optional().describe("Host supports resource content blocks."),resourceLink:p({}).optional().describe("Host supports resource link content blocks."),structuredContent:p({}).optional().describe("Host supports structured content.")}),Hs=p({method:u("ui/notifications/request-teardown"),params:p({}).optional()}),Bs=p({experimental:_(i(),_(i(),kr()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:p({}).optional().describe("Host supports opening external URLs."),downloadFile:p({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:p({listChanged:y().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:p({listChanged:y().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:p({}).optional().describe("Host accepts log messages."),sandbox:p({permissions:Mt.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:Rt.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:Zt.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:Zt.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:p({tools:p({}).optional().describe("Host supports tool use via `tools` and `toolChoice` parameters.")}).optional().describe("Host supports LLM sampling (sampling/createMessage) from the view.\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.")}),$s=p({experimental:_(i(),_(i(),kr()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:p({listChanged:y().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:k(Ee).optional().describe("Display modes the app supports.")}),Ws=p({method:u("ui/notifications/initialized"),params:p({}).optional()}),Vc=p({csp:Rt.optional().describe("Content Security Policy configuration for UI resources."),permissions:Mt.optional().describe("Sandbox permissions requested by the UI resource."),domain:i().optional().describe(`Dedicated origin for view sandbox.
1344
+
1345
+ Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
1346
+
1347
+ **Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:
1348
+ - Hash-based subdomains (e.g., \`{hash}.claudemcpcontent.com\`)
1349
+ - URL-derived subdomains (e.g., \`www-example-com.oaiusercontent.com\`)
1350
+
1351
+ If omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:y().optional().describe(`Visual boundary preference - true if view prefers a visible border.
1352
+
1353
+ Boolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.
1354
+
1355
+ - \`true\`: request visible border + background
1356
+ - \`false\`: request no visible border + background
1357
+ - omitted: host decides border`)}),Qt=p({method:u("ui/request-display-mode"),params:p({mode:Ee.describe("The display mode being requested.")})}),Hc=p({mode:Ee.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),Gs=M([u("model"),u("app")]).describe("Tool visibility scope - who can access the tool."),Bc=p({resourceUri:i().optional(),visibility:k(Gs).optional().describe(`Who can access this tool. Default: ["model", "app"]
1358
+ - "model": Tool visible to and callable by the agent
1359
+ - "app": Tool callable by the app from this server only`),csp:zo().optional(),permissions:zo().optional()});p({mimeTypes:k(i()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});var Ys=p({method:u("ui/download-file"),params:p({contents:k(M([Ss,_s])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})}),Ks=p({method:u("ui/message"),params:p({role:u("user").describe('Message role, currently only "user" is supported.'),content:k(rt).describe("Message content blocks (text, image, etc.).")})}),$c=p({method:u("ui/notifications/sandbox-resource-ready"),params:p({html:i().describe("HTML content to load into the inner iframe."),sandbox:i().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:Rt.optional().describe("CSP configuration from resource metadata."),permissions:Mt.optional().describe("Sandbox permissions from resource metadata.")})}),Wc=p({method:u("ui/notifications/tool-result"),params:We.describe("Standard MCP tool execution result.")}),Ro=p({toolInfo:p({id:Ze.optional().describe("JSON-RPC id of the tools/call request."),tool:To.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:zs.optional().describe("Current color theme preference."),styles:qs.optional().describe("Style configuration for theming the app."),displayMode:Ee.optional().describe("How the UI is currently displayed."),availableDisplayModes:k(Ee).optional().describe("Display modes the host supports."),containerDimensions:M([p({height:S().describe("Fixed container height in pixels.")}),p({maxHeight:M([S(),qt()]).optional().describe("Maximum container height in pixels.")})]).and(M([p({width:S().describe("Fixed container width in pixels.")}),p({maxWidth:M([S(),qt()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
1360
+ container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:i().optional().describe("User's language and region preference in BCP 47 format."),timeZone:i().optional().describe("User's timezone in IANA format."),userAgent:i().optional().describe("Host application identifier."),platform:M([u("web"),u("desktop"),u("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:p({touch:y().optional().describe("Whether the device supports touch input."),hover:y().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:p({top:S().describe("Top safe area inset in pixels."),right:S().describe("Right safe area inset in pixels."),bottom:S().describe("Bottom safe area inset in pixels."),left:S().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),Gc=p({method:u("ui/notifications/host-context-changed"),params:Ro.describe("Partial context update containing only changed fields.")}),Js=p({method:u("ui/update-model-context"),params:p({content:k(rt).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:_(i(),D().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})}),Zs=p({method:u("ui/initialize"),params:p({appInfo:It.describe("App identification (name and version)."),appCapabilities:$s.describe("Features and capabilities this app provides."),protocolVersion:i().describe("Protocol version this app supports.")})}),Yc=p({protocolVersion:i().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:It.describe("Host application identification and version."),hostCapabilities:Bs.describe("Features and capabilities provided by the host."),hostContext:Ro.describe("Rich context about the host environment.")}).passthrough(),Kc=class{eventTarget;eventSource;messageListener;constructor(e=window.parent,t){this.eventTarget=e,this.eventSource=t,this.messageListener=o=>{if(t&&o.source!==this.eventSource){console.debug("Ignoring message from unknown source",o);return}let r=Vi.safeParse(o.data);r.success?(console.debug("Parsed message",r.data),this.onmessage?.(r.data)):o.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",r.error.message,o):(console.error("Failed to parse message",r.error.message,o),this.onerror?.(Error("Invalid JSON-RPC message received: "+r.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(e,t){e.method!=="ui/notifications/tool-input-partial"&&console.debug("Sending message",e),this.eventTarget.postMessage(e,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},Qs="ui/resourceUri",Jc="text/html;profile=mcp-app";function Xs(e){let t=e._meta?.ui?.resourceUri;if(t===void 0&&(t=e._meta?.[Qs]),typeof t=="string"&&t.startsWith("ui://"))return t;if(t!==void 0)throw Error(`Invalid UI resource URI: ${JSON.stringify(t)}`)}function Zc(e){let t=e._meta?.ui?.visibility;return t?t.length===1&&t[0]==="model":!1}function Qc(e){let t=e._meta?.ui?.visibility;return t?t.length===1&&t[0]==="app":!1}function Xc(e){if(!e)return"";let t=[];return e.camera&&t.push("camera"),e.microphone&&t.push("microphone"),e.geolocation&&t.push("geolocation"),e.clipboardWrite&&t.push("clipboard-write"),t.join("; ")}var ea=[Ao],ta=class extends fc{_client;_hostInfo;_capabilities;_appCapabilities;_hostContext={};_appInfo;_initializedReceived=!1;_baseReplaceRequestHandler=this.replaceRequestHandler;replaceRequestHandler=(e,t)=>{this._baseReplaceRequestHandler(e,(o,r)=>(this._initializedReceived||console.warn(`[ext-apps] AppBridge received '${o.method}' before ui/notifications/initialized. The View is calling host methods before completing the handshake; it should await app.connect() first.`),t(o,r)))};eventSchemas={sizechange:Ns,sandboxready:Fs,initialized:Ws,requestteardown:Hs,loggingmessage:Ps};constructor(e,t,o,r){super(r),this._client=e,this._hostInfo=t,this._capabilities=o,this.addEventListener("initialized",()=>{this._initializedReceived=!0}),this._hostContext=r?.hostContext||{},this.setRequestHandler(Zs,s=>this._oninitialize(s)),this.setRequestHandler(At,(s,a)=>(this.onping?.(s.params,a),{})),this.replaceRequestHandler(Qt,s=>({mode:this._hostContext.displayMode??"inline"}))}getAppCapabilities(){return this._appCapabilities}getAppVersion(){return this._appInfo}onping;get onsizechange(){return this.getEventHandler("sizechange")}set onsizechange(e){this.setEventHandler("sizechange",e)}get onsandboxready(){return this.getEventHandler("sandboxready")}set onsandboxready(e){this.setEventHandler("sandboxready",e)}get oninitialized(){return this.getEventHandler("initialized")}set oninitialized(e){this.setEventHandler("initialized",e)}_onmessage;get onmessage(){return this._onmessage}set onmessage(e){this.warnIfRequestHandlerReplaced("onmessage",this._onmessage,e),this._onmessage=e,this.replaceRequestHandler(Ks,async(t,o)=>{if(!this._onmessage)throw Error("No onmessage handler set");return this._onmessage(t.params,o)})}_onopenlink;get onopenlink(){return this._onopenlink}set onopenlink(e){this.warnIfRequestHandlerReplaced("onopenlink",this._onopenlink,e),this._onopenlink=e,this.replaceRequestHandler(Os,async(t,o)=>{if(!this._onopenlink)throw Error("No onopenlink handler set");return this._onopenlink(t.params,o)})}_ondownloadfile;get ondownloadfile(){return this._ondownloadfile}set ondownloadfile(e){this.warnIfRequestHandlerReplaced("ondownloadfile",this._ondownloadfile,e),this._ondownloadfile=e,this.replaceRequestHandler(Ys,async(t,o)=>{if(!this._ondownloadfile)throw Error("No ondownloadfile handler set");return this._ondownloadfile(t.params,o)})}get onrequestteardown(){return this.getEventHandler("requestteardown")}set onrequestteardown(e){this.setEventHandler("requestteardown",e)}_onrequestdisplaymode;get onrequestdisplaymode(){return this._onrequestdisplaymode}set onrequestdisplaymode(e){this.warnIfRequestHandlerReplaced("onrequestdisplaymode",this._onrequestdisplaymode,e),this._onrequestdisplaymode=e,this.replaceRequestHandler(Qt,async(t,o)=>{if(!this._onrequestdisplaymode)throw Error("No onrequestdisplaymode handler set");return this._onrequestdisplaymode(t.params,o)})}get onloggingmessage(){return this.getEventHandler("loggingmessage")}set onloggingmessage(e){this.setEventHandler("loggingmessage",e)}_onupdatemodelcontext;get onupdatemodelcontext(){return this._onupdatemodelcontext}set onupdatemodelcontext(e){this.warnIfRequestHandlerReplaced("onupdatemodelcontext",this._onupdatemodelcontext,e),this._onupdatemodelcontext=e,this.replaceRequestHandler(Js,async(t,o)=>{if(!this._onupdatemodelcontext)throw Error("No onupdatemodelcontext handler set");return this._onupdatemodelcontext(t.params,o)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(e){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,e),this._oncalltool=e,this.replaceRequestHandler(As,async(t,o)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(t.params,o)})}set oncreatesamplingmessage(e){this.setRequestHandler(Es,async(t,o)=>e(t.params,o))}sendToolListChanged(e={}){return this.notification({method:"notifications/tools/list_changed",params:e})}_onlistresources;get onlistresources(){return this._onlistresources}set onlistresources(e){this.warnIfRequestHandlerReplaced("onlistresources",this._onlistresources,e),this._onlistresources=e,this.replaceRequestHandler(ms,async(t,o)=>{if(!this._onlistresources)throw Error("No onlistresources handler set");return this._onlistresources(t.params,o)})}_onlistresourcetemplates;get onlistresourcetemplates(){return this._onlistresourcetemplates}set onlistresourcetemplates(e){this.warnIfRequestHandlerReplaced("onlistresourcetemplates",this._onlistresourcetemplates,e),this._onlistresourcetemplates=e,this.replaceRequestHandler(bs,async(t,o)=>{if(!this._onlistresourcetemplates)throw Error("No onlistresourcetemplates handler set");return this._onlistresourcetemplates(t.params,o)})}_onreadresource;get onreadresource(){return this._onreadresource}set onreadresource(e){this.warnIfRequestHandlerReplaced("onreadresource",this._onreadresource,e),this._onreadresource=e,this.replaceRequestHandler(xs,async(t,o)=>{if(!this._onreadresource)throw Error("No onreadresource handler set");return this._onreadresource(t.params,o)})}sendResourceListChanged(e={}){return this.notification({method:"notifications/resources/list_changed",params:e})}_onlistprompts;get onlistprompts(){return this._onlistprompts}set onlistprompts(e){this.warnIfRequestHandlerReplaced("onlistprompts",this._onlistprompts,e),this._onlistprompts=e,this.replaceRequestHandler(ks,async(t,o)=>{if(!this._onlistprompts)throw Error("No onlistprompts handler set");return this._onlistprompts(t.params,o)})}sendPromptListChanged(e={}){return this.notification({method:"notifications/prompts/list_changed",params:e})}assertCapabilityForMethod(e){}assertRequestHandlerCapability(e){}assertNotificationCapability(e){}assertTaskCapability(e){throw Error("Tasks are not supported in MCP Apps")}assertTaskHandlerCapability(e){throw Error("Task handlers are not supported in MCP Apps")}getCapabilities(){return this._capabilities}async _oninitialize(e){let t=e.params.protocolVersion;return this._appInfo!==void 0&&console.warn("[ext-apps] AppBridge received a second ui/initialize. The View may be double-mounting (e.g. React StrictMode in dev) without closing the previous App instance. Responding normally; the latest appInfo/appCapabilities replace the previous values."),this._appCapabilities=e.params.appCapabilities,this._appInfo=e.params.appInfo,{protocolVersion:ea.includes(t)?t:Ao,hostCapabilities:this.getCapabilities(),hostInfo:this._hostInfo,hostContext:this._hostContext}}setHostContext(e){let t={},o=!1;for(let r of Object.keys(e)){let s=this._hostContext[r],a=e[r];ed(s,a)||(t[r]=a,o=!0)}o&&(this._hostContext=e,this.sendHostContextChange(t))}sendHostContextChange(e){return this.notification({method:"ui/notifications/host-context-changed",params:e})}sendToolInput(e){return this.notification({method:"ui/notifications/tool-input",params:e})}sendToolInputPartial(e){return this.notification({method:"ui/notifications/tool-input-partial",params:e})}sendToolResult(e){return this.notification({method:"ui/notifications/tool-result",params:e})}sendToolCancelled(e){return this.notification({method:"ui/notifications/tool-cancelled",params:e})}sendSandboxResourceReady(e){return this.notification({method:"ui/notifications/sandbox-resource-ready",params:e})}teardownResource(e,t){return this.request({method:"ui/resource-teardown",params:e},Vs,t)}sendResourceTeardown=this.teardownResource;callTool(e,t){return this.request({method:"tools/call",params:e},We,t)}listTools(e,t){return this.request({method:"tools/list",params:e},Is,t)}async connect(e){if(this.transport)throw Error("AppBridge is already connected. Call close() before connecting again.");if(this._initializedReceived=!1,this._client){let t=this._client.getServerCapabilities();if(!t)throw Error("Client server capabilities not available");t.tools&&(this.oncalltool=async(o,r)=>this._client.request({method:"tools/call",params:o},We,{signal:r.signal}),t.tools.listChanged&&this._client.setNotificationHandler(Rs,o=>this.sendToolListChanged(o.params))),t.resources&&(this.onlistresources=async(o,r)=>this._client.request({method:"resources/list",params:o},fs,{signal:r.signal}),this.onlistresourcetemplates=async(o,r)=>this._client.request({method:"resources/templates/list",params:o},vs,{signal:r.signal}),this.onreadresource=async(o,r)=>this._client.request({method:"resources/read",params:o},ys,{signal:r.signal}),t.resources.listChanged&&this._client.setNotificationHandler(ws,o=>this.sendResourceListChanged(o.params))),t.prompts&&(this.onlistprompts=async(o,r)=>this._client.request({method:"prompts/list",params:o},Cs,{signal:r.signal}),t.prompts.listChanged&&this._client.setNotificationHandler(Ts,o=>this.sendPromptListChanged(o.params)))}return super.connect(e)}};function ed(e,t){return JSON.stringify(e)===JSON.stringify(t)}var td="Invalid UI resource URI:";function od(e){return e instanceof Error&&e.message.startsWith(td)}function Ge(e){try{return Xs({_meta:e})??null}catch(t){if(od(t))return null;throw t}}var rd={text:"text",image:"image",audio:"audio",resource:"resource",resource_link:"resourceLink"};function sd(e,t){if(!t||!e||typeof e!="object")return e;const o=t.structuredContent===!1&&"structuredContent"in e,r=t.content,s=Array.isArray(e.content)?e.content:null,a=r&&s?s.filter(h=>{const d=h?.type;if(typeof d!="string")return!0;const f=rd[d];return f===void 0?!0:r[f]!==!1}):null,n=a!==null&&s!==null&&a.length!==s.length;if(!o&&!n)return e;const l={...e};return o&&delete l.structuredContent,n&&(l.content=a),l}function ad(e,t,o){let r,s=0,a=0,n=!1;const l=()=>{a++,r!==void 0&&clearInterval(r),r=void 0},h=()=>{if(e.aborted)return l();const d=a;Promise.resolve().then(()=>{if(d===a&&!e.aborted&&!n)return t?.(++s)}).catch(f=>{d===a&&(l(),o?.(f))})};return e.addEventListener("abort",l,{once:!0}),{setPending(d){l(),!(!d||!t||e.aborted||n)&&(h(),r=setInterval(h,2e4))},dispose(){n=!0,l(),e.removeEventListener("abort",l)}}}var{McpUiMessageRequestSchema:or}=Us,nd=or.extend({params:or.shape.params.extend({_meta:_(i(),D()).optional()})}),oa=class extends ta{static preserveOwnedMessageMetadata(e,t){e.replaceRequestHandler(nd,o=>t(o.params))}};function q1(e){return new oa(null,e.hostInfo,{...e.hostCapabilities,sandbox:e.sandbox??{}},{hostContext:e.hostContext??{}})}var id="This host does not allow resource reads.";function V1(e,t){const{effectiveHostCapabilities:o,getMatrix:r,getToolMetadata:s,getToolCallId:a,callbacks:n,onWidgetDebug:l}=t;let h=0;const d=t.nextInvocationSequence??(()=>h++),f=()=>a?.()??"";if(e.oninitialized=()=>{n.onAppInitialized?.(e)},o.message&&(e.onmessage=async c=>{if(n.onSendMessage)return await n.onSendMessage(c);const{content:g}=c,b=g.filter(x=>x.type==="text"&&typeof x.text=="string").map(x=>x.text).join(`
1361
+ `);return b&&n.onSendFollowUp?.(b),{}}),o.message&&n.onSendMessage&&oa.preserveOwnedMessageMetadata(e,n.onSendMessage),o.openLinks&&(e.onopenlink=async({url:c})=>{if(/^(?:codex|chatgpt):|^https:\/\/chatgpt\.com\/plugins\//.test(c)){if(!n.onOpenAppLink)return{isError:!0};try{return await n.onOpenAppLink(c),{}}catch{return{isError:!0}}}let g;if(c)try{g=new URL(c).protocol}catch{g=void 0}return g!=="http:"&&g!=="https:"?{isError:!0}:(n.onOpenLink?.(c),{})}),o.serverTools){const c=g=>{const b=r?.()??null;b!==null&&b.toolCancelled===!1||Promise.resolve(e.sendToolCancelled({reason:g})).catch(()=>{})};e.oncalltool=async({name:g,arguments:b,_meta:x},T)=>{const C=s?.(g);if(zi(C)){const P=new Error(`Tool "${g}" is not callable by apps (visibility: model-only)`);throw c(P.message),P}const w=b??{},A=f(),j=`${A}:app-tool:${d()}`,V=Date.now();if(n.onAppToolInvocation?.({id:j,parentToolCallId:A,toolName:g,input:w,status:"running",startedAt:V}),!n.onCallTool){const P=new Error("Tool calls not supported");throw n.onAppToolInvocation?.({id:j,parentToolCallId:A,toolName:g,input:w,errorText:P.message,status:"error",startedAt:V,completedAt:Date.now()}),c(P.message),P}const ne=e.transport,Y=x?.progressToken,J=ad(T.signal,Y===void 0?void 0:P=>{if(T.signal.throwIfAborted(),!ne||e.transport!==ne)throw new Error("App request transport is no longer connected");return ne.send({jsonrpc:"2.0",method:"notifications/progress",params:{progressToken:Y,progress:P}},{relatedRequestId:T.requestId})},P=>l?.("host-to-ui","notifications/progress",{error:P instanceof Error?P.message:String(P)}));try{const P=await n.onCallTool(g,w,{signal:T.signal,onInputPending:J.setPending}),pe=sd(P,r?.()?.toolResult);return n.onAppToolInvocation?.({id:j,parentToolCallId:A,toolName:g,input:w,output:pe,status:"success",startedAt:V,completedAt:Date.now()}),pe}catch(P){const pe=P instanceof Error?P.message:String(P);throw n.onAppToolInvocation?.({id:j,parentToolCallId:A,toolName:g,input:w,errorText:pe,status:"error",startedAt:V,completedAt:Date.now()}),c(pe),P}finally{J.dispose()}}}o.serverResources?(e.onreadresource=async(c,g)=>{if(n.onReadResourceV2)return n.onReadResourceV2(c,g);const{uri:b}=c;if(!n.onReadResource)throw new Error("Resource reads not supported");return n.onReadResource(b)},e.onlistresources=async c=>n.onListResources?n.onListResources(c):{resources:[]},e.onlistresourcetemplates=async c=>n.onListResourceTemplates?n.onListResourceTemplates(c):{resourceTemplates:[]}):e.onreadresource=async()=>{throw Object.assign(new Error(id),{code:-32601})},e.onlistprompts=async()=>n.onListPrompts?n.onListPrompts():{prompts:[]},o.logging&&(e.onloggingmessage=c=>{n.onLoggingMessage?.(c)}),e.onsizechange=c=>{n.onSizeChange?.(c)},e.onrequestdisplaymode=async c=>n.onRequestDisplayMode?n.onRequestDisplayMode(c):{mode:c.mode??"inline"},o.updateModelContext&&(e.onupdatemodelcontext=async c=>n.onUpdateModelContextV2?n.onUpdateModelContextV2(f(),c):(n.onUpdateModelContext?.(f(),c),{})),o.downloadFile&&(e.ondownloadfile=async c=>n.onDownloadFile?n.onDownloadFile(c):{}),(r?.()??null)?.requestTeardown!==!1&&(e.onrequestteardown=async()=>{const c=f();l?.("ui-to-host","ui/notifications/request-teardown",{});try{await e.teardownResource({})}catch(g){l?.("host-to-ui","ui/resource-teardown",{error:g instanceof Error?g.message:String(g)})}n.onRequestTeardown?.(c)})}var ld=Us,rr=ld.McpUiToolResultNotificationSchema.shape.params,Tt=Object.freeze({list:"ui/sandbox-list-tools",call:"ui/sandbox-call-tool",changed:"ui/notifications/sandbox-tools-changed",maxResultBytes:262144,maxSchemaBytes:8192,maxTools:64,maxDescriptionChars:512}),cd=p({name:i().regex(/^[A-Za-z0-9_.-]{1,128}$/),description:i().min(1),inputSchema:p({type:u("object")}).passthrough(),annotations:p({readOnlyHint:y().optional()}).passthrough().optional()}).passthrough(),sr=p({tools:k(cd).max(Tt.maxTools)});function H1(e){return e?.tools?"mcp-apps":"webmcp"}async function dd(e,t){const o=await e.request({method:Tt.list},sr,t);return sr.parse(o).tools}async function B1(e,t,o,r){const s=await e.request({method:Tt.call,params:{name:t,arguments:o}},rr,r);if(new TextEncoder().encode(JSON.stringify(s)).byteLength>Tt.maxResultBytes)throw new Error("WebMCP app tool result exceeds the 256 KiB limit");return rr.parse(s)}async function $1(e,t,o,r){if(t==="mcp-apps")try{return{source:t,tools:await r()}}catch(s){if(!o||!(s instanceof Error)||!("code"in s)||s.code!==-32601)throw s}return{source:"webmcp",tools:await dd(e)}}var U=(function(e){return e.MCP_APPS="mcp-apps",e.OPENAI_SDK="openai-sdk",e.OPENAI_SDK_AND_MCP_APPS="openai-sdk-and-mcp-apps",e.MCP_UI="mcp-ui",e})({});function W1(e){const t=e._meta;return t?pd(t,void 0):null}function pd(e,t){if(e?.["openai/outputTemplate"]&&Ge(e))return"openai-sdk-and-mcp-apps";if(e?.["openai/outputTemplate"])return"openai-sdk";if(Ge(e))return"mcp-apps";if(t?.resource?.uri?.startsWith("ui://"))return"mcp-ui";const o=t?.content;if(Array.isArray(o)){for(const r of o)if(Li(r))return"mcp-ui"}return null}function G1(e,t){switch(e){case"mcp-apps":case"openai-sdk-and-mcp-apps":return Ge(t);case"openai-sdk":return t?.["openai/outputTemplate"]??null;default:return null}}var Y1=.7;function K1(e,t){return e!==void 0?e:t==="auto"?void 0:t}function ud(e){if(!e)return!1;const t=e.ui?.visibility;return Array.isArray(t)?t.length===1&&t[0]==="app":!1}var ke="com.mcpjam/events",Se=["poll","push","webhook"],gd={hosted:["poll","webhook"],local:Se};function He(e){if(typeof e!="object"||e===null||Array.isArray(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function hd(e){return Se.includes(e)}function md(e){const t=e?.mcpProfile;if(t==null)return{kind:"unset"};if(!He(t))return{kind:"invalid"};const o=t.extensions;if(o===void 0)return{kind:"unset"};if(!He(o))return{kind:"invalid"};if(!Object.prototype.hasOwnProperty.call(o,"com.mcpjam/events"))return{kind:"unset"};const r=o[ke];if(!He(r))return{kind:"invalid"};for(const[s,a]of Object.entries(r))if(!hd(s)||typeof a!="boolean")return{kind:"invalid"};return{kind:"valid",modes:Se.filter(s=>r[s]===!0)}}function fd(e){if(!e)return[...Se];if(e.agentLoop??e.harness)return[];const t=md(e);return t.kind==="valid"?t.modes:[]}function J1(e,t){const o=He(e.mcpProfile)?e.mcpProfile:{profileVersion:1},r=He(o.extensions)?o.extensions:{},s={};for(const a of Se)t.includes(a)&&(s[a]=!0);return{...e,mcpProfile:{...o,extensions:{...r,[ke]:s}}}}function Z1(e){const t=e.hostModes?Se.filter(s=>e.hostModes.includes(s)):fd(e.host),o=[],r={};for(const s of Se)gd[e.runtime].includes(s)?e.eventModes&&!e.eventModes.includes(s)?r[s]="event":t.includes(s)?o.push(s):r[s]="host":r[s]="runtime";return{modes:o,refused:r,hostModes:t}}function ra(e,t){return t?`${e} runs on ${t}, which doesn't receive MCP Events. Pick another client.`:`${e} doesn't receive events. Turn on a delivery mode in the client's Events tab, or pick another client.`}function Q1(e,t,o,r){switch(t.refused[e]){case void 0:return null;case"runtime":return`Hosted subscriptions can't use ${e} yet. Use webhook or poll, or subscribe from the local app.`;case"event":return`The server doesn't offer ${e} delivery for this event.`;case"host":return t.hostModes.length===0?ra(o,r):`${o} doesn't receive events by ${e}. Turn it on in the client's Events tab, or pick another client.`}}function X1(e,t,o){if(e.modes.length>0)return null;if(e.hostModes.length===0)return ra(t,o);const r=e.hostModes.join(" or ");return e.hostModes.every(s=>e.refused[s]==="runtime")?`${t} receives events only by ${r}, which hosted subscriptions can't use yet. Subscribe from the local app, or pick another client.`:`${t} receives events by ${r}, and the server doesn't offer that for this event. Pick another client.`}var bd={"--color-background-primary":["rgba(255, 255, 255, 1)","rgba(33, 33, 33, 1)"],"--color-background-secondary":["rgba(249, 249, 249, 1)","rgba(24, 24, 24, 1)"],"--color-background-tertiary":["rgba(243, 243, 243, 1)","rgba(19, 19, 19, 1)"],"--color-background-inverse":["rgba(13, 13, 13, 1)","rgba(255, 255, 255, 1)"],"--color-background-ghost":["rgba(255, 255, 255, 0)","rgba(33, 33, 33, 0)"],"--color-background-info":["rgba(229, 243, 255, 1)","rgba(1, 53, 102, 1)"],"--color-background-danger":["rgba(255, 217, 217, 1)","rgba(110, 22, 21, 1)"],"--color-background-success":["rgba(217, 244, 228, 1)","rgba(0, 79, 31, 1)"],"--color-background-warning":["rgba(255, 231, 217, 1)","rgba(109, 46, 15, 1)"],"--color-background-disabled":["rgba(13, 13, 13, 0.05)","rgba(255, 255, 255, 0.05)"],"--color-text-primary":["rgba(13, 13, 13, 1)","rgba(255, 255, 255, 1)"],"--color-text-secondary":["rgba(93, 93, 93, 1)","rgba(175, 175, 175, 1)"],"--color-text-tertiary":["rgba(143, 143, 143, 1)","rgba(143, 143, 143, 1)"],"--color-text-inverse":["rgba(255, 255, 255, 1)","rgba(13, 13, 13, 1)"],"--color-text-ghost":["rgba(143, 143, 143, 0.5)","rgba(143, 143, 143, 0.5)"],"--color-text-info":["rgba(1, 105, 204, 1)","rgba(102, 181, 255, 1)"],"--color-text-danger":["rgba(145, 30, 27, 1)","rgba(224, 46, 42, 1)"],"--color-text-success":["rgba(0, 105, 42, 1)","rgba(4, 184, 76, 1)"],"--color-text-warning":["rgba(146, 59, 15, 1)","rgba(226, 85, 7, 1)"],"--color-text-disabled":["rgba(143, 143, 143, 1)","rgba(93, 93, 93, 1)"],"--color-border-primary":["rgba(0, 0, 0, 0.15)","rgba(255, 255, 255, 0.20)"],"--color-border-secondary":["rgba(0, 0, 0, 0.10)","rgba(255, 255, 255, 0.12)"],"--color-border-tertiary":["rgba(0, 0, 0, 0.05)","rgba(255, 255, 255, 0.06)"],"--color-border-inverse":["rgba(255, 255, 255, 0.15)","rgba(0, 0, 0, 0.10)"],"--color-border-ghost":["rgba(0, 0, 0, 0)","rgba(255, 255, 255, 0)"],"--color-border-info":["rgba(1, 105, 204, 1)","rgba(2, 133, 255, 1)"],"--color-border-danger":["rgba(224, 46, 42, 1)","rgba(250, 66, 62, 1)"],"--color-border-success":["rgba(0, 162, 64, 1)","rgba(4, 184, 76, 1)"],"--color-border-warning":["rgba(226, 85, 7, 1)","rgba(251, 106, 34, 1)"],"--color-border-disabled":["rgba(0, 0, 0, 0.06)","rgba(255, 255, 255, 0.06)"],"--color-ring-primary":["rgba(13, 13, 13, 0.7)","rgba(255, 255, 255, 0.7)"],"--color-ring-secondary":["rgba(93, 93, 93, 0.7)","rgba(175, 175, 175, 0.7)"],"--color-ring-inverse":["rgba(255, 255, 255, 0.7)","rgba(13, 13, 13, 0.7)"],"--color-ring-info":["rgba(1, 105, 204, 0.5)","rgba(2, 133, 255, 0.5)"],"--color-ring-danger":["rgba(224, 46, 42, 0.5)","rgba(250, 66, 62, 0.5)"],"--color-ring-success":["rgba(0, 162, 64, 0.5)","rgba(4, 184, 76, 0.5)"],"--color-ring-warning":["rgba(226, 85, 7, 0.5)","rgba(251, 106, 34, 0.5)"]},vd={"--font-sans":'ui-sans-serif, -apple-system, system-ui, "Segoe UI", "Noto Sans", "Helvetica", "Arial", sans-serif',"--font-mono":'ui-monospace, "SFMono-Regular", "SF Mono", "Menlo", "Monaco", "Consolas", "Liberation Mono", "DejaVu Sans Mono", "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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"16px","--font-heading-sm-size":"18px","--font-heading-md-size":"20px","--font-heading-lg-size":"24px","--font-heading-xl-size":"32px","--font-heading-2xl-size":"36px","--font-heading-3xl-size":"48px","--font-text-xs-line-height":"1.5","--font-text-sm-line-height":"1.43","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.61","--font-heading-xs-line-height":"1.5","--font-heading-sm-line-height":"1.44","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.17","--font-heading-xl-line-height":"1.19","--font-heading-2xl-line-height":"1.17","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.08)","--shadow-sm":"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":"0 4px 8px -2px rgba(0, 0, 0, 0.1)"};function ue(e){const t=e==="light"?0:1,o={};for(const[r,[s,a]]of Object.entries(bd))o[r]=t===0?s:a;return{...o,...vd}}var _e={light:"rgba(255, 255, 255, 1)",dark:"rgba(33, 33, 33, 1)"},Pt="desktop",xd={"--color-background-primary":["rgba(255, 255, 255, 1)","rgba(48, 48, 46, 1)"],"--color-background-secondary":["rgba(245, 244, 237, 1)","rgba(38, 38, 36, 1)"],"--color-background-tertiary":["rgba(250, 249, 245, 1)","rgba(20, 20, 19, 1)"],"--color-background-inverse":["rgba(20, 20, 19, 1)","rgba(250, 249, 245, 1)"],"--color-background-ghost":["rgba(255, 255, 255, 0)","rgba(48, 48, 46, 0)"],"--color-background-info":["rgba(214, 228, 246, 1)","rgba(37, 62, 95, 1)"],"--color-background-danger":["rgba(247, 236, 236, 1)","rgba(96, 42, 40, 1)"],"--color-background-success":["rgba(233, 241, 220, 1)","rgba(27, 70, 20, 1)"],"--color-background-warning":["rgba(246, 238, 223, 1)","rgba(72, 58, 15, 1)"],"--color-background-disabled":["rgba(255, 255, 255, 0.5)","rgba(48, 48, 46, 0.5)"],"--color-text-primary":["rgba(20, 20, 19, 1)","rgba(250, 249, 245, 1)"],"--color-text-secondary":["rgba(61, 61, 58, 1)","rgba(194, 192, 182, 1)"],"--color-text-tertiary":["rgba(115, 114, 108, 1)","rgba(156, 154, 146, 1)"],"--color-text-inverse":["rgba(255, 255, 255, 1)","rgba(20, 20, 19, 1)"],"--color-text-ghost":["rgba(115, 114, 108, 0.5)","rgba(156, 154, 146, 0.5)"],"--color-text-info":["rgba(50, 102, 173, 1)","rgba(128, 170, 221, 1)"],"--color-text-danger":["rgba(127, 44, 40, 1)","rgba(238, 136, 132, 1)"],"--color-text-success":["rgba(38, 91, 25, 1)","rgba(122, 185, 72, 1)"],"--color-text-warning":["rgba(90, 72, 21, 1)","rgba(209, 160, 65, 1)"],"--color-text-disabled":["rgba(20, 20, 19, 0.5)","rgba(250, 249, 245, 0.5)"],"--color-border-primary":["rgba(31, 30, 29, 0.4)","rgba(222, 220, 209, 0.4)"],"--color-border-secondary":["rgba(31, 30, 29, 0.3)","rgba(222, 220, 209, 0.3)"],"--color-border-tertiary":["rgba(31, 30, 29, 0.15)","rgba(222, 220, 209, 0.15)"],"--color-border-inverse":["rgba(255, 255, 255, 0.3)","rgba(20, 20, 19, 0.15)"],"--color-border-ghost":["rgba(31, 30, 29, 0)","rgba(222, 220, 209, 0)"],"--color-border-info":["rgba(70, 130, 213, 1)","rgba(70, 130, 213, 1)"],"--color-border-danger":["rgba(167, 61, 57, 1)","rgba(205, 92, 88, 1)"],"--color-border-success":["rgba(67, 116, 38, 1)","rgba(89, 145, 48, 1)"],"--color-border-warning":["rgba(128, 92, 31, 1)","rgba(168, 120, 41, 1)"],"--color-border-disabled":["rgba(31, 30, 29, 0.1)","rgba(222, 220, 209, 0.1)"],"--color-ring-primary":["rgba(20, 20, 19, 0.7)","rgba(250, 249, 245, 0.7)"],"--color-ring-secondary":["rgba(61, 61, 58, 0.7)","rgba(194, 192, 182, 0.7)"],"--color-ring-inverse":["rgba(255, 255, 255, 0.7)","rgba(20, 20, 19, 0.7)"],"--color-ring-info":["rgba(50, 102, 173, 0.5)","rgba(128, 170, 221, 0.5)"],"--color-ring-danger":["rgba(167, 61, 57, 0.5)","rgba(205, 92, 88, 0.5)"],"--color-ring-success":["rgba(67, 116, 38, 0.5)","rgba(89, 145, 48, 0.5)"],"--color-ring-warning":["rgba(128, 92, 31, 0.5)","rgba(168, 120, 41, 0.5)"]},yd={"--font-sans":"Anthropic Sans, sans-serif","--font-mono":"ui-monospace, 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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"};function st(e){const t=e==="light"?0:1,o={};for(const[r,[s,a]]of Object.entries(xd))o[r]=t===0?s:a;return{...o,...yd}}var at={light:"rgba(249, 247, 243, 1)",dark:"rgba(38, 38, 36, 1)"},sa="desktop",aa={light:"rgba(255, 255, 255, 1)",dark:"rgba(31, 31, 31, 1)"};function na(e){return ue(e)}function Ye(e){if(Array.isArray(e))return e.map(Ye);if(e&&typeof e=="object"){const t={};for(const[o,r]of Object.entries(e))t[o]=Ye(r);return t}return e}function mt(e){return Ye(e)}function L(e={}){return{hostStyle:e.hostStyle??"mcpjam",modelId:e.modelId??"",systemPrompt:e.systemPrompt??"",temperature:e.temperature??.7,requireToolApproval:e.requireToolApproval??!1,...e.requireNativeToolDiscovery!==void 0?{requireNativeToolDiscovery:e.requireNativeToolDiscovery}:{},respectToolVisibility:e.respectToolVisibility??!0,progressiveToolDiscovery:e.progressiveToolDiscovery??!1,serverIds:e.serverIds?[...e.serverIds]:[],optionalServerIds:e.optionalServerIds?[...e.optionalServerIds]:[],builtInToolIds:e.builtInToolIds?[...e.builtInToolIds]:[],...e.skillSelection!==void 0?{skillSelection:e.skillSelection.mode==="explicit"?{mode:"explicit",skillIds:[...e.skillSelection.skillIds]}:{mode:"all-visible"}}:{},...e.modelVisibleMcpToolResults!==void 0?{modelVisibleMcpToolResults:e.modelVisibleMcpToolResults}:{},...e.mcpToolResultImageRendering!==void 0?{mcpToolResultImageRendering:e.mcpToolResultImageRendering}:{},computer:e.computer?{kind:"personal",...e.computer.workdir?{workdir:e.computer.workdir}:{}}:void 0,browserProfileId:e.browserProfileId,harness:e.harness,connectionDefaults:{headers:e.connectionDefaults?.headers?{...e.connectionDefaults.headers}:{},requestTimeout:e.connectionDefaults?.requestTimeout??1e4},clientCapabilities:e.clientCapabilities?mt(e.clientCapabilities):mt(tn()),hostContext:e.hostContext?mt(e.hostContext):{},hostCapabilitiesOverride:e.hostCapabilitiesOverride?mt(e.hostCapabilitiesOverride):void 0,chatUiOverride:e.chatUiOverride?Ye(e.chatUiOverride):void 0,mcpProfile:e.mcpProfile?Ye(e.mcpProfile):void 0,serverConnectionOverrides:e.serverConnectionOverrides?Object.fromEntries(Object.entries(e.serverConnectionOverrides).map(([t,o])=>[t,{...o.headersOverride!==void 0?{headersOverride:{...o.headersOverride}}:{},...o.requestTimeoutOverride!==void 0?{requestTimeoutOverride:o.requestTimeoutOverride}:{},...o.mcpProtocolVersionOverride!==void 0?{mcpProtocolVersionOverride:o.mcpProtocolVersionOverride}:{}}])):void 0}}var wd={"--color-background-primary":["oklch(0.9818 0.0054 95.0986)","oklch(0.2679 0.0036 106.6427)"],"--color-background-secondary":["oklch(0.9341 0.0153 90.239)","oklch(0.2213 0.0038 106.707)"],"--color-background-tertiary":["oklch(0.9245 0.0138 92.9892)","oklch(0.213 0.0078 95.4245)"],"--color-background-inverse":["oklch(0.2679 0.0036 106.6427)","oklch(0.9818 0.0054 95.0986)"],"--color-background-ghost":["oklch(0.9818 0.0054 95.0986 / 0)","oklch(0.2679 0.0036 106.6427 / 0)"],"--color-background-info":["oklch(0.93 0.04 259)","oklch(0.28 0.06 259)"],"--color-background-danger":["oklch(0.94 0.04 25.331)","oklch(0.32 0.08 25.331)"],"--color-background-success":["oklch(0.94 0.05 152.5)","oklch(0.3 0.07 152)"],"--color-background-warning":["oklch(0.95 0.06 85.3)","oklch(0.3 0.09 55)"],"--color-background-disabled":["oklch(0.9818 0.0054 95.0986 / 0.5)","oklch(0.2679 0.0036 106.6427 / 0.5)"],"--color-text-primary":["oklch(0.3438 0.0269 95.7226)","oklch(0.8074 0.0142 93.0137)"],"--color-text-secondary":["oklch(0.6059 0.0075 97.4233)","oklch(0.7713 0.0169 99.0657)"],"--color-text-tertiary":["oklch(0.4334 0.0177 98.6048)","oklch(0.7713 0.0169 99.0657 / 0.8)"],"--color-text-inverse":["oklch(1 0 0)","oklch(0.2679 0.0036 106.6427)"],"--color-text-ghost":["oklch(0.6059 0.0075 97.4233 / 0.5)","oklch(0.7713 0.0169 99.0657 / 0.5)"],"--color-text-info":["oklch(0.623 0.214 259)","oklch(0.7 0.18 259)"],"--color-text-danger":["oklch(0.6261 0.2077 25.2698)","oklch(0.6368 0.2078 25.3313)"],"--color-text-success":["oklch(0.696 0.17 152.5)","oklch(0.78 0.16 152)"],"--color-text-warning":["oklch(0.769 0.188 85.3)","oklch(0.83 0.17 85.3)"],"--color-text-disabled":["oklch(0.3438 0.0269 95.7226 / 0.5)","oklch(0.8074 0.0142 93.0137 / 0.5)"],"--color-border-primary":["oklch(0.7621 0.0156 98.3528)","oklch(0.4336 0.0113 100.2195)"],"--color-border-secondary":["oklch(0.8847 0.0069 97.3627)","oklch(0.3618 0.0101 106.8928)"],"--color-border-tertiary":["oklch(0.8847 0.0069 97.3627 / 0.6)","oklch(0.3618 0.0101 106.8928 / 0.6)"],"--color-border-inverse":["oklch(1 0 0 / 0.3)","oklch(0.2679 0.0036 106.6427 / 0.15)"],"--color-border-ghost":["oklch(0.8847 0.0069 97.3627 / 0)","oklch(0.3618 0.0101 106.8928 / 0)"],"--color-border-info":["oklch(0.623 0.214 259)","oklch(0.7 0.18 259)"],"--color-border-danger":["oklch(0.6261 0.2077 25.2698)","oklch(0.6368 0.2078 25.3313)"],"--color-border-success":["oklch(0.696 0.17 152.5)","oklch(0.78 0.16 152)"],"--color-border-warning":["oklch(0.6832 0.1382 38.744)","oklch(0.6724 0.1308 38.7559)"],"--color-border-disabled":["oklch(0.7621 0.0156 98.3528 / 0.4)","oklch(0.4336 0.0113 100.2195 / 0.4)"],"--color-ring-primary":["oklch(0.6171 0.1375 39.0427)","oklch(0.6724 0.1308 38.7559)"],"--color-ring-secondary":["oklch(0.6059 0.0075 97.4233 / 0.5)","oklch(0.7713 0.0169 99.0657 / 0.5)"],"--color-ring-inverse":["oklch(1 0 0 / 0.7)","oklch(0.2679 0.0036 106.6427 / 0.7)"],"--color-ring-info":["oklch(0.623 0.214 259 / 0.5)","oklch(0.7 0.18 259 / 0.5)"],"--color-ring-danger":["oklch(0.6261 0.2077 25.2698 / 0.5)","oklch(0.6368 0.2078 25.3313 / 0.5)"],"--color-ring-success":["oklch(0.696 0.17 152.5 / 0.5)","oklch(0.78 0.16 152 / 0.5)"],"--color-ring-warning":["oklch(0.769 0.188 85.3 / 0.5)","oklch(0.83 0.17 85.3 / 0.5)"]},kd={"--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "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":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"};function ia(e){const t=e==="light"?0:1,o={};for(const[r,[s,a]]of Object.entries(wd))o[r]=t===0?s:a;return{...o,...kd}}var Cd={"--color-background-primary":["#fff","#101013"],"--color-background-secondary":["#fbfbf8","#1a1a1e"],"--color-background-tertiary":["#f5f4ef","#27272b"],"--color-background-inverse":["#1a1a1e","#fff"],"--color-text-primary":["#201f1c","#fff"],"--color-text-secondary":["#615f57","#ccccd1"],"--color-text-tertiary":["#928f86","#a1a1aa"],"--color-text-inverse":["#fff","#101013"],"--color-text-info":["#0082e6","#55b3fb"],"--color-text-danger":["#e51300","#f66c60"],"--color-text-success":["#3aa475","#44ba82"],"--color-text-warning":["#de4408","#ff6529"],"--color-border-primary":["#0000001a","#ffffff1a"],"--color-border-secondary":["#00000026","#ffffff26"],"--color-border-tertiary":["#00000040","#ffffff40"]};function la(e){const t=e==="light"?0:1,o={};for(const[r,[s,a]]of Object.entries(Cd))o[r]=t===0?s:a;return o}var Sd={"--border-radius-full":["9999px","9999px"],"--border-radius-lg":["6px","6px"],"--border-radius-md":["4px","4px"],"--border-radius-sm":["3px","3px"],"--border-radius-xl":["8px","8px"],"--border-radius-xs":["2px","2px"],"--border-width-regular":["1px","1px"],"--color-background-danger":["#fdeded","#5a1d1d"],"--color-background-disabled":["rgba(0, 105, 204, 0.1)","#3a3d41"],"--color-background-ghost":["transparent","transparent"],"--color-background-info":["#e6f2fa","#063b49"],"--color-background-inverse":["#202020","#d4d4d4"],"--color-background-primary":["#ffffff","#1e1e1e"],"--color-background-secondary":["#fafafd","#252526"],"--color-background-success":["rgba(88, 124, 12, 0.15)","rgba(156, 204, 44, 0.2)"],"--color-background-tertiary":["#fafafd","#333333"],"--color-background-warning":["#fdf6e3","#352a05"],"--color-border-danger":["#ad0707","#be1100"],"--color-border-disabled":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-border-ghost":["transparent","transparent"],"--color-border-info":["#0069cc","#007acc"],"--color-border-inverse":["#202020","#cccccc"],"--color-border-primary":["#e2e2e5","#303031"],"--color-border-secondary":["#e4e5e6","rgba(204, 204, 204, 0.2)"],"--color-border-success":["#73c991","#73c991"],"--color-border-tertiary":["#f0f1f2","rgba(128, 128, 128, 0.35)"],"--color-border-warning":["#b69500","#b89500"],"--color-ring-danger":["#ad0707","#be1100"],"--color-ring-info":["#0069cc","#007acc"],"--color-ring-inverse":["#0069cc","#007fd4"],"--color-ring-primary":["#0069cc","#007fd4"],"--color-ring-secondary":["#0069cc","#007fd4"],"--color-ring-success":["#73c991","#73c991"],"--color-ring-warning":["#b69500","#b89500"],"--color-text-danger":["#ad0707","#f48771"],"--color-text-disabled":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-text-ghost":["#606060","rgba(204, 204, 204, 0.7)"],"--color-text-info":["#0069cc","#3794ff"],"--color-text-inverse":["#ffffff","#1e1e1e"],"--color-text-primary":["#202020","#cccccc"],"--color-text-secondary":["#606060","rgba(204, 204, 204, 0.7)"],"--color-text-success":["#73c991","#73c991"],"--color-text-tertiary":["#bbbbbb","rgba(204, 204, 204, 0.5)"],"--color-text-warning":["#bf8803","#cca700"],"--font-heading-2xl-line-height":["1.25","1.25"],"--font-heading-2xl-size":["40px","40px"],"--font-heading-3xl-line-height":["1.25","1.25"],"--font-heading-3xl-size":["48px","48px"],"--font-heading-lg-line-height":["1.25","1.25"],"--font-heading-lg-size":["24px","24px"],"--font-heading-md-line-height":["1.25","1.25"],"--font-heading-md-size":["20px","20px"],"--font-heading-sm-line-height":["1.25","1.25"],"--font-heading-sm-size":["18px","18px"],"--font-heading-xl-line-height":["1.25","1.25"],"--font-heading-xl-size":["32px","32px"],"--font-heading-xs-line-height":["1.25","1.25"],"--font-heading-xs-size":["16px","16px"],"--font-mono":["Menlo, Monaco, 'Courier New', monospace","Menlo, Monaco, 'Courier New', monospace"],"--font-sans":["-apple-system, BlinkMacSystemFont, sans-serif","-apple-system, BlinkMacSystemFont, sans-serif"],"--font-text-lg-line-height":["1.5","1.5"],"--font-text-lg-size":["14px","14px"],"--font-text-md-line-height":["1.5","1.5"],"--font-text-md-size":["13px","13px"],"--font-text-sm-line-height":["1.5","1.5"],"--font-text-sm-size":["11px","11px"],"--font-text-xs-line-height":["1.5","1.5"],"--font-text-xs-size":["10px","10px"],"--font-weight-bold":["bold","bold"],"--font-weight-medium":["500","500"],"--font-weight-normal":["normal","normal"],"--font-weight-semibold":["600","600"],"--shadow-hairline":["0 0 0 1px rgba(0, 0, 0, 0)","0 0 0 1px rgba(0, 0, 0, 0.36)"],"--shadow-lg":["0 10px 15px -3px rgba(0, 0, 0, 0)","0 10px 15px -3px rgba(0, 0, 0, 0.36)"],"--shadow-md":["0 4px 6px -1px rgba(0, 0, 0, 0)","0 4px 6px -1px rgba(0, 0, 0, 0.36)"],"--shadow-sm":["0 1px 2px 0 rgba(0, 0, 0, 0)","0 1px 2px 0 rgba(0, 0, 0, 0.36)"]};function ca(e){const t=e==="light"?0:1;return Object.fromEntries(Object.entries(Sd).map(([o,r])=>[o,r[t]]))}var da="desktop",pa={"--color-background-primary":["#ffffff","#22252a"],"--color-background-secondary":["#f4f6f7","#3f434b"],"--color-background-tertiary":["#e3e6ea","#474e57"],"--color-background-inverse":["#000000","#cbd1d6"],"--color-background-ghost":["transparent","transparent"],"--color-background-info":["#5c98f9","#7cacff"],"--color-background-danger":["#f94b4b","#ff6b6b"],"--color-background-success":["#91cb80","#a3d795"],"--color-background-warning":["#fbcd44","#ffd966"],"--color-background-disabled":["#e3e6ea","#474e57"],"--color-text-primary":["#3f434b","#ffffff"],"--color-text-secondary":["#878787","#878787"],"--color-text-tertiary":["#a7b0b9","#606c7a"],"--color-text-inverse":["#ffffff","#000000"],"--color-text-ghost":["#878787","#878787"],"--color-text-info":["#5c98f9","#7cacff"],"--color-text-danger":["#f94b4b","#ff6b6b"],"--color-text-success":["#91cb80","#a3d795"],"--color-text-warning":["#fbcd44","#ffd966"],"--color-text-disabled":["#cbd1d6","#525b68"],"--color-border-primary":["#e3e6ea","#3f434b"],"--color-border-secondary":["#e3e6ea","#525b68"],"--color-border-tertiary":["#cbd1d6","#474e57"],"--color-border-inverse":["#000000","#ffffff"],"--color-border-ghost":["transparent","transparent"],"--color-border-info":["#5c98f9","#7cacff"],"--color-border-danger":["#f94b4b","#ff6b6b"],"--color-border-success":["#91cb80","#a3d795"],"--color-border-warning":["#fbcd44","#ffd966"],"--color-border-disabled":["#e3e6ea","#3f434b"],"--color-ring-primary":["#e3e6ea","#525b68"],"--color-ring-secondary":["#cbd1d6","#474e57"],"--color-ring-inverse":["#ffffff","#000000"],"--color-ring-info":["#5c98f9","#7cacff"],"--color-ring-danger":["#f94b4b","#ff6b6b"],"--color-ring-success":["#91cb80","#a3d795"],"--color-ring-warning":["#fbcd44","#ffd966"]},ua={"--font-sans":"'Cash Sans', sans-serif","--font-mono":"monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"0.75rem","--font-text-sm-size":"0.875rem","--font-text-md-size":"1rem","--font-text-lg-size":"1.125rem","--font-heading-xs-size":"1rem","--font-heading-sm-size":"1.125rem","--font-heading-md-size":"1.25rem","--font-heading-lg-size":"1.5rem","--font-heading-xl-size":"1.875rem","--font-heading-2xl-size":"2.25rem","--font-heading-3xl-size":"3rem","--font-text-xs-line-height":"1rem","--font-text-sm-line-height":"1.25rem","--font-text-md-line-height":"1.5rem","--font-text-lg-line-height":"1.75rem","--font-heading-xs-line-height":"1.5rem","--font-heading-sm-line-height":"1.75rem","--font-heading-md-line-height":"1.75rem","--font-heading-lg-line-height":"2rem","--font-heading-xl-line-height":"2.25rem","--font-heading-2xl-line-height":"2.5rem","--font-heading-3xl-line-height":"3.5rem","--border-radius-xs":"2px","--border-radius-sm":"4px","--border-radius-md":"8px","--border-radius-lg":"12px","--border-radius-xl":"16px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},_d={...Object.fromEntries(Object.entries(pa).map(([e,[t,o]])=>[e,`light-dark(${t}, ${o})`])),...ua};function Td(e){const t=e==="light"?0:1,o={};for(const[r,[s,a]]of Object.entries(pa))o[r]=t===0?s:a;return{...o,...ua}}var ga=`
1362
+ @font-face {
1363
+ font-family: 'Cash Sans';
1364
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Light.woff2) format('woff2'),
1365
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Light.woff) format('woff');
1366
+ font-weight: 300;
1367
+ font-style: normal;
1368
+ }
1369
+ @font-face {
1370
+ font-family: 'Cash Sans';
1371
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Regular.woff2) format('woff2'),
1372
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Regular.woff) format('woff');
1373
+ font-weight: 400;
1374
+ font-style: normal;
1375
+ }
1376
+ @font-face {
1377
+ font-family: 'Cash Sans';
1378
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Medium.woff2) format('woff2'),
1379
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Medium.woff) format('woff');
1380
+ font-weight: 500;
1381
+ font-style: normal;
1382
+ }
1383
+ @font-face {
1384
+ font-family: 'Cash Sans';
1385
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Bold.woff2) format('woff2'),
1386
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Bold.woff) format('woff');
1387
+ font-weight: 700;
1388
+ font-style: normal;
1389
+ }
1390
+ `;function ae(e){return Array.isArray(e.availableDisplayModes)&&Object.freeze(e.availableDisplayModes),e.cspConnectDomains&&Object.freeze(e.cspConnectDomains),e.cspResourceDomains&&Object.freeze(e.cspResourceDomains),Object.freeze(e)}var nt=ae({availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),Id=ae({...nt,availableDisplayModes:["inline","fullscreen"],cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},requestTeardown:!1,safeAreaInsets:!0}),Ad=ae({...nt,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},downloadFile:!0,requestTeardown:!1,safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"]}),eg=ae({...nt,availableDisplayModes:["inline","fullscreen"],toolCancelled:!1,resourceTeardown:!1,toolInfo:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1}),Rd=ae({...nt,availableDisplayModes:["inline"],updateModelContext:!1,message:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},downloadFile:!1,requestTeardown:!1,safeAreaInsets:!1}),Md=ae({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,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),Pd=ae({availableDisplayModes:["inline","fullscreen"],toolInputPartial:!1,toolCancelled:!1,hostContextChanged:!1,resourceTeardown:!1,toolInfo:!1,openLinks:!0,serverTools:!0,serverResources:!1,logging:!1,updateModelContext:!0,message:!0,sandboxPermissions:!1,cspFrameDomains:!1,cspBaseUriDomains:!1,resourcePrefersBorder:!1,downloadFile:!1,requestTeardown:!1,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"}),tg=ae({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"}),og=ae({availableDisplayModes:["inline","fullscreen","pip"],toolInfo:!0,openLinks:!0,logging:!0,message:!0,serverResources:!0,serverTools:!1,updateModelContext:!1,downloadFile:!1,sandboxPermissions:!1,cspFrameDomains:!0,cspBaseUriDomains:!1,resourcePrefersBorder:!0,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),Ed=ae({availableDisplayModes:["inline"],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,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!1,widgetDisplayModeRequests:"accept"}),Be=ae({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"}),ha={"--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"},Dd={"--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",...ha},Ld={"--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",...ha};function ma(e){return{...e==="light"?Dd:Ld}}var fa='body { font-family: "Slack-Lato", "Slack-Fractions", "appleLogo", sans-serif; }',ar={maxBlocks:256,turnMaxBytes:8388608,updateMaxBytes:2548e3},Ud={id:"opencode",label:"OpenCode",description:"The OpenCode coding agent in a terminal. No widget rendering.",seed:()=>{const e=L({hostStyle:"opencode",modelId:"anthropic/claude-haiku-4.5",temperature:1,requireToolApproval:!0,progressiveToolDiscovery:!0,harness:"opencode",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return e.clientCapabilities={},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1},e}},nr="0.0.0",ft={"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":"Anthropic Sans, sans-serif","--font-mono":"ui-monospace, 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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},bt=`
1391
+ @font-face {
1392
+ font-family: "Anthropic Sans";
1393
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1394
+ font-weight: 400;
1395
+ font-style: normal;
1396
+ font-display: swap;
1397
+ }
1398
+ @font-face {
1399
+ font-family: "Anthropic Sans";
1400
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-RegularItalic-Static.otf") format("opentype");
1401
+ font-weight: 400;
1402
+ font-style: italic;
1403
+ font-display: swap;
1404
+ }
1405
+ @font-face {
1406
+ font-family: "Anthropic Sans";
1407
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1408
+ font-weight: 500;
1409
+ font-style: normal;
1410
+ font-display: swap;
1411
+ }
1412
+ @font-face {
1413
+ font-family: "Anthropic Sans";
1414
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-MediumItalic-Static.otf") format("opentype");
1415
+ font-weight: 500;
1416
+ font-style: italic;
1417
+ font-display: swap;
1418
+ }
1419
+ @font-face {
1420
+ font-family: "Anthropic Sans";
1421
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1422
+ font-weight: 600;
1423
+ font-style: normal;
1424
+ font-display: swap;
1425
+ }
1426
+ @font-face {
1427
+ font-family: "Anthropic Sans";
1428
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-SemiboldItalic-Static.otf") format("opentype");
1429
+ font-weight: 600;
1430
+ font-style: italic;
1431
+ font-display: swap;
1432
+ }
1433
+ @font-face {
1434
+ font-family: "Anthropic Sans";
1435
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1436
+ font-weight: 700;
1437
+ font-style: normal;
1438
+ font-display: swap;
1439
+ }
1440
+ @font-face {
1441
+ font-family: "Anthropic Sans";
1442
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-BoldItalic-Static.otf") format("opentype");
1443
+ font-weight: 700;
1444
+ font-style: italic;
1445
+ font-display: swap;
1446
+ }
1447
+ `,rg=["mcpjam","claude","claude-desktop","claude-code","claude-code-desktop","claude-code-web","chatgpt","chatgpt-desktop","chatgpt-work","chatgpt-work-desktop","mistral","goose","slack","cursor","copilot-cli","cursor-cli","codex","codex-cli","opencode","copilot","vscode","agentcore","n8n","gemini","perplexity","cline","notion","muse","grokbot"],G="dark",zd="anthropic/claude-haiku-5.5",ir=[{id:"mcpjam",label:"MCPJam",description:"SDK defaults with hosted Claude Haiku.",seed:e=>{const t=L({hostStyle:"mcpjam",modelId:zd}),o=e?.theme??G;return t.hostCapabilitiesOverride={experimental:{},openLinks:{},downloadFile:{},serverTools:{},serverResources:{},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},t.clientCapabilities={...t.clientCapabilities,elicitation:{form:{},url:{}},extensions:{...t.clientCapabilities.extensions,[Ga]:{},[on]:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"mcpjam-inspector",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:ia(o)}},t.mcpProfile={profileVersion:1,extensions:{[ke]:{poll:!0,push:!0,webhook:!0}},initialize:{clientInfo:{name:"mcpjam-inspector",version:e?.appVersion??nr}},apps:{uiInitialize:{hostInfo:{name:"MCPJam",version:e?.appVersion??nr}},compatRuntime:{openaiApps:!0},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{camera:!0,microphone:!0,geolocation:!0,clipboardWrite:!0}}}}},t}},{id:"claude",label:"Claude",description:"Anthropic-style host.",seed:e=>{const t=L({hostStyle:"claude",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});delete t.progressiveToolDiscovery;const o=e?.theme??G;return t.hostCapabilitiesOverride={openLinks:{},downloadFile:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:ft,css:{fonts:bt}}},t.mcpProfile={profileVersion:1,paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",mrtrModes:{requestState:!1,elicitation:!1},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},resourceCacheTtl:!0,toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}},t}},{id:"claude-desktop",label:"Claude Desktop",description:"Anthropic-style host, Electron desktop app.",seed:e=>{const t=L({hostStyle:"claude-desktop",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});delete t.progressiveToolDiscovery;const o=e?.theme??G;return t.hostCapabilitiesOverride={openLinks:{},downloadFile:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/5.1231.2 Chrome/156.0.8078.75 Electron/45.2.1 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:ft,css:{fonts:bt}}},t.mcpProfile={profileVersion:1,paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",mrtrModes:{requestState:!1,elicitation:!1},initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},resourceCacheTtl:!0,toolResult:{structuredContent:!0,content:{text:!0,image:!0,audio:!0,resource:!0,resourceLink:!0}},resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!1,widgetDisplayModeRequests:"accept"}}},t}},{id:"claude-code",label:"Claude Code",description:"Anthropic's coding CLI. Roots + form elicitation, no widget rendering.",seed:()=>{const e=L({hostStyle:"claude-code",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!0,harness:"claude-code",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return e.clientCapabilities={elicitation:{form:{}},roots:{listChanged:!0}},e.progressiveToolDiscovery=!0,e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},unauthorizedChallenge:"notify",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-code",title:"Claude Code",version:"2.1.290",description:"Anthropic's agentic coding tool",websiteUrl:"https://claude.com/claude-code"}}},e}},{id:"claude-code-desktop",label:"Claude Code Desktop",description:"Claude Code in the Claude desktop app. Claude Desktop's widget host.",seed:e=>{const t=L({hostStyle:"claude-code-desktop",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1,progressiveToolDiscovery:!0}),o=e?.theme??G;return t.clientCapabilities={elicitation:{form:{},url:{}},extensions:{[le]:{mimeTypes:[ie]}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/3.6556.2 Chrome/152.0.7977.167 Electron/44.9.3 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:ft,css:{fonts:bt}}},t.mcpProfile={profileVersion:1,unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}},t}},{id:"claude-code-web",label:"Claude Code Web",description:"Claude Code on the web. claude.ai's widget host, inline only.",seed:e=>{const t=L({hostStyle:"claude-code-web",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1,progressiveToolDiscovery:!0}),o=e?.theme??G;return t.clientCapabilities={elicitation:{form:{},url:{}},extensions:{[le]:{mimeTypes:[ie]}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{text:{},image:{}},message:{text:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:ft,css:{fonts:bt}}},t.mcpProfile={profileVersion:1,unauthorizedChallengeTrigger:"bearer-header",mcpProtocolVersion:"auto",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline"],toolInputPartial:!0,hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}},t}},{id:"chatgpt",label:"ChatGPT",description:"OpenAI-style host with ChatGPT protocol.",seed:e=>{const t=L({hostStyle:"chatgpt",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={...t.clientCapabilities,experimental:{"openai/visibility":{enabled:!0}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},t.mcpProfile={profileVersion:1,extensions:{[ke]:{}},mcpProtocolVersion:"auto",paginationTraversal:"full",toolListChanged:{listens:!0},toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{...ar},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],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}}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},t}},{id:"chatgpt-desktop",label:"ChatGPT Desktop",description:"The ChatGPT desktop app's widget host.",seed:e=>{const t=L({hostStyle:"chatgpt-desktop",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={...t.clientCapabilities,experimental:{"openai/visibility":{enabled:!0}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},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}},t.mcpProfile={profileVersion:1,extensions:{[ke]:{}},mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,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},downloadFile:!1},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},t}},{id:"chatgpt-work",label:"ChatGPT Work",description:"ChatGPT's work mode on the web: the Codex connector, ChatGPT's widget host.",seed:e=>{const t=L({hostStyle:"chatgpt-work",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={extensions:{[le]:{mimeTypes:[ie,"text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},t.mcpProfile={profileVersion:1,extensions:{[ke]:{webhook:!0}},mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{...ar},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,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},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!0},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},t}},{id:"chatgpt-work-desktop",label:"ChatGPT Work Desktop",description:"ChatGPT's work mode in the desktop app: the Codex connector, the desktop widget host.",seed:e=>{const t=L({hostStyle:"chatgpt-work-desktop",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={extensions:{[le]:{mimeTypes:[ie,"text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{},updateModelContext:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},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}},t.mcpProfile={profileVersion:1,extensions:{[ke]:{webhook:!0}},mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1106.51428"}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,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},downloadFile:!1},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0}}},t}},{id:"mistral",label:"Mistral",description:"Mistral web host. MCP Apps, no OpenAI shim.",seed:e=>{const t=L({hostStyle:"mistral",modelId:"mistralai/mistral-small-2603",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={extensions:{[le]:{mimeTypes:[ie]}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},updateModelContext:{text:{}},message:{text:{},image:{}}},t.hostContext={theme:o,displayMode:"fullscreen",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:1130.5},locale:"en",timeZone:"America/Los_Angeles",userAgent:"Le Chat/1.0.0",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:la(o)}},t.mcpProfile={profileVersion:1,paginationTraversal:"full",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Le Chat",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,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},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:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}}}},t}},{id:"goose",label:"Goose",description:"Goose Desktop. MCP Apps rendering, no OpenAI compatibility shim.",seed:e=>{const t=L({hostStyle:"goose",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={extensions:{[le]:{mimeTypes:[ie]}},roots:{},sampling:{},elicitation:{}},t.progressiveToolDiscovery=!0,t.hostCapabilitiesOverride={openLinks:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:1274},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Goose/1.38.0 Chrome/146.0.7680.65 Electron/41.0.0 Safari/537.36",platform:da,deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:_d,css:{fonts:ga}}},t.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},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"]}}},t}},{id:"slack",label:"Slackbot",description:"Slackbot MCP host. MCP Apps rendering, no OpenAI compatibility shim.",seed:e=>{const t=L({hostStyle:"slack",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={extensions:{"io.slack/block-kit":{mimeTypes:["application/vnd.slack.blocks+json"]},[le]:{mimeTypes:[ie]}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxWidth:598},locale:"en-US",timeZone:"America/Los_Angeles",platform:"web",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:ma(o),css:{fonts:fa}}},t.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}}},t}},{id:"cursor",label:"Cursor",description:"Cursor IDE chat panel. MCP UI extension on, no message/updateModelContext.",seed:e=>{const t=L({hostStyle:"cursor",progressiveToolDiscovery:!0,modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1}),o=e?.theme??G;return t.clientCapabilities={...t.clientCapabilities,elicitation:{form:{}},roots:{listChanged:!1}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!1},serverResources:{listChanged:!1},logging:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:649,maxHeight:800},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"cursor",platform:"desktop"},t.mcpProfile={profileVersion:1,paginationTraversal:"firstPageOnly",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.29.9"}},mcpAppsOverrides:{safeAreaInsets:!1,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}},downloadFile:!1},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0}}},t}},{id:"codex",label:"Codex",description:"OpenAI Codex host with MCP Apps support.",seed:()=>{const e=L({hostStyle:"codex",progressiveToolDiscovery:!0,modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1,harness:"codex",computer:{kind:"personal"}});return e.clientCapabilities={extensions:{[le]:{mimeTypes:[ie,"text/html+skybridge"]},"openai/elicitation":{form:{}},"openai/form":{}},elicitation:{form:{}}},e.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}},e.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.1103.60933"}},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:!1,sandboxPermissions:!1,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}}}},e}},{id:"codex-cli",label:"Codex CLI",description:"OpenAI Codex in a terminal. Form and URL elicitation, no widget rendering.",seed:()=>{const e=L({hostStyle:"codex-cli",progressiveToolDiscovery:!0,modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!0,harness:"codex",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return e.clientCapabilities={elicitation:{form:{},url:{}}},e.hostCapabilitiesOverride={},e.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:Be}},e}},{id:"copilot-cli",label:"GitHub Copilot CLI",description:"Run GitHub Copilot CLI with your selected MCP tools in a hosted sandbox.",seed:()=>({...L({hostStyle:"copilot-cli",modelId:"openai/gpt-5.5",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,harness:"copilot-cli",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}}),progressiveToolDiscovery:void 0,clientCapabilities:{sampling:{}},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,initialize:{clientInfo:{name:"copilot-cli",version:"1.0.92"}},paginationTraversal:"full",toolListChanged:{listens:!0},apps:{mcpAppsOverrides:Be}}})},{id:"cursor-cli",label:"Cursor CLI",description:"Cursor's coding CLI (cursor-agent, over ACP). Runs on your own Cursor account; no widget rendering.",seed:()=>{const e=L({hostStyle:"cursor-cli",modelId:"cursor/auto",temperature:1,requireToolApproval:!0,respectToolVisibility:!1,harness:"cursor",computer:{kind:"personal"},connectionDefaults:{headers:{},requestTimeout:3e5}});return e.clientCapabilities={elicitation:{form:{}}},e.progressiveToolDiscovery=!1,e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,versionNegotiation:"legacy-first",initialize:{clientInfo:{name:"Cursor",version:"1.0.0"}}},e}},Ud,{id:"copilot",label:"Copilot",description:"Microsoft 365 Copilot host. OpenAI-shaped Apps SDK.",seed:e=>{const t=L({hostStyle:"copilot",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1}),o=e?.theme??G;return t.clientCapabilities={...t.clientCapabilities,experimental:{"microsoft/copilot":{enabled:!0}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{},serverResources:{},logging:{},downloadFile:{},message:{text:{}},updateModelContext:{text:{}}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{maxHeight:400,maxWidth:768},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"ms-copilot",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},t.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}}},t}},{id:"vscode",label:"VS Code",description:"Visual Studio Code 1.130 chat panel. Inline MCP Apps with tasks, model-context updates, downloads, and a VS Code webview sandbox.",seed:e=>{const t=L({hostStyle:"vscode",progressiveToolDiscovery:!0,modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1,respectToolVisibility:!1}),o=e?.theme??G;return t.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":{}}},t.hostCapabilitiesOverride={openLinks:{},serverTools:{listChanged:!0},serverResources:{listChanged:!0},logging:{},updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}},downloadFile:{}},t.hostContext={theme:o,displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:494,maxHeight:720},locale:"en-us",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},styles:{variables:ca(o)}},t.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.143.1"}},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'","local-network-access":"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],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"}}},t}},{id:"agentcore",label:"AgentCore",description:"AWS Bedrock AgentCore runtime. Text MCP servers only, no widget rendering.",seed:()=>{const e=L({hostStyle:"agentcore",modelId:"anthropic/claude-haiku-5.5",temperature:.7,requireToolApproval:!1});return e.clientCapabilities={elicitation:{}},e.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/"}}},e}},{id:"n8n",label:"n8n",description:"n8n MCP Client Tool. Tools-only client, no widget rendering.",seed:()=>{const e=L({hostStyle:"n8n",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1});return e.clientCapabilities={},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"@n8n/n8n-nodes-langchain.mcpClientTool",version:"1.3"}}},e}},{id:"gemini",label:"Gemini",description:"Gemini. Renders MCP Apps views, but advertises no sandbox capability.",seed:()=>{const e=L({hostStyle:"gemini",modelId:"google/gemini-3.8-flash",temperature:.7,requireToolApproval:!1});return e.clientCapabilities={extensions:{[le]:{mimeTypes:[ie]}}},e.hostContext={theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{maxHeight:600}},e.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"google-adk",version:"2.14.0"}},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}}},e}},{id:"perplexity",label:"Perplexity",description:"Perplexity MCP client. Tools-only client, no widget rendering.",seed:()=>{const e=L({hostStyle:"perplexity",modelId:"openai/gpt-6-luna",temperature:.7,requireToolApproval:!1});return e.clientCapabilities={},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-06-18"],clientInfo:{name:"mcp",version:"0.1.0"}}},e}},{id:"cline",label:"Cline",description:"Cline coding-agent MCP client. Tools-only client, no widget rendering.",seed:()=>{const e=L({hostStyle:"cline",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return e.clientCapabilities={},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cline",version:"3.89.2"}}},e}},{id:"notion",label:"Notion",description:"Notion AI agent MCP client. Tools-only client, no widget rendering.",seed:()=>{const e=L({hostStyle:"notion",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return e.clientCapabilities={},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"notion",version:"1.0.0"}}},e}},{id:"muse",label:"Muse",description:"Muse MCP client. Tools-only client, no widget rendering.",seed:()=>{const e=L({hostStyle:"muse",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return e.clientCapabilities={},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"muse-custom-connector",version:"1"}},apps:{mcpAppsOverrides:Be}},e}},{id:"grokbot",label:"Grokbot",description:"Grokbot MCP client. Form elicitation and MCP Apps widgets.",seed:()=>{const e=L({hostStyle:"grokbot",modelId:"anthropic/claude-haiku-5.5",temperature:1,requireToolApproval:!1});return e.clientCapabilities={elicitation:{form:{}},extensions:{[le]:{mimeTypes:[ie]}}},e.hostCapabilitiesOverride={},e.mcpProfile={profileVersion:1,toolListChanged:{listens:!0},initialize:{supportedProtocolVersions:["2025-11-25"],clientInfo:{name:"Cursor",version:"1.0.0"}},apps:{mcpAppsOverrides:{}}},e}}];function sg(e,t){const o=ir.find(r=>r.id===e)??ir[0];return{...o.seed(t),runUnloadedToolCalls:o.id!=="vscode"}}var Od=ca,Fd="desktop",Nd={light:"#ffffff",dark:"#1e1e1e"},ce=ia,de={light:"oklch(0.9818 0.0054 95.0986)",dark:"oklch(0.2679 0.0036 106.6427)"},jd=la,qd={light:"#fff",dark:"#111115"},Vd=Td,Hd={light:"#ffffff",dark:"#22252a"},Bd=ma,$d={light:"#fff",dark:"#1a1d21"},Xt={current:null},ba={current:!1},Wd=typeof window<"u";function Gd(){if(ba.current=!0,!!Wd)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Xt.current=e.matches;e.addEventListener("change",t),t()}else Xt.current=!1}function Yd(){!ba.current&&Gd();const[e]=(0,v.useState)(Xt.current);return e}var Kd="m19.6 66.5 19.7-11 .3-1-.3-.5h-1l-3.3-.2-11.2-.3L14 53l-9.5-.5-2.4-.5L0 49l.2-1.5 2-1.3 2.9.2 6.3.5 9.5.6 6.9.4L38 49.1h1.6l.2-.7-.5-.4-.4-.4L29 41l-10.6-7-5.6-4.1-3-2-1.5-2-.6-4.2 2.7-3 3.7.3.9.2 3.7 2.9 8 6.1L37 36l1.5 1.2.6-.4.1-.3-.7-1.1L33 25l-6-10.4-2.7-4.3-.7-2.6c-.3-1-.4-2-.4-3l3-4.2L28 0l4.2.6L33.8 2l2.6 6 4.1 9.3L47 29.9l2 3.8 1 3.4.3 1h.7v-.5l.5-7.2 1-8.7 1-11.2.3-3.2 1.6-3.8 3-2L61 2.6l2 2.9-.3 1.8-1.1 7.7L59 27.1l-1.5 8.2h.9l1-1.1 4.1-5.4 6.9-8.6 3-3.5L77 13l2.3-1.8h4.3l3.1 4.7-1.4 4.9-4.4 5.6-3.7 4.7-5.3 7.1-3.2 5.7.3.4h.7l12-2.6 6.4-1.1 7.6-1.3 3.5 1.6.4 1.6-1.4 3.4-8.2 2-9.6 2-14.3 3.3-.2.1.2.3 6.4.6 2.8.2h6.8l12.6 1 3.3 2 1.9 2.7-.3 2-5.1 2.6-6.8-1.6-16-3.8-5.4-1.3h-.8v.4l4.6 4.5 8.3 7.5L89 80.1l.5 2.4-1.3 2-1.4-.2-9.2-7-3.6-3-8-6.8h-.5v.7l1.8 2.7 9.8 14.7.5 4.5-.7 1.4-2.6 1-2.7-.6-5.8-8-6-9-4.7-8.2-.5.4-2.9 30.2-1.3 1.5-3 1.2-2.5-2-1.4-3 1.4-6.2 1.6-8 1.3-6.4 1.2-7.9.7-2.6v-.2H49L43 72l-9 12.3-7.2 7.6-1.7.7-3-1.5.3-2.8L24 86l10-12.8 6-7.9 4-4.6-.1-.5h-.3L17.2 77.4l-4.7.6-2-2 .2-3 1-1 8-5.5Z",Jd=`
1448
+ m44.724 38.665 8.894-3.265 8.894 1.352 5.588 7.745-1.956 11.57-6.147 5.833h-14.11l-4.423-4.06-1.164-5.83 1.164-7.512z
1449
+ M48.35 133c.36.48 2.65 3.434 3.75 4.85v-14.7l1.45-3.55 2.75-.6h1.25l.75.6c.167.767.5 2.34.5 2.5s.3 2.067.45 3l-.65 3.9-1.35 6.9-.5 3.75 2.5-3.3 4.65-6.65 2.25-2.4 2.4.2 1.9.25.55 2.45.3 3c-.267.817-.84 2.47-1 2.55s-1.767 3.667-2.55 5.45l-1.8 3.25-.85 2.1 2.95-.55 4.25-1.55 2.4-.65 3.8 1.3 1.55 1.45.25 2.1-.4 1.05-3.95 2-4 .8-2.6.5-1.3.6 3.9.2h3.65l3.15.95 1.15 1.05.55 1.45-.55 1.9-1.15.95-1.6.35-1.2-.35-5.65-1.25-4.35-.95-1.65-.15-.25.4 1.05 1 2.25 2.4 3.35 3.1 2.4 1.75.4 1.5-.2 1.85-.7.4h-1.45l-2.8-2.25-2.65-2.05-2.6-1.95-1.7-.95 1.15 1.7 3.55 5.1.35 2.3-.9 2.3-1.05 1.05-3.1.45-2-2.85-2.1-3.05-2.8-4.65-.85 2.95-1.05 4.6c-.45 1.534-1.37 4.62-1.45 4.7s-.933.834-1.35 1.2l-2.35.3-1.75-1.3-.5-1c.25-.883.75-2.67.75-2.75s.767-3.2 1.15-4.75l1.1-4.2h-.35l-3 3.5L41.3 173l-1.4 1.35-2.45-.7-.8-1.05-.2-1.15 1.3-2.2 1.55-1.8 1.6-2.15 2.15-3.25.65-1.05-3.8 1.45-3.25 1.35-3.55 1.95-2.25.55-1.5-.55-1.7-.9-.15-1.05.3-.8c.667-1 2.02-3.01 2.1-3.05s2.067-1.55 3.05-2.3l2.55-1.5 3.95-1.9.85-.45-.4-.3-3.25-.2c-1.533-.183-4.65-.55-4.85-.55s-2.583-.1-3.75-.15l-2.7-.4-1.75-.5-.6-1.65.35-.9 1.4-.5 1.85-.6c.717-.066 2.17-.2 2.25-.2.1 0 3.8.25 4.25.35.36.08 2.217.034 3.1 0l2.95-.35v-.4l-1.1-.9-.85-1.05-2.9-2.25-6.9-5.4-1.1-.8-.45-1.75.35-.9 2-1.55 1.25-.2 3.1 1.4 4.65 2.2 1.95.9.95.45.45-.45v-.75l-.8-1.6-1.7-3.8-1.4-3.75.2-1.55.9-1.35 3.4-.7 2.5 1.55.6 1.45c1.217 1.917 3.74 5.87 4.1 6.35
1450
+ M27.5 227.7l9.85 5.85-4.1-9.3-2.35-5.8-.4-3.5 1.45-2.1 3-1.55 2.4 2.05 2.7 3.85 1.95 4.15 4.5 10.2 2.95 5.3 2.05-3.3V222.2l.35-8 .5-2.6 1-2.35 2.35-1.35 2.1-.5.9 2.6 1.1 3.35-1.1 6.3v13.05l1.45 2.85 5.05-7.25 6-9 1.45-.85 2.45-.55 2.45 1.4 1.55 1.35-2.6 6.7-4.95 9.5-4.2 7.15.5.5 5.65-1.2 10.35-2.65 2.75-.5 2 .5 2 .95.55 2.4-.95 1.8-5.75 3.7-5.35 1.2-4.55 1.25L71.4 253l3.15.85 8.15 1.1 4.75.45 2.05 2 .95 2.1-.95 1.75-2.9 2-3.9-1.15-6.2-1.55-4.7-1.05h-5.55l3 3.3 3.4 3.25 4.9 4.65 3.75 3.05.65 1.45v1.95l-1.25 1.05-2.45 1.45-4.75-4.45-5.25-5.45-4.45-3.7.7 1.85 6.15 10.3.9 1.8.25 3.15-.6 1.55-1.95 1.25-4.05-5.25-6.1-8.15-4.75-5.7-1.25 13.45-1.4 6.1-3.25 2.45-1.95-.6-1-2.3 1-8.8.3-5.55-.3-4.75-2.35 2.9-5.6 7.4-3.75 5.25-3.25 1.75-2.75-1-1.3-1.3 4.5-7.2 2.2-3.3 4.35-8.55v-.7l-3.75 1.55-2.25 1.5-4.5 2.4-5.8 3.45-3.4.75-2.1-1.05-.75-1.4.75-2.8.75-1.35 6.8-3.45 12.3-7.2.75-1.2H36.2l-8.15.55-10.55-.55-4.3.55-1.95-.55-1.65-2.25v-1.55l2.2-1.7 6.25-.55 10-.6 5.5-.7 2.1-.65-6.85-3.45-5.5-2.95-8.85-4.5-1.25-2.85v-4.9l.6-1 5.05-1.2 3.35.7zm-7.878 138.799 19.675-11.033.325-.966-.325-.539h-.973l-3.297-.2-11.243-.301-9.73-.401-9.46-.502-2.378-.501L0 349.097l.216-1.455 2-1.354 2.865.251 6.324.451 9.514.652 6.865.402L38 349.097h1.622l.216-.652-.54-.401-.433-.402-9.838-6.67-10.649-7.021-5.567-4.062-2.973-2.056-1.514-1.906-.648-4.212 2.702-3.009 3.676.25.919.251 3.73 2.859 7.946 6.168 10.378 7.623 1.514 1.254.609-.411.093-.291-.703-1.154-5.621-10.18-6-10.381-2.703-4.313-.703-2.558c-.272-1.073-.432-1.961-.432-3.059l3.081-4.213 1.73-.551 4.162.551 1.73 1.505 2.594 5.917 4.163 9.278 6.486 12.638 1.892 3.761 1.027 3.461.378 1.053h.649v-.602l.54-7.121.974-8.726.972-11.234.325-3.16 1.567-3.811 3.136-2.056 2.432 1.153 2 2.859-.27 1.855-1.19 7.724-2.324 12.086-1.513 8.124h.864l1.028-1.053 4.108-5.416 6.865-8.626 3.026-3.41 3.568-3.762 2.27-1.805h4.325l3.135 4.714-1.406 4.865-4.432 5.617-3.676 4.764-5.27 7.061-3.27 5.677.293.469.788-.068 11.892-2.557 6.432-1.154 7.676-1.304 3.46 1.605.378 1.655-1.352 3.36-8.216 2.006-9.621 1.956-14.328 3.373-.159.128.187.277 6.462.585 2.756.151h6.757l12.595.952 3.297 2.157L100 360.13l-.324 2.056-5.081 2.558-6.811-1.605-15.946-3.812-5.46-1.354h-.756v.452l4.54 4.463 8.379 7.523 10.432 9.729.54 2.407-1.35 1.906-1.406-.201-9.19-6.92-3.567-3.11-8-6.77h-.54v.702l1.837 2.708 9.784 14.694.487 4.514-.703 1.454-2.54.903-2.757-.502-5.784-8.074-5.892-9.027-4.757-8.124-.574.362-2.831 30.229-1.298 1.555L47.405 400l-2.54-1.906-1.352-3.11 1.352-6.168 1.621-8.024 1.298-6.369 1.189-7.924.726-2.647-.064-.177-.58.097-5.974 8.193L34 384.252l-7.19 7.673-1.729.702-2.973-1.554.27-2.759 1.676-2.457L34 373.219l6-7.873 3.95-4.646-.1-.45-.234-.096-26.427 17.228-4.703.601-2.054-1.905.27-3.11.974-1.003zm0 100 19.675-11.033.325-.966-.325-.539h-.973l-3.297-.2-11.243-.301-9.73-.401-9.46-.502-2.378-.501L0 449.097l.216-1.455 2-1.354 2.865.251 6.324.451 9.514.652 6.865.402L38 449.097h1.622l.216-.652-.54-.401-.433-.402-9.838-6.67-10.649-7.021-5.567-4.062-2.973-2.056-1.514-1.906-.648-4.212 2.702-3.009 3.676.25.919.251 3.73 2.859 7.946 6.168 10.378 7.623 1.514 1.254.609-.411.093-.291-.703-1.154-5.621-10.18-6-10.381-2.703-4.313-.703-2.558c-.272-1.073-.432-1.961-.432-3.059l3.081-4.213 1.73-.551 4.162.551 1.73 1.505 2.594 5.917 4.163 9.278 6.486 12.638 1.892 3.761 1.027 3.461.378 1.053h.649v-.602l.54-7.121.974-8.726.972-11.234.325-3.16 1.567-3.811 3.136-2.056 2.432 1.153 2 2.859-.27 1.855-1.19 7.724-2.324 12.086-1.513 8.124h.864l1.028-1.053 4.108-5.416 6.865-8.626 3.026-3.41 3.568-3.762 2.27-1.805h4.325l3.135 4.714-1.406 4.865-4.432 5.617-3.676 4.764-5.27 7.061-3.27 5.677.293.469.788-.068 11.892-2.557 6.432-1.154 7.676-1.304 3.46 1.605.378 1.655-1.352 3.36-8.216 2.006-9.621 1.956-14.328 3.373-.159.128.187.277 6.462.585 2.756.151h6.757l12.595.952 3.297 2.157L100 460.13l-.324 2.056-5.081 2.558-6.811-1.605-15.946-3.812-5.46-1.354h-.756v.452l4.54 4.463 8.379 7.523 10.432 9.729.54 2.407-1.35 1.906-1.406-.201-9.19-6.92-3.567-3.11-8-6.77h-.54v.702l1.837 2.708 9.784 14.694.487 4.514-.703 1.454-2.54.903-2.757-.502-5.784-8.074-5.892-9.027-4.757-8.124-.574.362-2.831 30.229-1.298 1.555L47.405 500l-2.54-1.906-1.352-3.11 1.352-6.168 1.621-8.024 1.298-6.369 1.189-7.924.726-2.647-.064-.177-.58.097-5.974 8.193L34 484.252l-7.19 7.673-1.729.702-2.973-1.554.27-2.759 1.676-2.457L34 473.219l6-7.873 3.95-4.646-.1-.45-.234-.096-26.427 17.228-4.703.601-2.054-1.905.27-3.11.974-1.003z
1451
+ M30.25 529.6l7.2 3.799-1.7-4.049-5.3-11.451-.2-1.6.2-2.9 4.45-2 2.55 2.25 4.2 7.1 3.75 7.501 2.1 5.049 2.05 3.35 1.9-2.85V521.95l.45-8.951 1.4-3.5 1.75-1.5 2.4-.45.65.9 1.4 4.55c-.117 1.967-.4 5.97-.6 6.25s-.283 7.184-.3 10.601l.3 2.65 1.05 2.899h.4l4.1-6.049 3.85-5.451 3.25-5 2.45-.9h1.7l1.15.6 2.05 1.9L77.45 526l-5.55 10.149-3.6 6.351-.8 1.599.8.351 3.95-.75 7.35-1.95 4.95-1.3 2.2-.351 1.85.351 1.7.75.7 2.05v1.5l-1.2 1.299-5.55 3.451-5 1.349c-1.9.484-5.73 1.461-5.85 1.5-.12.04-1.383.417-2 .601l3.7.7 9.65 1.25 2 .25 1.85 1.199 1.45 1.95.45 1-1.45 2.401-2.8 1.399-4.05-.699-9.05-2.25-2-.351c-1.05-.166-3.17-.5-3.25-.5h-1.8l1.4 1.601 1.95 1.949 5.25 5.051c1.85 1.6 5.56 4.81 5.6 4.85.04.039.883.983 1.3 1.45l.25 1.65-.65 2.35-2.2 1.199-.95-.1-2-1.599-2.2-2.1c-1.05-1.017-3.15-3.07-3.15-3.15s-.933-.934-1.4-1.351l-3.55-3.3-2.2-1.849 1.15 2.5 3.05 4.75 2.95 5.099c.233.684.7 2.091.7 2.25 0 .161.2 1.767.3 2.551l-.4 1.65-1.8 1.25-1.85-2.05-3.3-4.551-6.1-8.1-3.05-4.099h-.85l-.9 9.449-1.65 10.101-3.6 2.399-1.8-.85-.6-2.299.9-9.351v-5.35l-.3-4.099-4.25 4.949-4.35 6.351-2.55 3.45-3.1 2-2.6-.85-1.85-1.15 1.85-3.151 4.15-6.65 2.95-6.249 1.8-3.65-4.4 1.549-4.5 2.601-7.05 4.6-2.95.75-2.2-.75-1.2-1.5 1.2-4.3 17.35-9.45 2.75-2.151H11.7L9.6 550.9l-.4-1.2 2.5-1.7 6.1-.85 9.35-.5 6.05-.551 3.05-.649-3.05-1.351-6.05-3.05-11-5.65-2.75-1.5-.55-2.049v-4.551L13.4 526l5.7-1.801 4.2 1z
1452
+ M46.9 632.149c.783 1.184 2.35 3.68 2.35 4.2l2.5-2.85v-20.3l.9-2.85 1.45-1.95 3.5-1 1.8 5.15v2.35l-1 9.9v6.9l1.5 4.2 2.95-4.2 7.15-10.5 1.9-2.25 2.95-1 1.9.6 2.25 1.85-1.15 3.7-1.1 3.5-4.85 8.3-4.05 8.25H70l7.85-1.75 6.8-1.75 3.1-.5 2.75 1.15.55 2.2-.55 1.45-3.65 2.9-2.6 1.4-2.6 1.05-5.7 1.6-4.7 1.4 6.85.75 8.75 1.1 2 1.55 1.65 2.7-1.15 2.25-3.5 1.2-9.9-2.1-4.7-.85-5.2-.5 1.1 1.35 4.75 4.45 7.1 6.5 2.65 2.65v2.9l-1.5 1.55-2.05.5-2.8-2.05-4.05-4.1-4.55-4.7-3.05-2.35.65 1.4 5.05 7.95 1.9 3.85.65 3.65-1.1 1.85-1.45.85-1.5-1.9-5.4-6.5-5.75-7.95-2.15-2.25-.95 9.25-1.85 10.45-3.4 2.15-1.75-.45-.85-2.15.35-5.05.5-10.7-.1-3.5-3.45 3.85-6.05 8.4-2 3.1-3 1.35-2.5-.8-1.7-1.15 5.25-9.25 3.95-7.35 1.8-3.05-3.25 1.15-12.95 7.6-3.25.8-2.2-.35-1.25-2.05 1.25-4.1 1.9-.8 11.15-6 4.4-2.6 3.1-1.75-2.15-.75h-15.9l-6.15.75-3.05-2.15-1.05-2.25 2.95-1.8 8.4-.8 9.45-.7 6.15-.8-6.85-3.4-11.35-5.8-4.65-2.85-1.15-5.3 1.15-2.75 5.55-1.35 5.6 1.35 7.8 5.1 4.55 2.95-3.4-8.05-3.4-7.5v-3.05l.8-1.7 3.6-1.95 2.4 1.95 2.85 3.95 3.65 7.65zm.95 100.1 4.1 5.15v-3.8l.25-9.4v-1.6l1.35-2.95 3.15-.7 1.05.15.85 1.15.55 4.9-.3 2.05-1.6 9-.6 3.6 2.95-4.1 5.55-7.1 1-1.2 3.35.25 1.2.45.55 5.25-.4 1.5-2.7 5.7-3 6 1.2-.4 4.9-1.3 2.55-.75h1.75l3 1 1.5 1.45v2.1l-.35 1.05-3.85 2.2-4 .65-3.9 1.1 3.3.4h4.3l3.4.65.75.85.35 2.5-.35 1.4-2.7.95-5.75-1.3-4.75-1.15-2.1-.3-.3.4 1.7 1.85 4.7 4.65 2.7 1.95.25 1.65-.25 1.9h-2.1l-1.3-1.05-3.15-2.5-3.25-2.25-2-1.35 1.45 2.45 2.95 4.2.55 1.3v2l-1 1.95-1.6.6-2.6.3-2.25-3.2-3.1-5.2-1.35-1.95-.45.9-1.05 5.9-1.7 5.2-.9 1.2-2.55.45-2.45-1.65.35-2.55 1.65-6.3.65-3.8-.65.85-3.55 4.5-3.4 4.05h-1.45l-1.8-.7-.45-1.65.45-1.7 2.45-3 2.9-3.95 1.05-1.7v-.35l-1.25.35-3.5 1.5-2.8 1.1-4.7 2.25h-.85l-2.7-1.4-.3-.85.3-1.35 1.75-2.35 3.25-2.45 2.45-1.65 5.2-2.55-4.1-.5-7.45-.35-2.05-.4-2.35-.3-.95-.4-.55-1.8.55-.85 2.5-.9 1.25-.15 4.3.15h5.15l2.5-.25.2-.3-2.25-1.7-5.35-4.45-4.7-3.8-.9-1.65v-1.25l1.25-1.25 1.2-.8 1.8.35 2.7 1.4 4 1.55 2.5 1.4.75-.6-.25-1.1-3-6.75-.45-1.8.95-2.85 3.7-.5 2.15 1.1 2.45 4.6zm1.05 101.1 5.5 2.85 1.05-1.95 1.55-.9 1.95.35 1.45 1.5 1.15 1.85.5 2.1 1.45-1.2 1.05-.55h1.95l1.6 2.8.6 1.25-.6 3.05-1.6 3 .2.9 2.4 1.2 2.05 2v.5l-1.85 3.4-2.8 2 3.1 3.65-.9 1.65-2.9 1.9-3.1-.4-.65.4-.15 2.7-3.75 1.35-2.4-1.35-3.25 2.65-1.6-.55-2-3.6-1.15 1.5-2.15 1.65-2.3-.55-.75-2.6.75-4.35-4.4.9-3.95-2v-1.8l3.1-3.45-2.05-.65-2.2-2.95v-2.4l3.45-3-2.3-4.35 1.05-3 1.25-.9 5.3 1.5.75-3.7 2.3-2.4z
1453
+ `.trim(),Zd=`
1454
+ m19.622 66.499 19.675-11.033.325-.967-.325-.538h-.973l-3.297-.2-11.243-.301-9.73-.401-9.46-.502-2.378-.501L0 49.096l.216-1.454 2-1.354 2.865.251 6.324.451 9.514.652 6.865.402L38 49.097h1.622l.216-.652-.54-.401-.433-.402-9.838-6.67-10.649-7.02-5.567-4.063-2.973-2.056-1.514-1.906-.648-4.212 2.702-3.01 3.676.251.919.251 3.73 2.859 7.946 6.168 10.378 7.623 1.514 1.254.609-.411.093-.291-.703-1.154-5.621-10.18-6-10.381-2.703-4.313-.703-2.558c-.272-1.073-.432-1.961-.432-3.06L26.162.552 27.892 0l4.162.551 1.73 1.505 2.594 5.917 4.163 9.278 6.486 12.638 1.892 3.762 1.027 3.46.378 1.053h.649v-.602l.54-7.121.974-8.726.972-11.234.325-3.16L55.35 3.51l3.136-2.056 2.432 1.153 2 2.859-.27 1.855-1.19 7.724-2.324 12.086-1.513 8.124h.864l1.028-1.053 4.108-5.416 4.139-5.116 3.027-3.41 3.567-3.761 2.27-1.805h4.325l3.135 4.714-1.405 4.864-4.433 5.617-.95 1.254-5.27 7.06-3.27 5.678.293.468.788-.067 2.189-.4 6.433-1.154 7.675-1.304 3.46 1.605.378 1.655-1.351 3.36-8.217 2.006-9.621 1.956-4.625 1.216-.159.127.187.278 6.462.585 2.756.15h3.055l1.945.137 3.784.816 1.561 2.658-.55 2.181-3.75.995-3.882-.45-5.73-1.371-5.46-1.355h-.756v.452l4.54 4.463 4.193 4.174 1.595 2.688-.65 1.325-1.35 1.525-2.112-.635-1.388-.865L66 67.452h-.54v.702l1.837 2.708.753 1.388.49 2.45-1.49 1.8-3.1.882-2.3-.483-.9-.8-3.4-6.05-2.215-3.35-.574.363-2.831 30.23-1.298 1.554L47.405 100l-2.54-1.905-1.352-3.11 1.352-6.168 1.621-8.024 1.298-6.37 1.189-7.923.726-2.647-.064-.177-.58.097-5.974 8.193L34 84.252l-7.19 7.673-1.729.702-2.973-1.554.27-2.758 1.676-2.458L34 73.22l6-7.873 3.95-4.647-.1-.45-.234-.095-26.427 17.228-4.703.602-2.054-1.906.27-3.11.974-1.003zm21.192 52.148 8.753 16.491.408-.05 2.035-10.626 1.018-5.815 2.036-14.987 1.883-2.106 1.323-.351 2.85 1.905.305 1.203-.56 9.324-.865 7.568c-.288 3.793-.916 11.449-1.12 11.73-.203.281-.084 2.155 0 3.057l.866.452 1.374-1.354 2.9-4.461 5.751-7.769 7.888-11.228 3.97-1.053 2.544 1.654.458 1.905L80 123.158l-9.618 18.045-2.036 3.509.305.351 2.494-.351 6.514-1.403 5.649-1.705 4.987-1.253 4.682-1.153H94.5l2.548 1.153.502 1.999-1.2 3.4-2.406 1.017-5.649 1.705-9.974 2.506-8.55 2.306-.509.3 1.12.301 7.939.652h4.987l6.742.451 2.927.412 1.523 1.8-1.523 4.054-2.927.746h-3.2l-6.341-.746-13.079-2.156-2.29-.25-.458.25.458.351 3.817 3.359 6.158 4.26L77.659 169l3.541 3.15v3.15l-2.55 1.893h-2.1l-3.65-2.843-2.518-2.47-4.377-4.16-2.392-2.356-.254.15 4.071 7.469 2.162 3.871v3.996l-3.342 1.669-2.891-1.015-.79-1.341-6.488-9.987-.56-.301-.915.752-.329 3.85-.827 3.773-1.1 2.75-1.65 1.15h-3L46.2 181l-.276-1.898 1.76-12.585-.203-.752-1.425-.15-.458.3-1.653 2.284-.545.451-1.95 2.1-2.1 2.4-1.45 1.6-1.7.85-1.4.29-2.2-1.14v-2l.571-1.79 2.35-3.29 1.07-1.454-.306-.451-.407-.15-.509.15-1.476.752-4.53 2.456-3.765 2.406-6.361 4.21-4.02 2.356h-3.97l-1.476-1.203v-.852l1.018-2.155s1.187-1.103 1.73-1.604l2.29-2.206 1.578-1.554 1.628-1.002 4.53-2.857 7.786-4.562 9.211-5.413.305-.251v-.25l-.305-.151h-7.176l-11.145.151-11.959.25H5.7l-4.224-1.002L0 149.925v-1.704l.916-2.055 2.799-1.053 4.326.401 4.58.301 16.946 2.005 2.036.251 7.074.401v-.401l-.967-.702-14.402-10.025-8.397-6.015-6.565-4.261-1.323-3.709.305-2.306 1.323-1.353 1.527-1.253 1.629-.301 3.104 1.554 7.328 4.712 7.786 5.213 10.331 7.167.458-.2-5.496-8.471-4.427-7.77-5.09-7.719-3.358-6.466v-1.955L25.038 100l4.631.602 2.087 3.008zm-7.743 115.21c2.135 1.197 6.446 3.623 6.614 3.745l-4.147-8.857-2.152-4.908-5.46-9.009-4.986-7.135v-2.227c.453-.855 1.033-1.539 1.612-2.225.569-.671 1.138-1.343 1.59-2.178L27.927 200l4.724 1.873 3.517 4.555 2.1 4.605 3.045 9.362 6.561 14.12 1.313 2.631c.14-.455.44-1.488.525-1.973.083-.486.7-6.141.997-8.907l.787-12.045.683-6.528 2.52-4.049c.404-.318 3.989-1.113 3.989-1.113l2.572 2.131.84 2.474v9.616l-.84 4.149-2.205 10.729-.367 2.126v1.417l.367.607h.63l.893-.607 3.622-5.112 4.304-5.567 5.145-6.933 4.251-6.174 2.625-1.417 3.517-.202 2.31.506 1.522 2.682-1.784 3.796-9.45 14.119-7.558 12.601-.42.759.262.304h.263l2.1-.557 10.236-2.378 9.553-2.278 2.205-.607h4.567l1.26 2.379-1.26 3.137-.945.911-9.029 2.581-13.123 2.935-5.564 2.176-.263.102-.262.202.262.304h1.732l6.3.303h7.979l8.924.608 2.414.354 2.572.962 1.155 2.884-1.417 2.834-2.94 2.075-7.086-1.265-8.767-1.468-7.244-.607h-4.042v.304l.42.607 10.289 9.008 4.882 4.504 2.73 2.429.472 2.278s-1.465 1.601-2.047 2.125l-1.68.354-2.782-1.417-10.919-9.008-4.777-3.745-1.102-.86v.253l1.68 2.53 3.254 4.504 6.8 8.907.917 2.48-.393 1.872-2.82.503-3.479-.503-2.94-3.694-2.81-3.998-5.511-6.781-3.465-4.251-.315-.456-.525-.152c-.07.085-.23.274-.315.355s-.21 1.113-.262 1.619l-.577 10.577-.49 6.255-1.489 1.029-3.15.45-2.4-1.2-1.45-2.55v-1.64l.002-.016 1.05-11.134v-1.012l-.63-.405h-.577l-.63.152-5.932 6.326-.347.434-.336.295-2.4 1.65h-1.6l-1.8-1.65v-1.5l1.88-2.902 5.548-7.056.735-1.417v-1.771l-.473-.253h-.787l-4.567 2.682-4.042 2.025-1.614.972-.23.02h-2.35l-1.05-1.05-.9-2.1v-2l1.14-1.208 10.306-5.97.735-.253.157-.254-.367-.202h-.945l-2.745-.132-3.68-.431-3.35-.5-2.2-.55-1.5-1.3-.3-.85v-2.1l.9-1.7 3.6-1.5 2.995-.402 5.44-.403-9.291-6.984-17.218-11.336L3.99 225l-.315-1.973 1.89-3.188 3.36-1.62 3.254 1.215 10.236 6.427z
1455
+ 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 2.083 6.425 4.659 3.614 2.906-.594.408H19.9l-.992.012-1.259 1.632v2.05l.95 2.3 2 1 7.076 1.115h.84c.197 0 2.97.05 3.217.152.198.082 2.36.102 3.416.102l.396.204v.204l-.396.357-2.327 1.938-1.832 1.173-2.97 2.142-4.06 2.754-1.98 1.325-1.683 1.02-.444.323L19 368.3v1.9l1.05 1.65 2 .35 3.25-.35.626-.219 1.649-1.106 2.128-1.173 1.09-.765 2.277-1.122 2.079-1.071.99-.408 1.436-1.02 1.04-.408 1.138-.459h.198v.102l-.149.204-2.376 2.805-1.535 1.785-2.821 3.111-1.337 1.529-2.03 2.091-2.673 3.621-.122.171-.258 2.132.35 1.9 1.3 1.3 3 .7 2.46-1.41.844-1.071 2.97-3.722 4.209-5.151 2.277-2.855.346-.459.396-.357.446.204.198.153-.198 1.479-.297 5.303-.743 7.853-.495 2.754-.198 2.652v1.784l1.776 2.754 2.828.204 1.832-.867s.759-1.479 1.04-2.091l.594-3.773.841-2.601 1.287-6.986 1.04-6.578.148-2.55.149-.867.346-.153.941.459.248.561 3.811 5.456 2.624 3.672 2.08 3.059 2.772 3.621 2.92 4.437 1.634.917h.792l1.832-.509.94-1.938-1.287-2.601-4.059-6.986-1.881-3.672-2.327-4.793-1.337-2.907 1.337.765 1.93 1.275.743.51 1.238.816 1.535 1.428 3.465 2.6 6.04 5.1c.577.427 1.164.845 1.751 1.265 1.379.984 2.76 1.97 4.04 3.069l1.436-.306c.764-.541 1.213-1.054 1.733-1.836l-.792-2.804-.495-1.071-5.644-4.437-3.168-3.008-4.456-3.825-2.722-2.244-4.703-4.283-1.931-1.683v-.357l1.782.357 9.555.867 7.03.816 6.188.816 5.693.204c.445-.17 1.366-.52 1.485-.561.489-.168.843-.571 1.173-.947l.064-.073.594-3.009-2.128-1.989-3.515-.866-9.258-.714-9.01-.561-5.445-.714-1.188-.255.445-.408 2.525-.561c.957-.374 2.92-1.122 3.119-1.122.198 0 2.624-.612 3.812-.918l6.485-1.632 3.218-.561 2.822-.612 4.802-1.427 1.732-2.142.99-3.621v-1.428l-2.277-1.326-4.109.204-2.376.714-5.1 1.071-6.187 1.326-1.584.408-5.891 1.275-1.98.306h-.298v-.561l.495-.714L75 332.585l3.466-6.272 4.406-7.548 1.633-2.855.545-2.091c0-1.007-.545-2.907-.545-2.907l-2.722-.969-4.01 1.479-4.258 4.233-1.188 1.53-5.05 6.017-2.87 3.723-4.01 4.844-3.812 4.029-.397.204-.148-.816.148-1.938.397-4.743 1.98-13.411.742-6.119.495-4.029v-2.142l-2.227-2.295L55.05 300l-2.673 3.314-.396 2.907-.396 5.609-.149 6.171-.693 6.731-.446 4.079-.396 1.632-.445 3.315-.347 3.212-.247.255-.297-.255-.495-1.529-1.139-3.162-1.04-2.04-2.128-4.079-.545-1.173-.643-1.275-7.327-12.851-5-8.567-2.97-1.173-1.882.867-1.98 5.712.248 2.957.89 1.632 4.704 7.7 2.772 4.743 1.139 1.938 2.425 3.773 1.733 3.009.693 1.326.248.663zm-3.027 97.937-2.39-5.488-.45-3.7 1.15-1.4 4.15-1.4h2l2.1 1.4 2.15 2.2 1.773 2.97 2.107 3.985 3.048 4.799.878-3.87.723-2.941.517-5.16.878-8.566.31-4.283.774-5.676 1.24-2.58 3.822-.98.827.98c.19.998.568 3.035.568 3.2v2.012l-.362 4.18-.62 4.076-.723 3.818-.93 6.399-.67 6.501 1.91-1.909 2.944-4.025 5.476-6.192 4.08-5.521 1.653-2.477 1.24-1.238 3.254-1.135 4.132 1.135 1.24 1.961v2.683l-2.944 6.14-2.118 3.509-4.029 5.624-2.84 3.922-5.476 7.946v.465l.775.155 3.874-.62 6.56-1.238 10.588-2.374 3.513-.825 3.822-.619 3.822 1.444.414.981-.672 3.251-3.564 2.064-2.79.98-6.972 2.27-5.527 1.497-7.438 1.806 1.911.412 2.893.568 3.667.361 9.659 1.548 3.46.516 1.654.361 2.17 1.961 1.135 3.199-1.136 2.477-2.686 1.032-2.48.207-6.87-.826-8.935-1.909-4.907-.981-6.25-.825 3.719 2.838 5.372 5.005 2.84 2.425 10.641 10.114 1.085 3.405-1.55 1.497h-1.394l-4.08-1.497-8.42-6.553-3.978-2.838-7.593-6.553.724 1.909 1.653 2.89 2.066 2.786 1.808 2.477 2.789 3.715 3.409 4.076.878 3.096-.878 3.354-.878.31-3.978-.31-2.22-3.354-2.015-3.508-2.066-3.148-2.325-3.509-2.53-4.231-1.292-1.754-2.118-3.612-1.652-2.632-.465-.309-.362.309-.568 3.87v2.064l-.878 4.489-.465 2.632-.775 5.521-1.653 10.836-.361 1.135-3.048.98H44.37l-1.756-2.631-.568-1.961 1.705-16.976 2.014-10.733.31-1.083-.568-.207-1.136 1.29-1.189 1.29-1.6 2.116-3.1 3.921-1.498 1.909-2.066 2.374-3.512 4.438-3.151 5.005-2.015 1.698-3.409-.202-1.394-2.477.464-.928 2.428-3.974 1.911-3.044 2.015-2.632 2.066-2.786 1.601-2.064 3.358-4.179 3.667-4.799 1.86-2.58-3.565 2.115-4.545 2.477-2.376 1.6-5.165 3.302c-.637.482-1.912 1.466-1.912 1.548 0 .045-.098.103-.53.357-.359.211-.947.556-1.897 1.14l-4.287 2.631-2.118.464-1.756-1.702-.362-2.787.362-.619 4.958-3.147 10.692-6.812 10.176-6.037h-2.79l-5.371-.361-7.541-.671-.126.005-8.903-.388-1.9-1.25-.75-1.9.75-2.55 3.25-1.45h3.862l4.281.258 7.955.413h1.86l1.033-.413-5.527-4.489-3.395-2.544-1.17-1.075-2.9-3.5v-2.7l1.15-1.65 1.75-.85h2.95l2.97 1.825 6.806 4.921.258-.155zm27 93.578 2.41-2.215 3.35-.4 2.45 1 2.25 2.1.45 2.9-1.05 3.35-1.65 4.1-.58 2.027-.07.189v.718c.305.086.968.257 1.184.257s2.493-.513 3.606-.77l3.283-.205 4.844-.924 7.965-1.54c1.5-.468 2.981-.808 4.495-1.154l.565-.13 1.668.976 2.584 2.053v.719l-.377.975-1.292 1.54-2.26.873-1.13.359-1.777.513-11.195 3.08-5.812 1.284-6.782 1.694c.072.085.258.277.43.359.173.082.862.137 1.185.154l1.937.36 1.238.256 1.992.257h.86l2.853.616 3.983.616 8.88 1.54 1.992.308 1.023.205 2.045 1.335v1.437L97.034 561l-1.291.924s-1.768.66-2.584.821h-1.453l-2.853-.308-2.045-.205c-.753-.086-2.4-.267-2.96-.308a174 174 0 0 1-2.745-.257l-5.49-.667-3.283-.308-4.09-.617h-1.453l.484.411.969 1.181 2.745 2.567c.646.684 2.002 2.074 2.26 2.156.259.082 2.045 1.642 2.907 2.412l1.291 1.181 2.745 2.361 5.275 3.953 1.184.976.915 2.104-.215 1.13-.539.616h-2.26c-1.47-.673-6.674-2.978-6.674-2.978s-.61-.53-.861-.718l-2.045-1.848-3.983-2.978-1.615-1.027-5.544-4.312-.484-.308h-.7v.565l.27.77 1.291 2.053.7 1.027.861 1.232 1.507 2.31 3.445 4.466 4.897 6.777.431 1.642-.43 2.516-2.692 1.54-2.206-.77s-1.683-2.017-2.476-3.08l-.969-1.181-2.368-3.132-2.26-2.772-2.046-3.234-.968-1.642-1.4-1.797-3.767-5.236-.377-.719h-.538l-.7.308v1.745l-.538 4.107-.323 2.978-1.13 8.727-.216 1.848-.807 9.548c-.072.325-.226.985-.269 1.027-.148.14-.264.338-.383.54-.112.19-.226.384-.37.538l-1.077.308-4.144-1.9-1.13-1.899v-1.797l.376-6.006.27-4.158.484-3.696 1.022-6.263.377-3.902v-1.334h-.377l-1.022.975-.485.616-.645.77-1.4 1.694-3.121 3.491c-.61.77-1.852 2.341-1.938 2.464s-.682.804-.969 1.129l-2.53 3.08-4.52 5.442c-.904 1.245-1.7 2.281-2.96 3.183-.582.415-1.169.413-1.835.411h-.008l-.06-.001h-.089l-2.045-.41-1.669-.976-.43-2.823.915-1.591.807-1.181.969-1.592 1.453-2.772.646-.77 1.56-2.104 1.077-1.489 1.346-1.643 1.614-1.848 2.046-2.721 1.83-2.053 1.237-1.335 3.068-3.336 1.83-2.567.485-.308.16-.257-.322-.103-.915.36-.861.565-1.13.718-1.615.719-1.076.873-1.938 1.129-2.422 1.437-1.991 1.335-3.122 2.002-6.512 4.312-2.368 1.592-2.96 1.54h-2.261l-1.292-1.797-.43-1.437.43-2.516.538-.873 1.561-1.078 4.413-3.08 2.584-1.95 2.153-1.489 2.637-1.489 1.238-.873 2.045-1.334 7.427-4.877.27-.205-.27-.308H21.415l-3.39.308-6.459.205-4.682-.205H5.323L3.6 551.195l.215-2.054 1.13-1.643 1.669-.718h6.512l3.39.308 4.63.41 3.605.411 6.136 1.078 4.682.616h4.79l-1.184-1.694-1.722-2.002-1.884-1.797-8.826-4.363-8.289-3.953-4.379-2.766-.282-.215-.75-2.3 1.4-2.9h2.1l2.75.35 4.06 1.516 1.775 1.079 5.328 3.593 4.199 1.643-1.238-1.643-1.992-3.593-.272-.475a291 291 0 0 0-2.51-5.52v-4.15l2.85-1.55h4.25l2 1.55 2.996 2.662 7.909 14.157 2.045 2.515v-9.548l-.45-7.356v-1.78l.95-2.75h2.1l2.25.75.6 2v6.9l.417 3.416c.143.189.452.586.538.668s.323.445.43.616l3.876-4.312zm3.813 99.929-2.211 2.764-.827 1.235c-.292.223-.898.72-.98.926-.084.206-1.034 1.39-1.499 1.956l-.723 1.029-.878.824h-.413v-3.242c0-6.68.204-8.63.828-14.593l.153-1.465-.206-1.904-.982-1.596-1.704-.566-1.602.257-1.188 1.699-.775 3.963a752 752 0 0 1-.968 8.164c-.154 1.248-.332 2.695-.581 4.754v3.088l-.103.566-.259.154h-.206l-.103-.103c-.083-.288-4.684-6.879-6.974-10.139l-5.423-8.8-2.738-4.221-3.202-1.955h-.775l-2.273 1.029-1.446 2.162.516 2.985 1.24 1.647 4.08 6.124 6.612 10.808 1.705 2.779.775 1.647-.207.824-.568.36h-.465l-2.325-1.801-7.024-5.456-4.597-3.705-4.236-3.243-3.616-2.882-3.615-2.573a9 9 0 0 1-.41-.223c-.459-.257-.978-.549-1.45-.549-.984 0-1.872.128-2.84.309l-.672.669v2.933c0 1.456 1.653 4.323 1.653 4.323l1.136 1.39 2.583 1.853 5.733 3.963 5.062 3.191c.258.103.827.37 1.033.617.207.247 2.428 1.544 3.513 2.162l2.014 1.338 2.376 1.544 1.188.875v.618l-.206.72-.569.206h-3.409l-7.696-.206h-6.818l-6.199-.412-6.146-.308H.517L0 647.606l1.085 2.78 1.136 1.132s4.79.645 6.922.772c2.13.127 5.423 0 5.423 0h8.058c.33 0 2.927-.137 4.184-.206.74.069 2.262.206 2.427.206s2.136-.137 3.1-.206h5.217l.516.206.362.566v.618l-.62.463-5.734 3.603-3.099 2.058-11.777 7.978-4.493 3.293-2.79 1.956.982 2.831 1.808.926h1.033l3.977-2.11s6.026-3.757 8.884-5.61l1.911-1.081 3.1-2.418 1.394-.978 3.977-2.316 2.635-1.956c.327-.172 1.033-.515 1.24-.515.206 0 .637-.309.826-.463h.465l.206.463-.361.361-3.203 4.168c-.602.721-1.807 2.203-1.807 2.368s-3.1 4.289-4.65 6.33l-2.169 2.831-1.653 2.522c-1.532 2.024-4.803 6.485-4.803 6.485l-1.343 2.161.258 3.14.361.772 1.912.617h1.91l2.428-.617c1.594-2.381 3.323-4.769 5.061-7.168 1.813-2.502 3.635-5.017 5.322-7.552 1.102-1.99 3.337-6.001 3.46-6.124.124-.124 2.841-4.615 4.184-6.845l1.705-2.471.981-1.184h.362v.567l-.362 2.11-1.394 4.426-.93 2.161-.362 1.853-2.117 11.735c-.448 2.127-1.385 6.495-1.55 6.948-.207.566-1.24 6.021-1.24 6.227 0 .165-.24 1.03-.361 1.441l1.601 1.956.672.772 2.272.412h2.015l2.17-1.905.619-.926.981-5.816.569-5.713c.24-1.921.754-5.805.878-5.97.124-.164.43-3.774.568-5.558.183-1.61.31-4.787.31-4.787l.568-3.448.465-.823.361.309.569.823 4.545 7.926 1.653 3.139 5.992 11.529s1.903 1.671 2.582 2.573c.248.33 1.068.995 1.447 1.287l2.014.412 2.376-.824q.123-.465.24-.925c.179-.705.356-1.404.587-2.111v-1.853l-4.288-6.794-2.84-4.529-2.428-4.117-1.447-2.265 1.343 1.03 1.912 1.492 4.235 3.86 4.649 3.912 2.582 2.316 4.236 3.396 2.17 1.081 1.343-.206 1.342-1.132s-.189-2.161-.258-3.139l-2.118-2.316-3.977-4.272-5.01-5.147-5.734-6.124-1.394-1.338-2.066-1.596-.569-.875v-.617c.018-.121.104-.361.31-.361s1.12.24 1.55.361l13.326 2.11 10.228.978h1.653l1.962-.978 1.24-2.471v-.875l-.981-1.441-1.602-.875-4.648-.566-5.217-.514-2.635-.206-9.349-1.184-5.268-.463h-.982l-.258-.618.258-.309 1.601-.257 6.882-1.842 1.499-1.499.75-1.95v-1.9l-.75-1.8-1.7-.85h-2.858l-1.24.371h-2.84l-.93-.823c-.07-.155-.207-.505-.207-.669v-1.184l.153-.225-.028-.02 1.7-3.85 1.8-3.4.7-3v-2.2l-2.5-2.15H68.2zm4.076 98.536a398 398 0 0 1 2.87-2.681l3.1-.9 2.95.9 1.2 2.8v2.6l-1.2 3.1-.573 1.069a73 73 0 0 0-1.463 1.974l-5.439 8.299-1.488 1.701c0 .138.072.485.36.774.287.288.598.12.718 0 .427.017 1.282.041 1.282 0 0-.042 2.634-.533 3.951-.774l4.183-.469 2.469.776.55 2-.55 2.8-1.1 1.35-1.7.95-2.28.797-2.752.508c-1.454.292-4.443.897-4.772.979-.328.083-.889.241-1.128.309l.77.258 2.821.413 3.49.618.763.044.638.174 2.1.9.65 1v.95l-1.8 1.85-2 .9-3.35-.35-3.854-.46-.228-.059-2.514-.31h-.873v.31l1.18.927 1.386 1.289 2.103 2.114 1.847 1.752.578.47.375 1.017-.25 1.6-2.35 2.55h-2l-2.682-1.399-.187-.114c-.256-.275-.852-.876-1.18-1.083s-.376.086-.359.258l.77 1.547.77 1.237.871 2.062.873.979 3.9 5.928 2.257 3.35 1.385 2.423 1.898 2.99v1.546l-.359.825-1.077.773-3.233-.464s-3.167-3.321-4.771-5.103l-1.745-2.629c-1.248-1.529-3.827-4.67-4.156-5s-.923-1.374-1.18-1.855c-.718-.877-2.216-2.66-2.463-2.784s-2.36-2.904-3.386-4.278l-.667-.722-.462-.361-.308 1.083-.256 2.371-.667 2.577c-.394 2.698-1.18 8.145-1.18 8.351v2.68l-1.642 10.825c-.795.399-2.668 1.083-2.668 1.083l-2.976-.464-1.54-2.629v-1.289c.155-1.306.452-4.041.411-4.536-.04-.495.496-2.646.77-3.66l1.334-5.103 2-9.227.924-3.608-.41-.722h-.872c-.137 0-.462.062-.667.309l-.02.025c-.285.342-1.22 1.47-1.52 1.47-.246 0-1.402 2.131-1.95 3.196-.41.481-1.303 1.485-1.59 1.65s-.94 1.168-1.231 1.649l-1.54 2.114-1.693 1.855-2.155 2.938c-.342.361-1.026 1.104-1.026 1.186s-2.257 2.887-3.386 4.278l-1.386 1.65-3.437 2.68h-3.13l-.956-1.708-.275-2.622 5.849-7.113 2.565-3.144 6.465-8.145 1.437-1.546 1.129-1.856.513-.361-.514-.464h-.461l-1.232.464c-.906.498-2.811 1.495-3.18 1.495-.27 0-1.1.563-1.837 1.062-.523.355-.999.678-1.191.742-.37.124-5.285 2.663-7.696 3.918l-6.927 4.02-1.744.413-2.412-.413-.41-2.628 1.231-2.114 6.362-5 8.158-5.361 7.953-5.155.36-.36v-.464l-1.13-.31h-2.616c-2.121-.189-6.475-.567-6.927-.567s-1.864-.206-2.514-.309l-9.954-1.495c-2.172-.257-6.772-.773-6.772-.773l-2.617-.773-2.053-2.474-.41-1.031 1.642-2.114 2.104-1.031h1.077l5.336.619 6.568.412H19.6l4.31.619 14.11 1.082h1.539v-1.082c-.171-.155-.565-.495-.77-.619-.205-.123-.599-.532-.77-.721l-2.565-1.908-1.847-1.34c-.428-.464-1.344-1.474-1.59-1.804-.247-.33-1.061-.962-1.437-1.237l-1.232-.773-15.238-12.423c-1.904-1.363-5.49-4.279-5.49-4.279v-2.835s.678-.914 1.026-1.237h4.464l3.95 2.887 1.54 1.443 7.388 4.846 7.286 5.103 2.052 1.649h.565l.308-.412-.308-1.237-.565-1.598-1.334-3.093-3.745-7.268-2.617-5.619-2.411-4.33v-5.258l1.539-.824h1.847l2.052.824 1.899.928c.24.447.728 1.402.77 1.65.04.247.769 1.546 1.128 2.165l1.437 2.062 3.9 6.082 5.746 9.588 4.669 7.577.256.361.513.567.821-.309V730c.253-3.301.694-6.585 1.135-9.876.332-2.474.664-4.952.918-7.444l1.18-4.175 2.822-1.65h2.822l1.744 2.835-.41 6.083c-1.013 4.859-1.653 9.803-2.292 14.736a572 572 0 0 1-.684 5.161l.308.309.872-.876 2.822-2.526 2.77-2.99z
1456
+ `.trim();function Ft({viewBox:e,pathData:t,className:o,preserveAspectRatio:r,style:s,testId:a,hidden:n=!1}){return(0,m.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e,className:o,preserveAspectRatio:r,style:s,"data-testid":a,...n?{hidden:!0}:{},children:(0,m.jsx)("path",{d:t})})}function va({className:e}){const t=Yd()??!1;return(0,m.jsxs)("span",{className:B("claude-loading-indicator inline-flex min-h-8 items-center",t&&"claude-loading-indicator--reduced",e),children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-claude",className:"inline-flex h-8 w-8 items-center justify-center",children:(0,m.jsx)("span",{className:"p-1 -translate-x-px",children:(0,m.jsx)("span",{"aria-hidden":"true",children:(0,m.jsx)("span",{className:"inline-block w-8 select-none overflow-hidden text-[#d97757]","data-state":"closed",style:{aspectRatio:"1 / 1"},children:(0,m.jsxs)("span",{"data-testid":"loading-indicator-claude-stage",className:"claude-loading-indicator__stage relative block h-full w-full [&>svg]:block [&>svg]:w-full",children:[(0,m.jsx)(Ft,{viewBox:"0 0 100 100",pathData:Kd,className:"claude-loading-indicator__static absolute inset-0",testId:"loading-indicator-claude-static",hidden:!t}),(0,m.jsx)(Ft,{viewBox:"0 0 100 900",pathData:Jd,className:"claude-loading-indicator__strip claude-loading-indicator__strip--900",preserveAspectRatio:"xMidYMin meet",style:{aspectRatio:"1 / 9"},testId:"loading-indicator-claude-strip-900",hidden:t}),(0,m.jsx)(Ft,{viewBox:"0 0 100 800",pathData:Zd,className:"claude-loading-indicator__strip claude-loading-indicator__strip--800",preserveAspectRatio:"xMidYMin meet",style:{aspectRatio:"1 / 8"},testId:"loading-indicator-claude-strip-800",hidden:t})]})})})})})]})}function Mo({className:e}){return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),"aria-live":"polite",children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-claude-code-cli",className:"claude-code-cli-indicator font-mono text-sm text-primary",children:[(0,m.jsx)("span",{className:"claude-code-cli-indicator__spinner"}),(0,m.jsx)("span",{className:"claude-code-cli-indicator__label",children:"Thinking"})]})]})}function Et({className:e}){return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dot",className:"inline-block h-3 w-3 rounded-full bg-foreground animate-thinking-dot-pulse"})]})}function Qd({className:e}){return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center gap-2",e),"aria-live":"polite","data-testid":"loading-indicator-goose",children:[(0,m.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",fill:"none",className:"goose-icon-indicator block size-4 shrink-0","data-testid":"loading-indicator-goose-mark",children:[(0,m.jsx)("g",{clipPath:"url(#goose-indicator-clip)",children:(0,m.jsx)("path",{fill:"currentColor",d:"M20.9093 19.3861L19.5185 18.2413C18.7624 17.619 18.1189 16.8713 17.6157 16.0313C16.9205 14.8706 15.9599 13.8912 14.8133 13.1735L14.2533 12.8475C14.0614 12.7141 13.9276 12.5062 13.9086 12.2716C13.8963 12.1204 13.9326 11.9852 14.0171 11.8662C14.3087 11.4553 15.896 9.74698 16.1722 9.51845C16.528 9.22442 16.9243 8.97987 17.2921 8.69986C17.3443 8.66 17.3968 8.62035 17.4485 8.57989C17.4503 8.57808 17.4529 8.57668 17.4545 8.57508C17.5725 8.48195 17.6838 8.383 17.7724 8.26563C18.2036 7.76631 18.195 7.3443 18.195 7.3443C18.195 7.3443 18.1954 7.3439 18.1956 7.3437C18.1497 7.23133 17.9847 6.88163 17.6492 6.71759C17.9458 6.71178 18.2805 6.82294 18.4323 6.97156C18.6148 6.68534 18.7328 6.49967 18.9162 6.18762C18.9599 6.11352 18.9831 5.97652 18.8996 5.89981C18.8996 5.89981 18.8992 5.89981 18.8988 5.89981C18.8988 5.89981 18.8988 5.8994 18.8988 5.899C18.8972 5.8974 18.8952 5.8962 18.8936 5.8946C18.892 5.893 18.891 5.89119 18.8892 5.88939C18.8892 5.88939 18.8888 5.88939 18.8884 5.88939C18.8884 5.88939 18.8884 5.88899 18.8884 5.88859C18.885 5.88518 18.8812 5.88258 18.8776 5.87938C18.8754 5.87717 18.8736 5.87457 18.8716 5.87217C18.8692 5.87016 18.8665 5.86836 18.8643 5.86616C18.8609 5.86275 18.8587 5.85855 18.8551 5.85534C18.8551 5.85534 18.8545 5.85514 18.8543 5.85534C18.8543 5.85534 18.8543 5.85494 18.8543 5.85454C18.8527 5.85294 18.8507 5.85174 18.8491 5.85013C18.8475 5.84853 18.8463 5.84653 18.8447 5.84493C18.8447 5.84493 18.8441 5.84473 18.8439 5.84493C18.8439 5.84493 18.8439 5.84453 18.8439 5.84413C18.7672 5.7606 18.6302 5.78384 18.5561 5.8275C18.1503 6.06625 17.7555 6.32322 17.3996 6.54855C17.3996 6.54855 16.9778 6.53973 16.4783 6.97116C16.3607 7.05989 16.2618 7.17125 16.1688 7.28902C16.167 7.29082 16.1654 7.29322 16.164 7.29503C16.1234 7.3465 16.0837 7.39898 16.0441 7.45145C15.7639 7.81939 15.5195 8.21556 15.2255 8.57128C14.9971 8.84768 13.2887 10.4348 12.8777 10.7264C12.7587 10.8109 12.6237 10.8474 12.4723 10.835C12.2379 10.8161 12.0298 10.6821 11.8965 10.4903L11.5704 9.93024C10.8527 8.78318 9.87332 7.82299 8.71264 7.12778C7.87262 6.62466 7.12514 5.98092 6.50264 5.22503L5.35778 3.83421C5.3013 3.76571 5.19314 3.77693 5.15268 3.85585C5.02249 4.10941 4.77393 4.64479 4.58346 5.36483C4.57885 5.38186 4.58286 5.39988 4.59407 5.4135C4.83082 5.69952 5.37901 6.32983 6.03196 6.863C6.07742 6.90005 6.04017 6.97336 5.98369 6.95774C5.42047 6.80432 4.87288 6.55796 4.46308 6.34805C4.42964 6.33103 4.38918 6.35226 4.38437 6.38951C4.32068 6.89985 4.30425 7.46027 4.37155 8.05112C4.37355 8.07035 4.38577 8.08697 4.4036 8.09479C4.87088 8.29808 5.61816 8.59311 6.40269 8.78078C6.45958 8.7944 6.45777 8.87632 6.40029 8.88733C5.78941 9.0023 5.14968 9.02794 4.62973 9.02113C4.59327 9.02073 4.56643 9.05518 4.57625 9.09023C4.6806 9.45896 4.822 9.8339 5.00847 10.2115C5.08559 10.3811 5.16951 10.5475 5.25944 10.7104C5.27486 10.7382 5.3047 10.7548 5.33655 10.7534C5.76577 10.7324 6.28452 10.6871 6.80608 10.595C6.89501 10.5794 6.94268 10.6964 6.86757 10.7466C6.51345 10.9834 6.13571 11.1873 5.7844 11.3551C5.73733 11.3777 5.72211 11.4378 5.75315 11.4797C5.96186 11.7625 6.19139 12.0301 6.44075 12.2794C6.44075 12.2794 7.66853 13.5441 7.70198 13.6432C8.41841 12.9096 9.59612 12.0964 10.8966 11.3864C9.15488 12.8036 8.18387 13.8499 7.69517 14.4444L7.35447 14.9225C7.17742 15.1708 7.02379 15.4346 6.89541 15.7112C6.46579 16.6356 5.75756 18.5051 5.75756 18.5051C5.70328 18.6515 5.74754 18.7959 5.84168 18.89C5.84388 18.8922 5.84609 18.8944 5.84849 18.8964C5.85069 18.8986 5.8527 18.901 5.8549 18.9032C5.94924 18.9976 6.09345 19.0416 6.23986 18.9874C6.23986 18.9874 8.10897 18.2791 9.03371 17.8495C9.31031 17.7211 9.57429 17.5673 9.82245 17.3905L10.349 17.0153C10.6278 16.8166 11.0096 16.8483 11.2517 17.0904L12.4655 18.3042C12.7148 18.5535 12.9824 18.7831 13.2652 18.9918C13.3073 19.0226 13.3672 19.0076 13.3898 18.9605C13.5579 18.6094 13.7618 18.2313 13.9983 17.8774C14.0486 17.8022 14.1657 17.8501 14.1499 17.9388C14.0576 18.4606 14.0127 18.9794 13.9915 19.4084C13.9899 19.44 14.0067 19.4701 14.0345 19.4855C14.1972 19.5756 14.3636 19.6595 14.5335 19.7364C14.911 19.9229 15.2862 20.0645 15.6547 20.1687C15.6897 20.1785 15.7242 20.1516 15.7238 20.1152C15.7168 19.595 15.7424 18.9553 15.8576 18.3446C15.8684 18.2869 15.9503 18.2851 15.9641 18.3422C16.1516 19.127 16.4466 19.8742 16.6501 20.3413C16.6579 20.3591 16.6744 20.3712 16.6938 20.3734C17.2847 20.4407 17.8451 20.4242 18.3554 20.3606C18.3929 20.3559 18.4141 20.3155 18.3969 20.2818C18.187 19.872 17.9406 19.3241 17.7872 18.7612C17.7718 18.7046 17.8449 18.6675 17.8819 18.713C18.4151 19.3659 19.0454 19.9141 19.3314 20.1508C19.345 20.1621 19.3633 20.1659 19.3801 20.1615C20.1003 19.9712 20.6357 19.7226 20.8891 19.5922C20.968 19.5518 20.9792 19.4436 20.9107 19.3871L20.9093 19.3861Z"})}),(0,m.jsx)("defs",{children:(0,m.jsx)("clipPath",{id:"goose-indicator-clip",children:(0,m.jsx)("rect",{width:"24",height:"24",fill:"#fff"})})})]}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-goose-label",className:"text-sm leading-5 font-medium text-muted-foreground/80",children:"Thinking"}),(0,m.jsx)("span",{className:"sr-only",children:"Thinking"})]})}var xa=(0,v.createContext)(null),ya=(0,v.createContext)(null),wa=(0,v.createContext)(void 0),ag=xa.Provider,ng=ya.Provider,ig=wa.Provider;function lg(){return(0,v.useContext)(xa)}function it(){return(0,v.useContext)(ya)}function cg(){return(0,v.useContext)(wa)}function Po({className:e}){const t=it()??"dark";return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),"aria-live":"polite",children:[(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-cursor-shine","data-theme":t,className:"cursor-shine-indicator text-sm",children:"Planning next moves"}),(0,m.jsx)("span",{className:"sr-only",children:"Planning next moves"})]})}function Xd({className:e}){return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),"aria-live":"polite",children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-copilot-pulse",className:"copilot-pulse-indicator",children:[(0,m.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-1",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--1"}),(0,m.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-2",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--2"}),(0,m.jsx)("span",{"data-testid":"loading-indicator-copilot-pulse-circle-3",className:"copilot-pulse-indicator__circle copilot-pulse-indicator__circle--3"})]})]})}function Dt({className:e}){const t=it()??"dark";return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),"aria-live":"polite",children:[(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-codex-shine","data-theme":t,className:"codex-shine-indicator text-sm",children:"Thinking"}),(0,m.jsx)("span",{className:"sr-only",children:"Thinking"})]})}function lt({className:e}){return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),"aria-live":"polite",children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-mcpjam",className:"mcpjam-mark-indicator",children:[(0,m.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--1 bg-primary"}),(0,m.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--2 bg-primary"}),(0,m.jsx)("span",{className:"mcpjam-mark-indicator__dot mcpjam-mark-indicator__dot--3 bg-primary"})]})]})}function ep({className:e}){return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center",e),"aria-live":"polite",children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsxs)("span",{"aria-hidden":"true","data-testid":"loading-indicator-n8n",className:"n8n-mark-indicator",children:[(0,m.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--1"}),(0,m.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--2"}),(0,m.jsx)("span",{className:"n8n-mark-indicator__dot n8n-mark-indicator__dot--3"})]})]})}var tp="M12 7.714 5.388 1.96v5.33M12 7.714H2.694v8.571h2.238M12 7.715l-6.612 5.754v8.571L12 16.286m0-8.572 6.612 5.755v8.571L12 16.286m0-8.572V23.51m0-15.796h9.306v8.571h-2.238M12 7.715l6.612-5.756v5.33M12 7.714V.49m0 7.224v8.572m24-8.572-6.604-5.76v5.33m6.604.43-9.305-.009v8.571l2.23.002M36 7.714l-6.618 5.748v8.571l6.608-5.739m.01-8.58-.01 6.98v8.816l.01-7.224m0-8.572 6.604 5.76v8.571L36 16.286m0-8.572 9.305.01v8.57l-2.246-.002m-7.06-8.578 6.619-5.748v5.33M36 7.714 36.01.49v5.667M36 7.714v8.572m24-8.572-6.578-5.776V7.27M60 7.714l-9.302-.036v8.571l2.206.01M60 7.713l-6.638 5.726v8.571l6.597-5.69m.04-8.607-.041 6.98v8.814L60 16.286m0-8.572 6.578 5.776v8.571L60 16.286m0-8.572 9.302.036v8.571l-2.27-.009M60 7.714l6.638-5.725v5.332M60 7.714 60.042.49v5.667M60 7.714v8.572m24-8.572L77.466 1.91v5.333M84 7.714l-9.296-.083v8.571l2.163.02M84 7.713l-6.67 5.687v8.571l6.575-5.606M84 7.714l-.098 6.98v8.811l.098-7.22m0-8.57 6.534 5.803v8.571L84 16.285m0-8.57 9.296.082v8.571l-2.31-.02M84 7.713l6.67-5.687v5.335M84 7.714 84.097.49v5.667M84 7.714v8.571m24-8.57-6.469-5.845v5.336m6.469.508-9.288-.152v8.571l2.101.034M108 7.714l-6.719 5.63v8.571l6.544-5.484M108 7.714l-.178 6.98v8.807l.178-7.215m0-8.572 6.469 5.844v8.571L108 16.286m0-8.572 9.288.152v8.571l-2.369-.039M108 7.714l6.719-5.63v5.34m-6.719.29.179-7.224v5.667M108 7.714v8.572m24-8.572-6.383-5.898v5.34m6.383.558-9.277-.244v8.571l2.019.053M132 7.714l-6.784 5.554v8.571l6.5-5.322M132 7.714l-.287 6.98v8.802l.287-7.21m0-8.572 6.383 5.898v8.571L132 16.286m0-8.572 9.277.244v8.571l-2.448-.064M132 7.715l6.784-5.555v5.345m-6.784.21.287-7.225v5.668M132 7.714v8.572m24-8.572-6.272-5.967V7.09m6.272.624-9.264-.36v8.57l1.914.075M156 7.714l-6.867 5.458v8.571l6.441-5.119m.426-8.91-.425 6.98v8.795l.425-7.203m0-8.572 6.272 5.968v8.571L156 16.286m0-8.572 9.264.361v8.571l-2.549-.099M156 7.714l6.867-5.458V7.61M156 7.714l.425-7.224v5.668M156 7.714v8.572m24-8.572-6.135-6.053v5.35m6.135.703-9.246-.507v8.571l1.785.098M180 7.714l-6.97 5.338v8.571l6.364-4.873M180 7.714l-.596 6.98v8.787l.596-7.195m0-8.572 6.135 6.053v8.571L180 16.286m0-8.572 9.246.507v8.571l-2.674-.147M180 7.715l6.97-5.339V7.74M180 7.714l.596-7.224v5.67M180 7.714v8.572m24-8.572-5.969-6.157v5.357m5.969.8-9.226-.683v8.571l1.63.121M204 7.714l-7.095 5.192v8.571l6.263-4.584M204 7.714l-.804 6.98v8.776l.804-7.184m0-8.572 5.969 6.157v8.571L204 16.286m0-8.572 9.226.683v8.571l-2.826-.208M204 7.714l7.095-5.192v5.375M204 7.714l.804-7.224v5.672M204 7.714v8.572m24-8.572-5.771-6.28V6.8m5.771.914-9.201-.894v8.571l1.447.141M228 7.714l-7.243 5.02v8.57l6.134-4.25M228 7.713l-1.051 6.98v8.764L228 16.286m0-8.572 5.771 6.281v8.571L228 16.286m0-8.572 9.201.894v8.571l-3.008-.292M228 7.714l7.243-5.019v5.39M228 7.715 229.051.49v5.676M228 7.714v8.572m24-8.572-5.538-6.426v5.377M252 7.715l-9.172-1.142v8.571l1.234.154M252 7.714l-7.418 4.815V21.1l5.969-3.874M252 7.714l-1.343 6.98v8.75L252 16.285m0-8.572 5.538 6.427v8.571L252 16.286m0-8.572 9.172 1.142v8.571l-3.222-.4M252 7.713l7.418-4.815v5.408M252 7.714 253.343.49V6.5M252 7.714v8.572m24-8.572-5.265-6.597v5.391M276 7.714l-9.138-1.43v8.57l.989.155M276 7.714l-7.623 4.576v8.571l5.758-3.457M276 7.714l-1.684 6.98v8.732l1.684-7.14m0-8.572 5.265 6.597v8.571L276 16.286m0-8.572 9.138 1.431v8.571l-3.472-.544M276 7.714l7.623-4.576v5.43M276 7.714 277.684.49V6.5M276 7.714v8.572m24-8.572L295.052.92v5.41M300 7.713l-9.098-1.768v8.571l.71.138M300 7.715l-7.861 4.298v8.571l5.491-3.003M300 7.714l-2.081 6.98v8.712l2.081-7.12m0-8.572 4.948 6.795v8.571L300 16.286m0-8.572 9.098 1.768v8.571l-3.762-.73M300 7.713l7.861-4.299v5.458M300 7.714 302.081.49v5.702M300 7.714v8.572m24-8.572L319.428.726v5.432M324 7.714l-9.025-2.154v8.571l.322.077M324 7.714l-8.118 3.968v8.571l5.184-2.534M324 7.714l-2.53 6.98v8.69l2.53-7.098m0-8.572 4.572 6.99v8.57L324 16.286m0-8.572 9.025 2.154v8.571l-4.08-.974M324 7.715l8.118-3.969V9.36M324 7.714 326.53.5v5.704M324 7.714v8.572m24-8.572-4.095-7.04V6.14M348 7.714l-8.813-2.577v8.113M348 7.714l-8.33 3.545v8.571l4.949-2.106M348 7.714l-3.007 6.98v8.663l3.007-7.07m0-8.573 4.095 7.042v8.571L348 16.287m0-8.573 8.813 2.578v8.571l-4.359-1.275M348 7.714l8.33-3.545V10M348 7.714l3.007-7.162v5.641M348 7.714v8.572m24-8.572L368.454.612V6.12M372 7.714l-8.569-3.065v7.223M372 7.714l-8.574 3.057v8.571l4.66-1.662M372 7.714l-3.556 6.98v8.632l3.556-7.04m0-8.572 3.546 7.103v8.571L372 16.286m0-8.572 8.569 3.066v8.571l-4.666-1.669M372 7.714l8.574-3.057v7.24M372 7.713l3.556-7.1v5.568M372 7.714v8.572m24-8.572L393.086.541v5.56M396 7.713l-8.288-3.627V10M396 7.714l-8.854 2.496v8.571l4.306-1.213M396 7.714l-4.188 6.98v8.597L396 16.286m0-8.572 2.914 7.173v8.571L396 16.286m0-8.572 8.288 3.627v8.571l-4.996-2.186M396 7.714l8.854-2.495v8.265M396 7.714l4.188-7.03V6.17M396 7.714v8.572m24-8.572L417.841.49V6.5M420 7.714l-7.907-4.244v5.463M420 7.714l-9.09 1.835v8.571l3.819-.77M420 7.713l-4.885 6.835v8.571L420 16.286m0-8.572 2.159 7.215v8.581L420 16.286m0-8.572 7.908 4.244v8.571l-5.436-2.917M420 7.714l9.09-1.835v8.571l-.656.132M420 7.714 424.885.88v5.412M420 7.714v8.572m24-8.572L442.768.49V6.5M444 7.714l-7.351-4.893v5.401M444 7.714l-9.183 1.047v8.571l3.14-.358M444 7.714l-5.627 6.371v8.571l5.627-6.37m0-8.572 1.232 7.184v8.612L444 16.286m0-8.572 7.351 4.893v8.571l-6.033-4.016M444 7.714l9.183-1.047v8.571l-1.315.15M444 7.714l5.627-6.37v5.372M444 7.714v8.572m24-8.572L467.832.49l.145 6.224m.023 1-6.713-5.637v5.34m6.713.297-9.289.143v8.571l2.361-.036M468 7.714l-6.478 5.84v8.57L468 16.286m0-8.572.168 7.148v8.647L468 16.286m0-8.572 6.713 5.637v8.571l-6.548-5.499M468 7.714l9.289-.143v8.571l-2.109.032M468 7.714l6.478-5.839V7.21M468 7.714v8.572m24-8.572L493.046.49V6.5M492 7.714l-5.775-6.278v5.311m5.775.967-9.202-.889v8.571l1.508.146M492 7.714l-7.24 5.023v8.571l6.137-4.258M492 7.714l-1.046 7.108v8.636L492 16.286m0-8.572 5.775 6.278v8.571L492 16.286m0-8.572 9.202.89v8.57l-3.004-.29M492 7.714l7.24-5.023v5.39M492 7.713v8.572m24-8.572L518.42.49v5.597M516 7.714 511.324.75v5.3M516 7.714l-9.064-2.057v8.571l.607.138M516 7.714l-8.064 4.061v8.571l5.244-2.64M516 7.713l-2.42 7.062v8.613l2.42-7.103m0-8.572 4.676 6.965v8.571L516 16.286m0-8.572 9.064 2.057v8.571l-4.01-.91M516 7.714l8.064-4.06v5.481M516 7.715v8.571m24-8.572L543.801.64v5.414M540 7.714 536.699.585v5.481M540 7.714l-8.46-3.283v6.07M540 7.713l-8.682 2.84v8.57l4.526-1.48M540 7.714l-3.8 7.011v8.587l3.8-7.026m0-8.572 3.302 7.13v8.571L540 16.286m0-8.572 8.461 3.283v8.571l-4.797-1.86M540 7.713l8.682-2.839v7.633M540 7.714v8.572m24-8.572 5.224-6.623v5.303M564 7.714 562.264.49v5.904M564 7.714l-7.654-4.54v5.434M564 7.714l-9.132 1.476v8.571l3.51-.567M564 7.714l-5.224 6.623v8.571L564 16.286m0-8.572 1.736 7.201v8.595L564 16.286m0-8.572 7.654 4.54v8.571l-5.725-3.396M564 7.714l9.133-1.475v8.571l-.952.154M564 7.714v8.572m24-8.572 6.612-5.755v5.33M588 7.714V.49m0 7.224-6.612-5.755v5.33m6.612.425h-9.306v8.571h2.238M588 7.715l-6.612 5.754v8.571L588 16.286m0-8.572 6.612 5.755v8.571L588 16.286m0-8.572V23.51m0-15.796h9.306v8.571h-2.238M588 7.715v8.571m24-8.572 7.654-4.54v5.434M612 7.714 613.736.49v5.995M612 7.715l-5.224-6.624v5.394M612 7.715l-9.132-1.476v8.571l.952.154m8.18-7.25-7.654 4.54v8.571l5.725-3.396M612 7.714l-1.736 7.085v8.624L612 16.286m0-8.572 5.224 6.623v8.571L612 16.286m0-8.572 9.133 1.475v8.571l-3.51-.567M612 7.714v8.572m24-8.572 8.461-3.283v6.07M636 7.713l3.302-7.13v5.527M636 7.714 632.2.64v5.49m3.8 1.584-8.682-2.839v7.633M636 7.714l-8.46 3.283v8.571l4.797-1.86M636 7.713l-3.302 7.03v8.596L636 16.286m0-8.572 3.801 7.074v8.571L636 16.286m0-8.572 8.682 2.84v8.57l-4.526-1.48M636 7.714v8.572m24-8.572 9.064-2.057v8.571l-.476.108M660 7.714 664.676.75v5.425M660 7.714 657.58.49v5.597M660 7.714l-8.064-4.06v5.481M660 7.715l-9.064 2.056v8.571l4.01-.91M660 7.714l-4.676 6.966v8.571L660 16.286m0-8.572 2.42 7.224v8.572L660 16.286m0-8.572 8.064 4.061v8.571l-5.244-2.64M660 7.713v8.572m24-8.572 9.202-.889v8.571l-1.451.14M684 7.714l5.775-6.278v5.366M684 7.714 682.954.49V6.5M684 7.714l-7.24-5.023v5.39m7.24-.367-9.202.89v8.57l3.004-.29M684 7.714l-5.775 6.278v8.571L684 16.286m0-8.572 1.046 7.178v8.618L684 16.286m0-8.572 7.24 5.023v8.571l-6.137-4.258M684 7.714v8.572m24-8.572 9.289.143v8.571l-2.361-.036M708 7.714l6.713-5.637v5.34M708 7.713l.168-7.224V6.5M708 7.714l-6.478-5.839V7.21m6.478.504-9.289-.143v8.571l2.109.032m7.18-8.46-6.713 5.637v8.571l6.548-5.499M708 7.714l-.168 7.137v8.65l.168-7.215m0-8.572 6.478 5.84v8.57L708 16.286m0-8.572v8.572m24-8.572 9.183 1.047v8.571l-3.14-.358M732 7.714l7.351-4.893v5.401M732 7.714 733.232.49v6.177M732 7.714l-5.627-6.37v5.372m5.627.998-9.183-1.047v8.571l1.315.15M732 7.714l-7.351 4.893v8.571l6.033-4.016M732 7.714l-1.232 7.102v8.633L732 16.286m0-8.572 5.627 6.371v8.571L732 16.286m0-8.572v8.572m24-8.572 9.09 1.835v8.571l-3.819-.77M756 7.713l7.908-4.244v5.463M756 7.714 758.159.49v5.6M756 7.714 751.115.88v5.412M756 7.714l-9.09-1.835v8.571l.656.132M756 7.714l-7.908 4.244v8.571l5.436-2.917M756 7.714l-2.159 7.071v8.617L756 16.286m0-8.572 4.885 6.835v8.571L756 16.286m0-8.572v8.572m24-8.572 8.854 2.495v8.571l-4.306-1.213M780 7.714l8.288-3.627V10M780 7.714l2.914-7.173v5.56M780 7.713l-4.188-7.03v5.46M780 7.714l-8.854-2.495v8.265M780 7.714l-8.288 3.627v8.571l4.996-2.186M780 7.714l-2.914 7.044v8.604L780 16.286m0-8.572 4.188 7.031v8.571L780 16.286m0-8.572v8.572m24-8.572 8.574 3.057v8.571l-4.66-1.662M804 7.714l8.569-3.066v7.223M804 7.714l3.546-7.102V6.12M804 7.714l-3.556-7.1V6.12M804 7.714l-8.574-3.056v7.24M804 7.713l-8.569 3.066v8.571l4.666-1.669M804 7.714l-3.546 7.021v8.592l3.546-7.04m0-8.573 3.556 7.101v8.571l-3.556-7.1m0-8.572v8.572m24-8.572 8.33 3.545v8.571l-4.949-2.106M828 7.714l8.813-2.578v8.113M828 7.714l4.095-7.04V6.14M828 7.714 824.993.552v5.551M828 7.714l-8.33-3.544V10M828 7.714l-8.813 2.578v8.571l4.359-1.275M828 7.714l-4.095 7v8.582l4.095-7.01m0-8.572 3.007 7.162v8.571L828 16.287m0-8.573v8.572m24-8.572 8.118 3.968v8.571l-5.184-2.534M852 7.714l9.025-2.154v8.571l-.322.077M852 7.714l4.572-6.988v5.432M852 7.714 849.47.5v5.59M852 7.713l-8.118-3.968V9.36M852 7.714l-9.025 2.154v8.571l4.08-.974M852 7.715l-4.572 6.982v8.573L852 16.286m0-8.572 2.53 7.215V23.5L852 16.286m0-8.572v8.572m24-8.572 7.861 4.3v8.57l-5.491-3.003M876 7.714l9.098-1.768v8.571l-.71.138M876 7.715l4.948-6.796v5.41M876 7.713 873.919.49v5.602M876 7.714l-7.861-4.298v5.458M876 7.714l-9.098 1.77v8.57l3.762-.73M876 7.713l-4.948 6.796v8.571L876 16.286m0-8.572 2.081 7.212v8.584L876 16.286m0-8.572v8.572m24-8.572 7.623 4.576v8.571l-5.758-3.457M900 7.714l9.138-1.43v8.57l-.989.155M900 7.714l5.265-6.597v5.391M900 7.714 898.316.49v6.018M900 7.714l-7.623-4.576v5.43M900 7.714l-9.138 1.432v8.571l3.472-.544M900 7.714l-5.265 6.597v8.571L900 16.286m0-8.572 1.684 7.2v8.596L900 16.286m0-8.572v8.572m24-8.572 7.418 4.815V21.1l-5.969-3.874M924 7.714l9.172-1.142v8.571l-1.234.154M924 7.714l5.538-6.427v5.377M924 7.714 922.657.49V6.5M924 7.714 916.582 2.9v5.408M924 7.714l-9.172 1.142v8.571l3.222-.4M924 7.713l-5.538 6.427v8.571L924 16.286m0-8.572 1.343 7.188v8.608L924 16.286m0-8.572v8.572m24-8.572 7.243 5.02v8.57l-6.134-4.25M948 7.713l9.201-.894v8.571l-1.447.141M948 7.714l5.771-6.28V6.8M948 7.714 946.949.49V6.5M948 7.714l-7.243-5.019v5.39m7.243-.37-9.201.893v8.571l3.008-.292M948 7.714l-5.771 6.281v8.571l5.771-6.28m0-8.572 1.051 7.178v8.618L948 16.286m0-8.572v8.572m24-8.572 7.095 5.192v8.571l-6.263-4.584M972 7.714l9.226-.683v8.571l-1.63.121M972 7.714l5.969-6.157v5.357m-5.969.8L971.196.49v5.634m.804 1.59-7.095-5.192v5.375M972 7.714l-9.226.683v8.571l2.826-.209m6.4-9.045-5.969 6.157v8.571L972 16.286m0-8.572.804 7.17v8.626L972 16.286m0-8.572v8.572m24-8.572 6.97 5.338v8.571l-6.364-4.873M996 7.714l9.25-.507v8.571l-1.79.098M996 7.714l6.13-6.053v5.35m-6.13.703L995.404.49v5.642M996 7.714l-6.97-5.337V7.74m6.97-.026-9.246.507v8.571l2.674-.147M996 7.715l-6.135 6.052v8.571L996 16.286m0-8.572.596 7.163v8.633L996 16.286m0-8.572v8.572m24-8.572 6.87 5.457v8.571l-6.44-5.119m-.43-8.909 9.26-.36v8.57l-1.91.075M1020 7.714l6.27-5.968V7.09m-6.27.624-.42-7.224v5.648m.42 1.576-6.87-5.457V7.61m6.87.104-9.26.361v8.571l2.55-.099m6.71-8.833-6.27 5.968v8.571l6.27-5.967m0-8.572.43 7.157v8.64l-.43-7.225m0-8.572v8.572m24-8.572 6.78 5.554v8.571l-6.5-5.322m-.28-8.803 9.28-.244v8.571l-2.02.053m-7.26-8.38 6.38-5.898v5.34m-6.38.558-.29-7.224v5.654m.29 1.57-6.78-5.554v5.345m6.78.21-9.28.243v8.571l2.45-.064m6.83-8.75-6.38 5.897v8.571l6.38-5.897m0-8.572.29 7.152v8.644l-.29-7.224m0-8.572v8.572m24-8.572 6.72 5.63v8.571l-6.55-5.484m-.17-8.717 9.29-.152v8.571l-2.1.034M1068 7.714l6.47-5.844v5.336m-6.47.508-.18-7.224v5.66m.18 1.564-6.72-5.63v5.34m6.72.29-9.29.152v8.571l2.37-.039m6.92-8.684-6.47 5.844v8.571l6.47-5.843m0-8.572.18 7.15v8.646l-.18-7.224m0-8.572v8.572m24-8.572 6.67 5.687v8.571l-6.57-5.606m-.1-8.652 9.3-.083v8.571l-2.17.02M1092 7.713l6.53-5.804v5.333m-6.53.471-.1-7.224v5.662m.1 1.562-6.67-5.686v5.335m6.67.351-9.3.083v8.571l2.31-.02m6.99-8.634-6.53 5.804v8.571l6.53-5.803m0-8.572.1 7.146v8.65l-.1-7.224m0-8.572v8.572m24-8.572 6.64 5.725v8.571l-6.6-5.69m-.04-8.606 9.3-.036v8.571l-2.2.01m-7.1-8.545 6.58-5.776V7.27m-6.58.445-.04-7.224v5.665m.04 1.56-6.64-5.726v5.332m6.64.393-9.3.036v8.571l2.27-.009m7.03-8.598-6.58 5.776v8.571l6.58-5.775m0-8.572.04 7.144v8.652l-.04-7.224m0-8.572v8.572m24-8.572 6.62 5.748v8.571l-6.61-5.739m-.01-8.58 9.31-.009v8.571l-2.23.002M1140 7.714l6.6-5.76v5.33m-6.6.43-.01-7.224v5.666m.01 1.558-6.62-5.748v5.33m6.62.418-9.3.01v8.57l2.24-.002m7.06-8.578-6.6 5.76v8.571l6.6-5.759m0-8.572.01 7.143v8.653l-.01-7.224m0-8.572v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572m24-8.572 6.61 5.755v8.571l-6.61-5.754m0-8.572-6.61 5.755v8.571l6.61-5.754m0-8.572h9.31v8.571h-2.24m-7.07-8.57 6.61-5.756v5.33m-6.61.425V.49m0 7.224-6.61-5.755v5.33m6.61.425h-9.31v8.571h2.24m7.07-8.57V23.51m0-15.796v8.572";function op({className:e}){const t=it()??"dark";return(0,m.jsxs)("span",{"data-testid":"loading-indicator-perplexity","data-theme":t,"aria-live":"polite",className:B("inline-flex min-h-6 items-center",e),style:{color:t==="light"?"#0e7c8c":"#1fb8cd"},children:[(0,m.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-perplexity-mark",className:"block size-5 shrink-0 overflow-hidden",children:(0,m.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1248 24",stroke:"currentColor",fill:"none",className:"perplexity-indicator__strip block transform-gpu",children:(0,m.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:tp})})})]})}function rp({className:e}){const t=`cline-indicator-eyes-${(0,v.useId)().replace(/:/g,"")}`;return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center gap-2",e),"aria-live":"polite","data-testid":"loading-indicator-cline",children:[(0,m.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 200 200",className:"cline-mark-indicator block size-4 shrink-0","data-testid":"loading-indicator-cline-mark",children:[(0,m.jsxs)("mask",{id:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",children:[(0,m.jsx)("rect",{width:"200",height:"200",fill:"#fff"}),(0,m.jsx)("rect",{x:"64",y:"92",width:"28",height:"72",rx:"14",fill:"#000"}),(0,m.jsx)("rect",{x:"108",y:"92",width:"28",height:"72",rx:"14",fill:"#000"})]}),(0,m.jsxs)("g",{fill:"currentColor",mask:`url(#${t})`,children:[(0,m.jsx)("circle",{cx:"100",cy:"25",r:"22"}),(0,m.jsx)("path",{d:"M 52 46 L 148 46 A 37 37 0 0 1 185 83 Q 206 120 185 157 A 37 37 0 0 1 148 194 L 52 194 A 37 37 0 0 1 15 157 Q -6 120 15 83 A 37 37 0 0 1 52 46 Z"})]})]}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-cline-label",className:"text-sm leading-5 font-medium text-muted-foreground/80",children:"Thinking"}),(0,m.jsx)("span",{className:"sr-only",children:"Thinking"})]})}function sp({className:e}){const t=it()??"dark";return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center gap-1.5",e),"aria-live":"polite",children:[(0,m.jsx)("span",{"aria-hidden":"true","data-theme":t,className:"notion-loader-icon"}),(0,m.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-notion-shimmer","data-theme":t,className:"nds-shimmer-text text-sm",children:"Working"}),(0,m.jsx)("span",{className:"sr-only",children:"Working"})]})}function ap({className:e}){const t=it()??"dark";return(0,m.jsxs)("span",{className:B("inline-flex min-h-6 items-center gap-2",e),"aria-live":"polite","data-testid":"loading-indicator-mistral",children:[(0,m.jsxs)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 200 200",className:"block size-4 shrink-0 overflow-hidden","data-testid":"loading-indicator-mistral-loader",children:[(0,m.jsxs)("g",{transform:"translate(180 179.997)",children:[(0,m.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.14 0.12 0.86;0.88 0.14 0.12 0.86;0 0 1 1",values:"180 179.997;20 180.003;180 179.997;180 179.997"}),(0,m.jsx)("rect",{fill:"#fa500f",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,m.jsxs)("g",{transform:"translate(20 140.003)",children:[(0,m.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.139 0.12 0.861;0.88 0.139 0.12 1;0 0 1 1",values:"20 140.003;140.613 140.003;20 140.003;20 140.003"}),(0,m.jsx)("rect",{fill:"#ff8205",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,m.jsxs)("g",{transform:"translate(100 100.003)",children:[(0,m.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.306;0.661;0.968;1",keySplines:"0.167 0.167 0.12 0.86;0.88 0.14 0.12 0.86;0.88 0.14 0.833 0.833;0 0 1 1",values:"100 100.003;20 100.003;180 100.003;100 100.003;100 100.003"}),(0,m.jsx)("rect",{fill:"#ffaf01",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,m.jsxs)("g",{transform:"translate(180 60.003)",children:[(0,m.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.42 0 0.58 1;0.42 0 0.58 1;0 0 1 1",values:"180 60.003;20 60.003;180 60.003;180 60.003"}),(0,m.jsx)("rect",{fill:"#ff8205",x:"-20",y:"-20.003",width:"40",height:"40.006"})]}),(0,m.jsxs)("g",{transform:"translate(20 20.003)",children:[(0,m.jsx)("animateTransform",{attributeName:"transform",type:"translate",calcMode:"spline",dur:"1.033s",repeatCount:"indefinite",keyTimes:"0;0.484;0.968;1",keySplines:"0.88 0.14 0.12 0.86;0.88 0.14 0.12 0.86;0 0 1 1",values:"20 20.003;180 20.003;20 20.003;20 20.003"}),(0,m.jsx)("rect",{fill:"#fa500f",x:"-20",y:"-20.003",width:"40",height:"40.006"})]})]}),(0,m.jsx)("span",{"aria-hidden":"true","data-theme":t,"data-testid":"loading-indicator-mistral-label",className:"mistral-shimmer-text text-sm leading-5 font-medium",children:"Thinking"}),(0,m.jsx)("span",{className:"sr-only",children:"Thinking"})]})}var Nt=(function(e){return e.MCP_APPS="mcp-apps",e.OPENAI_SDK="openai-sdk",e.OPENAI_SDK_AND_MCP_APPS="openai-sdk-and-mcp-apps",e})({});function np(e){const t=e?.["openai/outputTemplate"],o=typeof t=="string"&&t.length>0,r=!!Ge(e);return o&&r?"openai-sdk-and-mcp-apps":o?"openai-sdk":r?"mcp-apps":null}function ip(e,t,o){const r=[];if(!e?.tools)return r.push("widget usage (tools metadata not loaded)"),{widgets:{mcpAppsOnly:[],openaiAppsOnly:[],dual:[]},appOnlyWidgets:[],hasWidgets:!1,widgetUsage:t,connectionFacts:o,unknownDimensions:r};const s=[],a=[],n=[],l=[];for(const d of e.tools){const f=e.toolsMetadata?.[d.name]??d._meta;let c=!0;switch(np(f)){case Nt.MCP_APPS:s.push(d.name);break;case Nt.OPENAI_SDK:a.push(d.name);break;case Nt.OPENAI_SDK_AND_MCP_APPS:n.push(d.name);break;default:c=!1}c&&ud(f)&&l.push(d.name)}const h=s.length+a.length+n.length>0;return h&&!t&&r.push("widget capabilities (widget HTML not analyzed)"),{widgets:{mcpAppsOnly:s,openaiAppsOnly:a,dual:n},appOnlyWidgets:l,hasWidgets:h,widgetUsage:t,connectionFacts:o,unknownDimensions:r}}var lr=e=>{const t=e.slice(0,3).map(r=>`\`${r}\``),o=e.length-t.length;return o>0?`${t.join(", ")} +${o} more`:t.join(", ")},lp={camera:"Camera",microphone:"Microphone",geolocation:"Location",clipboardWrite:"Clipboard"},ka=e=>`${lp[e]??e} access`,Ca=e=>{const t=ka(e);return`${t.slice(0,1).toLowerCase()}${t.slice(1)}`},cp=e=>{const t=e.map(Ca);return t.length<=1?t[0]??"sandbox access":t.length===2?`${t[0]} and ${t[1]}`:`${t.slice(0,-1).join(", ")}, and ${t[t.length-1]}`};function dp(e,t){const o=e.widgetUsage?.sandboxPermissionNames;if(o?.length){if(t.capabilities?.sandboxPermissions===!1)return o;if(t.sandboxPermissionAllow)return o.filter(r=>t.sandboxPermissionAllow?.[r]!==!0)}}var pp=[{key:"serverTools",severity:"degraded",subject:"Interactive tool calls",request:"uses interactive tool calls",unsupportedObject:"them"},{key:"serverResources",severity:"degraded",subject:"Resource reads",request:"reads additional resources",unsupportedObject:"resource reads"},{key:"message",severity:"degraded",subject:"Follow-up messages",request:"sends follow-up messages",unsupportedObject:"them"},{key:"updateModelContext",severity:"degraded",subject:"Model context updates",request:"updates the model context",unsupportedObject:"model context updates"},{key:"openLinks",severity:"degraded",subject:"External links",request:"opens external links",unsupportedObject:"them"},{key:"downloadFile",severity:"degraded",subject:"File downloads",request:"downloads files",unsupportedObject:"file downloads"},{key:"sandboxPermissions",severity:"degraded",subject:"Widget sandbox permissions",request:"uses sandbox permissions",unsupportedObject:"them"},{key:"cspFrameDomains",severity:"degraded",subject:"Embedded content",request:"loads nested iframes",unsupportedObject:"nested iframes"},{key:"logging",severity:"info",subject:"Widget logs",request:"sends logs",unsupportedObject:"them"}],cr={works:0,unknown:1,degraded:2,blocked:3},dr={assumed:0,probe:1,"vendor-doc":2,observed:3};function Sa(e,t){return e.reduce((o,r)=>dr[r.provenance]<dr[o]?r.provenance:o,t)}function pr(e,t,o,r){const s=e.filter(l=>l.lane===t),a=s.some(l=>l.severity==="blocker"),n=s.some(l=>l.severity==="degraded");return{verdict:a?"blocked":n?"degraded":o?"unknown":"works",provenance:Sa(s,r)}}function up(e,t){const o=[];if(e.hasWidgets){const h=[...t.rendersMcpApps?[]:e.widgets.mcpAppsOnly,...t.rendersOpenAiApps?[]:e.widgets.openaiAppsOnly,...t.rendersMcpApps||t.rendersOpenAiApps?[]:e.widgets.dual],d=t.rendersMcpApps&&!t.rendersOpenAiApps?"Declare an MCP Apps template (`_meta.ui.resourceUri`) alongside the OpenAI one.":!t.rendersMcpApps&&t.rendersOpenAiApps?"Declare an OpenAI Apps template (`openai/outputTemplate`) alongside the MCP Apps one.":void 0,f=h.filter(g=>e.appOnlyWidgets.includes(g)),c=h.filter(g=>!e.appOnlyWidgets.includes(g));if(f.length>0){const g=f.length;o.push({lane:"apps",severity:"blocker",code:"app_only_unrenderable",tools:f,title:`${g===1?"Interactive tool":`${g} interactive tools`} unavailable`,detail:`${lr(f)} only ${g===1?"works":"work"} inside a widget. ${t.label} does not render ${g===1?"it":"them"}.`,remediation:d,provenance:t.provenance})}if(c.length>0){const g=c.length;o.push({lane:"apps",severity:"degraded",code:"widget_text_fallback",tools:c,title:`${g===1?"Interactive view":`${g} interactive views`} unavailable`,detail:`${lr(c)} provide${g===1?"s":""} an interactive view. ${t.label} shows the plain-text result instead.`,remediation:d,provenance:t.provenance})}if(t.capabilities&&e.widgetUsage)for(const g of pp){const b=g.key==="sandboxPermissions"?e.widgetUsage.sandboxPermissionNames:void 0,x=g.key==="sandboxPermissions"?dp(e,t):void 0,T=g.key==="sandboxPermissions"&&b!==void 0&&(x!==void 0||t.capabilities[g.key]===!1),C=T?(x?.length??0)>0:t.capabilities[g.key]!==!0,w=g.key==="sandboxPermissions"&&x!==void 0&&e.widgetUsage.sandboxPermissionTools?Array.from(new Set(x.flatMap(A=>e.widgetUsage?.sandboxPermissionTools?.[A]??[]))):e.widgetUsage[g.key];if(w&&w.length>0&&C){const A=T||t.capabilities[g.key]===!1?"unsupported":"not verified",j=g.key==="sandboxPermissions"&&x?.length?{title:x.length===1?`${ka(x[0])} unavailable`:"Widget sandbox permissions unsupported",detail:x.length===1?`This widget requests ${Ca(x[0])}. ${t.label} does not support it.`:`This widget requests ${cp(x)}. ${t.label} does not support them.`}:void 0;o.push({lane:"apps",severity:g.severity,code:"capability_unsupported",capability:g.key,tools:[...w],title:j?.title??`${g.subject} ${A==="unsupported"?"unavailable":"not confirmed"}`,detail:j?.detail??(A==="unsupported"?`This widget ${g.request}. ${t.label} does not support ${g.unsupportedObject}.`:`This widget ${g.request}. Support is not confirmed for ${t.label}.`),provenance:t.provenance})}}}const r=e.connectionFacts?.protocolVersion,s=t.supportedProtocolVersions;r&&s&&s.length>0&&!s.includes(r)&&o.push({lane:"server",severity:"info",code:"protocol_version_mismatch",title:"Protocol version differs",detail:`This server uses MCP \`${r}\`. ${t.label} supports ${s.map(h=>`\`${h}\``).join(", ")}. The connection works only if both support a shared version.`,remediation:`Check that the server supports ${s.length===1?"this version":"one of these versions"}.`,provenance:t.provenance});const a=pr(o,"apps",e.unknownDimensions.length>0,t.provenance),n=pr(o,"server",o.some(h=>h.lane==="server"),t.provenance),l=cr[a.verdict]>=cr[n.verdict]?a.verdict:n.verdict;return{hostId:t.id,hostLabel:t.label,verifiedAt:t.verifiedAt,verdict:l,provenance:t.provenance,lanes:{apps:a,server:n},findings:o}}function gp(e,t,o){const r=ip(e,o?.widgetUsage,o?.connectionFacts);return o?.toolsTruncated&&r.unknownDimensions.push("tool list incomplete — pagination truncated, later tools/widgets not evaluated"),{requirements:r,reports:t.map(s=>{const a=up(r,s);return!o?.toolsTruncated||a.verdict!=="works"?a:{...a,verdict:"unknown",lanes:{...a.lanes,apps:{...a.lanes.apps,verdict:"unknown"}}}})}}var hp={hostsById:{mcpjam:{id:"mcpjam",label:"MCPJam",provenance:"assumed",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"oklch(0.9818 0.0054 95.0986)","--color-background-secondary":"oklch(0.9341 0.0153 90.239)","--color-background-tertiary":"oklch(0.9245 0.0138 92.9892)","--color-background-inverse":"oklch(0.2679 0.0036 106.6427)","--color-background-ghost":"oklch(0.9818 0.0054 95.0986 / 0)","--color-background-info":"oklch(0.93 0.04 259)","--color-background-danger":"oklch(0.94 0.04 25.331)","--color-background-success":"oklch(0.94 0.05 152.5)","--color-background-warning":"oklch(0.95 0.06 85.3)","--color-background-disabled":"oklch(0.9818 0.0054 95.0986 / 0.5)","--color-text-primary":"oklch(0.3438 0.0269 95.7226)","--color-text-secondary":"oklch(0.6059 0.0075 97.4233)","--color-text-tertiary":"oklch(0.4334 0.0177 98.6048)","--color-text-inverse":"oklch(1 0 0)","--color-text-ghost":"oklch(0.6059 0.0075 97.4233 / 0.5)","--color-text-info":"oklch(0.623 0.214 259)","--color-text-danger":"oklch(0.627 0.208 25.331)","--color-text-success":"oklch(0.696 0.17 152.5)","--color-text-warning":"oklch(0.769 0.188 85.3)","--color-text-disabled":"oklch(0.3438 0.0269 95.7226 / 0.5)","--color-border-primary":"oklch(0.7621 0.0156 98.3528)","--color-border-secondary":"oklch(0.8847 0.0069 97.3627)","--color-border-tertiary":"oklch(0.8847 0.0069 97.3627 / 0.6)","--color-border-inverse":"oklch(1 0 0 / 0.3)","--color-border-ghost":"oklch(0.8847 0.0069 97.3627 / 0)","--color-border-info":"oklch(0.623 0.214 259)","--color-border-danger":"oklch(0.627 0.208 25.331)","--color-border-success":"oklch(0.696 0.17 152.5)","--color-border-warning":"oklch(0.6832 0.1382 38.744)","--color-border-disabled":"oklch(0.7621 0.0156 98.3528 / 0.4)","--color-ring-primary":"oklch(0.6171 0.1375 39.0427)","--color-ring-secondary":"oklch(0.6059 0.0075 97.4233 / 0.5)","--color-ring-inverse":"oklch(1 0 0 / 0.7)","--color-ring-info":"oklch(0.623 0.214 259 / 0.5)","--color-ring-danger":"oklch(0.627 0.208 25.331 / 0.5)","--color-ring-success":"oklch(0.696 0.17 152.5 / 0.5)","--color-ring-warning":"oklch(0.769 0.188 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "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":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"},dark:{"--color-background-primary":"oklch(0.2679 0.0036 106.6427)","--color-background-secondary":"oklch(0.2213 0.0038 106.707)","--color-background-tertiary":"oklch(0.213 0.0078 95.4245)","--color-background-inverse":"oklch(0.9818 0.0054 95.0986)","--color-background-ghost":"oklch(0.2679 0.0036 106.6427 / 0)","--color-background-info":"oklch(0.28 0.06 259)","--color-background-danger":"oklch(0.32 0.08 25.331)","--color-background-success":"oklch(0.3 0.07 152)","--color-background-warning":"oklch(0.3 0.09 55)","--color-background-disabled":"oklch(0.2679 0.0036 106.6427 / 0.5)","--color-text-primary":"oklch(0.8074 0.0142 93.0137)","--color-text-secondary":"oklch(0.7713 0.0169 99.0657)","--color-text-tertiary":"oklch(0.7713 0.0169 99.0657 / 0.8)","--color-text-inverse":"oklch(0.2679 0.0036 106.6427)","--color-text-ghost":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-text-info":"oklch(0.7 0.18 259)","--color-text-danger":"oklch(0.74 0.18 25.331)","--color-text-success":"oklch(0.78 0.16 152)","--color-text-warning":"oklch(0.83 0.17 85.3)","--color-text-disabled":"oklch(0.8074 0.0142 93.0137 / 0.5)","--color-border-primary":"oklch(0.4336 0.0113 100.2195)","--color-border-secondary":"oklch(0.3618 0.0101 106.8928)","--color-border-tertiary":"oklch(0.3618 0.0101 106.8928 / 0.6)","--color-border-inverse":"oklch(0.2679 0.0036 106.6427 / 0.15)","--color-border-ghost":"oklch(0.3618 0.0101 106.8928 / 0)","--color-border-info":"oklch(0.7 0.18 259)","--color-border-danger":"oklch(0.74 0.18 25.331)","--color-border-success":"oklch(0.78 0.16 152)","--color-border-warning":"oklch(0.6724 0.1308 38.7559)","--color-border-disabled":"oklch(0.4336 0.0113 100.2195 / 0.4)","--color-ring-primary":"oklch(0.6724 0.1308 38.7559)","--color-ring-secondary":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-ring-inverse":"oklch(0.2679 0.0036 106.6427 / 0.7)","--color-ring-info":"oklch(0.7 0.18 259 / 0.5)","--color-ring-danger":"oklch(0.74 0.18 25.331 / 0.5)","--color-ring-success":"oklch(0.78 0.16 152 / 0.5)","--color-ring-warning":"oklch(0.83 0.17 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "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":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"}},verifiedAt:17847648e5,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:"mcpjam",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]},"io.modelcontextprotocol/enterprise-managed-authorization":{},"io.modelcontextprotocol/skills":{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"mcpjam-inspector",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"oklch(0.2679 0.0036 106.6427)","--color-background-secondary":"oklch(0.2213 0.0038 106.707)","--color-background-tertiary":"oklch(0.213 0.0078 95.4245)","--color-background-inverse":"oklch(0.9818 0.0054 95.0986)","--color-background-ghost":"oklch(0.2679 0.0036 106.6427 / 0)","--color-background-info":"oklch(0.28 0.06 259)","--color-background-danger":"oklch(0.32 0.08 25.331)","--color-background-success":"oklch(0.3 0.07 152)","--color-background-warning":"oklch(0.3 0.09 55)","--color-background-disabled":"oklch(0.2679 0.0036 106.6427 / 0.5)","--color-text-primary":"oklch(0.8074 0.0142 93.0137)","--color-text-secondary":"oklch(0.7713 0.0169 99.0657)","--color-text-tertiary":"oklch(0.7713 0.0169 99.0657 / 0.8)","--color-text-inverse":"oklch(0.2679 0.0036 106.6427)","--color-text-ghost":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-text-info":"oklch(0.7 0.18 259)","--color-text-danger":"oklch(0.74 0.18 25.331)","--color-text-success":"oklch(0.78 0.16 152)","--color-text-warning":"oklch(0.83 0.17 85.3)","--color-text-disabled":"oklch(0.8074 0.0142 93.0137 / 0.5)","--color-border-primary":"oklch(0.4336 0.0113 100.2195)","--color-border-secondary":"oklch(0.3618 0.0101 106.8928)","--color-border-tertiary":"oklch(0.3618 0.0101 106.8928 / 0.6)","--color-border-inverse":"oklch(0.2679 0.0036 106.6427 / 0.15)","--color-border-ghost":"oklch(0.3618 0.0101 106.8928 / 0)","--color-border-info":"oklch(0.7 0.18 259)","--color-border-danger":"oklch(0.74 0.18 25.331)","--color-border-success":"oklch(0.78 0.16 152)","--color-border-warning":"oklch(0.6724 0.1308 38.7559)","--color-border-disabled":"oklch(0.4336 0.0113 100.2195 / 0.4)","--color-ring-primary":"oklch(0.6724 0.1308 38.7559)","--color-ring-secondary":"oklch(0.7713 0.0169 99.0657 / 0.5)","--color-ring-inverse":"oklch(0.2679 0.0036 106.6427 / 0.7)","--color-ring-info":"oklch(0.7 0.18 259 / 0.5)","--color-ring-danger":"oklch(0.74 0.18 25.331 / 0.5)","--color-ring-success":"oklch(0.78 0.16 152 / 0.5)","--color-ring-warning":"oklch(0.83 0.17 85.3 / 0.5)","--font-sans":'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',"--font-mono":'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "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":"14px","--font-text-md-size":"15px","--font-text-lg-size":"18px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.5","--font-text-md-line-height":"1.5","--font-text-lg-line-height":"1.4","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.3","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.2","--font-heading-2xl-line-height":"1.15","--font-heading-3xl-line-height":"1.1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.04)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.04)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05)"}}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{poll:!0,push:!0,webhook:!0}},initialize:{clientInfo:{name:"mcpjam-inspector",version:"0.0.0"}},apps:{uiInitialize:{hostInfo:{name:"MCPJam",version:"0.0.0"}},compatRuntime:{openaiApps:!0},mcpAppsOverrides:{availableDisplayModes:["inline","fullscreen","pip"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!0,resourcePrefersBorder:!0,downloadFile:!0,requestTeardown:!0,safeAreaInsets:!0,widgetDisplayModeRequests:"accept"},sandbox:{csp:{mode:"declared"},permissions:{mode:"custom",allow:{camera:!0,microphone:!0,geolocation:!0,clipboardWrite:!0}}}}}},claude:{id:"claude",label:"Claude",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},hostStyle:"claude",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,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"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'"anthropic-sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, 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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
1457
+ @font-face {
1458
+ font-family: "anthropic-sans";
1459
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1460
+ font-weight: 400;
1461
+ font-style: normal;
1462
+ font-display: swap;
1463
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1464
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1465
+ }
1466
+ @font-face {
1467
+ font-family: "anthropic-sans";
1468
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1469
+ font-weight: 400;
1470
+ font-style: normal;
1471
+ font-display: swap;
1472
+ font-feature-settings: "dlig" 0;
1473
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1474
+ }
1475
+ @font-face {
1476
+ font-family: "anthropic-sans";
1477
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-RegularItalic-Static.otf") format("opentype");
1478
+ font-weight: 400;
1479
+ font-style: italic;
1480
+ font-display: swap;
1481
+ font-feature-settings: "dlig" 0;
1482
+ }
1483
+ @font-face {
1484
+ font-family: "anthropic-sans";
1485
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1486
+ font-weight: 500;
1487
+ font-style: normal;
1488
+ font-display: swap;
1489
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1490
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1491
+ }
1492
+ @font-face {
1493
+ font-family: "anthropic-sans";
1494
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1495
+ font-weight: 500;
1496
+ font-style: normal;
1497
+ font-display: swap;
1498
+ font-feature-settings: "dlig" 0;
1499
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1500
+ }
1501
+ @font-face {
1502
+ font-family: "anthropic-sans";
1503
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-MediumItalic-Static.otf") format("opentype");
1504
+ font-weight: 500;
1505
+ font-style: italic;
1506
+ font-display: swap;
1507
+ font-feature-settings: "dlig" 0;
1508
+ }
1509
+ @font-face {
1510
+ font-family: "anthropic-sans";
1511
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1512
+ font-weight: 600;
1513
+ font-style: normal;
1514
+ font-display: swap;
1515
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1516
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1517
+ }
1518
+ @font-face {
1519
+ font-family: "anthropic-sans";
1520
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1521
+ font-weight: 600;
1522
+ font-style: normal;
1523
+ font-display: swap;
1524
+ font-feature-settings: "dlig" 0;
1525
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1526
+ }
1527
+ @font-face {
1528
+ font-family: "anthropic-sans";
1529
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-SemiboldItalic-Static.otf") format("opentype");
1530
+ font-weight: 600;
1531
+ font-style: italic;
1532
+ font-display: swap;
1533
+ font-feature-settings: "dlig" 0;
1534
+ }
1535
+ @font-face {
1536
+ font-family: "anthropic-sans";
1537
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1538
+ font-weight: 700;
1539
+ font-style: normal;
1540
+ font-display: swap;
1541
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1542
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1543
+ }
1544
+ @font-face {
1545
+ font-family: "anthropic-sans";
1546
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1547
+ font-weight: 700;
1548
+ font-style: normal;
1549
+ font-display: swap;
1550
+ font-feature-settings: "dlig" 0;
1551
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1552
+ }
1553
+ @font-face {
1554
+ font-family: "anthropic-sans";
1555
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-BoldItalic-Static.otf") format("opentype");
1556
+ font-weight: 700;
1557
+ font-style: italic;
1558
+ font-display: swap;
1559
+ font-feature-settings: "dlig" 0;
1560
+ }`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,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:!1,widgetDisplayModeRequests:"accept"}}}},"claude-desktop":{id:"claude-desktop",label:"Claude Desktop",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}},structuredContent:"fallback"},mcpToolResultImageRendering:{placement:"inline",directContent:{image:!0},embeddedResources:{blob:{image:!0}},linkedResources:{blob:{image:!1}}},hostStyle:"claude-desktop",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,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"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/5.1231.2 Chrome/156.0.8078.75 Electron/45.2.1 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:12,right:12,bottom:12,left:12},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, 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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
1561
+ @font-face {
1562
+ font-family: "anthropic-sans";
1563
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1564
+ font-weight: 400;
1565
+ font-style: normal;
1566
+ font-display: swap;
1567
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1568
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1569
+ }
1570
+ @font-face {
1571
+ font-family: "anthropic-sans";
1572
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1573
+ font-weight: 400;
1574
+ font-style: normal;
1575
+ font-display: swap;
1576
+ font-feature-settings: "dlig" 0;
1577
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1578
+ }
1579
+ @font-face {
1580
+ font-family: "anthropic-sans";
1581
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-RegularItalic-Static.otf") format("opentype");
1582
+ font-weight: 400;
1583
+ font-style: italic;
1584
+ font-display: swap;
1585
+ font-feature-settings: "dlig" 0;
1586
+ }
1587
+ @font-face {
1588
+ font-family: "anthropic-sans";
1589
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1590
+ font-weight: 500;
1591
+ font-style: normal;
1592
+ font-display: swap;
1593
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1594
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1595
+ }
1596
+ @font-face {
1597
+ font-family: "anthropic-sans";
1598
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1599
+ font-weight: 500;
1600
+ font-style: normal;
1601
+ font-display: swap;
1602
+ font-feature-settings: "dlig" 0;
1603
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1604
+ }
1605
+ @font-face {
1606
+ font-family: "anthropic-sans";
1607
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-MediumItalic-Static.otf") format("opentype");
1608
+ font-weight: 500;
1609
+ font-style: italic;
1610
+ font-display: swap;
1611
+ font-feature-settings: "dlig" 0;
1612
+ }
1613
+ @font-face {
1614
+ font-family: "anthropic-sans";
1615
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1616
+ font-weight: 600;
1617
+ font-style: normal;
1618
+ font-display: swap;
1619
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1620
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1621
+ }
1622
+ @font-face {
1623
+ font-family: "anthropic-sans";
1624
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1625
+ font-weight: 600;
1626
+ font-style: normal;
1627
+ font-display: swap;
1628
+ font-feature-settings: "dlig" 0;
1629
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1630
+ }
1631
+ @font-face {
1632
+ font-family: "anthropic-sans";
1633
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-SemiboldItalic-Static.otf") format("opentype");
1634
+ font-weight: 600;
1635
+ font-style: italic;
1636
+ font-display: swap;
1637
+ font-feature-settings: "dlig" 0;
1638
+ }
1639
+ @font-face {
1640
+ font-family: "anthropic-sans";
1641
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1642
+ font-weight: 700;
1643
+ font-style: normal;
1644
+ font-display: swap;
1645
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1646
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1647
+ }
1648
+ @font-face {
1649
+ font-family: "anthropic-sans";
1650
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1651
+ font-weight: 700;
1652
+ font-style: normal;
1653
+ font-display: swap;
1654
+ font-feature-settings: "dlig" 0;
1655
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1656
+ }
1657
+ @font-face {
1658
+ font-family: "anthropic-sans";
1659
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-BoldItalic-Static.otf") format("opentype");
1660
+ font-weight: 700;
1661
+ font-style: italic;
1662
+ font-display: swap;
1663
+ font-feature-settings: "dlig" 0;
1664
+ }`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",paginationTraversal:"full",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,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:!1,widgetDisplayModeRequests:"accept"}}}},"claude-code":{id:"claude-code",label:"Claude Code",provenance:"probe",rendersMcpApps:!1,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}},structuredContent:"preferred"},mcpToolResultImageRendering:{placement:"none",directContent:{image:!1},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"claude-code",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!0,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"claude-code",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{roots:{listChanged:!0},elicitation:{form:{}}},hostContext:{},mcpProfile:{profileVersion:1,paginationTraversal:"full",toolListChanged:{listens:!0,refetches:!0},unauthorizedChallenge:"notify",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-code",title:"Claude Code",version:"2.1.290",description:"Anthropic's agentic coding tool",websiteUrl:"https://claude.com/claude-code"}},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"}}}},"claude-code-desktop":{id:"claude-code-desktop",label:"Claude Code Desktop",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"claude-code-desktop",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:768,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/3.6556.2 Chrome/152.0.7977.167 Electron/44.9.3 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, 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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
1665
+ @font-face {
1666
+ font-family: "anthropic-sans";
1667
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1668
+ font-weight: 400;
1669
+ font-style: normal;
1670
+ font-display: swap;
1671
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1672
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1673
+ }
1674
+ @font-face {
1675
+ font-family: "anthropic-sans";
1676
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1677
+ font-weight: 400;
1678
+ font-style: normal;
1679
+ font-display: swap;
1680
+ font-feature-settings: "dlig" 0;
1681
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1682
+ }
1683
+ @font-face {
1684
+ font-family: "anthropic-sans";
1685
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-RegularItalic-Static.otf") format("opentype");
1686
+ font-weight: 400;
1687
+ font-style: italic;
1688
+ font-display: swap;
1689
+ font-feature-settings: "dlig" 0;
1690
+ }
1691
+ @font-face {
1692
+ font-family: "anthropic-sans";
1693
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1694
+ font-weight: 500;
1695
+ font-style: normal;
1696
+ font-display: swap;
1697
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1698
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1699
+ }
1700
+ @font-face {
1701
+ font-family: "anthropic-sans";
1702
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1703
+ font-weight: 500;
1704
+ font-style: normal;
1705
+ font-display: swap;
1706
+ font-feature-settings: "dlig" 0;
1707
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1708
+ }
1709
+ @font-face {
1710
+ font-family: "anthropic-sans";
1711
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-MediumItalic-Static.otf") format("opentype");
1712
+ font-weight: 500;
1713
+ font-style: italic;
1714
+ font-display: swap;
1715
+ font-feature-settings: "dlig" 0;
1716
+ }
1717
+ @font-face {
1718
+ font-family: "anthropic-sans";
1719
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1720
+ font-weight: 600;
1721
+ font-style: normal;
1722
+ font-display: swap;
1723
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1724
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1725
+ }
1726
+ @font-face {
1727
+ font-family: "anthropic-sans";
1728
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1729
+ font-weight: 600;
1730
+ font-style: normal;
1731
+ font-display: swap;
1732
+ font-feature-settings: "dlig" 0;
1733
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1734
+ }
1735
+ @font-face {
1736
+ font-family: "anthropic-sans";
1737
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-SemiboldItalic-Static.otf") format("opentype");
1738
+ font-weight: 600;
1739
+ font-style: italic;
1740
+ font-display: swap;
1741
+ font-feature-settings: "dlig" 0;
1742
+ }
1743
+ @font-face {
1744
+ font-family: "anthropic-sans";
1745
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1746
+ font-weight: 700;
1747
+ font-style: normal;
1748
+ font-display: swap;
1749
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1750
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1751
+ }
1752
+ @font-face {
1753
+ font-family: "anthropic-sans";
1754
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1755
+ font-weight: 700;
1756
+ font-style: normal;
1757
+ font-display: swap;
1758
+ font-feature-settings: "dlig" 0;
1759
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1760
+ }
1761
+ @font-face {
1762
+ font-family: "anthropic-sans";
1763
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-BoldItalic-Static.otf") format("opentype");
1764
+ font-weight: 700;
1765
+ font-style: italic;
1766
+ font-display: swap;
1767
+ font-feature-settings: "dlig" 0;
1768
+ }`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}}},"claude-code-web":{id:"claude-code-web",label:"Claude Code Web",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"claude-code-web",modelId:"anthropic/claude-haiku-5.5",systemPrompt:"",temperature:1,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{elicitation:{form:{},url:{}},extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline"],containerDimensions:{width:720,maxHeight:5e3},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"light-dark(rgba(255, 255, 255, 1), rgba(48, 48, 46, 1))","--color-background-secondary":"light-dark(rgba(245, 244, 237, 1), rgba(38, 38, 36, 1))","--color-background-tertiary":"light-dark(rgba(250, 249, 245, 1), rgba(20, 20, 19, 1))","--color-background-inverse":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-background-ghost":"light-dark(rgba(255, 255, 255, 0), rgba(48, 48, 46, 0))","--color-background-info":"light-dark(rgba(214, 228, 246, 1), rgba(37, 62, 95, 1))","--color-background-danger":"light-dark(rgba(247, 236, 236, 1), rgba(96, 42, 40, 1))","--color-background-success":"light-dark(rgba(233, 241, 220, 1), rgba(27, 70, 20, 1))","--color-background-warning":"light-dark(rgba(246, 238, 223, 1), rgba(72, 58, 15, 1))","--color-background-disabled":"light-dark(rgba(255, 255, 255, 0.5), rgba(48, 48, 46, 0.5))","--color-text-primary":"light-dark(rgba(20, 20, 19, 1), rgba(250, 249, 245, 1))","--color-text-secondary":"light-dark(rgba(61, 61, 58, 1), rgba(194, 192, 182, 1))","--color-text-tertiary":"light-dark(rgba(115, 114, 108, 1), rgba(156, 154, 146, 1))","--color-text-inverse":"light-dark(rgba(255, 255, 255, 1), rgba(20, 20, 19, 1))","--color-text-ghost":"light-dark(rgba(115, 114, 108, 0.5), rgba(156, 154, 146, 0.5))","--color-text-info":"light-dark(rgba(50, 102, 173, 1), rgba(128, 170, 221, 1))","--color-text-danger":"light-dark(rgba(127, 44, 40, 1), rgba(238, 136, 132, 1))","--color-text-success":"light-dark(rgba(38, 91, 25, 1), rgba(122, 185, 72, 1))","--color-text-warning":"light-dark(rgba(90, 72, 21, 1), rgba(209, 160, 65, 1))","--color-text-disabled":"light-dark(rgba(20, 20, 19, 0.5), rgba(250, 249, 245, 0.5))","--color-border-primary":"light-dark(rgba(31, 30, 29, 0.4), rgba(222, 220, 209, 0.4))","--color-border-secondary":"light-dark(rgba(31, 30, 29, 0.3), rgba(222, 220, 209, 0.3))","--color-border-tertiary":"light-dark(rgba(31, 30, 29, 0.15), rgba(222, 220, 209, 0.15))","--color-border-inverse":"light-dark(rgba(255, 255, 255, 0.3), rgba(20, 20, 19, 0.15))","--color-border-ghost":"light-dark(rgba(31, 30, 29, 0), rgba(222, 220, 209, 0))","--color-border-info":"light-dark(rgba(70, 130, 213, 1), rgba(70, 130, 213, 1))","--color-border-danger":"light-dark(rgba(167, 61, 57, 1), rgba(205, 92, 88, 1))","--color-border-success":"light-dark(rgba(67, 116, 38, 1), rgba(89, 145, 48, 1))","--color-border-warning":"light-dark(rgba(128, 92, 31, 1), rgba(168, 120, 41, 1))","--color-border-disabled":"light-dark(rgba(31, 30, 29, 0.1), rgba(222, 220, 209, 0.1))","--color-ring-primary":"light-dark(rgba(20, 20, 19, 0.7), rgba(250, 249, 245, 0.7))","--color-ring-secondary":"light-dark(rgba(61, 61, 58, 0.7), rgba(194, 192, 182, 0.7))","--color-ring-inverse":"light-dark(rgba(255, 255, 255, 0.7), rgba(20, 20, 19, 0.7))","--color-ring-info":"light-dark(rgba(50, 102, 173, 0.5), rgba(128, 170, 221, 0.5))","--color-ring-danger":"light-dark(rgba(167, 61, 57, 0.5), rgba(205, 92, 88, 0.5))","--color-ring-success":"light-dark(rgba(67, 116, 38, 0.5), rgba(89, 145, 48, 0.5))","--color-ring-warning":"light-dark(rgba(128, 92, 31, 0.5), rgba(168, 120, 41, 0.5))","--font-sans":'"anthropic-sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',"--font-mono":'"anthropic-mono", "SF Mono", ui-monospace, Menlo, Consolas, 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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"20px","--font-heading-xs-size":"12px","--font-heading-sm-size":"14px","--font-heading-md-size":"16px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"28px","--font-heading-3xl-size":"36px","--font-text-xs-line-height":"1.4","--font-text-sm-line-height":"1.4","--font-text-md-line-height":"1.4","--font-text-lg-line-height":"1.25","--font-heading-xs-line-height":"1.4","--font-heading-sm-line-height":"1.4","--font-heading-md-line-height":"1.4","--font-heading-lg-line-height":"1.25","--font-heading-xl-line-height":"1.25","--font-heading-2xl-line-height":"1.1","--font-heading-3xl-line-height":"1","--border-radius-xs":"4px","--border-radius-sm":"6px","--border-radius-md":"8px","--border-radius-lg":"10px","--border-radius-xl":"12px","--border-radius-full":"9999px","--border-width-regular":"0.5px","--shadow-hairline":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
1769
+ @font-face {
1770
+ font-family: "anthropic-sans";
1771
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1772
+ font-weight: 400;
1773
+ font-style: normal;
1774
+ font-display: swap;
1775
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1776
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1777
+ }
1778
+ @font-face {
1779
+ font-family: "anthropic-sans";
1780
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf") format("opentype");
1781
+ font-weight: 400;
1782
+ font-style: normal;
1783
+ font-display: swap;
1784
+ font-feature-settings: "dlig" 0;
1785
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1786
+ }
1787
+ @font-face {
1788
+ font-family: "anthropic-sans";
1789
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-RegularItalic-Static.otf") format("opentype");
1790
+ font-weight: 400;
1791
+ font-style: italic;
1792
+ font-display: swap;
1793
+ font-feature-settings: "dlig" 0;
1794
+ }
1795
+ @font-face {
1796
+ font-family: "anthropic-sans";
1797
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1798
+ font-weight: 500;
1799
+ font-style: normal;
1800
+ font-display: swap;
1801
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1802
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1803
+ }
1804
+ @font-face {
1805
+ font-family: "anthropic-sans";
1806
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf") format("opentype");
1807
+ font-weight: 500;
1808
+ font-style: normal;
1809
+ font-display: swap;
1810
+ font-feature-settings: "dlig" 0;
1811
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1812
+ }
1813
+ @font-face {
1814
+ font-family: "anthropic-sans";
1815
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-MediumItalic-Static.otf") format("opentype");
1816
+ font-weight: 500;
1817
+ font-style: italic;
1818
+ font-display: swap;
1819
+ font-feature-settings: "dlig" 0;
1820
+ }
1821
+ @font-face {
1822
+ font-family: "anthropic-sans";
1823
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1824
+ font-weight: 600;
1825
+ font-style: normal;
1826
+ font-display: swap;
1827
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1828
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1829
+ }
1830
+ @font-face {
1831
+ font-family: "anthropic-sans";
1832
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf") format("opentype");
1833
+ font-weight: 600;
1834
+ font-style: normal;
1835
+ font-display: swap;
1836
+ font-feature-settings: "dlig" 0;
1837
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1838
+ }
1839
+ @font-face {
1840
+ font-family: "anthropic-sans";
1841
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-SemiboldItalic-Static.otf") format("opentype");
1842
+ font-weight: 600;
1843
+ font-style: italic;
1844
+ font-display: swap;
1845
+ font-feature-settings: "dlig" 0;
1846
+ }
1847
+ @font-face {
1848
+ font-family: "anthropic-sans";
1849
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cb48c413e-yAna2Le1.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1850
+ font-weight: 700;
1851
+ font-style: normal;
1852
+ font-display: swap;
1853
+ font-feature-settings: "dlig" 0, "ss01" 1, "ss02" 1;
1854
+ unicode-range: U+0-5B, U+5D-A0, U+A2-A3, U+A5-316, U+318-3C8, U+3CA-DFFF, U+E140-10FFFF;
1855
+ }
1856
+ @font-face {
1857
+ font-family: "anthropic-sans";
1858
+ src: url("https://assets.claude.ai/claude-ai/v2/assets/v1/cc27851ad-DDVos-BJ.woff2") format("woff2"), url("https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf") format("opentype");
1859
+ font-weight: 700;
1860
+ font-style: normal;
1861
+ font-display: swap;
1862
+ font-feature-settings: "dlig" 0;
1863
+ unicode-range: U+5C, U+A1, U+A4, U+E000-E13F;
1864
+ }
1865
+ @font-face {
1866
+ font-family: "anthropic-sans";
1867
+ src: url("https://assets.claude.ai/Fonts/AnthropicSans-Text-BoldItalic-Static.otf") format("opentype");
1868
+ font-weight: 700;
1869
+ font-style: italic;
1870
+ font-display: swap;
1871
+ font-feature-settings: "dlig" 0;
1872
+ }`}}},mcpProfile:{profileVersion:1,mcpProtocolVersion:"auto",unauthorizedChallengeTrigger:"bearer-header",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"claude-ai",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Claude",version:"1.0.0"}},sandbox:{csp:{mode:"declared",cspDirectives:{"script-src":["'self'","'unsafe-eval'","https://assets.claude.ai"],"style-src":["'self'","https://assets.claude.ai"],"img-src":["'self'","https://assets.claude.ai"],"connect-src":["'self'"],"font-src":["'self'","https://assets.claude.ai"],"media-src":["'self'","https://assets.claude.ai"],"worker-src":["'self'","blob:","https://assets.claude.ai"],"frame-src":["'self'"],"base-uri":["'self'"],"form-action":["'self'"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],sameOriginAppIframe:!0,allowFeatures:{fullscreen:"*"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline"],toolInputPartial:!0,hostContextChanged:!0,toolInfo:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!0,cspFrameDomains:!0,cspBaseUriDomains:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!1}}}},chatgpt:{id:"chatgpt",label:"ChatGPT",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"#fff","--color-background-secondary":"#f9f9f9","--color-background-tertiary":"#f3f3f3","--color-background-inverse":"#181818","--color-background-ghost":"color-mix(in oklab,#0d0d0d 0.0%,transparent)","--color-background-disabled":"color-mix(in oklab,#0d0d0d 5.0%,transparent)","--color-text-primary":"#0d0d0d","--color-text-secondary":"#5d5d5d","--color-text-tertiary":"#8f8f8f","--color-text-inverse":"#fff","--color-text-ghost":"#0d0d0d","--color-text-info":"#3a83f7","--color-text-danger":"#fa423e","--color-text-success":"#2c6732","--color-text-warning":"#87401d","--color-text-disabled":"#8f8f8f","--color-border-primary":"color-mix(in oklab,#0d0d0d 10.0%,transparent)","--color-border-secondary":"color-mix(in oklab,#0d0d0d 5.0%,transparent)","--color-border-tertiary":"color-mix(in oklab,#0d0d0d 15%,transparent)","--color-border-inverse":"#fff","--color-border-ghost":"color-mix(in oklab,#0d0d0d 0.0%,transparent)","--color-border-disabled":"color-mix(in oklab,#0d0d0d 6.0%,transparent)","--color-ring-primary":"#2c67c5","--color-ring-secondary":"#2c67c5","--color-ring-inverse":"#2c67c5","--color-ring-info":"#2c67c5","--color-ring-danger":"#ff8583","--color-ring-success":"#2c67c5","--color-ring-warning":"#2c67c5","--font-sans":'"ui-sans-serif", "-apple-system", "system-ui", "Segoe UI", "Helvetica", "Apple Color Emoji", "Arial", "sans-serif", "Segoe UI Emoji", "Segoe UI Symbol"',"--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":".75rem","--font-text-sm-size":".875rem","--font-text-md-size":"1rem","--font-text-lg-size":"1.125rem","--font-heading-xs-size":"1rem","--font-heading-sm-size":"1.125rem","--font-heading-md-size":"1.25rem","--font-heading-lg-size":"1.5rem","--font-heading-xl-size":"2rem","--font-heading-2xl-size":"2.25rem","--font-heading-3xl-size":"3rem","--font-text-xs-line-height":"1.125rem","--font-text-sm-line-height":"1.25rem","--font-text-md-line-height":"1.5rem","--font-text-lg-line-height":"1.8125rem","--font-heading-xs-line-height":"1.5rem","--font-heading-sm-line-height":"1.625rem","--font-heading-md-line-height":"1.625rem","--font-heading-lg-line-height":"1.75rem","--font-heading-xl-line-height":"2.375rem","--font-heading-2xl-line-height":"2.625rem","--font-heading-3xl-line-height":"3rem","--border-radius-xs":".25rem","--border-radius-sm":".375rem","--border-radius-md":".5rem","--border-radius-lg":".625rem","--border-radius-xl":".75rem","--border-radius-full":"9999px","--border-width-regular":".5px","--shadow-hairline":"0 0 0 .5px #0000001a","--shadow-sm":"0 1px 2px -1px rgb(0 0 0 / .08)","--shadow-md":"0 2px 4px -1px rgb(0 0 0 / .08)","--shadow-lg":"0 4px 8px -2px rgb(0 0 0 / .1)"},dark:{"--color-background-primary":"rgb(14, 14, 14)","--color-background-secondary":"rgb(33, 33, 33)","--color-background-tertiary":"rgb(14, 14, 14)","--color-background-inverse":"rgb(237, 237, 237)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"color(srgb 0.980392 0.258824 0.243137 / 0.16)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(33, 33, 33))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(33, 33, 33))","--color-background-disabled":"rgb(48, 48, 48)","--color-text-primary":"rgb(237, 237, 237)","--color-text-secondary":"rgb(205, 205, 205)","--color-text-tertiary":"rgb(175, 175, 175)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgb(175, 175, 175)","--color-text-info":"rgb(51, 156, 255)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgb(175, 175, 175)","--color-border-primary":"rgba(255, 255, 255, 0.2)","--color-border-secondary":"rgba(255, 255, 255, 0.15)","--color-border-tertiary":"rgba(255, 255, 255, 0.15)","--color-border-inverse":"rgb(237, 237, 237)","--color-border-ghost":"transparent","--color-border-info":"rgb(255, 255, 255)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(255, 255, 255, 0.2)","--color-ring-primary":"rgb(255, 255, 255)","--color-ring-secondary":"rgb(255, 255, 255)","--color-ring-inverse":"rgb(255, 255, 255)","--color-ring-info":"rgb(255, 255, 255)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'-apple-system-body, ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"',"--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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--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":"1.75px","--border-radius-sm":"3.5px","--border-radius-md":"5.25px","--border-radius-lg":"7px","--border-radius-xl":"10.5px","--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"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,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:"chatgpt",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:{"openai/visibility":{enabled:!0}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},styles:{variables:{"--color-background-primary":"rgb(14, 14, 14)","--color-background-secondary":"rgb(33, 33, 33)","--color-background-tertiary":"rgb(14, 14, 14)","--color-background-inverse":"rgb(237, 237, 237)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"color(srgb 0.980392 0.258824 0.243137 / 0.16)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(33, 33, 33))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(33, 33, 33))","--color-background-disabled":"rgb(48, 48, 48)","--color-text-primary":"rgb(237, 237, 237)","--color-text-secondary":"rgb(205, 205, 205)","--color-text-tertiary":"rgb(175, 175, 175)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgb(175, 175, 175)","--color-text-info":"rgb(51, 156, 255)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgb(175, 175, 175)","--color-border-primary":"rgba(255, 255, 255, 0.2)","--color-border-secondary":"rgba(255, 255, 255, 0.15)","--color-border-tertiary":"rgba(255, 255, 255, 0.15)","--color-border-inverse":"rgb(237, 237, 237)","--color-border-ghost":"transparent","--color-border-info":"rgb(255, 255, 255)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(255, 255, 255, 0.2)","--color-ring-primary":"rgb(255, 255, 255)","--color-ring-secondary":"rgb(255, 255, 255)","--color-ring-inverse":"rgb(255, 255, 255)","--color-ring-info":"rgb(255, 255, 255)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'-apple-system-body, ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"',"--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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--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":"1.75px","--border-radius-sm":"3.5px","--border-radius-md":"5.25px","--border-radius-lg":"7px","--border-radius-xl":"10.5px","--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"}},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{}},mcpProtocolVersion:"auto",paginationTraversal:"full",toolListChanged:{listens:!0},toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{maxBlocks:256,turnMaxBytes:8388608,updateMaxBytes:2548e3},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,toolCancelled:!0,hostContextChanged:!0,resourceTeardown:!0,toolInfo:!0,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},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:!1,widgetDisplayModeRequests:"accept"}}}},"chatgpt-desktop":{id:"chatgpt-desktop",label:"ChatGPT Desktop",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{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"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17944416e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"chatgpt-desktop",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:{"openai/visibility":{enabled:!0}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},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"}},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}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{}},mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1103.60933"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,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},downloadFile:!1}}}},"chatgpt-work":{id:"chatgpt-work",label:"ChatGPT Work",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{dark:{"--color-background-primary":"rgb(14, 14, 14)","--color-background-secondary":"rgb(33, 33, 33)","--color-background-tertiary":"rgb(14, 14, 14)","--color-background-inverse":"rgb(237, 237, 237)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"color(srgb 0.980392 0.258824 0.243137 / 0.16)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(33, 33, 33))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(33, 33, 33))","--color-background-disabled":"rgb(48, 48, 48)","--color-text-primary":"rgb(237, 237, 237)","--color-text-secondary":"rgb(205, 205, 205)","--color-text-tertiary":"rgb(175, 175, 175)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgb(175, 175, 175)","--color-text-info":"rgb(51, 156, 255)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgb(175, 175, 175)","--color-border-primary":"rgba(255, 255, 255, 0.2)","--color-border-secondary":"rgba(255, 255, 255, 0.15)","--color-border-tertiary":"rgba(255, 255, 255, 0.15)","--color-border-inverse":"rgb(237, 237, 237)","--color-border-ghost":"transparent","--color-border-info":"rgb(255, 255, 255)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(255, 255, 255, 0.2)","--color-ring-primary":"rgb(255, 255, 255)","--color-ring-secondary":"rgb(255, 255, 255)","--color-ring-inverse":"rgb(255, 255, 255)","--color-ring-info":"rgb(255, 255, 255)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'-apple-system-body, ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"',"--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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--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":"1.75px","--border-radius-sm":"3.5px","--border-radius-md":"5.25px","--border-radius-lg":"7px","--border-radius-xl":"10.5px","--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"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17943552e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"chatgpt-work",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","text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},styles:{variables:{"--color-background-primary":"rgb(14, 14, 14)","--color-background-secondary":"rgb(33, 33, 33)","--color-background-tertiary":"rgb(14, 14, 14)","--color-background-inverse":"rgb(237, 237, 237)","--color-background-ghost":"transparent","--color-background-info":"rgb(19, 52, 99)","--color-background-danger":"color(srgb 0.980392 0.258824 0.243137 / 0.16)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(33, 33, 33))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 12%, rgb(33, 33, 33))","--color-background-disabled":"rgb(48, 48, 48)","--color-text-primary":"rgb(237, 237, 237)","--color-text-secondary":"rgb(205, 205, 205)","--color-text-tertiary":"rgb(175, 175, 175)","--color-text-inverse":"rgb(13, 13, 13)","--color-text-ghost":"rgb(175, 175, 175)","--color-text-info":"rgb(51, 156, 255)","--color-text-danger":"rgb(255, 103, 100)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(226, 85, 7)","--color-text-disabled":"rgb(175, 175, 175)","--color-border-primary":"rgba(255, 255, 255, 0.2)","--color-border-secondary":"rgba(255, 255, 255, 0.15)","--color-border-tertiary":"rgba(255, 255, 255, 0.15)","--color-border-inverse":"rgb(237, 237, 237)","--color-border-ghost":"transparent","--color-border-info":"rgb(255, 255, 255)","--color-border-danger":"rgb(255, 103, 100)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(255, 255, 255, 0.2)","--color-ring-primary":"rgb(255, 255, 255)","--color-ring-secondary":"rgb(255, 255, 255)","--color-ring-inverse":"rgb(255, 255, 255)","--color-ring-info":"rgb(255, 255, 255)","--color-ring-danger":"rgb(255, 103, 100)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(226, 85, 7)","--font-sans":'-apple-system-body, ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"',"--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":"14px","--font-text-md-size":"16px","--font-text-lg-size":"18px","--font-heading-xs-size":"18px","--font-heading-sm-size":"20px","--font-heading-md-size":"24px","--font-heading-lg-size":"20px","--font-heading-xl-size":"24px","--font-heading-2xl-size":"30px","--font-heading-3xl-size":"36px","--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":"1.75px","--border-radius-sm":"3.5px","--border-radius-md":"5.25px","--border-radius-lg":"7px","--border-radius-xl":"10.5px","--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"}},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"chatgpt",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{webhook:!0}},mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{capabilities:{fileResources:!1,fileViewers:!1,localFiles:!1,mentions:!1},enabled:!0},modelContextPolicy:{maxBlocks:256,turnMaxBytes:8388608,updateMaxBytes:2548e3},uiInitialize:{hostInfo:{name:"chatgpt",version:"unknown"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{microphone:!0,clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,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},cspResourceDomains:{script:!0,stylesheet:!0,image:!0,font:!0,media:!0},toolResult:{structuredContent:!0},downloadFile:!0}}}},"chatgpt-work-desktop":{id:"chatgpt-work-desktop",label:"ChatGPT Work Desktop",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{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":"color(srgb 0.980392 0.258824 0.243137 / 0.16)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 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(102, 181, 255)","--color-text-danger":"rgb(224, 46, 42)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(226, 85, 7)","--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(255, 255, 255)","--color-border-danger":"rgb(224, 46, 42)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(255, 255, 255)","--color-ring-secondary":"rgb(255, 255, 255)","--color-ring-inverse":"rgb(255, 255, 255)","--color-ring-info":"rgb(255, 255, 255)","--color-ring-danger":"rgb(224, 46, 42)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(226, 85, 7)","--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"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25","2026-07-28"],verifiedAt:17944416e5,modelVisibleMcpToolResults:{},mcpToolResultImageRendering:{},hostStyle:"chatgpt-work-desktop",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","text/html+skybridge"]},"openai/elicitation":{form:{}}},experimental:{"openai/visibility":{enabled:!0}},elicitation:{form:{}}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen"],containerDimensions:{height:400,maxWidth:768},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":"color(srgb 0.980392 0.258824 0.243137 / 0.16)","--color-background-success":"color-mix(in srgb, rgb(64, 201, 119) 12%, rgb(40, 40, 40))","--color-background-warning":"color-mix(in srgb, rgb(226, 85, 7) 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(102, 181, 255)","--color-text-danger":"rgb(224, 46, 42)","--color-text-success":"rgb(64, 201, 119)","--color-text-warning":"rgb(226, 85, 7)","--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(255, 255, 255)","--color-border-danger":"rgb(224, 46, 42)","--color-border-success":"rgb(64, 201, 119)","--color-border-warning":"rgb(226, 85, 7)","--color-border-disabled":"rgba(255, 255, 255, 0.157)","--color-ring-primary":"rgb(255, 255, 255)","--color-ring-secondary":"rgb(255, 255, 255)","--color-ring-inverse":"rgb(255, 255, 255)","--color-ring-info":"rgb(255, 255, 255)","--color-ring-danger":"rgb(224, 46, 42)","--color-ring-success":"rgb(64, 201, 119)","--color-ring-warning":"rgb(226, 85, 7)","--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"}},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}},mcpProfile:{profileVersion:1,extensions:{"com.mcpjam/events":{webhook:!0}},mcpProtocolVersion:"auto",toolResultAuthChallenge:"prompt",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"openai-mcp (Codex)",version:"1.0.0"}},apps:{pluginExtensions:{enabled:!0},uiInitialize:{hostInfo:{name:"chatgpt",version:"26.1106.51428"}},compatRuntime:{openaiApps:!0,openaiAppsOverrides:{uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1,setOpenInAppUrl:!1,notifyIntrinsicHeight:!1}},sandbox:{csp:{mode:"declared",cspDirectives:{"frame-src":["'self'","data:","blob:"]}},permissions:{mode:"custom",allow:{clipboardWrite:!0}},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sandboxAttrs:["allow-forms","allow-popups","allow-popups-to-escape-sandbox"],sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!0,availableDisplayModes:["inline","fullscreen"],hostContextChanged:!0,openLinks:!0,serverTools:!0,serverResources:!0,logging:!0,updateModelContext:!0,message:!0,sandboxPermissions:!1,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},downloadFile:!1}}}},mistral:{id:"mistral",label:"Mistral",provenance:"probe",rendersMcpApps:!0,styleVariablesByTheme:{light:{"--color-background-primary":"#fff","--color-background-secondary":"#fbfbf8","--color-background-tertiary":"#f5f4ef","--color-background-inverse":"#1a1a1e","--color-text-primary":"#201f1c","--color-text-secondary":"#615f57","--color-text-tertiary":"#928f86","--color-text-inverse":"#fff","--color-text-info":"#0082e6","--color-text-danger":"#e51300","--color-text-success":"#3aa475","--color-text-warning":"#de4408","--color-border-primary":"#0000001a","--color-border-secondary":"#00000026","--color-border-tertiary":"#00000040"},dark:{"--color-background-primary":"#101013","--color-background-secondary":"#1a1a1e","--color-background-tertiary":"#27272b","--color-background-inverse":"#fff","--color-text-primary":"#fff","--color-text-secondary":"#ccccd1","--color-text-tertiary":"#a1a1aa","--color-text-inverse":"#101013","--color-text-info":"#55b3fb","--color-text-danger":"#f66c60","--color-text-success":"#44ba82","--color-text-warning":"#ff6529","--color-border-primary":"#ffffff1a","--color-border-secondary":"#ffffff26","--color-border-tertiary":"#ffffff40"}},supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],verifiedAt:17883072e5,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:"mistral",modelId:"mistralai/mistral-small-2603",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"]}}},hostContext:{theme:"dark",displayMode:"fullscreen",availableDisplayModes:["inline","fullscreen"],containerDimensions:{width:1130.5},locale:"en",timeZone:"America/Los_Angeles",userAgent:"Le Chat/1.0.0",platform:"web",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"#101013","--color-background-secondary":"#1a1a1e","--color-background-tertiary":"#27272b","--color-background-inverse":"#fff","--color-text-primary":"#fff","--color-text-secondary":"#ccccd1","--color-text-tertiary":"#a1a1aa","--color-text-inverse":"#101013","--color-text-info":"#55b3fb","--color-text-danger":"#f66c60","--color-text-success":"#44ba82","--color-text-warning":"#ff6529","--color-border-primary":"#ffffff1a","--color-border-secondary":"#ffffff26","--color-border-tertiary":"#ffffff40"}}},mcpProfile:{profileVersion:1,paginationTraversal:"full",initialize:{supportedProtocolVersions:["2025-03-26","2025-06-18","2025-11-25"],clientInfo:{name:"mcp",version:"0.1.0"}},apps:{uiInitialize:{hostInfo:{name:"Le Chat",version:"1.0.0"}},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline","fullscreen"],toolInputPartial:!0,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},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:{clipboardWrite:!0}},sandboxAttrs:["allow-forms"],browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0}}}}},goose:{id:"goose",label:"Goose",provenance:"probe",rendersMcpApps:!0,supportedProtocolVersions:["2025-03-26"],verifiedAt:17866656e5,modelVisibleMcpToolResults:{directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},mcpToolResultImageRendering:{placement:"collapsed",directContent:{image:!0},embeddedResources:{blob:{image:!1}},linkedResources:{blob:{image:!1}}},hostStyle:"goose",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,runUnloadedToolCalls:!0,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],connectionDefaults:{headers:{},requestTimeout:1e4},clientCapabilities:{extensions:{"io.modelcontextprotocol/ui":{mimeTypes:["text/html;profile=mcp-app"]}},roots:{},sampling:{},elicitation:{}},hostContext:{theme:"dark",displayMode:"inline",availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:{width:1274},locale:"en-US",timeZone:"America/Los_Angeles",userAgent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Goose/1.38.0 Chrome/146.0.7680.65 Electron/41.0.0 Safari/537.36",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0},styles:{variables:{"--color-background-primary":"light-dark(#ffffff, #22252a)","--color-background-secondary":"light-dark(#f4f6f7, #3f434b)","--color-background-tertiary":"light-dark(#e3e6ea, #474e57)","--color-background-inverse":"light-dark(#000000, #cbd1d6)","--color-background-ghost":"light-dark(transparent, transparent)","--color-background-info":"light-dark(#5c98f9, #7cacff)","--color-background-danger":"light-dark(#f94b4b, #ff6b6b)","--color-background-success":"light-dark(#91cb80, #a3d795)","--color-background-warning":"light-dark(#fbcd44, #ffd966)","--color-background-disabled":"light-dark(#e3e6ea, #474e57)","--color-text-primary":"light-dark(#3f434b, #ffffff)","--color-text-secondary":"light-dark(#878787, #878787)","--color-text-tertiary":"light-dark(#a7b0b9, #606c7a)","--color-text-inverse":"light-dark(#ffffff, #000000)","--color-text-ghost":"light-dark(#878787, #878787)","--color-text-info":"light-dark(#5c98f9, #7cacff)","--color-text-danger":"light-dark(#f94b4b, #ff6b6b)","--color-text-success":"light-dark(#91cb80, #a3d795)","--color-text-warning":"light-dark(#fbcd44, #ffd966)","--color-text-disabled":"light-dark(#cbd1d6, #525b68)","--color-border-primary":"light-dark(#e3e6ea, #3f434b)","--color-border-secondary":"light-dark(#e3e6ea, #525b68)","--color-border-tertiary":"light-dark(#cbd1d6, #474e57)","--color-border-inverse":"light-dark(#000000, #ffffff)","--color-border-ghost":"light-dark(transparent, transparent)","--color-border-info":"light-dark(#5c98f9, #7cacff)","--color-border-danger":"light-dark(#f94b4b, #ff6b6b)","--color-border-success":"light-dark(#91cb80, #a3d795)","--color-border-warning":"light-dark(#fbcd44, #ffd966)","--color-border-disabled":"light-dark(#e3e6ea, #3f434b)","--color-ring-primary":"light-dark(#e3e6ea, #525b68)","--color-ring-secondary":"light-dark(#cbd1d6, #474e57)","--color-ring-inverse":"light-dark(#ffffff, #000000)","--color-ring-info":"light-dark(#5c98f9, #7cacff)","--color-ring-danger":"light-dark(#f94b4b, #ff6b6b)","--color-ring-success":"light-dark(#91cb80, #a3d795)","--color-ring-warning":"light-dark(#fbcd44, #ffd966)","--font-sans":"'Cash Sans', sans-serif","--font-mono":"monospace","--font-weight-normal":"400","--font-weight-medium":"500","--font-weight-semibold":"600","--font-weight-bold":"700","--font-text-xs-size":"0.75rem","--font-text-sm-size":"0.875rem","--font-text-md-size":"1rem","--font-text-lg-size":"1.125rem","--font-heading-xs-size":"1rem","--font-heading-sm-size":"1.125rem","--font-heading-md-size":"1.25rem","--font-heading-lg-size":"1.5rem","--font-heading-xl-size":"1.875rem","--font-heading-2xl-size":"2.25rem","--font-heading-3xl-size":"3rem","--font-text-xs-line-height":"1rem","--font-text-sm-line-height":"1.25rem","--font-text-md-line-height":"1.5rem","--font-text-lg-line-height":"1.75rem","--font-heading-xs-line-height":"1.5rem","--font-heading-sm-line-height":"1.75rem","--font-heading-md-line-height":"1.75rem","--font-heading-lg-line-height":"2rem","--font-heading-xl-line-height":"2.25rem","--font-heading-2xl-line-height":"2.5rem","--font-heading-3xl-line-height":"3.5rem","--border-radius-xs":"2px","--border-radius-sm":"4px","--border-radius-md":"8px","--border-radius-lg":"12px","--border-radius-xl":"16px","--border-radius-full":"9999px","--border-width-regular":"1px","--shadow-hairline":"0 0 0 1px rgba(0, 0, 0, 0.05)","--shadow-sm":"0 1px 2px 0 rgba(0, 0, 0, 0.05)","--shadow-md":"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)","--shadow-lg":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"},css:{fonts:`
1873
+ @font-face {
1874
+ font-family: 'Cash Sans';
1875
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Light.woff2) format('woff2'),
1876
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Light.woff) format('woff');
1877
+ font-weight: 300;
1878
+ font-style: normal;
1879
+ }
1880
+ @font-face {
1881
+ font-family: 'Cash Sans';
1882
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Regular.woff2) format('woff2'),
1883
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Regular.woff) format('woff');
1884
+ font-weight: 400;
1885
+ font-style: normal;
1886
+ }
1887
+ @font-face {
1888
+ font-family: 'Cash Sans';
1889
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Medium.woff2) format('woff2'),
1890
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Medium.woff) format('woff');
1891
+ font-weight: 500;
1892
+ font-style: normal;
1893
+ }
1894
+ @font-face {
1895
+ font-family: 'Cash Sans';
1896
+ src: url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff2/CashSans-Bold.woff2) format('woff2'),
1897
+ url(https://cash-f.squarecdn.com/static/fonts/cashsans/woff/CashSans-Bold.woff) format('woff');
1898
+ font-weight: 700;
1899
+ font-style: normal;
1900
+ }
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"],verifiedAt:17943552e5,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:17943552e5,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:"firstPageOnly",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.29.9"}},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:1794528e6,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:!1,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:17943552e5,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.1103.60933"}},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:!1,sandboxPermissions:!1,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:1794528e6,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:17943552e5,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:"ms-copilot",platform:"desktop",deviceCapabilities:{touch:!1,hover:!0},safeAreaInsets:{top:0,right:0,bottom:0,left:0}},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:{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:17944416e5,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"],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.143.1"}},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'","local-network-access":"'src'","clipboard-read":"'src'"},browserStorage:{localStorage:!0,sessionStorage:!0,indexedDB:!0},sameOriginAppIframe:!0},mcpAppsOverrides:{safeAreaInsets:!1,availableDisplayModes:["inline"],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:17943552e5,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.0"}},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:!1,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:!1,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 mp(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 fp(e,t){const o=Ya(t.mcpProfile);if((o?.toolResultAuthChallenge??Qa.toolResultAuthChallenge)!=="passthrough")return[];const r=e.filter(s=>Xa(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 bp(e,t,o){return e.map(r=>{const s=Object.hasOwn(o.hostsById,r.hostId)?o.hostsById[r.hostId]:void 0,a=fp(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:Sa(a,r.lanes.server.provenance)}}}:{}}})}function _a(e){return JSON.parse(JSON.stringify(e))}function Ta(e){if(e!==null&&typeof e=="object"){Object.isFrozen(e)||Object.freeze(e);for(const t of Object.keys(e))Ta(e[t])}return e}var ur=null;function Ia(){return ur??=Ta(Aa(_a(hp))),ur}function Aa(e){return{hostsById:Object.fromEntries(Object.entries(e.hostsById).map(([t,o])=>[t,Eo(o)]))}}function Eo(e){const t=mp(e)??e.imageSupport;return{...e,...t?{imageSupport:t}:void 0}}function vp(e,t){return Ra(e,t)?.mcpProfile?.apps?.mcpAppsOverrides}function Ra(e,t){const o=Object.hasOwn(e.hostsById,t)?e.hostsById[t]:void 0;return o?Eo(o):void 0}function dg(e,t){const o=Ra(e,t);if(o)return _a(xp(o))}function pg(e){return Object.values(e.hostsById).map(Eo)}function xp(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 yp(e){return e?.mcpProfile?.apps?.compatRuntime?.openaiApps===!0}function wp(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 Ma(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 Pa(e){return Object.entries(e.hostsById).map(([t,o])=>{const r=yp(o),s=o.rendersMcpApps||r,a=vp(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:wp(o),imageSupport:o.imageSupport}}).map(Ma)}var gr=null;function kp(){return gr??=Pa(Ia()),gr.map(Ma)}function ug(e,t){const{catalog:o,...r}=t??{},s=o?Pa(o):kp(),a=gp(e,s,r),n=(e?.tools??[]).map(l=>{const h=e?.toolsMetadata?.[l.name];return h?{...l,_meta:h}:l});return{...a,reports:bp(a.reports,n,o??Ia())}}var hr=["inline","fullscreen","pip"],Cp=to(e=>Array.isArray(e)?e.filter(t=>hr.includes(t)):e,k(q(hr)).optional()),Sp=p({availableDisplayModes:Cp,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)}),jt=p({model:y(),ui:y()}),_p=p({toolImageContent:jt,embeddedResourceImages:jt,resourceLinkImages:jt,placement:q(["none","collapsed","inline"]).catch("none")}),Tp=p({status:q(["supported","unsupported","limited"]),mcpAppsEquivalent:i().optional(),note:i().optional()}),ye=_(i(),Tp),Ip=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())})}),Ap=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:_p.optional(),compatibilityEvidence:Ip.optional(),styleVariablesByTheme:p({light:_(i(),i()).optional(),dark:_(i(),i()).optional()}).optional()}),Rp=p({profileVersion:S().optional(),apps:p({mcpAppsOverrides:Sp.optional()}).passthrough().optional()}).passthrough(),Mp=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:Rp.optional(),serverConnectionOverrides:_(i(),p({headersOverride:_(i(),i()).optional(),requestTimeoutOverride:S().optional(),mcpProtocolVersionOverride:i().optional()})).optional()}),Pp=oo(Ap,Mp),Ep=p({hostsById:_(i(),Pp)}),Dp=p({schemaVersion:u(2),version:S(),contentHash:i(),publishedAt:S(),catalog:Ep,source:i().optional()}),Ea="https://app.mcpjam.com",Da=`${Ea}/api/v1`,gg=Object.freeze({apiUrl:Da,baseUrl:Ea}),Lp=Da,hg=`mcpjam-sdk/${sn()}`;function Up(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 mg(e){const t=(e?.baseUrl??Lp).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=Dp.safeParse(l);return h.success?{ok:!0,catalog:Aa(h.data.catalog),version:h.data.version,contentHash:h.data.contentHash,publishedAt:h.data.publishedAt,source:h.data.source??"live"}:(Up(l),{ok:!1,reason:"invalid"})}catch{return{ok:!1,reason:s.signal.aborted?"timeout":"network"}}finally{clearTimeout(a)}}var zp=[{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 Op(e){const t=new Set;for(const{key:o,patterns:r}of zp)r.some(s=>s.test(e))&&t.add(o);return t}function Fp(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 Np(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 jp(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 qp(e){if(typeof e.text=="string")return e.text;if(typeof e.blob=="string")try{return atob(e.blob)}catch{return""}return""}async function fg(e,t){if(!e?.tools)return;const o=new Map;for(const n of e.tools){const l=jp(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([...Op(qp(h)),...Fp(h._meta)]);a(Np(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=Id,xt=Ad,Vp=Rd,Q=Be,Hp=Pd,Bp=Md,$p={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"},Wp={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:Bp},slack:{mcpAppsCapabilities:$p},gemini:{mcpAppsCapabilities:Wp},cursor:{mcpAppsCapabilities:Vp,hostCapabilitiesAugment:{serverTools:{listChanged:!1},serverResources:{listChanged:!1}}},"copilot-cli":{mcpAppsCapabilities:Q},"cursor-cli":{mcpAppsCapabilities:Q},"codex-cli":{mcpAppsCapabilities:Q},opencode:{mcpAppsCapabilities:Q},copilot:{mcpAppsCapabilities:Hp},codex:{mcpAppsCapabilities:{...Ne,serverResources:!1,logging:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0}},hostCapabilitiesReplacement:ze},vscode:{mcpAppsCapabilities:Ed,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}},La={};function eo(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 Gp(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 Yp(e,t){const o=t(e.hostStyle)?.mcpAppsCapabilities,r=e.profile?.apps?.mcpAppsOverrides;return Gp(o??(r!==void 0?Q:Ne),r)}function bg(e,t){if(e.profile?.apps?.mcpAppsOverrides!==void 0){const r=Yp({profile:e.profile,hostStyle:e.hostStyle},t),s=t(e.hostStyle);return eo(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?eo(o.mcpAppsCapabilities,o.hostCapabilitiesAugment,o.hostCapabilitiesReplacement):La}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},Kp={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},Ua={...ct,notifyIntrinsicHeight:!1,setOpenInAppUrl:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1},za="/chatgpt_desktop_logo.png",Jp="/muse_logo.png",Zp="/grokbot_logo.png",mr="/opencode-logo-light.svg",Qp="/opencode-logo-dark.svg",Xp={id:"claude-code-desktop",mcp:{protocolOverride:U.MCP_APPS,platform:Pt,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:Or,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:Mo}},eu={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:zr,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:Mo}},tu={id:"chatgpt-desktop",mcp:{protocolOverride:U.OPENAI_SDK,platform:"desktop",fontCss:"",...z["chatgpt-desktop"],resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:Ua}},chatUi:{label:"ChatGPT Desktop",shortLabel:"ChatGPT Desktop-style host",pickerDescription:"ChatGPT desktop app chrome",logoSrc:za,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Et}},ou={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:Fr,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Et}},ru={id:"chatgpt-work-desktop",mcp:{protocolOverride:U.OPENAI_SDK,platform:"desktop",fontCss:"",...z["chatgpt-work-desktop"],resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:Ua}},chatUi:{label:"ChatGPT Work Desktop",shortLabel:"ChatGPT Work Desktop-style host",pickerDescription:"ChatGPT work mode in the desktop app",logoSrc:za,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Et}},su={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:jr,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Dt}},au={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:mr,logoSrcByTheme:{light:mr,dark:Qp},family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},nu={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:Jp,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},iu={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:Zp,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},vg={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)]"},xg={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)]"},lu={id:"claude",mcp:{protocolOverride:U.MCP_APPS,platform:Pt,fontCss:"",...z.claude,resolveStyleVariables:st},chatUi:{label:"Claude",shortLabel:"Claude-style host",pickerDescription:"Claude-style swarm chrome",logoSrc:zr,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:va}},cu={id:"claude-desktop",mcp:{protocolOverride:U.MCP_APPS,platform:Pt,fontCss:"",...z["claude-desktop"],resolveStyleVariables:st},chatUi:{label:"Claude Desktop",shortLabel:"Claude Desktop-style host",pickerDescription:"Claude desktop app chrome",logoSrc:Or,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:va}},du={id:"claude-code",mcp:{protocolOverride:U.MCP_APPS,platform:Pt,fontCss:"",...z["claude-code"],resolveStyleVariables:st},chatUi:{label:"Claude Code",shortLabel:"Claude Code-style host",pickerDescription:"Anthropic Claude Code CLI chrome",logoSrc:Ln,family:"claude",resolveChatBackground:e=>at[e],loadingIndicator:Mo}},pu={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:Fr,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Et}},uu={id:"mistral",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z.mistral,resolveStyleVariables:jd},chatUi:{label:"Mistral",shortLabel:"Mistral-style host",pickerDescription:"Mistral web host",logoSrc:Un,family:"chatgpt",resolveChatBackground:e=>qd[e],loadingIndicator:ap}},gu={id:"goose",mcp:{protocolOverride:U.MCP_APPS,platform:da,fontCss:ga,...z.goose,resolveStyleVariables:Vd},chatUi:{label:"Goose",shortLabel:"Goose-style host",pickerDescription:"Goose Desktop host",logoSrc:No,logoSrcByTheme:{light:No,dark:zn},family:"chatgpt",resolveChatBackground:e=>Hd[e],loadingIndicator:Qd}},hu={id:"slack",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:fa,...z.slack,resolveStyleVariables:Bd},chatUi:{label:"Slackbot",shortLabel:"Slackbot-style host",pickerDescription:"Slackbot MCP host",logoSrc:$n,family:"chatgpt",resolveChatBackground:e=>$d[e],loadingIndicator:Dt}},mu={id:"cursor",mcp:{protocolOverride:U.MCP_APPS,platform:sa,fontCss:"",...z.cursor,resolveStyleVariables:na},chatUi:{label:"Cursor",shortLabel:"Cursor-style host",pickerDescription:"Cursor IDE chat panel chrome",logoSrc:Nr,family:"chatgpt",resolveChatBackground:e=>aa[e],loadingIndicator:Po}},fu={id:"cursor-cli",mcp:{protocolOverride:U.MCP_APPS,platform:sa,fontCss:"",...z["cursor-cli"],resolveStyleVariables:na},chatUi:{label:"Cursor CLI",shortLabel:"Cursor CLI-style host",pickerDescription:"Cursor coding CLI chrome",logoSrc:Nr,family:"chatgpt",resolveChatBackground:e=>aa[e],loadingIndicator:Po}},fr={id:"copilot",mcp:{protocolOverride:U.OPENAI_SDK,platform:"web",fontCss:"",...z.copilot,resolveStyleVariables:ue,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:Kp}},chatUi:{label:"Copilot",shortLabel:"Copilot-style host",pickerDescription:"Microsoft 365 Copilot chrome",logoSrc:On,family:"chatgpt",resolveChatBackground:e=>e==="dark"?"rgba(48, 48, 48, 1)":_e.light,loadingIndicator:Xd}},bu={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:jr,family:"chatgpt",resolveChatBackground:e=>_e[e],loadingIndicator:Dt}},vu={id:"vscode",mcp:{protocolOverride:U.MCP_APPS,platform:Fd,fontCss:"",...z.vscode,resolveStyleVariables:Od},chatUi:{label:"VS Code",shortLabel:"VS Code-style host",pickerDescription:"Visual Studio Code chat panel chrome",logoSrc:Nn,family:"chatgpt",resolveChatBackground:e=>Nd[e],loadingIndicator:Po}},xu={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:jn,family:"claude",resolveChatBackground:e=>de[e],loadingIndicator:Dt}},yu={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:qn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:ep}},wu={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:Gn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:lt}},ku={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:Vn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:op}},Cu={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:qo,logoSrcByTheme:{light:qo,dark:Hn},family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:rp}},Su={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:Bn,family:"chatgpt",resolveChatBackground:e=>de[e],loadingIndicator:sp}},Oa={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:Wn,family:"claude",resolveChatBackground:e=>de[e],loadingIndicator:lt}},_u=[Oa,lu,pu,tu,ou,ru,uu,gu,hu,mu,fu,{id:"copilot-cli",mcp:{protocolOverride:U.MCP_APPS,platform:"web",fontCss:"",...z["copilot-cli"],resolveStyleVariables:ue},chatUi:{...fr.chatUi,label:"GitHub Copilot CLI",shortLabel:"GitHub Copilot CLI",pickerDescription:"GitHub Copilot CLI in a hosted sandbox",logoSrc:jo,logoSrcByTheme:{light:jo,dark:Fn}}},fr,bu,su,au,du,Xp,eu,cu,vu,xu,yu,wu,ku,Cu,Su,nu,iu],Tu="#F2735B",Iu={1:[0],2:[0,150],3:[0,150,300]};function Au({def:e,className:t}){if(e.kind==="dots"){const r=e.color??Tu,s=e.count===1||e.count===2||e.count===3?e.count:3,a=Iu[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 Lt=new Map;for(const e of _u)Lt.set(e.id,e);var Ru=Oa;function Do(e){if(e)return Lt.get(e)}function Mu(e){return Do(e)??Ru}function yg(e){const t=Do(e);return t?eo(t.mcp.mcpAppsCapabilities,t.mcp.hostCapabilitiesAugment,t.mcp.hostCapabilitiesReplacement):La}function wg(e){const t=Do(e)?.mcp.compatRuntime;return t?.openaiApps?{injected:!0,capabilities:t.openaiAppsCapabilities??ct}:{injected:!1}}function kg(e,t){return Ue({hostStyle:e,chatUiOverride:t}).chatUi.loadingIndicator}function Cg(e){return typeof e=="string"&&Lt.has(e)}function Pu(){return Array.from(Lt.values())}function Ue(e){const t=Mu(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?Eu(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 Eu(e){function t({className:o}){return(0,v.createElement)(Au,{def:e,className:o})}return t.displayName=`CustomHostIndicator(${e.kind})`,t}function Sg(e){if(typeof e!="string")return null;const t=e.trim();return t.length>0?t:null}function _g(e,t){return Ue({hostStyle:e,chatUiOverride:t}).chatUi.label}function Du(e,t,o){return Lu(Ue({hostStyle:e,chatUiOverride:t}).chatUi,o)}function Lu(e,t){return t?e.logoSrcByTheme?.[t]??e.logoSrc:e.logoSrc}function Uu(e){const t=e.trim().toLowerCase().replace(/\s+/g,"");if(!t)return null;for(const o of Pu()){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 Tg(e,t){const o=Uu(e);return o?Du(o,void 0,t):null}function Ig(e,t){return e?Ue({hostStyle:e,chatUiOverride:t}).chatUi.family:null}function Ag(e,t,o){if(e)return Ue({hostStyle:e,chatUiOverride:o}).chatUi.resolveChatBackground(t)}function Rg(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 zu=v.createContext(null);zu.displayName="DataRouter";var Ou=v.createContext(null);Ou.displayName="DataRouterState";var Fu=v.createContext(null);Fu.displayName="DataRouterData";var Nu=v.createContext(null);Nu.displayName="DataRouterNavigation";var ju=v.createContext(!1);function Mg(){return v.useContext(ju)}var qu=v.createContext({isTransitioning:!1});qu.displayName="ViewTransition";var Vu=v.createContext(null);Vu.displayName="Fetchers";var Hu=v.createContext(null);Hu.displayName="Await";var Fa=v.createContext(null);Fa.displayName="Navigation";var me=v.createContext(null);me.displayName="Location";var Bu=v.createContext({outlet:null,matches:[],isDataRoute:!1});Bu.displayName="Route";var $u=v.createContext(!1);$u.displayName="IsDataRoute";var Wu=v.createContext(void 0);Wu.displayName="RouteId";var Gu=v.createContext(null);Gu.displayName="RouteError";var Na=null;function ja(){return Na}function Pg(e){Na=e}var qa=[{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 Lo(){return qa}var Yu=new Map(Lo().map(e=>[e.id,e]));function Eg(e){return typeof e=="string"&&Yu.has(e)}var Ku=new Map(Lo().flatMap(e=>e.navSegments.map(t=>[t,e])));function Dg(e){return Ku.get(e)}function Ju(){const e=new Set;for(const t of qa)for(const o of t.navSegments)e.add(o);return[...e]}function Zu(){const e=new Set;for(const t of Lo())if(t.hostedBlocked)for(const o of t.navSegments)e.add(o);return[...e]}var Qu={chat:"playground","app-builder":"playground","chat-v2":"playground",connect:"clients",hosts:"clients","user-testing":"scenarios","ci-evals":"evals"},Xu=Zu(),e1=new Set(Xu);function Ut(e){return Qu[e]??e}function Lg(e){return e1.has(Ut(e))}var t1=[{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 o1(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 r1(e){const t=(typeof e=="string"?e.split(/[?#]/)[0]:"").split("/").filter(Boolean);let o=null,r=null;for(const s of t1){if(s.path==="*")continue;const a=o1(s.path,t);if(a==="exact")return s;a==="param"&&!o&&(o=s),a==="splat"&&!r&&(r=s)}return o??r}function s1(e){return r1(e)?.scope??null}function a1(e){return s1(e)==="project"}function n1(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 Ug(e){return e?`${I.servers}/${encodeURIComponent(e)}`:I.servers}function zg(e){return e?`${I.servers}/plugins/${encodeURIComponent(e)}`:I.servers}function Og(e){return e?`${I.environments}/${encodeURIComponent(e)}`:I.environments}function Fg(e){return e?`${I.hosts}/${encodeURIComponent(e)}`:I.hosts}function Ng(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 jg=`${I.userTesting}/new`,i1=new Set(["sessions","insights","findings"]);function qg(e){return e===0?"insights":"findings"}function Vg(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 Hg(e){return`${I.userTesting}/${encodeURIComponent(e)}/edit`}function Bg(e){const t=new URLSearchParams(e).get("tab");return t==="edit"||t==="share"||t==="preview"}function $g(e,t="findings"){const o=new URLSearchParams(e),r=o.get("tab");return r==="clusters"?"insights":r&&i1.has(r)?r:o.get("session")?"sessions":t}var Wg=`${I.swarms}/new`;function Gg(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 Yg(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 Kg(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 Zg(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 l1(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 Qg(e){return c1(I.evaluate,e)}function Xg(e){return`${I.evaluate}?${new URLSearchParams({run:e})}`}function eh(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 th(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 c1(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 d1(){const e=ja()?.state?.location?.pathname;return e||Ke()}function Va(e,t){if(typeof e!="string"||!e||e.startsWith("?")||e.startsWith("#")||!xr(e)||Vt(e))return e;const o=Vt(t??d1());if(!o)return e;const r=e.split(/[?#]/)[0];return a1(r)?De(o.projectId,e):e}function p1(e,t){const o=t?.unscoped?e:Va(e),r=ja();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 oh(){const e=(0,v.useContext)(Fa),t=(0,v.useContext)(me),o=e?.navigator,r=t?.location.pathname;return(0,v.useCallback)((s,a)=>{const n=a?.unscoped?s:Va(s,r);if(o){a?.replace?o.replace(n,a.state):o.push(n,a?.state);return}p1(n,a)},[o,r])}function rh(){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]),h1(e?.location.pathname??t)}function sh(){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 ah(){const e=(0,v.useContext)(me),[t,o]=(0,v.useState)(br);(0,v.useLayoutEffect)(()=>{if(e||typeof window>"u")return;const s=()=>o(br());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 nh(){const e=(0,v.useContext)(me);return e?e.location.state:typeof window>"u"?void 0:window.history.state}function br(){return typeof window>"u"?{pathname:"/",search:"",hash:""}:{pathname:window.location.pathname||"/",search:window.location.search||"",hash:window.location.hash||""}}var dt=new Set(Ju());function ih(e){return dt.has(e)}function lh(){return[...dt]}function u1(e){return e==="/billing"||e==="/billing/"||e==="/callback"||e==="/callback/"||e.startsWith("/oauth/callback")}function ch(e){return e==="/oauth/callback/debug"||e.startsWith("/oauth/callback/debug/")}function dh(e,t){const o=`${I.conformanceRuns}/${encodeURIComponent(e)}`;return t?De(t,o):o}function ph(e){return`${I.conformance}?${new URLSearchParams({run:e})}`}var g1="setup";function uh(){return`${I.conformance}?${g1}=1`}function gh(e){return`${I.conformanceShared}/${encodeURIComponent(e)}`}function hh(e){return`${I.evalsShared}/${encodeURIComponent(e)}`}function h1(e){const t=wr(e);if(u1(t))return"servers";if(t.startsWith(`${I.capabilities}/`))return"host-compare";const o=t.replace(/^\/+/,"").split("/")[0]||"home",r=Ut(o);return dt.has(r)?r:"servers"}function Ke(){return typeof window>"u"?"/":window.location.pathname||"/"}function mh(){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=n1(e[2]);return{orgId:m1(t),orgSection:o}}function fh(e){const t=(0,v.useContext)(me),[o,r]=(0,v.useState)(vr);(0,v.useLayoutEffect)(()=>{if(t||typeof window>"u")return;const a=()=>r(vr());return window.addEventListener("popstate",a),()=>{window.removeEventListener("popstate",a)}},[t]);const s=t?.location.search??o;return new URLSearchParams(s).get(e)}function vr(){return typeof window>"u"?"":window.location.search||""}function m1(e){try{return decodeURIComponent(e)}catch{return e}}function Uo(e,t=I.servers){const o=Vt(e);if(o){const{suffix:d,path:f}=(()=>{const g=wr(e),b=g.search(/[?#]/);return b===-1?{path:g,suffix:""}:{path:g.slice(0,b),suffix:g.slice(b)}})(),c=Uo(`${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=Ut(l[0]||"servers");return dt.has(h)?`/${[h==="scenarios"?"user-testing":h,...l.slice(1)].join("/")}${n}`:t}function f1(e){const t=e.replace(/^#\/?/,"");if(!t)return null;const o=t.split(/[/?]/)[0]||"",r=Ut(o);return dt.has(r)?Uo(r===o?t:`${r}${t.slice(o.length)}`):null}function bh(){if(typeof window>"u")return;const e=window.location.pathname||"/";if(e!=="/"&&e!=="")return;const t=f1(window.location.hash);t&&window.history.replaceState({},"",t)}function vh(e,t=I.servers){const o=e?.trim()??"";return!o||!xr(o)?t:Uo(o,t)}function xh(){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 b1(e){return De(e,I.servers)}function yh(e){return De(e,I.projectSettings)}function wh(e,t){const o=(t??[]).filter(r=>r.organizationId===e).sort((r,s)=>s.updatedAt-r.updatedAt)[0];return o&&an(o._id)?b1(o._id):l1(e)}function kh({routeTab:e,routeOrganizationId:t,isLoadingOrganizations:o,hasRouteOrganization:r}){return e!=="organizations"||o?null:!t||!r?I.servers:null}export{r1 as $,Wn as $n,Ia as $t,eh as A,Y1 as An,_r as Ar,Ru as At,h1 as B,rr as Bn,pn as Br,vg as Bt,xh as C,Q1 as Cn,I1 as Cr,Ig as Ct,ih as D,fd as Dn,fn as Dr,Sg as Dt,ch as E,md as En,kn as Er,Rg as Et,bh as F,G1 as Fn,Sr as Fr,kg as Ft,oh as G,Kc as Gn,za as Gt,Va as H,V1 as Hn,mr as Ht,vh as I,H1 as In,gn as Ir,Cg as It,mh as J,Bi as Jn,Yp as Jt,ah as K,Xs as Kn,ct as Kt,Yg as L,B1 as Ln,Ct as Lr,Pu as Lt,lh as M,U as Mn,C1 as Mr,wg as Mt,p1 as N,pd as Nn,un as Nr,yg as Nt,Bg as O,J1 as On,Ir as Or,Tg as Ot,Uo as P,W1 as Pn,k1 as Pr,Mu as Pt,t1 as Q,Gn as Qn,kp as Qt,Jg as R,$1 as Rn,_1 as Rr,Ue as Rt,Vg as S,gd as Sn,Dr as Sr,Ag as St,kh as T,hd as Tn,B as Tr,Du as Tt,Wg as U,sd as Un,Zp as Ut,I as V,q1 as Vn,T1 as Vr,Qp as Vt,rh as W,ta as Wn,Jp as Wt,fh as X,_s as Xn,mg as Xt,sh as Y,$ as Yn,fg as Yt,jg as Z,Ui as Zn,Pa as Zt,b1 as _,rg as _n,Ln as _r,Gu as _t,gh as a,ig as an,qn as ar,Pg as at,Kg as b,Se as bn,R1 as br,Mg as bt,Xg as c,cg as cn,jr as cr,Fu as ct,l1 as d,va as dn,On as dr,Vu as dt,ug as en,$n as er,Lg as et,wh as f,Yd as fn,Nr as fr,$u as ft,yh as g,ir as gn,Fr as gr,Bu as gt,Ug as h,Xt as hn,Un as hr,ju as ht,uh as i,lt as in,Vn as ir,ja as it,f1 as j,K1 as jn,Tr as jr,Do as jt,th as k,Z1 as kn,bn as kr,Uu as kt,Ng as l,lg as ln,jo as lr,Nu as lt,zg as m,ba as mn,zn as mr,Fa as mt,dh as n,pg as nn,qo as nr,Dg as nt,hh as o,ag as on,jn as or,Hu as ot,Og as p,Gd as pn,No as pr,me as pt,nh as q,rt as qn,bg as qt,ph as r,dg as rn,Hn as rr,Eg as rt,Qg as s,ng as sn,Nn as sr,zu as st,g1 as t,Ra as tn,Bn as tr,Ut as tt,Fg as u,it as un,Fn as ur,Ou as ut,Zg as v,sg as vn,Or as vr,Wu as vt,qg as w,X1 as wn,Cn as wr,_g as wt,Hg as x,ke as xn,A1 as xr,Lu as xt,Gg as y,L as yn,zr as yr,qu as yt,$g as z,dd as zn,S1 as zr,xg as zt};
1902
+
1903
+ //# sourceMappingURL=app-navigation-DR1HvySV.js.map