Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw “presence” is a lightweight, best‑effort view of:
Presence is used primarily to render the macOS app’s Instances tab and to provide quick operator visibility.
Presence entries are structured objects with fields like:
instanceIdconnect.client.instanceIdhostipversiondeviceFamilymodelIdentifiermodeuiwebchatclibackendprobetestnodelastInputSecondsreasonselfconnectnode-connectedperiodictsPresence entries are produced by multiple sources and merged.
The Gateway always seeds a “self” entry at startup so UIs show the gateway host even before any clients connect.
Every WS client begins with a
connectThe CLI often connects for short, one‑off commands. To avoid spamming the Instances list,
client.mode === "cli"system-eventClients can send richer periodic beacons via the
system-eventlastInputSecondsWhen a node connects over the Gateway WebSocket with
role: nodeinstanceIdPresence entries are stored in a single in‑memory map:
instanceIdconnect.client.instanceIdIf a client reconnects without a stable
instanceIdPresence is intentionally ephemeral:
This keeps the list fresh and avoids unbounded memory growth.
When a client connects over an SSH tunnel / local port forward, the Gateway may see the remote address as
127.0.0.1The macOS app renders the output of
system-presencesystem-presenceclient.instanceIdinstanceIdinstanceId© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine