diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffc49fcf6..a06c1a43f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -282,6 +282,23 @@ jobs: --generate-notes \ release-artifacts/* + # --------------------------------------------------------------------------- + # Update Homebrew formula in the tap repo + # --------------------------------------------------------------------------- + update-homebrew: + name: Update Homebrew Formula + needs: assemble + runs-on: ubuntu-latest + steps: + - name: Dispatch to homebrew tap + env: + GH_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_PAT }} + run: | + VERSION="${GITHUB_REF_NAME#v}" + gh api repos/superradcompany/homebrew-microsandbox/dispatches \ + -f event_type=update-formula \ + -f "client_payload[version]=$VERSION" + # --------------------------------------------------------------------------- # Publish Node SDK to npm # --------------------------------------------------------------------------- diff --git a/README.md b/README.md index 50698bb61..d0d1b8562 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,13 @@ Today, AI agents operate with whatever permissions you give them, and that's usu The SDK works on its own without the CLI. The `msb` CLI is a separate tool for managing sandboxes, images, and volumes from the terminal, and for giving AI agents direct access to microsandbox: +> **macOS**: +> ```sh +> brew tap superradcompany/microsandbox +> brew install microsandbox +> ``` + +> **macOS / Linux**: > ```sh > curl -fsSL https://install.microsandbox.dev | sh > ```