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 upload lume artifacts
f-trycuadd6155e57ba1
diff --git a/.github/workflows/publish-lume.yml b/.github/workflows/publish-lume.ymlindex 9894fb91c8..d12769ffb6 100644--- a/.github/workflows/publish-lume.yml+++ b/.github/workflows/publish-lume.yml@@ -183,24 +183,17 @@ jobs:uses: softprops/action-gh-release@v1with:files: |- ./libs/lume/.release/lume*.tar.gz- ./libs/lume/.release/lume*.pkg.tar.gz+ ./libs/lume/.release/lume-*-darwin-*.tar.gz+ ./libs/lume/.release/lume-*-darwin-*.pkg.tar.gzbody: |${{ steps.generate_checksums.outputs.checksums }}- ### Installation with Mise and Ubi+ ### Installation with Ubi```- mise use -g ubi:trycua/cua+ mise use -g ubi:trycua/lume# Or run it directly- mise x ubi:trycua/cua@latest -- lume- ```-- ### Installation with Brew-- ```- brew tap trycua/lume- brew install lume+ mise x ubi:trycua/lume@latest -- lume```generate_release_notes: true\ No newline at end of filediff --git a/.vscode/launch.json b/.vscode/launch.jsonnew file mode 100644index 0000000000..dfec828c0b--- /dev/null+++ b/.vscode/launch.json@@ -0,0 +1,139 @@+{+ "configurations": [+ {+ "name": "Run Computer Examples",+ "type": "debugpy",+ "request": "launch",+ "program": "examples/computer_examples.py",+ "console": "integratedTerminal",+ "justMyCode": true,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer:${workspaceFolder:cua-root}/libs/agent:${workspaceFolder:cua-root}/libs/som:${workspaceFolder:cua-root}/libs/pylume"+ }+ },+ {+ "name": "Run Agent Examples",+ "type": "debugpy",+ "request": "launch",+ "program": "examples/agent_examples.py",+ "console": "integratedTerminal",+ "justMyCode": false,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer:${workspaceFolder:cua-root}/libs/agent:${workspaceFolder:cua-root}/libs/som:${workspaceFolder:cua-root}/libs/pylume"+ }+ },+ {+ "name": "Run PyLume Examples",+ "type": "debugpy",+ "request": "launch",+ "program": "examples/pylume_examples.py",+ "console": "integratedTerminal",+ "justMyCode": true,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer:${workspaceFolder:cua-root}/libs/agent:${workspaceFolder:cua-root}/libs/som:${workspaceFolder:cua-root}/libs/pylume"+ }+ },+ {+ "name": "SOM: Run Experiments (No OCR)",+ "type": "debugpy",+ "request": "launch",+ "program": "examples/som_examples.py",+ "args": [+ "examples/test_data",+ "--output-dir",+ "examples/output",+ "--ocr",+ "none",+ "--mode",+ "experiment"+ ],+ "console": "integratedTerminal",+ "justMyCode": false,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer:${workspaceFolder:cua-root}/libs/agent:${workspaceFolder:cua-root}/libs/som:${workspaceFolder:cua-root}/libs/pylume"+ }+ },+ {+ "name": "SOM: Run Experiments (EasyOCR)",+ "type": "debugpy",+ "request": "launch",+ "program": "examples/som_examples.py",+ "args": [+ "examples/test_data",+ "--output-dir",+ "examples/output",+ "--ocr",+ "easyocr",+ "--mode",+ "experiment"+ ],+ "console": "integratedTerminal",+ "justMyCode": false,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer:${workspaceFolder:cua-root}/libs/agent:${workspaceFolder:cua-root}/libs/som:${workspaceFolder:cua-root}/libs/pylume"+ }+ },+ {+ "name": "Run Computer Server",+ "type": "debugpy",+ "request": "launch",+ "program": "${workspaceFolder}/libs/computer-server/run_server.py",+ "console": "integratedTerminal",+ "justMyCode": true,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer:${workspaceFolder:cua-root}/libs/agent:${workspaceFolder:cua-root}/libs/som:${workspaceFolder:cua-root}/libs/pylume"+ }+ },+ {+ "name": "Run Computer Server with Args",+ "type": "debugpy",+ "request": "launch",+ "program": "${workspaceFolder}/libs/computer-server/run_server.py",+ "args": [+ "--host",+ "0.0.0.0",+ "--port",+ "8000",+ "--log-level",+ "debug"+ ],+ "console": "integratedTerminal",+ "justMyCode": false,+ "python": "${workspaceFolder:cua-root}/.venv/bin/python",+ "cwd": "${workspaceFolder:cua-root}",+ "env": {+ "PYTHONPATH": "${workspaceFolder:cua-root}/libs/core:${workspaceFolder:cua-root}/libs/computer-server"+ }+ },+ {+ "type": "lldb",+ "request": "launch",+ "args": [],+ "cwd": "${workspaceFolder:cua-root}/libs/lume",+ "name": "Debug lume (libs/lume)",+ "program": "${workspaceFolder:cua-root}/libs/lume/.build/debug/lume",+ "preLaunchTask": "swift: Build Debug lume (libs/lume)"+ },+ {+ "type": "lldb",+ "request": "launch",+ "args": [],+ "cwd": "${workspaceFolder:cua-root}/libs/lume",+ "name": "Release lume (libs/lume)",+ "program": "${workspaceFolder:cua-root}/libs/lume/.build/release/lume",+ "preLaunchTask": "swift: Build Release lume (libs/lume)"+ }+ ]+}\ No newline at end of filediff --git a/README.md b/README.mdindex 500b00308b..449d40dedf 100644--- a/README.md+++ b/README.md@@ -21,7 +21,7 @@ Create and run high-performance macOS and Linux VMs on Apple Silicon, with built| Library | Description | Installation | Version ||---------|-------------|--------------|---------|-| [**Lume**](./libs/lume/README.md) | CLI for running macOS/Linux VMs with near-native performance using Apple's `Virtualization.Framework`. | `brew install lume` | [](https://formulae.brew.sh/formula/lume) |+| [**Lume**](./libs/lume/README.md) | CLI for running macOS/Linux VMs with near-native performance using Apple's `Virtualization.Framework`. | `brew install lume` | [](https://formulae.brew.sh/formula/lume) || [**Computer**](./libs/computer/README.md) | Computer-Use Interface (CUI) framework for interacting with macOS/Linux sandboxes | `pip install cua-computer` | [](https://pypi.org/project/cua-computer/) || [**Agent**](./libs/agent/README.md) | Computer-Use Agent (CUA) framework for running agentic workflows in macOS/Linux dedicated sandboxes | `pip install cua-agent` | [](https://pypi.org/project/cua-agent/) |diff --git a/libs/lume/scripts/build/build-release-notarized.sh b/libs/lume/scripts/build/build-release-notarized.shindex a718e9817d..b57c94b0d9 100755--- a/libs/lume/scripts/build/build-release-notarized.sh+++ b/libs/lume/scripts/build/build-release-notarized.sh@@ -145,32 +145,27 @@ fiARCH=$(uname -m)OS_IDENTIFIER="darwin-${ARCH}"-# Create archives of the package with OS identifier in the name+# Create versioned archives of the package with OS identifier in the namelog "essential" "Creating archives with OS identifier..."cd "$(dirname "$PKG_PATH")"-# Create both original and OS-specific archives (for backward compatibility)-tar -czf "lume-${OS_IDENTIFIER}.tar.gz" lume > /dev/null 2>&1-tar -czf "lume-${OS_IDENTIFIER}.pkg.tar.gz" lume.pkg > /dev/null 2>&1+# Create version-specific archives+log "essential" "Creating version-specific archives (${VERSION})..."+tar -czf "lume-${VERSION}-${OS_IDENTIFIER}.tar.gz" lume > /dev/null 2>&1+tar -czf "lume-${VERSION}-${OS_IDENTIFIER}.pkg.tar.gz" lume.pkg > /dev/null 2>&1-# Also create the original names for backward compatibility-cp "lume-${OS_IDENTIFIER}.tar.gz" lume.tar.gz-cp "lume-${OS_IDENTIFIER}.pkg.tar.gz" lume.pkg.tar.gz+# Delete temporary package files that we don't need to upload+log "normal" "Cleaning up temporary files..."+rm -f lume.pkg+rm -f lume-# Create version-specific archives if VERSION is provided-if [ -n "$VERSION" ]; then- cp "lume-${OS_IDENTIFIER}.tar.gz" "lume-${VERSION}-${OS_IDENTIFIER}.tar.gz"- cp "lume-${OS_IDENTIFIER}.pkg.tar.gz" "lume-${VERSION}-${OS_IDENTIFIER}.pkg.tar.gz"-fi+# Create sha256 checksum file+log "essential" "Generating checksums..."+shasum -a 256 lume-*.tar.gz > checksums.txt+log "essential" "Package created successfully with checksums generated."-# Create sha256 checksum for the lume tarball but don't display details in logs-if [ "$LOG_LEVEL" = "minimal" ] || [ "$LOG_LEVEL" = "none" ]; then- shasum -a 256 lume*.tar.gz > checksums.txt- log "essential" "Package created successfully with checksums generated."-else- log "normal" "Creating checksums..."- shasum -a 256 lume*.tar.gz | tee checksums.txt-fi+# Show what we're publishing+ls -la *.tar.gz *.pkg.tar.gzpopd > /dev/null