bf99f9ce5b
The existing assertion encoded the exact behaviour #8030 reports as the bug: it required that no `133;C` ever be emitted, which is what leaves Ghostty's sticky `.input` cursor semantic latched for the rest of the session. Rewrite it around the property the fix actually guarantees. The marker must now be present, but it must be immediately followed by `133;D;0` and appear exactly once per bubble, so the command zone is opened and closed within the same render and later assistant/tool output is still never grouped under the submitted prompt. That was the real concern behind the original assertion, and it is now checked directly rather than by proxy. Refs #8030