Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

Releases

v1.3.3 — Fix reasoning-start-expanded for Codex v26.602.30954

Choose a tag to compare

@shivam2014 shivam2014 released this 06 Jun 17:09

v1.3.3

Bug fix: reasoning thoughts now stay expanded after completing

Root cause: The reasoning-start-expanded skeleton verify regex matched any useState(!0) call in the bundle — there are 35 of them. The inspectRule() function saw 2 matches, returned 'already applied', and skipped the patch entirely. The reasoning useState(o) was never changed to useState(!0).

Fix:

  • Anchored skeleton on ,m=!o&& context suffix — now matches exactly 1 occurrence (the reasoning useState)
  • Added guard in inspectRule(): cross-check skeleton.match count vs skeleton.verify count before returning 'already'
  • Updated expanded reasoning CSS selector for v26.602+ (inline maxHeight instead of Tailwind max-h-35)

Verification: 14/14 patches working (8 exact + 6 auto-healed, 0 structural rewrites)

Files changed

  • source-patcher.js — skeleton + inspectRule fix
  • index.js — CSS selector update for expanded reasoning mode
  • SITREP.md — updated status

v1.3.0 — Auto-healing patcher, 15/15 patches working

Choose a tag to compare

@shivam2014 shivam2014 released this 25 May 00:22

v1.3.0 — Auto-Healing Patcher

Skeleton-based self-repair for Codex version drift. 15/15 patches working (11 exact + 4 auto-healed, 0 structural).

What's new

  • Auto-healing engine: Each patch has a loose skeleton regex with (\w+) capture groups. When Codex updates change minified identifiers, the engine captures the new variable names and regenerates replacements automatically.
  • Dual protocol interception: Uses both protocol.handle (Approach A) and protocol.interceptBufferProtocol (Approach B) to coexist with the Computer Use tweak without conflicts.
  • Patch Status display: Settings page now shows real-time status of all 15 patches — exact, auto-healed, structural, or unsupported.
  • 15 patches: Added thought-fade-disable and thought-fade-disable-un for markdown fade suppression. Removed obsolete reasoning-no-blink-fade.

Auto-healed patches (from Codex v26.519.22136 → v26.519.41501)

Patch Captured variables
show-reasoning t, i
reasoning-no-animate-height da
show-exploration-items ue, e, p
fix-assistant-order w, C, T, me, E, h, S

Files

v1.2.1 — Fix thought content shimmer (Wn, Un, and CSS li fade)

Choose a tag to compare

@shivam2014 shivam2014 released this 22 May 11:47

v1.2.1 — Fix thought content shimmer

Added

  • CSS injection for markdown root list items: The inline-mentions CSS module applies opacity:0 + _fade-in animation to li, hr, tr, and blockquote elements inside ._markdownRoot. This caused numbered list items in streaming thought content to fade in one by one. Added CSS injection to override with opacity:1 !important; animation:none !important;.
  • thought-fade-disable-un patch: patches Un() in markdown bundle — removes per-segment fadeIn span wrapping (affects bullet points and block-level segments).

Changed

  • thought-fade-disable patch for Wn() — removes per-word fadeIn span wrapping (affects individual words).
  • bundleForUrl now maps markdown-*.js so both patches apply.
  • 16 total source patches.

Fixed

  • reasoning-start-expanded / fix-assistant-order: replacement strings now use $1 backreferences instead of hard-coded variable names (fixes ReferenceError crash on dual-route bundles).

Compatibility

  • Codex Desktop v26.519.22136 (stable channel)
  • Bundle: markdown 60074 → 59905 bytes

v1.2.0 — stable

Choose a tag to compare

@shivam2014 shivam2014 released this 09 May 08:58

14 source patches · 3 runtime features · 5 bug fixes

What's new since v1.1

Codex updated, which broke all v1.1 patches (bundle shapes changed). v1.2 is a full rewrite targeting the new Codex version.

New patches:

  • auto-expand-exec — command outputs start expanded
  • expand-tool-activity — tool sections start expanded
  • fix-assistant-order — corrects agent-item message ordering
  • show-exploration-items — standalone exploration entries
  • reasoning-no-blink-fade, reasoning-no-animate-height, no-layout-position

5 bugs fixed on the adaptation branch:

  • da0e3e9 — 3 wiring gaps (missing SETTING_FEATURES entry, dead UI toggles, patched/regex mismatch)
  • 29810e3 — collapse-all-toggle toggle now actually works
  • afde18c — stale closure after idempotency guard
  • 04f78a0 — 3 bundle-target drifts + inspectRule === 1 → >= 1
  • 99f25ce — blank-screen syntax error (let inside let)

README trimmed to essentials — interactive explainer at:
https://shivam2014.github.io/codex-plusplus-reasoning-fixes/

v1.2.0-beta — Adapt for Codex 26.506.21252/31004

Choose a tag to compare

@shivam2014 shivam2014 released this 08 May 19:27

v1.2.0-beta — What changed from v1.1

Context

Codex auto-updated from an unknown build, through 26.506.21252, and now 26.506.31004. Each update restructured JS bundles enough that v1.1's patches stopped matching. This release rewires all patches to target the new bundle layout.

Tested Codex Versions

Version Status
26.506.20924 Original target — patches verified
26.506.21252 Working (13/15 patches)
26.506.31004 Working (13/15 patches) — no changes needed from 21252

Architecture Changes (v1.1 → v1.2)

Bundle targets shifted:

Patch v1.1 target v1.2 target Reason
render-standalone-reasoning composer bundle thread bundle Reasoning rendering moved to conversation-thread chunk
reasoning-start-expanded composer bundle thread bundle useState moved
reasoning-no-autocollapse composer bundle thread bundle auto-collapse logic moved
reasoning-no-blink composer bundle thread bundle blink logic moved
auto-expand-exec composer bundle lt bundle split off into new chunk
expand-tool-activity thread bundle settings-page bundle Vg→Mg→Hg component chain moved

Patches removed from v1.1:

  • keep-agent-expanded → replaced by expand-tool-activity
  • preserve-item-order → replaced by fix-assistant-order (more robust)
  • shimmer-no-fade-in → replaced by reasoning-no-blink-fade

Patches added in v1.2:

  • no-layout-position (thread + composer) — fixes Framer Motion reorder bug
  • reasoning-no-animate-height — stops height animation glitch
  • reasoning-no-blink-fade — stops markdown fade blink
  • show-exploration-items — makes exploration items appear as standalone
  • fix-assistant-order — scans all items for assistant, not just last
  • auto-expand-exec — target exec shells expanded by default
  • expand-tool-activity — target tool activity sections expanded by default

Files changed

source-patcher.js  | 177 ++++++++++++------  (complete rewrite)
index.js           |  19 +++-
manifest.json      |   2 +-
README.md          |  18 ++-

Patch Status: 13/15 working

  • ✅ Show reasoning as standalone items
  • ✅ Disable thinking shimmer
  • ✅ Render reasoning via default renderer
  • ✅ Reasoning expanded by default
  • ✅ No auto-collapse on finish
  • ✅ No blink during streaming
  • ✅ No Framer Motion layout:position (thread)
  • ✅ No Framer Motion layout:position (composer)
  • ✅ No blink fade
  • ✅ No height transition animation
  • ✅ Show exploration items as standalone
  • ✅ Fix assistant message order (input→reasoning→output)
  • ✅ File edits not in tool activity group
  • ❌ Auto-expand exec shells — target moved to lt-*.js; bundle matcher added but regex needs to match served minified code
  • ❌ Expand tool activity sections — target moved to local-environments-settings-page-*.js; bundle matcher added but needs verification

v1.1 – Collapse-All Toggle & Settings UI

Choose a tag to compare

@shivam2014 shivam2014 released this 02 May 22:35

What's new from v1.0

  • Collapse-all floating button — one-click collapse/expand for all reasoning headers in the conversation
  • Toggle in Settings UI — enable/disable collapse-all from the tweak settings page
  • CSS-based toggling — collapse state persists across re-renders and conversations (no React fiber needed)
  • Better icon — unfold-vertical icon on the button for clearer expand/collapse meaning
  • Expanded screenshots — docs/images/ now has reference screenshots for settings, expanded thoughts, and collapsed thoughts

Installation

git clone https://github.com/shivam2014/codex-plusplus-reasoning-fixes.git \
  ~/Library/Application\ Support/codex-plusplus/tweaks/co.shivam94.reasoning-fixes

If you already have a local checkout, pull the latest and restart Codex++:

cd ~/Library/Application\ Support/codex-plusplus/tweaks/co.shivam94.reasoning-fixes
git pull

For local dev from an existing checkout:

codexplusplus dev . --no-watch --replace

v1.0.0

Choose a tag to compare

@shivam2014 shivam2014 released this 02 May 20:00

v1.0.0

Stable release with in-memory source patching, settings UI, and all features enabled by default.

New in v1.0.0

  • Disable streaming pulse — stops the color shimmer on actively streaming reasoning text (ON by default)
  • Preserve item order — fixes multi-reasoning ordering so thought1 → output1 → thought2 → output2 displays correctly instead of grouping all thoughts together

Features

  • Show reasoning — reasoning items render as standalone conversation items instead of being hidden in the exploration accordion
  • Keep accordion open — exploration panels stay expanded after Codex finishes searching (React fiber hook, no reload)
  • Reasoning display — toggle between Expanded (full text) and Scroll (compact box) via live CSS
  • Disable thinking animation — keeps the Thinking label steady instead of pulsing
  • Show file edits in chat — file-edit cards remain standalone instead of being grouped into collapsed tool activity
  • Keep output visible — tool output sections stay visible

Architecture

All source-backed features use in-memory protocol-level patching (Electron protocol.handle("app") wrapper). No ASAR extraction, repacking, or codesigning required. See source-patcher.js for the full patch inventory.

Acknowledgments

  • Alex Naidis (TheCrazyLex) — in-memory source patching architecture
  • Codex++ (b-nnett/codex-plusplus) — tweak runtime and API