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>
This commit is contained in:
19
tools/ui_inspector/surfaces/base.py
Normal file
19
tools/ui_inspector/surfaces/base.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""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: ...
|
||||
|
||||
Reference in New Issue
Block a user