diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index aa2b82a6..88113b84 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "C/ua - OSS", + "name": "Cua - OSS", "build": { "dockerfile": "../Dockerfile" }, @@ -10,7 +10,7 @@ "forwardPorts": [7860], "portsAttributes": { "7860": { - "label": "C/ua web client (Gradio)", + "label": "Cua web client (Gradio)", "onAutoForward": "silent" } }, diff --git a/README.md b/README.md index cb83cfd7..e43e4c74 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ trycua%2Fcua | Trendshift -**c/ua** ("koo-ah") is Docker for [Computer-Use Agents](https://www.oneusefulthing.org/p/when-you-give-a-claude-a-mouse) - it enables AI agents to control full operating systems in virtual containers and deploy them locally or to the cloud. +**cua** ("koo-ah") is Docker for [Computer-Use Agents](https://www.oneusefulthing.org/p/when-you-give-a-claude-a-mouse) - it enables AI agents to control full operating systems in virtual containers and deploy them locally or to the cloud.
@@ -52,8 +52,8 @@ Read our guide on getting started with a Computer-Use Agent: [Computer-Use Agent Quickstart](https://docs.trycua.com/home/guides/usage-guide) -Get started using C/ua services on your machine: -[C/ua Usage Guide](https://docs.trycua.com/home/guides/cua-usage-guide) +Get started using Cua services on your machine: +[Cua Usage Guide](https://docs.trycua.com/home/guides/cua-usage-guide) Set up a development environment with the Dev Container: [Dev Container Setup](https://docs.trycua.com/home/guides/dev-container-setup) @@ -104,10 +104,10 @@ docker run -it --rm \ # Resources -- [How to use the MCP Server with Claude Desktop or other MCP clients](./libs/python/mcp-server/README.md) - One of the easiest ways to get started with C/ua +- [How to use the MCP Server with Claude Desktop or other MCP clients](./libs/python/mcp-server/README.md) - One of the easiest ways to get started with Cua - [How to use OpenAI Computer-Use, Anthropic, OmniParser, or UI-TARS for your Computer-Use Agent](./libs/python/agent/README.md) - [How to use Lume CLI for managing desktops](./libs/lume/README.md) -- [Training Computer-Use Models: Collecting Human Trajectories with C/ua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1) +- [Training Computer-Use Models: Collecting Human Trajectories with Cua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1) - [Build Your Own Operator on macOS (Part 1)](https://www.trycua.com/blog/build-your-own-operator-on-macos-1) # Modules diff --git a/docs/content/docs/api/computer/index.mdx b/docs/content/docs/api/computer/index.mdx index 60612f97..13af9358 100644 --- a/docs/content/docs/api/computer/index.mdx +++ b/docs/content/docs/api/computer/index.mdx @@ -80,7 +80,7 @@ await computer.venv_install("demo_venv", ["requests", "macos-pyxa"]) # Install p await computer.venv_cmd("demo_venv", "python -c 'import requests; print(requests.get(`https://httpbin.org/ip`).json())'") # Run a shell command in a virtual environment await computer.venv_exec("demo_venv", python_function_or_code, *args, **kwargs) # Run a Python function in a virtual environment and return the result / raise an exception -# Example: Use sandboxed functions to execute code in a C/ua Container +# Example: Use sandboxed functions to execute code in a Cua Container from computer.helpers import sandboxed @sandboxed("demo_venv") @@ -93,8 +93,8 @@ def greet_and_print(name): return {"greeted": name, "safari_html": html} # When a @sandboxed function is called, it will execute in the container -result = await greet_and_print("C/ua") -# Result: {"greeted": "C/ua", "safari_html": "..."} +result = await greet_and_print("Cua") +# Result: {"greeted": "Cua", "safari_html": "..."} # stdout and stderr are also captured and printed / raised print("Result from sandboxed function:", result) ``` diff --git a/docs/content/docs/home/compatibility.mdx b/docs/content/docs/home/compatibility.mdx index 81b39ed6..85b0b4e1 100644 --- a/docs/content/docs/home/compatibility.mdx +++ b/docs/content/docs/home/compatibility.mdx @@ -1,12 +1,12 @@ --- title: Compatibility -description: Compatibility information for running c/ua services. +description: Compatibility information for running cua services. icon: MonitorCheck --- # Host OS Compatibility -_This section shows compatibility based on your **host operating system** (the OS you're running C/ua on)._ +_This section shows compatibility based on your **host operating system** (the OS you're running Cua on)._ ## macOS Host diff --git a/docs/content/docs/home/faq.mdx b/docs/content/docs/home/faq.mdx index ef3b1098..cb046293 100644 --- a/docs/content/docs/home/faq.mdx +++ b/docs/content/docs/home/faq.mdx @@ -1,6 +1,6 @@ --- title: FAQ -description: Find answers to the most common issues or questions when using C/ua tools. +description: Find answers to the most common issues or questions when using Cua tools. icon: CircleQuestionMark --- diff --git a/docs/content/docs/home/guides/cua-usage-guide.mdx b/docs/content/docs/home/guides/cua-usage-guide.mdx index f82e2151..f04dddf7 100644 --- a/docs/content/docs/home/guides/cua-usage-guide.mdx +++ b/docs/content/docs/home/guides/cua-usage-guide.mdx @@ -1,6 +1,6 @@ --- -title: C/ua Usage Guide -descrption: Follow these steps to use C/ua in your own Python code. +title: Cua Usage Guide +descrption: Follow these steps to use Cua in your own Python code. --- import { Step, Steps } from 'fumadocs-ui/components/steps'; @@ -51,7 +51,7 @@ async def main(): computer = Computer(os_type="macos") await computer.run() - # Or with C/ua Cloud Container + # Or with Cua Cloud Container computer = Computer( os_type="linux", api_key="your_cua_api_key_here", diff --git a/docs/content/docs/home/index.mdx b/docs/content/docs/home/index.mdx index 80588f1d..f8fce53f 100644 --- a/docs/content/docs/home/index.mdx +++ b/docs/content/docs/home/index.mdx @@ -7,9 +7,9 @@ import { buttonVariants } from 'fumadocs-ui/components/ui/button'; import { cn } from 'fumadocs-ui/utils/cn'; import { ChevronRight } from 'lucide-react'; -## What is C/ua? +## What is Cua? -C/ua is a collection of cross-platform libraries and tools for building Computer-Use AI agents. +Cua is a collection of cross-platform libraries and tools for building Computer-Use AI agents. ## Quick Start @@ -20,8 +20,8 @@ C/ua is a collection of cross-platform libraries and tools for building Computer Read our guide on getting started with a Computer-Use Agent. - - Get started using C/ua services on your machine. + + Get started using Cua services on your machine. @@ -53,10 +53,10 @@ C/ua is a collection of cross-platform libraries and tools for building Computer ## Resources -- [How to use the MCP Server with Claude Desktop or other MCP clients](./libraries/mcp-server) - One of the easiest ways to get started with C/ua +- [How to use the MCP Server with Claude Desktop or other MCP clients](./libraries/mcp-server) - One of the easiest ways to get started with Cua - [How to use OpenAI Computer-Use, Anthropic, OmniParser, or UI-TARS for your Computer-Use Agent](./libraries/agent) - [How to use Lume CLI for managing desktops](./libraries/lume) -- [Training Computer-Use Models: Collecting Human Trajectories with C/ua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1) +- [Training Computer-Use Models: Collecting Human Trajectories with Cua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1) - [Build Your Own Operator on macOS (Part 1)](https://www.trycua.com/blog/build-your-own-operator-on-macos-1) ## Modules diff --git a/docs/content/docs/home/libraries/agent/index.mdx b/docs/content/docs/home/libraries/agent/index.mdx index 56ccde37..a91958e8 100644 --- a/docs/content/docs/home/libraries/agent/index.mdx +++ b/docs/content/docs/home/libraries/agent/index.mdx @@ -13,7 +13,7 @@ import { buttonVariants } from 'fumadocs-ui/components/ui/button'; import { cn } from 'fumadocs-ui/utils/cn'; import { ChevronRight } from 'lucide-react'; -**Agent** is a powerful Computer-Use framework that enables AI agents to interact with desktop applications and perform complex multi-step workflows across macOS, Linux, and Windows environments. Built on the C/ua platform, it supports both local models (via Ollama) and cloud providers (OpenAI, Anthropic, Groq, DeepSeek, Qwen). +**Agent** is a powerful Computer-Use framework that enables AI agents to interact with desktop applications and perform complex multi-step workflows across macOS, Linux, and Windows environments. Built on the Cua platform, it supports both local models (via Ollama) and cloud providers (OpenAI, Anthropic, Groq, DeepSeek, Qwen). ## Installation diff --git a/docs/content/docs/home/libraries/computer/index.mdx b/docs/content/docs/home/libraries/computer/index.mdx index a591d97d..8a521999 100644 --- a/docs/content/docs/home/libraries/computer/index.mdx +++ b/docs/content/docs/home/libraries/computer/index.mdx @@ -16,7 +16,7 @@ import { buttonVariants } from 'fumadocs-ui/components/ui/button'; import { cn } from 'fumadocs-ui/utils/cn'; import { ChevronRight } from 'lucide-react'; -Computer, when paired with [Computer Server](../computer-server.mdx) enables programatic interaction with cross-platform sandboxes. It powers C/ua systems and is PyAutoGUI-compatible and pluggable with any AI agent system (Cua, Langchain, CrewAI, AutoGen). +Computer, when paired with [Computer Server](../computer-server.mdx) enables programatic interaction with cross-platform sandboxes. It powers Cua systems and is PyAutoGUI-compatible and pluggable with any AI agent system (Cua, Langchain, CrewAI, AutoGen). The Python version relies on [Lume](./lume.mdx) for creating and managing sandbox environments. @@ -85,7 +85,7 @@ The Python version relies on [Lume](./lume.mdx) for creating and managing sandbo ```typescript import { Computer, OSType } from '@trycua/computer'; - // This creates and interfaces with a cloud-based c/ua container. + // This creates and interfaces with a cloud-based cua container. const main = async () => { // Create a cloud-based computer const computer = new Computer({ @@ -157,7 +157,7 @@ The Python version relies on [Lume](./lume.mdx) for creating and managing sandbo - Use C/ua Cloud Containers with OpenAI's API to execute tasks in a sandbox + Use Cua Cloud Containers with OpenAI's API to execute tasks in a sandbox diff --git a/docs/content/docs/home/libraries/index.mdx b/docs/content/docs/home/libraries/index.mdx index d6fbaacf..8bf2cb59 100644 --- a/docs/content/docs/home/libraries/index.mdx +++ b/docs/content/docs/home/libraries/index.mdx @@ -1,11 +1,11 @@ --- title: Getting Started -description: Getting started with the C/ua libraries +description: Getting started with the Cua libraries --- ## Overview -The C/ua project provides several libraries for building Computer-Use AI agents. +The Cua project provides several libraries for building Computer-Use AI agents. | Library | Description | Installation | | -------------------------------------------- | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | diff --git a/docs/content/docs/home/libraries/lume/index.mdx b/docs/content/docs/home/libraries/lume/index.mdx index 38d6c9cf..9f66822b 100644 --- a/docs/content/docs/home/libraries/lume/index.mdx +++ b/docs/content/docs/home/libraries/lume/index.mdx @@ -294,7 +294,7 @@ lume serve ## Development -If you're working on Lume in the context of the C/ua monorepo, we recommend using the dedicated VS Code workspace configuration: +If you're working on Lume in the context of the Cua monorepo, we recommend using the dedicated VS Code workspace configuration: ```bash # Open VS Code workspace from the root of the monorepo diff --git a/docs/content/docs/home/libraries/mcp-server.mdx b/docs/content/docs/home/libraries/mcp-server.mdx index 7061e8a9..3e539d53 100644 --- a/docs/content/docs/home/libraries/mcp-server.mdx +++ b/docs/content/docs/home/libraries/mcp-server.mdx @@ -34,7 +34,7 @@ Before installing the MCP server, ensure you have: 3. **Python 3.10+** installed on your system - Follow our [C/ua Usage Guide](../guides/cua-usage-guide.mdx) for help setting + Follow our [Cua Usage Guide](../guides/cua-usage-guide.mdx) for help setting everything up. @@ -183,7 +183,7 @@ tail -n 20 -f ~/Library/Logs/Claude/mcp*.log --- - **Need detailed API documentation?** + **Need detailed API documentation?** Explore the complete API reference with detailed class documentation, and method signatures. diff --git a/docs/src/app/(home)/[[...slug]]/page.tsx b/docs/src/app/(home)/[[...slug]]/page.tsx index 4048cb8b..695a8bf2 100644 --- a/docs/src/app/(home)/[[...slug]]/page.tsx +++ b/docs/src/app/(home)/[[...slug]]/page.tsx @@ -286,10 +286,10 @@ export async function generateMetadata(props: { const page = source.getPage(params.slug); if (!page) notFound(); - let title = `${page.data.title} | C/ua Docs`; - if (page.url.includes('api')) title = `${page.data.title} | C/ua API Docs`; + let title = `${page.data.title} | Cua Docs`; + if (page.url.includes('api')) title = `${page.data.title} | Cua API Docs`; if (page.url.includes('guide')) - title = ` Guide: ${page.data.title} | C/ua Docs`; + title = ` Guide: ${page.data.title} | Cua Docs`; return { title, @@ -298,7 +298,7 @@ export async function generateMetadata(props: { title, description: page.data.description, type: 'article', - siteName: 'C/ua Docs', + siteName: 'Cua Docs', url: 'https://trycua.com/docs', }, }; diff --git a/docs/src/app/layout.config.tsx b/docs/src/app/layout.config.tsx index 7b1d4bac..8bc4b5cd 100644 --- a/docs/src/app/layout.config.tsx +++ b/docs/src/app/layout.config.tsx @@ -1,11 +1,11 @@ -import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared"; +import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared'; -import Image from "next/image"; -import LogoBlack from "@/assets/logo-black.svg"; -import LogoWhite from "@/assets/logo-white.svg"; -import DiscordWhite from "@/assets/discord-white.svg"; -import DiscordBlack from "@/assets/discord-black.svg"; -import { HomeIcon } from "lucide-react"; +import Image from 'next/image'; +import LogoBlack from '@/assets/logo-black.svg'; +import LogoWhite from '@/assets/logo-white.svg'; +import DiscordWhite from '@/assets/discord-white.svg'; +import DiscordBlack from '@/assets/discord-black.svg'; +import { HomeIcon } from 'lucide-react'; /** * Shared layout configurations @@ -38,18 +38,18 @@ export const baseOptions: BaseLayoutProps = { ), }, - githubUrl: "https://github.com/trycua/cua", + githubUrl: 'https://github.com/trycua/cua', links: [ { - url: "https://trycua.com", - text: "c/ua home", - type: "icon", + url: 'https://trycua.com', + text: 'cua home', + type: 'icon', icon: , }, { - url: "https://discord.com/invite/mVnXXpdE85", - text: "c/ua discord", - type: "icon", + url: 'https://discord.com/invite/mVnXXpdE85', + text: 'cua discord', + type: 'icon', icon: ( <> $1${NC}" } -echo "🚀 Launching C/ua Computer-Use Agent UI..." +echo "🚀 Launching Cua Computer-Use Agent UI..." # Check if Docker is installed if ! command -v docker &> /dev/null; then print_error "Docker is not installed!" echo "" - echo "To use C/ua with Docker containers, you need to install Docker first:" + echo "To use Cua with Docker containers, you need to install Docker first:" echo "" echo "📦 Install Docker:" echo " • macOS: Download Docker Desktop from https://docker.com/products/docker-desktop" @@ -63,7 +63,7 @@ mkdir -p "$DEMO_DIR" # Check if we're already in the cua repository # Look for the specific trycua identifier in pyproject.toml if [[ -f "pyproject.toml" ]] && grep -q "gh@trycua.com" "pyproject.toml"; then - print_success "Already in C/ua repository - using current directory" + print_success "Already in Cua repository - using current directory" REPO_DIR="$ORIGINAL_DIR" USE_EXISTING_REPO=true else @@ -79,17 +79,17 @@ cleanup() { trap cleanup EXIT echo "" -echo "Choose your C/ua setup:" -echo "1) ☁️ C/ua Cloud Containers (works on any system)" +echo "Choose your Cua setup:" +echo "1) ☁️ Cua Cloud Containers (works on any system)" echo "2) 🖥️ Local macOS VMs (requires Apple Silicon Mac + macOS 15+)" echo "3) 🖥️ Local Windows VMs (requires Windows 10 / 11)" echo "" read -p "Enter your choice (1, 2, or 3): " CHOICE if [[ "$CHOICE" == "1" ]]; then - # C/ua Cloud Container setup + # Cua Cloud Container setup echo "" - print_info "Setting up C/ua Cloud Containers..." + print_info "Setting up Cua Cloud Containers..." echo "" # Check if existing .env.local already has CUA_API_KEY @@ -116,15 +116,15 @@ if [[ "$CHOICE" == "1" ]]; then # If no valid API key found, prompt for one if [[ -z "$CUA_API_KEY" ]]; then - echo "To use C/ua Cloud Containers, you need to:" + echo "To use Cua Cloud Containers, you need to:" echo "1. Sign up at https://trycua.com" echo "2. Create a Cloud Container" echo "3. Generate an Api Key" echo "" - read -p "Enter your C/ua Api Key: " CUA_API_KEY + read -p "Enter your Cua Api Key: " CUA_API_KEY if [[ -z "$CUA_API_KEY" ]]; then - print_error "C/ua Api Key is required for Cloud Containers." + print_error "Cua Api Key is required for Cloud Containers." exit 1 fi else @@ -142,7 +142,7 @@ elif [[ "$CHOICE" == "2" ]]; then # Check for Apple Silicon Mac if [[ $(uname -s) != "Darwin" || $(uname -m) != "arm64" ]]; then print_error "Local macOS VMs require an Apple Silicon Mac (M1/M2/M3/M4)." - echo "💡 Consider using C/ua Cloud Containers instead (option 1)." + echo "💡 Consider using Cua Cloud Containers instead (option 1)." exit 1 fi @@ -150,7 +150,7 @@ elif [[ "$CHOICE" == "2" ]]; then OSVERSION=$(sw_vers -productVersion) if [[ $(echo "$OSVERSION 15.0" | tr " " "\n" | sort -V | head -n 1) != "15.0" ]]; then print_error "Local macOS VMs require macOS 15 (Sequoia) or newer. You have $OSVERSION." - echo "💡 Consider using C/ua Cloud Containers instead (option 1)." + echo "💡 Consider using Cua Cloud Containers instead (option 1)." exit 1 fi @@ -165,7 +165,7 @@ elif [[ "$CHOICE" == "3" ]]; then # Check if we're on Windows if [[ $(uname -s) != MINGW* && $(uname -s) != CYGWIN* && $(uname -s) != MSYS* ]]; then print_error "Local Windows VMs require Windows 10 or 11." - echo "💡 Consider using C/ua Cloud Containers instead (option 1)." + echo "💡 Consider using Cua Cloud Containers instead (option 1)." echo "" echo "🔗 If you are using WSL, refer to the blog post to get started: https://www.trycua.com/blog/windows-sandbox" exit 1 @@ -188,11 +188,11 @@ if [[ "$USE_EXISTING_REPO" == "true" ]]; then else # Clone or update the repository if [[ ! -d "$REPO_DIR" ]]; then - print_info "Cloning C/ua repository..." + print_info "Cloning Cua repository..." cd "$DEMO_DIR" git clone https://github.com/trycua/cua.git else - print_info "Updating C/ua repository..." + print_info "Updating Cua repository..." cd "$REPO_DIR" git pull origin main fi @@ -303,9 +303,9 @@ chmod +x "$DEMO_DIR/start_ui.sh" print_success "Setup complete!" if [[ "$USE_CLOUD" == "true" ]]; then - echo "☁️ C/ua Cloud Container setup complete!" + echo "☁️ Cua Cloud Container setup complete!" else - echo "🖥️ C/ua Local VM setup complete!" + echo "🖥️ Cua Local VM setup complete!" fi echo "📝 Edit $ENV_FILE to update your API keys" @@ -313,10 +313,10 @@ echo "🖥️ Start the playground by running: $DEMO_DIR/start_ui.sh" # Start the demo automatically echo -print_info "Starting the C/ua Computer-Use Agent UI..." +print_info "Starting the Cua Computer-Use Agent UI..." echo "" -print_success "C/ua Computer-Use Agent UI is now running at http://localhost:7860/" +print_success "Cua Computer-Use Agent UI is now running at http://localhost:7860/" echo echo "🌐 Open your browser and go to: http://localhost:7860/" echo diff --git a/scripts/playground.sh b/scripts/playground.sh index 9be712d2..39710e4c 100755 --- a/scripts/playground.sh +++ b/scripts/playground.sh @@ -2,7 +2,7 @@ set -e -echo "🚀 Launching C/ua Computer-Use Agent UI..." +echo "🚀 Launching Cua Computer-Use Agent UI..." # Save the original working directory ORIGINAL_DIR="$(pwd)" @@ -22,18 +22,18 @@ TMP_DIR=$(mktemp -d) cd "$TMP_DIR" trap cleanup EXIT -# Ask user to choose between local macOS VMs or C/ua Cloud Containers +# Ask user to choose between local macOS VMs or Cua Cloud Containers echo "" -echo "Choose your C/ua setup:" -echo "1) ☁️ C/ua Cloud Containers (works on any system)" +echo "Choose your Cua setup:" +echo "1) ☁️ Cua Cloud Containers (works on any system)" echo "2) 🖥️ Local macOS VMs (requires Apple Silicon Mac + macOS 15+)" echo "" read -p "Enter your choice (1 or 2): " CHOICE if [[ "$CHOICE" == "1" ]]; then - # C/ua Cloud Container setup + # Cua Cloud Container setup echo "" - echo "☁️ Setting up C/ua Cloud Containers..." + echo "☁️ Setting up Cua Cloud Containers..." echo "" # Check if existing .env.local already has CUA_API_KEY (check current dir and demo dir) @@ -61,15 +61,15 @@ if [[ "$CHOICE" == "1" ]]; then # If no valid API key found, prompt for one if [[ -z "$CUA_API_KEY" ]]; then - echo "To use C/ua Cloud Containers, you need to:" + echo "To use Cua Cloud Containers, you need to:" echo "1. Sign up at https://trycua.com" echo "2. Create a Cloud Container" echo "3. Generate an Api Key" echo "" - read -p "Enter your C/ua Api Key: " CUA_API_KEY + read -p "Enter your Cua Api Key: " CUA_API_KEY if [[ -z "$CUA_API_KEY" ]]; then - echo "❌ C/ua Api Key is required for Cloud Containers." + echo "❌ Cua Api Key is required for Cloud Containers." exit 1 fi fi @@ -84,7 +84,7 @@ elif [[ "$CHOICE" == "2" ]]; then # Check for Apple Silicon Mac if [[ $(uname -s) != "Darwin" || $(uname -m) != "arm64" ]]; then echo "❌ Local macOS VMs require an Apple Silicon Mac (M1/M2/M3/M4)." - echo "💡 Consider using C/ua Cloud Containers instead (option 1)." + echo "💡 Consider using Cua Cloud Containers instead (option 1)." exit 1 fi @@ -92,7 +92,7 @@ elif [[ "$CHOICE" == "2" ]]; then OSVERSION=$(sw_vers -productVersion) if [[ $(echo "$OSVERSION 15.0" | tr " " "\n" | sort -V | head -n 1) != "15.0" ]]; then echo "❌ Local macOS VMs require macOS 15 (Sequoia) or newer. You have $OSVERSION." - echo "💡 Consider using C/ua Cloud Containers instead (option 1)." + echo "💡 Consider using Cua Cloud Containers instead (option 1)." exit 1 fi @@ -205,7 +205,7 @@ fi source "$VENV_DIR/bin/activate" # Install required packages -echo "📦 Updating C/ua packages..." +echo "📦 Updating Cua packages..." pip install -U pip setuptools wheel Cmake pip install -U cua-computer "cua-agent[all]" @@ -336,10 +336,10 @@ fi # Ask if the user wants to start the demo now echo -read -p "Would you like to start the C/ua Computer-Use Agent UI now? (y/n) " -n 1 -r +read -p "Would you like to start the Cua Computer-Use Agent UI now? (y/n) " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then - echo "🚀 Starting the C/ua Computer-Use Agent UI..." + echo "🚀 Starting the Cua Computer-Use Agent UI..." echo "" "$DEMO_DIR/start_ui.sh" fi diff --git a/tests/files.py b/tests/files.py index bcfbb4f5..b0ae9c60 100644 --- a/tests/files.py +++ b/tests/files.py @@ -2,7 +2,7 @@ File System Interface Tests Tests for the file system methods of the Computer interface (macOS). Required environment variables: -- CUA_API_KEY: API key for C/ua cloud provider +- CUA_API_KEY: API key for Cua cloud provider - CUA_CONTAINER_NAME: Name of the container to use """ @@ -33,7 +33,7 @@ from computer import Computer, VMProviderType @pytest.fixture(scope="session") async def computer(): """Shared Computer instance for all test cases.""" - # Create a remote Linux computer with C/ua + # Create a remote Linux computer with Cua computer = Computer( os_type="linux", api_key=os.getenv("CUA_API_KEY"), @@ -41,7 +41,7 @@ async def computer(): provider_type=VMProviderType.CLOUD, ) - # Create a local macOS computer with C/ua + # Create a local macOS computer with Cua # computer = Computer() # Connect to host computer diff --git a/tests/shell_bash.py b/tests/shell_bash.py index af34ff0e..ca7f8e1f 100644 --- a/tests/shell_bash.py +++ b/tests/shell_bash.py @@ -2,7 +2,7 @@ Shell Command Tests (Bash) Tests for the run_command method of the Computer interface using bash commands. Required environment variables: -- CUA_API_KEY: API key for C/ua cloud provider +- CUA_API_KEY: API key for Cua cloud provider - CUA_CONTAINER_NAME: Name of the container to use """ @@ -33,7 +33,7 @@ from computer import Computer, VMProviderType @pytest.fixture(scope="session") async def computer(): """Shared Computer instance for all test cases.""" - # Create a remote Linux computer with C/ua + # Create a remote Linux computer with Cua computer = Computer( os_type="linux", api_key=os.getenv("CUA_API_KEY"), diff --git a/tests/shell_cmd.py b/tests/shell_cmd.py index a210e453..6062e53e 100644 --- a/tests/shell_cmd.py +++ b/tests/shell_cmd.py @@ -2,7 +2,7 @@ Shell Command Tests (CMD) Tests for the run_command method of the Computer interface using cmd.exe commands. Required environment variables: -- CUA_API_KEY: API key for C/ua cloud provider +- CUA_API_KEY: API key for Cua cloud provider - CUA_CONTAINER_NAME: Name of the container to use """ @@ -33,7 +33,7 @@ from computer import Computer, VMProviderType @pytest.fixture(scope="session") async def computer(): """Shared Computer instance for all test cases.""" - # Create a remote Windows computer with C/ua + # Create a remote Windows computer with Cua computer = Computer( os_type="windows", api_key=os.getenv("CUA_API_KEY"), diff --git a/tests/venv.py b/tests/venv.py index 522a4727..8479e28f 100644 --- a/tests/venv.py +++ b/tests/venv.py @@ -1,9 +1,9 @@ """ Virtual Environment Testing Module -This module tests the ability to execute python code in a virtual environment within C/ua Containers. +This module tests the ability to execute python code in a virtual environment within Cua Containers. Required environment variables: -- CUA_API_KEY: API key for C/ua cloud provider +- CUA_API_KEY: API key for Cua cloud provider - CUA_CONTAINER_NAME: Name of the container to use """ @@ -36,7 +36,7 @@ from computer.helpers import sandboxed, set_default_computer @pytest.fixture(scope="session") async def computer(): """Shared Computer instance for all test cases.""" - # Create a remote Linux computer with C/ua + # Create a remote Linux computer with Cua computer = Computer( os_type="linux", api_key=os.getenv("CUA_API_KEY"), @@ -44,7 +44,7 @@ async def computer(): provider_type=VMProviderType.CLOUD, ) - # # Create a local macOS computer with C/ua + # # Create a local macOS computer with Cua # computer = Computer() try: diff --git a/tests/watchdog.py b/tests/watchdog.py index 24b268c2..c5a014e6 100644 --- a/tests/watchdog.py +++ b/tests/watchdog.py @@ -2,7 +2,7 @@ Watchdog Recovery Tests Tests for the watchdog functionality to ensure server recovery after hanging commands. Required environment variables: -- CUA_API_KEY: API key for C/ua cloud provider +- CUA_API_KEY: API key for Cua cloud provider - CUA_CONTAINER_NAME: Name of the container to use """ @@ -34,7 +34,7 @@ from computer import Computer, VMProviderType @pytest.fixture(scope="session") async def computer(): """Shared Computer instance for all test cases.""" - # Create a remote Linux computer with C/ua + # Create a remote Linux computer with Cua computer = Computer( os_type="linux", api_key=os.getenv("CUA_API_KEY"),