🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✨ feat(device): show running topics and bound agents on device detail (#20874)
Rdmclin282feaafd1dbe
diff --git a/apps/server/src/routers/lambda/__tests__/deviceBoundAgents.test.ts b/apps/server/src/routers/lambda/__tests__/deviceBoundAgents.test.tsnew file mode 100644index 00000000000..d33faeb9900--- /dev/null+++ b/apps/server/src/routers/lambda/__tests__/deviceBoundAgents.test.ts@@ -0,0 +1,93 @@+// @vitest-environment node+import type { AgentDeviceOverride, LobeAgentAgencyConfig } from '@lobechat/types';+import { describe, expect, it, vi } from 'vitest';++import type { DeviceBindingCandidate } from '@/database/models/agent';++import { selectEffectivelyBoundAgents } from '../deviceBoundAgents';++vi.mock('@/database/models/agent', () => ({ AgentModel: vi.fn() }));+vi.mock('@/database/models/workspaceUserSettings', () => ({ WorkspaceUserSettingsModel: vi.fn() }));+vi.mock('@/server/services/resourcePermission', () => ({ isResourceAuthorOrAdmin: vi.fn() }));++const candidate = (+ id: string,+ agencyConfig: LobeAgentAgencyConfig | null,+ extra: Partial<DeviceBindingCandidate> = {},+): DeviceBindingCandidate => ({+ agencyConfig,+ avatar: null,+ backgroundColor: null,+ id,+ name: null,+ title: id,+ userId: 'owner',+ visibility: 'public',+ workspaceId: 'ws',+ ...extra,+});++const select = (+ candidates: DeviceBindingCandidate[],+ deviceId: string,+ overrides: Record<string, AgentDeviceOverride> = {},+ canManage: string[] = [],+) =>+ selectEffectivelyBoundAgents(candidates, {+ canManage: new Set(canManage),+ deviceId,+ overrides,+ }).map((agent) => agent.id);++const onA: LobeAgentAgencyConfig = { boundDeviceId: 'device-a', executionTarget: 'device' };++describe('selectEffectivelyBoundAgents', () => {+ it('keeps a stored binding the caller has not overridden', () => {+ expect(select([candidate('agent', onA)], 'device-a')).toEqual(['agent']);+ });++ it('moves an agent the caller overrode to another device off the stored one', () => {+ const agents = [candidate('agent', onA)];+ const overrides = { agent: { boundDeviceId: 'device-b', executionTarget: 'device' as const } };++ expect(select(agents, 'device-a', overrides)).toEqual([]);+ expect(select(agents, 'device-b', overrides)).toEqual(['agent']);+ });++ it('drops an agent the caller moved to the sandbox', () => {+ expect(+ select([candidate('agent', onA)], 'device-a', { agent: { executionTarget: 'sandbox' } }),+ ).toEqual([]);+ });++ it("ignores a member's override on a fixed agent but honors a manager's", () => {+ const fixed = candidate('agent', { ...onA, executionTargetSelectionPolicy: 'fixed' });+ const overrides = { agent: { boundDeviceId: 'device-b', executionTarget: 'device' as const } };++ expect(select([fixed], 'device-a', overrides)).toEqual(['agent']);+ expect(select([fixed], 'device-b', overrides)).toEqual([]);+ expect(select([fixed], 'device-b', overrides, ['agent'])).toEqual(['agent']);+ });++ it('keeps a personal local pick and returns display fields only', () => {+ const [agent] = selectEffectivelyBoundAgents(+ [+ candidate(+ 'agent',+ { boundDeviceId: 'device-a', executionTarget: 'local' },+ { workspaceId: null },+ ),+ ],+ { canManage: new Set(), deviceId: 'device-a', overrides: {} },+ );++ expect(agent).toEqual({+ avatar: null,+ backgroundColor: null,+ id: 'agent',+ name: null,+ title: 'agent',+ visibility: 'public',+ });+ });+});diff --git a/apps/server/src/routers/lambda/device.ts b/apps/server/src/routers/lambda/device.tsindex f52c185fbbb..704e026a791 100644--- a/apps/server/src/routers/lambda/device.ts+++ b/apps/server/src/routers/lambda/device.ts@@ -5,7 +5,9 @@ import {} from '@lobechat/heterogeneous-agents';import type {DeviceChannel,+ DeviceEnroller,DeviceListItem,+ DeviceRunningSummary,DeviceScope,DeviceWorkspaceShare,WorkingDirEntry,@@ -22,6 +24,7 @@ import {wsProcedure,} from '@/business/server/trpc-middlewares/workspaceAuth';import { DeviceModel, WorkspaceDevicePrivateConflictError } from '@/database/models/device';+import { getTopicDeviceId, TopicModel } from '@/database/models/topic';import { UserModel } from '@/database/models/user';import { router } from '@/libs/trpc/lambda';import { serverDatabase } from '@/libs/trpc/lambda/middleware';@@ -34,6 +37,7 @@ import {import { filterAuthorizedDevicePresence } from '@/server/services/deviceGateway/scopedDevicePresence';import { deviceTunnels, TUNNEL_MAX_TTL_SECONDS } from '@/server/services/deviceGateway/tunnels';+import { loadDeviceBoundAgents } from './deviceBoundAgents';import { preserveWorkspaceCache } from './deviceWorkingDirs';import {assertWorkspaceDeviceVisible,@@ -240,6 +244,44 @@ const workspaceFileWriteProcedure = workspaceFileProcedure.use(requireWorkspaceRoleWhenScoped('member'),);+/**+ * Display info for the members behind a set of running topics. The ids come+ * from topic rows the caller was already allowed to read, so this only adds+ * the public-facing name and avatar.+ */+const loadTopicUsers = async (+ db: Parameters<typeof UserModel.getDisplayInfoByIds>[0],+ userIds: string[],+): Promise<Map<string, DeviceEnroller>> => {+ const rows = await UserModel.getDisplayInfoByIds(db, [...new Set(userIds)]);+ return new Map(+ rows.map((u) => [+ u.id,+ { avatar: u.avatar, fullName: u.fullName, userId: u.id, username: u.username },+ ]),+ );+};++/**+ * The member running each topic now: the initiator of its current run, else+ * its creator (a client-executed run writes no operation row). In a workspace+ * a teammate can continue someone else's topic, so the creator alone would+ * name the wrong person as using the device.+ */+const resolveRunUserIds = async (+ topicModel: TopicModel,+ topics: { id: string; userId: string }[],+): Promise<Map<string, string>> => {+ const initiators = await topicModel.findRunInitiators(topics.map((topic) => topic.id));+ return new Map(topics.map((topic) => [topic.id, initiators.get(topic.id) ?? topic.userId]));+};++/**+ * Upper bound on the running topics read for the device-list summary. A real+ * account runs far fewer at once; the cap only bounds a pathological one.+ */+const RUNNING_SUMMARY_LIMIT = 500;+export const deviceRouter = router({/*** Probe whether a specific agent platform (openclaw / hermes) is available@@ -319,6 +361,79 @@ export const deviceRouter = router({},),+ /**+ * What the device is doing for the caller: topics running on it right now+ * and the agents routed to it. Both reads go through the regular content+ * scopes, so in a workspace a teammate's private agent (and the topics under+ * it) never surface just because they share the machine.+ *+ * Agent bindings are resolved per caller: the stored agency config merged+ * with the caller's own per-agent device override in this workspace, exactly+ * as a run would route — see {@link loadDeviceBoundAgents}.+ */+ getDeviceActivity: deviceProcedure+ .input(z.object({ deviceId: z.string() }))+ .query(async ({ ctx, input }) => {+ const topicModel = new TopicModel(ctx.serverDB, ctx.userId, ctx.workspaceId);+ const [agents, runningTopics] = await Promise.all([+ loadDeviceBoundAgents({+ db: ctx.serverDB,+ deviceId: input.deviceId,+ userId: ctx.userId,+ workspaceId: ctx.workspaceId,+ }),+ topicModel.queryTopics({ deviceId: input.deviceId, statuses: ['running'] }),+ ]);++ const runUserIds = await resolveRunUserIds(topicModel, runningTopics);+ const users = await loadTopicUsers(ctx.serverDB, [...runUserIds.values()]);++ return {+ agents,+ runningTopics: runningTopics.map((topic) => ({+ ...topic,+ user: users.get(runUserIds.get(topic.id) ?? topic.userId) ?? null,+ })),+ };+ }),++ /**+ * Per-device running-topic counts and the members behind them, for the+ * device list cards. One read for the whole list instead of a request per+ * card; the same content scopes as {@link getDeviceActivity} apply, and a+ * device the caller cannot see simply has no card to render its entry.+ */+ getRunningSummary: deviceProcedure.query(async ({ ctx }): Promise<DeviceRunningSummary[]> => {+ // Most recently active first, so each device's avatar stack leads with+ // whoever touched it last.+ const topicModel = new TopicModel(ctx.serverDB, ctx.userId, ctx.workspaceId);+ const runningTopics = (+ await topicModel.queryTopics({ pageSize: RUNNING_SUMMARY_LIMIT, statuses: ['running'] })+ ).filter((topic) => getTopicDeviceId(topic.metadata));+ const runUserIds = await resolveRunUserIds(topicModel, runningTopics);++ const byDevice = new Map<string, { count: number; userIds: string[] }>();+ for (const topic of runningTopics) {+ const deviceId = getTopicDeviceId(topic.metadata)!;+ const runUserId = runUserIds.get(topic.id) ?? topic.userId;+ const entry = byDevice.get(deviceId) ?? { count: 0, userIds: [] };+ entry.count += 1;+ if (!entry.userIds.includes(runUserId)) entry.userIds.push(runUserId);+ byDevice.set(deviceId, entry);+ }++ const users = await loadTopicUsers(+ ctx.serverDB,+ [...byDevice.values()].flatMap((entry) => entry.userIds),+ );++ return [...byDevice].map(([deviceId, { count, userIds }]) => ({+ count,+ deviceId,+ users: userIds.flatMap((id) => users.get(id) ?? []),+ }));+ }),+/*** Granular git reads for a directory on a remote device, each via its own* device RPC so the web/remote git status bar mirrors the local desktop'sdiff --git a/apps/server/src/routers/lambda/deviceBoundAgents.ts b/apps/server/src/routers/lambda/deviceBoundAgents.tsnew file mode 100644index 00000000000..bdc314ef8d7--- /dev/null+++ b/apps/server/src/routers/lambda/deviceBoundAgents.ts@@ -0,0 +1,121 @@+import type { LobeChatDatabase } from '@lobechat/database';+import type {+ AgentDeviceOverride,+ DeviceBoundAgentItem,+ LobeAgentAgencyConfig,+} from '@lobechat/types';+import { resolveAgentAgencyConfig } from '@lobechat/types';+import pMap from 'p-map';++import { AgentModel, type DeviceBindingCandidate } from '@/database/models/agent';+import { WorkspaceUserSettingsModel } from '@/database/models/workspaceUserSettings';+import { isResourceAuthorOrAdmin } from '@/server/services/resourcePermission';++/** Permission lookups are DB reads; a caller with many overrides must not open them all at once. */+const PERMISSION_LOOKUP_CONCURRENCY = 5;++const routesToDevice = (config: LobeAgentAgencyConfig | undefined, deviceId: string) =>+ config?.boundDeviceId === deviceId &&+ (config.executionTarget === 'device' || config.executionTarget === 'local');++/**+ * Keep the candidates whose EFFECTIVE execution target, for this caller, is+ * the device. The caller's override replaces the stored routing the same way+ * a run resolves it (`resolveAgentAgencyConfig`), so an agent the caller moved+ * to another device or the sandbox drops off the stored device, and one they+ * moved here appears — never on two devices at once.+ */+export const selectEffectivelyBoundAgents = (+ candidates: DeviceBindingCandidate[],+ {+ canManage,+ deviceId,+ overrides,+ }: {+ canManage: ReadonlySet<string>;+ deviceId: string;+ overrides: Record<string, AgentDeviceOverride>;+ },+): DeviceBoundAgentItem[] =>+ candidates+ .filter((agent) =>+ routesToDevice(+ resolveAgentAgencyConfig(agent.agencyConfig, overrides[agent.id], {+ canManage: canManage.has(agent.id),+ visibility: agent.visibility,+ workspaceId: agent.workspaceId,+ }),+ deviceId,+ ),+ )+ .map(({ avatar, backgroundColor, id, name, title, visibility }) => ({+ avatar,+ backgroundColor,+ id,+ name,+ title,+ visibility,+ }));++/**+ * Agents routed to `deviceId` for the caller: stored bindings plus the+ * caller's own workspace device overrides, resolved to the effective target.+ */+export const loadDeviceBoundAgents = async ({+ db,+ deviceId,+ userId,+ workspaceId,+}: {+ db: LobeChatDatabase;+ deviceId: string;+ userId: string;+ workspaceId?: string;+}): Promise<DeviceBoundAgentItem[]> => {+ // Overrides only exist per workspace; a personal agent's stored config is final.+ const overrides = workspaceId+ ? ((await new WorkspaceUserSettingsModel(db, userId, workspaceId).getPreference())+ .agentDeviceOverrides ?? {})+ : {};++ const candidates = await new AgentModel(db, userId, workspaceId).queryBoundToDevice(+ deviceId,+ Object.entries(overrides)+ .filter(([, override]) => override.boundDeviceId === deviceId)+ .map(([agentId]) => agentId),+ );++ // Management access only changes the outcome when an override exists (it+ // decides whether a `fixed` policy may ignore it), so look it up only then —+ // with the same author-or-admin check the run path uses, failing closed.+ const canManage = new Set<string>();+ await pMap(+ candidates.filter((agent) => overrides[agent.id]),+ async (agent) => {+ if (agent.userId === userId) {+ canManage.add(agent.id);+ return;+ }+ if (!agent.workspaceId || agent.visibility === 'private') return;+ try {+ const allowed = await isResourceAuthorOrAdmin({+ db,+ meta: {+ userId: agent.userId,+ visibility: agent.visibility,+ workspaceId: agent.workspaceId,+ },+ resourceType: 'agent',+ userId,+ workspaceId: agent.workspaceId,+ });+ if (allowed) canManage.add(agent.id);+ } catch {+ // Member semantics are the safe default when access can't be resolved.+ }+ },+ { concurrency: PERMISSION_LOOKUP_CONCURRENCY },+ );++ return selectEffectivelyBoundAgents(candidates, { canManage, deviceId, overrides });+};diff --git a/locales/ar/chat.json b/locales/ar/chat.jsonindex afff490a730..c1395a0329d 100644--- a/locales/ar/chat.json+++ b/locales/ar/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "تم إصدار الموجة {{wave}} ({{count}} وحدات)","goalBatch.gatePanel.history.unit": "“{{title}}” فشلت في فحصها الخاص — تم احتجاز الدفعة فورًا","goalBatch.gatePanel.history.unrecorded": "تم التقييم قبل تسجيل الأحكام — لم يتم الاحتفاظ بالتفاصيل",+ "goalBatch.gatePanel.learned": "ما تعلمه هذا البوابة",+ "goalBatch.gatePanel.learnedHint": "مكتوب في الخطة التي يتم تحميلها من قبل كل وحدة لاحقة، ومضاف إلى القبول الذي يجب أن يجتازه كل منهم.","goalBatch.gatePanel.next.checking": "كل وحدة انتهت — يتم تقييمها في الخطوة التالية للمنسق","goalBatch.gatePanel.next.human": "في انتظارك: قم بمراجعة الخطة، أو قم بإنشاء خطة جديدة للوحدات التي فشلت","goalBatch.gatePanel.next.locked": "تم التقييم تلقائيًا بمجرد انتهاء {{count}} وحدة في هذه الجولة",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "الحكم","goalBatch.overviewCount": "الإجمالي: {{count}} دفعات · {{nodes}} عقد","goalBatch.planPanel.compare": "قارن مع",- "goalBatch.planPanel.diff": "ما الذي تغير من الإصدار {{base}} إلى الإصدار {{revision}}",- "goalBatch.planPanel.first": "الإصدار الأول — لا يوجد شيء سابق للمقارنة",+ "goalBatch.planPanel.compareTitle": "مقارنة إصدارات الخطة",+ "goalBatch.planPanel.files": "الملفات",+ "goalBatch.planPanel.foldFiles": "إخفاء الملفات","goalBatch.planPanel.forked": "خطة متفرعة: تبدأ مرة أخرى من مخطط الدفعة الأصلي بدلاً من مراجعة الإصدار السابق",- "goalBatch.planPanel.full": "الإصدار {{revision}} بالكامل",+ "goalBatch.planPanel.latest": "الإصدار {{revision}} · الأحدث","goalBatch.planPanel.same": "نفس الإصدار {{base}}",- "goalBatch.planPanel.version": "الإصدار",+ "goalBatch.planPanel.unfoldFiles": "عرض الملفات","goalBatch.probes.cell.backlog": "لم يبدأ","goalBatch.probes.cell.done": "تم","goalBatch.probes.cell.human": "يحتاج إليك",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} وحدات","goalBatch.round.reviseEdge": "تم إعادته · قم بالمراجعة","goalBatch.round.title": "الجولة {{revision}}",+ "goalBatch.skill.forked": "مهارة الخطة الإصدار {{revision}} · فئة جديدة",+ "goalBatch.skill.title": "مهارة الخطة الإصدار {{revision}}","goalBatch.status.done": "تم الكل","goalBatch.status.human": "{{count}} تحتاج إليك","goalBatch.status.pending": "لم يبدأ",@@ -656,6 +661,7 @@"goalList.roundProgress": "الجولة {{current}}/{{total}}","goalList.status.achieved": "تم تحقيقه","goalList.status.canceled": "تم الإلغاء",+ "goalList.status.draft": "لم يبدأ","goalList.status.error": "يحتاج إلى الانتباه","goalList.status.paused": "متوقف مؤقتًا","goalList.status.planning": "قيد التخطيط",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "من \"{{title}}\"","goalProcess.deliverables.title": "التسليمات","goalProcess.deliverables.untitled": "بدون عنوان",+ "goalProcess.draft": "لم يبدأ — لا شيء يعمل حتى تبدأ. تحقق من المهام أدناه أولاً.","goalProcess.edge.contradicts": "يتعارض مع","goalProcess.edge.derivedFrom": "مشتق من","goalProcess.edge.investigates": "يحقق في",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "أعده إلى الوكيل. قل ما يجب تغييره في الملاحظات.","goalProcess.signOff.sentBack": "تم إرساله لإجراء تغييرات","goalProcess.stale.description": "لا يوجد نبض لمدة {{duration}}. التقدم التالي يعتبر هذه المحاولة مفقودة ويبدأ محاولة جديدة — لا يتم احتسابها كفشل.",+ "goalProcess.start": "ابدأ","goalProcess.summary.done": "مكتمل · {{count}} محاولات","goalProcess.summary.gateOpen": "في انتظار قرارك","goalProcess.summary.gateResolved": "تم اتخاذ القرار: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "قبول","goalTask.status.achieved": "تم تحقيقه","goalTask.status.canceled": "تم الإلغاء",+ "goalTask.status.draft": "لم يبدأ","goalTask.status.error": "يحتاج إلى الانتباه","goalTask.status.paused": "متوقف مؤقتًا","goalTask.status.planning": "التخطيط",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "انتهت صلاحية تسجيل الدخول إلى Claude Code. ابدأ محادثة Claude Code أو قم بتشغيل claude في الطرفية، ثم قم بالتحديث.","heteroAgent.claudeQuota.unavailableExternalAuth": "يستخدم هذا الوكيل مفتاح API / نقطة نهاية مخصصة، لذا لا تنطبق حصة الاشتراك.","heteroAgent.claudeQuota.unavailableNotFound": "لم يتم العثور على تسجيل دخول Claude Code. قم بتشغيل claude في الطرفية لتسجيل الدخول أولاً.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "رفضت Anthropic طلب الحصة من شبكة هذه الآلة (عادةً بسبب قيود المنطقة). تحقق من وكيل شبكة الآلة، ثم قم بالتحديث.","heteroAgent.claudeSdkRuntime.state.closed": "تم إغلاق SDK","heteroAgent.claudeSdkRuntime.state.closing": "جارٍ إغلاق SDK","heteroAgent.claudeSdkRuntime.state.error": "خطأ في SDK",diff --git a/locales/ar/setting.json b/locales/ar/setting.jsonindex 758ec34856f..c1f2e6a5d21 100644--- a/locales/ar/setting.json+++ b/locales/ar/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "تعديل","devices.actions.refresh": "تحديث","devices.actions.remove": "إزالة",+ "devices.activity.boundAgents.empty": "لا توجد أي وكلاء محددة للعمل على هذا الجهاز",+ "devices.activity.boundAgents.open": "فتح الوكيل",+ "devices.activity.boundAgents.title": "الوكلاء المرتبطون",+ "devices.activity.error": "تعذر تحميل نشاط هذا الجهاز",+ "devices.activity.loading": "جارٍ التحميل…",+ "devices.activity.runningTopics.empty": "لا يوجد أي شيء يعمل على هذا الجهاز الآن",+ "devices.activity.runningTopics.open": "فتح الموضوع",+ "devices.activity.runningTopics.title": "المواضيع الجارية","devices.agents.empty": "لم يتم العثور على أي وكلاء على هذا الجهاز","devices.agents.error": "تعذر التحقق من هذا الجهاز: {{error}}","devices.agents.installed": "مثبت",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "استخدام وحدة المعالجة المركزية","devices.card.hostname": "اسم المضيف","devices.card.memoryUsage": "استخدام الذاكرة",+ "devices.card.runningTopics": "المواضيع الجارية","devices.card.workingDir": "دليل العمل","devices.channel.connected": "متصل {{time}}","devices.channel.unknown": "عميل غير معروف",diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.jsonindex 49329511d00..e4ff31e883d 100644--- a/locales/bg-BG/chat.json+++ b/locales/bg-BG/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Освободена вълна {{wave}} ({{count}} единици)","goalBatch.gatePanel.history.unit": "„{{title}}“ не премина собствената си проверка — партидата беше задържана веднага","goalBatch.gatePanel.history.unrecorded": "Оценено преди записването на присъдите — няма запазени детайли",+ "goalBatch.gatePanel.learned": "Какво научи този портал",+ "goalBatch.gatePanel.learnedHint": "Записано в плана, който всяка следваща единица зарежда, и добавено към приемането, което всяка от тях трябва да премине.","goalBatch.gatePanel.next.checking": "Всички единици са завършени — оценено на следващата стъпка на координатора","goalBatch.gatePanel.next.human": "Чака вашето решение: преработете плана или създайте нов за неуспешните единици","goalBatch.gatePanel.next.locked": "Оценено автоматично, след като завършат {{count}} единици от този кръг",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Присъда","goalBatch.overviewCount": "Общо: {{count}} партиди · {{nodes}} възли","goalBatch.planPanel.compare": "Сравни с",- "goalBatch.planPanel.diff": "Какво се промени от v{{base}} до v{{revision}}",- "goalBatch.planPanel.first": "Първата версия — няма по-ранна за сравнение",+ "goalBatch.planPanel.compareTitle": "Сравнете версии на плана",+ "goalBatch.planPanel.files": "Файлове",+ "goalBatch.planPanel.foldFiles": "Скрий файловете","goalBatch.planPanel.forked": "Разклонен план: започва отново от оригиналния контур на партидата, вместо да преработва предишната версия",- "goalBatch.planPanel.full": "v{{revision}} в пълен вид",+ "goalBatch.planPanel.latest": "v{{revision}} · последна","goalBatch.planPanel.same": "Същото като v{{base}}",- "goalBatch.planPanel.version": "Версия",+ "goalBatch.planPanel.unfoldFiles": "Покажи файловете","goalBatch.probes.cell.backlog": "Не е започнато","goalBatch.probes.cell.done": "Готово","goalBatch.probes.cell.human": "Нуждае се от вас",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} единици","goalBatch.round.reviseEdge": "Върнато обратно · преработете","goalBatch.round.title": "Кръг {{revision}}",+ "goalBatch.skill.forked": "Умение на плана v{{revision}} · нов клас",+ "goalBatch.skill.title": "Умение на плана v{{revision}}","goalBatch.status.done": "Всичко е готово","goalBatch.status.human": "{{count}} се нуждаят от вас","goalBatch.status.pending": "Не е започнато",@@ -656,6 +661,7 @@"goalList.roundProgress": "Рунд {{current}}/{{total}}","goalList.status.achieved": "Постигната","goalList.status.canceled": "Отменена",+ "goalList.status.draft": "Не е започнато","goalList.status.error": "Изисква внимание","goalList.status.paused": "Пауза","goalList.status.planning": "Планиране",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "От „{{title}}“","goalProcess.deliverables.title": "Доставки","goalProcess.deliverables.untitled": "Без заглавие",+ "goalProcess.draft": "Не е започнато — нищо не се изпълнява, докато не го стартирате. Проверете задачите по-долу първо.","goalProcess.edge.contradicts": "противоречи","goalProcess.edge.derivedFrom": "Произлиза от","goalProcess.edge.investigates": "изследва",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Изпратете го обратно към агента. Кажете какво да се промени в бележките.","goalProcess.signOff.sentBack": "Изпратено обратно за промени","goalProcess.stale.description": "Няма активност за {{duration}}. Следващото напредване ще маркира този опит като загубен и ще започне нов — това няма да се счита за провал.",+ "goalProcess.start": "Стартирай","goalProcess.summary.done": "Завършено · {{count}} опита","goalProcess.summary.gateOpen": "Чака вашето решение","goalProcess.summary.gateResolved": "Решено: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Приемане","goalTask.status.achieved": "Постигнато","goalTask.status.canceled": "Отменено",+ "goalTask.status.draft": "Не е започнато","goalTask.status.error": "Изисква внимание","goalTask.status.paused": "Спряно","goalTask.status.planning": "Планиране",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Входът за Claude Code е изтекъл. Започнете разговор с Claude Code или стартирайте Claude в терминал, след това обновете.","heteroAgent.claudeQuota.unavailableExternalAuth": "Този агент използва API ключ / персонализиран крайна точка, така че абонаментната квота не се прилага.","heteroAgent.claudeQuota.unavailableNotFound": "Не е намерен вход за Claude Code. Стартирайте Claude в терминал, за да влезете първо.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic отказа заявката за квота от мрежата на тази машина (обикновено поради регионално ограничение). Проверете мрежовия прокси на машината, след това обновете.","heteroAgent.claudeSdkRuntime.state.closed": "SDK затворен","heteroAgent.claudeSdkRuntime.state.closing": "SDK се затваря","heteroAgent.claudeSdkRuntime.state.error": "SDK грешка",diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.jsonindex f90dcb26cd9..5d14d35ecb2 100644--- a/locales/bg-BG/setting.json+++ b/locales/bg-BG/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Редактиране","devices.actions.refresh": "Обнови","devices.actions.remove": "Премахване",+ "devices.activity.boundAgents.empty": "Няма агенти, зададени да работят на това устройство",+ "devices.activity.boundAgents.open": "Отвори агент",+ "devices.activity.boundAgents.title": "Свързани агенти",+ "devices.activity.error": "Неуспешно зареждане на активността на това устройство",+ "devices.activity.loading": "Зареждане…",+ "devices.activity.runningTopics.empty": "Нищо не работи на това устройство в момента",+ "devices.activity.runningTopics.open": "Отвори тема",+ "devices.activity.runningTopics.title": "Активни теми","devices.agents.empty": "Няма намерени агенти на това устройство","devices.agents.error": "Не може да се провери това устройство: {{error}}","devices.agents.installed": "Инсталиран",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Използване на CPU","devices.card.hostname": "Име на хост","devices.card.memoryUsage": "Използване на памет",+ "devices.card.runningTopics": "Активни теми","devices.card.workingDir": "Работна директория","devices.channel.connected": "Свързан {{time}}","devices.channel.unknown": "Неизвестен клиент",diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.jsonindex b26e46e889f..8be6fe4ce76 100644--- a/locales/de-DE/chat.json+++ b/locales/de-DE/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Freigegebene Welle {{wave}} ({{count}} Einheiten)","goalBatch.gatePanel.history.unit": "„{{title}}“ hat seine eigene Prüfung nicht bestanden – die Charge wurde sofort zurückgehalten","goalBatch.gatePanel.history.unrecorded": "Vor der Aufzeichnung der Urteile bewertet – keine Details gespeichert",+ "goalBatch.gatePanel.learned": "Was dieses Tor gelehrt hat",+ "goalBatch.gatePanel.learnedHint": "In den Plan geschrieben, den jede spätere Einheit lädt, und zur Akzeptanz hinzugefügt, die jede von ihnen bestehen muss.","goalBatch.gatePanel.next.checking": "Jede Einheit abgeschlossen – wird im nächsten Schritt des Koordinators bewertet","goalBatch.gatePanel.next.human": "Wartet auf Sie: Überarbeiten Sie den Plan oder erstellen Sie einen neuen für die Einheiten, die fehlerhaft sind","goalBatch.gatePanel.next.locked": "Automatisch bewertet, sobald die {{count}} Einheiten dieser Runde abgeschlossen sind",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Urteil","goalBatch.overviewCount": "Gesamt: {{count}} Chargen · {{nodes}} Knoten","goalBatch.planPanel.compare": "Vergleichen mit",- "goalBatch.planPanel.diff": "Was sich von v{{base}} zu v{{revision}} geändert hat",- "goalBatch.planPanel.first": "Die erste Version – nichts früheres zum Vergleichen",+ "goalBatch.planPanel.compareTitle": "Planversionen vergleichen",+ "goalBatch.planPanel.files": "Dateien",+ "goalBatch.planPanel.foldFiles": "Dateien ausblenden","goalBatch.planPanel.forked": "Ein verzweigter Plan: Er beginnt erneut mit der ursprünglichen Struktur der Charge, anstatt die vorherige Version zu überarbeiten",- "goalBatch.planPanel.full": "v{{revision}} in voller Länge",+ "goalBatch.planPanel.latest": "v{{revision}} · neueste","goalBatch.planPanel.same": "Gleich wie v{{base}}",- "goalBatch.planPanel.version": "Version",+ "goalBatch.planPanel.unfoldFiles": "Dateien anzeigen","goalBatch.probes.cell.backlog": "Nicht gestartet","goalBatch.probes.cell.done": "Erledigt","goalBatch.probes.cell.human": "Benötigt Sie",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} Einheiten","goalBatch.round.reviseEdge": "Zurückgesendet · Überarbeiten","goalBatch.round.title": "Runde {{revision}}",+ "goalBatch.skill.forked": "Planfertigkeit v{{revision}} · neue Klasse",+ "goalBatch.skill.title": "Planfertigkeit v{{revision}}","goalBatch.status.done": "Alles erledigt","goalBatch.status.human": "{{count}} benötigen Sie","goalBatch.status.pending": "Nicht gestartet",@@ -656,6 +661,7 @@"goalList.roundProgress": "Runde {{current}}/{{total}}","goalList.status.achieved": "Erreicht","goalList.status.canceled": "Abgebrochen",+ "goalList.status.draft": "Nicht gestartet","goalList.status.error": "Erfordert Aufmerksamkeit","goalList.status.paused": "Pausiert","goalList.status.planning": "In Planung",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "Von „{{title}}“","goalProcess.deliverables.title": "Lieferungen","goalProcess.deliverables.untitled": "Ohne Titel",+ "goalProcess.draft": "Nicht gestartet — nichts läuft, bis Sie es starten. Überprüfen Sie zuerst die untenstehenden Aufgaben.","goalProcess.edge.contradicts": "widerspricht","goalProcess.edge.derivedFrom": "Abgeleitet von","goalProcess.edge.investigates": "untersucht",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Senden Sie es zurück an den Agenten. Geben Sie in den Notizen an, was geändert werden soll.","goalProcess.signOff.sentBack": "Zurückgesendet für Änderungen","goalProcess.stale.description": "Kein Signal für {{duration}}. Der nächste Fortschritt markiert diesen Versuch als verloren und startet einen neuen — dies zählt nicht als Fehlschlag.",+ "goalProcess.start": "Starten","goalProcess.summary.done": "Erledigt · {{count}} Versuche","goalProcess.summary.gateOpen": "Warten auf Ihre Entscheidung","goalProcess.summary.gateResolved": "Entschieden: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Akzeptieren","goalTask.status.achieved": "Erreicht","goalTask.status.canceled": "Abgebrochen",+ "goalTask.status.draft": "Nicht gestartet","goalTask.status.error": "Erfordert Aufmerksamkeit","goalTask.status.paused": "Pausiert","goalTask.status.planning": "Planung",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Die Claude Code-Anmeldung ist abgelaufen. Starten Sie ein Claude Code-Gespräch oder führen Sie Claude in einem Terminal aus und aktualisieren Sie dann.","heteroAgent.claudeQuota.unavailableExternalAuth": "Dieser Agent verwendet einen API-Schlüssel / benutzerdefinierten Endpunkt, daher gilt das Abonnementkontingent nicht.","heteroAgent.claudeQuota.unavailableNotFound": "Keine Claude Code-Anmeldung gefunden. Führen Sie Claude zuerst in einem Terminal aus, um sich anzumelden.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic hat die Quotenanfrage aus dem Netzwerk dieses Geräts abgelehnt (normalerweise eine regionale Einschränkung). Überprüfen Sie den Netzwerkproxy des Geräts und aktualisieren Sie dann.","heteroAgent.claudeSdkRuntime.state.closed": "SDK geschlossen","heteroAgent.claudeSdkRuntime.state.closing": "SDK wird geschlossen","heteroAgent.claudeSdkRuntime.state.error": "SDK-Fehler",diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.jsonindex 720c82bb4b4..15b0fafd89c 100644--- a/locales/de-DE/setting.json+++ b/locales/de-DE/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Bearbeiten","devices.actions.refresh": "Aktualisieren","devices.actions.remove": "Entfernen",+ "devices.activity.boundAgents.empty": "Keine Agenten sind auf diesem Gerät eingerichtet",+ "devices.activity.boundAgents.open": "Agent öffnen",+ "devices.activity.boundAgents.title": "Verbundene Agenten",+ "devices.activity.error": "Die Aktivitäten dieses Geräts konnten nicht geladen werden",+ "devices.activity.loading": "Wird geladen…",+ "devices.activity.runningTopics.empty": "Auf diesem Gerät läuft derzeit nichts",+ "devices.activity.runningTopics.open": "Thema öffnen",+ "devices.activity.runningTopics.title": "Laufende Themen","devices.agents.empty": "Keine Agenten auf diesem Gerät gefunden","devices.agents.error": "Konnte dieses Gerät nicht überprüfen: {{error}}","devices.agents.installed": "Installiert",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU-Auslastung","devices.card.hostname": "Hostname","devices.card.memoryUsage": "Speicherauslastung",+ "devices.card.runningTopics": "Laufende Themen","devices.card.workingDir": "Arbeitsverzeichnis","devices.channel.connected": "Verbunden {{time}}","devices.channel.unknown": "Unbekannter Client",diff --git a/locales/en-US/setting.json b/locales/en-US/setting.jsonindex 8ea930a348a..86d93978c63 100644--- a/locales/en-US/setting.json+++ b/locales/en-US/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Edit","devices.actions.refresh": "Refresh","devices.actions.remove": "Remove",+ "devices.activity.boundAgents.empty": "No agents are set to run on this device",+ "devices.activity.boundAgents.open": "Open agent",+ "devices.activity.boundAgents.title": "Bound agents",+ "devices.activity.error": "Couldn't load this device's activity",+ "devices.activity.loading": "Loading…",+ "devices.activity.runningTopics.empty": "Nothing is running on this device right now",+ "devices.activity.runningTopics.open": "Open topic",+ "devices.activity.runningTopics.title": "Running topics","devices.agents.empty": "No agents found on this device","devices.agents.error": "Could not check this device: {{error}}","devices.agents.installed": "Installed",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU usage","devices.card.hostname": "Hostname","devices.card.memoryUsage": "Memory usage",+ "devices.card.runningTopics": "Running topics","devices.card.workingDir": "Working directory","devices.channel.connected": "Connected {{time}}","devices.channel.unknown": "Unknown client",diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.jsonindex e0267d73856..a7405afa75a 100644--- a/locales/es-ES/chat.json+++ b/locales/es-ES/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Liberada ola {{wave}} ({{count}} unidades)","goalBatch.gatePanel.history.unit": "“{{title}}” falló su propia verificación — el lote fue retenido de inmediato","goalBatch.gatePanel.history.unrecorded": "Evaluado antes de que se registraran los veredictos — no se guardaron detalles",+ "goalBatch.gatePanel.learned": "Lo que enseñó esta puerta",+ "goalBatch.gatePanel.learnedHint": "Escrito en el plan que cada unidad posterior carga, y agregado a la aceptación que cada una debe pasar.","goalBatch.gatePanel.next.checking": "Cada unidad terminó — evaluado en el siguiente paso del coordinador","goalBatch.gatePanel.next.human": "Esperando por ti: revisa el plan o crea uno nuevo para las unidades que fallaron","goalBatch.gatePanel.next.locked": "Evaluado automáticamente una vez que las {{count}} unidades de esta ronda terminen",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Veredicto","goalBatch.overviewCount": "Total: {{count}} lotes · {{nodes}} nodos","goalBatch.planPanel.compare": "Comparar con",- "goalBatch.planPanel.diff": "Qué cambió de v{{base}} a v{{revision}}",- "goalBatch.planPanel.first": "La primera versión — nada anterior para comparar",+ "goalBatch.planPanel.compareTitle": "Comparar versiones del plan",+ "goalBatch.planPanel.files": "Archivos",+ "goalBatch.planPanel.foldFiles": "Ocultar archivos","goalBatch.planPanel.forked": "Un plan bifurcado: comienza de nuevo desde el esquema original del lote en lugar de revisar la versión anterior",- "goalBatch.planPanel.full": "v{{revision}} en su totalidad",+ "goalBatch.planPanel.latest": "v{{revision}} · más reciente","goalBatch.planPanel.same": "Igual que v{{base}}",- "goalBatch.planPanel.version": "Versión",+ "goalBatch.planPanel.unfoldFiles": "Mostrar archivos","goalBatch.probes.cell.backlog": "No iniciado","goalBatch.probes.cell.done": "Hecho","goalBatch.probes.cell.human": "Te necesita",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} unidades","goalBatch.round.reviseEdge": "Devuelto · revisar","goalBatch.round.title": "Ronda {{revision}}",+ "goalBatch.skill.forked": "Habilidad del plan v{{revision}} · nueva clase",+ "goalBatch.skill.title": "Habilidad del plan v{{revision}}","goalBatch.status.done": "Todo completado","goalBatch.status.human": "{{count}} te necesitan","goalBatch.status.pending": "No iniciado",@@ -656,6 +661,7 @@"goalList.roundProgress": "Ronda {{current}}/{{total}}","goalList.status.achieved": "Logrado","goalList.status.canceled": "Cancelado",+ "goalList.status.draft": "No iniciado","goalList.status.error": "Requiere atención","goalList.status.paused": "Pausado","goalList.status.planning": "Planificando",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "De “{{title}}”","goalProcess.deliverables.title": "Entregables","goalProcess.deliverables.untitled": "Sin título",+ "goalProcess.draft": "No iniciado — nada se ejecuta hasta que lo inicies. Revisa las tareas a continuación primero.","goalProcess.edge.contradicts": "contradice","goalProcess.edge.derivedFrom": "Derivado de","goalProcess.edge.investigates": "investiga",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Envíalo de vuelta al agente. Indica qué cambiar en las notas.","goalProcess.signOff.sentBack": "Enviado de vuelta para cambios","goalProcess.stale.description": "Sin actividad durante {{duration}}. El próximo avance marcará este intento como perdido y comenzará uno nuevo — no cuenta como un fallo.",+ "goalProcess.start": "Iniciar","goalProcess.summary.done": "Completado · {{count}} intentos","goalProcess.summary.gateOpen": "Esperando tu decisión","goalProcess.summary.gateResolved": "Decidido: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Aceptar","goalTask.status.achieved": "Logrado","goalTask.status.canceled": "Cancelado",+ "goalTask.status.draft": "No iniciado","goalTask.status.error": "Requiere atención","goalTask.status.paused": "Pausado","goalTask.status.planning": "Planificando",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "La sesión de Claude Code ha expirado. Inicia una conversación de Claude Code o ejecuta Claude en un terminal, luego actualiza.","heteroAgent.claudeQuota.unavailableExternalAuth": "Este agente utiliza una clave API / endpoint personalizado, por lo que la cuota de suscripción no aplica.","heteroAgent.claudeQuota.unavailableNotFound": "No se encontró inicio de sesión de Claude Code. Ejecuta Claude en un terminal para iniciar sesión primero.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic rechazó la solicitud de cuota desde la red de esta máquina (generalmente una restricción regional). Verifica el proxy de red de la máquina y luego actualiza.","heteroAgent.claudeSdkRuntime.state.closed": "SDK cerrado","heteroAgent.claudeSdkRuntime.state.closing": "SDK cerrándose","heteroAgent.claudeSdkRuntime.state.error": "Error del SDK",diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.jsonindex cd26590df5e..c277852f2fc 100644--- a/locales/es-ES/setting.json+++ b/locales/es-ES/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Editar","devices.actions.refresh": "Actualizar","devices.actions.remove": "Eliminar",+ "devices.activity.boundAgents.empty": "No hay agentes configurados para ejecutarse en este dispositivo",+ "devices.activity.boundAgents.open": "Abrir agente",+ "devices.activity.boundAgents.title": "Agentes vinculados",+ "devices.activity.error": "No se pudo cargar la actividad de este dispositivo",+ "devices.activity.loading": "Cargando…",+ "devices.activity.runningTopics.empty": "No hay nada ejecutándose en este dispositivo en este momento",+ "devices.activity.runningTopics.open": "Abrir tema",+ "devices.activity.runningTopics.title": "Temas en ejecución","devices.agents.empty": "No se encontraron agentes en este dispositivo","devices.agents.error": "No se pudo verificar este dispositivo: {{error}}","devices.agents.installed": "Instalado",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Uso de CPU","devices.card.hostname": "Nombre del host","devices.card.memoryUsage": "Uso de memoria",+ "devices.card.runningTopics": "Temas en ejecución","devices.card.workingDir": "Directorio de trabajo","devices.channel.connected": "Conectado {{time}}","devices.channel.unknown": "Cliente desconocido",diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.jsonindex ece5a6a7f41..9ec597eea38 100644--- a/locales/fa-IR/chat.json+++ b/locales/fa-IR/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "موج {{wave}} منتشر شد ({{count}} واحد)","goalBatch.gatePanel.history.unit": "«{{title}}» بررسی خود را شکست داد — دسته فوراً متوقف شد","goalBatch.gatePanel.history.unrecorded": "قبل از ثبت احکام ارزیابی شد — جزئیاتی ذخیره نشده است",+ "goalBatch.gatePanel.learned": "آنچه این دروازه آموخت",+ "goalBatch.gatePanel.learnedHint": "در برنامهای که هر واحد بعدی بارگذاری میکند نوشته شده و به پذیرشی که هر یک از آنها باید بگذرانند اضافه شده است.","goalBatch.gatePanel.next.checking": "تمام واحدها به پایان رسیدند — در مرحله بعدی هماهنگکننده ارزیابی میشود","goalBatch.gatePanel.next.human": "منتظر شما: برنامه را بازبینی کنید یا یک برنامه جدید برای واحدهای خراب ایجاد کنید","goalBatch.gatePanel.next.locked": "بهطور خودکار ارزیابی شد وقتی {{count}} واحد این دور به پایان رسید",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "حکم","goalBatch.overviewCount": "مجموع: {{count}} دسته · {{nodes}} گره","goalBatch.planPanel.compare": "مقایسه با",- "goalBatch.planPanel.diff": "چه چیزی از نسخه {{base}} به نسخه {{revision}} تغییر کرده است",- "goalBatch.planPanel.first": "نسخه اول — چیزی برای مقایسه وجود ندارد",+ "goalBatch.planPanel.compareTitle": "مقایسه نسخههای برنامه",+ "goalBatch.planPanel.files": "فایلها",+ "goalBatch.planPanel.foldFiles": "پنهان کردن فایلها","goalBatch.planPanel.forked": "یک برنامه منشعب: از طرح اصلی دسته شروع میشود به جای بازبینی نسخه قبلی",- "goalBatch.planPanel.full": "نسخه {{revision}} بهطور کامل",+ "goalBatch.planPanel.latest": "نسخه {{revision}} · آخرین","goalBatch.planPanel.same": "همانند نسخه {{base}}",- "goalBatch.planPanel.version": "نسخه",+ "goalBatch.planPanel.unfoldFiles": "نمایش فایلها","goalBatch.probes.cell.backlog": "شروع نشده","goalBatch.probes.cell.done": "انجام شد","goalBatch.probes.cell.human": "نیاز به شما دارد",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} واحد","goalBatch.round.reviseEdge": "برگشت داده شد · بازبینی","goalBatch.round.title": "دور {{revision}}",+ "goalBatch.skill.forked": "مهارت برنامه نسخه {{revision}} · کلاس جدید",+ "goalBatch.skill.title": "مهارت برنامه نسخه {{revision}}","goalBatch.status.done": "همه انجام شدند","goalBatch.status.human": "{{count}} نیاز به شما دارند","goalBatch.status.pending": "شروع نشده",@@ -656,6 +661,7 @@"goalList.roundProgress": "دور {{current}}/{{total}}","goalList.status.achieved": "دستیابی","goalList.status.canceled": "لغو شده",+ "goalList.status.draft": "شروع نشده","goalList.status.error": "نیاز به توجه","goalList.status.paused": "متوقف شده","goalList.status.planning": "برنامهریزی",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "از «{{title}}»","goalProcess.deliverables.title": "تحویلها","goalProcess.deliverables.untitled": "بدون عنوان",+ "goalProcess.draft": "شروع نشده — هیچ چیزی اجرا نمیشود تا زمانی که آن را شروع کنید. ابتدا وظایف زیر را بررسی کنید.","goalProcess.edge.contradicts": "مخالف است","goalProcess.edge.derivedFrom": "مشتق شده از","goalProcess.edge.investigates": "بررسی میکند",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "آن را به اجنت بازگردانید. بگویید چه چیزی باید در یادداشتها تغییر کند.","goalProcess.signOff.sentBack": "برای تغییرات بازگردانده شد","goalProcess.stale.description": "هیچ ضربان قلبی برای {{duration}}. پیشرفت بعدی این تلاش را از دست رفته علامتگذاری میکند و یک تلاش جدید را شروع میکند — این به عنوان شکست محسوب نمیشود.",+ "goalProcess.start": "شروع","goalProcess.summary.done": "انجام شد · {{count}} تلاش","goalProcess.summary.gateOpen": "منتظر تصمیم شما","goalProcess.summary.gateResolved": "تصمیم گرفته شد: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "پذیرش","goalTask.status.achieved": "تحقق یافته","goalTask.status.canceled": "لغو شده",+ "goalTask.status.draft": "شروع نشده","goalTask.status.error": "نیاز به توجه","goalTask.status.paused": "متوقف شده","goalTask.status.planning": "در حال برنامهریزی",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "ورود به Claude Code منقضی شده است. یک مکالمه Claude Code را شروع کنید یا claude را در یک ترمینال اجرا کنید، سپس تازهسازی کنید.","heteroAgent.claudeQuota.unavailableExternalAuth": "این عامل از یک کلید API / نقطه پایانی سفارشی استفاده میکند، بنابراین سهمیه اشتراک اعمال نمیشود.","heteroAgent.claudeQuota.unavailableNotFound": "ورود به Claude Code یافت نشد. ابتدا claude را در یک ترمینال اجرا کنید تا وارد شوید.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic درخواست سهمیه از شبکه این دستگاه را رد کرد (معمولاً به دلیل محدودیت منطقهای). پروکسی شبکه دستگاه را بررسی کنید، سپس صفحه را تازهسازی کنید.","heteroAgent.claudeSdkRuntime.state.closed": "SDK بسته شد","heteroAgent.claudeSdkRuntime.state.closing": "SDK در حال بسته شدن","heteroAgent.claudeSdkRuntime.state.error": "خطای SDK",diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.jsonindex d1c457075d2..aca199a88a8 100644--- a/locales/fa-IR/setting.json+++ b/locales/fa-IR/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "ویرایش","devices.actions.refresh": "تازهسازی","devices.actions.remove": "حذف",+ "devices.activity.boundAgents.empty": "هیچ عاملی برای اجرا روی این دستگاه تنظیم نشده است",+ "devices.activity.boundAgents.open": "باز کردن عامل",+ "devices.activity.boundAgents.title": "عوامل متصل",+ "devices.activity.error": "فعالیت این دستگاه بارگذاری نشد",+ "devices.activity.loading": "در حال بارگذاری…",+ "devices.activity.runningTopics.empty": "در حال حاضر هیچ چیزی روی این دستگاه اجرا نمیشود",+ "devices.activity.runningTopics.open": "باز کردن موضوع",+ "devices.activity.runningTopics.title": "موضوعات در حال اجرا","devices.agents.empty": "هیچ عاملی در این دستگاه یافت نشد","devices.agents.error": "امکان بررسی این دستگاه وجود ندارد: {{error}}","devices.agents.installed": "نصب شده",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "استفاده از CPU","devices.card.hostname": "نام میزبان","devices.card.memoryUsage": "استفاده از حافظه",+ "devices.card.runningTopics": "موضوعات در حال اجرا","devices.card.workingDir": "دایرکتوری کاری","devices.channel.connected": "متصل شده {{time}}","devices.channel.unknown": "کلاینت ناشناخته",diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.jsonindex a4f709c5eb2..be16106dd95 100644--- a/locales/fr-FR/chat.json+++ b/locales/fr-FR/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Vague {{wave}} publiée ({{count}} unités)","goalBatch.gatePanel.history.unit": "« {{title}} » a échoué à sa propre vérification — le lot a été retenu immédiatement","goalBatch.gatePanel.history.unrecorded": "Évalué avant que les verdicts ne soient enregistrés — aucun détail conservé",+ "goalBatch.gatePanel.learned": "Ce que cette porte a enseigné",+ "goalBatch.gatePanel.learnedHint": "Écrit dans le plan que chaque unité ultérieure charge, et ajouté à l'acceptation que chacune d'elles doit passer.","goalBatch.gatePanel.next.checking": "Chaque unité est terminée — évaluée à l'étape suivante du coordinateur","goalBatch.gatePanel.next.human": "En attente de vous : révisez le plan ou créez-en un nouveau pour les unités défaillantes","goalBatch.gatePanel.next.locked": "Évalué automatiquement une fois que les {{count}} unités de ce tour sont terminées",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Verdict","goalBatch.overviewCount": "Total : {{count}} lots · {{nodes}} nœuds","goalBatch.planPanel.compare": "Comparer avec",- "goalBatch.planPanel.diff": "Ce qui a changé entre v{{base}} et v{{revision}}",- "goalBatch.planPanel.first": "La première version — rien d'antérieur à comparer",+ "goalBatch.planPanel.compareTitle": "Comparer les versions du plan",+ "goalBatch.planPanel.files": "Fichiers",+ "goalBatch.planPanel.foldFiles": "Masquer les fichiers","goalBatch.planPanel.forked": "Un plan dérivé : il repart de l'ébauche originale du lot au lieu de réviser la version précédente",- "goalBatch.planPanel.full": "v{{revision}} en entier",+ "goalBatch.planPanel.latest": "v{{revision}} · dernier","goalBatch.planPanel.same": "Identique à v{{base}}",- "goalBatch.planPanel.version": "Version",+ "goalBatch.planPanel.unfoldFiles": "Afficher les fichiers","goalBatch.probes.cell.backlog": "Non démarré","goalBatch.probes.cell.done": "Terminé","goalBatch.probes.cell.human": "Besoin de vous",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} unités","goalBatch.round.reviseEdge": "Renvoyé · réviser","goalBatch.round.title": "Tour {{revision}}",+ "goalBatch.skill.forked": "Compétence du plan v{{revision}} · nouvelle classe",+ "goalBatch.skill.title": "Compétence du plan v{{revision}}","goalBatch.status.done": "Tout terminé","goalBatch.status.human": "{{count}} ont besoin de vous","goalBatch.status.pending": "Non démarré",@@ -656,6 +661,7 @@"goalList.roundProgress": "Cycle {{current}}/{{total}}","goalList.status.achieved": "Atteint","goalList.status.canceled": "Annulé",+ "goalList.status.draft": "Non commencé","goalList.status.error": "Nécessite une attention","goalList.status.paused": "En pause","goalList.status.planning": "En planification",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "De « {{title}} »","goalProcess.deliverables.title": "Livrables","goalProcess.deliverables.untitled": "Sans titre",+ "goalProcess.draft": "Non commencé — rien ne fonctionne tant que vous ne l'avez pas démarré. Vérifiez d'abord les tâches ci-dessous.","goalProcess.edge.contradicts": "contredit","goalProcess.edge.derivedFrom": "Dérivé de","goalProcess.edge.investigates": "investigue",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Renvoyez-le à l'agent. Indiquez ce qu'il faut changer dans les notes.","goalProcess.signOff.sentBack": "Renvoyé pour modifications","goalProcess.stale.description": "Aucun signal depuis {{duration}}. Le prochain avancement marquera cette tentative comme perdue et en démarrera une nouvelle — cela ne compte pas comme un échec.",+ "goalProcess.start": "Démarrer","goalProcess.summary.done": "Terminé · {{count}} tentatives","goalProcess.summary.gateOpen": "En attente de votre décision","goalProcess.summary.gateResolved": "Décidé : {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Accepter","goalTask.status.achieved": "Atteint","goalTask.status.canceled": "Annulé",+ "goalTask.status.draft": "Non commencé","goalTask.status.error": "Nécessite une attention","goalTask.status.paused": "En pause","goalTask.status.planning": "Planification",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "La connexion à Claude Code a expiré. Démarrez une conversation Claude Code ou exécutez Claude dans un terminal, puis actualisez.","heteroAgent.claudeQuota.unavailableExternalAuth": "Cet agent utilise une clé API / un point de terminaison personnalisé, donc le quota d'abonnement ne s'applique pas.","heteroAgent.claudeQuota.unavailableNotFound": "Aucune connexion Claude Code trouvée. Exécutez Claude dans un terminal pour vous connecter d'abord.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic a refusé la demande de quota provenant du réseau de cette machine (généralement une restriction régionale). Vérifiez le proxy réseau de la machine, puis actualisez.","heteroAgent.claudeSdkRuntime.state.closed": "SDK fermé","heteroAgent.claudeSdkRuntime.state.closing": "SDK en cours de fermeture","heteroAgent.claudeSdkRuntime.state.error": "Erreur SDK",diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.jsonindex cad8b46d96e..bd8d770fed7 100644--- a/locales/fr-FR/setting.json+++ b/locales/fr-FR/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Modifier","devices.actions.refresh": "Actualiser","devices.actions.remove": "Supprimer",+ "devices.activity.boundAgents.empty": "Aucun agent n'est configuré pour fonctionner sur cet appareil",+ "devices.activity.boundAgents.open": "Ouvrir l'agent",+ "devices.activity.boundAgents.title": "Agents liés",+ "devices.activity.error": "Impossible de charger l'activité de cet appareil",+ "devices.activity.loading": "Chargement…",+ "devices.activity.runningTopics.empty": "Rien ne fonctionne sur cet appareil pour le moment",+ "devices.activity.runningTopics.open": "Ouvrir le sujet",+ "devices.activity.runningTopics.title": "Sujets en cours d'exécution","devices.agents.empty": "Aucun agent trouvé sur cet appareil","devices.agents.error": "Impossible de vérifier cet appareil : {{error}}","devices.agents.installed": "Installé",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Utilisation du CPU","devices.card.hostname": "Nom d'hôte","devices.card.memoryUsage": "Utilisation de la mémoire",+ "devices.card.runningTopics": "Sujets en cours d'exécution","devices.card.workingDir": "Répertoire de travail","devices.channel.connected": "Connecté {{time}}","devices.channel.unknown": "Client inconnu",diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.jsonindex c190cce7232..563fbe9dda3 100644--- a/locales/it-IT/chat.json+++ b/locales/it-IT/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Rilasciata onda {{wave}} ({{count}} unità)","goalBatch.gatePanel.history.unit": "“{{title}}” ha fallito il proprio controllo — il batch è stato bloccato immediatamente","goalBatch.gatePanel.history.unrecorded": "Valutato prima che i verdetti fossero registrati — nessun dettaglio conservato",+ "goalBatch.gatePanel.learned": "Cosa ha insegnato questo gate",+ "goalBatch.gatePanel.learnedHint": "Scritto nel piano che ogni unità successiva carica, e aggiunto all'accettazione che ciascuna di esse deve superare.","goalBatch.gatePanel.next.checking": "Ogni unità terminata — valutato al prossimo passo del coordinatore","goalBatch.gatePanel.next.human": "In attesa di te: rivedi il piano o crea uno nuovo per le unità che hanno fallito","goalBatch.gatePanel.next.locked": "Valutato automaticamente una volta che le {{count}} unità di questo round terminano",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Verdetto","goalBatch.overviewCount": "Totale: {{count}} batch · {{nodes}} nodi","goalBatch.planPanel.compare": "Confronta con",- "goalBatch.planPanel.diff": "Cosa è cambiato da v{{base}} a v{{revision}}",- "goalBatch.planPanel.first": "La prima versione — nulla di precedente da confrontare",+ "goalBatch.planPanel.compareTitle": "Confronta versioni del piano",+ "goalBatch.planPanel.files": "File",+ "goalBatch.planPanel.foldFiles": "Nascondi file","goalBatch.planPanel.forked": "Un piano derivato: ricomincia dallo schema originale del batch invece di rivedere la versione precedente",- "goalBatch.planPanel.full": "v{{revision}} completo",+ "goalBatch.planPanel.latest": "v{{revision}} · ultimo","goalBatch.planPanel.same": "Uguale a v{{base}}",- "goalBatch.planPanel.version": "Versione",+ "goalBatch.planPanel.unfoldFiles": "Mostra file","goalBatch.probes.cell.backlog": "Non iniziato","goalBatch.probes.cell.done": "Fatto","goalBatch.probes.cell.human": "Richiede il tuo intervento",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} unità","goalBatch.round.reviseEdge": "Rimandato indietro · rivedi","goalBatch.round.title": "Round {{revision}}",+ "goalBatch.skill.forked": "Piano abilità v{{revision}} · nuova classe",+ "goalBatch.skill.title": "Piano abilità v{{revision}}","goalBatch.status.done": "Tutto completato","goalBatch.status.human": "{{count}} richiedono il tuo intervento","goalBatch.status.pending": "Non iniziato",@@ -656,6 +661,7 @@"goalList.roundProgress": "Round {{current}}/{{total}}","goalList.status.achieved": "Raggiunto","goalList.status.canceled": "Annullato",+ "goalList.status.draft": "Non iniziato","goalList.status.error": "Richiede attenzione","goalList.status.paused": "In pausa","goalList.status.planning": "In pianificazione",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "Da “{{title}}”","goalProcess.deliverables.title": "Consegne","goalProcess.deliverables.untitled": "Senza titolo",+ "goalProcess.draft": "Non iniziato — nulla viene eseguito finché non lo avvii. Controlla prima i compiti qui sotto.","goalProcess.edge.contradicts": "contraddice","goalProcess.edge.derivedFrom": "Derivato da","goalProcess.edge.investigates": "indaga su",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Rimandalo all'agente. Indica cosa cambiare nelle note.","goalProcess.signOff.sentBack": "Rimandato per modifiche","goalProcess.stale.description": "Nessun segnale per {{duration}}. Il prossimo avanzamento segnerà questo tentativo come perso e ne avvierà uno nuovo — non sarà considerato un fallimento.",+ "goalProcess.start": "Avvia","goalProcess.summary.done": "Completato · {{count}} tentativi","goalProcess.summary.gateOpen": "In attesa della tua decisione","goalProcess.summary.gateResolved": "Deciso: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Accetta","goalTask.status.achieved": "Raggiunto","goalTask.status.canceled": "Annullato",+ "goalTask.status.draft": "Non iniziato","goalTask.status.error": "Richiede attenzione","goalTask.status.paused": "In pausa","goalTask.status.planning": "Pianificazione",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "La sessione di accesso a Claude Code è scaduta. Avvia una conversazione con Claude Code o esegui Claude in un terminale, quindi aggiorna.","heteroAgent.claudeQuota.unavailableExternalAuth": "Questo agente utilizza una chiave API / endpoint personalizzato, quindi la quota di abbonamento non si applica.","heteroAgent.claudeQuota.unavailableNotFound": "Nessuna sessione di accesso a Claude Code trovata. Esegui Claude in un terminale per accedere prima.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic ha rifiutato la richiesta di quota dalla rete di questa macchina (di solito una restrizione regionale). Controlla il proxy di rete della macchina, quindi aggiorna.","heteroAgent.claudeSdkRuntime.state.closed": "SDK chiuso","heteroAgent.claudeSdkRuntime.state.closing": "SDK in chiusura","heteroAgent.claudeSdkRuntime.state.error": "Errore SDK",diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.jsonindex 6e0c45f9b40..7aef58bda86 100644--- a/locales/it-IT/setting.json+++ b/locales/it-IT/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Modifica","devices.actions.refresh": "Aggiorna","devices.actions.remove": "Rimuovi",+ "devices.activity.boundAgents.empty": "Nessun agente è impostato per essere eseguito su questo dispositivo",+ "devices.activity.boundAgents.open": "Apri agente",+ "devices.activity.boundAgents.title": "Agenti associati",+ "devices.activity.error": "Impossibile caricare l'attività di questo dispositivo",+ "devices.activity.loading": "Caricamento…",+ "devices.activity.runningTopics.empty": "Niente è in esecuzione su questo dispositivo al momento",+ "devices.activity.runningTopics.open": "Apri argomento",+ "devices.activity.runningTopics.title": "Argomenti in esecuzione","devices.agents.empty": "Nessun agente trovato su questo dispositivo","devices.agents.error": "Impossibile controllare questo dispositivo: {{error}}","devices.agents.installed": "Installato",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Utilizzo CPU","devices.card.hostname": "Nome host","devices.card.memoryUsage": "Utilizzo memoria",+ "devices.card.runningTopics": "Argomenti in esecuzione","devices.card.workingDir": "Directory di lavoro","devices.channel.connected": "Connesso {{time}}","devices.channel.unknown": "Client sconosciuto",diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.jsonindex bad162b07d1..c025eb8a538 100644--- a/locales/ja-JP/chat.json+++ b/locales/ja-JP/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "波 {{wave}} をリリースしました ({{count}} ユニット)","goalBatch.gatePanel.history.unit": "“{{title}}” が自身のチェックに失敗しました — バッチは即座に保留されました","goalBatch.gatePanel.history.unrecorded": "判定が記録される前に判断されました — 詳細は保持されていません",+ "goalBatch.gatePanel.learned": "このゲートが教えたこと",+ "goalBatch.gatePanel.learnedHint": "後のすべてのユニットが読み込む計画に書き込まれ、それぞれが通過しなければならない受け入れ条件に追加されます。","goalBatch.gatePanel.next.checking": "すべてのユニットが終了しました — コーディネーターの次のステップで判定されます","goalBatch.gatePanel.next.human": "あなたの対応待ち: 計画を修正するか、失敗したユニット用に新しいものを作成してください","goalBatch.gatePanel.next.locked": "このラウンドの {{count}} ユニットが終了すると自動的に判定されます",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "判定","goalBatch.overviewCount": "合計: {{count}} バッチ · {{nodes}} ノード","goalBatch.planPanel.compare": "比較する",- "goalBatch.planPanel.diff": "v{{base}} から v{{revision}} に変更された内容",- "goalBatch.planPanel.first": "最初のバージョン — 以前の比較対象はありません",+ "goalBatch.planPanel.compareTitle": "計画バージョンを比較",+ "goalBatch.planPanel.files": "ファイル",+ "goalBatch.planPanel.foldFiles": "ファイルを隠す","goalBatch.planPanel.forked": "分岐した計画: バッチの元のアウトラインから再開し、以前のバージョンを修正する代わりに開始します",- "goalBatch.planPanel.full": "v{{revision}} の全体",+ "goalBatch.planPanel.latest": "v{{revision}} · 最新","goalBatch.planPanel.same": "v{{base}} と同じ",- "goalBatch.planPanel.version": "バージョン",+ "goalBatch.planPanel.unfoldFiles": "ファイルを表示","goalBatch.probes.cell.backlog": "未開始","goalBatch.probes.cell.done": "完了","goalBatch.probes.cell.human": "あなたの対応が必要です",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} ユニット","goalBatch.round.reviseEdge": "差し戻し · 修正","goalBatch.round.title": "ラウンド {{revision}}",+ "goalBatch.skill.forked": "計画スキル v{{revision}} · 新しいクラス",+ "goalBatch.skill.title": "計画スキル v{{revision}}","goalBatch.status.done": "すべて完了","goalBatch.status.human": "{{count}} があなたの対応を必要としています","goalBatch.status.pending": "未開始",@@ -656,6 +661,7 @@"goalList.roundProgress": "ラウンド {{current}}/{{total}}","goalList.status.achieved": "達成済み","goalList.status.canceled": "キャンセル済み",+ "goalList.status.draft": "未開始","goalList.status.error": "要注意","goalList.status.paused": "一時停止中","goalList.status.planning": "計画中",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "「{{title}}」から","goalProcess.deliverables.title": "配信物","goalProcess.deliverables.untitled": "無題",+ "goalProcess.draft": "未開始 — 開始するまで何も実行されません。まず以下のタスクを確認してください。","goalProcess.edge.contradicts": "矛盾しています","goalProcess.edge.derivedFrom": "派生元","goalProcess.edge.investigates": "調査しています",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "エージェントに送り返します。変更すべき内容をメモに記述してください。","goalProcess.signOff.sentBack": "変更のために送り返されました","goalProcess.stale.description": "{{duration}} の間、応答がありません。次の進行でこの試行は失敗として記録され、新しい試行が開始されます — 失敗としてはカウントされません。",+ "goalProcess.start": "開始","goalProcess.summary.done": "完了 · {{count}} 件の試行","goalProcess.summary.gateOpen": "あなたの決定を待っています","goalProcess.summary.gateResolved": "決定済み: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "承認","goalTask.status.achieved": "達成済み","goalTask.status.canceled": "キャンセル済み",+ "goalTask.status.draft": "未開始","goalTask.status.error": "要注意","goalTask.status.paused": "一時停止中","goalTask.status.planning": "計画中",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Claude Codeのログインが期限切れです。Claude Codeの会話を開始するか、ターミナルでclaudeを実行してから更新してください。","heteroAgent.claudeQuota.unavailableExternalAuth": "このエージェントはAPIキー/カスタムエンドポイントを使用しているため、サブスクリプションクォータは適用されません。","heteroAgent.claudeQuota.unavailableNotFound": "Claude Codeのログインが見つかりません。まずターミナルでclaudeを実行してサインインしてください。",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropicがこのマシンのネットワークからのクオータリクエストを拒否しました(通常は地域制限)。マシンのネットワークプロキシを確認し、更新してください。","heteroAgent.claudeSdkRuntime.state.closed": "SDKが閉じられました","heteroAgent.claudeSdkRuntime.state.closing": "SDKを閉じています","heteroAgent.claudeSdkRuntime.state.error": "SDKエラー",diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.jsonindex 5f7cf18850d..5686ba83ee0 100644--- a/locales/ja-JP/setting.json+++ b/locales/ja-JP/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "編集","devices.actions.refresh": "更新","devices.actions.remove": "削除",+ "devices.activity.boundAgents.empty": "このデバイスで実行するエージェントは設定されていません",+ "devices.activity.boundAgents.open": "エージェントを開く",+ "devices.activity.boundAgents.title": "バインドされたエージェント",+ "devices.activity.error": "このデバイスのアクティビティを読み込めませんでした",+ "devices.activity.loading": "読み込み中…",+ "devices.activity.runningTopics.empty": "現在、このデバイスで実行中のものはありません",+ "devices.activity.runningTopics.open": "トピックを開く",+ "devices.activity.runningTopics.title": "実行中のトピック","devices.agents.empty": "このデバイスにエージェントが見つかりません","devices.agents.error": "このデバイスを確認できませんでした: {{error}}","devices.agents.installed": "インストール済み",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU使用率","devices.card.hostname": "ホスト名","devices.card.memoryUsage": "メモリ使用率",+ "devices.card.runningTopics": "実行中のトピック","devices.card.workingDir": "作業ディレクトリ","devices.channel.connected": "{{time}}に接続済み","devices.channel.unknown": "不明なクライアント",diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.jsonindex 4cc5ae5e258..fe5f6174d3e 100644--- a/locales/ko-KR/chat.json+++ b/locales/ko-KR/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "웨이브 {{wave}} 릴리스됨 ({{count}} 단위)","goalBatch.gatePanel.history.unit": "“{{title}}” 자체 확인 실패 — 배치가 즉시 보류됨","goalBatch.gatePanel.history.unrecorded": "판결 기록 전에 판단됨 — 세부 정보 없음",+ "goalBatch.gatePanel.learned": "이 게이트가 가르친 것",+ "goalBatch.gatePanel.learnedHint": "모든 이후 유닛이 로드하는 계획에 기록되고, 각 유닛이 통과해야 하는 승인에 추가됩니다.","goalBatch.gatePanel.next.checking": "모든 단위 완료 — 코디네이터의 다음 단계에서 판단됨","goalBatch.gatePanel.next.human": "사용자 대기 중: 계획 수정 또는 실패한 단위를 위한 새 계획 생성","goalBatch.gatePanel.next.locked": "이번 라운드의 {{count}} 단위가 완료되면 자동으로 판단됨",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "판결","goalBatch.overviewCount": "총계: {{count}} 배치 · {{nodes}} 노드","goalBatch.planPanel.compare": "비교",- "goalBatch.planPanel.diff": "v{{base}}에서 v{{revision}}로 변경된 내용",- "goalBatch.planPanel.first": "첫 번째 버전 — 이전에 비교할 내용 없음",+ "goalBatch.planPanel.compareTitle": "계획 버전 비교",+ "goalBatch.planPanel.files": "파일",+ "goalBatch.planPanel.foldFiles": "파일 숨기기","goalBatch.planPanel.forked": "분기된 계획: 이전 버전을 수정하는 대신 배치의 원래 개요에서 다시 시작",- "goalBatch.planPanel.full": "v{{revision}} 전체",+ "goalBatch.planPanel.latest": "v{{revision}} · 최신","goalBatch.planPanel.same": "v{{base}}와 동일",- "goalBatch.planPanel.version": "버전",+ "goalBatch.planPanel.unfoldFiles": "파일 표시","goalBatch.probes.cell.backlog": "시작되지 않음","goalBatch.probes.cell.done": "완료됨","goalBatch.probes.cell.human": "사용자 필요",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} 단위","goalBatch.round.reviseEdge": "반송됨 · 수정","goalBatch.round.title": "라운드 {{revision}}",+ "goalBatch.skill.forked": "계획 기술 v{{revision}} · 새로운 클래스",+ "goalBatch.skill.title": "계획 기술 v{{revision}}","goalBatch.status.done": "모두 완료됨","goalBatch.status.human": "{{count}} 사용자 필요","goalBatch.status.pending": "시작되지 않음",@@ -656,6 +661,7 @@"goalList.roundProgress": "라운드 {{current}}/{{total}}","goalList.status.achieved": "달성됨","goalList.status.canceled": "취소됨",+ "goalList.status.draft": "시작되지 않음","goalList.status.error": "주의 필요","goalList.status.paused": "일시 중지됨","goalList.status.planning": "계획 중",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "“{{title}}”에서","goalProcess.deliverables.title": "전달물","goalProcess.deliverables.untitled": "제목 없음",+ "goalProcess.draft": "시작되지 않음 — 시작하기 전까지 아무것도 실행되지 않습니다. 아래 작업을 먼저 확인하세요.","goalProcess.edge.contradicts": "모순됨","goalProcess.edge.derivedFrom": "파생됨","goalProcess.edge.investigates": "조사함",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "에이전트로 다시 보냅니다. 변경해야 할 내용을 메모에 작성하세요.","goalProcess.signOff.sentBack": "변경 요청으로 다시 보냄","goalProcess.stale.description": "{{duration}} 동안 신호가 없습니다. 다음 진행 시 이 시도를 잃어버린 것으로 표시하고 새 시도를 시작합니다 — 실패로 간주되지 않습니다.",+ "goalProcess.start": "시작","goalProcess.summary.done": "완료됨 · {{count}}번 시도","goalProcess.summary.gateOpen": "결정을 기다리는 중","goalProcess.summary.gateResolved": "결정됨: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "수락","goalTask.status.achieved": "달성됨","goalTask.status.canceled": "취소됨",+ "goalTask.status.draft": "시작되지 않음","goalTask.status.error": "주의 필요","goalTask.status.paused": "일시 중지됨","goalTask.status.planning": "계획 중",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Claude Code 로그인 기간이 만료되었습니다. Claude Code 대화를 시작하거나 터미널에서 Claude를 실행한 후 새로고침하세요.","heteroAgent.claudeQuota.unavailableExternalAuth": "이 에이전트는 API 키/사용자 정의 엔드포인트를 사용하므로 구독 할당량이 적용되지 않습니다.","heteroAgent.claudeQuota.unavailableNotFound": "Claude Code 로그인이 발견되지 않았습니다. 먼저 터미널에서 Claude를 실행하여 로그인하세요.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic이 이 기기의 네트워크에서 온 할당 요청을 거부했습니다(일반적으로 지역 제한). 기기의 네트워크 프록시를 확인한 후 새로고침하세요.","heteroAgent.claudeSdkRuntime.state.closed": "SDK 닫힘","heteroAgent.claudeSdkRuntime.state.closing": "SDK 닫는 중","heteroAgent.claudeSdkRuntime.state.error": "SDK 오류",diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.jsonindex 81444d37b4d..af80df55f99 100644--- a/locales/ko-KR/setting.json+++ b/locales/ko-KR/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "편집","devices.actions.refresh": "새로고침","devices.actions.remove": "제거",+ "devices.activity.boundAgents.empty": "이 장치에서 실행되도록 설정된 에이전트가 없습니다",+ "devices.activity.boundAgents.open": "에이전트 열기",+ "devices.activity.boundAgents.title": "연결된 에이전트",+ "devices.activity.error": "이 장치의 활동을 로드할 수 없습니다",+ "devices.activity.loading": "로드 중…",+ "devices.activity.runningTopics.empty": "현재 이 장치에서 실행 중인 항목이 없습니다",+ "devices.activity.runningTopics.open": "항목 열기",+ "devices.activity.runningTopics.title": "실행 중인 항목","devices.agents.empty": "이 장치에서 에이전트를 찾을 수 없습니다","devices.agents.error": "이 장치를 확인할 수 없습니다: {{error}}","devices.agents.installed": "설치됨",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU 사용량","devices.card.hostname": "호스트 이름","devices.card.memoryUsage": "메모리 사용량",+ "devices.card.runningTopics": "실행 중인 항목","devices.card.workingDir": "작업 디렉토리","devices.channel.connected": "{{time}}에 연결됨","devices.channel.unknown": "알 수 없는 클라이언트",diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.jsonindex 0dcad2b90e1..b31b82e6133 100644--- a/locales/nl-NL/chat.json+++ b/locales/nl-NL/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Vrijgegeven golf {{wave}} ({{count}} eenheden)","goalBatch.gatePanel.history.unit": "“{{title}}” faalde in zijn eigen controle — de batch werd direct vastgehouden","goalBatch.gatePanel.history.unrecorded": "Beoordeeld voordat uitspraken werden vastgelegd — geen details bewaard",+ "goalBatch.gatePanel.learned": "Wat deze poort heeft geleerd",+ "goalBatch.gatePanel.learnedHint": "Geschreven in het plan dat elke latere eenheid laadt, en toegevoegd aan de acceptatie die elk van hen moet doorstaan.","goalBatch.gatePanel.next.checking": "Elke eenheid is afgerond — beoordeeld in de volgende stap van de coördinator","goalBatch.gatePanel.next.human": "Wacht op jou: herzie het plan of maak een nieuw plan voor de eenheden die zijn mislukt","goalBatch.gatePanel.next.locked": "Automatisch beoordeeld zodra de {{count}} eenheden van deze ronde zijn afgerond",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Uitspraak","goalBatch.overviewCount": "Totaal: {{count}} batches · {{nodes}} knooppunten","goalBatch.planPanel.compare": "Vergelijken met",- "goalBatch.planPanel.diff": "Wat is veranderd van v{{base}} naar v{{revision}}",- "goalBatch.planPanel.first": "De eerste versie — niets eerder om mee te vergelijken",+ "goalBatch.planPanel.compareTitle": "Vergelijk planversies",+ "goalBatch.planPanel.files": "Bestanden",+ "goalBatch.planPanel.foldFiles": "Bestanden verbergen","goalBatch.planPanel.forked": "Een gesplitst plan: het begint opnieuw vanuit de oorspronkelijke opzet van de batch in plaats van de vorige versie te herzien",- "goalBatch.planPanel.full": "v{{revision}} in zijn geheel",+ "goalBatch.planPanel.latest": "v{{revision}} · nieuwste","goalBatch.planPanel.same": "Hetzelfde als v{{base}}",- "goalBatch.planPanel.version": "Versie",+ "goalBatch.planPanel.unfoldFiles": "Bestanden tonen","goalBatch.probes.cell.backlog": "Niet gestart","goalBatch.probes.cell.done": "Klaar","goalBatch.probes.cell.human": "Heeft jou nodig",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} eenheden","goalBatch.round.reviseEdge": "Teruggestuurd · herzien","goalBatch.round.title": "Ronde {{revision}}",+ "goalBatch.skill.forked": "Planningsvaardigheid v{{revision}} · nieuwe klasse",+ "goalBatch.skill.title": "Planningsvaardigheid v{{revision}}","goalBatch.status.done": "Alles klaar","goalBatch.status.human": "{{count}} hebben jou nodig","goalBatch.status.pending": "Niet gestart",@@ -656,6 +661,7 @@"goalList.roundProgress": "Ronde {{current}}/{{total}}","goalList.status.achieved": "Behaald","goalList.status.canceled": "Geannuleerd",+ "goalList.status.draft": "Niet gestart","goalList.status.error": "Aandacht nodig","goalList.status.paused": "Gepauzeerd","goalList.status.planning": "Plannen",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "Van “{{title}}”","goalProcess.deliverables.title": "Leveringen","goalProcess.deliverables.untitled": "Naamloos",+ "goalProcess.draft": "Niet gestart — niets wordt uitgevoerd totdat je het start. Controleer eerst de onderstaande taken.","goalProcess.edge.contradicts": "staat in tegenstrijd met","goalProcess.edge.derivedFrom": "Afgeleid van","goalProcess.edge.investigates": "onderzoekt",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Stuur het terug naar de agent. Geef aan wat er moet veranderen in de notities.","goalProcess.signOff.sentBack": "Teruggestuurd voor wijzigingen","goalProcess.stale.description": "Geen activiteit gedurende {{duration}}. De volgende voortgang markeert deze poging als verloren en start een nieuwe poging — dit telt niet als een mislukking.",+ "goalProcess.start": "Start","goalProcess.summary.done": "Voltooid · {{count}} pogingen","goalProcess.summary.gateOpen": "Wachtend op jouw beslissing","goalProcess.summary.gateResolved": "Beslist: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Accepteren","goalTask.status.achieved": "Behaald","goalTask.status.canceled": "Geannuleerd",+ "goalTask.status.draft": "Niet gestart","goalTask.status.error": "Heeft aandacht nodig","goalTask.status.paused": "Gepauzeerd","goalTask.status.planning": "Plannen",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Claude Code-login is verlopen. Start een Claude Code-gesprek of voer Claude uit in een terminal, en vernieuw daarna.","heteroAgent.claudeQuota.unavailableExternalAuth": "Deze agent gebruikt een API-sleutel / aangepaste endpoint, dus abonnementsquota zijn niet van toepassing.","heteroAgent.claudeQuota.unavailableNotFound": "Geen Claude Code-login gevonden. Voer Claude uit in een terminal om eerst in te loggen.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic heeft het quotumverzoek van het netwerk van deze machine geweigerd (meestal een regiobeperking). Controleer de netwerkproxy van de machine en vernieuw vervolgens.","heteroAgent.claudeSdkRuntime.state.closed": "SDK gesloten","heteroAgent.claudeSdkRuntime.state.closing": "SDK wordt gesloten","heteroAgent.claudeSdkRuntime.state.error": "SDK fout",diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.jsonindex 1d996f48617..c21351437b2 100644--- a/locales/nl-NL/setting.json+++ b/locales/nl-NL/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Bewerken","devices.actions.refresh": "Vernieuwen","devices.actions.remove": "Verwijderen",+ "devices.activity.boundAgents.empty": "Er zijn geen agenten ingesteld om op dit apparaat te draaien",+ "devices.activity.boundAgents.open": "Agent openen",+ "devices.activity.boundAgents.title": "Gebonden agenten",+ "devices.activity.error": "Kon de activiteit van dit apparaat niet laden",+ "devices.activity.loading": "Laden…",+ "devices.activity.runningTopics.empty": "Er draait momenteel niets op dit apparaat",+ "devices.activity.runningTopics.open": "Onderwerp openen",+ "devices.activity.runningTopics.title": "Actieve onderwerpen","devices.agents.empty": "Geen agents gevonden op dit apparaat","devices.agents.error": "Kon dit apparaat niet controleren: {{error}}","devices.agents.installed": "Geïnstalleerd",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU-gebruik","devices.card.hostname": "Hostnaam","devices.card.memoryUsage": "Geheugengebruik",+ "devices.card.runningTopics": "Actieve onderwerpen","devices.card.workingDir": "Werkmap","devices.channel.connected": "Verbonden {{time}}","devices.channel.unknown": "Onbekende client",diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.jsonindex b516178ac8b..399ed87c564 100644--- a/locales/pl-PL/chat.json+++ b/locales/pl-PL/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Wydano falę {{wave}} ({{count}} jednostek)","goalBatch.gatePanel.history.unit": "„{{title}}” nie przeszła własnej kontroli — partia została natychmiast wstrzymana","goalBatch.gatePanel.history.unrecorded": "Oceniono przed zapisaniem werdyktów — brak szczegółów",+ "goalBatch.gatePanel.learned": "Czego nauczyła ta bramka",+ "goalBatch.gatePanel.learnedHint": "Zapisane w planie, który ładuje każda późniejsza jednostka, i dodane do akceptacji, którą każda z nich musi przejść.","goalBatch.gatePanel.next.checking": "Każda jednostka zakończona — oceniono w następnym kroku koordynatora","goalBatch.gatePanel.next.human": "Czeka na ciebie: popraw plan lub utwórz nowy dla jednostek, które zawiodły","goalBatch.gatePanel.next.locked": "Oceniono automatycznie po zakończeniu {{count}} jednostek w tej rundzie",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Werdykt","goalBatch.overviewCount": "Łącznie: {{count}} partii · {{nodes}} węzłów","goalBatch.planPanel.compare": "Porównaj z",- "goalBatch.planPanel.diff": "Co się zmieniło od wersji {{base}} do wersji {{revision}}",- "goalBatch.planPanel.first": "Pierwsza wersja — brak wcześniejszych do porównania",+ "goalBatch.planPanel.compareTitle": "Porównaj wersje planu",+ "goalBatch.planPanel.files": "Pliki",+ "goalBatch.planPanel.foldFiles": "Ukryj pliki","goalBatch.planPanel.forked": "Rozgałęziony plan: zaczyna od pierwotnego zarysu partii zamiast poprawiać poprzednią wersję",- "goalBatch.planPanel.full": "Wersja {{revision}} w całości",+ "goalBatch.planPanel.latest": "v{{revision}} · najnowsza","goalBatch.planPanel.same": "Taka sama jak wersja {{base}}",- "goalBatch.planPanel.version": "Wersja",+ "goalBatch.planPanel.unfoldFiles": "Pokaż pliki","goalBatch.probes.cell.backlog": "Nie rozpoczęto","goalBatch.probes.cell.done": "Zrobione","goalBatch.probes.cell.human": "Wymaga twojej uwagi",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} jednostek","goalBatch.round.reviseEdge": "Odesłano · popraw","goalBatch.round.title": "Runda {{revision}}",+ "goalBatch.skill.forked": "Umiejętność planu v{{revision}} · nowa klasa",+ "goalBatch.skill.title": "Umiejętność planu v{{revision}}","goalBatch.status.done": "Wszystko zrobione","goalBatch.status.human": "{{count}} wymaga twojej uwagi","goalBatch.status.pending": "Nie rozpoczęto",@@ -656,6 +661,7 @@"goalList.roundProgress": "Runda {{current}}/{{total}}","goalList.status.achieved": "Osiągnięty","goalList.status.canceled": "Anulowany",+ "goalList.status.draft": "Nie rozpoczęto","goalList.status.error": "Wymaga uwagi","goalList.status.paused": "Wstrzymany","goalList.status.planning": "Planowanie",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "Z „{{title}}”","goalProcess.deliverables.title": "Dostarczone","goalProcess.deliverables.untitled": "Bez tytułu",+ "goalProcess.draft": "Nie rozpoczęto — nic nie działa, dopóki tego nie uruchomisz. Najpierw sprawdź poniższe zadania.","goalProcess.edge.contradicts": "przeczy","goalProcess.edge.derivedFrom": "Pochodzi z","goalProcess.edge.investigates": "bada",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Wyślij to z powrotem do Agenta. Powiedz, co zmienić w notatkach.","goalProcess.signOff.sentBack": "Wysłano z powrotem do zmian","goalProcess.stale.description": "Brak aktywności przez {{duration}}. Kolejny postęp oznaczy tę próbę jako utraconą i rozpocznie nową — nie będzie to liczone jako niepowodzenie.",+ "goalProcess.start": "Uruchom","goalProcess.summary.done": "Ukończone · {{count}} prób","goalProcess.summary.gateOpen": "Oczekuje na Twoją decyzję","goalProcess.summary.gateResolved": "Zdecydowano: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Zaakceptuj","goalTask.status.achieved": "Osiągnięty","goalTask.status.canceled": "Anulowany",+ "goalTask.status.draft": "Nie rozpoczęto","goalTask.status.error": "Wymaga uwagi","goalTask.status.paused": "Wstrzymany","goalTask.status.planning": "Planowanie",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Logowanie do Claude Code wygasło. Rozpocznij rozmowę w Claude Code lub uruchom claude w terminalu, a następnie odśwież.","heteroAgent.claudeQuota.unavailableExternalAuth": "Ten agent używa klucza API / niestandardowego punktu końcowego, więc limit subskrypcji nie ma zastosowania.","heteroAgent.claudeQuota.unavailableNotFound": "Nie znaleziono logowania do Claude Code. Uruchom claude w terminalu, aby się zalogować.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic odrzucił żądanie przydziału z sieci tej maszyny (zwykle ograniczenie regionalne). Sprawdź proxy sieciowe maszyny, a następnie odśwież.","heteroAgent.claudeSdkRuntime.state.closed": "SDK zamknięte","heteroAgent.claudeSdkRuntime.state.closing": "SDK zamyka się","heteroAgent.claudeSdkRuntime.state.error": "Błąd SDK",diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.jsonindex dfcbb0b432b..56ff71f78ec 100644--- a/locales/pl-PL/setting.json+++ b/locales/pl-PL/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Edytuj","devices.actions.refresh": "Odśwież","devices.actions.remove": "Usuń",+ "devices.activity.boundAgents.empty": "Żadne agenty nie są ustawione do działania na tym urządzeniu",+ "devices.activity.boundAgents.open": "Otwórz agenta",+ "devices.activity.boundAgents.title": "Powiązane agenty",+ "devices.activity.error": "Nie można załadować aktywności tego urządzenia",+ "devices.activity.loading": "Ładowanie…",+ "devices.activity.runningTopics.empty": "Nic nie działa na tym urządzeniu w tej chwili",+ "devices.activity.runningTopics.open": "Otwórz temat",+ "devices.activity.runningTopics.title": "Działające tematy","devices.agents.empty": "Nie znaleziono agentów na tym urządzeniu","devices.agents.error": "Nie można sprawdzić tego urządzenia: {{error}}","devices.agents.installed": "Zainstalowane",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Użycie CPU","devices.card.hostname": "Nazwa hosta","devices.card.memoryUsage": "Użycie pamięci",+ "devices.card.runningTopics": "Działające tematy","devices.card.workingDir": "Katalog roboczy","devices.channel.connected": "Połączono {{time}}","devices.channel.unknown": "Nieznany klient",diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.jsonindex b656ee8ef4c..e77412b1bb7 100644--- a/locales/pt-BR/chat.json+++ b/locales/pt-BR/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Onda {{wave}} liberada ({{count}} unidades)","goalBatch.gatePanel.history.unit": "“{{title}}” falhou em sua própria verificação — o lote foi retido imediatamente","goalBatch.gatePanel.history.unrecorded": "Julgado antes que os veredictos fossem registrados — nenhum detalhe mantido",+ "goalBatch.gatePanel.learned": "O que este portão ensinou",+ "goalBatch.gatePanel.learnedHint": "Escrito no plano que cada unidade posterior carrega e adicionado à aceitação que cada uma delas deve passar.","goalBatch.gatePanel.next.checking": "Todas as unidades concluídas — julgado no próximo passo do coordenador","goalBatch.gatePanel.next.human": "Aguardando você: revise o plano ou crie um novo para as unidades que falharam","goalBatch.gatePanel.next.locked": "Julgado automaticamente assim que as {{count}} unidades desta rodada forem concluídas",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Veredito","goalBatch.overviewCount": "Total: {{count}} lotes · {{nodes}} nós","goalBatch.planPanel.compare": "Comparar com",- "goalBatch.planPanel.diff": "O que mudou de v{{base}} para v{{revision}}",- "goalBatch.planPanel.first": "A primeira versão — nada anterior para comparar",+ "goalBatch.planPanel.compareTitle": "Comparar versões do plano",+ "goalBatch.planPanel.files": "Arquivos",+ "goalBatch.planPanel.foldFiles": "Ocultar arquivos","goalBatch.planPanel.forked": "Um plano bifurcado: começa novamente a partir do esboço original do lote em vez de revisar a versão anterior",- "goalBatch.planPanel.full": "v{{revision}} completo",+ "goalBatch.planPanel.latest": "v{{revision}} · mais recente","goalBatch.planPanel.same": "Igual a v{{base}}",- "goalBatch.planPanel.version": "Versão",+ "goalBatch.planPanel.unfoldFiles": "Mostrar arquivos","goalBatch.probes.cell.backlog": "Não iniciado","goalBatch.probes.cell.done": "Concluído","goalBatch.probes.cell.human": "Precisa de você",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} unidades","goalBatch.round.reviseEdge": "Enviado de volta · revisar","goalBatch.round.title": "Rodada {{revision}}",+ "goalBatch.skill.forked": "Habilidade do plano v{{revision}} · nova classe",+ "goalBatch.skill.title": "Habilidade do plano v{{revision}}","goalBatch.status.done": "Tudo concluído","goalBatch.status.human": "{{count}} precisam de você","goalBatch.status.pending": "Não iniciado",@@ -656,6 +661,7 @@"goalList.roundProgress": "Rodada {{current}}/{{total}}","goalList.status.achieved": "Concluído","goalList.status.canceled": "Cancelado",+ "goalList.status.draft": "Não iniciado","goalList.status.error": "Necessita de atenção","goalList.status.paused": "Pausado","goalList.status.planning": "Planejando",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "De “{{title}}”","goalProcess.deliverables.title": "Entregáveis","goalProcess.deliverables.untitled": "Sem título",+ "goalProcess.draft": "Não iniciado — nada será executado até que você inicie. Verifique as tarefas abaixo primeiro.","goalProcess.edge.contradicts": "contradiz","goalProcess.edge.derivedFrom": "Derivado de","goalProcess.edge.investigates": "investiga",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Envie de volta para o Agente. Diga o que mudar nas notas.","goalProcess.signOff.sentBack": "Enviado de volta para alterações","goalProcess.stale.description": "Sem sinal por {{duration}}. O próximo avanço marcará esta tentativa como perdida e iniciará uma nova — isso não conta como falha.",+ "goalProcess.start": "Iniciar","goalProcess.summary.done": "Concluído · {{count}} tentativas","goalProcess.summary.gateOpen": "Aguardando sua decisão","goalProcess.summary.gateResolved": "Decidido: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Aceitar","goalTask.status.achieved": "Concluído","goalTask.status.canceled": "Cancelado",+ "goalTask.status.draft": "Não iniciado","goalTask.status.error": "Necessita de atenção","goalTask.status.paused": "Pausado","goalTask.status.planning": "Planejando",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "O login do Claude Code expirou. Inicie uma conversa no Claude Code ou execute o Claude em um terminal e, em seguida, atualize.","heteroAgent.claudeQuota.unavailableExternalAuth": "Este agente usa uma chave de API / endpoint personalizado, portanto, a cota de assinatura não se aplica.","heteroAgent.claudeQuota.unavailableNotFound": "Nenhum login do Claude Code encontrado. Execute o Claude em um terminal para fazer login primeiro.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "A Anthropic recusou a solicitação de cota da rede desta máquina (geralmente uma restrição de região). Verifique o proxy de rede da máquina e atualize.","heteroAgent.claudeSdkRuntime.state.closed": "SDK fechado","heteroAgent.claudeSdkRuntime.state.closing": "SDK fechando","heteroAgent.claudeSdkRuntime.state.error": "Erro no SDK",diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.jsonindex a54525ec709..edbe9f875ce 100644--- a/locales/pt-BR/setting.json+++ b/locales/pt-BR/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Editar","devices.actions.refresh": "Atualizar","devices.actions.remove": "Remover",+ "devices.activity.boundAgents.empty": "Nenhum agente está configurado para rodar neste dispositivo",+ "devices.activity.boundAgents.open": "Abrir agente",+ "devices.activity.boundAgents.title": "Agentes vinculados",+ "devices.activity.error": "Não foi possível carregar a atividade deste dispositivo",+ "devices.activity.loading": "Carregando…",+ "devices.activity.runningTopics.empty": "Nada está rodando neste dispositivo no momento",+ "devices.activity.runningTopics.open": "Abrir tópico",+ "devices.activity.runningTopics.title": "Tópicos em execução","devices.agents.empty": "Nenhum agente encontrado neste dispositivo","devices.agents.error": "Não foi possível verificar este dispositivo: {{error}}","devices.agents.installed": "Instalado",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Uso da CPU","devices.card.hostname": "Nome do host","devices.card.memoryUsage": "Uso de memória",+ "devices.card.runningTopics": "Tópicos em execução","devices.card.workingDir": "Diretório de trabalho","devices.channel.connected": "Conectado {{time}}","devices.channel.unknown": "Cliente desconhecido",diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.jsonindex b07be6fdfd1..b7d2ed8fa80 100644--- a/locales/ru-RU/chat.json+++ b/locales/ru-RU/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Выпущена волна {{wave}} ({{count}} единиц)","goalBatch.gatePanel.history.unit": "«{{title}}» не прошла свою проверку — партия была задержана сразу","goalBatch.gatePanel.history.unrecorded": "Оценено до записи вердиктов — детали не сохранены",+ "goalBatch.gatePanel.learned": "Чему научились на этом этапе",+ "goalBatch.gatePanel.learnedHint": "Записывается в план, который загружается каждым последующим модулем, и добавляется к критериям, которые они должны пройти.","goalBatch.gatePanel.next.checking": "Все единицы завершены — оценено на следующем шаге координатора","goalBatch.gatePanel.next.human": "Ожидает вас: пересмотрите план или создайте новый для единиц, которые не прошли","goalBatch.gatePanel.next.locked": "Оценено автоматически, как только завершатся {{count}} единиц этого раунда",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Вердикт","goalBatch.overviewCount": "Всего: {{count}} партий · {{nodes}} узлов","goalBatch.planPanel.compare": "Сравнить с",- "goalBatch.planPanel.diff": "Что изменилось с v{{base}} до v{{revision}}",- "goalBatch.planPanel.first": "Первая версия — ничего раньше для сравнения",+ "goalBatch.planPanel.compareTitle": "Сравнить версии плана",+ "goalBatch.planPanel.files": "Файлы",+ "goalBatch.planPanel.foldFiles": "Скрыть файлы","goalBatch.planPanel.forked": "Разветвленный план: начинается с оригинального контура партии, а не с пересмотра предыдущей версии",- "goalBatch.planPanel.full": "v{{revision}} полностью",+ "goalBatch.planPanel.latest": "v{{revision}} · последняя","goalBatch.planPanel.same": "То же, что и v{{base}}",- "goalBatch.planPanel.version": "Версия",+ "goalBatch.planPanel.unfoldFiles": "Показать файлы","goalBatch.probes.cell.backlog": "Не начато","goalBatch.probes.cell.done": "Выполнено","goalBatch.probes.cell.human": "Требуется ваше участие",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} единиц","goalBatch.round.reviseEdge": "Возвращено · пересмотреть","goalBatch.round.title": "Раунд {{revision}}",+ "goalBatch.skill.forked": "Навык плана v{{revision}} · новый класс",+ "goalBatch.skill.title": "Навык плана v{{revision}}","goalBatch.status.done": "Все выполнено","goalBatch.status.human": "{{count}} требуют вашего участия","goalBatch.status.pending": "Не начато",@@ -656,6 +661,7 @@"goalList.roundProgress": "Раунд {{current}}/{{total}}","goalList.status.achieved": "Достигнуто","goalList.status.canceled": "Отменено",+ "goalList.status.draft": "Не начато","goalList.status.error": "Требуется внимание","goalList.status.paused": "Приостановлено","goalList.status.planning": "Планирование",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "Из «{{title}}»","goalProcess.deliverables.title": "Результаты","goalProcess.deliverables.untitled": "Без названия",+ "goalProcess.draft": "Не начато — ничего не выполняется, пока вы не начнете. Сначала проверьте задачи ниже.","goalProcess.edge.contradicts": "противоречит","goalProcess.edge.derivedFrom": "Произведено из","goalProcess.edge.investigates": "исследует",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Отправить обратно агенту. Укажите, что изменить, в заметках.","goalProcess.signOff.sentBack": "Отправлено на изменения","goalProcess.stale.description": "Нет активности в течение {{duration}}. Следующее продвижение пометит эту попытку как потерянную и начнет новую — это не будет считаться неудачей.",+ "goalProcess.start": "Начать","goalProcess.summary.done": "Выполнено · {{count}} попыток","goalProcess.summary.gateOpen": "Ожидание вашего решения","goalProcess.summary.gateResolved": "Решено: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Принять","goalTask.status.achieved": "Достигнуто","goalTask.status.canceled": "Отменено",+ "goalTask.status.draft": "Не начато","goalTask.status.error": "Требует внимания","goalTask.status.paused": "Приостановлено","goalTask.status.planning": "Планирование",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Срок действия входа в Claude Code истёк. Начните разговор с Claude Code или запустите claude в терминале, затем обновите страницу.","heteroAgent.claudeQuota.unavailableExternalAuth": "Этот агент использует API-ключ / пользовательскую конечную точку, поэтому квота подписки не применяется.","heteroAgent.claudeQuota.unavailableNotFound": "Вход в Claude Code не найден. Сначала выполните вход, запустив claude в терминале.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic отклонил запрос квоты от сети этой машины (обычно из-за региональных ограничений). Проверьте прокси-сервер сети машины, затем обновите страницу.","heteroAgent.claudeSdkRuntime.state.closed": "SDK закрыт","heteroAgent.claudeSdkRuntime.state.closing": "SDK закрывается","heteroAgent.claudeSdkRuntime.state.error": "Ошибка SDK",diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.jsonindex cee4f314680..3e5cca67025 100644--- a/locales/ru-RU/setting.json+++ b/locales/ru-RU/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Редактировать","devices.actions.refresh": "Обновить","devices.actions.remove": "Удалить",+ "devices.activity.boundAgents.empty": "На этом устройстве не настроены агенты",+ "devices.activity.boundAgents.open": "Открыть агента",+ "devices.activity.boundAgents.title": "Привязанные агенты",+ "devices.activity.error": "Не удалось загрузить активность этого устройства",+ "devices.activity.loading": "Загрузка…",+ "devices.activity.runningTopics.empty": "На этом устройстве сейчас ничего не запущено",+ "devices.activity.runningTopics.open": "Открыть тему",+ "devices.activity.runningTopics.title": "Запущенные темы","devices.agents.empty": "На этом устройстве агентов не найдено","devices.agents.error": "Не удалось проверить это устройство: {{error}}","devices.agents.installed": "Установлено",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Использование CPU","devices.card.hostname": "Имя хоста","devices.card.memoryUsage": "Использование памяти",+ "devices.card.runningTopics": "Запущенные темы","devices.card.workingDir": "Рабочий каталог","devices.channel.connected": "Подключено {{time}}","devices.channel.unknown": "Неизвестный клиент",diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.jsonindex aac54b30e95..6c3a06c5848 100644--- a/locales/tr-TR/chat.json+++ b/locales/tr-TR/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Dalga {{wave}} serbest bırakıldı ({{count}} birim)","goalBatch.gatePanel.history.unit": "“{{title}}” kendi kontrolünde başarısız oldu — toplu işlem hemen bekletildi","goalBatch.gatePanel.history.unrecorded": "Kararlar kaydedilmeden önce değerlendirildi — detay tutulmadı",+ "goalBatch.gatePanel.learned": "Bu kapının öğrettikleri",+ "goalBatch.gatePanel.learnedHint": "Her sonraki birimin yüklediği plana yazılır ve her birinin geçmesi gereken kabul kriterlerine eklenir.","goalBatch.gatePanel.next.checking": "Her birim tamamlandı — koordinatörün bir sonraki adımında değerlendirildi","goalBatch.gatePanel.next.human": "Sizi bekliyor: planı gözden geçirin veya başarısız olan birimler için yeni bir plan oluşturun","goalBatch.gatePanel.next.locked": "Bu turun {{count}} birimi tamamlandığında otomatik olarak değerlendirildi",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Karar","goalBatch.overviewCount": "Toplam: {{count}} toplu işlem · {{nodes}} düğüm","goalBatch.planPanel.compare": "Karşılaştır",- "goalBatch.planPanel.diff": "v{{base}} ile v{{revision}} arasındaki değişiklikler",- "goalBatch.planPanel.first": "İlk sürüm — karşılaştırılacak daha önceki bir şey yok",+ "goalBatch.planPanel.compareTitle": "Plan sürümlerini karşılaştır",+ "goalBatch.planPanel.files": "Dosyalar",+ "goalBatch.planPanel.foldFiles": "Dosyaları gizle","goalBatch.planPanel.forked": "Çatallanmış bir plan: önceki sürümü revize etmek yerine toplu işlemin orijinal taslağından yeniden başlar",- "goalBatch.planPanel.full": "v{{revision}} tam haliyle",+ "goalBatch.planPanel.latest": "v{{revision}} · en son","goalBatch.planPanel.same": "v{{base}} ile aynı",- "goalBatch.planPanel.version": "Sürüm",+ "goalBatch.planPanel.unfoldFiles": "Dosyaları göster","goalBatch.probes.cell.backlog": "Başlatılmadı","goalBatch.probes.cell.done": "Tamamlandı","goalBatch.probes.cell.human": "Size ihtiyaç var",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} birim","goalBatch.round.reviseEdge": "Geri gönderildi · gözden geçir","goalBatch.round.title": "Tur {{revision}}",+ "goalBatch.skill.forked": "Plan becerisi v{{revision}} · yeni sınıf",+ "goalBatch.skill.title": "Plan becerisi v{{revision}}","goalBatch.status.done": "Hepsi tamamlandı","goalBatch.status.human": "{{count}} size ihtiyaç duyuyor","goalBatch.status.pending": "Başlatılmadı",@@ -656,6 +661,7 @@"goalList.roundProgress": "Tur {{current}}/{{total}}","goalList.status.achieved": "Başarıldı","goalList.status.canceled": "İptal edildi",+ "goalList.status.draft": "Başlamadı","goalList.status.error": "Dikkat gerekiyor","goalList.status.paused": "Duraklatıldı","goalList.status.planning": "Planlama",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "“{{title}}” Kaynağından","goalProcess.deliverables.title": "Teslimatlar","goalProcess.deliverables.untitled": "Başlıksız",+ "goalProcess.draft": "Başlamadı — hiçbir şey siz başlatana kadar çalışmaz. Önce aşağıdaki görevleri kontrol edin.","goalProcess.edge.contradicts": "çelişiyor","goalProcess.edge.derivedFrom": "Türetildiği yer","goalProcess.edge.investigates": "araştırıyor",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Ajan'a geri gönderin. Notlarda neyin değişmesi gerektiğini belirtin.","goalProcess.signOff.sentBack": "Değişiklikler için geri gönderildi","goalProcess.stale.description": "{{duration}} süredir bir sinyal yok. Bir sonraki ilerleme bu denemeyi kayıp olarak işaretler ve yeni bir deneme başlatır — bu bir başarısızlık olarak sayılmaz.",+ "goalProcess.start": "Başlat","goalProcess.summary.done": "Tamamlandı · {{count}} deneme","goalProcess.summary.gateOpen": "Kararınızı bekliyor","goalProcess.summary.gateResolved": "Karar verildi: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Kabul et","goalTask.status.achieved": "Başarıldı","goalTask.status.canceled": "İptal edildi",+ "goalTask.status.draft": "Başlamadı","goalTask.status.error": "Dikkat gerekiyor","goalTask.status.paused": "Duraklatıldı","goalTask.status.planning": "Planlama",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Claude Code oturumu sona erdi. Bir Claude Code konuşması başlatın veya terminalde claude çalıştırın, ardından yenileyin.","heteroAgent.claudeQuota.unavailableExternalAuth": "Bu ajan bir API anahtarı / özel uç nokta kullanıyor, bu nedenle abonelik kotası geçerli değil.","heteroAgent.claudeQuota.unavailableNotFound": "Claude Code oturumu bulunamadı. Önce terminalde claude çalıştırarak oturum açın.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic, bu makinenin ağından gelen kota talebini reddetti (genellikle bir bölge kısıtlaması). Makinenin ağ proxy'sini kontrol edin, ardından yenileyin.","heteroAgent.claudeSdkRuntime.state.closed": "SDK kapalı","heteroAgent.claudeSdkRuntime.state.closing": "SDK kapanıyor","heteroAgent.claudeSdkRuntime.state.error": "SDK hatası",diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.jsonindex 4705fcf2711..65e36c147cf 100644--- a/locales/tr-TR/setting.json+++ b/locales/tr-TR/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Düzenle","devices.actions.refresh": "Yenile","devices.actions.remove": "Kaldır",+ "devices.activity.boundAgents.empty": "Bu cihazda çalışacak bir ajan ayarlanmadı",+ "devices.activity.boundAgents.open": "Ajana git",+ "devices.activity.boundAgents.title": "Bağlı ajanlar",+ "devices.activity.error": "Bu cihazın etkinliği yüklenemedi",+ "devices.activity.loading": "Yükleniyor…",+ "devices.activity.runningTopics.empty": "Şu anda bu cihazda çalışan bir şey yok",+ "devices.activity.runningTopics.open": "Konuya git",+ "devices.activity.runningTopics.title": "Çalışan konular","devices.agents.empty": "Bu cihazda ajan bulunamadı","devices.agents.error": "Bu cihaz kontrol edilemedi: {{error}}","devices.agents.installed": "Yüklendi",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU kullanımı","devices.card.hostname": "Ana bilgisayar adı","devices.card.memoryUsage": "Bellek kullanımı",+ "devices.card.runningTopics": "Çalışan konular","devices.card.workingDir": "Çalışma dizini","devices.channel.connected": "{{time}} bağlandı","devices.channel.unknown": "Bilinmeyen istemci",diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.jsonindex a238ecc34ed..815318f5f36 100644--- a/locales/vi-VN/chat.json+++ b/locales/vi-VN/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "Đã phát hành làn sóng {{wave}} ({{count}} đơn vị)","goalBatch.gatePanel.history.unit": "“{{title}}” đã thất bại trong kiểm tra của chính nó — lô đã bị giữ ngay lập tức","goalBatch.gatePanel.history.unrecorded": "Đã đánh giá trước khi phán quyết được ghi lại — không giữ chi tiết",+ "goalBatch.gatePanel.learned": "Những gì cổng này đã dạy",+ "goalBatch.gatePanel.learnedHint": "Được viết vào kế hoạch mà mỗi đơn vị sau này tải, và được thêm vào tiêu chí chấp nhận mà mỗi đơn vị phải vượt qua.","goalBatch.gatePanel.next.checking": "Mọi đơn vị đã hoàn thành — được đánh giá ở bước tiếp theo của điều phối viên","goalBatch.gatePanel.next.human": "Đang chờ bạn: sửa đổi kế hoạch hoặc tạo một kế hoạch mới cho các đơn vị bị lỗi","goalBatch.gatePanel.next.locked": "Được đánh giá tự động khi {{count}} đơn vị của vòng này hoàn thành",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "Phán quyết","goalBatch.overviewCount": "Tổng cộng: {{count}} lô · {{nodes}} nút","goalBatch.planPanel.compare": "So sánh với",- "goalBatch.planPanel.diff": "Những gì đã thay đổi từ v{{base}} đến v{{revision}}",- "goalBatch.planPanel.first": "Phiên bản đầu tiên — không có gì trước đó để so sánh",+ "goalBatch.planPanel.compareTitle": "So sánh các phiên bản kế hoạch",+ "goalBatch.planPanel.files": "Tệp",+ "goalBatch.planPanel.foldFiles": "Ẩn tệp","goalBatch.planPanel.forked": "Một kế hoạch phân nhánh: nó bắt đầu lại từ phác thảo ban đầu của lô thay vì sửa đổi phiên bản trước",- "goalBatch.planPanel.full": "v{{revision}} đầy đủ",+ "goalBatch.planPanel.latest": "v{{revision}} · mới nhất","goalBatch.planPanel.same": "Giống như v{{base}}",- "goalBatch.planPanel.version": "Phiên bản",+ "goalBatch.planPanel.unfoldFiles": "Hiển thị tệp","goalBatch.probes.cell.backlog": "Chưa bắt đầu","goalBatch.probes.cell.done": "Hoàn thành","goalBatch.probes.cell.human": "Cần bạn",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} đơn vị","goalBatch.round.reviseEdge": "Đã gửi lại · sửa đổi","goalBatch.round.title": "Vòng {{revision}}",+ "goalBatch.skill.forked": "Kỹ năng kế hoạch v{{revision}} · lớp mới",+ "goalBatch.skill.title": "Kỹ năng kế hoạch v{{revision}}","goalBatch.status.done": "Tất cả đã hoàn thành","goalBatch.status.human": "{{count}} cần bạn","goalBatch.status.pending": "Chưa bắt đầu",@@ -656,6 +661,7 @@"goalList.roundProgress": "Vòng {{current}}/{{total}}","goalList.status.achieved": "Đã đạt được","goalList.status.canceled": "Đã hủy",+ "goalList.status.draft": "Chưa bắt đầu","goalList.status.error": "Cần chú ý","goalList.status.paused": "Tạm dừng","goalList.status.planning": "Đang lập kế hoạch",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "Từ “{{title}}”","goalProcess.deliverables.title": "Các mục được giao","goalProcess.deliverables.untitled": "Chưa có tiêu đề",+ "goalProcess.draft": "Chưa bắt đầu — không có gì chạy cho đến khi bạn bắt đầu. Kiểm tra các nhiệm vụ bên dưới trước.","goalProcess.edge.contradicts": "mâu thuẫn","goalProcess.edge.derivedFrom": "Được dẫn xuất từ","goalProcess.edge.investigates": "điều tra",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "Gửi lại cho Agent. Nói rõ những gì cần thay đổi trong ghi chú.","goalProcess.signOff.sentBack": "Đã gửi lại để thay đổi","goalProcess.stale.description": "Không có tín hiệu trong {{duration}}. Lần tiến hành tiếp theo sẽ đánh dấu lần thử này là thất bại và bắt đầu một lần mới — điều này không được tính là thất bại.",+ "goalProcess.start": "Bắt đầu","goalProcess.summary.done": "Hoàn thành · {{count}} lần thử","goalProcess.summary.gateOpen": "Đang chờ quyết định của bạn","goalProcess.summary.gateResolved": "Đã quyết định: {{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "Chấp nhận","goalTask.status.achieved": "Đã đạt được","goalTask.status.canceled": "Đã hủy",+ "goalTask.status.draft": "Chưa bắt đầu","goalTask.status.error": "Cần chú ý","goalTask.status.paused": "Tạm dừng","goalTask.status.planning": "Đang lập kế hoạch",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Đăng nhập Claude Code đã hết hạn. Bắt đầu một cuộc trò chuyện Claude Code hoặc chạy claude trong terminal, sau đó làm mới.","heteroAgent.claudeQuota.unavailableExternalAuth": "Tác nhân này sử dụng khóa API / endpoint tùy chỉnh, vì vậy hạn mức đăng ký không áp dụng.","heteroAgent.claudeQuota.unavailableNotFound": "Không tìm thấy đăng nhập Claude Code. Chạy claude trong terminal để đăng nhập trước.",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic đã từ chối yêu cầu hạn ngạch từ mạng của máy này (thường là do hạn chế khu vực). Kiểm tra proxy mạng của máy, sau đó làm mới.","heteroAgent.claudeSdkRuntime.state.closed": "SDK đã đóng","heteroAgent.claudeSdkRuntime.state.closing": "SDK đang đóng","heteroAgent.claudeSdkRuntime.state.error": "Lỗi SDK",diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.jsonindex 5dd707a75b4..40b2a280088 100644--- a/locales/vi-VN/setting.json+++ b/locales/vi-VN/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "Chỉnh sửa","devices.actions.refresh": "Làm mới","devices.actions.remove": "Xóa",+ "devices.activity.boundAgents.empty": "Không có agent nào được thiết lập để chạy trên thiết bị này",+ "devices.activity.boundAgents.open": "Mở agent",+ "devices.activity.boundAgents.title": "Các agent được liên kết",+ "devices.activity.error": "Không thể tải hoạt động của thiết bị này",+ "devices.activity.loading": "Đang tải…",+ "devices.activity.runningTopics.empty": "Hiện không có gì đang chạy trên thiết bị này",+ "devices.activity.runningTopics.open": "Mở chủ đề",+ "devices.activity.runningTopics.title": "Các chủ đề đang chạy","devices.agents.empty": "Không tìm thấy agent nào trên thiết bị này","devices.agents.error": "Không thể kiểm tra thiết bị này: {{error}}","devices.agents.installed": "Đã cài đặt",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "Sử dụng CPU","devices.card.hostname": "Tên máy chủ","devices.card.memoryUsage": "Sử dụng bộ nhớ",+ "devices.card.runningTopics": "Các chủ đề đang chạy","devices.card.workingDir": "Thư mục làm việc","devices.channel.connected": "Đã kết nối {{time}}","devices.channel.unknown": "Khách hàng không xác định",diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.jsonindex 6138277029a..f5a4554aec8 100644--- a/locales/zh-CN/setting.json+++ b/locales/zh-CN/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "编辑","devices.actions.refresh": "刷新","devices.actions.remove": "移除",+ "devices.activity.boundAgents.empty": "还没有 Agent 绑定到这台设备",+ "devices.activity.boundAgents.open": "打开 Agent",+ "devices.activity.boundAgents.title": "绑定的 Agent",+ "devices.activity.error": "无法加载这台设备的运行情况",+ "devices.activity.loading": "加载中…",+ "devices.activity.runningTopics.empty": "这台设备上暂时没有正在运行的话题",+ "devices.activity.runningTopics.open": "打开话题",+ "devices.activity.runningTopics.title": "运行中的话题","devices.agents.empty": "这台设备上没有检测到 Agent","devices.agents.error": "检测失败:{{error}}","devices.agents.installed": "已安装",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU 使用率","devices.card.hostname": "主机名","devices.card.memoryUsage": "内存使用率",+ "devices.card.runningTopics": "运行中的话题","devices.card.workingDir": "工作目录","devices.channel.connected": "已连接 {{time}}","devices.channel.unknown": "未知客户端",diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.jsonindex b23adb0414c..efcbfcd7dbd 100644--- a/locales/zh-TW/chat.json+++ b/locales/zh-TW/chat.json@@ -489,6 +489,8 @@"goalBatch.gatePanel.history.released": "釋放波次 {{wave}} ({{count}} 單元)","goalBatch.gatePanel.history.unit": "“{{title}}” 未通過自身檢查 — 批次立即暫停","goalBatch.gatePanel.history.unrecorded": "在記錄判決之前已判斷 — 無詳細記錄",+ "goalBatch.gatePanel.learned": "此門檻所學到的內容",+ "goalBatch.gatePanel.learnedHint": "寫入計劃中,供後續每個單元載入,並新增到每個單元必須通過的驗收條件中。","goalBatch.gatePanel.next.checking": "所有單元完成 — 在協調器的下一步中判斷","goalBatch.gatePanel.next.human": "等待您:修訂計劃,或為失敗的單元分叉一個新計劃","goalBatch.gatePanel.next.locked": "本輪的 {{count}} 單元完成後自動判斷",@@ -499,12 +501,13 @@"goalBatch.gatePanel.verdict": "判決","goalBatch.overviewCount": "總計:{{count}} 批次 · {{nodes}} 節點","goalBatch.planPanel.compare": "比較",- "goalBatch.planPanel.diff": "從 v{{base}} 到 v{{revision}} 的變更",- "goalBatch.planPanel.first": "第一個版本 — 無更早版本可比較",+ "goalBatch.planPanel.compareTitle": "比較計劃版本",+ "goalBatch.planPanel.files": "檔案",+ "goalBatch.planPanel.foldFiles": "隱藏檔案","goalBatch.planPanel.forked": "分叉計劃:從批次的原始大綱重新開始,而不是修訂上一版本",- "goalBatch.planPanel.full": "完整 v{{revision}}",+ "goalBatch.planPanel.latest": "v{{revision}} · 最新","goalBatch.planPanel.same": "與 v{{base}} 相同",- "goalBatch.planPanel.version": "版本",+ "goalBatch.planPanel.unfoldFiles": "顯示檔案","goalBatch.probes.cell.backlog": "未開始","goalBatch.probes.cell.done": "完成","goalBatch.probes.cell.human": "需要您",@@ -526,6 +529,8 @@"goalBatch.round.foot": "{{count}} 單元","goalBatch.round.reviseEdge": "退回 · 修訂","goalBatch.round.title": "第 {{revision}} 輪",+ "goalBatch.skill.forked": "計劃技能 v{{revision}} · 新類別",+ "goalBatch.skill.title": "計劃技能 v{{revision}}","goalBatch.status.done": "全部完成","goalBatch.status.human": "{{count}} 需要您","goalBatch.status.pending": "未開始",@@ -656,6 +661,7 @@"goalList.roundProgress": "回合 {{current}}/{{total}}","goalList.status.achieved": "已達成","goalList.status.canceled": "已取消",+ "goalList.status.draft": "尚未開始","goalList.status.error": "需要注意","goalList.status.paused": "已暫停","goalList.status.planning": "計劃中",@@ -770,6 +776,7 @@"goalProcess.deliverables.from": "來自「{{title}}」","goalProcess.deliverables.title": "交付物","goalProcess.deliverables.untitled": "未命名",+ "goalProcess.draft": "尚未開始 — 在啟動之前不會執行任何內容。請先檢查以下任務。","goalProcess.edge.contradicts": "矛盾","goalProcess.edge.derivedFrom": "衍生自","goalProcess.edge.investigates": "調查",@@ -1092,6 +1099,7 @@"goalProcess.signOff.requestChangesEffect": "將其發送回代理。請在備註中說明應更改的內容。","goalProcess.signOff.sentBack": "已發送回進行更改","goalProcess.stale.description": "{{duration}} 未收到心跳信號。下一次推進將標記此嘗試為丟失並啟動新嘗試 — 這不算作失敗。",+ "goalProcess.start": "開始","goalProcess.summary.done": "已完成 · {{count}} 次嘗試","goalProcess.summary.gateOpen": "等待您的決定","goalProcess.summary.gateResolved": "已決定:{{option}}",@@ -1116,6 +1124,7 @@"goalTask.stage.verifying": "接受","goalTask.status.achieved": "已達成","goalTask.status.canceled": "已取消",+ "goalTask.status.draft": "尚未開始","goalTask.status.error": "需要注意","goalTask.status.paused": "已暫停","goalTask.status.planning": "計劃中",@@ -1284,6 +1293,7 @@"heteroAgent.claudeQuota.unavailableExpired": "Claude Code 登錄已過期。請開始 Claude Code 對話或在終端中運行 claude,然後刷新。","heteroAgent.claudeQuota.unavailableExternalAuth": "此代理使用 API 金鑰或自定義端點,因此訂閱配額不適用。","heteroAgent.claudeQuota.unavailableNotFound": "未找到 Claude Code 登錄。請先在終端中運行 claude 以登錄。",+ "heteroAgent.claudeQuota.unavailableRequestBlocked": "Anthropic 拒絕了來自此機器網路的配額請求(通常是區域限制)。請檢查機器的網路代理,然後重新整理。","heteroAgent.claudeSdkRuntime.state.closed": "SDK 已關閉","heteroAgent.claudeSdkRuntime.state.closing": "SDK 正在關閉","heteroAgent.claudeSdkRuntime.state.error": "SDK 錯誤",diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.jsonindex cee407171bb..8506104e5d1 100644--- a/locales/zh-TW/setting.json+++ b/locales/zh-TW/setting.json@@ -382,6 +382,14 @@"devices.actions.edit": "編輯","devices.actions.refresh": "重新整理","devices.actions.remove": "移除",+ "devices.activity.boundAgents.empty": "此裝置尚未設定執行任何代理",+ "devices.activity.boundAgents.open": "開啟代理",+ "devices.activity.boundAgents.title": "綁定的代理",+ "devices.activity.error": "無法載入此裝置的活動",+ "devices.activity.loading": "載入中…",+ "devices.activity.runningTopics.empty": "此裝置目前沒有正在執行的項目",+ "devices.activity.runningTopics.open": "開啟主題",+ "devices.activity.runningTopics.title": "正在執行的主題","devices.agents.empty": "此裝置上未找到代理","devices.agents.error": "無法檢查此裝置:{{error}}","devices.agents.installed": "已安裝",@@ -412,6 +420,7 @@"devices.card.cpuUsage": "CPU 使用率","devices.card.hostname": "主機名稱","devices.card.memoryUsage": "記憶體使用率",+ "devices.card.runningTopics": "正在執行的主題","devices.card.workingDir": "工作目錄","devices.channel.connected": "已連接 {{time}}","devices.channel.unknown": "未知的客戶端",diff --git a/packages/database/src/models/__tests__/agent.queryBoundToDevice.test.ts b/packages/database/src/models/__tests__/agent.queryBoundToDevice.test.tsnew file mode 100644index 00000000000..c8dd78805ea--- /dev/null+++ b/packages/database/src/models/__tests__/agent.queryBoundToDevice.test.ts@@ -0,0 +1,107 @@+// @vitest-environment node+import type { LobeAgentAgencyConfig } from '@lobechat/types';+import { afterEach, beforeEach, describe, expect, it } from 'vitest';++import { getTestDB } from '../../core/getTestDB';+import { agents, users, workspaces } from '../../schemas';+import type { LobeChatDatabase } from '../../type';+import { AgentModel } from '../agent';++const serverDB: LobeChatDatabase = await getTestDB();++const userA = 'bound-device-user-a';+const userB = 'bound-device-user-b';++let workspaceId = '';++beforeEach(async () => {+ await serverDB.delete(users);+ await serverDB.insert(users).values([{ id: userA }, { id: userB }]);+ const [ws] = await serverDB+ .insert(workspaces)+ .values({ name: 'bound-device-ws', primaryOwnerId: userA, slug: 'bound-device-ws' })+ .returning();+ workspaceId = ws.id;+});++afterEach(async () => {+ await serverDB.delete(users);+});++const insertAgent = (params: {+ agencyConfig?: LobeAgentAgencyConfig;+ id: string;+ userId: string;+ visibility?: 'private' | 'public';+ workspaceId?: string;+}) =>+ serverDB.insert(agents).values({+ agencyConfig: params.agencyConfig,+ id: params.id,+ title: params.id,+ userId: params.userId,+ visibility: params.visibility ?? 'public',+ workspaceId: params.workspaceId ?? null,+ });++describe('AgentModel.queryBoundToDevice', () => {+ it('returns agents whose device or local target is bound to the device', async () => {+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-a', executionTarget: 'device' },+ id: 'a-device',+ userId: userA,+ });+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-a', executionTarget: 'local' },+ id: 'a-local',+ userId: userA,+ });+ // A stale binding left behind after switching to the sandbox no longer routes here.+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-a', executionTarget: 'sandbox' },+ id: 'a-sandbox',+ userId: userA,+ });+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-b', executionTarget: 'device' },+ id: 'a-other-device',+ userId: userA,+ });+ await insertAgent({ id: 'a-unbound', userId: userA });+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-a', executionTarget: 'device' },+ id: 'b-device',+ userId: userB,+ });++ const rows = await new AgentModel(serverDB, userA).queryBoundToDevice('device-a');++ expect(rows.map((row) => row.id).sort()).toEqual(['a-device', 'a-local']);+ expect(rows[0]).toMatchObject({ backgroundColor: null, name: null, visibility: 'public' });+ });++ it("adds override-bound agents but never another member's private agent", async () => {+ await insertAgent({ id: 'ws-public', userId: userA, workspaceId });+ await insertAgent({ id: 'ws-private-a', userId: userA, visibility: 'private', workspaceId });+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-a', executionTarget: 'device' },+ id: 'ws-private-a-bound',+ userId: userA,+ visibility: 'private',+ workspaceId,+ });+ await insertAgent({+ agencyConfig: { boundDeviceId: 'device-a', executionTarget: 'device' },+ id: 'ws-shared-bound',+ userId: userA,+ workspaceId,+ });++ const rows = await new AgentModel(serverDB, userB, workspaceId).queryBoundToDevice('device-a', [+ 'ws-public',+ 'ws-private-a',+ ]);++ expect(rows.map((row) => row.id).sort()).toEqual(['ws-public', 'ws-shared-bound']);+ });+});diff --git a/packages/database/src/models/__tests__/topic.test.ts b/packages/database/src/models/__tests__/topic.test.tsindex ba061dfe0d1..74f93b9dcdf 100644--- a/packages/database/src/models/__tests__/topic.test.ts+++ b/packages/database/src/models/__tests__/topic.test.ts@@ -15,7 +15,7 @@ import {workspaces,} from '../../schemas';import type { LobeChatDatabase } from '../../type';-import { TopicModel } from '../topic';+import { getTopicDeviceId, TopicModel } from '../topic';const serverDB: LobeChatDatabase = await getTestDB();@@ -705,6 +705,55 @@ describe('TopicModel', () => {});});+ describe('findRunInitiators', () => {+ it("returns the member who started each topic's current run", async () => {+ await serverDB.insert(topics).values([+ { id: 'ri-run', status: 'running', title: 'run', userId },+ { id: 'ri-client', status: 'running', title: 'client run', userId },+ { id: 'ri-done', status: 'active', title: 'done', userId },+ ]);+ await serverDB.insert(agentOperations).values([+ // A crashed earlier run by the creator; the live, later one wins.+ {+ id: 'ri-op-stale',+ startedAt: new Date('2026-01-01T00:00:00Z'),+ status: 'running',+ topicId: 'ri-run',+ userId,+ },+ // A teammate continued the topic the creator started.+ {+ id: 'ri-op-live',+ startedAt: new Date('2026-01-02T00:00:00Z'),+ status: 'running',+ topicId: 'ri-run',+ userId: otherUserId,+ },+ // A sub-operation never names the run's initiator.+ {+ id: 'ri-op-sub',+ parentOperationId: 'ri-op-live',+ startedAt: new Date('2026-01-03T00:00:00Z'),+ status: 'running',+ topicId: 'ri-run',+ userId,+ },+ {+ id: 'ri-op-done',+ startedAt: new Date('2026-01-02T00:00:00Z'),+ status: 'completed',+ topicId: 'ri-done',+ userId: otherUserId,+ },+ ]);++ const initiators = await topicModel.findRunInitiators(['ri-run', 'ri-client', 'ri-done']);++ expect([...initiators]).toEqual([['ri-run', otherUserId]]);+ expect(await topicModel.findRunInitiators([])).toEqual(new Map());+ });+ });+describe('queryTopics', () => {it('filters by the given statuses and is scoped to the owner', async () => {await serverDB.insert(topics).values([@@ -717,6 +766,76 @@ describe('TopicModel', () => {expect(result.map((t) => t.id)).toEqual(['t-running']);});+ it('narrows to topics pinned to or dispatched on the given device', async () => {+ await serverDB.insert(topics).values([+ {+ id: 't-bound',+ metadata: { boundDeviceId: 'device-a' },+ status: 'running',+ title: 'bound',+ userId,+ },+ {+ id: 't-dispatched',+ metadata: {+ runningOperation: {+ assistantMessageId: 'msg-1',+ deviceId: 'device-a',+ operationId: 'op-1',+ },+ },+ status: 'running',+ title: 'dispatched',+ userId,+ },+ {+ id: 't-other-device',+ metadata: { boundDeviceId: 'device-b' },+ status: 'running',+ title: 'other device',+ userId,+ },+ {+ id: 't-pinned-a-dispatched-b',+ metadata: {+ boundDeviceId: 'device-a',+ runningOperation: {+ assistantMessageId: 'msg-2',+ deviceId: 'device-b',+ operationId: 'op-2',+ },+ },+ status: 'running',+ title: 'dispatch wins',+ userId,+ },+ { id: 't-unbound', status: 'running', title: 'unbound', userId },+ {+ id: 't-bound-idle',+ metadata: { boundDeviceId: 'device-a' },+ status: 'active',+ title: 'idle',+ userId,+ },+ {+ id: 't-bound-other-user',+ metadata: { boundDeviceId: 'device-a' },+ status: 'running',+ title: 'other user',+ userId: otherUserId,+ },+ ]);++ const result = await topicModel.queryTopics({ deviceId: 'device-a', statuses: ['running'] });+ expect(result.map((t) => t.id).sort()).toEqual(['t-bound', 't-dispatched']);+ // A run sent away from the topic's pinned device counts where it went,+ // and only there.+ const onB = await topicModel.queryTopics({ deviceId: 'device-b', statuses: ['running'] });+ expect(onB.map((t) => t.id).sort()).toEqual(['t-other-device', 't-pinned-a-dispatched-b']);+ expect(onB.map((t) => getTopicDeviceId(t.metadata))).toEqual(onB.map(() => 'device-b'));+ expect(result.map((t) => getTopicDeviceId(t.metadata))).toEqual(result.map(() => 'device-a'));+ });+it('returns all owned topics when no statuses filter is given', async () => {await serverDB.insert(topics).values([{ id: 't1', status: 'running', title: '1', userId },diff --git a/packages/database/src/models/agent.ts b/packages/database/src/models/agent.tsindex e47ec8ccf10..26a19c3866d 100644--- a/packages/database/src/models/agent.ts+++ b/packages/database/src/models/agent.ts@@ -4,7 +4,12 @@ import {INBOX_SESSION_ID,isHeterogeneousAgentModelId,} from '@lobechat/const';-import type { AgentRankItem, AgentTopicShareSubject, LobeAgentAgencyConfig } from '@lobechat/types';+import type {+ AgentRankItem,+ AgentTopicShareSubject,+ DeviceBoundAgentItem,+ LobeAgentAgencyConfig,+} from '@lobechat/types';import {applyWorkingDirByDevicePatch,DEFAULT_WORKSPACE_AGENT_SELECTION_POLICIES,@@ -206,6 +211,17 @@ const RESERVED_AGENT_SLUGS: ReadonlySet<string> = new Set<string>();/** One chat group an agent belongs to, as surfaced by the transfer guards. */+/**+ * A row of {@link AgentModel.queryBoundToDevice}: display fields plus the+ * stored routing config and ownership needed to resolve the caller's+ * effective target.+ */+export interface DeviceBindingCandidate extends DeviceBoundAgentItem {+ agencyConfig: LobeAgentAgencyConfig | null;+ userId: string;+ workspaceId: string | null;+}+export interface AgentGroupMembershipRef {agentId: string;/** `null` when the group is not visible to the caller (see the read below). */@@ -324,6 +340,54 @@ export class AgentModel {return rows.map(({ slug, ...row }) => normalizeInboxAgentMeta(row, { slug }));};+ /**+ * Candidate agents for a device's "bound agents" list: agents whose stored+ * agency config routes execution there (`device`, or a desktop `local` pick,+ * which also records its own `boundDeviceId`), plus `extraAgentIds` — agents+ * a caller's per-agent device override may route there. Candidates pass the+ * same visibility gate, so an id the caller cannot see is dropped rather+ * than leaked.+ *+ * The routing fields ride along because the stored config is only a+ * baseline: the caller merges their own override over it (see+ * `resolveAgentAgencyConfig`) and keeps the agents whose EFFECTIVE target+ * is still this device.+ */+ queryBoundToDevice = async (+ deviceId: string,+ extraAgentIds: string[] = [],+ ): Promise<DeviceBindingCandidate[]> => {+ const boundHere = and(+ sql`${agents.agencyConfig} ->> 'boundDeviceId' = ${deviceId}`,+ sql`${agents.agencyConfig} ->> 'executionTarget' IN ('device', 'local')`,+ );++ const rows = await this.db+ .select({+ agencyConfig: agents.agencyConfig,+ avatar: agents.avatar,+ backgroundColor: agents.backgroundColor,+ id: agents.id,+ name: agents.name,+ slug: agents.slug,+ title: agents.title,+ userId: agents.userId,+ visibility: agents.visibility,+ workspaceId: agents.workspaceId,+ })+ .from(agents)+ .where(+ and(+ this.ownership(),+ or(eq(agents.slug, INBOX_SESSION_ID), ne(agents.virtual, true)),+ extraAgentIds.length > 0 ? or(boundHere, inArray(agents.id, extraAgentIds)) : boundHere,+ ),+ )+ .orderBy(desc(agents.updatedAt));++ return rows.map(({ slug, ...row }) => normalizeInboxAgentMeta(row, { slug }));+ };+/*** Compat-mode ownership predicate for the `agents` table.* - team mode (workspaceId set): `workspace_id = ?` plus visibility-awarediff --git a/packages/database/src/models/topic.ts b/packages/database/src/models/topic.tsindex aa49366efa5..84bcc3f8bd4 100644--- a/packages/database/src/models/topic.ts+++ b/packages/database/src/models/topic.ts@@ -85,6 +85,17 @@ type TopicMetadataPatch = Omit<Partial<ChatTopicMetadata>, 'onboardingSession'>const LAST_MESSAGE_PREVIEW_LENGTH = 2000;const TASK_CALLBACK_RESERVATION_TTL_MS = 5 * 60 * 1000;+/**+ * The device a topic runs on: the one its in-flight run was dispatched to,+ * else the one its turns are pinned to. The live dispatch wins because a run+ * does not always follow the pin — an `auto` target, an explicit request+ * device or a fixed workspace target can send it elsewhere. The `deviceId`+ * filter of `TopicModel.queryTopics` applies the same precedence in SQL.+ */+export const getTopicDeviceId = (+ metadata: Pick<ChatTopicMetadata, 'boundDeviceId' | 'runningOperation'> | null | undefined,+): string | undefined => metadata?.runningOperation?.deviceId ?? metadata?.boundDeviceId;+/*** Whether a turn start currently holds the topic's short start reservation.* A writer that changes where the topic runs must respect it as it would a@@ -1013,10 +1024,18 @@ export class TopicModel {* markdown, and a list only ever renders the head of it.*/queryTopics = async ({+ deviceId,statuses,pageSize = 200,withLastMessage,}: {+ /**+ * Only topics on this device — the one its in-flight run was dispatched to+ * (`metadata.runningOperation.deviceId`), else the one its turns are+ * pinned to (`metadata.boundDeviceId`). See {@link getTopicDeviceId},+ * which applies the same precedence in memory.+ */+ deviceId?: string;pageSize?: number;statuses?: string[];withLastMessage?: boolean;@@ -1043,6 +1062,9 @@ export class TopicModel {statuses && statuses.length > 0? inArray(topics.status, statuses as ChatTopicStatus[]): undefined,+ deviceId+ ? sql`COALESCE(${topics.metadata} -> 'runningOperation' ->> 'deviceId', ${topics.metadata} ->> 'boundDeviceId') = ${deviceId}`+ : undefined,);// `buildWorkspaceWhere` keeps a member's OWN private rows visible, which is@@ -1154,6 +1176,38 @@ export class TopicModel {}));};+ /**+ * Who started each topic's current run. Workspace topics are co-editable, so+ * the member running a topic now can differ from its creator (`topics.userId`);+ * the latest top-level running operation records the actual initiator — the+ * same row `runStartedAt` reads. Topics whose run never wrote an operation+ * row (client-executed runs) are absent; callers fall back to the creator.+ *+ * Not scoped by {@link ownership}: in a workspace the run may belong to+ * another member, and callers pass ids from an ownership-gated topic read.+ */+ findRunInitiators = async (topicIds: string[]): Promise<Map<string, string>> => {+ if (topicIds.length === 0) return new Map();++ const rows = await this.db+ .selectDistinctOn([agentOperations.topicId], {+ topicId: agentOperations.topicId,+ userId: agentOperations.userId,+ })+ .from(agentOperations)+ .where(+ and(+ inArray(agentOperations.topicId, topicIds),+ eq(agentOperations.status, 'running'),+ isNull(agentOperations.parentOperationId),+ isNotNull(agentOperations.startedAt),+ ),+ )+ .orderBy(agentOperations.topicId, desc(agentOperations.startedAt));++ return new Map(rows.flatMap((row) => (row.topicId ? [[row.topicId, row.userId]] : [])));+ };+/*** Recent topics from the same IM channel, most-recent first. Matches the* channel via the `metadata.bot.platformThreadId` path written at topicdiff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.tsindex 3fe5dea59be..c9e01e0faab 100644--- a/packages/locales/src/default/setting.ts+++ b/packages/locales/src/default/setting.ts@@ -659,6 +659,14 @@ export default {'devices.channel.connected': 'Connected {{time}}','devices.channel.unknown': 'Unknown client','devices.currentBadge': 'This device',+ 'devices.activity.boundAgents.empty': 'No agents are set to run on this device',+ 'devices.activity.boundAgents.open': 'Open agent',+ 'devices.activity.boundAgents.title': 'Bound agents',+ 'devices.activity.error': "Couldn't load this device's activity",+ 'devices.activity.loading': 'Loading…',+ 'devices.activity.runningTopics.empty': 'Nothing is running on this device right now',+ 'devices.activity.runningTopics.open': 'Open topic',+ 'devices.activity.runningTopics.title': 'Running topics','devices.agents.empty': 'No agents found on this device','devices.agents.error': 'Could not check this device: {{error}}','devices.agents.installed': 'Installed',@@ -707,6 +715,7 @@ export default {'devices.card.cpuUsage': 'CPU usage','devices.card.hostname': 'Hostname','devices.card.memoryUsage': 'Memory usage',+ 'devices.card.runningTopics': 'Running topics','devices.card.workingDir': 'Working directory','devices.connectWizard.button': 'Connect Device','devices.connectWizard.cli.connectDesc':diff --git a/packages/types/src/agent/item.ts b/packages/types/src/agent/item.tsindex d93f04b4a1d..130bc372fff 100644--- a/packages/types/src/agent/item.ts+++ b/packages/types/src/agent/item.ts@@ -24,6 +24,17 @@ export interface AgentRankItem {title: string | null;}+/** An agent whose execution is routed to a specific device — see the device detail page. */+export interface DeviceBoundAgentItem {+ avatar: string | null;+ backgroundColor: string | null;+ id: string;+ /** Personal name; resolve the label with `agentDisplayName(item, fallback)`. */+ name: string | null;+ title: string | null;+ visibility: 'private' | 'public';+}+export interface LobeAgentConfig {/*** Agency configuration: device binding, heterogeneous agent provider, etc.diff --git a/packages/types/src/device.ts b/packages/types/src/device.tsindex b78ed19fdaf..00cbf776069 100644--- a/packages/types/src/device.ts+++ b/packages/types/src/device.ts@@ -352,6 +352,15 @@ export interface DeviceEnroller {username: string | null;}+/** What a device is running right now, as the device list summarizes it. */+export interface DeviceRunningSummary {+ /** Running topics on the device the caller can see. */+ count: number;+ deviceId: string;+ /** Distinct members who started those runs, most recently active first. */+ users: DeviceEnroller[];+}+export interface DeviceListItem {architecture?: string | null;channels: DeviceChannel[];diff --git a/src/features/DeviceManager/DeviceActivity/RunningUsers.tsx b/src/features/DeviceManager/DeviceActivity/RunningUsers.tsxnew file mode 100644index 00000000000..5941fa0662f--- /dev/null+++ b/src/features/DeviceManager/DeviceActivity/RunningUsers.tsx@@ -0,0 +1,116 @@+'use client';++import { DEFAULT_USER_AVATAR_URL } from '@lobechat/const';+import type { DeviceEnroller } from '@lobechat/types';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { Avatar, Text } from '@lobehub/ui/base-ui';+import { createStaticStyles, cssVar } from 'antd-style';+import { TriangleAlertIcon } from 'lucide-react';+import { memo } from 'react';+import { useTranslation } from 'react-i18next';++import RunningGlyph from '@/features/Home/components/RunningGlyph';+import { useClientDataSWR } from '@/libs/swr';+import { deviceService } from '@/services/device';++/** Same cadence as the detail page, so a card and its detail agree on what is running. */+const REFRESH_INTERVAL_MS = 15_000;+/** Past this the stack turns into a smudge; the rest are counted instead. */+const MAX_STACKED = 4;++const styles = createStaticStyles(({ css }) => ({+ overflowCount: css`+ flex: none;+ margin-inline-start: 4px;+ font-size: 12px;+ color: ${cssVar.colorTextTertiary};+ `,+ stack: css`+ /* Overlap the stack so N members read as one cluster, not a toolbar. */+ > *:not(:first-child) {+ margin-inline-start: -6px;+ }+ `,+ // Ring in the card's own background so overlapping avatars stay separable.+ stacked: css`+ flex: none;+ box-shadow: 0 0 0 2px ${cssVar.colorBgContainer};+ `,+}));++const userName = (user: DeviceEnroller) => user.fullName || user.username || '';++/** The member who started a run, named on hover. */+export const RunUserAvatar = memo<{ className?: string; size?: number; user: DeviceEnroller }>(+ ({ className, size = 20, user }) => (+ <Tooltip title={userName(user)}>+ <Avatar+ avatar={user.avatar || DEFAULT_USER_AVATAR_URL}+ className={className}+ shape={'circle'}+ size={size}+ style={{ flex: 'none' }}+ />+ </Tooltip>+ ),+);++RunUserAvatar.displayName = 'RunUserAvatar';++/**+ * Running-topic counts for every device in the list, from one request. Keyed+ * per workspace by `useClientDataSWR`, like the device list itself.+ */+export const useDeviceRunningSummary = () =>+ useClientDataSWR(['device/runningSummary'], () => deviceService.getRunningSummary(), {+ focusThrottleInterval: 1000,+ refreshInterval: REFRESH_INTERVAL_MS,+ });++/**+ * How many topics a device is running and whose they are — the card-sized+ * answer to "is anyone using this machine right now?".+ */+export const DeviceRunningSummaryValue = memo<{ deviceId: string }>(({ deviceId }) => {+ const { t } = useTranslation('setting');+ const { data, error, isLoading } = useDeviceRunningSummary();++ if (isLoading) return <Text type={'secondary'}>…</Text>;+ // A failed read must not pass for an idle machine — "—" means nothing runs.+ if (error && !data)+ return (+ <Tooltip title={t('devices.activity.error')}>+ <Icon+ aria-label={t('devices.activity.error')}+ color={cssVar.colorWarning}+ icon={TriangleAlertIcon}+ size={14}+ />+ </Tooltip>+ );++ const summary = data?.find((entry) => entry.deviceId === deviceId);+ if (!summary || summary.count === 0) return <Text type={'secondary'}>—</Text>;++ // A server that predates per-user attribution sends no `users`.+ const users = summary.users ?? [];+ const shown = users.slice(0, MAX_STACKED);+ const overflow = users.length - shown.length;++ return (+ <Flexbox horizontal align={'center'} gap={8} style={{ minWidth: 0 }}>+ <RunningGlyph size={14} />+ <Text fontSize={13} style={{ flex: 'none' }}>+ {summary.count}+ </Text>+ <Flexbox horizontal align={'center'} className={styles.stack}>+ {shown.map((user) => (+ <RunUserAvatar className={styles.stacked} key={user.userId} size={18} user={user} />+ ))}+ {overflow > 0 && <span className={styles.overflowCount}>+{overflow}</span>}+ </Flexbox>+ </Flexbox>+ );+});++DeviceRunningSummaryValue.displayName = 'DeviceRunningSummaryValue';diff --git a/src/features/DeviceManager/DeviceActivity/index.tsx b/src/features/DeviceManager/DeviceActivity/index.tsxnew file mode 100644index 00000000000..ee8b61b426d--- /dev/null+++ b/src/features/DeviceManager/DeviceActivity/index.tsx@@ -0,0 +1,184 @@+'use client';++import { AGENT_CHAT_URL } from '@lobechat/const';+import { agentDisplayName, type DeviceBoundAgentItem } from '@lobechat/types';+import { Flexbox, Icon } from '@lobehub/ui';+import { ActionIcon, Avatar, Tag, Text } from '@lobehub/ui/base-ui';+import { createStaticStyles, cssVar } from 'antd-style';+import { ArrowUpRightIcon, LockIcon } from 'lucide-react';+import { memo } from 'react';+import { useTranslation } from 'react-i18next';++import RunningGlyph from '@/features/Home/components/RunningGlyph';+import TopicRow, { getTopicChatUrl } from '@/features/HomeInbox/TopicRow';+import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';+import { useClientDataSWR } from '@/libs/swr';+import { type DeviceRunningTopic, deviceService } from '@/services/device';++import { RunUserAvatar } from './RunningUsers';++/** Runs start and finish on their own, so keep the list close to live while the page is open. */+const REFRESH_INTERVAL_MS = 15_000;++const styles = createStaticStyles(({ css }) => ({+ agentRow: css`+ cursor: pointer;++ padding-block: 8px;+ padding-inline: 10px;+ border-radius: ${cssVar.borderRadius};++ transition: background ${cssVar.motionDurationFast};++ &:hover {+ background: ${cssVar.colorFillQuaternary};+ }+ `,+ list: css`+ padding: 6px;+ `,+ placeholder: css`+ padding-block: 14px;+ padding-inline: 16px;+ `,+}));++/**+ * One request backs both cards; SWR dedupes the second caller, so the running+ * topics and the bound agents always come from the same snapshot.+ */+export const useDeviceActivity = (deviceId: string) =>+ useClientDataSWR(+ ['device/activity', deviceId],+ () => deviceService.getDeviceActivity({ deviceId }),+ { focusThrottleInterval: 1000, refreshInterval: REFRESH_INTERVAL_MS },+ );++const Placeholder = ({ children }: { children: string }) => (+ <Text className={styles.placeholder} fontSize={13} type={'secondary'}>+ {children}+ </Text>+);++/**+ * The row itself opens the topic too, but a whole-row click is easy to miss;+ * the explicit button makes "jump to this run" visible at a glance.+ */+const OpenTopicButton = memo<{ topic: DeviceRunningTopic }>(({ topic }) => {+ const { t } = useTranslation('setting');+ const navigate = useWorkspaceAwareNavigate();+ const url = getTopicChatUrl(topic);+ if (!url) return null;++ return (+ <ActionIcon+ aria-label={t('devices.activity.runningTopics.open')}+ icon={ArrowUpRightIcon}+ size={'small'}+ title={t('devices.activity.runningTopics.open')}+ onClick={(e) => {+ // The row navigates on click as well; open once.+ e.stopPropagation();+ navigate(url);+ }}+ />+ );+});++OpenTopicButton.displayName = 'OpenTopicButton';++/**+ * Conversations whose turns are executing on this machine right now, each+ * with the member who started it — a shared device runs teammates' work too.+ */+export const RunningTopicList = memo<{ deviceId: string }>(({ deviceId }) => {+ const { t } = useTranslation('setting');+ const { data, error, isLoading } = useDeviceActivity(deviceId);++ if (isLoading) return <Placeholder>{t('devices.activity.loading')}</Placeholder>;+ if (error && !data) return <Placeholder>{t('devices.activity.error')}</Placeholder>;++ const topics = data?.runningTopics ?? [];+ if (topics.length === 0)+ return <Placeholder>{t('devices.activity.runningTopics.empty')}</Placeholder>;++ return (+ <Flexbox className={styles.list}>+ {topics.map((topic) => (+ <TopicRow+ action={<OpenTopicButton topic={topic} />}+ key={topic.id}+ leading={<RunningGlyph size={14} />}+ topic={topic}+ trailing={topic.user ? <RunUserAvatar user={topic.user} /> : undefined}+ />+ ))}+ </Flexbox>+ );+});++RunningTopicList.displayName = 'RunningTopicList';++const BoundAgentRow = memo<{ agent: DeviceBoundAgentItem }>(({ agent }) => {+ const { t } = useTranslation('setting');+ const navigate = useWorkspaceAwareNavigate();+ const name = agentDisplayName(agent, t('untitledAgent', { ns: 'chat' }));+ const open = () => navigate(AGENT_CHAT_URL(agent.id));++ return (+ <Flexbox horizontal align={'center'} className={styles.agentRow} gap={10} onClick={open}>+ <Avatar+ avatar={agent.avatar ?? undefined}+ background={agent.backgroundColor ?? undefined}+ shape={'circle'}+ size={22}+ style={{ flex: 'none' }}+ title={name}+ />+ <Text ellipsis fontSize={13} style={{ flex: 1, minWidth: 0 }}>+ {name}+ </Text>+ {agent.visibility === 'private' && (+ <Tag icon={<Icon icon={LockIcon} />} size={'small'}>+ {t('devices.visibilityTabs.private')}+ </Tag>+ )}+ <ActionIcon+ aria-label={t('devices.activity.boundAgents.open')}+ icon={ArrowUpRightIcon}+ size={'small'}+ title={t('devices.activity.boundAgents.open')}+ onClick={(e) => {+ // The row navigates on click as well; open once.+ e.stopPropagation();+ open();+ }}+ />+ </Flexbox>+ );+});++BoundAgentRow.displayName = 'BoundAgentRow';++/** Agents whose execution is routed to this device. */+export const BoundAgentList = memo<{ deviceId: string }>(({ deviceId }) => {+ const { t } = useTranslation('setting');+ const { data, error, isLoading } = useDeviceActivity(deviceId);++ if (isLoading) return <Placeholder>{t('devices.activity.loading')}</Placeholder>;+ if (error && !data) return <Placeholder>{t('devices.activity.error')}</Placeholder>;++ const agents = data?.agents ?? [];+ if (agents.length === 0)+ return <Placeholder>{t('devices.activity.boundAgents.empty')}</Placeholder>;++ return (+ <Flexbox className={styles.list}>+ {agents.map((agent) => (+ <BoundAgentRow agent={agent} key={agent.id} />+ ))}+ </Flexbox>+ );+});++BoundAgentList.displayName = 'BoundAgentList';diff --git a/src/features/DeviceManager/DeviceCard.tsx b/src/features/DeviceManager/DeviceCard.tsxindex 8239bc5e705..48c67610d20 100644--- a/src/features/DeviceManager/DeviceCard.tsx+++ b/src/features/DeviceManager/DeviceCard.tsx@@ -23,6 +23,7 @@ import { useUserStore } from '@/store/user';import { userProfileSelectors } from '@/store/user/selectors';import { refreshDeviceList } from './const';+import { DeviceRunningSummaryValue } from './DeviceActivity/RunningUsers';import { buildHealthTimeline } from './DeviceHealth/buildHealthTimeline';import { useDeviceMetricSeries } from './DeviceHealth/shared';import UsageMeter, { UsageMeterGroup } from './DeviceHealth/UsageMeter';@@ -365,11 +366,9 @@ const DeviceCard = memo<DeviceCardProps>(({ device, isCurrent, onOpen }) => {</Flexbox><Flexbox gap={4} style={{ minWidth: 0 }}><Text fontSize={13} type={'secondary'}>- {t('devices.card.workingDir')}+ {t('devices.card.runningTopics')}</Text>- <span className={styles.code} title={device.defaultCwd ?? undefined}>- {device.defaultCwd || '—'}- </span>+ <DeviceRunningSummaryValue deviceId={device.deviceId} /></Flexbox></div>diff --git a/src/features/DeviceManager/DeviceOverview.tsx b/src/features/DeviceManager/DeviceOverview.tsxindex ee49366e982..09da7f11296 100644--- a/src/features/DeviceManager/DeviceOverview.tsx+++ b/src/features/DeviceManager/DeviceOverview.tsx@@ -7,6 +7,7 @@ import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import {ActivityIcon,+ BotIcon,CableIcon,CalendarClockIcon,CpuIcon,@@ -17,6 +18,7 @@ import {type LucideIcon,MemoryStickIcon,MonitorIcon,+ PlayIcon,PowerIcon,ServerCogIcon,ServerIcon,@@ -32,6 +34,7 @@ import { formatSize } from '@/utils/format';import Connections from './Connections';import { refreshDeviceList } from './const';+import { BoundAgentList, RunningTopicList } from './DeviceActivity';import DeviceHealth, { HealthLegend } from './DeviceHealth';import { buildHealthTimeline } from './DeviceHealth/buildHealthTimeline';import { formatPercent, usageLevel } from './DeviceHealth/format';@@ -337,6 +340,21 @@ const DeviceOverview = ({ canOperate, device }: DeviceOverviewProps) => {</DetailCard></div>+ {/* What the machine is doing for agents — the first thing to check+ before restarting, updating or unsharing it. */}+ <div className={styles.infoGrid}>+ <DetailCard+ icon={PlayIcon}+ padded={false}+ title={t('devices.activity.runningTopics.title')}+ >+ <RunningTopicList deviceId={device.deviceId} />+ </DetailCard>+ <DetailCard icon={BotIcon} padded={false} title={t('devices.activity.boundAgents.title')}>+ <BoundAgentList deviceId={device.deviceId} />+ </DetailCard>+ </div>+<div className={styles.statGrid}><StatCarddetail={cores ? t('devices.detail.cores', { count: cores }) : undefined}diff --git a/src/features/HomeInbox/TopicRow.test.ts b/src/features/HomeInbox/TopicRow.test.tsnew file mode 100644index 00000000000..6984318de6d--- /dev/null+++ b/src/features/HomeInbox/TopicRow.test.ts@@ -0,0 +1,21 @@+import { describe, expect, it } from 'vitest';++import { getTopicChatUrl } from './TopicRow';++describe('getTopicChatUrl', () => {+ it('opens an agent topic in its agent chat', () => {+ expect(getTopicChatUrl({ agentId: 'agt_1', groupId: null, id: 'tpc_1' })).toBe(+ '/agent/agt_1/tpc_1',+ );+ });++ it('opens a group topic, which has no agent, in its group chat', () => {+ expect(getTopicChatUrl({ agentId: null, groupId: 'grp_1', id: 'tpc_1' })).toBe(+ '/group/grp_1/tpc_1',+ );+ });++ it('has nowhere to go without an agent or a group', () => {+ expect(getTopicChatUrl({ agentId: null, groupId: null, id: 'tpc_1' })).toBeUndefined();+ });+});diff --git a/src/features/HomeInbox/TopicRow.tsx b/src/features/HomeInbox/TopicRow.tsxindex a42a98c6e13..523d07c6a69 100644--- a/src/features/HomeInbox/TopicRow.tsx+++ b/src/features/HomeInbox/TopicRow.tsx@@ -1,4 +1,4 @@-import { AGENT_CHAT_TOPIC_URL } from '@lobechat/const';+import { AGENT_CHAT_TOPIC_URL, GROUP_CHAT_TOPIC_URL } from '@lobechat/const';import { agentDisplayName } from '@lobechat/types';import { Flexbox } from '@lobehub/ui';import { Avatar, Text } from '@lobehub/ui/base-ui';@@ -28,20 +28,34 @@ const styles = createStaticStyles(({ css, cssVar }) => ({`,}));+/**+ * Where a topic opens: its agent's chat, or its group's chat for a group+ * conversation (which carries no `agentId`). Undefined when it has neither.+ */+export const getTopicChatUrl = (+ topic: Pick<InboxTopic, 'agentId' | 'groupId' | 'id'>,+): string | undefined => {+ if (topic.agentId) return AGENT_CHAT_TOPIC_URL(topic.agentId, topic.id);+ if (topic.groupId) return GROUP_CHAT_TOPIC_URL(topic.groupId, topic.id);+ return undefined;+};+interface TopicRowProps {+ /** Rendered last, after the time — e.g. an explicit "open" button. */+ action?: ReactNode;/** Status glyph or live spinner — supplied by the caller so a running row can spin. */leading: ReactNode;topic: InboxTopic;trailing?: ReactNode;}-const TopicRow = memo<TopicRowProps>(({ topic, leading, trailing }) => {+const TopicRow = memo<TopicRowProps>(({ action, topic, leading, trailing }) => {const navigate = useWorkspaceAwareNavigate();const agent = useAgentDisplayMeta(topic.agentId);const open = () => {- if (!topic.agentId) return;- navigate(AGENT_CHAT_TOPIC_URL(topic.agentId, topic.id));+ const url = getTopicChatUrl(topic);+ if (url) navigate(url);};return (@@ -67,6 +81,7 @@ const TopicRow = memo<TopicRowProps>(({ topic, leading, trailing }) => {<Timedate={resolveTopicTriggerTime(topic.runStartedAt, topic.updatedAt ?? topic.createdAt)}/>+ {action}</Flexbox>);});diff --git a/src/services/device.ts b/src/services/device.tsindex a81e1299f8a..ce9d9c195be 100644--- a/src/services/device.ts+++ b/src/services/device.ts@@ -1,7 +1,15 @@+import type { DeviceBoundAgentItem, DeviceEnroller, DeviceRunningSummary } from '@lobechat/types';+import { lambdaClient } from '@/libs/trpc/client';+import { type TopicListItem } from '@/services/topic';type DeviceClient = typeof lambdaClient.device;+/** A running topic on a device, with the member who started it. */+export interface DeviceRunningTopic extends TopicListItem {+ user: DeviceEnroller | null;+}+/*** Single chokepoint for the `device` TRPC router. Components, hooks and stores* should call this instead of reaching into `lambdaClient.device.*` directly.@@ -51,6 +59,20 @@ class DeviceService {return lambdaClient.device.scanAgents.query(input);}+ /** Topics running on a device right now, and the agents routed to it. */+ getDeviceActivity(+ input: Parameters<DeviceClient['getDeviceActivity']['query']>[0],+ ): Promise<{ agents: DeviceBoundAgentItem[]; runningTopics: DeviceRunningTopic[] }> {+ // Same row shape `topicService.queryTopics` serves; its DB-side type differs+ // only in how timestamps are declared.+ return lambdaClient.device.getDeviceActivity.query(input) as any;+ }++ /** Running-topic count and the members behind it, for every device in the list. */+ getRunningSummary(): Promise<DeviceRunningSummary[]> {+ return lambdaClient.device.getRunningSummary.query();+ }+/** Live tunnel links, optionally narrowed to one device. */listTunnels(input?: Parameters<DeviceClient['listTunnels']['query']>[0]) {return lambdaClient.device.listTunnels.query(input);diff --git a/src/services/topic/index.ts b/src/services/topic/index.tsindex 89e372fd566..79c941375d8 100644--- a/src/services/topic/index.ts+++ b/src/services/topic/index.ts@@ -24,6 +24,8 @@ import {*/export interface TopicListItem extends ChatTopic {agentId?: string | null;+ /** Owning chat group, for a group conversation (which has no `agentId`). */+ groupId?: string | null;lastAssistantMessage?: string | null;/*** Visibility of the owning agent/group. `'private'` conversations stay out of