[claude] Multi-Turn Session Conversation Context (#3) #92
Reference in New Issue
Block a user
Delete Branch "claude/issue-3"
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 #3
All pieces of the conversation context feature were already implemented:
session_messagesDB table and migration (0008)getSessionHistory()helper with token budget enforcementPOST /sessions/:id/request_clearHistoryfunction and HTML buttonThis PR adds the one missing piece:
DELETE /sessions/:id/historyendpoint that the frontend calls when the user clicks "Clear history". Requires valid macaroon auth, returns 404/401/410 on error, and deletes allsession_messagesrows for the session.