@mcpjam/inspector 3.23.0 → 3.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/client/assets/{app-bootstrap-LFJyqXyJ.js → app-bootstrap-CQqrl4C7.js} +261 -261
  2. package/dist/client/assets/{chunk-D32TOXHM-BUV_xiWV.js → chunk-D32TOXHM-DVfEl7a2.js} +5 -5
  3. package/dist/client/assets/{dead-clicks-autocapture-CxJBitTm.js → dead-clicks-autocapture-BMs5s_2R.js} +2 -2
  4. package/dist/client/assets/{error-reporting-DxIXZRUY.js → error-reporting-CblWFSJy.js} +3 -3
  5. package/dist/client/assets/{error-reporting-CVi5-krC.js → error-reporting-DOand_j6.js} +1 -1
  6. package/dist/client/assets/{exception-autocapture-Bg4q4N1V.js → exception-autocapture-CSwGNOGc.js} +2 -2
  7. package/dist/client/assets/{first-run-oauth-return-DwlOc8tB.js → first-run-oauth-return-BCNTs2GH.js} +2 -2
  8. package/dist/client/assets/{highlighted-body-KQOG7T2V-C7XGGDHW.js → highlighted-body-KQOG7T2V-CKM1-SzP.js} +2 -2
  9. package/dist/client/assets/{index-Bg3o2MnW.js → index-BOOlzn8y.js} +3 -3
  10. package/dist/client/assets/{jszip.min-Bvbvu43m.js → jszip.min-Cip-l759.js} +2 -2
  11. package/dist/client/assets/{mermaid-MCJ5UELQ-lcpM5A51.js → mermaid-MCJ5UELQ-Bb4-qZ6h.js} +1 -1
  12. package/dist/client/assets/{posthog-recorder-B6Kr_Wgg.js → posthog-recorder-D19wbsQ5.js} +2 -2
  13. package/dist/client/assets/{preload-helper-Ck6Mr4it.js → preload-helper-BerMOtKS.js} +2 -2
  14. package/dist/client/assets/{project-route-Cd8OyMXr.js → project-route-DPRRfvoQ.js} +2 -2
  15. package/dist/client/assets/{react-dom-SjTQD9U3.js → react-dom-Du9nuv92.js} +2 -2
  16. package/dist/client/assets/{rolldown-runtime-C03pXr1T.js → rolldown-runtime-Dhvrsp_z.js} +1 -1
  17. package/dist/client/assets/{surveys-D0hPG0xq.js → surveys-D_UpP5nz.js} +2 -2
  18. package/dist/client/assets/telemetry-files-f95e29335ba26785.js +1 -0
  19. package/dist/client/assets/{trace-timeline-boAVWttK.js → trace-timeline-B7Z76l-t.js} +1 -1
  20. package/dist/client/assets/{trace-timeline-CZ0d0iER.js → trace-timeline-Dy5i1YGh.js} +2 -2
  21. package/dist/client/assets/{use-reduced-motion-C6Vd_wvn.js → use-reduced-motion-DdBQj6R3.js} +2 -2
  22. package/dist/client/assets/{web-vitals-BmkdweHF.js → web-vitals-BEx8xJAE.js} +2 -2
  23. package/dist/client/index.html +8 -8
  24. package/dist/server/harness-install-cli.js +3 -3
  25. package/dist/server/index.js +5 -5
  26. package/package.json +1 -1
  27. package/dist/client/assets/telemetry-files-0bf75a54db264a5a.js +0 -1
@@ -1,4 +1,4 @@
1
- import{o as F5,t as Ki}from"./rolldown-runtime-C03pXr1T.js";import{$ as Y5,At as ke,D as X5,Et as xg,It as G,M as K5,Nt as Z5,O as Q5,Pt as qt,S as J5,T as Sg,W as W5,X as $5,Yt as eb,a as Ag,bt as W,c as Gu,kt as ca,n as Vn,o as tb,p as Tg,pt as Bn,q as ob,vt as Ft,w as Cg,wt as ab,zt as Nn}from"./project-route-Cd8OyMXr.js";import{M as We,a as lo,o as co,s as nb,t as rb,v as Qr}from"./use-reduced-motion-C6Vd_wvn.js";import{n as wg,t as sb}from"./react-dom-SjTQD9U3.js";import{i as ib}from"./preload-helper-Ck6Mr4it.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"3.23.0"};var i=new n.Error().stack;i&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[i]="42ecd0e8-058e-4e1a-aa17-8b79c552dc2e",n._sentryDebugIdIdentifier="sentry-dbid-42ecd0e8-058e-4e1a-aa17-8b79c552dc2e")}catch{}})();function i6(n,i,l,u,f){return{level:n,code:i,title:l.slice(0,160),description:u.slice(0,1e3),...f?{details:f}:{}}}var Fu={SIGN_IN_EXPIRED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",UNAUTHORIZED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",RESOURCE_DENIED:"The App asked for a file it wasn't given, or its access to that file has ended. Apps can only read and write the file they were opened with.",RESOURCE_INVALID:"The App's file request was malformed (for example a bad URI, both text and blob in one write, or invalid base64).",RESOURCE_NOT_TEXT:`This file isn't text. Request representation: "blob" or handle both text and blob.`,RESOURCE_OUTCOME_UNKNOWN:"The file write may or may not have been saved (the connection dropped mid-write). Read the file again before retrying.",RESOURCE_READ_REQUIRED:"MCPJam gave this App access to its file again (the server restarted, or its hold on the file lapsed), so this save was refused. The App's unsaved changes are still in the viewer: read the file again (resources/read), then save against the ETag it returns.",RESOURCE_TOO_LARGE:"The file is larger than the host allows for Apps.",RESOURCE_UNSUPPORTED:"This file source doesn't support that operation.",RESOURCE_WRITE_UNAVAILABLE:"This Computer can't save the file safely. Copy your changes, then reconnect the Computer before trying again.",PLUGIN_FILE_TARGETS_NOT_DECLARED:`This client lists no files for this server. Add them under the client's mcpProfile.extensions["mcpjam/plugin-file-targets"] (a root folder and each file's relative path).`,PLUGIN_LOCAL_FILES_NOT_CONFIGURED:"Opening local files is off on this MCPJam install. Set MCPJAM_PLUGIN_LOCAL_FILE_ROOTS to a JSON list of allowed folders, each {actorId, projectId, serverId, root}, then restart MCPJam.",PLUGIN_LOCAL_FILE_ROOTS_INVALID:"MCPJAM_PLUGIN_LOCAL_FILE_ROOTS isn't valid JSON. It must be a list of {actorId, projectId, serverId, root} entries.",PLUGIN_LOCAL_FILE_ROOT_NOT_ALLOWED:"This server's file folder isn't allowed for you. Add an entry with your actor ID, this project, this server and the folder to MCPJAM_PLUGIN_LOCAL_FILE_ROOTS, then restart MCPJam.",PLUGIN_FILES_COMPUTER_REQUIRED:"On the cloud, plugin files live on the project's Computer. Attach the Computer to this client and run the server there to open or save its files.",PLUGIN_COMPUTER_FILE_ROOT_INVALID:`On the Computer, file target roots must be absolute folders under /home/user. Fix the root in the client's "mcpjam/plugin-file-targets".`,PLUGIN_FILES_REMOTE_SERVER:"This server runs remotely over HTTP, so it shares no disk with MCPJam or your Computer. Its local file paths can't be opened or saved here.",PLUGIN_COMPUTER_UNAVAILABLE:"The project's Computer is asleep or unreachable, so its files can't be opened or saved right now. Send a message in chat to wake it, then try again.",PLUGIN_FILE_READ_ONLY:`This file is read-only. Only files listed in the client's "mcpjam/plugin-file-targets" (in an allowed local folder, or on the project's Computer on the cloud) can be saved.`,PLUGIN_LOCAL_FILE_NOT_LISTED:`That path isn't one of the files listed for this server in the client's "mcpjam/plugin-file-targets".`,INSTANCE_UNAVAILABLE:"This App session has ended (it was closed, expired or the server restarted). Reopen the App.",INSTANCE_DENIED:"This App isn't allowed to do that here. It may belong to another chat, client or user, or the request doesn't match how the App was opened.",INSTANCE_LIMIT:"Too many Apps are open. Close some Apps and try again.",INSTANCE_STORE_UNAVAILABLE:"Apps can't be opened because the App session store isn't available on this MCPJam server.",INSTANCE_RENEWAL_UNAVAILABLE:"This MCPJam server can't extend App sessions yet. The App keeps working until its session expires; reopen it afterwards.",INSTANCE_HOST_CHANGED:"The client's settings changed after this App opened. Reopen the App to use the new settings.",INSTANCE_SERVER_CHANGED:"The server's saved setup changed after this App opened. Reopen the App.",INSTANCE_CONNECTION_CHANGED:"The server's connection or credentials changed after this App opened. Reopen the App.",INSTANCE_TOOL_UNAVAILABLE:"The server no longer lists the tool this App needs.",INSTANCE_UI_UNAVAILABLE:"The server didn't return a usable App UI (missing ui:// resource, wrong MIME type, or larger than 5 MB).",INSTANCE_CONTEXT_UNAVAILABLE:"Model context isn't available for this App (the client has it turned off, or the App has closed).",INSTANCE_CONTEXT_SEQUENCE_DENIED:"A model-context update arrived out of order and was ignored. Send updates one at a time.",INSTANCE_CONTEXT_REMOVAL_INVALID:"That context removal didn't match this App's current context, so nothing was removed. Remove it again from the composer.",INSTANCE_CONTEXT_TOO_LARGE:"The App's context is too large to keep, so its last accepted context stays. Send less context.",INVALID_INSTANCE_CONTEXT:"MCPJam couldn't store the App's context, so its last accepted context stays. Send less context and try again.",INSTANCE_CONTEXT_RATE_LIMITED:"The App updated its context too often, so this update wasn't kept and its last accepted context stays. Send updates less often.",PLUGIN_CONTEXT_TOO_LARGE:"This context update is over this client's App context budget (its modelContextPolicy), so the App's last accepted context stays. Send less context.",PLUGIN_CONTEXT_TURN_TOO_LARGE:"The Apps in this chat hold more context than this client's modelContextPolicy sends in one turn. Remove an App's context from the composer, then send again.",PLUGIN_CONTEXT_MEMORY_LIMIT:"MCPJam is holding as much App context for you as it can, so this update wasn't kept. Close Apps you no longer need or remove their context, then try again.",INSTANCE_CONTEXT_HELD:"You removed this App's context from the chat, so context the App sends on its own isn't attached. Use the App (for example its attach button) to attach it again.",INSTANCE_MESSAGE_UNAVAILABLE:"This App can't send chat messages (the client has messages turned off).",INSTANCE_REQUEST_BUSY:"The App is already running another request. Wait for it to finish.",ACTIVATION_SCHEMA_INVALID:"The entrypoint tool's input schema doesn't accept the arguments the host must send to open it.",PLUGIN_ENTRYPOINT_UNOPENABLE:"This client can't open an entry point whose tool name has two underscores or two dots in a row, or a dot next to an underscore. Rename the tool.",ACTIVATION_BINDING_CHANGED:"This App was opened with different settings before. Close it and open it again.",INVOCATION_OUTCOME_UNKNOWN:"MCPJam couldn't confirm the tool call's outcome. It may have run, so it won't be retried automatically. Check the server before trying again.",INVOCATION_DENIED:"The tool call isn't allowed for this App.",INVOCATION_ID_REUSED:"The App reused a request ID for a different tool call.",INVOCATION_LIMIT:"This App made too many tool calls in its session. Reopen the App.",INVOCATION_FAILED:"The tool call failed before it reached the server.",INVOCATION_RESULT_EXPIRED:"This tool call already ran, but its result is no longer held in memory, so it can't be returned again. The call is not repeated.",TOOL_CALL_FAILED:"The server returned an error for this tool call. See the server's message for details.",APPROVAL_DENIED:"The tool call wasn't approved.",APPROVAL_UNAVAILABLE:"Tool approval isn't available right now.",AUTHORIZATION_CHANGED:"Access changed while the tool call was running, so it was stopped.",TOOL_VISIBILITY_DENIED:`This tool isn't visible to Apps. Add "app" to its _meta.ui.visibility.`,TOOL_POLICY_DENIED:"The client's tool policy blocks this tool.",TOOL_MENTION_DECLARATION_DENIED:`This tool isn't declared as a mention search tool (_meta["openai/extensions"]["mentions/search"]).`,PLUGIN_EXTENSION_DISABLED:"This client has that OpenAI plugin extension turned off. Turn it on in the client's Apps settings (OpenAI plugin extensions).",PLUGIN_WORKSPACE_DENIED:"Plugin extensions aren't available for this project or account.",PLUGIN_WORKSPACE_CANCELLED:"The request was cancelled.",PLUGIN_WORKSPACE_UNREACHABLE:"MCPJam couldn't reach its backend to check plugin access (a network problem or timeout). Check your connection and try again.",PLUGIN_WORKSPACE_SIGN_IN_EXPIRED:"Your sign-in lapsed while MCPJam was checking plugin access. Retry once your session reconnects, or sign in again.",PLUGIN_INSTANCE_CANCELLED:"The request was cancelled.",INVALID_PLUGIN_INSTANCE_REQUEST:"The request was malformed.",PLUGIN_DEEP_LINK_INVALID:"This isn't a valid plugin link. Plugin links look like chatgpt://plugins/<plugin>/app/<tool>?path=/page (the path must start with / and have no #fragment).",PLUGIN_DEEP_LINK_SCHEME_UNSUPPORTED:"This client doesn't open links with that scheme. The Codex client uses codex://; the ChatGPT client uses chatgpt:// or https://chatgpt.com.",PLUGIN_DEEP_LINK_PLUGIN_UNKNOWN:"No enabled plugin or server matches the link's plugin ID. Use the plugin's manifest name, its installation ID, or server-<saved server ID> for a plain server.",PLUGIN_DEEP_LINK_MARKETPLACE_MISMATCH:"The link's @marketplace doesn't match the marketplace this plugin was installed from.",PLUGIN_DEEP_LINK_AMBIGUOUS:"More than one installed plugin matches this link. Add @<marketplace> to the plugin ID, or use the installation ID.",PLUGIN_DEEP_LINK_TOOL_UNAVAILABLE:"The plugin has no global App entrypoint with the link's tool name.",PLUGIN_DEEP_LINK_NAMESPACE_UNAVAILABLE:"Deep links can only open a plugin's global App.",PLUGIN_FORM_UNSUPPORTED:"This form uses a schema feature the client doesn't support.",PLUGIN_FORM_UNAVAILABLE:"The form couldn't be loaded.",PLUGIN_FORM_SCHEMA_MISSING:`This form keeps its fields in _meta["openai/elicitation"].requestedSchema, but that schema is missing or isn't an object schema, so MCPJam refused the form rather than show it empty. Send the full form schema there (OpenAI's requestFormInput does).`,PLUGIN_FORM_TOO_LARGE:"The form is too large (too many fields, options or bytes).",PLUGIN_FORM_PATTERN_UNSUPPORTED:"A field's pattern isn't a supported regular expression.",PLUGIN_FORM_WEB_UPLOAD_UNSUPPORTED:"Forms opened from an App can only ask for file uploads when the client's File resources extension is on. Turn it on in the client's plugin extensions, or remove upload options.",PLUGIN_FORM_RESOURCE_SERVICE_UNAVAILABLE:"This form asks for file or folder uploads, which this MCPJam server can't provide (configure a local folder, or use a local install).",PLUGIN_FORM_PREVIEW_SERVICE_UNAVAILABLE:"This client can't render that kind of preview.",PLUGIN_FORM_PREVIEW_INVALID:`An option's _meta["openai/preview"] has no valid target.`,PLUGIN_FORMS_DISABLED:"This client has Forms turned off, so the form takes no answers or uploads. A form that was already open ends as cancelled when it's submitted, and its answer isn't sent to the server. Turn Forms on in the client's OpenAI plugin extensions to answer forms.",FORM_SOURCE_UNAVAILABLE:"This form has expired or was already answered.",FORM_PREVIEW_UNAVAILABLE:"That preview isn't available for this form.",PLUGIN_FORM_PREVIEW_TIMEOUT:"The preview didn't open within 30 seconds, so MCPJam stopped waiting. The form and its answers are unchanged. Try again; if it keeps happening, check that the server answers the preview's resource read or preview tool promptly.",PLUGIN_FORM_PREVIEW_FAILED:"The preview couldn't be opened. The form and its answers are unchanged; try again.",PLUGIN_FORM_SUBMIT_TIMEOUT:"MCPJam didn't confirm the answer within 30 seconds, so it stopped waiting. The answers are still in the form; send them again. A repeat of an answer that did arrive is ignored.",PLUGIN_FORM_SUBMIT_FAILED:"The answer couldn't be sent. The answers are still in the form; send them again.",PLUGIN_FORM_DESTINATION_TIMEOUT:"MCPJam couldn't confirm where this form's files would be uploaded within 30 seconds, so it stopped waiting. Nothing was uploaded and the request is still open. Retry, or cancel the request; if it keeps happening, check that the server is still connected and that you're still signed in.",PLUGIN_FORM_DESTINATION_FAILED:"MCPJam couldn't check where this form's files would be uploaded. Nothing was uploaded and the request is still open; retry, or cancel the request.",PLUGIN_SETTINGS_TOOL_UNAVAILABLE:"The server's openai/settings capability names a read or update tool that tools/list doesn't include.",PLUGIN_SETTINGS_OUTPUT_SCHEMA_REQUIRED:"Both settings tools must declare an outputSchema.",PLUGIN_SETTINGS_READ_ARGUMENTS_INVALID:"The settings read tool must accept an empty arguments object ({}).",PLUGIN_SETTINGS_UNSUPPORTED_SCHEMA:"A settings field uses an unsupported type. Settings support boolean, string (with optional enum), number and integer.",PLUGIN_SETTINGS_INVALID_RESULT:"The settings read tool returned a result that doesn't match its outputSchema, or a field has no value.",PLUGIN_SETTINGS_TOOL_SCHEMA_INVALID:"A settings tool's schema couldn't be parsed.",PLUGIN_SETTINGS_INVALID_CAPABILITY:"The server's openai/settings capability is malformed.",PLUGIN_SETTINGS_AMBIGUOUS_CAPABILITY:"The server declares openai/settings in more than one place with different values.",PLUGIN_SETTINGS_SAVE_FAILED:"The server couldn't save the settings.",PLUGIN_SETTINGS_SCHEMA_CHANGED:"The server's settings changed. Reload settings and try again.",PLUGIN_SETTINGS_REFRESH_REQUIRED:"Settings changed on the server. Reload settings.",PLUGIN_SETTINGS_READ_NOT_READ_ONLY:"The settings read tool should be marked read-only (annotations.readOnlyHint: true).",SETTINGS_UNAVAILABLE:"Settings aren't available for this server right now.",PLUGIN_MENTION_SEARCH_FAILED:"The server's mention search tool returned an error.",PLUGIN_MENTION_RESULT_TOO_LARGE:"The mention search result is too large.",PLUGIN_FILE_READ_TIMEOUT:"The file didn't load within 12 seconds, so MCPJam stopped waiting. Reload the file in the viewer (or reopen it) to try again. If it keeps happening, check that the server answers resources/read promptly, and close Apps you no longer need: each open file viewer keeps a connection to MCPJam.",PLUGIN_FILE_WATCH_TIMEOUT:"MCPJam couldn't start watching this file for changes within 12 seconds, so it stopped waiting. The file can still be read; changes made elsewhere won't refresh the viewer until it subscribes again or the file is reopened.",MODEL_APP_UNAVAILABLE:"This App from the chat is no longer available.",MODEL_FORM_UNAVAILABLE:"This form is no longer available, so your answer wasn't sent. Ask the model to run the tool again.",FORM_NOT_SAVED:"MCPJam couldn't save this form, so it wasn't shown and the tool call ended. Ask the model to run the tool again.",FORM_STORE_UNAVAILABLE:"MCPJam couldn't load this form's saved state, so nothing was sent. Try again in a moment.",CONTINUATION_EXPIRED:"This form expired before it was answered, so the tool call did not finish. Run it again.",CONTINUATION_FAILED:"This form is closed and cannot be submitted. Start the tool call again.",CONTINUATION_CANCELLED:"This form was cancelled, so the tool call did not finish.",CONTINUATION_CONNECTION_UNAVAILABLE:"The server disconnected before the answer could be sent. Reconnect and send it again.",CONTINUATION_DENIED:"This form answer doesn't match the server's current request.",CONTINUATION_PROTOCOL_DENIED:"The server's MCP version doesn't support this form request."},lb=[["PLUGIN_DEEP_LINK_","This plugin link couldn't be opened."],["PLUGIN_SETTINGS_","The server's settings couldn't be used."],["PLUGIN_FORM_","This form couldn't be shown."],["RESOURCE_","The App's file request couldn't be completed."],["INSTANCE_CONTEXT_","The App's model context couldn't be updated."],["INSTANCE_","This App session couldn't complete the request. Reopen the App."],["INVOCATION_","The tool call couldn't be completed."],["CONTINUATION_","The form answer couldn't be delivered to the server."]];function l6(n){if(typeof n=="string")return Object.hasOwn(Fu,n)?Fu[n]:lb.find(([i])=>n.startsWith(i))?.[1]}var cb={location:["host_workspace"],operation:["form_response","settings_save","app_message"],host_profile:["chatgpt","codex","unknown"],outcome:["success","failure","declined","cancelled"],deployment:["hosted","self_hosted"],source:["client"]},ub=["none","refused","other",...Object.keys(Fu)],B0="x-mcpjam-telemetry-policy",c6={extension_launch_completed:{location:["host_workspace"],launch_kind:["thread","global","file","quick-action","settings"],host_profile:["chatgpt","codex"],outcome:["success","failure"],failure_stage:["none","execution","rendering","timeout","unknown"],deployment:["hosted","self_hosted"],source:["client"]},extension_operation_completed:{...cb,error_code:ub},app_launched:{location:["app"],is_authenticated:"boolean",platform:["web","npm","docker","mac","win","electron"],deployment:["hosted","self_hosted"],launch_trigger:["immediate","grant","timeout","hidden"],policy_wait_ms:"count"},send_message:{location:["chat_tab","ui_playground"],multi_model_enabled:"boolean",multi_model_count:"count"},edit_message:{location:["chat_tab","ui_playground"]},execute_tool:{location:["parameters_panel","tools_sidebar"],as_task:"boolean"},eval_suite_run_started:{location:["ci_evals_tab"],num_test_cases:"count",num_tests:"count",num_models:"count",replay:"boolean"},conformance_run_triggered:{location:["conformance_tab","score_runner","compat_page","compat_detail_modal"],run_source:["ui"]},$pageview:{},$pageleave:{}},Br;function db(){if(Br)return Br;const n=I=>{let E;try{E=new URL(I,window.location.href)}catch{return!1}return E.origin===window.location.origin&&/^\/(tlm|relay)(\/|$)/.test(E.pathname)},i=eb,l=window.fetch,u=globalThis.fetch,f=(I,E)=>{const _=I instanceof Request?I.url:String(I);if(!n(_))return l.call(window,I,E);const D=new Headers(E?.headers??(I instanceof Request?I.headers:void 0));return D.set(B0,i()),l.call(window,I,{...E,headers:D})};window.fetch=f,globalThis.fetch=f;const p=XMLHttpRequest.prototype,A=p.open,T=p.send,M=p.setRequestHeader,w=new WeakMap;return p.open=function(I,E,_=!0,D,j){return w.set(this,n(String(E))),Reflect.apply(A,this,arguments)},p.setRequestHeader=function(I,E){if(!(w.get(this)&&I.toLowerCase()==="x-mcpjam-telemetry-policy"))return M.call(this,I,E)},p.send=function(I){return w.get(this)&&M.call(this,B0,i()),T.call(this,I)},Br=()=>{window.fetch=l,globalThis.fetch=u,p.open=A,p.send=T,p.setRequestHeader=M,Br=void 0},Br}db();var Zi="mcpjam_promo_intent",fb=18e5,Gt,pb=/^[a-z0-9-]{1,80}$/;function Qi(n){return typeof n=="string"&&pb.test(n)?n:null}function _g(n=window.location.search){return Qi(new URLSearchParams(n).get("campaign"))??"agntcon-2026"}function Yu(){Gt=null;try{return sessionStorage.removeItem(Zi),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function gb(n,i=Date.now(),l=_g()){Gt={code:n,storedAt:i,campaign:l};try{return sessionStorage.setItem(Zi,JSON.stringify(Gt)),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function hb(n=Date.now(),i=_g()){try{if(Gt===void 0){const l=JSON.parse(sessionStorage.getItem(Zi)??"null");l&&typeof l=="object"&&"code"in l&&"storedAt"in l&&typeof l.code=="string"&&l.code.length<=64&&typeof l.storedAt=="number"&&(Gt={code:l.code,storedAt:l.storedAt,campaign:"campaign"in l&&Qi(l.campaign)||"agntcon-2026"})}}catch{console.debug("Promo intent storage unavailable")}return!Gt||n<Gt.storedAt||n-Gt.storedAt>=fb?(Yu(),""):Gt.campaign===i?Gt.code:""}function Xu(n,i=!1){const l=new URLSearchParams;i&&l.set("manual","1"),n&&n!=="agntcon-2026"&&l.set("campaign",n);const u=l.toString();return u?`/redeem?${u}`:"/redeem"}function u6(n){const i=hb(Date.now(),n);let l=!1;try{l=sessionStorage.getItem(Zi)===JSON.stringify(Gt)}catch{console.debug("Promo intent storage unavailable")}return{promoReturn:!0,promoManualEntry:!i||!l,promoCampaign:n}}function d6(n){return n?.promoReturn!==!0?null:Xu(Qi(n.promoCampaign),n.promoManualEntry===!0)}function mb(){if(window.location.pathname.replace(/\/+$/,"")!=="/redeem")return;const n=new URL(window.location.href),i=Qi(n.searchParams.get("campaign"));if(n.searchParams.get("manual")==="1"){Yu()&&window.history.replaceState(window.history.state,"",Xu(i));return}const l=n.searchParams.get("code")??new URLSearchParams(n.hash.slice(1)).get("code");l!==null&&(l.length<=64?gb(l,Date.now(),i??"agntcon-2026"):Yu(),window.history.replaceState(window.history.state,"",Xu(i)))}function f6(){const n=()=>{mb(),window.dispatchEvent(new Event("promo-intent-changed"))};window.addEventListener("hashchange",n),window.addEventListener("popstate",n)}var Jr="oauth_pending";var bb="invalid_request",vb="The authorization response was no longer available after the page reloaded. Start the connection again.",Xt=null,H0=0;function Ku(){return H0+=1,`inbox:${H0}`}function td(n){return n==="/oauth/callback"||n.startsWith("/oauth/callback/")}function Eg(n){try{return new URLSearchParams(n).get(Jr)==="1"}catch{return!1}}function kg(n){return`${n}?${Jr}=1`}var yb=/token|secret|code|key|sig|cred|pass|state|session|auth|ticket|assertion/i,xb=/^[A-Za-z][\w-]{0,63}$/;function Sb(n){const i=n.startsWith("#")?n.slice(1):n;return i?i.includes("=")?i.split("&").every(l=>{const u=l.split("=",1)[0]??"";try{const f=decodeURIComponent(u);return f!==""&&!yb.test(f)}catch{return!1}}):xb.test(i):!1}function p6(){if(typeof window>"u")return!1;const{pathname:n,search:i,hash:l}=window.location;if(!td(n))return!1;const u=new URLSearchParams(i),f=u.get(Jr)==="1";if(u.delete(Jr),[...u.keys()].length>0)Xt={pathname:n,params:u.toString(),attempt:Ku()};else if(f){if(Xt?.pathname===n)return!0;Xt={attempt:Ku(),pathname:n,params:new URLSearchParams({error:bb,error_description:vb}).toString()}}else return!1;const p=l&&Sb(l)?l:"";try{history.replaceState(history.state,"",`${kg(n)}${p}`)}catch{}return!0}function g6(n,i="/oauth/callback"){const l=new URLSearchParams(n);return l.delete(Jr),Xt={pathname:i,params:l.toString(),attempt:Ku()},kg(i)}function Ji(){if(typeof window>"u")return null;const{pathname:n,search:i}=window.location;if(!td(n))return null;if(Eg(i))return Xt&&Xt.pathname===n?new URLSearchParams(Xt.params):null;const l=new URLSearchParams(i);return[...l.keys()].length>0?l:null}function Ab(){if(typeof window>"u")return null;const{pathname:n,search:i}=window.location;return td(n)?Eg(i)?Xt&&Xt.pathname===n?Xt.attempt:null:i&&i!=="?"?`url:${i}`:null:null}function h6(){const n=Ji();return!!(n&&(n.has("code")||n.has("error")))}function m6(n){if(n!==void 0&&n!==Ab())return null;const i=Ji();return Xt=null,i}var Tb=Ki((n=>{function i(z,Z){var Y=z.length;z.push(Z);e:for(;0<Y;){var Se=Y-1>>>1,we=z[Se];if(0<f(we,Z))z[Se]=Z,z[Y]=we,Y=Se;else break e}}function l(z){return z.length===0?null:z[0]}function u(z){if(z.length===0)return null;var Z=z[0],Y=z.pop();if(Y!==Z){z[0]=Y;e:for(var Se=0,we=z.length,pt=we>>>1;Se<pt;){var Do=2*(Se+1)-1,Gn=z[Do],uo=Do+1,Oo=z[uo];if(0>f(Gn,Y))uo<we&&0>f(Oo,Gn)?(z[Se]=Oo,z[uo]=Y,Se=uo):(z[Se]=Gn,z[Do]=Y,Se=Do);else if(uo<we&&0>f(Oo,Y))z[Se]=Oo,z[uo]=Y,Se=uo;else break e}}return Z}function f(z,Z){var Y=z.sortIndex-Z.sortIndex;return Y!==0?Y:z.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var A=Date,T=A.now();n.unstable_now=function(){return A.now()-T}}var M=[],w=[],I=1,E=null,_=3,D=!1,j=!1,ae=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,$e=typeof setImmediate<"u"?setImmediate:null;function Be(z){for(var Z=l(w);Z!==null;){if(Z.callback===null)u(w);else if(Z.startTime<=z)u(w),Z.sortIndex=Z.expirationTime,i(M,Z);else break;Z=l(w)}}function Zt(z){if(ae=!1,Be(z),!j)if(l(M)!==null)j=!0,ze||(ze=!0,et());else{var Z=l(w);Z!==null&&Ga(Zt,Z.startTime-z)}}var ze=!1,Ne=-1,F=5,Io=-1;function st(){return Q?!0:!(n.unstable_now()-Io<F)}function He(){if(Q=!1,ze){var z=n.unstable_now();Io=z;var Z=!0;try{e:{j=!1,ae&&(ae=!1,be(Ne),Ne=-1),D=!0;var Y=_;try{t:{for(Be(z),E=l(M);E!==null&&!(E.expirationTime>z&&st());){var Se=E.callback;if(typeof Se=="function"){E.callback=null,_=E.priorityLevel;var we=Se(E.expirationTime<=z);if(z=n.unstable_now(),typeof we=="function"){E.callback=we,Be(z),Z=!0;break t}E===l(M)&&u(M),Be(z)}else u(M);E=l(M)}if(E!==null)Z=!0;else{var pt=l(w);pt!==null&&Ga(Zt,pt.startTime-z),Z=!1}}break e}finally{E=null,_=Y,D=!1}Z=void 0}}finally{Z?et():ze=!1}}}var et;if(typeof $e=="function")et=function(){$e(He)};else if(typeof MessageChannel<"u"){var fa=new MessageChannel,qn=fa.port2;fa.port1.onmessage=He,et=function(){qn.postMessage(null)}}else et=function(){V(He,0)};function Ga(z,Z){Ne=V(function(){z(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<z?Math.floor(1e3/z):5},n.unstable_getCurrentPriorityLevel=function(){return _},n.unstable_next=function(z){switch(_){case 1:case 2:case 3:var Z=3;break;default:Z=_}var Y=_;_=Z;try{return z()}finally{_=Y}},n.unstable_requestPaint=function(){Q=!0},n.unstable_runWithPriority=function(z,Z){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var Y=_;_=z;try{return Z()}finally{_=Y}},n.unstable_scheduleCallback=function(z,Z,Y){var Se=n.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?Se+Y:Se):Y=Se,z){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=Y+we,z={id:I++,callback:Z,priorityLevel:z,startTime:Y,expirationTime:we,sortIndex:-1},Y>Se?(z.sortIndex=Y,i(w,z),l(M)===null&&z===l(w)&&(ae?(be(Ne),Ne=-1):ae=!0,Ga(Zt,Y-Se))):(z.sortIndex=we,i(M,z),j||D||(j=!0,ze||(ze=!0,et()))),z},n.unstable_shouldYield=st,n.unstable_wrapCallback=function(z){var Z=_;return function(){var Y=_;_=Z;try{return z.apply(this,arguments)}finally{_=Y}}}})),Cb=Ki(((n,i)=>{i.exports=Tb()})),wb=Ki((n=>{var i=Cb(),l=wg(),u=sb();function f(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function A(e){for(var t=e,o=t;o&&!o.alternate;)t=o,(t.flags&4098)!==0&&(e=t.return),o=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function T(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function M(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w(e){if(A(e)!==e)throw Error(f(188))}function I(e){var t=e.alternate;if(!t){if(t=A(e),t===null)throw Error(f(188));return t!==e?null:e}for(var o=e,a=t;;){var r=o.return;if(r===null)break;var s=r.alternate;if(s===null){if(a=r.return,a!==null){o=a;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===o)return w(r),e;if(s===a)return w(r),t;s=s.sibling}throw Error(f(188))}if(o.return!==a.return)o=r,a=s;else{for(var c=!1,d=r.child;d;){if(d===o){c=!0,o=r,a=s;break}if(d===a){c=!0,a=r,o=s;break}d=d.sibling}if(!c){for(d=s.child;d;){if(d===o){c=!0,o=s,a=r;break}if(d===a){c=!0,a=s,o=r;break}d=d.sibling}if(!c)throw Error(f(189))}}if(o.alternate!==a)throw Error(f(190))}if(o.tag!==3)throw Error(f(188));return o.stateNode.current===o?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}function _(e,t,o,a,r,s){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&o(e,a,r,s)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&_(e.child,t,o,a,r,s))return!0;e=e.sibling}return!1}function D(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function j(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function ae(e){var t=[null,null],o=D(e);return o===null||Q(t,e,o.child,{foundSelf:!1}),t}function Q(e,t,o,a){for(;o!==null;){if(o===t)a.foundSelf=!0;else if(o.tag===5||o.tag===27||o.tag===6){if(a.foundSelf)return e[1]=o,!0;e[0]=o}else if((o.tag!==22||o.memoizedState===null)&&Q(e,t,o.child,a))return!0;o=o.sibling}return!1}function V(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(f(559))}}var be=null,$e=null;function Be(e,t,o){return e===o?!0:e===t?(be=e,!0):!1}function Zt(e,t,o){return e===o?($e=e,!1):e===t?($e!==null&&(be=e),!0):!1}function ze(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Ne(e,t,o){for(var a=0,r=e;r;r=o(r))a++;r=0;for(var s=t;s;s=o(s))r++;for(;0<a-r;)e=o(e),a--;for(;0<r-a;)t=o(t),r--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=o(e),t=o(t)}return null}var F=Object.assign,Io=Symbol.for("react.element"),st=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),et=Symbol.for("react.fragment"),fa=Symbol.for("react.strict_mode"),qn=Symbol.for("react.profiler"),Ga=Symbol.for("react.consumer"),z=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),pt=Symbol.for("react.lazy"),Do=Symbol.for("react.activity"),Gn=Symbol.for("react.legacy_hidden"),uo=Symbol.for("react.memo_cache_sentinel"),Oo=Symbol.for("react.view_transition"),th=Symbol.for("react.recoverable"),vd=Symbol.iterator;function Fn(e){return e===null||typeof e!="object"?null:(e=vd&&e[vd]||e["@@iterator"],typeof e=="function"?e:null)}var oh=Symbol.for("react.client.reference");function nl(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===oh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case et:return"Fragment";case qn:return"Profiler";case fa:return"StrictMode";case Y:return"Suspense";case Se:return"SuspenseList";case Do:return"Activity";case Oo:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case He:return"Portal";case z:return e.displayName||"Context";case Ga:return(e._context.displayName||"Context")+".Consumer";case Z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case we:return t=e.displayName||null,t!==null?t:nl(e.type)||"Memo";case pt:t=e._payload,e=e._init;try{return nl(e(t))}catch{}}return null}var Yn=Array.isArray,H=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pa={pending:!1,data:null,method:null,action:null},rl=[],Fa=-1;function Qt(e){return{current:e}}function qe(e){0>Fa||(e.current=rl[Fa],rl[Fa]=null,Fa--)}function ve(e,t){Fa++,rl[Fa]=e.current,e.current=t}var Jt=Qt(null),Xn=Qt(null),zo=Qt(null),is=Qt(null);function ls(e,t){switch(ve(zo,t),ve(Xn,e),ve(Jt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Wp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Wp(t),e=$p(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}qe(Jt),ve(Jt,e)}function Ya(){qe(Jt),qe(Xn),qe(zo)}function sl(e){var t=e.memoizedState;t!==null&&(On._currentValue=t.memoizedState,ve(is,e)),t=Jt.current;var o=$p(t,e.type);t!==o&&(ve(Xn,e),ve(Jt,o))}function cs(e){Xn.current===e&&(qe(Jt),qe(Xn)),is.current===e&&(qe(is),On._currentValue=pa)}var il,yd;function Uo(e){if(il===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);il=t&&t[1]||"",yd=-1<o.stack.indexOf(`
1
+ import{o as F5,t as Ki}from"./rolldown-runtime-Dhvrsp_z.js";import{$ as Y5,At as ke,D as X5,Et as xg,It as G,M as K5,Nt as Z5,O as Q5,Pt as qt,S as J5,T as Sg,W as W5,X as $5,Yt as eb,a as Ag,bt as W,c as Gu,kt as ca,n as Vn,o as tb,p as Tg,pt as Bn,q as ob,vt as Ft,w as Cg,wt as ab,zt as Nn}from"./project-route-DPRRfvoQ.js";import{M as We,a as lo,o as co,s as nb,t as rb,v as Qr}from"./use-reduced-motion-DdBQj6R3.js";import{n as wg,t as sb}from"./react-dom-Du9nuv92.js";import{i as ib}from"./preload-helper-BerMOtKS.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"3.23.1"};var i=new n.Error().stack;i&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[i]="42ecd0e8-058e-4e1a-aa17-8b79c552dc2e",n._sentryDebugIdIdentifier="sentry-dbid-42ecd0e8-058e-4e1a-aa17-8b79c552dc2e")}catch{}})();function i6(n,i,l,u,f){return{level:n,code:i,title:l.slice(0,160),description:u.slice(0,1e3),...f?{details:f}:{}}}var Fu={SIGN_IN_EXPIRED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",UNAUTHORIZED:"Your sign-in expired before this finished, so it wasn't sent. Retry once your session reconnects, or sign in again.",RESOURCE_DENIED:"The App asked for a file it wasn't given, or its access to that file has ended. Apps can only read and write the file they were opened with.",RESOURCE_INVALID:"The App's file request was malformed (for example a bad URI, both text and blob in one write, or invalid base64).",RESOURCE_NOT_TEXT:`This file isn't text. Request representation: "blob" or handle both text and blob.`,RESOURCE_OUTCOME_UNKNOWN:"The file write may or may not have been saved (the connection dropped mid-write). Read the file again before retrying.",RESOURCE_READ_REQUIRED:"MCPJam gave this App access to its file again (the server restarted, or its hold on the file lapsed), so this save was refused. The App's unsaved changes are still in the viewer: read the file again (resources/read), then save against the ETag it returns.",RESOURCE_TOO_LARGE:"The file is larger than the host allows for Apps.",RESOURCE_UNSUPPORTED:"This file source doesn't support that operation.",RESOURCE_WRITE_UNAVAILABLE:"This Computer can't save the file safely. Copy your changes, then reconnect the Computer before trying again.",PLUGIN_FILE_TARGETS_NOT_DECLARED:`This client lists no files for this server. Add them under the client's mcpProfile.extensions["mcpjam/plugin-file-targets"] (a root folder and each file's relative path).`,PLUGIN_LOCAL_FILES_NOT_CONFIGURED:"Opening local files is off on this MCPJam install. Set MCPJAM_PLUGIN_LOCAL_FILE_ROOTS to a JSON list of allowed folders, each {actorId, projectId, serverId, root}, then restart MCPJam.",PLUGIN_LOCAL_FILE_ROOTS_INVALID:"MCPJAM_PLUGIN_LOCAL_FILE_ROOTS isn't valid JSON. It must be a list of {actorId, projectId, serverId, root} entries.",PLUGIN_LOCAL_FILE_ROOT_NOT_ALLOWED:"This server's file folder isn't allowed for you. Add an entry with your actor ID, this project, this server and the folder to MCPJAM_PLUGIN_LOCAL_FILE_ROOTS, then restart MCPJam.",PLUGIN_FILES_COMPUTER_REQUIRED:"On the cloud, plugin files live on the project's Computer. Attach the Computer to this client and run the server there to open or save its files.",PLUGIN_COMPUTER_FILE_ROOT_INVALID:`On the Computer, file target roots must be absolute folders under /home/user. Fix the root in the client's "mcpjam/plugin-file-targets".`,PLUGIN_FILES_REMOTE_SERVER:"This server runs remotely over HTTP, so it shares no disk with MCPJam or your Computer. Its local file paths can't be opened or saved here.",PLUGIN_COMPUTER_UNAVAILABLE:"The project's Computer is asleep or unreachable, so its files can't be opened or saved right now. Send a message in chat to wake it, then try again.",PLUGIN_FILE_READ_ONLY:`This file is read-only. Only files listed in the client's "mcpjam/plugin-file-targets" (in an allowed local folder, or on the project's Computer on the cloud) can be saved.`,PLUGIN_LOCAL_FILE_NOT_LISTED:`That path isn't one of the files listed for this server in the client's "mcpjam/plugin-file-targets".`,INSTANCE_UNAVAILABLE:"This App session has ended (it was closed, expired or the server restarted). Reopen the App.",INSTANCE_DENIED:"This App isn't allowed to do that here. It may belong to another chat, client or user, or the request doesn't match how the App was opened.",INSTANCE_LIMIT:"Too many Apps are open. Close some Apps and try again.",INSTANCE_STORE_UNAVAILABLE:"Apps can't be opened because the App session store isn't available on this MCPJam server.",INSTANCE_RENEWAL_UNAVAILABLE:"This MCPJam server can't extend App sessions yet. The App keeps working until its session expires; reopen it afterwards.",INSTANCE_HOST_CHANGED:"The client's settings changed after this App opened. Reopen the App to use the new settings.",INSTANCE_SERVER_CHANGED:"The server's saved setup changed after this App opened. Reopen the App.",INSTANCE_CONNECTION_CHANGED:"The server's connection or credentials changed after this App opened. Reopen the App.",INSTANCE_TOOL_UNAVAILABLE:"The server no longer lists the tool this App needs.",INSTANCE_UI_UNAVAILABLE:"The server didn't return a usable App UI (missing ui:// resource, wrong MIME type, or larger than 5 MB).",INSTANCE_CONTEXT_UNAVAILABLE:"Model context isn't available for this App (the client has it turned off, or the App has closed).",INSTANCE_CONTEXT_SEQUENCE_DENIED:"A model-context update arrived out of order and was ignored. Send updates one at a time.",INSTANCE_CONTEXT_REMOVAL_INVALID:"That context removal didn't match this App's current context, so nothing was removed. Remove it again from the composer.",INSTANCE_CONTEXT_TOO_LARGE:"The App's context is too large to keep, so its last accepted context stays. Send less context.",INVALID_INSTANCE_CONTEXT:"MCPJam couldn't store the App's context, so its last accepted context stays. Send less context and try again.",INSTANCE_CONTEXT_RATE_LIMITED:"The App updated its context too often, so this update wasn't kept and its last accepted context stays. Send updates less often.",PLUGIN_CONTEXT_TOO_LARGE:"This context update is over this client's App context budget (its modelContextPolicy), so the App's last accepted context stays. Send less context.",PLUGIN_CONTEXT_TURN_TOO_LARGE:"The Apps in this chat hold more context than this client's modelContextPolicy sends in one turn. Remove an App's context from the composer, then send again.",PLUGIN_CONTEXT_MEMORY_LIMIT:"MCPJam is holding as much App context for you as it can, so this update wasn't kept. Close Apps you no longer need or remove their context, then try again.",INSTANCE_CONTEXT_HELD:"You removed this App's context from the chat, so context the App sends on its own isn't attached. Use the App (for example its attach button) to attach it again.",INSTANCE_MESSAGE_UNAVAILABLE:"This App can't send chat messages (the client has messages turned off).",INSTANCE_REQUEST_BUSY:"The App is already running another request. Wait for it to finish.",ACTIVATION_SCHEMA_INVALID:"The entrypoint tool's input schema doesn't accept the arguments the host must send to open it.",PLUGIN_ENTRYPOINT_UNOPENABLE:"This client can't open an entry point whose tool name has two underscores or two dots in a row, or a dot next to an underscore. Rename the tool.",ACTIVATION_BINDING_CHANGED:"This App was opened with different settings before. Close it and open it again.",INVOCATION_OUTCOME_UNKNOWN:"MCPJam couldn't confirm the tool call's outcome. It may have run, so it won't be retried automatically. Check the server before trying again.",INVOCATION_DENIED:"The tool call isn't allowed for this App.",INVOCATION_ID_REUSED:"The App reused a request ID for a different tool call.",INVOCATION_LIMIT:"This App made too many tool calls in its session. Reopen the App.",INVOCATION_FAILED:"The tool call failed before it reached the server.",INVOCATION_RESULT_EXPIRED:"This tool call already ran, but its result is no longer held in memory, so it can't be returned again. The call is not repeated.",TOOL_CALL_FAILED:"The server returned an error for this tool call. See the server's message for details.",APPROVAL_DENIED:"The tool call wasn't approved.",APPROVAL_UNAVAILABLE:"Tool approval isn't available right now.",AUTHORIZATION_CHANGED:"Access changed while the tool call was running, so it was stopped.",TOOL_VISIBILITY_DENIED:`This tool isn't visible to Apps. Add "app" to its _meta.ui.visibility.`,TOOL_POLICY_DENIED:"The client's tool policy blocks this tool.",TOOL_MENTION_DECLARATION_DENIED:`This tool isn't declared as a mention search tool (_meta["openai/extensions"]["mentions/search"]).`,PLUGIN_EXTENSION_DISABLED:"This client has that OpenAI plugin extension turned off. Turn it on in the client's Apps settings (OpenAI plugin extensions).",PLUGIN_WORKSPACE_DENIED:"Plugin extensions aren't available for this project or account.",PLUGIN_WORKSPACE_CANCELLED:"The request was cancelled.",PLUGIN_WORKSPACE_UNREACHABLE:"MCPJam couldn't reach its backend to check plugin access (a network problem or timeout). Check your connection and try again.",PLUGIN_WORKSPACE_SIGN_IN_EXPIRED:"Your sign-in lapsed while MCPJam was checking plugin access. Retry once your session reconnects, or sign in again.",PLUGIN_INSTANCE_CANCELLED:"The request was cancelled.",INVALID_PLUGIN_INSTANCE_REQUEST:"The request was malformed.",PLUGIN_DEEP_LINK_INVALID:"This isn't a valid plugin link. Plugin links look like chatgpt://plugins/<plugin>/app/<tool>?path=/page (the path must start with / and have no #fragment).",PLUGIN_DEEP_LINK_SCHEME_UNSUPPORTED:"This client doesn't open links with that scheme. The Codex client uses codex://; the ChatGPT client uses chatgpt:// or https://chatgpt.com.",PLUGIN_DEEP_LINK_PLUGIN_UNKNOWN:"No enabled plugin or server matches the link's plugin ID. Use the plugin's manifest name, its installation ID, or server-<saved server ID> for a plain server.",PLUGIN_DEEP_LINK_MARKETPLACE_MISMATCH:"The link's @marketplace doesn't match the marketplace this plugin was installed from.",PLUGIN_DEEP_LINK_AMBIGUOUS:"More than one installed plugin matches this link. Add @<marketplace> to the plugin ID, or use the installation ID.",PLUGIN_DEEP_LINK_TOOL_UNAVAILABLE:"The plugin has no global App entrypoint with the link's tool name.",PLUGIN_DEEP_LINK_NAMESPACE_UNAVAILABLE:"Deep links can only open a plugin's global App.",PLUGIN_FORM_UNSUPPORTED:"This form uses a schema feature the client doesn't support.",PLUGIN_FORM_UNAVAILABLE:"The form couldn't be loaded.",PLUGIN_FORM_SCHEMA_MISSING:`This form keeps its fields in _meta["openai/elicitation"].requestedSchema, but that schema is missing or isn't an object schema, so MCPJam refused the form rather than show it empty. Send the full form schema there (OpenAI's requestFormInput does).`,PLUGIN_FORM_TOO_LARGE:"The form is too large (too many fields, options or bytes).",PLUGIN_FORM_PATTERN_UNSUPPORTED:"A field's pattern isn't a supported regular expression.",PLUGIN_FORM_WEB_UPLOAD_UNSUPPORTED:"Forms opened from an App can only ask for file uploads when the client's File resources extension is on. Turn it on in the client's plugin extensions, or remove upload options.",PLUGIN_FORM_RESOURCE_SERVICE_UNAVAILABLE:"This form asks for file or folder uploads, which this MCPJam server can't provide (configure a local folder, or use a local install).",PLUGIN_FORM_PREVIEW_SERVICE_UNAVAILABLE:"This client can't render that kind of preview.",PLUGIN_FORM_PREVIEW_INVALID:`An option's _meta["openai/preview"] has no valid target.`,PLUGIN_FORMS_DISABLED:"This client has Forms turned off, so the form takes no answers or uploads. A form that was already open ends as cancelled when it's submitted, and its answer isn't sent to the server. Turn Forms on in the client's OpenAI plugin extensions to answer forms.",FORM_SOURCE_UNAVAILABLE:"This form has expired or was already answered.",FORM_PREVIEW_UNAVAILABLE:"That preview isn't available for this form.",PLUGIN_FORM_PREVIEW_TIMEOUT:"The preview didn't open within 30 seconds, so MCPJam stopped waiting. The form and its answers are unchanged. Try again; if it keeps happening, check that the server answers the preview's resource read or preview tool promptly.",PLUGIN_FORM_PREVIEW_FAILED:"The preview couldn't be opened. The form and its answers are unchanged; try again.",PLUGIN_FORM_SUBMIT_TIMEOUT:"MCPJam didn't confirm the answer within 30 seconds, so it stopped waiting. The answers are still in the form; send them again. A repeat of an answer that did arrive is ignored.",PLUGIN_FORM_SUBMIT_FAILED:"The answer couldn't be sent. The answers are still in the form; send them again.",PLUGIN_FORM_DESTINATION_TIMEOUT:"MCPJam couldn't confirm where this form's files would be uploaded within 30 seconds, so it stopped waiting. Nothing was uploaded and the request is still open. Retry, or cancel the request; if it keeps happening, check that the server is still connected and that you're still signed in.",PLUGIN_FORM_DESTINATION_FAILED:"MCPJam couldn't check where this form's files would be uploaded. Nothing was uploaded and the request is still open; retry, or cancel the request.",PLUGIN_SETTINGS_TOOL_UNAVAILABLE:"The server's openai/settings capability names a read or update tool that tools/list doesn't include.",PLUGIN_SETTINGS_OUTPUT_SCHEMA_REQUIRED:"Both settings tools must declare an outputSchema.",PLUGIN_SETTINGS_READ_ARGUMENTS_INVALID:"The settings read tool must accept an empty arguments object ({}).",PLUGIN_SETTINGS_UNSUPPORTED_SCHEMA:"A settings field uses an unsupported type. Settings support boolean, string (with optional enum), number and integer.",PLUGIN_SETTINGS_INVALID_RESULT:"The settings read tool returned a result that doesn't match its outputSchema, or a field has no value.",PLUGIN_SETTINGS_TOOL_SCHEMA_INVALID:"A settings tool's schema couldn't be parsed.",PLUGIN_SETTINGS_INVALID_CAPABILITY:"The server's openai/settings capability is malformed.",PLUGIN_SETTINGS_AMBIGUOUS_CAPABILITY:"The server declares openai/settings in more than one place with different values.",PLUGIN_SETTINGS_SAVE_FAILED:"The server couldn't save the settings.",PLUGIN_SETTINGS_SCHEMA_CHANGED:"The server's settings changed. Reload settings and try again.",PLUGIN_SETTINGS_REFRESH_REQUIRED:"Settings changed on the server. Reload settings.",PLUGIN_SETTINGS_READ_NOT_READ_ONLY:"The settings read tool should be marked read-only (annotations.readOnlyHint: true).",SETTINGS_UNAVAILABLE:"Settings aren't available for this server right now.",PLUGIN_MENTION_SEARCH_FAILED:"The server's mention search tool returned an error.",PLUGIN_MENTION_RESULT_TOO_LARGE:"The mention search result is too large.",PLUGIN_FILE_READ_TIMEOUT:"The file didn't load within 12 seconds, so MCPJam stopped waiting. Reload the file in the viewer (or reopen it) to try again. If it keeps happening, check that the server answers resources/read promptly, and close Apps you no longer need: each open file viewer keeps a connection to MCPJam.",PLUGIN_FILE_WATCH_TIMEOUT:"MCPJam couldn't start watching this file for changes within 12 seconds, so it stopped waiting. The file can still be read; changes made elsewhere won't refresh the viewer until it subscribes again or the file is reopened.",MODEL_APP_UNAVAILABLE:"This App from the chat is no longer available.",MODEL_FORM_UNAVAILABLE:"This form is no longer available, so your answer wasn't sent. Ask the model to run the tool again.",FORM_NOT_SAVED:"MCPJam couldn't save this form, so it wasn't shown and the tool call ended. Ask the model to run the tool again.",FORM_STORE_UNAVAILABLE:"MCPJam couldn't load this form's saved state, so nothing was sent. Try again in a moment.",CONTINUATION_EXPIRED:"This form expired before it was answered, so the tool call did not finish. Run it again.",CONTINUATION_FAILED:"This form is closed and cannot be submitted. Start the tool call again.",CONTINUATION_CANCELLED:"This form was cancelled, so the tool call did not finish.",CONTINUATION_CONNECTION_UNAVAILABLE:"The server disconnected before the answer could be sent. Reconnect and send it again.",CONTINUATION_DENIED:"This form answer doesn't match the server's current request.",CONTINUATION_PROTOCOL_DENIED:"The server's MCP version doesn't support this form request."},lb=[["PLUGIN_DEEP_LINK_","This plugin link couldn't be opened."],["PLUGIN_SETTINGS_","The server's settings couldn't be used."],["PLUGIN_FORM_","This form couldn't be shown."],["RESOURCE_","The App's file request couldn't be completed."],["INSTANCE_CONTEXT_","The App's model context couldn't be updated."],["INSTANCE_","This App session couldn't complete the request. Reopen the App."],["INVOCATION_","The tool call couldn't be completed."],["CONTINUATION_","The form answer couldn't be delivered to the server."]];function l6(n){if(typeof n=="string")return Object.hasOwn(Fu,n)?Fu[n]:lb.find(([i])=>n.startsWith(i))?.[1]}var cb={location:["host_workspace"],operation:["form_response","settings_save","app_message"],host_profile:["chatgpt","codex","unknown"],outcome:["success","failure","declined","cancelled"],deployment:["hosted","self_hosted"],source:["client"]},ub=["none","refused","other",...Object.keys(Fu)],B0="x-mcpjam-telemetry-policy",c6={extension_launch_completed:{location:["host_workspace"],launch_kind:["thread","global","file","quick-action","settings"],host_profile:["chatgpt","codex"],outcome:["success","failure"],failure_stage:["none","execution","rendering","timeout","unknown"],deployment:["hosted","self_hosted"],source:["client"]},extension_operation_completed:{...cb,error_code:ub},app_launched:{location:["app"],is_authenticated:"boolean",platform:["web","npm","docker","mac","win","electron"],deployment:["hosted","self_hosted"],launch_trigger:["immediate","grant","timeout","hidden"],policy_wait_ms:"count"},send_message:{location:["chat_tab","ui_playground"],multi_model_enabled:"boolean",multi_model_count:"count"},edit_message:{location:["chat_tab","ui_playground"]},execute_tool:{location:["parameters_panel","tools_sidebar"],as_task:"boolean"},eval_suite_run_started:{location:["ci_evals_tab"],num_test_cases:"count",num_tests:"count",num_models:"count",replay:"boolean"},conformance_run_triggered:{location:["conformance_tab","score_runner","compat_page","compat_detail_modal"],run_source:["ui"]},$pageview:{},$pageleave:{}},Br;function db(){if(Br)return Br;const n=I=>{let E;try{E=new URL(I,window.location.href)}catch{return!1}return E.origin===window.location.origin&&/^\/(tlm|relay)(\/|$)/.test(E.pathname)},i=eb,l=window.fetch,u=globalThis.fetch,f=(I,E)=>{const _=I instanceof Request?I.url:String(I);if(!n(_))return l.call(window,I,E);const D=new Headers(E?.headers??(I instanceof Request?I.headers:void 0));return D.set(B0,i()),l.call(window,I,{...E,headers:D})};window.fetch=f,globalThis.fetch=f;const p=XMLHttpRequest.prototype,A=p.open,T=p.send,M=p.setRequestHeader,w=new WeakMap;return p.open=function(I,E,_=!0,D,j){return w.set(this,n(String(E))),Reflect.apply(A,this,arguments)},p.setRequestHeader=function(I,E){if(!(w.get(this)&&I.toLowerCase()==="x-mcpjam-telemetry-policy"))return M.call(this,I,E)},p.send=function(I){return w.get(this)&&M.call(this,B0,i()),T.call(this,I)},Br=()=>{window.fetch=l,globalThis.fetch=u,p.open=A,p.send=T,p.setRequestHeader=M,Br=void 0},Br}db();var Zi="mcpjam_promo_intent",fb=18e5,Gt,pb=/^[a-z0-9-]{1,80}$/;function Qi(n){return typeof n=="string"&&pb.test(n)?n:null}function _g(n=window.location.search){return Qi(new URLSearchParams(n).get("campaign"))??"agntcon-2026"}function Yu(){Gt=null;try{return sessionStorage.removeItem(Zi),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function gb(n,i=Date.now(),l=_g()){Gt={code:n,storedAt:i,campaign:l};try{return sessionStorage.setItem(Zi,JSON.stringify(Gt)),!0}catch{return console.debug("Promo intent storage unavailable"),!1}}function hb(n=Date.now(),i=_g()){try{if(Gt===void 0){const l=JSON.parse(sessionStorage.getItem(Zi)??"null");l&&typeof l=="object"&&"code"in l&&"storedAt"in l&&typeof l.code=="string"&&l.code.length<=64&&typeof l.storedAt=="number"&&(Gt={code:l.code,storedAt:l.storedAt,campaign:"campaign"in l&&Qi(l.campaign)||"agntcon-2026"})}}catch{console.debug("Promo intent storage unavailable")}return!Gt||n<Gt.storedAt||n-Gt.storedAt>=fb?(Yu(),""):Gt.campaign===i?Gt.code:""}function Xu(n,i=!1){const l=new URLSearchParams;i&&l.set("manual","1"),n&&n!=="agntcon-2026"&&l.set("campaign",n);const u=l.toString();return u?`/redeem?${u}`:"/redeem"}function u6(n){const i=hb(Date.now(),n);let l=!1;try{l=sessionStorage.getItem(Zi)===JSON.stringify(Gt)}catch{console.debug("Promo intent storage unavailable")}return{promoReturn:!0,promoManualEntry:!i||!l,promoCampaign:n}}function d6(n){return n?.promoReturn!==!0?null:Xu(Qi(n.promoCampaign),n.promoManualEntry===!0)}function mb(){if(window.location.pathname.replace(/\/+$/,"")!=="/redeem")return;const n=new URL(window.location.href),i=Qi(n.searchParams.get("campaign"));if(n.searchParams.get("manual")==="1"){Yu()&&window.history.replaceState(window.history.state,"",Xu(i));return}const l=n.searchParams.get("code")??new URLSearchParams(n.hash.slice(1)).get("code");l!==null&&(l.length<=64?gb(l,Date.now(),i??"agntcon-2026"):Yu(),window.history.replaceState(window.history.state,"",Xu(i)))}function f6(){const n=()=>{mb(),window.dispatchEvent(new Event("promo-intent-changed"))};window.addEventListener("hashchange",n),window.addEventListener("popstate",n)}var Jr="oauth_pending";var bb="invalid_request",vb="The authorization response was no longer available after the page reloaded. Start the connection again.",Xt=null,H0=0;function Ku(){return H0+=1,`inbox:${H0}`}function td(n){return n==="/oauth/callback"||n.startsWith("/oauth/callback/")}function Eg(n){try{return new URLSearchParams(n).get(Jr)==="1"}catch{return!1}}function kg(n){return`${n}?${Jr}=1`}var yb=/token|secret|code|key|sig|cred|pass|state|session|auth|ticket|assertion/i,xb=/^[A-Za-z][\w-]{0,63}$/;function Sb(n){const i=n.startsWith("#")?n.slice(1):n;return i?i.includes("=")?i.split("&").every(l=>{const u=l.split("=",1)[0]??"";try{const f=decodeURIComponent(u);return f!==""&&!yb.test(f)}catch{return!1}}):xb.test(i):!1}function p6(){if(typeof window>"u")return!1;const{pathname:n,search:i,hash:l}=window.location;if(!td(n))return!1;const u=new URLSearchParams(i),f=u.get(Jr)==="1";if(u.delete(Jr),[...u.keys()].length>0)Xt={pathname:n,params:u.toString(),attempt:Ku()};else if(f){if(Xt?.pathname===n)return!0;Xt={attempt:Ku(),pathname:n,params:new URLSearchParams({error:bb,error_description:vb}).toString()}}else return!1;const p=l&&Sb(l)?l:"";try{history.replaceState(history.state,"",`${kg(n)}${p}`)}catch{}return!0}function g6(n,i="/oauth/callback"){const l=new URLSearchParams(n);return l.delete(Jr),Xt={pathname:i,params:l.toString(),attempt:Ku()},kg(i)}function Ji(){if(typeof window>"u")return null;const{pathname:n,search:i}=window.location;if(!td(n))return null;if(Eg(i))return Xt&&Xt.pathname===n?new URLSearchParams(Xt.params):null;const l=new URLSearchParams(i);return[...l.keys()].length>0?l:null}function Ab(){if(typeof window>"u")return null;const{pathname:n,search:i}=window.location;return td(n)?Eg(i)?Xt&&Xt.pathname===n?Xt.attempt:null:i&&i!=="?"?`url:${i}`:null:null}function h6(){const n=Ji();return!!(n&&(n.has("code")||n.has("error")))}function m6(n){if(n!==void 0&&n!==Ab())return null;const i=Ji();return Xt=null,i}var Tb=Ki((n=>{function i(z,Z){var Y=z.length;z.push(Z);e:for(;0<Y;){var Se=Y-1>>>1,we=z[Se];if(0<f(we,Z))z[Se]=Z,z[Y]=we,Y=Se;else break e}}function l(z){return z.length===0?null:z[0]}function u(z){if(z.length===0)return null;var Z=z[0],Y=z.pop();if(Y!==Z){z[0]=Y;e:for(var Se=0,we=z.length,pt=we>>>1;Se<pt;){var Do=2*(Se+1)-1,Gn=z[Do],uo=Do+1,Oo=z[uo];if(0>f(Gn,Y))uo<we&&0>f(Oo,Gn)?(z[Se]=Oo,z[uo]=Y,Se=uo):(z[Se]=Gn,z[Do]=Y,Se=Do);else if(uo<we&&0>f(Oo,Y))z[Se]=Oo,z[uo]=Y,Se=uo;else break e}}return Z}function f(z,Z){var Y=z.sortIndex-Z.sortIndex;return Y!==0?Y:z.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var A=Date,T=A.now();n.unstable_now=function(){return A.now()-T}}var M=[],w=[],I=1,E=null,_=3,D=!1,j=!1,ae=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,$e=typeof setImmediate<"u"?setImmediate:null;function Be(z){for(var Z=l(w);Z!==null;){if(Z.callback===null)u(w);else if(Z.startTime<=z)u(w),Z.sortIndex=Z.expirationTime,i(M,Z);else break;Z=l(w)}}function Zt(z){if(ae=!1,Be(z),!j)if(l(M)!==null)j=!0,ze||(ze=!0,et());else{var Z=l(w);Z!==null&&Ga(Zt,Z.startTime-z)}}var ze=!1,Ne=-1,F=5,Io=-1;function st(){return Q?!0:!(n.unstable_now()-Io<F)}function He(){if(Q=!1,ze){var z=n.unstable_now();Io=z;var Z=!0;try{e:{j=!1,ae&&(ae=!1,be(Ne),Ne=-1),D=!0;var Y=_;try{t:{for(Be(z),E=l(M);E!==null&&!(E.expirationTime>z&&st());){var Se=E.callback;if(typeof Se=="function"){E.callback=null,_=E.priorityLevel;var we=Se(E.expirationTime<=z);if(z=n.unstable_now(),typeof we=="function"){E.callback=we,Be(z),Z=!0;break t}E===l(M)&&u(M),Be(z)}else u(M);E=l(M)}if(E!==null)Z=!0;else{var pt=l(w);pt!==null&&Ga(Zt,pt.startTime-z),Z=!1}}break e}finally{E=null,_=Y,D=!1}Z=void 0}}finally{Z?et():ze=!1}}}var et;if(typeof $e=="function")et=function(){$e(He)};else if(typeof MessageChannel<"u"){var fa=new MessageChannel,qn=fa.port2;fa.port1.onmessage=He,et=function(){qn.postMessage(null)}}else et=function(){V(He,0)};function Ga(z,Z){Ne=V(function(){z(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<z?Math.floor(1e3/z):5},n.unstable_getCurrentPriorityLevel=function(){return _},n.unstable_next=function(z){switch(_){case 1:case 2:case 3:var Z=3;break;default:Z=_}var Y=_;_=Z;try{return z()}finally{_=Y}},n.unstable_requestPaint=function(){Q=!0},n.unstable_runWithPriority=function(z,Z){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var Y=_;_=z;try{return Z()}finally{_=Y}},n.unstable_scheduleCallback=function(z,Z,Y){var Se=n.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?Se+Y:Se):Y=Se,z){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=Y+we,z={id:I++,callback:Z,priorityLevel:z,startTime:Y,expirationTime:we,sortIndex:-1},Y>Se?(z.sortIndex=Y,i(w,z),l(M)===null&&z===l(w)&&(ae?(be(Ne),Ne=-1):ae=!0,Ga(Zt,Y-Se))):(z.sortIndex=we,i(M,z),j||D||(j=!0,ze||(ze=!0,et()))),z},n.unstable_shouldYield=st,n.unstable_wrapCallback=function(z){var Z=_;return function(){var Y=_;_=Z;try{return z.apply(this,arguments)}finally{_=Y}}}})),Cb=Ki(((n,i)=>{i.exports=Tb()})),wb=Ki((n=>{var i=Cb(),l=wg(),u=sb();function f(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function A(e){for(var t=e,o=t;o&&!o.alternate;)t=o,(t.flags&4098)!==0&&(e=t.return),o=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function T(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function M(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w(e){if(A(e)!==e)throw Error(f(188))}function I(e){var t=e.alternate;if(!t){if(t=A(e),t===null)throw Error(f(188));return t!==e?null:e}for(var o=e,a=t;;){var r=o.return;if(r===null)break;var s=r.alternate;if(s===null){if(a=r.return,a!==null){o=a;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===o)return w(r),e;if(s===a)return w(r),t;s=s.sibling}throw Error(f(188))}if(o.return!==a.return)o=r,a=s;else{for(var c=!1,d=r.child;d;){if(d===o){c=!0,o=r,a=s;break}if(d===a){c=!0,a=r,o=s;break}d=d.sibling}if(!c){for(d=s.child;d;){if(d===o){c=!0,o=s,a=r;break}if(d===a){c=!0,a=s,o=r;break}d=d.sibling}if(!c)throw Error(f(189))}}if(o.alternate!==a)throw Error(f(190))}if(o.tag!==3)throw Error(f(188));return o.stateNode.current===o?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}function _(e,t,o,a,r,s){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&o(e,a,r,s)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&_(e.child,t,o,a,r,s))return!0;e=e.sibling}return!1}function D(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function j(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function ae(e){var t=[null,null],o=D(e);return o===null||Q(t,e,o.child,{foundSelf:!1}),t}function Q(e,t,o,a){for(;o!==null;){if(o===t)a.foundSelf=!0;else if(o.tag===5||o.tag===27||o.tag===6){if(a.foundSelf)return e[1]=o,!0;e[0]=o}else if((o.tag!==22||o.memoizedState===null)&&Q(e,t,o.child,a))return!0;o=o.sibling}return!1}function V(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(f(559))}}var be=null,$e=null;function Be(e,t,o){return e===o?!0:e===t?(be=e,!0):!1}function Zt(e,t,o){return e===o?($e=e,!1):e===t?($e!==null&&(be=e),!0):!1}function ze(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Ne(e,t,o){for(var a=0,r=e;r;r=o(r))a++;r=0;for(var s=t;s;s=o(s))r++;for(;0<a-r;)e=o(e),a--;for(;0<r-a;)t=o(t),r--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=o(e),t=o(t)}return null}var F=Object.assign,Io=Symbol.for("react.element"),st=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),et=Symbol.for("react.fragment"),fa=Symbol.for("react.strict_mode"),qn=Symbol.for("react.profiler"),Ga=Symbol.for("react.consumer"),z=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),pt=Symbol.for("react.lazy"),Do=Symbol.for("react.activity"),Gn=Symbol.for("react.legacy_hidden"),uo=Symbol.for("react.memo_cache_sentinel"),Oo=Symbol.for("react.view_transition"),th=Symbol.for("react.recoverable"),vd=Symbol.iterator;function Fn(e){return e===null||typeof e!="object"?null:(e=vd&&e[vd]||e["@@iterator"],typeof e=="function"?e:null)}var oh=Symbol.for("react.client.reference");function nl(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===oh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case et:return"Fragment";case qn:return"Profiler";case fa:return"StrictMode";case Y:return"Suspense";case Se:return"SuspenseList";case Do:return"Activity";case Oo:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case He:return"Portal";case z:return e.displayName||"Context";case Ga:return(e._context.displayName||"Context")+".Consumer";case Z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case we:return t=e.displayName||null,t!==null?t:nl(e.type)||"Memo";case pt:t=e._payload,e=e._init;try{return nl(e(t))}catch{}}return null}var Yn=Array.isArray,H=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pa={pending:!1,data:null,method:null,action:null},rl=[],Fa=-1;function Qt(e){return{current:e}}function qe(e){0>Fa||(e.current=rl[Fa],rl[Fa]=null,Fa--)}function ve(e,t){Fa++,rl[Fa]=e.current,e.current=t}var Jt=Qt(null),Xn=Qt(null),zo=Qt(null),is=Qt(null);function ls(e,t){switch(ve(zo,t),ve(Xn,e),ve(Jt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Wp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Wp(t),e=$p(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}qe(Jt),ve(Jt,e)}function Ya(){qe(Jt),qe(Xn),qe(zo)}function sl(e){var t=e.memoizedState;t!==null&&(On._currentValue=t.memoizedState,ve(is,e)),t=Jt.current;var o=$p(t,e.type);t!==o&&(ve(Xn,e),ve(Jt,o))}function cs(e){Xn.current===e&&(qe(Jt),qe(Xn)),is.current===e&&(qe(is),On._currentValue=pa)}var il,yd;function Uo(e){if(il===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);il=t&&t[1]||"",yd=-1<o.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
3
3
  `+il+e+yd}var ll=!1;function cl(e,t){if(!e||ll)return"";ll=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(O){var m=O}Reflect.construct(e,[],R)}else{try{R.call()}catch(O){m=O}R=!1;try{var x=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),R=!0,new e}finally{R&&(x!==void 0?Object.defineProperty(e.prototype,"props",x):delete e.prototype.props)}}}else{try{throw Error()}catch(O){m=O}(R=e())&&typeof R.catch=="function"&&R.catch(function(){})}}catch(O){if(O&&m&&typeof O.stack=="string")return[O.stack,m.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),c=s[0],d=s[1];if(c&&d){var g=c.split(`
4
4
  `),v=d.split(`
@@ -1869,4 +1869,4 @@ M38.268 335.9l-4.456-2.448-3.204-2.117-.508-.235h-2.45l-1.6.95-1.55 2.5v1.9l1.6
1869
1869
  }
1870
1870
  `}}},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,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,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,respectToolVisibility:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"copilot-cli",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},hostCapabilitiesOverride:{},mcpProfile:{profileVersion:1,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:!1,respectToolVisibility:!1,progressiveToolDiscovery:!1,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"cursor",connectionDefaults:{headers:{},requestTimeout:3e5},clientCapabilities:{},hostContext:{},mcpProfile:{profileVersion:1,versionNegotiation:"legacy-first",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,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:{},mcpToolResultImageRendering:{},hostStyle:"codex-cli",modelId:"openai/gpt-6-luna",systemPrompt:"",temperature:.7,requireToolApproval:!1,respectToolVisibility:!0,progressiveToolDiscovery:!0,serverIds:[],optionalServerIds:[],builtInToolIds:[],computer:{kind:"personal"},harness:"codex",connectionDefaults:{headers:{},requestTimeout:1e4},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.168.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"}}}},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,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,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 D4(n){const i=n.modelVisibleMcpToolResults,l=n.mcpToolResultImageRendering;if(!(!i&&!l))return{toolImageContent:{model:i?.directContent?.image===!0,ui:l?.directContent?.image===!0},embeddedResourceImages:{model:i?.embeddedResources?.blob?.image===!0,ui:l?.embeddedResources?.blob?.image===!0},resourceLinkImages:{model:i?.linkedResources?.blob?.image===!0,ui:l?.linkedResources?.blob?.image===!0},placement:l?.placement??"none"}}function O4(n,i){const l=ob(i.mcpProfile);if((l?.toolResultAuthChallenge??W5.toolResultAuthChallenge)!=="passthrough")return[];const u=n.filter(f=>$5(Y5({declaration:{securitySchemes:f.securitySchemes,_meta:f._meta}}))).map(f=>f.name).sort();return u.length===0?[]:[{lane:"server",severity:"info",code:"tool_result_auth_challenge_ignored",title:"Sign-in challenges in tool results are shown as errors",detail:`${i.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: ${u.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:u,provenance:l?.toolResultAuthChallenge!==void 0?i.provenance:"assumed"}]}function z4(n,i,l){return n.map(u=>{const f=Object.hasOwn(l.hostsById,u.hostId)?l.hostsById[u.hostId]:void 0,p=O4(i,{hostLabel:u.hostLabel,provenance:u.provenance,mcpProfile:f?.mcpProfile});return p.length===0?u:{...u,findings:[...u.findings,...p],...u.lanes?{lanes:{...u.lanes,server:{...u.lanes.server,provenance:x2(p,u.lanes.server.provenance)}}}:{}}})}function S2(n){return JSON.parse(JSON.stringify(n))}function A2(n){if(n!==null&&typeof n=="object"){Object.isFrozen(n)||Object.freeze(n);for(const i of Object.keys(n))A2(n[i])}return n}var fg=null;function T2(){return fg??=A2(C2(S2(I4))),fg}function C2(n){return{hostsById:Object.fromEntries(Object.entries(n.hostsById).map(([i,l])=>[i,cd(l)]))}}function cd(n){const i=D4(n)??n.imageSupport;return{...n,...i?{imageSupport:i}:void 0}}function U4(n,i){return w2(n,i)?.mcpProfile?.apps?.mcpAppsOverrides}function w2(n,i){const l=Object.hasOwn(n.hostsById,i)?n.hostsById[i]:void 0;return l?cd(l):void 0}function V6(n,i){const l=w2(n,i);if(l)return S2(N4(l))}function B6(n){return Object.values(n.hostsById).map(cd)}function N4(n){const{id:i,label:l,provenance:u,rendersMcpApps:f,supportedProtocolVersions:p,verifiedAt:A,imageSupport:T,compatibilityEvidence:M,styleVariablesByTheme:w,...I}=n;return I}function L4(n){return n?.mcpProfile?.apps?.compatRuntime?.openaiApps===!0}function P4(n){const i=n?.mcpProfile?.apps?.sandbox?.permissions?.allow;if(!i||typeof i!="object"||Array.isArray(i))return;const l=Object.entries(i).filter(([,u])=>typeof u=="boolean");return Object.fromEntries(l)}function _2(n){return{...n,verifiedAt:n.verifiedAt,supportedProtocolVersions:n.supportedProtocolVersions?[...n.supportedProtocolVersions]:void 0,capabilities:n.capabilities?{...n.capabilities,availableDisplayModes:n.capabilities.availableDisplayModes?[...n.capabilities.availableDisplayModes]:void 0,cspConnectDomains:n.capabilities.cspConnectDomains?{...n.capabilities.cspConnectDomains}:void 0,cspResourceDomains:n.capabilities.cspResourceDomains?{...n.capabilities.cspResourceDomains}:void 0}:void 0,sandboxPermissionAllow:n.sandboxPermissionAllow?{...n.sandboxPermissionAllow}:void 0,imageSupport:n.imageSupport?{toolImageContent:{...n.imageSupport.toolImageContent},embeddedResourceImages:{...n.imageSupport.embeddedResourceImages},resourceLinkImages:{...n.imageSupport.resourceLinkImages},placement:n.imageSupport.placement}:void 0}}function E2(n){return Object.entries(n.hostsById).map(([i,l])=>{const u=L4(l),f=l.rendersMcpApps||u,p=U4(n,i),A=f?p??Zr:void 0;return{id:l.id,label:l.label,provenance:l.provenance,verifiedAt:l.verifiedAt,rendersMcpApps:l.rendersMcpApps,rendersOpenAiApps:u,supportedProtocolVersions:l.supportedProtocolVersions,capabilities:A,sandboxPermissionAllow:P4(l),imageSupport:l.imageSupport}}).map(_2)}var pg=null;function j4(){return pg??=E2(T2()),pg.map(_2)}function H6(n,i){const{catalog:l,...u}=i??{},f=l?E2(l):j4(),p=R4(n,f,u),A=(n?.tools??[]).map(T=>{const M=n?.toolsMetadata?.[T.name];return M?{...T,_meta:M}:T});return{...p,reports:z4(p.reports,A,l??T2())}}var gg=["inline","fullscreen","pip"],V4=Z5(n=>Array.isArray(n)?n.filter(i=>gg.includes(i)):n,Ft(Bn(gg)).optional()),B4=ke({availableDisplayModes:V4,toolInputPartial:W().optional(),toolCancelled:W().optional(),hostContextChanged:W().optional(),resourceTeardown:W().optional(),toolInfo:W().optional(),openLinks:W().optional(),serverTools:W().optional(),serverResources:W().optional(),logging:W().optional(),updateModelContext:W().optional(),message:W().optional(),sandboxPermissions:W().optional(),cspFrameDomains:W().optional(),cspBaseUriDomains:W().optional(),cspConnectDomains:ke({fetch:W().optional(),xhr:W().optional(),websocket:W().optional()}).optional(),cspResourceDomains:ke({script:W().optional(),stylesheet:W().optional(),image:W().optional(),font:W().optional(),media:W().optional()}).optional(),resourceCacheTtl:W().optional(),toolResult:ke({structuredContent:W().optional(),content:ke({text:W().optional(),image:W().optional(),audio:W().optional(),resource:W().optional(),resourceLink:W().optional()}).optional()}).optional(),resourcePrefersBorder:W().optional(),downloadFile:W().optional(),requestTeardown:W().optional(),safeAreaInsets:W().optional(),widgetDisplayModeRequests:Bn(["accept","user-initiated-only","decline"]).optional().catch(void 0)}),qu=ke({model:W(),ui:W()}),H4=ke({toolImageContent:qu,embeddedResourceImages:qu,resourceLinkImages:qu,placement:Bn(["none","collapsed","inline"]).catch("none")}),q4=ke({status:Bn(["supported","unsupported","limited"]),mcpAppsEquivalent:G().optional(),note:G().optional()}),Va=qt(G(),q4),G4=ke({profileLabel:G().min(1),sourceUrl:G().min(1),sourceUpdatedAt:ca(),componentBridge:Va,toolDescriptorMeta:Va,toolAnnotations:Va,componentResourceMeta:Va,cspProperties:Va,hostProvidedToolResultMeta:Va,clientProvidedMeta:Va,deployment:ke({supportedUiStandards:Ft(G()),productionAuthentication:Ft(G()),developmentAuthentication:Ft(G()),widgetHostPattern:G(),oauthRedirectUris:Ft(ke({surface:G(),uri:G()})),entraSsoRedirectUris:Ft(ke({surface:G(),uri:G()})),minimumAgentsToolkitVersion:G(),defaultToolDiscovery:G(),notes:Ft(G())})}),F4=ke({id:G().min(1),label:G().min(1),provenance:Bn(["observed","probe","vendor-doc","assumed"]).catch("assumed"),rendersMcpApps:W(),supportedProtocolVersions:Ft(G()).optional(),verifiedAt:ca().optional(),imageSupport:H4.optional(),compatibilityEvidence:G4.optional(),styleVariablesByTheme:ke({light:qt(G(),G()).optional(),dark:qt(G(),G()).optional()}).optional()}),Y4=ke({profileVersion:ca().optional(),apps:ke({mcpAppsOverrides:B4.optional()}).passthrough().optional()}).passthrough(),X4=ke({hostStyle:G().min(1),modelId:G(),systemPrompt:G(),temperature:ca(),requireToolApproval:W(),respectToolVisibility:W(),progressiveToolDiscovery:W().optional(),serverIds:Ft(G()),optionalServerIds:Ft(G()),builtInToolIds:Ft(G()),modelVisibleMcpToolResults:Nn().optional(),mcpToolResultImageRendering:Nn().optional(),computer:ke({kind:xg("personal"),workdir:G().optional()}).optional(),harness:Bn(K5).optional(),connectionDefaults:ke({headers:qt(G(),G()),requestTimeout:ca()}),clientCapabilities:qt(G(),Nn()),hostContext:qt(G(),Nn()),hostCapabilitiesOverride:qt(G(),Nn()).optional(),chatUiOverride:qt(G(),Nn()).optional(),mcpProfile:Y4.optional(),serverConnectionOverrides:qt(G(),ke({headersOverride:qt(G(),G()).optional(),requestTimeoutOverride:ca().optional(),mcpProtocolVersionOverride:G().optional()})).optional()}),K4=ab(F4,X4),Z4=ke({hostsById:qt(G(),K4)}),Q4=ke({schemaVersion:xg(2),version:ca(),contentHash:G(),publishedAt:ca(),catalog:Z4,source:G().optional()}),k2="https://app.mcpjam.com",M2=`${k2}/api/v1`,q6=Object.freeze({apiUrl:M2,baseUrl:k2}),J4=M2,G6=`mcpjam-sdk/${X5()}`;function W4(n){const i=n!==null&&typeof n=="object"&&!Array.isArray(n)?n.schemaVersion:void 0;console.warn("[host-catalog] rejected live catalog envelope",{reason:typeof i=="number"&&i!==2?"schema_version_mismatch":"invalid_envelope",schemaVersion:i,expectedSchemaVersion:2})}async function F6(n){const i=(n?.baseUrl??J4).replace(/\/+$/,""),l=n?.timeoutMs??3e3,u=n?.fetchImpl??globalThis.fetch?.bind(globalThis);if(typeof u!="function")return{ok:!1,reason:"network"};const f=new AbortController,p=setTimeout(()=>f.abort(),l);try{const A=await u(`${i}/host-catalog`,{method:"GET",headers:{accept:"application/json"},signal:f.signal});if(!A.ok)return{ok:!1,reason:"unavailable"};let T;try{T=await A.json()}catch{return f.signal.aborted?{ok:!1,reason:"timeout"}:{ok:!1,reason:"invalid"}}const M=Q4.safeParse(T);return M.success?{ok:!0,catalog:C2(M.data.catalog),version:M.data.version,contentHash:M.data.contentHash,publishedAt:M.data.publishedAt,source:M.data.source??"live"}:(W4(T),{ok:!1,reason:"invalid"})}catch{return{ok:!1,reason:f.signal.aborted?"timeout":"network"}}finally{clearTimeout(p)}}var $4=[{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 e3(n){const i=new Set;for(const{key:l,patterns:u}of $4)u.some(f=>f.test(n))&&i.add(l);return i}function t3(n){const i=new Set,l=n?.ui,u=l?.csp?.frameDomains;Array.isArray(u)&&u.length>0&&i.add("cspFrameDomains");const f=l?.permissions;return f&&typeof f=="object"&&Object.keys(f).length>0&&i.add("sandboxPermissions"),i}function o3(n){const i=n?.ui?.permissions;return!i||typeof i!="object"||Array.isArray(i)?new Set:new Set(Object.keys(i).filter(l=>l.length>0))}function a3(n){const i=Qr(n);if(i)return i;const l=n?.["openai/outputTemplate"];return typeof l=="string"&&l.length>0?l:void 0}function n3(n){if(typeof n.text=="string")return n.text;if(typeof n.blob=="string")try{return atob(n.blob)}catch{return""}return""}async function Y6(n,i){if(!n?.tools)return;const l=new Map;for(const A of n.tools){const T=a3(n.toolsMetadata?.[A.name]??A._meta);T&&l.set(T,[...l.get(T)??[],A.name])}if(l.size===0)return{};const u={},f=(A,T)=>{u[A]=Array.from(new Set([...u[A]??[],...T]))},p=(A,T)=>{if(A.size===0)return;const M=u.sandboxPermissionTools??{};for(const w of A)M[w]=Array.from(new Set([...M[w]??[],...T])).sort();u.sandboxPermissionTools=M,u.sandboxPermissionNames=Object.keys(M).sort()};return(await Promise.all(Array.from(l.entries()).map(async([A,T])=>{try{const M=(await i(A))?.contents?.[0];if(!M)return!1;const w=new Set([...e3(n3(M)),...t3(M._meta)]);p(o3(M._meta),T);for(const I of w)f(I,T);return!0}catch{return!1}}))).every(Boolean)?u:void 0}var Fr=as,Hi=Kv,qi=Zv,r3=Qv,Ht=Zr,s3=Wv,i3=Jv,l3={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"},c3={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"},Hr={updateModelContext:{text:{},image:{},resourceLink:{},resource:{},structuredContent:{}},message:{text:{},image:{},resourceLink:{},resource:{}}},he={claude:{mcpAppsCapabilities:Hi},"claude-desktop":{mcpAppsCapabilities:Hi},"claude-code":{mcpAppsCapabilities:Fr},"claude-code-desktop":{mcpAppsCapabilities:Hi},"claude-code-web":{mcpAppsCapabilities:Hi},chatgpt:{mcpAppsCapabilities:qi,hostCapabilitiesReplacement:Hr},"chatgpt-desktop":{mcpAppsCapabilities:qi,hostCapabilitiesReplacement:Hr},"chatgpt-work":{mcpAppsCapabilities:qi,hostCapabilitiesReplacement:Hr},"chatgpt-work-desktop":{mcpAppsCapabilities:qi,hostCapabilitiesReplacement:Hr},mistral:{mcpAppsCapabilities:{...Fr,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:i3},slack:{mcpAppsCapabilities:l3},gemini:{mcpAppsCapabilities:c3},cursor:{mcpAppsCapabilities:r3,hostCapabilitiesAugment:{serverTools:{listChanged:!1},serverResources:{listChanged:!1}}},"copilot-cli":{mcpAppsCapabilities:Ht},"cursor-cli":{mcpAppsCapabilities:Ht},"codex-cli":{mcpAppsCapabilities:Ht},copilot:{mcpAppsCapabilities:s3},codex:{mcpAppsCapabilities:{...Fr,serverResources:!1,logging:!1,cspConnectDomains:{fetch:!0,xhr:!0,websocket:!0}},hostCapabilitiesReplacement:Hr},vscode:{mcpAppsCapabilities:$v,hostCapabilitiesAugment:{serverTools:{listChanged:!0},serverResources:{listChanged:!0}},hostCapabilitiesReplacement:{updateModelContext:{audio:{},image:{},resourceLink:{},resource:{},structuredContent:{}}}},agentcore:{mcpAppsCapabilities:Ht},n8n:{mcpAppsCapabilities:Ht},perplexity:{mcpAppsCapabilities:Ht},cline:{mcpAppsCapabilities:Ht},notion:{mcpAppsCapabilities:Ht},muse:{mcpAppsCapabilities:Ht},grokbot:{mcpAppsCapabilities:Ht},mcpjam:{mcpAppsCapabilities:Fr}},R2={};function ed(n,i,l){const u={};if(n.openLinks&&(u.openLinks={}),n.serverTools&&(u.serverTools={}),n.serverResources&&(u.serverResources={}),n.logging&&(u.logging={}),n.updateModelContext&&(u.updateModelContext={text:{}}),n.message&&(u.message={text:{}}),n.downloadFile&&(u.downloadFile={}),i)for(const[f,p]of Object.entries(i))u[f]!==void 0&&(u[f]={...u[f],...p});if(l)for(const[f,p]of Object.entries(l))u[f]!==void 0&&(u[f]=p);return u}function u3(n,i){if(!i)return n;const l=i.availableDisplayModes,u=l!==void 0?l.length>0?l:["inline"]:n.availableDisplayModes,f=n.cspConnectDomains||i.cspConnectDomains?{...n.cspConnectDomains,...i.cspConnectDomains}:void 0,p=n.cspResourceDomains||i.cspResourceDomains?{...n.cspResourceDomains,...i.cspResourceDomains}:void 0,A=n.toolResult||i.toolResult?{...n.toolResult,...i.toolResult,...n.toolResult?.content||i.toolResult?.content?{content:{...n.toolResult?.content,...i.toolResult?.content}}:{}}:void 0;return{availableDisplayModes:u,toolInputPartial:i.toolInputPartial??n.toolInputPartial,toolCancelled:i.toolCancelled??n.toolCancelled,hostContextChanged:i.hostContextChanged??n.hostContextChanged,resourceTeardown:i.resourceTeardown??n.resourceTeardown,toolInfo:i.toolInfo??n.toolInfo,openLinks:i.openLinks??n.openLinks,serverTools:i.serverTools??n.serverTools,serverResources:i.serverResources??n.serverResources,logging:i.logging??n.logging,updateModelContext:i.updateModelContext??n.updateModelContext,message:i.message??n.message,sandboxPermissions:i.sandboxPermissions??n.sandboxPermissions,cspFrameDomains:i.cspFrameDomains??n.cspFrameDomains,cspBaseUriDomains:i.cspBaseUriDomains??n.cspBaseUriDomains,cspConnectDomains:f,cspResourceDomains:p,toolResult:A,resourcePrefersBorder:i.resourcePrefersBorder??n.resourcePrefersBorder,downloadFile:i.downloadFile??n.downloadFile,requestTeardown:i.requestTeardown??n.requestTeardown,safeAreaInsets:i.safeAreaInsets??n.safeAreaInsets,widgetDisplayModeRequests:i.widgetDisplayModeRequests??n.widgetDisplayModeRequests}}function d3(n,i){const l=i(n.hostStyle)?.mcpAppsCapabilities,u=n.profile?.apps?.mcpAppsOverrides;return u3(l??(u!==void 0?Ht:Fr),u)}function X6(n,i){if(n.profile?.apps?.mcpAppsOverrides!==void 0){const u=d3({profile:n.profile,hostStyle:n.hostStyle},i),f=i(n.hostStyle);return ed(u,f?.hostCapabilitiesAugment,f?.hostCapabilitiesReplacement)}if(n.hostCapabilitiesOverride!==void 0){const{sandbox:u,...f}=n.hostCapabilitiesOverride;return f}const l=i(n.hostStyle);return l?ed(l.mcpAppsCapabilities,l.hostCapabilitiesAugment,l.hostCapabilitiesReplacement):R2}var rs={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},f3={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},I2={...rs,notifyIntrinsicHeight:!1,setOpenInAppUrl:!1,uploadFile:!1,selectFiles:!1,getFileDownloadUrl:!1,requestCheckout:!1},D2="/chatgpt_desktop_logo.png",p3="/muse_logo.png",g3="/grokbot_logo.png",h3={id:"claude-code-desktop",mcp:{protocolOverride:ge.MCP_APPS,platform:Wi,fontCss:"",...he["claude-code-desktop"],resolveStyleVariables:ts},chatUi:{label:"Claude Code Desktop",shortLabel:"Claude Code Desktop-style host",pickerDescription:"Claude Code in the Claude desktop app",logoSrc:Ig,family:"claude",resolveChatBackground:n=>os[n],loadingIndicator:id}},m3={id:"claude-code-web",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he["claude-code-web"],resolveStyleVariables:ts},chatUi:{label:"Claude Code Web",shortLabel:"Claude Code Web-style host",pickerDescription:"Claude Code Web in the browser",logoSrc:Rg,family:"claude",resolveChatBackground:n=>os[n],loadingIndicator:id}},b3={id:"chatgpt-desktop",mcp:{protocolOverride:ge.OPENAI_SDK,platform:"desktop",fontCss:"",...he["chatgpt-desktop"],resolveStyleVariables:ko,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:I2}},chatUi:{label:"ChatGPT Desktop",shortLabel:"ChatGPT Desktop-style host",pickerDescription:"ChatGPT desktop app chrome",logoSrc:D2,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:$i}},v3={id:"chatgpt-work",mcp:{protocolOverride:ge.OPENAI_SDK,platform:"web",fontCss:"",...he["chatgpt-work"],resolveStyleVariables:ko,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:rs}},chatUi:{label:"ChatGPT Work",shortLabel:"ChatGPT Work-style host",pickerDescription:"ChatGPT Work in the browser",logoSrc:Dg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:$i}},y3={id:"chatgpt-work-desktop",mcp:{protocolOverride:ge.OPENAI_SDK,platform:"desktop",fontCss:"",...he["chatgpt-work-desktop"],resolveStyleVariables:ko,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:I2}},chatUi:{label:"ChatGPT Work Desktop",shortLabel:"ChatGPT Work Desktop-style host",pickerDescription:"ChatGPT work mode in the desktop app",logoSrc:D2,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:$i}},x3={id:"codex-cli",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he["codex-cli"],resolveStyleVariables:ko},chatUi:{label:"Codex CLI",shortLabel:"Codex CLI-style host",pickerDescription:"OpenAI Codex in a terminal",logoSrc:zg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},S3={id:"muse",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.muse,resolveStyleVariables:Mo},chatUi:{label:"Muse",shortLabel:"Muse-style host",pickerDescription:"Muse MCP client (tools-only)",logoSrc:p3,family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:tl}},A3={id:"grokbot",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.grokbot,resolveStyleVariables:Mo},chatUi:{label:"Grokbot",shortLabel:"Grokbot-style host",pickerDescription:"Grokbot MCP client (tools-only)",logoSrc:g3,family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:tl}},T3={id:"claude",mcp:{protocolOverride:ge.MCP_APPS,platform:Wi,fontCss:"",...he.claude,resolveStyleVariables:ts},chatUi:{label:"Claude",shortLabel:"Claude-style host",pickerDescription:"Claude-style swarm chrome",logoSrc:Rg,family:"claude",resolveChatBackground:n=>os[n],loadingIndicator:g2}},C3={id:"claude-desktop",mcp:{protocolOverride:ge.MCP_APPS,platform:Wi,fontCss:"",...he["claude-desktop"],resolveStyleVariables:ts},chatUi:{label:"Claude Desktop",shortLabel:"Claude Desktop-style host",pickerDescription:"Claude desktop app chrome",logoSrc:Ig,family:"claude",resolveChatBackground:n=>os[n],loadingIndicator:g2}},w3={id:"claude-code",mcp:{protocolOverride:ge.MCP_APPS,platform:Wi,fontCss:"",...he["claude-code"],resolveStyleVariables:ts},chatUi:{label:"Claude Code",shortLabel:"Claude Code-style host",pickerDescription:"Anthropic Claude Code CLI chrome",logoSrc:zb,family:"claude",resolveChatBackground:n=>os[n],loadingIndicator:id}},_3={id:"chatgpt",mcp:{protocolOverride:ge.OPENAI_SDK,platform:"web",fontCss:"",...he.chatgpt,resolveStyleVariables:ko,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:rs}},chatUi:{label:"ChatGPT",shortLabel:"ChatGPT-style host",pickerDescription:"OpenAI-style swarm chrome",logoSrc:Dg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:$i}},E3={id:"mistral",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.mistral,resolveStyleVariables:s4},chatUi:{label:"Mistral",shortLabel:"Mistral-style host",pickerDescription:"Mistral web host",logoSrc:Ub,family:"chatgpt",resolveChatBackground:n=>i4[n],loadingIndicator:A4}},k3={id:"goose",mcp:{protocolOverride:ge.MCP_APPS,platform:i2,fontCss:u2,...he.goose,resolveStyleVariables:l4},chatUi:{label:"Goose",shortLabel:"Goose-style host",pickerDescription:"Goose Desktop host",logoSrc:G0,logoSrcByTheme:{light:G0,dark:Nb},family:"chatgpt",resolveChatBackground:n=>c4[n],loadingIndicator:h4}},M3={id:"slack",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:p2,...he.slack,resolveStyleVariables:u4},chatUi:{label:"Slackbot",shortLabel:"Slackbot-style host",pickerDescription:"Slackbot MCP host",logoSrc:Fb,family:"chatgpt",resolveChatBackground:n=>d4[n],loadingIndicator:el}},R3={id:"cursor",mcp:{protocolOverride:ge.MCP_APPS,platform:t2,fontCss:"",...he.cursor,resolveStyleVariables:a2},chatUi:{label:"Cursor",shortLabel:"Cursor-style host",pickerDescription:"Cursor IDE chat panel chrome",logoSrc:Og,family:"chatgpt",resolveChatBackground:n=>o2[n],loadingIndicator:ld}},I3={id:"cursor-cli",mcp:{protocolOverride:ge.MCP_APPS,platform:t2,fontCss:"",...he["cursor-cli"],resolveStyleVariables:a2},chatUi:{label:"Cursor CLI",shortLabel:"Cursor CLI-style host",pickerDescription:"Cursor coding CLI chrome",logoSrc:Og,family:"chatgpt",resolveChatBackground:n=>o2[n],loadingIndicator:ld}},hg={id:"copilot",mcp:{protocolOverride:ge.OPENAI_SDK,platform:"web",fontCss:"",...he.copilot,resolveStyleVariables:ko,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:f3}},chatUi:{label:"Copilot",shortLabel:"Copilot-style host",pickerDescription:"Microsoft 365 Copilot chrome",logoSrc:Lb,family:"chatgpt",resolveChatBackground:n=>n==="dark"?"rgba(48, 48, 48, 1)":Ha.light,loadingIndicator:m4}},D3={id:"codex",mcp:{protocolOverride:ge.OPENAI_SDK,platform:"web",fontCss:"",...he.codex,resolveStyleVariables:ko},chatUi:{label:"Codex",shortLabel:"Codex-style host",pickerDescription:"OpenAI Codex CLI-style chrome",logoSrc:zg,family:"chatgpt",resolveChatBackground:n=>Ha[n],loadingIndicator:el}},O3={id:"vscode",mcp:{protocolOverride:ge.MCP_APPS,platform:n4,fontCss:"",...he.vscode,resolveStyleVariables:a4},chatUi:{label:"VS Code",shortLabel:"VS Code-style host",pickerDescription:"Visual Studio Code chat panel chrome",logoSrc:jb,family:"chatgpt",resolveChatBackground:n=>r4[n],loadingIndicator:ld}},z3={id:"agentcore",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.agentcore,resolveStyleVariables:Mo},chatUi:{label:"AgentCore",shortLabel:"AgentCore-style host",pickerDescription:"AWS Bedrock AgentCore runtime (text servers only)",logoSrc:Vb,family:"claude",resolveChatBackground:n=>Ro[n],loadingIndicator:el}},U3={id:"n8n",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.n8n,resolveStyleVariables:Mo},chatUi:{label:"n8n",shortLabel:"n8n-style host",pickerDescription:"n8n MCP Client Tool (tools-only)",logoSrc:Bb,family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:b4}},N3={id:"gemini",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.gemini,resolveStyleVariables:Mo},chatUi:{label:"Gemini",shortLabel:"Gemini-style host",pickerDescription:"Gemini (MCP Apps, no sandbox capability)",logoSrc:Xb,family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:tl}},L3={id:"perplexity",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.perplexity,resolveStyleVariables:Mo},chatUi:{label:"Perplexity",shortLabel:"Perplexity-style host",pickerDescription:"Perplexity MCP client (tools-only)",logoSrc:Hb,family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:y4}},P3={id:"cline",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.cline,resolveStyleVariables:Mo},chatUi:{label:"Cline",shortLabel:"Cline-style host",pickerDescription:"Cline MCP client (tools-only)",logoSrc:Y0,logoSrcByTheme:{light:Y0,dark:qb},family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:x4}},j3={id:"notion",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.notion,resolveStyleVariables:Mo},chatUi:{label:"Notion",shortLabel:"Notion-style host",pickerDescription:"Notion AI agent (tools-only)",logoSrc:Gb,family:"chatgpt",resolveChatBackground:n=>Ro[n],loadingIndicator:S4}},O2={id:"mcpjam",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he.mcpjam,resolveStyleVariables:Mo,compatRuntime:{openaiApps:!0,openaiAppsCapabilities:rs}},chatUi:{label:"MCPJam",shortLabel:"MCPJam-style host",pickerDescription:"Inspector's house chrome",logoSrc:Yb,family:"claude",resolveChatBackground:n=>Ro[n],loadingIndicator:tl}},V3=[O2,T3,_3,b3,v3,y3,E3,k3,M3,R3,I3,{id:"copilot-cli",mcp:{protocolOverride:ge.MCP_APPS,platform:"web",fontCss:"",...he["copilot-cli"],resolveStyleVariables:ko},chatUi:{...hg.chatUi,label:"GitHub Copilot CLI",shortLabel:"GitHub Copilot CLI",pickerDescription:"GitHub Copilot CLI in a hosted sandbox",logoSrc:F0,logoSrcByTheme:{light:F0,dark:Pb}}},hg,D3,x3,w3,h3,m3,C3,O3,z3,U3,N3,L3,P3,j3,S3,A3],B3="#F2735B",H3={1:[0],2:[0,150],3:[0,150,300]};function q3({def:n,className:i}){if(n.kind==="dots"){const u=n.color??B3,f=n.count===1||n.count===2||n.count===3?n.count:3,p=H3[f];return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center gap-1",i),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("span",{"aria-hidden":"true","data-testid":"loading-indicator-dispatch-dots","data-dot-count":f,className:"inline-flex items-center gap-1",children:p.map((A,T)=>(0,C.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full animate-thinking-dot-pulse",style:{backgroundColor:u,animationDelay:`${A}ms`}},T))})]})}const l=n.animation==="spin"?"animate-spin":n.animation==="none"?"":"animate-pulse";return(0,C.jsxs)("span",{className:We("inline-flex min-h-6 items-center",i),"aria-live":"polite",children:[(0,C.jsx)("span",{className:"sr-only",children:"Thinking"}),(0,C.jsx)("img",{src:n.src,alt:"","aria-hidden":"true","data-testid":"loading-indicator-dispatch-image","data-animation":n.animation??"pulse",className:We("h-5 w-5 object-contain",l)})]})}var ud=new Map;for(const n of V3)ud.set(n.id,n);var z2=O2;function dd(n){if(n)return ud.get(n)}function G3(n){return dd(n)??z2}function K6(n){const i=dd(n);return i?ed(i.mcp.mcpAppsCapabilities,i.mcp.hostCapabilitiesAugment,i.mcp.hostCapabilitiesReplacement):R2}function Z6(n){const i=dd(n)?.mcp.compatRuntime;return i?.openaiApps?{injected:!0,capabilities:i.openaiAppsCapabilities??rs}:{injected:!1}}function Q6(n,i){return Hn({hostStyle:n,chatUiOverride:i}).chatUi.loadingIndicator}function F3(){return Array.from(ud.values())}function Hn(n){const i=G3(n.hostStyle),l=n.chatUiOverride;if(!l)return i;const u=l.family??i.chatUi.family,f=l.chatBackground,p=f?E=>f[E]:i.chatUi.resolveChatBackground,A=l.indicator!==void 0?Y3(l.indicator):i.chatUi.loadingIndicator,T={label:l.label??i.chatUi.label,shortLabel:l.shortLabel??i.chatUi.shortLabel,pickerDescription:l.pickerDescription??i.chatUi.pickerDescription,logoSrc:l.logoSrc??i.chatUi.logoSrc,logoSrcByTheme:l.logoSrc!==void 0?void 0:i.chatUi.logoSrcByTheme,family:u,resolveChatBackground:p,loadingIndicator:A},M=l.styleVariables,w=M?E=>M[E]:i.mcp.resolveStyleVariables,I={...i.mcp,fontCss:l.fontCss??i.mcp.fontCss,resolveStyleVariables:w};return{id:i.id,chatUi:T,mcp:I}}function Y3(n){function i({className:l}){return(0,U.createElement)(q3,{def:n,className:l})}return i.displayName=`CustomHostIndicator(${n.kind})`,i}function X3(n){if(typeof n!="string")return null;const i=n.trim();return i.length>0?i:null}function J6(n,i){return Hn({hostStyle:n,chatUiOverride:i}).chatUi.label}function K3(n,i,l){return Z3(Hn({hostStyle:n,chatUiOverride:i}).chatUi,l)}function Z3(n,i){return i?n.logoSrcByTheme?.[i]??n.logoSrc:n.logoSrc}function Q3(n){const i=n.trim().toLowerCase().replace(/\s+/g,"");if(!i)return null;for(const l of F3()){const u=l.id.toLowerCase(),f=l.chatUi.label.toLowerCase().replace(/\s+/g,""),p=l.chatUi.shortLabel.toLowerCase().replace(/\s+/g,"");if(i===u||i===f||i===p)return l.id}return null}function W6(n,i){const l=Q3(n);return l?K3(l,void 0,i):null}function $6(n,i){return n?Hn({hostStyle:n,chatUiOverride:i}).chatUi.family:null}function e8(n,i,l){if(n)return Hn({hostStyle:n,chatUiOverride:l}).chatUi.resolveChatBackground(i)}function t8(n,i,l){const u=Hn({hostStyle:n,chatUiOverride:l}),f=u.mcp.resolveStyleVariables(i),p=u.chatUi.resolveChatBackground(i),A=f,T=(M,w)=>A[M]??w;return{"--background":p,"--foreground":T("--color-text-primary",p),"--card":T("--color-background-primary",p),"--card-foreground":T("--color-text-primary",p),"--popover":T("--color-background-primary",p),"--popover-foreground":T("--color-text-primary",p),"--secondary":T("--color-background-secondary",p),"--secondary-foreground":T("--color-text-primary",p),"--muted":T("--color-background-secondary",p),"--muted-foreground":T("--color-text-secondary",p),"--accent":T("--color-background-tertiary",p),"--accent-foreground":T("--color-text-primary",p),"--border":T("--color-border-secondary",p),"--input":T("--color-border-primary",p),"--ring":T("--color-ring-primary",p),"--font-sans":T("--font-sans","ui-sans-serif, sans-serif"),"--shadow-sm":A["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow":A["--shadow"]??A["--shadow-sm"]??"0 1px 2px -1px rgba(0, 0, 0, 0.08)","--shadow-md":A["--shadow-md"]??"0 2px 4px -1px rgba(0, 0, 0, 0.08)","--shadow-lg":A["--shadow-lg"]??"0 4px 8px -2px rgba(0, 0, 0, 0.1)"}}var U2=J5("tester-link"),N2=U2.pattern.split("/")[1]??"user-testing",J3=U2.reserved?.[0]??"edit",L2=Cg(N2),P2=Cg(J3),o8=new RegExp(`^/${L2}/[^/]+/(?!${P2}/?$)[^/]+/?$`),j2=new RegExp(`^/${L2}/[^/?#]+/(?!${P2}(?:[/?#]|$))([^/?#]+)`);function a8(n){return n===Sg}function n8(n){const i=j2.exec(n);if(!i||!i[1])return null;const l=i.index+i[0].length,u=l-i[1].length;return`${n.slice(0,u)}${Sg}${n.slice(l)}`}function W3(n){const i=n.match(j2);if(!i||!i[1])return null;try{return decodeURIComponent(i[1]).trim()||null}catch{return i[1].trim()||null}}var mg="https://app.mcpjam.com";function V2(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_]+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")||"server"}function $3(){return typeof window>"u"?mg:window.location.protocol==="http:"||window.location.protocol==="https:"?window.location.origin:mg}var fd="mcpjam_scenario_session_v2",e7="mcp-oauth-scenario-pending",pd="mcpjam_scenario_signin_return_path_v1";function r8(n){return`scenario-enabled-optional:${n}`}function t7(n){return!!n&&typeof n=="object"&&!Array.isArray(n)&&Object.values(n).every(i=>typeof i=="string")}function o7(n){if(!n||typeof n!="object")return;const i=n.surfaces;if(!i||typeof i!="object")return;const l=i.welcome,u=l&&typeof l=="object"&&typeof l.enabled=="boolean"?{enabled:l.enabled,body:typeof l.body=="string"?l.body:""}:void 0,f=i.perTurnFeedback,p=f&&typeof f=="object"&&typeof f.enabled=="boolean"?{enabled:f.enabled,...f.style==="thumbs"?{style:"thumbs"}:{},...Yi(f,"prompt"),...Yi(f,"commentPlaceholder"),...Yi(f,"thanksMessage")}:void 0,A=i.tasks,T=A&&typeof A=="object"?A.items:void 0,M=Array.isArray(T)?{items:a7(T)}:void 0;if(!(!u&&!p&&!M))return{surfaces:{...u?{welcome:u}:{},...p?{perTurnFeedback:p}:{},...M?{tasks:M}:{}}}}function a7(n){const i=new Set,l=[];for(const u of n){if(!u||typeof u!="object")continue;const f=u.id,p=u.title;typeof f!="string"||f.length===0||typeof p!="string"||p.trim().length===0||i.has(f)||(i.add(f),l.push({id:f,title:p,...Yi(u,"hint")}))}return l}function Yi(n,i){const l=n[i];return typeof l=="string"?{[i]:l}:{}}function n7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function r7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function s7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function i7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function l7(n){if(!(!n||typeof n!="object"||Array.isArray(n)))return n}function c7(n){return n==="project_members"?"project_members":n==="anyone_with_link"||n==="any_signed_in_with_link"?"anyone_with_link":"invited_only"}function u7(n){return W3(n)}function d7(n){if(!n||typeof n!="object")return null;const i=typeof n.scenarioId=="string"?n.scenarioId.trim():"",l=typeof n.accessVersion=="number"&&Number.isFinite(n.accessVersion)?n.accessVersion:null,u=n.payload,f=X3(u?.hostStyle)??(u?.hostStyle==null?z2.id:null);return!i||l===null||!u||typeof u.projectId!="string"||typeof u.scenarioId!="string"||typeof u.name!="string"||f===null||typeof u.modelId!="string"||typeof u.systemPrompt!="string"||typeof u.temperature!="number"||typeof u.requireToolApproval!="boolean"||typeof u.allowGuestAccess!="boolean"||typeof u.viewerIsProjectMember!="boolean"||!Array.isArray(u.servers)?null:{scenarioId:i,accessVersion:l,payload:{projectId:u.projectId,scenarioId:u.scenarioId,name:u.name,description:typeof u.description=="string"?u.description:void 0,hostStyle:f,mode:c7(u.mode),...u.requiresSignIn!==void 0?{requiresSignIn:u.requiresSignIn===!0}:{},allowGuestAccess:u.requiresSignIn?!1:u.allowGuestAccess,viewerIsProjectMember:u.viewerIsProjectMember,systemPrompt:u.systemPrompt,modelId:u.modelId,modelReadiness:u.modelReadiness,temperature:u.temperature,requireToolApproval:u.requireToolApproval,modelVisibleMcpToolResults:r7(u.modelVisibleMcpToolResults),mcpToolResultImageRendering:s7(u.mcpToolResultImageRendering),servers:u.servers.filter(p=>!!p&&typeof p=="object"&&typeof p.serverId=="string"&&typeof p.serverName=="string").map(p=>({serverId:p.serverId,serverName:p.serverName,useOAuth:!!p.useOAuth,serverUrl:typeof p.serverUrl=="string"?p.serverUrl:null,clientId:typeof p.clientId=="string"?p.clientId:null,oauthScopes:Array.isArray(p.oauthScopes)?p.oauthScopes:null,...typeof p.oauthProtocolMode=="string"?{oauthProtocolMode:p.oauthProtocolMode}:{},...typeof p.oauthProtocolVersion=="string"?{oauthProtocolVersion:p.oauthProtocolVersion}:{},...typeof p.wireProtocolVersion=="string"?{wireProtocolVersion:p.wireProtocolVersion}:{},...typeof p.oauthResourceUrl=="string"?{oauthResourceUrl:p.oauthResourceUrl}:{},...typeof p.hasClientSecret=="boolean"?{hasClientSecret:p.hasClientSecret}:{},...t7(p.oauthCustomHeaders)?{oauthCustomHeaders:p.oauthCustomHeaders}:{},...typeof p.oauthAllowPathScopedIssuer=="boolean"?{oauthAllowPathScopedIssuer:p.oauthAllowPathScopedIssuer}:{},...typeof p.registrationMode=="string"?{registrationMode:p.registrationMode}:{},optional:!!p.optional})),chatUi:o7(u.chatUi),hostCapabilitiesOverride:n7(u.hostCapabilitiesOverride),chatUiOverride:i7(u.chatUiOverride),mcpProfile:l7(u.mcpProfile)},...typeof n.authenticatedUserId=="string"?{authenticatedUserId:n.authenticatedUserId}:{},surface:n.surface==="preview"?"preview":"share_link",shareToken:typeof n.shareToken=="string"&&n.shareToken.trim()?n.shareToken.trim():void 0}}function f7(n){try{const i=sessionStorage.getItem(n);return i?d7(JSON.parse(i)):null}catch{return null}}function B2(){return f7(fd)}function p7(n,i){sessionStorage.setItem(n,JSON.stringify(i))}function s8(n){p7(fd,n)}function i8(n){try{const i=new URL(n,window.location.href);return i.searchParams.set("surface","preview"),i.toString()}catch{return n}}function l8(n){try{return new URLSearchParams(n).get("surface")==="preview"?"preview":"share_link"}catch{return"share_link"}}function c8(){sessionStorage.removeItem(fd)}function H2(n){const i=n.trim();if(!i.startsWith("/")||i.startsWith("//")||i.includes("\\"))return null;try{const l=new URL(i,window.location.origin);return l.origin!==window.location.origin||!u7(l.pathname)?null:l.pathname+(l.searchParams.get("surface")==="preview"?"?surface=preview":"")}catch{return null}}function u8(n){const i=H2(n);if(i)try{localStorage.setItem(pd,i)}catch{}}function d8(){try{const n=localStorage.getItem(pd);if(!n)return null;const i=H2(n);return i||null}catch{return null}}function f8(){localStorage.removeItem(pd)}function p8(n,i){return`${$3()}/${N2}/${V2(i)}/${encodeURIComponent(n)}`}var g7=U.createContext(null);g7.displayName="DataRouter";var h7=U.createContext(null);h7.displayName="DataRouterState";var m7=U.createContext(null);m7.displayName="DataRouterData";var b7=U.createContext(null);b7.displayName="DataRouterNavigation";var v7=U.createContext(!1);function g8(){return U.useContext(v7)}var y7=U.createContext({isTransitioning:!1});y7.displayName="ViewTransition";var x7=U.createContext(null);x7.displayName="Fetchers";var S7=U.createContext(null);S7.displayName="Await";var q2=U.createContext(null);q2.displayName="Navigation";var ua=U.createContext(null);ua.displayName="Location";var A7=U.createContext({outlet:null,matches:[],isDataRoute:!1});A7.displayName="Route";var T7=U.createContext(!1);T7.displayName="IsDataRoute";var C7=U.createContext(void 0);C7.displayName="RouteId";var w7=U.createContext(null);w7.displayName="RouteError";var G2=null;function F2(){return G2}function h8(n){G2=n}var Y2=[{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:"Evaluate",purpose:"Build and run eval suites against a host: test cases with expected tool calls, scored over repeated runs. Two lenses over the same suites — Suites (`/evals`) authors and runs them; Runs (`/evals/runs`) reviews the results CI already produced, keyed by commit.",userActivities:["Create or edit an eval suite and its test cases","Run a suite and watch its runs","Generate suggested test cases for a suite","Open a run to inspect each step, tool call, and score","Compare runs","Review eval results for a commit under Runs","Open a CI run's details under Runs"],hasSnapshotProvider:!0,agentTools:{kind:"group"},showInAtlas:!0},{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 (New)",purpose:"Preview of the redesigned Evaluate tab: a suites landing with a Runs view, a full-page create-suite flow, and a suite overview built around run history. Same suites and same data as Evaluate — only the screens differ.",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:`Flag-gated preview of the Evaluate tab. It bridges as surfaceId "evals" and reuses that surface's tool group, so declaring a second group would advertise duplicate tools for the same suites.`},showInAtlas:!1},{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/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"],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 gd(){return Y2}var _7=new Map(gd().map(n=>[n.id,n]));function m8(n){return typeof n=="string"&&_7.has(n)}var E7=new Map(gd().flatMap(n=>n.navSegments.map(i=>[i,n])));function b8(n){return E7.get(n)}function k7(){const n=new Set;for(const i of Y2)for(const l of i.navSegments)n.add(l);return[...n]}function M7(){const n=new Set;for(const i of gd())if(i.hostedBlocked)for(const l of i.navSegments)n.add(l);return[...n]}var R7={chat:"playground",connect:"clients",hosts:"clients","user-testing":"scenarios","ci-evals":"evals"},I7=M7(),D7=new Set(I7);function ol(n){return R7[n]??n}function v8(n){return D7.has(ol(n))}var O7=[{path:"redeem",kind:"special",scope:"public",standalone:!0,note:"Conference card confirmation outside onboarding and project chrome."},{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/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:"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 z7(n,i){if(n==="*")return"splat";if(n==="/")return i.length===0?"exact":null;const l=n.split("/").filter(Boolean),u=l[l.length-1]==="*",f=u?l.slice(0,-1):l;if(u?i.length<f.length:i.length!==f.length)return null;let p=!1;for(let A=0;A<f.length;A+=1){const T=f[A];if(T.startsWith(":")){if(!i[A])return null;p=!0;continue}if(T!==i[A])return null}return u?"splat":p?"param":"exact"}function U7(n){const i=(typeof n=="string"?n.split(/[?#]/)[0]:"").split("/").filter(Boolean);let l=null,u=null;for(const f of O7){if(f.path==="*")continue;const p=z7(f.path,i);if(p==="exact")return f;p==="param"&&!l&&(l=f),p==="splat"&&!u&&(u=f)}return l??u}function N7(n){return U7(n)?.scope??null}function L7(n){return N7(n)==="project"}function P7(n){return n==="members"||n==="sharing"||n==="audit-log"||n==="data-management"||n==="integrations"||n==="api-keys"||n==="plans"?n:n==="billing"?"billing":n==="models"?"models":n==="slack"?"slack":n==="discord"?"discord":n==="observability"?"observability":"overview"}var q={root:"/",home:"/home",servers:"/servers",hosts:"/hosts",hostCompare:"/host-compare",embedHostCompare:"/embed/host-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 y8(n){return n?`${q.servers}/${encodeURIComponent(n)}`:q.servers}function x8(n){return n?`${q.servers}/plugins/${encodeURIComponent(n)}`:q.servers}function S8(n){return n?`${q.environments}/${encodeURIComponent(n)}`:q.environments}function A8(n){return n?`${q.hosts}/${encodeURIComponent(n)}`:q.hosts}function T8(n){if(!n||n.length===0)return q.hostCompare;const i=n.map(u=>u.trim()).filter(u=>u.length>0);if(i.length===0)return q.hostCompare;const l=new URLSearchParams({hosts:i.join(",")});return`${q.hostCompare}?${l.toString()}`}var C8=`${q.userTesting}/new`,j7=new Set(["sessions","insights","findings"]);function w8(n){return n===0?"insights":"findings"}function _8(n,i={}){const l=`${q.userTesting}/${encodeURIComponent(n)}`,u=new URLSearchParams,f=i.defaultTab??"findings";i.tab&&i.tab!==f&&u.set("tab",i.tab),i.session&&u.set("session",i.session),i.sel&&u.set("sel",i.sel),i.view&&i.view!=="flow"&&u.set("view",i.view);const p=u.toString();return p?`${l}?${p}`:l}function E8(n){return`${q.userTesting}/${encodeURIComponent(n)}/edit`}function k8(n){const i=new URLSearchParams(n).get("tab");return i==="edit"||i==="share"||i==="preview"}function M8(n,i="findings"){const l=new URLSearchParams(n),u=l.get("tab");return u==="clusters"?"insights":u&&j7.has(u)?u:l.get("session")?"sessions":i}var R8=`${q.swarms}/new`;function I8(n,i={}){const l=`${q.swarms}/${encodeURIComponent(n)}`,u=new URLSearchParams;i.tab&&u.set("tab",i.tab),i.session&&u.set("session",i.session),i.sel&&u.set("sel",i.sel),i.finding&&u.set("finding",i.finding);const f=u.toString();return f?`${l}?${f}`:l}function D8(n){const i=new URLSearchParams(n),l=i.get("tab");return l==="run"?"run":l==="sessions"?"sessions":l==="insights"||l==="personas"||l==="overview"?"insights":l==="findings"?"findings":i.get("session")?"sessions":"findings"}function O8(n){const i=new URLSearchParams({persona:n.personaRefId,run:n.runId,host:n.hostId,session:n.threadId});return`${q.swarms}?${i.toString()}`}function z8(n){const i=new URLSearchParams(n),l=u=>{const f=i.get(u);return f&&f.trim()?f:void 0};return{personaRefId:l("persona"),runId:l("run"),hostId:l("host"),threadId:l("session")}}function U8(n={}){const i=new URLSearchParams;n.session&&i.set("session",n.session);const l=i.toString(),u=l?`${q.sessions}?${l}`:q.sessions;return n.project?Vn(n.project,u):u}function V7(n,i){return i==="members"||i==="sharing"||i==="audit-log"||i==="data-management"||i==="integrations"?`/organizations/${n}/${i}`:i==="api-keys"||i==="plans"?`/organizations/${n}/${i}`:i==="billing"?`/organizations/${n}/billing`:i==="models"?`/organizations/${n}/models`:i==="slack"?`/organizations/${n}/slack`:i==="discord"?`/organizations/${n}/discord`:i==="observability"?`/organizations/${n}/observability`:`/organizations/${n}`}function N8(n){return hd(n.type==="test-edit"||n.type==="test-detail"?q.evaluate:q.evals,n)}function L8(n){return hd(n.type==="test-edit"||n.type==="test-detail"?q.evaluate:q.evalsRuns,n)}function P8(n){return hd(q.evaluate,n)}function j8(n,i="",l=""){if(/^\/(?:evals\/runs|ci-evals)\/commit\/[^/]+\/*$/i.test(n)){const u=new URLSearchParams(i).get("project"),f=new URLSearchParams;return u&&f.set("project",u),`${q.evaluate}${f.size?`?${f}`:""}`}return`${n.replace(/^\/(?:evals(?:\/runs)?|ci-evals)(?=\/|$)/i,q.evaluate)}${i}${l}`}function V8(n,i="",l=""){return`${n.replace(/^\/evals(?:\/runs)?\/suite\/([^/]+)\/test\/([^/]+)(\/edit)?\/*$/i,(u,f,p,A)=>`${q.evaluate}/suite/${f}/test/${p}${A?"/edit":""}`)}${i}${l}`}function hd(n,i){switch(i.type){case"list":return n;case"create":return`${n}/create`;case"eval-server":return n!==q.evaluate?n:`${n}/eval-server/${encodeURIComponent(i.serverId)}`;case"suite-overview":{const l=new URLSearchParams;i.view&&i.view!=="runs"&&l.set("view",i.view),i.fromCommit&&l.set("fromCommit",i.fromCommit),i.importJob&&l.set("importJob",i.importJob);const u=l.toString();return`${n}/suite/${encodeURIComponent(i.suiteId)}${u?`?${u}`:""}`}case"run-detail":{const l=new URLSearchParams,u=i.resultPage;u?.target&&l.set("target",u.target),u?.tab&&l.set("tab",u.tab),i.iteration&&l.set("iteration",i.iteration),i.testCaseId&&l.set("case",i.testCaseId),i.insightsFocus&&l.set("insights","1"),i.compareToRunId&&l.set("compareTo",i.compareToRunId);const f=l.toString();return`${n}/suite/${encodeURIComponent(i.suiteId)}/runs/${encodeURIComponent(i.runId)}${i.comparison?"/compare":""}${u?`/cases/${encodeURIComponent(u.caseKey)}${u.iterationId?`/iterations/${encodeURIComponent(u.iterationId)}`:""}`:""}${f?`?${f}`:""}`}case"test-detail":{const l=new URLSearchParams;i.iteration&&l.set("iteration",i.iteration);const u=l.toString();return`${n}/suite/${encodeURIComponent(i.suiteId)}/test/${encodeURIComponent(i.testId)}${u?`?${u}`:""}`}case"test-edit":{const l=new URLSearchParams;i.openCompare&&l.set("compare","1"),i.checks&&l.set("checks","1"),i.iteration&&l.set("iteration",i.iteration),i.fromEvalServer&&l.set("fromEvalServer",i.fromEvalServer);const u=l.toString();return`${n}/suite/${encodeURIComponent(i.suiteId)}/test/${encodeURIComponent(i.testId)}/edit${u?`?${u}`:""}`}case"suite-edit":return`${n}/suite/${encodeURIComponent(i.suiteId)}/settings${i.tab==="evaluators"?"/evaluators":""}${i.fromCaseChecks?`?fromCaseChecks=${encodeURIComponent(i.fromCaseChecks)}`:""}`;case"commit-detail":{if(n!==q.evalsRuns)return n;const l=new URLSearchParams;i.suite&&l.set("suite",i.suite),i.iteration&&l.set("iteration",i.iteration);const u=l.toString();return`${n}/commit/${encodeURIComponent(i.commitSha)}${u?`?${u}`:""}`}}}function B7(){const n=F2()?.state?.location?.pathname;return n||es()}function X2(n,i){if(typeof n!="string"||!n||n.startsWith("?")||n.startsWith("#")||!Ag(n)||Gu(n))return n;const l=Gu(i??B7());if(!l)return n;const u=n.split(/[?#]/)[0];return L7(u)?Vn(l.projectId,n):n}function H7(n,i){const l=i?.unscoped?n:X2(n),u=F2();if(u){u.navigate(l,{replace:i?.replace,state:i?.state});return}if(!window.dispatchEvent(new Event("settings-before-navigation",{cancelable:!0})))return;const f=i?.state??{};i?.replace?window.history.replaceState(f,"",l):window.history.pushState(f,"",l),window.dispatchEvent(new PopStateEvent("popstate"))}function B8(){const n=(0,U.useContext)(q2),i=(0,U.useContext)(ua),l=n?.navigator,u=i?.location.pathname;return(0,U.useCallback)((f,p)=>{const A=p?.unscoped?f:X2(f,u);if(l){p?.replace?l.replace(A,p.state):l.push(A,p?.state);return}H7(A,p)},[l,u])}function H8(){const n=(0,U.useContext)(ua),[i,l]=(0,U.useState)(es);return(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const u=()=>{l(es())};return window.addEventListener("popstate",u),()=>{window.removeEventListener("popstate",u)}},[n]),G7(n?.location.pathname??i)}function q8(){const n=(0,U.useContext)(ua),[i,l]=(0,U.useState)(es);return(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const u=()=>l(es());return window.addEventListener("popstate",u),()=>window.removeEventListener("popstate",u)},[n]),n?.location.pathname??i}function G8(){const n=(0,U.useContext)(ua),[i,l]=(0,U.useState)(bg);(0,U.useLayoutEffect)(()=>{if(n||typeof window>"u")return;const f=()=>l(bg());return window.addEventListener("popstate",f),()=>window.removeEventListener("popstate",f)},[n]);const u=n?.location;return u?{pathname:u.pathname||"/",search:u.search||"",hash:u.hash||""}:i}function F8(){const n=(0,U.useContext)(ua);return n?n.location.state:typeof window>"u"?void 0:window.history.state}function bg(){return typeof window>"u"?{pathname:"/",search:"",hash:""}:{pathname:window.location.pathname||"/",search:window.location.search||"",hash:window.location.hash||""}}var ss=new Set(k7());function Y8(n){return ss.has(n)}function X8(){return[...ss]}function q7(n){return n==="/billing"||n==="/billing/"||n==="/callback"||n==="/callback/"||n.startsWith("/oauth/callback")}function K8(n){return n==="/oauth/callback/debug"||n.startsWith("/oauth/callback/debug/")}function Z8(n,i){const l=`${q.conformanceRuns}/${encodeURIComponent(n)}`;return i?Vn(i,l):l}function Q8(n){return`${q.conformance}?${new URLSearchParams({run:n})}`}function J8(n){return`${q.conformanceShared}/${encodeURIComponent(n)}`}function W8(n){return`${q.evalsShared}/${encodeURIComponent(n)}`}function G7(n){const i=Tg(n);if(q7(i))return"servers";if(i.startsWith(`${q.capabilities}/`))return"host-compare";const l=i.replace(/^\/+/,"").split("/")[0]||"home",u=ol(l);return ss.has(u)?u:"servers"}function es(){return typeof window>"u"?"/":window.location.pathname||"/"}function $8(){const n=((0,U.useContext)(ua)?.location.pathname??(typeof window>"u"?"/":window.location.pathname)).replace(/^\/+/,"").split("/");if(n[0]!=="organizations")return null;const i=n[1];if(!i)return null;const l=P7(n[2]);return{orgId:F7(i),orgSection:l}}function ey(n){const i=(0,U.useContext)(ua),[l,u]=(0,U.useState)(vg);(0,U.useLayoutEffect)(()=>{if(i||typeof window>"u")return;const p=()=>u(vg());return window.addEventListener("popstate",p),()=>{window.removeEventListener("popstate",p)}},[i]);const f=i?.location.search??l;return new URLSearchParams(f).get(n)}function vg(){return typeof window>"u"?"":window.location.search||""}function F7(n){try{return decodeURIComponent(n)}catch{return n}}function md(n,i=q.servers){const l=Gu(n);if(l){const{suffix:w,path:I}=(()=>{const _=Tg(n),D=_.search(/[?#]/);return D===-1?{path:_,suffix:""}:{path:_.slice(0,D),suffix:_.slice(D)}})(),E=md(`${I}${w}`,i);return Vn(l.projectId,E)}const u=n.replace(/^#/,"").replace(/^\/+/,""),f=u.indexOf("?"),p=f===-1?u:u.slice(0,f),A=f===-1?"":u.slice(f),T=p.split("/").filter(Boolean),M=ol(T[0]||"servers");return ss.has(M)?`/${[M==="scenarios"?"user-testing":M,...T.slice(1)].join("/")}${A}`:i}function K2(n){const i=n.replace(/^#\/?/,"");if(!i)return null;const l=i.split(/[/?]/)[0]||"",u=ol(l);return ss.has(u)?md(u===l?i:`${u}${i.slice(l.length)}`):null}function ty(){if(typeof window>"u")return;const n=window.location.pathname||"/";if(n!=="/"&&n!=="")return;const i=K2(window.location.hash);i&&window.history.replaceState({},"",i)}function Y7(n,i=q.servers){const l=n?.trim()??"";return!l||!Ag(l)?i:md(l,i)}function oy(){if(typeof window>"u")return null;const n=window.location.pathname||q.root,i=window.location.search||"",l=window.location.hash||"";return n===q.root||n===""?null:`${n}${i}${l}`}function X7(n){return Vn(n,q.servers)}function ay(n){return Vn(n,q.projectSettings)}function ny(n,i){const l=(i??[]).filter(u=>u.organizationId===n).sort((u,f)=>f.updatedAt-u.updatedAt)[0];return l&&tb(l._id)?X7(l._id):V7(n)}function ry({routeTab:n,routeOrganizationId:i,isLoadingOrganizations:l,hasRouteOrganization:u}){return n!=="organizations"||l?null:!i||!u?q.servers:null}var bd="mcp-hosted-oauth-pending",K7="mcp-oauth-score-pending",Z7=6e5;function yg(n){return n?.trim().toLowerCase()??""}function al(n,i){const l=n?.trim()??"";if(!l)return null;if(l.startsWith("#")){const u=K2(l);if(u)return u;if(i==="scenario"){const f=l.replace(/^#\/?/,"");return f?`/${f}`:null}}return i==="scenario"&&l.startsWith("/")&&!l.startsWith("//")||i==="score"&&l.startsWith("/")&&!l.startsWith("//")?l:Y7(l)}function Q7(n,i){if(n.serverUrl&&i.serverUrl&&n.serverUrl===i.serverUrl)return!0;const l=yg(n.serverName),u=yg(i.serverName);return!!l&&!!u&&l===u}function sy(n){try{localStorage.setItem(bd,JSON.stringify({...n,organizationId:n.organizationId??null,projectId:n.projectId??null,serverId:n.serverId??null,serverUrl:n.serverUrl??null,sessionId:n.sessionId??null,...n.connectionIntent?{connectionIntent:n.connectionIntent}:{},...n.pluginSignIn?{pluginSignIn:n.pluginSignIn}:{},accessScope:n.accessScope??null,scenarioId:n.scenarioId??null,returnPath:al(n.returnPath,n.surface),startedAt:Date.now()}))}catch{}}function J7(){try{const n=localStorage.getItem(bd);if(!n)return null;const i=JSON.parse(n);return!i||typeof i!="object"||!Mg(i.surface)||typeof i.serverName!="string"||typeof i.startedAt!="number"||Date.now()-i.startedAt>Z7?(Xi(),null):{surface:i.surface,...i.initiatingUserId===null||typeof i.initiatingUserId=="string"?{initiatingUserId:i.initiatingUserId}:{},...i.connectionIntent?.kind==="add"?{connectionIntent:{kind:"add"}}:i.connectionIntent?.kind==="replace"&&typeof i.connectionIntent.credentialId=="string"?{connectionIntent:{kind:"replace",credentialId:i.connectionIntent.credentialId}}:{},...W7(i.pluginSignIn)?{pluginSignIn:{pluginVersionId:i.pluginSignIn.pluginVersionId,componentKey:i.pluginSignIn.componentKey}}:{},organizationId:typeof i.organizationId=="string"?i.organizationId:null,projectId:typeof i.projectId=="string"?i.projectId:null,serverId:typeof i.serverId=="string"?i.serverId:null,serverName:i.serverName,...typeof i.chatAuthContinuationId=="string"?{chatAuthContinuationId:i.chatAuthContinuationId}:{},serverUrl:typeof i.serverUrl=="string"?i.serverUrl:null,sessionId:typeof i.sessionId=="string"?i.sessionId:null,accessScope:i.accessScope==="project_member"||i.accessScope==="chat_v2"?i.accessScope:void 0,scenarioId:typeof i.scenarioId=="string"?i.scenarioId:null,returnPath:al(typeof i.returnPath=="string"?i.returnPath:typeof i.returnHash=="string"?i.returnHash:null,i.surface),suppressErrorToast:i.suppressErrorToast===!0,suppressSuccessToast:i.suppressSuccessToast===!0,startedAt:i.startedAt}}catch{return Xi(),null}}function W7(n){const i=n;return typeof i?.pluginVersionId=="string"&&i.pluginVersionId.length>0&&typeof i.componentKey=="string"&&i.componentKey.length>0}function iy(n){return!!(n?.connectionIntent||n?.pluginSignIn)}function Xi(){localStorage.removeItem(bd)}function $7(){localStorage.removeItem(e7),localStorage.removeItem(K7)}function ly(){Xi(),$7()}function e6(n,i){if(localStorage.getItem("mcp-oauth-scenario-pending"))return"scenario";const l=B2();return l&&l.payload.servers.some(u=>Q7({serverName:u.serverName,serverUrl:u.serverUrl},{serverName:n,serverUrl:i}))?"scenario":null}function t6(){if(typeof window>"u")return null;const n=Ji();if(!n||!n.get("code")&&!n.get("error"))return null;const i=J7();if(i)return i;const l=localStorage.getItem("mcp-oauth-pending")?.trim()??"";if(!l)return null;const u=localStorage.getItem(`mcp-serverUrl-${l}`),f=e6(l,u);return f?{surface:f,organizationId:null,projectId:null,serverId:null,serverName:l,serverUrl:u,sessionId:null,accessScope:void 0,scenarioId:null,returnPath:al(localStorage.getItem("mcp-oauth-return-hash"),f),startedAt:Date.now()}:null}function cy(n){if(n.returnPath)return al(n.returnPath,n.surface)??q.servers;if(n.surface==="scenario"){const i=B2();return i?`/${V2(i.payload.name)}`:q.userTesting}return n.surface==="score"?q.embedScore:q.servers}var Z2="mcp-onboarding-state",Q2="mcp-first-run-server-choice-state";function J2(n){try{const i=localStorage.getItem(n);if(!i)return null;const l=JSON.parse(i);return l.status==="started"||l.status==="seen"||l.status==="dismissed"||l.status==="completed"?{status:l.status,startedAt:typeof l.startedAt=="number"?l.startedAt:void 0,shownAt:typeof l.shownAt=="number"?l.shownAt:void 0,completedAt:typeof l.completedAt=="number"?l.completedAt:void 0,attemptedServerName:typeof l.attemptedServerName=="string"?l.attemptedServerName:void 0,connectedServerKind:l.connectedServerKind==="demo"||l.connectedServerKind==="personal"?l.connectedServerKind:void 0,connectedToolCount:typeof l.connectedToolCount=="number"||l.connectedToolCount===null?l.connectedToolCount:void 0,playgroundPromptPending:typeof l.playgroundPromptPending=="boolean"?l.playgroundPromptPending:void 0}:null}catch{return null}}function W2(n,i){try{localStorage.setItem(n,JSON.stringify(i))}catch{}}function $2(){return J2(Z2)}function eh(n){W2(Z2,n)}function uy(){const n=$2();n?.status==="completed"||n?.status==="dismissed"||n?.status==="seen"&&n.shownAt||eh({status:"started",startedAt:Date.now()})}function dy(){const n=$2();n?.status==="completed"||n?.status==="dismissed"||eh({status:"seen",shownAt:Date.now()})}function da(){return J2(Q2)}function qa(n){W2(Q2,n)}function fy(n){const i=da();i?.status==="completed"&&i.shownAt||i?.status==="dismissed"||qa({status:"started",startedAt:i?.startedAt??Date.now(),shownAt:i?.shownAt,attemptedServerName:n??i?.attemptedServerName,connectedServerKind:void 0,connectedToolCount:void 0,playgroundPromptPending:i?.playgroundPromptPending})}function py(){const n=da();n?.status==="completed"&&n.shownAt||n?.status==="dismissed"||qa({status:"started",startedAt:n?.startedAt??Date.now(),shownAt:Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:n?.playgroundPromptPending})}function gy(){const n=da();n?.status==="completed"&&n.shownAt||qa({status:"dismissed"})}function hy(){const n=da();qa({status:"completed",completedAt:Date.now(),shownAt:n?.shownAt??Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:n?.playgroundPromptPending})}function my(n,i){const l=da();qa({status:"started",startedAt:l?.startedAt??Date.now(),shownAt:l?.shownAt??Date.now(),attemptedServerName:l?.attemptedServerName,connectedServerKind:n,connectedToolCount:i,playgroundPromptPending:l?.playgroundPromptPending})}function by(){const n=da();qa({status:"completed",completedAt:n?.completedAt??Date.now(),shownAt:n?.shownAt??Date.now(),attemptedServerName:n?.attemptedServerName,connectedServerKind:n?.connectedServerKind,connectedToolCount:n?.connectedToolCount,playgroundPromptPending:!0})}function vy(){const n=da();!n||n.status!=="completed"||qa({...n,playgroundPromptPending:!1})}function yy(n,i,l,u=!1,f=!1){if(u&&!f)return!1;const[p=""]=i.replace(/^#?\/?/,"").split("?"),A=p.replace(/\/+$/,"");return A!=="servers"&&A!=="connect"&&A!=="clients"&&A!=="hosts"&&A!=="home"&&A!=="playground"&&A||l?.status==="dismissed"||l?.status==="completed"&&l.shownAt?!1:l?.status==="started"&&l.shownAt?!0:!n}var xy="mcpjam:first-run-oauth-overlay-ready",Sy="mcpjam:first-run-oauth-cancelled";function Ay(){if(window.location.pathname!=="/oauth/callback"&&!window.location.pathname.startsWith("/oauth/callback/"))return null;const n=da();if(n?.status!=="started"||!n.attemptedServerName)return null;const i=t6();return i?.surface==="project"&&i.serverName===n.attemptedServerName?n.attemptedServerName:null}export{V8 as $,M6 as $n,f6 as $r,l8 as $t,N8 as A,d3 as An,T6 as Ar,g7 as At,ay as B,tl as Bn,m6 as Br,w7 as Bt,J7 as C,F3 as Cn,Ub as Cr,v8 as Ct,Q8 as D,D2 as Dn,Rg as Dr,F2 as Dt,Z8 as E,p3 as En,Ig as Er,m8 as Et,V7 as F,T2 as Fn,y6 as Fr,T7 as Ft,E8 as G,P6 as Gn,Ji as Gr,p8 as Gt,U8 as H,U6 as Hn,Eg as Hr,y7 as Ht,ny as I,H6 as In,v6 as Ir,ua as It,w8 as J,ig as Jn,d6 as Jr,u7 as Jt,_8 as K,ns as Kn,mb as Kr,c8 as Kt,S8 as L,w2 as Ln,b6 as Lr,q2 as Lt,P8 as M,F6 as Mn,C6 as Mr,b7 as Mt,T8 as N,E2 as Nn,S6 as Nr,h7 as Nt,J8 as O,rs as On,Db as Or,h8 as Ot,A8 as P,j4 as Pn,x6 as Pr,x7 as Pt,k8 as Q,k6 as Qn,Xu as Qr,d8 as Qt,x8 as R,B6 as Rn,_b as Rr,v7 as Rt,iy as S,Q6 as Sn,Nb as Sr,U7 as St,sy as T,g3 as Tn,zb as Tr,b8 as Tt,I8 as U,N6 as Un,h6 as Ur,g8 as Ut,X7 as V,L6 as Vn,g6 as Vr,C7 as Vt,O8 as W,j6 as Wn,Ab as Wr,e7 as Wt,K8 as X,z6 as Xn,_g as Xr,d7 as Xt,ry as Y,O6 as Yn,u6 as Yr,$3 as Yt,Y8 as Z,pe as Zn,hb as Zr,B2 as Zt,bd as _,z2 as _n,F0 as _r,$8 as _t,vy as a,o8 as an,_6 as ar,Y7 as at,t6 as b,K6 as bn,Og as br,C8 as bt,my as c,Z3 as cn,Fb as cr,M8 as ct,py as d,J6 as dn,qb as dr,X2 as dt,ub as ei,r8 as en,e2 as er,j8 as et,dy as f,K3 as fn,Hb as fr,R8 as ft,eh as g,Q3 as gn,zg as gr,F8 as gt,$2 as h,W6 as hn,jb as hr,G8 as ht,yy as i,u8 as in,w6 as ir,ty as it,L8 as j,Y6 as jn,A6 as jr,m7 as jt,W8 as k,X6 as kn,ju as kr,S7 as kt,gy as l,e8 as ln,Gb as lr,G7 as lt,da as m,X3 as mn,Vb as mr,B8 as mt,xy as n,l6 as ni,i8 as nn,ge as nr,H7 as nt,by as o,a8 as on,Xb as or,D8 as ot,uy as p,t8 as pn,Bb as pr,H8 as pt,oy as q,g2 as qn,Yu as qr,f8 as qt,Ay as r,i6 as ri,s8 as rn,Uv as rr,md as rt,hy as s,n8 as sn,Yb as sr,z8 as st,Sy as t,Fu as ti,V2 as tn,E6 as tr,X8 as tt,fy as u,$6 as un,Y0 as ur,q as ut,K7 as v,dd as vn,Pb as vr,q8 as vt,cy as w,Hn as wn,Dg as wr,ol as wt,Q7 as x,G3 as xn,G0 as xr,O7 as xt,ly as y,Z6 as yn,Lb as yr,ey as yt,y8 as z,V6 as zn,p6 as zr,A7 as zt};
1871
1871
 
1872
- //# sourceMappingURL=first-run-oauth-return-DwlOc8tB.js.map
1872
+ //# sourceMappingURL=first-run-oauth-return-BCNTs2GH.js.map