mirror of
https://github.com/remorses/playwriter.git
synced 2026-09-14 16:37:40 +08:00
bd6c7eb363
Route extension relay connections by their per-profile install id before falling back to Google account identity. This keeps two Chrome profiles signed into the same account from replacing each other in the relay. Keep Playwright-created tabs in the intended Chrome window by remembering the window where the extension was activated and using that window for Target.createTarget and initial tabs. Handle Chrome debugger cancellation as a global detach event. When Chrome reports canceled_by_user, clear all tracked debugger tabs and emit detach events so Playwright stops sending commands to tabs Chrome already detached from. Also avoid resurrecting stale error tab state if the detach happens while attachTab is still unwinding. Validation: - pnpm test --run src/relay-state.test.ts - pnpm typecheck - pnpm build in extension/ - Manual two-profile Hacker News navigation and comment extraction - Mythos review found no blocking issues Session: ses_120923e0fffe5l4GT77WwyXEGP
Changesets
This folder contains pending release notes for public packages. Each .md file describes one user-facing fix or feature that should appear in the next generated changelog.
What to put here
- Add one descriptive kebab-case
.mdfile per logical change, for examplefix-auth-token-refresh.md. - Use
patchfor fixes andminorfor new features. - Write in present tense, focused on what users see.
- Check GitHub issues first. If the change fixes one, include
Fixes #123on its own line.
What not to put here
- Do not add changesets for private packages or packages without a
versionfield. - Do not edit
CHANGELOG.mddirectly. - Do not run the interactive changeset CLI.
- Do not add vague entries like "misc improvements" or "update internals".