mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
When a pullAllSessions was already running, the reloadTimer triggered by adding sessions would be skipped by the source-level concurrency lock, causing newly added sessions to wait until the next scheduled interval (up to 60 minutes) before syncing. Fix: trigger individual per-session pulls via triggerPull(sourceId, sessionId) which bypasses the source-level lock, ensuring immediate sync for newly added sessions regardless of concurrent pulls. Also includes: connection pre-check on data source add, removal of duplicate "browse remote sessions" button, hiding "other" session types, and full resync fix for deleted local sessions. Co-authored-by: Cursor <cursoragent@cursor.com>