You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): preserve macos_prefs[].host in config GET responses
The three config GET endpoints mapped each pref to a fixed shape
{domain, key, type, value, desc}, silently dropping the `host` field
the CLI now publishes for ByHost prefs (e.g. Control Center menu-bar
dropdowns under defaults -currentHost). The snapshot blob in D1 had
the field — it was lost only on the read path.
Preserve host through the three GETs (alias, public config, owner
read), mirror Go's `omitempty` by only emitting when non-empty, and
do the same in the editor's hydrate path so a save-after-edit can't
re-strip it. Add an optional host enum {"", "currentHost"} to
validateMacOSPrefs to lock down the allowed values.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments