"use strict";exports.id=7990,exports.ids=[7990],exports.modules={"./src/commands/disable.ts"(e,s,r){r.r(s),r.d(s,{handleMcpDisable:()=>i});var t=r("../../../../../../../../../../private/tmp/buildkite-job-019fcd9f-598c-4939-bffc-29839a3e908c/agent-cli-mac-macos-x64-019fcd9f-598c-4939-bffc-29839a3e908c.Hq0qNDa3/pnpm-virtual-store/chalk@5.6.2/node_modules/chalk/source/index.js"),c=r("./src/console-io.ts"),o=r("./src/mcp/disabled-store.ts"),a=r("./src/mcp/project-paths.ts");function i(e,s){return r=this,i=void 0,n=function*(){var e;try{const e=process.cwd(),{disabledPath:r}=(0,a.C)(e),i=new o.P(r),d=yield i.isServerDisabled(s);d||(yield i.addDisabledServer(s)),d?(0,c.OT)(t.Ay.yellow(`MCP server '${s}' was already disabled`)):(0,c.OT)(t.Ay.green(`✓ Disabled MCP server: ${s}`)+"\n"+t.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)(t.Ay.red(`Failed to disable MCP server: ${r}`)),process.exit(1)}},new((d=void 0)||(d=Promise))((function(e,s){function t(e){try{o(n.next(e))}catch(e){s(e)}}function c(e){try{o(n.throw(e))}catch(e){s(e)}}function o(s){var r;s.done?e(s.value):(r=s.value,r instanceof d?r:new d((function(e){e(r)}))).then(t,c)}o((n=n.apply(r,i||[])).next())}));var r,i,d,n}}};