-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
acpAgent Client Protocol integrationAgent Client Protocol integrationenhancementNew feature or requestNew feature or requestsize/L
Milestone
Description
Parent Epic
Problem
No session persistence. load_session only checks in-memory map. IDE cannot resume a previous conversation after agent restart.
Solution
- Persist conversation history to SQLite (reuse zeph-memory infrastructure)
- Store per-session: messages, tool calls/results, metadata (model, timestamps)
load_sessionloads from DB and replays assession/updatenotifications:- Text messages →
AgentMessageChunk - Tool calls →
ToolCall(status: Completed/Failed) - Tool results →
ToolCallUpdate - Thinking →
AgentThoughtChunk
- Text messages →
- Only replay
user_visiblemessages (skip internal system prompts)
Critical Path
Depends on: Epic 1 (#777) complete
Parallel with: #781 (multi-session)
Blocks: Epics 3-8
Acceptance Criteria
- Conversation stored to SQLite after each turn
-
load_sessionreplays full history as notifications - Session survives agent restart
- Integration test: create session → prompt → restart → load → verify replay
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acpAgent Client Protocol integrationAgent Client Protocol integrationenhancementNew feature or requestNew feature or requestsize/L