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 • 385 B
JavaScript
import e from"node:path";function t(t){let n=e.extname(t).toLowerCase();return n===`.yaml`||n===`.yml`}function n(e,t){return`Maestro YAML requires explicit --maestro routing: ${e} ${t} --maestro`}function r(e){return`Unsupported replay backend "${e}".`}function i(e){return e===`maestro`}function a(e,n){return n===`maestro`&&t(e)?`maestro`:`ad`}export{r as a,a as i,i as n,n as r,t};