Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
feat(mobile): 将推荐提示改为输入框外浮动胶囊 (#4710)
Dash7c1c004a5393
diff --git a/apps/mobile/app/sessions/[sessionId].tsx b/apps/mobile/app/sessions/[sessionId].tsxindex 36063afb8a..6843638272 100644--- a/apps/mobile/app/sessions/[sessionId].tsx+++ b/apps/mobile/app/sessions/[sessionId].tsx@@ -77,6 +77,8 @@ import { ScreenBackButton } from '@/components/MobilePrimitives';import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context';import { useAuth } from '@/auth/AuthContext';import { usePromptRecommendation } from '@/session/usePromptRecommendation';+import { PromptRecommendation } from '@/session/PromptRecommendation';+import { usePromptRecommendationVisibility } from '@/session/usePromptRecommendationVisibility';import { useGuardedBack } from '@/utils/useGuardedBack';import { useGuardedPush } from '@/utils/useGuardedPush';import { DEVICE_LINK_API_BASE_URL, MOBILE_VISUAL_MOCK_ENABLED } from '@/config/env';@@ -1382,6 +1384,8 @@ export default function SessionScreen() {}};}, [sessionId, removePendingUpload]);+ // 排队编辑复用 composer;推荐只属于用户的普通草稿。+ const [queueEditing, setQueueEditing] = useState<QueueEditingState | null>(null);const [voiceStartPending, setVoiceStartPending] = useState(false);const voiceStartPendingSeqRef = useRef(0);const voiceStartedOnPressInRef = useRef(false);@@ -1391,6 +1395,7 @@ export default function SessionScreen() {agentKind: recommendationSession ? agentKindForSession(recommendationSession) : null,revision: recommendationSession?.lastTurnEndedAt, running: remoteSessionRunning,composerSource: composerDraftSource,+ queueEditing: queueEditing !== null,hasAttachments: attachments.length > 0 || pendingUploads.length > 0 || pastePlaceholderCount > 0,hasTerminalError: remoteSessionRunStatus.hasTerminalError === true,voiceIsBusy: voiceStartPending || voiceState === 'listening'@@ -1421,7 +1426,6 @@ export default function SessionScreen() {// 排队消息「复用 composer 编辑」态:进入时把队列条目的文本/附件载入 composer,// 暂存(stash)用户原本的草稿与附件托盘,退出(保存/放弃/条目消失)时恢复。// ref 镜像供 send() 等异步闭包读最新值。- const [queueEditing, setQueueEditing] = useState<QueueEditingState | null>(null);const queueEditingRef = useRef<QueueEditingState | null>(null);// 会话切换 cleanup(声明在前)引用组件后段的回收函数,经 ref 断开声明顺序依赖。const discardQueueEditTransientAttachmentResourcesRef = useRef<@@ -10345,7 +10349,7 @@ interface SessionComposerControls {}interface SessionComposerInputProps {promptRecommendation?: string | null;- onDismissPromptRecommendation?: () => void;+ onDismissPromptRecommendation: () => void;source: ComposerDraftSource;sessionId: string;composerInputRef: RefObject<ComposerRichInputHandle | null>;@@ -10371,7 +10375,7 @@ interface SessionComposerInputProps {pendingUploadCount: number;visualFocusComposer: boolean;applyRichComposerChange: (value: ComposerDocument) => void;- setComposerDraft: (value: string) => void;+ setComposerDraft: (value: SetStateAction<string>) => void;handleComposerInputPressIn: () => void;onPasteImages: (uris: string[]) => void;beginPastePlaceholders: (count: number) => void;@@ -10413,11 +10417,6 @@ function SessionComposerInput({// 引用已是 ComposerDocument 内的 atom;排队编辑同样可能只有引用而没有可见// 文本,因此必须计入 payload,否则「保存修改」会被错误禁用。const composerQuoteCount = composerDocumentQuotes(composerDocument).length;- const visibleRecommendation = promptRecommendation- && !draft.trim() && !composerQuoteCount && !attachmentCount && !pendingUploadCount- && canUseComposer && !canStopComposer && !sending && !queueBusy- && !voiceIsBusy && !voiceStartPending- ? promptRecommendation : null;// Context 面板是 Modal sheet,不再有内联附件面板 → attachmentPickerOpen 恒 false。const composerLayout = useMemo(() => buildSessionComposerLayout({attachmentBusy: false,@@ -10505,6 +10504,18 @@ function SessionComposerInput({|| permissionSheetOpen|| voiceIsBusy|| composerVoiceHoldActive;+ const recommendationPresentation = usePromptRecommendationVisibility(sessionId, draft, composerCardActive);+ const visibleRecommendation = promptRecommendation && recommendationPresentation.visible+ && !composerQuoteCount && !attachmentCount && !pendingUploadCount+ && canUseComposer && !canStopComposer && !sending && !queueBusy+ && !voiceIsBusy && !voiceStartPending && !modelSheetOpen && !permissionSheetOpen+ ? promptRecommendation : null;+ const acceptRecommendation = useCallback(() => {+ if (!promptRecommendation) return;+ recommendationPresentation.hide();+ setComposerDraft((current) => current ? `${current}\n${promptRecommendation}` : promptRecommendation);+ composerInputRef.current?.focus();+ }, [promptRecommendation, recommendationPresentation.hide, setComposerDraft, composerInputRef]);useComposerCardTransition(composerCardActive, keyboardState);const composerChromeHeight = useMemo(() => {const statusReserve = voiceStatusVisible@@ -10700,6 +10711,17 @@ function SessionComposerInput({const controls = renderControls({ composerLayout, composerSendUnavailableReason, composerStopDisabledReason, composerStopDisabled, composerShowInlineStop, composerSendSlotIsStop, composerShowSendButton, composerSendDisabled, voiceIsListening, voiceIsProcessing, voiceIsBusy, voiceRecordingTimer, composerVoicePlacement });return (+ <>+ {visibleRecommendation ? (+ <View style={{ paddingHorizontal: composerTouchLayout.composerPaddingHorizontal }}>+ <PromptRecommendation+ key={`${sessionId}:${visibleRecommendation}`}+ prompt={visibleRecommendation}+ onAccept={acceptRecommendation}+ onDismiss={onDismissPromptRecommendation}+ />+ </View>+ ) : null}<Reanimated.Viewstyle={[styles.composer,@@ -10739,6 +10761,7 @@ function SessionComposerInput({) : null}{/* Keep UIKit's shadow outside the scrolling viewport's rectangular clip. */}<ComposerFrame+ onTouchStart={recommendationPresentation.hide}expanded={composerCardActive}unframed={!nativeComposerFrameAvailable}style={styles.composerScrollFrame}@@ -10758,32 +10781,6 @@ function SessionComposerInput({styles.composerSurface,compactComposer && !composerCardActive && styles.composerSurfaceCompact,]}>- {visibleRecommendation ? (- <View style={styles.promptRecommendationRow} testID="session.promptRecommendation">- <Pressable- accessibilityRole="button"- accessibilityLabel={visibleRecommendation}- onPress={() => { onDismissPromptRecommendation?.(); setComposerDraft(visibleRecommendation); composerInputRef.current?.focus(); }}- style={styles.promptRecommendationAction}- >- <Sparkles color={colors.statusAccent} size={iconSize.md} strokeWidth={iconStroke.regular} />- <Text numberOfLines={3} style={styles.promptRecommendationText}>- {visibleRecommendation}- </Text>- <ChevronRight color={colors.textSecondary} size={iconSize.md} strokeWidth={iconStroke.regular} />- </Pressable>- <Pressable- accessibilityLabel={t('session.common.dismissRecommendation')}- accessibilityRole="button"- hitSlop={COMPOSER_CONTROL_HIT_SLOP}- onPress={onDismissPromptRecommendation}- style={styles.promptRecommendationDismiss}- testID="session.promptRecommendationDismiss"- >- <X color={colors.textSecondary} size={iconSize.md} strokeWidth={iconStroke.regular} />- </Pressable>- </View>- ) : null}<MobileComposerInputRowkey={sessionId}frameOutside={nativeComposerFrameAvailable}@@ -10876,6 +10873,7 @@ function SessionComposerInput({</GestureDetector></ComposerFrame></Reanimated.View>+ </>);}@@ -11949,39 +11947,6 @@ const makeStyles = (colors: ThemeColors) => StyleSheet.create({...StyleSheet.absoluteFill,overflow: 'hidden',},- promptRecommendationRow: {- alignItems: 'center',- flexDirection: 'row',- marginBottom: spacing.sm,- minHeight: MOBILE_COMPOSER_MIN_TOUCH_TARGET,- },- promptRecommendationAction: {- minHeight: MOBILE_COMPOSER_MIN_TOUCH_TARGET,- alignItems: 'center',- // Use the base surface so the recommendation reads as a distinct inset card- // inside the lighter composer frame in both themes.- backgroundColor: colors.surface,- borderColor: colors.border,- borderRadius: radius.container,- borderWidth: 1,- flex: 1,- flexDirection: 'row',- minWidth: 0,- paddingHorizontal: spacing.md,- paddingVertical: spacing.sm,- },- promptRecommendationText: {- ...MOBILE_COMPOSER_DRAFT_TEXT_STYLE,- color: colors.textPrimary,- flex: 1,- marginHorizontal: spacing.sm,- },- promptRecommendationDismiss: {- alignItems: 'center',- justifyContent: 'center',- height: MOBILE_COMPOSER_MIN_TOUCH_TARGET,- width: MOBILE_COMPOSER_MIN_TOUCH_TARGET,- },// 草稿滚动层填满外层触摸区(外层负责「点输入区停听写」,自身 pointerEvents 关闭)。voiceDraftScroll: {flex: 1,diff --git a/apps/mobile/src/__tests__/PromptRecommendation.test.tsx b/apps/mobile/src/__tests__/PromptRecommendation.test.tsxnew file mode 100644index 0000000000..a688f5ce80--- /dev/null+++ b/apps/mobile/src/__tests__/PromptRecommendation.test.tsx@@ -0,0 +1,135 @@+// @vitest-environment jsdom+import { act, createElement } from 'react';+import { createRoot, type Root } from 'react-dom/client';+import { afterEach, beforeEach, expect, it, vi } from 'vitest';+import { PromptRecommendation } from '@/session/PromptRecommendation';++const mocks = vi.hoisted(() => ({+ handlers: {} as Record<string, (...args: any[]) => void>,+ button: {} as Record<string, any>,+ reduceMotion: false as boolean | null,+ timings: [] as Array<{ duration: number }>,+ x: null as { value: number } | null,+ deferAnimation: false,+ pendingAnimation: null as ((finished: boolean) => void) | null,+}));+vi.mock('react-native', async () => {+ const { createElement } = await import('react');+ return {+ Pressable: (props: any) => { mocks.button = props; return createElement('button', { onClick: props.onPress }, props.children); },+ View: (props: any) => createElement('div', {}, props.children),+ StyleSheet: { create: (value: any) => value, hairlineWidth: 1 },+ useWindowDimensions: () => ({ width: 390 }),+ };+});+vi.mock('@/components/AppText', async () => {+ const { createElement } = await import('react');+ return { Text: (props: any) => createElement('span', {}, props.children) };+});+vi.mock('lucide-react-native', () => ({ Sparkles: () => null }));+vi.mock('react-i18next', () => ({ useTranslation: () => ({ t: (key: string) => key }) }));+vi.mock('expo-glass-effect', async () => {+ const { createElement } = await import('react');+ return { GlassView: (props: any) => createElement('div', {}, props.children) };+});+vi.mock('@/session/useLiquidGlassAvailable', () => ({ useLiquidGlassAvailable: () => true }));+vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => mocks.reduceMotion }));+vi.mock('@/theme', () => ({+ useTheme: () => ({ mode: 'light', colors: {} }),+ useThemedStyles: (make: any) => make({}),+}));+vi.mock('react-native-worklets', () => ({ scheduleOnRN: (fn: () => void) => fn() }));+vi.mock('react-native-reanimated', async () => {+ const { createElement, useRef } = await import('react');+ return {+ default: { View: (props: any) => createElement('div', {}, props.children) },+ Easing: { bezier: () => undefined },+ cancelAnimation: vi.fn(() => {+ const pending = mocks.pendingAnimation;+ mocks.pendingAnimation = null;+ pending?.(false);+ }),+ useAnimatedStyle: (fn: () => any) => fn(),+ useSharedValue: (initial: any) => {+ const ref = useRef({ value: initial });+ if (mocks.x === null) mocks.x = ref.current;+ return ref.current;+ },+ withTiming: (value: number, config: { duration: number }, done?: (finished: boolean) => void) => {+ mocks.timings.push(config);+ if (mocks.deferAnimation) mocks.pendingAnimation = done ?? null;+ else done?.(true);+ return value;+ },+ };+});+vi.mock('@/platform/gestureHandler', () => ({+ GestureDetector: ({ children }: any) => children,+ Gesture: { Pan: () => {+ const builder: Record<string, any> = {};+ for (const name of ['activeOffsetX', 'failOffsetY', 'onStart', 'onUpdate', 'onEnd', 'onFinalize']) {+ builder[name] = (value: any) => { mocks.handlers[name] = value; return builder; };+ }+ return builder;+ } },+}));++Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });+let root: Root;+let container: HTMLDivElement;+const onAccept = vi.fn();+const onDismiss = vi.fn();+async function render() {+ await act(async () => root.render(createElement(PromptRecommendation, { prompt: 'Continue work', onAccept, onDismiss })));+}+beforeEach(() => {+ vi.clearAllMocks(); mocks.x = null; mocks.timings = []; mocks.reduceMotion = false;+ mocks.deferAnimation = false; mocks.pendingAnimation = null;+ container = document.createElement('div'); root = createRoot(container);+});+afterEach(async () => { await act(async () => root.unmount()); });+function swipe(dx: number, velocityX: number, cancelled = false) {+ mocks.handlers.onStart();+ mocks.handlers.onUpdate({ translationX: dx });+ mocks.handlers.onEnd({ velocityX }, !cancelled);+ mocks.handlers.onFinalize();+}++it('tap accepts without dismissing, with a separate accessible dismiss action', async () => {+ await render();+ await act(async () => container.querySelector('button')!.click());+ expect(onAccept).toHaveBeenCalledOnce(); expect(onDismiss).not.toHaveBeenCalled();+ mocks.button.onAccessibilityAction({ nativeEvent: { actionName: 'dismiss' } });+ expect(onDismiss).toHaveBeenCalledOnce();+});++it.each([-1, 1])('dismisses a long swipe in direction %s and ignores a following tap', async (direction) => {+ await render(); swipe(direction * 110, 0);+ expect(onDismiss).toHaveBeenCalledOnce();+ expect(mocks.x!.value).toBe(direction * 390);+ mocks.button.onPress(); expect(onAccept).not.toHaveBeenCalled();+});++it('preserves a committed swipe when hiding cancels the exit animation', async () => {+ mocks.deferAnimation = true;+ await render(); swipe(110, 0);+ expect(onDismiss).not.toHaveBeenCalled();+ await act(async () => root.render(null));+ expect(onDismiss).toHaveBeenCalledOnce();+ await render();+ expect(onDismiss).toHaveBeenCalledOnce();+});++it('accepts a short fast flick but returns a short slow swipe and a cancelled drag', async () => {+ await render(); swipe(20, 0);+ expect(onDismiss).not.toHaveBeenCalled(); expect(mocks.x!.value).toBe(0);+ swipe(120, 800, true);+ expect(onDismiss).not.toHaveBeenCalled(); expect(mocks.x!.value).toBe(0);+ swipe(-30, -800); expect(onDismiss).toHaveBeenCalledOnce();+});++it.each([true, null])('does not animate dismissal when reduced motion is %s', async (preference) => {+ mocks.reduceMotion = preference; await render(); swipe(120, 0);+ expect(onDismiss).toHaveBeenCalledOnce();+ expect(mocks.timings.at(-1)?.duration).toBe(0);+});diff --git a/apps/mobile/src/__tests__/usePromptRecommendation.test.tsx b/apps/mobile/src/__tests__/usePromptRecommendation.test.tsxindex 70ee32da6c..cb56cf6337 100644--- a/apps/mobile/src/__tests__/usePromptRecommendation.test.tsx+++ b/apps/mobile/src/__tests__/usePromptRecommendation.test.tsx@@ -33,6 +33,34 @@ it('historical navigation only requests a cached host result', async () => {expect(value.prompt).toBe('Suggested next step');});+it.each(['queueEditing', 'hasAttachments', 'voiceIsBusy'] as const)(+ 'defers prediction and hides retained results while %s is active', async (blocker) => {+ await render({ [blocker]: true }); await advance();+ expect(request).not.toHaveBeenCalled();+ expect(value.prompt).toBeNull();+ await render({ [blocker]: false }); await advance();+ expect(request).toHaveBeenCalledTimes(1);+ expect(value.prompt).toBe('Suggested next step');+ await render({ [blocker]: true }); await advance();+ expect(value.prompt).toBeNull();+ await render({ [blocker]: false }); await advance();+ expect(value.prompt).toBe('Suggested next step');+ expect(request).toHaveBeenCalledTimes(1);+});++it.each(['queueEditing', 'hasAttachments', 'voiceIsBusy'] as const)(+ 'hides a prediction that resolves after %s begins', async (blocker) => {+ let resolve!: (result: { prompt: string }) => void;+ request.mockImplementationOnce(() => new Promise((done) => { resolve = done; }));+ await render(); await advance();+ await render({ [blocker]: true });+ await act(async () => resolve({ prompt: 'Late suggestion' }));+ expect(value.prompt).toBeNull();+ await render({ [blocker]: false });+ expect(value.prompt).toBe('Late suggestion');+ expect(request).toHaveBeenCalledTimes(1);+});+it('waits for the new completion revision even when stopped arrives first', async () => {await render({ running: true }); await advance();expect(request).not.toHaveBeenCalled();@@ -62,18 +90,19 @@ it('an observed run authorizes only its completion, and a later run can predictexpect(request).toHaveBeenLastCalledWith(expect.objectContaining({ cacheOnly: false, completionRevision: 40 }));});-it('voice input consumes a completion before transcription, without reviving it when voice ends', async () => {+it('defers prediction during voice input and permits it after voice ends', async () => {await render({ running: true, voiceIsBusy: true });await render({ running: false, revision: 20 }); await advance();expect(request).not.toHaveBeenCalled();await render({ voiceIsBusy: false }); await advance();- expect(request).not.toHaveBeenCalled();+ expect(request).toHaveBeenCalledTimes(1);+ expect(value.prompt).toBe('Suggested next step');await render({ running: true });await render({ running: false, revision: 30 }); await advance();expect(value.prompt).toBe('Suggested next step');});-it('starting voice cancels a scheduled request and rejects an already pending result', async () => {+it('starting voice defers a scheduled request and retains an already pending result', async () => {await render({ running: true });await render({ running: false, revision: 20 });await render({ voiceIsBusy: true }); await advance();@@ -83,9 +112,9 @@ it('starting voice cancels a scheduled request and rejects an already pending rerequest.mockImplementationOnce(() => new Promise((done) => { resolve = done; }));await render({ running: false, revision: 30 }); await advance();await render({ voiceIsBusy: true });- await act(async () => resolve({ prompt: 'Stale suggestion' }));+ await act(async () => resolve({ prompt: 'Retained suggestion' }));await render({ voiceIsBusy: false }); await advance();- expect(value.prompt).toBeNull();+ expect(value.prompt).toBe('Retained suggestion');expect(request).toHaveBeenCalledTimes(1);});@@ -144,17 +173,18 @@ it('consumes terminal failures without predicting, but permits the next successfexpect(value.prompt).toBe('Suggested next step');});-it('consumes an occupied completion and does not resurrect it when the draft is cleared', async () => {+it('defers an occupied completion until the draft is cleared', async () => {const composerSource = createComposerDraftSource(textComposerDocument('My next question'));await render({ running: true, composerSource });await render({ running: false, revision: 20 }); await advance();expect(request).not.toHaveBeenCalled();await act(async () => composerSource.setDocument(textComposerDocument('')));await advance();- expect(request).not.toHaveBeenCalled();+ expect(request).toHaveBeenCalledTimes(1);+ expect(value.prompt).toBe('Suggested next step');});-it('does not charge for attachment-only input, and rejects results arriving after input is added', async () => {+it('defers attachment-only input and retains results arriving after input is added', async () => {await render({ hasAttachments: true }); await advance();expect(request).not.toHaveBeenCalled();await render({ hasAttachments: false, running: true });@@ -162,9 +192,9 @@ it('does not charge for attachment-only input, and rejects results arriving afterequest.mockImplementationOnce(() => new Promise((done) => { resolve = done; }));await render({ running: false, revision: 20 }); await advance();await render({ hasAttachments: true });- await act(async () => resolve({ prompt: 'Stale suggestion' }));+ await act(async () => resolve({ prompt: 'Retained suggestion' }));await render({ hasAttachments: false }); await advance();- expect(value.prompt).toBeNull();+ expect(value.prompt).toBe('Retained suggestion');expect(request).toHaveBeenCalledTimes(1);});@@ -187,3 +217,65 @@ it('bounds cache retries and cancels them on dismissal', async () => {await act(async () => vi.advanceTimersByTimeAsync(60_000));expect(request).toHaveBeenCalledTimes(5);});+++it('finishes bounded cache retries while editing, then reuses the result after clearing', async () => {+ const composerSource = createComposerDraftSource(textComposerDocument(''));+ request.mockResolvedValueOnce({ prompt: null });+ await render({ composerSource }); await advance();+ await act(async () => composerSource.setDocument(textComposerDocument('Typing')));+ await act(async () => vi.advanceTimersByTimeAsync(1_000));+ expect(request).toHaveBeenCalledTimes(2);+ expect(request.mock.calls.every(([args]) => args.cacheOnly === true)).toBe(true);+ await act(async () => composerSource.setDocument(textComposerDocument('')));+ await advance();+ expect(value.prompt).toBe('Suggested next step');+ expect(request).toHaveBeenCalledTimes(2);+});++it('keeps retries bounded across repeated typing and clearing', async () => {+ const composerSource = createComposerDraftSource(textComposerDocument(''));+ request.mockResolvedValue({ prompt: null });+ await render({ composerSource }); await advance();+ for (let i = 0; i < 6; i++) {+ await act(async () => composerSource.setDocument(textComposerDocument('Typing')));+ await act(async () => vi.advanceTimersByTimeAsync(5_000));+ await act(async () => composerSource.setDocument(textComposerDocument('')));+ await advance();+ }+ expect(request).toHaveBeenCalledTimes(4);+});++it('retains the same recommendation through typing, clearing and attachment changes without another request', async () => {+ const composerSource = createComposerDraftSource(textComposerDocument(''));+ await render({ composerSource }); await advance();+ await act(async () => composerSource.setDocument(textComposerDocument('My draft')));+ expect(value.prompt).toBe('Suggested next step'); // Presentation owns temporary hiding.+ await render({ hasAttachments: true });+ expect(value.prompt).toBeNull();+ await render({ hasAttachments: false });+ await act(async () => composerSource.setDocument(textComposerDocument('')));+ await advance();+ expect(value.prompt).toBe('Suggested next step');+ expect(request).toHaveBeenCalledTimes(1);+ await act(async () => value.dismiss());+ await act(async () => composerSource.setDocument(textComposerDocument('More typing')));+ await act(async () => composerSource.setDocument(textComposerDocument('')));+ await advance();+ expect(value.prompt).toBeNull();+ expect(request).toHaveBeenCalledTimes(1);+});++it('retains a prediction arriving during editing without dispatching it twice', async () => {+ const composerSource = createComposerDraftSource(textComposerDocument(''));+ let resolve!: (result: { prompt: string }) => void;+ request.mockImplementationOnce(() => new Promise((done) => { resolve = done; }));+ await render({ running: true, composerSource });+ await render({ running: false, revision: 20 }); await advance();+ await act(async () => composerSource.setDocument(textComposerDocument('Typing')));+ await act(async () => composerSource.setDocument(textComposerDocument('')));+ await advance();+ expect(request).toHaveBeenCalledTimes(1);+ await act(async () => resolve({ prompt: 'Still relevant' }));+ expect(value.prompt).toBe('Still relevant');+});diff --git a/apps/mobile/src/__tests__/usePromptRecommendationVisibility.test.tsx b/apps/mobile/src/__tests__/usePromptRecommendationVisibility.test.tsxnew file mode 100644index 0000000000..4f96309c42--- /dev/null+++ b/apps/mobile/src/__tests__/usePromptRecommendationVisibility.test.tsx@@ -0,0 +1,42 @@+// @vitest-environment jsdom+import { act, createElement } from 'react';+import { createRoot, type Root } from 'react-dom/client';+import { afterEach, beforeEach, expect, it } from 'vitest';+import { usePromptRecommendationVisibility } from '@/session/usePromptRecommendationVisibility';++Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });+let root: Root;+let value: ReturnType<typeof usePromptRecommendationVisibility>;+let props: { scope: string; draft: string; active: boolean };+function Probe() { value = usePromptRecommendationVisibility(props.scope, props.draft, props.active); return null; }+async function render(patch: Partial<typeof props> = {}) {+ props = { ...props, ...patch };+ await act(async () => root.render(createElement(Probe)));+}+beforeEach(() => { root = createRoot(document.createElement('div')); props = { scope: 'task', draft: '', active: false }; });+afterEach(async () => { await act(async () => root.unmount()); });++it('hides on focus, restores when cleared while focused, and hides on another interaction', async () => {+ await render(); expect(value.visible).toBe(true);+ await render({ active: true }); expect(value.visible).toBe(false);+ await render({ draft: 'Hello' }); expect(value.visible).toBe(false);+ await render({ draft: '' }); expect(value.visible).toBe(true);+ await act(async () => value.hide()); expect(value.visible).toBe(false);+ await render({ active: false }); expect(value.visible).toBe(true);+});++it('restores on collapse with a draft, then hides on expanding or typing including whitespace', async () => {+ await render({ active: true, draft: 'Unsent draft' }); expect(value.visible).toBe(false);+ await render({ active: false }); expect(value.visible).toBe(true);+ await render({ active: true }); expect(value.visible).toBe(false);+ await render({ draft: '' }); expect(value.visible).toBe(true);+ await render({ draft: ' ' }); expect(value.visible).toBe(false);+});++it('does not carry a cleared-editor exception across tasks or a new expansion', async () => {+ await render({ active: true, draft: 'Draft' });+ await render({ draft: '' }); expect(value.visible).toBe(true);+ await render({ scope: 'other' }); expect(value.visible).toBe(false);+ await render({ active: false }); expect(value.visible).toBe(true);+ await render({ active: true }); expect(value.visible).toBe(false);+});diff --git a/apps/mobile/src/__tests__/visualMock.test.ts b/apps/mobile/src/__tests__/visualMock.test.tsindex b7043163cb..2b653522ab 100644--- a/apps/mobile/src/__tests__/visualMock.test.ts+++ b/apps/mobile/src/__tests__/visualMock.test.ts@@ -1,9 +1,54 @@-import { beforeEach, expect, it, vi } from 'vitest';+import { afterEach, beforeEach, expect, it, vi } from 'vitest';import type { DeviceView } from '@cindy/device-link';+import { projectHistoryView } from '@cindy/maker-shared/message-window';+import type { RemoteMessage } from '@/session/types';-vi.mock('@/config/env', () => ({ MOBILE_VISUAL_MOCK_REALDATA_URL: '' }));-vi.mock('@/session/remoteSessionStore', () => ({ remoteSessionStore: {} }));-beforeEach(() => vi.resetModules());+const config = vi.hoisted(() => ({ MOBILE_VISUAL_MOCK_REALDATA_URL: '' }));+vi.mock('@/config/env', () => config);+vi.mock('@/session/remoteSessionStore', () => ({ remoteSessionStore: {+ setDeviceIdentity: vi.fn(), setDeviceSessions: vi.fn(), setMessages: vi.fn(),+ setInputProjection: vi.fn(), setPendingInteractions: vi.fn(), setActiveSessionSnapshots: vi.fn(),+} }));+beforeEach(() => { vi.resetModules(); config.MOBILE_VISUAL_MOCK_REALDATA_URL = ''; });+afterEach(() => vi.unstubAllGlobals());++it('projects imported history rows without falling back to synthetic messages', async () => {+ config.MOBILE_VISUAL_MOCK_REALDATA_URL = 'https://fixture.invalid/snapshot.json';+ const rows: RemoteMessage[] = [{ id: 'real-message', clientId: 'real-message',+ sessionId: 'imported', role: 'user', toolUseId: null, agentMeta: null,+ content: 'Imported snapshot content', createdAt: '2026-09-19T00:00:00.000Z' }];+ vi.stubGlobal('fetch', vi.fn().mockResolvedValue({ ok: true, json: async () => ({+ schema: 'cindy-mobile-visual-realdata-v1', device: { deviceId: 'real-device', name: 'Snapshot' },+ selectedSessionId: 'imported', sessions: [], messagesBySession: { imported: rows },+ }) }));+ const mock = await import('@/debug/visualMock');+ const link = mock.createVisualMockDeviceLinkContext();+ for (const args of [[], ['imported']]) {+ expect(await link.invoke('real-device', 'local-db:messages:view', args)).toEqual({+ version: 1, items: projectHistoryView(rows, false), hasMore: false, nextCursor: null,+ });+ }+ expect(await link.invoke('real-device', 'local-db:messages:view', ['missing'])).toEqual({+ version: 1, items: [], hasMore: false, nextCursor: null,+ });+});++it('provides a completed preview task and recommendation without a real prediction', async () => {+ const mock = await import('@/debug/visualMock');+ mock.seedVisualMockStore();+ const { getMobileAuthOwner } = await import('@/auth/authOwnerGeneration');+ expect(getMobileAuthOwner().accountId).toBe(mock.visualMockUser.id);+ const link = mock.createVisualMockDeviceLinkContext();+ const session = await link.invoke<{ lastTurnEndedAt: number }>(mock.VISUAL_MOCK_DEVICE_ID,+ 'local-db:sessions:get', ['visual-prompt-recommendation']);+ expect(session.lastTurnEndedAt).toBeGreaterThan(0);+ expect(await link.invoke(mock.VISUAL_MOCK_DEVICE_ID, 'maker:predict-prompt', [+ { sessionId: 'visual-prompt-recommendation', cacheOnly: true },+ ])).toEqual({ prompt: '继续跟进 PR #4670' });+ expect(await link.invoke(mock.VISUAL_MOCK_DEVICE_ID, 'maker:predict-prompt', [+ { sessionId: 'session-primary', cacheOnly: true },+ ])).toEqual({ prompt: null });+});it('deletes an offline fixture without resurrecting it in later directory reads', async () => {const mock = await import('@/debug/visualMock');diff --git a/apps/mobile/src/debug/visualMock.ts b/apps/mobile/src/debug/visualMock.tsindex 88a7b76f49..172e5c020b 100644--- a/apps/mobile/src/debug/visualMock.ts+++ b/apps/mobile/src/debug/visualMock.ts@@ -1,7 +1,9 @@import { SHARED_REMOTE_CONTROL_FIXTURE } from '@cindy/maker-shared/fixtures';+import { projectHistoryView } from '@cindy/maker-shared/message-window';import { ApiError, type ApiFetchOptions } from '@/api/client';import type { DeviceView, LinkAcceptPayload } from '@cindy/device-link';import type { MobileUser } from '@/auth/AuthContext';+import { setMobileAuthOwner } from '@/auth/authOwnerGeneration';import { MOBILE_VISUAL_MOCK_REALDATA_URL } from '@/config/env';import type { DeviceLinkContextValue } from '@/device-link/DeviceLinkContext';import type {@@ -120,6 +122,8 @@ export function visualMockDevices(): DeviceView[] {}export function seedVisualMockStore(): void {+ // The startup/home-entry gate needs the same owner as the mock AuthProvider.+ setMobileAuthOwner(visualMockUser.id);const seededRealData = seedRealDataStore(realDataSnapshot);if (seededRealData) return;@@ -201,6 +205,11 @@ async function visualMockInvoke<T = unknown>(return realDataSession(realData, String(args[0] ?? realData.selectedSessionId ?? '')) as T;case 'local-db:messages:list':return (realData.messagesBySession[String(args[0] ?? realData.selectedSessionId ?? '')] ?? []) as T;+ case 'local-db:messages:view': {+ const sessionId = String(args[0] ?? realData.selectedSessionId ?? '');+ return { version: 1, items: projectHistoryView(realData.messagesBySession[sessionId] ?? [], false),+ hasMore: false, nextCursor: null } as T;+ }case 'maker:get-pending-interactions':return (realData.pendingInteractionsBySession?.[String(args[0] ?? realData.selectedSessionId ?? '')] ?? []) as T;case 'maker:input:get-projection':@@ -210,12 +219,20 @@ async function visualMockInvoke<T = unknown>(}}switch (channel) {+ case 'maker:predict-prompt':+ return { prompt: (args[0] as { sessionId?: string } | undefined)?.sessionId === 'visual-prompt-recommendation'+ ? '继续跟进 PR #4670' : null } as T;case 'local-db:sessions:list':return visualMockSessions(args[0] as string | undefined) as T;case 'local-db:sessions:get':return visualMockSession(String(args[0] ?? VISUAL_MOCK_SESSION_ID)) as T;case 'local-db:messages:list':return visualMockMessages(String(args[0] ?? VISUAL_MOCK_SESSION_ID)) as T;+ case 'local-db:messages:view': {+ const sessionId = String(args[0] ?? VISUAL_MOCK_SESSION_ID);+ return { version: 1, items: projectHistoryView(visualMockMessages(sessionId),+ sessionId.includes('running')), hasMore: false, nextCursor: null } as T;+ }case 'maker:get-pending-interactions':return visualMockPendingInteractions(String(args[0] ?? VISUAL_MOCK_SESSION_ID)) as T;case 'maker:input:get-projection':@@ -386,6 +403,9 @@ function realDataProjection(snapshot: VisualRealDataSnapshot, sessionId: string)function visualMockSessions(statusFilter?: string): RemoteSession[] {const sessions = [+ visualSession('visual-prompt-recommendation', '浮动提示预览', -60_000, {+ lastTurnEndedAt: NOW - 45_000,+ }),sessionFromShared(SHARED_REMOTE_CONTROL_FIXTURE.sessions.primary, {preview: '请检查手机版远程控制的 shared core 迁移。',pinnedAt: '2026-07-18T07:59:00.000Z',diff --git a/apps/mobile/src/session/PromptRecommendation.tsx b/apps/mobile/src/session/PromptRecommendation.tsxnew file mode 100644index 0000000000..30303ffe6f--- /dev/null+++ b/apps/mobile/src/session/PromptRecommendation.tsx@@ -0,0 +1,112 @@+import { useEffect, useMemo } from 'react';+import { Pressable, StyleSheet, View, useWindowDimensions } from 'react-native';+import { useTranslation } from 'react-i18next';+import { Sparkles } from 'lucide-react-native';+import { GlassView } from 'expo-glass-effect';+import Animated, { Easing, cancelAnimation, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';+import { scheduleOnRN } from 'react-native-worklets';+import { Text } from '@/components/AppText';+import { useReduceMotionEnabled } from '@/hooks/useReduceMotion';+import { Gesture, GestureDetector } from '@/platform/gestureHandler';+import { useLiquidGlassAvailable } from '@/session/useLiquidGlassAvailable';+import { useTheme, useThemedStyles, type ThemeColors } from '@/theme';+import { iconSize, iconStroke, lineHeight, motionDuration, motionEasing, radius, spacing, typeScale } from '@/theme/tokens';++/** Floating sibling of the composer, with a single tap target and swipe dismissal. */+export function PromptRecommendation({ prompt, onAccept, onDismiss }: {+ prompt: string;+ onAccept(): void;+ onDismiss(): void;+}) {+ const { t } = useTranslation();+ const { colors, mode } = useTheme();+ const styles = useThemedStyles(makeStyles);+ const glass = useLiquidGlassAvailable();+ const reduceMotion = useReduceMotionEnabled();+ const { width } = useWindowDimensions();+ const translation = useSharedValue(0);+ const origin = useSharedValue(0);+ const dismissing = useSharedValue(false);+ useEffect(() => () => cancelAnimation(translation), [translation]);+ const gesture = useMemo(() => Gesture.Pan()+ .activeOffsetX([-8, 8])+ .failOffsetY([-8, 8])+ .onStart(() => {+ if (dismissing.value) return;+ cancelAnimation(translation);+ origin.value = translation.value;+ })+ .onUpdate((event) => {+ if (!dismissing.value) translation.value = origin.value + event.translationX;+ })+ .onEnd((event, successful) => {+ if (!successful || dismissing.value) return;+ const distance = translation.value;+ const dismiss = Math.abs(distance) > Math.min(90, width * 0.25)+ || (Math.abs(distance) > 24 && Math.abs(event.velocityX) > 550 && distance * event.velocityX > 0);+ if (dismiss) {+ dismissing.value = true;+ // The swipe is committed even if hiding/unmounting cancels its exit.+ translation.value = withTiming(Math.sign(distance) * width, {+ duration: reduceMotion === false ? motionDuration.fast : 0,+ easing: Easing.bezier(...motionEasing.in),+ }, () => { scheduleOnRN(onDismiss); });+ }+ })+ .onFinalize(() => {+ if (!dismissing.value) translation.value = withTiming(0, {+ duration: reduceMotion === false ? motionDuration.base : 0,+ easing: Easing.bezier(...motionEasing.out),+ });+ }), [dismissing, onDismiss, origin, reduceMotion, translation, width]);+ // UIKit glass cannot be faded through an ancestor without losing its material.+ const animatedStyle = useAnimatedStyle(() => ({ transform: [{ translateX: translation.value }] }));+ const content = (+ <Pressable+ accessibilityRole="button"+ accessibilityLabel={prompt}+ accessibilityActions={[{ name: 'dismiss', label: t('session.common.dismissRecommendation') }]}+ onAccessibilityAction={({ nativeEvent }) => { if (nativeEvent.actionName === 'dismiss') onDismiss(); }}+ onAccessibilityEscape={onDismiss}+ onPress={() => { if (!dismissing.value) onAccept(); }}+ style={({ pressed }) => [styles.action, pressed && styles.pressed]}+ testID="session.promptRecommendationAction"+ >+ <Sparkles color={colors.textSecondary} size={iconSize.md} strokeWidth={iconStroke.regular} />+ <Text numberOfLines={1} style={styles.text}>{prompt}</Text>+ </Pressable>+ );+ return (+ <GestureDetector gesture={gesture}>+ <Animated.View style={[styles.root, animatedStyle]} testID="session.promptRecommendation">+ {glass ? (+ <GlassView colorScheme={mode} glassEffectStyle="regular" isInteractive={false} style={styles.glass}>+ {content}+ </GlassView>+ ) : <View style={styles.fallback}>{content}</View>}+ </Animated.View>+ </GestureDetector>+ );+}++const makeStyles = (colors: ThemeColors) => StyleSheet.create({+ root: { marginHorizontal: spacing.sm, marginBottom: spacing.sm },+ glass: { borderRadius: radius.pill, overflow: 'hidden' },+ fallback: {+ borderRadius: radius.pill,+ backgroundColor: colors.surfaceElevated,+ borderColor: colors.borderTranslucent,+ borderWidth: StyleSheet.hairlineWidth,+ overflow: 'hidden',+ },+ action: {+ minHeight: 44,+ flexDirection: 'row',+ alignItems: 'center',+ gap: spacing.sm,+ paddingHorizontal: spacing.lg,+ paddingVertical: spacing.sm,+ },+ pressed: { opacity: 0.72 },+ text: { flex: 1, color: colors.textPrimary, fontSize: typeScale.footnote, lineHeight: lineHeight.code },+});diff --git a/apps/mobile/src/session/usePromptRecommendation.ts b/apps/mobile/src/session/usePromptRecommendation.tsindex bb5488a865..a3bbbb6408 100644--- a/apps/mobile/src/session/usePromptRecommendation.ts+++ b/apps/mobile/src/session/usePromptRecommendation.ts@@ -9,7 +9,7 @@ const subscribeEmptyComposer = () => () => {};const CACHE_RETRY_DELAYS_MS = [1_000, 3_000, 5_000];export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKind, revision, running, maker,- composerSource, hasAttachments = false, hasTerminalError = false, voiceIsBusy = false }: {+ composerSource, hasAttachments = false, hasTerminalError = false, voiceIsBusy = false, queueEditing = false }: {ownerId?: string;deviceId: string;sessionId: string;@@ -20,6 +20,7 @@ export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKinhasAttachments?: boolean;hasTerminalError?: boolean;voiceIsBusy?: boolean;+ queueEditing?: boolean;maker: Pick<MobileMakerTransport, 'predictNextPrompt'>;}) {const scope = JSON.stringify([ownerId, deviceId, sessionId]);@@ -28,13 +29,17 @@ export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKinconst snapshot = composerSource?.getSnapshot();return !!snapshot && (!!snapshot.draft.trim() || composerDocumentQuotes(snapshot.document).length > 0);});- const blocked = hasComposerContent || hasAttachments || hasTerminalError || voiceIsBusy;+ // Retention is separate from eligibility. All non-draft blockers hide cached+ // results too; only ordinary draft visibility belongs to the composer UI.+ const displayBlocked = hasAttachments || hasTerminalError || voiceIsBusy || queueEditing;+ const blocked = hasComposerContent || displayBlocked;const [result, setResult] = useState<{ scope: string; revision: number; prompt: string } | null>(null);// The transport is recreated when the device-link context refreshes. Keep the// latest callable without treating that refresh as a new recommendation run.const makerRef = useRef(maker);makerRef.current = maker;const request = useRef<{ scope: string; revision: number; cacheOnly: boolean } | null>(null);+ useEffect(() => () => { request.current = null; }, []);const observed = useRef({scope,running: false,@@ -42,8 +47,8 @@ export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKinrevisionAtStart: 0,liveRevision: null as number | null,});- const current = useRef({ scope, revision, running, blocked });- current.current = { scope, revision, running, blocked };+ const current = useRef({ scope, revision, running, blocked, hasTerminalError });+ current.current = { scope, revision, running, blocked, hasTerminalError };const dismiss = useCallback(() => {if (revision) consumedRevisions.set(scope, revision);setResult(null);@@ -85,12 +90,13 @@ export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKinrun.sawRunning = false;}if (!deviceId || !sessionId || !agentKind || !revision || consumedRevisions.get(scope) === revision) return;- if (blocked) {- // Consume this completion even if the draft/attachment is later removed.+ if (hasTerminalError) {+ // Failed turns are ineligible; ordinary composer interaction only hides.consumedRevisions.set(scope, revision);setResult(null);return;}+ if (blocked || (result?.scope === scope && result.revision === revision)) return;// Historical navigation only reuses a host result; it never starts a paid prediction.const cacheOnly = run.liveRevision !== revision;if (request.current?.scope === scope && request.current.revision === revision@@ -98,15 +104,17 @@ export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKinconst attempt = { scope, revision, cacheOnly };request.current = attempt;let cancelled = false;+ let started = false;let retry = 0;let timer: ReturnType<typeof setTimeout>;const isCurrent = () => {const latest = current.current;- return !cancelled && latest.scope === scope && latest.revision === revision- && !latest.running && !latest.blocked && consumedRevisions.get(scope) !== revision;+ return request.current === attempt && latest.scope === scope && latest.revision === revision+ && !latest.running && !latest.hasTerminalError && consumedRevisions.get(scope) !== revision;};const predict = () => {- if (!isCurrent()) return;+ if (cancelled || (!started && current.current.blocked) || !isCurrent()) return;+ started = true;void makerRef.current.predictNextPrompt({ sessionId, agentKind, turnGen: 0, completionRevision: revision, cacheOnly }).then(({ prompt }) => {if (!isCurrent()) return;@@ -120,14 +128,19 @@ export function usePromptRecommendation({ ownerId, deviceId, sessionId, agentKin};timer = setTimeout(predict, 500);return () => {- cancelled = true;- clearTimeout(timer);- if (request.current === attempt) request.current = null;+ // Once dispatched, keep the result even if editing hides the capsule.+ // Its bounded cache-only retries can finish while hidden too; typing must+ // neither strand a cache miss nor restart a paid prediction.+ if (!started || !isCurrent()) {+ cancelled = true;+ clearTimeout(timer);+ }+ if (!started && request.current === attempt) request.current = null;};- }, [scope, deviceId, sessionId, agentKind, revision, running, blocked]);+ }, [scope, deviceId, sessionId, agentKind, revision, running, blocked, hasTerminalError, result]);return {- prompt: !running && !blocked && result?.scope === scope && result.revision === revision+ prompt: !running && !displayBlocked && result?.scope === scope && result.revision === revision&& consumedRevisions.get(scope) !== revision ? result.prompt : null,dismiss,};diff --git a/apps/mobile/src/session/usePromptRecommendationVisibility.ts b/apps/mobile/src/session/usePromptRecommendationVisibility.tsnew file mode 100644index 0000000000..6b39a8812b--- /dev/null+++ b/apps/mobile/src/session/usePromptRecommendationVisibility.ts@@ -0,0 +1,17 @@+import { useCallback, useState } from 'react';++/** Presentation only: editing never consumes the host's recommendation. */+export function usePromptRecommendationVisibility(scope: string, draft: string, active: boolean) {+ const [state, setState] = useState({ scope, draft, active, hidden: active || draft.length > 0 });+ if (state.scope !== scope || state.draft !== draft || state.active !== active) {+ // Reconcile before committing children: no one-frame flash on focus/typing.+ // A collapse restores even a nonempty draft; deleting the final character+ // restores while focused. A fresh focus/expand always hides first.+ const hidden = state.scope !== scope ? active || draft.length > 0+ : state.active !== active ? active+ : draft.length > 0;+ setState({ scope, draft, active, hidden });+ }+ const hide = useCallback(() => setState((current) => ({ ...current, hidden: true })), []);+ return { visible: !state.hidden, hide };+}diff --git a/docs/design-rules/design-inventory.md b/docs/design-rules/design-inventory.mdindex bdbaf90127..0c1b2883cc 100644--- a/docs/design-rules/design-inventory.md+++ b/docs/design-rules/design-inventory.md@@ -55,7 +55,7 @@| `mobile.auth` | mobile | 登录与添加账号 | app/(auth)/login.tsx / app/add-account.tsx | AccountSwitcherSheet, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, HomeEntryProvider, IncomingShareBridge, LoginCaptchaWebView, LoginSkinControls, MobileLoginHandoffContext, MobileLoginHandoffStage, MobilePrimitives, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, SheetModal, SheetSurface, StartupSplashOverlay, ThemeProvider, _layout, add-account, gestureHandler, login, peerFileTransport, useLocale | apps/mobile/app/(auth)/login.tsx, apps/mobile/app/_layout.tsx, apps/mobile/app/add-account.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/LoginCaptchaWebView.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/LoginSkinControls.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AccountSwitcherSheet.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 177 | 75 || `mobile.automations` | mobile | 自动化 | app/automations/[deviceId].tsx | AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, HomeEntryProvider, HomeNativeStackHeader, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobilePrimitives, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/automations/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 170 | 70 || `mobile.chat.new` | mobile | 新建任务 | app/sessions/new.tsx | AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerAttachmentTray, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, DeviceLinkContext, HomeEntryProvider, HomeNativeStackHeader, ImageLightbox, IncomingShareBridge, MobileAgentMark, MobileAgentSwitcher, MobileChoicePickerList, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileVendorIcon, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, NewTaskSelectionSheet, NewTaskSelectionSheet.ios, PaperPlaneIcon, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PushNotificationsBridge, QuietSyncIndicator, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, _layout, gestureHandler, new, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/sessions/new.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AnnotationBurnInWebView.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerKeyboardAvoidingView.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileChoicePickerList.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NewTaskSelectionSheet.ios.tsx, apps/mobile/src/session/NewTaskSelectionSheet.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 202 | 109 |-| `mobile.chat.session` | mobile | 任务内容与输入 | app/sessions/[sessionId].tsx | AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, CenteredScreen, ChatFileChipMenuSheet, CompanionMessageCard, ComposerAttachmentTray, ComposerExpandButton, ComposerExpandButton.ios, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeInput, ComposerNativeInput.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerRichInput, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ConversationSearchFilterSheet, ConversationShareSvg, ConversationShareWebView, DeviceLinkContext, FailedScheduleNotice, HomeEntryProvider, HomeGlassMenuPanel, HomeNativeStackHeader, HomeSearchBar, ImageLightbox, IncomingShareBridge, InlineQueueSection, InlineQuoteChip, InlineReferenceChip, InteractionPanel, MarkdownBlockContent, MessageActionSheet, MessageRenderer, MobileAgentMark, MobileAgentSwitcher, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PluginInvocationHeader, PushNotificationsBridge, QuietSyncIndicator, QuoteCapsule, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RewindPreviewPanel, SentInlineAtomBody, SessionDetailsNative, SessionDetailsNative.ios, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionListDrawer, SessionMenuSheet, SessionSearchNative, SessionSearchNative.ios, SessionTailBanner, SessionUsageSummary, ShareImageNativeButton, ShareImageNativeButton.ios, ShareMessageCheckbox, ShareSelectAllButton, ShareSelectionBar, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, StreamingStatusText, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, [sessionId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/sessions/[sessionId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AnnotationBurnInWebView.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ChatFileChipMenuSheet.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerExpandButton.ios.tsx, apps/mobile/src/session/ComposerExpandButton.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerKeyboardAvoidingView.tsx, apps/mobile/src/session/ComposerNativeInput.ios.tsx, apps/mobile/src/session/ComposerNativeInput.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerRichInput.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/ConversationShareSvg.tsx, apps/mobile/src/session/ConversationShareWebView.tsx, apps/mobile/src/session/FailedScheduleNotice.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeGlassMenuPanel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQueueSection.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RewindPreviewPanel.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionListDrawer.tsx, apps/mobile/src/session/SessionMenuSheet.tsx, apps/mobile/src/session/SessionSearchNative.ios.tsx, apps/mobile/src/session/SessionSearchNative.tsx, apps/mobile/src/session/SessionTailBanner.tsx, apps/mobile/src/session/SessionUsageSummary.tsx, apps/mobile/src/session/ShareImageNativeButton.ios.tsx, apps/mobile/src/session/ShareImageNativeButton.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/ShareSelectAllButton.tsx, apps/mobile/src/session/ShareSelectionBar.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/StreamingStatusText.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/session/composerRichInputHtml.ts, apps/mobile/src/session/conversationShareWebViewHtml.ts, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 7 | 203 | 230 |+| `mobile.chat.session` | mobile | 任务内容与输入 | app/sessions/[sessionId].tsx | AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, CenteredScreen, ChatFileChipMenuSheet, CompanionMessageCard, ComposerAttachmentTray, ComposerExpandButton, ComposerExpandButton.ios, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeInput, ComposerNativeInput.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerRichInput, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ConversationSearchFilterSheet, ConversationShareSvg, ConversationShareWebView, DeviceLinkContext, FailedScheduleNotice, HomeEntryProvider, HomeGlassMenuPanel, HomeNativeStackHeader, HomeSearchBar, ImageLightbox, IncomingShareBridge, InlineQueueSection, InlineQuoteChip, InlineReferenceChip, InteractionPanel, MarkdownBlockContent, MessageActionSheet, MessageRenderer, MobileAgentMark, MobileAgentSwitcher, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PluginInvocationHeader, PromptRecommendation, PushNotificationsBridge, QuietSyncIndicator, QuoteCapsule, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RewindPreviewPanel, SentInlineAtomBody, SessionDetailsNative, SessionDetailsNative.ios, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionListDrawer, SessionMenuSheet, SessionSearchNative, SessionSearchNative.ios, SessionTailBanner, SessionUsageSummary, ShareImageNativeButton, ShareImageNativeButton.ios, ShareMessageCheckbox, ShareSelectAllButton, ShareSelectionBar, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, StreamingStatusText, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, [sessionId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/sessions/[sessionId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AnnotationBurnInWebView.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ChatFileChipMenuSheet.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerExpandButton.ios.tsx, apps/mobile/src/session/ComposerExpandButton.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerKeyboardAvoidingView.tsx, apps/mobile/src/session/ComposerNativeInput.ios.tsx, apps/mobile/src/session/ComposerNativeInput.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerRichInput.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/ConversationShareSvg.tsx, apps/mobile/src/session/ConversationShareWebView.tsx, apps/mobile/src/session/FailedScheduleNotice.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeGlassMenuPanel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQueueSection.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/PromptRecommendation.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RewindPreviewPanel.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionListDrawer.tsx, apps/mobile/src/session/SessionMenuSheet.tsx, apps/mobile/src/session/SessionSearchNative.ios.tsx, apps/mobile/src/session/SessionSearchNative.tsx, apps/mobile/src/session/SessionTailBanner.tsx, apps/mobile/src/session/SessionUsageSummary.tsx, apps/mobile/src/session/ShareImageNativeButton.ios.tsx, apps/mobile/src/session/ShareImageNativeButton.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/ShareSelectAllButton.tsx, apps/mobile/src/session/ShareSelectionBar.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/StreamingStatusText.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/session/composerRichInputHtml.ts, apps/mobile/src/session/conversationShareWebViewHtml.ts, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 7 | 203 | 231 || `mobile.companions.direct` | mobile | 伙伴私聊回看 | app/companions/direct/[threadId].tsx | AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, HomeEntryProvider, HomeNativeStackHeader, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobilePrimitives, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [threadId], _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/direct/[threadId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 170 | 49 || `mobile.device-management` | mobile | 设备管理 | app/devices/manage.tsx / app/devices/manage/[deviceId].tsx | AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceInformationFields, DeviceInformationFields.ios, DeviceLinkContext, DeviceManagementDialogs, DeviceManagementList, DeviceManagementList.ios, HomeEntryProvider, HomeNativeStackHeader, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobilePrimitives, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RenameDeviceModal, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, manage, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/manage.tsx, apps/mobile/app/devices/manage/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceInformationFields.ios.tsx, apps/mobile/src/device-link/DeviceInformationFields.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DeviceManagementDialogs.tsx, apps/mobile/src/device-link/DeviceManagementList.ios.tsx, apps/mobile/src/device-link/DeviceManagementList.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/RenameDeviceModal.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 170 | 52 || `mobile.devices` | mobile | 主机详情 | app/devices/[deviceId].tsx | AccountSwitcherSheet, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ConversationSearchFilterSheet, DeviceLinkContext, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeNativeStackHeader, HomeProjectMachineLabel, HomeSearchBar, IncomingShareBridge, MobileAgentMark, MobileLoginHandoffContext, MobileLoginHandoffStage, MobilePrimitives, MobileVendorIcon, NativePullDownMenu, NativeRemoteDesktopView, NativeSwitch, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RemoteAccessGuide, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteTaskSuggestions, RenameSessionModal, SessionActionSheet, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionOptionsExpoSheet, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableSessionRow, SwipeableSessionRow.ios, ThemeProvider, [deviceId], _layout, gestureHandler, index, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/[deviceId].tsx, apps/mobile/app/devices/index.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteAccessGuide.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AccountSwitcherSheet.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/HomeChromeDrawer.tsx, apps/mobile/src/session/HomeChromeFrost.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeGlassMenuPanel.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 170 | 95 |