MCPcopy
hub / github.com/nowork-studio/NotFair / TabRegistry

Interface TabRegistry

notfair-cmo/src/server/browser/tabs.ts:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27interface TabRegistry {
28 /** label/id → Page */
29 byId: Map<string, Page>;
30 /** Page → label (reverse lookup so we can rebuild handles after a list) */
31 labelByPage: WeakMap<Page, string>;
32 /** Counter for auto-generated ids ("t1", "t2", ...). */
33 autoCounter: number;
34 /** Cached project's BrowserSession; we re-validate on each call. */
35 session: BrowserSession;
36}
37
38const _registries = new Map<string, TabRegistry>();
39

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected