import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{O as t,un as n,x as r,zt as i}from"./app-initial~avatarOverlayCompositionSurface~index-9fQ9wihu~index-BFCcxPM5~mapbox-gl-DVWlwqb~kppdhley-CabsBVhy.js";import{d as a,o}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~dejrazf4-CyNQP50P.js";import{Mt as s,Ot as c}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~mlij0y86-5Zz6b-ov.js";import{Q as l,gt as u}from"./app-initial~artifact-tab-content.electron~notebook-preview-panel~app-main~business-checkout~c1u3yp5s-gStRzqf8.js";import{n as d,t as f}from"./app-initial~artifact-tab-content.electron~app-main~new-thread-panel-page~onboarding-page~pr~zrwbgkzl-1QCtShm-.js";import{i as p,r as m}from"./app-initial~artifact-tab-content.electron~app-main~settings-command-menu-section-items~pull~olm3nzne-D6rqXJRz.js";function h(){let e=(0,_.c)(7),{server:n,toolName:r}=u(),i=t(s),a;e[0]!==n||e[1]!==r||e[2]!==i?(a=n==null||r==null?null:i.find(e=>e.server===n&&e.tool.name===r)??null,e[0]=n,e[1]=r,e[2]=i,e[3]=a):a=e[3];let o=a;if(o==null){let t;return e[4]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,v.jsx)(g,{}),e[4]=t):t=e[4],t}let c;return e[5]===o?c=e[6]:(c=(0,v.jsx)(f,{view:o}),e[5]=o,e[6]=c),c}function g(){let e=(0,_.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,v.jsx)(`div`,{className:`flex h-full min-h-0 items-center justify-center`,children:(0,v.jsx)(m,{title:(0,v.jsx)(a,{id:`openaiMcpCapabilities.view.notFound`,defaultMessage:`MCP app view not found`,description:`Title shown when an MCP app view route does not match an available server tool`})})}),e[0]=t):t=e[0],t}var _,v;e((()=>{_=n(),r(),o(),l(),p(),c(),d(),v=i()}))();export{h as McpCapabilityViewPage};
//# sourceMappingURL=mcp-capability-view-page-x5FcOGc1.js.map