Skip to content

fix(selector): support current Codex desktop bundle - #5

Open
HenkDz wants to merge 9 commits into
Mirochill:mainfrom
HenkDz:agent/current-codex-selector
Open

fix(selector): support current Codex desktop bundle#5
HenkDz wants to merge 9 commits into
Mirochill:mainfrom
HenkDz:agent/current-codex-selector

Conversation

@HenkDz

@HenkDz HenkDz commented Jul 25, 2026

Copy link
Copy Markdown

User-visible outcome

  • Restores the complete native selector UI on Codex Desktop 26.721: Terra/Sol/Luna variant colors, native slider effects, Fast toggle, and a model-family menu populated from every available GPT version.
  • Remembers the last reasoning effort for each exact model and restores it when switching tabs or GPT versions; the selected version row now has a clear accented state.
  • Makes the Windows builder detect and extract the newest installed Microsoft Store package automatically.
  • Makes the generated launcher rebuild when the installed Codex version changes.

Non-goals: no Codex binaries are committed, no official installation is modified, and no unsupported models or account capabilities are enabled.

Task source

Reported against Microsoft Store Codex 26.721.3996.0 after the selector structure changed from the 26.707 bundle.

Risk and impact

Risk: Medium. This patches a version-fingerprinted minified frontend bundle and generated ASAR integrity metadata. ERP invariant IDs: N/A; this repository is a local Codex Desktop UI patcher.

Affected writer: tools/build-inplace-asar.mjs writes the patched ASAR chunk and integrity records.
Affected readers: Electron ASAR verification, the compact selector, the Windows portable builder, and its generated launcher.

Scope

One compatibility slice: current selector symbols, ASAR block hashes, and Windows latest-package refresh. Existing legacy, Windows 26.707, and macOS 26.707 profiles remain covered. No dependency changes.

Verification

  • npm run check — 9/9 tests passed.
  • PowerShell parser validation for tools/build-portable.ps1 and the generated launcher — passed.
  • Full portable build from Store package 26.721.3996.0 — passed.
  • Patched app-initial syntax, all-model catalog replacement, Luna styling, portal, prop, and control markers — passed.
  • git diff --check — passed.

Base main: 0a07955
PR head: 1f613f1

Rollout and rollback

Roll out by rebuilding the portable copy from the installed Store package. Monitor startup and selector rendering after each Codex update; unknown bundle fingerprints fail closed. Roll back by deleting the generated portable output and launching official Codex, or by reverting this commit.

Pending gates

  • Upstream maintainer review.
  • GitHub CI, if configured.
  • Visual confirmation after relaunch on the submitted Store build.

HenkDz added 3 commits July 25, 2026 01:15
Add a fail-closed compatibility profile for Codex 26.721, preserve ASAR block integrity, and make the Windows portable launcher rebuild from the newest installed Store package.\n\nVerified with npm run check and a full portable build from Store package 26.721.3996.0.
Replace Codex 26.721's Terra/Sol-only compact catalog with the real available-model catalog while preserving Ultra and XHigh filters. This restores Luna tabs and fills the gear menu with other GPT versions.\n\nVerified with npm run check and a full portable build from Store package 26.721.3996.0.
Persist the last selected reasoning effort for each exact model and restore it when switching variants or GPT families. Add a clearer accented selected state to the version menu.\n\nVerified with 9 Node tests and a full portable build from Store package 26.721.3996.0.
@HenkDz
HenkDz marked this pull request as ready for review July 25, 2026 09:37
HenkDz added 6 commits July 25, 2026 11:25
fix(selector): support current Codex desktop bundle
- add codex-26.803 profile for app-initial-CUcIZsiK.js
  (Ams/Lms/zms/Bms/Vms/Nms, _hs/vhs, Hhs/Uhs, Qhs/l0/_hs, xhs/o0/a0/yis,
   _SimpleView_1kuf4_99, Lhs/Bhs fast icons, Whs/Uhs predicates)
- forward serviceTierOptions to _hs so Fast button is enabled
  and Yms slider recolors via --a (Sol/Terra/Luna per-model)
- handle a===advanced as well as i===advanced in build-inplace view lock
- verified against 26.803.5235.0 Store bundle (app.asar 226.9MB,
  chunk 13173k -> 13172k @24062881, 8deef6a8)
- add data-max=true glow on .codex-native when last y option selected
  (any family max, not just ultra) with Range gradient + thumb bloom + Track ring
- switch max detection to y[y.length-1].id so Luna High / Terra xHigh also trigger
  and define short _p/_t/_b keyframe pulses to fit asar chunk (478af2a)
- add docs/demo.mp4 (22s, 392x332) + poster, embed <video> in Demo section
- describe Fast mode wiring (Yhs->hs serviceTier forwarding, Yms phase:active)
- describe Ultimate power glow (data-max on rightmost y, _p/_t/_b pulses)
- add Compatibility callout for 26.803.5235.0 verification
- expand Features + repo structure for selector-compatibility profiles
- note Node 24.9.0 tested
Support Codex 26.803.5235.0, Fast toggle wiring, and Ultimate max glow + demo video
- GitHub README sanitizes <video> with relative docs/demo.mp4;
  use poster image linked to blob + raw link fallback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant