mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-16 15:43:57 -06:00
2ef92d0bbe
* feat(browser): sync system cookies to a remote gateway profile Add `openclaw browser cookie-sync`: decrypt allowlisted macOS Chrome-family cookies locally and push them into a managed profile on a possibly-remote Gateway over the existing operator channel. --watch re-syncs on cookie-DB changes with a single Keychain prompt per session. - New POST /cookies/set-many batch route (mirrors /cookies/set) - Extract one canonical readSystemProfileCookies reused by import + sync - Mandatory domain allowlist (never syncs an unrestricted cookie jar) - Decryption stays host-local (macOS); no cookie values are logged * feat(macos): cookie sync checkbox and configuration UI Add an off-by-default 'Cookie sync' section (Settings > General): a toggle, an editable domain allowlist editor, and a target-profile field, actionable only in remote-gateway mode. CookieSyncManager supervises `openclaw browser cookie-sync --watch` against the connected Gateway when enabled, resolving a LOCAL CLI (never the SSH-redirect path, since decryption is host-local) and injecting gateway URL + token/password via environment, never argv. A status row surfaces running/stopped/error and the last sync summary. * fix(macos): satisfy cookie sync lint gates * chore(i18n): register cookie sync native source strings Regenerate apps/.i18n/native-source.json baseline for the new macOS Cookie sync settings strings (additive only). Satisfies the native:i18n:verify gate; generated locale artifacts are refreshed separately by the locale-refresh job.