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
| #!/bin/bash | |
| # Patch Claude Code (2.1.113+) Bun-compiled Mach-O binary so thinking blocks | |
| # auto-expand inline in the live view, without forcing global verbose mode. | |
| # | |
| # Context: https://github.com/anthropics/claude-code/issues/49268 | |
| # | |
| # Up to ~2.1.110 Claude Code shipped a pure-JS `cli.js` that could be patched | |
| # with sed to auto-expand thinking blocks. Starting with 2.1.111–2.1.113 the | |
| # package ships a Bun-compiled native Mach-O binary at | |
| # `node_modules/@anthropic-ai/claude-code/bin/claude.exe`. The minified JS is |