Updated all Python code examples in the quickstart and agent sections to use explicit async main functions and asyncio.run(). This improves clarity for asynchronous usage, ensures proper connection and disconnection of resources, and aligns with best practices for async Python code.
- 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
- 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>
* 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>
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>
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>
- 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>