feat: add global device queue and readiness tracking
This commit is contained in:
1 parent
a62ac4aef1
commit
42b8988661
57 files changed
+3606
-716
No files matched your search
@@ -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()
|
||||
@@ -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()
|
||||
Reference in new issue
Block a user