Skip to content

Conversation

@scillidan
Copy link
Contributor

@scillidan scillidan commented Jan 13, 2026

This is Desktop version includes bin file opencode-cli.exe.

The CLI version will be in Main bucket.

image
  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Summary by CodeRabbit

  • New Features
    • Added a Windows 64-bit package manifest for OpenCode Desktop, enabling automated updates, version checks, and Start Menu shortcut integration.
  • Chores
    • Pre-install cleanup of legacy plugin data to ensure clean upgrades.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 13, 2026

Walkthrough

Adds a new Scoop-style Windows 64-bit package manifest for OpenCode Desktop, defining metadata, download URL and hash, a pre-install PowerShell cleanup, binary and Start Menu shortcut mappings, GitHub checkver, and an autoupdate URL template.

Changes

Cohort / File(s) Summary
Package Manifest
bucket/opencode-desktop.json
Added new Scoop manifest: metadata (name, description, homepage, license), architecture 64-bit entry with url and hash, pre_install PowerShell command to remove plugin dir, bin mapping (opencode-cli.exeopencode), Start Menu shortcut mapping (OpenCode.exeOpenCode), checkver via GitHub, and autoupdate URL template.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped a manifest into the night,
Packed checksums snug and shortcuts bright,
A PowerShell sweep to clear the way,
Versioned links to fetch and play,
OpenCode leaps—ready for flight! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding a new Windows manifest for OpenCode Desktop version 1.1.25.
Description check ✅ Passed The description explains the purpose of the change and confirms compliance with the PR template checklist requirements, though it lacks explicit issue/PR references.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

Invalid manifests

  • opencode-desktop

Check the full log for details.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In @bucket/opencode-desktop.json:
- Around line 9-10: Remove the trailing comma after the "hash" value in the JSON
object (the comma following the hash string) so the file is valid JSON; locate
the "hash" key in the shown object and delete the comma after its value to fix
the "Invalid JSON in manifest" parse error.
- Around line 12-20: The installer/uninstaller scripts use unsupported NSIS
flags and reference a non-existent release; update the "installer" and
"uninstaller" script entries to only use official NSIS options (use "/S" and
"/D=..." for installer and "/S" for uninstaller) by removing "/noredist" and
"/Language=English" from the installer script and any extra args in the
uninstaller script, and then verify the package version referenced in the
manifest matches an actual GitHub release (update the version from v1.1.15 to
the latest existing release, e.g., v1.1.11, or confirm the newer tag exists)
before committing.
🧹 Nitpick comments (1)
bucket/opencode-desktop.json (1)

31-37: Consider adding hash extraction to autoupdate if available.

The autoupdate section doesn't include a hash property, so hash verification will need to be updated manually with each release. If the upstream releases provide checksums (e.g., in a .sha256 file or release notes), consider adding hash extraction for automated updates.

Based on learnings, note that some projects (like CompactGUI) have removed hash verification from autoupdate because upstream doesn't provide consistent hash files. If opencode releases don't include checksums, manual hash updates are acceptable.

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4ab866e and 142c9b3.

📒 Files selected for processing (2)
  • bucket/opencode-desktop.json
  • bucket/opencode.json
💤 Files with no reviewable changes (1)
  • bucket/opencode.json
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-10-19T13:58:23.389Z
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 16378
File: bucket/compactgui.json:20-22
Timestamp: 2025-10-19T13:58:23.389Z
Learning: In the ScoopInstaller/Extras repository, the CompactGUI manifest removed hash verification from the autoupdate block because the hash verification mechanism (scraping SHA-256 from release page HTML) is no longer available in newer CompactGUI releases. GitHub asset digests exist in beta releases but not in v3.8.0, and Scoop doesn't have built-in support for extracting from GitHub API asset digests.

Applied to files:

  • bucket/opencode-desktop.json
📚 Learning: 2025-11-29T22:02:34.868Z
Learnt from: Ra2-IFV
Repo: ScoopInstaller/Extras PR: 16672
File: bucket/chromium-clang.json:12-12
Timestamp: 2025-11-29T22:02:34.868Z
Learning: In the chromium-clang.json manifest (bucket/chromium-clang.json), the extract_dir value "chrome-win32" is a fixed name determined by the upstream Chromium_Clang archive structure and should not be changed, even though the manifest targets 64-bit architecture.

Applied to files:

  • bucket/opencode-desktop.json
🪛 Biome (2.1.2)
bucket/opencode-desktop.json

[error] 10-10: Expected a property but instead found '}'.

Expected a property here.

(parse)

🪛 GitHub Actions: Pull Requests
bucket/opencode-desktop.json

[error] 1-1: Conversion failed. Invalid JSON in manifest.


[error] 1-1: Manifest invalid: opencode-desktop. PR checks will fail until fixed.

🔇 Additional comments (1)
bucket/opencode-desktop.json (1)

21-27: LGTM!

The binary and shortcuts configuration correctly separates the CLI (opencode-cli.exe) from the GUI executable (OpenCode.exe), which aligns with the PR objective.

@scillidan
Copy link
Contributor Author

/verify

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

opencode-desktop

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@z-Fng z-Fng self-assigned this Jan 17, 2026
Copy link
Member

@z-Fng z-Fng left a comment

Choose a reason for hiding this comment

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

  1. Please keep the opencode manifest in both buckets, as we don't have a way to redirect existing users yet. Please also open a separate PR to add a deprecation notice to extras/opencode.
    See:
  2. Extract the installer contents instead of executing it.
image

@scillidan
Copy link
Contributor Author

/verify

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

opencode-desktop

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@bucket/opencode-desktop.json`:
- Around line 20-29: The autoupdate URL is pointing to the wrong repository
(sst/opencode) while checkver uses anomalyco/opencode; update the "autoupdate"
-> "architecture" -> "64bit" -> "url" value to reference the anomalyco/opencode
releases URL (use the same repo as checkver) and keep the asset name
opencode-desktop-windows-x64.exe and the v$version token unchanged so downloads
come from anomalyco/opencode releases instead of the deprecated sst redirect.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@Lutra-Fs Lutra-Fs changed the title opencode-desktop: Move manifest opencode to opencode-desktop opencode-desktop: add verison 1.1.25 Jan 18, 2026
@z-Fng z-Fng changed the title opencode-desktop: add verison 1.1.25 opencode-desktop: Add verison 1.1.25 Jan 18, 2026
@z-Fng z-Fng changed the title opencode-desktop: Add verison 1.1.25 opencode-desktop: Add version 1.1.25 Jan 18, 2026
@z-Fng
Copy link
Member

z-Fng commented Jan 18, 2026

/verify

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

opencode-desktop

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

Copy link
Member

@z-Fng z-Fng left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

The manifest will update automatically as the package updates, as long as the upstream releases new packages that follow the same pattern defined in the manifest. If there are any other changes, feel free to submit a PR.

@z-Fng z-Fng merged commit 98aa900 into ScoopInstaller:master Jan 18, 2026
3 checks passed
@scillidan
Copy link
Contributor Author

Thanks for your review!

@scillidan scillidan deleted the opencode-desktop branch January 18, 2026 11:15
@z-Fng z-Fng removed their assignment Jan 18, 2026
@z-Fng z-Fng linked an issue Jan 18, 2026 that may be closed by this pull request
6 tasks
chawyehsu added a commit to chawyehsu/opencode that referenced this pull request Jan 18, 2026
We have migrated the opencode manifest on Scoop to enable support
for the desktop variant. The migration was made to not be a breaking
change and wouldn't break existing installation but they do have
to perform a manual reinstallation to finalize the transition to
get future updates.

This patch updates the relevant files to reflect the changes.

refs:
- ScoopInstaller/Main#7524
- ScoopInstaller/Extras#16996
- ScoopInstaller/Extras#17040

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: opencode TUI ai code assistant

2 participants