fix(webui): isolate transcript replay from live observers (#6306)

* fix(webui): isolate transcript replay from live observers

* docs(webui): shorten chat subscription ownership notes
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-19 17:13:12 +08:00
1 parent dca49c258a
commit 0f3b47bc3a
9 files changed
+193 -43

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ function fakeClient() {
hasUnsettledRun(chatId: string) {
return unsettledRunByChatId.get(chatId) === true;
},
onChat(chatId: string, h: (ev: InboundEvent) => void) {
onTranscript(chatId: string, h: (ev: InboundEvent) => void) {
let set = handlers.get(chatId);
if (!set) {
set = new Set();