🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 feat(acceptance): review verdict beside title, undo send-back & embed de-dup (#17421)
Arvin Xuebfdeeaeb3cd
diff --git a/locales/en-US/verify.json b/locales/en-US/verify.jsonindex 9a52630c95c..e28616889bf 100644--- a/locales/en-US/verify.json+++ b/locales/en-US/verify.json@@ -125,6 +125,7 @@"acceptance.review.rejectPlaceholder": "What is wrong, and what do you expect instead…","acceptance.review.rejectedHint": "You rejected this check — the next round reads your feedback.","acceptance.review.removeRegion": "Remove this region",+ "acceptance.review.revertToAccept": "Undo send-back · mark accepted","acceptance.review.revertToReject": "Change to reject with comment","acceptance.review.supplement": "Additional notes (optional)","acceptance.review.zoomIn": "Zoom in",diff --git a/locales/zh-CN/verify.json b/locales/zh-CN/verify.jsonindex 7fb2ab91816..e9cf3095678 100644--- a/locales/zh-CN/verify.json+++ b/locales/zh-CN/verify.json@@ -125,6 +125,7 @@"acceptance.review.rejectPlaceholder": "哪里不对、你期望的是什么…","acceptance.review.rejectedHint": "你已拒绝该项——下一轮将读取你的反馈。","acceptance.review.removeRegion": "删除该圈选",+ "acceptance.review.revertToAccept": "撤销打回 · 改为验收通过","acceptance.review.revertToReject": "改为拒绝并评论","acceptance.review.supplement": "补充说明(可选)","acceptance.review.zoomIn": "放大",diff --git a/packages/locales/src/default/verify.ts b/packages/locales/src/default/verify.tsindex 174951ca9dd..19525381009 100644--- a/packages/locales/src/default/verify.ts+++ b/packages/locales/src/default/verify.ts@@ -142,6 +142,7 @@ export default {'acceptance.review.rejectPlaceholder': 'What is wrong, and what do you expect instead…','acceptance.review.rejectedHint': 'You rejected this check — the next round reads your feedback.','acceptance.review.removeRegion': 'Remove this region',+ 'acceptance.review.revertToAccept': 'Undo send-back · mark accepted','acceptance.review.revertToReject': 'Change to reject with comment','acceptance.review.supplement': 'Additional notes (optional)','acceptance.requirementEmpty': 'No acceptance goal recorded for this subject yet.',diff --git a/src/features/Conversation/ComposerDraftReceiver.test.tsx b/src/features/Conversation/ComposerDraftReceiver.test.tsxnew file mode 100644index 00000000000..af7a351b578--- /dev/null+++ b/src/features/Conversation/ComposerDraftReceiver.test.tsx@@ -0,0 +1,55 @@+import { act, render } from '@testing-library/react';+import { beforeEach, describe, expect, it, vi } from 'vitest';++import { draftToMainComposer, useComposerDraftBus } from './composerDraftBus';+import ComposerDraftReceiver from './ComposerDraftReceiver';++const mocks = vi.hoisted(() => ({+ editor: null as null | { focus: ReturnType<typeof vi.fn>; setDocument: ReturnType<typeof vi.fn> },+ updateInputMessage: vi.fn(),+}));++vi.mock('./store', () => ({+ useConversationStore: (selector: (s: unknown) => unknown) =>+ selector({ editor: mocks.editor, updateInputMessage: mocks.updateInputMessage }),+}));++describe('ComposerDraftReceiver', () => {+ beforeEach(() => {+ useComposerDraftBus.setState({ attached: false, draft: null });+ mocks.editor = null;+ mocks.updateInputMessage.mockClear();+ });++ it('attaches the bus only while a live editor is mounted', () => {+ mocks.editor = { focus: vi.fn(), setDocument: vi.fn() };+ const { unmount } = render(<ComposerDraftReceiver />);+ expect(useComposerDraftBus.getState().attached).toBe(true);++ unmount();+ expect(useComposerDraftBus.getState().attached).toBe(false);+ });++ it('applies a posted draft: setDocument + inputMessage sync + focus, then clears it', () => {+ mocks.editor = { focus: vi.fn(), setDocument: vi.fn() };+ render(<ComposerDraftReceiver />);++ let ok = false;+ act(() => {+ ok = draftToMainComposer('please fix X');+ });++ expect(ok).toBe(true);+ expect(mocks.editor.setDocument).toHaveBeenCalledWith('markdown', 'please fix X');+ // P1 regression: setDocument alone leaves Send disabled — inputMessage must sync.+ expect(mocks.updateInputMessage).toHaveBeenCalledWith('please fix X');+ expect(mocks.editor.focus).toHaveBeenCalled();+ expect(useComposerDraftBus.getState().draft).toBeNull();+ });++ it('stays detached without an editor, so posting reports failure', () => {+ render(<ComposerDraftReceiver />);+ expect(useComposerDraftBus.getState().attached).toBe(false);+ expect(draftToMainComposer('text')).toBe(false);+ });+});diff --git a/src/features/Conversation/ComposerDraftReceiver.tsx b/src/features/Conversation/ComposerDraftReceiver.tsxnew file mode 100644index 00000000000..10bbd591b95--- /dev/null+++ b/src/features/Conversation/ComposerDraftReceiver.tsx@@ -0,0 +1,43 @@+'use client';++import { memo, useEffect } from 'react';++import { useComposerDraftBus } from './composerDraftBus';+import { useConversationStore } from './store';++/**+ * Renders nothing — consumes composerDraftBus drafts into the live composer.+ * Must live inside ConversationProvider (it reads the context store); posters+ * live outside it, which is the whole point of the bus. Mount it once next to+ * ExposeMainEditor in the conversation area, not in the shared ChatInput —+ * AgentBuilder / FloatingChatPanel render that same input and would steal+ * drafts meant for the main conversation.+ */+const ComposerDraftReceiver = memo(() => {+ const editor = useConversationStore((s) => s.editor);+ const updateInputMessage = useConversationStore((s) => s.updateInputMessage);+ const draft = useComposerDraftBus((s) => s.draft);++ useEffect(() => {+ useComposerDraftBus.setState({ attached: Boolean(editor) });+ return () => {+ useComposerDraftBus.setState({ attached: false });+ };+ }, [editor]);++ useEffect(() => {+ if (!draft || !editor) return;+ // setDocument alone does not fire the change handler that keeps+ // inputMessage in sync — Send would stay disabled (see restoreToInput).+ editor.setDocument('markdown', draft.text);+ updateInputMessage(draft.text);+ editor.focus();+ useComposerDraftBus.setState({ draft: null });+ }, [draft, editor, updateInputMessage]);++ return null;+});++ComposerDraftReceiver.displayName = 'ComposerDraftReceiver';++export default ComposerDraftReceiver;diff --git a/src/features/Conversation/composerDraftBus.ts b/src/features/Conversation/composerDraftBus.tsnew file mode 100644index 00000000000..425bc346195--- /dev/null+++ b/src/features/Conversation/composerDraftBus.ts@@ -0,0 +1,36 @@+import { createWithEqualityFn } from 'zustand/traditional';++/**+ * A plain GLOBAL bridge into the main conversation composer, for surfaces that+ * render OUTSIDE the ConversationProvider (the chat portal pane is a layout+ * sibling of the conversation column, not a descendant). Such a surface must+ * never call `useConversationStore` — zustand-utils throws "have not used+ * zustand provider as an ancestor" and the error boundary eats the whole page.+ *+ * Shape mirrors MessageFromUrl: the outsider only posts a signal here; a+ * receiver mounted INSIDE the provider (ComposerDraftReceiver) applies it to+ * the editor + input state, where both are legally reachable.+ */+interface ComposerDraftBusState {+ /** A receiver with a live editor is mounted and will consume drafts. */+ attached: boolean;+ /** The pending draft, cleared by the receiver once applied. */+ draft: { text: string } | null;+}++export const useComposerDraftBus = createWithEqualityFn<ComposerDraftBusState>()(() => ({+ attached: false,+ draft: null,+}));++/**+ * Post a draft for the main composer. Returns false when no composer is+ * listening (portal open on a surface without a conversation) so the caller+ * can skip its success feedback — same contract the portal previously got+ * from a null editor.+ */+export const draftToMainComposer = (text: string): boolean => {+ if (!useComposerDraftBus.getState().attached) return false;+ useComposerDraftBus.setState({ draft: { text } });+ return true;+};diff --git a/src/features/Portal/Acceptance/Body.test.tsx b/src/features/Portal/Acceptance/Body.test.tsxindex e49c41e8c83..748202feb97 100644--- a/src/features/Portal/Acceptance/Body.test.tsx+++ b/src/features/Portal/Acceptance/Body.test.tsx@@ -1,13 +1,12 @@import { render } from '@testing-library/react';-import { describe, expect, it, vi } from 'vitest';+import { beforeEach, describe, expect, it, vi } from 'vitest';++import { draftToMainComposer, useComposerDraftBus } from '@/features/Conversation/composerDraftBus';import Body from './Body';const mocks = vi.hoisted(() => ({captured: { onDraftToComposer: undefined as undefined | ((text: string) => boolean) },- editor: { focus: vi.fn(), setDocument: vi.fn() } as { focus: any; setDocument: any } | null,- state: {} as { editor: unknown; updateInputMessage: (m: string) => void },- updateInputMessage: vi.fn(),}));vi.mock('@/store/chat', () => ({@@ -18,8 +17,14 @@ vi.mock('@/store/chat/selectors', () => ({chatPortalSelectors: { acceptancePortalId: () => 'acc-1' },}));+// P0 regression (blank "页面暂时不可用" crash): the portal pane is a layout+// sibling of the conversation column, OUTSIDE ConversationProvider — Body must+// never read the context store. Mock it as throwing, exactly like+// zustand-utils does without a provider ancestor; rendering Body must survive.vi.mock('@/features/Conversation/store', () => ({- useConversationStore: (selector: (s: typeof mocks.state) => unknown) => selector(mocks.state),+ useConversationStore: () => {+ throw new Error('Seems like you have not used zustand provider as an ancestor.');+ },}));vi.mock('@/features/Verify', () => ({@@ -29,30 +34,33 @@ vi.mock('@/features/Verify', () => ({},}));-describe('Portal Acceptance Body — draftToComposer', () => {- it('drafts into the composer AND syncs inputMessage so Send enables', () => {- const editor = { focus: vi.fn(), setDocument: vi.fn() };- mocks.state = { editor, updateInputMessage: mocks.updateInputMessage };+describe('Portal Acceptance Body — draftToComposer via the global bus', () => {+ beforeEach(() => {+ useComposerDraftBus.setState({ attached: false, draft: null });+ });++ it('renders outside ConversationProvider without touching the context store', () => {+ expect(() => render(<Body />)).not.toThrow();+ // The poster is the plain bus function — no context-store closure involved.+ expect(mocks.captured.onDraftToComposer).toBe(draftToMainComposer);+ });++ it('posts the draft to the bus when a receiver is attached', () => {+ useComposerDraftBus.setState({ attached: true });render(<Body />);const ok = mocks.captured.onDraftToComposer?.('please fix X');expect(ok).toBe(true);- expect(editor.setDocument).toHaveBeenCalledWith('markdown', 'please fix X');- // P1 regression: setDocument alone does not fire the change handler, leaving- // Send disabled — the owning input state must be synced explicitly.- expect(mocks.updateInputMessage).toHaveBeenCalledWith('please fix X');- expect(editor.focus).toHaveBeenCalled();+ expect(useComposerDraftBus.getState().draft).toEqual({ text: 'please fix X' });});- it('reports failure (so the caller skips its toast) when no composer is mounted', () => {- mocks.updateInputMessage.mockClear();- mocks.state = { editor: null, updateInputMessage: mocks.updateInputMessage };+ it('reports failure (so the caller skips its toast) when no composer is listening', () => {render(<Body />);const ok = mocks.captured.onDraftToComposer?.('please fix X');expect(ok).toBe(false);- expect(mocks.updateInputMessage).not.toHaveBeenCalled();+ expect(useComposerDraftBus.getState().draft).toBeNull();});});diff --git a/src/features/Portal/Acceptance/Body.tsx b/src/features/Portal/Acceptance/Body.tsxindex da47ddd7301..57649994b06 100644--- a/src/features/Portal/Acceptance/Body.tsx+++ b/src/features/Portal/Acceptance/Body.tsx@@ -1,33 +1,19 @@-import { memo, useCallback } from 'react';+import { memo } from 'react';-import { useConversationStore } from '@/features/Conversation/store';+import { draftToMainComposer } from '@/features/Conversation/composerDraftBus';import { AcceptanceViewer } from '@/features/Verify';import { useChatStore } from '@/store/chat';import { chatPortalSelectors } from '@/store/chat/selectors';const Body = memo(() => {const acceptanceId = useChatStore(chatPortalSelectors.acceptancePortalId);- // The portal renders beside the live conversation composer (inside its- // ConversationProvider), so a send-back can draft straight into that composer.- const editor = useConversationStore((s) => s.editor);- const updateInputMessage = useConversationStore((s) => s.updateInputMessage);- // Draft text into the composer AND sync ConversationStore.inputMessage — the- // send button reads that field, and `editor.setDocument` alone does not fire- // the change handler that keeps it in sync (see restoreToInput). Returns false- // when the composer isn't mounted so the caller can skip its success toast.- const draftToComposer = useCallback(- (text: string) => {- if (!editor) return false;- editor.setDocument('markdown', text);- updateInputMessage(text);- editor.focus();- return true;- },- [editor, updateInputMessage],- );-- return <AcceptanceViewer acceptanceId={acceptanceId} onDraftToComposer={draftToComposer} />;+ // The portal pane is a layout SIBLING of the conversation column, not a+ // descendant of its ConversationProvider — reading useConversationStore here+ // throws ("no zustand provider as an ancestor") and blanks the page. Drafts+ // go through the global composerDraftBus; ComposerDraftReceiver applies them+ // inside the provider (setDocument + inputMessage sync + focus).+ return <AcceptanceViewer acceptanceId={acceptanceId} onDraftToComposer={draftToMainComposer} />;});export default Body;diff --git a/src/features/Verify/Acceptance/CheckList.tsx b/src/features/Verify/Acceptance/CheckList.tsxindex 04248d7320c..726077457df 100644--- a/src/features/Verify/Acceptance/CheckList.tsx+++ b/src/features/Verify/Acceptance/CheckList.tsx@@ -796,27 +796,21 @@ const CheckRow = memo<{<Tag size={'small'}>{t('acceptance.checks.notRequired')}</Tag></Tooltip>)}- </Flexbox>- <Flexbox horizontal align={'center'} gap={6}>- {/* An accept on a NON-passed verdict can't merge into the head icon- (the failed/uncertain mark must stay visible) — mark it here. */}- {reviewState === 'accepted' && check.state !== 'passed' && (- <Tooltip- title={t('acceptance.review.acceptedNote', {- time: dayjs(check.userReview!.createdAt).format('MM-DD HH:mm'),- })}- >- <Icon color={cssVar.colorTextQuaternary} icon={BadgeCheck} size={14} />- </Tooltip>- )}+ {/* The verdict pair travels WITH the title, not adrift at the row's+ far right: the claim you judge and the judgement you give land in+ one glance, so a long checklist needs no eye round-trip across the+ row (and no mis-click onto a neighbour's buttons). */}{reviewable && reviewState === 'pending' && (<Flexboxhorizontalalign={'center'}className={cx(styles.rowActions, 'acceptance-row-actions')}gap={2}- // The accept spinner must stay visible after the pointer leaves.- style={accepting ? { opacity: 1 } : undefined}+ style={{+ // The accept spinner must stay visible after the pointer leaves.+ ...(accepting ? { opacity: 1 } : undefined),+ flex: 'none',+ }}><ActionIcondisabled={reviewPending && !accepting}@@ -838,6 +832,19 @@ const CheckRow = memo<{/></Flexbox>)}+ </Flexbox>+ <Flexbox horizontal align={'center'} gap={6}>+ {/* An accept on a NON-passed verdict can't merge into the head icon+ (the failed/uncertain mark must stay visible) — mark it here. */}+ {reviewState === 'accepted' && check.state !== 'passed' && (+ <Tooltip+ title={t('acceptance.review.acceptedNote', {+ time: dayjs(check.userReview!.createdAt).format('MM-DD HH:mm'),+ })}+ >+ <Icon color={cssVar.colorTextQuaternary} icon={BadgeCheck} size={14} />+ </Tooltip>+ )}{EVIDENCE_BADGES.map(({ icon, key, labelKey }) =>counts[key] ? (<Tooltip key={key} title={t(labelKey, { count: counts[key] })}>@@ -933,8 +940,9 @@ const CheckRow = memo<{)}{/* The user's standing feedback hangs right under the evidence it- judges. An accept keeps an undo path — the signature line gains a- quiet "change to reject" escape, feedback then flows as usual. */}+ judges. BOTH verdicts keep an undo path — a mis-click is the most+ likely way either happens, and a send-back the user didn't mean+ otherwise costs a whole repair round to walk back. */}{activeReview &&(activeReview.action === 'accept' ? (<Flexbox horizontal align={'center'} gap={8}>@@ -954,7 +962,25 @@ const CheckRow = memo<{)}</Flexbox>) : (- <FeedbackCard evidenceById={evidenceById} review={activeReview} />+ <Flexbox gap={6}>+ <FeedbackCard evidenceById={evidenceById} review={activeReview} />+ {/* The mirror of the accept escape: take the send-back back.+ A fresh accept supersedes the reject, so the check leaves+ 待修复 and the feedback drops out of the next round's input. */}+ {reviewable && (+ <Flexbox horizontal>+ <Button+ disabled={reviewPending && !accepting}+ loading={accepting}+ size={'small'}+ type={'text'}+ onClick={handleAccept}+ >+ {t('acceptance.review.revertToAccept')}+ </Button>+ </Flexbox>+ )}+ </Flexbox>))}{/* Confirm (plain filled) anchors the right edge; reject is thediff --git a/src/features/Verify/Acceptance/DecisionBar.tsx b/src/features/Verify/Acceptance/DecisionBar.tsxindex 37b8177c3c6..fdf4b4c30ba 100644--- a/src/features/Verify/Acceptance/DecisionBar.tsx+++ b/src/features/Verify/Acceptance/DecisionBar.tsx@@ -4,7 +4,7 @@ import { Flexbox, Icon, Text } from '@lobehub/ui';import { Button } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import { BadgeCheck, CircleAlert, ListTodo, Loader2, RefreshCw, RotateCcw } from 'lucide-react';-import { memo } from 'react';+import { memo, useEffect, useRef } from 'react';import { useTranslation } from 'react-i18next';const styles = createStaticStyles(({ css }) => ({@@ -27,6 +27,28 @@ const styles = createStaticStyles(({ css }) => ({background: ${cssVar.colorBgElevated};box-shadow: ${cssVar.boxShadowTertiary};`,+ // The completion mark springs in the instant review finishes — the felt beat+ // the abrupt ring→disc swap never had, landing at the decision bar where the+ // user's next action (accept / send back) already is, not behind a filter.+ completePop: css`+ @keyframes acceptance-decision-complete-pop {+ 0% {+ transform: scale(0.5);+ opacity: 0;+ }++ 55% {+ transform: scale(1.18);+ }++ 100% {+ transform: scale(1);+ opacity: 1;+ }+ }++ animation: acceptance-decision-complete-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;+ `,}));type BarState = 'accepted' | 'live' | 'rejected' | 'settled';@@ -99,6 +121,13 @@ ProgressRing.displayName = 'AcceptanceProgressRing';interface DecisionBarProps {/** Checks the user has signed off, of `totalCount` reviewable ones. */acceptedCount: number;+ /**+ * Rendered as the in-chat portal embed. The send-back there drafts the repair+ * prompt straight into the composer sitting beside it, which makes "copy the+ * review" a redundant second way to move the same text — drop it and leave+ * one send-back path.+ */+ embedded?: boolean;/** Active (not-yet-consumed) feedback recorded this round. */feedbackCount: number;/** Checks the user reviewed as needing a fix (待修复) — decided, not pending. */@@ -136,6 +165,7 @@ interface DecisionBarProps {const DecisionBar = memo<DecisionBarProps>(({acceptedCount,+ embedded,feedbackCount,needsFixCount,onAccept,@@ -176,6 +206,18 @@ const DecisionBar = memo<DecisionBarProps>(const settledNeedsFix =state === 'settled' && !allConfirmed && decidedCount >= totalCount && needsFixCount > 0;+ // Pop the completion mark only on the real IN-SESSION transition into a+ // finished review — never on mount-when-already-done (revisiting a settled+ // acceptance) and never on an unrelated re-render. Seed the ref to `null`+ // so the first render (whatever its state) is treated as the baseline, not+ // a transition: `prev === false && now` is the one edge that fires.+ const reviewComplete = allConfirmed || settledNeedsFix;+ const prevComplete = useRef<boolean | null>(null);+ const justCompleted = prevComplete.current === false && reviewComplete;+ useEffect(() => {+ prevComplete.current = reviewComplete;+ }, [reviewComplete]);+return (<div className={styles.bar}>{stateMeta ? (@@ -189,9 +231,21 @@ const DecisionBar = memo<DecisionBarProps>(/>) : allConfirmed ? (// Every check signed off — the same clean badge the accepted state carries.- <Icon color={cssVar.colorSuccess} icon={BadgeCheck} size={22} style={{ flex: 'none' }} />+ <Icon+ className={justCompleted ? styles.completePop : undefined}+ color={cssVar.colorSuccess}+ icon={BadgeCheck}+ size={22}+ style={{ flex: 'none' }}+ />) : settledNeedsFix ? (- <Icon color={cssVar.colorWarning} icon={CircleAlert} size={22} style={{ flex: 'none' }} />+ <Icon+ className={justCompleted ? styles.completePop : undefined}+ color={cssVar.colorWarning}+ icon={CircleAlert}+ size={22}+ style={{ flex: 'none' }}+ />) : (<ProgressRing done={decidedCount} total={totalCount} />)}@@ -220,8 +274,9 @@ const DecisionBar = memo<DecisionBarProps>()}{/* A dispatched send-back (repairing) keeps the copy entry alive —- the reviewer may still hand the prompt to another agent. */}- {state === 'live' && hasFeedback && (+ the reviewer may still hand the prompt to another agent. Embedded,+ the composer beside it already receives the draft. */}+ {state === 'live' && hasFeedback && !embedded && (<Button disabled={pending} style={{ flex: 'none' }} type={'fill'} onClick={onCopyReview}>{t('acceptance.bar.copyReview')}</Button>@@ -232,14 +287,16 @@ const DecisionBar = memo<DecisionBarProps>(// Feedback is queued — the delivery isn't being accepted now; the// bar's job is getting the repair round started.<>- <Button- disabled={pending}- style={{ flex: 'none' }}- type={'fill'}- onClick={onCopyReview}- >- {t('acceptance.bar.copyReview')}- </Button>+ {!embedded && (+ <Button+ disabled={pending}+ style={{ flex: 'none' }}+ type={'fill'}+ onClick={onCopyReview}+ >+ {t('acceptance.bar.copyReview')}+ </Button>+ )}{rerunAvailable && (<Buttondisabled={pending}diff --git a/src/features/Verify/Acceptance/index.tsx b/src/features/Verify/Acceptance/index.tsxindex c0ff727047a..146a04a2c01 100644--- a/src/features/Verify/Acceptance/index.tsx+++ b/src/features/Verify/Acceptance/index.tsx@@ -1034,6 +1034,7 @@ const AcceptancePage = memo<AcceptancePageProps>({isOwner && (<DecisionBaracceptedCount={acceptedCount}+ embedded={isEmbedded}feedbackCount={activeFeedbackCount}needsFixCount={needsFixCount}pending={pending}diff --git a/src/routes/(main)/agent/features/Conversation/ConversationArea.tsx b/src/routes/(main)/agent/features/Conversation/ConversationArea.tsxindex f37732202a4..46f51b5642b 100644--- a/src/routes/(main)/agent/features/Conversation/ConversationArea.tsx+++ b/src/routes/(main)/agent/features/Conversation/ConversationArea.tsx@@ -10,6 +10,7 @@ import { useBusinessConversationAnalytics } from '@/business/client/hooks/useBusimport AgentHome from '@/features/AgentHome';import ChatMiniMap from '@/features/ChatMiniMap';import { ChatList, ConversationProvider } from '@/features/Conversation';+import ComposerDraftReceiver from '@/features/Conversation/ComposerDraftReceiver';import { useChatFollowUp } from '@/features/Conversation/hooks/useChatFollowUp';import {ForwardMessageDispatcher,@@ -163,6 +164,7 @@ const Conversation = memo(() => {</MessageForwardFooter>)}<ExposeMainEditor />+ <ComposerDraftReceiver /><ThreadHydration /><ChatMiniMap /><ForwardMessageDispatcher />