Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

2.4 KB
Raw Blame
[project]
name = "cua-sandbox"
version = "0.9.1"
description = "CUA Sandbox — ephemeral and persistent sandboxed computer environments"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"]
authors = [
    { name = "TryCua", email = "[email protected]" }
]
keywords = [
    "sandbox",
    "computer-use",
    "automation",
    "vm",
    "container",
]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Topic :: Software Development :: Libraries",
]
requires-python = ">=3.11,<3.14"

dependencies = [
    # The cua SDK (Rust core, UniFFI): spacesd and the local runtimes.
    "cua>=0.2.0",
    # Telemetry only (imported optionally): 0.1.x is allowed so cua-sandbox
    # co-installs with cua-computer 0.5 / cua-agent 0.7 based harnesses.
    "cua-core>=0.1.18,<0.4.0",
    "httpx>=0.27.0",
    "oras>=0.2.40",
    "vncdotool>=1.2.0",
    "paramiko>=5.0.0",
    "grpcio==1.78.0",
    "protobuf==6.33.6",
    "pycdlib>=1.14.0",
]

[project.optional-dependencies]
driver = [
    "cua-driver==0.37.0",
]
auth = [
    "webbrowser-open>=0.0.1",
]
# `sb.mcp(service)`: the official MCP Python SDK.
mcp = [
    "mcp>=1.10",
]
dev = [
    "pytest>=8.0.0",
    "pytest-asyncio>=0.23.0",
    "ruff>=0.1.0",
]

[project.urls]
Homepage = "https://github.com/trycua/cua"
Repository = "https://github.com/trycua/cua"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build]
include = [
    "cua_sandbox/**",
    "README.md",
    "LICENSE",
    "THIRD_PARTY_NOTICES.md",
]
exclude = [
    "cua_sandbox/**/__pycache__",
]

[tool.hatch.build.targets.wheel]
packages = ["cua_sandbox"]

[tool.ruff]
line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["E501"]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = [
    "tests",
    "../../../tests/integration/sandbox_sdk",
    "../../../tests/integration/sandbox_cli",
]

[dependency-groups]
dev = [
    "cua-agent>=0.8.0",
    "pytest>=9.0.2",
    "pytest-asyncio>=1.3.0",
    "pytest-timeout>=2.3.1",
    "ruff>=0.9.2",
]

[tool.uv.sources]
cua-agent = { path = "../agent", editable = true }
cua = { path = "../../cua/python", editable = true }