Commit Graph

313 Commits

Author SHA1 Message Date
Morgan Dean
e22039a155 (hotfix): correct privacy and cookie policy links on docs 2025-12-11 16:55:51 -08:00
Dillon DuPont
7ee7ecd3b3 Run uv run pre-commit run --all-files 2025-12-09 13:24:33 -08:00
f-trycua
7fe1b16070 docs: expand CUA description with screenshot-VLM-action loop
Explain how computer-use agents work by capturing screenshots, feeding
them to a VLM, and determining the next action in a continuous loop.
2025-12-08 21:16:57 -08:00
f-trycua
4023b191ca docs: update intro page with hero image and Geist font
- Replace bg-light/bg-dark images with new hero.png
- Add "Welcome to Cua" header with sky accent color
- Switch from Inter to Geist/Geist Mono fonts
- Hide redundant "Introduction" title on home page
2025-12-08 21:10:43 -08:00
f-trycua
8865b008ab Restructure docs 2025-12-06 21:12:45 -08:00
f-trycua
8588f221a2 Fix text centering with not-prose and reset margins
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:20:52 -08:00
f-trycua
74293598d0 Center text vertically in hero card
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:20:26 -08:00
f-trycua
1a8af5dbb8 Fix hero border radius and use Tailwind classes
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:19:56 -08:00
f-trycua
badcd9e8a3 Use inline styles for hero positioning
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:18:57 -08:00
f-trycua
729c12a32f Fix text centering and card sizing in hero
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:17:57 -08:00
f-trycua
f60a2a678d Make hero image smaller with fixed height
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:15:20 -08:00
f-trycua
38edd3915c Add opacity card behind hero text
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:14:37 -08:00
f-trycua
ab04e6a4ac Zoom hero background image with scale-150
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:13:17 -08:00
f-trycua
9a29848a54 Make cards even smaller: reduce gap, icons, and font size
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:11:09 -08:00
f-trycua
9336c818e7 Make cards smaller: 4 columns, no descriptions
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:09:38 -08:00
f-trycua
d7160f3bcb Use separate img tags with dark: variant for theme switching
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:08:45 -08:00
f-trycua
453c12dc9e Use natural image dimensions for hero banner
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:08:03 -08:00
f-trycua
a1967e75f3 Improve hero image: use 3:1 aspect ratio and lighter overlay
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:07:17 -08:00
f-trycua
6c04e68017 Fix image paths to use /docs/img/ prefix
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:06:24 -08:00
f-trycua
f543f3dfd1 Fix hydration error by using span instead of p tag
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:05:36 -08:00
f-trycua
d57e1d3bc8 Simplify docs introduction page with hero background
- Add bg-dark.jpg and bg-light.jpg hero images
- Condense feature list from 7 items to 3 key highlights
- Remove redundant "What can you build?" section
- Keep quick start cards for easy navigation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:03:03 -08:00
Morgan Dean
fb7d3c5510 Merge branch 'main' into fix/nextjs-vuln 2025-12-03 12:07:10 -08:00
Morgan Dean
885cd6d246 updatep pnpm-lock 2025-12-03 12:03:44 -08:00
Morgan Dean
3e024c3b77 Bump next.js version to address CVE-2025-66478
https://github.com/vercel/next.js/security/advisories/GHSA-9qr9-h5gf-34mp
2025-12-03 12:02:21 -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
Adam
3e2798f835 Python Compatibility (3.14) Note 2025-12-01 13:00:40 -05:00
Dillon DuPont
77d8ecd5f3 Add "cua get" cmd to CLI 2025-12-01 11:28:31 -05:00
Sarina Li
ef1bf49977 fix field 2025-11-29 22:43:00 -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
Adam
1bc43aa83b Update configuration.mdx 2025-11-23 16:30:32 -05:00
Adam
114b6d901b Remove claude 3.5 sonnet 2025-11-23 16:29:11 -05:00
Adam
2aae0f96d9 Update installation.mdx 2025-11-23 16:14:57 -05:00
Adam
21b4e3bf16 Remove claude-3-5-sonnet-20241022 2025-11-23 16:12:17 -05:00
Sarina Li
b5ede1389d change usecase to OS related install 2025-11-19 18:01:39 -05:00
Sarina Li
c9751302dd add gif for demo 2025-11-19 17:37:06 -05:00
Sarina Li
87698101fc add gemini 3 support with omni parser + docs 2025-11-19 16:09:03 -05:00
f-trycua
d2b24d3359 Update docs to use os.environ instead of export in Python examples
Replace shell export statements with Python os.environ in all Python code blocks.
This provides a more Pythonic way to set environment variables.

Changes:
- docs/content/docs/get-started/quickstart.mdx: Update Cloud Sandbox, CUA VLM Router, and BYOK examples
- docs/content/docs/agent-sdk/supported-model-providers/cua-vlm-router.mdx: Update migration examples

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 20:13:03 +01: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
f-trycua
76b52ece72 Changes for VLM launch 2025-11-19 14:42:12 +01:00
ddupont
00231b6d52 Prioritize UI-TARS-2 section in computer-use agents docs 2025-11-18 17:22:53 -05:00
Dillon DuPont
ebbd5fc4f8 add UI-TARS-2 to docs 2025-11-18 17:20:20 -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
003e417c89 fix linting + format issues too 2025-11-18 10:04:23 -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
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