"use strict";exports.id=9150,exports.ids=[9150],exports.modules={"./src/commands/disable.ts"(e,s,r){r.r(s),r.d(s,{handleMcpDisable:()=>a});var o=r("../../../../var/folders/gy/wcfhjzc55d96bnvx1zv223lc0000gn/T/agent-cli-mac-macos-x64-019f05f2-fe9c-44ea-be99-c0b6818dfb82.hlmcQVCe/pnpm-virtual-store/chalk@5.6.2/node_modules/chalk/source/index.js"),c=r("./src/console-io.ts"),t=r("./src/mcp/disabled-store.ts"),n=r("./src/mcp/project-paths.ts");function a(e,s){return r=this,a=void 0,i=function*(){var e;try{const e=process.cwd(),{disabledPath:r}=(0,n.C)(e),a=new t.P(r),d=yield a.isServerDisabled(s);d||(yield a.addDisabledServer(s)),d?(0,c.OT)(o.Ay.yellow(`MCP server '${s}' was already disabled`)):(0,c.OT)(o.Ay.green(`✓ Disabled MCP server: ${s}`)+"\n"+o.Ay.dim("The server will no longer be loaded or prompted for approval.")),process.exit(0)}catch(s){const r=null!==(e=null==s?void 0:s.message)&&void 0!==e?e:String(s);(0,c.p2)(o.Ay.red(`Failed to disable MCP server: ${r}`)),process.exit(1)}},new((d=void 0)||(d=Promise))((function(e,s){function o(e){try{t(i.next(e))}catch(e){s(e)}}function c(e){try{t(i.throw(e))}catch(e){s(e)}}function t(s){var r;s.done?e(s.value):(r=s.value,r instanceof d?r:new d((function(e){e(r)}))).then(o,c)}t((i=i.apply(r,a||[])).next())}));var r,a,d,i}}};