Document companion reconnect/handoff reliability progress

This commit is contained in:
William Valentin
2026-02-26 17:01:22 -08:00
parent 184dc2c688
commit 2a9bed8c91
5 changed files with 34 additions and 8 deletions
+2 -1
View File
@@ -1072,6 +1072,7 @@ Register node role/capabilities for the current WebSocket connection.
Registration is scoped to the connection. If a companion reconnects it must call `node.register` again
to restore node identity, capabilities, and access to `node.*` methods.
`CompanionRuntimeClient` can optionally replay cached node registration/status/location/push state on reconnect.
**Request:**
```json
@@ -1857,5 +1858,5 @@ For more implementation details, see:
- Protocol types: `src/gateway/protocol.ts`
- Handlers: `src/gateway/handlers/`
- Gateway server: `src/gateway/server.ts`
- Companion runtime client helper: `src/companion/runtimeClient.ts` (node + system + `canvas.*` typed RPC wrappers, optional `autoConnect`/`autoReconnect`, connection event subscriptions)
- Companion runtime client helper: `src/companion/runtimeClient.ts` (node + system + `canvas.*` typed RPC wrappers, optional `autoConnect`/`autoReconnect`, optional reconnect state replay, `sendAgentMessage` handoff helper, connection event subscriptions)
- Platform companion wrappers: `src/companion/platformClients.ts`