When delivery wins a queued prompt edit

Event visualization from synthetic embedded SDK receipts for OpenCode PR #63251.

Before the fix, the model received both B and its replacement B2. With the fix, the edit conflicts and only B is delivered after A.

Static PNG · Before trace · After trace · Replay scripts