mirror of
https://github.com/epiral/bb-browser.git
synced 2026-09-14 13:45:45 +08:00
c0b4ff1691
* fix(cli): daemon self-healing on CDP disconnect + cookie persistence - ensureDaemon() now checks cdpConnected from /status response; when Chrome is killed and daemon loses its CDP WebSocket, the stale daemon is stopped and a fresh daemon+Chrome is spawned automatically instead of returning 503 on every command. - daemon status command shows actionable hints: how to start when not running, how to stop when running, and a warning with recovery steps when CDP is disconnected. - Add --use-mock-keychain to managed Chrome launch args so cookie encryption uses a fixed key instead of macOS Keychain. This fixes cookie persistence on headless/remote machines (e.g. Mac Mini via SSH) where Keychain access is unavailable (errSecInteractionNotAllowed). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(cli): add `daemon start` subcommand for explicit background startup Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>