Implement Apex Agent MVP scaffold
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from core.device_manager import DeviceManager
|
||||
from tools._device import get_driver
|
||||
|
||||
|
||||
def tap(
|
||||
x: float,
|
||||
y: float,
|
||||
*,
|
||||
device_id: str | None = None,
|
||||
manager: DeviceManager | None = None,
|
||||
) -> dict[str, object]:
|
||||
get_driver(device_id, manager=manager).tap(x, y)
|
||||
return {"ok": True, "action": "tap", "x": x, "y": y}
|
||||
|
||||
Reference in New Issue
Block a user