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
{{ message }}
Repository navigation
Commit c734c56
Browse filesBrowse the repository at this point in the historyBrowse files
fix(settings): older clients connect again after idle compaction modes
#23037 turned settings.compactIdleThreads from a boolean into a mode string.
Every client built before it decodes that field as a boolean, so the server
config snapshot failed to decode and the connection dropped ("did not answer")
on any server since, even with the setting at its default.
compactIdleThreads goes back to the boolean shipped clients read (true for
"beforeCacheExpires") and the mode moves to a new idleCompaction field. The
server writes both on load and on every patch; settings saved with the mode
string are migrated on load, and a shipped client's boolean patch maps to a
mode without turning "Never" back into the default. The settings panel patches
whichever form the connected server reads.
Checked by connecting with v0.1.1-nightly.20261020.3411's own schemas: the
config snapshot now decodes against this server, and fails at
settings.compactIdleThreads against v0.1.2-preview.20261022.3511.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
description="When to compact an idle Claude thread over 200,000 tokens: after you return, just before its prompt cache expires, or never. Each Claude provider can override this."
0 commit comments