Commit Graph

118 Commits

Author SHA1 Message Date
Adam
545c2180f8 pyautogui cleanup 2025-12-28 21:25:49 -05:00
Adam
5631c69af9 Revert "refractor docs into 6 sections" 2025-12-24 14:19:24 -05:00
Adam
13f3fb800d refractor docs into 6 sections
Agent - /agent
Computer - /computer
Lume - /lume
Lumier - /lumier
Set-of-Mark - /som
MCP - /mcp
2025-12-24 14:06:43 -05:00
github-actions[bot]
5bdf17b92d Bump cua-computer to v0.5.1 2025-12-23 09:30:00 +00:00
synacktra.work@gmail.com
7114e6bef2 chore: move android to qemu-docker 2025-12-22 18:21:41 +05:30
synacktra.work@gmail.com
c0ad2cb233 rename "cua-droid" to "cua-android-docker" 2025-12-22 17:23:44 +05:30
synacktra.work@gmail.com
023e797936 feat(docker): add Android emulator image support
- Detect android images (checks for "droid" in image name)
- Require /dev/kvm device for Android emulator
- Configure Android-specific ports (VNC: 6080, API: 8000)
- Set home directory to /home/androidusr
- Add default env vars: EMULATOR_DEVICE and WEB_VNC
2025-12-21 03:18:32 +05:30
synacktra.work@gmail.com
20fe640127 feat: add android to OS type literal 2025-12-21 03:16:04 +05:30
github-actions[bot]
793aaacc94 Bump cua-computer to v0.5.0 2025-12-20 19:02:56 +00:00
synacktra.work@gmail.com
0c77bf627f chore(qemu): rename "cua-windows" -> "cua-qemu-windows" 2025-12-19 18:12:14 +05:30
synacktra.work@gmail.com
2aeafa69b2 chore(qemu): rename "cua-linux" -> "cua-qemu-linx" 2025-12-19 18:07:18 +05:30
synacktra.work@gmail.com
eb04b5b023 feat(docker): add QEMU image support
- Detect QEMU images (cua-linux, cua-windows) and configure accordingly
- Validate golden image storage path for QEMU images
- Add /dev/kvm device support with warning if not provided
- Add NET_ADMIN capability for QEMU networking
- Map correct ports (8006 VNC, 5000 API) for QEMU vs Kasm/XFCE
- Support custom environment variables via run_opts (RAM_SIZE, CPU_CORES, DISK_SIZE)
- Skip Docker memory/CPU limits for QEMU (uses env vars instead)
2025-12-19 14:23:14 +05:30
synacktra.work@gmail.com
7b7c75293f feat(computer): add timeout and run_opts parameters
- Add configurable timeout parameter (default 100s) for interface connection
- Add run_opts parameter for provider-specific options (devices, env vars)
- Include memory/CPU from config in run_opts
- Use configurable timeout instead of hardcoded 30s in wait_for_ready calls"
2025-12-19 14:21:00 +05:30
github-actions[bot]
3e38d17dc1 Bump cua-computer to v0.4.19 2025-12-18 03:58:40 +00:00
Dillon DuPont
23d3a8b3e0 Add api_host kwarg 2025-12-17 22:56:46 -05:00
synacktra.work@gmail.com
efcb370a55 test(helpers): add comprehensive teists for dependency collection
- Test closure variable detection (helpers, constants, imports)
- Test nested dependency resolution and ordering
- Test class definitions and decorator removal
- Test import style preservation
- Test caching mechanism
2025-12-17 01:12:38 +05:30
synacktra.work@gmail.com
e7be69d5cd refactor(computer): update venv_exec to use generate source code utility 2025-12-17 01:09:46 +05:30
synacktra.work@gmail.com
b8a6a42baa feat(helpers): add automatic dependency resolution for @sandboxed decorator
- Implement AST-based dependency analysis with closure support
- Automatically detect and include helper functions, imports, and constants
- Handle nested dependencies recursively
- Add caching with function object as key
2025-12-17 01:07:40 +05:30
github-actions[bot]
e661adca91 Bump cua-computer to v0.4.18 2025-12-09 21:30:13 +00:00
Dillon DuPont
7ee7ecd3b3 Run uv run pre-commit run --all-files 2025-12-09 13:24:33 -08:00
Dillon DuPont
ed9a0159ec Merge branch 'main' into feat/cua-bench-submodules 2025-12-09 15:25:46 -05:00
Dillon DuPont
378ce68c5b Merge branch 'main' into feat/cua-bench-submodules 2025-12-09 15:22:15 -05:00
Dillon DuPont
8f297eac3c Migrate browser interface into computer SDK 2025-12-03 09:00:20 -08:00
Dillon DuPont
ddfb53e79f Migrate browser interface into computer SDK 2025-12-03 08:17:52 -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
Adam
3e2798f835 Python Compatibility (3.14) Note 2025-12-01 13:00:40 -05:00
github-actions[bot]
d4a791c5d1 Bump cua-computer to v0.4.17 2025-11-19 18:56:05 +00:00
github-actions[bot]
dcff4a9c53 Bump cua-computer to v0.4.16 2025-11-19 18:52:53 +00:00
github-actions[bot]
4c557cc252 Bump cua-computer to v0.4.15 2025-11-19 18:44:00 +00:00
github-actions[bot]
00298f23ab Bump cua-computer to v0.4.14 2025-11-19 18:39:25 +00:00
github-actions[bot]
edca61f79c Bump cua-computer to v0.4.13 2025-11-19 18:38:53 +00: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
Adam
e98f71dc57 fix: correct computer typing helper in docs
Replace the outdated `interface.type()` calls in the Python docs with
`interface.type_text()` to match the current Computer SDK API.
2025-11-15 00:59:16 -05:00
Dillon DuPont
a397b5e4b1 pass api_port to docker provider 2025-11-13 09:47:33 -05:00
Dillon DuPont
1bc5a042ad improve timeout message 2025-11-12 22:34:12 -05:00
Dillon DuPont
441937c3b7 renamed port to provider_port, added api_port and noVNC_port parameters 2025-11-12 22:31:45 -05:00
github-actions[bot]
e7bb78d7dd Bump cua-computer to v0.4.12 2025-11-11 22:25:19 +00:00
Dillon DuPont
ff957a7d04 run uv run pre-commit run --all-files 2025-11-11 17:18:18 -05:00
Dillon DuPont
679eafe7c7 update computer SDK and computer-server SDK to support the new .sandbox.cua.ai domain 2025-11-11 12:44:24 -05:00
Dillon DuPont
5f58ede106 fix python rpc with multiline input args 2025-11-01 20:50:58 -04:00
Sarina Li
7c727339a2 fix backlinks for seo 2025-10-31 16:18:21 -04:00
James Murdza
097f6f92af Format #423 with uv run pre-commit run --all-files 2025-10-31 10:14:18 -07:00
Jagjeevan Kashid
c3d2ff530c Merge branch 'main' into jagjeevan/299 2025-10-30 14:36:40 +05:30
Aditya Bavadekar
c2a695d466 fix: sanitize shell input
- Replaced unsafe string concatenation with `shlex.join()` for POSIX systems, `mslex.join()` for Windows systems.
- Add utility function `safe_join`.
- Modified `pyproject.toml` to include `mslex` dependency for Windows environments.
2025-10-30 08:43:19 +05:30
github-actions[bot]
451ece2457 Bump cua-computer to v0.4.11 2025-10-29 20:26:12 +00:00
ddupont
91f43b9e32 Change bump version from 0.4.7 to 0.4.10 2025-10-29 16:25:44 -04:00
Dillon DuPont
f0da8a129e Merge branch 'main' into feat/add-desktop-commands 2025-10-29 16:15:54 -04:00
Dillon DuPont
2c372e6846 Include alias in base.py 2025-10-29 15:59:21 -04:00
Dillon DuPont
3b04e23721 Add window management to base.py 2025-10-29 15:57:41 -04:00
James Murdza
e3ab4fe7b0 Format tests with uv run pre-commit run --all-files 2025-10-28 17:03:26 -07:00