mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 05:40:43 +00:00
- sw.js: guard cache.put with response.ok to prevent caching error responses - sw.js: skip /api/ and /rpc routes from service worker fetch handler - main.ts: only register service worker in production, unregister in dev - push-web.ts: move setVapidDetails to broadcastWebPush (set once, not per-send) - push-web.ts: auto-remove expired 410 Gone subscriptions per Web Push spec - push-subscription.ts: remove unused detectWebPushState/DEFAULT_STATE - push-subscription.ts: roll back local PushManager on gateway registration failure - push-subscription.ts: always unsubscribe locally even if gateway request fails - app.ts: split initWebPushState and reconcileWebPushState for proper timing - app-gateway.ts: trigger push reconciliation on gateway connect (onHello) - config.ts: fix misleading notification copy (auto-broadcast is not yet implemented) - schema/push.ts: add HTTPS pattern and maxLength to endpoint/key schemas