Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): 保留取件失败时的图片预览并提升当前页优先级 #6517 (#6536)
DavidShenXD85bcc56d5404
diff --git a/apps/mobile/src/__tests__/imageLightboxInteraction.test.tsx b/apps/mobile/src/__tests__/imageLightboxInteraction.test.tsxindex 1b20152036..79a4e9d668 100644--- a/apps/mobile/src/__tests__/imageLightboxInteraction.test.tsx+++ b/apps/mobile/src/__tests__/imageLightboxInteraction.test.tsx@@ -13,6 +13,8 @@ import { computeVanishedQueueItems } from '@/session/queueSettling';import { getSentMessageImagePreview, rememberOutboxImagePreviews, rememberSentMessageImagePreviews, type GetSentMessageImagePreview, type SentMessageImagePreviews } from '@/session/sentMessageImagePreviews';import { createDurableOutbox, observeDurableOutboxSending, type DurableOutboxRecord } from '@/session/durableOutbox';import type { QueuedRemoteMessage, RemoteSerializedAttachment } from '@/session/types';+import { createRemoteMediaResolveQueue } from '@/session/remoteMediaResolveQueue';+import type { MobileResolvedRemoteMedia } from '@/session/remoteMedia';import {ImageLightbox,type ImageLightboxProps,@@ -40,6 +42,7 @@ const runtime = vi.hoisted(() => ({gesture: null as GestureNode | null,alerts: [] as Array<[string, string, Array<{ text: string; style?: string; onPress?: () => void }>]>,scrollToOffset: vi.fn(),+ renderPageIndex: 0,}));vi.mock("expo-router", () => ({@@ -58,14 +61,19 @@ vi.mock("lucide-react-native", () => ({Share: () => null,Undo2: () => null,X: () => null,+ CircleAlert: () => null,}));vi.mock("react-native-svg", () => ({ default: () => null, Path: () => null }));-vi.mock("@/theme", async () => await import("@/theme/tokens"));+vi.mock("@/theme", async () => {+ const tokens = await import("@/theme/tokens");+ return { ...tokens, useTheme: () => ({ colors: tokens.lightColors }),+ useThemedStyles: (make: (colors: typeof tokens.lightColors) => unknown) => make(tokens.lightColors) };+});vi.mock("react-native", async () => {const { createElement, useImperativeHandle } = await import("react");const view = (name: string) => (props: any) => {runtime.nodes.set(props.testID ?? name, props);- return createElement("div", null, props.children as ReactNode);+ return createElement("div", { 'data-testid': props.testID, 'data-native-name': name }, props.children as ReactNode);};return {View: view("View"),@@ -90,7 +98,8 @@ vi.mock("react-native", async () => {() => ({ scrollToOffset: runtime.scrollToOffset }),[],);- return props.data.length ? props.renderItem({ item: props.data[0], index: 0 }) : null;+ const index = runtime.renderPageIndex;+ return props.data.length ? props.renderItem({ item: props.data[index], index }) : null;},};});@@ -215,6 +224,8 @@ vi.mock("react-native-reanimated", async () => {});let root: Root;+let container: HTMLDivElement;+const isMounted = (id: string) => !!container.querySelector(`[data-testid="${id}"]`);beforeEach(() => {Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });runtime.nodes.clear();@@ -224,7 +235,8 @@ beforeEach(() => {runtime.insets = { top: 40, bottom: 20, left: 0, right: 0 };runtime.alerts = [];runtime.scrollToOffset.mockClear();- root = createRoot(document.createElement("div"));+ runtime.renderPageIndex = 0;+ root = createRoot(container = document.createElement("div"));});afterEach(() => act(() => root.unmount()));@@ -1059,7 +1071,55 @@ describe('pending image gallery updates', () => {});});-describe('Markdown gallery prefetch boundaries', () => {+describe('gallery prefetch boundaries', () => {+ // #6517 review P1, unit: real viewer + production queue, with both slots occupied+ // and a background thumbnail ahead of a prefetched neighbor. Queue-only tests+ // cannot detect the viewer dropping the promotion when the user pages to it.+ // Single-file validation: 117 tests, 3.39s (vitest run imageLightboxInteraction.test.tsx --maxWorkers=1).+ it.each([0, 1])('promotes the last selected image %i ahead of background work without downloading it twice', async (selected) => {+ const images = ['a', 'b', 'c'].map<ImageLightboxProps['images'][number]>((key) => ({ key, title: key, url: `xdt-image://cache/${key}.png`,+ payload: { kind: 'media', title: key, body: '', media: { kind: 'image', url: `xdt-image://cache/${key}.png`, previewable: false } },+ }));+ const pending = new Map<string, (media: MobileResolvedRemoteMedia) => void>();+ const download = vi.fn((media: { url: string }) => new Promise<MobileResolvedRemoteMedia>((resolve) => {+ pending.set(media.url, resolve);+ }));+ const queue = createRemoteMediaResolveQueue({ resolve: download });+ const resolver = vi.fn<NonNullable<ImageLightboxProps['onResolveRemoteMedia']>>((media, opts) => queue.request(media, opts));+ const result = (key: string): MobileResolvedRemoteMedia => ({ url: `file:///${key}.png`,+ ossKey: '', mimeType: 'image/png', size: 1, expiresAt: '2099-01-01T00:00:00Z', previewable: true });+ const onShareImage = vi.fn();+ const page = (index: number) => act(() => {+ runtime.renderPageIndex = index;+ runtime.nodes.get('FlatList').onMomentumScrollEnd({ nativeEvent: { contentOffset: { x: index * 400 } } });+ });+ try {+ for (const url of ['block-1', 'block-2', 'background']) {+ void queue.request({ kind: 'image', url, thumbnail: true }).catch(() => undefined);+ }+ await act(async () => { mount({ images, initialUrl: images[0].url, onResolveRemoteMedia: resolver, onShareImage }); });+ page(1);+ page(0);+ if (selected === 1) page(1);+ const image = images[selected];+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(true);+ await act(async () => { pending.get('block-1')!(result('block-1')); });+ expect(download.mock.calls.map(([media]) => media.url)).toEqual(['block-1', 'block-2', image.url]);+ await act(async () => { pending.get(image.url)!(result(image.key)); });+ expect(runtime.nodes.get('Image').source.uri).toBe(`file:///${image.key}.png`);+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(true);+ act(() => runtime.nodes.get('Image').onLoad({ source: { width: 1600, height: 900 } }));+ await act(async () => { press('message.imageLightboxShareButton'); });+ expect(onShareImage).toHaveBeenCalledWith(image.payload.media, `file:///${image.key}.png`, 'image/png', 1);+ expect(download.mock.calls.filter(([media]) => media.url === image.url)).toHaveLength(1);+ } finally {+ await act(async () => {+ queue.releaseAll();+ for (const [url, finish] of pending) finish(result(url));+ });+ }+ });+it('does not fetch a titled outside-workdir image when a neighboring image is opened', async () => {const items = [{type: 'message', key: 'm1',@@ -1968,16 +2028,21 @@ describe("chrome toggle, loading and video pages", () => {expect(runtime.nodes.has("message.imageLightboxRetryButton")).toBe(false);});- it("unlocks paging when the original fails after the placeholder was zoomed", async () => {+ // #6517, unit: mount the real viewer with a decoded preview, then reject the original.+ // Existing coverage checked paging reset, allowing the visible image to be discarded.+ // Also cover loss of the last readable layer and native decode/refresh failure at the same URI.+ // Single-file validation: 117 tests, 3.39s (vitest run imageLightboxInteraction.test.tsx --maxWorkers=1).+ it("keeps the zoomed preview through original failures and retries until the original paints", async () => {const url = "xdt-image://cache/broken.png";const image = {key: "broken", title: "Broken", url,payload: { kind: "media", media: { kind: "image", url, previewable: false } },} as ImageLightboxProps["images"][number];const failures = new Map<string, (error: Error) => void>();+ let finish!: (media: unknown) => void;const resolver = vi.fn((media: { url: string; thumbnail?: boolean }) => (media.thumbnail? Promise.resolve({ url: "file:///thumb.png", previewable: true })- : new Promise((_resolve, reject) => { failures.set(media.url, reject); })));+ : new Promise((resolve, reject) => { finish = resolve; failures.set(media.url, reject); })));const fail = (error: Error) => failures.get(url)!(error);await act(async () => {const nextUrl = "xdt-image://cache/next.png";@@ -1985,16 +2050,100 @@ describe("chrome toggle, loading and video pages", () => {key: "next", title: "Next", url: nextUrl,payload: { kind: "media", media: { kind: "image", url: nextUrl, previewable: false } },} as ImageLightboxProps["images"][number];- mount({ images: [image, next], initialUrl: url, onResolveRemoteMedia: resolver as never });+ mount({ images: [image, next], initialUrl: url, onResolveRemoteMedia: resolver as never,+ onShareImage: vi.fn(), annotation: { submitLabel: 'Send', allowDirectSubmit: true, onSubmit: vi.fn() } });});act(() => runtime.nodes.get("message.imageLightboxPreviewLayer").onLoad({ source: { width: 160, height: 90 } }));doubleTapAtCorner();finishAnimations();expect(runtime.nodes.get("FlatList").scrollEnabled).toBe(false);- await act(async () => { fail(new Error("gone")); });+ await act(async () => { fail(Object.assign(new Error('offline'), { code: 'NOT_CONNECTED' })); });+ const preview = () => runtime.nodes.get('message.imageLightboxPreviewLayer');+ expect(isMounted('message.imageLightboxPreviewLayer')).toBe(true);+ expect(preview().source.uri).toBe('file:///thumb.png');+ expect(preview().style[1].current.transform[4].scale).toBe(2.5);+ expect(container.textContent).toContain('message.lightbox.originalUnavailable');+ expect(container.textContent).toContain('message.lightbox.deviceOffline');expect(runtime.nodes.has("message.imageLightboxRetryButton")).toBe(true);- expect(runtime.nodes.get("FlatList").scrollEnabled).toBe(true);+ expect(runtime.nodes.get("FlatList").scrollEnabled).toBe(false);+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(true);+ expect(runtime.nodes.get('message.imageLightboxSendToChatButton').disabled).toBe(true);++ fire(singleTap(), 'onEnd', {}, true);+ finishAnimations();+ expect(isMounted('message.imageLightboxOriginalNotice')).toBe(false);+ fire(singleTap(), 'onEnd', {}, true);+ finishAnimations();+ press('message.imageLightboxRetryButton');+ const callsWhileLoading = resolver.mock.calls.length;+ press('message.imageLightboxRetryButton');+ expect(resolver.mock.calls).toHaveLength(callsWhileLoading);+ expect(runtime.nodes.get('message.imageLightboxRetryButton').disabled).toBe(true);+ expect(preview().style[1].current.transform[4].scale).toBe(2.5);+ expect(resolver).toHaveBeenLastCalledWith(expect.objectContaining({ url }), { front: true, forceRefresh: true });+ await act(async () => { fail(new Error('still offline')); });+ expect(preview().source.uri).toBe('file:///thumb.png');+ expect(runtime.nodes.get('message.imageLightboxRetryButton').disabled).toBe(false);+ press('message.imageLightboxRetryButton');+ await act(async () => { finish({ url: 'file:///full.png', previewable: true, mimeType: 'image/png' }); });+ expect(preview()).toBeDefined();+ expect(runtime.nodes.get('message.imageLightboxRetryButton').disabled).toBe(true);+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(true);+ expect(runtime.nodes.get('message.imageLightboxSendToChatButton').disabled).toBe(true);+ act(() => runtime.nodes.get('Image').onLoad({ source: { width: 1600, height: 900 } }));+ expect(isMounted('message.imageLightboxPreviewLayer')).toBe(false);+ expect(isMounted('message.imageLightboxOriginalNotice')).toBe(false);+ expect(runtime.nodes.get('Image').style[1].current.transform[4].scale).toBe(2.5);+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(false);+ expect(runtime.nodes.get('message.imageLightboxAnnotateButton').disabled).toBe(false);+ });++ it('shows a terminal error when both the original request and its preview fail', async () => {+ const url = 'xdt-image://cache/missing.png';+ let fail!: (error: Error) => void;+ const resolver = vi.fn((media: { thumbnail?: boolean }) => media.thumbnail+ ? Promise.resolve({ url: 'file:///thumb.png', previewable: true })+ : new Promise((_resolve, reject) => { fail = reject; }));+ await act(async () => { mount({ images: [{ key: 'missing', url,+ payload: { kind: 'media', media: { kind: 'image', url, previewable: false } } } as never],+ initialUrl: url, onResolveRemoteMedia: resolver as never }); });+ await act(async () => { fail(new Error('offline')); });+ act(() => runtime.nodes.get('message.imageLightboxPreviewLayer').onError());+ expect(isMounted('message.imageLightboxPreviewLayer')).toBe(false);+ expect(isMounted('message.imageLightboxLoading')).toBe(false);+ expect(isMounted('message.imageLightboxOriginalNotice')).toBe(false);+ expect(runtime.nodes.has('message.imageLightboxRetryButton')).toBe(true);+ expect(runtime.nodes.get('FlatList').scrollEnabled).toBe(true);+ });++ it('retains the preview after native decode and refresh fail, and can reload the same repaired path', async () => {+ const url = 'xdt-image://cache/repair.png';+ const full = { url: 'file:///full.png', previewable: true, mimeType: 'image/png' };+ let fail!: (error: Error) => void;+ const resolver = vi.fn((media: { thumbnail?: boolean }) => media.thumbnail+ ? Promise.resolve({ url: 'file:///thumb.png', previewable: true })+ : Promise.resolve(full));+ await act(async () => { mount({ images: [{ key: 'repair', url,+ payload: { kind: 'media', media: { kind: 'image', url, previewable: false } } } as never],+ initialUrl: url, onResolveRemoteMedia: resolver as never, onShareImage: vi.fn() }); });+ act(() => runtime.nodes.get('Image').onLoad({ source: { width: 1600, height: 900 } }));+ expect(isMounted('message.imageLightboxPreviewLayer')).toBe(false);+ resolver.mockImplementation(() => new Promise((_resolve, reject) => { fail = reject; }));+ await act(async () => { runtime.nodes.get('Image').onError(); });+ await act(async () => { fail(new Error('offline')); });+ expect(isMounted('message.imageLightboxPreviewLayer')).toBe(true);+ expect(isMounted('message.imageLightboxOriginalNotice')).toBe(true);+ expect(container.querySelector('[data-native-name="Image"]:not([data-testid])')).toBeNull();+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(true);++ resolver.mockResolvedValue({ ...full });+ await act(async () => { press('message.imageLightboxRetryButton'); });+ expect(container.querySelector('[data-native-name="Image"]:not([data-testid])')).not.toBeNull();+ act(() => runtime.nodes.get('Image').onLoad({ source: { width: 1600, height: 900 } }));+ expect(isMounted('message.imageLightboxPreviewLayer')).toBe(false);+ expect(isMounted('message.imageLightboxOriginalNotice')).toBe(false);+ expect(runtime.nodes.get('message.imageLightboxShareButton').disabled).toBe(false);});it("plays video pages with the native player, falls back to the web player and releases on close", async () => {diff --git a/apps/mobile/src/__tests__/remoteMediaResolveQueue.test.ts b/apps/mobile/src/__tests__/remoteMediaResolveQueue.test.tsindex f77f47b248..80b4879385 100644--- a/apps/mobile/src/__tests__/remoteMediaResolveQueue.test.ts+++ b/apps/mobile/src/__tests__/remoteMediaResolveQueue.test.ts@@ -182,21 +182,26 @@ describe('remoteMediaResolveQueue', () => {await viewer;});- it('promotes an already queued url to the front on a front request', async () => {+ // #6517 review P1, unit: a viewer's cache-only front request must promote an+ // existing queued original without creating another download or waiter.+ it.each([false, true])('promotes an already queued url on a front request (cachedOnly: %s)', async (cachedOnly) => {const { pending, resolve } = manualResolver();const queue = createRemoteMediaResolveQueue({ resolve }, { maxConcurrent: 1 });void queue.request(imageRequest('a.png')).catch(() => undefined);void queue.request(imageRequest('b.png')).catch(() => undefined);const promoted = queue.request(imageRequest('c.png'));- const viewer = queue.request(imageRequest('c.png'), { front: true });+ const viewer = queue.request(imageRequest('c.png'), { front: true, cachedOnly });+ if (cachedOnly) await expect(viewer).rejects.toThrow('这个媒体还没有缓存到手机上');+ expect(queue.stats()).toEqual({ inFlight: 1, queued: 2 });await flush();pending[0]?.resolve(resolvedMedia('a.png'));await flush();expect(resolve.mock.calls[1]?.[0]?.url).toBe('xdt-image://cache/c.png');pending[1]?.resolve(resolvedMedia('c.png'));- await Promise.all([promoted, viewer]);+ await promoted;+ if (!cachedOnly) await viewer;});it('serves fresh cache hits without re-resolving, and re-resolves stale entries', async () => {diff --git a/apps/mobile/src/i18n/locales/en/message.json b/apps/mobile/src/i18n/locales/en/message.jsonindex af437d6b19..5e3ffa1cae 100644--- a/apps/mobile/src/i18n/locales/en/message.json+++ b/apps/mobile/src/i18n/locales/en/message.json@@ -182,6 +182,9 @@"turnTokens": "{{tokens}} tokens"},"lightbox": {+ "originalUnavailable": "Original image unavailable",+ "retryOriginal": "Retry Original Image",+ "loadingOriginal": "Loading original image…","sourceMissing": "The source image is missing on this computer. Import the original file again.","deviceOffline": "The computer is disconnected. Reconnect and try again.","cancelAnnotation": "Cancel annotation",diff --git a/apps/mobile/src/i18n/locales/ja/message.json b/apps/mobile/src/i18n/locales/ja/message.jsonindex c9a8b9a8c0..d2b53c996b 100644--- a/apps/mobile/src/i18n/locales/ja/message.json+++ b/apps/mobile/src/i18n/locales/ja/message.json@@ -182,6 +182,9 @@"turnTokens": "{{tokens}} tokens"},"lightbox": {+ "originalUnavailable": "元の画像を読み込めません",+ "retryOriginal": "元の画像を再読み込み",+ "loadingOriginal": "元の画像を読み込み中…","sourceMissing": "このコンピューターに元の画像がありません。元のファイルを再度インポートしてください。","deviceOffline": "コンピューターが未接続です。再接続してからお試しください。","cancelAnnotation": "注釈をキャンセル",diff --git a/apps/mobile/src/i18n/locales/ko/message.json b/apps/mobile/src/i18n/locales/ko/message.jsonindex 999515eb20..0c2fec6a4f 100644--- a/apps/mobile/src/i18n/locales/ko/message.json+++ b/apps/mobile/src/i18n/locales/ko/message.json@@ -182,6 +182,9 @@"turnTokens": "{{tokens}} tokens"},"lightbox": {+ "originalUnavailable": "원본 이미지를 불러올 수 없습니다",+ "retryOriginal": "원본 이미지 다시 불러오기",+ "loadingOriginal": "원본 이미지 불러오는 중…","sourceMissing": "이 컴퓨터에 원본 이미지가 없습니다. 원본 파일을 다시 가져오세요.","deviceOffline": "컴퓨터가 연결되지 않았습니다. 다시 연결한 후 시도하세요.","cancelAnnotation": "주석 취소",diff --git a/apps/mobile/src/i18n/locales/zh-CN/message.json b/apps/mobile/src/i18n/locales/zh-CN/message.jsonindex 5e9186fbc4..d5b9968db4 100644--- a/apps/mobile/src/i18n/locales/zh-CN/message.json+++ b/apps/mobile/src/i18n/locales/zh-CN/message.json@@ -182,6 +182,9 @@"turnTokens": "{{tokens}} tokens"},"lightbox": {+ "originalUnavailable": "原图暂不可用",+ "retryOriginal": "重试原图",+ "loadingOriginal": "正在加载原图…","sourceMissing": "源图片已不在这台电脑上,请重新导入原文件。","deviceOffline": "电脑尚未连接,请恢复连接后重试。","cancelAnnotation": "取消标注",diff --git a/apps/mobile/src/i18n/locales/zh-TW/message.json b/apps/mobile/src/i18n/locales/zh-TW/message.jsonindex 71d803ea3e..d2677c9653 100644--- a/apps/mobile/src/i18n/locales/zh-TW/message.json+++ b/apps/mobile/src/i18n/locales/zh-TW/message.json@@ -182,6 +182,9 @@"turnTokens": "{{tokens}} tokens"},"lightbox": {+ "originalUnavailable": "原圖暫時無法載入",+ "retryOriginal": "重試原圖",+ "loadingOriginal": "正在載入原圖…","sourceMissing": "原始圖片已不在這台電腦上,請重新匯入原始檔案。","deviceOffline": "電腦尚未連線,請恢復連線後重試。","cancelAnnotation": "取消標註",diff --git a/apps/mobile/src/session/ImageLightbox.tsx b/apps/mobile/src/session/ImageLightbox.tsxindex e2271d02d9..c63ad0065f 100644--- a/apps/mobile/src/session/ImageLightbox.tsx+++ b/apps/mobile/src/session/ImageLightbox.tsx@@ -32,6 +32,7 @@ import {View,} from 'react-native';import { Text } from '@/components/AppText';+import { ErrorNotice, ErrorNoticeAction } from '@/components/ErrorNotice';import { MessageSquarePlus, Pen, Share as ShareIcon, Undo2, X } from 'lucide-react-native';import Svg, { Path } from 'react-native-svg';import { fontWeight, iconSize, iconStroke, lineHeight, motionDuration, radius, typeScale } from '@/theme';@@ -114,9 +115,9 @@ const LIGHTBOX_SETTLE_SPRING = { damping: 30, stiffness: 260, mass: 1 } as const// 下载那一段(见 lightboxImageLayers),挂进 loading 分支会在取件完成的瞬间// 结构性丢失,把第二段空档裸露成纯黑。垫底地址单独存 previewMap。type PageResolveState =- | { status: 'loading' }+ | { status: 'loading'; media?: MobileResolvedRemoteMedia }| { status: 'ready'; media: MobileResolvedRemoteMedia }- | { status: 'error'; error?: unknown };+ | { status: 'error'; error?: unknown; media?: MobileResolvedRemoteMedia };/** 宿主注入的底部操作(文件浏览器:复制路径/发送到会话);回调收当前活跃页。 */export interface ImageLightboxAction {@@ -268,6 +269,8 @@ export const ImageLightbox = memo(function ImageLightbox({/** 捏合/平移进行中 chrome 不接收触摸,避免底栏抢走双指。 */const [chromeInteractive, setChromeInteractive] = useState(true);const [resolveMap, setResolveMap] = useState<Record<string, PageResolveState>>({});+ // 跟随逻辑图片身份:上传地址转成正式消息地址时,已解码的同图仍可继续操作。+ const [loadedImageKeys, setLoadedImageKeys] = useState<ReadonlySet<string>>(new Set());/*** trimmed url → 列表缩略图地址(渐进出图的垫底层)。独立于 resolveMap:* 一旦拿到就长期有效,取件态怎么流转都不丢,直到原图 onLoad 才停止使用。@@ -471,6 +474,9 @@ export const ImageLightbox = memo(function ImageLightbox({// 每 url 只自动强制重取一次(Image 加载失败自愈),防 onError↔重取死循环;// 重试按钮的显式 forceRefresh 不受此限制。const imageErrorRetryUsedRef = useRef<Set<string>>(new Set());+ const resolvingImagesRef = useRef(new Set<string>());+ const resolveMapRef = useRef(resolveMap);+ resolveMapRef.current = resolveMap;const listRef = useRef<FlatList<MobileMessageGalleryImage>>(null);// 旋转或图集变动导致页码变化时重锚,保持画面、页码和分享目标一致。@@ -490,11 +496,23 @@ export const ImageLightbox = memo(function ImageLightbox({// 带空白时会和 renderItem / handleShare 的查键错位。取件请求仍传原始 media.url,// 与缩略图路径的队列缓存键保持一致(不产生重复上传)。const key = image.url;+ const current = resolveMapRef.current[key];+ if (resolvingImagesRef.current.has(key)) {+ if (front && !forceRefresh) {+ // 翻到预取页时仍须提升已有取件;cachedOnly 保证不会新建下载,+ // 不带队列的文件浏览解析器也只读缓存。结果仍由首次请求回填。+ void onResolveRemoteMedia(+ { kind: media.kind, url: media.url, previewable: media.previewable },+ { front: true, cachedOnly: true },+ ).catch(() => undefined);+ }+ return;+ }+ if (!forceRefresh && current && current.status !== 'error') return;+ resolvingImagesRef.current.add(key);setResolveMap((prev) => {- const state = prev[key];- if (!forceRefresh && state && state.status !== 'error') return prev;- if (state?.status === 'ready') return prev; // 强制重取期间保留旧图帧,新结果到达后整体替换- return { ...prev, [key]: { status: 'loading' } };+ // 显示副本与取件状态分开:刷新失败不撤掉仍可读的原图,也不假装刷新成功。+ return { ...prev, [key]: { status: 'loading', media: prev[key]?.media } };});void onResolveRemoteMedia({ kind: media.kind, url: media.url, previewable: media.previewable },@@ -504,8 +522,9 @@ export const ImageLightbox = memo(function ImageLightbox({setResolveMap((prev) => ({ ...prev, [key]: { status: 'ready', media: resolved } }));}).catch((error: unknown) => {- setResolveMap((prev) => ({ ...prev, [key]: { status: 'error', error } }));- });+ setResolveMap((prev) => ({ ...prev, [key]: { status: 'error', error, media: prev[key]?.media } }));+ })+ .finally(() => resolvingImagesRef.current.delete(key));// 垫底缩略图:列表里这张图已经解码好了,拿来从打开那一刻接住画面,一直垫到// 原图 onLoad(见 lightboxImageLayers)。写入**不看取件态** —— 原图可能在同// 一批微任务里就从内存/磁盘缓存返回,旧实现要求"当前必须是 loading"才写垫底,@@ -525,7 +544,7 @@ export const ImageLightbox = memo(function ImageLightbox({}).catch(() => undefined);}- // setResolveMap 的 loading 守卫已防重复取件;error 态由重试按钮显式再调+ // 在途请求按图片合并;error 态由重试按钮显式再调。}, [onResolveRemoteMedia]);// 重试按钮:显式 forceRefresh 穿透负缓存。稳定引用(带 image 参数)让@@ -538,6 +557,12 @@ export const ImageLightbox = memo(function ImageLightbox({// presign 下载 404)→ 一次性 forceRefresh 重取自愈,再失败落错误态给重试按钮。const handleImageLoadError = useCallback((image: MobileMessageGalleryImage) => {const key = image.url; // resolveMap / 重试集统一用 trimmed gallery 键+ setLoadedImageKeys((prev) => {+ if (!prev.has(image.key)) return prev;+ const next = new Set(prev);+ next.delete(image.key);+ return next;+ });if (imageErrorRetryUsedRef.current.has(key)) {setResolveMap((prev) => ({ ...prev, [key]: { status: 'error' } }));return;@@ -546,6 +571,12 @@ export const ImageLightbox = memo(function ImageLightbox({resolveImage(image, true, true);}, [resolveImage]);+ const handleImageLoaded = useCallback((image: MobileMessageGalleryImage, media?: MobileResolvedRemoteMedia) => {+ if (media && resolveMapRef.current[image.url]?.media !== media) return;+ if (!media && !image.payload.media.previewable) return;+ setLoadedImageKeys((prev) => prev.has(image.key) ? prev : new Set(prev).add(image.key));+ }, []);+// 活跃页插队取件,相邻图片页顺队预取(翻页即无缝)。视频体积大,只在翻到// 它时才取,不为「可能会看」预先整段搬运。useEffect(() => {@@ -559,8 +590,6 @@ export const ImageLightbox = memo(function ImageLightbox({// 关闭时逐出本次取过的视频(与通用查看器同一口径:只逐出 JS 缓存,// 远端对象由会话页统一回收);图片缩略图常驻列表,不逐出。- const resolveMapRef = useRef(resolveMap);- resolveMapRef.current = resolveMap;const onReleaseRemoteMediaRef = useRef(onReleaseRemoteMedia);onReleaseRemoteMediaRef.current = onReleaseRemoteMedia;useEffect(() => () => {@@ -568,7 +597,7 @@ export const ImageLightbox = memo(function ImageLightbox({if (!release) return;for (const image of imagesRef.current) {const state = resolveMapRef.current[image.url];- if (image.payload.media.kind === 'video' && state?.status === 'ready') {+ if (image.payload.media.kind === 'video' && state?.media) {release(image.payload.media.url, state.media);}}@@ -578,7 +607,7 @@ export const ImageLightbox = memo(function ImageLightbox({const media = image.payload.media;if (media.previewable && media.url) return media.url;const state = resolveMap[image.url];- if (state?.status === 'ready' && state.media.previewable) return state.media.url;+ if (state?.media?.previewable) return state.media.url;return null;}, [resolveMap]);@@ -614,9 +643,12 @@ export const ImageLightbox = memo(function ImageLightbox({}));const activeUri = activeImage ? displayUriFor(activeImage) : null;+ const activeResolveState = activeImage ? resolveMap[activeImage.url] : undefined;// Expo can display library handles, but sharing/annotation need the file or remote// original supplied later by the existing upload pipeline. Do not enable dead-end actions.- const activeActionsReady = !!activeUri && !/^(?:ph|content|assets-library):\/\//.test(activeUri);+ const activeActionsReady = !!activeUri && !/^(?:ph|content|assets-library):\/\//.test(activeUri)+ && (activeImage?.payload.media.previewable+ || (activeResolveState?.status === 'ready' && !!activeImage && loadedImageKeys.has(activeImage.key)));const pageLabel = lightboxPageLabel(activeIndex, images.length);// 工具栏从打开那一刻就在:原图还在取件时先置灰,就绪即可用,不让工具「晚到」。// 取件结果是 data: 等不可分享地址时才收起分享。@@ -646,7 +678,6 @@ export const ImageLightbox = memo(function ImageLightbox({}, [activeImage, activeUri, activeActionsReady, onShareImage, resolveMap]);// 活跃页 MIME:取件结果优先,保留附件已知类型,最后兜底 URI 后缀。- const activeResolveState = activeImage ? resolveMap[activeImage.url] : undefined;const activeMimeType = ((activeResolveState?.status === 'ready'? activeResolveState.media.mimeType: undefined) ?? activeImage?.payload.media.mimeType)?.split(';', 1)[0].trim().toLowerCase();@@ -793,6 +824,7 @@ export const ImageLightbox = memo(function ImageLightbox({? strokes: annotation?.initialStrokesFor?.(item) ?? EMPTY_STROKES}chromeHidden={chromeHidden}+ chromeVisible={chromeShown && chromeInteractive}dismissY={dismissY}height={height}image={item}@@ -801,6 +833,7 @@ export const ImageLightbox = memo(function ImageLightbox({onChromeBusy={handleChromeBusy}onDrawPoint={handleDrawPoint}onImageError={handleImageLoadError}+ onImageLoaded={handleImageLoaded}onNaturalSize={handleNaturalSize}onRequestClose={handleRequestClose}onRetry={handleRetryPage}@@ -1093,6 +1126,7 @@ const LightboxPage = memo(function LightboxPage({annotationDraftStroke,annotationStrokes,chromeHidden,+ chromeVisible,dismissY,height,image,@@ -1101,6 +1135,7 @@ const LightboxPage = memo(function LightboxPage({onChromeBusy,onDrawPoint,onImageError,+ onImageLoaded,onNaturalSize,onRequestClose,onRetry,@@ -1120,6 +1155,7 @@ const LightboxPage = memo(function LightboxPage({/** 已落笔迹(活跃页=编辑态;其它页=各自的既有笔迹,只读叠加显示)。 */annotationStrokes: readonly AnnotationStroke[];chromeHidden: SharedValue<number>;+ chromeVisible: boolean;dismissY: SharedValue<number>;height: number;image: MobileMessageGalleryImage;@@ -1141,6 +1177,7 @@ const LightboxPage = memo(function LightboxPage({/** 原生 Image 加载失败(悬空 key 404 等)→ 上抛做一次性 forceRefresh 自愈。* 带 image 参数的稳定引用;是否接线由本页按 retryable 判定。 */onImageError?: (image: MobileMessageGalleryImage) => void;+ onImageLoaded(image: MobileMessageGalleryImage, media?: MobileResolvedRemoteMedia): void;onNaturalSize(imageKey: string, size: { width: number; height: number }): void;onRequestClose(): void;onRetry(image: MobileMessageGalleryImage): void;@@ -1201,6 +1238,10 @@ const LightboxPage = memo(function LightboxPage({* 直连 http 图在本页落失败态,用户重试时清除此标记并重新挂载 Image。*/const [failedFullUri, setFailedFullUri] = useState<string | null>(null);+ // 同一个本地路径重取后可能已有新字节:失败只属于当次取件结果,不能永久封锁 URI。+ const [failedFullMedia, setFailedFullMedia] = useState<MobileResolvedRemoteMedia | undefined>();+ const [retryRequested, setRetryRequested] = useState(false);+ const insets = useSafeAreaInsets();/*** 垫底缩略图的像素尺寸:原图未到时用它的宽高比算 contain 显示尺寸,* 让缩放 / 平移的边界从打开起就对(缩略图与原图同比例)。@@ -1210,21 +1251,30 @@ const LightboxPage = memo(function LightboxPage({const media = image.payload.media;// 桌面取件图可 forceRefresh;直连图重试只重新挂载原 URI,不走桌面取件。const retryable = !media.previewable && isDesktopLocalMediaUrl(media.url);+ const fullFailed = !!uri && failedFullUri === uri+ && (!retryable || failedFullMedia === resolveState?.media);+ const resolvedUnsupported = resolveState?.status === 'ready' && !resolveState.media.previewable;+ const originalFailed = resolveState?.status === 'error' || resolvedUnsupported+ || (!retryable && fullFailed) || (!uri && !retryable && !media.previewable);const layers = lightboxImageLayers({fullUri: uri,previewUri,- fullLoaded: !!uri && loadedUri === uri,+ fullLoaded: !!uri && loadedUri === uri && !fullFailed,previewFailed: !!previewUri && failedPreviewUri === previewUri,- fullFailedTerminally: !retryable && !!uri && failedFullUri === uri,+ fullFailedTerminally: originalFailed,});-- // 取件成功但 mime 非图片(unsupported)时 displayUriFor 恒为 null,若只认- // status==='error' 会永远停在 spinner —— 一并视为失败,给到重试按钮。- const resolvedUnsupported = resolveState?.status === 'ready' && !resolveState.media.previewable;- // 没有原图地址、也不会再有(取件失败 / 不支持 / 无取件途径):给失败文案与重试。- const pageFailed = layers.showFailure || (!uri && (- resolveState?.status === 'error' || resolvedUnsupported || (!retryable && !media.previewable)- ));+ // 所有失败统一经图层模型裁决:可用预览优先,没有任何可显示内容才整页报错。+ const pageFailed = layers.showFailure;+ const showOriginalNotice = active && chromeVisible && layers.showPreview && (originalFailed || retryRequested);+ const retryOriginal = () => {+ if (retryRequested && !originalFailed) return;+ setRetryRequested(true);+ if (retryable) onRetry(image);+ else {+ setFailedFullUri(null);+ setLoadedUri(null);+ }+ };const reportZoomed = useCallback((value: boolean) => {onZoomChange(value);@@ -1850,17 +1900,20 @@ const LightboxPage = memo(function LightboxPage({testID="message.imageLightboxPreviewLayer"/>) : null}- {uri ? <AnimatedImage+ {uri && !fullFailed ? <AnimatedImage// 两条失败路径都要接:可重取的图交父层做一次 forceRefresh 自愈(再失败// 落父层 error 态给重试按钮);直连图在本页落失败态,提供原地重试。onError={() => {setFailedFullUri(uri);+ setFailedFullMedia(resolveState?.media);+ setLoadedUri(null);if (onImageError && retryable) onImageError(image);}}onLoad={(event) => {// 撤垫底的唯一依据:原图真的有像素了。早于此撤(例如取件一完成// 就撤)就会把下载窗口裸露成黑屏,正是本次修复的起因。setLoadedUri(uri);+ onImageLoaded(image, resolveState?.status === 'ready' ? resolveState.media : undefined);const source = event.source;if (source && source.width > 0 && source.height > 0) {onNaturalSize(image.key, { width: source.width, height: source.height });@@ -1938,7 +1991,7 @@ const LightboxPage = memo(function LightboxPage({<Text style={styles.stateText}>{t(mediaLoadFailureKey(resolveState?.status === 'error' ? resolveState.error : undefined))}</Text>- {retryable || layers.showFailure ? (+ {retryable || fullFailed ? (<PressableaccessibilityLabel={t('message.lightbox.retryLoadImage')}accessibilityRole="button"@@ -1961,6 +2014,26 @@ const LightboxPage = memo(function LightboxPage({) : null}</Pressable>)}+ {showOriginalNotice ? (+ <View pointerEvents="box-none" style={[styles.originalNotice, {+ top: insets.top + 64, left: insets.left + 16, right: insets.right + 16,+ }]}>+ <ErrorNotice+ message={t(originalFailed ? 'message.lightbox.originalUnavailable' : 'message.lightbox.loadingOriginal')}+ description={originalFailed ? t(mediaLoadFailureKey(resolveState?.status === 'error' ? resolveState.error : undefined)) : undefined}+ testID="message.imageLightboxOriginalNotice"+ actions={retryable || fullFailed ? (+ <ErrorNoticeAction+ label={t('message.lightbox.retryOriginal')}+ busy={!originalFailed}+ disabled={!originalFailed}+ onPress={retryOriginal}+ testID="message.imageLightboxRetryButton"+ />+ ) : undefined}+ />+ </View>+ ) : null}</View>);});@@ -2103,6 +2176,7 @@ const styles = StyleSheet.create({// 垫底缩略图 / 转圈都脱离 flex 流:与原图同为 flex 子节点会被各分一半高度。pagePreviewLayer: { ...absoluteFill },pageSpinnerLayer: { ...absoluteFill, alignItems: 'center', justifyContent: 'center' },+ originalNotice: { position: 'absolute' },pageLabel: {color: 'rgba(255, 255, 255, 0.85)',fontSize: typeScale.footnote,diff --git a/apps/mobile/src/session/imageLightboxModel.ts b/apps/mobile/src/session/imageLightboxModel.tsindex 6fcdcddbdf..85360b8415 100644--- a/apps/mobile/src/session/imageLightboxModel.ts+++ b/apps/mobile/src/session/imageLightboxModel.ts@@ -504,7 +504,7 @@ export interface LightboxImageLayers {showPreview: boolean;/** 是否渲染转圈(仅在连缩略图都没有、否则就是纯黑时)。 */showSpinner: boolean;- /** 是否渲染失败终态文案(原图已确证失败且没有重试路径,不能永远转圈)。 */+ /** 是否渲染整页失败(原图已确证失败且没有可用显示层,不能永远转圈)。 */showFailure: boolean;}@@ -537,8 +537,8 @@ export function lightboxImageLayers(input: {/** 垫底图是否已确认 onError(文件被清理等);失败的垫底不能顶替转圈。 */previewFailed?: boolean;/**- * 原图已确证 onError,且这条路径没有自动重取 / 重试入口(直连 http 图)。- * 此时既没有像素也不会再有,必须给失败终态——转圈会一直谎报"还在加载"。+ * 原图取件已失败 / 不支持,或原生 onError 的自动恢复已结束。+ * 没有可用原图与预览时给失败终态;保留用户主动重试的入口。*/fullFailedTerminally?: boolean;}): LightboxImageLayers {diff --git a/apps/mobile/src/session/remoteMedia.ts b/apps/mobile/src/session/remoteMedia.tsindex a8b777f5d9..19bbc25fbf 100644--- a/apps/mobile/src/session/remoteMedia.ts+++ b/apps/mobile/src/session/remoteMedia.ts@@ -119,6 +119,7 @@ export type ResolveRemoteMediaFn = (front?: boolean;signal?: AbortSignal;forceRefresh?: boolean;+ /** 不新建取件;与 front 同用可提升已有排队项。 */cachedOnly?: boolean;},) => Promise<MobileResolvedRemoteMedia>;diff --git a/apps/mobile/src/session/remoteMediaResolveQueue.ts b/apps/mobile/src/session/remoteMediaResolveQueue.tsindex 718ea900d5..0d057ffdde 100644--- a/apps/mobile/src/session/remoteMediaResolveQueue.ts+++ b/apps/mobile/src/session/remoteMediaResolveQueue.ts@@ -93,6 +93,7 @@ export interface RemoteMediaRequestOptions {* true 时只吃本队列的 fresh 缓存:命中即回,未命中直接 reject——绝不排队、不触发* 取件、也不写负缓存(lightbox 垫底预取用:缩略图对 gif/老被控端会回落成整张* 原图下载,装饰性预取不值得为此付一次全量取件)。+ * 与 front 同用时仅提升已有排队项,不新建请求或等待者。*/cachedOnly?: boolean;}@@ -319,6 +320,16 @@ export function createRemoteMediaResolveQueue(}}+ function promoteQueued(key: string): void {+ const entry = entries.get(key);+ if (!entry || entry.inFlight) return;+ const index = pendingOrder.indexOf(key);+ if (index > 0) {+ pendingOrder.splice(index, 1);+ pendingOrder.unshift(key);+ }+ }+function request(media: RemoteMediaRequest,opts: RemoteMediaRequestOptions = {},@@ -331,6 +342,7 @@ export function createRemoteMediaResolveQueue(return Promise.resolve(cached);}if (opts.cachedOnly) {+ if (opts.front) promoteQueued(key);// 只读缓存模式:未命中直接拒绝,不入队、不碰负缓存(不污染同键的真实取件)。return Promise.reject(new Error(i18n.t('composer.attachments.mediaCacheMiss')));}@@ -357,14 +369,7 @@ export function createRemoteMediaResolveQueue(} else if (opts.forceRefresh && !entry.inFlight) {entry.skipCache = true;}- if (opts.front && !entry.inFlight) {- // 已排队的条目被高优先级请求命中 → 提到队头。- const idx = pendingOrder.indexOf(key);- if (idx > 0) {- pendingOrder.splice(idx, 1);- pendingOrder.unshift(key);- }- }+ if (opts.front) promoteQueued(key);const waiter: QueueEntry['waiters'][number] = { resolve, reject, signal: opts.signal };if (opts.signal) {diff --git a/docs/design-rules/design-inventory.md b/docs/design-rules/design-inventory.mdindex 4d6738288e..32eb769bce 100644--- a/docs/design-rules/design-inventory.md+++ b/docs/design-rules/design-inventory.md@@ -60,7 +60,7 @@| `mobile.companions.groups` | mobile | 伙伴群聊与分工 | app/companions/groups/[groupId].tsx | AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, BotGroupAvatars, BotGroupChatScreen, BotGroupComposer, BotGroupMenu, BotGroupMessageAttachments, BotGroupMessageText, BotGroupPlan, BotGroupQuote, BotGroupSettingsSheet, BotGroupSpeakerRow, BotGroupTaskCard, CenteredScreen, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CompanionCardButton, CompanionEntering, CompanionLearningFooter, CompanionMessageActions, CompanionMessageCard, CompanionNativeContent.ios, CompanionPresenceRing, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, ComposerAttachmentTray, ComposerFrame, ComposerFrame.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetMediaViews, DeviceLinkContext, ErrorNotice, FileTypeIcon, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginSetupNativeActions, PluginSetupNativeForm, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, RichAnswer, SentInlineAtomBody, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, ShareMessageCheckbox, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, TaskTags, ThemeProvider, ThinkingDots, VideoSitePreview, WorkingStatusText, [groupId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useComposerPendingImagePreview, useLocale, voicePillWidthMotion | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/groups/[groupId].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/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.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/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupChatScreen.tsx, apps/mobile/src/session/BotGroupComposer.tsx, apps/mobile/src/session/BotGroupMenu.tsx, apps/mobile/src/session/BotGroupMessageAttachments.tsx, apps/mobile/src/session/BotGroupMessageText.tsx, apps/mobile/src/session/BotGroupPlan.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/BotGroupSettingsSheet.tsx, apps/mobile/src/session/BotGroupSpeakerRow.tsx, apps/mobile/src/session/BotGroupTaskCard.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/CompanionTaskResultCard.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.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/ContextSheetMediaViews.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/ThinkingDots.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/WorkingStatusText.tsx, 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/useComposerPendingImagePreview.tsx, apps/mobile/src/session/voicePillWidthMotion.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 | 251 | 230 || `mobile.device-management` | mobile | 设备管理 | app/devices/manage.tsx / app/devices/manage/[deviceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceInformationFields, DeviceInformationFields.ios, DeviceLinkContext, DeviceManagementDialogs, DeviceManagementList, DeviceManagementList.ios, ErrorNotice, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RenameDeviceModal, ResidentHomeList, SettingsGroupRows, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, listDisclosureTransition, manage, nativeToolbarMenuItems, 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/ErrorNotice.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/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RenameDeviceModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SettingsGroupRows.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/listDisclosureTransition.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 | 214 | 60 || `mobile.devices` | mobile | 主机详情 | app/devices/[deviceId].tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ConversationSearchFilterSheet, DeviceLinkContext, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeUnreadContext, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, MobileUserAvatar, MobileVendorIcon, ModalContentArea, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginMenuUnreadDot, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteAccessGuide, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionDetailsNative, SessionDetailsNative.ios, SessionOptionsExpoSheet, SessionRightSpinner, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, TaskTags, ThemeProvider, [deviceId], _layout, gestureHandler, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/[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/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.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/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.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/CompanionNativeContent.ios.tsx, apps/mobile/src/session/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.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/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.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HomeListVisuals.tsx, apps/mobile/src/session/HomeModeSwitch.tsx, apps/mobile/src/session/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeUnreadContext.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/listDisclosureTransition.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 | 214 | 114 |-| `mobile.files` | mobile | 任务文件与预览 | app/files/[sessionId].tsx / app/files/preview/[sessionId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CindyMakeSessionGate, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, FileBrowserSegmentedControl, FileTransferBusyNotice, FileTypeIcon, FileTypeTile, FoldTouchpad, HomeEntryProvider, HtmlBrowserChrome, HtmlBrowserChrome.ios, HtmlFileReader, HtmlPreviewLoading, HtmlWebsiteBrowser, ImageLightbox, IncomingShareBridge, MarkdownFileReader, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionEntryRecovery, SheetModal, SimpleStackHeader, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, [sessionId], _layout, gestureHandler, mediaPlayerWebView, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/files/[sessionId].tsx, apps/mobile/app/files/preview/[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/FileTypeIcon.tsx, apps/mobile/src/components/FileTypeTile.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/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/CindyMakeSessionGate.tsx, apps/mobile/src/session/FileBrowserSegmentedControl.tsx, apps/mobile/src/session/FileTransferBusyNotice.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HtmlBrowserChrome.ios.tsx, apps/mobile/src/session/HtmlBrowserChrome.tsx, apps/mobile/src/session/HtmlFileReader.tsx, apps/mobile/src/session/HtmlPreviewLoading.tsx, apps/mobile/src/session/HtmlWebsiteBrowser.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MarkdownFileReader.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionEntryRecovery.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.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 | 0 | 251 | 81 |+| `mobile.files` | mobile | 任务文件与预览 | app/files/[sessionId].tsx / app/files/preview/[sessionId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CindyMakeSessionGate, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, ErrorNotice, FileBrowserSegmentedControl, FileTransferBusyNotice, FileTypeIcon, FileTypeTile, FoldTouchpad, HomeEntryProvider, HtmlBrowserChrome, HtmlBrowserChrome.ios, HtmlFileReader, HtmlPreviewLoading, HtmlWebsiteBrowser, ImageLightbox, IncomingShareBridge, MarkdownFileReader, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionEntryRecovery, SheetModal, SimpleStackHeader, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, [sessionId], _layout, gestureHandler, mediaPlayerWebView, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/files/[sessionId].tsx, apps/mobile/app/files/preview/[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/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/FileTypeTile.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/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/CindyMakeSessionGate.tsx, apps/mobile/src/session/FileBrowserSegmentedControl.tsx, apps/mobile/src/session/FileTransferBusyNotice.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HtmlBrowserChrome.ios.tsx, apps/mobile/src/session/HtmlBrowserChrome.tsx, apps/mobile/src/session/HtmlFileReader.tsx, apps/mobile/src/session/HtmlPreviewLoading.tsx, apps/mobile/src/session/HtmlWebsiteBrowser.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MarkdownFileReader.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionEntryRecovery.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.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 | 0 | 251 | 84 || `mobile.home` | mobile | 主机与资源首页 | app/index.tsx / app/devices/index.tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ConversationSearchFilterSheet, DeviceLinkContext, ErrorNotice, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModePanes, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeUnreadContext, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginMenuUnreadDot, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionDetailsNative, SessionDetailsNative.ios, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionOptionsExpoSheet, SessionRightSpinner, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, TaskTags, TeammateCreateButton, TeammateGenerationLabel, TeammateHomeScreen, TeammateList, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, WorkingStatusText, _layout, gestureHandler, index, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/index.tsx, apps/mobile/app/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/ErrorNotice.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteAccessGuide.tsx, apps/mobile/src/components/RemoteCompanionAvatar.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/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.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/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSettingsRow.ios.tsx, apps/mobile/src/session/CompanionSettingsRow.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.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/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.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HomeListVisuals.tsx, apps/mobile/src/session/HomeModePanes.tsx, apps/mobile/src/session/HomeModeSwitch.tsx, apps/mobile/src/session/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeUnreadContext.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.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/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.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/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TeammateCreateButton.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateHomeScreen.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/listDisclosureTransition.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 | 214 | 152 || `mobile.mail` | mobile | 邮件阅读与附件预览 | app/mail-preview.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardRecipients, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, mail-preview, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/mail-preview.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/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.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/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.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 | 214 | 57 || `mobile.overlay.connection-startup` | mobile | 根布局挂载的启动与连接反馈 | app/_layout.tsx → StartupSplashOverlay / ConnectionNoticeProvider;各页面 ConnectionBanner | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, ConnectionNoticeProvider, DeviceLinkContext, FoldTouchpad, HomeEntryProvider, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SheetModal, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.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/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.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/FoldTouchpad.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/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.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 | 214 | 52 |