"""Common adapter boundary for station-link transports.""" from __future__ import annotations from typing import Protocol class TransportAdapter(Protocol): """The only transport surface used by LinkClient.""" def write(self, frame_type: int, payload: bytes) -> None: ... def close(self) -> None: ...