Commit Graph

406 Commits

Author SHA1 Message Date
r33drichards 6fd19404dc version 2025-10-10 17:18:07 -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
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
Dillon DuPont 50d8521e3e added computer.start(), computer.restart() 2025-10-09 13:27:24 -04:00
Dillon DuPont 9595f5affa updated api examples 2025-10-09 13:12:55 -04:00
Dillon DuPont b29f89597f added shared provider vm type 2025-10-09 12:36:43 -04:00
Dillon DuPont 0ede822990 Add /start, /stop, and /restart to cloud provider 2025-10-09 12:01:45 -04:00
Dillon DuPont d0fefd3cd7 add google-genai to pyproject.toml 2025-10-09 11:59:22 -04:00
Dillon DuPont ef28a64b8f Add gemini CUA loop 2025-10-07 17:23:33 -04:00
Dillon DuPont 78901aed48 Add --provider and --prompt-file to the CLI 2025-10-07 11:04:21 -04:00
bowman 1fe41d57f4 update hud in agent pyproject.toml 2025-10-06 20:24:21 -07:00
Adam 3274cfafe7 add concurrent session management and resource isolation
Implement concurrent session management for MCP server with:

- SessionManager with computer instance pooling
- Concurrent task execution support
- New tools: get_session_stats, cleanup_session
- Graceful shutdown and resource cleanup
- Fix nested asyncio event loop issues
- Add comprehensive tests and documentation

Enables multiple concurrent clients with proper resource isolation
while maintaining backward compatibility.
2025-10-06 18:37:10 -04: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 9102cd1490 Merge pull request #439 from trycua/feat/windows-cloud
Support Windows cloud VMs in Computer SDK
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 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 0b3c677205 added moondream3 agent loop 2025-10-02 10:57:06 -04:00
Adam 671845001c update README with corrected MCP config and clarified usage
- Updated the README to clarify how to configure cua-mcp-server for Claude Desktop and other MCP clients.
- Fixed the example development configuration to use an absolute/expanded path rather than `~`, preventing issues with Claude’s sandboxed execution.
- Aligned instructions with the current start_mcp_server.sh behavior, ensuring the correct virtual environment and PYTHONPATH are always set.
- Improved wording for consistency across installation, development, and usage sections.
2025-10-01 11:49:17 -04:00
Adam 37864faef2 Fix MCP server startup and tool schema issues in server.py and start_mcp_server.sh
Changes
- Refactored `server.py`:
  - Delayed server instantiation to avoid double-import issues and RuntimeWarning.
  - Reworked `run_cua_task` and `run_multi_cua_tasks` to yield structured output
    (text + screenshots) in a Pydantic-compatible format.
  - Added helper functions for normalising message content, extracting text,
    and serialising tool outputs.
  - Improved logging and error handling for clearer debugging.

- Updated `start_mcp_server.sh`:
  - Ensures Python path points to repo-local `.venv`.
  - Sets `PYTHONPATH` correctly for all `libs/python/*` packages.
  - Added clear debug output for python binary, repo dir, and PYTHONPATH.

Why
- Fixed `PydanticSchemaGenerationError` when returning `Image` objects from
  tool functions.
- Prevented `FastMCP.__init__()` errors by aligning with supported arguments.
- Removed duplicate module loading at startup that triggered RuntimeWarnings.
- Improved clarity of server startup logs for easier integration with Claude Desktop.

Outcome
The MCP server now starts cleanly, registers all tools, and stays connected
with Claude Desktop without schema errors or double-import issues.
2025-09-30 18:52:04 -04:00
Dillon DuPont c892f4ecea Change anthropic predict_click logic 2025-09-25 15:53:20 -07:00
Adam 65263112cd Stream MCP responses instead of buffering 2025-09-25 16:07:53 -04:00
Dillon DuPont f4be6538ff Hide setup window 2025-09-22 09:29:09 -04:00
Dillon DuPont 70f9f968cb Fixed broken winsandbox_example, added venv to provider setup 2025-09-22 08:59:07 -04:00
Dillon DuPont c51692cd0c Fix image must have : error 2025-09-22 08:40:18 -04:00
Jagjeevan Kashid 6d3eebdee4 feat: added Computer.tracing for Recording Sessions
Signed-off-by: Jagjeevan Kashid <jagjeevandev97@gmail.com>
2025-09-22 16:08:11 +05:30
Jagjeevan Kashid 123f95ae25 fixed issue 344
Signed-off-by: Jagjeevan Kashid <jagjeevandev97@gmail.com>
2025-09-22 15:25:25 +05:30
Dillon DuPont 28f097f987 Merge branch 'main' of https://github.com/trycua/cua 2025-09-19 19:23:16 -04:00
Dillon DuPont 1346feb125 Add postponed annotations to internvl.py 2025-09-19 19:23:13 -04:00
ddupont 3ac566f53a Merge pull request #416 from trycua/feat/auth-ttl
[Agent] Add CUA_AUTH_TTL_SECONDS env, change default from 5s to 60s
2025-09-19 19:22:03 -04:00
Dillon DuPont 26ff9e1105 Add CUA_AUTH_TTL_SECONDS env, change default from 5s to 60s 2025-09-18 12:40:59 -04:00
Dillon DuPont 821bd03e48 remove extra prints 2025-09-18 11:27:50 -04:00
Dillon DuPont 03d7806549 Fixed invalid trajectory names on ollama 2025-09-18 10:52:45 -04:00
Dillon DuPont 6ddddf8f88 fix internVL inference 2025-09-16 12:56:07 -04:00
Dillon DuPont 9147e8eeaf Added "cua-agent[internvl-hf]" dep 2025-09-16 12:02:07 -04:00
Dillon DuPont c5bbd4611a add qwen2_5_vl.py 2025-09-15 16:29:26 -04:00
Dillon DuPont 7a7de5d50f add holo models 2025-09-15 16:10:54 -04:00
Dillon DuPont ca564b2436 Merge branch 'main' into models/opencua 2025-09-15 15:11:15 -04:00