[Bug]: Windows "Connect to GitHub" credential dialogs on every run (bundled OpenCode stamped 0.0.0-<branch> pins a GitHub shortcut)

Author: jmax91505-ctrlCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbug

Environment

Windows 11 Pro. Open Design launcher 0.13.0 installed 2026-07-02, payload 0.24.1 downloaded 2026-09-24. Git for Windows with Git Credential Manager 2.7.3.

Symptom

Several Windows "Connect to GitHub" credential windows per run, dozens per day, with no repository involved that needs credentials.

Cause

The OpenCode runtime shipped in the launcher (resources/open-design/bin/libexec/opencode/opencode.exe, built 2026-07-01) is stamped with the version 0.0.0-codex/amr-image-runtime-fixes-202606290828 (visible in the binary as var zX="..." and in its user agent). OpenCode pins @opencode-ai/plugin@<that version> at every server start unless its build channel is local. npm's spec parser reads the slash form as a GitHub owner/repo shortcut, so arborist runs:

bash
git ls-remote https://github.com/0.0.0-codex/amr-image-runtime-fixes-202606290828.git

That repository does not exist; GitHub answers with an authentication challenge; Git Credential Manager opens the dialog. Process chain observed live: Open Design.exe > vela.exe > opencode.exe > git ls-remote ... > git-credential-manager get. Two config directories per server start gave two dialogs at once. Upstream OpenCode report with the parser proof and a two-line guard: https://github.com/anomalyco/opencode/issues/51943

State in 0.24.1

The bundled OpenCode is now stamped 0.0.0--202609221536 (no slash), which npm parses as a plain version, so the dialog cannot recur. But the pin still targets a version that does not exist on npm, so every server start pays a failed background install ("background dependency install failed" in the OpenCode log).

Asks

  1. Build the bundled OpenCode with OPENCODE_CHANNEL=local (then it installs the latest SDK instead of a pinned nonexistent version) or stamp a real semver.
  2. Consider the guard proposed upstream (link above), since any downstream stamp with a slash reproduces the credential prompt.
  3. For other Windows users hitting this on an older install: the user environment variable GCM_INTERACTIVE=never stops the dialogs immediately, and relaunching the app activates the newer runtime (the launcher downloads updates in the background but only activates them on relaunch; ours sat two days behind while the app stayed open).