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 • 1.96 kB
JavaScript
function e(e){return Object.freeze({availability:t,runRunner:async(e,t,n)=>{let{runAppleRecordingRunner:r}=await import(`./platform-runtime-screen-recording-apple-runner-host.js`);return await r(e,t,n)},startSimulator:async(e,t,n)=>{let{startAppleSimulatorRecording:r}=await import(`./platform-runtime-screen-recording-apple-simulator-host.js`);return await r(e,t,n)},inspectProcess:async e=>{let{inspectAppleSimulatorRecordingProcess:t}=await import(`./platform-runtime-screen-recording-apple-simulator-host.js`);return t(e)},terminateProcess:async e=>{let{terminateAppleSimulatorRecordingProcess:t}=await import(`./platform-runtime-screen-recording-apple-simulator-host.js`);return await t(e)},inspectRunner:async(e,t,n)=>{let{inspectAppleRunnerOwnership:r}=await import(`./platform-runtime-screen-recording-apple-runner-host.js`);return await r(e,t,n)},retrieveRunnerRecording:async(t,n,r,i)=>{let{retrieveAppleRunnerRecording:a}=await import(`./platform-runtime-screen-recording-apple-runner-host.js`);await a(t,n,r,e.env,i)},captureClockAnchor:async(e,t,n,r)=>{let{captureAppleClockAnchor:i}=await import(`./platform-runtime-screen-recording-apple-runner-host.js`);return await i(e,t,n,r)},isRunnerBundleId:async t=>{let{isAppleRunnerBundleId:n}=await import(`./platform-runtime-screen-recording-apple-runner-host.js`);return await n(t,e.env)}})}async function t(e){if(e.kind===`simulator`){let{resolveAppleSimulatorScreenRecordingTransport:e}=await import(`./platform-runtime-screen-recording-apple-transport.js`);return e().available?{available:!0}:{available:!1,hint:`Configure a focused Apple simulator recording transport for this provider.`}}let{resolveAppleRunnerScreenRecordingTransport:t}=await import(`./platform-runtime-screen-recording-apple-runner-transport.js`);return t().available?{available:!0}:{available:!1,hint:`This scoped Apple runner provider does not expose durable recording authority.`}}export{e as createAppleScreenRecordingHost};