Files
skill-template/tools/ui_inspector/surfaces/base.py
chendelian 633ecff4e2 chore: archive tools/ui_inspector snapshot before migration removal.
Keep the last in-template copy on main so history can restore it; product continues in jiangchang-ui-recorder.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 11:19:14 +08:00

20 lines
433 B
Python

"""Surface contracts shared by browser, Windows, and future mobile drivers."""
from __future__ import annotations
from typing import Any, Protocol
class SurfaceRecorder(Protocol):
status: str
def start(self) -> None: ...
def stop(self) -> None: ...
def pause(self) -> None: ...
def resume(self) -> None: ...
class SurfaceDumpDriver(Protocol):
surface: str
def dump(self, **kwargs: Any) -> Any: ...