| 14 | const TAB_LABEL_REGEX = /^[a-z0-9][a-z0-9_\-]{0,63}$/i; |
| 15 | |
| 16 | export 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 | |
| 27 | interface TabRegistry { |
| 28 | /** label/id → Page */ |
nothing calls this directly
no outgoing calls
no test coverage detected