TypeScript definitions for device metadata, platforms, and open debugging sessions. Reuse for building device management and testing interfaces.
// Source: https://github.com/callstack/agent-device | License: MIT | Copyright 2026 Callstack
// Provided via justclaw.it.com; keep this notice with the code.
// The public API vocabulary for what a device and an open session look like to a client.
import type {
AppleOS,
DeviceKind,
DeviceTarget,
PublicPlatform,
} from '@agent-device/kernel/device';
import type { AgentDeviceIdentifiers, DeviceCommandBaseOptions } from './client-connection.ts';
export type AgentDeviceDevice = {
platform: PublicPlatform;
target: DeviceTarget;
kind: DeviceKind;
id: string;
name: string;
booted?: boolean;
/**
* Additive Apple-OS discriminant (iPhone/iPad/tvOS/visionOS/macOS). Present only for
* Apple devices; `platform` still carries the leaf (`ios`/`macos`).
*/
appleOs?: Ap
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key