Files
Cursor AgentandJulius Marminge a325efe38a fix: replace JSON.stringify comparison with structural deep-equal for ProviderModelOptions
JSON.stringify is sensitive to property insertion order, so two
semantically identical ProviderModelOptions objects constructed with
keys in different orders would serialize to different strings. This
caused sameModelOptions to return false incorrectly, triggering
unnecessary Claude session restarts that cleared the resume cursor
and lost conversation context.

Replace with a recursive structural equality check that compares
objects by their defined (non-undefined) keys and values regardless
of key ordering.

Co-authored-by: Julius Marminge <[email protected]>
2026-03-17 21:20:25 +00:00
..
2026-03-16 10:28:24 -07:00
2026-03-03 00:30:15 -08:00
2026-03-03 18:22:29 -08:00