Commit Graph

2066 Commits

Author SHA1 Message Date
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
f-trycua
a08363f46e Add debugging and fix absolute paths in version consistency check
Added comprehensive debugging to diagnose why get_pyproject_version.py
is not receiving arguments correctly after git reset.

Changes:
- Added debug output showing current directory, GITHUB_WORKSPACE, and paths
- Changed pyproject.toml path to use absolute path with GITHUB_WORKSPACE
- Added ls commands to verify files exist before running script
- This will help identify if the git reset is affecting path resolution

The error shows the script's usage message, indicating arguments
aren't being passed correctly. The debug output will reveal why.

Related: https://github.com/trycua/cua/actions/runs/19482970320

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 23:51:26 +01:00
github-actions[bot]
65c1afce16 Bump cua-agent to v0.4.42 agent-v0.4.42 2025-11-18 22:49:09 +00:00
Francesco Bonacci
13b5f74271 Merge pull request #595 from trycua/fix-ensure-latest-main-fetch
Ensure workflows fetch absolute latest main after version bump
2025-11-18 23:48:37 +01:00
f-trycua
dbd5a76f82 Ensure workflows fetch absolute latest main after version bump
Add explicit git fetch and reset after checkout to guarantee
workflows get the most recent main branch commits, including
version bumps pushed by the bump-version workflow.

The issue: When using workflow_call, even with ref: main, GitHub
Actions may use a cached repository state from workflow run start.
This caused version consistency checks to fail because the checkout
didn't include the just-pushed version bump.

Solution: After checkout, explicitly fetch and reset to origin/main
to ensure we have the absolute latest code. Added logging to show
the current commit for debugging.

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 23:47:35 +01:00
github-actions[bot]
84a2bceae0 Bump cua-agent to v0.4.41 agent-v0.4.41 2025-11-18 22:44:57 +00:00
Francesco Bonacci
dc0de3e634 Merge pull request #594 from trycua/fix-publish-agent-checkout
Fix checkout ref to use main branch in publish workflows
2025-11-18 23:44:33 +01:00
f-trycua
03a3a2068a Fix checkout ref to use main branch in publish workflows
Ensure publish workflows check out the main branch to get the
latest bumped version after the bump-version workflow pushes changes.

Previously, workflows were checking out the SHA at trigger time,
which didn't include the version bump committed by bump-version job.

This fixes the "Verify version consistency" step failure where the
expected version didn't match the pyproject.toml version.

Related to: https://github.com/trycua/cua/actions/runs/19482814921

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 23:43:45 +01:00
github-actions[bot]
d664bbbbcf Bump cua-agent to v0.4.40 agent-v0.4.40 2025-11-18 22:38:51 +00:00
Francesco Bonacci
ad26966fbd Merge pull request #593 from trycua/fix-agent-version-capture
Fix agent version capture in bump-version workflow
2025-11-18 23:38:08 +01:00
f-trycua
7dd6fae971 Fix agent version capture in bump-version workflow
Replace heredoc-based Python script with inline command to fix
exit code 2 error in the "Capture bumped agent version" step.

The heredoc syntax with indented EOF marker was causing issues
in GitHub Actions. Simplified to a single-line Python command.

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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 23:37:11 +01:00
ddupont
00231b6d52 Prioritize UI-TARS-2 section in computer-use agents docs 2025-11-18 17:22:53 -05:00
ddupont
210fc01eea Merge pull request #592 from trycua/feat/fix-cua-adapter
Fix cua adapter, add UI-TARS-2 model
2025-11-18 17:21:27 -05:00
Dillon DuPont
ebbd5fc4f8 add UI-TARS-2 to docs 2025-11-18 17:20:20 -05:00
Dillon DuPont
9ca508380f Add UI-TARS 2 2025-11-18 17:14:47 -05:00
ddupont
c67593cd4f Merge pull request #548 from LucaStngn/fix/anthropic-custom-function-tools
Fix: Enable custom function tools with Anthropic models
2025-11-18 16:29:23 -05:00
Dillon DuPont
8284f85950 Update params dict 2025-11-18 15:31:30 -05:00
ddupont
facfec6579 Fix path for stored API keys in documentation 2025-11-18 11:12:08 -05:00
Francesco Bonacci
cb81fddd74 Merge pull request #591 from trycua/blog/cua-cli-blogpost
Add cua cli blogpost
2025-11-18 16:27:51 +01:00
Francesco Bonacci
8b88878967 Update Cua CLI launch article with images
Added a banner image for the Cua CLI launch and removed a placeholder demo image.
2025-11-18 16:27:32 +01:00
f-trycua
7f5d8ba663 Add new blogpost 2025-11-18 16:24:23 +01:00
Sarina Li
cac481d5ef Merge pull request #590 from sarinali/fix/link-checker
Fix Another Link
2025-11-18 10:20:05 -05:00
Sarina Li
9bccce71fa update broken link 2025-11-18 10:18:14 -05:00
f-trycua
55ec3b617f Add CLI announcement blog post and update domain to sandbox.cua.ai
- Add introducing-cua-cli.md blog post following the Windows/macOS announcement style
- Update CLI sandbox command to use sandbox.cua.ai domain instead of containers.cloud.trycua.com
- Update all documentation references to use new sandbox.cua.ai domain
- Maintain consistency with Python SDK which already uses sandbox.cua.ai

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 16:17:17 +01:00