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
"""Hatch build hook for platform-tagged cua-driver wheels."""
import os
from hatchling.builders.hooks.plugin.interface import BuildHookInterface
class CustomBuildHook(BuildHookInterface):
"""Apply the wheel tag selected by build_wheel.py."""
def initialize(self, version: str, build_data: dict) -> None:
wheel_tag = os.environ.get("CUA_DRIVER_WHEEL_TAG")
if not wheel_tag:
return
build_data["tag"] = wheel_tag
build_data["pure_python"] = False