Commit Graph

2047 Commits

Author SHA1 Message Date
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
Sarina Li
11ef4df785 Merge pull request #588 from sarinali/fix/link-checker
get rid of cached 500s and update link
2025-11-18 10:08:58 -05:00
Sarina Li
003e417c89 fix linting + format issues too 2025-11-18 10:04:23 -05:00
Sarina Li
80cb3dece3 make link check less spammy 2025-11-18 10:01:16 -05:00
ddupont
20a67eda75 Bump cua-cli to v0.1.4 cua-v0.1.4 2025-11-18 10:00:12 -05:00
ddupont
33d876e665 Merge pull request #589 from trycua/feat/cli-version-cleanup
Remove "cua version" cli in favor of "cua --version"
2025-11-18 09:59:46 -05:00
Dillon DuPont
7242503034 update CLI, remove redundant cua version 2025-11-18 09:58:54 -05:00
Sarina Li
fc20321a61 remove cache for lychee 2025-11-18 09:57:39 -05:00
Sarina Li
63ec128a9f get rid of cached 500s and update link 2025-11-18 09:54:58 -05:00
Dillon DuPont
9312eff836 Add progress bar to cli install on unix 2025-11-18 09:53:55 -05:00
ddupont
94775dc764 Merge pull request #587 from trycua/feat/cli-version-printout
Fix yargs --version implementation printing "unknown" for built .exe's
cua-v0.1.3
2025-11-18 09:06:35 -05:00
Dillon DuPont
fb55b42920 Fix yargs --version implementation printing "unknown" for built .exe's 2025-11-18 09:03:22 -05:00
Dillon DuPont
5fa73fb0b1 Replace echo with printf 2025-11-18 08:46:50 -05:00
ddupont
5a4f1cf05b Fix CLI installer issues 2025-11-18 08:32:31 -05:00
ddupont
72e4a1cdc1 Bump cua-cli to v0.1.3 2025-11-18 08:07:25 -05:00
ddupont
40dc0f0781 Merge pull request #586 from trycua/feature/cli-refactor-sb
Refactors the CUA CLI to improve user experience and clarity
2025-11-18 08:06:59 -05:00
f-trycua
9c1fdcdac5 Reorder CLI commands to show grouped structure first in help
- Register grouped commands (auth, sandbox/sb) first so they appear at top of help
- Hide flat commands from help using describe: false while maintaining functionality
- Fix remaining --configuration references in docs (should be --size)
- Improves help clarity by showing recommended command structure prominently

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:48:07 +01:00
f-trycua
27f6d448ea feat(cua-cli): improve command descriptions for better clarity
Enhance help text throughout the CLI to make commands more discoverable
and their purposes clearer. Better descriptions help users understand
what each command does without consulting documentation.

Changes:
- Update main command descriptions:
  - 'cua auth': "Authenticate with CUA (login, logout, or export credentials)"
  - 'cua sb': "Create and manage cloud sandboxes (Linux, Windows, or macOS)"

- Improve auth subcommand descriptions:
  - login: "Authenticate via browser or API key and save credentials locally"
  - env: "Export your API key to a .env file in the current directory"
  - logout: "Clear stored API credentials from this machine"

- Enhance sandbox subcommand descriptions:
  - list: "List all your sandboxes with status and connection details"
  - create: "Provision a new cloud sandbox in your chosen OS, size, and region"
  - delete: "Permanently delete a sandbox and all its data"
  - start: "Start a stopped sandbox"
  - stop: "Stop a running sandbox (data is preserved)"
  - restart: "Restart a sandbox (reboot the system)"
  - vnc: "Open remote desktop (VNC) connection in your browser"

- Expand epilogue to show command hierarchy with examples
- Replace generic descriptions with action-oriented, specific language

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:43:44 +01:00
f-trycua
56a6f09a07 feat(cua-cli): improve help output clarity with command grouping guidance
Add epilogue to help output that clarifies the recommended command structure
(grouped commands like 'cua auth' and 'cua sb'). While flat commands remain
available for backwards compatibility, the help now clearly guides users toward
the more organized grouped command style.

Changes:
- Add usage and epilogue text to cli.ts explaining grouped command structure
- Mark flat commands as hidden (though yargs doesn't fully respect this for top-level commands)
- Add type annotations to command builders to fix TypeScript errors
- Epilogue shows recommended patterns: 'cua auth <command>' and 'cua sb <command>'
- Include docs link for more information

The help output now clearly distinguishes between available commands and
recommended command patterns, reducing confusion while maintaining full
backwards compatibility.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:42:14 +01:00
f-trycua
0ea452e481 feat(cua-cli): add grouped auth commands and update docs to prefer verbose style
Add support for grouped auth command structure (cua auth login/env/logout)
while maintaining backwards compatibility with flat commands (cua login/env/logout).
Update all documentation to prefer the more explicit grouped style.

Changes:
- Refactor auth.ts to support both flat and grouped command structures
- Extract auth command handlers for reuse (loginHandler, envHandler, logoutHandler)
- Add "cua auth" command group with login/env/logout subcommands
- Update quickstart to use "cua auth login" instead of "cua login"
- Update CLI index.mdx and installation.mdx to use grouped style
- Update commands.mdx to show grouped style as primary with flat as alternative
- Update README.md to document both command styles
- Update error messages and examples to use grouped style

Both command styles work identically - users can choose based on preference.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:35:10 +01:00