feat(agent-plan): persist plan blocks in history#1817
Conversation
|
Caution Review failedAn error occurred during the review process. Please try again later. 📝 WalkthroughWalkthroughThe PR adds shared agent-plan schemas, plan stream events, terminal-reason stamping, per-session plan rehydration, and updated plan rendering plus locale strings. ChangesAgent Plan Refactor
Sequence Diagram(s)sequenceDiagram
participant ChatPage
participant messageStore
participant snapshotFromAgentPlanBlock
participant agentPlanStore
ChatPage->>messageStore: loadMessages(sessionId)
messageStore-->>ChatPage: restored messages
ChatPage->>snapshotFromAgentPlanBlock: scan restored assistant blocks
snapshotFromAgentPlanBlock-->>ChatPage: hydrated plan snapshot
ChatPage->>agentPlanStore: clearSnapshot(sessionId)
ChatPage->>agentPlanStore: applySnapshot(snapshot)
Estimated code review effort🎯 5 (Critical) | ⏱️ ~90+ minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes
Style