Skip to content

feat(sessions): 在 Web 整理对话并同步模型选择 / organize conversations and sync model preferences across workbench windows - #8

Draft
Facetomyself wants to merge 7 commits into
feat/web-workbench-browserfrom
feat/web-workbench-sessions
Draft

Facetomyself wants to merge 7 commits into
feat/web-workbench-browserfrom
feat/web-workbench-sessions

Conversation

@Facetomyself

@Facetomyself Facetomyself commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #7. Refs sqfcyily#67. This feature operates in the ordinary headless chat, without the optional server-side browser worker.

  • Rename an idle confirmed conversation (or clear a custom title to restore the actual first question/attachment title). Archive or restore without removing the transcript or changing activity order. Select a model for later turns or explicitly follow the role/default; changing metadata never calls a provider. Concurrent edits need the current revision. Unknown/complex legacy history stays protected.
  • A read-only owner WebSocket sends just a sessions watermark 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.
  • Real HTTP+disk, loopback provider and two local WS client tests cover the business layer. The UI E2E uses separate normal, sandboxed Chrome profiles, and verifies list updates without refreshing, persisted pin/follow, restored titles and archive navigation. The server-side handoff worker introduced separately in feat(browser): 隔离人工网页接管与工作台身份 / isolate manual browser handoff from workbench credentials #7 is not a prerequisite for these flows.
  • Bounded scope: non-default model reasoning/effort settings return an explicit unsupported result; in-flight renames are not counted as complete desktop parity. This is not permanent host deployment.

Native two-login and offline restore evidence

On native linux/amd64, bf48279 produced 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant