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