Prompt-suggestion generation now tries several candidate replies instead of just the first one
When Claude Code asks the model to suggest a follow-up prompt, it used to stop at the very first assistant text reply it found and clean it up with a set of regex rules. Now it first collects all of the assistant's candidate text replies, then runs the same cleanup rules over each candidate in order, stopping only once a candidate actually produces a usable, non-empty suggestion.
This makes prompt suggestions more reliable: if the first candidate reply turns out empty or unusable after cleanup, Claude Code now falls through to try the next one instead of giving up.