Skip to content

AgentOutdatedNotice

View as Markdown
function AgentOutdatedNotice(__namedParameters): Element | null;

Defined in: react-ui/src/components/AgentOutdatedNotice.tsx:30

Connected mode: machine’s agent was refused by the hub as too old (MachineInfo.agentOutdated, e.g. a 0.2 agent, which cannot connect to a 0.3 hub). Tells the user to upgrade the CLI on that computer (npm i -g @uncage/cli@latest) and reconnect with this site’s uncage setup <url>. Renders nothing for an up-to-date computer. <AgentChat> shows it above the composer for the conversation’s computer.

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

Element | null