feat(chat): support /undo command with transcript reload and composer prefill (#1051)

This commit is contained in:
M57
2026-09-03 19:04:43 +03:00
committed by GitHub
parent efe6fe81cb
commit b3439d87c9
8 changed files with 159 additions and 0 deletions
@@ -18,4 +18,7 @@ interface ChatMessageDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun upsertAll(messages: List<ChatMessageEntity>)
@Query("DELETE FROM chat_messages WHERE session_id = :sessionId")
suspend fun deleteMessagesForSession(sessionId: String)
}