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.
15 lines • 673 B
TypeScript
import { k as AppleApplicationState } from "./sdk-contracts.js";
//#region packages/contracts/src/app-state-runtime.d.ts
/** Neutral foreground identity returned by a selected platform/provider runtime. */
type AppStateRuntimeResult = Readonly<{
package?: string;
activity?: string;
/**
* Apple: how the app named by the input is running, as a live runner reads it. It says nothing
* about which app is frontmost; a session app in a background state has left the foreground.
* Absent when no runner session is live to ask, so the read never starts one.
*/
applicationState?: AppleApplicationState;
}>;
//#endregion
export { AppStateRuntimeResult as t };