mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
The UI stayed on "parsing messages" during the whole post-parse phase: the importer emitted an 'importing' stage the frontend had no text for, and on CLI Web the synchronous DB writes / index / FTS build starved the event loop so buffered SSE progress events only arrived after the import finished. - Replace 'importing' with 'saving' (message writes) and a new 'indexing' stage (indexes / FTS / session index) in ParseProgress, with UI texts for all four locales. - Yield a macrotask between native parser batches and before heavy synchronous steps so SSE progress events flush while importing. Co-authored-by: Cursor <cursoragent@cursor.com>