mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
Implements the Push Import protocol documented in chatlab-import.md. Creates a new session on first call, appends and deduplicates on subsequent calls (platformMessageId preferred, content hash fallback). Adds IMPORT_IN_PROGRESS (409) and IMPORT_FAILED (500) error codes. Includes a global concurrency lock and incremental session index generation after each write. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>