feat: add global device queue and readiness tracking

This commit is contained in:
somew1nd committed 2026-08-24 14:34:17 -07:00
1 parent a62ac4aef1
commit 42b8988661
57 files changed
+3606 -716

No files matched your search

+7 -1
View File
@@ -470,4 +470,10 @@ async def get_ui_hierarchy(ctx: Context) -> str:
if __name__ == "__main__":
mcp.run(transport="stdio")
from artemis.runtime import shutdown_awake_service, start_awake_service
start_awake_service()
try:
mcp.run(transport="stdio")
finally:
shutdown_awake_service()
+7 -1
View File
@@ -284,4 +284,10 @@ def search_by_coordinates(image_hash: str, x: int, y: int) -> str:
if __name__ == "__main__":
mcp.run()
from artemis.runtime import shutdown_awake_service, start_awake_service
start_awake_service()
try:
mcp.run()
finally:
shutdown_awake_service()