Skip to content

Conversation

@connorads
Copy link
Contributor

@connorads connorads commented Dec 15, 2025

Add OpenCode Desktop https://opencode.ai/download

👋 Please feel free to edit this if you want, also happy to update it given any feedback

Token discussion

I'm happy with whatever, doesn't seem to be an obvious good option

  • opencode is already a homebrew/core formula for the terminal version, so the cask cannot use opencode without a conflict, maybe we can have an exception?
  • opencode-desktop violates the brew audit cask token mentions desktop, maybe we can have an exception?
  • opencode-app maybe we could go with this?

Beta discussion

The desktop software is in public beta but is released alongside the stable versions of OpenCode Terminal.
Perhaps we should put @beta I don't really mind.

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • Checked the cask was not already refused.
  • brew audit --cask --new opencode-desktop worked successfully.
  • HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask opencode-desktop worked successfully.
  • brew uninstall --cask opencode-desktop worked successfully.

Command logs

brew style --fix opencode-desktop
1 file inspected, no offenses detected
brew audit --cask --online opencode-desktop
==> Downloading and extracting artifacts
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.158/opencode-desktop-darwin-aarch64.dmg
Already downloaded: /Users/connorads/Library/Caches/Homebrew/downloads/8f99415af7c6c26f0a32b7c2d630b879373ab06a1603485f8e41cc3eef8278f9--opencode-desktop-darwin-aarch64.dmg
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.158/opencode-desktop-darwin-aarch64.dmg
Already downloaded: /Users/connorads/Library/Caches/Homebrew/downloads/8f99415af7c6c26f0a32b7c2d630b879373ab06a1603485f8e41cc3eef8278f9--opencode-desktop-darwin-aarch64.dmg
brew audit --cask --new --online opencode-desktop (fails)
==> Downloading and extracting artifacts
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.158/opencode-desktop-darwin-aarch64.dmg
Already downloaded: /Users/connorads/Library/Caches/Homebrew/downloads/8f99415af7c6c26f0a32b7c2d630b879373ab06a1603485f8e41cc3eef8278f9--opencode-desktop-darwin-aarch64.dmg
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.158/opencode-desktop-darwin-aarch64.dmg
Already downloaded: /Users/connorads/Library/Caches/Homebrew/downloads/8f99415af7c6c26f0a32b7c2d630b879373ab06a1603485f8e41cc3eef8278f9--opencode-desktop-darwin-aarch64.dmg
Error: 1 problem in 1 cask detected.
audit for opencode-desktop: failed
 - cask token mentions desktop
opencode-desktop
  * cask token mentions desktop
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask opencode-desktop
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.158/opencode-desktop-darwin-aarch64.dmg
Already downloaded: /Users/connorads/Library/Caches/Homebrew/downloads/8f99415af7c6c26f0a32b7c2d630b879373ab06a1603485f8e41cc3eef8278f9--opencode-desktop-darwin-aarch64.dmg
==> Installing Cask opencode-desktop
==> Moving App 'OpenCode.app' to '/Applications/OpenCode.app'
🍺  opencode-desktop was successfully installed!
brew uninstall --cask opencode-desktop
==> Uninstalling Cask opencode-desktop
==> Backing App 'OpenCode.app' up to '/opt/homebrew/Caskroom/opencode-desktop/1.0.158/OpenCode.app'
==> Removing App '/Applications/OpenCode.app'
==> Purging files for version 1.0.158 of Cask opencode-desktop

@chenrui333 chenrui333 changed the title Add OpenCode desktop opencode-desktop 1.0.158 Dec 15, 2025
@chenrui333 chenrui333 changed the title opencode-desktop 1.0.158 opencode-desktop 1.0.158 (new cask) Dec 15, 2025
@connorads connorads changed the title opencode-desktop 1.0.158 (new cask) Add opencode-desktop cask Dec 15, 2025
@connorads connorads changed the title Add opencode-desktop cask Add OpenCode Desktop Dec 15, 2025
@chenrui333
Copy link
Member

image what the heck?

@connorads connorads marked this pull request as ready for review December 15, 2025 22:19
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@krehel krehel changed the title Add OpenCode Desktop opencode-desktop 1.0.158 Dec 15, 2025
@krehel krehel added the ci-skip-token Skip `token_*` audit. Use only for valid exceptions. label Dec 15, 2025
@krehel krehel added this pull request to the merge queue Dec 16, 2025
Merged via the queue into Homebrew:main with commit a3a3719 Dec 16, 2025
17 of 24 checks passed
@connorads connorads deleted the opencode branch December 16, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-skip-token Skip `token_*` audit. Use only for valid exceptions. new cask

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants