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 • 443 B
import{r as e}from"./rolldown-runtime.js";var t=e({getReplayBackend:()=>a});const n={maestro:async()=>(await import(`./replay-maestro-backend.js`)).maestroReplayBackendPlugin},r=new Map;async function i(e){let t=await n[e](),{createReplayBackendHost:r}=await import(`./replay-backend-host.js`);return t.create(r())}function a(e){let t=r.get(e);if(t)return t;let n=i(e).catch(t=>{throw r.delete(e),t});return r.set(e,n),n}export{t as n,a as t};