Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
Merge pull request #7389 from zhaodengfeng/cindy/chat-snapshot-reaction-refresh
Lizi4c7d36482eb2
diff --cc packages/maker-shared/src/chatHistory.tsindex d1afeb5f91,b0af6c2a26..cbe8fb306d--- a/packages/maker-shared/src/chatHistory.ts+++ b/packages/maker-shared/src/chatHistory.ts@@@ -108,8 -104,8 +108,9 @@@ export function createChatHistory(inputif (/^(message\.|reaction\.|pin\.)/.test(change.type)) {if (!message) return false;if (change.type === 'reaction.changed') {+ if (state.snapshot.messages.some(m => m.id === message.id)) state.metadataDirty = true;for (const [key, ids] of Object.entries(state.pages)) if (ids.includes(message.id)) stale(state, key);+ staleLookup(state, message.id);}if (message) {merge(state, message);