Skip to content

simplify: companion just opens your normal Chrome#47

Merged
Anton-Horn merged 1 commit into
mainfrom
simplify/companion-just-normal-chrome
Jun 4, 2026
Merged

simplify: companion just opens your normal Chrome#47
Anton-Horn merged 1 commit into
mainfrom
simplify/companion-just-normal-chrome

Conversation

@Anton-Horn
Copy link
Copy Markdown
Contributor

Why

The profile-copy approach added a lot of machinery and still didn't reliably show the user's sessions. Per feedback: drop the cleverness and just use normal Chrome.

Change

  • Remove the copy mode, --fresh, --live, and all the clone/skip-list code.
  • zero browser connect now just launches the installed Chrome against the user's real profile (persistent context) — the only approach that uses their actual live logins.
  • Open the profile Chrome last used (Local Stateprofile.last_used) instead of hardcoding Default. This is a likely reason the copy looked logged-out: if the user's logins live in Profile 1, a Default copy is empty.
  • Keep the macOS keychain fix (no --use-mock-keychain) and the clear "quit Chrome first" lock error.
  • Remaining flags are advanced-only: --cdp, --chromium, --user-data-dir, --profile.

Trade-off

Using real live sessions means Chrome can only be driven by one program at a time, so the user must quit their normal Chrome first. That's inherent to Chrome; --cdp is the escape hatch for keeping Chrome open.

Testing

tsc + build clean. Needs on-machine check: quit Chrome, run zero browser connect, confirm a logged-in site shows signed-in.

Supersedes the copy default from #45.

🤖 Generated with Claude Code

The profile-copy approach added complexity and didn't reliably surface
the user's sessions. Drop it entirely along with the --fresh/--live/copy
machinery: `zero browser connect` now just launches the user's installed
Chrome against their real profile (persistent context), which is the only
approach that uses their actual live logins.

Also open the profile Chrome LAST USED (read from Local State's
profile.last_used) instead of hardcoding "Default" — a likely reason the
copy looked logged-out for anyone whose sessions live in "Profile 1".

Keeps the macOS keychain fix and the clear "quit Chrome first" lock error.
Remaining flags are advanced-only: --cdp, --chromium, --user-data-dir,
--profile.
@Anton-Horn Anton-Horn merged commit 910ffff into main Jun 4, 2026
1 check passed
@Anton-Horn Anton-Horn deleted the simplify/companion-just-normal-chrome branch June 4, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant