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

Interface TabHandle

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

Source from the content-addressed store, hash-verified

14const TAB_LABEL_REGEX = /^[a-z0-9][a-z0-9_\-]{0,63}$/i;
15
16export interface TabHandle {
17 /** Stable id the agent passes back. Equals `label` when one was provided. */
18 id: string;
19 /** Human label (matches id when none was set by the caller). */
20 label: string;
21 /** Best-effort current URL — may be "about:blank" or stale until next snapshot. */
22 url: string;
23 /** Best-effort current title. */
24 title: string;
25}
26
27interface TabRegistry {
28 /** label/id → Page */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected