import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{un as t,zt as n}from"./app-initial~avatarOverlayCompositionSurface~index-9fQ9wihu~index-BFCcxPM5~mapbox-gl-DVWlwqb~kppdhley-CabsBVhy.js";import{d as r,o as i}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~dejrazf4-CyNQP50P.js";import{Vg as a,Vm as o}from"./app-initial~artifact-tab-content.electron~notebook-preview-panel~app-main~business-checkout~oxnpxkxc-CRvN_72X.js";import{r as s,t as c}from"./app-initial~artifact-tab-content.electron~notebook-preview-panel~app-main~settings-command-~marv4cg1-DbW_0B_W.js";import{c as l,h as u,p as d,s as f}from"./app-initial~app-main~settings-command-menu-section-items~appgen-settings-page~page~pull-req~nb6vzw6f-CUA7JZmW.js";import{n as p,t as m}from"./plugins-page-Bk6RV8ts.js";function h(e){let t=(0,g.c)(7),{manageOnly:n}=e===void 0?{}:e,i=n===void 0?!1:n,{selectedHostId:a}=s(),c=i?`mcps`:`plugins`,l;t[0]!==a||t[1]!==c?(l=(0,_.jsx)(m,{directoryEntrypoint:o.CODEX_PLUGIN_DIRECTORY_ENTRYPOINT_SETTINGS,headerPlacement:`none`,hostId:a,initialManageTab:c,manageOnly:!0}),t[0]=a,t[1]=c,t[2]=l):l=t[2];let u=l;if(i)return u;let p,h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,_.jsx)(f,{slug:`plugins-settings`}),h=(0,_.jsx)(r,{id:`settings.section.plugins-settings.subtitle`,defaultMessage:`Manage plugins, skills, and MCPs`,description:`Subtitle for the combined plugins settings section`}),t[3]=p,t[4]=h):(p=t[3],h=t[4]);let v;return t[5]===u?v=t[6]:(v=(0,_.jsx)(d,{title:p,subtitle:h,children:u}),t[5]=u,t[6]=v),v}var g,_,v=e((()=>{g=t(),a(),i(),p(),u(),c(),l(),_=n()}));export{v as n,h as t};
//# sourceMappingURL=plugins-settings-CAkg8zJS.js.map