Skip to content

armgit / cindy

Public Imported from GitHub
0

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

feat(mobile): 伙伴与任务完全打平,退役独立的任务/伙伴首页模式

Chris74ee869caed8
diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsx
index 59d62738e7..48bd32cd43 100644
--- a/apps/mobile/app/_layout.tsx
+++ b/apps/mobile/app/_layout.tsx
@@ -84,7 +84,7 @@ import {
import { IncomingShareBridge } from '@/session/IncomingShareBridge';
import { usePendingSharedTaskInvitationIntent } from '@/device-link/sharedTaskInvitationIntent';
import { removeLegacyClipboardInvitationHistory } from '@/device-link/legacyClipboardInvitationHistory';
-import { HomeEntryProvider, useHomeEntrySplashRelease } from '@/session/HomeEntryProvider';
+import { useHomeStartupSplashRelease } from '@/session/useHomeMode';
import { RemoteDesktopHost } from '@/remote-desktop/RemoteDesktopHost';
const holdSplash = () => undefined;
@@ -121,10 +121,9 @@ function NavigationGate() {
[mode, colors],
);
- // 登录与本机首页偏好就绪、默认入口重定向完成后再释放常驻 splash。
- // 深链不经过 index;同样在这里释放,避免先露出任务再跳回伙伴。
+ // 登录与本机首页偏好(伙伴段收起状态)就绪后再释放常驻 splash;深链同样在这里释放。
// 显示模式偏好读回前不释放,避免已选浅色 / 深色的用户先看到系统外观再切换。
- useHomeEntrySplashRelease(preferenceReady ? releaseSplash : holdSplash);
+ useHomeStartupSplashRelease(preferenceReady ? releaseSplash : holdSplash);
// 启动链走完 = 本次热更 reload(如果有)确实落地:清掉 reload 闸门记录。
// 只在目标 update 已成为当前运行版本时才清,判定在 markStartupOtaLaunchSuccess 内。
@@ -383,9 +382,7 @@ function RootAfterUpdateChannel({ channel }: { channel: UpdateChannel }) {
<PrecreatedWorktreeRecoveryBridge />
<MobileOutboxBridge />
<RemoteHistoryPrefetchBridge />
- <HomeEntryProvider>
- <NavigationGate />
- </HomeEntryProvider>
+ <NavigationGate />
</DeviceLinkProvider>
</AuthProvider>
);
diff --git a/apps/mobile/app/companions/cloud/[actorId].tsx b/apps/mobile/app/companions/cloud/[actorId].tsx
index 93400c9444..013c3442e6 100644
--- a/apps/mobile/app/companions/cloud/[actorId].tsx
+++ b/apps/mobile/app/companions/cloud/[actorId].tsx
@@ -13,11 +13,10 @@ function firstParam(value: string | string[] | undefined): string {
*/
export default function CloudCompanionRoute() {
const params = useLocalSearchParams<{ actorId?: string | string[]; botId?: string | string[]; deviceId?: string | string[];
- deviceName?: string | string[]; title?: string | string[]; keepMode?: string | string[] }>();
+ deviceName?: string | string[]; title?: string | string[] }>();
const { accountGeneration } = useAuth();
const actorId = firstParam(params.actorId);
const deviceId = firstParam(params.deviceId);
return <CloudCompanionScreen key={`${accountGeneration}:${actorId}`} actorId={actorId} botId={firstParam(params.botId)}
- deviceId={deviceId} deviceName={firstParam(params.deviceName) || deviceId} title={firstParam(params.title)}
- keepMode={firstParam(params.keepMode) === '1'} />;
+ deviceId={deviceId} deviceName={firstParam(params.deviceName) || deviceId} title={firstParam(params.title)} />;
}
diff --git a/apps/mobile/app/devices/index.tsx b/apps/mobile/app/devices/index.tsx
index e0f0103ada..1884e12f90 100644
--- a/apps/mobile/app/devices/index.tsx
+++ b/apps/mobile/app/devices/index.tsx
@@ -1,15 +1,22 @@
-import { HomeUnreadProvider } from '@/session/HomeUnreadContext';
+import { StyleSheet, View } from 'react-native';
import { useAuth } from '@/auth/AuthContext';
+import { HomeRosterProvider } from '@/session/HomeRosterContext';
import { MobileHome } from '@/session/HomeSurface';
-import { HomeModePanes } from '@/session/HomeModePanes';
-import { TeammateHomeScreen } from '@/session/TeammateHomeScreen';
+import { SessionHeaderNativeBlur } from '@/session/SessionHeaderNativeControls';
import { useHomeMode } from '@/session/useHomeMode';
+import { useOptionalHeaderHeight } from '@/session/useOptionalHeaderHeight';
+/** One home, as on desktop: teammates are the section at the top of the task list. */
export default function HomeScreen() {
const { accountGeneration } = useAuth();
const navigation = useHomeMode();
+ const headerHeight = useOptionalHeaderHeight();
+ // The teammate section's stored fold is part of the first frame.
if (!navigation.hydrated) return null;
- return <HomeUnreadProvider key={accountGeneration}><HomeModePanes mode={navigation.mode}
- tasks={<MobileHome active={navigation.mode === 'tasks'} onModeChange={navigation.setMode} />}
- teammates={<TeammateHomeScreen active={navigation.mode === 'teammates'} />} /></HomeUnreadProvider>;
+ return <HomeRosterProvider key={accountGeneration}><View style={styles.home}>
+ <MobileHome />
+ <SessionHeaderNativeBlur height={headerHeight} />
+ </View></HomeRosterProvider>;
}
+
+const styles = StyleSheet.create({ home: { flex: 1 } });
diff --git a/apps/mobile/app/index.tsx b/apps/mobile/app/index.tsx
index 6f57efd7c9..2dc2ee34d5 100644
--- a/apps/mobile/app/index.tsx
+++ b/apps/mobile/app/index.tsx
@@ -1,16 +1,12 @@
import { Redirect } from 'expo-router';
import { useAuth } from '@/auth/AuthContext';
import HomeScreen from './devices';
-import { useHomeEntry } from '@/session/HomeEntryProvider';
export default function IndexScreen() {
const auth = useAuth();
- const entry = useHomeEntry();
// auth 恢复期间由根部常驻 splash 覆盖层顶着(见 StartupSplashOverlay),这里不再
// 渲染独立的 splash 实例,避免与覆盖层交接时的 remount 闪帧。
if (!auth.initialized) return null;
if (!auth.isAuthenticated) return <Redirect href="/login" />;
- if (!entry.ready) return null;
- if (entry.href) return <Redirect href={entry.href} />;
return <HomeScreen />;
}
diff --git a/apps/mobile/app/resources/[collectionId].tsx b/apps/mobile/app/resources/[collectionId].tsx
index 72764dfeb1..ac0a243610 100644
--- a/apps/mobile/app/resources/[collectionId].tsx
+++ b/apps/mobile/app/resources/[collectionId].tsx
@@ -55,12 +55,14 @@ export default function RemoteCollectionScreen() {
return <RemoteCollectionScreenContent />;
}
+/** Old links to the teammate list: teammates now live at the top of the home. */
function LegacyTeammatesHomeRedirect() {
const navigation = useTeammateNavigation();
const focused = useIsFocused();
+ const returnHome = navigation.returnHome;
useEffect(() => {
- if (focused && navigation.hydrated) void navigation.chooseMode('teammates');
- }, [focused, navigation.hydrated, navigation.chooseMode]);
+ if (focused) returnHome();
+ }, [focused, returnHome]);
return null;
}
diff --git a/apps/mobile/app/settings.tsx b/apps/mobile/app/settings.tsx
index b1ab166aa1..f87d6269ee 100644
--- a/apps/mobile/app/settings.tsx
+++ b/apps/mobile/app/settings.tsx
@@ -367,7 +367,7 @@ export default function SettingsScreen() {
}
}, [auth, loggingOut, router, t]);
- // 退出登录先确认(与首页抽屉、伙伴页同一套 confirmLogout 文案):运行中任务要额外说明。
+ // 退出登录先确认(与首页抽屉同一套 confirmLogout 文案):运行中任务要额外说明。
const requestLogout = useCallback(() => {
if (loggingOut) return;
confirmLogout(t, hasRunningRemoteTasks(), () => void logout());
diff --git a/apps/mobile/assets/navigation/README.md b/apps/mobile/assets/navigation/README.md
index 38e929d712..70e936b7a5 100644
--- a/apps/mobile/assets/navigation/README.md
+++ b/apps/mobile/assets/navigation/README.md
@@ -8,11 +8,10 @@ without substituting an SF Symbol or losing Duo's native vertical placement.
Metro bundles these JS-referenced assets; no native asset catalog change.
Lucide's ISC license is included in LICENSE.
-The home menu uses menu.svg and menu-attention.svg. Both have the same 26pt
-transparent canvas, with the existing narrow 20pt glyph centered inside it
-(13.5pt horizontal paths, 2pt round strokes, matching the regular icon weight).
-The endpoints are inset by 0.25pt to preserve the approved 15.5pt visible width. Only the attention state adds a
-6pt-diameter dot at the upper right. The glyph never moves when attention changes.
+The home menu uses menu.svg: a 26pt transparent canvas with the existing narrow
+20pt glyph centered inside it (13.5pt horizontal paths, 2pt round strokes,
+matching the regular icon weight). The endpoints are inset by 0.25pt to preserve
+the approved 15.5pt visible width.
The native toolbar tints the template; Duo's custom 44pt button uses the same
artwork and semantic tint. Do not use an empty Stack.Toolbar.Badge: the iOS
header bridge constructs a text badge even for an empty value, producing an
diff --git a/apps/mobile/assets/navigation/menu-attention.png b/apps/mobile/assets/navigation/menu-attention.png
deleted file mode 100644
index fe9617bb04..0000000000
Binary files a/apps/mobile/assets/navigation/menu-attention.png and /dev/null differ
diff --git a/apps/mobile/assets/navigation/menu-attention.svg b/apps/mobile/assets/navigation/menu-attention.svg
deleted file mode 100644
index 568cd0d7fd..0000000000
--- a/apps/mobile/assets/navigation/menu-attention.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><g transform="translate(3 3)" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M3.25 4.5h13.5M3.25 10h13.5M3.25 15.5h13.5"/></g><circle cx="23" cy="3" r="3" fill="black"/></svg>
diff --git a/apps/mobile/assets/navigation/[email protected] b/apps/mobile/assets/navigation/[email protected]
deleted file mode 100644
index 2dc19e3ba9..0000000000
Binary files a/apps/mobile/assets/navigation/[email protected] and /dev/null differ
diff --git a/apps/mobile/assets/navigation/[email protected] b/apps/mobile/assets/navigation/[email protected]
deleted file mode 100644
index 18b2e18edb..0000000000
Binary files a/apps/mobile/assets/navigation/[email protected] and /dev/null differ
diff --git a/apps/mobile/docs/ios-native-components.md b/apps/mobile/docs/ios-native-components.md
index f20678bf9e..daa539785a 100644
--- a/apps/mobile/docs/ios-native-components.md
+++ b/apps/mobile/docs/ios-native-components.md
@@ -7,7 +7,7 @@
| 用户看到的位置 | 实际实现 | 边界与源码 |
| --- | --- | --- |
-| 普通页面返回、任务顶栏及工具栏 | 原生导航栈、UINavigationBar、系统 toolbar item | 标题内容可嵌入 RN;首页 / 伙伴首页的顶栏布局仍是 RN。[入口](../src/platform/chrome/SimpleStackHeader.tsx)、[任务顶栏](../src/session/SessionHeaderNativeControls.ios.tsx) |
+| 普通页面返回、任务顶栏及工具栏 | 原生导航栈、UINavigationBar、系统 toolbar item | 标题内容可嵌入 RN;首页顶栏布局仍是 RN。[入口](../src/platform/chrome/SimpleStackHeader.tsx)、[任务顶栏](../src/session/SessionHeaderNativeControls.ios.tsx) |
| 设备范围、任务显示等下拉菜单 | UIMenu | 菜单是系统的;触发按钮可由调用方提供。旧包缺原生模块时有自绘回退。[入口](../src/platform/chrome/NativePullDownMenu.tsx) |
| 普通确认弹窗 | UIAlertController,经 React Native Alert 调用 | 自定义多步骤编辑不能一概算系统弹窗。[入口](../src/platform/chrome/showActionMenu.ts) |
| 设置里的开关 | SwiftUI 系统开关,经 @expo/ui 使用 | 设置分组和说明布局仍是 RN,不代表整页 Settings 原生化。[实现](../src/platform/chrome/NativeSwitch.tsx) |
diff --git a/apps/mobile/docs/mobile-design-guide.md b/apps/mobile/docs/mobile-design-guide.md
index 47a1e1c357..d745723e8b 100644
--- a/apps/mobile/docs/mobile-design-guide.md
+++ b/apps/mobile/docs/mobile-design-guide.md
@@ -238,10 +238,7 @@ function Foo() {
- **任务行滑动(2026-10-24 用户裁决,iOS / Android)**:右滑提供已读与置顶,全滑默认标记已读;左滑提供选项与归档,全滑归档。跨端组合沿用已有方案:已读沿用灵动岛的青绿色单勾(Lucide `Check` / SF Symbols `checkmark`),归档沿用手机版的蓝色归档盒(`Archive` / `archivebox`),置顶为橙色图钉,选项为中性灰省略号。Mobile 的已读底色独立加深以保证白色图标对比度,数值由 `swipeActionRead` 管理;不把灵动岛深色背景上的高亮色直接复制到手机浅色背景。
- **项目标题滑动(iOS / Android)**:仅标题整行横移,展开的子任务不随之移动。左滑露出「新建任务」,超过屏宽 55% 松手打开预填项目电脑与目录的新建页;发送后才创建任务。右滑露出「全部任务」「搜索」,必须点按,搜索限定当前项目并聚焦输入框。点标题继续展开/收起,已有滑开行时先收起操作;自定义排序仍为长按后纵向拖动。项目与任务共用滑动互斥注册表,滚动收行,左屏缘保留返回手势。动作沿用普通任务的圆形到胶囊形态,按钮直径为 56pt,间距使用 spacing.md、图标使用 iconSize.swipeAction;使用双模式 token,并通过标题的无障碍动作提供等价入口。只对有明确电脑和目录的项目启用,不把对话或 Cindy Make 聚合组视为单一目录。实现见 `src/session/SwipeableProjectHeader.tsx`、`HomeSurface.tsx`。
-- **任务/伙伴切换**:按左任务、右伙伴的顺序做同一套横向滑动转场,抽屉和标题下拉选择都复用 HomeModePanes;不重建已访问列表,不丢搜索或滚动位置。滑动用不回弹的临界阻尼弹簧(参数见 DESIGN.md §14.4),快速反向切换从当前位置继续;系统减弱动态效果或尚未取得该偏好时直接切换。滑动只用于 iOS;Android 顶栏画在各自页面里,滑动会带着顶栏一起走,因此保持直接切换。导航栏和顶部模糊固定不动,模糊由 HomeModePanes 统一绘制一层。
-- **首页菜单提示点**:可见圆点直径 6pt,原生工具栏用同尺寸画布的有点/无点模板图,避免空的数字徽章被系统放大。图标位置、按钮外框和点击范围不随提示点出现而变化。
-
-- **首页导航共用组件(2026-10-13)**:iOS 任务与伙伴首页都调用 platform/chrome/HomeStackHeader,统一系统导航栏、菜单按钮与居中标题宽度;顶部模糊背景由 HomeModePanes 在滑动层外统一绘制。页面只提供标题内容、菜单动作和右侧工具;仅当前可见首页注册导航栏。伙伴标题允许独立对齐,目前保持居中;任务标题保留长名称避让。伙伴列表、安全区、滚动指示器和下拉刷新只计算一次顶部占位。普通页面、聊天身份栏、面板及 Android 导航暂未纳入这一批,不视为全端迁移完成。
+- **首页导航共用组件(2026-10-13,2026-10-24 收为单一首页)**:iOS 首页调用 platform/chrome/HomeStackHeader,统一系统导航栏、菜单按钮与居中标题宽度;顶部模糊背景由首页路由绘制一层。页面只提供标题内容、菜单动作和右侧工具;任务标题保留长名称避让。列表、安全区、滚动指示器和下拉刷新只计算一次顶部占位。手机不再有任务/伙伴两种首页与切换转场,伙伴以任务首页的伙伴段呈现。普通页面、聊天身份栏、面板及 Android 导航暂未纳入这一批,不视为全端迁移完成。
iOS 新增与改造界面遵循 [iOS 原生界面规范](../../../docs/design-rules/ios-native-design.md)。该规范区分系统容器、原生控件和 Cindy 业务内容;取代原先“复杂内容面板一律使用 SheetSurface”的规定。
diff --git a/apps/mobile/src/__tests__/BotGroupList.test.tsx b/apps/mobile/src/__tests__/BotGroupList.test.tsx
index 4fc6ba31d4..ebf5282f6e 100644
--- a/apps/mobile/src/__tests__/BotGroupList.test.tsx
+++ b/apps/mobile/src/__tests__/BotGroupList.test.tsx
@@ -88,7 +88,14 @@ vi.mock('@/session/useHostTeammates', () => ({ useHostTeammates: () => h.teammat
vi.mock('@/session/useTeammateRoster', () => ({ TEAMMATE_COLLECTION_ID: 'teammates' }));
import { BotGroupListRow } from '@/session/BotGroupList';
-import { TeammateCreateButton } from '@/session/TeammateCreateButton';
+import { useTeammateCreateController } from '@/session/TeammateCreateController';
+import { HomeHeaderGlassButton } from '@/session/HomeHeaderGlassButton';
+
+/** The home teammate section's create trigger: the caller's button inside the controller's menu. */
+function CreateTrigger(props: Parameters<typeof useTeammateCreateController>[0]) {
+ const create = useTeammateCreateController(props);
+ return el('div', null, create.renderTrigger(el(HomeHeaderGlassButton, { accessibilityLabel: create.label, testID: 'teammates.create', onPress: create.press, children: null })), create.sheets);
+}
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
@@ -158,11 +165,11 @@ describe('group row', () => {
});
});
-describe('create from the teammate page + menu', () => {
+describe('create from the home teammate section + menu', () => {
async function render(groupTargets = [mac], nativeMenu = true) {
h.nativeMenu = nativeMenu;
const onGroupCreated = vi.fn();
- await act(async () => root.render(el(TeammateCreateButton, {
+ await act(async () => root.render(el(CreateTrigger, {
targets: [mac], groupTargets, preferredDeviceId: 'pc', onCreated: vi.fn(), onGroupCreated,
})));
return onGroupCreated;
diff --git a/apps/mobile/src/__tests__/BotGroupListUnread.test.tsx b/apps/mobile/src/__tests__/BotGroupListUnread.test.tsx
index 08032797c9..4331a40e9e 100644
--- a/apps/mobile/src/__tests__/BotGroupListUnread.test.tsx
+++ b/apps/mobile/src/__tests__/BotGroupListUnread.test.tsx
@@ -1,8 +1,7 @@
// @vitest-environment jsdom
-import { act, createElement, Fragment } from 'react';
+import { act, createElement } from 'react';
import { createRoot } from 'react-dom/client';
import { expect, it, vi } from 'vitest';
-const h = vi.hoisted(() => ({ groups: [] as any[], sessions: [] as any[] }));
vi.mock('@react-native-async-storage/async-storage', () => ({ default: { getItem: async () => null, setItem: async () => {} } }));
vi.mock('react-native', async () => { const { createElement } = await import('react'); return { View: ({ children }: any) => createElement('div', null, children) }; });
vi.mock('react-i18next', () => ({ useTranslation: () => ({ t: (key: string) => key, i18n: { language: 'en' } }) }));
@@ -10,26 +9,16 @@ vi.mock('@/auth/AuthContext', () => ({ useAuth: () => ({ user: { id: 'owner' } }
vi.mock('@/session/BotGroupAvatars', () => ({ BotGroupDuoAvatar: () => null, useBotGroupIdentities: () => () => ({}) }));
vi.mock('@/session/messageMarkdown', () => ({ parseMobileMarkdownInlines: () => [] }));
vi.mock('@/session/sessionList', () => ({ formatRemoteSessionSidebarTime: () => 'now' }));
-vi.mock('expo-router', () => ({ useIsFocused: () => true }));
vi.mock('@/theme', () => ({ useThemedStyles: () => ({}) }));
-vi.mock('@/session/useTeammateRoster', () => ({ useTeammateRoster: () => ({ items: [], groupTargets: [] }) }));
-vi.mock('@/session/useBotGroupRoster', () => ({ useBotGroupRoster: () => ({ items: h.groups }) }));
-vi.mock('@/session/remoteSessionStore', () => ({ RemoteSessionStoreSubscriptionGate: ({ children }: any) => children,
- useRemoteHomeSessions: () => h.sessions, useRemoteHomeStatusVersion: () => 0, remoteSessionStore: {} }));
-vi.mock('@/components/MobilePrimitives', async () => { const { createElement } = await import('react'); return {
- MainWindowOptionButton: ({ testID, badge }: any) => createElement('button', { 'data-id': testID, 'data-badge': badge }),
-}; });
vi.mock('@/session/CompanionListRow', async () => { const { createElement } = await import('react'); return {
CompanionListRow: ({ unread, accessibilityLabel }: any) => createElement('button', { 'data-unread': String(unread), 'aria-label': accessibilityLabel }),
}; });
import { chatRoomRow, chatReadAt, chatReadSequence, type ChatSnapshot } from '@/chat/chatServerClient';
import { markRemoteResourceRead } from '@/device-link/remoteResourceCache';
import { BotGroupListRow } from '@/session/BotGroupList';
-import { HomeUnreadProvider } from '@/session/HomeUnreadContext';
-import { HomeModeSwitch } from '@/session/HomeModeSwitch';
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
-it('keeps the actual group row and home teammate badge in sync for same-millisecond replies', async () => {
+it('reads a group row as unread until the last of two same-millisecond replies is read', async () => {
const first = '9007199254740992', second = '9007199254740993';
const snapshot: ChatSnapshot = { room: { id: 'group', name: 'Discussion', kind: 'group', archived: false, revision: 1,
created_at: '2026-10-09', updated_at: '2026-10-09', response_mode: 'all', speaking_mode: 'auto' }, cursor: second,
@@ -38,19 +27,14 @@ it('keeps the actual group row and home teammate badge in sync for same-millisec
createdAt: '2026-10-09T10:00:00.123Z', deleted: false, threadRootId: null, content: [{ type: 'text', text: 'hello' }],
})) };
const row = chatRoomRow(snapshot.room, snapshot, 'self');
- h.groups = [row];
await markRemoteResourceRead('owner', '', 'group', chatReadAt(snapshot, 'self'), chatReadSequence(snapshot));
const node = document.createElement('div'), root = createRoot(node);
try {
- await act(async () => root.render(createElement(HomeUnreadProvider, { children: createElement(Fragment, null,
- createElement(HomeModeSwitch, { mode: 'tasks', onModeChange: () => {} }),
- createElement(BotGroupListRow, { row, online: true, onPress: () => {} })) })));
+ await act(async () => root.render(createElement(BotGroupListRow, { row, online: true, onPress: () => {} })));
expect(node.querySelector('[data-unread]')?.getAttribute('data-unread')).toBe('true');
expect(node.querySelector('[data-unread]')?.getAttribute('aria-label')).toContain('devices.companions.unread');
- expect(node.querySelector('[data-id="home.mode.teammates"]')?.getAttribute('data-badge')).toBe('1');
await act(async () => { await markRemoteResourceRead('owner', '', 'group', row.item.display.lastReplyAt!, second); });
expect(node.querySelector('[data-unread]')?.getAttribute('data-unread')).toBe('false');
expect(node.querySelector('[data-unread]')?.getAttribute('aria-label')).not.toContain('devices.companions.unread');
- expect(node.querySelector('[data-id="home.mode.teammates"]')?.hasAttribute('data-badge')).toBe(false);
} finally { act(() => root.unmount()); }
});
diff --git a/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx b/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx
index 98ec99847a..a753f6a57f 100644
--- a/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx
+++ b/apps/mobile/src/__tests__/CompanionHeaderNavigation.test.tsx
@@ -9,7 +9,7 @@ import { useHostManagedSession } from '@/session/hostManagedSession';
import type { RemoteResource } from '@cindy/device-link';
const h = vi.hoisted(() => ({
- glance: {} as any, profile: {} as any, glanceTodos: { enabled: false } as any, unseen: false, markSeen: vi.fn(), push: vi.fn(), dismiss: vi.fn(), chooseMode: vi.fn(), screenOptions: [] as Array<Record<string, unknown>>,
+ glance: {} as any, profile: {} as any, glanceTodos: { enabled: false } as any, unseen: false, markSeen: vi.fn(), push: vi.fn(), dismiss: vi.fn(), returnHome: vi.fn(), screenOptions: [] as Array<Record<string, unknown>>,
auth: { accountGeneration: 1, user: null },
cloud: { supported: false, actors: [] as Array<{ kind: string; externalId: string; homeDeviceId: string | null }> },
homeSheet: {} as any,
@@ -41,7 +41,7 @@ vi.mock('@/session/useCompanionGlanceTodos', () => ({
}));
vi.mock('expo-router', () => ({ useRouter: () => ({ push: h.push }) }));
vi.mock('@/session/CompanionProfileSheet', () => ({ CompanionProfileSheet: (props: unknown) => { h.profile = props; return null; } }));
-vi.mock('@/session/useTeammateNavigation', () => ({ useTeammateNavigation: () => ({ chooseMode: h.chooseMode }) }));
+vi.mock('@/session/useTeammateNavigation', () => ({ useTeammateNavigation: () => ({ returnHome: h.returnHome }) }));
vi.mock('@/chat/useCloudCompanion', () => ({ useCloudCompanionHome: () => h.cloud }));
vi.mock('@/session/CloudHomeSwitchSheet', () => ({ CloudHomeSwitchSheet: (props: unknown) => { h.homeSheet = props; return null; } }));
import { CompanionHeader } from '@/session/CompanionHeader';
@@ -221,7 +221,7 @@ it('names the main computer of a cloud companion and lets the profile change it'
expect(h.homeSheet.visible).toBe(true);
expect(h.homeSheet).toMatchObject({ botId: 'bot', homeDeviceId: 'pc', homeName: 'Office iMac' });
await act(async () => h.homeSheet.onMoved({ deviceId: 'mac', name: 'Mac', online: true }));
- expect(h.chooseMode).toHaveBeenCalledWith('teammates');
+ expect(h.returnHome).toHaveBeenCalledOnce();
// 近况 offers the same switch (its row closes the sheet first).
expect(h.glance.cloudHome).toBe(true);
await act(async () => h.glance.onSwitchHome());
diff --git a/apps/mobile/src/__tests__/HomeModePanes.test.tsx b/apps/mobile/src/__tests__/HomeModePanes.test.tsx
deleted file mode 100644
index 866d20f63f..0000000000
--- a/apps/mobile/src/__tests__/HomeModePanes.test.tsx
+++ /dev/null
@@ -1,109 +0,0 @@
-// @vitest-environment jsdom
-import { act, createElement, useState, useEffect, type ReactNode } from 'react';
-import { createRoot } from 'react-dom/client';
-import { beforeEach, describe, expect, it, vi } from 'vitest';
-const h = vi.hoisted(() => ({ reduced: false as boolean | null, width: 400, header: 106, blur: [] as number[], progress: null as any,
- styles: [] as (() => any)[], spring: vi.fn((target: number, _config: unknown) => target), cancel: vi.fn() }));
-vi.mock('react-native', () => ({
- View: ({ children, testID, pointerEvents, accessibilityElementsHidden }: any) =>
- createElement('div', { 'data-testid': testID, 'data-pointer': pointerEvents, 'data-hidden': accessibilityElementsHidden }, children),
- StyleSheet: { create: (value: unknown) => value, absoluteFill: {} },
-}));
-vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => h.reduced }));
-vi.mock('@/platform/AdaptiveWindowContext', () => ({ useAdaptiveWindow: () => ({ width: h.width }) }));
-vi.mock('@/session/useOptionalHeaderHeight', () => ({ useOptionalHeaderHeight: () => h.header }));
-vi.mock('@/session/SessionHeaderNativeControls', () => ({ SessionHeaderNativeBlur: ({ height }: any) => {
- h.blur.push(height); return createElement('div', { 'data-testid': 'fixed-blur' });
-} }));
-vi.mock('react-native-reanimated', async () => {
- const { useRef } = await import('react'); const { View } = await import('react-native');
- return { default: { View }, useSharedValue: (value: number) => { const ref = useRef({ value }); h.progress = ref.current; return ref.current; },
- useAnimatedStyle: (factory: () => any) => { h.styles.push(factory); return factory(); },
- cancelAnimation: h.cancel, withSpring: h.spring,
- };
-});
-import { HomeModePanes } from '@/session/HomeModePanes';
-import { HOME_MODE_SLIDE_SPRING, HomeModeProgressContext, useHomeModeProgress } from '@/session/HomeModeTransition';
-import type { HomeMode } from '@/session/homeViewPreferenceStore';
-Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
-beforeEach(() => { h.reduced = false; h.styles = []; h.blur = []; h.spring.mockClear(); h.cancel.mockClear(); h.width = 400; });
-
-/** Production wiring: ResidentHomeListProvider owns the clock, the panes only read it. */
-function Home({ mode, animate = true, ready = true, tasks = 'tasks', teammates = 'teammates' }: {
- mode: HomeMode; animate?: boolean; ready?: boolean; tasks?: ReactNode; teammates?: ReactNode;
-}) {
- const progress = useHomeModeProgress(mode, animate, ready);
- return createElement(HomeModeProgressContext.Provider, { value: progress }, createElement(HomeModePanes, { mode, tasks, teammates }));
-}
-describe('home mode continuity', () => {
- it('keeps task search, expansion and scroll state mounted through repeated mode switches', () => {
- const mount = vi.fn(); const unmount = vi.fn();
- function Tasks() {
- const [query, setQuery] = useState('');
- const [expanded, setExpanded] = useState(false);
- useEffect(() => { mount(); return unmount; }, []);
- return createElement('div', { 'data-tasks': true },
- createElement('button', { onClick: () => { setQuery('release'); setExpanded(true); } }, 'edit'),
- createElement('span', {}, `${query}:${expanded}`));
- }
- const container = document.createElement('div'); const root = createRoot(container);
- const render = (mode: 'tasks' | 'teammates') => act(() => root.render(createElement(Home, { mode, tasks: createElement(Tasks), teammates: createElement('span', {}, 'roster') })));
- try {
- render('tasks'); act(() => container.querySelector('button')!.click());
- const taskElement = container.querySelector('[data-tasks]')!; taskElement.scrollTop = 120;
- for (let i = 0; i < 3; i++) { render('teammates'); render('tasks'); }
- expect(container.querySelector('[data-tasks]')).toBe(taskElement);
- expect(taskElement.textContent).toContain('release:true'); expect(taskElement.scrollTop).toBe(120);
- expect(mount).toHaveBeenCalledTimes(1); expect(unmount).not.toHaveBeenCalled();
- } finally { act(() => root.unmount()); }
- });
-});
-
-it('slides toward the right-hand teammate tab and retargets a reversal without cancelling the running spring', () => {
- const node = document.createElement('div'); const root = createRoot(node);
- const render = (mode: HomeMode) => act(() => root.render(createElement(Home, { mode })));
- try {
- render('tasks'); expect(h.spring).not.toHaveBeenCalled();
- render('teammates'); expect(h.spring).toHaveBeenLastCalledWith(1, HOME_MODE_SLIDE_SPRING);
- // Sample the same shared progress partway through the UI-thread animation.
- h.progress.value = 0.4;
- const [tasks, teammates] = h.styles.slice(-2);
- expect(tasks().transform[0].translateX).toBe(-160);
- expect(teammates().transform[0].translateX).toBe(240);
- expect(node.querySelector('[data-testid="home.pane.tasks"]')?.getAttribute('data-pointer')).toBe('none');
- expect(node.querySelector('[data-testid="home.pane.tasks"]')?.getAttribute('data-hidden')).toBe('true');
- render('tasks'); expect(h.spring).toHaveBeenLastCalledWith(0, HOME_MODE_SLIDE_SPRING);
- expect(h.cancel).not.toHaveBeenCalled();
- h.width = 600; render('tasks'); h.progress.value = 0.5;
- expect(h.styles.slice(-2).map(factory => factory().transform[0].translateX)).toEqual([-300, 300]);
- } finally { act(() => root.unmount()); }
- expect(h.cancel).toHaveBeenCalledOnce();
-});
-it('draws one bar blur outside the sliding panes', () => {
- const node = document.createElement('div'); const root = createRoot(node);
- try {
- act(() => root.render(createElement(Home, { mode: 'teammates' })));
- expect(node.querySelectorAll('[data-testid="fixed-blur"]')).toHaveLength(1);
- expect(node.querySelector('[data-testid^="home.pane."] [data-testid="fixed-blur"]')).toBeNull();
- expect(h.blur.at(-1)).toBe(106);
- } finally { act(() => root.unmount()); }
-});
-it.each([
- ['reduced motion', { reduced: true }], ['unknown motion preference', { reduced: null }],
- ['a non-home route', { animate: false }], ['preference restoration', { ready: false }],
-] as const)('snaps for %s', (_name, options) => {
- h.reduced = 'reduced' in options ? options.reduced : false;
- const props = { animate: 'animate' in options ? options.animate : true, ready: 'ready' in options ? options.ready : true };
- const root = createRoot(document.createElement('div'));
- const render = (mode: HomeMode) => act(() => root.render(createElement(Home, { mode, ...props })));
- try { render('tasks'); render('teammates'); expect(h.progress.value).toBe(1); expect(h.spring).not.toHaveBeenCalled(); }
- finally { act(() => root.unmount()); }
-});
-it('snaps the first change after restoring the preference, then animates', () => {
- const root = createRoot(document.createElement('div'));
- const render = (mode: HomeMode, ready: boolean) => act(() => root.render(createElement(Home, { mode, ready })));
- try {
- render('tasks', false); render('teammates', true); expect(h.spring).not.toHaveBeenCalled();
- render('tasks', true); expect(h.spring).toHaveBeenLastCalledWith(0, HOME_MODE_SLIDE_SPRING);
- } finally { act(() => root.unmount()); }
-});
diff --git a/apps/mobile/src/__tests__/HomeStackHeader.test.tsx b/apps/mobile/src/__tests__/HomeStackHeader.test.tsx
index 189a9e3c1a..86a8fc8c5c 100644
--- a/apps/mobile/src/__tests__/HomeStackHeader.test.tsx
+++ b/apps/mobile/src/__tests__/HomeStackHeader.test.tsx
@@ -18,7 +18,7 @@ vi.mock('expo-router', () => ({ Stack: {
}, children),
}),
} }));
-vi.mock('@/platform/chrome/homeMenuIcon', () => ({ homeMenuIcon: 'narrow-home-menu', homeMenuAttentionIcon: 'small-dot-home-menu', homeMenuArtworkSize: 26 }));
+vi.mock('@/platform/chrome/homeMenuIcon', () => ({ homeMenuIcon: 'narrow-home-menu', homeMenuArtworkSize: 26 }));
vi.mock('@/theme', async () => {
const { lightColors, darkColors } = await import('@/theme/tokens');
return { useTheme: () => ({ colors: h.dark ? darkColors : lightColors }) };
@@ -37,35 +37,30 @@ beforeEach(() => {
});
afterEach(async () => { await act(async () => root.unmount()); });
-it.each([false, true])('keeps the native menu, neutral attention and title content across themes (dark=%s)', async dark => {
+it.each([false, true])('keeps the native menu and title content across themes (dark=%s)', async dark => {
h.dark = dark;
const open = vi.fn();
await act(async () => root.render(el(HomeStackHeader, {
- title: el('span', null, '伙伴'), menuA11y: 'Open menu, 3 tasks', menuTestID: 'teammates.navigation', onOpenMenu: open, attention: true,
+ title: el('span', null, 'All tasks'), menuA11y: 'Open menu', menuTestID: 'home.chromeMenu', onOpenMenu: open,
})));
- expect(node.textContent).toContain('伙伴');
+ expect(node.textContent).toContain('All tasks');
expect(h.options.headerTransparent).toBe(true);
expect(h.options.headerTintColor).toBe((dark ? darkColors : lightColors).textPrimary);
- expect(node.querySelector('button')?.getAttribute('data-icon')).toBe('small-dot-home-menu');
+ expect(node.querySelector('button')?.getAttribute('data-icon')).toBe('narrow-home-menu');
expect(node.querySelector('[data-testid="custom-toolbar-item"]')).toBeNull();
- expect(node.querySelector('button')?.getAttribute('aria-label')).toBe('Open menu, 3 tasks');
+ expect(node.querySelector('button')?.getAttribute('aria-label')).toBe('Open menu');
await act(async () => node.querySelector('button')!.click());
expect(open).toHaveBeenCalledOnce();
- await act(async () => root.render(el(HomeStackHeader, {
- title: el('span', null, 'All tasks'), menuA11y: 'Open menu', menuTestID: 'home.chromeMenu', onOpenMenu: open,
- })));
- expect(node.textContent).toContain('All tasks');
- expect(node.querySelector('button')?.getAttribute('data-icon')).toBe('narrow-home-menu');
});
it('keeps the Duo custom menu within the native toolbar and preserves its action', async () => {
const open = vi.fn();
await act(async () => root.render(el(HomeStackHeader, {
- title: el('span', null, '伙伴'), menuA11y: 'Open menu', menuTestID: 'teammates.navigation', onOpenMenu: open,
- keepMenuTopLeft: true, attention: true,
+ title: el('span', null, 'All tasks'), menuA11y: 'Open menu', menuTestID: 'home.chromeMenu', onOpenMenu: open,
+ keepMenuTopLeft: true,
})));
const toolbar = node.querySelector('[data-testid="custom-toolbar-item"]')!;
- expect(toolbar.querySelector('[data-artwork]')?.getAttribute('data-artwork')).toBe('small-dot-home-menu');
+ expect(toolbar.querySelector('[data-artwork]')?.getAttribute('data-artwork')).toBe('narrow-home-menu');
await act(async () => toolbar.querySelector('button')!.click());
expect(open).toHaveBeenCalledOnce();
});
diff --git a/apps/mobile/src/__tests__/HomeUnreadContext.test.tsx b/apps/mobile/src/__tests__/HomeUnreadContext.test.tsx
deleted file mode 100644
index c4c45abdcd..0000000000
--- a/apps/mobile/src/__tests__/HomeUnreadContext.test.tsx
+++ /dev/null
@@ -1,102 +0,0 @@
-// @vitest-environment jsdom
-import { act, createElement, memo, StrictMode } from 'react';
-import { createRoot } from 'react-dom/client';
-import { afterEach, beforeEach, expect, it, vi } from 'vitest';
-import { RemoteSessionStoreSubscriptionGate, remoteSessionStore, useRemoteSessionMessagePreview } from '@/session/remoteSessionStore';
-import { SESSION_ACTIVITY_CHANNEL } from '@cindy/device-link';
-import type { RemoteSession } from '@/session/types';
-const h = vi.hoisted(() => ({ focused: true, private: [] as any[], groups: [] as any[], unread: new Set<string>() }));
-vi.mock('expo-router', () => ({ useIsFocused: () => h.focused }));
-vi.mock('@/auth/AuthContext', () => ({ useAuth: () => ({ user: { id: 'owner' } }) }));
-vi.mock('@/session/useTeammateRoster', () => ({ useTeammateRoster: () => ({ items: h.private, groupTargets: [] }) }));
-vi.mock('@/session/useBotGroupRoster', () => ({ useBotGroupRoster: () => ({ items: h.groups }) }));
-vi.mock('@/device-link/remoteResourceCache', () => ({ subscribeRemoteResourceCache: () => () => {}, remoteResourceCacheRevision: () => 0,
- isRemoteResourceUnread: (_owner: string, _host: string, id: string) => h.unread.has(id) }));
-import { HomeUnreadProvider, useHomeUnreadCounts, usePublishHomeScheduleUnread } from '@/session/HomeUnreadContext';
-Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
-const container = document.createElement('div'); let root: ReturnType<typeof createRoot>;
-beforeEach(() => { remoteSessionStore.clear(); h.focused = true; h.private = []; h.groups = []; h.unread.clear(); });
-afterEach(() => { act(() => root?.unmount()); vi.restoreAllMocks(); remoteSessionStore.clear(); });
-function seed(rows: Array<Partial<RemoteSession> & { id: string }>) {
- remoteSessionStore.setDeviceSessions('mac', 'Mac', rows.map(row => ({
- userId: 'owner', title: row.id, status: 'active', workingDir: null, workspaceKind: 'dialogue', model: 'model',
- agentKind: 'codex', effort: '', permissionMode: 'default', fastMode: false,
- userSendAt: null, createdAt: '2026-01-01T00:00:00Z', updatedAt: '2026-01-01T00:00:00Z', ...row,
- })));
-}
-function activity(id: string, phase = 'completed') {
- remoteSessionStore.applyRemotePush('mac', SESSION_ACTIVITY_CHANNEL, { sessionId: id, phase, attention: true });
-}
-let publishSchedules: (ids: ReadonlySet<string>) => void;
-function Counts() { publishSchedules = usePublishHomeScheduleUnread(); const counts = useHomeUnreadCounts(); return `${counts.tasks}/${counts.teammates}`; }
-it('maps ordinary task attention and unread private/group chats into mutually exclusive destinations', () => {
- seed([...['desktop', 'bot', 'scheduler', 'learn'].map((source, i) => ({ id: `${i}`, source })),
- { id: 'archived', status: 'archived' }, { id: 'worker', orcaRole: 'worker' }, { id: 'running' }]);
- for (const id of ['0', '1', '2', '3', 'worker']) activity(id);
- activity('archived', 'error'); activity('running', 'running');
- const row = (id: string) => ({ host: { deviceId: 'mac' }, item: { ref: { id }, display: { lastReplyAt: 20 } } });
- h.private = [row('p1'), row('p2')]; h.groups = [row('g1')]; h.unread = new Set(['p1', 'g1']);
- root = createRoot(container);
- const render = () => act(() => root.render(createElement(HomeUnreadProvider, { children: createElement(Counts) })));
- render(); expect(container.textContent).toBe('1/2');
- act(() => publishSchedules(new Set(['0']))); expect(container.textContent).toBe('0/2');
- act(() => publishSchedules(new Set()));
- // Rendering/entering a section cannot acknowledge any rows.
- render(); expect(container.textContent).toBe('1/2');
- h.unread.delete('g1'); render(); expect(container.textContent).toBe('1/1');
- act(() => remoteSessionStore.clear()); h.private = []; h.groups = []; render(); expect(container.textContent).toBe('0/0');
-});
-
-it('does no task scans for message/usage pushes or while covered, then catches up on focus', () => {
- seed(Array.from({ length: 1000 }, (_, i) => ({ id: `s${i}` })));
- root = createRoot(container);
- const render = () => act(() => root.render(createElement(HomeUnreadProvider, { children: createElement(Counts) })));
- render();
- const readActivity = vi.spyOn(remoteSessionStore, 'getSessionLiveActivity');
- act(() => {
- for (let i = 0; i < 100; i++) {
- remoteSessionStore.setMessages('s0', [{ id: 'm', clientId: 'm', sessionId: 's0', role: 'assistant',
- content: `token ${i}`, toolUseId: null, agentMeta: null, createdAt: '2026-01-01T00:00:00Z' }]);
- remoteSessionStore.applySessionPatch('mac', 's0', { totalTokenUsage: i });
- }
- });
- expect(readActivity).not.toHaveBeenCalled();
- h.focused = false; render(); readActivity.mockClear();
- act(() => { activity('s10'); remoteSessionStore.applySessionPatch('mac', 's20', { title: 'renamed' }); });
- expect(readActivity).not.toHaveBeenCalled();
- expect(container.textContent).toBe('0/0');
- h.focused = true; render();
- expect(container.textContent).toBe('1/0');
- expect(readActivity).toHaveBeenCalled();
-});
-
-it('covers 1,000 memoized rows without rendering them, then updates only changed previews on return', () => {
- seed(Array.from({ length: 1000 }, (_, i) => ({ id: `s${i}` })));
- const renders = new Map<string, number>();
- const Row = memo(function Row({ id }: { id: string }) {
- renders.set(id, (renders.get(id) ?? 0) + 1);
- return <span>{useRemoteSessionMessagePreview(id)}</span>;
- });
- root = createRoot(container);
- const render = (enabled: boolean, count = 1000) => act(() => root.render(
- <StrictMode><RemoteSessionStoreSubscriptionGate enabled={enabled}>
- {Array.from({ length: count }, (_, i) => <Row key={i} id={`s${i}`} />)}
- </RemoteSessionStoreSubscriptionGate></StrictMode>,
- ));
- render(true); renders.clear();
- render(false);
- expect(renders.size).toBe(0);
- act(() => remoteSessionStore.setMessages('s10', [{ id: 'm', clientId: 'm', sessionId: 's10', role: 'assistant',
- content: 'Updated while covered', toolUseId: null, agentMeta: null, createdAt: '2026-01-01T00:00:00Z' }]));
- expect(renders.size).toBe(0);
- expect(container.textContent).not.toContain('Updated while covered');
- render(true);
- expect([...renders.keys()]).toEqual(['s10']);
- expect(container.textContent).toContain('Updated while covered');
- renders.clear(); render(false); render(true);
- expect(renders.size).toBe(0);
- // Removed subscribers must not be reattached by a later resume.
- render(false); render(false, 0); render(true, 0);
- act(() => remoteSessionStore.setMessages('s10', []));
- expect(renders.size).toBe(0);
-});
diff --git a/apps/mobile/src/__tests__/TeammateCreateButton.test.tsx b/apps/mobile/src/__tests__/TeammateCreateController.test.tsx
similarity index 57%
rename from apps/mobile/src/__tests__/TeammateCreateButton.test.tsx
rename to apps/mobile/src/__tests__/TeammateCreateController.test.tsx
index 2da238c218..9e65669559 100644
--- a/apps/mobile/src/__tests__/TeammateCreateButton.test.tsx
+++ b/apps/mobile/src/__tests__/TeammateCreateController.test.tsx
@@ -3,32 +3,30 @@ import { act, createElement } from 'react';
import { createRoot, type Root } from 'react-dom/client';
import { afterEach, beforeEach, expect, it, vi } from 'vitest';
const h = vi.hoisted(() => ({ account: 1, button: {} as any, menu: {} as any, sheet: null as any, groupSheet: null as any, groupCreated: vi.fn(), created: vi.fn(), alert: vi.fn() }));
-vi.mock('expo-router', () => ({ Stack: { Toolbar: Object.assign(({ children }: any) => children, {
- Button: (props: any) => createElement('button', { onClick: props.onPress }, props.accessibilityLabel),
- Menu: ({ children, title, accessibilityLabel }: any) => createElement('section', { 'aria-label': title ?? accessibilityLabel }, children),
- MenuAction: (props: any) => createElement('button', { onClick: props.onPress, disabled: props.disabled }, props.children),
-}) } }));
vi.mock('react-native', () => ({ Alert: { alert: h.alert } }));
vi.mock('react-i18next', () => ({ useTranslation: () => ({ t: (key: string) => key }) }));
-vi.mock('lucide-react-native', () => ({ Plus: () => null }));
vi.mock('@/auth/AuthContext', () => ({ useAuth: () => ({ accountGeneration: h.account }) }));
-vi.mock('@/theme', () => ({ useTheme: () => ({ colors: {} }) }));
vi.mock('@/session/CompanionSettingsRow', () => ({ CompanionSettingsRow: (props: any) => createElement('button', { 'data-testid': props.testID, onClick: props.onPress }, props.label) }));
vi.mock('@/platform/chrome/NativePullDownMenu', () => ({ usesNativePullDownMenu: () => true, NativePullDownMenu: (props: any) => { h.menu = props; return props.children; } }));
-vi.mock('@/session/HomeHeaderGlassButton', () => ({ HomeHeaderGlassButton: (props: any) => { h.button = props; return null; } }));
vi.mock('@/session/CompanionSheet', () => ({ CompanionSheet: () => null }));
vi.mock('@/session/CompanionProfileSheet', () => ({ CompanionCreateSheet: (props: any) => { h.sheet = props; return null; } }));
vi.mock('@/session/useTeammateRoster', () => ({ TEAMMATE_COLLECTION_ID: 'teammates' }));
-vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => true }));
-vi.mock('@/components/MobilePrimitives', () => ({ MainWindowActionButton: () => null }));
vi.mock('@/session/BotGroupCreateSheet', () => ({ BotGroupCreateSheet: (props: any) => { h.groupSheet = props; return null; } }));
-import { TeammateCreateButton } from '@/session/TeammateCreateButton';
+import { useTeammateCreateController } from '@/session/TeammateCreateController';
+function Trigger(props: { onPress(): void }) { h.button = props; return null; }
+/** A caller draws its own trigger, as the task home's teammate section does. */
+function Create(props: Parameters<typeof useTeammateCreateController>[0]) {
+ const create = useTeammateCreateController(props);
+ return createElement('div', null, create.renderTrigger(createElement(Trigger, { onPress: create.press })), create.sheets);
+}
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
const hosts = [{ deviceId: 'mac', deviceName: 'Mac' }, { deviceId: 'pc', deviceName: 'PC' }];
const ref = { collectionId: 'teammates', kind: 'bot', id: 'confirmed' };
let root: Root | undefined;
-let node: HTMLDivElement;
-async function render(targets = hosts) { root ??= createRoot(document.createElement('div')); await act(async () => root!.render(createElement(TeammateCreateButton, { targets, preferredDeviceId: 'pc', onCreated: h.created }))); }
+async function render(targets = hosts, groupTargets = [] as typeof hosts) {
+ root ??= createRoot(document.createElement('div'));
+ await act(async () => root!.render(createElement(Create, { targets, groupTargets, preferredDeviceId: 'pc', onCreated: h.created, onGroupCreated: h.groupCreated })));
+}
beforeEach(() => { vi.clearAllMocks(); h.account = 1; h.sheet = null; });
afterEach(() => { act(() => root?.unmount()); root = undefined; });
it('uses real menu hosts, prefers the remembered host, and dispatches receipts after form dismissal', async () => {
@@ -50,30 +48,10 @@ it('fences late native menu and create dismissal callbacks after account replace
await act(async () => { oldMenu.onAction('pc'); oldSheet.onClosed(); }); expect(h.created).not.toHaveBeenCalled();
});
-async function toolbar(targets = hosts, groupTargets = [] as typeof hosts) {
- if (!root) { node = document.createElement('div'); root = createRoot(node); }
- await act(async () => root!.render(createElement(TeammateCreateButton, {
- targets, groupTargets, appearance: 'toolbar', preferredDeviceId: 'pc', onCreated: h.created, onGroupCreated: h.groupCreated,
- })));
-}
-it('native toolbar dispatches the selected host and preserves delayed creation receipts', async () => {
- await toolbar();
- expect([...node.querySelectorAll('button')].map(button => button.textContent)).toEqual(['PC', 'Mac']);
- await act(async () => node.querySelector('button')!.click());
- expect(h.sheet.deviceId).toBe('pc');
- await act(async () => { h.sheet.onCreated(ref); h.sheet.onClose(); });
- expect(h.created).not.toHaveBeenCalled();
- await act(async () => h.sheet.onClosed());
- expect(h.created).toHaveBeenCalledExactlyOnceWith(hosts[1], ref);
-});
-it('native toolbar keeps single-host creation direct and supports group-only hosts', async () => {
- await toolbar([hosts[0]]);
- await act(async () => node.querySelector('button')!.click());
- expect(h.sheet.deviceId).toBe('mac');
- await act(async () => { h.sheet.onClose(); h.sheet.onClosed(); });
- await toolbar([], [hosts[1]]);
- const group = [...node.querySelectorAll('button')].find(button => button.textContent === 'groupChat.create.title')!;
- await act(async () => group.click());
+it('offers group chats in the same menu and reports a new group only after its form closes', async () => {
+ await render([], [hosts[1]]);
+ expect(h.menu.actions.map((action: any) => action.title)).toEqual(['groupChat.create.title']);
+ await act(async () => h.menu.onAction(h.menu.actions[0].id));
expect(h.groupSheet.host.deviceId).toBe('pc');
await act(async () => { h.groupSheet.onCreated('group'); h.groupSheet.onClose(); });
expect(h.groupCreated).not.toHaveBeenCalled();
diff --git a/apps/mobile/src/__tests__/TeammateHomeScreen.test.tsx b/apps/mobile/src/__tests__/TeammateHomeScreen.test.tsx
deleted file mode 100644
index c26ab0b0b2..0000000000
--- a/apps/mobile/src/__tests__/TeammateHomeScreen.test.tsx
+++ /dev/null
@@ -1,355 +0,0 @@
-// @vitest-environment jsdom
-import { act, createElement } from 'react';
-import { createRoot, type Root } from 'react-dom/client';
-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
-import type { HomeMode, LastTeammateIdentity } from '@/session/homeViewPreferenceStore';
-import type { HostedRemoteCollectionItem } from '@/device-link/remoteResources';
-const h = vi.hoisted(() => ({
- styles: {}, t: (key: string) => key, realNavigation: false, stored: null as string | null, tasks: {} as any, dismissTo: vi.fn(), replace: vi.fn(),
- focused: true, drawer: {} as any, list: {} as any, accounts: {} as any, push: vi.fn(),
- auth: { user: { id: 'owner' }, accountGeneration: 1, logout: vi.fn(), beginAddAccount: vi.fn() },
- nav: { hydrated: true, lastTeammate: null as LastTeammateIdentity | null, mode: 'teammates' as HomeMode,
- saveFailed: false, openTeammate: vi.fn(), setMode: vi.fn(), chooseMode: vi.fn() },
- modeMenu: {} as any, nativeMenus: true,
- roster: { createTargets: [], authoritative: true, items: [] as HostedRemoteCollectionItem[], loading: false, refreshing: false, error: null as string | null,
- isOnline: vi.fn(() => true), refresh: vi.fn(), groupTargets: [] as { deviceId: string; deviceName: string }[] },
- groups: { loading: false, refreshing: false, error: null as string | null, items: [] as HostedRemoteCollectionItem[], supported: false, isOnline: () => true, refresh: vi.fn() },
- groupTargetsSeen: [] as unknown[],
- create: {} as any, chrome: {} as any, titleArgs: [] as number[], nativeHeader: true, headerHeight: 106, barEdge: 'none',
- cloud: { supported: false, actors: [] as Array<{ id: string; kind: string; externalId: string; name: string; avatar: null; homeDeviceId: string | null }>,
- deviceNames: new Map<string, string>(), refresh: vi.fn(), setHome: vi.fn() },
-}));
-vi.mock('react-native', async () => {
- const { createElement: el } = await import('react');
- return { View: ({ children }: any) => el('div', {}, children), ActivityIndicator: () => null,
- Pressable: ({ children, onPress }: any) => el('button', { onClick: onPress }, children),
- Keyboard: { dismiss: vi.fn() }, Alert: { alert: vi.fn() }, useWindowDimensions: () => ({ width: 402, height: 874 }), StyleSheet: { create: (value: unknown) => value } };
-});
-vi.mock('@/platform/chrome/homeMenuIcon', () => ({ homeMenuAttentionSize: 6 }));
-vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => true }));
-vi.mock('react-native-reanimated', async () => {
- const { useRef } = await import('react');
- const { View } = await import('react-native');
- return { default: { View }, useSharedValue: (value: number) => useRef({ value }).current,
- useAnimatedStyle: (factory: () => unknown) => factory(), cancelAnimation: () => {},
- withSpring: (target: number) => target };
-});
-vi.mock('expo-router', () => ({ Stack: { Screen: () => null }, useIsFocused: () => h.focused, useNavigation: () => ({ getState: () => ({ routes: [] }) }), useRouter: () => ({ dismissTo: h.dismissTo, replace: h.replace }) }));
-vi.mock('expo-router/react-navigation', () => ({ useHeaderHeight: () => h.headerHeight }));
-vi.mock('@/session/useOptionalHeaderHeight', () => ({ useOptionalHeaderHeight: () => h.headerHeight }));
-vi.mock('@/session/SessionHeaderNativeControls', () => ({ SessionHeaderNativeBlur: () => null }));
-vi.mock('@/platform/AdaptiveWindowContext', () => ({ useAdaptiveWindow: () => ({ width: 402, insets: { left: 0, right: 0 }, barEdge: h.barEdge }) }));
-vi.mock('@/platform/chrome/SimpleStackHeader', () => ({ usesNativeStackHeader: () => h.nativeHeader,
- simpleScreenSafeAreaEdges: () => h.nativeHeader ? ['left', 'right', 'bottom'] : undefined }));
-vi.mock('@/platform/chrome/HomeStackHeader', () => ({ centeredHomeTitleWidth: (...args: number[]) => { h.titleArgs = args; return 226; }, HomeStackHeader: (props: any) => {
- h.chrome = props; return createElement('div', { 'data-testid': 'native-home-bar' }, props.title, props.children);
-} }));
-vi.mock('react-native-safe-area-context', () => ({ SafeAreaView: 'div' }));
-vi.mock('react-i18next', () => ({ useTranslation: () => ({ t: h.t, i18n: { language: 'en' } }) }));
-vi.mock('lucide-react-native', () => ({ ChevronDown: () => null, Menu: () => null }));
-vi.mock('@/components/AppText', () => ({ Text: ({ children }: any) => createElement('span', null, children) }));
-vi.mock('@/auth/AuthContext', () => ({ useAuth: () => h.auth }));
-vi.mock('@/theme', () => ({ useThemedStyles: () => h.styles, useTheme: () => ({ colors: {} }) }));
-vi.mock('@/utils/useGuardedPush', () => ({ useGuardedPush: () => h.push }));
-vi.mock('@/device-link/remoteStatus', () => ({ formatRemoteError: String }));
-vi.mock('@/session/TeammateCreateButton', () => ({ TeammateCreateButton: (props: any) => { if (props.appearance !== 'cta') h.create = props; return null; } }));
-vi.mock('@/session/HomeChromeDrawer', () => ({ HomeChromeDrawer: (props: unknown) => { h.drawer = props; return null; } }));
-vi.mock('@/platform/chrome', () => ({ NativePullDownMenu: (props: any) => { h.modeMenu = props; return props.children; }, usesNativePullDownMenu: () => h.nativeMenus }));
-vi.mock('@/session/AccountSwitcherSheet', () => ({ AccountSwitcherSheet: (props: unknown) => { h.accounts = props; return null; } }));
-vi.mock('@/session/HomeHeaderGlassButton', () => ({ HomeHeaderGlassButton: () => null }));
-vi.mock('@/session/TeammateList', () => ({ TeammateList: (props: unknown) => { h.list = props; return null; } }));
-vi.mock('@/session/useTeammateRoster', () => ({ useTeammateRoster: () => ({ ...h.roster }) }));
-vi.mock('@/chat/useCloudCompanion', () => ({ useCloudCompanionHome: () => h.cloud }));
-vi.mock('@/session/useBotGroupRoster', () => ({ useBotGroupRoster: (targets: unknown) => { h.groupTargetsSeen.push(targets); return h.groups; } }));
-vi.mock('@/session/useTeammateNavigation', async original => {
- const actual = await original<typeof import('@/session/useTeammateNavigation')>();
- return { useTeammateNavigation: () => h.realNavigation ? actual.useTeammateNavigation() : { ...h.nav } };
-});
-vi.mock('@react-native-async-storage/async-storage', () => ({ default: {
- getItem: async () => h.stored, setItem: async (_key: string, value: string) => { h.stored = value; },
-} }));
-vi.mock('@/session/HomeSurface', () => ({ MobileHome: (props: unknown) => { h.tasks = props; return null; } }));
-vi.mock('@/session/remoteSessionStore', () => ({
- remoteSessionStore: { subscribe: () => () => {}, getSessions: () => [] },
- RemoteSessionStoreSubscriptionGate: ({ children }: { children: React.ReactNode }) => children,
- useRemoteHomeSessions: () => [], useRemoteHomeStatusVersion: () => 0,
-}));
-import HomeScreen from '../../app/devices/index';
-import { HomeModeProgressContext } from '@/session/HomeModeTransition';
-import { Keyboard } from 'react-native';
-import { TeammateHomeScreen } from '@/session/TeammateHomeScreen';
-import { teammateIdentity } from '@/session/teammateNavigation';
-Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
-const teammate: HostedRemoteCollectionItem = { key: 'mac:bot', host: { deviceId: 'mac', deviceName: 'Mac' },
- item: { ref: { collectionId: 'teammates', kind: 'bot', id: 'writer' }, revision: '1', display: { title: 'Writer' }, links: [] } };
-let root: Root | undefined;
-async function render(active = true) { root ??= createRoot(document.createElement('div')); await act(async () => root!.render(createElement(TeammateHomeScreen, { active }))); }
-let serial = 0;
-beforeEach(() => {
- h.realNavigation = false; h.stored = null;
- h.auth.user = { id: `owner-${++serial}` }; h.auth.accountGeneration = serial;
- vi.clearAllMocks(); h.focused = true; h.nav.lastTeammate = teammateIdentity(teammate); h.roster.items = [teammate];
- h.nav.mode = 'teammates'; h.nav.chooseMode.mockReset(); h.roster.authoritative = true;
- h.modeMenu = {}; h.nativeMenus = true; h.nativeHeader = true; h.headerHeight = 106; h.barEdge = 'none'; h.chrome = {};
- h.groups.loading = false; h.groups.refreshing = false; h.groups.error = null;
- h.roster.loading = false; h.roster.error = null; h.roster.isOnline.mockReturnValue(true);
- h.cloud.supported = false; h.cloud.actors = []; h.cloud.deviceNames = new Map();
-});
-afterEach(() => { act(() => root?.unmount()); root = undefined; });
-describe('teammate home entry', () => {
- it('keeps a known conversation while discovery is pending instead of replacing it with a read-only cloud row', async () => {
- const known: HostedRemoteCollectionItem = { ...teammate, item: { ...teammate.item,
- display: { title: 'Writer', preview: 'Latest reply', timestamp: 123 },
- links: [{ rel: 'conversation', target: { kind: 'session', sessionId: 'existing-chat' } }] } };
- h.roster.items = [known];
- h.roster.loading = true; h.roster.error = null;
- await render();
- expect(h.list.items).toEqual([known]);
- h.cloud.supported = true;
- h.cloud.actors = [{ id: 'actor', kind: 'bot', externalId: 'writer', name: 'Writer', avatar: null, homeDeviceId: 'mac' }];
- await render();
- expect(h.list.items).toHaveLength(1);
- expect(h.list.items[0]).toBe(known);
- await act(async () => h.list.onSelect(h.list.items[0]));
- expect(h.nav.openTeammate).toHaveBeenCalledWith(known);
- expect(h.push).not.toHaveBeenCalled();
- });
- it('lands on the roster and never opens the remembered teammate on its own', async () => {
- // A remembered, online teammate on a settled roster used to be reopened at launch (#4912); the
- // roster is the destination now, in every focus, refresh and remount.
- await render(); expect(h.nav.openTeammate).not.toHaveBeenCalled();
- h.focused = false; await render(); h.focused = true; await render();
- await act(async () => h.list.onRefresh()); await render();
- act(() => root!.unmount()); root = undefined; await render();
- expect(h.nav.openTeammate).not.toHaveBeenCalled();
- expect(h.roster.refresh).toHaveBeenCalledTimes(1);
- // Choosing a row still opens it.
- await act(async () => h.list.onSelect(teammate));
- expect(h.nav.openTeammate).toHaveBeenCalledExactlyOnceWith(teammate);
- });
- it('preserves every utility/account action and waits for the drawer to close before switching mode', async () => {
- h.nav.lastTeammate = null; await render();
- expect(h.drawer.mode).toBe('teammates');
- await act(async () => h.drawer.onModeChange('tasks')); expect(h.nav.setMode).not.toHaveBeenCalled();
- await act(async () => h.drawer.onClosed()); expect(h.nav.setMode).toHaveBeenCalledWith('tasks');
- await act(async () => { h.drawer.onOpenDevices(); h.drawer.onClosed(); }); expect(h.push).toHaveBeenCalledWith('/devices/manage');
- await act(async () => { h.drawer.onOpenSettings(); h.drawer.onClosed(); }); expect(h.push).toHaveBeenCalledWith('/settings');
- await act(async () => { h.drawer.onOpenAccounts(); h.drawer.onClosed(); }); expect(h.accounts.visible).toBe(true);
- await act(async () => { h.drawer.onOpenSearch(); h.drawer.onClosed(); }); expect(h.list.autoFocusSearch).toBe(true);
- h.auth.logout.mockResolvedValue(undefined); await act(async () => h.drawer.onLogout()); expect(h.auth.logout).toHaveBeenCalledOnce();
- expect(h.replace).toHaveBeenCalledWith('/login');
- });
- it('keeps a top mode menu available for returning to tasks', async () => {
- await render();
- await act(async () => h.modeMenu.onAction('tasks'));
- expect(h.nav.chooseMode).toHaveBeenCalledWith('tasks');
- });
- it('dismisses search before opening the title fallback drawer and switching to tasks', async () => {
- h.nativeMenus = false;
- await render();
- expect(h.drawer.open).toBe(false);
- await act(async () => h.modeMenu.children.props.onPress());
- expect(Keyboard.dismiss).toHaveBeenCalledOnce();
- expect(h.drawer.open).toBe(true);
- await act(async () => h.drawer.onModeChange('tasks'));
- expect(h.nav.setMode).not.toHaveBeenCalled();
- await act(async () => h.drawer.onClosed());
- expect(h.nav.setMode).toHaveBeenCalledExactlyOnceWith('tasks');
- expect(Keyboard.dismiss).toHaveBeenCalledOnce();
- });
-});
-
-// Exercise the real page, shared preferences, mode panes and navigation together.
-// Only native chrome, list rendering, storage and the router boundary are replaced.
-describe('explicit sidebar entry through the home page', () => {
- async function renderHome() {
- root ??= createRoot(document.createElement('div'));
- // The root ResidentHomeListProvider owns this clock in the app; its slide is covered by HomeModePanes.test.
- await act(async () => root!.render(createElement(HomeModeProgressContext.Provider, { value: { value: 1 } as any }, createElement(HomeScreen))));
- }
- it.each([1, 2])('keeps a %i-companion roster open across refresh and remount until a row is chosen', async count => {
- h.realNavigation = true;
- h.stored = JSON.stringify({ mode: 'tasks', lastTeammate: teammateIdentity(teammate) });
- const second = { ...teammate, key: 'mac:second', item: { ...teammate.item, ref: { ...teammate.item.ref, id: 'second' } } };
- const items = count === 1 ? [teammate] : [teammate, second];
- h.roster.items = []; h.roster.loading = true;
- await renderHome();
- await act(async () => h.tasks.onModeChange('teammates'));
- h.roster.items = items; h.roster.loading = false;
- await renderHome();
- expect(h.push).not.toHaveBeenCalled();
- expect(h.list.items).toEqual(items);
- await act(async () => h.list.onRefresh()); await renderHome();
- act(() => root!.unmount()); root = undefined;
- await renderHome();
- expect(h.push).not.toHaveBeenCalled();
- await act(async () => h.list.onSelect(items.at(-1)));
- expect(h.push).toHaveBeenCalledOnce();
- expect(h.push.mock.calls[0][0].params.resourceId).toBe(items.at(-1)!.item.ref.id);
- });
- it('keeps an untouched cold startup on the roster instead of reopening the last companion', async () => {
- h.realNavigation = true;
- h.stored = JSON.stringify({ mode: 'teammates', lastTeammate: teammateIdentity(teammate) });
- await renderHome();
- expect(h.push).not.toHaveBeenCalled();
- });
-});
-
-describe('group chats in the teammate list', () => {
- const group: HostedRemoteCollectionItem = { key: 'mac:g1', host: { deviceId: 'mac', deviceName: 'Mac' },
- item: { ref: { collectionId: 'bot-groups', kind: 'bot-group', id: 'g1' }, revision: '1', display: { title: '官网' }, links: [] } };
- afterEach(() => { h.roster.groupTargets = []; h.groups = { loading: false, refreshing: false, error: null, items: [], supported: false, isOnline: () => true, refresh: vi.fn() }; h.create = {}; });
-
- it('leaves group chats out when no computer supports them (older desktops)', async () => {
- h.nav.lastTeammate = null; await render();
- expect(h.list.groups).toBeUndefined();
- });
-
- it('mixes the discovered computers’ groups into the list, opens one on its computer and creates from the + menu', async () => {
- h.nav.lastTeammate = null;
- h.roster.groupTargets = [{ deviceId: 'mac', deviceName: 'Mac' }, { deviceId: 'pc', deviceName: 'PC' }];
- h.groups = { items: [group], supported: true, isOnline: (host: { deviceId: string }) => host.deviceId === 'mac', refresh: vi.fn() } as any;
- await render();
- expect(h.groupTargetsSeen.at(-1)).toBe(h.roster.groupTargets);
- expect(h.list.groups.items).toEqual([group]);
- // Only online computers can host a new group.
- expect(h.create.groupTargets).toEqual([{ deviceId: 'mac', deviceName: 'Mac' }]);
- await act(async () => h.list.groups.onSelect(group));
- expect(h.push).toHaveBeenLastCalledWith({ pathname: '/companions/groups/[groupId]', params: { groupId: 'g1', deviceId: 'mac', deviceName: 'Mac' } });
- await act(async () => h.create.onGroupCreated({ deviceId: 'pc', deviceName: 'PC' }, 'g2'));
- expect(h.push).toHaveBeenLastCalledWith({ pathname: '/companions/groups/[groupId]', params: { groupId: 'g2', deviceId: 'pc', deviceName: 'PC' } });
- expect(h.nav.openTeammate).not.toHaveBeenCalled();
- });
-});
-
-
-describe('server groups in the actual teammate home', () => {
- it('shows group loading/failure and refreshes it even without any computer target', async () => {
- h.roster.items = []; h.groups.items = []; h.groups.supported = true; h.groups.loading = true;
- await render(); expect(h.list.loading).toBe(true);
- h.groups.loading = false; h.groups.error = 'CHAT_LIST_FAILED';
- await render(); expect(h.list.error).toBe('CHAT_LIST_FAILED');
- await act(async () => h.list.onRefresh()); expect(h.groups.refresh).toHaveBeenCalledOnce();
- });
-});
-
-describe('cloud companions (main computer offline)', () => {
- const actorId = '00000000-0000-4000-8000-000000000001';
- const copy = (deviceId: string): HostedRemoteCollectionItem => ({ ...teammate, key: `${deviceId}:writer`, host: { deviceId, deviceName: deviceId.toUpperCase() } });
- it('keeps a listed companion quiet and in its normal chat while its main computer looks offline', async () => {
- h.cloud.supported = true;
- h.cloud.actors = [{ id: actorId, kind: 'bot', externalId: 'writer', name: 'Writer', avatar: null, homeDeviceId: 'mac' }];
- h.roster.items = [teammate, copy('pc')];
- h.roster.isOnline.mockReturnValue(false);
- await render();
- expect(h.list.items.map((row: HostedRemoteCollectionItem) => row.key)).toEqual(['mac:bot']);
- expect(h.list.quietPresence(teammate)).toBe(true);
- await act(async () => h.list.onSelect(teammate));
- expect(h.nav.openTeammate).toHaveBeenCalledExactlyOnceWith(teammate);
- expect(h.push).not.toHaveBeenCalledWith(expect.objectContaining({ pathname: '/companions/cloud/[actorId]' }));
- });
- it('opens the cloud conversation only for a companion this phone knows from the cloud alone', async () => {
- h.cloud.supported = true;
- h.cloud.deviceNames = new Map([['mac', 'Mac']]);
- h.cloud.actors = [{ id: actorId, kind: 'bot', externalId: 'writer', name: 'Writer', avatar: null, homeDeviceId: 'mac' }];
- h.roster.items = [copy('pc')];
- await render();
- const [row] = h.list.items as HostedRemoteCollectionItem[];
- expect(row.item.revision).toBe('cloud');
- expect(h.list.quietPresence(row)).toBe(true);
- await act(async () => h.list.onSelect(row));
- expect(h.push).toHaveBeenLastCalledWith({ pathname: '/companions/cloud/[actorId]',
- params: { actorId, botId: 'writer', deviceId: 'mac', deviceName: 'Mac', title: 'Writer' } });
- expect(h.nav.openTeammate).not.toHaveBeenCalled();
- });
- it('re-reads main computers when the listed rows change and on pull-to-refresh', async () => {
- h.cloud.supported = true;
- h.cloud.refresh = vi.fn();
- h.roster.items = [teammate];
- await render();
- const afterMount = h.cloud.refresh.mock.calls.length;
- await render();
- expect(h.cloud.refresh).toHaveBeenCalledTimes(afterMount);
- // Another device moved the companion: the new main computer now lists it.
- h.roster.items = [teammate, copy('pc')];
- await render();
- expect(h.cloud.refresh).toHaveBeenCalledTimes(afterMount + 1);
- // Both computers were already cached: the new main computer re-lists the same row.
- h.roster.items = [teammate, { ...copy('pc'), item: { ...copy('pc').item, revision: 'taken-over' } }];
- await render();
- expect(h.cloud.refresh).toHaveBeenCalledTimes(afterMount + 2);
- await act(async () => h.list.onRefresh());
- expect(h.cloud.refresh).toHaveBeenCalledTimes(afterMount + 3);
- });
- it('keeps the per-computer behavior on an older server or an online computer', async () => {
- h.cloud.actors = [{ id: actorId, kind: 'bot', externalId: 'writer', name: 'Writer', avatar: null, homeDeviceId: 'mac' }];
- h.roster.items = [teammate, copy('pc')];
- h.roster.isOnline.mockReturnValue(false);
- await render();
- expect(h.list.items).toHaveLength(2);
- expect(h.list.quietPresence(teammate)).toBe(false);
- h.cloud.supported = true; h.roster.isOnline.mockReturnValue(true);
- await render();
- await act(async () => h.list.onSelect(teammate));
- expect(h.nav.openTeammate).toHaveBeenCalledExactlyOnceWith(teammate);
- });
-});
-
-describe('shared native home chrome', () => {
- it('uses the measured bar inset once and opens the existing drawer from the shared menu', async () => {
- await render();
- expect(h.list.topInset).toBe(106);
- expect(h.list.scrollInsetProps).toBeUndefined();
- expect(h.chrome.menuTestID).toBe('teammates.navigation');
- // Centered between mirrored margins for the single create item, whatever the task title does.
- expect(h.titleArgs).toEqual([402, 1]);
- expect(h.chrome.title.props.style.at(-1).width).toBe(226);
- await act(async () => h.chrome.onOpenMenu());
- expect(Keyboard.dismiss).toHaveBeenCalledOnce();
- expect(h.drawer.open).toBe(true);
- h.headerHeight = 84; await render();
- expect(h.list.topInset).toBe(84);
- });
- it('does not register a native toolbar while the kept-alive pane is hidden', async () => {
- await render(false);
- expect(h.chrome).toEqual({});
- await render(true);
- expect(h.chrome.menuTestID).toBe('teammates.navigation');
- h.chrome = {};
- await render(false);
- expect(h.chrome).toEqual({});
- });
- it('keeps the Duo top-left exception and the Android fallback', async () => {
- h.barEdge = 'right'; await render();
- expect(h.chrome.keepMenuTopLeft).toBe(true);
- h.nativeHeader = false; h.chrome = {}; await render();
- expect(h.chrome).toEqual({});
- expect(h.list.topInset).toBeUndefined();
- });
-});
-
-it('keeps native title and create toolbar stable through unrelated roster refreshes', async () => {
- await render();
- const title = h.chrome.title;
- const actions = h.chrome.children;
- h.roster.refreshing = true;
- await render();
- expect(h.chrome.title).toBe(title);
- expect(h.chrome.children).toBe(actions);
- h.roster.refreshing = false;
-});
-
-it('starts drawer page navigation during exit, while search still waits for the drawer to close', async () => {
- await render();
- await act(async () => h.chrome.onOpenMenu());
- await act(async () => h.drawer.onOpenSettings());
- expect(h.drawer.open).toBe(false);
- expect(h.push).toHaveBeenCalledExactlyOnceWith('/settings');
- await act(async () => h.drawer.onClosed());
- expect(h.push).toHaveBeenCalledTimes(1);
- await act(async () => h.chrome.onOpenMenu());
- await act(async () => h.drawer.onOpenSearch());
- expect(h.list.autoFocusSearch).toBe(false);
- await act(async () => h.drawer.onClosed());
- expect(h.list.autoFocusSearch).toBe(true);
-});
diff --git a/apps/mobile/src/__tests__/TeammateList.test.tsx b/apps/mobile/src/__tests__/TeammateList.test.tsx
index 3ed158a2ce..bbc7fc2ecd 100644
--- a/apps/mobile/src/__tests__/TeammateList.test.tsx
+++ b/apps/mobile/src/__tests__/TeammateList.test.tsx
@@ -2,16 +2,12 @@
import { act, createElement as el } from 'react';
import { createRoot, type Root } from 'react-dom/client';
import { afterEach, beforeEach, expect, it, vi } from 'vitest';
-const h = vi.hoisted(() => ({ awaiting: new Set<string>(), list: {} as any, scrollToOffset: vi.fn() }));
+const h = vi.hoisted(() => ({ awaiting: new Set<string>() }));
vi.mock('react-native', () => ({
View: ({ children, testID, style }: any) => el('div', { 'data-testid': testID, style: Object.assign({}, ...[style].flat().filter(Boolean)) }, children),
Pressable: ({ children, testID, accessibilityLabel, disabled, onPress, style }: any) => el('button', { 'data-testid': testID, 'aria-label': accessibilityLabel, disabled, onClick: onPress,
style: Object.assign({}, ...[typeof style === 'function' ? style({ pressed: false }) : style].flat().filter(Boolean)) }, children),
- ActivityIndicator: () => null, RefreshControl: () => null, Image: () => null,
- Animated: { View: ({ children, testID }: any) => el('div', { 'data-testid': testID }, children), Value: class { setValue() {} }, timing: () => ({ start() {}, stop() {} }), loop: () => ({ start() {}, stop() {} }), sequence: () => ({}) },
- Easing: { inOut: () => undefined, ease: undefined },
StyleSheet: { create: (v: unknown) => v, hairlineWidth: 1 },
- FlatList: ({ ref, ...props }: any) => { if (ref) ref.current = { scrollToOffset: h.scrollToOffset }; h.list = props; const { ListHeaderComponent, ListEmptyComponent, data, renderItem } = props; return el('div', null, ListHeaderComponent, data.length ? data.map((item: any, index: number) => renderItem({ item, index })) : ListEmptyComponent); },
}));
vi.mock('@/device-link/DeviceLinkContext', () => ({ useDeviceLink: () => ({ invoke: async () => ({ blocks: [] }) }) }));
vi.mock('@/session/remoteSessionStore', () => ({ remoteSessionStore: {
@@ -19,7 +15,6 @@ vi.mock('@/session/remoteSessionStore', () => ({ remoteSessionStore: {
getSessionLiveActivity: (id: string) => h.awaiting.has(id) ? { phase: 'needs-interaction' } : null,
getPendingInteractions: () => [],
} }));
-vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => true }));
vi.mock('@/session/CompanionPresenceRing', () => ({ CompanionPresenceRing: ({ active }: any) => active ? el('i', { 'data-testid': 'ring' }) : null }));
vi.mock('@/session/SessionRightSpinner', () => ({ SessionRightSpinner: ({ testID }: any) => el('i', { 'data-testid': testID }) }));
vi.mock('@/session/BotGroupList', () => ({ OFFLINE_AVATAR_OPACITY: 0.45,
@@ -42,31 +37,25 @@ vi.mock('@/session/WorkingStatusText', () => ({ WorkingStatusText: ({ text }: an
vi.mock('@/device-link/remoteResourceCache', () => ({ isRemoteResourceUnread: () => false }));
vi.mock('@/session/sessionList', () => ({ formatRemoteSessionSidebarTime: () => '' }));
vi.mock('@/utils/useMinuteNow', () => ({ useMinuteNow: () => Date.now() }));
-import { TeammateList } from '../session/TeammateList';
-it('shows the localized cloud configuration error even alongside cached teammate rows', async () => {
- await act(async () => root.render(el(TeammateList, { items: [item], error: 'CHAT_ENDPOINT_UNAVAILABLE', isOnline: () => false,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
- expect(node.querySelector('[data-testid="teammates.error"]')?.textContent).toBe('groupChat.server.endpointUnavailable');
-});
+import { useTeammateEntries, useTeammateRowRenderer } from '../session/TeammateList';
+/** The task home section's rows: the same entries and row renderer, without the section chrome. */
+function Rows(props: Parameters<typeof useTeammateRowRenderer>[0]) {
+ const entries = useTeammateEntries(props.items, props.groups?.items);
+ const render = useTeammateRowRenderer(props);
+ return el('div', null, entries.map((entry, index) => render(entry, index === entries.length - 1)));
+}
const item = { key: 'host:bot', host: { deviceId: 'host', deviceName: 'Computer identity' }, item: {
ref: { collectionId: 'teammates', kind: 'bot', id: 'bot' }, revision: '1', links: [], display: { title: 'Mimi', preview: 'Last reply' },
} };
let root: Root; let node: HTMLDivElement;
beforeEach(() => { Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true }); node = document.createElement('div'); root = createRoot(node); });
afterEach(async () => { await act(async () => root.unmount()); });
-async function render(error: string | null, online = true) {
- await act(async () => root.render(el(TeammateList, { items: [item], error, isOnline: () => online, loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+async function render(online = true) {
+ await act(async () => root.render(el(Rows, { items: [item], isOnline: () => online, onSelect: vi.fn() })));
}
-it('shows no retry button merely because the list is embedded in a picker', async () => {
- await render(null);
- expect(node.querySelector('[data-testid="teammates.refresh"]')).toBeNull();
- expect(node.textContent).toContain('Last reply');
-});
-it('uses a concise recovery notice, not device IDs or transport diagnostics', async () => {
- await render('[DEVICE_UNRESPONSIVE] private-device-id is unresponsive (circuit open)', false);
- expect(node.textContent).toContain('devices.companions.stale');
- expect(node.textContent).not.toMatch(/private-device-id|DEVICE_UNRESPONSIVE|circuit open|Computer identity/);
- expect(node.querySelector('[data-testid="teammates.refresh"]')).not.toBeNull();
+it('marks an offline teammate in words, without device identity', async () => {
+ await render(false);
+ expect(node.textContent).not.toMatch(/Computer identity/);
expect(node.textContent).toContain('devices.resources.hostOffline');
// Desktop parity: the cached reply stays readable while the host is offline.
expect(node.textContent).toContain('Last reply');
@@ -75,8 +64,8 @@ it('shows readable message previews rather than Markdown delimiters or link targ
const formatted = { ...item, item: { ...item.item, display: {
title: 'Mimi', preview: '**Ready** — [Weekly brief](https://example.com/brief)\n`notes.md`',
} } };
- await act(async () => root.render(el(TeammateList, { items: [formatted], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [formatted], isOnline: () => true,
+ onSelect: vi.fn() })));
expect(node.textContent).toContain('Ready — Weekly brief notes.md');
expect(node.textContent).not.toMatch(/\*\*|https:\/\/|`/);
});
@@ -84,22 +73,20 @@ it('shows readable message previews rather than Markdown delimiters or link targ
it('shows shared public generation instead of raw preview without changing online dot', async () => {
const busy = { ...item, item: { ...item.item, display: { ...item.item.display,
preview: 'Raw tool commentary', generation: { phase: 'replying', startedAt: 1 } } } };
- await act(async () => root.render(el(TeammateList, { items: [busy], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [busy], isOnline: () => true,
+ onSelect: vi.fn() })));
expect(node.textContent).toContain('devices.companions.working.replying');
expect(node.textContent).not.toContain('Raw tool commentary');
expect(node.querySelector('[data-testid="teammate.connection"] [data-testid="status-dot"]')?.getAttribute('data-tone')).toBe('ready');
- await render(null, false);
+ await render(false);
expect(node.querySelector('[data-testid="teammate.connection"] [data-testid="status-dot"]')?.getAttribute('data-tone')).toBe('off');
expect(node.textContent).not.toContain('devices.companions.working.replying');
- await render('Model error', true);
- expect(node.querySelector('[data-testid="teammate.connection"] [data-testid="status-dot"]')?.getAttribute('data-tone')).toBe('ready');
});
-it('keeps the connection green when the list cannot be used, and unknown neutral', async () => {
+it('keeps the connection green while the roster is unverified, and unknown neutral', async () => {
for (const connected of [true, null]) {
- await act(async () => root.render(el(TeammateList, { items: [item], error: 'API failed', isOnline: () => false,
- connectionState: () => connected, loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [item], isOnline: () => false,
+ connectionState: () => connected, onSelect: vi.fn() })));
expect(node.textContent).not.toContain('devices.resources.hostOffline');
const tone = node.querySelector('[data-testid="teammate.connection"] [data-testid="status-dot"]')?.getAttribute('data-tone');
expect(tone).not.toBe('off');
@@ -116,8 +103,8 @@ it('falls back to the description, then an invitation, and flags a teammate that
display: { title: 'Aster', subtitle: 'Weekly reports' } } };
const empty = { ...item, key: 'host:empty', item: { ...item.item, ref: { ...item.item.ref, id: 'empty' },
display: { title: 'Nova', status: { label: 'Needs attention', tone: 'warning' } } } };
- await act(async () => root.render(el(TeammateList, { items: [described, empty], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [described, empty], isOnline: () => true,
+ onSelect: vi.fn() })));
expect(node.textContent).toContain('Weekly reports');
expect(node.textContent).toContain('devices.companions.startChat');
// Attention reads as words before the preview (no colored flag in the time slot).
@@ -128,8 +115,8 @@ it('falls back to the description, then an invitation, and flags a teammate that
it('keeps every row 78pt with the divider on the text column, none under the last row', async () => {
const second = { ...item, key: 'host:second', item: { ...item.item, ref: { ...item.item.ref, id: 'second' }, display: { title: 'Aster', preview: 'Hi' } } };
- await act(async () => root.render(el(TeammateList, { items: [item, second], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [item, second], isOnline: () => true,
+ onSelect: vi.fn() })));
const rows = [...node.querySelectorAll('[data-testid^="teammates.item."]')] as HTMLElement[];
expect(rows.map((row) => row.style.height)).toEqual(['78px', '78px']);
const bodies = rows.map((row) => row.children[1] as HTMLElement);
@@ -139,8 +126,8 @@ it('keeps every row 78pt with the divider on the text column, none under the las
it('shows the computer name only when two teammates share a name, on the title line', async () => {
const twin = { ...item, key: 'other:bot', host: { deviceId: 'other', deviceName: 'Office iMac' } };
- await act(async () => root.render(el(TeammateList, { items: [item, twin], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [item, twin], isOnline: () => true,
+ onSelect: vi.fn() })));
expect(node.textContent).toContain('· Computer identity');
expect(node.textContent).toContain('· Office iMac');
});
@@ -148,8 +135,8 @@ it('shows the computer name only when two teammates share a name, on the title l
it('prefixes a teammate stopped on a question or permission with 「等你确认」', async () => {
const waiting = { ...item, item: { ...item.item, links: [{ rel: 'conversation', target: { kind: 'session' as const, sessionId: 's1' } }] } };
h.awaiting = new Set(['s1']);
- await act(async () => root.render(el(TeammateList, { items: [waiting], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [waiting], isOnline: () => true,
+ onSelect: vi.fn() })));
expect(node.textContent).toContain('devices.companions.awaiting · Last reply');
h.awaiting = new Set();
});
@@ -159,8 +146,8 @@ it('mixes group chats into the list by latest activity', async () => {
const group = { key: 'host:g1', host: item.host, item: { ref: { collectionId: 'bot-groups', kind: 'bot-group', id: 'g1' }, revision: '1', links: [],
display: { title: 'Launch', timestamp: 5 } } };
const onGroup = vi.fn();
- await act(async () => root.render(el(TeammateList, { items: [older], error: null, isOnline: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true,
+ await act(async () => root.render(el(Rows, { items: [older], isOnline: () => true,
+ onSelect: vi.fn(),
groups: { items: [group], isOnline: () => true, onSelect: onGroup } })));
const order = [...node.querySelectorAll('[data-testid^="teammates.item."], [data-testid^="group."]')].map((entry) => entry.getAttribute('data-testid'));
expect(order).toEqual(['group.g1', 'teammates.item.host.bot']);
@@ -168,29 +155,11 @@ it('mixes group chats into the list by latest activity', async () => {
expect(onGroup).toHaveBeenCalledWith(group);
});
-it('reserves the native home bar once for content, scroll indicator and refresh; other routes keep automatic insets', async () => {
- const props = { items: [item], error: null, isOnline: () => true, loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn() };
- await act(async () => root.render(el(TeammateList, { ...props, topInset: 106, notice: el('span', null, 'Preference could not be saved') })));
- expect(Object.assign({}, ...h.list.contentContainerStyle.filter(Boolean)).paddingTop).toBe(106);
- expect(h.list.contentInsetAdjustmentBehavior).toBe('never');
- expect(h.list.automaticallyAdjustsScrollIndicatorInsets).toBe(false);
- expect(h.list.scrollIndicatorInsets).toEqual({ top: 106 });
- expect(h.list.refreshControl.props.progressViewOffset).toBe(106);
- expect(node.textContent).toContain('Preference could not be saved');
- // A kept-alive list may be scrolled past the header; the failure must come into view.
- expect(h.scrollToOffset).toHaveBeenCalledWith({ offset: 0, animated: true });
- await act(async () => root.render(el(TeammateList, { ...props,
- scrollInsetProps: { contentInsetAdjustmentBehavior: 'automatic', automaticallyAdjustsScrollIndicatorInsets: true },
- })));
- expect(h.list.contentInsetAdjustmentBehavior).toBe('automatic');
- expect(h.list.automaticallyAdjustsScrollIndicatorInsets).toBe(true);
- expect(h.list.scrollIndicatorInsets).toBeUndefined();
-});
it.each([false, null, true])('opens cached teammates while connection evidence is %s and the roster is unverified', async connected => {
const select = vi.fn();
- await act(async () => root.render(el(TeammateList, { items: [item], error: null, isOnline: () => false,
- connectionState: () => connected, loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: select, embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [item], isOnline: () => false,
+ connectionState: () => connected, onSelect: select })));
const button = node.querySelector<HTMLButtonElement>('[data-testid="teammates.item.host.bot"]')!;
expect(button.disabled).toBe(false);
await act(async () => button.click());
@@ -199,8 +168,8 @@ it.each([false, null, true])('opens cached teammates while connection evidence i
});
it('keeps a cloud companion quiet while its main computer looks offline: no offline text, dot or dimming', async () => {
- await act(async () => root.render(el(TeammateList, { items: [item], error: null, isOnline: () => false, quietPresence: () => true,
- loading: false, refreshing: false, onRefresh: vi.fn(), onSelect: vi.fn(), embedded: true })));
+ await act(async () => root.render(el(Rows, { items: [item], isOnline: () => false, quietPresence: () => true,
+ onSelect: vi.fn() })));
expect(node.textContent).not.toContain('devices.resources.hostOffline');
expect(node.querySelector('[data-testid="teammate.connection"] [data-testid="status-dot"]')).toBeNull();
});
diff --git a/apps/mobile/src/__tests__/homeChromeDrawer.test.tsx b/apps/mobile/src/__tests__/homeChromeDrawer.test.tsx
index 7468dce79e..0ab353de99 100644
--- a/apps/mobile/src/__tests__/homeChromeDrawer.test.tsx
+++ b/apps/mobile/src/__tests__/homeChromeDrawer.test.tsx
@@ -127,7 +127,6 @@ vi.mock('@/platform/gestureHandler', () => {
// Keep native device polling outside the drawer window/lifecycle fixture.
vi.mock('@/plugins/PluginMenuUnreadDot', () => ({ PluginMenuUnreadDot: () => null }));
-vi.mock('@/session/HomeModeSwitch', () => ({ HomeModeSwitch: () => null }));
vi.mock('@/auth/AuthContext', () => ({ useAuth: () => h.auth }));
vi.mock('expo-router', () => ({ useRouter: () => ({ replace: vi.fn() }) }));
@@ -137,7 +136,6 @@ vi.mock('@/session/AccountSwitcherSheet', () => ({ AccountSwitcherSheet: () => n
vi.mock('@/session/remoteSessionStore', () => ({
remoteSessionStore: { subscribe: () => () => {}, getSessions: () => [], isSessionRunning: () => false },
}));
-vi.mock('@/session/useTeammateNavigation', () => ({ useTeammateNavigation: () => ({ chooseMode: vi.fn() }) }));
const drawerProps = (over: Partial<Parameters<typeof HomeChromeDrawer>[0]> = {}) => ({
onClose: vi.fn(),
diff --git a/apps/mobile/src/__tests__/homeChromeDrawerAccount.test.tsx b/apps/mobile/src/__tests__/homeChromeDrawerAccount.test.tsx
index e61bf89268..2a293ea16f 100644
--- a/apps/mobile/src/__tests__/homeChromeDrawerAccount.test.tsx
+++ b/apps/mobile/src/__tests__/homeChromeDrawerAccount.test.tsx
@@ -78,7 +78,6 @@ vi.mock('@/theme', () => ({ useThemedStyles: () => ({}), useTheme: () => ({ colo
vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => driver.reduceMotion }));
// The drawer tests navigation/animation; plugin polling belongs to its own boundary.
vi.mock('@/plugins/PluginMenuUnreadDot', () => ({ PluginMenuUnreadDot: () => null }));
-vi.mock('@/session/HomeModeSwitch', () => ({ HomeModeSwitch: () => null }));
describe('home navigation drawer', () => {
let root: Root;
diff --git a/apps/mobile/src/__tests__/homeChromeMenusAndroid.test.ts b/apps/mobile/src/__tests__/homeChromeMenusAndroid.test.ts
index 8f20a27a6b..76f1113a3a 100644
--- a/apps/mobile/src/__tests__/homeChromeMenusAndroid.test.ts
+++ b/apps/mobile/src/__tests__/homeChromeMenusAndroid.test.ts
@@ -4,7 +4,6 @@ import { describe, expect, it, vi } from "vitest";
import type { MobileHomeDeviceFilterItem } from "@/session/mobileHome";
vi.mock("react-native", () => ({
- Keyboard: { dismiss: vi.fn() },
Platform: { OS: "android" },
NativeModules: {},
UIManager: { getViewManagerConfig: () => ({}) },
@@ -14,11 +13,11 @@ vi.mock("@/theme", () => ({ useTheme: () => ({ colors: {} }) }));
vi.mock("@/platform/chrome/AnchoredPullDownMenu", () => ({ AnchoredPullDownMenu: () => null }));
import { usesNativePullDownMenu } from "@/platform/chrome/NativePullDownMenu";
-import { Keyboard } from "react-native";
import { buildPullDownMenuSections, resolvePullDownSubmenu } from "@/platform/chrome/pullDownMenuModel";
import {
buildHomeDisplayPullDownActions,
buildHomeScopePullDownActions,
+ homeScopeCollections,
openHomeRemoteCollection,
parseHomeScopePullDownAction,
} from "@/session/homeChromeMenus";
@@ -141,31 +140,20 @@ describe("Android home chrome menus follow the iOS pull-down", () => {
expect(nativeHeader).toContain('<Stack.Toolbar.Menu');
});
- it("opens Teammates from both scope menus through the teammate home path", () => {
- vi.mocked(Keyboard.dismiss).mockClear();
+ it("never offers Teammates as a scope: they are the home's own section", () => {
const collections = [
{ id: "teammates", title: "Teammates", resourceKind: "bot", targets: [{ deviceId: "mac", deviceName: "Mac" }] },
{ id: "tools", title: "Tools", resourceKind: "tool", targets: [{ deviceId: "mac", deviceName: "Mac" }] },
];
- const actions = buildHomeScopePullDownActions([], "All", collections);
- const teammateAction = actions.find(action => action.id === "scope.collection:teammates")!;
- const genericAction = actions.find(action => action.id === "scope.collection:tools")!;
- const setMode = vi.fn(); const push = vi.fn(); const onModeChange = vi.fn();
- for (const action of [teammateAction, genericAction]) {
- const parsed = parseHomeScopePullDownAction(action.id);
- const collection = parsed.kind === "collection" ? collections.find(item => item.id === parsed.collectionId) : undefined;
- expect(collection).toBeDefined();
- openHomeRemoteCollection({ collection: collection!, teammateCollectionId: "teammates", embedded: true, setMode, push, onModeChange, dismissKeyboard: Keyboard.dismiss });
- }
- expect(setMode).toHaveBeenCalledExactlyOnceWith("teammates");
- expect(push).toHaveBeenNthCalledWith(1, "/devices");
- expect(push).toHaveBeenNthCalledWith(2, expect.objectContaining({ pathname: "/resources/[collectionId]", params: expect.objectContaining({ collectionId: "tools", targets: JSON.stringify(collections[1].targets) }) }));
- expect(onModeChange).not.toHaveBeenCalled();
- expect(Keyboard.dismiss).toHaveBeenCalledOnce();
- onModeChange.mockImplementation(() => expect(Keyboard.dismiss).toHaveBeenCalledTimes(2));
- openHomeRemoteCollection({ collection: collections[0], teammateCollectionId: "teammates", embedded: false, setMode, push, onModeChange, dismissKeyboard: Keyboard.dismiss });
- expect(onModeChange).toHaveBeenCalledExactlyOnceWith("teammates");
- expect(push).toHaveBeenCalledTimes(2);
+ const offered = homeScopeCollections(collections, "teammates");
+ const actions = buildHomeScopePullDownActions([], "All", offered);
+ expect(actions.map(action => action.id)).not.toContain("scope.collection:teammates");
+ const parsed = parseHomeScopePullDownAction("scope.collection:tools");
+ const collection = parsed.kind === "collection" ? offered.find(item => item.id === parsed.collectionId) : undefined;
+ const push = vi.fn();
+ openHomeRemoteCollection(collection!, push);
+ expect(push).toHaveBeenCalledExactlyOnceWith(expect.objectContaining({ pathname: "/resources/[collectionId]",
+ params: expect.objectContaining({ collectionId: "tools", targets: JSON.stringify(collections[1].targets) }) }));
});
it("routes settings pickers through the pull-down on Android", () => {
diff --git a/apps/mobile/src/__tests__/homeDesktopFirst.test.ts b/apps/mobile/src/__tests__/homeDesktopFirst.test.ts
index a858201777..08802ea2b3 100644
--- a/apps/mobile/src/__tests__/homeDesktopFirst.test.ts
+++ b/apps/mobile/src/__tests__/homeDesktopFirst.test.ts
@@ -375,9 +375,6 @@ describe('mobile home desktop-first surface', () => {
expect(source).not.toContain(`pendingMenuActionRef.current = () => guardedPush('${route}')`);
expect(source).toContain(`setChromeMenuOpen(false);\n guardedPush('${route}');`);
}
- const teammateHome = readSource('src/session/TeammateHomeScreen.tsx');
- expect(teammateHome).toContain("onOpenSettings={() => openDrawerPage('/settings')}");
- expect(teammateHome).toContain("onOpenAccounts={() => afterDrawer(() => setAccounts(true))}");
const rootLayout = readSource('app/_layout.tsx');
expect(rootLayout).not.toContain("animation: 'slide_from_left'");
expect(source).toContain("label={t('devices.list.allConversations')}");
diff --git a/apps/mobile/src/__tests__/homeEntryStartup.test.tsx b/apps/mobile/src/__tests__/homeEntryStartup.test.tsx
deleted file mode 100644
index 86a3118bf8..0000000000
--- a/apps/mobile/src/__tests__/homeEntryStartup.test.tsx
+++ /dev/null
@@ -1,204 +0,0 @@
-// @vitest-environment jsdom
-import { act, StrictMode } from 'react';
-import { createRoot, type Root } from 'react-dom/client';
-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
-
-const h = vi.hoisted(() => ({
- path: '/', resourceKind: undefined as string | undefined,
- auth: { initialized: true, isAuthenticated: true },
- storage: new Map<string, string>(), get: vi.fn(), tasks: vi.fn(), releaseSplash: vi.fn(), collectionAvailable: true,
-}));
-vi.mock('@react-native-async-storage/async-storage', () => ({ default: {
- getItem: h.get,
- setItem: async (key: string, value: string) => { h.storage.set(key, value); },
-} }));
-vi.mock('@/auth/AuthContext', () => ({ useAuth: () => h.auth }));
-vi.mock('expo-router', () => ({
- usePathname: () => h.path,
- useGlobalSearchParams: () => ({ resourceKind: h.resourceKind }),
- Redirect: ({ href }: { href: unknown }) => <output data-target>{JSON.stringify(href)}</output>,
-}));
-vi.mock('../../app/devices', () => ({ default: () => { h.tasks(); return <div>tasks</div>; } }));
-vi.mock('@/device-link/remoteResourceCache', () => ({
- readRemoteResourceSnapshot: async (userId: string) => ({ home: h.collectionAvailable ? [{
- id: 'teammates', resourceKind: 'bot', title: 'Teammates',
- targets: [{ deviceId: `${userId}-host`, deviceName: 'Computer' }],
- }] : [] }),
-}));
-
-import { HomeEntryProvider, useHomeEntry, useHomeEntrySplashRelease } from '@/session/HomeEntryProvider';
-import { readHomeEntry, saveHomeEntry } from '@/session/homeEntryPreference';
-import { getMobileAuthOwner, setMobileAuthOwner, __testing as ownerTesting } from '@/auth/authOwnerGeneration';
-import IndexScreen from '../../app/index';
-import { homeNavigationOwner } from '@/session/useHomeMode';
-
-let root: Root;
-let host: HTMLDivElement;
-function Screen() {
- const entry = useHomeEntry();
- useHomeEntrySplashRelease(h.releaseSplash);
- return <><output data-ready>{String(entry.ready)}</output>{h.path === '/' ? <IndexScreen /> : <div>{h.path}</div>}</>;
-}
-async function render() {
- await act(async () => { root.render(<StrictMode><HomeEntryProvider><Screen /></HomeEntryProvider></StrictMode>); });
-}
-async function navigate(path: string, resourceKind?: string) {
- h.path = path; h.resourceKind = resourceKind; await render();
-}
-async function restart() {
- await act(async () => root.unmount());
- root = createRoot(host); h.path = '/'; h.resourceKind = undefined; await render();
-}
-beforeEach(() => {
- (globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
- h.path = '/'; h.resourceKind = undefined; h.auth = { initialized: true, isAuthenticated: true };
- h.collectionAvailable = true;
- h.storage.clear(); h.tasks.mockClear(); h.releaseSplash.mockClear(); h.get.mockReset();
- h.get.mockImplementation(async (key: string) => h.storage.get(key) ?? null);
- ownerTesting.reset(); setMobileAuthOwner('a', 'global');
- host = document.createElement('div'); root = createRoot(host);
-});
-afterEach(async () => { await act(async () => root.unmount()); });
-
-describe('mobile startup entry', () => {
- it('keeps the overlay during auth initialization and releases on the signed-out login route', async () => {
- h.auth = { initialized: false, isAuthenticated: false };
- setMobileAuthOwner(null);
- await navigate('/login');
- expect(h.releaseSplash).not.toHaveBeenCalled();
- h.auth.initialized = true;
- await render();
- expect(h.releaseSplash).toHaveBeenCalled();
- });
- it('reopens the partner list after closing a partner chat, with no task screen flash', async () => {
- await render();
- await navigate('/resources/teammates');
- await navigate('/sessions/private-chat', 'bot');
- h.tasks.mockClear();
- await restart();
- const target = JSON.parse(host.querySelector('[data-target]')!.textContent!);
- expect(target.pathname).toBe('/resources/[collectionId]');
- expect(target.params.collectionId).toBe('teammates');
- expect(target.params.targets).toContain('a-host');
- expect(h.tasks).not.toHaveBeenCalled();
- expect([...h.storage.values()]).toEqual(['bots']);
- // Completing the redirect, then pressing Back, is explicit navigation to tasks.
- await navigate('/resources/teammates');
- await navigate('/');
- expect(host.textContent).toContain('tasks');
- await restart();
- expect(host.querySelector('[data-target]')).toBeNull();
- });
- it('lands on the teammate home instead of stacking the old partner list when teammate mode is stored', async () => {
- const user = { id: 'u1', passportId: 'p1', membershipKind: 'personal', orgId: null };
- h.auth = { initialized: true, isAuthenticated: true, user } as typeof h.auth;
- await saveHomeEntry(getMobileAuthOwner().accountKey, 'bots');
- h.storage.set(`cindy.mobile.home.navigation.v1.${encodeURIComponent(homeNavigationOwner(user as never))}`, JSON.stringify({ mode: 'teammates' }));
- await render();
- // The home route itself shows the teammate roster in this mode; no second list on top of it.
- expect(host.querySelector('[data-target]')).toBeNull();
- expect(host.textContent).toContain('tasks');
- expect(h.releaseSplash).toHaveBeenCalled();
- });
- it('does not hold the overlay behind a stalled teammate-mode read', async () => {
- vi.useFakeTimers();
- try {
- const user = { id: 'u1', passportId: 'p1', membershipKind: 'personal', orgId: null };
- h.auth = { initialized: true, isAuthenticated: true, user } as typeof h.auth;
- h.get.mockImplementation(async (key: string) => key.startsWith('cindy.mobile.home.navigation.v1.')
- ? new Promise<never>(() => {}) : h.storage.get(key) ?? null);
- await render();
- expect(h.releaseSplash).not.toHaveBeenCalled();
- await act(async () => { await vi.advanceTimersByTimeAsync(2_000); });
- expect(host.textContent).toContain('tasks');
- expect(h.releaseSplash).toHaveBeenCalled();
- } finally {
- vi.useRealTimers();
- }
- });
- it.each([null, 'tasks', 'invalid'])('keeps the existing home for stored value %s', async (value) => {
- if (value) h.storage.set('cindy.homeEntry.v1.' + getMobileAuthOwner().accountKey, value);
- await render();
- expect(host.textContent).toContain('tasks');
- expect(host.querySelector('[data-target]')).toBeNull();
- });
- it('keeps the overlay through hydration and releases only after the restored route commits', async () => {
- let resolve!: (value: string) => void;
- h.get.mockImplementation(() => new Promise<string>((done) => { resolve = done; }));
- await render();
- expect(host.querySelector('[data-ready]')?.textContent).toBe('false');
- expect(h.releaseSplash).not.toHaveBeenCalled();
- expect(h.tasks).not.toHaveBeenCalled();
- await act(async () => { resolve('bots'); });
- expect(host.querySelector('[data-target]')).not.toBeNull();
- expect(h.tasks).not.toHaveBeenCalled();
- expect(h.releaseSplash).not.toHaveBeenCalled();
- await navigate('/resources/teammates');
- expect(h.releaseSplash).toHaveBeenCalled();
- });
- it.each(['/sessions/linked-task', '/resources/teammates/linked-bot', '/settings'])('preserves explicit cold-start destination %s', async (path) => {
- await saveHomeEntry(getMobileAuthOwner().accountKey, 'bots');
- await navigate(path);
- expect(host.querySelector('[data-target]')).toBeNull();
- expect(host.textContent).toContain(path);
- expect(h.releaseSplash).toHaveBeenCalled();
- await navigate('/');
- expect(host.textContent).toContain('tasks');
- });
- it('does not reclaim home after an explicit navigation during an outstanding read', async () => {
- const pending: Array<(value: string) => void> = [];
- h.get.mockImplementation(() => new Promise<string>((done) => pending.push(done)));
- await render();
- await navigate('/sessions/notification-target');
- await navigate('/');
- await act(async () => { pending.forEach((resolve) => resolve('bots')); });
- expect(host.querySelector('[data-target]')).toBeNull();
- expect(host.textContent).toContain('tasks');
- });
- it('discards a late old-account read and does not copy the inherited route on switch', async () => {
- const accountA = getMobileAuthOwner().accountKey;
- await saveHomeEntry(accountA, 'bots');
- await navigate('/resources/teammates');
- await act(async () => setMobileAuthOwner('b', 'global'));
- await render();
- expect(await readHomeEntry(getMobileAuthOwner().accountKey, 'b')).toBeNull();
- await navigate('/');
- expect(host.textContent).toContain('tasks');
- await act(async () => { h.auth.isAuthenticated = false; setMobileAuthOwner(null); });
- await render();
- expect(host.querySelector('[data-target]')?.textContent).toContain('/login');
- expect(await readHomeEntry(accountA, 'a')).not.toBeNull();
- });
- it('ignores an in-flight restore after switching account or realm', async () => {
- const pending: Array<(value: string | null) => void> = [];
- h.get.mockImplementation(() => new Promise<string | null>((done) => pending.push(done)));
- await render();
- await act(async () => setMobileAuthOwner('a', 'cn'));
- await render();
- const latest = pending.pop()!;
- await act(async () => { latest(null); });
- expect(host.textContent).toContain('tasks');
- await act(async () => { pending.forEach((resolve) => resolve('bots')); });
- expect(host.querySelector('[data-target]')).toBeNull();
- });
- it('uses the default when storage fails', async () => {
- h.get.mockRejectedValue(new Error('unavailable'));
- await render();
- expect(host.textContent).toContain('tasks');
- });
- it('uses normal discovery after account cleanup removed the cached partner hosts', async () => {
- await saveHomeEntry(getMobileAuthOwner().accountKey, 'bots');
- h.collectionAvailable = false;
- await render();
- expect(host.querySelector('[data-target]')).toBeNull();
- expect(host.textContent).toContain('tasks');
- });
- it('preserves a notification target after restoration has finished', async () => {
- await saveHomeEntry(getMobileAuthOwner().accountKey, 'bots');
- await render();
- await navigate('/resources/teammates');
- await navigate('/sessions/notification-target');
- expect(host.querySelector('[data-target]')).toBeNull();
- expect(host.textContent).toContain('/sessions/notification-target');
- });
-});
diff --git a/apps/mobile/src/__tests__/remoteCollectionRead.test.tsx b/apps/mobile/src/__tests__/remoteCollectionRead.test.tsx
index 5326aee0c8..e4fe7c568d 100644
--- a/apps/mobile/src/__tests__/remoteCollectionRead.test.tsx
+++ b/apps/mobile/src/__tests__/remoteCollectionRead.test.tsx
@@ -4,8 +4,8 @@ import { createRoot } from 'react-dom/client';
import { beforeEach, expect, it, vi } from 'vitest';
const h = vi.hoisted(() => ({
- push: vi.fn(), markRead: vi.fn(), list: vi.fn(), setMode: vi.fn(), homeMode: 'tasks',
- hydrated: true, focused: true, dismiss: vi.fn(), dismissTo: vi.fn(), reset: vi.fn(), routes: [] as Array<{ name: string; params?: unknown }>,
+ push: vi.fn(), markRead: vi.fn(), list: vi.fn(),
+ focused: true, dismiss: vi.fn(), dismissTo: vi.fn(), reset: vi.fn(), routes: [] as Array<{ name: string; params?: unknown }>,
params: { collectionId: 'tools', targets: JSON.stringify([{ deviceId: 'mac', deviceName: 'My Mac' }]) },
translation: { t: (key: string) => key, i18n: { language: 'en' } },
link: { connectionEpoch: 1, status: 'online', presenceVersion: 1, getPresenceAvailability: () => true, openLink: vi.fn(async () => {}), invoke: vi.fn(), onRemoteResourceChanged: vi.fn((_listener: (deviceId: string, payload: { collectionId: string }) => void) => () => {}), subscribe: vi.fn(), unsubscribe: vi.fn() },
@@ -29,7 +29,7 @@ vi.mock('expo-router', async () => {
const { useEffect } = await import('react');
return { Redirect: ({ href }: { href: string }) => <output data-target>{href}</output>, useIsFocused: () => h.focused, useFocusEffect: (effect: () => void | (() => void)) => useEffect(effect, [effect]), useLocalSearchParams: () => h.params, useRouter: () => ({ dismiss: h.dismiss, dismissTo: h.dismissTo }), useNavigation: () => ({ reset: h.reset, getState: () => ({ index: h.routes.length - 1, routes: h.routes }) }) };
});
-vi.mock('@/session/useHomeMode', () => ({ useHomeMode: () => ({ hydrated: h.hydrated, mode: h.homeMode, setMode: h.setMode }) }));
+vi.mock('@/session/useHomeMode', () => ({ useHomeMode: () => ({ hydrated: true }) }));
vi.mock('react-i18next', () => ({ useTranslation: () => h.translation }));
vi.mock('@/i18n', () => ({ i18n: { t: (key: string) => key } }));
vi.mock('react-native-safe-area-context', () => ({ SafeAreaView: 'div' }));
@@ -64,7 +64,7 @@ vi.mock('@/device-link/remoteResources', async (original) => ({
import RemoteCollectionScreen from '../../app/resources/[collectionId]';
import { StackRouter, StackActions } from 'expo-router/build/react-navigation/routers/StackRouter';
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
-beforeEach(() => { vi.clearAllMocks(); h.hydrated = true; h.focused = true; h.routes = []; });
+beforeEach(() => { vi.clearAllMocks(); h.focused = true; h.routes = []; });
it('does not migrate a hidden legacy route underneath an active task', async () => {
h.params.collectionId = 'teammates'; h.focused = false;
@@ -72,7 +72,6 @@ it('does not migrate a hidden legacy route underneath an active task', async ()
const root = createRoot(document.createElement('div'));
try {
await act(async () => root.render(createElement(RemoteCollectionScreen)));
- expect(h.setMode).not.toHaveBeenCalled();
expect(h.reset).not.toHaveBeenCalled();
expect(h.dismiss).not.toHaveBeenCalled();
expect(h.dismissTo).not.toHaveBeenCalled();
@@ -81,7 +80,6 @@ it('does not migrate a hidden legacy route underneath an active task', async ()
it.each(['index', 'devices/index'])('migrates the retired collection by returning to the existing %s without duplicating home', async name => {
h.params.collectionId = 'teammates';
- h.hydrated = false;
const router = StackRouter({ initialRouteName: name });
const options = { routeNames: [name, 'resources/[collectionId]'], routeParamList: {}, routeGetIdList: {}, routeKeyChanges: [] };
let state = router.getInitialState(options);
@@ -93,12 +91,6 @@ it.each(['index', 'devices/index'])('migrates the retired collection by returnin
const root = createRoot(container);
try {
await act(async () => root.render(createElement(RemoteCollectionScreen)));
- expect(container.querySelector('[data-target]')).toBeNull();
- expect(h.setMode).not.toHaveBeenCalled();
- expect(h.dismiss).not.toHaveBeenCalled();
- h.hydrated = true;
- await act(async () => root.render(createElement(RemoteCollectionScreen)));
- expect(h.setMode).toHaveBeenCalledWith('teammates');
expect(h.dismiss).toHaveBeenCalledExactlyOnceWith(1);
expect(h.dismissTo).not.toHaveBeenCalled();
expect(state.routes).toEqual([home]);
@@ -107,7 +99,6 @@ it.each(['index', 'devices/index'])('migrates the retired collection by returnin
expect(h.list).not.toHaveBeenCalled();
} finally {
h.params.collectionId = 'tools';
- h.homeMode = 'tasks';
act(() => root.unmount());
}
});
diff --git a/apps/mobile/src/__tests__/residentHomeList.test.tsx b/apps/mobile/src/__tests__/residentHomeList.test.tsx
index 1486345cba..7a5f18d922 100644
--- a/apps/mobile/src/__tests__/residentHomeList.test.tsx
+++ b/apps/mobile/src/__tests__/residentHomeList.test.tsx
@@ -9,11 +9,10 @@ import { ResidentHomeList, ResidentHomeListProvider, useResidentHomeList, useSes
const state = vi.hoisted(() => ({
pan: {} as Record<string, (...args: any[]) => any>, divider: null as any,
deferMeasure: false, measurements: [] as (() => void)[],
- platform: 'android', spring: vi.fn((target: number) => target), hydrated: true, reduceMotion: true, progress: null as any, slide: null as any, mode: 'tasks', segments: ['devices'], width: 1000, anchorWidth: 1000, mounts: 0, unmounts: 0,
+ platform: 'android', reduceMotion: true, segments: ['devices'], width: 1000, anchorWidth: 1000, mounts: 0, unmounts: 0,
}));
vi.mock('react-i18next', () => ({ useTranslation: () => ({ t: (key: string) => key }) }));
vi.mock('@/theme', () => ({ useTheme: () => ({ colors: { textSecondary: 'gray', borderStrong: 'gray' } }) }));
-vi.mock('../session/useHomeMode', () => ({ useHomeMode: () => ({ mode: state.mode, hydrated: state.hydrated }) }));
vi.mock('expo-router', () => ({ useSegments: () => state.segments }));
vi.mock('@/hooks/useReduceMotion', () => ({ useReduceMotionEnabled: () => state.reduceMotion }));
vi.mock('@/platform/AdaptiveWindowContext', () => ({ useAdaptiveWindow: () => ({
@@ -44,18 +43,12 @@ vi.mock('react-native', async () => {
}),
};
});
-vi.mock('react-native-reanimated', async () => {
- const { useRef } = await import('react');
- return { default: { View: ({ children, pointerEvents }: any) => <div data-host data-pointer={pointerEvents}>{children}</div> },
- useSharedValue: (value: number) => { const ref = useRef({ value }); state.progress = ref.current; return ref.current; },
- useAnimatedStyle: (factory: () => any) => { state.slide = factory; return factory(); },
- cancelAnimation: () => {}, withSpring: (target: number) => state.spring(target),
- };
-});
+vi.mock('react-native-reanimated', () => ({ default: { View: ({ children, pointerEvents, style }: any) =>
+ <div data-host data-pointer={pointerEvents} data-opacity={Object.assign({}, ...[style].flat()).opacity}>{children}</div> } }));
const roots: ReturnType<typeof createRoot>[] = [];
afterEach(() => {
act(() => roots.splice(0).forEach(root => root.unmount()));
- state.platform = 'android'; state.spring.mockClear(); state.hydrated = true; state.reduceMotion = true; state.mode = 'tasks'; state.segments = ['devices']; state.width = 1000; state.anchorWidth = 1000;
+ state.platform = 'android'; state.reduceMotion = true; state.segments = ['devices']; state.width = 1000; state.anchorWidth = 1000;
state.mounts = 0; state.unmounts = 0;
state.deferMeasure = false; state.measurements = [];
state.divider = null; state.pan = {};
@@ -153,45 +146,6 @@ it('hides the resident list and pauses row subscriptions on other routes without
expect(state.mounts).toBe(1); expect(state.unmounts).toBe(0);
});
-it.each([{ homeSegments: [] }, { homeSegments: ['index'] }, { homeSegments: ['devices'] }, { homeSegments: ['devices', 'index'] }])('keeps task state but hides the resident list in teammate mode on %j', ({ homeSegments }) => {
- state.segments = homeSegments;
- const host = document.createElement('div');
- const root = createRoot(host); roots.push(root);
- const render = (detail = false) => act(() => root.render(<Scene detail={detail} homeSelect={() => {}} detailSelect={() => {}} />));
- render();
- act(() => (host.querySelector('[data-scroll]') as HTMLButtonElement).click());
- state.mode = 'teammates'; render();
- expect(host.querySelector('[data-host]')?.getAttribute('data-pointer')).toBe('none');
- expect(host.querySelector('[data-subscriptions]')?.getAttribute('data-subscriptions')).toBe('false');
- // An actual task route still owns the upstream persistent sidebar, irrespective of home preference.
- state.segments = ['sessions', '[sessionId]']; render(true);
- expect(host.querySelector('[data-host]')?.getAttribute('data-pointer')).toBe('box-none');
- state.segments = homeSegments; state.mode = 'tasks'; render();
- expect(host.querySelector('[data-host]')?.getAttribute('data-pointer')).toBe('box-none');
- expect(host.querySelector('[data-select]')?.textContent).toBe('240');
- expect(state.mounts).toBe(1); expect(state.unmounts).toBe(0);
-});
-
-it('slides the wide resident list out with its home pane without remounting or intercepting teammate touches', () => {
- state.reduceMotion = false;
- const host = document.createElement('div'); const root = createRoot(host); roots.push(root);
- const render = () => act(() => root.render(<Scene detail={false} homeSelect={() => {}} />));
- render(); state.mode = 'teammates'; render(); state.progress.value = 0.5;
- expect(state.slide()).toEqual({ opacity: 1, transform: [{ translateX: -500 }] });
- expect(host.querySelector('[data-host]')?.getAttribute('data-pointer')).toBe('none');
- state.progress.value = 1; expect(state.slide().opacity).toBe(0);
- expect(state.mounts).toBe(1); expect(state.unmounts).toBe(0);
-});
-
-it('switches Android home modes in place, because each pane draws its own bar', () => {
- state.reduceMotion = false; state.platform = 'android';
- const host = document.createElement('div'); const root = createRoot(host); roots.push(root);
- const render = () => act(() => root.render(<Scene detail={false} homeSelect={() => {}} />));
- render(); state.mode = 'teammates'; render();
- expect(state.spring).not.toHaveBeenCalled();
- expect(state.progress.value).toBe(1);
-});
-
// Regression: Duo portrait → landscape briefly removed the task list while its
// new host waited for native measurements. Existing tests only switched routes
// at a fixed wide size. Exercise the real provider/slot (unit tier), preserving
@@ -282,9 +236,9 @@ it('does not draw the retained iOS sidebar over home during return', () => {
const host = document.createElement('div'); const root = createRoot(host); roots.push(root);
const render = () => act(() => root.render(<Scene detail homeSelect={() => {}} detailSelect={() => {}} />));
render();
- expect(state.slide().opacity).toBe(1);
+ expect(host.querySelector('[data-host]')?.getAttribute('data-opacity')).toBe('1');
state.segments = []; render();
- expect(state.slide().opacity).toBe(0);
+ expect(host.querySelector('[data-host]')?.getAttribute('data-opacity')).toBe('0');
expect(host.querySelector('[data-host]')?.getAttribute('data-pointer')).toBe('none');
});
diff --git a/apps/mobile/src/__tests__/sessionListDrawer.test.ts b/apps/mobile/src/__tests__/sessionListDrawer.test.ts
index cfe8a0d8ad..7a4c2512e6 100644
--- a/apps/mobile/src/__tests__/sessionListDrawer.test.ts
+++ b/apps/mobile/src/__tests__/sessionListDrawer.test.ts
@@ -71,7 +71,7 @@ describe('mobile session list drawer', () => {
const text = source();
const route = readTextLf(resolve(process.cwd(), 'app/devices/index.tsx'), 'utf8');
const home = readTextLf(resolve(process.cwd(), 'src/session/HomeSurface.tsx'), 'utf8');
- expect(route).toContain("tasks={<MobileHome active={navigation.mode === 'tasks'} onModeChange={navigation.setMode} />}");
+ expect(route).toContain("<MobileHome />");
expect(route).toContain("@/session/HomeSurface");
expect(text).toContain("import { MobileHome } from './HomeSurface'");
expect(text).toContain('<MobileHome');
diff --git a/apps/mobile/src/__tests__/teammateNavigation.test.ts b/apps/mobile/src/__tests__/teammateNavigation.test.ts
index 796be688ce..80f426970a 100644
--- a/apps/mobile/src/__tests__/teammateNavigation.test.ts
+++ b/apps/mobile/src/__tests__/teammateNavigation.test.ts
@@ -27,28 +27,34 @@ describe('account-scoped home navigation overrides', () => {
it('serializes overlapping patches and isolates accounts even when resource ids match', async () => {
await Promise.all([
saveHomeNavigationPreferences('account-a', { lastTeammate: teammateIdentity(row()) }),
- saveHomeNavigationPreferences('account-a', { mode: 'teammates' }),
- saveHomeNavigationPreferences('account-b', { mode: 'tasks' }),
+ saveHomeNavigationPreferences('account-a', { teammatesCollapsed: true }),
+ saveHomeNavigationPreferences('account-b', { teammatesCollapsed: false }),
]);
- expect(await readHomeNavigationPreferences('account-a')).toEqual({ mode: 'teammates', lastTeammate: teammateIdentity(row()) });
- expect(await readHomeNavigationPreferences('account-b')).toEqual({ mode: 'tasks' });
+ expect(await readHomeNavigationPreferences('account-a')).toEqual({ teammatesCollapsed: true, lastTeammate: teammateIdentity(row()) });
+ expect(await readHomeNavigationPreferences('account-b')).toEqual({ teammatesCollapsed: false });
await saveHomeNavigationPreferences('account-a', { lastTeammate: null });
- expect(await readHomeNavigationPreferences('account-a')).toEqual({ mode: 'teammates' });
+ expect(await readHomeNavigationPreferences('account-a')).toEqual({ teammatesCollapsed: true });
});
it('does not overwrite preferences after a failed read; a failed write does not poison later saves', async () => {
- await saveHomeNavigationPreferences('account-a', { mode: 'teammates' });
+ await saveHomeNavigationPreferences('account-a', { teammatesCollapsed: true });
vi.mocked(AsyncStorage.getItem).mockRejectedValueOnce(new Error('disk unavailable'));
await expect(saveHomeNavigationPreferences('account-a', { lastTeammate: teammateIdentity(row()) })).rejects.toThrow('disk unavailable');
- expect(await readHomeNavigationPreferences('account-a')).toEqual({ mode: 'teammates' });
+ expect(await readHomeNavigationPreferences('account-a')).toEqual({ teammatesCollapsed: true });
vi.mocked(AsyncStorage.setItem).mockRejectedValueOnce(new Error('write failed'));
- await expect(saveHomeNavigationPreferences('account-b', { mode: 'tasks' })).rejects.toThrow('write failed');
+ await expect(saveHomeNavigationPreferences('account-b', { teammatesCollapsed: true })).rejects.toThrow('write failed');
await saveHomeNavigationPreferences('account-a', { lastTeammate: teammateIdentity(row()) });
expect((await readHomeNavigationPreferences('account-a')).lastTeammate).toEqual(teammateIdentity(row()));
});
it('rejects malformed identities and never saves extra Session/profile fields', () => {
- expect(normalizeHomeNavigationPreferences({ mode: 'unknown', lastTeammate: { resourceId: 'id' } })).toEqual({});
- expect(normalizeHomeNavigationPreferences({ mode: 'teammates', lastTeammate: { ...teammateIdentity(row()), sessionId: 'cached', name: 'Cindy' } }))
- .toEqual({ mode: 'teammates', lastTeammate: teammateIdentity(row()) });
+ expect(normalizeHomeNavigationPreferences({ teammatesCollapsed: 'yes', lastTeammate: { resourceId: 'id' } })).toEqual({});
+ expect(normalizeHomeNavigationPreferences({ lastTeammate: { ...teammateIdentity(row()), sessionId: 'cached', name: 'Cindy' } }))
+ .toEqual({ lastTeammate: teammateIdentity(row()) });
+ });
+ it('drops the retired tasks/teammates mode from stored data on the next write, keeping the rest', async () => {
+ disk.set(__testing.navigationPrefix + 'account-a', JSON.stringify({ mode: 'teammates', lastTeammate: teammateIdentity(row()) }));
+ expect(await readHomeNavigationPreferences('account-a')).toEqual({ lastTeammate: teammateIdentity(row()) });
+ await saveHomeNavigationPreferences('account-a', { teammatesCollapsed: true });
+ expect(JSON.parse(disk.get(__testing.navigationPrefix + 'account-a')!)).toEqual({ teammatesCollapsed: true, lastTeammate: teammateIdentity(row()) });
});
});
describe('teammate identity navigation', () => {
diff --git a/apps/mobile/src/__tests__/useTeammateNavigation.test.tsx b/apps/mobile/src/__tests__/useTeammateNavigation.test.tsx
index 723ba2d39f..e81d8e99b4 100644
--- a/apps/mobile/src/__tests__/useTeammateNavigation.test.tsx
+++ b/apps/mobile/src/__tests__/useTeammateNavigation.test.tsx
@@ -37,13 +37,13 @@ beforeEach(() => {
});
afterEach(() => { act(() => root?.unmount()); root = undefined; vi.useRealTimers(); });
describe('header/home shared navigation', () => {
- it('restores an explicit mode and teammate, and mode changes preserve that identity', async () => {
+ it('restores the remembered teammate and section fold, and returning home keeps them', async () => {
const owner = homeNavigationOwner(h.user);
- await saveHomeNavigationPreferences(owner, { mode: 'teammates', lastTeammate: teammateIdentity(teammate) });
- await render(); expect(result.mode).toBe('teammates'); expect(result.lastTeammate?.resourceId).toBe('writer');
- await act(async () => result.chooseMode('tasks'));
+ await saveHomeNavigationPreferences(owner, { teammatesCollapsed: true, lastTeammate: teammateIdentity(teammate) });
+ await render(); expect(result.teammatesCollapsed).toBe(true); expect(result.lastTeammate?.resourceId).toBe('writer');
+ await act(async () => result.returnHome());
expect(h.dismissTo).toHaveBeenCalledWith('/devices');
- expect(await readHomeNavigationPreferences(owner)).toEqual({ mode: 'tasks', lastTeammate: teammateIdentity(teammate) });
+ expect(await readHomeNavigationPreferences(owner)).toEqual({ teammatesCollapsed: true, lastTeammate: teammateIdentity(teammate) });
});
it('only pushes a resource resolver and records identity; never replaces or resets the current composer', async () => {
await render(); await act(async () => result.openTeammate(teammate));
@@ -51,29 +51,21 @@ describe('header/home shared navigation', () => {
collectionId: 'teammates', resourceId: 'writer', resourceKind: 'bot', deviceId: 'mac', deviceName: 'My Mac', title: 'Writer',
} });
expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
- expect(result.mode).toBe('teammates'); // An explicit picker selection owns the active mode.
- expect(await readHomeNavigationPreferences(result.owner)).toEqual({
- mode: 'teammates', lastTeammate: teammateIdentity(teammate),
- });
+ expect(await readHomeNavigationPreferences(result.owner)).toEqual({ lastTeammate: teammateIdentity(teammate) });
expect(h.set).toHaveBeenCalledTimes(1);
});
- it('opening from the task home keeps the task mode, and the section layout survives later selections', async () => {
+ it('keeps the section fold when a teammate is opened from it', async () => {
await render(); await act(async () => result.setTeammatesCollapsed(true));
- await act(async () => result.openTeammate(teammate, { keepMode: true }));
+ await act(async () => result.openTeammate(teammate));
expect(h.push).toHaveBeenCalledTimes(1);
- expect(result.mode).toBe('tasks'); // Back from the chat must land on the tasks, not the teammate home.
expect(await readHomeNavigationPreferences(result.owner)).toEqual({ teammatesCollapsed: true, lastTeammate: teammateIdentity(teammate) });
- await act(async () => result.openTeammate(teammate));
- expect(await readHomeNavigationPreferences(result.owner)).toEqual({
- mode: 'teammates', teammatesCollapsed: true, lastTeammate: teammateIdentity(teammate),
- });
});
it('opens a creation receipt through the canonical resolver with one atomic preference update', async () => {
await render(); await act(async () => result.openCreatedTeammate(teammate.host, teammate.item.ref));
expect(h.push).toHaveBeenCalledExactlyOnceWith({ pathname: '/resources/[collectionId]/[resourceId]', params: {
collectionId: 'teammates', resourceId: 'writer', resourceKind: 'bot', deviceId: 'mac', deviceName: 'My Mac',
} });
- expect(result.mode).toBe('teammates'); expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
+ expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
expect(h.set).toHaveBeenCalledTimes(1);
});
it('ignores a stale creation callback after switching accounts', async () => {
@@ -95,7 +87,7 @@ describe('header/home shared navigation', () => {
expect(h.push).toHaveBeenCalledTimes(1);
h.accountGeneration += 1; h.user = { ...h.user, membershipKind: 'org', orgId: 'different-org' };
await render();
- expect(result.owner).not.toBe(previousOwner); expect(result.lastTeammate).toBeNull(); expect(result.mode).toBe('tasks');
+ expect(result.owner).not.toBe(previousOwner); expect(result.lastTeammate).toBeNull();
await act(async () => { finish(); await selection; });
expect(h.push).toHaveBeenCalledTimes(1);
expect(result.lastTeammate).toBeNull();
@@ -111,25 +103,25 @@ describe('header/home shared navigation', () => {
await act(async () => { finish(null); await selection; });
expect(h.push).not.toHaveBeenCalled(); expect(result.lastTeammate).toBeNull();
});
- it('hydrates a prior identity before applying an explicit mode chosen during the read', async () => {
+ it('hydrates a prior identity before applying a fold chosen during the read', async () => {
let finish!: (raw: string) => void;
h.get.mockImplementationOnce(() => new Promise<string>((resolve) => { finish = resolve; }));
await render();
let change!: Promise<void>;
- await act(async () => { change = result.setMode('teammates'); });
+ await act(async () => { change = result.setTeammatesCollapsed(true); });
expect(result.hydrated).toBe(false);
- await act(async () => { finish(JSON.stringify({ mode: 'tasks', lastTeammate: teammateIdentity(teammate) })); await change; });
- expect(result.mode).toBe('teammates'); expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
+ await act(async () => { finish(JSON.stringify({ teammatesCollapsed: false, lastTeammate: teammateIdentity(teammate) })); await change; });
+ expect(result.teammatesCollapsed).toBe(true); expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
});
- it('does not let a hung preference read blank home forever or a late mode hijack the fallback task list', async () => {
+ it('does not let a hung preference read blank home forever, then fills in the late values', async () => {
vi.useFakeTimers();
let finish!: (raw: string) => void;
h.get.mockImplementationOnce(() => new Promise<string>((resolve) => { finish = resolve; }));
await render(); expect(result.hydrated).toBe(false);
await act(async () => vi.advanceTimersByTimeAsync(2000));
- expect(result.hydrated).toBe(true); expect(result.mode).toBe('tasks');
- await act(async () => finish(JSON.stringify({ mode: 'teammates', lastTeammate: teammateIdentity(teammate) })));
- expect(result.mode).toBe('tasks'); expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
+ expect(result.hydrated).toBe(true); expect(result.teammatesCollapsed).toBe(false);
+ await act(async () => finish(JSON.stringify({ teammatesCollapsed: true, lastTeammate: teammateIdentity(teammate) })));
+ expect(result.teammatesCollapsed).toBe(true); expect(result.lastTeammate).toEqual(teammateIdentity(teammate));
expect(h.set).not.toHaveBeenCalled(); expect(h.push).not.toHaveBeenCalled();
});
it('fences rapid selections before asynchronous storage so the remembered identity matches the opened route', async () => {
@@ -138,10 +130,10 @@ describe('header/home shared navigation', () => {
await act(async () => Promise.all([result.openTeammate(teammate), result.openTeammate(second)]));
expect(h.push).toHaveBeenCalledTimes(1); expect(result.lastTeammate?.resourceId).toBe('writer');
});
- it('surfaces persistence failure without clearing the current chat or claiming the choice was saved', async () => {
+ it('keeps the chosen fold for this run when it cannot be saved', async () => {
await render(); h.set.mockRejectedValueOnce(new Error('storage full'));
- await act(async () => result.setMode('teammates'));
- expect(result.saveFailed).toBe(true); expect(h.push).not.toHaveBeenCalled();
+ await act(async () => result.setTeammatesCollapsed(true));
+ expect(result.teammatesCollapsed).toBe(true); expect(h.push).not.toHaveBeenCalled();
});
});
@@ -151,12 +143,12 @@ it.each([
])('returns to the mounted list at $href instead of replacing the chat with a new home', async ({ routes, href }) => {
h.routes = routes;
await render();
- await act(async () => result.chooseMode('teammates'));
+ await act(async () => result.returnHome());
expect(h.dismiss).toHaveBeenCalledExactlyOnceWith(1);
expect(h.dismissTo).not.toHaveBeenCalled();
expect(h.reset).not.toHaveBeenCalled();
});
-it.each(['tasks', 'teammates'] as const)('removes the retired stack before returning to %s', async mode => {
+it('removes the retired teammate list from the stack before returning home', async () => {
const router = StackRouter({ initialRouteName: 'resources/[collectionId]' });
const options = { routeNames: ['resources/[collectionId]', 'sessions/[sessionId]', 'devices/index'],
routeParamList: { 'resources/[collectionId]': { collectionId: 'teammates' } }, routeGetIdList: {}, routeKeyChanges: [] };
@@ -165,7 +157,7 @@ it.each(['tasks', 'teammates'] as const)('removes the retired stack before retur
h.routes = state.routes;
h.reset.mockImplementationOnce(next => { state = router.getRehydratedState({ ...next, stale: true }, options) as typeof state; });
await render();
- await act(async () => result.chooseMode(mode));
+ await act(async () => result.returnHome());
expect(h.dismiss).not.toHaveBeenCalled();
expect(h.dismissTo).not.toHaveBeenCalled();
expect(state.routes.map(route => route.name)).toEqual(['devices/index']);
@@ -180,7 +172,7 @@ it('preserves earlier unrelated routes when removing multiple retired entries',
{ name: 'sessions/[sessionId]' },
];
await render();
- await act(async () => result.chooseMode('tasks'));
+ await act(async () => result.returnHome());
expect(h.reset).toHaveBeenCalledExactlyOnceWith({ index: 1, routes: [prior, { name: 'devices/index' }] });
expect(h.dismissTo).not.toHaveBeenCalled();
});
diff --git a/apps/mobile/src/i18n/locales/en/devices.json b/apps/mobile/src/i18n/locales/en/devices.json
index 71fa7de39b..434b848cce 100644
--- a/apps/mobile/src/i18n/locales/en/devices.json
+++ b/apps/mobile/src/i18n/locales/en/devices.json
@@ -594,8 +594,6 @@
"showLess": "Show less"
},
"noCreateHosts": "No compatible computer is available. Open Cindy on a computer and sign in with the same account to create a teammate.",
- "taskAttentionCount": "Tasks needing attention: {{count}}",
- "unreadChatCount": "Unread chats: {{count}}",
"messageSent": "Message sent to background task",
"sentTo": "Sent a message to {{name}}",
"receivedFrom": "Message from {{name}}",
@@ -634,19 +632,13 @@
"unknown": "Unknown status"
},
"title": "Teammates",
- "tasks": "Sessions",
"search": "Search Teammates",
- "emptyTitle": "No Teammates Yet",
- "emptyCopy": "Create a teammate in Cindy on your computer.",
- "noResults": "No Matching Teammates",
"startChat": "Start the conversation",
- "preferenceSaveFailed": "Couldn’t save your view preference. Try switching views again.",
"automation": {
"unsavedTitle": "Discard Changes?",
"unsavedBody": "Your changes haven’t been saved.",
"discard": "Discard Changes"
},
- "openNavigation": "Open navigation",
"openProfile": "View {{name}}'s profile",
"switchCompanion": "Switch teammate",
"activity": {
@@ -693,9 +685,7 @@
"errorDetails": "Error details",
"createTeammate": "New teammate",
"createMenu": "New",
- "searchWithGroups": "Search teammates and groups",
"awaiting": "Needs your OK",
- "emptyCopyCreate": "Teammates remember what you talked about and can get things done on your computer.",
"taskResult": "Task result",
"collapseResult": "Hide result"
},
diff --git a/apps/mobile/src/i18n/locales/ja/devices.json b/apps/mobile/src/i18n/locales/ja/devices.json
index 9bbd1d0fcc..15349e644e 100644
--- a/apps/mobile/src/i18n/locales/ja/devices.json
+++ b/apps/mobile/src/i18n/locales/ja/devices.json
@@ -594,8 +594,6 @@
"showLess": "閉じる"
},
"noCreateHosts": "対応するコンピュータを利用できません。パソコンで Cindy を開き、同じアカウントでログインするとチームメイトを新規作成できます。",
- "taskAttentionCount": "確認が必要なタスク:{{count}}",
- "unreadChatCount": "未読のチャット:{{count}}",
"messageSent": "バックグラウンドタスクにメッセージを送信しました",
"sentTo": "{{name}} にメッセージを送信",
"receivedFrom": "{{name}} からのメッセージ",
@@ -634,19 +632,13 @@
"unknown": "状態不明"
},
"title": "チームメイト",
- "tasks": "セッション",
"search": "チームメイトを検索",
- "emptyTitle": "チームメイトはまだいません",
- "emptyCopy": "パソコンの Cindy でチームメイトを作成してください。",
- "noResults": "一致するチームメイトがいません",
"startChat": "会話を始める",
- "preferenceSaveFailed": "表示設定を保存できませんでした。もう一度表示を切り替えてください。",
"automation": {
"unsavedTitle": "変更を破棄しますか?",
"unsavedBody": "変更はまだ保存されていません。",
"discard": "変更を破棄"
},
- "openNavigation": "ナビゲーションを開く",
"openProfile": "{{name}}のプロフィールを表示",
"switchCompanion": "チームメイトを切り替える",
"activity": {
@@ -693,9 +685,7 @@
"errorDetails": "エラー詳細",
"createTeammate": "新しい仲間",
"createMenu": "新規作成",
- "searchWithGroups": "仲間とグループを検索",
"awaiting": "確認待ち",
- "emptyCopyCreate": "仲間は話した内容を覚えていて、パソコンで作業も手伝えます。",
"taskResult": "タスクの結果",
"collapseResult": "結果を閉じる"
},
diff --git a/apps/mobile/src/i18n/locales/ko/devices.json b/apps/mobile/src/i18n/locales/ko/devices.json
index 6c45a98d6e..34071ad509 100644
--- a/apps/mobile/src/i18n/locales/ko/devices.json
+++ b/apps/mobile/src/i18n/locales/ko/devices.json
@@ -594,8 +594,6 @@
"showLess": "접기"
},
"noCreateHosts": "사용 가능한 호환 컴퓨터가 없습니다. 컴퓨터에서 Cindy를 열고 같은 계정으로 로그인하면 팀원을 새로 만들 수 있습니다.",
- "taskAttentionCount": "확인이 필요한 작업: {{count}}",
- "unreadChatCount": "읽지 않은 채팅: {{count}}",
"messageSent": "백그라운드 작업에 메시지를 보냈습니다",
"sentTo": "{{name}}에게 메시지를 보냄",
"receivedFrom": "{{name}}의 메시지",
@@ -634,19 +632,13 @@
"unknown": "알 수 없는 상태"
},
"title": "팀원",
- "tasks": "세션",
"search": "팀원 검색",
- "emptyTitle": "아직 팀원이 없습니다",
- "emptyCopy": "컴퓨터의 Cindy에서 팀원을 만드세요.",
- "noResults": "일치하는 팀원이 없습니다",
"startChat": "대화 시작하기",
- "preferenceSaveFailed": "보기 설정을 저장하지 못했습니다. 보기를 다시 전환하세요.",
"automation": {
"unsavedTitle": "변경 사항을 버릴까요?",
"unsavedBody": "변경 사항이 아직 저장되지 않았습니다.",
"discard": "변경 사항 버리기"
},
- "openNavigation": "탐색 메뉴 열기",
"openProfile": "{{name}} 프로필 보기",
"switchCompanion": "팀원 전환",
"activity": {
@@ -693,9 +685,7 @@
"errorDetails": "오류 정보",
"createTeammate": "새 동료",
"createMenu": "새로 만들기",
- "searchWithGroups": "동료와 그룹 검색",
"awaiting": "확인 필요",
- "emptyCopyCreate": "동료는 나눈 이야기를 기억하고 컴퓨터에서 일도 도와줘요.",
"taskResult": "작업 결과",
"collapseResult": "결과 접기"
},
diff --git a/apps/mobile/src/i18n/locales/zh-CN/devices.json b/apps/mobile/src/i18n/locales/zh-CN/devices.json
index f2b4e48342..f11d250e46 100644
--- a/apps/mobile/src/i18n/locales/zh-CN/devices.json
+++ b/apps/mobile/src/i18n/locales/zh-CN/devices.json
@@ -594,8 +594,6 @@
"showLess": "收起"
},
"noCreateHosts": "当前没有可用的兼容电脑。在电脑上打开 Cindy 并登录同一账号后即可新建伙伴。",
- "taskAttentionCount": "{{count}} 个任务待关注",
- "unreadChatCount": "{{count}} 段对话未读",
"messageSent": "已向后台任务发送消息",
"sentTo": "已发消息给 {{name}}",
"receivedFrom": "消息来自 {{name}}",
@@ -634,19 +632,13 @@
"unknown": "状态未知"
},
"title": "伙伴",
- "tasks": "任务",
"search": "搜索伙伴",
- "emptyTitle": "还没有伙伴",
- "emptyCopy": "在电脑上的 Cindy 中创建一个伙伴。",
- "noResults": "没有找到匹配的伙伴",
"startChat": "开始对话",
- "preferenceSaveFailed": "未能保存视图偏好,请重新切换视图。",
"automation": {
"unsavedTitle": "放弃更改?",
"unsavedBody": "你的更改尚未保存。",
"discard": "放弃更改"
},
- "openNavigation": "打开导航",
"openProfile": "查看 {{name}} 的资料",
"switchCompanion": "切换伙伴",
"activity": {
@@ -693,9 +685,7 @@
"errorDetails": "错误详情",
"createTeammate": "新建伙伴",
"createMenu": "新建",
- "searchWithGroups": "搜索伙伴和群聊",
"awaiting": "等你确认",
- "emptyCopyCreate": "伙伴会记得你们聊过的事,也能帮你在电脑上做事。",
"taskResult": "任务结果",
"collapseResult": "收起结果"
},
diff --git a/apps/mobile/src/i18n/locales/zh-TW/devices.json b/apps/mobile/src/i18n/locales/zh-TW/devices.json
index eccd65cd3c..b881a8bb3d 100644
--- a/apps/mobile/src/i18n/locales/zh-TW/devices.json
+++ b/apps/mobile/src/i18n/locales/zh-TW/devices.json
@@ -594,8 +594,6 @@
"showLess": "收起"
},
"noCreateHosts": "目前沒有可用的相容電腦。在電腦上開啟 Cindy 並登入同一帳號後即可新建夥伴。",
- "taskAttentionCount": "{{count}} 個任務待關注",
- "unreadChatCount": "{{count}} 段對話未讀",
"messageSent": "已向背景任務傳送訊息",
"sentTo": "已傳訊息給 {{name}}",
"receivedFrom": "訊息來自 {{name}}",
@@ -634,19 +632,13 @@
"unknown": "狀態未知"
},
"title": "夥伴",
- "tasks": "任務",
"search": "搜尋夥伴",
- "emptyTitle": "還沒有夥伴",
- "emptyCopy": "在電腦上的 Cindy 中建立一個夥伴。",
- "noResults": "沒有找到符合的夥伴",
"startChat": "開始對話",
- "preferenceSaveFailed": "未能儲存檢視偏好,請重新切換檢視。",
"automation": {
"unsavedTitle": "放棄變更?",
"unsavedBody": "你的變更尚未儲存。",
"discard": "放棄變更"
},
- "openNavigation": "開啟導覽",
"openProfile": "查看 {{name}} 的資料",
"switchCompanion": "切換夥伴",
"activity": {
@@ -693,9 +685,7 @@
"errorDetails": "錯誤詳情",
"createTeammate": "新增夥伴",
"createMenu": "新增",
- "searchWithGroups": "搜尋夥伴和群聊",
"awaiting": "等你確認",
- "emptyCopyCreate": "夥伴會記得你們聊過的事,也能幫你在電腦上做事。",
"taskResult": "任務結果",
"collapseResult": "收起結果"
},
diff --git a/apps/mobile/src/platform/chrome/HomeStackHeader.tsx b/apps/mobile/src/platform/chrome/HomeStackHeader.tsx
index 364cec2ee3..f94d8d23cd 100644
--- a/apps/mobile/src/platform/chrome/HomeStackHeader.tsx
+++ b/apps/mobile/src/platform/chrome/HomeStackHeader.tsx
@@ -4,7 +4,7 @@ import { Stack } from 'expo-router';
import { HomeHeaderGlassButton } from '@/session/HomeHeaderGlassButton';
import { useTheme } from '@/theme';
import { navigationChrome, spacing } from '@/theme/tokens';
-import { homeMenuArtworkSize, homeMenuAttentionIcon, homeMenuIcon } from './homeMenuIcon';
+import { homeMenuArtworkSize, homeMenuIcon } from './homeMenuIcon';
/**
* Widest title view UIKit keeps centered on the bar: mirrored side margins sized for the
@@ -18,7 +18,7 @@ export function centeredHomeTitleWidth(barWidth: number, trailingItems: number):
/**
* Shared iOS home chrome. Callers own title content and business actions, not bar geometry.
- * The bar's blur is drawn once by HomeModePanes, outside the sliding panes.
+ * The bar's blur is drawn once by the home route, behind the bar.
*/
export const HomeStackHeader = memo(function HomeStackHeader({
title,
@@ -26,7 +26,6 @@ export const HomeStackHeader = memo(function HomeStackHeader({
menuTestID,
onOpenMenu,
keepMenuTopLeft = false,
- attention = false,
children,
}: {
title: ReactNode;
@@ -34,12 +33,10 @@ export const HomeStackHeader = memo(function HomeStackHeader({
menuTestID: string;
onOpenMenu(): void;
keepMenuTopLeft?: boolean;
- attention?: boolean;
/** Route-owned native toolbars; keep items inside their Stack.Toolbar container. */
children?: ReactNode;
}) {
const { colors } = useTheme();
- const artwork = attention ? homeMenuAttentionIcon : homeMenuIcon;
return <>
<Stack.Screen options={{
headerBackVisible: false, headerShadowVisible: false, headerShown: true,
@@ -53,12 +50,12 @@ export const HomeStackHeader = memo(function HomeStackHeader({
<Stack.Toolbar.View hidesSharedBackground>
<View style={styles.menu}>
<HomeHeaderGlassButton accessibilityLabel={menuA11y} onPress={onOpenMenu} testID={menuTestID} artworkSize={homeMenuArtworkSize}>
- <Image source={artwork} tintColor={colors.textPrimary} style={styles.artwork} />
+ <Image source={homeMenuIcon} tintColor={colors.textPrimary} style={styles.artwork} />
</HomeHeaderGlassButton>
</View>
</Stack.Toolbar.View>
) : (
- <Stack.Toolbar.Button icon={artwork} iconRenderingMode="template" accessibilityLabel={menuA11y} onPress={onOpenMenu} />
+ <Stack.Toolbar.Button icon={homeMenuIcon} iconRenderingMode="template" accessibilityLabel={menuA11y} onPress={onOpenMenu} />
)}
</Stack.Toolbar>
{children}
diff --git a/apps/mobile/src/platform/chrome/homeMenuIcon.ts b/apps/mobile/src/platform/chrome/homeMenuIcon.ts
index 604f30b2cc..89698a28c4 100644
--- a/apps/mobile/src/platform/chrome/homeMenuIcon.ts
+++ b/apps/mobile/src/platform/chrome/homeMenuIcon.ts
@@ -1,6 +1,3 @@
-/** Same narrow 20pt glyph centered in a 26pt transparent canvas in both states. */
+/** The narrow 20pt glyph centered in a 26pt transparent canvas. */
export const homeMenuArtworkSize = 26;
-/** Visible dot diameter, not a text-badge container. */
-export const homeMenuAttentionSize = 6;
export const homeMenuIcon = require('../../../assets/navigation/menu.png');
-export const homeMenuAttentionIcon = require('../../../assets/navigation/menu-attention.png');
diff --git a/apps/mobile/src/session/BotGroupList.tsx b/apps/mobile/src/session/BotGroupList.tsx
index e0a723e8ef..1be819a5d5 100644
--- a/apps/mobile/src/session/BotGroupList.tsx
+++ b/apps/mobile/src/session/BotGroupList.tsx
@@ -1,8 +1,8 @@
/**
- * 伙伴页里的群聊行(对照桌面 BotGroupSidebarSection.tsx):与伙伴行同一个 CompanionListRow,
+ * 首页伙伴段里的群聊行(对照桌面 BotGroupSidebarSection.tsx):与伙伴行同一个 CompanionListRow,
* 按最近活动和伙伴混排。成员组合头像收在 44 框内;第二行是电脑给的预览(安排状态或最近一条消息,
* 已按语言给好,手机不改写);有伙伴正在说话、安排或做事时,时间位换成转圈、前面的头像呼吸。
- * 只在至少一台电脑支持群聊时出现(旧版桌面没有这个集合)。新建群聊在伙伴页顶栏的「+」菜单里。
+ * 只在至少一台电脑支持群聊时出现(旧版桌面没有这个集合)。新建群聊在伙伴段的「+」菜单里。
*/
import { useSyncExternalStore } from 'react';
import { View } from 'react-native';
diff --git a/apps/mobile/src/session/CloudCompanionScreen.tsx b/apps/mobile/src/session/CloudCompanionScreen.tsx
index 71021cf5f3..8497dc74c4 100644
--- a/apps/mobile/src/session/CloudCompanionScreen.tsx
+++ b/apps/mobile/src/session/CloudCompanionScreen.tsx
@@ -50,10 +50,8 @@ type Notice = 'noTargets' | 'devicesFailed' | null;
* 1:1 房间里的对话层,横幅「主力电脑「名字」离线」+「换一台电脑继续」。选中电脑后服务器改主力电脑,
* 那台电脑自动接手;手机等它在伙伴列表里出现后,像普通点按一样打开那台电脑上的伙伴。
*/
-export function CloudCompanionScreen({ actorId, botId, deviceId, deviceName, title, keepMode = false }: {
+export function CloudCompanionScreen({ actorId, botId, deviceId, deviceName, title }: {
actorId: string; botId: string; deviceId: string; deviceName: string; title: string;
- /** Opened from the task home's teammate section: the conversation that takes over keeps the task mode. */
- keepMode?: boolean;
}) {
const { t } = useTranslation();
const { colors } = useTheme();
@@ -134,9 +132,9 @@ export function CloudCompanionScreen({ actorId, botId, deviceId, deviceName, tit
if (arrived) {
switchingRef.current = { phase: 'idle' };
setSwitching(switchingRef.current);
- void openTeammate.current(arrived, { replace: true, keepMode });
+ void openTeammate.current(arrived, { replace: true });
} else if (state !== switchingRef.current) setSwitching(state);
- }, [botId, keepMode]);
+ }, [botId]);
// Every roster change may be the arrival; the interval re-reads the roster and enforces the timeout.
useEffect(() => { if (waiting) tick(); });
useEffect(() => {
diff --git a/apps/mobile/src/session/CompanionHeader.tsx b/apps/mobile/src/session/CompanionHeader.tsx
index 3ad54a53bb..7e1123cb6c 100644
--- a/apps/mobile/src/session/CompanionHeader.tsx
+++ b/apps/mobile/src/session/CompanionHeader.tsx
@@ -97,12 +97,12 @@ function CompanionHeaderContent({ resource, deviceId, deviceName, online, contro
onSwitchHome={() => setHomeSheet(true)} />
<CompanionProfileSheet initialPage={initialPage} visible={profile} onClose={() => setProfile(false)} onClosed={() => { const action = pending.current; pending.current = null; action?.(); }}
resource={resource} collectionId={resource.ref.collectionId} deviceId={deviceId} deviceName={deviceName} online={online}
- onDeleted={() => void navigation.chooseMode('teammates')}
+ onDeleted={() => navigation.returnHome()}
onOpenSearch={() => afterProfile(onSearch)}
{...(homed && online ? { onOpenHome: () => afterProfile(() => setHomeSheet(true)) } : {})} />
{homed ? <CloudHomeSwitchSheet visible={homeSheet} onClose={() => setHomeSheet(false)} botId={resource.ref.id} name={name}
homeDeviceId={deviceId} homeName={deviceName}
- onMoved={() => { setHomeSheet(false); void navigation.chooseMode('teammates'); }} /> : null}
+ onMoved={() => { setHomeSheet(false); navigation.returnHome(); }} /> : null}
</>;
}
diff --git a/apps/mobile/src/session/CompanionListRow.tsx b/apps/mobile/src/session/CompanionListRow.tsx
index 1d0406cb6c..6f076d89d0 100644
--- a/apps/mobile/src/session/CompanionListRow.tsx
+++ b/apps/mobile/src/session/CompanionListRow.tsx
@@ -1,5 +1,5 @@
/**
- * 伙伴页的一行(伙伴与群聊共用,对齐任务行的几何):固定 78 高;44 头像距左 16,文字列从 72 开始,
+ * 首页伙伴段的一行(伙伴与群聊共用,对齐任务行的几何):固定 78 高;44 头像距左 16,文字列从 72 开始,
* 右内边距 16;分割线画在文字列底边,从 72 一直到屏幕右缘,最后一行不画。
*
* 第一行:名字(18/28 500)+ 同名时的「· 电脑名」+ 右侧时间位。时间位只放一样东西:时间,或工作中
diff --git a/apps/mobile/src/session/HomeChromeDrawer.tsx b/apps/mobile/src/session/HomeChromeDrawer.tsx
index a23f9a9249..917a6274b4 100644
--- a/apps/mobile/src/session/HomeChromeDrawer.tsx
+++ b/apps/mobile/src/session/HomeChromeDrawer.tsx
@@ -61,8 +61,6 @@ import {
import { PluginMenuUnreadDot } from '@/plugins/PluginMenuUnreadDot';
import { confirmLogout } from './confirmLogout';
-import { HomeModeSwitch } from './HomeModeSwitch';
-import type { HomeMode } from './homeViewPreferenceStore';
const DRAWER_CLOSE_DISTANCE_RATIO = 1 / 3;
const DRAWER_CLOSE_VELOCITY = -800;
@@ -81,8 +79,6 @@ export function HomeChromeDrawer({
onLogout,
hasRunningTasks = false,
loggingOut = false,
- mode = 'tasks',
- onModeChange,
open,
user,
}: {
@@ -100,8 +96,6 @@ export function HomeChromeDrawer({
/** 退出确认文案用:有运行中任务时额外说明任务会继续在电脑上运行。 */
hasRunningTasks?: boolean;
loggingOut?: boolean;
- mode?: HomeMode;
- onModeChange?(mode: HomeMode): void;
open: boolean;
user: {
avatar: string | null;
@@ -334,7 +328,6 @@ export function HomeChromeDrawer({
</View>
<View style={styles.divider} />
- {onModeChange ? <HomeModeSwitch mode={mode} onModeChange={onModeChange} /> : null}
<Pressable
accessibilityLabel={t("devices.list.a11y.openSearch")}
diff --git a/apps/mobile/src/session/HomeEntryProvider.tsx b/apps/mobile/src/session/HomeEntryProvider.tsx
deleted file mode 100644
index 6eeeea01fc..0000000000
--- a/apps/mobile/src/session/HomeEntryProvider.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { createContext, useContext, useEffect, useRef, useState, useSyncExternalStore, type ReactNode } from 'react';
-import { useGlobalSearchParams, usePathname } from 'expo-router';
-import { useAuth } from '@/auth/AuthContext';
-import { getMobileAuthOwner, isMobileAuthOwnerCurrent, subscribeMobileAuthOwner } from '@/auth/authOwnerGeneration';
-import { homeEntryForRoute, readHomeEntry, saveHomeEntry, type CompanionListHref } from './homeEntryPreference';
-import { readHomeNavigationPreferences, type HomeNavigationPreferences } from './homeViewPreferenceStore';
-import { startBoundedStartupRead } from './mobileHomeStartup';
-import { homeNavigationOwner } from './useHomeMode';
-
-const HomeEntryContext = createContext<{ ready: boolean; href: CompanionListHref | null }>({ ready: false, href: null });
-export const useHomeEntry = () => useContext(HomeEntryContext);
-
-/** Hydrate before home mounts. A later navigation or owner change cancels restoration. */
-export function HomeEntryProvider({ children }: { children: ReactNode }) {
- const auth = useAuth();
- const owner = useSyncExternalStore(subscribeMobileAuthOwner, getMobileAuthOwner);
- const pathname = usePathname();
- const params = useGlobalSearchParams<{ resourceKind?: string }>();
- const resourceKind = Array.isArray(params.resourceKind) ? params.resourceKind[0] : params.resourceKind;
- const routeKey = JSON.stringify([pathname, resourceKind]);
- const route = useRef({ key: routeKey, pathname });
- if (route.current.key !== routeKey) route.current = { key: routeKey, pathname };
- const [snapshot, setSnapshot] = useState<{ owner: typeof owner; href: CompanionListHref | null } | null>(null);
- const previousOwner = useRef(owner);
- const ignoredRoute = useRef<string | null>(null);
- if (previousOwner.current !== owner) {
- // Account switches can leave a screen from the old navigation stack visible.
- // Never record that inherited screen as the new account's preference.
- if (previousOwner.current.accountKey || previousOwner.current.switching) ignoredRoute.current = routeKey;
- previousOwner.current = owner;
- }
- const ready = auth.initialized && (!auth.isAuthenticated || snapshot?.owner === owner);
- const href = snapshot?.owner === owner ? snapshot.href : null;
-
- useEffect(() => {
- if (!auth.initialized || !auth.isAuthenticated || !owner.accountKey) return;
- let cancelled = false;
- const initialRoute = route.current;
- void Promise.all([
- readHomeEntry(owner.accountKey, owner.accountId),
- // Same 2s bound as useHomeMode's read of this preference: a stalled read must not hold the splash.
- startBoundedStartupRead<HomeNavigationPreferences>(readHomeNavigationPreferences(homeNavigationOwner(auth.user)), {})
- .initial.then((read) => read.value),
- ]).then(([destination, navigation]) => {
- if (cancelled || !isMobileAuthOwnerCurrent(owner)) return;
- // In teammate mode the home already is the teammate list: restoring the older collection route
- // would stack a second list on top, whose Back then runs into the home's last-teammate restore.
- const restored = navigation.mode === 'teammates' ? null : destination;
- setSnapshot({ owner, href: initialRoute.pathname === '/' && route.current === initialRoute ? restored : null });
- });
- return () => { cancelled = true; };
- // Route changes deliberately do not restart hydration: explicit navigation wins.
- }, [auth.initialized, auth.isAuthenticated, owner]);
-
- useEffect(() => {
- if (!ready || !auth.isAuthenticated || !isMobileAuthOwnerCurrent(owner)) return;
- if (ignoredRoute.current === routeKey) return;
- ignoredRoute.current = null;
- // The root awaiting its redirect must not overwrite the stored choice with tasks.
- if (pathname === '/' && href) return;
- if (href) setSnapshot({ owner, href: null });
- const entry = homeEntryForRoute(pathname, resourceKind);
- if (entry) void saveHomeEntry(owner.accountKey, entry);
- }, [auth.isAuthenticated, href, owner, pathname, ready, resourceKind, routeKey]);
-
- return <HomeEntryContext.Provider value={{ ready, href }}>{children}</HomeEntryContext.Provider>;
-}
-
-/** Keep the shared startup overlay until the restored destination is committed. */
-export function useHomeEntrySplashRelease(releaseSplash: () => void): void {
- const auth = useAuth();
- const entry = useHomeEntry();
- useEffect(() => {
- if (auth.initialized && entry.ready && !entry.href) releaseSplash();
- }, [auth.initialized, entry.ready, entry.href, releaseSplash]);
-}
diff --git a/apps/mobile/src/session/HomeModePanes.tsx b/apps/mobile/src/session/HomeModePanes.tsx
deleted file mode 100644
index e952467c75..0000000000
--- a/apps/mobile/src/session/HomeModePanes.tsx
+++ /dev/null
@@ -1,42 +0,0 @@
-import { useState, type ReactNode } from 'react';
-import { StyleSheet, View } from 'react-native';
-import Animated, { useAnimatedStyle, type SharedValue } from 'react-native-reanimated';
-import { useAdaptiveWindow } from '@/platform/AdaptiveWindowContext';
-import { SessionHeaderNativeBlur } from '@/session/SessionHeaderNativeControls';
-import { useOptionalHeaderHeight } from '@/session/useOptionalHeaderHeight';
-import { homeModeIndex, useHomeModeSlide } from './HomeModeTransition';
-import type { HomeMode } from './homeViewPreferenceStore';
-
-/** Keep visited panes alive: search, expansion and scroll belong to each tab. */
-export function HomeModePanes({ mode, tasks, teammates }: { mode: HomeMode; tasks: ReactNode; teammates: ReactNode }) {
- const progress = useHomeModeSlide();
- // Same distance as the wide resident list, so both layers stay adjacent mid-slide.
- const { width } = useAdaptiveWindow();
- const headerHeight = useOptionalHeaderHeight();
- const [visited, setVisited] = useState({ tasks: true, teammates: mode === 'teammates' });
- if (!visited[mode]) setVisited({ ...visited, [mode]: true });
- return <View style={styles.viewport}>
- {(['tasks', 'teammates'] as const).map(pane => visited[pane] || mode === pane ?
- <HomePane key={pane} pane={pane} active={mode === pane} width={width} progress={progress}>
- {pane === 'tasks' ? tasks : teammates}
- </HomePane> : null)}
- {/* The native bar does not slide, so neither does its blur. */}
- <SessionHeaderNativeBlur height={headerHeight} />
- </View>;
-}
-
-function HomePane({ pane, active, width, progress, children }: {
- pane: HomeMode; active: boolean; width: number; progress: SharedValue<number>; children: ReactNode;
-}) {
- const index = homeModeIndex(pane);
- const slide = useAnimatedStyle(() => ({ transform: [{ translateX: (index - progress.value) * width }] }));
- return <Animated.View testID={'home.pane.' + pane} style={[StyleSheet.absoluteFill, slide]}
- pointerEvents={active ? 'auto' : 'none'} accessibilityElementsHidden={!active}
- importantForAccessibility={active ? 'auto' : 'no-hide-descendants'}>
- {children}
- </Animated.View>;
-}
-
-const styles = StyleSheet.create({
- viewport: { flex: 1, overflow: 'hidden' },
-});
diff --git a/apps/mobile/src/session/HomeModeSwitch.tsx b/apps/mobile/src/session/HomeModeSwitch.tsx
deleted file mode 100644
index 60605f6a26..0000000000
--- a/apps/mobile/src/session/HomeModeSwitch.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { StyleSheet, View } from 'react-native';
-import { useTranslation } from 'react-i18next';
-import { MainWindowOptionButton } from '@/components/MobilePrimitives';
-import { useThemedStyles, type ThemeColors } from '@/theme';
-import { radius, spacing } from '@/theme/tokens';
-import { useHomeUnreadCounts } from './HomeUnreadContext';
-import type { HomeMode } from './homeViewPreferenceStore';
-
-export function HomeModeSwitch({ mode, onModeChange }: { mode: HomeMode; onModeChange(mode: HomeMode): void }) {
- const { t } = useTranslation();
- const styles = useThemedStyles(makeStyles);
- const counts = useHomeUnreadCounts();
- // Match the existing Desktop teammate badge cap; accessibility keeps the full count.
- return (
- <View style={styles.switch} testID="home.modeSwitch">
- {(['tasks', 'teammates'] as const).map((value) => (
- <MainWindowOptionButton key={value} accessibilityRole="tab" density="default" variant="segmented"
- label={t(value === 'tasks' ? 'devices.companions.tasks' : 'devices.companions.title')}
- badge={counts[value] > 0 ? (counts[value] > 99 ? '99+' : String(counts[value])) : undefined}
- accessibilityLabel={`${t(value === 'tasks' ? 'devices.companions.tasks' : 'devices.companions.title')}${counts[value] > 0 ? `, ${t(value === 'tasks' ? 'devices.companions.taskAttentionCount' : 'devices.companions.unreadChatCount', { count: counts[value] })}` : ''}`}
- onPress={() => onModeChange(value)} selected={value === mode} style={styles.option}
- testID={`home.mode.${value}`} />
- ))}
- </View>
- );
-}
-const makeStyles = (colors: ThemeColors) => StyleSheet.create({
- switch: { flexDirection: 'row', backgroundColor: colors.surfaceChip, borderRadius: radius.pill, margin: spacing.lg, padding: spacing.xs },
- option: { flex: 1, minHeight: 44 },
-});
diff --git a/apps/mobile/src/session/HomeModeTransition.ts b/apps/mobile/src/session/HomeModeTransition.ts
deleted file mode 100644
index 890dabbdd9..0000000000
--- a/apps/mobile/src/session/HomeModeTransition.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import { createContext, useContext, useEffect, useLayoutEffect, useRef } from 'react';
-import { cancelAnimation, useSharedValue, withSpring, type SharedValue } from 'react-native-reanimated';
-import { useReduceMotionEnabled } from '@/hooks/useReduceMotion';
-import type { HomeMode } from './homeViewPreferenceStore';
-
-/**
- * Critically damped (~0.35s response), clamped: no visible bounce. A spring rather than
- * a duration tier, so a reversal mid-slide starts moving at once and a short remaining
- * distance settles quickly instead of replaying a full ease-in-out (DESIGN.md §14.4).
- */
-export const HOME_MODE_SLIDE_SPRING = { mass: 1, stiffness: 320, damping: 36, overshootClamping: true } as const;
-
-/** One UI-thread clock, owned by ResidentHomeListProvider, for the panes and the wide resident list. */
-export const HomeModeProgressContext = createContext<SharedValue<number> | null>(null);
-export const homeModeIndex = (mode: HomeMode) => mode === 'tasks' ? 0 : 1;
-
-export function useHomeModeProgress(mode: HomeMode, animate: boolean, ready: boolean): SharedValue<number> {
- const progress = useSharedValue(homeModeIndex(mode));
- const reduceMotion = useReduceMotionEnabled();
- const wasReady = useRef(ready);
- useLayoutEffect(() => {
- const canAnimate = animate && ready && wasReady.current && reduceMotion === false;
- wasReady.current = ready;
- const target = homeModeIndex(mode);
- // Assign over a running slide (no cancel first) so the spring keeps its velocity.
- if (progress.value !== target) progress.value = canAnimate ? withSpring(target, HOME_MODE_SLIDE_SPRING) : target;
- }, [animate, mode, progress, ready, reduceMotion]);
- useEffect(() => () => cancelAnimation(progress), [progress]);
- return progress;
-}
-
-export function useHomeModeSlide(): SharedValue<number> {
- const progress = useContext(HomeModeProgressContext);
- if (!progress) throw new Error('useHomeModeSlide requires ResidentHomeListProvider');
- return progress;
-}
diff --git a/apps/mobile/src/session/HomeRosterContext.tsx b/apps/mobile/src/session/HomeRosterContext.tsx
new file mode 100644
index 0000000000..00c3c48091
--- /dev/null
+++ b/apps/mobile/src/session/HomeRosterContext.tsx
@@ -0,0 +1,25 @@
+import { createContext, useContext, type ReactNode } from 'react';
+import { useIsFocused } from 'expo-router';
+import { RemoteSessionStoreSubscriptionGate } from './remoteSessionStore';
+import { useTeammateRoster } from './useTeammateRoster';
+import { useBotGroupRoster } from './useBotGroupRoster';
+
+const RosterContext = createContext<{
+ roster: ReturnType<typeof useTeammateRoster>; groups: ReturnType<typeof useBotGroupRoster>;
+} | null>(null);
+
+/** One teammate and group-chat roster for the home, read while the home is in front. */
+export function HomeRosterProvider({ children }: { children: ReactNode }) {
+ const focused = useIsFocused();
+ return <RemoteSessionStoreSubscriptionGate enabled={focused}>
+ <HomeRosterContent>{children}</HomeRosterContent>
+ </RemoteSessionStoreSubscriptionGate>;
+}
+
+function HomeRosterContent({ children }: { children: ReactNode }) {
+ const focused = useIsFocused();
+ const roster = useTeammateRoster(focused);
+ const groups = useBotGroupRoster(roster.groupTargets, focused);
+ return <RosterContext.Provider value={{ roster, groups }}>{children}</RosterContext.Provider>;
+}
+export const useHomeRoster = () => useContext(RosterContext);
diff --git a/apps/mobile/src/session/HomeSurface.tsx b/apps/mobile/src/session/HomeSurface.tsx
index 6a576bf839..aa9f8e6042 100644
--- a/apps/mobile/src/session/HomeSurface.tsx
+++ b/apps/mobile/src/session/HomeSurface.tsx
@@ -1,7 +1,5 @@
-import { usePublishHomeScheduleUnread } from './HomeUnreadContext';
import { MountOnFirstOpen } from './MountOnFirstOpen';
import { getMobileAuthOwner, isMobileAuthOwnerCurrent } from '@/auth/authOwnerGeneration';
-import type { HomeMode } from './homeViewPreferenceStore';
import { TaskTagDots } from '@/session/TaskTags';
import { ResidentHomeList, useResidentHomeList } from './ResidentHomeList';
import { HomeNewTaskButton } from './HomeNewTaskButton';
@@ -24,7 +22,6 @@ import {
Alert,
Animated,
AppState,
- Keyboard,
Platform,
Modal,
type NativeScrollEvent,
@@ -83,7 +80,6 @@ import {
} from '@/components/MobilePrimitives';
import { RemoteAccessGuide } from '@/components/RemoteAccessGuide';
import { HomeChromeDrawer } from '@/session/HomeChromeDrawer';
-import { useHomeMode } from '@/session/useHomeMode';
import { TEAMMATE_COLLECTION_ID } from '@/session/useTeammateRoster';
import { AccountSwitcherSheet } from '@/session/AccountSwitcherSheet';
import { HomeChromeFrost } from '@/session/HomeChromeFrost';
@@ -108,6 +104,7 @@ import {
type HomeDisplayPatch,
buildHomeScopePullDownActions,
parseHomeScopePullDownAction,
+ homeScopeCollections,
openHomeRemoteCollection,
} from '@/session/homeChromeMenus';
import { useConversationSearchFilterMenu } from '@/session/useConversationSearchFilterMenu';
@@ -424,7 +421,6 @@ class HomeSyncScopeSupersededError extends Error {
export interface MobileHomeProps {
active?: boolean;
- onModeChange?(mode: HomeMode): void;
/** The same Home surface, constrained by its host rather than the screen width. */
width?: number;
currentSessionId?: string;
@@ -469,7 +465,7 @@ export function MobileHome(props: MobileHomeProps) {
</RemoteSessionStoreSubscriptionGate>;
}
-function HomeScreenContent({ active = true, onModeChange, width, newSessionInSystemBar = false, newSessionInHeader = false, onSelectSession, runNavigation, newSessionActionRef }: MobileHomeProps) {
+function HomeScreenContent({ active = true, width, newSessionInSystemBar = false, newSessionInHeader = false, onSelectSession, runNavigation, newSessionActionRef }: MobileHomeProps) {
const ownedSharedTasks = useSharedTasks();
const [sharedCollapsed, setSharedCollapsed] = useState(false);
// The retained page and its visible sidebar must never release each other's subscriptions.
@@ -481,7 +477,6 @@ function HomeScreenContent({ active = true, onModeChange, width, newSessionInSys
const activeHomeSession = useContext(ActiveHomeSession);
const rememberTask = rememberRecentTask;
const viewSession = getHomeViewSession();
- const homeNavigation = useHomeMode();
const [restoredView] = useState(() => viewSession.has('preferencesHydrated'));
const routeFocused = useIsFocused();
// The task mirror also feeds navigation while the teammate pane is visible.
@@ -727,11 +722,7 @@ function HomeScreenContent({ active = true, onModeChange, width, newSessionInSys
for (const deviceId of unresponsiveDevices) merged[deviceId] = 'failed';
return merged;
}, [rawDeviceConnectionStates, unresponsiveDevices]);
- const publishScheduleUnread = usePublishHomeScheduleUnread();
const [scheduleIndex, setScheduleIndex] = useState<Map<string, RemoteSessionScheduleInfo>>(() => new Map());
- useEffect(() => {
- publishScheduleUnread(new Set([...scheduleIndex].filter(([, info]) => info.unreadCount > 0).map(([id]) => id)));
- }, [scheduleIndex, publishScheduleUnread]);
const scheduleMirrorInvalidations = useRemoteScheduleMirrorInvalidations();
// Clear the entire account-owned Home projection before paint. The generation ref is already
@@ -2854,33 +2845,34 @@ function HomeScreenContent({ active = true, onModeChange, width, newSessionInSys
const nativeHomeMenus = usesNativePullDownMenu();
const openRemoteCollection = useCallback((collection: RemoteHomeCollection) => {
- openHomeRemoteCollection({
- collection, teammateCollectionId: TEAMMATE_COLLECTION_ID, embedded,
- setMode: homeNavigation.setMode, push: guardedPush, onModeChange, dismissKeyboard: Keyboard.dismiss,
- });
- }, [embedded, guardedPush, homeNavigation.setMode, onModeChange]);
+ openHomeRemoteCollection(collection, guardedPush);
+ }, [guardedPush]);
+ const scopeCollections = useMemo(
+ () => homeScopeCollections(remoteHomeCollections, TEAMMATE_COLLECTION_ID),
+ [remoteHomeCollections],
+ );
const homeScopePullDownActions = useMemo(
() => buildHomeScopePullDownActions(
home.deviceFilters,
t('devices.list.allConversations'),
- remoteHomeCollections.map((collection) => ({
+ scopeCollections.map((collection) => ({
id: collection.id,
title: collection.title,
})),
),
- [home.deviceFilters, remoteHomeCollections, t],
+ [home.deviceFilters, scopeCollections, t],
);
const handleHomeScopeAction = useCallback((id: string) => {
const parsed = parseHomeScopePullDownAction(id);
if (parsed.kind === 'collection') {
- const collection = remoteHomeCollections.find((item) => item.id === parsed.collectionId);
+ const collection = scopeCollections.find((item) => item.id === parsed.collectionId);
if (!collection) return;
openRemoteCollection(collection);
return;
}
const item = home.deviceFilters.find((filter) => filter.id === parsed.filterId);
if (item) selectHomeScope(item);
- }, [home.deviceFilters, openRemoteCollection, remoteHomeCollections, selectHomeScope]);
+ }, [home.deviceFilters, openRemoteCollection, scopeCollections, selectHomeScope]);
const displayMenuState = useMemo<HomeDisplayMenuState>(() => ({
groupByProject,
groupDialogue,
@@ -2964,7 +2956,8 @@ function HomeScreenContent({ active = true, onModeChange, width, newSessionInSys
sections={sections}
ListHeaderComponent={<>
{embedded ? null : <HomeTeammatesSection context={teammatesSectionContext} active={active}
- visible={!searchQuery.trim() && indexedSearch.activeFilterCount === 0 && statusFilter !== 'archived' && !showRemoteGuide}
+ visible={indexedSearch.activeFilterCount === 0 && statusFilter !== 'archived' && !showRemoteGuide}
+ query={searchQuery}
// Shared group and project blocks draw their own full-width top line.
showFooter={sharedRows.length === 0 && !isBlockHomeRow(sections[0]?.data[0])}
runDisclosure={runDisclosure} prepareDisclosure={prepareListDisclosure} />}
@@ -3374,7 +3367,7 @@ function HomeScreenContent({ active = true, onModeChange, width, newSessionInSys
}}
/>}</MountOnFirstOpen>
<MountOnFirstOpen open={deviceMenuOpen}>{() => <DeviceMenuModal
- collections={remoteHomeCollections}
+ collections={scopeCollections}
filters={home.deviceFilters}
onClose={() => setDeviceMenuOpen(false)}
onClosed={handleDeviceMenuClosed}
@@ -3403,11 +3396,6 @@ function HomeScreenContent({ active = true, onModeChange, width, newSessionInSys
visible={deviceMenuOpen}
/>}</MountOnFirstOpen>
<MountOnFirstOpen open={chromeMenuOpen}>{() => <HomeChromeDrawer
- mode="tasks"
- onModeChange={onModeChange ? (next) => {
- pendingMenuActionRef.current = () => onModeChange(next);
- setChromeMenuOpen(false);
- } : undefined}
loggingOut={loggingOut}
onClose={() => {
pendingMenuActionRef.current = null;
diff --git a/apps/mobile/src/session/HomeTeammatesSection.tsx b/apps/mobile/src/session/HomeTeammatesSection.tsx
index 200335e87c..3e1abb14c5 100644
--- a/apps/mobile/src/session/HomeTeammatesSection.tsx
+++ b/apps/mobile/src/session/HomeTeammatesSection.tsx
@@ -1,9 +1,10 @@
/**
* 任务首页顶部的「伙伴」段(对照桌面 TeammatesSection.tsx 与 2026-10-24 手机「A+B 合一」定稿):
- * 展开 = 伙伴行(与伙伴页同一个 CompanionListRow,默认 3 位,多了「显示全部」);
+ * 展开 = 伙伴行(CompanionListRow,默认 3 位,多了「显示全部」);
* 收起 = 段头 + 56pt 头像条(名字 12/18,可横滑,最后一格新建)。收起状态按账号记住。
- * 伙伴与群聊按最近活动混排;不跟随顶栏的电脑范围筛选(与桌面一致)。点开伙伴不切换首页模式,
- * 返回仍回到任务。只在首页(有共享伙伴名册)出现;没有伙伴也没有能新建的电脑时整段不显示。
+ * 伙伴与群聊按最近活动混排;不跟随顶栏的电脑范围筛选(与桌面一致)。手机没有单独的伙伴首页,
+ * 搜索时本段只列出名字匹配的伙伴与群聊。只在首页(有共享伙伴名册)出现;没有伙伴也没有能新建的
+ * 电脑时整段不显示。
* Android 把首页列表挂到根节点渲染(ResidentHomeList),所以名册与路由的导航上下文要在路由里取,
* 再由本段重新提供。
*/
@@ -32,16 +33,16 @@ import { botGroupRoute } from './botGroupNavigation';
import { COMPANION_ROW_AVATAR_SIZE, COMPANION_ROW_DOT_SIZE } from './CompanionListRow';
import { CompanionPresenceRing } from './CompanionPresenceRing';
import { homeListStyles } from './HomeListVisuals';
-import { useHomeRoster } from './HomeUnreadContext';
+import { useHomeRoster } from './HomeRosterContext';
import { DisclosureItem } from './listDisclosureTransition';
-import { useTeammateCreateController } from './TeammateCreateButton';
+import { useTeammateCreateController } from './TeammateCreateController';
import { useTeammateEntries, useTeammateRowRenderer, type TeammateListEntry } from './TeammateList';
import { cloudCompanionRoute } from './teammateNavigation';
import { useTeammateNavigation } from './useTeammateNavigation';
/** Desktop previews five in a 260px sidebar; three keeps the first screen of tasks on a phone. */
export const HOME_TEAMMATE_PREVIEW_LIMIT = 3;
-/** Strip avatar: the row's 44 grows to the teammate-home empty presets' 56 when the section folds. */
+/** Strip avatar: the row's 44 grows to 56 when the section folds. */
const STRIP_AVATAR_SIZE = 56;
/** One strip cell: the avatar plus 4pt on each side, so a 12/18 name fits under it. */
const STRIP_CELL_WIDTH = STRIP_AVATAR_SIZE + spacing.sm;
@@ -56,12 +57,14 @@ export function useHomeTeammatesSectionContext() {
return useMemo(() => ({ navigation, route, shared }), [navigation, route, shared]);
}
-export function HomeTeammatesSection({ context, active, visible, showFooter, runDisclosure, prepareDisclosure }: {
+export function HomeTeammatesSection({ context, active, visible, query, showFooter, runDisclosure, prepareDisclosure }: {
context: ReturnType<typeof useHomeTeammatesSectionContext>;
- /** The tasks pane is the visible home pane. */
+ /** The home is the screen in front. */
active: boolean;
- /** Hidden while searching or browsing archived tasks; the hooks stay mounted. */
+ /** Hidden while filtering or browsing archived tasks; the hooks stay mounted. */
visible: boolean;
+ /** The home search text: lists every matching teammate, expanded, without create entries. */
+ query: string;
/** Full-width hairline under the section, unless the next block draws its own top line. */
showFooter: boolean;
runDisclosure(apply: () => void): void;
@@ -70,14 +73,14 @@ export function HomeTeammatesSection({ context, active, visible, showFooter, run
const { navigation, route, shared } = context;
if (!shared) return null;
return <NavigationContext.Provider value={navigation}><NavigationRouteContext.Provider value={route}>
- <SectionContent shared={shared} active={active} visible={visible} showFooter={showFooter}
+ <SectionContent shared={shared} active={active} visible={visible} query={query} showFooter={showFooter}
runDisclosure={runDisclosure} prepareDisclosure={prepareDisclosure} />
</NavigationRouteContext.Provider></NavigationContext.Provider>;
}
-function SectionContent({ shared, active, visible, showFooter, runDisclosure, prepareDisclosure }: {
+function SectionContent({ shared, active, visible, query, showFooter, runDisclosure, prepareDisclosure }: {
shared: NonNullable<ReturnType<typeof useHomeRoster>>;
- active: boolean; visible: boolean; showFooter: boolean;
+ active: boolean; visible: boolean; query: string; showFooter: boolean;
runDisclosure(apply: () => void): void; prepareDisclosure(): void;
}) {
const { t, i18n } = useTranslation();
@@ -89,7 +92,7 @@ function SectionContent({ shared, active, visible, showFooter, runDisclosure, pr
const focused = useIsFocused() && active;
const { roster, groups } = shared;
const cloud = useCloudCompanionHome(focused && visible);
- // Same row identity as the teammate home (cloud-companions.md): one row per companion.
+ // One row per companion (cloud-companions.md).
const items = useMemo(() => cloud.supported ? cloudCompanionRows(roster.items, cloud.actors, cloud.deviceNames) : roster.items,
[cloud.actors, cloud.deviceNames, cloud.supported, roster.items]);
const listedCompanions = roster.items.map(row => `${row.key}\t${row.item.revision}`).sort().join('\n');
@@ -98,11 +101,12 @@ function SectionContent({ shared, active, visible, showFooter, runDisclosure, pr
const cloudActor = (row: HostedRemoteCollectionItem) => cloud.supported && row.item.revision === CLOUD_ROW_REVISION ? cloudActorForRow(cloud.actors, row) : null;
const quietPresence = (row: HostedRemoteCollectionItem) => cloud.supported && !!cloudActorForRow(cloud.actors, row);
const showGroups = groups.supported || groups.items.length > 0;
- const entries = useTeammateEntries(items, showGroups ? groups.items : undefined);
+ const search = query.trim();
+ const entries = useTeammateEntries(items, showGroups ? groups.items : undefined, search);
const openTeammate = (row: HostedRemoteCollectionItem) => {
const actor = cloudActor(row);
- if (actor) { Keyboard.dismiss(); push(cloudCompanionRoute(row, actor.id, i18n.language, { keepMode: true })); }
- else void navigation.openTeammate(row, { keepMode: true });
+ if (actor) { Keyboard.dismiss(); push(cloudCompanionRoute(row, actor.id, i18n.language)); }
+ else void navigation.openTeammate(row);
};
const openGroup = (row: HostedRemoteCollectionItem) => { Keyboard.dismiss(); push(botGroupRoute(row.host, row.item.ref.id)); };
const renderRow = useTeammateRowRenderer({
@@ -113,34 +117,37 @@ function SectionContent({ shared, active, visible, showFooter, runDisclosure, pr
// and never carries over to another account.
const [local, setLocal] = useState<{ owner: string; collapsed: boolean } | null>(null);
const owner = navigation.owner;
- const collapsed = local?.owner === owner ? local.collapsed : navigation.teammatesCollapsed;
+ const stored = local?.owner === owner ? local.collapsed : navigation.teammatesCollapsed;
+ // Search results are always rows; the stored fold returns with the search cleared.
+ const collapsed = stored && !search;
const [showAll, setShowAll] = useState(false);
const setTeammatesCollapsed = navigation.setTeammatesCollapsed;
const toggleCollapsed = useCallback(() => {
- const next = !collapsed;
+ const next = !stored;
runDisclosure(() => { setLocal({ owner, collapsed: next }); if (next) setShowAll(false); });
void setTeammatesCollapsed(next);
- }, [collapsed, owner, runDisclosure, setTeammatesCollapsed]);
+ }, [stored, owner, runDisclosure, setTeammatesCollapsed]);
const createTargets = useStableValue(roster.createTargets, sameHosts);
const groupCreateTargets = useStableValue(roster.groupTargets.filter(groups.isOnline), sameHosts);
const canCreate = createTargets.length > 0 || groupCreateTargets.length > 0;
+ const showCreate = canCreate && !search;
// One controller for every trigger placement: the first teammate arriving while its form closes
// swaps the empty row for the rows, and must not take the form or its receipt with it.
const creator = useTeammateCreateController({ targets: createTargets, groupTargets: groupCreateTargets,
preferredDeviceId: navigation.lastTeammate?.deviceId,
- onCreated: (host, ref) => { void navigation.openCreatedTeammate(host, ref, { keepMode: true }); },
+ onCreated: (host, ref) => { void navigation.openCreatedTeammate(host, ref); },
onGroupCreated: (host, groupId) => push(botGroupRoute(host, groupId)) });
// A first read with nothing cached stays out of the way instead of flashing an empty section.
- const shown = visible && !(!entries.length && (!canCreate || roster.loading));
+ const shown = visible && (search ? entries.length > 0 : !(!entries.length && (!canCreate || roster.loading)));
const title = t('devices.companions.title');
- const create = (trigger: (press: () => void, label: string) => ReactElement) => canCreate
+ const create = (trigger: (press: () => void, label: string) => ReactElement) => showCreate
? creator.renderTrigger(trigger(creator.press, creator.label)) : null;
- const preview = entries.slice(0, HOME_TEAMMATE_PREVIEW_LIMIT);
- const extra = entries.slice(HOME_TEAMMATE_PREVIEW_LIMIT);
+ const preview = search ? entries : entries.slice(0, HOME_TEAMMATE_PREVIEW_LIMIT);
+ const extra = search ? [] : entries.slice(HOME_TEAMMATE_PREVIEW_LIMIT);
const hasMore = extra.length > 0;
const body = shown ? <DisclosureItem clip testID="home.teammates">
<View style={styles.header}>
- <Pressable accessibilityRole="button" accessibilityState={{ expanded: !collapsed }}
+ <Pressable accessibilityRole="button" accessibilityState={{ expanded: !collapsed, disabled: !!search }} disabled={!!search}
accessibilityLabel={t(collapsed ? 'devices.list.a11y.expand' : 'devices.list.a11y.collapse', { title })}
onPress={toggleCollapsed} onPressIn={prepareDisclosure}
style={({ pressed }) => [list.projectRow, styles.headerToggle, pressed && mobileInteractionStyles.pressed]} testID="home.teammatesHeader">
diff --git a/apps/mobile/src/session/HomeUnreadContext.tsx b/apps/mobile/src/session/HomeUnreadContext.tsx
deleted file mode 100644
index 79aa798142..0000000000
--- a/apps/mobile/src/session/HomeUnreadContext.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { createContext, useContext, useMemo, useState, useSyncExternalStore, type ReactNode } from 'react';
-import { useIsFocused } from 'expo-router';
-import { useAuth } from '@/auth/AuthContext';
-import { isRemoteResourceUnread, remoteResourceCacheRevision, subscribeRemoteResourceCache } from '@/device-link/remoteResourceCache';
-import { RemoteSessionStoreSubscriptionGate, remoteSessionStore, useRemoteHomeSessions, useRemoteHomeStatusVersion } from './remoteSessionStore';
-import { resolveMobileSessionRightStatus } from './sessionRightStatus';
-import { useTeammateRoster } from './useTeammateRoster';
-import { useBotGroupRoster } from './useBotGroupRoster';
-
-const ScheduleUnreadContext = createContext<(ids: ReadonlySet<string>) => void>(() => {});
-export const usePublishHomeScheduleUnread = () => useContext(ScheduleUnreadContext);
-
-const CountsContext = createContext({ tasks: 0, teammates: 0 });
-const RosterContext = createContext<{
- roster: ReturnType<typeof useTeammateRoster>; groups: ReturnType<typeof useBotGroupRoster>;
-} | null>(null);
-
-/** The same mirrors as the rows, including while the other home section is active. */
-export function HomeUnreadProvider({ children }: { children: ReactNode }) {
- const focused = useIsFocused();
- return <RemoteSessionStoreSubscriptionGate enabled={focused}>
- <HomeUnreadContent>{children}</HomeUnreadContent>
- </RemoteSessionStoreSubscriptionGate>;
-}
-
-function HomeUnreadContent({ children }: { children: ReactNode }) {
- const { user } = useAuth();
- const [scheduleUnread, setScheduleUnread] = useState<ReadonlySet<string>>(new Set());
- const focused = useIsFocused();
- const roster = useTeammateRoster(focused);
- const groups = useBotGroupRoster(roster.groupTargets, focused);
- useSyncExternalStore(subscribeRemoteResourceCache, remoteResourceCacheRevision);
- const sessions = useRemoteHomeSessions();
- const homeStatusVersion = useRemoteHomeStatusVersion();
- const tasks = useMemo(() => {
- let count = 0;
- for (const session of sessions) {
- if (session.status !== 'active' || session.orcaRole === 'worker' || session.source === 'bot' || session.source === 'scheduler' || session.source === 'learn'
- || session.title?.startsWith('[Schedule] ')) continue;
- const activity = remoteSessionStore.getSessionLiveActivity(session.id);
- const status = resolveMobileSessionRightStatus({ interruption: session, livePhase: activity?.phase,
- liveAttention: activity?.attention === true,
- pendingInteractionCount: remoteSessionStore.getPendingInteractions(session.id).length,
- running: remoteSessionStore.isSessionRunning(session.id), scheduleUnreadCount: 0 });
- if (status === 'done' && scheduleUnread.has(session.id)) continue;
- if (status === 'done' || status === 'awaiting' || status === 'error') count += 1;
- }
- return count;
- }, [sessions, homeStatusVersion, scheduleUnread]);
- const teammates = [...roster.items, ...groups.items].filter(row =>
- isRemoteResourceUnread(user?.id ?? '', row.host.deviceId, row.item.ref.id, row.item.display.lastReplyAt, row.lastReplySequence)).length;
- return <ScheduleUnreadContext.Provider value={setScheduleUnread}><RosterContext.Provider value={{ roster, groups }}><CountsContext.Provider value={{ tasks, teammates }}>{children}</CountsContext.Provider></RosterContext.Provider></ScheduleUnreadContext.Provider>;
-}
-export const useHomeUnreadCounts = () => useContext(CountsContext);
-export const useHomeRoster = () => useContext(RosterContext);
diff --git a/apps/mobile/src/session/ResidentHomeList.tsx b/apps/mobile/src/session/ResidentHomeList.tsx
index c062a8b848..f68dca878f 100644
--- a/apps/mobile/src/session/ResidentHomeList.tsx
+++ b/apps/mobile/src/session/ResidentHomeList.tsx
@@ -1,8 +1,6 @@
-import { useHomeMode } from './useHomeMode';
import { createContext, useCallback, useContext, useId, useLayoutEffect, useMemo, useRef, useState, type ReactNode } from 'react';
import { Platform, StyleSheet, View } from 'react-native';
-import Animated, { useAnimatedStyle } from 'react-native-reanimated';
-import { HomeModeProgressContext, useHomeModeProgress } from './HomeModeTransition';
+import Animated from 'react-native-reanimated';
import { useSegments } from 'expo-router';
import { useAdaptiveWindow } from '@/platform/AdaptiveWindowContext';
import { useReduceMotionEnabled } from '@/hooks/useReduceMotion';
@@ -58,19 +56,12 @@ export function ResidentHomeListProvider({ children }: { children: ReactNode })
const paneLayout = useMemo(() => sessionPaneLayout(geometry, sidebarWidth), [geometry, sidebarWidth]);
const { persistent } = paneLayout;
const segments = useSegments() as string[];
- const { mode, hydrated } = useHomeMode();
const homeRoute = segments.length === 0 || segments[0] === 'index'
|| (segments[0] === 'devices' && (segments.length === 1 || segments[1] === 'index'));
- // Android pages draw their own bar inside each pane, so sliding them would move it; they switch in place.
- const progress = useHomeModeProgress(mode, homeRoute && Platform.OS === 'ios', hydrated);
- // Keep the outgoing resident list drawn during the slide, but never interactive over the new tab.
+ // iOS Home keeps its list in its own route; Android draws it here on the home too.
const rootHome = Platform.OS !== 'ios';
- const visible = (rootHome && mode === 'tasks' && homeRoute)
+ const visible = (rootHome && homeRoute)
|| (persistent && segments[0] === 'sessions' && segments[1] === '[sessionId]');
- const slide = useAnimatedStyle(() => ({
- opacity: homeRoute ? (rootHome && progress.value < 1 ? 1 : 0) : (visible ? 1 : 0),
- transform: [{ translateX: homeRoute ? -progress.value * geometry.width : 0 }],
- }));
const host = useRef<View>(null);
const mounted = useRef(false);
const [entry, setEntry] = useState<Entry | null>(null);
@@ -83,7 +74,7 @@ export function ResidentHomeListProvider({ children }: { children: ReactNode })
useLayoutEffect(() => {
mounted.current = !!entry;
}, [entry]);
- return <PaneLayoutContext.Provider value={paneLayout}><HomeModeProgressContext.Provider value={progress}><Context.Provider value={context}>
+ return <PaneLayoutContext.Provider value={paneLayout}><Context.Provider value={context}>
<View ref={host} collapsable={false} style={styles.root}>
{children}
{entry ? <Animated.View collapsable={false} pointerEvents={visible ? 'box-none' : 'none'}
@@ -95,7 +86,7 @@ export function ResidentHomeListProvider({ children }: { children: ReactNode })
// second size animation when the final asynchronous measure arrives
// after release; keep the sidebar's native host above the route.
transitionDuration: !persistent && reduceMotion === false ? motionDuration.fast : 0,
- }, slide]}>
+ }, { opacity: visible ? 1 : 0 }]}>
<RemoteSessionStoreSubscriptionGate enabled={visible}>{entry.children}</RemoteSessionStoreSubscriptionGate>
</Animated.View> : null}
{visible && !homeRoute && paneLayout.resizeBounds ? <SessionPaneDivider
@@ -104,7 +95,7 @@ export function ResidentHomeListProvider({ children }: { children: ReactNode })
onResize={setSidebarWidth}
/> : null}
</View>
- </Context.Provider></HomeModeProgressContext.Provider></PaneLayoutContext.Provider>;
+ </Context.Provider></PaneLayoutContext.Provider>;
}
/** A route supplies a measuring slot, not another native list. Its header stays
diff --git a/apps/mobile/src/session/TeammateCreateButton.tsx b/apps/mobile/src/session/TeammateCreateController.tsx
similarity index 68%
rename from apps/mobile/src/session/TeammateCreateButton.tsx
rename to apps/mobile/src/session/TeammateCreateController.tsx
index 4f65b1da19..0632ca7209 100644
--- a/apps/mobile/src/session/TeammateCreateButton.tsx
+++ b/apps/mobile/src/session/TeammateCreateController.tsx
@@ -1,21 +1,14 @@
import { useEffect, useRef, useState, type ReactElement } from 'react';
import { Alert } from 'react-native';
-import { Stack } from 'expo-router';
-import { nativeToolbarMenuItems } from '@/platform/chrome/nativeToolbarMenuItems';
-import { Plus } from 'lucide-react-native';
import { useTranslation } from 'react-i18next';
import type { RemoteResourceRef } from '@cindy/device-link';
import { useAuth } from '@/auth/AuthContext';
import type { RemoteResourceHostTarget } from '@/device-link/remoteResources';
import { NativePullDownMenu, usesNativePullDownMenu, type NativePullDownAction } from '@/platform/chrome/NativePullDownMenu';
-import { useTheme } from '@/theme';
-import { iconSize, iconStroke } from '@/theme/tokens';
import { BotGroupCreateSheet } from './BotGroupCreateSheet';
import { CompanionCreateSheet } from './CompanionProfileSheet';
-import { MainWindowActionButton } from '@/components/MobilePrimitives';
import { CompanionSettingsRow } from './CompanionSettingsRow';
import { CompanionSheet } from './CompanionSheet';
-import { HomeHeaderGlassButton } from './HomeHeaderGlassButton';
import { TEAMMATE_COLLECTION_ID } from './useTeammateRoster';
type CreateKind = 'bot' | 'group';
@@ -23,8 +16,6 @@ type Choice = { kind: CreateKind; host: RemoteResourceHostTarget };
type CreateOptions = {
targets: readonly RemoteResourceHostTarget[];
- /** `cta`: the empty list's primary button; it only creates a teammate. */
- appearance?: 'glass' | 'cta' | 'toolbar';
/** Online computers that support group chats; empty keeps the single-purpose button. */
groupTargets?: readonly RemoteResourceHostTarget[];
preferredDeviceId?: string;
@@ -33,34 +24,13 @@ type CreateOptions = {
};
/**
- * 伙伴页顶栏的「+」。支持群聊时是一个菜单:新建伙伴 / 新建群聊(多台电脑时再选电脑);
- * 旧版电脑不支持群聊时保持原来的直接新建伙伴。表单关闭后才回报创建结果,避免两个 Modal 叠加。
+ * 新建伙伴 / 新建群聊的菜单与表单。支持群聊时是一个菜单(多台电脑时再选电脑);旧版电脑不支持
+ * 群聊时直接新建伙伴。表单关闭后才回报创建结果,避免两个 Modal 叠加。
+ * The trigger is drawn by the caller: the task home's teammate section moves it between states, and
+ * a moving trigger must not unmount an open form or drop its receipt. Callers remount it on account
+ * changes (the home is keyed by account).
*/
-export function TeammateCreateButton(props: CreateOptions) {
- const { accountGeneration } = useAuth();
- // Account changes discard both native menu selections and dismissal receipts.
- return <CreateButton key={accountGeneration} {...props} />;
-}
-
-function CreateButton(props: CreateOptions) {
- const { colors } = useTheme();
- const create = useTeammateCreateController(props);
- return <>
- {create.renderTrigger(props.appearance === 'cta'
- ? <MainWindowActionButton action={{ label: create.label, tone: 'primary', onPress: create.press, testID: 'teammates.emptyCreate' }} />
- : <HomeHeaderGlassButton accessibilityLabel={create.label} testID="teammates.create" onPress={create.press}>
- <Plus color={colors.textPrimary} size={iconSize.action} strokeWidth={iconStroke.regular} />
- </HomeHeaderGlassButton>)}
- {create.sheets}
- </>;
-}
-
-/**
- * The create menu and forms, separate from where the trigger is drawn: the task home's teammate
- * section moves its trigger between states, and a moving trigger must not unmount an open form or
- * drop its creation receipt. Callers remount it on account changes (the route is keyed by account).
- */
-export function useTeammateCreateController({ targets, groupTargets = [], preferredDeviceId, onCreated, onGroupCreated, appearance = 'glass' }: CreateOptions) {
+export function useTeammateCreateController({ targets, groupTargets = [], preferredDeviceId, onCreated, onGroupCreated }: CreateOptions) {
const { t } = useTranslation();
const { accountGeneration } = useAuth();
const [account] = useState(accountGeneration);
@@ -73,8 +43,7 @@ export function useTeammateCreateController({ targets, groupTargets = [], prefer
const pendingChoice = useRef<Choice | null>(null);
const receipt = useRef<RemoteResourceRef | null>(null);
const groupReceipt = useRef<string | null>(null);
- const cta = appearance === 'cta';
- const withGroups = !cta && groupTargets.length > 0 && !!onGroupCreated;
+ const withGroups = groupTargets.length > 0 && !!onGroupCreated;
const order = (hosts: readonly RemoteResourceHostTarget[]) => [...hosts]
.sort((a, b) => Number(b.deviceId === preferredDeviceId) - Number(a.deviceId === preferredDeviceId));
const ordered = order(targets);
@@ -84,7 +53,7 @@ export function useTeammateCreateController({ targets, groupTargets = [], prefer
if (!mounted.current || currentAccount.current !== account || !target) return;
setOpen({ kind, host: target }); setVisible(true);
};
- const botLabel = t(withGroups || cta ? 'devices.companions.createTeammate' : 'devices.companionProfile.create');
+ const botLabel = t(withGroups ? 'devices.companions.createTeammate' : 'devices.companionProfile.create');
const groupLabel = t('groupChat.create.title');
const entry = (kind: CreateKind, hosts: readonly RemoteResourceHostTarget[]): NativePullDownAction => ({
id: hosts.length === 1 ? `${kind}:${hosts[0]!.deviceId}` : kind,
@@ -106,7 +75,7 @@ export function useTeammateCreateController({ targets, groupTargets = [], prefer
// The empty state names the next step instead of only reporting that nothing is available.
if (!withGroups && !targets.length) Alert.alert(label, t('devices.companions.noCreateHosts'));
else if (!needsMenu) start('bot', targets[0]!.deviceId);
- else if (cta || !usesNativePullDownMenu()) setChoosing(true);
+ else if (!usesNativePullDownMenu()) setChoosing(true);
};
const fallbackChoices: Choice[] = [
...ordered.map((host) => ({ kind: 'bot' as const, host })),
@@ -119,12 +88,9 @@ export function useTeammateCreateController({ targets, groupTargets = [], prefer
};
const groupOpen = open?.kind === 'group' ? open : null;
const menu = needsMenu && menuActions.length > 0;
- /** Wraps a visible button in the native menu when one is needed; the toolbar draws its own. */
- const renderTrigger = (button: ReactElement) => appearance === 'toolbar' ? <Stack.Toolbar placement="right">
- {menu ? <Stack.Toolbar.Menu icon="plus" accessibilityLabel={label}>{nativeToolbarMenuItems(menuActions, onMenu)}</Stack.Toolbar.Menu>
- : <Stack.Toolbar.Button icon="plus" accessibilityLabel={label} onPress={press} />}
- </Stack.Toolbar>
- : !cta && menu ? <NativePullDownMenu actions={menuActions} onAction={onMenu} testID="teammates.createMenu">{button}</NativePullDownMenu>
+ /** Wraps the caller's button in the native menu when one is needed. */
+ const renderTrigger = (button: ReactElement) => menu
+ ? <NativePullDownMenu actions={menuActions} onAction={onMenu} testID="teammates.createMenu">{button}</NativePullDownMenu>
: button;
const sheets = <>
<CompanionSheet visible={choosing} title={label} testID="teammates.createChooser" onClose={() => { pendingChoice.current = null; setChoosing(false); }}
diff --git a/apps/mobile/src/session/TeammateHomeScreen.tsx b/apps/mobile/src/session/TeammateHomeScreen.tsx
deleted file mode 100644
index 78b8441f24..0000000000
--- a/apps/mobile/src/session/TeammateHomeScreen.tsx
+++ /dev/null
@@ -1,228 +0,0 @@
-import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore, type ComponentProps } from 'react';
-import { Alert, Keyboard, Pressable, StyleSheet, View } from 'react-native';
-import { Stack, useIsFocused, useRouter } from 'expo-router';
-import { useHeaderHeight } from 'expo-router/react-navigation';
-import { homeMenuAttentionSize } from '@/platform/chrome/homeMenuIcon';
-import { centeredHomeTitleWidth, HomeStackHeader } from '@/platform/chrome/HomeStackHeader';
-import { simpleScreenSafeAreaEdges, usesNativeStackHeader } from '@/platform/chrome/SimpleStackHeader';
-import { useAdaptiveWindow } from '@/platform/AdaptiveWindowContext';
-import { ChevronDown, Menu } from 'lucide-react-native';
-import { SafeAreaView } from 'react-native-safe-area-context';
-import { useTranslation } from 'react-i18next';
-import { useAuth } from '@/auth/AuthContext';
-import { Text } from '@/components/AppText';
-import { formatRemoteError } from '@/device-link/remoteStatus';
-import { useStableValue } from '@/utils/useStableValue';
-import type { RemoteResourceHostTarget } from '@/device-link/remoteResources';
-import { useGuardedPush } from '@/utils/useGuardedPush';
-import { useTheme, useThemedStyles, type ThemeColors } from '@/theme';
-import { fontWeight, iconSize, iconStroke, lineHeight, navigationChrome, radius, spacing, typeScale } from '@/theme/tokens';
-import { NativePullDownMenu, usesNativePullDownMenu } from '@/platform/chrome';
-import { AccountSwitcherSheet } from './AccountSwitcherSheet';
-import { botGroupRoute } from './botGroupNavigation';
-import { HomeChromeDrawer } from './HomeChromeDrawer';
-import { HomeHeaderGlassButton } from './HomeHeaderGlassButton';
-import { TeammateCreateButton } from './TeammateCreateButton';
-import { TeammateList } from './TeammateList';
-import { useHomeRoster, useHomeUnreadCounts } from './HomeUnreadContext';
-import { useTeammateRoster } from './useTeammateRoster';
-import { useBotGroupRoster } from './useBotGroupRoster';
-import { useTeammateNavigation } from './useTeammateNavigation';
-import { remoteSessionStore } from './remoteSessionStore';
-import { CLOUD_ROW_REVISION, cloudActorForRow, cloudCompanionRows } from '@/chat/cloudCompanion';
-import { useCloudCompanionHome } from '@/chat/useCloudCompanion';
-import { cloudCompanionRoute } from './teammateNavigation';
-import type { HostedRemoteCollectionItem } from '@/device-link/remoteResources';
-
-/** The teammate home is the roster: launch and every entry land on the list, never inside a chat. */
-export function TeammateHomeScreen({ active = true }: { active?: boolean }) {
- const { t, i18n } = useTranslation();
- const auth = useAuth();
- const styles = useThemedStyles(makeStyles);
- const { colors } = useTheme();
- const routeFocused = useIsFocused();
- const focused = routeFocused && active;
- const push = useGuardedPush();
- const router = useRouter();
- const navigation = useTeammateNavigation();
- const sharedRoster = useHomeRoster();
- const ownRoster = useTeammateRoster(focused && !sharedRoster);
- const ownGroups = useBotGroupRoster(ownRoster.groupTargets, focused && !sharedRoster);
- const roster = sharedRoster?.roster ?? ownRoster;
- const groups = sharedRoster?.groups ?? ownGroups;
- // Main computers (cloud-companions.md): only with a server that declares companionHome.
- const cloud = useCloudCompanionHome(focused);
- // One row per companion, under its main computer (a row built from the cloud when none is listed).
- // Loading is freshness, not identity: preserve known conversation links and previews.
- // Otherwise an unrelated slow host turns a cached chat into a read-only cloud entry.
- const items = useMemo(() => cloud.supported ? cloudCompanionRows(roster.items, cloud.actors, cloud.deviceNames) : roster.items,
- [cloud.actors, cloud.deviceNames, cloud.supported, roster.items]);
- // A cloud companion opens its normal chat (cached when its computer is unreachable). Only a row
- // this phone knows from the cloud alone (never listed by its computer) opens the cloud conversation.
- const cloudActor = (row: HostedRemoteCollectionItem) => cloud.supported && row.item.revision === CLOUD_ROW_REVISION ? cloudActorForRow(cloud.actors, row) : null;
- const quietPresence = (row: HostedRemoteCollectionItem) => cloud.supported && !!cloudActorForRow(cloud.actors, row);
- // A companion moved by another device shows up as changed roster rows (a new row, or a cached
- // row whose computer re-listed it): re-read the main computers then, not only on focus.
- const listedCompanions = roster.items.map(row => `${row.key}\t${row.item.revision}`).sort().join('\n');
- const refreshCloud = cloud.refresh;
- useEffect(() => { if (cloud.supported) void refreshCloud(); }, [cloud.supported, listedCompanions, refreshCloud]);
- const counts = useHomeUnreadCounts();
- const [drawer, setDrawer] = useState(false);
- const [accounts, setAccounts] = useState(false);
- const [loggingOut, setLoggingOut] = useState(false);
- const [searchEpoch, setSearchEpoch] = useState(0);
- const pending = useRef<(() => void) | null>(null);
- const mounted = useRef(true);
- const currentAccount = useRef(auth.accountGeneration); currentAccount.current = auth.accountGeneration;
- const hasRunningTasks = useSyncExternalStore(
- // 账号切换与抽屉里的退出确认都要知道是否有运行中任务;两者都关着时不订阅。
- useCallback((listener) => accounts || drawer ? remoteSessionStore.subscribe(listener) : () => {}, [accounts, drawer]),
- useCallback(() => (accounts || drawer) && remoteSessionStore.getSessions().some((session) => remoteSessionStore.isSessionRunning(session.id)), [accounts, drawer]),
- );
- const nativeHeader = usesNativeStackHeader();
- const headerHeight = useHeaderHeight();
- const geometry = useAdaptiveWindow();
- // Teammates stays centered even when the task title needs to grow toward a toolbar.
- const titleWidth = centeredHomeTitleWidth(geometry.width - geometry.insets.left - geometry.insets.right, 1);
- const openMenu = useCallback(() => { Keyboard.dismiss(); setDrawer(true); }, []);
- const menuA11y = [t('devices.companions.openNavigation'),
- counts.tasks > 0 ? t('devices.companions.taskAttentionCount', { count: counts.tasks }) : ''].filter(Boolean).join(', ');
- // Roster refreshes allocate new arrays; unchanged menu contents must not close an open native menu.
- const createTargets = useStableValue(roster.createTargets, sameHosts);
- const groupCreateTargets = useStableValue(roster.groupTargets.filter(groups.isOnline), sameHosts);
- const nativeMenus = usesNativePullDownMenu();
- const modeActions = useMemo(() => [
- { id: 'tasks', title: t('devices.companions.tasks'), state: 'off' as const },
- { id: 'teammates', title: t('devices.companions.title'), state: 'on' as const },
- ], [t]);
- const selectMode = useCallback((id: string) => {
- if (id === 'tasks') void navigation.chooseMode('tasks');
- }, [navigation.chooseMode]);
- const onCreated = useCallback<ComponentProps<typeof TeammateCreateButton>['onCreated']>((host, ref) => {
- void navigation.openCreatedTeammate(host, ref);
- }, [navigation.openCreatedTeammate]);
- const onGroupCreated = useCallback<NonNullable<ComponentProps<typeof TeammateCreateButton>['onGroupCreated']>>((host, groupId) => {
- push(botGroupRoute(host, groupId));
- }, [push]);
- const afterDrawer = (action: () => void) => { pending.current = action; setDrawer(false); };
- const openDrawerPage = (href: Parameters<typeof push>[0]) => {
- pending.current = null;
- setDrawer(false);
- push(href);
- };
- const finishOverlay = () => { const action = pending.current; pending.current = null; action?.(); };
- useEffect(() => {
- mounted.current = true;
- return () => { mounted.current = false; pending.current = null; };
- }, []);
- const titleControl = useMemo(() => (
- <NativePullDownMenu actions={modeActions} onAction={selectMode} style={styles.titleMenu}>
- <Pressable
- accessibilityLabel={t('devices.companions.title')}
- accessibilityRole="button"
- onPress={nativeMenus ? undefined : openMenu}
- style={({ pressed }) => [styles.titleTrigger, pressed && styles.pressed]}
- testID="teammates.modeMenu"
- >
- <View style={styles.titleCluster}>
- <Text numberOfLines={1} style={styles.title}>{t('devices.companions.title')}</Text>
- <ChevronDown color={colors.textSecondary} size={iconSize.xs} strokeWidth={iconStroke.medium} />
- </View>
- </Pressable>
- </NativePullDownMenu>
- ), [modeActions, selectMode, styles, t, nativeMenus, openMenu, colors.textSecondary]);
- const nativeTitle = useMemo(() => <View style={[styles.nativeTitle, { width: titleWidth }]}>{titleControl}</View>, [styles, titleControl, titleWidth]);
- const createControl = useMemo(() => createTargets.length > 0 || groupCreateTargets.length > 0 ? <TeammateCreateButton appearance={nativeHeader ? 'toolbar' : 'glass'} targets={createTargets}
- groupTargets={groupCreateTargets} preferredDeviceId={navigation.lastTeammate?.deviceId}
- onCreated={onCreated} onGroupCreated={onGroupCreated} /> : null,
- [createTargets, groupCreateTargets, nativeHeader, navigation.lastTeammate?.deviceId, onCreated, onGroupCreated]);
- return <SafeAreaView edges={simpleScreenSafeAreaEdges()} style={styles.screen} testID="teammates.home">
- {/* iOS: only the visible home pane registers the shared native chrome. */}
- {nativeHeader && active ? <HomeStackHeader title={nativeTitle}
- menuA11y={menuA11y} menuTestID="teammates.navigation" onOpenMenu={openMenu}
- attention={counts.tasks > 0} keepMenuTopLeft={geometry.barEdge !== 'none'}>
- {createControl}
- </HomeStackHeader> : null}
- {nativeHeader ? null : <>
- {active ? <Stack.Screen options={{ headerShown: false }} /> : null}
- <View style={styles.header}>
- <View style={styles.slot}>
- <View style={styles.navButton}>
- <HomeHeaderGlassButton accessibilityLabel={menuA11y}
- testID="teammates.navigation" onPress={openMenu}>
- <Menu color={colors.textPrimary} size={iconSize.action} strokeWidth={iconStroke.regular} />
- </HomeHeaderGlassButton>
- {/* The other side (tasks) needs a look; the drawer shows how many. Neutral, not a status color. */}
- {counts.tasks > 0 ? <View pointerEvents="none" style={styles.navDot} testID="teammates.navigation.dot" /> : null}
- </View>
- </View>
- {titleControl}
- <View style={[styles.slot, styles.slotEnd]}>
- {createControl}
- </View>
- </View>
- </>}
- <TeammateList key={searchEpoch} {...roster} items={items}
- quietPresence={quietPresence}
- topInset={nativeHeader ? headerHeight : undefined}
- notice={navigation.saveFailed ? <Text accessibilityRole="alert" style={styles.notice}>{t('devices.companions.preferenceSaveFailed')}</Text> : null} autoFocusSearch={searchEpoch > 0}
- loading={roster.loading || groups.loading}
- refreshing={roster.refreshing || groups.refreshing}
- error={groups.error ?? roster.error}
- onRefresh={() => { void roster.refresh(); void cloud.refresh(); if (groups.supported) void groups.refresh(); }}
- onSelect={(item) => {
- const actor = cloudActor(item);
- if (actor) { Keyboard.dismiss(); push(cloudCompanionRoute(item, actor.id, i18n.language)); }
- else void navigation.openTeammate(item);
- }}
- groups={groups.supported || groups.items.length > 0 ? {
- items: groups.items,
- isOnline: groups.isOnline,
- onSelect: (row) => { Keyboard.dismiss(); push(botGroupRoute(row.host, row.item.ref.id)); },
- } : undefined}
- emptyAction={roster.createTargets.length > 0 ? <TeammateCreateButton appearance="cta" targets={roster.createTargets}
- preferredDeviceId={navigation.lastTeammate?.deviceId}
- onCreated={(host, ref) => { void navigation.openCreatedTeammate(host, ref); }} /> : null} />
- <HomeChromeDrawer open={drawer} user={auth.user} loggingOut={loggingOut} hasRunningTasks={hasRunningTasks} mode="teammates"
- onModeChange={(mode) => afterDrawer(() => { void navigation.setMode(mode); })}
- onClose={() => { pending.current = null; setDrawer(false); }} onClosed={finishOverlay}
- onOpenSearch={() => afterDrawer(() => setSearchEpoch((epoch) => epoch + 1))}
- onOpenPlugins={() => openDrawerPage('/plugins')}
- onOpenDevices={() => openDrawerPage('/devices/manage')}
- onOpenSettings={() => openDrawerPage('/settings')}
- onOpenAccounts={() => afterDrawer(() => setAccounts(true))}
- // 抽屉内部已 confirmLogout;成功后与设置页一致直接回登录页,不依赖外层自动跳转的时序。
- onLogout={() => {
- if (loggingOut) return;
- setLoggingOut(true);
- const account = auth.accountGeneration;
- void auth.logout().then(() => { router.replace('/login'); }, (cause) => {
- if (mounted.current && currentAccount.current === account) Alert.alert(t('devices.list.alert.actionFailed'), formatRemoteError(cause));
- }).finally(() => { if (mounted.current && currentAccount.current === account) setLoggingOut(false); });
- }} />
- <AccountSwitcherSheet visible={accounts} hasRunningTasks={hasRunningTasks} onClose={() => setAccounts(false)}
- onAddAccount={() => { pending.current = () => { void auth.beginAddAccount(); push('/add-account'); }; setAccounts(false); }}
- onClosed={finishOverlay} />
- </SafeAreaView>;
-}
-const makeStyles = (colors: ThemeColors) => StyleSheet.create({
- screen: { backgroundColor: colors.surface, flex: 1 },
- // Android fallback: iOS geometry and menu belong to HomeStackHeader.
- header: { flexDirection: 'row', alignItems: 'center', paddingHorizontal: spacing.lg, paddingBottom: spacing.md, minHeight: 48 },
- slot: { width: navigationChrome.target * 2 + spacing.xs, flexDirection: 'row' },
- slotEnd: { justifyContent: 'flex-end' },
- navButton: { width: navigationChrome.target, height: navigationChrome.target },
- navDot: { position: 'absolute', top: spacing.sm, right: spacing.sm, width: homeMenuAttentionSize, height: homeMenuAttentionSize, borderRadius: radius.pill, backgroundColor: colors.textPrimary },
- nativeTitle: { height: navigationChrome.target },
- titleMenu: { flex: 1 },
- titleTrigger: { alignItems: 'center', flex: 1, justifyContent: 'center', minHeight: navigationChrome.target, minWidth: navigationChrome.target },
- titleCluster: { maxWidth: '100%', alignItems: 'center', flexDirection: 'row', gap: spacing.xs },
- title: { flexShrink: 1, color: colors.textPrimary, fontSize: typeScale.title, lineHeight: lineHeight.title, fontWeight: fontWeight.semibold },
- pressed: { opacity: 0.72 },
- notice: { color: colors.textSecondary, fontSize: typeScale.footnote, lineHeight: lineHeight.caption, padding: spacing.lg },
-});
-
-function sameHosts(a: readonly RemoteResourceHostTarget[], b: readonly RemoteResourceHostTarget[]): boolean {
- return a.length === b.length && a.every((host, index) =>
- host.deviceId === b[index].deviceId && host.deviceName === b[index].deviceName);
-}
diff --git a/apps/mobile/src/session/TeammateList.tsx b/apps/mobile/src/session/TeammateList.tsx
index 9f2e51078f..7d7094fbed 100644
--- a/apps/mobile/src/session/TeammateList.tsx
+++ b/apps/mobile/src/session/TeammateList.tsx
@@ -1,23 +1,16 @@
import { readWorkingPhase } from '@cindy/maker-shared';
-import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore, type ReactElement } from 'react';
-import { ActivityIndicator, Animated, Easing, FlatList, Image, Pressable, RefreshControl, StyleSheet, View, type ScrollViewProps } from 'react-native';
+import { useCallback, useMemo, useSyncExternalStore } from 'react';
+import { View } from 'react-native';
import { useTranslation } from 'react-i18next';
-import { RefreshCw, Search, X } from 'lucide-react-native';
import { resolveRemoteText } from '@cindy/device-link';
-import { Text, TextInput } from '@/components/AppText';
-import { MainWindowEmptyState, RemoteListSyncingPlaceholder } from '@/components/MobilePrimitives';
-import { mobileInteractionStyles } from '@/components/mobileInteractionStyles';
import { RemoteCompanionAvatar } from '@/components/RemoteCompanionAvatar';
import { useAuth } from '@/auth/AuthContext';
import { isRemoteResourceUnread } from '@/device-link/remoteResourceCache';
import type { HostedRemoteCollectionItem, RemoteResourceHostTarget } from '@/device-link/remoteResources';
-import { useReduceMotionEnabled } from '@/hooks/useReduceMotion';
import { useMinuteNow } from '@/utils/useMinuteNow';
-import { useThemedStyles, useTheme, type ThemeColors } from '@/theme';
-import { fontWeight, iconSize, iconStroke, lineHeight, radius, spacing, typeScale } from '@/theme/tokens';
import { BotGroupListRow, OFFLINE_AVATAR_OPACITY } from './BotGroupList';
import { orderedBotGroups } from './botGroupRemote';
-import { CompanionListRow, CompanionPresenceDot, COMPANION_ROW_AVATAR_SIZE, COMPANION_ROW_HEIGHT } from './CompanionListRow';
+import { CompanionListRow, CompanionPresenceDot, COMPANION_ROW_AVATAR_SIZE } from './CompanionListRow';
import { CompanionPresenceRing } from './CompanionPresenceRing';
import { remoteSessionStore } from './remoteSessionStore';
import { formatRemoteSessionSidebarTime } from './sessionList';
@@ -25,29 +18,14 @@ import { orderedTeammates } from './teammateNavigation';
import { parseMobileMarkdownInlines } from './messageMarkdown';
import { TeammateGenerationLabel } from './TeammateGenerationLabel';
-/** Loading placeholders appear only when the first read takes longer than this (no flash on fast loads). */
-const SKELETON_DELAY_MS = 300;
-/** Half-period of the placeholder breath: the running breath's 1.5s cycle. */
-const SKELETON_HALF_MS = 750;
-const SKELETON_WIDTHS = [[96, 210], [72, 180], [120, 232], [84, 160], [104, 200], [64, 190]] as const;
-const EMPTY_PRESETS = [
- require('../../assets/bot-presets/cindy.png'),
- require('../../assets/bot-presets/dash.png'),
- require('../../assets/bot-presets/lizi.png'),
-];
-const EMPTY_PRESET_SIZE = 56;
-
-export interface TeammateListGroups {
+interface TeammateListGroups {
items: readonly HostedRemoteCollectionItem[];
isOnline(host: RemoteResourceHostTarget): boolean;
onSelect(item: HostedRemoteCollectionItem): void;
}
-export interface TeammateListProps {
+interface TeammateRowOptions {
items: readonly HostedRemoteCollectionItem[];
- loading: boolean;
- refreshing: boolean;
- error: string | null;
isOnline(host: RemoteResourceHostTarget): boolean;
connectionState?(host: RemoteResourceHostTarget): boolean | null;
/**
@@ -56,21 +34,9 @@ export interface TeammateListProps {
* computer is briefly unreachable; a send that cannot get through is what asks to switch.
*/
quietPresence?(row: HostedRemoteCollectionItem): boolean;
- onRefresh(): void;
onSelect(item: HostedRemoteCollectionItem): void;
- /** SheetSurface already owns the scroll view. */
- embedded?: boolean;
- autoFocusSearch?: boolean;
- onInteract?(): void;
- /** Home only: group chats, mixed with the teammates by latest activity and filtered by the same search. */
+ /** Group chats, mixed with the teammates by latest activity. */
groups?: TeammateListGroups;
- /** Home only: the create entry shown under an empty list. */
- emptyAction?: ReactElement | null;
- /** Explicit inset for the overlaid home bar; other routes keep automatic scroll insets. */
- topInset?: number;
- notice?: ReactElement | null;
- /** 独立整页、铺到透明系统顶栏下时,由列表自己让出上下安全区。 */
- scrollInsetProps?: Pick<ScrollViewProps, 'automaticallyAdjustsScrollIndicatorInsets' | 'contentInsetAdjustmentBehavior'>;
}
function conversationSessionId(row: HostedRemoteCollectionItem): string | null {
@@ -90,7 +56,7 @@ function useAwaitingSessions(items: readonly HostedRemoteCollectionItem[]): Read
export type TeammateListEntry = { kind: 'bot' | 'group'; row: HostedRemoteCollectionItem };
-/** Teammates and (home only) group chats, mixed by latest activity and filtered by the same search. */
+/** Teammates and group chats, mixed by latest activity and filtered by the same search. */
export function useTeammateEntries(items: readonly HostedRemoteCollectionItem[], groups: readonly HostedRemoteCollectionItem[] | undefined, query = '') {
const { i18n } = useTranslation();
return useMemo<TeammateListEntry[]>(() => {
@@ -101,9 +67,7 @@ export function useTeammateEntries(items: readonly HostedRemoteCollectionItem[],
}, [groups, items, query, i18n.language]);
}
-type TeammateRowOptions = Pick<TeammateListProps, 'items' | 'isOnline' | 'connectionState' | 'quietPresence' | 'onSelect' | 'groups'>;
-
-/** The teammate / group row, shared by the roster and the task home's teammate section. */
+/** The teammate / group row of the task home's teammate section. */
export function useTeammateRowRenderer({ items, isOnline, connectionState, quietPresence, onSelect, groups }: TeammateRowOptions) {
const { t, i18n } = useTranslation();
const { user } = useAuth();
@@ -172,133 +136,3 @@ export function useTeammateRowRenderer({ items, isOnline, connectionState, quiet
onPress={() => groups.onSelect(entry.row)} />;
};
}
-
-/** Identity list shared by home (with group chats) and the collection route. No host headings. */
-export function TeammateList({ items, loading, refreshing, error, isOnline, connectionState, quietPresence, onRefresh, onSelect,
- embedded = false, autoFocusSearch = false, onInteract, groups, emptyAction, scrollInsetProps, topInset, notice }: TeammateListProps) {
- const { t } = useTranslation();
- const { colors } = useTheme();
- const styles = useThemedStyles(makeStyles);
- const listRef = useRef<FlatList<TeammateListEntry>>(null);
- // The notice sits in the list header; a kept-alive list may be scrolled past it when it appears.
- const showsNotice = !!notice;
- useEffect(() => { if (showsNotice) listRef.current?.scrollToOffset({ offset: 0, animated: true }); }, [showsNotice]);
- const [query, setQuery] = useState('');
- const entries = useTeammateEntries(items, groups?.items, query);
- const renderRow = useTeammateRowRenderer({ items, isOnline, connectionState, quietPresence, onSelect, groups });
- const renderEntry = (entry: TeammateListEntry, index: number) => renderRow(entry, index === entries.length - 1);
- const searchLabel = t(groups ? 'devices.companions.searchWithGroups' : 'devices.companions.search');
- const errorKey = error === 'CHAT_ENDPOINT_UNAVAILABLE' ? 'groupChat.server.endpointUnavailable'
- : error === 'CHAT_LIST_FAILED' ? 'groupChat.server.loadFailed'
- : items.length + (groups?.items.length ?? 0) ? 'devices.companions.stale' : 'devices.resources.loadFailed';
- const header = <View style={styles.controls}>
- <View style={styles.search}>
- <Search size={iconSize.md} color={colors.textPlaceholder} strokeWidth={iconStroke.regular} />
- <TextInput accessibilityLabel={searchLabel} autoFocus={autoFocusSearch}
- autoCorrect={false} onChangeText={(value) => { onInteract?.(); setQuery(value); }} onFocus={onInteract} placeholder={searchLabel}
- placeholderTextColor={colors.textPlaceholder} selectionColor={colors.inputCaret}
- style={styles.searchInput} value={query} testID="teammates.search" />
- {/* Mirrors HomeSearchBar: the trailing X clears typed text. */}
- {query.trim() ? <Pressable accessibilityRole="button" hitSlop={spacing.xs}
- accessibilityLabel={t('devices.detail.search.clearA11y')}
- onPress={() => setQuery('')}
- style={({ pressed }) => [styles.searchButton, pressed && mobileInteractionStyles.pressed]} testID="teammates.searchClose">
- <X color={colors.textTertiary} size={iconSize.md} strokeWidth={iconStroke.regular} />
- </Pressable> : null}
- </View>
- {error ? <View style={styles.noticeRow}>
- <Text accessibilityRole="alert" style={[styles.notice, styles.noticeText]} testID="teammates.error">{t(errorKey)}</Text>
- <Pressable accessibilityRole="button" accessibilityLabel={t('devices.resources.retry')} disabled={refreshing}
- onPress={onRefresh} style={styles.retry} testID="teammates.refresh">
- {refreshing ? <ActivityIndicator color={colors.textSecondary} /> : <RefreshCw size={iconSize.sm} color={colors.textSecondary} />}
- </Pressable>
- </View> : null}
- </View>;
- const searching = !!query.trim();
- const empty = loading
- ? (embedded
- ? <RemoteListSyncingPlaceholder testID="teammates.loading" />
- : <TeammateListSkeleton />)
- : searching || error || !emptyAction
- ? <MainWindowEmptyState centered style={styles.empty} testID="teammates.empty"
- title={searching ? t('devices.companions.noResults') : t('devices.companions.emptyTitle')}
- copy={searching || error ? '' : t('devices.companions.emptyCopy')} />
- : <View style={styles.emptyHome} testID="teammates.empty">
- <View style={styles.presetStack} accessibilityElementsHidden importantForAccessibility="no-hide-descendants">
- {EMPTY_PRESETS.map((source, index) => <Image key={index} source={source} style={[styles.preset, index > 0 && styles.presetOverlap]} />)}
- </View>
- <Text accessibilityRole="header" style={styles.emptyTitle}>{t('devices.companions.emptyTitle')}</Text>
- <Text style={styles.emptyCopy}>{t('devices.companions.emptyCopyCreate')}</Text>
- <View style={styles.emptyAction}>{emptyAction}</View>
- </View>;
- if (embedded) return <View testID="teammates.list">{notice}{header}{entries.length ? entries.map(renderEntry) : empty}</View>;
- return <FlatList ref={listRef} {...scrollInsetProps} style={styles.list} contentContainerStyle={[styles.content, topInset !== undefined && { paddingTop: topInset }]}
- contentInsetAdjustmentBehavior={topInset !== undefined ? 'never' : scrollInsetProps?.contentInsetAdjustmentBehavior}
- automaticallyAdjustsScrollIndicatorInsets={topInset !== undefined ? false : scrollInsetProps?.automaticallyAdjustsScrollIndicatorInsets}
- scrollIndicatorInsets={topInset !== undefined ? { top: topInset } : undefined} data={entries} keyExtractor={(entry) => `${entry.kind}:${entry.row.key}`}
- keyboardShouldPersistTaps="handled" keyboardDismissMode="on-drag" onScrollBeginDrag={onInteract} testID="teammates.list"
- ListHeaderComponent={<>{notice}{header}</>} ListEmptyComponent={empty} renderItem={({ item, index }) => renderEntry(item, index)}
- refreshControl={<RefreshControl progressViewOffset={topInset} refreshing={refreshing} onRefresh={onRefresh} tintColor={colors.textSecondary} />} />;
-}
-
-/**
- * First-load placeholders with the real row geometry. They appear only after SKELETON_DELAY_MS and
- * breathe in opacity only (no shimmer gradient); reduced motion keeps them still.
- */
-function TeammateListSkeleton() {
- const styles = useThemedStyles(makeStyles);
- const animate = useReduceMotionEnabled() === false;
- const [shown, setShown] = useState(false);
- const opacity = useRef(new Animated.Value(1)).current;
- useEffect(() => {
- const timer = setTimeout(() => setShown(true), SKELETON_DELAY_MS);
- return () => clearTimeout(timer);
- }, []);
- useEffect(() => {
- if (!shown || !animate) { opacity.setValue(1); return; }
- const step = (toValue: number) => Animated.timing(opacity, { toValue, duration: SKELETON_HALF_MS, easing: Easing.inOut(Easing.ease), useNativeDriver: true });
- const loop = Animated.loop(Animated.sequence([step(0.55), step(1)]));
- loop.start();
- return () => loop.stop();
- }, [animate, opacity, shown]);
- if (!shown) return null;
- return <Animated.View style={{ opacity }} testID="teammates.loading" accessibilityElementsHidden importantForAccessibility="no-hide-descendants">
- {SKELETON_WIDTHS.map(([title, preview], index) => <View key={index} style={styles.skeletonRow}>
- <View style={styles.skeletonAvatar} />
- <View style={[styles.skeletonBody, index < SKELETON_WIDTHS.length - 1 && styles.skeletonDivider]}>
- <View style={[styles.skeletonBar, styles.skeletonTitle, { width: title }]} />
- <View style={[styles.skeletonBar, { width: preview }]} />
- </View>
- </View>)}
- </Animated.View>;
-}
-
-const makeStyles = (colors: ThemeColors) => StyleSheet.create({
- list: { flex: 1 },
- content: { flexGrow: 1, paddingBottom: spacing.xl },
- controls: { paddingHorizontal: spacing.lg, paddingTop: spacing.xs, paddingBottom: spacing.sm, gap: spacing.sm },
- // Same pill as HomeSearchBar; the field text follows the 15pt search-box role.
- search: { flexDirection: 'row', alignItems: 'center', gap: spacing.sm, minHeight: 44, paddingLeft: spacing.lg, paddingRight: spacing.xs,
- borderRadius: radius.pill, backgroundColor: colors.surfaceElevated, borderColor: colors.border, borderWidth: StyleSheet.hairlineWidth },
- searchInput: { flex: 1, minWidth: 0, minHeight: 44, paddingVertical: spacing.sm, color: colors.textPrimary, fontSize: typeScale.bodySmall },
- // 36 visible + hitSlop 4 on each side = 44pt target.
- searchButton: { width: 36, height: 36, alignItems: 'center', justifyContent: 'center' },
- notice: { color: colors.textSecondary, fontSize: typeScale.footnote, lineHeight: lineHeight.caption },
- empty: { padding: spacing.xl, gap: spacing.md },
- noticeRow: { flexDirection: 'row', alignItems: 'center', gap: spacing.sm },
- noticeText: { flex: 1 },
- retry: { minWidth: 44, minHeight: 44, alignItems: 'center', justifyContent: 'center' },
- emptyHome: { alignItems: 'center', paddingHorizontal: spacing.xxl, paddingTop: spacing.xxl * 2, gap: spacing.sm },
- presetStack: { flexDirection: 'row', marginBottom: spacing.md },
- preset: { width: EMPTY_PRESET_SIZE, height: EMPTY_PRESET_SIZE, borderRadius: radius.pill, borderWidth: 3, borderColor: colors.surface },
- presetOverlap: { marginLeft: -(spacing.md + 2) },
- emptyTitle: { color: colors.textPrimary, fontSize: typeScale.title, lineHeight: lineHeight.title, fontWeight: fontWeight.semibold, textAlign: 'center' },
- emptyCopy: { color: colors.textSecondary, fontSize: typeScale.footnote, lineHeight: lineHeight.caption, textAlign: 'center', maxWidth: 260 },
- emptyAction: { marginTop: spacing.md },
- skeletonRow: { flexDirection: 'row', alignItems: 'center', gap: spacing.md, height: COMPANION_ROW_HEIGHT, paddingLeft: spacing.lg },
- skeletonAvatar: { width: COMPANION_ROW_AVATAR_SIZE, height: COMPANION_ROW_AVATAR_SIZE, borderRadius: radius.pill, backgroundColor: colors.surfaceChip },
- skeletonBody: { flex: 1, alignSelf: 'stretch', justifyContent: 'center', gap: spacing.md, paddingRight: spacing.lg },
- skeletonDivider: { borderBottomColor: colors.border, borderBottomWidth: StyleSheet.hairlineWidth },
- skeletonBar: { height: spacing.md, borderRadius: radius.micro, backgroundColor: colors.surfaceChip },
- skeletonTitle: { height: spacing.lg - 2 },
-});
diff --git a/apps/mobile/src/session/homeChromeMenus.ts b/apps/mobile/src/session/homeChromeMenus.ts
index c8d8f990bb..c49c1f9830 100644
--- a/apps/mobile/src/session/homeChromeMenus.ts
+++ b/apps/mobile/src/session/homeChromeMenus.ts
@@ -70,33 +70,18 @@ function checkable(
export const HOME_SCOPE_COLLECTION_PREFIX = "scope.collection:";
-export function openHomeRemoteCollection({
- collection,
- teammateCollectionId,
- embedded,
- dismissKeyboard,
- setMode,
- push,
- onModeChange,
-}: {
- collection: RemoteHomeCollection;
- teammateCollectionId: string;
- embedded: boolean;
- dismissKeyboard(): void;
- setMode(mode: "teammates"): void | Promise<void>;
- push(href: string | { pathname: string; params: Record<string, string> }): void;
- onModeChange?: (mode: "teammates") => void;
-}) {
- if (collection.id === teammateCollectionId) {
- dismissKeyboard();
- if (embedded) {
- void setMode("teammates");
- push("/devices");
- } else {
- onModeChange?.("teammates");
- }
- return;
- }
+/**
+ * Collections the home scope menus offer. Teammates are the section at the top of the home, as on
+ * desktop, so their collection is never a scope to switch to.
+ */
+export function homeScopeCollections<T extends { id: string }>(collections: readonly T[], teammateCollectionId: string): T[] {
+ return collections.filter((collection) => collection.id !== teammateCollectionId);
+}
+
+export function openHomeRemoteCollection(
+ collection: RemoteHomeCollection,
+ push: (href: { pathname: string; params: Record<string, string> }) => void,
+) {
push({
pathname: "/resources/[collectionId]",
params: {
diff --git a/apps/mobile/src/session/homeEntryPreference.ts b/apps/mobile/src/session/homeEntryPreference.ts
deleted file mode 100644
index 28f4bd81d8..0000000000
--- a/apps/mobile/src/session/homeEntryPreference.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import AsyncStorage from '@react-native-async-storage/async-storage';
-import { readRemoteResourceSnapshot } from '@/device-link/remoteResourceCache';
-import { serializeRemoteResourceTargets } from '@/device-link/remoteResources';
-
-const PREFIX = 'cindy.homeEntry.v1.';
-export type HomeEntry = 'bots' | 'tasks';
-export type CompanionListHref = {
- pathname: '/resources/[collectionId]';
- params: { collectionId: string; title: string; targets: string };
-};
-
-/** Only a top-level choice is persisted, scoped by the realm-qualified account. */
-export async function readHomeEntry(accountKey: string, userId: string): Promise<CompanionListHref | null> {
- if (!accountKey) return null;
- const entry = await AsyncStorage.getItem(PREFIX + accountKey).catch(() => null);
- if (entry !== 'bots') return null;
- const snapshot = await readRemoteResourceSnapshot(userId).catch(() => null);
- const collection = snapshot?.home.find((item) => item.id === 'teammates' && item.resourceKind === 'bot');
- // Sign-out/account-switch cleanup removes resource discovery. In that case
- // use the existing home so it can rediscover this account's hosts; never open
- // an unreachable empty list or borrow another account's targets.
- if (!collection || collection.targets.length === 0) return null;
- return {
- pathname: '/resources/[collectionId]',
- params: {
- collectionId: 'teammates',
- title: collection.title,
- targets: serializeRemoteResourceTargets(collection.targets),
- },
- };
-}
-
-// Preserve tap order even if native storage completes writes out of order.
-let writes: Promise<void> = Promise.resolve();
-export function saveHomeEntry(accountKey: string, entry: HomeEntry): Promise<void> {
- if (!accountKey) return Promise.resolve();
- writes = writes.then(() => AsyncStorage.setItem(PREFIX + accountKey, entry)).catch(() => undefined);
- return writes;
-}
-
-export function homeEntryForRoute(pathname: string, resourceKind?: string): HomeEntry | null {
- if (pathname === '/resources/teammates' || pathname.startsWith('/resources/teammates/')
- || pathname.startsWith('/companions/')) return 'bots';
- if (pathname.startsWith('/sessions/')) return resourceKind === 'bot' ? 'bots' : 'tasks';
- if (pathname === '/' || pathname === '/devices' || pathname.startsWith('/devices/')) return 'tasks';
- return null;
-}
diff --git a/apps/mobile/src/session/homeViewPreferenceStore.ts b/apps/mobile/src/session/homeViewPreferenceStore.ts
index 21adc14a2d..866d10369e 100644
--- a/apps/mobile/src/session/homeViewPreferenceStore.ts
+++ b/apps/mobile/src/session/homeViewPreferenceStore.ts
@@ -237,7 +237,6 @@ function readStringList(value: unknown): string[] {
/** Explicit navigation overrides are separate from legacy device/display preferences.
* Identity is account + host + resource, never a cached canonical Session or a name.
*/
-export type HomeMode = 'tasks' | 'teammates';
export interface LastTeammateIdentity {
deviceId: string;
collectionId: string;
@@ -245,7 +244,7 @@ export interface LastTeammateIdentity {
resourceId: string;
}
export interface HomeNavigationPreferences {
- mode?: HomeMode;
+ /** Preselects the computer when creating another teammate; launch never reopens it. */
lastTeammate?: LastTeammateIdentity;
/** The task home's teammate section: rows (false/absent) or the avatar strip (true). */
teammatesCollapsed?: boolean;
@@ -259,8 +258,8 @@ export function normalizeHomeNavigationPreferences(value: unknown): HomeNavigati
const identityFields = ['deviceId', 'collectionId', 'resourceId'] as const;
const validLast = last?.resourceKind === 'bot' && identityFields.every((field) =>
typeof last[field] === 'string' && last[field].trim().length > 0 && last[field].length <= 256);
+ // The retired tasks/teammates `mode` is dropped here, so the next write clears it.
return {
- ...(record.mode === 'tasks' || record.mode === 'teammates' ? { mode: record.mode } : {}),
...(typeof record.teammatesCollapsed === 'boolean' ? { teammatesCollapsed: record.teammatesCollapsed } : {}),
...(validLast ? { lastTeammate: {
deviceId: last!.deviceId as string,
@@ -281,7 +280,7 @@ export async function readHomeNavigationPreferences(owner: string): Promise<Home
export function saveHomeNavigationPreferences(
owner: string,
- patch: { mode?: HomeMode; lastTeammate?: LastTeammateIdentity | null; teammatesCollapsed?: boolean },
+ patch: { lastTeammate?: LastTeammateIdentity | null; teammatesCollapsed?: boolean },
): Promise<void> {
if (!owner) return Promise.resolve();
// Share the existing serialized writer; each operation captures its own owner.
diff --git a/apps/mobile/src/session/teammateNavigation.ts b/apps/mobile/src/session/teammateNavigation.ts
index 3911fd5c46..9081e8174d 100644
--- a/apps/mobile/src/session/teammateNavigation.ts
+++ b/apps/mobile/src/session/teammateNavigation.ts
@@ -49,15 +49,13 @@ export function teammateResourceRoute(hosted: HostedRemoteCollectionItem, locale
* The read-only cloud view of a companion whose main computer is offline
* (docs/product-rules/cloud-companions.md §3.1). The row's computer is that main computer.
*/
-/** `keepMode`: opened from the task home, so the conversation that takes over still returns to the tasks. */
-export function cloudCompanionRoute(hosted: HostedRemoteCollectionItem, actorId: string, locale: string, options?: { keepMode?: boolean }) {
+export function cloudCompanionRoute(hosted: HostedRemoteCollectionItem, actorId: string, locale: string) {
return {
pathname: '/companions/cloud/[actorId]' as const,
params: {
actorId, botId: hosted.item.ref.id,
deviceId: hosted.host.deviceId, deviceName: hosted.host.deviceName,
title: resolveRemoteText(hosted.item.display.title, locale),
- ...(options?.keepMode ? { keepMode: '1' } : {}),
},
};
}
diff --git a/apps/mobile/src/session/useHomeMode.ts b/apps/mobile/src/session/useHomeMode.ts
index 105cb8df97..e322f37ed0 100644
--- a/apps/mobile/src/session/useHomeMode.ts
+++ b/apps/mobile/src/session/useHomeMode.ts
@@ -2,7 +2,7 @@ import { useCallback, useEffect, useSyncExternalStore } from 'react';
import { useAuth, type MobileUser } from '@/auth/AuthContext';
import {
readHomeNavigationPreferences, saveHomeNavigationPreferences,
- type HomeMode, type HomeNavigationPreferences, type LastTeammateIdentity,
+ type HomeNavigationPreferences, type LastTeammateIdentity,
} from './homeViewPreferenceStore';
import { startBoundedStartupRead } from './mobileHomeStartup';
@@ -12,12 +12,10 @@ export function homeNavigationOwner(user: MobileUser | null): string {
}
interface Snapshot {
hydrated: boolean;
- mode: HomeMode;
lastTeammate: LastTeammateIdentity | null;
teammatesCollapsed: boolean;
- saveFailed: boolean;
}
-const initial: Snapshot = { hydrated: false, mode: 'tasks', lastTeammate: null, teammatesCollapsed: false, saveFailed: false };
+const initial: Snapshot = { hydrated: false, lastTeammate: null, teammatesCollapsed: false };
interface Entry { snapshot: Snapshot; revision: number; loading?: Promise<void> }
const entries = new Map<string, Entry>();
const listeners = new Set<() => void>();
@@ -38,12 +36,11 @@ function hydrate(owner: string, entry: Entry): Promise<void> {
const read = startBoundedStartupRead<HomeNavigationPreferences>(readHomeNavigationPreferences(owner), {});
entry.loading = read.initial.then(({ value: stored, timedOut }) => {
publish(entry, entry.revision === revision
- ? { hydrated: true, mode: stored.mode ?? 'tasks', lastTeammate: stored.lastTeammate ?? null,
+ ? { hydrated: true, lastTeammate: stored.lastTeammate ?? null,
teammatesCollapsed: stored.teammatesCollapsed ?? false }
: { hydrated: true });
if (timedOut) void read.completion.then((result) => {
- // Never switch away from the task list the user has begun using after a timeout.
- // The stored mode remains intact on disk; only recover the identity for the next explicit switch.
+ // Late values only fill in what the user has not changed since the timeout.
if (result.ok && entry.revision === revision) publish(entry, {
lastTeammate: result.value.lastTeammate ?? null, teammatesCollapsed: result.value.teammatesCollapsed ?? false,
});
@@ -59,24 +56,27 @@ export function useHomeMode() {
const entry = entryFor(owner);
const snapshot = useSyncExternalStore(subscribe, () => entry.snapshot, () => initial);
useEffect(() => { if (owner) void hydrate(owner, entry); }, [entry, owner]);
- const update = useCallback((patch: { mode?: HomeMode; lastTeammate?: LastTeammateIdentity | null; teammatesCollapsed?: boolean }) => {
+ const update = useCallback((patch: { lastTeammate?: LastTeammateIdentity | null; teammatesCollapsed?: boolean }) => {
if (!owner) return Promise.resolve();
- // Hydrate first so changing mode cannot erase an unread last-teammate choice.
+ // Hydrate first so one write cannot erase the other, not yet read, preference.
return hydrate(owner, entry).then(() => {
entry.revision += 1;
- const revision = entry.revision;
- publish(entry, { ...patch, saveFailed: false });
- // Navigation must not wait behind a stalled native storage write. The preference is
- // immediately shared in memory; durable failure is reported separately, never as success.
- void saveHomeNavigationPreferences(owner, patch).catch(() => {
- if (entry.revision === revision) publish(entry, { saveFailed: true });
- });
+ publish(entry, patch);
+ // Navigation must not wait behind a stalled native storage write: the choice is shared in
+ // memory at once, and a failed write only means the next launch shows the earlier choice.
+ void saveHomeNavigationPreferences(owner, patch).catch(() => undefined);
});
}, [entry, owner]);
- const setMode = useCallback((mode: HomeMode) => update({ mode }), [update]);
- // The remembered teammate only preselects its computer when creating another; launch never reopens it.
- const selectTeammate = useCallback((identity: LastTeammateIdentity, options?: { keepMode?: boolean }) =>
- update(options?.keepMode ? { lastTeammate: identity } : { mode: 'teammates', lastTeammate: identity }), [update]);
+ const selectTeammate = useCallback((identity: LastTeammateIdentity) => update({ lastTeammate: identity }), [update]);
const setTeammatesCollapsed = useCallback((teammatesCollapsed: boolean) => update({ teammatesCollapsed }), [update]);
- return { ...snapshot, owner, setMode, selectTeammate, setTeammatesCollapsed };
+ return { ...snapshot, owner, selectTeammate, setTeammatesCollapsed };
+}
+
+/** Hold the startup splash until the home's teammate section knows its stored collapse state. */
+export function useHomeStartupSplashRelease(releaseSplash: () => void): void {
+ const auth = useAuth();
+ const { owner, hydrated } = useHomeMode();
+ useEffect(() => {
+ if (auth.initialized && (!auth.isAuthenticated || !owner || hydrated)) releaseSplash();
+ }, [auth.initialized, auth.isAuthenticated, hydrated, owner, releaseSplash]);
}
diff --git a/apps/mobile/src/session/useTeammateNavigation.ts b/apps/mobile/src/session/useTeammateNavigation.ts
index a40c57758a..161bca4f65 100644
--- a/apps/mobile/src/session/useTeammateNavigation.ts
+++ b/apps/mobile/src/session/useTeammateNavigation.ts
@@ -7,7 +7,6 @@ import type { RemoteResourceRef } from '@cindy/device-link';
import type { HostedRemoteCollectionItem, RemoteResourceHostTarget } from '@/device-link/remoteResources';
import { useGuardedPush } from '@/utils/useGuardedPush';
import { useHomeMode } from './useHomeMode';
-import type { HomeMode } from './homeViewPreferenceStore';
import { homeDismissCount, teammateIdentity, teammateResourceRoute, teammateSessionPreview } from './teammateNavigation';
import { remoteSessionStore } from './remoteSessionStore';
import { readRemoteCollectionCache, writeRemoteCollectionCache } from '@/device-link/remoteResourceAvailability';
@@ -24,43 +23,35 @@ export function useTeammateNavigation() {
const pendingAccount = useRef<number | null>(null);
const mounted = useRef(true);
useEffect(() => { mounted.current = true; return () => { mounted.current = false; }; }, []);
- const chooseMode = useCallback(async (mode: HomeMode) => {
+ /** Back to the home, whose teammate section replaced the separate teammate list. */
+ const returnHome = useCallback(() => {
if (pendingAccount.current === accountGeneration) return;
- pendingAccount.current = accountGeneration;
Keyboard.dismiss();
- try {
- await preferences.setMode(mode);
- if (mounted.current && current.current === accountGeneration) {
- const state = navigation.getState();
- const routes = state?.routes.slice(0, state.index + 1) ?? [];
- const count = homeDismissCount(routes);
- // Pop by position to preserve the mounted home's state.
- if (count === null) {
- const legacyIndex = routes.findIndex(route => route.name === 'resources/[collectionId]'
- && (route.params as { collectionId?: string } | undefined)?.collectionId === 'teammates');
- // POP_TO only replaces the top when home is absent, leaving the retired route underneath.
- if (legacyIndex >= 0) navigation.reset({
- index: legacyIndex,
- routes: [...routes.slice(0, legacyIndex), { name: 'devices/index' }],
- } as never);
- else router.dismissTo('/devices');
- }
- else if (count > 0) router.dismiss(count);
- }
- } finally { if (pendingAccount.current === accountGeneration) pendingAccount.current = null; }
- }, [accountGeneration, navigation, preferences.setMode, router]);
- /**
- * `replace` swaps the current screen (the cloud view handing over to the new main computer).
- * `keepMode`: opened from the task home's teammate section, so back returns to the tasks.
- */
- const openTeammate = useCallback(async (hosted: HostedRemoteCollectionItem, options?: { replace?: boolean; keepMode?: boolean }) => {
+ const state = navigation.getState();
+ const routes = state?.routes.slice(0, state.index + 1) ?? [];
+ const count = homeDismissCount(routes);
+ // Pop by position to preserve the mounted home's state.
+ if (count === null) {
+ const legacyIndex = routes.findIndex(route => route.name === 'resources/[collectionId]'
+ && (route.params as { collectionId?: string } | undefined)?.collectionId === 'teammates');
+ // POP_TO only replaces the top when home is absent, leaving the retired route underneath.
+ if (legacyIndex >= 0) navigation.reset({
+ index: legacyIndex,
+ routes: [...routes.slice(0, legacyIndex), { name: 'devices/index' }],
+ } as never);
+ else router.dismissTo('/devices');
+ }
+ else if (count > 0) router.dismiss(count);
+ }, [accountGeneration, navigation, router]);
+ /** `replace` swaps the current screen (the cloud view handing over to the new main computer). */
+ const openTeammate = useCallback(async (hosted: HostedRemoteCollectionItem, options?: { replace?: boolean }) => {
const identity = teammateIdentity(hosted);
if (!identity || pendingAccount.current === accountGeneration) return;
// Fence rapid taps before the async preference write, not only at router.push.
pendingAccount.current = accountGeneration;
Keyboard.dismiss();
try {
- await preferences.selectTeammate(identity, { keepMode: options?.keepMode });
+ await preferences.selectTeammate(identity);
if (mounted.current && current.current === accountGeneration) {
const owner = `${user?.id ?? ''}:${accountGeneration}`;
const cached = readRemoteCollectionCache(owner, identity.collectionId);
@@ -79,19 +70,18 @@ export function useTeammateNavigation() {
}
} finally { if (pendingAccount.current === accountGeneration) pendingAccount.current = null; }
}, [accountGeneration, i18n.language, preferences.selectTeammate, push, router, user?.id]);
- const openCreatedTeammate = useCallback(async (host: RemoteResourceHostTarget, ref: RemoteResourceRef, options?: { keepMode?: boolean }) => {
+ const openCreatedTeammate = useCallback(async (host: RemoteResourceHostTarget, ref: RemoteResourceRef) => {
if (!mounted.current || current.current !== accountGeneration || !host.deviceId || !ref.id || !ref.collectionId
|| ref.kind !== 'bot' || pendingAccount.current === accountGeneration) return;
pendingAccount.current = accountGeneration;
Keyboard.dismiss();
try {
- await preferences.selectTeammate({ deviceId: host.deviceId, collectionId: ref.collectionId, resourceKind: 'bot', resourceId: ref.id },
- { keepMode: options?.keepMode });
+ await preferences.selectTeammate({ deviceId: host.deviceId, collectionId: ref.collectionId, resourceKind: 'bot', resourceId: ref.id });
if (mounted.current && current.current === accountGeneration) push({
pathname: '/resources/[collectionId]/[resourceId]',
params: { deviceId: host.deviceId, deviceName: host.deviceName, collectionId: ref.collectionId, resourceKind: ref.kind, resourceId: ref.id },
});
} finally { if (pendingAccount.current === accountGeneration) pendingAccount.current = null; }
}, [accountGeneration, preferences.selectTeammate, push]);
- return { ...preferences, chooseMode, openTeammate, openCreatedTeammate };
+ return { ...preferences, returnHome, openTeammate, openCreatedTeammate };
}
diff --git a/docs/design-rules/DESIGN.md b/docs/design-rules/DESIGN.md
index 8ba9c44aad..d3fd7804b6 100644
--- a/docs/design-rules/DESIGN.md
+++ b/docs/design-rules/DESIGN.md
@@ -706,22 +706,23 @@ Decision: [#6796, maintainer confirmation](https://github.com/makecindy/cindy/is
### Desktop teammate sidebar
-The expanded teammate section previews five chats (local teammates, remote teammates, groups and the merged Cindy device row share this limit). Keep the current chat visible within those five rows. Use the task list’s “Show all N” footer style, with “Show less” after expansion. Collapsing the section to its existing avatar strip resets the preview; the strip’s +N button opens the full list. This limit applies to the Desktop sidebar, not the Mobile teammate home list.
+The expanded teammate section previews five chats (local teammates, remote teammates, groups and the merged Cindy device row share this limit). Keep the current chat visible within those five rows. Use the task list’s “Show all N” footer style, with “Show less” after expansion. Collapsing the section to its existing avatar strip resets the preview; the strip’s +N button opens the full list. This limit applies to the Desktop sidebar; the Mobile task home section below previews three.
### Mobile task home teammate section (owner-approved “A+B”, 2026-10-24)
-The task home opens with a “Teammates” section above shared tasks, Pinned and projects. Its header uses the project/Pinned header geometry (56pt, 22 chevron + 20 icon + 16/28 title + 13 count) and a trailing 20pt “+” whose 44pt target ends on the 16pt right edge. Expanded, it shows the teammate home’s 78pt rows (teammates and groups mixed by activity), previewing three; the “Show all N” / “Show less” row is 48pt, 15/20 secondary text aligned to the rows’ text column (72pt). Collapsed, it becomes a horizontally scrolling strip: 56pt avatars in 64pt cells, 8pt gap, 16pt side insets, 12/18 names (primary + medium when unread), the row’s 10pt unread dot in a 2pt surface ring, the presence ring while replying, and a dashed 56pt create cell last. Phones scroll instead of the Desktop +N. Both states swap with the list’s 225ms disclosure; reduced motion switches instantly. Every language must fit the header and names without widening; long names truncate to one line within the cell.
+The task home opens with a “Teammates” section above shared tasks, Pinned and projects. Its header uses the project/Pinned header geometry (56pt, 22 chevron + 20 icon + 16/28 title + 13 count) and a trailing 20pt “+” whose 44pt target ends on the 16pt right edge. Expanded, it shows 78pt teammate rows (teammates and groups mixed by activity), previewing three; the “Show all N” / “Show less” row is 48pt, 15/20 secondary text aligned to the rows’ text column (72pt). Collapsed, it becomes a horizontally scrolling strip: 56pt avatars in 64pt cells, 8pt gap, 16pt side insets, 12/18 names (primary + medium when unread), the row’s 10pt unread dot in a 2pt surface ring, the presence ring while replying, and a dashed 56pt create cell last. Phones scroll instead of the Desktop +N. Both states swap with the list’s 225ms disclosure; reduced motion switches instantly. Every language must fit the header and names without widening; long names truncate to one line within the cell.
+
+There is one mobile home, as on Desktop (owner decision, 2026-10-24): no separate teammate home, no Tasks/Teammates switch in the drawer and no Teammates entry in the title scope menu. Home search keeps the section and lists every matching teammate and group as expanded rows, without the fold toggle or create entries; with no match the section is absent. Teammate unread shows on the section's rows and strip cells, not as a count on a mode switch.
### Mobile iOS navigation chrome / iPhone Duo
-- Home modes are ordered tabs: Tasks on the left, Teammates on the right (owner decision, 2026-10-13); the slide below is iOS-only, Android switches in place because its bar lives inside each pane. All mode-selection entry points, including drawer tabs and title scope menus, use the same horizontal slide via HomeModePanes / HomeModeTransition. Switching to Teammates moves content left; switching back moves it right. One shared progress owned by `ResidentHomeListProvider` drives the panes and the wide resident task list over the same slide distance; it moves on the critically damped spring registered in §14.4. Retain both visited lists and their positions, retarget interrupted slides from the current position, and snap for reduced/unknown motion preference or initial preference restoration. The resident list follows without remounting; inactive pages cannot intercept touches or accessibility focus. This is a selection transition, not a new horizontal gesture that competes with list controls.
-- Home menu attention is a **6pt visible dot**, not a numeric badge. The normal and attention menu images share a transparent 26pt canvas with the same centered narrow 20pt glyph, so attention never shifts the menu artwork or changes the native hit target. Use semantic template tint in both modes; do not use an empty Stack.Toolbar.Badge (the current header bridge creates a large string badge). Duo uses the same template; the Android teammate fallback uses the same 6pt dot diameter. Numeric counts and connection/list status dots keep their separate roles and sizes.
+- The home menu artwork is the narrow 20pt glyph centered in a transparent 26pt canvas, with semantic template tint in both modes; do not use an empty Stack.Toolbar.Badge (the current header bridge creates a large string badge). Duo uses the same template. The menu carries no attention dot: it only marked tasks needing attention from the retired teammate home.
-- Task and Teammate home share the iOS navigation container, menu control and centered-title width through HomeStackHeader (2026-10-13). The bar's measured-height blur is drawn once by HomeModePanes outside the sliding panes, because the native bar itself does not slide. Only the active home pane registers native chrome; hidden panes keep their content state. The home menu uses the slightly narrower three-line template in assets/navigation/menu.svg (owner refinement, 2026-10-13); only artwork changes, not button geometry or hit targets. System toolbars own ordinary menu/create/action geometry, with the existing Duo top-left exception shared by both homes. **Title alignment is intentionally page-specific**: task scope titles retain their long-name toolbar avoidance, while the Teammates title stays centered. Shared chrome must not force the teammate title to inherit task alignment. The teammate list reserves the measured native bar height once, including its scroll indicator and refresh position. Android retains its existing fallback in this batch; chat, secondary-page and sheet headers are not claimed migrated.
+- The home takes its iOS navigation container, menu control and centered-title width from HomeStackHeader (2026-10-13). The bar's measured-height blur is drawn once by the home route behind the bar. The home menu uses the slightly narrower three-line template in assets/navigation/menu.svg (owner refinement, 2026-10-13); only artwork changes, not button geometry or hit targets. System toolbars own ordinary menu/create/action geometry, with the existing Duo top-left exception. Task scope titles retain their long-name toolbar avoidance. Android retains its existing fallback; chat, secondary-page and sheet headers are not claimed migrated.
- Teammate and group chat headers (`ChatIdentityHeader`) keep their left-aligned identity (mark, name, one subtitle line) next to back (owner decision, 2026-10-13). Back is the task header's system `chevron.backward` (`NativeChromeBackButton`). The trailing to-do and settings actions stay **two separate glass circles** with their existing Lucide artwork (18pt); only their stroke rises to `CHAT_HEADER_GLYPH_STROKE` (`iconStroke.medium`, about 1.65pt) so they read level with back — do not group them into one capsule or swap their artwork. On iOS the header floats on the same feathered `SessionHeaderNativeBlur` as the task header and content scrolls beneath it; an opaque header band is not allowed because its hard bottom edge reads as a divider. Because the two-line identity runs to the header's lower edge, chat headers keep the whole header over solid blur and feather only below it (`CHAT_HEADER_BLUR_FADE_INSIDE = 0`); single-line task and home bars keep the default 24pt inside feather. All iOS header blurs are progressive (owner request, 2026-10-13, to approach the softer system scroll edge on Settings): three equal layers (`HEADER_BLUR_LAYER_INTENSITY`) start fading together and finish at one third, two thirds and the end of the fade, which reaches `HEADER_BLUR_FADE_OUTSIDE` (24pt) past the chrome edge, so the blur thins toward content instead of one layer cross-fading into a double image. The composer's bottom blur keeps its single 55 layer. Android keeps its existing header.
-- Explicitly selecting Teammates in the mobile home or chat drawer opens the teammate list, even with one teammate or when Teammates is already active. The mode switch itself never enters a chat; picking a teammate opens it. Keep cold-start recovery of a verified remembered teammate separate from this explicit navigation. Teammate rows share the task list typography: 18pt medium (500) titles with 28pt line height, 15pt regular previews with 26pt line height, and 13pt metadata with 22pt line height.
+- Teammate rows share the task list typography: 18pt medium (500) titles with 28pt line height, 15pt regular previews with 26pt line height, and 13pt metadata with 22pt line height.
- Wide Home and task-sidebar presentations share one native list instance in `ResidentHomeListProvider`, outside route lifetimes. Route slots supply layout and callbacks; do not key the host by task/route or restore a cached offset over its live scroll position. Collapse/expand its bounds, keep native headers outside its touch area, and pause hidden row subscriptions. Narrow screens retain their route-local list.
@@ -1234,8 +1235,6 @@ long duration to leak into any other hover or transition.
**Mobile list disclosure rhythm (owner request, 2026-09-30).** On mobile, expanding and collapsing list groups (home pinned / shared / project / conversation groups, automation run groups on the home and device pages, the collapsible Settings debug group) and task-row moves from archive, unarchive, pin or unpin (rows leaving stay visible while the rows below close over them, then fade) follow the iOS system list rhythm instead of the Desktop `base` tier (200ms): 225ms quadratic ease-out with no overshoot, reaching about 90% of the travel within 150ms (the owner asked for the first 450ms version to be halved the same day). The group opens from under its header: list cells clip their content while their position and height animate, new rows sit at their final positions and are revealed as the group grows, and the rows below move down in step; new rows do not fade in place. Collapsing reverses this: removed rows stay visible while the group closes over them and fade only near the end. The disclosure chevron switches without animation. The duration lives in mobile's `listDisclosureMotion` token and the shared implementation is `apps/mobile/src/session/listDisclosureTransition.tsx` (Reanimated layout animations, attached only during the transition window; React Native `LayoutAnimation` is a no-op in this app because Reanimated owns the Fabric mounting layer). Reduced motion switches instantly. This exception does not apply to Desktop, sheets, dialogs, or other panels.
-**Mobile home mode slide (owner request, 2026-10-13).** Switching the mobile home between Tasks (left) and Teammates (right) — from the drawer or the title menu — slides the content horizontally on a critically damped spring (mass 1, stiffness 320, damping 36, overshoot clamped: about a 0.35s response, no visible bounce) instead of a duration tier. A reversal mid-slide is retargeted from the current position without restarting an ease-in-out, so it responds at once and a short remaining distance settles quickly. The parameters live in `HOME_MODE_SLIDE_SPRING` (`apps/mobile/src/session/HomeModeTransition.ts`). The navigation bar, its title and its blur do not slide. Reduced or not-yet-known motion preference switches instantly. iOS only: Android pages still draw their own bar inside each pane, so Android switches in place until that bar is lifted out of the panes. This exception does not apply to any other surface.
-
**Mobile image viewer edge elasticity (owner request, 2026-10-10).** In the mobile full-screen image viewer (`apps/mobile/src/session/ImageLightbox.tsx`), direct manipulation follows the system Photos physics instead of hard stops: a zoomed one-finger pan may run past the image edge with rubber-band resistance (UIScrollView coefficient 0.55 over the container size), and a pinch may overshoot 1x / the maximum zoom with the same resistance. On release, anything out of bounds returns on a near-critically damped spring (no visible oscillation, about 0.3s); an in-bounds release continues with inertial decay that may briefly overrun the edge and return; a touch catches it in place. Scale and translation settle on the same spring so the point under the fingers stays put. These are physics responses to the hand, not duration-tier transitions, so they use spring/decay parameters rather than motion tokens; the parameters and decisions live in `imageLightboxModel.ts`. A single image at 1x keeps the native horizontal edge bounce. This exception does not apply to any other surface.
**macOS menu bar quota fill (owner request, 2026-10-11; liquid and ripple 2026-10-16).** The native menu bar panel (`apps/desktop/native/menubar/`) fills its detail rings from empty over 0.5s with `timingCurve(0.22, 1, 0.36, 1)` (no overshoot) each time the panel opens or a page loads; page switches use the same curve and duration. Usage tube liquid rises on the same curve over 0.9s, staggered 60ms per tube; while it rises the surface rocks only slightly (about 1pt, a quick 0.34s rock that swells mid-climb and is level again on arrival) and it sloshes properly once it stops — inertia tips the surface from side to side (first mode, up to about 5pt at the edges for a nearly full tube, ~0.95s period) with a smaller faster second mode, decaying over about 4.5s. How hard a tube sloshes follows how high its liquid climbed (momentum grows with level^1.5, so a low tube barely moves), and every opening draws a fresh profile — first lean direction, strength, period, decay, the second mode and the instant of arrival — so the tubes never repeat themselves. The slosh then decays to the gentle ripple on a source in use and to a still surface everywhere else (owner request, 2026-10-16). The task total reads "3M token · $66.46": tokens first, so the amount ends flush with the task amounts below; without tokens the amount alone sits at the right. Plain numbers (tube values, task amounts and total, the month total, the detail ring value) count up from zero on the same 0.9s curve each time the panel opens, with the final text reserving its width so nothing shifts; strings that mix in words stay static. Today's task total (19pt) reads larger than each task's amount (14pt). After the opening settles, continuous motion carries one meaning only — **tokens are being spent right now**: the liquid surface of a source that a running task on this computer is drawing on ripples gently (about 1.5pt, a 3.6s period; main marks it `active` from the running session's provider, with Cindy-managed providers marking the Cindy balance), and a running task's share bar carries a travelling highlight. When the task stops, the ripple eases to a flat, still surface over 1.4s; every other tube and the warning glow stay still. Feedback: moving the pointer onto a tube gives its liquid a small nudge (about a third of the opening slosh, scaled by its level, random first direction) that dies down within about a second, and sweeping across the row does not restart a nudge that just began; a pressed tube squeezes to 95% and springs back; the "Open Cindy" `>` slides in once as the panel opens, leans 2pt forward on hover and pushes 4pt on press. These are SwiftUI motions, not Web duration tiers: the Web tokens do not apply inside the native helper. Reduced motion shows the final values without animation and keeps every surface still. This exception does not apply to any other surface.
diff --git a/docs/design-rules/design-decision-log.md b/docs/design-rules/design-decision-log.md
index 73a939afa4..10dbf1febe 100644
--- a/docs/design-rules/design-decision-log.md
+++ b/docs/design-rules/design-decision-log.md
@@ -12,6 +12,8 @@
## 2026-10
+- **10-24 手机退役「任务/伙伴」两种首页模式:伙伴与任务完全打平,和电脑一致**——用户指出伙伴段上线后抽屉里的「任务 | 伙伴」切换和标题范围菜单里的「伙伴」仍是一套独立筛选,既然伙伴已经并入任务首页就不应再有独立筛选。现行:首页只有一种;抽屉不再放任务/伙伴分段控件,标题范围菜单不再列出伙伴;首页搜索同时列出匹配的伙伴;伙伴未读显示在伙伴段行与头像条蓝点上。被取代:10-13 的任务/伙伴左右滑动切换、伙伴首页、分段计数与菜单键注意点(`menu-attention` 资源已删除)。旧版本存下的「上次停在伙伴页」偏好在下次写入时清除,不再恢复。落点:`DESIGN.md` 手机首页段落;`apps/mobile/src/session/HomeSurface.tsx`、`HomeTeammatesSection.tsx`、`useHomeMode.ts`。
+
- **10-23 登录页文字并入墨水阶梯;移除 `figma-component-spec.md`**——用户裁决:登录页不再单独挑灰,文字与主界面共用一条墨水阶梯,规则只写一处。`login-*` 仍是独立 token 族(只跟随 light / dark、受主题导入保护),但标题、输入已填字、回调页标题取正文档 88% / 82%,副标题 / 倒计时 / 「跳过登录」/ 回调页正文取次要档 56% / 55%,输入占位取占位档 32% / 30%;品牌回调页(`oauthResultPage.ts`)的标题、正文与错误码细节同步改用墨水档;新增 `loginInkLadder.test.ts` 断言六个 token 与 CINDY 主界面同值。背景:原副标题双模同值 `#6F6F6F` 在深色面板 `#312F2F` 上只有 2.6:1(现 5.2:1);亮色输入占位 `#D4D4D4` 在输入框上 1.3:1 几乎看不见(现 2.2:1);其余各档视觉基本不变(亮色副标题 4.9 → 4.9,深色已填字 12.3 → 10.1)。按钮前景(主按钮字、链接字、禁用钮字)不属文字档,保留实色。同批移除 `figma-component-spec.md`:它是 2026-07 的 Figma 组件逐态读取记录,7 月底后未再回写(10-01 画布底改值等均未跟进),现行值早已以 `DESIGN.md §16` 与代码常量为准;仍现行的按钮族 hover / pressed 状态矩阵已迁入 §16.5,其余为历史读取记录,可在移除前的提交 `70b32d7578` 查阅。范围:Desktop;Mobile 登录皮暂保留原实色,另行收拢。现行落点:`DESIGN.md` §16.1 / §16.2 / §16.5,`colors.ts` login 组,`oauthResultPage.ts` 品牌回调页。
- **10-22 Cindy 中性色改为墨水加透明度(苹果 label 色做法):文字、悬停与选中底、边框;退役 U2、2026-08 文字暖阶梯与双锚定**——用户在实验皮肤 Cindy Next 里对比后裁决:Cindy 的中性色不再逐档挑实色灰,统一为浅色黑、深色白加透明度。文字:强调 95/100%、正文 88/82%、说明 70/66%、次要 56/55%、三级 44/40%、占位与禁用 32/30%,层级严格由深到浅;填充与线:柔和悬停 3.5/4%、悬停与标签底 5/6%、选中与按下 8/10%、弱档 10/13%、边框与分割线 8/10%;浅色关闭态开关轨道随之由 `#888888` 加深到 `#808080`,压在悬停行上保住 3:1;Fast/思考小开关的关闭轨道原本借用禁用文字色,改为跟随开关关闭轨道;三处设置输入框去掉叠在占位色上的额外透明度,与标准输入框一致;随后整体复查,把组件里不合规则的文字一并收回到档位:借用三级/说明/次要档的占位文字 25 处改用占位档,在文字色上再叠透明度假装层级的 110 处改用最接近的档位(深色悬浮提示等反色底、分段选择器内的计数、拖动影子 9 处按规则保留),写死的灰色 1 处改用次要档,主聊天输入框占位不再叠 40%,并新增 `textTierDiscipline` 守卫防止退回。10-23 用户追加裁决:思考过程正文由三级改为次要(三级下浅色 3.2、深色 3.8 过淡;次要浅色与改前持平 4.8、深色 6.1)。同时修复半透明墨水带来的图标问题:多段描边的图标在笔画交叉处叠色出深点(浅色)/亮点(深色),改为整枚合成(`globals.css`,lucide 自动生效,手画多段单色图标加 `data-ink-icon`)。背景:原 Cindy 的三级比次要更醒目(浅 `#6B6B67` 对 `#888883`,深 `#C1C1C1` 对 `#6F6F6F`),「平时三级、悬停变次要」会越悬停越淡;占位与三级同值,读起来像已填写;深色下标签底 `#1D1D1D` 比卡片 `#1F1F1F` 还暗;实色灰和实色边框压在毛玻璃、壁纸上会丢层级或变成一道道白线。实测:壁纸·浅色时侧栏的时间、项目名、分组标题约 1.5:1 → 约 2.7:1,浅色悬停与页面色差 1.04 → 1.10。用户确认范围时已知悉:壁纸上的分割线会明显变淡(嫌淡可把边框提到 10–12%)。被取代:§15.5 U2(及其反向冻结)、§15.16 浅色「文字渐进暖」与「双锚定」。同时改写壁纸一节「Never reduce text or control opacity」的措辞:原意是调壁纸可见度时不淡化文字与控件,并非禁止半透明文字色。范围:Desktop 的 Cindy 皮肤;其他内置皮肤与用户主题不变,Mobile 另行阶段。现行落点:`DESIGN.md` §2 / §7 / §10 / §15.5 / §15.6 / §15.16,`token-decision-table.md` §9.1–§9.4。
diff --git a/docs/design-rules/design-inventory.md b/docs/design-rules/design-inventory.md
index bd7076849f..6137310cae 100644
--- a/docs/design-rules/design-inventory.md
+++ b/docs/design-rules/design-inventory.md
@@ -50,25 +50,25 @@
| `desktop.window.sidebar` | desktop | 右侧栏独立窗口 | `?sidebarWindow=1` → renderer/sidebar-window-entry.tsx;hash `/sidebar-window` | RightSidebar, RightSidebarShell, SidebarWindowLayout | apps/desktop/src/main/right-sidebar-window/controller.ts, apps/desktop/src/main/right-sidebar-window/ipc.ts, apps/desktop/src/main/right-sidebar-window/registry.ts, apps/desktop/src/main/right-sidebar-window/resolveHostContext.ts, apps/desktop/src/main/right-sidebar-window/settings-store.ts, apps/desktop/src/main/right-sidebar-window/window.ts, apps/desktop/src/renderer/components/layout/SidebarWindowLayout.tsx, apps/desktop/src/renderer/features/right-sidebar/AddTabDropdown.tsx, apps/desktop/src/renderer/features/right-sidebar/EmptyState.tsx, apps/desktop/src/renderer/features/right-sidebar/RightSidebarShell.tsx, apps/desktop/src/renderer/features/right-sidebar/TabBar.tsx, apps/desktop/src/renderer/features/right-sidebar/TabBodyErrorBoundary.tsx, apps/desktop/src/renderer/features/right-sidebar/TabDragController.tsx, apps/desktop/src/renderer/features/right-sidebar/TabGroupPanel.tsx, apps/desktop/src/renderer/features/right-sidebar/botMenuOwnerContext.ts, apps/desktop/src/renderer/features/right-sidebar/globalTabs.ts, apps/desktop/src/renderer/features/right-sidebar/hooks/useBrowserWebview.ts, apps/desktop/src/renderer/features/right-sidebar/hooks/useNativePopupSurface.ts, apps/desktop/src/renderer/features/right-sidebar/hooks/useRetainedBrowserTabHosts.ts, apps/desktop/src/renderer/features/right-sidebar/lib/browserPartition.ts, apps/desktop/src/renderer/features/right-sidebar/lib/browserWebviewPool.ts, apps/desktop/src/renderer/features/right-sidebar/lib/detachedSidebarRouting.ts, apps/desktop/src/renderer/features/right-sidebar/lib/executeSidebarCommand.ts, apps/desktop/src/renderer/features/right-sidebar/lib/lastTurnChangedFiles.ts, apps/desktop/src/renderer/features/right-sidebar/lib/mailPreview.test.ts, apps/desktop/src/renderer/features/right-sidebar/lib/mailPreview.ts, apps/desktop/src/renderer/features/right-sidebar/lib/mergeSidebarWindowBack.ts, apps/desktop/src/renderer/features/right-sidebar/lib/nativePopupTabs.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openBackgroundTasksTab.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openInSidebarBrowser.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openInSidebarFileBrowser.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openPluginTaskTab.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openRoutinesTab.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openSideChatTab.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openSubagentsTab.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openTerminalShortcut.ts, apps/desktop/src/renderer/features/right-sidebar/lib/openTurnReview.ts, apps/desktop/src/renderer/features/right-sidebar/lib/popupRouter.ts, apps/desktop/src/renderer/features/right-sidebar/lib/popupTabs.ts, apps/desktop/src/renderer/features/right-sidebar/lib/rsbBrowserBridge.ts, apps/desktop/src/renderer/features/right-sidebar/lib/sidebarCommands.ts, apps/desktop/src/renderer/features/right-sidebar/lib/sidebarHostSession.tsx, apps/desktop/src/renderer/features/right-sidebar/lib/tabHosting.ts, apps/desktop/src/renderer/features/right-sidebar/lib/useTabCreationMenu.ts, apps/desktop/src/renderer/features/right-sidebar/moveTab.ts, apps/desktop/src/renderer/features/right-sidebar/pluginPlacement.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/BackgroundTasksBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowAgentStrip.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/WorkflowProgressTree.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/chatTaskFocusIntent.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/listSessionTasks.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/background-tasks/workflowProgressModel.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/cindy-make/CindyMakeTabBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/cindy-make/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/file-browser/FileBrowserBody.css, apps/desktop/src/renderer/features/right-sidebar/plugins/file-browser/FileBrowserBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/file-browser/dropExternalFile.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/file-browser/fileTreeImagePreview.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/file-browser/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/file-browser/useSessionScopedTreeWidth.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/index.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/mail-preview/MailCardBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/mail-preview/MailConversationView.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/mail-preview/MailPreview.test.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/mail-preview/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/orca-workers/OrcaWorkersAttentionIcon.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/orca-workers/OrcaWorkersTabBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/orca-workers/actions.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/orca-workers/closeDecision.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/orca-workers/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/plugin-task/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/plugin-view/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/resource-usage/ResourceUsageBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/resource-usage/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/resource-usage/resource-usage.css, apps/desktop/src/renderer/features/right-sidebar/plugins/resource-usage/subscription.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/retired-feature/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/ImageDiffPreview.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/MarkdownDiffPreview.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/PlainUnifiedDiff.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/diffRows.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/highlight.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/inlineDiff.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/DiffViewer/useDiffHighlights.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/ReviewTabBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/review/diffExpansionPreference.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/fileTree.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/gitApplyCommand.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/review/markdownPreview.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/useLastTurnFilter.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/useReviewGitState.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/review/useReviewSource.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/routines/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/side-chat/SideChatTabBody.test.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/side-chat/SideChatTabBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/side-chat/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/side-chat/state.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/ConversationStream.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/DetailView.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/RunList.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/SubagentChrome.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/SubagentToolCard.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/SubagentsBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/subagentChangeFence.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/subagentConversation.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/subagents/subagentFormat.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/terminal/TerminalTabBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/terminal/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/terminal/lib/terminalFont.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/terminal/lib/useTerminalFontSettings.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/terminal/lib/xtermPool.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/BrowserChrome.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/BrowserCommentPopover.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/BrowserTabBody.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/browserCommentEditorDraft.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/index.tsx, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/lib/parseOmnibox.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/useBrowserComment.ts, apps/desktop/src/renderer/features/right-sidebar/plugins/web-browser/useLocalHtmlAutoReload.ts, apps/desktop/src/renderer/features/right-sidebar/registry.ts, apps/desktop/src/renderer/features/right-sidebar/store.ts, apps/desktop/src/renderer/features/right-sidebar/tabAvailability.ts, apps/desktop/src/renderer/features/right-sidebar/tabGroupHost.tsx, apps/desktop/src/renderer/features/right-sidebar/tabGroupPanes.ts, apps/desktop/src/renderer/features/right-sidebar/tabGroups.ts, apps/desktop/src/renderer/features/right-sidebar/types.ts, apps/desktop/src/renderer/sidebar-window-entry.tsx, apps/desktop/src/renderer/styles/generated/tokens.css, apps/desktop/src/renderer/styles/globals.css | 113 | 45 | 116 |
| `desktop.window.voice-dictionary-toast` | desktop | 语音词典 Toast 窗 | `?view=voice-input-dictionary-toast` → main-entry.tsx → VoiceInputDictionaryToast | VoiceInputDictionaryToast | apps/desktop/src/renderer/voice-input/VoiceInputDictionaryToast.tsx | 6 | 0 | 2 |
| `desktop.window.voice-overlay` | desktop | 语音输入浮窗 | `?view=voice-input-overlay` → main-entry.tsx → VoiceInputOverlay | VoiceInputOverlay, VoiceInputStatusNotice | apps/desktop/src/main/voice-input/global.ts, apps/desktop/src/renderer/styles/generated/tokens.css, apps/desktop/src/renderer/styles/globals.css, apps/desktop/src/renderer/voice-input/VoiceInputOverlay.tsx, apps/desktop/src/renderer/voice-input/VoiceInputStatusNotice.tsx | 84 | 38 | 20 |
-| `mobile.account-deletion` | mobile | 账号注销 | app/account-deletion.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, account-deletion, gestureHandler, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/account-deletion.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 61 |
-| `mobile.auth` | mobile | 登录与添加账号 | app/(auth)/login.tsx / app/add-account.tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, IncomingShareBridge, LoginCaptchaWebView, LoginNativeButton, LoginNativeButton.ios, LoginSkinControls, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, MobileUserAvatar, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, 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/MobileUserAvatar.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionNativeContent.ios.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.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 | 227 | 86 |
-| `mobile.chat.incoming-share` | mobile | 外部分享内容预览与任务、伙伴目标选择 | app/incoming-share.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, incoming-share, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/incoming-share.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 55 |
-| `mobile.chat.new` | mobile | 新建任务 | app/sessions/new.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerActivityPill, ComposerAttachmentTray, ComposerDockKeyboardFollow, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetCollabView, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ContextSheetPlugins, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileChoicePickerList, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileVendorIcon, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, NewTaskSelectionRow, NewTaskSelectionSheet, NewTaskSelectionSheet.android, NewTaskSelectionSheet.ios, OrcaWorkerDirectoryPicker, OutsideTap, 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, RemoteHistoryPrefetchBridge, RemoteSourceMark, ResidentHomeList, SessionPaneDivider, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, _layout, composerPullThrough, gestureHandler, mediaPlayerWebView, nativeToolbarMenuItems, new, peerFileTransport, useComposerPendingImagePreview, useLocale, voicePillWidthMotion | 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/ErrorNotice.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/NativeErrorNotice.ios.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionNativeContent.ios.tsx, apps/mobile/src/session/ComposerActivityPill.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerDockKeyboardFollow.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/ContextSheetCollabView.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ContextSheetPlugins.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/McpAppViews.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/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/NewTaskSelectionRow.tsx, apps/mobile/src/session/NewTaskSelectionSheet.android.tsx, apps/mobile/src/session/NewTaskSelectionSheet.ios.tsx, apps/mobile/src/session/NewTaskSelectionSheet.tsx, apps/mobile/src/session/OrcaWorkerDirectoryPicker.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.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/session/composerPullThrough.tsx, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/useComposerPendingImagePreview.tsx, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 122 |
-| `mobile.chat.session` | mobile | 任务内容与输入 | app/sessions/[sessionId].tsx | AccountSwitcherSheet, AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, AuthorizationMessageCard, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, BotGroupQuote, CenteredScreen, ChatFileChipMenuSheet, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CindyMakeSessionGate, CloudHomeSwitchSheet, CloudHomeUnreachableNotice, CodexResetAutoUseControl, CompanionCardButton, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionEntering, CompanionFollowUpInvitation, CompanionGlanceSheet, CompanionHeader, CompanionImportSheet, CompanionLearningFooter, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionMessageActions, CompanionMessageCard, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSelectTextSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, CompanionWorkingStatus, ComposerActivityPill, ComposerAttachmentTray, ComposerDockKeyboardFollow, ComposerExpandButton, ComposerExpandButton.ios, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeInput, ComposerNativeInput.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerRichInput, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetCollabView, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ContextSheetPlugins, ConversationSearchFilterSheet, ConversationShareSvg, ConversationShareWebView, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FailedScheduleNotice, FileTypeIcon, FilterReminderDot, FoldDesktopSkin, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeTeammatesSection, HomeUnreadContext, ImageLightbox, IncomingShareBridge, InlineQueueSection, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileAgentMark, MobileAgentSwitcher, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, NewTaskSelectionRow, NewTaskSelectionSheet, NewTaskSelectionSheet.android, NewTaskSelectionSheet.ios, OrcaWorkerDirectoryPicker, OutsideTap, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginMenuUnreadDot, PluginSetupNativeActions, PluginSetupNativeForm, PromptRecommendation, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, ReadableHistoryRecovery, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, RewindPreviewPanel, RichAnswer, RunningTokenRatePopover, SelectionMenuText, SentInlineAtomBody, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionDetailsNative, SessionDetailsNative.ios, SessionEntryRecovery, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionListDrawer, SessionMenuSheet, SessionOptionsExpoSheet, SessionPaneDivider, SessionQuickSendContext, SessionResourceCards, SessionRightSpinner, SessionSearchNative, SessionSearchNative.ios, SessionTailBanner, SessionTaskLayout, SessionTransientNotice, SessionUsageSummary, ShareImageNativeButton, ShareImageNativeButton.ios, ShareMessageCheckbox, ShareSelectAllButton, ShareSelectionBar, SharedTaskEndedState, SharedTaskScreen, SheetModal, SheetSurface, SideChatTaskBoundary, SideChatsSheet, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, SystemNavigationBack, TaskTags, TaskTagsNative, TaskTagsNative.ios, TaskTagsSheet, TeammateCreateButton, TeammateGenerationLabel, TeammateList, ThemeProvider, ThinkingDots, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VideoSitePreview, VoiceRecordingPill, WorkingStatusText, [sessionId], _layout, composerPullThrough, gestureHandler, listDisclosureTransition, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useComposerPendingImagePreview, useLocale, useSharedTaskConfirmation, voicePillWidthMotion | 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/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/FilterReminderDot.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/ChatFileChipMenuSheet.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CindyMakeSessionGate.tsx, apps/mobile/src/session/CloudHomeSwitchSheet.tsx, apps/mobile/src/session/CloudHomeUnreachableNotice.tsx, apps/mobile/src/session/CodexResetAutoUseControl.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionFollowUpInvitation.tsx, apps/mobile/src/session/CompanionGlanceSheet.tsx, apps/mobile/src/session/CompanionHeader.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.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/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSelectTextSheet.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/ComposerActivityPill.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerDockKeyboardFollow.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/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.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/ContextSheetCollabView.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ContextSheetPlugins.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/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeTeammatesSection.tsx, apps/mobile/src/session/HomeUnreadContext.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/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/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/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/NewTaskSelectionRow.tsx, apps/mobile/src/session/NewTaskSelectionSheet.android.tsx, apps/mobile/src/session/NewTaskSelectionSheet.ios.tsx, apps/mobile/src/session/NewTaskSelectionSheet.tsx, apps/mobile/src/session/OrcaWorkerDirectoryPicker.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/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/ReadableHistoryRecovery.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RewindPreviewPanel.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/RunningTokenRatePopover.tsx, apps/mobile/src/session/SelectionMenuText.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionEntryRecovery.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/SessionPaneDivider.tsx, apps/mobile/src/session/SessionQuickSendContext.tsx, apps/mobile/src/session/SessionResourceCards.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SessionSearchNative.ios.tsx, apps/mobile/src/session/SessionSearchNative.tsx, apps/mobile/src/session/SessionTailBanner.tsx, apps/mobile/src/session/SessionTaskLayout.tsx, apps/mobile/src/session/SessionTransientNotice.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/SideChatTaskBoundary.tsx, apps/mobile/src/session/SideChatsSheet.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsNative.ios.tsx, apps/mobile/src/session/TaskTagsNative.tsx, apps/mobile/src/session/TaskTagsSheet.tsx, apps/mobile/src/session/TeammateCreateButton.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/ThinkingDots.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/composerPullThrough.tsx, apps/mobile/src/session/composerRichInputHtml.ts, apps/mobile/src/session/conversationShareWebViewHtml.ts, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/session/useComposerPendingImagePreview.tsx, apps/mobile/src/session/useSharedTaskConfirmation.tsx, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 7 | 258 | 363 |
-| `mobile.chat.sharing` | mobile | 共享任务邀请与成员;供应商分享链接提示 | app/shared-session.tsx / app/provider-share.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SharedTaskAdmissionDialog, SharedTaskEndedState, SharedTaskScreen, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, peerFileTransport, provider-share, shared-session, useLocale, useSharedTaskConfirmation | apps/mobile/app/_layout.tsx, apps/mobile/app/provider-share.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SharedTaskAdmissionDialog.tsx, apps/mobile/src/session/SharedTaskEndedState.tsx, apps/mobile/src/session/SharedTaskScreen.tsx, apps/mobile/src/session/SheetModal.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 | 220 | 70 |
-| `mobile.companions.cloud` | mobile | 云端伙伴:主力电脑离线时的对话与换电脑 | app/companions/cloud/[actorId].tsx | AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, BotGroupAvatars, BotGroupMessageText, BotGroupQuote, CenteredScreen, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CloudCompanionScreen, CompanionCardButton, CompanionEntering, CompanionLearningFooter, CompanionMessageActions, CompanionMessageCard, CompanionNativeContent.ios, CompanionPresenceRing, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, ComposerFrame, ComposerFrame.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginSetupNativeActions, PluginSetupNativeForm, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, RichAnswer, SelectionMenuText, SentInlineAtomBody, SessionPaneDivider, SessionQuickSendContext, ShareMessageCheckbox, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, VideoSitePreview, [actorId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useLocale, voicePillWidthMotion | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/cloud/[actorId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupMessageText.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CloudCompanionScreen.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/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/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/SelectionMenuText.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionQuickSendContext.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 198 |
-| `mobile.companions.direct` | mobile | 伙伴私聊回看 | app/companions/direct/[threadId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [threadId], _layout, gestureHandler, nativeToolbarMenuItems, 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/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 59 |
-| `mobile.companions.groups` | mobile | 伙伴群聊与分工 | app/companions/groups/[groupId].tsx | AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, BotGroupAvatars, BotGroupChatScreen, BotGroupComposer, BotGroupMenu, BotGroupMessageAttachments, BotGroupMessageText, BotGroupPlan, BotGroupQuote, BotGroupSettingsSheet, BotGroupSpeakerRow, BotGroupTaskCard, CenteredScreen, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CompanionCardButton, CompanionEntering, CompanionLearningFooter, CompanionMessageActions, CompanionMessageCard, CompanionNativeContent.ios, CompanionPresenceRing, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, ComposerAttachmentTray, ComposerFrame, ComposerFrame.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetMediaViews, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginSetupNativeActions, PluginSetupNativeForm, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, RichAnswer, SelectionMenuText, SentInlineAtomBody, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionPaneDivider, SessionQuickSendContext, ShareMessageCheckbox, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, TaskTags, ThemeProvider, ThinkingDots, VideoSitePreview, WorkingStatusText, [groupId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useComposerPendingImagePreview, useLocale, voicePillWidthMotion | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/groups/[groupId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupChatScreen.tsx, apps/mobile/src/session/BotGroupComposer.tsx, apps/mobile/src/session/BotGroupMenu.tsx, apps/mobile/src/session/BotGroupMessageAttachments.tsx, apps/mobile/src/session/BotGroupMessageText.tsx, apps/mobile/src/session/BotGroupPlan.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/BotGroupSettingsSheet.tsx, apps/mobile/src/session/BotGroupSpeakerRow.tsx, apps/mobile/src/session/BotGroupTaskCard.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/CompanionTaskResultCard.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/SelectionMenuText.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionQuickSendContext.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/ThinkingDots.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/useComposerPendingImagePreview.tsx, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 232 |
-| `mobile.device-management` | mobile | 设备管理 | app/devices/manage.tsx / app/devices/manage/[deviceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceInformationFields, DeviceInformationFields.ios, DeviceLinkContext, DeviceManagementDialogs, DeviceManagementList, DeviceManagementList.ios, DirectLinkTransport, ErrorNotice, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RenameDeviceModal, ResidentHomeList, SessionPaneDivider, SettingsGroupRows, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, listDisclosureTransition, manage, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/manage.tsx, apps/mobile/app/devices/manage/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceInformationFields.ios.tsx, apps/mobile/src/device-link/DeviceInformationFields.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DeviceManagementDialogs.tsx, apps/mobile/src/device-link/DeviceManagementList.ios.tsx, apps/mobile/src/device-link/DeviceManagementList.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RenameDeviceModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SettingsGroupRows.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 62 |
-| `mobile.devices` | mobile | 主机详情 | app/devices/[deviceId].tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ConversationSearchFilterSheet, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FilterReminderDot, FoldDesktopSkin, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeTeammatesSection, HomeUnreadContext, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginMenuUnreadDot, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionOptionsExpoSheet, SessionPaneDivider, SessionRightSpinner, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, TaskTags, TaskTagsNative, TaskTagsNative.ios, TeammateCreateButton, TeammateGenerationLabel, TeammateList, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, WorkingStatusText, [deviceId], _layout, gestureHandler, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FilterReminderDot.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteAccessGuide.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AccountSwitcherSheet.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSettingsRow.ios.tsx, apps/mobile/src/session/CompanionSettingsRow.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/HomeChromeDrawer.tsx, apps/mobile/src/session/HomeChromeFrost.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeGlassMenuPanel.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HomeListVisuals.tsx, apps/mobile/src/session/HomeModeSwitch.tsx, apps/mobile/src/session/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeTeammatesSection.tsx, apps/mobile/src/session/HomeUnreadContext.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsNative.ios.tsx, apps/mobile/src/session/TaskTagsNative.tsx, apps/mobile/src/session/TeammateCreateButton.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 162 |
-| `mobile.files` | mobile | 任务文件与预览 | app/files/[sessionId].tsx / app/files/preview/[sessionId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CindyMakeSessionGate, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileBrowserSegmentedControl, FileTransferBusyNotice, FileTypeIcon, FileTypeTile, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HtmlBrowserChrome, HtmlBrowserChrome.ios, HtmlFileReader, HtmlPreviewLoading, HtmlWebsiteBrowser, ImageLightbox, IncomingShareBridge, MarkdownFileReader, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionEntryRecovery, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, [sessionId], _layout, gestureHandler, mediaPlayerWebView, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/files/[sessionId].tsx, apps/mobile/app/files/preview/[sessionId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/FileTypeTile.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/CindyMakeSessionGate.tsx, apps/mobile/src/session/FileBrowserSegmentedControl.tsx, apps/mobile/src/session/FileTransferBusyNotice.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HtmlBrowserChrome.ios.tsx, apps/mobile/src/session/HtmlBrowserChrome.tsx, apps/mobile/src/session/HtmlFileReader.tsx, apps/mobile/src/session/HtmlPreviewLoading.tsx, apps/mobile/src/session/HtmlWebsiteBrowser.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MarkdownFileReader.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionEntryRecovery.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 86 |
-| `mobile.home` | mobile | 主机与资源首页 | app/index.tsx / app/devices/index.tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ConversationSearchFilterSheet, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FilterReminderDot, FoldDesktopSkin, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeEntryProvider, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeModePanes, HomeModeSwitch, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeTeammatesSection, HomeUnreadContext, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginMenuUnreadDot, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionOptionsExpoSheet, SessionPaneDivider, SessionRightSpinner, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, TaskTags, TaskTagsNative, TaskTagsNative.ios, TeammateCreateButton, TeammateGenerationLabel, TeammateHomeScreen, TeammateList, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, WorkingStatusText, _layout, gestureHandler, index, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/index.tsx, apps/mobile/app/index.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FilterReminderDot.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteAccessGuide.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AccountSwitcherSheet.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSettingsRow.ios.tsx, apps/mobile/src/session/CompanionSettingsRow.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/HomeChromeDrawer.tsx, apps/mobile/src/session/HomeChromeFrost.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeGlassMenuPanel.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HomeListVisuals.tsx, apps/mobile/src/session/HomeModePanes.tsx, apps/mobile/src/session/HomeModeSwitch.tsx, apps/mobile/src/session/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeTeammatesSection.tsx, apps/mobile/src/session/HomeUnreadContext.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsNative.ios.tsx, apps/mobile/src/session/TaskTagsNative.tsx, apps/mobile/src/session/TeammateCreateButton.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateHomeScreen.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 160 |
-| `mobile.mail` | mobile | 邮件阅读与附件预览 | app/mail-preview.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, mail-preview, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/mail-preview.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/FileTypeIcon.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 66 |
-| `mobile.overlay.connection-startup` | mobile | 根布局挂载的启动与连接反馈 | app/_layout.tsx → StartupSplashOverlay / ConnectionNoticeProvider;各页面 ConnectionBanner | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, ConnectionNoticeProvider, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 54 |
-| `mobile.plugins` | mobile | 插件目录、页面与原生交互 | app/plugins.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, HtmlBrowserChrome, HtmlBrowserChrome.ios, HtmlFileReader, HtmlWebsiteBrowser, ImageLightbox, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginDetailView, PluginDetailView.ios, PluginDirectoryPicker, PluginDirectoryView, PluginDirectoryView.ios, PluginManagementConfirmation, PluginManagementConfirmation.ios, PluginManagementMenu, PluginMediaViewer, PluginNativeIntent, PluginNotice, PluginNotice.ios, PluginOriginalSettings, PluginPage, PluginPermissionCard, PluginScheduleDraft, PluginSettingsCard, PluginTaskPicker, PluginTaskPickerView, PluginTaskPickerView.ios, PluginToolChips, PluginsScreen, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, ResidentHomeList, SessionPaneDivider, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, _layout, gestureHandler, mediaPlayerWebView, nativeToolbarMenuItems, peerFileTransport, plugins, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/plugins.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginDetailView.ios.tsx, apps/mobile/src/plugins/PluginDetailView.tsx, apps/mobile/src/plugins/PluginDirectoryPicker.tsx, apps/mobile/src/plugins/PluginDirectoryView.ios.tsx, apps/mobile/src/plugins/PluginDirectoryView.tsx, apps/mobile/src/plugins/PluginManagementConfirmation.ios.tsx, apps/mobile/src/plugins/PluginManagementConfirmation.tsx, apps/mobile/src/plugins/PluginManagementMenu.tsx, apps/mobile/src/plugins/PluginMediaViewer.tsx, apps/mobile/src/plugins/PluginNativeIntent.tsx, apps/mobile/src/plugins/PluginNotice.ios.tsx, apps/mobile/src/plugins/PluginNotice.tsx, apps/mobile/src/plugins/PluginOriginalSettings.tsx, apps/mobile/src/plugins/PluginPage.tsx, apps/mobile/src/plugins/PluginPermissionCard.tsx, apps/mobile/src/plugins/PluginScheduleDraft.tsx, apps/mobile/src/plugins/PluginSettingsCard.tsx, apps/mobile/src/plugins/PluginTaskPicker.tsx, apps/mobile/src/plugins/PluginTaskPickerView.ios.tsx, apps/mobile/src/plugins/PluginTaskPickerView.tsx, apps/mobile/src/plugins/PluginToolChips.tsx, apps/mobile/src/plugins/PluginsScreen.tsx, apps/mobile/src/plugins/pluginPageHtml.ts, apps/mobile/src/plugins/pluginSettingsHtml.ts, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionNativeContent.ios.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/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HtmlBrowserChrome.ios.tsx, apps/mobile/src/session/HtmlBrowserChrome.tsx, apps/mobile/src/session/HtmlFileReader.tsx, apps/mobile/src/session/HtmlWebsiteBrowser.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 4 | 257 | 99 |
-| `mobile.remote-desktop` | mobile | 远程桌面 | app/devices/desktop/[deviceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/desktop/[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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 54 |
-| `mobile.resources` | mobile | 远程资源列表与详情 | app/resources/[collectionId].tsx / app/resources/[collectionId]/[resourceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, ResidentHomeList, SessionPaneDivider, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, [collectionId], [resourceId], _layout, gestureHandler, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/resources/[collectionId].tsx, apps/mobile/app/resources/[collectionId]/[resourceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/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/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/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.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 | 220 | 90 |
-| `mobile.settings` | mobile | 设置(含调试与日志上传可见入口) | app/settings.tsx / app/settings/developer.tsx / app/settings/device-name.tsx / app/settings/user-bubble.tsx / app/settings/voice-dictionary.tsx / app/settings/voice-speaker-filter.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeEntryProvider, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileChoicePickerList, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, MobileUserAvatar, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SettingsGroupRows, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, UserBubbleHueSlider, UserBubblePage, UserBubblePage.ios, UserBubbleSettings, UserBubbleSettings.ios, _layout, developer, device-name, gestureHandler, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, settings, useLocale, user-bubble, voice-dictionary, voice-speaker-filter | apps/mobile/app/_layout.tsx, apps/mobile/app/settings.tsx, apps/mobile/app/settings/developer.tsx, apps/mobile/app/settings/device-name.tsx, apps/mobile/app/settings/user-bubble.tsx, apps/mobile/app/settings/voice-dictionary.tsx, apps/mobile/app/settings/voice-speaker-filter.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/MobileUserAvatar.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/HomeEntryProvider.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileChoicePickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SettingsGroupRows.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/settings/UserBubbleHueSlider.tsx, apps/mobile/src/settings/UserBubblePage.ios.tsx, apps/mobile/src/settings/UserBubblePage.tsx, apps/mobile/src/settings/UserBubbleSettings.ios.tsx, apps/mobile/src/settings/UserBubbleSettings.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 | 220 | 73 |
+| `mobile.account-deletion` | mobile | 账号注销 | app/account-deletion.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, account-deletion, gestureHandler, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/account-deletion.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 61 |
+| `mobile.auth` | mobile | 登录与添加账号 | app/(auth)/login.tsx / app/add-account.tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, IncomingShareBridge, LoginCaptchaWebView, LoginNativeButton, LoginNativeButton.ios, LoginSkinControls, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, MobileUserAvatar, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, 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/MobileUserAvatar.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionNativeContent.ios.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.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 | 227 | 86 |
+| `mobile.chat.incoming-share` | mobile | 外部分享内容预览与任务、伙伴目标选择 | app/incoming-share.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, incoming-share, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/incoming-share.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 55 |
+| `mobile.chat.new` | mobile | 新建任务 | app/sessions/new.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerActivityPill, ComposerAttachmentTray, ComposerDockKeyboardFollow, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetCollabView, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ContextSheetPlugins, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileChoicePickerList, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileVendorIcon, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, NewTaskSelectionRow, NewTaskSelectionSheet, NewTaskSelectionSheet.android, NewTaskSelectionSheet.ios, OrcaWorkerDirectoryPicker, OutsideTap, 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, RemoteHistoryPrefetchBridge, RemoteSourceMark, ResidentHomeList, SessionPaneDivider, SheetModal, SheetSurface, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VoiceRecordingPill, _layout, composerPullThrough, gestureHandler, mediaPlayerWebView, nativeToolbarMenuItems, new, peerFileTransport, useComposerPendingImagePreview, useLocale, voicePillWidthMotion | 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/ErrorNotice.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/NativeErrorNotice.ios.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionNativeContent.ios.tsx, apps/mobile/src/session/ComposerActivityPill.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerDockKeyboardFollow.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/ContextSheetCollabView.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ContextSheetPlugins.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/McpAppViews.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/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/NewTaskSelectionRow.tsx, apps/mobile/src/session/NewTaskSelectionSheet.android.tsx, apps/mobile/src/session/NewTaskSelectionSheet.ios.tsx, apps/mobile/src/session/NewTaskSelectionSheet.tsx, apps/mobile/src/session/OrcaWorkerDirectoryPicker.tsx, apps/mobile/src/session/PlanModeChip.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.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/session/composerPullThrough.tsx, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/useComposerPendingImagePreview.tsx, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 122 |
+| `mobile.chat.session` | mobile | 任务内容与输入 | app/sessions/[sessionId].tsx | AccountSwitcherSheet, AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AnnotationBurnInWebView, AppText, AuthContext, AuthorizationMessageCard, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, BotGroupQuote, CenteredScreen, ChatFileChipMenuSheet, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CindyMakeSessionGate, CloudHomeSwitchSheet, CloudHomeUnreachableNotice, CodexResetAutoUseControl, CompanionCardButton, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionEntering, CompanionFollowUpInvitation, CompanionGlanceSheet, CompanionHeader, CompanionImportSheet, CompanionLearningFooter, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionMessageActions, CompanionMessageCard, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSelectTextSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, CompanionWorkingStatus, ComposerActivityPill, ComposerAttachmentTray, ComposerDockKeyboardFollow, ComposerExpandButton, ComposerExpandButton.ios, ComposerFrame, ComposerFrame.ios, ComposerKeyboardAvoidingView, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeInput, ComposerNativeInput.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerRichInput, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetCollabView, ContextSheetGoalView, ContextSheetGoalView.ios, ContextSheetMediaViews, ContextSheetPlugins, ConversationSearchFilterSheet, ConversationShareSvg, ConversationShareWebView, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FailedScheduleNotice, FileTypeIcon, FilterReminderDot, FoldDesktopSkin, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeRosterContext, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeTeammatesSection, ImageLightbox, IncomingShareBridge, InlineQueueSection, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileAgentMark, MobileAgentSwitcher, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePermissionSheet, NativePermissionSheet.ios, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, NewTaskSelectionRow, NewTaskSelectionSheet, NewTaskSelectionSheet.android, NewTaskSelectionSheet.ios, OrcaWorkerDirectoryPicker, OutsideTap, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PlanModeChip, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginMenuUnreadDot, PluginSetupNativeActions, PluginSetupNativeForm, PromptRecommendation, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, ReadableHistoryRecovery, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, RewindPreviewPanel, RichAnswer, RunningTokenRatePopover, SelectionMenuText, SentInlineAtomBody, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionDetailsNative, SessionDetailsNative.ios, SessionEntryRecovery, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionListDrawer, SessionMenuSheet, SessionOptionsExpoSheet, SessionPaneDivider, SessionQuickSendContext, SessionResourceCards, SessionRightSpinner, SessionSearchNative, SessionSearchNative.ios, SessionTailBanner, SessionTaskLayout, SessionTransientNotice, SessionUsageSummary, ShareImageNativeButton, ShareImageNativeButton.ios, ShareMessageCheckbox, ShareSelectAllButton, ShareSelectionBar, SharedTaskEndedState, SharedTaskScreen, SheetModal, SheetSurface, SideChatTaskBoundary, SideChatsSheet, SimpleStackHeader, SlowSendNotice, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, SystemNavigationBack, TaskTags, TaskTagsNative, TaskTagsNative.ios, TaskTagsSheet, TeammateCreateController, TeammateGenerationLabel, TeammateList, ThemeProvider, ThinkingDots, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, VideoSitePreview, VoiceRecordingPill, WorkingStatusText, [sessionId], _layout, composerPullThrough, gestureHandler, listDisclosureTransition, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useComposerPendingImagePreview, useLocale, useSharedTaskConfirmation, voicePillWidthMotion | 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/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/FilterReminderDot.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/ChatFileChipMenuSheet.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CindyMakeSessionGate.tsx, apps/mobile/src/session/CloudHomeSwitchSheet.tsx, apps/mobile/src/session/CloudHomeUnreachableNotice.tsx, apps/mobile/src/session/CodexResetAutoUseControl.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionFollowUpInvitation.tsx, apps/mobile/src/session/CompanionGlanceSheet.tsx, apps/mobile/src/session/CompanionHeader.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.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/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSelectTextSheet.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/ComposerActivityPill.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerDockKeyboardFollow.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/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.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/ContextSheetCollabView.tsx, apps/mobile/src/session/ContextSheetGoalView.ios.tsx, apps/mobile/src/session/ContextSheetGoalView.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/ContextSheetPlugins.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/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/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeRosterContext.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeTeammatesSection.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/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/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/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativePermissionSheet.ios.tsx, apps/mobile/src/session/NativePermissionSheet.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/NewTaskSelectionRow.tsx, apps/mobile/src/session/NewTaskSelectionSheet.android.tsx, apps/mobile/src/session/NewTaskSelectionSheet.ios.tsx, apps/mobile/src/session/NewTaskSelectionSheet.tsx, apps/mobile/src/session/OrcaWorkerDirectoryPicker.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/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/ReadableHistoryRecovery.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RewindPreviewPanel.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/RunningTokenRatePopover.tsx, apps/mobile/src/session/SelectionMenuText.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionDetailsNative.ios.tsx, apps/mobile/src/session/SessionDetailsNative.tsx, apps/mobile/src/session/SessionEntryRecovery.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/SessionPaneDivider.tsx, apps/mobile/src/session/SessionQuickSendContext.tsx, apps/mobile/src/session/SessionResourceCards.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SessionSearchNative.ios.tsx, apps/mobile/src/session/SessionSearchNative.tsx, apps/mobile/src/session/SessionTailBanner.tsx, apps/mobile/src/session/SessionTaskLayout.tsx, apps/mobile/src/session/SessionTransientNotice.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/SideChatTaskBoundary.tsx, apps/mobile/src/session/SideChatsSheet.tsx, apps/mobile/src/session/SlowSendNotice.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsNative.ios.tsx, apps/mobile/src/session/TaskTagsNative.tsx, apps/mobile/src/session/TaskTagsSheet.tsx, apps/mobile/src/session/TeammateCreateController.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/ThinkingDots.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/VoiceRecordingPill.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/composerPullThrough.tsx, apps/mobile/src/session/composerRichInputHtml.ts, apps/mobile/src/session/conversationShareWebViewHtml.ts, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/session/useComposerPendingImagePreview.tsx, apps/mobile/src/session/useSharedTaskConfirmation.tsx, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 7 | 258 | 358 |
+| `mobile.chat.sharing` | mobile | 共享任务邀请与成员;供应商分享链接提示 | app/shared-session.tsx / app/provider-share.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SharedTaskAdmissionDialog, SharedTaskEndedState, SharedTaskScreen, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, peerFileTransport, provider-share, shared-session, useLocale, useSharedTaskConfirmation | apps/mobile/app/_layout.tsx, apps/mobile/app/provider-share.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SharedTaskAdmissionDialog.tsx, apps/mobile/src/session/SharedTaskEndedState.tsx, apps/mobile/src/session/SharedTaskScreen.tsx, apps/mobile/src/session/SheetModal.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 | 220 | 70 |
+| `mobile.companions.cloud` | mobile | 云端伙伴:主力电脑离线时的对话与换电脑 | app/companions/cloud/[actorId].tsx | AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, BotGroupAvatars, BotGroupMessageText, BotGroupQuote, CenteredScreen, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CloudCompanionScreen, CompanionCardButton, CompanionEntering, CompanionLearningFooter, CompanionMessageActions, CompanionMessageCard, CompanionNativeContent.ios, CompanionPresenceRing, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, ComposerFrame, ComposerFrame.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginSetupNativeActions, PluginSetupNativeForm, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, RichAnswer, SelectionMenuText, SentInlineAtomBody, SessionPaneDivider, SessionQuickSendContext, ShareMessageCheckbox, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, VideoSitePreview, [actorId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useLocale, voicePillWidthMotion | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/cloud/[actorId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupMessageText.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CloudCompanionScreen.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/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/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/SelectionMenuText.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionQuickSendContext.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 198 |
+| `mobile.companions.direct` | mobile | 伙伴私聊回看 | app/companions/direct/[threadId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [threadId], _layout, gestureHandler, nativeToolbarMenuItems, 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/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 59 |
+| `mobile.companions.groups` | mobile | 伙伴群聊与分工 | app/companions/groups/[groupId].tsx | AdaptiveWindow, AgentErrorDetails, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AuthorizationMessageCard, BlurBackdrop, BotGroupAvatars, BotGroupChatScreen, BotGroupComposer, BotGroupMenu, BotGroupMessageAttachments, BotGroupMessageText, BotGroupPlan, BotGroupQuote, BotGroupSettingsSheet, BotGroupSpeakerRow, BotGroupTaskCard, CenteredScreen, ChatIdentityHeader, ChatPathChipSpan, ChatReplyIcon, CompanionCardButton, CompanionEntering, CompanionLearningFooter, CompanionMessageActions, CompanionMessageCard, CompanionNativeContent.ios, CompanionPresenceRing, CompanionSheet, CompanionSheet.ios, CompanionTaskResultCard, ComposerAttachmentTray, ComposerFrame, ComposerFrame.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ContextSheetMediaViews, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, ImageLightbox, IncomingShareBridge, InlineQuoteChip, InlineReferenceChip, InputHandoffCard, InputHandoffDeviceCode, InputHandoffPictureStep, InputHandoffQrCode, InputHandoffRecordRow, InputHandoffSheet, InputHandoffSheet.ios, InputHandoffStepFields, InteractionPanel, MailLinkSpan, MarkdownBlockContent, McpAppCard, McpAppViews, MessageActionSheet, MessageLoadingImage, MessageRenderer, MobileBoundaryNotice, MobileComposerInputRow, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PaperPlaneIcon, PendingSendBubble, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PluginInvocationHeader, PluginSetupNativeActions, PluginSetupNativeForm, PushNotificationsBridge, QuestionReferenceText, QuietSyncIndicator, QuoteCapsule, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, RichAnswer, SelectionMenuText, SentInlineAtomBody, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionPaneDivider, SessionQuickSendContext, ShareMessageCheckbox, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, TaskTags, ThemeProvider, ThinkingDots, VideoSitePreview, WorkingStatusText, [groupId], _layout, gestureHandler, mathWebView, mediaPlayerWebView, mermaidWebView, nativeToolbarMenuItems, peerFileTransport, useComposerPendingImagePreview, useLocale, voicePillWidthMotion | apps/mobile/app/_layout.tsx, apps/mobile/app/companions/groups/[groupId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ChatReplyIcon.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/PaperPlaneIcon.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/inputHandoff/InputHandoffCard.tsx, apps/mobile/src/inputHandoff/InputHandoffDeviceCode.tsx, apps/mobile/src/inputHandoff/InputHandoffPictureStep.tsx, apps/mobile/src/inputHandoff/InputHandoffQrCode.tsx, apps/mobile/src/inputHandoff/InputHandoffRecordRow.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.ios.tsx, apps/mobile/src/inputHandoff/InputHandoffSheet.tsx, apps/mobile/src/inputHandoff/InputHandoffStepFields.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/plugins/PluginSetupNativeActions.tsx, apps/mobile/src/plugins/PluginSetupNativeForm.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AgentErrorDetails.tsx, apps/mobile/src/session/AuthorizationMessageCard.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupChatScreen.tsx, apps/mobile/src/session/BotGroupComposer.tsx, apps/mobile/src/session/BotGroupMenu.tsx, apps/mobile/src/session/BotGroupMessageAttachments.tsx, apps/mobile/src/session/BotGroupMessageText.tsx, apps/mobile/src/session/BotGroupPlan.tsx, apps/mobile/src/session/BotGroupQuote.tsx, apps/mobile/src/session/BotGroupSettingsSheet.tsx, apps/mobile/src/session/BotGroupSpeakerRow.tsx, apps/mobile/src/session/BotGroupTaskCard.tsx, apps/mobile/src/session/ChatIdentityHeader.tsx, apps/mobile/src/session/ChatPathChipSpan.tsx, apps/mobile/src/session/CompanionCardButton.tsx, apps/mobile/src/session/CompanionEntering.tsx, apps/mobile/src/session/CompanionLearningFooter.tsx, apps/mobile/src/session/CompanionMessageActions.tsx, apps/mobile/src/session/CompanionMessageCard.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/CompanionTaskResultCard.tsx, apps/mobile/src/session/ComposerAttachmentTray.tsx, apps/mobile/src/session/ComposerFrame.ios.tsx, apps/mobile/src/session/ComposerFrame.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ContextSheetMediaViews.tsx, apps/mobile/src/session/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/InlineQuoteChip.tsx, apps/mobile/src/session/InlineReferenceChip.tsx, apps/mobile/src/session/InteractionPanel.tsx, apps/mobile/src/session/MailLinkSpan.tsx, apps/mobile/src/session/MarkdownBlockContent.tsx, apps/mobile/src/session/McpAppCard.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MessageActionSheet.tsx, apps/mobile/src/session/MessageLoadingImage.tsx, apps/mobile/src/session/MessageRenderer.tsx, apps/mobile/src/session/MobileBoundaryNotice.tsx, apps/mobile/src/session/MobileComposerInputRow.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/PendingSendBubble.tsx, apps/mobile/src/session/PluginInvocationHeader.tsx, apps/mobile/src/session/QuestionReferenceText.tsx, apps/mobile/src/session/QuoteCapsule.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/RichAnswer.tsx, apps/mobile/src/session/SelectionMenuText.tsx, apps/mobile/src/session/SentInlineAtomBody.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionQuickSendContext.tsx, apps/mobile/src/session/ShareMessageCheckbox.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/ThinkingDots.tsx, apps/mobile/src/session/VideoSitePreview.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/mathWebView.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/mermaidWebView.tsx, apps/mobile/src/session/mermaidWebViewHtml.ts, apps/mobile/src/session/useComposerPendingImagePreview.tsx, apps/mobile/src/session/voicePillWidthMotion.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 232 |
+| `mobile.device-management` | mobile | 设备管理 | app/devices/manage.tsx / app/devices/manage/[deviceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceInformationFields, DeviceInformationFields.ios, DeviceLinkContext, DeviceManagementDialogs, DeviceManagementList, DeviceManagementList.ios, DirectLinkTransport, ErrorNotice, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RenameDeviceModal, ResidentHomeList, SessionPaneDivider, SettingsGroupRows, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, listDisclosureTransition, manage, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/manage.tsx, apps/mobile/app/devices/manage/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceInformationFields.ios.tsx, apps/mobile/src/device-link/DeviceInformationFields.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DeviceManagementDialogs.tsx, apps/mobile/src/device-link/DeviceManagementList.ios.tsx, apps/mobile/src/device-link/DeviceManagementList.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RenameDeviceModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SettingsGroupRows.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 62 |
+| `mobile.devices` | mobile | 主机详情 | app/devices/[deviceId].tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ConversationSearchFilterSheet, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FilterReminderDot, FoldDesktopSkin, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeRosterContext, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeTeammatesSection, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginMenuUnreadDot, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionOptionsExpoSheet, SessionPaneDivider, SessionRightSpinner, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, TaskTags, TaskTagsNative, TaskTagsNative.ios, TeammateCreateController, TeammateGenerationLabel, TeammateList, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, WorkingStatusText, [deviceId], _layout, gestureHandler, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/[deviceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FilterReminderDot.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteAccessGuide.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AccountSwitcherSheet.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSettingsRow.ios.tsx, apps/mobile/src/session/CompanionSettingsRow.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/HomeChromeDrawer.tsx, apps/mobile/src/session/HomeChromeFrost.tsx, apps/mobile/src/session/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/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeRosterContext.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeTeammatesSection.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsNative.ios.tsx, apps/mobile/src/session/TaskTagsNative.tsx, apps/mobile/src/session/TeammateCreateController.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 157 |
+| `mobile.files` | mobile | 任务文件与预览 | app/files/[sessionId].tsx / app/files/preview/[sessionId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CindyMakeSessionGate, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FileBrowserSegmentedControl, FileTransferBusyNotice, FileTypeIcon, FileTypeTile, FoldDesktopSkin, FoldTouchpad, HtmlBrowserChrome, HtmlBrowserChrome.ios, HtmlFileReader, HtmlPreviewLoading, HtmlWebsiteBrowser, ImageLightbox, IncomingShareBridge, MarkdownFileReader, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, ModalContentArea, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionEntryRecovery, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, [sessionId], _layout, gestureHandler, mediaPlayerWebView, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/files/[sessionId].tsx, apps/mobile/app/files/preview/[sessionId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FileTypeIcon.tsx, apps/mobile/src/components/FileTypeTile.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/CindyMakeSessionGate.tsx, apps/mobile/src/session/FileBrowserSegmentedControl.tsx, apps/mobile/src/session/FileTransferBusyNotice.tsx, apps/mobile/src/session/HtmlBrowserChrome.ios.tsx, apps/mobile/src/session/HtmlBrowserChrome.tsx, apps/mobile/src/session/HtmlFileReader.tsx, apps/mobile/src/session/HtmlPreviewLoading.tsx, apps/mobile/src/session/HtmlWebsiteBrowser.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/MarkdownFileReader.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionEntryRecovery.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/mathWebViewHtml.ts, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/session/selectableMarkdownHtml.ts, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 257 | 86 |
+| `mobile.home` | mobile | 主机与资源首页 | app/index.tsx / app/devices/index.tsx | AccountSwitcherSheet, AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, AutomationTimerIcon, BlurBackdrop, BotGroupAvatars, BotGroupCreateSheet, BotGroupList, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionListRow, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionPresenceRing, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerMorphSource, ComposerMorphSource.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, ConversationSearchFilterSheet, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FilterReminderDot, FoldDesktopSkin, FoldTouchpad, HomeChromeDrawer, HomeChromeFrost, HomeGlassMenuPanel, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeListVisuals, HomeNativeStackHeader, HomeNewTaskButton, HomeProjectMachineLabel, HomeRosterContext, HomeSearchBar, HomeSessionInfoMeta, HomeStackHeader, HomeSurface, HomeTeammatesSection, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, MobileUserAvatar, MobileVendorIcon, ModalContentArea, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, MountOnFirstOpen, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginMenuUnreadDot, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteAccessGuide, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, RemoteTaskSuggestions, RenameSessionModal, ResidentHomeList, SessionActionSheet, SessionActionSheetFrame, SessionActionSheetFrame.android, SessionHeaderNativeControls, SessionHeaderNativeControls.ios, SessionOptionsExpoSheet, SessionPaneDivider, SessionRightSpinner, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SwipeableProjectHeader, SwipeableSessionRow, SwipeableSessionRow.ios, TaskTags, TaskTagsNative, TaskTagsNative.ios, TeammateCreateController, TeammateGenerationLabel, TeammateList, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, WorkingStatusText, _layout, gestureHandler, index, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/index.tsx, apps/mobile/app/index.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/FilterReminderDot.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/MobileUserAvatar.tsx, apps/mobile/src/components/MobileVendorIcon.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteAccessGuide.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/ModalContentArea.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginMenuUnreadDot.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.tsx, apps/mobile/src/remote-desktop/FoldTouchpad.tsx, apps/mobile/src/remote-desktop/NativeRemoteDesktopView.tsx, apps/mobile/src/remote-desktop/PermissionGuide.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.ios.tsx, apps/mobile/src/remote-desktop/PermissionGuideView.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopActionButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopBackButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopChrome.tsx, apps/mobile/src/remote-desktop/RemoteDesktopClipboardButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopDisplaySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopHost.tsx, apps/mobile/src/remote-desktop/RemoteDesktopIcons.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopMouseControls.tsx, apps/mobile/src/remote-desktop/RemoteDesktopNetworkStatus.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.ios.tsx, apps/mobile/src/remote-desktop/RemoteDesktopPanelButton.tsx, apps/mobile/src/remote-desktop/RemoteDesktopScreen.tsx, apps/mobile/src/remote-desktop/RemoteDesktopSecuritySettings.tsx, apps/mobile/src/remote-desktop/RemoteDesktopWindows.tsx, apps/mobile/src/remote-desktop/viewerHtml.ts, apps/mobile/src/session/AccountSwitcherSheet.tsx, apps/mobile/src/session/AutomationTimerIcon.tsx, apps/mobile/src/session/BlurBackdrop.tsx, apps/mobile/src/session/BotGroupAvatars.tsx, apps/mobile/src/session/BotGroupCreateSheet.tsx, apps/mobile/src/session/BotGroupList.tsx, apps/mobile/src/session/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionListRow.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/CompanionPresenceRing.tsx, apps/mobile/src/session/CompanionProfileArtifacts.tsx, apps/mobile/src/session/CompanionProfileNativeView.ios.tsx, apps/mobile/src/session/CompanionProfileNativeView.tsx, apps/mobile/src/session/CompanionProfileSheet.tsx, apps/mobile/src/session/CompanionSettingsRow.ios.tsx, apps/mobile/src/session/CompanionSettingsRow.tsx, apps/mobile/src/session/CompanionSheet.ios.tsx, apps/mobile/src/session/CompanionSheet.tsx, apps/mobile/src/session/ComposerMorphSource.ios.tsx, apps/mobile/src/session/ComposerMorphSource.tsx, apps/mobile/src/session/ComposerNativeRow.ios.tsx, apps/mobile/src/session/ComposerNativeRow.tsx, apps/mobile/src/session/ComposerNativeSection.ios.tsx, apps/mobile/src/session/ComposerNativeSection.tsx, apps/mobile/src/session/ComposerSheet.ios.tsx, apps/mobile/src/session/ComposerSheet.tsx, apps/mobile/src/session/ContextSheet.ios.tsx, apps/mobile/src/session/ContextSheet.tsx, apps/mobile/src/session/ConversationSearchFilterSheet.tsx, apps/mobile/src/session/HomeChromeDrawer.tsx, apps/mobile/src/session/HomeChromeFrost.tsx, apps/mobile/src/session/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/HomeNewTaskButton.tsx, apps/mobile/src/session/HomeProjectMachineLabel.tsx, apps/mobile/src/session/HomeRosterContext.tsx, apps/mobile/src/session/HomeSearchBar.tsx, apps/mobile/src/session/HomeSessionInfoMeta.tsx, apps/mobile/src/session/HomeSurface.tsx, apps/mobile/src/session/HomeTeammatesSection.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/MountOnFirstOpen.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/RemoteTaskSuggestions.tsx, apps/mobile/src/session/RenameSessionModal.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionActionSheet.tsx, apps/mobile/src/session/SessionActionSheetFrame.android.tsx, apps/mobile/src/session/SessionActionSheetFrame.tsx, apps/mobile/src/session/SessionHeaderNativeControls.ios.tsx, apps/mobile/src/session/SessionHeaderNativeControls.tsx, apps/mobile/src/session/SessionOptionsExpoSheet.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SessionRightSpinner.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/SwipeableProjectHeader.tsx, apps/mobile/src/session/SwipeableSessionRow.ios.tsx, apps/mobile/src/session/SwipeableSessionRow.tsx, apps/mobile/src/session/TaskTags.tsx, apps/mobile/src/session/TaskTagsNative.ios.tsx, apps/mobile/src/session/TaskTagsNative.tsx, apps/mobile/src/session/TeammateCreateController.tsx, apps/mobile/src/session/TeammateGenerationLabel.tsx, apps/mobile/src/session/TeammateList.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/WorkingStatusText.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 154 |
+| `mobile.mail` | mobile | 邮件阅读与附件预览 | app/mail-preview.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FileTypeIcon, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileMailHtmlPreview, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginCardActions, PluginCardRecipients, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, mail-preview, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/mail-preview.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/FileTypeIcon.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/MobileMailHtmlPreview.tsx, apps/mobile/src/plugins/PluginCardActions.tsx, apps/mobile/src/plugins/PluginCardRecipients.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 66 |
+| `mobile.overlay.connection-startup` | mobile | 根布局挂载的启动与连接反馈 | app/_layout.tsx → StartupSplashOverlay / ConnectionNoticeProvider;各页面 ConnectionBanner | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, ConnectionNoticeProvider, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, StartupSplashOverlay, ThemeProvider, _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 54 |
+| `mobile.plugins` | mobile | 插件目录、页面与原生交互 | app/plugins.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionNativeContent.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, HtmlBrowserChrome, HtmlBrowserChrome.ios, HtmlFileReader, HtmlWebsiteBrowser, ImageLightbox, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, NativeVideoPlayer, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PluginDetailView, PluginDetailView.ios, PluginDirectoryPicker, PluginDirectoryView, PluginDirectoryView.ios, PluginManagementConfirmation, PluginManagementConfirmation.ios, PluginManagementMenu, PluginMediaViewer, PluginNativeIntent, PluginNotice, PluginNotice.ios, PluginOriginalSettings, PluginPage, PluginPermissionCard, PluginScheduleDraft, PluginSettingsCard, PluginTaskPicker, PluginTaskPickerView, PluginTaskPickerView.ios, PluginToolChips, PluginsScreen, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, ResidentHomeList, SessionPaneDivider, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, SystemNavigationBack, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, _layout, gestureHandler, mediaPlayerWebView, nativeToolbarMenuItems, peerFileTransport, plugins, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/plugins.tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/SystemNavigationBack.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/plugins/PluginDetailView.ios.tsx, apps/mobile/src/plugins/PluginDetailView.tsx, apps/mobile/src/plugins/PluginDirectoryPicker.tsx, apps/mobile/src/plugins/PluginDirectoryView.ios.tsx, apps/mobile/src/plugins/PluginDirectoryView.tsx, apps/mobile/src/plugins/PluginManagementConfirmation.ios.tsx, apps/mobile/src/plugins/PluginManagementConfirmation.tsx, apps/mobile/src/plugins/PluginManagementMenu.tsx, apps/mobile/src/plugins/PluginMediaViewer.tsx, apps/mobile/src/plugins/PluginNativeIntent.tsx, apps/mobile/src/plugins/PluginNotice.ios.tsx, apps/mobile/src/plugins/PluginNotice.tsx, apps/mobile/src/plugins/PluginOriginalSettings.tsx, apps/mobile/src/plugins/PluginPage.tsx, apps/mobile/src/plugins/PluginPermissionCard.tsx, apps/mobile/src/plugins/PluginScheduleDraft.tsx, apps/mobile/src/plugins/PluginSettingsCard.tsx, apps/mobile/src/plugins/PluginTaskPicker.tsx, apps/mobile/src/plugins/PluginTaskPickerView.ios.tsx, apps/mobile/src/plugins/PluginTaskPickerView.tsx, apps/mobile/src/plugins/PluginToolChips.tsx, apps/mobile/src/plugins/PluginsScreen.tsx, apps/mobile/src/plugins/pluginPageHtml.ts, apps/mobile/src/plugins/pluginSettingsHtml.ts, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionNativeContent.ios.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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/HtmlBrowserChrome.ios.tsx, apps/mobile/src/session/HtmlBrowserChrome.tsx, apps/mobile/src/session/HtmlFileReader.tsx, apps/mobile/src/session/HtmlWebsiteBrowser.tsx, apps/mobile/src/session/ImageLightbox.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/NativeVideoPlayer.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.tsx, apps/mobile/src/session/mediaPlayerWebView.tsx, apps/mobile/src/session/mediaPlayerWebViewHtml.ts, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 4 | 257 | 99 |
+| `mobile.remote-desktop` | mobile | 远程桌面 | app/devices/desktop/[deviceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, IncomingShareBridge, McpAppViews, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SheetModal, StartupSplashOverlay, ThemeProvider, [deviceId], _layout, gestureHandler, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/devices/desktop/[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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/theme/ThemeProvider.tsx, apps/mobile/src/theme/navigationTheme.ts, apps/mobile/src/theme/tokens.ts, apps/mobile/src/update/AndroidUpdateSheet.tsx | 0 | 220 | 54 |
+| `mobile.resources` | mobile | 远程资源列表与详情 | app/resources/[collectionId].tsx / app/resources/[collectionId]/[resourceId].tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, CompanionChoice, CompanionCreateNativeView, CompanionCreateNativeView.ios, CompanionImportSheet, CompanionMemoryPage, CompanionMemoryPage.ios, CompanionModelChain, CompanionNativeContent.ios, CompanionPortraitPicker, CompanionProfileArtifacts, CompanionProfileNativeView, CompanionProfileNativeView.ios, CompanionProfileSheet, CompanionSettingsRow, CompanionSettingsRow.ios, CompanionSheet, CompanionSheet.ios, ComposerNativeRow, ComposerNativeRow.ios, ComposerNativeSection, ComposerNativeSection.ios, ComposerSheet, ComposerSheet.ios, ConnectionBanner, ConnectionNoticeOverlay, ContextSheet, ContextSheet.ios, DeviceLinkContext, DirectLinkTransport, ErrorNotice, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileAgentMark, MobileAgentSwitcher, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileModelPickerList, MobileModelPickerList.ios, MobileOutboxBridge, MobilePermissionPickerList, MobilePermissionPickerList.ios, MobilePrimitives, MobileProviderMark, ModelOptionsSheetView, ModelOptionsSheetView.ios, ModelPickerNativeHeader, ModelPickerNativeHeader.ios, ModelPickerSheet, ModelQuotaBar, ModelSpeedIcon, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeErrorNotice.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteCompanionAvatar, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, RemoteSourceMark, ResidentHomeList, SessionPaneDivider, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, UnifiedModelPickerSheet, UnifiedModelPickerView, UnifiedModelPickerView.ios, [collectionId], [resourceId], _layout, gestureHandler, nativeToolbarMenuItems, peerFileTransport, useLocale | apps/mobile/app/_layout.tsx, apps/mobile/app/resources/[collectionId].tsx, apps/mobile/app/resources/[collectionId]/[resourceId].tsx, apps/mobile/src/auth/AuthContext.tsx, apps/mobile/src/auth/MobileLoginHandoffContext.tsx, apps/mobile/src/components/AppText.tsx, apps/mobile/src/components/CenteredScreen.tsx, apps/mobile/src/components/ConnectionBanner.tsx, apps/mobile/src/components/ConnectionNoticeOverlay.tsx, apps/mobile/src/components/ErrorNotice.tsx, apps/mobile/src/components/MobileAgentMark.tsx, apps/mobile/src/components/MobileLoginHandoffStage.tsx, apps/mobile/src/components/MobilePrimitives.tsx, apps/mobile/src/components/NativeErrorNotice.ios.tsx, apps/mobile/src/components/QuietSyncIndicator.tsx, apps/mobile/src/components/RemoteCompanionAvatar.tsx, apps/mobile/src/components/StartupSplashOverlay.tsx, apps/mobile/src/device-link/DeviceLinkContext.tsx, apps/mobile/src/device-link/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/CompanionChoice.tsx, apps/mobile/src/session/CompanionCreateNativeView.ios.tsx, apps/mobile/src/session/CompanionCreateNativeView.tsx, apps/mobile/src/session/CompanionImportSheet.tsx, apps/mobile/src/session/CompanionMemoryPage.ios.tsx, apps/mobile/src/session/CompanionMemoryPage.tsx, apps/mobile/src/session/CompanionModelChain.tsx, apps/mobile/src/session/CompanionNativeContent.ios.tsx, apps/mobile/src/session/CompanionPortraitPicker.tsx, apps/mobile/src/session/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/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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileAgentSwitcher.tsx, apps/mobile/src/session/MobileModelPickerList.ios.tsx, apps/mobile/src/session/MobileModelPickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/MobilePermissionPickerList.ios.tsx, apps/mobile/src/session/MobilePermissionPickerList.tsx, apps/mobile/src/session/MobileProviderMark.tsx, apps/mobile/src/session/ModelOptionsSheetView.ios.tsx, apps/mobile/src/session/ModelOptionsSheetView.tsx, apps/mobile/src/session/ModelPickerNativeHeader.ios.tsx, apps/mobile/src/session/ModelPickerNativeHeader.tsx, apps/mobile/src/session/ModelPickerSheet.tsx, apps/mobile/src/session/ModelQuotaBar.tsx, apps/mobile/src/session/ModelSpeedIcon.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/RemoteSourceMark.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/UnifiedModelPickerSheet.tsx, apps/mobile/src/session/UnifiedModelPickerView.ios.tsx, apps/mobile/src/session/UnifiedModelPickerView.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 | 220 | 90 |
+| `mobile.settings` | mobile | 设置(含调试与日志上传可见入口) | app/settings.tsx / app/settings/developer.tsx / app/settings/device-name.tsx / app/settings/user-bubble.tsx / app/settings/voice-dictionary.tsx / app/settings/voice-speaker-filter.tsx | AdaptiveWindow, AnchoredPullDownMenu, AnchoredPullDownMenu.android, AndroidUpdateSheet, AppText, AuthContext, BlurBackdrop, CenteredScreen, ConnectionBanner, ConnectionNoticeOverlay, DeviceLinkContext, DirectLinkTransport, FoldDesktopSkin, FoldTouchpad, HomeHeaderGlassButton, HomeHeaderGlassButton.ios, HomeNativeStackHeader, HomeStackHeader, IncomingShareBridge, McpAppViews, MobileChoicePickerList, MobileLoginHandoffContext, MobileLoginHandoffStage, MobileOutboxBridge, MobilePrimitives, MobileUserAvatar, NativeBottomSheet, NativeBottomSheet.android, NativeChromeBackButton.ios, NativeChromeButton.ios, NativeMcpAppSurface, NativePullDownMenu, NativeRemoteDesktopView, NativeResidentHistory, NativeSwitch, OutsideTap, PermissionGuide, PermissionGuideView, PermissionGuideView.ios, PushNotificationsBridge, QuietSyncIndicator, RecentMessageHistories, RemoteDesktopActionButton, RemoteDesktopActionButton.ios, RemoteDesktopBackButton, RemoteDesktopBackButton.ios, RemoteDesktopChrome, RemoteDesktopChrome.ios, RemoteDesktopClipboardButton, RemoteDesktopControls, RemoteDesktopDisplaySettings, RemoteDesktopHost, RemoteDesktopIcons, RemoteDesktopMouseControls, RemoteDesktopMouseControls.ios, RemoteDesktopNetworkStatus, RemoteDesktopPanelButton, RemoteDesktopPanelButton.ios, RemoteDesktopScreen, RemoteDesktopSecuritySettings, RemoteDesktopWindows, RemoteHistoryPrefetchBridge, ResidentHomeList, SessionPaneDivider, SettingsGroupRows, SheetModal, SheetSurface, SimpleStackHeader, StartupSplashOverlay, ThemeProvider, UserBubbleHueSlider, UserBubblePage, UserBubblePage.ios, UserBubbleSettings, UserBubbleSettings.ios, _layout, developer, device-name, gestureHandler, listDisclosureTransition, nativeToolbarMenuItems, peerFileTransport, settings, useLocale, user-bubble, voice-dictionary, voice-speaker-filter | apps/mobile/app/_layout.tsx, apps/mobile/app/settings.tsx, apps/mobile/app/settings/developer.tsx, apps/mobile/app/settings/device-name.tsx, apps/mobile/app/settings/user-bubble.tsx, apps/mobile/app/settings/voice-dictionary.tsx, apps/mobile/app/settings/voice-speaker-filter.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/MobileUserAvatar.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/DirectLinkTransport.tsx, apps/mobile/src/device-link/peerFileTransport.tsx, apps/mobile/src/i18n/useLocale.tsx, apps/mobile/src/notifications/PushNotificationsBridge.tsx, apps/mobile/src/platform/AdaptiveWindow.tsx, apps/mobile/src/platform/OutsideTap.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.android.tsx, apps/mobile/src/platform/chrome/AnchoredPullDownMenu.tsx, apps/mobile/src/platform/chrome/HomeNativeStackHeader.tsx, apps/mobile/src/platform/chrome/HomeStackHeader.tsx, apps/mobile/src/platform/chrome/NativeChromeBackButton.ios.tsx, apps/mobile/src/platform/chrome/NativeChromeButton.ios.tsx, apps/mobile/src/platform/chrome/NativePullDownMenu.tsx, apps/mobile/src/platform/chrome/NativeSwitch.tsx, apps/mobile/src/platform/chrome/SimpleStackHeader.tsx, apps/mobile/src/platform/chrome/nativeToolbarMenuItems.tsx, apps/mobile/src/platform/gestureHandler.tsx, apps/mobile/src/remote-desktop/FoldDesktopSkin.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/HomeHeaderGlassButton.ios.tsx, apps/mobile/src/session/HomeHeaderGlassButton.tsx, apps/mobile/src/session/IncomingShareBridge.tsx, apps/mobile/src/session/McpAppViews.tsx, apps/mobile/src/session/MobileChoicePickerList.tsx, apps/mobile/src/session/MobileOutboxBridge.tsx, apps/mobile/src/session/NativeBottomSheet.android.tsx, apps/mobile/src/session/NativeBottomSheet.tsx, apps/mobile/src/session/NativeMcpAppSurface.tsx, apps/mobile/src/session/NativeResidentHistory.tsx, apps/mobile/src/session/RecentMessageHistories.tsx, apps/mobile/src/session/RemoteHistoryPrefetchBridge.tsx, apps/mobile/src/session/ResidentHomeList.tsx, apps/mobile/src/session/SessionPaneDivider.tsx, apps/mobile/src/session/SettingsGroupRows.tsx, apps/mobile/src/session/SheetModal.tsx, apps/mobile/src/session/SheetSurface.tsx, apps/mobile/src/session/listDisclosureTransition.tsx, apps/mobile/src/settings/UserBubbleHueSlider.tsx, apps/mobile/src/settings/UserBubblePage.ios.tsx, apps/mobile/src/settings/UserBubblePage.tsx, apps/mobile/src/settings/UserBubbleSettings.ios.tsx, apps/mobile/src/settings/UserBubbleSettings.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 | 220 | 73 |
### 生产路由覆盖
diff --git a/docs/design-rules/ios-native-design.md b/docs/design-rules/ios-native-design.md
index 5d636f975d..1ae4aaf2f7 100644
--- a/docs/design-rules/ios-native-design.md
+++ b/docs/design-rules/ios-native-design.md
@@ -12,7 +12,7 @@
## 2. 顶部导航
-- 设置页与其他普通页面统一使用系统默认转场,不因入口位于左侧抽屉而反转方向。从任务首页或伙伴首页抽屉进入设置、设备管理或插件页面时,抽屉退场(含遮罩淡出)与系统页面转场同步开始,不先等抽屉关完,也不额外叠加整页淡入。搜索与账号面板仍等待抽屉关闭回调,避免浮层重叠及键盘焦点丢失。实现见 `apps/mobile/app/_layout.tsx` 与 `HomeSurface`、`TeammateHomeScreen`。
+- 设置页与其他普通页面统一使用系统默认转场,不因入口位于左侧抽屉而反转方向。从首页抽屉进入设置、设备管理或插件页面时,抽屉退场(含遮罩淡出)与系统页面转场同步开始,不先等抽屉关完,也不额外叠加整页淡入。搜索与账号面板仍等待抽屉关闭回调,避免浮层重叠及键盘焦点丢失。实现见 `apps/mobile/app/_layout.tsx` 与 `HomeSurface`。
- 首页与任务页导航内容的垂直位置保持一致;安全区只计入一次。对齐的是返回按钮、标题和操作的实际中心,不是容器外框高度。
- 任务顶部整体透明,与中部内容保持连续背景,不另铺一条不一致的底色。
- 标题只显示任务名称,不叠 Harness 图标或第二排元信息;完整信息进入任务详情。长标题截断,不挤压两侧操作。
diff --git a/docs/product-rules/cindy-bots-runtime.md b/docs/product-rules/cindy-bots-runtime.md
index 0d0d4b014f..1b1b78cf44 100644
--- a/docs/product-rules/cindy-bots-runtime.md
+++ b/docs/product-rules/cindy-bots-runtime.md
@@ -1147,13 +1147,13 @@ Codex 切模型重建时,线程索引里的路径不等于文件已经落盘
## 导航未读与系统角标
- 桌面伙伴与任务共用一个侧栏(2026-10-13 定稿):「伙伴」是侧栏第一层的一段,固定在置顶上方,与置顶、全部任务并存;点伙伴只切换主区域,不再整栏切换,也不再有顶部导航的「伙伴 / 返回任务」入口。段名在「展开(行列表)」与「收起成单行头像」之间切换,默认展开,按账号记住;收起时只占一行,放不下的收进末尾「+N」(点开即展开),正在看的聊天始终留在行内,群聊沿用[群聊界面规则](bot-group-chat.md#5-界面)的成员组合头像与单聊区分(`features/bots/TeammatesSection.tsx`、`teammatesSectionPrefs.ts`)。原伙伴列表的新建伙伴 / 群聊、加入群聊、群聊与私聊混排、多设备 Cindy、置顶 / 隐藏 / 复制 / 删除、已隐藏、需要处理的伙伴都留在段内;伙伴不默认置顶。伙伴段没有独立搜索框:侧栏总搜索同时匹配伙伴(名字、简介、技能,含已隐藏、不含已停止)、远程伙伴(含电脑名)与群聊(群名、成员名),命中排在会话结果之前(`TeammateSearchResults`)。侧栏收窄(rail)时由一个带未读数的伙伴图标直达 `/bots`(上次看的伙伴,没有则 Cindy)。
-- 手机任务首页同样以「伙伴」段开头(2026-10-24 定稿「A+B 合一」):段头与置顶段头同款,固定在共享任务、置顶与项目组之上;**展开**为伙伴页同款伙伴行(伙伴与群聊按最近活动混排,默认 3 行,多出的收进「显示全部 N / 收起」),段头右侧「+」新建伙伴或群聊;**收起**为一排 56pt 头像(12/18 名字、未读角点、在回话环,可横滑,最后一格新建)。手机用横滑代替桌面的「+N」。收起状态按账号与首页导航偏好一起记住(`teammatesCollapsed`)。段落不跟随顶栏电脑范围筛选(与桌面一致);搜索、筛选、归档视图与远程引导时隐藏;没有伙伴时只显示一行「添加伙伴」,既无伙伴也无可新建的电脑或仍在首次加载时整段不显示。从段内打开伙伴不切换首页模式,返回仍回到任务;原「任务/伙伴」切换与伙伴页保留不变。实现见 Mobile `HomeTeammatesSection.tsx`,行与排序复用 `TeammateList.tsx` 的 `useTeammateEntries` / `useTeammateRowRenderer`。
+- 手机任务首页同样以「伙伴」段开头(2026-10-24 定稿「A+B 合一」):段头与置顶段头同款,固定在共享任务、置顶与项目组之上;**展开**为伙伴页同款伙伴行(伙伴与群聊按最近活动混排,默认 3 行,多出的收进「显示全部 N / 收起」),段头右侧「+」新建伙伴或群聊;**收起**为一排 56pt 头像(12/18 名字、未读角点、在回话环,可横滑,最后一格新建)。手机用横滑代替桌面的「+N」。收起状态按账号与首页导航偏好一起记住(`teammatesCollapsed`)。段落不跟随顶栏电脑范围筛选(与桌面一致);首页搜索时伙伴段只列出匹配的伙伴与群聊(无匹配则隐藏,搜索期间不收起、不显示新建),筛选、归档视图与远程引导时隐藏;没有伙伴时只显示一行「添加伙伴」,既无伙伴也无可新建的电脑或仍在首次加载时整段不显示。手机与桌面一样只有一个首页(2026-10-24 定稿):抽屉不再有「任务/伙伴」切换,标题范围菜单不列出伙伴,独立伙伴页已退役;从伙伴聊天返回总是回到任务首页,旧版本记住的「停在伙伴页」在下次写入时清除。实现见 Mobile `HomeTeammatesSection.tsx`,行与排序复用 `TeammateList.tsx` 的 `useTeammateEntries` / `useTeammateRowRenderer`。
- 系统通知(完成 / 出错 / 待回复)只由任务侧栏一处发出,`/bots` 路由同样由它观察;正在看的伙伴会话按「注视中」处理,不记未读、不发通知(`useViewedBotSessionId`)。群专线仍不通知。
- 伙伴未读按**有未读的对话数**聚合可见、未归档的伙伴私聊与群聊;私聊行仍显示原有的回复条数,群聊行标记该群未读。生成状态、工具过程、内部私信回执和静默巡检不新增未读。收起成头像时以头像角点提示未读,rail 伙伴图标显示聚合数。
- 桌面 Dock 的完整投影为本机待关注任务数 + 本机未读伙伴对话数。远程伙伴可以出现在伙伴段,但不扩大本机 Dock 范围;目录加载前的通知事件兜底仍由既有 appBadgeService 管理,目录覆盖的伙伴底层 Session ID 用于去重。
- 分区切换和列表刷新不是已读。只有对应对话前台可见、读到尾部并完成内容同步后,读位才推进到实际显示的回复时间;加载历史、后台窗口、生成过程、失败的远程恢复均不按当前时间清零。普通任务原有已读同步保持不变。
- 伙伴读位复用设备本地、账号隔离的持久存储;同机窗口通过 storage 事件更新。它不是跨设备已读协议,手机读过不会清除桌面伙伴角标。群聊复用同样的读位机制,旧工作端缺少回复时间字段时不凭空推断未读。首次建立读位不追溯已有历史,之后列表刷新不重置读位。
-- 手机在现有首页菜单的「任务/伙伴」切换上显示对应数字,不另造返回按钮。伙伴页仍让任务镜像按现有连接恢复链路同步全部可用电脑;任务页本身的筛选、消息存储和运行行为不变。离线保留已有镜像,重连后重取;解除绑定或删除条目后不再聚合。
+- 手机的伙伴未读显示在任务首页伙伴段的行与收起头像角点上,不另造菜单键提示点或返回按钮。首页聚焦时任务镜像按现有连接恢复链路同步全部可用电脑;任务列表本身的筛选、消息存储和运行行为不变。离线保留已有镜像,重连后重取;解除绑定或删除条目后不再聚合。
- 零不显示,入口溢出复用伙伴列表的 `99+` 规范;辅助文本保留完整数字与单位,所有界面语言一起提供。