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
Harness Changes (#1875)
Wonderplexde94dc9e328a
diff --git a/Dockerfile b/Dockerfileindex 579842a498..a07d20cb72 100644--- a/Dockerfile+++ b/Dockerfile@@ -11,7 +11,7 @@ ENV PYTHONUNBUFFERED=1 \RUN apt-get update && apt-get install -y --no-install-recommends \git \build-essential \- libgl1-mesa-glx \+ libgl1 \libglib2.0-0 \libxcb-xinerama0 \libxkbcommon-x11-0 \diff --git a/libs/cua-bench/KiCad-task/README.md b/libs/cua-bench/KiCad-task/README.mdnew file mode 100644index 0000000000..acb0796934--- /dev/null+++ b/libs/cua-bench/KiCad-task/README.md@@ -0,0 +1,37 @@+# KiCad Task++Simple cua-bench task that installs the open-source [KiCad](https://www.kicad.org/) EDA suite and verifies that the agent can create and save a new project.++## Task++- **Setup**: KiCad is launched (use env image `cua-xfce-kicad:latest` so KiCad is pre-installed).+- **Goal**: Create schematics and export netlists in KiCad format to `~/output.net`. Variant 0: specific circuit; variant 1: empty project.+- **Verification**: Parses the .net file: variant 0 checks component counts; variant 1 passes if a valid KiCad .net file was produced.++## Variants++| Variant | Name | Description |+|--------|--------------------|-------------|+| 0 | LEDCircuit | 9V battery, 100 Ω resistor, two LN271 LEDs; export netlist to `~/output.net`. |+| 1 | EmptyNetlistExport | Create an empty project, save, and export netlist to `~/output.net` with default settings. Verifier passes if the file is valid KiCad .net. |++## Running++Requires native provider (Docker/QEMU) with `os_type: "linux"` (or `"windows"` if you adjust the task config).++```bash+# Interactive preview (from cua-bench repo root)+cb interact KiCad-task --variant-id 0++# Run with oracle (completes successfully; solve is a no-op, so reward is 0.0)+cb run task KiCad-task --variant-id 0 --oracle++# Run with agent+cb run task KiCad-task --variant-id 0 --agent cua-agent --model <model>+```++**Note:** With `--oracle`, the run completes (setup installs KiCad, solve is a no-op, evaluate runs). Reward is 0.0 unless an agent or human creates the project. Setup may take several minutes while KiCad is installed in the environment.++## Files++- `main.py` – Task definition, setup (install KiCad), evaluation (check project file), and solve stub.diff --git a/libs/cua-bench/KiCad-task/kicad_twoleds_netlist.net b/libs/cua-bench/KiCad-task/kicad_twoleds_netlist.netnew file mode 100644index 0000000000..8fdf87ca38--- /dev/null+++ b/libs/cua-bench/KiCad-task/kicad_twoleds_netlist.net@@ -0,0 +1,151 @@+(export (version "E")+ (design+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_twoleds_circuit\\kicad_twoleds_circuit.kicad_sch")+ (date "2026-02-21T08:55:40-1000")+ (tool "Eeschema 9.0.7")+ (sheet (number "1") (name "/") (tstamps "/")+ (title_block+ (title)+ (company)+ (rev)+ (date)+ (source "kicad_twoleds_circuit.kicad_sch")+ (comment (number "1") (value ""))+ (comment (number "2") (value ""))+ (comment (number "3") (value ""))+ (comment (number "4") (value ""))+ (comment (number "5") (value ""))+ (comment (number "6") (value ""))+ (comment (number "7") (value ""))+ (comment (number "8") (value ""))+ (comment (number "9") (value "")))))+ (components+ (comp (ref "BT1")+ (value "9V")+ (datasheet "~")+ (description "Multiple-cell battery")+ (fields+ (field (name "Sim.Device") "V")+ (field (name "Sim.Type") "DC")+ (field (name "Sim.Pins") "1=+ 2=-")+ (field (name "Footprint"))+ (field (name "Datasheet") "~")+ (field (name "Description") "Multiple-cell battery"))+ (libsource (lib "Device") (part "Battery") (description "Multiple-cell battery"))+ (property (name "Sim.Device") (value "V"))+ (property (name "Sim.Type") (value "DC"))+ (property (name "Sim.Pins") (value "1=+ 2=-"))+ (property (name "Sheetname") (value "Root"))+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))+ (property (name "ki_keywords") (value "batt voltage-source cell"))+ (sheetpath (names "/") (tstamps "/"))+ (tstamps "5f208444-0d41-49ee-8550-b93a39c6259c"))+ (comp (ref "D1")+ (value "LD271")+ (footprint "LED_THT:LED_D5.0mm_IRGrey")+ (datasheet "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")+ (description "940nm IR-LED, 5mm")+ (fields+ (field (name "Footprint") "LED_THT:LED_D5.0mm_IRGrey")+ (field (name "Datasheet") "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")+ (field (name "Description") "940nm IR-LED, 5mm"))+ (libsource (lib "LED") (part "LD271") (description "940nm IR-LED, 5mm"))+ (property (name "Sheetname") (value "Root"))+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))+ (property (name "ki_keywords") (value "IR LED"))+ (property (name "ki_fp_filters") (value "LED*5.0mm*IRGrey*"))+ (sheetpath (names "/") (tstamps "/"))+ (tstamps "db671492-52ef-4036-9b22-63809de3d580"))+ (comp (ref "D2")+ (value "LD271")+ (footprint "LED_THT:LED_D5.0mm_IRGrey")+ (datasheet "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")+ (description "940nm IR-LED, 5mm")+ (fields+ (field (name "Footprint") "LED_THT:LED_D5.0mm_IRGrey")+ (field (name "Datasheet") "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")+ (field (name "Description") "940nm IR-LED, 5mm"))+ (libsource (lib "LED") (part "LD271") (description "940nm IR-LED, 5mm"))+ (property (name "Sheetname") (value "Root"))+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))+ (property (name "ki_keywords") (value "IR LED"))+ (property (name "ki_fp_filters") (value "LED*5.0mm*IRGrey*"))+ (sheetpath (names "/") (tstamps "/"))+ (tstamps "3db23627-a8db-43c9-8f90-ac2d085e5e0b"))+ (comp (ref "R1")+ (value "100")+ (datasheet "~")+ (description "Resistor, US symbol")+ (fields+ (field (name "Footprint"))+ (field (name "Datasheet") "~")+ (field (name "Description") "Resistor, US symbol"))+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))+ (property (name "Sheetname") (value "Root"))+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))+ (property (name "ki_keywords") (value "R res resistor"))+ (property (name "ki_fp_filters") (value "R_*"))+ (sheetpath (names "/") (tstamps "/"))+ (tstamps "7dff9775-d21d-46ed-83bf-d00909117faa")))+ (libparts+ (libpart (lib "Device") (part "Battery")+ (description "Multiple-cell battery")+ (docs "~")+ (fields+ (field (name "Reference") "BT")+ (field (name "Value") "Battery")+ (field (name "Footprint"))+ (field (name "Datasheet") "~")+ (field (name "Description") "Multiple-cell battery")+ (field (name "Sim.Device") "V")+ (field (name "Sim.Type") "DC")+ (field (name "Sim.Pins") "1=+ 2=-"))+ (pins+ (pin (num "1") (name "+") (type "passive"))+ (pin (num "2") (name "-") (type "passive"))))+ (libpart (lib "Device") (part "R_US")+ (description "Resistor, US symbol")+ (docs "~")+ (footprints+ (fp "R_*"))+ (fields+ (field (name "Reference") "R")+ (field (name "Value") "R_US")+ (field (name "Footprint"))+ (field (name "Datasheet") "~")+ (field (name "Description") "Resistor, US symbol"))+ (pins+ (pin (num "1") (name "") (type "passive"))+ (pin (num "2") (name "") (type "passive"))))+ (libpart (lib "LED") (part "LD271")+ (description "940nm IR-LED, 5mm")+ (docs "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")+ (footprints+ (fp "LED*5.0mm*IRGrey*"))+ (fields+ (field (name "Reference") "D")+ (field (name "Value") "LD271")+ (field (name "Footprint") "LED_THT:LED_D5.0mm_IRGrey")+ (field (name "Datasheet") "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")+ (field (name "Description") "940nm IR-LED, 5mm"))+ (pins+ (pin (num "1") (name "K") (type "passive"))+ (pin (num "2") (name "A") (type "passive")))))+ (libraries+ (library (logical "Device")+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))+ (library (logical "LED")+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/LED.kicad_sym")))+ (nets+ (net (code "1") (name "GND") (class "Default")+ (node (ref "BT1") (pin "2") (pinfunction "-") (pintype "passive"))+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive")))+ (net (code "2") (name "Net-(BT1-+)") (class "Default")+ (node (ref "BT1") (pin "1") (pinfunction "+") (pintype "passive"))+ (node (ref "R1") (pin "1") (pintype "passive")))+ (net (code "3") (name "Net-(D1-A)") (class "Default")+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))+ (node (ref "R1") (pin "2") (pintype "passive")))+ (net (code "4") (name "Net-(D1-K)") (class "Default")+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive")))))\ No newline at end of filediff --git a/libs/cua-bench/KiCad-task/main.py b/libs/cua-bench/KiCad-task/main.pynew file mode 100644index 0000000000..2b9ea0eae4--- /dev/null+++ b/libs/cua-bench/KiCad-task/main.py@@ -0,0 +1,140 @@+"""KiCad circuit-creation tasks for cua-bench.++Tasks ask the agent to build a circuit in KiCad's schematic editor and export+a netlist in KiCad format (.net). Evaluation compares the agent's .net output+against a reference netlist (structural comparison) when one is provided, or+falls back to component-count checking when only ``expected_components`` is set.++Adding a new task variant:+ 1. Add a dict to TASK_VARIANTS with at minimum a ``description`` key.+ 2. Optionally include ``reference_netlist`` (path relative to this file's+ directory) for full structural comparison via session.apps.kicad.compare_netlist().+ 3. Optionally include ``expected_components`` (dict of ref-prefix → count)+ as a lighter-weight fallback when no reference netlist is available.+ 4. Optionally include ``initial_circuit_file`` (path relative to this+ file's directory) to seed the agent with a starting schematic.+"""++from pathlib import Path++import cua_bench as cb++NETLIST_PATH = "/home/cua/output.net"+_TASK_DIR = Path(__file__).resolve().parent++# ---------------------------------------------------------------------------+# Task variants — extend this list to add new tasks.+# Each dict becomes one Task; only ``description`` is required.+# ---------------------------------------------------------------------------+TASK_VARIANTS = [+ {+ "circuit_name": "LEDCircuit",+ "description": (+ "KiCad is already open. Using the Schematic Editor, "+ "draw a clean schematic in KiCad for a 9V battery driving "+ "two infrared LN271 LEDs. The battery positive terminal is first "+ "connected to a 100 ohm current limiting resistor followed by the "+ "two LEDs. Save the schematic, then export the netlist in KiCad "+ f"format to {NETLIST_PATH}."+ ),+ # Full structural comparison against the bundled reference netlist.+ "reference_netlist": "kicad_twoleds_netlist.net",+ },+ {+ "circuit_name": "EmptyNetlistExport",+ "description": (+ "KiCad is already open. Create an empty project (new schematic, "+ "no components required). Then export the netlist in KiCad format "+ f"to {NETLIST_PATH} using all default settings. "+ "The goal is to produce a valid KiCad .net file."+ ),+ # No reference netlist and no expected components: any valid .net passes.+ "netlist_export_only": True,+ },+]++[email protected]_config(split="train")+def load():+ """Build Task objects from TASK_VARIANTS."""+ return [+ cb.Task(+ description=variant["description"],+ metadata=variant,+ computer={+ "provider": "native",+ "setup_config": {+ "os_type": "linux",+ "width": 1920,+ "height": 1080,+ },+ },+ )+ for variant in TASK_VARIANTS+ ]++[email protected]_task(split="train")+async def start(task_cfg: cb.Task, session: cb.DesktopSession):+ """Install KiCad, optionally seed with an initial circuit file, then launch."""+ await session.apps.kicad.install(with_shortcut=True)++ initial_file = task_cfg.metadata.get("initial_circuit_file")+ if initial_file:+ await session.apps.kicad.launch(project_file=str(_TASK_DIR / initial_file))+ else:+ await session.apps.kicad.launch()++[email protected]_task(split="train")+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> list[float]:+ """Evaluate the agent's output netlist.++ Evaluation priority:+ 1. ``reference_netlist`` in metadata → full structural comparison+ (component set + net topology) via compare_kicad_netlists().+ 2. ``expected_components`` in metadata → lightweight component-count check.+ 3. ``netlist_export_only`` or neither → any valid .net file scores 1.0.+ """+ netlist = await session.apps.kicad.read_netlist(netlist_path=NETLIST_PATH)+ if not netlist.strip():+ print(f"Evaluation: netlist missing or empty at {NETLIST_PATH}")+ return [0.0]++ meta = task_cfg.metadata++ # --- Path 1: full structural comparison ---+ ref_path = meta.get("reference_netlist")+ if ref_path:+ score = await session.apps.kicad.compare_netlist(+ candidate_path=NETLIST_PATH,+ reference_path=str(_TASK_DIR / ref_path),+ )+ print(f"Evaluation (structural): score={score:.3f}")+ return [score]++ # --- Path 2: component-count fallback ---+ expected = meta.get("expected_components", {})+ if expected:+ components = await session.apps.kicad.get_components(netlist_path=NETLIST_PATH)+ scores = [+ 1.0 if sum(1 for c in components if c["ref"].upper().startswith(prefix)) == count else 0.0+ for prefix, count in expected.items()+ ]+ score = sum(scores) / len(scores)+ print(f"Evaluation (component counts): score={score:.3f}")+ return [score]++ # --- Path 3: valid .net file is sufficient ---+ print("Evaluation: valid netlist, no further checks → 1.0")+ return [1.0]++[email protected]_task(split="train")+async def solve(task_cfg: cb.Task, session: cb.DesktopSession):+ """Oracle not implemented — KiCad requires GUI interaction."""+ pass+++if __name__ == "__main__":+ cb.interact(__file__)diff --git a/libs/cua-bench/KiCad-task/test_kicad_task.py b/libs/cua-bench/KiCad-task/test_kicad_task.pynew file mode 100644index 0000000000..0f6c8e60aa--- /dev/null+++ b/libs/cua-bench/KiCad-task/test_kicad_task.py@@ -0,0 +1,148 @@+"""Tests for KiCad-task: task loading and evaluate logic with mock session."""++import importlib.util+from pathlib import Path+from unittest.mock import AsyncMock, MagicMock++import pytest++# Load task from sibling main.py+_MAIN = Path(__file__).resolve().parent / "main.py"+spec = importlib.util.spec_from_file_location("kicad_task", _MAIN)+kicad_task = importlib.util.module_from_spec(spec)+spec.loader.exec_module(kicad_task)+++# ---------------------------------------------------------------------------+# Task loading+# ---------------------------------------------------------------------------++def test_load_returns_correct_count():+ tasks = kicad_task.load()+ assert len(tasks) == len(kicad_task.TASK_VARIANTS)+++def test_load_led_circuit_variant():+ task = kicad_task.load()[0]+ assert task.metadata["circuit_name"] == "LEDCircuit"+ assert task.metadata.get("reference_netlist") == "kicad_twoleds_netlist.net"+++def test_load_empty_netlist_variant():+ task = kicad_task.load()[1]+ assert task.metadata["circuit_name"] == "EmptyNetlistExport"+ assert task.metadata.get("netlist_export_only") is True+ assert not task.metadata.get("reference_netlist")+++# ---------------------------------------------------------------------------+# Helpers+# ---------------------------------------------------------------------------++def _mock_session(netlist_content: str, components=None, compare_score: float = 1.0):+ session = MagicMock()+ session.apps.kicad.read_netlist = AsyncMock(return_value=netlist_content)+ session.apps.kicad.get_components = AsyncMock(return_value=components or [])+ session.apps.kicad.compare_netlist = AsyncMock(return_value=compare_score)+ return session+++# ---------------------------------------------------------------------------+# Evaluate: missing / empty netlist+# ---------------------------------------------------------------------------++async def test_evaluate_returns_zero_when_netlist_missing():+ task = kicad_task.load()[0]+ session = _mock_session("")+ assert await kicad_task.evaluate(task, session) == [0.0]+ session.apps.kicad.compare_netlist.assert_not_called()+++async def test_evaluate_returns_zero_when_netlist_whitespace_only():+ task = kicad_task.load()[0]+ session = _mock_session(" \n ")+ assert await kicad_task.evaluate(task, session) == [0.0]+++# ---------------------------------------------------------------------------+# Evaluate: Path 1 — structural comparison via compare_netlist()+# ---------------------------------------------------------------------------++async def test_evaluate_structural_perfect_match():+ """compare_netlist returns 1.0 → evaluate returns [1.0]."""+ task = kicad_task.load()[0]+ session = _mock_session("(some netlist)", compare_score=1.0)+ scores = await kicad_task.evaluate(task, session)+ assert scores == [1.0]+ session.apps.kicad.compare_netlist.assert_called_once()+ session.apps.kicad.get_components.assert_not_called()+++async def test_evaluate_structural_partial_match():+ """compare_netlist returns partial score → evaluate passes it through."""+ task = kicad_task.load()[0]+ session = _mock_session("(some netlist)", compare_score=0.5)+ scores = await kicad_task.evaluate(task, session)+ assert scores == [0.5]+++async def test_evaluate_structural_passes_correct_paths():+ """compare_netlist is called with the right candidate and reference paths."""+ task = kicad_task.load()[0]+ session = _mock_session("(some netlist)", compare_score=1.0)+ await kicad_task.evaluate(task, session)+ call_kwargs = session.apps.kicad.compare_netlist.call_args.kwargs+ assert call_kwargs["candidate_path"] == kicad_task.NETLIST_PATH+ assert call_kwargs["reference_path"].endswith("kicad_twoleds_netlist.net")+++# ---------------------------------------------------------------------------+# Evaluate: Path 2 — expected_components fallback+# ---------------------------------------------------------------------------++async def test_evaluate_component_count_correct():+ """Correct component counts → score 1.0."""+ from cua_bench import Task+ task = Task(+ description="test",+ metadata={"expected_components": {"R": 1, "D": 2}},+ )+ components = [{"ref": "R1"}, {"ref": "D1"}, {"ref": "D2"}]+ session = _mock_session("(export (version E)(components)(nets))", components)+ scores = await kicad_task.evaluate(task, session)+ assert scores == [1.0]+ session.apps.kicad.compare_netlist.assert_not_called()+++async def test_evaluate_component_count_wrong():+ """Wrong component counts → score < 1.0."""+ from cua_bench import Task+ task = Task(+ description="test",+ metadata={"expected_components": {"R": 2, "D": 2}},+ )+ components = [{"ref": "R1"}, {"ref": "D1"}, {"ref": "D2"}] # only 1 R+ session = _mock_session("(export (version E)(components)(nets))", components)+ scores = await kicad_task.evaluate(task, session)+ assert scores[0] < 1.0+++# ---------------------------------------------------------------------------+# Evaluate: Path 3 — netlist_export_only (any valid .net passes)+# ---------------------------------------------------------------------------++async def test_evaluate_export_only_passes_with_valid_netlist():+ task = kicad_task.load()[1] # EmptyNetlistExport+ session = _mock_session("(export (version E)(components)(nets))")+ scores = await kicad_task.evaluate(task, session)+ assert scores == [1.0]+ session.apps.kicad.compare_netlist.assert_not_called()+ session.apps.kicad.get_components.assert_not_called()diff --git a/libs/cua-bench/cua_bench/apps/__init__.py b/libs/cua-bench/cua_bench/apps/__init__.pyindex cbe2d24117..39889bbeec 100644--- a/libs/cua-bench/cua_bench/apps/__init__.py+++ b/libs/cua-bench/cua_bench/apps/__init__.py@@ -51,6 +51,7 @@ Example - Using in a task:from . import adobe_photoshop # noqa: F401from . import calendar # noqa: F401from . import godot # noqa: F401+from . import kicad # noqa: F401from . import notes # noqa: F401from . import openshot # noqa: F401from . import reminders # noqa: F401diff --git a/libs/cua-bench/cua_bench/apps/kicad.py b/libs/cua-bench/cua_bench/apps/kicad.pynew file mode 100644index 0000000000..5d3391337d--- /dev/null+++ b/libs/cua-bench/cua_bench/apps/kicad.py@@ -0,0 +1,578 @@+"""KiCad EDA app definition."""++from __future__ import annotations++import asyncio+import re+from pathlib import Path+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple++from .registry import App, install, launch, uninstall++if TYPE_CHECKING:+ from .registry import BoundApp++_SPICE_TYPE_MAP = {+ "R": "resistor",+ "C": "capacitor",+ "L": "inductor",+ "V": "voltage_source",+ "I": "current_source",+ "D": "diode",+ "Q": "bjt",+ "M": "mosfet",+ "X": "subcircuit",+}+++def _stdout(result) -> str:+ """Extract stdout string from a run_command result."""+ return (result.get("stdout", "") if isinstance(result, dict) else str(result)).strip()+++def _parse_spice_components(netlist: str) -> List[dict]:+ """Parse SPICE netlist text into a list of component dicts."""+ components = []+ for line in netlist.splitlines():+ line = line.strip()+ if not line or line.startswith(("*", ".", "#")):+ continue+ parts = line.split()+ ref = parts[0]+ ctype = _SPICE_TYPE_MAP.get(ref[0].upper(), "unknown")+ components.append(+ {"ref": ref, "type": ctype, "value": parts[-1], "nodes": parts[1:-1]}+ )+ return components+++def _tokenize_sexpr(text: str) -> List[str]:+ """Tokenize s-expression: '(', ')', quoted strings, symbols."""+ tokens: List[str] = []+ i, n = 0, len(text)+ while i < n:+ if text[i].isspace():+ i += 1+ continue+ if text[i] == "(":+ tokens.append("(")+ i += 1+ continue+ if text[i] == ")":+ tokens.append(")")+ i += 1+ continue+ if text[i] == '"':+ j = i + 1+ while j < n and text[j] != '"':+ if text[j] == "\\":+ j += 2+ continue+ j += 1+ tokens.append(text[i : j + 1])+ i = j + 1+ continue+ j = i+ while j < n and not text[j].isspace() and text[j] not in "()":+ j += 1+ tokens.append(text[i:j])+ i = j+ return tokens+++def _parse_sexpr(tokens: List[str], pos: int) -> tuple[Any, int]:+ """Parse tokens into nested lists. Returns (tree, next_pos)."""+ if pos >= len(tokens):+ return [], pos+ if tokens[pos] != "(":+ return tokens[pos], pos + 1+ pos += 1+ result: List[Any] = []+ while pos < len(tokens) and tokens[pos] != ")":+ elem, pos = _parse_sexpr(tokens, pos)+ result.append(elem)+ return result, (pos + 1) if pos < len(tokens) else pos+++def _find_in_tree(tree: Any, name: str) -> Optional[List[Any]]:+ """Find (name ...) in tree."""+ if not isinstance(tree, list) or not tree:+ return None+ if tree[0] == name:+ return tree+ for child in tree:+ found = _find_in_tree(child, name)+ if found is not None:+ return found+ return None+++def _get_field(node: List[Any], key: str) -> Optional[str]:+ """From (comp (ref "X") (value "Y") ...) get value for key."""+ for item in node[1:]:+ if isinstance(item, list) and len(item) >= 2 and item[0] == key:+ v = item[1]+ if isinstance(v, str) and v.startswith('"') and v.endswith('"'):+ return v[1:-1].replace('\\"', '"')+ return str(v) if v is not None else None+ return None+++def _get_libsource(node: List[Any]) -> Tuple[Optional[str], Optional[str]]:+ """From (comp ... (libsource (lib "L") (part "P")) ...) return (lib, part)."""+ for item in node[1:]:+ if isinstance(item, list) and item and item[0] == "libsource":+ return (_get_field(item, "lib"), _get_field(item, "part"))+ return (None, None)+++def _collect_comp_refs(node: Any, out: List[dict]) -> None:+ """Recursively find (comp ...) nodes and append structured dicts to out."""+ if not isinstance(node, list):+ return+ if node and node[0] == "comp":+ ref = _get_field(node, "ref")+ value = _get_field(node, "value")+ lib, part = _get_libsource(node)+ if ref is not None:+ prefix = ref[0].upper() if ref else ""+ out.append({+ "ref": ref,+ "type": _SPICE_TYPE_MAP.get(prefix, "unknown"),+ "value": value or "",+ "lib": lib or "",+ "part": part or "",+ "nodes": [],+ })+ return+ for child in node:+ _collect_comp_refs(child, out)+++def _parse_kicad_netlist(content: str) -> Dict[str, Any]:+ """Parse KiCad .net (s-expression) into components and nets.++ Returns:+ {+ "components": [{"ref": "R1", "value": "100", "lib": "Device",+ "part": "R_US", "type": "resistor", "nodes": []}, ...],+ "nets": [((ref, pin), ...), ...] # each net is a sorted tuple of (ref, pin)+ }+ """+ content = content.strip()+ if not content:+ return {"components": [], "nets": []}++ tokens = _tokenize_sexpr(content)+ if not tokens or tokens[0] != "(":+ return {"components": [], "nets": []}+ tree, _ = _parse_sexpr(tokens, 0)++ components: List[dict] = []+ comps_section = _find_in_tree(tree, "components")+ if comps_section is not None:+ _collect_comp_refs(comps_section, components)++ nets: List[tuple] = []+ nets_section = _find_in_tree(tree, "nets")+ if nets_section is not None:+ for child in nets_section[1:]:+ if isinstance(child, list) and child and child[0] == "net":+ nodes: List[Tuple[str, str]] = []+ for sub in child[1:]:+ if isinstance(sub, list) and sub and sub[0] == "node":+ r = _get_field(sub, "ref")+ p = _get_field(sub, "pin")+ if r is not None and p is not None:+ nodes.append((r, p))+ if nodes:+ nets.append(tuple(sorted(nodes)))++ return {"components": components, "nets": nets}+++def _normalize_value(value: str) -> str:+ """Normalize component value for loose comparison (e.g. '100' vs '100Ω')."""+ v = value.strip()+ return re.sub(r"\s*[ΩohmOHM]\s*$", "", v, flags=re.IGNORECASE)+++def _component_key(c: dict) -> Tuple[str, str, str]:+ """Stable sort key: (ref_prefix, normalized_value, part)."""+ ref = c.get("ref", "")+ prefix = (ref.rstrip("0123456789") or ref).upper()+ value = _normalize_value(c.get("value", ""))+ part = (c.get("part") or c.get("value") or "").strip()+ return (prefix, value, part)+++def _compare_kicad_netlists(+ candidate_content: str,+ reference_content: str,+ *,+ require_same_components: bool = True,+ require_same_nets: bool = True,+) -> float:+ """Compare candidate KiCad netlist to reference. Returns score in [0.0, 1.0].++ Components are matched by (ref_prefix, normalized_value, part) — ref numbers+ (R1 vs R2) and order may differ. Nets are matched by their set of (ref, pin)+ connections — net names/codes are ignored.+ """+ ref = _parse_kicad_netlist(reference_content)+ cand = _parse_kicad_netlist(candidate_content)++ if not ref["components"] and not ref["nets"]:+ return 0.0 if (cand["components"] or cand["nets"]) else 1.0++ scores: List[float] = []+ if require_same_components:+ scores.append(+ 1.0 if sorted(_component_key(c) for c in ref["components"])+ == sorted(_component_key(c) for c in cand["components"]) else 0.0+ )+ if require_same_nets:+ scores.append(1.0 if set(ref["nets"]) == set(cand["nets"]) else 0.0)++ return sum(scores) / len(scores) if scores else 1.0+++class KiCad(App):+ """KiCad - Open source electronics design automation.++ KiCad is a free software suite for schematic capture and PCB layout.++ Install options:+ - with_shortcut: Create desktop shortcut (default True)++ Launch options:+ - project_path: Path to project directory (optional)+ """++ name = "kicad"+ description = "KiCad - Open source electronics design automation"++ # =========================================================================+ # Linux+ # =========================================================================++ @install("linux")+ async def install_linux(+ self: "BoundApp",+ *,+ with_shortcut: bool = True,+ ) -> None:+ """Install KiCad on Linux via PPA."""+ result = await self.session.run_command(+ "sudo add-apt-repository --yes ppa:kicad/kicad-9.0-releases && "+ "sudo apt update && "+ "sudo apt install -y --install-recommends kicad",+ check=False,+ )++ verify = await self.session.run_command(+ "command -v kicad >/dev/null 2>&1 && echo FOUND || echo NOT_FOUND",+ check=False,+ )+ if _stdout(verify) != "FOUND":+ raise RuntimeError(+ f"KiCad install failed: {_stdout(result)}"+ )++ if with_shortcut:+ await self.session.run_command(+ "mkdir -p ~/Desktop ~/.local/share/applications && "+ "printf '%s\n' "+ "'[Desktop Entry]' "+ "'Name=KiCad' "+ "'Comment=Electronic Design Automation Suite' "+ "'Exec=kicad' "+ "'Icon=kicad' "+ "'Type=Application' "+ "'Categories=Development;Electronics;' "+ "'Terminal=true' " # currently requires terminal otherwise the gui crashes when opening the file explorer, not sure why+ "> ~/Desktop/KiCad.desktop && "+ "chmod +x ~/Desktop/KiCad.desktop && "+ "cp ~/Desktop/KiCad.desktop ~/.local/share/applications/KiCad.desktop",+ check=False,+ )++ @launch("linux")+ async def launch_linux(+ self: "BoundApp",+ *,+ project_path: Optional[str] = None,+ ) -> None:+ """Launch KiCad on Linux."""+ cmd = "kicad"+ if project_path:+ cmd += f" '{project_path}'"+ done, pending = await asyncio.wait(+ [+ asyncio.ensure_future(+ self.session.run_command(f"{cmd} &", check=False)+ ),+ asyncio.ensure_future(asyncio.sleep(3)),+ ],+ return_when=asyncio.FIRST_COMPLETED,+ )+ for task in pending:+ task.cancel()++ @uninstall("linux")+ async def uninstall_linux(self: "BoundApp", **kwargs) -> None:+ """Uninstall KiCad from Linux."""+ await self.session.run_command(+ "sudo apt remove -y kicad && "+ "rm -f ~/Desktop/KiCad.desktop && "+ "rm -f ~/.local/share/applications/KiCad.desktop",+ check=False,+ )++ # =========================================================================+ # Windows+ # =========================================================================++ @install("windows")+ async def install_windows(+ self: "BoundApp",+ *,+ with_shortcut: bool = True,+ ) -> None:+ """Install KiCad on Windows via winget."""+ await self.session.run_command(+ "winget install -e --id KiCad.KiCad --accept-package-agreements --accept-source-agreements",+ check=False,+ )+ await asyncio.sleep(30) # Installer may take a while++ @launch("windows")+ async def launch_windows(+ self: "BoundApp",+ *,+ project_path: Optional[str] = None,+ ) -> None:+ """Launch KiCad on Windows."""+ if project_path:+ # Launch KiCad with project path (opens project)+ await self.session.run_command(+ f'start "" "C:\\Program Files\\KiCad\\8.0\\bin\\kicad.exe" "{project_path}"',+ check=False,+ )+ else:+ await self.session.run_command(+ 'start "" "C:\\Program Files\\KiCad\\8.0\\bin\\kicad.exe"',+ check=False,+ )+ await asyncio.sleep(5)++ @uninstall("windows")+ async def uninstall_windows(self: "BoundApp", **kwargs) -> None:+ """Uninstall KiCad from Windows."""+ await self.session.run_command(+ "winget uninstall -e --id KiCad.KiCad",+ check=False,+ )++ # =========================================================================+ # macOS+ # =========================================================================++ @install("macos")+ async def install_macos(+ self: "BoundApp",+ *,+ with_shortcut: bool = True,+ ) -> None:+ """Install KiCad on macOS via Homebrew."""+ await self.session.run_command(+ "brew install --cask kicad",+ check=False,+ )++ @launch("macos")+ async def launch_macos(+ self: "BoundApp",+ *,+ project_path: Optional[str] = None,+ ) -> None:+ """Launch KiCad on macOS."""+ cmd = 'open -a "KiCad"'+ if project_path:+ cmd += f' --args "{project_path}"'+ await self.session.run_command(cmd, check=False)+ await asyncio.sleep(3)++ @uninstall("macos")+ async def uninstall_macos(self: "BoundApp", **kwargs) -> None:+ """Uninstall KiCad from macOS."""+ await self.session.run_command("brew uninstall --cask kicad", check=False)++ # =========================================================================+ # Netlist helpers (cross-platform)+ # =========================================================================++ async def export_netlist(+ self: "BoundApp",+ *,+ schematic_path: str,+ output_path: str,+ ) -> str:+ """Export a SPICE netlist from a .kicad_sch using kicad-cli.++ Args:+ schematic_path: Path to the .kicad_sch schematic on the VM.+ output_path: Destination path for the .cir netlist on the VM.++ Returns:+ The output_path on success.++ Raises:+ RuntimeError: If the output file was not created.+ """+ result = await self.session.run_command(+ f'kicad-cli sch export spice -o "{output_path}" "{schematic_path}"',+ check=False,+ )+ verify = await self.session.run_command(+ f'test -f "{output_path}" && echo FOUND || echo NOT_FOUND',+ check=False,+ )+ if _stdout(verify) != "FOUND":+ raise RuntimeError(f"Netlist export failed: {_stdout(result)}")+ return output_path++ async def read_netlist(self: "BoundApp", *, netlist_path: str) -> str:+ """Read a netlist file from the VM (SPICE .cir or KiCad .net).++ Args:+ netlist_path: Path to the netlist file on the VM.++ Returns:+ Raw text content of the netlist.+ """+ result = await self.session.run_command(+ f'cat "{netlist_path}"', check=False,+ )+ return _stdout(result)++ async def get_components(+ self: "BoundApp", *, netlist_path: str+ ) -> List[dict]:+ """Read and parse a netlist into structured components.++ Supports SPICE (.cir) and KiCad (.net) formats.++ Args:+ netlist_path: Path to the .cir or .net file on the VM.++ Returns:+ List of dicts with keys ``ref``, ``type``, ``value``, ``lib``,+ ``part``, ``nodes``.+ """+ netlist = await self.read_netlist(netlist_path=netlist_path)+ if netlist_path.rstrip("/").endswith(".net"):+ return _parse_kicad_netlist(netlist)["components"]+ return _parse_spice_components(netlist)++ async def compare_netlist(+ self: "BoundApp",+ *,+ candidate_path: str,+ reference_path: str,+ require_same_components: bool = True,+ require_same_nets: bool = True,+ ) -> float:+ """Compare the agent's output netlist against a reference.++ Reads the candidate from the VM and the reference from the local+ filesystem, returning a structural similarity score in [0.0, 1.0].++ Components are matched by (ref_prefix, normalized_value, part) —+ ref numbers and order may differ. Nets are matched by their set of+ (ref, pin) connections — net names are ignored.++ Args:+ candidate_path: Path to the candidate .net file on the VM.+ reference_path: Absolute path to the reference .net file locally.+ require_same_components: Include component-set check (default True).+ require_same_nets: Include net-topology check (default True).++ Returns:+ Score 0.0 (no match) to 1.0 (exact match).+ """+ candidate = await self.read_netlist(netlist_path=candidate_path)+ reference = Path(reference_path).read_text(encoding="utf-8", errors="replace")+ return _compare_kicad_netlists(+ candidate,+ reference,+ require_same_components=require_same_components,+ require_same_nets=require_same_nets,+ )++ async def simulate_operating_point(+ self: "BoundApp",+ *,+ netlist_path: str,+ ground: int = 0,+ ) -> Dict[str, float]:+ """Run a DC operating-point simulation via PySpice.++ Reads the netlist from the VM, then simulates locally.+ Requires the ``spice`` extra (``pip install cua-bench[spice]``).++ Args:+ netlist_path: Path to the .cir file on the VM.+ ground: Node number to use as ground reference.++ Returns:+ Dict mapping node name to its DC voltage.+ """+ from PySpice.Spice.Parser import SpiceParser++ netlist = await self.read_netlist(netlist_path=netlist_path)+ parser = SpiceParser(source=netlist)+ circuit = parser.build_circuit(ground=ground)+ simulator = circuit.simulator(temperature=25, nominal_temperature=25)+ analysis = simulator.operating_point()+ return {str(node): float(node) for node in analysis.nodes.values()}++ async def simulate_transient(+ self: "BoundApp",+ *,+ netlist_path: str,+ step_time_us: float,+ end_time_us: float,+ ground: int = 0,+ ) -> Dict[str, list]:+ """Run a transient simulation via PySpice.++ Reads the netlist from the VM, then simulates locally.+ Requires the ``spice`` extra (``pip install cua-bench[spice]``).++ Args:+ netlist_path: Path to the .cir file on the VM.+ step_time_us: Simulation step time in microseconds.+ end_time_us: Simulation end time in microseconds.+ ground: Node number to use as ground reference.++ Returns:+ Dict with a ``time`` key (list of seconds) and one key per+ circuit node mapping to a list of voltage samples.+ """+ from PySpice.Spice.Parser import SpiceParser+ from PySpice.Unit import u_us++ netlist = await self.read_netlist(netlist_path=netlist_path)+ parser = SpiceParser(source=netlist)+ circuit = parser.build_circuit(ground=ground)+ simulator = circuit.simulator(temperature=25, nominal_temperature=25)+ analysis = simulator.transient(+ step_time=step_time_us @ u_us, end_time=end_time_us @ u_us+ )+ result: Dict[str, list] = {+ "time": [float(t) for t in analysis.time],+ }+ for node in analysis.nodes.values():+ result[str(node)] = [float(v) for v in node]+ return resultdiff --git a/libs/cua-bench/cua_bench/apps/registry.py b/libs/cua-bench/cua_bench/apps/registry.pyindex f3a34038ab..6edac4e097 100644--- a/libs/cua-bench/cua_bench/apps/registry.py+++ b/libs/cua-bench/cua_bench/apps/registry.py@@ -224,10 +224,17 @@ class BoundApp:Allows accessing custom getters like:await session.apps.chrome.get_current_url()"""- # Check if the app has this attribute- attr = getattr(self._app, name, None)+ # Look up the attribute on the App *class* first so we get the+ # unbound function rather than a method already bound to the App+ # instance. Custom getters are defined with ``self: "BoundApp"`` and+ # expect the BoundApp as their first positional argument.+ attr = getattr(type(self._app), name, None)if attr is None:- raise AttributeError(f"App '{self._app.name}' has no attribute '{name}'")+ # Fall back to instance attribute (e.g. a plain value)+ attr = getattr(self._app, name, None)+ if attr is None:+ raise AttributeError(f"App '{self._app.name}' has no attribute '{name}'")+ return attr# If it's a callable (custom method), wrap it to pass self (BoundApp)if callable(attr):diff --git a/libs/cua-bench/pyproject.toml b/libs/cua-bench/pyproject.tomlindex 8d6a7c3f42..966efdcf9a 100644--- a/libs/cua-bench/pyproject.toml+++ b/libs/cua-bench/pyproject.toml@@ -60,7 +60,7 @@ dependencies = [[project.optional-dependencies]# Full installation with all featuresall = [- "cua-bench[browser,agents,cloud,otel]",+ "cua-bench[browser,agents,cloud,otel,spice]",]# Browser automation (for simulated environments)@@ -91,6 +91,11 @@ cloud = ["cua-bench[otel]",]+# SPICE circuit simulation (for KiCad netlist evaluation)+spice = [+ "PySpice>=1.5",+]+# API server (for custom environments)server = ["fastapi>=0.100.0",@@ -170,3 +175,9 @@ ignore = ["E501"][tool.pytest.ini_options]asyncio_mode = "auto"testpaths = ["cua_bench/tests"]++[dependency-groups]+dev = [+ "pytest>=8.4.2",+ "pytest-asyncio>=1.3.0",+]diff --git a/libs/cua-bench/uv.lock b/libs/cua-bench/uv.lockindex d9ae911bce..1de0fdc4fd 100644--- a/libs/cua-bench/uv.lock+++ b/libs/cua-bench/uv.lock@@ -1,5 +1,5 @@version = 1-revision = 2+revision = 3requires-python = ">=3.12, <3.14"resolution-markers = ["python_full_version >= '3.13' and sys_platform == 'linux'",@@ -469,30 +469,30 @@ wheels = [[[package]]name = "cua-agent"-version = "0.6.2"+version = "0.8.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },{ name = "anyio" },{ name = "asyncio" },{ name = "certifi" },- { name = "cua-computer" },{ name = "cua-core" },{ name = "httpx" },{ name = "litellm" },+ { name = "pillow" },{ name = "pydantic" },{ name = "python-dotenv" },{ name = "rich" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/b0/6c/df06ea0314a7eba2ae79e6d3cf9e42a72f8276b259e8722b9edfdd8bba2c/cua_agent-0.6.2.tar.gz", hash = "sha256:a1053e684d938488d75649f12448e74c88b7a029cd79d49de78931ef7098d393", size = 162689, upload-time = "2025-12-18T22:22:07.224Z" }+sdist = { url = "https://files.pythonhosted.org/packages/c4/32/9d8371b42d6aca886157b2d8992a69cba49456da7f773067b9a60585c199/cua_agent-0.8.2.tar.gz", hash = "sha256:8f5f3eb2db78f27f09acd41e201e40598e8554117efa0e69e9a734490a35f626", size = 197517, upload-time = "2026-04-15T21:42:05.284Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/61/2d/6a9aeac58a625ea3d326acf23690e75ba49f4cde6c1457927efc3b94f789/cua_agent-0.6.2-py3-none-any.whl", hash = "sha256:40b0a9b03689f37d925176b4423aaaabc0d23d8273dbb21d0054b73c01cfb966", size = 202054, upload-time = "2025-12-18T22:22:04.92Z" },+ { url = "https://files.pythonhosted.org/packages/ee/c5/0d81b8e87b39afe562a041e485b4eed2bbe45cfc57525666d4ef4f2dfaf0/cua_agent-0.8.2-py3-none-any.whl", hash = "sha256:2fb5f2f51db666825e2ea8041623b52bdb88bdf85fbb6f40de0e0b42949ce950", size = 243591, upload-time = "2026-04-15T21:42:03.89Z" },][[package]]name = "cua-bench"-version = "0.2.3"+version = "0.2.10"source = { editable = "." }dependencies = [{ name = "aiofiles" },@@ -507,6 +507,7 @@ dependencies = [{ name = "matplotlib" },{ name = "numpy" },{ name = "pillow" },+ { name = "playwright" },{ name = "psutil" },{ name = "pyquery" },{ name = "python-dotenv" },@@ -528,7 +529,11 @@ all = [{ name = "google-cloud-logging" },{ name = "google-cloud-storage" },{ name = "grpcio" },+ { name = "opentelemetry-api" },+ { name = "opentelemetry-exporter-otlp-proto-http" },+ { name = "opentelemetry-sdk" },{ name = "playwright" },+ { name = "pyspice" },]browser = [{ name = "playwright" },@@ -539,12 +544,20 @@ cloud = [{ name = "google-cloud-logging" },{ name = "google-cloud-storage" },{ name = "grpcio" },+ { name = "opentelemetry-api" },+ { name = "opentelemetry-exporter-otlp-proto-http" },+ { name = "opentelemetry-sdk" },]dev = [{ name = "pytest" },{ name = "pytest-asyncio" },{ name = "ruff" },]+otel = [+ { name = "opentelemetry-api" },+ { name = "opentelemetry-exporter-otlp-proto-http" },+ { name = "opentelemetry-sdk" },+]rl = [{ name = "torch" },{ name = "torchvision" },@@ -557,11 +570,20 @@ server = [{ name = "python-multipart" },{ name = "uvicorn" },]+spice = [+ { name = "pyspice" },+]windows = [{ name = "icoextract" },{ name = "pypiwin32" },]+[package.dev-dependencies]+dev = [+ { name = "pytest" },+ { name = "pytest-asyncio" },+]+[package.metadata]requires-dist = [{ name = "aiofiles", specifier = ">=23.0.0" },@@ -569,10 +591,11 @@ requires-dist = [{ name = "aiosqlite", marker = "extra == 'server'", specifier = ">=0.19.0" },{ name = "anthropic", marker = "extra == 'agents'", specifier = ">=0.26.0" },{ name = "beautifulsoup4", specifier = ">=4.14.2" },- { name = "cua-agent", marker = "extra == 'agents'", specifier = ">=0.6.2" },- { name = "cua-bench", extras = ["browser", "agents", "cloud"], marker = "extra == 'all'" },+ { name = "cua-agent", marker = "extra == 'agents'", specifier = ">=0.8.0" },+ { name = "cua-bench", extras = ["browser", "agents", "cloud", "otel", "spice"], marker = "extra == 'all'" },+ { name = "cua-bench", extras = ["otel"], marker = "extra == 'cloud'" },{ name = "cua-computer", specifier = ">=0.4.19" },- { name = "cua-core" },+ { name = "cua-core", specifier = ">=0.3.0,<0.4.0" },{ name = "datasets", specifier = ">=3.0.0" },{ name = "docker", specifier = ">=7.0.0" },{ name = "fastapi", marker = "extra == 'server'", specifier = ">=0.100.0" },@@ -586,11 +609,16 @@ requires-dist = [{ name = "jinja2", specifier = ">=3.1.0" },{ name = "matplotlib", specifier = ">=3.8.0" },{ name = "numpy", specifier = ">=2.0.0" },+ { name = "opentelemetry-api", marker = "extra == 'otel'", specifier = ">=1.20.0" },+ { name = "opentelemetry-exporter-otlp-proto-http", marker = "extra == 'otel'", specifier = ">=1.20.0" },+ { name = "opentelemetry-sdk", marker = "extra == 'otel'", specifier = ">=1.20.0" },{ name = "pillow", specifier = ">=11.0.0" },+ { name = "playwright", specifier = ">=1.55.0" },{ name = "playwright", marker = "extra == 'browser'", specifier = ">=1.40.0" },{ name = "psutil", specifier = ">=5.9.0" },{ name = "pypiwin32", marker = "extra == 'windows'", specifier = ">=223" },{ name = "pyquery", specifier = ">=2.0.1" },+ { name = "pyspice", marker = "extra == 'spice'", specifier = ">=1.5" },{ name = "pytest", marker = "extra == 'dev'", specifier = ">=8.0.0" },{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.23.0" },{ name = "python-dotenv", specifier = ">=1.0.0" },@@ -605,11 +633,17 @@ requires-dist = [{ name = "verl", marker = "extra == 'rl'" },{ name = "websockets", specifier = ">=12.0" },]-provides-extras = ["all", "browser", "agents", "cloud", "server", "windows", "dev", "rl"]+provides-extras = ["all", "browser", "agents", "otel", "cloud", "spice", "server", "windows", "dev", "rl"]++[package.metadata.requires-dev]+dev = [+ { name = "pytest", specifier = ">=8.4.2" },+ { name = "pytest-asyncio", specifier = ">=1.3.0" },+][[package]]name = "cua-computer"-version = "0.4.19"+version = "0.5.18"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },@@ -620,23 +654,21 @@ dependencies = [{ name = "websocket-client" },{ name = "websockets" },]-sdist = { url = "https://files.pythonhosted.org/packages/a4/ab/4834a349fb1b9f743b8cc41c1dda5cee3ce3930641f390d118c9d5198fae/cua_computer-0.4.19.tar.gz", hash = "sha256:e477c37ea42ccea1c3c0b815aa71a972c436509fbeef3888cd2e74d5f2ea14c1", size = 94383, upload-time = "2025-12-18T04:00:05.232Z" }+sdist = { url = "https://files.pythonhosted.org/packages/ef/b1/0ad69b0fd25bb11b2f68c7db5481b8a020763a354f1f636698fee00f383d/cua_computer-0.5.18.tar.gz", hash = "sha256:4f15df2dffc60af7cf80e0954186b12301ee08fd12d6fdf8b531ec4c63650837", size = 102054, upload-time = "2026-04-15T21:22:03.49Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/d2/92/5468cd82ad5cf604210ac6c99ac9a83b182feec415046e9a86069f171daf/cua_computer-0.4.19-py3-none-any.whl", hash = "sha256:62ed7f619a90c01f187a1eae6452ccbe7a6f91044e154aa69776cde76391bec8", size = 106403, upload-time = "2025-12-18T04:00:03.835Z" },+ { url = "https://files.pythonhosted.org/packages/ed/52/1d0ba187276259bd1306a4a568cf50fedc9b0ac48743a60629d6ba21ed81/cua_computer-0.5.18-py3-none-any.whl", hash = "sha256:afeff75460cacf4c2a112f9aeb972da3dfe134db9e916c71b8ae1466e67e0e85", size = 117684, upload-time = "2026-04-15T21:22:02.088Z" },][[package]]name = "cua-core"-version = "0.1.9"+version = "0.3.1"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "httpx" },{ name = "posthog" },- { name = "pydantic" },]-sdist = { url = "https://files.pythonhosted.org/packages/96/ca/4d003a50f52d7130fdf0c78b16c80b32285cbb28fc8ded8683d71a2567c5/cua_core-0.1.9.tar.gz", hash = "sha256:d00da9d516b95f1b6c35c0bedf6d8310437f457d84406dbd3feeb3b5b89bd79c", size = 4451, upload-time = "2025-08-19T16:10:17.695Z" }+sdist = { url = "https://files.pythonhosted.org/packages/f3/82/ec371bde395bbbd326a3467a1702b34ab629defa0cc89bd81ac78507ca5a/cua_core-0.3.1.tar.gz", hash = "sha256:a8fc4204981b9d5b604bd2a34de0bb41cf926309e4dd9f364c827750a86408da", size = 10710, upload-time = "2026-04-15T21:39:49.172Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/14/4e/ac18c3acbc79f2ebc0e7005951291528e704ee2359a41cbc5f32844730c0/cua_core-0.1.9-py3-none-any.whl", hash = "sha256:f587020380293215b96a457b0f80557252517c130d509fce27c3c25e68ccc933", size = 5154, upload-time = "2025-08-19T16:10:17.018Z" },+ { url = "https://files.pythonhosted.org/packages/ed/90/5148998a26671855539e2c3a620f72ef51f83118beffdfb7e77893d4730b/cua_core-0.3.1-py3-none-any.whl", hash = "sha256:9191b8abf5e02ea6bf8ba21237e747d4e3b319f6f24d4e66e04b7606fcc449f6", size = 10239, upload-time = "2026-04-15T21:39:48.265Z" },][[package]]@@ -644,7 +676,7 @@ name = "cuda-bindings"version = "12.9.4"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "cuda-pathfinder" },+ { name = "cuda-pathfinder", marker = "sys_platform == 'linux'" },]wheels = [{ url = "https://files.pythonhosted.org/packages/a9/c1/dabe88f52c3e3760d861401bb994df08f672ec893b8f7592dc91626adcf3/cuda_bindings-12.9.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fda147a344e8eaeca0c6ff113d2851ffca8f7dfc0a6c932374ee5c47caa649c8", size = 12151019, upload-time = "2025-10-21T14:51:43.167Z" },@@ -1460,7 +1492,7 @@ wheels = [[[package]]name = "litellm"-version = "1.80.5"+version = "1.80.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },@@ -1476,9 +1508,9 @@ dependencies = [{ name = "tiktoken" },{ name = "tokenizers" },]-sdist = { url = "https://files.pythonhosted.org/packages/85/b8/357544534bef87dd2858432f3cbd3a0e5cc267caebca5ea86b03618786c5/litellm-1.80.5.tar.gz", hash = "sha256:922791c264845d9ed59e540c8fa74a74d237c1b209568a05ffeacd8b51770deb", size = 11885764, upload-time = "2025-11-22T23:41:42.25Z" }+sdist = { url = "https://files.pythonhosted.org/packages/bd/8c/48d533affdbc6d485b7ad4221cd3b40b8c12f9f5568edfe0be0b11e7b945/litellm-1.80.0.tar.gz", hash = "sha256:eeac733eb6b226f9e5fb020f72fe13a32b3354b001dc62bcf1bc4d9b526d6231", size = 11591976, upload-time = "2025-11-16T00:03:51.812Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/bd/af/1d4693746ff9fbbe27a6e7d6394b801acf234e00c83f45ad1cb5bf2eaa6c/litellm-1.80.5-py3-none-any.whl", hash = "sha256:2ac5f4e88cd57ae056e00da8f872e1c2956653750929fba2fd9b007b400fdb77", size = 10671970, upload-time = "2025-11-22T23:41:39.923Z" },+ { url = "https://files.pythonhosted.org/packages/ea/53/aa31e4d057b3746b3c323ca993003d6cf15ef987e7fe7ceb53681695ae87/litellm-1.80.0-py3-none-any.whl", hash = "sha256:fd0009758f4772257048d74bf79bb64318859adb4ea49a8b66fdbc718cd80b6e", size = 10492975, upload-time = "2025-11-16T00:03:49.182Z" },][[package]]@@ -1837,7 +1869,7 @@ name = "nvidia-cudnn-cu12"version = "9.10.2.21"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "nvidia-cublas-cu12" },+ { name = "nvidia-cublas-cu12", marker = "sys_platform == 'linux'" },]wheels = [{ url = "https://files.pythonhosted.org/packages/ba/51/e123d997aa098c61d029f76663dedbfb9bc8dcf8c60cbd6adbe42f76d049/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:949452be657fa16687d0930933f032835951ef0892b37d2d53824d1a84dc97a8", size = 706758467, upload-time = "2025-06-06T21:54:08.597Z" },@@ -1848,7 +1880,7 @@ name = "nvidia-cufft-cu12"version = "11.3.3.83"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "nvidia-nvjitlink-cu12" },+ { name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },]wheels = [{ url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695, upload-time = "2025-03-07T01:45:27.821Z" },@@ -1875,9 +1907,9 @@ name = "nvidia-cusolver-cu12"version = "11.7.3.90"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "nvidia-cublas-cu12" },- { name = "nvidia-cusparse-cu12" },- { name = "nvidia-nvjitlink-cu12" },+ { name = "nvidia-cublas-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-cusparse-cu12", marker = "sys_platform == 'linux'" },+ { name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },]wheels = [{ url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905, upload-time = "2025-03-07T01:47:16.273Z" },@@ -1888,7 +1920,7 @@ name = "nvidia-cusparse-cu12"version = "12.5.8.93"source = { registry = "https://pypi.org/simple" }dependencies = [- { name = "nvidia-nvjitlink-cu12" },+ { name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },]wheels = [{ url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466, upload-time = "2025-03-07T01:48:13.779Z" },@@ -2002,6 +2034,36 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/91/48/28ed9e55dcf2f453128df738210a980e09f4e468a456fa3c763dbc8be70a/opentelemetry_api-1.37.0-py3-none-any.whl", hash = "sha256:accf2024d3e89faec14302213bc39550ec0f4095d1cf5ca688e1bfb1c8612f47", size = 65732, upload-time = "2025-09-11T10:28:41.826Z" },]+[[package]]+name = "opentelemetry-exporter-otlp-proto-common"+version = "1.37.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "opentelemetry-proto" },+]+sdist = { url = "https://files.pythonhosted.org/packages/dc/6c/10018cbcc1e6fff23aac67d7fd977c3d692dbe5f9ef9bb4db5c1268726cc/opentelemetry_exporter_otlp_proto_common-1.37.0.tar.gz", hash = "sha256:c87a1bdd9f41fdc408d9cc9367bb53f8d2602829659f2b90be9f9d79d0bfe62c", size = 20430, upload-time = "2025-09-11T10:29:03.605Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/08/13/b4ef09837409a777f3c0af2a5b4ba9b7af34872bc43609dda0c209e4060d/opentelemetry_exporter_otlp_proto_common-1.37.0-py3-none-any.whl", hash = "sha256:53038428449c559b0c564b8d718df3314da387109c4d36bd1b94c9a641b0292e", size = 18359, upload-time = "2025-09-11T10:28:44.939Z" },+]++[[package]]+name = "opentelemetry-exporter-otlp-proto-http"+version = "1.37.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "googleapis-common-protos" },+ { name = "opentelemetry-api" },+ { name = "opentelemetry-exporter-otlp-proto-common" },+ { name = "opentelemetry-proto" },+ { name = "opentelemetry-sdk" },+ { name = "requests" },+ { name = "typing-extensions" },+]+sdist = { url = "https://files.pythonhosted.org/packages/5d/e3/6e320aeb24f951449e73867e53c55542bebbaf24faeee7623ef677d66736/opentelemetry_exporter_otlp_proto_http-1.37.0.tar.gz", hash = "sha256:e52e8600f1720d6de298419a802108a8f5afa63c96809ff83becb03f874e44ac", size = 17281, upload-time = "2025-09-11T10:29:04.844Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/e9/e9/70d74a664d83976556cec395d6bfedd9b85ec1498b778367d5f93e373397/opentelemetry_exporter_otlp_proto_http-1.37.0-py3-none-any.whl", hash = "sha256:54c42b39945a6cc9d9a2a33decb876eabb9547e0dcb49df090122773447f1aef", size = 19576, upload-time = "2025-09-11T10:28:46.726Z" },+]+[[package]]name = "opentelemetry-exporter-prometheus"version = "0.58b0"@@ -2018,14 +2080,14 @@ wheels = [[[package]]name = "opentelemetry-proto"-version = "1.39.1"+version = "1.37.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "protobuf" },]-sdist = { url = "https://files.pythonhosted.org/packages/49/1d/f25d76d8260c156c40c97c9ed4511ec0f9ce353f8108ca6e7561f82a06b2/opentelemetry_proto-1.39.1.tar.gz", hash = "sha256:6c8e05144fc0d3ed4d22c2289c6b126e03bcd0e6a7da0f16cedd2e1c2772e2c8", size = 46152, upload-time = "2025-12-11T13:32:48.681Z" }+sdist = { url = "https://files.pythonhosted.org/packages/dd/ea/a75f36b463a36f3c5a10c0b5292c58b31dbdde74f6f905d3d0ab2313987b/opentelemetry_proto-1.37.0.tar.gz", hash = "sha256:30f5c494faf66f77faeaefa35ed4443c5edb3b0aa46dad073ed7210e1a789538", size = 46151, upload-time = "2025-09-11T10:29:11.04Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/51/95/b40c96a7b5203005a0b03d8ce8cd212ff23f1793d5ba289c87a097571b18/opentelemetry_proto-1.39.1-py3-none-any.whl", hash = "sha256:22cdc78efd3b3765d09e68bfbd010d4fc254c9818afd0b6b423387d9dee46007", size = 72535, upload-time = "2025-12-11T13:32:33.866Z" },+ { url = "https://files.pythonhosted.org/packages/c4/25/f89ea66c59bd7687e218361826c969443c4fa15dfe89733f3bf1e2a9e971/opentelemetry_proto-1.37.0-py3-none-any.whl", hash = "sha256:8ed8c066ae8828bbf0c39229979bdf583a126981142378a9cbe9d6fd5701c6e2", size = 72534, upload-time = "2025-09-11T10:28:56.831Z" },][[package]]@@ -2247,6 +2309,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },]+[[package]]+name = "ply"+version = "3.11"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz", hash = "sha256:00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3", size = 159130, upload-time = "2018-02-15T19:01:31.097Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl", hash = "sha256:096f9b8350b65ebd2fd1346b12452efe5b9607f7482813ffca50c22722a807ce", size = 49567, upload-time = "2018-02-15T19:01:27.172Z" },+]+[[package]]name = "posthog"version = "7.4.0"@@ -2589,6 +2660,24 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/76/f5/5067b48012967ea166b9bd0a015b69e0560e4c6e7c06f28d9bab8f9dd10b/pyquery-2.0.1-py3-none-any.whl", hash = "sha256:aedfa0bd0eb9afc94b3ddbec8f375a6362b32bc9662f46e3e0d866483f4771b0", size = 22573, upload-time = "2024-08-30T08:12:22.586Z" },]+[[package]]+name = "pyspice"+version = "1.5"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cffi" },+ { name = "matplotlib" },+ { name = "numpy" },+ { name = "ply" },+ { name = "pyyaml" },+ { name = "requests" },+ { name = "scipy" },+]+sdist = { url = "https://files.pythonhosted.org/packages/0a/c5/8bc8c2838edc410e7751c1fcfe80b7bd1280e35e96661a866743fd6a0700/PySpice-1.5.tar.gz", hash = "sha256:d28448accad98959e0f5932af8736e90a1f3f9ff965121c6881d24cdfca23d22", size = 685039, upload-time = "2021-05-15T23:01:56.438Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/55/5e/b41350ab2547751fa6c81e9da5174af585b41e70e2241e4e46c77f17dd8d/PySpice-1.5-py2.py3-none-any.whl", hash = "sha256:a7512163136a6af5911ba280dc97f70224ed5acfcd5647edbafca9e2053d229c", size = 158492, upload-time = "2021-05-15T23:01:53.938Z" },+]+[[package]]name = "pytest"version = "8.4.2"@@ -2944,6 +3033,47 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/5d/e6/ec8471c8072382cb91233ba7267fd931219753bb43814cbc71757bfd4dab/safetensors-0.7.0-cp38-abi3-win_amd64.whl", hash = "sha256:d1239932053f56f3456f32eb9625590cc7582e905021f94636202a864d470755", size = 341380, upload-time = "2025-11-19T15:18:44.427Z" },]+[[package]]+name = "scipy"+version = "1.17.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "numpy" },+]+sdist = { url = "https://files.pythonhosted.org/packages/56/3e/9cca699f3486ce6bc12ff46dc2031f1ec8eb9ccc9a320fdaf925f1417426/scipy-1.17.0.tar.gz", hash = "sha256:2591060c8e648d8b96439e111ac41fd8342fdeff1876be2e19dea3fe8930454e", size = 30396830, upload-time = "2026-01-10T21:34:23.009Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/0b/11/7241a63e73ba5a516f1930ac8d5b44cbbfabd35ac73a2d08ca206df007c4/scipy-1.17.0-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:0d5018a57c24cb1dd828bcf51d7b10e65986d549f52ef5adb6b4d1ded3e32a57", size = 31364580, upload-time = "2026-01-10T21:25:25.717Z" },+ { url = "https://files.pythonhosted.org/packages/ed/1d/5057f812d4f6adc91a20a2d6f2ebcdb517fdbc87ae3acc5633c9b97c8ba5/scipy-1.17.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:88c22af9e5d5a4f9e027e26772cc7b5922fab8bcc839edb3ae33de404feebd9e", size = 27969012, upload-time = "2026-01-10T21:25:30.921Z" },+ { url = "https://files.pythonhosted.org/packages/e3/21/f6ec556c1e3b6ec4e088da667d9987bb77cc3ab3026511f427dc8451187d/scipy-1.17.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:f3cd947f20fe17013d401b64e857c6b2da83cae567adbb75b9dcba865abc66d8", size = 20140691, upload-time = "2026-01-10T21:25:34.802Z" },+ { url = "https://files.pythonhosted.org/packages/7a/fe/5e5ad04784964ba964a96f16c8d4676aa1b51357199014dce58ab7ec5670/scipy-1.17.0-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:e8c0b331c2c1f531eb51f1b4fc9ba709521a712cce58f1aa627bc007421a5306", size = 22463015, upload-time = "2026-01-10T21:25:39.277Z" },+ { url = "https://files.pythonhosted.org/packages/4a/69/7c347e857224fcaf32a34a05183b9d8a7aca25f8f2d10b8a698b8388561a/scipy-1.17.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5194c445d0a1c7a6c1a4a4681b6b7c71baad98ff66d96b949097e7513c9d6742", size = 32724197, upload-time = "2026-01-10T21:25:44.084Z" },+ { url = "https://files.pythonhosted.org/packages/d1/fe/66d73b76d378ba8cc2fe605920c0c75092e3a65ae746e1e767d9d020a75a/scipy-1.17.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9eeb9b5f5997f75507814ed9d298ab23f62cf79f5a3ef90031b1ee2506abdb5b", size = 35009148, upload-time = "2026-01-10T21:25:50.591Z" },+ { url = "https://files.pythonhosted.org/packages/af/07/07dec27d9dc41c18d8c43c69e9e413431d20c53a0339c388bcf72f353c4b/scipy-1.17.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:40052543f7bbe921df4408f46003d6f01c6af109b9e2c8a66dd1cf6cf57f7d5d", size = 34798766, upload-time = "2026-01-10T21:25:59.41Z" },+ { url = "https://files.pythonhosted.org/packages/81/61/0470810c8a093cdacd4ba7504b8a218fd49ca070d79eca23a615f5d9a0b0/scipy-1.17.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0cf46c8013fec9d3694dc572f0b54100c28405d55d3e2cb15e2895b25057996e", size = 37405953, upload-time = "2026-01-10T21:26:07.75Z" },+ { url = "https://files.pythonhosted.org/packages/92/ce/672ed546f96d5d41ae78c4b9b02006cedd0b3d6f2bf5bb76ea455c320c28/scipy-1.17.0-cp312-cp312-win_amd64.whl", hash = "sha256:0937a0b0d8d593a198cededd4c439a0ea216a3f36653901ea1f3e4be949056f8", size = 36328121, upload-time = "2026-01-10T21:26:16.509Z" },+ { url = "https://files.pythonhosted.org/packages/9d/21/38165845392cae67b61843a52c6455d47d0cc2a40dd495c89f4362944654/scipy-1.17.0-cp312-cp312-win_arm64.whl", hash = "sha256:f603d8a5518c7426414d1d8f82e253e454471de682ce5e39c29adb0df1efb86b", size = 24314368, upload-time = "2026-01-10T21:26:23.087Z" },+ { url = "https://files.pythonhosted.org/packages/0c/51/3468fdfd49387ddefee1636f5cf6d03ce603b75205bf439bbf0e62069bfd/scipy-1.17.0-cp313-cp313-macosx_10_14_x86_64.whl", hash = "sha256:65ec32f3d32dfc48c72df4291345dae4f048749bc8d5203ee0a3f347f96c5ce6", size = 31344101, upload-time = "2026-01-10T21:26:30.25Z" },+ { url = "https://files.pythonhosted.org/packages/b2/9a/9406aec58268d437636069419e6977af953d1e246df941d42d3720b7277b/scipy-1.17.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:1f9586a58039d7229ce77b52f8472c972448cded5736eaf102d5658bbac4c269", size = 27950385, upload-time = "2026-01-10T21:26:36.801Z" },+ { url = "https://files.pythonhosted.org/packages/4f/98/e7342709e17afdfd1b26b56ae499ef4939b45a23a00e471dfb5375eea205/scipy-1.17.0-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:9fad7d3578c877d606b1150135c2639e9de9cecd3705caa37b66862977cc3e72", size = 20122115, upload-time = "2026-01-10T21:26:42.107Z" },+ { url = "https://files.pythonhosted.org/packages/fd/0e/9eeeb5357a64fd157cbe0302c213517c541cc16b8486d82de251f3c68ede/scipy-1.17.0-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:423ca1f6584fc03936972b5f7c06961670dbba9f234e71676a7c7ccf938a0d61", size = 22442402, upload-time = "2026-01-10T21:26:48.029Z" },+ { url = "https://files.pythonhosted.org/packages/c9/10/be13397a0e434f98e0c79552b2b584ae5bb1c8b2be95db421533bbca5369/scipy-1.17.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fe508b5690e9eaaa9467fc047f833af58f1152ae51a0d0aed67aa5801f4dd7d6", size = 32696338, upload-time = "2026-01-10T21:26:55.521Z" },+ { url = "https://files.pythonhosted.org/packages/63/1e/12fbf2a3bb240161651c94bb5cdd0eae5d4e8cc6eaeceb74ab07b12a753d/scipy-1.17.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6680f2dfd4f6182e7d6db161344537da644d1cf85cf293f015c60a17ecf08752", size = 34977201, upload-time = "2026-01-10T21:27:03.501Z" },+ { url = "https://files.pythonhosted.org/packages/19/5b/1a63923e23ccd20bd32156d7dd708af5bbde410daa993aa2500c847ab2d2/scipy-1.17.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:eec3842ec9ac9de5917899b277428886042a93db0b227ebbe3a333b64ec7643d", size = 34777384, upload-time = "2026-01-10T21:27:11.423Z" },+ { url = "https://files.pythonhosted.org/packages/39/22/b5da95d74edcf81e540e467202a988c50fef41bd2011f46e05f72ba07df6/scipy-1.17.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d7425fcafbc09a03731e1bc05581f5fad988e48c6a861f441b7ab729a49a55ea", size = 37379586, upload-time = "2026-01-10T21:27:20.171Z" },+ { url = "https://files.pythonhosted.org/packages/b9/b6/8ac583d6da79e7b9e520579f03007cb006f063642afd6b2eeb16b890bf93/scipy-1.17.0-cp313-cp313-win_amd64.whl", hash = "sha256:87b411e42b425b84777718cc41516b8a7e0795abfa8e8e1d573bf0ef014f0812", size = 36287211, upload-time = "2026-01-10T21:28:43.122Z" },+ { url = "https://files.pythonhosted.org/packages/55/fb/7db19e0b3e52f882b420417644ec81dd57eeef1bd1705b6f689d8ff93541/scipy-1.17.0-cp313-cp313-win_arm64.whl", hash = "sha256:357ca001c6e37601066092e7c89cca2f1ce74e2a520ca78d063a6d2201101df2", size = 24312646, upload-time = "2026-01-10T21:28:49.893Z" },+ { url = "https://files.pythonhosted.org/packages/20/b6/7feaa252c21cc7aff335c6c55e1b90ab3e3306da3f048109b8b639b94648/scipy-1.17.0-cp313-cp313t-macosx_10_14_x86_64.whl", hash = "sha256:ec0827aa4d36cb79ff1b81de898e948a51ac0b9b1c43e4a372c0508c38c0f9a3", size = 31693194, upload-time = "2026-01-10T21:27:27.454Z" },+ { url = "https://files.pythonhosted.org/packages/76/bb/bbb392005abce039fb7e672cb78ac7d158700e826b0515cab6b5b60c26fb/scipy-1.17.0-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:819fc26862b4b3c73a60d486dbb919202f3d6d98c87cf20c223511429f2d1a97", size = 28365415, upload-time = "2026-01-10T21:27:34.26Z" },+ { url = "https://files.pythonhosted.org/packages/37/da/9d33196ecc99fba16a409c691ed464a3a283ac454a34a13a3a57c0d66f3a/scipy-1.17.0-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:363ad4ae2853d88ebcde3ae6ec46ccca903ea9835ee8ba543f12f575e7b07e4e", size = 20537232, upload-time = "2026-01-10T21:27:40.306Z" },+ { url = "https://files.pythonhosted.org/packages/56/9d/f4b184f6ddb28e9a5caea36a6f98e8ecd2a524f9127354087ce780885d83/scipy-1.17.0-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:979c3a0ff8e5ba254d45d59ebd38cde48fce4f10b5125c680c7a4bfe177aab07", size = 22791051, upload-time = "2026-01-10T21:27:46.539Z" },+ { url = "https://files.pythonhosted.org/packages/9b/9d/025cccdd738a72140efc582b1641d0dd4caf2e86c3fb127568dc80444e6e/scipy-1.17.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:130d12926ae34399d157de777472bf82e9061c60cc081372b3118edacafe1d00", size = 32815098, upload-time = "2026-01-10T21:27:54.389Z" },+ { url = "https://files.pythonhosted.org/packages/48/5f/09b879619f8bca15ce392bfc1894bd9c54377e01d1b3f2f3b595a1b4d945/scipy-1.17.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6e886000eb4919eae3a44f035e63f0fd8b651234117e8f6f29bad1cd26e7bc45", size = 35031342, upload-time = "2026-01-10T21:28:03.012Z" },+ { url = "https://files.pythonhosted.org/packages/f2/9a/f0f0a9f0aa079d2f106555b984ff0fbb11a837df280f04f71f056ea9c6e4/scipy-1.17.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:13c4096ac6bc31d706018f06a49abe0485f96499deb82066b94d19b02f664209", size = 34893199, upload-time = "2026-01-10T21:28:10.832Z" },+ { url = "https://files.pythonhosted.org/packages/90/b8/4f0f5cf0c5ea4d7548424e6533e6b17d164f34a6e2fb2e43ffebb6697b06/scipy-1.17.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:cacbaddd91fcffde703934897c5cd2c7cb0371fac195d383f4e1f1c5d3f3bd04", size = 37438061, upload-time = "2026-01-10T21:28:19.684Z" },+ { url = "https://files.pythonhosted.org/packages/f9/cc/2bd59140ed3b2fa2882fb15da0a9cb1b5a6443d67cfd0d98d4cec83a57ec/scipy-1.17.0-cp313-cp313t-win_amd64.whl", hash = "sha256:edce1a1cf66298cccdc48a1bdf8fb10a3bf58e8b58d6c3883dd1530e103f87c0", size = 36328593, upload-time = "2026-01-10T21:28:28.007Z" },+ { url = "https://files.pythonhosted.org/packages/13/1b/c87cc44a0d2c7aaf0f003aef2904c3d097b422a96c7e7c07f5efd9073c1b/scipy-1.17.0-cp313-cp313t-win_arm64.whl", hash = "sha256:30509da9dbec1c2ed8f168b8d8aa853bc6723fede1dbc23c7d43a56f5ab72a67", size = 24625083, upload-time = "2026-01-10T21:28:35.188Z" },+]+[[package]]name = "sentry-sdk"version = "2.50.0"@@ -3143,6 +3273,11 @@ dependencies = [{ name = "typing-extensions" },]wheels = [+ { url = "https://files.pythonhosted.org/packages/d3/54/a2ba279afcca44bbd320d4e73675b282fcee3d81400ea1b53934efca6462/torch-2.10.0-2-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:13ec4add8c3faaed8d13e0574f5cd4a323c11655546f91fbe6afa77b57423574", size = 79498202, upload-time = "2026-02-10T21:44:52.603Z" },+ { url = "https://files.pythonhosted.org/packages/ec/23/2c9fe0c9c27f7f6cb865abcea8a4568f29f00acaeadfc6a37f6801f84cb4/torch-2.10.0-2-cp313-none-macosx_11_0_arm64.whl", hash = "sha256:e521c9f030a3774ed770a9c011751fb47c4d12029a3d6522116e48431f2ff89e", size = 79498254, upload-time = "2026-02-10T21:44:44.095Z" },+ { url = "https://files.pythonhosted.org/packages/b3/7a/abada41517ce0011775f0f4eacc79659bc9bc6c361e6bfe6f7052a6b9363/torch-2.10.0-3-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:98c01b8bb5e3240426dcde1446eed6f40c778091c8544767ef1168fc663a05a6", size = 915622781, upload-time = "2026-03-11T14:17:11.354Z" },+ { url = "https://files.pythonhosted.org/packages/ab/c6/4dfe238342ffdcec5aef1c96c457548762d33c40b45a1ab7033bb26d2ff2/torch-2.10.0-3-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:80b1b5bfe38eb0e9f5ff09f206dcac0a87aadd084230d4a36eea5ec5232c115b", size = 915627275, upload-time = "2026-03-11T14:16:11.325Z" },+ { url = "https://files.pythonhosted.org/packages/d8/f0/72bf18847f58f877a6a8acf60614b14935e2f156d942483af1ffc081aea0/torch-2.10.0-3-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:46b3574d93a2a8134b3f5475cfb98e2eb46771794c57015f6ad1fb795ec25e49", size = 915523474, upload-time = "2026-03-11T14:17:44.422Z" },{ url = "https://files.pythonhosted.org/packages/cc/af/758e242e9102e9988969b5e621d41f36b8f258bb4a099109b7a4b4b50ea4/torch-2.10.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:5fd4117d89ffd47e3dcc71e71a22efac24828ad781c7e46aaaf56bf7f2796acf", size = 145996088, upload-time = "2026-01-21T16:24:44.171Z" },{ url = "https://files.pythonhosted.org/packages/23/8e/3c74db5e53bff7ed9e34c8123e6a8bfef718b2450c35eefab85bb4a7e270/torch-2.10.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:787124e7db3b379d4f1ed54dd12ae7c741c16a4d29b49c0226a89bea50923ffb", size = 915711952, upload-time = "2026-01-21T16:23:53.503Z" },{ url = "https://files.pythonhosted.org/packages/6e/01/624c4324ca01f66ae4c7cd1b74eb16fb52596dce66dbe51eff95ef9e7a4c/torch-2.10.0-cp312-cp312-win_amd64.whl", hash = "sha256:2c66c61f44c5f903046cc696d088e21062644cbe541c7f1c4eaae88b2ad23547", size = 113757972, upload-time = "2026-01-21T16:24:39.516Z" },diff --git a/libs/cuabot/Dockerfile b/libs/cuabot/Dockerfileindex 250bfc1ff1..a7bfc2fc94 100644--- a/libs/cuabot/Dockerfile+++ b/libs/cuabot/Dockerfile@@ -54,7 +54,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \openjdk-17-jdk-headless \unzip \libpulse0 \- libgl1-mesa-glx \+ libgl1 \libnss3 \libxcomposite1 \libxcursor1 \diff --git a/uv.lock b/uv.lockindex e4d3a00e20..d9613cbdb7 100644--- a/uv.lock+++ b/uv.lock@@ -1,5 +1,5 @@version = 1-revision = 2+revision = 3requires-python = ">=3.12, <3.14"resolution-markers = ["python_full_version >= '3.13' and sys_platform == 'darwin'",@@ -1057,7 +1057,7 @@ wheels = [[[package]]name = "cua-agent"-version = "0.7.39"+version = "0.8.2"source = { editable = "libs/python/agent" }dependencies = [{ name = "aiohttp" },@@ -1269,7 +1269,7 @@ requires-dist = [[[package]]name = "cua-computer"-version = "0.5.17"+version = "0.5.18"source = { editable = "libs/python/computer" }dependencies = [{ name = "aiohttp" },@@ -1313,7 +1313,7 @@ provides-extras = ["lume", "lumier", "ui", "all"][[package]]name = "cua-computer-server"-version = "0.3.28"+version = "0.3.39"source = { editable = "libs/python/computer-server" }dependencies = [{ name = "aiohttp" },@@ -1389,7 +1389,7 @@ provides-extras = ["macos", "linux", "windows", "vnc"][[package]]name = "cua-core"-version = "0.1.19"+version = "0.3.1"source = { editable = "libs/python/core" }dependencies = [{ name = "posthog" },