Persistent WS connection and auto-create initial tab

- Connect WS at extension startup via maintainConnection() loop
- Auto-retry every 5 seconds silently (no connecting badge)
- Never disconnect WS based on tab count
- Rename ConnectionState 'disconnected' to 'idle', remove global 'connecting'
- Fix race condition with tabGroupQueue for syncTabGroup/disconnectEverything/onTabUpdated
- Add auto-create initial tab when Playwright connects (PLAYWRITER_AUTO_ENABLE env var)
- Add test for auto-create feature
This commit is contained in:
Tommy D. Rossi
2026-01-01 01:09:08 +01:00
parent c15cf5947a
commit 178387ec97
8 changed files with 276 additions and 153 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "playwriter",
"description": "",
"version": "0.0.34",
"version": "0.0.35",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",