feat: add experimental Windows MSIX runtime support - #19
Open
jiahao6635 wants to merge 3 commits into
Open
Conversation
Author
|
Validation update for
Fork CI run: https://github.com/jiahao6635/codexfast/actions/runs/31298197535 This validates the portable Windows implementation and fixed PowerShell fragments on hosted Windows, but the runtime support remains experimental / offline-validated until the real installed-app E2E checklist is completed. |
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.
Summary
This PR adds experimental Windows Store/MSIX runtime-launch support while preserving the existing macOS behavior.
The official x64
OpenAI.CodexMSIX26.803.5235.0is currently offline-validated, not fully supported. It has passed manifest inspection, offline bundle patching, the complete six-label Fast profile, and portable runtime tests, but it has not completed real Windows E2E validation.What changed
codexfastto install onwin32.OpenAI.Codexpackage through AppX APIs.OpenAI.Codex_2p2nqsd0c76g02p2nqsd0c76g0StoreAppapp/ChatGPT.exeWindows.FullTrustApplicationOpenAI.Codex_2p2nqsd0c76g0!Appwin32:x64:26.803.5235+0.app.asar.launchctl,pgrep, process-group termination, or the Sparkle update hook on Windows.Windows Fast profile
The Windows runtime profile retains the complete six-label Fast patch set:
Speed settingSpeed service tier allowanceSpeed service tier request allowanceSpeed service tier conversation fallbackComposer Intelligence Speed menuFast slash commandThe five eager Fast labels remain required during initial interception.
Speed settingis validated when its lazy-loaded Settings asset is requested.Windows intentionally skips the macOS automatic-update targets, Plugins targets, and model-injection targets until they are separately validated on Windows.
Build, packaging, and CI
windows-latestCI matrix for npm and pnpm.sh.Validation completed
The following checks pass in the current development environment:
npm run buildnpm run build:checknpm run build:check:distributionnpm run typechecknpm run test:windowsnpm run check:version-driftnode --check bin/codexfastnode --import tsx test/runtime-launch-flow.mtsCI=1 npm_config_cache=/tmp/codexfast-npm-cache npx --yes pnpm@10.33.0 testnpm run test:buildnpm pack --dry-run --json --ignore-scriptsgit diff --checkThe Windows CI job additionally runs the PowerShell 5.1 AST/C# compile validation that cannot be executed natively from the current macOS environment.
Known limitations
This remains experimental / offline-validated Windows support:
service_tier: "priority"request evidence, cleanup behavior, and installed-package integrity still require validation on a real Windows machine.arm64is not validated.app/ChatGPT.exeroot and exact admitted executable path. Differently named helper processes are outside that exact-path guarantee and may require a manual full quit.A Windows package version must not be promoted from
offline-validatedtosupporteduntil the real-machine checklist is completed.