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 • 468 B
import{r as e}from"./rolldown-runtime.js";import{rt as t}from"./sdk-io.js";import{a as n}from"./version.js";import"./command.js";import{t as r}from"./src15.js";var i=e({bundledCloudWebDriverConnection:()=>o,createBundledCloudWebDriverHost:()=>a});function a(e){return{env:e,clientVersion:n(),runHostCommand:async(e,n)=>({stdout:(await t(e,[...n],{maxBuffer:10485760,timeoutMs:3e4})).stdout})}}function o(e,t){return r(e)?.create(a(t)).connection}export{i as n,o as t};