Commit Graph

2038 Commits

Author SHA1 Message Date
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
f-trycua
53d7f19390 docs(quickstart): merge Cloud Sandbox CLI and Website tabs
Consolidate the separate "Cloud Sandbox (CLI)" and "Cloud Sandbox (Website)"
tabs into a single "Cloud Sandbox" tab that shows both methods. This reduces
duplication and makes it clearer that both approaches are available.

Changes:
- Merge Cloud Sandbox tabs in "Set Up Your Computer Environment" section
- Merge Cloud Sandbox tabs in "Using Computer" section for Python
- Merge Cloud Sandbox tabs in "Using Computer" section for TypeScript
- Update comments to indicate sandbox name can come from CLI or website
- Mark CLI as recommended method in setup instructions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:32:03 +01:00
f-trycua
a5f566a5e6 refactor(cua-cli): rename 'open' command to 'vnc' with backwards compatibility
Rename the VNC command from 'open' to 'vnc' for clarity and specificity.
Keep 'open' as an alias for backwards compatibility.

Changes:
- Update command definition to use 'vnc' as primary, 'open' as alias
- Update README.md to reflect new command name
- Update commands.mdx documentation with new command and alias
- Update quickstart.mdx to use 'cua sb vnc'
- Update command examples in tips section

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:30:34 +01:00
f-trycua
c6eb4477c6 Update docs to prefer 'cua sb' shorthand
Update documentation and examples to showcase the 'cua sb' shorthand as
the primary grouped command style, since it's more concise than
'cua sandbox'.

Changes:
- CLI index docs: Use `cua sb` in examples
- Command reference: Show `cua sb` first, then `cua sandbox` as alternative
- Quickstart guide: All sandbox commands now use `cua sb`
- README: Reorder to show `cua sb` as primary grouped style

Auth commands remain flat: `cua login`, `cua env`, `cua logout`

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:26:38 +01:00
f-trycua
42f7157848 Rename --configuration to --size for clarity
The option `--size` is much more intuitive than `--configuration` when
the values are small/medium/large.

Changes:
- CLI option renamed from `--configuration` to `--size`
- API still receives `configuration` parameter (internal mapping)
- Updated all documentation to use `--size`
- Updated examples in README, docs, and quickstart

Users now use:
- `cua create --os linux --size small --region north-america`

Instead of:
- `cua create --os linux --configuration small --region north-america`

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:25:04 +01:00
f-trycua
8395068286 Add dual command structure: flat and grouped styles
Support both flat (`cua list`) and grouped (`cua sandbox list` or `cua sb list`)
command styles for maximum flexibility.

Key changes:
- Extracted command handlers to be reusable
- Register each command in both flat and grouped structures
- Add `sb` as shorthand alias for `sandbox`
- Update documentation to show both styles

Users can now use:
- Flat: `cua list`, `cua create`, `cua start <name>`
- Grouped: `cua sandbox list`, `cua sandbox create`, `cua sandbox start <name>`
- Shorthand: `cua sb list`, `cua sb create`, `cua sb start <name>`

All three styles work identically!

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:22:08 +01:00
f-trycua
ae0b5dd19b Update quickstart examples to use sandbox naming
Replace example sandbox names from "my-vm-abc123" to "my-sandbox-abc123"
for consistency with the VM → Sandbox refactoring.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:17:42 +01:00
f-trycua
9f13156d13 Remove staging environment references from cua-cli
Remove environment override sections that referenced staging deployments
from both the README and documentation. Users should only interact with
production environments.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:15:20 +01:00
f-trycua
90357ab73d Fix stale VM reference in CLI docs
Update environment variables example to use 'cua list' instead of
'cua vm list' to align with the CLI refactoring.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:14:15 +01:00
f-trycua
77e765b6af Rename to sandbox 2025-11-18 13:11:29 +01:00