🤯 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
🐛 fix: workspace related problems (#15928)
Rdmclin22d897cea735e
diff --git a/apps/desktop/pnpm-workspace.yaml b/apps/desktop/pnpm-workspace.yamlindex 03c36705ae4..5e4edc4cf4a 100644--- a/apps/desktop/pnpm-workspace.yaml+++ b/apps/desktop/pnpm-workspace.yaml@@ -17,3 +17,9 @@ packages:- './stubs/business-const'- './stubs/types'- '.'+allowBuilds:+ electron: set this to true or false+ electron-winstaller: set this to true or false+ esbuild: set this to true or false+ get-windows: set this to true or false+ node-mac-permissions: set this to true or falsediff --git a/apps/server/src/routers/lambda/__tests__/agent.test.ts b/apps/server/src/routers/lambda/__tests__/agent.test.tsindex 1ff500eb609..24ca33e1cb9 100644--- a/apps/server/src/routers/lambda/__tests__/agent.test.ts+++ b/apps/server/src/routers/lambda/__tests__/agent.test.ts@@ -393,6 +393,7 @@ describe('agentRouter', () => {expiresAt: new Date(),holderId: userId,lockedByOther: false,+ ownerId: null,});const caller = agentRouter.createCaller(wsCtx());@@ -410,6 +411,7 @@ describe('agentRouter', () => {expiresAt: new Date(),holderId: userId,lockedByOther: false,+ ownerId: null,});const caller = agentRouter.createCaller(wsCtx());diff --git a/apps/server/src/routers/lambda/__tests__/agentGroup.test.ts b/apps/server/src/routers/lambda/__tests__/agentGroup.test.tsindex ce9b9b15a99..d40d088e8e7 100644--- a/apps/server/src/routers/lambda/__tests__/agentGroup.test.ts+++ b/apps/server/src/routers/lambda/__tests__/agentGroup.test.ts@@ -500,6 +500,7 @@ describe('agentGroupRouter', () => {expiresAt: new Date(),holderId: userId,lockedByOther: false,+ ownerId: null,});const caller = agentGroupRouter.createCaller(wsCtx());@@ -517,6 +518,7 @@ describe('agentGroupRouter', () => {expiresAt: new Date(),holderId: userId,lockedByOther: false,+ ownerId: null,});const caller = agentGroupRouter.createCaller(wsCtx());diff --git a/apps/server/src/routers/lambda/_schema/documentHistory.ts b/apps/server/src/routers/lambda/_schema/documentHistory.tsindex 900466d7558..1d2e4691021 100644--- a/apps/server/src/routers/lambda/_schema/documentHistory.ts+++ b/apps/server/src/routers/lambda/_schema/documentHistory.ts@@ -41,6 +41,7 @@ export const updateDocumentInputSchema = z.object({editorData: z.string().optional(),fileType: z.string().optional(),id: z.string(),+ lockOwnerId: z.string().optional(),metadata: z.record(z.any()).optional(),parentId: z.string().nullable().optional(),restoreFromHistoryId: z.string().optional(),@@ -51,6 +52,7 @@ export const updateDocumentInputSchema = z.object({export const saveDocumentHistoryInputSchema = z.object({documentId: z.string(),editorData: z.string(),+ lockOwnerId: z.string().optional(),saveSource: documentHistorySaveSourceSchema,});@@ -98,6 +100,8 @@ export interface UpdateDocumentOutput {export interface SaveDocumentHistoryInput {documentId: string;editorData: string;+ /** Edit-session id proving the client still holds the workspace page lease. */+ lockOwnerId?: string;saveSource: DocumentHistorySaveSource;}@@ -130,6 +134,7 @@ export interface UpdateDocumentInput {editorData?: string;fileType?: string;id: string;+ lockOwnerId?: string;metadata?: Record<string, any>;parentId?: string | null;restoreFromHistoryId?: string;diff --git a/apps/server/src/routers/lambda/document.ts b/apps/server/src/routers/lambda/document.tsindex 5c0abda3a4d..a77d7f47b9e 100644--- a/apps/server/src/routers/lambda/document.ts+++ b/apps/server/src/routers/lambda/document.ts@@ -183,6 +183,7 @@ export const documentRouter = router({input.documentId,editorData,input.saveSource,+ input.lockOwnerId,);}),@@ -255,23 +256,27 @@ export const documentRouter = router({acquireDocumentLock: documentProcedure.use(withScopedPermission('document:update'))- .input(z.object({ id: z.string() }))+ .input(z.object({ id: z.string(), ownerId: z.string().optional() })).mutation(async ({ ctx, input }) => {- return ctx.documentService.acquireDocumentLock(input.id);+ return input.ownerId+ ? ctx.documentService.acquireDocumentLockWithOwner(input.id, input.ownerId)+ : ctx.documentService.acquireDocumentLock(input.id);}),getDocumentLock: documentProcedure.use(withScopedPermission('document:update'))- .input(z.object({ id: z.string() }))+ .input(z.object({ id: z.string(), ownerId: z.string().optional() })).query(async ({ ctx, input }) => {- return ctx.documentService.getDocumentLock(input.id);+ return ctx.documentService.getDocumentLock(input.id, input.ownerId);}),releaseDocumentLock: documentProcedure.use(withScopedPermission('document:update'))- .input(z.object({ id: z.string() }))+ .input(z.object({ id: z.string(), ownerId: z.string().optional() })).mutation(async ({ ctx, input }) => {- await ctx.documentService.releaseDocumentLock(input.id);+ if (input.ownerId)+ await ctx.documentService.releaseDocumentLockWithOwner(input.id, input.ownerId);+ else await ctx.documentService.releaseDocumentLock(input.id);}),updateDocument: documentProcedurediff --git a/apps/server/src/services/document/__tests__/index.test.ts b/apps/server/src/services/document/__tests__/index.test.tsindex d784a44e783..f651bb3c08b 100644--- a/apps/server/src/services/document/__tests__/index.test.ts+++ b/apps/server/src/services/document/__tests__/index.test.ts@@ -806,7 +806,7 @@ describe('DocumentService', () => {it('should reject a workspace save when another member holds the edit lock', async () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');mockDocumentModel.findById.mockResolvedValue(createCurrentDocument({ workspaceId: 'ws-1' }));- vi.spyOn(EditLockService.prototype, 'getBlockingHolder').mockResolvedValue('other-user');+ vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(false);await expect(wsService.updateDocument('doc-1', { content: 'x' })).rejects.toMatchObject({code: 'CONFLICT',@@ -818,13 +818,25 @@ describe('DocumentService', () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');mockDocumentModel.update.mockResolvedValue({ id: 'doc-1' });mockDocumentModel.findById.mockResolvedValue(createCurrentDocument({ workspaceId: 'ws-1' }));- vi.spyOn(EditLockService.prototype, 'getBlockingHolder').mockResolvedValue(null);+ vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(true);await wsService.updateDocument('doc-1', { content: 'x' });expect(mockDocumentModel.update).toHaveBeenCalled();});+ it('checks workspace body saves against the provided lock owner id', async () => {+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ mockDocumentModel.update.mockResolvedValue({ id: 'doc-1' });+ mockDocumentModel.findById.mockResolvedValue(createCurrentDocument({ workspaceId: 'ws-1' }));+ const guardSpy = vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(true);++ await wsService.updateDocument('doc-1', { content: 'x', lockOwnerId: 'owner-1' });++ expect(guardSpy).toHaveBeenCalledWith('document', 'doc-1', 'owner-1');+ expect(mockDocumentModel.update).toHaveBeenCalled();+ });+it('allows a metadata-only save while another member holds the lock (only the body is locked)', async () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');mockDocumentModel.update.mockResolvedValue({ id: 'doc-1' });@@ -832,7 +844,7 @@ describe('DocumentService', () => {mockDocumentModel.findById.mockResolvedValue(createCurrentDocument({ content: 'body', editorData: { blocks: [] }, workspaceId: 'ws-1' }),);- const guardSpy = vi.spyOn(EditLockService.prototype, 'getBlockingHolder');+ const guardSpy = vi.spyOn(EditLockService.prototype, 'canWrite');await wsService.updateDocument('doc-1', {content: 'body',@@ -853,7 +865,7 @@ describe('DocumentService', () => {mockDocumentModel.findById.mockResolvedValue(createCurrentDocument({ editorData: { blocks: [] }, workspaceId: 'ws-1' }),);- vi.spyOn(EditLockService.prototype, 'getBlockingHolder').mockResolvedValue('other-user');+ vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(false);// editorData changed (historyAppended) → guard runs even with no `content`.await expect(@@ -863,13 +875,151 @@ describe('DocumentService', () => {});});+ describe('runWithDocumentLock', () => {+ it('runs the callback without touching the lock for personal documents', async () => {+ const acquireSpy = vi.spyOn(EditLockService.prototype, 'acquire');+ const releaseSpy = vi.spyOn(EditLockService.prototype, 'release');+ const fn = vi.fn().mockResolvedValue('ok');++ const result = await service.runWithDocumentLock('doc-1', fn);++ expect(result).toBe('ok');+ expect(fn).toHaveBeenCalledTimes(1);+ expect(acquireSpy).not.toHaveBeenCalled();+ expect(releaseSpy).not.toHaveBeenCalled();+ });++ it('acquires a free lock, runs the callback, then releases it', async () => {+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue(undefined);+ vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({+ expiresAt: new Date(),+ holderId: userId,+ lockedByOther: false,+ ownerId: 'server-owner',+ });+ const releaseSpy = vi.spyOn(EditLockService.prototype, 'release').mockResolvedValue(true);+ const fn = vi.fn().mockResolvedValue('written');++ const result = await wsService.runWithDocumentLock('doc-1', fn);++ expect(result).toBe('written');+ expect(fn).toHaveBeenCalledTimes(1);+ expect(releaseSpy).toHaveBeenCalledWith(+ 'document',+ 'doc-1',+ expect.stringMatching(/^server:/),+ );+ });++ it('rejects when the same user already holds the lease in another edit session', async () => {+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue({+ expiresAt: new Date(),+ ownerId: 'page-owner',+ userId,+ });+ vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({+ expiresAt: new Date(),+ holderId: userId,+ lockedByOther: true,+ ownerId: 'page-owner',+ });+ const releaseSpy = vi.spyOn(EditLockService.prototype, 'release');+ const fn = vi.fn();++ await expect(wsService.runWithDocumentLock('doc-1', fn)).rejects.toMatchObject({+ code: 'CONFLICT',+ });++ expect(fn).not.toHaveBeenCalled();+ expect(releaseSpy).not.toHaveBeenCalled();+ });++ it('rejects with CONFLICT and skips the callback when another member holds the lock', async () => {+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue({+ expiresAt: new Date(),+ ownerId: 'other-owner',+ userId: 'other-user',+ });+ vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({+ expiresAt: new Date(),+ holderId: 'other-user',+ lockedByOther: true,+ ownerId: 'other-owner',+ });+ const releaseSpy = vi.spyOn(EditLockService.prototype, 'release');+ const fn = vi.fn();++ await expect(wsService.runWithDocumentLock('doc-1', fn)).rejects.toMatchObject({+ code: 'CONFLICT',+ });+ expect(fn).not.toHaveBeenCalled();+ expect(releaseSpy).not.toHaveBeenCalled();+ });++ it('still releases a freshly-claimed lock when the callback throws', async () => {+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue(undefined);+ vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({+ expiresAt: new Date(),+ holderId: userId,+ lockedByOther: false,+ ownerId: 'server-owner',+ });+ const releaseSpy = vi.spyOn(EditLockService.prototype, 'release').mockResolvedValue(true);+ const fn = vi.fn().mockRejectedValue(new Error('boom'));++ await expect(wsService.runWithDocumentLock('doc-1', fn)).rejects.toThrow('boom');+ expect(releaseSpy).toHaveBeenCalledWith(+ 'document',+ 'doc-1',+ expect.stringMatching(/^server:/),+ );+ });++ it('rides along on the user existing lease and skips release', async () => {+ // The user's live editor already holds the lock. The server run must+ // refresh under the user's ownerId — not mint a fresh one and release+ // afterwards — or the editor's next save would be rejected by the+ // owner-scoped guard, and another collaborator could grab the gap.+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue({+ expiresAt: new Date(),+ ownerId: 'user-tab-A',+ userId,+ });+ const acquireSpy = vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({+ expiresAt: new Date(),+ holderId: userId,+ lockedByOther: false,+ ownerId: 'user-tab-A',+ });+ const releaseSpy = vi.spyOn(EditLockService.prototype, 'release');+ const fn = vi.fn().mockResolvedValue('written');++ const result = await wsService.runWithDocumentLock('doc-1', fn);++ expect(result).toBe('written');+ expect(fn).toHaveBeenCalledTimes(1);+ expect(acquireSpy).toHaveBeenCalledWith('document', 'doc-1', 'user-tab-A');+ expect(releaseSpy).not.toHaveBeenCalled();+ });+ });+describe('document edit lock', () => {it('reports unlocked for personal documents without touching the lock service', async () => {const acquireSpy = vi.spyOn(EditLockService.prototype, 'acquire');const result = await service.acquireDocumentLock('doc-1');- expect(result).toEqual({ expiresAt: null, holderId: null, lockedByOther: false });+ expect(result).toEqual({+ expiresAt: null,+ holderId: null,+ lockedByOther: false,+ ownerId: null,+ });expect(acquireSpy).not.toHaveBeenCalled();});@@ -878,12 +1028,17 @@ describe('DocumentService', () => {const expiresAt = new Date(Date.now() + 60_000);const acquireSpy = vi.spyOn(EditLockService.prototype, 'acquire')- .mockResolvedValue({ expiresAt, holderId: userId, lockedByOther: false });+ .mockResolvedValue({ expiresAt, holderId: userId, lockedByOther: false, ownerId: userId });const result = await wsService.acquireDocumentLock('doc-1');- expect(acquireSpy).toHaveBeenCalledWith('document', 'doc-1');- expect(result).toEqual({ expiresAt, holderId: userId, lockedByOther: false });+ expect(acquireSpy).toHaveBeenCalledWith('document', 'doc-1', userId);+ expect(result).toEqual({+ expiresAt,+ holderId: userId,+ lockedByOther: false,+ ownerId: userId,+ });});it('reports another member as holder when the lock is taken', async () => {@@ -893,11 +1048,17 @@ describe('DocumentService', () => {expiresAt,holderId: 'other-user',lockedByOther: true,+ ownerId: 'other-owner',});const result = await wsService.acquireDocumentLock('doc-1');- expect(result).toEqual({ expiresAt, holderId: 'other-user', lockedByOther: true });+ expect(result).toEqual({+ expiresAt,+ holderId: 'other-user',+ lockedByOther: true,+ ownerId: 'other-owner',+ });});it('releaseDocumentLock is a no-op for personal documents', async () => {@@ -910,33 +1071,42 @@ describe('DocumentService', () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');const releaseSpy = vi.spyOn(EditLockService.prototype, 'release').mockResolvedValue(true);await wsService.releaseDocumentLock('doc-1');- expect(releaseSpy).toHaveBeenCalledWith('document', 'doc-1');+ expect(releaseSpy).toHaveBeenCalledWith('document', 'doc-1', userId);});it('acquireDocumentLock broadcasts lock.changed on a holder edge (first claim)', async () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');- vi.spyOn(EditLockService.prototype, 'getActiveHolder').mockResolvedValue(undefined);+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue(undefined);vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({expiresAt: new Date(),holderId: userId,lockedByOther: false,+ ownerId: userId,});await wsService.acquireDocumentLock('doc-1');expect(publishResourceEventMock).toHaveBeenCalledWith({ id: 'doc-1', type: 'document' },- expect.objectContaining({ data: { holderId: userId }, type: 'lock.changed' }),+ expect.objectContaining({+ data: expect.objectContaining({ holderId: userId, ownerId: userId }),+ type: 'lock.changed',+ }),);});it('acquireDocumentLock does NOT broadcast on a steady-state heartbeat (same holder)', async () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');- vi.spyOn(EditLockService.prototype, 'getActiveHolder').mockResolvedValue(userId);+ vi.spyOn(EditLockService.prototype, 'getActiveLock').mockResolvedValue({+ expiresAt: new Date(),+ ownerId: userId,+ userId,+ });vi.spyOn(EditLockService.prototype, 'acquire').mockResolvedValue({expiresAt: new Date(),holderId: userId,lockedByOther: false,+ ownerId: userId,});await wsService.acquireDocumentLock('doc-1');@@ -952,7 +1122,10 @@ describe('DocumentService', () => {expect(publishResourceEventMock).toHaveBeenCalledWith({ id: 'doc-1', type: 'document' },- expect.objectContaining({ data: { holderId: null }, type: 'lock.changed' }),+ expect.objectContaining({+ data: expect.objectContaining({ holderId: null, ownerId: null }),+ type: 'lock.changed',+ }),);});@@ -1010,7 +1183,7 @@ describe('DocumentService', () => {it('does not check the lock for personal documents', async () => {mockDocumentModel.findById.mockResolvedValue({ id: 'doc-1', editorData: { blocks: [] } });- const guardSpy = vi.spyOn(EditLockService.prototype, 'getBlockingHolder');+ const guardSpy = vi.spyOn(EditLockService.prototype, 'canWrite');await service.saveDocumentHistory('doc-1', { blocks: [] }, 'llm_call');@@ -1021,7 +1194,7 @@ describe('DocumentService', () => {it('rejects a workspace history snapshot when another member holds the lock', async () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');mockDocumentModel.findById.mockResolvedValue({ id: 'doc-1', editorData: { blocks: [] } });- vi.spyOn(EditLockService.prototype, 'getBlockingHolder').mockResolvedValue('other-user');+ vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(false);await expect(wsService.saveDocumentHistory('doc-1', { blocks: [] }, 'llm_call'),@@ -1032,12 +1205,22 @@ describe('DocumentService', () => {it('allows a workspace history snapshot when no other member holds the lock', async () => {const wsService = new DocumentService(mockDb, userId, 'ws-1');mockDocumentModel.findById.mockResolvedValue({ id: 'doc-1', editorData: { blocks: [] } });- vi.spyOn(EditLockService.prototype, 'getBlockingHolder').mockResolvedValue(null);+ vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(true);await wsService.saveDocumentHistory('doc-1', { blocks: [] }, 'llm_call');expect(mockDocumentHistoryService.createHistory).toHaveBeenCalled();});++ it('forwards the lock owner so the holder can snapshot its own page', async () => {+ const wsService = new DocumentService(mockDb, userId, 'ws-1');+ mockDocumentModel.findById.mockResolvedValue({ id: 'doc-1', editorData: { blocks: [] } });+ const guardSpy = vi.spyOn(EditLockService.prototype, 'canWrite').mockResolvedValue(true);++ await wsService.saveDocumentHistory('doc-1', { blocks: [] }, 'llm_call', 'page-owner-1');++ expect(guardSpy).toHaveBeenCalledWith('document', 'doc-1', 'page-owner-1');+ });});describe('trySaveCurrentDocumentHistory', () => {diff --git a/apps/server/src/services/document/index.ts b/apps/server/src/services/document/index.tsindex b23da202000..c8b57ee0c9e 100644--- a/apps/server/src/services/document/index.ts+++ b/apps/server/src/services/document/index.ts@@ -1,3 +1,5 @@+import { randomUUID } from 'node:crypto';+import { CUSTOM_DOCUMENT_FILE_TYPE, CUSTOM_FOLDER_FILE_TYPE } from '@lobechat/const';import { type LobeChatDatabase } from '@lobechat/database';import { type DocumentItem } from '@lobechat/database/schemas';@@ -216,18 +218,34 @@ export class DocumentService {* always report as unlocked.*/async acquireDocumentLock(id: string): Promise<DocumentLockResult> {- if (!this.workspaceId) return { expiresAt: null, holderId: null, lockedByOther: false };+ return this.acquireDocumentLockWithOwner(id, this.userId);+ }++ async acquireDocumentLockWithOwner(id: string, ownerId: string): Promise<DocumentLockResult> {+ if (!this.workspaceId)+ return { expiresAt: null, holderId: null, lockedByOther: false, ownerId: null };- const prevHolder = await this.editLockService.getActiveHolder('document', id);- const result = await this.editLockService.acquire('document', id);+ const prevHolder = await this.editLockService.getActiveLock('document', id);+ const result = await this.editLockService.acquire('document', id, ownerId);// Broadcast only on a holder edge (first claim / takeover). This method also// serves the periodic heartbeat, so a steady-state refresh (same holder)// must not emit an event.- if ((result.holderId ?? null) !== (prevHolder ?? null)) {+ if (+ (result.holderId ?? null) !== (prevHolder?.userId ?? null) ||+ (result.ownerId ?? null) !== (prevHolder?.ownerId ?? null)+ ) {void publishResourceEvent({ id, type: 'document' },- { actorId: this.userId, data: { holderId: result.holderId }, type: 'lock.changed' },+ {+ actorId: this.userId,+ data: {+ expiresAt: result.expiresAt?.toISOString() ?? null,+ holderId: result.holderId,+ ownerId: result.ownerId,+ },+ type: 'lock.changed',+ },);}@@ -238,13 +256,20 @@ export class DocumentService {* Read-only peek of the current edit lock (does not acquire). Lets a client* render a workspace page read-only on open when another member holds it.*/- async getDocumentLock(id: string): Promise<DocumentLockResult> {- if (!this.workspaceId) return { expiresAt: null, holderId: null, lockedByOther: false };- const holder = await this.editLockService.getActiveHolder('document', id);+ async getDocumentLock(id: string, ownerId?: string): Promise<DocumentLockResult> {+ if (!this.workspaceId)+ return { expiresAt: null, holderId: null, lockedByOther: false, ownerId: null };+ const holder = await this.editLockService.getActiveLock('document', id);+ const lockedByOther = holder+ ? holder.ownerId+ ? holder.ownerId !== ownerId+ : holder.userId !== this.userId+ : false;return {- expiresAt: null,- holderId: holder ?? null,- lockedByOther: Boolean(holder) && holder !== this.userId,+ expiresAt: holder?.expiresAt ?? null,+ holderId: holder?.userId ?? null,+ lockedByOther,+ ownerId: holder?.ownerId ?? null,};}@@ -252,18 +277,87 @@ export class DocumentService {* Release the edit lock if the current user holds it. No-op in personal mode.*/async releaseDocumentLock(id: string): Promise<void> {+ return this.releaseDocumentLockWithOwner(id, this.userId);+ }++ async releaseDocumentLockWithOwner(id: string, ownerId: string): Promise<void> {if (!this.workspaceId) return;// Only broadcast "unlocked" when we actually released our own lock — if the// lease had expired and another member took over, the lock is still held and// a bogus holderId:null would wrongly flip their viewers to editable.- const released = await this.editLockService.release('document', id);+ const released = await this.editLockService.release('document', id, ownerId);if (!released) return;void publishResourceEvent({ id, type: 'document' },- { actorId: this.userId, data: { holderId: null }, type: 'lock.changed' },+ {+ actorId: this.userId,+ data: { expiresAt: null, holderId: null, ownerId: null },+ type: 'lock.changed',+ },);}+ /**+ * Run a server-initiated read-modify-write (e.g. a Page Agent tool) under the+ * collaborative edit lock. Acquiring the lock up front — rather than only+ * checking it at persist time like {@link updateDocument} — serializes agent+ * writes against other workspace members and rejects when someone else is+ * actively editing, so an agent can no longer silently clobber a human's+ * in-progress edits or another concurrent agent write.+ *+ * No-op in personal mode (no workspace → no collaboration → no lock). When+ * Redis is down the underlying lock degrades to "unlocked" (fail-open), so+ * this never blocks a write.+ */+ async runWithDocumentLock<T>(id: string, fn: () => Promise<T>): Promise<T> {+ if (!this.workspaceId) {+ // TEMP DIAGNOSTIC (LOBE-10470): distinguishes "no-op because workspaceId is+ // missing at runtime" from "lock actually evaluated". Remove once verified.+ log('runWithDocumentLock skip: no workspaceId (id=%s userId=%s)', id, this.userId);+ return fn();+ }++ // If this user's live editor already holds the lease, ride along on the+ // same ownerId so the acquire below is a pure heartbeat. Stealing the lock+ // with a fresh `server:UUID` would silently rewrite the lease's ownerId,+ // demote the user's saves through the owner-scoped write guard, and on the+ // finally release leave a window where another member could grab the free+ // lock. When we're truly claiming a lock, mint a server-scoped owner id+ // we can identify in release.+ const holderBefore = await this.editLockService.getActiveLock('document', id);+ const heldBeforeByUser = holderBefore?.userId === this.userId;+ const ownerId =+ heldBeforeByUser && holderBefore?.ownerId ? holderBefore.ownerId : `server:${randomUUID()}`;++ const lock = await this.acquireDocumentLockWithOwner(id, ownerId);+ // TEMP DIAGNOSTIC (LOBE-10470): one reproduction reveals workspaceId/holder/acquire.+ log(+ 'runWithDocumentLock: id=%s userId=%s ws=%s holderBefore=%s acquired=%o',+ id,+ this.userId,+ this.workspaceId,+ holderBefore?.userId,+ lock,+ );+ if (lock.lockedByOther) {+ throw new TRPCError({+ cause: { data: { code: 'DocumentLocked' } },+ code: 'CONFLICT',+ message: 'Document is being edited by another user',+ });+ }++ try {+ return await fn();+ } finally {+ // Only release a lease we freshly claimed. When the same user already+ // held it, leave their session alive — releasing would briefly flip+ // their editor to read-only and let another member grab the lock in+ // the gap before the next client heartbeat.+ if (!heldBeforeByUser) await this.releaseDocumentLockWithOwner(id, ownerId);+ }+ }+async listDocumentHistory(params: ListDocumentHistoryParams,options?: DocumentHistoryAccessOptions,@@ -292,6 +386,7 @@ export class DocumentService {documentId: string,editorData: Record<string, any>,saveSource: DocumentHistorySaveSource,+ lockOwnerId?: string,): Promise<SaveDocumentHistoryResult> {const currentDocument = await this.documentModel.findById(documentId);if (!currentDocument) {@@ -301,10 +396,12 @@ export class DocumentService {// Same collaborative edit-lock guard as updateDocument: don't record a// history snapshot for a workspace document another member is editing, so a// locked-out actor (e.g. a Copilot mutation that will itself be rejected)- // can't pollute the version timeline.+ // can't pollute the version timeline. The lock holder forwards its+ // `lockOwnerId` so it can still snapshot its own page (e.g. the pre-mutation+ // snapshot a Copilot edit takes) without being blocked by its own lease.if (this.workspaceId) {- const blockedBy = await this.editLockService.getBlockingHolder('document', documentId);- if (blockedBy) {+ const canWrite = await this.editLockService.canWrite('document', documentId, lockOwnerId);+ if (!canWrite) {throw new TRPCError({cause: { data: { code: 'DocumentLocked' } },code: 'CONFLICT',@@ -449,8 +546,8 @@ export class DocumentService {historyAppended ||(params.content !== undefined && params.content !== currentDocument.content);if (this.workspaceId && contentChanged) {- const blockedBy = await this.editLockService.getBlockingHolder('document', id);- if (blockedBy) {+ const canWrite = await this.editLockService.canWrite('document', id, params.lockOwnerId);+ if (!canWrite) {throw new TRPCError({cause: { data: { code: 'DocumentLocked' } },code: 'CONFLICT',diff --git a/apps/server/src/services/document/types.ts b/apps/server/src/services/document/types.tsindex cb87fd74bf3..b7389187e8b 100644--- a/apps/server/src/services/document/types.ts+++ b/apps/server/src/services/document/types.ts@@ -59,6 +59,7 @@ export interface UpdateDocumentParams {content?: string;editorData?: Record<string, any>;fileType?: string;+ lockOwnerId?: string;metadata?: Record<string, any>;parentId?: string | null;restoreFromHistoryId?: string;@@ -83,4 +84,6 @@ export interface DocumentLockResult {holderId: string | null;/** True when another active user holds the lock (caller is locked out). */lockedByOther: boolean;+ /** The edit-session id currently holding the lock, or null when unlocked / legacy. */+ ownerId: string | null;}diff --git a/apps/server/src/services/editLock/__tests__/index.test.ts b/apps/server/src/services/editLock/__tests__/index.test.tsindex 45f73f65a29..142f2f74199 100644--- a/apps/server/src/services/editLock/__tests__/index.test.ts+++ b/apps/server/src/services/editLock/__tests__/index.test.ts@@ -5,17 +5,28 @@ import { EditLockService } from '../index';/*** Minimal in-memory fake of the ioredis calls EditLockService uses:* `set(k, v, 'EX', ttl[, 'NX'])`, `get(k)`, and the compare-and-delete `eval`.+ * The eval mirrors RELEASE_SCRIPT: legacy raw payloads delete when ARGV[2]+ * (userId) matches; JSON payloads require both userId and ownerId to match.*/const makeFakeRedis = () => {const store = new Map<string, string>();return {- eval: vi.fn(async (_script: string, _numKeys: number, key: string, arg: string) => {- if (store.get(key) === arg) {- store.delete(key);- return 1;- }- return 0;- }),+ eval: vi.fn(+ async (_script: string, _numKeys: number, key: string, ownerArg: string, userArg: string) => {+ const raw = store.get(key);+ if (!raw) return 0;+ let matches = raw === userArg;+ try {+ const parsed = JSON.parse(raw);+ matches = matches || (parsed.userId === userArg && parsed.ownerId === ownerArg);+ } catch {}+ if (matches) {+ store.delete(key);+ return 1;+ }+ return 0;+ },+ ),get: vi.fn(async (key: string) => store.get(key) ?? null),set: vi.fn(async (key: string, value: string, ...args: unknown[]) => {if (args.includes('NX') && store.has(key)) return null;@@ -31,41 +42,106 @@ describe('EditLockService', () => {const redis = makeFakeRedis();const svc = new EditLockService('user-1', redis as any);- const result = await svc.acquire('document', 'doc-1');+ const result = await svc.acquire('document', 'doc-1', 'owner-1');expect(result.holderId).toBe('user-1');+ expect(result.ownerId).toBe('owner-1');expect(result.lockedByOther).toBe(false);expect(result.expiresAt).toBeInstanceOf(Date);- expect(redis.store.get('editlock:document:doc-1')).toBe('user-1');+ expect(JSON.parse(redis.store.get('editlock:document:doc-1')!)).toEqual(+ expect.objectContaining({ ownerId: 'owner-1', userId: 'user-1' }),+ );});it('reports another member as holder when the lock is already taken', async () => {const redis = makeFakeRedis();- await new EditLockService('user-1', redis as any).acquire('document', 'doc-1');+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');const result = await new EditLockService('user-2', redis as any).acquire('document', 'doc-1');- expect(result).toEqual({ expiresAt: null, holderId: 'user-1', lockedByOther: true });+ expect(result).toEqual(+ expect.objectContaining({ holderId: 'user-1', lockedByOther: true, ownerId: 'owner-1' }),+ );});it('lets the holder refresh their own lease', async () => {const redis = makeFakeRedis();const svc = new EditLockService('user-1', redis as any);- await svc.acquire('document', 'doc-1');+ await svc.acquire('document', 'doc-1', 'owner-1');- const result = await svc.acquire('document', 'doc-1');+ const result = await svc.acquire('document', 'doc-1', 'owner-1');expect(result.holderId).toBe('user-1');+ expect(result.ownerId).toBe('owner-1');expect(result.lockedByOther).toBe(false);});+ it('lets the same user take over their own ghost lock from another session', async () => {+ // A refresh / navigate-away whose release never reached the server leaves a+ // stale ownerId in Redis. The new session should silently take over rather+ // than report "you're editing this in another tab" — the old session is+ // almost certainly gone.+ const redis = makeFakeRedis();+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');++ const result = await new EditLockService('user-1', redis as any).acquire(+ 'document',+ 'doc-1',+ 'owner-2',+ );++ expect(result).toEqual(+ expect.objectContaining({ holderId: 'user-1', lockedByOther: false, ownerId: 'owner-2' }),+ );+ expect(JSON.parse(redis.store.get('editlock:document:doc-1')!)).toEqual(+ expect.objectContaining({ ownerId: 'owner-2', userId: 'user-1' }),+ );+ });++ it('still treats a different user with a different owner as blocked (takeover is user-scoped)', async () => {+ const redis = makeFakeRedis();+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');++ const result = await new EditLockService('user-2', redis as any).acquire(+ 'document',+ 'doc-1',+ 'owner-2',+ );++ expect(result).toEqual(+ expect.objectContaining({ holderId: 'user-1', lockedByOther: true, ownerId: 'owner-1' }),+ );+ });++ it('refuses to refresh when a stranger replays the broadcast ownerId', async () => {+ // The ownerId is broadcast on `lock.changed`, so another workspace member can+ // learn it from a subscription. They must not be able to echo it back to+ // refresh or take over the lock — only the original holder's userId may.+ const redis = makeFakeRedis();+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');++ const result = await new EditLockService('user-2', redis as any).acquire(+ 'document',+ 'doc-1',+ 'owner-1',+ );++ expect(result).toEqual(+ expect.objectContaining({ holderId: 'user-1', lockedByOther: true, ownerId: 'owner-1' }),+ );+ // The persisted lock must still belong to user-1.+ expect(JSON.parse(redis.store.get('editlock:document:doc-1')!)).toEqual(+ expect.objectContaining({ ownerId: 'owner-1', userId: 'user-1' }),+ );+ });+it('getActiveHolder reports the current holder, or undefined when free', async () => {const redis = makeFakeRedis();expect(await new EditLockService('user-1', redis as any).getActiveHolder('document', 'doc-1'),).toBeUndefined();- await new EditLockService('user-1', redis as any).acquire('document', 'doc-1');+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');expect(await new EditLockService('user-2', redis as any).getActiveHolder('document', 'doc-1'),).toBe('user-1');@@ -73,46 +149,104 @@ describe('EditLockService', () => {it('keys locks per resource type, so the same id does not collide across types', async () => {const redis = makeFakeRedis();- await new EditLockService('user-1', redis as any).acquire('document', 'shared-id');+ await new EditLockService('user-1', redis as any).acquire('document', 'shared-id', 'owner-1');// A different resource family with the same id is independently lockable.const result = await new EditLockService('user-2', redis as any).acquire('agent', 'shared-id');expect(result.holderId).toBe('user-2');expect(result.lockedByOther).toBe(false);- expect(redis.store.get('editlock:document:shared-id')).toBe('user-1');- expect(redis.store.get('editlock:agent:shared-id')).toBe('user-2');+ expect(JSON.parse(redis.store.get('editlock:document:shared-id')!)).toEqual(+ expect.objectContaining({ userId: 'user-1' }),+ );+ expect(JSON.parse(redis.store.get('editlock:agent:shared-id')!)).toEqual(+ expect.objectContaining({ userId: 'user-2' }),+ );});it('getBlockingHolder returns the holder only when it is someone else', async () => {const redis = makeFakeRedis();- await new EditLockService('user-1', redis as any).acquire('document', 'doc-1');+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');expect(await new EditLockService('user-2', redis as any).getBlockingHolder('document', 'doc-1'),).toBe('user-1');expect(- await new EditLockService('user-1', redis as any).getBlockingHolder('document', 'doc-1'),+ await new EditLockService('user-1', redis as any).getBlockingHolder(+ 'document',+ 'doc-1',+ 'owner-1',+ ),).toBeNull();+ expect(+ await new EditLockService('user-1', redis as any).getBlockingHolder(+ 'document',+ 'doc-1',+ 'owner-2',+ ),+ ).toBe('user-1');+ // Stranger replaying the broadcast ownerId must still be blocked.+ expect(+ await new EditLockService('user-2', redis as any).getBlockingHolder(+ 'document',+ 'doc-1',+ 'owner-1',+ ),+ ).toBe('user-1');});- it('only releases the lock for the current holder', async () => {+ it('only releases the lock for the current owner', async () => {const redis = makeFakeRedis();- await new EditLockService('user-1', redis as any).acquire('document', 'doc-1');+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');- // A non-holder release is a no-op and reports it did not release.- expect(await new EditLockService('user-2', redis as any).release('document', 'doc-1')).toBe(- false,+ // A non-owner release is a no-op and reports it did not release.+ expect(+ await new EditLockService('user-1', redis as any).release('document', 'doc-1', 'owner-2'),+ ).toBe(false);+ expect(JSON.parse(redis.store.get('editlock:document:doc-1')!)).toEqual(+ expect.objectContaining({ ownerId: 'owner-1' }),);- expect(redis.store.get('editlock:document:doc-1')).toBe('user-1');- // The holder can release, and reports the lock was actually freed.- expect(await new EditLockService('user-1', redis as any).release('document', 'doc-1')).toBe(- true,- );+ // The owner can release, and reports the lock was actually freed.+ expect(+ await new EditLockService('user-1', redis as any).release('document', 'doc-1', 'owner-1'),+ ).toBe(true);expect(redis.store.has('editlock:document:doc-1')).toBe(false);});+ it('refuses to release when a stranger replays the broadcast ownerId', async () => {+ const redis = makeFakeRedis();+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');++ expect(+ await new EditLockService('user-2', redis as any).release('document', 'doc-1', 'owner-1'),+ ).toBe(false);+ expect(JSON.parse(redis.store.get('editlock:document:doc-1')!)).toEqual(+ expect.objectContaining({ ownerId: 'owner-1', userId: 'user-1' }),+ );+ });++ it('requires a matching owner id for owner-scoped writes', async () => {+ const redis = makeFakeRedis();+ const svc = new EditLockService('user-1', redis as any);+ await svc.acquire('document', 'doc-1', 'owner-1');++ await expect(svc.canWrite('document', 'doc-1', 'owner-1')).resolves.toBe(true);+ await expect(svc.canWrite('document', 'doc-1', 'owner-2')).resolves.toBe(false);+ await expect(svc.canWrite('document', 'doc-1')).resolves.toBe(false);+ redis.store.delete('editlock:document:doc-1');+ await expect(svc.canWrite('document', 'doc-1', 'owner-1')).resolves.toBe(false);+ await expect(svc.canWrite('document', 'doc-1')).resolves.toBe(true);+ });++ it('refuses canWrite when a stranger replays the broadcast ownerId', async () => {+ const redis = makeFakeRedis();+ await new EditLockService('user-1', redis as any).acquire('document', 'doc-1', 'owner-1');++ const stranger = new EditLockService('user-2', redis as any);+ await expect(stranger.canWrite('document', 'doc-1', 'owner-1')).resolves.toBe(false);+ });+it('degrades to unlocked / no-op when Redis is unavailable', async () => {const svc = new EditLockService('user-1', null);@@ -120,6 +254,7 @@ describe('EditLockService', () => {expiresAt: null,holderId: null,lockedByOther: false,+ ownerId: null,});expect(await svc.getBlockingHolder('document', 'doc-1')).toBeNull();await expect(svc.release('document', 'doc-1')).resolves.toBe(false);@@ -140,9 +275,11 @@ describe('EditLockService', () => {expiresAt: null,holderId: null,lockedByOther: false,+ ownerId: null,});expect(await svc.getActiveHolder('document', 'doc-1')).toBeUndefined();expect(await svc.getBlockingHolder('document', 'doc-1')).toBeNull();+ await expect(svc.canWrite('document', 'doc-1', 'owner-1')).resolves.toBe(true);await expect(svc.release('document', 'doc-1')).resolves.toBe(false);});});diff --git a/apps/server/src/services/editLock/index.ts b/apps/server/src/services/editLock/index.tsindex e0af1a3fea4..7e35bcddb0b 100644--- a/apps/server/src/services/editLock/index.ts+++ b/apps/server/src/services/editLock/index.ts@@ -18,21 +18,69 @@ export interface EditLockResult {holderId: string | null;/** True when another user holds the lock (caller is locked out). */lockedByOther: boolean;+ /** The edit-session id currently holding the lock, or null for legacy/unlocked. */+ ownerId: string | null;}-const UNLOCKED: EditLockResult = { expiresAt: null, holderId: null, lockedByOther: false };+export interface ActiveEditLock {+ expiresAt: Date | null;+ ownerId: string | null;+ userId: string;+}++const UNLOCKED: EditLockResult = {+ expiresAt: null,+ holderId: null,+ lockedByOther: false,+ ownerId: null,+};const lockKey = (type: EditLockResourceType, id: string) => `editlock:${type}:${id}`;// Release only if the caller still holds the lock (compare-and-delete), so a-// stale releaser can't drop a lease another member has since taken over.+// stale releaser can't drop a lease another member has since taken over. The+// ownerId is broadcast on lock.changed, so it can't be used as a capability on+// its own — we also bind to the caller's userId (ARGV[2]) so a stranger who+// learned the ownerId from a broadcast cannot release another member's lock.const RELEASE_SCRIPT = `-if redis.call('get', KEYS[1]) == ARGV[1] then+local raw = redis.call('get', KEYS[1])+if not raw then+ return 0+end+if raw == ARGV[2] then+ return redis.call('del', KEYS[1])+end+local ok, decoded = pcall(cjson.decode, raw)+if ok and decoded["userId"] == ARGV[2] and decoded["ownerId"] == ARGV[1] thenreturn redis.call('del', KEYS[1])endreturn 0`;+const parseStoredLock = (raw: string): ActiveEditLock => {+ try {+ const parsed = JSON.parse(raw) as {+ expiresAt?: unknown;+ ownerId?: unknown;+ userId?: unknown;+ };+ if (typeof parsed.userId === 'string') {+ const expiresAt = typeof parsed.expiresAt === 'string' ? new Date(parsed.expiresAt) : null;++ return {+ expiresAt: expiresAt && !Number.isNaN(expiresAt.getTime()) ? expiresAt : null,+ ownerId: typeof parsed.ownerId === 'string' ? parsed.ownerId : null,+ userId: parsed.userId,+ };+ }+ } catch {+ // Existing deployments may still have raw user-id values in Redis. Treat+ // them as legacy locks so rolling deploys do not temporarily unlock pages.+ }++ return { expiresAt: null, ownerId: null, userId: raw };+};+/*** Redis-backed collaborative edit lock, keyed by (resourceType, resourceId).*@@ -73,28 +121,49 @@ export class EditLockService {* Acquire the lock when it is free (or already mine), refreshing the lease;* otherwise report whoever currently holds it. Doubles as the heartbeat.*/- async acquire(type: EditLockResourceType, id: string): Promise<EditLockResult> {+ async acquire(+ type: EditLockResourceType,+ id: string,+ ownerId = this.userId,+ ): Promise<EditLockResult> {const redis = this.redis;if (!redis) return UNLOCKED;const key = lockKey(type, id);try {+ const nextLock = this.serialize(ownerId);// Claim only when the key is absent (NX). The TTL gives automatic expiry, so// a hard-closed tab frees the lock without any cleanup job.- const claimed = await redis.set(key, this.userId, 'EX', EDIT_LOCK_TTL_SECONDS, 'NX');- if (claimed) return this.held();-- const holder = await redis.get(key);- if (holder === this.userId) {- // Already mine — refresh the lease (heartbeat).- await redis.set(key, this.userId, 'EX', EDIT_LOCK_TTL_SECONDS);- return this.held();+ const claimed = await redis.set(key, nextLock, 'EX', EDIT_LOCK_TTL_SECONDS, 'NX');+ if (claimed) return this.held(ownerId);++ const raw = await redis.get(key);+ if (raw) {+ const holder = parseStoredLock(raw);+ // Owner-only matches are unsafe: ownerId is fanned out on lock.changed,+ // so a workspace member could echo a stranger's ownerId back to steal+ // the lock. Bind ownership to the calling userId. When the same user+ // shows up with a different ownerId (refresh, crashed tab, HMR), the+ // old session is almost certainly a ghost — silently take over with+ // the new owner rather than telling the user they're editing in+ // another tab. Two truly concurrent tabs will keep flipping the owner+ // on their own heartbeats — that's CRDT territory, not ours to police.+ if (holder.userId === this.userId) {+ await redis.set(key, nextLock, 'EX', EDIT_LOCK_TTL_SECONDS);+ return this.held(ownerId);+ }++ return {+ expiresAt: holder.expiresAt,+ holderId: holder.userId,+ lockedByOther: true,+ ownerId: holder.ownerId,+ };}- if (holder) return { expiresAt: null, holderId: holder, lockedByOther: true };// Freed between the NX and the GET — try once more.- const reclaimed = await redis.set(key, this.userId, 'EX', EDIT_LOCK_TTL_SECONDS, 'NX');- return reclaimed ? this.held() : UNLOCKED;+ const reclaimed = await redis.set(key, nextLock, 'EX', EDIT_LOCK_TTL_SECONDS, 'NX');+ return reclaimed ? this.held(ownerId) : UNLOCKED;} catch (error) {// Fail-open: a Redis outage (configured but unreachable) must never block// editing — report unlocked rather than surfacing the command rejection.@@ -105,11 +174,16 @@ export class EditLockService {/** Current holder of the lock, or undefined when unlocked / Redis is down. */async getActiveHolder(type: EditLockResourceType, id: string): Promise<string | undefined> {+ return (await this.getActiveLock(type, id))?.userId;+ }++ /** Current lock payload, or undefined when unlocked / Redis is down. */+ async getActiveLock(type: EditLockResourceType, id: string): Promise<ActiveEditLock | undefined> {const redis = this.redis;if (!redis) return undefined;try {const holder = await redis.get(lockKey(type, id));- return holder ?? undefined;+ return holder ? parseStoredLock(holder) : undefined;} catch (error) {// Fail-open: a Redis outage must not turn the write guards into 500s.log('getActiveHolder failed for %s:%s %O', type, id, error);@@ -121,9 +195,49 @@ export class EditLockService {* The holder when someone *other* than the caller holds the lock, else null.* Used by write guards; returns null when Redis is down (fail-open).*/- async getBlockingHolder(type: EditLockResourceType, id: string): Promise<string | null> {- const holder = await this.getActiveHolder(type, id);- return holder && holder !== this.userId ? holder : null;+ async getBlockingHolder(+ type: EditLockResourceType,+ id: string,+ ownerId?: string,+ ): Promise<string | null> {+ const holder = await this.getActiveLock(type, id);+ if (!holder) return null;+ // ownerId is broadcast on lock.changed; it can't authorize on its own.+ // Bind to userId first, then keep the stale-tab guard (same user, different+ // active ownerId still blocks so a ghost tab can't save over a newer one).+ if (holder.userId !== this.userId) return holder.userId;+ if (holder.ownerId && holder.ownerId !== ownerId) return holder.userId;++ return null;+ }++ /**+ * Validate a content write against the current lease. When a caller provides+ * an owner id, the active Redis lock must still belong to that owner; otherwise+ * a stale tab whose lease expired could save over a newer editor. Without an+ * owner id, this preserves the advisory-lock behavior: writes are allowed only+ * when no modern owner-scoped lock is active (legacy same-user locks remain+ * compatible during rolling deploys).+ */+ async canWrite(type: EditLockResourceType, id: string, ownerId?: string): Promise<boolean> {+ const redis = this.redis;+ if (!redis) return true;+ try {+ const raw = await redis.get(lockKey(type, id));+ if (!raw) return !ownerId;++ const holder = parseStoredLock(raw);+ // ownerId is broadcast on lock.changed; matching it alone isn't proof of+ // ownership. Bind the write to the calling userId before honoring the+ // owner-scoped match.+ if (holder.userId !== this.userId) return false;+ if (holder.ownerId) return holder.ownerId === ownerId;++ return true;+ } catch (error) {+ log('canWrite failed for %s:%s %O', type, id, error);+ return true;+ }}/**@@ -132,10 +246,16 @@ export class EditLockService {* the lease had already expired or another member has since taken it over, so* callers can avoid broadcasting a bogus "unlocked" event.*/- async release(type: EditLockResourceType, id: string): Promise<boolean> {+ async release(type: EditLockResourceType, id: string, ownerId = this.userId): Promise<boolean> {if (!this.redis) return false;try {- const deleted = await this.redis.eval(RELEASE_SCRIPT, 1, lockKey(type, id), this.userId);+ const deleted = await this.redis.eval(+ RELEASE_SCRIPT,+ 1,+ lockKey(type, id),+ ownerId,+ this.userId,+ );return deleted === 1;} catch (error) {log('release failed for %s:%s %O', type, id, error);@@ -143,11 +263,20 @@ export class EditLockService {}}- private held(): EditLockResult {+ private held(ownerId: string): EditLockResult {return {expiresAt: new Date(Date.now() + EDIT_LOCK_TTL_SECONDS * 1000),holderId: this.userId,lockedByOther: false,+ ownerId,};}++ private serialize(ownerId: string): string {+ return JSON.stringify({+ expiresAt: new Date(Date.now() + EDIT_LOCK_TTL_SECONDS * 1000).toISOString(),+ ownerId,+ userId: this.userId,+ });+ }}diff --git a/apps/server/src/services/toolExecution/serverRuntimes/pageAgent.ts b/apps/server/src/services/toolExecution/serverRuntimes/pageAgent.tsindex ff31447c5b6..22ceb1b4118 100644--- a/apps/server/src/services/toolExecution/serverRuntimes/pageAgent.ts+++ b/apps/server/src/services/toolExecution/serverRuntimes/pageAgent.ts@@ -195,80 +195,95 @@ const withEditor = async (throw new Error('documentId is required');}- const snapshot = await loadSnapshot(documentModel, documentId);- const env = buildEnv(snapshot, documentId);const exportEditorData = options.exportEditorData !== false;const persist = options.persist !== false;const invariantCheck = options.invariantCheck !== false;- try {- const beforeHash = exportEditorData- ? hashEditorData(env.headless.export().editorData)- : undefined;-- const handlerResult = await handler(env);-- const exported = exportEditorData ? env.headless.export() : undefined;- const afterHash = exported ? hashEditorData(exported.editorData) : undefined;- const titleChanged = env.getTitle() !== snapshot.title;- const editorChanged = exportEditorData && beforeHash !== undefined && beforeHash !== afterHash;-- const invariantViolation = invariantCheck- ? detectInvariantViolation(apiName, {- editorChanged,- handlerReportedChange: detectHandlerReportedChange(apiName, handlerResult.state),- titleChanged,- })- : undefined;-- if (invariantViolation) {- console.warn(- `[PageAgentServerRuntime] invariant violation in ${apiName}:`,- invariantViolation,- { documentId, operationId: ctx.operationId, toolCallId: ctx.toolCallId },- );- }-- const patch: {- content?: string;- editorData?: Record<string, unknown>;- title?: string;- } = {};- if (exported) {- patch.content = exported.markdown;- patch.editorData = exported.editorData as unknown as Record<string, unknown>;- }- if (titleChanged) {- patch.title = env.getTitle();- }-- if (persist && Object.keys(patch).length > 0) {- await documentService.updateDocument(documentId, {- content: patch.content,- editorData: patch.editorData,- saveSource: 'llm_call',- title: patch.title,- });+ // Acquire the collaborative edit lock around the entire read-modify-write so+ // the agent reads, mutates and persists atomically: serialized against other+ // workspace members and rejected (CONFLICT) when someone else is actively+ // editing, instead of silently clobbering their work. Read-only invocations+ // (persist: false) never write, so they skip the lock.+ const run = async (): Promise<HandlerOutput> => {+ const snapshot = await loadSnapshot(documentModel, documentId);+ const env = buildEnv(snapshot, documentId);++ try {+ const beforeHash = exportEditorData+ ? hashEditorData(env.headless.export().editorData)+ : undefined;++ const handlerResult = await handler(env);++ const exported = exportEditorData ? env.headless.export() : undefined;+ const afterHash = exported ? hashEditorData(exported.editorData) : undefined;+ const titleChanged = env.getTitle() !== snapshot.title;+ const editorChanged =+ exportEditorData && beforeHash !== undefined && beforeHash !== afterHash;++ const invariantViolation = invariantCheck+ ? detectInvariantViolation(apiName, {+ editorChanged,+ handlerReportedChange: detectHandlerReportedChange(apiName, handlerResult.state),+ titleChanged,+ })+ : undefined;++ if (invariantViolation) {+ console.warn(+ `[PageAgentServerRuntime] invariant violation in ${apiName}:`,+ invariantViolation,+ { documentId, operationId: ctx.operationId, toolCallId: ctx.toolCallId },+ );+ }++ const patch: {+ content?: string;+ editorData?: Record<string, unknown>;+ title?: string;+ } = {};+ if (exported) {+ patch.content = exported.markdown;+ patch.editorData = exported.editorData as unknown as Record<string, unknown>;+ }+ if (titleChanged) {+ patch.title = env.getTitle();+ }++ if (persist && Object.keys(patch).length > 0) {+ await documentService.updateDocument(documentId, {+ content: patch.content,+ editorData: patch.editorData,+ saveSource: 'llm_call',+ title: patch.title,+ });+ }++ return {+ content: handlerResult.content,+ state: {+ ...handlerResult.state,+ documentContent: patch.content,+ documentEditorData: patch.editorData,+ documentTitle: env.getTitle(),+ ...(invariantViolation ? { invariantViolation } : {}),+ },+ };+ } finally {+ env.headless.destroy();}+ };- return {- content: handlerResult.content,- state: {- ...handlerResult.state,- documentContent: patch.content,- documentEditorData: patch.editorData,- documentTitle: env.getTitle(),- ...(invariantViolation ? { invariantViolation } : {}),- },- };- } finally {- env.headless.destroy();- }+ return persist ? documentService.runWithDocumentLock(documentId, run) : run();};-const buildService = (db: LobeChatDatabase, userId: string): PageAgentRuntimeService => {- const documentModel = new DocumentModel(db, userId);- const documentService = new DocumentService(db, userId);+const buildService = (+ db: LobeChatDatabase,+ userId: string,+ workspaceId?: string,+): PageAgentRuntimeService => {+ const documentModel = new DocumentModel(db, userId, workspaceId);+ const documentService = new DocumentService(db, userId, workspaceId);const serviceCtx: PageAgentServiceContext = { documentModel, documentService };return {@@ -393,7 +408,9 @@ export const pageAgentRuntime: ServerRuntimeRegistration = {if (!context.userId || !context.serverDB) {throw new Error('userId and serverDB are required for Page Agent execution');}- return new PageAgentExecutionRuntime(buildService(context.serverDB, context.userId));+ return new PageAgentExecutionRuntime(+ buildService(context.serverDB, context.userId, context.workspaceId),+ );},identifier: PageAgentIdentifier,};diff --git a/locales/ar/chat.json b/locales/ar/chat.jsonindex 2ffcdf2a20e..ced1387f6e7 100644--- a/locales/ar/chat.json+++ b/locales/ar/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "المساعد المدمج","chatList.expandMessage": "توسيع الرسالة","chatList.longMessageDetail": "عرض التفاصيل",+ "chatList.refreshing": "جلب أحدث الرسائل...","chatMode.agent": "وكيل","chatMode.agentCap.env": "بيئة التشغيل","chatMode.agentCap.files": "الوصول إلى الملفات",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "استخراج محتوى رابط الويب","followUpPlaceholder": "متابعة. @ لإسناد مهام لوكلاء آخرين.","followUpPlaceholderHeterogeneous": "تابع.",+ "gatewayMode.title": "وضع البوابة","group.desc": "ادفع المهمة للأمام مع عدة وكلاء في مساحة مشتركة واحدة.","group.memberTooltip": "يوجد {{count}} عضو في المجموعة","group.orchestratorThinking": "المنسق يفكر...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "إضافة رسالة من الذكاء الاصطناعي","input.addUser": "إضافة رسالة من المستخدم",+ "input.agentModeUnsupportedModel": "النموذج الحالي لا يدعم استدعاء الأدوات الوكيلية. قم بالتبديل إلى نموذج يدعم الوكيل للحصول على أفضل تجربة.","input.costEstimate.creditsPerMillionTokens": "{{credits}} ائتمان/مليون رموز","input.costEstimate.hint": "التكلفة المقدرة: ~{{credits}} ائتمان","input.costEstimate.inputLabel": "الإدخال",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "المخرجات {{amount}} أرصدة · ${{amount}}/مليون","messages.modelCard.pricing.writeCacheInputTokens": "كتابة إلى التخزين المؤقت {{amount}} أرصدة · ${{amount}}/مليون","messages.tokenDetails.average": "متوسط السعر للوحدة",+ "messages.tokenDetails.cacheRate": "معدل التخزين المؤقت","messages.tokenDetails.input": "المدخلات","messages.tokenDetails.inputAudio": "مدخل صوتي","messages.tokenDetails.inputCached": "مدخل مخزن مؤقتًا",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "التبديل إلى العرض الموحد","workingPanel.review.wordWrap.disable": "تعطيل التفاف النص","workingPanel.review.wordWrap.enable": "تمكين التفاف النص",+ "workingPanel.skills.actions.comingSoon": "قريبًا",+ "workingPanel.skills.actions.delete": "حذف",+ "workingPanel.skills.actions.rename": "إعادة تسمية",+ "workingPanel.skills.actions.view": "عرض",+ "workingPanel.skills.delete.agentConfirm": "إزالة المهارة “{{name}}” من هذا الوكيل؟ لا يمكن التراجع عن ذلك.",+ "workingPanel.skills.delete.error": "فشل في حذف المهارة",+ "workingPanel.skills.delete.success": "تم حذف المهارة",+ "workingPanel.skills.delete.title": "حذف المهارة؟",+ "workingPanel.skills.delete.userConfirm": "إلغاء تثبيت المهارة “{{name}}”؟ لا يمكن التراجع عن ذلك.",+ "workingPanel.skills.detail.title": "تفاصيل المهارة","workingPanel.skills.empty": "لم يتم العثور على مهارات في هذا المشروع",+ "workingPanel.skills.rename.action": "إعادة تسمية",+ "workingPanel.skills.rename.error": "فشل في إعادة تسمية المهارة",+ "workingPanel.skills.rename.placeholder": "اسم المهارة",+ "workingPanel.skills.rename.title": "إعادة تسمية المهارة","workingPanel.skills.section.agent": "مهارات الوكيل","workingPanel.skills.section.project": "مهارات المشروع","workingPanel.skills.section.user": "مهارات المستخدم",diff --git a/locales/ar/electron.json b/locales/ar/electron.jsonindex e2507ee9de5..5792f2bc5a8 100644--- a/locales/ar/electron.json+++ b/locales/ar/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "إضافة عمود",+ "fleet.allShown": "تم عرض جميع المهام الجارية",+ "fleet.backToHome": "العودة إلى الصفحة الرئيسية",+ "fleet.closeColumn": "إغلاق العمود",+ "fleet.createTask": "إنشاء مهمة",+ "fleet.empty": "لا توجد مهام مفتوحة",+ "fleet.emptyDesc": "اختر مهمة جارية على اليسار، أو استخدم + لإضافة عمود.",+ "fleet.noRunningTasks": "لا توجد مهام جارية",+ "fleet.openInChat": "فتح في الدردشة",+ "fleet.reply": "رد",+ "fleet.runningTasks": "المهام الجارية",+ "fleet.status.idle": "خامل",+ "fleet.status.paused": "متوقف مؤقتًا",+ "fleet.status.running": "قيد التشغيل",+ "fleet.status.scheduled": "مجدول",+ "fleet.tooltip": "عرض جميع الوكلاء جنبًا إلى جنب","gateway.description": "الوصف","gateway.descriptionPlaceholder": "اختياري","gateway.deviceName": "اسم الجهاز",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "الذاكرة - الهويات","navigation.memoryPreferences": "الذاكرة - التفضيلات","navigation.noPages": "لا توجد صفحات بعد",+ "navigation.observation": "وضع المراقبة","navigation.onboarding": "البدء","navigation.page": "صفحة","navigation.pages": "الصفحات",diff --git a/locales/ar/file.json b/locales/ar/file.jsonindex b7e37eaaccb..5436179e95d 100644--- a/locales/ar/file.json+++ b/locales/ar/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "فشل في تكرار الصفحة","pageEditor.duplicateSuccess": "تم تكرار الصفحة بنجاح","pageEditor.editMode.checking": "جارٍ التحقق من توفر التعديل…",+ "pageEditor.editMode.draftRestoreCancel": "تجاهل",+ "pageEditor.editMode.draftRestoreContent": "تم العثور على تغييرات محلية غير محفوظة من جلستك الأخيرة. هل تريد استعادتها؟",+ "pageEditor.editMode.draftRestoreOk": "استعادة",+ "pageEditor.editMode.draftRestoreTitle": "استعادة المسودة غير المحفوظة",+ "pageEditor.editMode.lockLostDescription": "لم تتم مزامنة التعديلات الأخيرة بعد. ستستأنف الحفظ بمجرد استعادة الاتصال.",+ "pageEditor.editMode.lockLostTitle": "تم فقدان قفل التعديل مؤقتًا",+ "pageEditor.editMode.lockUnstable": "إعادة الاتصال بقفل التعديل...","pageEditor.editMode.lockedByOther": "{{name}} يقوم بتعديل هذا المستند",+ "pageEditor.editMode.lockedBySelf": "أنت تقوم بتعديل هذا المستند في علامة تبويب أخرى",+ "pageEditor.editMode.lockedBySelfDescription": "سيستأنف الحفظ بعد إغلاق الجلسة الأخرى أو انتهاء صلاحية قفلها (~30 ثانية).","pageEditor.editMode.lockedBySomeone": "شخص آخر يقوم بتعديل هذا المستند",+ "pageEditor.editMode.lockedDescription": "الصفحة للقراءة فقط أثناء تعديلهم. لن يتم حفظ تغييراتك حتى ينتهوا.","pageEditor.editedAt": "آخر تعديل في {{time}}","pageEditor.editedBy": "آخر تعديل بواسطة {{name}}","pageEditor.editorPlaceholder": "اضغط \"/\" للوصول إلى الذكاء الاصطناعي والأوامر",diff --git a/locales/ar/labs.json b/locales/ar/labs.jsonindex ac9ef322a20..21e9fbeeb9a 100644--- a/locales/ar/labs.json+++ b/locales/ar/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "التكرار الذاتي للوكيل","features.assistantMessageGroup.desc": "تجميع رسائل الوكيل ونتائج استدعاء الأدوات معًا للعرض","features.assistantMessageGroup.title": "تجميع رسائل الوكيل",- "features.gatewayMode.desc": "تنفيذ مهام الوكيل على الخادم عبر بوابة WebSocket بدلًا من التشغيل محليًا، مما يتيح تنفيذًا أسرع ويقلل من استهلاك موارد العميل.",- "features.gatewayMode.title": "تنفيذ الوكيل من جانب الخادم (البوابة)",+ "features.fleet.desc": "عرض إدخال الأسطول في شريط العنوان — لوحة معلومات جنبًا إلى جنب لجميع المهام الجارية عبر وكلائك.",+ "features.fleet.title": "عرض الأسطول","features.groupChat.desc": "تمكين تنسيق الدردشة الجماعية متعددة الوكلاء.","features.groupChat.title": "دردشة جماعية (متعددة الوكلاء)","features.imessage.desc": "ربط الوكلاء بـ iMessage من خلال جسر BlueBubbles المحلي لتطبيق LobeHub Desktop.",diff --git a/locales/ar/setting.json b/locales/ar/setting.jsonindex 9dead4f6b63..43bac827240 100644--- a/locales/ar/setting.json+++ b/locales/ar/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[طلب مهارة] لخّص المهارة التي تحتاجها في جملة واحدة","skillStore.wantMore.reachedEnd": "لقد وصلت إلى النهاية. لم تجد ما تبحث عنه؟","startConversation": "ابدأ المحادثة",- "storage.actions.copyAgentGroups.button": "نسخ إلى",+ "storage.actions.copyAgentGroups.button": "نسخ إلى...","storage.actions.copyAgentGroups.desc": "انسخ مجموعات الوكلاء وأعضائها إلى مساحة عمل أخرى أو حساب شخصي.","storage.actions.copyAgentGroups.title": "نسخ مجموعات الوكلاء","storage.actions.copyLobeAI.button": "نسخ إلى",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "إضافة مهارة مخصصة","tab.advanced": "متقدم","tab.advanced.appUpdates.title": "تحديثات التطبيق",+ "tab.advanced.gatewayMode.desc": "تشغيل مهام الوكيل المدعومة عبر بوابة السحابة افتراضيًا. يمكن للوكلاء الفرديين تجاوز هذا من قائمة الدردشة.",+ "tab.advanced.gatewayMode.title": "وضع البوابة","tab.advanced.toolsAndDiagnostics.title": "الأدوات والتشخيصات","tab.advanced.updateChannel.canary": "كناري","tab.advanced.updateChannel.canaryDesc": "يتم تشغيله عند كل دمج PR، مع عدة إصدارات يومياً. الأكثر عدم استقراراً.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "هل أنت متأكد أنك تريد إلغاء تثبيت {{name}}؟ سيتم إزالة هذه المهارة من الوكيل الحالي.","tools.builtins.uninstallConfirm.title": "إلغاء تثبيت {{name}}","tools.builtins.uninstalled": "تم إلغاء التثبيت",- "tools.disabled": "النموذج الحالي لا يدعم استدعاء الوظائف ولا يمكنه استخدام المهارة","tools.composio.addServer": "إضافة خادم","tools.composio.authCompleted": "تم التحقق من الهوية","tools.composio.authFailed": "فشل التحقق من الهوية",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "خدمة Composio غير مفعلة","tools.composio.oauthRequired": "يرجى إكمال التحقق من OAuth في النافذة الجديدة","tools.composio.pendingAuth": "في انتظار التحقق",+ "tools.composio.reauthorize": "إعادة التفويض",+ "tools.composio.remove": "إزالة",+ "tools.composio.removeConfirm.desc": "{{name}} سيتم إزالته نهائيًا من الخدمات المتصلة بك. لا يمكن التراجع عن هذا الإجراء.",+ "tools.composio.removeConfirm.title": "إزالة {{name}}؟","tools.composio.serverCreated": "تم إنشاء الخادم بنجاح","tools.composio.serverCreatedFailed": "فشل في إنشاء الخادم","tools.composio.serverRemoved": "تمت إزالة الخادم",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "تكامل مع Zendesk لإدارة تذاكر الدعم وتفاعلات العملاء. أنشئ الطلبات، وحدثها، وتتبعها، وادخل إلى بيانات العملاء، وسهّل عمليات الدعم.","tools.composio.tools": "الأدوات","tools.composio.verifyAuth": "لقد أكملت التحقق",+ "tools.disabled": "النموذج الحالي لا يدعم استدعاء الوظائف ولا يمكنه استخدام المهارة","tools.lobehubSkill.authorize": "تفويض","tools.lobehubSkill.connect": "اتصال","tools.lobehubSkill.connected": "متصل",diff --git a/locales/ar/topic.json b/locales/ar/topic.jsonindex 581ffbe4f78..c1494f34611 100644--- a/locales/ar/topic.json+++ b/locales/ar/topic.json@@ -16,6 +16,7 @@"actions.favorite": "المفضلة","actions.import": "استيراد المحادثة","actions.markCompleted": "وضع علامة كمكتمل",+ "actions.moveToAgent": "نقل إلى مساعد آخر","actions.openInNewTab": "افتح في علامة تبويب جديدة","actions.openInNewWindow": "فتح في نافذة جديدة","actions.removeAll": "حذف جميع المواضيع",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "أنت على وشك حذف {{count}} موضوعًا. لا يمكن التراجع عن هذا الإجراء.","management.bulk.deleteTitle": "حذف المواضيع؟","management.bulk.favorite": "مفضلة",+ "management.bulk.move": "نقل إلى مساعد",+ "management.bulk.moveEmpty": "لا يوجد مساعدون آخرون",+ "management.bulk.moveSearchPlaceholder": "ابحث عن المساعدين…","management.bulk.selectedCount_one": "{{count}} محدد","management.bulk.selectedCount_other": "{{count}} محددة","management.card.noPreview": "لا توجد معاينة متاحة",@@ -118,6 +122,17 @@"management.group.noProject": "لا يوجد مشروع","management.group.none": "لا شيء","management.loadingMore": "جارٍ تحميل المزيد من المواضيع…",+ "management.moveModal.back": "رجوع",+ "management.moveModal.confirmContent_one": "هل تريد نقل {{count}} موضوع إلى “{{title}}”؟",+ "management.moveModal.confirmContent_other": "هل تريد نقل {{count}} مواضيع إلى “{{title}}”؟",+ "management.moveModal.confirmOk": "نقل",+ "management.moveModal.doneOk": "تم",+ "management.moveModal.done_one": "تم نقل {{count}} موضوع",+ "management.moveModal.done_other": "تم نقل {{count}} مواضيع",+ "management.moveModal.error": "فشل النقل، يرجى المحاولة مرة أخرى",+ "management.moveModal.goToTarget": "انتقل إلى “{{title}}”",+ "management.moveModal.moving": "جارٍ النقل…",+ "management.moveModal.title": "نقل المواضيع","management.searchPlaceholder": "ابحث في مواضيع هذا الوكيل…","management.sidebarEntry": "المواضيع","management.sort.createdAt": "وقت الإنشاء",diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.jsonindex b9ced6539e8..058f61ae826 100644--- a/locales/bg-BG/chat.json+++ b/locales/bg-BG/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Вграден Копилот","chatList.expandMessage": "Разгъни съобщението","chatList.longMessageDetail": "Прегледай подробности",+ "chatList.refreshing": "Извличане на най-новите съобщения...","chatMode.agent": "Агент","chatMode.agentCap.env": "Работна среда","chatMode.agentCap.files": "Достъп до файлове",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Извличане на съдържание от уеб връзки","followUpPlaceholder": "Последващо действие. Използвайте @, за да възлагате задачи на други агенти.","followUpPlaceholderHeterogeneous": "Последващ въпрос.",+ "gatewayMode.title": "Режим на шлюз","group.desc": "Придвижете задача напред с няколко Агента в едно споделено пространство.","group.memberTooltip": "Групата има {{count}} член(а)","group.orchestratorThinking": "Оркестраторът мисли...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Добави AI съобщение","input.addUser": "Добави потребителско съобщение",+ "input.agentModeUnsupportedModel": "Текущият модел не поддържа агентски инструменти. Превключете към модел с агентски възможности за най-добро изживяване.","input.costEstimate.creditsPerMillionTokens": "{{credits}} кредита/М токена","input.costEstimate.hint": "Оценена цена: ~{{credits}} кредита","input.costEstimate.inputLabel": "Вход",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Изход {{amount}} кредита · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Кеш запис {{amount}} кредита · ${{amount}}/M","messages.tokenDetails.average": "Средна единична цена",+ "messages.tokenDetails.cacheRate": "Скорост на кеширане","messages.tokenDetails.input": "Вход","messages.tokenDetails.inputAudio": "Аудио вход","messages.tokenDetails.inputCached": "Кеширан вход",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Превключете към обединен изглед","workingPanel.review.wordWrap.disable": "Деактивирай пренасяне на думи","workingPanel.review.wordWrap.enable": "Активирай пренасяне на думи",+ "workingPanel.skills.actions.comingSoon": "Очаквайте скоро",+ "workingPanel.skills.actions.delete": "Изтриване",+ "workingPanel.skills.actions.rename": "Преименуване",+ "workingPanel.skills.actions.view": "Преглед",+ "workingPanel.skills.delete.agentConfirm": "Да премахна ли умението „{{name}}“ от този агент? Това действие не може да бъде отменено.",+ "workingPanel.skills.delete.error": "Неуспешно изтриване на умение",+ "workingPanel.skills.delete.success": "Умението е изтрито",+ "workingPanel.skills.delete.title": "Изтриване на умение?",+ "workingPanel.skills.delete.userConfirm": "Да деинсталирам ли умението „{{name}}“? Това действие не може да бъде отменено.",+ "workingPanel.skills.detail.title": "Детайли за умението","workingPanel.skills.empty": "Няма намерени умения в този проект",+ "workingPanel.skills.rename.action": "Преименуване",+ "workingPanel.skills.rename.error": "Неуспешно преименуване на умение",+ "workingPanel.skills.rename.placeholder": "Име на умението",+ "workingPanel.skills.rename.title": "Преименуване на умение","workingPanel.skills.section.agent": "Умения на агента","workingPanel.skills.section.project": "Умения на проекта","workingPanel.skills.section.user": "Умения на потребителя",diff --git a/locales/bg-BG/electron.json b/locales/bg-BG/electron.jsonindex 3af13a702e7..8c37b514911 100644--- a/locales/bg-BG/electron.json+++ b/locales/bg-BG/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Добавяне на колона",+ "fleet.allShown": "Всички текущи задачи са показани",+ "fleet.backToHome": "Обратно към началната страница",+ "fleet.closeColumn": "Затваряне на колона",+ "fleet.createTask": "Създаване на задача",+ "fleet.empty": "Няма отворени задачи",+ "fleet.emptyDesc": "Изберете текуща задача отляво или използвайте +, за да добавите колона.",+ "fleet.noRunningTasks": "Няма текущи задачи",+ "fleet.openInChat": "Отваряне в чата",+ "fleet.reply": "Отговор",+ "fleet.runningTasks": "Текущи задачи",+ "fleet.status.idle": "Неактивен",+ "fleet.status.paused": "Пауза",+ "fleet.status.running": "В процес на изпълнение",+ "fleet.status.scheduled": "Планирано",+ "fleet.tooltip": "Преглед на всички агенти един до друг","gateway.description": "Описание","gateway.descriptionPlaceholder": "По избор","gateway.deviceName": "Име на устройството",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Памят - Идентичности","navigation.memoryPreferences": "Памят - Предпочитания","navigation.noPages": "Все още няма страници",+ "navigation.observation": "Режим на наблюдение","navigation.onboarding": "Въведение","navigation.page": "Страница","navigation.pages": "Страници",diff --git a/locales/bg-BG/file.json b/locales/bg-BG/file.jsonindex 5dfaafb0a3e..57764a4697a 100644--- a/locales/bg-BG/file.json+++ b/locales/bg-BG/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Неуспешно дублиране на страницата","pageEditor.duplicateSuccess": "Страницата е дублирана успешно","pageEditor.editMode.checking": "Проверка на наличността за редактиране…",+ "pageEditor.editMode.draftRestoreCancel": "Отхвърли",+ "pageEditor.editMode.draftRestoreContent": "Намерени са незапазени локални промени от последната ви сесия. Да ги възстановя ли?",+ "pageEditor.editMode.draftRestoreOk": "Възстанови",+ "pageEditor.editMode.draftRestoreTitle": "Възстановяване на незапазен чернова",+ "pageEditor.editMode.lockLostDescription": "Последните редакции все още не са синхронизирани. Те ще продължат да се запазват, когато връзката се възстанови.",+ "pageEditor.editMode.lockLostTitle": "Временно загубено заключване за редакция",+ "pageEditor.editMode.lockUnstable": "Възстановяване на заключването за редакция...","pageEditor.editMode.lockedByOther": "{{name}} редактира този документ",+ "pageEditor.editMode.lockedBySelf": "Редактирате този документ в друг раздел",+ "pageEditor.editMode.lockedBySelfDescription": "Запазването ще продължи, след като другата сесия се затвори или нейното заключване изтече (~30 секунди).","pageEditor.editMode.lockedBySomeone": "Някой друг редактира този документ",+ "pageEditor.editMode.lockedDescription": "Страницата е само за четене, докато те редактират. Вашите промени няма да бъдат запазени, докато не приключат.","pageEditor.editedAt": "Последна редакция на {{time}}","pageEditor.editedBy": "Последна редакция от {{name}}","pageEditor.editorPlaceholder": "Натиснете \"/\" за ИИ и команди",diff --git a/locales/bg-BG/labs.json b/locales/bg-BG/labs.jsonindex 2e278aa055b..b347175a884 100644--- a/locales/bg-BG/labs.json+++ b/locales/bg-BG/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Само-итерация на агента","features.assistantMessageGroup.desc": "Групиране на съобщенията от агента и резултатите от извикванията на инструменти заедно за показване","features.assistantMessageGroup.title": "Групиране на съобщения от агент",- "features.gatewayMode.desc": "Изпълнявайте задачите на агента на сървъра чрез Gateway WebSocket вместо локално. Осигурява по-бързо изпълнение и намалява използването на ресурси от клиента.",- "features.gatewayMode.title": "Изпълнение на агента от страна на сървъра (Gateway)",+ "features.fleet.desc": "Показване на записа Fleet в заглавната лента — табло за управление, което показва всички текущи задачи на вашите агенти едновременно.",+ "features.fleet.title": "Изглед Fleet","features.groupChat.desc": "Активиране на координация в групов чат с множество агенти.","features.groupChat.title": "Групов чат (многоагентен)","features.imessage.desc": "Свързване на агентите с iMessage чрез локалния LobeHub Desktop BlueBubbles мост.",diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.jsonindex b4c9755e3bf..5d6f4efcb26 100644--- a/locales/bg-BG/setting.json+++ b/locales/bg-BG/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Заявка за умение] Обобщете умението, от което се нуждаете, в едно изречение","skillStore.wantMore.reachedEnd": "Стигнахте до края. Не намирате това, което търсите?","startConversation": "Започни разговор",- "storage.actions.copyAgentGroups.button": "Копиране в",+ "storage.actions.copyAgentGroups.button": "Копирай в...","storage.actions.copyAgentGroups.desc": "Копирайте групи агенти и техните членове в друго работно пространство или личен акаунт.","storage.actions.copyAgentGroups.title": "Копиране на групи агенти","storage.actions.copyLobeAI.button": "Копиране в",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Добавяне на персонализирано умение","tab.advanced": "Разширени","tab.advanced.appUpdates.title": "Актуализации на приложението",+ "tab.advanced.gatewayMode.desc": "Изпълнявайте поддържаните задачи на агентите през облачния Gateway по подразбиране. Индивидуалните агенти могат да променят това от менюто за чат.",+ "tab.advanced.gatewayMode.title": "Режим Gateway","tab.advanced.toolsAndDiagnostics.title": "Инструменти и диагностика","tab.advanced.updateChannel.canary": "Канарче","tab.advanced.updateChannel.canaryDesc": "Задейства се при всяко сливане на PR, множество компилации на ден. Най-нестабилната версия.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Сигурни ли сте, че искате да деинсталирате {{name}}? Това умение ще бъде премахнато от текущия агент.","tools.builtins.uninstallConfirm.title": "Деинсталиране на {{name}}","tools.builtins.uninstalled": "Деинсталирано",- "tools.disabled": "Текущият модел не поддържа извикване на функции и не може да използва умението","tools.composio.addServer": "Добави сървър","tools.composio.authCompleted": "Удостоверяването е завършено","tools.composio.authFailed": "Удостоверяването не бе успешно",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Услугата Composio не е активирана","tools.composio.oauthRequired": "Моля, завършете OAuth удостоверяването в нов прозорец","tools.composio.pendingAuth": "Изчаква удостоверяване",+ "tools.composio.reauthorize": "Повторно упълномощаване",+ "tools.composio.remove": "Премахване",+ "tools.composio.removeConfirm.desc": "{{name}} ще бъде окончателно премахнат от свързаните ви услуги. Това действие не може да бъде отменено.",+ "tools.composio.removeConfirm.title": "Премахване на {{name}}?","tools.composio.serverCreated": "Сървърът е създаден успешно","tools.composio.serverCreatedFailed": "Неуспешно създаване на сървър","tools.composio.serverRemoved": "Сървърът е премахнат",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Интегрирайте се със Zendesk за управление на клиентски запитвания и поддръжка. Създавайте, актуализирайте и проследявайте тикети, достъпвайте клиентски данни и оптимизирайте обслужването си.","tools.composio.tools": "инструменти","tools.composio.verifyAuth": "Завърших удостоверяването",+ "tools.disabled": "Текущият модел не поддържа извикване на функции и не може да използва умението","tools.lobehubSkill.authorize": "Упълномощи","tools.lobehubSkill.connect": "Свържи","tools.lobehubSkill.connected": "Свързано",diff --git a/locales/bg-BG/topic.json b/locales/bg-BG/topic.jsonindex 97a1bbc77ba..67b4154fd9c 100644--- a/locales/bg-BG/topic.json+++ b/locales/bg-BG/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Любимо","actions.import": "Импортирай разговор","actions.markCompleted": "Отбележи като завършена",+ "actions.moveToAgent": "Премести към друг асистент","actions.openInNewTab": "Отвори в нов раздел","actions.openInNewWindow": "Отвори в нов прозорец","actions.removeAll": "Изтрий всички теми",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Ще изтриете {{count}} теми. Това действие не може да бъде отменено.","management.bulk.deleteTitle": "Изтриване на теми?","management.bulk.favorite": "Любими",+ "management.bulk.move": "Премести към асистент",+ "management.bulk.moveEmpty": "Няма други асистенти",+ "management.bulk.moveSearchPlaceholder": "Търсене на асистенти…","management.bulk.selectedCount_one": "{{count}} избрана","management.bulk.selectedCount_other": "{{count}} избрани","management.card.noPreview": "Няма наличен преглед",@@ -118,6 +122,17 @@"management.group.noProject": "Без проект","management.group.none": "Няма","management.loadingMore": "Зареждане на още теми...",+ "management.moveModal.back": "Назад",+ "management.moveModal.confirmContent_one": "Да преместя {{count}} тема в „{{title}}“?",+ "management.moveModal.confirmContent_other": "Да преместя {{count}} теми в „{{title}}“?",+ "management.moveModal.confirmOk": "Премести",+ "management.moveModal.doneOk": "Готово",+ "management.moveModal.done_one": "{{count}} тема преместена",+ "management.moveModal.done_other": "{{count}} теми преместени",+ "management.moveModal.error": "Преместването не бе успешно, моля опитайте отново",+ "management.moveModal.goToTarget": "Отиди на „{{title}}“",+ "management.moveModal.moving": "Преместване…",+ "management.moveModal.title": "Преместване на теми","management.searchPlaceholder": "Търсене на теми на този агент...","management.sidebarEntry": "Теми","management.sort.createdAt": "Време на създаване",diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.jsonindex 53e8ede0c76..55e6f2a608e 100644--- a/locales/de-DE/chat.json+++ b/locales/de-DE/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Integrierter Copilot","chatList.expandMessage": "Nachricht erweitern","chatList.longMessageDetail": "Details anzeigen",+ "chatList.refreshing": "Neueste Nachrichten werden abgerufen...","chatMode.agent": "Agent","chatMode.agentCap.env": "Laufzeitumgebung","chatMode.agentCap.files": "Dateizugriff",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Webseiteninhalte extrahieren","followUpPlaceholder": "Folgen Sie nach. @, um Aufgaben anderen Agenten zuzuweisen.","followUpPlaceholderHeterogeneous": "Weiter ausführen.",+ "gatewayMode.title": "Gateway-Modus","group.desc": "Bringen Sie eine Aufgabe mit mehreren Agenten in einem gemeinsamen Raum voran.","group.memberTooltip": "Es gibt {{count}} Mitglieder in der Gruppe","group.orchestratorThinking": "Orchestrator denkt nach...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "KI-Nachricht hinzufügen","input.addUser": "Benutzernachricht hinzufügen",+ "input.agentModeUnsupportedModel": "Das aktuelle Modell unterstützt keine agentischen Werkzeugaufrufe. Wechseln Sie zu einem Modell mit Agentenfähigkeit für die beste Erfahrung.","input.costEstimate.creditsPerMillionTokens": "{{credits}} Credits/M Tokens","input.costEstimate.hint": "Geschätzte Kosten: ~{{credits}} Credits","input.costEstimate.inputLabel": "Eingabe",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Output {{amount}} Credits · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Cache-Schreiben {{amount}} Credits · ${{amount}}/M","messages.tokenDetails.average": "Durchschnittspreis pro Einheit",+ "messages.tokenDetails.cacheRate": "Cache-Rate","messages.tokenDetails.input": "Input","messages.tokenDetails.inputAudio": "Audio-Input","messages.tokenDetails.inputCached": "Gecachter Input",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Zur einheitlichen Ansicht wechseln","workingPanel.review.wordWrap.disable": "Zeilenumbruch deaktivieren","workingPanel.review.wordWrap.enable": "Zeilenumbruch aktivieren",+ "workingPanel.skills.actions.comingSoon": "Demnächst verfügbar",+ "workingPanel.skills.actions.delete": "Löschen",+ "workingPanel.skills.actions.rename": "Umbenennen",+ "workingPanel.skills.actions.view": "Ansehen",+ "workingPanel.skills.delete.agentConfirm": "Die Fähigkeit „{{name}}“ von diesem Agenten entfernen? Dies kann nicht rückgängig gemacht werden.",+ "workingPanel.skills.delete.error": "Fähigkeit konnte nicht gelöscht werden",+ "workingPanel.skills.delete.success": "Fähigkeit gelöscht",+ "workingPanel.skills.delete.title": "Fähigkeit löschen?",+ "workingPanel.skills.delete.userConfirm": "Die Fähigkeit „{{name}}“ deinstallieren? Dies kann nicht rückgängig gemacht werden.",+ "workingPanel.skills.detail.title": "Fähigkeitsdetails","workingPanel.skills.empty": "Keine Fähigkeiten in diesem Projekt gefunden",+ "workingPanel.skills.rename.action": "Umbenennen",+ "workingPanel.skills.rename.error": "Fähigkeit konnte nicht umbenannt werden",+ "workingPanel.skills.rename.placeholder": "Fähigkeitsname",+ "workingPanel.skills.rename.title": "Fähigkeit umbenennen","workingPanel.skills.section.agent": "Agentenfähigkeiten","workingPanel.skills.section.project": "Projektfähigkeiten","workingPanel.skills.section.user": "Benutzerfähigkeiten",diff --git a/locales/de-DE/electron.json b/locales/de-DE/electron.jsonindex b1122eebb0b..946d148cc3b 100644--- a/locales/de-DE/electron.json+++ b/locales/de-DE/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Spalte hinzufügen",+ "fleet.allShown": "Alle laufenden Aufgaben werden angezeigt",+ "fleet.backToHome": "Zurück zur Startseite",+ "fleet.closeColumn": "Spalte schließen",+ "fleet.createTask": "Aufgabe erstellen",+ "fleet.empty": "Keine offenen Aufgaben",+ "fleet.emptyDesc": "Wählen Sie eine laufende Aufgabe links aus oder verwenden Sie +, um eine Spalte hinzuzufügen.",+ "fleet.noRunningTasks": "Keine laufenden Aufgaben",+ "fleet.openInChat": "Im Chat öffnen",+ "fleet.reply": "Antworten",+ "fleet.runningTasks": "Laufende Aufgaben",+ "fleet.status.idle": "Leerlauf",+ "fleet.status.paused": "Pausiert",+ "fleet.status.running": "Läuft",+ "fleet.status.scheduled": "Geplant",+ "fleet.tooltip": "Alle Agenten nebeneinander anzeigen","gateway.description": "Beschreibung","gateway.descriptionPlaceholder": "Optional","gateway.deviceName": "Gerätename",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Speicher - Identitäten","navigation.memoryPreferences": "Speicher - Präferenzen","navigation.noPages": "Noch keine Seiten",+ "navigation.observation": "Beobachtungsmodus","navigation.onboarding": "Einführung","navigation.page": "Seite","navigation.pages": "Seiten",diff --git a/locales/de-DE/file.json b/locales/de-DE/file.jsonindex 6601923f1dd..017db7ed918 100644--- a/locales/de-DE/file.json+++ b/locales/de-DE/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Fehler beim Duplizieren der Seite","pageEditor.duplicateSuccess": "Seite erfolgreich dupliziert","pageEditor.editMode.checking": "Bearbeitsverfügbarkeit wird überprüft…",+ "pageEditor.editMode.draftRestoreCancel": "Verwerfen",+ "pageEditor.editMode.draftRestoreContent": "Es wurden nicht gespeicherte lokale Änderungen aus Ihrer letzten Sitzung gefunden. Möchten Sie diese wiederherstellen?",+ "pageEditor.editMode.draftRestoreOk": "Wiederherstellen",+ "pageEditor.editMode.draftRestoreTitle": "Nicht gespeicherten Entwurf wiederherstellen",+ "pageEditor.editMode.lockLostDescription": "Die letzten Änderungen wurden noch nicht synchronisiert. Die Speicherung wird fortgesetzt, sobald die Verbindung wiederhergestellt ist.",+ "pageEditor.editMode.lockLostTitle": "Bearbeitungssperre vorübergehend verloren",+ "pageEditor.editMode.lockUnstable": "Bearbeitungssperre wird wiederhergestellt…","pageEditor.editMode.lockedByOther": "{{name}} bearbeitet dieses Dokument",+ "pageEditor.editMode.lockedBySelf": "Sie bearbeiten dieses Dokument in einem anderen Tab",+ "pageEditor.editMode.lockedBySelfDescription": "Die Speicherung wird fortgesetzt, nachdem die andere Sitzung geschlossen wurde oder deren Sperre abläuft (~30 Sekunden).","pageEditor.editMode.lockedBySomeone": "Jemand anderes bearbeitet dieses Dokument",+ "pageEditor.editMode.lockedDescription": "Die Seite ist schreibgeschützt, während sie bearbeitet wird. Ihre Änderungen werden erst gespeichert, wenn die Bearbeitung abgeschlossen ist.","pageEditor.editedAt": "Zuletzt bearbeitet am {{time}}","pageEditor.editedBy": "Zuletzt bearbeitet von {{name}}","pageEditor.editorPlaceholder": "Drücken Sie \"/\" für KI und Befehle",diff --git a/locales/de-DE/labs.json b/locales/de-DE/labs.jsonindex 9545a49700b..0a5358ead00 100644--- a/locales/de-DE/labs.json+++ b/locales/de-DE/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Agenten-Selbstiteration","features.assistantMessageGroup.desc": "Agenten-Nachrichten und deren Tool-Ergebnisse gemeinsam anzeigen","features.assistantMessageGroup.title": "Agenten-Nachrichten gruppieren",- "features.gatewayMode.desc": "Führt Agentenaufgaben über die Gateway-WebSocket-Verbindung auf dem Server aus, statt sie lokal auszuführen. Ermöglicht eine schnellere Ausführung und verringert die Client-Ressourcennutzung.",- "features.gatewayMode.title": "Serverseitige Agentenausführung (Gateway)",+ "features.fleet.desc": "Zeigt den Fleet-Eintrag in der Titelleiste an – ein nebeneinander angeordnetes Dashboard aller laufenden Aufgaben über Ihre Agenten hinweg.",+ "features.fleet.title": "Flottenansicht","features.groupChat.desc": "Koordination von Gruppenchats mit mehreren Agenten aktivieren.","features.groupChat.title": "Gruppenchat (Multi-Agenten)","features.imessage.desc": "Verbinden Sie Agenten mit iMessage über die lokale LobeHub Desktop BlueBubbles-Bridge.",diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.jsonindex fa5bd6199ca..62f04d7f6c4 100644--- a/locales/de-DE/setting.json+++ b/locales/de-DE/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Skill-Anfrage] Fassen Sie den benötigten Skill in einem Satz zusammen","skillStore.wantMore.reachedEnd": "Sie haben das Ende erreicht. Nicht gefunden, was Sie suchen?","startConversation": "Konversation starten",- "storage.actions.copyAgentGroups.button": "Kopieren nach",+ "storage.actions.copyAgentGroups.button": "Kopieren nach...","storage.actions.copyAgentGroups.desc": "Agentengruppen und ihre Mitglieder in einen anderen Arbeitsbereich oder persönlichen Account kopieren.","storage.actions.copyAgentGroups.title": "Agentengruppen kopieren","storage.actions.copyLobeAI.button": "Kopieren nach",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Benutzerdefinierten Skill hinzufügen","tab.advanced": "Erweitert","tab.advanced.appUpdates.title": "App-Updates",+ "tab.advanced.gatewayMode.desc": "Führen Sie unterstützte Agentenaufgaben standardmäßig über das Cloud-Gateway aus. Einzelne Agenten können dies im Chat-Menü überschreiben.",+ "tab.advanced.gatewayMode.title": "Gateway-Modus","tab.advanced.toolsAndDiagnostics.title": "Tools und Diagnosen","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Ausgelöst bei jedem PR-Merge, mehrere Builds pro Tag. Am instabilsten.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Möchten Sie {{name}} wirklich deinstallieren? Diese Fähigkeit wird vom aktuellen Agenten entfernt.","tools.builtins.uninstallConfirm.title": "{{name}} deinstallieren","tools.builtins.uninstalled": "Deinstalliert",- "tools.disabled": "Das aktuelle Modell unterstützt keine Funktionsaufrufe und kann die Fähigkeit nicht nutzen","tools.composio.addServer": "Server hinzufügen","tools.composio.authCompleted": "Authentifizierung abgeschlossen","tools.composio.authFailed": "Authentifizierung fehlgeschlagen",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Composio-Dienst nicht aktiviert","tools.composio.oauthRequired": "Bitte schließen Sie die OAuth-Authentifizierung im neuen Fenster ab","tools.composio.pendingAuth": "Authentifizierung ausstehend",+ "tools.composio.reauthorize": "Erneut autorisieren",+ "tools.composio.remove": "Entfernen",+ "tools.composio.removeConfirm.desc": "{{name}} wird dauerhaft aus Ihren verbundenen Diensten entfernt. Diese Aktion kann nicht rückgängig gemacht werden.",+ "tools.composio.removeConfirm.title": "{{name}} entfernen?","tools.composio.serverCreated": "Server erfolgreich erstellt","tools.composio.serverCreatedFailed": "Servererstellung fehlgeschlagen","tools.composio.serverRemoved": "Server entfernt",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Integrieren Sie Zendesk, um Support-Tickets und Kundeninteraktionen zu verwalten. Anfragen erstellen, aktualisieren und verfolgen, Kundendaten abrufen und Ihre Supportprozesse optimieren.","tools.composio.tools": "Werkzeuge","tools.composio.verifyAuth": "Ich habe die Authentifizierung abgeschlossen",+ "tools.disabled": "Das aktuelle Modell unterstützt keine Funktionsaufrufe und kann die Fähigkeit nicht nutzen","tools.lobehubSkill.authorize": "Autorisieren","tools.lobehubSkill.connect": "Verbinden","tools.lobehubSkill.connected": "Verbunden",diff --git a/locales/de-DE/topic.json b/locales/de-DE/topic.jsonindex 6034f46fd29..3840a6e80b1 100644--- a/locales/de-DE/topic.json+++ b/locales/de-DE/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Favorit","actions.import": "Konversation importieren","actions.markCompleted": "Als abgeschlossen markieren",+ "actions.moveToAgent": "Zu einem anderen Assistenten wechseln","actions.openInNewTab": "In neuem Tab öffnen","actions.openInNewWindow": "In neuem Fenster öffnen","actions.removeAll": "Alle Themen löschen",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Sie sind dabei, {{count}} Themen zu löschen. Diese Aktion kann nicht rückgängig gemacht werden.","management.bulk.deleteTitle": "Themen löschen?","management.bulk.favorite": "Favorisieren",+ "management.bulk.move": "Zum Assistenten wechseln",+ "management.bulk.moveEmpty": "Keine anderen Assistenten",+ "management.bulk.moveSearchPlaceholder": "Assistenten suchen…","management.bulk.selectedCount_one": "{{count}} ausgewählt","management.bulk.selectedCount_other": "{{count}} ausgewählt","management.card.noPreview": "Keine Vorschau verfügbar",@@ -118,6 +122,17 @@"management.group.noProject": "Kein Projekt","management.group.none": "Keine","management.loadingMore": "Weitere Themen werden geladen…",+ "management.moveModal.back": "Zurück",+ "management.moveModal.confirmContent_one": "{{count}} Thema zu „{{title}}“ verschieben?",+ "management.moveModal.confirmContent_other": "{{count}} Themen zu „{{title}}“ verschieben?",+ "management.moveModal.confirmOk": "Verschieben",+ "management.moveModal.doneOk": "Fertig",+ "management.moveModal.done_one": "{{count}} Thema verschoben",+ "management.moveModal.done_other": "{{count}} Themen verschoben",+ "management.moveModal.error": "Verschieben fehlgeschlagen, bitte versuchen Sie es erneut",+ "management.moveModal.goToTarget": "Zu „{{title}}“ wechseln",+ "management.moveModal.moving": "Verschiebe…",+ "management.moveModal.title": "Themen verschieben","management.searchPlaceholder": "Themen dieses Agenten durchsuchen…","management.sidebarEntry": "Themen","management.sort.createdAt": "Erstellungszeit",diff --git a/locales/en-US/file.json b/locales/en-US/file.jsonindex 5e62e5542a0..22044aa00f2 100644--- a/locales/en-US/file.json+++ b/locales/en-US/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Failed to duplicate the page","pageEditor.duplicateSuccess": "Page duplicated successfully","pageEditor.editMode.checking": "Checking edit availability…",+ "pageEditor.editMode.draftRestoreCancel": "Discard",+ "pageEditor.editMode.draftRestoreContent": "Found unsaved local changes from your last session. Restore them?",+ "pageEditor.editMode.draftRestoreOk": "Restore",+ "pageEditor.editMode.draftRestoreTitle": "Restore Unsaved Draft",+ "pageEditor.editMode.lockLostDescription": "Recent edits haven’t synced yet. They’ll resume saving once the connection recovers.",+ "pageEditor.editMode.lockLostTitle": "Edit lock temporarily lost",+ "pageEditor.editMode.lockUnstable": "Reconnecting edit lock…","pageEditor.editMode.lockedByOther": "{{name}} is editing this document",+ "pageEditor.editMode.lockedBySelf": "You’re editing this document in another tab",+ "pageEditor.editMode.lockedBySelfDescription": "Saves will resume after the other session closes or its lock expires (~30s).","pageEditor.editMode.lockedBySomeone": "Someone else is editing this document",+ "pageEditor.editMode.lockedDescription": "The page is read-only while they edit. Your changes won’t be saved until they’re done.","pageEditor.editedAt": "Last edited on {{time}}","pageEditor.editedBy": "Last edited by {{name}}","pageEditor.editorPlaceholder": "Press \"/\" for AI and commands.",diff --git a/locales/en-US/setting.json b/locales/en-US/setting.jsonindex 09d53ee1883..c7a0138dcad 100644--- a/locales/en-US/setting.json+++ b/locales/en-US/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Skill Request] Summarize the skill you need in one sentence","skillStore.wantMore.reachedEnd": "You've reached the end. Can't find what you need?","startConversation": "Start Conversation",- "storage.actions.copyAgentGroups.button": "Copy To",+ "storage.actions.copyAgentGroups.button": "Copy to...","storage.actions.copyAgentGroups.desc": "Copy agent groups and their member agents into another workspace or personal account.","storage.actions.copyAgentGroups.title": "Agent Groups Copy","storage.actions.copyLobeAI.button": "Copy to...",diff --git a/locales/en-US/tool.json b/locales/en-US/tool.jsonindex 624e3df2a12..edd8e497d85 100644--- a/locales/en-US/tool.json+++ b/locales/en-US/tool.json@@ -202,10 +202,6 @@"securityBlacklist.sshPrivateKeys": "Reading SSH private keys can compromise system security","securityBlacklist.sudoers": "Modifying sudoers file without proper validation is dangerous","securityBlacklist.suidShells": "Setting SUID on shells or interpreters is a security risk",- "connector.edit": "Edit",- "connector.edit.success": "Connector updated",- "connector.uninstall": "Uninstall",- "connector.uninstallConfirm": "Are you sure you want to uninstall this connector?","updateArgs.duplicateKeyError": "Field key must be unique","updateArgs.form.add": "Add an Item","updateArgs.form.key": "Field Key",diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.jsonindex de5b44a5381..5fcfdc7955a 100644--- a/locales/es-ES/chat.json+++ b/locales/es-ES/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Copiloto integrado","chatList.expandMessage": "Expandir mensaje","chatList.longMessageDetail": "Ver detalles",+ "chatList.refreshing": "Obteniendo los mensajes más recientes...","chatMode.agent": "Agente","chatMode.agentCap.env": "Entorno de ejecución","chatMode.agentCap.files": "Acceso a archivos",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Extraer contenido de enlaces web","followUpPlaceholder": "Seguimiento. Usa @ para asignar tareas a otros agentes.","followUpPlaceholderHeterogeneous": "Continuar.",+ "gatewayMode.title": "Modo Gateway","group.desc": "Avanza una tarea con múltiples Agentes en un espacio compartido.","group.memberTooltip": "Hay {{count}} miembros en el grupo","group.orchestratorThinking": "El Orquestador está pensando...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Agregar mensaje de IA","input.addUser": "Agregar mensaje de usuario",+ "input.agentModeUnsupportedModel": "El modelo actual no admite llamadas de herramientas agenticas. Cambia a un modelo con capacidad de agente para obtener la mejor experiencia.","input.costEstimate.creditsPerMillionTokens": "{{credits}} créditos/M tokens","input.costEstimate.hint": "Costo estimado: ~{{credits}} créditos","input.costEstimate.inputLabel": "Entrada",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Salida {{amount}} créditos · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Escritura en caché {{amount}} créditos · ${{amount}}/M","messages.tokenDetails.average": "Precio unitario promedio",+ "messages.tokenDetails.cacheRate": "Tasa de caché","messages.tokenDetails.input": "Entrada","messages.tokenDetails.inputAudio": "Entrada de audio","messages.tokenDetails.inputCached": "Entrada en caché",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Cambiar a vista unificada","workingPanel.review.wordWrap.disable": "Desactivar ajuste de línea","workingPanel.review.wordWrap.enable": "Activar ajuste de línea",+ "workingPanel.skills.actions.comingSoon": "Próximamente",+ "workingPanel.skills.actions.delete": "Eliminar",+ "workingPanel.skills.actions.rename": "Renombrar",+ "workingPanel.skills.actions.view": "Ver",+ "workingPanel.skills.delete.agentConfirm": "¿Eliminar la habilidad “{{name}}” de este agente? Esto no se puede deshacer.",+ "workingPanel.skills.delete.error": "Error al eliminar la habilidad",+ "workingPanel.skills.delete.success": "Habilidad eliminada",+ "workingPanel.skills.delete.title": "¿Eliminar habilidad?",+ "workingPanel.skills.delete.userConfirm": "¿Desinstalar la habilidad “{{name}}”? Esto no se puede deshacer.",+ "workingPanel.skills.detail.title": "Detalles de la habilidad","workingPanel.skills.empty": "No se encontraron habilidades en este proyecto",+ "workingPanel.skills.rename.action": "Renombrar",+ "workingPanel.skills.rename.error": "Error al renombrar la habilidad",+ "workingPanel.skills.rename.placeholder": "Nombre de la habilidad",+ "workingPanel.skills.rename.title": "Renombrar habilidad","workingPanel.skills.section.agent": "Habilidades del agente","workingPanel.skills.section.project": "Habilidades del proyecto","workingPanel.skills.section.user": "Habilidades del usuario",diff --git a/locales/es-ES/electron.json b/locales/es-ES/electron.jsonindex c09871e718f..da8d9963382 100644--- a/locales/es-ES/electron.json+++ b/locales/es-ES/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Agregar columna",+ "fleet.allShown": "Se muestran todas las tareas en ejecución",+ "fleet.backToHome": "Volver a inicio",+ "fleet.closeColumn": "Cerrar columna",+ "fleet.createTask": "Crear tarea",+ "fleet.empty": "No hay tareas abiertas",+ "fleet.emptyDesc": "Selecciona una tarea en ejecución a la izquierda o usa + para agregar una columna.",+ "fleet.noRunningTasks": "No hay tareas en ejecución",+ "fleet.openInChat": "Abrir en el chat",+ "fleet.reply": "Responder",+ "fleet.runningTasks": "Tareas en ejecución",+ "fleet.status.idle": "Inactivo",+ "fleet.status.paused": "Pausado",+ "fleet.status.running": "En ejecución",+ "fleet.status.scheduled": "Programado",+ "fleet.tooltip": "Ver todos los agentes uno al lado del otro","gateway.description": "Descripción","gateway.descriptionPlaceholder": "Opcional","gateway.deviceName": "Nombre del Dispositivo",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Memoria - Identidades","navigation.memoryPreferences": "Memoria - Preferencias","navigation.noPages": "Aún no hay páginas",+ "navigation.observation": "Modo de observación","navigation.onboarding": "Incorporación","navigation.page": "Página","navigation.pages": "Páginas",diff --git a/locales/es-ES/file.json b/locales/es-ES/file.jsonindex 8b1244e493e..a46e6eebaf0 100644--- a/locales/es-ES/file.json+++ b/locales/es-ES/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Error al duplicar la página","pageEditor.duplicateSuccess": "Página duplicada correctamente","pageEditor.editMode.checking": "Comprobando la disponibilidad de edición…",+ "pageEditor.editMode.draftRestoreCancel": "Descartar",+ "pageEditor.editMode.draftRestoreContent": "Se encontraron cambios locales no guardados de tu última sesión. ¿Restaurarlos?",+ "pageEditor.editMode.draftRestoreOk": "Restaurar",+ "pageEditor.editMode.draftRestoreTitle": "Restaurar borrador no guardado",+ "pageEditor.editMode.lockLostDescription": "Los cambios recientes aún no se han sincronizado. La guardado se reanudará una vez que se recupere la conexión.",+ "pageEditor.editMode.lockLostTitle": "Bloqueo de edición perdido temporalmente",+ "pageEditor.editMode.lockUnstable": "Reconectando el bloqueo de edición…","pageEditor.editMode.lockedByOther": "{{name}} está editando este documento",+ "pageEditor.editMode.lockedBySelf": "Estás editando este documento en otra pestaña",+ "pageEditor.editMode.lockedBySelfDescription": "El guardado se reanudará después de que la otra sesión se cierre o su bloqueo expire (~30s).","pageEditor.editMode.lockedBySomeone": "Alguien más está editando este documento",+ "pageEditor.editMode.lockedDescription": "La página está en modo de solo lectura mientras ellos editan. Tus cambios no se guardarán hasta que terminen.","pageEditor.editedAt": "Última edición el {{time}}","pageEditor.editedBy": "Última edición por {{name}}","pageEditor.editorPlaceholder": "Presiona \"/\" para IA y comandos",diff --git a/locales/es-ES/labs.json b/locales/es-ES/labs.jsonindex ccde4fe5b2c..cb0942b813c 100644--- a/locales/es-ES/labs.json+++ b/locales/es-ES/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Autoiteración del agente","features.assistantMessageGroup.desc": "Agrupa los mensajes del agente y los resultados de sus herramientas para mostrarlos juntos","features.assistantMessageGroup.title": "Agrupación de Mensajes del Agente",- "features.gatewayMode.desc": "Ejecuta las tareas del agente en el servidor a través del WebSocket de Gateway en lugar de hacerlo localmente. Permite una ejecución más rápida y reduce el uso de recursos del cliente.",- "features.gatewayMode.title": "Ejecución del agente del lado del servidor (Gateway)",+ "features.fleet.desc": "Mostrar la entrada de Fleet en la barra de título: un panel de control lado a lado de todas las tareas en ejecución en tus agentes.",+ "features.fleet.title": "Vista de Fleet","features.groupChat.desc": "Activa la coordinación de chat grupal con múltiples agentes.","features.groupChat.title": "Chat Grupal (Multiagente)","features.imessage.desc": "Conectar agentes a iMessage a través del puente local LobeHub Desktop BlueBubbles.",diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.jsonindex 1d18f378991..dadc45de79e 100644--- a/locales/es-ES/setting.json+++ b/locales/es-ES/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Solicitud de habilidad] Resume en una frase la habilidad que necesitas","skillStore.wantMore.reachedEnd": "Has llegado al final. ¿No encuentras lo que necesitas?","startConversation": "Iniciar Conversación",- "storage.actions.copyAgentGroups.button": "Copiar a",+ "storage.actions.copyAgentGroups.button": "Copiar a...","storage.actions.copyAgentGroups.desc": "Copia grupos de agentes y sus miembros en otro espacio de trabajo o cuenta personal.","storage.actions.copyAgentGroups.title": "Copiar grupos de agentes","storage.actions.copyLobeAI.button": "Copiar a",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Agregar habilidad personalizada","tab.advanced": "Avanzado","tab.advanced.appUpdates.title": "Actualizaciones de la aplicación",+ "tab.advanced.gatewayMode.desc": "Ejecuta tareas de agentes compatibles a través del Gateway en la nube por defecto. Los agentes individuales pueden anular esto desde el menú de chat.",+ "tab.advanced.gatewayMode.title": "Modo Gateway","tab.advanced.toolsAndDiagnostics.title": "Herramientas y diagnósticos","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Activado con cada fusión de PR, múltiples compilaciones por día. El más inestable.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "¿Estás seguro de que deseas desinstalar {{name}}? Esta habilidad se eliminará del agente actual.","tools.builtins.uninstallConfirm.title": "Desinstalar {{name}}","tools.builtins.uninstalled": "Desinstalado",- "tools.disabled": "El modelo actual no admite llamadas a funciones y no puede usar esta habilidad","tools.composio.addServer": "Agregar Servidor","tools.composio.authCompleted": "Autenticación Completada","tools.composio.authFailed": "Autenticación Fallida",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Servicio Composio no habilitado","tools.composio.oauthRequired": "Por favor, completa la autenticación OAuth en la nueva ventana","tools.composio.pendingAuth": "Autenticación Pendiente",+ "tools.composio.reauthorize": "Reautorizar",+ "tools.composio.remove": "Eliminar",+ "tools.composio.removeConfirm.desc": "{{name}} se eliminará permanentemente de tus servicios conectados. Esta acción no se puede deshacer.",+ "tools.composio.removeConfirm.title": "¿Eliminar {{name}}?","tools.composio.serverCreated": "Servidor creado con éxito","tools.composio.serverCreatedFailed": "Error al crear el servidor","tools.composio.serverRemoved": "Servidor eliminado",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Integra con Zendesk para gestionar tickets de soporte e interacciones con clientes. Crea, actualiza y sigue solicitudes de soporte, accede a datos de clientes y optimiza tus operaciones de atención al cliente.","tools.composio.tools": "herramientas","tools.composio.verifyAuth": "He completado la autenticación",+ "tools.disabled": "El modelo actual no admite llamadas a funciones y no puede usar esta habilidad","tools.lobehubSkill.authorize": "Autorizar","tools.lobehubSkill.connect": "Conectar","tools.lobehubSkill.connected": "Conectado",diff --git a/locales/es-ES/topic.json b/locales/es-ES/topic.jsonindex 5ef76f9760a..939099b4012 100644--- a/locales/es-ES/topic.json+++ b/locales/es-ES/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Favorito","actions.import": "Importar conversación","actions.markCompleted": "Marcar como completada",+ "actions.moveToAgent": "Mover a otro asistente","actions.openInNewTab": "Abrir en una nueva pestaña","actions.openInNewWindow": "Abrir en una nueva ventana","actions.removeAll": "Eliminar todos los temas",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Estás a punto de eliminar {{count}} temas. Esta acción no se puede deshacer.","management.bulk.deleteTitle": "¿Eliminar temas?","management.bulk.favorite": "Favorito",+ "management.bulk.move": "Mover al asistente",+ "management.bulk.moveEmpty": "No hay otros asistentes",+ "management.bulk.moveSearchPlaceholder": "Buscar asistentes…","management.bulk.selectedCount_one": "{{count}} seleccionado","management.bulk.selectedCount_other": "{{count}} seleccionados","management.card.noPreview": "Vista previa no disponible",@@ -118,6 +122,17 @@"management.group.noProject": "Sin proyecto","management.group.none": "Ninguno","management.loadingMore": "Cargando más temas…",+ "management.moveModal.back": "Atrás",+ "management.moveModal.confirmContent_one": "¿Mover {{count}} tema a “{{title}}”?",+ "management.moveModal.confirmContent_other": "¿Mover {{count}} temas a “{{title}}”?",+ "management.moveModal.confirmOk": "Mover",+ "management.moveModal.doneOk": "Hecho",+ "management.moveModal.done_one": "{{count}} tema movido",+ "management.moveModal.done_other": "{{count}} temas movidos",+ "management.moveModal.error": "Error al mover, por favor inténtalo de nuevo",+ "management.moveModal.goToTarget": "Ir a “{{title}}”",+ "management.moveModal.moving": "Moviendo…",+ "management.moveModal.title": "Mover temas","management.searchPlaceholder": "Buscar temas de este agente…","management.sidebarEntry": "Temas","management.sort.createdAt": "Hora de creación",diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.jsonindex 0e3e6a1de1a..aba039baae9 100644--- a/locales/fa-IR/chat.json+++ b/locales/fa-IR/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "همیار داخلی","chatList.expandMessage": "گسترش پیام","chatList.longMessageDetail": "مشاهده جزئیات",+ "chatList.refreshing": "در حال دریافت پیامهای جدید...","chatMode.agent": "نماینده","chatMode.agentCap.env": "محیط اجرایی","chatMode.agentCap.files": "دسترسی به فایل",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "استخراج محتوای پیوند وب","followUpPlaceholder": "پیگیری. برای واگذاری وظیفه به عاملهای دیگر از @ استفاده کنید.","followUpPlaceholderHeterogeneous": "پیگیری.",+ "gatewayMode.title": "حالت دروازه","group.desc": "با چند عامل در یک فضای مشترک، یک وظیفه را پیش ببرید.","group.memberTooltip": "{{count}} عضو در گروه وجود دارد","group.orchestratorThinking": "هماهنگکننده در حال تفکر است...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "افزودن پیام هوش مصنوعی","input.addUser": "افزودن پیام کاربر",+ "input.agentModeUnsupportedModel": "مدل فعلی از فراخوانی ابزارهای عامل پشتیبانی نمیکند. برای بهترین تجربه به مدلی با قابلیت عامل تغییر دهید.","input.costEstimate.creditsPerMillionTokens": "{{credits}} اعتبار/میلیون توکن","input.costEstimate.hint": "هزینه تخمینی: ~{{credits}} اعتبار","input.costEstimate.inputLabel": "ورودی",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "خروجی {{amount}} اعتبار · ${{amount}}/میلیون","messages.modelCard.pricing.writeCacheInputTokens": "نوشتن در کش {{amount}} اعتبار · ${{amount}}/میلیون","messages.tokenDetails.average": "میانگین قیمت واحد",+ "messages.tokenDetails.cacheRate": "نرخ کش","messages.tokenDetails.input": "ورودی","messages.tokenDetails.inputAudio": "ورودی صوتی","messages.tokenDetails.inputCached": "ورودی کششده",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "تغییر به نمای یکپارچه","workingPanel.review.wordWrap.disable": "غیرفعال کردن پیچش کلمات","workingPanel.review.wordWrap.enable": "فعال کردن پیچش کلمات",+ "workingPanel.skills.actions.comingSoon": "به زودی",+ "workingPanel.skills.actions.delete": "حذف",+ "workingPanel.skills.actions.rename": "تغییر نام",+ "workingPanel.skills.actions.view": "مشاهده",+ "workingPanel.skills.delete.agentConfirm": "مهارت «{{name}}» را از این عامل حذف کنید؟ این عمل قابل بازگشت نیست.",+ "workingPanel.skills.delete.error": "حذف مهارت ناموفق بود",+ "workingPanel.skills.delete.success": "مهارت حذف شد",+ "workingPanel.skills.delete.title": "حذف مهارت؟",+ "workingPanel.skills.delete.userConfirm": "آیا مهارت «{{name}}» را حذف میکنید؟ این عمل قابل بازگشت نیست.",+ "workingPanel.skills.detail.title": "جزئیات مهارت","workingPanel.skills.empty": "هیچ مهارتی در این پروژه یافت نشد",+ "workingPanel.skills.rename.action": "تغییر نام",+ "workingPanel.skills.rename.error": "تغییر نام مهارت ناموفق بود",+ "workingPanel.skills.rename.placeholder": "نام مهارت",+ "workingPanel.skills.rename.title": "تغییر نام مهارت","workingPanel.skills.section.agent": "مهارتهای عامل","workingPanel.skills.section.project": "مهارتهای پروژه","workingPanel.skills.section.user": "مهارتهای کاربر",diff --git a/locales/fa-IR/electron.json b/locales/fa-IR/electron.jsonindex 24ec52e0f64..e36f04eda38 100644--- a/locales/fa-IR/electron.json+++ b/locales/fa-IR/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "افزودن ستون",+ "fleet.allShown": "تمام وظایف در حال اجرا نمایش داده شدهاند",+ "fleet.backToHome": "بازگشت به خانه",+ "fleet.closeColumn": "بستن ستون",+ "fleet.createTask": "ایجاد وظیفه",+ "fleet.empty": "هیچ وظیفهای باز نیست",+ "fleet.emptyDesc": "یک وظیفه در حال اجرا را از سمت چپ انتخاب کنید یا از + برای افزودن ستون استفاده کنید.",+ "fleet.noRunningTasks": "هیچ وظیفهای در حال اجرا نیست",+ "fleet.openInChat": "باز کردن در چت",+ "fleet.reply": "پاسخ",+ "fleet.runningTasks": "وظایف در حال اجرا",+ "fleet.status.idle": "بیکار",+ "fleet.status.paused": "متوقف شده",+ "fleet.status.running": "در حال اجرا",+ "fleet.status.scheduled": "برنامهریزی شده",+ "fleet.tooltip": "مشاهده تمام عوامل در کنار یکدیگر","gateway.description": "توضیحات","gateway.descriptionPlaceholder": "اختیاری","gateway.deviceName": "نام دستگاه",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "حافظه - هویتها","navigation.memoryPreferences": "حافظه - ترجیحات","navigation.noPages": "هنوز صفحهای وجود ندارد",+ "navigation.observation": "حالت مشاهده","navigation.onboarding": "راهاندازی","navigation.page": "صفحه","navigation.pages": "صفحات",diff --git a/locales/fa-IR/file.json b/locales/fa-IR/file.jsonindex f9ea0e32881..88dab25cccd 100644--- a/locales/fa-IR/file.json+++ b/locales/fa-IR/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "تکثیر صفحه ناموفق بود","pageEditor.duplicateSuccess": "صفحه با موفقیت تکثیر شد","pageEditor.editMode.checking": "در حال بررسی امکان ویرایش...",+ "pageEditor.editMode.draftRestoreCancel": "لغو",+ "pageEditor.editMode.draftRestoreContent": "تغییرات ذخیرهنشده محلی از جلسه قبلی شما یافت شد. آیا میخواهید آنها را بازیابی کنید؟",+ "pageEditor.editMode.draftRestoreOk": "بازیابی",+ "pageEditor.editMode.draftRestoreTitle": "بازیابی پیشنویس ذخیرهنشده",+ "pageEditor.editMode.lockLostDescription": "ویرایشهای اخیر هنوز همگامسازی نشدهاند. ذخیرهسازی پس از بازیابی اتصال ادامه خواهد یافت.",+ "pageEditor.editMode.lockLostTitle": "قفل ویرایش به طور موقت از دست رفت",+ "pageEditor.editMode.lockUnstable": "در حال اتصال مجدد به قفل ویرایش...","pageEditor.editMode.lockedByOther": "{{name}} در حال ویرایش این سند است",+ "pageEditor.editMode.lockedBySelf": "شما در حال ویرایش این سند در یک تب دیگر هستید",+ "pageEditor.editMode.lockedBySelfDescription": "ذخیرهسازی پس از بسته شدن جلسه دیگر یا انقضای قفل آن (~30 ثانیه) ادامه خواهد یافت.","pageEditor.editMode.lockedBySomeone": "شخص دیگری در حال ویرایش این سند است",+ "pageEditor.editMode.lockedDescription": "صفحه در حالت فقط خواندنی است در حالی که آنها در حال ویرایش هستند. تغییرات شما ذخیره نخواهد شد تا زمانی که آنها کارشان را تمام کنند.","pageEditor.editedAt": "آخرین ویرایش در {{time}}","pageEditor.editedBy": "آخرین ویرایش توسط {{name}}","pageEditor.editorPlaceholder": "برای هوش مصنوعی و دستورات \"/\" را فشار دهید",diff --git a/locales/fa-IR/labs.json b/locales/fa-IR/labs.jsonindex 1d0c37de6c3..0681bbefa3f 100644--- a/locales/fa-IR/labs.json+++ b/locales/fa-IR/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "خودتکراری عامل","features.assistantMessageGroup.desc": "نمایش گروهی پیامهای عامل و نتایج ابزارهای فراخوانیشده بهصورت یکجا","features.assistantMessageGroup.title": "گروهبندی پیامهای عامل",- "features.gatewayMode.desc": "اجرای وظایف ایجنت روی سرور از طریق وبسوکت Gateway بهجای اجرای محلی. این کار سرعت اجرا را افزایش داده و مصرف منابع در دستگاه کاربر را کاهش میدهد.",- "features.gatewayMode.title": "اجرای ایجنت در سمت سرور (Gateway)",+ "features.fleet.desc": "نمایش گزینه Fleet در نوار عنوان — یک داشبورد کنار هم از تمام وظایف در حال اجرا در میان عوامل شما.",+ "features.fleet.title": "نمای Fleet","features.groupChat.desc": "فعالسازی هماهنگی گفتوگوی گروهی چندعاملی.","features.groupChat.title": "گفتوگوی گروهی (چندعاملی)","features.imessage.desc": "اتصال نمایندگان به iMessage از طریق پل BlueBubbles دسکتاپ LobeHub محلی.",diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.jsonindex 852ecf8394f..a2af9f55a82 100644--- a/locales/fa-IR/setting.json+++ b/locales/fa-IR/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[درخواست مهارت] مهارتی که نیاز دارید را در یک جمله خلاصه کنید","skillStore.wantMore.reachedEnd": "به انتها رسیدید. چیزی که نیاز دارید را پیدا نکردید؟","startConversation": "شروع گفتگو",- "storage.actions.copyAgentGroups.button": "کپی به",+ "storage.actions.copyAgentGroups.button": "کپی به...","storage.actions.copyAgentGroups.desc": "گروههای عامل و اعضای آنها را به فضای کاری دیگر یا حساب شخصی کپی کنید.","storage.actions.copyAgentGroups.title": "کپی گروههای عامل","storage.actions.copyLobeAI.button": "کپی به",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "افزودن مهارت سفارشی","tab.advanced": "پیشرفته","tab.advanced.appUpdates.title": "بهروزرسانیهای برنامه",+ "tab.advanced.gatewayMode.desc": "اجرای وظایف پشتیبانی شدهی عاملها به صورت پیشفرض از طریق دروازه ابری. عاملهای جداگانه میتوانند این تنظیم را از منوی چت تغییر دهند.",+ "tab.advanced.gatewayMode.title": "حالت دروازه","tab.advanced.toolsAndDiagnostics.title": "ابزارها و تشخیصها","tab.advanced.updateChannel.canary": "کناری","tab.advanced.updateChannel.canaryDesc": "فعالشده با هر ادغام PR، چندین ساخت در روز. ناپایدارترین.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "آیا مطمئن هستید که میخواهید {{name}} را حذف نصب کنید؟ این مهارت از عامل فعلی حذف خواهد شد.","tools.builtins.uninstallConfirm.title": "حذف نصب {{name}}","tools.builtins.uninstalled": "حذف نصب شد",- "tools.disabled": "مدل فعلی از فراخوانی توابع پشتیبانی نمیکند و نمیتواند از این مهارت استفاده کند","tools.composio.addServer": "افزودن سرور","tools.composio.authCompleted": "احراز هویت کامل شد","tools.composio.authFailed": "احراز هویت ناموفق بود",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "سرویس Composio فعال نیست","tools.composio.oauthRequired": "لطفاً احراز هویت OAuth را در پنجره جدید کامل کنید","tools.composio.pendingAuth": "در انتظار احراز هویت",+ "tools.composio.reauthorize": "مجدد مجاز کنید",+ "tools.composio.remove": "حذف",+ "tools.composio.removeConfirm.desc": "{{name}} به طور دائمی از خدمات متصل شما حذف خواهد شد. این عمل قابل بازگشت نیست.",+ "tools.composio.removeConfirm.title": "حذف {{name}}؟","tools.composio.serverCreated": "سرور با موفقیت ایجاد شد","tools.composio.serverCreatedFailed": "ایجاد سرور ناموفق بود","tools.composio.serverRemoved": "سرور حذف شد",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "با Zendesk یکپارچه شوید تا تیکتهای پشتیبانی و تعاملات مشتری را مدیریت کنید. درخواستهای پشتیبانی را ایجاد، بهروزرسانی و پیگیری کرده، به دادههای مشتری دسترسی داشته و عملیات پشتیبانی خود را بهینه نمایید.","tools.composio.tools": "ابزارها","tools.composio.verifyAuth": "احراز هویت را کامل کردهام",+ "tools.disabled": "مدل فعلی از فراخوانی توابع پشتیبانی نمیکند و نمیتواند از این مهارت استفاده کند","tools.lobehubSkill.authorize": "اعطا مجوز","tools.lobehubSkill.connect": "اتصال","tools.lobehubSkill.connected": "متصل شد",diff --git a/locales/fa-IR/topic.json b/locales/fa-IR/topic.jsonindex e2cdfe5499e..8568a1cae85 100644--- a/locales/fa-IR/topic.json+++ b/locales/fa-IR/topic.json@@ -16,6 +16,7 @@"actions.favorite": "مورد علاقه","actions.import": "وارد کردن گفتوگو","actions.markCompleted": "علامتگذاری بهعنوان انجامشده",+ "actions.moveToAgent": "انتقال به دستیار دیگر","actions.openInNewTab": "باز کردن در تب جدید","actions.openInNewWindow": "باز کردن در پنجره جدید","actions.removeAll": "حذف تمام گفتوگوها",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "شما در حال حذف {{count}} موضوع هستید. این عمل قابل بازگشت نیست.","management.bulk.deleteTitle": "حذف موضوعات؟","management.bulk.favorite": "مورد علاقه",+ "management.bulk.move": "انتقال به دستیار",+ "management.bulk.moveEmpty": "هیچ دستیار دیگری وجود ندارد",+ "management.bulk.moveSearchPlaceholder": "جستجوی دستیارها...","management.bulk.selectedCount_one": "{{count}} انتخاب شده","management.bulk.selectedCount_other": "{{count}} انتخاب شده","management.card.noPreview": "پیشنمایشی در دسترس نیست",@@ -118,6 +122,17 @@"management.group.noProject": "بدون پروژه","management.group.none": "هیچکدام","management.loadingMore": "در حال بارگذاری موضوعات بیشتر...",+ "management.moveModal.back": "بازگشت",+ "management.moveModal.confirmContent_one": "آیا {{count}} موضوع به «{{title}}» منتقل شود؟",+ "management.moveModal.confirmContent_other": "آیا {{count}} موضوع به «{{title}}» منتقل شوند؟",+ "management.moveModal.confirmOk": "انتقال",+ "management.moveModal.doneOk": "انجام شد",+ "management.moveModal.done_one": "{{count}} موضوع منتقل شد",+ "management.moveModal.done_other": "{{count}} موضوع منتقل شدند",+ "management.moveModal.error": "انتقال ناموفق بود، لطفاً دوباره تلاش کنید",+ "management.moveModal.goToTarget": "رفتن به «{{title}}»",+ "management.moveModal.moving": "در حال انتقال...",+ "management.moveModal.title": "انتقال موضوعات","management.searchPlaceholder": "جستجوی موضوعات این عامل...","management.sidebarEntry": "موضوعات","management.sort.createdAt": "زمان ایجاد",diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.jsonindex 4d599adf4f3..813165982cf 100644--- a/locales/fr-FR/chat.json+++ b/locales/fr-FR/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Copilote intégré","chatList.expandMessage": "Développer le message","chatList.longMessageDetail": "Voir les détails",+ "chatList.refreshing": "Récupération des derniers messages...","chatMode.agent": "Agent","chatMode.agentCap.env": "Environnement d'exécution","chatMode.agentCap.files": "Accès aux fichiers",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Extraire le contenu des liens web","followUpPlaceholder": "Donner suite. @ pour attribuer des tâches à d’autres agents.","followUpPlaceholderHeterogeneous": "Poursuivre.",+ "gatewayMode.title": "Mode Passerelle","group.desc": "Faites avancer une tâche avec plusieurs agents dans un espace partagé.","group.memberTooltip": "Il y a {{count}} membres dans le groupe","group.orchestratorThinking": "L’orchestrateur réfléchit...",@@ -245,6 +247,7 @@"inbox.title": "Lobe IA","input.addAi": "Ajouter un message IA","input.addUser": "Ajouter un message utilisateur",+ "input.agentModeUnsupportedModel": "Le modèle actuel ne prend pas en charge l'appel d'outils agentiques. Passez à un modèle avec des capacités d'agent pour une meilleure expérience.","input.costEstimate.creditsPerMillionTokens": "{{credits}} crédits/M tokens","input.costEstimate.hint": "Coût estimé : ~{{credits}} crédits","input.costEstimate.inputLabel": "Entrée",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Sortie {{amount}} crédits · {{amount}} $/M","messages.modelCard.pricing.writeCacheInputTokens": "Écriture en cache {{amount}} crédits · {{amount}} $/M","messages.tokenDetails.average": "Prix unitaire moyen",+ "messages.tokenDetails.cacheRate": "Taux de mise en cache","messages.tokenDetails.input": "Entrée","messages.tokenDetails.inputAudio": "Entrée audio","messages.tokenDetails.inputCached": "Entrée en cache",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Passer à la vue unifiée","workingPanel.review.wordWrap.disable": "Désactiver le retour à la ligne","workingPanel.review.wordWrap.enable": "Activer le retour à la ligne",+ "workingPanel.skills.actions.comingSoon": "Bientôt disponible",+ "workingPanel.skills.actions.delete": "Supprimer",+ "workingPanel.skills.actions.rename": "Renommer",+ "workingPanel.skills.actions.view": "Voir",+ "workingPanel.skills.delete.agentConfirm": "Supprimer la compétence « {{name}} » de cet agent ? Cette action est irréversible.",+ "workingPanel.skills.delete.error": "Échec de la suppression de la compétence",+ "workingPanel.skills.delete.success": "Compétence supprimée",+ "workingPanel.skills.delete.title": "Supprimer la compétence ?",+ "workingPanel.skills.delete.userConfirm": "Désinstaller la compétence « {{name}} » ? Cette action est irréversible.",+ "workingPanel.skills.detail.title": "Détails de la compétence","workingPanel.skills.empty": "Aucune compétence trouvée dans ce projet",+ "workingPanel.skills.rename.action": "Renommer",+ "workingPanel.skills.rename.error": "Échec du renommage de la compétence",+ "workingPanel.skills.rename.placeholder": "Nom de la compétence",+ "workingPanel.skills.rename.title": "Renommer la compétence","workingPanel.skills.section.agent": "Compétences de l'agent","workingPanel.skills.section.project": "Compétences du projet","workingPanel.skills.section.user": "Compétences de l'utilisateur",diff --git a/locales/fr-FR/electron.json b/locales/fr-FR/electron.jsonindex 74d2f18fd08..858e30af89e 100644--- a/locales/fr-FR/electron.json+++ b/locales/fr-FR/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Ajouter une colonne",+ "fleet.allShown": "Toutes les tâches en cours sont affichées",+ "fleet.backToHome": "Retour à l'accueil",+ "fleet.closeColumn": "Fermer la colonne",+ "fleet.createTask": "Créer une tâche",+ "fleet.empty": "Aucune tâche ouverte",+ "fleet.emptyDesc": "Choisissez une tâche en cours à gauche, ou utilisez + pour ajouter une colonne.",+ "fleet.noRunningTasks": "Aucune tâche en cours",+ "fleet.openInChat": "Ouvrir dans le chat",+ "fleet.reply": "Répondre",+ "fleet.runningTasks": "Tâches en cours",+ "fleet.status.idle": "Inactif",+ "fleet.status.paused": "En pause",+ "fleet.status.running": "En cours",+ "fleet.status.scheduled": "Planifié",+ "fleet.tooltip": "Voir tous les agents côte à côte","gateway.description": "Description","gateway.descriptionPlaceholder": "Optionnel","gateway.deviceName": "Nom de l'appareil",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Mémoire - Identités","navigation.memoryPreferences": "Mémoire - Préférences","navigation.noPages": "Aucune page pour le moment",+ "navigation.observation": "Mode Observation","navigation.onboarding": "Intégration","navigation.page": "Page","navigation.pages": "Pages",diff --git a/locales/fr-FR/file.json b/locales/fr-FR/file.jsonindex fd551a070b4..5b392aee990 100644--- a/locales/fr-FR/file.json+++ b/locales/fr-FR/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Échec de la duplication de la page","pageEditor.duplicateSuccess": "Page dupliquée avec succès","pageEditor.editMode.checking": "Vérification de la disponibilité de l'édition…",+ "pageEditor.editMode.draftRestoreCancel": "Annuler",+ "pageEditor.editMode.draftRestoreContent": "Des modifications locales non enregistrées de votre dernière session ont été trouvées. Les restaurer ?",+ "pageEditor.editMode.draftRestoreOk": "Restaurer",+ "pageEditor.editMode.draftRestoreTitle": "Restaurer le brouillon non enregistré",+ "pageEditor.editMode.lockLostDescription": "Les modifications récentes ne se sont pas encore synchronisées. Elles reprendront l'enregistrement une fois la connexion rétablie.",+ "pageEditor.editMode.lockLostTitle": "Verrouillage d'édition temporairement perdu",+ "pageEditor.editMode.lockUnstable": "Reconnexion du verrouillage d'édition…","pageEditor.editMode.lockedByOther": "{{name}} est en train de modifier ce document",+ "pageEditor.editMode.lockedBySelf": "Vous modifiez ce document dans un autre onglet",+ "pageEditor.editMode.lockedBySelfDescription": "L'enregistrement reprendra après la fermeture de l'autre session ou l'expiration de son verrouillage (~30s).","pageEditor.editMode.lockedBySomeone": "Quelqu'un d'autre est en train de modifier ce document",+ "pageEditor.editMode.lockedDescription": "La page est en lecture seule pendant qu'ils modifient. Vos modifications ne seront pas enregistrées tant qu'ils n'auront pas terminé.","pageEditor.editedAt": "Dernière modification le {{time}}","pageEditor.editedBy": "Dernière modification par {{name}}","pageEditor.editorPlaceholder": "Appuyez sur \"/\" pour l'IA et les commandes",diff --git a/locales/fr-FR/labs.json b/locales/fr-FR/labs.jsonindex 74eb7f6578e..c0a7273418e 100644--- a/locales/fr-FR/labs.json+++ b/locales/fr-FR/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Auto‑itération de l’agent","features.assistantMessageGroup.desc": "Regroupez les messages de l'agent et les résultats de leurs appels d'outils pour les afficher ensemble","features.assistantMessageGroup.title": "Regroupement des messages de l'agent",- "features.gatewayMode.desc": "Exécute les tâches de l’agent sur le serveur via un WebSocket Gateway au lieu de les exécuter localement. Permet une exécution plus rapide et réduit l’utilisation des ressources du client.",- "features.gatewayMode.title": "Exécution de l’agent côté serveur (Gateway)",+ "features.fleet.desc": "Afficher l'entrée Fleet dans la barre de titre — un tableau de bord côte à côte de toutes les tâches en cours sur vos agents.",+ "features.fleet.title": "Vue Fleet","features.groupChat.desc": "Activez la coordination de discussions de groupe multi-agents.","features.groupChat.title": "Discussion de groupe (multi-agents)","features.imessage.desc": "Connecter les agents à iMessage via le pont local LobeHub Desktop BlueBubbles.",diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.jsonindex 8481e6444a8..ec4b051883f 100644--- a/locales/fr-FR/setting.json+++ b/locales/fr-FR/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Demande de compétence] Résumez la compétence dont vous avez besoin en une phrase","skillStore.wantMore.reachedEnd": "Vous êtes arrivé au bout. Vous ne trouvez pas ce que vous cherchez ?","startConversation": "Démarrer la conversation",- "storage.actions.copyAgentGroups.button": "Copier vers",+ "storage.actions.copyAgentGroups.button": "Copier vers...","storage.actions.copyAgentGroups.desc": "Copiez des groupes d'agents et leurs membres dans un autre espace de travail ou compte personnel.","storage.actions.copyAgentGroups.title": "Copie des groupes d'agents","storage.actions.copyLobeAI.button": "Copier vers",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Ajouter une compétence personnalisée","tab.advanced": "Avancé","tab.advanced.appUpdates.title": "Mises à jour de l'application",+ "tab.advanced.gatewayMode.desc": "Exécutez par défaut les tâches d'agent prises en charge via le cloud Gateway. Les agents individuels peuvent remplacer cela depuis le menu de chat.",+ "tab.advanced.gatewayMode.title": "Mode Gateway","tab.advanced.toolsAndDiagnostics.title": "Outils et diagnostics","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Déclenché à chaque fusion de PR, plusieurs builds par jour. Le moins stable.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Êtes-vous sûr de vouloir désinstaller {{name}} ? Cette compétence sera supprimée de l'agent actuel.","tools.builtins.uninstallConfirm.title": "Désinstaller {{name}}","tools.builtins.uninstalled": "Désinstallé",- "tools.disabled": "Le modèle actuel ne prend pas en charge les appels de fonction et ne peut pas utiliser cette compétence","tools.composio.addServer": "Ajouter un serveur","tools.composio.authCompleted": "Authentification terminée","tools.composio.authFailed": "Échec de l’authentification",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Service Composio non activé","tools.composio.oauthRequired": "Veuillez compléter l’authentification OAuth dans la nouvelle fenêtre","tools.composio.pendingAuth": "Authentification en attente",+ "tools.composio.reauthorize": "Réautoriser",+ "tools.composio.remove": "Supprimer",+ "tools.composio.removeConfirm.desc": "{{name}} sera définitivement supprimé de vos services connectés. Cette action est irréversible.",+ "tools.composio.removeConfirm.title": "Supprimer {{name}} ?","tools.composio.serverCreated": "Serveur créé avec succès","tools.composio.serverCreatedFailed": "Échec de la création du serveur","tools.composio.serverRemoved": "Serveur supprimé",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Intégrez Zendesk pour gérer les tickets de support et les interactions clients. Créez, mettez à jour et suivez les demandes d'assistance, accédez aux données clients et optimisez vos opérations de support.","tools.composio.tools": "outils","tools.composio.verifyAuth": "J’ai terminé l’authentification",+ "tools.disabled": "Le modèle actuel ne prend pas en charge les appels de fonction et ne peut pas utiliser cette compétence","tools.lobehubSkill.authorize": "Autoriser","tools.lobehubSkill.connect": "Connecter","tools.lobehubSkill.connected": "Connecté",diff --git a/locales/fr-FR/topic.json b/locales/fr-FR/topic.jsonindex d2424895c4f..f27b26f195c 100644--- a/locales/fr-FR/topic.json+++ b/locales/fr-FR/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Favori","actions.import": "Importer une conversation","actions.markCompleted": "Marquer comme terminé",+ "actions.moveToAgent": "Déplacer vers un autre assistant","actions.openInNewTab": "Ouvrir dans un nouvel onglet","actions.openInNewWindow": "Ouvrir dans une nouvelle fenêtre","actions.removeAll": "Supprimer tous les sujets",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Vous êtes sur le point de supprimer {{count}} sujets. Cette action est irréversible.","management.bulk.deleteTitle": "Supprimer les sujets ?","management.bulk.favorite": "Favori",+ "management.bulk.move": "Déplacer vers l'assistant",+ "management.bulk.moveEmpty": "Aucun autre assistant",+ "management.bulk.moveSearchPlaceholder": "Rechercher des assistants…","management.bulk.selectedCount_one": "{{count}} sélectionné","management.bulk.selectedCount_other": "{{count}} sélectionnés","management.card.noPreview": "Aucun aperçu disponible",@@ -118,6 +122,17 @@"management.group.noProject": "Aucun projet","management.group.none": "Aucun","management.loadingMore": "Chargement de plus de sujets…",+ "management.moveModal.back": "Retour",+ "management.moveModal.confirmContent_one": "Déplacer {{count}} sujet vers « {{title}} » ?",+ "management.moveModal.confirmContent_other": "Déplacer {{count}} sujets vers « {{title}} » ?",+ "management.moveModal.confirmOk": "Déplacer",+ "management.moveModal.doneOk": "Terminé",+ "management.moveModal.done_one": "{{count}} sujet déplacé",+ "management.moveModal.done_other": "{{count}} sujets déplacés",+ "management.moveModal.error": "Échec du déplacement, veuillez réessayer",+ "management.moveModal.goToTarget": "Aller à « {{title}} »",+ "management.moveModal.moving": "Déplacement…",+ "management.moveModal.title": "Déplacer les sujets","management.searchPlaceholder": "Rechercher les sujets de cet agent…","management.sidebarEntry": "Sujets","management.sort.createdAt": "Date de création",diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.jsonindex 1f7647052d8..091ad6ac60e 100644--- a/locales/it-IT/chat.json+++ b/locales/it-IT/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Copilota integrato","chatList.expandMessage": "Espandi messaggio","chatList.longMessageDetail": "Visualizza dettagli",+ "chatList.refreshing": "Recupero dei messaggi più recenti...","chatMode.agent": "Agente","chatMode.agentCap.env": "Ambiente di esecuzione","chatMode.agentCap.files": "Accesso ai file",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Estrai Contenuto da Link Web","followUpPlaceholder": "Follow-up. Usa @ per assegnare attività ad altri agenti.","followUpPlaceholderHeterogeneous": "Continua.",+ "gatewayMode.title": "Modalità Gateway","group.desc": "Fai avanzare un'attività con più Agenti in uno spazio condiviso.","group.memberTooltip": "Ci sono {{count}} membri nel gruppo","group.orchestratorThinking": "L'Orchestratore sta pensando...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Aggiungi un messaggio AI","input.addUser": "Aggiungi un messaggio utente",+ "input.agentModeUnsupportedModel": "Il modello attuale non supporta la chiamata di strumenti agentici. Passa a un modello con capacità agentiche per la migliore esperienza.","input.costEstimate.creditsPerMillionTokens": "{{credits}} crediti/M token","input.costEstimate.hint": "Costo stimato: ~{{credits}} crediti","input.costEstimate.inputLabel": "Input",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Output {{amount}} crediti · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Scrittura cache {{amount}} crediti · ${{amount}}/M","messages.tokenDetails.average": "Prezzo unitario medio",+ "messages.tokenDetails.cacheRate": "Tasso di cache","messages.tokenDetails.input": "Input","messages.tokenDetails.inputAudio": "Input audio","messages.tokenDetails.inputCached": "Input memorizzato",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Passa alla vista unificata","workingPanel.review.wordWrap.disable": "Disabilita ritorno a capo automatico","workingPanel.review.wordWrap.enable": "Abilita ritorno a capo automatico",+ "workingPanel.skills.actions.comingSoon": "Prossimamente",+ "workingPanel.skills.actions.delete": "Elimina",+ "workingPanel.skills.actions.rename": "Rinomina",+ "workingPanel.skills.actions.view": "Visualizza",+ "workingPanel.skills.delete.agentConfirm": "Rimuovere l'abilità “{{name}}” da questo agente? Questa operazione non può essere annullata.",+ "workingPanel.skills.delete.error": "Impossibile eliminare l'abilità",+ "workingPanel.skills.delete.success": "Abilità eliminata",+ "workingPanel.skills.delete.title": "Eliminare l'abilità?",+ "workingPanel.skills.delete.userConfirm": "Disinstallare l'abilità “{{name}}”? Questa operazione non può essere annullata.",+ "workingPanel.skills.detail.title": "Dettagli dell'abilità","workingPanel.skills.empty": "Nessuna competenza trovata in questo progetto",+ "workingPanel.skills.rename.action": "Rinomina",+ "workingPanel.skills.rename.error": "Impossibile rinominare l'abilità",+ "workingPanel.skills.rename.placeholder": "Nome dell'abilità",+ "workingPanel.skills.rename.title": "Rinomina abilità","workingPanel.skills.section.agent": "Competenze dell'agente","workingPanel.skills.section.project": "Competenze del progetto","workingPanel.skills.section.user": "Competenze dell'utente",diff --git a/locales/it-IT/electron.json b/locales/it-IT/electron.jsonindex 0b86016d527..b7e4c975279 100644--- a/locales/it-IT/electron.json+++ b/locales/it-IT/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Aggiungi colonna",+ "fleet.allShown": "Tutti i compiti in esecuzione sono mostrati",+ "fleet.backToHome": "Torna alla home",+ "fleet.closeColumn": "Chiudi colonna",+ "fleet.createTask": "Crea compito",+ "fleet.empty": "Nessun compito aperto",+ "fleet.emptyDesc": "Seleziona un compito in esecuzione a sinistra o usa + per aggiungere una colonna.",+ "fleet.noRunningTasks": "Nessun compito in esecuzione",+ "fleet.openInChat": "Apri nella chat",+ "fleet.reply": "Rispondi",+ "fleet.runningTasks": "Compiti in esecuzione",+ "fleet.status.idle": "Inattivo",+ "fleet.status.paused": "In pausa",+ "fleet.status.running": "In esecuzione",+ "fleet.status.scheduled": "Programmato",+ "fleet.tooltip": "Visualizza tutti gli agenti fianco a fianco","gateway.description": "Descrizione","gateway.descriptionPlaceholder": "Facoltativo","gateway.deviceName": "Nome Dispositivo",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Memoria - Identità","navigation.memoryPreferences": "Memoria - Preferenze","navigation.noPages": "Nessuna pagina ancora",+ "navigation.observation": "Modalità Osservazione","navigation.onboarding": "Onboarding","navigation.page": "Pagina","navigation.pages": "Pagine",diff --git a/locales/it-IT/file.json b/locales/it-IT/file.jsonindex 62efe54da06..5c2d80aba39 100644--- a/locales/it-IT/file.json+++ b/locales/it-IT/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Duplicazione della pagina non riuscita","pageEditor.duplicateSuccess": "Pagina duplicata con successo","pageEditor.editMode.checking": "Verifica della disponibilità di modifica…",+ "pageEditor.editMode.draftRestoreCancel": "Annulla",+ "pageEditor.editMode.draftRestoreContent": "Sono state trovate modifiche locali non salvate dalla tua ultima sessione. Ripristinarle?",+ "pageEditor.editMode.draftRestoreOk": "Ripristina",+ "pageEditor.editMode.draftRestoreTitle": "Ripristina Bozza Non Salvata",+ "pageEditor.editMode.lockLostDescription": "Le modifiche recenti non sono ancora state sincronizzate. Il salvataggio riprenderà una volta che la connessione sarà ristabilita.",+ "pageEditor.editMode.lockLostTitle": "Blocco di modifica temporaneamente perso",+ "pageEditor.editMode.lockUnstable": "Riconnessione al blocco di modifica in corso…","pageEditor.editMode.lockedByOther": "{{name}} sta modificando questo documento",+ "pageEditor.editMode.lockedBySelf": "Stai modificando questo documento in un'altra scheda",+ "pageEditor.editMode.lockedBySelfDescription": "Il salvataggio riprenderà dopo che l'altra sessione sarà chiusa o il suo blocco scadrà (~30s).","pageEditor.editMode.lockedBySomeone": "Qualcun altro sta modificando questo documento",+ "pageEditor.editMode.lockedDescription": "La pagina è in sola lettura mentre viene modificata da un altro utente. Le tue modifiche non saranno salvate finché non avrà terminato.","pageEditor.editedAt": "Ultima modifica il {{time}}","pageEditor.editedBy": "Ultima modifica di {{name}}","pageEditor.editorPlaceholder": "Premi \"/\" per AI e comandi",diff --git a/locales/it-IT/labs.json b/locales/it-IT/labs.jsonindex 0edcb72f613..1454083e76a 100644--- a/locales/it-IT/labs.json+++ b/locales/it-IT/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Auto-iterazione dell'agente","features.assistantMessageGroup.desc": "Raggruppa i messaggi dell'agente e i risultati delle chiamate agli strumenti per una visualizzazione unificata","features.assistantMessageGroup.title": "Raggruppamento Messaggi Agente",- "features.gatewayMode.desc": "Esegui le attività dell’agente sul server tramite Gateway WebSocket invece di eseguirle in locale. Consente un’esecuzione più rapida e riduce l’utilizzo delle risorse del client.",- "features.gatewayMode.title": "Esecuzione dell’Agente Lato Server (Gateway)",+ "features.fleet.desc": "Mostra la voce Fleet nella barra del titolo — un pannello affiancato di tutte le attività in corso tra i tuoi agenti.",+ "features.fleet.title": "Vista Fleet","features.groupChat.desc": "Abilita il coordinamento della chat di gruppo con più agenti.","features.groupChat.title": "Chat di Gruppo (Multi-Agente)","features.imessage.desc": "Collega gli agenti a iMessage tramite il bridge locale LobeHub Desktop BlueBubbles.",diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.jsonindex 0780f9f994a..edc21ae46d4 100644--- a/locales/it-IT/setting.json+++ b/locales/it-IT/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Richiesta Skill] Riassumi in una frase la skill di cui hai bisogno","skillStore.wantMore.reachedEnd": "Hai raggiunto la fine. Non riesci a trovare ciò che cerchi?","startConversation": "Inizia Conversazione",- "storage.actions.copyAgentGroups.button": "Copia in",+ "storage.actions.copyAgentGroups.button": "Copia in...","storage.actions.copyAgentGroups.desc": "Copia gruppi di agenti e i loro membri in un altro spazio di lavoro o account personale.","storage.actions.copyAgentGroups.title": "Copia gruppi di agenti","storage.actions.copyLobeAI.button": "Copia in",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Aggiungi skill personalizzata","tab.advanced": "Avanzato","tab.advanced.appUpdates.title": "Aggiornamenti dell'app",+ "tab.advanced.gatewayMode.desc": "Esegui le attività degli agenti supportati tramite il Gateway cloud per impostazione predefinita. Gli agenti individuali possono sovrascrivere questa impostazione dal menu chat.",+ "tab.advanced.gatewayMode.title": "Modalità Gateway","tab.advanced.toolsAndDiagnostics.title": "Strumenti e diagnostica","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Attivato ad ogni merge di PR, con più build al giorno. La versione meno stabile.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Sei sicuro di voler disinstallare {{name}}? Questa funzione verrà rimossa dall'agente attuale.","tools.builtins.uninstallConfirm.title": "Disinstalla {{name}}","tools.builtins.uninstalled": "Disinstallato",- "tools.disabled": "Il modello attuale non supporta le chiamate di funzione e non può utilizzare la competenza","tools.composio.addServer": "Aggiungi Server","tools.composio.authCompleted": "Autenticazione Completata","tools.composio.authFailed": "Autenticazione Fallita",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Servizio Composio non abilitato","tools.composio.oauthRequired": "Completa l'autenticazione OAuth nella nuova finestra","tools.composio.pendingAuth": "Autenticazione in Attesa",+ "tools.composio.reauthorize": "Ri-autorizza",+ "tools.composio.remove": "Rimuovi",+ "tools.composio.removeConfirm.desc": "{{name}} sarà rimosso definitivamente dai tuoi servizi connessi. Questa azione non può essere annullata.",+ "tools.composio.removeConfirm.title": "Rimuovere {{name}}?","tools.composio.serverCreated": "Server creato con successo","tools.composio.serverCreatedFailed": "Creazione server fallita","tools.composio.serverRemoved": "Server rimosso",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Integra con Zendesk per gestire ticket di supporto e interazioni con i clienti. Crea, aggiorna e monitora richieste di supporto, accedi ai dati dei clienti e ottimizza le operazioni di assistenza.","tools.composio.tools": "strumenti","tools.composio.verifyAuth": "Ho completato l'autenticazione",+ "tools.disabled": "Il modello attuale non supporta le chiamate di funzione e non può utilizzare la competenza","tools.lobehubSkill.authorize": "Autorizza","tools.lobehubSkill.connect": "Connetti","tools.lobehubSkill.connected": "Connesso",diff --git a/locales/it-IT/topic.json b/locales/it-IT/topic.jsonindex 99b3d6cc905..f512d2df026 100644--- a/locales/it-IT/topic.json+++ b/locales/it-IT/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Preferito","actions.import": "Importa Conversazione","actions.markCompleted": "Segna come completato",+ "actions.moveToAgent": "Sposta a un altro assistente","actions.openInNewTab": "Apri in una nuova scheda","actions.openInNewWindow": "Apri in una nuova finestra","actions.removeAll": "Elimina Tutti gli Argomenti",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Stai per eliminare {{count}} argomenti. Questa azione non può essere annullata.","management.bulk.deleteTitle": "Eliminare gli argomenti?","management.bulk.favorite": "Preferiti",+ "management.bulk.move": "Sposta all'assistente",+ "management.bulk.moveEmpty": "Nessun altro assistente",+ "management.bulk.moveSearchPlaceholder": "Cerca assistenti…","management.bulk.selectedCount_one": "{{count}} selezionato","management.bulk.selectedCount_other": "{{count}} selezionati","management.card.noPreview": "Anteprima non disponibile",@@ -118,6 +122,17 @@"management.group.noProject": "Nessun progetto","management.group.none": "Nessuno","management.loadingMore": "Caricamento di altri argomenti…",+ "management.moveModal.back": "Indietro",+ "management.moveModal.confirmContent_one": "Spostare {{count}} argomento in “{{title}}”?",+ "management.moveModal.confirmContent_other": "Spostare {{count}} argomenti in “{{title}}”?",+ "management.moveModal.confirmOk": "Sposta",+ "management.moveModal.doneOk": "Fatto",+ "management.moveModal.done_one": "{{count}} argomento spostato",+ "management.moveModal.done_other": "{{count}} argomenti spostati",+ "management.moveModal.error": "Spostamento fallito, riprova",+ "management.moveModal.goToTarget": "Vai a “{{title}}”",+ "management.moveModal.moving": "Spostamento in corso…",+ "management.moveModal.title": "Sposta argomenti","management.searchPlaceholder": "Cerca gli argomenti di questo agente…","management.sidebarEntry": "Argomenti","management.sort.createdAt": "Data di creazione",diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.jsonindex 478e7d91b9e..3a40874fff6 100644--- a/locales/ja-JP/chat.json+++ b/locales/ja-JP/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "内蔵 Copilot","chatList.expandMessage": "メッセージを展開","chatList.longMessageDetail": "詳細を見る",+ "chatList.refreshing": "最新のメッセージを取得しています...","chatMode.agent": "エージェント","chatMode.agentCap.env": "実行環境","chatMode.agentCap.files": "ファイルアクセス",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "ウェブリンクコンテンツの抽出","followUpPlaceholder": "フォローアップ。@で他のエージェントにタスクを割り当てできます。","followUpPlaceholderHeterogeneous": "フォローアップ。",+ "gatewayMode.title": "ゲートウェイモード","group.desc": "同一の対話空間で、複数のアシスタントが一緒にタスクを推進します","group.memberTooltip": "グループに {{count}} 名のメンバーがいます","group.orchestratorThinking": "ホストが思考中…",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "アシスタントメッセージを追加","input.addUser": "ユーザーメッセージを追加",+ "input.agentModeUnsupportedModel": "現在のモデルはエージェントツールの呼び出しをサポートしていません。エージェント機能を備えたモデルに切り替えると、最適な体験が得られます。","input.costEstimate.creditsPerMillionTokens": "{{credits}} クレジット/Mトークン","input.costEstimate.hint": "推定コスト: 約{{credits}} クレジット","input.costEstimate.inputLabel": "入力",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "出力 {{amount}} クレジット · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "キャッシュ書き込み {{amount}} クレジット · ${{amount}}/M","messages.tokenDetails.average": "平均単価",+ "messages.tokenDetails.cacheRate": "キャッシュ率","messages.tokenDetails.input": "入力","messages.tokenDetails.inputAudio": "音声入力","messages.tokenDetails.inputCached": "キャッシュ入力",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "統合ビューに切り替え","workingPanel.review.wordWrap.disable": "ワードラップを無効化","workingPanel.review.wordWrap.enable": "ワードラップを有効化",+ "workingPanel.skills.actions.comingSoon": "近日公開",+ "workingPanel.skills.actions.delete": "削除",+ "workingPanel.skills.actions.rename": "名前を変更",+ "workingPanel.skills.actions.view": "表示",+ "workingPanel.skills.delete.agentConfirm": "このエージェントからスキル「{{name}}」を削除しますか?この操作は元に戻せません。",+ "workingPanel.skills.delete.error": "スキルの削除に失敗しました",+ "workingPanel.skills.delete.success": "スキルが削除されました",+ "workingPanel.skills.delete.title": "スキルを削除しますか?",+ "workingPanel.skills.delete.userConfirm": "スキル「{{name}}」をアンインストールしますか?この操作は元に戻せません。",+ "workingPanel.skills.detail.title": "スキルの詳細","workingPanel.skills.empty": "このプロジェクトにはスキルが見つかりませんでした",+ "workingPanel.skills.rename.action": "名前を変更",+ "workingPanel.skills.rename.error": "スキルの名前変更に失敗しました",+ "workingPanel.skills.rename.placeholder": "スキル名",+ "workingPanel.skills.rename.title": "スキルの名前を変更","workingPanel.skills.section.agent": "エージェントスキル","workingPanel.skills.section.project": "プロジェクトスキル","workingPanel.skills.section.user": "ユーザースキル",diff --git a/locales/ja-JP/electron.json b/locales/ja-JP/electron.jsonindex 66b979d3507..77293b1a089 100644--- a/locales/ja-JP/electron.json+++ b/locales/ja-JP/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "列を追加",+ "fleet.allShown": "すべての実行中のタスクが表示されています",+ "fleet.backToHome": "ホームに戻る",+ "fleet.closeColumn": "列を閉じる",+ "fleet.createTask": "タスクを作成",+ "fleet.empty": "開いているタスクはありません",+ "fleet.emptyDesc": "左側の実行中のタスクを選択するか、+を使用して列を追加してください。",+ "fleet.noRunningTasks": "実行中のタスクはありません",+ "fleet.openInChat": "チャットで開く",+ "fleet.reply": "返信",+ "fleet.runningTasks": "実行中のタスク",+ "fleet.status.idle": "待機中",+ "fleet.status.paused": "一時停止中",+ "fleet.status.running": "実行中",+ "fleet.status.scheduled": "スケジュール済み",+ "fleet.tooltip": "すべてのエージェントを並べて表示","gateway.description": "説明","gateway.descriptionPlaceholder": "任意","gateway.deviceName": "デバイス名",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "メモリ - アイデンティティ","navigation.memoryPreferences": "メモリ - 設定","navigation.noPages": "ページがまだありません",+ "navigation.observation": "観察モード","navigation.onboarding": "オンボーディング","navigation.page": "ページ","navigation.pages": "ページ",diff --git a/locales/ja-JP/file.json b/locales/ja-JP/file.jsonindex c910c97a3bd..ce6611be7e2 100644--- a/locales/ja-JP/file.json+++ b/locales/ja-JP/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "ページの複製に失敗しました","pageEditor.duplicateSuccess": "ページを正常に複製しました","pageEditor.editMode.checking": "編集可能か確認しています…",+ "pageEditor.editMode.draftRestoreCancel": "破棄",+ "pageEditor.editMode.draftRestoreContent": "前回のセッションから保存されていないローカル変更が見つかりました。復元しますか?",+ "pageEditor.editMode.draftRestoreOk": "復元",+ "pageEditor.editMode.draftRestoreTitle": "保存されていない下書きの復元",+ "pageEditor.editMode.lockLostDescription": "最近の編集内容がまだ同期されていません。接続が回復すると保存が再開されます。",+ "pageEditor.editMode.lockLostTitle": "編集ロックが一時的に失われました",+ "pageEditor.editMode.lockUnstable": "編集ロックを再接続中…","pageEditor.editMode.lockedByOther": "{{name}}がこのドキュメントを編集しています",+ "pageEditor.editMode.lockedBySelf": "このドキュメントを別のタブで編集しています",+ "pageEditor.editMode.lockedBySelfDescription": "保存は他のセッションが終了するか、そのロックが期限切れになる(約30秒)と再開されます。","pageEditor.editMode.lockedBySomeone": "他の誰かがこのドキュメントを編集しています",+ "pageEditor.editMode.lockedDescription": "他のユーザーが編集中のため、このページは読み取り専用です。編集が完了するまで変更は保存されません。","pageEditor.editedAt": "最終編集:{{time}}","pageEditor.editedBy": "最終編集者:{{name}}","pageEditor.editorPlaceholder": "「/」で AI とコマンドを呼び出し",diff --git a/locales/ja-JP/labs.json b/locales/ja-JP/labs.jsonindex ab3a3eabff6..9620565732b 100644--- a/locales/ja-JP/labs.json+++ b/locales/ja-JP/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "エージェントの自己反復","features.assistantMessageGroup.desc": "アシスタントのメッセージとそのツール呼び出し結果をグループ化して表示します","features.assistantMessageGroup.title": "アシスタントメッセージのグループ化表示",- "features.gatewayMode.desc": "エージェントのタスクをローカルではなく Gateway WebSocket を介してサーバー上で実行します。これにより、より高速な処理が可能になり、クライアント側のリソース消費を削減できます。",- "features.gatewayMode.title": "サーバーサイドエージェント実行(Gateway)",+ "features.fleet.desc": "タイトルバーにフリートエントリを表示します。エージェント全体で実行中のタスクを並べて表示するダッシュボードです。",+ "features.fleet.title": "フリートビュー","features.groupChat.desc": "複数のAIアシスタントによるグループチャット機能を有効にします。","features.groupChat.title": "グループチャット(マルチアシスタント)","features.imessage.desc": "LobeHub Desktop BlueBubblesブリッジを介してエージェントをiMessageに接続します。",diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.jsonindex edc9ddf88e9..d28bb4fc49d 100644--- a/locales/ja-JP/setting.json+++ b/locales/ja-JP/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "【スキルリクエスト】必要なスキルを一文で要約してください","skillStore.wantMore.reachedEnd": "これ以上表示できません。お探しのものが見つかりませんか?","startConversation": "会話を開始する",- "storage.actions.copyAgentGroups.button": "コピー先",+ "storage.actions.copyAgentGroups.button": "コピー先...","storage.actions.copyAgentGroups.desc": "エージェントグループとそのメンバーエージェントを別のワークスペースまたは個人アカウントにコピーします。","storage.actions.copyAgentGroups.title": "エージェントグループのコピー","storage.actions.copyLobeAI.button": "コピー先",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "カスタムスキルを追加","tab.advanced": "高度な設定","tab.advanced.appUpdates.title": "アプリの更新",+ "tab.advanced.gatewayMode.desc": "サポートされているエージェントタスクをデフォルトでクラウドゲートウェイを通じて実行します。個々のエージェントはチャットメニューからこれを上書きすることができます。",+ "tab.advanced.gatewayMode.title": "ゲートウェイモード","tab.advanced.toolsAndDiagnostics.title": "ツールと診断","tab.advanced.updateChannel.canary": "カナリア","tab.advanced.updateChannel.canaryDesc": "すべてのPRマージでトリガーされ、1日に複数回ビルドされます。最も不安定です。",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "{{name}} をアンインストールしてもよろしいですか?このスキルは現在のエージェントから削除されます。","tools.builtins.uninstallConfirm.title": "{{name}} のアンインストール","tools.builtins.uninstalled": "アンインストール済み",- "tools.disabled": "現在のモデルは関数呼び出しをサポートしていません。スキルを使用できません","tools.composio.addServer": "サーバーを追加","tools.composio.authCompleted": "認証完了","tools.composio.authFailed": "認証に失敗しました",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Composio サービスは有効化されていません","tools.composio.oauthRequired": "新しいウィンドウで OAuth 認証を完了してください","tools.composio.pendingAuth": "認証待ち",+ "tools.composio.reauthorize": "再認証",+ "tools.composio.remove": "削除",+ "tools.composio.removeConfirm.desc": "{{name}} は接続されたサービスから永久に削除されます。この操作は元に戻すことができません。",+ "tools.composio.removeConfirm.title": "{{name}} を削除しますか?","tools.composio.serverCreated": "サーバーが正常に作成されました","tools.composio.serverCreatedFailed": "サーバーの作成に失敗しました","tools.composio.serverRemoved": "サーバーが削除されました",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Zendeskと連携してサポートチケットや顧客対応を管理します。サポートリクエストの作成、更新、追跡、顧客データへのアクセス、サポート業務の効率化が可能です。","tools.composio.tools": "個のツール","tools.composio.verifyAuth": "認証を完了しました",+ "tools.disabled": "現在のモデルは関数呼び出しをサポートしていません。スキルを使用できません","tools.lobehubSkill.authorize": "認証する","tools.lobehubSkill.connect": "接続する","tools.lobehubSkill.connected": "接続済み",diff --git a/locales/ja-JP/topic.json b/locales/ja-JP/topic.jsonindex 0afee15b1a0..81d179dbdfe 100644--- a/locales/ja-JP/topic.json+++ b/locales/ja-JP/topic.json@@ -16,6 +16,7 @@"actions.favorite": "お気に入り","actions.import": "会話をインポート","actions.markCompleted": "完了としてマーク",+ "actions.moveToAgent": "別のアシスタントに移動","actions.openInNewTab": "新しいタブで開く","actions.openInNewWindow": "新しいウィンドウで開く","actions.removeAll": "すべてのトピックを削除",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "{{count}}件のトピックを削除しようとしています。この操作は元に戻せません。","management.bulk.deleteTitle": "トピックを削除しますか?","management.bulk.favorite": "お気に入り",+ "management.bulk.move": "アシスタントに移動",+ "management.bulk.moveEmpty": "他のアシスタントがありません",+ "management.bulk.moveSearchPlaceholder": "アシスタントを検索…","management.bulk.selectedCount_one": "{{count}}件選択済み","management.bulk.selectedCount_other": "{{count}}件選択済み","management.card.noPreview": "プレビューは利用できません",@@ -118,6 +122,17 @@"management.group.noProject": "プロジェクトなし","management.group.none": "なし","management.loadingMore": "さらにトピックを読み込み中…",+ "management.moveModal.back": "戻る",+ "management.moveModal.confirmContent_one": "{{count}} 件のトピックを「{{title}}」に移動しますか?",+ "management.moveModal.confirmContent_other": "{{count}} 件のトピックを「{{title}}」に移動しますか?",+ "management.moveModal.confirmOk": "移動",+ "management.moveModal.doneOk": "完了",+ "management.moveModal.done_one": "{{count}} 件のトピックを移動しました",+ "management.moveModal.done_other": "{{count}} 件のトピックを移動しました",+ "management.moveModal.error": "移動に失敗しました。もう一度お試しください",+ "management.moveModal.goToTarget": "「{{title}}」に移動",+ "management.moveModal.moving": "移動中…",+ "management.moveModal.title": "トピックを移動","management.searchPlaceholder": "このエージェントのトピックを検索…","management.sidebarEntry": "トピック","management.sort.createdAt": "作成日時",diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.jsonindex 3b9c4fd8b71..00c701c6815 100644--- a/locales/ko-KR/chat.json+++ b/locales/ko-KR/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "내장 Copilot","chatList.expandMessage": "메시지 펼치기","chatList.longMessageDetail": "자세히 보기",+ "chatList.refreshing": "최신 메시지를 가져오는 중...","chatMode.agent": "에이전트","chatMode.agentCap.env": "실행 환경","chatMode.agentCap.files": "파일 접근",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "웹 링크 컨텐츠 추출","followUpPlaceholder": "후속 작업. 다른 에이전트에게 작업을 할당하려면 @를 사용하세요.","followUpPlaceholderHeterogeneous": "후속 메시지를 입력하세요.",+ "gatewayMode.title": "게이트웨이 모드","group.desc": "동일한 대화 공간에서 여러 도우미가 함께 작업을 추진합니다","group.memberTooltip": "그룹에 {{count}}명의 구성원이 있습니다","group.orchestratorThinking": "호스트가 생각 중…",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "도우미 메시지 추가","input.addUser": "사용자 메시지 추가",+ "input.agentModeUnsupportedModel": "현재 모델은 에이전트 도구 호출을 지원하지 않습니다. 최상의 경험을 위해 에이전트 기능이 있는 모델로 전환하세요.","input.costEstimate.creditsPerMillionTokens": "{{credits}} 크레딧/M 토큰","input.costEstimate.hint": "예상 비용: 약 {{credits}} 크레딧","input.costEstimate.inputLabel": "입력",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "출력 {{amount}}크레딧 · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "캐시 쓰기 {{amount}}크레딧 · ${{amount}}/M","messages.tokenDetails.average": "평균 단가",+ "messages.tokenDetails.cacheRate": "캐시 비율","messages.tokenDetails.input": "입력","messages.tokenDetails.inputAudio": "오디오 입력","messages.tokenDetails.inputCached": "입력 캐시",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "통합 보기로 전환","workingPanel.review.wordWrap.disable": "자동 줄 바꿈 비활성화","workingPanel.review.wordWrap.enable": "자동 줄 바꿈 활성화",+ "workingPanel.skills.actions.comingSoon": "곧 제공 예정",+ "workingPanel.skills.actions.delete": "삭제",+ "workingPanel.skills.actions.rename": "이름 변경",+ "workingPanel.skills.actions.view": "보기",+ "workingPanel.skills.delete.agentConfirm": "이 에이전트에서 스킬 “{{name}}”을(를) 제거하시겠습니까? 이 작업은 되돌릴 수 없습니다.",+ "workingPanel.skills.delete.error": "스킬 삭제 실패",+ "workingPanel.skills.delete.success": "스킬이 삭제되었습니다",+ "workingPanel.skills.delete.title": "스킬을 삭제하시겠습니까?",+ "workingPanel.skills.delete.userConfirm": "스킬 “{{name}}”을(를) 제거하시겠습니까? 이 작업은 되돌릴 수 없습니다.",+ "workingPanel.skills.detail.title": "스킬 세부정보","workingPanel.skills.empty": "이 프로젝트에서 발견된 스킬이 없습니다",+ "workingPanel.skills.rename.action": "이름 변경",+ "workingPanel.skills.rename.error": "스킬 이름 변경 실패",+ "workingPanel.skills.rename.placeholder": "스킬 이름",+ "workingPanel.skills.rename.title": "스킬 이름 변경","workingPanel.skills.section.agent": "에이전트 스킬","workingPanel.skills.section.project": "프로젝트 스킬","workingPanel.skills.section.user": "사용자 스킬",diff --git a/locales/ko-KR/electron.json b/locales/ko-KR/electron.jsonindex cd9f2452283..96a4d4df819 100644--- a/locales/ko-KR/electron.json+++ b/locales/ko-KR/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "열 추가",+ "fleet.allShown": "모든 실행 중인 작업이 표시됩니다",+ "fleet.backToHome": "홈으로 돌아가기",+ "fleet.closeColumn": "열 닫기",+ "fleet.createTask": "작업 생성",+ "fleet.empty": "열린 작업 없음",+ "fleet.emptyDesc": "왼쪽에서 실행 중인 작업을 선택하거나 +를 사용하여 열을 추가하세요.",+ "fleet.noRunningTasks": "실행 중인 작업 없음",+ "fleet.openInChat": "채팅에서 열기",+ "fleet.reply": "답장",+ "fleet.runningTasks": "실행 중인 작업",+ "fleet.status.idle": "대기 중",+ "fleet.status.paused": "일시 중지됨",+ "fleet.status.running": "실행 중",+ "fleet.status.scheduled": "예약됨",+ "fleet.tooltip": "모든 에이전트를 나란히 보기","gateway.description": "설명","gateway.descriptionPlaceholder": "선택 사항","gateway.deviceName": "장치 이름",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "메모리 - 신원","navigation.memoryPreferences": "메모리 - 선호도","navigation.noPages": "아직 페이지가 없습니다",+ "navigation.observation": "관찰 모드","navigation.onboarding": "온보딩","navigation.page": "페이지","navigation.pages": "페이지",diff --git a/locales/ko-KR/file.json b/locales/ko-KR/file.jsonindex 58ca8c41a7c..8149e2528fd 100644--- a/locales/ko-KR/file.json+++ b/locales/ko-KR/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "페이지 복제에 실패했습니다","pageEditor.duplicateSuccess": "페이지가 성공적으로 복제되었습니다","pageEditor.editMode.checking": "편집 가능 여부 확인 중…",+ "pageEditor.editMode.draftRestoreCancel": "취소",+ "pageEditor.editMode.draftRestoreContent": "이전 세션에서 저장되지 않은 로컬 변경 사항이 발견되었습니다. 복원하시겠습니까?",+ "pageEditor.editMode.draftRestoreOk": "복원",+ "pageEditor.editMode.draftRestoreTitle": "저장되지 않은 초안 복원",+ "pageEditor.editMode.lockLostDescription": "최근 편집 내용이 아직 동기화되지 않았습니다. 연결이 복구되면 저장이 재개됩니다.",+ "pageEditor.editMode.lockLostTitle": "편집 잠금이 일시적으로 해제되었습니다",+ "pageEditor.editMode.lockUnstable": "편집 잠금 재연결 중…","pageEditor.editMode.lockedByOther": "{{name}}님이 이 문서를 편집 중입니다",+ "pageEditor.editMode.lockedBySelf": "이 문서를 다른 탭에서 편집 중입니다",+ "pageEditor.editMode.lockedBySelfDescription": "다른 세션이 닫히거나 잠금이 만료된 후(~30초) 저장이 재개됩니다.","pageEditor.editMode.lockedBySomeone": "다른 사람이 이 문서를 편집 중입니다",+ "pageEditor.editMode.lockedDescription": "다른 사용자가 편집 중인 동안 페이지는 읽기 전용 상태입니다. 그들이 완료할 때까지 변경 사항이 저장되지 않습니다.","pageEditor.editedAt": "마지막 편집: {{time}}","pageEditor.editedBy": "마지막 편집자: {{name}}","pageEditor.editorPlaceholder": "/를 눌러 AI 및 명령어 사용",diff --git a/locales/ko-KR/labs.json b/locales/ko-KR/labs.jsonindex 46869eb2f54..a2433a62ebc 100644--- a/locales/ko-KR/labs.json+++ b/locales/ko-KR/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "에이전트 자기 반복","features.assistantMessageGroup.desc": "도우미 메시지와 해당 도구 호출 결과를 그룹으로 묶어 표시합니다","features.assistantMessageGroup.title": "도우미 메시지 그룹화",- "features.gatewayMode.desc": "로컬에서 실행하는 대신 Gateway WebSocket을 통해 서버에서 에이전트 작업을 실행합니다. 더 빠른 처리 속도를 제공하고 클라이언트 리소스 사용을 줄여줍니다.",- "features.gatewayMode.title": "서버 사이드 에이전트 실행(Gateway)",+ "features.fleet.desc": "제목 표시줄에 Fleet 항목을 표시합니다 — 에이전트 간 실행 중인 모든 작업의 대시보드를 나란히 볼 수 있습니다.",+ "features.fleet.title": "Fleet 보기","features.groupChat.desc": "다중 도우미 그룹 채팅 조정 기능을 활성화합니다.","features.groupChat.title": "그룹 채팅 (다중 도우미)","features.imessage.desc": "로컬 LobeHub Desktop BlueBubbles 브리지를 통해 에이전트를 iMessage에 연결합니다.",diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.jsonindex c9b47a4da81..0e2f7ce2825 100644--- a/locales/ko-KR/setting.json+++ b/locales/ko-KR/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[스킬 요청] 필요한 스킬을 한 문장으로 요약해 주세요","skillStore.wantMore.reachedEnd": "마지막까지 확인하셨습니다. 원하는 항목이 없으신가요?","startConversation": "대화를 시작하기",- "storage.actions.copyAgentGroups.button": "복사",+ "storage.actions.copyAgentGroups.button": "복사 대상...","storage.actions.copyAgentGroups.desc": "에이전트 그룹과 해당 멤버 에이전트를 다른 워크스페이스 또는 개인 계정으로 복사합니다.","storage.actions.copyAgentGroups.title": "에이전트 그룹 복사","storage.actions.copyLobeAI.button": "복사",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "사용자 정의 스킬 추가","tab.advanced": "고급","tab.advanced.appUpdates.title": "앱 업데이트",+ "tab.advanced.gatewayMode.desc": "기본적으로 클라우드 게이트웨이를 통해 지원되는 에이전트 작업을 실행합니다. 개별 에이전트는 채팅 메뉴에서 이를 재정의할 수 있습니다.",+ "tab.advanced.gatewayMode.title": "게이트웨이 모드","tab.advanced.toolsAndDiagnostics.title": "도구 및 진단","tab.advanced.updateChannel.canary": "카나리","tab.advanced.updateChannel.canaryDesc": "모든 PR 병합 시 트리거되며, 하루에 여러 빌드가 생성됩니다. 가장 불안정합니다.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "{{name}}을(를) 제거하시겠습니까? 이 기능은 현재 에이전트에서 삭제됩니다.","tools.builtins.uninstallConfirm.title": "{{name}} 제거","tools.builtins.uninstalled": "제거됨",- "tools.disabled": "현재 모델은 함수 호출을 지원하지 않으며 기능을 사용할 수 없습니다","tools.composio.addServer": "서버 추가","tools.composio.authCompleted": "인증 완료","tools.composio.authFailed": "인증 실패",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Composio 서비스가 활성화되지 않음","tools.composio.oauthRequired": "새 창에서 OAuth 인증을 완료해 주세요","tools.composio.pendingAuth": "인증 대기 중",+ "tools.composio.reauthorize": "재인증",+ "tools.composio.remove": "제거",+ "tools.composio.removeConfirm.desc": "{{name}}이(가) 연결된 서비스에서 영구적으로 제거됩니다. 이 작업은 되돌릴 수 없습니다.",+ "tools.composio.removeConfirm.title": "{{name}}을(를) 제거하시겠습니까?","tools.composio.serverCreated": "서버 생성 성공","tools.composio.serverCreatedFailed": "서버 생성 실패","tools.composio.serverRemoved": "서버 삭제됨",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Zendesk와 통합하여 지원 티켓과 고객 상호작용을 관리하세요. 지원 요청 생성, 업데이트, 추적, 고객 데이터 접근, 지원 운영을 간소화할 수 있습니다.","tools.composio.tools": "개의 도구","tools.composio.verifyAuth": "인증을 완료했습니다",+ "tools.disabled": "현재 모델은 함수 호출을 지원하지 않으며 기능을 사용할 수 없습니다","tools.lobehubSkill.authorize": "권한 부여","tools.lobehubSkill.connect": "연결","tools.lobehubSkill.connected": "연결됨",diff --git a/locales/ko-KR/topic.json b/locales/ko-KR/topic.jsonindex e6afccb1c95..594579f01de 100644--- a/locales/ko-KR/topic.json+++ b/locales/ko-KR/topic.json@@ -16,6 +16,7 @@"actions.favorite": "즐겨찾기","actions.import": "대화 가져오기","actions.markCompleted": "완료로 표시",+ "actions.moveToAgent": "다른 어시스턴트로 이동","actions.openInNewTab": "새 탭에서 열기","actions.openInNewWindow": "새 창에서 열기","actions.removeAll": "모든 주제 삭제",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "{{count}}개의 주제를 삭제하려고 합니다. 이 작업은 되돌릴 수 없습니다.","management.bulk.deleteTitle": "주제를 삭제하시겠습니까?","management.bulk.favorite": "즐겨찾기",+ "management.bulk.move": "어시스턴트로 이동",+ "management.bulk.moveEmpty": "다른 어시스턴트 없음",+ "management.bulk.moveSearchPlaceholder": "어시스턴트 검색…","management.bulk.selectedCount_one": "{{count}}개 선택됨","management.bulk.selectedCount_other": "{{count}}개 선택됨","management.card.noPreview": "미리보기를 사용할 수 없습니다",@@ -118,6 +122,17 @@"management.group.noProject": "프로젝트 없음","management.group.none": "없음","management.loadingMore": "더 많은 주제를 불러오는 중…",+ "management.moveModal.back": "뒤로",+ "management.moveModal.confirmContent_one": "{{count}}개의 주제를 “{{title}}”로 이동하시겠습니까?",+ "management.moveModal.confirmContent_other": "{{count}}개의 주제를 “{{title}}”로 이동하시겠습니까?",+ "management.moveModal.confirmOk": "이동",+ "management.moveModal.doneOk": "완료",+ "management.moveModal.done_one": "{{count}}개의 주제가 이동되었습니다",+ "management.moveModal.done_other": "{{count}}개의 주제가 이동되었습니다",+ "management.moveModal.error": "이동 실패, 다시 시도해주세요",+ "management.moveModal.goToTarget": "“{{title}}”로 이동",+ "management.moveModal.moving": "이동 중…",+ "management.moveModal.title": "주제 이동","management.searchPlaceholder": "이 에이전트의 주제를 검색하세요…","management.sidebarEntry": "주제","management.sort.createdAt": "생성 시간",diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.jsonindex ad78af5f0dc..72bc8fa58fd 100644--- a/locales/nl-NL/chat.json+++ b/locales/nl-NL/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Ingebouwde Copilot","chatList.expandMessage": "Bericht uitvouwen","chatList.longMessageDetail": "Details bekijken",+ "chatList.refreshing": "Laatste berichten ophalen...","chatMode.agent": "Agent","chatMode.agentCap.env": "Runtime-omgeving","chatMode.agentCap.files": "Bestandstoegang",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Webpagina-inhoud ophalen","followUpPlaceholder": "Vervolgen. @ om taken toe te wijzen aan andere agenten.","followUpPlaceholderHeterogeneous": "Vervolgbericht.",+ "gatewayMode.title": "Gateway-modus","group.desc": "Werk samen met meerdere Agents in één gedeelde ruimte.","group.memberTooltip": "Er zijn {{count}} leden in de groep","group.orchestratorThinking": "Orchestrator is aan het denken...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "AI-bericht toevoegen","input.addUser": "Gebruikersbericht toevoegen",+ "input.agentModeUnsupportedModel": "Het huidige model ondersteunt geen agentische tooloproepen. Schakel over naar een model met agentmogelijkheden voor de beste ervaring.","input.costEstimate.creditsPerMillionTokens": "{{credits}} credits/M tokens","input.costEstimate.hint": "Geschatte kosten: ~{{credits}} credits","input.costEstimate.inputLabel": "Invoer",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Uitvoer {{amount}} credits · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Cache schrijven {{amount}} credits · ${{amount}}/M","messages.tokenDetails.average": "Gemiddelde eenheidsprijs",+ "messages.tokenDetails.cacheRate": "Cachepercentage","messages.tokenDetails.input": "Invoer","messages.tokenDetails.inputAudio": "Audio-invoer","messages.tokenDetails.inputCached": "Ingevoerde cache",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Schakel over naar uniforme weergave","workingPanel.review.wordWrap.disable": "Tekstterugloop uitschakelen","workingPanel.review.wordWrap.enable": "Tekstterugloop inschakelen",+ "workingPanel.skills.actions.comingSoon": "Binnenkort beschikbaar",+ "workingPanel.skills.actions.delete": "Verwijderen",+ "workingPanel.skills.actions.rename": "Hernoemen",+ "workingPanel.skills.actions.view": "Bekijken",+ "workingPanel.skills.delete.agentConfirm": "De vaardigheid “{{name}}” van deze agent verwijderen? Dit kan niet ongedaan worden gemaakt.",+ "workingPanel.skills.delete.error": "Vaardigheid verwijderen mislukt",+ "workingPanel.skills.delete.success": "Vaardigheid verwijderd",+ "workingPanel.skills.delete.title": "Vaardigheid verwijderen?",+ "workingPanel.skills.delete.userConfirm": "De vaardigheid “{{name}}” deïnstalleren? Dit kan niet ongedaan worden gemaakt.",+ "workingPanel.skills.detail.title": "Vaardigheidsdetails","workingPanel.skills.empty": "Geen vaardigheden gevonden in dit project",+ "workingPanel.skills.rename.action": "Hernoemen",+ "workingPanel.skills.rename.error": "Hernoemen van vaardigheid mislukt",+ "workingPanel.skills.rename.placeholder": "Naam van de vaardigheid",+ "workingPanel.skills.rename.title": "Vaardigheid hernoemen","workingPanel.skills.section.agent": "Agentvaardigheden","workingPanel.skills.section.project": "Projectvaardigheden","workingPanel.skills.section.user": "Gebruikersvaardigheden",diff --git a/locales/nl-NL/electron.json b/locales/nl-NL/electron.jsonindex 55c8b33a5b9..b7702e1c113 100644--- a/locales/nl-NL/electron.json+++ b/locales/nl-NL/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Kolom toevoegen",+ "fleet.allShown": "Alle lopende taken worden weergegeven",+ "fleet.backToHome": "Terug naar startpagina",+ "fleet.closeColumn": "Kolom sluiten",+ "fleet.createTask": "Taak aanmaken",+ "fleet.empty": "Geen open taken",+ "fleet.emptyDesc": "Selecteer een lopende taak aan de linkerkant, of gebruik + om een kolom toe te voegen.",+ "fleet.noRunningTasks": "Geen lopende taken",+ "fleet.openInChat": "Openen in chat",+ "fleet.reply": "Antwoorden",+ "fleet.runningTasks": "Lopende taken",+ "fleet.status.idle": "Inactief",+ "fleet.status.paused": "Gepauzeerd",+ "fleet.status.running": "Bezig",+ "fleet.status.scheduled": "Gepland",+ "fleet.tooltip": "Bekijk alle agenten naast elkaar","gateway.description": "Beschrijving","gateway.descriptionPlaceholder": "Optioneel","gateway.deviceName": "Apparaatnaam",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Geheugen - Identiteiten","navigation.memoryPreferences": "Geheugen - Voorkeuren","navigation.noPages": "Nog geen pagina's",+ "navigation.observation": "Observatiemodus","navigation.onboarding": "Onboarding","navigation.page": "Pagina","navigation.pages": "Pagina's",diff --git a/locales/nl-NL/file.json b/locales/nl-NL/file.jsonindex b8920c6fb18..a76cd99c760 100644--- a/locales/nl-NL/file.json+++ b/locales/nl-NL/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Kopiëren van pagina mislukt","pageEditor.duplicateSuccess": "Pagina succesvol gekopieerd","pageEditor.editMode.checking": "Beschikbaarheid van bewerken controleren…",+ "pageEditor.editMode.draftRestoreCancel": "Verwijderen",+ "pageEditor.editMode.draftRestoreContent": "Onopgeslagen lokale wijzigingen van je laatste sessie gevonden. Wil je ze herstellen?",+ "pageEditor.editMode.draftRestoreOk": "Herstellen",+ "pageEditor.editMode.draftRestoreTitle": "Onopgeslagen concept herstellen",+ "pageEditor.editMode.lockLostDescription": "Recente wijzigingen zijn nog niet gesynchroniseerd. Ze worden opgeslagen zodra de verbinding is hersteld.",+ "pageEditor.editMode.lockLostTitle": "Bewerkingsslot tijdelijk verloren",+ "pageEditor.editMode.lockUnstable": "Bewerkingsslot opnieuw verbinden...","pageEditor.editMode.lockedByOther": "{{name}} is dit document aan het bewerken",+ "pageEditor.editMode.lockedBySelf": "Je bewerkt dit document in een andere tabblad",+ "pageEditor.editMode.lockedBySelfDescription": "Opslaan wordt hervat nadat de andere sessie is gesloten of het slot verloopt (~30s).","pageEditor.editMode.lockedBySomeone": "Iemand anders is dit document aan het bewerken",+ "pageEditor.editMode.lockedDescription": "De pagina is alleen-lezen terwijl zij bewerken. Je wijzigingen worden pas opgeslagen als zij klaar zijn.","pageEditor.editedAt": "Laatst bewerkt op {{time}}","pageEditor.editedBy": "Laatst bewerkt door {{name}}","pageEditor.editorPlaceholder": "Druk op \"/\" voor AI en opdrachten",diff --git a/locales/nl-NL/labs.json b/locales/nl-NL/labs.jsonindex 14ea8d3dcb9..c9157f3ded0 100644--- a/locales/nl-NL/labs.json+++ b/locales/nl-NL/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Agent-zelfiteratie","features.assistantMessageGroup.desc": "Groepeer berichten van de agent en de resultaten van hun tool-aanroepen samen voor weergave","features.assistantMessageGroup.title": "Agentberichtengroepering",- "features.gatewayMode.desc": "Voer agenttaken op de server uit via de Gateway‑WebSocket in plaats van ze lokaal uit te voeren. Zorgt voor snellere uitvoering en vermindert het gebruik van clientbronnen.",- "features.gatewayMode.title": "Server-side uitvoering van agenten (Gateway)",+ "features.fleet.desc": "Toon de Fleet-invoer in de titelbalk — een zij-aan-zij dashboard van alle lopende taken over uw agents.",+ "features.fleet.title": "Fleet-weergave","features.groupChat.desc": "Schakel coördinatie van groepschats met meerdere agenten in.","features.groupChat.title": "Groepschat (Meerdere Agenten)","features.imessage.desc": "Verbind agents met iMessage via de lokale LobeHub Desktop BlueBubbles-bridge.",diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.jsonindex 42f233ee625..a9deac38485 100644--- a/locales/nl-NL/setting.json+++ b/locales/nl-NL/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Vaardigheidsverzoek] Vat in één zin samen welke vaardigheid je nodig hebt","skillStore.wantMore.reachedEnd": "Je bent aan het einde gekomen. Kun je niet vinden wat je zoekt?","startConversation": "Gesprek starten",- "storage.actions.copyAgentGroups.button": "Kopiëren naar",+ "storage.actions.copyAgentGroups.button": "Kopiëren naar...","storage.actions.copyAgentGroups.desc": "Kopieer agentgroepen en hun leden naar een andere werkruimte of persoonlijk account.","storage.actions.copyAgentGroups.title": "Agentgroepen kopiëren","storage.actions.copyLobeAI.button": "Kopiëren naar",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Aangepaste skill toevoegen","tab.advanced": "Geavanceerd","tab.advanced.appUpdates.title": "App-updates",+ "tab.advanced.gatewayMode.desc": "Voer standaard ondersteunde agenttaken uit via de cloud Gateway. Individuele agents kunnen dit overschrijven via het chatmenu.",+ "tab.advanced.gatewayMode.title": "Gateway-modus","tab.advanced.toolsAndDiagnostics.title": "Hulpmiddelen en diagnostiek","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Geactiveerd bij elke PR-merge, meerdere builds per dag. Meest onstabiel.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Weet je zeker dat je {{name}} wilt verwijderen? Deze vaardigheid wordt verwijderd van de huidige agent.","tools.builtins.uninstallConfirm.title": "{{name}} verwijderen","tools.builtins.uninstalled": "Verwijderd",- "tools.disabled": "Het huidige model ondersteunt geen functieaanroepen en kan de vaardigheid niet gebruiken","tools.composio.addServer": "Server Toevoegen","tools.composio.authCompleted": "Authenticatie Voltooid","tools.composio.authFailed": "Authenticatie Mislukt",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Composio-service niet ingeschakeld","tools.composio.oauthRequired": "Voltooi OAuth-authenticatie in het nieuwe venster","tools.composio.pendingAuth": "Authenticatie In Afwachting",+ "tools.composio.reauthorize": "Opnieuw autoriseren",+ "tools.composio.remove": "Verwijderen",+ "tools.composio.removeConfirm.desc": "{{name}} wordt permanent verwijderd uit je verbonden diensten. Deze actie kan niet ongedaan worden gemaakt.",+ "tools.composio.removeConfirm.title": "{{name}} verwijderen?","tools.composio.serverCreated": "Server succesvol aangemaakt","tools.composio.serverCreatedFailed": "Server aanmaken mislukt","tools.composio.serverRemoved": "Server verwijderd",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Integreer met Zendesk om supporttickets en klantinteracties te beheren. Maak supportverzoeken aan, werk ze bij, volg ze op, krijg toegang tot klantgegevens en stroomlijn je supportprocessen.","tools.composio.tools": "tools","tools.composio.verifyAuth": "Ik heb de authenticatie voltooid",+ "tools.disabled": "Het huidige model ondersteunt geen functieaanroepen en kan de vaardigheid niet gebruiken","tools.lobehubSkill.authorize": "Autoriseren","tools.lobehubSkill.connect": "Verbinden","tools.lobehubSkill.connected": "Verbonden",diff --git a/locales/nl-NL/topic.json b/locales/nl-NL/topic.jsonindex b2ae25af36f..264fa15bc5d 100644--- a/locales/nl-NL/topic.json+++ b/locales/nl-NL/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Favoriet","actions.import": "Gesprek importeren","actions.markCompleted": "Markeren als voltooid",+ "actions.moveToAgent": "Verplaatsen naar een andere assistent","actions.openInNewTab": "Openen in nieuw tabblad","actions.openInNewWindow": "Openen in een nieuw venster","actions.removeAll": "Alle onderwerpen verwijderen",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Je staat op het punt om {{count}} onderwerpen te verwijderen. Deze actie kan niet ongedaan worden gemaakt.","management.bulk.deleteTitle": "Onderwerpen verwijderen?","management.bulk.favorite": "Favoriet",+ "management.bulk.move": "Verplaatsen naar assistent",+ "management.bulk.moveEmpty": "Geen andere assistenten",+ "management.bulk.moveSearchPlaceholder": "Zoek assistenten…","management.bulk.selectedCount_one": "{{count}} geselecteerd","management.bulk.selectedCount_other": "{{count}} geselecteerd","management.card.noPreview": "Geen voorbeeld beschikbaar",@@ -118,6 +122,17 @@"management.group.noProject": "Geen project","management.group.none": "Geen","management.loadingMore": "Meer onderwerpen laden…",+ "management.moveModal.back": "Terug",+ "management.moveModal.confirmContent_one": "{{count}} onderwerp verplaatsen naar “{{title}}”?",+ "management.moveModal.confirmContent_other": "{{count}} onderwerpen verplaatsen naar “{{title}}”?",+ "management.moveModal.confirmOk": "Verplaatsen",+ "management.moveModal.doneOk": "Klaar",+ "management.moveModal.done_one": "{{count}} onderwerp verplaatst",+ "management.moveModal.done_other": "{{count}} onderwerpen verplaatst",+ "management.moveModal.error": "Verplaatsen mislukt, probeer het opnieuw",+ "management.moveModal.goToTarget": "Ga naar “{{title}}”",+ "management.moveModal.moving": "Bezig met verplaatsen…",+ "management.moveModal.title": "Onderwerpen verplaatsen","management.searchPlaceholder": "Zoek in de onderwerpen van deze agent…","management.sidebarEntry": "Onderwerpen","management.sort.createdAt": "Aangemaakt op",diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.jsonindex ef54d087d80..222deae844e 100644--- a/locales/pl-PL/chat.json+++ b/locales/pl-PL/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Wbudowany Copilot","chatList.expandMessage": "Rozwiń wiadomość","chatList.longMessageDetail": "Zobacz szczegóły",+ "chatList.refreshing": "Pobieranie najnowszych wiadomości...","chatMode.agent": "Agent","chatMode.agentCap.env": "Środowisko uruchomieniowe","chatMode.agentCap.files": "Dostęp do plików",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Wyodrębnij treść linku","followUpPlaceholder": "Kontynuuj. Użyj @, aby przypisać zadania innym agentom.","followUpPlaceholderHeterogeneous": "Kontynuuj.",+ "gatewayMode.title": "Tryb bramy","group.desc": "Pracuj nad zadaniem z wieloma Agentami w jednej wspólnej przestrzeni.","group.memberTooltip": "Grupa zawiera {{count}} członków","group.orchestratorThinking": "Orkiestrator myśli...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Dodaj wiadomość AI","input.addUser": "Dodaj wiadomość użytkownika",+ "input.agentModeUnsupportedModel": "Obecny model nie obsługuje agentowego wywoływania narzędzi. Przełącz się na model z funkcją agenta, aby uzyskać najlepsze doświadczenie.","input.costEstimate.creditsPerMillionTokens": "{{credits}} kredytów/M tokenów","input.costEstimate.hint": "Szacowany koszt: ~{{credits}} kredytów","input.costEstimate.inputLabel": "Wejście",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Wyjście {{amount}} kredytów · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Zapis do bufora {{amount}} kredytów · ${{amount}}/M","messages.tokenDetails.average": "Średnia cena jednostkowa",+ "messages.tokenDetails.cacheRate": "Wskaźnik pamięci podręcznej","messages.tokenDetails.input": "Wejście","messages.tokenDetails.inputAudio": "Wejście audio","messages.tokenDetails.inputCached": "Buforowane wejście",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Przełącz na widok zjednoczony","workingPanel.review.wordWrap.disable": "Wyłącz zawijanie wierszy","workingPanel.review.wordWrap.enable": "Włącz zawijanie wierszy",+ "workingPanel.skills.actions.comingSoon": "Już wkrótce",+ "workingPanel.skills.actions.delete": "Usuń",+ "workingPanel.skills.actions.rename": "Zmień nazwę",+ "workingPanel.skills.actions.view": "Zobacz",+ "workingPanel.skills.delete.agentConfirm": "Usunąć umiejętność „{{name}}” z tego agenta? Tego działania nie można cofnąć.",+ "workingPanel.skills.delete.error": "Nie udało się usunąć umiejętności",+ "workingPanel.skills.delete.success": "Umiejętność została usunięta",+ "workingPanel.skills.delete.title": "Usunąć umiejętność?",+ "workingPanel.skills.delete.userConfirm": "Odinstalować umiejętność „{{name}}”? Tego działania nie można cofnąć.",+ "workingPanel.skills.detail.title": "Szczegóły umiejętności","workingPanel.skills.empty": "Nie znaleziono umiejętności w tym projekcie",+ "workingPanel.skills.rename.action": "Zmień nazwę",+ "workingPanel.skills.rename.error": "Nie udało się zmienić nazwy umiejętności",+ "workingPanel.skills.rename.placeholder": "Nazwa umiejętności",+ "workingPanel.skills.rename.title": "Zmień nazwę umiejętności","workingPanel.skills.section.agent": "Umiejętności agenta","workingPanel.skills.section.project": "Umiejętności projektu","workingPanel.skills.section.user": "Umiejętności użytkownika",diff --git a/locales/pl-PL/electron.json b/locales/pl-PL/electron.jsonindex 58476c27a8e..0081ffdf55f 100644--- a/locales/pl-PL/electron.json+++ b/locales/pl-PL/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Dodaj kolumnę",+ "fleet.allShown": "Wszystkie uruchomione zadania są wyświetlane",+ "fleet.backToHome": "Powrót do strony głównej",+ "fleet.closeColumn": "Zamknij kolumnę",+ "fleet.createTask": "Utwórz zadanie",+ "fleet.empty": "Brak otwartych zadań",+ "fleet.emptyDesc": "Wybierz uruchomione zadanie po lewej stronie lub użyj +, aby dodać kolumnę.",+ "fleet.noRunningTasks": "Brak uruchomionych zadań",+ "fleet.openInChat": "Otwórz w czacie",+ "fleet.reply": "Odpowiedz",+ "fleet.runningTasks": "Uruchomione zadania",+ "fleet.status.idle": "Bezczynny",+ "fleet.status.paused": "Wstrzymany",+ "fleet.status.running": "Uruchomiony",+ "fleet.status.scheduled": "Zaplanowany",+ "fleet.tooltip": "Wyświetl wszystkich agentów obok siebie","gateway.description": "Opis","gateway.descriptionPlaceholder": "Opcjonalne","gateway.deviceName": "Nazwa urządzenia",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Pamięć - Tożsamości","navigation.memoryPreferences": "Pamięć - Preferencje","navigation.noPages": "Brak stron",+ "navigation.observation": "Tryb obserwacji","navigation.onboarding": "Wprowadzenie","navigation.page": "Strona","navigation.pages": "Strony",diff --git a/locales/pl-PL/file.json b/locales/pl-PL/file.jsonindex d46bb60a3be..3076d67ec2b 100644--- a/locales/pl-PL/file.json+++ b/locales/pl-PL/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Nie udało się zduplikować strony","pageEditor.duplicateSuccess": "Strona została pomyślnie zduplikowana","pageEditor.editMode.checking": "Sprawdzanie dostępności edycji…",+ "pageEditor.editMode.draftRestoreCancel": "Odrzuć",+ "pageEditor.editMode.draftRestoreContent": "Znaleziono niezapisane lokalne zmiany z ostatniej sesji. Przywrócić je?",+ "pageEditor.editMode.draftRestoreOk": "Przywróć",+ "pageEditor.editMode.draftRestoreTitle": "Przywróć niezapisany szkic",+ "pageEditor.editMode.lockLostDescription": "Ostatnie zmiany nie zostały jeszcze zsynchronizowane. Zapis zostanie wznowiony po odzyskaniu połączenia.",+ "pageEditor.editMode.lockLostTitle": "Tymczasowo utracono blokadę edycji",+ "pageEditor.editMode.lockUnstable": "Ponowne łączenie blokady edycji…","pageEditor.editMode.lockedByOther": "{{name}} edytuje ten dokument",+ "pageEditor.editMode.lockedBySelf": "Edytujesz ten dokument w innej karcie",+ "pageEditor.editMode.lockedBySelfDescription": "Zapis zostanie wznowiony po zamknięciu drugiej sesji lub wygaśnięciu jej blokady (~30s).","pageEditor.editMode.lockedBySomeone": "Ktoś inny edytuje ten dokument",+ "pageEditor.editMode.lockedDescription": "Strona jest tylko do odczytu, gdy ktoś inny ją edytuje. Twoje zmiany nie zostaną zapisane, dopóki nie skończą.","pageEditor.editedAt": "Ostatnia edycja: {{time}}","pageEditor.editedBy": "Ostatnio edytował: {{name}}","pageEditor.editorPlaceholder": "Naciśnij \"/\" dla AI i poleceń",diff --git a/locales/pl-PL/labs.json b/locales/pl-PL/labs.jsonindex 5e01e6a1260..039baf12dfd 100644--- a/locales/pl-PL/labs.json+++ b/locales/pl-PL/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Samoiteracja agenta","features.assistantMessageGroup.desc": "Grupuj wiadomości agenta i wyniki wywołań narzędzi razem do wyświetlenia","features.assistantMessageGroup.title": "Grupowanie Wiadomości Agenta",- "features.gatewayMode.desc": "Wykonuj zadania agenta na serwerze przez Gateway WebSocket zamiast lokalnie. Umożliwia to szybsze wykonywanie i zmniejsza wykorzystanie zasobów po stronie klienta.",- "features.gatewayMode.title": "Wykonywanie agenta po stronie serwera (Gateway)",+ "features.fleet.desc": "Wyświetl wpis Fleet w pasku tytułu — zestawienie obok siebie wszystkich uruchomionych zadań na Twoich agentach.",+ "features.fleet.title": "Widok Fleet","features.groupChat.desc": "Włącz koordynację czatu grupowego z wieloma agentami.","features.groupChat.title": "Czat Grupowy (Wielu Agentów)","features.imessage.desc": "Połącz agentów z iMessage za pośrednictwem lokalnego mostka LobeHub Desktop BlueBubbles.",diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.jsonindex 1532f14b73d..4dc4b376a0d 100644--- a/locales/pl-PL/setting.json+++ b/locales/pl-PL/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Prośba o umiejętność] Podsumuj w jednym zdaniu, jakiej umiejętności potrzebujesz","skillStore.wantMore.reachedEnd": "To już wszystko. Nie możesz znaleźć tego, czego szukasz?","startConversation": "Rozpocznij rozmowę",- "storage.actions.copyAgentGroups.button": "Kopiuj do",+ "storage.actions.copyAgentGroups.button": "Kopiuj do...","storage.actions.copyAgentGroups.desc": "Skopiuj grupy agentów i ich członków do innej przestrzeni roboczej lub konta osobistego.","storage.actions.copyAgentGroups.title": "Kopiowanie grup agentów","storage.actions.copyLobeAI.button": "Kopiuj do",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Dodaj własną umiejętność","tab.advanced": "Zaawansowane","tab.advanced.appUpdates.title": "Aktualizacje aplikacji",+ "tab.advanced.gatewayMode.desc": "Domyślnie uruchamiaj obsługiwane zadania agenta przez chmurę Gateway. Poszczególni agenci mogą to zmienić w menu czatu.",+ "tab.advanced.gatewayMode.title": "Tryb Gateway","tab.advanced.toolsAndDiagnostics.title": "Narzędzia i diagnostyka","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Uruchamiane przy każdym scaleniu PR, wiele kompilacji dziennie. Najmniej stabilne.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Czy na pewno chcesz odinstalować {{name}}? Ta umiejętność zostanie usunięta z bieżącego agenta.","tools.builtins.uninstallConfirm.title": "Odinstaluj {{name}}","tools.builtins.uninstalled": "Odinstalowano",- "tools.disabled": "Bieżący model nie obsługuje wywołań funkcji i nie może korzystać z tej umiejętności","tools.composio.addServer": "Dodaj serwer","tools.composio.authCompleted": "Uwierzytelnienie zakończone","tools.composio.authFailed": "Uwierzytelnienie nie powiodło się",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Usługa Composio nie jest włączona","tools.composio.oauthRequired": "Proszę zakończyć uwierzytelnienie OAuth w nowym oknie","tools.composio.pendingAuth": "Oczekujące uwierzytelnienie",+ "tools.composio.reauthorize": "Ponownie autoryzuj",+ "tools.composio.remove": "Usuń",+ "tools.composio.removeConfirm.desc": "{{name}} zostanie trwale usunięty z Twoich połączonych usług. Tej operacji nie można cofnąć.",+ "tools.composio.removeConfirm.title": "Usunąć {{name}}?","tools.composio.serverCreated": "Serwer utworzony pomyślnie","tools.composio.serverCreatedFailed": "Nie udało się utworzyć serwera","tools.composio.serverRemoved": "Serwer usunięty",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Zintegruj się z Zendesk, aby zarządzać zgłoszeniami wsparcia i interakcjami z klientami. Twórz, aktualizuj i śledź zgłoszenia, uzyskuj dostęp do danych klientów i usprawniaj działania wsparcia technicznego.","tools.composio.tools": "narzędzia","tools.composio.verifyAuth": "Ukończyłem uwierzytelnienie",+ "tools.disabled": "Bieżący model nie obsługuje wywołań funkcji i nie może korzystać z tej umiejętności","tools.lobehubSkill.authorize": "Autoryzuj","tools.lobehubSkill.connect": "Połącz","tools.lobehubSkill.connected": "Połączono",diff --git a/locales/pl-PL/topic.json b/locales/pl-PL/topic.jsonindex be400c19a4f..bc4f5de1c1c 100644--- a/locales/pl-PL/topic.json+++ b/locales/pl-PL/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Ulubione","actions.import": "Importuj rozmowę","actions.markCompleted": "Oznacz jako ukończone",+ "actions.moveToAgent": "Przenieś do innego asystenta","actions.openInNewTab": "Otwórz w nowej karcie","actions.openInNewWindow": "Otwórz w nowym oknie","actions.removeAll": "Usuń wszystkie tematy",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Zamierzasz usunąć {{count}} tematów. Ta operacja jest nieodwracalna.","management.bulk.deleteTitle": "Usunąć tematy?","management.bulk.favorite": "Ulubione",+ "management.bulk.move": "Przenieś do asystenta",+ "management.bulk.moveEmpty": "Brak innych asystentów",+ "management.bulk.moveSearchPlaceholder": "Szukaj asystentów…","management.bulk.selectedCount_one": "{{count}} wybrany","management.bulk.selectedCount_other": "{{count}} wybranych","management.card.noPreview": "Brak dostępnego podglądu",@@ -118,6 +122,17 @@"management.group.noProject": "Brak projektu","management.group.none": "Brak","management.loadingMore": "Ładowanie kolejnych tematów…",+ "management.moveModal.back": "Wstecz",+ "management.moveModal.confirmContent_one": "Przenieść {{count}} temat do „{{title}}”?",+ "management.moveModal.confirmContent_other": "Przenieść {{count}} tematy do „{{title}}”?",+ "management.moveModal.confirmOk": "Przenieś",+ "management.moveModal.doneOk": "Gotowe",+ "management.moveModal.done_one": "{{count}} temat przeniesiony",+ "management.moveModal.done_other": "{{count}} tematy przeniesione",+ "management.moveModal.error": "Przeniesienie nie powiodło się, spróbuj ponownie",+ "management.moveModal.goToTarget": "Przejdź do „{{title}}”",+ "management.moveModal.moving": "Przenoszenie…",+ "management.moveModal.title": "Przenieś tematy","management.searchPlaceholder": "Szukaj tematów tego agenta…","management.sidebarEntry": "Tematy","management.sort.createdAt": "Czas utworzenia",diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.jsonindex 74791bcf058..c29954c2926 100644--- a/locales/pt-BR/chat.json+++ b/locales/pt-BR/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Copiloto Integrado","chatList.expandMessage": "Expandir mensagem","chatList.longMessageDetail": "Ver detalhes",+ "chatList.refreshing": "Buscando mensagens mais recentes...","chatMode.agent": "Agente","chatMode.agentCap.env": "Ambiente de execução","chatMode.agentCap.files": "Acesso a arquivos",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Extrair Conteúdo de Links da Web","followUpPlaceholder": "Acompanhar. Use @ para atribuir tarefas a outros agentes.","followUpPlaceholderHeterogeneous": "Continuar.",+ "gatewayMode.title": "Modo Gateway","group.desc": "Avance em uma tarefa com vários Agentes em um espaço compartilhado.","group.memberTooltip": "Há {{count}} membros no grupo","group.orchestratorThinking": "Orquestrador está pensando...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Adicionar mensagem de IA","input.addUser": "Adicionar mensagem de usuário",+ "input.agentModeUnsupportedModel": "O modelo atual não suporta chamadas de ferramentas agentivas. Troque para um modelo com capacidade agentiva para uma melhor experiência.","input.costEstimate.creditsPerMillionTokens": "{{credits}} créditos/M tokens","input.costEstimate.hint": "Custo estimado: ~{{credits}} créditos","input.costEstimate.inputLabel": "Entrada",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Saída {{amount}} créditos · US${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Gravação em cache {{amount}} créditos · US${{amount}}/M","messages.tokenDetails.average": "Preço médio por unidade",+ "messages.tokenDetails.cacheRate": "Taxa de cache","messages.tokenDetails.input": "Entrada","messages.tokenDetails.inputAudio": "Entrada de Áudio","messages.tokenDetails.inputCached": "Entrada em Cache",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Alternar para visualização unificada","workingPanel.review.wordWrap.disable": "Desativar quebra de linha","workingPanel.review.wordWrap.enable": "Ativar quebra de linha",+ "workingPanel.skills.actions.comingSoon": "Em breve",+ "workingPanel.skills.actions.delete": "Excluir",+ "workingPanel.skills.actions.rename": "Renomear",+ "workingPanel.skills.actions.view": "Visualizar",+ "workingPanel.skills.delete.agentConfirm": "Remover a habilidade “{{name}}” deste agente? Isso não pode ser desfeito.",+ "workingPanel.skills.delete.error": "Falha ao excluir a habilidade",+ "workingPanel.skills.delete.success": "Habilidade excluída",+ "workingPanel.skills.delete.title": "Excluir habilidade?",+ "workingPanel.skills.delete.userConfirm": "Desinstalar a habilidade “{{name}}”? Isso não pode ser desfeito.",+ "workingPanel.skills.detail.title": "Detalhes da habilidade","workingPanel.skills.empty": "Nenhuma habilidade encontrada neste projeto",+ "workingPanel.skills.rename.action": "Renomear",+ "workingPanel.skills.rename.error": "Falha ao renomear a habilidade",+ "workingPanel.skills.rename.placeholder": "Nome da habilidade",+ "workingPanel.skills.rename.title": "Renomear habilidade","workingPanel.skills.section.agent": "Habilidades do agente","workingPanel.skills.section.project": "Habilidades do projeto","workingPanel.skills.section.user": "Habilidades do usuário",diff --git a/locales/pt-BR/electron.json b/locales/pt-BR/electron.jsonindex e5ddde67f5b..3159af1c6d2 100644--- a/locales/pt-BR/electron.json+++ b/locales/pt-BR/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Adicionar coluna",+ "fleet.allShown": "Todas as tarefas em execução estão exibidas",+ "fleet.backToHome": "Voltar para a página inicial",+ "fleet.closeColumn": "Fechar coluna",+ "fleet.createTask": "Criar tarefa",+ "fleet.empty": "Nenhuma tarefa aberta",+ "fleet.emptyDesc": "Selecione uma tarefa em execução à esquerda ou use + para adicionar uma coluna.",+ "fleet.noRunningTasks": "Nenhuma tarefa em execução",+ "fleet.openInChat": "Abrir no chat",+ "fleet.reply": "Responder",+ "fleet.runningTasks": "Tarefas em execução",+ "fleet.status.idle": "Inativo",+ "fleet.status.paused": "Pausado",+ "fleet.status.running": "Em execução",+ "fleet.status.scheduled": "Agendado",+ "fleet.tooltip": "Visualizar todos os agentes lado a lado","gateway.description": "Descrição","gateway.descriptionPlaceholder": "Opcional","gateway.deviceName": "Nome do Dispositivo",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Memória - Identidades","navigation.memoryPreferences": "Memória - Preferências","navigation.noPages": "Ainda não há páginas",+ "navigation.observation": "Modo de Observação","navigation.onboarding": "Integração","navigation.page": "Página","navigation.pages": "Páginas",diff --git a/locales/pt-BR/file.json b/locales/pt-BR/file.jsonindex 9f8a688a9fb..96228b52bc5 100644--- a/locales/pt-BR/file.json+++ b/locales/pt-BR/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Falha ao duplicar a página","pageEditor.duplicateSuccess": "Página duplicada com sucesso","pageEditor.editMode.checking": "Verificando a disponibilidade de edição…",+ "pageEditor.editMode.draftRestoreCancel": "Descartar",+ "pageEditor.editMode.draftRestoreContent": "Alterações locais não salvas da sua última sessão foram encontradas. Deseja restaurá-las?",+ "pageEditor.editMode.draftRestoreOk": "Restaurar",+ "pageEditor.editMode.draftRestoreTitle": "Restaurar Rascunho Não Salvo",+ "pageEditor.editMode.lockLostDescription": "Edições recentes ainda não foram sincronizadas. Elas voltarão a ser salvas assim que a conexão for restabelecida.",+ "pageEditor.editMode.lockLostTitle": "Bloqueio de edição temporariamente perdido",+ "pageEditor.editMode.lockUnstable": "Reconectando o bloqueio de edição…","pageEditor.editMode.lockedByOther": "{{name}} está editando este documento",+ "pageEditor.editMode.lockedBySelf": "Você está editando este documento em outra aba",+ "pageEditor.editMode.lockedBySelfDescription": "As alterações serão salvas após o encerramento da outra sessão ou a expiração do bloqueio (~30s).","pageEditor.editMode.lockedBySomeone": "Outra pessoa está editando este documento",+ "pageEditor.editMode.lockedDescription": "A página está em modo somente leitura enquanto outra pessoa edita. Suas alterações não serão salvas até que eles terminem.","pageEditor.editedAt": "Última edição em {{time}}","pageEditor.editedBy": "Última edição por {{name}}","pageEditor.editorPlaceholder": "Pressione \"/\" para IA e comandos",diff --git a/locales/pt-BR/labs.json b/locales/pt-BR/labs.jsonindex c41c509ccd4..ee777e7d81c 100644--- a/locales/pt-BR/labs.json+++ b/locales/pt-BR/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Autoiteração do Agente","features.assistantMessageGroup.desc": "Agrupe mensagens do agente e os resultados das chamadas de ferramentas para exibição conjunta","features.assistantMessageGroup.title": "Agrupamento de Mensagens do Agente",- "features.gatewayMode.desc": "Execute tarefas de agente no servidor via Gateway WebSocket em vez de executá-las localmente. Permite uma execução mais rápida e reduz o uso de recursos do cliente.",- "features.gatewayMode.title": "Execução de Agente no Servidor (Gateway)",+ "features.fleet.desc": "Exiba a entrada da Frota na barra de título — um painel lado a lado de todas as tarefas em execução entre seus agentes.",+ "features.fleet.title": "Visão da Frota","features.groupChat.desc": "Ative a coordenação de bate-papo em grupo com múltiplos agentes.","features.groupChat.title": "Bate-Papo em Grupo (Multiagente)","features.imessage.desc": "Conectar agentes ao iMessage através da ponte local LobeHub Desktop BlueBubbles.",diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.jsonindex 4e331eafe4c..55f5f9fbdfb 100644--- a/locales/pt-BR/setting.json+++ b/locales/pt-BR/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Solicitação de Habilidade] Resuma em uma frase a habilidade que você precisa","skillStore.wantMore.reachedEnd": "Você chegou ao fim. Não encontrou o que procurava?","startConversation": "Iniciar Conversa",- "storage.actions.copyAgentGroups.button": "Copiar Para",+ "storage.actions.copyAgentGroups.button": "Copiar para...","storage.actions.copyAgentGroups.desc": "Copie grupos de agentes e seus membros para outro espaço de trabalho ou conta pessoal.","storage.actions.copyAgentGroups.title": "Cópia de Grupos de Agentes","storage.actions.copyLobeAI.button": "Copiar Para",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Adicionar habilidade personalizada","tab.advanced": "Avançado","tab.advanced.appUpdates.title": "Atualizações do Aplicativo",+ "tab.advanced.gatewayMode.desc": "Execute tarefas de agente suportadas através do Gateway na nuvem por padrão. Agentes individuais podem substituir isso no menu de chat.",+ "tab.advanced.gatewayMode.title": "Modo Gateway","tab.advanced.toolsAndDiagnostics.title": "Ferramentas e Diagnósticos","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Acionado a cada merge de PR, múltiplas compilações por dia. O mais instável.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Tem certeza de que deseja desinstalar {{name}}? Essa habilidade será removida do agente atual.","tools.builtins.uninstallConfirm.title": "Desinstalar {{name}}","tools.builtins.uninstalled": "Desinstalado",- "tools.disabled": "O modelo atual não suporta chamadas de função e não pode usar a habilidade","tools.composio.addServer": "Adicionar Servidor","tools.composio.authCompleted": "Autenticação Concluída","tools.composio.authFailed": "Falha na Autenticação",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Serviço Composio não ativado","tools.composio.oauthRequired": "Por favor, conclua a autenticação OAuth na nova janela","tools.composio.pendingAuth": "Autenticação Pendente",+ "tools.composio.reauthorize": "Reautorizar",+ "tools.composio.remove": "Remover",+ "tools.composio.removeConfirm.desc": "{{name}} será removido permanentemente dos seus serviços conectados. Esta ação não pode ser desfeita.",+ "tools.composio.removeConfirm.title": "Remover {{name}}?","tools.composio.serverCreated": "Servidor criado com sucesso","tools.composio.serverCreatedFailed": "Falha ao criar servidor","tools.composio.serverRemoved": "Servidor removido",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Integre com o Zendesk para gerenciar tickets de suporte e interações com clientes. Crie, atualize e acompanhe solicitações de suporte, acesse dados de clientes e otimize suas operações de atendimento.","tools.composio.tools": "ferramentas","tools.composio.verifyAuth": "Concluí a autenticação",+ "tools.disabled": "O modelo atual não suporta chamadas de função e não pode usar a habilidade","tools.lobehubSkill.authorize": "Autorizar","tools.lobehubSkill.connect": "Conectar","tools.lobehubSkill.connected": "Conectado",diff --git a/locales/pt-BR/topic.json b/locales/pt-BR/topic.jsonindex 2d8df385d35..6b0437c75a6 100644--- a/locales/pt-BR/topic.json+++ b/locales/pt-BR/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Favoritar","actions.import": "Importar Conversa","actions.markCompleted": "Marcar como Concluída",+ "actions.moveToAgent": "Mover para outro assistente","actions.openInNewTab": "Abrir em Nova Aba","actions.openInNewWindow": "Abrir em nova janela","actions.removeAll": "Excluir Todos os Tópicos",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Você está prestes a excluir {{count}} tópicos. Esta ação não pode ser desfeita.","management.bulk.deleteTitle": "Excluir tópicos?","management.bulk.favorite": "Favoritar",+ "management.bulk.move": "Mover para assistente",+ "management.bulk.moveEmpty": "Nenhum outro assistente",+ "management.bulk.moveSearchPlaceholder": "Buscar assistentes…","management.bulk.selectedCount_one": "{{count}} selecionado","management.bulk.selectedCount_other": "{{count}} selecionados","management.card.noPreview": "Nenhuma prévia disponível",@@ -118,6 +122,17 @@"management.group.noProject": "Sem projeto","management.group.none": "Nenhum","management.loadingMore": "Carregando mais tópicos…",+ "management.moveModal.back": "Voltar",+ "management.moveModal.confirmContent_one": "Mover {{count}} tópico para “{{title}}”?",+ "management.moveModal.confirmContent_other": "Mover {{count}} tópicos para “{{title}}”?",+ "management.moveModal.confirmOk": "Mover",+ "management.moveModal.doneOk": "Concluído",+ "management.moveModal.done_one": "{{count}} tópico movido",+ "management.moveModal.done_other": "{{count}} tópicos movidos",+ "management.moveModal.error": "Falha ao mover, tente novamente",+ "management.moveModal.goToTarget": "Ir para “{{title}}”",+ "management.moveModal.moving": "Movendo…",+ "management.moveModal.title": "Mover tópicos","management.searchPlaceholder": "Pesquisar tópicos deste agente…","management.sidebarEntry": "Tópicos","management.sort.createdAt": "Data de criação",diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.jsonindex 62174e2b20f..fc50d259490 100644--- a/locales/ru-RU/chat.json+++ b/locales/ru-RU/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Встроенный Копилот","chatList.expandMessage": "Развернуть сообщение","chatList.longMessageDetail": "Просмотреть детали",+ "chatList.refreshing": "Получение последних сообщений...","chatMode.agent": "Агент","chatMode.agentCap.env": "Среда выполнения","chatMode.agentCap.files": "Доступ к файлам",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Извлекать содержимое веб-ссылок","followUpPlaceholder": "Продолжение. Используйте @, чтобы назначать задачи другим агентам.","followUpPlaceholderHeterogeneous": "Продолжить.",+ "gatewayMode.title": "Режим шлюза","group.desc": "Продвигайте задачу с помощью нескольких агентов в общем пространстве.","group.memberTooltip": "В группе {{count}} участников","group.orchestratorThinking": "Оркестратор обдумывает...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Добавить сообщение от ИИ","input.addUser": "Добавить сообщение пользователя",+ "input.agentModeUnsupportedModel": "Текущая модель не поддерживает вызов инструментов агента. Переключитесь на модель с возможностями агента для лучшего опыта.","input.costEstimate.creditsPerMillionTokens": "{{credits}} кредитов/М токенов","input.costEstimate.hint": "Ориентировочная стоимость: ~{{credits}} кредитов","input.costEstimate.inputLabel": "Ввод",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Вывод {{amount}} кредитов · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Запись в кэш {{amount}} кредитов · ${{amount}}/M","messages.tokenDetails.average": "Средняя цена за единицу",+ "messages.tokenDetails.cacheRate": "Уровень кэширования","messages.tokenDetails.input": "Ввод","messages.tokenDetails.inputAudio": "Аудио-ввод","messages.tokenDetails.inputCached": "Кэшированный ввод",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Переключиться на объединенный вид","workingPanel.review.wordWrap.disable": "Отключить перенос слов","workingPanel.review.wordWrap.enable": "Включить перенос слов",+ "workingPanel.skills.actions.comingSoon": "Скоро будет",+ "workingPanel.skills.actions.delete": "Удалить",+ "workingPanel.skills.actions.rename": "Переименовать",+ "workingPanel.skills.actions.view": "Просмотреть",+ "workingPanel.skills.delete.agentConfirm": "Удалить навык «{{name}}» из этого агента? Это действие нельзя отменить.",+ "workingPanel.skills.delete.error": "Не удалось удалить навык",+ "workingPanel.skills.delete.success": "Навык удален",+ "workingPanel.skills.delete.title": "Удалить навык?",+ "workingPanel.skills.delete.userConfirm": "Удалить навык «{{name}}»? Это действие нельзя отменить.",+ "workingPanel.skills.detail.title": "Детали навыка","workingPanel.skills.empty": "В этом проекте не найдено навыков",+ "workingPanel.skills.rename.action": "Переименовать",+ "workingPanel.skills.rename.error": "Не удалось переименовать навык",+ "workingPanel.skills.rename.placeholder": "Название навыка",+ "workingPanel.skills.rename.title": "Переименовать навык","workingPanel.skills.section.agent": "Навыки агента","workingPanel.skills.section.project": "Навыки проекта","workingPanel.skills.section.user": "Навыки пользователя",diff --git a/locales/ru-RU/electron.json b/locales/ru-RU/electron.jsonindex 1479b91c3ab..7828a37ba65 100644--- a/locales/ru-RU/electron.json+++ b/locales/ru-RU/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Добавить колонку",+ "fleet.allShown": "Показаны все выполняемые задачи",+ "fleet.backToHome": "Вернуться на главную",+ "fleet.closeColumn": "Закрыть колонку",+ "fleet.createTask": "Создать задачу",+ "fleet.empty": "Нет открытых задач",+ "fleet.emptyDesc": "Выберите выполняемую задачу слева или используйте +, чтобы добавить колонку.",+ "fleet.noRunningTasks": "Нет выполняемых задач",+ "fleet.openInChat": "Открыть в чате",+ "fleet.reply": "Ответить",+ "fleet.runningTasks": "Выполняемые задачи",+ "fleet.status.idle": "Ожидание",+ "fleet.status.paused": "Приостановлено",+ "fleet.status.running": "Выполняется",+ "fleet.status.scheduled": "Запланировано",+ "fleet.tooltip": "Просмотреть всех агентов рядом друг с другом","gateway.description": "Описание","gateway.descriptionPlaceholder": "Необязательно","gateway.deviceName": "Имя устройства",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Память - Идентичности","navigation.memoryPreferences": "Память - Предпочтения","navigation.noPages": "Пока нет страниц",+ "navigation.observation": "Режим наблюдения","navigation.onboarding": "Введение","navigation.page": "Страница","navigation.pages": "Страницы",diff --git a/locales/ru-RU/file.json b/locales/ru-RU/file.jsonindex ea499db0891..7fd39552438 100644--- a/locales/ru-RU/file.json+++ b/locales/ru-RU/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Не удалось дублировать страницу","pageEditor.duplicateSuccess": "Страница успешно дублирована","pageEditor.editMode.checking": "Проверка доступности редактирования…",+ "pageEditor.editMode.draftRestoreCancel": "Отменить",+ "pageEditor.editMode.draftRestoreContent": "Найдены несохраненные локальные изменения из последней сессии. Восстановить их?",+ "pageEditor.editMode.draftRestoreOk": "Восстановить",+ "pageEditor.editMode.draftRestoreTitle": "Восстановить несохраненный черновик",+ "pageEditor.editMode.lockLostDescription": "Последние изменения еще не синхронизированы. Сохранение возобновится, как только соединение восстановится.",+ "pageEditor.editMode.lockLostTitle": "Временная потеря блокировки редактирования",+ "pageEditor.editMode.lockUnstable": "Повторное подключение блокировки редактирования…","pageEditor.editMode.lockedByOther": "{{name}} редактирует этот документ",+ "pageEditor.editMode.lockedBySelf": "Вы редактируете этот документ в другой вкладке",+ "pageEditor.editMode.lockedBySelfDescription": "Сохранение возобновится после закрытия другой сессии или истечения ее блокировки (~30 секунд).","pageEditor.editMode.lockedBySomeone": "Кто-то другой редактирует этот документ",+ "pageEditor.editMode.lockedDescription": "Страница доступна только для чтения, пока они редактируют. Ваши изменения не будут сохранены, пока они не завершат.","pageEditor.editedAt": "Последнее редактирование: {{time}}","pageEditor.editedBy": "Последнее редактирование: {{name}}","pageEditor.editorPlaceholder": "Нажмите «/» для ИИ и команд",diff --git a/locales/ru-RU/labs.json b/locales/ru-RU/labs.jsonindex b7298466980..58a1adcb645 100644--- a/locales/ru-RU/labs.json+++ b/locales/ru-RU/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Самоитерация агента","features.assistantMessageGroup.desc": "Группируйте сообщения агента и результаты вызова инструментов для совместного отображения","features.assistantMessageGroup.title": "Группировка сообщений агента",- "features.gatewayMode.desc": "Выполняйте задачи агента на сервере через WebSocket Gateway вместо локального запуска. Обеспечивает более быструю работу и снижает нагрузку на ресурсы клиента.",- "features.gatewayMode.title": "Серверное выполнение агента (Gateway)",+ "features.fleet.desc": "Показывать запись Fleet в заголовке — панель управления, отображающая все выполняемые задачи на ваших агентах бок о бок.",+ "features.fleet.title": "Просмотр Fleet","features.groupChat.desc": "Включите координацию группового чата с несколькими агентами.","features.groupChat.title": "Групповой чат (мультиагентный)","features.imessage.desc": "Подключайте агентов к iMessage через локальный мост LobeHub Desktop BlueBubbles.",diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.jsonindex 4c21d8e1809..80d91f82bc1 100644--- a/locales/ru-RU/setting.json+++ b/locales/ru-RU/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Запрос навыка] Кратко опишите, какой навык вам нужен","skillStore.wantMore.reachedEnd": "Вы дошли до конца. Не нашли то, что искали?","startConversation": "Начать разговор",- "storage.actions.copyAgentGroups.button": "Копировать в",+ "storage.actions.copyAgentGroups.button": "Копировать в...","storage.actions.copyAgentGroups.desc": "Скопируйте группы агентов и их участников в другую рабочую область или личный аккаунт.","storage.actions.copyAgentGroups.title": "Копирование групп агентов","storage.actions.copyLobeAI.button": "Копировать в",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Добавить пользовательский навык","tab.advanced": "Дополнительно","tab.advanced.appUpdates.title": "Обновления приложения",+ "tab.advanced.gatewayMode.desc": "По умолчанию выполнять поддерживаемые задачи агента через облачный шлюз. Отдельные агенты могут переопределить это через меню чата.",+ "tab.advanced.gatewayMode.title": "Режим шлюза","tab.advanced.toolsAndDiagnostics.title": "Инструменты и диагностика","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Запускается при каждом слиянии PR, несколько сборок в день. Наименее стабильный.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Вы уверены, что хотите удалить {{name}}? Этот навык будет удалён у текущего агента.","tools.builtins.uninstallConfirm.title": "Удалить {{name}}","tools.builtins.uninstalled": "Удалено",- "tools.disabled": "Текущая модель не поддерживает вызов функций и не может использовать навык","tools.composio.addServer": "Добавить сервер","tools.composio.authCompleted": "Аутентификация завершена","tools.composio.authFailed": "Ошибка аутентификации",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Служба Composio не включена","tools.composio.oauthRequired": "Пожалуйста, завершите OAuth-аутентификацию в новом окне","tools.composio.pendingAuth": "Ожидание аутентификации",+ "tools.composio.reauthorize": "Повторно авторизовать",+ "tools.composio.remove": "Удалить",+ "tools.composio.removeConfirm.desc": "{{name}} будет навсегда удален из ваших подключенных сервисов. Это действие нельзя отменить.",+ "tools.composio.removeConfirm.title": "Удалить {{name}}?","tools.composio.serverCreated": "Сервер успешно создан","tools.composio.serverCreatedFailed": "Не удалось создать сервер","tools.composio.serverRemoved": "Сервер удалён",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Интеграция с Zendesk для управления заявками в поддержку и взаимодействия с клиентами. Создавайте, обновляйте и отслеживайте обращения, получайте доступ к данным клиентов и оптимизируйте поддержку.","tools.composio.tools": "инструменты","tools.composio.verifyAuth": "Я завершил аутентификацию",+ "tools.disabled": "Текущая модель не поддерживает вызов функций и не может использовать навык","tools.lobehubSkill.authorize": "Авторизовать","tools.lobehubSkill.connect": "Подключить","tools.lobehubSkill.connected": "Подключено",diff --git a/locales/ru-RU/topic.json b/locales/ru-RU/topic.jsonindex 464aee562a8..8ef2ca48b0d 100644--- a/locales/ru-RU/topic.json+++ b/locales/ru-RU/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Избранное","actions.import": "Импорт беседы","actions.markCompleted": "Отметить как выполнено",+ "actions.moveToAgent": "Переместить к другому ассистенту","actions.openInNewTab": "Открыть в новой вкладке","actions.openInNewWindow": "Открыть в новом окне","actions.removeAll": "Удалить все темы",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Вы собираетесь удалить {{count}} тем. Это действие нельзя отменить.","management.bulk.deleteTitle": "Удалить темы?","management.bulk.favorite": "Избранное",+ "management.bulk.move": "Переместить к ассистенту",+ "management.bulk.moveEmpty": "Нет других ассистентов",+ "management.bulk.moveSearchPlaceholder": "Искать ассистентов…","management.bulk.selectedCount_one": "Выбрано: {{count}}","management.bulk.selectedCount_other": "Выбрано: {{count}}","management.card.noPreview": "Предпросмотр недоступен",@@ -118,6 +122,17 @@"management.group.noProject": "Без проекта","management.group.none": "Нет","management.loadingMore": "Загрузка дополнительных тем…",+ "management.moveModal.back": "Назад",+ "management.moveModal.confirmContent_one": "Переместить {{count}} тему в «{{title}}»?",+ "management.moveModal.confirmContent_other": "Переместить {{count}} тем в «{{title}}»?",+ "management.moveModal.confirmOk": "Переместить",+ "management.moveModal.doneOk": "Готово",+ "management.moveModal.done_one": "{{count}} тема перемещена",+ "management.moveModal.done_other": "{{count}} тем перемещено",+ "management.moveModal.error": "Не удалось переместить, попробуйте еще раз",+ "management.moveModal.goToTarget": "Перейти к «{{title}}»",+ "management.moveModal.moving": "Перемещение…",+ "management.moveModal.title": "Переместить темы","management.searchPlaceholder": "Поиск тем этого агента…","management.sidebarEntry": "Темы","management.sort.createdAt": "Время создания",diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.jsonindex e8a35f9bf80..b24e4a4e52d 100644--- a/locales/tr-TR/chat.json+++ b/locales/tr-TR/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Yerleşik Yardımcı","chatList.expandMessage": "Mesajı Genişlet","chatList.longMessageDetail": "Ayrıntıları Görüntüle",+ "chatList.refreshing": "Son mesajlar getiriliyor...","chatMode.agent": "Ajan","chatMode.agentCap.env": "Çalışma ortamı","chatMode.agentCap.files": "Dosya erişimi",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Web Sayfası Bağlantı İçeriğini Çıkar","followUpPlaceholder": "Takip edin. Diğer ajanlara görev atamak için @ kullanın.","followUpPlaceholderHeterogeneous": "Devam edin.",+ "gatewayMode.title": "Ağ Geçidi Modu","group.desc": "Birden fazla Ajanla ortak bir alanda görevleri ilerletin.","group.memberTooltip": "Grupta {{count}} üye var","group.orchestratorThinking": "Yönlendirici düşünüyor...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Yapay Zeka mesajı ekle","input.addUser": "Kullanıcı mesajı ekle",+ "input.agentModeUnsupportedModel": "Mevcut model, araç çağırma yeteneğini desteklemiyor. En iyi deneyim için yetenekli bir modele geçin.","input.costEstimate.creditsPerMillionTokens": "{{credits}} kredi/M token","input.costEstimate.hint": "Tahmini maliyet: ~{{credits}} kredi","input.costEstimate.inputLabel": "Girdi",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Çıkış {{amount}} kredi · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Önbelleğe yazma {{amount}} kredi · ${{amount}}/M","messages.tokenDetails.average": "Ortalama birim fiyat",+ "messages.tokenDetails.cacheRate": "Önbellek oranı","messages.tokenDetails.input": "Giriş","messages.tokenDetails.inputAudio": "Ses Girişi","messages.tokenDetails.inputCached": "Önbelleğe Alınmış Giriş",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Birleşik görünüme geç","workingPanel.review.wordWrap.disable": "Kelime kaydırmayı devre dışı bırak","workingPanel.review.wordWrap.enable": "Kelime kaydırmayı etkinleştir",+ "workingPanel.skills.actions.comingSoon": "Yakında geliyor",+ "workingPanel.skills.actions.delete": "Sil",+ "workingPanel.skills.actions.rename": "Yeniden adlandır",+ "workingPanel.skills.actions.view": "Görüntüle",+ "workingPanel.skills.delete.agentConfirm": "Bu yetkiliden “{{name}}” yeteneğini kaldırmak istiyor musunuz? Bu işlem geri alınamaz.",+ "workingPanel.skills.delete.error": "Yetenek silinemedi",+ "workingPanel.skills.delete.success": "Yetenek silindi",+ "workingPanel.skills.delete.title": "Yetenek silinsin mi?",+ "workingPanel.skills.delete.userConfirm": "“{{name}}” yeteneğini kaldırmak istiyor musunuz? Bu işlem geri alınamaz.",+ "workingPanel.skills.detail.title": "Yetenek detayları","workingPanel.skills.empty": "Bu projede beceri bulunamadı",+ "workingPanel.skills.rename.action": "Yeniden adlandır",+ "workingPanel.skills.rename.error": "Yetenek yeniden adlandırılamadı",+ "workingPanel.skills.rename.placeholder": "Yetenek adı",+ "workingPanel.skills.rename.title": "Yetenek yeniden adlandır","workingPanel.skills.section.agent": "Ajan becerileri","workingPanel.skills.section.project": "Proje becerileri","workingPanel.skills.section.user": "Kullanıcı becerileri",diff --git a/locales/tr-TR/electron.json b/locales/tr-TR/electron.jsonindex 0f363dd3bd4..7a3dbc8d2c2 100644--- a/locales/tr-TR/electron.json+++ b/locales/tr-TR/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Sütun ekle",+ "fleet.allShown": "Tüm çalışan görevler gösteriliyor",+ "fleet.backToHome": "Ana sayfaya dön",+ "fleet.closeColumn": "Sütunu kapat",+ "fleet.createTask": "Görev oluştur",+ "fleet.empty": "Açık görev yok",+ "fleet.emptyDesc": "Soldaki çalışan bir görevi seçin veya sütun eklemek için + kullanın.",+ "fleet.noRunningTasks": "Çalışan görev yok",+ "fleet.openInChat": "Sohbette aç",+ "fleet.reply": "Yanıtla",+ "fleet.runningTasks": "Çalışan Görevler",+ "fleet.status.idle": "Boşta",+ "fleet.status.paused": "Duraklatıldı",+ "fleet.status.running": "Çalışıyor",+ "fleet.status.scheduled": "Planlandı",+ "fleet.tooltip": "Tüm ajanları yan yana görüntüle","gateway.description": "Açıklama","gateway.descriptionPlaceholder": "Opsiyonel","gateway.deviceName": "Cihaz Adı",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Bellek - Kimlikler","navigation.memoryPreferences": "Bellek - Tercihler","navigation.noPages": "Henüz sayfa yok",+ "navigation.observation": "Gözlem Modu","navigation.onboarding": "Hoş Geldiniz","navigation.page": "Sayfa","navigation.pages": "Sayfalar",diff --git a/locales/tr-TR/file.json b/locales/tr-TR/file.jsonindex 820f0966de3..d9673b6096a 100644--- a/locales/tr-TR/file.json+++ b/locales/tr-TR/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Sayfa kopyalanamadı","pageEditor.duplicateSuccess": "Sayfa başarıyla kopyalandı","pageEditor.editMode.checking": "Düzenleme uygunluğu kontrol ediliyor…",+ "pageEditor.editMode.draftRestoreCancel": "Vazgeç",+ "pageEditor.editMode.draftRestoreContent": "Son oturumunuzdan kaydedilmemiş yerel değişiklikler bulundu. Bunları geri yüklemek ister misiniz?",+ "pageEditor.editMode.draftRestoreOk": "Geri Yükle",+ "pageEditor.editMode.draftRestoreTitle": "Kaydedilmemiş Taslağı Geri Yükle",+ "pageEditor.editMode.lockLostDescription": "Son düzenlemeler henüz senkronize edilmedi. Bağlantı düzeldiğinde kaydetme işlemi devam edecek.",+ "pageEditor.editMode.lockLostTitle": "Düzenleme kilidi geçici olarak kaybedildi",+ "pageEditor.editMode.lockUnstable": "Düzenleme kilidi yeniden bağlanıyor...","pageEditor.editMode.lockedByOther": "{{name}} bu belgeyi düzenliyor",+ "pageEditor.editMode.lockedBySelf": "Bu belgeyi başka bir sekmede düzenliyorsunuz",+ "pageEditor.editMode.lockedBySelfDescription": "Diğer oturum kapandığında veya kilidi sona erdiğinde (~30s) kaydetme işlemi devam edecek.","pageEditor.editMode.lockedBySomeone": "Başka biri bu belgeyi düzenliyor",+ "pageEditor.editMode.lockedDescription": "Onlar düzenleme yaparken sayfa yalnızca okunabilir. Değişiklikleriniz, düzenlemeleri tamamlanana kadar kaydedilmeyecek.","pageEditor.editedAt": "Son düzenleme: {{time}}","pageEditor.editedBy": "Son düzenleyen: {{name}}","pageEditor.editorPlaceholder": "AI ve komutlar için \"/\" tuşuna basın",diff --git a/locales/tr-TR/labs.json b/locales/tr-TR/labs.jsonindex d488811b455..04c85c2479a 100644--- a/locales/tr-TR/labs.json+++ b/locales/tr-TR/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Aracının Kendi Kendine Yinelemesi","features.assistantMessageGroup.desc": "Temsilci mesajlarını ve bunlara ait araç çağrısı sonuçlarını birlikte gruplayarak görüntüleyin","features.assistantMessageGroup.title": "Temsilci Mesaj Gruplama",- "features.gatewayMode.desc": "Aracı görevlerini yerel olarak çalıştırmak yerine Gateway WebSocket üzerinden sunucuda yürütün. Daha hızlı yürütme sağlar ve istemci kaynak kullanımını azaltır.",- "features.gatewayMode.title": "Sunucu Taraflı Aracı Yürütme (Gateway)",+ "features.fleet.desc": "Başlık çubuğunda Filo girişini göster — ajanlarınız arasında çalışan tüm görevlerin yan yana gösterildiği bir kontrol paneli.",+ "features.fleet.title": "Filo Görünümü","features.groupChat.desc": "Çoklu temsilci grup sohbeti koordinasyonunu etkinleştirin.","features.groupChat.title": "Grup Sohbeti (Çoklu Temsilci)","features.imessage.desc": "Ajanları, yerel LobeHub Masaüstü BlueBubbles köprüsü aracılığıyla iMessage'a bağlayın.",diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.jsonindex 2ff48320561..9d980042f3e 100644--- a/locales/tr-TR/setting.json+++ b/locales/tr-TR/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Yetenek Talebi] İhtiyacınız olan yeteneği tek cümleyle özetleyin","skillStore.wantMore.reachedEnd": "Sona ulaştınız. Aradığınızı bulamadınız mı?","startConversation": "Sohbete Başla",- "storage.actions.copyAgentGroups.button": "Kopyala",+ "storage.actions.copyAgentGroups.button": "Kopyala...","storage.actions.copyAgentGroups.desc": "Ajan gruplarını ve üyelerini başka bir çalışma alanına veya kişisel hesaba kopyalayın.","storage.actions.copyAgentGroups.title": "Ajan Gruplarını Kopyala","storage.actions.copyLobeAI.button": "Kopyala",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Özel yetenek ekle","tab.advanced": "Gelişmiş","tab.advanced.appUpdates.title": "Uygulama Güncellemeleri",+ "tab.advanced.gatewayMode.desc": "Desteklenen ajan görevlerini varsayılan olarak bulut Gateway üzerinden çalıştırın. Bireysel ajanlar bunu sohbet menüsünden geçersiz kılabilir.",+ "tab.advanced.gatewayMode.title": "Gateway Modu","tab.advanced.toolsAndDiagnostics.title": "Araçlar ve Tanılama","tab.advanced.updateChannel.canary": "Kanarya","tab.advanced.updateChannel.canaryDesc": "Her PR birleştirmesinde tetiklenir, günde birden fazla yapı. En kararsız.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "{{name}} uygulamasını kaldırmak istediğinizden emin misiniz? Bu yetenek mevcut ajandan kaldırılacaktır.","tools.builtins.uninstallConfirm.title": "{{name}} Kaldır","tools.builtins.uninstalled": "Kaldırıldı",- "tools.disabled": "Geçerli model işlev çağrılarını desteklemiyor ve bu yetenek kullanılamaz","tools.composio.addServer": "Sunucu Ekle","tools.composio.authCompleted": "Kimlik Doğrulama Tamamlandı","tools.composio.authFailed": "Kimlik Doğrulama Başarısız",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Composio hizmeti etkin değil","tools.composio.oauthRequired": "Lütfen yeni pencerede OAuth kimlik doğrulamasını tamamlayın","tools.composio.pendingAuth": "Bekleyen Kimlik Doğrulama",+ "tools.composio.reauthorize": "Yeniden Yetkilendir",+ "tools.composio.remove": "Kaldır",+ "tools.composio.removeConfirm.desc": "{{name}} bağlı hizmetlerinizden kalıcı olarak kaldırılacaktır. Bu işlem geri alınamaz.",+ "tools.composio.removeConfirm.title": "{{name}} kaldırılacak mı?","tools.composio.serverCreated": "Sunucu başarıyla oluşturuldu","tools.composio.serverCreatedFailed": "Sunucu oluşturulamadı","tools.composio.serverRemoved": "Sunucu kaldırıldı",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Zendesk ile entegre olarak destek taleplerini ve müşteri etkileşimlerini yönetin. Destek istekleri oluşturun, güncelleyin ve takip edin, müşteri verilerine erişin ve destek operasyonlarınızı kolaylaştırın.","tools.composio.tools": "araçlar","tools.composio.verifyAuth": "Kimlik doğrulamasını tamamladım",+ "tools.disabled": "Geçerli model işlev çağrılarını desteklemiyor ve bu yetenek kullanılamaz","tools.lobehubSkill.authorize": "Yetkilendir","tools.lobehubSkill.connect": "Bağlan","tools.lobehubSkill.connected": "Bağlandı",diff --git a/locales/tr-TR/topic.json b/locales/tr-TR/topic.jsonindex 0466d76191b..87c73267a60 100644--- a/locales/tr-TR/topic.json+++ b/locales/tr-TR/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Favori","actions.import": "Konuşmayı İçe Aktar","actions.markCompleted": "Tamamlandı olarak işaretle",+ "actions.moveToAgent": "Başka bir asistana taşı","actions.openInNewTab": "Yeni Sekmede Aç","actions.openInNewWindow": "Yeni pencerede aç","actions.removeAll": "Tüm Konuları Sil",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "{{count}} konuyu silmek üzeresiniz. Bu işlem geri alınamaz.","management.bulk.deleteTitle": "Konuları sil?","management.bulk.favorite": "Favori",+ "management.bulk.move": "Asistana taşı",+ "management.bulk.moveEmpty": "Başka asistan yok",+ "management.bulk.moveSearchPlaceholder": "Asistanları ara…","management.bulk.selectedCount_one": "{{count}} seçildi","management.bulk.selectedCount_other": "{{count}} seçildi","management.card.noPreview": "Önizleme mevcut değil",@@ -118,6 +122,17 @@"management.group.noProject": "Proje yok","management.group.none": "Hiçbiri","management.loadingMore": "Daha fazla konu yükleniyor…",+ "management.moveModal.back": "Geri",+ "management.moveModal.confirmContent_one": "{{count}} konuyu “{{title}}” adlı asistana taşımak istiyor musunuz?",+ "management.moveModal.confirmContent_other": "{{count}} konuyu “{{title}}” adlı asistana taşımak istiyor musunuz?",+ "management.moveModal.confirmOk": "Taşı",+ "management.moveModal.doneOk": "Tamamlandı",+ "management.moveModal.done_one": "{{count}} konu taşındı",+ "management.moveModal.done_other": "{{count}} konu taşındı",+ "management.moveModal.error": "Taşıma başarısız oldu, lütfen tekrar deneyin",+ "management.moveModal.goToTarget": "“{{title}}” adlı asistana git",+ "management.moveModal.moving": "Taşınıyor…",+ "management.moveModal.title": "Konuları taşı","management.searchPlaceholder": "Bu temsilcinin konularını ara…","management.sidebarEntry": "Konular","management.sort.createdAt": "Oluşturulma zamanı",diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.jsonindex 1822d291061..8d16dee91f0 100644--- a/locales/vi-VN/chat.json+++ b/locales/vi-VN/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "Trợ lý tích hợp sẵn","chatList.expandMessage": "Mở rộng tin nhắn","chatList.longMessageDetail": "Xem chi tiết",+ "chatList.refreshing": "Đang lấy tin nhắn mới nhất...","chatMode.agent": "Đại lý","chatMode.agentCap.env": "Môi trường chạy","chatMode.agentCap.files": "Truy cập tệp",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "Trích xuất nội dung liên kết web","followUpPlaceholder": "Theo dõi. Dùng @ để giao nhiệm vụ cho tác vụ khác.","followUpPlaceholderHeterogeneous": "Tiếp tục.",+ "gatewayMode.title": "Chế độ Gateway","group.desc": "Thực hiện nhiệm vụ với nhiều Tác nhân trong một không gian chung.","group.memberTooltip": "Có {{count}} thành viên trong nhóm","group.orchestratorThinking": "Điều phối viên đang suy nghĩ...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "Thêm tin nhắn AI","input.addUser": "Thêm tin nhắn người dùng",+ "input.agentModeUnsupportedModel": "Mô hình hiện tại không hỗ trợ gọi công cụ tác nhân. Hãy chuyển sang mô hình có khả năng tác nhân để có trải nghiệm tốt nhất.","input.costEstimate.creditsPerMillionTokens": "{{credits}} tín dụng/M token","input.costEstimate.hint": "Chi phí ước tính: ~{{credits}} tín dụng","input.costEstimate.inputLabel": "Đầu vào",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "Đầu ra {{amount}} tín dụng · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "Ghi bộ nhớ đệm {{amount}} tín dụng · ${{amount}}/M","messages.tokenDetails.average": "Giá trung bình mỗi đơn vị",+ "messages.tokenDetails.cacheRate": "Tỷ lệ bộ nhớ đệm","messages.tokenDetails.input": "Đầu vào","messages.tokenDetails.inputAudio": "Đầu vào âm thanh","messages.tokenDetails.inputCached": "Đầu vào đã lưu",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "Chuyển sang chế độ xem hợp nhất","workingPanel.review.wordWrap.disable": "Tắt ngắt dòng","workingPanel.review.wordWrap.enable": "Bật ngắt dòng",+ "workingPanel.skills.actions.comingSoon": "Sắp ra mắt",+ "workingPanel.skills.actions.delete": "Xóa",+ "workingPanel.skills.actions.rename": "Đổi tên",+ "workingPanel.skills.actions.view": "Xem",+ "workingPanel.skills.delete.agentConfirm": "Xóa kỹ năng “{{name}}” khỏi tác nhân này? Hành động này không thể hoàn tác.",+ "workingPanel.skills.delete.error": "Xóa kỹ năng thất bại",+ "workingPanel.skills.delete.success": "Đã xóa kỹ năng",+ "workingPanel.skills.delete.title": "Xóa kỹ năng?",+ "workingPanel.skills.delete.userConfirm": "Gỡ cài đặt kỹ năng “{{name}}”? Hành động này không thể hoàn tác.",+ "workingPanel.skills.detail.title": "Chi tiết kỹ năng","workingPanel.skills.empty": "Không tìm thấy kỹ năng nào trong dự án này",+ "workingPanel.skills.rename.action": "Đổi tên",+ "workingPanel.skills.rename.error": "Đổi tên kỹ năng thất bại",+ "workingPanel.skills.rename.placeholder": "Tên kỹ năng",+ "workingPanel.skills.rename.title": "Đổi tên kỹ năng","workingPanel.skills.section.agent": "Kỹ năng tác nhân","workingPanel.skills.section.project": "Kỹ năng dự án","workingPanel.skills.section.user": "Kỹ năng người dùng",diff --git a/locales/vi-VN/electron.json b/locales/vi-VN/electron.jsonindex c46799f3005..23f46628d9e 100644--- a/locales/vi-VN/electron.json+++ b/locales/vi-VN/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "Thêm cột",+ "fleet.allShown": "Tất cả các nhiệm vụ đang chạy đều được hiển thị",+ "fleet.backToHome": "Quay về trang chủ",+ "fleet.closeColumn": "Đóng cột",+ "fleet.createTask": "Tạo nhiệm vụ",+ "fleet.empty": "Không có nhiệm vụ nào đang mở",+ "fleet.emptyDesc": "Chọn một nhiệm vụ đang chạy ở bên trái, hoặc sử dụng + để thêm cột.",+ "fleet.noRunningTasks": "Không có nhiệm vụ nào đang chạy",+ "fleet.openInChat": "Mở trong trò chuyện",+ "fleet.reply": "Trả lời",+ "fleet.runningTasks": "Nhiệm vụ đang chạy",+ "fleet.status.idle": "Nhàn rỗi",+ "fleet.status.paused": "Tạm dừng",+ "fleet.status.running": "Đang chạy",+ "fleet.status.scheduled": "Đã lên lịch",+ "fleet.tooltip": "Xem tất cả các tác nhân cạnh nhau","gateway.description": "Mô tả","gateway.descriptionPlaceholder": "Không bắt buộc","gateway.deviceName": "Tên thiết bị",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "Bộ nhớ - Danh tính","navigation.memoryPreferences": "Bộ nhớ - Tùy chọn","navigation.noPages": "Chưa có trang nào",+ "navigation.observation": "Chế độ quan sát","navigation.onboarding": "Giới thiệu","navigation.page": "Trang","navigation.pages": "Trang",diff --git a/locales/vi-VN/file.json b/locales/vi-VN/file.jsonindex 807482da49f..88e92c88342 100644--- a/locales/vi-VN/file.json+++ b/locales/vi-VN/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "Không thể sao chép trang","pageEditor.duplicateSuccess": "Đã sao chép trang thành công","pageEditor.editMode.checking": "Đang kiểm tra khả năng chỉnh sửa…",+ "pageEditor.editMode.draftRestoreCancel": "Hủy bỏ",+ "pageEditor.editMode.draftRestoreContent": "Tìm thấy các thay đổi chưa được lưu từ phiên làm việc trước của bạn. Khôi phục chúng?",+ "pageEditor.editMode.draftRestoreOk": "Khôi phục",+ "pageEditor.editMode.draftRestoreTitle": "Khôi phục bản nháp chưa lưu",+ "pageEditor.editMode.lockLostDescription": "Các chỉnh sửa gần đây chưa được đồng bộ. Chúng sẽ tiếp tục lưu khi kết nối được khôi phục.",+ "pageEditor.editMode.lockLostTitle": "Khóa chỉnh sửa tạm thời bị mất",+ "pageEditor.editMode.lockUnstable": "Đang kết nối lại khóa chỉnh sửa...","pageEditor.editMode.lockedByOther": "{{name}} đang chỉnh sửa tài liệu này",+ "pageEditor.editMode.lockedBySelf": "Bạn đang chỉnh sửa tài liệu này trong một tab khác",+ "pageEditor.editMode.lockedBySelfDescription": "Các thay đổi sẽ tiếp tục được lưu sau khi phiên làm việc kia đóng hoặc khóa của nó hết hạn (~30 giây).","pageEditor.editMode.lockedBySomeone": "Người khác đang chỉnh sửa tài liệu này",+ "pageEditor.editMode.lockedDescription": "Trang này chỉ đọc trong khi họ chỉnh sửa. Các thay đổi của bạn sẽ không được lưu cho đến khi họ hoàn tất.","pageEditor.editedAt": "Chỉnh sửa lần cuối vào {{time}}","pageEditor.editedBy": "Chỉnh sửa lần cuối bởi {{name}}","pageEditor.editorPlaceholder": "Nhấn \"/\" cho AI và lệnh",diff --git a/locales/vi-VN/labs.json b/locales/vi-VN/labs.jsonindex 52f3044d633..519872ec0a9 100644--- a/locales/vi-VN/labs.json+++ b/locales/vi-VN/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "Tự lặp của tác nhân","features.assistantMessageGroup.desc": "Nhóm các tin nhắn của tác nhân và kết quả gọi công cụ lại với nhau để hiển thị","features.assistantMessageGroup.title": "Nhóm Tin Nhắn Tác Nhân",- "features.gatewayMode.desc": "Thực thi các tác vụ của tác nhân trên máy chủ thông qua Gateway WebSocket thay vì chạy cục bộ. Giúp tăng tốc độ xử lý và giảm mức sử dụng tài nguyên trên thiết bị của người dùng.",- "features.gatewayMode.title": "Thực thi tác nhân phía máy chủ (Gateway)",+ "features.fleet.desc": "Hiển thị mục Fleet trong thanh tiêu đề — một bảng điều khiển song song của tất cả các tác vụ đang chạy trên các tác nhân của bạn.",+ "features.fleet.title": "Chế Độ Xem Fleet","features.groupChat.desc": "Kích hoạt phối hợp trò chuyện nhóm với nhiều tác nhân.","features.groupChat.title": "Trò Chuyện Nhóm (Đa Tác Nhân)","features.imessage.desc": "Kết nối các đại lý với iMessage thông qua cầu nối BlueBubbles LobeHub Desktop cục bộ.",diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.jsonindex 2d10c4af39c..31a18f173fd 100644--- a/locales/vi-VN/setting.json+++ b/locales/vi-VN/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[Yêu cầu kỹ năng] Tóm tắt kỹ năng bạn cần trong một câu","skillStore.wantMore.reachedEnd": "Bạn đã xem hết. Không tìm thấy điều bạn cần?","startConversation": "Bắt Đầu Trò Chuyện",- "storage.actions.copyAgentGroups.button": "Sao chép đến",+ "storage.actions.copyAgentGroups.button": "Sao chép vào...","storage.actions.copyAgentGroups.desc": "Sao chép nhóm tác nhân và các tác nhân thành viên của chúng vào một không gian làm việc hoặc tài khoản cá nhân khác.","storage.actions.copyAgentGroups.title": "Sao chép nhóm tác nhân","storage.actions.copyLobeAI.button": "Sao chép đến",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "Thêm kỹ năng tùy chỉnh","tab.advanced": "Nâng cao","tab.advanced.appUpdates.title": "Cập nhật ứng dụng",+ "tab.advanced.gatewayMode.desc": "Chạy các tác vụ của agent được hỗ trợ thông qua Gateway đám mây theo mặc định. Các agent riêng lẻ có thể ghi đè điều này từ menu trò chuyện.",+ "tab.advanced.gatewayMode.title": "Chế độ Gateway","tab.advanced.toolsAndDiagnostics.title": "Công cụ và chẩn đoán","tab.advanced.updateChannel.canary": "Canary","tab.advanced.updateChannel.canaryDesc": "Kích hoạt trên mỗi lần hợp nhất PR, nhiều bản dựng mỗi ngày. Không ổn định nhất.",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "Bạn có chắc chắn muốn gỡ cài đặt {{name}} không? Kỹ năng này sẽ bị xóa khỏi tác nhân hiện tại.","tools.builtins.uninstallConfirm.title": "Gỡ cài đặt {{name}}","tools.builtins.uninstalled": "Đã gỡ cài đặt",- "tools.disabled": "Mô hình hiện tại không hỗ trợ gọi hàm và không thể sử dụng kỹ năng","tools.composio.addServer": "Thêm Máy Chủ","tools.composio.authCompleted": "Xác Thực Hoàn Tất","tools.composio.authFailed": "Xác Thực Thất Bại",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Dịch vụ Composio chưa được bật","tools.composio.oauthRequired": "Vui lòng hoàn tất xác thực OAuth trong cửa sổ mới","tools.composio.pendingAuth": "Đang Chờ Xác Thực",+ "tools.composio.reauthorize": "Ủy quyền lại",+ "tools.composio.remove": "Xóa",+ "tools.composio.removeConfirm.desc": "{{name}} sẽ bị xóa vĩnh viễn khỏi các dịch vụ được kết nối của bạn. Hành động này không thể hoàn tác.",+ "tools.composio.removeConfirm.title": "Xóa {{name}}?","tools.composio.serverCreated": "Tạo máy chủ thành công","tools.composio.serverCreatedFailed": "Tạo máy chủ thất bại","tools.composio.serverRemoved": "Đã xóa máy chủ",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "Tích hợp với Zendesk để quản lý phiếu hỗ trợ và tương tác khách hàng. Tạo, cập nhật và theo dõi yêu cầu hỗ trợ, truy cập dữ liệu khách hàng và tối ưu hóa hoạt động hỗ trợ.","tools.composio.tools": "công cụ","tools.composio.verifyAuth": "Tôi đã hoàn tất xác thực",+ "tools.disabled": "Mô hình hiện tại không hỗ trợ gọi hàm và không thể sử dụng kỹ năng","tools.lobehubSkill.authorize": "Ủy quyền","tools.lobehubSkill.connect": "Kết nối","tools.lobehubSkill.connected": "Đã kết nối",diff --git a/locales/vi-VN/topic.json b/locales/vi-VN/topic.jsonindex a588ae4812d..f7cc298bbb7 100644--- a/locales/vi-VN/topic.json+++ b/locales/vi-VN/topic.json@@ -16,6 +16,7 @@"actions.favorite": "Yêu thích","actions.import": "Nhập cuộc trò chuyện","actions.markCompleted": "Đánh dấu hoàn thành",+ "actions.moveToAgent": "Chuyển đến trợ lý khác","actions.openInNewTab": "Mở trong tab mới","actions.openInNewWindow": "Mở trong cửa sổ mới","actions.removeAll": "Xóa tất cả chủ đề",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "Bạn sắp xóa {{count}} chủ đề. Hành động này không thể hoàn tác.","management.bulk.deleteTitle": "Xóa các chủ đề?","management.bulk.favorite": "Yêu thích",+ "management.bulk.move": "Chuyển đến trợ lý",+ "management.bulk.moveEmpty": "Không có trợ lý nào khác",+ "management.bulk.moveSearchPlaceholder": "Tìm kiếm trợ lý…","management.bulk.selectedCount_one": "{{count}} đã chọn","management.bulk.selectedCount_other": "{{count}} đã chọn","management.card.noPreview": "Không có bản xem trước",@@ -118,6 +122,17 @@"management.group.noProject": "Không có dự án","management.group.none": "Không có","management.loadingMore": "Đang tải thêm các chủ đề…",+ "management.moveModal.back": "Quay lại",+ "management.moveModal.confirmContent_one": "Chuyển {{count}} chủ đề đến “{{title}}”?",+ "management.moveModal.confirmContent_other": "Chuyển {{count}} chủ đề đến “{{title}}”?",+ "management.moveModal.confirmOk": "Chuyển",+ "management.moveModal.doneOk": "Hoàn tất",+ "management.moveModal.done_one": "{{count}} chủ đề đã được chuyển",+ "management.moveModal.done_other": "{{count}} chủ đề đã được chuyển",+ "management.moveModal.error": "Chuyển thất bại, vui lòng thử lại",+ "management.moveModal.goToTarget": "Đi đến “{{title}}”",+ "management.moveModal.moving": "Đang chuyển…",+ "management.moveModal.title": "Chuyển chủ đề","management.searchPlaceholder": "Tìm kiếm các chủ đề của tác nhân này…","management.sidebarEntry": "Chủ đề","management.sort.createdAt": "Thời gian tạo",diff --git a/locales/zh-CN/file.json b/locales/zh-CN/file.jsonindex e5bcca79820..739fa0c5998 100644--- a/locales/zh-CN/file.json+++ b/locales/zh-CN/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "页面复制失败","pageEditor.duplicateSuccess": "页面复制成功","pageEditor.editMode.checking": "正在检查可编辑状态…",+ "pageEditor.editMode.draftRestoreCancel": "丢弃",+ "pageEditor.editMode.draftRestoreContent": "检测到上次编辑遗留的本地草稿,是否恢复?",+ "pageEditor.editMode.draftRestoreOk": "恢复",+ "pageEditor.editMode.draftRestoreTitle": "恢复未保存的草稿",+ "pageEditor.editMode.lockLostDescription": "近期改动尚未同步到云端,连接恢复后会自动续传。",+ "pageEditor.editMode.lockLostTitle": "编辑权暂时丢失",+ "pageEditor.editMode.lockUnstable": "正在恢复编辑权…","pageEditor.editMode.lockedByOther": "{{name}} 正在编辑此文档",+ "pageEditor.editMode.lockedBySelf": "你正在另一个标签页编辑此文档",+ "pageEditor.editMode.lockedBySelfDescription": "等另一处会话关闭、或锁自动过期(约 30 秒后)将自动恢复保存。","pageEditor.editMode.lockedBySomeone": "其他人正在编辑此文档",+ "pageEditor.editMode.lockedDescription": "对方编辑期间本页为只读,你的改动在对方完成前不会被保存。","pageEditor.editedAt": "最后编辑于 {{time}}","pageEditor.editedBy": "最后编辑者 {{name}}","pageEditor.editorPlaceholder": "按 \"/\" 使用 AI 和命令",diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.jsonindex ee215173ba1..ed9fd78d498 100644--- a/locales/zh-CN/setting.json+++ b/locales/zh-CN/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[技能申请] 请用一句话概括您需要的技能","skillStore.wantMore.reachedEnd": "已经到底了,未找到所需技能?","startConversation": "开始对话",- "storage.actions.copyAgentGroups.button": "复制到",+ "storage.actions.copyAgentGroups.button": "复制到...","storage.actions.copyAgentGroups.desc": "将代理组及其成员代理复制到另一个工作区或个人账户。","storage.actions.copyAgentGroups.title": "代理组复制","storage.actions.copyLobeAI.button": "复制到...",diff --git a/locales/zh-CN/tool.json b/locales/zh-CN/tool.jsonindex 5b6fe9ff3e5..1379a1269a0 100644--- a/locales/zh-CN/tool.json+++ b/locales/zh-CN/tool.json@@ -202,10 +202,6 @@"securityBlacklist.sshPrivateKeys": "读取 SSH 私钥可能危及系统安全","securityBlacklist.sudoers": "未经正确验证修改 sudoers 文件是危险操作","securityBlacklist.suidShells": "在 Shell 或解释器上设置 SUID 是安全风险",- "connector.edit": "编辑",- "connector.edit.success": "连接器已更新",- "connector.uninstall": "卸载",- "connector.uninstallConfirm": "确定要卸载此连接器吗?","updateArgs.duplicateKeyError": "字段键必须唯一","updateArgs.form.add": "添加一项","updateArgs.form.key": "字段键",diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.jsonindex c7f212f1e77..934876d9875 100644--- a/locales/zh-TW/chat.json+++ b/locales/zh-TW/chat.json@@ -44,6 +44,7 @@"builtinCopilot": "內建 Copilot","chatList.expandMessage": "展開訊息","chatList.longMessageDetail": "查看詳情",+ "chatList.refreshing": "正在獲取最新消息...","chatMode.agent": "代理","chatMode.agentCap.env": "運行環境","chatMode.agentCap.files": "文件訪問",@@ -164,6 +165,7 @@"extendParams.urlContext.title": "擷取網頁連結內容","followUpPlaceholder": "後續動作。使用 @ 指派任務給其他代理。","followUpPlaceholderHeterogeneous": "繼續追問。",+ "gatewayMode.title": "閘道模式","group.desc": "與多位 AI 助手在共用的對話空間中協作。","group.memberTooltip": "群組內有 {{count}} 位成員","group.orchestratorThinking": "主持人正在思考中...",@@ -245,6 +247,7 @@"inbox.title": "Lobe AI","input.addAi": "新增一條 AI 訊息","input.addUser": "新增一條使用者訊息",+ "input.agentModeUnsupportedModel": "當前模型不支援代理工具調用。請切換到具有代理功能的模型以獲得最佳體驗。","input.costEstimate.creditsPerMillionTokens": "{{credits}} 點數/M 個標記","input.costEstimate.hint": "預估成本:~{{credits}} 點數","input.costEstimate.inputLabel": "輸入",@@ -332,6 +335,7 @@"messages.modelCard.pricing.outputTokens": "輸出 {{amount}}/積分 · ${{amount}}/M","messages.modelCard.pricing.writeCacheInputTokens": "快取輸入寫入 {{amount}}/積分 · ${{amount}}/M","messages.tokenDetails.average": "平均單價",+ "messages.tokenDetails.cacheRate": "緩存率","messages.tokenDetails.input": "輸入","messages.tokenDetails.inputAudio": "音頻輸入","messages.tokenDetails.inputCached": "輸入快取",@@ -1093,7 +1097,21 @@"workingPanel.review.viewMode.unified": "切換至統一檢視","workingPanel.review.wordWrap.disable": "停用自動換行","workingPanel.review.wordWrap.enable": "啟用自動換行",+ "workingPanel.skills.actions.comingSoon": "即將推出",+ "workingPanel.skills.actions.delete": "刪除",+ "workingPanel.skills.actions.rename": "重新命名",+ "workingPanel.skills.actions.view": "查看",+ "workingPanel.skills.delete.agentConfirm": "是否從此代理中移除技能「{{name}}」?此操作無法撤銷。",+ "workingPanel.skills.delete.error": "刪除技能失敗",+ "workingPanel.skills.delete.success": "技能已刪除",+ "workingPanel.skills.delete.title": "刪除技能?",+ "workingPanel.skills.delete.userConfirm": "是否卸載技能「{{name}}」?此操作無法撤銷。",+ "workingPanel.skills.detail.title": "技能詳情","workingPanel.skills.empty": "此專案中未找到技能",+ "workingPanel.skills.rename.action": "重新命名",+ "workingPanel.skills.rename.error": "重新命名技能失敗",+ "workingPanel.skills.rename.placeholder": "技能名稱",+ "workingPanel.skills.rename.title": "重新命名技能","workingPanel.skills.section.agent": "代理技能","workingPanel.skills.section.project": "項目技能","workingPanel.skills.section.user": "用戶技能",diff --git a/locales/zh-TW/electron.json b/locales/zh-TW/electron.jsonindex 5a157b20039..51f37328dce 100644--- a/locales/zh-TW/electron.json+++ b/locales/zh-TW/electron.json@@ -1,4 +1,20 @@{+ "fleet.addColumn": "新增欄位",+ "fleet.allShown": "所有執行中的任務已顯示",+ "fleet.backToHome": "返回首頁",+ "fleet.closeColumn": "關閉欄位",+ "fleet.createTask": "建立任務",+ "fleet.empty": "沒有開啟的任務",+ "fleet.emptyDesc": "在左側選擇一個執行中的任務,或使用 + 新增欄位。",+ "fleet.noRunningTasks": "沒有執行中的任務",+ "fleet.openInChat": "在聊天中開啟",+ "fleet.reply": "回覆",+ "fleet.runningTasks": "執行中的任務",+ "fleet.status.idle": "閒置",+ "fleet.status.paused": "已暫停",+ "fleet.status.running": "執行中",+ "fleet.status.scheduled": "已排程",+ "fleet.tooltip": "並排查看所有代理","gateway.description": "描述","gateway.descriptionPlaceholder": "可選","gateway.deviceName": "設備名稱",@@ -26,6 +42,7 @@"navigation.memoryIdentities": "記憶 - 身份","navigation.memoryPreferences": "記憶 - 偏好","navigation.noPages": "暫無頁面",+ "navigation.observation": "觀察模式","navigation.onboarding": "引導","navigation.page": "文稿","navigation.pages": "文稿",diff --git a/locales/zh-TW/file.json b/locales/zh-TW/file.jsonindex cbdb6648817..21a9a57ab22 100644--- a/locales/zh-TW/file.json+++ b/locales/zh-TW/file.json@@ -95,8 +95,18 @@"pageEditor.duplicateError": "頁面複製失敗","pageEditor.duplicateSuccess": "頁面複製成功","pageEditor.editMode.checking": "正在檢查編輯可用性…",+ "pageEditor.editMode.draftRestoreCancel": "捨棄",+ "pageEditor.editMode.draftRestoreContent": "發現您上次會話中未保存的本地更改。是否恢復?",+ "pageEditor.editMode.draftRestoreOk": "恢復",+ "pageEditor.editMode.draftRestoreTitle": "恢復未保存的草稿",+ "pageEditor.editMode.lockLostDescription": "最近的編輯尚未同步。連接恢復後將繼續保存。",+ "pageEditor.editMode.lockLostTitle": "編輯鎖暫時丟失",+ "pageEditor.editMode.lockUnstable": "正在重新連接編輯鎖…","pageEditor.editMode.lockedByOther": "{{name}} 正在編輯此文件",+ "pageEditor.editMode.lockedBySelf": "您正在另一個標籤頁中編輯此文件",+ "pageEditor.editMode.lockedBySelfDescription": "保存將在另一個會話關閉或其鎖定過期(約30秒)後恢復。","pageEditor.editMode.lockedBySomeone": "其他人正在編輯此文件",+ "pageEditor.editMode.lockedDescription": "在他們編輯時,該頁面為只讀。您的更改將在他們完成後保存。","pageEditor.editedAt": "最後編輯於 {{time}}","pageEditor.editedBy": "最後編輯者 {{name}}","pageEditor.editorPlaceholder": "按 \"/\" 使用 AI 和命令",diff --git a/locales/zh-TW/labs.json b/locales/zh-TW/labs.jsonindex 4fbb2853c24..4ec9dfa1895 100644--- a/locales/zh-TW/labs.json+++ b/locales/zh-TW/labs.json@@ -5,8 +5,8 @@"features.agentSelfIteration.title": "代理自我迭代","features.assistantMessageGroup.desc": "將助手訊息及其工具調用結果彙整成群組顯示","features.assistantMessageGroup.title": "助手訊息彙整群組",- "features.gatewayMode.desc": "透過 Gateway WebSocket 在伺服器端執行代理任務,而非在本機運行。可加快執行速度並降低用戶端資源使用。",- "features.gatewayMode.title": "伺服器端代理執行(Gateway)",+ "features.fleet.desc": "在標題欄中顯示 Fleet 項目——一個並排顯示所有代理執行任務的儀表板。",+ "features.fleet.title": "Fleet 檢視","features.groupChat.desc": "啟用多智能體群組聊天編排功能。","features.groupChat.title": "群組聊天(多智能體)","features.imessage.desc": "透過本地 LobeHub Desktop BlueBubbles 橋接,將代理連接至 iMessage。",diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.jsonindex d77b8aee0c7..1e8f9ca771d 100644--- a/locales/zh-TW/setting.json+++ b/locales/zh-TW/setting.json@@ -890,7 +890,7 @@"skillStore.wantMore.feedback.title": "[技能請求] 請用一句話概述您需要的技能","skillStore.wantMore.reachedEnd": "您已瀏覽到底。找不到您需要的內容嗎?","startConversation": "開始對話",- "storage.actions.copyAgentGroups.button": "複製到",+ "storage.actions.copyAgentGroups.button": "複製到...","storage.actions.copyAgentGroups.desc": "將代理群組及其成員代理複製到另一個工作區或個人帳戶。","storage.actions.copyAgentGroups.title": "代理群組複製","storage.actions.copyLobeAI.button": "複製到",@@ -1032,6 +1032,8 @@"tab.addCustomSkill": "新增自訂技能","tab.advanced": "進階","tab.advanced.appUpdates.title": "應用更新",+ "tab.advanced.gatewayMode.desc": "預設通過雲端網關執行支援的代理任務。個別代理可從聊天選單中覆蓋此設定。",+ "tab.advanced.gatewayMode.title": "網關模式","tab.advanced.toolsAndDiagnostics.title": "工具與診斷","tab.advanced.updateChannel.canary": "金絲雀版","tab.advanced.updateChannel.canaryDesc": "每次 PR 合併後觸發,每天多次構建。最不穩定的版本。",@@ -1169,7 +1171,6 @@"tools.builtins.uninstallConfirm.desc": "您確定要解除安裝 {{name}} 嗎?此技能將從目前的代理中移除。","tools.builtins.uninstallConfirm.title": "解除安裝 {{name}}","tools.builtins.uninstalled": "已解除安裝",- "tools.disabled": "當前模型不支持函數調用,無法使用插件","tools.composio.addServer": "新增伺服器","tools.composio.authCompleted": "驗證完成","tools.composio.authFailed": "驗證失敗",@@ -1186,6 +1187,10 @@"tools.composio.notEnabled": "Composio 服務未啟用","tools.composio.oauthRequired": "請在新視窗中完成 OAuth 驗證","tools.composio.pendingAuth": "待驗證",+ "tools.composio.reauthorize": "重新授權",+ "tools.composio.remove": "移除",+ "tools.composio.removeConfirm.desc": "{{name}} 將永久從您的連接服務中移除。此操作無法撤銷。",+ "tools.composio.removeConfirm.title": "移除 {{name}}?","tools.composio.serverCreated": "伺服器建立成功","tools.composio.serverCreatedFailed": "伺服器建立失敗","tools.composio.serverRemoved": "伺服器已刪除",@@ -1238,6 +1243,7 @@"tools.composio.servers.zendesk.readme": "整合 Zendesk 以管理支援票據與客戶互動。建立、更新與追蹤支援請求,存取客戶資料,並簡化客服作業流程。","tools.composio.tools": "個工具","tools.composio.verifyAuth": "我已完成驗證",+ "tools.disabled": "當前模型不支持函數調用,無法使用插件","tools.lobehubSkill.authorize": "授權","tools.lobehubSkill.connect": "連接","tools.lobehubSkill.connected": "已連線",diff --git a/locales/zh-TW/topic.json b/locales/zh-TW/topic.jsonindex 26a678499c1..e48218a48f5 100644--- a/locales/zh-TW/topic.json+++ b/locales/zh-TW/topic.json@@ -16,6 +16,7 @@"actions.favorite": "收藏","actions.import": "匯入對話","actions.markCompleted": "標記為已完成",+ "actions.moveToAgent": "移至另一位助理","actions.openInNewTab": "在新分頁中開啟","actions.openInNewWindow": "在新視窗中開啟","actions.removeAll": "刪除全部話題",@@ -80,6 +81,9 @@"management.bulk.deleteConfirm": "您即將刪除 {{count}} 個主題。此操作無法撤銷。","management.bulk.deleteTitle": "刪除主題?","management.bulk.favorite": "收藏",+ "management.bulk.move": "移至助理",+ "management.bulk.moveEmpty": "沒有其他助理",+ "management.bulk.moveSearchPlaceholder": "搜尋助理…","management.bulk.selectedCount_one": "已選擇 {{count}} 個","management.bulk.selectedCount_other": "已選擇 {{count}} 個","management.card.noPreview": "無可用預覽",@@ -118,6 +122,17 @@"management.group.noProject": "無專案","management.group.none": "無","management.loadingMore": "正在加載更多主題…",+ "management.moveModal.back": "返回",+ "management.moveModal.confirmContent_one": "將 {{count}} 個主題移至「{{title}}」?",+ "management.moveModal.confirmContent_other": "將 {{count}} 個主題移至「{{title}}」?",+ "management.moveModal.confirmOk": "移動",+ "management.moveModal.doneOk": "完成",+ "management.moveModal.done_one": "{{count}} 個主題已移動",+ "management.moveModal.done_other": "{{count}} 個主題已移動",+ "management.moveModal.error": "移動失敗,請再試一次",+ "management.moveModal.goToTarget": "前往「{{title}}」",+ "management.moveModal.moving": "正在移動…",+ "management.moveModal.title": "移動主題","management.searchPlaceholder": "搜索此代理的主題…","management.sidebarEntry": "主題","management.sort.createdAt": "創建時間",diff --git a/packages/locales/src/default/file.ts b/packages/locales/src/default/file.tsindex ac1ca7de84d..570bf71919d 100644--- a/packages/locales/src/default/file.ts+++ b/packages/locales/src/default/file.ts@@ -109,8 +109,22 @@ export default {'pageEditor.editedAt': 'Last edited on {{time}}','pageEditor.editedBy': 'Last edited by {{name}}','pageEditor.editMode.checking': 'Checking edit availability…',+ 'pageEditor.editMode.draftRestoreCancel': 'Discard',+ 'pageEditor.editMode.draftRestoreContent':+ 'Found unsaved local changes from your last session. Restore them?',+ 'pageEditor.editMode.draftRestoreOk': 'Restore',+ 'pageEditor.editMode.draftRestoreTitle': 'Restore Unsaved Draft','pageEditor.editMode.lockedByOther': '{{name}} is editing this document',+ 'pageEditor.editMode.lockedBySelf': 'You’re editing this document in another tab',+ 'pageEditor.editMode.lockedBySelfDescription':+ 'Saves will resume after the other session closes or its lock expires (~30s).','pageEditor.editMode.lockedBySomeone': 'Someone else is editing this document',+ 'pageEditor.editMode.lockedDescription':+ 'The page is read-only while they edit. Your changes won’t be saved until they’re done.',+ 'pageEditor.editMode.lockLostDescription':+ 'Recent edits haven’t synced yet. They’ll resume saving once the connection recovers.',+ 'pageEditor.editMode.lockLostTitle': 'Edit lock temporarily lost',+ 'pageEditor.editMode.lockUnstable': 'Reconnecting edit lock…','pageEditor.editorPlaceholder': 'Press "/" for AI and commands.','pageEditor.empty.createNewDocument': 'Create New Page','pageEditor.empty.importNotion': 'Import from Notion',diff --git a/src/const/documentLock.ts b/src/const/documentLock.tsindex 4ca236fa61c..0a60011130b 100644--- a/src/const/documentLock.ts+++ b/src/const/documentLock.ts@@ -2,16 +2,16 @@* Collaborative edit-lock tuning for workspace pages.** The lock is a lease: the holder must refresh it (heartbeat) before it expires,- * otherwise other members may take it over. There is no realtime channel, so the- * client polls by re-acquiring on an interval.+ * otherwise other members may take it over. Pages receive realtime lock pushes;+ * this cadence is now only the fallback/default for surfaces without lease-aware+ * scheduling or push events.*//**- * How often the active editor refreshes its lock (and a waiting member retries- * to take it over, and a locked-out viewer re-pulls the holder's content). Must- * stay comfortably below the server lease TTL (`EDIT_LOCK_TTL_SECONDS`, 30s) so- * a couple of missed beats still keep the lock alive. The lease lifetime itself- * is owned server-side (Redis EX), not here.+ * Default cadence for refreshing or re-checking edit locks. Must stay+ * comfortably below the server lease TTL (`EDIT_LOCK_TTL_SECONDS`, 30s) so a+ * couple of missed beats still keep the lock alive. The lease lifetime itself is+ * owned server-side (Redis EX), not here.** NOTE: this is a polling cadence — it bounds how stale the lock/content can be.* True low-latency sync needs a push channel (see the realtime-events issue);diff --git a/src/features/Conversation/ChatInput/index.tsx b/src/features/Conversation/ChatInput/index.tsxindex 2a4b19a6380..ae52acc5628 100644--- a/src/features/Conversation/ChatInput/index.tsx+++ b/src/features/Conversation/ChatInput/index.tsx@@ -124,6 +124,13 @@ export interface ChatInputProps {* Hides the QueueTray and gates handleSend so Enter does not enqueue.*/disableQueue?: boolean;+ /**+ * Externally force the send action off, regardless of input content. Grays+ * out the send button and gates handleSend so Enter can't send either. Used+ * by host surfaces that are temporarily read-only (e.g. the Page Agent when+ * another member holds the page edit lock).+ */+ disableSend?: boolean;/*** Extra action items to append to the ActionBar*/@@ -192,6 +199,7 @@ const ChatInput = memo<ChatInputProps>(allowExpand,disableFollowUpVariant,disableQueue,+ disableSend,feature,leftActions = [],leftContent,@@ -291,7 +299,9 @@ const ChatInput = memo<ChatInputProps>(});// Input stays enabled during agent execution — messages are queued.// When disableQueue is set (e.g. onboarding), block sending while loading.- const disabled = isInputEmpty || isUploadingFiles || (!!disableQueue && isInputLoading);+ // disableSend hard-blocks regardless of content (host surface is read-only).+ const disabled =+ isInputEmpty || isUploadingFiles || (!!disableQueue && isInputLoading) || !!disableSend;const shouldUsePlainSendButton = !showSendMenu && !!sendMenu;const businessCostEstimateAlert = useBusinessChatInputCostEstimateAlert();const businessSendAreaPrefix = getBusinessChatInputSendAreaPrefix(sendAreaPrefix);@@ -299,6 +309,10 @@ const ChatInput = memo<ChatInputProps>(// Send handler - gets message, clears editor immediately, then sendsconst handleSend: SendButtonHandler = useCallback(async ({ clearContent, getMarkdownContent, getEditorData }) => {+ // Host surface is read-only (e.g. page locked) — block Enter too, not+ // just the grayed-out button.+ if (disableSend) return;+// Get instant values from stores at trigger timeconst fileStore = useFileStore.getState();const currentFileList = fileChatSelectors.chatUploadFileList(fileStore);@@ -335,7 +349,7 @@ const ChatInput = memo<ChatInputProps>(// Fire and forget - send with captured messageawait sendMessage({ editorData, files: currentFileList, message, pageSelections });},- [sendMessage, disableQueue, isInputLoading],+ [sendMessage, disableQueue, disableSend, isInputLoading],);const sendButtonProps: SendButtonProps = {diff --git a/src/features/EditLock/index.ts b/src/features/EditLock/index.tsindex 16035bcb2c2..efd772984d9 100644--- a/src/features/EditLock/index.ts+++ b/src/features/EditLock/index.ts@@ -1,6 +1,7 @@export { default as EditingIndicator } from './EditingIndicator';export {type EditLockClient,+ type EditLockHealth,type EditLockResult,type EditLockState,useEditLock,diff --git a/src/features/EditLock/useEditLock.test.tsx b/src/features/EditLock/useEditLock.test.tsxnew file mode 100644index 00000000000..1fefe0f2d70--- /dev/null+++ b/src/features/EditLock/useEditLock.test.tsx@@ -0,0 +1,205 @@+import { act, renderHook } from '@testing-library/react';+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';++import { type EditLockClient, type EditLockState, useEditLock } from './useEditLock';++const free: EditLockState = { holderId: null, lockedByOther: false };++const heldByMe = (expiresInMs = 30_000): EditLockState => ({+ expiresAt: new Date(Date.now() + expiresInMs),+ holderId: 'me',+ lockedByOther: false,+ ownerId: 'owner-mine',+});++const heldByOther: EditLockState = {+ expiresAt: new Date(Date.now() + 30_000),+ holderId: 'other',+ lockedByOther: true,+ ownerId: 'owner-theirs',+};++const flushMicrotasks = () => act(() => Promise.resolve());++describe('useEditLock — health state machine', () => {+ let client: EditLockClient;++ beforeEach(() => {+ vi.useFakeTimers();+ client = {+ acquire: vi.fn(() => Promise.resolve(heldByMe())),+ peek: vi.fn(() => Promise.resolve(free)),+ release: vi.fn(() => Promise.resolve()),+ };+ });++ afterEach(() => {+ vi.useRealTimers();+ vi.restoreAllMocks();+ });++ it('viewers report healthy and never enter the editor loop', async () => {+ const { result } = renderHook(() =>+ useEditLock({ client, enabled: true, isDirty: false, resourceId: 'doc-1' }),+ );++ await flushMicrotasks();++ expect(result.current.health).toBe('healthy');+ expect(client.acquire).not.toHaveBeenCalled();+ expect(client.peek).toHaveBeenCalledWith('doc-1', undefined);+ });++ it('editor transitions to healthy after a successful acquire', async () => {+ const { result, rerender } = renderHook(+ ({ isDirty }: { isDirty: boolean }) =>+ useEditLock({ client, enabled: true, isDirty, resourceId: 'doc-1' }),+ { initialProps: { isDirty: false } },+ );++ rerender({ isDirty: true });+ await flushMicrotasks();++ expect(result.current.health).toBe('healthy');+ expect(result.current.holderId).toBe('me');+ expect(client.acquire).toHaveBeenCalledTimes(1);+ });++ it('lockedByOther on acquire flips health to lost and keeps ticking', async () => {+ (client.acquire as ReturnType<typeof vi.fn>).mockResolvedValue(heldByOther);++ const { result } = renderHook(() =>+ useEditLock({ client, enabled: true, isDirty: true, resourceId: 'doc-1' }),+ );++ await flushMicrotasks();+ expect(result.current.health).toBe('lost');+ expect(result.current.lockedByOther).toBe(true);++ // Loop keeps ticking on the regular heartbeat cadence so we auto-reclaim+ // once the holder releases.+ (client.acquire as ReturnType<typeof vi.fn>).mockResolvedValue(heldByMe());+ await act(async () => {+ vi.advanceTimersByTime(11_000);+ await Promise.resolve();+ });+ await flushMicrotasks();+ expect(result.current.health).toBe('healthy');+ expect(result.current.lockedByOther).toBe(false);+ });++ it('single acquire failure marks unstable and retries quickly', async () => {+ (client.acquire as ReturnType<typeof vi.fn>)+ .mockRejectedValueOnce(new Error('boom'))+ .mockResolvedValueOnce(heldByMe());++ const { result } = renderHook(() =>+ useEditLock({ client, enabled: true, isDirty: true, resourceId: 'doc-1' }),+ );++ await flushMicrotasks();+ expect(result.current.health).toBe('unstable');++ // Retry fires on the short backoff (500ms) and clears unstable.+ await act(async () => {+ vi.advanceTimersByTime(600);+ await Promise.resolve();+ });+ await flushMicrotasks();+ expect(result.current.health).toBe('healthy');+ expect(client.acquire).toHaveBeenCalledTimes(2);+ });++ it('two failures in a row escalates to lost', async () => {+ (client.acquire as ReturnType<typeof vi.fn>).mockRejectedValue(new Error('offline'));++ const { result } = renderHook(() =>+ useEditLock({ client, enabled: true, isDirty: true, resourceId: 'doc-1' }),+ );++ await flushMicrotasks();+ expect(result.current.health).toBe('unstable');++ await act(async () => {+ vi.advanceTimersByTime(600);+ await Promise.resolve();+ });+ await flushMicrotasks();+ expect(result.current.health).toBe('lost');+ });++ it('online event kicks an immediate heartbeat', async () => {+ (client.acquire as ReturnType<typeof vi.fn>).mockResolvedValue(heldByMe(20_000));++ renderHook(() => useEditLock({ client, enabled: true, isDirty: true, resourceId: 'doc-1' }));+ await flushMicrotasks();+ expect(client.acquire).toHaveBeenCalledTimes(1);++ // Without `online` we'd wait ~12s (20s lease - 8s safety). Firing the event+ // should re-acquire right away.+ await act(async () => {+ window.dispatchEvent(new Event('online'));+ await Promise.resolve();+ });+ await flushMicrotasks();+ expect(client.acquire).toHaveBeenCalledTimes(2);+ });++ it('release is called on unmount', async () => {+ const { unmount } = renderHook(() =>+ useEditLock({ client, enabled: true, isDirty: true, resourceId: 'doc-1' }),+ );+ await flushMicrotasks();++ unmount();+ expect(client.release).toHaveBeenCalledWith('doc-1', undefined);+ });++ it('viewers fall back to a slow safety-net poll even when pollWhileViewing is false', async () => {+ renderHook(() =>+ useEditLock({+ client,+ enabled: true,+ isDirty: false,+ pollWhileViewing: false,+ resourceId: 'doc-1',+ }),+ );+ await flushMicrotasks();+ expect(client.peek).toHaveBeenCalledTimes(1);++ // Fast poll (10s) should NOT fire — the caller explicitly opted out.+ await act(async () => {+ vi.advanceTimersByTime(15_000);+ await Promise.resolve();+ });+ await flushMicrotasks();+ expect(client.peek).toHaveBeenCalledTimes(1);++ // 60s safety-net peek fires so a viewer stranded by missed SSE recovers.+ await act(async () => {+ vi.advanceTimersByTime(50_000);+ await Promise.resolve();+ });+ await flushMicrotasks();+ expect(client.peek).toHaveBeenCalledTimes(2);+ });++ it('releases on pagehide so a refresh does not strand the lease', async () => {+ const { unmount } = renderHook(() =>+ useEditLock({ client, enabled: true, isDirty: true, resourceId: 'doc-1' }),+ );+ await flushMicrotasks();+ expect(client.release).not.toHaveBeenCalled();++ await act(async () => {+ window.dispatchEvent(new Event('pagehide'));+ await Promise.resolve();+ });+ expect(client.release).toHaveBeenCalledTimes(1);++ // Unmount cleanup should not double-release after pagehide already fired.+ unmount();+ expect(client.release).toHaveBeenCalledTimes(1);+ });+});diff --git a/src/features/EditLock/useEditLock.ts b/src/features/EditLock/useEditLock.tsindex 5c215b3d70d..8a79de871e4 100644--- a/src/features/EditLock/useEditLock.ts+++ b/src/features/EditLock/useEditLock.ts@@ -4,12 +4,31 @@ import { useEffect, useRef, useState } from 'react';import { DOCUMENT_LOCK_HEARTBEAT_MS } from '@/const/documentLock';+/**+ * Lock health from the holding editor's perspective:+ *+ * - `healthy`: the latest heartbeat confirmed we still hold the lock.+ * - `unstable`: one heartbeat just failed; we're retrying before declaring loss+ * so a normal network blip doesn't flip the editor into a warning state.+ * - `lost`: repeated heartbeats failed or the server confirmed another holder.+ * The lock loop keeps ticking from this state so we auto-reclaim once the+ * network / contender clears.+ *+ * Viewers (editIntent=false) always report `healthy` — they have no lock to+ * lose; the `lockedByOther` flag carries the equivalent signal for them.+ */+export type EditLockHealth = 'healthy' | 'unstable' | 'lost';+export interface EditLockState {+ expiresAt?: Date | string | null;holderId: string | null;lockedByOther: boolean;+ ownerId?: string | null;}export interface EditLockResult extends EditLockState {+ /** See {@link EditLockHealth}. Always `healthy` for viewers. */+ health: EditLockHealth;/*** True while the lock is enabled but its state hasn't been resolved yet (the* first peek/acquire is still in flight). Callers should treat the editor as@@ -21,9 +40,9 @@ export interface EditLockResult extends EditLockState {/** Per-resource lock RPCs (bind these to the resource's trpc procedures). */export interface EditLockClient {- acquire: (id: string) => Promise<EditLockState>;- peek: (id: string) => Promise<EditLockState>;- release: (id: string) => Promise<void>;+ acquire: (id: string, ownerId?: string) => Promise<EditLockState>;+ peek: (id: string, ownerId?: string) => Promise<EditLockState>;+ release: (id: string, ownerId?: string) => Promise<void>;}interface UseEditLockOptions {@@ -32,6 +51,7 @@ interface UseEditLockOptions {enabled: boolean;/** First real edit; latches edit-intent so the lock is acquired implicitly. */isDirty: boolean;+ ownerId?: string;/*** Re-peek the lock on an interval while viewing (not editing) to notice another* member starting/stopping. Defaults to true. Set false for surfaces that get@@ -42,6 +62,31 @@ interface UseEditLockOptions {}const UNLOCKED: EditLockState = { holderId: null, lockedByOther: false };+const LOCK_REFRESH_SAFETY_MS = 8000;+/**+ * Backoff before re-acquiring after a single transient failure. Short enough+ * that one Redis hiccup never escalates to a visible "lost" banner.+ */+const LOCK_RETRY_BACKOFF_MS = 500;+/**+ * Slow safety-net peek interval when the caller has opted out of fast viewer+ * polling (i.e. surfaces with realtime SSE pushes). The SSE channel is still+ * the primary signal; this tick only exists to catch events lost during a+ * reconnect window or because the holder's `release` request was aborted by+ * navigation. Long enough not to add meaningful QPS, short enough that a+ * stranded viewer recovers in under a minute.+ */+const VIEWER_FALLBACK_POLL_MS = 60_000;++const nextRefreshDelay = (expiresAt: EditLockState['expiresAt']) => {+ if (!expiresAt) return DOCUMENT_LOCK_HEARTBEAT_MS;++ const expiresAtTime =+ expiresAt instanceof Date ? expiresAt.getTime() : new Date(expiresAt).getTime();+ if (Number.isNaN(expiresAtTime)) return DOCUMENT_LOCK_HEARTBEAT_MS;++ return Math.max(1000, expiresAtTime - Date.now() - LOCK_REFRESH_SAFETY_MS);+};/*** Generic, self-contained collaborative edit lock for any editable resource.@@ -51,6 +96,14 @@ const UNLOCKED: EditLockState = { holderId: null, lockedByOther: false };* first edit and heartbeat to hold it, release on unmount. Returns the lock* state for the caller to gate its editor (read-only) and render an indicator.*+ * Health-aware heartbeat: a single failed acquire is treated as transient and+ * retried after a short backoff before the caller sees `health = 'unstable'`.+ * Repeated failures (or the server confirming another holder) flip to `lost`,+ * but the loop keeps ticking — when the network or contender clears we+ * auto-reclaim the lock without any caller action. We also kick a fresh+ * heartbeat when the browser comes back online or refocuses, so a returning+ * user doesn't sit in `unstable`/`lost` until the next scheduled tick.+ ** `client` MUST be a stable reference (module-level / memoized) — it's an effect* dependency.*/@@ -58,6 +111,7 @@ export const useEditLock = ({client,enabled,isDirty,+ ownerId,pollWhileViewing = true,resourceId,}: UseEditLockOptions): EditLockResult => {@@ -66,6 +120,7 @@ export const useEditLock = ({// False until the first peek/acquire settles, so the editor stays read-only// until we actually know whether the resource is free.const [resolved, setResolved] = useState(false);+ const [health, setHealth] = useState<EditLockHealth>('healthy');// Reset synchronously when the resource changes (React "adjust state during// render"), so a new resource never inherits the previous one's lock/intent.@@ -75,6 +130,7 @@ export const useEditLock = ({setEditIntent(false);setState(UNLOCKED);setResolved(false);+ setHealth('healthy');}useEffect(() => {@@ -91,7 +147,7 @@ export const useEditLock = ({let cancelled = false;const tick = () => {client- .peek(resourceId)+ .peek(resourceId, ownerId).then((s) => {if (cancelled) return;setState(s);@@ -103,39 +159,125 @@ export const useEditLock = ({});};tick();- // Surfaces with a realtime push channel only need the single peek-on-open.- const timer = pollWhileViewing ? setInterval(tick, DOCUMENT_LOCK_HEARTBEAT_MS) : undefined;+ // Surfaces with a realtime push channel still need a low-frequency safety+ // net: SSE may drop events on reconnect, and the holder's release request+ // can be aborted by navigation — without this poll, a viewer could be+ // stranded on a stale holder until the lease expires (up to 30 s).+ const interval = pollWhileViewing ? DOCUMENT_LOCK_HEARTBEAT_MS : VIEWER_FALLBACK_POLL_MS;+ const timer = setInterval(tick, interval);return () => {cancelled = true;- if (timer) clearInterval(timer);+ clearInterval(timer);};- }, [active, resourceId, editIntent, client, pollWhileViewing]);+ }, [active, resourceId, editIntent, client, ownerId, pollWhileViewing]);- // Editor: acquire/refresh the lock while editing; release on unmount.+ // Editor: acquire/refresh the lock while editing; track health; auto-reclaim+ // after loss; release on unmount.useEffect(() => {if (!engaged || !resourceId) return;let cancelled = false;+ let timer: ReturnType<typeof setTimeout> | undefined;+ // Failure streak across ticks within this engaged window. A single hiccup+ // is treated as transient (retry once, no warning); two-in-a-row is `lost`.+ let failureStreak = 0;++ const schedule = (delay: number) => {+ if (cancelled) return;+ timer = setTimeout(tick, delay);+ };++ const onSuccess = (s: EditLockState) => {+ if (cancelled) return;+ setState(s);+ setResolved(true);+ if (s.lockedByOther) {+ // Server confirms someone else holds the lock — we've lost it. Stay in+ // the loop (auto-reclaim once they release or the lease expires) but+ // mark the editor so it can surface the lost-lock UX.+ failureStreak += 1;+ setHealth('lost');+ schedule(DOCUMENT_LOCK_HEARTBEAT_MS);+ return;+ }+ // We hold it — back to healthy and reset the failure counter so the next+ // hiccup starts the unstable→lost ladder cleanly.+ failureStreak = 0;+ setHealth('healthy');+ schedule(nextRefreshDelay(s.expiresAt));+ };++ const onFailure = () => {+ if (cancelled) return;+ setResolved(true);+ failureStreak += 1;+ if (failureStreak === 1) {+ // One transient hiccup — retry quickly. Expose `unstable` so callers+ // can render a subtle indicator without alarming the user yet.+ setHealth('unstable');+ schedule(LOCK_RETRY_BACKOFF_MS);+ return;+ }+ // Repeated failures — assume we lost the lease. Keep ticking on the+ // regular heartbeat cadence so we recover when the network comes back.+ setHealth('lost');+ schedule(DOCUMENT_LOCK_HEARTBEAT_MS);+ };+const tick = () => {- client- .acquire(resourceId)- .then((s) => {- if (cancelled) return;- setState(s);- setResolved(true);- })- .catch(() => {- if (!cancelled) setResolved(true);- });+ timer = undefined;+ client.acquire(resourceId, ownerId).then(onSuccess).catch(onFailure);};+tick();- const timer = setInterval(tick, DOCUMENT_LOCK_HEARTBEAT_MS);++ // Kick a fresh heartbeat as soon as the browser comes back online or the+ // user refocuses the tab. Without this, a tab that lost connectivity sits+ // in `unstable`/`lost` until the next scheduled tick — possibly many seconds+ // after the user is already typing again.+ const refresh = () => {+ if (cancelled) return;+ if (timer) {+ clearTimeout(timer);+ timer = undefined;+ }+ tick();+ };+ // Fire a best-effort release on `pagehide`. React's effect cleanup runs on+ // unmount but the navigation often aborts the in-flight release request, so+ // the lease lingers until expiry — which is exactly what triggers the+ // "Lin is editing this document" self-conflict on a refresh. Releasing here+ // (before the unload commits) gives the request a much better chance to+ // reach the server. `pagehide` is also fired by the bfcache path that+ // `unmount` misses.+ let released = false;+ const releaseOnce = () => {+ if (released || cancelled) return;+ released = true;+ client.release(resourceId, ownerId).catch(() => {});+ };+ const supportsWindow = typeof window !== 'undefined';+ if (supportsWindow) {+ window.addEventListener('online', refresh);+ window.addEventListener('focus', refresh);+ window.addEventListener('pagehide', releaseOnce);+ }+return () => {cancelled = true;- clearInterval(timer);+ if (timer) clearTimeout(timer);+ if (supportsWindow) {+ window.removeEventListener('online', refresh);+ window.removeEventListener('focus', refresh);+ window.removeEventListener('pagehide', releaseOnce);+ }setState(UNLOCKED);- client.release(resourceId).catch(() => {});+ setHealth('healthy');+ if (!released) {+ released = true;+ client.release(resourceId, ownerId).catch(() => {});+ }};- }, [engaged, resourceId, client]);+ }, [engaged, resourceId, client, ownerId]);- return { ...state, pending: active && !resolved };+ return { ...state, health, pending: active && !resolved };};diff --git a/src/features/EditorCanvas/InternalEditor.readonly.test.tsx b/src/features/EditorCanvas/InternalEditor.readonly.test.tsxindex c2b0c05acd4..110aa1145de 100644--- a/src/features/EditorCanvas/InternalEditor.readonly.test.tsx+++ b/src/features/EditorCanvas/InternalEditor.readonly.test.tsx@@ -1,7 +1,7 @@/*** @vitest-environment happy-dom*/-import { type IEditor } from '@lobehub/editor';+import { type IEditor, ReactToolbarPlugin } from '@lobehub/editor';import { render } from '@testing-library/react';import { beforeEach, describe, expect, it, vi } from 'vitest';@@ -67,4 +67,22 @@ describe('InternalEditor readonly state', () => {expect(editorProps.last?.editable).toBe(false);});++ it('registers the floating toolbar when editable', () => {+ render(<InternalEditor editor={editor} />);++ expect(editorProps.last?.plugins).toContain(ReactToolbarPlugin);+ });++ it('does not register the floating toolbar when not editable (locked page)', () => {+ render(<InternalEditor editable={false} editor={editor} />);++ expect(editorProps.last?.plugins).not.toContain(ReactToolbarPlugin);+ });++ it('does not register the floating toolbar when disabled', () => {+ render(<InternalEditor disabled editor={editor} />);++ expect(editorProps.last?.plugins).not.toContain(ReactToolbarPlugin);+ });});diff --git a/src/features/EditorCanvas/InternalEditor.tsx b/src/features/EditorCanvas/InternalEditor.tsxindex 2945fa006c9..475ffcf1468 100644--- a/src/features/EditorCanvas/InternalEditor.tsx+++ b/src/features/EditorCanvas/InternalEditor.tsx@@ -152,8 +152,10 @@ const InternalEditor = memo<InternalEditorProps>(? [...extraPlugins, ...STATIC_PLUGINS, imagePlugin, filePlugin]: [...STATIC_PLUGINS, imagePlugin, filePlugin];- // Add toolbar if enabled- if (floatingToolbar) {+ // Add toolbar only when the editor is actually editable — a locked /+ // read-only page must not surface the floating formatting toolbar on+ // text selection (its buttons would dispatch commands that never save).+ if (floatingToolbar && editable && !disabled) {return [...basePlugins,Editor.withProps(ReactToolbarPlugin, {@@ -172,6 +174,8 @@ const InternalEditor = memo<InternalEditorProps>(return basePlugins;}, [customPlugins,+ disabled,+ editable,editor,editorState,extraPlugins,diff --git a/src/features/PageEditor/Copilot/Conversation.tsx b/src/features/PageEditor/Copilot/Conversation.tsxindex 309a15898b3..c8f0f8e6dff 100644--- a/src/features/PageEditor/Copilot/Conversation.tsx+++ b/src/features/PageEditor/Copilot/Conversation.tsx@@ -19,6 +19,7 @@ import {import { useAgentStore } from '@/store/agent';import { agentByIdSelectors } from '@/store/agent/selectors';+import { usePageLockedByOther } from '../usePageLockedByOther';import AgentSelectorAction from './AgentSelector/AgentSelectorAction';import CopilotModelSelect from './CopilotModelSelect';import CopilotToolbar from './Toolbar';@@ -65,6 +66,10 @@ const Conversation = memo(() => {const modelSelector = useMemo(() => <CopilotModelSelect />, []);+ // Another member holds the page edit lock → the agent's edits can't be saved,+ // so block sending until the lock clears. The body LockedAlert explains why.+ const lockedByOther = usePageLockedByOther();+return (<DragUploadZonestyle={{ flex: 1, height: '100%', minWidth: 300 }}@@ -78,6 +83,7 @@ const Conversation = memo(() => {<ChatInputactionBarStyle={COMPACT_ACTION_BAR_STYLE}allowExpand={false}+ disableSend={lockedByOther}leftActions={EMPTY_LEFT_ACTIONS}leftContent={leftContent}sendAreaPrefix={modelSelector}diff --git a/src/features/PageEditor/EditingIndicator.tsx b/src/features/PageEditor/EditingIndicator.tsxindex 11f57215f3d..e3b8371f009 100644--- a/src/features/PageEditor/EditingIndicator.tsx+++ b/src/features/PageEditor/EditingIndicator.tsx@@ -3,7 +3,7 @@import { Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';import { cssVar } from 'antd-style';import { Loader2Icon, PencilIcon } from 'lucide-react';-import { memo } from 'react';+import { type CSSProperties, memo } from 'react';import { useTranslation } from 'react-i18next';import { useAuthorInfo } from '@/business/client/hooks/useAuthorInfo';@@ -11,18 +11,27 @@ import { useDocumentStore } from '@/store/document';import { editorSelectors } from '@/store/document/slices/editor';import { usePageEditorStore } from './store';+import { usePageLockedByOther } from './usePageLockedByOther';+import { usePageLockedBySelf } from './usePageLockedBySelf';++const labelStyle: CSSProperties = { color: 'inherit', fontSize: 12, maxWidth: 160 };/**- * Edit-lock status line at the top of the page body: a "checking…" hint while- * the lock resolves (page read-only meanwhile), then "someone else is editing"- * if another member holds it. Renders nothing once the page is confirmed free —- * a personal page then looks exactly the same (no edit-mode controls).+ * Compact edit-lock status for the page Header (top-right): a "checking…" hint+ * while the lock resolves, then "someone else is editing" once another member+ * holds it. Stays anchored in the header so the status is always visible as the+ * user scrolls the body. The body Alert ({@link LockedAlert}) carries the+ * prominent explanation; this is the persistent at-a-glance badge.+ *+ * Renders nothing once the page is confirmed free — a personal page then looks+ * exactly the same (no edit-mode controls).*/const EditingIndicator = memo(() => {const { t } = useTranslation('file');const documentId = usePageEditorStore((s) => s.documentId);const isWorkspacePage = usePageEditorStore((s) => s.isWorkspacePage);- const isLockedByOther = usePageEditorStore((s) => s.isLockedByOther);+ const isLockedByOther = usePageLockedByOther();+ const isLockedBySelf = usePageLockedBySelf();const isLockPending = usePageEditorStore((s) => s.isLockPending);const lockHolderId = usePageEditorStore((s) => s.lockHolderId);// Our own save was just rejected by the lock — treat as locked even if the@@ -34,30 +43,34 @@ const EditingIndicator = memo(() => {if (!isWorkspacePage) return null;- const lockedByOther = isLockedByOther || saveBlockedByLock;+ const locked = isLockedByOther || isLockedBySelf || saveBlockedByLock;- if (!lockedByOther) {+ if (!locked) {if (!isLockPending) return null;return (<Flexbox horizontal align={'center'} gap={4} style={{ color: cssVar.colorTextTertiary }}><Icon spin icon={Loader2Icon} size={14} />- <Text ellipsis style={{ color: 'inherit', fontSize: 12, maxWidth: 240 }}>+ <Text ellipsis style={labelStyle}>{t('pageEditor.editMode.checking')}</Text></Flexbox>);}- const label = holder?.fullName- ? t('pageEditor.editMode.lockedByOther', { name: holder.fullName })- : t('pageEditor.editMode.lockedBySomeone');+ // Same user, different session — show the self-aware label instead of the+ // collaborator-blocked one (which uses the user's own name and reads wrong).+ const label = isLockedBySelf+ ? t('pageEditor.editMode.lockedBySelf')+ : holder?.fullName+ ? t('pageEditor.editMode.lockedByOther', { name: holder.fullName })+ : t('pageEditor.editMode.lockedBySomeone');return (<Tooltip title={label}><Flexbox horizontal align={'center'} gap={4} style={{ color: cssVar.colorTextTertiary }}><Icon icon={PencilIcon} size={14} />- <Text ellipsis style={{ color: 'inherit', fontSize: 12, maxWidth: 240 }}>+ <Text ellipsis style={labelStyle}>{label}</Text></Flexbox>diff --git a/src/features/PageEditor/Header/index.tsx b/src/features/PageEditor/Header/index.tsxindex 64d8cb96d81..0cc71755363 100644--- a/src/features/PageEditor/Header/index.tsx+++ b/src/features/PageEditor/Header/index.tsx@@ -10,10 +10,11 @@ import { DESKTOP_HEADER_ICON_SMALL_SIZE } from '@/const/layoutTokens';import { AutoSaveHint } from '@/features/EditorCanvas';import NavHeader from '@/features/NavHeader';import ToggleRightPanelButton from '@/features/RightPanel/ToggleRightPanelButton';+import { usePermission } from '@/hooks/usePermission';+import EditingIndicator from '../EditingIndicator';import { usePageAgentPanelControl } from '../RightPanel/OverrideContext';-import { usePageEditorStore } from '../store';-import { usePageEditable } from '../usePageEditable';+import { selectors, usePageEditorStore } from '../store';import Breadcrumb from './Breadcrumb';import { useMenu } from './useMenu';@@ -26,10 +27,15 @@ const Header = memo(() => {s.parentId,s.onBack,]);+ const rightPanelMode = usePageEditorStore(selectors.rightPanelMode);+ const { allowed: hasEditPermission } = usePermission('edit_own_content');const { expand: showPageAgentPanel, toggle: togglePageAgentPanel } = usePageAgentPanelControl();const { menuItems } = useMenu();- // Page Agent edits the page — only offer it in edit mode.- const editable = usePageEditable();+ // Mirror the gate inside PageEditor/RightPanel: copilot is a document-editing+ // surface, so viewers can't open it; History is read-only and stays available+ // to everyone. Without this guard the button toggles the store, then disappears+ // via `hideWhenExpanded` while the panel refuses to open — a no-op control.+ const canExpandRightPanel = hasEditPermission || rightPanelMode === 'history';return (<NavHeader@@ -54,6 +60,7 @@ const Header = memo(() => {}right={<>+ <EditingIndicator />{documentId && <ShareButton documentId={documentId} />}{/* Three-dot menu */}<DropdownMenu@@ -68,7 +75,7 @@ const Header = memo(() => {><ActionIcon icon={MoreHorizontal} size={DESKTOP_HEADER_ICON_SMALL_SIZE} /></DropdownMenu>- {editable && (+ {canExpandRightPanel && (<ToggleRightPanelButtonhideWhenExpandedexpand={showPageAgentPanel}diff --git a/src/features/PageEditor/LockStatusBanner.tsx b/src/features/PageEditor/LockStatusBanner.tsxnew file mode 100644index 00000000000..950196bdf2e--- /dev/null+++ b/src/features/PageEditor/LockStatusBanner.tsx@@ -0,0 +1,57 @@+'use client';++import { Alert } from '@lobehub/ui';+import { memo } from 'react';+import { useTranslation } from 'react-i18next';++import { usePageEditorStore } from './store';+import { usePageLockedByOther } from './usePageLockedByOther';++/**+ * Surfaces the local edit lock health when it deviates from `healthy`:+ *+ * - `unstable`: a heartbeat just failed and we're retrying. Shown as a quiet+ * info banner so the user knows the editor is briefly reconnecting without+ * being alarmed by a warning.+ * - `lost`: repeated heartbeats failed or the server confirmed another holder.+ * Shown as a warning banner. Suppressed when {@link LockedAlert} is already+ * showing for "someone else is editing" — that surface owns the message in+ * that case and stacking both would be noise.+ */+const LockStatusBanner = memo(() => {+ const { t } = useTranslation('file');+ const lockHealth = usePageEditorStore((s) => s.lockHealth);+ const isWorkspacePage = usePageEditorStore((s) => s.isWorkspacePage);+ const isLockedByOther = usePageLockedByOther();++ if (!isWorkspacePage) return null;+ if (!lockHealth || lockHealth === 'healthy') return null;+ // Yield to LockedAlert when another member also has the lock — that surface+ // already explains the situation; double-banners are visual noise.+ if (isLockedByOther) return null;++ if (lockHealth === 'unstable') {+ return (+ <Alert+ showIcon+ style={{ marginBlock: 8 }}+ title={t('pageEditor.editMode.lockUnstable')}+ type="info"+ />+ );+ }++ return (+ <Alert+ showIcon+ description={t('pageEditor.editMode.lockLostDescription')}+ style={{ marginBlock: 8 }}+ title={t('pageEditor.editMode.lockLostTitle')}+ type="warning"+ />+ );+});++LockStatusBanner.displayName = 'LockStatusBanner';++export default LockStatusBanner;diff --git a/src/features/PageEditor/LockedAlert.tsx b/src/features/PageEditor/LockedAlert.tsxnew file mode 100644index 00000000000..0149c485193--- /dev/null+++ b/src/features/PageEditor/LockedAlert.tsx@@ -0,0 +1,70 @@+'use client';++import { Alert } from '@lobehub/ui';+import { memo } from 'react';+import { useTranslation } from 'react-i18next';++import { useAuthorInfo } from '@/business/client/hooks/useAuthorInfo';+import { useDocumentStore } from '@/store/document';+import { editorSelectors } from '@/store/document/slices/editor';++import { usePageEditorStore } from './store';+import { usePageLockedByOther } from './usePageLockedByOther';+import { usePageLockedBySelf } from './usePageLockedBySelf';++/**+ * Prominent in-body notice shown when another workspace member holds the edit+ * lock: tells the user why the page is read-only and that their edits won't be+ * saved. The Header keeps a compact badge ({@link EditingIndicator}); this is+ * the explanatory surface so a blocked edit never looks unexplained.+ */+const LockedAlert = memo(() => {+ const { t } = useTranslation('file');+ const documentId = usePageEditorStore((s) => s.documentId);+ const isWorkspacePage = usePageEditorStore((s) => s.isWorkspacePage);+ const lockHolderId = usePageEditorStore((s) => s.lockHolderId);+ const isLockedByOther = usePageLockedByOther();+ const isLockedBySelf = usePageLockedBySelf();+ // Our own save was just rejected by the lock — treat as locked even if the+ // lock-service state hasn't caught up yet.+ const saveBlockedByLock = useDocumentStore((s) =>+ documentId ? editorSelectors.saveBlockedByLock(documentId)(s) : false,+ );+ const holder = useAuthorInfo(lockHolderId ?? undefined);++ if (!isWorkspacePage) return null;+ if (!isLockedByOther && !isLockedBySelf && !saveBlockedByLock) return null;++ // Same user, different session (other tab / unreleased prior mount): show a+ // self-aware message and a neutral info tone — it isn't a collaborator+ // conflict, just the user's own stale lease lingering until expiry.+ if (isLockedBySelf) {+ return (+ <Alert+ showIcon+ description={t('pageEditor.editMode.lockedBySelfDescription')}+ style={{ marginBlock: 8 }}+ title={t('pageEditor.editMode.lockedBySelf')}+ type="info"+ />+ );+ }++ const title = holder?.fullName+ ? t('pageEditor.editMode.lockedByOther', { name: holder.fullName })+ : t('pageEditor.editMode.lockedBySomeone');++ return (+ <Alert+ showIcon+ description={t('pageEditor.editMode.lockedDescription')}+ style={{ marginBlock: 8 }}+ title={title}+ type="warning"+ />+ );+});++LockedAlert.displayName = 'LockedAlert';++export default LockedAlert;diff --git a/src/features/PageEditor/PageEditor.tsx b/src/features/PageEditor/PageEditor.tsxindex 5c0660dfafd..2363f8a8009 100644--- a/src/features/PageEditor/PageEditor.tsx+++ b/src/features/PageEditor/PageEditor.tsx@@ -17,9 +17,10 @@ import { systemStatusSelectors } from '@/store/global/selectors';import { usePageStore } from '@/store/page';import { StyleSheet } from '@/utils/styles';-import EditingIndicator from './EditingIndicator';import EditorCanvas from './EditorCanvas';import Header from './Header';+import LockedAlert from './LockedAlert';+import LockStatusBanner from './LockStatusBanner';import { PageAgentProvider } from './PageAgentProvider';import { PageEditorProvider } from './PageEditorProvider';import RightPanel from './RightPanel';@@ -282,8 +283,12 @@ const PageEditorCanvas = memo<PageEditorCanvasProps>(({ header, fullWidthHeader<Flexbox className={overrideStyles.editorContent} flex={1} style={editorContentStyle}><TitleSection /><PageMetaBar />- {/* Body-only lock indicator: title/avatar above stay editable. */}- <EditingIndicator />+ {/* Surfaces local heartbeat health (unstable/lost) for the holder.+ Suppressed when LockedAlert is showing — see LockStatusBanner. */}+ <LockStatusBanner />+ {/* Prominent in-body notice when another member holds the lock; the+ compact status badge lives in the Header (EditingIndicator). */}+ <LockedAlert /><EditorCanvas /></Flexbox></WideScreenContainer>diff --git a/src/features/PageEditor/RightPanel/index.tsx b/src/features/PageEditor/RightPanel/index.tsxindex 3ced1594e7b..cf29c7cb2ca 100644--- a/src/features/PageEditor/RightPanel/index.tsx+++ b/src/features/PageEditor/RightPanel/index.tsx@@ -7,6 +7,7 @@ import { type ReactNode } from 'react';import { memo, useMemo, useRef } from 'react';import RightPanel from '@/features/RightPanel';+import { usePermission } from '@/hooks/usePermission';import { useGlobalStore } from '@/store/global';import { systemStatusSelectors } from '@/store/global/selectors';import { useUserStore } from '@/store/user';@@ -20,7 +21,6 @@ import {import Conversation from '../Copilot/Conversation';import HistoryPanel from '../History';import { selectors, usePageEditorStore } from '../store';-import { usePageEditable } from '../usePageEditable';import { usePageAgentPanelControl } from './OverrideContext';const styles = createStaticStyles(({ css }) => ({@@ -107,15 +107,18 @@ PageEditorRightPanelContent.displayName = 'PageEditorRightPanelContent';const PageEditorRightPanel = memo(() => {const { expand, toggle } = usePageAgentPanelControl();const rightPanelMode = usePageEditorStore(selectors.rightPanelMode);- const editable = usePageEditable();+ const { allowed: hasEditPermission } = usePermission('edit_own_content');const [width, updateSystemStatus] = useGlobalStore((s) => [systemStatusSelectors.pageAgentPanelWidth(s),s.updateSystemStatus,]);- // The Page Agent (copilot) edits the document, so hide it in read-only mode.- // History stays available. Re-entering edit mode restores the saved preference.- const effectiveExpand = expand && (rightPanelMode === 'history' || editable);+ // The Page Agent (copilot) stays available even while another member holds the+ // edit lock: a conflicting write is now rejected server-side (CONFLICT) rather+ // than clobbering their edits, so there's no reason to hide it on a locked /+ // read-only page. We only hide it from members without edit permission (a+ // document-editing agent is useless to them); History stays available.+ const effectiveExpand = expand && (rightPanelMode === 'history' || hasEditPermission);return (<RightPaneldiff --git a/src/features/PageEditor/StoreUpdater.tsx b/src/features/PageEditor/StoreUpdater.tsxindex 58d48cce067..3115f52f6ff 100644--- a/src/features/PageEditor/StoreUpdater.tsx+++ b/src/features/PageEditor/StoreUpdater.tsx@@ -12,6 +12,7 @@ import { pageAgentRuntime } from '@/store/tool/slices/builtin/executors/lobe-pagimport { type PublicState } from './store';import { usePageEditorStore, useStoreApi } from './store';import { useDocumentLock } from './useDocumentLock';+import { usePageDraft } from './usePageDraft';import { useResourceEvents } from './useResourceEvents';type PageAgentEditor = NonNullable<Parameters<typeof pageAgentRuntime.setEditor>[0]>;@@ -56,6 +57,9 @@ const StoreUpdater = memo<StoreUpdaterProps>(useDocumentLock();// Subscribe to realtime doc/lock events so the page syncs without pollinguseResourceEvents();+ // Snapshot unsaved content to sessionStorage while the lock is degraded so+ // an accidental refresh during a network blip doesn't blow away typing.+ usePageDraft();// Update store with propsuseStoreUpdater('documentId', pageId);@@ -103,6 +107,11 @@ const StoreUpdater = memo<StoreUpdaterProps>(documentHistoryQueueService.enqueueEditorSnapshot({documentId: pageId,editor,+ // Forward the page lock owner so the holder's pre-mutation snapshot+ // isn't rejected by its own lease (see saveDocumentHistory guard).+ lockOwnerId: pageId+ ? useDocumentStore.getState().documents[pageId]?.lockOwnerId+ : undefined,});});pageAgentRuntime.setAfterMutateHandler(async () => {diff --git a/src/features/PageEditor/TitleSection.tsx b/src/features/PageEditor/TitleSection.tsxindex dbf81cba0df..d8cdc9516a6 100644--- a/src/features/PageEditor/TitleSection.tsx+++ b/src/features/PageEditor/TitleSection.tsx@@ -7,7 +7,6 @@ import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';import EmojiPicker from '@/components/EmojiPicker';-import { usePermission } from '@/hooks/usePermission';import { useDocumentStore } from '@/store/document';import { editorSelectors } from '@/store/document/slices/editor';import { useGlobalStore } from '@/store/global';@@ -15,16 +14,17 @@ import { globalGeneralSelectors } from '@/store/global/selectors';import { truncateByWeightedLength } from '@/utils/textLength';import { usePageEditorStore } from './store';+import { usePageEditable } from './usePageEditable';const TitleSection = memo(() => {const { t } = useTranslation('file');const locale = useGlobalStore(globalGeneralSelectors.currentLanguage);const documentId = usePageEditorStore((s) => s.documentId);- // Title/emoji are metadata, not the locked rich-text body — they stay editable- // (permission only) even while another member holds the body edit lock. The- // server lets metadata-only saves through the lock guard.- const { allowed: canEdit } = usePermission('edit_own_content');+ // Gate the title/emoji on the same state as the body editor: edit permission+ // AND not locked by another member (nor pending / save-blocked). The lock makes+ // the whole page read-only, so metadata must not stay editable behind it.+ const canEdit = usePageEditable();const emoji = usePageEditorStore((s) => s.emoji);const title = usePageEditorStore((s) => s.title);const setEmoji = usePageEditorStore((s) => s.setEmoji);diff --git a/src/features/PageEditor/store/action.test.ts b/src/features/PageEditor/store/action.test.tsindex 103d7fff3c8..1ccbb208574 100644--- a/src/features/PageEditor/store/action.test.ts+++ b/src/features/PageEditor/store/action.test.ts@@ -17,3 +17,24 @@ describe('PageEditorStore - rightPanelMode', () => {expect(store.getState().rightPanelMode).toBe('history');});});++describe('PageEditorStore - setLockState', () => {+ it('records the holder owner session alongside the holder id', () => {+ const store = createStore();++ store.getState().setLockState('user-1', null, 'page-owner-1');++ expect(store.getState().lockHolderId).toBe('user-1');+ expect(store.getState().lockHolderOwnerId).toBe('page-owner-1');+ });++ it('clears the holder owner when the lock is released', () => {+ const store = createStore();+ store.getState().setLockState('user-1', null, 'page-owner-1');++ store.getState().setLockState(null);++ expect(store.getState().lockHolderId).toBeNull();+ expect(store.getState().lockHolderOwnerId).toBeNull();+ });+});diff --git a/src/features/PageEditor/store/action.ts b/src/features/PageEditor/store/action.tsindex bec8e36ed9d..eeac7108b3b 100644--- a/src/features/PageEditor/store/action.ts+++ b/src/features/PageEditor/store/action.ts@@ -4,6 +4,7 @@ import debug from 'debug';import { debounce } from 'es-toolkit/compat';import { type StateCreator } from 'zustand';+import { type EditLockHealth } from '@/features/EditLock';import { useDocumentStore } from '@/store/document';import { getElectronStoreState } from '@/store/electron';import { electronSyncSelectors } from '@/store/electron/selectors';@@ -26,9 +27,24 @@ export interface Action {initMeta: (title?: string, emoji?: string) => void;performMetaSave: () => Promise<void>;setEmoji: (emoji: string | undefined) => void;+ /**+ * Mirror the lock health from {@link useEditLock} into the store so banners and+ * draft persistence can observe deviations without re-deriving the state.+ */+ setLockHealth: (health: EditLockHealth) => void;+ setLockOwnerId: (ownerId: string | undefined) => void;/** True while the lock state is still being resolved (editor read-only meanwhile). */setLockPending: (pending: boolean) => void;- setLockState: (lock: { holderId: string | null; lockedByOther: boolean }) => void;+ /**+ * Record who holds the edit lock. `holderId` (+ `holderOwnerId`) is the single+ * source of truth; "locked by other" is derived against the current user/session+ * via {@link usePageLockedByOther}, never stored separately.+ */+ setLockState: (+ holderId: string | null,+ expiresAt?: Date | string | null,+ holderOwnerId?: string | null,+ ) => void;setRightPanelMode: (mode: RightPanelMode) => void;setTitle: (title: string) => void;triggerDebouncedMetaSave: () => void;@@ -183,14 +199,26 @@ export const store: (initState?: Partial<State>) => StateCreator<Store> =}},+ setLockHealth: (health) => {+ if (get().lockHealth !== health) set({ lockHealth: health });+ },+setLockPending: (pending) => {if (get().isLockPending !== pending) set({ isLockPending: pending });},- setLockState: ({ holderId, lockedByOther }) => {- const { isLockedByOther, lockHolderId } = get();- if (isLockedByOther === lockedByOther && lockHolderId === holderId) return;- set({ isLockedByOther: lockedByOther, lockHolderId: holderId });+ setLockOwnerId: (ownerId) => {+ if (get().lockOwnerId !== ownerId) set({ lockOwnerId: ownerId });+ },++ setLockState: (holderId, expiresAt = null, holderOwnerId = null) => {+ if (+ get().lockHolderId === holderId &&+ get().lockExpiresAt === expiresAt &&+ get().lockHolderOwnerId === holderOwnerId+ )+ return;+ set({ lockExpiresAt: expiresAt, lockHolderId: holderId, lockHolderOwnerId: holderOwnerId });},setRightPanelMode: (rightPanelMode) => {diff --git a/src/features/PageEditor/store/initialState.ts b/src/features/PageEditor/store/initialState.tsindex a0c836d3109..ff976d46ece 100644--- a/src/features/PageEditor/store/initialState.ts+++ b/src/features/PageEditor/store/initialState.ts@@ -1,5 +1,7 @@import { type IEditor } from '@lobehub/editor';+import { type EditLockHealth } from '@/features/EditLock';+export type MetaSaveStatus = 'idle' | 'saving' | 'saved';export type RightPanelMode = 'copilot' | 'history';@@ -20,8 +22,6 @@ export interface PublicState {export interface State extends PublicState {documentId: string | undefined;editor?: IEditor;- /** True when another workspace member is actively editing this page. */- isLockedByOther?: boolean;/** True until the first lock peek resolves; the editor stays read-only until then. */isLockPending?: boolean;isMetaDirty?: boolean;@@ -29,8 +29,23 @@ export interface State extends PublicState {isWorkspacePage?: boolean;lastSavedEmoji?: string;lastSavedTitle?: string;+ /** Lease expiry of the current lock holder, if known. */+ lockExpiresAt?: Date | string | null;+ /**+ * Lock health from this session's editor perspective. Drives the lost-lock+ * banner; viewers ignore it. See {@link EditLockHealth}.+ */+ lockHealth?: EditLockHealth;/** User id of the member currently holding the collaborative edit lock. */lockHolderId?: string | null;+ /**+ * Edit-session id of the member currently holding the lock, when known. Lets+ * us detect "locked by another session of the same user" (e.g. a second tab),+ * which a userId-only comparison can't see.+ */+ lockHolderOwnerId?: string | null;+ /** Edit-session id for this open page instance. */+ lockOwnerId?: string;metaSaveStatus?: MetaSaveStatus;rightPanelMode: RightPanelMode;}@@ -42,10 +57,13 @@ export const initialState: State = {// Start pending (read-only) so the editor never flashes editable before the// lock driver has resolved whether the page is free.isLockPending: true,- isLockedByOther: false,isMetaDirty: false,isWorkspacePage: false,+ lockExpiresAt: null,+ lockHealth: 'healthy',lockHolderId: null,+ lockHolderOwnerId: null,+ lockOwnerId: undefined,metaSaveStatus: 'idle',rightPanelMode: 'copilot',title: undefined,diff --git a/src/features/PageEditor/useDocumentLock.ts b/src/features/PageEditor/useDocumentLock.tsindex 40df8ff775d..7df8e229320 100644--- a/src/features/PageEditor/useDocumentLock.ts+++ b/src/features/PageEditor/useDocumentLock.ts@@ -1,6 +1,6 @@'use client';-import { useEffect, useRef } from 'react';+import { useEffect, useMemo, useRef } from 'react';import { type EditLockClient, useEditLock } from '@/features/EditLock';import { usePermission } from '@/hooks/usePermission';@@ -11,12 +11,22 @@ import { useDocumentStore } from '@/store/document';import { editorSelectors } from '@/store/document/slices/editor';import { usePageEditorStore } from './store';+import { usePageLockedByOther } from './usePageLockedByOther';// Stable lock RPC binding for the document resource.const documentLockClient: EditLockClient = {- acquire: (id) => documentService.acquireDocumentLock(id),- peek: (id) => documentService.getDocumentLock(id),- release: (id) => documentService.releaseDocumentLock(id),+ acquire: (id, ownerId) => documentService.acquireDocumentLock(id, ownerId),+ peek: (id, ownerId) => documentService.getDocumentLock(id, ownerId),+ release: (id, ownerId) => documentService.releaseDocumentLock(id, ownerId),+};++const createLockOwnerId = (documentId: string) => {+ const randomId =+ typeof crypto !== 'undefined' && 'randomUUID' in crypto+ ? crypto.randomUUID()+ : `${Date.now()}-${Math.random().toString(36).slice(2)}`;++ return `page:${documentId}:${randomId}`;};/**@@ -34,9 +44,12 @@ export const useDocumentLock = () => {const { allowed: canEdit } = usePermission('edit_own_content');const documentId = usePageEditorStore((s) => s.documentId);const isWorkspacePage = usePageEditorStore((s) => s.isWorkspacePage);- const isLockedByOther = usePageEditorStore((s) => s.isLockedByOther);+ const isLockedByOther = usePageLockedByOther();const setLockState = usePageEditorStore((s) => s.setLockState);const setLockPending = usePageEditorStore((s) => s.setLockPending);+ const setLockHealth = usePageEditorStore((s) => s.setLockHealth);+ const setLockOwnerId = usePageEditorStore((s) => s.setLockOwnerId);+ const lockExpiresAt = usePageEditorStore((s) => s.lockExpiresAt);const isDirty = useDocumentStore((s) =>documentId ? editorSelectors.isDirty(documentId)(s) : false,);@@ -45,6 +58,30 @@ export const useDocumentLock = () => {);const workspacePage = Boolean(documentId && canEdit && isWorkspacePage);+ const ownerId = useMemo(+ () => (documentId ? createLockOwnerId(documentId) : undefined),+ [documentId],+ );++ useEffect(() => {+ setLockOwnerId(workspacePage ? ownerId : undefined);+ if (!documentId) return;++ useDocumentStore.getState().internal_dispatchDocument({+ id: documentId,+ type: 'updateDocument',+ value: { lockOwnerId: workspacePage ? ownerId : undefined },+ });++ return () => {+ setLockOwnerId(undefined);+ useDocumentStore.getState().internal_dispatchDocument({+ id: documentId,+ type: 'updateDocument',+ value: { lockOwnerId: undefined },+ });+ };+ }, [documentId, ownerId, setLockOwnerId, workspacePage]);// Shared lock lifecycle. Pages receive realtime lock pushes via SSE, so the// viewer poll is off — the single peek-on-open plus those pushes keep it live.@@ -52,6 +89,7 @@ export const useDocumentLock = () => {client: documentLockClient,enabled: workspacePage,isDirty,+ ownerId,pollWhileViewing: false,resourceId: documentId,});@@ -59,13 +97,31 @@ export const useDocumentLock = () => {// Bridge lock state into the page store. A peek failure / non-workspace page// resolves to "free" (pending false), so the editor is never stranded.useEffect(() => {- setLockState({ holderId: lock.holderId, lockedByOther: lock.lockedByOther });- }, [lock.holderId, lock.lockedByOther, setLockState]);+ setLockState(lock.holderId, lock.expiresAt, lock.ownerId);+ }, [lock.expiresAt, lock.holderId, lock.ownerId, setLockState]);useEffect(() => {setLockPending(lock.pending);}, [lock.pending, setLockPending]);+ useEffect(() => {+ setLockHealth(lock.health);+ }, [lock.health, setLockHealth]);++ // After recovering from a lost lease, refresh the document so we don't paint+ // over edits another member made while we were disconnected. The existing+ // isLockedByOther bridge above only fires when the holder transitions through+ // a different user — recovering from `lost` after a pure network blip never+ // touches holderId, so it needs its own trigger.+ const prevHealthRef = useRef(lock.health);+ useEffect(() => {+ const recovered = prevHealthRef.current === 'lost' && lock.health === 'healthy';+ prevHealthRef.current = lock.health;+ if (recovered && documentId) {+ void mutate(documentSWRKeys.editor(documentId));+ }+ }, [lock.health, documentId]);+// Re-hydrate content whenever the lock flips — on open if already held, or when// another member takes/releases it (events land in the store via the bridge or// useResourceEvents), or when our own save was just rejected (the holder's@@ -82,4 +138,44 @@ export const useDocumentLock = () => {void mutate(documentSWRKeys.editor(documentId));}}, [workspacePage, documentId, isLockedByOther, saveBlockedByLock]);++ // Recovery: once the lock has resolved and the server confirms we can write+ // again, drop any stale save-block from an earlier CONFLICT. Without this the+ // editor stays read-only behind a banner that names the *current* holder+ // — possibly the user themselves — since the only other path that clears the+ // flag is a successful save the read-only editor can't reach.+ //+ // Uses `lock.lockedByOther` (the server's ownerId-aware verdict) rather than+ // `usePageLockedByOther` (a userId-only comparison): the latter is `false`+ // during a self-conflict, which would clear `saveBlockedByLock` between+ // CONFLICT'd saves and create a one-render flash of the lockedBySelf banner.+ useEffect(() => {+ if (!documentId || lock.pending || lock.lockedByOther || !saveBlockedByLock) return;+ useDocumentStore.getState().clearSaveBlockedByLock(documentId);+ }, [documentId, lock.pending, lock.lockedByOther, saveBlockedByLock]);++ // Lease-expiry re-peek: schedule a single confirmation peek at the lease's+ // expected expiry time. Runs for *any* known holder (us or someone else), so+ // a holder whose heartbeat silently stopped (or whose release was lost in+ // flight) doesn't strand viewers — and our own session can verify it still+ // owns the lock instead of trusting a stale lockExpiresAt.+ useEffect(() => {+ if (!workspacePage || !documentId || !ownerId || !lockExpiresAt) return;++ const expiresAtTime =+ lockExpiresAt instanceof Date ? lockExpiresAt.getTime() : new Date(lockExpiresAt).getTime();+ if (Number.isNaN(expiresAtTime)) return;++ const delay = Math.max(1000, expiresAtTime - Date.now() + 500);+ const timer = setTimeout(() => {+ documentService+ .getDocumentLock(documentId, ownerId)+ .then((nextLock) => setLockState(nextLock.holderId, nextLock.expiresAt, nextLock.ownerId))+ .catch((error) => {+ console.error('[PageEditor] Failed to refresh expired document lock:', error);+ });+ }, delay);++ return () => clearTimeout(timer);+ }, [documentId, lockExpiresAt, ownerId, setLockState, workspacePage]);};diff --git a/src/features/PageEditor/usePageDraft.test.ts b/src/features/PageEditor/usePageDraft.test.tsnew file mode 100644index 00000000000..dee282a0836--- /dev/null+++ b/src/features/PageEditor/usePageDraft.test.ts@@ -0,0 +1,85 @@+import { afterEach, beforeEach, describe, expect, it } from 'vitest';++import { clearPageDraft, readPageDraft } from './usePageDraft';++const KEY = 'page-draft:doc-1';++describe('usePageDraft — storage helpers', () => {+ beforeEach(() => {+ window.sessionStorage.clear();+ });++ afterEach(() => {+ window.sessionStorage.clear();+ });++ it('returns null when no draft is stored', () => {+ expect(readPageDraft('doc-1')).toBeNull();+ });++ it('round-trips a stored draft', () => {+ window.sessionStorage.setItem(+ KEY,+ JSON.stringify({+ documentId: 'doc-1',+ editorData: { type: 'doc', content: 'hello' },+ ownerId: 'owner-x',+ savedAt: new Date().toISOString(),+ }),+ );++ const draft = readPageDraft('doc-1');+ expect(draft).not.toBeNull();+ expect(draft?.documentId).toBe('doc-1');+ expect(draft?.editorData).toEqual({ type: 'doc', content: 'hello' });+ expect(draft?.ownerId).toBe('owner-x');+ });++ it('ignores drafts that name a different document', () => {+ window.sessionStorage.setItem(+ KEY,+ JSON.stringify({+ documentId: 'doc-2',+ editorData: null,+ savedAt: new Date().toISOString(),+ }),+ );++ expect(readPageDraft('doc-1')).toBeNull();+ });++ it('discards drafts older than 24h and clears them on read', () => {+ const stale = new Date(Date.now() - 25 * 60 * 60 * 1000).toISOString();+ window.sessionStorage.setItem(+ KEY,+ JSON.stringify({+ documentId: 'doc-1',+ editorData: { type: 'doc' },+ savedAt: stale,+ }),+ );++ expect(readPageDraft('doc-1')).toBeNull();+ // Cleaned up so the next open doesn't reprocess the same stale draft.+ expect(window.sessionStorage.getItem(KEY)).toBeNull();+ });++ it('clearPageDraft removes the stored draft', () => {+ window.sessionStorage.setItem(+ KEY,+ JSON.stringify({+ documentId: 'doc-1',+ editorData: null,+ savedAt: new Date().toISOString(),+ }),+ );++ clearPageDraft('doc-1');+ expect(window.sessionStorage.getItem(KEY)).toBeNull();+ });++ it('returns null on a corrupted draft payload', () => {+ window.sessionStorage.setItem(KEY, '{not-json');+ expect(readPageDraft('doc-1')).toBeNull();+ });+});diff --git a/src/features/PageEditor/usePageDraft.ts b/src/features/PageEditor/usePageDraft.tsnew file mode 100644index 00000000000..7faabab715f--- /dev/null+++ b/src/features/PageEditor/usePageDraft.ts@@ -0,0 +1,167 @@+'use client';++import { confirmModal } from '@lobehub/ui/base-ui';+import debug from 'debug';+import { debounce } from 'es-toolkit/compat';+import { useEffect, useMemo, useRef } from 'react';+import { useTranslation } from 'react-i18next';++import { useDocumentStore } from '@/store/document';+import { editorSelectors } from '@/store/document/slices/editor';++import { usePageEditorStore } from './store';++const log = debug('page:draft');++const DRAFT_KEY_PREFIX = 'page-draft:';+const DRAFT_WRITE_DEBOUNCE_MS = 200;+/**+ * Drafts older than 24h are treated as stale on open. Past that window the+ * server is almost certainly the source of truth (someone else has edited, or+ * the user has moved on) and silently restoring would be more surprising than+ * helpful.+ */+const DRAFT_MAX_AGE_MS = 24 * 60 * 60 * 1000;++interface PageDraftPayload {+ documentId: string;+ editorData: unknown;+ ownerId?: string;+ savedAt: string;+}++const draftKey = (documentId: string) => `${DRAFT_KEY_PREFIX}${documentId}`;++const writeDraft = (payload: PageDraftPayload): void => {+ if (typeof window === 'undefined') return;+ try {+ window.sessionStorage.setItem(draftKey(payload.documentId), JSON.stringify(payload));+ } catch (error) {+ // sessionStorage may be full / blocked — drop silently. The in-memory editor+ // still has the content; the snapshot is defense in depth, not the primary+ // copy.+ log('failed to write draft for %s: %O', payload.documentId, error);+ }+};++export const clearPageDraft = (documentId: string): void => {+ if (typeof window === 'undefined') return;+ try {+ window.sessionStorage.removeItem(draftKey(documentId));+ } catch {+ // ignore+ }+};++export const readPageDraft = (documentId: string): PageDraftPayload | null => {+ if (typeof window === 'undefined') return null;+ try {+ const raw = window.sessionStorage.getItem(draftKey(documentId));+ if (!raw) return null;+ const parsed = JSON.parse(raw) as PageDraftPayload;+ if (parsed?.documentId !== documentId) return null;+ const savedAt = Date.parse(parsed.savedAt);+ if (!Number.isFinite(savedAt) || Date.now() - savedAt > DRAFT_MAX_AGE_MS) {+ clearPageDraft(documentId);+ return null;+ }+ return parsed;+ } catch {+ return null;+ }+};++/**+ * Persists a tab-local snapshot of the editor's in-memory content while the+ * collaborative lock is degraded (`unstable` / `lost`), so an accidental+ * refresh or navigation during the lock-loss window doesn't blow away unsaved+ * work. The snapshot is cleared once the lock recovers AND the document is no+ * longer dirty — at that point the server has the latest version and the+ * snapshot is stale by definition.+ *+ * On open, if a recent draft exists and the local editor isn't dirty yet, the+ * user is prompted once to restore it. Declining drops the draft so there's no+ * lingering ghost state.+ */+export const usePageDraft = (): void => {+ const { t } = useTranslation('file');+ const documentId = usePageEditorStore((s) => s.documentId);+ const lockHealth = usePageEditorStore((s) => s.lockHealth);+ const lockOwnerId = usePageEditorStore((s) => s.lockOwnerId);+ const editor = usePageEditorStore((s) => s.editor);++ const editorData = useDocumentStore((s) =>+ documentId ? editorSelectors.editorData(documentId)(s) : undefined,+ );+ const isDirty = useDocumentStore((s) =>+ documentId ? editorSelectors.isDirty(documentId)(s) : false,+ );++ // Stable debounced writer; the latest payload always wins.+ const writer = useMemo(+ () => debounce(writeDraft, DRAFT_WRITE_DEBOUNCE_MS, { leading: false, trailing: true }),+ [],+ );++ // Snapshot on every change while the lock isn't healthy AND there's unsaved+ // work to protect. Skip otherwise — when healthy, the regular save path is+ // the source of truth; when clean, there's nothing worth backing up.+ useEffect(() => {+ if (!documentId) return;+ if (lockHealth === 'healthy' || !isDirty) return;+ writer({+ documentId,+ editorData,+ ownerId: lockOwnerId,+ savedAt: new Date().toISOString(),+ });+ }, [documentId, lockHealth, isDirty, editorData, lockOwnerId, writer]);++ // Drop the snapshot once we recover AND every change has been flushed. At+ // that point the server has the latest content; the snapshot is stale and a+ // leftover would re-prompt the user next time they open the page.+ useEffect(() => {+ if (!documentId) return;+ if (lockHealth === 'healthy' && !isDirty) {+ writer.cancel?.();+ clearPageDraft(documentId);+ }+ }, [documentId, lockHealth, isDirty, writer]);++ // Cancel any pending write on unmount so a snapshot scheduled just before+ // leaving can't race a downstream clean-state clear.+ useEffect(() => () => writer.cancel?.(), [writer]);++ // One-shot restore prompt on open: if we land on a document with a recent+ // draft AND the local editor hasn't started typing, ask whether to restore.+ // Track the prompted documentId so re-renders or editor remounts don't+ // re-trigger the modal.+ const promptedRef = useRef<string | null>(null);+ useEffect(() => {+ if (!documentId || !editor) return;+ if (promptedRef.current === documentId) return;+ if (isDirty) return;+ const draft = readPageDraft(documentId);+ if (!draft) return;+ promptedRef.current = documentId;++ void confirmModal({+ cancelText: t('pageEditor.editMode.draftRestoreCancel'),+ content: t('pageEditor.editMode.draftRestoreContent'),+ okText: t('pageEditor.editMode.draftRestoreOk'),+ onCancel: () => clearPageDraft(documentId),+ onOk: () => {+ try {+ if (draft.editorData && typeof draft.editorData === 'object') {+ editor.setDocument('json', JSON.stringify(draft.editorData));+ }+ } catch (error) {+ log('failed to restore draft for %s: %O', documentId, error);+ } finally {+ clearPageDraft(documentId);+ }+ },+ title: t('pageEditor.editMode.draftRestoreTitle'),+ });+ }, [documentId, editor, isDirty, t]);+};diff --git a/src/features/PageEditor/usePageEditable.ts b/src/features/PageEditor/usePageEditable.tsindex 7823f2960d2..30a44646487 100644--- a/src/features/PageEditor/usePageEditable.ts+++ b/src/features/PageEditor/usePageEditable.ts@@ -5,6 +5,7 @@ import { useDocumentStore } from '@/store/document';import { editorSelectors } from '@/store/document/slices/editor';import { usePageEditorStore } from './store';+import { usePageLockedByOther } from './usePageLockedByOther';/*** Whether the current user can type into the page right now.@@ -18,7 +19,7 @@ export const usePageEditable = (): boolean => {const { allowed: hasEditPermission } = usePermission('edit_own_content');const documentId = usePageEditorStore((s) => s.documentId);const isWorkspacePage = usePageEditorStore((s) => s.isWorkspacePage);- const isLockedByOther = usePageEditorStore((s) => s.isLockedByOther);+ const isLockedByOther = usePageLockedByOther();// Read-only until the lock resolves, so the user can't start typing on a page// that turns out to be locked and get bounced mid-edit. Only workspace pages// lock — personal pages are always immediately editable (no lock, no pending).diff --git a/src/features/PageEditor/usePageLockedByOther.test.ts b/src/features/PageEditor/usePageLockedByOther.test.tsnew file mode 100644index 00000000000..96dcb99bf2b--- /dev/null+++ b/src/features/PageEditor/usePageLockedByOther.test.ts@@ -0,0 +1,73 @@+import { describe, expect, it } from 'vitest';++import { isLockedByOtherSession } from './usePageLockedByOther';++describe('isLockedByOtherSession', () => {+ it('is not locked when no one holds the lock', () => {+ expect(+ isLockedByOtherSession({+ holderId: null,+ holderOwnerId: null,+ myOwnerId: 'page-owner-1',+ myUserId: 'user-1',+ }),+ ).toBe(false);+ });++ it('is locked when another user holds the lock', () => {+ expect(+ isLockedByOtherSession({+ holderId: 'user-2',+ holderOwnerId: 'page-owner-2',+ myOwnerId: 'page-owner-1',+ myUserId: 'user-1',+ }),+ ).toBe(true);+ });++ it('is not locked when I hold the lock from this session', () => {+ expect(+ isLockedByOtherSession({+ holderId: 'user-1',+ holderOwnerId: 'page-owner-1',+ myOwnerId: 'page-owner-1',+ myUserId: 'user-1',+ }),+ ).toBe(false);+ });++ it('is locked when the same user holds the lock from a different session/tab', () => {+ expect(+ isLockedByOtherSession({+ holderId: 'user-1',+ holderOwnerId: 'page-owner-2',+ myOwnerId: 'page-owner-1',+ myUserId: 'user-1',+ }),+ ).toBe(true);+ });++ it('is not locked by a legacy same-user lock that has no owner session', () => {+ // Rolling-deploy compatibility: a pre-upgrade lock stores no ownerId. Treat+ // it as mine so I am never locked out by my own (legacy) lock.+ expect(+ isLockedByOtherSession({+ holderId: 'user-1',+ holderOwnerId: null,+ myOwnerId: 'page-owner-1',+ myUserId: 'user-1',+ }),+ ).toBe(false);+ });++ it('is not locked by the same user when my own session owner is unknown', () => {+ expect(+ isLockedByOtherSession({+ holderId: 'user-1',+ holderOwnerId: 'page-owner-2',+ myOwnerId: undefined,+ myUserId: 'user-1',+ }),+ ).toBe(false);+ });+});diff --git a/src/features/PageEditor/usePageLockedByOther.ts b/src/features/PageEditor/usePageLockedByOther.tsnew file mode 100644index 00000000000..005530870ee--- /dev/null+++ b/src/features/PageEditor/usePageLockedByOther.ts@@ -0,0 +1,59 @@+'use client';++import { useUserStore } from '@/store/user';+import { userProfileSelectors } from '@/store/user/slices/auth/selectors';++import { usePageEditorStore } from './store';++interface LockedByOtherSessionInput {+ /** User id of the current holder (null when unlocked). */+ holderId: string | null | undefined;+ /** Edit-session id of the current holder (null for legacy/unknown). */+ holderOwnerId: string | null | undefined;+ /** This page instance's own edit-session id. */+ myOwnerId: string | undefined;+ myUserId: string | undefined;+}++/**+ * Pure decision for "is the lock held by someone other than *this* session".+ *+ * - Different user → always locked.+ * - Same user, a *different* edit session (e.g. a second tab) → locked. The+ * server lock is session-scoped, so the other tab really would block writes.+ * - Same user, same session / no holder → not locked.+ * - Legacy holder with no `holderOwnerId` (a pre-upgrade lock during a rolling+ * deploy), or our own session id not yet known → treated as ours, preserving+ * the invariant "you can never be locked out by your own lock".+ */+export const isLockedByOtherSession = ({+ holderId,+ holderOwnerId,+ myOwnerId,+ myUserId,+}: LockedByOtherSessionInput): boolean => {+ if (!holderId) return false;+ if (holderId !== myUserId) return true;++ return Boolean(holderOwnerId && myOwnerId && holderOwnerId !== myOwnerId);+};++/**+ * Whether the page's edit lock is held by *someone other than* the current+ * session. Derived from the single source of truth ({@link lockHolderId} ++ * {@link lockHolderOwnerId}) rather than a separately-stored boolean, so it stays+ * correct no matter how the holder was set (peek, acquire, or a realtime echo).+ */+export const usePageLockedByOther = (): boolean => {+ const lockHolderId = usePageEditorStore((s) => s.lockHolderId);+ const lockHolderOwnerId = usePageEditorStore((s) => s.lockHolderOwnerId);+ const myOwnerId = usePageEditorStore((s) => s.lockOwnerId);+ const myUserId = useUserStore(userProfileSelectors.userId);++ return isLockedByOtherSession({+ holderId: lockHolderId,+ holderOwnerId: lockHolderOwnerId,+ myOwnerId,+ myUserId,+ });+};diff --git a/src/features/PageEditor/usePageLockedBySelf.test.tsx b/src/features/PageEditor/usePageLockedBySelf.test.tsxnew file mode 100644index 00000000000..1069dcac99e--- /dev/null+++ b/src/features/PageEditor/usePageLockedBySelf.test.tsx@@ -0,0 +1,94 @@+import { renderHook } from '@testing-library/react';+import { beforeEach, describe, expect, it, vi } from 'vitest';++import { usePageLockedBySelf } from './usePageLockedBySelf';++const mockPageState: {+ current: { documentId?: string; lockHolderId: string | null };+} = { current: { documentId: 'doc-1', lockHolderId: null } };++const mockUserState: { current: { id: string | undefined } } = {+ current: { id: 'user-me' },+};++const mockDocumentState: {+ current: { documents: Record<string, { saveBlockedByLock?: boolean }> };+} = { current: { documents: {} } };++vi.mock('./store', () => ({+ usePageEditorStore: (selector: any) => selector(mockPageState.current),+}));++vi.mock('@/store/user', () => ({+ useUserStore: (selector: any) => selector(mockUserState.current),+}));++vi.mock('@/store/user/slices/auth/selectors', () => ({+ userProfileSelectors: {+ userId: (s: any) => s.id,+ },+}));++vi.mock('@/store/document', () => ({+ useDocumentStore: (selector: any) => selector(mockDocumentState.current),+}));++vi.mock('@/store/document/slices/editor', () => ({+ editorSelectors: {+ saveBlockedByLock: (id: string) => (s: any) => Boolean(s.documents[id]?.saveBlockedByLock),+ },+}));++const isLockedByOtherMock = vi.fn(() => false);+vi.mock('./usePageLockedByOther', () => ({+ usePageLockedByOther: () => isLockedByOtherMock(),+}));++describe('usePageLockedBySelf', () => {+ beforeEach(() => {+ mockPageState.current = { documentId: 'doc-1', lockHolderId: null };+ mockUserState.current = { id: 'user-me' };+ mockDocumentState.current = { documents: {} };+ isLockedByOtherMock.mockReturnValue(false);+ });++ it('returns false when no one holds the lock', () => {+ const { result } = renderHook(() => usePageLockedBySelf());+ expect(result.current).toBe(false);+ });++ it('returns false when another user holds the lock', () => {+ mockPageState.current.lockHolderId = 'user-other';+ isLockedByOtherMock.mockReturnValue(true);+ const { result } = renderHook(() => usePageLockedBySelf());+ expect(result.current).toBe(false);+ });++ it('returns true when I hold the lock AND my save was just rejected', () => {+ mockPageState.current.lockHolderId = 'user-me';+ mockDocumentState.current.documents['doc-1'] = { saveBlockedByLock: true };+ const { result } = renderHook(() => usePageLockedBySelf());+ expect(result.current).toBe(true);+ });++ it('returns false when I hold the lock but nothing is blocking writes', () => {+ mockPageState.current.lockHolderId = 'user-me';+ const { result } = renderHook(() => usePageLockedBySelf());+ expect(result.current).toBe(false);+ });++ it('returns true when I hold the lock and the lock is reported as "by other" (future LOBE-10480 path)', () => {+ mockPageState.current.lockHolderId = 'user-me';+ isLockedByOtherMock.mockReturnValue(true);+ const { result } = renderHook(() => usePageLockedBySelf());+ expect(result.current).toBe(true);+ });++ it('returns false when the user is not authenticated yet', () => {+ mockPageState.current.lockHolderId = 'user-me';+ mockDocumentState.current.documents['doc-1'] = { saveBlockedByLock: true };+ mockUserState.current.id = undefined;+ const { result } = renderHook(() => usePageLockedBySelf());+ expect(result.current).toBe(false);+ });+});diff --git a/src/features/PageEditor/usePageLockedBySelf.ts b/src/features/PageEditor/usePageLockedBySelf.tsnew file mode 100644index 00000000000..b11ab68dde7--- /dev/null+++ b/src/features/PageEditor/usePageLockedBySelf.ts@@ -0,0 +1,39 @@+'use client';++import { useDocumentStore } from '@/store/document';+import { editorSelectors } from '@/store/document/slices/editor';+import { useUserStore } from '@/store/user';+import { userProfileSelectors } from '@/store/user/slices/auth/selectors';++import { usePageEditorStore } from './store';+import { usePageLockedByOther } from './usePageLockedByOther';++/**+ * Whether the current user is being blocked **by another session of their own**+ * (a different tab, a refresh that didn't release cleanly, an earlier mount whose+ * `release` call was aborted by unload, etc.).+ *+ * The signal is the unusual coincidence of "I am the recorded holder" AND+ * "something is rejecting my writes" — under healthy single-session usage those+ * never overlap. We surface this so the UI can stop telling the user that+ * `{their own name} is editing this document` (which reads like another person+ * has taken the page) and instead show a self-aware message.+ *+ * Forward-compatible with the LOBE-10480 session-aware refactor: once+ * `usePageLockedByOther` returns true for a different-session-same-user holder,+ * this hook will pick that up automatically — for now it relies primarily on+ * the `saveBlockedByLock` signal that CONFLICT save responses set.+ */+export const usePageLockedBySelf = (): boolean => {+ const documentId = usePageEditorStore((s) => s.documentId);+ const lockHolderId = usePageEditorStore((s) => s.lockHolderId);+ const myUserId = useUserStore(userProfileSelectors.userId);+ const isLockedByOther = usePageLockedByOther();+ const saveBlockedByLock = useDocumentStore((s) =>+ documentId ? editorSelectors.saveBlockedByLock(documentId)(s) : false,+ );++ if (!lockHolderId || !myUserId || lockHolderId !== myUserId) return false;++ return isLockedByOther || saveBlockedByLock;+};diff --git a/src/features/PageEditor/useResourceEvents.ts b/src/features/PageEditor/useResourceEvents.tsindex a865b1fca1e..358115ca1a9 100644--- a/src/features/PageEditor/useResourceEvents.ts+++ b/src/features/PageEditor/useResourceEvents.ts@@ -4,6 +4,7 @@ import { fetchEventSource } from '@lobechat/utils/client';import { useEffect } from 'react';import { mutate } from '@/libs/swr';+import { documentService } from '@/services/document';import { documentSWRKeys } from '@/services/document/swrKeys';import { pageSelectors, usePageStore } from '@/store/page';import { useUserStore } from '@/store/user';@@ -32,6 +33,7 @@ const buildHeaders = async (): Promise<Record<string, string>> => {export const useResourceEvents = () => {const documentId = usePageEditorStore((s) => s.documentId);const setLockState = usePageEditorStore((s) => s.setLockState);+ const lockOwnerId = usePageEditorStore((s) => s.lockOwnerId);const workspaceId = usePageStore((s) => pageSelectors.getDocumentById(documentId)(s)?.workspaceId,);@@ -62,7 +64,15 @@ export const useResourceEvents = () => {},onmessage: (ev) => {if (!ev.data) return;- let parsed: { actorId?: string; data?: { holderId?: string | null }; type?: string };+ let parsed: {+ actorId?: string;+ data?: {+ expiresAt?: string | null;+ holderId?: string | null;+ ownerId?: string | null;+ };+ type?: string;+ };try {parsed = JSON.parse(ev.data);} catch {@@ -76,15 +86,33 @@ export const useResourceEvents = () => {// version when the local editor isn't dirty.void mutate(documentSWRKeys.editor(documentId));} else if (parsed.type === 'lock.changed') {- const holderId = parsed.data?.holderId ?? null;- setLockState({- holderId,- lockedByOther: Boolean(holderId) && holderId !== myUserId,- });+ // Store the holder verbatim; "locked by other" is derived against+ // the current user/session at read time (usePageLockedByOther).+ setLockState(+ parsed.data?.holderId ?? null,+ parsed.data?.expiresAt ?? null,+ parsed.data?.ownerId ?? null,+ );}},onopen: async (res) => {- if (res.ok && res.headers.get('content-type')?.includes('text/event-stream')) return;+ if (res.ok && res.headers.get('content-type')?.includes('text/event-stream')) {+ // Force a fresh peek every time the SSE channel (re)opens. Events+ // dropped during the connect gap — including the holder's+ // `release` broadcast — would otherwise leave the viewer stuck on+ // a stale "X is editing this document" until lease expiry.+ documentService+ .getDocumentLock(documentId, lockOwnerId)+ .then((lock) => {+ if (cancelled) return;+ setLockState(lock.holderId, lock.expiresAt, lock.ownerId);+ })+ .catch(() => {+ // Resync is best-effort; the regular lock heartbeat tick will+ // retry naturally — no need to surface the error.+ });+ return;+ }const error: Error & { fatal?: boolean } = new Error(`SSE failed: ${res.status}`);error.fatal = res.status >= 400 && res.status < 500;throw error;@@ -102,5 +130,5 @@ export const useResourceEvents = () => {cancelled = true;ac.abort();};- }, [enabled, documentId, workspaceId, myUserId, setLockState]);+ }, [enabled, documentId, workspaceId, myUserId, setLockState, lockOwnerId]);};diff --git a/src/services/document/index.ts b/src/services/document/index.tsindex 3c2d0c8935e..436a5199587 100644--- a/src/services/document/index.ts+++ b/src/services/document/index.ts@@ -233,17 +233,17 @@ export class DocumentService {* Acquire or refresh the collaborative edit lock for a workspace page.* Doubles as the heartbeat. Personal pages always report as unlocked.*/- async acquireDocumentLock(id: string) {- return lambdaClient.document.acquireDocumentLock.mutate({ id });+ async acquireDocumentLock(id: string, ownerId?: string) {+ return lambdaClient.document.acquireDocumentLock.mutate({ id, ownerId });}/** Read-only peek of the current edit lock (does not acquire). */- async getDocumentLock(id: string) {- return lambdaClient.document.getDocumentLock.query({ id });+ async getDocumentLock(id: string, ownerId?: string) {+ return lambdaClient.document.getDocumentLock.query({ id, ownerId });}- async releaseDocumentLock(id: string): Promise<void> {- await lambdaClient.document.releaseDocumentLock.mutate({ id });+ async releaseDocumentLock(id: string, ownerId?: string): Promise<void> {+ await lambdaClient.document.releaseDocumentLock.mutate({ id, ownerId });}async saveDocumentHistory(params: SaveDocumentHistoryInput): Promise<SaveDocumentHistoryOutput> {diff --git a/src/services/documentHistoryQueue.test.ts b/src/services/documentHistoryQueue.test.tsindex 15b19e39584..3ce577591f6 100644--- a/src/services/documentHistoryQueue.test.ts+++ b/src/services/documentHistoryQueue.test.ts@@ -41,6 +41,29 @@ describe('DocumentHistoryQueueService', () => {});});+ it('should forward the lock owner so the holder snapshot passes the write guard', async () => {+ vi.mocked(documentService.saveDocumentHistory).mockResolvedValue({+ savedAt: new Date().toISOString(),+ });+ const editor = {+ getDocument: vi.fn(() => ({ root: true })),+ };++ documentHistoryQueueService.enqueueEditorSnapshot({+ documentId: 'doc-1',+ editor,+ lockOwnerId: 'page-owner-1',+ });+ await Promise.resolve();++ expect(documentService.saveDocumentHistory).toHaveBeenCalledWith({+ documentId: 'doc-1',+ editorData: JSON.stringify({ root: true }),+ lockOwnerId: 'page-owner-1',+ saveSource: 'llm_call',+ });+ });+it('should save the origin content when the editor snapshot contains diff nodes', async () => {vi.mocked(documentService.saveDocumentHistory).mockResolvedValue({savedAt: new Date().toISOString(),diff --git a/src/services/documentHistoryQueue.ts b/src/services/documentHistoryQueue.tsindex 39201665c61..154f239a49a 100644--- a/src/services/documentHistoryQueue.ts+++ b/src/services/documentHistoryQueue.ts@@ -8,6 +8,7 @@ const log = debug('page:editor:history-queue');interface QueueItem {documentId: string;editorData: string;+ lockOwnerId?: string;saveSource: 'llm_call';}@@ -18,6 +19,8 @@ interface EditorSnapshotSource {interface EnqueueEditorSnapshotParams {documentId?: string;editor?: EditorSnapshotSource;+ /** Edit-session id of the page lock holder, so the snapshot passes the write guard. */+ lockOwnerId?: string;saveSource?: 'llm_call';}@@ -33,6 +36,7 @@ class DocumentHistoryQueueService {enqueueEditorSnapshot = ({documentId,editor,+ lockOwnerId,saveSource = 'llm_call',}: EnqueueEditorSnapshotParams) => {if (!documentId || !editor) return false;@@ -44,6 +48,7 @@ class DocumentHistoryQueueService {this.enqueue({documentId,editorData: JSON.stringify(editorData),+ lockOwnerId,saveSource,});@@ -68,6 +73,7 @@ class DocumentHistoryQueueService {await documentService.saveDocumentHistory({documentId: item.documentId,editorData: item.editorData,+ lockOwnerId: item.lockOwnerId,saveSource: item.saveSource,});} catch (error) {diff --git a/src/store/document/slices/editor/action.test.ts b/src/store/document/slices/editor/action.test.tsindex 3e146595cad..83f0ea01f68 100644--- a/src/store/document/slices/editor/action.test.ts+++ b/src/store/document/slices/editor/action.test.ts@@ -899,6 +899,34 @@ name: skill-nameexpect(result.current.documents['doc-1'].saveStatus).toBe('idle');});+ it('passes the document lock owner id when saving', async () => {+ const { result } = renderHook(() => useDocumentStore());+ const mockEditor = createValidMockEditor() as any;++ act(() => {+ result.current.initDocumentWithEditor({+ content: '# Test',+ documentId: 'doc-1',+ editor: mockEditor,+ sourceType: 'page',+ });+ result.current.internal_dispatchDocument({+ id: 'doc-1',+ type: 'updateDocument',+ value: { lockOwnerId: 'owner-1' },+ });+ result.current.markDirty('doc-1');+ });++ await act(async () => {+ await result.current.performSave('doc-1');+ });++ expect(documentService.updateDocument).toHaveBeenCalledWith(+ expect.objectContaining({ id: 'doc-1', lockOwnerId: 'owner-1' }),+ );+ });+it('clears the lock-blocked flag after the next successful save', async () => {const { result } = renderHook(() => useDocumentStore());const mockEditor = createValidMockEditor() as any;@@ -935,6 +963,56 @@ name: skill-nameexpect(result.current.documents['doc-1'].isDirty).toBe(false);});+ it('clearSaveBlockedByLock drops a stale lock-block without needing a save (lock recovery)', async () => {+ const { result } = renderHook(() => useDocumentStore());+ const mockEditor = createValidMockEditor() as any;++ act(() => {+ result.current.initDocumentWithEditor({+ content: '# Test',+ documentId: 'doc-1',+ editor: mockEditor,+ sourceType: 'page',+ });+ result.current.markDirty('doc-1');+ });++ const lockError = Object.assign(new Error('locked'), { data: { code: 'CONFLICT' } });+ vi.mocked(documentService.updateDocument).mockRejectedValueOnce(lockError);+ await act(async () => {+ await result.current.performSave('doc-1');+ });+ expect(result.current.documents['doc-1'].saveBlockedByLock).toBe(true);++ // The lock driver clears it once the page is no longer locked by another —+ // the read-only editor would otherwise never reach a successful save.+ act(() => {+ result.current.clearSaveBlockedByLock('doc-1');+ });++ expect(result.current.documents['doc-1'].saveBlockedByLock).toBe(false);+ });++ it('clearSaveBlockedByLock is a no-op when the document is not lock-blocked', () => {+ const { result } = renderHook(() => useDocumentStore());+ const mockEditor = createValidMockEditor() as any;++ act(() => {+ result.current.initDocumentWithEditor({+ content: '# Test',+ documentId: 'doc-1',+ editor: mockEditor,+ sourceType: 'page',+ });+ });++ act(() => {+ result.current.clearSaveBlockedByLock('doc-1');+ });++ expect(result.current.documents['doc-1'].saveBlockedByLock).toBeFalsy();+ });+it('should save metadata-only updates when history is not appended', async () => {const { result } = renderHook(() => useDocumentStore());const mockEditor = createValidMockEditor() as any;diff --git a/src/store/document/slices/editor/action.ts b/src/store/document/slices/editor/action.tsindex f3e69c3f114..f79e5135abd 100644--- a/src/store/document/slices/editor/action.ts+++ b/src/store/document/slices/editor/action.ts@@ -327,6 +327,7 @@ export class EditorActionImpl {content: currentContent,editorData: JSON.stringify(currentEditorData),id,+ lockOwnerId: doc.lockOwnerId,metadata: metadata?.emoji ? { emoji: metadata.emoji } : undefined,restoreFromHistoryId: options?.restoreFromHistoryId,saveSource: options?.saveSource,@@ -367,6 +368,22 @@ export class EditorActionImpl {setEditorState = (editorState: LobehubEditorState | undefined): void => {this.#set({ editorState }, false, n('setEditorState'));};++ /**+ * Clear the "save rejected by another member's lock" flag.+ *+ * `saveBlockedByLock` is set on a CONFLICT save and otherwise only cleared by a+ * *successful* save — but a blocked editor is read-only, so it can never reach+ * that success path on its own. Once the lock is no longer held by someone else+ * (we hold it, or it's free), the block is stale and must be dropped, or the+ * user stays stuck read-only behind a banner naming the current holder (which+ * may now be themselves). Called by the lock driver on that transition.+ */+ clearSaveBlockedByLock = (id: string): void => {+ const { documents, internal_dispatchDocument } = this.#get();+ if (!documents[id]?.saveBlockedByLock) return;+ internal_dispatchDocument({ id, type: 'updateDocument', value: { saveBlockedByLock: false } });+ };}export type EditorAction = Pick<EditorActionImpl, keyof EditorActionImpl>;diff --git a/src/store/document/slices/editor/initialState.ts b/src/store/document/slices/editor/initialState.tsindex 256b06a965e..2658afccc47 100644--- a/src/store/document/slices/editor/initialState.ts+++ b/src/store/document/slices/editor/initialState.ts@@ -48,6 +48,11 @@ export interface EditorContentState {* Last updated time*/lastUpdatedTime: Date | null;+ /**+ * Edit-session id that currently owns this document's collaborative lock.+ * Used by workspace page saves to prove the client still holds the lease.+ */+ lockOwnerId?: string;/*** True when the last save was rejected because another collaborator holds the* document's edit lock. Lets the editor flip to read-only immediately instead