Commit Graph

823 Commits

Author SHA1 Message Date
Aditya Bavadekar c33517a42d chore: consolidate Ruff configs, add prettier dependancy and updated documentation usage
- Remove per-package Black, Ruff, and MyPy settings in individual pyproject.toml files
- Centralize Ruff configuration in root pyproject.toml under [tool.ruff.lint] with selected ignores
- Add Prettier setup and usage instructions to Development.md
- Include pnpm install instructions for JS/TS dependencies
- Ensure pre-commit hooks enforce Python and JS/TS formatting consistently
2025-10-22 11:10:21 -07:00
Aditya Bavadekar e04bfaea5e chore: Setup code formatting and linting
- Add `.editorconfig` for editor consistency.
- Configure GitHub Actions workflow for linting (`.github/workflows/lint.yml`).
- Add pre-commit hooks for automated checks (`.pre-commit-config.yaml`).
- Configure Prettier and exclusions (`.prettierrc.yaml`, `.prettierignore`).
- Update VS Code extensions to include formatting tools (`.vscode/extensions.json`).
- Adjust VS Code settings for auto-formatting (`.vscode/settings.json`).
2025-10-22 11:10:21 -07:00
ddupont 93e64cb58c Update README to use 'cua-xfce' instead of 'cua-docker-xfce' 2025-10-21 10:11:53 -07:00
James Murdza b7f5e1dd89 Fix dependency conflict with transformers 2025-10-20 07:18:10 -07:00
Adam 700c5c3bad package.json description name capitalization
Changing "cua" to "Cua"
2025-10-18 17:01:24 -04:00
James Murdza 2da9e39eb6 Merge pull request #480 from masterbatcoderman10/fix/f-string-error-handle-item
Fix: Corrected f-string syntax error in agent.py
2025-10-17 14:47:29 -07:00
Dillon DuPont 2f95f5ed82 Bump version 2025-10-17 10:50:15 -04:00
Dillon DuPont 090edb8f33 Fix torch dependency in cua-agent 2025-10-17 10:49:32 -04:00
masterbatcoderman10 0d16571d40 Fix: Corrected f-string syntax error in agent.py 2025-10-17 11:40:33 +04:00
James Murdza 503aa0a01f Merge pull request #467 from trycua/fix/docker-nits
Add multiplatform build docs for Docker images, fix incorrect image name
2025-10-16 14:37:13 -07:00
James Murdza 0dc6c75177 Bump cua-mcp-server to v0.1.14 2025-10-16 10:33:55 -07:00
Dillon DuPont b9e73fc622 rename cua-docker-xfce to cua-xfce 2025-10-15 15:38:55 -04:00
Dillon DuPont d30c3d2a41 Fix unicode typing on windows and linux 2025-10-15 15:27:11 -04:00
Dillon DuPont 7b4c914472 Bump agent version 2025-10-15 14:58:36 -04:00
Dillon DuPont 0709d6a370 Fix claude-haiku-4 usage 2025-10-15 14:52:06 -04:00
Dillon DuPont 99adca4b15 register gemini model 2025-10-15 10:16:46 -04:00
James Murdza a25c2dc13c Merge pull request #463 from trycua/b2v
Add bump2version configuration for all Python packages
2025-10-14 17:13:27 -07:00
James Murdza 126ce9eb80 Merge pull request #427 from YeIIcw/feature/mcp-streaming-rework
Stream MCP responses instead of buffering
2025-10-14 16:53:22 -07:00
Dillon DuPont 99b502b00d Bump computer to 0.4.10 2025-10-14 14:48:46 -04:00
Dillon DuPont d8edc3bb51 Add multiplatform build docs, fix incorrect image name 2025-10-14 11:36:41 -04:00
Dillon DuPont 0c1a6f445a Merge branch 'main' into feat/gemini-2_5-cua 2025-10-14 11:33:24 -04:00
ddupont c3de071bd5 Merge pull request #452 from trycua/feat/extended_cloud_api
Add Cloud VM Management API
2025-10-14 11:31:18 -04:00
Dillon DuPont 86a339d1cd add restart_vm to all providers 2025-10-14 11:30:40 -04:00
f-trycua 88638ccdac Merge branch 'main' into b2v 2025-10-13 07:06:13 +02:00
f-trycua cd8aacdf8d Fix XFCE Password Prompts and Lock Screen Issues 2025-10-12 18:56:57 -07:00
f-trycua bf57eee78b Bump 0.4.8 2025-10-12 15:13:08 -07:00
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
r33drichards 6fd19404dc version 2025-10-10 17:18:07 -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
Your Name 20657611f7 version correctness 2025-10-10 22:59:55 +00:00
Your Name 3d50e3cefb update pyproj 2025-10-10 22:40:36 +00:00
Your Name 424b8762c4 bump versions 2025-10-10 22:36:07 +00:00
r33drichards 0eeeb23635 Merge branch 'main' into b2v 2025-10-10 14:52:13 -07:00
Your Name e3aaa30ced Bump cua-computer-server to v0.1.26 2025-10-10 21:51:22 +00:00
Your Name 0af7ea394f add tag prefix 2025-10-10 21:51:18 +00: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
Your Name eaf6d29ef6 Bump cua-computer-server to v0.1.25 2025-10-10 21:34:51 +00:00
Your Name 1bc6fa01d3 make version match git 2025-10-10 21:34:48 +00:00
Your Name 7cb6857ff8 Bump cua-computer-server to v0.1.2 2025-10-10 21:33:47 +00:00
Your Name 2ff4030709 tag 2025-10-10 21:33:45 +00:00
Your Name cb29dd83b6 Bump cua-computer-server to v0.1.1 2025-10-10 21:31:19 +00:00
Your Name 46b361b732 Add bump2version configuration for all Python packages
Adds .bumpversion.cfg files to each Python package (agent, computer,
computer-server, core, mcp-server, pylume, som) to enable automated
version bumping with bump2version tool.

Includes comprehensive Makefile with targets for:
- Installing and managing bump2version
- Bumping package versions (major, minor, patch)
- Managing dependencies and building packages
- Running tests and formatting
- Cleaning build artifacts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 21:23:47 +00:00