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 • 259 B
import{a as e}from"./sdk-batch-runner.js";function t(e,t,r,i){let a=n(e);return{env:t,...i?{androidAvdSelection:i}:{},appleSimulatorAppTarget:a,...a&&(r===void 0||r===`app`)?{appDeviceTarget:a}:{}}}function n(t){return t&&!e(t)?t:void 0}export{t as n,n as t};