Update the website dependency set before publishing Playwriter so the workspace starts from a clean tree.
- update @holocron.so/vite to 0.16.0
- update spiceflow RSC build to 1.26.0-rsc.1
- update wrangler and workerd through the lockfile
- allow workerd as an approved built dependency for pnpm
Session: ses_unknown
Release script now zips the contents of dist-release/ instead of the folder
itself, so unzipping produces the extension files at the top level. Zip is
named playwriter-VERSION.zip (e.g. playwriter-0.0.94.zip) instead of
extension.zip. Updated AGENTS.md instructions to match.
Session: ses_197aa7c50ffeN6KEKgB6WOZPOZ
Update vite in root and extension packages from ^8.0.3 to ^8.0.12.
Lockfile reflects all transitive dependency updates from this session:
goke 6.12.1, @holocron.so/vite 0.8.0, dompurify 3.4.3, katex 0.16.46,
and various @csstools patches.
Add a root release guard that fetches the latest published `playwriter` version from npm and compares it against the local workspace CLI version before packaging the extension.
If the local CLI is newer, the release exits early with `extension must be released with matching cli version released`, preventing a Chrome Web Store upload that depends on an unpublished relay/CLI version.
pnpm v10 reads onlyBuiltDependencies from pnpm-workspace.yaml, not
package.json. This was why CI kept failing with ERR_PNPM_IGNORED_BUILDS
despite the config being set.
- upgrade actions/checkout and actions/setup-node from v3 to v4
- replace covbot/pnpm-install-with-cache@v1 with standard pnpm store
caching via actions/cache@v4 + direct pnpm install
- add ignoredBuiltDependencies for electron (playwright submodule
devDep, not needed in CI)
pnpm v10 errors (exit code 1) when packages have build scripts that
aren't explicitly approved. Adding bufferutil, esbuild, and sharp to
onlyBuiltDependencies makes pnpm build those and silently warn about
electron (playwright submodule devDep, not needed in CI).
- Add pnpm.onlyBuiltDependencies for esbuild/sharp (need native builds)
- Add pnpm.ignoredBuiltDependencies for bufferutil/electron (skip builds)
- Update CI workflow to pnpm 10 to match local version
- Remove .npmrc (strict-builds setting wasn't picked up in CI)
Inject manifest key via vite plugin for dev/test builds (not production).
This ensures all developers get the same extension ID: pebbngnfojnignonigcnkdilknapkgid
- Update vite.config.mts to inject key when !PRODUCTION
- Update release script to use PRODUCTION=true
- Replace old hardcoded dev extension ID in all files
- Add getLatestLogs function to capture and retrieve browser console logs
- Support filtering by page, search string/regex, and count limit
- Add clearAllLogs function to prevent log persistence across tests
- Make console listeners synchronous using page _guid for immediate capture
- Add critical test verifying extension reconnection after disconnectEverything
- Preserve console logs across browser reconnections for stability