import{Qo as e,qo as t}from"./paths-Ci1iwL5Y.js";import{n,t as r}from"./bundledMode-kSQejuY4.js";import{o as i,r as a,t as o}from"./common-NEOWMwtB.js";import{n as s,t as c}from"./distRoot-BNg_iO5-.js";import{i as l,t as u}from"./src-Cu58IYYb.js";import{i as d,t as f}from"./gates-C4JvRq4i.js";import{join as p}from"path";u(),e(),r(),s(),i(),d();function m(){let e=l(o,f()).map(e=>t(a,e.name)),r=n()?[`--computer-use-mcp`]:[p(c,`cli.js`),`--computer-use-mcp`];return{mcpConfig:{[a]:{type:`stdio`,command:process.execPath,args:r,scope:`dynamic`}},allowedTools:e}}export{m as setupComputerUseMCP};