Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(bots): keep Cindy Make recovery actions ahead of a pending quote in the composer slot
zqchrisfed7aaf4fce2
diff --git a/apps/desktop/src/renderer/__tests__/cindyMakeInlineEntry.test.ts b/apps/desktop/src/renderer/__tests__/cindyMakeInlineEntry.test.tsindex 0e35f31834..c6317377da 100644--- a/apps/desktop/src/renderer/__tests__/cindyMakeInlineEntry.test.ts+++ b/apps/desktop/src/renderer/__tests__/cindyMakeInlineEntry.test.ts@@ -94,6 +94,8 @@ describe('Cindy Make composer presentation', () => {CindyMakeEditingActions: 'editing-actions',cindyMakeRecoveryId,session,+ sessionId: session?.id,+ pendingReplyQuote: null,remoteMakeCards: { blocked: false, handlesSession: false, supported: false },});diff --git a/apps/desktop/src/renderer/features/cc-agent/CCAgentSessionView.tsx b/apps/desktop/src/renderer/features/cc-agent/CCAgentSessionView.tsxindex ff2121b8de..3b6b570877 100644--- a/apps/desktop/src/renderer/features/cc-agent/CCAgentSessionView.tsx+++ b/apps/desktop/src/renderer/features/cc-agent/CCAgentSessionView.tsx@@ -5987,15 +5987,15 @@ function CCAgentSessionContent({aria-hidden={voiceModeOpen && voiceModeAvailable ? true : undefined}><ChatInput- topSlot={pendingReplyQuote && sessionId ? (- <BotChatQuoteComposerPreview sessionId={sessionId} quote={pendingReplyQuote}- getMessage={getQuoteMessage} names={botQuoteNames} />- ) : cindyMakeRecoveryId && session ? (+ topSlot={cindyMakeRecoveryId && session ? (<CindyMakeEditingActionskey={`${session.id}:${cindyMakeRecoveryId}`}sessionId={session.id}messageId={cindyMakeRecoveryId}/>+ ) : pendingReplyQuote && sessionId ? (+ <BotChatQuoteComposerPreview sessionId={sessionId} quote={pendingReplyQuote}+ getMessage={getQuoteMessage} names={botQuoteNames} />) : remoteMakeCards.handlesSession ? <SessionResourceCards state={remoteMakeCards} /> : undefined}onSend={handleSend}onComposerTyping={handleComposerTyping}