Commit Graph

2007 Commits

Author SHA1 Message Date
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
Dillon DuPont
baea04339b flip tab order 2025-11-18 00:19:14 -05:00
Dillon DuPont
b537d3af05 flip tab order 2025-11-18 00:18:26 -05:00
Dillon DuPont
acf98b4ac5 Add the CLI to the quickstart 2025-11-18 00:17:53 -05:00
Sarina Li
7009006dd7 Merge pull request #584 from sarinali/fix/remove-assets
remove assets from blog
2025-11-17 13:02:59 -05:00
Sarina Li
0667c4a2a0 remove assets 2025-11-17 13:02:07 -05:00
Francesco Bonacci
c58fe1f5cd Merge pull request #582 from trycua/study-docs-structure
Fixes pre-launch week
2025-11-17 17:36:30 +01:00
Francesco Bonacci
5b89f0e436 Change video source in demo section
Updated video source for Windows app demo behind VPN.
2025-11-17 17:35:56 +01:00
Francesco Bonacci
e824d565be Update images and links in macOS preview blog post 2025-11-17 17:33:17 +01:00
f-trycua
5983a9b849 Add blogpost and doc 2025-11-17 17:26:41 +01:00
f-trycua
2b595f5de8 Fixes pre-launch week 2025-11-17 16:56:17 +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
b3c72abbfe Merge pull request #581 from sarinali/feat/blog-computer-use-agents-for-growth
feat/blog computer use agents for growth
2025-11-16 19:19:41 -05:00
Sarina Li
e1cdfa7996 fix blog post docs link 2025-11-16 19:19:05 -05:00
Sarina Li
8ee825a918 Merge pull request #580 from sarinali/feat/blog-computer-use-agents-for-growth
Computer Use Agents for Growth Hacking
2025-11-16 18:55:34 -05:00
Sarina Li
855ca448f9 Merge pull request #579 from sarinali/feat/new-usecase-connections-extraction
Post Event Contact Usecase
2025-11-16 18:55:09 -05:00
Sarina Li
a5f49c937b fix naming 2025-11-16 18:54:21 -05:00
Sarina Li
2d3b644219 blog assets + content 2025-11-16 18:53:40 -05:00
Sarina Li
abaf590da1 fix prettier issues 2025-11-16 18:30:06 -05:00
Sarina Li
aa2d1f4db9 new usecase 2025-11-16 18:23:58 -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
Adam
6bb9cb528d Merge pull request #577 from trycua/fix/computer-bump-agent
Ensure cua-computer bumps also update cua-agent
2025-11-15 05:48:27 +00:00
Adam
b488411256 Update npm-publish-cli.yml 2025-11-15 00:45:01 -05:00
Adam
708d48379a Merge branch 'main' into fix/computer-bump-agent 2025-11-15 05:38:21 +00:00
ddupont
f08532059b Bump cua-cli to v0.1.2 cua-v0.1.2 2025-11-14 17:50:14 -05:00
Dillon DuPont
d72aa12184 Merge branch 'main' of https://github.com/trycua/cua 2025-11-14 17:45:31 -05:00
Dillon DuPont
40a0723c03 Fix quickstart docs 2025-11-14 17:44:58 -05:00
ddupont
ed594fe4f1 Merge pull request #578 from trycua/feat/disable-cli-playground
Disable `cua chat` cli
2025-11-14 17:44:14 -05:00
Dillon DuPont
7511049ff7 Disable cua chat cli 2025-11-14 17:43:49 -05:00
Dillon DuPont
34f96cc334 Fix incorrect usage in cli install script 2025-11-14 17:30:10 -05:00