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 • 391 B
JavaScript
import{St as e}from"./sdk-io.js";import"./diagnostics.js";import{_ as t,d as n,n as r}from"./request.js";const i=new AbortController().signal;function a(a){let o=a.meta?.requestId;return Object.freeze({signal:n(o)??i,checkDeadline:()=>t(o),diagnostics:Object.freeze({emit:t=>e(t)}),progress:Object.freeze({report:e=>r({type:`command`,status:`progress`,message:e.message})})})}export{a as t};