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 • 266 B
const e=[`app`,`device`,`system`],t=`trace requires start|stop`;function n(e){let t=(e?.[0]??``).toLowerCase();if(t===`start`||t===`stop`)return t}function r(t){return e.some(e=>e===t)}function i(e){return e===`device`||e===`system`}export{n as a,i,t as n,r,e as t};