chore(sync): mirror docs from openclaw/openclaw@1549ded4ac

This commit is contained in:
openclaw-docs-sync[bot] 2026-04-25 10:43:06 +00:00
parent d8358ffeb8
commit af0ff6a9f7
2 changed files with 36 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"repository": "openclaw/openclaw",
"sha": "776d2ab65d51225f04ea3078bc302e5aa5eb53ee",
"syncedAt": "2026-04-25T10:41:14.615Z"
"sha": "1549ded4ac0597f5f1faca06b8324244ede4cbec",
"syncedAt": "2026-04-25T10:41:37.983Z"
}

View File

@ -187,6 +187,40 @@ Cron jobs panel notes:
- Gateway persists aborted partial assistant text into transcript history when buffered output exists
- Persisted entries include abort metadata so transcript consumers can tell abort partials from normal completion output
## PWA install and web push
The Control UI ships a `manifest.webmanifest` and a service worker, so
modern browsers can install it as a standalone PWA. Web Push lets the
Gateway wake the installed PWA with notifications even when the tab or
browser window is not open.
| Surface | What it does |
| ----------------------------------------------------- | ------------------------------------------------------------------ |
| `ui/public/manifest.webmanifest` | PWA manifest. Browsers offer "Install app" once it is reachable. |
| `ui/public/sw.js` | Service worker that handles `push` events and notification clicks. |
| `push/vapid-keys.json` (under the OpenClaw state dir) | Auto-generated VAPID keypair used to sign Web Push payloads. |
| `push/web-push-subscriptions.json` | Persisted browser subscription endpoints. |
Override the VAPID keypair through env vars on the Gateway process when
you want to pin keys (for multi-host deployments, secrets rotation, or
tests):
- `OPENCLAW_VAPID_PUBLIC_KEY`
- `OPENCLAW_VAPID_PRIVATE_KEY`
- `OPENCLAW_VAPID_SUBJECT` (defaults to `mailto:openclaw@localhost`)
The Control UI uses these scope-gated Gateway methods to register and
test browser subscriptions:
- `push.web.vapidPublicKey` — fetches the active VAPID public key.
- `push.web.subscribe` — registers an `endpoint` plus `keys.p256dh`/`keys.auth`.
- `push.web.unsubscribe` — removes a registered endpoint.
- `push.web.test` — sends a test notification to the caller's subscription.
Web Push is independent of the iOS APNS relay path
(see [Configuration](/gateway/configuration) for relay-backed push) and
the existing `push.test` method, which target native mobile pairing.
## Hosted embeds
Assistant messages can render hosted web content inline with the `[embed ...]`