Repository navigation
feat(sessions): 在 Web 整理对话并同步模型选择 / organize conversations and sync model preferences across workbench windows - #8
Draft
Facetomyself wants to merge 7 commits into
Conversation
added 7 commits
November 26, 2026 15:55
… without transcript data
…t-turn model preferences
…ss-window updates
…enu for preferences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #7. Refs sqfcyily#67. This feature operates in the ordinary headless chat, without the optional server-side browser worker.
sessionswatermark and invalidations, not session IDs or transcripts. Other open workbenches re-fetch the actual list. Revoked logins, stale edits, busy sessions and unconfirmed disk state are distinct; repeated accepted sends retain the original receipt even if the default model subsequently changes.Native two-login and offline restore evidence
On native linux/amd64,
bf48279produced a 233,207,452-byte main workbench image. Two independent owner logins verified list invalidation without selecting the other conversation, stable ordering, rejection of stale writes, no model requests when only editing preferences, and the actual selected model after an explicit follow-default send. After recreation, retrying old request IDs caused no repeat call. A separate offline restore copied the stopped synthetic data and its matching key into separate snapshots and restored them to entirely fresh volumes; a new owner login recovered the transcript and a new authenticated request to the local model fixture proved the restored vault worked. Temporary workloads were removed, with no running public service. No optional Chromium image or vendor account was needed for this test.This native receipt covers that exact server revision. Real Chrome UI checks (including the subsequent shared model-menu change) are independently tracked by CI; passing a protocol test is not a substitute for them.
Checked two-browser UI
Linux / Node 22 run at 28ca4dc: the independent two-owner-login session-preferences E2E passed. Without refreshing, a second browser saw create/rename/archive/restore, and the explicit model pin and Follow default survived refresh. No extra model call was made by a preference change. 76 UI unit checks and 248 server tests also passed. This is a step-level receipt, not an all-green claim for the stack: the optional server-side Chromium handoff inherited from #7 has its own failing check.