Skip to content

fix(cli): update Scoop opencode2 installations - #52865

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
scoop-update-52822
Open

opencode-agent[bot] wants to merge 1 commit into
v2from
scoop-update-52822

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Detect when the active Windows executable is Scoop's opencode2 installation, without confusing it with V1's opencode package or a superseded Scoop version.
  • Read the version published by Scoop's Versions bucket; run scoop update opencode2 and verify the installed manifest before reporting success. Keep the running CLI and background-service image replaceable on Windows.
  • Use scoop uninstall opencode2 for Scoop-owned installations.

Fixes #52822.

Verification

  • bun typecheck in packages/cli
  • bun test test/updater-install.test.ts test/retained-image.test.ts test/upgrade.test.ts (45 pass; 10 Windows-only tests skipped on Linux)
  • Prettier and git diff --check
  • Windows hardware validation remains outstanding: the shared windows-dev SSH host timed out during this work. The PR includes a Windows-only retention test for CI/review.
  • Repository-wide bun run check could not complete on this Host: its lint plugin needs newer Node than the installed v18, and the unrestricted parallel root typecheck exceeded the Host process limit. Scoped CLI checks passed.

Requested by: @rekram1-node (Aiden via Slack)

This branch has not been deployed

No deployments
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.

1 participant