Commit Graph

92 Commits

Author SHA1 Message Date
Adam
2ba64f018d Fix/agent loop test (#532)
* Fix agent test condition trigger
2025-10-29 13:07:16 -07:00
Adam
22764102c7 allowing PR agent test 2025-10-29 12:22:01 -07:00
Adam
6228a86155 switch agent loop testing from pip to uv 2025-10-29 12:22:01 -07:00
Adam
a0fdc8a194 Fix agent test condition trigger 2025-10-29 12:22:01 -07:00
Adam
ce100d40bb Update Agent Loop Test (#530)
* Change API key setup location

* Formatting fix
2025-10-29 11:03:14 -07:00
Adam
b5e71efcc9 Feature/agent loop test (#528)
* draft init

* add mock computer

* Correct format

* correct format

* Create test-cua-models.yml

* Update test-cua-models.yml

* format change

* Simplified test

* remove image

* isort fix

* format cleanup
2025-10-28 17:34:41 -07:00
James Murdza
e3ab4fe7b0 Format tests with uv run pre-commit run --all-files 2025-10-28 17:03:26 -07:00
James Murdza
3ee5206baf Merge pull request #491 from AceAtDev/CI/CDtests
Add test infrastructure with CI/CD #478
2025-10-28 17:00:05 -07:00
James Murdza
635480f3b7 Remove PyLume code and examples
# Conflicts:
#	examples/pylume_examples.py
#	libs/python/mcp-server/scripts/start_mcp_server.sh
#	libs/python/pylume/README.md
#	libs/python/pylume/__init__.py
#	libs/python/pylume/pylume/__init__.py
#	libs/python/pylume/pylume/client.py
#	libs/python/pylume/pylume/exceptions.py
#	libs/python/pylume/pylume/models.py
#	libs/python/pylume/pylume/pylume.py
#	libs/python/pylume/pylume/server.py
#	libs/python/pylume/pyproject.toml
#	pdm.lock
#	pyproject.toml
#	scripts/build-uv.sh
#	scripts/build.ps1
#	scripts/build.sh
2025-10-28 16:52:23 -07:00
Claude
b36794a9a8 consolidated 2025-10-25 04:07:11 +08:00
Claude
b1e3f41c3f consolidated 2025-10-25 04:01:00 +08:00
Claude
b86c6327a2 rm extra files 2025-10-25 03:57:36 +08:00
Claude
e3caf926da consolidate actions 2025-10-25 03:55:42 +08:00
Claude
f11db63d3c Fix code formatting with prettier
Applied prettier formatting to workflow files and documentation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 02:12:05 +08:00
Claude
80574337db feat: add bump version workflow for cua-mcp-server 2025-10-25 01:52:52 +08:00
Claude
e2fce039c3 feat: add bump version workflow for cua-computer-server 2025-10-25 01:52:43 +08:00
Claude
d031fb1819 feat: add bump version workflow for pylume 2025-10-25 01:52:35 +08:00
Claude
f35e2697d0 feat: add bump version workflow for cua-som 2025-10-25 01:52:26 +08:00
Claude
ba39c3a3e7 feat: add bump version workflow for cua-agent 2025-10-25 01:52:17 +08:00
Claude
16daa104d5 feat: add bump version workflow for cua-computer 2025-10-25 01:52:09 +08:00
Claude
50493a80b1 feat: add bump version workflow for cua-core 2025-10-25 01:43:18 +08:00
Claude
8aca13ff95 feat: add reusable bump version workflow 2025-10-25 01:40:59 +08:00
Aditya Bavadekar
21107cc5dc chore: Update Python version in lint workflow to 3.12 2025-10-23 02:46:24 +05:30
James Murdza
730619c231 Run prettier via pnpm in CI 2025-10-22 12:04:07 -07:00
James Murdza
6d5b36181b Install dependencies in TypeScript workspace in CI 2025-10-22 12:01:08 -07:00
James Murdza
ddc5a5de91 Format codebase with uv run pre-commit run --all-files 2025-10-22 11:35:31 -07:00
James Murdza
759ff4703e Add pnpm setup and Node dependency installation to lint workflow 2025-10-22 11:35:30 -07:00
Aditya Bavadekar
b3a65c373e chore: disable MyPy, add target version py312, update documentation 2025-10-22 11:10:21 -07:00
Aditya Bavadekar
51ee79a9d2 chore: set up pre-commit hooks and CI/CD workflow
- Add a new GitHub Actions workflow (`lint.yml`)
- Update `CONTRIBUTING.md` and `Development.md` to reflect the new linting setup and guide contributors.
- Include a TypeScript type checking script (`typescript-typecheck.js`)
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
Elshoubky M
451c9c2c01 Add test infrastructure with CI/CD
- Add separate test directories for all 7 packages (core, agent, computer, computer-server, mcp-server, pylume, som)
- Create 30+ unit tests with mocks for external dependencies (liteLLM, PostHog, Computer)
- Add conftest.py fixtures for each package to enable isolated testing
- Implement GitHub Actions CI workflow with matrix strategy to test each package independently
- Add TESTING.md with comprehensive testing guide and architecture documentation
- Follow SOLID principles: SRP, Vertical Slice Architecture, and Testability as Design Signal

Note:
- No API keys required for unit tests
2025-10-21 18:58:40 -04:00
f-trycua
ea5c4a1cdc Add xfce gh action, simplify folder name 2025-10-12 14:35:20 -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
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
e00376b601 Create FUNDING.yml 2025-09-26 06:08:59 +02:00
Morgan Dean
aa691c5fa4 Re-enable version-based publishing to npm 2025-07-02 13:40:09 -07:00
Morgan Dean
645171e7ab [Typescript] Temporarily force publish for all pushes until bugs are fixed. 2025-07-02 13:34:54 -07:00
Morgan Dean
c119ded3be Add pnpm to workflow for typescript libs 2025-07-02 12:53:29 -07:00
Morgan Dean
a4a662253d Remove static-checking from workflows 2025-07-02 12:45:07 -07:00
Morgan Dean
b84f037134 Update npm packages to publish if version changes 2025-07-02 12:22:52 -07:00
Morgan Dean
0c777e0582 Fix action issues with typescript libs, warnings on core lib 2025-07-02 11:42:32 -07:00
Morgan Dean
1d5a2a7a2d Enable provenance 2025-06-30 11:03:18 -07:00
Morgan Dean
b0666df203 Rename @cua/ to @trycua/, move ts example to ./examples, rename workflows for better organization 2025-06-30 10:14:52 -07:00
Morgan Dean
4625b65bab Create (untested) npm deploy workflows 2025-06-25 16:19:25 -07:00
Morgan Dean
83499550e3 Move non-python libs to respective directories. Update workflows to use updated directories 2025-06-25 16:10:08 -07:00
Morgan Dean
d37728af8d Update deploy script for computer for new python directory 2025-06-20 12:38:48 -07:00
f-trycua
8ccee43460 Fix certificate verification to handle GitHub secret masking 2025-06-16 17:45:33 -07:00
f-trycua
dad7d4c303 Fix package build error handling and certificate verification
- Add proper error checking for pkgbuild command
- Verify package exists before attempting notarization
- Improve certificate verification in GitHub workflow
- Show actual certificate details instead of just count
- Add specific checks for required Developer ID certificates

This should fix the 'file doesn't exist' error during notarization.
2025-06-16 17:19:46 -07:00
Dillon DuPont
b9d3fdabd7 Revert computer-server to py310 2025-05-28 08:56:08 -04:00
Dillon DuPont
ba68e85ba9 bump agent (#143), computer-server, computer, mcp-server python version to 3.11 2025-05-28 08:47:33 -04:00