Files
Artemis-Eapil/artemis/runtime/__init__.py
T
somew1nd 5f1ee18bc1 feat(core): consolidate config hub, unify daemon scheduling across all entrypoints, and fix step replay
- Unified configuration and paths under artemis.config as single source of truth
- Consolidated execution across CLI, SDK, MCP, and Admin Console to default to Artemis Daemon
- Fixed frontend step replay to preserve failure steps with proper sequential numbering
- Implemented task deduplication, debouncing, and multi-device lock isolation
- Added comprehensive end-to-end multi-port integration tests for live phone and emulator
2026-08-27 10:21:40 -07:00

81 lines
2.2 KiB
Python

# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Artemis cross-platform runtime and process supervisor subsystem."""
from artemis.runtime.device_lock import (
ConcurrencyMode,
DeviceBusyError,
DeviceExecutionLock,
)
from artemis.runtime.device_pool import DevicePool, DeviceStatus, device_pool
from artemis.runtime.daemon_client import (
ensure_daemon_running,
get_daemon_session,
get_daemon_status,
is_daemon_running,
stop_task_on_daemon,
submit_batch_to_daemon,
submit_task_to_daemon,
wait_for_daemon_task,
)
from artemis.runtime.awake_service import (
ensure_device_awake,
sanitize_device_state,
screen_awake_service,
shutdown_awake_service,
start_awake_service,
)
from artemis.runtime.server_lifecycle import (
clear_server_info,
find_server_pids,
get_server_status,
is_port_in_use,
read_server_info,
stop_server,
write_server_info,
)
from artemis.runtime.supervisor import ProcessSupervisor, process_supervisor
__all__ = [
"ConcurrencyMode",
"DeviceBusyError",
"DeviceExecutionLock",
"DevicePool",
"DeviceStatus",
"clear_server_info",
"device_pool",
"ensure_daemon_running",
"ensure_device_awake",
"find_server_pids",
"get_daemon_session",
"get_daemon_status",
"get_server_status",
"is_daemon_running",
"is_port_in_use",
"ProcessSupervisor",
"process_supervisor",
"read_server_info",
"sanitize_device_state",
"screen_awake_service",
"shutdown_awake_service",
"start_awake_service",
"stop_server",
"stop_task_on_daemon",
"submit_batch_to_daemon",
"submit_task_to_daemon",
"wait_for_daemon_task",
"write_server_info",
]