"""Base class for SDK command namespaces. Each namespace (``b.tabs``, ``b.dom``, ...) is a thin object bound to its :class:`~browser_cli.BrowserCLI` client. Namespaces hold no state of their own; they delegate to the client's shared infrastructure (``_cmd``, the multi-browser helpers, and the ``Tab``/``Group`` factories). """ from __future__ import annotations from typing import TYPE_CHECKING if TYPE_CHECKING: from browser_cli import BrowserCLI class Namespace: """A group of related SDK methods, bound to a BrowserCLI client.""" def __init__(self, client: "BrowserCLI"): self._c = client