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
feat: wire RooMessage storage into Task.ts and all providers
Complete migration from Anthropic.MessageParam to RooMessage (ModelMessage + metadata)
for internal message storage and the entire provider pipeline.
Key changes:
- Task.ts: apiConversationHistory is now RooMessage[], stored via readRooMessages/saveRooMessages
- Message construction: userMessageContent uses TextPart/ImagePart, pendingToolResults uses ToolResultPart
- ApiHandler.createMessage() accepts RooMessage[] instead of Anthropic.Messages.MessageParam[]
- All 30 providers updated: messages passed directly to streamText()/generateText()
- Removed convertToAiSdkMessages() calls from all AI SDK providers
- buildCleanConversationHistory simplified from ~140 lines to ~20 lines
- Resume logic rewritten for RooMessage format
- Supporting systems updated: condense, messageManager, ClineProvider
Old Anthropic-format conversations auto-convert on first open via readRooMessages().
New conversations stored in versioned v2 format.
5536 tests pass, 0 failures.
EXT-647
0 commit comments