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 • 404 B
import{n as e}from"./snapshot-desktop-projection.js";async function t(t,n,r){let i=t.surface,[{runMacOsSnapshotAction:a},{stampSnapshotIdentity:o}]=await Promise.all([import(`./helper.js`).then(e=>e.n),import(`./sdk-batch.js`).then(e=>e.Ui)]),s=await a(i,{bundleId:i===`menubar`||i===`app`?t.appBundleId:void 0,signal:n,env:r});return e(o(s,{backend:`macos-helper`,producer:`macos-helper`}),t)}export{t};