feat(web): persist tool calls, restore approvals on thread switch, and UI fixes (#382)

This commit is contained in:
Henry Park
2026-02-27 17:46:37 +04:00
committed by GitHub
parent a89c5f7348
commit ddd01a628c
10 changed files with 644 additions and 94 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ impl ConversationStore for LibSqlBackend {
c.started_at,
c.last_activity,
c.metadata,
(SELECT COUNT(*) FROM conversation_messages m WHERE m.conversation_id = c.id) AS message_count,
(SELECT COUNT(*) FROM conversation_messages m WHERE m.conversation_id = c.id AND m.role = 'user') AS message_count,
(SELECT substr(m2.content, 1, 100)
FROM conversation_messages m2
WHERE m2.conversation_id = c.id AND m2.role = 'user'