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 • 299 B
import e from"node:path";function t(e){return i(e,`native`)}function n(e){return i(e,`collected`)}function r(t){let n=e.extname(t);return`${n===``?t:t.slice(0,-n.length)}.contact-sheet.png`}function i(t,n){let r=e.extname(t);return`${r===``?t:t.slice(0,-r.length)}.${n}${r}`}export{t as n,r,n as t};