Commit Graph

998 Commits

Author SHA1 Message Date
github-actions[bot]
edca61f79c Bump cua-computer to v0.4.13 2025-11-19 18:38:53 +00: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 2025-11-19 17:49:26 +00: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 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 2025-11-19 15:55:58 +00:00
Dillon DuPont
d930032c82 Fix cua adapter 2025-11-19 10:52:50 -05:00
github-actions[bot]
a73044ca3c Bump cua-agent to v0.4.45 2025-11-18 23:01:31 +00:00
github-actions[bot]
4b5a8681d0 Bump cua-agent to v0.4.44 2025-11-18 22:56:53 +00:00
github-actions[bot]
65b2ec7731 Bump cua-agent to v0.4.43 2025-11-18 22:52:24 +00:00
github-actions[bot]
65c1afce16 Bump cua-agent to v0.4.42 2025-11-18 22:49:09 +00:00
github-actions[bot]
84a2bceae0 Bump cua-agent to v0.4.41 2025-11-18 22:44:57 +00:00
github-actions[bot]
d664bbbbcf Bump cua-agent to v0.4.40 2025-11-18 22:38:51 +00: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
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
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
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
ddupont
20a67eda75 Bump cua-cli to v0.1.4 2025-11-18 10:00:12 -05:00
Dillon DuPont
7242503034 update CLI, remove redundant cua version 2025-11-18 09:58:54 -05:00
Dillon DuPont
fb55b42920 Fix yargs --version implementation printing "unknown" for built .exe's 2025-11-18 09:03:22 -05:00
ddupont
72e4a1cdc1 Bump cua-cli to v0.1.3 2025-11-18 08:07:25 -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
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
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
77e765b6af Rename to sandbox 2025-11-18 13:11:29 +01:00
Adam
fdfcd9e443 Merge pull request #493 from YeIIcw/docs/mcp-server-locally
Add Local Desktop Mode for MCP Server with updated docs
2025-11-17 14:56:10 +00:00
Sarina Li
abaf590da1 fix prettier issues 2025-11-16 18:30:06 -05:00
ddupont
999d85a47f Merge pull request #541 from trycua/fix/update-xfce-python
Update xfce dockerfile to python 3.12
2025-11-15 17:52:34 -05:00
Adam
e98f71dc57 fix: correct computer typing helper in docs
Replace the outdated `interface.type()` calls in the Python docs with
`interface.type_text()` to match the current Computer SDK API.
2025-11-15 00:59:16 -05:00
ddupont
f08532059b Bump cua-cli to v0.1.2 2025-11-14 17:50:14 -05:00
Dillon DuPont
7511049ff7 Disable cua chat cli 2025-11-14 17:43:49 -05:00
ddupont
52f70b2bbd Bump cua-cli to v0.1.1 2025-11-14 16:26:41 -05:00
Dillon DuPont
f7f00e7e5d flatten CLI, rename VM to sandbox 2025-11-14 16:23:40 -05:00
ddupont
5cc3810541 Merge pull request #572 from tamoghnokandar/tamoghnokandar-patch-1
Fix broken link in computer-server README file
2025-11-14 13:08:26 -05:00
Tamoghno Kandar
e82f4755f7 Update README.md
Fix broken link of Computer Server
2025-11-13 12:59:00 -08:00
Adam
c59a4a7e3d Formatting Fix 2025-11-13 12:21:51 -05:00
Sarina Li
41c1d38ee4 Merge branch 'main' into new-improve-docs-home 2025-11-13 11:30:06 -05:00