removed relayConnection.ts. added diff for ai snapshot. use search param

This commit is contained in:
Tommy D. Rossi
2025-11-25 10:35:39 +01:00
parent 4e3be9b497
commit 0df52a08c0
10 changed files with 664 additions and 903 deletions
+3 -5
View File
@@ -1,17 +1,15 @@
import type { RelayConnection } from './relayConnection'
export type ConnectionState = 'disconnected' | 'reconnecting' | 'connected' | 'error'
export type TabState = 'connecting' | 'connected' | 'error'
export interface TabInfo {
targetId: string
sessionId?: string
targetId?: string
state: TabState
errorText?: string
}
export interface ExtensionState {
connection: RelayConnection | undefined
connectedTabs: Map<number, TabInfo>
tabs: Map<number, TabInfo>
connectionState: ConnectionState
currentTabId: number | undefined
errorText: string | undefined