feat(companion): extend platform bootstrap with system snapshot option

This commit is contained in:
William Valentin
2026-02-16 19:10:20 -08:00
parent 4a3c9e7fac
commit 1b69970065
5 changed files with 111 additions and 18 deletions
+1 -1
View File
@@ -1195,7 +1195,7 @@ Companion runtime helper:
- `MacOSCompanionClient` (`platform: "macos"`, APNs push registration)
- `IOSCompanionClient` (`platform: "ios"`, APNs push registration)
- `AndroidCompanionClient` (`platform: "android"`, FCM push registration)
- shared `bootstrap()` helper (`register` + `getCapabilities`) for startup handshakes
- shared `bootstrap()` helper (`register` + `getCapabilities`, optional `system.capabilities`) for startup handshakes
- shared `publishHeartbeat()` helper for periodic `node.status.set` updates with safe defaults
- `createHeartbeatLoop()` convenience helper that returns a bound `CompanionHeartbeatLoop`
- optional `defaultSessionId` for canvas helper calls so `sessionId` can be omitted per call