You'll notice
Fixed a bug where extracting a bash command from message text checked the wrong variable
What
Claude Code has an internal helper that looks for a fallback bash command embedded in message text (inside <bash-input> tags). It was mistakenly checking an outdated variable left over from a previous loop iteration instead of the current one, so it could look at stale text. It now consistently checks the correct, current text.
Why
This fixes a bug that could cause the wrong bash command to be extracted from a message, since the check was looking at leftover data instead of the actual current input.