mirror of
https://github.com/trycua/computer.git
synced 2026-01-02 03:20:22 -06:00
This PR addresses two issues: 1. **Fix version detection in pypi-publish-computer workflow** - Updated to match the pattern from PR #598 for pypi-publish-agent - Check inputs.version first (works for workflow_call regardless of event_name) - Add debug output to help troubleshoot version detection issues - Proper handling of all three trigger types: workflow_call, workflow_dispatch, push 2. **Publish both packages when bumping cua-computer** - When bumping cua-computer, we bump both cua-computer and cua-agent versions (since cua-agent depends on cua-computer: "cua-computer>=0.4.0,<0.5.0") - Updated publish-agent job to trigger for both 'cua-agent' and 'cua-computer' services - This ensures version consistency between the two packages **Behavior:** - When bumping `cua-agent`: publishes cua-agent only - When bumping `cua-computer`: publishes BOTH cua-computer AND cua-agent This maintains version consistency and ensures users can install the latest versions of both packages together without dependency conflicts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>