Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): 对齐伙伴正文与私聊入口呈现 (#5059)
Chris Zhang19361f7f0b1e
diff --git a/apps/mobile/app/sessions/[sessionId].tsx b/apps/mobile/app/sessions/[sessionId].tsxindex ad4768a9d9..b29779cf7b 100644--- a/apps/mobile/app/sessions/[sessionId].tsx+++ b/apps/mobile/app/sessions/[sessionId].tsx@@ -2205,7 +2205,11 @@ export default function SessionScreen() {// A pre-ACK snapshot may omit replies sent before the subscription took effect.&& contentRecoveryKey !== null && contentSyncedKey === contentRecoveryKey&& !outboxRecoverySyncHeld && !loading);- const companionChat = companionResource?.ref.kind === 'bot';+ const companionChat = useHostManagedSession(+ JSON.stringify([auth.accountGeneration, deviceId, sessionId]),+ companionResource?.ref.kind === 'bot' ? { source: 'bot' } : currentSession,+ false,+ );const companionNavigationScope = JSON.stringify([auth.accountGeneration, deviceId, sessionId, companionResource?.ref.id, shareSelectionActive]);const [companionNavigation, setCompanionNavigation] = useState({ scope: companionNavigationScope, open: false });// Reused routes must not carry an open drawer (or a queued action) into another companion.diff --git a/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx b/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsxindex b9b82806d4..5963cc4609 100644--- a/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx+++ b/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx@@ -5,6 +5,7 @@ import ts from 'typescript';import { act, createContext, createElement, Fragment, useState } from 'react';import { createRoot, type Root } from 'react-dom/client';import { afterEach, beforeEach, expect, it, vi } from 'vitest';+import { useHostManagedSession } from '@/session/hostManagedSession';import type { RemoteResource } from '@cindy/device-link';const h = vi.hoisted(() => ({@@ -166,13 +167,14 @@ function relevantJsx(node: ts.Node): string {}const compiled = ts.transpileModule(`function PageHost({ bindings }) {const { auth, deviceId, sessionId, companionResource, shareSelectionActive, setSearchOpen } = bindings;+ const currentSession = null;const deviceName = 'PC', remoteUnavailableReason = null, sessionListDrawerOverlayMounted = false;${statements.slice(stateStart, stateEnd).map(n => n.getText(source)).join('\n')}${relevantJsx(header)}return <div data-testid="page-route"><div data-testid="clipped-chrome">{headerNode}</div>${relevantJsx(overlay)}</div>;}`, { compilerOptions: { target: ts.ScriptTarget.ES2022, jsx: ts.JsxEmit.React } }).outputText;-const PageHost = new Function('React', 'useState', 'CompanionHeader', 'CompanionNavigationDrawer', 'MessageHistoryOverlay',- `${compiled}; return PageHost;`)({ createElement, Fragment }, useState, CompanionHeader, CompanionNavigationDrawer, MessageHistoryOverlay);+const PageHost = new Function('React', 'useState', 'useHostManagedSession', 'CompanionHeader', 'CompanionNavigationDrawer', 'MessageHistoryOverlay',+ `${compiled}; return PageHost;`)({ createElement, Fragment }, useState, useHostManagedSession, CompanionHeader, CompanionNavigationDrawer, MessageHistoryOverlay);const pageBindings = () => ({ auth: h.auth, deviceId: 'pc', sessionId: 'session-a', shareSelectionActive: false,companionResource: { ref: { kind: 'bot', collectionId: 'bots', id: 'bot-a' }, display: { title: 'Cindy' } } as RemoteResource | null,setSearchOpen: vi.fn() });diff --git a/apps/mobile/src/__tests__/CompanionMessageCard.test.tsx b/apps/mobile/src/__tests__/CompanionMessageCard.test.tsxindex cc7cadf928..bdd93a9f80 100644--- a/apps/mobile/src/__tests__/CompanionMessageCard.test.tsx+++ b/apps/mobile/src/__tests__/CompanionMessageCard.test.tsx@@ -51,11 +51,13 @@ vi.mock('@/components/AppText', () => ({Text: ({ children }: any) => createElement('span', {}, children),}));vi.mock('@/theme', () => ({- useThemedStyles: () => ({}),+ useThemedStyles: () => ({ note: {} }),useTheme: () => ({ colors: {} }),}));vi.mock('lucide-react-native', () => ({FileText: () => null,+ ArrowLeftRight: () => null,+ ChevronRight: () => null,GitPullRequest: () => null,Square: () => null,GitMerge: () => createElement('i', { 'data-testid': 'merged-pr' }),@@ -614,3 +616,17 @@ it('reveals frozen failure details only after opening the result and its detailsawait act(async () => details!.click());expect(node.textContent).toContain('TIMEOUT: upstream did not finish');});++it.each(['sent', 'received'] as const)('keeps a compact %s private-message entry without leaking its body', async (direction) => {+ const direct = { ...message, key: 'trace', companion: { kind: 'direct', meta: {+ direction, peerBotName: 'Aster', peerBotId: 'peer', viewerBotId: 'viewer', threadId: 'thread',+ preview: 'Synthetic private transport body',+ } } } as NormalizedRemoteMessage;+ await act(async () => root.render(createElement(CompanionMessageCard, { message: direct })));+ expect(node.textContent).toContain(`devices.companions.${direction === 'sent' ? 'sentTo' : 'receivedFrom'}`);+ expect(node.textContent).not.toContain('Synthetic private transport body');+ await act(async () => node.querySelector('button')!.click());+ expect(h.push).toHaveBeenCalledWith({ pathname: '/companions/direct/[threadId]', params: {+ deviceId: 'home', threadId: 'thread', botId: 'viewer',+ } });+});diff --git a/apps/mobile/src/__tests__/companionConversationPresentation.test.ts b/apps/mobile/src/__tests__/companionConversationPresentation.test.tsindex e682715eec..24c1ab694f 100644--- a/apps/mobile/src/__tests__/companionConversationPresentation.test.ts+++ b/apps/mobile/src/__tests__/companionConversationPresentation.test.ts@@ -62,3 +62,32 @@ it.each([false, true])('does not seal old commentary across an unloaded historyexpect(texts([messages[0], at(row('u2', 'user', 'New question'), currentStart - 1), ...messages.slice(1)])).toEqual(['Old commentary', 'New question', 'Current answer, first part', 'Current answer, last part']);});++const receipt = row('r6', 'assistant', '', { botCollaboration: {+ v: 1, role: 'delegation-result', delegationId: 'job', fromBotId: 'bot', fromBotName: 'Aster',+ toBotId: null, toBotName: '', parentSessionId: 'chat', childSessionId: 'child', objective: 'Brief',+ result: { runSequence: 1, status: 'completed', text: 'The completed brief', artifacts: [] },+} });+it.each([false, true])('keeps the result receipt without resurrecting its preamble (streaming=%s)', (running) => {+ const items = bodies([...base, receipt], running);+ expect(JSON.stringify(items)).toContain('The completed brief');+ expect(JSON.stringify(items)).not.toContain('Public progress');+});+it.each([false, true])('does not suppress an older reply across a history gap before a receipt (streaming=%s)', (running) => {+ const oldReply = row('a1', 'assistant', 'Earlier useful reply');+ const laterReceipt = { ...receipt, createdAt: new Date(1001 + HISTORY_GAP_SPLIT_MS + 1).toISOString() };+ const messages = [oldReply, laterReceipt];+ for (const source of [messages, [oldReply, { ...row('u2', 'user', 'New request'), createdAt: laterReceipt.createdAt }, laterReceipt]]) {+ const items = bodies(source, running);+ expect(JSON.stringify(items)).toContain('Earlier useful reply');+ expect(JSON.stringify(items)).toContain('The completed brief');+ }+});+it.each([{ turnCompleted: true }, { turnUsageDetails: { totalTokens: 12 } }])('keeps persisted and live answers with completion seal %j', (seal) => {+ const complete = [...base, row('a7', 'assistant', 'Delivered answer', seal)];+ for (const running of [true, false]) {+ const items = bodies(complete, running);+ expect(items.filter(item => item.type === 'message').map(item => item.message.body)).toEqual(['Help', 'Delivered answer']);+ expect(items.some(item => item.type === 'work_group' || item.type === 'tool_group')).toBe(false);+ }+});diff --git a/apps/mobile/src/__tests__/useHostManagedSession.test.tsx b/apps/mobile/src/__tests__/useHostManagedSession.test.tsxindex 2773d526d9..ffbbb94486 100644--- a/apps/mobile/src/__tests__/useHostManagedSession.test.tsx+++ b/apps/mobile/src/__tests__/useHostManagedSession.test.tsx@@ -6,12 +6,12 @@ import { useHostManagedSession } from '@/session/hostManagedSession';let container: HTMLDivElement;let root: Root;-function Controls({ scope, session }: { scope: string; session: { source?: string } | null }) {- const managed = useHostManagedSession(scope, session);+function Controls({ scope, session, pendingValue }: { scope: string; session: { source?: string } | null; pendingValue?: boolean }) {+ const managed = useHostManagedSession(scope, session, pendingValue);return createElement('div', null, managed ? 'companion controls' : 'task controls');}-const render = (scope: string, session: { source?: string } | null) => {- act(() => root.render(createElement(StrictMode, null, createElement(Controls, { scope, session }))));+const render = (scope: string, session: { source?: string } | null, pendingValue?: boolean) => {+ act(() => root.render(createElement(StrictMode, null, createElement(Controls, { scope, session, pendingValue }))));return container.textContent;};beforeEach(() => {@@ -38,3 +38,14 @@ describe('mobile companion control lifetime', () => {}});});++it('filters a confirmed companion opened without resource params and retains it through refresh', () => {+ expect(render('owner/host/chat', null, false)).toBe('task controls');+ expect(render('owner/host/chat', { source: 'bot' }, false)).toBe('companion controls');+ expect(render('owner/host/chat', null, false)).toBe('companion controls');+ expect(render('owner/host/chat', {}, false)).toBe('companion controls');+ for (const scope of ['owner/host/other', 'owner/other/chat', 'other/host/chat']) {+ expect(render(scope, null, false)).toBe('task controls');+ expect(render(scope, { source: 'desktop' }, false)).toBe('task controls');+ }+});diff --git a/apps/mobile/src/__tests__/useRemoteResourceSession.test.tsx b/apps/mobile/src/__tests__/useRemoteResourceSession.test.tsxindex 504791b300..961476d364 100644--- a/apps/mobile/src/__tests__/useRemoteResourceSession.test.tsx+++ b/apps/mobile/src/__tests__/useRemoteResourceSession.test.tsx@@ -8,12 +8,14 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';const h = vi.hoisted(() => ({get: vi.fn(),+ language: "en",markRead: vi.fn(),store: { getSessionDeviceId: vi.fn(), upsertDeviceSession: vi.fn() },router: { replace: vi.fn(), setParams: vi.fn() },auth: { user: { id: 'owner' }, accountGeneration: 1 },link: { invoke: vi.fn(), connectionEpoch: 1, status: 'online', onRemoteResourceChanged: vi.fn(() => () => {}), subscribe: vi.fn(), unsubscribe: vi.fn() },}));+vi.mock('react-i18next', () => ({ useTranslation: () => ({ i18n: { language: h.language } }) }));vi.mock('react-native', () => ({ AppState: { currentState: 'active', addEventListener: () => ({ remove() {} }) } }));vi.mock('expo-router', async () => {const { useEffect } = await import('react');@@ -55,12 +57,16 @@ function screenReadGate(contentRecoveryKey: string | null, contentSyncedKey: str}Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });let root: Root | undefined;-function Probe({ canMarkRead }: { canMarkRead: boolean }) { useRemoteResourceSession('mac', 'My Mac', 'task-1', canMarkRead); return null; }+let container: HTMLDivElement;+function Probe({ canMarkRead }: { canMarkRead: boolean }) {+ const resource = useRemoteResourceSession('mac', 'My Mac', 'task-1', canMarkRead);+ return typeof resource?.display.title === 'string' ? resource.display.title : null;+}async function render(canMarkRead = false) {- root ??= createRoot(document.createElement('div'));+ if (!root) { container = document.createElement('div'); root = createRoot(container); }await act(async () => root!.render(createElement(Probe, { canMarkRead })));}-beforeEach(() => { vi.clearAllMocks(); h.auth.accountGeneration = 1; h.store.getSessionDeviceId.mockReturnValue(undefined); });+beforeEach(() => { vi.clearAllMocks(); h.auth.accountGeneration = 1; h.language = "en"; h.store.getSessionDeviceId.mockReturnValue(undefined); });afterEach(() => { act(() => root?.unmount()); root = undefined; });describe('companion task visibility refresh', () => {@@ -122,3 +128,15 @@ describe('companion task visibility refresh', () => {expect(h.router.replace).not.toHaveBeenCalled();});});++it.each(['zh-CN', 'zh-TW', 'en', 'ja', 'ko'])('sends the viewing locale %s and reloads when it changes', async (locale) => {+ h.get.mockImplementation(async () => ({ revision: 'same', links: [], display: { title: h.language } }));+ h.language = locale;+ await render();+ expect(h.get).toHaveBeenLastCalledWith(h.link.invoke, { deviceId: 'mac', deviceName: 'My Mac' },+ { collectionId: 'teammates', id: 'bot-1', kind: 'bot' }, locale);+ h.language = locale === 'en' ? 'ja' : 'en';+ await render();+ expect(h.get.mock.calls.at(-1)?.[3]).toBe(h.language);+ expect(container.textContent).toBe(h.language);+});diff --git a/apps/mobile/src/i18n/locales/en/devices.json b/apps/mobile/src/i18n/locales/en/devices.jsonindex 8cc605a88e..c7f12b7ad3 100644--- a/apps/mobile/src/i18n/locales/en/devices.json+++ b/apps/mobile/src/i18n/locales/en/devices.json@@ -813,7 +813,8 @@},"companions": {"messageSent": "Message sent",- "privateChat": "Private chat with {{name}}",+ "sentTo": "Sent a message to {{name}}",+ "receivedFrom": "Message from {{name}}","backgroundTask": "Background task","openTask": "Open task","viewPr": "View PR",diff --git a/apps/mobile/src/i18n/locales/ja/devices.json b/apps/mobile/src/i18n/locales/ja/devices.jsonindex 04c411aa3e..c025a65dbb 100644--- a/apps/mobile/src/i18n/locales/ja/devices.json+++ b/apps/mobile/src/i18n/locales/ja/devices.json@@ -813,7 +813,8 @@},"companions": {"messageSent": "追加メッセージを送信しました",- "privateChat": "{{name}} との会話",+ "sentTo": "{{name}} にメッセージを送信",+ "receivedFrom": "{{name}} からのメッセージ","backgroundTask": "バックグラウンドタスク","openTask": "タスクを開く","viewPr": "PR を見る",diff --git a/apps/mobile/src/i18n/locales/ko/devices.json b/apps/mobile/src/i18n/locales/ko/devices.jsonindex 223012e431..d947804a73 100644--- a/apps/mobile/src/i18n/locales/ko/devices.json+++ b/apps/mobile/src/i18n/locales/ko/devices.json@@ -813,7 +813,8 @@},"companions": {"messageSent": "추가 메시지를 보냈습니다",- "privateChat": "{{name}} 님과의 대화",+ "sentTo": "{{name}}에게 메시지를 보냄",+ "receivedFrom": "{{name}}의 메시지","backgroundTask": "백그라운드 작업","openTask": "작업 열기","viewPr": "PR 보기",diff --git a/apps/mobile/src/i18n/locales/zh-CN/devices.json b/apps/mobile/src/i18n/locales/zh-CN/devices.jsonindex cd548af6f6..c98b669bf3 100644--- a/apps/mobile/src/i18n/locales/zh-CN/devices.json+++ b/apps/mobile/src/i18n/locales/zh-CN/devices.json@@ -813,7 +813,8 @@},"companions": {"messageSent": "已发送补充消息",- "privateChat": "与 {{name}} 的私聊",+ "sentTo": "已发消息给 {{name}}",+ "receivedFrom": "消息来自 {{name}}","backgroundTask": "后台任务","openTask": "打开任务","viewPr": "查看 PR",diff --git a/apps/mobile/src/i18n/locales/zh-TW/devices.json b/apps/mobile/src/i18n/locales/zh-TW/devices.jsonindex cecddf6bb9..f7b55df1ab 100644--- a/apps/mobile/src/i18n/locales/zh-TW/devices.json+++ b/apps/mobile/src/i18n/locales/zh-TW/devices.json@@ -813,7 +813,8 @@},"companions": {"messageSent": "已傳送補充訊息",- "privateChat": "與 {{name}} 的私聊",+ "sentTo": "已傳訊息給 {{name}}",+ "receivedFrom": "訊息來自 {{name}}","backgroundTask": "背景任務","openTask": "開啟任務","viewPr": "查看 PR",diff --git a/apps/mobile/src/session/CompanionMessageCard.tsx b/apps/mobile/src/session/CompanionMessageCard.tsxindex ffa947ba0c..fd400d5f24 100644--- a/apps/mobile/src/session/CompanionMessageCard.tsx+++ b/apps/mobile/src/session/CompanionMessageCard.tsx@@ -9,7 +9,7 @@ import {GitPullRequestClosed,GitPullRequestDraft,Square,- MessageCircle,+ ArrowLeftRight,ChevronRight,} from 'lucide-react-native';import {@@ -95,31 +95,34 @@ function CompanionMessageCardContent({ message }: { message: NormalizedRemoteMes);const meta = card.meta;return (- <Pressable- accessibilityRole="button"- style={styles.privateTrace}- onPress={() =>- router.push({- pathname: '/companions/direct/[threadId]',- params: {- deviceId,- threadId: meta.threadId,- botId: meta.viewerBotId,- },- })- }- >- <MessageCircle size={iconSize.md} color={styles.note.color} />- <View style={{ flex: 1 }}>- <Text style={styles.note}>- {t('devices.companions.privateChat', { name: meta.peerBotName })}- </Text>- <Text numberOfLines={2} style={styles.note}>- {meta.preview}- </Text>- </View>- <ChevronRight size={iconSize.md} color={styles.note.color} />- </Pressable>+ <View style={styles.privateTrace} testID="companion.privateTrace">+ <View style={styles.traceLine} />+ <Pressable+ accessibilityRole="button"+ style={styles.traceTouchTarget}+ onPress={() =>+ router.push({+ pathname: '/companions/direct/[threadId]',+ params: {+ deviceId,+ threadId: meta.threadId,+ botId: meta.viewerBotId,+ },+ })+ }+ >+ {({ pressed }) => (+ <View style={[styles.traceAction, pressed && mobileInteractionStyles.pressed]}>+ <ArrowLeftRight size={iconSize.sm} color={styles.note.color} />+ <Text numberOfLines={2} style={[styles.note, styles.traceLabel]}>+ {t(meta.direction === 'sent' ? 'devices.companions.sentTo' : 'devices.companions.receivedFrom', { name: meta.peerBotName })}+ </Text>+ <ChevronRight size={iconSize.sm} color={styles.note.color} />+ </View>+ )}+ </Pressable>+ <View style={styles.traceLine} />+ </View>);}@@ -426,8 +429,13 @@ function CompanionTaskCard({const makeStyles = (colors: ThemeColors) =>StyleSheet.create({- privateTrace: { flexDirection: 'row', alignItems: 'center', gap: spacing.sm, minHeight: 44, paddingVertical: spacing.sm },- card: {+ privateTrace: { flexDirection: 'row', alignItems: 'center', gap: spacing.sm },+ traceLine: { flex: 1, height: StyleSheet.hairlineWidth, backgroundColor: colors.border },+ traceTouchTarget: { minHeight: 44, maxWidth: '90%', justifyContent: 'center', flexShrink: 1 },+ traceAction: { flexDirection: 'row', alignItems: 'center', gap: spacing.xs, borderWidth: StyleSheet.hairlineWidth,+ borderColor: colors.border, borderRadius: radius.pill, paddingHorizontal: spacing.sm, paddingVertical: spacing.xs },+ traceLabel: { flexShrink: 1 },+ card: {marginVertical: spacing.sm,padding: spacing.md,gap: spacing.xs,diff --git a/apps/mobile/src/session/companionConversationPresentation.ts b/apps/mobile/src/session/companionConversationPresentation.tsindex 05f1ff5a42..56733d6ce0 100644--- a/apps/mobile/src/session/companionConversationPresentation.ts+++ b/apps/mobile/src/session/companionConversationPresentation.ts@@ -3,7 +3,8 @@ import { collectMobileMarkdownImages } from './messageMarkdown';import type { MobileMessageRenderItem } from './messageRenderModel';const isDelivery = (item: MobileMessageRenderItem) => item.type === 'tool_media' && item.tools.some(tool => !!tool.media?.length || !!tool.files?.length)- || item.type === 'message' && (!!item.message.attachments?.length || !!item.message.media?.length+ || item.type === 'message' && (item.message.companion?.kind === 'task' && item.message.companion.meta.role === 'delegation-result'+ || !!item.message.attachments?.length || !!item.message.media?.length|| !!item.message.files?.length || collectMobileMarkdownImages(item.message.body).length > 0);/** Presentation only. The host's persisted messages and lazy history remain intact. */@@ -31,7 +32,16 @@ export function companionConversationItems(items: readonly MobileMessageRenderIt// A later delivery is already the result. Do not restore its unsealed preamble.const deliveredAfter = new Set<string>();let delivery = false;+ let nextMessageAt: number | null = null;for (const item of [...flattened].reverse()) {+ if (item.type === 'message') {+ const createdAt = Date.parse(item.message.createdAt);+ if (Number.isFinite(createdAt)) {+ // A receipt in a newer loaded window cannot suppress an older reply.+ if (nextMessageAt !== null && nextMessageAt - createdAt > HISTORY_GAP_SPLIT_MS) delivery = false;+ nextMessageAt = createdAt;+ }+ }if (item.type === 'message' && item.message.kind === 'user') delivery = false;else if (isDelivery(item)) delivery = true;else if (delivery) deliveredAfter.add(item.key);diff --git a/apps/mobile/src/session/hostManagedSession.ts b/apps/mobile/src/session/hostManagedSession.tsindex 5ceeceba3a..1c7f9384e5 100644--- a/apps/mobile/src/session/hostManagedSession.ts+++ b/apps/mobile/src/session/hostManagedSession.ts@@ -15,6 +15,7 @@ export function isHostManagedSession(export function useHostManagedSession(scope: string,session: Pick<RemoteSession, 'source'> | null | undefined,+ pendingValue = true,): boolean {const [observed, setObserved] = useState<{ scope: string; managed: boolean | null }>(() => ({ scope, managed: session ? isHostManagedSession(session) : null }),@@ -25,6 +26,7 @@ export function useHostManagedSession(if (observed.scope !== scope || observed.managed !== managed) {setObserved({ scope, managed });}- // Before the first authoritative snapshot, do not flash task-only controls.- return managed !== false;+ // Controls stay conservative before a snapshot; transcript callers require+ // confirmed ownership so ordinary task history is never filtered on load.+ return managed ?? pendingValue;}diff --git a/apps/mobile/src/session/useCompanionGenerationCopy.ts b/apps/mobile/src/session/useCompanionGenerationCopy.tsindex dad1cc68fb..79bf2dc251 100644--- a/apps/mobile/src/session/useCompanionGenerationCopy.ts+++ b/apps/mobile/src/session/useCompanionGenerationCopy.ts@@ -16,7 +16,7 @@ export function useCompanionGenerationCopy({ deviceId, botId, phase, active, turconst [caption, setCaption] = useState<{ scope: string; text: string } | null>(null);useEffect(() => {let cancelled = false;- if (active && phase && hasPublicWorkingSubject(phase)) {+ if (active && botId && phase && hasPublicWorkingSubject(phase)) {void invoke<unknown>(deviceId, REMOTE_RESOURCE_GET_CHANNEL, [{ client: {protocolVersion: REMOTE_RESOURCE_PROTOCOL_VERSION, primitives: ['status'], locale: i18n.language,}, ref: { collectionId: 'teammates', kind: 'bot', id: `working:${botId}/${phase}` } }]).then(value => {diff --git a/apps/mobile/src/session/useRemoteResourceSession.ts b/apps/mobile/src/session/useRemoteResourceSession.tsindex 03f52e6e46..7e27181425 100644--- a/apps/mobile/src/session/useRemoteResourceSession.ts+++ b/apps/mobile/src/session/useRemoteResourceSession.ts@@ -1,4 +1,5 @@import { useCallback, useRef, useState } from 'react';+import { useTranslation } from 'react-i18next';import type { RemoteResource } from '@cindy/device-link';import { AppState } from 'react-native';import { useFocusEffect, useLocalSearchParams, useRouter } from 'expo-router';@@ -18,10 +19,11 @@ export function useRemoteResourceSession(deviceId: string, deviceName: string, sconst resourceKind = typeof params.resourceKind === 'string' ? params.resourceKind : '';const { invoke, connectionEpoch, status, onRemoteResourceChanged, subscribe, unsubscribe } = useDeviceLink();const { user, accountGeneration } = useAuth();+ const { i18n } = useTranslation();const router = useRouter();- const identity = JSON.stringify([accountGeneration, deviceId, collectionId, resourceKind, resourceId]);+ const identity = JSON.stringify([accountGeneration, deviceId, sessionId, collectionId, resourceKind, resourceId]);const [display, setDisplay] = useState<{ identity: string; resource: RemoteResource } | null>(null);- const binding = JSON.stringify([accountGeneration, connectionEpoch, deviceId, sessionId, collectionId, resourceId, canMarkRead]);+ const binding = JSON.stringify([identity, connectionEpoch, canMarkRead, i18n.language]);const current = useRef(binding); current.current = binding;useFocusEffect(useCallback(() => {if (!collectionId || !resourceId || !resourceKind || !deviceId || status !== 'online') return;@@ -33,11 +35,10 @@ export function useRemoteResourceSession(deviceId: string, deviceName: string, sconst expected = ++generation;const valid = () => !disposed && current.current === binding && generation === expected && AppState.currentState === 'active';try {- const resource = await getRemoteResource(invoke, { deviceId, deviceName }, { collectionId, id: resourceId, kind: resourceKind });+ const resource = await getRemoteResource(invoke, { deviceId, deviceName }, { collectionId, id: resourceId, kind: resourceKind }, i18n.language);if (!valid()) return;// Reuse this existing read rather than issuing a second profile request per turn.- setDisplay((previous) => previous?.identity === identity && previous.resource.revision === resource.revision- ? previous : { identity, resource });+ setDisplay({ identity, resource });const target = resource.links.find((link) => link.rel === 'conversation')?.target;if (target?.kind !== 'session') return;if (target.sessionId !== sessionId) {@@ -73,6 +74,6 @@ export function useRemoteResourceSession(deviceId: string, deviceName: string, sconst appState = AppState.addEventListener('change', (state) => { generation += 1; if (state === 'active') void load(); });void load();return () => { disposed = true; offPush(); offTopic(); appState.remove(); if (timer) clearTimeout(timer); };- }, [binding, canMarkRead, collectionId, deviceId, deviceName, identity, invoke, onRemoteResourceChanged, resourceId, resourceKind, router, sessionId, status, subscribe, unsubscribe, user?.id]));+ }, [binding, canMarkRead, collectionId, deviceId, deviceName, identity, invoke, i18n.language, onRemoteResourceChanged, resourceId, resourceKind, router, sessionId, status, subscribe, unsubscribe, user?.id]));return display?.identity === identity ? display.resource : null;}diff --git a/docs/design-previews/teammate-generation/README.md b/docs/design-previews/teammate-generation/README.mdindex 3b9026b992..b38c8b3453 100644--- a/docs/design-previews/teammate-generation/README.md+++ b/docs/design-previews/teammate-generation/README.md@@ -46,3 +46,28 @@ node docs/design-previews/teammate-generation/fixtures/capture-mobile-components三种运行时均已有真实事件:Claude/Codex 发 `status: Compacting...`,Pi 发 `status: Compacting context…`;成功后发 `compact_boundary`。本次在宿主公共阶段中识别它们,优先于前一个工具结果和旧消息,发布 `compacting`。边界回到思考,后续文本回到回复;停止/错误撤下生成状态,新一轮重新开始。后台手动压缩不伪造前台生成轮。五语言的列表和输入框使用同一固定本地化文案(简中“正在整理对话…”),不为压缩调用润色模型。既有 1 秒文字切换节奏和 alpha 动画保持;晚到的旧润色结果因阶段变化丢弃。状态机、远程列表、Desktop 真实组件和 Mobile hook 测试覆盖开始、结束、恢复、停止、失败和缓存残留。新增图片仍为离线真实组件 fixture,不是新正式版或手机实机截图。++## 手机主时间线对齐补充++以 `235c3953e3afb60447a29a692d5a3b23e28bcd53` 为对照基线,修复手机正文开关依赖异步资源详情的问题:+已确认 `source=bot` 的任务在详情暂缺、普通任务路由进入及刷新时继续使用伙伴正文投影;未知任务不提前过滤。+手机资源读取传入查看端 locale,同一 revision 切语言后仍应用新投影。+私聊记录与打开路径保留,入口改为与 Desktop 一致的发送方向,不在主时间线打印私聊摘要。+完成结果回执视为交付,避免恢复它前面的无终态旁白。++新增重现入口:++```sh+node docs/design-previews/teammate-generation/fixtures/capture-mobile-conversation.cjs+node docs/design-previews/teammate-generation/fixtures/capture-desktop-conversation.cjs+```++PNG 位于忽略的 `tmp/teammate-generation-evidence/`:`mobile-chat-before/after-light/dark.png` 与+`desktop-chat-reference-light/dark.png`。手机图使用真实私聊组件、主题和消息 normalize/render/projection,+外层导航、正文文本容器、输入框和修改前的工作行是 fixture;前图模拟“已知伙伴但资源详情未到”的真实入口条件。+桌面参考使用当前真实 `BotDirectMessageCard` 与主题,Desktop 本次没有视觉修改。全部内容为合成数据。+这些图片已按 Light/Dark 目检;不代表 iPhone、Android 或双设备实机验收,也不证明任一安装包已收到修复。++通用消息封口由宿主为 Claude Code、Codex 和 Pi 写入,手机不按引擎另造过滤规则;回归覆盖完成标记、无价格用量封口、+实时/历史、附件、问题、错误和结果回执。桌面对应投影、私聊路由、结果卡与润色状态测试作为语义参照。+原有一秒文案节奏与 alpha 实现未修改;公开阶段沿既有 `workingPhase`/压缩状态传递,旧端保持本地化阶段兜底。diff --git a/docs/design-previews/teammate-generation/fixtures/capture-desktop-conversation.cjs b/docs/design-previews/teammate-generation/fixtures/capture-desktop-conversation.cjsnew file mode 100644index 0000000000..8f8a7ae4ae--- /dev/null+++ b/docs/design-previews/teammate-generation/fixtures/capture-desktop-conversation.cjs@@ -0,0 +1,50 @@+const fs=require('node:fs'),path=require('node:path'),cp=require('node:child_process');+const esbuild=require('esbuild'),postcss=require('postcss'),tailwind=require('tailwindcss');+const {chromium}=require('playwright-core');+const root=process.cwd(),fixture=path.join(root,'docs/design-previews/teammate-generation/fixtures'),renderer=path.join(root,'apps/desktop/src/renderer');+const themes=path.join(root,'tmp/teammate-generation-evidence');+const stubModules={+ '@/features/device-link/remoteProjectsStore':`export const remoteProjectsStore={getSessionDeviceId:()=>null};`,+ '@/components/chat/markdownImageTargets':`export const extractRenderedMarkdownImageTargets=()=>[];`,+ '@/i18n':`import i18n from 'i18next';export {i18n};export default i18n;`,+ '@/features/bots/botStore':`export const useBotProfiles=()=>[];export const useBotUnreadCounts=()=>({});`,+ '@/features/device-link/useDeviceLinkDeviceList':`export const useDeviceLinkDeviceList=()=>[];`,+ '@/contexts/AuthContext':`export const useAuth=()=>({});`,+ '@/lib/logger':`export const createLogger=()=>({info(){},warn(){},error(){},debug(){}});`,+ '@/state/agentIslandActivity':`export const useAgentIslandActivity=()=>null;`,+ '@/features/device-link/remoteSessionActivityStore':`export const useRemoteSessionActivity=()=>null;`,+};+fs.mkdirSync(path.join(root,'tmp/teammate-generation-evidence'),{recursive:true});+(async()=>{+ const cfg=require('tailwindcss/loadConfig')(path.join(root,'apps/desktop/tailwind.config.ts'));+ cfg.content=[path.join(renderer,'features/bots/*.tsx'),path.join(renderer,'components/chat/WorkGroupBlock.tsx'),path.join(renderer,'components/ui/{select,button,spinner}.tsx')];+ const css=(await postcss([tailwind(cfg)]).process(fs.readFileSync(path.join(renderer,'styles/generated/tokens.css'),'utf8')+'\n'+fs.readFileSync(path.join(renderer,'styles/globals.css'),'utf8').replace(/^@import.*$/gm,''),{from:undefined})).css;+ const extra=`body{margin:0;background:var(--surface);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,sans-serif}.fixture-caption{font-size:12px;padding:16px 24px;color:var(--text-secondary);border-bottom:1px solid var(--border-default)}.layout{display:flex;height:575px}aside{width:290px;padding:24px 14px;background:var(--sidebar-background,var(--surface-chip));border-right:1px solid var(--border-default)}h2{font-size:18px;font-weight:600;margin:0 10px 22px}main{flex:1;display:flex;flex-direction:column}header{height:66px;padding:20px;display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--border-default)}.messages{padding:28px;flex:1;display:flex;flex-direction:column;gap:26px}.user-bubble{align-self:flex-end;background:var(--surface-chip);padding:12px 18px;border-radius:20px;font-size:15px}.answer{font-size:15px;line-height:1.7}footer{padding:20px 28px}.composer{border:1px solid var(--border-default);background:var(--surface-elevated);border-radius:28px;padding:18px;color:var(--text-tertiary);font-size:14px}.composer span{float:right;color:var(--text-primary)}`;+ const browser=await chromium.launch({headless:true});+ try{for(const before of [false]){+ const stage='reference',bundle=path.join(root,'tmp/teammate-generation-components',`desktop-${stage}.js`);+ const plugin={name:'isolated-fixture',setup(build){+ build.onResolve({filter:/^@\//},args=>{if(stubModules[args.path])return{path:args.path,namespace:'stub'};return {path:path.join(renderer,args.path.slice(2))+(!path.extname(args.path)?'': '')};});+ // These modules are never rendered in the collapsed work header fixture.+ build.onResolve({filter:/\/AgentActionRow$|^\.\/AgentActionRow$/},()=>({path:'action',namespace:'stub'}));+ build.onResolve({filter:/ThinkingText$/},()=>({path:'thinking-text',namespace:'stub'}));+ build.onResolve({filter:/^\.\/botStore$/},()=>({path:'@/features/bots/botStore',namespace:'stub'}));+ build.onLoad({filter:/.*/,namespace:'stub'},args=>({contents:stubModules[args.path]||(args.path==='thinking-text'?'export const ThinkingText=()=>null;':'export const AgentActionRow=()=>{throw Error("Unexpected expanded tool")};'),loader:'tsx'}));+ build.onLoad({filter:/\.(tsx?|js)$/},args=>{+ let filename=args.path;+ if(!fs.existsSync(filename)){for(const ext of ['.tsx','.ts','.js'])if(fs.existsSync(filename+ext)){filename+=ext;break;}}+ });+ }};+ // Let esbuild's normal resolver handle TS extension lookup after aliases.+ const resolve=plugin.setup;plugin.setup=build=>{const orig=build.onResolve.bind(build);build.onResolve=(opts,cb)=>orig(opts,async args=>{const v=await cb(args);if(v?.path&&v.namespace!=='stub'&&!fs.existsSync(v.path)){for(const ext of ['.tsx','.ts','.js'])if(fs.existsSync(v.path+ext)){v.path+=ext;break;}}return v});resolve(build)};+ await esbuild.build({entryPoints:[path.join(fixture,'desktop-conversation-fixture.tsx')],outfile:bundle,bundle:true,format:'esm',platform:'browser',jsx:'automatic',loader:{'.png':'dataurl','.svg':'dataurl'},define:{__BEFORE__:String(before),'import.meta.env.PROD':'true','import.meta.env.DEV':'false'},plugins:[plugin],logLevel:'warning'});+ for(const scenario of ['conversation'])for(const theme of ['light','dark']){+ const page=await browser.newPage({viewport:{width:1040,height:625},deviceScaleFactor:1});const errors=[];page.on('pageerror',e=>errors.push(e.message));+ await page.route('http://fixture.local/**',route=>route.fulfill({contentType:'text/html',body:`<!doctype html><html><head><meta charset="utf-8"><style>${css}${extra}</style></head><body><div id="root"></div><script type="module">${fs.readFileSync(bundle,'utf8').replace(/<\/script/gi,'<\\/script')}</script></body></html>`}));+ await page.goto(`http://fixture.local/?theme=${theme}&scenario=${scenario}`);await page.waitForSelector('button');await page.waitForTimeout(100);+ if(errors.length)throw Error(errors.join('\n'));+ await page.screenshot({path:path.join(themes,`desktop-chat-reference-${theme}${scenario==='compacting'?'-compacting':''}.png`)});+ console.log(stage,theme,await page.locator('body').innerText());await page.close();+ }+ }}finally{await browser.close()}+})().catch(e=>{console.error(e);process.exitCode=1});diff --git a/docs/design-previews/teammate-generation/fixtures/capture-mobile-conversation.cjs b/docs/design-previews/teammate-generation/fixtures/capture-mobile-conversation.cjsnew file mode 100644index 0000000000..6e02f88cbd--- /dev/null+++ b/docs/design-previews/teammate-generation/fixtures/capture-mobile-conversation.cjs@@ -0,0 +1,32 @@+const fs=require('node:fs'),path=require('node:path'),cp=require('node:child_process'),esbuild=require('esbuild');+const {chromium}=require('playwright-core');+const root=process.cwd(),fixture=path.join(root,'docs/design-previews/teammate-generation/fixtures'),mobile=path.join(root,'apps/mobile/src');+const stubs={+ 'expo-router':`export const useRouter=()=>({push:()=>{}});export const useLocalSearchParams=()=>({deviceId:'fixture-host'});export const useFocusEffect=()=>{};`,+ '@/session/remotePathVerdict':`export const peekRemotePathVerdict=()=>null,peekRemotePathVerdictForRender=()=>null,remotePathVerdictKey=()=>'',subscribeRemotePathVerdictChange=()=>()=>{},verifyRemotePathCached=async()=>null;`,+ '@/auth/AuthContext':`export const useAuth=()=>({user:{id:'fixture'},accountGeneration:1,apiFetch:async()=>({})});`,+ '@/device-link/DeviceLinkContext':`export const subscribeRemoteBotChanges=()=>()=>{};export const useDeviceLink=()=>({invoke:async()=>({blocks:[]})});`,+ '@/session/remoteSessionStore':`const activity={phase:'running',workingPhase:new URLSearchParams(location.search).get('scenario')==='compacting'?'compacting':'replying'};export const remoteSessionStore={subscribe:()=>()=>{},getSessionLiveActivity:()=>activity};`,+ '@/session/remoteMedia':`export const resolveMobileRemoteMedia=async()=>({previewable:false});`,+ '@/device-link/mobileMakerTransport':`export const createMobileMakerTransport=()=>({});`,+ '@/config/env':`export const DEVICE_LINK_API_BASE_URL='';`,+ '@/components/MobilePrimitives':`export const MainWindowEmptyState=()=>null;`,+ '@/device-link/remoteResourceCache':`export const isRemoteResourceUnread=()=>false;`,+ '@/i18n':`import i18n from 'i18next';export {i18n};`,+};+const resolve=(v)=>{if(fs.existsSync(v)&&fs.statSync(v).isDirectory())v=path.join(v,'index');if(!fs.existsSync(v))for(const ext of ['.tsx','.ts','.js'])if(fs.existsSync(v+ext))return v+ext;return v};+fs.mkdirSync(path.join(root,'tmp/teammate-generation-evidence'),{recursive:true});+(async()=>{const browser=await chromium.launch({headless:true});try{for(const before of [true,false]){+ const stage=before?'before':'after',bundle=path.join(root,'tmp/teammate-generation-components',`mobile-${stage}.js`);+ await esbuild.build({entryPoints:[path.join(fixture,'mobile-conversation-fixture.tsx')],outfile:bundle,bundle:true,format:'esm',platform:'browser',resolveExtensions:['.web.tsx','.web.ts','.web.js','.tsx','.ts','.js','.json'],jsx:'automatic',loader:{'.png':'dataurl'},define:{__BEFORE__:String(before),__DEV__:'false','process.env.NODE_ENV':'"production"'},plugins:[{name:'mobile-fixture',setup(build){+ build.onResolve({filter:/^expo-router$/},()=>({path:'expo-router',namespace:'stub'}));+ build.onResolve({filter:/^react-native-svg$/},()=>({path:path.join(root,'node_modules/react-native-svg/lib/module/ReactNativeSVG.web.js')}));+ build.onResolve({filter:/^react-native$/},()=>({path:require.resolve('react-native-web')}));+ build.onResolve({filter:/^@\//},args=>stubs[args.path]?{path:args.path,namespace:'stub'}:{path:resolve(path.join(mobile,args.path.slice(2)))});+ build.onResolve({filter:/^\.\/remoteSessionStore$/},()=>({path:'@/session/remoteSessionStore',namespace:'stub'}));+ build.onLoad({filter:/.*/,namespace:'stub'},args=>({contents:stubs[args.path],loader:'tsx',resolveDir:root}));+ build.onLoad({filter:/i18n.*devices\.json$/},args=>before?{contents:cp.execFileSync('git',['show',`235c3953e3afb60447a29a692d5a3b23e28bcd53:${path.relative(root,args.path)}`],{encoding:'utf8'}),loader:'json'}:undefined);+ build.onLoad({filter:/(?:CompanionMessageCard|companionConversationPresentation)\.tsx?$/},args=>before?{contents:cp.execFileSync('git',['show',`235c3953e3afb60447a29a692d5a3b23e28bcd53:${path.relative(root,args.path)}`],{encoding:'utf8'}),loader:'tsx',resolveDir:path.dirname(args.path)}:undefined);+ }}],logLevel:'warning'});+ for(const scenario of ['conversation'])for(const theme of ['light','dark']){const page=await browser.newPage({viewport:{width:420,height:900},deviceScaleFactor:1});const errors=[];page.on('pageerror',e=>errors.push(e.message));await page.route('http://fixture.local/**',route=>route.fulfill({contentType:'text/html',body:`<!doctype html><html><head><meta charset="utf-8"><style>body{margin:0}h2{font-family:-apple-system,sans-serif}</style></head><body><div id="root"></div><script type="module">${fs.readFileSync(bundle,'utf8').replace(/<\/script/gi,'<\\/script')}</script></body></html>`}));await page.goto(`http://fixture.local/?theme=${theme}&scenario=${scenario}`);await page.waitForSelector('#root button');await page.waitForTimeout(300);if(errors.length)throw Error(errors.join('\n'));await page.screenshot({path:path.join(root,`tmp/teammate-generation-evidence/mobile-chat-${stage}-${theme}${scenario==='compacting'?'-compacting':''}.png`)});console.log(stage,theme,'captured');await page.close()}+}}finally{await browser.close()}})().catch(e=>{console.error(e);process.exitCode=1});diff --git a/docs/design-previews/teammate-generation/fixtures/desktop-conversation-fixture.tsx b/docs/design-previews/teammate-generation/fixtures/desktop-conversation-fixture.tsxnew file mode 100644index 0000000000..21d94dc428--- /dev/null+++ b/docs/design-previews/teammate-generation/fixtures/desktop-conversation-fixture.tsx@@ -0,0 +1,19 @@+import React from 'react';+import { createRoot } from 'react-dom/client';+import i18next from 'i18next';+import { initReactI18next } from 'react-i18next';+import { MemoryRouter } from 'react-router-dom';+import zh from '../../../../apps/desktop/src/renderer/i18n/locales/zh-CN/common.json';+import { defaultLight as cindyLight } from '../../../../apps/desktop/src/renderer/themes/builtin/default-light';+import '../../../../apps/desktop/src/renderer/themes/colors';+import { ThemeService } from '../../../../apps/desktop/src/renderer/themes/theme-service';+import { defaultDark as cindyDark } from '../../../../apps/desktop/src/renderer/themes/builtin/default-dark';+import { BotDirectMessageCard } from '../../../../apps/desktop/src/renderer/features/bots/BotDirectMessageCard';+const q = new URLSearchParams(location.search);+const dark = q.get('theme') === 'dark';+const theme = dark ? cindyDark : cindyLight;+new ThemeService().applyTheme(theme);+document.documentElement.classList.toggle('dark',dark);+await i18next.use(initReactI18next).init({ lng:'zh-CN', resources:{ 'zh-CN':{ translation:zh }}, interpolation:{ escapeValue:false }});+const meta = { v:1, threadId:'thread', viewerBotId:'viewer', peerBotId:'peer', peerBotName:'Aster', sequence:1, preview:'Synthetic private body', direction:'sent' };+createRoot(document.getElementById('root')!).render(<MemoryRouter><div className="fixture-caption">Desktop · {dark?'Dark':'Light'} · 当前主干组件参考(未修改)</div><main style={{maxWidth:700,margin:'28px auto'}}><h2>Aster</h2><div className="messages"><div className="user-bubble">请整理会议安排。</div><p>安排已整理好,会议将在周五下午举行。</p><BotDirectMessageCard data={meta} sessionId="fixture"/><BotDirectMessageCard data={{...meta,direction:'received'}} sessionId="fixture"/><p>已收到回复,完整安排已确认。</p></div><footer><div className="composer">继续对话…</div></footer></main></MemoryRouter>);diff --git a/docs/design-previews/teammate-generation/fixtures/mobile-conversation-fixture.tsx b/docs/design-previews/teammate-generation/fixtures/mobile-conversation-fixture.tsxnew file mode 100644index 0000000000..cb589e3278--- /dev/null+++ b/docs/design-previews/teammate-generation/fixtures/mobile-conversation-fixture.tsx@@ -0,0 +1,23 @@+import React from 'react';+import { createRoot } from 'react-dom/client';+import i18next from 'i18next';+import { initReactI18next } from 'react-i18next';+import { View } from 'react-native';+import { ThemeOverrideProvider } from '../../../../apps/mobile/src/theme/ThemeProvider';+import { lightColors, darkColors } from '../../../../apps/mobile/src/theme/tokens';+import { CompanionMessageCard } from '../../../../apps/mobile/src/session/CompanionMessageCard';+import { CompanionWorkingStatus } from '../../../../apps/mobile/src/session/CompanionWorkingStatus';+import { companionConversationItems } from '../../../../apps/mobile/src/session/companionConversationPresentation';+import { buildMobileMessageRenderItems } from '../../../../apps/mobile/src/session/messageRenderModel';+import zh from '../../../../apps/mobile/src/i18n/locales/zh-CN/index';+const dark = new URLSearchParams(location.search).get('theme') === 'dark';+await i18next.use(initReactI18next).init({ lng: 'zh-CN', resources: { 'zh-CN': { translation: zh } }, interpolation: { escapeValue: false } });+const colors = dark ? darkColors : lightColors;+const row = (id: string, role: string, content: unknown, agentMeta = {}) => ({ id, clientId: id, sessionId: 'fixture', role, content, agentMeta, toolUseId: null, createdAt: new Date(1000 + Number(id)).toISOString() });+const messages = [row('1','user','请整理会议安排。'),row('2','assistant','我先查看相关资料。'),row('3','tool_use',{toolName:'Read',toolUseId:'read',input:{path:'example'}}),row('4','tool_result',{toolUseId:'read',result:'Fixture tool result'}),row('5','assistant','安排已整理好,会议将在周五下午举行。',{turnCompleted:true})];+const grouped = buildMobileMessageRenderItems(messages as any, { isSessionStreaming: false });+// The source=bot task is known, but the optional resource detail is unavailable.+// Before: the screen skipped its projection in that state. After: ownership wins.+const items = __BEFORE__ ? grouped : companionConversationItems(grouped);+const direct = (direction: string) => ({ key: direction, source: {sessionId:'fixture'}, companion: {kind:'direct',meta:{direction,peerBotName:'Aster',peerBotId:'peer',viewerBotId:'viewer',threadId:'thread',preview:direction==='sent'?'请读取示例安排并回传相关摘要。这是合成的伙伴消息正文。':'示例安排已经核实,完整记录可从入口打开。'}} });+createRoot(document.getElementById('root')!).render(<ThemeOverrideProvider mode={dark?'dark':'light'}><div style={{background:colors.surface,color:colors.textPrimary,minHeight:900,fontFamily:'-apple-system,sans-serif',padding:'0 18px',boxSizing:'border-box'}}><p style={{fontSize:11,color:colors.textSecondary,paddingTop:16}}>{__BEFORE__?'修改前':'修改后'} · Mobile · {dark?'Dark':'Light'} · 组件 fixture</p><h2 style={{fontSize:24,margin:'28px 0'}}>Aster</h2><p style={{textAlign:'right',fontSize:17}}>请整理会议安排。</p>{items.filter(item=>item.type!=='message'||item.message.kind!=='user').map(item=><div key={item.key} style={{padding:'18px 0',fontSize:17,lineHeight:1.6}}>{item.type==='work_group'?<span style={{color:colors.textSecondary,fontSize:14}}>◇ 工作了 6 秒 ›</span>:item.type==='message'?item.message.body:null}</div>)}<View><CompanionMessageCard message={direct('sent') as any}/><CompanionMessageCard message={direct('received') as any}/></View><p style={{fontSize:17,lineHeight:1.7}}>已收到回复,完整安排已确认。</p><div style={{marginTop:100}}><CompanionWorkingStatus label="正在整理对话…"/><div style={{border:`1px solid ${colors.border}`,borderRadius:28,padding:'16px 20px',color:colors.textSecondary}}>继续对话…</div></div></div></ThemeOverrideProvider>);diff --git a/docs/design-rules/design-inventory.md b/docs/design-rules/design-inventory.mdindex 8ccde7cef8..e7901aa645 100644--- a/docs/design-rules/design-inventory.md+++ b/docs/design-rules/design-inventory.md@@ -55,7 +55,7 @@| `mobile.auth` | mobile | 登录与添加账号 | app/(auth)/login.tsx / app/add-account.tsx | AccountSwitcherSheet, AdaptiveWindow, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, IncomingShareBridge, LoginCaptchaWebView, LoginNativeButton, LoginNativeButton.ios, LoginSkinControls, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, 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, ResidentHomeList, SheetModal, SheetSurface, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, _layout, add-account, gestureHandler, login, peerFileTransport, useLocale | apps/mobile/app/(auth)/login.tsx, apps/mobile/app/_layout.tsx, apps/mobile/app/add-account.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/LoginCaptchaWebView.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/LoginNativeButton.ios.tsx, apps/mobile/src/components/LoginNativeButton.tsx, apps/mobile/src/components/LoginSkinControls.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.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/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/AccountSwitcherSheet.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 211 | 80 || `mobile.automations` | mobile | 自动化 | app/automations/[deviceId].tsx | AdaptiveWindow, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, 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, ResidentHomeList, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/automations/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.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/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/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 204 | 74 || `mobile.chat.new` | mobile | 新建任务 | app/sessions/new.tsx | AdaptiveWindow, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerAttachmentTray, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, DeviceLinkContext, FileTypeIcon, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, ImageLightbox, IncomingShareBridge, MobileAgentMark, MobileAgentSwitcher, MobileChoicePickerList, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileVendorIcon, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NewTaskSelectionSheet, NewTaskSelectionSheet.ios, PaperPlaneIcon, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, 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, ResidentHomeList, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, _layout, gestureHandler, new, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/sessions/new.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.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/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/AnnotationBurnInWebView.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerKeyboardAvoidingView.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/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/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileChoicePickerList.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/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/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NewTaskSelectionSheet.ios.tsx, apps/mobile/src/session/NewTaskSelectionSheet.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 236 | 113 |-| `mobile.chat.session` | mobile | 任务内容与输入 | app/sessions/[sessionId].tsx | AccountSwitcherSheet, AdaptiveWindow, AgentErrorDetails, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, AuthorizationMessageCard, AutomationTimerIcon, BlurBackdrop, CenteredScreen, ChatFileChipMenuSheet, CompanionAutomationNativeView, CompanionAutomationNativeView.ios, CompanionAutomationSheet, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionHeader, CompanionMessageActions, CompanionMessageCard, CompanionModelChain, CompanionNativeContent.ios, CompanionNavigationDrawer, CompanionPortraitPicker, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, CompanionWorkingStatus, ComposerAttachmentTray, ComposerExpandButton, ComposerExpandButton.ios, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeInput, ComposerNativeInput.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerRichInput, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ConversationSearchFilterSheet, ConversationShareSvg, ConversationShareWebView, DeviceLinkContext, FailedScheduleNotice, FileTypeIcon, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSurface, ImageLightbox, IncomingShareBridge, InlineQueueSection, InlineQuoteChip, InlineReferenceChip, InteractionPanel, LoginNativeButton, LoginNativeButton.ios, MarkdownBlockContent, MessageActionSheet, MessageRenderer, MobileAgentMark, MobileAgentSwitcher, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PluginInvocationHeader, PromptRecommendation, PushNotificationsBridge, QuietSyncIndicator, QuoteCapsule, 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, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, RewindPreviewPanel, RunningTokenRatePopover, SentInlineAtomBody, SessionActionSheet, SessionDetailsNative, SessionDetailsNative.ios, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionListDrawer, SessionMenuSheet, SessionOptionsExpoSheet, SessionResourceCards, SessionSearchNative, SessionSearchNative.ios, SessionTailBanner, SessionUsageSummary, ShareImageNativeButton, ShareImageNativeButton.ios, ShareMessageCheckbox, ShareSelectAllButton, ShareSelectionBar, SharedTaskEndedState, SharedTaskScreen, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, StreamingStatusText, SwipeableSessionRow, SwipeableSessionRow.ios, SystemNavigationBack, TaskTags, TaskTagsSheet, TeammateGenerationLabel, TeammateList, TeammatePicker, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, [sessionId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, peerFileTransport, useLocale, useSharedTaskConfirmation | apps/mobile/app/_layout.tsx, apps/mobile/app/sessions/[sessionId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/LoginNativeButton.ios.tsx, apps/mobile/src/components/LoginNativeButton.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/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/chrome/HomeNativeStackHeader.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/AccountSwitcherSheet.tsx, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AnnotationBurnInWebView.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ChatFileChipMenuSheet.tsx, apps/mobile/src/session/CompanionAutomationNativeView.ios.tsx, apps/mobile/src/session/CompanionAutomationNativeView.tsx, apps/mobile/src/session/CompanionAutomationSheet.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionHeader.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionNavigationDrawer.tsx, apps/mobile/src/session/CompanionPortraitPicker.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/CompanionTaskResultCard.tsx, apps/mobile/src/session/CompanionWorkingStatus.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerExpandButton.ios.tsx, apps/mobile/src/session/ComposerExpandButton.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerKeyboardAvoidingView.tsx, apps/mobile/src/session/ComposerNativeInput.ios.tsx, apps/mobile/src/session/ComposerNativeInput.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerRichInput.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/ConversationShareSvg.tsx, apps/mobile/src/session/ConversationShareWebView.tsx, apps/mobile/src/session/FailedScheduleNotice.tsx, apps/mobile/src/session/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/HomeSurface.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQueueSection.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/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/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/PromptRecommendation.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RewindPreviewPanel.tsx, apps/mobile/src/session/RunningTokenRatePopover.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionListDrawer.tsx, apps/mobile/src/session/SessionMenuSheet.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionResourceCards.tsx, apps/mobile/src/session/SessionSearchNative.ios.tsx, apps/mobile/src/session/SessionSearchNative.tsx, apps/mobile/src/session/SessionTailBanner.tsx, apps/mobile/src/session/SessionUsageSummary.tsx, apps/mobile/src/session/ShareImageNativeButton.ios.tsx, apps/mobile/src/session/ShareImageNativeButton.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/ShareSelectAllButton.tsx, apps/mobile/src/session/ShareSelectionBar.tsx, apps/mobile/src/session/SharedTaskEndedState.tsx, apps/mobile/src/session/SharedTaskScreen.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/StreamingStatusText.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsSheet.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/TeammatePicker.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/session/composerRichInputHtml.ts, apps/mobile/src/session/conversationShareWebViewHtml.ts, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/session/useSharedTaskConfirmation.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 | 7 | 237 | 303 |+| `mobile.chat.session` | mobile | 任务内容与输入 | app/sessions/[sessionId].tsx | AccountSwitcherSheet, AdaptiveWindow, AgentErrorDetails, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, AuthorizationMessageCard, AutomationTimerIcon, BlurBackdrop, CenteredScreen, ChatFileChipMenuSheet, CompanionAutomationNativeView, CompanionAutomationNativeView.ios, CompanionAutomationSheet, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionHeader, CompanionMessageActions, CompanionMessageCard, CompanionModelChain, CompanionNativeContent.ios, CompanionNavigationDrawer, CompanionPortraitPicker, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, CompanionWorkingStatus, ComposerAttachmentTray, ComposerExpandButton, ComposerExpandButton.ios, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeInput, ComposerNativeInput.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerRichInput, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ConversationSearchFilterSheet, ConversationShareSvg, ConversationShareWebView, DeviceLinkContext, FailedScheduleNotice, FileTypeIcon, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSurface, ImageLightbox, IncomingShareBridge, InlineQueueSection, InlineQuoteChip, InlineReferenceChip, InteractionPanel, LoginNativeButton, LoginNativeButton.ios, MarkdownBlockContent, MessageActionSheet, MessageRenderer, MobileAgentMark, MobileAgentSwitcher, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PluginInvocationHeader, PromptRecommendation, PushNotificationsBridge, QuietSyncIndicator, QuoteCapsule, 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, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, RewindPreviewPanel, RunningTokenRatePopover, SentInlineAtomBody, SessionActionSheet, SessionDetailsNative, SessionDetailsNative.ios, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionListDrawer, SessionMenuSheet, SessionOptionsExpoSheet, SessionResourceCards, SessionSearchNative, SessionSearchNative.ios, SessionTailBanner, SessionUsageSummary, ShareImageNativeButton, ShareImageNativeButton.ios, ShareMessageCheckbox, ShareSelectAllButton, ShareSelectionBar, SharedTaskEndedState, SharedTaskScreen, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, StreamingStatusText, SwipeableSessionRow, SwipeableSessionRow.ios, SystemNavigationBack, TaskTags, TaskTagsSheet, TeammateGenerationLabel, TeammateList, TeammatePicker, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, [sessionId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, peerFileTransport, useLocale, useSharedTaskConfirmation | apps/mobile/app/_layout.tsx, apps/mobile/app/sessions/[sessionId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/LoginNativeButton.ios.tsx, apps/mobile/src/components/LoginNativeButton.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/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/chrome/HomeNativeStackHeader.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/AccountSwitcherSheet.tsx, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AnnotationBurnInWebView.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/ChatFileChipMenuSheet.tsx, apps/mobile/src/session/CompanionAutomationNativeView.ios.tsx, apps/mobile/src/session/CompanionAutomationNativeView.tsx, apps/mobile/src/session/CompanionAutomationSheet.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionHeader.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionNavigationDrawer.tsx, apps/mobile/src/session/CompanionPortraitPicker.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/CompanionTaskResultCard.tsx, apps/mobile/src/session/CompanionWorkingStatus.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerExpandButton.ios.tsx, apps/mobile/src/session/ComposerExpandButton.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerKeyboardAvoidingView.tsx, apps/mobile/src/session/ComposerNativeInput.ios.tsx, apps/mobile/src/session/ComposerNativeInput.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerRichInput.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/ConversationShareSvg.tsx, apps/mobile/src/session/ConversationShareWebView.tsx, apps/mobile/src/session/FailedScheduleNotice.tsx, apps/mobile/src/session/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/HomeSurface.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQueueSection.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/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/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/PromptRecommendation.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RewindPreviewPanel.tsx, apps/mobile/src/session/RunningTokenRatePopover.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionListDrawer.tsx, apps/mobile/src/session/SessionMenuSheet.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionResourceCards.tsx, apps/mobile/src/session/SessionSearchNative.ios.tsx, apps/mobile/src/session/SessionSearchNative.tsx, apps/mobile/src/session/SessionTailBanner.tsx, apps/mobile/src/session/SessionUsageSummary.tsx, apps/mobile/src/session/ShareImageNativeButton.ios.tsx, apps/mobile/src/session/ShareImageNativeButton.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/ShareSelectAllButton.tsx, apps/mobile/src/session/ShareSelectionBar.tsx, apps/mobile/src/session/SharedTaskEndedState.tsx, apps/mobile/src/session/SharedTaskScreen.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/StreamingStatusText.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsSheet.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/TeammatePicker.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/session/composerRichInputHtml.ts, apps/mobile/src/session/conversationShareWebViewHtml.ts, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/session/useSharedTaskConfirmation.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 | 7 | 237 | 304 || `mobile.chat.sharing` | mobile | 共享任务邀请与成员 | app/shared-session.tsx | AdaptiveWindow, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, FoldTouchpad, HomeEntryProvider, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, 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, ResidentHomeList, SharedTaskEndedState, SharedTaskScreen, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, peerFileTransport, shared-session, useLocale, useSharedTaskConfirmation | apps/mobile/app/_layout.tsx, apps/mobile/app/shared-session.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/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/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/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SharedTaskEndedState.tsx, apps/mobile/src/session/SharedTaskScreen.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/useSharedTaskConfirmation.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 | 204 | 61 || `mobile.companions.direct` | mobile | 伙伴私聊回看 | app/companions/direct/[threadId].tsx | AdaptiveWindow, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, 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, ResidentHomeList, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [threadId], _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/direct/[threadId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.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/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/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 204 | 53 || `mobile.device-management` | mobile | 设备管理 | app/devices/manage.tsx / app/devices/manage/[deviceId].tsx | AdaptiveWindow, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceInformationFields, DeviceInformationFields.ios, DeviceLinkContext, DeviceManagementDialogs, DeviceManagementList, DeviceManagementList.ios, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, IncomingShareBridge, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeChromeBackButton.ios, NativeChromeButton.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, 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, RenameDeviceModal, ResidentHomeList, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, manage, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/manage.tsx, apps/mobile/app/devices/manage/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceInformationFields.ios.tsx, apps/mobile/src/device-link/DeviceInformationFields.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DeviceManagementDialogs.tsx, apps/mobile/src/device-link/DeviceManagementList.ios.tsx, apps/mobile/src/device-link/DeviceManagementList.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.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/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/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RenameDeviceModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 204 | 56 |