Cursor-agent CLI console input gets progressively more garbled the longer the lines you type in get

If you type fast enough (e.g. voice typing) after you’ve got >3 lines or so of text, the latest version also blows its own brains out:-


  ERROR  Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

 /home/cnd/.local/share/cursor-agent/versions/2026.01.28-fd13201/96.index.js:48:521515

 45:   ))?
 46: | (?<qBase>${fe})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
 47: | \\?.
 4 `.replace(/\s+/g,""),"gsu");RegExp;const ge=String.raw,he=ge`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,me=ge`\(\?R=(?<rDepth>[^\)]+)\)|${he}`,ye=ge`\(\?<(?![=!])(?<captureName>[^>]+)>`,Ee=ge`${ye}|(?<unnamed>\()(?!\?)`,Ie=new 
 8RegExp(ge`${ye}|${me}|\(\?|\\?.`,"gsu"),Ce="Cannot use multiple overlapping recursions";function ve(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if((e=+e)<2||e>100)throw new Error(t)}function 
 :be(e,t,n,r,o,i,s){const a=new Set;r&&ue(e+t,ye,(({groups:{captureName:e}})=>{a.add(e)}),ae.DEFAULT);const l=[n,r?a:null,o,i,s];return`${e}${Be(`(?:${e}`,"forward",...l)}(?:)${Be(`${t})`,"backward",...l)}${t}`}function Be(e,t,n,r,o,i,s){const 
  a=e=>"forward"===t?e+2:n-e+2-1;let l="";for(let t=0;t<n;t++){const n=a(t);l+=le(e,ge`${Ee}|