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 • 429 B
JavaScript
import{a as e,c as t,d as n,i as r,n as i,s as a,t as o}from"./runner-lifecycle.js";function s(s,c,l){return{runCommand:(e,t,n)=>o(e,t,{...n,launcher:c}),prepare:(e,t)=>i(e,{...t,launcher:c}),hasLiveSession:()=>e(s.id)?.liveness===`ready`,ensure:e=>r(s,{...e,launcher:c}),stop:()=>n(s.id),release:e=>a(s.id,{retain:e},l),isStarted:()=>e(s.id)!==null,releaseSpeculative:()=>t(s.id)}}export{s as createLaunchedAppleRunnerProvider};