Commit Graph

1503 Commits

Author SHA1 Message Date
f-trycua
ea5c4a1cdc Add xfce gh action, simplify folder name 2025-10-12 14:35:20 -07:00
f-trycua
6c2f1ca133 Merge pull request #464 from trycua/feature/docker-xfce
Add docker-xfce provider with vanilla XFCE desktop
2025-10-12 07:36:58 +02:00
f-trycua
1a83931587 Remove unused 2025-10-11 22:14:00 -07:00
f-trycua
7b286f77c6 Set default browser 2025-10-11 21:51:00 -07:00
f-trycua
3053270f74 Add XFCE provider 2025-10-11 11:03:50 -07:00
f-trycua
e88099aea4 Cleanup 2025-10-10 21:02:42 -07:00
f-trycua
86c5642128 Add Firefox back using Ubuntu default repository
Install Firefox from Ubuntu's default repository instead of the
Mozilla PPA. This is much faster (3 minutes vs 20+ minutes) and
installs the snap version which works well in containers.

Container now includes:
- XFCE desktop (no power manager popup)
- Firefox browser
- VNC/noVNC access
- Computer-server API

Build time: ~3-4 minutes total

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 18:13:14 -07:00
f-trycua
a9866f831a Remove Firefox to speed up container build
Firefox installation was causing very slow builds (1200+ seconds)
downloading 72MB on ARM. Removed it since it's not essential for
the basic container functionality.

Firefox can be installed later inside the running container if needed:
  docker exec cua-docker-xfce apt-get install -y firefox

Build time reduced from 20+ minutes to under 1 minute.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 18:07:36 -07:00
f-trycua
6e780ac345 Remove XFCE power manager to prevent startup popup
Uninstall xfce4-power-manager package which causes annoying popup
dialog on container startup. Power management is not needed in
a containerized environment.

This provides a cleaner desktop experience on first launch.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 18:03:21 -07:00
f-trycua
09049096f4 Fix noVNC startup by removing netcat dependency
Changed start-novnc.sh to use a simple sleep instead of checking
VNC availability with netcat. This avoids the need to install
netcat and simplifies the startup sequence.

Since supervisor starts services in priority order (VNC=10, noVNC=20),
a 5-second sleep is sufficient for VNC to be ready.

Also added netcat to Dockerfile for future use if needed.

Container now fully functional:
- VNC server running on port 5901
- noVNC web interface on port 6901
- Computer-server API on port 8000

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 16:14:11 -07:00
r33drichards
590c4a8753 Add pyproject.toml version verification script and tests (#462)
* Add pyproject.toml version verification script and tests

Adds get_pyproject_version.py script to verify that pyproject.toml
versions match expected versions during git tag releases. Includes
comprehensive pytest test suite with best practices.

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

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

* Revert "Add pyproject.toml version verification script and tests"

This reverts commit 1d40e692cc.

* Add pyproject.toml version verification script and tests

Adds get_pyproject_version.py script to verify that pyproject.toml
versions match expected versions during git tag releases. Includes
comprehensive pytest test suite with best practices.

Updates the GitHub Actions workflow to use the verification script,
ensuring version consistency before publishing packages. Also removes
the old version-setting step as pyproject.toml is now the source of
truth for versions.

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

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

* f

* add test for validation script to gha

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-10 14:43:07 -07:00
James Murdza
e63d3e3227 Add Sponsors section to README 2025-10-10 13:48:35 -07:00
f-trycua
05c3356f19 Fix Docker XFCE container build and VNC startup
Fixed two critical issues:
1. Firefox syspref.js was being created as directory instead of file
   - Changed mkdir to create parent directory only
   - Use > for first echo to create file

2. TigerVNC refusing to start without authentication
   - Changed SecurityTypes from None to VncAuth
   - Added --I-KNOW-THIS-IS-INSECURE flag for development

Container now successfully:
- Builds on ARM64 Mac
- Starts all services (VNC, noVNC, computer-server)
- Accessible on ports 5901 (VNC), 6901 (noVNC), 8000 (API)

Also added Dockerfile.slim as lighter alternative.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 12:41:09 -07:00
James Murdza
c09432ec01 Merge pull request #458 from VinciGit00/main
Update README.md
2025-10-10 12:28:08 -07:00
ddupont
bcfda96673 Merge pull request #444 from trycua/feat/cli-enhancement
Add --provider and --prompt-file to the CLI
2025-10-10 13:25:48 -04:00
Marco Vinciguerra
f7bedbb8a0 Update README.md 2025-10-10 18:20:22 +02:00
f-trycua
ef69c4431a Add vanilla Docker XFCE container for CUA
Create a lightweight alternative to Kasm-based container with minimal
dependencies. Features vanilla Ubuntu 22.04 with XFCE, TigerVNC, noVNC,
and computer-server pre-installed.

Key features:
- Vanilla XFCE desktop environment
- TigerVNC server (port 5901)
- noVNC web interface (port 6901)
- computer-server WebSocket API (port 8000)
- Python 3.11 with automation tools
- Firefox with telemetry disabled
- Supervisord for process management
- Persistent storage support

Benefits over Kasm:
- Reduced dependencies (no KasmWeb infrastructure)
- Smaller image size
- Full control over all components
- Easy customization
- Independent maintenance

Includes:
- Comprehensive README and quickstart guide
- Makefile for common operations
- docker-compose.yml for orchestration
- Example Python scripts
- Startup scripts for all services

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 23:41:51 -07:00
r33drichards
237f4ab477 create a github action to build and publish docker image (#453)
This pull request introduces a new GitHub Actions workflow for building and publishing the CUA Ubuntu Docker container. The workflow automates image building and publishing for both pull requests and pushes to the main branch, supporting multiple platforms and leveraging Docker Hub for image distribution.

Docker workflow automation:

Added .github/workflows/docker-publish-kasm.yml to automate building and publishing the cua-ubuntu Docker image for PRs and the main branch, including support for multi-platform builds (linux/amd64, linux/arm64).
Integrated Docker Buildx for multi-platform builds and caching to optimize build times and resource usage.
Docker Hub integration:

Configured workflow to authenticate with Docker Hub using a secret token and push images to the trycua organization.
Automatically tags images based on the event type (commit SHA for PRs, latest for main branch) and provides image digest output for traceability.
2025-10-09 21:37:28 -07:00
f-trycua
003c10a846 Fix computer tabs 2025-10-08 18:27:15 -07:00
f-trycua
e44c4b27ba Merge pull request #449 from trycua/rebrand-cloud-sandbox
Update container to sandbox
2025-10-09 03:17:42 +02:00
f-trycua
9d8dd768bf update container to sandbox 2025-10-08 18:14:46 -07:00
James Murdza
8ee2d422b9 Merge pull request #442 from dylanbowman314/fix/hud-agents
Fix/hud agents
2025-10-08 16:32:28 -07:00
James Murdza
419287ddf7 Merge pull request #448 from trycua/vk/d99a-the-agent-comput
Updated `docs/content/docs/agent-sdk/agent-loops.mdx`
2025-10-08 16:24:07 -07:00
James Murdza
dcb849ea26 Add links to the quickstart guide 2025-10-07 16:22:29 -07:00
Your Name
7253d39fe7 Updated docs/content/docs/agent-sdk/agent-loops.mdx:16-46 with the complete working example that includes:
- `asyncio` import and `asyncio.run()`
- `async with Computer()` context manager
- Full `Computer()` initialization with all required parameters
- Proper message format as a list of dictionaries
- Complete `async for` loop with item iteration

Remove sensitive API key from documentation

Removed sensitive API key from agent-loops.mdx.
2025-10-07 23:14:26 +00:00
James Murdza
118fdf3954 Improve quickstart docs wording 2025-10-07 15:48:31 -07:00
James Murdza
36bdd399fa Remove the UI quickstart documentation 2025-10-07 15:29:40 -07:00
James Murdza
f54d5537f9 Refactor the developer quickstart documentation 2025-10-07 15:29:16 -07:00
Dillon DuPont
78901aed48 Add --provider and --prompt-file to the CLI 2025-10-07 11:04:21 -04:00
bowman
b0da328323 switch demo to gpt-5 in eval_osworld.ipynb 2025-10-06 20:27:01 -07:00
bowman
1fe41d57f4 update hud in agent pyproject.toml 2025-10-06 20:24:21 -07:00
bowman
2daa6a9df8 bump hud version 2025-10-06 17:54:23 -07:00
ddupont
9f18f9eeaa Merge pull request #437 from trycua/feat/moondream3
Add moondream3 model for CUA
2025-10-06 13:07:33 -04:00
ddupont
8cb91fcf34 Remove hardcoded container name 2025-10-03 14:53:36 -04:00
ddupont
9102cd1490 Merge pull request #439 from trycua/feat/windows-cloud
Support Windows cloud VMs in Computer SDK
computer-v0.4.7
2025-10-03 12:15:41 -04:00
Dillon DuPont
1cacd281ad fixed python RPC on windows 2025-10-03 12:12:40 -04:00
Dillon DuPont
83cad3b687 Disable stop windows 2025-10-03 10:41:21 -04:00
ddupont
63f015e114 Merge pull request #438 from trycua/fixes/win-cloud-compat
Disable watchdog on Windows Cloud instances
computer-server-v0.1.23
2025-10-03 10:11:09 -04:00
Dillon DuPont
4dfc8de46b Disable watchdog on windows cloud instances 2025-10-03 10:09:17 -04:00
Dillon DuPont
1e94b5d8b4 Added working moondream3 agent 2025-10-02 11:07:11 -04:00
Dillon DuPont
b2ddfe2033 added moondream3 to docs 2025-10-02 11:03:27 -04:00
Dillon DuPont
0b3c677205 added moondream3 agent loop 2025-10-02 10:57:06 -04:00
Dillon DuPont
9423863319 add windows cloud example 2025-10-01 16:57:15 -04:00
James Murdza
e03094009d Merge pull request #430 from buiilding/feat/add_sudo_perm
added sudo permissions in the kasm operating system, now the agent ca…
2025-09-29 14:35:38 -07:00
James Murdza
fa6833c8a7 Merge pull request #433 from trycua/fix/vm-details-test
Fix failing Lume test
2025-09-29 13:55:42 -07:00
James Murdza
b692684a2f Add shared_dirs column to printStatus_whenNotJSON test 2025-09-29 13:49:27 -07:00
James Murdza
28954a7097 Merge pull request #431 from trycua/feat/anthropic/sonnet-4-5
Add Sonnet 4.5 support to docs
2025-09-29 12:27:36 -07:00
Dillon DuPont
ac2397b7bd Add sonnet 4.5 to docs 2025-09-29 14:19:48 -04:00
buiilding
7454f07673 added sudo permissions in the kasm operating system, now the agent can run sudo commands without needing a password 2025-09-28 13:44:55 -04:00
f-trycua
5537b592a7 Update hack-the-north blogpost 2025-09-25 22:15:49 -07:00