UNPKG

agent-device

Version:

Open source device layer for AI coding agents: a CLI, MCP server, and typed Node.js API to control mobile, web, TV, and desktop apps on devices and simulators, locally or in the cloud.

1 lines • 268 B
import{Ct as e,kt as t}from"./sdk-io.js";import"./diagnostics.js";async function n(n,r){let{logPath:i,command:a=`daemon`,debug:o=!0}=n;return await t({command:a,session:`daemon`,logPath:i,debug:o},async()=>{try{return await r()}finally{e({force:!0})}})}export{n as t};