SIGN IN SIGN UP

fix: writeDefaultMode merges config instead of overwriting (#490) (#514)

writeDefaultMode was writing a fresh { defaultMode } object, silently
dropping any other fields in config.json. Now it reads the existing config,
updates only defaultMode, and writes it back preserving all other fields.

Fixes #490
A
Aly Dhedhi committed
988428d51057969951acaab1a374e45061107831
Parent: 3869218
Committed by GitHub <noreply@github.com> on 7/7/2026, 12:44:56 AM