Skip to content

MachineStatusProps

View as Markdown

Defined in: react-ui/src/components/MachineStatus.tsx:12

onSelect?(machine): void;

Defined in: react-ui/src/components/MachineStatus.tsx:18

Called after a computer is picked, or connected from “Connect another computer…” (it is already selected for new sessions). <AgentChat> opens a new draft when it differs from the open session’s computer.

Parameter Type
machine { agentOutdated: boolean; agentVersion: string; id: string; lastSeenAt: string; name: string; online: boolean; os: string; runtimes: object[]; transport: "ws" | "http" | null; }
machine.agentOutdated boolean
machine.agentVersion string
machine.id string
machine.lastSeenAt string
machine.name string
machine.online boolean
machine.os string
machine.runtimes object[]
machine.transport "ws" | "http" | null

void