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 • 479 B
const e=new Set([`empty-helper-output`,`system-window-only`,`content-poor-app-window`]);function t(t){return typeof t==`string`&&e.has(t)}function n(e){if(!e||typeof e!=`object`)return!1;let n=e.details?.androidSnapshotHelperFailureReason;return t(n)}const r=new Set([`accessibility-timeout`]);function i(e){return typeof e==`string`&&r.has(e)}function a(e){if(!e||typeof e!=`object`)return;let t=e.details?.androidCaptureFailureReason;return i(t)?t:void 0}export{a as n,n as t};