This repository was archived by the owner on Sep 2, 2026. It is now read-only.
Repository navigation
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 fixindex.js— CSS selector update for expanded reasoning modeSITREP.md— updated status