fix: restore Python 3.12 startup and release 2.0.1

This commit is contained in:
chenmingxuan committed 2026-10-22 19:22:13 +08:00
1 parent bf6247703d
commit b584dae80a
19 files changed
+223 -20

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@
import logging
from mcp.server.fastmcp import FastMCP
from artemis.mcp.tool_server import ArtemisFastMCP
logger = logging.getLogger(__name__)
@@ -30,7 +30,7 @@ except Exception as exc:
logger.debug("FastMCP Settings.model_rebuild skipped: %s", exc, exc_info=True)
# Define the shared FastMCP instance for external IDE and agent clients.
mcp = FastMCP(
mcp = ArtemisFastMCP(
"artemis",
instructions=(
"ARTEMIS executes Android, computer and mixed tests with Flash, Pro or interactive exploration. The user starts the service; MCP only connects. Use the official artemis-use Skill for workflows and plugin development. "
+2 -2
View File
@@ -11,9 +11,9 @@ import logging
import threading
from typing import get_type_hints
from mcp.server.fastmcp import FastMCP
from starlette.responses import JSONResponse
from artemis.mcp.tool_server import ArtemisFastMCP
from artemis.service_registry import TOKEN_HEADER
@@ -85,7 +85,7 @@ def create_shared_mcp():
from mcp_server import tools
executor = ToolExecutor()
shared = FastMCP(
shared = ArtemisFastMCP(
"artemis",
instructions=definitions.instructions,
streamable_http_path="/",