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:
@@ -1,4 +1,4 @@
|
||||
export type ConnectionState = 'disconnected' | 'reconnecting' | 'connected' | 'error'
|
||||
export type ConnectionState = 'idle' | 'connected' | 'extension-replaced'
|
||||
export type TabState = 'connecting' | 'connected' | 'error'
|
||||
|
||||
export interface TabInfo {
|
||||
|
||||
Reference in New Issue
Block a user