Commit Graph

101 Commits

Author SHA1 Message Date
Adam
4fd6c9908c formatting fix 2025-12-28 21:39:09 -05:00
Adam
5631c69af9 Revert "refractor docs into 6 sections" 2025-12-24 14:19:24 -05:00
Adam
13f3fb800d refractor docs into 6 sections
Agent - /agent
Computer - /computer
Lume - /lume
Lumier - /lumier
Set-of-Mark - /som
MCP - /mcp
2025-12-24 14:06:43 -05:00
synacktra.work@gmail.com
16ddaabb1f fix(ci): run prettier formatter 2025-12-23 01:38:47 +05:30
synacktra.work@gmail.com
7404c13e77 chore(computer): bump version to 0.1.5 2025-12-18 17:54:13 +05:30
f-trycua
af5139d599 chore(computer): bump version to 0.1.4 2025-12-13 17:17:19 -08:00
f-trycua
3a984d763a fix(computer): fetch VM host from API instead of hardcoded domain
The TypeScript CloudComputer was using a stale hardcoded domain
(containers.cloud.trycua.com). Now fetches the host from the /v1/vms
API like the Python implementation, with fallback to sandbox.cua.ai.
2025-12-13 17:02:47 -08:00
ddupont
76afcc6141 Bump cua-cli to v0.1.7 2025-12-04 10:38:58 -08:00
Dillon DuPont
d6dd366251 Add &show_dot=true to the noVNC view for the cua CLI 2025-12-04 10:36:57 -08:00
r33drichards
7d3d826672 fix linting and typechecking github action (#631)
* Sort imports alphabetically in agent loops __init__.py

Fix isort check failure by alphabetically sorting both the import list
and __all__ list to match the expected order.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* run on all prs

* Fix black formatting issues in responses.py and provider.py

Apply black formatting to fix lint check failures:
- Reformat conditional expression in responses.py for better readability
- Break long assert line in provider.py to comply with line length limits

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

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix prettier formatting issues in markdown and TypeScript files

Apply prettier formatting to blog posts, documentation, and CLI code:
- Format blog markdown files for consistent styling
- Format TypeScript CLI source files
- Format documentation MDX files

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

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-01 16:31:20 -05:00
Morgan Dean
846b0ad1c4 Bump all packages with security issues found by pnpm audit. 2025-12-01 12:17:31 -08:00
Morgan Dean
3aea2a4d30 Bump minimReleaseAge to 32 days 2025-12-01 12:02:06 -08:00
Morgan Dean
a67147d802 Prevent pnpm from installing package versions < 3 days old 2025-12-01 11:38:07 -08:00
Morgan Dean
503328a356 Bump posthog-node due to shai-hulud 2025-12-01 11:36:11 -08:00
ddupont
ff6e871644 Bump cua-cli to v0.1.6 2025-12-01 11:32:34 -05:00
Dillon DuPont
77d8ecd5f3 Add "cua get" cmd to CLI 2025-12-01 11:28:31 -05:00
Sarina Li
26caedf492 update to only use CUA_TELEMETRY_ENABLED 2025-11-29 22:41:27 -05:00
Sarina Li
8bcb836cd8 add qwen docs 2025-11-26 15:23:48 -05:00
Sarina Li
b517f7c211 bump version 2025-11-24 10:54:52 -05:00
Sarina Li
f59f3aeb99 suspend vm from cli 2025-11-24 01:00:21 -05:00
Adam
21b4e3bf16 Remove claude-3-5-sonnet-20241022 2025-11-23 16:12:17 -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
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
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