Distribute Open Computer Use through Homebrew
Open Computer Use can only be installed with npm i -g open-computer-use. On macOS the npm package wraps the prebuilt Open Computer Use.app, so Node and npm are needed just to fetch and launch a native app, and the app is updated separately from the rest of a Homebrew-managed system.
Open Browser Use already ships through the official iFurySt/homebrew-open-browser-use tap, and its release workflow renders the formula for each release. Could Open Computer Use get the same treatment?
A possible shape:
- A cask in a tap such as
iFurySt/homebrew-open-computer-use, built from the existingOpen-Computer-Use-<version>-macOS-universal.app.ziprelease asset, that installs the app and exposes the CLI throughbinary, as bothopen-computer-useandocu. - A formula for the existing Linux CLI tarballs, if Linux support is wanted.
- The release workflow updates the version and
sha256automatically, as it already does for Open Browser Use.
The app alone does not provide the full CLI. capabilities, config, js, repl and the install-* commands live only in the npm package's Node wrapper (scripts/node-repl/ and scripts/install-*.sh), and the app's own executable answers Unknown command to them. To keep the same command set in every distribution, either the Homebrew package should include the wrapper scripts and depend on node, or these commands could move into the native CLI.
One more detail to check: the macOS Accessibility and Screen Recording permissions are tied to the app's location and signature. The README should say whether moving from the npm install to the cask requires granting them again.