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(bots): show member count under the group name instead of every member

Chris9d9f3b5bb33a
diff --git a/apps/desktop/scripts/fixtures/group-control/ui-page.mjs b/apps/desktop/scripts/fixtures/group-control/ui-page.mjs
index 0fbb410c5f..b9c547514a 100644
--- a/apps/desktop/scripts/fixtures/group-control/ui-page.mjs
+++ b/apps/desktop/scripts/fixtures/group-control/ui-page.mjs
@@ -6,6 +6,18 @@ const members = [
];
const base = { name: 'Design review', members, messages: 0, sidebar: true };
const QUEUE_CROWD = ['Aster', 'Nova', 'Mira', 'Orin', 'Pax', 'Quill', 'Rhea'].map((name, i) => ({ botId: 'abcdefg'[i], name }));
+/** Nine members across three accounts, as in a real cross-account group (owner request 2026-10-26). */
+const CROWD = [
+ { botId: 'a', name: 'Aster', ownerName: 'Ada', isOwned: false, actorKind: 'bot' },
+ { botId: 'b', name: 'Nova', ownerName: 'Leo', isOwned: false, actorKind: 'bot' },
+ { botId: 'c', name: 'Leo', actorKind: 'human', isOwned: false },
+ { botId: 'd', name: 'Mira', ownerName: 'Ada', isOwned: false, actorKind: 'bot' },
+ { botId: 'e', name: 'Orin', ownerName: 'Kai', isOwned: false, actorKind: 'bot' },
+ { botId: 'f', name: 'Quill', actorKind: 'bot', isOwned: true },
+ { botId: 'g', name: 'Ada', actorKind: 'human', isOwned: false },
+ { botId: 'h', name: 'Kai', actorKind: 'human', isOwned: false },
+ { botId: 'i', name: 'Rhea', ownerName: 'Ada', isOwned: false, actorKind: 'bot' },
+];
const LONG_DEVICE = 'Mac Studio · A very long device name for layout verification';
/** Migrated from check-group-control-layout.mjs (remote-control notice above the composer). */
@@ -38,6 +50,11 @@ export default {
controller: LONG_DEVICE,
},
multiline: { about: 'Eight-line draft pushes the composer up', data: base, lines: 8 },
+ crowded: {
+ about: 'Nine members from three accounts: the header names the group and a member count, not every member',
+ viewport: { width: 800, height: 600 },
+ data: { ...base, members: CROWD, bubbles: true },
+ },
'no-sidebar': { about: 'Collapsed sidebar layout', data: { ...base, sidebar: false } },
bubbles: {
about: 'Teammate bubbles: quote, corner reaction, thread entry, task card, long text at the width cap; hover shows the toolbar beside the bubble',
diff --git a/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx b/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx
index 58aae4ded0..ee7d111681 100644
--- a/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx
+++ b/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx
@@ -82,7 +82,6 @@ import {
import { ChatInviteButton, messageReactionRevision } from './ChatServerControls';
import { animateThreadPanelWidth, ChatThreadPanel } from './ChatThreadPanel';
import {
- BotGroupOrganizerTag,
BotGroupPlanFollowUpRow,
type BotGroupFollowUpAction,
type BotGroupPlanCardAction,
@@ -695,35 +694,29 @@ function BotGroupChatContent({ groupId, direct }: { groupId: string; direct: boo
const settingsLabel = t('bots.groupChat.settings.open');
const headerStatus = headerGroup ? botGroupHeaderStatus(headerGroup, displayName, t) : null;
- // A single-speaker group has no organizer: requests queue everyone or the named teammates.
- const organizerBotId = headerGroup?.singleSpeaker ? null : headerGroup?.organizerBotId ?? null;
const header = useMemo(() => {
if (!headerGroup) return null;
- const names = botGroupMemberNames(members.map((member) => ({ name: botGroupMemberDisplayName(member) })), separator);
+ const shown = direct ? members.filter(member => !member.isSelf) : members;
+ const names = botGroupMemberNames(shown.map((member) => ({ name: botGroupMemberDisplayName(member) })), separator);
+ // A group reads its size, not a roll call (owner request 2026-10-26); the names stay in the
+ // tooltip and the settings drawer. Live activity takes the line over while it lasts.
+ const summary = direct ? names : t('bots.groupChat.memberCount', { count: members.length });
return (
<div ref={threadHeaderRef} data-testid="bot-group-content-header" className="flex h-full w-full min-w-0 items-center gap-2 pr-2">
<button
type="button"
onClick={direct ? undefined : openSettings}
disabled={direct}
+ title={names}
className="flex min-w-0 items-center gap-2 rounded-xl px-2 py-1 text-left hover:bg-[var(--surface-hover)]"
style={WINDOW_NO_DRAG_STYLE}
>
- <BotGroupAvatarStack members={direct ? members.filter(member => !member.isSelf) : members} />
+ <BotGroupAvatarStack members={shown} />
<span className="flex min-w-0 flex-col">
<span className="min-w-0 truncate text-13 font-medium leading-5 text-[var(--text-primary)]">{headerGroup.name}</span>
- <span className="flex min-w-0 items-center gap-2 text-11 leading-4 text-[var(--text-tertiary)]">
- <span className="hidden min-w-0 items-center gap-1 truncate sm:flex" title={names}>
- {(direct ? members.filter(member => !member.isSelf) : members).map((member, index) => (
- <Fragment key={member.botId}>
- {index > 0 ? <span aria-hidden>{separator}</span> : null}
- <span className="shrink-0">{botGroupMemberDisplayName(member)}</span>
- {member.botId === organizerBotId ? <BotGroupOrganizerTag /> : null}
- </Fragment>
- ))}
- </span>
- {headerStatus ? <BotGroupHeaderStatusText text={headerStatus} /> : null}
- </span>
+ {headerStatus
+ ? <BotGroupHeaderStatusText text={headerStatus} className="text-11 leading-4" />
+ : <span data-testid="bot-group-header-summary" className="min-w-0 truncate text-11 leading-4 tabular-nums text-[var(--text-tertiary)]">{summary}</span>}
</span>
</button>
<div className="ml-auto flex shrink-0 items-center">
@@ -742,7 +735,7 @@ function BotGroupChatContent({ groupId, direct }: { groupId: string; direct: boo
</div>
</div>
);
- }, [direct, headerGroup?.name, headerGroup?.id, headerGroup?.serverBacked, headerGroup?.canInvite, members, organizerBotId, headerStatus, openSettings, separator, settingsLabel]);
+ }, [direct, headerGroup?.name, headerGroup?.id, headerGroup?.serverBacked, headerGroup?.canInvite, members, headerStatus, openSettings, separator, settingsLabel, t]);
useRegisterContentHeader(header);
const running = group?.round.status === 'running';
diff --git a/apps/desktop/src/renderer/features/bots/__tests__/BotGroupChatView.test.tsx b/apps/desktop/src/renderer/features/bots/__tests__/BotGroupChatView.test.tsx
index d0722ec6ac..01e04b6031 100644
--- a/apps/desktop/src/renderer/features/bots/__tests__/BotGroupChatView.test.tsx
+++ b/apps/desktop/src/renderer/features/bots/__tests__/BotGroupChatView.test.tsx
@@ -1147,7 +1147,9 @@ describe('BotGroupChatView', () => {
expect(screen.getByText('bots.groupChat.timeline.roundEnded')).toBeTruthy();
const header = screen.getByTestId('content-header');
expect(header.textContent).toContain('周末出游');
- expect(header.textContent).toContain('咪咪');
+ // The line under the name reads the group's size, not every member; the names stay in the tooltip.
+ expect(within(header).getByTestId('bot-group-header-summary').textContent).toBe('bots.groupChat.memberCount');
+ expect(header.querySelector('button[title]')?.getAttribute('title')).toBe('咪咪bots.groupChat.memberSeparator小满');
fireEvent.click(screen.getByRole('button', { name: 'bots.groupChat.settings.open' }));
expect(mocks.navigate).toHaveBeenCalledWith('/bots/groups/g1?groupSettings=1');
});
@@ -1362,7 +1364,7 @@ describe('BotGroupChatView', () => {
renderView();
const header = screen.getByTestId('content-header');
expect(header.textContent).toContain('周末出游');
- expect(header.textContent).toContain('咪咪');
+ expect(within(header).getByTestId('bot-group-header-summary').textContent).toBe('bots.groupChat.memberCount');
expect(screen.queryByTestId('bot-group-timeline-loading')).toBeNull();
expect(screen.queryByRole('textbox')).toBeNull();
expect(await screen.findByRole('status', { name: 'ccAgent.common.loading' })).toBeTruthy();
@@ -2328,7 +2330,7 @@ describe('BotGroupChatView', () => {
expect(card.textContent).toContain('bots.groupChat.plan.intro');
expect(card.textContent).toContain('想清楚这页讲什么');
expect(card.textContent).toContain('画设计稿');
- // The organizer tag sits next to the plan card's author (the header shows it too).
+ // The organizer tag sits next to the plan card's author.
expect(within(card.closest('article')!).getByText('bots.groupChat.organizer')).toBeTruthy();
expect(screen.getByText('bots.groupChat.plan.editHint')).toBeTruthy();
expect(screen.getByText('bots.groupChat.plan.pauseNote')).toBeTruthy();
diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.json
index 768df0944c..c59e6741c1 100644
--- a/apps/desktop/src/renderer/i18n/locales/en/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json
@@ -9583,8 +9583,8 @@
"speaking": "{{name}} is replying…",
"planning": "{{name}} is splitting the work…"
},
- "memberCount_one": "{{count}} teammate",
- "memberCount_other": "{{count}} teammates",
+ "memberCount_one": "{{count}} member",
+ "memberCount_other": "{{count}} members",
"nameLabel": "Group Name",
"waitingConfirm": "{{name}} is waiting for your go-ahead",
"loadFailedTitle": "Couldn’t Load This Group Chat",
diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.json
index e064bcd314..2edb103dc8 100644
--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json
@@ -9549,8 +9549,8 @@
"speaking": "{{name}} が返信中…",
"planning": "{{name}} が役割分担を考え中…"
},
- "memberCount_one": "仲間 {{count}} 人",
- "memberCount_other": "仲間 {{count}} 人",
+ "memberCount_one": "メンバー {{count}} 人",
+ "memberCount_other": "メンバー {{count}} 人",
"nameLabel": "グループ名",
"waitingConfirm": "{{name}} があなたの確認を待っています",
"loadFailedTitle": "このグループチャットを読み込めません",
diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.json
index d742704578..49265bb01d 100644
--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json
@@ -9549,8 +9549,8 @@
"speaking": "{{name}} 님이 답하는 중…",
"planning": "{{name}} 님이 역할을 나누는 중…"
},
- "memberCount_one": "동료 {{count}}명",
- "memberCount_other": "동료 {{count}}명",
+ "memberCount_one": "멤버 {{count}}명",
+ "memberCount_other": "멤버 {{count}}명",
"nameLabel": "그룹 이름",
"waitingConfirm": "{{name}} 님이 확인을 기다리고 있어요",
"loadFailedTitle": "이 그룹 채팅을 불러올 수 없습니다",
diff --git a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
index e594f1fffe..40c23f6c02 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
@@ -9549,8 +9549,8 @@
"speaking": "{{name}} 正在说…",
"planning": "{{name}} 正在安排…"
},
- "memberCount_one": "{{count}} 位伙伴",
- "memberCount_other": "{{count}} 位伙伴",
+ "memberCount_one": "{{count}} 位成员",
+ "memberCount_other": "{{count}} 位成员",
"nameLabel": "群名称",
"waitingConfirm": "{{name}}在等你确认",
"loadFailedTitle": "无法加载这个群聊",
diff --git a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
index 7d46206f6e..ecd8326504 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
@@ -9549,8 +9549,8 @@
"speaking": "{{name}} 正在說…",
"planning": "{{name}} 正在安排…"
},
- "memberCount_one": "{{count}} 位夥伴",
- "memberCount_other": "{{count}} 位夥伴",
+ "memberCount_one": "{{count}} 位成員",
+ "memberCount_other": "{{count}} 位成員",
"nameLabel": "群聊名稱",
"waitingConfirm": "{{name}}在等你確認",
"loadFailedTitle": "無法載入這個群聊",
diff --git a/apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx b/apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx
index b90f6a99bb..a3af2de9b2 100644
--- a/apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx
+++ b/apps/mobile/src/__tests__/BotGroupChatScreen.test.tsx
@@ -633,7 +633,9 @@ describe('group timeline', () => {
expect(byId('botGroup.file')?.textContent).toBe('页面想法.md');
expect(byId('botGroup.olderOnComputer')).not.toBeNull();
expect(byId('botGroup.organizerTag')?.textContent).toBe('groupChat.organizer');
- expect(node.textContent).toContain('咪咪groupChat.memberSeparator阿布groupChat.memberSeparator小满');
+ // The header reads the group's size, not every member (the names stay in its accessibility label).
+ expect(node.textContent).toContain('groupChat.memberCount(count=3)');
+ expect(node.textContent).not.toContain('咪咪groupChat.memberSeparator阿布');
});
it('continues the round and explains files that stay on the computer', async () => {
diff --git a/apps/mobile/src/debug/teammateVisualFixture.ts b/apps/mobile/src/debug/teammateVisualFixture.ts
index ca30eb08ea..293398697d 100644
--- a/apps/mobile/src/debug/teammateVisualFixture.ts
+++ b/apps/mobile/src/debug/teammateVisualFixture.ts
@@ -46,6 +46,20 @@ export function teammateVisualFixture(channel: string, args: unknown[], now = FI
actions: [{ id: 'open-create', label: 'New teammate' }] }],
} satisfies RemoteResourceManifestResponse;
const request = args[0] as { collectionId?: string; ref?: { collectionId?: string; id?: string }; resourceRef?: { id?: string }; input?: { op?: string; args?: { id?: string } } } | undefined;
+ // Nine members from three accounts: the header shows a member count, not every name.
+ if (channel === REMOTE_RESOURCE_GET_CHANNEL && request?.ref?.collectionId === BOT_GROUP_REMOTE_COLLECTION_ID
+ && request.ref.id === 'visual-crowded-group') return {
+ ref: { collectionId: BOT_GROUP_REMOTE_COLLECTION_ID, kind: BOT_GROUP_REMOTE_RESOURCE_KIND, id: request.ref.id },
+ revision: 'visual-1', display: { title: 'Design review' }, actions: [], links: [],
+ blocks: [{ id: 'chat', primitive: BOT_GROUP_CHAT_PRIMITIVE, fallbackMarkdown: 'Design review', data: {
+ id: request.ref.id, name: 'Design review',
+ members: ['Aster (Ada)', 'Nova (Leo)', 'Leo', 'Mira (Ada)', 'Orin (Kai)', 'Quill', 'Ada', 'Kai', 'Rhea (Ada)']
+ .map((name, index) => ({ botId: `visual-crowd-${index}`, name, status: 'active' })),
+ messages: [{ id: 'visual-crowd-message', sequence: 1, kind: 'message', authorKind: 'bot', authorBotId: 'visual-crowd-0',
+ authorName: 'Aster (Ada)', content: '首页改版的稿子我放在群文件夹里了,大家看一下。', createdAt: now }],
+ plans: [], createdAt: now, updatedAt: now,
+ } }],
+ };
if (channel === REMOTE_RESOURCE_GET_CHANNEL && request?.ref?.collectionId === BOT_GROUP_REMOTE_COLLECTION_ID
&& request.ref.id === 'visual-session-process') return {
ref: { collectionId: BOT_GROUP_REMOTE_COLLECTION_ID, kind: BOT_GROUP_REMOTE_RESOURCE_KIND, id: request.ref.id },
diff --git a/apps/mobile/src/i18n/locales/en/groupChat.json b/apps/mobile/src/i18n/locales/en/groupChat.json
index 773617f382..347747cb3d 100644
--- a/apps/mobile/src/i18n/locales/en/groupChat.json
+++ b/apps/mobile/src/i18n/locales/en/groupChat.json
@@ -1,8 +1,8 @@
{
"title": "Group Chats",
"memberSeparator": ", ",
- "memberCount_one": "{{count}} teammate",
- "memberCount_other": "{{count}} teammates",
+ "memberCount_one": "{{count}} member",
+ "memberCount_other": "{{count}} members",
"organizer": "Organizer",
"waitingConfirm": "{{name}} is waiting for your go-ahead",
"loadFailedTitle": "Couldn’t Load This Group Chat",
diff --git a/apps/mobile/src/i18n/locales/ja/groupChat.json b/apps/mobile/src/i18n/locales/ja/groupChat.json
index 12655f629c..4e52a682e4 100644
--- a/apps/mobile/src/i18n/locales/ja/groupChat.json
+++ b/apps/mobile/src/i18n/locales/ja/groupChat.json
@@ -1,8 +1,8 @@
{
"title": "グループチャット",
"memberSeparator": "、",
- "memberCount_one": "仲間 {{count}} 人",
- "memberCount_other": "仲間 {{count}} 人",
+ "memberCount_one": "メンバー {{count}} 人",
+ "memberCount_other": "メンバー {{count}} 人",
"organizer": "まとめ役",
"waitingConfirm": "{{name}} があなたの確認を待っています",
"loadFailedTitle": "このグループチャットを読み込めません",
diff --git a/apps/mobile/src/i18n/locales/ko/groupChat.json b/apps/mobile/src/i18n/locales/ko/groupChat.json
index 2c1087f444..067b616638 100644
--- a/apps/mobile/src/i18n/locales/ko/groupChat.json
+++ b/apps/mobile/src/i18n/locales/ko/groupChat.json
@@ -1,8 +1,8 @@
{
"title": "그룹 채팅",
"memberSeparator": ", ",
- "memberCount_one": "동료 {{count}}명",
- "memberCount_other": "동료 {{count}}명",
+ "memberCount_one": "멤버 {{count}}명",
+ "memberCount_other": "멤버 {{count}}명",
"organizer": "담당자",
"waitingConfirm": "{{name}} 님이 확인을 기다리고 있어요",
"loadFailedTitle": "이 그룹 채팅을 불러올 수 없습니다",
diff --git a/apps/mobile/src/i18n/locales/zh-CN/groupChat.json b/apps/mobile/src/i18n/locales/zh-CN/groupChat.json
index afbb4460b3..0a17639b97 100644
--- a/apps/mobile/src/i18n/locales/zh-CN/groupChat.json
+++ b/apps/mobile/src/i18n/locales/zh-CN/groupChat.json
@@ -1,8 +1,8 @@
{
"title": "群聊",
"memberSeparator": "、",
- "memberCount_one": "{{count}} 位伙伴",
- "memberCount_other": "{{count}} 位伙伴",
+ "memberCount_one": "{{count}} 位成员",
+ "memberCount_other": "{{count}} 位成员",
"organizer": "负责人",
"waitingConfirm": "{{name}}在等你确认",
"loadFailedTitle": "无法加载这个群聊",
diff --git a/apps/mobile/src/i18n/locales/zh-TW/groupChat.json b/apps/mobile/src/i18n/locales/zh-TW/groupChat.json
index d56355beb2..864a34666d 100644
--- a/apps/mobile/src/i18n/locales/zh-TW/groupChat.json
+++ b/apps/mobile/src/i18n/locales/zh-TW/groupChat.json
@@ -1,8 +1,8 @@
{
"title": "群聊",
"memberSeparator": "、",
- "memberCount_one": "{{count}} 位夥伴",
- "memberCount_other": "{{count}} 位夥伴",
+ "memberCount_one": "{{count}} 位成員",
+ "memberCount_other": "{{count}} 位成員",
"organizer": "負責人",
"waitingConfirm": "{{name}}在等你確認",
"loadFailedTitle": "無法載入這個群聊",
diff --git a/apps/mobile/src/session/BotGroupChatScreen.tsx b/apps/mobile/src/session/BotGroupChatScreen.tsx
index 4bd8ad4747..a29b0d0673 100644
--- a/apps/mobile/src/session/BotGroupChatScreen.tsx
+++ b/apps/mobile/src/session/BotGroupChatScreen.tsx
@@ -41,6 +41,7 @@ import {
BOT_GROUP_REMOTE_COLLECTION_ID,
isBotGroupRuntimeFailureCode,
resolveBotGroupQuote,
+ BOT_GROUP_MEMBER_LINK_REL,
botGroupQuoteFromMessage,
isBotGroupMessageQuotable,
type BotGroupQuoteView,
@@ -426,9 +427,14 @@ export function BotGroupChatScreen({ deviceId, deviceName, groupId, messageId, n
const title = group?.name ?? (cachedRow ? resolveRemoteText(cachedRow.item.display.title, i18n.language) : '');
const direct = group?.conversationKind === 'direct';
const peer = direct ? group.members.find(member => !member.isSelf) : undefined;
- const memberLine = direct ? '' : group
+ // The header reads the group's size, not a roll call (owner request 2026-10-26); the names stay
+ // in the accessibility label and in group settings. The list row's member links seed the count.
+ const memberNames = direct ? '' : group
? botGroupMemberNames(group.members, t('groupChat.memberSeparator'))
: cachedRow?.item.display.subtitle ? resolveRemoteText(cachedRow.item.display.subtitle, i18n.language) : '';
+ const memberCount = group ? group.members.length
+ : cachedRow?.item.links?.filter((link) => link.rel === BOT_GROUP_MEMBER_LINK_REL).length ?? 0;
+ const memberLine = direct || memberCount === 0 ? '' : t('groupChat.memberCount', { count: memberCount });
const headerMembers = group ? group.members.map((member) => identityFor(member.botId, member.name)) : [];
const header = <ChatIdentityHeader testIDPrefix="botGroup" settingsTestID="botGroup.settingsButton" nativeHeader={nativeHeader}
@@ -436,7 +442,7 @@ export function BotGroupChatScreen({ deviceId, deviceName, groupId, messageId, n
working={group?.round.status === 'running'} />}
title={title}
subtitle={threadRootId ? t('message.renderer.reply') : memberLine}
- identityLabel={[title, memberLine].filter(Boolean).join(', ')}
+ identityLabel={[title, memberLine, memberNames].filter(Boolean).join(', ')}
identityHint={t('groupChat.settings.open')}
controlsReady={!!group}
onBack={threadRootId ? () => router.replace(`/companions/groups/${groupId}?messageId=${threadRootId}` as never) : leave}
diff --git a/docs/design-rules/design-decision-log.md b/docs/design-rules/design-decision-log.md
index 10dbf1febe..b306f304ca 100644
--- a/docs/design-rules/design-decision-log.md
+++ b/docs/design-rules/design-decision-log.md
@@ -12,6 +12,8 @@
## 2026-10
+- **10-26 群聊顶栏群名下一行改为人数,不再列出所有成员**——用户指出群名下面把成员名用「、」平铺列满,跨账号的群里「Miao (dash)、Cindy (chris)、dash、Opus (dash)…」又长又乱,要求「不能列满」。现行:Desktop 与 Mobile 群聊顶栏群名下只写「N 位成员」(人与伙伴一起算,Desktop 用等宽数字),不再在这一行标「负责人」;有人在发言、安排或做某一步时,这一行换成原有的进行中状态(✨「X 正在说…」),结束后回到人数,与 Telegram/Slack 的群头一致。完整名单移到悬停提示(Desktop)与读屏标签(Mobile),群设置的成员列表不变;私聊仍显示对方名字。`memberCount` 文案由「N 位伙伴」改为「N 位成员」,因为群里也有人类成员,群设置抽屉同步受益。被取代:bot-group-chat.md §5「成员名单(负责人带标)」。落点:`BotGroupChatView.tsx` 顶栏、`BotGroupChatScreen.tsx` 副标题;单页场景 `group-chat --case crowded`。
+
- **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` 品牌回调页。
diff --git a/docs/product-rules/bot-group-chat.md b/docs/product-rules/bot-group-chat.md
index 976195c733..92e0c402d5 100644
--- a/docs/product-rules/bot-group-chat.md
+++ b/docs/product-rules/bot-group-chat.md
@@ -250,8 +250,9 @@ Chat Server 声明 `capabilities.groupSingleSpeaker: 1` 时,服务器群按下
有伙伴正在发言时显示运行中标记。未读角标是真实条数:宿主随摘要给出最近(至多 99 条)别人发来的消息时间
(`incomingMessageTimes`),与本机读位比较;旧宿主没有这份列表时只显示 1。伙伴发的安排卡与回复同样算来信:
本机群的 `lastReplyAt` 取两者里最新的一条,首次种读位时不会把最新的安排卡留成未读。
-- 群聊页(2026-10-20 与伙伴私聊统一为气泡,设计稿见伙伴对话面板 r3.4):顶部为成员头像、群名、成员名单(负责人带标)与
- 此刻谁在做什么(「X 正在做第 2 步」「X 正在说…」「X 正在安排…」),右侧为群设置入口。时间线:自己的消息靠右,沿用用户
+- 群聊页(2026-10-20 与伙伴私聊统一为气泡,设计稿见伙伴对话面板 r3.4):顶部为成员头像、群名与群名下一行;这一行平时只写人数
+ (「9 位成员」,人与伙伴一起算,不逐个列名、不标负责人;完整名单在悬停提示、读屏标签与群设置里,2026-10-26 用户要求「不能列满」),
+ 有人在做事时换成此刻谁在做什么(「X 正在做第 2 步」「X 正在说…」「X 正在安排…」);手机顶栏同样只写人数。右侧为群设置入口。时间线:自己的消息靠右,沿用用户
气泡,正文、引用与附件同在这一个气泡里;伙伴与别人的消息靠左,28px 头像 + 名字 + 时刻,下面是卡片底、细边框的气泡(不加阴影,DESIGN.md §6),引用、
正文、任务卡、分工表、附件与贴回的话题回复都在气泡里,任务卡与分工表是气泡内的浅色内嵌区;正文与任务正文同一字号
(15/1.6)。气泡宽度由内容决定,上限 720px 并始终给外侧操作栏留出位置。同一作者五分钟内的连续消息合并——后续行不再