The plan-mode exit dialog ignores stray keys so plans aren't accepted by accident.
What's wrong with this entry?
The "Ready to code?" / "Exit plan mode?" dialog now checks an acceptance callback before acting on any choice, and a selection arriving too soon after a prior refusal or during a fast-typing burst is swallowed. Stray keystrokes no longer instantly accept or reject a plan.
- Its select lists are passed
refuseInputand an explicitselectedValue. - The refusal-timing helpers it uses are new in this build.
- The component was re-emitted without the React-compiler memo cache array it previously carried.
refuseInput: ai,
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Plan mode can carry a session workshop document
Both mention plan mode
-
v2.1.221
Plan mode prototype-artifact offer
Both mention plan mode
-
v2.1.235
Very large plans cannot be approved
Both mention plan mode