Files
clawpanel/src-tauri
Cursor Agent 783340296b fix(config): prevent auto-pair from clobbering gateway auth on concurrent writes
patch_gateway_origins() read a full config snapshot and wrote it back via
write_openclaw_config. Because gateway fields are shallow-merged, a stale
snapshot could revert concurrent edits to gateway.auth, gateway.port, etc.
while auto_pair_device runs on startup or WS reconnect.

Write only a partial delta for controlUi.allowedOrigins and add a regression
test documenting the merge behavior.

Co-authored-by: 晴天 <1186258278@users.noreply.github.com>
2026-06-07 11:06:52 +00:00
..