Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix(images): pin pydantic<2.13 for the macOS accessibility probe (#5678)
ddupont0d664d9c9809
diff --git a/libs/images/macos/doctor-gate.sh b/libs/images/macos/doctor-gate.shindex 16a9b11caa..cfa63e5ccb 100755--- a/libs/images/macos/doctor-gate.sh+++ b/libs/images/macos/doctor-gate.sh@@ -64,7 +64,8 @@ if [ -n "$TOKEN_FILE" ]; then# the first is kept as ax-probe.first.json).probe=failfor attempt in 1 2; do- if timeout 300 uv run -q --no-project --with 'mcp>=1.12,<1.14' python "$HERE/tools/ax_probe.py" \+ # pydantic >= 2.13 drops eval_type_backport, which mcp < 1.14 imports (the probe then dies at import).+ if timeout 300 uv run -q --no-project --with 'mcp>=1.12,<1.14' --with 'pydantic<2.13' python "$HERE/tools/ax_probe.py" \"http://$ip:3211/mcp" "$TOKEN_FILE" "$OUT/ax-probe.json"; thenprobe=pass; breakfidiff --git a/libs/images/macos/tools/ax_probe.py b/libs/images/macos/tools/ax_probe.pyindex 8b62760aee..e9cdd8a6b7 100644--- a/libs/images/macos/tools/ax_probe.py+++ b/libs/images/macos/tools/ax_probe.py@@ -20,7 +20,7 @@ with the official MCP Python SDK:Element tokens are not used: over /mcp each call runs in its own driverruntime scope, so a token from one call is refused by the next.- uv run --with 'mcp>=1.12,<1.14' python ax_probe.py URL TOKEN_FILE [OUT.json]+ uv run --with 'mcp>=1.12,<1.14' --with 'pydantic<2.13' python ax_probe.py URL TOKEN_FILE [OUT.json]Exit 0 on success. Writes a JSON record of every step to OUT.json."""@@ -93,8 +93,8 @@ def display_text(state: dict[str, Any]) -> str:async def run(url: str, token: str, log: list[dict[str, Any]]) -> bool:headers = {"Authorization": f"Bearer {token}"}- async with streamablehttp_client(url, headers=headers) as (read, write, _):- async with ClientSession(read, write) as session:+ async with streamablehttp_client(url, headers=headers) as (read_stream, write_stream, _):+ async with ClientSession(read_stream, write_stream) as session:await session.initialize()async def call(name: str, args: dict[str, Any]) -> dict[str, Any]: