mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-26 22:04:46 -06:00
a465ac6383
* feat: add /retry and /rewind commands for conversation history navigation Allow users to re-send the last message for a new response (/retry) or drop the last N turns to restore an earlier conversation state (/rewind N). Both operations sync in-memory state with the persistent database. Server path includes conversation.modify permission gate, audit trail (conversation.rewind / conversation.retry events), and thread-safe retry dispatch. Migration 029 grants the permission to admin and operator roles. * feat: add message action controls for retry, edit, and rewind in web UI Hover toolbar on messages with CSS-only icons matching instrument panel aesthetic. User messages get edit (pencil) and rewind (chevrons) buttons; last assistant message gets retry (circular arrow). Edit flow uses event-driven coordination — rewind completes via SSE history event before send fires. Includes ARIA labels, keyboard nav, touch device support, reduced motion, and busy-state gating.