Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(team): limit agent status previews and persist section collapse (#10066)

Bohan Jiang4239ec11eaa6
diff --git a/docs/assets/mul-8713/team-attention-collapsed.png b/docs/assets/mul-8713/team-attention-collapsed.png
new file mode 100644
index 0000000000..e1093bfa2b
Binary files /dev/null and b/docs/assets/mul-8713/team-attention-collapsed.png differ
diff --git a/docs/assets/mul-8713/team-before.png b/docs/assets/mul-8713/team-before.png
new file mode 100644
index 0000000000..2b26deb13c
Binary files /dev/null and b/docs/assets/mul-8713/team-before.png differ
diff --git a/docs/assets/mul-8713/team-collapsed.png b/docs/assets/mul-8713/team-collapsed.png
new file mode 100644
index 0000000000..522e1972a8
Binary files /dev/null and b/docs/assets/mul-8713/team-collapsed.png differ
diff --git a/docs/assets/mul-8713/team-preview.png b/docs/assets/mul-8713/team-preview.png
new file mode 100644
index 0000000000..c3b0cbc6e0
Binary files /dev/null and b/docs/assets/mul-8713/team-preview.png differ
diff --git a/packages/core/issues/stores/sidebar-tree-store.test.ts b/packages/core/issues/stores/sidebar-tree-store.test.ts
index c8bb674ef5..ebccbd9685 100644
--- a/packages/core/issues/stores/sidebar-tree-store.test.ts
+++ b/packages/core/issues/stores/sidebar-tree-store.test.ts
@@ -1,8 +1,16 @@
-import { beforeEach, describe, expect, it } from "vitest";
+// @vitest-environment jsdom
+import { afterEach, beforeEach, describe, expect, it } from "vitest";
+import { setCurrentWorkspace } from "../../platform/workspace-storage";
import { useSidebarTreeStore } from "./sidebar-tree-store";
beforeEach(() => {
- useSidebarTreeStore.setState({ expanded: [] });
+ localStorage.clear();
+ useSidebarTreeStore.setState({ expanded: [], workingCollapsed: false, needsAttentionCollapsed: false });
+});
+
+afterEach(async () => {
+ setCurrentWorkspace(null, null);
+ await Promise.resolve();
});
describe("useSidebarTreeStore", () => {
@@ -23,4 +31,37 @@ describe("useSidebarTreeStore", () => {
state.setViewsCollapsed(true);
expect(useSidebarTreeStore.getState().viewsCollapsed).toBe(true);
});
+
+ it("persists Team section collapse preferences separately for each workspace", async () => {
+ setCurrentWorkspace("team-a", "ws-a");
+ await Promise.resolve();
+ useSidebarTreeStore.getState().setNeedsAttentionCollapsed(true);
+
+ setCurrentWorkspace("team-b", "ws-b");
+ await Promise.resolve();
+ expect(useSidebarTreeStore.getState().needsAttentionCollapsed).toBe(false);
+ useSidebarTreeStore.getState().setWorkingCollapsed(true);
+
+ setCurrentWorkspace("team-a", "ws-a");
+ await Promise.resolve();
+ expect(useSidebarTreeStore.getState().needsAttentionCollapsed).toBe(true);
+ expect(useSidebarTreeStore.getState().workingCollapsed).toBe(false);
+ setCurrentWorkspace("team-b", "ws-b");
+ await Promise.resolve();
+ expect(useSidebarTreeStore.getState().workingCollapsed).toBe(true);
+ });
+
+ it("opens new Team sections by default when hydrating older sidebar preferences", async () => {
+ localStorage.setItem("multica_sidebar_tree:legacy", JSON.stringify({
+ state: { expanded: ["project:p1"], pinnedCollapsed: true },
+ version: 0,
+ }));
+ setCurrentWorkspace("legacy", "ws-legacy");
+ await Promise.resolve();
+ const state = useSidebarTreeStore.getState();
+ expect(state.expanded).toEqual(["project:p1"]);
+ expect(state.pinnedCollapsed).toBe(true);
+ expect(state.workingCollapsed).toBe(false);
+ expect(state.needsAttentionCollapsed).toBe(false);
+ });
});
diff --git a/packages/core/issues/stores/sidebar-tree-store.ts b/packages/core/issues/stores/sidebar-tree-store.ts
index 11cdcd1388..4777c5d87c 100644
--- a/packages/core/issues/stores/sidebar-tree-store.ts
+++ b/packages/core/issues/stores/sidebar-tree-store.ts
@@ -63,10 +63,14 @@ interface SidebarTreeState {
projectsCollapsed: boolean;
viewsCollapsed: boolean;
pinnedCollapsed: boolean;
+ workingCollapsed: boolean;
+ needsAttentionCollapsed: boolean;
setExpanded: (key: string, expanded: boolean) => void;
setProjectsCollapsed: (collapsed: boolean) => void;
setViewsCollapsed: (collapsed: boolean) => void;
setPinnedCollapsed: (collapsed: boolean) => void;
+ setWorkingCollapsed: (collapsed: boolean) => void;
+ setNeedsAttentionCollapsed: (collapsed: boolean) => void;
}
type PersistedSidebarTree = Pick<
@@ -78,6 +82,8 @@ type PersistedSidebarTree = Pick<
| "projectsCollapsed"
| "viewsCollapsed"
| "pinnedCollapsed"
+ | "workingCollapsed"
+ | "needsAttentionCollapsed"
>;
const INITIAL: PersistedSidebarTree = {
@@ -88,6 +94,8 @@ const INITIAL: PersistedSidebarTree = {
projectsCollapsed: false,
viewsCollapsed: false,
pinnedCollapsed: false,
+ workingCollapsed: false,
+ needsAttentionCollapsed: false,
};
export const useSidebarTreeStore = create<SidebarTreeState>()(
@@ -102,6 +110,8 @@ export const useSidebarTreeStore = create<SidebarTreeState>()(
setProjectsCollapsed: (collapsed) => set({ projectsCollapsed: collapsed }),
setViewsCollapsed: (collapsed) => set({ viewsCollapsed: collapsed }),
setPinnedCollapsed: (collapsed) => set({ pinnedCollapsed: collapsed }),
+ setWorkingCollapsed: (collapsed) => set({ workingCollapsed: collapsed }),
+ setNeedsAttentionCollapsed: (collapsed) => set({ needsAttentionCollapsed: collapsed }),
}),
{
name: "multica_sidebar_tree",
@@ -114,6 +124,8 @@ export const useSidebarTreeStore = create<SidebarTreeState>()(
projectsCollapsed: state.projectsCollapsed,
viewsCollapsed: state.viewsCollapsed,
pinnedCollapsed: state.pinnedCollapsed,
+ workingCollapsed: state.workingCollapsed,
+ needsAttentionCollapsed: state.needsAttentionCollapsed,
}),
// A workspace switch rehydrates into the previous workspace's state:
// start from the initial values, never from `current`'s data.
diff --git a/packages/views/layout/panels/team-panel.test.tsx b/packages/views/layout/panels/team-panel.test.tsx
index 45cd628b2e..ddf2810389 100644
--- a/packages/views/layout/panels/team-panel.test.tsx
+++ b/packages/views/layout/panels/team-panel.test.tsx
@@ -1,12 +1,13 @@
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
-import { act, screen, waitFor, within } from "@testing-library/react";
+import { act, fireEvent, screen, waitFor, within } from "@testing-library/react";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { agentTaskSnapshotOptions } from "@multica/core/agents";
import { api } from "@multica/core/api";
import { createAuthStore, registerAuthStore } from "@multica/core/auth";
import { WorkspaceSlugProvider } from "@multica/core/paths";
import { runtimeListOptions } from "@multica/core/runtimes/queries";
-import type { AgentRuntime } from "@multica/core/types";
+import type { Agent, AgentRuntime, AgentTask } from "@multica/core/types";
+import { useSidebarTreeStore } from "@multica/core/issues/stores/sidebar-tree-store";
import {
agentListOptions,
memberListOptions,
@@ -18,6 +19,11 @@ import { NavigationProvider, type NavigationAdapter } from "../../navigation";
import { renderWithI18n } from "../../test/i18n";
import { TeamPanel } from "./team-panel";
+vi.mock("@multica/core/api", async (importOriginal) => ({
+ ...(await importOriginal<typeof import("@multica/core/api")>()),
+ api: { getIssue: vi.fn(() => new Promise(() => {})), getBaseUrl: () => "http://localhost" },
+}));
+
const WS = "ws-test";
const NOW = Date.parse("2026-11-04T08:00:00Z");
const adapter: NavigationAdapter = {
@@ -54,6 +60,8 @@ function runtime(overrides: Partial<AgentRuntime> = {}): AgentRuntime {
let qc: QueryClient;
beforeEach(() => {
+ vi.mocked(api.getIssue).mockClear();
+ useSidebarTreeStore.setState({ workingCollapsed: false, needsAttentionCollapsed: false });
vi.spyOn(Date, "now").mockReturnValue(NOW);
registerAuthStore(
createAuthStore({
@@ -95,7 +103,7 @@ afterEach(() => {
function renderPanel(runtimes: AgentRuntime[]) {
qc.setQueryData(runtimeListOptions(WS).queryKey, runtimes);
- renderWithI18n(
+ return renderWithI18n(
<QueryClientProvider client={qc}>
<WorkspaceSlugProvider slug="acme">
<NavigationProvider value={adapter}>
@@ -106,6 +114,108 @@ function renderPanel(runtimes: AgentRuntime[]) {
);
}
+function seedAgents(count: number, status: "running" | "queued" = "running") {
+ const agents: Agent[] = Array.from({ length: count }, (_, index) => ({
+ id: `${status}-${index}`,
+ name: `${status} agent ${index + 1}`,
+ workspace_id: WS,
+ runtime_id: status === "running" ? "rt-online" : "rt-offline",
+ description: "",
+ instructions: "",
+ avatar_url: null,
+ runtime_mode: "local",
+ runtime_config: {},
+ custom_args: [],
+ visibility: "workspace",
+ permission_mode: "public_to",
+ invocation_targets: [],
+ status: "idle",
+ max_concurrent_tasks: 6,
+ model: "",
+ owner_id: null,
+ skills: [],
+ created_at: new Date(NOW).toISOString(),
+ updated_at: new Date(NOW).toISOString(),
+ archived_at: null,
+ archived_by: null,
+ }));
+ const tasks: AgentTask[] = agents.map((agent) => ({
+ id: `task-${agent.id}`,
+ agent_id: agent.id,
+ runtime_id: agent.runtime_id,
+ issue_id: `issue-${agent.id}`,
+ status,
+ priority: 0,
+ dispatched_at: null,
+ started_at: status === "running" ? new Date(NOW).toISOString() : null,
+ completed_at: null,
+ result: null,
+ error: null,
+ created_at: new Date(NOW).toISOString(),
+ }));
+ qc.setQueryData<Agent[]>(agentListOptions(WS).queryKey, (current = []) => [...current, ...agents]);
+ qc.setQueryData<AgentTask[]>(agentTaskSnapshotOptions(WS).queryKey, (current = []) => [...current, ...tasks]);
+}
+
+describe("TeamPanel agent previews", () => {
+ it("previews five of 100 working agents, retaining the total and only fetching visible issue labels", async () => {
+ const getIssue = vi.mocked(api.getIssue);
+ seedAgents(100);
+ renderPanel([runtime()]);
+
+ const working = within(screen.getByRole("region", { name: "Working now" }));
+ expect(working.getByText("100")).toBeInTheDocument();
+ expect(working.getAllByRole("link")).toHaveLength(5);
+ expect(working.queryByText("running agent 6")).not.toBeInTheDocument();
+ await waitFor(() => expect(getIssue).toHaveBeenCalledTimes(5));
+ expect(screen.getByRole("link", { name: /^All agents/ })).toBeInTheDocument();
+
+ fireEvent.click(working.getByRole("button", { name: "Show 95 more…" }));
+ expect(working.getAllByRole("link")).toHaveLength(100);
+ expect(working.getByRole("button", { name: "Show fewer" })).toHaveAttribute("aria-expanded", "true");
+
+ fireEvent.click(working.getByRole("button", { name: "Show fewer" }));
+ expect(working.getAllByRole("link")).toHaveLength(5);
+ });
+
+ it("previews and collapses each status independently, retaining collapse state on remount", () => {
+ seedAgents(7);
+ seedAgents(8, "queued");
+ const runtimes = [runtime(), runtime({ id: "rt-offline", status: "offline" })];
+ const panel = renderPanel(runtimes);
+ const working = within(screen.getByRole("region", { name: "Working now" }));
+ const attention = within(screen.getByRole("region", { name: "Needs attention" }));
+
+ expect(working.getAllByRole("link")).toHaveLength(5);
+ expect(attention.getAllByRole("link")).toHaveLength(5);
+ fireEvent.click(attention.getByRole("button", { name: "Show 3 more…" }));
+ expect(attention.getAllByRole("link")).toHaveLength(8);
+ expect(working.getAllByRole("link")).toHaveLength(5);
+
+ fireEvent.click(working.getByRole("button", { name: "Working now" }));
+ expect(working.queryAllByRole("link")).toHaveLength(0);
+ expect(working.getByText("7")).toBeInTheDocument();
+ expect(attention.getAllByRole("link")).toHaveLength(8);
+ fireEvent.click(attention.getByRole("button", { name: "Needs attention" }));
+ panel.unmount();
+ renderPanel(runtimes);
+ expect(screen.getByRole("button", { name: "Working now" })).toHaveAttribute("aria-expanded", "false");
+ expect(screen.getByRole("button", { name: "Needs attention" })).toHaveAttribute("aria-expanded", "false");
+ expect(screen.queryByText("running agent 1")).not.toBeInTheDocument();
+ expect(screen.queryByText("queued agent 1")).not.toBeInTheDocument();
+ fireEvent.click(screen.getByRole("button", { name: "Working now" }));
+ expect(within(screen.getByRole("region", { name: "Working now" })).getAllByRole("link")).toHaveLength(5);
+ });
+
+ it("omits preview controls for lists at the limit and hides empty sections", () => {
+ seedAgents(5);
+ renderPanel([runtime()]);
+ expect(screen.queryByRole("region", { name: "Needs attention" })).not.toBeInTheDocument();
+ expect(screen.queryByRole("button", { name: /Show/ })).not.toBeInTheDocument();
+ expect(within(screen.getByRole("region", { name: "Working now" })).getAllByRole("link")).toHaveLength(5);
+ });
+});
+
describe("TeamPanel runtime badge", () => {
it("shows a green online machine count without a total or duplicate providers", () => {
renderPanel([
diff --git a/packages/views/layout/panels/team-panel.tsx b/packages/views/layout/panels/team-panel.tsx
index e029aedc76..25d95ce416 100644
--- a/packages/views/layout/panels/team-panel.tsx
+++ b/packages/views/layout/panels/team-panel.tsx
@@ -1,6 +1,6 @@
"use client";
-import { useMemo } from "react";
+import { useId, useMemo, useState, type ReactNode } from "react";
import { useQuery } from "@tanstack/react-query";
import { BarChart3, BookOpenText, Bot, Monitor, Plus, User, UserPlus, Users } from "@multica/ui/icons";
import { cn } from "@multica/ui/lib/utils";
@@ -10,6 +10,7 @@ import { agentTaskSnapshotOptions, type AgentPresenceDetail } from "@multica/cor
import { useAgentsViewStore } from "@multica/core/agents/stores";
import { useAuthStore } from "@multica/core/auth";
import { issueDetailOptions } from "@multica/core/issues/queries";
+import { useSidebarTreeStore } from "@multica/core/issues/stores/sidebar-tree-store";
import { useCurrentWorkspace, useWorkspacePaths } from "@multica/core/paths";
import { runtimeListOptions } from "@multica/core/runtimes/queries";
import { memberListOptions, skillListOptions, squadListOptions } from "@multica/core/workspace/queries";
@@ -26,12 +27,60 @@ import {
PanelLink,
PanelList,
PanelSection,
+ PANEL_ROW_CLASS,
isPathWithin,
+ panelRowStateClass,
} from "../panel-nav";
import { useTeamAgentStatus } from "./team-status";
const EMPTY_TASKS: AgentTask[] = [];
const MEMBER_AVATAR_LIMIT = 4;
+const AGENT_PREVIEW_LIMIT = 5;
+
+function AgentStatusSection({
+ label,
+ agents,
+ collapsed,
+ onCollapsedChange,
+ countClassName,
+ renderAgent,
+}: {
+ label: string;
+ agents: Agent[];
+ collapsed: boolean;
+ onCollapsedChange: (collapsed: boolean) => void;
+ countClassName?: string;
+ renderAgent: (agent: Agent) => ReactNode;
+}) {
+ const { t } = useT("layout");
+ const [expanded, setExpanded] = useState(false);
+ const listId = useId();
+ const displayed = expanded ? agents : agents.slice(0, AGENT_PREVIEW_LIMIT);
+
+ return (
+ <PanelSection
+ label={label}
+ collapsed={collapsed}
+ onCollapsedChange={onCollapsedChange}
+ action={<PanelCount value={agents.length} className={cn("pr-2", countClassName)} />}
+ >
+ <PanelList id={listId}>{displayed.map(renderAgent)}</PanelList>
+ {agents.length > AGENT_PREVIEW_LIMIT && (
+ <button
+ type="button"
+ aria-expanded={expanded}
+ aria-controls={listId}
+ className={cn(PANEL_ROW_CLASS, panelRowStateClass(false), "pl-[2.375rem] text-caption")}
+ onClick={() => setExpanded(!expanded)}
+ >
+ {expanded
+ ? t(($) => $.panels.team.show_fewer_agents)
+ : t(($) => $.panels.team.show_more_agents, { count: agents.length - AGENT_PREVIEW_LIMIT })}
+ </button>
+ )}
+ </PanelSection>
+ );
+}
function AgentAvatar({ agent, detail }: { agent: Agent; detail: AgentPresenceDetail | undefined }) {
return (
@@ -101,6 +150,10 @@ export function TeamPanel() {
const agentsScope = useAgentsViewStore((s) => s.scope);
const setAgentsScope = useAgentsViewStore((s) => s.setScope);
const { agents, stuck, working, byAgent } = useTeamAgentStatus(wsId || undefined);
+ const workingCollapsed = useSidebarTreeStore((s) => s.workingCollapsed);
+ const setWorkingCollapsed = useSidebarTreeStore((s) => s.setWorkingCollapsed);
+ const needsAttentionCollapsed = useSidebarTreeStore((s) => s.needsAttentionCollapsed);
+ const setNeedsAttentionCollapsed = useSidebarTreeStore((s) => s.setNeedsAttentionCollapsed);
const { data: snapshot = EMPTY_TASKS } = useQuery({
...agentTaskSnapshotOptions(wsId),
@@ -157,50 +210,51 @@ export function TeamPanel() {
</PanelHeader>
<PanelBody>
{stuck.length > 0 && (
- <PanelSection
+ <AgentStatusSection
+ key={`attention:${wsId}`}
label={t(($) => $.panels.team.needs_attention)}
- action={<PanelCount value={stuck.length} className="pr-2 text-warning" />}
- >
- <PanelList>
- {stuck.map((agent) => {
- const href = p.agentDetail(agent.id);
- return (
- <PanelLink
- key={agent.id}
- href={href}
- label={agent.name}
- active={isPathWithin(pathname, href)}
- icon={<AgentAvatar agent={agent} detail={byAgent.get(agent.id)} />}
- description={
- <span className="text-warning">
- {t(($) => $.panels.team.stuck, { count: byAgent.get(agent.id)?.queuedCount ?? 0 })}
- </span>
- }
- />
- );
- })}
- </PanelList>
- </PanelSection>
+ agents={stuck}
+ collapsed={needsAttentionCollapsed}
+ onCollapsedChange={setNeedsAttentionCollapsed}
+ countClassName="text-warning"
+ renderAgent={(agent) => {
+ const href = p.agentDetail(agent.id);
+ return (
+ <PanelLink
+ key={agent.id}
+ href={href}
+ label={agent.name}
+ active={isPathWithin(pathname, href)}
+ icon={<AgentAvatar agent={agent} detail={byAgent.get(agent.id)} />}
+ description={
+ <span className="text-warning">
+ {t(($) => $.panels.team.stuck, { count: byAgent.get(agent.id)?.queuedCount ?? 0 })}
+ </span>
+ }
+ />
+ );
+ }}
+ />
)}
{working.length > 0 && (
- <PanelSection
+ <AgentStatusSection
+ key={`working:${wsId}`}
label={t(($) => $.panels.team.working_now)}
- action={<PanelCount value={working.length} className="pr-2" />}
- >
- <PanelList>
- {working.map((agent) => (
- <WorkingAgentRow
- key={agent.id}
- agent={agent}
- detail={byAgent.get(agent.id)}
- task={runningTaskByAgent.get(agent.id)}
- wsId={wsId}
- active={isPathWithin(pathname, p.agentDetail(agent.id))}
- />
- ))}
- </PanelList>
- </PanelSection>
+ agents={working}
+ collapsed={workingCollapsed}
+ onCollapsedChange={setWorkingCollapsed}
+ renderAgent={(agent) => (
+ <WorkingAgentRow
+ key={agent.id}
+ agent={agent}
+ detail={byAgent.get(agent.id)}
+ task={runningTaskByAgent.get(agent.id)}
+ wsId={wsId}
+ active={isPathWithin(pathname, p.agentDetail(agent.id))}
+ />
+ )}
+ />
)}
<PanelSection label={t(($) => $.nav.agents)}>
diff --git a/packages/views/locales/en/layout.json b/packages/views/locales/en/layout.json
index a463dd0f3f..9ef4c8f0c1 100644
--- a/packages/views/locales/en/layout.json
+++ b/packages/views/locales/en/layout.json
@@ -148,6 +148,8 @@
"stuck_one": "{{count}} task waiting on an offline runtime",
"stuck_other": "{{count}} tasks waiting on an offline runtime",
"working_now": "Working now",
+ "show_more_agents": "Show {{count}} more…",
+ "show_fewer_agents": "Show fewer",
"running_tasks_one": "{{count}} task running",
"running_tasks_other": "{{count}} tasks running",
"all_agents": "All agents",
diff --git a/packages/views/locales/es/layout.json b/packages/views/locales/es/layout.json
index 0f10477866..9a985caf6d 100644
--- a/packages/views/locales/es/layout.json
+++ b/packages/views/locales/es/layout.json
@@ -148,6 +148,8 @@
"stuck_one": "{{count}} ejecución esperando un runtime desconectado",
"stuck_other": "{{count}} ejecuciones esperando un runtime desconectado",
"working_now": "Trabajando ahora",
+ "show_more_agents": "Mostrar {{count}} más…",
+ "show_fewer_agents": "Mostrar menos",
"running_tasks_one": "{{count}} ejecución en curso",
"running_tasks_other": "{{count}} ejecuciones en curso",
"all_agents": "Todos los agentes",
diff --git a/packages/views/locales/fr/layout.json b/packages/views/locales/fr/layout.json
index ea8b73f9d0..523855ba86 100644
--- a/packages/views/locales/fr/layout.json
+++ b/packages/views/locales/fr/layout.json
@@ -148,6 +148,8 @@
"stuck_one": "{{count}} tâche attend un runtime hors ligne",
"stuck_other": "{{count}} tâches attendent un runtime hors ligne",
"working_now": "En cours",
+ "show_more_agents": "Afficher {{count}} de plus…",
+ "show_fewer_agents": "Afficher moins",
"running_tasks_one": "{{count}} tâche en cours",
"running_tasks_other": "{{count}} tâches en cours",
"all_agents": "Tous les agents",
diff --git a/packages/views/locales/ja/layout.json b/packages/views/locales/ja/layout.json
index 0bfd30841c..d92f26d5cc 100644
--- a/packages/views/locales/ja/layout.json
+++ b/packages/views/locales/ja/layout.json
@@ -146,6 +146,8 @@
"needs_attention": "要対応",
"stuck_other": "{{count}} 件のタスクがオフラインのランタイムを待機中",
"working_now": "作業中",
+ "show_more_agents": "さらに {{count}} 件を表示…",
+ "show_fewer_agents": "表示を減らす",
"running_tasks_other": "{{count}} 件のタスクを実行中",
"all_agents": "すべてのエージェント",
"my_agents": "マイエージェント",
diff --git a/packages/views/locales/ko/layout.json b/packages/views/locales/ko/layout.json
index c5797b16ed..118fa523a7 100644
--- a/packages/views/locales/ko/layout.json
+++ b/packages/views/locales/ko/layout.json
@@ -146,6 +146,8 @@
"needs_attention": "확인 필요",
"stuck_other": "태스크 {{count}}개가 오프라인 런타임을 기다리는 중",
"working_now": "작업 중",
+ "show_more_agents": "{{count}}개 더 보기…",
+ "show_fewer_agents": "접기",
"running_tasks_other": "태스크 {{count}}개 실행 중",
"all_agents": "전체 에이전트",
"my_agents": "내 에이전트",
diff --git a/packages/views/locales/zh-Hans/layout.json b/packages/views/locales/zh-Hans/layout.json
index 2350e808a4..f1787aad3b 100644
--- a/packages/views/locales/zh-Hans/layout.json
+++ b/packages/views/locales/zh-Hans/layout.json
@@ -146,6 +146,8 @@
"needs_attention": "需要处理",
"stuck_other": "{{count}} 个任务在等待离线的运行时",
"working_now": "正在工作",
+ "show_more_agents": "再显示 {{count}} 项...",
+ "show_fewer_agents": "收起",
"running_tasks_other": "{{count}} 个任务运行中",
"all_agents": "全部智能体",
"my_agents": "我的智能体",
diff --git a/packages/views/locales/zh-Hant/layout.json b/packages/views/locales/zh-Hant/layout.json
index abbcea9501..e6b6ee3a15 100644
--- a/packages/views/locales/zh-Hant/layout.json
+++ b/packages/views/locales/zh-Hant/layout.json
@@ -146,6 +146,8 @@
"needs_attention": "需要處理",
"stuck_other": "{{count}} 個任務在等待離線的執行時",
"working_now": "正在工作",
+ "show_more_agents": "再顯示 {{count}} 項...",
+ "show_fewer_agents": "收起",
"running_tasks_other": "{{count}} 個任務執行中",
"all_agents": "全部 AI 代理",
"my_agents": "我的 AI 代理",