Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

Merge upstream/main into cindy/serene-euclid

Chris51ef5647ba76
diff --cc apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx
index 23e0199b69,4d6f7f5eb9..c30f78850b
--- a/apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx
+++ b/apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx
@@@ -325,9 -290,7 +295,7 @@@ beforeEach(() =>
vi.clearAllMocks();
h.uuid = 0; h.inputs = {}; h.teammateQuery = ''; h.teammates = { rows: [], loading: false, failed: false };
h.appState = 'active'; h.appStateListeners.clear();
- h.platform.OS = 'ios'; h.focused = true; h.keyboardAvoidingView = null; h.headerBlur = []; h.headerFade = [];
+ h.platform.OS = 'ios'; h.focused = true; h.inputFocused = false; h.keyboardVisible = false; h.keyboardAvoidingView = null; h.headerBlur = []; h.headerFade = [];
- h.nativeViewportAvailable = false; h.nativeViewport = null; h.keyboardLift = null;
- h.nativeChatViewportAvailable = false; h.nativeChatViewport = null;
h.chat = { reload: vi.fn(), act: vi.fn(async () => ({ effects: [] })), online: true };
h.discarded = []; h.deleted = []; h.leaveGuard = []; h.leaveDecision = async () => false;
h.local = {
diff --cc apps/mobile/src/session/BotGroupChatScreen.tsx
index 8ea4059f9b,db248b65a5..cf544d5d57
--- a/apps/mobile/src/session/BotGroupChatScreen.tsx
+++ b/apps/mobile/src/session/BotGroupChatScreen.tsx
@@@ -580,15 -484,10 +485,10 @@@ export function BotGroupChatScreen({ de
<MainWindowActionButton density="compact" action={{ label: t('message.quote.remove'), onPress: () => setReplyTo(null), testID: 'botGroup.cancelReply' }} />
</View> : null}
<BotGroupComposer members={group.members} identityFor={identityFor} deviceId={deviceId} online={(chat.online || !!chat.canQueue) && !group.archived && !group.dissolvedAt}
- focusKey={replyTo?.messageId}
+ quoteMessageId={replyTo?.messageId} focusRequest={replyFocusRequest}
running={group.round.status === 'running'} planState={botGroupComposerPlanState(openBotGroupPlan(group), group.replyMode)}
divisionSupported={!chat.server && (!group.singleSpeaker || group.supportsDivision === true)} attachmentsSupported={group.supportsAttachments === true} onSend={send} onStop={stop} />
- </AnimatedContentHeight>
- </DockKeyboardLift>
- </NativeAndroidComposerAnchor>
- </KeyboardAvoidingView>
- </NativeChatViewport>
- </NativeKeyboardViewport>;
+ </KeyboardAvoidingView>;
}
return <SafeAreaView style={styles.screen} edges={floatingHeader ? ['left', 'right', 'bottom'] : ['top', 'left', 'right', 'bottom']} testID="botGroup.screen">