Commit Graph

69 Commits

Author SHA1 Message Date
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
Sarina Li abaf590da1 fix prettier issues 2025-11-16 18:30:06 -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
f-trycua 8cc273e0e8 Run lint 2025-11-12 19:16:00 +01:00
Dillon DuPont d8f91d0830 publish cli and add install scripts from the quickstart guide 2025-11-12 13:04:57 -05:00
Dillon DuPont 791c4ddf85 use host column in cli 2025-11-11 17:22:37 -05:00
Dillon DuPont ff957a7d04 run uv run pre-commit run --all-files 2025-11-11 17:18:18 -05:00
Dillon DuPont 129d8c1238 Merge branch 'main' into feat/cua-cli 2025-11-11 12:40:13 -05:00
Dillon DuPont 6832cfe922 changed dir to .cua 2025-11-11 12:14:31 -05:00
Dillon DuPont f2dfe865fd added create and delete cli 2025-11-11 12:11:48 -05:00
Sarina Li 7c727339a2 fix backlinks for seo 2025-10-31 16:18:21 -04:00
Dillon DuPont 4823256fde Add window frame cmds 2025-10-24 16:56:39 -07:00
Dillon DuPont 83d8d7e82b Add window management commands 2025-10-24 16:40:29 -07:00
Dillon DuPont fb174d6aa4 Add get_desktop_environment, set_wallpaper 2025-10-24 16:27:58 -07:00
James Murdza ddc5a5de91 Format codebase with uv run pre-commit run --all-files 2025-10-22 11:35:31 -07:00
James Murdza ae5ad4bb50 Remove Biome 2025-10-22 11:10:21 -07:00
Aditya Bavadekar e04bfaea5e chore: Setup code formatting and linting
- Add `.editorconfig` for editor consistency.
- Configure GitHub Actions workflow for linting (`.github/workflows/lint.yml`).
- Add pre-commit hooks for automated checks (`.pre-commit-config.yaml`).
- Configure Prettier and exclusions (`.prettierrc.yaml`, `.prettierignore`).
- Update VS Code extensions to include formatting tools (`.vscode/extensions.json`).
- Adjust VS Code settings for auto-formatting (`.vscode/settings.json`).
2025-10-22 11:10:21 -07:00
Dillon DuPont be8bb62bb4 Added CUA_API_BASE / CUA_WEBSITE_URL to the cua cli config, and vm chat <name> command 2025-10-20 17:09:53 -07:00
Dillon DuPont 789b7264b5 Fix CLI hanging 2025-10-20 14:21:58 -07:00
Dillon DuPont be98606cb5 added cua CLI 2025-10-20 12:12:14 -04:00
Adam 700c5c3bad package.json description name capitalization
Changing "cua" to "Cua"
2025-10-18 17:01:24 -04:00
ddupont da9af2e0fd Merge pull request #390 from onel/reference-docs-20250901_145129
Reference documentation batch
2025-09-05 11:17:35 -04:00
Dillon DuPont 77f1a2254f Merge branch 'main' into feat/agent-proxy 2025-09-02 16:07:19 -04:00
Andrei Onel 72c66e24d0 Added reference documentation for: libs/typescript/computer/src/interface/macos.ts 2025-09-01 22:51:58 +03:00
James Murdza 92737e44ad Rewrite TypeScript README in the format of the Python README 2025-09-01 09:34:17 -04:00
James Murdza 8917592b85 Rewrite TypeScript README in the format of the Python README 2025-09-01 09:33:12 -04:00
Dillon DuPont db652a5998 Added error output 2025-08-28 13:59:44 -04:00
Dillon DuPont 5e41e75779 added agent proxy to computer-server 2025-08-26 09:22:44 -04:00
ddupont c6ad00d4b7 Changed env examples 2025-08-22 11:40:01 -04:00
Dillon DuPont 8ce9ec870d Added env overrides in agent proxy 2025-08-22 09:41:11 -04:00
Morgan Dean 6539baf0c5 Fix type bugs, remove extensions, update tsdown config with comment 2025-08-21 15:01:48 +01:00
Dillon DuPont dcb584fbb8 Added function types 2025-08-21 08:14:54 -04:00
Dillon DuPont 52f7eda6e7 Updated types 2025-08-21 08:10:54 -04:00
Morgan Dean 8277c722b2 Setup browser bundling for Agent library 2025-08-21 11:55:02 +01:00
Dillon DuPont faec64029b Added minimal playground 2025-08-19 17:46:41 -04:00
Dillon DuPont 56dfbd0dc4 Fixed TS types 2025-08-19 17:44:54 -04:00
Dillon DuPont b202f768ad Fixed TS types 2025-08-19 17:42:34 -04:00
Dillon DuPont 829fde53ba Updated example 2025-08-19 17:38:25 -04:00
Dillon DuPont 7953de3ba4 Added typescript agent client SDK 2025-08-19 17:35:24 -04:00
Morgan Dean 350795615f Rename c/ua - cua 2025-07-22 10:04:13 -07:00
Morgan Dean 645171e7ab [Typescript] Temporarily force publish for all pushes until bugs are fixed. 2025-07-02 13:34:54 -07:00