Add SQLite chat storage migration #2

Merged
Miorii merged 1 commit from codex/conversation-p06 into main 2026-10-09 16:26:56 +02:00
Owner

Introduce a conversation repository abstraction and switch desktop chat persistence to a SQLite-backed store using node:sqlite. The migration validates legacy chats.json, creates a content-addressed backup, imports transactionally with rollback protection, and keeps JSON export/backup tooling for recovery.

This also wires the chat store and app shutdown to the new database lifecycle, pins Electron to the tested runtime, raises the minimum Node version for built-in SQLite support, and adds extensive migration, CRUD, recovery, and Electron smoke coverage plus P06 implementation/ADR documentation.

Introduce a conversation repository abstraction and switch desktop chat persistence to a SQLite-backed store using `node:sqlite`. The migration validates legacy `chats.json`, creates a content-addressed backup, imports transactionally with rollback protection, and keeps JSON export/backup tooling for recovery. This also wires the chat store and app shutdown to the new database lifecycle, pins Electron to the tested runtime, raises the minimum Node version for built-in SQLite support, and adds extensive migration, CRUD, recovery, and Electron smoke coverage plus P06 implementation/ADR documentation.
Introduce a conversation repository abstraction and switch desktop chat persistence to a SQLite-backed store using `node:sqlite`. The migration validates legacy `chats.json`, creates a content-addressed backup, imports transactionally with rollback protection, and keeps JSON export/backup tooling for recovery.

This also wires the chat store and app shutdown to the new database lifecycle, pins Electron to the tested runtime, raises the minimum Node version for built-in SQLite support, and adds extensive migration, CRUD, recovery, and Electron smoke coverage plus P06 implementation/ADR documentation.
Miorii merged commit 41c68f2c4c into main 2026-10-09 16:26:56 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Miorii/MioChat!2
No description provided.