fix(tui): sync model preferences across clients - #43564
fix(tui): sync model preferences across clients#43564opencode-agent[bot] wants to merge 1 commit into
Conversation
96851b5 to
ae19927
Compare
Overall: right fix — serializing read-modify-write through a file lock plus change broadcast solves the lost-update problem between concurrent TUI clients properly, and the moved helpers keep logic testable. Items 1–2 are worth a follow-up thought before merge. Thanks! |
Summary
model.jsonso favorites, recents, and variants update in already-running TUIsValidation
bun testinpackages/tui(735 passed, 5 skipped)bun typecheckinpackages/tuibun test test/mini-host.test.tsinpackages/clibun typecheckinpackages/cliRequested by: @rekram1-node (Aiden via Slack)