feat(desktop): add persistent full chat conversations #99
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/zara!99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/conversation-full-chat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #85.
Summary
Adds the first durable native full-chat surface on top of the RuntimeHost/event boundary from #82/#83 and the canonical desktop shell from #84.
DatabaseManagermigration registry (migration v2), not a second database/config storeConversationServicethat reduces provider-neutral runtime events into durable conversation stateAssistantDeltaevents incrementally into the existing message record/widgetResponseTextbehavior honestly as one complete content update; no fake token streamingFullChatWindowSubmitTurn/CancelTurnonQtRuntimeBridgePersistence
Uses the existing shared SQLite database:
desktop_conversationsdesktop_messages2The migration is compatible with the existing lazy todo migration registration:
DatabaseManagerapplies missing versions in sorted order even if v2 registered first.Streaming contract
Two paths are deliberately distinct:
AssistantStarted/AssistantDelta/AssistantCompleteupdate one assistant message incrementally.ResponseTextis rendered once as complete text. It is not animated into fake token chunks.Real provider streaming remains #28.
UI architecture
FullChatWindowowns only Qt projection/interaction. It does not instantiate an LLM, AgentManager, Prolog engine, or tool runtime. Assistant execution remains behind RuntimeHost.Message delta updates call
set_message()on the one affected message widget rather than rebuilding the entire conversation widget tree. Switching conversations intentionally rebuilds the visible conversation.Tests
Adds coverage for:
The user's local
/home/unseen/Documents/Projects/checkout is not mounted here, so GitHub Actions is the authoritative full Nix/repository test gate.