feat: split h5 direct chat from goosed tasks

This commit is contained in:
john
2026-07-04 14:01:00 +08:00
parent eb8d760dd9
commit 29d9a87d4f
18 changed files with 874 additions and 32 deletions
+4
View File
@@ -747,6 +747,10 @@ export function useTKMindChat(
setChatState('idle');
setPendingTool(null);
activeRequestId.current = null;
if (sessionId.startsWith('h5direct_')) {
unsubscribeRef.current?.();
unsubscribeRef.current = null;
}
setSessions((prev) => touchSession(prev, sessionId, 0));
if (userRef.current && onUserUpdateRef.current) {
void getMe()