Commit Graph

2089 Commits

Author SHA1 Message Date
Sarina Li
c9751302dd add gif for demo 2025-11-19 17:37:06 -05:00
Sarina Li
54c1ba22c0 Merge branch 'main' into feat/omniparser-gemini-3-support 2025-11-19 16:58:23 -05:00
ddupont
9616a854ad Merge pull request #610 from trycua/feat/reduce_parallel_image_outputs
Fix bug where parallel tool call results causes errors in some providers
2025-11-19 16:49:26 -05:00
Dillon DuPont
43052d8936 fix bug where parallel tool call results dont get recognized by some providers 2025-11-19 16:48:19 -05:00
Sarina Li
87698101fc add gemini 3 support with omni parser + docs 2025-11-19 16:09:03 -05:00
Francesco Bonacci
f6db90da51 Merge pull request #608 from trycua/use-os-environ-not-export
Update docs to use os.environ instead of export in Python examples
2025-11-19 20:16:18 +01:00
f-trycua
d2b24d3359 Update docs to use os.environ instead of export in Python examples
Replace shell export statements with Python os.environ in all Python code blocks.
This provides a more Pythonic way to set environment variables.

Changes:
- docs/content/docs/get-started/quickstart.mdx: Update Cloud Sandbox, CUA VLM Router, and BYOK examples
- docs/content/docs/agent-sdk/supported-model-providers/cua-vlm-router.mdx: Update migration examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 20:13:03 +01:00
github-actions[bot]
da63030505 Bump cua-agent to v0.4.53 agent-v0.4.53 2025-11-19 18:56:05 +00:00
github-actions[bot]
d4a791c5d1 Bump cua-computer to v0.4.17 computer-v0.4.17 2025-11-19 18:56:05 +00:00
Francesco Bonacci
5c105f9a77 Update bump-version.yml 2025-11-19 19:55:38 +01:00
Francesco Bonacci
796f77dacd Merge pull request #607 from trycua/publish-agent-after-computer
Ensure publish-agent waits for publish-computer when bumping cua-computer
2025-11-19 19:55:07 +01:00
f-trycua
2cb9a2d71e Ensure publish-agent waits for publish-computer when bumping cua-computer
When bumping cua-computer, we publish both packages. However, since cua-agent
depends on cua-computer, we should publish computer FIRST, then agent. This
ensures the new computer version is available on PyPI before agent (which
depends on it) is published.

Changes:
- Reordered jobs: publish-computer before publish-agent
- Added publish-computer to publish-agent's needs list
- Updated publish-agent condition to use always() with explicit result checks
- When service is cua-agent: publishes immediately
- When service is cua-computer: waits for publish-computer to succeed first

Job execution order:
1. bump-version (bumps versions, pushes to git)
2. publish-computer (only when service == cua-computer)
3. publish-agent (waits for computer if service == cua-computer)

This prevents dependency errors where agent might be published before the
computer version it depends on is available on PyPI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 19:54:26 +01:00
github-actions[bot]
c41d334109 Bump cua-agent to v0.4.52 agent-v0.4.52 2025-11-19 18:52:53 +00:00
github-actions[bot]
dcff4a9c53 Bump cua-computer to v0.4.16 computer-v0.4.16 2025-11-19 18:52:53 +00:00
Francesco Bonacci
53f1335db3 Merge pull request #606 from trycua/publish-both-computer-agent
Publish both cua-agent and cua-computer when bumping cua-computer
2025-11-19 19:52:23 +01:00
f-trycua
17d7140000 Publish both cua-agent and cua-computer when bumping cua-computer
This PR addresses two issues:

1. **Fix version detection in pypi-publish-computer workflow**
   - Updated to match the pattern from PR #598 for pypi-publish-agent
   - Check inputs.version first (works for workflow_call regardless of event_name)
   - Add debug output to help troubleshoot version detection issues
   - Proper handling of all three trigger types: workflow_call, workflow_dispatch, push

2. **Publish both packages when bumping cua-computer**
   - When bumping cua-computer, we bump both cua-computer and cua-agent versions
     (since cua-agent depends on cua-computer: "cua-computer>=0.4.0,<0.5.0")
   - Updated publish-agent job to trigger for both 'cua-agent' and 'cua-computer' services
   - This ensures version consistency between the two packages

**Behavior:**
- When bumping `cua-agent`: publishes cua-agent only
- When bumping `cua-computer`: publishes BOTH cua-computer AND cua-agent

This maintains version consistency and ensures users can install the latest
versions of both packages together without dependency conflicts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 19:51:30 +01:00
github-actions[bot]
f1d6558188 Bump cua-agent to v0.4.51 agent-v0.4.51 2025-11-19 18:44:00 +00:00
github-actions[bot]
4c557cc252 Bump cua-computer to v0.4.15 computer-v0.4.15 2025-11-19 18:44:00 +00:00
Francesco Bonacci
830ca18ee1 Merge pull request #605 from trycua/fix-computer-publish-workflow
Fix bump-version workflow to publish correct package
2025-11-19 19:43:29 +01:00
f-trycua
3d65fefb07 Fix bump-version workflow to publish correct package
When bumping cua-computer, the workflow was incorrectly publishing cua-agent
instead of cua-computer to PyPI. This was because the publish-agent job had a
condition that triggered for both cua-agent and cua-computer services.

Changes:
- Added computer_version output to capture the bumped computer version
- Changed publish-agent condition to only trigger for cua-agent service
- Added new publish-computer job that triggers for cua-computer service
- publish-computer job calls pypi-publish-computer.yml workflow

Now when bumping cua-computer:
- Bumps cua-computer version (as before)
- Also bumps cua-agent version to maintain dependency sync (as before)
- Publishes cua-computer to PyPI (fixed!)
- Does NOT publish cua-agent to PyPI (fixed!)

Fixes: https://github.com/trycua/cua/actions/runs/19512484987

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 19:42:46 +01:00
github-actions[bot]
1b20e9a197 Bump cua-agent to v0.4.50 agent-v0.4.50 2025-11-19 18:39:26 +00:00
github-actions[bot]
00298f23ab Bump cua-computer to v0.4.14 computer-v0.4.14 2025-11-19 18:39:25 +00:00
github-actions[bot]
3b3af4ff88 Bump cua-agent to v0.4.49 agent-v0.4.49 2025-11-19 18:38:53 +00:00
github-actions[bot]
edca61f79c Bump cua-computer to v0.4.13 computer-v0.4.13 2025-11-19 18:38:53 +00:00
Francesco Bonacci
849d476f6c Merge pull request #604 from trycua/api-key-env-support
Add automatic CUA_API_KEY environment variable support
2025-11-19 19:37:57 +01:00
f-trycua
73c0f3e52e Add automatic CUA_API_KEY environment variable support for Computer and CloudProvider
Previously, users had to explicitly read the CUA_API_KEY environment variable
and pass it to the Computer/CloudProvider constructor. This change makes the
API key parameter optional and automatically reads from the CUA_API_KEY
environment variable if not provided.

Changes:
- CloudProvider.__init__: Made api_key parameter optional, reads from CUA_API_KEY env var
- Computer.__init__: Added fallback to CUA_API_KEY env var for api_key parameter
- Updated documentation examples to show simplified usage without explicit api_key
- Updated cloud_api_examples.py to demonstrate the new simpler pattern

This provides a cleaner API while maintaining backward compatibility with
explicit api_key parameter passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 19:35:32 +01:00
github-actions[bot]
1a65bd8ed3 Bump cua-agent to v0.4.48 agent-v0.4.48 2025-11-19 17:49:26 +00:00
Francesco Bonacci
9197b1b6aa Merge pull request #603 from trycua/remove-hud-python-from-all-extra
Remove hud-python from cua-agent[all] extra
2025-11-19 18:49:00 +01:00
f-trycua
3dc0e3bd2d Remove hud-python from cua-agent[all] extra
hud-python is an external package that isn't published to PyPI yet,
which was blocking installation of cua-agent[all]. This change:

- Removes hud-python==0.4.52 from the [all] extra dependencies
- Keeps the separate [hud] extra for users who have access to hud-python
- Allows pip install cua-agent[all] to work without dependency errors

The hud functionality remains available as an opt-in extra via:
pip install cua-agent[hud]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 18:48:01 +01:00
github-actions[bot]
f0349aea63 Bump cua-agent to v0.4.47 agent-v0.4.47 2025-11-19 16:10:26 +00:00
Dillon DuPont
cd49e3de49 Remove hardcoded test api url 2025-11-19 11:09:42 -05:00
github-actions[bot]
ddb00a180d Bump cua-agent to v0.4.46 agent-v0.4.46 2025-11-19 15:55:58 +00:00
ddupont
f499b81501 Merge pull request #601 from trycua/feat/route-cua-anthropic-models
Fix cua adapter for anthropic models
2025-11-19 10:55:24 -05:00
Dillon DuPont
d930032c82 Fix cua adapter 2025-11-19 10:52:50 -05:00
Francesco Bonacci
3f3a1c776d Merge pull request #600 from trycua/study-cua-provider
Changes for VLM launch
2025-11-19 15:07:16 +01:00
f-trycua
73bbdc8666 Merge branch 'study-cua-provider' of https://github.com/trycua/cua into study-cua-provider 2025-11-19 15:06:22 +01:00
f-trycua
aa1d4ab3e5 Updates to blogpost 2025-11-19 15:06:16 +01:00
Francesco Bonacci
61c2986623 Update Cua VLM Router banner image URL 2025-11-19 15:04:32 +01:00
f-trycua
a1acc66b3b Add cua vlm router blogpost 2025-11-19 15:02:37 +01:00
f-trycua
76b52ece72 Changes for VLM launch 2025-11-19 14:42:12 +01:00
Francesco Bonacci
e169907548 Merge pull request #599 from trycua/cleanup-debug-logging
Remove debug logging from workflow files
2025-11-19 00:08:31 +01:00
f-trycua
76e7d3dafc Remove debug logging from workflow files
Clean up all debug output added during investigation:

1. bump-version.yml:
   - Removed "Verify agent version output" debug step
   - Kept essential "Agent version: X.X.X" output

2. pypi-publish-agent.yml:
   - Removed extensive "Version Determination Debug" output
   - Simplified to show only "Agent version: X.X.X"
   - Kept error messages for production debugging
   - Removed "Verify prepare job outputs" debug step

3. pypi-reusable-publish.yml:
   - Removed all debug output from "Verify version consistency"
   - Kept the core version validation logic
   - Script errors will still be visible if check fails

All workflows now have clean, production-ready logging while
maintaining the fixes from PR #598.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 00:06:16 +01:00
github-actions[bot]
a73044ca3c Bump cua-agent to v0.4.45 agent-v0.4.45 2025-11-18 23:01:31 +00:00
Francesco Bonacci
5a65ce3b8f Merge pull request #598 from trycua/fix-workflow-call-version-logic
Fix version determination logic for workflow_call
2025-11-19 00:01:01 +01:00
f-trycua
e30f99bd25 Fix version determination logic for workflow_call
The bug: When pypi-publish-agent is called via workflow_call from
bump-version, github.event_name is "workflow_dispatch" (inherited
from parent), NOT "workflow_call". This caused the code to check
github.event.inputs.version (empty) instead of inputs.version (0.4.44).

The fix: Check inputs.version first, before checking event_name.
This works correctly for:
- workflow_call: uses inputs.version
- Tag push: extracts from tag
- workflow_dispatch with version param: uses inputs.version
- workflow_dispatch event UI: uses event.inputs.version

Debug output showed:
- Event name: workflow_dispatch
- Input version: 0.4.44 (correct!)
- Workflow dispatch version: (empty)
- Final VERSION= (bug - used wrong source)

Now it will use inputs.version first, giving VERSION=0.4.44.

Fixes: https://github.com/trycua/cua/actions/runs/19483269380

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 00:00:23 +01:00
github-actions[bot]
4b5a8681d0 Bump cua-agent to v0.4.44 agent-v0.4.44 2025-11-18 22:56:53 +00:00
Francesco Bonacci
ec039b76e0 Merge pull request #597 from trycua/fix-version-passing-workflow
Add comprehensive debugging for version passing between workflows
2025-11-18 23:56:34 +01:00
f-trycua
6ee76fbe15 Add comprehensive debugging for version passing between workflows
Added debug logging at every stage of version passing to identify
where the version parameter is being lost:

1. bump-version job: Verify agent_version output is set correctly
2. pypi-publish-agent prepare job: Show inputs.version and verify
   the get-version step output
3. pypi-reusable-publish: Already has debug showing empty version

Debug output will show:
- Event name and workflow trigger type
- Input version values at each stage
- Step output values
- Final version passed to reusable workflow

This will pinpoint exactly where the version parameter becomes empty
in the workflow_call chain.

Related: Previous debug showed "Expected version: " (empty)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 23:55:39 +01:00
github-actions[bot]
65b2ec7731 Bump cua-agent to v0.4.43 agent-v0.4.43 2025-11-18 22:52:24 +00:00
Francesco Bonacci
6a9fb51746 Merge pull request #596 from trycua/fix-script-path-after-reset
Add debugging and fix absolute paths in version consistency check
2025-11-18 23:52:00 +01:00