github miuuyy/codex-chatgpt-web v2.1.6
v2.1.6 — Direct Codex Harness Bridge

latest releases: v6.1.1, v6.1.0, v6.0.0...
one month ago

Codex Web GPT 2.1.6

Codex Web GPT 2.1.6 live demo

Thank you for the extraordinary response to this project. v2.1.6 completes the Windows system-browser sign-in repair and makes an unmet MCP setup prerequisite explicit in the launcher.

What's new in v2.1.6

  • Windows system-browser sign-in. Authentication and serialized-state verification now stay inside one owned Chrome/Chromium process. The launcher uses a normal nonzero loopback DevTools port, imports only allowlisted ChatGPT/OpenAI state, and still independently proves the authenticated composer in Electron. This fixes the remaining sign-in failure reported in #91 without stealth flags, fallback browsers, weaker authentication checks, or any change to normal model-turn latency.
  • Explicit MCP prerequisite. When the Codex model catalog has not yet been verified, the MCP credentials screen now explains why Connect harness is unavailable and directs the user back to Setup → Install models → restart Codex. The proof gate remains strict.

ChatGPT Web models and limits

The browser transport and the underlying model window are different limits. These are the practical account-specific boundaries used by v2.1.6:

Account / mode Practical model context One-message browser boundary
Free & Go — Luna 28,000-token conservative browser request budget Accepted at 25,400 and 28,547 estimated tokens; rejected at 32,283
Plus — Instant 41,000 tokens 211,256 composer characters
Plus — Medium / High 90,000 tokens 1,048,572 composer characters
Pro — Instant 137,000 tokens 103,000 message tokens / 545,000 composer characters
Pro — Medium / High / Extra High 256,000 tokens 103,000 message tokens / 1,045,000 composer characters
Pro — Pro 272,000 tokens 104,000 message tokens / 1,635,000 composer characters

Luna uses adaptive summarization through a private rolling checkpoint to keep long tasks useful within its measured browser request budget. OpenAI does not expose stable Plus or Pro account quotas that this project can report reliably.

I am personally disappointed that OpenAI reduced the usable limits in ChatGPT Web. The exact browser-composer limitation and the requirements for a reliable solution are tracked in #76. Contributions are welcome.

Direct Codex harness bridge

Six public MCP actions accept the trusted Codex turn_token directly while binding leases remain private inside the runtime: codex_exec, codex_write_stdin, codex_apply_patch, codex_view_image, codex_tool_inventory, and codex_tool_call.

The bridge adds no planner, semantic router, or fallback model. ChatGPT remains the selected model; deterministic code owns only transport, permissions, leases, validation, and evidence.

Connector setup

If you already created Codex Native2 for any v2.1.x release, keep it. v2.1.6 does not require another connector migration.

  1. Upgrade the launcher/runtime to v2.1.6.
  2. If you only have the legacy connector, create a new Tunnel connector named exactly Codex Native2 with Authentication: None.
  3. Under Permissions, select Allow all actions. Allow low-risk actions blocks commands and patches before they reach Codex; the outer Codex harness still enforces its own sandbox and approvals.
  4. Run Verify runtime.

Verification

  • 304 repository runtime tests and 175 launcher tests, both typechecks, dependency audit, renderer build, relocatable runtime smoke, native macOS ARM64 package, and packaged-app smoke.
  • Green native package and packaged-app smoke jobs for macOS ARM64, macOS Intel, Ubuntu, and Windows.
  • All 20 published assets are covered by checksums.txt.

Why this project exists

I believe useful AI should be available to as many people as possible. If you already pay for ChatGPT and use the services included in your subscription within the applicable rules, you should be able to use that access in the workflow that helps you most. This project makes that workflow as convenient and native as possible.

Contributions, issues, and forks are welcome. If this project helps you, I would really appreciate a star.

Full changelog: v2.1.5...v2.1.6

Don't miss a new codex-chatgpt-web release

NewReleases is sending notifications on new releases.