Files
Cursor Agent 2388e7d43f fix: prevent deepMerge from corrupting arrays by treating them as leaf values
P.isObject returns true for arrays, causing deepMerge to spread arrays
into plain objects with numeric keys and recursively merge entries.
This corrupted customModels arrays in ServerSettings whenever
updateSettings was called.

Add Array.isArray guards at both the top-level check and the per-key
recursive branch so arrays are replaced wholesale instead of merged.
2026-03-26 00:07:31 +00:00
..
fix
2026-03-25 17:00:57 -07:00