[claude] Matrix chat history persistence — localStorage per-agent, 100-msg cap, Clear button (#43) #63
Reference in New Issue
Block a user
Delete Branch "claude/issue-43"
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?
Fixes #43
Changes
loadChatHistory(agentId)/saveChatHistory(agentId, messages)helpers inui.jsusing localStorage keymatrix:chat:<agentId>timestampfield, displayed as[HH:MM]prefixappendChatMessagepersists to localStorage on every call (user send + assistant response)renderChatHistory(agentId)restores history on page load / panel openclearChatHistory(agentId)+ CLEAR HISTORY button in Chat tab header wipes stored history and re-renders emptyappendChatMessagefor full persistence