[Bug]: Windows Desktop auto-update advances the GUI to 2.100.5 but leaves the npm-installed CLI and managed runtime on 2.100.3
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bun, node.js, typescript
Direzione di ricerca
Start by reading the Windows service wrapper generated by ocx service install; the report says it launches the npm package path, while the Desktop updater installs a separate MSI. Trace the updater and service installation entry points to see how their runtime versions are selected. Done means the normal update path keeps the supervised CLI and Desktop runtime aligned, or clearly reports and guides the user through a version mismatch.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Client or integration
OpenCodex dashboard
Area
Installation or packaging
Summary
On Windows, the Desktop in-app updater installed 2.100.4 and then 2.100.5, but the npm-installed CLI (@bitkyc08/opencodex) and the managed background service that actually serves the dashboard stayed on 2.100.3.
After the update the two halves disagree:
opencodex-desktop.exeand the bundledocx.exereport 2.100.5opencodex --versionreports 2.100.3GET /healthzon the running proxy reports"version":"2.100.3"
So the GUI runs ahead of the runtime it drives. The desktop UI showed anomalies right after the update (user-observed incorrect interface behaviour) and only behaved again once both sides were the same version.
Expected: a Desktop update also updates the npm-installed CLI/runtime it supervises, or the Desktop explicitly refuses to attach to a runtime on a different version and tells the user what to run. A GUI/runtime version skew should not be reachable through the normal update path.
Reproduction
-
Windows, install Desktop 2.100.3 from the official MSI and install the background service (
ocx service install). The service wrapper%USERPROFILE%\.opencodex\opencodex-service.cmdlaunches the npm package runtime:OCX_BUN=%APPDATA%\npm\node_modules\@bitkyc08\opencodex\node_modules\bun\bin\bun.exeOCX_CLI=%APPDATA%\npm\node_modules\@bitkyc08\opencodex\src\cli\index.ts
-
Let the Desktop updater install subsequent releases. Registry evidence of the updater being the installer:
DisplayName : OpenCodex DisplayVersion : 2.100.5 InstallDate : 20261119 InstallSource : C:\Users\<user>\AppData\Local\Temp\OpenCodex-2.100.5-updater-AJPDJi\%TEMP%\OpenCodex-2.100.4-updater-*and%TEMP%\OpenCodex-2.100.5-updater-*both contain only the downloaded MSI. -
Compare the four version surfaces:
> (Get-Item "E:\APP\opencodex\opencodex-desktop.exe").VersionInfo.FileVersion 2.100.5 > ocx --version # bundled next to the Desktop exe opencodex 2.100.5 > opencodex --version # npm global opencodex 2.100.3 > curl http://127.0.0.1:10100/healthz {"status":"ok","service":"opencodex","version":"2.100.3", ...} -
opencodex statusstill reports the runtime as the npm package:Proxy: running (PID ...) Runtime: C:\Users\<user>\AppData\Roaming\npm\node_modules\@bitkyc08\opencodex\node_modules\bun\bin\bun.exe Runtime source: bundledand
%USERPROFILE%\.opencodex\version.jsonsays{"latest_version":"2.100.5"}while the CLI serving it is 2.100.3.
Workaround that restored a consistent state (all four surfaces at 2.100.5):
Stop-ScheduledTask -TaskName "opencodex-proxy"
# stop the Desktop and the bun runtime
npm install -g @bitkyc08/opencodex@latest
Start-ScheduledTask -TaskName "opencodex-proxy"
# relaunch the Desktop
Version
Desktop 2.100.5 (auto-updated from 2.100.3 via 2.100.4); npm @bitkyc08/opencodex CLI left at 2.100.3
Operating system
Windows 11 Pro, build 26200, x64
Logs or error output
[2026/11/19 11:41:18.45] opencodex service wrapper start
bun="C:\Users\<user>\AppData\Roaming\npm\node_modules\@bitkyc08\opencodex\node_modules\bun\bin\bun.exe"
bun_source="bundled"
cli="C:\Users\<user>\AppData\Roaming\npm\node_modules\@bitkyc08\opencodex\src\cli\index.ts"
The wrapper generated by ocx service install hardcodes the npm package path, so a Desktop-only MSI update cannot move the service onto the new runtime.
Screenshots and supporting files
None.
Redacted configuration
Not configuration-dependent; no providers or credentials are relevant to this report.
Checks
- I searched existing issues and documentation. Related but different: #8246 covers an MSI leaving the previous runtime serving; here the MSI did update its own bundle, and the npm-installed package was never updated at all.
- I removed secrets, tokens, account details, request credentials, and personal data.
- Lingua principale
- TypeScript
- Stelle
- 16.9k
- Fork
- 1.3k
- Merge medio
- 1g 4h
- PR unite (30g)
- 814
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lidge-jun/opencodex
-
bug gui platform
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
lidge-jun/opencodex#9172 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log lineForse già presa @EnesKartal l’ha presa 4 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
lidge-jun/opencodex#9057 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersForse già presa @sedoll l’ha presa 6 giorni fa. Apertacatalog provider provider-compatibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
lidge-jun/opencodex#9037 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug cli
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
lidge-jun/opencodex#9171 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
account-pool enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di lidge-jun/opencodex
Issue simili
-
manually bump balena-preload to ^19.0.6Forse già presa @shaunmulligan l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 66/100
balena-io/balena-cli#3200 ·
I maintainer di solito rispondono entro 1 giorno
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMForse già presa @olegius88 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melgarafael/DeskcommCRM#5340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
I maintainer di solito rispondono entro 1 giorno