fix(selector): support current Codex desktop bundle - #5
Open
HenkDz wants to merge 9 commits into
Open
Conversation
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
marked this pull request as ready for review
July 25, 2026 09:37
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User-visible outcome
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.mjswrites 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.tools/build-portable.ps1and the generated launcher — passed.26.721.3996.0— passed.app-initialsyntax, all-model catalog replacement, Luna styling, portal, prop, and control markers — passed.git diff --check— passed.Base
main: 0a07955PR 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