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 • 651 B
import{n as e}from"./device-claim-reconciliation.js";import{i as t,r as n}from"./device-claim-recovery.js";import{u as r}from"./device-claims.js";import{createPlatformRuntimeGateway as i}from"./platform-runtime2.js";const a=e=>t=>i({host:e,sessionsDir:t.sessionsDir,ownedProcesses:t.ownedProcesses,resolveSessionArtifacts:t.resolveSessionArtifacts});async function o(i,o,s){let{setAppleRunnerHostEnvironment:c}=await import(`./runner-owner-facade.js`);return c(o),await r({selectors:i,env:o.env,reconcile:t({scope:n(),composeGateway:a(o),composeRecovery:s,beforeGateway:e})})}export{a as createClaimRecoveryGatewayFor,o as runStaleDeviceClaimRelease};