You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Refactor] Extract ClineMessagesStore from Task.ts #17
Extract the UI chat message persistence cluster from src/core/task/Task.ts into a dedicated ClineMessagesStore module.
Scope
Methods to extract:
getSavedClineMessages()
addToClineMessages()
overwriteClineMessages()
updateClineMessage()
saveClineMessages()
findMessageByTimestamp()
State owned:
clineMessages: ClineMessage[]
cloudSyncedMessageTimestamps: Set<number>
lastMessageTs?: number
Estimated size: ~200–250 lines
Notes
This is a symmetric pattern to the already-extracted apiConversationHistory module, making it a low-risk, straightforward extraction. Task.ts becomes a thin consumer of both stores.
Activity