fix(webui): complete restarts independently in each tab

This commit is contained in:
Xubin Ren committed 2026-10-12 17:30:53 +08:00
1 parent 77660ea8e5
commit cfb0f51e78
3 files changed
+35 -3

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ current chat. Update the gateway to stop creating these topics. Existing topics
are not deleted by the update; check their contents before removing them. A typed
`/restart` command remains part of that chat's display history.
If settings stay disabled after a restart while another tab has reconnected,
reload the affected page. Updated WebUI clients track restart completion per tab,
so one tab cannot leave another tab waiting by clearing the shared restart marker.
## Session storage overlaps the workspace
Sessions live at `<config-dir>/sessions/<workspace-id>/`, outside the agent workspace. If startup reports a conflict, compare the printed paths. A valid layout is `bot/config.json`, `bot/sessions/`, and `bot/workspace/`.