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.

consolidated

Claudeb1e3f41c3f1b
diff --git a/.github/workflows/bump-version-reusable.yml b/.github/workflows/bump-version-reusable.yml
deleted file mode 100644
index fa7f432d58..0000000000
--- a/.github/workflows/bump-version-reusable.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-name: Bump Version (Reusable)
-
-on:
- workflow_call:
- inputs:
- package_name:
- description: "Package display name (e.g., cua-core)"
- required: true
- type: string
- package_directory:
- description: "Package directory relative to repo root (e.g., libs/python/core)"
- required: true
- type: string
- bump_type:
- description: "Version bump type (patch, minor, or major)"
- required: true
- type: string
-
-permissions:
- contents: write
-
-jobs:
- bump-version:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
- token: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Set up Python
- uses: actions/setup-python@v5
- with:
- python-version: "3.11"
-
- - name: Install bump2version
- run: pip install bump2version
-
- - name: Configure Git
- run: |
- git config user.name "github-actions[bot]"
- git config user.email "github-actions[bot]@users.noreply.github.com"
-
- - name: Run bump2version
- run: |
- cd ${{ inputs.package_directory }}
- bump2version ${{ inputs.bump_type }}
-
- - name: Push changes
- run: |
- git push origin main --follow-tags
diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml
index bbbfbc0940..c55acdbccd 100644
--- a/.github/workflows/bump-version.yml
+++ b/.github/workflows/bump-version.yml
@@ -24,66 +24,230 @@ on:
- minor
- major
+permissions:
+ contents: write
+
jobs:
bump-agent:
if: inputs.service == 'cua-agent'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "cua-agent"
- package_directory: "libs/python/agent"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/agent
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags
bump-computer:
if: inputs.service == 'cua-computer'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "cua-computer"
- package_directory: "libs/python/computer"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/computer
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags
bump-computer-server:
if: inputs.service == 'cua-computer-server'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "cua-computer-server"
- package_directory: "libs/python/computer-server"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/computer-server
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags
bump-core:
if: inputs.service == 'cua-core'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "cua-core"
- package_directory: "libs/python/core"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/core
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags
bump-mcp-server:
if: inputs.service == 'cua-mcp-server'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "cua-mcp-server"
- package_directory: "libs/python/mcp-server"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/mcp-server
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags
bump-som:
if: inputs.service == 'cua-som'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "cua-som"
- package_directory: "libs/python/som"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/som
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags
bump-pylume:
if: inputs.service == 'pylume'
- uses: ./.github/workflows/bump-version-reusable.yml
- with:
- package_name: "pylume"
- package_directory: "libs/python/pylume"
- bump_type: ${{ inputs.bump_type }}
- secrets: inherit
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install bump2version
+ run: pip install bump2version
+
+ - name: Configure Git
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "github-actions[bot]@users.noreply.github.com"
+
+ - name: Run bump2version
+ run: |
+ cd libs/python/pylume
+ bump2version ${{ inputs.bump_type }}
+
+ - name: Push changes
+ run: |
+ git push origin main --follow-tags