GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — winget: CLI (Anomaly.OpenCode) manifest stale at 2.2.7 while current release is 2.3.2; opencode upgrade skips on winget installs · Issue #64714 · anomalyco/opencode

winget: CLI (Anomaly.OpenCode) manifest stale at 2.2.7 while current release is 2.3.2; opencode upgrade skips on winget installs #64714

New issue
Copy link
New issue
Copy link
Closed
Closed
winget: CLI (Anomaly.OpenCode) manifest stale at 2.2.7 while current release is 2.3.2; opencode upgrade skips on winget installs#64714
Copy link
Labels
area/install-upgradeInstalling and upgradingplatform/windowsWindowsreproducedtype/bugSomething is brokenversion/v2OpenCode 2.x

Description

@esiemiat
esiemiat
opened on Nov 18, 2026
Issue body actions

Summary

The OpenCode CLI installed via winget (Anomaly.OpenCode) is stuck at 2.2.7. The current released version is 2.3.2, published on GitHub on 2026-11-18 with both CLI and desktop assets. When I run opencode upgrade, it detects winget as the install method and skips the update because winget still reports 2.2.7 as the newest. As a result, winget-based installs cannot reach the current release.

Environment

  • opencode version: 2.2.7 (opencode --version → opencode v2.2.7)
  • OS: Windows 11, Windows_NT 10.0.26100 (win32 x64)
  • Terminal: Windows Terminal (PowerShell)
  • Install/channel: winget, latest
  • Active plugins: None found in config

Reproduction

  1. Install OpenCode CLI via winget install Anomaly.OpenCode.
  2. Run opencode --version → opencode v2.2.7.
  3. Run opencode upgrade.

Expected Behavior

opencode upgrade (or winget upgrade) brings the CLI to the current version, 2.3.2.

Actual Behavior

opencode upgrade prints:

Using method: winget
OpenCode upgrade skipped: 2.2.7 is already installed

No upgrade is performed. Because opencode upgrade defers entirely to winget, it never falls back to a direct download even though a newer release is published on GitHub.

Additional Context

Latest versions per source (verified 2026-11-18):

Source Latest version
GitHub releases (anomalyco/opencode, /releases) v2.3.2 (published 2026-11-18; contains both CLI and desktop assets)
Newest CLI version available on winget (Anomaly.OpenCode) 2.2.7 (newest manifest ever published)
Newest desktop version available on winget (Anomaly.OpenCode.Desktop) 2.3.0
Desktop version installed locally 2.3.2

winget search anomaly output:

Name        Id                        Version  Source
------------------------------------------------------
OpenCode CLI Anomaly.OpenCode          2.2.7    winget
OpenCode     Anomaly.OpenCode.Desktop 2.3.0    winget

Observations:

  • Desktop and CLI ship together in a single GitHub release (v2.3.2 contains opencode-desktop-* and opencode-* CLI assets), and the CLI has historically tracked the desktop version.
  • Both winget manifests lag the current release: CLI missing everything after 2.2.7, desktop missing 2.3.1 and 2.3.2. My local desktop is on 2.3.2, apparently via its own updater rather than winget.
  • The core defect for CLI users: opencode upgrade trusts winget as the source of truth for "latest", so when the winget CLI manifest stops being updated, the CLI has no upgrade path at all.
  • Consistently reproducible with every opencode upgrade run.
  • Workaround: manual install from the GitHub release. No in-place workaround keeps the winget install current.

Questions:

  1. Is the winget CLI publishing job (Anomaly.OpenCode) still running? It appears to have stopped at 2.2.7.
  2. Should opencode upgrade verify the latest published release (e.g., via GitHub) before deciding the winget version is current, or fall back to a direct binary download when winget reports nothing newer?

Activity

  1. opencodejr
    added
    area/install-upgradeInstalling and upgrading
    platform/windowsWindows
    type/bugSomething is broken
    version/v2OpenCode 2.x
    on Nov 18, 2026
  2. opencodejr commented on Nov 18, 2026

    @opencodejr
    opencodejrBot
    on Nov 18, 2026
    Contributor
    More actions

    Thanks for the detailed report. I confirmed the stale WinGet package:

    • GitHub has the stable releases v2.3.0, v2.3.1 and v2.3.2.
    • microsoft/winget-pkgs has Anomaly.OpenCode (CLI) manifests only up to 2.2.7, and Anomaly.OpenCode.Desktop only 2.0.29 and 2.3.0.
    • There are no open winget-pkgs pull requests for newer versions.

    On the latest dev (a40c6d7f), the release workflow still only builds the WinGet manifests and does not submit them to winget-pkgs. Its comment says submission is paused until the packages are accepted. The open PR #62414 would turn submission back on (it was paused in #56262). #63724 was the same problem for the Desktop package.

    The script below checks the published versions. I couldn't run winget or opencode upgrade here because they need Windows. From the code, opencode upgrade on a WinGet install uses winget search Anomaly.OpenCode as its only source for the latest version, so it will keep skipping until a newer manifest is published. That part is intentional, so a fallback to the GitHub release would be a separate feature request. Until the package is updated, installing manually from the GitHub release works, as you noted.

    Reproduction script (check-winget.sh)
    #!/usr/bin/env bash
    # Compares OpenCode's latest GitHub release with the versions published in
    # microsoft/winget-pkgs for Anomaly.OpenCode (CLI) and Anomaly.OpenCode.Desktop.
    set -euo pipefail
    echo "== latest stable tags in anomalyco/opencode"
    curl -s "https://api.github.com/repos/anomalyco/opencode/releases?per_page=10" \
      | python3 -c 'import json,sys; [print(r["tag_name"], r["published_at"], "prerelease" if r["prerelease"] else "") for r in json.load(sys.stdin) if r["tag_name"].startswith("v2.")]'
    for p in Anomaly/OpenCode Anomaly/OpenCode/Desktop; do
      echo "== winget-pkgs manifests/a/$p"
      curl -s "https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/a/$p" \
        | python3 -c 'import json,sys; print(" ".join(e["name"] for e in json.load(sys.stdin) if e["type"]=="dir"))'
    done
    echo "== open winget-pkgs PRs for Anomaly.OpenCode"
    curl -s "https://api.github.com/search/issues?q=repo:microsoft/winget-pkgs+is:pr+is:open+Anomaly.OpenCode&per_page=50" \
      | python3 -c '
    import json,sys
    for i in json.load(sys.stdin)["items"]:
        print(i["number"], i["user"]["login"], i["title"])'

    Run it: bash check-winget.sh

  3. opencodejr
    added
    reproduced
    on Nov 18, 2026
  4. esiemiat commented on Nov 18, 2026

    @esiemiat
    esiemiat
    on Nov 18, 2026
    Author
    More actions

    Yes — the packages were accepted. Per #62414, Anomaly.OpenCode and Anomaly.OpenCode.Desktop 2.0.29 were merged into winget-pkgs (microsoft/winget-pkgs#452561, microsoft/winget-pkgs#452562), and both have been served by winget ever since (CLI currently at 2.2.7, Desktop at 2.3.0 there).

    So the pause condition from #56262 ("until the packages are accepted") has been satisfied since those merges, and #62414 has been open since Nov 6. Once it ships, the next stable release's manifest will make the upgrade visible to winget. If the gap matters before then, a one-off manifest submission for 2.3.2 would close it sooner.

  5. neriousy
    closed this as completedon Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/install-upgradeInstalling and upgradingplatform/windowsWindowsreproducedtype/bugSomething is brokenversion/v2OpenCode 2.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.