Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

codex-hacks

Patch scripts for the Windows Codex desktop app.

One script creates a writable copy of the app (untouched by patches); the others apply individual patches to that copy. The Microsoft Store install is never modified, the original app.asar is backed up, and every edit is an equal-length byte patch that stops with an error if the bundle layout is not recognized.

Usage

python clone_codex_app.py
python patch_codex_remote_control.py
python patch_codex_review_summary.py

The copy is built under %USERPROFILE%\codex-hacked-app with a Codex Hacked desktop shortcut. Patch scripts are safe to re-run — already-applied patches are skipped. After a Store update, re-run all three.

Scripts

clone_codex_app.py

Creates the writable copy (no patches applied yet) and a versioned backup of the original app.asar. --launch also restarts Codex into the copy.

patch_codex_remote_control.py

Enables Settings → Connections → Control other devices (openai/codex#28919). Lifts the feature gate that hides the controller tab and replaces the macOS-only device-key loader with a small JavaScript fallback (P-256 keys, Node crypto). Private keys are stored in ~/.codex/remote-control-device-keys.windows.json, encrypted with Windows DPAPI (current user).

patch_codex_review_summary.py

Disables the Changes/review-summary diff panel (openai/codex#30820). The panel eagerly diffs restored workspaces in the background and can stall the machine with Git CPU/IO spikes. The patch makes it return an empty result, so the panel shows +0 -0.

Warnings

  • Unsupported. Use at your own risk.
  • The remote-control device key can be decrypted by any process running as your Windows user. Do not sync or share remote-control-device-keys.windows.json.
  • The patched copy does not auto-update. Keep using the Store app for updates, then re-clone and re-patch.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages