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:
17
tools/ui_inspector/adapters/base.py
Normal file
17
tools/ui_inspector/adapters/base.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Adapter base protocol."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Optional, Protocol
|
||||
|
||||
|
||||
class AppAdapter(Protocol):
|
||||
name: str
|
||||
|
||||
def matches(self, *, class_name: str = "", title: str = "", process_name: str = "") -> bool: ...
|
||||
|
||||
def wake_profile(self, *, class_name: str = "", title: str = "") -> Optional[str]: ...
|
||||
|
||||
def cache_key(self, *, profile: str, hwnd: int = 0) -> str: ...
|
||||
|
||||
def propose_postconditions(self, changes: list[dict[str, Any]]) -> list[dict[str, Any]]: ...
|
||||
Reference in New Issue
Block a user