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。

fix(desktop): 断线设备不撑开分组,手动排序标明设备分组失效,PR 失败不覆盖成功

Dash3d061784646c
diff --git a/apps/desktop/help-knowledge/sidebar.md b/apps/desktop/help-knowledge/sidebar.md
index 591f325d62..d68bb98ba5 100644
--- a/apps/desktop/help-knowledge/sidebar.md
+++ b/apps/desktop/help-knowledge/sidebar.md
@@ -32,7 +32,7 @@ The left sidebar lists your sessions. It's the main way to navigate and organize
- **Project** — multi-select working directories plus **Chat** (projectless sessions), or "all". Selecting specific projects hides chats unless **Chat** is also checked; check only **Chat** to see projectless sessions alone.
- **Agent** — Claude Code / Codex / all.
- **Recent activity** — last 1 day / 3 days / 7 days / 30 days / all.
-- A **Reset filters** action at the bottom clears all four at once. Filters do **not** apply to the Pinned section, except Status (archived pins stay hidden while Status is Active). When any filter is on, a **Filtered** mark stays next to the list header so a persisted filter cannot hide sessions with no visible explanation.
+- A **Reset filters** action at the bottom clears all four at once. Filters do **not** apply to the Pinned section, except Status (archived pins stay hidden while Status is Active). The list header does not show a standing “filtered” mark; open Sidebar display settings to see which filters are on.
**Display:**
diff --git a/apps/desktop/src/main/maker-ipc/helpKnowledge.generated.ts b/apps/desktop/src/main/maker-ipc/helpKnowledge.generated.ts
index 71e31715fa..f838a96aed 100644
--- a/apps/desktop/src/main/maker-ipc/helpKnowledge.generated.ts
+++ b/apps/desktop/src/main/maker-ipc/helpKnowledge.generated.ts
@@ -138,7 +138,7 @@ export const HELP_KNOWLEDGE: HelpKnowledgeDoc[] = [
id: "sidebar",
title: "Finding and organizing sessions",
summary: "Browse, group, filter, sort, search, and pin sessions or projects in the left sidebar.",
- content: "The left sidebar lists your sessions. It's the main way to navigate and organize. The **Sidebar display settings** menu holds grouping, sorting, filters, and display options — open it from the sliders icon on the main list header, from **Sidebar display settings** in the device-scope menu, or by right-clicking any blank area of the sidebar.\n\n**Device scope (the list header itself):**\n\n- The main list header doubles as the device scope switcher. Its text names what you're looking at — **All sessions**, **This device's sessions**, a remote device's name, or **N machines** — and clicking it opens the scope menu: all / this device / each connected remote device (single-click switches; checkboxes multi-select), plus **Remote connection settings** and **Sidebar display settings**.\n- The scope applies to the whole sidebar, including the Pinned section.\n- With no remote devices, the header still shows **All sessions ▾**. Clicking it opens a short menu with only **Remote connection settings** and **Sidebar display settings** — no device list. The header stays visible even when the list is empty, only pinned items remain, remote devices/tasks are loading or failed, or the selected remote device is still connecting. There is no separate device row in the top navigation.\n\n**Grouping (independent checkboxes, freely combinable):**\n\n- **Group by project** (default on) — sessions with a project fold into project rows; project rows and stray chats compete for position on the same timeline (a chat active two minutes ago sorts above a project last touched yesterday). Turn it off for a flat list.\n- **Group by device** (default on) — only appears when a remote device is connected and the scope isn't narrowed to a single machine; splits the list into device sections (this device first), each with a collapsible header showing the device name and online state. When the last remote device disconnects — or the scope is a single machine — the option disappears and the effect is lifted; the saved preference is untouched and comes back automatically.\n- **Group chats together** (default on) — collects projectless sessions into one collapsible **Chat** group instead of interleaving them. With device grouping on, each device section gets its own Chat group with independent collapse state.\n- Grouping **by date** has been removed.\n\n**Sorting:**\n\n- **By time** (default) — one activity timeline for the whole list, most recent first. There is no oldest-first option.\n- **Priority** — four tiers, same as Codex: sessions waiting on you (pending reply / approval / error) first, then finished-unread sessions, then running sessions, then the rest by time. A project row inherits the highest priority among its sessions. Unread state is in-memory: after a restart most sessions fall back to time order.\n- **Manual** — drag project rows to set a persistent custom order. Manual order covers **project rows only**; stray chats and the Chat group always follow by recency. Switch to Manual first to drag; other sort modes do not start a drag.\n- Sorting **alphabetically** and **oldest first** have been removed.\n\n**Filters (one row that opens a submenu):**\n\n- **Status** — active / archived / all.\n- **Project** — multi-select working directories plus **Chat** (projectless sessions), or \"all\". Selecting specific projects hides chats unless **Chat** is also checked; check only **Chat** to see projectless sessions alone.\n- **Agent** — Claude Code / Codex / all.\n- **Recent activity** — last 1 day / 3 days / 7 days / 30 days / all.\n- A **Reset filters** action at the bottom clears all four at once. Filters do **not** apply to the Pinned section, except Status (archived pins stay hidden while Status is Active). When any filter is on, a **Filtered** mark stays next to the list header so a persisted filter cannot hide sessions with no visible explanation.\n\n**Display:**\n\n- The main list has **Text** (compact single row) and **List** (two-line row with a preview) styles. Fresh installs default to List; installs upgraded from an older version keep Text so the sidebar looks the way it did before the upgrade. This is separate from the Pinned section's style.\n- **Session info** — choose what shows at the right edge of each row: **Time** (default), **PR status** (a status icon plus a monospace `#number`; only the icon is colored — green open / gray draft / red closed / accent merged; unknown state shows a gray icon; sessions without a PR show nothing), **Tokens** (compact total like `1.4M`), and **Cost** (`$`/`¥` by currency). Multi-select; items render in the order you selected them.\n\n**Pinning:**\n\n- Right-click a session and pick **Pin** to keep it at the top. There's no cap on the number of pinned sessions; a newly pinned session goes to the **front** of the pin order (most recent pin first).\n- Right-click a pinned session and pick **Unpin** to remove the pin.\n- Open a project's overflow menu and pick **Pin project** to move the whole project into **Pinned**. Project pins are independent from session pins, remain available after a restart or project rename, and can be expanded or collapsed inside **Pinned**.\n- Pinned projects and sessions share one draggable order. Newly pinned items move to the front, while the other pinned items keep their relative order. Use **Unpin project** to return a project to its position under the current project sorting mode.\n- The **Pinned** section keeps its own display style: **Text**, **List**, and **Card** — Card mode is exclusive to Pinned.\n\n**Collapse / expand all groups:**\n\n- The fold button next to the display-settings button collapses or expands every group at once. With both device and project grouping on, it cycles through levels: collapse project groups → collapse device groups → expand all. The tooltip always names the next step.\n\n**Searching:**\n\n- The search box matches against the **session title only** — not message content and not the working directory path. If you can't remember a session's title, browse via project / agent filters instead.\n\n**Right-click actions:**\n\n- On a regular session: **Pin / Unpin**, **Rename**, **Move to project** (submenu), **Copy session link** (a `cindy://session/<id>` deep link), **Open in new window**, **Archive**, **Delete**.\n- On an archived session: **Rename**, **Unarchive**, **Copy session link**, **Delete**.\n\n**Removing a project from the sidebar:**\n\n- Open a local project's overflow menu and choose **Remove Project from Sidebar**. Cindy asks for confirmation, removes the project from the sidebar, and keeps its existing sessions available as projectless chats in the main list. Individually pinned sessions remain in **Pinned**. Those sessions are not archived or stopped, and files on your computer are not deleted.\n- To restore the project, choose **Add Project** and select the same directory again. Cindy restores the existing sessions under their original project grouping instead of creating an empty session.\n\n**Session statuses:**\n\n- Sessions are **active**, **archived**, or **deleted** — there are no other states. Archiving hides a session from the default view without removing it; delete is unrecoverable from the UI.\n\n**Notes:**\n\n- Click the sidebar collapse arrow to shrink it to an icon-only strip — that's purely visual, you don't lose any features.\n- **Pin state, order, hidden projects, project filters, and identity-based collapse/selection state are isolated per Cindy account.** Pin and hidden-project changes sync across open windows for the same account. Display-only preferences (list style, grouping toggles, sorting, session info) remain local to each window, so they don't sync between, say, a dev window and the installed app.",
+ content: "The left sidebar lists your sessions. It's the main way to navigate and organize. The **Sidebar display settings** menu holds grouping, sorting, filters, and display options — open it from the sliders icon on the main list header, from **Sidebar display settings** in the device-scope menu, or by right-clicking any blank area of the sidebar.\n\n**Device scope (the list header itself):**\n\n- The main list header doubles as the device scope switcher. Its text names what you're looking at — **All sessions**, **This device's sessions**, a remote device's name, or **N machines** — and clicking it opens the scope menu: all / this device / each connected remote device (single-click switches; checkboxes multi-select), plus **Remote connection settings** and **Sidebar display settings**.\n- The scope applies to the whole sidebar, including the Pinned section.\n- With no remote devices, the header still shows **All sessions ▾**. Clicking it opens a short menu with only **Remote connection settings** and **Sidebar display settings** — no device list. The header stays visible even when the list is empty, only pinned items remain, remote devices/tasks are loading or failed, or the selected remote device is still connecting. There is no separate device row in the top navigation.\n\n**Grouping (independent checkboxes, freely combinable):**\n\n- **Group by project** (default on) — sessions with a project fold into project rows; project rows and stray chats compete for position on the same timeline (a chat active two minutes ago sorts above a project last touched yesterday). Turn it off for a flat list.\n- **Group by device** (default on) — only appears when a remote device is connected and the scope isn't narrowed to a single machine; splits the list into device sections (this device first), each with a collapsible header showing the device name and online state. When the last remote device disconnects — or the scope is a single machine — the option disappears and the effect is lifted; the saved preference is untouched and comes back automatically.\n- **Group chats together** (default on) — collects projectless sessions into one collapsible **Chat** group instead of interleaving them. With device grouping on, each device section gets its own Chat group with independent collapse state.\n- Grouping **by date** has been removed.\n\n**Sorting:**\n\n- **By time** (default) — one activity timeline for the whole list, most recent first. There is no oldest-first option.\n- **Priority** — four tiers, same as Codex: sessions waiting on you (pending reply / approval / error) first, then finished-unread sessions, then running sessions, then the rest by time. A project row inherits the highest priority among its sessions. Unread state is in-memory: after a restart most sessions fall back to time order.\n- **Manual** — drag project rows to set a persistent custom order. Manual order covers **project rows only**; stray chats and the Chat group always follow by recency. Switch to Manual first to drag; other sort modes do not start a drag.\n- Sorting **alphabetically** and **oldest first** have been removed.\n\n**Filters (one row that opens a submenu):**\n\n- **Status** — active / archived / all.\n- **Project** — multi-select working directories plus **Chat** (projectless sessions), or \"all\". Selecting specific projects hides chats unless **Chat** is also checked; check only **Chat** to see projectless sessions alone.\n- **Agent** — Claude Code / Codex / all.\n- **Recent activity** — last 1 day / 3 days / 7 days / 30 days / all.\n- A **Reset filters** action at the bottom clears all four at once. Filters do **not** apply to the Pinned section, except Status (archived pins stay hidden while Status is Active). The list header does not show a standing “filtered” mark; open Sidebar display settings to see which filters are on.\n\n**Display:**\n\n- The main list has **Text** (compact single row) and **List** (two-line row with a preview) styles. Fresh installs default to List; installs upgraded from an older version keep Text so the sidebar looks the way it did before the upgrade. This is separate from the Pinned section's style.\n- **Session info** — choose what shows at the right edge of each row: **Time** (default), **PR status** (a status icon plus a monospace `#number`; only the icon is colored — green open / gray draft / red closed / accent merged; unknown state shows a gray icon; sessions without a PR show nothing), **Tokens** (compact total like `1.4M`), and **Cost** (`$`/`¥` by currency). Multi-select; items render in the order you selected them.\n\n**Pinning:**\n\n- Right-click a session and pick **Pin** to keep it at the top. There's no cap on the number of pinned sessions; a newly pinned session goes to the **front** of the pin order (most recent pin first).\n- Right-click a pinned session and pick **Unpin** to remove the pin.\n- Open a project's overflow menu and pick **Pin project** to move the whole project into **Pinned**. Project pins are independent from session pins, remain available after a restart or project rename, and can be expanded or collapsed inside **Pinned**.\n- Pinned projects and sessions share one draggable order. Newly pinned items move to the front, while the other pinned items keep their relative order. Use **Unpin project** to return a project to its position under the current project sorting mode.\n- The **Pinned** section keeps its own display style: **Text**, **List**, and **Card** — Card mode is exclusive to Pinned.\n\n**Collapse / expand all groups:**\n\n- The fold button next to the display-settings button collapses or expands every group at once. With both device and project grouping on, it cycles through levels: collapse project groups → collapse device groups → expand all. The tooltip always names the next step.\n\n**Searching:**\n\n- The search box matches against the **session title only** — not message content and not the working directory path. If you can't remember a session's title, browse via project / agent filters instead.\n\n**Right-click actions:**\n\n- On a regular session: **Pin / Unpin**, **Rename**, **Move to project** (submenu), **Copy session link** (a `cindy://session/<id>` deep link), **Open in new window**, **Archive**, **Delete**.\n- On an archived session: **Rename**, **Unarchive**, **Copy session link**, **Delete**.\n\n**Removing a project from the sidebar:**\n\n- Open a local project's overflow menu and choose **Remove Project from Sidebar**. Cindy asks for confirmation, removes the project from the sidebar, and keeps its existing sessions available as projectless chats in the main list. Individually pinned sessions remain in **Pinned**. Those sessions are not archived or stopped, and files on your computer are not deleted.\n- To restore the project, choose **Add Project** and select the same directory again. Cindy restores the existing sessions under their original project grouping instead of creating an empty session.\n\n**Session statuses:**\n\n- Sessions are **active**, **archived**, or **deleted** — there are no other states. Archiving hides a session from the default view without removing it; delete is unrecoverable from the UI.\n\n**Notes:**\n\n- Click the sidebar collapse arrow to shrink it to an icon-only strip — that's purely visual, you don't lose any features.\n- **Pin state, order, hidden projects, project filters, and identity-based collapse/selection state are isolated per Cindy account.** Pin and hidden-project changes sync across open windows for the same account. Display-only preferences (list style, grouping toggles, sorting, session info) remain local to each window, so they don't sync between, say, a dev window and the installed app.",
},
{
id: "skills",
diff --git a/apps/desktop/src/renderer/__tests__/machineSwitcherMenu.test.ts b/apps/desktop/src/renderer/__tests__/machineSwitcherMenu.test.ts
index 57cf9e249a..26ca8b004b 100644
--- a/apps/desktop/src/renderer/__tests__/machineSwitcherMenu.test.ts
+++ b/apps/desktop/src/renderer/__tests__/machineSwitcherMenu.test.ts
@@ -236,6 +236,9 @@ describe('远程机器切换入口并入 SidebarTopNav(置顶段上方,固定不
expect(filterSource).not.toMatch(
/onSelect=\{\(\) => setMainViewMode\(option\.value\)\}\s*\n\s*keepOpen/,
);
+ expect(filterSource).toContain("checked={groupDevice && sortBy !== 'manual'}");
+ expect(filterSource).toContain("disabled={sortBy === 'manual'}");
+ expect(filterSource).toContain("t('ccAgent.sidebar.filterGroupByDeviceManualTip')");
});
// 2026-08-13 用户裁决:「优先级」光看标签猜不出排序依据,需要 hover 说明。
@@ -318,8 +321,7 @@ describe('远程机器切换入口并入 SidebarTopNav(置顶段上方,固定不
it('空态 / 远程 loading-error / 连接中占位都挂范围标题(2026-08-13 第 4 轮 P1)', () => {
const headerSource = read('features', 'cc-agent', 'sidebar', 'MainListScopeHeader.tsx');
expect(headerSource).toContain('<MachineSwitcherMenu onOpenDisplaySettings=');
- expect(headerSource).toContain('filter.isSessionContentFiltered');
- expect(headerSource).toContain("t('ccAgent.sidebar.filterActiveBadge')");
+ expect(headerSource).not.toContain('filterActiveBadge');
expect(headerSource).toContain('<SidebarFilterPopover');
expect(projectsSectionSource).toContain('<MainListScopeHeader');
expect(projectsSectionSource).toContain('hasMainListContent');
@@ -370,6 +372,9 @@ describe('远程机器切换入口并入 SidebarTopNav(置顶段上方,固定不
expect(projectsSectionSource).toContain('hasRemoteDevices={deviceGroupingAvailable}');
expect(projectsSectionSource).not.toContain('hasRemoteMachines');
expect(sidebarUpperSource).toContain("if (device.status === 'rejected') continue;");
+ expect(sidebarUpperSource).toContain(
+ "if (device.status === 'connecting' && isRemoteDeviceMarkedDisconnected(device.deviceId))",
+ );
});
// (侧边栏重设计 D 期:按日期分组段已删除,其 MachineSwitcherMenu / 空态 /
diff --git a/apps/desktop/src/renderer/__tests__/prRefsRefreshGating.test.ts b/apps/desktop/src/renderer/__tests__/prRefsRefreshGating.test.ts
index e36cfcfc04..ae4e70a3c5 100644
--- a/apps/desktop/src/renderer/__tests__/prRefsRefreshGating.test.ts
+++ b/apps/desktop/src/renderer/__tests__/prRefsRefreshGating.test.ts
@@ -45,6 +45,7 @@ describe('PR 状态刷新的省流门控', () => {
expect(prRefsSource).toContain(
'if (deviceId && isRemoteDeviceMarkedDisconnected(deviceId)) return;',
);
+ expect(prRefsSource).toContain('if (prev?.ok === true && result.ok === false) continue;');
});
it('断线判定只认明确的 disconnected 标记(fail-open)', () => {
diff --git a/apps/desktop/src/renderer/contexts/PrRefsContext.tsx b/apps/desktop/src/renderer/contexts/PrRefsContext.tsx
index de7888d487..913a54b446 100644
--- a/apps/desktop/src/renderer/contexts/PrRefsContext.tsx
+++ b/apps/desktop/src/renderer/contexts/PrRefsContext.tsx
@@ -138,7 +138,11 @@ function createPrCacheStore(): PrCacheStore {
let changed = false;
for (const result of results) {
const key = prStatusKey(result);
- if (sameStatus(statuses.get(key), result)) continue;
+ const prev = statuses.get(key);
+ // 本机成功与远端 no-token/not-found 会写同一把 PR 键。失败结果不得覆盖
+ // 已有成功态,否则徽标会随两端轮询来回降级。
+ if (prev?.ok === true && result.ok === false) continue;
+ if (sameStatus(prev, result)) continue;
statuses.set(key, result);
changed = true;
}
diff --git a/apps/desktop/src/renderer/features/cc-agent/CCAgentSidebarUpper.tsx b/apps/desktop/src/renderer/features/cc-agent/CCAgentSidebarUpper.tsx
index fc58cbf202..1f2813839f 100644
--- a/apps/desktop/src/renderer/features/cc-agent/CCAgentSidebarUpper.tsx
+++ b/apps/desktop/src/renderer/features/cc-agent/CCAgentSidebarUpper.tsx
@@ -223,6 +223,7 @@ import {
useRemoteArchivedLoadedDeviceIds,
useRemoteArchivedLoadingDeviceIds,
useRemoteDevices,
+ isRemoteDeviceMarkedDisconnected,
useRemoteProjectSessions,
} from '@/features/device-link/remoteProjectsStore';
import {
@@ -1138,6 +1139,11 @@ function ExpandedView({
const index = new Map<string, { name: string; online: boolean }>();
for (const device of switcherDevices) {
if (device.status === 'rejected') continue;
+ // connecting 含两种:真在连,以及断线缓存。后者不能撑开设备分组,
+ // 否则最后一台远程掉线后仍会留下「本机」段头;重连后偏好自动恢复。
+ if (device.status === 'connecting' && isRemoteDeviceMarkedDisconnected(device.deviceId)) {
+ continue;
+ }
index.set(device.deviceId, {
name: device.name,
online: device.status === 'connected',
diff --git a/apps/desktop/src/renderer/features/cc-agent/sidebar/MainListScopeHeader.tsx b/apps/desktop/src/renderer/features/cc-agent/sidebar/MainListScopeHeader.tsx
index 204b2f33b2..f5c248d9d2 100644
--- a/apps/desktop/src/renderer/features/cc-agent/sidebar/MainListScopeHeader.tsx
+++ b/apps/desktop/src/renderer/features/cc-agent/sidebar/MainListScopeHeader.tsx
@@ -8,7 +8,6 @@
*/
import { useState, type ReactNode } from 'react';
import type { LucideIcon } from 'lucide-react';
-import { useTranslation } from 'react-i18next';
import { cn } from '@/lib/utils';
import { Tip } from '@/components/ui/tooltip';
@@ -48,17 +47,11 @@ export function MainListScopeHeader({
disabled: boolean;
} | null;
}): ReactNode {
- const { t } = useTranslation();
const [displaySettingsOpen, setDisplaySettingsOpen] = useState(false);
return (
<div className="group/sidebar-header flex h-6 items-center justify-between pr-0 pl-6">
<div className="flex min-w-0 items-center gap-1">
<MachineSwitcherMenu onOpenDisplaySettings={() => setDisplaySettingsOpen(true)} />
- {filter.isSessionContentFiltered ? (
- <span className="shrink-0 select-none text-xs font-medium leading-none text-[var(--sidebar-list-muted)]">
- {t('ccAgent.sidebar.filterActiveBadge')}
- </span>
- ) : null}
</div>
<div className="flex items-center gap-0.5 -mt-px">
<div className={HEADER_ACTIONS_CLASS}>
diff --git a/apps/desktop/src/renderer/features/cc-agent/sidebar/SidebarFilterPopover.tsx b/apps/desktop/src/renderer/features/cc-agent/sidebar/SidebarFilterPopover.tsx
index 1677f12bfd..2e871494ac 100644
--- a/apps/desktop/src/renderer/features/cc-agent/sidebar/SidebarFilterPopover.tsx
+++ b/apps/desktop/src/renderer/features/cc-agent/sidebar/SidebarFilterPopover.tsx
@@ -292,24 +292,32 @@ function CheckMenuItem({
checked,
onToggle,
Icon,
+ disabled = false,
+ tip,
}: {
label: string;
checked: boolean;
onToggle: () => void;
Icon?: LucideIcon;
+ disabled?: boolean;
+ tip?: string;
}) {
return (
- <DropdownMenuItem
- onSelect={(event) => {
- event.preventDefault();
- onToggle();
- }}
- className={MENU_ITEM_CLASS}
- >
- <MenuItemIcon Icon={Icon} />
- <span className="truncate">{label}</span>
- {checked && <Check size={15} className="ml-auto shrink-0 text-[var(--msg-assistant-text)]" />}
- </DropdownMenuItem>
+ <Tip text={tip} side="right">
+ <DropdownMenuItem
+ disabled={disabled}
+ onSelect={(event) => {
+ event.preventDefault();
+ if (disabled) return;
+ onToggle();
+ }}
+ className={MENU_ITEM_CLASS}
+ >
+ <MenuItemIcon Icon={Icon} />
+ <span className="truncate">{label}</span>
+ {checked && <Check size={15} className="ml-auto shrink-0 text-[var(--msg-assistant-text)]" />}
+ </DropdownMenuItem>
+ </Tip>
);
}
@@ -486,7 +494,11 @@ export function SidebarFilterPopover({
{hasRemoteDevices && (
<CheckMenuItem
label={t('ccAgent.sidebar.filterGroupBy.device')}
- checked={groupDevice}
+ checked={groupDevice && sortBy !== 'manual'}
+ disabled={sortBy === 'manual'}
+ tip={
+ sortBy === 'manual' ? t('ccAgent.sidebar.filterGroupByDeviceManualTip') : undefined
+ }
onToggle={() => setGroupDevice(!groupDevice)}
/>
)}
diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.json
index 612f6e1f87..003f458596 100644
--- a/apps/desktop/src/renderer/i18n/locales/en/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json
@@ -6998,6 +6998,7 @@
"device": "Group by device",
"dialogue": "Group chats together"
},
+ "filterGroupByDeviceManualTip": "Group by device is unavailable while sorting manually",
"deviceGroup": {
"local": "This device",
"offline": "Offline",
@@ -7036,7 +7037,6 @@
"filterSummaryNone": "None",
"filterSummaryActive": "{{count}} active",
"filterReset": "Reset filters",
- "filterActiveBadge": "Filtered",
"displayHeading": "Display",
"taskInfoHeading": "Session info",
"taskInfoSummaryNone": "None",
diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.json
index 2e189df7ca..8dfdd4ec46 100644
--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json
@@ -6986,6 +6986,7 @@
"device": "デバイスでグループ化",
"dialogue": "チャットをまとめる"
},
+ "filterGroupByDeviceManualTip": "手動並び替え中はデバイスグループを使えません",
"deviceGroup": {
"local": "このデバイス",
"offline": "オフライン",
@@ -7024,7 +7025,6 @@
"filterSummaryNone": "なし",
"filterSummaryActive": "{{count}} 件適用中",
"filterReset": "フィルターをリセット",
- "filterActiveBadge": "絞り込み中",
"displayHeading": "表示",
"taskInfoHeading": "セッション情報",
"taskInfoSummaryNone": "なし",
diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.json
index 0ccff32d35..e1bc153aab 100644
--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json
@@ -6986,6 +6986,7 @@
"device": "기기별 그룹",
"dialogue": "대화 묶기"
},
+ "filterGroupByDeviceManualTip": "수동 정렬 중에는 기기별 그룹을 사용할 수 없습니다",
"deviceGroup": {
"local": "이 기기",
"offline": "오프라인",
@@ -7024,7 +7025,6 @@
"filterSummaryNone": "없음",
"filterSummaryActive": "{{count}}개 적용 중",
"filterReset": "필터 초기화",
- "filterActiveBadge": "필터링됨",
"displayHeading": "표시",
"taskInfoHeading": "세션 정보",
"taskInfoSummaryNone": "없음",
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 1d3cdfca4c..a060e72af1 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json
@@ -6986,6 +6986,7 @@
"device": "按设备分组",
"dialogue": "对话归为一组"
},
+ "filterGroupByDeviceManualTip": "手动排序时按设备分组暂不可用",
"deviceGroup": {
"local": "本机",
"offline": "离线",
@@ -7024,7 +7025,6 @@
"filterSummaryNone": "无",
"filterSummaryActive": "{{count}} 项生效",
"filterReset": "重置筛选",
- "filterActiveBadge": "已筛选",
"displayHeading": "显示",
"taskInfoHeading": "任务信息",
"taskInfoSummaryNone": "无",
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 6930f6d132..6a8132780a 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
@@ -6986,6 +6986,7 @@
"device": "按裝置分組",
"dialogue": "對話歸為一組"
},
+ "filterGroupByDeviceManualTip": "手動排序時按裝置分組暫不可用",
"deviceGroup": {
"local": "本機",
"offline": "離線",
@@ -7024,7 +7025,6 @@
"filterSummaryNone": "無",
"filterSummaryActive": "{{count}} 項生效",
"filterReset": "重設篩選",
- "filterActiveBadge": "已篩選",
"displayHeading": "顯示",
"taskInfoHeading": "任務資訊",
"taskInfoSummaryNone": "無",
diff --git a/docs/product-rules/sidebar-redesign-plan.md b/docs/product-rules/sidebar-redesign-plan.md
index ac0382e5ac..a01dced500 100644
--- a/docs/product-rules/sidebar-redesign-plan.md
+++ b/docs/product-rules/sidebar-redesign-plan.md
@@ -186,7 +186,7 @@
状态是唯一例外(2026-08-12 用户裁决):归档 = 用户说「这事儿完了」,与置顶语义相反,
不归档就不会受影响;切到「已归档」或「全部」时它会重新出现。置顶区其余只跟随设备
-范围。任一筛选生效时「全部任务」标题旁显示「已筛选」小标。
+范围。筛选是否生效只看「侧边栏显示设置」里的筛选摘要,标题旁不另挂「已筛选」小标(2026-08-13 用户否决常驻标记)。
置顶项目行内的会话同样不再按项目 / Agent 过滤;「从侧栏移除项目」仍然生效——那不是
筛选,是用户对该项目的显式隐藏。