GeezerVison is showing github.com — [FEATURE]: Post release binaries to GitHub · Issue #58105 · anomalyco/opencode
[FEATURE]: Post release binaries to GitHub #58105DescriptionFeature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I have processes to check for updates in place for my tools (my dotfiles basically act as lockfiles for them). All documented install processes either do not validate downloads (#31390 and #42434) or assume tools I do not use (npm, bun, brew, Arch). Also consider #45757 when restoring release entities. Reacted by Frans de Jonge Activityopencode-agent commented on Oct 22, 2026 Thanks for the request! You're asking for OpenCode v2 binaries to be published as GitHub Release assets, with a way to check them after download (checksums and/or attestations). That would let version-pinning setups like yours track OpenCode without npm, bun, brew or a distro package. Maintainers will consider it.
Some context: GitHub Releases currently stop at v1.x, because v1 clients look for updates through GitHub's Latest release. v2 ships through opencode.ai, npm (@opencode/cli) and brew, and each version is tagged here (e.g. v2.1.2). The current v2 install script (opencode.ai/v2/install) downloads the npm tarball for your platform without checking it afterwards, so your point about unverified installs stands.
Related issues and PRs:
opencode-agent commented on Oct 27, 2026 OpenCode 2 builds are now published as GitHub Releases, starting with v2.2.0. Each release has CLI archives for every platform, the desktop installers, and a SHA256SUMS file for verifying downloads.
One caveat for update checkers: 2.x releases aren't marked as "Latest" yet, so releases/latest still returns the newest 1.x release. Some older OpenCode 1 update flows read that endpoint and would break if it pointed at 2.x. We'll start marking 2.x as Latest once that's safe. Until then, look for the newest v2.* tag (for example, via GET /repos/anomalyco/opencode/releases).
Closing this, since the binaries are now published. Thanks for the request! mathstuf commented on Oct 28, 2026 Thanks! I've updated my checker to just look for the first entry in the /releases endpoint which should suffice. If it comes to it, I can iterate until I find the first >2.x version on the first page. I assume there won't be more than a page of 1.x updates without a 2.x update at least :) .
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|