Skip to content

🤯 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.

feat: workspace private agents, viewer limit, onboarding (#16604)

Rdmclin2335e4f5fbd26
diff --git a/apps/server/src/modules/AgentRuntime/executors/callTool.ts b/apps/server/src/modules/AgentRuntime/executors/callTool.ts
index 71b774c4f74..0737ce9c8d2 100644
--- a/apps/server/src/modules/AgentRuntime/executors/callTool.ts
+++ b/apps/server/src/modules/AgentRuntime/executors/callTool.ts
@@ -13,6 +13,7 @@ import {
} from '@lobechat/observability-otel/modules/agent-runtime';
import { type ChatToolPayload } from '@lobechat/types';
+import { AgentModel } from '@/database/models/agent';
import {
type DeviceAccessReason,
isDeviceToolIdentifier,
@@ -188,8 +189,7 @@ export const callTool =
// true here; recording the policy reason inline lets an operator
// distinguish first-party vs bot-owner runs without joining logs.
const policy = state.metadata?.deviceAccessPolicy as
- | { canUseDevice: boolean; reason: DeviceAccessReason }
- | undefined;
+ { canUseDevice: boolean; reason: DeviceAccessReason } | undefined;
logDeviceToolAudit({
apiName: chatToolPayload.apiName,
botContext: state.metadata?.botContext,
@@ -235,19 +235,39 @@ export const callTool =
args: parsedArgs,
manifest: effectiveManifestMap[chatToolPayload.identifier],
});
+ // Resolve caller-agent visibility once so tool runtimes can inherit
+ // it onto side-effects (private-agent output → private docs) and gate
+ // reads (public agent must not touch caller's private docs). Mirrors
+ // the task side's `assertAgentVisibilityCompat` invariant.
+ const toolCallAgentId = state.metadata?.agentId;
+ const toolCallWorkspaceId = state.metadata?.workspaceId ?? ctx.workspaceId;
+ let agentVisibility: 'private' | 'public' | null = null;
+ if (toolCallAgentId && ctx.serverDB && ctx.userId) {
+ try {
+ const agentModel = new AgentModel(ctx.serverDB, ctx.userId, toolCallWorkspaceId);
+ agentVisibility = await agentModel.getAgentVisibility(toolCallAgentId);
+ } catch (error) {
+ // Non-fatal: if we can't resolve visibility, fall back to null so
+ // downstream defaults kick in (existing schema fallback for
+ // writes; unchanged ownership for reads).
+ log(`[${operationLogId}] Failed to resolve agent visibility: %O`, error);
+ }
+ }
+
// Execute tool using ToolExecutionService
log(`[${operationLogId}] Executing tool ${toolName} ...`);
execution = await executeToolWithRetry(
() =>
toolExecutionService.executeTool(chatToolPayload, {
activeDeviceId: state.metadata?.activeDeviceId,
- agentId: state.metadata?.agentId,
+ agentId: toolCallAgentId,
agentMember: buildServerAgentMemberRunner(
ctx,
state,
chatToolPayload,
payload.parentMessageId,
),
+ agentVisibility,
// Assistant message owning this tool call (≠ source user message).
assistantMessageId: payload.parentMessageId,
documentId: state.metadata?.documentId,
@@ -288,7 +308,7 @@ export const callTool =
// creation; resume-safe via computeDeviceContext (recovers it
// from the prior tool message's pluginState.metadata).
workingDirectory: state.metadata?.deviceSystemInfo?.workingDirectory,
- workspaceId: state.metadata?.workspaceId ?? ctx.workspaceId,
+ workspaceId: toolCallWorkspaceId,
}),
{
isInterrupted: () => isOperationInterrupted(ctx),
@@ -474,8 +494,7 @@ export const callTool =
// Persist ToolsActivator discovery results to state.activatedStepTools
const discoveredTools = executionResult.state?.activatedTools as
- | Array<{ identifier: string }>
- | undefined;
+ Array<{ identifier: string }> | undefined;
if (discoveredTools?.length) {
const existingIds = new Set(
(newState.activatedStepTools ?? []).map((t: { id: string }) => t.id),
diff --git a/apps/server/src/routers/lambda/__tests__/agent.test.ts b/apps/server/src/routers/lambda/__tests__/agent.test.ts
index 24ca33e1cb9..fa615f6ec49 100644
--- a/apps/server/src/routers/lambda/__tests__/agent.test.ts
+++ b/apps/server/src/routers/lambda/__tests__/agent.test.ts
@@ -64,6 +64,7 @@ describe('agentRouter', () => {
deleteAgentKnowledgeBase: vi.fn(),
findBySessionId: vi.fn(),
getAgentAssignedKnowledge: vi.fn(),
+ getAgentVisibility: vi.fn().mockResolvedValue(null),
toggleFile: vi.fn(),
toggleKnowledgeBase: vi.fn(),
update: vi.fn(),
@@ -171,14 +172,18 @@ describe('agentRouter', () => {
fileType: 'text',
id: 'file1',
name: 'File 1',
+ ownerUserId: undefined,
type: KnowledgeType.File,
+ visibility: undefined,
},
{
enabled: false,
fileType: 'pdf',
id: 'file2',
name: 'File 2',
+ ownerUserId: undefined,
type: KnowledgeType.File,
+ visibility: undefined,
},
{
avatar: 'avatar1',
@@ -186,7 +191,9 @@ describe('agentRouter', () => {
enabled: true,
id: 'kb1',
name: 'KB 1',
+ ownerUserId: undefined,
type: KnowledgeType.KnowledgeBase,
+ visibility: undefined,
},
{
avatar: 'avatar2',
@@ -194,7 +201,9 @@ describe('agentRouter', () => {
enabled: false,
id: 'kb2',
name: 'KB 2',
+ ownerUserId: undefined,
type: KnowledgeType.KnowledgeBase,
+ visibility: undefined,
},
]);
});
diff --git a/apps/server/src/routers/lambda/__tests__/generationTopic.test.ts b/apps/server/src/routers/lambda/__tests__/generationTopic.test.ts
index f99cb1cfdea..04c5fe97640 100644
--- a/apps/server/src/routers/lambda/__tests__/generationTopic.test.ts
+++ b/apps/server/src/routers/lambda/__tests__/generationTopic.test.ts
@@ -45,7 +45,40 @@ describe('generationTopicRouter', () => {
const result = await caller.createTopic();
expect(result).toBe(mockTopicId);
- expect(mockCreate).toHaveBeenCalledWith('', undefined);
+ expect(mockCreate).toHaveBeenCalledWith('', undefined, undefined);
+ });
+
+ it('should create a workspace topic with explicit public visibility', async () => {
+ const mockTopicId = 'topic-public';
+ const mockCreatedTopic = {
+ id: mockTopicId,
+ title: '',
+ userId: 'test-user',
+ workspaceId: 'workspace-1',
+ coverUrl: null,
+ type: 'image',
+ visibility: 'public',
+ accessedAt: new Date(),
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ };
+
+ const mockCreate = vi.fn().mockResolvedValue(mockCreatedTopic);
+ vi.mocked(GenerationTopicModel).mockImplementation(
+ () =>
+ ({
+ create: mockCreate,
+ }) as any,
+ );
+
+ const caller = generationTopicRouter.createCaller({
+ ...mockCtx,
+ workspaceId: 'workspace-1',
+ });
+ const result = await caller.createTopic({ type: 'image', visibility: 'public' } as any);
+
+ expect(result).toBe(mockTopicId);
+ expect(mockCreate).toHaveBeenCalledWith('', 'image', 'public');
});
it('should get all generation topics', async () => {
diff --git a/apps/server/src/routers/lambda/__tests__/integration/task.integration.test.ts b/apps/server/src/routers/lambda/__tests__/integration/task.integration.test.ts
index 50d60207fd2..46777f2c1d0 100644
--- a/apps/server/src/routers/lambda/__tests__/integration/task.integration.test.ts
+++ b/apps/server/src/routers/lambda/__tests__/integration/task.integration.test.ts
@@ -212,6 +212,26 @@ describe('Task Router Integration', () => {
expect(topLevel.data.parentTaskId).toBeNull();
});
+ it('should reject reparenting a public task under a private parent', async () => {
+ const privateParent = await caller.create({
+ instruction: 'Private parent',
+ name: 'Private Parent',
+ visibility: 'private',
+ });
+ const publicChild = await caller.create({
+ instruction: 'Public child',
+ name: 'Public Child',
+ visibility: 'public',
+ });
+
+ await expect(
+ caller.update({
+ id: publicChild.data.identifier,
+ parentTaskId: privateParent.data.identifier,
+ }),
+ ).rejects.toThrow('subtask cannot be more public than its parent');
+ });
+
it('should reject reparenting a task to itself or its descendant', async () => {
const parent = await caller.create({ instruction: 'Parent', name: 'Parent' });
const child = await caller.create({
diff --git a/apps/server/src/routers/lambda/__tests__/video.test.ts b/apps/server/src/routers/lambda/__tests__/video.test.ts
index 8a8ba49e789..02b28fcfad6 100644
--- a/apps/server/src/routers/lambda/__tests__/video.test.ts
+++ b/apps/server/src/routers/lambda/__tests__/video.test.ts
@@ -10,6 +10,7 @@ const {
mockAfter,
mockCreateVideo,
mockFindUserById,
+ mockGenerationTopicFindById,
mockIsLobeHubModelAvailable,
mockProcessBackgroundVideoPolling,
mockResolveBusinessModelMapping,
@@ -21,6 +22,7 @@ const {
const mockCreateVideo = vi.fn();
const mockAfter = vi.fn((cb: () => void) => cb());
const mockFindUserById = vi.fn();
+ const mockGenerationTopicFindById = vi.fn();
const mockIsLobeHubModelAvailable = vi.fn();
const mockProcessBackgroundVideoPolling = vi.fn().mockResolvedValue(undefined);
const mockResolveBusinessModelMapping = vi.fn();
@@ -28,6 +30,7 @@ const {
mockAfter,
mockCreateVideo,
mockFindUserById,
+ mockGenerationTopicFindById,
mockIsLobeHubModelAvailable,
mockProcessBackgroundVideoPolling,
mockResolveBusinessModelMapping,
@@ -39,6 +42,11 @@ const {
// ---- module-level mocks ----
vi.mock('@/database/models/asyncTask');
+vi.mock('@/database/models/generationTopic', () => ({
+ GenerationTopicModel: vi.fn(() => ({
+ findById: mockGenerationTopicFindById,
+ })),
+}));
vi.mock('@/server/services/file');
vi.mock('@/database/models/user', () => ({
UserModel: {
@@ -161,6 +169,7 @@ describe('videoRouter', () => {
}),
);
mockFindUserById.mockResolvedValue({ email: '[email protected]' });
+ mockGenerationTopicFindById.mockResolvedValue({ id: 'topic-1' });
mockIsLobeHubModelAvailable.mockResolvedValue(true);
});
@@ -234,6 +243,21 @@ describe('videoRouter', () => {
expect(mockCreateVideo).not.toHaveBeenCalled();
});
+ it('should reject inaccessible generation topic before charging or creating records', async () => {
+ setupMocks();
+ mockGenerationTopicFindById.mockResolvedValue(undefined);
+
+ const caller = videoRouter.createCaller({ userId: 'test-user', workspaceId: 'workspace-1' });
+
+ await expect(caller.createVideo(defaultInput)).rejects.toMatchObject({
+ code: 'FORBIDDEN',
+ message: 'Invalid generation topic',
+ });
+
+ expect(mockTransaction).not.toHaveBeenCalled();
+ expect(mockCreateVideo).not.toHaveBeenCalled();
+ });
+
it('should use polling path when response contains only inferenceId', async () => {
const { mockUpdate } = setupMocks();
mockCreateVideo.mockResolvedValue({ inferenceId: 'inf-2' });
diff --git a/apps/server/src/routers/lambda/agent.ts b/apps/server/src/routers/lambda/agent.ts
index 20eed191ad0..c165e59f8f1 100644
--- a/apps/server/src/routers/lambda/agent.ts
+++ b/apps/server/src/routers/lambda/agent.ts
@@ -81,17 +81,35 @@ export const agentRouter = router({
z.object({
config: CreateAgentSchema.optional(),
groupId: z.string().optional(),
+ visibility: z.enum(['private', 'public']).optional(),
}),
)
.mutation(async ({ input, ctx }) => {
const agent = await ctx.agentModel.create({
...input.config,
sessionGroupId: input.groupId,
+ // Router-level `visibility` wins over any nested config value so the
+ // sidebar's "Create in Private" entry can't be overridden by a stale
+ // default config.
+ ...(input.visibility ? { visibility: input.visibility } : {}),
});
return { agentId: agent.id };
}),
+ /**
+ * Publish a private agent into the workspace. **One-way** — once an agent
+ * is shared, workspace members may already depend on it, so it can't slip
+ * back to `private`. Only the creator of a still-private agent can run
+ * this; the underlying SQL enforces both rules.
+ */
+ publishAgentToWorkspace: agentProcedure
+ .use(withScopedPermission('agent:update'))
+ .input(z.object({ id: z.string() }))
+ .mutation(async ({ input, ctx }) => {
+ return ctx.agentModel.publishToWorkspace(input.id);
+ }),
+
createAgentFiles: agentProcedure
.use(withScopedPermission('agent:update'))
.input(
@@ -269,13 +287,27 @@ export const agentRouter = router({
.input(
z.object({
agentId: z.string(),
+ visibility: z.enum(['private', 'public']).optional(),
}),
)
.query(async ({ ctx, input }): Promise<KnowledgeItem[]> => {
- const knowledgeBases = await ctx.knowledgeBaseModel.query();
+ // Look up the target agent's visibility so we can (a) apply the
+ // "public agent cannot reach caller's private rows" defensive filter
+ // in the model layer, and (b) hard-force `visibility='public'` when
+ // the agent is public — the client tab is a UX aid, not a gate.
+ const agentVisibility = await ctx.agentModel.getAgentVisibility(input.agentId);
+ const effectiveVisibility =
+ agentVisibility === 'public' ? ('public' as const) : input.visibility;
+
+ const knowledgeBases = await ctx.knowledgeBaseModel.query({
+ callerAgentVisibility: agentVisibility,
+ visibility: effectiveVisibility,
+ });
const files = await ctx.fileModel.query({
+ callerAgentVisibility: agentVisibility,
showFilesInKnowledgeBase: false,
+ visibility: effectiveVisibility,
});
const knowledge = await ctx.agentModel.getAgentAssignedKnowledge(input.agentId);
@@ -289,7 +321,9 @@ export const agentRouter = router({
fileType: file.fileType,
id: file.id,
name: file.name,
+ ownerUserId: file.userId,
type: KnowledgeType.File,
+ visibility: file.visibility as 'private' | 'public',
})),
...knowledgeBases.map((knowledgeBase) => ({
avatar: knowledgeBase.avatar,
@@ -297,7 +331,9 @@ export const agentRouter = router({
enabled: knowledge.knowledgeBases.some((item) => item.id === knowledgeBase.id),
id: knowledgeBase.id,
name: knowledgeBase.name,
+ ownerUserId: knowledgeBase.userId,
type: KnowledgeType.KnowledgeBase,
+ visibility: knowledgeBase.visibility,
})),
];
}),
diff --git a/apps/server/src/routers/lambda/agentGroup.ts b/apps/server/src/routers/lambda/agentGroup.ts
index 8fc51e46381..97361228512 100644
--- a/apps/server/src/routers/lambda/agentGroup.ts
+++ b/apps/server/src/routers/lambda/agentGroup.ts
@@ -397,6 +397,17 @@ export const agentGroupRouter = router({
return ctx.chatGroupModel.updateAgentInGroup(input.groupId, input.agentId, input.updates);
}),
+ /**
+ * Publish a private chat group into the workspace. One-way: once shared,
+ * other workspace members may already be using it, so we never let it slip
+ * back to `private`. Restricted to the creator's own still-private group.
+ */
+ publishGroupToWorkspace: agentGroupProcedureWrite
+ .input(z.object({ id: z.string() }))
+ .mutation(async ({ input, ctx }) => {
+ return ctx.chatGroupModel.publishToWorkspace(input.id);
+ }),
+
updateGroup: agentGroupProcedureWrite
.input(
z.object({
diff --git a/apps/server/src/routers/lambda/document.ts b/apps/server/src/routers/lambda/document.ts
index a77d7f47b9e..617e5c79685 100644
--- a/apps/server/src/routers/lambda/document.ts
+++ b/apps/server/src/routers/lambda/document.ts
@@ -58,6 +58,10 @@ export const documentRouter = router({
parentId: z.string().optional(),
slug: z.string().optional(),
title: z.string(),
+ // Workspace-only knob; ignored in personal mode by the model layer.
+ // When omitted: top-level docs default to 'private' (sidebar's primary
+ // entry point), nested docs inherit the parent's visibility.
+ visibility: z.enum(['private', 'public']).optional(),
}),
)
.mutation(async ({ ctx, input }) => {
@@ -93,6 +97,7 @@ export const documentRouter = router({
parentId: z.string().optional(),
slug: z.string().optional(),
title: z.string(),
+ visibility: z.enum(['private', 'public']).optional(),
}),
),
}),
@@ -372,6 +377,19 @@ export const documentRouter = router({
return ctx.documentModel.transferTo(input.documentId, input.targetWorkspaceId, ctx.userId);
}),
+ /**
+ * Publish a private document subtree into the workspace. **One-way** — once
+ * published, other workspace members may already reference the page, so it
+ * can't slip back to `private`. Only the creator can run this; the
+ * underlying SQL enforces both rules.
+ */
+ publishDocumentToWorkspace: documentProcedure
+ .use(withScopedPermission('document:update'))
+ .input(z.object({ id: z.string() }))
+ .mutation(async ({ ctx, input }) => {
+ return ctx.documentService.publishToWorkspace(input.id);
+ }),
+
copyDocumentToWorkspace: documentProcedure
.use(withScopedPermission('document:create'))
.input(
diff --git a/apps/server/src/routers/lambda/file.ts b/apps/server/src/routers/lambda/file.ts
index 7b302f06b82..2a6c841e406 100644
--- a/apps/server/src/routers/lambda/file.ts
+++ b/apps/server/src/routers/lambda/file.ts
@@ -174,6 +174,7 @@ export const fileRouter = router({
UploadFileSchema.omit({ url: true }).extend({
parentId: z.string().optional(),
url: z.string(),
+ visibility: z.enum(['private', 'public']).optional(),
}),
)
.mutation(async ({ ctx, input }) => {
@@ -182,13 +183,29 @@ export const fileRouter = router({
// Resolve parentId if it's a slug
let resolvedParentId = input.parentId;
+ let parentVisibility: 'private' | 'public' | undefined;
if (input.parentId) {
const docBySlug = await ctx.documentModel.findBySlug(input.parentId);
if (docBySlug) {
resolvedParentId = docBySlug.id;
+ parentVisibility = docBySlug.visibility;
+ } else {
+ const docById = await ctx.documentModel.findById(input.parentId);
+ if (docById) parentVisibility = docById.visibility;
}
}
+ // Visibility precedence (workspace mode only — personal mode ignores the
+ // column entirely):
+ // 1. Explicit caller value wins.
+ // 2. Otherwise inherit the parent document's visibility so a file
+ // uploaded inside a private folder stays private.
+ // 3. Otherwise default top-level uploads to 'private' so new content
+ // starts in the creator's private space (mirrors the Pages spec).
+ const resolvedVisibility: 'private' | 'public' | undefined = ctx.workspaceId
+ ? (input.visibility ?? parentVisibility ?? 'private')
+ : undefined;
+
let actualSize = input.size;
try {
const { contentLength } = await ctx.fileService.getFileMetadata(input.url);
@@ -254,6 +271,7 @@ export const fileRouter = router({
parentId: resolvedParentId,
size: actualSize,
url: input.url,
+ ...(resolvedVisibility ? { visibility: resolvedVisibility } : {}),
},
// if the file is not exist in global file, create a new one
!isExist,
@@ -322,6 +340,8 @@ export const fileRouter = router({
sourceType: 'file' as const,
updatedAt: item.updatedAt,
url: await ctx.fileService.getFileAccessUrl(item),
+ userId: item.userId,
+ visibility: item.visibility,
};
}),
@@ -384,20 +404,21 @@ export const fileRouter = router({
const fileItems = filteredItems.filter((item) => item.sourceType === 'file');
const statusMap = await getKnowledgeItemStatusMap(ctx, fileItems);
- // Combine all items with their metadata
- const resultItems = [] as any[];
- for (const item of filteredItems) {
- if (item.sourceType === 'file') {
- const status = statusMap.get(item.id)!;
- resultItems.push({
- ...item,
- editorData: null,
- url: await ctx.fileService.getFileAccessUrl(item),
- ...status,
- } as FileListItem);
- } else {
- // Document item - no chunk processing needed, includes editorData
- const documentItem = {
+ // Resolve file access URLs in parallel: in local dev each call goes through
+ // Redis + a possible S3 presign, so a serial loop stacks up N RTTs on
+ // larger result sets (visible when switching from Private to Workspace).
+ const resultItems = await Promise.all(
+ filteredItems.map(async (item) => {
+ if (item.sourceType === 'file') {
+ const status = statusMap.get(item.id)!;
+ return {
+ ...item,
+ editorData: null,
+ url: await ctx.fileService.getFileAccessUrl(item),
+ ...status,
+ } as FileListItem;
+ }
+ return {
...item,
chunkCount: null,
chunkingError: null,
@@ -406,9 +427,8 @@ export const fileRouter = router({
embeddingStatus: null,
finishEmbedding: false,
} as FileListItem;
- resultItems.push(documentItem);
- }
- }
+ }),
+ );
return {
hasMore,
@@ -685,6 +705,35 @@ export const fileRouter = router({
return { success: true };
}),
+ publishFileToWorkspace: fileProcedure
+ .use(withScopedPermission('file:update'))
+ .input(z.object({ id: z.string() }))
+ .mutation(async ({ ctx, input }) => {
+ // Personal mode has no notion of workspace visibility — publish is only
+ // meaningful inside a team workspace.
+ if (!ctx.workspaceId) {
+ throw new TRPCError({
+ code: 'BAD_REQUEST',
+ message: 'Cannot publish a file outside of a workspace',
+ });
+ }
+
+ const file = await ctx.fileModel.findById(input.id);
+ if (!file) throw new TRPCError({ code: 'NOT_FOUND', message: 'File not found' });
+
+ if (file.userId !== ctx.userId) {
+ throw new TRPCError({
+ code: 'FORBIDDEN',
+ message: 'Only the creator can publish a private file to the workspace',
+ });
+ }
+
+ if (file.visibility === 'public') return { success: true };
+
+ await ctx.fileModel.publishToWorkspace(input.id);
+ return { success: true };
+ }),
+
transferEntity: fileProcedure
.use(withScopedPermission('file:upload'))
.input(
diff --git a/apps/server/src/routers/lambda/generationTopic.ts b/apps/server/src/routers/lambda/generationTopic.ts
index aebf8528bf4..ba69ffc3821 100644
--- a/apps/server/src/routers/lambda/generationTopic.ts
+++ b/apps/server/src/routers/lambda/generationTopic.ts
@@ -39,9 +39,16 @@ const updateTopicCoverSchema = z.object({
export const generationTopicRouter = router({
createTopic: generationTopicProcedure
.use(withScopedPermission('topic:create'))
- .input(z.object({ type: z.enum(['image', 'video']).optional() }).optional())
+ .input(
+ z
+ .object({
+ type: z.enum(['image', 'video']).optional(),
+ visibility: z.enum(['private', 'public']).optional(),
+ })
+ .optional(),
+ )
.mutation(async ({ ctx, input }) => {
- const data = await ctx.generationTopicModel.create('', input?.type);
+ const data = await ctx.generationTopicModel.create('', input?.type, input?.visibility);
return data.id;
}),
deleteTopic: generationTopicProcedure
diff --git a/apps/server/src/routers/lambda/image/index.test.ts b/apps/server/src/routers/lambda/image/index.test.ts
index 6da19c547a7..c2abccfb13e 100644
--- a/apps/server/src/routers/lambda/image/index.test.ts
+++ b/apps/server/src/routers/lambda/image/index.test.ts
@@ -12,6 +12,7 @@ const {
mockAsyncTaskModelUpdate,
mockChargeBeforeGenerate,
mockCreateAsyncCaller,
+ mockGenerationTopicFindById,
mockFindUserById,
mockInsertValues,
mockIsLobeHubModelAvailable,
@@ -25,6 +26,7 @@ const {
mockAsyncTaskModelUpdate: vi.fn(),
mockChargeBeforeGenerate: vi.fn(),
mockCreateAsyncCaller: vi.fn(),
+ mockGenerationTopicFindById: vi.fn(),
mockFindUserById: vi.fn(),
mockInsertValues: [] as unknown[],
mockIsLobeHubModelAvailable: vi.fn(),
@@ -56,6 +58,12 @@ vi.mock('@/database/models/asyncTask', () => ({
})),
}));
+vi.mock('@/database/models/generationTopic', () => ({
+ GenerationTopicModel: vi.fn(() => ({
+ findById: mockGenerationTopicFindById,
+ })),
+}));
+
vi.mock('@/database/models/user', () => ({
UserModel: {
findById: mockFindUserById,
@@ -143,6 +151,7 @@ describe('imageRouter', () => {
mockGetFullFileUrl.mockResolvedValue(null);
mockFindUserById.mockResolvedValue({ email: '[email protected]' });
mockIsLobeHubModelAvailable.mockResolvedValue(true);
+ mockGenerationTopicFindById.mockResolvedValue({ id: 'topic-1' });
// Setup default transaction mock
const mockBatch = {
@@ -242,6 +251,21 @@ describe('imageRouter', () => {
expect(mockCreateAsyncCaller).toHaveBeenCalledWith({ userId: mockUserId });
});
+ it('should reject inaccessible generation topic before charging or creating records', async () => {
+ mockGenerationTopicFindById.mockResolvedValue(undefined);
+
+ const caller = imageRouter.createCaller(createMockCtx({ workspaceId: 'workspace-1' }));
+
+ await expect(caller.createImage(createDefaultInput())).rejects.toMatchObject({
+ code: 'FORBIDDEN',
+ message: 'Invalid generation topic',
+ });
+
+ expect(mockChargeBeforeGenerate).not.toHaveBeenCalled();
+ expect(mockServerDB.transaction).not.toHaveBeenCalled();
+ expect(mockCreateAsyncCaller).not.toHaveBeenCalled();
+ });
+
it('should reject unavailable lobehub image models before creating async tasks', async () => {
mockIsLobeHubModelAvailable.mockResolvedValue(false);
diff --git a/apps/server/src/routers/lambda/image/index.ts b/apps/server/src/routers/lambda/image/index.ts
index 47e0421ed68..f32641747ed 100644
--- a/apps/server/src/routers/lambda/image/index.ts
+++ b/apps/server/src/routers/lambda/image/index.ts
@@ -11,6 +11,7 @@ import { chargeBeforeGenerate } from '@/business/server/image-generation/chargeB
import { withScopedPermission } from '@/business/server/trpc-middlewares/rbacPermission';
import { wsCompatProcedure } from '@/business/server/trpc-middlewares/workspaceAuth';
import { AsyncTaskModel } from '@/database/models/asyncTask';
+import { GenerationTopicModel } from '@/database/models/generationTopic';
import { UserModel } from '@/database/models/user';
import { type NewGeneration, type NewGenerationBatch } from '@/database/schemas';
import { asyncTasks, generationBatches, generations } from '@/database/schemas';
@@ -38,6 +39,7 @@ const imageProcedure = wsCompatProcedure.use(serverDatabase).use(async (opts) =>
ctx: {
asyncTaskModel: new AsyncTaskModel(ctx.serverDB, ctx.userId, wsId),
fileService: new FileService(ctx.serverDB, ctx.userId, wsId),
+ generationTopicModel: new GenerationTopicModel(ctx.serverDB, ctx.userId, wsId),
},
});
});
@@ -67,7 +69,7 @@ export const imageRouter = router({
createImage: imageCreateProcedure
.input(createImageInputSchema)
.mutation(async ({ input, ctx }) => {
- const { userId, serverDB, asyncTaskModel, fileService } = ctx;
+ const { userId, serverDB, asyncTaskModel, fileService, generationTopicModel } = ctx;
const wsId = ctx.workspaceId ?? undefined;
const { generationTopicId, provider, model, imageNum, params } = input;
@@ -167,6 +169,11 @@ export const imageRouter = router({
// Defensive check: ensure no full URLs enter the database
validateNoUrlsInConfig(configForDatabase, 'configForDatabase');
+ const generationTopic = await generationTopicModel.findById(generationTopicId);
+ if (!generationTopic) {
+ throw new TRPCError({ code: 'FORBIDDEN', message: 'Invalid generation topic' });
+ }
+
const chargeResult = await chargeBeforeGenerate({
clientIp: ctx.clientIp,
configForDatabase,
diff --git a/apps/server/src/routers/lambda/knowledgeBase.ts b/apps/server/src/routers/lambda/knowledgeBase.ts
index 1bd75ea00e4..21ff7a03c17 100644
--- a/apps/server/src/routers/lambda/knowledgeBase.ts
+++ b/apps/server/src/routers/lambda/knowledgeBase.ts
@@ -55,6 +55,7 @@ export const knowledgeBaseRouter = router({
avatar: z.string().optional(),
description: z.string().optional(),
name: z.string(),
+ visibility: z.enum(['private', 'public']).optional(),
}),
)
.mutation(async ({ input, ctx }) => {
@@ -62,6 +63,7 @@ export const knowledgeBaseRouter = router({
avatar: input.avatar,
description: input.description,
name: input.name,
+ visibility: input.visibility,
});
return data?.id;
@@ -122,9 +124,44 @@ export const knowledgeBaseRouter = router({
return ctx.knowledgeBaseModel.findById(input.id);
}),
- getKnowledgeBases: knowledgeBaseProcedure.query(async ({ ctx }): Promise<KnowledgeBaseItem[]> => {
- return ctx.knowledgeBaseModel.query();
- }),
+ getKnowledgeBases: knowledgeBaseProcedure
+ .input(
+ z
+ .object({
+ visibility: z.enum(['private', 'public']).optional(),
+ })
+ .optional(),
+ )
+ .query(async ({ ctx, input }): Promise<KnowledgeBaseItem[]> => {
+ return ctx.knowledgeBaseModel.query({ visibility: input?.visibility });
+ }),
+
+ publishKnowledgeBaseToWorkspace: knowledgeBaseProcedure
+ .use(withScopedPermission('knowledge_base:update'))
+ .input(z.object({ id: z.string() }))
+ .mutation(async ({ ctx, input }) => {
+ if (!ctx.workspaceId) {
+ throw new TRPCError({
+ code: 'BAD_REQUEST',
+ message: 'Cannot publish a knowledge base outside of a workspace',
+ });
+ }
+
+ const kb = await ctx.knowledgeBaseModel.findById(input.id);
+ if (!kb) throw new TRPCError({ code: 'NOT_FOUND', message: 'Knowledge base not found' });
+
+ if (kb.userId !== ctx.userId) {
+ throw new TRPCError({
+ code: 'FORBIDDEN',
+ message: 'Only the creator can publish a private knowledge base to the workspace',
+ });
+ }
+
+ if (kb.visibility === 'public') return { success: true };
+
+ await ctx.knowledgeBaseModel.publishToWorkspace(input.id);
+ return { success: true };
+ }),
removeAllKnowledgeBases: knowledgeBaseProcedure
.use(withScopedPermission('knowledge_base:delete'))
diff --git a/apps/server/src/routers/lambda/sessionGroup.ts b/apps/server/src/routers/lambda/sessionGroup.ts
index ce61df6b7cb..57c11cacedd 100644
--- a/apps/server/src/routers/lambda/sessionGroup.ts
+++ b/apps/server/src/routers/lambda/sessionGroup.ts
@@ -26,17 +26,31 @@ export const sessionGroupRouter = router({
z.object({
name: z.string(),
sort: z.number().optional(),
+ visibility: z.enum(['private', 'public']).optional(),
}),
)
.mutation(async ({ input, ctx }) => {
const data = await ctx.sessionGroupModel.create({
name: input.name,
sort: input.sort,
+ ...(input.visibility ? { visibility: input.visibility } : {}),
});
return data?.id;
}),
+ /**
+ * Publish a private folder into the workspace. One-way — mirrors the
+ * agent/chatGroup rule: once shared, other members may have anchored their
+ * own work to it, so we never re-privatize.
+ */
+ publishSessionGroupToWorkspace: sessionProcedure
+ .use(withScopedPermission('session_group:update'))
+ .input(z.object({ id: z.string() }))
+ .mutation(async ({ input, ctx }) => {
+ return ctx.sessionGroupModel.publishToWorkspace(input.id);
+ }),
+
getSessionGroup: sessionProcedure.query(async ({ ctx }): Promise<SessionGroupItem[]> => {
return ctx.sessionGroupModel.query() as any;
}),
diff --git a/apps/server/src/routers/lambda/task.ts b/apps/server/src/routers/lambda/task.ts
index ed9943f4465..989e8f79e18 100644
--- a/apps/server/src/routers/lambda/task.ts
+++ b/apps/server/src/routers/lambda/task.ts
@@ -12,6 +12,8 @@ import { TaskModel } from '@/database/models/task';
import { TaskTopicModel } from '@/database/models/taskTopic';
import { TopicModel } from '@/database/models/topic';
import { workspaceMembers } from '@/database/schemas';
+import type { LobeChatDatabase } from '@/database/type';
+import { assertAgentUsableBy } from '@/database/utils/agent-access';
import { router } from '@/libs/trpc/lambda';
import { serverDatabase } from '@/libs/trpc/lambda/middleware';
import { EditLockService } from '@/server/services/editLock';
@@ -65,6 +67,10 @@ const createSchema = z.object({
priority: z.number().min(0).max(4).optional(),
schedulePattern: z.string().optional(),
scheduleTimezone: z.string().optional(),
+ // When omitted, the server derives visibility from the parent task or the
+ // assignee agent's visibility (private agent → private task). UI surfaces
+ // such as the top-level "Tasks" create form pass it explicitly.
+ visibility: z.enum(['private', 'public']).optional(),
});
const updateSchema = z.object({
@@ -102,6 +108,10 @@ const listSchema = z.object({
parentTaskId: z.string().nullish(),
priorities: z.array(z.number().min(0).max(4)).max(5).optional(),
statuses: z.array(z.enum(TASK_STATUSES)).max(10).optional(),
+ // UI-side narrowing of the result set. Omitted means "All" (the chip's
+ // default 'private' is enforced client-side; the server stays permissive
+ // so router tests / external callers don't have to know the chip).
+ visibility: z.enum(['private', 'public']).optional(),
});
const groupListSchema = z.object({
@@ -118,6 +128,7 @@ const groupListSchema = z.object({
.min(1)
.max(10),
parentTaskId: z.string().nullish(),
+ visibility: z.enum(['private', 'public']).optional(),
});
// Helper: resolve id/identifier and throw if not found
@@ -128,17 +139,23 @@ async function resolveOrThrow(model: TaskModel, id: string) {
}
async function assertAssigneeAgentBelongsToUser(
- model: AgentModel,
+ db: LobeChatDatabase,
+ callerCtx: { userId: string; workspaceId?: string },
assigneeAgentId?: string | null,
) {
if (!assigneeAgentId) return;
- const exists = await model.existsById(assigneeAgentId);
- if (!exists) {
- throw new TRPCError({
- code: 'BAD_REQUEST',
- message: 'Assignee agent not found',
- });
+ try {
+ await assertAgentUsableBy(db, assigneeAgentId, callerCtx);
+ } catch (error) {
+ if (error instanceof TRPCError && error.code === 'NOT_FOUND') {
+ // Preserve the task-context message so the UI surfaces "Assignee agent
+ // not found" instead of the generic "Agent not found". Cross-user access
+ // to a private agent still resolves to NOT_FOUND, never FORBIDDEN, so we
+ // don't leak existence of someone else's private agent.
+ throw new TRPCError({ code: 'NOT_FOUND', message: 'Assignee agent not found' });
+ }
+ throw error;
}
}
@@ -237,7 +254,11 @@ export const taskRouter = router({
try {
const model = ctx.taskModel;
const task = await resolveOrThrow(model, input.id);
- await assertAssigneeAgentBelongsToUser(ctx.agentModel, input.authorAgentId);
+ await assertAssigneeAgentBelongsToUser(
+ ctx.serverDB,
+ { userId: ctx.userId, workspaceId: ctx.workspaceId ?? undefined },
+ input.authorAgentId,
+ );
const comment = await model.addComment({
authorAgentId: input.authorAgentId,
authorUserId: input.authorAgentId ? undefined : ctx.userId,
@@ -985,7 +1006,11 @@ export const taskRouter = router({
const { id, parentTaskId, ...data } = input;
try {
const model = ctx.taskModel;
- await assertAssigneeAgentBelongsToUser(ctx.agentModel, data.assigneeAgentId);
+ await assertAssigneeAgentBelongsToUser(
+ ctx.serverDB,
+ { userId: ctx.userId, workspaceId: ctx.workspaceId ?? undefined },
+ data.assigneeAgentId,
+ );
const resolved = await resolveOrThrow(model, id);
// Collaborative edit lock: reject writes to a workspace task another member
@@ -1001,10 +1026,28 @@ export const taskRouter = router({
}
}
+ // Reject changing the assignee to a private agent on a public task —
+ // visibility invariant from LOBE-10961. `undefined` means "no change";
+ // `null` clears the assignee and is always safe.
+ if (data.assigneeAgentId) {
+ const agentVisibility = await ctx.agentModel.getAgentVisibility(data.assigneeAgentId);
+ ctx.taskService.assertAgentVisibilityCompat(resolved.visibility, agentVisibility);
+ }
+
const resolvedParentTaskId =
parentTaskId === undefined
? undefined
: await resolveSafeParentTaskId(model, resolved.id, parentTaskId);
+
+ // Reparenting a public task under a private one breaks the parent
+ // visibility invariant from LOBE-10962 #3 — workspace members would
+ // still see the child while its new parent is hidden. `undefined`
+ // means "no change"; `null` clears the parent and is always safe.
+ if (resolvedParentTaskId) {
+ const newParent = await model.findById(resolvedParentTaskId);
+ ctx.taskService.assertParentVisibilityCompat(resolved.visibility, newParent?.visibility);
+ }
+
const updateData =
parentTaskId === undefined ? data : { ...data, parentTaskId: resolvedParentTaskId };
const task = await model.update(resolved.id, updateData);
@@ -1021,6 +1064,98 @@ export const taskRouter = router({
}
}),
+ updateVisibility: taskProcedureWrite
+ .input(idInput.merge(z.object({ visibility: z.enum(['private', 'public']) })))
+ .mutation(async ({ input, ctx }) => {
+ try {
+ const resolved = await resolveOrThrow(ctx.taskModel, input.id);
+
+ // Visibility is a one-way commitment: once a task is published to the
+ // workspace, retracting it back to private would yank a resource other
+ // members may already be running, referencing, or commenting on. The
+ // product surface enforces this via a "Publish to Workspace" action
+ // that has no inverse — any caller asking for public→private here is
+ // either a stale UI path or a direct API client and should be rejected.
+ // Placed before the edit-lock check because the invariant is schema-
+ // level, not concurrency-level: there is no legitimate "wait for the
+ // lock and try again" outcome.
+ if (resolved.visibility === 'public' && input.visibility === 'private') {
+ throw new TRPCError({
+ code: 'BAD_REQUEST',
+ message: 'Task visibility cannot be reverted from public to private',
+ });
+ }
+
+ // Mirror the edit-lock contract from `update`: reject visibility flips
+ // while another workspace member is actively editing this task. Without
+ // this check a collaborator could silently retitle a private task to
+ // public (or vice versa) while you're mid-edit. LOBE-10962 #1.
+ if (ctx.workspaceId) {
+ const blockedBy = await ctx.editLockService.getBlockingHolder('task', resolved.id);
+ if (blockedBy) {
+ throw new TRPCError({
+ cause: { data: { code: 'DocumentLocked' } },
+ code: 'CONFLICT',
+ message: 'Task is being edited by another user',
+ });
+ }
+ }
+
+ // Owner can always change visibility on their own tasks. In workspace
+ // mode, allow workspace owners to override (mirrors the transferTask
+ // policy at line ~1166): only they can change visibility on tasks
+ // created by other members.
+ if (ctx.workspaceId && resolved.createdByUserId !== ctx.userId) {
+ const [membership] = await ctx.serverDB
+ .select({ role: workspaceMembers.role })
+ .from(workspaceMembers)
+ .where(
+ and(
+ eq(workspaceMembers.workspaceId, ctx.workspaceId),
+ eq(workspaceMembers.userId, ctx.userId),
+ isNull(workspaceMembers.deletedAt),
+ ),
+ )
+ .limit(1);
+ if (!membership || membership.role !== 'owner') {
+ throw new TRPCError({
+ code: 'FORBIDDEN',
+ message: 'Only the task creator or workspace owner can change visibility',
+ });
+ }
+ }
+
+ // Promoting a task to public while a private agent is its assignee
+ // breaks the visibility invariant from LOBE-10961. Reject early —
+ // the user should reassign first, then promote.
+ if (input.visibility === 'public' && resolved.assigneeAgentId) {
+ const agentVisibility = await ctx.agentModel.getAgentVisibility(resolved.assigneeAgentId);
+ ctx.taskService.assertAgentVisibilityCompat(input.visibility, agentVisibility);
+ }
+
+ // Promoting a subtask to public while its parent is still private
+ // would orphan the child in the workspace view (LOBE-10962 #3). The
+ // user must promote the parent chain first, or keep the subtask
+ // private.
+ if (input.visibility === 'public' && resolved.parentTaskId) {
+ const parent = await ctx.taskModel.findById(resolved.parentTaskId);
+ ctx.taskService.assertParentVisibilityCompat(input.visibility, parent?.visibility);
+ }
+
+ const updated = await ctx.taskModel.updateVisibility(resolved.id, input.visibility);
+ if (!updated) throw new TRPCError({ code: 'NOT_FOUND', message: 'Task not found' });
+ return { data: updated, message: 'Task visibility updated', success: true };
+ } catch (error) {
+ if (error instanceof TRPCError) throw error;
+ console.error('[task:updateVisibility]', error);
+ throw new TRPCError({
+ cause: error,
+ code: 'INTERNAL_SERVER_ERROR',
+ message: 'Failed to update task visibility',
+ });
+ }
+ }),
+
acquireTaskLock: taskProcedureWrite.input(idInput).mutation(async ({ ctx, input }) => {
if (!ctx.workspaceId) return { expiresAt: null, holderId: null, lockedByOther: false };
const resolved = await resolveOrThrow(ctx.taskModel, input.id);
diff --git a/apps/server/src/routers/lambda/video/index.ts b/apps/server/src/routers/lambda/video/index.ts
index 0b695ae8f00..2a83909d484 100644
--- a/apps/server/src/routers/lambda/video/index.ts
+++ b/apps/server/src/routers/lambda/video/index.ts
@@ -20,6 +20,7 @@ import { chargeAfterGenerate } from '@/business/server/video-generation/chargeAf
import { chargeBeforeGenerate } from '@/business/server/video-generation/chargeBeforeGenerate';
import { getVideoFreeQuota } from '@/business/server/video-generation/getVideoFreeQuota';
import { AsyncTaskModel } from '@/database/models/asyncTask';
+import { GenerationTopicModel } from '@/database/models/generationTopic';
import { UserModel } from '@/database/models/user';
import {
asyncTasks,
@@ -49,6 +50,7 @@ const videoProcedure = wsCompatProcedure.use(serverDatabase).use(async (opts) =>
ctx: {
asyncTaskModel: new AsyncTaskModel(ctx.serverDB, ctx.userId, wsId),
fileService: new FileService(ctx.serverDB, ctx.userId, wsId),
+ generationTopicModel: new GenerationTopicModel(ctx.serverDB, ctx.userId, wsId),
},
});
});
@@ -79,7 +81,7 @@ export const videoRouter = router({
createVideo: videoCreateProcedure
.input(createVideoInputSchema)
.mutation(async ({ input, ctx }) => {
- const { userId, serverDB, asyncTaskModel, fileService } = ctx;
+ const { userId, serverDB, asyncTaskModel, fileService, generationTopicModel } = ctx;
const wsId = ctx.workspaceId ?? undefined;
const { generationTopicId, provider, model, params } = input;
@@ -163,6 +165,11 @@ export const videoRouter = router({
}
// Step 0: Pre-charge (atomic budget deduction to prevent concurrent abuse)
+ const generationTopic = await generationTopicModel.findById(generationTopicId);
+ if (!generationTopic) {
+ throw new TRPCError({ code: 'FORBIDDEN', message: 'Invalid generation topic' });
+ }
+
const { errorBatch, prechargeResult } = await chargeBeforeGenerate({
generationTopicId,
model,
diff --git a/apps/server/src/services/agentDocuments/index.ts b/apps/server/src/services/agentDocuments/index.ts
index 52d105c4d38..60871edc4fe 100644
--- a/apps/server/src/services/agentDocuments/index.ts
+++ b/apps/server/src/services/agentDocuments/index.ts
@@ -144,9 +144,17 @@ export class AgentDocumentsService {
private documentService: DocumentService;
private topicDocumentModel: TopicDocumentModel;
- constructor(db: LobeChatDatabase, userId: string, workspaceId?: string) {
+ constructor(
+ db: LobeChatDatabase,
+ userId: string,
+ workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
+ ) {
this.agentDocumentModel = new AgentDocumentModel(db, userId, workspaceId);
- this.documentService = new DocumentService(db, userId, workspaceId);
+ // Public-agent gate flows through DocumentService → DocumentModel so
+ // agentDocuments list / attach / read cannot see the caller's own
+ // private documents when the invoking agent itself is workspace-public.
+ this.documentService = new DocumentService(db, userId, workspaceId, callerAgentVisibility);
this.topicDocumentModel = new TopicDocumentModel(db, userId, workspaceId);
}
diff --git a/apps/server/src/services/agentSignal/emitter.ts b/apps/server/src/services/agentSignal/emitter.ts
index c064d277968..6c87d5fb26a 100644
--- a/apps/server/src/services/agentSignal/emitter.ts
+++ b/apps/server/src/services/agentSignal/emitter.ts
@@ -15,6 +15,7 @@ import debug from 'debug';
import { getServerDB } from '@/database/server';
import type { LobeChatDatabase } from '@/database/type';
+import { assertAgentUsableBy } from '@/database/utils/agent-access';
import { AgentSignalWorkflow } from '@/server/workflows/agentSignal';
import { isAgentSignalEnabledForUser } from './featureGate';
@@ -146,6 +147,18 @@ export const enqueueAgentSignalSourceEvent = async <TSourceType extends AgentSig
): Promise<QueuedAgentSignalEmissionResult> => {
const db = await getServerDB();
+ // Reject signals targeting an agent the caller can't use. Source events from
+ // user-facing TRPC routes (`emitSourceEvent` / `triggerSourceEvent`) accept a
+ // free-form `agentId`; without this gate a workspace member could enqueue
+ // events against another user's private agent. Server-internal callers always
+ // pass an agentId the user owns, so the check is a no-op for them.
+ if (context.agentId) {
+ await assertAgentUsableBy(db, context.agentId, {
+ userId: context.userId,
+ workspaceId: context.workspaceId,
+ });
+ }
+
if (!(await isAgentSignalEnabledForUser(db, context.userId))) {
return {
accepted: false,
diff --git a/apps/server/src/services/aiAgent/index.ts b/apps/server/src/services/aiAgent/index.ts
index c944ed07a03..1235246cfd4 100644
--- a/apps/server/src/services/aiAgent/index.ts
+++ b/apps/server/src/services/aiAgent/index.ts
@@ -46,6 +46,7 @@ import type {
} from '@lobechat/types';
import { buildHeteroExecArgs, RequestTrigger, ThreadStatus, ThreadType } from '@lobechat/types';
import { nanoid } from '@lobechat/utils';
+import { TRPCError } from '@trpc/server';
import debug from 'debug';
import { AgentModel } from '@/database/models/agent';
@@ -972,7 +973,12 @@ export class AiAgentService {
agentConfig = await this.agentService.getAgentConfig(identifier);
}
if (!agentConfig) {
- throw new Error(`Agent not found: ${identifier}`);
+ // `agentService.getAgentConfig` already routes through `AgentModel`'s
+ // workspace + visibility ownership predicate, so a cross-user private
+ // agent resolves to null here. Surface that as NOT_FOUND (not a generic
+ // 500) so callers — chat, bot, cron task, sub-agent, REST — return a
+ // uniform 404 and we never leak whether the id exists for another user.
+ throw new TRPCError({ code: 'NOT_FOUND', message: `Agent not found: ${identifier}` });
}
// Use actual agent ID from config for subsequent operations
diff --git a/apps/server/src/services/document/__tests__/index.test.ts b/apps/server/src/services/document/__tests__/index.test.ts
index 42d61e994b8..bd0d20cd8df 100644
--- a/apps/server/src/services/document/__tests__/index.test.ts
+++ b/apps/server/src/services/document/__tests__/index.test.ts
@@ -313,6 +313,100 @@ describe('DocumentService', () => {
}),
);
});
+
+ describe('workspace visibility propagation to KB mirror file', () => {
+ const workspaceId = 'workspace-1';
+
+ beforeEach(() => {
+ service = new DocumentService(mockDb, userId, workspaceId);
+ mockFileModel.create.mockResolvedValue({ id: 'file-1' });
+ mockDocumentModel.create.mockResolvedValue({ id: 'doc-1' });
+ });
+
+ it('propagates explicit private visibility to the KB mirror file', async () => {
+ await service.createDocument({
+ title: 'Private Doc',
+ editorData: {},
+ knowledgeBaseId: 'kb-1',
+ visibility: 'private',
+ });
+
+ expect(mockFileModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ false,
+ );
+ expect(mockDocumentModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ );
+ });
+
+ it('defaults top-level KB documents to private in workspace mode', async () => {
+ await service.createDocument({
+ title: 'Draft',
+ editorData: {},
+ knowledgeBaseId: 'kb-1',
+ });
+
+ expect(mockFileModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ false,
+ );
+ expect(mockDocumentModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ );
+ });
+
+ it('inherits parent visibility when parentId is set', async () => {
+ mockDocumentModel.findById.mockResolvedValue({ id: 'parent-1', visibility: 'public' });
+
+ await service.createDocument({
+ title: 'Child',
+ editorData: {},
+ knowledgeBaseId: 'kb-1',
+ parentId: 'parent-1',
+ });
+
+ expect(mockDocumentModel.findById).toHaveBeenCalledWith('parent-1');
+ expect(mockFileModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'public' }),
+ false,
+ );
+ expect(mockDocumentModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'public' }),
+ );
+ });
+
+ it('falls back to private when parent lookup returns nothing', async () => {
+ mockDocumentModel.findById.mockResolvedValue(undefined);
+
+ await service.createDocument({
+ title: 'Orphaned Child',
+ editorData: {},
+ knowledgeBaseId: 'kb-1',
+ parentId: 'missing-parent',
+ });
+
+ expect(mockFileModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ false,
+ );
+ });
+ });
+
+ it('omits visibility on the KB mirror file in personal mode', async () => {
+ mockFileModel.create.mockResolvedValue({ id: 'file-1' });
+ mockDocumentModel.create.mockResolvedValue({ id: 'doc-1' });
+
+ await service.createDocument({
+ title: 'Personal Doc',
+ editorData: {},
+ knowledgeBaseId: 'kb-1',
+ });
+
+ const fileCall = mockFileModel.create.mock.calls[0]?.[0];
+ expect(fileCall).toBeDefined();
+ expect(fileCall).not.toHaveProperty('visibility');
+ });
});
describe('createDocuments', () => {
diff --git a/apps/server/src/services/document/index.ts b/apps/server/src/services/document/index.ts
index 0302aef1181..0f6d6183108 100644
--- a/apps/server/src/services/document/index.ts
+++ b/apps/server/src/services/document/index.ts
@@ -57,15 +57,22 @@ export class DocumentService {
private fileServiceInstance?: FileService;
private editLockService: EditLockService;
private db: LobeChatDatabase;
+ private callerAgentVisibility?: 'private' | 'public' | null;
private workspaceId?: string;
- constructor(db: LobeChatDatabase, userId: string, workspaceId?: string) {
+ constructor(
+ db: LobeChatDatabase,
+ userId: string,
+ workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
+ ) {
this.userId = userId;
this.db = db;
this.workspaceId = workspaceId;
+ this.callerAgentVisibility = callerAgentVisibility;
this.fileModel = new FileModel(db, userId, workspaceId);
- this.documentModel = new DocumentModel(db, userId, workspaceId);
+ this.documentModel = new DocumentModel(db, userId, workspaceId, callerAgentVisibility);
this.editLockService = new EditLockService(userId);
}
@@ -105,6 +112,7 @@ export class DocumentService {
rawData?: string;
slug?: string;
title: string;
+ visibility?: 'private' | 'public';
}): Promise<DocumentItem> {
const {
content,
@@ -115,12 +123,28 @@ export class DocumentService {
knowledgeBaseId,
parentId,
slug,
+ visibility,
} = params;
// Calculate character and line counts
const totalCharCount = content?.length || 0;
const totalLineCount = content?.split('\n').length || 0;
+ // Resolve visibility upfront so the KB mirror file inherits the same
+ // visibility as the document. Mirrors DocumentModel.create semantics:
+ // explicit → parent inheritance → top-level sourceType:'api' default
+ // ('private'). Personal mode (no workspaceId) leaves it undefined —
+ // the ownership filter ignores the column there.
+ let resolvedVisibility: 'private' | 'public' | undefined = visibility;
+ if (!resolvedVisibility && this.workspaceId) {
+ if (parentId) {
+ const parent = await this.documentModel.findById(parentId);
+ resolvedVisibility = parent?.visibility ?? 'private';
+ } else {
+ resolvedVisibility = 'private';
+ }
+ }
+
let fileId: string | null = null;
// If creating in a knowledge base, create a corresponding file record
@@ -135,6 +159,7 @@ export class DocumentService {
parentId,
size: totalCharCount,
url: `internal://document/placeholder`, // Placeholder URL
+ ...(resolvedVisibility ? { visibility: resolvedVisibility } : {}),
},
false, // Do not insert to global files
);
@@ -163,11 +188,31 @@ export class DocumentService {
title,
totalCharCount,
totalLineCount,
+ ...(resolvedVisibility ? { visibility: resolvedVisibility } : {}),
});
return document;
}
+ /**
+ * Publish a private document subtree to the workspace. Thin wrapper around
+ * `DocumentModel.publishToWorkspace`, with a side-effect notification so any
+ * other workspace member with the page open (referencing chip, etc.) sees
+ * the new visibility on the next refresh.
+ */
+ async publishToWorkspace(documentId: string): Promise<{ documentIds: string[] }> {
+ const result = await this.documentModel.publishToWorkspace(documentId);
+
+ if (this.workspaceId) {
+ void publishResourceEvent(
+ { id: documentId, type: 'document' },
+ { actorId: this.userId, type: 'doc.updated' },
+ );
+ }
+
+ return result;
+ }
+
/**
* Create multiple documents in batch (optimized for folder creation)
* Returns array of created documents with same order as input
@@ -182,6 +227,7 @@ export class DocumentService {
parentId?: string;
slug?: string;
title: string;
+ visibility?: 'private' | 'public';
}>,
): Promise<DocumentItem[]> {
// Create all documents in parallel for better performance
@@ -508,7 +554,12 @@ export class DocumentService {
let changed = false;
const result = await this.db.transaction(async (tx) => {
const transactionDb = tx as unknown as LobeChatDatabase;
- const documentModel = new DocumentModel(transactionDb, this.userId, this.workspaceId);
+ const documentModel = new DocumentModel(
+ transactionDb,
+ this.userId,
+ this.workspaceId,
+ this.callerAgentVisibility,
+ );
const fileModel = new FileModel(transactionDb, this.userId, this.workspaceId);
const documentHistoryService = new DocumentHistoryService(
transactionDb,
diff --git a/apps/server/src/services/knowledgeBase/index.ts b/apps/server/src/services/knowledgeBase/index.ts
index e03f91ab473..c2ba8e4ccad 100644
--- a/apps/server/src/services/knowledgeBase/index.ts
+++ b/apps/server/src/services/knowledgeBase/index.ts
@@ -89,15 +89,27 @@ export class KnowledgeBaseSearchService {
private fileModel: FileModel;
private searchRepo: SearchRepo;
private documentServiceInstance?: DocumentService;
+ private callerAgentVisibility?: 'private' | 'public' | null;
private workspaceId?: string;
- constructor(serverDB: LobeChatDatabase, userId: string, workspaceId?: string) {
+ constructor(
+ serverDB: LobeChatDatabase,
+ userId: string,
+ workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
+ ) {
this.serverDB = serverDB;
this.userId = userId;
this.workspaceId = workspaceId;
+ this.callerAgentVisibility = callerAgentVisibility;
this.chunkModel = new ChunkModel(serverDB, userId, workspaceId);
- this.documentModel = new DocumentModel(serverDB, userId, workspaceId);
+ // Public-agent gate: `documentModel.ownership()` excludes caller-private
+ // rows, so a workspace-shared agent cannot resolve chunks back to a
+ // private document body. Chunks themselves don't yet have a visibility
+ // mirror (spec §2.3 defers that migration), so the doc-layer gate is the
+ // enforcement point today.
+ this.documentModel = new DocumentModel(serverDB, userId, workspaceId, callerAgentVisibility);
this.fileModel = new FileModel(serverDB, userId, workspaceId);
this.searchRepo = new SearchRepo(serverDB, userId, workspaceId);
}
@@ -107,6 +119,7 @@ export class KnowledgeBaseSearchService {
this.serverDB,
this.userId,
this.workspaceId,
+ this.callerAgentVisibility,
);
return this.documentServiceInstance;
}
diff --git a/apps/server/src/services/notebook/index.ts b/apps/server/src/services/notebook/index.ts
index 0ac6a774b67..bc904aaf336 100644
--- a/apps/server/src/services/notebook/index.ts
+++ b/apps/server/src/services/notebook/index.ts
@@ -19,6 +19,12 @@ interface DocumentServiceResult {
}
export interface NotebookRuntimeServiceOptions {
+ /**
+ * Visibility of the agent that triggered this notebook side-effect. When
+ * set, newly-created documents inherit it so private-agent output lands in
+ * the caller's private Pages bucket rather than the workspace bucket.
+ */
+ callerAgentVisibility?: 'private' | 'public' | null;
serverDB: LobeChatDatabase;
userId: string;
workspaceId?: string;
@@ -52,14 +58,22 @@ export class NotebookRuntimeService {
private documentService: DocumentService;
private documentModel: DocumentModel;
private topicDocumentModel: TopicDocumentModel;
+ private callerAgentVisibility?: 'private' | 'public' | null;
constructor(options: NotebookRuntimeServiceOptions) {
+ this.callerAgentVisibility = options.callerAgentVisibility;
this.documentService = new DocumentService(
options.serverDB,
options.userId,
options.workspaceId,
+ options.callerAgentVisibility,
+ );
+ this.documentModel = new DocumentModel(
+ options.serverDB,
+ options.userId,
+ options.workspaceId,
+ options.callerAgentVisibility,
);
- this.documentModel = new DocumentModel(options.serverDB, options.userId, options.workspaceId);
this.topicDocumentModel = new TopicDocumentModel(
options.serverDB,
options.userId,
@@ -80,7 +94,12 @@ export class NotebookRuntimeService {
totalCharCount: number;
totalLineCount: number;
}): Promise<DocumentServiceResult> => {
- const doc = await this.documentModel.create(params);
+ const doc = await this.documentModel.create({
+ ...params,
+ ...(this.callerAgentVisibility === 'private' || this.callerAgentVisibility === 'public'
+ ? { visibility: this.callerAgentVisibility }
+ : {}),
+ });
return toServiceResult(doc);
};
diff --git a/apps/server/src/services/task/index.test.ts b/apps/server/src/services/task/index.test.ts
index 6503663ad4e..52a545e510a 100644
--- a/apps/server/src/services/task/index.test.ts
+++ b/apps/server/src/services/task/index.test.ts
@@ -50,10 +50,17 @@ describe('TaskService', () => {
const userId = 'user-1';
const mockAgentModel = {
+ existsById: vi.fn().mockResolvedValue(true),
getAgentAvatarsByIds: vi.fn().mockResolvedValue([]),
+ getAgentModelConfig: vi.fn().mockResolvedValue(null),
+ getAgentSnapshotForTaskCreate: vi
+ .fn()
+ .mockResolvedValue({ snapshot: null, visibility: 'public' }),
+ getAgentVisibility: vi.fn().mockResolvedValue('public'),
};
const mockTaskModel = {
+ create: vi.fn(),
findById: vi.fn(),
findByIds: vi.fn(),
findAllDescendants: vi.fn(),
@@ -1546,4 +1553,135 @@ describe('TaskService', () => {
expect(mockTaskModel.updateContext).toHaveBeenCalledTimes(1);
});
});
+
+ describe('agent ↔ task visibility compat (LOBE-10961)', () => {
+ beforeEach(() => {
+ mockTaskModel.create.mockImplementation(async (data: any) => ({
+ ...data,
+ id: 'task_test',
+ identifier: 'T-1',
+ seq: 1,
+ }));
+ });
+
+ it('rejects creating a public task with a private agent', async () => {
+ mockAgentModel.existsById.mockResolvedValue(true);
+ mockAgentModel.getAgentSnapshotForTaskCreate.mockResolvedValue({
+ snapshot: null,
+ visibility: 'private',
+ });
+
+ const service = new TaskService(db, userId, 'ws-1');
+ await expect(
+ service.createTask({
+ assigneeAgentId: 'agent-private',
+ instruction: 'do something',
+ visibility: 'public',
+ }),
+ ).rejects.toThrow(/public task cannot be assigned to a private agent/i);
+ expect(mockTaskModel.create).not.toHaveBeenCalled();
+ });
+
+ it('allows creating a private task with a public agent', async () => {
+ mockAgentModel.existsById.mockResolvedValue(true);
+ mockAgentModel.getAgentSnapshotForTaskCreate.mockResolvedValue({
+ snapshot: null,
+ visibility: 'public',
+ });
+
+ const service = new TaskService(db, userId, 'ws-1');
+ await service.createTask({
+ assigneeAgentId: 'agent-public',
+ instruction: 'do something private',
+ visibility: 'private',
+ });
+ expect(mockTaskModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ );
+ });
+
+ it('infers private visibility from a private agent when caller omits it', async () => {
+ mockAgentModel.existsById.mockResolvedValue(true);
+ mockAgentModel.getAgentSnapshotForTaskCreate.mockResolvedValue({
+ snapshot: null,
+ visibility: 'private',
+ });
+
+ const service = new TaskService(db, userId, 'ws-1');
+ await service.createTask({
+ assigneeAgentId: 'agent-private',
+ instruction: 'do something',
+ });
+ expect(mockTaskModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ );
+ });
+
+ it('assertAgentVisibilityCompat allows null agent (no assignee)', () => {
+ const service = new TaskService(db, userId, 'ws-1');
+ expect(() => service.assertAgentVisibilityCompat('public', null)).not.toThrow();
+ });
+
+ it('assertAgentVisibilityCompat allows private task + private agent', () => {
+ const service = new TaskService(db, userId, 'ws-1');
+ expect(() => service.assertAgentVisibilityCompat('private', 'private')).not.toThrow();
+ });
+ });
+
+ describe('parent ↔ child visibility compat (LOBE-10962 #3)', () => {
+ beforeEach(() => {
+ mockTaskModel.create.mockImplementation(async (data: any) => ({
+ ...data,
+ id: 'task_test',
+ identifier: 'T-2',
+ seq: 2,
+ }));
+ });
+
+ it('rejects creating a public subtask under a private parent', async () => {
+ mockTaskModel.resolve.mockResolvedValue({
+ id: 'parent_id',
+ identifier: 'T-1',
+ visibility: 'private',
+ });
+
+ const service = new TaskService(db, userId, 'ws-1');
+ await expect(
+ service.createTask({
+ instruction: 'leak attempt',
+ parentTaskId: 'T-1',
+ visibility: 'public',
+ }),
+ ).rejects.toThrow(/subtask cannot be more public than its parent/i);
+ expect(mockTaskModel.create).not.toHaveBeenCalled();
+ });
+
+ it('allows a private subtask under a public parent', async () => {
+ mockTaskModel.resolve.mockResolvedValue({
+ id: 'parent_id',
+ identifier: 'T-1',
+ visibility: 'public',
+ });
+
+ const service = new TaskService(db, userId, 'ws-1');
+ await service.createTask({
+ instruction: 'narrower scope',
+ parentTaskId: 'T-1',
+ visibility: 'private',
+ });
+ expect(mockTaskModel.create).toHaveBeenCalledWith(
+ expect.objectContaining({ visibility: 'private' }),
+ );
+ });
+
+ it('assertParentVisibilityCompat allows no parent', () => {
+ const service = new TaskService(db, userId, 'ws-1');
+ expect(() => service.assertParentVisibilityCompat('public', undefined)).not.toThrow();
+ });
+
+ it('assertParentVisibilityCompat allows public child under public parent', () => {
+ const service = new TaskService(db, userId, 'ws-1');
+ expect(() => service.assertParentVisibilityCompat('public', 'public')).not.toThrow();
+ });
+ });
});
diff --git a/apps/server/src/services/task/index.ts b/apps/server/src/services/task/index.ts
index bebeb482f6a..f99c8fed4a8 100644
--- a/apps/server/src/services/task/index.ts
+++ b/apps/server/src/services/task/index.ts
@@ -64,6 +64,10 @@ export interface CreateTaskInput {
schedulePattern?: string;
scheduleTimezone?: string;
sortOrder?: number;
+ // Explicit visibility for the new task. When omitted, the service derives it
+ // from `parentTaskId` (if present) or `assigneeAgentId`'s visibility, and
+ // finally falls back to the schema default ('public').
+ visibility?: 'private' | 'public';
}
export interface UpdateStatusResult {
@@ -117,19 +121,95 @@ export class TaskService {
const createData: CreateTaskInput & { config?: Record<string, unknown> } = { ...input };
+ let parentVisibility: 'private' | 'public' | undefined;
if (createData.parentTaskId) {
const parent = await this.resolveOrThrow(createData.parentTaskId);
createData.parentTaskId = parent.id;
+ parentVisibility = parent.visibility;
}
+ // Pull the model/provider snapshot and the agent's visibility in a single
+ // SQL — both are needed for the same `tasks.create` row, and a second
+ // round-trip would just retrace the same primary-key path.
+ let agentVisibility: 'private' | 'public' | null = null;
if (input.assigneeAgentId) {
- const snapshot = await this.agentModel.getAgentModelConfig(input.assigneeAgentId);
- if (snapshot) createData.config = snapshot;
+ const agentInfo = await this.agentModel.getAgentSnapshotForTaskCreate(input.assigneeAgentId);
+ if (agentInfo) {
+ if (agentInfo.snapshot) createData.config = agentInfo.snapshot;
+ agentVisibility = agentInfo.visibility;
+ }
+ }
+
+ // Resolve visibility precedence: explicit caller value > parent task
+ // (subtasks inherit) > assignee agent (private agent → private task) >
+ // schema default ('public').
+ if (createData.visibility === undefined) {
+ if (parentVisibility) {
+ createData.visibility = parentVisibility;
+ } else if (agentVisibility === 'private') {
+ createData.visibility = 'private';
+ }
}
+ // Invariant: a public task can never be executed by a private agent. The
+ // explicit-override branch above can produce this combination if the
+ // caller passes `visibility='public'` while picking a private agent, so
+ // we have to assert here even though the inference path can't.
+ this.assertAgentVisibilityCompat(createData.visibility, agentVisibility);
+
+ // Invariant: a subtask can never be more public than its parent (LOBE-10962
+ // #3). Otherwise workspace members see an orphaned child whose parent is
+ // hidden, leaking the existence of a private task. The inference path
+ // already inherits parent visibility, but the explicit-override path can
+ // produce a `Private parent + Public child` combo if the caller insists.
+ this.assertParentVisibilityCompat(createData.visibility, parentVisibility);
+
return this.taskModel.create(createData);
}
+ /**
+ * Enforces the invariant: a subtask cannot be more public than its parent.
+ * Promotion lattice is `private ≤ public`; child visibility ≤ parent
+ * visibility. Throws `BAD_REQUEST` on violation. No constraint when there
+ * is no parent.
+ */
+ assertParentVisibilityCompat(
+ childVisibility: 'private' | 'public' | undefined,
+ parentVisibility: 'private' | 'public' | undefined,
+ ): void {
+ if (parentVisibility !== 'private') return;
+ if (childVisibility !== 'public') return;
+ throw new TRPCError({
+ code: 'BAD_REQUEST',
+ message:
+ 'A subtask cannot be more public than its parent. Promote the parent task first, or make this subtask private.',
+ });
+ }
+
+ /**
+ * Enforces the invariant: a public task must never be assigned to a private
+ * agent. Throws `BAD_REQUEST` on violation. The reverse combination
+ * (private task + public agent) is allowed by design — a workspace agent
+ * may execute owner-only tasks without leaking, since task content stays
+ * scoped to the creator via `ownership()`.
+ *
+ * `agentVisibility = null` means either no assignee or the agent could not
+ * be resolved (e.g. caller cannot see it). In both cases the combo is
+ * unconstrained because no private agent is actually involved.
+ */
+ assertAgentVisibilityCompat(
+ taskVisibility: 'private' | 'public' | undefined,
+ agentVisibility: 'private' | 'public' | null,
+ ): void {
+ if (taskVisibility !== 'public') return;
+ if (agentVisibility !== 'private') return;
+ throw new TRPCError({
+ code: 'BAD_REQUEST',
+ message:
+ 'A public task cannot be assigned to a private agent. Either pick a workspace agent or make the task private first.',
+ });
+ }
+
/**
* Cancel a running topic: interrupt the remote operation (if any), then
* mark the topic as `canceled` and pause its parent task.
@@ -400,9 +480,12 @@ export class TaskService {
private async assertAssigneeAgentBelongsToUser(assigneeAgentId?: string | null): Promise<void> {
if (!assigneeAgentId) return;
+ // `existsById` already applies the workspace + visibility predicate, so a
+ // cross-user private agent never resolves. NOT_FOUND (not BAD_REQUEST or
+ // FORBIDDEN) keeps every private-agent leak path returning the same code.
const exists = await this.agentModel.existsById(assigneeAgentId);
if (!exists) {
- throw new TRPCError({ code: 'BAD_REQUEST', message: 'Assignee agent not found' });
+ throw new TRPCError({ code: 'NOT_FOUND', message: 'Assignee agent not found' });
}
}
@@ -774,6 +857,7 @@ export class TaskService {
status: task.status,
userId: task.assigneeUserId,
verify: this.taskModel.getVerifyConfig(task),
+ visibility: task.visibility,
subtasks,
activities: activities.length > 0 ? activities : undefined,
topicCount: topics.length > 0 ? topics.length : undefined,
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/__tests__/lobeAgentPlan.test.ts b/apps/server/src/services/toolExecution/serverRuntimes/__tests__/lobeAgentPlan.test.ts
index 68459a52b05..e6edd9b8c64 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/__tests__/lobeAgentPlan.test.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/__tests__/lobeAgentPlan.test.ts
@@ -23,7 +23,21 @@ describe('createServerPlanRuntimeService', () => {
createServerPlanRuntimeService(serverDB, 'user-1', 'workspace-1');
- expect(DocumentModel).toHaveBeenCalledWith(serverDB, 'user-1', 'workspace-1');
+ // 4th arg (callerAgentVisibility) is `undefined` when no agent context
+ // is threaded through (e.g. non-tool-runtime callers).
+ expect(DocumentModel).toHaveBeenCalledWith(serverDB, 'user-1', 'workspace-1', undefined);
expect(TopicDocumentModel).toHaveBeenCalledWith(serverDB, 'user-1', 'workspace-1');
});
+
+ it("threads callerAgentVisibility into the plan runtime's DocumentModel", () => {
+ // Public-agent gate on the read path + inherit on the write path both
+ // flow through the 4th ctor arg. When the agent is private the plan
+ // documents inherit that visibility and lands in the caller's private
+ // Pages bucket instead of leaking to the workspace.
+ const serverDB = {} as never;
+
+ createServerPlanRuntimeService(serverDB, 'user-1', 'workspace-1', 'private');
+
+ expect(DocumentModel).toHaveBeenCalledWith(serverDB, 'user-1', 'workspace-1', 'private');
+ });
});
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/agentDocuments.ts b/apps/server/src/services/toolExecution/serverRuntimes/agentDocuments.ts
index c49b3424a4d..05e550986c7 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/agentDocuments.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/agentDocuments.ts
@@ -31,7 +31,12 @@ export const agentDocumentsRuntime: ServerRuntimeRegistration = {
const db = context.serverDB;
const userId = context.userId;
- const service = new AgentDocumentsService(db, userId, context.workspaceId);
+ const service = new AgentDocumentsService(
+ db,
+ userId,
+ context.workspaceId,
+ context.agentVisibility,
+ );
const { taskId } = context;
let workspaceSlugPromise: Promise<string | undefined> | undefined;
const emitDocumentOutcome = async (input: {
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/knowledgeBase.ts b/apps/server/src/services/toolExecution/serverRuntimes/knowledgeBase.ts
index 606f59c8bc7..418af9031ff 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/knowledgeBase.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/knowledgeBase.ts
@@ -13,7 +13,7 @@ import { type ServerRuntimeRegistration } from './types';
export const knowledgeBaseRuntime: ServerRuntimeRegistration = {
factory: (context) => {
- const { userId, serverDB, agentId, workspaceId } = context;
+ const { userId, serverDB, agentId, agentVisibility, workspaceId } = context;
if (!userId || !serverDB) {
throw new Error('userId and serverDB are required for Knowledge Base execution');
}
@@ -21,9 +21,14 @@ export const knowledgeBaseRuntime: ServerRuntimeRegistration = {
const fileModel = new FileModel(serverDB, userId, workspaceId);
const knowledgeBaseModel = new KnowledgeBaseModel(serverDB, userId, workspaceId);
const knowledgeRepo = new KnowledgeRepo(serverDB, userId, workspaceId);
- const documentService = new DocumentService(serverDB, userId, workspaceId);
+ const documentService = new DocumentService(serverDB, userId, workspaceId, agentVisibility);
const fileService = new FileService(serverDB, userId, workspaceId);
- const searchService = new KnowledgeBaseSearchService(serverDB, userId, workspaceId);
+ const searchService = new KnowledgeBaseSearchService(
+ serverDB,
+ userId,
+ workspaceId,
+ agentVisibility,
+ );
const agentModel = agentId ? new AgentModel(serverDB, userId, workspaceId) : null;
const resolveAgentKnowledgeBaseIds = async (override?: string[]): Promise<string[]> => {
@@ -83,7 +88,13 @@ export const knowledgeBaseRuntime: ServerRuntimeRegistration = {
};
},
getKnowledgeBases: async () => {
- const items = await knowledgeBaseModel.query();
+ // Defensive: when the calling agent is public, drop the caller's
+ // own private KBs so a public agent can never surface them to
+ // other workspace members. Documents/chunks already get this
+ // treatment via `documentService`/`searchService` above.
+ const items = await knowledgeBaseModel.query({
+ callerAgentVisibility: agentVisibility ?? undefined,
+ });
return items.map((kb) => ({
avatar: kb.avatar ?? null,
description: kb.description,
@@ -127,6 +138,14 @@ export const knowledgeBaseRuntime: ServerRuntimeRegistration = {
knowledgeBaseId,
parentId,
title,
+ // Inherit caller-agent visibility: private-agent output stays in
+ // the owner's private bucket; public-agent output is visible to
+ // the workspace. When null (no agent / cannot resolve), fall
+ // through to `DocumentService.createDocument`'s existing
+ // `sourceType='api'` fallback (→ private in workspace mode).
+ ...(agentVisibility === 'private' || agentVisibility === 'public'
+ ? { visibility: agentVisibility }
+ : {}),
});
return { id: doc.id };
},
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/lobeAgent.ts b/apps/server/src/services/toolExecution/serverRuntimes/lobeAgent.ts
index 0a2bde9cbfa..c6375f42eaa 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/lobeAgent.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/lobeAgent.ts
@@ -38,6 +38,11 @@ interface AnalyzeVisualMediaParams {
interface LobeAgentRuntimeContext {
agentId?: string | null;
+ /**
+ * Visibility of the executing agent. Forwarded to the plan runtime so plan
+ * documents inherit private-agent visibility.
+ */
+ agentVisibility?: 'private' | 'public' | null;
groupId?: string | null;
messageId: string;
/** The current Agent Run (`agent_operations.id`). */
@@ -96,7 +101,12 @@ class LobeAgentExecutionRuntime {
this.userId = context.userId;
this.workspaceId = context.workspaceId;
this.planRuntime = new PlanExecutionRuntime(
- createServerPlanRuntimeService(context.serverDB, context.userId, context.workspaceId),
+ createServerPlanRuntimeService(
+ context.serverDB,
+ context.userId,
+ context.workspaceId,
+ context.agentVisibility,
+ ),
);
}
@@ -389,6 +399,7 @@ export const lobeAgentRuntime: ServerRuntimeRegistration = {
return new LobeAgentExecutionRuntime({
agentId: context.agentId,
+ agentVisibility: context.agentVisibility,
groupId: context.groupId,
messageId: context.messageId,
operationId: context.operationId,
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/lobeAgentPlan.ts b/apps/server/src/services/toolExecution/serverRuntimes/lobeAgentPlan.ts
index 2e604920a26..c207d265b09 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/lobeAgentPlan.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/lobeAgentPlan.ts
@@ -16,8 +16,9 @@ export const createServerPlanRuntimeService = (
serverDB: LobeChatDatabase,
userId: string,
workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
): PlanRuntimeService => {
- const documentModel = new DocumentModel(serverDB, userId, workspaceId);
+ const documentModel = new DocumentModel(serverDB, userId, workspaceId, callerAgentVisibility);
const topicDocumentModel = new TopicDocumentModel(serverDB, userId, workspaceId);
const toPlanDocument = (doc: {
@@ -55,6 +56,13 @@ export const createServerPlanRuntimeService = (
title: goal,
totalCharCount: content.length,
totalLineCount: content.split('\n').length,
+ // Private-agent plans stay in the owner's private Pages; public
+ // agents' plans stay visible to the workspace. When null (no agent
+ // context resolvable), fall through to `DocumentModel.create`'s
+ // existing `sourceType='api'` fallback (→ private in workspace mode).
+ ...(callerAgentVisibility === 'private' || callerAgentVisibility === 'public'
+ ? { visibility: callerAgentVisibility }
+ : {}),
});
await topicDocumentModel.associate({ documentId: doc.id, topicId });
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/lobeDeliveryChecker.ts b/apps/server/src/services/toolExecution/serverRuntimes/lobeDeliveryChecker.ts
index 769f3deebd6..080c5d15344 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/lobeDeliveryChecker.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/lobeDeliveryChecker.ts
@@ -7,6 +7,11 @@ import { VerifyPlanGeneratorService } from '@/server/services/verify';
import type { ServerRuntimeRegistration } from './types';
interface LobeDeliveryCheckerRuntimeContext {
+ /**
+ * Visibility of the executing agent. Forwarded to the plan generator so
+ * verify instruction documents inherit private-agent visibility.
+ */
+ agentVisibility?: 'private' | 'public' | null;
/** The current Agent Run (`agent_operations.id`) — the verify plan attaches to it. */
operationId?: string;
serverDB: LobeChatDatabase;
@@ -31,12 +36,14 @@ class LobeDeliveryCheckerExecutionRuntime {
private db: LobeChatDatabase;
private userId: string;
private workspaceId?: string;
+ private agentVisibility?: 'private' | 'public' | null;
constructor(context: LobeDeliveryCheckerRuntimeContext) {
this.operationId = context.operationId;
this.db = context.serverDB;
this.userId = context.userId;
this.workspaceId = context.workspaceId;
+ this.agentVisibility = context.agentVisibility;
}
generateVerifyPlan = async (params: {
@@ -67,7 +74,12 @@ class LobeDeliveryCheckerExecutionRuntime {
// Agent-authored path: the model enumerated the checks, so create the
// criteria + a rubric, snapshot it onto this operation, and confirm it. The
// tool call is human-reviewed (humanIntervention); this runs post-approval.
- const planGenerator = new VerifyPlanGeneratorService(this.db, this.userId, this.workspaceId);
+ const planGenerator = new VerifyPlanGeneratorService(
+ this.db,
+ this.userId,
+ this.workspaceId,
+ this.agentVisibility,
+ );
const { items, rubricId } = await planGenerator.createPlanFromCriteria({
criteria,
operationId: this.operationId,
@@ -110,6 +122,7 @@ export const lobeDeliveryCheckerRuntime: ServerRuntimeRegistration = {
}
return new LobeDeliveryCheckerExecutionRuntime({
+ agentVisibility: context.agentVisibility,
operationId: context.operationId,
serverDB: context.serverDB,
userId: context.userId,
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/notebook.ts b/apps/server/src/services/toolExecution/serverRuntimes/notebook.ts
index 27ed33ed000..b8b5e46a3b5 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/notebook.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/notebook.ts
@@ -16,6 +16,7 @@ export const notebookRuntime: ServerRuntimeRegistration = {
}
const notebookService = new NotebookRuntimeService({
+ callerAgentVisibility: context.agentVisibility,
serverDB: context.serverDB,
userId: context.userId,
workspaceId: context.workspaceId,
diff --git a/apps/server/src/services/toolExecution/serverRuntimes/webBrowsing.ts b/apps/server/src/services/toolExecution/serverRuntimes/webBrowsing.ts
index 708fb975072..0d074e836f4 100644
--- a/apps/server/src/services/toolExecution/serverRuntimes/webBrowsing.ts
+++ b/apps/server/src/services/toolExecution/serverRuntimes/webBrowsing.ts
@@ -9,21 +9,33 @@ import { type ServerRuntimeRegistration } from './types';
export const webBrowsingRuntime: ServerRuntimeRegistration = {
factory: (context) => {
- const { userId, serverDB, agentId } = context;
+ const { userId, serverDB, agentId, agentVisibility } = context;
const canSaveDocuments = userId && serverDB && agentId;
return new WebBrowsingExecutionRuntime({
documentService: canSaveDocuments
? {
associateDocument: async (documentId) => {
- const service = new AgentDocumentsService(serverDB, userId, context.workspaceId);
+ const service = new AgentDocumentsService(
+ serverDB,
+ userId,
+ context.workspaceId,
+ agentVisibility,
+ );
await service.associateDocument(agentId, documentId);
},
createDocument: async (params) => {
// Same service the client trpc procedure uses — dedupe by URL,
// short-circuit on byte-identical content, write a history
- // snapshot when content actually changed ().
- const service = new WebBrowsingDocumentService(serverDB, userId, context.workspaceId);
+ // snapshot when content actually changed (). Threading
+ // agentVisibility so private-agent crawls land in the caller's
+ // private Pages bucket.
+ const service = new WebBrowsingDocumentService(
+ serverDB,
+ userId,
+ context.workspaceId,
+ agentVisibility,
+ );
return service.upsertCrawledDocument(params);
},
}
diff --git a/apps/server/src/services/toolExecution/types.ts b/apps/server/src/services/toolExecution/types.ts
index 7ef203a0c70..25875cce45b 100644
--- a/apps/server/src/services/toolExecution/types.ts
+++ b/apps/server/src/services/toolExecution/types.ts
@@ -126,6 +126,15 @@ export interface ToolExecutionContext {
* result; the member barrier backfills + resumes/finishes the parked supervisor.
*/
agentMember?: ServerAgentMemberRunner;
+ /**
+ * Visibility of the agent executing this tool call. Resolved once per tool
+ * call in the runtime executor. Tool runtimes that persist agent side-effects
+ * (documents, tasks, etc.) forward this so private-agent output inherits
+ * private visibility and public-agent reads are gated away from private data
+ * — mirroring the `assertAgentVisibilityCompat` invariant on tasks.
+ * `null` when the agent is missing or not visible to the caller.
+ */
+ agentVisibility?: 'private' | 'public' | null;
/**
* The assistant message that carries this tool call (the runtime's
* `payload.parentMessageId`). Distinct from `messageId`, which is the source
diff --git a/apps/server/src/services/verify/planGenerator.ts b/apps/server/src/services/verify/planGenerator.ts
index 540d1bba89f..db2f5f6ca8c 100644
--- a/apps/server/src/services/verify/planGenerator.ts
+++ b/apps/server/src/services/verify/planGenerator.ts
@@ -114,14 +114,33 @@ export class VerifyPlanGeneratorService {
private readonly rubricModel: VerifyRubricModel;
private readonly runModel: VerifyRunModel;
private readonly documentModel: DocumentModel;
-
- constructor(db: LobeChatDatabase, userId: string, workspaceId?: string) {
+ /**
+ * Visibility of the agent that triggered this plan (only set when invoked
+ * from a tool runtime). Threaded into every instruction-document create so
+ * private-agent verify criteria stay in the caller's private Pages bucket
+ * instead of leaking to the workspace.
+ */
+ private readonly callerAgentVisibility?: 'private' | 'public' | null;
+
+ constructor(
+ db: LobeChatDatabase,
+ userId: string,
+ workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
+ ) {
this.db = db;
this.userId = userId;
+ this.callerAgentVisibility = callerAgentVisibility;
this.criterionModel = new VerifyCriterionModel(db, userId, workspaceId);
this.rubricModel = new VerifyRubricModel(db, userId, workspaceId);
this.runModel = new VerifyRunModel(db, userId, workspaceId);
- this.documentModel = new DocumentModel(db, userId, workspaceId);
+ this.documentModel = new DocumentModel(db, userId, workspaceId, callerAgentVisibility);
+ }
+
+ private get inheritedVisibility(): { visibility: 'private' | 'public' } | Record<string, never> {
+ return this.callerAgentVisibility === 'private' || this.callerAgentVisibility === 'public'
+ ? { visibility: this.callerAgentVisibility }
+ : {};
}
/**
@@ -162,6 +181,7 @@ export class VerifyPlanGeneratorService {
title: draft.title,
totalCharCount: draft.instruction.length,
totalLineCount: draft.instruction.split('\n').length,
+ ...this.inheritedVisibility,
});
documentId = doc.id;
}
@@ -286,6 +306,7 @@ export class VerifyPlanGeneratorService {
title: draft.title,
totalCharCount: draft.instruction.length,
totalLineCount: draft.instruction.split('\n').length,
+ ...this.inheritedVisibility,
});
documentId = doc.id;
}
@@ -420,6 +441,7 @@ export class VerifyPlanGeneratorService {
title: c.title,
totalCharCount: c.instruction.length,
totalLineCount: c.instruction.split('\n').length,
+ ...this.inheritedVisibility,
});
documentId = doc.id;
}
diff --git a/apps/server/src/services/webBrowsing/index.ts b/apps/server/src/services/webBrowsing/index.ts
index abf40dddbb8..93bf9845580 100644
--- a/apps/server/src/services/webBrowsing/index.ts
+++ b/apps/server/src/services/webBrowsing/index.ts
@@ -50,17 +50,34 @@ export class WebBrowsingDocumentService {
private readonly documentModel: DocumentModel;
private readonly topicDocumentModel: TopicDocumentModel;
private documentServiceInstance?: DocumentService;
+ /**
+ * Visibility of the agent that triggered this crawl. When set, newly-created
+ * documents inherit it so private-agent output lands in the caller's private
+ * Pages bucket rather than the workspace bucket.
+ */
+ private readonly callerAgentVisibility?: 'private' | 'public' | null;
- constructor(db: LobeChatDatabase, userId: string, workspaceId?: string) {
+ constructor(
+ db: LobeChatDatabase,
+ userId: string,
+ workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
+ ) {
this.db = db;
this.userId = userId;
this.workspaceId = workspaceId;
- this.documentModel = new DocumentModel(db, userId, workspaceId);
+ this.callerAgentVisibility = callerAgentVisibility;
+ this.documentModel = new DocumentModel(db, userId, workspaceId, callerAgentVisibility);
this.topicDocumentModel = new TopicDocumentModel(db, userId, workspaceId);
}
private get documentService() {
- this.documentServiceInstance ??= new DocumentService(this.db, this.userId, this.workspaceId);
+ this.documentServiceInstance ??= new DocumentService(
+ this.db,
+ this.userId,
+ this.workspaceId,
+ this.callerAgentVisibility,
+ );
return this.documentServiceInstance;
}
@@ -108,6 +125,10 @@ export class WebBrowsingDocumentService {
title,
totalCharCount: snapshot.content.length,
totalLineCount: snapshot.content.split('\n').length,
+ // Inherit the caller agent's visibility so a private agent's crawl
+ // lands under the caller's private Pages. Public / null → fall
+ // through to the model-layer default for `sourceType='web'`.
+ ...(this.callerAgentVisibility === 'private' ? { visibility: 'private' as const } : {}),
});
documentId = created.id;
status = 'created';
diff --git a/eslint-suppressions.json b/eslint-suppressions.json
index 01c7ffb8579..ad581180ec8 100644
--- a/eslint-suppressions.json
+++ b/eslint-suppressions.json
@@ -1064,11 +1064,6 @@
"count": 1
}
},
- "src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/ForkAndChat.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/routes/(main)/community/(detail)/agent/features/StatusPage/index.tsx": {
"no-restricted-imports": {
"count": 1
diff --git a/locales/ar/chat.json b/locales/ar/chat.json
index 3b9cc311da0..58a7dd6ee21 100644
--- a/locales/ar/chat.json
+++ b/locales/ar/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "النموذج",
"active": "نشط",
"addAgentFromMarket": "إضافة من السوق",
+ "agent.publishToWorkspace": "نشر إلى مساحة العمل",
+ "agent.publishToWorkspaceConfirm": "سيتمكن أعضاء مساحة العمل الآخرون من استخدام هذا الوكيل. لن تتمكن من جعله خاصًا مرة أخرى.",
+ "agent.publishToWorkspaceSuccess": "تم النشر إلى مساحة العمل",
"agentBuilder.installPlugin.authRequired": "يتطلب Cloud MCP تسجيل الدخول للمتابعة",
"agentBuilder.installPlugin.cancel": "إلغاء",
"agentBuilder.installPlugin.clickApproveToConnect": "انقر على \"موافقة\" للاتصال وتفويض هذا التكامل",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "أضف وصفًا...",
"createTask.submit": "إنشاء مهمة",
"createTask.titlePlaceholder": "عنوان المهمة",
+ "createTask.visibility.changeFailed": "فشل في تغيير رؤية المهمة",
+ "createTask.visibility.helperPrivate": "فقط يمكنك رؤية هذه المهمة.",
+ "createTask.visibility.helperWorkspace": "يمكن للجميع في هذه مساحة العمل رؤية هذه المهمة.",
+ "createTask.visibility.label": "الرؤية",
+ "createTask.visibility.private": "خاص",
+ "createTask.visibility.privateAgentDisabled": "يمكن للوكلاء الخاصين تشغيل المهام الخاصة فقط. اختر وكيل مساحة العمل أو قم بتغيير هذه المهمة إلى خاص.",
+ "createTask.visibility.privateAgentLocked": "يمكن للوكلاء الخاصين تشغيل المهام الخاصة فقط.",
+ "createTask.visibility.workspace": "مساحة العمل",
"defaultAgent": "الوكيل الافتراضي",
"defaultGroupChat": "مجموعة",
"defaultList": "القائمة الافتراضية",
@@ -328,10 +339,12 @@
"input.inputCompletionError.title": "توقفت اقتراحات الإدخال",
"input.modelUnavailable": "النموذج الحالي لم يعد متاحًا. اختر نموذجًا آخر للمتابعة.",
"input.more": "المزيد",
+ "input.sandboxModeNotice": "يتم التشغيل في ساندبوكس السحابي المؤقت. التشغيل المحلي أسرع ويمكنه الوصول إلى ملفاتك.",
"input.send": "إرسال",
"input.sendWithCmdEnter": "اضغط <key/> للإرسال",
"input.sendWithEnter": "اضغط <key/> للإرسال",
"input.stop": "إيقاف",
+ "input.switchToLocal": "استخدام الجهاز المحلي",
"input.warp": "سطر جديد",
"input.warpWithKey": "اضغط <key/> لإدراج فاصل أسطر",
"inputQueue.delete": "حذف",
@@ -373,10 +386,13 @@
"memory.on.title": "تمكين الذاكرة",
"memory.title": "الذاكرة",
"mention.category.agents": "الوكلاء",
+ "mention.category.files": "الملفات",
"mention.category.members": "الأعضاء",
+ "mention.category.privateAgents": "خاص",
"mention.category.skills": "المهارات",
"mention.category.tools": "الأدوات",
"mention.category.topics": "المواضيع",
+ "mention.category.workspaceAgents": "مساحة العمل",
"mention.title": "الإشارة إلى الأعضاء",
"messageAction.collapse": "طي الرسالة",
"messageAction.continueGeneration": "متابعة التوليد",
@@ -398,12 +414,15 @@
"messageForward.deleteConfirm.title": "حذف الرسائل",
"messageForward.empty": "اختر رسالة واحدة على الأقل لإعادة توجيهها",
"messageForward.modal.empty": "لا توجد وكلاء آخرين متاحين",
+ "messageForward.modal.moreMessages": "+{{count}} رسائل إضافية",
"messageForward.modal.noRecipients": "اختر وكلاء على اليسار لإعادة التوجيه إليهم",
"messageForward.modal.notePlaceholder": "أضف ملاحظة (اختياري) — تُرسل مع الرسائل",
"messageForward.modal.recipients": "إرسال إلى ({{count}})",
+ "messageForward.modal.removeRecipient": "إزالة المستلم",
"messageForward.modal.searchPlaceholder": "بحث عن وكلاء...",
"messageForward.modal.sendCount": "إعادة توجيه ({{count}})",
"messageForward.modal.title": "إعادة التوجيه إلى الوكيل",
+ "messageForward.role.agent": "وكيل",
"messageForward.role.assistant": "مساعد",
"messageForward.role.user": "مستخدم",
"messageForward.success": "تمت إعادة التوجيه إلى {{title}}",
@@ -538,6 +557,17 @@
"rag.userQuery.actions.delete": "حذف إعادة صياغة الاستعلام",
"rag.userQuery.actions.regenerate": "إعادة توليد الاستعلام",
"regenerate": "إعادة التوليد",
+ "resources.knowledgePicker.publicAgentHint": "يمكن للوكلاء العامين فقط الرجوع إلى موارد مساحة العمل. قم بنشر مورد خاص إلى مساحة العمل أولاً إذا كنت ترغب في إرفاقه.",
+ "resources.mode.privateHint": "درجك الخاص — فقط يمكنك رؤية هذه الملفات",
+ "resources.mode.workspaceHint": "مشترك مع الجميع في هذه مساحة العمل",
+ "resources.publishToWorkspace.confirm": "سيتمكن أعضاء مساحة العمل الآخرون من رؤية هذا الملف. لن تتمكن من جعله خاصًا مرة أخرى.",
+ "resources.publishToWorkspace.error": "فشل في نشر الملف إلى مساحة العمل",
+ "resources.publishToWorkspace.menu": "نشر إلى مساحة العمل",
+ "resources.publishToWorkspace.success": "تم النشر إلى مساحة العمل",
+ "resources.visibility.label": "الرؤية",
+ "resources.visibility.private": "خاص",
+ "resources.visibility.privateTooltip": "فقط يمكنك رؤية هذا الملف",
+ "resources.visibility.workspace": "مساحة العمل",
"roleAndArchive": "ملف الوكيل وسجل المحادثات",
"runtimeEnv.mode.cloud": "بيئة السحابة",
"runtimeEnv.mode.cloudDesc": "تشغيل في بيئة سحابة آمنة",
@@ -584,6 +614,9 @@
"sessionGroup.noAvailableAgents": "لا يوجد وكلاء متاحون",
"sessionGroup.noMatchingAgents": "لم يتم العثور على وكلاء مطابقين",
"sessionGroup.noSelectedAgents": "يرجى تحديد وكلاء",
+ "sessionGroup.publishToWorkspace": "نشر إلى مساحة العمل",
+ "sessionGroup.publishToWorkspaceConfirm": "سيتمكن أعضاء مساحة العمل الآخرون من استخدام هذا المجلد. لن تتمكن من جعله خاصًا مرة أخرى.",
+ "sessionGroup.publishToWorkspaceSuccess": "تم النشر إلى مساحة العمل",
"sessionGroup.rename": "إعادة تسمية المجموعة",
"sessionGroup.renameSuccess": "تمت إعادة التسمية بنجاح",
"sessionGroup.searchAgents": "البحث عن وكلاء",
@@ -755,6 +788,12 @@
"taskDetail.priority.normal": "عادية",
"taskDetail.priority.urgent": "عاجلة",
"taskDetail.properties": "الخصائص",
+ "taskDetail.publishToWorkspace.confirmContent": "بمجرد النشر، تصبح هذه المهمة مرئية لجميع أعضاء مساحة العمل ولا يمكن إعادتها إلى خاص.",
+ "taskDetail.publishToWorkspace.confirmHint": "تظل العمليات السابقة خاصة. فقط العمليات التي تم إنشاؤها بعد النشر ستكون مرئية لأعضاء مساحة العمل.",
+ "taskDetail.publishToWorkspace.confirmOk": "نشر",
+ "taskDetail.publishToWorkspace.confirmTitle": "نشر المهمة إلى مساحة العمل؟",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "تم تعيين هذه المهمة إلى وكيل خاص. قم بإعادة تعيينها إلى وكيل مساحة العمل، أو قم بنشر الوكيل أولاً.",
+ "taskDetail.publishToWorkspace.menuLabel": "نشر إلى مساحة العمل",
"taskDetail.reassignDisabled": "لا يمكن إعادة إسناد الوكيل أثناء تشغيل المهمة",
"taskDetail.replyInThread": "الرد في هذه السلسلة",
"taskDetail.replyPlaceholder": "الرد في هذه السلسلة...",
@@ -865,6 +904,8 @@
"taskList.view.board": "لوحة",
"taskList.view.list": "قائمة",
"taskList.viewAll": "عرض الكل",
+ "taskList.visibility.all": "الكل",
+ "taskList.visibility.label": "الرؤية",
"taskSchedule.advancedSettings": "إعدادات متقدمة",
"taskSchedule.clear": "مسح",
"taskSchedule.continuous": "مستمر",
@@ -1158,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "نسخ المسار المطلق",
"workingPanel.files.copyRelativePath": "نسخ المسار النسبي",
- "workingPanel.files.count_one": "{{count}} ملف",
- "workingPanel.files.count_other": "{{count}} ملفات",
"workingPanel.files.empty": "لا توجد ملفات في مساحة العمل هذه",
+ "workingPanel.files.noSearchResults": "لا توجد ملفات مطابقة",
"workingPanel.files.open": "فتح الملف",
- "workingPanel.files.refresh": "تحديث",
+ "workingPanel.files.searchPlaceholder": "تصفية الملفات...",
"workingPanel.files.showInReview": "عرض في المراجعة",
"workingPanel.files.showInSystem": "إظهار في المجلد",
"workingPanel.files.title": "الملفات",
diff --git a/locales/ar/common.json b/locales/ar/common.json
index 5154529b488..ee8585ae45e 100644
--- a/locales/ar/common.json
+++ b/locales/ar/common.json
@@ -1,5 +1,6 @@
{
"about": "حول",
+ "addNew": "إضافة جديد",
"advanceSettings": "الإعدادات المتقدمة",
"agentOnboardingPromo.actionLabel": "جرّب الآن",
"agentOnboardingPromo.description": "قم بإعداد فرق الوكلاء لديك عبر محادثة سريعة مع Lobe AI. ستبقى وكلاؤك الحاليون دون تغيير.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "فشل فحص سياسة المحتوى. يرجى تعديل طلبك.",
"getDesktopApp": "احصل على تطبيق سطح المكتب",
"goToTarget": "اذهب إلى الهدف",
+ "gotIt": "فهمت",
"historyRange": "نطاق السجل",
"home.suggestQuestions": "جرّب هذه الأمثلة",
"import": "استيراد",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "نقل لأسفل",
"navPanel.moveUp": "نقل لأعلى",
"navPanel.pinned": "مثبّت",
+ "navPanel.privateAgents": "خاص",
+ "navPanel.publicAgents": "مساحة العمل",
"navPanel.resetDefault": "إعادة التعيين إلى الإعدادات الافتراضية",
"navPanel.searchAgent": "بحث عن وكيل...",
"navPanel.searchRecent": "البحث في الأخير...",
diff --git a/locales/ar/discover.json b/locales/ar/discover.json
index 4b4c5e2b5e5..b140fe1761a 100644
--- a/locales/ar/discover.json
+++ b/locales/ar/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "نسخ",
"fork.forksCount": "{{count}} نسخة",
"fork.forksCount_other": "{{count}} نسخ",
+ "fork.orgSetupRequired.memberContent": "لم يتم إعداد ملف تعريف المجتمع لهذا مساحة العمل بعد، لذلك لا يمكن حفظ التفرعات من السوق هنا. يرجى طلب إعدادها من مالك مساحة العمل ضمن المجتمع → مساحة العمل.",
+ "fork.orgSetupRequired.ownerContent": "لم يتم إعداد ملف تعريف المجتمع لهذا مساحة العمل بعد. قم بإعداد واحد لتتمكن من تفرع الوكلاء من السوق إلى مساحة العمل الخاصة بك.",
+ "fork.orgSetupRequired.ownerOk": "اذهب إلى الإعداد",
+ "fork.orgSetupRequired.title": "مطلوب إعداد ملف تعريف المجتمع",
"fork.success": "تم النسخ بنجاح!",
"fork.viewAllForks": "عرض جميع النسخ",
+ "fork.visibilityPrivate": "خاص",
+ "fork.visibilityPublic": "مساحة العمل",
"groupAgents.tag": "مجموعة",
"groupAgents.underReview": "قيد المراجعة",
"home.communityAgents": "وكلاء المجتمع",
diff --git a/locales/ar/editor.json b/locales/ar/editor.json
index 283bdb0d696..1c8a2e75022 100644
--- a/locales/ar/editor.json
+++ b/locales/ar/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "مهارة",
"actionTag.category.tool": "أداة",
"actionTag.tooltip.agentSkill": "يحمّل حزمة مهارات من مستندات هذا الوكيل للطلب.",
+ "actionTag.tooltip.clickToView": "انقر لعرض التفاصيل",
"actionTag.tooltip.command": "يشغّل أمر الشرطة المائلة على جانب العميل قبل الإرسال.",
"actionTag.tooltip.projectSkill": "يتم إرسالها كاستدعاء شرطة مائلة بحيث يقوم CLI الخاص بالوكيل بتشغيل مهارة المشروع المطابقة.",
"actionTag.tooltip.skill": "يحمّل حزمة مهارات قابلة لإعادة الاستخدام لهذا الطلب.",
diff --git a/locales/ar/electron.json b/locales/ar/electron.json
index b6635c379d2..5b2b90aa2f1 100644
--- a/locales/ar/electron.json
+++ b/locales/ar/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "الإعدادات",
"navigation.task": "مهمة",
"navigation.tasks": "المهام",
+ "navigation.topics": "المواضيع",
"navigation.unpin": "إلغاء التثبيت",
"notification.finishChatGeneration": "اكتمل توليد الرسالة بواسطة الذكاء الاصطناعي",
"proxy.auth": "يتطلب المصادقة",
diff --git a/locales/ar/eval.json b/locales/ar/eval.json
index d363cb576c8..f58adaea7bc 100644
--- a/locales/ar/eval.json
+++ b/locales/ar/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "هل أنت متأكد أنك تريد حذف هذا المعيار؟ سيتم أيضًا حذف مجموعات البيانات وسجلات التقييم المرتبطة.",
"benchmark.actions.edit": "تعديل المعيار",
"benchmark.actions.export": "تصدير",
+ "benchmark.card.bestPassRate": "أفضل معدل نجاح",
"benchmark.card.bestScore": "الأفضل",
"benchmark.card.caseCount": "{{count}} حالات",
+ "benchmark.card.casesLabel": "الحالات",
"benchmark.card.datasetCount": "{{count}} مجموعات بيانات",
"benchmark.card.empty": "لا توجد تقييمات بعد",
"benchmark.card.emptyHint": "قم بإنشاء تقييم جديد من صفحة تفاصيل المعيار",
+ "benchmark.card.evalsLabel": "التقييمات",
"benchmark.card.importDataset": "استيراد مجموعة بيانات",
"benchmark.card.noDataset": "لا توجد مجموعات بيانات بعد",
"benchmark.card.noDatasetHint": "قم باستيراد مجموعة بيانات لبدء التقييم",
"benchmark.card.noRecentRuns": "لا توجد تقييمات حديثة للعرض",
"benchmark.card.recentRuns": "التقييمات الحديثة",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} قبل الفشل",
+ "benchmark.card.run.queued": "في الانتظار",
"benchmark.card.runCount": "{{count}} تقييمات",
"benchmark.card.startFirst": "ابدأ التقييم الأول",
"benchmark.card.viewAll": "عرض الكل {{count}}",
diff --git a/locales/ar/file.json b/locales/ar/file.json
index 5436179e95d..470c5bf199f 100644
--- a/locales/ar/file.json
+++ b/locales/ar/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "نقل المكتبة",
"library.list.transferTo": "نقل إلى...",
"library.new": "مكتبة جديدة",
+ "library.privateEmpty": "إنشاء مكتبة خاصة",
+ "library.publish": "نشر إلى مساحة العمل",
+ "library.publishConfirm.content": "سيتمكن جميع أعضاء مساحة العمل من رؤية قاعدة المعرفة هذه. لا يمكن التراجع عن هذا الإجراء.",
+ "library.publishConfirm.title": "نشر قاعدة المعرفة إلى مساحة العمل؟",
"library.title": "المكتبة",
+ "library.workspaceEmpty": "إنشاء مكتبة لمساحة العمل",
"loadMore": "تحميل المزيد",
"menu.allFiles": "جميع الملفات",
"menu.allPages": "جميع الصفحات",
@@ -170,6 +175,13 @@
"pageList.noResults": "لم يتم العثور على صفحات مطابقة",
"pageList.pageCount": "إجمالي {{count}} صفحة",
"pageList.pageSizeItem": "{{count}} عنصر",
+ "pageList.privateTitle": "خاص",
+ "pageList.publishConfirm.content": "بعد النشر، سيتمكن الجميع في مساحة العمل من رؤية هذه الصفحة. لا يمكنك تغييرها إلى خاصة مرة أخرى لاحقًا.",
+ "pageList.publishConfirm.ok": "نشر",
+ "pageList.publishConfirm.title": "النشر إلى مساحة العمل",
+ "pageList.publishError": "فشل في نشر الصفحة",
+ "pageList.publishSuccess": "تم نشر الصفحة إلى مساحة العمل",
+ "pageList.publishToWorkspace": "النشر إلى مساحة العمل",
"pageList.title": "الصفحات",
"pageList.transferConfirm": "نقل",
"pageList.transferDescription": "انقل هذه الصفحة (وأي مجلدات تحتويها) إلى مساحة عمل أخرى.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "نقل إلى...",
"pageList.transferWarning": "هذه عملية نقل أحادية الاتجاه؛ التراجع يتطلب نقلًا آخر.",
"pageList.untitled": "بدون عنوان",
+ "pageList.workspaceTitle": "مساحة العمل",
"portal.openInPageEditor": "تحرير في الصفحة",
"preview.downloadFile": "تنزيل الملف",
"preview.unsupportedFileAndContact": "تنسيق هذا الملف غير مدعوم حاليًا للمعاينة عبر الإنترنت. إذا كان لديك طلب للمعاينة، لا تتردد في <1>الاتصال بنا</1>.",
diff --git a/locales/ar/image.json b/locales/ar/image.json
index 2f521bf5e20..80cd48e2b7d 100644
--- a/locales/ar/image.json
+++ b/locales/ar/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "حذف موضوع الإنشاء",
"topic.deleteConfirmDesc": "أنت على وشك حذف موضوع الإنشاء هذا. لا يمكن التراجع عن هذا الإجراء، يرجى المتابعة بحذر.",
"topic.empty": "لا توجد مواضيع إنشاء",
+ "topic.privateTitle": "خاص",
"topic.title": "موضوع الرسم",
- "topic.untitled": "موضوع افتراضي"
+ "topic.untitled": "موضوع افتراضي",
+ "topic.visibility.existingLocked": "تم تثبيت الرؤية للموضوع الحالي. قم بإنشاء موضوع جديد لاختيار مساحة مختلفة.",
+ "topic.workspaceTitle": "مساحة العمل"
}
diff --git a/locales/ar/models.json b/locales/ar/models.json
index e9a3b044ca0..10bd7494b33 100644
--- a/locales/ar/models.json
+++ b/locales/ar/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turbo هو نموذج أساسي تم تحسينه بعمق للسيناريوهات الوكيلة. تم تحسينه خصيصًا لمتطلبات المهام الوكيلة الأساسية من مرحلة التدريب، مما يعزز القدرات الرئيسية مثل استدعاء الأدوات، واتباع الأوامر، والتنفيذ طويل السلسلة. مثالي لبناء مساعدات وكيلة عالية الأداء.",
"glm-5.1.description": "يُعد GLM-5.1 أحدث نموذج رائد من Zhipu، ويتماشى في الأداء العام وقدرات البرمجة مع Claude Opus 4.6. يتميز بقدرته على التعامل مع المهام طويلة الأمد، حيث يستطيع التخطيط والتنفيذ والتكرار بشكل مستقل لمدة تصل إلى 8 ساعات ضمن مهمة واحدة، مما يجعله أساسًا مثاليًا للوكلاء المستقلين ووكلاء البرمجة للمهام طويلة الأمد.",
"glm-5.2.description": "سلسلة GLM هي نموذج تفكير هجين من Zhipu AI مصمم للوكلاء، مع أوضاع التفكير وغير التفكير. GLM-5.2 هو النموذج الرئيسي لـ Zhipu في عصر المهام طويلة الأمد، يدعم سياق 1M رمز ومُحسّن للتخطيط طويل الأمد، الترميز المعقد، وتنفيذ الوكلاء.",
+ "glm-5.2.description": "سلسلة GLM هي نموذج تفكير هجين من Zhipu AI مصمم للوكلاء، مع أوضاع تفكير وغير تفكير. GLM-5.2 هو النموذج الرائد لـ Zhipu في عصر المهام طويلة الأمد، حيث يدعم سياقًا يصل إلى 1 مليون رمز ومُحسّن للتخطيط طويل الأمد، البرمجة المعقدة، وتنفيذ الوكلاء.",
"glm-5.description": "سلسلة GLM هي نموذج استدلال هجين من Zhipu AI مصمم للوكلاء، مع أوضاع تفكير وغير تفكير.",
"glm-5v-turbo.description": "GLM-5V-Turbo هو نموذج الأساس البرمجي متعدد الوسائط من Zhipu للمهام البرمجية البصرية. يتعامل بشكل أصلي مع الصور، الفيديو، النصوص، والملفات، ومُحسّن للتخطيط طويل الأمد، البرمجة المعقدة، وتنفيذ الوكالة في سير العمل متعدد الوسائط.",
"glm-image.description": "GLM-Image هو نموذج توليد الصور الرائد الجديد من Zhipu. تم تدريب النموذج بشكل كامل على رقائق محلية الصنع ويتبنى بنية هجينة أصلية تجمع بين النمذجة التلقائية ومُفكك الانتشار. يتيح هذا التصميم فهمًا قويًا للتعليمات العامة إلى جانب تقديم تفاصيل دقيقة محليًا، متغلبًا على التحديات الطويلة الأمد في توليد محتوى غني بالمعلومات مثل الملصقات، العروض التقديمية، والمخططات التعليمية. يمثل هذا استكشافًا مهمًا نحو جيل جديد من نماذج \"التوليد الإدراكي\"، كما يتجلى في نموذج Nano Banana Pro.",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6 هو نموذج لغة كبير تم إطلاقه بواسطة Moonshot AI، يتميز بقدرات ممتازة في البرمجة واستدعاء الأدوات. يتم دعم نشر الخدمة فقط في الصين القارية.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed هو نموذج عالي السرعة من Kimi K2.7 Code. إنه نفس النموذج مثل Kimi K2.7 Code، ولكن سرعة الإخراج تصل إلى حوالي 180 رمز/ثانية، وفي سيناريوهات السياق القصير يمكن أن تصل إلى 260 رمز/ثانية، مما يوفر تجربة برمجة أكثر تطرفًا.",
"kimi-k2.7-code.description": "Kimi K2.7 Code هو نموذج وكيل يركز على الترميز من Moonshot AI مبني على Kimi K2.6، مع تحسينات كبيرة في مهام الترميز طويلة الأمد في العالم الحقيقي واستخدام أقل بنسبة 30% للرموز المتعلقة بالتفكير.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code هو نموذج برمجي يركز على البرمجة من Moonshot AI، مبني على Kimi K2.6، مع تحسينات كبيرة في مهام البرمجة الواقعية طويلة الأمد واستخدام أقل بحوالي 30% للرموز المتعلقة بالتفكير.",
"kling/kling-v3-image-generation.description": "يدعم ما يصل إلى 10 صور مرجعية، مما يتيح لك تثبيت الموضوعات والعناصر ونغمات الألوان لضمان نمط متسق. يجمع بين نقل النمط، الإشارة إلى الصور الشخصية/الشخصيات، دمج الصور المتعددة، والتلوين المحلي للتحكم المرن. يقدم تفاصيل واقعية للصور الشخصية، مع مرئيات عامة دقيقة وغنية بالطبقات، تتميز بألوان وأجواء سينمائية.",
"kling/kling-v3-omni-image-generation.description": "افتح مرئيات سرد القصص السينمائية مع توليد الصور الجديدة وإخراج مباشر بدقة 2K/4K. يحلل بعمق العناصر السمعية والبصرية في التعليمات لتنفيذ الإبداع بدقة. يدعم إدخالات مرجعية متعددة مرنة وترقيات جودة شاملة، مثالي للقصص المصورة، فن المفاهيم السردية، وتصميم المشاهد.",
"kling/kling-v3-omni-video-generation.description": "ميزة جديدة \"المرجع الشامل\" تدعم مقاطع فيديو من 3 إلى 8 ثوانٍ أو صور متعددة لتثبيت عناصر الشخصيات. يمكنها مطابقة الصوت الأصلي وحركات الشفاه لتمثيل الشخصيات بشكل أصيل. تعزز اتساق الفيديو والتعبير الديناميكي. تدعم التزامن السمعي البصري والتخطيط الذكي للقصص.",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "نماذج Kimi للرؤية (بما في ذلك moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) قادرة على فهم محتوى الصور مثل النصوص، الألوان، وأشكال الكائنات.",
"moonshot-v1-8k.description": "Moonshot V1 8K مُحسّن لتوليد النصوص القصيرة بكفاءة عالية، حيث يتعامل مع 8,192 رمزًا للمحادثات القصيرة، والملاحظات، والمحتوى السريع.",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code هو نموذج وكيل مصمم لمهام الترميز من Moonshot AI. مبني على Kimi K2.6، يظهر تحسينات كبيرة في مهام الترميز طويلة الأمد في العالم الحقيقي، مما يعزز قدرات إكمال المهام من البداية إلى النهاية في سير عمل هندسة البرمجيات المعقدة مع تقليل استخدام الرموز المتعلقة بالتفكير بنسبة حوالي 30% مقارنة بـ Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code هو نموذج موجه لمهام البرمجة من Moonshot AI. مبني على Kimi K2.6، ويظهر تحسينات كبيرة في مهام البرمجة الواقعية طويلة الأمد، مما يعزز قدرات إتمام المهام من البداية إلى النهاية في سير عمل هندسة البرمجيات المعقدة مع تقليل استخدام الرموز المتعلقة بالتفكير بحوالي 30% مقارنة بـ Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 هو إصدار موجه من سلسلة Kimi، مناسب للبرمجة عالية الجودة واستخدام الأدوات.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 هو تحديث يعزز أداء السياق والتفكير مع تحسينات في البرمجة.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo هو إصدار عالي السرعة من Kimi K2 Thinking، يقلل بشكل كبير من زمن الاستجابة مع الحفاظ على عمق التفكير.",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air هو نموذج أساسي لتطبيقات الوكلاء يستخدم بنية Mixture-of-Experts. مُحسّن لاستخدام الأدوات، وتصفح الويب، والهندسة البرمجية، وبرمجة الواجهات، ويتكامل مع وكلاء البرمجة مثل Claude Code وRoo Code. يستخدم استدلالًا هجينًا للتعامل مع السيناريوهات المعقدة واليومية.",
"zai-org/GLM-4.5V.description": "GLM-4.5V هو أحدث نموذج رؤية من Zhipu AI، مبني على نموذج النص الرائد GLM-4.5-Air (إجمالي 106 مليار، 12 مليار نشط) باستخدام بنية MoE لأداء قوي بتكلفة أقل. يتبع مسار GLM-4.1V-Thinking ويضيف 3D-RoPE لتحسين الاستدلال المكاني ثلاثي الأبعاد. مُحسّن من خلال التدريب المسبق، والتعلم الخاضع للإشراف، والتعلم المعزز، ويتعامل مع الصور، والفيديو، والمستندات الطويلة، ويتصدر النماذج المفتوحة في 41 معيارًا متعدد الوسائط. يتيح وضع التفكير للمستخدمين التوازن بين السرعة والعمق.",
"zai-org/GLM-5.2.description": "GLM-5.2 هو النموذج الرئيسي الأحدث من Z.ai المصمم لسيناريوهات المهام طويلة الأمد، يقدم تحسينات كبيرة في قدرات المهام طويلة الأمد مقارنة بـ GLM-5.1. هذا النموذج MoE بسعة 753B يدعم نافذة سياق مستقرة بسعة 1M رمز، يتميز بقدرات برمجة أقوى، ويدعم مستويات متعددة من جهد التفكير لتحقيق توازن مرن بين الأداء والكمون.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 هو أحدث نموذج رائد من Z.ai مصمم لسيناريوهات المهام طويلة الأمد، حيث يقدم تحسينات كبيرة في قدرات المهام طويلة الأمد مقارنة بـ GLM-5.1. هذا النموذج MoE بسعة 753 مليار يدعم نافذة سياق مستقرة تصل إلى 1 مليون رمز، ويتميز بقدرات برمجية أقوى، ويدعم مستويات متعددة من جهد التفكير لتحقيق توازن مرن بين الأداء والكمون.",
"zai/glm-4.5-air.description": "GLM-4.5 وGLM-4.5-Air هما أحدث النماذج الرائدة لدينا لتطبيقات الوكلاء، وكلاهما يستخدم بنية MoE. يحتوي GLM-4.5 على 355 مليار إجمالي و32 مليار نشط لكل تمرير؛ بينما GLM-4.5-Air أنحف بإجمالي 106 مليار و12 مليار نشط.",
"zai/glm-4.5.description": "سلسلة GLM-4.5 مصممة للوكلاء. النموذج الرائد GLM-4.5 يجمع بين الاستدلال، والبرمجة، ومهارات الوكلاء مع 355 مليار معلمة إجمالية (32 مليار نشطة) ويقدّم أوضاع تشغيل مزدوجة كنظام استدلال هجين.",
"zai/glm-4.5v.description": "GLM-4.5V مبني على GLM-4.5-Air، ويَرِث تقنيات GLM-4.1V-Thinking المثبتة، ويتوسع ببنية MoE قوية بسعة 106 مليار.",
diff --git a/locales/ar/plugin.json b/locales/ar/plugin.json
index 7b21b4a79d1..d36d2c8b700 100644
--- a/locales/ar/plugin.json
+++ b/locales/ar/plugin.json
@@ -32,6 +32,7 @@
"builtins.github.render.error": "خطأ",
"builtins.github.render.rawResult": "النتيجة الخام",
"builtins.github.render.updatedAt": "تم التحديث {{time}}",
+ "builtins.linear.render.empty": "لم يتم العثور على {{collection}}",
"builtins.linear.render.updatedAt": "تم التحديث {{time}}",
"builtins.lobe-activator.apiName.activateTools": "تفعيل الأدوات",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} غير موجود",
diff --git a/locales/ar/setting.json b/locales/ar/setting.json
index 30e67a7bb65..e9ed51e2dec 100644
--- a/locales/ar/setting.json
+++ b/locales/ar/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "قياسي",
"settingChatAppearance.fontSize.title": "حجم الخط",
"settingChatAppearance.highlighterTheme.title": "سمة تمييز الكود",
+ "settingChatAppearance.linkIcon.desc": "قم بإيقاف تشغيل هذا إذا كنت لا تحتاج إليه.",
+ "settingChatAppearance.linkIcon.previewMessage": "اطلع على <site></site> و <repo></repo> لمزيد من التفاصيل.",
+ "settingChatAppearance.linkIcon.title": "عرض الأيقونات في روابط الرسائل",
"settingChatAppearance.mermaidTheme.title": "سمة Mermaid",
"settingChatAppearance.title": "مظهر الدردشة",
"settingChatAppearance.transitionMode.desc": "اختر كيفية ظهور رسائل الدردشة",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "مساحة العمل الأساسية · حصة شهرية مشتركة · بدون مقاعد مدفوعة",
"workspace.billingPage.billing.basic.title": "مساحة العمل الأساسية",
"workspace.billingPage.billing.basic.upgradeCta": "الترقية إلى برو",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "تعديل محسوب بالتناسب",
"workspace.billingPage.billing.billingPeriodModal.body": "ستتغير فترة الفوترة لمساحة العمل الخاصة بك من {{current}} إلى {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "إلغاء",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "تغيير فترة الفوترة",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "رصيد محسوب بالتناسب للوقت غير المستخدم في الفترة الحالية",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "تعذر تحميل معاينة السعر. يرجى المحاولة مرة أخرى.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "إعادة المحاولة",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "سيتم تنفيذ التغيير بعد انتهاء الفترة الحالية.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "سيتم تنفيذ التغيير بعد انتهاء الفترة الحالية في {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "مقاعد مساحة العمل",
"workspace.billingPage.billing.billingPeriodModal.title": "تغيير فترة الفوترة؟",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "سنة",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} مقعد · {{credits}} ائتمانات / شهر",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} مقاعد · {{credits}} ائتمانات / شهر",
"workspace.billingPage.billing.breakdown.extraSeats": "مقاعد إضافية",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "سيتم التبديل إلى {{plan}} {{interval}} مع {{seats}} مقاعد في {{date}}. حافظ على رصيد حسابك كافيًا.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "قم بإلغاء التغيير المجدول قبل تحديث خطة الاشتراك الخاصة بك.",
"workspace.billingPage.billing.pending.keepPlanCta": "الاحتفاظ بـ {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "احتفظ بـ {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "تحتوي هذه المساحة على {{currentSeats}} مقاعد حاليًا وستتغير إلى {{seats}} مقاعد في {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "سيتم التغيير إلى {{seats}} مقاعد في {{date}}. حافظ على رصيد حسابك كافيًا.",
"workspace.billingPage.billing.pending.seatsTitle": "تغيير المقاعد مجدول",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "شراء مقاعد",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "شراء المزيد من المقاعد لخطة {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "شراء المزيد من المقاعد؟",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "جارٍ الحساب…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "إلغاء",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "سيتم توجيهك إلى صفحة الدفع لإكمال العملية.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "ترقية",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "عرض الفوترة",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "تم حفظ تحديث مقاعد مساحة العمل الخاصة بك.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "تم",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "لم نتمكن من إكمال هذا التحديث. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "حاول مرة أخرى",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "فشل التحديث",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "دعوة الأعضاء",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "تم خصم رسوم المقاعد النسبية من طريقة الدفع الحالية الخاصة بك.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} تم خصمه · المبلغ في الفاتورة",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "نتيجة الدفع",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "لم يتم خصم أي دفعة. التغيير مجدول لدورة الفوترة التالية.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "تم الترقية إلى {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "تمت ترقية الخطة",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} مقعدًا إجماليًا متاح الآن، بما في ذلك {{purchasedSeats}} مقاعد إضافية مدفوعة مسبقًا.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "نتيجة شراء المقاعد",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} مقعدًا إجماليًا سيتم تطبيقه في دورة الفوترة التالية، بما في ذلك {{purchasedSeats}} مقاعد إضافية مدفوعة مسبقًا.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "عرض أقل",
"workspace.billingPage.usage.model.unknown": "نموذج غير معروف",
"workspace.billingPage.usage.ops": "العمليات",
+ "workspace.billingPage.usage.privateAgents": "الوكلاء الخاصون",
+ "workspace.billingPage.usage.privateAgentsTooltip": "عدد الوكلاء الخاصين المملوكين لهذا العضو. يمكن للمالكين رؤية العدد لأغراض المحاسبة، ولكن ليس محتوى الوكلاء.",
"workspace.billingPage.usage.range.30d": "آخر 30 يومًا",
"workspace.billingPage.usage.range.all": "كل الوقت",
"workspace.billingPage.usage.range.cycle": "هذه الدورة",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "إنشاء حساب والانضمام",
"workspace.invitePage.switchAccountToAccept": "تسجيل الدخول كـ {{email}} لقبول الدعوة",
"workspace.invitePage.title": "دعوة مساحة العمل",
+ "workspace.invitePage.viewerLimitSubtitle": "لقد وصل هذا المس workspace إلى الحد الأقصى للمشاهدين. اطلب من المالك تحرير مقعد مشاهد أو ترقية الخطة قبل الانضمام.",
+ "workspace.invitePage.viewerLimitTitle": "تم الوصول إلى الحد الأقصى للمشاهدين",
"workspace.invitePage.workspaceLimitSubtitle": "لقد وصلت إلى الحد الأقصى لـ {{limit}} مساحات العمل. اترك واحدة قبل الانضمام إلى أخرى.",
"workspace.invitePage.workspaceLimitTitle": "تم الوصول إلى حد مساحة العمل",
"workspace.member.demote": "خفض إلى عضو",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "نقل الملكية الأساسية",
"workspace.members.empty": "لا يوجد أعضاء حتى الآن",
"workspace.members.invite.addAnother": "إضافة آخر",
+ "workspace.members.invite.askOwnerToBuySeats": "اطلب من مالك مساحة العمل شراء المزيد من المقاعد قبل دعوة أعضاء جدد.",
"workspace.members.invite.button": "دعوة",
+ "workspace.members.invite.buySeatsCta": "شراء المقاعد",
"workspace.members.invite.emailLabel": "عنوان البريد الإلكتروني",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} لديه بالفعل دعوة معلقة. أعد إرسالها أو قم بإلغائها من القائمة أدناه.",
"workspace.members.invite.errors.alreadyMember": "{{email}} هو بالفعل عضو في هذه مساحة العمل.",
"workspace.members.invite.failed": "فشل في إرسال الدعوة",
+ "workspace.members.invite.invitationLimitReached": "لقد وصل هذا workspace إلى الحد الأقصى للدعوات المعلقة وهو {{limit}}. قم بإلغاء الدعوات غير المستخدمة أو انتظر انتهاء صلاحيتها قبل إرسال دعوات جديدة.",
"workspace.members.invite.limitReached": "يمكن أن تحتوي هذه مساحة العمل على ما يصل إلى {{limit}} أعضاء. قم بإزالة عضو قبل دعوة المزيد.",
"workspace.members.invite.modal.cancel": "إلغاء",
"workspace.members.invite.modal.confirm": "تأكيد",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "تتطلب أذونات إضافية لإدارة أعضاء الفريق",
"workspace.members.invite.partialSuccess": "{{success}} تمت دعوتهم، {{failed}} فشلوا. تحقق من العناوين وحاول مرة أخرى.",
"workspace.members.invite.roleLabel": "الدور",
+ "workspace.members.invite.seatInsufficient": "تبقى فقط {{remaining}} مقعد(مقاعد). اشترِ المزيد من المقاعد لدعوة {{required}} عضو(أعضاء) جديد(جدد).",
+ "workspace.members.invite.seatInsufficientNoBuy": "تبقى فقط {{remaining}} مقعد(مقاعد). اطلب من مالك مساحة العمل شراء المزيد من المقاعد.",
"workspace.members.invite.submit": "دعوة",
"workspace.members.invite.subtitle": "أضف أعضاء جدد عن طريق إدخال عنوان بريدهم الإلكتروني وتعيين دور",
"workspace.members.invite.success": "تمت دعوة أعضاء الفريق بنجاح.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "اختر بعضًا للبدء — اكتشف المزيد في أي وقت.",
"workspace.onboarding.step4.cta": "دخول مساحة العمل",
"workspace.onboarding.step4.heading": "{{name}} جاهز!",
+ "workspace.onboarding.step4.marketProfileNudge": "قمنا بإعداد ملف تعريف المجتمع لـ <strong>{{name}}</strong> حتى يمكن تثبيت وكلاء مساحة العمل. <cta>خصصه في المجتمع</cta>.",
"workspace.onboarding.step4.subtitle": "تم إعداد مساحة العمل الخاصة بك. ابدأ التعاون مع فريقك الآن.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} وكيل جاهز للمساعدة. ابدأ التعاون مع فريقك الآن.",
"workspace.onboarding.step4Invite.addMore": "إضافة بريد إلكتروني آخر",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "إنهاء",
"workspace.onboarding.step4Invite.heading": "دعوة فريقك",
"workspace.onboarding.step4Invite.invitedCount": "تمت دعوة {{count}} عضو",
+ "workspace.onboarding.step4Invite.seatLimitReached": "يمكنك دعوة ما يصل إلى {{max}} زميل(زملاء) مع المقاعد الحالية.",
"workspace.onboarding.step4Invite.subtitle": "أحضر زملاءك إلى هذه المساحة الآن، أو قم بدعوتهم لاحقًا من إعدادات الأعضاء.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "تشمل خطتك {{includedSeats}} مقعد مجاني وتدعم حتى {{maxSeats}} مقعد مع المقاعد الإضافية المشتراة. قم بدعوة زملائك الآن، أو أضفهم لاحقًا من إعدادات الأعضاء.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "خطة الهواية تشمل حتى {{maxSeats}} مقعد، بما في ذلك أنت. قم بدعوة زملائك الآن، أو أضفهم لاحقًا من إعدادات الأعضاء.",
"workspace.onboarding.stepLabel": "الخطوة {{current}} من {{total}}",
"workspace.onboarding.title": "إعداد مساحة العمل الخاصة بك",
"workspace.onboarding.toast.failed": "تعذر الحفظ. يرجى المحاولة مرة أخرى.",
+ "workspace.onboarding.toast.installAgentsFailed": "تعذر إضافة الوكلاء المحددين. يمكنك تثبيتهم لاحقًا من السوق.",
"workspace.onboarding.toast.saved": "تم الحفظ",
"workspace.permission.requiresMember": "ليس لديك إذن للقيام بذلك. اطلب من مالك مساحة العمل منحك عضوًا أو أعلى.",
"workspace.permission.requiresOwner": "فقط مالكو مساحة العمل يمكنهم القيام بذلك. اطلب من مالك إذا كنت بحاجة إلى تغيير هذا.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "افتح التعاون، ائتمانات أكبر، وحدود أعلى للمعدل.",
"workspace.upgradeModal.successPage.activating": "تفعيل اشتراكك — عادةً ما يستغرق ذلك بضع ثوانٍ...",
"workspace.upgradeModal.successPage.amountLabel": "الإجمالي المدفوع",
- "workspace.upgradeModal.successPage.continueCta": "دعوة & متابعة",
"workspace.upgradeModal.successPage.desc": "تم الآن ترقية {{name}} إلى Pro. قم بدعوة زملاء الفريق لبدء التعاون.",
- "workspace.upgradeModal.successPage.inviteDesc": "أرسل الدعوات عبر البريد الإلكتروني. سيحصلون على رابط للانضمام إلى مساحة العمل.",
- "workspace.upgradeModal.successPage.inviteTitle": "دعوة زملاء الفريق إلى {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "تم الدفع في",
"workspace.upgradeModal.successPage.planTag": "مساحة العمل Pro",
"workspace.upgradeModal.successPage.processingDesc": "انتظر قليلاً — نحن نؤكد الدفع مع Stripe. عادةً ما يستغرق ذلك بضع ثوانٍ.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "دورة الفوترة",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} مقعد مشمول",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} مقاعد مشمولة",
- "workspace.upgradeModal.successPage.skipCta": "تخطي الآن",
"workspace.upgradeModal.successPage.title": "اكتملت الترقية",
"workspace.upgradeModal.successToast": null,
"workspace.upgradeModal.title": "الترقية إلى برو",
diff --git a/locales/ar/spend.json b/locales/ar/spend.json
index 3bcd401d449..d7fbd59c490 100644
--- a/locales/ar/spend.json
+++ b/locales/ar/spend.json
@@ -40,5 +40,28 @@
"table.more": "عرض التفاصيل",
"table.title": "تفاصيل استخدام الاعتمادات الحاسوبية",
"table.totalToken.input": "المدخلات",
- "table.totalToken.output": "المخرجات"
+ "table.totalToken.output": "المخرجات",
+ "usageStats.breakdown.cost": "التكلفة",
+ "usageStats.breakdown.model": "النموذج",
+ "usageStats.breakdown.requests": "الطلبات",
+ "usageStats.breakdown.title": "الاستخدام حسب النموذج",
+ "usageStats.breakdown.totalTokens": "الرموز",
+ "usageStats.byDay": "حسب اليوم",
+ "usageStats.byWeek": "حسب الأسبوع",
+ "usageStats.cards.cacheDesc": "معدل الضرب {{rate}}% · قراءة {{read}}",
+ "usageStats.cards.cacheSavings": "توفير التخزين المؤقت",
+ "usageStats.cards.cost": "التكلفة",
+ "usageStats.cards.token": "الرمز",
+ "usageStats.cards.tokenDesc": "الإدخال {{input}} · الإخراج {{output}}",
+ "usageStats.chart.cacheWrite": "كتابة التخزين المؤقت",
+ "usageStats.chart.input": "الإدخال",
+ "usageStats.chart.output": "الإخراج",
+ "usageStats.chart.spend": "التكلفة",
+ "usageStats.chart.title": "وقت إنفاق هذا الوكيل",
+ "usageStats.chart.tokens": "الرمز",
+ "usageStats.dimension": "البُعد",
+ "usageStats.entry": "الاستخدام والتكلفة",
+ "usageStats.range": "النطاق الزمني",
+ "usageStats.rangeSuffix": "آخر {{count}} يوم",
+ "usageStats.title": "الاستخدام والتكلفة"
}
diff --git a/locales/ar/topic.json b/locales/ar/topic.json
index 954e694ab89..9369c5e2a32 100644
--- a/locales/ar/topic.json
+++ b/locales/ar/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "توسيع جميع المجموعات",
"sidebar.title": "المواضيع",
"taskManager.agent": "وكيل المهام",
+ "taskManager.agentSelector.privateGroup": "خاص",
+ "taskManager.agentSelector.workspaceGroup": "مساحة العمل",
"taskManager.welcome": "اسألني عن مهامك",
"temp": "مؤقت",
"title": "الموضوع"
diff --git a/locales/ar/video.json b/locales/ar/video.json
index 40a1324679f..0ed37f8cc6f 100644
--- a/locales/ar/video.json
+++ b/locales/ar/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "إنشاء موضوع جديد",
"topic.deleteConfirm": "حذف موضوع الفيديو",
"topic.deleteConfirmDesc": "أنت على وشك حذف موضوع الفيديو هذا. لا يمكن التراجع عن هذا الإجراء.",
+ "topic.privateTitle": "خاص",
"topic.title": "مواضيع الفيديو",
- "topic.untitled": "موضوع افتراضي"
+ "topic.untitled": "موضوع افتراضي",
+ "topic.visibility.existingLocked": "تم تثبيت الرؤية للموضوع الحالي. قم بإنشاء موضوع جديد لاختيار مساحة مختلفة.",
+ "topic.workspaceTitle": "مساحة العمل"
}
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index 32c7d647d3e..d074d775f63 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "Модел",
"active": "Активен",
"addAgentFromMarket": "Добавяне от пазара",
+ "agent.publishToWorkspace": "Публикувай в работното пространство",
+ "agent.publishToWorkspaceConfirm": "Други членове на работното пространство ще могат да използват този агент. Няма да можете да го направите отново частен.",
+ "agent.publishToWorkspaceSuccess": "Публикувано в работното пространство",
"agentBuilder.installPlugin.authRequired": "Cloud MCP изисква влизане, за да продължите",
"agentBuilder.installPlugin.cancel": "Отказ",
"agentBuilder.installPlugin.clickApproveToConnect": "Кликнете \"Одобри\", за да се свържете и упълномощите тази интеграция",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "Добавете описание...",
"createTask.submit": "Създаване на задача",
"createTask.titlePlaceholder": "Заглавие на задачата",
+ "createTask.visibility.changeFailed": "Неуспешна промяна на видимостта на задачата",
+ "createTask.visibility.helperPrivate": "Само вие можете да видите тази задача.",
+ "createTask.visibility.helperWorkspace": "Всички в това работно пространство могат да видят тази задача.",
+ "createTask.visibility.label": "Видимост",
+ "createTask.visibility.private": "Частно",
+ "createTask.visibility.privateAgentDisabled": "Частните агенти могат да изпълняват само частни задачи. Изберете агент от работното пространство или променете задачата на Частна.",
+ "createTask.visibility.privateAgentLocked": "Частните агенти могат да изпълняват само частни задачи.",
+ "createTask.visibility.workspace": "Работно пространство",
"defaultAgent": "Агент по подразбиране",
"defaultGroupChat": "Група",
"defaultList": "Списък по подразбиране",
@@ -328,10 +339,12 @@
"input.inputCompletionError.title": "Предложенията за въвеждане са паузирани",
"input.modelUnavailable": "Текущият модел вече не е наличен. Изберете друг модел, за да продължите.",
"input.more": "Още",
+ "input.sandboxModeNotice": "Работи в временен Cloud Sandbox. Локалните изпълнения са по-бързи и имат достъп до вашите файлове.",
"input.send": "Изпрати",
"input.sendWithCmdEnter": "Натиснете <key/>, за да изпратите",
"input.sendWithEnter": "Натиснете <key/>, за да изпратите",
"input.stop": "Спри",
+ "input.switchToLocal": "Използвай локална машина",
"input.warp": "Нов ред",
"input.warpWithKey": "Натиснете <key/>, за да вмъкнете нов ред",
"inputQueue.delete": "Изтрий",
@@ -373,10 +386,13 @@
"memory.on.title": "Активиране на паметта",
"memory.title": "Памет",
"mention.category.agents": "Агенти",
+ "mention.category.files": "Файлове",
"mention.category.members": "Членове",
+ "mention.category.privateAgents": "Частни",
"mention.category.skills": "Умения",
"mention.category.tools": "Инструменти",
"mention.category.topics": "Теми",
+ "mention.category.workspaceAgents": "Работно пространство",
"mention.title": "Споменаване на членове",
"messageAction.collapse": "Свий съобщението",
"messageAction.continueGeneration": "Продължи генерирането",
@@ -398,12 +414,15 @@
"messageForward.deleteConfirm.title": "Изтриване на съобщения",
"messageForward.empty": "Изберете поне едно съобщение за препращане",
"messageForward.modal.empty": "Няма налични други агенти",
+ "messageForward.modal.moreMessages": "+{{count}} още съобщения",
"messageForward.modal.noRecipients": "Изберете агенти отляво, за да препратите",
"messageForward.modal.notePlaceholder": "Добавете бележка (по избор) — изпраща се заедно със съобщенията",
"messageForward.modal.recipients": "Изпращане до ({{count}})",
+ "messageForward.modal.removeRecipient": "Премахни получателя",
"messageForward.modal.searchPlaceholder": "Търсене на агенти…",
"messageForward.modal.sendCount": "Препращане ({{count}})",
"messageForward.modal.title": "Препращане към агент",
+ "messageForward.role.agent": "Агент",
"messageForward.role.assistant": "Асистент",
"messageForward.role.user": "Потребител",
"messageForward.success": "Препратено към {{title}}",
@@ -538,6 +557,17 @@
"rag.userQuery.actions.delete": "Изтрий пренаписаното запитване",
"rag.userQuery.actions.regenerate": "Генерирай запитване отново",
"regenerate": "Генерирай отново",
+ "resources.knowledgePicker.publicAgentHint": "Публичните агенти могат да използват само ресурси от работното пространство. Публикувайте частен ресурс в работното пространство, ако искате да го прикачите.",
+ "resources.mode.privateHint": "Вашето лично чекмедже — само вие можете да видите тези файлове",
+ "resources.mode.workspaceHint": "Споделено с всички в това работно пространство",
+ "resources.publishToWorkspace.confirm": "Други членове на работното пространство ще могат да видят този файл. Няма да можете да го направите отново частен.",
+ "resources.publishToWorkspace.error": "Неуспешно публикуване на файла в работното пространство",
+ "resources.publishToWorkspace.menu": "Публикувай в работното пространство",
+ "resources.publishToWorkspace.success": "Публикувано в работното пространство",
+ "resources.visibility.label": "Видимост",
+ "resources.visibility.private": "Частно",
+ "resources.visibility.privateTooltip": "Само вие можете да видите този файл",
+ "resources.visibility.workspace": "Работно пространство",
"roleAndArchive": "Профил и история на агента",
"runtimeEnv.mode.cloud": "Облачна пясъчник",
"runtimeEnv.mode.cloudDesc": "Работете в сигурна облачна пясъчник среда",
@@ -584,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Няма налични агенти",
"sessionGroup.noMatchingAgents": "Няма съвпадащи агенти",
"sessionGroup.noSelectedAgents": "Моля, изберете агенти",
+ "sessionGroup.publishToWorkspace": "Публикувай в работното пространство",
+ "sessionGroup.publishToWorkspaceConfirm": "Други членове на работното пространство ще могат да използват тази папка. Няма да можете да я направите отново частна.",
+ "sessionGroup.publishToWorkspaceSuccess": "Публикувано в работното пространство",
"sessionGroup.rename": "Преименувай групата",
"sessionGroup.renameSuccess": "Успешно преименуване",
"sessionGroup.searchAgents": "Търсене на агенти",
@@ -755,6 +788,12 @@
"taskDetail.priority.normal": "Нормален",
"taskDetail.priority.urgent": "Спешен",
"taskDetail.properties": "Свойства",
+ "taskDetail.publishToWorkspace.confirmContent": "След като бъде публикувана, тази задача става видима за всички членове на работното пространство и не може да бъде върната в частен режим.",
+ "taskDetail.publishToWorkspace.confirmHint": "Миналите изпълнения остават частни. Само изпълненията, създадени след публикуването, ще бъдат видими за членовете на работното пространство.",
+ "taskDetail.publishToWorkspace.confirmOk": "Публикувай",
+ "taskDetail.publishToWorkspace.confirmTitle": "Публикуване на задачата в работното пространство?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Тази задача е зададена на частен агент. Пренасочете я към агент от работното пространство или първо публикувайте агента.",
+ "taskDetail.publishToWorkspace.menuLabel": "Публикувай в работното пространство",
"taskDetail.reassignDisabled": "Не може да бъде преназначен агент, докато задачата се изпълнява",
"taskDetail.replyInThread": "Отговорете в тази нишка",
"taskDetail.replyPlaceholder": "Отговорете в тази нишка...",
@@ -865,6 +904,8 @@
"taskList.view.board": "Табло",
"taskList.view.list": "Списък",
"taskList.viewAll": "Преглед на всички",
+ "taskList.visibility.all": "Всички",
+ "taskList.visibility.label": "Видимост",
"taskSchedule.advancedSettings": "Разширени настройки",
"taskSchedule.clear": "Изчистване",
"taskSchedule.continuous": "Непрекъснато",
@@ -1158,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Копирай пътя",
"workingPanel.files.copyRelativePath": "Копирай относителния път",
- "workingPanel.files.count_one": "{{count}} файл",
- "workingPanel.files.count_other": "{{count}} файла",
"workingPanel.files.empty": "Няма файлове в това работно пространство",
+ "workingPanel.files.noSearchResults": "Няма съвпадащи файлове",
"workingPanel.files.open": "Отвори файл",
- "workingPanel.files.refresh": "Обнови",
+ "workingPanel.files.searchPlaceholder": "Филтрирай файлове...",
"workingPanel.files.showInReview": "Покажи в преглед",
"workingPanel.files.showInSystem": "Покажи в папка",
"workingPanel.files.title": "Файлове",
diff --git a/locales/bg-BG/common.json b/locales/bg-BG/common.json
index 7c2fdea3e97..1462306dee8 100644
--- a/locales/bg-BG/common.json
+++ b/locales/bg-BG/common.json
@@ -1,5 +1,6 @@
{
"about": "Относно",
+ "addNew": "Добави ново",
"advanceSettings": "Разширени настройки",
"agentOnboardingPromo.actionLabel": "Опитайте сега",
"agentOnboardingPromo.description": "Настройте своите екипи от агенти в кратък чат с Lobe AI. Съществуващите ви агенти ще останат непроменени.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Проверката на съдържателната политика не беше успешна. Моля, коригирайте подсказката.",
"getDesktopApp": "Изтеглете настолното приложение",
"goToTarget": "Отиди до целта",
+ "gotIt": "Разбрах",
"historyRange": "Обхват на историята",
"home.suggestQuestions": "Опитайте с тези примери",
"import": "Импортирай",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Преместване надолу",
"navPanel.moveUp": "Преместване нагоре",
"navPanel.pinned": "Закачено",
+ "navPanel.privateAgents": "Частни",
+ "navPanel.publicAgents": "Работно пространство",
"navPanel.resetDefault": "Възстановяване на настройките по подразбиране",
"navPanel.searchAgent": "Търсене на агент...",
"navPanel.searchRecent": "Търсене в скорошни...",
diff --git a/locales/bg-BG/discover.json b/locales/bg-BG/discover.json
index bed7d299cbd..e45eb37466e 100644
--- a/locales/bg-BG/discover.json
+++ b/locales/bg-BG/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "разклонения",
"fork.forksCount": "{{count}} разклонение",
"fork.forksCount_other": "{{count}} разклонения",
+ "fork.orgSetupRequired.memberContent": "Това работно пространство все още не е настроило профил на Общността, така че разклоненията от пазара не могат да бъдат запазени тук. Моля, помолете собственика на работното пространство да го настрои в Общност → Работно пространство.",
+ "fork.orgSetupRequired.ownerContent": "Това работно пространство все още не е настроило профил на Общността. Настройте го, за да разклонявате агенти от пазара във вашето работно пространство.",
+ "fork.orgSetupRequired.ownerOk": "Отидете на настройка",
+ "fork.orgSetupRequired.title": "Необходима е настройка на профила на Общността",
"fork.success": "Успешно разклоняване!",
"fork.viewAllForks": "Виж всички разклонения",
+ "fork.visibilityPrivate": "Частно",
+ "fork.visibilityPublic": "Работно пространство",
"groupAgents.tag": "Група",
"groupAgents.underReview": "В процес на преглед",
"home.communityAgents": "Агенти от общността",
diff --git a/locales/bg-BG/editor.json b/locales/bg-BG/editor.json
index 47f50925a49..7bbc96ee3f9 100644
--- a/locales/bg-BG/editor.json
+++ b/locales/bg-BG/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Умение",
"actionTag.category.tool": "Инструмент",
"actionTag.tooltip.agentSkill": "Зарежда пакет с умения от документите на този агент за заявката.",
+ "actionTag.tooltip.clickToView": "Щракнете, за да видите подробности",
"actionTag.tooltip.command": "Изпълнява локална slash команда преди изпращане.",
"actionTag.tooltip.projectSkill": "Изпраща се като команда със знак наклонена черта, така че CLI на агента да изпълни съответното умение за проект.",
"actionTag.tooltip.skill": "Зарежда многократно използваем пакет с умения за тази заявка.",
diff --git a/locales/bg-BG/electron.json b/locales/bg-BG/electron.json
index c2bc0663808..0a1e9d2e9c9 100644
--- a/locales/bg-BG/electron.json
+++ b/locales/bg-BG/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Настройки",
"navigation.task": "Задача",
"navigation.tasks": "Задачи",
+ "navigation.topics": "Теми",
"navigation.unpin": "Откачи",
"notification.finishChatGeneration": "Генерирането на съобщение от ИИ е завършено",
"proxy.auth": "Изисква се удостоверяване",
diff --git a/locales/bg-BG/eval.json b/locales/bg-BG/eval.json
index 3b10e00b92b..b343afd77a2 100644
--- a/locales/bg-BG/eval.json
+++ b/locales/bg-BG/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Сигурни ли сте, че искате да изтриете този бенчмарк? Свързаните набори от данни и записи за оценка също ще бъдат изтрити.",
"benchmark.actions.edit": "Редактиране на бенчмарк",
"benchmark.actions.export": "Експортиране",
+ "benchmark.card.bestPassRate": "Най-добра успеваемост",
"benchmark.card.bestScore": "Най-добър",
"benchmark.card.caseCount": "{{count}} случая",
+ "benchmark.card.casesLabel": "Случаи",
"benchmark.card.datasetCount": "{{count}} набора от данни",
"benchmark.card.empty": "Все още няма оценки",
"benchmark.card.emptyHint": "Създайте нова оценка от страницата с подробности за бенчмарка",
+ "benchmark.card.evalsLabel": "Оценки",
"benchmark.card.importDataset": "Импортиране на набор от данни",
"benchmark.card.noDataset": "Все още няма набори от данни",
"benchmark.card.noDatasetHint": "Импортирайте набор от данни, за да започнете оценяването",
"benchmark.card.noRecentRuns": "Няма скорошни оценки за показване",
"benchmark.card.recentRuns": "Скорошни оценки",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} преди провал",
+ "benchmark.card.run.queued": "На опашка",
"benchmark.card.runCount": "{{count}} оценки",
"benchmark.card.startFirst": "Започнете първата оценка",
"benchmark.card.viewAll": "Вижте всички {{count}}",
diff --git a/locales/bg-BG/file.json b/locales/bg-BG/file.json
index 57764a4697a..d88cbe95035 100644
--- a/locales/bg-BG/file.json
+++ b/locales/bg-BG/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Преместване на библиотека",
"library.list.transferTo": "Преместване в…",
"library.new": "Нова библиотека",
+ "library.privateEmpty": "Създайте частна библиотека",
+ "library.publish": "Публикувайте в работното пространство",
+ "library.publishConfirm.content": "Всички членове на работното пространство ще виждат тази база знания. Това действие не може да бъде отменено.",
+ "library.publishConfirm.title": "Публикуване на база знания в работното пространство?",
"library.title": "Библиотека",
+ "library.workspaceEmpty": "Създайте библиотека за работното пространство",
"loadMore": "Зареди още",
"menu.allFiles": "Всички файлове",
"menu.allPages": "Всички страници",
@@ -170,6 +175,13 @@
"pageList.noResults": "Няма намерени съвпадащи страници",
"pageList.pageCount": "Общо {{count}} страници",
"pageList.pageSizeItem": "{{count}} елемента",
+ "pageList.privateTitle": "Частно",
+ "pageList.publishConfirm.content": "След публикуване, всички в работното пространство ще могат да виждат тази страница. Няма да можете да я промените обратно на частна по-късно.",
+ "pageList.publishConfirm.ok": "Публикувай",
+ "pageList.publishConfirm.title": "Публикуване в работното пространство",
+ "pageList.publishError": "Неуспешно публикуване на страницата",
+ "pageList.publishSuccess": "Страницата е публикувана в работното пространство",
+ "pageList.publishToWorkspace": "Публикувайте в работното пространство",
"pageList.title": "Страници",
"pageList.transferConfirm": "Преместване",
"pageList.transferDescription": "Преместете тази страница (и всички папки, които съдържа) в друго работно пространство.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Преместване в…",
"pageList.transferWarning": "Това е еднопосочно преместване; връщането изисква ново преместване.",
"pageList.untitled": "Без заглавие",
+ "pageList.workspaceTitle": "Работно пространство",
"portal.openInPageEditor": "Редактирай в страница",
"preview.downloadFile": "Изтегли файл",
"preview.unsupportedFileAndContact": "Този файлов формат не се поддържа за онлайн преглед. Ако имате нужда от поддръжка, <1>свържете се с нас</1>.",
diff --git a/locales/bg-BG/image.json b/locales/bg-BG/image.json
index 4b40bdadb59..788e3c4da0a 100644
--- a/locales/bg-BG/image.json
+++ b/locales/bg-BG/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Изтриване на тема за генериране",
"topic.deleteConfirmDesc": "Ще изтриете тази тема за генериране. Това действие не може да бъде отменено, моля, бъдете внимателни.",
"topic.empty": "Няма теми за генериране",
+ "topic.privateTitle": "Частно",
"topic.title": "Тема на картината",
- "topic.untitled": "Тема по подразбиране"
+ "topic.untitled": "Тема по подразбиране",
+ "topic.visibility.existingLocked": "Видимостта е фиксирана за текущата тема. Създайте нова тема, за да изберете различно пространство.",
+ "topic.workspaceTitle": "Работно пространство"
}
diff --git a/locales/bg-BG/models.json b/locales/bg-BG/models.json
index 860c7687612..d160a29ad20 100644
--- a/locales/bg-BG/models.json
+++ b/locales/bg-BG/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turbo е основен модел, дълбоко оптимизиран за агентни сценарии. Той е специално оптимизиран за основните изисквания на агентните задачи от фазата на обучение, подобрявайки ключови способности като извикване на инструменти, следване на команди и изпълнение на дълги вериги.",
"glm-5.1.description": "GLM-5.1 е най-новият флагмански модел на Zhipu, съпоставим с Claude Opus 4.6 по общи възможности и умения за програмиране. Той се отличава при дългосрочни задачи, като може автономно да планира, изпълнява и итерира до 8 часа в рамките на една задача, което го прави идеална основа за автономни агенти и агенти за програмиране с дълъг хоризонт.",
"glm-5.2.description": "Серията GLM е хибриден модел за разсъждение от Zhipu AI, създаден за агенти, с режими на мислене и немислене. GLM-5.2 е водещият модел на Zhipu за ерата на задачи с дълъг хоризонт, поддържащ контекст от 1M токени и оптимизиран за планиране с дълъг хоризонт, сложно кодиране и изпълнение на агентски задачи.",
+ "glm-5.2.description": "Серията GLM е хибриден модел за разсъждение от Zhipu AI, създаден за агенти, с режими на мислене и немислене. GLM-5.2 е водещият модел на Zhipu за ерата на задачи с дълъг хоризонт, поддържащ контекст от 1M токена и оптимизиран за планиране с дълъг хоризонт, сложно програмиране и изпълнение на агенти.",
"glm-5.description": "GLM-5 е следващото поколение флагмански основен модел на Zhipu, създаден специално за агентно инженерство. Той осигурява надеждна продуктивност в сложни системни инженерни задачи и дългосрочни агентни задачи. В областта на програмирането и агентните възможности GLM-5 постига водещи резултати сред моделите с отворен код. В реални програмни сценарии потребителското изживяване се доближава до това на Claude Opus 4.5. Той превъзхожда в сложни системни инженерни задачи и дългосрочни агентни задачи, което го прави идеален основен модел за универсални агентни асистенти.",
"glm-5v-turbo.description": "GLM-5V-Turbo е основният мултимодален модел за кодиране на Zhipu, предназначен за задачи по визуално програмиране. Той обработва изображения, видеа, текст и файлове и е оптимизиран за дългосрочно планиране, сложни кодиращи задачи и изпълнение на агентни работни потоци в мултимодални среди.",
"glm-image.description": "GLM-Image е новият флагмански модел за генериране на изображения на Zhipu. Моделът е обучен изцяло върху местно произведени чипове и използва оригинална хибридна архитектура, която комбинира авторегресивно моделиране с дифузионен декодер. Този дизайн позволява силно глобално разбиране на инструкциите заедно с детайлно локално рендиране, преодолявайки дългогодишни предизвикателства при генерирането на съдържание, богато на знания, като постери, презентации и образователни диаграми. Той представлява важна стъпка към ново поколение парадигми на „когнитивно генеративни“ технологии, илюстрирани от Nano Banana Pro.",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6 е голям езиков модел, стартиран от Moonshot AI, с отлични възможности за кодиране и извикване на инструменти. Услугата се поддържа само в континентален Китай.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​е високоскоростен модел на Kimi K2.7 Code. Това е същият модел като Kimi K2.7 Code, но скоростта на изхода е около 180 токена/секунда, а в краткосрочни контекстни сценарии може да достигне 260 токена/секунда, осигурявайки по-екстремно програмистко изживяване.",
"kimi-k2.7-code.description": "Kimi K2.7 Code е агентски модел, фокусиран върху кодиране, създаден от Moonshot AI, базиран на Kimi K2.6, с значителни подобрения при задачи за кодиране с дълъг хоризонт в реалния свят и приблизително 30% по-ниска употреба на токени за мислене.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code е модел, фокусиран върху програмиране, създаден от Moonshot AI, базиран на Kimi K2.6, със значителни подобрения при реални задачи за програмиране с дълъг хоризонт и приблизително 30% по-ниска употреба на токени за мислене.",
"kling/kling-v3-image-generation.description": "Поддържа до 10 референтни изображения, позволявайки заключване на обекти, елементи и цветови тонове за осигуряване на консистентен стил. Комбинира трансфер на стил, референция на портрети/персонажи, сливане на множество изображения и локализирано инпейнтинг за гъвкав контрол. Осигурява реалистични детайли на портрети, с обща визуализация, която е деликатна и богато наситена, с кинематографични цветове и атмосфера.",
"kling/kling-v3-omni-image-generation.description": "Отключете кинематографични визуализации за разказване на истории с ново поколение генериране на изображения и директен изход в 2K/4K. Дълбоко анализира аудиовизуалните елементи в подсказките, за да изпълни прецизно творческите инструкции. Поддържа гъвкави мултиреферентни входове и цялостни подобрения в качеството, идеални за сторибордове, концептуално изкуство за разказване на истории и дизайн на сцени.",
"kling/kling-v3-omni-video-generation.description": "Новата функция „Всичко-в-едно референция“ поддържа видеа с продължителност 3–8 секунди или множество изображения за закотвяне на елементи на персонажи. Може да съответства на оригиналния звук и движения на устните за автентично представяне на персонажи. Подобрява консистентността на видеото и динамичното изразяване. Поддържа синхронизация на аудиовизуални елементи и интелигентно сторибордиране.",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "Моделите Kimi vision (включително moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) разбират съдържание на изображения като текст, цветове и форми на обекти.",
"moonshot-v1-8k.description": "Moonshot V1 8K е оптимизиран за генериране на кратки текстове с висока ефективност, обработвайки 8 192 токена за кратки чатове, бележки и бързо съдържание.",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code е агентски модел, предназначен за задачи с кодиране от Moonshot AI. Базиран на Kimi K2.6, той показва значителни подобрения при задачи за кодиране с дълъг хоризонт в реалния свят, подобрявайки способностите за завършване на задачи от край до край в сложни работни потоци за софтуерно инженерство, като намалява употребата на токени за мислене с около 30% в сравнение с Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code е агентен модел, предназначен за задачи, свързани с програмиране, от Moonshot AI. Базиран на Kimi K2.6, той показва значителни подобрения при реални задачи за програмиране с дълъг хоризонт, подобрявайки способностите за завършване на задачи от край до край в сложни работни процеси за софтуерно инженерство, като намалява употребата на токени за мислене с около 30% в сравнение с Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 е instruct вариант от серията Kimi, подходящ за висококачествен код и използване на инструменти.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 е актуализация, която разширява контекста и логическата производителност с оптимизации за програмиране.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo е високоскоростна версия на Kimi K2 Thinking, значително намаляваща латентността, като запазва дълбокото разсъждение.",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air е базов модел за агентни приложения с архитектура Mixture-of-Experts. Оптимизиран е за използване на инструменти, уеб браузване, софтуерно инженерство и фронтенд програмиране, и се интегрира с кодови агенти като Claude Code и Roo Code. Използва хибридно разсъждение за справяне както със сложни, така и с ежедневни задачи.",
"zai-org/GLM-4.5V.description": "GLM-4.5V е най-новият визуален езиков модел (VLM) на Zhipu AI, изграден върху флагманския текстов модел GLM-4.5-Air (106B общо, 12B активни) с MoE архитектура за висока производителност при по-ниска цена. Следва пътя на GLM-4.1V-Thinking и добавя 3D-RoPE за подобрено пространствено разсъждение в 3D. Оптимизиран чрез предварително обучение, SFT и RL, обработва изображения, видео и дълги документи и е сред водещите отворени модели в 41 публични мултимодални бенчмарка. Режимът Thinking позволява на потребителите да балансират между скорост и дълбочина.",
"zai-org/GLM-5.2.description": "GLM-5.2 е най-новият водещ модел на Z.ai, предназначен за сценарии с задачи с дълъг хоризонт, предлагащ значителни подобрения в способностите за задачи с дълъг хоризонт в сравнение с GLM-5.1. Този 753B MoE модел поддържа стабилен контекстен прозорец от 1M токени, разполага с по-силни програмиращи способности и поддържа множество нива на усилия за мислене за гъвкав баланс между производителност и латентност.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 е най-новият водещ модел на Z.ai, създаден за сценарии с задачи с дълъг хоризонт, предлагащ значителни подобрения в способностите за задачи с дълъг хоризонт в сравнение с GLM-5.1. Този модел с 753B MoE поддържа стабилен контекстен прозорец от 1M токена, разполага с по-силни програмиращи способности и поддържа множество нива на усилия за мислене за гъвкав баланс между производителност и латентност.",
"zai/glm-4.5-air.description": "GLM-4.5 и GLM-4.5-Air са най-новите ни флагмани за агентни приложения, и двата използват MoE. GLM-4.5 има 355B общо и 32B активни параметри на стъпка; GLM-4.5-Air е по-лек с 106B общо и 12B активни.",
"zai/glm-4.5.description": "Серията GLM-4.5 е проектирана за агенти. Флагманският GLM-4.5 комбинира разсъждение, програмиране и агентни умения с 355B общи параметри (32B активни) и предлага два режима на работа като хибридна система за разсъждение.",
"zai/glm-4.5v.description": "GLM-4.5V надгражда GLM-4.5-Air, наследявайки доказани техники от GLM-4.1V-Thinking и мащабира с мощна MoE архитектура с 106 милиарда параметъра.",
diff --git a/locales/bg-BG/plugin.json b/locales/bg-BG/plugin.json
index 5186fa5a7a5..ef01bbcc69d 100644
--- a/locales/bg-BG/plugin.json
+++ b/locales/bg-BG/plugin.json
@@ -32,6 +32,7 @@
"builtins.github.render.error": "Грешка",
"builtins.github.render.rawResult": "Суров резултат",
"builtins.github.render.updatedAt": "Обновено {{time}}",
+ "builtins.linear.render.empty": "Не е намерен {{collection}}",
"builtins.linear.render.updatedAt": "Обновено {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Активиране на инструменти",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} не са намерени",
diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.json
index ad8c0fd48e2..c5fa45c9378 100644
--- a/locales/bg-BG/setting.json
+++ b/locales/bg-BG/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Стандартен",
"settingChatAppearance.fontSize.title": "Размер на шрифта",
"settingChatAppearance.highlighterTheme.title": "Тема за оцветяване на код",
+ "settingChatAppearance.linkIcon.desc": "Изключете това, ако не ви е необходимо.",
+ "settingChatAppearance.linkIcon.previewMessage": "Разгледайте <site></site> и <repo></repo> за повече подробности.",
+ "settingChatAppearance.linkIcon.title": "Показване на икони в линковете на съобщенията",
"settingChatAppearance.mermaidTheme.title": "Тема за Mermaid диаграми",
"settingChatAppearance.title": "Външен вид на чата",
"settingChatAppearance.transitionMode.desc": "Изберете как да се появяват съобщенията в чата",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Основно работно пространство · споделен месечен лимит · без платени места",
"workspace.billingPage.billing.basic.title": "Основно работно пространство",
"workspace.billingPage.billing.basic.upgradeCta": "Надградете до Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Пропорционална корекция",
"workspace.billingPage.billing.billingPeriodModal.body": "Периодът на фактуриране на вашето работно пространство ще бъде променен от {{current}} на {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Отказ",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Промяна на периода на фактуриране",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Пропорционален кредит за неизползвано време от текущия период",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Неуспешно зареждане на предварителния преглед на цената. Моля, опитайте отново.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Опитайте отново",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Промяната ще влезе в сила след края на текущия период.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Промяната ще влезе в сила след края на текущия период на {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Места в работното пространство",
"workspace.billingPage.billing.billingPeriodModal.title": "Да променим периода на фактуриране?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "година",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} място · {{credits}} кредити / месец",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} места · {{credits}} кредити / месец",
"workspace.billingPage.billing.breakdown.extraSeats": "Допълнителни места",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Преминава към {{plan}} {{interval}} с {{seats}} места на {{date}}. Поддържайте достатъчен баланс в акаунта си.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Анулирайте планираната промяна преди да актуализирате абонаментния план.",
"workspace.billingPage.billing.pending.keepPlanCta": "Запази {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Запазете {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Това работно пространство в момента има {{currentSeats}} места и ще се промени на {{seats}} места на {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Променя се на {{seats}} места на {{date}}. Поддържайте достатъчен баланс в акаунта си.",
"workspace.billingPage.billing.pending.seatsTitle": "Планирана промяна на местата",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Купете места",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Купете повече места за плана {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Купуване на повече места?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Изчисляване…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Отказ",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Ще бъдете пренасочени към касата, за да завършите плащането.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Надграждане",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Преглед на фактурирането",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Актуализацията на местата във вашето работно пространство е запазена.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Готово",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Не успяхме да завършим тази актуализация. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Опитайте отново",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Актуализацията не бе успешна",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Поканете членове",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Пропорционалната такса за място е начислена на текущия ви метод на плащане.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} начислено · Сума в фактурирането",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Резултат от плащането",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Не е начислено плащане. Промяната е планирана за следващия цикъл на фактуриране.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Надградено до {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Планът е надграден",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} общо места са налични сега, включително {{purchasedSeats}} предплатени допълнителни места.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Резултат от покупката на места",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} общо места ще бъдат приложени в следващия цикъл на фактуриране, включително {{purchasedSeats}} предплатени допълнителни места.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Показване на по-малко",
"workspace.billingPage.usage.model.unknown": "Неизвестен модел",
"workspace.billingPage.usage.ops": "Операции",
+ "workspace.billingPage.usage.privateAgents": "Частни агенти",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Брой частни агенти, притежавани от този член. Собствениците могат да видят броя за счетоводни цели, но не и съдържанието на агентите.",
"workspace.billingPage.usage.range.30d": "Последните 30 дни",
"workspace.billingPage.usage.range.all": "Цялото време",
"workspace.billingPage.usage.range.cycle": "Този цикъл",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Създайте акаунт и се присъединете",
"workspace.invitePage.switchAccountToAccept": "Влезте като {{email}}, за да приемете",
"workspace.invitePage.title": "Покана за работно пространство",
+ "workspace.invitePage.viewerLimitSubtitle": "Това работно пространство е достигнало лимита за зрители. Помолете собственик да освободи място за зрител или да надгради плана, преди да се присъедините.",
+ "workspace.invitePage.viewerLimitTitle": "Достигнат е лимитът за зрители",
"workspace.invitePage.workspaceLimitSubtitle": "Достигнали сте максимума от {{limit}} работни пространства. Напуснете едно преди да се присъедините към друго.",
"workspace.invitePage.workspaceLimitTitle": "Достигнат лимит за работни пространства",
"workspace.member.demote": "Понижаване до член",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Прехвърляне на основната собственост",
"workspace.members.empty": "Все още няма членове",
"workspace.members.invite.addAnother": "Добавяне на още един",
+ "workspace.members.invite.askOwnerToBuySeats": "Помолете собственика на работното пространство да закупи повече места, преди да поканите нови членове.",
"workspace.members.invite.button": "Покана",
+ "workspace.members.invite.buySeatsCta": "Купете места",
"workspace.members.invite.emailLabel": "Имейл адрес",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} вече има чакаща покана. Изпратете отново или я отменете от списъка по-долу.",
"workspace.members.invite.errors.alreadyMember": "{{email}} вече е член на това работно пространство.",
"workspace.members.invite.failed": "Неуспешно изпращане на покана",
+ "workspace.members.invite.invitationLimitReached": "Това работно пространство е достигнало лимита за чакащи покани от {{limit}}. Отменете или изчакайте неизползваните покани да изтекат, преди да изпратите нови.",
"workspace.members.invite.limitReached": "Това работно пространство може да има до {{limit}} членове. Премахнете член преди да поканите повече.",
"workspace.members.invite.modal.cancel": "Отказ",
"workspace.members.invite.modal.confirm": "Потвърждение",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Необходими са допълнителни разрешения за управление на членове на екипа",
"workspace.members.invite.partialSuccess": "{{success}} поканени, {{failed}} неуспешни. Проверете адресите и опитайте отново.",
"workspace.members.invite.roleLabel": "Роля",
+ "workspace.members.invite.seatInsufficient": "Остават само {{remaining}} място(а). Купете повече места, за да поканите {{required}} нов(и) член(ове).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Остават само {{remaining}} място(а). Помолете собственика на работното пространство да закупи повече места.",
"workspace.members.invite.submit": "Покана",
"workspace.members.invite.subtitle": "Добавете нови членове, като въведете техния имейл адрес и зададете роля",
"workspace.members.invite.success": "Членовете на екипа са успешно поканени.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Изберете няколко за начало — открийте повече по всяко време.",
"workspace.onboarding.step4.cta": "Въведете работното пространство",
"workspace.onboarding.step4.heading": "{{name}} е готово!",
+ "workspace.onboarding.step4.marketProfileNudge": "Създадохме профил в Общността за <strong>{{name}}</strong>, за да могат агентите на работното пространство да бъдат инсталирани. <cta>Персонализирайте го в Общността</cta>.",
"workspace.onboarding.step4.subtitle": "Вашето работно пространство е настроено. Влезте и започнете да си сътрудничите с вашия екип.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} агент(и) са готови да помогнат. Влезте и започнете да си сътрудничите с вашия екип.",
"workspace.onboarding.step4Invite.addMore": "Добавете още един имейл",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Завърши",
"workspace.onboarding.step4Invite.heading": "Поканете вашия екип",
"workspace.onboarding.step4Invite.invitedCount": "Поканени {{count}} член(ове)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Можете да поканите до {{max}} колега(и) с текущите си места.",
"workspace.onboarding.step4Invite.subtitle": "Поканете колеги в това работно пространство сега или ги поканете по-късно от настройките за членове.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Вашият план включва {{includedSeats}} безплатни места и поддържа до {{maxSeats}} места с допълнително закупени места. Поканете колеги сега или ги добавете по-късно от настройките за членове.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby включва до {{maxSeats}} места, включително вас. Поканете колеги сега или ги добавете по-късно от настройките за членове.",
"workspace.onboarding.stepLabel": "Стъпка {{current}} от {{total}}",
"workspace.onboarding.title": "Настройте вашето работно пространство",
"workspace.onboarding.toast.failed": "Неуспешно запазване. Моля, опитайте отново.",
+ "workspace.onboarding.toast.installAgentsFailed": "Неуспешно добавяне на избраните агенти. Можете да ги инсталирате по-късно от пазара.",
"workspace.onboarding.toast.saved": "Запазено",
"workspace.permission.requiresMember": "Нямате разрешение да направите това. Помолете собственик на работното пространство да ви предостави членство или по-високо.",
"workspace.permission.requiresOwner": "Само собствениците на работното пространство могат да направят това. Помолете собственик, ако се нуждаете от промяна.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Отключете сътрудничество, по-големи кредити и по-високи лимити на скорост.",
"workspace.upgradeModal.successPage.activating": "Активиране на вашия абонамент — обикновено това отнема няколко секунди…",
"workspace.upgradeModal.successPage.amountLabel": "Общо платено",
- "workspace.upgradeModal.successPage.continueCta": "Поканете и продължете",
"workspace.upgradeModal.successPage.desc": "{{name}} вече е на Pro. Поканете съотборници, за да започнете сътрудничество.",
- "workspace.upgradeModal.successPage.inviteDesc": "Изпратете покани по имейл. Те ще получат връзка за присъединяване към работното пространство.",
- "workspace.upgradeModal.successPage.inviteTitle": "Поканете съотборници в {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Платено на",
"workspace.upgradeModal.successPage.planTag": "Работно пространство Pro",
"workspace.upgradeModal.successPage.processingDesc": "Изчакайте — потвърждаваме плащането със Stripe. Обикновено това отнема няколко секунди.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Цикъл на фактуриране",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} включено място",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} включени места",
- "workspace.upgradeModal.successPage.skipCta": "Пропуснете за сега",
"workspace.upgradeModal.successPage.title": "Надграждането е завършено",
"workspace.upgradeModal.successToast": "Надграждането е завършено — обновяване на вашия план…",
"workspace.upgradeModal.title": "Надградете до Pro",
diff --git a/locales/bg-BG/spend.json b/locales/bg-BG/spend.json
index 906752a0cba..72c18d6ad33 100644
--- a/locales/bg-BG/spend.json
+++ b/locales/bg-BG/spend.json
@@ -40,5 +40,28 @@
"table.more": "Виж подробности",
"table.title": "Подробности за използването на изчислителни кредити",
"table.totalToken.input": "Вход",
- "table.totalToken.output": "Изход"
+ "table.totalToken.output": "Изход",
+ "usageStats.breakdown.cost": "Разход",
+ "usageStats.breakdown.model": "Модел",
+ "usageStats.breakdown.requests": "Заявки",
+ "usageStats.breakdown.title": "Използване по модел",
+ "usageStats.breakdown.totalTokens": "Токени",
+ "usageStats.byDay": "По дни",
+ "usageStats.byWeek": "По седмици",
+ "usageStats.cards.cacheDesc": "Процент на попадения {{rate}}% · Прочетени {{read}}",
+ "usageStats.cards.cacheSavings": "Спестявания от кеш",
+ "usageStats.cards.cost": "Разход",
+ "usageStats.cards.token": "Токен",
+ "usageStats.cards.tokenDesc": "Вход {{input}} · Изход {{output}}",
+ "usageStats.chart.cacheWrite": "Запис в кеш",
+ "usageStats.chart.input": "Вход",
+ "usageStats.chart.output": "Изход",
+ "usageStats.chart.spend": "Разход",
+ "usageStats.chart.title": "Кога този агент е изразходвал",
+ "usageStats.chart.tokens": "Токен",
+ "usageStats.dimension": "Измерение",
+ "usageStats.entry": "Използване и разход",
+ "usageStats.range": "Времеви обхват",
+ "usageStats.rangeSuffix": "Последни {{count}} дни",
+ "usageStats.title": "Използване и разход"
}
diff --git a/locales/bg-BG/topic.json b/locales/bg-BG/topic.json
index 76a7487d321..89048af5baa 100644
--- a/locales/bg-BG/topic.json
+++ b/locales/bg-BG/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Разшири всички групи",
"sidebar.title": "Теми",
"taskManager.agent": "Агент за задачи",
+ "taskManager.agentSelector.privateGroup": "Частен",
+ "taskManager.agentSelector.workspaceGroup": "Работно пространство",
"taskManager.welcome": "Попитай ме за твоите задачи",
"temp": "Временна",
"title": "Тема"
diff --git a/locales/bg-BG/video.json b/locales/bg-BG/video.json
index 72798fbaf50..4300ef17ff7 100644
--- a/locales/bg-BG/video.json
+++ b/locales/bg-BG/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Създаване на нова тема",
"topic.deleteConfirm": "Изтриване на видео тема",
"topic.deleteConfirmDesc": "Ще изтриете тази видео тема. Това действие не може да бъде отменено.",
+ "topic.privateTitle": "Частно",
"topic.title": "Видео теми",
- "topic.untitled": "Тема по подразбиране"
+ "topic.untitled": "Тема по подразбиране",
+ "topic.visibility.existingLocked": "Видимостта е фиксирана за текущата тема. Създайте нова тема, за да изберете различно пространство.",
+ "topic.workspaceTitle": "Работно пространство"
}
diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.json
index a9439a710ad..0be757c46ce 100644
--- a/locales/de-DE/chat.json
+++ b/locales/de-DE/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Modell",
"active": "Aktiv",
+ "addAgentFromMarket": "Aus dem Markt hinzufügen",
+ "agent.publishToWorkspace": "In den Arbeitsbereich veröffentlichen",
+ "agent.publishToWorkspaceConfirm": "Andere Mitglieder des Arbeitsbereichs können diesen Agenten verwenden. Sie können ihn nicht wieder privat machen.",
+ "agent.publishToWorkspaceSuccess": "Im Arbeitsbereich veröffentlicht",
"agentBuilder.installPlugin.authRequired": "Cloud MCP erfordert eine Anmeldung zur Fortsetzung",
"agentBuilder.installPlugin.cancel": "Abbrechen",
"agentBuilder.installPlugin.clickApproveToConnect": "Klicken Sie auf „Genehmigen“, um diese Integration zu verbinden und zu autorisieren",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Für zukünftige Antworten gespeichert",
"agentSignal.receipts.memory.title": "Erinnerung gespeichert",
"agentSignal.receipts.recentActivity": "Letzte Aktivität",
+ "agentSignal.receipts.revert.conflict": "Neuere Version",
+ "agentSignal.receipts.revert.failed": "Fehlgeschlagen",
+ "agentSignal.receipts.revert.not_found": "Kann nicht rückgängig gemacht werden",
+ "agentSignal.receipts.revert.pending": "Wird zurückgesetzt",
+ "agentSignal.receipts.revert.rolled_back": "Zurückgesetzt",
+ "agentSignal.receipts.revert.undo": "Rückgängig machen",
+ "agentSignal.receipts.revert.unsupported": "Nicht unterstützt",
"agentSignal.receipts.skill.detail": "Verbessert, wie dieser Assistent ähnliche Anfragen bearbeitet",
"agentSignal.receipts.skill.title": "Fähigkeit aktualisiert",
"agents": "Agenten",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Werkzeugaufrufe",
"chatMode.agentCap.web": "Websuche",
"chatMode.agentDesc": "Agent kann Werkzeuge und Umgebung nutzen, um Aufgaben automatisch zu erledigen",
+ "chatMode.agentUnsupported": "Das aktuelle Modell unterstützt keine Tool-Aufrufe",
"chatMode.chat": "Chat",
"chatMode.chatDesc": "Keine Laufzeitumgebung oder Autonomie; verwendet weniger Tokens",
"chatMode.select": "Modus wechseln",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Beschreibung hinzufügen...",
"createTask.submit": "Aufgabe erstellen",
"createTask.titlePlaceholder": "Aufgabentitel",
+ "createTask.visibility.changeFailed": "Sichtbarkeit der Aufgabe konnte nicht geändert werden",
+ "createTask.visibility.helperPrivate": "Nur Sie können diese Aufgabe sehen.",
+ "createTask.visibility.helperWorkspace": "Jeder in diesem Arbeitsbereich kann diese Aufgabe sehen.",
+ "createTask.visibility.label": "Sichtbarkeit",
+ "createTask.visibility.private": "Privat",
+ "createTask.visibility.privateAgentDisabled": "Private Agenten können nur private Aufgaben ausführen. Wählen Sie einen Arbeitsbereich-Agenten oder ändern Sie diese Aufgabe auf Privat.",
+ "createTask.visibility.privateAgentLocked": "Private Agenten können nur private Aufgaben ausführen.",
+ "createTask.visibility.workspace": "Arbeitsbereich",
"defaultAgent": "Standardagent",
"defaultGroupChat": "Gruppe",
"defaultList": "Standardliste",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Eingabevorschläge pausiert",
"input.modelUnavailable": "Das aktuelle Modell ist nicht mehr verfügbar. Wählen Sie ein anderes Modell, um fortzufahren.",
"input.more": "Mehr",
+ "input.sandboxModeNotice": "Wird in einer temporären Cloud-Sandbox ausgeführt. Lokale Ausführungen sind schneller und können auf Ihre Dateien zugreifen.",
"input.send": "Senden",
"input.sendWithCmdEnter": "Drücken Sie <key/>, um zu senden",
"input.sendWithEnter": "Drücken Sie <key/>, um zu senden",
"input.stop": "Stopp",
+ "input.switchToLocal": "Lokale Maschine verwenden",
"input.warp": "Neue Zeile",
"input.warpWithKey": "Drücken Sie <key/>, um einen Zeilenumbruch einzufügen",
"inputQueue.delete": "Löschen",
@@ -364,10 +386,13 @@
"memory.on.title": "Speicher aktivieren",
"memory.title": "Speicher",
"mention.category.agents": "Agenten",
+ "mention.category.files": "Dateien",
"mention.category.members": "Mitglieder",
+ "mention.category.privateAgents": "Privat",
"mention.category.skills": "Fähigkeiten",
"mention.category.tools": "Werkzeuge",
"mention.category.topics": "Themen",
+ "mention.category.workspaceAgents": "Arbeitsbereich",
"mention.title": "Mitglieder erwähnen",
"messageAction.collapse": "Nachricht einklappen",
"messageAction.continueGeneration": "Generierung fortsetzen",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Was soll ich stattdessen tun?",
"messageAction.reaction": "Reaktion hinzufügen",
"messageAction.regenerate": "Neu generieren",
+ "messageAction.select": "Auswählen",
+ "messageForward.bar.cancel": "Abbrechen",
+ "messageForward.bar.delete": "Löschen",
+ "messageForward.bar.forward": "Weiterleiten",
+ "messageForward.bar.selectToHere": "Bis hier auswählen",
+ "messageForward.bar.selected": "{{count}} ausgewählt",
+ "messageForward.deleteConfirm.desc": "Die ausgewählten {{count}} Nachrichten löschen? Dies kann nicht rückgängig gemacht werden.",
+ "messageForward.deleteConfirm.success": "{{count}} Nachrichten gelöscht",
+ "messageForward.deleteConfirm.title": "Nachrichten löschen",
+ "messageForward.empty": "Wählen Sie mindestens eine Nachricht zum Weiterleiten aus",
+ "messageForward.modal.empty": "Keine weiteren Agenten verfügbar",
+ "messageForward.modal.moreMessages": "+{{count}} weitere Nachrichten",
+ "messageForward.modal.noRecipients": "Wählen Sie links Agenten aus, an die weitergeleitet werden soll",
+ "messageForward.modal.notePlaceholder": "Notiz hinzufügen (optional) — wird zusammen mit den Nachrichten gesendet",
+ "messageForward.modal.recipients": "Senden an ({{count}})",
+ "messageForward.modal.removeRecipient": "Empfänger entfernen",
+ "messageForward.modal.searchPlaceholder": "Agenten suchen…",
+ "messageForward.modal.sendCount": "Weiterleiten ({{count}})",
+ "messageForward.modal.title": "An Agent weiterleiten",
+ "messageForward.role.agent": "Agent",
+ "messageForward.role.assistant": "Assistent",
+ "messageForward.role.user": "Benutzer",
+ "messageForward.success": "Weitergeleitet an {{title}}",
+ "messageForward.successMulti": "Weitergeleitet an {{count}} Agenten",
+ "messageForward.transcript.header": "Die folgenden {{count}} Nachrichten wurden aus einem anderen Gespräch weitergeleitet. Bitte verwenden Sie sie als Kontext und fahren Sie fort:",
"messageLongCollapse.collapse": "Weniger anzeigen",
"messageLongCollapse.expand": "Mehr anzeigen",
"messages.dm.sentTo": "Nur sichtbar für {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Abfrage-Neuschreibung löschen",
"rag.userQuery.actions.regenerate": "Abfrage neu generieren",
"regenerate": "Neu generieren",
+ "resources.knowledgePicker.publicAgentHint": "Öffentliche Agenten können nur auf Ressourcen des Arbeitsbereichs zugreifen. Veröffentlichen Sie zuerst eine private Ressource im Arbeitsbereich, wenn Sie sie anhängen möchten.",
+ "resources.mode.privateHint": "Ihr eigener Bereich — nur Sie können diese Dateien sehen",
+ "resources.mode.workspaceHint": "Mit allen in diesem Arbeitsbereich geteilt",
+ "resources.publishToWorkspace.confirm": "Andere Mitglieder des Arbeitsbereichs können diese Datei sehen. Sie können sie nicht wieder privat machen.",
+ "resources.publishToWorkspace.error": "Datei konnte nicht im Arbeitsbereich veröffentlicht werden",
+ "resources.publishToWorkspace.menu": "Im Arbeitsbereich veröffentlichen",
+ "resources.publishToWorkspace.success": "Im Arbeitsbereich veröffentlicht",
+ "resources.visibility.label": "Sichtbarkeit",
+ "resources.visibility.private": "Privat",
+ "resources.visibility.privateTooltip": "Nur Sie können diese Datei sehen",
+ "resources.visibility.workspace": "Arbeitsbereich",
"roleAndArchive": "Agentenprofil & Verlauf",
"runtimeEnv.mode.cloud": "Cloud-Sandbox",
"runtimeEnv.mode.cloudDesc": "In einer sicheren Cloud-Sandbox ausführen",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Keine verfügbaren Agenten",
"sessionGroup.noMatchingAgents": "Keine passenden Agenten gefunden",
"sessionGroup.noSelectedAgents": "Bitte Agenten auswählen",
+ "sessionGroup.publishToWorkspace": "In den Arbeitsbereich veröffentlichen",
+ "sessionGroup.publishToWorkspaceConfirm": "Andere Mitglieder des Arbeitsbereichs können diesen Ordner verwenden. Sie können ihn nicht wieder privat machen.",
+ "sessionGroup.publishToWorkspaceSuccess": "Im Arbeitsbereich veröffentlicht",
"sessionGroup.rename": "Gruppe umbenennen",
"sessionGroup.renameSuccess": "Erfolgreich umbenannt",
"sessionGroup.searchAgents": "Agenten suchen",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normal",
"taskDetail.priority.urgent": "Dringend",
"taskDetail.properties": "Eigenschaften",
+ "taskDetail.publishToWorkspace.confirmContent": "Nach der Veröffentlichung wird diese Aufgabe für alle Mitglieder des Arbeitsbereichs sichtbar und kann nicht wieder privat gemacht werden.",
+ "taskDetail.publishToWorkspace.confirmHint": "Vergangene Ausführungen bleiben privat. Nur Ausführungen, die nach der Veröffentlichung erstellt werden, sind für Mitglieder des Arbeitsbereichs sichtbar.",
+ "taskDetail.publishToWorkspace.confirmOk": "Veröffentlichen",
+ "taskDetail.publishToWorkspace.confirmTitle": "Aufgabe im Arbeitsbereich veröffentlichen?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Diese Aufgabe ist einem privaten Agenten zugewiesen. Weisen Sie sie einem Arbeitsbereich-Agenten zu oder veröffentlichen Sie den Agenten zuerst.",
+ "taskDetail.publishToWorkspace.menuLabel": "Im Arbeitsbereich veröffentlichen",
"taskDetail.reassignDisabled": "Agent kann während der laufenden Aufgabe nicht neu zugewiesen werden",
"taskDetail.replyInThread": "In diesem Thread antworten",
"taskDetail.replyPlaceholder": "In diesem Thread antworten...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Tafel",
"taskList.view.list": "Liste",
"taskList.viewAll": "Alle anzeigen",
+ "taskList.visibility.all": "Alle",
+ "taskList.visibility.label": "Sichtbarkeit",
"taskSchedule.advancedSettings": "Erweiterte Einstellungen",
"taskSchedule.clear": "Löschen",
"taskSchedule.continuous": "Kontinuierlich",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Pfad kopieren",
"workingPanel.files.copyRelativePath": "Relativen Pfad kopieren",
- "workingPanel.files.count_one": "{{count}} Datei",
- "workingPanel.files.count_other": "{{count}} Dateien",
"workingPanel.files.empty": "Keine Dateien in diesem Arbeitsbereich",
+ "workingPanel.files.noSearchResults": "Keine passenden Dateien gefunden",
"workingPanel.files.open": "Datei öffnen",
- "workingPanel.files.refresh": "Aktualisieren",
+ "workingPanel.files.searchPlaceholder": "Dateien filtern...",
"workingPanel.files.showInReview": "Im Review anzeigen",
"workingPanel.files.showInSystem": "Im Ordner anzeigen",
"workingPanel.files.title": "Dateien",
diff --git a/locales/de-DE/common.json b/locales/de-DE/common.json
index 9d23990b8d0..7d965e2857a 100644
--- a/locales/de-DE/common.json
+++ b/locales/de-DE/common.json
@@ -1,5 +1,6 @@
{
"about": "Über",
+ "addNew": "Neu hinzufügen",
"advanceSettings": "Erweiterte Einstellungen",
"agentOnboardingPromo.actionLabel": "Jetzt ausprobieren",
"agentOnboardingPromo.description": "Richte deine Agent-Teams in einem kurzen Chat mit Lobe AI ein. Deine vorhandenen Agenten bleiben unverändert.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Inhaltsrichtlinienprüfung fehlgeschlagen. Bitte überarbeiten Sie Ihre Eingabe.",
"getDesktopApp": "Desktop-App herunterladen",
"goToTarget": "Zum Ziel gehen",
+ "gotIt": "Verstanden",
"historyRange": "Verlaufsspanne",
"home.suggestQuestions": "Probieren Sie diese Beispiele aus",
"import": "Importieren",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Nach unten verschieben",
"navPanel.moveUp": "Nach oben verschieben",
"navPanel.pinned": "Angeheftet",
+ "navPanel.privateAgents": "Privat",
+ "navPanel.publicAgents": "Arbeitsbereich",
"navPanel.resetDefault": "Auf Standard zurücksetzen",
"navPanel.searchAgent": "Agent suchen...",
"navPanel.searchRecent": "Zuletzt gesucht...",
diff --git a/locales/de-DE/discover.json b/locales/de-DE/discover.json
index 2f62f55b5bf..890f5497ed5 100644
--- a/locales/de-DE/discover.json
+++ b/locales/de-DE/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "Forks",
"fork.forksCount": "{{count}} Fork",
"fork.forksCount_other": "{{count}} Forks",
+ "fork.orgSetupRequired.memberContent": "Dieser Arbeitsbereich hat noch kein Community-Profil eingerichtet, daher können Forks aus dem Marktplatz hier nicht gespeichert werden. Bitte bitten Sie den Arbeitsbereichsinhaber, es unter Community → Arbeitsbereich einzurichten.",
+ "fork.orgSetupRequired.ownerContent": "Dieser Arbeitsbereich hat noch kein Community-Profil eingerichtet. Richten Sie eines ein, um Agenten aus dem Marktplatz in Ihren Arbeitsbereich zu forken.",
+ "fork.orgSetupRequired.ownerOk": "Zur Einrichtung gehen",
+ "fork.orgSetupRequired.title": "Community-Profil erforderlich",
"fork.success": "Erfolgreich geforkt!",
"fork.viewAllForks": "Alle Forks anzeigen",
+ "fork.visibilityPrivate": "Privat",
+ "fork.visibilityPublic": "Arbeitsbereich",
"groupAgents.tag": "Gruppe",
"groupAgents.underReview": "Wird überprüft",
"home.communityAgents": "Community-Agenten",
diff --git a/locales/de-DE/editor.json b/locales/de-DE/editor.json
index 1e6dabd90ad..138b7184a83 100644
--- a/locales/de-DE/editor.json
+++ b/locales/de-DE/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Fähigkeit",
"actionTag.category.tool": "Werkzeug",
"actionTag.tooltip.agentSkill": "Lädt ein Fertigkeitenpaket aus den Dokumenten dieses Agenten für die Anfrage.",
+ "actionTag.tooltip.clickToView": "Klicken Sie, um Details anzuzeigen",
"actionTag.tooltip.command": "Führt vor dem Senden einen clientseitigen Slash-Befehl aus.",
"actionTag.tooltip.projectSkill": "Als Slash-Befehl gesendet, damit die CLI des Agenten die passende Projektfertigkeit ausführt.",
"actionTag.tooltip.skill": "Lädt für diese Anfrage ein wiederverwendbares Fähigkeitspaket.",
diff --git a/locales/de-DE/electron.json b/locales/de-DE/electron.json
index a4361970063..ff82a0fd06f 100644
--- a/locales/de-DE/electron.json
+++ b/locales/de-DE/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Einstellungen",
"navigation.task": "Aufgabe",
"navigation.tasks": "Aufgaben",
+ "navigation.topics": "Themen",
"navigation.unpin": "Loslösen",
"notification.finishChatGeneration": "KI-Nachrichtenerstellung abgeschlossen",
"proxy.auth": "Authentifizierung erforderlich",
diff --git a/locales/de-DE/eval.json b/locales/de-DE/eval.json
index bb1844fab0c..b6bb750703b 100644
--- a/locales/de-DE/eval.json
+++ b/locales/de-DE/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Sind Sie sicher, dass Sie diesen Benchmark löschen möchten? Verknüpfte Datensätze und Bewertungsaufzeichnungen werden ebenfalls gelöscht.",
"benchmark.actions.edit": "Benchmark bearbeiten",
"benchmark.actions.export": "Exportieren",
+ "benchmark.card.bestPassRate": "Beste Erfolgsquote",
"benchmark.card.bestScore": "Beste",
"benchmark.card.caseCount": "{{count}} Fälle",
+ "benchmark.card.casesLabel": "Fälle",
"benchmark.card.datasetCount": "{{count}} Datensätze",
"benchmark.card.empty": "Noch keine Bewertungen",
"benchmark.card.emptyHint": "Erstellen Sie eine neue Bewertung auf der Benchmark-Detailseite",
+ "benchmark.card.evalsLabel": "Auswertungen",
"benchmark.card.importDataset": "Datensatz importieren",
"benchmark.card.noDataset": "Noch keine Datensätze",
"benchmark.card.noDatasetHint": "Importieren Sie einen Datensatz, um mit der Bewertung zu beginnen",
"benchmark.card.noRecentRuns": "Keine aktuellen Bewertungen anzuzeigen",
"benchmark.card.recentRuns": "Aktuelle Bewertungen",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} vor Fehler",
+ "benchmark.card.run.queued": "Warteschlange",
"benchmark.card.runCount": "{{count}} Bewertungen",
"benchmark.card.startFirst": "Erste Bewertung starten",
"benchmark.card.viewAll": "Alle {{count}} anzeigen",
diff --git a/locales/de-DE/file.json b/locales/de-DE/file.json
index 017db7ed918..d866c5a2a2b 100644
--- a/locales/de-DE/file.json
+++ b/locales/de-DE/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Bibliothek verschieben",
"library.list.transferTo": "Verschieben nach…",
"library.new": "Neue Bibliothek",
+ "library.privateEmpty": "Erstellen Sie eine private Bibliothek",
+ "library.publish": "In den Arbeitsbereich veröffentlichen",
+ "library.publishConfirm.content": "Alle Mitglieder des Arbeitsbereichs werden diese Wissensdatenbank sehen. Diese Aktion kann nicht rückgängig gemacht werden.",
+ "library.publishConfirm.title": "Wissensdatenbank im Arbeitsbereich veröffentlichen?",
"library.title": "Bibliothek",
+ "library.workspaceEmpty": "Erstellen Sie eine Arbeitsbereichsbibliothek",
"loadMore": "Mehr laden",
"menu.allFiles": "Alle Dateien",
"menu.allPages": "Alle Seiten",
@@ -170,6 +175,13 @@
"pageList.noResults": "Keine passenden Seiten gefunden",
"pageList.pageCount": "Insgesamt {{count}} Seiten",
"pageList.pageSizeItem": "{{count}} Elemente",
+ "pageList.privateTitle": "Privat",
+ "pageList.publishConfirm.content": "Nach der Veröffentlichung können alle im Arbeitsbereich diese Seite sehen. Sie können sie später nicht mehr auf privat zurücksetzen.",
+ "pageList.publishConfirm.ok": "Veröffentlichen",
+ "pageList.publishConfirm.title": "Im Arbeitsbereich veröffentlichen",
+ "pageList.publishError": "Seite konnte nicht veröffentlicht werden",
+ "pageList.publishSuccess": "Seite im Arbeitsbereich veröffentlicht",
+ "pageList.publishToWorkspace": "Im Arbeitsbereich veröffentlichen",
"pageList.title": "Seiten",
"pageList.transferConfirm": "Verschieben",
"pageList.transferDescription": "Diese Seite (und alle darin enthaltenen Ordner) in einen anderen Arbeitsbereich verschieben.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Verschieben nach…",
"pageList.transferWarning": "Dies ist eine einseitige Verschiebung; eine Rückgängigmachung erfordert eine erneute Verschiebung.",
"pageList.untitled": "Unbenannt",
+ "pageList.workspaceTitle": "Arbeitsbereich",
"portal.openInPageEditor": "In Seite bearbeiten",
"preview.downloadFile": "Datei herunterladen",
"preview.unsupportedFileAndContact": "Dieses Dateiformat wird derzeit nicht für die Online-Vorschau unterstützt. Wenn Sie eine Vorschau wünschen, <1>kontaktieren Sie uns</1> gerne.",
diff --git a/locales/de-DE/image.json b/locales/de-DE/image.json
index 570a4adc829..3264479ce31 100644
--- a/locales/de-DE/image.json
+++ b/locales/de-DE/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Generierungsthema löschen",
"topic.deleteConfirmDesc": "Sie sind dabei, dieses Generierungsthema zu löschen. Diese Aktion kann nicht rückgängig gemacht werden. Bitte seien Sie vorsichtig.",
"topic.empty": "Keine Generierungsthemen",
+ "topic.privateTitle": "Privat",
"topic.title": "Thema des Gemäldes",
- "topic.untitled": "Standardthema"
+ "topic.untitled": "Standardthema",
+ "topic.visibility.existingLocked": "Die Sichtbarkeit ist für das aktuelle Thema festgelegt. Erstellen Sie ein neues Thema, um einen anderen Bereich auszuwählen.",
+ "topic.workspaceTitle": "Arbeitsbereich"
}
diff --git a/locales/de-DE/models.json b/locales/de-DE/models.json
index 918388a71c3..3f557dd62c0 100644
--- a/locales/de-DE/models.json
+++ b/locales/de-DE/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 ist das bisher intelligenteste Modell von Anthropic.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 ist die beste Kombination aus Geschwindigkeit und Intelligenz von Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 von Anthropic — ausgewogenes Modell mit starken Coding- und Reasoning-Fähigkeiten.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 ist das agentischste Sonnet-Modell von Anthropic, entwickelt für nachhaltiges Codieren, Werkzeugnutzung und Workflows mit langem Kontext bei Sonnet-typischer Geschwindigkeit und Effizienz.",
"codegeex-4.description": "CodeGeeX-4 ist ein leistungsstarker KI-Coding-Assistent, der mehrsprachige Q&A und Codevervollständigung unterstützt, um die Produktivität von Entwicklern zu steigern.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B ist ein mehrsprachiges Codegenerierungsmodell, das Codevervollständigung, Codeinterpretation, Websuche, Funktionsaufrufe und Q&A auf Repositoriumsebene unterstützt. Es deckt eine Vielzahl von Softwareentwicklungsszenarien ab und ist eines der besten Code-Modelle unter 10 Milliarden Parametern.",
"codegemma.description": "CodeGemma ist ein leichtgewichtiges Modell für verschiedene Programmieraufgaben, das schnelle Iteration und Integration ermöglicht.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro ist Googles leistungsstärkstes Agenten- und Vibe-Coding-Modell. Es bietet reichhaltigere visuelle Inhalte und tiefere Interaktionen auf Basis modernster logischer Fähigkeiten.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) ist Googles schnellstes natives Bildgenerierungsmodell mit Denkunterstützung, konversationaler Bildgenerierung und -bearbeitung.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) ist Googles schnellstes natives Bildgenerierungsmodell mit Unterstützung für Denken, konversationelle Bildgenerierung und -bearbeitung.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) ist Googles schnellstes und kosteneffizientestes Bildgenerierungsmodell, entwickelt für hochvolumige Generierung und Bearbeitung.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) ist Googles schnellstes und kosteneffizientestes Bildgenerierungsmodell, entwickelt für hochvolumige Generierung und Bearbeitung.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview ist Googles kosteneffizientestes multimodales Modell, optimiert für hochvolumige agentische Aufgaben, Übersetzung und Datenverarbeitung.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite ist Googles kosteneffizientestes multimodales Modell, optimiert für hochvolumige agentenbasierte Aufgaben, Übersetzungen und Datenverarbeitung.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview verbessert Gemini 3 Pro mit erweiterten Fähigkeiten für logisches Denken und unterstützt mittleres Denklevel.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V bietet starkes Bildverständnis und logisches Denken für visuelle Aufgaben.",
"glm-5-turbo.description": "GLM-5-Turbo ist ein Grundmodell, das speziell für agentische Szenarien optimiert wurde. Es wurde speziell für die Kernanforderungen von Agentenaufgaben ab der Trainingsphase optimiert und verbessert Schlüsselkompetenzen wie Werkzeugaufruf, Befolgung von Befehlen und Langkettenausführung. Es ist ideal für den Aufbau leistungsstarker Agentenassistenten.",
"glm-5.1.description": "GLM-5.1 ist Zhipus neuestes Flaggschiffmodell und hinsichtlich Gesamtleistung sowie Programmierfähigkeiten mit Claude Opus 4.6 vergleichbar. Es überzeugt bei langfristigen Aufgaben, da es bis zu 8 Stunden an einer einzelnen Aufgabe autonom planen, ausführen und iterieren kann, und bildet damit eine ideale Grundlage für autonome Agenten und Coding-Agenten mit langfristigem Planungshorizont.",
- "glm-5.2.description": "Die GLM-Serie ist ein hybrides Denkmodell von Zhipu AI, das für Agenten entwickelt wurde und Denk- sowie Nicht-Denk-Modi unterstützt. GLM-5.2 ist Zhipus Flaggschiffmodell für die Ära von Langzeitaufgaben, unterstützt 1M Token Kontext und ist optimiert für Langzeitplanung, komplexes Codieren und Agentenausführung.",
+ "glm-5.2.description": "Die GLM-Serie ist ein hybrides Denkmodell von Zhipu AI, das für Agenten entwickelt wurde und Denk- sowie Nicht-Denk-Modi bietet. GLM-5.2 ist Zhipus Flaggschiffmodell für die Ära der Langzeitaufgaben, unterstützt einen Kontext von 1 Million Tokens und ist für Langzeitplanung, komplexes Programmieren und Agentenausführung optimiert.",
"glm-5.description": "GLM-5 ist Zhipus nächstes Generation-Flaggschiff-Grundlagenmodell, speziell entwickelt für Agentic Engineering. Es bietet zuverlässige Produktivität in komplexen Systemengineering- und langfristigen agentischen Aufgaben. In den Bereichen Codierung und Agentenfähigkeiten erzielt GLM-5 eine Leistung auf dem neuesten Stand der Technik unter den Open-Source-Modellen. In realen Programmier-Szenarien nähert sich die Benutzererfahrung der von Claude Opus 4.5. Es zeichnet sich durch komplexes Systemengineering und langfristige agentische Aufgaben aus und ist damit ein ideales Grundlagenmodell für allgemeine Agentenassistenten.",
"glm-5v-turbo.description": "GLM-5V-Turbo ist Zhipus multimodales Codierungs-Grundlagenmodell für visuelle Programmieraufgaben. Es verarbeitet nativ Bilder, Videos, Texte und Dateien und ist für langfristige Planung, komplexes Codieren und Agentenausführung in multimodalen Workflows optimiert.",
"glm-image.description": "GLM-Image ist Zhipus neues Flaggschiff-Bildgenerierungsmodell. Das Modell wurde vollständig auf inländisch produzierten Chips trainiert und verwendet eine originelle hybride Architektur, die autoregressives Modellieren mit einem Diffusionsdecoder kombiniert. Dieses Design ermöglicht ein starkes globales Verständnis von Anweisungen sowie eine feingranulare lokale Detailwiedergabe und überwindet langjährige Herausforderungen bei der Generierung von wissensreichen Inhalten wie Postern, Präsentationen und Bildungsdiagrammen. Es stellt eine wichtige Erkundung hin zu einer neuen Generation von „kognitiven generativen“ Technologieparadigmen dar, exemplifiziert durch Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 ist Kimi's vielseitigstes Modell bisher, mit einer nativen multimodalen Architektur, die sowohl visuelle als auch Texteingaben unterstützt, 'Denk'- und 'Nicht-Denk'-Modi sowie Konversations- und Agentenaufgaben.",
"kimi-k2.6.description": "Kimi-K2.6 ist ein großes Sprachmodell von Moonshot AI mit hervorragenden Programmier- und Tool-Aufruf-Fähigkeiten. Der Dienst wird nur in Festlandchina unterstützt.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​ist ein Hochgeschwindigkeitsmodell von Kimi K2.7 Code. Es handelt sich um dasselbe Modell wie Kimi K2.7 Code, jedoch mit einer Ausgabegeschwindigkeit von etwa 180 Tokens/s, wobei in Kurzkontext-Szenarien bis zu 260 Tokens/s erreicht werden können, was ein noch extremeres Programmiererlebnis bietet.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code ist Moonshot AIs agentisches Modell mit Fokus auf Codierung, basierend auf Kimi K2.6. Es bietet erhebliche Verbesserungen bei realen Langzeit-Codierungsaufgaben und reduziert den Denk-Token-Verbrauch um etwa 30%.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code ist das auf Codierung fokussierte agentische Modell von Moonshot AI, das auf Kimi K2.6 aufbaut und erhebliche Verbesserungen bei realen Langzeit-Codierungsaufgaben bietet, während der Verbrauch von Denk-Tokens um etwa 30 % reduziert wird.",
"kling/kling-v3-image-generation.description": "Unterstützt bis zu 10 Referenzbilder, sodass Sie Subjekte, Elemente und Farbtöne sperren können, um einen konsistenten Stil zu gewährleisten. Kombiniert Stilübertragung, Porträt-/Charakterreferenzierung, Multi-Bild-Fusion und lokales Inpainting für flexible Kontrolle. Liefert realistische Porträtdetails mit insgesamt zarten und reichhaltig geschichteten visuellen Elementen, die filmische Farben und Atmosphäre bieten.",
"kling/kling-v3-omni-image-generation.description": "Entfesseln Sie filmische Erzählbilder mit neuer Serienbildgenerierung und direktem 2K/4K-Ausgang. Analysiert audiovisuell Elemente in Aufforderungen tiefgehend, um kreative Anweisungen präzise auszuführen. Unterstützt flexible Multi-Referenz-Eingaben und umfassende Qualitätsverbesserungen, ideal für Storyboards, narrative Konzeptkunst und Szenendesign.",
"kling/kling-v3-omni-video-generation.description": "Die neue „All-in-One-Referenz“-Funktion unterstützt 3–8 Sekunden Videos oder mehrere Bilder, um Charakterelemente zu verankern. Kann Originalaudio und Lippenbewegungen für authentische Charakterdarstellung anpassen. Verbessert die Konsistenz von Videos und dynamischen Ausdruck. Unterstützt audiovisuelle Synchronisation und intelligentes Storyboarding.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA ist ein multimodales Modell, das einen Vision-Encoder mit Vicuna kombiniert und starkes Verständnis für Vision und Sprache bietet.",
"llava:13b.description": "LLaVA ist ein multimodales Modell, das einen Vision-Encoder mit Vicuna kombiniert und starkes Verständnis für Vision und Sprache bietet.",
"llava:34b.description": "LLaVA ist ein multimodales Modell, das einen Vision-Encoder mit Vicuna kombiniert und starkes Verständnis für Vision und Sprache bietet.",
+ "lobehub-glm-5.2-fast.description": "Schnelle Variante des GLM-5.2 mit deutlich geringerer Latenz. Gleiche Fähigkeiten wie GLM-5.2 — kostet mehr, reagiert jedoch wesentlich schneller.",
"magistral-medium-2509.description": "Magistral Medium 1.2 ist ein Grenzmodell für Argumentation von Mistral AI (Sep 2025) mit Unterstützung für Vision.",
"magistral-small-2509.description": "Magistral Small 1.2 ist ein Open-Source-Kleinmodell für logisches Denken von Mistral AI (September 2025) mit Bildverarbeitungsunterstützung.",
"mathstral.description": "MathΣtral wurde für wissenschaftliche Forschung und mathematisches Denken entwickelt – mit starker Rechenleistung und Erklärungsfähigkeit.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K unterstützt 32.768 Tokens für mittellange Kontexte – ideal für lange Dokumente und komplexe Dialoge in der Inhaltserstellung, Berichterstattung und Chat-Systemen.",
"moonshot-v1-8k-vision-preview.description": "Kimi Vision-Modelle (einschließlich moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) können Bildinhalte wie Text, Farben und Objektformen verstehen.",
"moonshot-v1-8k.description": "Moonshot V1 8K ist für die Generierung kurzer Texte mit effizienter Leistung optimiert und verarbeitet 8.192 Tokens – ideal für kurze Chats, Notizen und schnelle Inhalte.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code ist ein agentisches Modell von Moonshot AI, das für Codierungsaufgaben entwickelt wurde. Basierend auf Kimi K2.6 zeigt es signifikante Verbesserungen bei realen Langzeit-Codierungsaufgaben, verbessert die End-to-End-Aufgabenerfüllung in komplexen Softwareentwicklungs-Workflows und reduziert den Denk-Token-Verbrauch um etwa 30% im Vergleich zu Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code ist ein agentisches Modell von Moonshot AI, das für Codierungsaufgaben entwickelt wurde. Es basiert auf Kimi K2.6 und zeigt signifikante Verbesserungen bei realen Langzeit-Codierungsaufgaben, verbessert die End-to-End-Aufgabenerfüllung in komplexen Softwareentwicklungs-Workflows und reduziert den Verbrauch von Denk-Tokens um etwa 30 % im Vergleich zu Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 ist die Instruct-Variante der Kimi-Serie, geeignet für hochwertigen Code und Werkzeugnutzung.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 ist ein Update mit erweitertem Kontext und verbesserter Denkfähigkeit sowie Optimierungen für die Programmierung.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo ist eine Hochgeschwindigkeitsversion von Kimi K2 Thinking mit deutlich reduzierter Latenz bei gleichbleibender Tiefe im Denkprozess.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 ist Zhipus neue Generation des Flaggschiffmodells mit 355B Gesamtparametern und 32B aktiven Parametern, vollständig aufgerüstet in allgemeinem Dialog, Schlussfolgerungen und Agentenfähigkeiten. GLM-4.7 verbessert Interleaved Thinking und führt Preserved Thinking und Turn-level Thinking ein.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air ist ein Basismodell für Agentenanwendungen mit Mixture-of-Experts-Architektur. Es ist optimiert für Toolnutzung, Web-Browsing, Softwareentwicklung und Frontend-Codierung und integriert sich mit Code-Agenten wie Claude Code und Roo Code. Es nutzt hybrides Reasoning für komplexe und alltägliche Szenarien.",
"zai-org/GLM-4.5V.description": "GLM-4.5V ist Zhipu AIs neuestes VLM, basierend auf dem GLM-4.5-Air-Textmodell (106B gesamt, 12B aktiv) mit MoE-Architektur für starke Leistung bei geringeren Kosten. Es folgt dem GLM-4.1V-Thinking-Ansatz und fügt 3D-RoPE zur Verbesserung des 3D-Räumlichkeitsdenkens hinzu. Optimiert durch Pretraining, SFT und RL, verarbeitet es Bilder, Videos und lange Dokumente und belegt Spitzenplätze unter offenen Modellen in 41 öffentlichen multimodalen Benchmarks. Ein Thinking-Modus-Schalter ermöglicht die Balance zwischen Geschwindigkeit und Tiefe.",
- "zai-org/GLM-5.2.description": "GLM-5.2 ist Z.ais neuestes Flaggschiffmodell, das für Langzeitaufgabenszenarien entwickelt wurde und signifikante Verbesserungen der Langzeitaufgabenfähigkeiten im Vergleich zu GLM-5.1 bietet. Dieses 753B MoE-Modell unterstützt ein stabiles 1M-Token-Kontextfenster, verfügt über stärkere Programmierfähigkeiten und unterstützt mehrere Denkaufwandsstufen für eine flexible Balance zwischen Leistung und Latenz.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 ist das neueste Flaggschiffmodell von Z.ai, das für Szenarien mit Langzeitaufgaben entwickelt wurde und im Vergleich zu GLM-5.1 erhebliche Verbesserungen bei Langzeitaufgaben bietet. Dieses 753B-MoE-Modell unterstützt ein stabiles Kontextfenster von 1 Million Tokens, verfügt über stärkere Programmierfähigkeiten und bietet mehrere Denkaufwandsstufen für eine flexible Balance zwischen Leistung und Latenz.",
"zai/glm-4.5-air.description": "GLM-4.5 und GLM-4.5-Air sind unsere neuesten Flaggschiffe für Agentenanwendungen, beide mit MoE. GLM-4.5 hat 355B gesamt und 32B aktiv pro Forward-Pass; GLM-4.5-Air ist schlanker mit 106B gesamt und 12B aktiv.",
"zai/glm-4.5.description": "Die GLM-4.5-Serie ist für Agenten konzipiert. Das Flaggschiff GLM-4.5 kombiniert Reasoning-, Coding- und Agentenfähigkeiten mit 355B Gesamtparametern (32B aktiv) und bietet zwei Betriebsmodi als hybrides Reasoning-System.",
"zai/glm-4.5v.description": "GLM-4.5V baut auf GLM-4.5-Air auf, übernimmt bewährte GLM-4.1V-Thinking-Techniken und skaliert mit einer starken 106B-Parameter-MoE-Architektur.",
diff --git a/locales/de-DE/plugin.json b/locales/de-DE/plugin.json
index 289a626c41c..f4d922ede4c 100644
--- a/locales/de-DE/plugin.json
+++ b/locales/de-DE/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Ergebnis",
"builtins.codex.mcpTool.unknownTool": "MCP-Tool",
"builtins.codex.webSearch.query": "Abfrage",
+ "builtins.github.render.error": "Fehler",
+ "builtins.github.render.rawResult": "Rohes Ergebnis",
+ "builtins.github.render.updatedAt": "Aktualisiert {{time}}",
+ "builtins.linear.render.empty": "Keine {{collection}} gefunden",
"builtins.linear.render.updatedAt": "Aktualisiert {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Werkzeuge aktivieren",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} nicht gefunden",
diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.json
index 7b5c00f8dd0..bab1d51304e 100644
--- a/locales/de-DE/setting.json
+++ b/locales/de-DE/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Standard",
"settingChatAppearance.fontSize.title": "Schriftgröße",
"settingChatAppearance.highlighterTheme.title": "Code-Hervorhebungsthema",
+ "settingChatAppearance.linkIcon.desc": "Schalten Sie dies aus, wenn Sie es nicht benötigen.",
+ "settingChatAppearance.linkIcon.previewMessage": "Schauen Sie sich <site></site> und <repo></repo> für weitere Details an.",
+ "settingChatAppearance.linkIcon.title": "Symbole in Nachrichtenlinks anzeigen",
"settingChatAppearance.mermaidTheme.title": "Mermaid-Design",
"settingChatAppearance.title": "Chat-Darstellung",
"settingChatAppearance.transitionMode.desc": "Wählen Sie, wie Chatnachrichten angezeigt werden",
@@ -1231,6 +1234,226 @@
"tools.tabs.all": "Alle",
"tools.tabs.installed": "Aktiviert",
"tools.title": "Erweiterungswerkzeuge",
+ "workspace.auditLog.actions.api_key.created": "API-Schlüssel erstellt",
+ "workspace.auditLog.actions.api_key.renamed": "API-Schlüssel umbenannt",
+ "workspace.auditLog.actions.api_key.revoked": "API-Schlüssel widerrufen",
+ "workspace.auditLog.actions.api_key.rotated": "API-Schlüssel rotiert",
+ "workspace.auditLog.actions.auto_top_up.disabled": "Automatische Aufladung deaktiviert",
+ "workspace.auditLog.actions.auto_top_up.enabled": "Automatische Aufladung aktiviert",
+ "workspace.auditLog.actions.auto_top_up.failed": "Automatische Aufladung fehlgeschlagen",
+ "workspace.auditLog.actions.auto_top_up.succeeded": "Automatische Aufladung erfolgreich",
+ "workspace.auditLog.actions.auto_top_up.updated": "Automatische Aufladung aktualisiert",
+ "workspace.auditLog.actions.billing.default_payment_method_changed": "Standard-Zahlungsmethode geändert",
+ "workspace.auditLog.actions.billing.payment_method_added": "Zahlungsmethode hinzugefügt",
+ "workspace.auditLog.actions.billing.payment_method_removed": "Zahlungsmethode entfernt",
+ "workspace.auditLog.actions.billing.portal_session_created": "Abrechnungsportal geöffnet",
+ "workspace.auditLog.actions.budget.default_member_limit_updated": "Standardmitgliedsbudget aktualisiert",
+ "workspace.auditLog.actions.budget.member_limit_updated": "Mitgliedsbudget aktualisiert",
+ "workspace.auditLog.actions.budget.member_override.updated": "Mitgliedsbudget-Überschreibung aktualisiert",
+ "workspace.auditLog.actions.budget.member_override_created": "Mitgliedsbudget-Überschreibung erstellt",
+ "workspace.auditLog.actions.budget.member_override_removed": "Mitgliedsbudget-Überschreibung entfernt",
+ "workspace.auditLog.actions.credential.created": "Anmeldedaten erstellt",
+ "workspace.auditLog.actions.credential.deleted": "Anmeldedaten gelöscht",
+ "workspace.auditLog.actions.credential.tested": "Anmeldedaten getestet",
+ "workspace.auditLog.actions.credential.updated": "Anmeldedaten aktualisiert",
+ "workspace.auditLog.actions.integration.connected": "Integration verbunden",
+ "workspace.auditLog.actions.integration.disabled": "Integration deaktiviert",
+ "workspace.auditLog.actions.integration.disconnected": "Integration getrennt",
+ "workspace.auditLog.actions.integration.updated": "Integration aktualisiert",
+ "workspace.auditLog.actions.invitation.resent": "Einladung erneut gesendet",
+ "workspace.auditLog.actions.invitation.revoked": "Einladung widerrufen",
+ "workspace.auditLog.actions.market_identity.published": "Markenidentität veröffentlicht",
+ "workspace.auditLog.actions.market_identity.unpublished": "Markenidentität zurückgezogen",
+ "workspace.auditLog.actions.market_identity.updated": "Markenidentität aktualisiert",
+ "workspace.auditLog.actions.member.demoted_from_owner": "Eigentümerrolle entfernt",
+ "workspace.auditLog.actions.member.invited": "Mitglied eingeladen",
+ "workspace.auditLog.actions.member.joined": "Mitglied beigetreten",
+ "workspace.auditLog.actions.member.left": "Mitglied ausgetreten",
+ "workspace.auditLog.actions.member.promoted_to_owner": "Zum Eigentümer befördert",
+ "workspace.auditLog.actions.member.removed": "Mitglied entfernt",
+ "workspace.auditLog.actions.member.role_updated": "Mitgliedsrolle geändert",
+ "workspace.auditLog.actions.provider.disabled": "Anbieter deaktiviert",
+ "workspace.auditLog.actions.provider.enabled": "Anbieter aktiviert",
+ "workspace.auditLog.actions.provider.updated": "Anbieter aktualisiert",
+ "workspace.auditLog.actions.resource.created": "Ressource erstellt",
+ "workspace.auditLog.actions.resource.deleted": "Ressource gelöscht",
+ "workspace.auditLog.actions.resource.exported": "Ressource exportiert",
+ "workspace.auditLog.actions.resource.imported": "Ressource importiert",
+ "workspace.auditLog.actions.resource.restored": "Ressource wiederhergestellt",
+ "workspace.auditLog.actions.resource.shared": "Ressource geteilt",
+ "workspace.auditLog.actions.resource.transferred": "Ressource übertragen",
+ "workspace.auditLog.actions.resource.unshared": "Ressource nicht mehr geteilt",
+ "workspace.auditLog.actions.resource.updated": "Ressource aktualisiert",
+ "workspace.auditLog.actions.security.policy_updated": "Sicherheitsrichtlinie aktualisiert",
+ "workspace.auditLog.actions.security.risk_state_updated": "Risikostatus aktualisiert",
+ "workspace.auditLog.actions.subscription.activated": "Abonnement aktiviert",
+ "workspace.auditLog.actions.subscription.cancellation_resumed": "Abonnement fortgesetzt",
+ "workspace.auditLog.actions.subscription.cancellation_scheduled": "Stornierung geplant",
+ "workspace.auditLog.actions.subscription.cancelled": "Abonnement storniert",
+ "workspace.auditLog.actions.subscription.grace_period_started": "Kulanzzeit begonnen",
+ "workspace.auditLog.actions.subscription.updated": "Abonnement aktualisiert",
+ "workspace.auditLog.actions.top_up.succeeded": "Aufladung erfolgreich",
+ "workspace.auditLog.actions.webhook.created": "Webhook erstellt",
+ "workspace.auditLog.actions.webhook.deleted": "Webhook gelöscht",
+ "workspace.auditLog.actions.webhook.updated": "Webhook aktualisiert",
+ "workspace.auditLog.actions.workspace.account_upgraded": "Arbeitsbereichskonto aktualisiert",
+ "workspace.auditLog.actions.workspace.cleanup_triggered": "Arbeitsbereich bereinigt",
+ "workspace.auditLog.actions.workspace.created": "Arbeitsbereich erstellt",
+ "workspace.auditLog.actions.workspace.data_cleared": "Arbeitsbereichsdaten gelöscht",
+ "workspace.auditLog.actions.workspace.deleted": "Arbeitsbereich gelöscht",
+ "workspace.auditLog.actions.workspace.downgraded": "Arbeitsbereich herabgestuft",
+ "workspace.auditLog.actions.workspace.frozen": "Arbeitsbereich eingefroren",
+ "workspace.auditLog.actions.workspace.primary_ownership_transferred": "Primäre Eigentümerschaft übertragen",
+ "workspace.auditLog.actions.workspace.settings_reset": "Arbeitsbereichseinstellungen zurückgesetzt",
+ "workspace.auditLog.actions.workspace.unfrozen": "Arbeitsbereich aufgetaut",
+ "workspace.auditLog.actions.workspace.updated": "Arbeitsbereich aktualisiert",
+ "workspace.auditLog.actions.workspace.upgraded": "Arbeitsbereich aktualisiert",
+ "workspace.auditLog.columns.action": "Aktion",
+ "workspace.auditLog.columns.details": "Details",
+ "workspace.auditLog.columns.ip": "IP",
+ "workspace.auditLog.columns.operator": "Operator",
+ "workspace.auditLog.columns.resourceId": "Ressourcen-ID",
+ "workspace.auditLog.columns.resourceType": "Ressourcentyp",
+ "workspace.auditLog.columns.time": "Zeit",
+ "workspace.auditLog.desc": "Überprüfen Sie Arbeitsbereichsmitglieder, Einladungen, Abonnements und Abrechnungsvorgänge.",
+ "workspace.auditLog.detail.fields.added": "Hinzugefügt",
+ "workspace.auditLog.detail.fields.addedByUserId": "Hinzugefügt von",
+ "workspace.auditLog.detail.fields.agentIds": "Agenten-IDs",
+ "workspace.auditLog.detail.fields.aiModelCount": "Anzahl der KI-Modelle",
+ "workspace.auditLog.detail.fields.amount": "Betrag",
+ "workspace.auditLog.detail.fields.apiKeyCount": "Anzahl der API-Schlüssel",
+ "workspace.auditLog.detail.fields.apiKeyIds": "API-Schlüssel-IDs",
+ "workspace.auditLog.detail.fields.billingInterval": "Abrechnungsintervall",
+ "workspace.auditLog.detail.fields.brand": "Kartenmarke",
+ "workspace.auditLog.detail.fields.budgetId": "Budget-ID",
+ "workspace.auditLog.detail.fields.chargeAmount": "Berechneter Betrag",
+ "workspace.auditLog.detail.fields.count": "Anzahl",
+ "workspace.auditLog.detail.fields.credentialId": "Anmeldedaten-ID",
+ "workspace.auditLog.detail.fields.credentialKey": "Anmeldedatenschlüssel",
+ "workspace.auditLog.detail.fields.credentialName": "Anmeldedatenname",
+ "workspace.auditLog.detail.fields.credentialType": "Anmeldedatentyp",
+ "workspace.auditLog.detail.fields.currency": "Währung",
+ "workspace.auditLog.detail.fields.currentDefaultMaxBudget": "Neues Standardmitgliedsbudget",
+ "workspace.auditLog.detail.fields.currentDefaultPaymentMethodId": "Neue Standard-Zahlungsmethode",
+ "workspace.auditLog.detail.fields.currentEnabled": "Neuer Aktivierungsstatus",
+ "workspace.auditLog.detail.fields.currentMaxBudget": "Neues Mitgliedsbudget",
+ "workspace.auditLog.detail.fields.currentMode": "Neuer Modus",
+ "workspace.auditLog.detail.fields.currentMonthlyLimit": "Neues monatliches Limit",
+ "workspace.auditLog.detail.fields.currentPermission": "Neue Berechtigung",
+ "workspace.auditLog.detail.fields.currentRole": "Neue Rolle",
+ "workspace.auditLog.detail.fields.currentState": "Aktueller Status",
+ "workspace.auditLog.detail.fields.currentTargetBalance": "Neues Zielguthaben",
+ "workspace.auditLog.detail.fields.currentThreshold": "Neue Schwelle",
+ "workspace.auditLog.detail.fields.currentVisibility": "Neue Sichtbarkeit",
+ "workspace.auditLog.detail.fields.email": "E-Mail",
+ "workspace.auditLog.detail.fields.failureReason": "Fehlergrund",
+ "workspace.auditLog.detail.fields.fileHashId": "Datei-Hash-ID",
+ "workspace.auditLog.detail.fields.fileName": "Dateiname",
+ "workspace.auditLog.detail.fields.groupIds": "Gruppen-IDs",
+ "workspace.auditLog.detail.fields.hasDescriptionUpdate": "Beschreibung aktualisiert",
+ "workspace.auditLog.detail.fields.hasSecretValueUpdate": "Geheimer Wert aktualisiert",
+ "workspace.auditLog.detail.fields.includeConversationHistory": "Konversationsverlauf einbeziehen",
+ "workspace.auditLog.detail.fields.invitationId": "Einladungs-ID",
+ "workspace.auditLog.detail.fields.last4": "Letzte 4 Ziffern",
+ "workspace.auditLog.detail.fields.memberUserId": "Mitgliedsbenutzer-ID",
+ "workspace.auditLog.detail.fields.name": "Name",
+ "workspace.auditLog.detail.fields.newAgentId": "Neue Agenten-ID",
+ "workspace.auditLog.detail.fields.newKnowledgeBaseId": "Neue Wissensdatenbank-ID",
+ "workspace.auditLog.detail.fields.oauthConnectionId": "OAuth-Verbindungs-ID",
+ "workspace.auditLog.detail.fields.operation": "Vorgang",
+ "workspace.auditLog.detail.fields.paymentMethodId": "Zahlungsmethoden-ID",
+ "workspace.auditLog.detail.fields.plan": "Plan",
+ "workspace.auditLog.detail.fields.previousDefaultMaxBudget": "Vorheriges Standardmitgliedsbudget",
+ "workspace.auditLog.detail.fields.previousDefaultPaymentMethodId": "Vorherige Standard-Zahlungsmethode",
+ "workspace.auditLog.detail.fields.previousEnabled": "Vorheriger Aktivierungsstatus",
+ "workspace.auditLog.detail.fields.previousMaxBudget": "Vorheriges Mitgliedsbudget",
+ "workspace.auditLog.detail.fields.previousMode": "Vorheriger Modus",
+ "workspace.auditLog.detail.fields.previousMonthlyLimit": "Vorheriges monatliches Limit",
+ "workspace.auditLog.detail.fields.previousPermission": "Vorherige Berechtigung",
+ "workspace.auditLog.detail.fields.previousPlan": "Vorheriger Plan",
+ "workspace.auditLog.detail.fields.previousRole": "Vorherige Rolle",
+ "workspace.auditLog.detail.fields.previousTargetBalance": "Vorheriges Zielguthaben",
+ "workspace.auditLog.detail.fields.previousThreshold": "Vorherige Schwelle",
+ "workspace.auditLog.detail.fields.previousVisibility": "Vorherige Sichtbarkeit",
+ "workspace.auditLog.detail.fields.providerCount": "Anbieteranzahl",
+ "workspace.auditLog.detail.fields.providerIds": "Anbieter-IDs",
+ "workspace.auditLog.detail.fields.purchasedSeats": "Gekaufte Plätze",
+ "workspace.auditLog.detail.fields.quantity": "Menge",
+ "workspace.auditLog.detail.fields.reason": "Grund",
+ "workspace.auditLog.detail.fields.removed": "Entfernt",
+ "workspace.auditLog.detail.fields.resourceCounts": "Ressourcenanzahl",
+ "workspace.auditLog.detail.fields.resourceIds": "Ressourcen-ID-Beispiele",
+ "workspace.auditLog.detail.fields.role": "Rolle",
+ "workspace.auditLog.detail.fields.seats": "Plätze",
+ "workspace.auditLog.detail.fields.skipped": "Übersprungen",
+ "workspace.auditLog.detail.fields.slug": "Slug",
+ "workspace.auditLog.detail.fields.source": "Quelle",
+ "workspace.auditLog.detail.fields.sourceAgentId": "Quellen-Agenten-ID",
+ "workspace.auditLog.detail.fields.sourceAgentIds": "Quellen-Agenten-IDs",
+ "workspace.auditLog.detail.fields.sourceGroupIds": "Quellen-Gruppen-IDs",
+ "workspace.auditLog.detail.fields.sourceKbId": "Quellen-Wissensdatenbank-ID",
+ "workspace.auditLog.detail.fields.sourcePaymentMethodId": "Quellen-Zahlungsmethoden-ID",
+ "workspace.auditLog.detail.fields.sourceWorkspaceId": "Quellen-Arbeitsbereich-ID",
+ "workspace.auditLog.detail.fields.stripeId": "Stripe-ID",
+ "workspace.auditLog.detail.fields.stripeInvoiceId": "Stripe-Rechnungs-ID",
+ "workspace.auditLog.detail.fields.stripePaymentIntentId": "Stripe-Zahlungsabsicht-ID",
+ "workspace.auditLog.detail.fields.stripeSessionId": "Stripe-Sitzungs-ID",
+ "workspace.auditLog.detail.fields.subscriptionId": "Abonnement-ID",
+ "workspace.auditLog.detail.fields.targetPlan": "Zielplan",
+ "workspace.auditLog.detail.fields.targetUserId": "Zielbenutzer-ID",
+ "workspace.auditLog.detail.fields.targetWorkspaceId": "Ziel-Arbeitsbereich-ID",
+ "workspace.auditLog.detail.fields.triggerRemainingBalance": "Auslöser verbleibendes Guthaben",
+ "workspace.auditLog.detail.fields.triggerType": "Auslösertyp",
+ "workspace.auditLog.detail.fields.unitPrice": "Stückpreis",
+ "workspace.auditLog.detail.fields.updated": "Aktualisiert",
+ "workspace.auditLog.detail.metadata": "Vorgangsdaten",
+ "workspace.auditLog.detail.operationTime": "Vorgangszeit",
+ "workspace.auditLog.detail.rawData": "Rohdaten des Audit-Protokolls",
+ "workspace.auditLog.detail.summary": "Zusammenfassung",
+ "workspace.auditLog.detail.view": "Details anzeigen",
+ "workspace.auditLog.empty": "Noch keine Audit-Protokolle",
+ "workspace.auditLog.filters.allActions": "Alle Aktionen",
+ "workspace.auditLog.filters.allResourceTypes": "Alle Ressourcentypen",
+ "workspace.auditLog.filters.endDate": "Enddatum",
+ "workspace.auditLog.filters.reset": "Zurücksetzen",
+ "workspace.auditLog.filters.searchPlaceholder": "Operator, Aktion, Ressource oder IP suchen",
+ "workspace.auditLog.filters.startDate": "Startdatum",
+ "workspace.auditLog.loadFailed": "Audit-Protokolle konnten nicht geladen werden",
+ "workspace.auditLog.loadMore": "Mehr laden",
+ "workspace.auditLog.resourceTypes.agent": "Agent",
+ "workspace.auditLog.resourceTypes.api_key": "API-Schlüssel",
+ "workspace.auditLog.resourceTypes.auto_top_up": "Automatische Aufladung",
+ "workspace.auditLog.resourceTypes.budget": "Budget",
+ "workspace.auditLog.resourceTypes.credential": "Anmeldedaten",
+ "workspace.auditLog.resourceTypes.document": "Dokument",
+ "workspace.auditLog.resourceTypes.file": "Datei",
+ "workspace.auditLog.resourceTypes.integration": "Integration",
+ "workspace.auditLog.resourceTypes.invitation": "Einladung",
+ "workspace.auditLog.resourceTypes.knowledge_base": "Wissensdatenbank",
+ "workspace.auditLog.resourceTypes.market_identity": "Markenidentität",
+ "workspace.auditLog.resourceTypes.member": "Mitglied",
+ "workspace.auditLog.resourceTypes.member_budget": "Mitgliedsbudget",
+ "workspace.auditLog.resourceTypes.page": "Seite",
+ "workspace.auditLog.resourceTypes.payment_method": "Zahlungsmethode",
+ "workspace.auditLog.resourceTypes.provider": "Anbieter",
+ "workspace.auditLog.resourceTypes.security_policy": "Sicherheitsrichtlinie",
+ "workspace.auditLog.resourceTypes.skill": "Fähigkeit",
+ "workspace.auditLog.resourceTypes.subscription": "Abonnement",
+ "workspace.auditLog.resourceTypes.top_up": "Aufladung",
+ "workspace.auditLog.resourceTypes.webhook": "Webhook",
+ "workspace.auditLog.resourceTypes.workspace": "Arbeitsbereich",
+ "workspace.auditLog.resourceTypes.workspace_data": "Arbeitsbereichsdaten",
+ "workspace.auditLog.resourceTypes.workspace_freeze": "Arbeitsbereich einfrieren",
+ "workspace.auditLog.title": "Audit-Protokolle",
+ "workspace.auditLog.upgrade.benefits.billing.desc": "Behalten Sie Änderungen an Abonnements und Zahlungsmethoden in einem nachvollziehbaren Datensatz.",
+ "workspace.auditLog.upgrade.benefits.billing.title": "Abrechnungsprotokoll",
+ "workspace.auditLog.upgrade.benefits.member.desc": "Erfahren Sie, wer Mitglieder eingeladen, entfernt oder geändert hat, bevor Risiken entstehen.",
+ "workspace.auditLog.upgrade.benefits.member.title": "Mitgliederaktivitätsprotokoll",
+ "workspace.auditLog.upgrade.benefits.permission.desc": "Überprüfen Sie Änderungen an Anbietern, Schlüsseln, Budgets und Arbeitsbereichseinstellungen mit Kontext.",
+ "workspace.auditLog.upgrade.benefits.permission.title": "Berechtigungsänderungen überprüfen",
+ "workspace.auditLog.upgrade.cta": "Auf Business upgraden",
+ "workspace.auditLog.upgrade.desc": "Verfolgen Sie Mitgliederaktivitäten, Berechtigungsänderungen, Abrechnungsvorgänge und IP-Details, damit Eigentümer schnell herausfinden können, wer was wann geändert hat.",
+ "workspace.auditLog.upgrade.title": "Audit-Protokolle freischalten, bevor Probleme zu Vorfällen werden",
"workspace.billing.basicHint": "Basis-Arbeitsbereich · gemeinsames monatliches Kontingent",
"workspace.billing.credits.label": "Guthaben diesen Monat",
"workspace.billing.freeHint": "Kostenloser Arbeitsbereich · gemeinsames monatliches Kontingent",
@@ -1284,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Basis-Arbeitsbereich · gemeinsames monatliches Kontingent · keine bezahlten Plätze",
"workspace.billingPage.billing.basic.title": "Basis-Arbeitsbereich",
"workspace.billingPage.billing.basic.upgradeCta": "Upgrade auf Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Anteilig berechnete Anpassung",
"workspace.billingPage.billing.billingPeriodModal.body": "Der Abrechnungszeitraum Ihres Arbeitsbereichs wird von {{current}} auf {{target}} geändert.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Abbrechen",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Abrechnungszeitraum ändern",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Anteiliges Guthaben für ungenutzte Zeit im aktuellen Zeitraum",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Preisvorschau konnte nicht geladen werden. Bitte versuchen Sie es erneut.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Erneut versuchen",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Die Änderung tritt nach Ablauf des aktuellen Zeitraums in Kraft.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Die Änderung tritt nach Ablauf des aktuellen Zeitraums am {{date}} in Kraft.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Arbeitsbereichsplätze",
"workspace.billingPage.billing.billingPeriodModal.title": "Abrechnungszeitraum ändern?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "Jahr",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} Platz · {{credits}} Guthaben / Monat",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} Plätze · {{credits}} Guthaben / Monat",
"workspace.billingPage.billing.breakdown.extraSeats": "Zusätzliche Plätze",
@@ -1382,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Wechselt zu {{plan}} {{interval}} mit {{seats}} Plätzen am {{date}}. Halten Sie Ihr Kontoguthaben ausreichend.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Stornieren Sie die geplante Änderung, bevor Sie Ihren Abonnementplan aktualisieren.",
"workspace.billingPage.billing.pending.keepPlanCta": "{{plan}} behalten",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "{{plan}} {{interval}} behalten",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Dieser Arbeitsbereich hat derzeit {{currentSeats}} Plätze und wird am {{date}} auf {{seats}} Plätze geändert.",
"workspace.billingPage.billing.pending.seatsDesc": "Ändert sich am {{date}} auf {{seats}} Plätze. Halten Sie Ihr Kontoguthaben ausreichend.",
"workspace.billingPage.billing.pending.seatsTitle": "Platzänderung geplant",
@@ -1412,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Plätze kaufen",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Kaufen Sie mehr Plätze für den {{plan}} {{interval}} Plan.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Mehr Plätze kaufen?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Wird berechnet…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Abbrechen",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Sie werden zum Checkout weitergeleitet, um die Zahlung abzuschließen.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Upgrade",
@@ -1429,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Abrechnung anzeigen",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Die Aktualisierung der Arbeitsbereichsplätze wurde gespeichert.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Fertig",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Wir konnten dieses Update nicht abschließen. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Erneut versuchen",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Update fehlgeschlagen",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Mitglieder einladen",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Die anteilige Gebühr für die Plätze wurde Ihrer aktuellen Zahlungsmethode belastet.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} berechnet · Betrag in der Abrechnung",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Zahlungsergebnis",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Es wurde keine Zahlung belastet. Die Änderung ist für den nächsten Abrechnungszyklus geplant.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Upgrade auf {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Tarif aktualisiert",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} Gesamtplätze sind jetzt verfügbar, einschließlich {{purchasedSeats}} vorausbezahlter zusätzlicher Plätze.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Ergebnis des Platzkaufs",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} Gesamtplätze gelten ab dem nächsten Abrechnungszyklus, einschließlich {{purchasedSeats}} vorausbezahlter zusätzlicher Plätze.",
@@ -1646,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Weniger anzeigen",
"workspace.billingPage.usage.model.unknown": "Unbekanntes Modell",
"workspace.billingPage.usage.ops": "Operationen",
+ "workspace.billingPage.usage.privateAgents": "Private Agenten",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Anzahl der privaten Agenten, die diesem Mitglied gehören. Eigentümer können die Anzahl für die Buchhaltung sehen, aber nicht den Inhalt der Agenten.",
"workspace.billingPage.usage.range.30d": "Letzte 30 Tage",
"workspace.billingPage.usage.range.all": "Gesamte Zeit",
"workspace.billingPage.usage.range.cycle": "Dieser Zyklus",
@@ -1860,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Konto erstellen & beitreten",
"workspace.invitePage.switchAccountToAccept": "Melden Sie sich als {{email}} an, um anzunehmen",
"workspace.invitePage.title": "Arbeitsbereich-Einladung",
+ "workspace.invitePage.viewerLimitSubtitle": "Dieses Arbeitsbereich hat das Viewer-Limit erreicht. Bitte einen Besitzer, einen Viewer-Sitzplatz freizugeben oder das Abonnement zu aktualisieren, bevor du beitrittst.",
+ "workspace.invitePage.viewerLimitTitle": "Viewer-Limit erreicht",
"workspace.invitePage.workspaceLimitSubtitle": "Sie haben die maximale Anzahl von {{limit}} Arbeitsbereichen erreicht. Verlassen Sie einen, bevor Sie einem anderen beitreten.",
"workspace.invitePage.workspaceLimitTitle": "Arbeitsbereichsgrenze erreicht",
"workspace.member.demote": "Zum Mitglied herabstufen",
@@ -1904,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Primäre Eigentümerschaft übertragen",
"workspace.members.empty": "Noch keine Mitglieder",
"workspace.members.invite.addAnother": "Ein weiteres hinzufügen",
+ "workspace.members.invite.askOwnerToBuySeats": "Bitten Sie den Arbeitsbereichseigentümer, weitere Plätze zu kaufen, bevor Sie neue Mitglieder einladen.",
"workspace.members.invite.button": "Einladen",
+ "workspace.members.invite.buySeatsCta": "Plätze kaufen",
"workspace.members.invite.emailLabel": "E-Mail-Adresse",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} hat bereits eine ausstehende Einladung. Senden Sie sie erneut oder widerrufen Sie sie in der Liste unten.",
"workspace.members.invite.errors.alreadyMember": "{{email}} ist bereits Mitglied dieses Arbeitsbereichs.",
"workspace.members.invite.failed": "Einladung konnte nicht gesendet werden",
+ "workspace.members.invite.invitationLimitReached": "Dieses Arbeitsbereich hat das Limit von {{limit}} ausstehenden Einladungen erreicht. Widerrufe oder warte, bis ungenutzte Einladungen ablaufen, bevor du neue sendest.",
"workspace.members.invite.limitReached": "Dieser Arbeitsbereich kann bis zu {{limit}} Mitglieder haben. Entfernen Sie ein Mitglied, bevor Sie weitere einladen.",
"workspace.members.invite.modal.cancel": "Abbrechen",
"workspace.members.invite.modal.confirm": "Bestätigen",
@@ -1920,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Zusätzliche Berechtigungen sind erforderlich, um Teammitglieder zu verwalten",
"workspace.members.invite.partialSuccess": "{{success}} eingeladen, {{failed}} fehlgeschlagen. Überprüfen Sie die Adressen und versuchen Sie es erneut.",
"workspace.members.invite.roleLabel": "Rolle",
+ "workspace.members.invite.seatInsufficient": "Nur noch {{remaining}} Platz/Plätze verfügbar. Kaufen Sie mehr Plätze, um {{required}} neues Mitglied/neue Mitglieder einzuladen.",
+ "workspace.members.invite.seatInsufficientNoBuy": "Nur noch {{remaining}} Platz/Plätze verfügbar. Bitten Sie den Arbeitsbereichseigentümer, weitere Plätze zu kaufen.",
"workspace.members.invite.submit": "Einladen",
"workspace.members.invite.subtitle": "Fügen Sie neue Mitglieder hinzu, indem Sie ihre E-Mail-Adresse eingeben und eine Rolle zuweisen",
"workspace.members.invite.success": "Teammitglieder erfolgreich eingeladen.",
@@ -1998,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Wählen Sie ein paar aus, um zu beginnen – entdecken Sie jederzeit mehr.",
"workspace.onboarding.step4.cta": "Workspace betreten",
"workspace.onboarding.step4.heading": "{{name}} ist bereit!",
+ "workspace.onboarding.step4.marketProfileNudge": "Wir haben ein Community-Profil für <strong>{{name}}</strong> eingerichtet, damit Arbeitsbereichsagenten installiert werden können. <cta>Passen Sie es in der Community an</cta>.",
"workspace.onboarding.step4.subtitle": "Ihr Workspace ist eingerichtet. Tauchen Sie ein und beginnen Sie mit der Zusammenarbeit mit Ihrem Team.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} Agent(en) bereit zu helfen. Tauchen Sie ein und beginnen Sie mit der Zusammenarbeit mit Ihrem Team.",
"workspace.onboarding.step4Invite.addMore": "Weitere E-Mail hinzufügen",
@@ -2005,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Fertigstellen",
"workspace.onboarding.step4Invite.heading": "Ihr Team einladen",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} Mitglied(er) eingeladen",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Sie können bis zu {{max}} Teamkollegen mit Ihren aktuellen Plätzen einladen.",
"workspace.onboarding.step4Invite.subtitle": "Bringen Sie Teammitglieder jetzt in diesen Workspace oder laden Sie sie später über die Mitgliedereinstellungen ein.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Ihr Plan enthält {{includedSeats}} kostenlose Plätze und unterstützt bis zu {{maxSeats}} Plätze mit zusätzlich gekauften Plätzen. Laden Sie Teammitglieder jetzt ein oder fügen Sie sie später über die Mitgliedereinstellungen hinzu.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby umfasst bis zu {{maxSeats}} Plätze, einschließlich Ihnen. Laden Sie Teammitglieder jetzt ein oder fügen Sie sie später über die Mitgliedereinstellungen hinzu.",
"workspace.onboarding.stepLabel": "Schritt {{current}} von {{total}}",
"workspace.onboarding.title": "Richten Sie Ihren Arbeitsbereich ein",
"workspace.onboarding.toast.failed": "Konnte nicht gespeichert werden. Bitte versuchen Sie es erneut.",
+ "workspace.onboarding.toast.installAgentsFailed": "Die ausgewählten Agenten konnten nicht hinzugefügt werden. Sie können sie später aus dem Marktplatz installieren.",
"workspace.onboarding.toast.saved": "Gespeichert",
"workspace.permission.requiresMember": "Sie haben keine Berechtigung, dies zu tun. Bitten Sie einen Arbeitsbereichsbesitzer, Ihnen die Rolle Mitglied oder höher zu gewähren.",
"workspace.permission.requiresOwner": "Nur Arbeitsbereichsbesitzer können dies tun. Bitten Sie einen Besitzer, wenn Sie dies ändern müssen.",
@@ -2048,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Schalten Sie Zusammenarbeit, größere Credits und höhere Grenzwerte frei.",
"workspace.upgradeModal.successPage.activating": "Ihr Abonnement wird aktiviert – dies dauert normalerweise ein paar Sekunden…",
"workspace.upgradeModal.successPage.amountLabel": "Gesamtbetrag bezahlt",
- "workspace.upgradeModal.successPage.continueCta": "Einladen & weiter",
"workspace.upgradeModal.successPage.desc": "{{name}} ist jetzt auf Pro. Laden Sie Teammitglieder ein, um mit der Zusammenarbeit zu beginnen.",
- "workspace.upgradeModal.successPage.inviteDesc": "Einladungen per E-Mail versenden. Sie erhalten einen Link, um dem Workspace beizutreten.",
- "workspace.upgradeModal.successPage.inviteTitle": "Teammitglieder zu {{name}} einladen",
"workspace.upgradeModal.successPage.paidAtLabel": "Bezahlt am",
"workspace.upgradeModal.successPage.planTag": "Workspace Pro",
"workspace.upgradeModal.successPage.processingDesc": "Bitte warten – wir bestätigen die Zahlung mit Stripe. Dies dauert normalerweise ein paar Sekunden.",
@@ -2061,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Abrechnungszyklus",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} inklusive Sitzplatz",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} inklusive Sitzplätze",
- "workspace.upgradeModal.successPage.skipCta": "Jetzt überspringen",
"workspace.upgradeModal.successPage.title": "Upgrade abgeschlossen",
"workspace.upgradeModal.successToast": "Upgrade abgeschlossen – Ihr Plan wird aktualisiert…",
"workspace.upgradeModal.title": "Upgrade auf Pro",
@@ -2132,12 +2377,14 @@
"workspace.wizard.step2.features.basic.onDemand": "Nutzung nach Bedarf · Automatische Aufladung (${{price}} / 1M Guthaben)",
"workspace.wizard.step2.features.basic.share": "Die ersten 3 Mitglieder sind kostenlos, einschließlich Ihnen",
"workspace.wizard.step2.features.basic.upgradable": "Upgrade jederzeit für mehr Plätze möglich",
+ "workspace.wizard.step2.features.business.auditLog": "Audit-Protokolle",
"workspace.wizard.step2.features.free.members": "Bis zu 3 Mitglieder, keine kostenpflichtigen Plätze",
"workspace.wizard.step2.features.free.onDemand": "Nutzung nach Bedarf · Automatische Aufladung (${{price}} / 1M Guthaben)",
"workspace.wizard.step2.features.free.share": "Die ersten 3 Mitglieder sind kostenlos, einschließlich Ihnen",
"workspace.wizard.step2.features.free.upgradable": "Upgrade jederzeit für mehr Plätze möglich",
"workspace.wizard.step2.features.pro.adminControls": "Zentrale Abrechnung, Rollen und Audit-Protokolle",
"workspace.wizard.step2.features.pro.collaboration": "Mitglieder einladen · Agenten und Dateien teilen",
+ "workspace.wizard.step2.features.pro.memberBudget": "Budgetkontrolle pro Mitglied",
"workspace.wizard.step2.features.pro.onDemand": "Nutzungsabhängig · AutoTopUp (${{price}}/M)",
"workspace.wizard.step2.features.pro.priorityModels": "Priorisierte Premium-Modelle",
"workspace.wizard.step2.features.pro.support": "Priorisierter E-Mail-Support",
@@ -2204,6 +2451,7 @@
"workspaceSetting.storage.danger.reset.title": "Arbeitsbereichseinstellungen zurücksetzen",
"workspaceSetting.storage.telemetry.desc": "Helfen Sie uns, {{appName}} mit anonymen Nutzungsdaten des Arbeitsbereichs zu verbessern",
"workspaceSetting.storage.telemetry.title": "Anonyme Nutzungsdaten des Arbeitsbereichs senden",
+ "workspaceSetting.tab.auditLog": "Audit-Protokolle",
"workspaceSetting.tab.general": "Allgemein",
"workspaceSetting.tab.members": "Mitglieder",
"workspaceSetting.tab.skill": "Fähigkeiten"
diff --git a/locales/de-DE/spend.json b/locales/de-DE/spend.json
index 20e2d72fa59..47cbc653ba8 100644
--- a/locales/de-DE/spend.json
+++ b/locales/de-DE/spend.json
@@ -40,5 +40,28 @@
"table.more": "Details anzeigen",
"table.title": "Details zur Nutzung von Rechen-Credits",
"table.totalToken.input": "Eingabe",
- "table.totalToken.output": "Ausgabe"
+ "table.totalToken.output": "Ausgabe",
+ "usageStats.breakdown.cost": "Kosten",
+ "usageStats.breakdown.model": "Modell",
+ "usageStats.breakdown.requests": "Anfragen",
+ "usageStats.breakdown.title": "Nutzung nach Modell",
+ "usageStats.breakdown.totalTokens": "Tokens",
+ "usageStats.byDay": "Pro Tag",
+ "usageStats.byWeek": "Pro Woche",
+ "usageStats.cards.cacheDesc": "Trefferquote {{rate}}% · Gelesen {{read}}",
+ "usageStats.cards.cacheSavings": "Cache-Einsparungen",
+ "usageStats.cards.cost": "Kosten",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Eingabe {{input}} · Ausgabe {{output}}",
+ "usageStats.chart.cacheWrite": "Cache-Schreiben",
+ "usageStats.chart.input": "Eingabe",
+ "usageStats.chart.output": "Ausgabe",
+ "usageStats.chart.spend": "Kosten",
+ "usageStats.chart.title": "Wann dieser Agent ausgegeben hat",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Dimension",
+ "usageStats.entry": "Nutzung & Kosten",
+ "usageStats.range": "Zeitraum",
+ "usageStats.rangeSuffix": "Letzte {{count}} Tage",
+ "usageStats.title": "Nutzung & Kosten"
}
diff --git a/locales/de-DE/topic.json b/locales/de-DE/topic.json
index 2efdfaa8ef9..eeae2ca6c6a 100644
--- a/locales/de-DE/topic.json
+++ b/locales/de-DE/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Alle Gruppen erweitern",
"sidebar.title": "Themen",
"taskManager.agent": "Aufgaben-Agent",
+ "taskManager.agentSelector.privateGroup": "Privat",
+ "taskManager.agentSelector.workspaceGroup": "Arbeitsbereich",
"taskManager.welcome": "Frag mich nach deinen Aufgaben",
"temp": "Temporär",
"title": "Thema"
diff --git a/locales/de-DE/video.json b/locales/de-DE/video.json
index 3caec2317d3..46930543808 100644
--- a/locales/de-DE/video.json
+++ b/locales/de-DE/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Neues Thema erstellen",
"topic.deleteConfirm": "Video-Thema löschen",
"topic.deleteConfirmDesc": "Sie sind dabei, dieses Video-Thema zu löschen. Diese Aktion kann nicht rückgängig gemacht werden.",
+ "topic.privateTitle": "Privat",
"topic.title": "Video-Themen",
- "topic.untitled": "Standardthema"
+ "topic.untitled": "Standardthema",
+ "topic.visibility.existingLocked": "Die Sichtbarkeit ist für das aktuelle Thema festgelegt. Erstellen Sie ein neues Thema, um einen anderen Bereich auszuwählen.",
+ "topic.workspaceTitle": "Arbeitsbereich"
}
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.json
index b9271193c8c..33fc513e18d 100644
--- a/locales/en-US/chat.json
+++ b/locales/en-US/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "Model",
"active": "Active",
"addAgentFromMarket": "Add from Market",
+ "agent.publishToWorkspace": "Publish to Workspace",
+ "agent.publishToWorkspaceConfirm": "Other workspace members will be able to use this agent. You will not be able to make it private again.",
+ "agent.publishToWorkspaceSuccess": "Published to workspace",
"agentBuilder.installPlugin.authRequired": "Cloud MCP requires sign-in to continue",
"agentBuilder.installPlugin.cancel": "Cancel",
"agentBuilder.installPlugin.clickApproveToConnect": "Click \"Approve\" to connect and authorize this Integration",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "Add task instruction...",
"createTask.submit": "Create task",
"createTask.titlePlaceholder": "Task title",
+ "createTask.visibility.changeFailed": "Failed to change task visibility",
+ "createTask.visibility.helperPrivate": "Only you can see this task.",
+ "createTask.visibility.helperWorkspace": "Everyone in this workspace can see this task.",
+ "createTask.visibility.label": "Visibility",
+ "createTask.visibility.private": "Private",
+ "createTask.visibility.privateAgentDisabled": "Private agents can only run private tasks. Pick a workspace agent or switch this task to Private.",
+ "createTask.visibility.privateAgentLocked": "Private agents can only run private tasks.",
+ "createTask.visibility.workspace": "Workspace",
"defaultAgent": "Default Agent",
"defaultGroupChat": "Group",
"defaultList": "Default List",
@@ -377,9 +388,11 @@
"mention.category.agents": "Agents",
"mention.category.files": "Files",
"mention.category.members": "Members",
+ "mention.category.privateAgents": "Private",
"mention.category.skills": "Skills",
"mention.category.tools": "Tools",
"mention.category.topics": "Topics",
+ "mention.category.workspaceAgents": "Workspace",
"mention.title": "Mention Members",
"messageAction.collapse": "Collapse Message",
"messageAction.continueGeneration": "Continue Generating",
@@ -401,12 +414,15 @@
"messageForward.deleteConfirm.title": "Delete messages",
"messageForward.empty": "Select at least one message to forward",
"messageForward.modal.empty": "No other agents available",
+ "messageForward.modal.moreMessages": "+{{count}} more messages",
"messageForward.modal.noRecipients": "Pick agents on the left to forward to",
"messageForward.modal.notePlaceholder": "Add a note (optional) — sent along with the messages",
"messageForward.modal.recipients": "Send to ({{count}})",
+ "messageForward.modal.removeRecipient": "Remove recipient",
"messageForward.modal.searchPlaceholder": "Search agents…",
"messageForward.modal.sendCount": "Forward ({{count}})",
"messageForward.modal.title": "Forward to Agent",
+ "messageForward.role.agent": "Agent",
"messageForward.role.assistant": "Assistant",
"messageForward.role.user": "User",
"messageForward.success": "Forwarded to {{title}}",
@@ -541,6 +557,17 @@
"rag.userQuery.actions.delete": "Delete Query Rewrite",
"rag.userQuery.actions.regenerate": "Regenerate Query",
"regenerate": "Regenerate",
+ "resources.knowledgePicker.publicAgentHint": "Public agents can only reference workspace resources. Publish a private resource to the workspace first if you want to attach it.",
+ "resources.mode.privateHint": "Your own drawer — only you can see these files",
+ "resources.mode.workspaceHint": "Shared with everyone in this workspace",
+ "resources.publishToWorkspace.confirm": "Other workspace members will be able to see this file. You will not be able to make it private again.",
+ "resources.publishToWorkspace.error": "Failed to publish file to workspace",
+ "resources.publishToWorkspace.menu": "Publish to Workspace",
+ "resources.publishToWorkspace.success": "Published to workspace",
+ "resources.visibility.label": "Visibility",
+ "resources.visibility.private": "Private",
+ "resources.visibility.privateTooltip": "Only you can see this file",
+ "resources.visibility.workspace": "Workspace",
"roleAndArchive": "Agent Profile & History",
"runtimeEnv.mode.cloud": "Cloud Sandbox",
"runtimeEnv.mode.cloudDesc": "Run in a secure cloud sandbox",
@@ -587,6 +614,9 @@
"sessionGroup.noAvailableAgents": "No available agents",
"sessionGroup.noMatchingAgents": "No matching agents found",
"sessionGroup.noSelectedAgents": "Please select agents",
+ "sessionGroup.publishToWorkspace": "Publish to Workspace",
+ "sessionGroup.publishToWorkspaceConfirm": "Other workspace members will be able to use this folder. You will not be able to make it private again.",
+ "sessionGroup.publishToWorkspaceSuccess": "Published to workspace",
"sessionGroup.rename": "Rename Category",
"sessionGroup.renameSuccess": "Renamed successfully",
"sessionGroup.searchAgents": "Search agents",
@@ -758,6 +788,12 @@
"taskDetail.priority.normal": "Normal",
"taskDetail.priority.urgent": "Urgent",
"taskDetail.properties": "Properties",
+ "taskDetail.publishToWorkspace.confirmContent": "Once published, this task becomes visible to all workspace members and cannot be reverted to private.",
+ "taskDetail.publishToWorkspace.confirmHint": "Past runs remain private. Only runs created after publishing will be visible to workspace members.",
+ "taskDetail.publishToWorkspace.confirmOk": "Publish",
+ "taskDetail.publishToWorkspace.confirmTitle": "Publish task to workspace?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "This task is assigned to a private agent. Reassign to a workspace agent, or publish the agent first.",
+ "taskDetail.publishToWorkspace.menuLabel": "Publish to Workspace",
"taskDetail.reassignDisabled": "Cannot reassign agent while task is running",
"taskDetail.replyInThread": "Reply in this thread",
"taskDetail.replyPlaceholder": "Reply in this thread...",
@@ -868,6 +904,8 @@
"taskList.view.board": "Board",
"taskList.view.list": "List",
"taskList.viewAll": "View all",
+ "taskList.visibility.all": "All",
+ "taskList.visibility.label": "Visibility",
"taskSchedule.advancedSettings": "Advanced settings",
"taskSchedule.clear": "Clear",
"taskSchedule.continuous": "Continuous",
diff --git a/locales/en-US/common.json b/locales/en-US/common.json
index 3db30eb991b..b991285e8c6 100644
--- a/locales/en-US/common.json
+++ b/locales/en-US/common.json
@@ -1,5 +1,6 @@
{
"about": "About",
+ "addNew": "Add new",
"advanceSettings": "Advanced Settings",
"agentOnboardingPromo.actionLabel": "Try it now",
"agentOnboardingPromo.description": "Set up your agent teams in a quick chat with Lobe AI. Your existing agents remain unchanged.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Content policy check failed. Please revise your prompt.",
"getDesktopApp": "Get Desktop App",
"goToTarget": "Go to target",
+ "gotIt": "Got it",
"historyRange": "History Range",
"home.suggestQuestions": "Try these examples",
"import": "Import",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Move Down",
"navPanel.moveUp": "Move Up",
"navPanel.pinned": "Pinned",
+ "navPanel.privateAgents": "Private",
+ "navPanel.publicAgents": "Workspace",
"navPanel.resetDefault": "Reset to Default",
"navPanel.searchAgent": "Search Agent...",
"navPanel.searchRecent": "Search Recent...",
diff --git a/locales/en-US/discover.json b/locales/en-US/discover.json
index a4dc7878cbc..6fd8d7ec0e9 100644
--- a/locales/en-US/discover.json
+++ b/locales/en-US/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "forks",
"fork.forksCount": "{{count}} fork",
"fork.forksCount_other": "{{count}} forks",
+ "fork.orgSetupRequired.memberContent": "This workspace has not yet set up a Community profile, so forks from the marketplace can't be saved here. Please ask the workspace owner to set it up under Community → Workspace.",
+ "fork.orgSetupRequired.ownerContent": "This workspace has not yet set up a Community profile. Set one up to fork agents from the marketplace into your workspace.",
+ "fork.orgSetupRequired.ownerOk": "Go to setup",
+ "fork.orgSetupRequired.title": "Community profile setup required",
"fork.success": "Forked successfully!",
"fork.viewAllForks": "View all forks",
+ "fork.visibilityPrivate": "Private",
+ "fork.visibilityPublic": "Workspace",
"groupAgents.tag": "Group",
"groupAgents.underReview": "Under Review",
"home.communityAgents": "Community Agents",
diff --git a/locales/en-US/file.json b/locales/en-US/file.json
index 276fbd4ad45..355f4353a97 100644
--- a/locales/en-US/file.json
+++ b/locales/en-US/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Transfer library",
"library.list.transferTo": "Transfer to…",
"library.new": "New Library",
+ "library.privateEmpty": "Create a private library",
+ "library.publish": "Publish to workspace",
+ "library.publishConfirm.content": "All workspace members will see this knowledge base. This action cannot be undone.",
+ "library.publishConfirm.title": "Publish knowledge base to workspace?",
"library.title": "Library",
+ "library.workspaceEmpty": "Create a workspace library",
"loadMore": "Load More",
"menu.allFiles": "All Files",
"menu.allPages": "All Pages",
@@ -170,6 +175,13 @@
"pageList.noResults": "No matching pages found",
"pageList.pageCount": "{{count}} pages in total",
"pageList.pageSizeItem": "{{count}} items",
+ "pageList.privateTitle": "Private",
+ "pageList.publishConfirm.content": "After publishing, everyone in the workspace can see this page. You can’t change it back to private later.",
+ "pageList.publishConfirm.ok": "Publish",
+ "pageList.publishConfirm.title": "Publish to workspace",
+ "pageList.publishError": "Failed to publish page",
+ "pageList.publishSuccess": "Page published to workspace",
+ "pageList.publishToWorkspace": "Publish to workspace",
"pageList.title": "Pages",
"pageList.transferConfirm": "Transfer",
"pageList.transferDescription": "Move this page (and any folders it contains) to another workspace.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Transfer to…",
"pageList.transferWarning": "This is a one-way move; reverting requires another transfer.",
"pageList.untitled": "Untitled",
+ "pageList.workspaceTitle": "Workspace",
"portal.openInPageEditor": "Edit in Page",
"preview.downloadFile": "Download File",
"preview.unsupportedFileAndContact": "This file format is not currently supported for online preview. If you have a request for previewing, feel free to <1>contact us</1>.",
diff --git a/locales/en-US/image.json b/locales/en-US/image.json
index dc5873073d7..202e7c87c65 100644
--- a/locales/en-US/image.json
+++ b/locales/en-US/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Delete Generation Topic",
"topic.deleteConfirmDesc": "You are about to delete this generation topic. This action cannot be undone, please proceed with caution.",
"topic.empty": "No generation topics",
+ "topic.privateTitle": "Private",
"topic.title": "Image Topic",
- "topic.untitled": "Default Topic"
+ "topic.untitled": "Default Topic",
+ "topic.visibility.existingLocked": "Visibility is fixed for the current topic. Create a new topic to choose a different space.",
+ "topic.workspaceTitle": "Workspace"
}
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index e2270fe8835..ab0ed41ad21 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -1507,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Basic workspace · shared monthly pool · no paid seats",
"workspace.billingPage.billing.basic.title": "Basic workspace",
"workspace.billingPage.billing.basic.upgradeCta": "Upgrade to Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Prorated adjustment",
"workspace.billingPage.billing.billingPeriodModal.body": "Your workspace's billing period will be changed from {{current}} to {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Cancel",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Change billing period",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Prorated credit for unused time on the current period",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Couldn't load the price preview. Please try again.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Retry",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "The change will take effect after the current period ends.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "The change will take effect after the current period ends on {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Workspace seats",
"workspace.billingPage.billing.billingPeriodModal.title": "Change the billing period?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "year",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} seat · {{credits}} credits / month",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} seats · {{credits}} credits / month",
"workspace.billingPage.billing.breakdown.extraSeats": "Extra seats",
@@ -1605,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Switches to {{plan}} {{interval}} with {{seats}} seats on {{date}}. Keep your account balance sufficient.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Cancel the scheduled change first to adjust seats or update your plan.",
"workspace.billingPage.billing.pending.keepPlanCta": "Keep {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Keep {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "This workspace currently has {{currentSeats}} seats and will change to {{seats}} seats on {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Changes to {{seats}} seats on {{date}}. Keep your account balance sufficient.",
"workspace.billingPage.billing.pending.seatsTitle": "Seat change scheduled",
@@ -1635,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Apply changes",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Adjust prepaid seats for the {{plan}} {{interval}} plan.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Adjust seats",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Calculating…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Cancel",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "You will be redirected to checkout to complete payment.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Upgrade",
@@ -1652,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "View billing",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Seat changes saved.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Done",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "We couldn't complete this update. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Try again",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Update failed",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Invite members",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Prorated charge · Amount in billing",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} charged · Amount in billing",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Payment",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "No charge now · Effective next cycle",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Upgraded to {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Plan upgraded",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "Purchased: {{changedSeats}} seats · Total: {{seats}} seats",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Seats",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "Reduced: {{changedSeats}} seats · Next cycle total: {{seats}} seats",
@@ -1869,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Show less",
"workspace.billingPage.usage.model.unknown": "Unknown model",
"workspace.billingPage.usage.ops": "Operations",
+ "workspace.billingPage.usage.privateAgents": "Private agents",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Number of private agents owned by this member. Owners can see the count for accounting, but not the agent content.",
"workspace.billingPage.usage.range.30d": "Last 30 days",
"workspace.billingPage.usage.range.all": "All time",
"workspace.billingPage.usage.range.cycle": "This cycle",
@@ -2083,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Create account & join",
"workspace.invitePage.switchAccountToAccept": "Sign in as {{email}} to accept",
"workspace.invitePage.title": "Workspace Invitation",
+ "workspace.invitePage.viewerLimitSubtitle": "This workspace has reached its viewer limit. Ask an owner to free a viewer seat or upgrade the plan before joining.",
+ "workspace.invitePage.viewerLimitTitle": "Viewer Limit Reached",
"workspace.invitePage.workspaceLimitSubtitle": "You've reached the maximum of {{limit}} workspaces. Leave one before joining another.",
"workspace.invitePage.workspaceLimitTitle": "Workspace Limit Reached",
"workspace.member.demote": "Demote to member",
@@ -2127,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Transfer primary ownership",
"workspace.members.empty": "No members yet",
"workspace.members.invite.addAnother": "Add another",
+ "workspace.members.invite.askOwnerToBuySeats": "Ask the workspace owner to purchase more seats before inviting new members.",
"workspace.members.invite.button": "Invite",
+ "workspace.members.invite.buySeatsCta": "Buy seats",
"workspace.members.invite.emailLabel": "Email Address",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} already has a pending invitation. Resend or revoke it from the list below.",
"workspace.members.invite.errors.alreadyMember": "{{email}} is already a member of this workspace.",
"workspace.members.invite.failed": "Failed to send invitation",
+ "workspace.members.invite.invitationLimitReached": "This workspace has reached its pending-invitation limit of {{limit}}. Revoke or wait for unused invitations to expire before sending new ones.",
"workspace.members.invite.limitReached": "This workspace can have up to {{limit}} members. Remove a member before inviting more.",
"workspace.members.invite.modal.cancel": "Cancel",
"workspace.members.invite.modal.confirm": "Confirm",
@@ -2143,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Additional permissions are required to manage Team Members",
"workspace.members.invite.partialSuccess": "{{success}} invited, {{failed}} failed. Check the addresses and try again.",
"workspace.members.invite.roleLabel": "Role",
+ "workspace.members.invite.seatInsufficient": "Only {{remaining}} seat(s) remaining. Buy more seats to invite {{required}} new member(s).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Only {{remaining}} seat(s) remaining. Ask the workspace owner to purchase more seats.",
"workspace.members.invite.submit": "Invite",
"workspace.members.invite.subtitle": "Add new members by entering their email address and assigning a role",
"workspace.members.invite.success": "Team members invited successfully.",
@@ -2221,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Pick a few to start — discover more anytime.",
"workspace.onboarding.step4.cta": "Enter workspace",
"workspace.onboarding.step4.heading": "{{name}} is ready!",
+ "workspace.onboarding.step4.marketProfileNudge": "We've set up a Community profile for <strong>{{name}}</strong> so workspace agents can be installed. <cta>Customize it in Community</cta>.",
"workspace.onboarding.step4.subtitle": "Your workspace is set up. Jump in and start collaborating with your team.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agent(s) ready to help. Jump in and start collaborating with your team.",
"workspace.onboarding.step4Invite.addMore": "Add another email",
@@ -2228,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Finish",
"workspace.onboarding.step4Invite.heading": "Invite your team",
"workspace.onboarding.step4Invite.invitedCount": "Invited {{count}} member(s)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "You can invite up to {{max}} teammate(s) with your current seats.",
"workspace.onboarding.step4Invite.subtitle": "Bring teammates into this workspace now, or invite them later from member settings.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Your plan includes {{includedSeats}} free seats and supports up to {{maxSeats}} seats with purchased extra seats. Invite teammates now, or add them later from member settings.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Free includes up to {{maxSeats}} seats, including you. Invite teammates now, or add them later from member settings.",
"workspace.onboarding.stepLabel": "Step {{current}} of {{total}}",
"workspace.onboarding.title": "Set up your workspace",
"workspace.onboarding.toast.failed": "Could not save. Please try again.",
+ "workspace.onboarding.toast.installAgentsFailed": "Couldn't add the selected agents. You can install them later from the marketplace.",
"workspace.onboarding.toast.saved": "Saved",
"workspace.permission.requiresMember": "You don't have permission to do this. Ask a workspace owner to grant you Member or higher.",
"workspace.permission.requiresOwner": "Only workspace owners can do this. Ask an owner if you need this changed.",
@@ -2271,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Unlock collaboration, larger credits, and higher rate limits.",
"workspace.upgradeModal.successPage.activating": "Activating your subscription — this usually takes a few seconds…",
"workspace.upgradeModal.successPage.amountLabel": "Total paid",
- "workspace.upgradeModal.successPage.continueCta": "Invite & continue",
- "workspace.upgradeModal.successPage.desc": "{{name}} is now on Pro. Invite teammates to start collaborating.",
- "workspace.upgradeModal.successPage.inviteDesc": "Send invites by email. They will receive a link to join the workspace.",
- "workspace.upgradeModal.successPage.inviteTitle": "Invite teammates to {{name}}",
+ "workspace.upgradeModal.successPage.desc": "{{name}} is now on Pro.",
"workspace.upgradeModal.successPage.paidAtLabel": "Paid at",
"workspace.upgradeModal.successPage.planTag": "Workspace Pro",
"workspace.upgradeModal.successPage.processingDesc": "Hang tight — we are confirming the payment with Stripe. This usually takes a few seconds.",
@@ -2284,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Billing cycle",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} included seat",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} included seats",
- "workspace.upgradeModal.successPage.skipCta": "Skip for now",
"workspace.upgradeModal.successPage.title": "Upgrade complete",
"workspace.upgradeModal.successToast": "Upgrade complete — refreshing your plan…",
"workspace.upgradeModal.title": "Upgrade workspace",
diff --git a/locales/en-US/topic.json b/locales/en-US/topic.json
index dbec5e733d3..73366a082d9 100644
--- a/locales/en-US/topic.json
+++ b/locales/en-US/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Expand all groups",
"sidebar.title": "Topics",
"taskManager.agent": "Task Agent",
+ "taskManager.agentSelector.privateGroup": "Private",
+ "taskManager.agentSelector.workspaceGroup": "Workspace",
"taskManager.welcome": "Ask me about your tasks",
"temp": "Temporary",
"title": "Topic"
diff --git a/locales/en-US/video.json b/locales/en-US/video.json
index dedab7d54b6..69699c4d57b 100644
--- a/locales/en-US/video.json
+++ b/locales/en-US/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Create New Topic",
"topic.deleteConfirm": "Delete Video Topic",
"topic.deleteConfirmDesc": "You are about to delete this video topic. This action cannot be undone.",
+ "topic.privateTitle": "Private",
"topic.title": "Video Topics",
- "topic.untitled": "Default Topic"
+ "topic.untitled": "Default Topic",
+ "topic.visibility.existingLocked": "Visibility is fixed for the current topic. Create a new topic to choose a different space.",
+ "topic.workspaceTitle": "Workspace"
}
diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.json
index 4d24e9f28c0..1a093e1e97f 100644
--- a/locales/es-ES/chat.json
+++ b/locales/es-ES/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Modelo",
"active": "Activo",
+ "addAgentFromMarket": "Agregar desde el Mercado",
+ "agent.publishToWorkspace": "Publicar en el espacio de trabajo",
+ "agent.publishToWorkspaceConfirm": "Otros miembros del espacio de trabajo podrán usar este agente. No podrás volver a hacerlo privado.",
+ "agent.publishToWorkspaceSuccess": "Publicado en el espacio de trabajo",
"agentBuilder.installPlugin.authRequired": "Cloud MCP requiere iniciar sesión para continuar",
"agentBuilder.installPlugin.cancel": "Cancelar",
"agentBuilder.installPlugin.clickApproveToConnect": "Haz clic en \"Aprobar\" para conectar y autorizar esta Integración",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Guardado para respuestas futuras",
"agentSignal.receipts.memory.title": "Memoria guardada",
"agentSignal.receipts.recentActivity": "Actividad reciente",
+ "agentSignal.receipts.revert.conflict": "Versión más reciente",
+ "agentSignal.receipts.revert.failed": "Fallido",
+ "agentSignal.receipts.revert.not_found": "No se puede deshacer",
+ "agentSignal.receipts.revert.pending": "Revirtiendo",
+ "agentSignal.receipts.revert.rolled_back": "Revertido",
+ "agentSignal.receipts.revert.undo": "Deshacer",
+ "agentSignal.receipts.revert.unsupported": "No compatible",
"agentSignal.receipts.skill.detail": "Mejorado cómo este asistente maneja solicitudes similares",
"agentSignal.receipts.skill.title": "Habilidad actualizada",
"agents": "Agentes",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Llamadas de herramientas",
"chatMode.agentCap.web": "Búsqueda web",
"chatMode.agentDesc": "El agente puede usar herramientas y el entorno para completar tareas automáticamente",
+ "chatMode.agentUnsupported": "El modelo actual no admite llamadas a herramientas",
"chatMode.chat": "Chat",
"chatMode.chatDesc": "Sin entorno de ejecución ni autonomía; usa menos tokens",
"chatMode.select": "Cambiar modo",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Añadir descripción...",
"createTask.submit": "Crear tarea",
"createTask.titlePlaceholder": "Título de la tarea",
+ "createTask.visibility.changeFailed": "Error al cambiar la visibilidad de la tarea",
+ "createTask.visibility.helperPrivate": "Solo tú puedes ver esta tarea.",
+ "createTask.visibility.helperWorkspace": "Todos en este espacio de trabajo pueden ver esta tarea.",
+ "createTask.visibility.label": "Visibilidad",
+ "createTask.visibility.private": "Privado",
+ "createTask.visibility.privateAgentDisabled": "Los agentes privados solo pueden ejecutar tareas privadas. Elige un agente del espacio de trabajo o cambia esta tarea a Privada.",
+ "createTask.visibility.privateAgentLocked": "Los agentes privados solo pueden ejecutar tareas privadas.",
+ "createTask.visibility.workspace": "Espacio de trabajo",
"defaultAgent": "Agente predeterminado",
"defaultGroupChat": "Grupo",
"defaultList": "Lista predeterminada",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Sugerencias de entrada pausadas",
"input.modelUnavailable": "El modelo actual ya no está disponible. Elige otro modelo para continuar.",
"input.more": "Más",
+ "input.sandboxModeNotice": "Ejecutando en un Cloud Sandbox temporal. Las ejecuciones locales son más rápidas y pueden acceder a tus archivos.",
"input.send": "Enviar",
"input.sendWithCmdEnter": "Presiona <key/> para enviar",
"input.sendWithEnter": "Presiona <key/> para enviar",
"input.stop": "Detener",
+ "input.switchToLocal": "Usar máquina local",
"input.warp": "Nueva línea",
"input.warpWithKey": "Presiona <key/> para insertar un salto de línea",
"inputQueue.delete": "Eliminar",
@@ -364,10 +386,13 @@
"memory.on.title": "Activar Memoria",
"memory.title": "Memoria",
"mention.category.agents": "Agentes",
+ "mention.category.files": "Archivos",
"mention.category.members": "Miembros",
+ "mention.category.privateAgents": "Privado",
"mention.category.skills": "Habilidades",
"mention.category.tools": "Herramientas",
"mention.category.topics": "Temas",
+ "mention.category.workspaceAgents": "Espacio de trabajo",
"mention.title": "Mencionar miembros",
"messageAction.collapse": "Colapsar mensaje",
"messageAction.continueGeneration": "Continuar generando",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "¿Qué debería hacer en su lugar?",
"messageAction.reaction": "Agregar reacción",
"messageAction.regenerate": "Regenerar",
+ "messageAction.select": "Seleccionar",
+ "messageForward.bar.cancel": "Cancelar",
+ "messageForward.bar.delete": "Eliminar",
+ "messageForward.bar.forward": "Reenviar",
+ "messageForward.bar.selectToHere": "Seleccionar hasta aquí",
+ "messageForward.bar.selected": "Seleccionado {{count}}",
+ "messageForward.deleteConfirm.desc": "¿Eliminar los {{count}} mensajes seleccionados? Esto no se puede deshacer.",
+ "messageForward.deleteConfirm.success": "Eliminados {{count}} mensajes",
+ "messageForward.deleteConfirm.title": "Eliminar mensajes",
+ "messageForward.empty": "Selecciona al menos un mensaje para reenviar",
+ "messageForward.modal.empty": "No hay otros agentes disponibles",
+ "messageForward.modal.moreMessages": "+{{count}} mensajes más",
+ "messageForward.modal.noRecipients": "Elige agentes a la izquierda para reenviar",
+ "messageForward.modal.notePlaceholder": "Añadir una nota (opcional) — se enviará junto con los mensajes",
+ "messageForward.modal.recipients": "Enviar a ({{count}})",
+ "messageForward.modal.removeRecipient": "Eliminar destinatario",
+ "messageForward.modal.searchPlaceholder": "Buscar agentes…",
+ "messageForward.modal.sendCount": "Reenviar ({{count}})",
+ "messageForward.modal.title": "Reenviar al Agente",
+ "messageForward.role.agent": "Agente",
+ "messageForward.role.assistant": "Asistente",
+ "messageForward.role.user": "Usuario",
+ "messageForward.success": "Reenviado a {{title}}",
+ "messageForward.successMulti": "Reenviado a {{count}} agentes",
+ "messageForward.transcript.header": "Los siguientes {{count}} mensajes fueron reenviados desde otra conversación. Úsalos como contexto y continúa:",
"messageLongCollapse.collapse": "Mostrar menos",
"messageLongCollapse.expand": "Mostrar más",
"messages.dm.sentTo": "Visible solo para {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Eliminar reescritura de consulta",
"rag.userQuery.actions.regenerate": "Regenerar consulta",
"regenerate": "Regenerar",
+ "resources.knowledgePicker.publicAgentHint": "Los agentes públicos solo pueden referenciar recursos del espacio de trabajo. Publica un recurso privado en el espacio de trabajo primero si deseas adjuntarlo.",
+ "resources.mode.privateHint": "Tu propio cajón — solo tú puedes ver estos archivos",
+ "resources.mode.workspaceHint": "Compartido con todos en este espacio de trabajo",
+ "resources.publishToWorkspace.confirm": "Otros miembros del espacio de trabajo podrán ver este archivo. No podrás volver a hacerlo privado.",
+ "resources.publishToWorkspace.error": "Error al publicar el archivo en el espacio de trabajo",
+ "resources.publishToWorkspace.menu": "Publicar en el Espacio de Trabajo",
+ "resources.publishToWorkspace.success": "Publicado en el espacio de trabajo",
+ "resources.visibility.label": "Visibilidad",
+ "resources.visibility.private": "Privado",
+ "resources.visibility.privateTooltip": "Solo tú puedes ver este archivo",
+ "resources.visibility.workspace": "Espacio de trabajo",
"roleAndArchive": "Perfil y historial del agente",
"runtimeEnv.mode.cloud": "Sandbox en la nube",
"runtimeEnv.mode.cloudDesc": "Ejecutar en un entorno seguro en la nube",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "No hay agentes disponibles",
"sessionGroup.noMatchingAgents": "No se encontraron agentes coincidentes",
"sessionGroup.noSelectedAgents": "Por favor selecciona agentes",
+ "sessionGroup.publishToWorkspace": "Publicar en el espacio de trabajo",
+ "sessionGroup.publishToWorkspaceConfirm": "Otros miembros del espacio de trabajo podrán usar esta carpeta. No podrás volver a hacerla privada.",
+ "sessionGroup.publishToWorkspaceSuccess": "Publicado en el espacio de trabajo",
"sessionGroup.rename": "Renombrar grupo",
"sessionGroup.renameSuccess": "Renombrado con éxito",
"sessionGroup.searchAgents": "Buscar agentes",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normal",
"taskDetail.priority.urgent": "Urgente",
"taskDetail.properties": "Propiedades",
+ "taskDetail.publishToWorkspace.confirmContent": "Una vez publicado, esta tarea será visible para todos los miembros del espacio de trabajo y no podrá volver a ser privada.",
+ "taskDetail.publishToWorkspace.confirmHint": "Las ejecuciones pasadas permanecen privadas. Solo las ejecuciones creadas después de la publicación serán visibles para los miembros del espacio de trabajo.",
+ "taskDetail.publishToWorkspace.confirmOk": "Publicar",
+ "taskDetail.publishToWorkspace.confirmTitle": "¿Publicar tarea en el espacio de trabajo?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Esta tarea está asignada a un agente privado. Reasigna a un agente del espacio de trabajo o publica primero el agente.",
+ "taskDetail.publishToWorkspace.menuLabel": "Publicar en el Espacio de Trabajo",
"taskDetail.reassignDisabled": "No se puede reasignar el agente mientras la tarea está en ejecución",
"taskDetail.replyInThread": "Responder en este hilo",
"taskDetail.replyPlaceholder": "Responder en este hilo...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Tablero",
"taskList.view.list": "Lista",
"taskList.viewAll": "Ver todo",
+ "taskList.visibility.all": "Todos",
+ "taskList.visibility.label": "Visibilidad",
"taskSchedule.advancedSettings": "Configuración avanzada",
"taskSchedule.clear": "Borrar",
"taskSchedule.continuous": "Continuo",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Copiar Ruta Absoluta",
"workingPanel.files.copyRelativePath": "Copiar Ruta Relativa",
- "workingPanel.files.count_one": "{{count}} archivo",
- "workingPanel.files.count_other": "{{count}} archivos",
"workingPanel.files.empty": "No hay archivos en este espacio de trabajo",
+ "workingPanel.files.noSearchResults": "No hay archivos coincidentes",
"workingPanel.files.open": "Abrir Archivo",
- "workingPanel.files.refresh": "Actualizar",
+ "workingPanel.files.searchPlaceholder": "Filtrar archivos...",
"workingPanel.files.showInReview": "Mostrar en Revisión",
"workingPanel.files.showInSystem": "Revelar en Carpeta",
"workingPanel.files.title": "Archivos",
diff --git a/locales/es-ES/common.json b/locales/es-ES/common.json
index b48ed48e55b..4930b858b10 100644
--- a/locales/es-ES/common.json
+++ b/locales/es-ES/common.json
@@ -1,5 +1,6 @@
{
"about": "Acerca de",
+ "addNew": "Agregar nuevo",
"advanceSettings": "Configuración avanzada",
"agentOnboardingPromo.actionLabel": "Probar ahora",
"agentOnboardingPromo.description": "Configura tus equipos de agentes en un chat breve con Lobe AI. Tus agentes actuales no se modificarán.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "La verificación de la política de contenido falló. Por favor, revisa tu solicitud.",
"getDesktopApp": "Obtener la aplicación de escritorio",
"goToTarget": "Ir al objetivo",
+ "gotIt": "Entendido",
"historyRange": "Rango de historial",
"home.suggestQuestions": "Prueba con estos ejemplos",
"import": "Importar",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Mover hacia abajo",
"navPanel.moveUp": "Mover hacia arriba",
"navPanel.pinned": "Fijado",
+ "navPanel.privateAgents": "Privado",
+ "navPanel.publicAgents": "Espacio de trabajo",
"navPanel.resetDefault": "Restablecer valores predeterminados",
"navPanel.searchAgent": "Buscar agente...",
"navPanel.searchRecent": "Buscar recientes...",
diff --git a/locales/es-ES/discover.json b/locales/es-ES/discover.json
index 535fb45096d..146d37ad0a6 100644
--- a/locales/es-ES/discover.json
+++ b/locales/es-ES/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "bifurcaciones",
"fork.forksCount": "{{count}} bifurcación",
"fork.forksCount_other": "{{count}} bifurcaciones",
+ "fork.orgSetupRequired.memberContent": "Este espacio de trabajo aún no ha configurado un perfil de Comunidad, por lo que los forks del mercado no se pueden guardar aquí. Por favor, pide al propietario del espacio de trabajo que lo configure en Comunidad → Espacio de trabajo.",
+ "fork.orgSetupRequired.ownerContent": "Este espacio de trabajo aún no ha configurado un perfil de Comunidad. Configura uno para poder hacer forks de agentes del mercado en tu espacio de trabajo.",
+ "fork.orgSetupRequired.ownerOk": "Ir a configuración",
+ "fork.orgSetupRequired.title": "Se requiere configuración del perfil de Comunidad",
"fork.success": "¡Bifurcación realizada con éxito!",
"fork.viewAllForks": "Ver todas las bifurcaciones",
+ "fork.visibilityPrivate": "Privado",
+ "fork.visibilityPublic": "Espacio de trabajo",
"groupAgents.tag": "Grupo",
"groupAgents.underReview": "En revisión",
"home.communityAgents": "Agentes de la Comunidad",
diff --git a/locales/es-ES/editor.json b/locales/es-ES/editor.json
index eea4d8e85ef..a9306e6a08e 100644
--- a/locales/es-ES/editor.json
+++ b/locales/es-ES/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Habilidad",
"actionTag.category.tool": "Herramienta",
"actionTag.tooltip.agentSkill": "Carga un paquete de habilidades de los documentos de este agente para la solicitud.",
+ "actionTag.tooltip.clickToView": "Haz clic para ver detalles",
"actionTag.tooltip.command": "Ejecuta un comando de barra en el cliente antes de enviar.",
"actionTag.tooltip.projectSkill": "Enviado como una invocación de barra diagonal para que la CLI del agente ejecute la habilidad del proyecto correspondiente.",
"actionTag.tooltip.skill": "Carga un paquete de habilidades reutilizable para esta solicitud.",
diff --git a/locales/es-ES/electron.json b/locales/es-ES/electron.json
index 90ccc3131ea..e1844b98803 100644
--- a/locales/es-ES/electron.json
+++ b/locales/es-ES/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Configuración",
"navigation.task": "Tarea",
"navigation.tasks": "Tareas",
+ "navigation.topics": "Temas",
"navigation.unpin": "Desfijar",
"notification.finishChatGeneration": "Generación de mensaje por IA completada",
"proxy.auth": "Autenticación requerida",
diff --git a/locales/es-ES/eval.json b/locales/es-ES/eval.json
index fff730bd199..acdaa4fbeb7 100644
--- a/locales/es-ES/eval.json
+++ b/locales/es-ES/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "¿Estás seguro de que deseas eliminar este benchmark? Los conjuntos de datos relacionados y los registros de evaluación también se eliminarán.",
"benchmark.actions.edit": "Editar Benchmark",
"benchmark.actions.export": "Exportar",
+ "benchmark.card.bestPassRate": "Mejor tasa de aprobación",
"benchmark.card.bestScore": "Mejor",
"benchmark.card.caseCount": "{{count}} casos",
+ "benchmark.card.casesLabel": "Casos",
"benchmark.card.datasetCount": "{{count}} conjuntos de datos",
"benchmark.card.empty": "Aún no hay evaluaciones",
"benchmark.card.emptyHint": "Crea una nueva evaluación desde la página de detalles del benchmark",
+ "benchmark.card.evalsLabel": "Evaluaciones",
"benchmark.card.importDataset": "Importar Conjunto de Datos",
"benchmark.card.noDataset": "Aún no hay conjuntos de datos",
"benchmark.card.noDatasetHint": "Importa un conjunto de datos para comenzar a evaluar",
"benchmark.card.noRecentRuns": "No hay evaluaciones recientes para mostrar",
"benchmark.card.recentRuns": "Evaluaciones Recientes",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} antes de fallar",
+ "benchmark.card.run.queued": "En cola",
"benchmark.card.runCount": "{{count}} evaluaciones",
"benchmark.card.startFirst": "Iniciar Primera Evaluación",
"benchmark.card.viewAll": "Ver todos {{count}}",
diff --git a/locales/es-ES/file.json b/locales/es-ES/file.json
index a46e6eebaf0..5a0819dd4b8 100644
--- a/locales/es-ES/file.json
+++ b/locales/es-ES/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Transferir biblioteca",
"library.list.transferTo": "Transferir a…",
"library.new": "Nueva biblioteca",
+ "library.privateEmpty": "Crear una biblioteca privada",
+ "library.publish": "Publicar en el espacio de trabajo",
+ "library.publishConfirm.content": "Todos los miembros del espacio de trabajo verán esta base de conocimiento. Esta acción no se puede deshacer.",
+ "library.publishConfirm.title": "¿Publicar la base de conocimiento en el espacio de trabajo?",
"library.title": "Biblioteca",
+ "library.workspaceEmpty": "Crear una biblioteca del espacio de trabajo",
"loadMore": "Cargar más",
"menu.allFiles": "Todos los archivos",
"menu.allPages": "Todas las páginas",
@@ -170,6 +175,13 @@
"pageList.noResults": "No se encontraron páginas coincidentes",
"pageList.pageCount": "{{count}} páginas en total",
"pageList.pageSizeItem": "{{count}} elementos",
+ "pageList.privateTitle": "Privado",
+ "pageList.publishConfirm.content": "Después de publicar, todos en el espacio de trabajo podrán ver esta página. No podrás cambiarla nuevamente a privada.",
+ "pageList.publishConfirm.ok": "Publicar",
+ "pageList.publishConfirm.title": "Publicar en el espacio de trabajo",
+ "pageList.publishError": "Error al publicar la página",
+ "pageList.publishSuccess": "Página publicada en el espacio de trabajo",
+ "pageList.publishToWorkspace": "Publicar en el espacio de trabajo",
"pageList.title": "Páginas",
"pageList.transferConfirm": "Transferir",
"pageList.transferDescription": "Mueve esta página (y cualquier carpeta que contenga) a otro espacio de trabajo.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Transferir a…",
"pageList.transferWarning": "Este es un movimiento unidireccional; revertir requiere otra transferencia.",
"pageList.untitled": "Sin título",
+ "pageList.workspaceTitle": "Espacio de trabajo",
"portal.openInPageEditor": "Editar en página",
"preview.downloadFile": "Descargar archivo",
"preview.unsupportedFileAndContact": "Este formato de archivo no es compatible con la vista previa en línea. Si deseas solicitar compatibilidad, no dudes en <1>contactarnos</1>.",
diff --git a/locales/es-ES/image.json b/locales/es-ES/image.json
index 8c93df6096e..594316fec00 100644
--- a/locales/es-ES/image.json
+++ b/locales/es-ES/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Eliminar tema de generación",
"topic.deleteConfirmDesc": "Estás a punto de eliminar este tema de generación. Esta acción no se puede deshacer, procede con precaución.",
"topic.empty": "No hay temas de generación",
+ "topic.privateTitle": "Privado",
"topic.title": "Tema de pintura",
- "topic.untitled": "Tema predeterminado"
+ "topic.untitled": "Tema predeterminado",
+ "topic.visibility.existingLocked": "La visibilidad está fijada para el tema actual. Crea un nuevo tema para elegir un espacio diferente.",
+ "topic.workspaceTitle": "Espacio de trabajo"
}
diff --git a/locales/es-ES/models.json b/locales/es-ES/models.json
index 9c5dcbcad52..c692ebed919 100644
--- a/locales/es-ES/models.json
+++ b/locales/es-ES/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 es el modelo más inteligente de Anthropic hasta la fecha.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 es la mejor combinación de velocidad e inteligencia de Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 de Anthropic: modelo equilibrado con sólidas capacidades de programación y razonamiento.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 es el modelo Sonnet más agente de Anthropic, diseñado para flujos de trabajo sostenidos de codificación, uso de herramientas y contextos largos con velocidad y eficiencia de nivel Sonnet.",
"codegeex-4.description": "CodeGeeX-4 es un potente asistente de codificación con soporte multilingüe para preguntas y respuestas y autocompletado de código, mejorando la productividad de los desarrolladores.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B es un modelo multilingüe de generación de código que admite autocompletado y generación de código, interpretación de código, búsqueda web, llamadas a funciones y preguntas y respuestas a nivel de repositorio, cubriendo una amplia gama de escenarios de desarrollo de software. Es un modelo de código de primer nivel con menos de 10 mil millones de parámetros.",
"codegemma.description": "CodeGemma es un modelo ligero para tareas de programación variadas, que permite iteración rápida e integración sencilla.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro es el agente más potente de Google y modelo de codificación emocional, que ofrece visuales más ricos e interacción más profunda sobre un razonamiento de última generación.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) es el modelo nativo de generación de imágenes más rápido de Google con soporte de pensamiento, generación conversacional de imágenes y edición.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) es el modelo nativo de generación de imágenes más rápido de Google, con soporte para razonamiento, generación conversacional de imágenes y edición.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) es el modelo de generación de imágenes más rápido y rentable de Google, diseñado para generación y edición de alto volumen.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) es el modelo de generación de imágenes más rápido y rentable de Google, diseñado para generación y edición de alto volumen.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview es el modelo multimodal más rentable de Google, optimizado para tareas agentivas de alto volumen, traducción y procesamiento de datos.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite es el modelo multimodal más eficiente en costos de Google, optimizado para tareas agentivas de alto volumen, traducción y procesamiento de datos.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview mejora las capacidades de razonamiento de Gemini 3 Pro y añade soporte para un nivel de pensamiento medio.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V ofrece sólida comprensión y razonamiento visual en tareas visuales.",
"glm-5-turbo.description": "GLM-5-Turbo es un modelo base profundamente optimizado para escenarios agentivos. Ha sido específicamente optimizado para los requisitos principales de tareas de agentes desde la fase de entrenamiento, mejorando capacidades clave como invocación de herramientas, seguimiento de comandos y ejecución de cadenas largas. Es ideal para construir asistentes de agentes de alto rendimiento.",
"glm-5.1.description": "GLM-5.1 es el modelo insignia más reciente de Zhipu, alineado con Claude Opus 4.6 en capacidades generales y de programación. Destaca en tareas de largo alcance, siendo capaz de planificar, ejecutar e iterar de forma autónoma durante hasta 8 horas en una sola tarea, lo que lo convierte en una base ideal para Agentes Autónomos y Agentes de Programación de largo alcance.",
- "glm-5.2.description": "La serie GLM es un modelo de razonamiento híbrido de Zhipu AI diseñado para agentes, con modos de pensamiento y no pensamiento. GLM-5.2 es el modelo insignia de Zhipu para la era de tareas de largo alcance, compatible con un contexto de 1M de tokens y optimizado para planificación a largo plazo, codificación compleja y ejecución de agentes.",
+ "glm-5.2.description": "La serie GLM es un modelo de razonamiento híbrido de Zhipu AI diseñado para agentes, con modos de pensamiento y no pensamiento. GLM-5.2 es el modelo insignia de Zhipu para la era de tareas de largo alcance, con soporte para un contexto de 1M de tokens y optimizado para planificación a largo plazo, codificación compleja y ejecución de agentes.",
"glm-5.description": "GLM-5 es el modelo base insignia de próxima generación de Zhipu, diseñado específicamente para la Ingeniería Agente. Ofrece productividad confiable en sistemas de ingeniería complejos y tareas de agentes de largo alcance. En capacidades de codificación y agentes, GLM-5 logra un rendimiento de última generación entre los modelos de código abierto. En escenarios de programación del mundo real, su experiencia de usuario se acerca a la de Claude Opus 4.5. Sobresale en ingeniería de sistemas complejos y tareas de agentes de largo alcance, convirtiéndolo en un modelo base ideal para asistentes agentes de propósito general.",
"glm-5v-turbo.description": "GLM-5V-Turbo es el modelo base de codificación multimodal de Zhipu para tareas de programación visual. Maneja de forma nativa imágenes, videos, texto y archivos, y está optimizado para planificación a largo plazo, codificación compleja y ejecución de agentes en flujos de trabajo multimodales.",
"glm-image.description": "GLM-Image es el nuevo modelo insignia de generación de imágenes de Zhipu. El modelo fue entrenado de principio a fin en chips producidos localmente y adopta una arquitectura híbrida original que combina modelado autorregresivo con un decodificador de difusión. Este diseño permite una sólida comprensión de instrucciones globales junto con un renderizado detallado a nivel local, superando desafíos de larga data en la generación de contenido denso en conocimiento, como carteles, presentaciones y diagramas educativos. Representa una importante exploración hacia una nueva generación de paradigmas tecnológicos “generativos cognitivos,” ejemplificados por Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 es el modelo más versátil de Kimi hasta la fecha, con una arquitectura multimodal nativa que admite entradas de visión y texto, modos de 'pensamiento' y 'no pensamiento', y tareas tanto conversacionales como de agentes.",
"kimi-k2.6.description": "Kimi-K2.6 es un modelo de lenguaje grande lanzado por Moonshot AI, con excelentes capacidades de codificación y uso de herramientas. El despliegue del servicio solo se admite en China continental.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed es un modelo de alta velocidad de Kimi K2.7 Code. Es el mismo modelo que Kimi K2.7 Code, pero la velocidad de salida es de aproximadamente 180 Tokens/s, y en escenarios de contexto corto puede alcanzar 260 Tokens/s, ofreciendo una experiencia de programación más extrema.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code es el modelo agentivo enfocado en codificación de Moonshot AI, construido sobre Kimi K2.6, con mejoras sustanciales en tareas de codificación de largo alcance en el mundo real y aproximadamente un 30% menos de uso de tokens de pensamiento.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code es el modelo centrado en codificación de Moonshot AI, basado en Kimi K2.6, con mejoras sustanciales en tareas de codificación de largo alcance en el mundo real y aproximadamente un 30% menos de uso de tokens de pensamiento.",
"kling/kling-v3-image-generation.description": "Soporta hasta 10 imágenes de referencia, permitiendo bloquear sujetos, elementos y tonos de color para garantizar un estilo consistente. Combina transferencia de estilo, referencia de retratos/personajes, fusión de múltiples imágenes y pintura localizada para un control flexible. Ofrece detalles realistas de retratos, con visuales generales delicados y ricamente estratificados, con color y atmósfera cinematográficos.",
"kling/kling-v3-omni-image-generation.description": "Desbloquea visuales narrativos cinematográficos con generación de imágenes de nueva serie y salida directa en 2K/4K. Analiza profundamente elementos audiovisuales en indicaciones para ejecutar instrucciones creativas con precisión. Soporta entradas de múltiples referencias flexibles y mejoras de calidad integrales, ideal para guiones gráficos, arte conceptual narrativo y diseño de escenas.",
"kling/kling-v3-omni-video-generation.description": "La nueva función \"Referencia Todo en Uno\" soporta videos de 3–8 segundos o múltiples imágenes para anclar elementos de personajes. Puede coincidir con audio original y movimientos de labios para una representación auténtica de personajes. Mejora la consistencia del video y la expresión dinámica. Soporta sincronización audiovisual y guiones gráficos inteligentes.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA es un modelo multimodal que combina un codificador visual y Vicuna para una sólida comprensión visión-lenguaje.",
"llava:13b.description": "LLaVA es un modelo multimodal que combina un codificador visual y Vicuna para una sólida comprensión visión-lenguaje.",
"llava:34b.description": "LLaVA es un modelo multimodal que combina un codificador visual y Vicuna para una sólida comprensión visión-lenguaje.",
+ "lobehub-glm-5.2-fast.description": "Variante rápida del GLM-5.2 con una latencia sustancialmente menor. Las mismas capacidades que el GLM-5.2, pero con un costo mayor y una respuesta mucho más rápida.",
"magistral-medium-2509.description": "Magistral Medium 1.2 es un modelo de razonamiento de frontera de Mistral AI (sep 2025) con soporte de visión.",
"magistral-small-2509.description": "Magistral Small 1.2 es un modelo de razonamiento pequeño y de código abierto de Mistral AI (sep. 2025) con soporte de visión.",
"mathstral.description": "MathΣtral está diseñado para investigación científica y razonamiento matemático, con gran capacidad de cálculo y explicación.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K admite 32,768 tokens para contextos de longitud media, ideal para documentos largos y diálogos complejos en creación de contenido, informes y sistemas de chat.",
"moonshot-v1-8k-vision-preview.description": "Los modelos de visión Kimi (incluidos moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) pueden comprender contenido de imágenes como texto, colores y formas de objetos.",
"moonshot-v1-8k.description": "Moonshot V1 8K está optimizado para generación de texto corto con rendimiento eficiente, manejando 8,192 tokens para chats breves, notas y contenido rápido.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code es un modelo agentivo diseñado para tareas de codificación de Moonshot AI. Construido sobre Kimi K2.6, muestra mejoras significativas en tareas de codificación de largo alcance en el mundo real, mejorando las capacidades de finalización de tareas de extremo a extremo en flujos de trabajo complejos de ingeniería de software mientras reduce el uso de tokens de pensamiento en aproximadamente un 30% en comparación con Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code es un modelo diseñado para tareas de codificación de Moonshot AI. Basado en Kimi K2.6, muestra mejoras significativas en tareas de codificación de largo alcance en el mundo real, mejorando las capacidades de finalización de tareas de extremo a extremo en flujos de trabajo complejos de ingeniería de software, mientras reduce el uso de tokens de pensamiento en aproximadamente un 30% en comparación con Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 es la variante instructiva de la serie Kimi, adecuada para el uso de herramientas y generación de código de alta calidad.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 es una actualización que amplía el contexto y mejora el rendimiento en razonamiento con optimizaciones para programación.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo es una versión de alta velocidad de Kimi K2 Thinking, que reduce significativamente la latencia sin sacrificar el razonamiento profundo.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 es el modelo insignia de nueva generación de Zhipu con 355B de parámetros totales y 32B de parámetros activos, completamente mejorado en diálogo general, razonamiento y capacidades de agentes. GLM-4.7 mejora el Pensamiento Intercalado e introduce el Pensamiento Preservado y el Pensamiento a Nivel de Turno.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air es un modelo base para aplicaciones de agentes que utiliza una arquitectura de Mezcla de Expertos (MoE). Está optimizado para el uso de herramientas, navegación web, ingeniería de software y programación frontend, e integra agentes de código como Claude Code y Roo Code. Emplea razonamiento híbrido para abordar tanto escenarios complejos como situaciones cotidianas.",
"zai-org/GLM-4.5V.description": "GLM-4.5V es el último modelo VLM de Zhipu AI, basado en el modelo de texto insignia GLM-4.5-Air (106B en total, 12B activos) con una arquitectura MoE que ofrece alto rendimiento a menor costo. Sigue la línea de pensamiento de GLM-4.1V-Thinking y añade 3D-RoPE para mejorar el razonamiento espacial en 3D. Optimizado mediante preentrenamiento, SFT y RL, maneja imágenes, videos y documentos extensos, y se posiciona entre los mejores modelos abiertos en 41 benchmarks multimodales públicos. Un modo de pensamiento configurable permite equilibrar velocidad y profundidad.",
- "zai-org/GLM-5.2.description": "GLM-5.2 es el último modelo insignia de Z.ai diseñado para escenarios de tareas de largo alcance, ofreciendo mejoras significativas en las capacidades de tareas de largo alcance en comparación con GLM-5.1. Este modelo MoE de 753B admite una ventana de contexto estable de 1M de tokens, presenta capacidades de programación más sólidas y admite múltiples niveles de esfuerzo de pensamiento para un equilibrio flexible entre rendimiento y latencia.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 es el último modelo insignia de Z.ai diseñado para escenarios de tareas de largo alcance, ofreciendo mejoras significativas en capacidades de tareas de largo alcance en comparación con GLM-5.1. Este modelo MoE de 753B soporta una ventana de contexto estable de 1M de tokens, cuenta con capacidades de programación más sólidas y admite múltiples niveles de esfuerzo de pensamiento para un equilibrio flexible entre rendimiento y latencia.",
"zai/glm-4.5-air.description": "GLM-4.5 y GLM-4.5-Air son nuestros modelos insignia más recientes para aplicaciones de agentes, ambos con arquitectura MoE. GLM-4.5 cuenta con 355B en total y 32B activos por pasada; GLM-4.5-Air es más liviano, con 106B en total y 12B activos.",
"zai/glm-4.5.description": "La serie GLM-4.5 está diseñada para agentes. El modelo insignia GLM-4.5 combina razonamiento, programación y habilidades de agente con 355B de parámetros totales (32B activos) y ofrece modos de operación dual como sistema de razonamiento híbrido.",
"zai/glm-4.5v.description": "GLM-4.5V se basa en GLM-4.5-Air, heredando técnicas comprobadas de GLM-4.1V-Thinking y escalando con una sólida arquitectura MoE de 106B parámetros.",
diff --git a/locales/es-ES/plugin.json b/locales/es-ES/plugin.json
index 5d811e6463d..ab95591f503 100644
--- a/locales/es-ES/plugin.json
+++ b/locales/es-ES/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Resultado",
"builtins.codex.mcpTool.unknownTool": "Herramienta MCP",
"builtins.codex.webSearch.query": "Consulta",
+ "builtins.github.render.error": "Error",
+ "builtins.github.render.rawResult": "Resultado sin procesar",
+ "builtins.github.render.updatedAt": "Actualizado {{time}}",
+ "builtins.linear.render.empty": "No se encontró {{collection}}",
"builtins.linear.render.updatedAt": "Actualizado {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Activar Herramientas",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} no encontrado",
diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.json
index b37a66e3080..6a00293364f 100644
--- a/locales/es-ES/setting.json
+++ b/locales/es-ES/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Estándar",
"settingChatAppearance.fontSize.title": "Tamaño de Fuente",
"settingChatAppearance.highlighterTheme.title": "Tema de Resaltado de Código",
+ "settingChatAppearance.linkIcon.desc": "Desactiva esto si no lo necesitas.",
+ "settingChatAppearance.linkIcon.previewMessage": "Consulta <site></site> y <repo></repo> para más detalles.",
+ "settingChatAppearance.linkIcon.title": "Mostrar íconos en los enlaces de mensajes",
"settingChatAppearance.mermaidTheme.title": "Tema de Mermaid",
"settingChatAppearance.title": "Apariencia del Chat",
"settingChatAppearance.transitionMode.desc": "Elige cómo aparecen los mensajes del chat",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Espacio de trabajo básico · grupo mensual compartido · sin asientos de pago",
"workspace.billingPage.billing.basic.title": "Espacio de trabajo básico",
"workspace.billingPage.billing.basic.upgradeCta": "Actualizar a Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Ajuste prorrateado",
"workspace.billingPage.billing.billingPeriodModal.body": "El período de facturación de tu espacio de trabajo se cambiará de {{current}} a {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Cancelar",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Cambiar período de facturación",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Crédito prorrateado por el tiempo no utilizado en el período actual",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "No se pudo cargar la vista previa del precio. Por favor, inténtalo de nuevo.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Reintentar",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "El cambio entrará en vigor después de que finalice el período actual.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "El cambio entrará en vigor después de que finalice el período actual el {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Asientos del espacio de trabajo",
"workspace.billingPage.billing.billingPeriodModal.title": "¿Cambiar el período de facturación?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "año",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} asiento · {{credits}} créditos / mes",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} asientos · {{credits}} créditos / mes",
"workspace.billingPage.billing.breakdown.extraSeats": "Asientos adicionales",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Cambiará a {{plan}} {{interval}} con {{seats}} asientos el {{date}}. Mantén tu saldo suficiente.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Cancela el cambio programado antes de actualizar tu plan de suscripción.",
"workspace.billingPage.billing.pending.keepPlanCta": "Mantener {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Mantener {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Este espacio de trabajo actualmente tiene {{currentSeats}} asientos y cambiará a {{seats}} asientos el {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Cambiará a {{seats}} asientos el {{date}}. Mantén tu saldo suficiente.",
"workspace.billingPage.billing.pending.seatsTitle": "Cambio de asientos programado",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Comprar asientos",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Compra más asientos para el plan {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "¿Comprar más asientos?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Calculando…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Cancelar",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Serás redirigido al proceso de pago para completar el pago.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Actualizar",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Ver facturación",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "La actualización de asientos de tu espacio de trabajo se ha guardado.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Listo",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "No pudimos completar esta actualización. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Intentar de nuevo",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Actualización fallida",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Invitar miembros",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "La tarifa prorrateada de los asientos se ha cargado a tu método de pago actual.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} cobrado · Monto en facturación",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Resultado del pago",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "No se realizó ningún cargo. El cambio está programado para el próximo ciclo de facturación.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Actualizado a {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Plan actualizado",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "Ahora hay disponibles {{seats}} asientos en total, incluyendo {{purchasedSeats}} asientos adicionales prepagados.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Resultado de la compra de asientos",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} asientos en total se aplicarán en el próximo ciclo de facturación, incluyendo {{purchasedSeats}} asientos adicionales prepagados.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Mostrar menos",
"workspace.billingPage.usage.model.unknown": "Modelo desconocido",
"workspace.billingPage.usage.ops": "Operaciones",
+ "workspace.billingPage.usage.privateAgents": "Agentes privados",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Número de agentes privados propiedad de este miembro. Los propietarios pueden ver el conteo para contabilidad, pero no el contenido del agente.",
"workspace.billingPage.usage.range.30d": "Últimos 30 días",
"workspace.billingPage.usage.range.all": "Todo el tiempo",
"workspace.billingPage.usage.range.cycle": "Este ciclo",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Crear cuenta y unirse",
"workspace.invitePage.switchAccountToAccept": "Inicia sesión como {{email}} para aceptar",
"workspace.invitePage.title": "Invitación al espacio de trabajo",
+ "workspace.invitePage.viewerLimitSubtitle": "Este espacio de trabajo ha alcanzado su límite de espectadores. Pide a un propietario que libere un asiento de espectador o actualice el plan antes de unirte.",
+ "workspace.invitePage.viewerLimitTitle": "Límite de espectadores alcanzado",
"workspace.invitePage.workspaceLimitSubtitle": "Has alcanzado el máximo de {{limit}} espacios de trabajo. Sal de uno antes de unirte a otro.",
"workspace.invitePage.workspaceLimitTitle": "Límite de espacios de trabajo alcanzado",
"workspace.member.demote": "Degradar a miembro",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Transferir propiedad principal",
"workspace.members.empty": "Aún no hay miembros",
"workspace.members.invite.addAnother": "Agregar otro",
+ "workspace.members.invite.askOwnerToBuySeats": "Pide al propietario del espacio de trabajo que compre más asientos antes de invitar a nuevos miembros.",
"workspace.members.invite.button": "Invitar",
+ "workspace.members.invite.buySeatsCta": "Comprar asientos",
"workspace.members.invite.emailLabel": "Dirección de correo electrónico",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} ya tiene una invitación pendiente. Reenvíala o revócala desde la lista de abajo.",
"workspace.members.invite.errors.alreadyMember": "{{email}} ya es miembro de este espacio de trabajo.",
"workspace.members.invite.failed": "Error al enviar la invitación",
+ "workspace.members.invite.invitationLimitReached": "Este espacio de trabajo ha alcanzado su límite de invitaciones pendientes de {{limit}}. Revoca o espera a que las invitaciones no utilizadas expiren antes de enviar nuevas.",
"workspace.members.invite.limitReached": "Este espacio de trabajo puede tener hasta {{limit}} miembros. Elimina un miembro antes de invitar a más.",
"workspace.members.invite.modal.cancel": "Cancelar",
"workspace.members.invite.modal.confirm": "Confirmar",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Se requieren permisos adicionales para gestionar miembros del equipo",
"workspace.members.invite.partialSuccess": "{{success}} invitado(s), {{failed}} fallido(s). Verifica las direcciones e inténtalo nuevamente.",
"workspace.members.invite.roleLabel": "Rol",
+ "workspace.members.invite.seatInsufficient": "Solo quedan {{remaining}} asiento(s). Compra más asientos para invitar a {{required}} nuevo(s) miembro(s).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Solo quedan {{remaining}} asiento(s). Pide al propietario del espacio de trabajo que compre más asientos.",
"workspace.members.invite.submit": "Invitar",
"workspace.members.invite.subtitle": "Agrega nuevos miembros ingresando su dirección de correo electrónico y asignando un rol",
"workspace.members.invite.success": "Miembros del equipo invitados con éxito.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Elige algunos para empezar — descubre más en cualquier momento.",
"workspace.onboarding.step4.cta": "Entrar al espacio de trabajo",
"workspace.onboarding.step4.heading": "¡{{name}} está listo!",
+ "workspace.onboarding.step4.marketProfileNudge": "Hemos configurado un perfil de Comunidad para <strong>{{name}}</strong> para que se puedan instalar agentes del espacio de trabajo. <cta>Personalízalo en Comunidad</cta>.",
"workspace.onboarding.step4.subtitle": "Tu espacio de trabajo está configurado. Entra y comienza a colaborar con tu equipo.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agente(s) listo(s) para ayudar. Entra y comienza a colaborar con tu equipo.",
"workspace.onboarding.step4Invite.addMore": "Agregar otro correo electrónico",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Finalizar",
"workspace.onboarding.step4Invite.heading": "Invita a tu equipo",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} miembro(s) invitado(s)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Puedes invitar hasta {{max}} compañero(s) con tus asientos actuales.",
"workspace.onboarding.step4Invite.subtitle": "Trae compañeros de equipo a este espacio de trabajo ahora, o invítalos más tarde desde la configuración de miembros.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Tu plan incluye {{includedSeats}} asientos gratuitos y admite hasta {{maxSeats}} asientos con asientos adicionales comprados. Invita a compañeros de equipo ahora, o agrégalos más tarde desde la configuración de miembros.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby incluye hasta {{maxSeats}} asientos, incluido tú. Invita a compañeros de equipo ahora, o agrégalos más tarde desde la configuración de miembros.",
"workspace.onboarding.stepLabel": "Paso {{current}} de {{total}}",
"workspace.onboarding.title": "Configura tu espacio de trabajo",
"workspace.onboarding.toast.failed": "No se pudo guardar. Por favor, inténtalo nuevamente.",
+ "workspace.onboarding.toast.installAgentsFailed": "No se pudieron agregar los agentes seleccionados. Puedes instalarlos más tarde desde el mercado.",
"workspace.onboarding.toast.saved": "Guardado",
"workspace.permission.requiresMember": "No tienes permiso para hacer esto. Pide a un propietario del espacio de trabajo que te otorgue el rol de Miembro o superior.",
"workspace.permission.requiresOwner": "Solo los propietarios del espacio de trabajo pueden hacer esto. Pide a un propietario si necesitas que esto cambie.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Desbloquea colaboración, más créditos y límites de tasa más altos.",
"workspace.upgradeModal.successPage.activating": "Activando tu suscripción — esto generalmente toma unos segundos…",
"workspace.upgradeModal.successPage.amountLabel": "Total pagado",
- "workspace.upgradeModal.successPage.continueCta": "Invitar y continuar",
"workspace.upgradeModal.successPage.desc": "{{name}} ahora está en Pro. Invita a compañeros de equipo para comenzar a colaborar.",
- "workspace.upgradeModal.successPage.inviteDesc": "Envía invitaciones por correo electrónico. Recibirán un enlace para unirse al espacio de trabajo.",
- "workspace.upgradeModal.successPage.inviteTitle": "Invitar compañeros de equipo a {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Pagado en",
"workspace.upgradeModal.successPage.planTag": "Espacio de trabajo Pro",
"workspace.upgradeModal.successPage.processingDesc": "Espera un momento — estamos confirmando el pago con Stripe. Esto generalmente toma unos segundos.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Ciclo de facturación",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} asiento incluido",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} asientos incluidos",
- "workspace.upgradeModal.successPage.skipCta": "Omitir por ahora",
"workspace.upgradeModal.successPage.title": "Actualización completa",
"workspace.upgradeModal.successToast": "Actualización completa — actualizando tu plan…",
"workspace.upgradeModal.title": "Actualizar a Pro",
diff --git a/locales/es-ES/spend.json b/locales/es-ES/spend.json
index ae45ecc3a6b..cf47d7c8052 100644
--- a/locales/es-ES/spend.json
+++ b/locales/es-ES/spend.json
@@ -40,5 +40,28 @@
"table.more": "Ver detalles",
"table.title": "Detalles del uso de créditos de cómputo",
"table.totalToken.input": "Entrada",
- "table.totalToken.output": "Salida"
+ "table.totalToken.output": "Salida",
+ "usageStats.breakdown.cost": "Costo",
+ "usageStats.breakdown.model": "Modelo",
+ "usageStats.breakdown.requests": "Solicitudes",
+ "usageStats.breakdown.title": "Uso por Modelo",
+ "usageStats.breakdown.totalTokens": "Tokens",
+ "usageStats.byDay": "Por día",
+ "usageStats.byWeek": "Por semana",
+ "usageStats.cards.cacheDesc": "Tasa de aciertos {{rate}}% · Lecturas {{read}}",
+ "usageStats.cards.cacheSavings": "Ahorros de caché",
+ "usageStats.cards.cost": "Costo",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Entrada {{input}} · Salida {{output}}",
+ "usageStats.chart.cacheWrite": "Escritura en caché",
+ "usageStats.chart.input": "Entrada",
+ "usageStats.chart.output": "Salida",
+ "usageStats.chart.spend": "Costo",
+ "usageStats.chart.title": "Cuándo este agente gastó",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Dimensión",
+ "usageStats.entry": "Uso y Costo",
+ "usageStats.range": "Rango de tiempo",
+ "usageStats.rangeSuffix": "Últimos {{count}}d",
+ "usageStats.title": "Uso y Costo"
}
diff --git a/locales/es-ES/topic.json b/locales/es-ES/topic.json
index 0058fab352f..ba1aa28187a 100644
--- a/locales/es-ES/topic.json
+++ b/locales/es-ES/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Expandir todos los grupos",
"sidebar.title": "Temas",
"taskManager.agent": "Agente de Tareas",
+ "taskManager.agentSelector.privateGroup": "Privado",
+ "taskManager.agentSelector.workspaceGroup": "Espacio de trabajo",
"taskManager.welcome": "Pregúntame sobre tus tareas",
"temp": "Temporal",
"title": "Tema"
diff --git a/locales/es-ES/video.json b/locales/es-ES/video.json
index c1077b70504..3c2f905a97e 100644
--- a/locales/es-ES/video.json
+++ b/locales/es-ES/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Crear nuevo tema",
"topic.deleteConfirm": "Eliminar tema de vídeo",
"topic.deleteConfirmDesc": "Estás a punto de eliminar este tema de vídeo. Esta acción no se puede deshacer.",
+ "topic.privateTitle": "Privado",
"topic.title": "Temas de vídeo",
- "topic.untitled": "Tema predeterminado"
+ "topic.untitled": "Tema predeterminado",
+ "topic.visibility.existingLocked": "La visibilidad está fijada para el tema actual. Crea un nuevo tema para elegir un espacio diferente.",
+ "topic.workspaceTitle": "Espacio de trabajo"
}
diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.json
index 47b4d50a06b..40165593d00 100644
--- a/locales/fa-IR/chat.json
+++ b/locales/fa-IR/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "مدل",
"active": "فعال",
+ "addAgentFromMarket": "افزودن از بازار",
+ "agent.publishToWorkspace": "انتشار در فضای کاری",
+ "agent.publishToWorkspaceConfirm": "سایر اعضای فضای کاری قادر به استفاده از این عامل خواهند بود. شما دیگر نمی‌توانید آن را خصوصی کنید.",
+ "agent.publishToWorkspaceSuccess": "در فضای کاری منتشر شد",
"agentBuilder.installPlugin.authRequired": "برای ادامه، ورود به Cloud MCP الزامی است",
"agentBuilder.installPlugin.cancel": "لغو",
"agentBuilder.installPlugin.clickApproveToConnect": "برای اتصال و تأیید این یکپارچه‌سازی، روی «تأیید» کلیک کنید",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "این را برای پاسخ‌های آینده ذخیره کرد",
"agentSignal.receipts.memory.title": "حافظه ذخیره شد",
"agentSignal.receipts.recentActivity": "فعالیت‌های اخیر",
+ "agentSignal.receipts.revert.conflict": "نسخه جدیدتر",
+ "agentSignal.receipts.revert.failed": "ناموفق",
+ "agentSignal.receipts.revert.not_found": "قابل بازگردانی نیست",
+ "agentSignal.receipts.revert.pending": "در حال بازگردانی",
+ "agentSignal.receipts.revert.rolled_back": "بازگردانده شد",
+ "agentSignal.receipts.revert.undo": "بازگردانی",
+ "agentSignal.receipts.revert.unsupported": "پشتیبانی نمی‌شود",
"agentSignal.receipts.skill.detail": "نحوه مدیریت این دستیار با درخواست‌های مشابه بهبود یافت",
"agentSignal.receipts.skill.title": "مهارت به‌روزرسانی شد",
"agents": "عوامل",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "فراخوانی ابزار",
"chatMode.agentCap.web": "جستجوی وب",
"chatMode.agentDesc": "نماینده می‌تواند از ابزارها و محیط برای انجام خودکار وظایف استفاده کند",
+ "chatMode.agentUnsupported": "مدل فعلی از فراخوانی ابزار پشتیبانی نمی‌کند",
"chatMode.chat": "گفتگو",
"chatMode.chatDesc": "بدون محیط اجرایی یا خودمختاری؛ از توکن‌های کمتری استفاده می‌کند",
"chatMode.select": "تغییر حالت",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "افزودن توضیحات...",
"createTask.submit": "ایجاد وظیفه",
"createTask.titlePlaceholder": "عنوان وظیفه",
+ "createTask.visibility.changeFailed": "تغییر قابلیت مشاهده وظیفه ناموفق بود",
+ "createTask.visibility.helperPrivate": "فقط شما می‌توانید این وظیفه را ببینید.",
+ "createTask.visibility.helperWorkspace": "همه اعضای این فضای کاری می‌توانند این وظیفه را ببینند.",
+ "createTask.visibility.label": "قابلیت مشاهده",
+ "createTask.visibility.private": "خصوصی",
+ "createTask.visibility.privateAgentDisabled": "عوامل خصوصی فقط می‌توانند وظایف خصوصی را اجرا کنند. یک عامل فضای کاری انتخاب کنید یا این وظیفه را به خصوصی تغییر دهید.",
+ "createTask.visibility.privateAgentLocked": "عوامل خصوصی فقط می‌توانند وظایف خصوصی را اجرا کنند.",
+ "createTask.visibility.workspace": "فضای کاری",
"defaultAgent": "عامل پیش‌فرض",
"defaultGroupChat": "گروه",
"defaultList": "فهرست پیش‌فرض",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "پیشنهادات ورودی متوقف شدند",
"input.modelUnavailable": "مدل فعلی دیگر در دسترس نیست. برای ادامه مدل دیگری را انتخاب کنید.",
"input.more": "بیشتر",
+ "input.sandboxModeNotice": "در حال اجرا در یک محیط موقت ابری. اجراهای محلی سریع‌تر هستند و می‌توانند به فایل‌های شما دسترسی داشته باشند.",
"input.send": "ارسال",
"input.sendWithCmdEnter": "برای ارسال <key/> را فشار دهید",
"input.sendWithEnter": "برای ارسال <key/> را فشار دهید",
"input.stop": "توقف",
+ "input.switchToLocal": "استفاده از دستگاه محلی",
"input.warp": "خط جدید",
"input.warpWithKey": "برای افزودن خط جدید <key/> را فشار دهید",
"inputQueue.delete": "حذف",
@@ -364,10 +386,13 @@
"memory.on.title": "فعال کردن حافظه",
"memory.title": "حافظه",
"mention.category.agents": "عوامل",
+ "mention.category.files": "فایل‌ها",
"mention.category.members": "اعضا",
+ "mention.category.privateAgents": "خصوصی",
"mention.category.skills": "مهارت‌ها",
"mention.category.tools": "ابزارها",
"mention.category.topics": "موضوعات",
+ "mention.category.workspaceAgents": "فضای کاری",
"mention.title": "اشاره به اعضا",
"messageAction.collapse": "جمع کردن پیام",
"messageAction.continueGeneration": "ادامه تولید",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "به جای آن چه کاری باید انجام دهم؟",
"messageAction.reaction": "افزودن واکنش",
"messageAction.regenerate": "بازتولید",
+ "messageAction.select": "انتخاب",
+ "messageForward.bar.cancel": "لغو",
+ "messageForward.bar.delete": "حذف",
+ "messageForward.bar.forward": "ارسال",
+ "messageForward.bar.selectToHere": "انتخاب تا اینجا",
+ "messageForward.bar.selected": "{{count}} انتخاب شده",
+ "messageForward.deleteConfirm.desc": "آیا می‌خواهید {{count}} پیام انتخاب‌شده را حذف کنید؟ این عمل قابل بازگشت نیست.",
+ "messageForward.deleteConfirm.success": "{{count}} پیام حذف شد",
+ "messageForward.deleteConfirm.title": "حذف پیام‌ها",
+ "messageForward.empty": "حداقل یک پیام برای ارسال انتخاب کنید",
+ "messageForward.modal.empty": "هیچ عامل دیگری در دسترس نیست",
+ "messageForward.modal.moreMessages": "+{{count}} پیام بیشتر",
+ "messageForward.modal.noRecipients": "عوامل را در سمت چپ برای ارسال انتخاب کنید",
+ "messageForward.modal.notePlaceholder": "یادداشتی اضافه کنید (اختیاری) — همراه با پیام‌ها ارسال می‌شود",
+ "messageForward.modal.recipients": "ارسال به ({{count}})",
+ "messageForward.modal.removeRecipient": "حذف گیرنده",
+ "messageForward.modal.searchPlaceholder": "جستجوی عوامل...",
+ "messageForward.modal.sendCount": "ارسال ({{count}})",
+ "messageForward.modal.title": "ارسال به عامل",
+ "messageForward.role.agent": "عامل",
+ "messageForward.role.assistant": "دستیار",
+ "messageForward.role.user": "کاربر",
+ "messageForward.success": "به {{title}} ارسال شد",
+ "messageForward.successMulti": "به {{count}} عامل ارسال شد",
+ "messageForward.transcript.header": "{{count}} پیام زیر از یک مکالمه دیگر ارسال شده است. لطفاً از آنها به عنوان زمینه استفاده کنید و ادامه دهید:",
"messageLongCollapse.collapse": "نمایش کمتر",
"messageLongCollapse.expand": "نمایش بیشتر",
"messages.dm.sentTo": "فقط برای {{name}} قابل مشاهده است",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "حذف بازنویسی پرسش",
"rag.userQuery.actions.regenerate": "بازتولید پرسش",
"regenerate": "بازتولید",
+ "resources.knowledgePicker.publicAgentHint": "عوامل عمومی فقط می‌توانند به منابع فضای کاری ارجاع دهند. اگر می‌خواهید یک منبع خصوصی را پیوست کنید، ابتدا آن را به فضای کاری منتشر کنید.",
+ "resources.mode.privateHint": "کشوی شخصی شما — فقط شما می‌توانید این فایل‌ها را ببینید",
+ "resources.mode.workspaceHint": "با همه در این فضای کاری به اشتراک گذاشته شده است",
+ "resources.publishToWorkspace.confirm": "سایر اعضای فضای کاری می‌توانند این فایل را ببینند. شما دیگر نمی‌توانید آن را خصوصی کنید.",
+ "resources.publishToWorkspace.error": "انتشار فایل به فضای کاری ناموفق بود",
+ "resources.publishToWorkspace.menu": "انتشار به فضای کاری",
+ "resources.publishToWorkspace.success": "به فضای کاری منتشر شد",
+ "resources.visibility.label": "قابلیت مشاهده",
+ "resources.visibility.private": "خصوصی",
+ "resources.visibility.privateTooltip": "فقط شما می‌توانید این فایل را ببینید",
+ "resources.visibility.workspace": "فضای کاری",
"roleAndArchive": "پروفایل و تاریخچه نماینده",
"runtimeEnv.mode.cloud": "محیط ابری",
"runtimeEnv.mode.cloudDesc": "اجرا در یک محیط امن ابری",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "هیچ نماینده‌ای در دسترس نیست",
"sessionGroup.noMatchingAgents": "هیچ نماینده‌ای مطابق یافت نشد",
"sessionGroup.noSelectedAgents": "لطفاً نماینده‌ها را انتخاب کنید",
+ "sessionGroup.publishToWorkspace": "انتشار در فضای کاری",
+ "sessionGroup.publishToWorkspaceConfirm": "سایر اعضای فضای کاری قادر به استفاده از این پوشه خواهند بود. شما دیگر نمی‌توانید آن را خصوصی کنید.",
+ "sessionGroup.publishToWorkspaceSuccess": "در فضای کاری منتشر شد",
"sessionGroup.rename": "تغییر نام گروه",
"sessionGroup.renameSuccess": "با موفقیت تغییر نام یافت",
"sessionGroup.searchAgents": "جستجوی نماینده‌ها",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "عادی",
"taskDetail.priority.urgent": "فوری",
"taskDetail.properties": "ویژگی‌ها",
+ "taskDetail.publishToWorkspace.confirmContent": "پس از انتشار، این وظیفه برای همه اعضای فضای کاری قابل مشاهده خواهد بود و نمی‌توان آن را به خصوصی بازگرداند.",
+ "taskDetail.publishToWorkspace.confirmHint": "اجراهای گذشته خصوصی باقی می‌مانند. فقط اجراهایی که پس از انتشار ایجاد می‌شوند برای اعضای فضای کاری قابل مشاهده خواهند بود.",
+ "taskDetail.publishToWorkspace.confirmOk": "انتشار",
+ "taskDetail.publishToWorkspace.confirmTitle": "وظیفه را به فضای کاری منتشر کنید؟",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "این وظیفه به یک عامل خصوصی اختصاص داده شده است. آن را به یک عامل فضای کاری اختصاص دهید یا ابتدا عامل را منتشر کنید.",
+ "taskDetail.publishToWorkspace.menuLabel": "انتشار به فضای کاری",
"taskDetail.reassignDisabled": "در حال اجرای وظیفه، امکان تغییر عامل وجود ندارد",
"taskDetail.replyInThread": "پاسخ در این موضوع",
"taskDetail.replyPlaceholder": "پاسخ در این موضوع...",
@@ -834,6 +904,8 @@
"taskList.view.board": "برد",
"taskList.view.list": "فهرست",
"taskList.viewAll": "مشاهده همه",
+ "taskList.visibility.all": "همه",
+ "taskList.visibility.label": "قابلیت مشاهده",
"taskSchedule.advancedSettings": "تنظیمات پیشرفته",
"taskSchedule.clear": "پاک کردن",
"taskSchedule.continuous": "پیوسته",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "کپی مسیر مطلق",
"workingPanel.files.copyRelativePath": "کپی مسیر نسبی",
- "workingPanel.files.count_one": "{{count}} فایل",
- "workingPanel.files.count_other": "{{count}} فایل",
"workingPanel.files.empty": "هیچ فایلی در این فضای کاری وجود ندارد",
+ "workingPanel.files.noSearchResults": "هیچ فایل مطابقی یافت نشد",
"workingPanel.files.open": "باز کردن فایل",
- "workingPanel.files.refresh": "تازه‌سازی",
+ "workingPanel.files.searchPlaceholder": "فیلتر کردن فایل‌ها...",
"workingPanel.files.showInReview": "نمایش در بازبینی",
"workingPanel.files.showInSystem": "نمایش در پوشه",
"workingPanel.files.title": "فایل‌ها",
diff --git a/locales/fa-IR/common.json b/locales/fa-IR/common.json
index dda1a487f3e..032c8179c18 100644
--- a/locales/fa-IR/common.json
+++ b/locales/fa-IR/common.json
@@ -1,5 +1,6 @@
{
"about": "درباره",
+ "addNew": "افزودن جدید",
"advanceSettings": "تنظیمات پیشرفته",
"agentOnboardingPromo.actionLabel": "همین حالا امتحان کنید",
"agentOnboardingPromo.description": "تیم‌های عامل خود را با یک گفت‌وگوی کوتاه با Lobe AI تنظیم کنید. عامل‌های فعلی شما بدون تغییر باقی می‌مانند.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "بررسی خط‌مشی محتوا ناموفق بود. لطفاً درخواست خود را بازبینی کنید.",
"getDesktopApp": "دریافت برنامه دسکتاپ",
"goToTarget": "رفتن به هدف",
+ "gotIt": "متوجه شدم",
"historyRange": "محدوده تاریخچه",
"home.suggestQuestions": "این نمونه‌ها را امتحان کنید",
"import": "وارد کردن",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "انتقال به پایین",
"navPanel.moveUp": "انتقال به بالا",
"navPanel.pinned": "سن‌شده",
+ "navPanel.privateAgents": "خصوصی",
+ "navPanel.publicAgents": "فضای کاری",
"navPanel.resetDefault": "بازنشانی به حالت پیش‌فرض",
"navPanel.searchAgent": "جستجوی نماینده...",
"navPanel.searchRecent": "جست‌وجوی موارد اخیر...",
diff --git a/locales/fa-IR/discover.json b/locales/fa-IR/discover.json
index e371f860754..43ac697097d 100644
--- a/locales/fa-IR/discover.json
+++ b/locales/fa-IR/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "فورک‌ها",
"fork.forksCount": "{{count}} فورک",
"fork.forksCount_other": "{{count}} فورک",
+ "fork.orgSetupRequired.memberContent": "این فضای کاری هنوز پروفایل انجمن را تنظیم نکرده است، بنابراین فورک‌ها از بازار نمی‌توانند اینجا ذخیره شوند. لطفاً از مالک فضای کاری بخواهید آن را در بخش انجمن → فضای کاری تنظیم کند.",
+ "fork.orgSetupRequired.ownerContent": "این فضای کاری هنوز پروفایل انجمن را تنظیم نکرده است. یک پروفایل تنظیم کنید تا بتوانید عوامل را از بازار به فضای کاری خود فورک کنید.",
+ "fork.orgSetupRequired.ownerOk": "برو به تنظیمات",
+ "fork.orgSetupRequired.title": "نیاز به تنظیم پروفایل انجمن",
"fork.success": "با موفقیت فورک شد!",
"fork.viewAllForks": "مشاهده همه فورک‌ها",
+ "fork.visibilityPrivate": "خصوصی",
+ "fork.visibilityPublic": "فضای کاری",
"groupAgents.tag": "گروه",
"groupAgents.underReview": "در حال بررسی",
"home.communityAgents": "عوامل جامعه",
diff --git a/locales/fa-IR/editor.json b/locales/fa-IR/editor.json
index c9c1f69f86e..411c15882e8 100644
--- a/locales/fa-IR/editor.json
+++ b/locales/fa-IR/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "مهارت",
"actionTag.category.tool": "ابزار",
"actionTag.tooltip.agentSkill": "یک بسته مهارت از اسناد این نماینده برای درخواست بارگذاری می‌کند.",
+ "actionTag.tooltip.clickToView": "برای مشاهده جزئیات کلیک کنید",
"actionTag.tooltip.command": "پیش از ارسال، یک دستور اسلش سمت کلاینت را اجرا می‌کند.",
"actionTag.tooltip.projectSkill": "به عنوان یک فراخوانی اسلش ارسال می‌شود تا CLI عامل مهارت پروژه مطابقت‌یافته را اجرا کند.",
"actionTag.tooltip.skill": "برای این درخواست، یک بسته مهارت قابل استفاده مجدد را بارگذاری می‌کند.",
diff --git a/locales/fa-IR/electron.json b/locales/fa-IR/electron.json
index 5e5813a4939..8f98c10f185 100644
--- a/locales/fa-IR/electron.json
+++ b/locales/fa-IR/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "تنظیمات",
"navigation.task": "وظیفه",
"navigation.tasks": "وظایف",
+ "navigation.topics": "موضوعات",
"navigation.unpin": "حذف ثابت",
"notification.finishChatGeneration": "تولید پیام توسط هوش مصنوعی به پایان رسید",
"proxy.auth": "احراز هویت لازم است",
diff --git a/locales/fa-IR/eval.json b/locales/fa-IR/eval.json
index fb963a0564c..ccf7b87aa7c 100644
--- a/locales/fa-IR/eval.json
+++ b/locales/fa-IR/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "آیا مطمئن هستید که می‌خواهید این بنچمارک را حذف کنید؟ مجموعه داده‌ها و سوابق ارزیابی مرتبط نیز حذف خواهند شد.",
"benchmark.actions.edit": "ویرایش بنچمارک",
"benchmark.actions.export": "صادر کردن",
+ "benchmark.card.bestPassRate": "بهترین نرخ موفقیت",
"benchmark.card.bestScore": "بهترین",
"benchmark.card.caseCount": "{{count}} مورد",
+ "benchmark.card.casesLabel": "موارد",
"benchmark.card.datasetCount": "{{count}} مجموعه داده",
"benchmark.card.empty": "هنوز ارزیابی‌ای انجام نشده است",
"benchmark.card.emptyHint": "یک ارزیابی جدید از صفحه جزئیات بنچمارک ایجاد کنید",
+ "benchmark.card.evalsLabel": "ارزیابی‌ها",
"benchmark.card.importDataset": "وارد کردن مجموعه داده",
"benchmark.card.noDataset": "هنوز مجموعه داده‌ای وجود ندارد",
"benchmark.card.noDatasetHint": "یک مجموعه داده وارد کنید تا ارزیابی را شروع کنید",
"benchmark.card.noRecentRuns": "هیچ ارزیابی اخیر برای نمایش وجود ندارد",
"benchmark.card.recentRuns": "ارزیابی‌های اخیر",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} قبل از خرابی",
+ "benchmark.card.run.queued": "در صف",
"benchmark.card.runCount": "{{count}} ارزیابی",
"benchmark.card.startFirst": "شروع اولین ارزیابی",
"benchmark.card.viewAll": "مشاهده همه {{count}}",
diff --git a/locales/fa-IR/file.json b/locales/fa-IR/file.json
index 88dab25cccd..af3854640a6 100644
--- a/locales/fa-IR/file.json
+++ b/locales/fa-IR/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "انتقال کتابخانه",
"library.list.transferTo": "انتقال به...",
"library.new": "کتابخانه جدید",
+ "library.privateEmpty": "ایجاد یک کتابخانه خصوصی",
+ "library.publish": "انتشار در فضای کاری",
+ "library.publishConfirm.content": "تمام اعضای فضای کاری این پایگاه دانش را مشاهده خواهند کرد. این اقدام قابل بازگشت نیست.",
+ "library.publishConfirm.title": "پایگاه دانش را در فضای کاری منتشر کنید؟",
"library.title": "کتابخانه",
+ "library.workspaceEmpty": "ایجاد یک کتابخانه فضای کاری",
"loadMore": "بارگذاری بیشتر",
"menu.allFiles": "همه فایل‌ها",
"menu.allPages": "همه صفحات",
@@ -170,6 +175,13 @@
"pageList.noResults": "هیچ صفحه‌ای مطابق با جستجو یافت نشد",
"pageList.pageCount": "مجموع {{count}} صفحه",
"pageList.pageSizeItem": "{{count}} مورد",
+ "pageList.privateTitle": "خصوصی",
+ "pageList.publishConfirm.content": "پس از انتشار، همه در فضای کاری می‌توانند این صفحه را مشاهده کنند. نمی‌توانید آن را دوباره به حالت خصوصی تغییر دهید.",
+ "pageList.publishConfirm.ok": "انتشار",
+ "pageList.publishConfirm.title": "انتشار در فضای کاری",
+ "pageList.publishError": "انتشار صفحه ناموفق بود",
+ "pageList.publishSuccess": "صفحه در فضای کاری منتشر شد",
+ "pageList.publishToWorkspace": "انتشار در فضای کاری",
"pageList.title": "صفحات",
"pageList.transferConfirm": "انتقال",
"pageList.transferDescription": "این صفحه (و هر پوشه‌ای که شامل می‌شود) را به یک فضای کاری دیگر منتقل کنید.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "انتقال به...",
"pageList.transferWarning": "این یک انتقال یک‌طرفه است؛ بازگرداندن نیاز به انتقال دیگری دارد.",
"pageList.untitled": "بدون عنوان",
+ "pageList.workspaceTitle": "فضای کاری",
"portal.openInPageEditor": "ویرایش در صفحه",
"preview.downloadFile": "دانلود فایل",
"preview.unsupportedFileAndContact": "این فرمت فایل در حال حاضر برای پیش‌نمایش آنلاین پشتیبانی نمی‌شود. در صورت نیاز به پیش‌نمایش، لطفاً <1>با ما تماس بگیرید</1>.",
diff --git a/locales/fa-IR/image.json b/locales/fa-IR/image.json
index e6c5b7a1e25..6168c8afab0 100644
--- a/locales/fa-IR/image.json
+++ b/locales/fa-IR/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "حذف موضوع تولید",
"topic.deleteConfirmDesc": "در حال حذف این موضوع تولید هستید. این عمل قابل بازگشت نیست، لطفاً با احتیاط ادامه دهید.",
"topic.empty": "هیچ موضوع تولیدی وجود ندارد",
+ "topic.privateTitle": "خصوصی",
"topic.title": "موضوع نقاشی",
- "topic.untitled": "موضوع پیش‌فرض"
+ "topic.untitled": "موضوع پیش‌فرض",
+ "topic.visibility.existingLocked": "قابلیت مشاهده برای موضوع فعلی ثابت است. برای انتخاب فضای متفاوت، یک موضوع جدید ایجاد کنید.",
+ "topic.workspaceTitle": "فضای کاری"
}
diff --git a/locales/fa-IR/models.json b/locales/fa-IR/models.json
index 963f17225f3..2f148ef5cae 100644
--- a/locales/fa-IR/models.json
+++ b/locales/fa-IR/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 هوشمندترین مدل Anthropic تا به امروز است.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 بهترین ترکیب از سرعت و هوش را ارائه می‌دهد.",
"claude-sonnet-4.description": "Claude Sonnet 4 از Anthropic — مدلی متعادل با توانایی قوی در کدنویسی و استدلال.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 مدل Sonnet Anthropic است که بیشترین عاملیت را دارد و برای کدنویسی پایدار، استفاده از ابزارها و جریان‌های کاری با زمینه طولانی با سرعت و کارایی سطح Sonnet ساخته شده است.",
"codegeex-4.description": "CodeGeeX-4 یک دستیار هوش مصنوعی قدرتمند برای برنامه‌نویسی است که از پرسش و پاسخ چندزبانه و تکمیل کد پشتیبانی می‌کند تا بهره‌وری توسعه‌دهندگان را افزایش دهد.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B یک مدل تولید کد چندزبانه است که از تکمیل و تولید کد، مفسر کد، جستجوی وب، فراخوانی توابع و پرسش و پاسخ در سطح مخزن پشتیبانی می‌کند و طیف گسترده‌ای از سناریوهای توسعه نرم‌افزار را پوشش می‌دهد. این مدل یکی از بهترین مدل‌های کد زیر ۱۰ میلیارد پارامتر است.",
"codegemma.description": "CodeGemma یک مدل سبک برای وظایف متنوع برنامه‌نویسی است که امکان تکرار سریع و یکپارچه‌سازی آسان را فراهم می‌کند.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro قدرتمندترین مدل عامل و کدنویسی احساسی گوگل است که تعاملات بصری غنی‌تر و تعامل عمیق‌تری را بر پایه استدلال پیشرفته ارائه می‌دهد.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) سریع‌ترین مدل تولید تصویر بومی گوگل با پشتیبانی از تفکر، تولید و ویرایش تصویر مکالمه‌ای است.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) سریع‌ترین مدل تولید تصویر بومی گوگل است که از تفکر، تولید و ویرایش تصاویر در مکالمات پشتیبانی می‌کند.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) سریع‌ترین و مقرون‌به‌صرفه‌ترین مدل تولید تصویر گوگل است که برای تولید و ویرایش با حجم بالا طراحی شده است.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) سریع‌ترین و مقرون‌به‌صرفه‌ترین مدل تولید تصویر گوگل است که برای تولید و ویرایش با حجم بالا طراحی شده است.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview اقتصادی‌ترین مدل چندوجهی گوگل است که برای وظایف عامل‌محور با حجم بالا، ترجمه و پردازش داده‌ها بهینه شده است.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite اقتصادی‌ترین مدل چندوجهی گوگل است که برای وظایف عاملی با حجم بالا، ترجمه و پردازش داده بهینه شده است.",
"gemini-3.1-pro-preview.description": "پیش‌نمایش Gemini 3.1 Pro قابلیت‌های استدلال بهبود یافته را به Gemini 3 Pro اضافه می‌کند و از سطح تفکر متوسط پشتیبانی می‌کند.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V درک تصویر و استدلال قوی در وظایف بصری را ارائه می‌دهد.",
"glm-5-turbo.description": "GLM-5-Turbo یک مدل پایه است که به طور عمیق برای سناریوهای عامل بهینه شده است. این مدل به طور خاص برای نیازهای اصلی وظایف عامل از مرحله آموزش بهینه شده است، و قابلیت‌های کلیدی مانند فراخوانی ابزار، پیروی از دستورات، و اجرای زنجیره طولانی را بهبود می‌بخشد. این مدل برای ساخت دستیارهای عامل با عملکرد بالا ایده‌آل است.",
"glm-5.1.description": "GLM-5.1 جدیدترین مدل پرچم‌دار Zhipu است که از نظر توانمندی‌های کلی و برنامه‌نویسی هم‌تراز با Claude Opus 4.6 است. این مدل در انجام وظایف بلندمدت عملکردی درخشان دارد و می‌تواند در قالب یک وظیفه واحد، تا ۸ ساعت به‌صورت خودکار برنامه‌ریزی، اجرا و تکرار کند؛ از این رو، پایه‌ای ایده‌آل برای عامل‌های خودمختار و عامل‌های برنامه‌نویسی بلندمدت به شمار می‌رود.",
- "glm-5.2.description": "سری GLM یک مدل استدلال ترکیبی از Zhipu AI است که برای عوامل طراحی شده است، با حالت‌های تفکر و غیرتفکر. GLM-5.2 مدل پرچمدار Zhipu برای عصر وظایف بلندمدت است که از زمینه ۱ میلیون توکن پشتیبانی می‌کند و برای برنامه‌ریزی بلندمدت، کدنویسی پیچیده و اجرای عامل بهینه شده است.",
+ "glm-5.2.description": "سری GLM یک مدل استدلال ترکیبی از Zhipu AI است که برای عوامل طراحی شده است و دارای حالت‌های تفکر و غیرتفکر می‌باشد. GLM-5.2 مدل پرچمدار Zhipu برای عصر وظایف بلندمدت است که از زمینه‌ای با 1 میلیون توکن پشتیبانی می‌کند و برای برنامه‌ریزی بلندمدت، کدنویسی پیچیده و اجرای عامل بهینه شده است.",
"glm-5.description": "GLM-5 مدل پایه پرچمدار نسل بعدی Zhipu است که به طور خاص برای مهندسی عامل طراحی شده است. این مدل بهره‌وری قابل اعتمادی را در مهندسی سیستم‌های پیچیده و وظایف عامل با افق طولانی ارائه می‌دهد. در قابلیت‌های کدنویسی و عامل، GLM-5 عملکرد پیشرفته‌ای در میان مدل‌های متن‌باز به دست می‌آورد. در سناریوهای برنامه‌نویسی واقعی، تجربه کاربری آن به سطح Claude Opus 4.5 نزدیک می‌شود. این مدل در مهندسی سیستم‌های پیچیده و وظایف عامل با افق طولانی برجسته است و آن را به یک مدل پایه ایده‌آل برای دستیاران عامل عمومی تبدیل می‌کند.",
"glm-5v-turbo.description": "GLM-5V-Turbo مدل پایه کدنویسی چندوجهی Zhipu برای وظایف برنامه‌نویسی بصری است. این مدل به طور بومی تصاویر، ویدئو، متن و فایل‌ها را مدیریت می‌کند و برای برنامه‌ریزی بلندمدت، کدنویسی پیچیده و اجرای عامل در جریان‌های کاری چندوجهی بهینه شده است.",
"glm-image.description": "GLM-Image مدل جدید پرچمدار تولید تصویر Zhipu است. این مدل به طور کامل بر روی تراشه‌های تولید داخلی آموزش داده شده و از معماری ترکیبی اصلی که مدل‌سازی خودبازگشتی را با رمزگشای انتشار ترکیب می‌کند، استفاده می‌کند. این طراحی امکان درک قوی دستورالعمل‌های جهانی همراه با ارائه جزئیات دقیق محلی را فراهم می‌آورد و چالش‌های طولانی‌مدت در تولید محتوای دانش‌محور مانند پوسترها، ارائه‌ها و نمودارهای آموزشی را برطرف می‌کند. این مدل نمایانگر یک اکتشاف مهم به سوی نسل جدیدی از پارادایم‌های فناوری «تولید شناختی» است که توسط Nano Banana Pro نمونه‌سازی شده است.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 همه‌کاره‌ترین مدل Kimi تا به امروز است که دارای معماری چندوجهی بومی است و از ورودی‌های دیداری و متنی، حالت‌های 'تفکر' و 'غیرتفکر' و وظایف مکالمه‌ای و عامل پشتیبانی می‌کند.",
"kimi-k2.6.description": "Kimi-K2.6 یک مدل زبان بزرگ است که توسط Moonshot AI راه‌اندازی شده است، با قابلیت‌های عالی در کدنویسی و فراخوانی ابزارها. استقرار خدمات فقط در سرزمین اصلی چین پشتیبانی می‌شود.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​یک مدل پرسرعت از Kimi K2.7 Code است. این مدل مشابه Kimi K2.7 Code است، اما سرعت خروجی آن حدود 180 توکن در ثانیه است و در سناریوهای کوتاه‌مدت می‌تواند به 260 توکن در ثانیه برسد، تجربه‌ای بی‌نظیر در برنامه‌نویسی ارائه می‌دهد.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code مدل عاملانه متمرکز بر کدنویسی Moonshot AI است که بر اساس Kimi K2.6 ساخته شده و بهبودهای قابل توجهی در وظایف کدنویسی بلندمدت واقعی دارد و استفاده از توکن‌های تفکر را حدود ۳۰٪ کاهش داده است.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code مدل عامل محور کدنویسی از Moonshot AI است که بر اساس Kimi K2.6 ساخته شده و بهبودهای قابل توجهی در وظایف کدنویسی بلندمدت واقعی داشته و مصرف توکن‌های تفکر را حدود 30٪ کاهش داده است.",
"kling/kling-v3-image-generation.description": "از حداکثر 10 تصویر مرجع پشتیبانی می‌کند، که به شما امکان می‌دهد سوژه‌ها، عناصر، و تن رنگ‌ها را قفل کنید تا سبک ثابت را تضمین کنید. ترکیب انتقال سبک، ارجاع پرتره/شخصیت، ترکیب چند تصویر، و نقاشی محلی برای کنترل انعطاف‌پذیر. جزئیات پرتره واقعی ارائه می‌دهد، با تصاویر کلی که ظریف و غنی از لایه‌ها هستند، و دارای رنگ و جو سینمایی.",
"kling/kling-v3-omni-image-generation.description": "تصاویر بصری داستان‌گویی سینمایی را با تولید سری جدید تصاویر و خروجی مستقیم 2K/4K باز کنید. عناصر صوتی و تصویری در دستورات را به طور عمیق تحلیل می‌کند تا دستورالعمل‌های خلاقانه را به دقت اجرا کند. از ورودی‌های چند مرجع انعطاف‌پذیر و ارتقاهای جامع کیفیت پشتیبانی می‌کند، که برای استوری‌بوردها، هنر مفهومی روایت، و طراحی صحنه ایده‌آل است.",
"kling/kling-v3-omni-video-generation.description": "ویژگی جدید \"مرجع همه‌جانبه\" از ویدئوهای 3–8 ثانیه‌ای یا تصاویر متعدد برای لنگر انداختن عناصر شخصیت پشتیبانی می‌کند. می‌تواند صدا و حرکات لب اصلی را برای نمایش واقعی شخصیت مطابقت دهد. ثبات ویدئو و بیان پویا را بهبود می‌بخشد. از همگام‌سازی صوتی و تصویری و استوری‌بورد هوشمند پشتیبانی می‌کند.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA یک مدل چندوجهی است که رمزگذار بینایی را با Vicuna ترکیب می‌کند تا درک قوی زبان-تصویر را فراهم آورد.",
"llava:13b.description": "LLaVA یک مدل چندوجهی است که رمزگذار بینایی را با Vicuna ترکیب می‌کند تا درک قوی زبان-تصویر را فراهم آورد.",
"llava:34b.description": "LLaVA یک مدل چندوجهی است که رمزگذار بینایی را با Vicuna ترکیب می‌کند تا درک قوی زبان-تصویر را فراهم آورد.",
+ "lobehub-glm-5.2-fast.description": "نسخه سریع GLM-5.2 با تأخیر به‌طور قابل‌توجهی کمتر. همان قابلیت‌های GLM-5.2 — هزینه بیشتری دارد، اما بسیار سریع‌تر پاسخ می‌دهد.",
"magistral-medium-2509.description": "Magistral Medium 1.2 یک مدل استدلال پیشرفته از Mistral AI (سپتامبر 2025) با پشتیبانی از دید است.",
"magistral-small-2509.description": "Magistral Small 1.2 یک مدل استدلال کوچک و متن‌باز از Mistral AI (سپتامبر ۲۰۲۵) با پشتیبانی از بینایی است.",
"mathstral.description": "MathΣtral برای پژوهش علمی و استدلال ریاضی ساخته شده و توانایی بالایی در محاسبه و توضیح دارد.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K از ۳۲٬۷۶۸ توکن برای زمینه‌های متوسط پشتیبانی می‌کند و برای اسناد بلند و گفتگوهای پیچیده در تولید محتوا، گزارش‌ها و سامانه‌های چت ایده‌آل است.",
"moonshot-v1-8k-vision-preview.description": "مدل‌های بینایی Kimi (شامل moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) قادر به درک محتوای تصاویر مانند متن، رنگ‌ها و اشکال اشیاء هستند.",
"moonshot-v1-8k.description": "Moonshot V1 8K برای تولید متون کوتاه بهینه‌سازی شده و عملکردی کارآمد دارد. این مدل تا ۸٬۱۹۲ توکن را برای چت‌های کوتاه، یادداشت‌ها و محتوای سریع مدیریت می‌کند.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code یک مدل عاملانه طراحی شده برای وظایف کدنویسی از Moonshot AI است. بر اساس Kimi K2.6 ساخته شده و بهبودهای قابل توجهی در وظایف کدنویسی بلندمدت واقعی نشان می‌دهد، قابلیت‌های تکمیل وظایف انتها به انتها را در جریان‌های کاری پیچیده مهندسی نرم‌افزار افزایش می‌دهد و استفاده از توکن‌های تفکر را حدود ۳۰٪ نسبت به Kimi K2.6 کاهش می‌دهد.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code یک مدل عامل محور طراحی شده برای وظایف کدنویسی از Moonshot AI است. این مدل بر اساس Kimi K2.6 ساخته شده و بهبودهای قابل توجهی در وظایف کدنویسی بلندمدت واقعی نشان داده است، قابلیت‌های تکمیل وظایف انتها به انتها را در جریان‌های کاری پیچیده مهندسی نرم‌افزار افزایش داده و مصرف توکن‌های تفکر را حدود 30٪ نسبت به Kimi K2.6 کاهش داده است.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 نسخه instruct از سری Kimi است که برای تولید کد با کیفیت بالا و استفاده از ابزارها مناسب است.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 نسخه‌ای به‌روزشده است که عملکرد زمینه و استدلال را با بهینه‌سازی‌های برنامه‌نویسی گسترش می‌دهد.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo نسخه پرسرعت مدل Kimi K2 Thinking است که با حفظ عمق استدلال، تأخیر را به‌طور قابل‌توجهی کاهش می‌دهد.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 مدل پرچمدار نسل جدید Zhipu با ۳۵۵ میلیارد پارامتر کل و ۳۲ میلیارد پارامتر فعال است که به طور کامل در گفتگوی عمومی، استدلال و قابلیت‌های عامل ارتقا یافته است. GLM-4.7 تفکر متداخل را تقویت می‌کند و تفکر حفظ‌شده و تفکر سطح-چرخشی را معرفی می‌کند.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air یک مدل پایه برای برنامه‌های عامل با معماری Mixture-of-Experts است. این مدل برای استفاده از ابزار، مرور وب، مهندسی نرم‌افزار و کدنویسی فرانت‌اند بهینه شده و با عامل‌های کد مانند Claude Code و Roo Code ادغام می‌شود. از استدلال ترکیبی برای مدیریت وظایف پیچیده و روزمره استفاده می‌کند.",
"zai-org/GLM-4.5V.description": "GLM-4.5V جدیدترین مدل VLM از Zhipu AI است که بر پایه مدل متنی پرچم‌دار GLM-4.5-Air (با ۱۰۶ میلیارد پارامتر کل و ۱۲ میلیارد فعال) ساخته شده و از معماری MoE برای عملکرد قوی با هزینه کمتر بهره می‌برد. این مدل مسیر GLM-4.1V-Thinking را دنبال کرده و با افزودن 3D-RoPE استدلال فضایی سه‌بعدی را بهبود می‌بخشد. با پیش‌آموزش، SFT و RL بهینه‌سازی شده و تصاویر، ویدیو و اسناد بلند را پردازش می‌کند و در ۴۱ معیار چندوجهی عمومی در میان مدل‌های متن‌باز رتبه برتر دارد. حالت تفکر قابل تنظیم به کاربران امکان می‌دهد بین سرعت و عمق تعادل برقرار کنند.",
- "zai-org/GLM-5.2.description": "GLM-5.2 آخرین مدل پرچمدار Z.ai است که برای سناریوهای وظایف بلندمدت طراحی شده است و بهبودهای قابل توجهی در قابلیت‌های وظایف بلندمدت نسبت به GLM-5.1 ارائه می‌دهد. این مدل MoE با ۷۵۳ میلیارد پارامتر از یک پنجره زمینه پایدار ۱ میلیون توکن پشتیبانی می‌کند، قابلیت‌های برنامه‌نویسی قوی‌تری دارد و از سطوح مختلف تلاش تفکر برای تعادل انعطاف‌پذیر بین عملکرد و تأخیر پشتیبانی می‌کند.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 جدیدترین مدل پرچمدار Z.ai است که برای سناریوهای وظایف بلندمدت طراحی شده و بهبودهای قابل توجهی در قابلیت‌های وظایف بلندمدت نسبت به GLM-5.1 ارائه می‌دهد. این مدل MoE با 753 میلیارد پارامتر از یک پنجره زمینه‌ای پایدار با 1 میلیون توکن پشتیبانی می‌کند، قابلیت‌های برنامه‌نویسی قوی‌تری دارد و از سطوح مختلف تلاش تفکر برای تعادل انعطاف‌پذیر بین عملکرد و تأخیر پشتیبانی می‌کند.",
"zai/glm-4.5-air.description": "GLM-4.5 و GLM-4.5-Air جدیدترین مدل‌های پرچم‌دار ما برای برنامه‌های عامل هستند که هر دو از معماری MoE استفاده می‌کنند. GLM-4.5 دارای ۳۵۵ میلیارد پارامتر کل و ۳۲ میلیارد فعال در هر عبور است؛ GLM-4.5-Air نسخه سبک‌تر با ۱۰۶ میلیارد کل و ۱۲ میلیارد فعال است.",
"zai/glm-4.5.description": "سری GLM-4.5 برای عامل‌ها طراحی شده است. مدل پرچم‌دار GLM-4.5 استدلال، کدنویسی و مهارت‌های عامل را با ۳۵۵ میلیارد پارامتر کل (۳۲ میلیارد فعال) ترکیب می‌کند و دو حالت عملیاتی به‌عنوان یک سیستم استدلال ترکیبی ارائه می‌دهد.",
"zai/glm-4.5v.description": "GLM-4.5V بر پایه GLM-4.5-Air ساخته شده، تکنیک‌های اثبات‌شده GLM-4.1V-Thinking را به ارث برده و با معماری MoE قدرتمند ۱۰۶ میلیارد پارامتری مقیاس یافته است.",
diff --git a/locales/fa-IR/plugin.json b/locales/fa-IR/plugin.json
index 2c86adb40d2..fcedb3834fb 100644
--- a/locales/fa-IR/plugin.json
+++ b/locales/fa-IR/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "نتیجه",
"builtins.codex.mcpTool.unknownTool": "ابزار MCP",
"builtins.codex.webSearch.query": "پرس‌وجو",
+ "builtins.github.render.error": "خطا",
+ "builtins.github.render.rawResult": "نتیجه خام",
+ "builtins.github.render.updatedAt": "به‌روزرسانی شده در {{time}}",
+ "builtins.linear.render.empty": "{{collection}} یافت نشد",
"builtins.linear.render.updatedAt": "به‌روزرسانی شده {{time}}",
"builtins.lobe-activator.apiName.activateTools": "فعال کردن ابزارها",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} یافت نشد",
diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.json
index b7259a3474c..edbadaffcbc 100644
--- a/locales/fa-IR/setting.json
+++ b/locales/fa-IR/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "استاندارد",
"settingChatAppearance.fontSize.title": "اندازه فونت",
"settingChatAppearance.highlighterTheme.title": "تم برجسته‌سازی کد",
+ "settingChatAppearance.linkIcon.desc": "اگر به آن نیازی ندارید، این گزینه را خاموش کنید.",
+ "settingChatAppearance.linkIcon.previewMessage": "برای اطلاعات بیشتر به <site></site> و <repo></repo> مراجعه کنید.",
+ "settingChatAppearance.linkIcon.title": "نمایش آیکون‌ها در لینک‌های پیام",
"settingChatAppearance.mermaidTheme.title": "تم Mermaid",
"settingChatAppearance.title": "ظاهر گفتگو",
"settingChatAppearance.transitionMode.desc": "نحوه نمایش پیام‌های گفتگو را انتخاب کنید",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "فضای کاری پایه · سهمیه ماهانه مشترک · بدون اعضای پولی",
"workspace.billingPage.billing.basic.title": "فضای کاری پایه",
"workspace.billingPage.billing.basic.upgradeCta": "ارتقا به حرفه‌ای",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "تعدیل محاسبه شده",
"workspace.billingPage.billing.billingPeriodModal.body": "دوره صورتحساب فضای کاری شما از {{current}} به {{target}} تغییر خواهد کرد.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "لغو",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "تغییر دوره صورتحساب",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "اعتبار محاسبه شده برای زمان استفاده نشده در دوره فعلی",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "پیش‌نمایش قیمت بارگذاری نشد. لطفاً دوباره تلاش کنید.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "تلاش مجدد",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "این تغییر پس از پایان دوره فعلی اعمال خواهد شد.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "این تغییر پس از پایان دوره فعلی در تاریخ {{date}} اعمال خواهد شد.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "صندلی‌های فضای کاری",
"workspace.billingPage.billing.billingPeriodModal.title": "آیا دوره صورتحساب تغییر کند؟",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "سال",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} صندلی · {{credits}} اعتبار / ماه",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} صندلی‌ها · {{credits}} اعتبار / ماه",
"workspace.billingPage.billing.breakdown.extraSeats": "صندلی‌های اضافی",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "به {{plan}} {{interval}} با {{seats}} صندلی در {{date}} تغییر می‌کند. موجودی حساب خود را کافی نگه دارید.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "قبل از به‌روزرسانی طرح اشتراک، تغییر برنامه زمان‌بندی‌شده را لغو کنید.",
"workspace.billingPage.billing.pending.keepPlanCta": "نگه داشتن {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "نگه داشتن {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "این فضای کاری در حال حاضر {{currentSeats}} صندلی دارد و در {{date}} به {{seats}} صندلی تغییر خواهد کرد.",
"workspace.billingPage.billing.pending.seatsDesc": "در {{date}} به {{seats}} صندلی تغییر می‌کند. موجودی حساب خود را کافی نگه دارید.",
"workspace.billingPage.billing.pending.seatsTitle": "تغییر صندلی زمان‌بندی‌شده",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "خرید صندلی‌ها",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "صندلی‌های بیشتری برای طرح {{plan}} {{interval}} خریداری کنید.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "صندلی‌های بیشتری بخرید؟",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "در حال محاسبه...",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "لغو",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "برای تکمیل پرداخت به صفحه پرداخت هدایت خواهید شد.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "ارتقا",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "مشاهده صورتحساب",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "به‌روزرسانی صندلی‌های فضای کاری شما ذخیره شده است.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "انجام شد",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "ما نتوانستیم این به‌روزرسانی را کامل کنیم. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "دوباره تلاش کنید",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "به‌روزرسانی ناموفق بود",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "دعوت از اعضا",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "هزینه صندلی‌های محاسبه‌شده به روش پرداخت فعلی شما اضافه شده است.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} دریافت شد · مبلغ در صورتحساب",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "نتیجه پرداخت",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "هیچ پرداختی انجام نشد. این تغییر برای چرخه صورتحساب بعدی برنامه‌ریزی شده است.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "ارتقا به {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "طرح ارتقا یافت",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} صندلی در مجموع اکنون در دسترس است، شامل {{purchasedSeats}} صندلی اضافی پیش‌پرداخت شده.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "نتیجه خرید صندلی",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} صندلی در مجموع در چرخه صورتحساب بعدی اعمال خواهد شد، شامل {{purchasedSeats}} صندلی اضافی پیش‌پرداخت شده.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "نمایش کمتر",
"workspace.billingPage.usage.model.unknown": "مدل ناشناخته",
"workspace.billingPage.usage.ops": "عملیات",
+ "workspace.billingPage.usage.privateAgents": "نمایندگان خصوصی",
+ "workspace.billingPage.usage.privateAgentsTooltip": "تعداد نمایندگان خصوصی متعلق به این عضو. مالکین می‌توانند تعداد را برای حسابداری مشاهده کنند، اما به محتوای نمایندگان دسترسی ندارند.",
"workspace.billingPage.usage.range.30d": "۳۰ روز گذشته",
"workspace.billingPage.usage.range.all": "تمام زمان‌ها",
"workspace.billingPage.usage.range.cycle": "این چرخه",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "ایجاد حساب و پیوستن",
"workspace.invitePage.switchAccountToAccept": "با {{email}} وارد شوید تا پذیرش کنید",
"workspace.invitePage.title": "دعوت به فضای کاری",
+ "workspace.invitePage.viewerLimitSubtitle": "این فضای کاری به حد مجاز بیننده‌ها رسیده است. از مالک بخواهید یک صندلی بیننده آزاد کند یا طرح را قبل از پیوستن ارتقا دهد.",
+ "workspace.invitePage.viewerLimitTitle": "حد مجاز بیننده‌ها پر شده است",
"workspace.invitePage.workspaceLimitSubtitle": "شما به حداکثر {{limit}} فضای کاری رسیده‌اید. یکی را ترک کنید قبل از پیوستن به دیگری.",
"workspace.invitePage.workspaceLimitTitle": "محدودیت فضای کاری رسید",
"workspace.member.demote": "تنزل به عضو",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "انتقال مالکیت اصلی",
"workspace.members.empty": "هنوز هیچ عضوی وجود ندارد",
"workspace.members.invite.addAnother": "اضافه کردن دیگری",
+ "workspace.members.invite.askOwnerToBuySeats": "از مالک فضای کاری بخواهید قبل از دعوت اعضای جدید، صندلی‌های بیشتری خریداری کند.",
"workspace.members.invite.button": "دعوت",
+ "workspace.members.invite.buySeatsCta": "خرید صندلی‌ها",
"workspace.members.invite.emailLabel": "آدرس ایمیل",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} قبلاً دعوتی در انتظار دارد. دوباره ارسال کنید یا آن را از لیست زیر لغو کنید.",
"workspace.members.invite.errors.alreadyMember": "{{email}} قبلاً عضو این فضای کاری است.",
"workspace.members.invite.failed": "ارسال دعوت‌نامه ناموفق بود",
+ "workspace.members.invite.invitationLimitReached": "این فضای کاری به حد مجاز دعوت‌نامه‌های در انتظار {{limit}} رسیده است. دعوت‌نامه‌های استفاده‌نشده را لغو کنید یا منتظر بمانید تا منقضی شوند و سپس دعوت‌نامه‌های جدید ارسال کنید.",
"workspace.members.invite.limitReached": "این فضای کاری می‌تواند حداکثر {{limit}} عضو داشته باشد. قبل از دعوت اعضای جدید، یک عضو را حذف کنید.",
"workspace.members.invite.modal.cancel": "لغو",
"workspace.members.invite.modal.confirm": "تأیید",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "مجوزهای اضافی برای مدیریت اعضای تیم مورد نیاز است",
"workspace.members.invite.partialSuccess": "{{success}} دعوت شدند، {{failed}} ناموفق بودند. آدرس‌ها را بررسی کرده و دوباره تلاش کنید.",
"workspace.members.invite.roleLabel": "نقش",
+ "workspace.members.invite.seatInsufficient": "فقط {{remaining}} صندلی باقی مانده است. برای دعوت {{required}} عضو جدید، صندلی‌های بیشتری خریداری کنید.",
+ "workspace.members.invite.seatInsufficientNoBuy": "فقط {{remaining}} صندلی باقی مانده است. از مالک فضای کاری بخواهید صندلی‌های بیشتری خریداری کند.",
"workspace.members.invite.submit": "دعوت",
"workspace.members.invite.subtitle": "اعضای جدید را با وارد کردن آدرس ایمیل و تخصیص نقش اضافه کنید",
"workspace.members.invite.success": "اعضای تیم با موفقیت دعوت شدند.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "چند مورد را برای شروع انتخاب کنید — هر زمان می‌توانید موارد بیشتری کشف کنید.",
"workspace.onboarding.step4.cta": "ورود به فضای کاری",
"workspace.onboarding.step4.heading": "{{name}} آماده است!",
+ "workspace.onboarding.step4.marketProfileNudge": "ما یک پروفایل انجمن برای <strong>{{name}}</strong> تنظیم کرده‌ایم تا نمایندگان فضای کاری نصب شوند. <cta>آن را در انجمن سفارشی کنید</cta>.",
"workspace.onboarding.step4.subtitle": "فضای کاری شما آماده است. وارد شوید و همکاری با تیم خود را آغاز کنید.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} نماینده آماده کمک هستند. وارد شوید و همکاری با تیم خود را آغاز کنید.",
"workspace.onboarding.step4Invite.addMore": "افزودن ایمیل دیگر",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "پایان",
"workspace.onboarding.step4Invite.heading": "تیم خود را دعوت کنید",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} عضو دعوت شده",
+ "workspace.onboarding.step4Invite.seatLimitReached": "شما می‌توانید تا {{max}} هم‌تیمی را با صندلی‌های فعلی خود دعوت کنید.",
"workspace.onboarding.step4Invite.subtitle": "هم‌تیمی‌های خود را اکنون به این فضای کاری دعوت کنید یا بعداً از تنظیمات اعضا دعوت کنید.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "طرح شما شامل {{includedSeats}} صندلی رایگان است و از حداکثر {{maxSeats}} صندلی با صندلی‌های اضافی خریداری شده پشتیبانی می‌کند. هم‌تیمی‌های خود را اکنون دعوت کنید یا بعداً از تنظیمات اعضا اضافه کنید.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "طرح رایگان شامل حداکثر {{maxSeats}} صندلی، از جمله شما است. هم‌تیمی‌های خود را اکنون دعوت کنید یا بعداً از تنظیمات اعضا اضافه کنید.",
"workspace.onboarding.stepLabel": "مرحله {{current}} از {{total}}",
"workspace.onboarding.title": "فضای کاری خود را تنظیم کنید",
"workspace.onboarding.toast.failed": "ذخیره نشد. لطفاً دوباره تلاش کنید.",
+ "workspace.onboarding.toast.installAgentsFailed": "نمایندگان انتخاب شده اضافه نشدند. می‌توانید بعداً آنها را از بازار نصب کنید.",
"workspace.onboarding.toast.saved": "ذخیره شد",
"workspace.permission.requiresMember": "شما اجازه انجام این کار را ندارید. از مالک فضای کاری بخواهید که به شما مجوز عضو یا بالاتر بدهد.",
"workspace.permission.requiresOwner": "فقط مالکان فضای کاری می‌توانند این کار را انجام دهند. اگر نیاز به تغییر دارید، از یک مالک بخواهید.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "باز کردن قابلیت همکاری، اعتبار بیشتر و محدودیت‌های بالاتر.",
"workspace.upgradeModal.successPage.activating": "اشتراک شما در حال فعال‌سازی است — این معمولاً چند ثانیه طول می‌کشد…",
"workspace.upgradeModal.successPage.amountLabel": "مبلغ پرداخت‌شده",
- "workspace.upgradeModal.successPage.continueCta": "دعوت و ادامه",
"workspace.upgradeModal.successPage.desc": "{{name}} اکنون در نسخه حرفه‌ای است. اعضای تیم را دعوت کنید تا همکاری را آغاز کنید.",
- "workspace.upgradeModal.successPage.inviteDesc": "دعوت‌ها را از طریق ایمیل ارسال کنید. آن‌ها لینکی برای پیوستن به فضای کاری دریافت خواهند کرد.",
- "workspace.upgradeModal.successPage.inviteTitle": "دعوت اعضای تیم به {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "پرداخت شده در",
"workspace.upgradeModal.successPage.planTag": "فضای کاری حرفه‌ای",
"workspace.upgradeModal.successPage.processingDesc": "لطفاً صبر کنید — ما در حال تأیید پرداخت با Stripe هستیم. این معمولاً چند ثانیه طول می‌کشد.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "چرخه صورتحساب",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} صندلی شامل شده",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} صندلی شامل شده",
- "workspace.upgradeModal.successPage.skipCta": "فعلاً رد کردن",
"workspace.upgradeModal.successPage.title": "ارتقا کامل شد",
"workspace.upgradeModal.successToast": "ارتقا کامل شد — در حال به‌روزرسانی طرح شما…",
"workspace.upgradeModal.title": "ارتقا به نسخه حرفه‌ای",
diff --git a/locales/fa-IR/spend.json b/locales/fa-IR/spend.json
index 451f9551262..f1408e73880 100644
--- a/locales/fa-IR/spend.json
+++ b/locales/fa-IR/spend.json
@@ -40,5 +40,28 @@
"table.more": "مشاهده جزئیات",
"table.title": "جزئیات مصرف اعتبار محاسباتی",
"table.totalToken.input": "ورودی",
- "table.totalToken.output": "خروجی"
+ "table.totalToken.output": "خروجی",
+ "usageStats.breakdown.cost": "هزینه",
+ "usageStats.breakdown.model": "مدل",
+ "usageStats.breakdown.requests": "درخواست‌ها",
+ "usageStats.breakdown.title": "استفاده بر اساس مدل",
+ "usageStats.breakdown.totalTokens": "تعداد توکن‌ها",
+ "usageStats.byDay": "بر اساس روز",
+ "usageStats.byWeek": "بر اساس هفته",
+ "usageStats.cards.cacheDesc": "نرخ موفقیت {{rate}}% · خواندن {{read}}",
+ "usageStats.cards.cacheSavings": "صرفه‌جویی در کش",
+ "usageStats.cards.cost": "هزینه",
+ "usageStats.cards.token": "توکن",
+ "usageStats.cards.tokenDesc": "ورودی {{input}} · خروجی {{output}}",
+ "usageStats.chart.cacheWrite": "نوشتن در کش",
+ "usageStats.chart.input": "ورودی",
+ "usageStats.chart.output": "خروجی",
+ "usageStats.chart.spend": "هزینه",
+ "usageStats.chart.title": "زمانی که این عامل هزینه کرد",
+ "usageStats.chart.tokens": "توکن",
+ "usageStats.dimension": "بُعد",
+ "usageStats.entry": "استفاده و هزینه",
+ "usageStats.range": "بازه زمانی",
+ "usageStats.rangeSuffix": "{{count}} روز گذشته",
+ "usageStats.title": "استفاده و هزینه"
}
diff --git a/locales/fa-IR/topic.json b/locales/fa-IR/topic.json
index 209f69128e8..0b6e97ffaba 100644
--- a/locales/fa-IR/topic.json
+++ b/locales/fa-IR/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "باز کردن همه گروه‌ها",
"sidebar.title": "موضوعات",
"taskManager.agent": "عامل وظایف",
+ "taskManager.agentSelector.privateGroup": "خصوصی",
+ "taskManager.agentSelector.workspaceGroup": "فضای کاری",
"taskManager.welcome": "در مورد کارهایت از من بپرس",
"temp": "موقت",
"title": "گفت‌وگو"
diff --git a/locales/fa-IR/video.json b/locales/fa-IR/video.json
index 640d4a81432..b644827a57f 100644
--- a/locales/fa-IR/video.json
+++ b/locales/fa-IR/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "ایجاد موضوع جدید",
"topic.deleteConfirm": "حذف موضوع ویدیو",
"topic.deleteConfirmDesc": "در حال حذف این موضوع ویدیو هستید. این عملیات قابل بازگشت نیست.",
+ "topic.privateTitle": "خصوصی",
"topic.title": "موضوعات ویدیو",
- "topic.untitled": "موضوع پیش‌فرض"
+ "topic.untitled": "موضوع پیش‌فرض",
+ "topic.visibility.existingLocked": "قابلیت مشاهده برای موضوع فعلی ثابت است. برای انتخاب فضای متفاوت، یک موضوع جدید ایجاد کنید.",
+ "topic.workspaceTitle": "فضای کاری"
}
diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.json
index 5bf33dab846..e42c7783e0e 100644
--- a/locales/fr-FR/chat.json
+++ b/locales/fr-FR/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Modèle",
"active": "Actif",
+ "addAgentFromMarket": "Ajouter depuis le Marché",
+ "agent.publishToWorkspace": "Publier dans l'espace de travail",
+ "agent.publishToWorkspaceConfirm": "Les autres membres de l'espace de travail pourront utiliser cet agent. Vous ne pourrez plus le rendre privé.",
+ "agent.publishToWorkspaceSuccess": "Publié dans l'espace de travail",
"agentBuilder.installPlugin.authRequired": "Cloud MCP nécessite une connexion pour continuer",
"agentBuilder.installPlugin.cancel": "Annuler",
"agentBuilder.installPlugin.clickApproveToConnect": "Cliquez sur « Approuver » pour connecter et autoriser cette intégration",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Enregistré pour des réponses futures",
"agentSignal.receipts.memory.title": "Mémoire enregistrée",
"agentSignal.receipts.recentActivity": "Activité récente",
+ "agentSignal.receipts.revert.conflict": "Version plus récente",
+ "agentSignal.receipts.revert.failed": "Échec",
+ "agentSignal.receipts.revert.not_found": "Impossible d'annuler",
+ "agentSignal.receipts.revert.pending": "Annulation en cours",
+ "agentSignal.receipts.revert.rolled_back": "Annulé",
+ "agentSignal.receipts.revert.undo": "Annuler",
+ "agentSignal.receipts.revert.unsupported": "Non pris en charge",
"agentSignal.receipts.skill.detail": "Amélioration de la gestion des demandes similaires par cet assistant",
"agentSignal.receipts.skill.title": "Compétence mise à jour",
"agents": "Agents",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Appels d'outils",
"chatMode.agentCap.web": "Recherche sur le web",
"chatMode.agentDesc": "L'agent peut utiliser des outils et l'environnement pour accomplir des tâches automatiquement",
+ "chatMode.agentUnsupported": "Le modèle actuel ne prend pas en charge l'appel d'outils",
"chatMode.chat": "Discussion",
"chatMode.chatDesc": "Pas d'environnement d'exécution ni d'autonomie ; utilise moins de jetons",
"chatMode.select": "Changer de mode",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Ajouter une description...",
"createTask.submit": "Créer la tâche",
"createTask.titlePlaceholder": "Titre de la tâche",
+ "createTask.visibility.changeFailed": "Échec du changement de visibilité de la tâche",
+ "createTask.visibility.helperPrivate": "Vous seul pouvez voir cette tâche.",
+ "createTask.visibility.helperWorkspace": "Tous les membres de cet espace de travail peuvent voir cette tâche.",
+ "createTask.visibility.label": "Visibilité",
+ "createTask.visibility.private": "Privé",
+ "createTask.visibility.privateAgentDisabled": "Les agents privés ne peuvent exécuter que des tâches privées. Choisissez un agent d'espace de travail ou passez cette tâche en mode Privé.",
+ "createTask.visibility.privateAgentLocked": "Les agents privés ne peuvent exécuter que des tâches privées.",
+ "createTask.visibility.workspace": "Espace de travail",
"defaultAgent": "Agent par défaut",
"defaultGroupChat": "Groupe",
"defaultList": "Liste par défaut",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Suggestions d'entrée en pause",
"input.modelUnavailable": "Le modèle actuel n'est plus disponible. Choisissez un autre modèle pour continuer.",
"input.more": "Plus",
+ "input.sandboxModeNotice": "Exécution dans un Cloud Sandbox temporaire. Les exécutions locales sont plus rapides et peuvent accéder à vos fichiers.",
"input.send": "Envoyer",
"input.sendWithCmdEnter": "Appuyez sur <key/> pour envoyer",
"input.sendWithEnter": "Appuyez sur <key/> pour envoyer",
"input.stop": "Arrêter",
+ "input.switchToLocal": "Utiliser la machine locale",
"input.warp": "Nouvelle ligne",
"input.warpWithKey": "Appuyez sur <key/> pour insérer un saut de ligne",
"inputQueue.delete": "Supprimer",
@@ -364,10 +386,13 @@
"memory.on.title": "Activer la mémoire",
"memory.title": "Mémoire",
"mention.category.agents": "Agents",
+ "mention.category.files": "Fichiers",
"mention.category.members": "Membres",
+ "mention.category.privateAgents": "Privé",
"mention.category.skills": "Compétences",
"mention.category.tools": "Outils",
"mention.category.topics": "Sujets",
+ "mention.category.workspaceAgents": "Espace de travail",
"mention.title": "Mentionner des membres",
"messageAction.collapse": "Réduire le message",
"messageAction.continueGeneration": "Continuer la génération",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Que dois-je faire à la place ?",
"messageAction.reaction": "Ajouter une réaction",
"messageAction.regenerate": "Régénérer",
+ "messageAction.select": "Sélectionner",
+ "messageForward.bar.cancel": "Annuler",
+ "messageForward.bar.delete": "Supprimer",
+ "messageForward.bar.forward": "Transférer",
+ "messageForward.bar.selectToHere": "Sélectionner jusqu'ici",
+ "messageForward.bar.selected": "{{count}} sélectionné(s)",
+ "messageForward.deleteConfirm.desc": "Supprimer les {{count}} messages sélectionnés ? Cette action est irréversible.",
+ "messageForward.deleteConfirm.success": "{{count}} messages supprimés",
+ "messageForward.deleteConfirm.title": "Supprimer les messages",
+ "messageForward.empty": "Sélectionnez au moins un message à transférer",
+ "messageForward.modal.empty": "Aucun autre agent disponible",
+ "messageForward.modal.moreMessages": "+{{count}} messages supplémentaires",
+ "messageForward.modal.noRecipients": "Choisissez des agents à gauche pour transférer",
+ "messageForward.modal.notePlaceholder": "Ajouter une note (facultatif) — envoyée avec les messages",
+ "messageForward.modal.recipients": "Envoyer à ({{count}})",
+ "messageForward.modal.removeRecipient": "Retirer le destinataire",
+ "messageForward.modal.searchPlaceholder": "Rechercher des agents…",
+ "messageForward.modal.sendCount": "Transférer ({{count}})",
+ "messageForward.modal.title": "Transférer à un agent",
+ "messageForward.role.agent": "Agent",
+ "messageForward.role.assistant": "Assistant",
+ "messageForward.role.user": "Utilisateur",
+ "messageForward.success": "Transféré à {{title}}",
+ "messageForward.successMulti": "Transféré à {{count}} agents",
+ "messageForward.transcript.header": "Les {{count}} messages suivants ont été transférés depuis une autre conversation. Veuillez les utiliser comme contexte et continuer :",
"messageLongCollapse.collapse": "Afficher moins",
"messageLongCollapse.expand": "Afficher plus",
"messages.dm.sentTo": "Visible uniquement par {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Supprimer la reformulation",
"rag.userQuery.actions.regenerate": "Régénérer la requête",
"regenerate": "Régénérer",
+ "resources.knowledgePicker.publicAgentHint": "Les agents publics ne peuvent référencer que les ressources de l'espace de travail. Publiez d'abord une ressource privée dans l'espace de travail si vous souhaitez l'attacher.",
+ "resources.mode.privateHint": "Votre propre tiroir — vous seul pouvez voir ces fichiers",
+ "resources.mode.workspaceHint": "Partagé avec tous les membres de cet espace de travail",
+ "resources.publishToWorkspace.confirm": "Les autres membres de l'espace de travail pourront voir ce fichier. Vous ne pourrez plus le rendre privé.",
+ "resources.publishToWorkspace.error": "Échec de la publication du fichier dans l'espace de travail",
+ "resources.publishToWorkspace.menu": "Publier dans l'espace de travail",
+ "resources.publishToWorkspace.success": "Publié dans l'espace de travail",
+ "resources.visibility.label": "Visibilité",
+ "resources.visibility.private": "Privé",
+ "resources.visibility.privateTooltip": "Vous seul pouvez voir ce fichier",
+ "resources.visibility.workspace": "Espace de travail",
"roleAndArchive": "Profil et historique de l'agent",
"runtimeEnv.mode.cloud": "Bac à sable Cloud",
"runtimeEnv.mode.cloudDesc": "Exécuter dans un bac à sable cloud sécurisé",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Aucun agent disponible",
"sessionGroup.noMatchingAgents": "Aucun agent correspondant trouvé",
"sessionGroup.noSelectedAgents": "Veuillez sélectionner des agents",
+ "sessionGroup.publishToWorkspace": "Publier dans l'espace de travail",
+ "sessionGroup.publishToWorkspaceConfirm": "Les autres membres de l'espace de travail pourront utiliser ce dossier. Vous ne pourrez plus le rendre privé.",
+ "sessionGroup.publishToWorkspaceSuccess": "Publié dans l'espace de travail",
"sessionGroup.rename": "Renommer le groupe",
"sessionGroup.renameSuccess": "Renommé avec succès",
"sessionGroup.searchAgents": "Rechercher des agents",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normale",
"taskDetail.priority.urgent": "Urgente",
"taskDetail.properties": "Propriétés",
+ "taskDetail.publishToWorkspace.confirmContent": "Une fois publié, cette tâche devient visible pour tous les membres de l'espace de travail et ne peut plus être rendue privée.",
+ "taskDetail.publishToWorkspace.confirmHint": "Les exécutions passées restent privées. Seules les exécutions créées après la publication seront visibles par les membres de l'espace de travail.",
+ "taskDetail.publishToWorkspace.confirmOk": "Publier",
+ "taskDetail.publishToWorkspace.confirmTitle": "Publier la tâche dans l'espace de travail ?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Cette tâche est assignée à un agent privé. Réattribuez-la à un agent d'espace de travail ou publiez d'abord l'agent.",
+ "taskDetail.publishToWorkspace.menuLabel": "Publier dans l'espace de travail",
"taskDetail.reassignDisabled": "Impossible de réattribuer l’agent pendant l’exécution de la tâche",
"taskDetail.replyInThread": "Répondre dans ce fil",
"taskDetail.replyPlaceholder": "Répondre dans ce fil...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Tableau",
"taskList.view.list": "Liste",
"taskList.viewAll": "Tout afficher",
+ "taskList.visibility.all": "Tous",
+ "taskList.visibility.label": "Visibilité",
"taskSchedule.advancedSettings": "Paramètres avancés",
"taskSchedule.clear": "Effacer",
"taskSchedule.continuous": "Continu",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Copier le chemin absolu",
"workingPanel.files.copyRelativePath": "Copier le chemin relatif",
- "workingPanel.files.count_one": "{{count}} fichier",
- "workingPanel.files.count_other": "{{count}} fichiers",
"workingPanel.files.empty": "Aucun fichier dans cet espace de travail",
+ "workingPanel.files.noSearchResults": "Aucun fichier correspondant",
"workingPanel.files.open": "Ouvrir le fichier",
- "workingPanel.files.refresh": "Actualiser",
+ "workingPanel.files.searchPlaceholder": "Filtrer les fichiers...",
"workingPanel.files.showInReview": "Afficher dans la révision",
"workingPanel.files.showInSystem": "Afficher dans le dossier",
"workingPanel.files.title": "Fichiers",
diff --git a/locales/fr-FR/common.json b/locales/fr-FR/common.json
index 7659cc831b9..8dabab6c7be 100644
--- a/locales/fr-FR/common.json
+++ b/locales/fr-FR/common.json
@@ -1,5 +1,6 @@
{
"about": "À propos",
+ "addNew": "Ajouter nouveau",
"advanceSettings": "Paramètres avancés",
"agentOnboardingPromo.actionLabel": "Essayer maintenant",
"agentOnboardingPromo.description": "Configurez vos équipes d’agents dans un court échange avec Lobe AI. Vos agents existants restent inchangés.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Échec de la vérification des règles de contenu. Veuillez réviser votre demande.",
"getDesktopApp": "Obtenir l'application de bureau",
"goToTarget": "Aller à la cible",
+ "gotIt": "Compris",
"historyRange": "Plage d'historique",
"home.suggestQuestions": "Essayez ces exemples",
"import": "Importer",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Déplacer vers le bas",
"navPanel.moveUp": "Déplacer vers le haut",
"navPanel.pinned": "Épinglé",
+ "navPanel.privateAgents": "Privé",
+ "navPanel.publicAgents": "Espace de travail",
"navPanel.resetDefault": "Réinitialiser par défaut",
"navPanel.searchAgent": "Rechercher un agent...",
"navPanel.searchRecent": "Rechercher dans les récents...",
diff --git a/locales/fr-FR/discover.json b/locales/fr-FR/discover.json
index fef67e547f4..5c4dcca1c34 100644
--- a/locales/fr-FR/discover.json
+++ b/locales/fr-FR/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "forks",
"fork.forksCount": "{{count}} fork",
"fork.forksCount_other": "{{count}} forks",
+ "fork.orgSetupRequired.memberContent": "Cet espace de travail n'a pas encore configuré un profil Communauté, donc les forks du marketplace ne peuvent pas y être enregistrés. Veuillez demander au propriétaire de l'espace de travail de le configurer sous Communauté → Espace de travail.",
+ "fork.orgSetupRequired.ownerContent": "Cet espace de travail n'a pas encore configuré un profil Communauté. Configurez-en un pour forker des agents depuis le marketplace dans votre espace de travail.",
+ "fork.orgSetupRequired.ownerOk": "Aller à la configuration",
+ "fork.orgSetupRequired.title": "Configuration du profil Communauté requise",
"fork.success": "Fork effectué avec succès !",
"fork.viewAllForks": "Voir tous les forks",
+ "fork.visibilityPrivate": "Privé",
+ "fork.visibilityPublic": "Espace de travail",
"groupAgents.tag": "Groupe",
"groupAgents.underReview": "En cours d'examen",
"home.communityAgents": "Agents de la communauté",
diff --git a/locales/fr-FR/editor.json b/locales/fr-FR/editor.json
index 8b5b67cf4c1..6eceeb73559 100644
--- a/locales/fr-FR/editor.json
+++ b/locales/fr-FR/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Compétence",
"actionTag.category.tool": "Outil",
"actionTag.tooltip.agentSkill": "Charge un ensemble de compétences à partir des documents de cet agent pour la demande.",
+ "actionTag.tooltip.clickToView": "Cliquez pour voir les détails",
"actionTag.tooltip.command": "Exécute une commande slash côté client avant l’envoi.",
"actionTag.tooltip.projectSkill": "Envoyé comme une invocation par barre oblique pour que le CLI de l'agent exécute la compétence de projet correspondante.",
"actionTag.tooltip.skill": "Charge un paquet de compétences réutilisable pour cette requête.",
diff --git a/locales/fr-FR/electron.json b/locales/fr-FR/electron.json
index 1ba601edcef..7ebf8072e32 100644
--- a/locales/fr-FR/electron.json
+++ b/locales/fr-FR/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Paramètres",
"navigation.task": "Tâche",
"navigation.tasks": "Tâches",
+ "navigation.topics": "Sujets",
"navigation.unpin": "Désépingler",
"notification.finishChatGeneration": "Génération du message par l'IA terminée",
"proxy.auth": "Authentification requise",
diff --git a/locales/fr-FR/eval.json b/locales/fr-FR/eval.json
index 29f761c7b1d..f8eecd4c3b1 100644
--- a/locales/fr-FR/eval.json
+++ b/locales/fr-FR/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Êtes-vous sûr de vouloir supprimer ce benchmark ? Les ensembles de données et les enregistrements d'évaluation associés seront également supprimés.",
"benchmark.actions.edit": "Modifier le Benchmark",
"benchmark.actions.export": "Exporter",
+ "benchmark.card.bestPassRate": "Meilleur taux de réussite",
"benchmark.card.bestScore": "Meilleur",
"benchmark.card.caseCount": "{{count}} cas",
+ "benchmark.card.casesLabel": "Cas",
"benchmark.card.datasetCount": "{{count}} ensembles de données",
"benchmark.card.empty": "Aucune évaluation pour le moment",
"benchmark.card.emptyHint": "Créez une nouvelle évaluation depuis la page de détail du benchmark",
+ "benchmark.card.evalsLabel": "Évaluations",
"benchmark.card.importDataset": "Importer un Ensemble de Données",
"benchmark.card.noDataset": "Aucun ensemble de données pour le moment",
"benchmark.card.noDatasetHint": "Importez un ensemble de données pour commencer l'évaluation",
"benchmark.card.noRecentRuns": "Aucune évaluation récente à afficher",
"benchmark.card.recentRuns": "Évaluations Récentes",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} avant échec",
+ "benchmark.card.run.queued": "En file d'attente",
"benchmark.card.runCount": "{{count}} évaluations",
"benchmark.card.startFirst": "Commencer la Première Évaluation",
"benchmark.card.viewAll": "Voir les {{count}}",
diff --git a/locales/fr-FR/file.json b/locales/fr-FR/file.json
index 5b392aee990..6f69be4ad74 100644
--- a/locales/fr-FR/file.json
+++ b/locales/fr-FR/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Transférer la bibliothèque",
"library.list.transferTo": "Transférer vers…",
"library.new": "Nouvelle bibliothèque",
+ "library.privateEmpty": "Créer une bibliothèque privée",
+ "library.publish": "Publier dans l'espace de travail",
+ "library.publishConfirm.content": "Tous les membres de l'espace de travail verront cette base de connaissances. Cette action est irréversible.",
+ "library.publishConfirm.title": "Publier la base de connaissances dans l'espace de travail ?",
"library.title": "Bibliothèque",
+ "library.workspaceEmpty": "Créer une bibliothèque d'espace de travail",
"loadMore": "Charger plus",
"menu.allFiles": "Tous les fichiers",
"menu.allPages": "Toutes les pages",
@@ -170,6 +175,13 @@
"pageList.noResults": "Aucune page correspondante trouvée",
"pageList.pageCount": "{{count}} pages au total",
"pageList.pageSizeItem": "{{count}} éléments",
+ "pageList.privateTitle": "Privé",
+ "pageList.publishConfirm.content": "Après publication, tout le monde dans l'espace de travail pourra voir cette page. Vous ne pourrez plus la rendre privée par la suite.",
+ "pageList.publishConfirm.ok": "Publier",
+ "pageList.publishConfirm.title": "Publier dans l'espace de travail",
+ "pageList.publishError": "Échec de la publication de la page",
+ "pageList.publishSuccess": "Page publiée dans l'espace de travail",
+ "pageList.publishToWorkspace": "Publier dans l'espace de travail",
"pageList.title": "Pages",
"pageList.transferConfirm": "Transférer",
"pageList.transferDescription": "Déplacer cette page (et tous les dossiers qu'elle contient) vers un autre espace de travail.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Transférer vers…",
"pageList.transferWarning": "Ceci est un déplacement définitif ; revenir en arrière nécessitera un autre transfert.",
"pageList.untitled": "Sans titre",
+ "pageList.workspaceTitle": "Espace de travail",
"portal.openInPageEditor": "Modifier dans la page",
"preview.downloadFile": "Télécharger le fichier",
"preview.unsupportedFileAndContact": "Ce format de fichier n’est pas encore pris en charge pour l’aperçu en ligne. Si vous souhaitez en faire la demande, n’hésitez pas à <1>nous contacter</1>.",
diff --git a/locales/fr-FR/image.json b/locales/fr-FR/image.json
index ffdf23c56f2..9acda2979b3 100644
--- a/locales/fr-FR/image.json
+++ b/locales/fr-FR/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Supprimer le sujet de génération",
"topic.deleteConfirmDesc": "Vous êtes sur le point de supprimer ce sujet de génération. Cette action est irréversible, veuillez procéder avec prudence.",
"topic.empty": "Aucun sujet de génération",
+ "topic.privateTitle": "Privé",
"topic.title": "Thème de peinture",
- "topic.untitled": "Sujet par défaut"
+ "topic.untitled": "Sujet par défaut",
+ "topic.visibility.existingLocked": "La visibilité est fixée pour le sujet actuel. Créez un nouveau sujet pour choisir un espace différent.",
+ "topic.workspaceTitle": "Espace de travail"
}
diff --git a/locales/fr-FR/models.json b/locales/fr-FR/models.json
index 083f7d2700e..f9a499374a1 100644
--- a/locales/fr-FR/models.json
+++ b/locales/fr-FR/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 est le modèle le plus intelligent d’Anthropic à ce jour.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 est la meilleure combinaison de vitesse et d’intelligence d’Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 par Anthropic — modèle équilibré avec de solides capacités de codage et de raisonnement.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 est le modèle Sonnet le plus agentique d'Anthropic, conçu pour des workflows de codage soutenus, l'utilisation d'outils et des contextes longs avec la vitesse et l'efficacité de niveau Sonnet.",
"codegeex-4.description": "CodeGeeX-4 est un assistant de codage IA puissant prenant en charge les questions-réponses multilingues et la complétion de code pour améliorer la productivité des développeurs.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B est un modèle multilingue de génération de code prenant en charge la complétion et la génération de code, l’interprétation de code, la recherche web, l’appel de fonctions et les questions-réponses au niveau des dépôts. Il couvre un large éventail de scénarios de développement logiciel et est l’un des meilleurs modèles de code sous 10 milliards de paramètres.",
"codegemma.description": "CodeGemma est un modèle léger pour diverses tâches de programmation, permettant une itération rapide et une intégration facile.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro est le modèle agent et de codage le plus puissant de Google, offrant des visuels enrichis et une interaction plus poussée grâce à un raisonnement de pointe.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) est le modèle de génération d'images natif le plus rapide de Google avec prise en charge de la réflexion, génération et édition d'images conversationnelles.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) est le modèle de génération d’images natif le plus rapide de Google, avec prise en charge de la réflexion, génération et édition d’images conversationnelles.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) est le modèle de génération d'images le plus rapide et le plus économique de Google, conçu pour une génération et une édition à haut volume.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) est le modèle de génération d'images le plus rapide et le plus économique de Google, conçu pour une génération et une édition à haut volume.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview est le modèle multimodal le plus économique de Google, optimisé pour les tâches agentiques à haut volume, la traduction et le traitement des données.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite est le modèle multimodal le plus économique de Google, optimisé pour les tâches agentiques à haut volume, la traduction et le traitement des données.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview améliore Gemini 3 Pro avec des capacités de raisonnement renforcées et ajoute un support de niveau de réflexion moyen.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V offre une compréhension et un raisonnement solides sur les tâches visuelles.",
"glm-5-turbo.description": "GLM-5-Turbo est un modèle de base profondément optimisé pour les scénarios agentiques. Il a été spécifiquement optimisé pour les exigences fondamentales des tâches d'agent dès la phase d'entraînement, améliorant les capacités clés telles que l'invocation d'outils, le suivi des commandes et l'exécution de chaînes longues. Idéal pour créer des assistants agents haute performance.",
"glm-5.1.description": "GLM-5.1 est le tout dernier modèle phare de Zhipu, aligné sur Claude Opus 4.6 en termes de performances globales et de capacités de programmation. Il excelle dans les tâches de longue durée, capable de planifier, d’exécuter et d’itérer de manière autonome pendant jusqu’à 8 heures sur une seule tâche, ce qui en fait une base idéale pour les agents autonomes et les agents de programmation à long horizon.",
- "glm-5.2.description": "La série GLM est un modèle de raisonnement hybride de Zhipu AI conçu pour les agents, avec des modes de réflexion et de non-réflexion. GLM-5.2 est le modèle phare de Zhipu pour l'ère des tâches à long terme, prenant en charge un contexte de 1M de tokens et optimisé pour la planification à long terme, le codage complexe et l'exécution d'agents.",
+ "glm-5.2.description": "La série GLM est un modèle de raisonnement hybride de Zhipu AI conçu pour les agents, avec des modes de réflexion et de non-réflexion. GLM-5.2 est le modèle phare de Zhipu pour l'ère des tâches à long terme, prenant en charge un contexte de 1M de tokens et optimisé pour la planification à long terme, le codage complexe et l'exécution par des agents.",
"glm-5.description": "GLM-5 est le modèle de base phare de nouvelle génération de Zhipu, spécialement conçu pour l'Agentic Engineering. Il offre une productivité fiable dans l'ingénierie des systèmes complexes et les tâches agentiques à long terme. En matière de codage et de capacités agentiques, GLM-5 atteint des performances de pointe parmi les modèles open-source. Dans des scénarios de programmation réels, son expérience utilisateur se rapproche de celle de Claude Opus 4.5. Il excelle dans l'ingénierie des systèmes complexes et les tâches agentiques à long terme, ce qui en fait un modèle de base idéal pour les assistants agents à usage général.",
"glm-5v-turbo.description": "GLM-5V-Turbo est le modèle de base multimodal de Zhipu pour les tâches de programmation visuelle. Il gère nativement les images, vidéos, textes et fichiers, et est optimisé pour la planification à long terme, le codage complexe et l'exécution d'agents dans des flux de travail multimodaux.",
"glm-image.description": "GLM-Image est le nouveau modèle phare de génération d'images de Zhipu. Le modèle a été entraîné de bout en bout sur des puces produites localement et adopte une architecture hybride originale qui combine la modélisation autorégressive avec un décodeur de diffusion. Ce design permet une compréhension globale des instructions tout en rendant des détails locaux précis, surmontant les défis de longue date dans la génération de contenu riche en connaissances tels que les affiches, les présentations et les diagrammes éducatifs. Il représente une exploration importante vers une nouvelle génération de paradigmes technologiques “génératifs cognitifs,” illustrée par Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 est le modèle le plus polyvalent de Kimi à ce jour, doté d'une architecture multimodale native qui prend en charge les entrées vision et texte, les modes 'pensée' et 'non-pensée', ainsi que les tâches conversationnelles et d'agent.",
"kimi-k2.6.description": "Kimi-K2.6 est un modèle de langage de grande taille lancé par Moonshot AI, avec d'excellentes capacités de codage et d'appel d'outils. Le déploiement du service est uniquement pris en charge en Chine continentale.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed est un modèle haute vitesse de Kimi K2.7 Code. C'est le même modèle que Kimi K2.7 Code, mais la vitesse de sortie est d'environ 180 Tokens/s, et dans les scénarios de contexte court, elle peut atteindre 260 Tokens/s, offrant une expérience de programmation encore plus extrême.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code est le modèle axé sur le codage de Moonshot AI, basé sur Kimi K2.6, avec des améliorations substantielles pour les tâches de codage à long terme dans le monde réel et une réduction d'environ 30 % de l'utilisation des tokens de réflexion.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code est le modèle axé sur le codage de Moonshot AI, basé sur Kimi K2.6, avec des améliorations substantielles pour les tâches de codage à long terme dans des contextes réels et une réduction d'environ 30 % de l'utilisation des tokens de réflexion.",
"kling/kling-v3-image-generation.description": "Prend en charge jusqu'à 10 images de référence, vous permettant de verrouiller les sujets, les éléments et les tons de couleur pour garantir un style cohérent. Combine transfert de style, référence de portrait/personnage, fusion multi-images et retouche localisée pour un contrôle flexible. Offre des détails de portrait réalistes, avec des visuels globaux délicats et richement superposés, présentant des couleurs et une atmosphère cinématographiques.",
"kling/kling-v3-omni-image-generation.description": "Débloquez des visuels narratifs cinématographiques avec une nouvelle génération d'images et une sortie directe en 2K/4K. Analyse profondément les éléments audiovisuels des invites pour exécuter précisément les instructions créatives. Prend en charge des entrées multi-références flexibles et des améliorations de qualité complètes, idéal pour les storyboards, l'art conceptuel narratif et la conception de scènes.",
"kling/kling-v3-omni-video-generation.description": "La nouvelle fonctionnalité « Référence Tout-en-Un » prend en charge des vidéos de 3 à 8 secondes ou plusieurs images pour ancrer les éléments de personnage. Peut correspondre à l'audio original et aux mouvements des lèvres pour une représentation authentique des personnages. Améliore la cohérence vidéo et l'expression dynamique. Prend en charge la synchronisation audiovisuelle et le storyboarding intelligent.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA est un modèle multimodal combinant un encodeur visuel et Vicuna pour une compréhension solide vision-langage.",
"llava:13b.description": "LLaVA est un modèle multimodal combinant un encodeur visuel et Vicuna pour une compréhension solide vision-langage.",
"llava:34b.description": "LLaVA est un modèle multimodal combinant un encodeur visuel et Vicuna pour une compréhension solide vision-langage.",
+ "lobehub-glm-5.2-fast.description": "Variante rapide de GLM-5.2 avec une latence considérablement réduite. Même capacités que GLM-5.2 — coûte plus cher, mais répond beaucoup plus rapidement.",
"magistral-medium-2509.description": "Magistral Medium 1.2 est un modèle de raisonnement de pointe de Mistral AI (septembre 2025) avec prise en charge de la vision.",
"magistral-small-2509.description": "Magistral Small 1.2 est un petit modèle de raisonnement open source de Mistral AI (septembre 2025) avec prise en charge de la vision.",
"mathstral.description": "MathΣtral est conçu pour la recherche scientifique et le raisonnement mathématique, avec de solides capacités de calcul et d'explication.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K prend en charge 32 768 jetons pour un contexte de longueur moyenne, idéal pour les documents longs et les dialogues complexes dans la création de contenu, les rapports et les systèmes de chat.",
"moonshot-v1-8k-vision-preview.description": "Les modèles de vision Kimi (y compris moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) peuvent comprendre le contenu d’images comme le texte, les couleurs et les formes d’objets.",
"moonshot-v1-8k.description": "Moonshot V1 8K est optimisé pour la génération de textes courts avec des performances efficaces, prenant en charge 8 192 jetons pour les discussions brèves, les notes et le contenu rapide.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code est un modèle agentique conçu pour les tâches de codage par Moonshot AI. Basé sur Kimi K2.6, il montre des améliorations significatives dans les tâches de codage à long terme dans le monde réel, améliorant les capacités de réalisation de tâches de bout en bout dans des flux de travail complexes d'ingénierie logicielle tout en réduisant l'utilisation des tokens de réflexion d'environ 30 % par rapport à Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code est un modèle agentique conçu pour les tâches de codage par Moonshot AI. Basé sur Kimi K2.6, il offre des améliorations significatives dans les tâches de codage à long terme en contexte réel, renforçant les capacités de réalisation de tâches de bout en bout dans des flux de travail complexes en ingénierie logicielle tout en réduisant l'utilisation des tokens de réflexion d'environ 30 % par rapport à Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 est la variante instructive de la série Kimi, adaptée au code de haute qualité et à l’utilisation d’outils.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 est une mise à jour qui améliore les performances de contexte et de raisonnement avec des optimisations de codage.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo est une version rapide de Kimi K2 Thinking, réduisant considérablement la latence tout en conservant un raisonnement profond.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 est le modèle phare de nouvelle génération de Zhipu avec 355B de paramètres totaux et 32B de paramètres actifs, entièrement amélioré en dialogue général, raisonnement et capacités d'agent. GLM-4.7 améliore la Pensée Intercalée et introduit la Pensée Préservée et la Pensée au Niveau des Tours.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air est un modèle de base pour les applications d’agents utilisant une architecture Mixture-of-Experts. Il est optimisé pour l’utilisation d’outils, la navigation web, l’ingénierie logicielle et le codage frontend, et s’intègre avec des agents de code comme Claude Code et Roo Code. Il utilise un raisonnement hybride pour gérer à la fois les scénarios complexes et quotidiens.",
"zai-org/GLM-4.5V.description": "GLM-4.5V est le dernier VLM de Zhipu AI, basé sur le modèle texte phare GLM-4.5-Air (106B total, 12B actifs) avec une architecture MoE pour de hautes performances à moindre coût. Il suit la voie GLM-4.1V-Thinking et ajoute 3D-RoPE pour améliorer le raisonnement spatial 3D. Optimisé par pré-entraînement, SFT et RL, il gère images, vidéos et documents longs, et se classe parmi les meilleurs modèles open source sur 41 benchmarks multimodaux publics. Un mode Thinking permet d’équilibrer vitesse et profondeur.",
- "zai-org/GLM-5.2.description": "GLM-5.2 est le dernier modèle phare de Z.ai conçu pour les scénarios de tâches à long terme, offrant des améliorations significatives des capacités de tâches à long terme par rapport à GLM-5.1. Ce modèle MoE de 753B prend en charge une fenêtre de contexte stable de 1M de tokens, dispose de capacités de programmation renforcées et prend en charge plusieurs niveaux d'effort de réflexion pour un équilibre flexible entre performance et latence.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 est le dernier modèle phare de Z.ai conçu pour les scénarios de tâches à long terme, offrant des améliorations significatives des capacités de tâches à long terme par rapport à GLM-5.1. Ce modèle MoE de 753B prend en charge une fenêtre de contexte stable de 1M de tokens, propose des capacités de programmation renforcées et prend en charge plusieurs niveaux d'effort de réflexion pour un équilibre flexible entre performance et latence.",
"zai/glm-4.5-air.description": "GLM-4.5 et GLM-4.5-Air sont nos derniers modèles phares pour les applications d’agents, tous deux utilisant MoE. GLM-4.5 a 355B au total et 32B actifs par passage ; GLM-4.5-Air est plus léger avec 106B au total et 12B actifs.",
"zai/glm-4.5.description": "La série GLM-4.5 est conçue pour les agents. Le modèle phare GLM-4.5 combine raisonnement, codage et compétences d’agent avec 355B de paramètres totaux (32B actifs) et offre deux modes de fonctionnement en tant que système de raisonnement hybride.",
"zai/glm-4.5v.description": "GLM-4.5V est basé sur GLM-4.5-Air, héritant des techniques éprouvées de GLM-4.1V-Thinking et s’appuyant sur une architecture MoE puissante de 106B paramètres.",
diff --git a/locales/fr-FR/plugin.json b/locales/fr-FR/plugin.json
index 52a8aa35e48..fb672189edb 100644
--- a/locales/fr-FR/plugin.json
+++ b/locales/fr-FR/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Résultat",
"builtins.codex.mcpTool.unknownTool": "Outil MCP",
"builtins.codex.webSearch.query": "Requête",
+ "builtins.github.render.error": "Erreur",
+ "builtins.github.render.rawResult": "Résultat brut",
+ "builtins.github.render.updatedAt": "Mis à jour {{time}}",
+ "builtins.linear.render.empty": "Aucun {{collection}} trouvé",
"builtins.linear.render.updatedAt": "Mis à jour {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Activer les Outils",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} introuvable(s)",
diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.json
index 6bea2200474..acf4d0c2690 100644
--- a/locales/fr-FR/setting.json
+++ b/locales/fr-FR/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Standard",
"settingChatAppearance.fontSize.title": "Taille de police",
"settingChatAppearance.highlighterTheme.title": "Thème de surlignage du code",
+ "settingChatAppearance.linkIcon.desc": "Désactivez cette option si vous n'en avez pas besoin.",
+ "settingChatAppearance.linkIcon.previewMessage": "Consultez <site></site> et <repo></repo> pour plus de détails.",
+ "settingChatAppearance.linkIcon.title": "Afficher les icônes dans les liens des messages",
"settingChatAppearance.mermaidTheme.title": "Thème Mermaid",
"settingChatAppearance.title": "Apparence du chat",
"settingChatAppearance.transitionMode.desc": "Choisissez comment les messages apparaissent",
@@ -1231,6 +1234,226 @@
"tools.tabs.all": "Toutes",
"tools.tabs.installed": "Activées",
"tools.title": "Outils d’extension",
+ "workspace.auditLog.actions.api_key.created": "Clé API créée",
+ "workspace.auditLog.actions.api_key.renamed": "Clé API renommée",
+ "workspace.auditLog.actions.api_key.revoked": "Clé API révoquée",
+ "workspace.auditLog.actions.api_key.rotated": "Clé API renouvelée",
+ "workspace.auditLog.actions.auto_top_up.disabled": "Recharge automatique désactivée",
+ "workspace.auditLog.actions.auto_top_up.enabled": "Recharge automatique activée",
+ "workspace.auditLog.actions.auto_top_up.failed": "Échec de la recharge automatique",
+ "workspace.auditLog.actions.auto_top_up.succeeded": "Recharge automatique réussie",
+ "workspace.auditLog.actions.auto_top_up.updated": "Recharge automatique mise à jour",
+ "workspace.auditLog.actions.billing.default_payment_method_changed": "Méthode de paiement par défaut modifiée",
+ "workspace.auditLog.actions.billing.payment_method_added": "Méthode de paiement ajoutée",
+ "workspace.auditLog.actions.billing.payment_method_removed": "Méthode de paiement supprimée",
+ "workspace.auditLog.actions.billing.portal_session_created": "Portail de facturation ouvert",
+ "workspace.auditLog.actions.budget.default_member_limit_updated": "Budget par défaut des membres mis à jour",
+ "workspace.auditLog.actions.budget.member_limit_updated": "Budget des membres mis à jour",
+ "workspace.auditLog.actions.budget.member_override.updated": "Dérogation au budget des membres mise à jour",
+ "workspace.auditLog.actions.budget.member_override_created": "Dérogation au budget des membres créée",
+ "workspace.auditLog.actions.budget.member_override_removed": "Dérogation au budget des membres supprimée",
+ "workspace.auditLog.actions.credential.created": "Identifiant créé",
+ "workspace.auditLog.actions.credential.deleted": "Identifiant supprimé",
+ "workspace.auditLog.actions.credential.tested": "Identifiant testé",
+ "workspace.auditLog.actions.credential.updated": "Identifiant mis à jour",
+ "workspace.auditLog.actions.integration.connected": "Intégration connectée",
+ "workspace.auditLog.actions.integration.disabled": "Intégration désactivée",
+ "workspace.auditLog.actions.integration.disconnected": "Intégration déconnectée",
+ "workspace.auditLog.actions.integration.updated": "Intégration mise à jour",
+ "workspace.auditLog.actions.invitation.resent": "Invitation renvoyée",
+ "workspace.auditLog.actions.invitation.revoked": "Invitation révoquée",
+ "workspace.auditLog.actions.market_identity.published": "Identité de marché publiée",
+ "workspace.auditLog.actions.market_identity.unpublished": "Identité de marché dépubliée",
+ "workspace.auditLog.actions.market_identity.updated": "Identité de marché mise à jour",
+ "workspace.auditLog.actions.member.demoted_from_owner": "Rôle de propriétaire retiré",
+ "workspace.auditLog.actions.member.invited": "Membre invité",
+ "workspace.auditLog.actions.member.joined": "Membre rejoint",
+ "workspace.auditLog.actions.member.left": "Membre parti",
+ "workspace.auditLog.actions.member.promoted_to_owner": "Promu propriétaire",
+ "workspace.auditLog.actions.member.removed": "Membre supprimé",
+ "workspace.auditLog.actions.member.role_updated": "Rôle du membre modifié",
+ "workspace.auditLog.actions.provider.disabled": "Fournisseur désactivé",
+ "workspace.auditLog.actions.provider.enabled": "Fournisseur activé",
+ "workspace.auditLog.actions.provider.updated": "Fournisseur mis à jour",
+ "workspace.auditLog.actions.resource.created": "Ressource créée",
+ "workspace.auditLog.actions.resource.deleted": "Ressource supprimée",
+ "workspace.auditLog.actions.resource.exported": "Ressource exportée",
+ "workspace.auditLog.actions.resource.imported": "Ressource importée",
+ "workspace.auditLog.actions.resource.restored": "Ressource restaurée",
+ "workspace.auditLog.actions.resource.shared": "Ressource partagée",
+ "workspace.auditLog.actions.resource.transferred": "Ressource transférée",
+ "workspace.auditLog.actions.resource.unshared": "Ressource non partagée",
+ "workspace.auditLog.actions.resource.updated": "Ressource mise à jour",
+ "workspace.auditLog.actions.security.policy_updated": "Politique de sécurité mise à jour",
+ "workspace.auditLog.actions.security.risk_state_updated": "État de risque mis à jour",
+ "workspace.auditLog.actions.subscription.activated": "Abonnement activé",
+ "workspace.auditLog.actions.subscription.cancellation_resumed": "Annulation de l'abonnement reprise",
+ "workspace.auditLog.actions.subscription.cancellation_scheduled": "Annulation programmée",
+ "workspace.auditLog.actions.subscription.cancelled": "Abonnement annulé",
+ "workspace.auditLog.actions.subscription.grace_period_started": "Période de grâce commencée",
+ "workspace.auditLog.actions.subscription.updated": "Abonnement mis à jour",
+ "workspace.auditLog.actions.top_up.succeeded": "Recharge réussie",
+ "workspace.auditLog.actions.webhook.created": "Webhook créé",
+ "workspace.auditLog.actions.webhook.deleted": "Webhook supprimé",
+ "workspace.auditLog.actions.webhook.updated": "Webhook mis à jour",
+ "workspace.auditLog.actions.workspace.account_upgraded": "Compte de l'espace de travail amélioré",
+ "workspace.auditLog.actions.workspace.cleanup_triggered": "Nettoyage de l'espace de travail déclenché",
+ "workspace.auditLog.actions.workspace.created": "Espace de travail créé",
+ "workspace.auditLog.actions.workspace.data_cleared": "Données de l'espace de travail effacées",
+ "workspace.auditLog.actions.workspace.deleted": "Espace de travail supprimé",
+ "workspace.auditLog.actions.workspace.downgraded": "Espace de travail rétrogradé",
+ "workspace.auditLog.actions.workspace.frozen": "Espace de travail gelé",
+ "workspace.auditLog.actions.workspace.primary_ownership_transferred": "Propriété principale transférée",
+ "workspace.auditLog.actions.workspace.settings_reset": "Paramètres de l'espace de travail réinitialisés",
+ "workspace.auditLog.actions.workspace.unfrozen": "Espace de travail dégelé",
+ "workspace.auditLog.actions.workspace.updated": "Espace de travail mis à jour",
+ "workspace.auditLog.actions.workspace.upgraded": "Espace de travail amélioré",
+ "workspace.auditLog.columns.action": "Action",
+ "workspace.auditLog.columns.details": "Détails",
+ "workspace.auditLog.columns.ip": "IP",
+ "workspace.auditLog.columns.operator": "Opérateur",
+ "workspace.auditLog.columns.resourceId": "ID de la ressource",
+ "workspace.auditLog.columns.resourceType": "Type de ressource",
+ "workspace.auditLog.columns.time": "Heure",
+ "workspace.auditLog.desc": "Consultez les opérations des membres de l'espace de travail, les invitations, les abonnements et la facturation.",
+ "workspace.auditLog.detail.fields.added": "Ajouté",
+ "workspace.auditLog.detail.fields.addedByUserId": "Ajouté par",
+ "workspace.auditLog.detail.fields.agentIds": "IDs des agents",
+ "workspace.auditLog.detail.fields.aiModelCount": "Nombre de modèles IA",
+ "workspace.auditLog.detail.fields.amount": "Montant",
+ "workspace.auditLog.detail.fields.apiKeyCount": "Nombre de clés API",
+ "workspace.auditLog.detail.fields.apiKeyIds": "IDs des clés API",
+ "workspace.auditLog.detail.fields.billingInterval": "Intervalle de facturation",
+ "workspace.auditLog.detail.fields.brand": "Marque de la carte",
+ "workspace.auditLog.detail.fields.budgetId": "ID du budget",
+ "workspace.auditLog.detail.fields.chargeAmount": "Montant facturé",
+ "workspace.auditLog.detail.fields.count": "Nombre",
+ "workspace.auditLog.detail.fields.credentialId": "ID de l'identifiant",
+ "workspace.auditLog.detail.fields.credentialKey": "Clé de l'identifiant",
+ "workspace.auditLog.detail.fields.credentialName": "Nom de l'identifiant",
+ "workspace.auditLog.detail.fields.credentialType": "Type d'identifiant",
+ "workspace.auditLog.detail.fields.currency": "Devise",
+ "workspace.auditLog.detail.fields.currentDefaultMaxBudget": "Nouveau budget par défaut des membres",
+ "workspace.auditLog.detail.fields.currentDefaultPaymentMethodId": "Nouvelle méthode de paiement par défaut",
+ "workspace.auditLog.detail.fields.currentEnabled": "Nouvel état activé",
+ "workspace.auditLog.detail.fields.currentMaxBudget": "Nouveau budget des membres",
+ "workspace.auditLog.detail.fields.currentMode": "Nouveau mode",
+ "workspace.auditLog.detail.fields.currentMonthlyLimit": "Nouvelle limite mensuelle",
+ "workspace.auditLog.detail.fields.currentPermission": "Nouvelle autorisation",
+ "workspace.auditLog.detail.fields.currentRole": "Nouveau rôle",
+ "workspace.auditLog.detail.fields.currentState": "État actuel",
+ "workspace.auditLog.detail.fields.currentTargetBalance": "Nouveau solde cible",
+ "workspace.auditLog.detail.fields.currentThreshold": "Nouveau seuil",
+ "workspace.auditLog.detail.fields.currentVisibility": "Nouvelle visibilité",
+ "workspace.auditLog.detail.fields.email": "Email",
+ "workspace.auditLog.detail.fields.failureReason": "Raison de l'échec",
+ "workspace.auditLog.detail.fields.fileHashId": "ID de hachage du fichier",
+ "workspace.auditLog.detail.fields.fileName": "Nom du fichier",
+ "workspace.auditLog.detail.fields.groupIds": "IDs des groupes",
+ "workspace.auditLog.detail.fields.hasDescriptionUpdate": "Description mise à jour",
+ "workspace.auditLog.detail.fields.hasSecretValueUpdate": "Valeur secrète mise à jour",
+ "workspace.auditLog.detail.fields.includeConversationHistory": "Inclure l'historique des conversations",
+ "workspace.auditLog.detail.fields.invitationId": "ID de l'invitation",
+ "workspace.auditLog.detail.fields.last4": "Derniers 4 chiffres",
+ "workspace.auditLog.detail.fields.memberUserId": "ID utilisateur du membre",
+ "workspace.auditLog.detail.fields.name": "Nom",
+ "workspace.auditLog.detail.fields.newAgentId": "Nouvel ID d'agent",
+ "workspace.auditLog.detail.fields.newKnowledgeBaseId": "Nouvel ID de base de connaissances",
+ "workspace.auditLog.detail.fields.oauthConnectionId": "ID de connexion OAuth",
+ "workspace.auditLog.detail.fields.operation": "Opération",
+ "workspace.auditLog.detail.fields.paymentMethodId": "ID de la méthode de paiement",
+ "workspace.auditLog.detail.fields.plan": "Plan",
+ "workspace.auditLog.detail.fields.previousDefaultMaxBudget": "Budget par défaut des membres précédent",
+ "workspace.auditLog.detail.fields.previousDefaultPaymentMethodId": "Méthode de paiement par défaut précédente",
+ "workspace.auditLog.detail.fields.previousEnabled": "État activé précédent",
+ "workspace.auditLog.detail.fields.previousMaxBudget": "Budget des membres précédent",
+ "workspace.auditLog.detail.fields.previousMode": "Mode précédent",
+ "workspace.auditLog.detail.fields.previousMonthlyLimit": "Limite mensuelle précédente",
+ "workspace.auditLog.detail.fields.previousPermission": "Autorisation précédente",
+ "workspace.auditLog.detail.fields.previousPlan": "Plan précédent",
+ "workspace.auditLog.detail.fields.previousRole": "Rôle précédent",
+ "workspace.auditLog.detail.fields.previousTargetBalance": "Solde cible précédent",
+ "workspace.auditLog.detail.fields.previousThreshold": "Seuil précédent",
+ "workspace.auditLog.detail.fields.previousVisibility": "Visibilité précédente",
+ "workspace.auditLog.detail.fields.providerCount": "Nombre de fournisseurs",
+ "workspace.auditLog.detail.fields.providerIds": "IDs des fournisseurs",
+ "workspace.auditLog.detail.fields.purchasedSeats": "Places achetées",
+ "workspace.auditLog.detail.fields.quantity": "Quantité",
+ "workspace.auditLog.detail.fields.reason": "Raison",
+ "workspace.auditLog.detail.fields.removed": "Supprimé",
+ "workspace.auditLog.detail.fields.resourceCounts": "Nombre de ressources",
+ "workspace.auditLog.detail.fields.resourceIds": "Exemples d'IDs de ressources",
+ "workspace.auditLog.detail.fields.role": "Rôle",
+ "workspace.auditLog.detail.fields.seats": "Places",
+ "workspace.auditLog.detail.fields.skipped": "Ignoré",
+ "workspace.auditLog.detail.fields.slug": "Slug",
+ "workspace.auditLog.detail.fields.source": "Source",
+ "workspace.auditLog.detail.fields.sourceAgentId": "ID de l'agent source",
+ "workspace.auditLog.detail.fields.sourceAgentIds": "IDs des agents source",
+ "workspace.auditLog.detail.fields.sourceGroupIds": "IDs des groupes source",
+ "workspace.auditLog.detail.fields.sourceKbId": "ID de la base de connaissances source",
+ "workspace.auditLog.detail.fields.sourcePaymentMethodId": "ID de la méthode de paiement source",
+ "workspace.auditLog.detail.fields.sourceWorkspaceId": "ID de l'espace de travail source",
+ "workspace.auditLog.detail.fields.stripeId": "ID Stripe",
+ "workspace.auditLog.detail.fields.stripeInvoiceId": "ID de facture Stripe",
+ "workspace.auditLog.detail.fields.stripePaymentIntentId": "ID d'intention de paiement Stripe",
+ "workspace.auditLog.detail.fields.stripeSessionId": "ID de session Stripe",
+ "workspace.auditLog.detail.fields.subscriptionId": "ID de l'abonnement",
+ "workspace.auditLog.detail.fields.targetPlan": "Plan cible",
+ "workspace.auditLog.detail.fields.targetUserId": "ID utilisateur cible",
+ "workspace.auditLog.detail.fields.targetWorkspaceId": "ID de l'espace de travail cible",
+ "workspace.auditLog.detail.fields.triggerRemainingBalance": "Solde restant déclenché",
+ "workspace.auditLog.detail.fields.triggerType": "Type de déclencheur",
+ "workspace.auditLog.detail.fields.unitPrice": "Prix unitaire",
+ "workspace.auditLog.detail.fields.updated": "Mis à jour",
+ "workspace.auditLog.detail.metadata": "Détails de l'opération",
+ "workspace.auditLog.detail.operationTime": "Heure de l'opération",
+ "workspace.auditLog.detail.rawData": "Données brutes d'audit",
+ "workspace.auditLog.detail.summary": "Résumé",
+ "workspace.auditLog.detail.view": "Voir les détails",
+ "workspace.auditLog.empty": "Aucun journal d'audit pour le moment",
+ "workspace.auditLog.filters.allActions": "Toutes les actions",
+ "workspace.auditLog.filters.allResourceTypes": "Tous les types de ressources",
+ "workspace.auditLog.filters.endDate": "Date de fin",
+ "workspace.auditLog.filters.reset": "Réinitialiser",
+ "workspace.auditLog.filters.searchPlaceholder": "Rechercher un opérateur, une action, une ressource ou une IP",
+ "workspace.auditLog.filters.startDate": "Date de début",
+ "workspace.auditLog.loadFailed": "Échec du chargement des journaux d'audit",
+ "workspace.auditLog.loadMore": "Charger plus",
+ "workspace.auditLog.resourceTypes.agent": "Agent",
+ "workspace.auditLog.resourceTypes.api_key": "Clé API",
+ "workspace.auditLog.resourceTypes.auto_top_up": "Recharge automatique",
+ "workspace.auditLog.resourceTypes.budget": "Budget",
+ "workspace.auditLog.resourceTypes.credential": "Identifiant",
+ "workspace.auditLog.resourceTypes.document": "Document",
+ "workspace.auditLog.resourceTypes.file": "Fichier",
+ "workspace.auditLog.resourceTypes.integration": "Intégration",
+ "workspace.auditLog.resourceTypes.invitation": "Invitation",
+ "workspace.auditLog.resourceTypes.knowledge_base": "Base de connaissances",
+ "workspace.auditLog.resourceTypes.market_identity": "Identité de marché",
+ "workspace.auditLog.resourceTypes.member": "Membre",
+ "workspace.auditLog.resourceTypes.member_budget": "Budget des membres",
+ "workspace.auditLog.resourceTypes.page": "Page",
+ "workspace.auditLog.resourceTypes.payment_method": "Méthode de paiement",
+ "workspace.auditLog.resourceTypes.provider": "Fournisseur",
+ "workspace.auditLog.resourceTypes.security_policy": "Politique de sécurité",
+ "workspace.auditLog.resourceTypes.skill": "Compétence",
+ "workspace.auditLog.resourceTypes.subscription": "Abonnement",
+ "workspace.auditLog.resourceTypes.top_up": "Recharge",
+ "workspace.auditLog.resourceTypes.webhook": "Webhook",
+ "workspace.auditLog.resourceTypes.workspace": "Espace de travail",
+ "workspace.auditLog.resourceTypes.workspace_data": "Données de l'espace de travail",
+ "workspace.auditLog.resourceTypes.workspace_freeze": "Gel de l'espace de travail",
+ "workspace.auditLog.title": "Journaux d'audit",
+ "workspace.auditLog.upgrade.benefits.billing.desc": "Conservez les modifications d'abonnement et de méthode de paiement dans un enregistrement traçable.",
+ "workspace.auditLog.upgrade.benefits.billing.title": "Historique de facturation",
+ "workspace.auditLog.upgrade.benefits.member.desc": "Sachez qui a invité, supprimé ou modifié les membres avant que les risques ne se propagent.",
+ "workspace.auditLog.upgrade.benefits.member.title": "Traçabilité des activités des membres",
+ "workspace.auditLog.upgrade.benefits.permission.desc": "Examinez les modifications des fournisseurs, des clés, des budgets et des paramètres de l'espace de travail avec contexte.",
+ "workspace.auditLog.upgrade.benefits.permission.title": "Revue des modifications des autorisations",
+ "workspace.auditLog.upgrade.cta": "Passez à l'offre Business",
+ "workspace.auditLog.upgrade.desc": "Suivez les activités des membres, les modifications des autorisations, les événements de facturation et les détails des IP pour que les propriétaires puissent rapidement répondre à qui a changé quoi et quand.",
+ "workspace.auditLog.upgrade.title": "Débloquez les journaux d'audit avant que les problèmes ne deviennent des incidents",
"workspace.billing.basicHint": "Espace de travail basique · pool mensuel partagé",
"workspace.billing.credits.label": "Crédits ce mois-ci",
"workspace.billing.freeHint": "Espace de travail gratuit · pool mensuel partagé",
@@ -1284,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Espace de travail basique · pool mensuel partagé · aucun siège payant",
"workspace.billingPage.billing.basic.title": "Espace de travail basique",
"workspace.billingPage.billing.basic.upgradeCta": "Passer à Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Ajustement au prorata",
"workspace.billingPage.billing.billingPeriodModal.body": "La période de facturation de votre espace de travail sera modifiée de {{current}} à {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Annuler",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Modifier la période de facturation",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Crédit au prorata pour le temps non utilisé de la période en cours",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Impossible de charger l'aperçu des prix. Veuillez réessayer.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Réessayer",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Le changement prendra effet après la fin de la période actuelle.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Le changement prendra effet après la fin de la période actuelle le {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Places de l'espace de travail",
"workspace.billingPage.billing.billingPeriodModal.title": "Modifier la période de facturation ?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "année",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} siège · {{credits}} crédits / mois",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} sièges · {{credits}} crédits / mois",
"workspace.billingPage.billing.breakdown.extraSeats": "Sièges supplémentaires",
@@ -1382,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Passage au plan {{plan}} {{interval}} avec {{seats}} sièges le {{date}}. Assurez-vous que votre solde est suffisant.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Annulez le changement prévu avant de mettre à jour votre plan d'abonnement.",
"workspace.billingPage.billing.pending.keepPlanCta": "Conserver {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Conserver {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Cet espace de travail compte actuellement {{currentSeats}} sièges et passera à {{seats}} sièges le {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Passage à {{seats}} sièges le {{date}}. Assurez-vous que votre solde est suffisant.",
"workspace.billingPage.billing.pending.seatsTitle": "Changement de sièges prévu",
@@ -1412,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Acheter des places",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Achetez plus de places pour le plan {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Acheter plus de places ?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Calcul en cours…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Annuler",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Vous serez redirigé vers le paiement pour finaliser la transaction.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Mettre à niveau",
@@ -1429,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Voir la facturation",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "La mise à jour des sièges de votre espace de travail a été enregistrée.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Terminé",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Nous n'avons pas pu effectuer cette mise à jour. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Réessayer",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Échec de la mise à jour",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Inviter des membres",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Les frais de siège au prorata ont été débités de votre méthode de paiement actuelle.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} facturé · Montant dans la facturation",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Résultat du paiement",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Aucun paiement n'a été débité. Le changement est prévu pour le prochain cycle de facturation.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Passé à {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Forfait mis à niveau",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} sièges au total sont désormais disponibles, y compris {{purchasedSeats}} sièges supplémentaires prépayés.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Résultat de l'achat de sièges",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} sièges au total seront appliqués au prochain cycle de facturation, y compris {{purchasedSeats}} sièges supplémentaires prépayés.",
@@ -1646,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Afficher moins",
"workspace.billingPage.usage.model.unknown": "Modèle inconnu",
"workspace.billingPage.usage.ops": "Opérations",
+ "workspace.billingPage.usage.privateAgents": "Agents privés",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Nombre d'agents privés appartenant à ce membre. Les propriétaires peuvent voir le nombre pour la comptabilité, mais pas le contenu des agents.",
"workspace.billingPage.usage.range.30d": "30 derniers jours",
"workspace.billingPage.usage.range.all": "Depuis toujours",
"workspace.billingPage.usage.range.cycle": "Ce cycle",
@@ -1860,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Créer un compte & rejoindre",
"workspace.invitePage.switchAccountToAccept": "Connectez-vous en tant que {{email}} pour accepter",
"workspace.invitePage.title": "Invitation à l'espace de travail",
+ "workspace.invitePage.viewerLimitSubtitle": "Cet espace de travail a atteint sa limite de spectateurs. Demandez à un propriétaire de libérer un siège de spectateur ou de mettre à niveau le plan avant de rejoindre.",
+ "workspace.invitePage.viewerLimitTitle": "Limite de spectateurs atteinte",
"workspace.invitePage.workspaceLimitSubtitle": "Vous avez atteint le maximum de {{limit}} espaces de travail. Quittez-en un avant d'en rejoindre un autre.",
"workspace.invitePage.workspaceLimitTitle": "Limite d'espace de travail atteinte",
"workspace.member.demote": "Rétrograder au statut de membre",
@@ -1904,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Transférer la propriété principale",
"workspace.members.empty": "Aucun membre pour le moment",
"workspace.members.invite.addAnother": "Ajouter un autre",
+ "workspace.members.invite.askOwnerToBuySeats": "Demandez au propriétaire de l'espace de travail d'acheter plus de places avant d'inviter de nouveaux membres.",
"workspace.members.invite.button": "Inviter",
+ "workspace.members.invite.buySeatsCta": "Acheter des places",
"workspace.members.invite.emailLabel": "Adresse e-mail",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} a déjà une invitation en attente. Renvoyez ou révoquez-la depuis la liste ci-dessous.",
"workspace.members.invite.errors.alreadyMember": "{{email}} est déjà membre de cet espace de travail.",
"workspace.members.invite.failed": "Échec de l'envoi de l'invitation",
+ "workspace.members.invite.invitationLimitReached": "Cet espace de travail a atteint sa limite d'invitations en attente de {{limit}}. Révoquez ou attendez l'expiration des invitations inutilisées avant d'en envoyer de nouvelles.",
"workspace.members.invite.limitReached": "Cet espace de travail peut avoir jusqu'à {{limit}} membres. Supprimez un membre avant d'en inviter d'autres.",
"workspace.members.invite.modal.cancel": "Annuler",
"workspace.members.invite.modal.confirm": "Confirmer",
@@ -1920,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Des autorisations supplémentaires sont nécessaires pour gérer les membres de l'équipe",
"workspace.members.invite.partialSuccess": "{{success}} invité(s), {{failed}} échec(s). Vérifiez les adresses et réessayez.",
"workspace.members.invite.roleLabel": "Rôle",
+ "workspace.members.invite.seatInsufficient": "Il ne reste que {{remaining}} place(s). Achetez plus de places pour inviter {{required}} nouveau(x) membre(s).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Il ne reste que {{remaining}} place(s). Demandez au propriétaire de l'espace de travail d'acheter plus de places.",
"workspace.members.invite.submit": "Inviter",
"workspace.members.invite.subtitle": "Ajoutez de nouveaux membres en saisissant leur adresse e-mail et en attribuant un rôle",
"workspace.members.invite.success": "Membres de l'équipe invités avec succès.",
@@ -1998,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Choisissez-en quelques-uns pour commencer — découvrez-en plus à tout moment.",
"workspace.onboarding.step4.cta": "Entrer dans l'espace de travail",
"workspace.onboarding.step4.heading": "{{name}} est prêt !",
+ "workspace.onboarding.step4.marketProfileNudge": "Nous avons configuré un profil Communauté pour <strong>{{name}}</strong> afin que les agents de l'espace de travail puissent être installés. <cta>Personnalisez-le dans la Communauté</cta>.",
"workspace.onboarding.step4.subtitle": "Votre espace de travail est configuré. Plongez et commencez à collaborer avec votre équipe.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agent(s) prêt(s) à aider. Plongez et commencez à collaborer avec votre équipe.",
"workspace.onboarding.step4Invite.addMore": "Ajouter un autre email",
@@ -2005,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Terminer",
"workspace.onboarding.step4Invite.heading": "Invitez votre équipe",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} membre(s) invité(s)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Vous pouvez inviter jusqu'à {{max}} coéquipier(s) avec vos places actuelles.",
"workspace.onboarding.step4Invite.subtitle": "Amenez des coéquipiers dans cet espace de travail maintenant, ou invitez-les plus tard depuis les paramètres des membres.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Votre plan inclut {{includedSeats}} places gratuites et prend en charge jusqu'à {{maxSeats}} places avec des places supplémentaires achetées. Invitez des coéquipiers maintenant, ou ajoutez-les plus tard depuis les paramètres des membres.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby inclut jusqu'à {{maxSeats}} places, y compris vous. Invitez des coéquipiers maintenant, ou ajoutez-les plus tard depuis les paramètres des membres.",
"workspace.onboarding.stepLabel": "Étape {{current}} sur {{total}}",
"workspace.onboarding.title": "Configurez votre espace de travail",
"workspace.onboarding.toast.failed": "Impossible d'enregistrer. Veuillez réessayer.",
+ "workspace.onboarding.toast.installAgentsFailed": "Impossible d'ajouter les agents sélectionnés. Vous pouvez les installer plus tard depuis le marché.",
"workspace.onboarding.toast.saved": "Enregistré",
"workspace.permission.requiresMember": "Vous n'avez pas la permission de faire cela. Demandez à un propriétaire de l'espace de travail de vous accorder le rôle de Membre ou supérieur.",
"workspace.permission.requiresOwner": "Seuls les propriétaires de l'espace de travail peuvent faire cela. Demandez à un propriétaire si vous avez besoin de changer cela.",
@@ -2048,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Débloquez la collaboration, des crédits plus importants et des limites de taux plus élevées.",
"workspace.upgradeModal.successPage.activating": "Activation de votre abonnement — cela prend généralement quelques secondes…",
"workspace.upgradeModal.successPage.amountLabel": "Total payé",
- "workspace.upgradeModal.successPage.continueCta": "Inviter & continuer",
"workspace.upgradeModal.successPage.desc": "{{name}} est maintenant sur Pro. Invitez des coéquipiers pour commencer à collaborer.",
- "workspace.upgradeModal.successPage.inviteDesc": "Envoyez des invitations par e-mail. Ils recevront un lien pour rejoindre l'espace de travail.",
- "workspace.upgradeModal.successPage.inviteTitle": "Invitez des coéquipiers à {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Payé à",
"workspace.upgradeModal.successPage.planTag": "Espace de travail Pro",
"workspace.upgradeModal.successPage.processingDesc": "Patientez — nous confirmons le paiement avec Stripe. Cela prend généralement quelques secondes.",
@@ -2061,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Cycle de facturation",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} siège inclus",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} sièges",
- "workspace.upgradeModal.successPage.skipCta": "Passer pour l'instant",
"workspace.upgradeModal.successPage.title": "Mise à niveau terminée",
"workspace.upgradeModal.successToast": "Mise à niveau terminée — actualisation de votre plan…",
"workspace.upgradeModal.title": "Passer à Pro",
@@ -2132,12 +2377,14 @@
"workspace.wizard.step2.features.basic.onDemand": "Utilisation à la demande · Recharge automatique ({{price}} $ / 1M crédits)",
"workspace.wizard.step2.features.basic.share": "Les 3 premiers membres sont gratuits, y compris vous",
"workspace.wizard.step2.features.basic.upgradable": "Passez à un plan supérieur à tout moment pour plus de sièges",
+ "workspace.wizard.step2.features.business.auditLog": "Journaux d'audit",
"workspace.wizard.step2.features.free.members": "Jusqu'à 3 membres, pas de sièges payants",
"workspace.wizard.step2.features.free.onDemand": "Utilisation à la demande · Recharge automatique ({{price}} $ / 1M crédits)",
"workspace.wizard.step2.features.free.share": "Les 3 premiers membres sont gratuits, y compris vous",
"workspace.wizard.step2.features.free.upgradable": "Passez à un plan supérieur à tout moment pour plus de sièges",
"workspace.wizard.step2.features.pro.adminControls": "Facturation centralisée, rôles et journaux d'audit",
"workspace.wizard.step2.features.pro.collaboration": "Invitez des membres · partagez des agents et des fichiers",
+ "workspace.wizard.step2.features.pro.memberBudget": "Contrôle du budget par membre",
"workspace.wizard.step2.features.pro.onDemand": "Utilisation à la demande · AutoTopUp (${{price}}/M)",
"workspace.wizard.step2.features.pro.priorityModels": "Modèles premium prioritaires",
"workspace.wizard.step2.features.pro.support": "Support par email prioritaire",
@@ -2204,6 +2451,7 @@
"workspaceSetting.storage.danger.reset.title": "Réinitialiser les paramètres de l'espace de travail",
"workspaceSetting.storage.telemetry.desc": "Aidez-nous à améliorer {{appName}} avec des données d'utilisation anonymes de l'espace de travail",
"workspaceSetting.storage.telemetry.title": "Envoyer des données d'utilisation anonymes de l'espace de travail",
+ "workspaceSetting.tab.auditLog": "Journaux d'audit",
"workspaceSetting.tab.general": "Général",
"workspaceSetting.tab.members": "Membres",
"workspaceSetting.tab.skill": "Compétences"
diff --git a/locales/fr-FR/spend.json b/locales/fr-FR/spend.json
index ce471bb7bd3..df67cb4d65e 100644
--- a/locales/fr-FR/spend.json
+++ b/locales/fr-FR/spend.json
@@ -40,5 +40,28 @@
"table.more": "Voir les détails",
"table.title": "Détails de l’utilisation des crédits de calcul",
"table.totalToken.input": "Entrée",
- "table.totalToken.output": "Sortie"
+ "table.totalToken.output": "Sortie",
+ "usageStats.breakdown.cost": "Coût",
+ "usageStats.breakdown.model": "Modèle",
+ "usageStats.breakdown.requests": "Requêtes",
+ "usageStats.breakdown.title": "Utilisation par modèle",
+ "usageStats.breakdown.totalTokens": "Jetons",
+ "usageStats.byDay": "Par jour",
+ "usageStats.byWeek": "Par semaine",
+ "usageStats.cards.cacheDesc": "Taux de réussite {{rate}}% · Lecture {{read}}",
+ "usageStats.cards.cacheSavings": "Économies de cache",
+ "usageStats.cards.cost": "Coût",
+ "usageStats.cards.token": "Jeton",
+ "usageStats.cards.tokenDesc": "Entrée {{input}} · Sortie {{output}}",
+ "usageStats.chart.cacheWrite": "Écriture dans le cache",
+ "usageStats.chart.input": "Entrée",
+ "usageStats.chart.output": "Sortie",
+ "usageStats.chart.spend": "Coût",
+ "usageStats.chart.title": "Quand cet agent a dépensé",
+ "usageStats.chart.tokens": "Jeton",
+ "usageStats.dimension": "Dimension",
+ "usageStats.entry": "Utilisation et coût",
+ "usageStats.range": "Plage de temps",
+ "usageStats.rangeSuffix": "Derniers {{count}}j",
+ "usageStats.title": "Utilisation et coût"
}
diff --git a/locales/fr-FR/topic.json b/locales/fr-FR/topic.json
index a7e6a575be1..801c80196a1 100644
--- a/locales/fr-FR/topic.json
+++ b/locales/fr-FR/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Développer tous les groupes",
"sidebar.title": "Sujets",
"taskManager.agent": "Agent de tâches",
+ "taskManager.agentSelector.privateGroup": "Privé",
+ "taskManager.agentSelector.workspaceGroup": "Espace de travail",
"taskManager.welcome": "Demandez-moi à propos de vos tâches",
"temp": "Temporaire",
"title": "Sujet"
diff --git a/locales/fr-FR/video.json b/locales/fr-FR/video.json
index 4d1626a5c8b..a3cd94d8977 100644
--- a/locales/fr-FR/video.json
+++ b/locales/fr-FR/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Créer un nouveau sujet",
"topic.deleteConfirm": "Supprimer le sujet vidéo",
"topic.deleteConfirmDesc": "Vous êtes sur le point de supprimer ce sujet vidéo. Cette action est irréversible.",
+ "topic.privateTitle": "Privé",
"topic.title": "Sujets vidéo",
- "topic.untitled": "Sujet par défaut"
+ "topic.untitled": "Sujet par défaut",
+ "topic.visibility.existingLocked": "La visibilité est fixée pour le sujet actuel. Créez un nouveau sujet pour choisir un espace différent.",
+ "topic.workspaceTitle": "Espace de travail"
}
diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.json
index 7e246d2baab..cdb314cc6d7 100644
--- a/locales/it-IT/chat.json
+++ b/locales/it-IT/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Modello",
"active": "Attivo",
+ "addAgentFromMarket": "Aggiungi dal Mercato",
+ "agent.publishToWorkspace": "Pubblica nello Spazio di Lavoro",
+ "agent.publishToWorkspaceConfirm": "Gli altri membri dello spazio di lavoro potranno utilizzare questo agente. Non sarà più possibile renderlo privato.",
+ "agent.publishToWorkspaceSuccess": "Pubblicato nello spazio di lavoro",
"agentBuilder.installPlugin.authRequired": "Cloud MCP richiede l'accesso per continuare",
"agentBuilder.installPlugin.cancel": "Annulla",
"agentBuilder.installPlugin.clickApproveToConnect": "Fai clic su \"Approva\" per connettere e autorizzare questa Integrazione",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Salvato per risposte future",
"agentSignal.receipts.memory.title": "Memoria salvata",
"agentSignal.receipts.recentActivity": "Attività recente",
+ "agentSignal.receipts.revert.conflict": "Versione più recente",
+ "agentSignal.receipts.revert.failed": "Fallito",
+ "agentSignal.receipts.revert.not_found": "Impossibile annullare",
+ "agentSignal.receipts.revert.pending": "Annullamento in corso",
+ "agentSignal.receipts.revert.rolled_back": "Annullato",
+ "agentSignal.receipts.revert.undo": "Annulla",
+ "agentSignal.receipts.revert.unsupported": "Non supportato",
"agentSignal.receipts.skill.detail": "Migliorato il modo in cui questo assistente gestisce richieste simili",
"agentSignal.receipts.skill.title": "Abilità aggiornata",
"agents": "Agenti",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Chiamate agli strumenti",
"chatMode.agentCap.web": "Ricerca web",
"chatMode.agentDesc": "L'agente può utilizzare strumenti e ambiente per completare automaticamente i compiti",
+ "chatMode.agentUnsupported": "Il modello attuale non supporta l'uso degli strumenti",
"chatMode.chat": "Chat",
"chatMode.chatDesc": "Nessun ambiente di esecuzione o autonomia; utilizza meno token",
"chatMode.select": "Cambia modalità",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Aggiungi una descrizione...",
"createTask.submit": "Crea attività",
"createTask.titlePlaceholder": "Titolo dell’attività",
+ "createTask.visibility.changeFailed": "Impossibile modificare la visibilità del compito",
+ "createTask.visibility.helperPrivate": "Solo tu puoi vedere questo compito.",
+ "createTask.visibility.helperWorkspace": "Tutti in questo spazio di lavoro possono vedere questo compito.",
+ "createTask.visibility.label": "Visibilità",
+ "createTask.visibility.private": "Privato",
+ "createTask.visibility.privateAgentDisabled": "Gli agenti privati possono eseguire solo compiti privati. Scegli un agente dello spazio di lavoro o imposta questo compito come Privato.",
+ "createTask.visibility.privateAgentLocked": "Gli agenti privati possono eseguire solo compiti privati.",
+ "createTask.visibility.workspace": "Spazio di lavoro",
"defaultAgent": "Agente predefinito",
"defaultGroupChat": "Gruppo",
"defaultList": "Elenco predefinito",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Suggerimenti di input sospesi",
"input.modelUnavailable": "Il modello attuale non è più disponibile. Scegli un altro modello per continuare.",
"input.more": "Altro",
+ "input.sandboxModeNotice": "In esecuzione in un Cloud Sandbox temporaneo. Le esecuzioni locali sono più veloci e possono accedere ai tuoi file.",
"input.send": "Invia",
"input.sendWithCmdEnter": "Premi <key/> per inviare",
"input.sendWithEnter": "Premi <key/> per inviare",
"input.stop": "Ferma",
+ "input.switchToLocal": "Usa macchina locale",
"input.warp": "Nuova Riga",
"input.warpWithKey": "Premi <key/> per inserire un'interruzione di riga",
"inputQueue.delete": "Elimina",
@@ -364,10 +386,13 @@
"memory.on.title": "Attiva Memoria",
"memory.title": "Memoria",
"mention.category.agents": "Agenti",
+ "mention.category.files": "File",
"mention.category.members": "Membri",
+ "mention.category.privateAgents": "Privato",
"mention.category.skills": "Competenze",
"mention.category.tools": "Strumenti",
"mention.category.topics": "Argomenti",
+ "mention.category.workspaceAgents": "Spazio di lavoro",
"mention.title": "Menziona membri",
"messageAction.collapse": "Comprimi messaggio",
"messageAction.continueGeneration": "Continua generazione",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Cosa dovrei fare invece?",
"messageAction.reaction": "Aggiungi reazione",
"messageAction.regenerate": "Rigenera",
+ "messageAction.select": "Seleziona",
+ "messageForward.bar.cancel": "Annulla",
+ "messageForward.bar.delete": "Elimina",
+ "messageForward.bar.forward": "Inoltra",
+ "messageForward.bar.selectToHere": "Seleziona fino a qui",
+ "messageForward.bar.selected": "Selezionati {{count}}",
+ "messageForward.deleteConfirm.desc": "Eliminare i {{count}} messaggi selezionati? Questa azione non può essere annullata.",
+ "messageForward.deleteConfirm.success": "{{count}} messaggi eliminati",
+ "messageForward.deleteConfirm.title": "Elimina messaggi",
+ "messageForward.empty": "Seleziona almeno un messaggio da inoltrare",
+ "messageForward.modal.empty": "Nessun altro agente disponibile",
+ "messageForward.modal.moreMessages": "+{{count}} messaggi in più",
+ "messageForward.modal.noRecipients": "Seleziona gli agenti a sinistra a cui inoltrare",
+ "messageForward.modal.notePlaceholder": "Aggiungi una nota (opzionale) — inviata insieme ai messaggi",
+ "messageForward.modal.recipients": "Invia a ({{count}})",
+ "messageForward.modal.removeRecipient": "Rimuovi destinatario",
+ "messageForward.modal.searchPlaceholder": "Cerca agenti…",
+ "messageForward.modal.sendCount": "Inoltra ({{count}})",
+ "messageForward.modal.title": "Inoltra all'Agente",
+ "messageForward.role.agent": "Agente",
+ "messageForward.role.assistant": "Assistente",
+ "messageForward.role.user": "Utente",
+ "messageForward.success": "Inoltrato a {{title}}",
+ "messageForward.successMulti": "Inoltrato a {{count}} agenti",
+ "messageForward.transcript.header": "I seguenti {{count}} messaggi sono stati inoltrati da un'altra conversazione. Usali come contesto e continua:",
"messageLongCollapse.collapse": "Mostra meno",
"messageLongCollapse.expand": "Mostra di più",
"messages.dm.sentTo": "Visibile solo a {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Elimina riscrittura query",
"rag.userQuery.actions.regenerate": "Rigenera query",
"regenerate": "Rigenera",
+ "resources.knowledgePicker.publicAgentHint": "Gli agenti pubblici possono fare riferimento solo alle risorse dello spazio di lavoro. Pubblica prima una risorsa privata nello spazio di lavoro se desideri allegarla.",
+ "resources.mode.privateHint": "Il tuo cassetto personale — solo tu puoi vedere questi file",
+ "resources.mode.workspaceHint": "Condiviso con tutti in questo spazio di lavoro",
+ "resources.publishToWorkspace.confirm": "Gli altri membri dello spazio di lavoro potranno vedere questo file. Non sarà più possibile renderlo privato.",
+ "resources.publishToWorkspace.error": "Impossibile pubblicare il file nello spazio di lavoro",
+ "resources.publishToWorkspace.menu": "Pubblica nello Spazio di Lavoro",
+ "resources.publishToWorkspace.success": "Pubblicato nello spazio di lavoro",
+ "resources.visibility.label": "Visibilità",
+ "resources.visibility.private": "Privato",
+ "resources.visibility.privateTooltip": "Solo tu puoi vedere questo file",
+ "resources.visibility.workspace": "Spazio di lavoro",
"roleAndArchive": "Profilo e cronologia agente",
"runtimeEnv.mode.cloud": "Sandbox Cloud",
"runtimeEnv.mode.cloudDesc": "Esegui in un sandbox cloud sicuro",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Nessun agente disponibile",
"sessionGroup.noMatchingAgents": "Nessun agente corrispondente trovato",
"sessionGroup.noSelectedAgents": "Seleziona agenti",
+ "sessionGroup.publishToWorkspace": "Pubblica nello Spazio di Lavoro",
+ "sessionGroup.publishToWorkspaceConfirm": "Gli altri membri dello spazio di lavoro potranno utilizzare questa cartella. Non sarà più possibile renderla privata.",
+ "sessionGroup.publishToWorkspaceSuccess": "Pubblicato nello spazio di lavoro",
"sessionGroup.rename": "Rinomina gruppo",
"sessionGroup.renameSuccess": "Rinominato con successo",
"sessionGroup.searchAgents": "Cerca agenti",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normale",
"taskDetail.priority.urgent": "Urgente",
"taskDetail.properties": "Proprietà",
+ "taskDetail.publishToWorkspace.confirmContent": "Una volta pubblicato, questo compito diventa visibile a tutti i membri dello spazio di lavoro e non può essere reso nuovamente privato.",
+ "taskDetail.publishToWorkspace.confirmHint": "Le esecuzioni passate rimangono private. Solo le esecuzioni create dopo la pubblicazione saranno visibili ai membri dello spazio di lavoro.",
+ "taskDetail.publishToWorkspace.confirmOk": "Pubblica",
+ "taskDetail.publishToWorkspace.confirmTitle": "Pubblicare il compito nello spazio di lavoro?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Questo compito è assegnato a un agente privato. Riassegna a un agente dello spazio di lavoro o pubblica prima l'agente.",
+ "taskDetail.publishToWorkspace.menuLabel": "Pubblica nello Spazio di Lavoro",
"taskDetail.reassignDisabled": "Impossibile riassegnare l’agente mentre l’attività è in esecuzione",
"taskDetail.replyInThread": "Rispondi in questo thread",
"taskDetail.replyPlaceholder": "Rispondi in questo thread...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Bacheca",
"taskList.view.list": "Lista",
"taskList.viewAll": "Mostra tutto",
+ "taskList.visibility.all": "Tutti",
+ "taskList.visibility.label": "Visibilità",
"taskSchedule.advancedSettings": "Impostazioni avanzate",
"taskSchedule.clear": "Cancella",
"taskSchedule.continuous": "Continuo",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Copia Percorso Assoluto",
"workingPanel.files.copyRelativePath": "Copia Percorso Relativo",
- "workingPanel.files.count_one": "{{count}} file",
- "workingPanel.files.count_other": "{{count}} file",
"workingPanel.files.empty": "Nessun file in questo spazio di lavoro",
+ "workingPanel.files.noSearchResults": "Nessun file corrispondente",
"workingPanel.files.open": "Apri File",
- "workingPanel.files.refresh": "Aggiorna",
+ "workingPanel.files.searchPlaceholder": "Filtra file...",
"workingPanel.files.showInReview": "Mostra in Revisione",
"workingPanel.files.showInSystem": "Mostra nella Cartella",
"workingPanel.files.title": "File",
diff --git a/locales/it-IT/common.json b/locales/it-IT/common.json
index 45cf590e702..1e56f5eb011 100644
--- a/locales/it-IT/common.json
+++ b/locales/it-IT/common.json
@@ -1,5 +1,6 @@
{
"about": "Informazioni",
+ "addNew": "Aggiungi nuovo",
"advanceSettings": "Impostazioni avanzate",
"agentOnboardingPromo.actionLabel": "Prova ora",
"agentOnboardingPromo.description": "Configura i tuoi team di agenti in una breve chat con Lobe AI. I tuoi agenti esistenti resteranno invariati.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Verifica della policy sui contenuti non riuscita. Modifica il tuo prompt.",
"getDesktopApp": "Scarica l'app desktop",
"goToTarget": "Vai all'obiettivo",
+ "gotIt": "Capito",
"historyRange": "Intervallo cronologia",
"home.suggestQuestions": "Prova questi esempi",
"import": "Importa",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Sposta giù",
"navPanel.moveUp": "Sposta su",
"navPanel.pinned": "In evidenza",
+ "navPanel.privateAgents": "Privato",
+ "navPanel.publicAgents": "Spazio di lavoro",
"navPanel.resetDefault": "Reimposta ai valori predefiniti",
"navPanel.searchAgent": "Cerca agente...",
"navPanel.searchRecent": "Cerca recenti...",
diff --git a/locales/it-IT/discover.json b/locales/it-IT/discover.json
index 91f727a12d5..c4399bab008 100644
--- a/locales/it-IT/discover.json
+++ b/locales/it-IT/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "fork",
"fork.forksCount": "{{count}} fork",
"fork.forksCount_other": "{{count}} fork",
+ "fork.orgSetupRequired.memberContent": "Questo spazio di lavoro non ha ancora configurato un profilo Community, quindi i fork dal marketplace non possono essere salvati qui. Chiedi al proprietario dello spazio di lavoro di configurarlo in Community → Workspace.",
+ "fork.orgSetupRequired.ownerContent": "Questo spazio di lavoro non ha ancora configurato un profilo Community. Configurane uno per effettuare fork degli agenti dal marketplace nel tuo spazio di lavoro.",
+ "fork.orgSetupRequired.ownerOk": "Vai alla configurazione",
+ "fork.orgSetupRequired.title": "Configurazione del profilo Community richiesta",
"fork.success": "Fork eseguito con successo!",
"fork.viewAllForks": "Visualizza tutti i fork",
+ "fork.visibilityPrivate": "Privato",
+ "fork.visibilityPublic": "Spazio di lavoro",
"groupAgents.tag": "Gruppo",
"groupAgents.underReview": "In fase di revisione",
"home.communityAgents": "Agenti della Community",
diff --git a/locales/it-IT/editor.json b/locales/it-IT/editor.json
index dc63e202cf1..59ff2346f93 100644
--- a/locales/it-IT/editor.json
+++ b/locales/it-IT/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Abilità",
"actionTag.category.tool": "Strumento",
"actionTag.tooltip.agentSkill": "Carica un pacchetto di competenze dai documenti di questo agente per la richiesta.",
+ "actionTag.tooltip.clickToView": "Clicca per visualizzare i dettagli",
"actionTag.tooltip.command": "Esegue un comando slash lato client prima dell'invio.",
"actionTag.tooltip.projectSkill": "Inviato come un'istruzione slash affinché la CLI dell'agente esegua la competenza di progetto corrispondente.",
"actionTag.tooltip.skill": "Carica un pacchetto di abilità riutilizzabile per questa richiesta.",
diff --git a/locales/it-IT/electron.json b/locales/it-IT/electron.json
index f3cae23be38..352a8f8c543 100644
--- a/locales/it-IT/electron.json
+++ b/locales/it-IT/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Impostazioni",
"navigation.task": "Attività",
"navigation.tasks": "Attività",
+ "navigation.topics": "Argomenti",
"navigation.unpin": "Rimuovi appuntamento",
"notification.finishChatGeneration": "Generazione del messaggio AI completata",
"proxy.auth": "Autenticazione richiesta",
diff --git a/locales/it-IT/eval.json b/locales/it-IT/eval.json
index 9f054fe36dd..ce147903a99 100644
--- a/locales/it-IT/eval.json
+++ b/locales/it-IT/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Sei sicuro di voler eliminare questo benchmark? Anche i dataset correlati e i record di valutazione saranno eliminati.",
"benchmark.actions.edit": "Modifica Benchmark",
"benchmark.actions.export": "Esporta",
+ "benchmark.card.bestPassRate": "Miglior tasso di successo",
"benchmark.card.bestScore": "Migliore",
"benchmark.card.caseCount": "{{count}} casi",
+ "benchmark.card.casesLabel": "Casi",
"benchmark.card.datasetCount": "{{count}} dataset",
"benchmark.card.empty": "Nessuna valutazione ancora",
"benchmark.card.emptyHint": "Crea una nuova valutazione dalla pagina dei dettagli del benchmark",
+ "benchmark.card.evalsLabel": "Valutazioni",
"benchmark.card.importDataset": "Importa Dataset",
"benchmark.card.noDataset": "Nessun dataset ancora",
"benchmark.card.noDatasetHint": "Importa un dataset per iniziare la valutazione",
"benchmark.card.noRecentRuns": "Nessuna valutazione recente da mostrare",
"benchmark.card.recentRuns": "Valutazioni Recenti",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} prima del fallimento",
+ "benchmark.card.run.queued": "In coda",
"benchmark.card.runCount": "{{count}} valutazioni",
"benchmark.card.startFirst": "Inizia la Prima Valutazione",
"benchmark.card.viewAll": "Visualizza tutti {{count}}",
diff --git a/locales/it-IT/file.json b/locales/it-IT/file.json
index 5c2d80aba39..8121103ddc9 100644
--- a/locales/it-IT/file.json
+++ b/locales/it-IT/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Trasferisci libreria",
"library.list.transferTo": "Trasferisci in…",
"library.new": "Nuova libreria",
+ "library.privateEmpty": "Crea una libreria privata",
+ "library.publish": "Pubblica nello spazio di lavoro",
+ "library.publishConfirm.content": "Tutti i membri dello spazio di lavoro vedranno questa base di conoscenza. Questa azione non può essere annullata.",
+ "library.publishConfirm.title": "Pubblicare la base di conoscenza nello spazio di lavoro?",
"library.title": "Libreria",
+ "library.workspaceEmpty": "Crea una libreria dello spazio di lavoro",
"loadMore": "Carica altri",
"menu.allFiles": "Tutti i file",
"menu.allPages": "Tutte le pagine",
@@ -170,6 +175,13 @@
"pageList.noResults": "Nessuna pagina corrispondente trovata",
"pageList.pageCount": "Totale {{count}} pagine",
"pageList.pageSizeItem": "{{count}} elementi",
+ "pageList.privateTitle": "Privato",
+ "pageList.publishConfirm.content": "Dopo la pubblicazione, tutti nello spazio di lavoro potranno vedere questa pagina. Non potrai più renderla privata.",
+ "pageList.publishConfirm.ok": "Pubblica",
+ "pageList.publishConfirm.title": "Pubblica nello spazio di lavoro",
+ "pageList.publishError": "Pubblicazione della pagina non riuscita",
+ "pageList.publishSuccess": "Pagina pubblicata nello spazio di lavoro",
+ "pageList.publishToWorkspace": "Pubblica nello spazio di lavoro",
"pageList.title": "Pagine",
"pageList.transferConfirm": "Trasferisci",
"pageList.transferDescription": "Sposta questa pagina (e le eventuali cartelle che contiene) in un altro spazio di lavoro.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Trasferisci in…",
"pageList.transferWarning": "Questo è un trasferimento definitivo; per annullare è necessario un altro trasferimento.",
"pageList.untitled": "Senza titolo",
+ "pageList.workspaceTitle": "Spazio di lavoro",
"portal.openInPageEditor": "Modifica nella pagina",
"preview.downloadFile": "Scarica file",
"preview.unsupportedFileAndContact": "Questo formato di file non è attualmente supportato per l'anteprima online. Se desideri richiedere il supporto, <1>contattaci</1>.",
diff --git a/locales/it-IT/image.json b/locales/it-IT/image.json
index 45209d2bbe3..fff54b809dc 100644
--- a/locales/it-IT/image.json
+++ b/locales/it-IT/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Elimina argomento di generazione",
"topic.deleteConfirmDesc": "Stai per eliminare questo argomento di generazione. Questa azione è irreversibile, procedi con cautela.",
"topic.empty": "Nessun argomento di generazione",
+ "topic.privateTitle": "Privato",
"topic.title": "Tema del dipinto",
- "topic.untitled": "Argomento predefinito"
+ "topic.untitled": "Argomento predefinito",
+ "topic.visibility.existingLocked": "La visibilità è fissata per l'argomento corrente. Crea un nuovo argomento per scegliere uno spazio diverso.",
+ "topic.workspaceTitle": "Spazio di lavoro"
}
diff --git a/locales/it-IT/models.json b/locales/it-IT/models.json
index de0afb4311c..fb663fc68eb 100644
--- a/locales/it-IT/models.json
+++ b/locales/it-IT/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 è il modello più intelligente mai creato da Anthropic.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 rappresenta la migliore combinazione di velocità e intelligenza di Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 di Anthropic — modello equilibrato con forti capacità di codifica e ragionamento.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 è il modello Sonnet più agentico di Anthropic, progettato per codifica sostenuta, utilizzo di strumenti e flussi di lavoro a lungo contesto con velocità ed efficienza di livello Sonnet.",
"codegeex-4.description": "CodeGeeX-4 è un potente assistente di codifica AI che supporta Q&A multilingue e completamento del codice per aumentare la produttività degli sviluppatori.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B è un modello multilingue di generazione di codice che supporta completamento e generazione di codice, interprete di codice, ricerca web, chiamata di funzioni e Q&A a livello di repository, coprendo un'ampia gamma di scenari di sviluppo software. È un modello di codice di alto livello con meno di 10B parametri.",
"codegemma.description": "CodeGemma è un modello leggero per compiti di programmazione vari, che consente iterazioni rapide e facile integrazione.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro è il modello più potente di Google per agenti e codifica creativa, offrendo visuali più ricche e interazioni più profonde grazie a un ragionamento all'avanguardia.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) è il modello di generazione di immagini nativo più veloce di Google con supporto al pensiero, generazione e modifica di immagini conversazionali.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) è il modello di generazione di immagini nativo più veloce di Google con supporto al pensiero, generazione e modifica di immagini conversazionali.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) è il modello di generazione di immagini più veloce ed economico di Google, progettato per generazione ed editing ad alto volume.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) è il modello di generazione di immagini più veloce ed economico di Google, progettato per generazione ed editing ad alto volume.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview è il modello multimodale più economico di Google, ottimizzato per compiti agentici ad alto volume, traduzione e elaborazione dati.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite è il modello multimodale più economico di Google, ottimizzato per compiti agentici ad alto volume, traduzione e elaborazione dati.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview migliora Gemini 3 Pro con capacità di ragionamento avanzate e aggiunge supporto per un livello di pensiero medio.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V offre una solida comprensione e capacità di ragionamento visivo su compiti basati su immagini.",
"glm-5-turbo.description": "GLM-5-Turbo è un modello di base profondamente ottimizzato per scenari agentici. È stato specificamente ottimizzato per i requisiti principali delle attività degli agenti fin dalla fase di addestramento, migliorando capacità chiave come l'invocazione di strumenti, il rispetto dei comandi e l'esecuzione di catene lunghe. È ideale per la creazione di assistenti agenti ad alte prestazioni.",
"glm-5.1.description": "GLM-5.1 è l’ultimo modello di punta di Zhipu, allineato a Claude Opus 4.6 per capacità generali e di programmazione. Eccelle nei compiti a lungo orizzonte, essendo in grado di pianificare, eseguire e iterare autonomamente fino a 8 ore in un’unica attività, rendendolo una base ideale per Agenti Autonomi e Agenti di Coding a lungo orizzonte.",
- "glm-5.2.description": "La serie GLM è un modello di ragionamento ibrido di Zhipu AI progettato per agenti, con modalità di pensiero e non-pensiero. GLM-5.2 è il modello di punta di Zhipu per l'era dei compiti a lungo termine, supporta un contesto di 1M token ed è ottimizzato per pianificazione a lungo termine, codifica complessa ed esecuzione di agenti.",
+ "glm-5.2.description": "La serie GLM è un modello di ragionamento ibrido di Zhipu AI progettato per agenti, con modalità di pensiero e non-pensiero. GLM-5.2 è il modello di punta di Zhipu per l'era dei compiti a lungo termine, supportando un contesto di 1M token e ottimizzato per la pianificazione a lungo termine, la programmazione complessa e l'esecuzione degli agenti.",
"glm-5.description": "GLM-5 è il modello di base di nuova generazione di Zhipu, progettato appositamente per l'Agentic Engineering. Offre una produttività affidabile nell'ingegneria di sistemi complessi e nei compiti agentici a lungo termine. Nella codifica e nelle capacità agentiche, GLM-5 raggiunge prestazioni all'avanguardia tra i modelli open-source. In scenari di programmazione reali, l'esperienza utente si avvicina a quella di Claude Opus 4.5. Eccelle nell'ingegneria di sistemi complessi e nei compiti agentici a lungo termine, rendendolo un modello di base ideale per assistenti agentici di uso generale.",
"glm-5v-turbo.description": "GLM-5V-Turbo è il modello di base multimodale di Zhipu per compiti di programmazione visiva. Gestisce nativamente immagini, video, testo e file, ed è ottimizzato per pianificazione a lungo termine, programmazione complessa ed esecuzione di agenti in flussi di lavoro multimodali.",
"glm-image.description": "GLM-Image è il nuovo modello di generazione di immagini di punta di Zhipu. Il modello è stato addestrato end-to-end su chip prodotti a livello nazionale e adotta un'architettura ibrida originale che combina la modellazione autoregressiva con un decodificatore a diffusione. Questo design consente una forte comprensione globale delle istruzioni insieme a una resa dettagliata e precisa a livello locale, superando sfide di lunga data nella generazione di contenuti ricchi di conoscenza come poster, presentazioni e diagrammi educativi. Rappresenta un'importante esplorazione verso una nuova generazione di paradigmi tecnologici “generativi cognitivi,” esemplificati da Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 è il modello più versatile di Kimi fino ad oggi, con un'architettura multimodale nativa che supporta input visivi e testuali, modalità 'pensante' e 'non pensante', e attività sia conversazionali che agentiche.",
"kimi-k2.6.description": "Kimi-K2.6 è un modello linguistico di grandi dimensioni lanciato da Moonshot AI, con eccellenti capacità di programmazione e chiamata di strumenti. Il servizio di distribuzione è supportato solo nella Cina continentale.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed è un modello ad alta velocità di Kimi K2.7 Code. È lo stesso modello di Kimi K2.7 Code, ma la velocità di output è di circa 180 Token/s, e nello scenario di contesto breve può raggiungere 260 Token/s, offrendo un'esperienza di programmazione più estrema.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code è il modello agentico focalizzato sulla codifica di Moonshot AI, basato su Kimi K2.6, con miglioramenti sostanziali nei compiti di codifica a lungo termine nel mondo reale e un utilizzo di token di pensiero ridotto di circa il 30%.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code è il modello agentico focalizzato sulla programmazione di Moonshot AI, basato su Kimi K2.6, con miglioramenti sostanziali nei compiti di programmazione a lungo termine nel mondo reale e un utilizzo di token di pensiero ridotto di circa il 30%.",
"kling/kling-v3-image-generation.description": "Supporta fino a 10 immagini di riferimento, consentendo di bloccare soggetti, elementi e tonalità di colore per garantire uno stile coerente. Combina trasferimento di stile, riferimento a ritratti/personaggi, fusione multi-immagine e inpainting localizzato per un controllo flessibile. Offre dettagli realistici nei ritratti, con immagini complessive delicate e riccamente stratificate, caratterizzate da colori e atmosfera cinematografici.",
"kling/kling-v3-omni-image-generation.description": "Sblocca immagini visive di narrazione cinematografica con generazione di immagini di nuova serie e output diretto 2K/4K. Analizza profondamente gli elementi audiovisivi nei prompt per eseguire istruzioni creative con precisione. Supporta input multi-riferimento flessibili e aggiornamenti di qualità completi, ideale per storyboard, concept art narrativi e design di scene.",
"kling/kling-v3-omni-video-generation.description": "La nuova funzione \"Riferimento tutto-in-uno\" supporta video di 3–8 secondi o immagini multiple per ancorare elementi di personaggi. Può abbinare audio originale e movimenti labiali per una rappresentazione autentica dei personaggi. Migliora la coerenza video e l'espressione dinamica. Supporta la sincronizzazione audiovisiva e lo storyboard intelligente.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA è un modello multimodale che combina un encoder visivo e Vicuna per una solida comprensione visione-linguaggio.",
"llava:13b.description": "LLaVA è un modello multimodale che combina un encoder visivo e Vicuna per una solida comprensione visione-linguaggio.",
"llava:34b.description": "LLaVA è un modello multimodale che combina un encoder visivo e Vicuna per una solida comprensione visione-linguaggio.",
+ "lobehub-glm-5.2-fast.description": "Variante veloce di GLM-5.2 con una latenza sostanzialmente inferiore. Stesse capacità di GLM-5.2 — costa di più, ma risponde molto più rapidamente.",
"magistral-medium-2509.description": "Magistral Medium 1.2 è un modello di ragionamento di frontiera di Mistral AI (settembre 2025) con supporto visivo.",
"magistral-small-2509.description": "Magistral Small 1.2 è un modello open source compatto di Mistral AI (settembre 2025) con supporto visivo.",
"mathstral.description": "MathΣtral è progettato per la ricerca scientifica e il ragionamento matematico, con forti capacità di calcolo e spiegazione.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K supporta 32.768 token per contesti di media lunghezza, ideale per documenti lunghi e dialoghi complessi in creazione di contenuti, report e sistemi di chat.",
"moonshot-v1-8k-vision-preview.description": "I modelli visivi Kimi (inclusi moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) comprendono contenuti visivi come testo, colori e forme degli oggetti.",
"moonshot-v1-8k.description": "Moonshot V1 8K è ottimizzato per la generazione di testi brevi con prestazioni efficienti, gestendo 8.192 token per chat brevi, appunti e contenuti rapidi.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code è un modello agentico progettato per compiti di codifica da Moonshot AI. Basato su Kimi K2.6, mostra miglioramenti significativi nei compiti di codifica a lungo termine nel mondo reale, migliorando le capacità di completamento dei compiti end-to-end nei flussi di lavoro complessi di ingegneria del software, riducendo l'uso di token di pensiero di circa il 30% rispetto a Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code è un modello agentico progettato per compiti di programmazione da Moonshot AI. Basato su Kimi K2.6, offre miglioramenti significativi nei compiti di programmazione a lungo termine nel mondo reale, migliorando le capacità di completamento dei compiti end-to-end nei flussi di lavoro complessi di ingegneria del software, riducendo l'uso di token di pensiero di circa il 30% rispetto a Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 è la variante instruct della serie Kimi, adatta per codice di alta qualità e uso di strumenti.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 è un aggiornamento che migliora le prestazioni di contesto e ragionamento con ottimizzazioni per la programmazione.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo è una versione ad alta velocità di Kimi K2 Thinking, che riduce significativamente la latenza mantenendo un ragionamento profondo.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 è il nuovo modello di punta di Zhipu con 355B di parametri totali e 32B di parametri attivi, completamente aggiornato nelle capacità di dialogo generale, ragionamento e agenti. GLM-4.7 migliora il Pensiero Intercalato e introduce il Pensiero Preservato e il Pensiero a Livello di Turno.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air è un modello base per applicazioni agentiche con architettura Mixture-of-Experts. Ottimizzato per l'uso di strumenti, navigazione web, ingegneria software e programmazione frontend, si integra con agenti di codice come Claude Code e Roo Code. Utilizza ragionamento ibrido per gestire sia scenari complessi che quotidiani.",
"zai-org/GLM-4.5V.description": "GLM-4.5V è il più recente VLM di Zhipu AI, basato sul modello testuale di punta GLM-4.5-Air (106B totali, 12B attivi) con architettura MoE per prestazioni elevate a costi ridotti. Segue il percorso GLM-4.1V-Thinking e aggiunge 3D-RoPE per migliorare il ragionamento spaziale 3D. Ottimizzato tramite pretraining, SFT e RL, gestisce immagini, video e documenti lunghi, classificandosi tra i migliori modelli open source su 41 benchmark multimodali pubblici. Una modalità Thinking consente di bilanciare velocità e profondità.",
- "zai-org/GLM-5.2.description": "GLM-5.2 è il modello di punta più recente di Z.ai progettato per scenari di compiti a lungo termine, offrendo miglioramenti significativi nelle capacità di compiti a lungo termine rispetto a GLM-5.1. Questo modello MoE da 753B supporta una finestra di contesto stabile di 1M token, presenta capacità di programmazione più avanzate e supporta diversi livelli di sforzo di pensiero per un equilibrio flessibile tra prestazioni e latenza.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 è il modello di punta più recente di Z.ai progettato per scenari di compiti a lungo termine, offrendo miglioramenti significativi nelle capacità di gestione di compiti a lungo termine rispetto a GLM-5.1. Questo modello MoE da 753B supporta una finestra di contesto stabile di 1M token, presenta capacità di programmazione più avanzate e supporta diversi livelli di sforzo di pensiero per un equilibrio flessibile tra prestazioni e latenza.",
"zai/glm-4.5-air.description": "GLM-4.5 e GLM-4.5-Air sono i nostri modelli di punta più recenti per applicazioni agentiche, entrambi con architettura MoE. GLM-4.5 ha 355B totali e 32B attivi per passaggio; GLM-4.5-Air è più snello con 106B totali e 12B attivi.",
"zai/glm-4.5.description": "La serie GLM-4.5 è progettata per agenti. Il modello di punta GLM-4.5 combina ragionamento, programmazione e capacità agentiche con 355B parametri totali (32B attivi) e offre modalità operative doppie come sistema di ragionamento ibrido.",
"zai/glm-4.5v.description": "GLM-4.5V si basa su GLM-4.5-Air, ereditando le tecniche collaudate di GLM-4.1V-Thinking e scalando con una potente architettura MoE da 106B parametri.",
diff --git a/locales/it-IT/plugin.json b/locales/it-IT/plugin.json
index e922f450c1e..0af3500a389 100644
--- a/locales/it-IT/plugin.json
+++ b/locales/it-IT/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Risultato",
"builtins.codex.mcpTool.unknownTool": "Strumento MCP",
"builtins.codex.webSearch.query": "Richiesta",
+ "builtins.github.render.error": "Errore",
+ "builtins.github.render.rawResult": "Risultato grezzo",
+ "builtins.github.render.updatedAt": "Aggiornato {{time}}",
+ "builtins.linear.render.empty": "Nessun {{collection}} trovato",
"builtins.linear.render.updatedAt": "Aggiornato {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Attiva Strumenti",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} non trovati",
diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.json
index 713ffa674c2..79b3c9a4276 100644
--- a/locales/it-IT/setting.json
+++ b/locales/it-IT/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Standard",
"settingChatAppearance.fontSize.title": "Dimensione Carattere",
"settingChatAppearance.highlighterTheme.title": "Tema Evidenziazione Codice",
+ "settingChatAppearance.linkIcon.desc": "Disattiva questa opzione se non ne hai bisogno.",
+ "settingChatAppearance.linkIcon.previewMessage": "Dai un'occhiata a <site></site> e <repo></repo> per maggiori dettagli.",
+ "settingChatAppearance.linkIcon.title": "Mostra icone nei link dei messaggi",
"settingChatAppearance.mermaidTheme.title": "Tema Mermaid",
"settingChatAppearance.title": "Aspetto Chat",
"settingChatAppearance.transitionMode.desc": "Scegli come appaiono i messaggi nella chat",
@@ -1246,9 +1249,9 @@
"workspace.auditLog.actions.billing.portal_session_created": "Portale di fatturazione aperto",
"workspace.auditLog.actions.budget.default_member_limit_updated": "Budget predefinito per membro aggiornato",
"workspace.auditLog.actions.budget.member_limit_updated": "Budget per membro aggiornato",
- "workspace.auditLog.actions.budget.member_override.updated": "Sostituzione del budget per membro aggiornata",
"workspace.auditLog.actions.budget.member_override_created": "Sostituzione del budget per membro creata",
"workspace.auditLog.actions.budget.member_override_removed": "Sostituzione del budget per membro rimossa",
+ "workspace.auditLog.actions.budget.member_override_updated": "Modifica del budget del membro aggiornata",
"workspace.auditLog.actions.credential.created": "Credenziale creata",
"workspace.auditLog.actions.credential.deleted": "Credenziale eliminata",
"workspace.auditLog.actions.credential.tested": "Credenziale testata",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Workspace Basic · pool mensile condiviso · nessun posto a pagamento",
"workspace.billingPage.billing.basic.title": "Workspace Basic",
"workspace.billingPage.billing.basic.upgradeCta": "Passa a Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Adeguamento proporzionale",
"workspace.billingPage.billing.billingPeriodModal.body": "Il periodo di fatturazione del tuo workspace verrà modificato da {{current}} a {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Annulla",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Modifica il periodo di fatturazione",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Credito proporzionale per il tempo non utilizzato nel periodo corrente",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Impossibile caricare l'anteprima del prezzo. Riprova.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Riprova",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "La modifica avrà effetto al termine del periodo corrente.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "La modifica avrà effetto al termine del periodo corrente il {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Posti nel workspace",
"workspace.billingPage.billing.billingPeriodModal.title": "Modificare il periodo di fatturazione?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "anno",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} posto · {{credits}} crediti / mese",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} posti · {{credits}} crediti / mese",
"workspace.billingPage.billing.breakdown.extraSeats": "Posti extra",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Passa a {{plan}} {{interval}} con {{seats}} posti il {{date}}. Mantieni il saldo del tuo account sufficiente.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Annulla la modifica programmata prima di aggiornare il piano di abbonamento.",
"workspace.billingPage.billing.pending.keepPlanCta": "Mantieni {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Mantieni {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Questo workspace ha attualmente {{currentSeats}} posti e passerà a {{seats}} posti il {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Passa a {{seats}} posti il {{date}}. Mantieni il saldo del tuo account sufficiente.",
"workspace.billingPage.billing.pending.seatsTitle": "Cambio posti programmato",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Acquista posti",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Acquista più posti per il piano {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Acquistare più posti?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Calcolo in corso…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Annulla",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Verrai reindirizzato al checkout per completare il pagamento.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Fai l'upgrade",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Visualizza fatturazione",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "L'aggiornamento dei posti del tuo workspace è stato salvato.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Fatto",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Non siamo riusciti a completare questo aggiornamento. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Riprova",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Aggiornamento fallito",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Invita membri",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "La tariffa proporzionata per i posti è stata addebitata sul tuo metodo di pagamento attuale.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} addebitati · Importo in fatturazione",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Risultato del pagamento",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Nessun pagamento è stato addebitato. La modifica è programmata per il prossimo ciclo di fatturazione.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Aggiornato a {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Piano aggiornato",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "Ora sono disponibili {{seats}} posti totali, inclusi {{purchasedSeats}} posti extra prepagati.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Risultato dell'acquisto dei posti",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} posti totali saranno applicati nel prossimo ciclo di fatturazione, inclusi {{purchasedSeats}} posti extra prepagati.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Mostra meno",
"workspace.billingPage.usage.model.unknown": "Modello sconosciuto",
"workspace.billingPage.usage.ops": "Operazioni",
+ "workspace.billingPage.usage.privateAgents": "Agenti privati",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Numero di agenti privati posseduti da questo membro. I proprietari possono vedere il conteggio per la contabilità, ma non il contenuto degli agenti.",
"workspace.billingPage.usage.range.30d": "Ultimi 30 giorni",
"workspace.billingPage.usage.range.all": "Tutto il tempo",
"workspace.billingPage.usage.range.cycle": "Questo ciclo",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Crea un account e unisciti",
"workspace.invitePage.switchAccountToAccept": "Accedi come {{email}} per accettare",
"workspace.invitePage.title": "Invito al Workspace",
+ "workspace.invitePage.viewerLimitSubtitle": "Questo workspace ha raggiunto il limite di visualizzatori. Chiedi a un proprietario di liberare un posto per visualizzatori o di aggiornare il piano prima di unirti.",
+ "workspace.invitePage.viewerLimitTitle": "Limite di Visualizzatori Raggiunto",
"workspace.invitePage.workspaceLimitSubtitle": "Hai raggiunto il massimo di {{limit}} workspace. Lascia uno prima di unirti a un altro.",
"workspace.invitePage.workspaceLimitTitle": "Limite di Workspace Raggiunto",
"workspace.member.demote": "Degrada a membro",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Trasferisci proprietà primaria",
"workspace.members.empty": "Nessun membro ancora",
"workspace.members.invite.addAnother": "Aggiungi un altro",
+ "workspace.members.invite.askOwnerToBuySeats": "Chiedi al proprietario del workspace di acquistare più posti prima di invitare nuovi membri.",
"workspace.members.invite.button": "Invita",
+ "workspace.members.invite.buySeatsCta": "Acquista posti",
"workspace.members.invite.emailLabel": "Indirizzo Email",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} ha già un invito in sospeso. Reinvia o revoca l'invito dalla lista sottostante.",
"workspace.members.invite.errors.alreadyMember": "{{email}} è già un membro di questo workspace.",
"workspace.members.invite.failed": "Invio dell'invito non riuscito",
+ "workspace.members.invite.invitationLimitReached": "Questo workspace ha raggiunto il limite di inviti in sospeso di {{limit}}. Revoca o attendi la scadenza degli inviti inutilizzati prima di inviarne di nuovi.",
"workspace.members.invite.limitReached": "Questo workspace può avere fino a {{limit}} membri. Rimuovi un membro prima di invitarne altri.",
"workspace.members.invite.modal.cancel": "Annulla",
"workspace.members.invite.modal.confirm": "Conferma",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Sono necessarie autorizzazioni aggiuntive per gestire i membri del team",
"workspace.members.invite.partialSuccess": "{{success}} invitati, {{failed}} non riusciti. Controlla gli indirizzi e riprova.",
"workspace.members.invite.roleLabel": "Ruolo",
+ "workspace.members.invite.seatInsufficient": "Solo {{remaining}} posto/i disponibile/i. Acquista più posti per invitare {{required}} nuovo/i membro/i.",
+ "workspace.members.invite.seatInsufficientNoBuy": "Solo {{remaining}} posto/i disponibile/i. Chiedi al proprietario del workspace di acquistare più posti.",
"workspace.members.invite.submit": "Invita",
"workspace.members.invite.subtitle": "Aggiungi nuovi membri inserendo il loro indirizzo email e assegnando un ruolo",
"workspace.members.invite.success": "Membri del team invitati con successo.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Scegline alcuni per iniziare — scopri di più in qualsiasi momento.",
"workspace.onboarding.step4.cta": "Entra nel workspace",
"workspace.onboarding.step4.heading": "{{name}} è pronto!",
+ "workspace.onboarding.step4.marketProfileNudge": "Abbiamo configurato un profilo Community per <strong>{{name}}</strong> in modo che gli agenti del workspace possano essere installati. <cta>Personalizzalo in Community</cta>.",
"workspace.onboarding.step4.subtitle": "Il tuo workspace è configurato. Inizia a collaborare con il tuo team.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agente(i) pronto(i) ad aiutarti. Inizia a collaborare con il tuo team.",
"workspace.onboarding.step4Invite.addMore": "Aggiungi un'altra email",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Fine",
"workspace.onboarding.step4Invite.heading": "Invita il tuo team",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} membro(i) invitato(i)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Puoi invitare fino a {{max}} compagno/i di squadra con i posti attuali.",
"workspace.onboarding.step4Invite.subtitle": "Porta i colleghi in questo workspace ora o invitali più tardi dalle impostazioni dei membri.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Il tuo piano include {{includedSeats}} posti gratuiti e supporta fino a {{maxSeats}} posti con posti extra acquistati. Invita i colleghi ora o aggiungili più tardi dalle impostazioni dei membri.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby include fino a {{maxSeats}} posti, incluso il tuo. Invita i colleghi ora o aggiungili più tardi dalle impostazioni dei membri.",
"workspace.onboarding.stepLabel": "Passo {{current}} di {{total}}",
"workspace.onboarding.title": "Configura il tuo workspace",
"workspace.onboarding.toast.failed": "Impossibile salvare. Riprova.",
+ "workspace.onboarding.toast.installAgentsFailed": "Impossibile aggiungere gli agenti selezionati. Puoi installarli successivamente dal marketplace.",
"workspace.onboarding.toast.saved": "Salvato",
"workspace.permission.requiresMember": "Non hai il permesso per farlo. Chiedi al proprietario del workspace di concederti il ruolo di Membro o superiore.",
"workspace.permission.requiresOwner": "Solo i proprietari del workspace possono farlo. Chiedi a un proprietario se hai bisogno di modifiche.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Sblocca la collaborazione, crediti maggiori e limiti di utilizzo più alti.",
"workspace.upgradeModal.successPage.activating": "Attivazione dell'abbonamento in corso — di solito richiede pochi secondi…",
"workspace.upgradeModal.successPage.amountLabel": "Totale pagato",
- "workspace.upgradeModal.successPage.continueCta": "Invita e continua",
"workspace.upgradeModal.successPage.desc": "{{name}} è ora su Pro. Invita i membri del team per iniziare a collaborare.",
- "workspace.upgradeModal.successPage.inviteDesc": "Invia inviti via email. Riceveranno un link per unirsi al workspace.",
- "workspace.upgradeModal.successPage.inviteTitle": "Invita i membri del team a {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Pagato il",
"workspace.upgradeModal.successPage.planTag": "Workspace Pro",
"workspace.upgradeModal.successPage.processingDesc": "Attendi un momento — stiamo confermando il pagamento con Stripe. Di solito richiede pochi secondi.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Ciclo di fatturazione",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} posto incluso",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} posti inclusi",
- "workspace.upgradeModal.successPage.skipCta": "Salta per ora",
"workspace.upgradeModal.successPage.title": "Upgrade completato",
"workspace.upgradeModal.successToast": "Upgrade completato — aggiornamento del piano in corso…",
"workspace.upgradeModal.title": "Aggiorna a Pro",
diff --git a/locales/it-IT/spend.json b/locales/it-IT/spend.json
index 05da98b5603..cd18dd2f553 100644
--- a/locales/it-IT/spend.json
+++ b/locales/it-IT/spend.json
@@ -40,5 +40,28 @@
"table.more": "Visualizza Dettagli",
"table.title": "Dettagli Utilizzo Crediti di Calcolo",
"table.totalToken.input": "Input",
- "table.totalToken.output": "Output"
+ "table.totalToken.output": "Output",
+ "usageStats.breakdown.cost": "Costo",
+ "usageStats.breakdown.model": "Modello",
+ "usageStats.breakdown.requests": "Richieste",
+ "usageStats.breakdown.title": "Utilizzo per Modello",
+ "usageStats.breakdown.totalTokens": "Token",
+ "usageStats.byDay": "Per giorno",
+ "usageStats.byWeek": "Per settimana",
+ "usageStats.cards.cacheDesc": "Tasso di successo {{rate}}% · Letture {{read}}",
+ "usageStats.cards.cacheSavings": "Risparmio cache",
+ "usageStats.cards.cost": "Costo",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Input {{input}} · Output {{output}}",
+ "usageStats.chart.cacheWrite": "Scrittura cache",
+ "usageStats.chart.input": "Input",
+ "usageStats.chart.output": "Output",
+ "usageStats.chart.spend": "Costo",
+ "usageStats.chart.title": "Quando questo agente ha speso",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Dimensione",
+ "usageStats.entry": "Utilizzo e Costo",
+ "usageStats.range": "Intervallo di tempo",
+ "usageStats.rangeSuffix": "Ultimi {{count}}g",
+ "usageStats.title": "Utilizzo e Costo"
}
diff --git a/locales/it-IT/topic.json b/locales/it-IT/topic.json
index 25dbe629c12..2c018e50547 100644
--- a/locales/it-IT/topic.json
+++ b/locales/it-IT/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Espandi tutti i gruppi",
"sidebar.title": "Argomenti",
"taskManager.agent": "Agente di attività",
+ "taskManager.agentSelector.privateGroup": "Privato",
+ "taskManager.agentSelector.workspaceGroup": "Spazio di lavoro",
"taskManager.welcome": "Chiedimi dei tuoi compiti",
"temp": "Temporaneo",
"title": "Argomento"
diff --git a/locales/it-IT/video.json b/locales/it-IT/video.json
index a0bd71d5fe5..6fd4ef5bf5a 100644
--- a/locales/it-IT/video.json
+++ b/locales/it-IT/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Crea Nuovo Argomento",
"topic.deleteConfirm": "Elimina Argomento Video",
"topic.deleteConfirmDesc": "Stai per eliminare questo argomento video. Questa azione non può essere annullata.",
+ "topic.privateTitle": "Privato",
"topic.title": "Argomenti Video",
- "topic.untitled": "Argomento Predefinito"
+ "topic.untitled": "Argomento Predefinito",
+ "topic.visibility.existingLocked": "La visibilità è fissata per l'argomento attuale. Crea un nuovo argomento per scegliere uno spazio diverso.",
+ "topic.workspaceTitle": "Spazio di lavoro"
}
diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.json
index 666cb3ca966..d748e9e9f98 100644
--- a/locales/ja-JP/chat.json
+++ b/locales/ja-JP/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "モデル",
"active": "アクティブ",
"addAgentFromMarket": "マーケットから追加",
+ "agent.publishToWorkspace": "ワークスペースに公開",
+ "agent.publishToWorkspaceConfirm": "他のワークスペースメンバーがこのエージェントを使用できるようになります。一度公開すると、再び非公開にすることはできません。",
+ "agent.publishToWorkspaceSuccess": "ワークスペースに公開しました",
"agentBuilder.installPlugin.authRequired": "クラウド MCP を使用するにはログインが必要です",
"agentBuilder.installPlugin.cancel": "キャンセル",
"agentBuilder.installPlugin.clickApproveToConnect": "「承認」をクリックして接続し、このコネクタを承認してください",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "説明を追加...",
"createTask.submit": "タスクを作成",
"createTask.titlePlaceholder": "タスク名",
+ "createTask.visibility.changeFailed": "タスクの可視性の変更に失敗しました",
+ "createTask.visibility.helperPrivate": "このタスクはあなただけが見ることができます。",
+ "createTask.visibility.helperWorkspace": "このワークスペースの全員がこのタスクを見ることができます。",
+ "createTask.visibility.label": "可視性",
+ "createTask.visibility.private": "非公開",
+ "createTask.visibility.privateAgentDisabled": "非公開エージェントは非公開タスクのみ実行できます。ワークスペースエージェントを選択するか、このタスクを非公開に切り替えてください。",
+ "createTask.visibility.privateAgentLocked": "非公開エージェントは非公開タスクのみ実行できます。",
+ "createTask.visibility.workspace": "ワークスペース",
"defaultAgent": "カスタムアシスタント",
"defaultGroupChat": "グループ",
"defaultList": "デフォルトリスト",
@@ -328,10 +339,12 @@
"input.inputCompletionError.title": "入力候補が一時停止しました",
"input.modelUnavailable": "現在のモデルは利用できなくなりました。続行するには別のモデルを選択してください。",
"input.more": "もっと見る",
+ "input.sandboxModeNotice": "一時的なクラウドサンドボックスで実行中です。ローカル実行の方が高速で、ファイルにアクセスできます。",
"input.send": "送信",
"input.sendWithCmdEnter": "<key/> を押して送信",
"input.sendWithEnter": "<key/> を押して送信",
"input.stop": "停止",
+ "input.switchToLocal": "ローカルマシンを使用",
"input.warp": "改行",
"input.warpWithKey": "<key/> を押して改行",
"inputQueue.delete": "削除",
@@ -373,10 +386,13 @@
"memory.on.title": "記憶を有効化",
"memory.title": "記憶",
"mention.category.agents": "エージェント",
+ "mention.category.files": "ファイル",
"mention.category.members": "メンバー",
+ "mention.category.privateAgents": "非公開",
"mention.category.skills": "スキル",
"mention.category.tools": "ツール",
"mention.category.topics": "トピック",
+ "mention.category.workspaceAgents": "ワークスペース",
"mention.title": "メンバーをメンション",
"messageAction.collapse": "メッセージを折りたたむ",
"messageAction.continueGeneration": "生成を続ける",
@@ -398,12 +414,15 @@
"messageForward.deleteConfirm.title": "メッセージを削除",
"messageForward.empty": "転送するメッセージを少なくとも1件選択してください",
"messageForward.modal.empty": "利用可能な他のエージェントがいません",
+ "messageForward.modal.moreMessages": "+{{count}} 件のメッセージがさらにあります",
"messageForward.modal.noRecipients": "左側で転送先のエージェントを選択してください",
"messageForward.modal.notePlaceholder": "メモを追加(任意)— メッセージと一緒に送信されます",
"messageForward.modal.recipients": "送信先({{count}})",
+ "messageForward.modal.removeRecipient": "受信者を削除",
"messageForward.modal.searchPlaceholder": "エージェントを検索…",
"messageForward.modal.sendCount": "転送({{count}})",
"messageForward.modal.title": "エージェントに転送",
+ "messageForward.role.agent": "エージェント",
"messageForward.role.assistant": "アシスタント",
"messageForward.role.user": "ユーザー",
"messageForward.success": "{{title}}に転送しました",
@@ -538,6 +557,17 @@
"rag.userQuery.actions.delete": "クエリを削除",
"rag.userQuery.actions.regenerate": "クエリを再生成",
"regenerate": "再生成",
+ "resources.knowledgePicker.publicAgentHint": "公開エージェントはワークスペースリソースのみ参照できます。非公開リソースを最初にワークスペースに公開してから添付してください。",
+ "resources.mode.privateHint": "あなた専用の引き出し — あなただけがこれらのファイルを見ることができます",
+ "resources.mode.workspaceHint": "このワークスペースの全員と共有",
+ "resources.publishToWorkspace.confirm": "他のワークスペースメンバーがこのファイルを見ることができるようになります。一度公開すると、再び非公開にすることはできません。",
+ "resources.publishToWorkspace.error": "ファイルをワークスペースに公開することに失敗しました",
+ "resources.publishToWorkspace.menu": "ワークスペースに公開",
+ "resources.publishToWorkspace.success": "ワークスペースに公開しました",
+ "resources.visibility.label": "可視性",
+ "resources.visibility.private": "非公開",
+ "resources.visibility.privateTooltip": "このファイルはあなただけが見ることができます",
+ "resources.visibility.workspace": "ワークスペース",
"roleAndArchive": "アシスタントプロフィールと記録",
"runtimeEnv.mode.cloud": "クラウドサンドボックス",
"runtimeEnv.mode.cloudDesc": "安全なクラウドサンドボックスで実行",
@@ -584,6 +614,9 @@
"sessionGroup.noAvailableAgents": "利用可能なアシスタントがいません",
"sessionGroup.noMatchingAgents": "一致するアシスタントが見つかりませんでした",
"sessionGroup.noSelectedAgents": "アシスタントを選択してください",
+ "sessionGroup.publishToWorkspace": "ワークスペースに公開",
+ "sessionGroup.publishToWorkspaceConfirm": "他のワークスペースメンバーがこのフォルダーを使用できるようになります。一度公開すると、再び非公開にすることはできません。",
+ "sessionGroup.publishToWorkspaceSuccess": "ワークスペースに公開しました",
"sessionGroup.rename": "グループ名を変更",
"sessionGroup.renameSuccess": "名前の変更に成功しました",
"sessionGroup.searchAgents": "アシスタントを検索",
@@ -755,6 +788,12 @@
"taskDetail.priority.normal": "普通",
"taskDetail.priority.urgent": "緊急",
"taskDetail.properties": "プロパティ",
+ "taskDetail.publishToWorkspace.confirmContent": "公開すると、このタスクはすべてのワークスペースメンバーに表示され、非公開に戻すことはできなくなります。",
+ "taskDetail.publishToWorkspace.confirmHint": "過去の実行は非公開のままです。公開後に作成された実行のみがワークスペースメンバーに表示されます。",
+ "taskDetail.publishToWorkspace.confirmOk": "公開",
+ "taskDetail.publishToWorkspace.confirmTitle": "タスクをワークスペースに公開しますか?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "このタスクは非公開エージェントに割り当てられています。ワークスペースエージェントに再割り当てするか、エージェントを先に公開してください。",
+ "taskDetail.publishToWorkspace.menuLabel": "ワークスペースに公開",
"taskDetail.reassignDisabled": "タスク実行中はエージェントを再割り当てできません",
"taskDetail.replyInThread": "このスレッドで返信",
"taskDetail.replyPlaceholder": "このスレッドで返信...",
@@ -865,6 +904,8 @@
"taskList.view.board": "ボード",
"taskList.view.list": "リスト",
"taskList.viewAll": "すべて表示",
+ "taskList.visibility.all": "すべて",
+ "taskList.visibility.label": "可視性",
"taskSchedule.advancedSettings": "詳細設定",
"taskSchedule.clear": "クリア",
"taskSchedule.continuous": "連続",
@@ -1158,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "パスをコピー",
"workingPanel.files.copyRelativePath": "相対パスをコピー",
- "workingPanel.files.count_one": "{{count}} ファイル",
- "workingPanel.files.count_other": "{{count}} ファイル",
"workingPanel.files.empty": "このワークスペースにはファイルがありません",
+ "workingPanel.files.noSearchResults": "一致するファイルがありません",
"workingPanel.files.open": "ファイルを開く",
- "workingPanel.files.refresh": "更新",
+ "workingPanel.files.searchPlaceholder": "ファイルをフィルタリング...",
"workingPanel.files.showInReview": "レビューで表示",
"workingPanel.files.showInSystem": "フォルダーで表示",
"workingPanel.files.title": "ファイル",
diff --git a/locales/ja-JP/common.json b/locales/ja-JP/common.json
index d3446493bff..ad920cef7b2 100644
--- a/locales/ja-JP/common.json
+++ b/locales/ja-JP/common.json
@@ -1,5 +1,6 @@
{
"about": "情報",
+ "addNew": "新規追加",
"advanceSettings": "詳細設定",
"agentOnboardingPromo.actionLabel": "今すぐ試す",
"agentOnboardingPromo.description": "Lobe AI と短く会話するだけで、エージェントチームを設定できます。既存のエージェントは変更されません。",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "コンテンツポリシーのチェックに失敗しました。プロンプトを修正してください。",
"getDesktopApp": "デスクトップアプリを入手",
"goToTarget": "ターゲットに移動",
+ "gotIt": "了解しました",
"historyRange": "履歴範囲",
"home.suggestQuestions": "次の例をお試しください",
"import": "インポート",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "下へ移動",
"navPanel.moveUp": "上へ移動",
"navPanel.pinned": "固定",
+ "navPanel.privateAgents": "プライベート",
+ "navPanel.publicAgents": "ワークスペース",
"navPanel.resetDefault": "デフォルトにリセット",
"navPanel.searchAgent": "アシスタントを検索…",
"navPanel.searchRecent": "最近の検索...",
diff --git a/locales/ja-JP/discover.json b/locales/ja-JP/discover.json
index 1479bc60dff..36bbe25ee59 100644
--- a/locales/ja-JP/discover.json
+++ b/locales/ja-JP/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "フォーク",
"fork.forksCount": "{{count}} 件のフォーク",
"fork.forksCount_other": "{{count}} 件のフォーク",
+ "fork.orgSetupRequired.memberContent": "このワークスペースはまだコミュニティプロファイルが設定されていないため、マーケットプレイスからのフォークをここに保存することはできません。ワークスペースの所有者に、コミュニティ → ワークスペースで設定するよう依頼してください。",
+ "fork.orgSetupRequired.ownerContent": "このワークスペースはまだコミュニティプロファイルが設定されていません。マーケットプレイスからエージェントをワークスペースにフォークするには、プロファイルを設定してください。",
+ "fork.orgSetupRequired.ownerOk": "設定に進む",
+ "fork.orgSetupRequired.title": "コミュニティプロファイルの設定が必要です",
"fork.success": "フォークが完了しました!",
"fork.viewAllForks": "すべてのフォークを表示",
+ "fork.visibilityPrivate": "非公開",
+ "fork.visibilityPublic": "ワークスペース",
"groupAgents.tag": "グループ",
"groupAgents.underReview": "審査中",
"home.communityAgents": "コミュニティアシスタント",
diff --git a/locales/ja-JP/editor.json b/locales/ja-JP/editor.json
index 275c2a3acbb..a63c426ac12 100644
--- a/locales/ja-JP/editor.json
+++ b/locales/ja-JP/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "スキル",
"actionTag.category.tool": "ツール",
"actionTag.tooltip.agentSkill": "このエージェントのドキュメントからスキルバンドルをリクエスト用に読み込みます。",
+ "actionTag.tooltip.clickToView": "詳細を見るにはクリックしてください",
"actionTag.tooltip.command": "送信前にクライアント側のスラッシュコマンドを実行します。",
"actionTag.tooltip.projectSkill": "スラッシュ呼び出しとして送信され、エージェントのCLIが一致するプロジェクトスキルを実行します。",
"actionTag.tooltip.skill": "このリクエスト用に再利用可能なスキルパッケージを読み込みます。",
diff --git a/locales/ja-JP/electron.json b/locales/ja-JP/electron.json
index 56afaee472c..975157852ea 100644
--- a/locales/ja-JP/electron.json
+++ b/locales/ja-JP/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "設定",
"navigation.task": "タスク",
"navigation.tasks": "タスク",
+ "navigation.topics": "トピック",
"navigation.unpin": "ピン留めを解除",
"notification.finishChatGeneration": "AI メッセージの生成が完了しました",
"proxy.auth": "認証が必要",
diff --git a/locales/ja-JP/eval.json b/locales/ja-JP/eval.json
index 8e8ae49e797..4ac417eee7d 100644
--- a/locales/ja-JP/eval.json
+++ b/locales/ja-JP/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "このベンチマークを削除してもよろしいですか?関連するデータセットと評価記録も削除されます。",
"benchmark.actions.edit": "ベンチマークを編集",
"benchmark.actions.export": "エクスポート",
+ "benchmark.card.bestPassRate": "最高合格率",
"benchmark.card.bestScore": "最高",
"benchmark.card.caseCount": "{{count}} ケース",
+ "benchmark.card.casesLabel": "ケース",
"benchmark.card.datasetCount": "{{count}} データセット",
"benchmark.card.empty": "まだ評価がありません",
"benchmark.card.emptyHint": "ベンチマーク詳細ページから新しい評価を作成してください",
+ "benchmark.card.evalsLabel": "評価",
"benchmark.card.importDataset": "データセットをインポート",
"benchmark.card.noDataset": "まだデータセットがありません",
"benchmark.card.noDatasetHint": "データセットをインポートして評価を開始してください",
"benchmark.card.noRecentRuns": "表示する最近の評価がありません",
"benchmark.card.recentRuns": "最近の評価",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} 失敗前",
+ "benchmark.card.run.queued": "キューに追加",
"benchmark.card.runCount": "{{count}} 評価",
"benchmark.card.startFirst": "最初の評価を開始",
"benchmark.card.viewAll": "すべて表示 ({{count}})",
diff --git a/locales/ja-JP/file.json b/locales/ja-JP/file.json
index ce6611be7e2..1c53aa2efa5 100644
--- a/locales/ja-JP/file.json
+++ b/locales/ja-JP/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "ライブラリを移動",
"library.list.transferTo": "移動先…",
"library.new": "新しいライブラリを作成",
+ "library.privateEmpty": "プライベートライブラリを作成",
+ "library.publish": "ワークスペースに公開",
+ "library.publishConfirm.content": "すべてのワークスペースメンバーがこのナレッジベースを閲覧できるようになります。この操作は元に戻せません。",
+ "library.publishConfirm.title": "ナレッジベースをワークスペースに公開しますか?",
"library.title": "ライブラリ",
+ "library.workspaceEmpty": "ワークスペースライブラリを作成",
"loadMore": "さらに読み込む",
"menu.allFiles": "すべてのファイル",
"menu.allPages": "すべてのドキュメント",
@@ -170,6 +175,13 @@
"pageList.noResults": "一致するドキュメントが見つかりませんでした",
"pageList.pageCount": "全 {{count}} 件のドキュメント",
"pageList.pageSizeItem": "{{count}} 件の項目",
+ "pageList.privateTitle": "プライベート",
+ "pageList.publishConfirm.content": "公開後、ワークスペース内の全員がこのページを閲覧できるようになります。後でプライベートに戻すことはできません。",
+ "pageList.publishConfirm.ok": "公開",
+ "pageList.publishConfirm.title": "ワークスペースに公開",
+ "pageList.publishError": "ページの公開に失敗しました",
+ "pageList.publishSuccess": "ページがワークスペースに公開されました",
+ "pageList.publishToWorkspace": "ワークスペースに公開",
"pageList.title": "ドキュメント",
"pageList.transferConfirm": "移動",
"pageList.transferDescription": "このページ(およびその中に含まれるフォルダ)を別のワークスペースに移動します。",
@@ -179,6 +191,7 @@
"pageList.transferTo": "移動先…",
"pageList.transferWarning": "これは一方向の移動です。元に戻すには再度移動が必要です。",
"pageList.untitled": "無題",
+ "pageList.workspaceTitle": "ワークスペース",
"portal.openInPageEditor": "ドキュメントで編集",
"preview.downloadFile": "ファイルをダウンロード",
"preview.unsupportedFileAndContact": "このファイル形式はオンラインプレビューをサポートしていません。プレビューのリクエストがある場合は、ぜひ<1>ご連絡ください</1>。",
diff --git a/locales/ja-JP/image.json b/locales/ja-JP/image.json
index a04a0778afe..238b33900fa 100644
--- a/locales/ja-JP/image.json
+++ b/locales/ja-JP/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "生成テーマを削除",
"topic.deleteConfirmDesc": "この生成テーマを削除すると復元できません。慎重に操作してください。",
"topic.empty": "生成されたテーマはありません",
+ "topic.privateTitle": "非公開",
"topic.title": "絵画のテーマ",
- "topic.untitled": "デフォルトテーマ"
+ "topic.untitled": "デフォルトテーマ",
+ "topic.visibility.existingLocked": "現在のトピックの可視性は固定されています。別のスペースを選択するには、新しいトピックを作成してください。",
+ "topic.workspaceTitle": "ワークスペース"
}
diff --git a/locales/ja-JP/models.json b/locales/ja-JP/models.json
index f1029622997..588818a2bbb 100644
--- a/locales/ja-JP/models.json
+++ b/locales/ja-JP/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turboは、エージェントシナリオ向けに深く最適化された基盤モデルです。トレーニング段階からエージェントタスクのコア要件に特化して最適化され、ツールの呼び出し、コマンドの追従、長いチェーンの実行などの主要な能力を強化します。高性能なエージェントアシスタントの構築に最適です。",
"glm-5.1.description": "GLM-5.1は、Zhipuによる最新のフラッグシップモデルであり、総合性能およびコーディング能力においてClaude Opus 4.6と同等の水準にあります。長時間にわたるタスク処理に優れており、単一のタスクにおいて最大8時間にわたり自律的に計画・実行・反復を行うことが可能です。そのため、自律型エージェントや長時間稼働型コーディングエージェントの理想的な基盤となります。",
"glm-5.2.description": "GLMシリーズは、Zhipu AIによるエージェント向けのハイブリッド推論モデルで、思考モードと非思考モードを備えています。GLM-5.2は、長期的なタスクの時代に向けたZhipuのフラッグシップモデルで、1Mトークンのコンテキストをサポートし、長期的な計画、複雑なコーディング、エージェント実行に最適化されています。",
+ "glm-5.2.description": "GLMシリーズは、Zhipu AIがエージェント向けに開発したハイブリッド推論モデルで、思考モードと非思考モードを備えています。GLM-5.2は、長期的なタスクの時代に向けたZhipuのフラッグシップモデルで、100万トークンのコンテキストをサポートし、長期的な計画、複雑なコーディング、エージェントの実行に最適化されています。",
"glm-5.description": "GLM-5は、エージェント工学のために特別に設計されたZhipuの次世代フラッグシップ基盤モデルです。複雑なシステム工学や長期的なエージェントタスクにおいて信頼性の高い生産性を提供します。コーディングおよびエージェント機能において、GLM-5はオープンソースモデルの中で最先端のパフォーマンスを達成しています。実世界のプログラミングシナリオでは、そのユーザー体験はClaude Opus 4.5に匹敵します。複雑なシステム工学や長期的なエージェントタスクに優れており、汎用エージェントアシスタントの基盤モデルとして理想的です。",
"glm-5v-turbo.description": "GLM-5V-Turboは、視覚的プログラミングタスク向けに設計されたZhipuのマルチモーダルコーディング基盤モデルです。画像、動画、テキスト、ファイルをネイティブに処理し、長期的な計画、複雑なコーディング、マルチモーダルワークフローにおけるエージェント実行に最適化されています。",
"glm-image.description": "GLM-Imageは、Zhipuの新しいフラッグシップ画像生成モデルです。このモデルは国内製のチップでエンドツーエンドでトレーニングされ、自己回帰モデリングと拡散デコーダーを組み合わせた独自のハイブリッドアーキテクチャを採用しています。この設計により、グローバルな指示理解能力と細かい局所的な詳細描写能力を両立し、ポスター、プレゼンテーション、教育用図表などの知識密度の高いコンテンツ生成における長年の課題を克服します。Nano Banana Proに代表される新世代の「認知生成」技術パラダイムへの重要な探求を示しています。",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6はMoonshot AIが発表した大規模言語モデルで、優れたコーディングおよびツール呼び出し機能を備えています。サービス展開は中国本土のみでサポートされています。",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeedはKimi K2.7 Codeの高速モデルです。同じモデルですが、出力速度は約180トークン/秒で、短いコンテキストシナリオでは260トークン/秒に達し、より極限的なプログラミング体験を提供します。",
"kimi-k2.7-code.description": "Kimi K2.7 Codeは、Moonshot AIによるコーディングに特化したエージェントモデルで、Kimi K2.6を基に構築されています。実世界の長期的なコーディングタスクで大幅な改善を実現し、思考トークンの使用量を約30%削減しています。",
+ "kimi-k2.7-code.description": "Kimi K2.7 Codeは、Moonshot AIが開発したコーディングに特化したエージェントモデルで、Kimi K2.6を基盤に、実世界の長期的なコーディングタスクにおいて大幅な改善を実現し、思考トークンの使用量を約30%削減しています。",
"kling/kling-v3-image-generation.description": "最大10枚の参照画像をサポートし、被写体、要素、色調を固定して一貫したスタイルを確保します。スタイル転送、ポートレート/キャラクター参照、マルチイメージ融合、局所的なインペインティングを組み合わせ、柔軟な制御を実現します。リアルなポートレートのディテールを提供し、全体的なビジュアルは繊細で層が豊かで、映画的な色彩と雰囲気を特徴とします。",
"kling/kling-v3-omni-image-generation.description": "新しいシリーズ画像生成と直接2K/4K出力で映画的なストーリーテリングビジュアルを解放します。プロンプト内の視聴覚要素を深く分析し、創造的な指示を正確に実行します。柔軟なマルチ参照入力と包括的な品質アップグレードをサポートし、ストーリーボード、物語のコンセプトアート、シーンデザインに最適です。",
"kling/kling-v3-omni-video-generation.description": "新しい「オールインワン参照」機能は、3~8秒のビデオまたは複数の画像をサポートし、キャラクター要素を固定します。元の音声とリップムーブメントを一致させ、キャラクターの本格的な表現を実現します。ビデオの一貫性と動的表現を強化します。視聴覚の同期とインテリジェントなストーリーボードをサポートします。",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "Kimi Visionモデル(moonshot-v1-8k-vision-preview、moonshot-v1-32k-vision-preview、moonshot-v1-128k-vision-previewを含む)は、テキスト、色、物体の形状などの画像内容を理解できます。",
"moonshot-v1-8k.description": "Moonshot V1 8Kは、短文生成に最適化されており、効率的なパフォーマンスで8,192トークンを処理し、短いチャット、メモ、迅速なコンテンツ作成に適しています。",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Codeは、Moonshot AIによるコードタスク向けのエージェントモデルです。Kimi K2.6を基に構築され、実世界の長期的なコーディングタスクで大幅な改善を示し、複雑なソフトウェアエンジニアリングワークフローにおけるエンドツーエンドのタスク完了能力を強化し、Kimi K2.6と比較して思考トークンの使用量を約30%削減しています。",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Codeは、Moonshot AIがコーディングタスク向けに設計したエージェントモデルです。Kimi K2.6を基盤に、実世界の長期的なコーディングタスクにおいて大幅な改善を示し、複雑なソフトウェアエンジニアリングワークフローにおけるエンドツーエンドのタスク完了能力を向上させるとともに、Kimi K2.6と比較して思考トークンの使用量を約30%削減しています。",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711は、Kimiシリーズのインストラクションバリアントで、高品質なコード生成とツール使用に適しています。",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905は、コンテキストと推論性能を拡張し、コーディング最適化を施したアップデート版です。",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turboは、Kimi K2 Thinkingの高速バージョンで、深い推論能力を維持しながらレイテンシを大幅に低減します。",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Airは、Mixture-of-Expertsアーキテクチャを採用したエージェントアプリケーション向けのベースモデルです。ツール使用、Webブラウジング、ソフトウェア開発、フロントエンドコーディングに最適化されており、Claude CodeやRoo Codeなどのコードエージェントと統合可能です。ハイブリッド推論により、複雑な推論と日常的なシナリオの両方に対応します。",
"zai-org/GLM-4.5V.description": "GLM-4.5Vは、GLM-4.5-AirをベースにしたZhipu AIの最新VLMで、106B総パラメータ(12Bアクティブ)のMoEアーキテクチャを採用し、低コストで高性能を実現しています。GLM-4.1V-Thinkingの系譜を継承し、3D-RoPEにより3D空間推論を強化。事前学習、SFT、RLを通じて最適化され、画像、動画、長文文書を処理可能。41の公開マルチモーダルベンチマークでトップクラスの評価を獲得。Thinkingモードの切り替えにより、速度と深さのバランスを調整可能です。",
"zai-org/GLM-5.2.description": "GLM-5.2は、長期的なタスクシナリオ向けに設計されたZ.aiの最新フラッグシップモデルで、GLM-5.1と比較して長期的なタスク能力が大幅に向上しています。この753B MoEモデルは、安定した1Mトークンのコンテキストウィンドウをサポートし、より強力なプログラミング能力を備え、パフォーマンスと遅延のバランスを柔軟に調整できる複数の思考努力レベルをサポートしています。",
+ "zai-org/GLM-5.2.description": "GLM-5.2は、Z.aiが設計した最新のフラッグシップモデルで、長期的なタスクシナリオ向けに開発され、GLM-5.1と比較して長期的なタスク能力が大幅に向上しています。この753B MoEモデルは、安定した100万トークンのコンテキストウィンドウをサポートし、より強力なプログラミング能力を備え、パフォーマンスとレイテンシーのバランスを柔軟に調整できる複数の思考努力レベルをサポートしています。",
"zai/glm-4.5-air.description": "GLM-4.5およびGLM-4.5-Airは、エージェントアプリケーション向けの最新フラッグシップモデルで、いずれもMoEを採用。GLM-4.5は総パラメータ355B(32Bアクティブ)、GLM-4.5-Airはよりスリムな106B(12Bアクティブ)構成です。",
"zai/glm-4.5.description": "GLM-4.5シリーズはエージェント向けに設計されており、フラッグシップのGLM-4.5は推論、コーディング、エージェントスキルを統合し、355B総パラメータ(32Bアクティブ)を持つハイブリッド推論システムとしてデュアル動作モードを提供します。",
"zai/glm-4.5v.description": "GLM-4.5Vは、GLM-4.5-Airをベースに、実績あるGLM-4.1V-Thinking技術を継承し、強力な106BパラメータのMoEアーキテクチャでスケーリングされています。",
diff --git a/locales/ja-JP/plugin.json b/locales/ja-JP/plugin.json
index 9af25e0085f..8f42ef6e0c8 100644
--- a/locales/ja-JP/plugin.json
+++ b/locales/ja-JP/plugin.json
@@ -32,7 +32,8 @@
"builtins.github.render.error": "エラー",
"builtins.github.render.rawResult": "生の結果",
"builtins.github.render.updatedAt": "{{time}} に更新",
- "builtins.linear.render.updatedAt": "{{time}}に更新されました",
+ "builtins.linear.render.empty": "{{collection}}が見つかりません",
+ "builtins.linear.render.updatedAt": "更新日時: {{time}}",
"builtins.lobe-activator.apiName.activateTools": "ツールをアクティブ化",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} 件が見つかりません",
"builtins.lobe-agent-builder.apiName.getAvailableModels": "利用可能なモデルを取得",
diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.json
index 57a4dff5d9b..b20a82fb48c 100644
--- a/locales/ja-JP/setting.json
+++ b/locales/ja-JP/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "標準",
"settingChatAppearance.fontSize.title": "フォントサイズ",
"settingChatAppearance.highlighterTheme.title": "コードハイライトテーマ",
+ "settingChatAppearance.linkIcon.desc": "必要ない場合はこれをオフにしてください。",
+ "settingChatAppearance.linkIcon.previewMessage": "<site></site> と <repo></repo> をチェックして詳細をご覧ください。",
+ "settingChatAppearance.linkIcon.title": "メッセージリンクにアイコンを表示",
"settingChatAppearance.mermaidTheme.title": "マーメイドテーマ",
"settingChatAppearance.title": "チャットの外観",
"settingChatAppearance.transitionMode.desc": "チャットメッセージの表示方法を選択",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "基本ワークスペース · 共有月間プール · 有料シートなし",
"workspace.billingPage.billing.basic.title": "基本ワークスペース",
"workspace.billingPage.billing.basic.upgradeCta": "Proにアップグレード",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "日割り調整",
"workspace.billingPage.billing.billingPeriodModal.body": "ワークスペースの請求期間が{{current}}から{{target}}に変更されます。",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "キャンセル",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "請求期間を変更",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "現在の期間で未使用の時間に対する日割りクレジット",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "価格プレビューを読み込めませんでした。再試行してください。",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "再試行",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "変更は現在の期間終了後に有効になります。",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "変更は現在の期間終了後、{{date}}に有効になります。",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "ワークスペースのシート",
"workspace.billingPage.billing.billingPeriodModal.title": "請求期間を変更しますか?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "年",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}}席·{{credits}}クレジット/月",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}}席·{{credits}}クレジット/月",
"workspace.billingPage.billing.breakdown.extraSeats": "追加席",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "{{plan}} {{interval}}に{{seats}}シートで{{date}}に切り替わります。アカウント残高を十分に保ってください。",
"workspace.billingPage.billing.pending.disabledActionTooltip": "サブスクリプションプランを更新する前に予定された変更をキャンセルしてください。",
"workspace.billingPage.billing.pending.keepPlanCta": "{{plan}}を維持",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "{{plan}} {{interval}} を維持",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "このワークスペースには現在{{currentSeats}}シートがあり、{{date}}に{{seats}}シートに変更されます。",
"workspace.billingPage.billing.pending.seatsDesc": "{{date}}に{{seats}}シートに変更されます。アカウント残高を十分に保ってください。",
"workspace.billingPage.billing.pending.seatsTitle": "シート変更予定",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "席を購入",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "{{plan}} {{interval}}プランの追加席を購入します。",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "追加席を購入しますか?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "計算中…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "キャンセル",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "支払いを完了するためにチェックアウトにリダイレクトされます。",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "アップグレード",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "請求を表示",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "ワークスペースの座席更新が保存されました。",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "完了",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "この更新を完了できませんでした。{{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "再試行する",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "更新に失敗しました",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "メンバーを招待",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "比例配分された座席料金が現在の支払い方法に請求されました。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} が請求されました · 請求額",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "支払い結果",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "支払いは請求されませんでした。変更は次の請求サイクルで予定されています。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "{{plan}} · {{interval}} にアップグレードしました。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "プランをアップグレードしました",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}}席が現在利用可能です({{purchasedSeats}}席の事前購入済み追加席を含む)。",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "座席購入結果",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}}席が次の請求サイクルで適用されます({{purchasedSeats}}席の事前購入済み追加席を含む)。",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "少なく表示",
"workspace.billingPage.usage.model.unknown": "不明なモデル",
"workspace.billingPage.usage.ops": "操作",
+ "workspace.billingPage.usage.privateAgents": "プライベートエージェント",
+ "workspace.billingPage.usage.privateAgentsTooltip": "このメンバーが所有するプライベートエージェントの数。オーナーは会計のために数を確認できますが、エージェントの内容は確認できません。",
"workspace.billingPage.usage.range.30d": "過去30日間",
"workspace.billingPage.usage.range.all": "すべての期間",
"workspace.billingPage.usage.range.cycle": "このサイクル",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "アカウントを作成して参加",
"workspace.invitePage.switchAccountToAccept": "{{email}}としてサインインして受け入れる",
"workspace.invitePage.title": "ワークスペース招待",
+ "workspace.invitePage.viewerLimitSubtitle": "このワークスペースはビューアーの上限に達しています。オーナーに席を空けてもらうか、プランをアップグレードしてから参加してください。",
+ "workspace.invitePage.viewerLimitTitle": "ビューアーの上限に達しました",
"workspace.invitePage.workspaceLimitSubtitle": "あなたはすでに{{limit}}ワークスペースの最大数に達しています。別のワークスペースを離れてから参加してください。",
"workspace.invitePage.workspaceLimitTitle": "ワークスペース制限に達しました",
"workspace.member.demote": "メンバーに降格",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "主要所有権を移転",
"workspace.members.empty": "まだメンバーがいません",
"workspace.members.invite.addAnother": "もう一人追加",
+ "workspace.members.invite.askOwnerToBuySeats": "新しいメンバーを招待する前に、ワークスペースオーナーにシートの追加購入を依頼してください。",
"workspace.members.invite.button": "招待",
+ "workspace.members.invite.buySeatsCta": "シートを購入",
"workspace.members.invite.emailLabel": "メールアドレス",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}}はすでに保留中の招待があります。以下のリストから再送または取り消してください。",
"workspace.members.invite.errors.alreadyMember": "{{email}}はすでにこのワークスペースのメンバーです。",
"workspace.members.invite.failed": "招待の送信に失敗しました",
+ "workspace.members.invite.invitationLimitReached": "このワークスペースは保留中の招待の上限 {{limit}} に達しています。新しい招待を送る前に、未使用の招待を取り消すか期限切れを待ってください。",
"workspace.members.invite.limitReached": "このワークスペースには最大{{limit}}人のメンバーを追加できます。さらに招待する前にメンバーを削除してください。",
"workspace.members.invite.modal.cancel": "キャンセル",
"workspace.members.invite.modal.confirm": "確認",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "チームメンバーを管理するには追加の権限が必要です",
"workspace.members.invite.partialSuccess": "{{success}}人が招待され、{{failed}}人が失敗しました。アドレスを確認して再試行してください。",
"workspace.members.invite.roleLabel": "役割",
+ "workspace.members.invite.seatInsufficient": "残り{{remaining}}シートのみです。{{required}}人の新しいメンバーを招待するには、さらにシートを購入してください。",
+ "workspace.members.invite.seatInsufficientNoBuy": "残り{{remaining}}シートのみです。ワークスペースオーナーにシートの追加購入を依頼してください。",
"workspace.members.invite.submit": "招待",
"workspace.members.invite.subtitle": "メールアドレスを入力して役割を割り当てることで新しいメンバーを追加",
"workspace.members.invite.success": "チームメンバーが正常に招待されました。",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "いくつか選んで始めましょう。いつでもさらに探索できます。",
"workspace.onboarding.step4.cta": "ワークスペースに入る",
"workspace.onboarding.step4.heading": "{{name}}の準備が整いました!",
+ "workspace.onboarding.step4.marketProfileNudge": "ワークスペースエージェントをインストールできるように、<strong>{{name}}</strong> のコミュニティプロファイルを設定しました。<cta>コミュニティでカスタマイズ</cta>してください。",
"workspace.onboarding.step4.subtitle": "ワークスペースが設定されました。チームと一緒にコラボレーションを始めましょう。",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}}人のエージェントが準備完了です。チームと一緒にコラボレーションを始めましょう。",
"workspace.onboarding.step4Invite.addMore": "別のメールを追加",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "完了",
"workspace.onboarding.step4Invite.heading": "チームを招待",
"workspace.onboarding.step4Invite.invitedCount": "{{count}}人のメンバーを招待しました",
+ "workspace.onboarding.step4Invite.seatLimitReached": "現在のシートで最大{{max}}人のチームメイトを招待できます。",
"workspace.onboarding.step4Invite.subtitle": "今すぐこのワークスペースにチームメイトを招待するか、後でメンバー設定から招待してください。",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "プランには{{includedSeats}}席の無料席が含まれており、購入した追加席を含め最大{{maxSeats}}席をサポートします。今すぐチームメイトを招待するか、後でメンバー設定から追加してください。",
"workspace.onboarding.step4Invite.subtitleWithLimit": "ホビープランには最大{{maxSeats}}席が含まれており、あなたも含まれます。今すぐチームメイトを招待するか、後でメンバー設定から追加してください。",
"workspace.onboarding.stepLabel": "ステップ {{current}} / {{total}}",
"workspace.onboarding.title": "ワークスペースを設定",
"workspace.onboarding.toast.failed": "保存できませんでした。もう一度お試しください。",
+ "workspace.onboarding.toast.installAgentsFailed": "選択したエージェントを追加できませんでした。後でマーケットプレイスからインストールできます。",
"workspace.onboarding.toast.saved": "保存しました",
"workspace.permission.requiresMember": "これを行う権限がありません。ワークスペースのオーナーにメンバー以上の権限を付与するよう依頼してください。",
"workspace.permission.requiresOwner": "ワークスペースのオーナーのみがこれを行うことができます。必要に応じてオーナーに依頼してください。",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "コラボレーション、より多くのクレジット、高いレート制限をアンロック。",
"workspace.upgradeModal.successPage.activating": "サブスクリプションを有効化中です。通常数秒かかります…",
"workspace.upgradeModal.successPage.amountLabel": "支払総額",
- "workspace.upgradeModal.successPage.continueCta": "招待して続行",
"workspace.upgradeModal.successPage.desc": "{{name}}は現在Proです。チームメイトを招待してコラボレーションを開始しましょう。",
- "workspace.upgradeModal.successPage.inviteDesc": "メールで招待を送信します。リンクを受け取り、ワークスペースに参加できます。",
- "workspace.upgradeModal.successPage.inviteTitle": "{{name}}にチームメイトを招待",
"workspace.upgradeModal.successPage.paidAtLabel": "支払日時",
"workspace.upgradeModal.successPage.planTag": "ワークスペースPro",
"workspace.upgradeModal.successPage.processingDesc": "少々お待ちください。Stripeでの支払い確認中です。通常数秒かかります。",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "請求サイクル",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} シートが含まれています",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} シートが含まれています",
- "workspace.upgradeModal.successPage.skipCta": "今はスキップ",
"workspace.upgradeModal.successPage.title": "アップグレード完了",
"workspace.upgradeModal.successToast": "アップグレード完了 — プランを更新中…",
"workspace.upgradeModal.title": "Proにアップグレード",
diff --git a/locales/ja-JP/spend.json b/locales/ja-JP/spend.json
index 858b0b05a2c..e5f4592f637 100644
--- a/locales/ja-JP/spend.json
+++ b/locales/ja-JP/spend.json
@@ -40,5 +40,28 @@
"table.more": "詳細を見る",
"table.title": "コンピューティングクレジット使用状況の詳細",
"table.totalToken.input": "入力",
- "table.totalToken.output": "出力"
+ "table.totalToken.output": "出力",
+ "usageStats.breakdown.cost": "コスト",
+ "usageStats.breakdown.model": "モデル",
+ "usageStats.breakdown.requests": "リクエスト",
+ "usageStats.breakdown.title": "モデル別の使用状況",
+ "usageStats.breakdown.totalTokens": "トークン",
+ "usageStats.byDay": "日別",
+ "usageStats.byWeek": "週別",
+ "usageStats.cards.cacheDesc": "ヒット率 {{rate}}% · 読み取り {{read}}",
+ "usageStats.cards.cacheSavings": "キャッシュ節約",
+ "usageStats.cards.cost": "コスト",
+ "usageStats.cards.token": "トークン",
+ "usageStats.cards.tokenDesc": "入力 {{input}} · 出力 {{output}}",
+ "usageStats.chart.cacheWrite": "キャッシュ書き込み",
+ "usageStats.chart.input": "入力",
+ "usageStats.chart.output": "出力",
+ "usageStats.chart.spend": "コスト",
+ "usageStats.chart.title": "このエージェントが費用を使った時",
+ "usageStats.chart.tokens": "トークン",
+ "usageStats.dimension": "次元",
+ "usageStats.entry": "使用状況とコスト",
+ "usageStats.range": "期間",
+ "usageStats.rangeSuffix": "過去 {{count}}日間",
+ "usageStats.title": "使用状況とコスト"
}
diff --git a/locales/ja-JP/topic.json b/locales/ja-JP/topic.json
index ad01c5c9453..1d953d870d2 100644
--- a/locales/ja-JP/topic.json
+++ b/locales/ja-JP/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "すべてのグループを展開する",
"sidebar.title": "トピック",
"taskManager.agent": "タスクエージェント",
+ "taskManager.agentSelector.privateGroup": "プライベート",
+ "taskManager.agentSelector.workspaceGroup": "ワークスペース",
"taskManager.welcome": "タスクについて聞いてください",
"temp": "一時的",
"title": "トピック"
diff --git a/locales/ja-JP/video.json b/locales/ja-JP/video.json
index 7b1789d74e4..0bed07cacbf 100644
--- a/locales/ja-JP/video.json
+++ b/locales/ja-JP/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "新しいトピックを作成",
"topic.deleteConfirm": "ビデオトピックを削除",
"topic.deleteConfirmDesc": "このビデオトピックを削除しようとしています。この操作は元に戻せません。",
+ "topic.privateTitle": "非公開",
"topic.title": "ビデオトピック",
- "topic.untitled": "デフォルトのトピック"
+ "topic.untitled": "デフォルトのトピック",
+ "topic.visibility.existingLocked": "現在のトピックの可視性は固定されています。別のスペースを選択するには、新しいトピックを作成してください。",
+ "topic.workspaceTitle": "ワークスペース"
}
diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.json
index 250e740b163..80751357d3c 100644
--- a/locales/ko-KR/chat.json
+++ b/locales/ko-KR/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "모델",
"active": "활성",
"addAgentFromMarket": "마켓에서 추가",
+ "agent.publishToWorkspace": "작업 공간에 게시",
+ "agent.publishToWorkspaceConfirm": "다른 작업 공간 멤버들이 이 에이전트를 사용할 수 있습니다. 다시 비공개로 설정할 수 없습니다.",
+ "agent.publishToWorkspaceSuccess": "작업 공간에 게시됨",
"agentBuilder.installPlugin.authRequired": "클라우드 MCP를 사용하려면 로그인이 필요합니다",
"agentBuilder.installPlugin.cancel": "취소",
"agentBuilder.installPlugin.clickApproveToConnect": "'승인'을 클릭하여 연결하고 이 커넥터를 승인하세요",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "설명 추가...",
"createTask.submit": "작업 생성",
"createTask.titlePlaceholder": "작업 제목",
+ "createTask.visibility.changeFailed": "작업 가시성 변경 실패",
+ "createTask.visibility.helperPrivate": "이 작업은 오직 당신만 볼 수 있습니다.",
+ "createTask.visibility.helperWorkspace": "이 작업 공간의 모든 멤버가 이 작업을 볼 수 있습니다.",
+ "createTask.visibility.label": "가시성",
+ "createTask.visibility.private": "비공개",
+ "createTask.visibility.privateAgentDisabled": "비공개 에이전트는 비공개 작업만 실행할 수 있습니다. 작업 공간 에이전트를 선택하거나 이 작업을 비공개로 전환하세요.",
+ "createTask.visibility.privateAgentLocked": "비공개 에이전트는 비공개 작업만 실행할 수 있습니다.",
+ "createTask.visibility.workspace": "작업 공간",
"defaultAgent": "사용자 정의 도우미",
"defaultGroupChat": "그룹",
"defaultList": "기본 목록",
@@ -328,10 +339,12 @@
"input.inputCompletionError.title": "입력 제안 일시 중지됨",
"input.modelUnavailable": "현재 모델은 더 이상 사용할 수 없습니다. 계속하려면 다른 모델을 선택하세요.",
"input.more": "더 보기",
+ "input.sandboxModeNotice": "임시 클라우드 샌드박스에서 실행 중입니다. 로컬 실행은 더 빠르고 파일에 접근할 수 있습니다.",
"input.send": "전송",
"input.sendWithCmdEnter": "<key/> 키를 눌러 전송",
"input.sendWithEnter": "<key/> 키를 눌러 전송",
"input.stop": "중지",
+ "input.switchToLocal": "로컬 머신 사용",
"input.warp": "줄바꿈",
"input.warpWithKey": "<key/> 키를 눌러 줄 바꿈",
"inputQueue.delete": "삭제",
@@ -373,10 +386,13 @@
"memory.on.title": "메모리 활성화",
"memory.title": "메모리",
"mention.category.agents": "에이전트",
+ "mention.category.files": "파일",
"mention.category.members": "멤버",
+ "mention.category.privateAgents": "비공개",
"mention.category.skills": "스킬",
"mention.category.tools": "도구",
"mention.category.topics": "주제",
+ "mention.category.workspaceAgents": "작업 공간",
"mention.title": "구성원 멘션",
"messageAction.collapse": "메시지 접기",
"messageAction.continueGeneration": "계속 생성하기",
@@ -398,12 +414,15 @@
"messageForward.deleteConfirm.title": "메시지 삭제",
"messageForward.empty": "전달할 메시지를 최소 하나 이상 선택하세요",
"messageForward.modal.empty": "사용 가능한 다른 에이전트가 없습니다",
+ "messageForward.modal.moreMessages": "+{{count}}개의 추가 메시지",
"messageForward.modal.noRecipients": "왼쪽에서 전달할 에이전트를 선택하세요",
"messageForward.modal.notePlaceholder": "메모 추가 (선택 사항) — 메시지와 함께 전송됩니다",
"messageForward.modal.recipients": "보낼 대상 ({{count}})",
+ "messageForward.modal.removeRecipient": "수신자 제거",
"messageForward.modal.searchPlaceholder": "에이전트 검색…",
"messageForward.modal.sendCount": "전달 ({{count}})",
"messageForward.modal.title": "에이전트에게 전달",
+ "messageForward.role.agent": "에이전트",
"messageForward.role.assistant": "도우미",
"messageForward.role.user": "사용자",
"messageForward.success": "{{title}}에게 전달되었습니다",
@@ -538,6 +557,17 @@
"rag.userQuery.actions.delete": "쿼리 삭제",
"rag.userQuery.actions.regenerate": "쿼리 재생성",
"regenerate": "재생성",
+ "resources.knowledgePicker.publicAgentHint": "공개 에이전트는 작업 공간 리소스만 참조할 수 있습니다. 비공개 리소스를 먼저 작업 공간에 게시한 후 첨부하세요.",
+ "resources.mode.privateHint": "개인 서랍 — 오직 당신만 이 파일들을 볼 수 있습니다",
+ "resources.mode.workspaceHint": "이 작업 공간의 모든 사람과 공유됨",
+ "resources.publishToWorkspace.confirm": "다른 작업 공간 멤버들이 이 파일을 볼 수 있습니다. 다시 비공개로 설정할 수 없습니다.",
+ "resources.publishToWorkspace.error": "파일을 작업 공간에 게시하지 못했습니다",
+ "resources.publishToWorkspace.menu": "작업 공간에 게시",
+ "resources.publishToWorkspace.success": "작업 공간에 게시됨",
+ "resources.visibility.label": "가시성",
+ "resources.visibility.private": "비공개",
+ "resources.visibility.privateTooltip": "오직 당신만 이 파일을 볼 수 있습니다",
+ "resources.visibility.workspace": "작업 공간",
"roleAndArchive": "도우미 프로필 및 기록",
"runtimeEnv.mode.cloud": "클라우드 샌드박스",
"runtimeEnv.mode.cloudDesc": "안전한 클라우드 샌드박스에서 실행",
@@ -584,6 +614,9 @@
"sessionGroup.noAvailableAgents": "사용 가능한 도우미가 없습니다",
"sessionGroup.noMatchingAgents": "일치하는 도우미를 찾을 수 없습니다",
"sessionGroup.noSelectedAgents": "도우미를 선택하세요",
+ "sessionGroup.publishToWorkspace": "작업 공간에 게시",
+ "sessionGroup.publishToWorkspaceConfirm": "다른 작업 공간 멤버들이 이 폴더를 사용할 수 있습니다. 다시 비공개로 설정할 수 없습니다.",
+ "sessionGroup.publishToWorkspaceSuccess": "작업 공간에 게시됨",
"sessionGroup.rename": "그룹 이름 변경",
"sessionGroup.renameSuccess": "이름 변경 성공",
"sessionGroup.searchAgents": "도우미 검색",
@@ -755,6 +788,12 @@
"taskDetail.priority.normal": "보통",
"taskDetail.priority.urgent": "긴급",
"taskDetail.properties": "속성",
+ "taskDetail.publishToWorkspace.confirmContent": "게시 후 이 작업은 모든 작업 공간 멤버들에게 보이게 되며 비공개로 되돌릴 수 없습니다.",
+ "taskDetail.publishToWorkspace.confirmHint": "이전 실행은 비공개로 유지됩니다. 게시 후 생성된 실행만 작업 공간 멤버들에게 보이게 됩니다.",
+ "taskDetail.publishToWorkspace.confirmOk": "게시",
+ "taskDetail.publishToWorkspace.confirmTitle": "작업을 작업 공간에 게시하시겠습니까?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "이 작업은 비공개 에이전트에 할당되어 있습니다. 작업 공간 에이전트로 재할당하거나 에이전트를 먼저 게시하세요.",
+ "taskDetail.publishToWorkspace.menuLabel": "작업 공간에 게시",
"taskDetail.reassignDisabled": "작업이 실행 중일 때는 에이전트를 재할당할 수 없습니다",
"taskDetail.replyInThread": "이 스레드에서 답장하기",
"taskDetail.replyPlaceholder": "이 스레드에서 답장하기...",
@@ -865,6 +904,8 @@
"taskList.view.board": "보드",
"taskList.view.list": "목록",
"taskList.viewAll": "전체 보기",
+ "taskList.visibility.all": "모두",
+ "taskList.visibility.label": "가시성",
"taskSchedule.advancedSettings": "고급 설정",
"taskSchedule.clear": "지우기",
"taskSchedule.continuous": "연속 실행",
@@ -1158,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "경로 복사",
"workingPanel.files.copyRelativePath": "상대 경로 복사",
- "workingPanel.files.count_one": "{{count}}개 파일",
- "workingPanel.files.count_other": "{{count}}개 파일",
"workingPanel.files.empty": "이 작업 공간에 파일이 없습니다",
+ "workingPanel.files.noSearchResults": "일치하는 파일이 없습니다",
"workingPanel.files.open": "파일 열기",
- "workingPanel.files.refresh": "새로 고침",
+ "workingPanel.files.searchPlaceholder": "파일 필터링...",
"workingPanel.files.showInReview": "검토에서 보기",
"workingPanel.files.showInSystem": "폴더에서 보기",
"workingPanel.files.title": "파일",
diff --git a/locales/ko-KR/common.json b/locales/ko-KR/common.json
index 82fed2180e5..c3b6db51d47 100644
--- a/locales/ko-KR/common.json
+++ b/locales/ko-KR/common.json
@@ -1,5 +1,6 @@
{
"about": "정보",
+ "addNew": "새로 추가",
"advanceSettings": "고급 설정",
"agentOnboardingPromo.actionLabel": "지금 사용해 보기",
"agentOnboardingPromo.description": "Lobe AI와 짧게 대화하며 에이전트 팀을 설정하세요. 기존 에이전트는 그대로 유지됩니다.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "콘텐츠 정책 확인에 실패했습니다. 프롬프트를 수정해주세요.",
"getDesktopApp": "데스크톱 앱 받기",
"goToTarget": "대상으로 이동",
+ "gotIt": "알겠습니다",
"historyRange": "기록 범위",
"home.suggestQuestions": "이런 예시를 시도해 보세요",
"import": "가져오기",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "아래로 이동",
"navPanel.moveUp": "위로 이동",
"navPanel.pinned": "고정됨",
+ "navPanel.privateAgents": "개인",
+ "navPanel.publicAgents": "작업 공간",
"navPanel.resetDefault": "기본값으로 재설정",
"navPanel.searchAgent": "도우미 검색…",
"navPanel.searchRecent": "최근 검색...",
diff --git a/locales/ko-KR/discover.json b/locales/ko-KR/discover.json
index d9fbc9a757c..943b3608d6d 100644
--- a/locales/ko-KR/discover.json
+++ b/locales/ko-KR/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "포크",
"fork.forksCount": "{{count}}개 포크",
"fork.forksCount_other": "{{count}}개 포크",
+ "fork.orgSetupRequired.memberContent": "이 워크스페이스는 아직 커뮤니티 프로필을 설정하지 않았으므로 마켓플레이스에서 포크를 저장할 수 없습니다. 워크스페이스 소유자에게 커뮤니티 → 워크스페이스에서 설정하도록 요청하세요.",
+ "fork.orgSetupRequired.ownerContent": "이 워크스페이스는 아직 커뮤니티 프로필을 설정하지 않았습니다. 마켓플레이스에서 에이전트를 포크하여 워크스페이스에 추가하려면 프로필을 설정하세요.",
+ "fork.orgSetupRequired.ownerOk": "설정으로 이동",
+ "fork.orgSetupRequired.title": "커뮤니티 프로필 설정 필요",
"fork.success": "성공적으로 포크되었습니다!",
"fork.viewAllForks": "모든 포크 보기",
+ "fork.visibilityPrivate": "비공개",
+ "fork.visibilityPublic": "워크스페이스",
"groupAgents.tag": "그룹",
"groupAgents.underReview": "검토 중",
"home.communityAgents": "커뮤니티 도우미",
diff --git a/locales/ko-KR/editor.json b/locales/ko-KR/editor.json
index e42cb530b1b..386c775d789 100644
--- a/locales/ko-KR/editor.json
+++ b/locales/ko-KR/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "스킬",
"actionTag.category.tool": "도구",
"actionTag.tooltip.agentSkill": "요청을 위해 이 에이전트의 문서에서 기술 번들을 로드합니다.",
+ "actionTag.tooltip.clickToView": "자세히 보려면 클릭하세요",
"actionTag.tooltip.command": "전송 전에 클라이언트 측 슬래시 명령을 실행합니다.",
"actionTag.tooltip.projectSkill": "슬래시 호출로 전송되어 에이전트의 CLI가 일치하는 프로젝트 스킬을 실행합니다.",
"actionTag.tooltip.skill": "이번 요청에 사용할 재사용 가능한 스킬 패키지를 불러옵니다.",
diff --git a/locales/ko-KR/electron.json b/locales/ko-KR/electron.json
index 46f78283050..2d4fe7b1f61 100644
--- a/locales/ko-KR/electron.json
+++ b/locales/ko-KR/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "설정",
"navigation.task": "작업",
"navigation.tasks": "작업",
+ "navigation.topics": "주제",
"navigation.unpin": "고정 해제",
"notification.finishChatGeneration": "AI 메시지 생성이 완료되었습니다",
"proxy.auth": "인증 필요",
diff --git a/locales/ko-KR/eval.json b/locales/ko-KR/eval.json
index 2501c151f8d..484e6eabe60 100644
--- a/locales/ko-KR/eval.json
+++ b/locales/ko-KR/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "이 벤치마크를 삭제하시겠습니까? 관련된 데이터셋과 평가 기록도 삭제됩니다.",
"benchmark.actions.edit": "벤치마크 편집",
"benchmark.actions.export": "내보내기",
+ "benchmark.card.bestPassRate": "최고 통과율",
"benchmark.card.bestScore": "최고 점수",
"benchmark.card.caseCount": "{{count}} 사례",
+ "benchmark.card.casesLabel": "케이스",
"benchmark.card.datasetCount": "{{count}} 데이터셋",
"benchmark.card.empty": "아직 평가가 없습니다",
"benchmark.card.emptyHint": "벤치마크 세부 페이지에서 새 평가를 생성하세요",
+ "benchmark.card.evalsLabel": "평가",
"benchmark.card.importDataset": "데이터셋 가져오기",
"benchmark.card.noDataset": "아직 데이터셋이 없습니다",
"benchmark.card.noDatasetHint": "평가를 시작하려면 데이터셋을 가져오세요",
"benchmark.card.noRecentRuns": "표시할 최근 평가가 없습니다",
"benchmark.card.recentRuns": "최근 평가",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} 실패 전",
+ "benchmark.card.run.queued": "대기 중",
"benchmark.card.runCount": "{{count}} 평가",
"benchmark.card.startFirst": "첫 평가 시작",
"benchmark.card.viewAll": "모두 보기 {{count}}",
diff --git a/locales/ko-KR/file.json b/locales/ko-KR/file.json
index 8149e2528fd..adda6964221 100644
--- a/locales/ko-KR/file.json
+++ b/locales/ko-KR/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "라이브러리 이동",
"library.list.transferTo": "이동 대상…",
"library.new": "새 리소스 라이브러리 만들기",
+ "library.privateEmpty": "개인 라이브러리 생성",
+ "library.publish": "워크스페이스에 게시",
+ "library.publishConfirm.content": "모든 워크스페이스 멤버가 이 지식 베이스를 볼 수 있습니다. 이 작업은 되돌릴 수 없습니다.",
+ "library.publishConfirm.title": "지식 베이스를 워크스페이스에 게시하시겠습니까?",
"library.title": "라이브러리",
+ "library.workspaceEmpty": "워크스페이스 라이브러리 생성",
"loadMore": "더 보기",
"menu.allFiles": "모든 파일",
"menu.allPages": "모든 문서",
@@ -170,6 +175,13 @@
"pageList.noResults": "일치하는 문서를 찾을 수 없습니다",
"pageList.pageCount": "총 {{count}}개의 문서",
"pageList.pageSizeItem": "{{count}}개 항목",
+ "pageList.privateTitle": "개인",
+ "pageList.publishConfirm.content": "게시 후에는 워크스페이스의 모든 사람이 이 페이지를 볼 수 있습니다. 이후에는 다시 개인으로 변경할 수 없습니다.",
+ "pageList.publishConfirm.ok": "게시",
+ "pageList.publishConfirm.title": "워크스페이스에 게시",
+ "pageList.publishError": "페이지 게시 실패",
+ "pageList.publishSuccess": "페이지가 워크스페이스에 게시되었습니다",
+ "pageList.publishToWorkspace": "워크스페이스에 게시",
"pageList.title": "문서",
"pageList.transferConfirm": "이동",
"pageList.transferDescription": "이 페이지(및 포함된 폴더)를 다른 작업 공간으로 이동합니다.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "이동 대상…",
"pageList.transferWarning": "이 작업은 단방향 이동입니다. 되돌리려면 다시 이동해야 합니다.",
"pageList.untitled": "제목 없음",
+ "pageList.workspaceTitle": "워크스페이스",
"portal.openInPageEditor": "문서에서 편집",
"preview.downloadFile": "파일 다운로드",
"preview.unsupportedFileAndContact": "이 파일 형식은 온라인 미리보기를 지원하지 않습니다. 미리보기 기능이 필요하시면 <1>의견을 보내주세요</1>",
diff --git a/locales/ko-KR/image.json b/locales/ko-KR/image.json
index bfebe164ad2..710b0158ff6 100644
--- a/locales/ko-KR/image.json
+++ b/locales/ko-KR/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "생성된 주제 삭제",
"topic.deleteConfirmDesc": "이 생성 주제를 삭제하려고 합니다. 삭제 후 복구할 수 없으니 신중히 진행하세요.",
"topic.empty": "생성된 주제가 없습니다",
+ "topic.privateTitle": "비공개",
"topic.title": "그림 주제",
- "topic.untitled": "기본 주제"
+ "topic.untitled": "기본 주제",
+ "topic.visibility.existingLocked": "현재 주제의 가시성이 고정되어 있습니다. 다른 공간을 선택하려면 새 주제를 생성하세요.",
+ "topic.workspaceTitle": "워크스페이스"
}
diff --git a/locales/ko-KR/models.json b/locales/ko-KR/models.json
index 877b92d8eb6..5d01bda6e00 100644
--- a/locales/ko-KR/models.json
+++ b/locales/ko-KR/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turbo는 에이전트 시나리오에 깊이 최적화된 기반 모델입니다. 훈련 단계에서 에이전트 작업의 핵심 요구 사항을 특별히 최적화하여 도구 호출, 명령 준수, 장기 실행과 같은 주요 기능을 강화합니다. 고성능 에이전트 어시스턴트를 구축하는 데 이상적입니다.",
"glm-5.1.description": "GLM-5.1은 Zhipu의 최신 플래그십 모델로, 전반적인 성능과 코딩 역량에서 Claude Opus 4.6과 동급 수준을 자랑합니다. 장기적인 작업 수행에 탁월하며, 단일 작업에서 최대 8시간 동안 자율적으로 계획, 실행 및 반복을 수행할 수 있어 자율 에이전트와 장기 작업 코딩 에이전트를 위한 이상적인 기반을 제공합니다.",
"glm-5.2.description": "GLM 시리즈는 Zhipu AI에서 개발한 하이브리드 추론 모델로, 사고 및 비사고 모드를 지원하며 에이전트 작업에 최적화되었습니다. GLM-5.2는 장기 과제 시대를 위한 Zhipu의 대표 모델로, 1M 토큰 컨텍스트를 지원하며 장기 계획, 복잡한 코딩, 에이전트 실행에 최적화되어 있습니다.",
+ "glm-5.2.description": "GLM 시리즈는 Zhipu AI에서 에이전트를 위해 개발한 하이브리드 추론 모델로, 사고 모드와 비사고 모드를 지원합니다. GLM-5.2는 장기 과제 시대를 위한 Zhipu의 대표 모델로, 100만 토큰 컨텍스트를 지원하며 장기 계획, 복잡한 코딩, 에이전트 실행에 최적화되어 있습니다.",
"glm-5.description": "GLM-5는 Zhipu의 차세대 플래그십 기반 모델로, Agentic Engineering을 위해 특별히 설계되었습니다. 이 모델은 복잡한 시스템 엔지니어링과 장기적인 에이전트 작업에서 신뢰할 수 있는 생산성을 제공합니다. 코딩 및 에이전트 기능에서 GLM-5는 오픈 소스 모델 중 최첨단 성능을 달성합니다. 실제 프로그래밍 시나리오에서 사용자 경험은 Claude Opus 4.5에 근접하며, 복잡한 시스템 엔지니어링과 장기적인 에이전트 작업에서 뛰어난 성능을 발휘하여 범용 에이전트 어시스턴트를 위한 이상적인 기반 모델로 자리 잡습니다.",
"glm-5v-turbo.description": "GLM-5V-Turbo는 Zhipu의 멀티모달 코딩 기반 모델로, 시각적 프로그래밍 작업을 위해 최적화되었습니다. 이 모델은 이미지, 비디오, 텍스트 및 파일을 네이티브로 처리하며, 장기 계획, 복잡한 코딩 및 멀티모달 워크플로에서 에이전트 실행을 최적화합니다.",
"glm-image.description": "GLM-Image는 Zhipu의 새로운 플래그십 이미지 생성 모델입니다. 이 모델은 국내 생산된 칩에서 엔드 투 엔드로 학습되었으며, 자회귀 모델링과 확산 디코더를 결합한 독창적인 하이브리드 아키텍처를 채택했습니다. 이 설계는 강력한 글로벌 지시 이해와 세밀한 로컬 디테일 렌더링을 가능하게 하여, 포스터, 프레젠테이션, 교육 다이어그램과 같은 지식 밀도가 높은 콘텐츠 생성에서 오랜 과제를 극복합니다. 이는 Nano Banana Pro로 대표되는 새로운 세대의 '인지 생성' 기술 패러다임을 향한 중요한 탐구를 나타냅니다.",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6은 Moonshot AI에서 출시한 대규모 언어 모델로, 뛰어난 코딩 및 도구 호출 기능을 제공합니다. 서비스 배포는 중국 본토에서만 지원됩니다.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed는 Kimi K2.7 Code의 고속 모델입니다. Kimi K2.7 Code와 동일한 모델이지만 출력 속도가 약 180 Tokens/s이며, 짧은 컨텍스트 시나리오에서는 260 Tokens/s에 도달하여 더욱 극한의 프로그래밍 경험을 제공합니다.",
"kimi-k2.7-code.description": "Kimi K2.7 Code는 Moonshot AI의 코딩 중심 에이전트 모델로, Kimi K2.6을 기반으로 실질적인 장기 코딩 작업에서 상당한 개선을 이루었으며 사고 토큰 사용량을 약 30% 줄였습니다.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code는 Moonshot AI의 코딩 중심 에이전트 모델로, Kimi K2.6을 기반으로 실세계 장기 코딩 작업에서 상당한 개선을 이루었으며 사고 토큰 사용량을 약 30% 줄였습니다.",
"kling/kling-v3-image-generation.description": "최대 10개의 참조 이미지를 지원하여 주제, 요소, 색조를 고정하여 일관된 스타일을 보장합니다. 스타일 전환, 초상화/캐릭터 참조, 다중 이미지 융합, 국소적 인페인팅을 결합하여 유연한 제어를 제공합니다. 사실적인 초상화 세부 사항을 제공하며, 전체적으로 섬세하고 풍부한 계층적 시각적 효과를 제공하며 영화적 색상과 분위기를 특징으로 합니다.",
"kling/kling-v3-omni-image-generation.description": "새로운 시리즈 이미지 생성 및 직접 2K/4K 출력으로 영화적 스토리텔링 비주얼을 잠금 해제합니다. 프롬프트의 시청각 요소를 깊이 분석하여 창의적 지침을 정확히 실행합니다. 유연한 다중 참조 입력과 포괄적인 품질 업그레이드를 지원하며, 스토리보드, 내러티브 컨셉 아트, 장면 디자인에 이상적입니다.",
"kling/kling-v3-omni-video-generation.description": "새로운 '올인원 참조' 기능은 3~8초 비디오 또는 여러 이미지를 사용하여 캐릭터 요소를 고정합니다. 원본 오디오 및 입 움직임을 일치시켜 진정한 캐릭터 표현을 제공합니다. 비디오 일관성과 동적 표현을 향상시킵니다. 시청각 동기화 및 지능형 스토리보드를 지원합니다.",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "Kimi 비전 모델(moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview 포함)은 텍스트, 색상, 객체 형태 등 이미지 내용을 이해할 수 있습니다.",
"moonshot-v1-8k.description": "Moonshot V1 8K는 짧은 텍스트 생성을 위해 최적화된 모델로, 8,192 토큰을 처리하며 짧은 대화, 메모, 빠른 콘텐츠 생성에 적합합니다.",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code는 Moonshot AI에서 개발한 코드 작업을 위한 에이전트 모델입니다. Kimi K2.6을 기반으로 실질적인 장기 코딩 작업에서 상당한 개선을 이루었으며 복잡한 소프트웨어 엔지니어링 워크플로우에서 엔드 투 엔드 작업 완료 능력을 향상시키고 사고 토큰 사용량을 Kimi K2.6 대비 약 30% 줄였습니다.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code는 Moonshot AI에서 코드 작업을 위해 설계된 에이전트 모델입니다. Kimi K2.6을 기반으로 구축되었으며, 실세계 장기 코딩 작업에서 중요한 개선을 보여주며 복잡한 소프트웨어 엔지니어링 워크플로우에서의 엔드 투 엔드 작업 완료 능력을 향상시키고 Kimi K2.6에 비해 사고 토큰 사용량을 약 30% 줄였습니다.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711은 Kimi 시리즈의 Instruct 변형으로, 고품질 코드 작성과 도구 사용에 적합합니다.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905는 컨텍스트 확장과 추론 성능 향상을 위한 업데이트로, 코딩 최적화가 포함되어 있습니다.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo는 Kimi K2 Thinking의 고속 버전으로, 지연 시간을 크게 줄이면서도 깊은 추론 능력을 유지합니다.",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air는 Mixture-of-Experts 아키텍처를 사용하는 에이전트 애플리케이션용 기본 모델입니다. 도구 사용, 웹 브라우징, 소프트웨어 엔지니어링, 프론트엔드 코딩에 최적화되어 있으며, Claude Code 및 Roo Code와 같은 코드 에이전트와 통합됩니다. 복잡한 추론과 일상적인 시나리오 모두를 처리할 수 있는 하이브리드 추론을 사용합니다.",
"zai-org/GLM-4.5V.description": "GLM-4.5V는 GLM-4.5-Air 기반의 최신 VLM으로, 106B 총 파라미터(12B 활성)를 갖춘 MoE 아키텍처를 사용하여 낮은 비용으로 강력한 성능을 제공합니다. GLM-4.1V-Thinking 경로를 따르며, 3D-RoPE를 추가하여 3D 공간 추론을 향상시켰습니다. 사전학습, SFT, RL을 통해 최적화되었으며, 이미지, 비디오, 장문 문서를 처리할 수 있습니다. 41개 공개 멀티모달 벤치마크에서 오픈 모델 중 최고 순위를 기록했습니다. Thinking 모드 전환 기능을 통해 속도와 깊이를 조절할 수 있습니다.",
"zai-org/GLM-5.2.description": "GLM-5.2는 Z.ai의 최신 대표 모델로, 장기 과제 시나리오를 위해 설계되었습니다. GLM-5.1 대비 장기 과제 수행 능력이 크게 향상되었으며, 안정적인 1M 토큰 컨텍스트 창을 지원하고 강력한 프로그래밍 기능을 갖추고 있으며 성능과 지연 시간 간의 유연한 균형을 위해 다양한 사고 노력 수준을 지원합니다.",
+ "zai-org/GLM-5.2.description": "GLM-5.2는 장기 과제 시나리오를 위해 설계된 Z.ai의 최신 대표 모델로, GLM-5.1에 비해 장기 과제 처리 능력이 크게 향상되었습니다. 이 753B MoE 모델은 안정적인 100만 토큰 컨텍스트 윈도우를 지원하며, 더 강력한 프로그래밍 기능을 제공하고 성능과 지연 시간 간의 유연한 균형을 위해 다양한 사고 노력 수준을 지원합니다.",
"zai/glm-4.5-air.description": "GLM-4.5 및 GLM-4.5-Air는 에이전트 애플리케이션을 위한 최신 대표 모델로, 모두 MoE를 사용합니다. GLM-4.5는 총 355B 파라미터(32B 활성), GLM-4.5-Air는 더 슬림한 106B 총 파라미터(12B 활성)를 갖추고 있습니다.",
"zai/glm-4.5.description": "GLM-4.5 시리즈는 에이전트를 위해 설계되었습니다. 대표 모델인 GLM-4.5는 355B 총 파라미터(32B 활성)를 갖추고 있으며, 추론, 코딩, 에이전트 기능을 결합한 하이브리드 추론 시스템으로 이중 작동 모드를 제공합니다.",
"zai/glm-4.5v.description": "GLM-4.5V는 GLM-4.5-Air를 기반으로 하며, 검증된 GLM-4.1V-Thinking 기술을 계승하고, 106B 파라미터의 강력한 MoE 아키텍처로 확장되었습니다.",
diff --git a/locales/ko-KR/plugin.json b/locales/ko-KR/plugin.json
index 61823d190a0..9a6d7839878 100644
--- a/locales/ko-KR/plugin.json
+++ b/locales/ko-KR/plugin.json
@@ -32,6 +32,7 @@
"builtins.github.render.error": "오류",
"builtins.github.render.rawResult": "원시 결과",
"builtins.github.render.updatedAt": "{{time}}에 업데이트됨",
+ "builtins.linear.render.empty": "{{collection}}을(를) 찾을 수 없습니다",
"builtins.linear.render.updatedAt": "{{time}}에 업데이트됨",
"builtins.lobe-activator.apiName.activateTools": "도구 활성화",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}}개를 찾을 수 없음",
diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.json
index e02997b7027..17494a4389a 100644
--- a/locales/ko-KR/setting.json
+++ b/locales/ko-KR/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "표준",
"settingChatAppearance.fontSize.title": "글꼴 크기",
"settingChatAppearance.highlighterTheme.title": "코드 하이라이트 테마",
+ "settingChatAppearance.linkIcon.desc": "필요하지 않다면 이 기능을 끄세요.",
+ "settingChatAppearance.linkIcon.previewMessage": "<site></site> 및 <repo></repo>를 확인하여 자세한 내용을 알아보세요.",
+ "settingChatAppearance.linkIcon.title": "메시지 링크에 아이콘 표시",
"settingChatAppearance.mermaidTheme.title": "인어 테마",
"settingChatAppearance.title": "채팅 외관",
"settingChatAppearance.transitionMode.desc": "채팅 메시지가 표시되는 방식을 선택하세요",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "기본 워크스페이스 · 월별 공유 풀 · 유료 좌석 없음",
"workspace.billingPage.billing.basic.title": "기본 워크스페이스",
"workspace.billingPage.billing.basic.upgradeCta": "Pro로 업그레이드",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "비례 조정",
"workspace.billingPage.billing.billingPeriodModal.body": "워크스페이스의 청구 주기가 {{current}}에서 {{target}}로 변경됩니다.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "취소",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "청구 주기 변경",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "현재 기간의 사용하지 않은 시간에 대한 비례 크레딧",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "가격 미리보기를 로드할 수 없습니다. 다시 시도하세요.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "다시 시도",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "변경 사항은 현재 기간이 종료된 후 적용됩니다.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "변경 사항은 현재 기간이 {{date}}에 종료된 후 적용됩니다.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "워크스페이스 좌석",
"workspace.billingPage.billing.billingPeriodModal.title": "청구 주기를 변경하시겠습니까?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "년",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} 좌석 · {{credits}} 크레딧 / 월",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} 좌석 · {{credits}} 크레딧 / 월",
"workspace.billingPage.billing.breakdown.extraSeats": "추가 좌석",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "{{date}}에 {{seats}} 좌석으로 {{interval}} {{plan}}으로 전환됩니다. 계정 잔액을 충분히 유지하세요.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "구독 플랜을 업데이트하기 전에 예약된 변경을 취소하세요.",
"workspace.billingPage.billing.pending.keepPlanCta": "{{plan}} 유지",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "{{plan}} {{interval}} 유지",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "이 워크스페이스는 현재 {{currentSeats}}개의 좌석을 가지고 있으며, {{date}}에 {{seats}}개의 좌석으로 변경됩니다.",
"workspace.billingPage.billing.pending.seatsDesc": "{{date}}에 {{seats}}개의 좌석으로 변경됩니다. 계정 잔액을 충분히 유지하세요.",
"workspace.billingPage.billing.pending.seatsTitle": "좌석 변경 예약됨",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "좌석 구매",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "{{plan}} {{interval}} 플랜에 추가 좌석을 구매하세요.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "추가 좌석을 구매하시겠습니까?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "계산 중…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "취소",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "결제를 완료하기 위해 체크아웃으로 리디렉션됩니다.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "업그레이드",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "청구 보기",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "워크스페이스 좌석 업데이트가 저장되었습니다.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "완료",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "이 업데이트를 완료할 수 없습니다. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "다시 시도",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "업데이트 실패",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "멤버 초대",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "비례 배분된 좌석 요금이 현재 결제 수단으로 청구되었습니다.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} 청구됨 · 청구 금액",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "결제 결과",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "결제가 청구되지 않았습니다. 변경 사항은 다음 청구 주기에 예정되어 있습니다.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "{{plan}} · {{interval}}로 업그레이드되었습니다.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "플랜이 업그레이드되었습니다",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}}개의 총 좌석이 이제 사용 가능하며, {{purchasedSeats}}개의 선결제 추가 좌석이 포함됩니다.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "좌석 구매 결과",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}}개의 총 좌석이 다음 청구 주기에 적용되며, {{purchasedSeats}}개의 선결제 추가 좌석이 포함됩니다.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "적게 보기",
"workspace.billingPage.usage.model.unknown": "알 수 없는 모델",
"workspace.billingPage.usage.ops": "작업",
+ "workspace.billingPage.usage.privateAgents": "개인 에이전트",
+ "workspace.billingPage.usage.privateAgentsTooltip": "이 멤버가 소유한 개인 에이전트 수입니다. 소유자는 회계 목적으로 수를 볼 수 있지만 에이전트 콘텐츠는 볼 수 없습니다.",
"workspace.billingPage.usage.range.30d": "지난 30일",
"workspace.billingPage.usage.range.all": "전체 시간",
"workspace.billingPage.usage.range.cycle": "이번 주기",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "계정 생성 및 가입",
"workspace.invitePage.switchAccountToAccept": "{{email}}로 로그인하여 수락하세요",
"workspace.invitePage.title": "워크스페이스 초대",
+ "workspace.invitePage.viewerLimitSubtitle": "이 워크스페이스는 뷰어 제한에 도달했습니다. 소유자에게 요청하여 뷰어 좌석을 비우거나 플랜을 업그레이드한 후 참여하세요.",
+ "workspace.invitePage.viewerLimitTitle": "뷰어 제한 도달",
"workspace.invitePage.workspaceLimitSubtitle": "최대 {{limit}}개의 워크스페이스에 도달했습니다. 다른 워크스페이스를 떠난 후 새로 가입하세요.",
"workspace.invitePage.workspaceLimitTitle": "워크스페이스 한도 도달",
"workspace.member.demote": "멤버로 강등",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "주 소유권 이전",
"workspace.members.empty": "아직 멤버 없음",
"workspace.members.invite.addAnother": "다른 멤버 추가",
+ "workspace.members.invite.askOwnerToBuySeats": "새 멤버를 초대하기 전에 워크스페이스 소유자에게 더 많은 좌석을 구매하도록 요청하세요.",
"workspace.members.invite.button": "초대",
+ "workspace.members.invite.buySeatsCta": "좌석 구매",
"workspace.members.invite.emailLabel": "이메일 주소",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}}은 이미 대기 중인 초대가 있습니다. 아래 목록에서 다시 보내거나 취소하세요.",
"workspace.members.invite.errors.alreadyMember": "{{email}}은 이미 이 워크스페이스의 멤버입니다.",
"workspace.members.invite.failed": "초대 이메일 전송에 실패했습니다",
+ "workspace.members.invite.invitationLimitReached": "이 워크스페이스는 {{limit}}개의 대기 중인 초대 제한에 도달했습니다. 새 초대를 보내기 전에 초대를 취소하거나 사용되지 않은 초대가 만료되기를 기다리세요.",
"workspace.members.invite.limitReached": "이 워크스페이스는 최대 {{limit}}명의 멤버를 가질 수 있습니다. 더 많은 멤버를 초대하기 전에 멤버를 제거하세요.",
"workspace.members.invite.modal.cancel": "취소",
"workspace.members.invite.modal.confirm": "확인",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "팀 멤버를 관리하려면 추가 권한이 필요합니다",
"workspace.members.invite.partialSuccess": "{{success}}명이 초대되었고, {{failed}}명이 실패했습니다. 주소를 확인하고 다시 시도하세요.",
"workspace.members.invite.roleLabel": "역할",
+ "workspace.members.invite.seatInsufficient": "남은 좌석이 {{remaining}}개뿐입니다. {{required}}명의 새 멤버를 초대하려면 더 많은 좌석을 구매하세요.",
+ "workspace.members.invite.seatInsufficientNoBuy": "남은 좌석이 {{remaining}}개뿐입니다. 워크스페이스 소유자에게 더 많은 좌석을 구매하도록 요청하세요.",
"workspace.members.invite.submit": "초대",
"workspace.members.invite.subtitle": "이메일 주소를 입력하고 역할을 할당하여 새 멤버를 추가하세요",
"workspace.members.invite.success": "팀 멤버가 성공적으로 초대되었습니다.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "몇 가지를 선택하여 시작하세요 — 언제든지 더 발견할 수 있습니다.",
"workspace.onboarding.step4.cta": "워크스페이스로 이동",
"workspace.onboarding.step4.heading": "{{name}} 준비 완료!",
+ "workspace.onboarding.step4.marketProfileNudge": "워크스페이스 에이전트를 설치할 수 있도록 <strong>{{name}}</strong>의 커뮤니티 프로필을 설정했습니다. <cta>커뮤니티에서 사용자 정의하세요</cta>.",
"workspace.onboarding.step4.subtitle": "워크스페이스가 설정되었습니다. 팀과 함께 협업을 시작하세요.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}}명의 에이전트가 준비되었습니다. 팀과 함께 협업을 시작하세요.",
"workspace.onboarding.step4Invite.addMore": "이메일 추가",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "완료",
"workspace.onboarding.step4Invite.heading": "팀 초대",
"workspace.onboarding.step4Invite.invitedCount": "{{count}}명의 멤버를 초대했습니다",
+ "workspace.onboarding.step4Invite.seatLimitReached": "현재 좌석으로 최대 {{max}}명의 팀원을 초대할 수 있습니다.",
"workspace.onboarding.step4Invite.subtitle": "지금 이 워크스페이스에 팀원을 초대하거나, 나중에 멤버 설정에서 초대하세요.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "플랜에는 {{includedSeats}}개의 무료 좌석이 포함되어 있으며, 추가 구매한 좌석으로 최대 {{maxSeats}}석을 지원합니다. 지금 팀원을 초대하거나, 나중에 멤버 설정에서 추가하세요.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby 플랜은 최대 {{maxSeats}}석을 포함하며, 본인을 포함합니다. 지금 팀원을 초대하거나, 나중에 멤버 설정에서 추가하세요.",
"workspace.onboarding.stepLabel": "단계 {{current}} / {{total}}",
"workspace.onboarding.title": "워크스페이스 설정",
"workspace.onboarding.toast.failed": "저장할 수 없습니다. 다시 시도하세요.",
+ "workspace.onboarding.toast.installAgentsFailed": "선택한 에이전트를 추가할 수 없습니다. 나중에 마켓플레이스에서 설치할 수 있습니다.",
"workspace.onboarding.toast.saved": "저장됨",
"workspace.permission.requiresMember": "이 작업을 수행할 권한이 없습니다. 워크스페이스 소유자에게 멤버 이상의 권한을 요청하세요.",
"workspace.permission.requiresOwner": "워크스페이스 소유자만 이 작업을 수행할 수 있습니다. 변경이 필요하면 소유자에게 요청하세요.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "협업, 더 많은 크레딧, 높은 속도 제한을 잠금 해제하세요.",
"workspace.upgradeModal.successPage.activating": "구독을 활성화하는 중입니다 — 몇 초 정도 소요됩니다…",
"workspace.upgradeModal.successPage.amountLabel": "총 결제 금액",
- "workspace.upgradeModal.successPage.continueCta": "초대 및 계속",
"workspace.upgradeModal.successPage.desc": "{{name}}이(가) 이제 프로 플랜에 있습니다. 팀원을 초대하여 협업을 시작하세요.",
- "workspace.upgradeModal.successPage.inviteDesc": "이메일로 초대를 보내세요. 초대받은 사람은 워크스페이스에 가입할 수 있는 링크를 받게 됩니다.",
- "workspace.upgradeModal.successPage.inviteTitle": "{{name}}에 팀원을 초대하세요",
"workspace.upgradeModal.successPage.paidAtLabel": "결제 시점",
"workspace.upgradeModal.successPage.planTag": "워크스페이스 프로",
"workspace.upgradeModal.successPage.processingDesc": "잠시만 기다려 주세요 — Stripe와 결제를 확인 중입니다. 몇 초 정도 소요됩니다.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "청구 주기",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} 포함 좌석",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} 포함 좌석",
- "workspace.upgradeModal.successPage.skipCta": "지금은 건너뛰기",
"workspace.upgradeModal.successPage.title": "업그레이드 완료",
"workspace.upgradeModal.successToast": "업그레이드 완료 — 플랜을 새로고침하는 중…",
"workspace.upgradeModal.title": "프로 플랜으로 업그레이드",
diff --git a/locales/ko-KR/spend.json b/locales/ko-KR/spend.json
index a105e769b5f..2b224870b46 100644
--- a/locales/ko-KR/spend.json
+++ b/locales/ko-KR/spend.json
@@ -40,5 +40,28 @@
"table.more": "자세히 보기",
"table.title": "컴퓨팅 크레딧 사용 내역",
"table.totalToken.input": "입력",
- "table.totalToken.output": "출력"
+ "table.totalToken.output": "출력",
+ "usageStats.breakdown.cost": "비용",
+ "usageStats.breakdown.model": "모델",
+ "usageStats.breakdown.requests": "요청",
+ "usageStats.breakdown.title": "모델별 사용량",
+ "usageStats.breakdown.totalTokens": "토큰",
+ "usageStats.byDay": "일별",
+ "usageStats.byWeek": "주별",
+ "usageStats.cards.cacheDesc": "적중률 {{rate}}% · 읽기 {{read}}",
+ "usageStats.cards.cacheSavings": "캐시 절약",
+ "usageStats.cards.cost": "비용",
+ "usageStats.cards.token": "토큰",
+ "usageStats.cards.tokenDesc": "입력 {{input}} · 출력 {{output}}",
+ "usageStats.chart.cacheWrite": "캐시 쓰기",
+ "usageStats.chart.input": "입력",
+ "usageStats.chart.output": "출력",
+ "usageStats.chart.spend": "비용",
+ "usageStats.chart.title": "이 에이전트가 소비한 시간",
+ "usageStats.chart.tokens": "토큰",
+ "usageStats.dimension": "차원",
+ "usageStats.entry": "사용량 및 비용",
+ "usageStats.range": "시간 범위",
+ "usageStats.rangeSuffix": "최근 {{count}}일",
+ "usageStats.title": "사용량 및 비용"
}
diff --git a/locales/ko-KR/topic.json b/locales/ko-KR/topic.json
index 4b92708263a..9ce88745678 100644
--- a/locales/ko-KR/topic.json
+++ b/locales/ko-KR/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "모든 그룹 확장",
"sidebar.title": "주제",
"taskManager.agent": "작업 에이전트",
+ "taskManager.agentSelector.privateGroup": "개인",
+ "taskManager.agentSelector.workspaceGroup": "작업 공간",
"taskManager.welcome": "작업에 대해 물어보세요",
"temp": "임시",
"title": "주제"
diff --git a/locales/ko-KR/video.json b/locales/ko-KR/video.json
index 396045bfdba..d963bbb12c0 100644
--- a/locales/ko-KR/video.json
+++ b/locales/ko-KR/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "새 주제 만들기",
"topic.deleteConfirm": "비디오 주제 삭제",
"topic.deleteConfirmDesc": "이 비디오 주제를 삭제하려고 합니다. 이 작업은 되돌릴 수 없습니다.",
+ "topic.privateTitle": "비공개",
"topic.title": "비디오 주제",
- "topic.untitled": "기본 주제"
+ "topic.untitled": "기본 주제",
+ "topic.visibility.existingLocked": "현재 주제의 가시성이 고정되어 있습니다. 다른 공간을 선택하려면 새 주제를 생성하세요.",
+ "topic.workspaceTitle": "워크스페이스"
}
diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.json
index 6b948af0d9e..2f154dcbdde 100644
--- a/locales/nl-NL/chat.json
+++ b/locales/nl-NL/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Model",
"active": "Actief",
+ "addAgentFromMarket": "Toevoegen vanuit de Markt",
+ "agent.publishToWorkspace": "Publiceren naar Werkruimte",
+ "agent.publishToWorkspaceConfirm": "Andere werkruimteleden kunnen deze agent gebruiken. U kunt deze niet opnieuw privé maken.",
+ "agent.publishToWorkspaceSuccess": "Gepubliceerd naar werkruimte",
"agentBuilder.installPlugin.authRequired": "Cloud MCP vereist inloggen om door te gaan",
"agentBuilder.installPlugin.cancel": "Annuleren",
"agentBuilder.installPlugin.clickApproveToConnect": "Klik op \"Goedkeuren\" om verbinding te maken en deze integratie te autoriseren",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Opgeslagen voor toekomstige antwoorden",
"agentSignal.receipts.memory.title": "Geheugen opgeslagen",
"agentSignal.receipts.recentActivity": "Recente activiteit",
+ "agentSignal.receipts.revert.conflict": "Nieuwere versie",
+ "agentSignal.receipts.revert.failed": "Mislukt",
+ "agentSignal.receipts.revert.not_found": "Kan niet ongedaan maken",
+ "agentSignal.receipts.revert.pending": "Bezig met terugdraaien",
+ "agentSignal.receipts.revert.rolled_back": "Teruggedraaid",
+ "agentSignal.receipts.revert.undo": "Ongedaan maken",
+ "agentSignal.receipts.revert.unsupported": "Niet ondersteund",
"agentSignal.receipts.skill.detail": "Verbeterd hoe deze assistent vergelijkbare verzoeken afhandelt",
"agentSignal.receipts.skill.title": "Vaardigheid bijgewerkt",
"agents": "Agents",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Hulpmiddelen oproepen",
"chatMode.agentCap.web": "Web zoeken",
"chatMode.agentDesc": "Agent kan hulpmiddelen en omgeving gebruiken om taken automatisch te voltooien",
+ "chatMode.agentUnsupported": "Het huidige model ondersteunt geen tool-aanroepen",
"chatMode.chat": "Chat",
"chatMode.chatDesc": "Geen runtime-omgeving of autonomie; gebruikt minder tokens",
"chatMode.select": "Schakel modus",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Beschrijving toevoegen...",
"createTask.submit": "Taak aanmaken",
"createTask.titlePlaceholder": "Taaktitel",
+ "createTask.visibility.changeFailed": "Het wijzigen van de zichtbaarheid van de taak is mislukt",
+ "createTask.visibility.helperPrivate": "Alleen jij kunt deze taak zien.",
+ "createTask.visibility.helperWorkspace": "Iedereen in deze werkruimte kan deze taak zien.",
+ "createTask.visibility.label": "Zichtbaarheid",
+ "createTask.visibility.private": "Privé",
+ "createTask.visibility.privateAgentDisabled": "Privé-agenten kunnen alleen privé-taken uitvoeren. Kies een werkruimte-agent of stel deze taak in op Privé.",
+ "createTask.visibility.privateAgentLocked": "Privé-agenten kunnen alleen privé-taken uitvoeren.",
+ "createTask.visibility.workspace": "Werkruimte",
"defaultAgent": "Standaard Agent",
"defaultGroupChat": "Groep",
"defaultList": "Standaardlijst",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Invoersuggesties gepauzeerd",
"input.modelUnavailable": "Het huidige model is niet langer beschikbaar. Kies een ander model om door te gaan.",
"input.more": "Meer",
+ "input.sandboxModeNotice": "Draait in een tijdelijke Cloud Sandbox. Lokale runs zijn sneller en hebben toegang tot je bestanden.",
"input.send": "Verzenden",
"input.sendWithCmdEnter": "Druk op <key/> om te verzenden",
"input.sendWithEnter": "Druk op <key/> om te verzenden",
"input.stop": "Stoppen",
+ "input.switchToLocal": "Gebruik lokale machine",
"input.warp": "Nieuwe regel",
"input.warpWithKey": "Druk op <key/> om een regeleinde in te voegen",
"inputQueue.delete": "Verwijderen",
@@ -364,10 +386,13 @@
"memory.on.title": "Geheugen Inschakelen",
"memory.title": "Geheugen",
"mention.category.agents": "Agenten",
+ "mention.category.files": "Bestanden",
"mention.category.members": "Leden",
+ "mention.category.privateAgents": "Privé",
"mention.category.skills": "Vaardigheden",
"mention.category.tools": "Hulpmiddelen",
"mention.category.topics": "Onderwerpen",
+ "mention.category.workspaceAgents": "Werkruimte",
"mention.title": "Leden vermelden",
"messageAction.collapse": "Bericht samenvouwen",
"messageAction.continueGeneration": "Doorgaan met genereren",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Wat moet ik in plaats daarvan doen?",
"messageAction.reaction": "Reactie toevoegen",
"messageAction.regenerate": "Opnieuw genereren",
+ "messageAction.select": "Selecteren",
+ "messageForward.bar.cancel": "Annuleren",
+ "messageForward.bar.delete": "Verwijderen",
+ "messageForward.bar.forward": "Doorsturen",
+ "messageForward.bar.selectToHere": "Selecteer tot hier",
+ "messageForward.bar.selected": "Geselecteerd {{count}}",
+ "messageForward.deleteConfirm.desc": "De geselecteerde {{count}} berichten verwijderen? Dit kan niet ongedaan worden gemaakt.",
+ "messageForward.deleteConfirm.success": "{{count}} berichten verwijderd",
+ "messageForward.deleteConfirm.title": "Berichten verwijderen",
+ "messageForward.empty": "Selecteer ten minste één bericht om door te sturen",
+ "messageForward.modal.empty": "Geen andere agenten beschikbaar",
+ "messageForward.modal.moreMessages": "+{{count}} meer berichten",
+ "messageForward.modal.noRecipients": "Kies agenten links om naar door te sturen",
+ "messageForward.modal.notePlaceholder": "Voeg een notitie toe (optioneel) — wordt samen met de berichten verzonden",
+ "messageForward.modal.recipients": "Verstuur naar ({{count}})",
+ "messageForward.modal.removeRecipient": "Ontvanger verwijderen",
+ "messageForward.modal.searchPlaceholder": "Zoek agenten…",
+ "messageForward.modal.sendCount": "Doorsturen ({{count}})",
+ "messageForward.modal.title": "Doorsturen naar Agent",
+ "messageForward.role.agent": "Agent",
+ "messageForward.role.assistant": "Assistent",
+ "messageForward.role.user": "Gebruiker",
+ "messageForward.success": "Doorgestuurd naar {{title}}",
+ "messageForward.successMulti": "Doorgestuurd naar {{count}} agenten",
+ "messageForward.transcript.header": "De volgende {{count}} berichten zijn doorgestuurd vanuit een ander gesprek. Gebruik ze als context en ga verder:",
"messageLongCollapse.collapse": "Minder weergeven",
"messageLongCollapse.expand": "Meer weergeven",
"messages.dm.sentTo": "Alleen zichtbaar voor {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Herschreven zoekopdracht verwijderen",
"rag.userQuery.actions.regenerate": "Zoekopdracht opnieuw genereren",
"regenerate": "Opnieuw genereren",
+ "resources.knowledgePicker.publicAgentHint": "Publieke agenten kunnen alleen werkruimtebronnen raadplegen. Publiceer eerst een privébron naar de werkruimte als je deze wilt koppelen.",
+ "resources.mode.privateHint": "Jouw eigen map — alleen jij kunt deze bestanden zien",
+ "resources.mode.workspaceHint": "Gedeeld met iedereen in deze werkruimte",
+ "resources.publishToWorkspace.confirm": "Andere leden van de werkruimte kunnen dit bestand zien. Je kunt het niet meer privé maken.",
+ "resources.publishToWorkspace.error": "Het publiceren van het bestand naar de werkruimte is mislukt",
+ "resources.publishToWorkspace.menu": "Publiceer naar Werkruimte",
+ "resources.publishToWorkspace.success": "Gepubliceerd naar werkruimte",
+ "resources.visibility.label": "Zichtbaarheid",
+ "resources.visibility.private": "Privé",
+ "resources.visibility.privateTooltip": "Alleen jij kunt dit bestand zien",
+ "resources.visibility.workspace": "Werkruimte",
"roleAndArchive": "Agentprofiel & Geschiedenis",
"runtimeEnv.mode.cloud": "Cloud Sandbox",
"runtimeEnv.mode.cloudDesc": "Uitvoeren in een veilige cloud sandbox",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Geen beschikbare agenten",
"sessionGroup.noMatchingAgents": "Geen overeenkomende agenten gevonden",
"sessionGroup.noSelectedAgents": "Selecteer agenten",
+ "sessionGroup.publishToWorkspace": "Publiceren naar Werkruimte",
+ "sessionGroup.publishToWorkspaceConfirm": "Andere werkruimteleden kunnen deze map gebruiken. U kunt deze niet opnieuw privé maken.",
+ "sessionGroup.publishToWorkspaceSuccess": "Gepubliceerd naar werkruimte",
"sessionGroup.rename": "Groep hernoemen",
"sessionGroup.renameSuccess": "Succesvol hernoemd",
"sessionGroup.searchAgents": "Zoek agenten",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normaal",
"taskDetail.priority.urgent": "Dringend",
"taskDetail.properties": "Eigenschappen",
+ "taskDetail.publishToWorkspace.confirmContent": "Eenmaal gepubliceerd wordt deze taak zichtbaar voor alle leden van de werkruimte en kan niet meer privé worden gemaakt.",
+ "taskDetail.publishToWorkspace.confirmHint": "Eerdere runs blijven privé. Alleen runs die na publicatie worden gemaakt, zijn zichtbaar voor leden van de werkruimte.",
+ "taskDetail.publishToWorkspace.confirmOk": "Publiceren",
+ "taskDetail.publishToWorkspace.confirmTitle": "Taak publiceren naar werkruimte?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Deze taak is toegewezen aan een privé-agent. Wijs toe aan een werkruimte-agent of publiceer eerst de agent.",
+ "taskDetail.publishToWorkspace.menuLabel": "Publiceer naar Werkruimte",
"taskDetail.reassignDisabled": "Kan agent niet opnieuw toewijzen terwijl taak wordt uitgevoerd",
"taskDetail.replyInThread": "Reageer in deze thread",
"taskDetail.replyPlaceholder": "Reageer in deze thread...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Bord",
"taskList.view.list": "Lijst",
"taskList.viewAll": "Alles bekijken",
+ "taskList.visibility.all": "Alle",
+ "taskList.visibility.label": "Zichtbaarheid",
"taskSchedule.advancedSettings": "Geavanceerde instellingen",
"taskSchedule.clear": "Wissen",
"taskSchedule.continuous": "Continu",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Pad Kopiëren",
"workingPanel.files.copyRelativePath": "Relatief Pad Kopiëren",
- "workingPanel.files.count_one": "{{count}} bestand",
- "workingPanel.files.count_other": "{{count}} bestanden",
"workingPanel.files.empty": "Geen bestanden in deze werkruimte",
+ "workingPanel.files.noSearchResults": "Geen overeenkomende bestanden",
"workingPanel.files.open": "Bestand Openen",
- "workingPanel.files.refresh": "Verversen",
+ "workingPanel.files.searchPlaceholder": "Filter bestanden...",
"workingPanel.files.showInReview": "Weergeven in Review",
"workingPanel.files.showInSystem": "Weergeven in Map",
"workingPanel.files.title": "Bestanden",
diff --git a/locales/nl-NL/common.json b/locales/nl-NL/common.json
index 4f5b228c5eb..4a4ce4ed73c 100644
--- a/locales/nl-NL/common.json
+++ b/locales/nl-NL/common.json
@@ -1,5 +1,6 @@
{
"about": "Over",
+ "addNew": "Nieuw toevoegen",
"advanceSettings": "Geavanceerde instellingen",
"agentOnboardingPromo.actionLabel": "Nu proberen",
"agentOnboardingPromo.description": "Stel je agentteams in via een korte chat met Lobe AI. Je bestaande agenten blijven ongewijzigd.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Controle van inhoudsbeleid mislukt. Pas je prompt aan.",
"getDesktopApp": "Download Desktop-app",
"goToTarget": "Ga naar doel",
+ "gotIt": "Begrepen",
"historyRange": "Geschiedenisbereik",
"home.suggestQuestions": "Probeer deze voorbeelden",
"import": "Importeren",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Omlaag verplaatsen",
"navPanel.moveUp": "Omhoog verplaatsen",
"navPanel.pinned": "Vastgemaakt",
+ "navPanel.privateAgents": "Privé",
+ "navPanel.publicAgents": "Werkruimte",
"navPanel.resetDefault": "Herstellen naar standaardinstellingen",
"navPanel.searchAgent": "Zoek agent...",
"navPanel.searchRecent": "Recente items zoeken...",
diff --git a/locales/nl-NL/discover.json b/locales/nl-NL/discover.json
index 6ba923ef61a..20a8b74e871 100644
--- a/locales/nl-NL/discover.json
+++ b/locales/nl-NL/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "forks",
"fork.forksCount": "{{count}} fork",
"fork.forksCount_other": "{{count}} forks",
+ "fork.orgSetupRequired.memberContent": "Deze werkruimte heeft nog geen Community-profiel ingesteld, waardoor forks van de marketplace hier niet kunnen worden opgeslagen. Vraag de eigenaar van de werkruimte om dit in te stellen onder Community → Werkruimte.",
+ "fork.orgSetupRequired.ownerContent": "Deze werkruimte heeft nog geen Community-profiel ingesteld. Stel er een in om agents van de marketplace naar je werkruimte te forken.",
+ "fork.orgSetupRequired.ownerOk": "Ga naar instellingen",
+ "fork.orgSetupRequired.title": "Community-profielinstelling vereist",
"fork.success": "Succesvol geforkt!",
"fork.viewAllForks": "Bekijk alle forks",
+ "fork.visibilityPrivate": "Privé",
+ "fork.visibilityPublic": "Werkruimte",
"groupAgents.tag": "Groep",
"groupAgents.underReview": "In beoordeling",
"home.communityAgents": "Community Agents",
diff --git a/locales/nl-NL/editor.json b/locales/nl-NL/editor.json
index 1f7d33b2474..278092944e7 100644
--- a/locales/nl-NL/editor.json
+++ b/locales/nl-NL/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Vaardigheid",
"actionTag.category.tool": "Hulpmiddel",
"actionTag.tooltip.agentSkill": "Laadt een vaardigheidspakket uit de documenten van deze agent voor het verzoek.",
+ "actionTag.tooltip.clickToView": "Klik om details te bekijken",
"actionTag.tooltip.command": "Voert vóór het verzenden een slash-commando aan de clientzijde uit.",
"actionTag.tooltip.projectSkill": "Verzonden als een schuine streep-aanroep zodat de CLI van de agent de bijpassende projectvaardigheid uitvoert.",
"actionTag.tooltip.skill": "Laadt voor dit verzoek een herbruikbaar vaardigheidspakket.",
diff --git a/locales/nl-NL/electron.json b/locales/nl-NL/electron.json
index b522b2087c1..abb59522518 100644
--- a/locales/nl-NL/electron.json
+++ b/locales/nl-NL/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Instellingen",
"navigation.task": "Taak",
"navigation.tasks": "Taken",
+ "navigation.topics": "Onderwerpen",
"navigation.unpin": "Losmaken",
"notification.finishChatGeneration": "AI-berichtgeneratie voltooid",
"proxy.auth": "Authenticatie vereist",
diff --git a/locales/nl-NL/eval.json b/locales/nl-NL/eval.json
index 72c88ee5b04..f03abb3610f 100644
--- a/locales/nl-NL/eval.json
+++ b/locales/nl-NL/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Weet u zeker dat u deze benchmark wilt verwijderen? Gerelateerde datasets en evaluatierecords worden ook verwijderd.",
"benchmark.actions.edit": "Benchmark bewerken",
"benchmark.actions.export": "Exporteren",
+ "benchmark.card.bestPassRate": "Beste slagingspercentage",
"benchmark.card.bestScore": "Beste",
"benchmark.card.caseCount": "{{count}} gevallen",
+ "benchmark.card.casesLabel": "Gevalen",
"benchmark.card.datasetCount": "{{count}} datasets",
"benchmark.card.empty": "Nog geen evaluaties",
"benchmark.card.emptyHint": "Maak een nieuwe evaluatie aan vanaf de benchmarkdetailpagina",
+ "benchmark.card.evalsLabel": "Evaluaties",
"benchmark.card.importDataset": "Dataset importeren",
"benchmark.card.noDataset": "Nog geen datasets",
"benchmark.card.noDatasetHint": "Importeer een dataset om te beginnen met evalueren",
"benchmark.card.noRecentRuns": "Geen recente evaluaties om weer te geven",
"benchmark.card.recentRuns": "Recente evaluaties",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} vóór falen",
+ "benchmark.card.run.queued": "In wachtrij",
"benchmark.card.runCount": "{{count}} evaluaties",
"benchmark.card.startFirst": "Start eerste evaluatie",
"benchmark.card.viewAll": "Bekijk alle {{count}}",
diff --git a/locales/nl-NL/file.json b/locales/nl-NL/file.json
index a76cd99c760..dce34532b68 100644
--- a/locales/nl-NL/file.json
+++ b/locales/nl-NL/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Bibliotheek verplaatsen",
"library.list.transferTo": "Verplaatsen naar…",
"library.new": "Nieuwe bibliotheek",
+ "library.privateEmpty": "Maak een privébibliotheek",
+ "library.publish": "Publiceer naar werkruimte",
+ "library.publishConfirm.content": "Alle leden van de werkruimte zullen deze kennisbank zien. Deze actie kan niet ongedaan worden gemaakt.",
+ "library.publishConfirm.title": "Kennisbank publiceren naar werkruimte?",
"library.title": "Bibliotheek",
+ "library.workspaceEmpty": "Maak een werkruimtebibliotheek",
"loadMore": "Meer laden",
"menu.allFiles": "Alle bestanden",
"menu.allPages": "Alle pagina’s",
@@ -170,6 +175,13 @@
"pageList.noResults": "Geen overeenkomende pagina’s gevonden",
"pageList.pageCount": "Totaal {{count}} pagina’s",
"pageList.pageSizeItem": "{{count}} items",
+ "pageList.privateTitle": "Privé",
+ "pageList.publishConfirm.content": "Na publicatie kan iedereen in de werkruimte deze pagina zien. Je kunt het later niet meer terugzetten naar privé.",
+ "pageList.publishConfirm.ok": "Publiceren",
+ "pageList.publishConfirm.title": "Publiceren naar werkruimte",
+ "pageList.publishError": "Pagina publiceren mislukt",
+ "pageList.publishSuccess": "Pagina gepubliceerd naar werkruimte",
+ "pageList.publishToWorkspace": "Publiceren naar werkruimte",
"pageList.title": "Pagina’s",
"pageList.transferConfirm": "Verplaatsen",
"pageList.transferDescription": "Verplaats deze pagina (en eventuele mappen die het bevat) naar een andere werkruimte.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Verplaatsen naar…",
"pageList.transferWarning": "Dit is een eenrichtingsverplaatsing; terugdraaien vereist een nieuwe verplaatsing.",
"pageList.untitled": "Naamloos",
+ "pageList.workspaceTitle": "Werkruimte",
"portal.openInPageEditor": "Bewerken in pagina",
"preview.downloadFile": "Bestand downloaden",
"preview.unsupportedFileAndContact": "Dit bestandsformaat wordt momenteel niet ondersteund voor online voorbeeldweergave. Heb je een verzoek? <1>Neem contact met ons op</1>.",
diff --git a/locales/nl-NL/image.json b/locales/nl-NL/image.json
index 0e13cee3edd..c3a2043afb1 100644
--- a/locales/nl-NL/image.json
+++ b/locales/nl-NL/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Generatieonderwerp verwijderen",
"topic.deleteConfirmDesc": "Je staat op het punt dit generatieonderwerp te verwijderen. Deze actie kan niet ongedaan worden gemaakt, wees voorzichtig.",
"topic.empty": "Geen generatieonderwerpen",
+ "topic.privateTitle": "Privé",
"topic.title": "Schilderthema",
- "topic.untitled": "Standaardonderwerp"
+ "topic.untitled": "Standaardonderwerp",
+ "topic.visibility.existingLocked": "De zichtbaarheid is vastgezet voor het huidige onderwerp. Maak een nieuw onderwerp om een andere ruimte te kiezen.",
+ "topic.workspaceTitle": "Werkruimte"
}
diff --git a/locales/nl-NL/models.json b/locales/nl-NL/models.json
index a7e51114e68..7d2dd9bbfb2 100644
--- a/locales/nl-NL/models.json
+++ b/locales/nl-NL/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 is tot nu toe het meest intelligente model van Anthropic.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 is Anthropic's beste combinatie van snelheid en intelligentie.",
"claude-sonnet-4.description": "Claude Sonnet 4 door Anthropic — uitgebalanceerd model met sterke codeer- en redeneervaardigheden.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 is het meest agentische Sonnet-model van Anthropic, ontworpen voor langdurig coderen, gebruik van tools en workflows met lange contexten, met Sonnet-niveau snelheid en efficiëntie.",
"codegeex-4.description": "CodeGeeX-4 is een krachtige AI-codeassistent die meertalige Q&A en codeaanvulling ondersteunt om de productiviteit van ontwikkelaars te verhogen.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B is een meertalig codegeneratiemodel dat codeaanvulling en -generatie, code-interpreter, webzoekopdrachten, functieaanroepen en Q&A op repo-niveau ondersteunt. Het dekt een breed scala aan softwareontwikkelingsscenario’s en is een topmodel onder de 10 miljard parameters.",
"codegemma.description": "CodeGemma is een lichtgewicht model voor diverse programmeertaken, dat snelle iteratie en integratie mogelijk maakt.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro is het krachtigste agent- en vibe-codingmodel van Google, met rijkere visuele output en diepere interactie bovenop geavanceerde redeneercapaciteiten.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) is het snelste native beeldgeneratiemodel van Google met denksupport, conversatiebeeldgeneratie en bewerking.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) is Google's snelste native beeldgeneratiemodel met denkondersteuning, conversatiegerichte beeldgeneratie en bewerking.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) is het snelste en meest kostenefficiënte afbeeldingsgeneratiemodel van Google, ontworpen voor grootschalige generatie en bewerking.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) is het snelste en meest kostenefficiënte afbeeldingsgeneratiemodel van Google, ontworpen voor grootschalige generatie en bewerking.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview is het meest kostenefficiënte multimodale model van Google, geoptimaliseerd voor grootschalige agenttaken, vertaling en gegevensverwerking.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite is Google's meest kostenefficiënte multimodale model, geoptimaliseerd voor grootschalige agenttaken, vertaling en gegevensverwerking.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview verbetert Gemini 3 Pro met verbeterde redeneercapaciteiten en voegt ondersteuning toe voor een gemiddeld denkniveau.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V biedt krachtig beeldbegrip en redenering voor visuele taken.",
"glm-5-turbo.description": "GLM-5-Turbo is een fundamenteel model dat diep is geoptimaliseerd voor agentische scenario's. Het is specifiek geoptimaliseerd voor kernvereisten van agenttaken vanaf de trainingsfase, met verbeterde kernmogelijkheden zoals toolaanroep, commando-opvolging en lange ketenuitvoering. Ideaal voor het bouwen van hoogwaardige agentassistenten.",
"glm-5.1.description": "GLM-5.1 is het nieuwste vlaggenschipmodel van Zhipu, op het gebied van algemene prestaties en programmeervaardigheden vergelijkbaar met Claude Opus 4.6. Het blinkt uit in langlopende taken en kan tot wel 8 uur autonoom plannen, uitvoeren en itereren binnen één enkele taak, waardoor het een ideale basis vormt voor autonome agents en langetermijn coding agents.",
- "glm-5.2.description": "De GLM-serie is een hybride redeneermodel van Zhipu AI, ontworpen voor agents, met denk- en niet-denkmodi. GLM-5.2 is Zhipu's vlaggenschipmodel voor het tijdperk van langetermijntaken, ondersteunt een context van 1M tokens en is geoptimaliseerd voor langetermijnplanning, complexe codering en agentuitvoering.",
+ "glm-5.2.description": "De GLM-serie is een hybride redeneermodel van Zhipu AI, ontworpen voor agenten, met denk- en niet-denkmodi. GLM-5.2 is het vlaggenschipmodel van Zhipu voor het tijdperk van langetermijntaken, met ondersteuning voor een context van 1 miljoen tokens en geoptimaliseerd voor langetermijnplanning, complexe codering en agentuitvoering.",
"glm-5.description": "GLM-5 is Zhipu's volgende generatie vlaggenschip funderingsmodel, speciaal ontworpen voor Agentic Engineering. Het levert betrouwbare productiviteit in complexe systeemengineering en langetermijn agenttaken. In codering en agentcapaciteiten bereikt GLM-5 state-of-the-art prestaties onder open-source modellen. In programmeerscenario's in de echte wereld benadert de gebruikerservaring die van Claude Opus 4.5. Het blinkt uit in complexe systeemengineering en langetermijn agenttaken, waardoor het een ideaal funderingsmodel is voor algemene agentassistenten.",
"glm-5v-turbo.description": "GLM-5V-Turbo is Zhipu's multimodale codering funderingsmodel voor visuele programmeertaken. Het verwerkt native beelden, video's, tekst en bestanden en is geoptimaliseerd voor langetermijnplanning, complexe codering en agentuitvoering in multimodale workflows.",
"glm-image.description": "GLM-Image is Zhipu's nieuwe vlaggenschip beeldgeneratiemodel. Het model is end-to-end getraind op lokaal geproduceerde chips en maakt gebruik van een originele hybride architectuur die autoregressieve modellering combineert met een diffusie-decoder. Dit ontwerp maakt sterke globale instructiebegrip mogelijk naast gedetailleerde lokale weergave, en overwint langdurige uitdagingen bij het genereren van kennisrijke inhoud zoals posters, presentaties en educatieve diagrammen. Het vertegenwoordigt een belangrijke verkenning naar een nieuwe generatie van “cognitieve generatieve” technologieparadigma's, geïllustreerd door Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 is Kimi's meest veelzijdige model tot nu toe, met een native multimodale architectuur die zowel visuele als tekstinvoer ondersteunt, 'denken' en 'niet-denken' modi, en zowel conversatie- als agent-taken.",
"kimi-k2.6.description": "Kimi-K2.6 is een groot taalmodel gelanceerd door Moonshot AI, met uitstekende codering- en toolgebruikmogelijkheden. Service-implementatie wordt alleen ondersteund in het vasteland van China.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​is een hogesnelheidsmodel van Kimi K2.7 Code. Het is hetzelfde model als Kimi K2.7 Code, maar de uitvoersnelheid is ongeveer 180 tokens/s, en in korte contextscenario's kan het 260 tokens/s bereiken, wat een meer extreme programmeerervaring biedt.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code is Moonshot AI's op codering gerichte agentische model, gebouwd op Kimi K2.6, met substantiële verbeteringen voor real-world langetermijncoderingsopdrachten en ongeveer 30% lager gebruik van denk-tokens.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code is het op codering gerichte agentische model van Moonshot AI, gebaseerd op Kimi K2.6, met aanzienlijke verbeteringen in real-world langetermijncoderingstaken en ongeveer 30% minder gebruik van denk-tokens.",
"kling/kling-v3-image-generation.description": "Ondersteunt tot 10 referentiebeelden, waarmee u onderwerpen, elementen en kleurtonen kunt vastleggen om een consistente stijl te garanderen. Combineert stijltransfer, portret-/karakterreferentie, multi-image fusie en gelokaliseerde inpainting voor flexibele controle. Levert realistische portretdetails, met algehele visuals die delicaat en rijk gelaagd zijn, met filmische kleur en sfeer.",
"kling/kling-v3-omni-image-generation.description": "Ontgrendel filmische verhalende visuals met nieuwe serie beeldgeneratie en directe 2K/4K output. Analyseert diepgaand audiovisuele elementen in prompts om creatieve instructies nauwkeurig uit te voeren. Ondersteunt flexibele multi-referentie invoer en uitgebreide kwaliteitsupgrades, ideaal voor storyboards, narratieve conceptkunst en scèneontwerp.",
"kling/kling-v3-omni-video-generation.description": "Nieuwe 'All-in-One Reference'-functie ondersteunt 3–8 seconden video's of meerdere afbeeldingen om karakterelementen te verankeren. Kan originele audio en lipbewegingen matchen voor authentieke karakterrepresentatie. Verbetert videoconsequentie en dynamische expressie. Ondersteunt audiovisuele synchronisatie en intelligente storyboarding.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA is een multimodaal model dat een visie-encoder en Vicuna combineert voor sterk visueel-taalbegrip.",
"llava:13b.description": "LLaVA is een multimodaal model dat een visie-encoder en Vicuna combineert voor sterk visueel-taalbegrip.",
"llava:34b.description": "LLaVA is een multimodaal model dat een visie-encoder en Vicuna combineert voor sterk visueel-taalbegrip.",
+ "lobehub-glm-5.2-fast.description": "Snelle variant van GLM-5.2 met aanzienlijk lagere latentie. Dezelfde mogelijkheden als GLM-5.2 — kost meer, maar reageert veel sneller.",
"magistral-medium-2509.description": "Magistral Medium 1.2 is een grensverleggend redeneermodel van Mistral AI (sep 2025) met visuele ondersteuning.",
"magistral-small-2509.description": "Magistral Small 1.2 is een open-source klein redeneermodel van Mistral AI (sep 2025) met visuele ondersteuning.",
"mathstral.description": "MathΣtral is ontwikkeld voor wetenschappelijk onderzoek en wiskundig redeneren, met sterke rekenkracht en uitlegmogelijkheden.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K ondersteunt 32.768 tokens voor contexten van gemiddelde lengte, ideaal voor lange documenten en complexe dialogen in contentcreatie, rapporten en chatsystemen.",
"moonshot-v1-8k-vision-preview.description": "Kimi vision-modellen (waaronder moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) begrijpen beeldinhoud zoals tekst, kleuren en objectvormen.",
"moonshot-v1-8k.description": "Moonshot V1 8K is geoptimaliseerd voor het genereren van korte teksten met efficiënte prestaties, en verwerkt 8.192 tokens voor korte gesprekken, notities en snelle content.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code is een agentisch model ontworpen voor coderingstaken door Moonshot AI. Gebouwd op Kimi K2.6, toont het significante verbeteringen in real-world langetermijncoderingsopdrachten, waardoor end-to-end taakvoltooiing in complexe software-engineeringworkflows wordt verbeterd, terwijl het gebruik van denk-tokens met ongeveer 30% wordt verminderd in vergelijking met Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code is een agentisch model ontworpen voor coderingstaken van Moonshot AI. Gebaseerd op Kimi K2.6, toont het significante verbeteringen in real-world langetermijncoderingstaken, waardoor end-to-end taakuitvoeringsmogelijkheden in complexe software-engineeringworkflows worden verbeterd, terwijl het gebruik van denk-tokens met ongeveer 30% wordt verminderd in vergelijking met Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 is de instructievariant in de Kimi-serie, geschikt voor hoogwaardige code en toolgebruik.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 is een update die context- en redeneervermogen uitbreidt met optimalisaties voor codering.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo is een snelle versie van Kimi K2 Thinking, met aanzienlijk lagere latentie terwijl diepe redenering behouden blijft.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 is Zhipu's nieuwe generatie vlaggenschipmodel met 355B totale parameters en 32B actieve parameters, volledig geüpgraded in algemene dialoog, redeneren en agentmogelijkheden. GLM-4.7 verbetert Interleaved Thinking en introduceert Preserved Thinking en Turn-level Thinking.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air is een basismodel voor agenttoepassingen met een Mixture-of-Experts-architectuur. Het is geoptimaliseerd voor toolgebruik, webnavigatie, softwareontwikkeling en frontend-codering, en integreert met code-agents zoals Claude Code en Roo Code. Het gebruikt hybride redenering om zowel complexe als alledaagse scenario’s aan te kunnen.",
"zai-org/GLM-4.5V.description": "GLM-4.5V is Zhipu AI’s nieuwste VLM, gebaseerd op het GLM-4.5-Air vlaggenschiptekstmodel (106B totaal, 12B actief) met een MoE-architectuur voor sterke prestaties tegen lagere kosten. Het volgt het GLM-4.1V-Thinking pad en voegt 3D-RoPE toe voor verbeterde 3D-ruimtelijke redenering. Geoptimaliseerd via pretraining, SFT en RL, verwerkt het beelden, video’s en lange documenten en scoort het hoog op 41 openbare multimodale benchmarks. Een Thinking-modus schakelaar laat gebruikers kiezen tussen snelheid en diepgang.",
- "zai-org/GLM-5.2.description": "GLM-5.2 is Z.ai's nieuwste vlaggenschipmodel, ontworpen voor langetermijntaakscenario's, met significante verbeteringen in langetermijntaakcapaciteiten in vergelijking met GLM-5.1. Dit 753B MoE-model ondersteunt een stabiel contextvenster van 1M tokens, biedt sterkere programmeermogelijkheden en ondersteunt meerdere denk-inspanningsniveaus voor een flexibele balans tussen prestaties en latentie.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 is het nieuwste vlaggenschipmodel van Z.ai, ontworpen voor scenario's met langetermijntaken, met significante verbeteringen in de mogelijkheden voor langetermijntaken in vergelijking met GLM-5.1. Dit 753B MoE-model ondersteunt een stabiel contextvenster van 1 miljoen tokens, beschikt over sterkere programmeermogelijkheden en ondersteunt meerdere denkinspanningsniveaus voor een flexibele balans tussen prestaties en latentie.",
"zai/glm-4.5-air.description": "GLM-4.5 en GLM-4.5-Air zijn onze nieuwste vlaggenschipmodellen voor agenttoepassingen, beide gebruikmakend van MoE. GLM-4.5 heeft 355B totaal en 32B actief per forward pass; GLM-4.5-Air is slanker met 106B totaal en 12B actief.",
"zai/glm-4.5.description": "De GLM-4.5-serie is ontworpen voor agents. Het vlaggenschip GLM-4.5 combineert redenering, codering en agentvaardigheden met 355B totale parameters (32B actief) en biedt dubbele werkmodi als hybride redeneersysteem.",
"zai/glm-4.5v.description": "GLM-4.5V is gebaseerd op GLM-4.5-Air, erft bewezen technieken van GLM-4.1V-Thinking en schaalt met een krachtige 106B-parameter MoE-architectuur.",
diff --git a/locales/nl-NL/plugin.json b/locales/nl-NL/plugin.json
index dc6e00c9528..444c5d402c5 100644
--- a/locales/nl-NL/plugin.json
+++ b/locales/nl-NL/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Resultaat",
"builtins.codex.mcpTool.unknownTool": "MCP-tool",
"builtins.codex.webSearch.query": "Zoekopdracht",
+ "builtins.github.render.error": "Fout",
+ "builtins.github.render.rawResult": "Ruwe resultaat",
+ "builtins.github.render.updatedAt": "Bijgewerkt {{time}}",
+ "builtins.linear.render.empty": "Geen {{collection}} gevonden",
"builtins.linear.render.updatedAt": "Bijgewerkt {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Hulpmiddelen Activeren",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} niet gevonden",
diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.json
index 1b64bd6f7c0..ac7f1ffb15b 100644
--- a/locales/nl-NL/setting.json
+++ b/locales/nl-NL/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Standaard",
"settingChatAppearance.fontSize.title": "Lettergrootte",
"settingChatAppearance.highlighterTheme.title": "Code Highlight-thema",
+ "settingChatAppearance.linkIcon.desc": "Schakel dit uit als je het niet nodig hebt.",
+ "settingChatAppearance.linkIcon.previewMessage": "Bekijk <site></site> en <repo></repo> voor meer details.",
+ "settingChatAppearance.linkIcon.title": "Pictogrammen in berichtlinks weergeven",
"settingChatAppearance.mermaidTheme.title": "Mermaid-thema",
"settingChatAppearance.title": "Chatweergave",
"settingChatAppearance.transitionMode.desc": "Kies hoe chatberichten verschijnen",
@@ -1231,6 +1234,226 @@
"tools.tabs.all": "Alles",
"tools.tabs.installed": "Ingeschakeld",
"tools.title": "Extensietools",
+ "workspace.auditLog.actions.api_key.created": "API-sleutel aangemaakt",
+ "workspace.auditLog.actions.api_key.renamed": "API-sleutel hernoemd",
+ "workspace.auditLog.actions.api_key.revoked": "API-sleutel ingetrokken",
+ "workspace.auditLog.actions.api_key.rotated": "API-sleutel vernieuwd",
+ "workspace.auditLog.actions.auto_top_up.disabled": "Automatisch opwaarderen uitgeschakeld",
+ "workspace.auditLog.actions.auto_top_up.enabled": "Automatisch opwaarderen ingeschakeld",
+ "workspace.auditLog.actions.auto_top_up.failed": "Automatisch opwaarderen mislukt",
+ "workspace.auditLog.actions.auto_top_up.succeeded": "Automatisch opwaarderen geslaagd",
+ "workspace.auditLog.actions.auto_top_up.updated": "Automatisch opwaarderen bijgewerkt",
+ "workspace.auditLog.actions.billing.default_payment_method_changed": "Standaard betaalmethode gewijzigd",
+ "workspace.auditLog.actions.billing.payment_method_added": "Betaalmethode toegevoegd",
+ "workspace.auditLog.actions.billing.payment_method_removed": "Betaalmethode verwijderd",
+ "workspace.auditLog.actions.billing.portal_session_created": "Facturatieportaal geopend",
+ "workspace.auditLog.actions.budget.default_member_limit_updated": "Standaard budget voor leden bijgewerkt",
+ "workspace.auditLog.actions.budget.member_limit_updated": "Budget voor leden bijgewerkt",
+ "workspace.auditLog.actions.budget.member_override.updated": "Budgetoverschrijving voor lid bijgewerkt",
+ "workspace.auditLog.actions.budget.member_override_created": "Budgetoverschrijving voor lid aangemaakt",
+ "workspace.auditLog.actions.budget.member_override_removed": "Budgetoverschrijving voor lid verwijderd",
+ "workspace.auditLog.actions.credential.created": "Referentie aangemaakt",
+ "workspace.auditLog.actions.credential.deleted": "Referentie verwijderd",
+ "workspace.auditLog.actions.credential.tested": "Referentie getest",
+ "workspace.auditLog.actions.credential.updated": "Referentie bijgewerkt",
+ "workspace.auditLog.actions.integration.connected": "Integratie verbonden",
+ "workspace.auditLog.actions.integration.disabled": "Integratie uitgeschakeld",
+ "workspace.auditLog.actions.integration.disconnected": "Integratie losgekoppeld",
+ "workspace.auditLog.actions.integration.updated": "Integratie bijgewerkt",
+ "workspace.auditLog.actions.invitation.resent": "Uitnodiging opnieuw verzonden",
+ "workspace.auditLog.actions.invitation.revoked": "Uitnodiging ingetrokken",
+ "workspace.auditLog.actions.market_identity.published": "Marktidentiteit gepubliceerd",
+ "workspace.auditLog.actions.market_identity.unpublished": "Marktidentiteit niet meer gepubliceerd",
+ "workspace.auditLog.actions.market_identity.updated": "Marktidentiteit bijgewerkt",
+ "workspace.auditLog.actions.member.demoted_from_owner": "Eigenaarrol verwijderd",
+ "workspace.auditLog.actions.member.invited": "Lid uitgenodigd",
+ "workspace.auditLog.actions.member.joined": "Lid toegetreden",
+ "workspace.auditLog.actions.member.left": "Lid vertrokken",
+ "workspace.auditLog.actions.member.promoted_to_owner": "Bevorderd tot eigenaar",
+ "workspace.auditLog.actions.member.removed": "Lid verwijderd",
+ "workspace.auditLog.actions.member.role_updated": "Lidrol gewijzigd",
+ "workspace.auditLog.actions.provider.disabled": "Provider uitgeschakeld",
+ "workspace.auditLog.actions.provider.enabled": "Provider ingeschakeld",
+ "workspace.auditLog.actions.provider.updated": "Provider bijgewerkt",
+ "workspace.auditLog.actions.resource.created": "Bron aangemaakt",
+ "workspace.auditLog.actions.resource.deleted": "Bron verwijderd",
+ "workspace.auditLog.actions.resource.exported": "Bron geëxporteerd",
+ "workspace.auditLog.actions.resource.imported": "Bron geïmporteerd",
+ "workspace.auditLog.actions.resource.restored": "Bron hersteld",
+ "workspace.auditLog.actions.resource.shared": "Bron gedeeld",
+ "workspace.auditLog.actions.resource.transferred": "Bron overgedragen",
+ "workspace.auditLog.actions.resource.unshared": "Bron niet meer gedeeld",
+ "workspace.auditLog.actions.resource.updated": "Bron bijgewerkt",
+ "workspace.auditLog.actions.security.policy_updated": "Beveiligingsbeleid bijgewerkt",
+ "workspace.auditLog.actions.security.risk_state_updated": "Risicostatus bijgewerkt",
+ "workspace.auditLog.actions.subscription.activated": "Abonnement geactiveerd",
+ "workspace.auditLog.actions.subscription.cancellation_resumed": "Abonnement hervat",
+ "workspace.auditLog.actions.subscription.cancellation_scheduled": "Annulering gepland",
+ "workspace.auditLog.actions.subscription.cancelled": "Abonnement geannuleerd",
+ "workspace.auditLog.actions.subscription.grace_period_started": "Genadeperiode gestart",
+ "workspace.auditLog.actions.subscription.updated": "Abonnement bijgewerkt",
+ "workspace.auditLog.actions.top_up.succeeded": "Opwaarderen geslaagd",
+ "workspace.auditLog.actions.webhook.created": "Webhook aangemaakt",
+ "workspace.auditLog.actions.webhook.deleted": "Webhook verwijderd",
+ "workspace.auditLog.actions.webhook.updated": "Webhook bijgewerkt",
+ "workspace.auditLog.actions.workspace.account_upgraded": "Werkruimte-account geüpgraded",
+ "workspace.auditLog.actions.workspace.cleanup_triggered": "Opschoning van werkruimte gestart",
+ "workspace.auditLog.actions.workspace.created": "Werkruimte aangemaakt",
+ "workspace.auditLog.actions.workspace.data_cleared": "Werkruimtegegevens gewist",
+ "workspace.auditLog.actions.workspace.deleted": "Werkruimte verwijderd",
+ "workspace.auditLog.actions.workspace.downgraded": "Werkruimte gedegradeerd",
+ "workspace.auditLog.actions.workspace.frozen": "Werkruimte bevroren",
+ "workspace.auditLog.actions.workspace.primary_ownership_transferred": "Primaire eigendom overgedragen",
+ "workspace.auditLog.actions.workspace.settings_reset": "Werkruimte-instellingen gereset",
+ "workspace.auditLog.actions.workspace.unfrozen": "Werkruimte ontdooid",
+ "workspace.auditLog.actions.workspace.updated": "Werkruimte bijgewerkt",
+ "workspace.auditLog.actions.workspace.upgraded": "Werkruimte geüpgraded",
+ "workspace.auditLog.columns.action": "Actie",
+ "workspace.auditLog.columns.details": "Details",
+ "workspace.auditLog.columns.ip": "IP",
+ "workspace.auditLog.columns.operator": "Operator",
+ "workspace.auditLog.columns.resourceId": "Bron-ID",
+ "workspace.auditLog.columns.resourceType": "Brontype",
+ "workspace.auditLog.columns.time": "Tijd",
+ "workspace.auditLog.desc": "Bekijk werkruimteleden, uitnodigingen, abonnementen en factureringsactiviteiten.",
+ "workspace.auditLog.detail.fields.added": "Toegevoegd",
+ "workspace.auditLog.detail.fields.addedByUserId": "Toegevoegd door",
+ "workspace.auditLog.detail.fields.agentIds": "Agent-ID's",
+ "workspace.auditLog.detail.fields.aiModelCount": "Aantal AI-modellen",
+ "workspace.auditLog.detail.fields.amount": "Bedrag",
+ "workspace.auditLog.detail.fields.apiKeyCount": "Aantal API-sleutels",
+ "workspace.auditLog.detail.fields.apiKeyIds": "API-sleutel-ID's",
+ "workspace.auditLog.detail.fields.billingInterval": "Factureringsinterval",
+ "workspace.auditLog.detail.fields.brand": "Kaartmerk",
+ "workspace.auditLog.detail.fields.budgetId": "Budget-ID",
+ "workspace.auditLog.detail.fields.chargeAmount": "Te betalen bedrag",
+ "workspace.auditLog.detail.fields.count": "Aantal",
+ "workspace.auditLog.detail.fields.credentialId": "Referentie-ID",
+ "workspace.auditLog.detail.fields.credentialKey": "Referentiesleutel",
+ "workspace.auditLog.detail.fields.credentialName": "Referentienaam",
+ "workspace.auditLog.detail.fields.credentialType": "Referentietype",
+ "workspace.auditLog.detail.fields.currency": "Valuta",
+ "workspace.auditLog.detail.fields.currentDefaultMaxBudget": "Nieuw standaard budget voor leden",
+ "workspace.auditLog.detail.fields.currentDefaultPaymentMethodId": "Nieuwe standaard betaalmethode",
+ "workspace.auditLog.detail.fields.currentEnabled": "Nieuwe ingeschakelde status",
+ "workspace.auditLog.detail.fields.currentMaxBudget": "Nieuw budget voor leden",
+ "workspace.auditLog.detail.fields.currentMode": "Nieuwe modus",
+ "workspace.auditLog.detail.fields.currentMonthlyLimit": "Nieuwe maandelijkse limiet",
+ "workspace.auditLog.detail.fields.currentPermission": "Nieuwe toestemming",
+ "workspace.auditLog.detail.fields.currentRole": "Nieuwe rol",
+ "workspace.auditLog.detail.fields.currentState": "Huidige status",
+ "workspace.auditLog.detail.fields.currentTargetBalance": "Nieuw doelbedrag",
+ "workspace.auditLog.detail.fields.currentThreshold": "Nieuwe drempel",
+ "workspace.auditLog.detail.fields.currentVisibility": "Nieuwe zichtbaarheid",
+ "workspace.auditLog.detail.fields.email": "E-mail",
+ "workspace.auditLog.detail.fields.failureReason": "Reden van mislukking",
+ "workspace.auditLog.detail.fields.fileHashId": "Bestandshash-ID",
+ "workspace.auditLog.detail.fields.fileName": "Bestandsnaam",
+ "workspace.auditLog.detail.fields.groupIds": "Groep-ID's",
+ "workspace.auditLog.detail.fields.hasDescriptionUpdate": "Beschrijving bijgewerkt",
+ "workspace.auditLog.detail.fields.hasSecretValueUpdate": "Geheime waarde bijgewerkt",
+ "workspace.auditLog.detail.fields.includeConversationHistory": "Gesprekshistorie opnemen",
+ "workspace.auditLog.detail.fields.invitationId": "Uitnodigings-ID",
+ "workspace.auditLog.detail.fields.last4": "Laatste 4 cijfers",
+ "workspace.auditLog.detail.fields.memberUserId": "Lidgebruikers-ID",
+ "workspace.auditLog.detail.fields.name": "Naam",
+ "workspace.auditLog.detail.fields.newAgentId": "Nieuwe agent-ID",
+ "workspace.auditLog.detail.fields.newKnowledgeBaseId": "Nieuwe kennisbank-ID",
+ "workspace.auditLog.detail.fields.oauthConnectionId": "OAuth-verbinding-ID",
+ "workspace.auditLog.detail.fields.operation": "Operatie",
+ "workspace.auditLog.detail.fields.paymentMethodId": "Betaalmethode-ID",
+ "workspace.auditLog.detail.fields.plan": "Plan",
+ "workspace.auditLog.detail.fields.previousDefaultMaxBudget": "Vorige standaard budget voor leden",
+ "workspace.auditLog.detail.fields.previousDefaultPaymentMethodId": "Vorige standaard betaalmethode",
+ "workspace.auditLog.detail.fields.previousEnabled": "Vorige ingeschakelde status",
+ "workspace.auditLog.detail.fields.previousMaxBudget": "Vorige budget voor leden",
+ "workspace.auditLog.detail.fields.previousMode": "Vorige modus",
+ "workspace.auditLog.detail.fields.previousMonthlyLimit": "Vorige maandelijkse limiet",
+ "workspace.auditLog.detail.fields.previousPermission": "Vorige toestemming",
+ "workspace.auditLog.detail.fields.previousPlan": "Vorig plan",
+ "workspace.auditLog.detail.fields.previousRole": "Vorige rol",
+ "workspace.auditLog.detail.fields.previousTargetBalance": "Vorig doelbedrag",
+ "workspace.auditLog.detail.fields.previousThreshold": "Vorige drempel",
+ "workspace.auditLog.detail.fields.previousVisibility": "Vorige zichtbaarheid",
+ "workspace.auditLog.detail.fields.providerCount": "Aantal providers",
+ "workspace.auditLog.detail.fields.providerIds": "Provider-ID's",
+ "workspace.auditLog.detail.fields.purchasedSeats": "Gekochte zitplaatsen",
+ "workspace.auditLog.detail.fields.quantity": "Hoeveelheid",
+ "workspace.auditLog.detail.fields.reason": "Reden",
+ "workspace.auditLog.detail.fields.removed": "Verwijderd",
+ "workspace.auditLog.detail.fields.resourceCounts": "Aantal bronnen",
+ "workspace.auditLog.detail.fields.resourceIds": "Voorbeelden van bron-ID's",
+ "workspace.auditLog.detail.fields.role": "Rol",
+ "workspace.auditLog.detail.fields.seats": "Zitplaatsen",
+ "workspace.auditLog.detail.fields.skipped": "Overgeslagen",
+ "workspace.auditLog.detail.fields.slug": "Slug",
+ "workspace.auditLog.detail.fields.source": "Bron",
+ "workspace.auditLog.detail.fields.sourceAgentId": "Bron-agent-ID",
+ "workspace.auditLog.detail.fields.sourceAgentIds": "Bron-agent-ID's",
+ "workspace.auditLog.detail.fields.sourceGroupIds": "Bron-groep-ID's",
+ "workspace.auditLog.detail.fields.sourceKbId": "Bron kennisbank-ID",
+ "workspace.auditLog.detail.fields.sourcePaymentMethodId": "Bron betaalmethode-ID",
+ "workspace.auditLog.detail.fields.sourceWorkspaceId": "Bron werkruimte-ID",
+ "workspace.auditLog.detail.fields.stripeId": "Stripe-ID",
+ "workspace.auditLog.detail.fields.stripeInvoiceId": "Stripe-factuur-ID",
+ "workspace.auditLog.detail.fields.stripePaymentIntentId": "Stripe-betaling intentie-ID",
+ "workspace.auditLog.detail.fields.stripeSessionId": "Stripe-sessie-ID",
+ "workspace.auditLog.detail.fields.subscriptionId": "Abonnement-ID",
+ "workspace.auditLog.detail.fields.targetPlan": "Doelplan",
+ "workspace.auditLog.detail.fields.targetUserId": "Doelgebruikers-ID",
+ "workspace.auditLog.detail.fields.targetWorkspaceId": "Doel werkruimte-ID",
+ "workspace.auditLog.detail.fields.triggerRemainingBalance": "Trigger resterend saldo",
+ "workspace.auditLog.detail.fields.triggerType": "Triggertype",
+ "workspace.auditLog.detail.fields.unitPrice": "Eenheidsprijs",
+ "workspace.auditLog.detail.fields.updated": "Bijgewerkt",
+ "workspace.auditLog.detail.metadata": "Details van de operatie",
+ "workspace.auditLog.detail.operationTime": "Operatietijd",
+ "workspace.auditLog.detail.rawData": "Ruwe auditgegevens",
+ "workspace.auditLog.detail.summary": "Samenvatting",
+ "workspace.auditLog.detail.view": "Details bekijken",
+ "workspace.auditLog.empty": "Nog geen auditlogs",
+ "workspace.auditLog.filters.allActions": "Alle acties",
+ "workspace.auditLog.filters.allResourceTypes": "Alle brontypes",
+ "workspace.auditLog.filters.endDate": "Einddatum",
+ "workspace.auditLog.filters.reset": "Resetten",
+ "workspace.auditLog.filters.searchPlaceholder": "Zoek operator, actie, bron of IP",
+ "workspace.auditLog.filters.startDate": "Startdatum",
+ "workspace.auditLog.loadFailed": "Laden van auditlogs mislukt",
+ "workspace.auditLog.loadMore": "Meer laden",
+ "workspace.auditLog.resourceTypes.agent": "Agent",
+ "workspace.auditLog.resourceTypes.api_key": "API-sleutel",
+ "workspace.auditLog.resourceTypes.auto_top_up": "Automatisch opwaarderen",
+ "workspace.auditLog.resourceTypes.budget": "Budget",
+ "workspace.auditLog.resourceTypes.credential": "Referentie",
+ "workspace.auditLog.resourceTypes.document": "Document",
+ "workspace.auditLog.resourceTypes.file": "Bestand",
+ "workspace.auditLog.resourceTypes.integration": "Integratie",
+ "workspace.auditLog.resourceTypes.invitation": "Uitnodiging",
+ "workspace.auditLog.resourceTypes.knowledge_base": "Kennisbank",
+ "workspace.auditLog.resourceTypes.market_identity": "Marktidentiteit",
+ "workspace.auditLog.resourceTypes.member": "Lid",
+ "workspace.auditLog.resourceTypes.member_budget": "Ledenbudget",
+ "workspace.auditLog.resourceTypes.page": "Pagina",
+ "workspace.auditLog.resourceTypes.payment_method": "Betaalmethode",
+ "workspace.auditLog.resourceTypes.provider": "Provider",
+ "workspace.auditLog.resourceTypes.security_policy": "Beveiligingsbeleid",
+ "workspace.auditLog.resourceTypes.skill": "Vaardigheid",
+ "workspace.auditLog.resourceTypes.subscription": "Abonnement",
+ "workspace.auditLog.resourceTypes.top_up": "Opwaarderen",
+ "workspace.auditLog.resourceTypes.webhook": "Webhook",
+ "workspace.auditLog.resourceTypes.workspace": "Werkruimte",
+ "workspace.auditLog.resourceTypes.workspace_data": "Werkruimtegegevens",
+ "workspace.auditLog.resourceTypes.workspace_freeze": "Werkruimte bevriezen",
+ "workspace.auditLog.title": "Auditlogs",
+ "workspace.auditLog.upgrade.benefits.billing.desc": "Houd wijzigingen in abonnementen en betaalmethoden in één traceerbaar record.",
+ "workspace.auditLog.upgrade.benefits.billing.title": "Factureringsaudittrail",
+ "workspace.auditLog.upgrade.benefits.member.desc": "Weet wie leden heeft uitgenodigd, verwijderd of gewijzigd voordat risico's zich verspreiden.",
+ "workspace.auditLog.upgrade.benefits.member.title": "Ledenactiviteit traceren",
+ "workspace.auditLog.upgrade.benefits.permission.desc": "Bekijk wijzigingen in providers, sleutels, budgetten en werkruimte-instellingen met context.",
+ "workspace.auditLog.upgrade.benefits.permission.title": "Toestemmingswijzigingen bekijken",
+ "workspace.auditLog.upgrade.cta": "Upgrade naar Business",
+ "workspace.auditLog.upgrade.desc": "Volg ledenactiviteit, toestemmingswijzigingen, factureringsgebeurtenissen en IP-details zodat eigenaren snel kunnen zien wie wat en wanneer heeft gewijzigd.",
+ "workspace.auditLog.upgrade.title": "Ontgrendel auditlogs voordat problemen incidenten worden",
"workspace.billing.basicHint": "Basiswerkruimte · gedeelde maandelijkse pool",
"workspace.billing.credits.label": "Credits deze maand",
"workspace.billing.freeHint": "Gratis werkruimte · gedeelde maandelijkse pool",
@@ -1284,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Basiswerkruimte · gedeelde maandelijkse pool · geen betaalde plaatsen",
"workspace.billingPage.billing.basic.title": "Basiswerkruimte",
"workspace.billingPage.billing.basic.upgradeCta": "Upgrade naar Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Gecorrigeerde aanpassing",
"workspace.billingPage.billing.billingPeriodModal.body": "De factureringsperiode van uw werkruimte wordt gewijzigd van {{current}} naar {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Annuleren",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Factureringsperiode wijzigen",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Gecorrigeerd tegoed voor ongebruikte tijd in de huidige periode",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Kon de prijsvoorvertoning niet laden. Probeer het opnieuw.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Opnieuw proberen",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "De wijziging wordt van kracht na afloop van de huidige periode.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "De wijziging wordt van kracht na afloop van de huidige periode op {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Werkruimte zitplaatsen",
"workspace.billingPage.billing.billingPeriodModal.title": "Factureringsperiode wijzigen?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "jaar",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} zitplaats · {{credits}} credits / maand",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} zitplaatsen · {{credits}} credits / maand",
"workspace.billingPage.billing.breakdown.extraSeats": "Extra zitplaatsen",
@@ -1382,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Schakelt over naar {{plan}} {{interval}} met {{seats}} plaatsen op {{date}}. Zorg voor voldoende saldo op uw account.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Annuleer de geplande wijziging voordat u uw abonnement wijzigt.",
"workspace.billingPage.billing.pending.keepPlanCta": "Behoud {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Behoud {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Deze werkruimte heeft momenteel {{currentSeats}} plaatsen en zal veranderen naar {{seats}} plaatsen op {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Wijzigt naar {{seats}} plaatsen op {{date}}. Zorg voor voldoende saldo op uw account.",
"workspace.billingPage.billing.pending.seatsTitle": "Plaatswijziging gepland",
@@ -1412,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Plaatsen kopen",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Koop meer plaatsen voor het {{plan}} {{interval}} plan.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Meer plaatsen kopen?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Bezig met berekenen…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Annuleren",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "U wordt doorgestuurd naar de kassa om de betaling te voltooien.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Upgraden",
@@ -1429,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Facturering bekijken",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "De update van de werkruimteplaatsen is opgeslagen.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Gereed",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "We konden deze update niet voltooien. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Probeer opnieuw",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Update mislukt",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Leden uitnodigen",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "De pro rata plaatskosten zijn in rekening gebracht op uw huidige betaalmethode.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} in rekening gebracht · Bedrag in facturering",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Betalingsresultaat",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Er is geen betaling in rekening gebracht. De wijziging is gepland voor de volgende factureringscyclus.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Geüpgraded naar {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Abonnement geüpgraded",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} totale plaatsen zijn nu beschikbaar, inclusief {{purchasedSeats}} vooraf betaalde extra plaatsen.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Resultaat plaatsaankoop",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} totale plaatsen worden toegepast in de volgende factureringscyclus, inclusief {{purchasedSeats}} vooraf betaalde extra plaatsen.",
@@ -1646,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Minder weergeven",
"workspace.billingPage.usage.model.unknown": "Onbekend model",
"workspace.billingPage.usage.ops": "Operaties",
+ "workspace.billingPage.usage.privateAgents": "Privé-agenten",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Aantal privé-agenten in eigendom van dit lid. Eigenaren kunnen het aantal zien voor boekhouding, maar niet de inhoud van de agent.",
"workspace.billingPage.usage.range.30d": "Laatste 30 dagen",
"workspace.billingPage.usage.range.all": "Alle tijd",
"workspace.billingPage.usage.range.cycle": "Deze cyclus",
@@ -1860,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Account aanmaken & lid worden",
"workspace.invitePage.switchAccountToAccept": "Log in als {{email}} om te accepteren",
"workspace.invitePage.title": "Werkruimte Uitnodiging",
+ "workspace.invitePage.viewerLimitSubtitle": "Deze werkruimte heeft de kijkerslimiet bereikt. Vraag een eigenaar om een kijkersstoel vrij te maken of het plan te upgraden voordat je lid wordt.",
+ "workspace.invitePage.viewerLimitTitle": "Kijkerslimiet bereikt",
"workspace.invitePage.workspaceLimitSubtitle": "U heeft het maximum van {{limit}} werkruimtes bereikt. Verlaat er een voordat u een andere toevoegt.",
"workspace.invitePage.workspaceLimitTitle": "Werkruimte Limiet Bereikt",
"workspace.member.demote": "Degraderen tot lid",
@@ -1904,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Primair eigenaarschap overdragen",
"workspace.members.empty": "Nog geen leden",
"workspace.members.invite.addAnother": "Nog een toevoegen",
+ "workspace.members.invite.askOwnerToBuySeats": "Vraag de werkruimte-eigenaar om meer zitplaatsen te kopen voordat je nieuwe leden uitnodigt.",
"workspace.members.invite.button": "Uitnodigen",
+ "workspace.members.invite.buySeatsCta": "Zitplaatsen kopen",
"workspace.members.invite.emailLabel": "E-mailadres",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} heeft al een lopende uitnodiging. Stuur opnieuw of trek deze in via de onderstaande lijst.",
"workspace.members.invite.errors.alreadyMember": "{{email}} is al lid van deze werkruimte.",
"workspace.members.invite.failed": "Uitnodiging verzenden mislukt",
+ "workspace.members.invite.invitationLimitReached": "Deze werkruimte heeft de limiet van {{limit}} openstaande uitnodigingen bereikt. Trek uitnodigingen in of wacht tot ongebruikte uitnodigingen verlopen voordat je nieuwe verstuurt.",
"workspace.members.invite.limitReached": "Deze werkruimte kan maximaal {{limit}} leden hebben. Verwijder een lid voordat je meer uitnodigt.",
"workspace.members.invite.modal.cancel": "Annuleren",
"workspace.members.invite.modal.confirm": "Bevestigen",
@@ -1920,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Extra rechten zijn vereist om teamleden te beheren",
"workspace.members.invite.partialSuccess": "{{success}} uitgenodigd, {{failed}} mislukt. Controleer de adressen en probeer opnieuw.",
"workspace.members.invite.roleLabel": "Rol",
+ "workspace.members.invite.seatInsufficient": "Slechts {{remaining}} zitplaats(en) over. Koop meer zitplaatsen om {{required}} nieuw(e) lid(leden) uit te nodigen.",
+ "workspace.members.invite.seatInsufficientNoBuy": "Slechts {{remaining}} zitplaats(en) over. Vraag de werkruimte-eigenaar om meer zitplaatsen te kopen.",
"workspace.members.invite.submit": "Uitnodigen",
"workspace.members.invite.subtitle": "Voeg nieuwe leden toe door hun e-mailadres in te voeren en een rol toe te wijzen",
"workspace.members.invite.success": "Teamleden succesvol uitgenodigd.",
@@ -1998,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Kies een paar om te beginnen — ontdek meer op elk moment.",
"workspace.onboarding.step4.cta": "Werkruimte betreden",
"workspace.onboarding.step4.heading": "{{name}} is klaar!",
+ "workspace.onboarding.step4.marketProfileNudge": "We hebben een Community-profiel ingesteld voor <strong>{{name}}</strong> zodat werkruimte-agenten kunnen worden geïnstalleerd. <cta>Pas het aan in Community</cta>.",
"workspace.onboarding.step4.subtitle": "Uw werkruimte is ingesteld. Ga aan de slag en begin met samenwerken met uw team.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agent(en) klaar om te helpen. Ga aan de slag en begin met samenwerken met uw team.",
"workspace.onboarding.step4Invite.addMore": "Nog een e-mail toevoegen",
@@ -2005,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Voltooien",
"workspace.onboarding.step4Invite.heading": "Nodig uw team uit",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} lid(en) uitgenodigd",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Je kunt maximaal {{max}} teamgenoot/genoten uitnodigen met je huidige zitplaatsen.",
"workspace.onboarding.step4Invite.subtitle": "Breng teamgenoten nu in deze werkruimte, of nodig ze later uit via de ledeninstellingen.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Uw plan bevat {{includedSeats}} gratis plaatsen en ondersteunt tot {{maxSeats}} plaatsen met extra gekochte plaatsen. Nodig teamgenoten nu uit, of voeg ze later toe via de ledeninstellingen.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby bevat maximaal {{maxSeats}} plaatsen, inclusief uzelf. Nodig teamgenoten nu uit, of voeg ze later toe via de ledeninstellingen.",
"workspace.onboarding.stepLabel": "Stap {{current}} van {{total}}",
"workspace.onboarding.title": "Stel je werkruimte in",
"workspace.onboarding.toast.failed": "Kon niet opslaan. Probeer opnieuw.",
+ "workspace.onboarding.toast.installAgentsFailed": "Kon de geselecteerde agenten niet toevoegen. Je kunt ze later installeren vanuit de marktplaats.",
"workspace.onboarding.toast.saved": "Opgeslagen",
"workspace.permission.requiresMember": "Je hebt geen toestemming om dit te doen. Vraag een werkruimte-eigenaar om je Lid of hoger te maken.",
"workspace.permission.requiresOwner": "Alleen werkruimte-eigenaren kunnen dit doen. Vraag een eigenaar als je dit wilt wijzigen.",
@@ -2048,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Ontgrendel samenwerking, grotere credits en hogere limieten.",
"workspace.upgradeModal.successPage.activating": "Uw abonnement wordt geactiveerd — dit duurt meestal een paar seconden…",
"workspace.upgradeModal.successPage.amountLabel": "Totaal betaald",
- "workspace.upgradeModal.successPage.continueCta": "Uitnodigen & doorgaan",
"workspace.upgradeModal.successPage.desc": "{{name}} is nu op Pro. Nodig teamleden uit om samen te werken.",
- "workspace.upgradeModal.successPage.inviteDesc": "Stuur uitnodigingen per e-mail. Ze ontvangen een link om lid te worden van de werkruimte.",
- "workspace.upgradeModal.successPage.inviteTitle": "Nodig teamleden uit voor {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Betaald op",
"workspace.upgradeModal.successPage.planTag": "Werkruimte Pro",
"workspace.upgradeModal.successPage.processingDesc": "Even geduld — we bevestigen de betaling met Stripe. Dit duurt meestal een paar seconden.",
@@ -2061,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Factureringscyclus",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} inbegrepen stoel",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} inbegrepen stoelen",
- "workspace.upgradeModal.successPage.skipCta": "Nu overslaan",
"workspace.upgradeModal.successPage.title": "Upgrade voltooid",
"workspace.upgradeModal.successToast": "Upgrade voltooid — uw plan wordt vernieuwd…",
"workspace.upgradeModal.title": "Upgrade naar Pro",
@@ -2132,12 +2377,14 @@
"workspace.wizard.step2.features.basic.onDemand": "Gebruik op aanvraag · Automatisch aanvullen (${{price}} / 1M credits)",
"workspace.wizard.step2.features.basic.share": "De eerste 3 leden zijn gratis, inclusief uzelf",
"workspace.wizard.step2.features.basic.upgradable": "Upgrade op elk moment voor meer plaatsen",
+ "workspace.wizard.step2.features.business.auditLog": "Auditlogs",
"workspace.wizard.step2.features.free.members": "Tot 3 leden, geen betaalde plaatsen",
"workspace.wizard.step2.features.free.onDemand": "Gebruik op aanvraag · Automatisch aanvullen (${{price}} / 1M credits)",
"workspace.wizard.step2.features.free.share": "De eerste 3 leden zijn gratis, inclusief uzelf",
"workspace.wizard.step2.features.free.upgradable": "Upgrade op elk moment voor meer plaatsen",
"workspace.wizard.step2.features.pro.adminControls": "Gecentraliseerde facturering, rollen en auditlogs",
"workspace.wizard.step2.features.pro.collaboration": "Nodig leden uit · deel agenten en bestanden",
+ "workspace.wizard.step2.features.pro.memberBudget": "Budgetbeheer per lid",
"workspace.wizard.step2.features.pro.onDemand": "Gebruik op aanvraag · AutoTopUp (${{price}}/M)",
"workspace.wizard.step2.features.pro.priorityModels": "Prioriteit premium modellen",
"workspace.wizard.step2.features.pro.support": "Prioriteit e-mailondersteuning",
@@ -2204,6 +2451,7 @@
"workspaceSetting.storage.danger.reset.title": "Werkruimte-instellingen resetten",
"workspaceSetting.storage.telemetry.desc": "Help ons {{appName}} te verbeteren met anonieme gebruiksgegevens van de werkruimte",
"workspaceSetting.storage.telemetry.title": "Anonieme gebruiksgegevens van werkruimte verzenden",
+ "workspaceSetting.tab.auditLog": "Auditlogs",
"workspaceSetting.tab.general": "Algemeen",
"workspaceSetting.tab.members": "Leden",
"workspaceSetting.tab.skill": "Vaardigheden"
diff --git a/locales/nl-NL/spend.json b/locales/nl-NL/spend.json
index 16e397dfd67..29e1dfc1ae5 100644
--- a/locales/nl-NL/spend.json
+++ b/locales/nl-NL/spend.json
@@ -40,5 +40,28 @@
"table.more": "Bekijk details",
"table.title": "Details van rekencreditsgebruik",
"table.totalToken.input": "Invoer",
- "table.totalToken.output": "Uitvoer"
+ "table.totalToken.output": "Uitvoer",
+ "usageStats.breakdown.cost": "Kosten",
+ "usageStats.breakdown.model": "Model",
+ "usageStats.breakdown.requests": "Verzoeken",
+ "usageStats.breakdown.title": "Gebruik per model",
+ "usageStats.breakdown.totalTokens": "Tokens",
+ "usageStats.byDay": "Per dag",
+ "usageStats.byWeek": "Per week",
+ "usageStats.cards.cacheDesc": "Hit rate {{rate}}% · Gelezen {{read}}",
+ "usageStats.cards.cacheSavings": "Cachebesparingen",
+ "usageStats.cards.cost": "Kosten",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Invoer {{input}} · Uitvoer {{output}}",
+ "usageStats.chart.cacheWrite": "Cache schrijven",
+ "usageStats.chart.input": "Invoer",
+ "usageStats.chart.output": "Uitvoer",
+ "usageStats.chart.spend": "Kosten",
+ "usageStats.chart.title": "Wanneer deze agent uitgaf",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Dimensie",
+ "usageStats.entry": "Gebruik & Kosten",
+ "usageStats.range": "Tijdsbereik",
+ "usageStats.rangeSuffix": "Laatste {{count}}d",
+ "usageStats.title": "Gebruik & Kosten"
}
diff --git a/locales/nl-NL/topic.json b/locales/nl-NL/topic.json
index 6dc5cd95b16..1fd4578a69b 100644
--- a/locales/nl-NL/topic.json
+++ b/locales/nl-NL/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Alle groepen uitvouwen",
"sidebar.title": "Onderwerpen",
"taskManager.agent": "Taakagent",
+ "taskManager.agentSelector.privateGroup": "Privé",
+ "taskManager.agentSelector.workspaceGroup": "Werkruimte",
"taskManager.welcome": "Vraag me naar je taken",
"temp": "Tijdelijk",
"title": "Onderwerp"
diff --git a/locales/nl-NL/video.json b/locales/nl-NL/video.json
index 7bcd418fb80..63d997d1bde 100644
--- a/locales/nl-NL/video.json
+++ b/locales/nl-NL/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Nieuw Onderwerp Maken",
"topic.deleteConfirm": "Videothema Verwijderen",
"topic.deleteConfirmDesc": "Je staat op het punt dit videothema te verwijderen. Deze actie kan niet ongedaan worden gemaakt.",
+ "topic.privateTitle": "Privé",
"topic.title": "Videothema's",
- "topic.untitled": "Standaardonderwerp"
+ "topic.untitled": "Standaardonderwerp",
+ "topic.visibility.existingLocked": "De zichtbaarheid is vastgezet voor het huidige onderwerp. Maak een nieuw onderwerp om een andere ruimte te kiezen.",
+ "topic.workspaceTitle": "Werkruimte"
}
diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.json
index ea49874d683..ad70b2bc883 100644
--- a/locales/pl-PL/chat.json
+++ b/locales/pl-PL/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Model",
"active": "Aktywny",
+ "addAgentFromMarket": "Dodaj z Rynku",
+ "agent.publishToWorkspace": "Opublikuj w przestrzeni roboczej",
+ "agent.publishToWorkspaceConfirm": "Inni członkowie przestrzeni roboczej będą mogli korzystać z tego agenta. Nie będziesz mógł ponownie uczynić go prywatnym.",
+ "agent.publishToWorkspaceSuccess": "Opublikowano w przestrzeni roboczej",
"agentBuilder.installPlugin.authRequired": "Aby kontynuować, zaloguj się do Cloud MCP",
"agentBuilder.installPlugin.cancel": "Anuluj",
"agentBuilder.installPlugin.clickApproveToConnect": "Kliknij „Zatwierdź”, aby połączyć i autoryzować tę integrację",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Zapisano to na potrzeby przyszłych odpowiedzi",
"agentSignal.receipts.memory.title": "Pamięć zapisana",
"agentSignal.receipts.recentActivity": "Ostatnia aktywność",
+ "agentSignal.receipts.revert.conflict": "Nowsza wersja",
+ "agentSignal.receipts.revert.failed": "Niepowodzenie",
+ "agentSignal.receipts.revert.not_found": "Nie można cofnąć",
+ "agentSignal.receipts.revert.pending": "Cofanie",
+ "agentSignal.receipts.revert.rolled_back": "Cofnięto",
+ "agentSignal.receipts.revert.undo": "Cofnij",
+ "agentSignal.receipts.revert.unsupported": "Nieobsługiwane",
"agentSignal.receipts.skill.detail": "Ulepszono sposób obsługi podobnych żądań przez tego asystenta",
"agentSignal.receipts.skill.title": "Umiejętność zaktualizowana",
"agents": "Agenci",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Wywołania narzędzi",
"chatMode.agentCap.web": "Wyszukiwanie w sieci",
"chatMode.agentDesc": "Agent może używać narzędzi i środowiska do automatycznego wykonywania zadań",
+ "chatMode.agentUnsupported": "Obecny model nie obsługuje wywoływania narzędzi",
"chatMode.chat": "Czat",
"chatMode.chatDesc": "Brak środowiska uruchomieniowego ani autonomii; używa mniej tokenów",
"chatMode.select": "Przełącz tryb",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Dodaj opis...",
"createTask.submit": "Utwórz zadanie",
"createTask.titlePlaceholder": "Tytuł zadania",
+ "createTask.visibility.changeFailed": "Nie udało się zmienić widoczności zadania",
+ "createTask.visibility.helperPrivate": "Tylko Ty możesz zobaczyć to zadanie.",
+ "createTask.visibility.helperWorkspace": "Wszyscy w tym obszarze roboczym mogą zobaczyć to zadanie.",
+ "createTask.visibility.label": "Widoczność",
+ "createTask.visibility.private": "Prywatne",
+ "createTask.visibility.privateAgentDisabled": "Prywatni agenci mogą uruchamiać tylko prywatne zadania. Wybierz agenta obszaru roboczego lub zmień to zadanie na Prywatne.",
+ "createTask.visibility.privateAgentLocked": "Prywatni agenci mogą uruchamiać tylko prywatne zadania.",
+ "createTask.visibility.workspace": "Obszar roboczy",
"defaultAgent": "Domyślny Agent",
"defaultGroupChat": "Grupa",
"defaultList": "Lista domyślna",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Sugestie dla wpisu wstrzymane",
"input.modelUnavailable": "Obecny model nie jest już dostępny. Wybierz inny model, aby kontynuować.",
"input.more": "Więcej",
+ "input.sandboxModeNotice": "Uruchamianie w tymczasowej Chmurze Sandbox. Lokalne uruchomienia są szybsze i mają dostęp do Twoich plików.",
"input.send": "Wyślij",
"input.sendWithCmdEnter": "Naciśnij <key/>, aby wysłać",
"input.sendWithEnter": "Naciśnij <key/>, aby wysłać",
"input.stop": "Zatrzymaj",
+ "input.switchToLocal": "Użyj lokalnej maszyny",
"input.warp": "Nowa linia",
"input.warpWithKey": "Naciśnij <key/>, aby wstawić nową linię",
"inputQueue.delete": "Usuń",
@@ -364,10 +386,13 @@
"memory.on.title": "Włącz Pamięć",
"memory.title": "Pamięć",
"mention.category.agents": "Agenci",
+ "mention.category.files": "Pliki",
"mention.category.members": "Członkowie",
+ "mention.category.privateAgents": "Prywatne",
"mention.category.skills": "Umiejętności",
"mention.category.tools": "Narzędzia",
"mention.category.topics": "Tematy",
+ "mention.category.workspaceAgents": "Obszar roboczy",
"mention.title": "Wspomnij członków",
"messageAction.collapse": "Zwiń wiadomość",
"messageAction.continueGeneration": "Kontynuuj generowanie",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Co powinienem zrobić zamiast tego?",
"messageAction.reaction": "Dodaj reakcję",
"messageAction.regenerate": "Wygeneruj ponownie",
+ "messageAction.select": "Wybierz",
+ "messageForward.bar.cancel": "Anuluj",
+ "messageForward.bar.delete": "Usuń",
+ "messageForward.bar.forward": "Prześlij dalej",
+ "messageForward.bar.selectToHere": "Wybierz do tego miejsca",
+ "messageForward.bar.selected": "Wybrano {{count}}",
+ "messageForward.deleteConfirm.desc": "Usunąć wybrane {{count}} wiadomości? Tego nie można cofnąć.",
+ "messageForward.deleteConfirm.success": "Usunięto {{count}} wiadomości",
+ "messageForward.deleteConfirm.title": "Usuń wiadomości",
+ "messageForward.empty": "Wybierz co najmniej jedną wiadomość do przesłania dalej",
+ "messageForward.modal.empty": "Brak dostępnych innych agentów",
+ "messageForward.modal.moreMessages": "+{{count}} więcej wiadomości",
+ "messageForward.modal.noRecipients": "Wybierz agentów po lewej, aby przesłać dalej",
+ "messageForward.modal.notePlaceholder": "Dodaj notatkę (opcjonalnie) — wysłana razem z wiadomościami",
+ "messageForward.modal.recipients": "Wyślij do ({{count}})",
+ "messageForward.modal.removeRecipient": "Usuń odbiorcę",
+ "messageForward.modal.searchPlaceholder": "Szukaj agentów…",
+ "messageForward.modal.sendCount": "Prześlij dalej ({{count}})",
+ "messageForward.modal.title": "Prześlij do Agenta",
+ "messageForward.role.agent": "Agent",
+ "messageForward.role.assistant": "Asystent",
+ "messageForward.role.user": "Użytkownik",
+ "messageForward.success": "Przesłano do {{title}}",
+ "messageForward.successMulti": "Przesłano do {{count}} agentów",
+ "messageForward.transcript.header": "Poniższe {{count}} wiadomości zostały przesłane z innej rozmowy. Użyj ich jako kontekstu i kontynuuj:",
"messageLongCollapse.collapse": "Pokaż mniej",
"messageLongCollapse.expand": "Pokaż więcej",
"messages.dm.sentTo": "Widoczne tylko dla {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Usuń przekształcone zapytanie",
"rag.userQuery.actions.regenerate": "Wygeneruj zapytanie ponownie",
"regenerate": "Wygeneruj ponownie",
+ "resources.knowledgePicker.publicAgentHint": "Publiczni agenci mogą odwoływać się tylko do zasobów obszaru roboczego. Opublikuj prywatny zasób w obszarze roboczym, jeśli chcesz go dołączyć.",
+ "resources.mode.privateHint": "Twoja własna szuflada — tylko Ty możesz zobaczyć te pliki",
+ "resources.mode.workspaceHint": "Udostępnione wszystkim w tym obszarze roboczym",
+ "resources.publishToWorkspace.confirm": "Inni członkowie obszaru roboczego będą mogli zobaczyć ten plik. Nie będziesz mógł ponownie ustawić go jako prywatny.",
+ "resources.publishToWorkspace.error": "Nie udało się opublikować pliku w obszarze roboczym",
+ "resources.publishToWorkspace.menu": "Opublikuj w Obszarze Roboczym",
+ "resources.publishToWorkspace.success": "Opublikowano w obszarze roboczym",
+ "resources.visibility.label": "Widoczność",
+ "resources.visibility.private": "Prywatne",
+ "resources.visibility.privateTooltip": "Tylko Ty możesz zobaczyć ten plik",
+ "resources.visibility.workspace": "Obszar roboczy",
"roleAndArchive": "Profil agenta i historia",
"runtimeEnv.mode.cloud": "Chmura Sandbox",
"runtimeEnv.mode.cloudDesc": "Uruchom w bezpiecznym środowisku chmurowym",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Brak dostępnych agentów",
"sessionGroup.noMatchingAgents": "Nie znaleziono pasujących agentów",
"sessionGroup.noSelectedAgents": "Wybierz agentów",
+ "sessionGroup.publishToWorkspace": "Opublikuj w przestrzeni roboczej",
+ "sessionGroup.publishToWorkspaceConfirm": "Inni członkowie przestrzeni roboczej będą mogli korzystać z tego folderu. Nie będziesz mógł ponownie uczynić go prywatnym.",
+ "sessionGroup.publishToWorkspaceSuccess": "Opublikowano w przestrzeni roboczej",
"sessionGroup.rename": "Zmień nazwę grupy",
"sessionGroup.renameSuccess": "Zmieniono nazwę pomyślnie",
"sessionGroup.searchAgents": "Szukaj agentów",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normalny",
"taskDetail.priority.urgent": "Pilny",
"taskDetail.properties": "Właściwości",
+ "taskDetail.publishToWorkspace.confirmContent": "Po opublikowaniu to zadanie stanie się widoczne dla wszystkich członków obszaru roboczego i nie będzie można go ponownie ustawić jako prywatne.",
+ "taskDetail.publishToWorkspace.confirmHint": "Przeszłe uruchomienia pozostaną prywatne. Tylko uruchomienia utworzone po opublikowaniu będą widoczne dla członków obszaru roboczego.",
+ "taskDetail.publishToWorkspace.confirmOk": "Opublikuj",
+ "taskDetail.publishToWorkspace.confirmTitle": "Opublikować zadanie w obszarze roboczym?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "To zadanie jest przypisane do prywatnego agenta. Przypisz do agenta obszaru roboczego lub najpierw opublikuj agenta.",
+ "taskDetail.publishToWorkspace.menuLabel": "Opublikuj w Obszarze Roboczym",
"taskDetail.reassignDisabled": "Nie można zmienić przypisanego agenta podczas wykonywania zadania",
"taskDetail.replyInThread": "Odpowiedz w tym wątku",
"taskDetail.replyPlaceholder": "Odpowiedz w tym wątku...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Tablica",
"taskList.view.list": "Lista",
"taskList.viewAll": "Wyświetl wszystkie",
+ "taskList.visibility.all": "Wszystkie",
+ "taskList.visibility.label": "Widoczność",
"taskSchedule.advancedSettings": "Ustawienia zaawansowane",
"taskSchedule.clear": "Wyczyść",
"taskSchedule.continuous": "Ciągłe",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Kopiuj ścieżkę",
"workingPanel.files.copyRelativePath": "Kopiuj ścieżkę względną",
- "workingPanel.files.count_one": "{{count}} plik",
- "workingPanel.files.count_other": "{{count}} pliki",
"workingPanel.files.empty": "Brak plików w tym obszarze roboczym",
+ "workingPanel.files.noSearchResults": "Brak pasujących plików",
"workingPanel.files.open": "Otwórz plik",
- "workingPanel.files.refresh": "Odśwież",
+ "workingPanel.files.searchPlaceholder": "Filtruj pliki...",
"workingPanel.files.showInReview": "Pokaż w przeglądzie",
"workingPanel.files.showInSystem": "Pokaż w folderze",
"workingPanel.files.title": "Pliki",
diff --git a/locales/pl-PL/common.json b/locales/pl-PL/common.json
index 78fafbda5b8..bb666888c68 100644
--- a/locales/pl-PL/common.json
+++ b/locales/pl-PL/common.json
@@ -1,5 +1,6 @@
{
"about": "O nas",
+ "addNew": "Dodaj nowy",
"advanceSettings": "Ustawienia zaawansowane",
"agentOnboardingPromo.actionLabel": "Wypróbuj teraz",
"agentOnboardingPromo.description": "Skonfiguruj swoje zespoły agentów w krótkiej rozmowie z Lobe AI. Twoi obecni agenci pozostaną bez zmian.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Weryfikacja zasad dotyczących treści nie powiodła się. Proszę zmodyfikować swój prompt.",
"getDesktopApp": "Pobierz aplikację na komputer",
"goToTarget": "Przejdź do celu",
+ "gotIt": "Zrozumiałem",
"historyRange": "Zakres historii",
"home.suggestQuestions": "Wypróbuj te przykłady",
"import": "Importuj",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Przenieś w dół",
"navPanel.moveUp": "Przenieś w górę",
"navPanel.pinned": "Przypięte",
+ "navPanel.privateAgents": "Prywatne",
+ "navPanel.publicAgents": "Przestrzeń robocza",
"navPanel.resetDefault": "Przywróć ustawienia domyślne",
"navPanel.searchAgent": "Szukaj agenta...",
"navPanel.searchRecent": "Szukaj w ostatnich...",
diff --git a/locales/pl-PL/discover.json b/locales/pl-PL/discover.json
index 6d998349aa1..85e4af1a9b4 100644
--- a/locales/pl-PL/discover.json
+++ b/locales/pl-PL/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "rozwidlenia",
"fork.forksCount": "{{count}} rozwidlenie",
"fork.forksCount_other": "{{count}} rozwidleń",
+ "fork.orgSetupRequired.memberContent": "Ten obszar roboczy nie ma jeszcze skonfigurowanego profilu społeczności, więc forki z marketplace nie mogą być tutaj zapisane. Proszę poprosić właściciela obszaru roboczego o skonfigurowanie go w sekcji Społeczność → Obszar roboczy.",
+ "fork.orgSetupRequired.ownerContent": "Ten obszar roboczy nie ma jeszcze skonfigurowanego profilu społeczności. Skonfiguruj go, aby móc dodawać agentów z marketplace do swojego obszaru roboczego.",
+ "fork.orgSetupRequired.ownerOk": "Przejdź do konfiguracji",
+ "fork.orgSetupRequired.title": "Wymagana konfiguracja profilu społeczności",
"fork.success": "Pomyślnie rozwidlono!",
"fork.viewAllForks": "Zobacz wszystkie rozwidlenia",
+ "fork.visibilityPrivate": "Prywatny",
+ "fork.visibilityPublic": "Obszar roboczy",
"groupAgents.tag": "Grupa",
"groupAgents.underReview": "W trakcie przeglądu",
"home.communityAgents": "Agenci Społeczności",
diff --git a/locales/pl-PL/editor.json b/locales/pl-PL/editor.json
index 549367b72d1..fd83c833650 100644
--- a/locales/pl-PL/editor.json
+++ b/locales/pl-PL/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Umiejętność",
"actionTag.category.tool": "Narzędzie",
"actionTag.tooltip.agentSkill": "Ładuje pakiet umiejętności z dokumentów tego agenta dla żądania.",
+ "actionTag.tooltip.clickToView": "Kliknij, aby zobaczyć szczegóły",
"actionTag.tooltip.command": "Uruchamia polecenie slash po stronie klienta przed wysłaniem.",
"actionTag.tooltip.projectSkill": "Wysłane jako wywołanie ukośnika, aby CLI agenta uruchomiło pasującą umiejętność projektową.",
"actionTag.tooltip.skill": "Wczytuje pakiet umiejętności wielokrotnego użytku dla tego żądania.",
diff --git a/locales/pl-PL/electron.json b/locales/pl-PL/electron.json
index c689ea810f0..e8e182dbf6a 100644
--- a/locales/pl-PL/electron.json
+++ b/locales/pl-PL/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Ustawienia",
"navigation.task": "Zadanie",
"navigation.tasks": "Zadania",
+ "navigation.topics": "Tematy",
"navigation.unpin": "Odepnij",
"notification.finishChatGeneration": "Generowanie wiadomości AI zakończone",
"proxy.auth": "Wymagana autoryzacja",
diff --git a/locales/pl-PL/eval.json b/locales/pl-PL/eval.json
index 41f365e6de3..d191fc84408 100644
--- a/locales/pl-PL/eval.json
+++ b/locales/pl-PL/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Czy na pewno chcesz usunąć ten benchmark? Powiązane zestawy danych i rekordy oceny również zostaną usunięte.",
"benchmark.actions.edit": "Edytuj Benchmark",
"benchmark.actions.export": "Eksportuj",
+ "benchmark.card.bestPassRate": "Najlepszy wskaźnik zdawalności",
"benchmark.card.bestScore": "Najlepszy",
"benchmark.card.caseCount": "{{count}} przypadków",
+ "benchmark.card.casesLabel": "Przypadki",
"benchmark.card.datasetCount": "{{count}} zestawów danych",
"benchmark.card.empty": "Brak ocen",
"benchmark.card.emptyHint": "Utwórz nową ocenę na stronie szczegółów benchmarku",
+ "benchmark.card.evalsLabel": "Oceny",
"benchmark.card.importDataset": "Importuj Zestaw Danych",
"benchmark.card.noDataset": "Brak zestawów danych",
"benchmark.card.noDatasetHint": "Zaimportuj zestaw danych, aby rozpocząć ocenianie",
"benchmark.card.noRecentRuns": "Brak ostatnich ocen do wyświetlenia",
"benchmark.card.recentRuns": "Ostatnie Oceny",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} przed awarią",
+ "benchmark.card.run.queued": "W kolejce",
"benchmark.card.runCount": "{{count}} ocen",
"benchmark.card.startFirst": "Rozpocznij Pierwszą Ocenę",
"benchmark.card.viewAll": "Zobacz wszystkie {{count}}",
diff --git a/locales/pl-PL/file.json b/locales/pl-PL/file.json
index 3076d67ec2b..0904c715c5b 100644
--- a/locales/pl-PL/file.json
+++ b/locales/pl-PL/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Przenieś bibliotekę",
"library.list.transferTo": "Przenieś do…",
"library.new": "Nowa biblioteka",
+ "library.privateEmpty": "Utwórz prywatną bibliotekę",
+ "library.publish": "Opublikuj w przestrzeni roboczej",
+ "library.publishConfirm.content": "Wszyscy członkowie przestrzeni roboczej zobaczą tę bazę wiedzy. Tej akcji nie można cofnąć.",
+ "library.publishConfirm.title": "Opublikować bazę wiedzy w przestrzeni roboczej?",
"library.title": "Biblioteka",
+ "library.workspaceEmpty": "Utwórz bibliotekę przestrzeni roboczej",
"loadMore": "Załaduj więcej",
"menu.allFiles": "Wszystkie pliki",
"menu.allPages": "Wszystkie strony",
@@ -170,6 +175,13 @@
"pageList.noResults": "Nie znaleziono pasujących stron",
"pageList.pageCount": "Łącznie {{count}} stron",
"pageList.pageSizeItem": "{{count}} elementów",
+ "pageList.privateTitle": "Prywatne",
+ "pageList.publishConfirm.content": "Po opublikowaniu wszyscy w przestrzeni roboczej będą mogli zobaczyć tę stronę. Nie można później zmienić jej z powrotem na prywatną.",
+ "pageList.publishConfirm.ok": "Opublikuj",
+ "pageList.publishConfirm.title": "Opublikować w przestrzeni roboczej",
+ "pageList.publishError": "Nie udało się opublikować strony",
+ "pageList.publishSuccess": "Strona opublikowana w przestrzeni roboczej",
+ "pageList.publishToWorkspace": "Opublikuj w przestrzeni roboczej",
"pageList.title": "Strony",
"pageList.transferConfirm": "Przenieś",
"pageList.transferDescription": "Przenieś tę stronę (i wszystkie zawarte w niej foldery) do innej przestrzeni roboczej.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Przenieś do…",
"pageList.transferWarning": "To jest jednorazowe przeniesienie; cofnięcie wymaga kolejnego przeniesienia.",
"pageList.untitled": "Bez tytułu",
+ "pageList.workspaceTitle": "Przestrzeń robocza",
"portal.openInPageEditor": "Edytuj w stronie",
"preview.downloadFile": "Pobierz plik",
"preview.unsupportedFileAndContact": "Ten format pliku nie jest obecnie obsługiwany do podglądu online. Jeśli chcesz zgłosić zapotrzebowanie, <1>skontaktuj się z nami</1>.",
diff --git a/locales/pl-PL/image.json b/locales/pl-PL/image.json
index d1f7aff50b3..6dd999bc4f4 100644
--- a/locales/pl-PL/image.json
+++ b/locales/pl-PL/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Usuń temat generowania",
"topic.deleteConfirmDesc": "Zamierzasz usunąć ten temat generowania. Tej operacji nie można cofnąć, proszę zachować ostrożność.",
"topic.empty": "Brak tematów generowania",
+ "topic.privateTitle": "Prywatne",
"topic.title": "Temat obrazu",
- "topic.untitled": "Domyślny temat"
+ "topic.untitled": "Domyślny temat",
+ "topic.visibility.existingLocked": "Widoczność jest ustalona dla bieżącego tematu. Utwórz nowy temat, aby wybrać inną przestrzeń.",
+ "topic.workspaceTitle": "Przestrzeń robocza"
}
diff --git a/locales/pl-PL/models.json b/locales/pl-PL/models.json
index 1fc03f3f548..efd4e7955a3 100644
--- a/locales/pl-PL/models.json
+++ b/locales/pl-PL/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 to najbardziej inteligentny model firmy Anthropic do tej pory.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 to najlepsze połączenie szybkości i inteligencji firmy Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 by Anthropic — zrównoważony model o silnych możliwościach kodowania i rozumowania.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 to najbardziej agentowy model Sonnet firmy Anthropic, stworzony do długotrwałego kodowania, korzystania z narzędzi i przepływów pracy z długim kontekstem, z szybkością i wydajnością na poziomie Sonnet.",
"codegeex-4.description": "CodeGeeX-4 to potężny asystent programistyczny AI, obsługujący wielojęzyczne pytania i uzupełnianie kodu w celu zwiększenia produktywności programistów.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B to wielojęzyczny model generowania kodu obsługujący uzupełnianie i generowanie kodu, interpretację kodu, wyszukiwanie w sieci, wywoływanie funkcji i pytania na poziomie repozytorium. Obejmuje szeroki zakres scenariuszy programistycznych i jest jednym z najlepszych modeli kodu poniżej 10B parametrów.",
"codegemma.description": "CodeGemma to lekki model do różnorodnych zadań programistycznych, umożliwiający szybką iterację i integrację.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro to najpotężniejszy model agenta i kodowania nastrojów od Google, oferujący bogatsze wizualizacje i głębszą interakcję przy zaawansowanym rozumowaniu.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) to najszybszy natywny model generowania obrazów od Google z obsługą myślenia, generowaniem obrazów w rozmowach i edycją.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) to najszybszy natywny model generowania obrazów firmy Google, oferujący wsparcie dla myślenia, konwersacyjnego generowania obrazów i ich edycji.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) to najszybszy i najbardziej opłacalny model generowania obrazów firmy Google, stworzony do masowej generacji i edycji.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) to najszybszy i najbardziej opłacalny model generowania obrazów firmy Google, stworzony do masowej generacji i edycji.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview to najbardziej ekonomiczny model multimodalny Google, zoptymalizowany do zadań agentowych o dużej skali, tłumaczeń i przetwarzania danych.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite to najbardziej opłacalny model multimodalny Google, zoptymalizowany do zadań agentowych o dużej skali, tłumaczeń i przetwarzania danych.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview ulepsza Gemini 3 Pro, oferując lepsze zdolności rozumowania i wsparcie dla średniego poziomu myślenia.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V zapewnia zaawansowane rozumienie obrazów i wnioskowanie w zadaniach wizualnych.",
"glm-5-turbo.description": "GLM-5-Turbo to model podstawowy głęboko zoptymalizowany pod kątem scenariuszy agentowych. Został specjalnie zoptymalizowany pod kątem kluczowych wymagań zadań agentów od fazy szkolenia, poprawiając kluczowe możliwości, takie jak wywoływanie narzędzi, przestrzeganie poleceń i wykonywanie długich łańcuchów. Idealny do budowy asystentów agentów o wysokiej wydajności.",
"glm-5.1.description": "GLM-5.1 to najnowszy flagowy model firmy Zhipu, porównywalny pod względem ogólnych możliwości i zdolności programistycznych z Claude Opus 4.6. Doskonale radzi sobie z zadaniami długoterminowymi, potrafi samodzielnie planować, wykonywać i iterować działania przez maksymalnie 8 godzin w ramach jednego zadania, co czyni go idealną podstawą dla autonomicznych agentów oraz agentów programistycznych działających w długim horyzoncie czasowym.",
- "glm-5.2.description": "Seria GLM to hybrydowy model rozumowania od Zhipu AI stworzony dla agentów, z trybami myślenia i bezmyślności. GLM-5.2 to flagowy model Zhipu na erę zadań długoterminowych, obsługujący kontekst 1M tokenów i zoptymalizowany pod kątem długoterminowego planowania, złożonego kodowania i realizacji zadań przez agentów.",
+ "glm-5.2.description": "Seria GLM to hybrydowy model rozumowania od Zhipu AI stworzony dla agentów, z trybami myślenia i niemyslenia. GLM-5.2 to flagowy model Zhipu na erę zadań długoterminowych, obsługujący kontekst 1M tokenów i zoptymalizowany pod kątem planowania długoterminowego, złożonego kodowania i wykonywania zadań przez agentów.",
"glm-5.description": "GLM-5 to flagowy model bazowy nowej generacji Zhipu, stworzony specjalnie dla Agentic Engineering. Zapewnia niezawodną produktywność w złożonych systemach inżynieryjnych i zadaniach agentowych o długim horyzoncie czasowym. W zakresie kodowania i możliwości agentowych GLM-5 osiąga najnowocześniejsze wyniki wśród modeli open-source. W rzeczywistych scenariuszach programistycznych jego doświadczenie użytkownika zbliża się do Claude Opus 4.5. Wyróżnia się w złożonych systemach inżynieryjnych i zadaniach agentowych o długim horyzoncie czasowym, co czyni go idealnym modelem bazowym dla uniwersalnych asystentów agentowych.",
"glm-5v-turbo.description": "GLM-5V-Turbo to multimodalny model bazowy kodowania od Zhipu, przeznaczony do zadań programowania wizualnego. Natywnie obsługuje obrazy, wideo, tekst i pliki, optymalizowany pod kątem długoterminowego planowania, złożonego kodowania i wykonywania zadań agentowych w multimodalnych przepływach pracy.",
"glm-image.description": "GLM-Image to nowy flagowy model generowania obrazów Zhipu. Model został przeszkolony od początku do końca na krajowych chipach i przyjmuje oryginalną hybrydową architekturę, która łączy modelowanie autoregresyjne z dekoderem dyfuzyjnym. Ten projekt umożliwia silne globalne rozumienie instrukcji wraz z precyzyjnym renderowaniem szczegółów lokalnych, pokonując długotrwałe wyzwania w generowaniu treści bogatych w wiedzę, takich jak plakaty, prezentacje i diagramy edukacyjne. Reprezentuje ważną eksplorację w kierunku nowej generacji paradygmatów technologii „generatywnej kognitywnej”, czego przykładem jest Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 to najbardziej wszechstronny model Kimi do tej pory, wyposażony w natywną architekturę multimodalną, która obsługuje zarówno wejścia wizualne, jak i tekstowe, tryby 'myślenia' i 'niemyslenia', a także zadania konwersacyjne i agentowe.",
"kimi-k2.6.description": "Kimi-K2.6 to duży model językowy uruchomiony przez Moonshot AI, z doskonałymi możliwościami kodowania i wywoływania narzędzi. Wdrożenie usługi jest obsługiwane tylko w Chinach kontynentalnych.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​to model wysokiej prędkości Kimi K2.7 Code. Jest to ten sam model co Kimi K2.7 Code, ale prędkość generowania wynosi około 180 tokenów/s, a w krótkich kontekstach może osiągnąć 260 tokenów/s, zapewniając bardziej ekstremalne doświadczenie programistyczne.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code to model agentowy skoncentrowany na kodowaniu od Moonshot AI, oparty na Kimi K2.6, z istotnymi ulepszeniami w rzeczywistych zadaniach kodowania długoterminowego i około 30% mniejszym zużyciem tokenów myślenia.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code to model agentyczny skoncentrowany na kodowaniu od Moonshot AI, oparty na Kimi K2.6, z istotnymi ulepszeniami w rzeczywistych zadaniach kodowania długoterminowego i około 30% mniejszym zużyciem tokenów myślenia.",
"kling/kling-v3-image-generation.description": "Obsługuje do 10 obrazów referencyjnych, pozwalając na zablokowanie tematów, elementów i tonów kolorystycznych w celu zapewnienia spójnego stylu. Łączy transfer stylu, odniesienia do portretów/postaci, fuzję wielu obrazów i lokalne malowanie w celu elastycznej kontroli. Dostarcza realistyczne szczegóły portretów, z ogólną wizualizacją delikatną i bogato warstwową, z filmowymi kolorami i atmosferą.",
"kling/kling-v3-omni-image-generation.description": "Odblokuj filmowe wizualizacje narracyjne dzięki nowej serii generowania obrazów i bezpośredniemu wyjściu 2K/4K. Głęboko analizuje elementy audiowizualne w podpowiedziach, aby precyzyjnie realizować kreatywne instrukcje. Obsługuje elastyczne wejścia wieloreferencyjne i kompleksowe ulepszenia jakości, idealne do storyboardów, koncepcji narracyjnych i projektowania scen.",
"kling/kling-v3-omni-video-generation.description": "Nowa funkcja „All-in-One Reference” obsługuje 3–8-sekundowe wideo lub wiele obrazów do zakotwiczenia elementów postaci. Może dopasować oryginalny dźwięk i ruchy warg dla autentycznej reprezentacji postaci. Ulepsza spójność wideo i dynamiczną ekspresję. Obsługuje synchronizację audiowizualną i inteligentne tworzenie storyboardów.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA to model multimodalny łączący enkoder obrazu i Vicunę, zapewniający silne zrozumienie języka i obrazu.",
"llava:13b.description": "LLaVA to model multimodalny łączący enkoder obrazu i Vicunę, zapewniający silne zrozumienie języka i obrazu.",
"llava:34b.description": "LLaVA to model multimodalny łączący enkoder obrazu i Vicunę, zapewniający silne zrozumienie języka i obrazu.",
+ "lobehub-glm-5.2-fast.description": "Szybka wersja GLM-5.2 z znacznie niższym opóźnieniem. Te same możliwości co GLM-5.2 — kosztuje więcej, ale odpowiada znacznie szybciej.",
"magistral-medium-2509.description": "Magistral Medium 1.2 to model rozumowania nowej generacji od Mistral AI (wrzesień 2025) z obsługą wizji.",
"magistral-small-2509.description": "Magistral Small 1.2 to otwartoźródłowy, mały model wnioskowania od Mistral AI (wrzesień 2025) z obsługą wizji.",
"mathstral.description": "MathΣtral został stworzony do badań naukowych i matematycznego wnioskowania, oferując silne możliwości obliczeniowe i wyjaśniające.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K obsługuje 32 768 tokenów dla średniej długości kontekstu, idealny do długich dokumentów i złożonych dialogów w tworzeniu treści, raportach i systemach czatu.",
"moonshot-v1-8k-vision-preview.description": "Modele wizji Kimi (w tym moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) potrafią rozumieć zawartość obrazów, taką jak tekst, kolory i kształty obiektów.",
"moonshot-v1-8k.description": "Moonshot V1 8K jest zoptymalizowany do generowania krótkich tekstów z wydajną pracą, obsługując 8192 tokeny do krótkich rozmów, notatek i szybkich treści.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code to model agentowy zaprojektowany do zadań kodowania od Moonshot AI. Oparty na Kimi K2.6, wykazuje znaczące ulepszenia w rzeczywistych zadaniach kodowania długoterminowego, zwiększając zdolności realizacji zadań end-to-end w złożonych przepływach pracy inżynierii oprogramowania, jednocześnie zmniejszając zużycie tokenów myślenia o około 30% w porównaniu do Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code to model agentyczny zaprojektowany do zadań kodowania od Moonshot AI. Oparty na Kimi K2.6, wykazuje znaczące ulepszenia w rzeczywistych zadaniach kodowania długoterminowego, zwiększając zdolności do realizacji zadań end-to-end w złożonych przepływach pracy inżynierii oprogramowania, jednocześnie zmniejszając zużycie tokenów myślenia o około 30% w porównaniu do Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 to wariant instruct z serii Kimi, odpowiedni do wysokiej jakości kodu i użycia narzędzi.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 to aktualizacja rozszerzająca kontekst i wydajność rozumowania z optymalizacjami kodu.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo to szybka wersja Kimi K2 Thinking, znacznie zmniejszająca opóźnienia przy zachowaniu głębokiego rozumowania.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 to nowej generacji flagowy model Zhipu z 355B całkowitych parametrów i 32B aktywnych parametrów, w pełni zaktualizowany w zakresie ogólnych dialogów, rozumowania i zdolności agentowych. GLM-4.7 ulepsza Interleaved Thinking i wprowadza Preserved Thinking oraz Turn-level Thinking.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air to bazowy model dla aplikacji agentowych, oparty na architekturze Mixture-of-Experts. Zoptymalizowany do korzystania z narzędzi, przeglądania internetu, inżynierii oprogramowania i kodowania frontendowego. Integruje się z agentami kodu, takimi jak Claude Code i Roo Code. Wykorzystuje hybrydowe rozumowanie do obsługi zarówno złożonych, jak i codziennych scenariuszy.",
"zai-org/GLM-4.5V.description": "GLM-4.5V to najnowszy VLM Zhipu AI, oparty na flagowym modelu tekstowym GLM-4.5-Air (106B parametrów ogółem, 12B aktywnych) z architekturą MoE zapewniającą wysoką wydajność przy niższych kosztach. Podąża ścieżką GLM-4.1V-Thinking i dodaje 3D-RoPE dla lepszego rozumienia przestrzeni 3D. Zoptymalizowany poprzez pretrening, SFT i RL, obsługuje obrazy, wideo i długie dokumenty, zajmując czołowe miejsca wśród otwartych modeli w 41 publicznych benchmarkach multimodalnych. Przełącznik trybu Thinking pozwala użytkownikom balansować między szybkością a głębokością analizy.",
- "zai-org/GLM-5.2.description": "GLM-5.2 to najnowszy flagowy model Z.ai zaprojektowany do scenariuszy zadań długoterminowych, oferujący znaczące ulepszenia w zdolnościach realizacji zadań długoterminowych w porównaniu do GLM-5.1. Ten model MoE o wielkości 753B obsługuje stabilne okno kontekstu 1M tokenów, charakteryzuje się silniejszymi możliwościami programistycznymi i obsługuje różne poziomy wysiłku myślowego dla elastycznego balansu między wydajnością a opóźnieniem.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 to najnowszy flagowy model Z.ai zaprojektowany do scenariuszy zadań długoterminowych, oferujący znaczące ulepszenia w zdolnościach do realizacji zadań długoterminowych w porównaniu do GLM-5.1. Ten model MoE o wielkości 753B obsługuje stabilne okno kontekstowe 1M tokenów, charakteryzuje się silniejszymi możliwościami programistycznymi i obsługuje różne poziomy wysiłku myślowego, zapewniając elastyczną równowagę między wydajnością a opóźnieniem.",
"zai/glm-4.5-air.description": "GLM-4.5 i GLM-4.5-Air to nasze najnowsze flagowe modele dla aplikacji agentowych, oba oparte na architekturze MoE. GLM-4.5 ma 355B parametrów ogółem i 32B aktywnych na jedno przejście; GLM-4.5-Air jest lżejszy – 106B ogółem i 12B aktywnych.",
"zai/glm-4.5.description": "Seria GLM-4.5 została zaprojektowana z myślą o agentach. Flagowy model GLM-4.5 łączy rozumowanie, kodowanie i umiejętności agentowe, posiada 355B parametrów ogółem (32B aktywnych) i oferuje dwa tryby działania jako system hybrydowego rozumowania.",
"zai/glm-4.5v.description": "GLM-4.5V bazuje na GLM-4.5-Air, dziedzicząc sprawdzone techniki GLM-4.1V-Thinking i skalując się dzięki silnej architekturze MoE z 106 miliardami parametrów.",
diff --git a/locales/pl-PL/plugin.json b/locales/pl-PL/plugin.json
index 36e15165aee..59c9931c166 100644
--- a/locales/pl-PL/plugin.json
+++ b/locales/pl-PL/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Wynik",
"builtins.codex.mcpTool.unknownTool": "Narzędzie MCP",
"builtins.codex.webSearch.query": "Zapytanie",
+ "builtins.github.render.error": "Błąd",
+ "builtins.github.render.rawResult": "Surowy wynik",
+ "builtins.github.render.updatedAt": "Zaktualizowano {{time}}",
+ "builtins.linear.render.empty": "Nie znaleziono {{collection}}",
"builtins.linear.render.updatedAt": "Zaktualizowano {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Aktywuj Narzędzia",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} nie znaleziono",
diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.json
index d0de46fcf8b..373c4696bdf 100644
--- a/locales/pl-PL/setting.json
+++ b/locales/pl-PL/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Standardowy",
"settingChatAppearance.fontSize.title": "Rozmiar czcionki",
"settingChatAppearance.highlighterTheme.title": "Motyw podświetlania kodu",
+ "settingChatAppearance.linkIcon.desc": "Wyłącz to, jeśli tego nie potrzebujesz.",
+ "settingChatAppearance.linkIcon.previewMessage": "Sprawdź <site></site> i <repo></repo>, aby uzyskać więcej szczegółów.",
+ "settingChatAppearance.linkIcon.title": "Pokaż ikony w linkach wiadomości",
"settingChatAppearance.mermaidTheme.title": "Motyw Mermaid",
"settingChatAppearance.title": "Wygląd czatu",
"settingChatAppearance.transitionMode.desc": "Wybierz sposób pojawiania się wiadomości",
@@ -1231,6 +1234,226 @@
"tools.tabs.all": "Wszystkie",
"tools.tabs.installed": "Włączone",
"tools.title": "Narzędzia rozszerzeń",
+ "workspace.auditLog.actions.api_key.created": "Utworzono klucz API",
+ "workspace.auditLog.actions.api_key.renamed": "Zmieniono nazwę klucza API",
+ "workspace.auditLog.actions.api_key.revoked": "Odwołano klucz API",
+ "workspace.auditLog.actions.api_key.rotated": "Obrócono klucz API",
+ "workspace.auditLog.actions.auto_top_up.disabled": "Automatyczne doładowanie wyłączone",
+ "workspace.auditLog.actions.auto_top_up.enabled": "Automatyczne doładowanie włączone",
+ "workspace.auditLog.actions.auto_top_up.failed": "Automatyczne doładowanie nie powiodło się",
+ "workspace.auditLog.actions.auto_top_up.succeeded": "Automatyczne doładowanie zakończone sukcesem",
+ "workspace.auditLog.actions.auto_top_up.updated": "Zaktualizowano automatyczne doładowanie",
+ "workspace.auditLog.actions.billing.default_payment_method_changed": "Zmieniono domyślną metodę płatności",
+ "workspace.auditLog.actions.billing.payment_method_added": "Dodano metodę płatności",
+ "workspace.auditLog.actions.billing.payment_method_removed": "Usunięto metodę płatności",
+ "workspace.auditLog.actions.billing.portal_session_created": "Otworzono portal rozliczeniowy",
+ "workspace.auditLog.actions.budget.default_member_limit_updated": "Zaktualizowano domyślny budżet członka",
+ "workspace.auditLog.actions.budget.member_limit_updated": "Zaktualizowano budżet członka",
+ "workspace.auditLog.actions.budget.member_override_created": "Utworzono nadpisanie budżetu członka",
+ "workspace.auditLog.actions.budget.member_override_removed": "Usunięto nadpisanie budżetu członka",
+ "workspace.auditLog.actions.budget.member_override_updated": "Zaktualizowano nadpisanie budżetu członka",
+ "workspace.auditLog.actions.credential.created": "Utworzono poświadczenie",
+ "workspace.auditLog.actions.credential.deleted": "Usunięto poświadczenie",
+ "workspace.auditLog.actions.credential.tested": "Przetestowano poświadczenie",
+ "workspace.auditLog.actions.credential.updated": "Zaktualizowano poświadczenie",
+ "workspace.auditLog.actions.integration.connected": "Połączono integrację",
+ "workspace.auditLog.actions.integration.disabled": "Wyłączono integrację",
+ "workspace.auditLog.actions.integration.disconnected": "Odłączono integrację",
+ "workspace.auditLog.actions.integration.updated": "Zaktualizowano integrację",
+ "workspace.auditLog.actions.invitation.resent": "Wysłano ponownie zaproszenie",
+ "workspace.auditLog.actions.invitation.revoked": "Odwołano zaproszenie",
+ "workspace.auditLog.actions.market_identity.published": "Opublikowano tożsamość rynkową",
+ "workspace.auditLog.actions.market_identity.unpublished": "Cofnięto publikację tożsamości rynkowej",
+ "workspace.auditLog.actions.market_identity.updated": "Zaktualizowano tożsamość rynkową",
+ "workspace.auditLog.actions.member.demoted_from_owner": "Usunięto rolę właściciela",
+ "workspace.auditLog.actions.member.invited": "Zaproszono członka",
+ "workspace.auditLog.actions.member.joined": "Członek dołączył",
+ "workspace.auditLog.actions.member.left": "Członek opuścił",
+ "workspace.auditLog.actions.member.promoted_to_owner": "Awansowano na właściciela",
+ "workspace.auditLog.actions.member.removed": "Usunięto członka",
+ "workspace.auditLog.actions.member.role_updated": "Zmieniono rolę członka",
+ "workspace.auditLog.actions.provider.disabled": "Wyłączono dostawcę",
+ "workspace.auditLog.actions.provider.enabled": "Włączono dostawcę",
+ "workspace.auditLog.actions.provider.updated": "Zaktualizowano dostawcę",
+ "workspace.auditLog.actions.resource.created": "Utworzono zasób",
+ "workspace.auditLog.actions.resource.deleted": "Usunięto zasób",
+ "workspace.auditLog.actions.resource.exported": "Wyeksportowano zasób",
+ "workspace.auditLog.actions.resource.imported": "Zaimportowano zasób",
+ "workspace.auditLog.actions.resource.restored": "Przywrócono zasób",
+ "workspace.auditLog.actions.resource.shared": "Udostępniono zasób",
+ "workspace.auditLog.actions.resource.transferred": "Przeniesiono zasób",
+ "workspace.auditLog.actions.resource.unshared": "Cofnięto udostępnienie zasobu",
+ "workspace.auditLog.actions.resource.updated": "Zaktualizowano zasób",
+ "workspace.auditLog.actions.security.policy_updated": "Zaktualizowano politykę bezpieczeństwa",
+ "workspace.auditLog.actions.security.risk_state_updated": "Zaktualizowano stan ryzyka",
+ "workspace.auditLog.actions.subscription.activated": "Aktywowano subskrypcję",
+ "workspace.auditLog.actions.subscription.cancellation_resumed": "Wznowiono anulowanie subskrypcji",
+ "workspace.auditLog.actions.subscription.cancellation_scheduled": "Zaplanowano anulowanie",
+ "workspace.auditLog.actions.subscription.cancelled": "Anulowano subskrypcję",
+ "workspace.auditLog.actions.subscription.grace_period_started": "Rozpoczęto okres karencji",
+ "workspace.auditLog.actions.subscription.updated": "Zaktualizowano subskrypcję",
+ "workspace.auditLog.actions.top_up.succeeded": "Doładowanie zakończone sukcesem",
+ "workspace.auditLog.actions.webhook.created": "Utworzono webhook",
+ "workspace.auditLog.actions.webhook.deleted": "Usunięto webhook",
+ "workspace.auditLog.actions.webhook.updated": "Zaktualizowano webhook",
+ "workspace.auditLog.actions.workspace.account_upgraded": "Zaktualizowano konto przestrzeni roboczej",
+ "workspace.auditLog.actions.workspace.cleanup_triggered": "Uruchomiono czyszczenie przestrzeni roboczej",
+ "workspace.auditLog.actions.workspace.created": "Utworzono przestrzeń roboczą",
+ "workspace.auditLog.actions.workspace.data_cleared": "Wyczyszczono dane przestrzeni roboczej",
+ "workspace.auditLog.actions.workspace.deleted": "Usunięto przestrzeń roboczą",
+ "workspace.auditLog.actions.workspace.downgraded": "Obniżono poziom przestrzeni roboczej",
+ "workspace.auditLog.actions.workspace.frozen": "Zamrożono przestrzeń roboczą",
+ "workspace.auditLog.actions.workspace.primary_ownership_transferred": "Przeniesiono główne prawa własności",
+ "workspace.auditLog.actions.workspace.settings_reset": "Zresetowano ustawienia przestrzeni roboczej",
+ "workspace.auditLog.actions.workspace.unfrozen": "Odmrożono przestrzeń roboczą",
+ "workspace.auditLog.actions.workspace.updated": "Zaktualizowano przestrzeń roboczą",
+ "workspace.auditLog.actions.workspace.upgraded": "Zaktualizowano przestrzeń roboczą",
+ "workspace.auditLog.columns.action": "Akcja",
+ "workspace.auditLog.columns.details": "Szczegóły",
+ "workspace.auditLog.columns.ip": "IP",
+ "workspace.auditLog.columns.operator": "Operator",
+ "workspace.auditLog.columns.resourceId": "ID zasobu",
+ "workspace.auditLog.columns.resourceType": "Typ zasobu",
+ "workspace.auditLog.columns.time": "Czas",
+ "workspace.auditLog.desc": "Przeglądaj operacje członków przestrzeni roboczej, zaproszeń, subskrypcji i rozliczeń.",
+ "workspace.auditLog.detail.fields.added": "Dodano",
+ "workspace.auditLog.detail.fields.addedByUserId": "Dodano przez",
+ "workspace.auditLog.detail.fields.agentIds": "ID agentów",
+ "workspace.auditLog.detail.fields.aiModelCount": "Liczba modeli AI",
+ "workspace.auditLog.detail.fields.amount": "Kwota",
+ "workspace.auditLog.detail.fields.apiKeyCount": "Liczba kluczy API",
+ "workspace.auditLog.detail.fields.apiKeyIds": "ID kluczy API",
+ "workspace.auditLog.detail.fields.billingInterval": "Okres rozliczeniowy",
+ "workspace.auditLog.detail.fields.brand": "Marka karty",
+ "workspace.auditLog.detail.fields.budgetId": "ID budżetu",
+ "workspace.auditLog.detail.fields.chargeAmount": "Kwota obciążenia",
+ "workspace.auditLog.detail.fields.count": "Liczba",
+ "workspace.auditLog.detail.fields.credentialId": "ID poświadczenia",
+ "workspace.auditLog.detail.fields.credentialKey": "Klucz poświadczenia",
+ "workspace.auditLog.detail.fields.credentialName": "Nazwa poświadczenia",
+ "workspace.auditLog.detail.fields.credentialType": "Typ poświadczenia",
+ "workspace.auditLog.detail.fields.currency": "Waluta",
+ "workspace.auditLog.detail.fields.currentDefaultMaxBudget": "Nowy domyślny budżet członka",
+ "workspace.auditLog.detail.fields.currentDefaultPaymentMethodId": "Nowa domyślna metoda płatności",
+ "workspace.auditLog.detail.fields.currentEnabled": "Nowy stan włączenia",
+ "workspace.auditLog.detail.fields.currentMaxBudget": "Nowy budżet członka",
+ "workspace.auditLog.detail.fields.currentMode": "Nowy tryb",
+ "workspace.auditLog.detail.fields.currentMonthlyLimit": "Nowy miesięczny limit",
+ "workspace.auditLog.detail.fields.currentPermission": "Nowe uprawnienie",
+ "workspace.auditLog.detail.fields.currentRole": "Nowa rola",
+ "workspace.auditLog.detail.fields.currentState": "Bieżący stan",
+ "workspace.auditLog.detail.fields.currentTargetBalance": "Nowy docelowy bilans",
+ "workspace.auditLog.detail.fields.currentThreshold": "Nowy próg",
+ "workspace.auditLog.detail.fields.currentVisibility": "Nowa widoczność",
+ "workspace.auditLog.detail.fields.email": "E-mail",
+ "workspace.auditLog.detail.fields.failureReason": "Powód niepowodzenia",
+ "workspace.auditLog.detail.fields.fileHashId": "ID skrótu pliku",
+ "workspace.auditLog.detail.fields.fileName": "Nazwa pliku",
+ "workspace.auditLog.detail.fields.groupIds": "ID grup",
+ "workspace.auditLog.detail.fields.hasDescriptionUpdate": "Zaktualizowano opis",
+ "workspace.auditLog.detail.fields.hasSecretValueUpdate": "Zaktualizowano wartość tajną",
+ "workspace.auditLog.detail.fields.includeConversationHistory": "Uwzględnij historię rozmów",
+ "workspace.auditLog.detail.fields.invitationId": "ID zaproszenia",
+ "workspace.auditLog.detail.fields.last4": "Ostatnie 4 cyfry",
+ "workspace.auditLog.detail.fields.memberUserId": "ID użytkownika członka",
+ "workspace.auditLog.detail.fields.name": "Nazwa",
+ "workspace.auditLog.detail.fields.newAgentId": "Nowe ID agenta",
+ "workspace.auditLog.detail.fields.newKnowledgeBaseId": "Nowe ID bazy wiedzy",
+ "workspace.auditLog.detail.fields.oauthConnectionId": "ID połączenia OAuth",
+ "workspace.auditLog.detail.fields.operation": "Operacja",
+ "workspace.auditLog.detail.fields.paymentMethodId": "ID metody płatności",
+ "workspace.auditLog.detail.fields.plan": "Plan",
+ "workspace.auditLog.detail.fields.previousDefaultMaxBudget": "Poprzedni domyślny budżet członka",
+ "workspace.auditLog.detail.fields.previousDefaultPaymentMethodId": "Poprzednia domyślna metoda płatności",
+ "workspace.auditLog.detail.fields.previousEnabled": "Poprzedni stan włączenia",
+ "workspace.auditLog.detail.fields.previousMaxBudget": "Poprzedni budżet członka",
+ "workspace.auditLog.detail.fields.previousMode": "Poprzedni tryb",
+ "workspace.auditLog.detail.fields.previousMonthlyLimit": "Poprzedni miesięczny limit",
+ "workspace.auditLog.detail.fields.previousPermission": "Poprzednie uprawnienie",
+ "workspace.auditLog.detail.fields.previousPlan": "Poprzedni plan",
+ "workspace.auditLog.detail.fields.previousRole": "Poprzednia rola",
+ "workspace.auditLog.detail.fields.previousTargetBalance": "Poprzedni docelowy bilans",
+ "workspace.auditLog.detail.fields.previousThreshold": "Poprzedni próg",
+ "workspace.auditLog.detail.fields.previousVisibility": "Poprzednia widoczność",
+ "workspace.auditLog.detail.fields.providerCount": "Liczba dostawców",
+ "workspace.auditLog.detail.fields.providerIds": "ID dostawców",
+ "workspace.auditLog.detail.fields.purchasedSeats": "Zakupione miejsca",
+ "workspace.auditLog.detail.fields.quantity": "Ilość",
+ "workspace.auditLog.detail.fields.reason": "Powód",
+ "workspace.auditLog.detail.fields.removed": "Usunięto",
+ "workspace.auditLog.detail.fields.resourceCounts": "Liczba zasobów",
+ "workspace.auditLog.detail.fields.resourceIds": "Przykłady ID zasobów",
+ "workspace.auditLog.detail.fields.role": "Rola",
+ "workspace.auditLog.detail.fields.seats": "Miejsca",
+ "workspace.auditLog.detail.fields.skipped": "Pominięto",
+ "workspace.auditLog.detail.fields.slug": "Slug",
+ "workspace.auditLog.detail.fields.source": "Źródło",
+ "workspace.auditLog.detail.fields.sourceAgentId": "ID źródłowego agenta",
+ "workspace.auditLog.detail.fields.sourceAgentIds": "ID źródłowych agentów",
+ "workspace.auditLog.detail.fields.sourceGroupIds": "ID źródłowych grup",
+ "workspace.auditLog.detail.fields.sourceKbId": "ID źródłowej bazy wiedzy",
+ "workspace.auditLog.detail.fields.sourcePaymentMethodId": "ID źródłowej metody płatności",
+ "workspace.auditLog.detail.fields.sourceWorkspaceId": "ID źródłowej przestrzeni roboczej",
+ "workspace.auditLog.detail.fields.stripeId": "ID Stripe",
+ "workspace.auditLog.detail.fields.stripeInvoiceId": "ID faktury Stripe",
+ "workspace.auditLog.detail.fields.stripePaymentIntentId": "ID intencji płatności Stripe",
+ "workspace.auditLog.detail.fields.stripeSessionId": "ID sesji Stripe",
+ "workspace.auditLog.detail.fields.subscriptionId": "ID subskrypcji",
+ "workspace.auditLog.detail.fields.targetPlan": "Docelowy plan",
+ "workspace.auditLog.detail.fields.targetUserId": "ID docelowego użytkownika",
+ "workspace.auditLog.detail.fields.targetWorkspaceId": "ID docelowej przestrzeni roboczej",
+ "workspace.auditLog.detail.fields.triggerRemainingBalance": "Pozostały bilans wyzwalacza",
+ "workspace.auditLog.detail.fields.triggerType": "Typ wyzwalacza",
+ "workspace.auditLog.detail.fields.unitPrice": "Cena jednostkowa",
+ "workspace.auditLog.detail.fields.updated": "Zaktualizowano",
+ "workspace.auditLog.detail.metadata": "Szczegóły operacji",
+ "workspace.auditLog.detail.operationTime": "Czas operacji",
+ "workspace.auditLog.detail.rawData": "Surowe dane audytu",
+ "workspace.auditLog.detail.summary": "Podsumowanie",
+ "workspace.auditLog.detail.view": "Zobacz szczegóły",
+ "workspace.auditLog.empty": "Brak logów audytu",
+ "workspace.auditLog.filters.allActions": "Wszystkie akcje",
+ "workspace.auditLog.filters.allResourceTypes": "Wszystkie typy zasobów",
+ "workspace.auditLog.filters.endDate": "Data zakończenia",
+ "workspace.auditLog.filters.reset": "Resetuj",
+ "workspace.auditLog.filters.searchPlaceholder": "Szukaj operatora, akcji, zasobu lub IP",
+ "workspace.auditLog.filters.startDate": "Data rozpoczęcia",
+ "workspace.auditLog.loadFailed": "Nie udało się załadować logów audytu",
+ "workspace.auditLog.loadMore": "Załaduj więcej",
+ "workspace.auditLog.resourceTypes.agent": "Agent",
+ "workspace.auditLog.resourceTypes.api_key": "Klucz API",
+ "workspace.auditLog.resourceTypes.auto_top_up": "Automatyczne doładowanie",
+ "workspace.auditLog.resourceTypes.budget": "Budżet",
+ "workspace.auditLog.resourceTypes.credential": "Poświadczenie",
+ "workspace.auditLog.resourceTypes.document": "Dokument",
+ "workspace.auditLog.resourceTypes.file": "Plik",
+ "workspace.auditLog.resourceTypes.integration": "Integracja",
+ "workspace.auditLog.resourceTypes.invitation": "Zaproszenie",
+ "workspace.auditLog.resourceTypes.knowledge_base": "Baza wiedzy",
+ "workspace.auditLog.resourceTypes.market_identity": "Tożsamość rynkowa",
+ "workspace.auditLog.resourceTypes.member": "Członek",
+ "workspace.auditLog.resourceTypes.member_budget": "Budżet członka",
+ "workspace.auditLog.resourceTypes.page": "Strona",
+ "workspace.auditLog.resourceTypes.payment_method": "Metoda płatności",
+ "workspace.auditLog.resourceTypes.provider": "Dostawca",
+ "workspace.auditLog.resourceTypes.security_policy": "Polityka bezpieczeństwa",
+ "workspace.auditLog.resourceTypes.skill": "Umiejętność",
+ "workspace.auditLog.resourceTypes.subscription": "Subskrypcja",
+ "workspace.auditLog.resourceTypes.top_up": "Doładowanie",
+ "workspace.auditLog.resourceTypes.webhook": "Webhook",
+ "workspace.auditLog.resourceTypes.workspace": "Przestrzeń robocza",
+ "workspace.auditLog.resourceTypes.workspace_data": "Dane przestrzeni roboczej",
+ "workspace.auditLog.resourceTypes.workspace_freeze": "Zamrożenie przestrzeni roboczej",
+ "workspace.auditLog.title": "Logi audytu",
+ "workspace.auditLog.upgrade.benefits.billing.desc": "Zachowaj zmiany subskrypcji i metod płatności w jednym śledzonym rejestrze.",
+ "workspace.auditLog.upgrade.benefits.billing.title": "Ślad audytu rozliczeń",
+ "workspace.auditLog.upgrade.benefits.member.desc": "Dowiedz się, kto zaprosił, usunął lub zmienił członków, zanim ryzyko się rozprzestrzeni.",
+ "workspace.auditLog.upgrade.benefits.member.title": "Śledzenie aktywności członków",
+ "workspace.auditLog.upgrade.benefits.permission.desc": "Przeglądaj zmiany dostawców, kluczy, budżetów i ustawień przestrzeni roboczej w kontekście.",
+ "workspace.auditLog.upgrade.benefits.permission.title": "Przegląd zmian uprawnień",
+ "workspace.auditLog.upgrade.cta": "Ulepsz do wersji Business",
+ "workspace.auditLog.upgrade.desc": "Śledź aktywność członków, zmiany uprawnień, zdarzenia rozliczeniowe i szczegóły IP, aby właściciele mogli szybko odpowiedzieć na pytanie, kto co i kiedy zmienił.",
+ "workspace.auditLog.upgrade.title": "Odblokuj logi audytu, zanim problemy staną się incydentami",
"workspace.billing.basicHint": "Podstawowy workspace · wspólny miesięczny limit",
"workspace.billing.credits.label": "Kredyty w tym miesiącu",
"workspace.billing.freeHint": "Darmowy workspace · wspólny miesięczny limit",
@@ -1284,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Podstawowy workspace · wspólny miesięczny limit · brak płatnych miejsc",
"workspace.billingPage.billing.basic.title": "Podstawowy workspace",
"workspace.billingPage.billing.basic.upgradeCta": "Ulepsz do Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Dostosowanie proporcjonalne",
"workspace.billingPage.billing.billingPeriodModal.body": "Okres rozliczeniowy Twojego miejsca pracy zostanie zmieniony z {{current}} na {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Anuluj",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Zmień okres rozliczeniowy",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Proporcjonalny kredyt za niewykorzystany czas w bieżącym okresie",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Nie udało się załadować podglądu ceny. Spróbuj ponownie.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Spróbuj ponownie",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Zmiana wejdzie w życie po zakończeniu bieżącego okresu.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Zmiana wejdzie w życie po zakończeniu bieżącego okresu, dnia {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Miejsca w przestrzeni roboczej",
"workspace.billingPage.billing.billingPeriodModal.title": "Zmień okres rozliczeniowy?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "rok",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} miejsce · {{credits}} kredytów / miesiąc",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} miejsc · {{credits}} kredytów / miesiąc",
"workspace.billingPage.billing.breakdown.extraSeats": "Dodatkowe miejsca",
@@ -1382,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Przejście na {{plan}} {{interval}} z {{seats}} miejscami w dniu {{date}}. Utrzymuj wystarczające saldo konta.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Anuluj zaplanowaną zmianę przed aktualizacją planu subskrypcji.",
"workspace.billingPage.billing.pending.keepPlanCta": "Zachowaj {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Zachowaj {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Ten workspace ma obecnie {{currentSeats}} miejsc i zmieni się na {{seats}} miejsc w dniu {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Zmiana na {{seats}} miejsc w dniu {{date}}. Utrzymuj wystarczające saldo konta.",
"workspace.billingPage.billing.pending.seatsTitle": "Zaplanowana zmiana miejsc",
@@ -1412,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Kup miejsca",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Kup więcej miejsc dla planu {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Kupić więcej miejsc?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Obliczanie…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Anuluj",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Zostaniesz przekierowany do kasy, aby dokończyć płatność.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Uaktualnij",
@@ -1429,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Zobacz rozliczenia",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Aktualizacja miejsc w Twoim miejscu pracy została zapisana.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Gotowe",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Nie udało nam się zakończyć tej aktualizacji. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Spróbuj ponownie",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Aktualizacja nie powiodła się",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Zaproś członków",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Proporcjonalna opłata za miejsce została pobrana z Twojej bieżącej metody płatności.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} pobrano · Kwota w rozliczeniu",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Wynik płatności",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Nie pobrano żadnej opłaty. Zmiana jest zaplanowana na następny cykl rozliczeniowy.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Zaktualizowano do {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Plan zaktualizowany",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "Obecnie dostępnych jest {{seats}} miejsc, w tym {{purchasedSeats}} opłaconych dodatkowych miejsc.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Wynik zakupu miejsc",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} miejsc będzie obowiązywać w następnym cyklu rozliczeniowym, w tym {{purchasedSeats}} opłaconych dodatkowych miejsc.",
@@ -1646,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Pokaż mniej",
"workspace.billingPage.usage.model.unknown": "Nieznany model",
"workspace.billingPage.usage.ops": "Operacje",
+ "workspace.billingPage.usage.privateAgents": "Prywatni agenci",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Liczba prywatnych agentów należących do tego członka. Właściciele mogą zobaczyć liczbę do celów księgowych, ale nie treść agentów.",
"workspace.billingPage.usage.range.30d": "Ostatnie 30 dni",
"workspace.billingPage.usage.range.all": "Cały czas",
"workspace.billingPage.usage.range.cycle": "Ten cykl",
@@ -1860,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Utwórz konto i dołącz",
"workspace.invitePage.switchAccountToAccept": "Zaloguj się jako {{email}}, aby zaakceptować",
"workspace.invitePage.title": "Zaproszenie do workspace",
+ "workspace.invitePage.viewerLimitSubtitle": "Ten obszar roboczy osiągnął limit widzów. Poproś właściciela o zwolnienie miejsca dla widza lub zaktualizowanie planu przed dołączeniem.",
+ "workspace.invitePage.viewerLimitTitle": "Osiągnięto limit widzów",
"workspace.invitePage.workspaceLimitSubtitle": "Osiągnąłeś maksymalną liczbę {{limit}} workspace. Opuść jeden, zanim dołączysz do kolejnego.",
"workspace.invitePage.workspaceLimitTitle": "Osiągnięto limit workspace",
"workspace.member.demote": "Zdegraduj do członka",
@@ -1904,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Przenieś główne właścicielstwo",
"workspace.members.empty": "Brak członków",
"workspace.members.invite.addAnother": "Dodaj kolejnego",
+ "workspace.members.invite.askOwnerToBuySeats": "Poproś właściciela przestrzeni roboczej o zakup dodatkowych miejsc przed zaproszeniem nowych członków.",
"workspace.members.invite.button": "Zaproś",
+ "workspace.members.invite.buySeatsCta": "Kup miejsca",
"workspace.members.invite.emailLabel": "Adres e-mail",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} ma już oczekujące zaproszenie. Wyślij ponownie lub odwołaj je z listy poniżej.",
"workspace.members.invite.errors.alreadyMember": "{{email}} jest już członkiem tego workspace.",
"workspace.members.invite.failed": "Nie udało się wysłać zaproszenia",
+ "workspace.members.invite.invitationLimitReached": "Ten obszar roboczy osiągnął limit oczekujących zaproszeń wynoszący {{limit}}. Cofnij lub poczekaj na wygaśnięcie nieużywanych zaproszeń przed wysłaniem nowych.",
"workspace.members.invite.limitReached": "To miejsce pracy może mieć maksymalnie {{limit}} członków. Usuń członka, zanim zaprosisz więcej.",
"workspace.members.invite.modal.cancel": "Anuluj",
"workspace.members.invite.modal.confirm": "Potwierdź",
@@ -1920,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Wymagane są dodatkowe uprawnienia do zarządzania członkami zespołu",
"workspace.members.invite.partialSuccess": "{{success}} zaproszono, {{failed}} nie udało się. Sprawdź adresy i spróbuj ponownie.",
"workspace.members.invite.roleLabel": "Rola",
+ "workspace.members.invite.seatInsufficient": "Pozostało tylko {{remaining}} miejsce(a). Kup więcej miejsc, aby zaprosić {{required}} nowego(ych) członka(ów).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Pozostało tylko {{remaining}} miejsce(a). Poproś właściciela przestrzeni roboczej o zakup dodatkowych miejsc.",
"workspace.members.invite.submit": "Zaproś",
"workspace.members.invite.subtitle": "Dodaj nowych członków, wpisując ich adres e-mail i przypisując rolę",
"workspace.members.invite.success": "Członkowie zespołu zostali pomyślnie zaproszeni.",
@@ -1998,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Wybierz kilka na początek — odkrywaj więcej w dowolnym momencie.",
"workspace.onboarding.step4.cta": "Wejdź do miejsca pracy",
"workspace.onboarding.step4.heading": "{{name}} jest gotowe!",
+ "workspace.onboarding.step4.marketProfileNudge": "Utworzyliśmy profil społecznościowy dla <strong>{{name}}</strong>, aby agenci przestrzeni roboczej mogli być instalowani. <cta>Dostosuj go w Społeczności</cta>.",
"workspace.onboarding.step4.subtitle": "Twoje miejsce pracy jest gotowe. Dołącz i zacznij współpracować ze swoim zespołem.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agent(ów) gotowych do pomocy. Dołącz i zacznij współpracować ze swoim zespołem.",
"workspace.onboarding.step4Invite.addMore": "Dodaj kolejny e-mail",
@@ -2005,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Zakończ",
"workspace.onboarding.step4Invite.heading": "Zaproś swój zespół",
"workspace.onboarding.step4Invite.invitedCount": "Zaproszono {{count}} członka(ów)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Możesz zaprosić maksymalnie {{max}} współpracownika(ów) z obecnymi miejscami.",
"workspace.onboarding.step4Invite.subtitle": "Zaprosić współpracowników do tego miejsca pracy teraz lub zaprosić ich później z ustawień członków.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Twój plan obejmuje {{includedSeats}} darmowych miejsc i obsługuje do {{maxSeats}} miejsc z zakupionymi dodatkowymi miejscami. Zaproś współpracowników teraz lub dodaj ich później z ustawień członków.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Plan Darmowy obejmuje do {{maxSeats}} miejsc, w tym Ciebie. Zaproś współpracowników teraz lub dodaj ich później z ustawień członków.",
"workspace.onboarding.stepLabel": "Krok {{current}} z {{total}}",
"workspace.onboarding.title": "Skonfiguruj swoje miejsce pracy",
"workspace.onboarding.toast.failed": "Nie udało się zapisać. Spróbuj ponownie.",
+ "workspace.onboarding.toast.installAgentsFailed": "Nie udało się dodać wybranych agentów. Możesz je zainstalować później z rynku.",
"workspace.onboarding.toast.saved": "Zapisano",
"workspace.permission.requiresMember": "Nie masz uprawnień do wykonania tej czynności. Poproś właściciela miejsca pracy o nadanie Ci roli członka lub wyższej.",
"workspace.permission.requiresOwner": "Tylko właściciele miejsca pracy mogą to zrobić. Poproś właściciela, jeśli potrzebujesz tej zmiany.",
@@ -2048,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Odblokuj współpracę, większe kredyty i wyższe limity.",
"workspace.upgradeModal.successPage.activating": "Aktywowanie subskrypcji — zazwyczaj zajmuje to kilka sekund…",
"workspace.upgradeModal.successPage.amountLabel": "Łączna kwota zapłacona",
- "workspace.upgradeModal.successPage.continueCta": "Zaproś i kontynuuj",
"workspace.upgradeModal.successPage.desc": "{{name}} jest teraz w wersji Pro. Zaproś członków zespołu, aby rozpocząć współpracę.",
- "workspace.upgradeModal.successPage.inviteDesc": "Wyślij zaproszenia e-mailem. Otrzymają link do dołączenia do przestrzeni roboczej.",
- "workspace.upgradeModal.successPage.inviteTitle": "Zaproś członków zespołu do {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Zapłacono o",
"workspace.upgradeModal.successPage.planTag": "Workspace Pro",
"workspace.upgradeModal.successPage.processingDesc": "Proszę czekać — potwierdzamy płatność ze Stripe. Zazwyczaj zajmuje to kilka sekund.",
@@ -2061,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Cykl rozliczeniowy",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} wliczone miejsce",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} wliczonych miejsc",
- "workspace.upgradeModal.successPage.skipCta": "Pomiń na razie",
"workspace.upgradeModal.successPage.title": "Ulepszenie zakończone",
"workspace.upgradeModal.successToast": "Ulepszenie zakończone — odświeżanie planu…",
"workspace.upgradeModal.title": "Ulepsz do wersji Pro",
@@ -2132,12 +2377,14 @@
"workspace.wizard.step2.features.basic.onDemand": "Użycie na żądanie · Automatyczne doładowanie (${{price}} / 1M kredytów)",
"workspace.wizard.step2.features.basic.share": "Pierwszych 3 członków jest darmowych, w tym Ty",
"workspace.wizard.step2.features.basic.upgradable": "Ulepsz w dowolnym momencie, aby uzyskać więcej miejsc",
+ "workspace.wizard.step2.features.business.auditLog": "Logi audytu",
"workspace.wizard.step2.features.free.members": "Do 3 członków, bez płatnych miejsc",
"workspace.wizard.step2.features.free.onDemand": "Użycie na żądanie · Automatyczne doładowanie (${{price}} / 1M kredytów)",
"workspace.wizard.step2.features.free.share": "Pierwszych 3 członków jest darmowych, w tym Ty",
"workspace.wizard.step2.features.free.upgradable": "Ulepsz w dowolnym momencie, aby uzyskać więcej miejsc",
"workspace.wizard.step2.features.pro.adminControls": "Scentralizowane rozliczenia, role i dzienniki audytu",
"workspace.wizard.step2.features.pro.collaboration": "Zaproś członków · udostępniaj agentów i pliki",
+ "workspace.wizard.step2.features.pro.memberBudget": "Kontrola budżetu na członka",
"workspace.wizard.step2.features.pro.onDemand": "Użycie na żądanie · AutoTopUp (${{price}}/M)",
"workspace.wizard.step2.features.pro.priorityModels": "Priorytetowe modele premium",
"workspace.wizard.step2.features.pro.support": "Priorytetowe wsparcie e-mailowe",
@@ -2204,6 +2451,7 @@
"workspaceSetting.storage.danger.reset.title": "Zresetuj ustawienia środowiska pracy",
"workspaceSetting.storage.telemetry.desc": "Pomóż nam ulepszyć {{appName}} za pomocą anonimowych danych o użytkowaniu środowiska pracy",
"workspaceSetting.storage.telemetry.title": "Wyślij anonimowe dane o użytkowaniu środowiska pracy",
+ "workspaceSetting.tab.auditLog": "Logi audytu",
"workspaceSetting.tab.general": "Ogólne",
"workspaceSetting.tab.members": "Członkowie",
"workspaceSetting.tab.skill": "Umiejętności"
diff --git a/locales/pl-PL/spend.json b/locales/pl-PL/spend.json
index 83e5ffa404c..56552762298 100644
--- a/locales/pl-PL/spend.json
+++ b/locales/pl-PL/spend.json
@@ -40,5 +40,28 @@
"table.more": "Zobacz szczegóły",
"table.title": "Szczegóły wykorzystania kredytów obliczeniowych",
"table.totalToken.input": "Wejście",
- "table.totalToken.output": "Wyjście"
+ "table.totalToken.output": "Wyjście",
+ "usageStats.breakdown.cost": "Koszt",
+ "usageStats.breakdown.model": "Model",
+ "usageStats.breakdown.requests": "Żądania",
+ "usageStats.breakdown.title": "Użycie według modelu",
+ "usageStats.breakdown.totalTokens": "Tokeny",
+ "usageStats.byDay": "Dziennie",
+ "usageStats.byWeek": "Tygodniowo",
+ "usageStats.cards.cacheDesc": "Wskaźnik trafień {{rate}}% · Odczyt {{read}}",
+ "usageStats.cards.cacheSavings": "Oszczędności z pamięci podręcznej",
+ "usageStats.cards.cost": "Koszt",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Wejście {{input}} · Wyjście {{output}}",
+ "usageStats.chart.cacheWrite": "Zapis do pamięci podręcznej",
+ "usageStats.chart.input": "Wejście",
+ "usageStats.chart.output": "Wyjście",
+ "usageStats.chart.spend": "Koszt",
+ "usageStats.chart.title": "Kiedy ten agent wydawał",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Wymiar",
+ "usageStats.entry": "Użycie i koszt",
+ "usageStats.range": "Zakres czasu",
+ "usageStats.rangeSuffix": "Ostatnie {{count}} dni",
+ "usageStats.title": "Użycie i koszt"
}
diff --git a/locales/pl-PL/topic.json b/locales/pl-PL/topic.json
index 03ccc5ba051..5ad482ede4a 100644
--- a/locales/pl-PL/topic.json
+++ b/locales/pl-PL/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Rozwiń wszystkie grupy",
"sidebar.title": "Tematy",
"taskManager.agent": "Agent Zadań",
+ "taskManager.agentSelector.privateGroup": "Prywatny",
+ "taskManager.agentSelector.workspaceGroup": "Przestrzeń robocza",
"taskManager.welcome": "Zapytaj mnie o swoje zadania",
"temp": "Tymczasowy",
"title": "Temat"
diff --git a/locales/pl-PL/video.json b/locales/pl-PL/video.json
index e3195afae07..e842c154dfd 100644
--- a/locales/pl-PL/video.json
+++ b/locales/pl-PL/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Utwórz nowy temat",
"topic.deleteConfirm": "Usuń temat wideo",
"topic.deleteConfirmDesc": "Zamierzasz usunąć ten temat wideo. Tej operacji nie można cofnąć.",
+ "topic.privateTitle": "Prywatne",
"topic.title": "Tematy wideo",
- "topic.untitled": "Domyślny temat"
+ "topic.untitled": "Domyślny temat",
+ "topic.visibility.existingLocked": "Widoczność jest ustalona dla bieżącego tematu. Utwórz nowy temat, aby wybrać inną przestrzeń.",
+ "topic.workspaceTitle": "Przestrzeń robocza"
}
diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.json
index bd301a01a3c..9a3100df923 100644
--- a/locales/pt-BR/chat.json
+++ b/locales/pt-BR/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Modelo",
"active": "Ativo",
+ "addAgentFromMarket": "Adicionar do Mercado",
+ "agent.publishToWorkspace": "Publicar no Espaço de Trabalho",
+ "agent.publishToWorkspaceConfirm": "Outros membros do espaço de trabalho poderão usar este agente. Você não poderá torná-lo privado novamente.",
+ "agent.publishToWorkspaceSuccess": "Publicado no espaço de trabalho",
"agentBuilder.installPlugin.authRequired": "O Cloud MCP requer login para continuar",
"agentBuilder.installPlugin.cancel": "Cancelar",
"agentBuilder.installPlugin.clickApproveToConnect": "Clique em \"Aprovar\" para conectar e autorizar esta Integração",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Salvo para respostas futuras",
"agentSignal.receipts.memory.title": "Memória salva",
"agentSignal.receipts.recentActivity": "Atividade recente",
+ "agentSignal.receipts.revert.conflict": "Versão mais recente",
+ "agentSignal.receipts.revert.failed": "Falha",
+ "agentSignal.receipts.revert.not_found": "Não é possível desfazer",
+ "agentSignal.receipts.revert.pending": "Revertendo",
+ "agentSignal.receipts.revert.rolled_back": "Revertido",
+ "agentSignal.receipts.revert.undo": "Desfazer",
+ "agentSignal.receipts.revert.unsupported": "Não suportado",
"agentSignal.receipts.skill.detail": "Melhorou como este assistente lida com solicitações semelhantes",
"agentSignal.receipts.skill.title": "Habilidade atualizada",
"agents": "Agentes",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Chamadas de ferramentas",
"chatMode.agentCap.web": "Pesquisa na web",
"chatMode.agentDesc": "O agente pode usar ferramentas e o ambiente para completar tarefas automaticamente",
+ "chatMode.agentUnsupported": "O modelo atual não suporta chamadas de ferramentas",
"chatMode.chat": "Bate-papo",
"chatMode.chatDesc": "Sem ambiente de execução ou autonomia; usa menos tokens",
"chatMode.select": "Mudar Modo",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Adicionar descrição...",
"createTask.submit": "Criar tarefa",
"createTask.titlePlaceholder": "Título da tarefa",
+ "createTask.visibility.changeFailed": "Falha ao alterar a visibilidade da tarefa",
+ "createTask.visibility.helperPrivate": "Somente você pode ver esta tarefa.",
+ "createTask.visibility.helperWorkspace": "Todos neste espaço de trabalho podem ver esta tarefa.",
+ "createTask.visibility.label": "Visibilidade",
+ "createTask.visibility.private": "Privado",
+ "createTask.visibility.privateAgentDisabled": "Agentes privados só podem executar tarefas privadas. Escolha um agente do espaço de trabalho ou altere esta tarefa para Privado.",
+ "createTask.visibility.privateAgentLocked": "Agentes privados só podem executar tarefas privadas.",
+ "createTask.visibility.workspace": "Espaço de Trabalho",
"defaultAgent": "Agente Padrão",
"defaultGroupChat": "Grupo",
"defaultList": "Lista Padrão",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Sugestões de entrada pausadas",
"input.modelUnavailable": "O modelo atual não está mais disponível. Escolha outro modelo para continuar.",
"input.more": "Mais",
+ "input.sandboxModeNotice": "Executando em um Sandbox Temporário na Nuvem. Execuções locais são mais rápidas e podem acessar seus arquivos.",
"input.send": "Enviar",
"input.sendWithCmdEnter": "Pressione <key/> para enviar",
"input.sendWithEnter": "Pressione <key/> para enviar",
"input.stop": "Parar",
+ "input.switchToLocal": "Usar máquina local",
"input.warp": "Nova linha",
"input.warpWithKey": "Pressione <key/> para inserir uma quebra de linha",
"inputQueue.delete": "Excluir",
@@ -364,10 +386,13 @@
"memory.on.title": "Ativar Memória",
"memory.title": "Memória",
"mention.category.agents": "Agentes",
+ "mention.category.files": "Arquivos",
"mention.category.members": "Membros",
+ "mention.category.privateAgents": "Privado",
"mention.category.skills": "Habilidades",
"mention.category.tools": "Ferramentas",
"mention.category.topics": "Tópicos",
+ "mention.category.workspaceAgents": "Espaço de Trabalho",
"mention.title": "Mencionar Membros",
"messageAction.collapse": "Recolher Mensagem",
"messageAction.continueGeneration": "Continuar Gerando",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "O que devo fazer em vez disso?",
"messageAction.reaction": "Adicionar reação",
"messageAction.regenerate": "Regenerar",
+ "messageAction.select": "Selecionar",
+ "messageForward.bar.cancel": "Cancelar",
+ "messageForward.bar.delete": "Excluir",
+ "messageForward.bar.forward": "Encaminhar",
+ "messageForward.bar.selectToHere": "Selecionar até aqui",
+ "messageForward.bar.selected": "{{count}} selecionado(s)",
+ "messageForward.deleteConfirm.desc": "Excluir as {{count}} mensagens selecionadas? Isso não pode ser desfeito.",
+ "messageForward.deleteConfirm.success": "{{count}} mensagens excluídas",
+ "messageForward.deleteConfirm.title": "Excluir mensagens",
+ "messageForward.empty": "Selecione pelo menos uma mensagem para encaminhar",
+ "messageForward.modal.empty": "Nenhum outro agente disponível",
+ "messageForward.modal.moreMessages": "+{{count}} mensagens a mais",
+ "messageForward.modal.noRecipients": "Escolha agentes à esquerda para encaminhar",
+ "messageForward.modal.notePlaceholder": "Adicione uma nota (opcional) — enviada junto com as mensagens",
+ "messageForward.modal.recipients": "Enviar para ({{count}})",
+ "messageForward.modal.removeRecipient": "Remover destinatário",
+ "messageForward.modal.searchPlaceholder": "Buscar agentes...",
+ "messageForward.modal.sendCount": "Encaminhar ({{count}})",
+ "messageForward.modal.title": "Encaminhar para Agente",
+ "messageForward.role.agent": "Agente",
+ "messageForward.role.assistant": "Assistente",
+ "messageForward.role.user": "Usuário",
+ "messageForward.success": "Encaminhado para {{title}}",
+ "messageForward.successMulti": "Encaminhado para {{count}} agentes",
+ "messageForward.transcript.header": "As seguintes {{count}} mensagens foram encaminhadas de outra conversa. Use-as como contexto e continue:",
"messageLongCollapse.collapse": "Mostrar menos",
"messageLongCollapse.expand": "Mostrar mais",
"messages.dm.sentTo": "Visível apenas para {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Excluir Reescrita da Consulta",
"rag.userQuery.actions.regenerate": "Regenerar Consulta",
"regenerate": "Regenerar",
+ "resources.knowledgePicker.publicAgentHint": "Agentes públicos só podem referenciar recursos do espaço de trabalho. Publique um recurso privado no espaço de trabalho primeiro, se quiser anexá-lo.",
+ "resources.mode.privateHint": "Seu próprio repositório — somente você pode ver esses arquivos",
+ "resources.mode.workspaceHint": "Compartilhado com todos neste espaço de trabalho",
+ "resources.publishToWorkspace.confirm": "Outros membros do espaço de trabalho poderão ver este arquivo. Você não poderá torná-lo privado novamente.",
+ "resources.publishToWorkspace.error": "Falha ao publicar o arquivo no espaço de trabalho",
+ "resources.publishToWorkspace.menu": "Publicar no Espaço de Trabalho",
+ "resources.publishToWorkspace.success": "Publicado no espaço de trabalho",
+ "resources.visibility.label": "Visibilidade",
+ "resources.visibility.private": "Privado",
+ "resources.visibility.privateTooltip": "Somente você pode ver este arquivo",
+ "resources.visibility.workspace": "Espaço de Trabalho",
"roleAndArchive": "Perfil e Histórico do Agente",
"runtimeEnv.mode.cloud": "Sandbox na Nuvem",
"runtimeEnv.mode.cloudDesc": "Executar em um sandbox seguro na nuvem",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Nenhum agente disponível",
"sessionGroup.noMatchingAgents": "Nenhum agente correspondente encontrado",
"sessionGroup.noSelectedAgents": "Selecione agentes",
+ "sessionGroup.publishToWorkspace": "Publicar no Espaço de Trabalho",
+ "sessionGroup.publishToWorkspaceConfirm": "Outros membros do espaço de trabalho poderão usar esta pasta. Você não poderá torná-la privada novamente.",
+ "sessionGroup.publishToWorkspaceSuccess": "Publicado no espaço de trabalho",
"sessionGroup.rename": "Renomear Grupo",
"sessionGroup.renameSuccess": "Renomeado com sucesso",
"sessionGroup.searchAgents": "Buscar agentes",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normal",
"taskDetail.priority.urgent": "Urgente",
"taskDetail.properties": "Propriedades",
+ "taskDetail.publishToWorkspace.confirmContent": "Uma vez publicado, esta tarefa se tornará visível para todos os membros do espaço de trabalho e não poderá ser revertida para privada.",
+ "taskDetail.publishToWorkspace.confirmHint": "Execuções anteriores permanecem privadas. Apenas execuções criadas após a publicação serão visíveis para os membros do espaço de trabalho.",
+ "taskDetail.publishToWorkspace.confirmOk": "Publicar",
+ "taskDetail.publishToWorkspace.confirmTitle": "Publicar tarefa no espaço de trabalho?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Esta tarefa está atribuída a um agente privado. Reatribua a um agente do espaço de trabalho ou publique o agente primeiro.",
+ "taskDetail.publishToWorkspace.menuLabel": "Publicar no Espaço de Trabalho",
"taskDetail.reassignDisabled": "Não é possível reatribuir o agente enquanto a tarefa está em execução",
"taskDetail.replyInThread": "Responder neste tópico",
"taskDetail.replyPlaceholder": "Responder neste tópico...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Quadro",
"taskList.view.list": "Lista",
"taskList.viewAll": "Ver tudo",
+ "taskList.visibility.all": "Todos",
+ "taskList.visibility.label": "Visibilidade",
"taskSchedule.advancedSettings": "Configurações avançadas",
"taskSchedule.clear": "Limpar",
"taskSchedule.continuous": "Contínuo",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Copiar Caminho Absoluto",
"workingPanel.files.copyRelativePath": "Copiar Caminho Relativo",
- "workingPanel.files.count_one": "{{count}} arquivo",
- "workingPanel.files.count_other": "{{count}} arquivos",
"workingPanel.files.empty": "Nenhum arquivo neste espaço de trabalho",
+ "workingPanel.files.noSearchResults": "Nenhum arquivo correspondente",
"workingPanel.files.open": "Abrir Arquivo",
- "workingPanel.files.refresh": "Atualizar",
+ "workingPanel.files.searchPlaceholder": "Filtrar arquivos...",
"workingPanel.files.showInReview": "Mostrar na Revisão",
"workingPanel.files.showInSystem": "Revelar na Pasta",
"workingPanel.files.title": "Arquivos",
diff --git a/locales/pt-BR/common.json b/locales/pt-BR/common.json
index a1234b4a2a6..bfae95a4db4 100644
--- a/locales/pt-BR/common.json
+++ b/locales/pt-BR/common.json
@@ -1,5 +1,6 @@
{
"about": "Sobre",
+ "addNew": "Adicionar novo",
"advanceSettings": "Configurações Avançadas",
"agentOnboardingPromo.actionLabel": "Experimentar agora",
"agentOnboardingPromo.description": "Configure suas equipes de agentes em um chat rápido com a Lobe AI. Seus agentes atuais permanecem inalterados.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "A verificação da política de conteúdo falhou. Revise seu prompt.",
"getDesktopApp": "Obter Aplicativo para Desktop",
"goToTarget": "Ir para o alvo",
+ "gotIt": "Entendido",
"historyRange": "Período do Histórico",
"home.suggestQuestions": "Experimente estes exemplos",
"import": "Importar",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Mover para baixo",
"navPanel.moveUp": "Mover para cima",
"navPanel.pinned": "Fixado",
+ "navPanel.privateAgents": "Privado",
+ "navPanel.publicAgents": "Área de trabalho",
"navPanel.resetDefault": "Restaurar para o padrão",
"navPanel.searchAgent": "Buscar Agente...",
"navPanel.searchRecent": "Pesquisar recentes...",
diff --git a/locales/pt-BR/discover.json b/locales/pt-BR/discover.json
index d8c3102d22d..a949c1629e9 100644
--- a/locales/pt-BR/discover.json
+++ b/locales/pt-BR/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "forks",
"fork.forksCount": "{{count}} fork",
"fork.forksCount_other": "{{count}} forks",
+ "fork.orgSetupRequired.memberContent": "Este espaço de trabalho ainda não configurou um perfil de Comunidade, então os forks do marketplace não podem ser salvos aqui. Por favor, peça ao proprietário do espaço de trabalho para configurá-lo em Comunidade → Espaço de Trabalho.",
+ "fork.orgSetupRequired.ownerContent": "Este espaço de trabalho ainda não configurou um perfil de Comunidade. Configure um para fazer forks de agentes do marketplace para o seu espaço de trabalho.",
+ "fork.orgSetupRequired.ownerOk": "Ir para configuração",
+ "fork.orgSetupRequired.title": "Configuração de perfil de Comunidade necessária",
"fork.success": "Fork realizado com sucesso!",
"fork.viewAllForks": "Ver todos os forks",
+ "fork.visibilityPrivate": "Privado",
+ "fork.visibilityPublic": "Espaço de Trabalho",
"groupAgents.tag": "Grupo",
"groupAgents.underReview": "Em análise",
"home.communityAgents": "Agentes da Comunidade",
diff --git a/locales/pt-BR/editor.json b/locales/pt-BR/editor.json
index 13c87642e17..b2cf87e1f0c 100644
--- a/locales/pt-BR/editor.json
+++ b/locales/pt-BR/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Habilidade",
"actionTag.category.tool": "Ferramenta",
"actionTag.tooltip.agentSkill": "Carrega um pacote de habilidades dos documentos deste agente para a solicitação.",
+ "actionTag.tooltip.clickToView": "Clique para ver os detalhes",
"actionTag.tooltip.command": "Executa um comando slash no cliente antes do envio.",
"actionTag.tooltip.projectSkill": "Enviado como uma invocação de barra para que o CLI do agente execute a habilidade correspondente do projeto.",
"actionTag.tooltip.skill": "Carrega um pacote de habilidades reutilizável para esta solicitação.",
diff --git a/locales/pt-BR/electron.json b/locales/pt-BR/electron.json
index c437b9650d3..b02bf5ace29 100644
--- a/locales/pt-BR/electron.json
+++ b/locales/pt-BR/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Configurações",
"navigation.task": "Tarefa",
"navigation.tasks": "Tarefas",
+ "navigation.topics": "Tópicos",
"navigation.unpin": "Desfixar",
"notification.finishChatGeneration": "Geração de mensagem pela IA concluída",
"proxy.auth": "Autenticação necessária",
diff --git a/locales/pt-BR/eval.json b/locales/pt-BR/eval.json
index 87a98d244cc..4c976ee808e 100644
--- a/locales/pt-BR/eval.json
+++ b/locales/pt-BR/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Tem certeza de que deseja excluir este benchmark? Conjuntos de dados relacionados e registros de avaliação também serão excluídos.",
"benchmark.actions.edit": "Editar Benchmark",
"benchmark.actions.export": "Exportar",
+ "benchmark.card.bestPassRate": "Melhor taxa de aprovação",
"benchmark.card.bestScore": "Melhor",
"benchmark.card.caseCount": "{{count}} casos",
+ "benchmark.card.casesLabel": "Casos",
"benchmark.card.datasetCount": "{{count}} conjuntos de dados",
"benchmark.card.empty": "Ainda não há avaliações",
"benchmark.card.emptyHint": "Crie uma nova avaliação na página de detalhes do benchmark",
+ "benchmark.card.evalsLabel": "Avaliações",
"benchmark.card.importDataset": "Importar Conjunto de Dados",
"benchmark.card.noDataset": "Ainda não há conjuntos de dados",
"benchmark.card.noDatasetHint": "Importe um conjunto de dados para começar a avaliar",
"benchmark.card.noRecentRuns": "Nenhuma avaliação recente para exibir",
"benchmark.card.recentRuns": "Avaliações Recentes",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} antes da falha",
+ "benchmark.card.run.queued": "Na fila",
"benchmark.card.runCount": "{{count}} avaliações",
"benchmark.card.startFirst": "Iniciar Primeira Avaliação",
"benchmark.card.viewAll": "Ver todos {{count}}",
diff --git a/locales/pt-BR/file.json b/locales/pt-BR/file.json
index 96228b52bc5..90cc437ad78 100644
--- a/locales/pt-BR/file.json
+++ b/locales/pt-BR/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Transferir biblioteca",
"library.list.transferTo": "Transferir para…",
"library.new": "Nova Biblioteca",
+ "library.privateEmpty": "Criar uma biblioteca privada",
+ "library.publish": "Publicar no espaço de trabalho",
+ "library.publishConfirm.content": "Todos os membros do espaço de trabalho verão esta base de conhecimento. Esta ação não pode ser desfeita.",
+ "library.publishConfirm.title": "Publicar base de conhecimento no espaço de trabalho?",
"library.title": "Biblioteca",
+ "library.workspaceEmpty": "Criar uma biblioteca do espaço de trabalho",
"loadMore": "Carregar Mais",
"menu.allFiles": "Todos os Arquivos",
"menu.allPages": "Todas as Páginas",
@@ -170,6 +175,13 @@
"pageList.noResults": "Nenhuma página correspondente encontrada",
"pageList.pageCount": "{{count}} páginas no total",
"pageList.pageSizeItem": "{{count}} itens",
+ "pageList.privateTitle": "Privado",
+ "pageList.publishConfirm.content": "Após a publicação, todos no espaço de trabalho poderão ver esta página. Você não poderá alterá-la de volta para privada posteriormente.",
+ "pageList.publishConfirm.ok": "Publicar",
+ "pageList.publishConfirm.title": "Publicar no espaço de trabalho",
+ "pageList.publishError": "Falha ao publicar a página",
+ "pageList.publishSuccess": "Página publicada no espaço de trabalho",
+ "pageList.publishToWorkspace": "Publicar no espaço de trabalho",
"pageList.title": "Páginas",
"pageList.transferConfirm": "Transferir",
"pageList.transferDescription": "Mova esta página (e quaisquer pastas que ela contenha) para outro espaço de trabalho.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Transferir para…",
"pageList.transferWarning": "Esta é uma movimentação definitiva; reverter requer outra transferência.",
"pageList.untitled": "Sem título",
+ "pageList.workspaceTitle": "Espaço de trabalho",
"portal.openInPageEditor": "Editar na Página",
"preview.downloadFile": "Baixar Arquivo",
"preview.unsupportedFileAndContact": "Este formato de arquivo não é suportado para visualização online no momento. Se desejar solicitar suporte, <1>entre em contato conosco</1>.",
diff --git a/locales/pt-BR/image.json b/locales/pt-BR/image.json
index d25c5cd5417..f88e9808844 100644
--- a/locales/pt-BR/image.json
+++ b/locales/pt-BR/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Excluir Tópico de Geração",
"topic.deleteConfirmDesc": "Você está prestes a excluir este tópico de geração. Esta ação não pode ser desfeita, prossiga com cautela.",
"topic.empty": "Nenhum tópico de geração",
+ "topic.privateTitle": "Privado",
"topic.title": "Tema da Pintura",
- "topic.untitled": "Tópico Padrão"
+ "topic.untitled": "Tópico Padrão",
+ "topic.visibility.existingLocked": "A visibilidade está fixa para o tópico atual. Crie um novo tópico para escolher um espaço diferente.",
+ "topic.workspaceTitle": "Espaço de Trabalho"
}
diff --git a/locales/pt-BR/models.json b/locales/pt-BR/models.json
index 9a3647b0f7f..8ad62ea52c8 100644
--- a/locales/pt-BR/models.json
+++ b/locales/pt-BR/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 é o modelo mais inteligente da Anthropic até o momento.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 é a melhor combinação de velocidade e inteligência da Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 da Anthropic — modelo equilibrado com fortes habilidades em raciocínio e programação.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 é o modelo Sonnet mais agente da Anthropic, projetado para fluxos de trabalho de codificação sustentada, uso de ferramentas e contextos longos, com velocidade e eficiência no nível Sonnet.",
"codegeex-4.description": "CodeGeeX-4 é um assistente de codificação com IA poderoso que oferece suporte a perguntas e respostas multilíngues e autocompletar código para aumentar a produtividade dos desenvolvedores.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B é um modelo de geração de código multilíngue que oferece suporte a autocompletar e geração de código, interpretação de código, busca na web, chamadas de função e perguntas e respostas em nível de repositório, cobrindo uma ampla gama de cenários de desenvolvimento de software. É um modelo de código de alto nível com menos de 10 bilhões de parâmetros.",
"codegemma.description": "CodeGemma é um modelo leve para tarefas variadas de programação, permitindo iteração rápida e fácil integração.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro é o agente mais poderoso do Google, com capacidades de codificação emocional e visuais aprimoradas, além de raciocínio de última geração.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) é o modelo de geração de imagens nativo mais rápido do Google, com suporte a raciocínio, geração e edição de imagens conversacionais.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) é o modelo nativo de geração de imagens mais rápido do Google, com suporte a raciocínio, geração e edição de imagens em conversas.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) é o modelo de geração de imagens mais rápido e econômico do Google, projetado para geração e edição em grande volume.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) é o modelo de geração de imagens mais rápido e econômico do Google, projetado para geração e edição em grande volume.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview é o modelo multimodal mais econômico do Google, otimizado para tarefas agentivas de alto volume, tradução e processamento de dados.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite é o modelo multimodal mais econômico do Google, otimizado para tarefas agentivas de alto volume, tradução e processamento de dados.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview melhora o Gemini 3 Pro com capacidades de raciocínio aprimoradas e adiciona suporte a nível médio de pensamento.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V oferece forte compreensão e raciocínio visual em diversas tarefas visuais.",
"glm-5-turbo.description": "GLM-5-Turbo é um modelo de fundação profundamente otimizado para cenários agentivos. Foi especificamente otimizado para os requisitos principais de tarefas de agentes desde a fase de treinamento, aprimorando capacidades-chave como invocação de ferramentas, seguimento de comandos e execução de cadeias longas. É ideal para construir assistentes de agentes de alto desempenho.",
"glm-5.1.description": "O GLM-5.1 é o mais recente modelo flagship da Zhipu, alinhado ao Claude Opus 4.6 em capacidades gerais e de programação. Ele se destaca em tarefas de longo prazo, sendo capaz de planejar, executar e iterar de forma autônoma por até 8 horas em uma única tarefa, tornando-se uma base ideal para Agentes Autônomos e Agentes de Programação de Longo Prazo.",
- "glm-5.2.description": "A série GLM é um modelo de raciocínio híbrido da Zhipu AI desenvolvido para agentes, com modos de pensamento e não-pensamento. O GLM-5.2 é o modelo principal da Zhipu para a era de tarefas de longo prazo, suportando contexto de 1M tokens e otimizado para planejamento de longo prazo, codificação complexa e execução de agentes.",
+ "glm-5.2.description": "A série GLM é um modelo de raciocínio híbrido da Zhipu AI desenvolvido para agentes, com modos de pensamento e não-pensamento. O GLM-5.2 é o modelo principal da Zhipu para a era de tarefas de longo prazo, suportando um contexto de 1M tokens e otimizado para planejamento de longo prazo, codificação complexa e execução de agentes.",
"glm-5.description": "GLM-5 é o modelo base de próxima geração da Zhipu, projetado especificamente para Engenharia Agente. Ele oferece produtividade confiável em engenharia de sistemas complexos e tarefas agentes de longo prazo. Em codificação e capacidades de agentes, o GLM-5 alcança desempenho de última geração entre os modelos de código aberto. Em cenários reais de programação, sua experiência do usuário se aproxima da do Claude Opus 4.5. Ele se destaca em engenharia de sistemas complexos e tarefas agentes de longo prazo, tornando-se um modelo base ideal para assistentes agentes de uso geral.",
"glm-5v-turbo.description": "GLM-5V-Turbo é o modelo de fundação de codificação multimodal da Zhipu para tarefas de programação visual. Ele lida nativamente com imagens, vídeos, textos e arquivos, e é otimizado para planejamento de longo prazo, codificação complexa e execução de agentes em fluxos de trabalho multimodais.",
"glm-image.description": "GLM-Image é o novo modelo principal de geração de imagens da Zhipu. O modelo foi treinado de ponta a ponta em chips produzidos nacionalmente e adota uma arquitetura híbrida original que combina modelagem autorregressiva com um decodificador de difusão. Esse design permite uma forte compreensão global das instruções, juntamente com a renderização detalhada de elementos locais, superando desafios de longa data na geração de conteúdo denso em conhecimento, como pôsteres, apresentações e diagramas educacionais. Ele representa uma importante exploração em direção a uma nova geração de paradigmas tecnológicos “cognitivos generativos”, exemplificados pelo Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 é o modelo mais versátil da Kimi até hoje, apresentando uma arquitetura multimodal nativa que suporta entradas de visão e texto, modos de 'pensamento' e 'não-pensamento', e tarefas tanto conversacionais quanto de agentes.",
"kimi-k2.6.description": "Kimi-K2.6 é um modelo de linguagem de grande porte lançado pela Moonshot AI, com excelentes capacidades de codificação e uso de ferramentas. O serviço de implantação é suportado apenas na China continental.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed é um modelo de alta velocidade do Kimi K2.7 Code. É o mesmo modelo que o Kimi K2.7 Code, mas a velocidade de saída é de cerca de 180 Tokens/s, e no cenário de contexto curto pode atingir 260 Tokens/s, proporcionando uma experiência de programação mais extrema.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code é o modelo agentivo focado em codificação da Moonshot AI, construído sobre o Kimi K2.6, com melhorias substanciais em tarefas reais de codificação de longo prazo e aproximadamente 30% menos uso de tokens de pensamento.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code é o modelo focado em codificação da Moonshot AI, baseado no Kimi K2.6, com melhorias substanciais em tarefas reais de codificação de longo prazo e aproximadamente 30% menos uso de tokens de pensamento.",
"kling/kling-v3-image-generation.description": "Suporta até 10 imagens de referência, permitindo bloquear sujeitos, elementos e tons de cor para garantir um estilo consistente. Combina transferência de estilo, referência de retratos/personagens, fusão de múltiplas imagens e pintura localizada para controle flexível. Entrega detalhes realistas de retratos, com visuais gerais delicados e ricamente camadas, apresentando cores e atmosfera cinematográficas.",
"kling/kling-v3-omni-image-generation.description": "Desbloqueie visuais de narrativa cinematográfica com geração de imagens de nova série e saída direta em 2K/4K. Analisa profundamente elementos audiovisuais em prompts para executar instruções criativas com precisão. Suporta entradas flexíveis de múltiplas referências e atualizações abrangentes de qualidade, ideal para storyboards, arte conceitual narrativa e design de cenas.",
"kling/kling-v3-omni-video-generation.description": "O novo recurso \"Referência Tudo-em-Um\" suporta vídeos de 3 a 8 segundos ou várias imagens para ancorar elementos de personagens. Pode combinar áudio original e movimentos labiais para representação autêntica de personagens. Melhora a consistência do vídeo e a expressão dinâmica. Suporta sincronização audiovisual e storyboarding inteligente.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA é um modelo multimodal que combina um codificador de visão e o Vicuna para compreensão robusta de linguagem e visão.",
"llava:13b.description": "LLaVA é um modelo multimodal que combina um codificador de visão e o Vicuna para compreensão robusta de linguagem e visão.",
"llava:34b.description": "LLaVA é um modelo multimodal que combina um codificador de visão e o Vicuna para compreensão robusta de linguagem e visão.",
+ "lobehub-glm-5.2-fast.description": "Variante rápida do GLM-5.2 com latência substancialmente menor. Mesmas capacidades do GLM-5.2 — custa mais, mas responde muito mais rápido.",
"magistral-medium-2509.description": "Magistral Medium 1.2 é um modelo de raciocínio de fronteira da Mistral AI (setembro de 2025) com suporte a visão.",
"magistral-small-2509.description": "Magistral Small 1.2 é um modelo de raciocínio pequeno e de código aberto da Mistral AI (setembro de 2025) com suporte a visão.",
"mathstral.description": "MathΣtral foi desenvolvido para pesquisa científica e raciocínio matemático, com forte capacidade de cálculo e explicação.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K suporta 32.768 tokens para contexto de comprimento médio, ideal para documentos longos e diálogos complexos em criação de conteúdo, relatórios e sistemas de chat.",
"moonshot-v1-8k-vision-preview.description": "Os modelos de visão Kimi (incluindo moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) compreendem conteúdo de imagem como texto, cores e formas de objetos.",
"moonshot-v1-8k.description": "Moonshot V1 8K é otimizado para geração de texto curta com desempenho eficiente, lidando com 8.192 tokens para conversas rápidas, anotações e conteúdo breve.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code é um modelo agentivo projetado para tarefas de codificação da Moonshot AI. Construído sobre o Kimi K2.6, apresenta melhorias significativas em tarefas reais de codificação de longo prazo, aprimorando as capacidades de conclusão de tarefas de ponta a ponta em fluxos de trabalho complexos de engenharia de software, enquanto reduz o uso de tokens de pensamento em cerca de 30% em comparação com o Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code é um modelo projetado para tarefas de codificação da Moonshot AI. Baseado no Kimi K2.6, apresenta melhorias significativas em tarefas reais de codificação de longo prazo, aprimorando as capacidades de conclusão de tarefas de ponta a ponta em fluxos de trabalho complexos de engenharia de software, enquanto reduz o uso de tokens de pensamento em cerca de 30% em comparação com o Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 é a variante instruct da série Kimi, ideal para geração de código de alta qualidade e uso de ferramentas.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 é uma atualização que amplia o contexto e melhora o desempenho em raciocínio com otimizações para programação.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo é a versão de alta velocidade do Kimi K2 Thinking, reduzindo significativamente a latência sem perder profundidade de raciocínio.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 é o modelo principal de nova geração da Zhipu com 355B de parâmetros totais e 32B de parâmetros ativos, totalmente atualizado em diálogo geral, raciocínio e capacidades de agente. GLM-4.7 aprimora o Pensamento Intercalado e introduz Pensamento Preservado e Pensamento em Nível de Turno.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air é um modelo base para aplicações com agentes, utilizando uma arquitetura Mixture-of-Experts. Ele é otimizado para uso de ferramentas, navegação na web, engenharia de software e codificação frontend, e integra-se com agentes de código como Claude Code e Roo Code. Utiliza raciocínio híbrido para lidar tanto com cenários complexos quanto com situações do dia a dia.",
"zai-org/GLM-4.5V.description": "GLM-4.5V é o mais recente VLM da Zhipu AI, baseado no modelo de texto principal GLM-4.5-Air (106B no total, 12B ativos), com uma arquitetura MoE que oferece alto desempenho a um custo reduzido. Segue a linha de desenvolvimento do GLM-4.1V-Thinking e adiciona 3D-RoPE para melhorar o raciocínio espacial em 3D. Otimizado por meio de pré-treinamento, SFT e RL, lida com imagens, vídeos e documentos longos, e está entre os melhores modelos abertos em 41 benchmarks multimodais públicos. Um modo de alternância de raciocínio permite ao usuário equilibrar velocidade e profundidade.",
- "zai-org/GLM-5.2.description": "GLM-5.2 é o mais recente modelo principal da Z.ai projetado para cenários de tarefas de longo prazo, oferecendo melhorias significativas nas capacidades de tarefas de longo prazo em comparação com o GLM-5.1. Este modelo MoE de 753B suporta uma janela de contexto estável de 1M tokens, apresenta capacidades de programação mais robustas e suporta múltiplos níveis de esforço de pensamento para um equilíbrio flexível entre desempenho e latência.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 é o mais recente modelo principal da Z.ai, projetado para cenários de tarefas de longo prazo, oferecendo melhorias significativas nas capacidades de tarefas de longo prazo em comparação com o GLM-5.1. Este modelo MoE de 753B suporta uma janela de contexto estável de 1M tokens, apresenta capacidades de programação mais robustas e suporta múltiplos níveis de esforço de pensamento para um equilíbrio flexível entre desempenho e latência.",
"zai/glm-4.5-air.description": "GLM-4.5 e GLM-4.5-Air são nossos modelos principais mais recentes para aplicações com agentes, ambos utilizando MoE. O GLM-4.5 possui 355B no total e 32B ativos por passagem; o GLM-4.5-Air é mais enxuto, com 106B no total e 12B ativos.",
"zai/glm-4.5.description": "A série GLM-4.5 foi projetada para agentes. O modelo principal GLM-4.5 combina raciocínio, codificação e habilidades de agente com 355B de parâmetros totais (32B ativos) e oferece modos de operação duplos como um sistema de raciocínio híbrido.",
"zai/glm-4.5v.description": "GLM-4.5V é baseado no GLM-4.5-Air, herdando técnicas comprovadas do GLM-4.1V-Thinking e escalando com uma robusta arquitetura MoE de 106B parâmetros.",
diff --git a/locales/pt-BR/plugin.json b/locales/pt-BR/plugin.json
index 192d420be83..71b120e954b 100644
--- a/locales/pt-BR/plugin.json
+++ b/locales/pt-BR/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Resultado",
"builtins.codex.mcpTool.unknownTool": "Ferramenta MCP",
"builtins.codex.webSearch.query": "Consulta",
+ "builtins.github.render.error": "Erro",
+ "builtins.github.render.rawResult": "Resultado bruto",
+ "builtins.github.render.updatedAt": "Atualizado {{time}}",
+ "builtins.linear.render.empty": "Nenhum {{collection}} encontrado",
"builtins.linear.render.updatedAt": "Atualizado {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Ativar Ferramentas",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} não encontrado",
diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.json
index 282d982066d..1ae5920180d 100644
--- a/locales/pt-BR/setting.json
+++ b/locales/pt-BR/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Padrão",
"settingChatAppearance.fontSize.title": "Tamanho da Fonte",
"settingChatAppearance.highlighterTheme.title": "Tema de Realce de Código",
+ "settingChatAppearance.linkIcon.desc": "Desative isso se você não precisar.",
+ "settingChatAppearance.linkIcon.previewMessage": "Confira <site></site> e <repo></repo> para mais detalhes.",
+ "settingChatAppearance.linkIcon.title": "Mostrar ícones em links de mensagens",
"settingChatAppearance.mermaidTheme.title": "Tema Mermaid",
"settingChatAppearance.title": "Aparência do Chat",
"settingChatAppearance.transitionMode.desc": "Escolha como as mensagens do chat aparecem",
@@ -1246,9 +1249,9 @@
"workspace.auditLog.actions.billing.portal_session_created": "Portal de faturamento aberto",
"workspace.auditLog.actions.budget.default_member_limit_updated": "Orçamento padrão por membro atualizado",
"workspace.auditLog.actions.budget.member_limit_updated": "Orçamento por membro atualizado",
- "workspace.auditLog.actions.budget.member_override.updated": "Substituição de orçamento por membro atualizada",
"workspace.auditLog.actions.budget.member_override_created": "Substituição de orçamento por membro criada",
"workspace.auditLog.actions.budget.member_override_removed": "Substituição de orçamento por membro removida",
+ "workspace.auditLog.actions.budget.member_override_updated": "Substituição de orçamento de membro atualizada",
"workspace.auditLog.actions.credential.created": "Credencial criada",
"workspace.auditLog.actions.credential.deleted": "Credencial excluída",
"workspace.auditLog.actions.credential.tested": "Credencial testada",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Espaço de trabalho básico · pool mensal compartilhado · sem assentos pagos",
"workspace.billingPage.billing.basic.title": "Espaço de trabalho básico",
"workspace.billingPage.billing.basic.upgradeCta": "Atualizar para Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Ajuste proporcional",
"workspace.billingPage.billing.billingPeriodModal.body": "O período de cobrança do seu workspace será alterado de {{current}} para {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Cancelar",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Alterar período de cobrança",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Crédito proporcional pelo tempo não utilizado no período atual",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Não foi possível carregar a prévia do preço. Por favor, tente novamente.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Tentar novamente",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "A alteração entrará em vigor após o término do período atual.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "A alteração entrará em vigor após o término do período atual em {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Assentos do workspace",
"workspace.billingPage.billing.billingPeriodModal.title": "Alterar o período de cobrança?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "ano",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} assento · {{credits}} créditos / mês",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} assentos · {{credits}} créditos / mês",
"workspace.billingPage.billing.breakdown.extraSeats": "Assentos extras",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Mudará para {{plan}} {{interval}} com {{seats}} assentos em {{date}}. Mantenha o saldo da conta suficiente.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Cancele a alteração agendada antes de atualizar seu plano de assinatura.",
"workspace.billingPage.billing.pending.keepPlanCta": "Manter {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Manter {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Este espaço de trabalho atualmente possui {{currentSeats}} assentos e mudará para {{seats}} assentos em {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Mudará para {{seats}} assentos em {{date}}. Mantenha o saldo da conta suficiente.",
"workspace.billingPage.billing.pending.seatsTitle": "Alteração de assentos agendada",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Comprar assentos",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Compre mais assentos para o plano {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Comprar mais assentos?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Calculando…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Cancelar",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Você será redirecionado para o checkout para concluir o pagamento.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Fazer upgrade",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Ver cobrança",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "A atualização de assentos do seu workspace foi salva.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Concluído",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Não conseguimos concluir esta atualização. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Tentar novamente",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Atualização falhou",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Convidar membros",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "A taxa proporcional dos assentos foi cobrada no seu método de pagamento atual.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} cobrado · Valor na fatura",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Resultado do pagamento",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Nenhum pagamento foi cobrado. A alteração está programada para o próximo ciclo de cobrança.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Atualizado para {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Plano atualizado",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} assentos totais estão disponíveis agora, incluindo {{purchasedSeats}} assentos extras pré-pagos.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Resultado da compra de assentos",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} assentos totais serão aplicados no próximo ciclo de cobrança, incluindo {{purchasedSeats}} assentos extras pré-pagos.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Mostrar menos",
"workspace.billingPage.usage.model.unknown": "Modelo desconhecido",
"workspace.billingPage.usage.ops": "Operações",
+ "workspace.billingPage.usage.privateAgents": "Agentes privados",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Número de agentes privados pertencentes a este membro. Os proprietários podem ver a contagem para fins de contabilidade, mas não o conteúdo dos agentes.",
"workspace.billingPage.usage.range.30d": "Últimos 30 dias",
"workspace.billingPage.usage.range.all": "Todo o período",
"workspace.billingPage.usage.range.cycle": "Este ciclo",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Criar conta e participar",
"workspace.invitePage.switchAccountToAccept": "Faça login como {{email}} para aceitar",
"workspace.invitePage.title": "Convite para Workspace",
+ "workspace.invitePage.viewerLimitSubtitle": "Este workspace atingiu o limite de visualizadores. Peça a um proprietário para liberar um assento de visualizador ou atualizar o plano antes de entrar.",
+ "workspace.invitePage.viewerLimitTitle": "Limite de Visualizadores Atingido",
"workspace.invitePage.workspaceLimitSubtitle": "Você atingiu o limite máximo de {{limit}} workspaces. Saia de um antes de ingressar em outro.",
"workspace.invitePage.workspaceLimitTitle": "Limite de Workspaces Atingido",
"workspace.member.demote": "Rebaixar para membro",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Transferir propriedade principal",
"workspace.members.empty": "Ainda não há membros",
"workspace.members.invite.addAnother": "Adicionar outro",
+ "workspace.members.invite.askOwnerToBuySeats": "Peça ao proprietário do workspace para comprar mais assentos antes de convidar novos membros.",
"workspace.members.invite.button": "Convidar",
+ "workspace.members.invite.buySeatsCta": "Comprar assentos",
"workspace.members.invite.emailLabel": "Endereço de E-mail",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} já tem um convite pendente. Reenvie ou revogue-o na lista abaixo.",
"workspace.members.invite.errors.alreadyMember": "{{email}} já é um membro deste workspace.",
"workspace.members.invite.failed": "Falha ao enviar o convite",
+ "workspace.members.invite.invitationLimitReached": "Este workspace atingiu o limite de {{limit}} convites pendentes. Revogue ou aguarde os convites não utilizados expirarem antes de enviar novos.",
"workspace.members.invite.limitReached": "Este workspace pode ter até {{limit}} membros. Remova um membro antes de convidar mais.",
"workspace.members.invite.modal.cancel": "Cancelar",
"workspace.members.invite.modal.confirm": "Confirmar",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Permissões adicionais são necessárias para gerenciar os Membros da Equipe",
"workspace.members.invite.partialSuccess": "{{success}} convidados, {{failed}} falharam. Verifique os endereços e tente novamente.",
"workspace.members.invite.roleLabel": "Função",
+ "workspace.members.invite.seatInsufficient": "Apenas {{remaining}} assento(s) restante(s). Compre mais assentos para convidar {{required}} novo(s) membro(s).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Apenas {{remaining}} assento(s) restante(s). Peça ao proprietário do workspace para comprar mais assentos.",
"workspace.members.invite.submit": "Convidar",
"workspace.members.invite.subtitle": "Adicione novos membros inserindo seus endereços de e-mail e atribuindo uma função",
"workspace.members.invite.success": "Membros da equipe convidados com sucesso.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Escolha alguns para começar — descubra mais a qualquer momento.",
"workspace.onboarding.step4.cta": "Entrar no espaço de trabalho",
"workspace.onboarding.step4.heading": "{{name}} está pronto!",
+ "workspace.onboarding.step4.marketProfileNudge": "Criamos um perfil da Comunidade para <strong>{{name}}</strong> para que os agentes do workspace possam ser instalados. <cta>Personalize-o na Comunidade</cta>.",
"workspace.onboarding.step4.subtitle": "Seu espaço de trabalho está configurado. Comece a colaborar com sua equipe.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} agente(s) prontos para ajudar. Comece a colaborar com sua equipe.",
"workspace.onboarding.step4Invite.addMore": "Adicionar outro e-mail",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Concluir",
"workspace.onboarding.step4Invite.heading": "Convide sua equipe",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} membro(s) convidado(s)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Você pode convidar até {{max}} colega(s) com seus assentos atuais.",
"workspace.onboarding.step4Invite.subtitle": "Traga colegas para este espaço de trabalho agora ou convide-os mais tarde nas configurações de membros.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Seu plano inclui {{includedSeats}} assentos gratuitos e suporta até {{maxSeats}} assentos com assentos extras adquiridos. Convide colegas agora ou adicione-os mais tarde nas configurações de membros.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "O plano Gratuito inclui até {{maxSeats}} assentos, incluindo você. Convide colegas agora ou adicione-os mais tarde nas configurações de membros.",
"workspace.onboarding.stepLabel": "Etapa {{current}} de {{total}}",
"workspace.onboarding.title": "Configure seu workspace",
"workspace.onboarding.toast.failed": "Não foi possível salvar. Por favor, tente novamente.",
+ "workspace.onboarding.toast.installAgentsFailed": "Não foi possível adicionar os agentes selecionados. Você pode instalá-los mais tarde no marketplace.",
"workspace.onboarding.toast.saved": "Salvo",
"workspace.permission.requiresMember": "Você não tem permissão para fazer isso. Peça ao proprietário do workspace para conceder a você a permissão de Membro ou superior.",
"workspace.permission.requiresOwner": "Somente os proprietários do workspace podem fazer isso. Peça a um proprietário se precisar alterar isso.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Desbloqueie colaboração, maiores créditos e limites de taxa mais altos.",
"workspace.upgradeModal.successPage.activating": "Ativando sua assinatura — isso geralmente leva alguns segundos…",
"workspace.upgradeModal.successPage.amountLabel": "Total pago",
- "workspace.upgradeModal.successPage.continueCta": "Convidar e continuar",
"workspace.upgradeModal.successPage.desc": "{{name}} agora está no plano Pro. Convide colegas de equipe para começar a colaborar.",
- "workspace.upgradeModal.successPage.inviteDesc": "Envie convites por e-mail. Eles receberão um link para ingressar no workspace.",
- "workspace.upgradeModal.successPage.inviteTitle": "Convide colegas de equipe para {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Pago em",
"workspace.upgradeModal.successPage.planTag": "Workspace Pro",
"workspace.upgradeModal.successPage.processingDesc": "Aguarde — estamos confirmando o pagamento com a Stripe. Isso geralmente leva alguns segundos.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Ciclo de faturamento",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} assento incluído",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} assentos incluídos",
- "workspace.upgradeModal.successPage.skipCta": "Pular por enquanto",
"workspace.upgradeModal.successPage.title": "Atualização concluída",
"workspace.upgradeModal.successToast": "Atualização concluída — atualizando seu plano…",
"workspace.upgradeModal.title": "Atualizar para Pro",
diff --git a/locales/pt-BR/spend.json b/locales/pt-BR/spend.json
index 8958411ca07..500f9e79934 100644
--- a/locales/pt-BR/spend.json
+++ b/locales/pt-BR/spend.json
@@ -40,5 +40,28 @@
"table.more": "Ver Detalhes",
"table.title": "Detalhes do Uso de Créditos Computacionais",
"table.totalToken.input": "Entrada",
- "table.totalToken.output": "Saída"
+ "table.totalToken.output": "Saída",
+ "usageStats.breakdown.cost": "Custo",
+ "usageStats.breakdown.model": "Modelo",
+ "usageStats.breakdown.requests": "Solicitações",
+ "usageStats.breakdown.title": "Uso por Modelo",
+ "usageStats.breakdown.totalTokens": "Tokens",
+ "usageStats.byDay": "Por dia",
+ "usageStats.byWeek": "Por semana",
+ "usageStats.cards.cacheDesc": "Taxa de acerto {{rate}}% · Leitura {{read}}",
+ "usageStats.cards.cacheSavings": "Economia de cache",
+ "usageStats.cards.cost": "Custo",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Entrada {{input}} · Saída {{output}}",
+ "usageStats.chart.cacheWrite": "Gravação no cache",
+ "usageStats.chart.input": "Entrada",
+ "usageStats.chart.output": "Saída",
+ "usageStats.chart.spend": "Custo",
+ "usageStats.chart.title": "Quando este agente gastou",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Dimensão",
+ "usageStats.entry": "Uso e Custo",
+ "usageStats.range": "Intervalo de tempo",
+ "usageStats.rangeSuffix": "Últimos {{count}}d",
+ "usageStats.title": "Uso e Custo"
}
diff --git a/locales/pt-BR/topic.json b/locales/pt-BR/topic.json
index 3a866676629..0b333e29981 100644
--- a/locales/pt-BR/topic.json
+++ b/locales/pt-BR/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Expandir todos os grupos",
"sidebar.title": "Tópicos",
"taskManager.agent": "Agente de Tarefas",
+ "taskManager.agentSelector.privateGroup": "Privado",
+ "taskManager.agentSelector.workspaceGroup": "Espaço de Trabalho",
"taskManager.welcome": "Pergunte-me sobre suas tarefas",
"temp": "Temporário",
"title": "Tópico"
diff --git a/locales/pt-BR/video.json b/locales/pt-BR/video.json
index 7ec1e6b6b59..87cd50aad32 100644
--- a/locales/pt-BR/video.json
+++ b/locales/pt-BR/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Criar Novo Tópico",
"topic.deleteConfirm": "Excluir Tópico de Vídeo",
"topic.deleteConfirmDesc": "Você está prestes a excluir este tópico de vídeo. Esta ação não poderá ser desfeita.",
+ "topic.privateTitle": "Privado",
"topic.title": "Tópicos de Vídeo",
- "topic.untitled": "Tópico Padrão"
+ "topic.untitled": "Tópico Padrão",
+ "topic.visibility.existingLocked": "A visibilidade está fixa para o tópico atual. Crie um novo tópico para escolher um espaço diferente.",
+ "topic.workspaceTitle": "Espaço de Trabalho"
}
diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.json
index 7ce8526f4c8..16a2eccd8f2 100644
--- a/locales/ru-RU/chat.json
+++ b/locales/ru-RU/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "Модель",
"active": "Активен",
"addAgentFromMarket": "Добавить из Маркета",
+ "agent.publishToWorkspace": "Опубликовать в рабочем пространстве",
+ "agent.publishToWorkspaceConfirm": "Другие участники рабочего пространства смогут использовать этого агента. Вы не сможете снова сделать его приватным.",
+ "agent.publishToWorkspaceSuccess": "Опубликовано в рабочем пространстве",
"agentBuilder.installPlugin.authRequired": "Для продолжения требуется вход в Cloud MCP",
"agentBuilder.installPlugin.cancel": "Отмена",
"agentBuilder.installPlugin.clickApproveToConnect": "Нажмите «Одобрить», чтобы подключиться и авторизовать эту интеграцию",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "Добавить описание...",
"createTask.submit": "Создать задачу",
"createTask.titlePlaceholder": "Название задачи",
+ "createTask.visibility.changeFailed": "Не удалось изменить видимость задачи",
+ "createTask.visibility.helperPrivate": "Только вы можете видеть эту задачу.",
+ "createTask.visibility.helperWorkspace": "Все в этом рабочем пространстве могут видеть эту задачу.",
+ "createTask.visibility.label": "Видимость",
+ "createTask.visibility.private": "Приватная",
+ "createTask.visibility.privateAgentDisabled": "Приватные агенты могут выполнять только приватные задачи. Выберите агента рабочего пространства или переключите эту задачу на приватную.",
+ "createTask.visibility.privateAgentLocked": "Приватные агенты могут выполнять только приватные задачи.",
+ "createTask.visibility.workspace": "Рабочее пространство",
"defaultAgent": "Агент по умолчанию",
"defaultGroupChat": "Группа",
"defaultList": "Список по умолчанию",
@@ -328,10 +339,12 @@
"input.inputCompletionError.title": "Предложения ввода приостановлены",
"input.modelUnavailable": "Текущая модель больше недоступна. Выберите другую модель, чтобы продолжить.",
"input.more": "Ещё",
+ "input.sandboxModeNotice": "Запуск в временной облачной песочнице. Локальные запуски быстрее и могут получить доступ к вашим файлам.",
"input.send": "Отправить",
"input.sendWithCmdEnter": "Нажмите <key/>, чтобы отправить",
"input.sendWithEnter": "Нажмите <key/>, чтобы отправить",
"input.stop": "Остановить",
+ "input.switchToLocal": "Использовать локальный компьютер",
"input.warp": "Новая строка",
"input.warpWithKey": "Нажмите <key/>, чтобы вставить перенос строки",
"inputQueue.delete": "Удалить",
@@ -373,10 +386,13 @@
"memory.on.title": "Включить память",
"memory.title": "Память",
"mention.category.agents": "Агенты",
+ "mention.category.files": "Файлы",
"mention.category.members": "Участники",
+ "mention.category.privateAgents": "Приватные",
"mention.category.skills": "Навыки",
"mention.category.tools": "Инструменты",
"mention.category.topics": "Темы",
+ "mention.category.workspaceAgents": "Рабочее пространство",
"mention.title": "Упомянуть участников",
"messageAction.collapse": "Свернуть сообщение",
"messageAction.continueGeneration": "Продолжить генерацию",
@@ -398,12 +414,15 @@
"messageForward.deleteConfirm.title": "Удалить сообщения",
"messageForward.empty": "Выберите хотя бы одно сообщение для пересылки",
"messageForward.modal.empty": "Нет доступных агентов",
+ "messageForward.modal.moreMessages": "+{{count}} дополнительных сообщений",
"messageForward.modal.noRecipients": "Выберите агентов слева для пересылки",
"messageForward.modal.notePlaceholder": "Добавьте заметку (необязательно) — она будет отправлена вместе с сообщениями",
"messageForward.modal.recipients": "Отправить ({{count}})",
+ "messageForward.modal.removeRecipient": "Удалить получателя",
"messageForward.modal.searchPlaceholder": "Поиск агентов…",
"messageForward.modal.sendCount": "Переслать ({{count}})",
"messageForward.modal.title": "Переслать агенту",
+ "messageForward.role.agent": "Агент",
"messageForward.role.assistant": "Ассистент",
"messageForward.role.user": "Пользователь",
"messageForward.success": "Переслано {{title}}",
@@ -538,6 +557,17 @@
"rag.userQuery.actions.delete": "Удалить переформулировку запроса",
"rag.userQuery.actions.regenerate": "Перегенерировать запрос",
"regenerate": "Сгенерировать заново",
+ "resources.knowledgePicker.publicAgentHint": "Публичные агенты могут ссылаться только на ресурсы рабочего пространства. Сначала опубликуйте приватный ресурс в рабочем пространстве, если хотите его прикрепить.",
+ "resources.mode.privateHint": "Ваш личный ящик — только вы можете видеть эти файлы",
+ "resources.mode.workspaceHint": "Доступно всем в этом рабочем пространстве",
+ "resources.publishToWorkspace.confirm": "Другие участники рабочего пространства смогут видеть этот файл. Вы не сможете снова сделать его приватным.",
+ "resources.publishToWorkspace.error": "Не удалось опубликовать файл в рабочем пространстве",
+ "resources.publishToWorkspace.menu": "Опубликовать в рабочем пространстве",
+ "resources.publishToWorkspace.success": "Опубликовано в рабочем пространстве",
+ "resources.visibility.label": "Видимость",
+ "resources.visibility.private": "Приватная",
+ "resources.visibility.privateTooltip": "Только вы можете видеть этот файл",
+ "resources.visibility.workspace": "Рабочее пространство",
"roleAndArchive": "Профиль агента и история",
"runtimeEnv.mode.cloud": "Облачная песочница",
"runtimeEnv.mode.cloudDesc": "Запуск в безопасной облачной песочнице",
@@ -584,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Нет доступных агентов",
"sessionGroup.noMatchingAgents": "Совпадений не найдено",
"sessionGroup.noSelectedAgents": "Пожалуйста, выберите агентов",
+ "sessionGroup.publishToWorkspace": "Опубликовать в рабочем пространстве",
+ "sessionGroup.publishToWorkspaceConfirm": "Другие участники рабочего пространства смогут использовать эту папку. Вы не сможете снова сделать её приватной.",
+ "sessionGroup.publishToWorkspaceSuccess": "Опубликовано в рабочем пространстве",
"sessionGroup.rename": "Переименовать группу",
"sessionGroup.renameSuccess": "Переименование успешно",
"sessionGroup.searchAgents": "Поиск агентов",
@@ -755,6 +788,12 @@
"taskDetail.priority.normal": "Обычный",
"taskDetail.priority.urgent": "Срочный",
"taskDetail.properties": "Свойства",
+ "taskDetail.publishToWorkspace.confirmContent": "После публикации эта задача станет видимой для всех участников рабочего пространства и не сможет быть снова сделана приватной.",
+ "taskDetail.publishToWorkspace.confirmHint": "Прошлые запуски останутся приватными. Только запуски, созданные после публикации, будут видны участникам рабочего пространства.",
+ "taskDetail.publishToWorkspace.confirmOk": "Опубликовать",
+ "taskDetail.publishToWorkspace.confirmTitle": "Опубликовать задачу в рабочем пространстве?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Эта задача назначена приватному агенту. Переназначьте её агенту рабочего пространства или сначала опубликуйте агента.",
+ "taskDetail.publishToWorkspace.menuLabel": "Опубликовать в рабочем пространстве",
"taskDetail.reassignDisabled": "Нельзя переназначить агента, пока задача выполняется",
"taskDetail.replyInThread": "Ответить в этой ветке",
"taskDetail.replyPlaceholder": "Ответить в этой ветке...",
@@ -865,6 +904,8 @@
"taskList.view.board": "Доска",
"taskList.view.list": "Список",
"taskList.viewAll": "Посмотреть все",
+ "taskList.visibility.all": "Все",
+ "taskList.visibility.label": "Видимость",
"taskSchedule.advancedSettings": "Дополнительные настройки",
"taskSchedule.clear": "Очистить",
"taskSchedule.continuous": "Непрерывно",
@@ -1158,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Копировать путь",
"workingPanel.files.copyRelativePath": "Копировать относительный путь",
- "workingPanel.files.count_one": "{{count}} файл",
- "workingPanel.files.count_other": "{{count}} файлов",
"workingPanel.files.empty": "Нет файлов в этом рабочем пространстве",
+ "workingPanel.files.noSearchResults": "Совпадающих файлов не найдено",
"workingPanel.files.open": "Открыть файл",
- "workingPanel.files.refresh": "Обновить",
+ "workingPanel.files.searchPlaceholder": "Фильтровать файлы...",
"workingPanel.files.showInReview": "Показать в обзоре",
"workingPanel.files.showInSystem": "Показать в папке",
"workingPanel.files.title": "Файлы",
diff --git a/locales/ru-RU/common.json b/locales/ru-RU/common.json
index 9bc8ae23f63..bca5ab75bf5 100644
--- a/locales/ru-RU/common.json
+++ b/locales/ru-RU/common.json
@@ -1,5 +1,6 @@
{
"about": "О проекте",
+ "addNew": "Добавить новый",
"advanceSettings": "Расширенные настройки",
"agentOnboardingPromo.actionLabel": "Попробовать",
"agentOnboardingPromo.description": "Настройте свои команды агентов в коротком чате с Lobe AI. Ваши существующие агенты останутся без изменений.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Проверка политики контента не пройдена. Пожалуйста, измените ваш запрос.",
"getDesktopApp": "Скачать приложение для компьютера",
"goToTarget": "Перейти к цели",
+ "gotIt": "Понял",
"historyRange": "Диапазон истории",
"home.suggestQuestions": "Попробуйте эти примеры",
"import": "Импорт",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Переместить вниз",
"navPanel.moveUp": "Переместить вверх",
"navPanel.pinned": "Закреплено",
+ "navPanel.privateAgents": "Личное",
+ "navPanel.publicAgents": "Рабочая область",
"navPanel.resetDefault": "Сбросить по умолчанию",
"navPanel.searchAgent": "Поиск агента...",
"navPanel.searchRecent": "Поиск недавних...",
diff --git a/locales/ru-RU/discover.json b/locales/ru-RU/discover.json
index 8b9375cdc30..acd24bf8fcb 100644
--- a/locales/ru-RU/discover.json
+++ b/locales/ru-RU/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "форки",
"fork.forksCount": "{{count}} форк",
"fork.forksCount_other": "{{count}} форков",
+ "fork.orgSetupRequired.memberContent": "Этот рабочий пространство еще не настроило профиль сообщества, поэтому форки из маркетплейса не могут быть здесь сохранены. Пожалуйста, попросите владельца рабочего пространства настроить его в разделе Сообщество → Рабочее пространство.",
+ "fork.orgSetupRequired.ownerContent": "Этот рабочий пространство еще не настроило профиль сообщества. Настройте его, чтобы форкать агентов из маркетплейса в ваше рабочее пространство.",
+ "fork.orgSetupRequired.ownerOk": "Перейти к настройке",
+ "fork.orgSetupRequired.title": "Требуется настройка профиля сообщества",
"fork.success": "Форк успешно создан!",
"fork.viewAllForks": "Посмотреть все форки",
+ "fork.visibilityPrivate": "Приватный",
+ "fork.visibilityPublic": "Рабочее пространство",
"groupAgents.tag": "Группа",
"groupAgents.underReview": "На рассмотрении",
"home.communityAgents": "Агенты сообщества",
diff --git a/locales/ru-RU/editor.json b/locales/ru-RU/editor.json
index 63e07d6aaba..714071565de 100644
--- a/locales/ru-RU/editor.json
+++ b/locales/ru-RU/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Навык",
"actionTag.category.tool": "Инструмент",
"actionTag.tooltip.agentSkill": "Загружает набор навыков из документов этого агента для запроса.",
+ "actionTag.tooltip.clickToView": "Нажмите, чтобы просмотреть детали",
"actionTag.tooltip.command": "Выполняет клиентскую slash-команду перед отправкой.",
"actionTag.tooltip.projectSkill": "Отправляется как вызов через слэш, чтобы CLI агента запускал соответствующий навык проекта.",
"actionTag.tooltip.skill": "Загружает для этого запроса переиспользуемый пакет навыков.",
diff --git a/locales/ru-RU/electron.json b/locales/ru-RU/electron.json
index c85016b1f51..79bfc60b593 100644
--- a/locales/ru-RU/electron.json
+++ b/locales/ru-RU/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Настройки",
"navigation.task": "Задача",
"navigation.tasks": "Задачи",
+ "navigation.topics": "Темы",
"navigation.unpin": "Открепить",
"notification.finishChatGeneration": "Генерация сообщения ИИ завершена",
"proxy.auth": "Требуется аутентификация",
diff --git a/locales/ru-RU/eval.json b/locales/ru-RU/eval.json
index bb662d7a2dd..d7446bdffa8 100644
--- a/locales/ru-RU/eval.json
+++ b/locales/ru-RU/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Вы уверены, что хотите удалить этот эталон? Связанные наборы данных и записи оценок также будут удалены.",
"benchmark.actions.edit": "Редактировать эталон",
"benchmark.actions.export": "Экспортировать",
+ "benchmark.card.bestPassRate": "Лучший процент прохождения",
"benchmark.card.bestScore": "Лучший",
"benchmark.card.caseCount": "{{count}} случаев",
+ "benchmark.card.casesLabel": "Случаи",
"benchmark.card.datasetCount": "{{count}} наборов данных",
"benchmark.card.empty": "Оценок пока нет",
"benchmark.card.emptyHint": "Создайте новую оценку на странице деталей эталона",
+ "benchmark.card.evalsLabel": "Оценки",
"benchmark.card.importDataset": "Импортировать набор данных",
"benchmark.card.noDataset": "Наборов данных пока нет",
"benchmark.card.noDatasetHint": "Импортируйте набор данных, чтобы начать оценку",
"benchmark.card.noRecentRuns": "Нет недавних оценок для отображения",
"benchmark.card.recentRuns": "Недавние оценки",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} до сбоя",
+ "benchmark.card.run.queued": "В очереди",
"benchmark.card.runCount": "{{count}} оценок",
"benchmark.card.startFirst": "Начать первую оценку",
"benchmark.card.viewAll": "Просмотреть все {{count}}",
diff --git a/locales/ru-RU/file.json b/locales/ru-RU/file.json
index 7fd39552438..8fd265a5f45 100644
--- a/locales/ru-RU/file.json
+++ b/locales/ru-RU/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Переместить библиотеку",
"library.list.transferTo": "Переместить в…",
"library.new": "Новая библиотека",
+ "library.privateEmpty": "Создать частную библиотеку",
+ "library.publish": "Опубликовать в рабочем пространстве",
+ "library.publishConfirm.content": "Все участники рабочего пространства увидят эту базу знаний. Это действие нельзя отменить.",
+ "library.publishConfirm.title": "Опубликовать базу знаний в рабочем пространстве?",
"library.title": "Библиотека",
+ "library.workspaceEmpty": "Создать библиотеку рабочего пространства",
"loadMore": "Загрузить ещё",
"menu.allFiles": "Все файлы",
"menu.allPages": "Все страницы",
@@ -170,6 +175,13 @@
"pageList.noResults": "Совпадений не найдено",
"pageList.pageCount": "Всего {{count}} страниц",
"pageList.pageSizeItem": "{{count}} элементов",
+ "pageList.privateTitle": "Частное",
+ "pageList.publishConfirm.content": "После публикации все в рабочем пространстве смогут видеть эту страницу. Вы не сможете снова сделать её частной.",
+ "pageList.publishConfirm.ok": "Опубликовать",
+ "pageList.publishConfirm.title": "Опубликовать в рабочем пространстве",
+ "pageList.publishError": "Не удалось опубликовать страницу",
+ "pageList.publishSuccess": "Страница опубликована в рабочем пространстве",
+ "pageList.publishToWorkspace": "Опубликовать в рабочем пространстве",
"pageList.title": "Страницы",
"pageList.transferConfirm": "Переместить",
"pageList.transferDescription": "Переместите эту страницу (и любые содержащиеся в ней папки) в другую рабочую область.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Переместить в…",
"pageList.transferWarning": "Это одностороннее перемещение; для отмены потребуется повторное перемещение.",
"pageList.untitled": "Без названия",
+ "pageList.workspaceTitle": "Рабочее пространство",
"portal.openInPageEditor": "Редактировать в странице",
"preview.downloadFile": "Скачать файл",
"preview.unsupportedFileAndContact": "Этот формат файла пока не поддерживается для онлайн-просмотра. Если у вас есть пожелания, <1>свяжитесь с нами</1>.",
diff --git a/locales/ru-RU/image.json b/locales/ru-RU/image.json
index ebeaead6e60..1fb5b86f905 100644
--- a/locales/ru-RU/image.json
+++ b/locales/ru-RU/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Удалить тему генерации",
"topic.deleteConfirmDesc": "Вы собираетесь удалить эту тему генерации. Это действие необратимо, пожалуйста, будьте осторожны.",
"topic.empty": "Нет тем генерации",
+ "topic.privateTitle": "Приватный",
"topic.title": "Тема картины",
- "topic.untitled": "Тема по умолчанию"
+ "topic.untitled": "Тема по умолчанию",
+ "topic.visibility.existingLocked": "Видимость зафиксирована для текущей темы. Создайте новую тему, чтобы выбрать другое пространство.",
+ "topic.workspaceTitle": "Рабочая область"
}
diff --git a/locales/ru-RU/models.json b/locales/ru-RU/models.json
index c3d8933096b..ef65f16bbd0 100644
--- a/locales/ru-RU/models.json
+++ b/locales/ru-RU/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turbo — базовая модель, глубоко оптимизированная для агентных сценариев. Она специально оптимизирована для ключевых требований агентных задач с этапа обучения, улучшая ключевые возможности, такие как вызов инструментов, выполнение команд и выполнение длинных цепочек. Идеально подходит для создания высокопроизводительных помощников-агентов.",
"glm-5.1.description": "GLM-5.1 — это новейшая флагманская модель компании Zhipu, сопоставимая с Claude Opus 4.6 по общим возможностям и качеству программирования. Она превосходно справляется с долгосрочными задачами, способна автономно планировать, выполнять и итеративно дорабатывать решения до 8 часов в рамках одной задачи, что делает её идеальной основой для автономных агентов и агентов для долгосрочного программирования.",
"glm-5.2.description": "Серия GLM — это гибридная модель рассуждений от Zhipu AI, созданная для агентов, с режимами мышления и немышления. GLM-5.2 — флагманская модель Zhipu для эпохи задач с длинным горизонтом, поддерживающая контекст на 1M токенов и оптимизированная для долгосрочного планирования, сложного кодирования и выполнения агентных задач.",
+ "glm-5.2.description": "Серия GLM — это гибридная модель рассуждений от Zhipu AI, созданная для агентов, с режимами мышления и немышления. GLM-5.2 является флагманской моделью Zhipu для эпохи задач с длинным горизонтом, поддерживающей контекст на 1 миллион токенов и оптимизированной для долгосрочного планирования, сложного программирования и выполнения задач агентами.",
"glm-5.description": "GLM-5 — это флагманская модель следующего поколения от Zhipu, специально разработанная для агентной инженерии. Она обеспечивает надежную производительность в сложных системных разработках и задачах с долгосрочной перспективой. В области программирования и агентных возможностей GLM-5 достигает передовых результатов среди моделей с открытым исходным кодом. В реальных сценариях программирования пользовательский опыт приближается к Claude Opus 4.5. Модель превосходно справляется со сложной системной инженерией и долгосрочными агентными задачами, что делает её идеальной базовой моделью для универсальных агентных помощников.",
"glm-5v-turbo.description": "GLM-5V-Turbo — это мультимодальная модель кодирования от Zhipu для задач визуального программирования. Она нативно обрабатывает изображения, видео, текст и файлы, оптимизирована для долгосрочного планирования, сложного кодирования и выполнения агентных задач в мультимодальных рабочих процессах.",
"glm-image.description": "GLM-Image — это новая флагманская модель генерации изображений от Zhipu. Модель была обучена на отечественных чипах и использует оригинальную гибридную архитектуру, которая сочетает авторегрессионное моделирование с диффузионным декодером. Этот дизайн обеспечивает сильное понимание глобальных инструкций наряду с детальной проработкой локальных элементов, преодолевая давние проблемы в создании контента, насыщенного знаниями, такого как постеры, презентации и образовательные диаграммы. Это представляет собой важное исследование в направлении нового поколения парадигм «когнитивной генерации», примером которых является Nano Banana Pro.",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6 — это крупная языковая модель, запущенная Moonshot AI, с отличными возможностями программирования и вызова инструментов. Развертывание сервиса поддерживается только в материковом Китае.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​— это высокоскоростная версия модели Kimi K2.7 Code. Это та же модель, что и Kimi K2.7 Code, но скорость вывода составляет около 180 токенов/с, а в сценариях с коротким контекстом достигает 260 токенов/с, обеспечивая более экстремальный опыт программирования.",
"kimi-k2.7-code.description": "Kimi K2.7 Code — это модель Moonshot AI, ориентированная на кодирование, построенная на основе Kimi K2.6, с существенными улучшениями для реальных задач долгосрочного кодирования и примерно на 30% меньшим использованием токенов мышления.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code — это модель, ориентированная на программирование, от Moonshot AI, построенная на основе Kimi K2.6, с существенными улучшениями в реальных задачах программирования с длинным горизонтом и примерно на 30% меньшим использованием токенов для мышления.",
"kling/kling-v3-image-generation.description": "Поддерживает до 10 эталонных изображений, позволяя фиксировать объекты, элементы и цветовые тона для обеспечения согласованного стиля. Сочетает перенос стиля, ссылку на портреты/персонажей, слияние нескольких изображений и локальную дорисовку для гибкого управления. Обеспечивает реалистичные детали портретов, с общим визуальным оформлением, которое отличается утонченностью и богатством слоев, с кинематографическими цветами и атмосферой.",
"kling/kling-v3-omni-image-generation.description": "Разблокируйте кинематографические визуальные эффекты повествования с помощью новой серии генерации изображений и прямого вывода в 2K/4K. Глубоко анализирует аудиовизуальные элементы в подсказках для точного выполнения творческих инструкций. Поддерживает гибкие многоссылочные входные данные и комплексные улучшения качества, идеально подходящие для раскадровок, концептуального искусства повествования и дизайна сцен.",
"kling/kling-v3-omni-video-generation.description": "Новая функция «Все в одной ссылке» поддерживает видео длиной 3–8 секунд или несколько изображений для закрепления элементов персонажей. Может соответствовать оригинальному аудио и движениям губ для аутентичного представления персонажей. Улучшает согласованность видео и динамическое выражение. Поддерживает синхронизацию аудио и видео, а также интеллектуальную раскадровку.",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "Модели Kimi Vision (включая moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) способны понимать содержимое изображений, включая текст, цвета и формы объектов.",
"moonshot-v1-8k.description": "Moonshot V1 8K оптимизирована для генерации коротких текстов с высокой эффективностью, обрабатывает 8192 токена — подходит для коротких чатов, заметок и быстрого контента.",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code — это агентная модель, разработанная Moonshot AI для задач кодирования. Построенная на основе Kimi K2.6, она демонстрирует значительные улучшения в реальных задачах долгосрочного кодирования, повышая возможности выполнения задач от начала до конца в сложных рабочих процессах разработки программного обеспечения, при этом снижая использование токенов мышления примерно на 30% по сравнению с Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code — это агентная модель, разработанная Moonshot AI для задач программирования. Построенная на основе Kimi K2.6, она демонстрирует значительные улучшения в реальных задачах программирования с длинным горизонтом, улучшая возможности выполнения задач от начала до конца в сложных рабочих процессах разработки программного обеспечения, при этом снижая использование токенов для мышления примерно на 30% по сравнению с Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 — вариант instruct в серии Kimi, предназначен для высококачественного кода и использования инструментов.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 — обновление, расширяющее контекст и логические возможности с оптимизациями для программирования.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo — высокоскоростная версия Kimi K2 Thinking, значительно снижает задержку при сохранении глубины рассуждений.",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air — базовая модель для агентных приложений с архитектурой Mixture-of-Experts. Оптимизирована для использования инструментов, веб-браузинга, программной инженерии и фронтенд-разработки, интегрируется с агентами кода, такими как Claude Code и Roo Code. Использует гибридное рассуждение для решения как сложных, так и повседневных задач.",
"zai-org/GLM-4.5V.description": "GLM-4.5V — последняя мультимодальная модель Zhipu AI, построенная на флагманской текстовой модели GLM-4.5-Air (106B всего, 12B активно) с архитектурой MoE для высокой производительности при низкой стоимости. Следует пути GLM-4.1V-Thinking и добавляет 3D-RoPE для улучшения пространственного 3D-рассуждения. Оптимизирована через предобучение, SFT и RL, обрабатывает изображения, видео и длинные документы, занимает лидирующие позиции среди открытых моделей на 41 мультимодальном бенчмарке. Переключатель Thinking mode позволяет пользователям выбирать между скоростью и глубиной.",
"zai-org/GLM-5.2.description": "GLM-5.2 — это последняя флагманская модель Z.ai, разработанная для сценариев задач с длинным горизонтом, предлагающая значительные улучшения возможностей выполнения задач с длинным горизонтом по сравнению с GLM-5.1. Эта модель MoE с 753B параметрами поддерживает стабильное окно контекста на 1M токенов, обладает более сильными программными возможностями и поддерживает несколько уровней усилий мышления для гибкого баланса между производительностью и задержкой.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 — это новейшая флагманская модель Z.ai, разработанная для сценариев задач с длинным горизонтом, предлагающая значительные улучшения в возможностях выполнения таких задач по сравнению с GLM-5.1. Эта модель MoE с 753 миллиардами параметров поддерживает стабильное окно контекста на 1 миллион токенов, обладает более сильными программными возможностями и поддерживает несколько уровней усилий мышления для гибкого баланса между производительностью и задержкой.",
"zai/glm-4.5-air.description": "GLM-4.5 и GLM-4.5-Air — наши последние флагманские модели для агентных приложений, обе используют MoE. GLM-4.5 имеет 355B параметров всего и 32B активно на проход; GLM-4.5-Air — более легкая версия с 106B всего и 12B активно.",
"zai/glm-4.5.description": "Серия GLM-4.5 разработана для агентов. Флагманская модель GLM-4.5 сочетает рассуждение, программирование и агентные навыки с 355B параметров (32B активно) и предлагает два режима работы как гибридная система рассуждения.",
"zai/glm-4.5v.description": "GLM-4.5V построена на базе GLM-4.5-Air, унаследовав проверенные техники GLM-4.1V-Thinking и масштабируясь с мощной архитектурой MoE на 106B параметров.",
diff --git a/locales/ru-RU/plugin.json b/locales/ru-RU/plugin.json
index ef2ff358d9d..c366de64b88 100644
--- a/locales/ru-RU/plugin.json
+++ b/locales/ru-RU/plugin.json
@@ -32,6 +32,7 @@
"builtins.github.render.error": "Ошибка",
"builtins.github.render.rawResult": "Исходный результат",
"builtins.github.render.updatedAt": "Обновлено {{time}}",
+ "builtins.linear.render.empty": "{{collection}} не найдено",
"builtins.linear.render.updatedAt": "Обновлено {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Активировать инструменты",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} не найдено",
diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.json
index 2cdccab3a61..1aa50844fb9 100644
--- a/locales/ru-RU/setting.json
+++ b/locales/ru-RU/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Стандартный",
"settingChatAppearance.fontSize.title": "Размер шрифта",
"settingChatAppearance.highlighterTheme.title": "Тема подсветки кода",
+ "settingChatAppearance.linkIcon.desc": "Отключите это, если вам это не нужно.",
+ "settingChatAppearance.linkIcon.previewMessage": "Посмотрите <site></site> и <repo></repo> для получения дополнительной информации.",
+ "settingChatAppearance.linkIcon.title": "Показывать иконки в ссылках сообщений",
"settingChatAppearance.mermaidTheme.title": "Тема Mermaid",
"settingChatAppearance.title": "Внешний вид чата",
"settingChatAppearance.transitionMode.desc": "Выберите способ появления сообщений в чате",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Базовое рабочее пространство · общий ежемесячный пул · без платных мест",
"workspace.billingPage.billing.basic.title": "Базовое рабочее пространство",
"workspace.billingPage.billing.basic.upgradeCta": "Обновить до Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Пропорциональная корректировка",
"workspace.billingPage.billing.billingPeriodModal.body": "Платежный период вашего рабочего пространства будет изменен с {{current}} на {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Отмена",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Изменить платежный период",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Пропорциональный кредит за неиспользованное время в текущем периоде",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Не удалось загрузить предварительный просмотр цены. Пожалуйста, попробуйте снова.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Повторить",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Изменение вступит в силу после окончания текущего периода.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Изменение вступит в силу после окончания текущего периода {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Места в рабочем пространстве",
"workspace.billingPage.billing.billingPeriodModal.title": "Изменить платежный период?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "год",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} место · {{credits}} кредитов / месяц",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} мест · {{credits}} кредитов / месяц",
"workspace.billingPage.billing.breakdown.extraSeats": "Дополнительные места",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Переход на {{plan}} {{interval}} с {{seats}} местами запланирован на {{date}}. Убедитесь, что баланс вашего аккаунта достаточен.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Отмените запланированное изменение перед обновлением плана подписки.",
"workspace.billingPage.billing.pending.keepPlanCta": "Оставить {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Оставить {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "В этом рабочем пространстве сейчас {{currentSeats}} мест, и оно изменится на {{seats}} мест {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Изменение на {{seats}} мест {{date}}. Убедитесь, что баланс вашего аккаунта достаточен.",
"workspace.billingPage.billing.pending.seatsTitle": "Запланировано изменение мест",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Купить места",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Купить больше мест для плана {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Купить больше мест?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Расчет…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Отменить",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Вы будете перенаправлены на страницу оплаты для завершения платежа.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Обновить",
@@ -1644,15 +1655,21 @@
"workspace.billingPage.billing.upgradePlanModal.paymentMethodFallback": "Текущий способ оплаты",
"workspace.billingPage.billing.upgradePlanModal.paymentMethodLabel": "Способ оплаты",
"workspace.billingPage.billing.upgradePlanModal.proratedCharge": "Пропорциональная плата будет немедленно списана с вашего текущего способа оплаты.",
- "workspace.billingPage.billing.upgradePlanModal.purchaseSeats": "Приобрести места",
+ "workspace.billingPage.billing.upgradePlanModal.purchaseSeats": "Купить места",
"workspace.billingPage.billing.upgradePlanModal.purchasedSeatsLine": "Купить больше мест",
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Просмотреть платежи",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Обновление мест вашего рабочего пространства было сохранено.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Готово",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Не удалось завершить это обновление. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Попробовать снова",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Ошибка обновления",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Пригласить участников",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Пропорциональная плата за места была списана с вашего текущего способа оплаты.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} списано · Сумма в выставлении счета",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Результат оплаты",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Оплата не была списана. Изменение запланировано на следующий платежный цикл.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Обновлено до {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Тариф обновлён",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} мест теперь доступны, включая {{purchasedSeats}} предоплаченных дополнительных мест.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Результат покупки мест",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} мест будет доступно в следующем платежном цикле, включая {{purchasedSeats}} предоплаченных дополнительных мест.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Показать меньше",
"workspace.billingPage.usage.model.unknown": "Неизвестная модель",
"workspace.billingPage.usage.ops": "Операции",
+ "workspace.billingPage.usage.privateAgents": "Частные агенты",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Количество частных агентов, принадлежащих этому участнику. Владельцы могут видеть количество для учета, но не содержимое агентов.",
"workspace.billingPage.usage.range.30d": "Последние 30 дней",
"workspace.billingPage.usage.range.all": "Все время",
"workspace.billingPage.usage.range.cycle": "Этот цикл",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Создать аккаунт и присоединиться",
"workspace.invitePage.switchAccountToAccept": "Войдите как {{email}}, чтобы принять",
"workspace.invitePage.title": "Приглашение в рабочую область",
+ "workspace.invitePage.viewerLimitSubtitle": "В этом рабочем пространстве достигнут лимит зрителей. Попросите владельца освободить место для зрителя или обновить план перед присоединением.",
+ "workspace.invitePage.viewerLimitTitle": "Достигнут лимит зрителей",
"workspace.invitePage.workspaceLimitSubtitle": "Вы достигли максимума в {{limit}} рабочих областей. Покиньте одну перед присоединением к другой.",
"workspace.invitePage.workspaceLimitTitle": "Достигнут лимит рабочих областей",
"workspace.member.demote": "Понизить до участника",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Передать основное владение",
"workspace.members.empty": "Участников пока нет",
"workspace.members.invite.addAnother": "Добавить еще одного",
+ "workspace.members.invite.askOwnerToBuySeats": "Попросите владельца рабочего пространства приобрести больше мест перед приглашением новых участников.",
"workspace.members.invite.button": "Пригласить",
+ "workspace.members.invite.buySeatsCta": "Купить места",
"workspace.members.invite.emailLabel": "Адрес электронной почты",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} уже имеет ожидающее приглашение. Отправьте повторно или отзовите его из списка ниже.",
"workspace.members.invite.errors.alreadyMember": "{{email}} уже является участником этой рабочей области.",
"workspace.members.invite.failed": "Не удалось отправить приглашение",
+ "workspace.members.invite.invitationLimitReached": "В этом рабочем пространстве достигнут лимит ожидающих приглашений: {{limit}}. Отмените или дождитесь истечения срока действия неиспользованных приглашений, прежде чем отправлять новые.",
"workspace.members.invite.limitReached": "Эта рабочая область может иметь до {{limit}} участников. Удалите участника перед приглашением новых.",
"workspace.members.invite.modal.cancel": "Отмена",
"workspace.members.invite.modal.confirm": "Подтвердить",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Для управления участниками команды требуются дополнительные разрешения",
"workspace.members.invite.partialSuccess": "{{success}} приглашено, {{failed}} не удалось. Проверьте адреса и попробуйте снова.",
"workspace.members.invite.roleLabel": "Роль",
+ "workspace.members.invite.seatInsufficient": "Осталось только {{remaining}} место(а). Купите больше мест, чтобы пригласить {{required}} нового(ых) участника(ов).",
+ "workspace.members.invite.seatInsufficientNoBuy": "Осталось только {{remaining}} место(а). Попросите владельца рабочего пространства приобрести больше мест.",
"workspace.members.invite.submit": "Пригласить",
"workspace.members.invite.subtitle": "Добавьте новых участников, введя их адрес электронной почты и назначив роль",
"workspace.members.invite.success": "Участники команды успешно приглашены.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Выберите несколько для начала — откройте больше в любое время.",
"workspace.onboarding.step4.cta": "Войти в рабочее пространство",
"workspace.onboarding.step4.heading": "{{name}} готов!",
+ "workspace.onboarding.step4.marketProfileNudge": "Мы настроили профиль сообщества для <strong>{{name}}</strong>, чтобы агенты рабочего пространства могли быть установлены. <cta>Настройте его в Сообществе</cta>.",
"workspace.onboarding.step4.subtitle": "Ваше рабочее пространство настроено. Начните сотрудничество с вашей командой.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} агент(ов) готов(ы) помочь. Начните сотрудничество с вашей командой.",
"workspace.onboarding.step4Invite.addMore": "Добавить еще один email",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Завершить",
"workspace.onboarding.step4Invite.heading": "Пригласите вашу команду",
"workspace.onboarding.step4Invite.invitedCount": "Приглашено {{count}} участник(ов)",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Вы можете пригласить до {{max}} коллег с текущим количеством мест.",
"workspace.onboarding.step4Invite.subtitle": "Пригласите участников в это рабочее пространство сейчас или сделайте это позже в настройках участников.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Ваш план включает {{includedSeats}} бесплатных мест и поддерживает до {{maxSeats}} мест с дополнительно купленными местами. Пригласите участников сейчас или добавьте их позже в настройках участников.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "План Hobby включает до {{maxSeats}} мест, включая вас. Пригласите участников сейчас или добавьте их позже в настройках участников.",
"workspace.onboarding.stepLabel": "Шаг {{current}} из {{total}}",
"workspace.onboarding.title": "Настройте вашу рабочую область",
"workspace.onboarding.toast.failed": "Не удалось сохранить. Пожалуйста, попробуйте снова.",
+ "workspace.onboarding.toast.installAgentsFailed": "Не удалось добавить выбранных агентов. Вы можете установить их позже из маркетплейса.",
"workspace.onboarding.toast.saved": "Сохранено",
"workspace.permission.requiresMember": "У вас нет разрешения на это. Попросите владельца рабочей области предоставить вам роль Участника или выше.",
"workspace.permission.requiresOwner": "Только владельцы рабочей области могут это сделать. Попросите владельца, если вам нужно это изменить.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Откройте сотрудничество, увеличенные кредиты и более высокие лимиты.",
"workspace.upgradeModal.successPage.activating": "Активируем вашу подписку — это обычно занимает несколько секунд…",
"workspace.upgradeModal.successPage.amountLabel": "Итого оплачено",
- "workspace.upgradeModal.successPage.continueCta": "Пригласить и продолжить",
"workspace.upgradeModal.successPage.desc": "{{name}} теперь на Pro. Пригласите коллег, чтобы начать сотрудничество.",
- "workspace.upgradeModal.successPage.inviteDesc": "Отправьте приглашения по email. Они получат ссылку для присоединения к рабочей области.",
- "workspace.upgradeModal.successPage.inviteTitle": "Пригласить коллег в {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Оплачено в",
"workspace.upgradeModal.successPage.planTag": "Рабочая область Pro",
"workspace.upgradeModal.successPage.processingDesc": "Подождите — мы",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Цикл выставления счетов",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} включенное место",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} включенных мест",
- "workspace.upgradeModal.successPage.skipCta": "Пропустить сейчас",
"workspace.upgradeModal.successPage.title": "Обновление завершено",
"workspace.upgradeModal.successToast": "Обновление завершено — обновляем ваш план…",
"workspace.upgradeModal.title": "Обновить до Pro",
diff --git a/locales/ru-RU/spend.json b/locales/ru-RU/spend.json
index 2c729b1bcd8..7d9cdf99135 100644
--- a/locales/ru-RU/spend.json
+++ b/locales/ru-RU/spend.json
@@ -40,5 +40,28 @@
"table.more": "Подробнее",
"table.title": "Детали использования вычислительных кредитов",
"table.totalToken.input": "Ввод",
- "table.totalToken.output": "Вывод"
+ "table.totalToken.output": "Вывод",
+ "usageStats.breakdown.cost": "Стоимость",
+ "usageStats.breakdown.model": "Модель",
+ "usageStats.breakdown.requests": "Запросы",
+ "usageStats.breakdown.title": "Использование по модели",
+ "usageStats.breakdown.totalTokens": "Токены",
+ "usageStats.byDay": "По дням",
+ "usageStats.byWeek": "По неделям",
+ "usageStats.cards.cacheDesc": "Процент попаданий {{rate}}% · Прочитано {{read}}",
+ "usageStats.cards.cacheSavings": "Экономия на кэше",
+ "usageStats.cards.cost": "Стоимость",
+ "usageStats.cards.token": "Токен",
+ "usageStats.cards.tokenDesc": "Ввод {{input}} · Вывод {{output}}",
+ "usageStats.chart.cacheWrite": "Запись в кэш",
+ "usageStats.chart.input": "Ввод",
+ "usageStats.chart.output": "Вывод",
+ "usageStats.chart.spend": "Стоимость",
+ "usageStats.chart.title": "Когда этот агент потратил",
+ "usageStats.chart.tokens": "Токен",
+ "usageStats.dimension": "Размерность",
+ "usageStats.entry": "Использование и стоимость",
+ "usageStats.range": "Диапазон времени",
+ "usageStats.rangeSuffix": "Последние {{count}} дн.",
+ "usageStats.title": "Использование и стоимость"
}
diff --git a/locales/ru-RU/topic.json b/locales/ru-RU/topic.json
index 05aad982192..3e882deef27 100644
--- a/locales/ru-RU/topic.json
+++ b/locales/ru-RU/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Развернуть все группы",
"sidebar.title": "Темы",
"taskManager.agent": "Агент задач",
+ "taskManager.agentSelector.privateGroup": "Частный",
+ "taskManager.agentSelector.workspaceGroup": "Рабочая область",
"taskManager.welcome": "Спросите меня о ваших задачах",
"temp": "Временный",
"title": "Тема"
diff --git a/locales/ru-RU/video.json b/locales/ru-RU/video.json
index 328be330d3d..f943c58f879 100644
--- a/locales/ru-RU/video.json
+++ b/locales/ru-RU/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Создать новую тему",
"topic.deleteConfirm": "Удалить тему видео",
"topic.deleteConfirmDesc": "Вы собираетесь удалить эту тему видео. Это действие необратимо.",
+ "topic.privateTitle": "Приватный",
"topic.title": "Темы видео",
- "topic.untitled": "Тема по умолчанию"
+ "topic.untitled": "Тема по умолчанию",
+ "topic.visibility.existingLocked": "Видимость зафиксирована для текущей темы. Создайте новую тему, чтобы выбрать другое пространство.",
+ "topic.workspaceTitle": "Рабочая область"
}
diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.json
index 3c8ef135e12..6c41c6aab7a 100644
--- a/locales/tr-TR/chat.json
+++ b/locales/tr-TR/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Model",
"active": "Aktif",
+ "addAgentFromMarket": "Pazardan Ekle",
+ "agent.publishToWorkspace": "Çalışma Alanına Yayınla",
+ "agent.publishToWorkspaceConfirm": "Diğer çalışma alanı üyeleri bu ajanı kullanabilecek. Onu tekrar özel yapamayacaksınız.",
+ "agent.publishToWorkspaceSuccess": "Çalışma alanına yayınlandı",
"agentBuilder.installPlugin.authRequired": "Cloud MCP devam etmek için oturum açmanızı gerektirir",
"agentBuilder.installPlugin.cancel": "İptal",
"agentBuilder.installPlugin.clickApproveToConnect": "Bağlanmak ve bu Entegrasyonu yetkilendirmek için \"Onayla\"ya tıklayın",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Bunu gelecekteki yanıtlar için kaydettim",
"agentSignal.receipts.memory.title": "Hafıza kaydedildi",
"agentSignal.receipts.recentActivity": "Son etkinlik",
+ "agentSignal.receipts.revert.conflict": "Daha yeni bir sürüm",
+ "agentSignal.receipts.revert.failed": "Başarısız",
+ "agentSignal.receipts.revert.not_found": "Geri alınamıyor",
+ "agentSignal.receipts.revert.pending": "Geri alınıyor",
+ "agentSignal.receipts.revert.rolled_back": "Geri alındı",
+ "agentSignal.receipts.revert.undo": "Geri Al",
+ "agentSignal.receipts.revert.unsupported": "Desteklenmiyor",
"agentSignal.receipts.skill.detail": "Bu asistanın benzer talepleri nasıl ele aldığını geliştirdim",
"agentSignal.receipts.skill.title": "Beceri güncellendi",
"agents": "Ajanlar",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Araç çağrıları",
"chatMode.agentCap.web": "Web araması",
"chatMode.agentDesc": "Ajan, görevleri otomatik olarak tamamlamak için araçları ve ortamı kullanabilir",
+ "chatMode.agentUnsupported": "Mevcut model araç çağırmayı desteklemiyor",
"chatMode.chat": "Sohbet",
"chatMode.chatDesc": "Çalışma ortamı veya özerklik yok; daha az jeton kullanır",
"chatMode.select": "Mod Değiştir",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Açıklama ekle...",
"createTask.submit": "Görevi oluştur",
"createTask.titlePlaceholder": "Görev başlığı",
+ "createTask.visibility.changeFailed": "Görev görünürlüğü değiştirilemedi",
+ "createTask.visibility.helperPrivate": "Bu görevi yalnızca siz görebilirsiniz.",
+ "createTask.visibility.helperWorkspace": "Bu görev, bu çalışma alanındaki herkes tarafından görülebilir.",
+ "createTask.visibility.label": "Görünürlük",
+ "createTask.visibility.private": "Özel",
+ "createTask.visibility.privateAgentDisabled": "Özel ajanlar yalnızca özel görevleri çalıştırabilir. Bir çalışma alanı ajanı seçin veya bu görevi Özel olarak değiştirin.",
+ "createTask.visibility.privateAgentLocked": "Özel ajanlar yalnızca özel görevleri çalıştırabilir.",
+ "createTask.visibility.workspace": "Çalışma Alanı",
"defaultAgent": "Varsayılan Ajan",
"defaultGroupChat": "Grup",
"defaultList": "Varsayılan Liste",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Giriş önerileri duraklatıldı",
"input.modelUnavailable": "Mevcut model artık kullanılamıyor. Devam etmek için başka bir model seçin.",
"input.more": "Daha Fazla",
+ "input.sandboxModeNotice": "Geçici bir Bulut Sandbox'ında çalışıyor. Yerel çalıştırmalar daha hızlıdır ve dosyalarınıza erişebilir.",
"input.send": "Gönder",
"input.sendWithCmdEnter": "Göndermek için <key/> tuşuna basın",
"input.sendWithEnter": "Göndermek için <key/> tuşuna basın",
"input.stop": "Durdur",
+ "input.switchToLocal": "Yerel makineyi kullan",
"input.warp": "Yeni Satır",
"input.warpWithKey": "Satır sonu eklemek için <key/> tuşuna basın",
"inputQueue.delete": "Sil",
@@ -364,10 +386,13 @@
"memory.on.title": "Hafızayı Etkinleştir",
"memory.title": "Hafıza",
"mention.category.agents": "Ajanlar",
+ "mention.category.files": "Dosyalar",
"mention.category.members": "Üyeler",
+ "mention.category.privateAgents": "Özel",
"mention.category.skills": "Beceriler",
"mention.category.tools": "Araçlar",
"mention.category.topics": "Konular",
+ "mention.category.workspaceAgents": "Çalışma Alanı",
"mention.title": "Üyeleri Etiketle",
"messageAction.collapse": "Mesajı Daralt",
"messageAction.continueGeneration": "Oluşturmaya Devam Et",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Bunun yerine ne yapmalıyım?",
"messageAction.reaction": "Tepki Ekle",
"messageAction.regenerate": "Yeniden Oluştur",
+ "messageAction.select": "Seç",
+ "messageForward.bar.cancel": "İptal",
+ "messageForward.bar.delete": "Sil",
+ "messageForward.bar.forward": "İlet",
+ "messageForward.bar.selectToHere": "Buraya kadar seç",
+ "messageForward.bar.selected": "{{count}} seçildi",
+ "messageForward.deleteConfirm.desc": "Seçilen {{count}} mesajı silinsin mi? Bu işlem geri alınamaz.",
+ "messageForward.deleteConfirm.success": "{{count}} mesaj silindi",
+ "messageForward.deleteConfirm.title": "Mesajları sil",
+ "messageForward.empty": "İletmek için en az bir mesaj seçin",
+ "messageForward.modal.empty": "Başka ajan yok",
+ "messageForward.modal.moreMessages": "+{{count}} daha fazla mesaj",
+ "messageForward.modal.noRecipients": "İletmek için soldan ajanları seçin",
+ "messageForward.modal.notePlaceholder": "Not ekle (isteğe bağlı) — mesajlarla birlikte gönderilir",
+ "messageForward.modal.recipients": "Gönderilecek ({{count}})",
+ "messageForward.modal.removeRecipient": "Alıcıyı kaldır",
+ "messageForward.modal.searchPlaceholder": "Ajanları ara…",
+ "messageForward.modal.sendCount": "İlet ({{count}})",
+ "messageForward.modal.title": "Ajana İlet",
+ "messageForward.role.agent": "Ajan",
+ "messageForward.role.assistant": "Asistan",
+ "messageForward.role.user": "Kullanıcı",
+ "messageForward.success": "{{title}}'e iletildi",
+ "messageForward.successMulti": "{{count}} ajana iletildi",
+ "messageForward.transcript.header": "Aşağıdaki {{count}} mesaj başka bir konuşmadan iletildi. Lütfen bunları bağlam olarak kullanın ve devam edin:",
"messageLongCollapse.collapse": "Daha az göster",
"messageLongCollapse.expand": "Daha fazla göster",
"messages.dm.sentTo": "Yalnızca {{name}} tarafından görülebilir",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Sorgu Yeniden Yazımını Sil",
"rag.userQuery.actions.regenerate": "Sorguyu Yeniden Oluştur",
"regenerate": "Yeniden Oluştur",
+ "resources.knowledgePicker.publicAgentHint": "Genel ajanlar yalnızca çalışma alanı kaynaklarına referans verebilir. Özel bir kaynağı önce çalışma alanına yayınlayın, ardından ekleyin.",
+ "resources.mode.privateHint": "Kendi çekmeceniz — bu dosyaları yalnızca siz görebilirsiniz",
+ "resources.mode.workspaceHint": "Bu çalışma alanındaki herkesle paylaşıldı",
+ "resources.publishToWorkspace.confirm": "Diğer çalışma alanı üyeleri bu dosyayı görebilecek. Tekrar özel yapamazsınız.",
+ "resources.publishToWorkspace.error": "Dosya çalışma alanına yayınlanamadı",
+ "resources.publishToWorkspace.menu": "Çalışma Alanına Yayınla",
+ "resources.publishToWorkspace.success": "Çalışma alanına yayınlandı",
+ "resources.visibility.label": "Görünürlük",
+ "resources.visibility.private": "Özel",
+ "resources.visibility.privateTooltip": "Bu dosyayı yalnızca siz görebilirsiniz",
+ "resources.visibility.workspace": "Çalışma Alanı",
"roleAndArchive": "Ajan Profili ve Geçmişi",
"runtimeEnv.mode.cloud": "Bulut Kum Havuzu",
"runtimeEnv.mode.cloudDesc": "Güvenli bir bulut kum havuzunda çalıştır",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Uygun ajan yok",
"sessionGroup.noMatchingAgents": "Eşleşen ajan bulunamadı",
"sessionGroup.noSelectedAgents": "Lütfen ajan seçin",
+ "sessionGroup.publishToWorkspace": "Çalışma Alanına Yayınla",
+ "sessionGroup.publishToWorkspaceConfirm": "Diğer çalışma alanı üyeleri bu klasörü kullanabilecek. Onu tekrar özel yapamayacaksınız.",
+ "sessionGroup.publishToWorkspaceSuccess": "Çalışma alanına yayınlandı",
"sessionGroup.rename": "Grubu Yeniden Adlandır",
"sessionGroup.renameSuccess": "Başarıyla yeniden adlandırıldı",
"sessionGroup.searchAgents": "Ajanları ara",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Normal",
"taskDetail.priority.urgent": "Acil",
"taskDetail.properties": "Özellikler",
+ "taskDetail.publishToWorkspace.confirmContent": "Yayınlandıktan sonra, bu görev tüm çalışma alanı üyeleri tarafından görülebilir hale gelir ve tekrar özel olarak değiştirilemez.",
+ "taskDetail.publishToWorkspace.confirmHint": "Geçmiş çalıştırmalar özel kalır. Yalnızca yayınlandıktan sonra oluşturulan çalıştırmalar çalışma alanı üyeleri tarafından görülebilir.",
+ "taskDetail.publishToWorkspace.confirmOk": "Yayınla",
+ "taskDetail.publishToWorkspace.confirmTitle": "Görevi çalışma alanına yayınla?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Bu görev bir özel ajana atanmış. Bir çalışma alanı ajanına yeniden atayın veya önce ajanı yayınlayın.",
+ "taskDetail.publishToWorkspace.menuLabel": "Çalışma Alanına Yayınla",
"taskDetail.reassignDisabled": "Görev çalışırken ajan yeniden atanamaz",
"taskDetail.replyInThread": "Bu başlıkta yanıtla",
"taskDetail.replyPlaceholder": "Bu başlıkta yanıtla...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Pano",
"taskList.view.list": "Liste",
"taskList.viewAll": "Tümünü görüntüle",
+ "taskList.visibility.all": "Tümü",
+ "taskList.visibility.label": "Görünürlük",
"taskSchedule.advancedSettings": "Gelişmiş ayarlar",
"taskSchedule.clear": "Temizle",
"taskSchedule.continuous": "Sürekli",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Yolu Kopyala",
"workingPanel.files.copyRelativePath": "Göreceli Yolu Kopyala",
- "workingPanel.files.count_one": "{{count}} dosya",
- "workingPanel.files.count_other": "{{count}} dosya",
"workingPanel.files.empty": "Bu çalışma alanında dosya yok",
+ "workingPanel.files.noSearchResults": "Eşleşen dosya yok",
"workingPanel.files.open": "Dosyayı Aç",
- "workingPanel.files.refresh": "Yenile",
+ "workingPanel.files.searchPlaceholder": "Dosyaları filtrele...",
"workingPanel.files.showInReview": "İncelemede Göster",
"workingPanel.files.showInSystem": "Klasörde Göster",
"workingPanel.files.title": "Dosyalar",
diff --git a/locales/tr-TR/common.json b/locales/tr-TR/common.json
index b32cd328edf..1426c59b9e7 100644
--- a/locales/tr-TR/common.json
+++ b/locales/tr-TR/common.json
@@ -1,5 +1,6 @@
{
"about": "Hakkında",
+ "addNew": "Yeni ekle",
"advanceSettings": "Gelişmiş Ayarlar",
"agentOnboardingPromo.actionLabel": "Şimdi dene",
"agentOnboardingPromo.description": "Aracı ekiplerinizi Lobe AI ile kısa bir sohbet üzerinden kurun. Mevcut aracılarınız değişmeden kalır.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "İçerik politikası kontrolü başarısız oldu. Lütfen isteminizi gözden geçirin.",
"getDesktopApp": "Masaüstü Uygulamasını İndir",
"goToTarget": "Hedefe git",
+ "gotIt": "Anladım",
"historyRange": "Geçmiş Aralığı",
"home.suggestQuestions": "Bu örnekleri deneyin",
"import": "İçe Aktar",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Aşağı taşı",
"navPanel.moveUp": "Yukarı taşı",
"navPanel.pinned": "Sabitlendi",
+ "navPanel.privateAgents": "Özel",
+ "navPanel.publicAgents": "Çalışma Alanı",
"navPanel.resetDefault": "Varsayılan Ayarlara Sıfırla",
"navPanel.searchAgent": "Temsilci Ara...",
"navPanel.searchRecent": "Son Arananlar...",
diff --git a/locales/tr-TR/discover.json b/locales/tr-TR/discover.json
index 920dc568489..8a2b357faa8 100644
--- a/locales/tr-TR/discover.json
+++ b/locales/tr-TR/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "çatallar",
"fork.forksCount": "{{count}} çatal",
"fork.forksCount_other": "{{count}} çatal",
+ "fork.orgSetupRequired.memberContent": "Bu çalışma alanı henüz bir Topluluk profili oluşturmadı, bu nedenle pazaryerinden çatallar buraya kaydedilemez. Lütfen çalışma alanı sahibinden bunu Topluluk → Çalışma Alanı altında ayarlamasını isteyin.",
+ "fork.orgSetupRequired.ownerContent": "Bu çalışma alanı henüz bir Topluluk profili oluşturmadı. Pazaryerinden ajanları çalışma alanınıza çatallamak için bir tane oluşturun.",
+ "fork.orgSetupRequired.ownerOk": "Kuruluma git",
+ "fork.orgSetupRequired.title": "Topluluk profili kurulumu gerekli",
"fork.success": "Başarıyla çatallandı!",
"fork.viewAllForks": "Tüm çatalları görüntüle",
+ "fork.visibilityPrivate": "Özel",
+ "fork.visibilityPublic": "Çalışma Alanı",
"groupAgents.tag": "Grup",
"groupAgents.underReview": "İncelemede",
"home.communityAgents": "Topluluk Ajansları",
diff --git a/locales/tr-TR/editor.json b/locales/tr-TR/editor.json
index 7c29755b943..d7dcaaf6f55 100644
--- a/locales/tr-TR/editor.json
+++ b/locales/tr-TR/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Beceri",
"actionTag.category.tool": "Araç",
"actionTag.tooltip.agentSkill": "Bu temsilcinin belgelerinden isteğe yönelik bir beceri paketi yükler.",
+ "actionTag.tooltip.clickToView": "Detayları görmek için tıklayın",
"actionTag.tooltip.command": "Göndermeden önce istemci tarafında bir slash komutu çalıştırır.",
"actionTag.tooltip.projectSkill": "Ajanın CLI'sinin eşleşen proje becerisini çalıştırması için bir eğik çizgi çağrısı olarak gönderilir.",
"actionTag.tooltip.skill": "Bu istek için yeniden kullanılabilir bir beceri paketini yükler.",
diff --git a/locales/tr-TR/electron.json b/locales/tr-TR/electron.json
index 7ee5161a551..ee59ba60c96 100644
--- a/locales/tr-TR/electron.json
+++ b/locales/tr-TR/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Ayarlar",
"navigation.task": "Görev",
"navigation.tasks": "Görevler",
+ "navigation.topics": "Konular",
"navigation.unpin": "Sabitlemeyi kaldır",
"notification.finishChatGeneration": "Yapay zeka mesaj oluşturma tamamlandı",
"proxy.auth": "Kimlik Doğrulama Gerekli",
diff --git a/locales/tr-TR/eval.json b/locales/tr-TR/eval.json
index 3594e533e88..abec4cb7af4 100644
--- a/locales/tr-TR/eval.json
+++ b/locales/tr-TR/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Bu benchmark'ı silmek istediğinizden emin misiniz? İlgili veri setleri ve değerlendirme kayıtları da silinecek.",
"benchmark.actions.edit": "Benchmark Düzenle",
"benchmark.actions.export": "Dışa Aktar",
+ "benchmark.card.bestPassRate": "En iyi geçiş oranı",
"benchmark.card.bestScore": "En İyi",
"benchmark.card.caseCount": "{{count}} vaka",
+ "benchmark.card.casesLabel": "Vakalar",
"benchmark.card.datasetCount": "{{count}} veri seti",
"benchmark.card.empty": "Henüz değerlendirme yok",
"benchmark.card.emptyHint": "Benchmark detay sayfasından yeni bir değerlendirme oluşturun",
+ "benchmark.card.evalsLabel": "Değerlendirmeler",
"benchmark.card.importDataset": "Veri Seti İçe Aktar",
"benchmark.card.noDataset": "Henüz veri seti yok",
"benchmark.card.noDatasetHint": "Değerlendirmeye başlamak için bir veri seti içe aktarın",
"benchmark.card.noRecentRuns": "Gösterilecek son değerlendirme yok",
"benchmark.card.recentRuns": "Son Değerlendirmeler",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} arıza öncesi",
+ "benchmark.card.run.queued": "Sırada",
"benchmark.card.runCount": "{{count}} değerlendirme",
"benchmark.card.startFirst": "İlk Değerlendirmeyi Başlat",
"benchmark.card.viewAll": "Tümünü Görüntüle {{count}}",
diff --git a/locales/tr-TR/file.json b/locales/tr-TR/file.json
index d9673b6096a..de875236a65 100644
--- a/locales/tr-TR/file.json
+++ b/locales/tr-TR/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Kütüphaneyi taşı",
"library.list.transferTo": "Şuraya taşı…",
"library.new": "Yeni Kütüphane",
+ "library.privateEmpty": "Özel bir kütüphane oluştur",
+ "library.publish": "Çalışma alanına yayınla",
+ "library.publishConfirm.content": "Tüm çalışma alanı üyeleri bu bilgi tabanını görecek. Bu işlem geri alınamaz.",
+ "library.publishConfirm.title": "Bilgi tabanını çalışma alanına yayınla?",
"library.title": "Kütüphane",
+ "library.workspaceEmpty": "Bir çalışma alanı kütüphanesi oluştur",
"loadMore": "Daha Fazla Yükle",
"menu.allFiles": "Tüm Dosyalar",
"menu.allPages": "Tüm Sayfalar",
@@ -170,6 +175,13 @@
"pageList.noResults": "Eşleşen sayfa bulunamadı",
"pageList.pageCount": "Toplam {{count}} sayfa",
"pageList.pageSizeItem": "{{count}} öğe",
+ "pageList.privateTitle": "Özel",
+ "pageList.publishConfirm.content": "Yayınladıktan sonra, çalışma alanındaki herkes bu sayfayı görebilir. Daha sonra tekrar özel olarak değiştiremezsiniz.",
+ "pageList.publishConfirm.ok": "Yayınla",
+ "pageList.publishConfirm.title": "Çalışma alanına yayınla",
+ "pageList.publishError": "Sayfa yayınlanamadı",
+ "pageList.publishSuccess": "Sayfa çalışma alanına yayınlandı",
+ "pageList.publishToWorkspace": "Çalışma alanına yayınla",
"pageList.title": "Sayfalar",
"pageList.transferConfirm": "Taşı",
"pageList.transferDescription": "Bu sayfayı (ve içerdiği klasörleri) başka bir çalışma alanına taşıyın.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Şuraya taşı…",
"pageList.transferWarning": "Bu tek yönlü bir taşıma işlemidir; geri almak için başka bir taşıma işlemi gereklidir.",
"pageList.untitled": "Başlıksız",
+ "pageList.workspaceTitle": "Çalışma Alanı",
"portal.openInPageEditor": "Sayfada Düzenle",
"preview.downloadFile": "Dosyayı İndir",
"preview.unsupportedFileAndContact": "Bu dosya biçimi çevrimiçi önizleme için desteklenmiyor. Önizleme talebiniz varsa <1>bizimle iletişime geçin</1>.",
diff --git a/locales/tr-TR/image.json b/locales/tr-TR/image.json
index 78f27671423..4c1be0a4a4f 100644
--- a/locales/tr-TR/image.json
+++ b/locales/tr-TR/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Oluşturma Konusunu Sil",
"topic.deleteConfirmDesc": "Bu oluşturma konusunu silmek üzeresiniz. Bu işlem geri alınamaz, lütfen dikkatli olun.",
"topic.empty": "Henüz oluşturma konusu yok",
+ "topic.privateTitle": "Özel",
"topic.title": "Resim Teması",
- "topic.untitled": "Varsayılan Konu"
+ "topic.untitled": "Varsayılan Konu",
+ "topic.visibility.existingLocked": "Mevcut konunun görünürlüğü sabitlenmiştir. Farklı bir alan seçmek için yeni bir konu oluşturun.",
+ "topic.workspaceTitle": "Çalışma Alanı"
}
diff --git a/locales/tr-TR/models.json b/locales/tr-TR/models.json
index 68d0203a60d..d78b732f79d 100644
--- a/locales/tr-TR/models.json
+++ b/locales/tr-TR/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5, Anthropic'in bugüne kadarki en akıllı modelidir.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6, hız ve zekanın en iyi kombinasyonunu sunar.",
"claude-sonnet-4.description": "Anthropic’in Claude Sonnet 4 modeli — güçlü akıl yürütme ve kodlama yetenekleri sunan dengeli bir model.",
+ "claude-sonnet-5.description": "Claude Sonnet 5, Anthropic'in en etkili Sonnet modeli olup, uzun süreli kodlama, araç kullanımı ve uzun bağlamlı iş akışları için Sonnet seviyesinde hız ve verimlilikle tasarlanmıştır.",
"codegeex-4.description": "CodeGeeX-4, geliştirici verimliliğini artırmak için çok dilli Soru-Cevap ve kod tamamlama desteği sunan güçlü bir yapay zeka kodlama asistanıdır.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B, çok dilli kod üretimi, kod tamamlama, yorumlama, web arama, fonksiyon çağırma ve depo düzeyinde kod Soru-Cevap gibi geniş yazılım geliştirme senaryolarını kapsayan bir modeldir. 10B parametrenin altındaki en üst düzey kod modellerinden biridir.",
"codegemma.description": "CodeGemma, hızlı yineleme ve entegrasyon sağlayan hafif bir programlama modelidir.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro, Google’ın en güçlü ajan ve vibe-coding modelidir. En yeni akıl yürütme yeteneklerinin üzerine zengin görseller ve derin etkileşim sunar.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2), Google'ın düşünme desteği, konuşmalı görüntü oluşturma ve düzenleme özelliklerine sahip en hızlı yerel görüntü oluşturma modelidir.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2), Google'ın düşünme desteği, sohbet tabanlı görüntü oluşturma ve düzenleme özellikleriyle en hızlı yerel görüntü oluşturma modelidir.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite), Google'ın en hızlı ve en maliyet etkin görüntü oluşturma modeli olup, yüksek hacimli oluşturma ve düzenleme için tasarlanmıştır.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite), Google'ın en hızlı ve en maliyet etkin görüntü oluşturma modeli olup, yüksek hacimli oluşturma ve düzenleme için tasarlanmıştır.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview, Google'ın en maliyet etkin çok modlu modeli olup, yüksek hacimli ajan görevleri, çeviri ve veri işleme için optimize edilmiştir.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite, Google'ın en maliyet etkin çok modlu modelidir ve yüksek hacimli ajan görevleri, çeviri ve veri işleme için optimize edilmiştir.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview, Gemini 3 Pro'ya kıyasla geliştirilmiş akıl yürütme yetenekleri sunar ve orta düzey düşünme desteği ekler.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5, Kimi'nin bugüne kadarki en çok yönlü modeli olup, hem görsel hem de metin girdilerini destekleyen yerel çok modlu bir mimariye sahiptir. 'Düşünme' ve 'düşünmeme' modlarını, hem sohbet hem de ajan görevlerini destekler.",
"kimi-k2.6.description": "Kimi-K2.6, Moonshot AI tarafından piyasaya sürülen büyük bir dil modelidir ve mükemmel kodlama ve araç çağırma yeteneklerine sahiptir. Hizmet dağıtımı yalnızca Çin anakarasında desteklenmektedir.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed, Kimi K2.7 Code'un yüksek hızlı bir modelidir. Kimi K2.7 Code ile aynı modeldir, ancak çıktı hızı yaklaşık 180 Token/s olup, kısa bağlam senaryolarında 260 Token/s hızına ulaşabilir ve daha ekstrem bir programlama deneyimi sunar.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code, Kimi K2.6 üzerine inşa edilmiş, Moonshot AI'nın kodlama odaklı ajan modeli olup, gerçek dünya uzun vadeli kodlama görevlerinde önemli iyileştirmeler sunar ve düşünme token kullanımını yaklaşık %30 azaltır.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code, Moonshot AI'nın kodlamaya odaklı ajan modeli olup, Kimi K2.6 üzerine inşa edilmiştir. Gerçek dünya uzun vadeli kodlama görevlerinde önemli iyileştirmeler sunar ve düşünme token kullanımını yaklaşık %30 oranında azaltır.",
"kling/kling-v3-image-generation.description": "10 referans görüntüye kadar destekleyerek konuları, öğeleri ve renk tonlarını kilitleyerek tutarlı bir stil sağlar. Stil transferi, portre/karakter referansı, çoklu görüntü birleştirme ve yerel inpainting'i birleştirerek esnek kontrol sağlar. Gerçekçi portre detayları sunar ve genel görseller sinematik renk ve atmosferle hassas ve zengin katmanlıdır.",
"kling/kling-v3-omni-image-generation.description": "Yeni seri görüntü üretimi ve doğrudan 2K/4K çıkış ile sinematik hikaye anlatımı görsellerini açığa çıkarın. İstemlerdeki görsel-işitsel öğeleri derinlemesine analiz ederek yaratıcı talimatları hassas bir şekilde yürütür. Esnek çoklu referans girdilerini ve kapsamlı kalite yükseltmelerini destekler, storyboardlar, anlatı konsept sanatı ve sahne tasarımı için idealdir.",
"kling/kling-v3-omni-video-generation.description": "Yeni \"Hepsi Bir Arada Referans\" özelliği, karakter öğelerini sabitlemek için 3–8 saniyelik videolar veya birden fazla görüntü destekler. Orijinal ses ve dudak hareketlerini eşleştirerek otantik karakter temsili sağlar. Video tutarlılığını ve dinamik ifadeyi artırır. Görsel-işitsel senkronizasyon ve akıllı storyboard oluşturmayı destekler.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA, güçlü görsel-dil anlayışı için bir görsel kodlayıcı ile Vicuna'yı birleştiren çok modlu bir modeldir.",
"llava:13b.description": "LLaVA, güçlü görsel-dil anlayışı için bir görsel kodlayıcı ile Vicuna'yı birleştiren çok modlu bir modeldir.",
"llava:34b.description": "LLaVA, güçlü görsel-dil anlayışı için bir görsel kodlayıcı ile Vicuna'yı birleştiren çok modlu bir modeldir.",
+ "lobehub-glm-5.2-fast.description": "GLM-5.2'nin hızlı varyantı, önemli ölçüde daha düşük gecikme süresine sahiptir. GLM-5.2 ile aynı yeteneklere sahiptir — daha pahalıdır, ancak çok daha hızlı yanıt verir.",
"magistral-medium-2509.description": "Magistral Medium 1.2, Mistral AI'den (Eylül 2025) vizyon desteği ile sınır akıl yürütme modelidir.",
"magistral-small-2509.description": "Magistral Small 1.2, Mistral AI tarafından geliştirilen açık kaynaklı küçük bir akıl yürütme modelidir (Eylül 2025) ve görsel desteğe sahiptir.",
"mathstral.description": "MathΣtral, bilimsel araştırma ve matematiksel akıl yürütme için geliştirilmiş, güçlü hesaplama ve açıklama yeteneklerine sahip bir modeldir.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K, 32.768 tokenlık orta uzunlukta bağlamı destekler. İçerik üretimi, raporlar ve sohbet sistemlerinde uzun belgeler ve karmaşık diyaloglar için idealdir.",
"moonshot-v1-8k-vision-preview.description": "Kimi görsel modelleri (moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview dahil) metin, renkler ve nesne şekilleri gibi görüntü içeriklerini anlayabilir.",
"moonshot-v1-8k.description": "Moonshot V1 8K, kısa sohbetler, notlar ve hızlı içerikler için 8.192 tokene kadar kısa metin üretimiyle optimize edilmiştir.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code, Moonshot AI tarafından kodlama görevleri için tasarlanmış bir ajan modelidir. Kimi K2.6 üzerine inşa edilmiştir ve gerçek dünya uzun vadeli kodlama görevlerinde önemli iyileştirmeler gösterir. Karmaşık yazılım mühendisliği iş akışlarında uçtan uca görev tamamlama yeteneklerini artırırken, Kimi K2.6'ya kıyasla düşünme token kullanımını yaklaşık %30 azaltır.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code, Moonshot AI tarafından kodlama görevleri için tasarlanmış bir ajan modelidir. Kimi K2.6 üzerine inşa edilen bu model, gerçek dünya uzun vadeli kodlama görevlerinde önemli iyileştirmeler gösterir, karmaşık yazılım mühendisliği iş akışlarında uçtan uca görev tamamlama yeteneklerini artırır ve Kimi K2.6'ya kıyasla düşünme token kullanımını yaklaşık %30 oranında azaltır.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711, Kimi serisinin talimat odaklı varyantıdır; yüksek kaliteli kodlama ve araç kullanımı için uygundur.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905, bağlam ve akıl yürütme performansını artıran, kodlama optimizasyonları içeren bir güncellemedir.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo, Kimi K2 Thinking’in yüksek hızlı versiyonudur; gecikmeyi önemli ölçüde azaltırken derin akıl yürütmeyi korur.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7, Zhipu'nun 355B toplam parametre ve 32B aktif parametre ile yeni nesil amiral gemisi modelidir. Genel diyalog, akıl yürütme ve etken yeteneklerinde tamamen yükseltilmiştir. GLM-4.7, Aralıklı Düşünme'yi geliştirir ve Korunan Düşünme ile Dönüş Seviyesi Düşünme'yi tanıtır.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air, Mixture-of-Experts mimarisi kullanan ajan uygulamaları için temel bir modeldir. Araç kullanımı, web tarama, yazılım mühendisliği ve ön yüz kodlama için optimize edilmiştir ve Claude Code ile Roo Code gibi kod ajanlarıyla entegre çalışır. Karmaşık akıl yürütme ve günlük senaryoları hibrit akıl yürütme ile ele alır.",
"zai-org/GLM-4.5V.description": "GLM-4.5V, GLM-4.5-Air amiral gemisi metin modeli (106B toplam, 12B aktif) üzerine inşa edilmiş Zhipu AI’nin en yeni VLM modelidir. Daha düşük maliyetle yüksek performans sunan MoE mimarisi kullanır. GLM-4.1V-Thinking yolunu izler ve 3D-RoPE ile 3B mekansal akıl yürütmeyi geliştirir. Ön eğitim, SFT ve RL ile optimize edilmiştir; görüntü, video ve uzun belgeleri işler ve 41 açık çok modlu benchmark’ta en üst sıralarda yer alır. Düşünme modu geçişi, hız ve derinlik arasında denge sağlar.",
- "zai-org/GLM-5.2.description": "GLM-5.2, uzun vadeli görev senaryoları için tasarlanmış Z.ai'nin en son amiral gemisi modelidir. GLM-5.1'e kıyasla uzun vadeli görev yeteneklerinde önemli iyileştirmeler sunar. Bu 753B MoE modeli, sabit bir 1M-token bağlam penceresini destekler, daha güçlü programlama yeteneklerine sahiptir ve performans ile gecikme arasında esnek bir denge sağlamak için birden fazla düşünme çabası seviyesini destekler.",
+ "zai-org/GLM-5.2.description": "GLM-5.2, Z.ai'nin uzun vadeli görev senaryoları için tasarlanmış en son amiral gemisi modelidir. GLM-5.1'e kıyasla uzun vadeli görev yeteneklerinde önemli iyileştirmeler sunar. Bu 753B MoE modeli, 1M-token bağlam penceresini istikrarlı bir şekilde destekler, daha güçlü programlama yeteneklerine sahiptir ve performans ile gecikme arasında esnek bir denge sağlamak için birden fazla düşünme çabası seviyesini destekler.",
"zai/glm-4.5-air.description": "GLM-4.5 ve GLM-4.5-Air, ajan uygulamaları için geliştirilmiş en yeni amiral gemisi modellerimizdir ve her ikisi de MoE mimarisi kullanır. GLM-4.5, toplamda 355B ve her geçişte 32B aktif parametreye sahiptir; GLM-4.5-Air ise daha hafif olup 106B toplam ve 12B aktif parametreye sahiptir.",
"zai/glm-4.5.description": "GLM-4.5 serisi, ajanlar için tasarlanmıştır. Amiral gemisi GLM-4.5, 355B toplam (32B aktif) parametre ile akıl yürütme, kodlama ve ajan becerilerini birleştirir ve hibrit akıl yürütme sistemi olarak çift çalışma modları sunar.",
"zai/glm-4.5v.description": "GLM-4.5V, GLM-4.5-Air üzerine inşa edilmiştir; kanıtlanmış GLM-4.1V-Thinking tekniklerini devralır ve güçlü 106B parametreli MoE mimarisiyle ölçeklenir.",
diff --git a/locales/tr-TR/plugin.json b/locales/tr-TR/plugin.json
index 69aeb0cb409..68063bd76b8 100644
--- a/locales/tr-TR/plugin.json
+++ b/locales/tr-TR/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Sonuç",
"builtins.codex.mcpTool.unknownTool": "MCP aracı",
"builtins.codex.webSearch.query": "Sorgu",
+ "builtins.github.render.error": "Hata",
+ "builtins.github.render.rawResult": "Ham sonuç",
+ "builtins.github.render.updatedAt": "{{time}} tarihinde güncellendi",
+ "builtins.linear.render.empty": "Hiç {{collection}} bulunamadı",
"builtins.linear.render.updatedAt": "{{time}} tarihinde güncellendi",
"builtins.lobe-activator.apiName.activateTools": "Araçları Etkinleştir",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} bulunamadı",
diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.json
index b43481b7f17..86c26e7b7cd 100644
--- a/locales/tr-TR/setting.json
+++ b/locales/tr-TR/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Standart",
"settingChatAppearance.fontSize.title": "Yazı Tipi Boyutu",
"settingChatAppearance.highlighterTheme.title": "Kod Vurgulama Teması",
+ "settingChatAppearance.linkIcon.desc": "Buna ihtiyacınız yoksa kapatın.",
+ "settingChatAppearance.linkIcon.previewMessage": "Daha fazla bilgi için <site></site> ve <repo></repo> adreslerine göz atın.",
+ "settingChatAppearance.linkIcon.title": "Mesaj bağlantılarında simgeleri göster",
"settingChatAppearance.mermaidTheme.title": "Mermaid Teması",
"settingChatAppearance.title": "Sohbet Görünümü",
"settingChatAppearance.transitionMode.desc": "Sohbet mesajlarının nasıl görüneceğini seçin",
@@ -1246,9 +1249,9 @@
"workspace.auditLog.actions.billing.portal_session_created": "Fatura portalı açıldı",
"workspace.auditLog.actions.budget.default_member_limit_updated": "Varsayılan üye bütçesi güncellendi",
"workspace.auditLog.actions.budget.member_limit_updated": "Üye bütçesi güncellendi",
- "workspace.auditLog.actions.budget.member_override.updated": "Üye bütçesi geçersiz kılma güncellendi",
"workspace.auditLog.actions.budget.member_override_created": "Üye bütçesi geçersiz kılma oluşturuldu",
"workspace.auditLog.actions.budget.member_override_removed": "Üye bütçesi geçersiz kılma kaldırıldı",
+ "workspace.auditLog.actions.budget.member_override_updated": "Üye bütçe geçersiz kılma güncellendi",
"workspace.auditLog.actions.credential.created": "Kimlik bilgisi oluşturuldu",
"workspace.auditLog.actions.credential.deleted": "Kimlik bilgisi silindi",
"workspace.auditLog.actions.credential.tested": "Kimlik bilgisi test edildi",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Temel çalışma alanı · aylık paylaşılan havuz · ücretli koltuk yok",
"workspace.billingPage.billing.basic.title": "Temel çalışma alanı",
"workspace.billingPage.billing.basic.upgradeCta": "Pro'ya yükselt",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Orantılı ayarlama",
"workspace.billingPage.billing.billingPeriodModal.body": "Çalışma alanınızın fatura dönemi {{current}} tarihinden {{target}} tarihine değiştirilecektir.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "İptal",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Fatura dönemini değiştir",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Mevcut dönemde kullanılmayan süre için orantılı kredi",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Fiyat önizlemesi yüklenemedi. Lütfen tekrar deneyin.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Tekrar dene",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Değişiklik, mevcut dönem sona erdikten sonra geçerli olacaktır.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Değişiklik, mevcut dönem {{date}} tarihinde sona erdikten sonra geçerli olacaktır.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Çalışma alanı koltukları",
"workspace.billingPage.billing.billingPeriodModal.title": "Fatura dönemi değiştirilsin mi?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "yıl",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} koltuk · {{credits}} kredi / ay",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} koltuk · {{credits}} kredi / ay",
"workspace.billingPage.billing.breakdown.extraSeats": "Ek koltuklar",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "{{plan}} {{interval}} planına {{seats}} koltuk ile {{date}} tarihinde geçiş yapılacak. Hesap bakiyenizi yeterli tutun.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Abonelik planınızı güncellemeden önce plan değişikliğini iptal edin.",
"workspace.billingPage.billing.pending.keepPlanCta": "{{plan}} Planını Koruyun",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "{{plan}} {{interval}} planını koru",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Bu çalışma alanında şu anda {{currentSeats}} koltuk var ve {{date}} tarihinde {{seats}} koltuğa değiştirilecek.",
"workspace.billingPage.billing.pending.seatsDesc": "{{date}} tarihinde {{seats}} koltuğa değiştirilecek. Hesap bakiyenizi yeterli tutun.",
"workspace.billingPage.billing.pending.seatsTitle": "Koltuk değişikliği planlandı",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Koltuk satın al",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "{{plan}} {{interval}} planı için daha fazla koltuk satın alın.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Daha fazla koltuk satın al?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Hesaplanıyor…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "İptal et",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Ödeme işlemini tamamlamak için ödeme sayfasına yönlendirileceksiniz.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Yükselt",
@@ -1649,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Faturayı görüntüle",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Çalışma alanı koltuk güncellemeniz kaydedildi.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Tamam",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Bu güncellemeyi tamamlayamadık. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Tekrar dene",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Güncelleme başarısız",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Üyeleri davet et",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Orantılı koltuk ücreti mevcut ödeme yönteminizden tahsil edildi.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} tahsil edildi · Faturalandırma tutarı",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Ödeme sonucu",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Herhangi bir ödeme alınmadı. Değişiklik bir sonraki fatura dönemi için planlandı.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "{{plan}} · {{interval}} planına yükseltildi.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Plan yükseltildi",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} toplam koltuk artık mevcut, buna {{purchasedSeats}} ön ödemeli ek koltuk dahildir.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Koltuk satın alma sonucu",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} toplam koltuk bir sonraki fatura döneminde geçerli olacak, buna {{purchasedSeats}} ön ödemeli ek koltuk dahildir.",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Daha az göster",
"workspace.billingPage.usage.model.unknown": "Bilinmeyen model",
"workspace.billingPage.usage.ops": "İşlemler",
+ "workspace.billingPage.usage.privateAgents": "Özel ajanlar",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Bu üyenin sahip olduğu özel ajan sayısı. Sahipler muhasebe için sayıyı görebilir, ancak ajan içeriğini göremez.",
"workspace.billingPage.usage.range.30d": "Son 30 gün",
"workspace.billingPage.usage.range.all": "Tüm zamanlar",
"workspace.billingPage.usage.range.cycle": "Bu döngü",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Hesap oluştur ve katıl",
"workspace.invitePage.switchAccountToAccept": "{{email}} olarak oturum açarak kabul et",
"workspace.invitePage.title": "Çalışma Alanı Daveti",
+ "workspace.invitePage.viewerLimitSubtitle": "Bu çalışma alanı izleyici sınırına ulaştı. Katılmadan önce bir sahibinden izleyici koltuğunu boşaltmasını veya planı yükseltmesini isteyin.",
+ "workspace.invitePage.viewerLimitTitle": "İzleyici Sınırına Ulaşıldı",
"workspace.invitePage.workspaceLimitSubtitle": "{{limit}} çalışma alanı sınırına ulaştınız. Başka birine katılmadan önce birinden ayrılın.",
"workspace.invitePage.workspaceLimitTitle": "Çalışma Alanı Sınırına Ulaşıldı",
"workspace.member.demote": "Üyeliğe düşür",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Birincil sahipliği devret",
"workspace.members.empty": "Henüz üye yok",
"workspace.members.invite.addAnother": "Başka bir tane ekle",
+ "workspace.members.invite.askOwnerToBuySeats": "Yeni üyeleri davet etmeden önce çalışma alanı sahibinden daha fazla koltuk satın almasını isteyin.",
"workspace.members.invite.button": "Davet et",
+ "workspace.members.invite.buySeatsCta": "Koltuk satın al",
"workspace.members.invite.emailLabel": "E-posta Adresi",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} zaten bekleyen bir davete sahip. Aşağıdaki listeden yeniden gönderin veya iptal edin.",
"workspace.members.invite.errors.alreadyMember": "{{email}} zaten bu çalışma alanının bir üyesi.",
"workspace.members.invite.failed": "Davet gönderilemedi",
+ "workspace.members.invite.invitationLimitReached": "Bu çalışma alanı {{limit}} bekleyen davet sınırına ulaştı. Yeni davet göndermeden önce kullanılmayan davetleri iptal edin veya süresinin dolmasını bekleyin.",
"workspace.members.invite.limitReached": "Bu çalışma alanında en fazla {{limit}} üye olabilir. Daha fazla davet etmeden önce bir üyeyi kaldırın.",
"workspace.members.invite.modal.cancel": "İptal",
"workspace.members.invite.modal.confirm": "Onayla",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Ekip Üyelerini yönetmek için ek izinler gereklidir",
"workspace.members.invite.partialSuccess": "{{success}} davet edildi, {{failed}} başarısız oldu. Adresleri kontrol edin ve tekrar deneyin.",
"workspace.members.invite.roleLabel": "Rol",
+ "workspace.members.invite.seatInsufficient": "Sadece {{remaining}} koltuk kaldı. {{required}} yeni üyeyi davet etmek için daha fazla koltuk satın alın.",
+ "workspace.members.invite.seatInsufficientNoBuy": "Sadece {{remaining}} koltuk kaldı. Çalışma alanı sahibinden daha fazla koltuk satın almasını isteyin.",
"workspace.members.invite.submit": "Davet et",
"workspace.members.invite.subtitle": "E-posta adreslerini girerek ve bir rol atayarak yeni üyeler ekleyin",
"workspace.members.invite.success": "Ekip üyeleri başarıyla davet edildi.",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Başlamak için birkaçını seçin — istediğiniz zaman daha fazlasını keşfedin.",
"workspace.onboarding.step4.cta": "Çalışma alanına gir",
"workspace.onboarding.step4.heading": "{{name}} hazır!",
+ "workspace.onboarding.step4.marketProfileNudge": "<strong>{{name}}</strong> için bir Topluluk profili oluşturduk, böylece çalışma alanı ajanları yüklenebilir. <cta>Toplulukta özelleştirin</cta>.",
"workspace.onboarding.step4.subtitle": "Çalışma alanınız kuruldu. Ekibinizle iş birliğine başlayın.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} temsilci hazır. Ekibinizle iş birliğine başlayın.",
"workspace.onboarding.step4Invite.addMore": "Başka bir e-posta ekle",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Bitir",
"workspace.onboarding.step4Invite.heading": "Ekibinizi davet edin",
"workspace.onboarding.step4Invite.invitedCount": "{{count}} üye davet edildi",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Mevcut koltuklarınızla en fazla {{max}} ekip arkadaşını davet edebilirsiniz.",
"workspace.onboarding.step4Invite.subtitle": "Bu çalışma alanına şimdi ekip arkadaşlarınızı getirin veya daha sonra üye ayarlarından davet edin.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Planınız {{includedSeats}} ücretsiz koltuk içerir ve satın alınan ek koltuklarla {{maxSeats}} koltuğa kadar destekler. Şimdi ekip arkadaşlarınızı davet edin veya daha sonra üye ayarlarından ekleyin.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby planı, sizin de dahil olduğunuz en fazla {{maxSeats}} koltuk içerir. Şimdi ekip arkadaşlarınızı davet edin veya daha sonra üye ayarlarından ekleyin.",
"workspace.onboarding.stepLabel": "Adım {{current}} / {{total}}",
"workspace.onboarding.title": "Çalışma alanınızı ayarlayın",
"workspace.onboarding.toast.failed": "Kaydedilemedi. Lütfen tekrar deneyin.",
+ "workspace.onboarding.toast.installAgentsFailed": "Seçilen ajanlar eklenemedi. Daha sonra pazardan yükleyebilirsiniz.",
"workspace.onboarding.toast.saved": "Kaydedildi",
"workspace.permission.requiresMember": "Bunu yapmak için izniniz yok. Bir çalışma alanı sahibinden size Üye veya daha yüksek bir rol vermesini isteyin.",
"workspace.permission.requiresOwner": "Bunu yalnızca çalışma alanı sahipleri yapabilir. Değiştirilmesini istiyorsanız bir sahibe sorun.",
@@ -2268,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "İş birliğinin kilidini açın, daha büyük krediler ve daha yüksek oran sınırları elde edin.",
"workspace.upgradeModal.successPage.activating": "Aboneliğiniz etkinleştiriliyor — bu genellikle birkaç saniye sürer…",
"workspace.upgradeModal.successPage.amountLabel": "Toplam ödenen",
- "workspace.upgradeModal.successPage.continueCta": "Davet et ve devam et",
"workspace.upgradeModal.successPage.desc": "{{name}} artık Pro'da. İş birliğine başlamak için ekip arkadaşlarınızı davet edin.",
- "workspace.upgradeModal.successPage.inviteDesc": "E-posta ile davet gönderin. Çalışma alanına katılmak için bir bağlantı alacaklar.",
- "workspace.upgradeModal.successPage.inviteTitle": "{{name}}'e ekip arkadaşlarını davet et",
"workspace.upgradeModal.successPage.paidAtLabel": "Ödeme zamanı",
"workspace.upgradeModal.successPage.planTag": "Çalışma Alanı Pro",
"workspace.upgradeModal.successPage.processingDesc": "Bekleyin — Stripe ile ödemenizi onaylıyoruz. Bu genellikle birkaç saniye sürer.",
@@ -2281,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Faturalandırma döngüsü",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} dahil koltuk",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} dahil koltuk",
- "workspace.upgradeModal.successPage.skipCta": "Şimdilik atla",
"workspace.upgradeModal.successPage.title": "Yükseltme tamamlandı",
"workspace.upgradeModal.successToast": "Yükseltme tamamlandı — planınız yenileniyor…",
"workspace.upgradeModal.title": "Pro'ya yükselt",
diff --git a/locales/tr-TR/spend.json b/locales/tr-TR/spend.json
index 53f8b5806d7..a8944bbb885 100644
--- a/locales/tr-TR/spend.json
+++ b/locales/tr-TR/spend.json
@@ -40,5 +40,28 @@
"table.more": "Detayları Görüntüle",
"table.title": "Hesaplama Kredisi Kullanım Detayları",
"table.totalToken.input": "Girdi",
- "table.totalToken.output": "Çıktı"
+ "table.totalToken.output": "Çıktı",
+ "usageStats.breakdown.cost": "Maliyet",
+ "usageStats.breakdown.model": "Model",
+ "usageStats.breakdown.requests": "İstekler",
+ "usageStats.breakdown.title": "Modele Göre Kullanım",
+ "usageStats.breakdown.totalTokens": "Jetonlar",
+ "usageStats.byDay": "Günlük",
+ "usageStats.byWeek": "Haftalık",
+ "usageStats.cards.cacheDesc": "Önbellek isabet oranı {{rate}}% · Okuma {{read}}",
+ "usageStats.cards.cacheSavings": "Önbellek tasarrufu",
+ "usageStats.cards.cost": "Maliyet",
+ "usageStats.cards.token": "Jeton",
+ "usageStats.cards.tokenDesc": "Girdi {{input}} · Çıktı {{output}}",
+ "usageStats.chart.cacheWrite": "Önbellek yazma",
+ "usageStats.chart.input": "Girdi",
+ "usageStats.chart.output": "Çıktı",
+ "usageStats.chart.spend": "Maliyet",
+ "usageStats.chart.title": "Bu ajan harcama yaptığında",
+ "usageStats.chart.tokens": "Jeton",
+ "usageStats.dimension": "Boyut",
+ "usageStats.entry": "Kullanım ve Maliyet",
+ "usageStats.range": "Zaman aralığı",
+ "usageStats.rangeSuffix": "Son {{count}}g",
+ "usageStats.title": "Kullanım ve Maliyet"
}
diff --git a/locales/tr-TR/topic.json b/locales/tr-TR/topic.json
index d2f18a100b2..c476f5150b7 100644
--- a/locales/tr-TR/topic.json
+++ b/locales/tr-TR/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Tüm grupları genişlet",
"sidebar.title": "Konular",
"taskManager.agent": "Görev Aracısı",
+ "taskManager.agentSelector.privateGroup": "Özel",
+ "taskManager.agentSelector.workspaceGroup": "Çalışma Alanı",
"taskManager.welcome": "Görevlerin hakkında bana soru sor",
"temp": "Geçici",
"title": "Konu"
diff --git a/locales/tr-TR/video.json b/locales/tr-TR/video.json
index 58f19ae63d8..aa70df57473 100644
--- a/locales/tr-TR/video.json
+++ b/locales/tr-TR/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Yeni Konu Oluştur",
"topic.deleteConfirm": "Video Konusunu Sil",
"topic.deleteConfirmDesc": "Bu video konusunu silmek üzeresiniz. Bu işlem geri alınamaz.",
+ "topic.privateTitle": "Özel",
"topic.title": "Video Konuları",
- "topic.untitled": "Varsayılan Konu"
+ "topic.untitled": "Varsayılan Konu",
+ "topic.visibility.existingLocked": "Görünürlük mevcut konu için sabitlenmiştir. Farklı bir alan seçmek için yeni bir konu oluşturun.",
+ "topic.workspaceTitle": "Çalışma Alanı"
}
diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.json
index 89051b51230..67d55e4d6d7 100644
--- a/locales/vi-VN/chat.json
+++ b/locales/vi-VN/chat.json
@@ -1,6 +1,10 @@
{
"ModelSwitch.title": "Mô hình",
"active": "Đang hoạt động",
+ "addAgentFromMarket": "Thêm từ Thị trường",
+ "agent.publishToWorkspace": "Xuất bản vào Không gian làm việc",
+ "agent.publishToWorkspaceConfirm": "Các thành viên khác trong không gian làm việc sẽ có thể sử dụng tác nhân này. Bạn sẽ không thể làm cho nó riêng tư lại.",
+ "agent.publishToWorkspaceSuccess": "Đã xuất bản vào không gian làm việc",
"agentBuilder.installPlugin.authRequired": "Cloud MCP yêu cầu đăng nhập để tiếp tục",
"agentBuilder.installPlugin.cancel": "Hủy",
"agentBuilder.installPlugin.clickApproveToConnect": "Nhấn \"Chấp nhận\" để kết nối và cấp quyền cho Tích hợp này",
@@ -33,6 +37,13 @@
"agentSignal.receipts.memory.detail": "Đã lưu để trả lời trong tương lai",
"agentSignal.receipts.memory.title": "Đã lưu ký ức",
"agentSignal.receipts.recentActivity": "Hoạt động gần đây",
+ "agentSignal.receipts.revert.conflict": "Phiên bản mới hơn",
+ "agentSignal.receipts.revert.failed": "Thất bại",
+ "agentSignal.receipts.revert.not_found": "Không thể hoàn tác",
+ "agentSignal.receipts.revert.pending": "Đang hoàn tác",
+ "agentSignal.receipts.revert.rolled_back": "Đã hoàn tác",
+ "agentSignal.receipts.revert.undo": "Hoàn tác",
+ "agentSignal.receipts.revert.unsupported": "Không được hỗ trợ",
"agentSignal.receipts.skill.detail": "Đã cải thiện cách trợ lý này xử lý các yêu cầu tương tự",
"agentSignal.receipts.skill.title": "Đã cập nhật kỹ năng",
"agents": "Tác nhân",
@@ -57,6 +68,7 @@
"chatMode.agentCap.tools": "Gọi công cụ",
"chatMode.agentCap.web": "Tìm kiếm web",
"chatMode.agentDesc": "Đại lý có thể sử dụng công cụ và môi trường để hoàn thành nhiệm vụ tự động",
+ "chatMode.agentUnsupported": "Mô hình hiện tại không hỗ trợ gọi công cụ",
"chatMode.chat": "Trò chuyện",
"chatMode.chatDesc": "Không có môi trường chạy hoặc tự động; sử dụng ít token hơn",
"chatMode.select": "Chuyển chế độ",
@@ -145,6 +157,14 @@
"createTask.instructionPlaceholder": "Thêm mô tả...",
"createTask.submit": "Tạo nhiệm vụ",
"createTask.titlePlaceholder": "Tiêu đề nhiệm vụ",
+ "createTask.visibility.changeFailed": "Không thể thay đổi quyền hiển thị của nhiệm vụ",
+ "createTask.visibility.helperPrivate": "Chỉ bạn có thể xem nhiệm vụ này.",
+ "createTask.visibility.helperWorkspace": "Mọi người trong không gian làm việc này đều có thể xem nhiệm vụ này.",
+ "createTask.visibility.label": "Quyền hiển thị",
+ "createTask.visibility.private": "Riêng tư",
+ "createTask.visibility.privateAgentDisabled": "Tác nhân riêng tư chỉ có thể chạy các nhiệm vụ riêng tư. Chọn một tác nhân không gian làm việc hoặc chuyển nhiệm vụ này sang chế độ Riêng tư.",
+ "createTask.visibility.privateAgentLocked": "Tác nhân riêng tư chỉ có thể chạy các nhiệm vụ riêng tư.",
+ "createTask.visibility.workspace": "Không gian làm việc",
"defaultAgent": "Tác nhân mặc định",
"defaultGroupChat": "Nhóm",
"defaultList": "Danh sách mặc định",
@@ -319,10 +339,12 @@
"input.inputCompletionError.title": "Gợi ý nhập liệu đã tạm dừng",
"input.modelUnavailable": "Mô hình hiện tại không còn khả dụng. Chọn mô hình khác để tiếp tục.",
"input.more": "Thêm",
+ "input.sandboxModeNotice": "Đang chạy trong Cloud Sandbox tạm thời. Chạy cục bộ sẽ nhanh hơn và có thể truy cập vào tệp của bạn.",
"input.send": "Gửi",
"input.sendWithCmdEnter": "Nhấn <key/> để gửi",
"input.sendWithEnter": "Nhấn <key/> để gửi",
"input.stop": "Dừng",
+ "input.switchToLocal": "Sử dụng máy cục bộ",
"input.warp": "Dòng mới",
"input.warpWithKey": "Nhấn <key/> để xuống dòng",
"inputQueue.delete": "Xóa",
@@ -364,10 +386,13 @@
"memory.on.title": "Bật Bộ Nhớ",
"memory.title": "Bộ Nhớ",
"mention.category.agents": "Tác nhân",
+ "mention.category.files": "Tệp",
"mention.category.members": "Thành viên",
+ "mention.category.privateAgents": "Riêng tư",
"mention.category.skills": "Kỹ năng",
"mention.category.tools": "Công cụ",
"mention.category.topics": "Chủ đề",
+ "mention.category.workspaceAgents": "Không gian làm việc",
"mention.title": "Đề cập thành viên",
"messageAction.collapse": "Thu gọn tin nhắn",
"messageAction.continueGeneration": "Tiếp tục tạo",
@@ -378,6 +403,31 @@
"messageAction.interruptedHint": "Tôi nên làm gì thay thế?",
"messageAction.reaction": "Thêm phản ứng",
"messageAction.regenerate": "Tạo lại",
+ "messageAction.select": "Chọn",
+ "messageForward.bar.cancel": "Hủy",
+ "messageForward.bar.delete": "Xóa",
+ "messageForward.bar.forward": "Chuyển tiếp",
+ "messageForward.bar.selectToHere": "Chọn đến đây",
+ "messageForward.bar.selected": "Đã chọn {{count}}",
+ "messageForward.deleteConfirm.desc": "Xóa {{count}} tin nhắn đã chọn? Hành động này không thể hoàn tác.",
+ "messageForward.deleteConfirm.success": "Đã xóa {{count}} tin nhắn",
+ "messageForward.deleteConfirm.title": "Xóa tin nhắn",
+ "messageForward.empty": "Chọn ít nhất một tin nhắn để chuyển tiếp",
+ "messageForward.modal.empty": "Không có tác nhân nào khác khả dụng",
+ "messageForward.modal.moreMessages": "+{{count}} tin nhắn nữa",
+ "messageForward.modal.noRecipients": "Chọn tác nhân ở bên trái để chuyển tiếp đến",
+ "messageForward.modal.notePlaceholder": "Thêm ghi chú (tùy chọn) — gửi kèm với tin nhắn",
+ "messageForward.modal.recipients": "Gửi đến ({{count}})",
+ "messageForward.modal.removeRecipient": "Xóa người nhận",
+ "messageForward.modal.searchPlaceholder": "Tìm kiếm tác nhân…",
+ "messageForward.modal.sendCount": "Chuyển tiếp ({{count}})",
+ "messageForward.modal.title": "Chuyển tiếp đến Tác nhân",
+ "messageForward.role.agent": "Tác nhân",
+ "messageForward.role.assistant": "Trợ lý",
+ "messageForward.role.user": "Người dùng",
+ "messageForward.success": "Đã chuyển tiếp đến {{title}}",
+ "messageForward.successMulti": "Đã chuyển tiếp đến {{count}} tác nhân",
+ "messageForward.transcript.header": "{{count}} tin nhắn sau đã được chuyển tiếp từ một cuộc trò chuyện khác. Vui lòng sử dụng chúng làm ngữ cảnh và tiếp tục:",
"messageLongCollapse.collapse": "Thu gọn",
"messageLongCollapse.expand": "Xem thêm",
"messages.dm.sentTo": "Chỉ hiển thị với {{name}}",
@@ -507,6 +557,17 @@
"rag.userQuery.actions.delete": "Xóa truy vấn đã viết lại",
"rag.userQuery.actions.regenerate": "Tạo lại truy vấn",
"regenerate": "Tạo lại",
+ "resources.knowledgePicker.publicAgentHint": "Tác nhân công khai chỉ có thể tham chiếu tài nguyên của không gian làm việc. Xuất bản tài nguyên riêng tư lên không gian làm việc trước nếu bạn muốn đính kèm nó.",
+ "resources.mode.privateHint": "Ngăn kéo của riêng bạn — chỉ bạn có thể xem các tệp này",
+ "resources.mode.workspaceHint": "Chia sẻ với mọi người trong không gian làm việc này",
+ "resources.publishToWorkspace.confirm": "Các thành viên khác trong không gian làm việc sẽ có thể xem tệp này. Bạn sẽ không thể chuyển nó về chế độ riêng tư nữa.",
+ "resources.publishToWorkspace.error": "Không thể xuất bản tệp lên không gian làm việc",
+ "resources.publishToWorkspace.menu": "Xuất bản lên Không gian làm việc",
+ "resources.publishToWorkspace.success": "Đã xuất bản lên không gian làm việc",
+ "resources.visibility.label": "Quyền hiển thị",
+ "resources.visibility.private": "Riêng tư",
+ "resources.visibility.privateTooltip": "Chỉ bạn có thể xem tệp này",
+ "resources.visibility.workspace": "Không gian làm việc",
"roleAndArchive": "Hồ sơ & Lịch sử tác nhân",
"runtimeEnv.mode.cloud": "Hộp cát Đám mây",
"runtimeEnv.mode.cloudDesc": "Chạy trong hộp cát đám mây an toàn",
@@ -553,6 +614,9 @@
"sessionGroup.noAvailableAgents": "Không có tác nhân khả dụng",
"sessionGroup.noMatchingAgents": "Không tìm thấy tác nhân phù hợp",
"sessionGroup.noSelectedAgents": "Vui lòng chọn tác nhân",
+ "sessionGroup.publishToWorkspace": "Xuất bản vào Không gian làm việc",
+ "sessionGroup.publishToWorkspaceConfirm": "Các thành viên khác trong không gian làm việc sẽ có thể sử dụng thư mục này. Bạn sẽ không thể làm cho nó riêng tư lại.",
+ "sessionGroup.publishToWorkspaceSuccess": "Đã xuất bản vào không gian làm việc",
"sessionGroup.rename": "Đổi tên nhóm",
"sessionGroup.renameSuccess": "Đổi tên thành công",
"sessionGroup.searchAgents": "Tìm kiếm tác nhân",
@@ -724,6 +788,12 @@
"taskDetail.priority.normal": "Bình thường",
"taskDetail.priority.urgent": "Khẩn cấp",
"taskDetail.properties": "Thuộc tính",
+ "taskDetail.publishToWorkspace.confirmContent": "Khi đã xuất bản, nhiệm vụ này sẽ hiển thị cho tất cả các thành viên trong không gian làm việc và không thể chuyển về chế độ riêng tư.",
+ "taskDetail.publishToWorkspace.confirmHint": "Các lần chạy trước vẫn ở chế độ riêng tư. Chỉ các lần chạy được tạo sau khi xuất bản mới hiển thị cho các thành viên không gian làm việc.",
+ "taskDetail.publishToWorkspace.confirmOk": "Xuất bản",
+ "taskDetail.publishToWorkspace.confirmTitle": "Xuất bản nhiệm vụ lên không gian làm việc?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "Nhiệm vụ này được gán cho một tác nhân riêng tư. Chuyển sang một tác nhân không gian làm việc hoặc xuất bản tác nhân trước.",
+ "taskDetail.publishToWorkspace.menuLabel": "Xuất bản lên Không gian làm việc",
"taskDetail.reassignDisabled": "Không thể giao lại tác tử khi nhiệm vụ đang chạy",
"taskDetail.replyInThread": "Trả lời trong chuỗi này",
"taskDetail.replyPlaceholder": "Trả lời trong chuỗi này...",
@@ -834,6 +904,8 @@
"taskList.view.board": "Bảng",
"taskList.view.list": "Danh sách",
"taskList.viewAll": "Xem tất cả",
+ "taskList.visibility.all": "Tất cả",
+ "taskList.visibility.label": "Quyền hiển thị",
"taskSchedule.advancedSettings": "Cài đặt nâng cao",
"taskSchedule.clear": "Xóa",
"taskSchedule.continuous": "Liên tục",
@@ -1127,11 +1199,10 @@
"workingPanel.documents.unsaved": "Unsaved changes",
"workingPanel.files.copyAbsolutePath": "Sao chép Đường dẫn Tuyệt đối",
"workingPanel.files.copyRelativePath": "Sao chép Đường dẫn Tương đối",
- "workingPanel.files.count_one": "{{count}} tệp",
- "workingPanel.files.count_other": "{{count}} tệp",
"workingPanel.files.empty": "Không có tệp nào trong không gian làm việc này",
+ "workingPanel.files.noSearchResults": "Không có tệp nào phù hợp",
"workingPanel.files.open": "Mở Tệp",
- "workingPanel.files.refresh": "Làm mới",
+ "workingPanel.files.searchPlaceholder": "Lọc tệp...",
"workingPanel.files.showInReview": "Hiển thị trong Đánh giá",
"workingPanel.files.showInSystem": "Hiển thị trong Thư mục",
"workingPanel.files.title": "Tệp",
diff --git a/locales/vi-VN/common.json b/locales/vi-VN/common.json
index fb539234659..122f3789e98 100644
--- a/locales/vi-VN/common.json
+++ b/locales/vi-VN/common.json
@@ -1,5 +1,6 @@
{
"about": "Giới thiệu",
+ "addNew": "Thêm mới",
"advanceSettings": "Cài đặt nâng cao",
"agentOnboardingPromo.actionLabel": "Dùng thử ngay",
"agentOnboardingPromo.description": "Thiết lập các nhóm trợ lý của bạn qua một cuộc trò chuyện nhanh với Lobe AI. Các trợ lý hiện có của bạn sẽ không thay đổi.",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "Kiểm tra chính sách nội dung không đạt. Vui lòng chỉnh sửa lại yêu cầu của bạn.",
"getDesktopApp": "Tải ứng dụng trên máy tính",
"goToTarget": "Đi đến mục tiêu",
+ "gotIt": "Hiểu rồi",
"historyRange": "Phạm vi lịch sử",
"home.suggestQuestions": "Hãy thử những ví dụ này",
"import": "Nhập khẩu",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "Di chuyển xuống",
"navPanel.moveUp": "Di chuyển lên",
"navPanel.pinned": "Đã ghim",
+ "navPanel.privateAgents": "Riêng tư",
+ "navPanel.publicAgents": "Không gian làm việc",
"navPanel.resetDefault": "Đặt lại về mặc định",
"navPanel.searchAgent": "Tìm kiếm tác nhân...",
"navPanel.searchRecent": "Tìm kiếm gần đây...",
diff --git a/locales/vi-VN/discover.json b/locales/vi-VN/discover.json
index 1e81bded810..f9866083bea 100644
--- a/locales/vi-VN/discover.json
+++ b/locales/vi-VN/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "forks",
"fork.forksCount": "{{count}} fork",
"fork.forksCount_other": "{{count}} forks",
+ "fork.orgSetupRequired.memberContent": "Không gian làm việc này chưa thiết lập hồ sơ Cộng đồng, vì vậy các nhánh từ thị trường không thể được lưu tại đây. Vui lòng yêu cầu chủ sở hữu không gian làm việc thiết lập nó trong mục Cộng đồng → Không gian làm việc.",
+ "fork.orgSetupRequired.ownerContent": "Không gian làm việc này chưa thiết lập hồ sơ Cộng đồng. Hãy thiết lập một hồ sơ để nhánh các tác nhân từ thị trường vào không gian làm việc của bạn.",
+ "fork.orgSetupRequired.ownerOk": "Đi đến thiết lập",
+ "fork.orgSetupRequired.title": "Yêu cầu thiết lập hồ sơ Cộng đồng",
"fork.success": "Fork thành công!",
"fork.viewAllForks": "Xem tất cả các bản fork",
+ "fork.visibilityPrivate": "Riêng tư",
+ "fork.visibilityPublic": "Không gian làm việc",
"groupAgents.tag": "Nhóm",
"groupAgents.underReview": "Đang xem xét",
"home.communityAgents": "Tác nhân cộng đồng",
diff --git a/locales/vi-VN/editor.json b/locales/vi-VN/editor.json
index 85afaa57d04..446b662fec2 100644
--- a/locales/vi-VN/editor.json
+++ b/locales/vi-VN/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "Kỹ năng",
"actionTag.category.tool": "Công cụ",
"actionTag.tooltip.agentSkill": "Tải một gói kỹ năng từ tài liệu của đại lý này cho yêu cầu.",
+ "actionTag.tooltip.clickToView": "Nhấn để xem chi tiết",
"actionTag.tooltip.command": "Chạy lệnh slash phía client trước khi gửi.",
"actionTag.tooltip.projectSkill": "Được gửi dưới dạng lệnh gạch chéo để CLI của tác nhân chạy kỹ năng dự án tương ứng.",
"actionTag.tooltip.skill": "Tải gói kỹ năng có thể tái sử dụng cho yêu cầu này.",
diff --git a/locales/vi-VN/electron.json b/locales/vi-VN/electron.json
index 5dd21679d7b..692869e0dea 100644
--- a/locales/vi-VN/electron.json
+++ b/locales/vi-VN/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "Cài đặt",
"navigation.task": "Nhiệm vụ",
"navigation.tasks": "Nhiệm vụ",
+ "navigation.topics": "Chủ đề",
"navigation.unpin": "Bỏ ghim",
"notification.finishChatGeneration": "Đã hoàn tất tạo tin nhắn AI",
"proxy.auth": "Yêu cầu xác thực",
diff --git a/locales/vi-VN/eval.json b/locales/vi-VN/eval.json
index 4e5d73b4c90..0643d9f3b7b 100644
--- a/locales/vi-VN/eval.json
+++ b/locales/vi-VN/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "Bạn có chắc chắn muốn xóa benchmark này không? Các tập dữ liệu liên quan và hồ sơ đánh giá cũng sẽ bị xóa.",
"benchmark.actions.edit": "Chỉnh sửa Benchmark",
"benchmark.actions.export": "Xuất",
+ "benchmark.card.bestPassRate": "Tỷ lệ vượt qua tốt nhất",
"benchmark.card.bestScore": "Tốt nhất",
"benchmark.card.caseCount": "{{count}} trường hợp",
+ "benchmark.card.casesLabel": "Trường hợp",
"benchmark.card.datasetCount": "{{count}} tập dữ liệu",
"benchmark.card.empty": "Chưa có đánh giá nào",
"benchmark.card.emptyHint": "Tạo một đánh giá mới từ trang chi tiết benchmark",
+ "benchmark.card.evalsLabel": "Đánh giá",
"benchmark.card.importDataset": "Nhập Tập Dữ Liệu",
"benchmark.card.noDataset": "Chưa có tập dữ liệu",
"benchmark.card.noDatasetHint": "Nhập một tập dữ liệu để bắt đầu đánh giá",
"benchmark.card.noRecentRuns": "Không có đánh giá gần đây để hiển thị",
"benchmark.card.recentRuns": "Đánh giá gần đây",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} trước khi thất bại",
+ "benchmark.card.run.queued": "Đang chờ xử lý",
"benchmark.card.runCount": "{{count}} đánh giá",
"benchmark.card.startFirst": "Bắt đầu Đánh giá Đầu tiên",
"benchmark.card.viewAll": "Xem tất cả {{count}}",
diff --git a/locales/vi-VN/file.json b/locales/vi-VN/file.json
index 88e92c88342..72b7d61a642 100644
--- a/locales/vi-VN/file.json
+++ b/locales/vi-VN/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "Di chuyển thư viện",
"library.list.transferTo": "Di chuyển đến…",
"library.new": "Thư Viện Mới",
+ "library.privateEmpty": "Tạo thư viện riêng tư",
+ "library.publish": "Xuất bản vào không gian làm việc",
+ "library.publishConfirm.content": "Tất cả thành viên trong không gian làm việc sẽ thấy cơ sở kiến thức này. Hành động này không thể hoàn tác.",
+ "library.publishConfirm.title": "Xuất bản cơ sở kiến thức vào không gian làm việc?",
"library.title": "Thư Viện",
+ "library.workspaceEmpty": "Tạo thư viện không gian làm việc",
"loadMore": "Tải Thêm",
"menu.allFiles": "Tất Cả Tệp",
"menu.allPages": "Tất Cả Trang",
@@ -170,6 +175,13 @@
"pageList.noResults": "Không tìm thấy trang phù hợp",
"pageList.pageCount": "Tổng cộng {{count}} trang",
"pageList.pageSizeItem": "{{count}} mục",
+ "pageList.privateTitle": "Riêng tư",
+ "pageList.publishConfirm.content": "Sau khi xuất bản, mọi người trong không gian làm việc có thể xem trang này. Bạn không thể thay đổi lại thành riêng tư sau đó.",
+ "pageList.publishConfirm.ok": "Xuất bản",
+ "pageList.publishConfirm.title": "Xuất bản vào không gian làm việc",
+ "pageList.publishError": "Không thể xuất bản trang",
+ "pageList.publishSuccess": "Trang đã được xuất bản vào không gian làm việc",
+ "pageList.publishToWorkspace": "Xuất bản vào không gian làm việc",
"pageList.title": "Trang",
"pageList.transferConfirm": "Di chuyển",
"pageList.transferDescription": "Di chuyển trang này (và bất kỳ thư mục nào nó chứa) đến một không gian làm việc khác.",
@@ -179,6 +191,7 @@
"pageList.transferTo": "Di chuyển đến…",
"pageList.transferWarning": "Đây là một hành động di chuyển một chiều; để hoàn tác cần thực hiện một lần di chuyển khác.",
"pageList.untitled": "Chưa có tiêu đề",
+ "pageList.workspaceTitle": "Không gian làm việc",
"portal.openInPageEditor": "Chỉnh sửa trong Trang",
"preview.downloadFile": "Tải Xuống Tệp",
"preview.unsupportedFileAndContact": "Định dạng tệp này hiện không được hỗ trợ xem trực tuyến. Nếu bạn có yêu cầu xem trước, vui lòng <1>liên hệ với chúng tôi</1>.",
diff --git a/locales/vi-VN/image.json b/locales/vi-VN/image.json
index aa38a7a708e..e0803716031 100644
--- a/locales/vi-VN/image.json
+++ b/locales/vi-VN/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "Xóa chủ đề tạo ảnh",
"topic.deleteConfirmDesc": "Bạn sắp xóa chủ đề tạo ảnh này. Hành động này không thể hoàn tác, vui lòng cẩn trọng.",
"topic.empty": "Chưa có chủ đề tạo ảnh",
+ "topic.privateTitle": "Riêng tư",
"topic.title": "Chủ đề tranh vẽ",
- "topic.untitled": "Chủ đề mặc định"
+ "topic.untitled": "Chủ đề mặc định",
+ "topic.visibility.existingLocked": "Chế độ hiển thị đã được cố định cho chủ đề hiện tại. Tạo một chủ đề mới để chọn không gian khác.",
+ "topic.workspaceTitle": "Không gian làm việc"
}
diff --git a/locales/vi-VN/models.json b/locales/vi-VN/models.json
index a68cf83b9bc..1ee03004cf7 100644
--- a/locales/vi-VN/models.json
+++ b/locales/vi-VN/models.json
@@ -305,6 +305,7 @@
"claude-sonnet-4.5.description": "Claude Sonnet 4.5 là mô hình thông minh nhất của Anthropic cho đến nay.",
"claude-sonnet-4.6.description": "Claude Sonnet 4.6 là sự kết hợp tốt nhất giữa tốc độ và trí tuệ của Anthropic.",
"claude-sonnet-4.description": "Claude Sonnet 4 của Anthropic — mô hình cân bằng với khả năng mã hóa và lý luận mạnh mẽ.",
+ "claude-sonnet-5.description": "Claude Sonnet 5 là mô hình Sonnet có tính tác nhân cao nhất của Anthropic, được thiết kế cho công việc mã hóa liên tục, sử dụng công cụ và quy trình làm việc với ngữ cảnh dài, với tốc độ và hiệu quả cấp độ Sonnet.",
"codegeex-4.description": "CodeGeeX-4 là trợ lý lập trình AI mạnh mẽ hỗ trợ hỏi đáp đa ngôn ngữ và hoàn thành mã để tăng năng suất lập trình viên.",
"codegeex4-all-9b.description": "CodeGeeX4-ALL-9B là mô hình tạo mã đa ngôn ngữ hỗ trợ hoàn thành và sinh mã, thông dịch mã, tìm kiếm web, gọi hàm và hỏi đáp mã ở cấp độ kho lưu trữ, bao phủ nhiều tình huống phát triển phần mềm. Đây là mô hình mã hàng đầu dưới 10 tỷ tham số.",
"codegemma.description": "CodeGemma là mô hình nhẹ cho các tác vụ lập trình đa dạng, cho phép lặp lại nhanh và tích hợp dễ dàng.",
@@ -534,6 +535,8 @@
"gemini-3-pro-preview.description": "Gemini 3 Pro là mô hình mạnh mẽ nhất của Google, kết hợp khả năng mã hóa cảm xúc và suy luận tiên tiến, mang đến hình ảnh phong phú và tương tác sâu sắc.",
"gemini-3.1-flash-image-preview.description": "Gemini 3.1 Flash Image (Nano Banana 2) là mô hình tạo hình ảnh bản địa nhanh nhất của Google với hỗ trợ suy nghĩ, tạo hình ảnh đối thoại và chỉnh sửa.",
"gemini-3.1-flash-image-preview:image.description": "Gemini 3.1 Flash Image (Nano Banana 2) là mô hình tạo hình ảnh nhanh nhất của Google với hỗ trợ tư duy, tạo và chỉnh sửa hình ảnh trong hội thoại.",
+ "gemini-3.1-flash-lite-image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) là mô hình tạo hình ảnh nhanh nhất và tiết kiệm chi phí nhất của Google, được thiết kế cho việc tạo và chỉnh sửa hình ảnh với khối lượng lớn.",
+ "gemini-3.1-flash-lite-image:image.description": "Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) là mô hình tạo hình ảnh nhanh nhất và tiết kiệm chi phí nhất của Google, được thiết kế cho việc tạo và chỉnh sửa hình ảnh với khối lượng lớn.",
"gemini-3.1-flash-lite-preview.description": "Gemini 3.1 Flash-Lite Preview là mô hình đa phương thức tiết kiệm chi phí nhất của Google, được tối ưu hóa cho các nhiệm vụ tác nhân khối lượng lớn, dịch thuật và xử lý dữ liệu.",
"gemini-3.1-flash-lite.description": "Gemini 3.1 Flash-Lite là mô hình đa phương thức tiết kiệm chi phí nhất của Google, được tối ưu hóa cho các nhiệm vụ đại lý khối lượng lớn, dịch thuật và xử lý dữ liệu.",
"gemini-3.1-pro-preview.description": "Gemini 3.1 Pro Preview cải tiến Gemini 3 Pro với khả năng suy luận nâng cao và bổ sung hỗ trợ mức suy nghĩ trung bình.",
@@ -582,7 +585,7 @@
"glm-4v.description": "GLM-4V cung cấp khả năng hiểu và suy luận hình ảnh mạnh mẽ trong các tác vụ thị giác.",
"glm-5-turbo.description": "GLM-5-Turbo là mô hình nền tảng được tối ưu hóa sâu cho các kịch bản tác nhân. Nó được tối ưu hóa đặc biệt cho các yêu cầu cốt lõi của các nhiệm vụ tác nhân từ giai đoạn đào tạo, nâng cao các khả năng chính như gọi công cụ, tuân thủ lệnh và thực thi chuỗi dài. Lý tưởng để xây dựng trợ lý tác nhân hiệu suất cao.",
"glm-5.1.description": "GLM-5.1 là mô hình chủ lực mới nhất của Zhipu, được căn chỉnh tương đương Claude Opus 4.6 về năng lực tổng thể và lập trình. Mô hình vượt trội trong các tác vụ dài hạn, có khả năng tự động lập kế hoạch, thực thi và lặp lại trong tối đa 8 giờ cho một nhiệm vụ duy nhất, trở thành nền tảng lý tưởng cho các Tác nhân Tự động (Autonomous Agents) và các Tác nhân Lập trình dài hạn (Long-horizon Coding Agents).",
- "glm-5.2.description": "Dòng GLM là mô hình lý luận lai từ Zhipu AI được thiết kế cho các tác nhân, với chế độ suy nghĩ và không suy nghĩ. GLM-5.2 là mô hình hàng đầu của Zhipu cho kỷ nguyên nhiệm vụ dài hạn, hỗ trợ ngữ cảnh 1 triệu token và được tối ưu hóa cho lập kế hoạch dài hạn, mã hóa phức tạp và thực thi tác nhân.",
+ "glm-5.2.description": "Dòng GLM là mô hình lý luận lai từ Zhipu AI được thiết kế cho các tác vụ đại lý, với chế độ suy nghĩ và không suy nghĩ. GLM-5.2 là mô hình hàng đầu của Zhipu trong kỷ nguyên các nhiệm vụ dài hạn, hỗ trợ ngữ cảnh 1 triệu token và được tối ưu hóa cho lập kế hoạch dài hạn, mã hóa phức tạp và thực thi tác vụ đại lý.",
"glm-5.description": "GLM-5 là mô hình nền tảng thế hệ tiếp theo của Zhipu, được thiết kế đặc biệt cho Kỹ thuật Tác nhân (Agentic Engineering). Nó mang lại năng suất đáng tin cậy trong các hệ thống kỹ thuật phức tạp và các nhiệm vụ tác nhân dài hạn. Trong khả năng mã hóa và tác nhân, GLM-5 đạt hiệu suất tiên tiến nhất trong số các mô hình mã nguồn mở. Trong các kịch bản lập trình thực tế, trải nghiệm người dùng của nó gần đạt đến mức của Claude Opus 4.5. Nó vượt trội trong kỹ thuật hệ thống phức tạp và các nhiệm vụ tác nhân dài hạn, làm cho nó trở thành mô hình nền tảng lý tưởng cho các trợ lý tác nhân đa năng.",
"glm-5v-turbo.description": "GLM-5V-Turbo là mô hình nền tảng mã hóa đa phương thức của Zhipu dành cho các nhiệm vụ lập trình trực quan. Nó xử lý tự nhiên hình ảnh, video, văn bản và tệp, được tối ưu hóa cho lập kế hoạch dài hạn, mã hóa phức tạp và thực thi đại diện trong các quy trình làm việc đa phương thức.",
"glm-image.description": "GLM-Image là mô hình tạo hình ảnh hàng đầu mới của Zhipu. Mô hình này được huấn luyện từ đầu đến cuối trên các chip sản xuất trong nước và áp dụng kiến trúc lai nguyên bản kết hợp mô hình tự hồi quy với bộ giải mã khuếch tán. Thiết kế này cho phép hiểu biết hướng dẫn toàn cầu mạnh mẽ cùng với khả năng hiển thị chi tiết cục bộ tinh vi, vượt qua các thách thức lâu dài trong việc tạo nội dung giàu kiến thức như áp phích, bài thuyết trình và sơ đồ giáo dục. Nó đại diện cho một sự khám phá quan trọng hướng tới thế hệ mới của các mô hình công nghệ “tạo nhận thức,” được minh họa bởi Nano Banana Pro.",
@@ -763,7 +766,7 @@
"kimi-k2.5.description": "Kimi K2.5 là mô hình linh hoạt nhất của Kimi cho đến nay, với kiến trúc đa phương thức gốc hỗ trợ cả đầu vào hình ảnh và văn bản, chế độ 'tư duy' và 'không tư duy', và cả nhiệm vụ trò chuyện và đại lý.",
"kimi-k2.6.description": "Kimi-K2.6 là mô hình ngôn ngữ lớn được ra mắt bởi Moonshot AI, với khả năng lập trình và gọi công cụ xuất sắc. Chỉ hỗ trợ triển khai dịch vụ tại Trung Quốc đại lục.",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed ​​là mô hình tốc độ cao của Kimi K2.7 Code. Đây là cùng một mô hình như Kimi K2.7 Code, nhưng tốc độ đầu ra khoảng 180 Tokens/s, và trong các kịch bản ngữ cảnh ngắn có thể đạt tới 260 Tokens/s, mang lại trải nghiệm lập trình tối ưu hơn.",
- "kimi-k2.7-code.description": "Kimi K2.7 Code là mô hình tác nhân tập trung vào mã hóa của Moonshot AI, được xây dựng trên Kimi K2.6, với những cải tiến đáng kể trong các nhiệm vụ mã hóa dài hạn thực tế và giảm khoảng 30% việc sử dụng token suy nghĩ.",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code là mô hình tập trung vào mã hóa của Moonshot AI, được xây dựng dựa trên Kimi K2.6, với những cải tiến đáng kể trong các nhiệm vụ mã hóa dài hạn thực tế và giảm khoảng 30% việc sử dụng token suy nghĩ.",
"kling/kling-v3-image-generation.description": "Hỗ trợ tối đa 10 hình ảnh tham chiếu, cho phép bạn khóa các chủ thể, yếu tố và tông màu để đảm bảo phong cách nhất quán. Kết hợp chuyển đổi phong cách, tham chiếu chân dung/nhân vật, hợp nhất nhiều hình ảnh và vẽ lại cục bộ để kiểm soát linh hoạt. Cung cấp chi tiết chân dung thực tế, với hình ảnh tổng thể tinh tế và nhiều lớp, mang màu sắc và không khí điện ảnh.",
"kling/kling-v3-omni-image-generation.description": "Mở khóa hình ảnh kể chuyện điện ảnh với mô hình tạo hình ảnh mới và đầu ra trực tiếp 2K/4K. Phân tích sâu các yếu tố nghe nhìn trong gợi ý để thực hiện chính xác các hướng dẫn sáng tạo. Hỗ trợ đầu vào tham chiếu linh hoạt và nâng cấp chất lượng toàn diện, lý tưởng cho bảng phân cảnh, nghệ thuật khái niệm kể chuyện và thiết kế cảnh.",
"kling/kling-v3-omni-video-generation.description": "Tính năng \"Tham chiếu Tất cả trong Một\" mới hỗ trợ video dài 3–8 giây hoặc nhiều hình ảnh để neo các yếu tố nhân vật. Có thể khớp âm thanh gốc và chuyển động môi để thể hiện nhân vật chân thực. Cải thiện tính nhất quán của video và biểu đạt động. Hỗ trợ đồng bộ hóa nghe nhìn và lập bảng phân cảnh thông minh.",
@@ -793,6 +796,7 @@
"llava.description": "LLaVA là mô hình đa phương thức kết hợp bộ mã hóa thị giác và Vicuna để hiểu ngôn ngữ-thị giác mạnh mẽ.",
"llava:13b.description": "LLaVA là mô hình đa phương thức kết hợp bộ mã hóa thị giác và Vicuna để hiểu ngôn ngữ-thị giác mạnh mẽ.",
"llava:34b.description": "LLaVA là mô hình đa phương thức kết hợp bộ mã hóa thị giác và Vicuna để hiểu ngôn ngữ-thị giác mạnh mẽ.",
+ "lobehub-glm-5.2-fast.description": "Biến thể nhanh của GLM-5.2 với độ trễ thấp hơn đáng kể. Có cùng khả năng như GLM-5.2 — chi phí cao hơn, nhưng phản hồi nhanh hơn nhiều.",
"magistral-medium-2509.description": "Magistral Medium 1.2 là mô hình lý luận tiên phong từ Mistral AI (tháng 9 năm 2025) với hỗ trợ thị giác.",
"magistral-small-2509.description": "Magistral Small 1.2 là mô hình suy luận nhỏ mã nguồn mở từ Mistral AI (tháng 9/2025) với hỗ trợ thị giác.",
"mathstral.description": "MathΣtral được xây dựng cho nghiên cứu khoa học và suy luận toán học, với khả năng tính toán và giải thích mạnh mẽ.",
@@ -932,7 +936,7 @@
"moonshot-v1-32k.description": "Moonshot V1 32K hỗ trợ 32.768 token cho ngữ cảnh trung bình, lý tưởng cho tài liệu dài và hội thoại phức tạp trong sáng tạo nội dung, báo cáo và hệ thống trò chuyện.",
"moonshot-v1-8k-vision-preview.description": "Các mô hình thị giác Kimi (bao gồm moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview) có khả năng hiểu nội dung hình ảnh như văn bản, màu sắc và hình dạng đối tượng.",
"moonshot-v1-8k.description": "Moonshot V1 8K được tối ưu hóa cho việc tạo văn bản ngắn với hiệu suất cao, xử lý 8.192 token cho các cuộc trò chuyện ngắn, ghi chú và nội dung nhanh.",
- "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code là mô hình tác nhân được thiết kế cho các nhiệm vụ mã hóa từ Moonshot AI. Được xây dựng trên Kimi K2.6, nó thể hiện những cải tiến đáng kể trong các nhiệm vụ mã hóa dài hạn thực tế, nâng cao khả năng hoàn thành nhiệm vụ từ đầu đến cuối trong các quy trình kỹ thuật phần mềm phức tạp, đồng thời giảm khoảng 30% việc sử dụng token suy nghĩ so với Kimi K2.6.",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code là mô hình đại lý được thiết kế cho các nhiệm vụ mã hóa từ Moonshot AI. Được xây dựng dựa trên Kimi K2.6, mô hình này mang lại những cải tiến đáng kể trong các nhiệm vụ mã hóa dài hạn thực tế, nâng cao khả năng hoàn thành nhiệm vụ từ đầu đến cuối trong các quy trình kỹ thuật phần mềm phức tạp, đồng thời giảm khoảng 30% việc sử dụng token suy nghĩ so với Kimi K2.6.",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 là biến thể instruct trong dòng Kimi, phù hợp cho mã chất lượng cao và sử dụng công cụ.",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 là bản cập nhật mở rộng hiệu suất ngữ cảnh và suy luận với các tối ưu hóa lập trình.",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo là phiên bản tốc độ cao của Kimi K2 Thinking, giảm đáng kể độ trễ trong khi vẫn giữ được khả năng suy luận sâu.",
@@ -1337,7 +1341,7 @@
"zai-glm-4.7.description": "GLM-4.7 là mô hình hàng đầu thế hệ mới của Zhipu với 355 tỷ tham số tổng cộng và 32 tỷ tham số hoạt động, được nâng cấp toàn diện về đối thoại chung, lý luận và khả năng đại diện. GLM-4.7 tăng cường Tư duy Xen Kẽ và giới thiệu Tư duy Bảo Tồn và Tư duy Cấp Độ Lượt.",
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air là mô hình cơ bản dành cho các ứng dụng tác nhân sử dụng kiến trúc Mixture-of-Experts. Nó được tối ưu hóa cho sử dụng công cụ, duyệt web, kỹ thuật phần mềm và lập trình giao diện, và tích hợp với các tác nhân mã như Claude Code và Roo Code. Nó sử dụng lý luận lai để xử lý cả lý luận phức tạp và các kịch bản hàng ngày.",
"zai-org/GLM-4.5V.description": "GLM-4.5V là mô hình VLM mới nhất của Zhipu AI, được xây dựng trên mô hình văn bản hàng đầu GLM-4.5-Air (106B tổng, 12B hoạt động) với kiến trúc MoE để mang lại hiệu suất mạnh mẽ với chi phí thấp hơn. Nó theo con đường GLM-4.1V-Thinking và thêm 3D-RoPE để cải thiện lý luận không gian 3D. Được tối ưu hóa thông qua tiền huấn luyện, SFT và RL, nó xử lý hình ảnh, video và tài liệu dài và xếp hạng hàng đầu trong các mô hình mở trên 41 tiêu chuẩn đa phương thức công khai. Chế độ Thinking cho phép người dùng cân bằng giữa tốc độ và độ sâu.",
- "zai-org/GLM-5.2.description": "GLM-5.2 là mô hình hàng đầu mới nhất của Z.ai được thiết kế cho các kịch bản nhiệm vụ dài hạn, mang lại những cải tiến đáng kể về khả năng thực hiện nhiệm vụ dài hạn so với GLM-5.1. Mô hình MoE 753 tỷ này hỗ trợ cửa sổ ngữ cảnh ổn định 1 triệu token, có khả năng lập trình mạnh mẽ hơn và hỗ trợ nhiều mức độ nỗ lực suy nghĩ để cân bằng linh hoạt giữa hiệu suất và độ trễ.",
+ "zai-org/GLM-5.2.description": "GLM-5.2 là mô hình hàng đầu mới nhất của Z.ai được thiết kế cho các kịch bản nhiệm vụ dài hạn, mang lại những cải tiến đáng kể về khả năng thực hiện nhiệm vụ dài hạn so với GLM-5.1. Mô hình MoE 753B này hỗ trợ cửa sổ ngữ cảnh ổn định 1 triệu token, có khả năng lập trình mạnh mẽ hơn và hỗ trợ nhiều mức độ nỗ lực suy nghĩ để cân bằng linh hoạt giữa hiệu suất và độ trễ.",
"zai/glm-4.5-air.description": "GLM-4.5 và GLM-4.5-Air là các mô hình hàng đầu mới nhất của chúng tôi dành cho các ứng dụng tác nhân, cả hai đều sử dụng MoE. GLM-4.5 có tổng số 355B và 32B tham số hoạt động mỗi lần chuyển tiếp; GLM-4.5-Air mỏng hơn với tổng số 106B và 12B tham số hoạt động.",
"zai/glm-4.5.description": "Dòng GLM-4.5 được thiết kế cho các tác nhân. GLM-4.5 hàng đầu kết hợp lý luận, lập trình và kỹ năng tác nhân với tổng số 355B tham số (32B hoạt động) và cung cấp các chế độ hoạt động kép như một hệ thống lý luận lai.",
"zai/glm-4.5v.description": "GLM-4.5V được xây dựng trên GLM-4.5-Air, kế thừa các kỹ thuật GLM-4.1V-Thinking đã được chứng minh và mở rộng với kiến trúc MoE mạnh mẽ 106B tham số.",
diff --git a/locales/vi-VN/plugin.json b/locales/vi-VN/plugin.json
index 8fb8620d04b..e95cab62ed3 100644
--- a/locales/vi-VN/plugin.json
+++ b/locales/vi-VN/plugin.json
@@ -29,6 +29,10 @@
"builtins.codex.mcpTool.result": "Kết quả",
"builtins.codex.mcpTool.unknownTool": "Công cụ MCP",
"builtins.codex.webSearch.query": "Truy vấn",
+ "builtins.github.render.error": "Lỗi",
+ "builtins.github.render.rawResult": "Kết quả thô",
+ "builtins.github.render.updatedAt": "Cập nhật {{time}}",
+ "builtins.linear.render.empty": "Không tìm thấy {{collection}}",
"builtins.linear.render.updatedAt": "Cập nhật {{time}}",
"builtins.lobe-activator.apiName.activateTools": "Kích hoạt Công cụ",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} không tìm thấy",
diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.json
index 3de38b4b8c5..f3e070a3ea6 100644
--- a/locales/vi-VN/setting.json
+++ b/locales/vi-VN/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "Chuẩn",
"settingChatAppearance.fontSize.title": "Kích thước chữ",
"settingChatAppearance.highlighterTheme.title": "Chủ đề tô sáng mã",
+ "settingChatAppearance.linkIcon.desc": "Tắt tính năng này nếu bạn không cần sử dụng.",
+ "settingChatAppearance.linkIcon.previewMessage": "Xem <site></site> và <repo></repo> để biết thêm chi tiết.",
+ "settingChatAppearance.linkIcon.title": "Hiển thị biểu tượng trong liên kết tin nhắn",
"settingChatAppearance.mermaidTheme.title": "Chủ đề Mermaid",
"settingChatAppearance.title": "Giao diện trò chuyện",
"settingChatAppearance.transitionMode.desc": "Chọn cách hiển thị tin nhắn trò chuyện",
@@ -1231,6 +1234,226 @@
"tools.tabs.all": "Tất Cả",
"tools.tabs.installed": "Đã Bật",
"tools.title": "Công Cụ Mở Rộng",
+ "workspace.auditLog.actions.api_key.created": "Đã tạo khóa API",
+ "workspace.auditLog.actions.api_key.renamed": "Đã đổi tên khóa API",
+ "workspace.auditLog.actions.api_key.revoked": "Đã thu hồi khóa API",
+ "workspace.auditLog.actions.api_key.rotated": "Đã xoay vòng khóa API",
+ "workspace.auditLog.actions.auto_top_up.disabled": "Đã tắt tự động nạp tiền",
+ "workspace.auditLog.actions.auto_top_up.enabled": "Đã bật tự động nạp tiền",
+ "workspace.auditLog.actions.auto_top_up.failed": "Tự động nạp tiền thất bại",
+ "workspace.auditLog.actions.auto_top_up.succeeded": "Tự động nạp tiền thành công",
+ "workspace.auditLog.actions.auto_top_up.updated": "Đã cập nhật tự động nạp tiền",
+ "workspace.auditLog.actions.billing.default_payment_method_changed": "Đã thay đổi phương thức thanh toán mặc định",
+ "workspace.auditLog.actions.billing.payment_method_added": "Đã thêm phương thức thanh toán",
+ "workspace.auditLog.actions.billing.payment_method_removed": "Đã xóa phương thức thanh toán",
+ "workspace.auditLog.actions.billing.portal_session_created": "Đã mở cổng thanh toán",
+ "workspace.auditLog.actions.budget.default_member_limit_updated": "Đã cập nhật ngân sách mặc định cho thành viên",
+ "workspace.auditLog.actions.budget.member_limit_updated": "Đã cập nhật ngân sách cho thành viên",
+ "workspace.auditLog.actions.budget.member_override_created": "Đã tạo ghi đè ngân sách cho thành viên",
+ "workspace.auditLog.actions.budget.member_override_removed": "Đã xóa ghi đè ngân sách cho thành viên",
+ "workspace.auditLog.actions.budget.member_override_updated": "Đã cập nhật ghi đè ngân sách cho thành viên",
+ "workspace.auditLog.actions.credential.created": "Đã tạo thông tin xác thực",
+ "workspace.auditLog.actions.credential.deleted": "Đã xóa thông tin xác thực",
+ "workspace.auditLog.actions.credential.tested": "Đã kiểm tra thông tin xác thực",
+ "workspace.auditLog.actions.credential.updated": "Đã cập nhật thông tin xác thực",
+ "workspace.auditLog.actions.integration.connected": "Đã kết nối tích hợp",
+ "workspace.auditLog.actions.integration.disabled": "Đã tắt tích hợp",
+ "workspace.auditLog.actions.integration.disconnected": "Đã ngắt kết nối tích hợp",
+ "workspace.auditLog.actions.integration.updated": "Đã cập nhật tích hợp",
+ "workspace.auditLog.actions.invitation.resent": "Đã gửi lại lời mời",
+ "workspace.auditLog.actions.invitation.revoked": "Đã thu hồi lời mời",
+ "workspace.auditLog.actions.market_identity.published": "Đã xuất bản danh tính thị trường",
+ "workspace.auditLog.actions.market_identity.unpublished": "Đã gỡ bỏ danh tính thị trường",
+ "workspace.auditLog.actions.market_identity.updated": "Đã cập nhật danh tính thị trường",
+ "workspace.auditLog.actions.member.demoted_from_owner": "Đã xóa vai trò chủ sở hữu",
+ "workspace.auditLog.actions.member.invited": "Đã mời thành viên",
+ "workspace.auditLog.actions.member.joined": "Thành viên đã tham gia",
+ "workspace.auditLog.actions.member.left": "Thành viên đã rời đi",
+ "workspace.auditLog.actions.member.promoted_to_owner": "Đã thăng cấp thành chủ sở hữu",
+ "workspace.auditLog.actions.member.removed": "Đã xóa thành viên",
+ "workspace.auditLog.actions.member.role_updated": "Đã thay đổi vai trò thành viên",
+ "workspace.auditLog.actions.provider.disabled": "Đã tắt nhà cung cấp",
+ "workspace.auditLog.actions.provider.enabled": "Đã bật nhà cung cấp",
+ "workspace.auditLog.actions.provider.updated": "Đã cập nhật nhà cung cấp",
+ "workspace.auditLog.actions.resource.created": "Đã tạo tài nguyên",
+ "workspace.auditLog.actions.resource.deleted": "Đã xóa tài nguyên",
+ "workspace.auditLog.actions.resource.exported": "Đã xuất tài nguyên",
+ "workspace.auditLog.actions.resource.imported": "Đã nhập tài nguyên",
+ "workspace.auditLog.actions.resource.restored": "Đã khôi phục tài nguyên",
+ "workspace.auditLog.actions.resource.shared": "Đã chia sẻ tài nguyên",
+ "workspace.auditLog.actions.resource.transferred": "Đã chuyển tài nguyên",
+ "workspace.auditLog.actions.resource.unshared": "Đã ngừng chia sẻ tài nguyên",
+ "workspace.auditLog.actions.resource.updated": "Đã cập nhật tài nguyên",
+ "workspace.auditLog.actions.security.policy_updated": "Đã cập nhật chính sách bảo mật",
+ "workspace.auditLog.actions.security.risk_state_updated": "Đã cập nhật trạng thái rủi ro",
+ "workspace.auditLog.actions.subscription.activated": "Đã kích hoạt gói đăng ký",
+ "workspace.auditLog.actions.subscription.cancellation_resumed": "Đã tiếp tục gói đăng ký",
+ "workspace.auditLog.actions.subscription.cancellation_scheduled": "Đã lên lịch hủy gói đăng ký",
+ "workspace.auditLog.actions.subscription.cancelled": "Đã hủy gói đăng ký",
+ "workspace.auditLog.actions.subscription.grace_period_started": "Đã bắt đầu thời gian gia hạn",
+ "workspace.auditLog.actions.subscription.updated": "Đã cập nhật gói đăng ký",
+ "workspace.auditLog.actions.top_up.succeeded": "Nạp tiền thành công",
+ "workspace.auditLog.actions.webhook.created": "Đã tạo webhook",
+ "workspace.auditLog.actions.webhook.deleted": "Đã xóa webhook",
+ "workspace.auditLog.actions.webhook.updated": "Đã cập nhật webhook",
+ "workspace.auditLog.actions.workspace.account_upgraded": "Đã nâng cấp tài khoản không gian làm việc",
+ "workspace.auditLog.actions.workspace.cleanup_triggered": "Đã kích hoạt dọn dẹp không gian làm việc",
+ "workspace.auditLog.actions.workspace.created": "Đã tạo không gian làm việc",
+ "workspace.auditLog.actions.workspace.data_cleared": "Đã xóa dữ liệu không gian làm việc",
+ "workspace.auditLog.actions.workspace.deleted": "Đã xóa không gian làm việc",
+ "workspace.auditLog.actions.workspace.downgraded": "Đã hạ cấp không gian làm việc",
+ "workspace.auditLog.actions.workspace.frozen": "Không gian làm việc đã bị đóng băng",
+ "workspace.auditLog.actions.workspace.primary_ownership_transferred": "Đã chuyển quyền sở hữu chính",
+ "workspace.auditLog.actions.workspace.settings_reset": "Đã đặt lại cài đặt không gian làm việc",
+ "workspace.auditLog.actions.workspace.unfrozen": "Không gian làm việc đã được mở khóa",
+ "workspace.auditLog.actions.workspace.updated": "Đã cập nhật không gian làm việc",
+ "workspace.auditLog.actions.workspace.upgraded": "Đã nâng cấp không gian làm việc",
+ "workspace.auditLog.columns.action": "Hành động",
+ "workspace.auditLog.columns.details": "Chi tiết",
+ "workspace.auditLog.columns.ip": "IP",
+ "workspace.auditLog.columns.operator": "Người thực hiện",
+ "workspace.auditLog.columns.resourceId": "ID tài nguyên",
+ "workspace.auditLog.columns.resourceType": "Loại tài nguyên",
+ "workspace.auditLog.columns.time": "Thời gian",
+ "workspace.auditLog.desc": "Xem lại các hoạt động của thành viên, lời mời, gói đăng ký và thanh toán trong không gian làm việc.",
+ "workspace.auditLog.detail.fields.added": "Đã thêm",
+ "workspace.auditLog.detail.fields.addedByUserId": "Được thêm bởi",
+ "workspace.auditLog.detail.fields.agentIds": "ID tác nhân",
+ "workspace.auditLog.detail.fields.aiModelCount": "Số lượng mô hình AI",
+ "workspace.auditLog.detail.fields.amount": "Số tiền",
+ "workspace.auditLog.detail.fields.apiKeyCount": "Số lượng khóa API",
+ "workspace.auditLog.detail.fields.apiKeyIds": "ID khóa API",
+ "workspace.auditLog.detail.fields.billingInterval": "Chu kỳ thanh toán",
+ "workspace.auditLog.detail.fields.brand": "Thương hiệu thẻ",
+ "workspace.auditLog.detail.fields.budgetId": "ID ngân sách",
+ "workspace.auditLog.detail.fields.chargeAmount": "Số tiền tính phí",
+ "workspace.auditLog.detail.fields.count": "Số lượng",
+ "workspace.auditLog.detail.fields.credentialId": "ID thông tin xác thực",
+ "workspace.auditLog.detail.fields.credentialKey": "Khóa thông tin xác thực",
+ "workspace.auditLog.detail.fields.credentialName": "Tên thông tin xác thực",
+ "workspace.auditLog.detail.fields.credentialType": "Loại thông tin xác thực",
+ "workspace.auditLog.detail.fields.currency": "Tiền tệ",
+ "workspace.auditLog.detail.fields.currentDefaultMaxBudget": "Ngân sách mặc định mới cho thành viên",
+ "workspace.auditLog.detail.fields.currentDefaultPaymentMethodId": "Phương thức thanh toán mặc định mới",
+ "workspace.auditLog.detail.fields.currentEnabled": "Trạng thái bật mới",
+ "workspace.auditLog.detail.fields.currentMaxBudget": "Ngân sách mới cho thành viên",
+ "workspace.auditLog.detail.fields.currentMode": "Chế độ mới",
+ "workspace.auditLog.detail.fields.currentMonthlyLimit": "Giới hạn hàng tháng mới",
+ "workspace.auditLog.detail.fields.currentPermission": "Quyền mới",
+ "workspace.auditLog.detail.fields.currentRole": "Vai trò mới",
+ "workspace.auditLog.detail.fields.currentState": "Trạng thái hiện tại",
+ "workspace.auditLog.detail.fields.currentTargetBalance": "Số dư mục tiêu mới",
+ "workspace.auditLog.detail.fields.currentThreshold": "Ngưỡng mới",
+ "workspace.auditLog.detail.fields.currentVisibility": "Mức độ hiển thị mới",
+ "workspace.auditLog.detail.fields.email": "Email",
+ "workspace.auditLog.detail.fields.failureReason": "Lý do thất bại",
+ "workspace.auditLog.detail.fields.fileHashId": "ID băm tệp",
+ "workspace.auditLog.detail.fields.fileName": "Tên tệp",
+ "workspace.auditLog.detail.fields.groupIds": "ID nhóm",
+ "workspace.auditLog.detail.fields.hasDescriptionUpdate": "Đã cập nhật mô tả",
+ "workspace.auditLog.detail.fields.hasSecretValueUpdate": "Đã cập nhật giá trị bí mật",
+ "workspace.auditLog.detail.fields.includeConversationHistory": "Bao gồm lịch sử hội thoại",
+ "workspace.auditLog.detail.fields.invitationId": "ID lời mời",
+ "workspace.auditLog.detail.fields.last4": "4 chữ số cuối",
+ "workspace.auditLog.detail.fields.memberUserId": "ID người dùng thành viên",
+ "workspace.auditLog.detail.fields.name": "Tên",
+ "workspace.auditLog.detail.fields.newAgentId": "ID tác nhân mới",
+ "workspace.auditLog.detail.fields.newKnowledgeBaseId": "ID cơ sở tri thức mới",
+ "workspace.auditLog.detail.fields.oauthConnectionId": "ID kết nối OAuth",
+ "workspace.auditLog.detail.fields.operation": "Hoạt động",
+ "workspace.auditLog.detail.fields.paymentMethodId": "ID phương thức thanh toán",
+ "workspace.auditLog.detail.fields.plan": "Gói",
+ "workspace.auditLog.detail.fields.previousDefaultMaxBudget": "Ngân sách mặc định trước đó cho thành viên",
+ "workspace.auditLog.detail.fields.previousDefaultPaymentMethodId": "Phương thức thanh toán mặc định trước đó",
+ "workspace.auditLog.detail.fields.previousEnabled": "Trạng thái bật trước đó",
+ "workspace.auditLog.detail.fields.previousMaxBudget": "Ngân sách trước đó cho thành viên",
+ "workspace.auditLog.detail.fields.previousMode": "Chế độ trước đó",
+ "workspace.auditLog.detail.fields.previousMonthlyLimit": "Giới hạn hàng tháng trước đó",
+ "workspace.auditLog.detail.fields.previousPermission": "Quyền trước đó",
+ "workspace.auditLog.detail.fields.previousPlan": "Gói trước đó",
+ "workspace.auditLog.detail.fields.previousRole": "Vai trò trước đó",
+ "workspace.auditLog.detail.fields.previousTargetBalance": "Số dư mục tiêu trước đó",
+ "workspace.auditLog.detail.fields.previousThreshold": "Ngưỡng trước đó",
+ "workspace.auditLog.detail.fields.previousVisibility": "Mức độ hiển thị trước đó",
+ "workspace.auditLog.detail.fields.providerCount": "Số lượng nhà cung cấp",
+ "workspace.auditLog.detail.fields.providerIds": "ID nhà cung cấp",
+ "workspace.auditLog.detail.fields.purchasedSeats": "Số ghế đã mua",
+ "workspace.auditLog.detail.fields.quantity": "Số lượng",
+ "workspace.auditLog.detail.fields.reason": "Lý do",
+ "workspace.auditLog.detail.fields.removed": "Đã xóa",
+ "workspace.auditLog.detail.fields.resourceCounts": "Số lượng tài nguyên",
+ "workspace.auditLog.detail.fields.resourceIds": "Mẫu ID tài nguyên",
+ "workspace.auditLog.detail.fields.role": "Vai trò",
+ "workspace.auditLog.detail.fields.seats": "Số ghế",
+ "workspace.auditLog.detail.fields.skipped": "Đã bỏ qua",
+ "workspace.auditLog.detail.fields.slug": "Slug",
+ "workspace.auditLog.detail.fields.source": "Nguồn",
+ "workspace.auditLog.detail.fields.sourceAgentId": "ID tác nhân nguồn",
+ "workspace.auditLog.detail.fields.sourceAgentIds": "ID tác nhân nguồn",
+ "workspace.auditLog.detail.fields.sourceGroupIds": "ID nhóm nguồn",
+ "workspace.auditLog.detail.fields.sourceKbId": "ID cơ sở tri thức nguồn",
+ "workspace.auditLog.detail.fields.sourcePaymentMethodId": "ID phương thức thanh toán nguồn",
+ "workspace.auditLog.detail.fields.sourceWorkspaceId": "ID không gian làm việc nguồn",
+ "workspace.auditLog.detail.fields.stripeId": "ID Stripe",
+ "workspace.auditLog.detail.fields.stripeInvoiceId": "ID hóa đơn Stripe",
+ "workspace.auditLog.detail.fields.stripePaymentIntentId": "ID ý định thanh toán Stripe",
+ "workspace.auditLog.detail.fields.stripeSessionId": "ID phiên Stripe",
+ "workspace.auditLog.detail.fields.subscriptionId": "ID gói đăng ký",
+ "workspace.auditLog.detail.fields.targetPlan": "Gói mục tiêu",
+ "workspace.auditLog.detail.fields.targetUserId": "ID người dùng mục tiêu",
+ "workspace.auditLog.detail.fields.targetWorkspaceId": "ID không gian làm việc mục tiêu",
+ "workspace.auditLog.detail.fields.triggerRemainingBalance": "Số dư còn lại kích hoạt",
+ "workspace.auditLog.detail.fields.triggerType": "Loại kích hoạt",
+ "workspace.auditLog.detail.fields.unitPrice": "Đơn giá",
+ "workspace.auditLog.detail.fields.updated": "Đã cập nhật",
+ "workspace.auditLog.detail.metadata": "Chi tiết hoạt động",
+ "workspace.auditLog.detail.operationTime": "Thời gian hoạt động",
+ "workspace.auditLog.detail.rawData": "Dữ liệu kiểm toán thô",
+ "workspace.auditLog.detail.summary": "Tóm tắt",
+ "workspace.auditLog.detail.view": "Xem chi tiết",
+ "workspace.auditLog.empty": "Chưa có nhật ký kiểm toán",
+ "workspace.auditLog.filters.allActions": "Tất cả hành động",
+ "workspace.auditLog.filters.allResourceTypes": "Tất cả loại tài nguyên",
+ "workspace.auditLog.filters.endDate": "Ngày kết thúc",
+ "workspace.auditLog.filters.reset": "Đặt lại",
+ "workspace.auditLog.filters.searchPlaceholder": "Tìm kiếm người thực hiện, hành động, tài nguyên hoặc IP",
+ "workspace.auditLog.filters.startDate": "Ngày bắt đầu",
+ "workspace.auditLog.loadFailed": "Không thể tải nhật ký kiểm toán",
+ "workspace.auditLog.loadMore": "Tải thêm",
+ "workspace.auditLog.resourceTypes.agent": "Tác nhân",
+ "workspace.auditLog.resourceTypes.api_key": "Khóa API",
+ "workspace.auditLog.resourceTypes.auto_top_up": "Tự động nạp tiền",
+ "workspace.auditLog.resourceTypes.budget": "Ngân sách",
+ "workspace.auditLog.resourceTypes.credential": "Thông tin xác thực",
+ "workspace.auditLog.resourceTypes.document": "Tài liệu",
+ "workspace.auditLog.resourceTypes.file": "Tệp",
+ "workspace.auditLog.resourceTypes.integration": "Tích hợp",
+ "workspace.auditLog.resourceTypes.invitation": "Lời mời",
+ "workspace.auditLog.resourceTypes.knowledge_base": "Cơ sở tri thức",
+ "workspace.auditLog.resourceTypes.market_identity": "Danh tính thị trường",
+ "workspace.auditLog.resourceTypes.member": "Thành viên",
+ "workspace.auditLog.resourceTypes.member_budget": "Ngân sách thành viên",
+ "workspace.auditLog.resourceTypes.page": "Trang",
+ "workspace.auditLog.resourceTypes.payment_method": "Phương thức thanh toán",
+ "workspace.auditLog.resourceTypes.provider": "Nhà cung cấp",
+ "workspace.auditLog.resourceTypes.security_policy": "Chính sách bảo mật",
+ "workspace.auditLog.resourceTypes.skill": "Kỹ năng",
+ "workspace.auditLog.resourceTypes.subscription": "Gói đăng ký",
+ "workspace.auditLog.resourceTypes.top_up": "Nạp tiền",
+ "workspace.auditLog.resourceTypes.webhook": "Webhook",
+ "workspace.auditLog.resourceTypes.workspace": "Không gian làm việc",
+ "workspace.auditLog.resourceTypes.workspace_data": "Dữ liệu không gian làm việc",
+ "workspace.auditLog.resourceTypes.workspace_freeze": "Đóng băng không gian làm việc",
+ "workspace.auditLog.title": "Nhật ký kiểm toán",
+ "workspace.auditLog.upgrade.benefits.billing.desc": "Giữ các thay đổi về gói đăng ký và phương thức thanh toán trong một bản ghi có thể truy vết.",
+ "workspace.auditLog.upgrade.benefits.billing.title": "Theo dõi thanh toán",
+ "workspace.auditLog.upgrade.benefits.member.desc": "Biết ai đã mời, xóa hoặc thay đổi thành viên trước khi rủi ro lan rộng.",
+ "workspace.auditLog.upgrade.benefits.member.title": "Theo dõi hoạt động thành viên",
+ "workspace.auditLog.upgrade.benefits.permission.desc": "Xem lại các thay đổi về nhà cung cấp, khóa, ngân sách và cài đặt không gian làm việc với ngữ cảnh.",
+ "workspace.auditLog.upgrade.benefits.permission.title": "Xem xét thay đổi quyền",
+ "workspace.auditLog.upgrade.cta": "Nâng cấp lên Business",
+ "workspace.auditLog.upgrade.desc": "Theo dõi hoạt động thành viên, thay đổi quyền, sự kiện thanh toán và chi tiết IP để chủ sở hữu có thể nhanh chóng trả lời ai đã thay đổi gì và khi nào.",
+ "workspace.auditLog.upgrade.title": "Mở khóa nhật ký kiểm toán trước khi vấn đề trở thành sự cố",
"workspace.billing.basicHint": "Không gian làm việc cơ bản · gói chia sẻ hàng tháng",
"workspace.billing.credits.label": "Tín dụng tháng này",
"workspace.billing.freeHint": "Không gian làm việc miễn phí · gói chia sẻ hàng tháng",
@@ -1284,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "Không gian làm việc cơ bản · gói chia sẻ hàng tháng · không có ghế trả phí",
"workspace.billingPage.billing.basic.title": "Không gian làm việc cơ bản",
"workspace.billingPage.billing.basic.upgradeCta": "Nâng cấp lên Pro",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "Điều chỉnh theo tỷ lệ",
"workspace.billingPage.billing.billingPeriodModal.body": "Chu kỳ thanh toán của không gian làm việc của bạn sẽ được thay đổi từ {{current}} sang {{target}}.",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "Hủy",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "Thay đổi chu kỳ thanh toán",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "Tín dụng theo tỷ lệ cho thời gian chưa sử dụng trong kỳ hiện tại",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "Không thể tải bản xem trước giá. Vui lòng thử lại.",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "Thử lại",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "Thay đổi sẽ có hiệu lực sau khi chu kỳ hiện tại kết thúc.",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "Thay đổi sẽ có hiệu lực sau khi chu kỳ hiện tại kết thúc vào ngày {{date}}.",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "Số ghế trong không gian làm việc",
"workspace.billingPage.billing.billingPeriodModal.title": "Thay đổi chu kỳ thanh toán?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "năm",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} ghế · {{credits}} tín dụng / tháng",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} ghế · {{credits}} tín dụng / tháng",
"workspace.billingPage.billing.breakdown.extraSeats": "Ghế bổ sung",
@@ -1382,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "Chuyển sang {{plan}} {{interval}} với {{seats}} ghế vào ngày {{date}}. Hãy giữ số dư tài khoản của bạn đủ.",
"workspace.billingPage.billing.pending.disabledActionTooltip": "Hủy thay đổi đã lên lịch trước khi cập nhật gói đăng ký của bạn.",
"workspace.billingPage.billing.pending.keepPlanCta": "Giữ {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "Giữ {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "Không gian làm việc này hiện có {{currentSeats}} ghế và sẽ thay đổi thành {{seats}} ghế vào ngày {{date}}.",
"workspace.billingPage.billing.pending.seatsDesc": "Thay đổi thành {{seats}} ghế vào ngày {{date}}. Hãy giữ số dư tài khoản của bạn đủ.",
"workspace.billingPage.billing.pending.seatsTitle": "Thay đổi ghế đã lên lịch",
@@ -1412,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "Mua chỗ ngồi",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "Mua thêm chỗ ngồi cho gói {{plan}} {{interval}}.",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "Mua thêm chỗ ngồi?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "Đang tính toán…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "Hủy",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "Bạn sẽ được chuyển đến trang thanh toán để hoàn tất việc thanh toán.",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "Nâng cấp",
@@ -1429,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "Xem hóa đơn",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "Cập nhật số lượng chỗ ngồi của không gian làm việc của bạn đã được lưu.",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "Hoàn tất",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "Chúng tôi không thể hoàn thành cập nhật này. {{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "Thử lại",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "Cập nhật thất bại",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "Mời thành viên",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "Phí chỗ ngồi được tính theo tỷ lệ đã được trừ vào phương thức thanh toán hiện tại của bạn.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "{{amount}} đã được tính · Số tiền trong hóa đơn",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "Kết quả thanh toán",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "Không có khoản thanh toán nào được trừ. Thay đổi được lên lịch cho chu kỳ thanh toán tiếp theo.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "Đã nâng cấp lên {{plan}} · {{interval}}.",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "Đã nâng cấp gói",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "{{seats}} tổng số chỗ ngồi hiện có, bao gồm {{purchasedSeats}} chỗ ngồi bổ sung đã trả trước.",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "Kết quả mua chỗ ngồi",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "{{seats}} tổng số chỗ ngồi sẽ áp dụng trong chu kỳ thanh toán tiếp theo, bao gồm {{purchasedSeats}} chỗ ngồi bổ sung đã trả trước.",
@@ -1646,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "Hiển thị ít hơn",
"workspace.billingPage.usage.model.unknown": "Mô hình không xác định",
"workspace.billingPage.usage.ops": "Hoạt động",
+ "workspace.billingPage.usage.privateAgents": "Tác nhân riêng tư",
+ "workspace.billingPage.usage.privateAgentsTooltip": "Số lượng tác nhân riêng tư thuộc sở hữu của thành viên này. Chủ sở hữu có thể xem số lượng để tính toán, nhưng không thể xem nội dung của tác nhân.",
"workspace.billingPage.usage.range.30d": "30 ngày qua",
"workspace.billingPage.usage.range.all": "Tất cả thời gian",
"workspace.billingPage.usage.range.cycle": "Chu kỳ này",
@@ -1860,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "Tạo tài khoản & tham gia",
"workspace.invitePage.switchAccountToAccept": "Đăng nhập với {{email}} để chấp nhận",
"workspace.invitePage.title": "Lời mời tham gia không gian làm việc",
+ "workspace.invitePage.viewerLimitSubtitle": "Không gian làm việc này đã đạt giới hạn người xem. Hãy yêu cầu chủ sở hữu giải phóng một chỗ ngồi cho người xem hoặc nâng cấp gói trước khi tham gia.",
+ "workspace.invitePage.viewerLimitTitle": "Đã đạt giới hạn người xem",
"workspace.invitePage.workspaceLimitSubtitle": "Bạn đã đạt đến giới hạn tối đa {{limit}} không gian làm việc. Rời khỏi một không gian làm việc trước khi tham gia không gian khác.",
"workspace.invitePage.workspaceLimitTitle": "Đã đạt giới hạn không gian làm việc",
"workspace.member.demote": "Giáng cấp thành thành viên",
@@ -1904,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "Chuyển quyền sở hữu chính",
"workspace.members.empty": "Chưa có thành viên nào",
"workspace.members.invite.addAnother": "Thêm một người khác",
+ "workspace.members.invite.askOwnerToBuySeats": "Yêu cầu chủ sở hữu không gian làm việc mua thêm ghế trước khi mời thành viên mới.",
"workspace.members.invite.button": "Mời",
+ "workspace.members.invite.buySeatsCta": "Mua ghế",
"workspace.members.invite.emailLabel": "Địa chỉ email",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} đã có một lời mời đang chờ xử lý. Gửi lại hoặc thu hồi nó từ danh sách bên dưới.",
"workspace.members.invite.errors.alreadyMember": "{{email}} đã là thành viên của không gian làm việc này.",
"workspace.members.invite.failed": "Không thể gửi lời mời",
+ "workspace.members.invite.invitationLimitReached": "Không gian làm việc này đã đạt giới hạn lời mời đang chờ xử lý là {{limit}}. Hủy hoặc chờ các lời mời không sử dụng hết hạn trước khi gửi lời mời mới.",
"workspace.members.invite.limitReached": "Không gian làm việc này chỉ cho phép tối đa {{limit}} thành viên. Hãy xóa một thành viên trước khi mời thêm.",
"workspace.members.invite.modal.cancel": "Hủy",
"workspace.members.invite.modal.confirm": "Xác nhận",
@@ -1920,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "Cần thêm quyền để quản lý thành viên đội ngũ",
"workspace.members.invite.partialSuccess": "{{success}} đã được mời, {{failed}} không thành công. Kiểm tra địa chỉ và thử lại.",
"workspace.members.invite.roleLabel": "Vai trò",
+ "workspace.members.invite.seatInsufficient": "Chỉ còn {{remaining}} ghế. Mua thêm ghế để mời {{required}} thành viên mới.",
+ "workspace.members.invite.seatInsufficientNoBuy": "Chỉ còn {{remaining}} ghế. Yêu cầu chủ sở hữu không gian làm việc mua thêm ghế.",
"workspace.members.invite.submit": "Mời",
"workspace.members.invite.subtitle": "Thêm thành viên mới bằng cách nhập địa chỉ email của họ và gán vai trò",
"workspace.members.invite.success": "Đã mời thành viên đội ngũ thành công.",
@@ -1998,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "Chọn một vài tác nhân để bắt đầu — khám phá thêm bất cứ lúc nào.",
"workspace.onboarding.step4.cta": "Vào không gian làm việc",
"workspace.onboarding.step4.heading": "{{name}} đã sẵn sàng!",
+ "workspace.onboarding.step4.marketProfileNudge": "Chúng tôi đã thiết lập hồ sơ Cộng đồng cho <strong>{{name}}</strong> để các tác nhân không gian làm việc có thể được cài đặt. <cta>Tùy chỉnh trong Cộng đồng</cta>.",
"workspace.onboarding.step4.subtitle": "Không gian làm việc của bạn đã được thiết lập. Bắt đầu hợp tác với đội nhóm của bạn ngay.",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} đại lý đã sẵn sàng hỗ trợ. Bắt đầu hợp tác với đội nhóm của bạn ngay.",
"workspace.onboarding.step4Invite.addMore": "Thêm email khác",
@@ -2005,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "Hoàn tất",
"workspace.onboarding.step4Invite.heading": "Mời đội nhóm của bạn",
"workspace.onboarding.step4Invite.invitedCount": "Đã mời {{count}} thành viên",
+ "workspace.onboarding.step4Invite.seatLimitReached": "Bạn có thể mời tối đa {{max}} đồng đội với số ghế hiện tại.",
"workspace.onboarding.step4Invite.subtitle": "Đưa đồng đội vào không gian làm việc này ngay bây giờ, hoặc mời họ sau từ cài đặt thành viên.",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "Gói của bạn bao gồm {{includedSeats}} chỗ ngồi miễn phí và hỗ trợ tối đa {{maxSeats}} chỗ ngồi với các chỗ ngồi mua thêm. Mời đồng đội ngay bây giờ, hoặc thêm họ sau từ cài đặt thành viên.",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Gói Miễn phí bao gồm tối đa {{maxSeats}} chỗ ngồi, bao gồm bạn. Mời đồng đội ngay bây giờ, hoặc thêm họ sau từ cài đặt thành viên.",
"workspace.onboarding.stepLabel": "Bước {{current}} trong {{total}}",
"workspace.onboarding.title": "Thiết lập không gian làm việc của bạn",
"workspace.onboarding.toast.failed": "Không thể lưu. Vui lòng thử lại.",
+ "workspace.onboarding.toast.installAgentsFailed": "Không thể thêm các tác nhân đã chọn. Bạn có thể cài đặt chúng sau từ thị trường.",
"workspace.onboarding.toast.saved": "Đã lưu",
"workspace.permission.requiresMember": "Bạn không có quyền thực hiện điều này. Hãy yêu cầu chủ sở hữu không gian làm việc cấp quyền Thành viên hoặc cao hơn.",
"workspace.permission.requiresOwner": "Chỉ chủ sở hữu không gian làm việc mới có thể thực hiện điều này. Hãy yêu cầu chủ sở hữu nếu bạn cần thay đổi.",
@@ -2048,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "Mở khóa cộng tác, tín dụng lớn hơn và giới hạn tốc độ cao hơn.",
"workspace.upgradeModal.successPage.activating": "Đang kích hoạt đăng ký của bạn — thường mất vài giây…",
"workspace.upgradeModal.successPage.amountLabel": "Tổng số tiền đã thanh toán",
- "workspace.upgradeModal.successPage.continueCta": "Mời & tiếp tục",
"workspace.upgradeModal.successPage.desc": "{{name}} hiện đã ở chế độ Pro. Mời đồng đội để bắt đầu cộng tác.",
- "workspace.upgradeModal.successPage.inviteDesc": "Gửi lời mời qua email. Họ sẽ nhận được một liên kết để tham gia không gian làm việc.",
- "workspace.upgradeModal.successPage.inviteTitle": "Mời đồng đội vào {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "Thanh toán tại",
"workspace.upgradeModal.successPage.planTag": "Workspace Pro",
"workspace.upgradeModal.successPage.processingDesc": "Vui lòng chờ — chúng tôi đang xác nhận thanh toán với Stripe. Thường mất vài giây.",
@@ -2061,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "Chu kỳ thanh toán",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} ghế ngồi đã bao gồm",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} ghế ngồi đã bao gồm",
- "workspace.upgradeModal.successPage.skipCta": "Bỏ qua lúc này",
"workspace.upgradeModal.successPage.title": "Nâng cấp hoàn tất",
"workspace.upgradeModal.successToast": "Nâng cấp hoàn tất — đang làm mới kế hoạch của bạn…",
"workspace.upgradeModal.title": "Nâng cấp lên Pro",
@@ -2132,12 +2377,14 @@
"workspace.wizard.step2.features.basic.onDemand": "Sử dụng theo yêu cầu · Tự động nạp tiền (${{price}} / 1M tín dụng)",
"workspace.wizard.step2.features.basic.share": "3 thành viên đầu tiên miễn phí, bao gồm bạn",
"workspace.wizard.step2.features.basic.upgradable": "Nâng cấp bất kỳ lúc nào để có thêm ghế",
+ "workspace.wizard.step2.features.business.auditLog": "Nhật ký kiểm toán",
"workspace.wizard.step2.features.free.members": "Tối đa 3 thành viên, không có ghế trả phí",
"workspace.wizard.step2.features.free.onDemand": "Sử dụng theo yêu cầu · Tự động nạp tiền (${{price}} / 1M tín dụng)",
"workspace.wizard.step2.features.free.share": "3 thành viên đầu tiên miễn phí, bao gồm bạn",
"workspace.wizard.step2.features.free.upgradable": "Nâng cấp bất kỳ lúc nào để có thêm ghế",
"workspace.wizard.step2.features.pro.adminControls": "Quản lý thanh toán, vai trò và nhật ký kiểm tra trung tâm",
"workspace.wizard.step2.features.pro.collaboration": "Mời thành viên · chia sẻ đại lý và tệp",
+ "workspace.wizard.step2.features.pro.memberBudget": "Kiểm soát ngân sách theo thành viên",
"workspace.wizard.step2.features.pro.onDemand": "Sử dụng theo yêu cầu · Tự động nạp tiền (${{price}}/M)",
"workspace.wizard.step2.features.pro.priorityModels": "Mô hình cao cấp ưu tiên",
"workspace.wizard.step2.features.pro.support": "Hỗ trợ email ưu tiên",
@@ -2204,6 +2451,7 @@
"workspaceSetting.storage.danger.reset.title": "Đặt Lại Cài Đặt Không Gian Làm Việc",
"workspaceSetting.storage.telemetry.desc": "Giúp chúng tôi cải thiện {{appName}} với dữ liệu sử dụng không gian làm việc ẩn danh",
"workspaceSetting.storage.telemetry.title": "Gửi Dữ Liệu Sử Dụng Không Gian Làm Việc Ẩn Danh",
+ "workspaceSetting.tab.auditLog": "Nhật ký kiểm toán",
"workspaceSetting.tab.general": "Chung",
"workspaceSetting.tab.members": "Thành viên",
"workspaceSetting.tab.skill": "Kỹ năng"
diff --git a/locales/vi-VN/spend.json b/locales/vi-VN/spend.json
index cad7ce0b36e..b67a4905183 100644
--- a/locales/vi-VN/spend.json
+++ b/locales/vi-VN/spend.json
@@ -40,5 +40,28 @@
"table.more": "Xem chi tiết",
"table.title": "Chi tiết sử dụng tín dụng tính toán",
"table.totalToken.input": "Đầu vào",
- "table.totalToken.output": "Đầu ra"
+ "table.totalToken.output": "Đầu ra",
+ "usageStats.breakdown.cost": "Chi phí",
+ "usageStats.breakdown.model": "Mô hình",
+ "usageStats.breakdown.requests": "Yêu cầu",
+ "usageStats.breakdown.title": "Sử dụng theo mô hình",
+ "usageStats.breakdown.totalTokens": "Token",
+ "usageStats.byDay": "Theo ngày",
+ "usageStats.byWeek": "Theo tuần",
+ "usageStats.cards.cacheDesc": "Tỷ lệ trúng {{rate}}% · Đọc {{read}}",
+ "usageStats.cards.cacheSavings": "Tiết kiệm bộ nhớ đệm",
+ "usageStats.cards.cost": "Chi phí",
+ "usageStats.cards.token": "Token",
+ "usageStats.cards.tokenDesc": "Đầu vào {{input}} · Đầu ra {{output}}",
+ "usageStats.chart.cacheWrite": "Ghi vào bộ nhớ đệm",
+ "usageStats.chart.input": "Đầu vào",
+ "usageStats.chart.output": "Đầu ra",
+ "usageStats.chart.spend": "Chi phí",
+ "usageStats.chart.title": "Khi tác nhân này đã chi tiêu",
+ "usageStats.chart.tokens": "Token",
+ "usageStats.dimension": "Kích thước",
+ "usageStats.entry": "Sử dụng & Chi phí",
+ "usageStats.range": "Khoảng thời gian",
+ "usageStats.rangeSuffix": "{{count}} ngày qua",
+ "usageStats.title": "Sử dụng & Chi phí"
}
diff --git a/locales/vi-VN/topic.json b/locales/vi-VN/topic.json
index 41585fa2fb9..18d06a3bc26 100644
--- a/locales/vi-VN/topic.json
+++ b/locales/vi-VN/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "Mở rộng tất cả nhóm",
"sidebar.title": "Chủ đề",
"taskManager.agent": "Tác vụ Agent",
+ "taskManager.agentSelector.privateGroup": "Riêng tư",
+ "taskManager.agentSelector.workspaceGroup": "Không gian làm việc",
"taskManager.welcome": "Hãy hỏi tôi về các công việc của bạn",
"temp": "Tạm thời",
"title": "Chủ đề"
diff --git a/locales/vi-VN/video.json b/locales/vi-VN/video.json
index 528d0def206..8e282c4daea 100644
--- a/locales/vi-VN/video.json
+++ b/locales/vi-VN/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "Tạo Chủ Đề Mới",
"topic.deleteConfirm": "Xóa chủ đề video",
"topic.deleteConfirmDesc": "Bạn sắp xóa chủ đề video này. Hành động này không thể hoàn tác.",
+ "topic.privateTitle": "Riêng tư",
"topic.title": "Chủ đề video",
- "topic.untitled": "Chủ đề mặc định"
+ "topic.untitled": "Chủ đề mặc định",
+ "topic.visibility.existingLocked": "Chế độ hiển thị đã được cố định cho chủ đề hiện tại. Tạo một chủ đề mới để chọn không gian khác.",
+ "topic.workspaceTitle": "Không gian làm việc"
}
diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.json
index ef19fc0897d..d651b182fb5 100644
--- a/locales/zh-CN/chat.json
+++ b/locales/zh-CN/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "模型",
"active": "活跃",
"addAgentFromMarket": "从市场添加助理",
+ "agent.publishToWorkspace": "发布到工作区",
+ "agent.publishToWorkspaceConfirm": "工作区的其他成员将可以使用该助理,发布后无法再设为私人。",
+ "agent.publishToWorkspaceSuccess": "已发布到工作区",
"agentBuilder.installPlugin.authRequired": "云端 MCP 需要登录后才能继续",
"agentBuilder.installPlugin.cancel": "取消",
"agentBuilder.installPlugin.clickApproveToConnect": "点击「批准」连接并授权此连接器",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "添加描述…",
"createTask.submit": "创建任务",
"createTask.titlePlaceholder": "任务标题",
+ "createTask.visibility.changeFailed": "切换任务可见性失败",
+ "createTask.visibility.helperPrivate": "仅自己可见此任务。",
+ "createTask.visibility.helperWorkspace": "工作区内所有人都可以看到此任务。",
+ "createTask.visibility.label": "可见性",
+ "createTask.visibility.private": "私人",
+ "createTask.visibility.privateAgentDisabled": "私人 Agent 只能执行私人任务,请改用工作区 Agent 或将该任务切回私人。",
+ "createTask.visibility.privateAgentLocked": "私人 Agent 只能执行私人任务。",
+ "createTask.visibility.workspace": "工作区",
"defaultAgent": "自定义助理",
"defaultGroupChat": "群组",
"defaultList": "默认列表",
@@ -377,9 +388,11 @@
"mention.category.agents": "助理",
"mention.category.files": "文件",
"mention.category.members": "成员",
+ "mention.category.privateAgents": "私人",
"mention.category.skills": "技能",
"mention.category.tools": "工具",
"mention.category.topics": "话题",
+ "mention.category.workspaceAgents": "工作区",
"mention.title": "提及成员",
"messageAction.collapse": "收起消息",
"messageAction.continueGeneration": "继续生成",
@@ -401,12 +414,15 @@
"messageForward.deleteConfirm.title": "删除消息",
"messageForward.empty": "请至少选择一条消息进行转发",
"messageForward.modal.empty": "没有可转发的其他智能体",
+ "messageForward.modal.moreMessages": "还有 +{{count}} 条消息",
"messageForward.modal.noRecipients": "从左侧选择要转发到的智能体",
"messageForward.modal.notePlaceholder": "附加信息(可选),将随转发内容一起发送",
"messageForward.modal.recipients": "发送给({{count}})",
+ "messageForward.modal.removeRecipient": "移除收件人",
"messageForward.modal.searchPlaceholder": "搜索智能体…",
"messageForward.modal.sendCount": "转发({{count}})",
"messageForward.modal.title": "转发给智能体",
+ "messageForward.role.agent": "客服",
"messageForward.role.assistant": "助手",
"messageForward.role.user": "用户",
"messageForward.success": "已转发给 {{title}}",
@@ -541,6 +557,17 @@
"rag.userQuery.actions.delete": "删除 Query 重写",
"rag.userQuery.actions.regenerate": "重新生成 Query",
"regenerate": "重新生成",
+ "resources.knowledgePicker.publicAgentHint": "公共 Agent 仅可关联工作区资源。要挂载私人内容,请先在资源库中「发布到工作区」。",
+ "resources.mode.privateHint": "只有您自己能看到的抽屉",
+ "resources.mode.workspaceHint": "与工作区成员共享",
+ "resources.publishToWorkspace.confirm": "工作区的其他成员将可以看到该文件,发布后无法再设为私人。",
+ "resources.publishToWorkspace.error": "发布文件到工作区失败",
+ "resources.publishToWorkspace.menu": "发布到工作区",
+ "resources.publishToWorkspace.success": "已发布到工作区",
+ "resources.visibility.label": "可见性",
+ "resources.visibility.private": "私人",
+ "resources.visibility.privateTooltip": "仅您可见",
+ "resources.visibility.workspace": "工作区",
"roleAndArchive": "助理档案与记录",
"runtimeEnv.mode.cloud": "云端沙箱",
"runtimeEnv.mode.cloudDesc": "在安全的云端沙箱中运行",
@@ -587,6 +614,9 @@
"sessionGroup.noAvailableAgents": "暂无可用助理",
"sessionGroup.noMatchingAgents": "未找到匹配的助理",
"sessionGroup.noSelectedAgents": "请选择助理",
+ "sessionGroup.publishToWorkspace": "发布到工作区",
+ "sessionGroup.publishToWorkspaceConfirm": "工作区的其他成员将可以使用该分类,发布后无法再设为私人。",
+ "sessionGroup.publishToWorkspaceSuccess": "已发布到工作区",
"sessionGroup.rename": "重命名分类",
"sessionGroup.renameSuccess": "重命名成功",
"sessionGroup.searchAgents": "搜索助理",
@@ -758,6 +788,12 @@
"taskDetail.priority.normal": "普通",
"taskDetail.priority.urgent": "紧急",
"taskDetail.properties": "属性",
+ "taskDetail.publishToWorkspace.confirmContent": "发布后所有工作区成员(包括您)都可以看到此任务,且无法转回私人。",
+ "taskDetail.publishToWorkspace.confirmHint": "历史运行仍保持私密,只有发布后新产生的运行对工作区成员可见。",
+ "taskDetail.publishToWorkspace.confirmOk": "发布",
+ "taskDetail.publishToWorkspace.confirmTitle": "将任务发布到工作区?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "此任务当前的执行者是私人 Agent。请先将执行者换成工作区 Agent,或先发布 Agent。",
+ "taskDetail.publishToWorkspace.menuLabel": "发布到工作区",
"taskDetail.reassignDisabled": "任务运行中,无法切换 Agent",
"taskDetail.replyInThread": "在此对话中回复",
"taskDetail.replyPlaceholder": "在此对话中回复…",
@@ -868,6 +904,8 @@
"taskList.view.board": "看板",
"taskList.view.list": "列表",
"taskList.viewAll": "查看全部",
+ "taskList.visibility.all": "全部",
+ "taskList.visibility.label": "可见性",
"taskSchedule.advancedSettings": "高级设置",
"taskSchedule.clear": "清除",
"taskSchedule.continuous": "持续运行",
@@ -1285,6 +1323,5 @@
"workingPanel.skills.title": "技能",
"workingPanel.space": "空间",
"workingPanel.title": "工作面板",
- "you": "你",
- "zenMode": "专注模式"
+ "you": "你"
}
diff --git a/locales/zh-CN/common.json b/locales/zh-CN/common.json
index 530d3a0ce15..47d4876afd4 100644
--- a/locales/zh-CN/common.json
+++ b/locales/zh-CN/common.json
@@ -1,5 +1,6 @@
{
"about": "关于",
+ "addNew": "新建",
"advanceSettings": "高级设置",
"agentOnboardingPromo.actionLabel": "立即体验",
"agentOnboardingPromo.description": "与 Lobe AI 快速聊几句,即可设置你的助理团队。你现有的助理不会受到影响。",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "内容政策检查未通过。请修改您的提示。",
"getDesktopApp": "获取桌面应用",
"goToTarget": "前往目标",
+ "gotIt": "知道了",
"historyRange": "历史范围",
"home.suggestQuestions": "试试这些示例",
"import": "导入",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "下移",
"navPanel.moveUp": "上移",
"navPanel.pinned": "已固定",
+ "navPanel.privateAgents": "私人",
+ "navPanel.publicAgents": "工作区",
"navPanel.resetDefault": "恢复默认",
"navPanel.searchAgent": "搜索助理…",
"navPanel.searchRecent": "搜索最近…",
diff --git a/locales/zh-CN/discover.json b/locales/zh-CN/discover.json
index 40b6daf2d9c..2f96f0de201 100644
--- a/locales/zh-CN/discover.json
+++ b/locales/zh-CN/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "派生",
"fork.forksCount": "{{count}} 个派生",
"fork.forksCount_other": "{{count}} 个派生",
+ "fork.orgSetupRequired.memberContent": "当前工作区还未配置社区资料,无法把社区派生的助理保存到工作区。请联系工作区所有者到「社区 → 工作区」配置一次。",
+ "fork.orgSetupRequired.ownerContent": "当前工作区还未配置社区资料。配置后即可把社区的助理派生到工作区里使用。",
+ "fork.orgSetupRequired.ownerOk": "前往配置",
+ "fork.orgSetupRequired.title": "需要先配置社区资料",
"fork.success": "派生成功!",
"fork.viewAllForks": "查看所有派生版本",
+ "fork.visibilityPrivate": "私人",
+ "fork.visibilityPublic": "工作区",
"groupAgents.tag": "群组",
"groupAgents.underReview": "审核中",
"home.communityAgents": "社区助理",
diff --git a/locales/zh-CN/file.json b/locales/zh-CN/file.json
index 739fa0c5998..644f1a3e66d 100644
--- a/locales/zh-CN/file.json
+++ b/locales/zh-CN/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "转移库",
"library.list.transferTo": "转移到…",
"library.new": "新建资源库",
+ "library.privateEmpty": "创建私人资源库",
+ "library.publish": "发布到工作区",
+ "library.publishConfirm.content": "发布后此知识库将对所有工作区成员可见,且无法撤回。",
+ "library.publishConfirm.title": "发布知识库到工作区?",
"library.title": "库",
+ "library.workspaceEmpty": "创建工作区资源库",
"loadMore": "加载更多",
"menu.allFiles": "全部文件",
"menu.allPages": "全部文稿",
@@ -170,6 +175,13 @@
"pageList.noResults": "未找到匹配的文稿",
"pageList.pageCount": "共 {{count}} 个文稿",
"pageList.pageSizeItem": "{{count}} 个条目",
+ "pageList.privateTitle": "私人",
+ "pageList.publishConfirm.content": "发布后,工作区里的所有成员都能看到这份文稿,之后不能再改回私人。",
+ "pageList.publishConfirm.ok": "发布",
+ "pageList.publishConfirm.title": "发布到工作区",
+ "pageList.publishError": "发布失败,请稍后再试",
+ "pageList.publishSuccess": "已发布到工作区",
+ "pageList.publishToWorkspace": "发布到工作区",
"pageList.title": "文稿",
"pageList.transferConfirm": "转移",
"pageList.transferDescription": "将此页面(及其包含的任何文件夹)移动到另一个工作区。",
@@ -179,6 +191,7 @@
"pageList.transferTo": "转移到…",
"pageList.transferWarning": "这是单向移动;恢复需要另一次转移。",
"pageList.untitled": "无标题",
+ "pageList.workspaceTitle": "工作区",
"portal.openInPageEditor": "在文稿中编辑",
"preview.downloadFile": "下载文件",
"preview.unsupportedFileAndContact": "此文件格式暂不支持在线预览,如有预览诉求,欢迎<1>反馈给我们</1>",
diff --git a/locales/zh-CN/image.json b/locales/zh-CN/image.json
index d1bca99fcff..8ced0f87001 100644
--- a/locales/zh-CN/image.json
+++ b/locales/zh-CN/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "删除生成主题",
"topic.deleteConfirmDesc": "确认删除该生成主题吗?删除后无法恢复",
"topic.empty": "暂无生成主题",
+ "topic.privateTitle": "私人",
"topic.title": "图片主题",
- "topic.untitled": "默认主题"
+ "topic.untitled": "默认主题",
+ "topic.visibility.existingLocked": "当前主题的可见性已固定。创建新主题后可选择不同空间。",
+ "topic.workspaceTitle": "工作区"
}
diff --git a/locales/zh-CN/models.json b/locales/zh-CN/models.json
index a47b2d493f2..88707b9a0b5 100644
--- a/locales/zh-CN/models.json
+++ b/locales/zh-CN/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turbo是为代理场景深度优化的基础模型。从训练阶段起就针对代理任务的核心需求进行了优化,增强了工具调用、指令遵循和长链执行等关键能力,非常适合构建高性能代理助手。",
"glm-5.1.description": "GLM-5.1 是智谱最新的旗舰模型,在整体能力与编程能力方面对齐 Claude Opus 4.6。它在长周期任务中表现卓越,能够在单个任务中自主规划、执行并持续迭代长达 8 小时,是构建自主智能体和长周期编程智能体的理想基础。",
"glm-5.2.description": "GLM系列是智谱AI为代理任务打造的混合推理模型,具备思考模式和非思考模式。GLM-5.2是智谱在长周期任务时代的旗舰模型,支持1M令牌上下文,优化用于长周期规划、复杂编码和代理执行。",
+ "glm-5.2.description": "GLM系列是智谱AI为智能代理打造的混合推理模型,具备思考模式和非思考模式。GLM-5.2是智谱在长周期任务时代的旗舰模型,支持1百万个Token的上下文,并针对长周期规划、复杂编程和代理执行进行了优化。",
"glm-5.description": "GLM-5 是智谱面向智能体工程设计的下一代旗舰基础模型。它在复杂系统工程和长周期智能体任务中提供可靠的生产力。在代码生成和智能体能力方面,GLM-5 在开源模型中实现了最先进的性能。在真实编程场景中,其用户体验接近 Claude Opus 4.5。它在复杂系统工程和长周期智能体任务中表现卓越,是通用智能体助手的理想基础模型。",
"glm-5v-turbo.description": "GLM-5V-Turbo是智谱推出的多模态编码基础模型,专为视觉编程任务设计。它原生支持图像、视频、文本和文件处理,并针对长时间规划、复杂编码和多模态工作流中的代理执行进行了优化。",
"glm-image.description": "GLM-Image 是智谱推出的新一代旗舰图像生成模型。该模型基于国产芯片进行端到端训练,采用原创的混合架构,将自回归建模与扩散解码器相结合。这种设计既能实现强大的全局指令理解,又能呈现细腻的局部细节,克服了生成知识密集型内容(如海报、演示文稿和教育图表)中的长期挑战。它代表了向新一代“认知生成”技术范式(以 Nano Banana Pro 为例)的重要探索。",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6 是 Moonshot AI 推出的大型语言模型,具有出色的编程和工具调用能力。仅支持在中国大陆部署服务。",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed 是 Kimi K2.7 Code 的高速版本。与 Kimi K2.7 Code 为同一模型,但输出速度约为 180 Tokens/s,短上下文场景下可达 260 Tokens/s,带来更极致的编程体验。",
"kimi-k2.7-code.description": "Kimi K2.7 Code是Moonshot AI基于Kimi K2.6构建的专注于编码的代理模型,在实际长周期编码任务中有显著改进,并减少了约30%的思考令牌使用量。",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code是Moonshot AI基于Kimi K2.6开发的专注于编程的智能代理模型,在实际长周期编程任务上有显著提升,同时思考Token使用量减少约30%。",
"kling/kling-v3-image-generation.description": "支持最多10张参考图像,允许锁定主体、元素和色调以确保风格一致。结合风格迁移、肖像/角色参考、多图像融合和局部修复,提供灵活控制。呈现逼真的肖像细节,整体视觉精致且层次丰富,具有电影级色彩和氛围。",
"kling/kling-v3-omni-image-generation.description": "通过新系列图像生成和直接2K/4K输出解锁电影叙事视觉效果。深入分析提示中的视听元素,精确执行创意指令。支持灵活的多参考输入和全面的质量升级,非常适合分镜、叙事概念艺术和场景设计。",
"kling/kling-v3-omni-video-generation.description": "全新“全参考”功能支持3-8秒视频或多张图像锚定角色元素。可匹配原始音频和唇部动作,实现真实的角色表现。增强视频一致性和动态表达。支持视听同步和智能分镜。",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "Kimi 视觉模型(包括 moonshot-v1-8k-vision-preview、moonshot-v1-32k-vision-preview、moonshot-v1-128k-vision-preview)可理解图像内容,如文字、颜色和物体形状。",
"moonshot-v1-8k.description": "Moonshot V1 8K 针对短文本生成进行了优化,性能高效,支持 8,192 个 token,适用于短对话、笔记和快速内容生成。",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code是Moonshot AI为编码任务设计的代理模型。基于Kimi K2.6构建,在实际长周期编码任务中表现出显著改进,增强了复杂软件工程工作流中的端到端任务完成能力,同时相比Kimi K2.6减少了约30%的思考令牌使用量。",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code是Moonshot AI设计的专注于代码任务的智能代理模型。基于Kimi K2.6开发,该模型在实际长周期编程任务中表现出显著提升,增强了复杂软件工程工作流中的端到端任务完成能力,同时相比Kimi K2.6减少了约30%的思考Token使用量。",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 是 Kimi 系列中的指令微调版本,适用于高质量代码生成和工具使用。",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 是一次更新,扩展了上下文和推理能力,并进行了编程优化。",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo 是 Kimi K2 Thinking 的高速版本,在保持深度推理能力的同时显著降低延迟。",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air 是一款面向智能体应用的基础模型,采用专家混合架构,优化用于工具使用、网页浏览、软件工程和前端编程,并可与 Claude Code 和 Roo Code 等代码智能体集成。采用混合推理,兼顾复杂推理与日常任务。",
"zai-org/GLM-4.5V.description": "GLM-4.5V 是智谱 AI 最新的多模态语言模型,基于 GLM-4.5-Air 旗舰文本模型(总参数 106B,激活参数 12B),采用 MoE 架构,在成本更低的同时保持强大性能。继承 GLM-4.1V-Thinking 路线,加入 3D-RoPE 提升三维空间推理能力。通过预训练、SFT 和 RL 优化,支持图像、视频和长文档,在 41 个公开多模态基准中排名领先。提供“思考模式”切换,平衡速度与深度。",
"zai-org/GLM-5.2.description": "GLM-5.2是Z.ai为长周期任务场景设计的最新旗舰模型,相比GLM-5.1在长周期任务能力上有显著提升。该模型为753B MoE模型,支持稳定的1M令牌上下文窗口,具备更强的编程能力,并支持多种思考努力级别,在性能与延迟之间实现灵活平衡。",
+ "zai-org/GLM-5.2.description": "GLM-5.2是Z.ai最新的旗舰模型,专为长周期任务场景设计,与GLM-5.1相比在长周期任务能力上有显著提升。该模型采用753B MoE架构,支持稳定的1百万Token上下文窗口,具备更强的编程能力,并支持多种思考努力级别,实现性能与延迟之间的灵活平衡。",
"zai/glm-4.5-air.description": "GLM-4.5 和 GLM-4.5-Air 是我们面向智能体应用的最新旗舰模型,均采用 MoE 架构。GLM-4.5 总参数 355B,每次前向激活 32B;GLM-4.5-Air 更轻量,总参数 106B,激活参数 12B。",
"zai/glm-4.5.description": "GLM-4.5 系列专为智能体设计,旗舰版 GLM-4.5 结合推理、编程和智能体能力,总参数 355B(激活 32B),提供双模式混合推理系统。",
"zai/glm-4.5v.description": "GLM-4.5V 基于 GLM-4.5-Air 构建,继承 GLM-4.1V-Thinking 的成熟技术,采用强大的 106B 参数 MoE 架构扩展能力。",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 2b21965ca45..5f492811539 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -1507,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "基础工作区 · 共享月度额度 · 无付费席位",
"workspace.billingPage.billing.basic.title": "基础工作区",
"workspace.billingPage.billing.basic.upgradeCta": "升级到专业版",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "按比例调整",
"workspace.billingPage.billing.billingPeriodModal.body": "您的工作区的计费周期将从{{current}}更改为{{target}}。",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "取消",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "更改计费周期",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "原计费周期剩余时间按比例折算的额度",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "无法加载价格预览,请重试。",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "重试",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "更改将在当前周期结束后生效。",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "更改将在当前周期于 {{date}} 结束后生效。",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "工作区席位",
"workspace.billingPage.billing.billingPeriodModal.title": "是否更改计费周期?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "年",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} 个席位 · {{credits}} 积分/月",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} 个席位 · {{credits}} 积分/月",
"workspace.billingPage.billing.breakdown.extraSeats": "额外席位",
@@ -1605,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "将于 {{date}} 切换为{{plan}}{{interval}},{{seats}} 个席位。请保持账户余额充足。",
"workspace.billingPage.billing.pending.disabledActionTooltip": "请先取消待生效变更,才能调整席位或更新订阅。",
"workspace.billingPage.billing.pending.keepPlanCta": "保留 {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "保留 {{plan}}{{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "当前工作区共有 {{currentSeats}} 个席位,将于 {{date}} 调整为 {{seats}} 个席位。",
"workspace.billingPage.billing.pending.seatsDesc": "将于 {{date}} 调整为 {{seats}} 个席位。请保持账户余额充足。",
"workspace.billingPage.billing.pending.seatsTitle": "席位变更已排期",
@@ -1635,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "应用更改",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "调整{{plan}}{{interval}}计划的预购席位。",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "调整席位",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "计算中…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "取消",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "您将被重定向到结账页面以完成付款。",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "升级",
@@ -1652,10 +1660,16 @@
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "查看账单",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "席位变更已保存。",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "完成",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "更新未能完成。{{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "重试",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "更新失败",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "邀请成员",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "已按比例收费 · 金额见账单",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "已扣款 {{amount}} · 金额见账单",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "付款",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "本次不收费 · 下周期生效",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "当前套餐已升级至 {{plan}} · {{interval}}。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "套餐已升级",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "本次购买 {{changedSeats}} 席 · 购买后共 {{seats}} 席",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "席位",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "本次减少 {{changedSeats}} 席 · 下周期共 {{seats}} 席",
@@ -1869,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "显示更少",
"workspace.billingPage.usage.model.unknown": "未知模型",
"workspace.billingPage.usage.ops": "操作",
+ "workspace.billingPage.usage.privateAgents": "私人助理",
+ "workspace.billingPage.usage.privateAgentsTooltip": "该成员创建的私人助理数量。所有者可看到数量用于核算,但看不到助理内容。",
"workspace.billingPage.usage.range.30d": "过去 30 天",
"workspace.billingPage.usage.range.all": "所有时间",
"workspace.billingPage.usage.range.cycle": "本周期",
@@ -2083,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "创建账户并加入",
"workspace.invitePage.switchAccountToAccept": "登录为 {{email}} 以接受",
"workspace.invitePage.title": "工作区邀请",
+ "workspace.invitePage.viewerLimitSubtitle": "该工作区的只读成员数量已达上限。请联系所有者释放只读席位或升级套餐后再加入。",
+ "workspace.invitePage.viewerLimitTitle": "只读成员数量已达上限",
"workspace.invitePage.workspaceLimitSubtitle": "您已达到 {{limit}} 个工作区的最大限制。请离开一个工作区后再加入另一个。",
"workspace.invitePage.workspaceLimitTitle": "工作区限制已达",
"workspace.member.demote": "降级为成员",
@@ -2127,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "转移主要所有权",
"workspace.members.empty": "尚无成员",
"workspace.members.invite.addAnother": "添加另一个",
+ "workspace.members.invite.askOwnerToBuySeats": "请联系工作区所有者购买更多席位后再邀请新成员。",
"workspace.members.invite.button": "邀请",
+ "workspace.members.invite.buySeatsCta": "购买席位",
"workspace.members.invite.emailLabel": "电子邮件地址",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} 已有待处理邀请。请从下方列表重新发送或撤销。",
"workspace.members.invite.errors.alreadyMember": "{{email}} 已是此工作区的成员。",
"workspace.members.invite.failed": "发送邀请失败",
+ "workspace.members.invite.invitationLimitReached": "此工作区的待处理邀请数已达上限 {{limit}}。请撤销现有邀请或等待其过期后再发送新的邀请。",
"workspace.members.invite.limitReached": "此工作区最多可有 {{limit}} 名成员。请移除一名成员后再邀请更多。",
"workspace.members.invite.modal.cancel": "取消",
"workspace.members.invite.modal.confirm": "确认",
@@ -2143,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "需要额外权限才能管理团队成员",
"workspace.members.invite.partialSuccess": "{{success}} 已邀请,{{failed}} 失败。请检查地址并重试。",
"workspace.members.invite.roleLabel": "角色",
+ "workspace.members.invite.seatInsufficient": "仅剩 {{remaining}} 个席位。请购买更多席位以邀请 {{required}} 名新成员。",
+ "workspace.members.invite.seatInsufficientNoBuy": "仅剩 {{remaining}} 个席位。请联系工作区所有者购买更多席位。",
"workspace.members.invite.submit": "邀请",
"workspace.members.invite.subtitle": "通过输入电子邮件地址并分配角色添加新成员",
"workspace.members.invite.success": "团队成员已成功邀请。",
@@ -2221,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "选择几个开始——随时发现更多。",
"workspace.onboarding.step4.cta": "进入工作区",
"workspace.onboarding.step4.heading": "{{name}} 准备就绪!",
+ "workspace.onboarding.step4.marketProfileNudge": "已为 <strong>{{name}}</strong> 自动创建社区档案,工作区代理才能正常安装。<cta>前往 Community 自定义</cta>。",
"workspace.onboarding.step4.subtitle": "工作区已经搭建完成,立刻进入和团队一起开始协作吧。",
"workspace.onboarding.step4.subtitleWithAgents": "已有 {{count}} 位智能体准备就绪,立刻进入和团队一起开始协作吧。",
"workspace.onboarding.step4Invite.addMore": "添加另一个邮箱",
@@ -2228,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "完成",
"workspace.onboarding.step4Invite.heading": "邀请您的团队",
"workspace.onboarding.step4Invite.invitedCount": "已邀请 {{count}} 位成员",
- "workspace.onboarding.step4Invite.subtitle": "现在将团队成员带入此工作区,或者稍后从成员设置中邀请他们。",
- "workspace.onboarding.step4Invite.subtitleWithExtraSeats": "您的计划包含 {{includedSeats}} 个免费席位,并支持通过购买额外席位最多 {{maxSeats}} 个席位。现在邀请团队成员,或者稍后从成员设置中添加他们。",
- "workspace.onboarding.step4Invite.subtitleWithLimit": "免费计划最多支持 {{maxSeats}} 个席位(包括您)。现在邀请团队成员,或者稍后从成员设置中添加他们。",
+ "workspace.onboarding.step4Invite.seatLimitReached": "已达邀请上限:当前最多可邀请 {{max}} 位成员。",
+ "workspace.onboarding.step4Invite.subtitle": "现在邀请成员加入工作区,或稍后在成员设置中添加。",
+ "workspace.onboarding.step4Invite.subtitleWithExtraSeats": "套餐含 {{includedSeats}} 个免费席位,加购后最多扩展至 {{maxSeats}} 个席位。可现在邀请,或稍后在成员设置中添加。",
+ "workspace.onboarding.step4Invite.subtitleWithLimit": "免费套餐最多支持 {{maxSeats}} 个席位(包括您)。可现在邀请,或稍后在成员设置中添加。",
"workspace.onboarding.stepLabel": "步骤 {{current}} / {{total}}",
"workspace.onboarding.title": "设置您的工作区",
"workspace.onboarding.toast.failed": "无法保存。请重试。",
+ "workspace.onboarding.toast.installAgentsFailed": "未能添加所选代理,您可以稍后到市集中再装一次。",
"workspace.onboarding.toast.saved": "已保存",
"workspace.permission.requiresMember": "您没有权限执行此操作。请请求工作区所有者授予您成员或更高权限。",
"workspace.permission.requiresOwner": "只有工作区所有者可以执行此操作。如果需要更改,请请求所有者。",
@@ -2271,10 +2297,7 @@
"workspace.upgradeModal.subtitle": "解锁协作、更大的积分和更高的速率限制。",
"workspace.upgradeModal.successPage.activating": "正在激活您的订阅——通常需要几秒钟…",
"workspace.upgradeModal.successPage.amountLabel": "支付总额",
- "workspace.upgradeModal.successPage.continueCta": "邀请并继续",
- "workspace.upgradeModal.successPage.desc": "{{name}} 现已升级为专业版。邀请团队成员开始协作。",
- "workspace.upgradeModal.successPage.inviteDesc": "通过电子邮件发送邀请。他们将收到一个链接以加入工作区。",
- "workspace.upgradeModal.successPage.inviteTitle": "邀请团队成员加入 {{name}}",
+ "workspace.upgradeModal.successPage.desc": "{{name}} 现已升级为专业版。",
"workspace.upgradeModal.successPage.paidAtLabel": "支付时间",
"workspace.upgradeModal.successPage.planTag": "工作区专业版",
"workspace.upgradeModal.successPage.processingDesc": "稍等片刻——我们正在与 Stripe 确认付款。通常需要几秒钟。",
@@ -2284,7 +2307,6 @@
"workspace.upgradeModal.successPage.recurringLabel": "计费周期",
"workspace.upgradeModal.successPage.seatsSummary": "已包含 {{count}} 个席位",
"workspace.upgradeModal.successPage.seatsSummary_other": "已包含 {{count}} 个席位",
- "workspace.upgradeModal.successPage.skipCta": "暂时跳过",
"workspace.upgradeModal.successPage.title": "升级完成",
"workspace.upgradeModal.successToast": "升级完成——正在刷新您的计划…",
"workspace.upgradeModal.title": "升级工作区",
diff --git a/locales/zh-CN/topic.json b/locales/zh-CN/topic.json
index 38cbf734dc0..9735876d6dc 100644
--- a/locales/zh-CN/topic.json
+++ b/locales/zh-CN/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "展开所有分组",
"sidebar.title": "话题",
"taskManager.agent": "任务助手",
+ "taskManager.agentSelector.privateGroup": "私人",
+ "taskManager.agentSelector.workspaceGroup": "工作区",
"taskManager.welcome": "问我关于你的任务",
"temp": "临时",
"title": "话题"
diff --git a/locales/zh-CN/video.json b/locales/zh-CN/video.json
index f7d227930b4..ed638e9b5c7 100644
--- a/locales/zh-CN/video.json
+++ b/locales/zh-CN/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "创作新主题",
"topic.deleteConfirm": "删除视频主题",
"topic.deleteConfirmDesc": "你即将删除该视频主题,此操作无法撤销。",
+ "topic.privateTitle": "私人",
"topic.title": "视频主题",
- "topic.untitled": "默认主题"
+ "topic.untitled": "默认主题",
+ "topic.visibility.existingLocked": "当前主题的可见性已固定。创建新主题后可选择不同空间。",
+ "topic.workspaceTitle": "工作区"
}
diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.json
index f41d20cc8bd..c8af96ce397 100644
--- a/locales/zh-TW/chat.json
+++ b/locales/zh-TW/chat.json
@@ -2,6 +2,9 @@
"ModelSwitch.title": "模型",
"active": "活躍",
"addAgentFromMarket": "從市場添加",
+ "agent.publishToWorkspace": "發佈到工作區",
+ "agent.publishToWorkspaceConfirm": "其他工作區成員將能使用此代理。您將無法再將其設為私人。",
+ "agent.publishToWorkspaceSuccess": "已發佈到工作區",
"agentBuilder.installPlugin.authRequired": "雲端 MCP 外掛需要登入驗證",
"agentBuilder.installPlugin.cancel": "取消",
"agentBuilder.installPlugin.clickApproveToConnect": "點擊「批准」以連接並授權此整合",
@@ -154,6 +157,14 @@
"createTask.instructionPlaceholder": "新增描述...",
"createTask.submit": "建立任務",
"createTask.titlePlaceholder": "任務標題",
+ "createTask.visibility.changeFailed": "無法更改任務可見性",
+ "createTask.visibility.helperPrivate": "只有您可以看到此任務。",
+ "createTask.visibility.helperWorkspace": "此工作區中的所有人都可以看到此任務。",
+ "createTask.visibility.label": "可見性",
+ "createTask.visibility.private": "私人",
+ "createTask.visibility.privateAgentDisabled": "私人代理僅能執行私人任務。請選擇一個工作區代理或將此任務設為私人。",
+ "createTask.visibility.privateAgentLocked": "私人代理僅能執行私人任務。",
+ "createTask.visibility.workspace": "工作區",
"defaultAgent": "自定義助手",
"defaultGroupChat": "群組",
"defaultList": "預設清單",
@@ -328,10 +339,12 @@
"input.inputCompletionError.title": "輸入建議已暫停",
"input.modelUnavailable": "目前的模型已不再可用。請選擇其他模型以繼續。",
"input.more": "更多",
+ "input.sandboxModeNotice": "正在臨時雲端沙盒中運行。本地運行速度更快,並且可以訪問您的文件。",
"input.send": "發送",
"input.sendWithCmdEnter": "按 <key/> 鍵發送",
"input.sendWithEnter": "按 <key/> 鍵發送",
"input.stop": "停止",
+ "input.switchToLocal": "使用本地機器",
"input.warp": "換行",
"input.warpWithKey": "按 <key/> 鍵換行",
"inputQueue.delete": "刪除",
@@ -373,10 +386,13 @@
"memory.on.title": "啟用記憶",
"memory.title": "記憶",
"mention.category.agents": "代理",
+ "mention.category.files": "文件",
"mention.category.members": "成員",
+ "mention.category.privateAgents": "私人",
"mention.category.skills": "技能",
"mention.category.tools": "工具",
"mention.category.topics": "主題",
+ "mention.category.workspaceAgents": "工作區",
"mention.title": "提及成員",
"messageAction.collapse": "收起訊息",
"messageAction.continueGeneration": "繼續生成",
@@ -398,12 +414,15 @@
"messageForward.deleteConfirm.title": "刪除消息",
"messageForward.empty": "至少選擇一條消息進行轉發",
"messageForward.modal.empty": "沒有其他可用代理",
+ "messageForward.modal.moreMessages": "還有 +{{count}} 條消息",
"messageForward.modal.noRecipients": "在左側選擇代理以進行轉發",
"messageForward.modal.notePlaceholder": "添加備註(可選)——將與消息一起發送",
"messageForward.modal.recipients": "發送至({{count}})",
+ "messageForward.modal.removeRecipient": "移除接收者",
"messageForward.modal.searchPlaceholder": "搜索代理…",
"messageForward.modal.sendCount": "轉發({{count}})",
"messageForward.modal.title": "轉發至代理",
+ "messageForward.role.agent": "代理",
"messageForward.role.assistant": "助理",
"messageForward.role.user": "用戶",
"messageForward.success": "已轉發至 {{title}}",
@@ -538,6 +557,17 @@
"rag.userQuery.actions.delete": "刪除 Query 重寫",
"rag.userQuery.actions.regenerate": "重新生成 Query",
"regenerate": "重新生成",
+ "resources.knowledgePicker.publicAgentHint": "公共代理僅能引用工作區資源。如果您想附加資源,請先將私人資源發佈到工作區。",
+ "resources.mode.privateHint": "您的個人抽屜 — 只有您可以看到這些文件",
+ "resources.mode.workspaceHint": "與此工作區中的所有人共享",
+ "resources.publishToWorkspace.confirm": "其他工作區成員將能看到此文件。您將無法再將其設為私人。",
+ "resources.publishToWorkspace.error": "無法將文件發佈到工作區",
+ "resources.publishToWorkspace.menu": "發佈到工作區",
+ "resources.publishToWorkspace.success": "已發佈到工作區",
+ "resources.visibility.label": "可見性",
+ "resources.visibility.private": "私人",
+ "resources.visibility.privateTooltip": "只有您可以看到此文件",
+ "resources.visibility.workspace": "工作區",
"roleAndArchive": "角色與記錄",
"runtimeEnv.mode.cloud": "雲端沙盒",
"runtimeEnv.mode.cloudDesc": "在安全的雲端沙盒中運行",
@@ -584,6 +614,9 @@
"sessionGroup.noAvailableAgents": "暫無可用助理",
"sessionGroup.noMatchingAgents": "未找到符合的助理",
"sessionGroup.noSelectedAgents": "請選擇助理",
+ "sessionGroup.publishToWorkspace": "發佈到工作區",
+ "sessionGroup.publishToWorkspaceConfirm": "其他工作區成員將能使用此文件夾。您將無法再將其設為私人。",
+ "sessionGroup.publishToWorkspaceSuccess": "已發佈到工作區",
"sessionGroup.rename": "重新命名分組",
"sessionGroup.renameSuccess": "重新命名成功",
"sessionGroup.searchAgents": "搜尋助理",
@@ -755,6 +788,12 @@
"taskDetail.priority.normal": "普通",
"taskDetail.priority.urgent": "緊急",
"taskDetail.properties": "屬性",
+ "taskDetail.publishToWorkspace.confirmContent": "一旦發佈,此任務將對所有工作區成員可見,且無法恢復為私人。",
+ "taskDetail.publishToWorkspace.confirmHint": "過去的運行仍然是私人。只有發佈後創建的運行才會對工作區成員可見。",
+ "taskDetail.publishToWorkspace.confirmOk": "發佈",
+ "taskDetail.publishToWorkspace.confirmTitle": "將任務發佈到工作區?",
+ "taskDetail.publishToWorkspace.errorPrivateAgent": "此任務分配給了一個私人代理。請重新分配給工作區代理,或先發佈該代理。",
+ "taskDetail.publishToWorkspace.menuLabel": "發佈到工作區",
"taskDetail.reassignDisabled": "任務執行中,無法重新指派代理",
"taskDetail.replyInThread": "在此線程中回覆",
"taskDetail.replyPlaceholder": "在此線程中回覆...",
@@ -865,6 +904,8 @@
"taskList.view.board": "看板",
"taskList.view.list": "清單",
"taskList.viewAll": "檢視全部",
+ "taskList.visibility.all": "全部",
+ "taskList.visibility.label": "可見性",
"taskSchedule.advancedSettings": "進階設定",
"taskSchedule.clear": "清除",
"taskSchedule.continuous": "持續執行",
@@ -1158,11 +1199,10 @@
"workingPanel.documents.unsaved": "有未儲存變更",
"workingPanel.files.copyAbsolutePath": "複製路徑",
"workingPanel.files.copyRelativePath": "複製相對路徑",
- "workingPanel.files.count_one": "{{count}} 個檔案",
- "workingPanel.files.count_other": "{{count}} 個檔案",
"workingPanel.files.empty": "此工作區中沒有檔案",
+ "workingPanel.files.noSearchResults": "沒有匹配的文件",
"workingPanel.files.open": "開啟檔案",
- "workingPanel.files.refresh": "重新整理",
+ "workingPanel.files.searchPlaceholder": "篩選文件...",
"workingPanel.files.showInReview": "在檢視中顯示",
"workingPanel.files.showInSystem": "在資料夾中顯示",
"workingPanel.files.title": "檔案",
diff --git a/locales/zh-TW/common.json b/locales/zh-TW/common.json
index 8cd4a789cd9..e78f904a1aa 100644
--- a/locales/zh-TW/common.json
+++ b/locales/zh-TW/common.json
@@ -1,5 +1,6 @@
{
"about": "關於",
+ "addNew": "新增",
"advanceSettings": "進階設定",
"agentOnboardingPromo.actionLabel": "立即試用",
"agentOnboardingPromo.description": "和 Lobe AI 快速聊幾句,即可設定你的助理團隊。你現有的助理不會受到影響。",
@@ -273,6 +274,7 @@
"generation.promptModeration.blocked": "內容政策檢查未通過。請修改您的提示。",
"getDesktopApp": "下載桌面應用程式",
"goToTarget": "前往目標",
+ "gotIt": "了解",
"historyRange": "歷史範圍",
"home.suggestQuestions": "試試這些範例",
"import": "匯入",
@@ -363,6 +365,8 @@
"navPanel.moveDown": "下移",
"navPanel.moveUp": "上移",
"navPanel.pinned": "已釘選",
+ "navPanel.privateAgents": "私人",
+ "navPanel.publicAgents": "工作區",
"navPanel.resetDefault": "重設為預設值",
"navPanel.searchAgent": "搜尋助手...",
"navPanel.searchRecent": "搜尋最近項目...",
diff --git a/locales/zh-TW/discover.json b/locales/zh-TW/discover.json
index 0687973dc66..e52492d1d97 100644
--- a/locales/zh-TW/discover.json
+++ b/locales/zh-TW/discover.json
@@ -146,8 +146,14 @@
"fork.forks": "分支",
"fork.forksCount": "{{count}} 個分支",
"fork.forksCount_other": "{{count}} 個分支",
+ "fork.orgSetupRequired.memberContent": "此工作區尚未設定社群檔案,因此無法將市集中的分支儲存於此。請要求工作區擁有者在「社群」→「工作區」中進行設定。",
+ "fork.orgSetupRequired.ownerContent": "此工作區尚未設定社群檔案。設定後即可將市集中的代理分支到您的工作區。",
+ "fork.orgSetupRequired.ownerOk": "前往設定",
+ "fork.orgSetupRequired.title": "需要設定社群檔案",
"fork.success": "分支成功!",
"fork.viewAllForks": "查看所有分支",
+ "fork.visibilityPrivate": "私人",
+ "fork.visibilityPublic": "工作區",
"groupAgents.tag": "群組",
"groupAgents.underReview": "審核中",
"home.communityAgents": "社群助手",
diff --git a/locales/zh-TW/editor.json b/locales/zh-TW/editor.json
index 82a1fdbdb2e..a1808b56ce4 100644
--- a/locales/zh-TW/editor.json
+++ b/locales/zh-TW/editor.json
@@ -5,6 +5,7 @@
"actionTag.category.skill": "技能",
"actionTag.category.tool": "工具",
"actionTag.tooltip.agentSkill": "從此代理的文件中為請求加載技能組合。",
+ "actionTag.tooltip.clickToView": "點擊以查看詳細資訊",
"actionTag.tooltip.command": "在發送前執行客戶端斜線命令。",
"actionTag.tooltip.projectSkill": "以斜線調用的方式發送,讓代理的 CLI 執行匹配的專案技能。",
"actionTag.tooltip.skill": "為此次請求載入可重用的技能包。",
diff --git a/locales/zh-TW/electron.json b/locales/zh-TW/electron.json
index e9d200abeab..98e250d2b80 100644
--- a/locales/zh-TW/electron.json
+++ b/locales/zh-TW/electron.json
@@ -63,6 +63,7 @@
"navigation.settings": "設定",
"navigation.task": "任務",
"navigation.tasks": "任務",
+ "navigation.topics": "主題",
"navigation.unpin": "取消固定",
"notification.finishChatGeneration": "AI 訊息已生成完畢",
"proxy.auth": "需要認證",
diff --git a/locales/zh-TW/eval.json b/locales/zh-TW/eval.json
index efffd25e0ee..e957d1e8c3b 100644
--- a/locales/zh-TW/eval.json
+++ b/locales/zh-TW/eval.json
@@ -3,16 +3,21 @@
"benchmark.actions.delete.confirm": "您確定要刪除此基準嗎?相關的數據集和評估記錄也將被刪除。",
"benchmark.actions.edit": "編輯基準",
"benchmark.actions.export": "匯出",
+ "benchmark.card.bestPassRate": "最佳通過率",
"benchmark.card.bestScore": "最佳",
"benchmark.card.caseCount": "{{count}} 個案例",
+ "benchmark.card.casesLabel": "案例",
"benchmark.card.datasetCount": "{{count}} 個數據集",
"benchmark.card.empty": "尚無評估",
"benchmark.card.emptyHint": "從基準詳情頁面創建新的評估",
+ "benchmark.card.evalsLabel": "評估",
"benchmark.card.importDataset": "匯入數據集",
"benchmark.card.noDataset": "尚無數據集",
"benchmark.card.noDatasetHint": "匯入數據集以開始評估",
"benchmark.card.noRecentRuns": "無最近的評估可顯示",
"benchmark.card.recentRuns": "最近的評估",
+ "benchmark.card.run.beforeFailure": "{{completed}}/{{total}} 次失敗前完成",
+ "benchmark.card.run.queued": "已排隊",
"benchmark.card.runCount": "{{count}} 次評估",
"benchmark.card.startFirst": "開始首次評估",
"benchmark.card.viewAll": "查看全部 {{count}}",
diff --git a/locales/zh-TW/file.json b/locales/zh-TW/file.json
index 21a9a57ab22..7b52a487ade 100644
--- a/locales/zh-TW/file.json
+++ b/locales/zh-TW/file.json
@@ -72,7 +72,12 @@
"library.list.transferTitle": "移動資料庫",
"library.list.transferTo": "移動到…",
"library.new": "新增資源庫",
+ "library.privateEmpty": "建立私人資料庫",
+ "library.publish": "發佈到工作區",
+ "library.publishConfirm.content": "所有工作區成員都將看到此知識庫。此操作無法撤銷。",
+ "library.publishConfirm.title": "將知識庫發佈到工作區?",
"library.title": "庫",
+ "library.workspaceEmpty": "建立工作區資料庫",
"loadMore": "載入更多",
"menu.allFiles": "所有檔案",
"menu.allPages": "全部文件",
@@ -170,6 +175,13 @@
"pageList.noResults": "找不到符合的文稿",
"pageList.pageCount": "共 {{count}} 篇文稿",
"pageList.pageSizeItem": "{{count}} 個項目",
+ "pageList.privateTitle": "私人",
+ "pageList.publishConfirm.content": "發佈後,工作區中的所有人都可以看到此頁面。您無法將其改回私人。",
+ "pageList.publishConfirm.ok": "發佈",
+ "pageList.publishConfirm.title": "發佈到工作區",
+ "pageList.publishError": "頁面發佈失敗",
+ "pageList.publishSuccess": "頁面已發佈到工作區",
+ "pageList.publishToWorkspace": "發佈到工作區",
"pageList.title": "文稿",
"pageList.transferConfirm": "移動",
"pageList.transferDescription": "將此頁面(及其包含的任何資料夾)移動到另一個工作區。",
@@ -179,6 +191,7 @@
"pageList.transferTo": "移動到…",
"pageList.transferWarning": "這是單向移動;若需還原,需進行另一個移動。",
"pageList.untitled": "無標題",
+ "pageList.workspaceTitle": "工作區",
"portal.openInPageEditor": "在文件中編輯",
"preview.downloadFile": "下載檔案",
"preview.unsupportedFileAndContact": "此檔案格式暫不支援線上預覽,如有預覽需求,歡迎<1>反饋給我們</1>",
diff --git a/locales/zh-TW/image.json b/locales/zh-TW/image.json
index c208728da28..6a4d5c60b8f 100644
--- a/locales/zh-TW/image.json
+++ b/locales/zh-TW/image.json
@@ -63,6 +63,9 @@
"topic.deleteConfirm": "刪除生成主題",
"topic.deleteConfirmDesc": "即將刪除該生成主題,刪除後將無法復原,請謹慎操作。",
"topic.empty": "暫無生成主題",
+ "topic.privateTitle": "私人",
"topic.title": "繪畫主題",
- "topic.untitled": "預設主題"
+ "topic.untitled": "預設主題",
+ "topic.visibility.existingLocked": "當前主題的可見性已固定。請創建一個新主題以選擇不同的空間。",
+ "topic.workspaceTitle": "工作區"
}
diff --git a/locales/zh-TW/models.json b/locales/zh-TW/models.json
index f77907a41f6..da5a470dfe3 100644
--- a/locales/zh-TW/models.json
+++ b/locales/zh-TW/models.json
@@ -586,6 +586,7 @@
"glm-5-turbo.description": "GLM-5-Turbo是一款深度優化的基礎模型,專為代理場景設計。從訓練階段起即針對代理任務的核心需求進行優化,增強工具調用、指令遵循及長鏈執行等關鍵能力。非常適合構建高性能代理助手。",
"glm-5.1.description": "GLM-5.1 是智譜最新的旗艦模型,在整體能力與程式設計能力方面對齊 Claude Opus 4.6。它在長時間任務上表現卓越,能在單一任務中自主規劃、執行並反覆優化長達 8 小時,是建構自主代理(Autonomous Agents)與長時程程式代理(Long-horizon Coding Agents)的理想基礎。",
"glm-5.2.description": "GLM系列是智譜AI為代理設計的混合推理模型,具備思考模式和非思考模式。GLM-5.2是智譜針對長期任務時代的旗艦模型,支持100萬標記上下文,並針對長期規劃、複雜編碼和代理執行進行了優化。",
+ "glm-5.2.description": "GLM 系列是智譜 AI 為代理設計的混合推理模型,具備思考模式和非思考模式。GLM-5.2 是智譜在長期任務時代的旗艦模型,支持 100 萬個 token 的上下文,並針對長期規劃、複雜編程和代理執行進行了優化。",
"glm-5.description": "GLM-5 是智譜下一代旗艦基礎模型,專為代理工程設計。它在複雜系統工程和長期代理任務中提供可靠的生產力。在編程和代理能力方面,GLM-5 在開源模型中達到最先進的性能。在實際編程場景中,其使用者體驗接近 Claude Opus 4.5。它在複雜系統工程和長期代理任務中表現卓越,是通用代理助手的理想基礎模型。",
"glm-5v-turbo.description": "GLM-5V-Turbo 是智譜推出的多模態編程基礎模型,專為視覺編程任務設計。它原生支持影像、視頻、文本和文件,並針對長期規劃、複雜編程和代理執行進行優化。",
"glm-image.description": "GLM-Image 是智譜最新的旗艦圖像生成模型。該模型基於國產芯片進行端到端訓練,採用原創的混合架構,結合自回歸建模與擴散解碼器。此設計能夠實現強大的全局指令理解以及細緻的局部細節渲染,克服了生成知識密集型內容(如海報、演示文稿和教育圖表)中的長期挑戰。它代表了向新一代「認知生成」技術範式的重要探索,典範為 Nano Banana Pro。",
@@ -767,6 +768,7 @@
"kimi-k2.6.description": "Kimi-K2.6 是 Moonshot AI 推出的大型語言模型,具有卓越的編程和工具調用能力。僅支持在中國大陸部署服務。",
"kimi-k2.7-code-highspeed.description": "Kimi K2.7 Code HighSpeed 是 Kimi K2.7 Code 的高速版本。該模型與 Kimi K2.7 Code 相同,但輸出速度約為 180 Tokens/s,短上下文場景下可達 260 Tokens/s,帶來更極致的編程體驗。",
"kimi-k2.7-code.description": "Kimi K2.7 Code是Moonshot AI基於Kimi K2.6構建的專注於編碼的代理模型,在實際長期編碼任務中有顯著改進,並將思考標記使用量降低約30%。",
+ "kimi-k2.7-code.description": "Kimi K2.7 Code 是 Moonshot AI 基於 Kimi K2.6 開發的專注於編程的代理模型,在真實世界的長期編程任務中有顯著改進,並將思考 token 的使用量降低了約 30%。",
"kling/kling-v3-image-generation.description": "支持最多10張參考影像,允許鎖定主題、元素及色調以確保風格一致性。結合風格轉換、肖像/角色參考、多影像融合及局部修補,提供靈活控制。呈現逼真的肖像細節,整體視覺精緻且層次豐富,具有電影級色彩及氛圍。",
"kling/kling-v3-omni-image-generation.description": "解鎖電影敘事視覺效果,支持新系列影像生成及直接2K/4K輸出。深度分析提示中的視聽元素,精確執行創意指令。支持靈活的多參考輸入及全面的質量升級,非常適合故事板、敘事概念藝術及場景設計。",
"kling/kling-v3-omni-video-generation.description": "全新“全參考”功能支持3至8秒影像或多張影像錨定角色元素。可匹配原始音頻及唇部動作,實現真實角色表現。增強影像一致性及動態表現。支持視聽同步及智能故事板設計。",
@@ -937,6 +939,7 @@
"moonshot-v1-8k-vision-preview.description": "Kimi 視覺模型(包括 moonshot-v1-8k-vision-preview/moonshot-v1-32k-vision-preview/moonshot-v1-128k-vision-preview)能理解圖像內容,如文字、顏色與物體形狀。",
"moonshot-v1-8k.description": "Moonshot V1 8K 針對短文本生成進行優化,支援 8,192 個 token,適用於短對話、筆記與快速內容生成。",
"moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code是Moonshot AI設計的專注於編碼任務的代理模型。基於Kimi K2.6構建,在實際長期編碼任務中顯示出顯著改進,增強了在複雜軟件工程工作流程中的端到端任務完成能力,並將思考標記使用量相比Kimi K2.6減少約30%。",
+ "moonshotai/Kimi-K2.7-Code.description": "Kimi K2.7 Code 是 Moonshot AI 為編程任務設計的代理模型。基於 Kimi K2.6 開發,該模型在真實世界的長期編程任務中表現出顯著改進,增強了在複雜軟體工程工作流程中的端到端任務完成能力,同時相比 Kimi K2.6 將思考 token 的使用量降低了約 30%。",
"moonshotai/kimi-k2-0711.description": "Kimi K2 0711 是 Kimi 系列中的指令變體,適用於高品質程式碼生成與工具使用。",
"moonshotai/kimi-k2-0905.description": "Kimi K2 0905 是一項更新,提升了上下文擴展與推理效能,並優化了程式碼能力。",
"moonshotai/kimi-k2-thinking-turbo.description": "Kimi K2 Thinking Turbo 是 Kimi K2 Thinking 的高速版本,在保留深度推理能力的同時大幅降低延遲。",
@@ -1342,6 +1345,7 @@
"zai-org/GLM-4.5-Air.description": "GLM-4.5-Air 是一款基於專家混合架構的代理應用基礎模型,針對工具使用、網頁瀏覽、軟體工程與前端編碼進行優化,並可與 Claude Code、Roo Code 等程式代理整合。採用混合推理處理複雜與日常任務。",
"zai-org/GLM-4.5V.description": "GLM-4.5V 是智譜 AI 最新 VLM,基於 GLM-4.5-Air 旗艦文本模型(總參數 106B,啟用 12B),採用 MoE 架構,在成本較低的情況下提供強大效能。延續 GLM-4.1V-Thinking 路線,加入 3D-RoPE 提升三維空間推理能力。透過預訓練、SFT 與強化學習優化,支援圖像、影片與長文檔,在 41 項公開多模態基準中名列前茅。提供「思考模式」切換,讓用戶在速度與深度間取得平衡。",
"zai-org/GLM-5.2.description": "GLM-5.2是Z.ai針對長期任務場景設計的最新旗艦模型,相比GLM-5.1在長期任務能力上有顯著提升。這是一個7530億參數的MoE模型,支持穩定的100萬標記上下文窗口,具備更強的編程能力,並支持多種思考努力級別,以在性能和延遲之間靈活平衡。",
+ "zai-org/GLM-5.2.description": "GLM-5.2 是 Z.ai 最新的旗艦模型,專為長期任務場景設計,相比 GLM-5.1 在長期任務能力上有顯著提升。這款 753B MoE 模型支持穩定的 100 萬 token 上下文窗口,具備更強的編程能力,並支持多種思考努力級別,以在性能和延遲之間實現靈活平衡。",
"zai/glm-4.5-air.description": "GLM-4.5 與 GLM-4.5-Air 是我們針對代理應用推出的最新旗艦模型,皆採用 MoE 架構。GLM-4.5 總參數 355B,啟用 32B;GLM-4.5-Air 較輕量,總參數 106B,啟用 12B。",
"zai/glm-4.5.description": "GLM-4.5 系列專為代理設計。旗艦版 GLM-4.5 結合推理、編碼與代理能力,總參數 355B(啟用 32B),提供混合推理系統的雙模式運行。",
"zai/glm-4.5v.description": "GLM-4.5V 建構於 GLM-4.5-Air 基礎上,延續 GLM-4.1V-Thinking 技術,並以強大的 106B MoE 架構擴展能力。",
diff --git a/locales/zh-TW/plugin.json b/locales/zh-TW/plugin.json
index beab93cfd58..b88455d1b14 100644
--- a/locales/zh-TW/plugin.json
+++ b/locales/zh-TW/plugin.json
@@ -32,6 +32,7 @@
"builtins.github.render.error": "錯誤",
"builtins.github.render.rawResult": "原始結果",
"builtins.github.render.updatedAt": "更新於 {{time}}",
+ "builtins.linear.render.empty": "未找到{{collection}}",
"builtins.linear.render.updatedAt": "更新於 {{time}}",
"builtins.lobe-activator.apiName.activateTools": "啟用工具",
"builtins.lobe-activator.inspector.activateTools.notFoundCount": "{{count}} 未找到",
diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.json
index 58d4871cfee..6435ed65a7c 100644
--- a/locales/zh-TW/setting.json
+++ b/locales/zh-TW/setting.json
@@ -615,6 +615,9 @@
"settingChatAppearance.fontSize.marks.normal": "標準",
"settingChatAppearance.fontSize.title": "字體大小",
"settingChatAppearance.highlighterTheme.title": "程式碼高亮主題",
+ "settingChatAppearance.linkIcon.desc": "如果您不需要,可以將此功能關閉。",
+ "settingChatAppearance.linkIcon.previewMessage": "查看 <site></site> 和 <repo></repo> 以獲取更多詳情。",
+ "settingChatAppearance.linkIcon.title": "在消息鏈接中顯示圖標",
"settingChatAppearance.mermaidTheme.title": "美人魚主題",
"settingChatAppearance.title": "聊天外觀",
"settingChatAppearance.transitionMode.desc": "選擇聊天訊息的顯示方式",
@@ -1471,7 +1474,7 @@
"workspace.billing.paymentMethods.subtitle": "此工作區的檔案卡片。",
"workspace.billing.paymentMethods.title": "付款方式",
"workspace.billing.plan.basic": "基本",
- "workspace.billing.plan.business": "商業",
+ "workspace.billing.plan.business": "商業版",
"workspace.billing.plan.enterprise": "企業",
"workspace.billing.plan.free": "免費",
"workspace.billing.plan.pro": "專業",
@@ -1504,12 +1507,18 @@
"workspace.billingPage.billing.basic.subtitle": "基本工作區 · 每月共享配額 · 無付費席位",
"workspace.billingPage.billing.basic.title": "基本工作區",
"workspace.billingPage.billing.basic.upgradeCta": "升級至專業版",
+ "workspace.billingPage.billing.billingPeriodModal.adjustmentLine": "按比例調整",
"workspace.billingPage.billing.billingPeriodModal.body": "您的工作區計費週期將從 {{current}} 更改為 {{target}}。",
"workspace.billingPage.billing.billingPeriodModal.cancelCta": "取消",
"workspace.billingPage.billing.billingPeriodModal.confirmCta": "更改計費週期",
+ "workspace.billingPage.billing.billingPeriodModal.creditsSubtitle": "當前周期未使用時間的按比例抵扣",
+ "workspace.billingPage.billing.billingPeriodModal.previewFailed": "無法加載價格預覽。請重試。",
+ "workspace.billingPage.billing.billingPeriodModal.previewRetryCta": "重試",
"workspace.billingPage.billing.billingPeriodModal.scheduledChange": "更改將在當前週期結束後生效。",
"workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate": "更改將在當前週期結束後於 {{date}} 生效。",
+ "workspace.billingPage.billing.billingPeriodModal.seatsLine": "工作區席位",
"workspace.billingPage.billing.billingPeriodModal.title": "是否更改計費週期?",
+ "workspace.billingPage.billing.billingPeriodModal.unitYearly": "年",
"workspace.billingPage.billing.breakdown.creditsLine_one": "{{seats}} 座位 · {{credits}} 點數 / 月",
"workspace.billingPage.billing.breakdown.creditsLine_other": "{{seats}} 座位 · {{credits}} 點數 / 月",
"workspace.billingPage.billing.breakdown.extraSeats": "額外座位",
@@ -1602,6 +1611,7 @@
"workspace.billingPage.billing.pending.descWithSeats": "將於 {{date}} 切換至 {{plan}} {{interval}},包含 {{seats}} 席位。請確保賬戶餘額充足。",
"workspace.billingPage.billing.pending.disabledActionTooltip": "在更新訂閱計劃前,請先取消已排定的更改。",
"workspace.billingPage.billing.pending.keepPlanCta": "保留 {{plan}}",
+ "workspace.billingPage.billing.pending.keepPlanCtaWithInterval": "保留 {{plan}} {{interval}}",
"workspace.billingPage.billing.pending.seatsDecreaseDesc": "此工作區目前有 {{currentSeats}} 席位,將於 {{date}} 更改為 {{seats}} 席位。",
"workspace.billingPage.billing.pending.seatsDesc": "將於 {{date}} 更改為 {{seats}} 席位。請確保賬戶餘額充足。",
"workspace.billingPage.billing.pending.seatsTitle": "席位更改已排定",
@@ -1632,6 +1642,7 @@
"workspace.billingPage.billing.upgradePlanModal.buySeatsCta": "購買席位",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTarget": "為 {{plan}} {{interval}} 方案購買更多席位。",
"workspace.billingPage.billing.upgradePlanModal.buySeatsTitle": "購買更多席位?",
+ "workspace.billingPage.billing.upgradePlanModal.calculating": "計算中…",
"workspace.billingPage.billing.upgradePlanModal.cancelCta": "取消",
"workspace.billingPage.billing.upgradePlanModal.checkoutCharge": "您將被重定向至結帳頁面以完成付款。",
"workspace.billingPage.billing.upgradePlanModal.confirmCta": "升級",
@@ -1644,15 +1655,21 @@
"workspace.billingPage.billing.upgradePlanModal.paymentMethodFallback": "當前付款方式",
"workspace.billingPage.billing.upgradePlanModal.paymentMethodLabel": "付款方式",
"workspace.billingPage.billing.upgradePlanModal.proratedCharge": "將立即對您當前的付款方式收取按比例計算的費用。",
- "workspace.billingPage.billing.upgradePlanModal.purchaseSeats": "購買座位",
+ "workspace.billingPage.billing.upgradePlanModal.purchaseSeats": "購買席位",
"workspace.billingPage.billing.upgradePlanModal.purchasedSeatsLine": "購買更多席位",
"workspace.billingPage.billing.upgradePlanModal.resultBillingCta": "查看計費",
"workspace.billingPage.billing.upgradePlanModal.resultDesc": "您的工作區座位更新已保存。",
"workspace.billingPage.billing.upgradePlanModal.resultDoneCta": "完成",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedDesc": "我們無法完成此更新。{{reason}}",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta": "再試一次",
+ "workspace.billingPage.billing.upgradePlanModal.resultFailedTitle": "更新失敗",
"workspace.billingPage.billing.upgradePlanModal.resultInviteCta": "邀請成員",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged": "按比例計算的座位費用已從您目前的付款方式中扣除。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount": "已收取 {{amount}} · 計費金額",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel": "付款結果",
"workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled": "未扣除任何費用。更改已安排在下一個計費週期生效。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc": "已升級至 {{plan}} · {{interval}}。",
+ "workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle": "方案已升級",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded": "現在共有 {{seats}} 個座位,包括 {{purchasedSeats}} 個預付額外座位。",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel": "座位購買結果",
"workspace.billingPage.billing.upgradePlanModal.resultSeatsReduced": "下一個計費週期將適用 {{seats}} 個座位,包括 {{purchasedSeats}} 個預付額外座位。",
@@ -1866,6 +1883,8 @@
"workspace.billingPage.usage.model.showLess": "顯示更少",
"workspace.billingPage.usage.model.unknown": "未知模型",
"workspace.billingPage.usage.ops": "操作",
+ "workspace.billingPage.usage.privateAgents": "私人代理",
+ "workspace.billingPage.usage.privateAgentsTooltip": "此成員擁有的私人代理數量。擁有者可以查看計費所需的數量,但無法查看代理內容。",
"workspace.billingPage.usage.range.30d": "過去 30 天",
"workspace.billingPage.usage.range.all": "所有時間",
"workspace.billingPage.usage.range.cycle": "本週期",
@@ -2080,6 +2099,8 @@
"workspace.invitePage.signUpToJoin": "創建帳戶並加入",
"workspace.invitePage.switchAccountToAccept": "登入為 {{email}} 以接受",
"workspace.invitePage.title": "工作區邀請",
+ "workspace.invitePage.viewerLimitSubtitle": "此工作區已達到檢視者人數上限。請要求擁有者釋放檢視者席位或升級方案後再加入。",
+ "workspace.invitePage.viewerLimitTitle": "已達檢視者人數上限",
"workspace.invitePage.workspaceLimitSubtitle": "您已達到最多 {{limit}} 個工作區的限制。在加入另一個之前請離開一個。",
"workspace.invitePage.workspaceLimitTitle": "工作區限制已達",
"workspace.member.demote": "降級為成員",
@@ -2124,12 +2145,15 @@
"workspace.member.transferPrimaryConfirm.title": "轉移主要所有權",
"workspace.members.empty": "尚無成員",
"workspace.members.invite.addAnother": "新增另一個",
+ "workspace.members.invite.askOwnerToBuySeats": "請工作區擁有者購買更多席位後再邀請新成員。",
"workspace.members.invite.button": "邀請",
+ "workspace.members.invite.buySeatsCta": "購買席位",
"workspace.members.invite.emailLabel": "電子郵件地址",
"workspace.members.invite.emailPlaceholder": "[email protected]",
"workspace.members.invite.errors.alreadyInvited": "{{email}} 已有待處理的邀請。從下方重新發送或撤銷它。",
"workspace.members.invite.errors.alreadyMember": "{{email}} 已是此工作區的成員。",
"workspace.members.invite.failed": "發送邀請失敗",
+ "workspace.members.invite.invitationLimitReached": "此工作區已達到 {{limit}} 個待處理邀請的上限。在發送新邀請之前,請撤銷或等待未使用的邀請過期。",
"workspace.members.invite.limitReached": "此工作區最多可有 {{limit}} 名成員。在邀請更多之前移除一名成員。",
"workspace.members.invite.modal.cancel": "取消",
"workspace.members.invite.modal.confirm": "確認",
@@ -2140,6 +2164,8 @@
"workspace.members.invite.noPermissionHint": "需要額外的權限來管理團隊成員",
"workspace.members.invite.partialSuccess": "{{success}} 已邀請,{{failed}} 失敗。檢查地址並重試。",
"workspace.members.invite.roleLabel": "角色",
+ "workspace.members.invite.seatInsufficient": "僅剩 {{remaining}} 個席位。購買更多席位以邀請 {{required}} 位新成員。",
+ "workspace.members.invite.seatInsufficientNoBuy": "僅剩 {{remaining}} 個席位。請工作區擁有者購買更多席位。",
"workspace.members.invite.submit": "邀請",
"workspace.members.invite.subtitle": "通過輸入他們的電子郵件地址並分配角色新增新成員",
"workspace.members.invite.success": "團隊成員已成功邀請。",
@@ -2218,6 +2244,7 @@
"workspace.onboarding.step3.subtitle": "選擇幾個開始——隨時發現更多。",
"workspace.onboarding.step4.cta": "進入工作區",
"workspace.onboarding.step4.heading": "{{name}} 已準備就緒!",
+ "workspace.onboarding.step4.marketProfileNudge": "我們已為 <strong>{{name}}</strong> 設置了一個社群檔案,以便安裝工作區代理。<cta>在社群中自定義它</cta>。",
"workspace.onboarding.step4.subtitle": "您的工作區已設置完成。立即進入並開始與您的團隊協作。",
"workspace.onboarding.step4.subtitleWithAgents": "{{count}} 位代理已準備就緒。立即進入並開始與您的團隊協作。",
"workspace.onboarding.step4Invite.addMore": "新增另一個電子郵件",
@@ -2225,12 +2252,14 @@
"workspace.onboarding.step4Invite.finish": "完成",
"workspace.onboarding.step4Invite.heading": "邀請您的團隊",
"workspace.onboarding.step4Invite.invitedCount": "已邀請 {{count}} 位成員",
+ "workspace.onboarding.step4Invite.seatLimitReached": "您可以使用當前席位邀請最多 {{max}} 位隊友。",
"workspace.onboarding.step4Invite.subtitle": "現在將團隊成員帶入此工作區,或稍後從成員設置中邀請他們。",
"workspace.onboarding.step4Invite.subtitleWithExtraSeats": "您的方案包含 {{includedSeats}} 個免費席位,並支持最多 {{maxSeats}} 個席位(含購買的額外席位)。現在邀請團隊成員,或稍後從成員設置中新增。",
"workspace.onboarding.step4Invite.subtitleWithLimit": "Hobby 方案最多包含 {{maxSeats}} 個席位(包括您)。現在邀請團隊成員,或稍後從成員設置中新增。",
"workspace.onboarding.stepLabel": "步驟 {{current}} / {{total}}",
"workspace.onboarding.title": "設置您的工作區",
"workspace.onboarding.toast.failed": "無法保存。請重試。",
+ "workspace.onboarding.toast.installAgentsFailed": "無法添加選定的代理。您可以稍後從市場中安裝它們。",
"workspace.onboarding.toast.saved": "已保存",
"workspace.permission.requiresMember": "您無權執行此操作。請要求工作區擁有者授予您成員或更高級別的權限。",
"workspace.permission.requiresOwner": "只有工作區擁有者可以執行此操作。請要求擁有者更改此設置。",
@@ -2268,20 +2297,16 @@
"workspace.upgradeModal.subtitle": "解鎖協作、更大的點數和更高的速率限制。",
"workspace.upgradeModal.successPage.activating": "正在激活您的訂閱——這通常需要幾秒鐘…",
"workspace.upgradeModal.successPage.amountLabel": "支付總額",
- "workspace.upgradeModal.successPage.continueCta": "邀請並繼續",
"workspace.upgradeModal.successPage.desc": "{{name}} 現在已升級至專業。邀請隊友開始協作。",
- "workspace.upgradeModal.successPage.inviteDesc": "通過電子郵件發送邀請。他們將收到一個連結加入工作區。",
- "workspace.upgradeModal.successPage.inviteTitle": "邀請隊友加入 {{name}}",
"workspace.upgradeModal.successPage.paidAtLabel": "支付於",
"workspace.upgradeModal.successPage.planTag": "工作區專業",
"workspace.upgradeModal.successPage.processingDesc": "稍等片刻——我們正在與 Stripe 確認付款。這通常需要幾秒鐘。",
"workspace.upgradeModal.successPage.processingTitle": "正在處理您的付款…",
- "workspace.upgradeModal.successPage.recurring.monthly": "每月",
- "workspace.upgradeModal.successPage.recurring.yearly": "每年",
+ "workspace.upgradeModal.successPage.recurring.monthly": "月繳",
+ "workspace.upgradeModal.successPage.recurring.yearly": "年繳",
"workspace.upgradeModal.successPage.recurringLabel": "計費週期",
"workspace.upgradeModal.successPage.seatsSummary": "{{count}} 個包含座位",
"workspace.upgradeModal.successPage.seatsSummary_other": "{{count}} 個包含座位",
- "workspace.upgradeModal.successPage.skipCta": "暫時跳過",
"workspace.upgradeModal.successPage.title": "升級完成",
"workspace.upgradeModal.successToast": "升級完成——正在刷新您的計劃…",
"workspace.upgradeModal.title": "升級至專業",
@@ -2384,7 +2409,7 @@
"workspace.wizard.step2.pill.platformPerMonth": "${{fee}} / 月",
"workspace.wizard.step2.pill.seatPerMonth": "+${{fee}} / 席位 / 月",
"workspace.wizard.step2.plans.basic": "基本",
- "workspace.wizard.step2.plans.business": "商業",
+ "workspace.wizard.step2.plans.business": "商業版",
"workspace.wizard.step2.plans.free": "免費",
"workspace.wizard.step2.plans.pro": "專業版",
"workspace.wizard.step2.seats.hint": "介於 {{min}} 和 {{max}} 座位之間。",
diff --git a/locales/zh-TW/spend.json b/locales/zh-TW/spend.json
index eef48ef9784..5803e7eb34c 100644
--- a/locales/zh-TW/spend.json
+++ b/locales/zh-TW/spend.json
@@ -40,5 +40,28 @@
"table.more": "查看詳情",
"table.title": "計算點數使用詳情",
"table.totalToken.input": "輸入",
- "table.totalToken.output": "輸出"
+ "table.totalToken.output": "輸出",
+ "usageStats.breakdown.cost": "成本",
+ "usageStats.breakdown.model": "模型",
+ "usageStats.breakdown.requests": "請求",
+ "usageStats.breakdown.title": "按模型使用情況",
+ "usageStats.breakdown.totalTokens": "代幣",
+ "usageStats.byDay": "按天",
+ "usageStats.byWeek": "按週",
+ "usageStats.cards.cacheDesc": "命中率 {{rate}}% · 讀取 {{read}}",
+ "usageStats.cards.cacheSavings": "快取節省",
+ "usageStats.cards.cost": "成本",
+ "usageStats.cards.token": "代幣",
+ "usageStats.cards.tokenDesc": "輸入 {{input}} · 輸出 {{output}}",
+ "usageStats.chart.cacheWrite": "快取寫入",
+ "usageStats.chart.input": "輸入",
+ "usageStats.chart.output": "輸出",
+ "usageStats.chart.spend": "成本",
+ "usageStats.chart.title": "此代理的支出時間",
+ "usageStats.chart.tokens": "代幣",
+ "usageStats.dimension": "維度",
+ "usageStats.entry": "使用與成本",
+ "usageStats.range": "時間範圍",
+ "usageStats.rangeSuffix": "過去 {{count}} 天",
+ "usageStats.title": "使用與成本"
}
diff --git a/locales/zh-TW/topic.json b/locales/zh-TW/topic.json
index 627df5ca8ef..24954acd53c 100644
--- a/locales/zh-TW/topic.json
+++ b/locales/zh-TW/topic.json
@@ -168,6 +168,8 @@
"sidebar.expandAll": "展開所有群組",
"sidebar.title": "主題",
"taskManager.agent": "任務代理",
+ "taskManager.agentSelector.privateGroup": "私人",
+ "taskManager.agentSelector.workspaceGroup": "工作區",
"taskManager.welcome": "可以詢問我有關你的待辦事項",
"temp": "臨時",
"title": "話題"
diff --git a/locales/zh-TW/video.json b/locales/zh-TW/video.json
index 2a6e241e9d4..12f003e1a64 100644
--- a/locales/zh-TW/video.json
+++ b/locales/zh-TW/video.json
@@ -29,6 +29,9 @@
"topic.createNew": "建立新主題",
"topic.deleteConfirm": "刪除影片主題",
"topic.deleteConfirmDesc": "您即將刪除此影片主題,此操作無法復原。",
+ "topic.privateTitle": "私人",
"topic.title": "影片主題",
- "topic.untitled": "預設主題"
+ "topic.untitled": "預設主題",
+ "topic.visibility.existingLocked": "當前主題的可見性已固定。請創建一個新主題以選擇不同的空間。",
+ "topic.workspaceTitle": "工作區"
}
diff --git a/packages/business-server/src/lambda-routers/workspace.ts b/packages/business-server/src/lambda-routers/workspace.ts
index e77c78f626e..7f0570ccf6e 100644
--- a/packages/business-server/src/lambda-routers/workspace.ts
+++ b/packages/business-server/src/lambda-routers/workspace.ts
@@ -1,4 +1,5 @@
import { TRPCError } from '@trpc/server';
+import { z } from 'zod';
import { authedProcedure, router } from '@/libs/trpc/lambda';
@@ -6,12 +7,12 @@ import { authedProcedure, router } from '@/libs/trpc/lambda';
// Only the procedures consumed by submodule (open-source) UI are declared here as
// typed no-op stubs so the contract type-checks; cloud supplies the real implementations.
export const workspaceRouter = router({
- ensureMarketOrganization: authedProcedure.mutation(
- async (): Promise<{ marketAccountId: number }> => {
+ ensureMarketOrganization: authedProcedure
+ .input(z.object({ autoProvision: z.boolean().optional() }).optional())
+ .mutation(async (): Promise<{ created: boolean; marketAccountId: number }> => {
throw new TRPCError({
code: 'NOT_IMPLEMENTED',
message: 'Workspace market organization is a cloud-only feature.',
});
- },
- ),
+ }),
});
diff --git a/packages/database/src/models/__tests__/agent.privateVisibility.workspace.test.ts b/packages/database/src/models/__tests__/agent.privateVisibility.workspace.test.ts
new file mode 100644
index 00000000000..80277487618
--- /dev/null
+++ b/packages/database/src/models/__tests__/agent.privateVisibility.workspace.test.ts
@@ -0,0 +1,164 @@
+// @vitest-environment node
+import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+
+import { getTestDB } from '../../core/getTestDB';
+import { agents, users, workspaces } from '../../schemas';
+import type { LobeChatDatabase } from '../../type';
+import { AgentModel } from '../agent';
+
+const serverDB: LobeChatDatabase = await getTestDB();
+
+const userA = 'private-vis-user-a';
+const userB = 'private-vis-user-b';
+const userPersonal = 'private-vis-user-personal';
+
+let workspaceId = '';
+
+beforeEach(async () => {
+ await serverDB.delete(users);
+ await serverDB.insert(users).values([{ id: userA }, { id: userB }, { id: userPersonal }]);
+ const [ws] = await serverDB
+ .insert(workspaces)
+ .values({ name: 'private-vis-ws', primaryOwnerId: userA, slug: 'private-vis-ws' })
+ .returning();
+ workspaceId = ws.id;
+});
+
+afterEach(async () => {
+ await serverDB.delete(users);
+});
+
+/**
+ * End-to-end cross-user isolation matrix for the private-agent rollout.
+ *
+ * Every other surface in this branch (task assignee gate, group composite
+ * rule, signal emitter, execAgent fail-closed) routes through one of these
+ * model-level entry points, so locking the matrix here also locks the
+ * downstream feature behaviors that depend on them.
+ */
+describe('AgentModel — private/public cross-user isolation', () => {
+ const insertAgent = async (params: {
+ id: string;
+ userId: string;
+ visibility: 'private' | 'public';
+ workspaceId?: string;
+ title?: string;
+ virtual?: boolean;
+ }) => {
+ await serverDB.insert(agents).values({
+ avatar: 'avatar',
+ backgroundColor: '#000',
+ description: 'desc',
+ id: params.id,
+ title: params.title ?? params.id,
+ userId: params.userId,
+ virtual: params.virtual ?? false,
+ visibility: params.visibility,
+ workspaceId: params.workspaceId ?? null,
+ });
+ };
+
+ describe('workspace mode', () => {
+ it("hides another user's private agent from queryAgents", async () => {
+ await insertAgent({ id: 'a-private', userId: userA, visibility: 'private', workspaceId });
+ await insertAgent({ id: 'a-public', userId: userA, visibility: 'public', workspaceId });
+
+ const callerB = new AgentModel(serverDB, userB, workspaceId);
+ const ids = (await callerB.queryAgents()).map((row) => row.id);
+
+ expect(ids).toContain('a-public');
+ expect(ids).not.toContain('a-private');
+ });
+
+ it("returns null when another user fetches a private agent's config", async () => {
+ await insertAgent({ id: 'a-private-cfg', userId: userA, visibility: 'private', workspaceId });
+
+ const callerB = new AgentModel(serverDB, userB, workspaceId);
+ const config = await callerB.getAgentConfig('a-private-cfg');
+
+ expect(config).toBeNull();
+ });
+
+ it('reports existsById = false for cross-user private agents', async () => {
+ await insertAgent({
+ id: 'a-private-exists',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+
+ const callerB = new AgentModel(serverDB, userB, workspaceId);
+ expect(await callerB.existsById('a-private-exists')).toBe(false);
+ });
+
+ it("does not surface another user's private agent in rank counts", async () => {
+ await insertAgent({
+ id: 'a-private-rank',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+ await insertAgent({ id: 'a-public-rank', userId: userA, visibility: 'public', workspaceId });
+
+ const callerB = new AgentModel(serverDB, userB, workspaceId);
+ const ranked = await callerB.rank(50);
+ const ids = ranked.map((r) => r.id);
+
+ expect(ids).not.toContain('a-private-rank');
+ });
+
+ it('owner still sees their own private agent across the same surfaces', async () => {
+ await insertAgent({
+ id: 'a-owner-private',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+
+ const callerA = new AgentModel(serverDB, userA, workspaceId);
+ const ids = (await callerA.queryAgents()).map((row) => row.id);
+
+ expect(ids).toContain('a-owner-private');
+ expect(await callerA.getAgentConfig('a-owner-private')).not.toBeNull();
+ expect(await callerA.existsById('a-owner-private')).toBe(true);
+ });
+
+ it('treats public agents from one workspace member as visible to others', async () => {
+ await insertAgent({
+ id: 'a-shared-public',
+ userId: userA,
+ visibility: 'public',
+ workspaceId,
+ });
+
+ const callerB = new AgentModel(serverDB, userB, workspaceId);
+ expect(await callerB.existsById('a-shared-public')).toBe(true);
+ expect(await callerB.getAgentConfig('a-shared-public')).not.toBeNull();
+ });
+ });
+
+ describe('personal mode', () => {
+ it("never returns another user's personal-mode agent", async () => {
+ // workspaceId omitted → personal row
+ await insertAgent({ id: 'personal-a', userId: userA, visibility: 'private' });
+
+ const callerPersonal = new AgentModel(serverDB, userPersonal);
+ expect(await callerPersonal.existsById('personal-a')).toBe(false);
+ expect(await callerPersonal.getAgentConfig('personal-a')).toBeNull();
+ });
+
+ it("doesn't leak workspace agents to a personal-mode caller", async () => {
+ await insertAgent({
+ id: 'ws-public-for-personal',
+ userId: userA,
+ visibility: 'public',
+ workspaceId,
+ });
+
+ const callerPersonal = new AgentModel(serverDB, userA);
+ // userA owns the agent, but in personal mode `workspace_id IS NULL` is
+ // required — the workspace row is intentionally invisible.
+ expect(await callerPersonal.existsById('ws-public-for-personal')).toBe(false);
+ });
+ });
+});
diff --git a/packages/database/src/models/__tests__/agent.test.ts b/packages/database/src/models/__tests__/agent.test.ts
index 953207e6d1a..02f8db2565d 100644
--- a/packages/database/src/models/__tests__/agent.test.ts
+++ b/packages/database/src/models/__tests__/agent.test.ts
@@ -233,6 +233,40 @@ describe('AgentModel', () => {
});
});
+ describe('getAgentSnapshotForTaskCreate', () => {
+ it('returns model/provider snapshot + visibility in one call', async () => {
+ const agentId = 'snap-task-create-1';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ model: 'claude-sonnet-4-6',
+ provider: 'anthropic',
+ userId,
+ visibility: 'private',
+ });
+
+ const result = await agentModel.getAgentSnapshotForTaskCreate(agentId);
+
+ expect(result).toEqual({
+ snapshot: { model: 'claude-sonnet-4-6', provider: 'anthropic' },
+ visibility: 'private',
+ });
+ });
+
+ it('returns null when the agent is not visible to the current caller', async () => {
+ const agentId = 'snap-task-create-other-user';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ model: 'gpt-4o',
+ provider: 'openai',
+ userId: userId2,
+ });
+
+ const result = await agentModel.getAgentSnapshotForTaskCreate(agentId);
+
+ expect(result).toBeNull();
+ });
+ });
+
describe('getAgentConfig', () => {
it('should find agent by ID', async () => {
const agentId = 'test-agent-by-id';
diff --git a/packages/database/src/models/__tests__/brief.test.ts b/packages/database/src/models/__tests__/brief.test.ts
index 19d2badd99c..be9cb417984 100644
--- a/packages/database/src/models/__tests__/brief.test.ts
+++ b/packages/database/src/models/__tests__/brief.test.ts
@@ -3,7 +3,7 @@ import { eq } from 'drizzle-orm';
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { getTestDB } from '../../core/getTestDB';
-import { agentCronJobs, agents, briefs, tasks, users } from '../../schemas';
+import { agentCronJobs, agents, briefs, tasks, users, workspaces } from '../../schemas';
import type { LobeChatDatabase } from '../../type';
import { BriefModel } from '../brief';
@@ -120,6 +120,58 @@ describe('BriefModel', () => {
expect(briefs).toHaveLength(1);
expect(briefs[0].type).toBe('decision');
});
+
+ it('should not leak briefs across users in workspace mode', async () => {
+ const wsId = 'brief-leak-ws';
+ await serverDB
+ .insert(workspaces)
+ .values({
+ id: wsId,
+ name: 'Brief Leak WS',
+ primaryOwnerId: userId,
+ slug: 'brief-leak-ws',
+ })
+ .onConflictDoNothing();
+
+ const alice = new BriefModel(serverDB, userId, wsId);
+ const bob = new BriefModel(serverDB, userId2, wsId);
+
+ await alice.create({ summary: 'Alice secret', title: 'Alice brief', type: 'result' });
+ await bob.create({ summary: 'Bob secret', title: 'Bob brief', type: 'result' });
+
+ const aliceList = await alice.list();
+ expect(aliceList.total).toBe(1);
+ expect(aliceList.briefs[0].title).toBe('Alice brief');
+
+ const bobList = await bob.list();
+ expect(bobList.total).toBe(1);
+ expect(bobList.briefs[0].title).toBe('Bob brief');
+ });
+
+ it('should not leak briefs to other workspace members via findById', async () => {
+ const wsId = 'brief-leak-findbyid-ws';
+ await serverDB
+ .insert(workspaces)
+ .values({
+ id: wsId,
+ name: 'Brief Leak FindById WS',
+ primaryOwnerId: userId,
+ slug: 'brief-leak-findbyid-ws',
+ })
+ .onConflictDoNothing();
+
+ const alice = new BriefModel(serverDB, userId, wsId);
+ const bob = new BriefModel(serverDB, userId2, wsId);
+
+ const aliceBrief = await alice.create({
+ summary: 'Alice secret',
+ title: 'Alice brief',
+ type: 'result',
+ });
+
+ expect(await alice.findById(aliceBrief.id)).not.toBeNull();
+ expect(await bob.findById(aliceBrief.id)).toBeNull();
+ });
});
describe('listUnresolvedEnriched', () => {
diff --git a/packages/database/src/models/__tests__/chatGroup.test.ts b/packages/database/src/models/__tests__/chatGroup.test.ts
index 683343380b5..6374d19d18f 100644
--- a/packages/database/src/models/__tests__/chatGroup.test.ts
+++ b/packages/database/src/models/__tests__/chatGroup.test.ts
@@ -551,6 +551,132 @@ describe('ChatGroupModel', () => {
chatGroupModel.addAgentsToGroup('non-existent-group', ['agent-1']),
).rejects.toThrow('Group not found');
});
+
+ describe('private/public visibility composite rule', () => {
+ // Caller is `otherUserId` operating inside `workspaceId`. The owner of
+ // `workspaceId` is `userId`, so we exercise both "my own group" and
+ // "another member's group" within the same workspace.
+ it("allows the caller's own private agent in their own private group", async () => {
+ await serverDB.transaction(async (trx) => {
+ await trx.insert(chatGroups).values({
+ id: 'mine-private-group',
+ title: 'Mine — private',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ });
+ await trx.insert(agentsTable).values({
+ id: 'agt-mine-private',
+ title: 'Mine — private agent',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ });
+ });
+
+ const result = await workspaceChatGroupModel.addAgentsToGroup('mine-private-group', [
+ 'agt-mine-private',
+ ]);
+
+ expect(result.added).toHaveLength(1);
+ });
+
+ it("allows a workspace public agent in the caller's own private group", async () => {
+ await serverDB.transaction(async (trx) => {
+ await trx.insert(chatGroups).values({
+ id: 'mine-private-group-pub',
+ title: 'Mine — private',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ });
+ await trx.insert(agentsTable).values({
+ id: 'agt-ws-public',
+ title: 'Workspace public agent',
+ userId, // owned by the workspace owner — visible to all members
+ workspaceId,
+ visibility: 'public',
+ });
+ });
+
+ const result = await workspaceChatGroupModel.addAgentsToGroup('mine-private-group-pub', [
+ 'agt-ws-public',
+ ]);
+
+ expect(result.added).toHaveLength(1);
+ });
+
+ it("rejects another member's private agent even in the caller's own private group", async () => {
+ await serverDB.transaction(async (trx) => {
+ await trx.insert(chatGroups).values({
+ id: 'mine-private-group-foreign',
+ title: 'Mine — private',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ });
+ await trx.insert(agentsTable).values({
+ id: 'agt-other-private',
+ title: 'Other private agent',
+ userId,
+ workspaceId,
+ visibility: 'private',
+ });
+ });
+
+ await expect(
+ workspaceChatGroupModel.addAgentsToGroup('mine-private-group-foreign', [
+ 'agt-other-private',
+ ]),
+ ).rejects.toThrow('Agent not found');
+ });
+
+ it("rejects the caller's own private agent in their own public group", async () => {
+ await serverDB.transaction(async (trx) => {
+ await trx.insert(chatGroups).values({
+ id: 'mine-public-group',
+ title: 'Mine — public',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'public',
+ });
+ await trx.insert(agentsTable).values({
+ id: 'agt-mine-private-2',
+ title: 'Mine — private agent',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ });
+ });
+
+ await expect(
+ workspaceChatGroupModel.addAgentsToGroup('mine-public-group', ['agt-mine-private-2']),
+ ).rejects.toThrow('Agent not found');
+ });
+
+ it("rejects a private agent in another member's group (group is public)", async () => {
+ await serverDB.transaction(async (trx) => {
+ await trx.insert(chatGroups).values({
+ id: 'others-public-group',
+ title: 'Others — public',
+ userId, // group owner is the workspace owner, not the caller
+ workspaceId,
+ visibility: 'public',
+ });
+ await trx.insert(agentsTable).values({
+ id: 'agt-mine-private-3',
+ title: 'Mine — private agent',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ });
+ });
+
+ await expect(
+ workspaceChatGroupModel.addAgentsToGroup('others-public-group', ['agt-mine-private-3']),
+ ).rejects.toThrow('Agent not found');
+ });
+ });
});
describe('removeAgentFromGroup', () => {
diff --git a/packages/database/src/models/__tests__/document.privateVisibility.workspace.test.ts b/packages/database/src/models/__tests__/document.privateVisibility.workspace.test.ts
new file mode 100644
index 00000000000..89782c0c81c
--- /dev/null
+++ b/packages/database/src/models/__tests__/document.privateVisibility.workspace.test.ts
@@ -0,0 +1,448 @@
+// @vitest-environment node
+import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+
+import { getTestDB } from '../../core/getTestDB';
+import { documents, users, workspaces } from '../../schemas';
+import type { LobeChatDatabase } from '../../type';
+import { DocumentModel } from '../document';
+
+const serverDB: LobeChatDatabase = await getTestDB();
+
+const userA = 'doc-private-vis-user-a';
+const userB = 'doc-private-vis-user-b';
+const userPersonal = 'doc-private-vis-user-personal';
+
+let workspaceId = '';
+
+beforeEach(async () => {
+ await serverDB.delete(users);
+ await serverDB.insert(users).values([{ id: userA }, { id: userB }, { id: userPersonal }]);
+ const [ws] = await serverDB
+ .insert(workspaces)
+ .values({ name: 'doc-private-vis-ws', primaryOwnerId: userA, slug: 'doc-private-vis-ws' })
+ .returning();
+ workspaceId = ws.id;
+});
+
+afterEach(async () => {
+ await serverDB.delete(documents);
+ await serverDB.delete(workspaces);
+ await serverDB.delete(users);
+});
+
+const insertDocument = async (params: {
+ id: string;
+ userId: string;
+ visibility: 'private' | 'public';
+ workspaceId?: string;
+ title?: string;
+ parentId?: string;
+}) => {
+ await serverDB.insert(documents).values({
+ fileType: 'text/plain',
+ id: params.id,
+ parentId: params.parentId ?? null,
+ source: 'https://example.com/test.txt',
+ sourceType: 'file',
+ title: params.title ?? params.id,
+ totalCharCount: 0,
+ totalLineCount: 0,
+ userId: params.userId,
+ visibility: params.visibility,
+ workspaceId: params.workspaceId ?? null,
+ });
+};
+
+describe('DocumentModel — private/public cross-user isolation', () => {
+ describe('workspace mode', () => {
+ it("hides another user's private document from findById", async () => {
+ await insertDocument({ id: 'd-private', userId: userA, visibility: 'private', workspaceId });
+
+ const callerB = new DocumentModel(serverDB, userB, workspaceId);
+ expect(await callerB.findById('d-private')).toBeUndefined();
+ });
+
+ it('exposes public documents to every workspace member', async () => {
+ await insertDocument({ id: 'd-public', userId: userA, visibility: 'public', workspaceId });
+
+ const callerB = new DocumentModel(serverDB, userB, workspaceId);
+ const fetched = await callerB.findById('d-public');
+ expect(fetched?.id).toBe('d-public');
+ });
+
+ it('keeps a private document visible to its creator', async () => {
+ await insertDocument({
+ id: 'd-owner-private',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ expect((await callerA.findById('d-owner-private'))?.id).toBe('d-owner-private');
+ });
+
+ it("does not surface another user's private document in query()", async () => {
+ await insertDocument({
+ id: 'd-private-list',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+ await insertDocument({
+ id: 'd-public-list',
+ userId: userA,
+ visibility: 'public',
+ workspaceId,
+ });
+
+ const callerB = new DocumentModel(serverDB, userB, workspaceId);
+ const ids = (await callerB.query()).items.map((row) => row.id);
+
+ expect(ids).toContain('d-public-list');
+ expect(ids).not.toContain('d-private-list');
+ });
+ });
+
+ describe('workspace mode — public agent gate (callerAgentVisibility)', () => {
+ // Closes the LOBE-11055 read-path leak: a workspace-public agent must not
+ // read the caller's own private documents even though it runs under the
+ // caller's session. Mirrors the task side's `assertAgentVisibilityCompat`
+ // (public task ≠ private agent).
+ it("hides the caller's own private document when the executing agent is public", async () => {
+ await insertDocument({
+ id: 'd-owner-private-blocked',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+
+ const callerAWithPublicAgent = new DocumentModel(serverDB, userA, workspaceId, 'public');
+ expect(await callerAWithPublicAgent.findById('d-owner-private-blocked')).toBeUndefined();
+ });
+
+ it('still exposes the caller-owned public document to a public agent', async () => {
+ await insertDocument({
+ id: 'd-owner-public-visible',
+ userId: userA,
+ visibility: 'public',
+ workspaceId,
+ });
+
+ const callerAWithPublicAgent = new DocumentModel(serverDB, userA, workspaceId, 'public');
+ const fetched = await callerAWithPublicAgent.findById('d-owner-public-visible');
+ expect(fetched?.id).toBe('d-owner-public-visible');
+ });
+
+ it("keeps the caller's own private document visible when the agent is private", async () => {
+ await insertDocument({
+ id: 'd-owner-private-allowed',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+
+ const callerAWithPrivateAgent = new DocumentModel(serverDB, userA, workspaceId, 'private');
+ const fetched = await callerAWithPrivateAgent.findById('d-owner-private-allowed');
+ expect(fetched?.id).toBe('d-owner-private-allowed');
+ });
+
+ it('excludes private rows from query() when the executing agent is public', async () => {
+ await insertDocument({
+ id: 'd-list-private',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+ await insertDocument({
+ id: 'd-list-public',
+ userId: userA,
+ visibility: 'public',
+ workspaceId,
+ });
+
+ const callerAWithPublicAgent = new DocumentModel(serverDB, userA, workspaceId, 'public');
+ const ids = (await callerAWithPublicAgent.query()).items.map((row) => row.id);
+
+ expect(ids).toContain('d-list-public');
+ expect(ids).not.toContain('d-list-private');
+ });
+
+ it('leaves the standard filter in place when callerAgentVisibility is null', async () => {
+ // null means the runtime could not resolve the agent (missing agentId,
+ // deleted agent, etc.). Preserves current behavior — no accidental
+ // widening or tightening.
+ await insertDocument({
+ id: 'd-null-private',
+ userId: userA,
+ visibility: 'private',
+ workspaceId,
+ });
+
+ const callerAWithoutAgent = new DocumentModel(serverDB, userA, workspaceId, null);
+ expect((await callerAWithoutAgent.findById('d-null-private'))?.id).toBe('d-null-private');
+ });
+ });
+
+ describe('personal mode', () => {
+ it("never returns another user's personal-mode document", async () => {
+ await insertDocument({ id: 'personal-a', userId: userA, visibility: 'private' });
+
+ const callerPersonal = new DocumentModel(serverDB, userPersonal);
+ expect(await callerPersonal.findById('personal-a')).toBeUndefined();
+ });
+
+ it("doesn't leak workspace documents to a personal-mode caller", async () => {
+ await insertDocument({
+ id: 'ws-public-for-personal',
+ userId: userA,
+ visibility: 'public',
+ workspaceId,
+ });
+
+ const callerPersonal = new DocumentModel(serverDB, userA);
+ // userA created the row, but in personal mode `workspace_id IS NULL` is
+ // required — the workspace row is intentionally invisible.
+ expect(await callerPersonal.findById('ws-public-for-personal')).toBeUndefined();
+ });
+ });
+});
+
+describe('DocumentModel.create — workspace visibility defaults', () => {
+ it("defaults a top-level workspace document to 'private'", async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const created = await callerA.create({
+ fileType: 'text/plain',
+ source: 'inline',
+ sourceType: 'api',
+ title: 'top-level',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ expect(created.visibility).toBe('private');
+ });
+
+ it('inherits the parent visibility for a nested document', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const root = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'private-root',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ expect(root.visibility).toBe('private');
+
+ const child = await callerA.create({
+ fileType: 'text/plain',
+ parentId: root.id,
+ source: 'inline',
+ sourceType: 'api',
+ title: 'inherited-child',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ expect(child.visibility).toBe('private');
+ });
+
+ it('honors an explicit visibility override at the top level', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const created = await callerA.create({
+ fileType: 'text/plain',
+ source: 'inline',
+ sourceType: 'api',
+ title: 'explicit-public',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ visibility: 'public',
+ });
+ expect(created.visibility).toBe('public');
+ });
+});
+
+describe('DocumentModel.publishToWorkspace', () => {
+ it('cascades the whole subtree to public in a single transaction', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const root = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'pub-root',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ const child = await callerA.create({
+ fileType: 'text/plain',
+ parentId: root.id,
+ source: 'inline',
+ sourceType: 'api',
+ title: 'pub-child',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ const grandchild = await callerA.create({
+ fileType: 'text/plain',
+ parentId: child.id,
+ source: 'inline',
+ sourceType: 'api',
+ title: 'pub-grandchild',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ expect(root.visibility).toBe('private');
+ expect(child.visibility).toBe('private');
+ expect(grandchild.visibility).toBe('private');
+
+ const result = await callerA.publishToWorkspace(root.id);
+ expect(result.documentIds.sort()).toEqual([root.id, child.id, grandchild.id].sort());
+
+ for (const id of [root.id, child.id, grandchild.id]) {
+ const row = await callerA.findById(id);
+ expect(row?.visibility).toBe('public');
+ }
+ });
+
+ it("refuses to flip another user's private subtree", async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const ownerRoot = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'owner-root',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+
+ const callerB = new DocumentModel(serverDB, userB, workspaceId);
+ // B can't even find the row through ownership, so publish surfaces a
+ // not-found error rather than rewriting A's data.
+ await expect(callerB.publishToWorkspace(ownerRoot.id)).rejects.toThrow(/not found/i);
+
+ const row = await callerA.findById(ownerRoot.id);
+ expect(row?.visibility).toBe('private');
+ });
+
+ it('leaves already-public descendants untouched (idempotent)', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const root = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'mixed-root',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ await callerA.publishToWorkspace(root.id);
+
+ const updatedRoot = await callerA.findById(root.id);
+ expect(updatedRoot?.visibility).toBe('public');
+
+ // Second publish is a no-op (visibility=public guard filters everything out).
+ const result = await callerA.publishToWorkspace(root.id);
+ expect(result.documentIds).toEqual([root.id]);
+ });
+});
+
+describe('DocumentModel.update — workspace parent-id move guard', () => {
+ it('rejects moving a private document under a workspace parent (use publish instead)', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const privateRoot = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'private-root-to-move',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ const publicRoot = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'public-root',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ visibility: 'public',
+ });
+
+ await expect(callerA.update(privateRoot.id, { parentId: publicRoot.id })).rejects.toThrow(
+ /publishToWorkspace/,
+ );
+ });
+
+ it('rejects moving a workspace document under a private parent (no demote)', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const privateRoot = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'private-root-target',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ const publicRoot = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'public-root-to-move',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ visibility: 'public',
+ });
+
+ await expect(callerA.update(publicRoot.id, { parentId: privateRoot.id })).rejects.toThrow(
+ /demoting/i,
+ );
+ });
+
+ it('allows moving within the same visibility bucket', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const oldParent = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'old-private-parent',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ const newParent = await callerA.create({
+ fileType: 'custom/folder',
+ source: '',
+ sourceType: 'api',
+ title: 'new-private-parent',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ const child = await callerA.create({
+ fileType: 'text/plain',
+ parentId: oldParent.id,
+ source: 'inline',
+ sourceType: 'api',
+ title: 'moving-child',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+
+ await expect(callerA.update(child.id, { parentId: newParent.id })).resolves.toBeDefined();
+ const moved = await callerA.findById(child.id);
+ expect(moved?.parentId).toBe(newParent.id);
+ });
+
+ it('strips visibility from update inputs', async () => {
+ const callerA = new DocumentModel(serverDB, userA, workspaceId);
+ const doc = await callerA.create({
+ fileType: 'text/plain',
+ source: 'inline',
+ sourceType: 'api',
+ title: 'visibility-strip',
+ totalCharCount: 0,
+ totalLineCount: 0,
+ });
+ expect(doc.visibility).toBe('private');
+
+ // visibility should be silently dropped — publish is the only legal path
+ await callerA.update(doc.id, { visibility: 'public' } as never);
+ const reread = await callerA.findById(doc.id);
+ expect(reread?.visibility).toBe('private');
+ });
+});
diff --git a/packages/database/src/models/__tests__/file.test.ts b/packages/database/src/models/__tests__/file.test.ts
index e9265fd33dc..0c42c010465 100644
--- a/packages/database/src/models/__tests__/file.test.ts
+++ b/packages/database/src/models/__tests__/file.test.ts
@@ -1895,4 +1895,82 @@ describe('FileModel', () => {
).rejects.toThrow('File not found');
});
});
+
+ describe('publishToWorkspace', () => {
+ const wsId = 'publish-ws';
+ const wsFileModel = new FileModel(serverDB, userId, wsId);
+
+ beforeEach(async () => {
+ await serverDB.insert(workspaces).values({
+ id: wsId,
+ name: 'Publish WS',
+ slug: 'publish-ws',
+ primaryOwnerId: userId,
+ });
+ });
+
+ it('should flip the creator’s own private file to public', async () => {
+ await serverDB.insert(files).values({
+ id: 'priv-file-1',
+ name: 'priv.txt',
+ fileType: 'text/plain',
+ size: 10,
+ url: 'k-priv',
+ userId,
+ workspaceId: wsId,
+ visibility: 'private',
+ });
+
+ await wsFileModel.publishToWorkspace('priv-file-1');
+
+ const file = await serverDB.query.files.findFirst({
+ where: eq(files.id, 'priv-file-1'),
+ });
+ expect(file?.visibility).toBe('public');
+ });
+
+ it('should leave already-public files untouched (no-op when the row is not private)', async () => {
+ await serverDB.insert(files).values({
+ id: 'pub-file-1',
+ name: 'pub.txt',
+ fileType: 'text/plain',
+ size: 10,
+ url: 'k-pub',
+ userId,
+ workspaceId: wsId,
+ visibility: 'public',
+ });
+ const before = await serverDB.query.files.findFirst({
+ where: eq(files.id, 'pub-file-1'),
+ });
+
+ await wsFileModel.publishToWorkspace('pub-file-1');
+
+ const after = await serverDB.query.files.findFirst({
+ where: eq(files.id, 'pub-file-1'),
+ });
+ expect(after?.visibility).toBe('public');
+ expect(after?.updatedAt).toEqual(before?.updatedAt);
+ });
+
+ it('should refuse to publish another member’s private file', async () => {
+ await serverDB.insert(files).values({
+ id: 'others-priv-file',
+ name: 'others.txt',
+ fileType: 'text/plain',
+ size: 10,
+ url: 'k-others',
+ userId: 'user2',
+ workspaceId: wsId,
+ visibility: 'private',
+ });
+
+ await wsFileModel.publishToWorkspace('others-priv-file');
+
+ const file = await serverDB.query.files.findFirst({
+ where: eq(files.id, 'others-priv-file'),
+ });
+ expect(file?.visibility).toBe('private');
+ });
+ });
});
diff --git a/packages/database/src/models/__tests__/generation.test.ts b/packages/database/src/models/__tests__/generation.test.ts
index f04cc9a2b90..7a171c392ad 100644
--- a/packages/database/src/models/__tests__/generation.test.ts
+++ b/packages/database/src/models/__tests__/generation.test.ts
@@ -214,6 +214,41 @@ describe('GenerationModel', () => {
const result = await generationModel.findById(otherUserGeneration.id);
expect(result).toBeUndefined();
});
+
+ it('should not find generations from another member private workspace topic', async () => {
+ await serverDB.insert(generationTopics).values({
+ id: 'private-workspace-topic',
+ title: 'Private Workspace Topic',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ });
+ const [batch] = await serverDB
+ .insert(generationBatches)
+ .values({
+ ...testBatch,
+ id: 'private-workspace-batch',
+ generationTopicId: 'private-workspace-topic',
+ userId,
+ workspaceId,
+ })
+ .returning();
+ const [generation] = await serverDB
+ .insert(generations)
+ .values({
+ ...testGeneration,
+ generationBatchId: batch.id,
+ userId,
+ workspaceId,
+ })
+ .returning();
+
+ const otherMemberModel = new GenerationModel(serverDB, otherUserId, workspaceId);
+ const result = await otherMemberModel.findById(generation.id);
+
+ expect(result).toBeUndefined();
+ });
});
describe('findByIdWithAsyncTask', () => {
@@ -250,6 +285,41 @@ describe('GenerationModel', () => {
const result = await generationModel.findByIdWithAsyncTask(otherUserGeneration.id);
expect(result).toBeUndefined();
});
+
+ it('should not find generations with async task from another member private workspace topic', async () => {
+ await serverDB.insert(generationTopics).values({
+ id: 'private-workspace-topic-with-task',
+ title: 'Private Workspace Topic with Task',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ });
+ const [batch] = await serverDB
+ .insert(generationBatches)
+ .values({
+ ...testBatch,
+ id: 'private-workspace-batch-with-task',
+ generationTopicId: 'private-workspace-topic-with-task',
+ userId,
+ workspaceId,
+ })
+ .returning();
+ const [generation] = await serverDB
+ .insert(generations)
+ .values({
+ ...testGeneration,
+ generationBatchId: batch.id,
+ userId,
+ workspaceId,
+ })
+ .returning();
+
+ const otherMemberModel = new GenerationModel(serverDB, otherUserId, workspaceId);
+ const result = await otherMemberModel.findByIdWithAsyncTask(generation.id);
+
+ expect(result).toBeUndefined();
+ });
});
describe('update', () => {
@@ -345,7 +415,7 @@ describe('GenerationModel', () => {
newFileData,
);
- expect(result.file.id).toBe('new-file-id');
+ expect(result?.file.id).toBe('new-file-id');
expect(mockFileModelCreate).toHaveBeenCalledWith(
{
...newFileData,
@@ -427,6 +497,64 @@ describe('GenerationModel', () => {
expect(unchanged?.asset).toBeNull();
expect(unchanged?.fileId).toBeNull();
});
+
+ it('should create generated files with private visibility when the workspace topic is private', async () => {
+ await serverDB.insert(generationTopics).values({
+ id: 'private-workspace-topic-for-file',
+ title: 'Private Workspace Topic for File',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ });
+ const [batch] = await serverDB
+ .insert(generationBatches)
+ .values({
+ ...testBatch,
+ id: 'private-workspace-batch-for-file',
+ generationTopicId: 'private-workspace-topic-for-file',
+ userId,
+ workspaceId,
+ })
+ .returning();
+ const [createdGeneration] = await serverDB
+ .insert(generations)
+ .values({
+ ...testGeneration,
+ asset: null,
+ fileId: null,
+ generationBatchId: batch.id,
+ userId,
+ workspaceId,
+ })
+ .returning();
+
+ const workspaceModel = new GenerationModel(serverDB, userId, workspaceId);
+ const newAsset = {
+ url: 'private-asset.jpg',
+ thumbnailUrl: 'private-thumbnail.jpg',
+ width: 2048,
+ height: 2048,
+ } as ImageGenerationAsset;
+ const newFileData = {
+ fileType: 'image/jpeg',
+ name: 'private-generated-image.jpg',
+ size: 2097152,
+ url: 'private-asset.jpg',
+ };
+
+ await workspaceModel.createAssetAndFile(createdGeneration.id, newAsset, newFileData);
+
+ expect(mockFileModelCreate).toHaveBeenCalledWith(
+ {
+ ...newFileData,
+ source: FileSource.ImageGeneration,
+ visibility: 'private',
+ },
+ true,
+ expect.any(Object),
+ );
+ });
});
describe('delete', () => {
diff --git a/packages/database/src/models/__tests__/generationBatch.test.ts b/packages/database/src/models/__tests__/generationBatch.test.ts
index ca9491ebb47..3a7f0feae7c 100644
--- a/packages/database/src/models/__tests__/generationBatch.test.ts
+++ b/packages/database/src/models/__tests__/generationBatch.test.ts
@@ -6,7 +6,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { getTestDB } from '../../core/getTestDB';
import type { NewGenerationBatch } from '../../schemas';
-import { generationBatches, generations, generationTopics, users } from '../../schemas';
+import { generationBatches, generations, generationTopics, users, workspaces } from '../../schemas';
import type { LobeChatDatabase } from '../../type';
import { GenerationBatchModel } from '../generationBatch';
@@ -30,6 +30,7 @@ vi.mock('../generation', () => ({
const userId = 'generation-batch-test-user-id';
const otherUserId = 'other-user-id';
+const workspaceId = 'generation-batch-workspace';
const generationBatchModel = new GenerationBatchModel(serverDB, userId);
// Test data
@@ -98,6 +99,12 @@ beforeEach(async () => {
// Clear database and create test users
await serverDB.delete(users);
await serverDB.insert(users).values([{ id: userId }, { id: otherUserId }]);
+ await serverDB.insert(workspaces).values({
+ id: workspaceId,
+ name: 'Generation Batch Workspace',
+ primaryOwnerId: userId,
+ slug: workspaceId,
+ });
// Create test topic
await serverDB.insert(generationTopics).values(testTopic);
@@ -220,6 +227,29 @@ describe('GenerationBatchModel', () => {
const results = await generationBatchModel.findByTopicId('non-existent-topic');
expect(results).toHaveLength(0);
});
+
+ it('should not return batches from another member private workspace topic', async () => {
+ await serverDB.insert(generationTopics).values({
+ id: 'private-topic-in-workspace',
+ title: 'Private Workspace Topic',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ });
+ await serverDB.insert(generationBatches).values({
+ ...testBatch,
+ id: 'private-topic-batch',
+ generationTopicId: 'private-topic-in-workspace',
+ userId,
+ workspaceId,
+ });
+
+ const otherMemberModel = new GenerationBatchModel(serverDB, otherUserId, workspaceId);
+ const results = await otherMemberModel.findByTopicId('private-topic-in-workspace');
+
+ expect(results).toHaveLength(0);
+ });
});
describe('findByTopicIdWithGenerations', () => {
@@ -305,6 +335,40 @@ describe('GenerationBatchModel', () => {
expect(results).toHaveLength(1);
expect(results[0].id).toBe(userBatch.id);
});
+
+ it('should not include batches when the parent workspace topic is private to another member', async () => {
+ await serverDB.insert(generationTopics).values({
+ id: 'private-topic-with-generations',
+ title: 'Private Topic with Generations',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ });
+ const [createdBatch] = await serverDB
+ .insert(generationBatches)
+ .values({
+ ...testBatch,
+ id: 'private-topic-with-generations-batch',
+ generationTopicId: 'private-topic-with-generations',
+ userId,
+ workspaceId,
+ })
+ .returning();
+ await serverDB.insert(generations).values({
+ ...testGeneration,
+ generationBatchId: createdBatch.id,
+ userId,
+ workspaceId,
+ });
+
+ const otherMemberModel = new GenerationBatchModel(serverDB, otherUserId, workspaceId);
+ const results = await otherMemberModel.findByTopicIdWithGenerations(
+ 'private-topic-with-generations',
+ );
+
+ expect(results).toHaveLength(0);
+ });
});
describe('queryGenerationBatchesByTopicIdWithGenerations', () => {
@@ -644,6 +708,36 @@ describe('GenerationBatchModel', () => {
});
expect(stillExists).toBeDefined();
});
+
+ it('should not delete a batch from another member private workspace topic', async () => {
+ await serverDB.insert(generationTopics).values({
+ id: 'private-topic-delete',
+ title: 'Private Topic Delete',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ });
+ const [createdBatch] = await serverDB
+ .insert(generationBatches)
+ .values({
+ ...testBatch,
+ id: 'private-topic-delete-batch',
+ generationTopicId: 'private-topic-delete',
+ userId,
+ workspaceId,
+ })
+ .returning();
+
+ const otherMemberModel = new GenerationBatchModel(serverDB, otherUserId, workspaceId);
+ const result = await otherMemberModel.delete(createdBatch.id);
+
+ expect(result).toBeUndefined();
+ const stillExists = await serverDB.query.generationBatches.findFirst({
+ where: eq(generationBatches.id, createdBatch.id),
+ });
+ expect(stillExists).toBeDefined();
+ });
});
describe('user isolation security tests', () => {
diff --git a/packages/database/src/models/__tests__/generationTopic.test.ts b/packages/database/src/models/__tests__/generationTopic.test.ts
index a43a89efd5c..f4ad7ec0a5d 100644
--- a/packages/database/src/models/__tests__/generationTopic.test.ts
+++ b/packages/database/src/models/__tests__/generationTopic.test.ts
@@ -4,7 +4,7 @@ import { eq } from 'drizzle-orm';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { getTestDB } from '../../core/getTestDB';
-import { generationBatches, generations, generationTopics, users } from '../../schemas';
+import { generationBatches, generations, generationTopics, users, workspaces } from '../../schemas';
import type { LobeChatDatabase } from '../../type';
import { GenerationTopicModel } from '../generationTopic';
@@ -20,11 +20,18 @@ const serverDB: LobeChatDatabase = await getTestDB();
const userId = 'generation-topic-test-user';
const otherUserId = 'other-user';
+const workspaceId = 'generation-topic-workspace';
const generationTopicModel = new GenerationTopicModel(serverDB, userId);
beforeEach(async () => {
await serverDB.delete(users);
await serverDB.insert(users).values([{ id: userId }, { id: otherUserId }]);
+ await serverDB.insert(workspaces).values({
+ id: workspaceId,
+ name: 'Generation Topic Workspace',
+ primaryOwnerId: userId,
+ slug: workspaceId,
+ });
// Reset mocks before each test
vi.clearAllMocks();
@@ -63,6 +70,20 @@ describe('GenerationTopicModel', () => {
expect(result.title).toBe('');
expect(result.userId).toBe(userId);
});
+
+ it('should create workspace topics as private by default', async () => {
+ const workspaceModel = new GenerationTopicModel(serverDB, userId, workspaceId);
+
+ const result = await workspaceModel.create('Workspace Private Topic');
+
+ expect(result.workspaceId).toBe(workspaceId);
+ expect(result.visibility).toBe('private');
+
+ const topic = await serverDB.query.generationTopics.findFirst({
+ where: eq(generationTopics.id, result.id),
+ });
+ expect(topic?.visibility).toBe('private');
+ });
});
describe('queryAll', () => {
@@ -173,6 +194,43 @@ describe('GenerationTopicModel', () => {
const result = await generationTopicModel.queryAll();
expect(result).toHaveLength(0);
});
+
+ it('should hide other members private workspace topics while keeping public topics visible', async () => {
+ await serverDB.insert(generationTopics).values([
+ {
+ id: 'own-private-topic',
+ title: 'Own Private Topic',
+ type: 'image',
+ userId,
+ visibility: 'private',
+ workspaceId,
+ },
+ {
+ id: 'other-private-topic',
+ title: 'Other Private Topic',
+ type: 'image',
+ userId: otherUserId,
+ visibility: 'private',
+ workspaceId,
+ },
+ {
+ id: 'workspace-public-topic',
+ title: 'Workspace Public Topic',
+ type: 'image',
+ userId: otherUserId,
+ visibility: 'public',
+ workspaceId,
+ },
+ ]);
+
+ const workspaceModel = new GenerationTopicModel(serverDB, userId, workspaceId);
+ const result = await workspaceModel.queryAll('image');
+
+ expect(result.map((topic) => topic.id).toSorted()).toEqual([
+ 'own-private-topic',
+ 'workspace-public-topic',
+ ]);
+ });
});
describe('update', () => {
@@ -180,7 +238,7 @@ describe('GenerationTopicModel', () => {
// Create a test topic
const { id } = await generationTopicModel.create('Original Title');
- const updateData: Partial<ImageGenerationTopic> = {
+ const updateData: Pick<Partial<ImageGenerationTopic>, 'coverUrl' | 'title'> = {
title: 'Updated Title',
coverUrl: 'new-cover-key',
};
@@ -207,7 +265,7 @@ describe('GenerationTopicModel', () => {
.values({ id: 'other-topic', userId: otherUserId, title: 'Other User Topic' })
.returning();
- const updateData: Partial<ImageGenerationTopic> = {
+ const updateData: Pick<Partial<ImageGenerationTopic>, 'coverUrl' | 'title'> = {
title: 'Hacked Title',
};
diff --git a/packages/database/src/models/__tests__/knowledgeBase.test.ts b/packages/database/src/models/__tests__/knowledgeBase.test.ts
index 069d7c6b707..23237a097c6 100644
--- a/packages/database/src/models/__tests__/knowledgeBase.test.ts
+++ b/packages/database/src/models/__tests__/knowledgeBase.test.ts
@@ -1181,4 +1181,110 @@ describe('KnowledgeBaseModel', () => {
});
});
});
+
+ describe('workspace visibility', () => {
+ const wsId = 'knowledge-base-ws';
+ const ownerModel = new KnowledgeBaseModel(serverDB, userId, wsId);
+ const memberModel = new KnowledgeBaseModel(serverDB, 'user2', wsId);
+
+ beforeEach(async () => {
+ await createWorkspace(wsId, wsId);
+ });
+
+ afterEach(async () => {
+ await serverDB.delete(workspaces).where(eq(workspaces.id, wsId));
+ });
+
+ describe('query with visibility filter', () => {
+ it('should limit the result set to private rows when visibility=private is requested', async () => {
+ await ownerModel.create({ name: 'Owner Private KB', visibility: 'private' });
+ await ownerModel.create({ name: 'Owner Public KB', visibility: 'public' });
+
+ const result = await ownerModel.query({ visibility: 'private' });
+ const names = result.map((kb) => kb.name);
+
+ expect(names).toContain('Owner Private KB');
+ expect(names).not.toContain('Owner Public KB');
+ });
+
+ it('should limit the result set to public rows when visibility=public is requested', async () => {
+ await ownerModel.create({ name: 'Owner Private KB', visibility: 'private' });
+ await ownerModel.create({ name: 'Owner Public KB', visibility: 'public' });
+
+ const result = await ownerModel.query({ visibility: 'public' });
+ const names = result.map((kb) => kb.name);
+
+ expect(names).toContain('Owner Public KB');
+ expect(names).not.toContain('Owner Private KB');
+ });
+
+ it('should hide other members’ private rows from a public-agent caller', async () => {
+ await ownerModel.create({ name: 'Owner Private KB', visibility: 'private' });
+ await ownerModel.create({ name: 'Owner Public KB', visibility: 'public' });
+ await memberModel.create({ name: 'Member Private KB', visibility: 'private' });
+
+ const seenByMemberViaPublicAgent = await memberModel.query({
+ callerAgentVisibility: 'public',
+ });
+ const names = seenByMemberViaPublicAgent.map((kb) => kb.name);
+
+ expect(names).toContain('Owner Public KB');
+ expect(names).not.toContain('Owner Private KB');
+ expect(names).not.toContain('Member Private KB');
+ });
+
+ it('should still let a private-agent caller see their own private rows', async () => {
+ await ownerModel.create({ name: 'Owner Private KB', visibility: 'private' });
+ await memberModel.create({ name: 'Member Private KB', visibility: 'private' });
+
+ const seenByMemberViaPrivateAgent = await memberModel.query({
+ callerAgentVisibility: 'private',
+ });
+ const names = seenByMemberViaPrivateAgent.map((kb) => kb.name);
+
+ expect(names).toContain('Member Private KB');
+ expect(names).not.toContain('Owner Private KB');
+ });
+ });
+
+ describe('publishToWorkspace', () => {
+ it('should flip the creator’s own private KB to public', async () => {
+ const created = await ownerModel.create({ name: 'To Publish', visibility: 'private' });
+
+ await ownerModel.publishToWorkspace(created.id);
+
+ const row = await serverDB.query.knowledgeBases.findFirst({
+ where: eq(knowledgeBases.id, created.id),
+ });
+ expect(row?.visibility).toBe('public');
+ });
+
+ it('should be a no-op when the KB is already public', async () => {
+ const created = await ownerModel.create({ name: 'Already Public', visibility: 'public' });
+ const before = await serverDB.query.knowledgeBases.findFirst({
+ where: eq(knowledgeBases.id, created.id),
+ });
+
+ await ownerModel.publishToWorkspace(created.id);
+
+ const after = await serverDB.query.knowledgeBases.findFirst({
+ where: eq(knowledgeBases.id, created.id),
+ });
+ expect(after?.visibility).toBe('public');
+ expect(after?.updatedAt).toEqual(before?.updatedAt);
+ });
+
+ it('should refuse to publish another member’s private KB', async () => {
+ const owned = await ownerModel.create({ name: 'Owner Private KB', visibility: 'private' });
+
+ await memberModel.publishToWorkspace(owned.id);
+
+ const row = await serverDB.query.knowledgeBases.findFirst({
+ where: eq(knowledgeBases.id, owned.id),
+ });
+ expect(row?.visibility).toBe('private');
+ expect(row?.userId).toBe(userId);
+ });
+ });
+ });
});
diff --git a/packages/database/src/models/__tests__/sessionGroup.test.ts b/packages/database/src/models/__tests__/sessionGroup.test.ts
index b88dd75a186..4dfaf8adbcf 100644
--- a/packages/database/src/models/__tests__/sessionGroup.test.ts
+++ b/packages/database/src/models/__tests__/sessionGroup.test.ts
@@ -3,7 +3,7 @@ import { eq } from 'drizzle-orm';
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { getTestDB } from '../../core/getTestDB';
-import { sessionGroups, users } from '../../schemas';
+import { sessionGroups, users, workspaces } from '../../schemas';
import type { LobeChatDatabase } from '../../type';
import { SessionGroupModel } from '../sessionGroup';
@@ -146,4 +146,130 @@ describe('SessionGroupModel', () => {
expect(updatedGroup2?.sort).toBe(4);
});
});
+
+ describe('workspace visibility', () => {
+ const wsId = 'session-group-ws';
+ const ownerId = userId;
+ const memberId = 'user2';
+ const ownerModel = new SessionGroupModel(serverDB, ownerId, wsId);
+ const memberModel = new SessionGroupModel(serverDB, memberId, wsId);
+
+ beforeEach(async () => {
+ await serverDB.insert(workspaces).values({
+ id: wsId,
+ name: 'Session Group WS',
+ slug: 'session-group-ws',
+ primaryOwnerId: ownerId,
+ });
+ });
+
+ afterEach(async () => {
+ await serverDB.delete(workspaces).where(eq(workspaces.id, wsId));
+ });
+
+ describe('create with visibility', () => {
+ it('should persist private visibility when explicitly requested', async () => {
+ const result = await ownerModel.create({ name: 'Private Folder', visibility: 'private' });
+
+ const row = await serverDB.query.sessionGroups.findFirst({
+ where: eq(sessionGroups.id, result.id),
+ });
+ expect(row?.visibility).toBe('private');
+ expect(row?.workspaceId).toBe(wsId);
+ expect(row?.userId).toBe(ownerId);
+ });
+
+ it('should default to public visibility when omitted', async () => {
+ const result = await ownerModel.create({ name: 'Public Folder' });
+
+ const row = await serverDB.query.sessionGroups.findFirst({
+ where: eq(sessionGroups.id, result.id),
+ });
+ expect(row?.visibility).toBe('public');
+ });
+ });
+
+ describe('ownership visibility filter', () => {
+ it('should let another member see public folders but not the owner’s private folder', async () => {
+ const ownerPrivate = await ownerModel.create({
+ name: 'Owner Private',
+ visibility: 'private',
+ });
+ const ownerPublic = await ownerModel.create({
+ name: 'Owner Public',
+ visibility: 'public',
+ });
+ const memberPrivate = await memberModel.create({
+ name: 'Member Private',
+ visibility: 'private',
+ });
+
+ const seenByMember = await memberModel.query();
+ const ids = seenByMember.map((row) => row.id).sort();
+
+ expect(ids).toContain(ownerPublic.id);
+ expect(ids).toContain(memberPrivate.id);
+ expect(ids).not.toContain(ownerPrivate.id);
+ });
+
+ it('should return undefined when a member reads another member’s private folder by id', async () => {
+ const ownerPrivate = await ownerModel.create({
+ name: 'Owner Private',
+ visibility: 'private',
+ });
+
+ const found = await memberModel.findById(ownerPrivate.id);
+ expect(found).toBeUndefined();
+ });
+ });
+
+ describe('publishToWorkspace', () => {
+ it('should flip the creator’s own private folder to public', async () => {
+ const created = await ownerModel.create({
+ name: 'To Publish',
+ visibility: 'private',
+ });
+
+ await ownerModel.publishToWorkspace(created.id);
+
+ const row = await serverDB.query.sessionGroups.findFirst({
+ where: eq(sessionGroups.id, created.id),
+ });
+ expect(row?.visibility).toBe('public');
+ });
+
+ it('should be a no-op when the row is already public', async () => {
+ const created = await ownerModel.create({
+ name: 'Already Public',
+ visibility: 'public',
+ });
+ const before = await serverDB.query.sessionGroups.findFirst({
+ where: eq(sessionGroups.id, created.id),
+ });
+
+ await ownerModel.publishToWorkspace(created.id);
+
+ const after = await serverDB.query.sessionGroups.findFirst({
+ where: eq(sessionGroups.id, created.id),
+ });
+ expect(after?.visibility).toBe('public');
+ expect(after?.updatedAt).toEqual(before?.updatedAt);
+ });
+
+ it('should refuse to publish another member’s private folder', async () => {
+ const owned = await ownerModel.create({
+ name: 'Owner Private',
+ visibility: 'private',
+ });
+
+ await memberModel.publishToWorkspace(owned.id);
+
+ const row = await serverDB.query.sessionGroups.findFirst({
+ where: eq(sessionGroups.id, owned.id),
+ });
+ expect(row?.visibility).toBe('private');
+ expect(row?.userId).toBe(ownerId);
+ });
+ });
+ });
});
diff --git a/packages/database/src/models/__tests__/task.test.ts b/packages/database/src/models/__tests__/task.test.ts
index 90bf2f8f132..297c3bd38d8 100644
--- a/packages/database/src/models/__tests__/task.test.ts
+++ b/packages/database/src/models/__tests__/task.test.ts
@@ -4,6 +4,7 @@ import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { getTestDB } from '../../core/getTestDB';
import { agents, briefs, documents, tasks, topics, users, workspaces } from '../../schemas';
+import { taskTopics } from '../../schemas/task';
import type { LobeChatDatabase } from '../../type';
import { TaskModel } from '../task';
@@ -1817,4 +1818,327 @@ describe('TaskModel', () => {
expect(cloned!.workspaceId).toBeNull();
});
});
+
+ describe('visibility', () => {
+ const wsId = 'task-visibility-ws';
+
+ beforeEach(async () => {
+ await serverDB
+ .insert(workspaces)
+ .values({
+ id: wsId,
+ name: 'Visibility WS',
+ primaryOwnerId: userId,
+ slug: wsId,
+ })
+ .onConflictDoNothing();
+ });
+
+ it('should default new tasks to public', async () => {
+ const ws = new TaskModel(serverDB, userId, wsId);
+ const task = await ws.create({ instruction: 'Public default' });
+ expect(task.visibility).toBe('public');
+ });
+
+ it('should persist explicit private visibility on create', async () => {
+ const ws = new TaskModel(serverDB, userId, wsId);
+ const task = await ws.create({
+ instruction: 'Private task',
+ visibility: 'private',
+ });
+ expect(task.visibility).toBe('private');
+ });
+
+ it('should hide private tasks from other workspace members in list', async () => {
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const privateTask = await alice.create({
+ instruction: 'Alice secret',
+ visibility: 'private',
+ });
+ const sharedTask = await alice.create({
+ instruction: 'Alice public',
+ visibility: 'public',
+ });
+
+ const aliceList = await alice.list();
+ const aliceIds = aliceList.tasks.map((t) => t.id).sort();
+ expect(aliceIds).toEqual([privateTask.id, sharedTask.id].sort());
+
+ const bobList = await bob.list();
+ const bobIds = bobList.tasks.map((t) => t.id);
+ expect(bobIds).toEqual([sharedTask.id]);
+ });
+
+ it('should hide private tasks from other workspace members in findById', async () => {
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const privateTask = await alice.create({
+ instruction: 'Alice secret',
+ visibility: 'private',
+ });
+
+ expect(await alice.findById(privateTask.id)).not.toBeNull();
+ expect(await bob.findById(privateTask.id)).toBeNull();
+ });
+
+ it('should cascade updateVisibility to descendants and child tables', async () => {
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const root = await alice.create({
+ instruction: 'Root',
+ visibility: 'private',
+ });
+ const child = await alice.create({
+ instruction: 'Child',
+ parentTaskId: root.id,
+ visibility: 'private',
+ });
+ await alice.addDependency(root.id, child.id, 'blocks');
+
+ // Sanity check: Bob can't see the private subtree
+ expect((await bob.list()).total).toBe(0);
+
+ const promoted = await alice.updateVisibility(root.id, 'public');
+ expect(promoted?.visibility).toBe('public');
+
+ const aliceChild = await alice.findById(child.id);
+ expect(aliceChild?.visibility).toBe('public');
+
+ // Bob now sees both
+ const bobList = await bob.list();
+ expect(bobList.tasks.map((t) => t.id).sort()).toEqual([root.id, child.id].sort());
+
+ // Dependency row also flipped to public
+ const deps = await alice.getDependencies(root.id);
+ expect(deps).toHaveLength(1);
+ expect(deps[0].visibility).toBe('public');
+ });
+
+ it('should reject updateVisibility for tasks not visible to the caller', async () => {
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const aliceTask = await alice.create({
+ instruction: 'Alice secret',
+ visibility: 'private',
+ });
+
+ const result = await bob.updateVisibility(aliceTask.id, 'public');
+ expect(result).toBeNull();
+ const reload = await alice.findById(aliceTask.id);
+ expect(reload?.visibility).toBe('private');
+ });
+
+ it('should return the row when demoting another member’s public task to private', async () => {
+ // Regression: the post-update SELECT used to filter by `ownership()`,
+ // which evaluates against the new row state. Bob (acting as workspace
+ // owner after the TRPC-layer override) demoting Alice's public task to
+ // private would write the row but then fail to read it back (new state:
+ // visibility=private, createdBy=Alice), so the model returned null and
+ // the TRPC procedure surfaced a spurious NOT_FOUND while the DB row had
+ // actually been mutated.
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const aliceTask = await alice.create({
+ instruction: 'Alice public',
+ visibility: 'public',
+ });
+
+ const result = await bob.updateVisibility(aliceTask.id, 'private');
+ expect(result).not.toBeNull();
+ expect(result?.visibility).toBe('private');
+ expect(result?.createdByUserId).toBe(userId);
+
+ // DB state matches the returned row (no silent mutation drift).
+ const reload = await alice.findById(aliceTask.id);
+ expect(reload?.visibility).toBe('private');
+ });
+
+ it('should keep personal-mode behavior unchanged', async () => {
+ const personal = new TaskModel(serverDB, userId);
+ const task = await personal.create({ instruction: 'Personal' });
+ // Personal-mode rows default to public via the column default, but the
+ // ownership filter ignores visibility (everything personal is implicitly
+ // owner-only). Each user only sees their own personal tasks.
+ expect(task.visibility).toBe('public');
+
+ const other = new TaskModel(serverDB, userId2);
+ expect((await other.list()).total).toBe(0);
+ });
+
+ it('should hide private task comments from other workspace members', async () => {
+ // LOBE-10962 #2: comments inherit task visibility on insert and are
+ // filtered by commentsOwnership on read.
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const privateTask = await alice.create({
+ instruction: 'Alice secret',
+ visibility: 'private',
+ });
+ const publicTask = await alice.create({ instruction: 'Alice public', visibility: 'public' });
+
+ await alice.addComment({
+ authorUserId: userId,
+ content: 'private comment',
+ taskId: privateTask.id,
+ userId,
+ });
+ await alice.addComment({
+ authorUserId: userId,
+ content: 'public comment',
+ taskId: publicTask.id,
+ userId,
+ });
+
+ // Alice sees both
+ expect(await alice.getComments(privateTask.id)).toHaveLength(1);
+ expect(await alice.getComments(publicTask.id)).toHaveLength(1);
+
+ // Bob only sees the public one (private task is invisible to him so
+ // getComments still falls through ownership filtering)
+ expect(await bob.getComments(privateTask.id)).toHaveLength(0);
+ expect(await bob.getComments(publicTask.id)).toHaveLength(1);
+ });
+
+ it('should NOT cascade updateVisibility into historical task_comments (LOBE-11028)', async () => {
+ // Comments are event-shaped historical rows whose visibility is fixed at
+ // write time. Promoting the parent task to public must not retroactively
+ // expose discussions that took place while the task was private — that
+ // would let other workspace members read messages the commenter intended
+ // for the private context. Comments written *after* promotion inherit
+ // 'public' through their own create path and surface normally.
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const task = await alice.create({
+ instruction: 'will be promoted',
+ visibility: 'private',
+ });
+ await alice.addComment({
+ authorUserId: userId,
+ content: 'private-era thoughts',
+ taskId: task.id,
+ userId,
+ });
+
+ // Bob can't see the private task or its comments
+ expect(await bob.getComments(task.id)).toHaveLength(0);
+
+ await alice.updateVisibility(task.id, 'public');
+
+ // Task is public now (Bob sees it), but the historical comment stays
+ // hidden — its row still has visibility='private'.
+ expect((await bob.list()).tasks.map((t) => t.id)).toContain(task.id);
+ expect(await bob.getComments(task.id)).toHaveLength(0);
+ // Owner (Alice) of course still sees her own comment.
+ expect(await alice.getComments(task.id)).toHaveLength(1);
+
+ // A new comment written after promotion inherits 'public' and is
+ // visible to Bob — the non-cascade only protects the past, not the
+ // future.
+ await alice.addComment({
+ authorUserId: userId,
+ content: 'post-promotion ping',
+ taskId: task.id,
+ userId,
+ });
+ expect(await bob.getComments(task.id)).toHaveLength(1);
+ });
+
+ it('should NOT cascade updateVisibility into historical task_topics (LOBE-11028)', async () => {
+ // Same rationale as comments: a task_topics row records one run of the
+ // task. Its visibility is fixed at write time; promoting the task to
+ // public must not retroactively expose runs (transcripts, handoffs,
+ // review scores) created while the task was private.
+ const alice = new TaskModel(serverDB, userId, wsId);
+
+ const task = await alice.create({
+ instruction: 'will be promoted',
+ visibility: 'private',
+ });
+
+ // Seed a historical run row directly — no model API for taskTopics
+ // outside the runtime path, and inserting raw is precise enough for
+ // asserting the non-cascade invariant.
+ const historicalTopicId = await createTopic('historical-run-topic-id');
+ await serverDB.insert(taskTopics).values({
+ seq: 1,
+ status: 'completed',
+ taskId: task.id,
+ topicId: historicalTopicId,
+ userId,
+ visibility: 'private',
+ workspaceId: wsId,
+ });
+
+ await alice.updateVisibility(task.id, 'public');
+
+ // Task itself is public now.
+ expect((await alice.findById(task.id))?.visibility).toBe('public');
+
+ // But the historical run row keeps its private visibility — it was
+ // recorded during the private phase and stays there.
+ const [historical] = await serverDB
+ .select({ visibility: taskTopics.visibility })
+ .from(taskTopics)
+ .where(eq(taskTopics.taskId, task.id));
+ expect(historical.visibility).toBe('private');
+ });
+
+ it('should narrow list() to private tasks when visibility filter is set', async () => {
+ const alice = new TaskModel(serverDB, userId, wsId);
+ await alice.create({ instruction: 'Pub', visibility: 'public' });
+ await alice.create({ instruction: 'Priv1', visibility: 'private' });
+ await alice.create({ instruction: 'Priv2', visibility: 'private' });
+
+ const allList = await alice.list();
+ expect(allList.total).toBe(3);
+
+ const privateOnly = await alice.list({ visibility: 'private' });
+ expect(privateOnly.total).toBe(2);
+ expect(privateOnly.tasks.every((t) => t.visibility === 'private')).toBe(true);
+
+ const workspaceOnly = await alice.list({ visibility: 'public' });
+ expect(workspaceOnly.total).toBe(1);
+ expect(workspaceOnly.tasks[0].visibility).toBe('public');
+ });
+
+ it('should allocate seq workspace-wide across visibility boundaries', async () => {
+ // Regression: TaskModel.create's seq lookup must not be filtered by
+ // visibility, otherwise a private creator computes a max seq that skips
+ // other members' identifiers and the insert hits the workspace-wide
+ // `(workspace_id, identifier)` unique constraint.
+ const alice = new TaskModel(serverDB, userId, wsId);
+ const bob = new TaskModel(serverDB, userId2, wsId);
+
+ const aliceT1 = await alice.create({
+ instruction: 'Alice public',
+ visibility: 'public',
+ });
+ expect(aliceT1.identifier).toBe('T-1');
+
+ // Bob can still see Alice's public task → next seq is 2.
+ const bobT2 = await bob.create({ instruction: 'Bob public', visibility: 'public' });
+ expect(bobT2.identifier).toBe('T-2');
+
+ // Alice now creates a private task. Even though Bob can't see it,
+ // the seq allocator must observe T-2 and produce T-3.
+ const aliceT3 = await alice.create({
+ instruction: 'Alice secret',
+ visibility: 'private',
+ });
+ expect(aliceT3.identifier).toBe('T-3');
+
+ // Now Bob creates another. Even though Bob cannot see Alice's T-3
+ // private task, the seq allocator must still observe it and produce T-4.
+ const bobT4 = await bob.create({ instruction: 'Bob next', visibility: 'public' });
+ expect(bobT4.identifier).toBe('T-4');
+ });
+ });
});
diff --git a/packages/database/src/models/__tests__/taskTopic.test.ts b/packages/database/src/models/__tests__/taskTopic.test.ts
index c506c848979..49ecfb96885 100644
--- a/packages/database/src/models/__tests__/taskTopic.test.ts
+++ b/packages/database/src/models/__tests__/taskTopic.test.ts
@@ -665,4 +665,34 @@ describe('TaskTopicModel', () => {
expect(removed).toBe(false);
});
});
+
+ describe('add — parent visibility mirroring', () => {
+ it('should snapshot the parent task’s public visibility onto the topic row', async () => {
+ const taskModel = new TaskModel(serverDB, userId);
+ const topicModel = new TaskTopicModel(serverDB, userId);
+ const task = await taskModel.create({ instruction: 'Public task', visibility: 'public' });
+ await createTopic('tpc_pub');
+
+ await topicModel.add(task.id, 'tpc_pub', { seq: 1 });
+
+ const row = (
+ await serverDB.select().from(taskTopics).where(eq(taskTopics.taskId, task.id)).limit(1)
+ )[0];
+ expect(row.visibility).toBe('public');
+ });
+
+ it('should snapshot the parent task’s private visibility onto the topic row', async () => {
+ const taskModel = new TaskModel(serverDB, userId);
+ const topicModel = new TaskTopicModel(serverDB, userId);
+ const task = await taskModel.create({ instruction: 'Private task', visibility: 'private' });
+ await createTopic('tpc_priv');
+
+ await topicModel.add(task.id, 'tpc_priv', { seq: 1 });
+
+ const row = (
+ await serverDB.select().from(taskTopics).where(eq(taskTopics.taskId, task.id)).limit(1)
+ )[0];
+ expect(row.visibility).toBe('private');
+ });
+ });
});
diff --git a/packages/database/src/models/agent.ts b/packages/database/src/models/agent.ts
index 7dd1e9bd225..c817682d990 100644
--- a/packages/database/src/models/agent.ts
+++ b/packages/database/src/models/agent.ts
@@ -70,11 +70,20 @@ export class AgentModel {
/**
* Compat-mode ownership predicate for the `agents` table.
- * - team mode (workspaceId set): `workspace_id = ?` (every member sees the same agents)
- * - personal mode: `user_id = ? AND workspace_id IS NULL`
+ * - team mode (workspaceId set): `workspace_id = ?` plus visibility-aware
+ * filtering — public agents are visible to every member, private agents
+ * are only visible to their creator.
+ * - personal mode: `user_id = ? AND workspace_id IS NULL`.
*/
private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, agents);
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ {
+ userId: agents.userId,
+ workspaceId: agents.workspaceId,
+ visibility: agents.visibility,
+ },
+ );
/** Same predicate but for the `sessions` table (used in delete cascade). */
private sessionsOwnership = () =>
@@ -162,6 +171,21 @@ export class AgentModel {
return this.enrichAgentWithKnowledge(agent);
};
+ /**
+ * Returns the agent's visibility, scoped by the model's ownership filter, or
+ * `null` when the agent is missing or not visible to the current caller.
+ * Used by the task service to inherit a private agent's visibility onto
+ * tasks created against it.
+ */
+ getAgentVisibility = async (id: string): Promise<'private' | 'public' | null> => {
+ const rows = await this.db
+ .select({ visibility: agents.visibility })
+ .from(agents)
+ .where(and(eq(agents.id, id), this.ownership()))
+ .limit(1);
+ return (rows[0]?.visibility as 'private' | 'public' | undefined) ?? null;
+ };
+
existsById = async (id: string): Promise<boolean> => {
const rows = await this.db
.select({ id: agents.id })
@@ -193,6 +217,39 @@ export class AgentModel {
return { model: row.model, provider: row.provider };
};
+ /**
+ * Single-SELECT lookup of the fields `TaskService.createTask` needs in one
+ * round-trip: the model/provider snapshot (for `task.config`) and the
+ * visibility (for inference + cross-table invariant assertion). Replaces
+ * the previous two-query path (`getAgentModelConfig` + `getAgentVisibility`).
+ *
+ * Returns `null` when the agent is not visible to the current caller. When
+ * found, `snapshot` is non-null only if both `model` and `provider` are set
+ * — same contract as `getAgentModelConfig`.
+ */
+ getAgentSnapshotForTaskCreate = async (
+ idOrSlug: string,
+ ): Promise<{
+ snapshot: { model: string; provider: string } | null;
+ visibility: 'private' | 'public';
+ } | null> => {
+ const rows = await this.db
+ .select({
+ model: agents.model,
+ provider: agents.provider,
+ visibility: agents.visibility,
+ })
+ .from(agents)
+ .where(and(this.ownership(), or(eq(agents.id, idOrSlug), eq(agents.slug, idOrSlug))))
+ .limit(1);
+
+ const row = rows[0];
+ if (!row) return null;
+ const snapshot =
+ row.model && row.provider ? { model: row.model, provider: row.provider } : null;
+ return { snapshot, visibility: row.visibility as 'private' | 'public' };
+ };
+
/**
* Build the where condition shared by queryAgents / countAgents:
* non-virtual agents of the current user, with optional keyword filter.
@@ -650,6 +707,30 @@ export class AgentModel {
.where(and(eq(agents.id, agentId), this.ownership()));
};
+ /**
+ * Publish a private agent into the workspace. **One-way only** — once an
+ * agent has been shared with the workspace, other members may already be
+ * using it, so we never let it slip back to `private`. Likewise the
+ * `user_id = ?` + `visibility = 'private'` guards lock the operation to
+ * the creator's own still-private agent.
+ *
+ * Use the existing `update` to change other fields; visibility is the only
+ * one with this asymmetric rule.
+ */
+ publishToWorkspace = async (agentId: string) => {
+ return this.db
+ .update(agents)
+ .set({ updatedAt: new Date(), visibility: 'public' })
+ .where(
+ and(
+ eq(agents.id, agentId),
+ this.ownership(),
+ eq(agents.userId, this.userId),
+ eq(agents.visibility, 'private'),
+ ),
+ );
+ };
+
touchUpdatedAt = async (agentId: string) => {
return this.update(agentId, {});
};
diff --git a/packages/database/src/models/brief.ts b/packages/database/src/models/brief.ts
index 90610615c66..f5eded3f426 100644
--- a/packages/database/src/models/brief.ts
+++ b/packages/database/src/models/brief.ts
@@ -1,11 +1,11 @@
-import { and, desc, eq, isNull, notInArray, sql } from 'drizzle-orm';
+import { and, desc, eq, isNull, notInArray, type SQL, sql } from 'drizzle-orm';
import { agents } from '../schemas/agent';
import type { BriefItem, NewBrief } from '../schemas/task';
import { briefs, tasks } from '../schemas/task';
import type { LobeChatDatabase } from '../type';
import { normalizeInboxAgentAvatar, normalizeInboxAgentTitle } from '../utils/inboxAgent';
-import { buildWorkspacePayload, buildWorkspaceWhere } from '../utils/workspace';
+import { buildWorkspacePayload } from '../utils/workspace';
export interface UnresolvedBriefRow {
agentAvatar: string | null;
@@ -27,8 +27,16 @@ export class BriefModel {
this.workspaceId = workspaceId;
}
- private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, briefs);
+ // Briefs are per-user notifications (owner-only `readAt` / `resolvedAction` /
+ // `resolvedAt`), not workspace-shared content. The standard `buildWorkspaceWhere`
+ // helper drops the `user_id` constraint in workspace mode by design (members
+ // share content rows), which would leak each member's briefs to everyone else
+ // in the workspace. Brief ownership therefore always requires `user_id` to
+ // match, in both personal and workspace mode.
+ private ownership = (): SQL =>
+ this.workspaceId
+ ? (and(eq(briefs.userId, this.userId), eq(briefs.workspaceId, this.workspaceId)) as SQL)
+ : (and(eq(briefs.userId, this.userId), isNull(briefs.workspaceId)) as SQL);
async create(data: Omit<NewBrief, 'id' | 'userId'>): Promise<BriefItem> {
const result = await this.db
diff --git a/packages/database/src/models/chatGroup.ts b/packages/database/src/models/chatGroup.ts
index 4730852cf6c..81db3a47df8 100644
--- a/packages/database/src/models/chatGroup.ts
+++ b/packages/database/src/models/chatGroup.ts
@@ -1,3 +1,4 @@
+import { TRPCError } from '@trpc/server';
import { and, desc, eq, inArray, sql } from 'drizzle-orm';
import type {
@@ -23,7 +24,14 @@ export class ChatGroupModel {
}
private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, chatGroups);
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ {
+ userId: chatGroups.userId,
+ workspaceId: chatGroups.workspaceId,
+ visibility: chatGroups.visibility,
+ },
+ );
/**
* Get member avatar metas (avatar + backgroundColor) grouped by chatGroupId,
@@ -187,6 +195,32 @@ export class ChatGroupModel {
return result;
}
+ /**
+ * Publish a private chat group into the workspace. One-way: once shared,
+ * other members may have started using it, so we never let it slip back to
+ * `private`. Restricted to the creator's own still-private group.
+ */
+ async publishToWorkspace(id: string): Promise<ChatGroupItem> {
+ const [result] = await this.db
+ .update(chatGroups)
+ .set({ updatedAt: new Date(), visibility: 'public' })
+ .where(
+ and(
+ eq(chatGroups.id, id),
+ this.ownership(),
+ eq(chatGroups.userId, this.userId),
+ eq(chatGroups.visibility, 'private'),
+ ),
+ )
+ .returning();
+
+ if (!result) {
+ throw new Error('Chat group not found, already published, or access denied');
+ }
+
+ return result;
+ }
+
async addAgentToGroup(
groupId: string,
agentId: string,
@@ -218,7 +252,56 @@ export class ChatGroupModel {
agentIds: string[],
): Promise<{ added: NewChatGroupAgent[]; existing: string[] }> {
const group = await this.findById(groupId);
- if (!group) throw new Error('Group not found');
+ if (!group) throw new TRPCError({ code: 'NOT_FOUND', message: 'Group not found' });
+
+ // Composite visibility rule for group membership:
+ // - A caller-owned private group may admit the caller's own private agents
+ // alongside public ones.
+ // - Any public group, or any group the caller doesn't own, must contain
+ // only public agents — even the caller's own private agent can't be
+ // added, because that would expose it to the other members.
+ // `findById` already scopes by visibility, so reaching here with
+ // `group.visibility === 'private'` implies `group.userId === this.userId`.
+ const allowPrivateMembers = group.visibility === 'private' && group.userId === this.userId;
+
+ if (agentIds.length > 0) {
+ // Resolve each requested agent through the workspace + visibility
+ // predicate so another user's private agent never enters this set; it
+ // simply doesn't match the row filter, and we surface NOT_FOUND below.
+ const visibleAgents = await this.db
+ .select({
+ id: agents.id,
+ userId: agents.userId,
+ visibility: agents.visibility,
+ })
+ .from(agents)
+ .where(
+ and(
+ inArray(agents.id, agentIds),
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ {
+ userId: agents.userId,
+ workspaceId: agents.workspaceId,
+ visibility: agents.visibility,
+ },
+ ),
+ ),
+ );
+
+ const visibleById = new Map(visibleAgents.map((row) => [row.id, row]));
+ for (const agentId of agentIds) {
+ const row = visibleById.get(agentId);
+ if (!row) {
+ throw new TRPCError({ code: 'NOT_FOUND', message: 'Agent not found' });
+ }
+ if (row.visibility === 'private' && !allowPrivateMembers) {
+ // Caller owns this private agent (visibility predicate would have
+ // hidden it otherwise) but the group can't hold private members.
+ throw new TRPCError({ code: 'NOT_FOUND', message: 'Agent not found' });
+ }
+ }
+ }
const existingAgents = await this.getGroupAgents(groupId);
const existingAgentIds = new Set(existingAgents.map((a) => a.agentId));
diff --git a/packages/database/src/models/document.ts b/packages/database/src/models/document.ts
index 911ba2fd2f7..47d3e25c6eb 100644
--- a/packages/database/src/models/document.ts
+++ b/packages/database/src/models/document.ts
@@ -16,15 +16,38 @@ export class DocumentModel {
private userId: string;
private db: LobeChatDatabase;
private workspaceId?: string;
-
- constructor(db: LobeChatDatabase, userId: string, workspaceId?: string) {
+ /**
+ * Visibility of the agent that owns the calling tool execution, when this
+ * model is instantiated inside a tool runtime. `'public'` tightens
+ * `ownership()` so a workspace-shared agent cannot see the caller's own
+ * private documents — mirrors the task side's `assertAgentVisibilityCompat`.
+ * `undefined` / `'private'` / `null` leave the standard filter in place, so
+ * a private agent (or a direct TRPC call from the user) still sees the
+ * caller's private docs as normal.
+ */
+ private callerAgentVisibility?: 'private' | 'public' | null;
+
+ constructor(
+ db: LobeChatDatabase,
+ userId: string,
+ workspaceId?: string,
+ callerAgentVisibility?: 'private' | 'public' | null,
+ ) {
this.userId = userId;
this.db = db;
this.workspaceId = workspaceId;
+ this.callerAgentVisibility = callerAgentVisibility;
}
private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, documents);
+ buildWorkspaceWhere(
+ {
+ callerAgentVisibility: this.callerAgentVisibility,
+ userId: this.userId,
+ workspaceId: this.workspaceId,
+ },
+ documents,
+ );
findOrCreateFolder = async (name: string, parentId?: string): Promise<DocumentItem> => {
const existing = await this.db.query.documents.findFirst({
@@ -52,12 +75,34 @@ export class DocumentModel {
};
create = async (params: Omit<NewDocument, 'userId'>): Promise<DocumentItem> => {
+ // Workspace-mode default for visibility:
+ // - explicit visibility wins
+ // - else if parentId set: inherit parent's visibility (tree invariant —
+ // a child must never have a visibility different from its root)
+ // - else top-level user-authored Pages (`sourceType: 'api'`): default to
+ // `'private'` so workspace members start drafts in their own space and
+ // publish when ready
+ // - all other top-level rows (web crawls, file ingests, topic snapshots,
+ // agent-signal artifacts, …): leave the schema default (`'public'`) so
+ // existing behavior is preserved — these don't have a Pages-style
+ // draft / publish lifecycle and were workspace-shared from day one
+ // Personal mode leaves it to the schema default; the filter ignores it.
+ let visibility = params.visibility;
+ if (!visibility && this.workspaceId) {
+ if (params.parentId) {
+ const parent = await this.findById(params.parentId);
+ visibility = parent?.visibility ?? 'private';
+ } else if (params.sourceType === 'api') {
+ visibility = 'private';
+ }
+ }
+
const result = (await this.db
.insert(documents)
.values(
buildWorkspacePayload(
{ userId: this.userId, workspaceId: this.workspaceId },
- { ...params },
+ { ...params, ...(visibility ? { visibility } : {}) },
),
)
.returning()) as DocumentItem[];
@@ -124,6 +169,11 @@ export class DocumentModel {
totalLineCount: documents.totalLineCount,
updatedAt: documents.updatedAt,
userId: documents.userId,
+ // Sidebar bucket selectors read `visibility` / `workspaceId` to split
+ // Pages between the "Private" and "Workspace" accordions — omitting
+ // them silently drops every row into the workspace bucket.
+ visibility: documents.visibility,
+ workspaceId: documents.workspaceId,
// Exclude large fields: content, pages, editorData
})
.from(documents)
@@ -187,12 +237,81 @@ export class DocumentModel {
};
update = async (id: string, value: Partial<DocumentItem>) => {
+ // visibility is intentionally not updatable via this path. The only legal
+ // transition is `private → public` via `publishToWorkspace`; strip any
+ // incoming value so callers can't sneak around the one-way rule.
+ const { visibility: _ignored, ...patch } = value;
+
+ // Workspace-mode parent-id guard: a tree's whole subtree shares one
+ // visibility (P1 strong consistency), so moving a node under a parent with
+ // a different visibility would create a mixed subtree. Refuse the move and
+ // point the caller at the proper one-way publish path when relevant.
+ if (this.workspaceId && patch.parentId !== undefined) {
+ const current = await this.findById(id);
+ if (current && patch.parentId !== null) {
+ const parent = await this.findById(patch.parentId);
+ if (parent && parent.visibility !== current.visibility) {
+ throw new Error(
+ current.visibility === 'private'
+ ? 'Cannot move a private document under a workspace document; use publishToWorkspace instead.'
+ : 'Cannot move a workspace document under a private document; demoting to private is not allowed.',
+ );
+ }
+ }
+ }
+
return this.db
.update(documents)
- .set({ ...value, updatedAt: new Date() })
+ .set({ ...patch, updatedAt: new Date() })
.where(and(this.ownership(), eq(documents.id, id)));
};
+ /**
+ * Publish a private document subtree into the workspace. **One-way only** —
+ * once published, other members may already depend on referenced pages, so
+ * we never let it slip back to `private`. The `eq(user_id)` +
+ * `eq(visibility, 'private')` guards keep the operation creator-only and
+ * idempotent against already-public rows.
+ *
+ * Cascades over the whole subtree (rooted at `rootId`) so a folder Page and
+ * every nested child flip in one transaction.
+ *
+ * @returns the ids of the documents that were re-published.
+ */
+ publishToWorkspace = async (rootId: string): Promise<{ documentIds: string[] }> => {
+ return this.db.transaction(async (trx) => {
+ const scopedTrx = new DocumentModel(
+ trx as LobeChatDatabase,
+ this.userId,
+ this.workspaceId,
+ this.callerAgentVisibility,
+ );
+ const subtree = await scopedTrx.collectSubtree(rootId, trx as LobeChatDatabase);
+ if (subtree.length === 0) throw new Error('Document not found');
+
+ const ids = subtree.map((d) => d.id);
+
+ await (trx as LobeChatDatabase)
+ .update(documents)
+ .set({ updatedAt: new Date(), visibility: 'public' })
+ .where(
+ and(
+ inArray(documents.id, ids),
+ eq(documents.userId, this.userId),
+ eq(documents.visibility, 'private'),
+ ),
+ );
+
+ // No child-table cascade needed here — Pages (`sourceType: 'api'`) hold
+ // content inline in `documents.content` / `documents.pages`, and the
+ // `document_chunks` junction has no read consumers on the RAG hot path
+ // (that lane goes through `chunks` + `fileChunks` + `files`). See
+ // LOBE-11040 for the deferred RAG-lane analysis.
+
+ return { documentIds: ids };
+ });
+ };
+
/**
* Collect a document and all its descendants (folders + leaves) via BFS.
* Honors the current ownership scope.
diff --git a/packages/database/src/models/file.ts b/packages/database/src/models/file.ts
index 85daeea52a6..e2cae519482 100644
--- a/packages/database/src/models/file.ts
+++ b/packages/database/src/models/file.ts
@@ -45,8 +45,11 @@ export class FileModel {
this.workspaceId = workspaceId;
}
- private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, files);
+ private ownership = (callerAgentVisibility?: 'private' | 'public' | null) =>
+ buildWorkspaceWhere(
+ { callerAgentVisibility, userId: this.userId, workspaceId: this.workspaceId },
+ files,
+ );
/**
* Get file by ID without userId filter (public access)
@@ -300,9 +303,18 @@ export class FileModel {
sorter,
knowledgeBaseId,
showFilesInKnowledgeBase,
- }: QueryFileListParams = {}) => {
+ callerAgentVisibility,
+ visibility,
+ }: QueryFileListParams & {
+ callerAgentVisibility?: 'private' | 'public' | null;
+ visibility?: 'private' | 'public';
+ } = {}) => {
// 1. Build where clause
- let whereClause = and(q ? ilike(files.name, `%${q}%`) : undefined, this.ownership());
+ let whereClause = and(
+ q ? ilike(files.name, `%${q}%`) : undefined,
+ this.ownership(callerAgentVisibility),
+ visibility ? eq(files.visibility, visibility) : undefined,
+ );
if (category && category !== FilesTabs.All && category !== FilesTabs.Home) {
const fileTypePrefix = this.getFileTypePrefix(category as FilesTabs);
if (Array.isArray(fileTypePrefix)) {
@@ -346,6 +358,7 @@ export class FileModel {
updatedAt: files.updatedAt,
url: files.url,
userId: files.userId,
+ visibility: files.visibility,
})
.from(files);
@@ -444,6 +457,25 @@ export class FileModel {
.set({ ...value, updatedAt: new Date() })
.where(and(eq(files.id, id), this.ownership()));
+ /**
+ * Publish a private file into the workspace. **One-way only** — mirrors
+ * `AgentModel.publishToWorkspace`. The combined `user_id = ?` +
+ * `visibility = 'private'` guards lock the operation to the creator's own
+ * still-private file; an already-public row is a no-op.
+ */
+ publishToWorkspace = async (fileId: string) =>
+ this.db
+ .update(files)
+ .set({ updatedAt: new Date(), visibility: 'public' })
+ .where(
+ and(
+ eq(files.id, fileId),
+ this.ownership(),
+ eq(files.userId, this.userId),
+ eq(files.visibility, 'private'),
+ ),
+ );
+
/**
* get the corresponding file type prefix according to FilesTabs
*/
diff --git a/packages/database/src/models/generation.ts b/packages/database/src/models/generation.ts
index 145d5cf421c..dbe5eb3cf5f 100644
--- a/packages/database/src/models/generation.ts
+++ b/packages/database/src/models/generation.ts
@@ -8,13 +8,13 @@ import type {
} from '@lobechat/types';
import { FileSource } from '@lobechat/types';
import debug from 'debug';
-import { and, eq } from 'drizzle-orm';
+import { and, eq, exists } from 'drizzle-orm';
import { FileService } from '@/server/services/file';
import type { NewFile } from '../schemas';
import type { GenerationItem, GenerationWithAsyncTask, NewGeneration } from '../schemas/generation';
-import { generations } from '../schemas/generation';
+import { generationBatches, generations, generationTopics } from '../schemas/generation';
import type { LobeChatDatabase, Transaction } from '../type';
import { buildWorkspacePayload, buildWorkspaceWhere } from '../utils/workspace';
import { FileModel } from './file';
@@ -38,7 +38,40 @@ export class GenerationModel {
}
private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, generations);
+ and(
+ buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, generations),
+ exists(
+ this.db
+ .select({ id: generationBatches.id })
+ .from(generationBatches)
+ .innerJoin(generationTopics, eq(generationTopics.id, generationBatches.generationTopicId))
+ .where(
+ and(
+ eq(generationBatches.id, generations.generationBatchId),
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ generationBatches,
+ ),
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ generationTopics,
+ ),
+ ),
+ ),
+ ),
+ );
+
+ private async findTopicVisibilityByGenerationId(id: string, trx: Transaction) {
+ const [result] = await trx
+ .select({ visibility: generationTopics.visibility })
+ .from(generations)
+ .innerJoin(generationBatches, eq(generationBatches.id, generations.generationBatchId))
+ .innerJoin(generationTopics, eq(generationTopics.id, generationBatches.generationTopicId))
+ .where(and(eq(generations.id, id), this.ownership()))
+ .limit(1);
+
+ return result?.visibility;
+ }
async create(value: Omit<NewGeneration, 'userId'>): Promise<GenerationItem> {
log('Creating generation: %O', {
@@ -106,10 +139,13 @@ export class GenerationModel {
asset: GenerationAsset,
file: Omit<NewFile, 'id' | 'userId'>,
source: FileSource = FileSource.ImageGeneration,
- ) {
+ ): Promise<{ file: { id: string } } | undefined> {
log('Creating generation asset and file with transaction: %s', id);
return await this.db.transaction(async (tx: Transaction) => {
+ const topicVisibility = await this.findTopicVisibilityByGenerationId(id, tx);
+ if (!topicVisibility) return;
+
// Create file first using transaction
// Since duplicates are very rare, we always create globalFile - checking existence first would be wasteful
const newFile = await this.fileModel.create(
@@ -117,6 +153,7 @@ export class GenerationModel {
...file,
parentId: file.parentId ?? undefined,
source,
+ ...(this.workspaceId ? { visibility: topicVisibility } : {}),
},
true,
tx,
diff --git a/packages/database/src/models/generationBatch.ts b/packages/database/src/models/generationBatch.ts
index 3a99e6f70f5..a941fa00fca 100644
--- a/packages/database/src/models/generationBatch.ts
+++ b/packages/database/src/models/generationBatch.ts
@@ -6,7 +6,7 @@ import type {
VideoGenerationAsset,
} from '@lobechat/types';
import debug from 'debug';
-import { and, eq } from 'drizzle-orm';
+import { and, desc, eq, exists } from 'drizzle-orm';
import { FileService } from '@/server/services/file';
@@ -15,13 +15,18 @@ import type {
GenerationBatchWithGenerations,
NewGenerationBatch,
} from '../schemas/generation';
-import { generationBatches } from '../schemas/generation';
+import { generationBatches, generationTopics } from '../schemas/generation';
import type { LobeChatDatabase } from '../type';
import { buildWorkspacePayload, buildWorkspaceWhere } from '../utils/workspace';
import { GenerationModel } from './generation';
const log = debug('lobe-image:generation-batch-model');
+type GenerationBatchColumns = Pick<
+ typeof generationBatches,
+ 'generationTopicId' | 'userId' | 'workspaceId'
+>;
+
export class GenerationBatchModel {
private db: LobeChatDatabase;
private userId: string;
@@ -37,8 +42,24 @@ export class GenerationBatchModel {
this.generationModel = new GenerationModel(db, userId, workspaceId);
}
- private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, generationBatches);
+ private ownership = (batchTable: GenerationBatchColumns = generationBatches) =>
+ and(
+ buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, batchTable),
+ exists(
+ this.db
+ .select({ id: generationTopics.id })
+ .from(generationTopics)
+ .where(
+ and(
+ eq(generationTopics.id, batchTable.generationTopicId),
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ generationTopics,
+ ),
+ ),
+ ),
+ ),
+ );
async create(value: NewGenerationBatch): Promise<GenerationBatchItem> {
log('Creating generation batch: %O', {
@@ -46,6 +67,24 @@ export class GenerationBatchModel {
userId: this.userId,
});
+ const [topic] = await this.db
+ .select({ id: generationTopics.id })
+ .from(generationTopics)
+ .where(
+ and(
+ eq(generationTopics.id, value.generationTopicId),
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ generationTopics,
+ ),
+ ),
+ )
+ .limit(1);
+
+ if (!topic) {
+ throw new Error('Generation topic not found');
+ }
+
const [result] = await this.db
.insert(generationBatches)
.values(
@@ -60,9 +99,11 @@ export class GenerationBatchModel {
async findById(id: string): Promise<GenerationBatchItem | undefined> {
log('Finding generation batch by ID: %s for user: %s', id, this.userId);
- const result = await this.db.query.generationBatches.findFirst({
- where: and(eq(generationBatches.id, id), this.ownership()),
- });
+ const [result] = await this.db
+ .select()
+ .from(generationBatches)
+ .where(and(eq(generationBatches.id, id), this.ownership()))
+ .limit(1);
log('Generation batch %s: %s', id, result ? 'found' : 'not found');
return result;
@@ -71,10 +112,11 @@ export class GenerationBatchModel {
async findByTopicId(topicId: string): Promise<GenerationBatchItem[]> {
log('Finding generation batches by topic ID: %s for user: %s', topicId, this.userId);
- const results = await this.db.query.generationBatches.findMany({
- orderBy: (table, { desc }) => [desc(table.createdAt)],
- where: and(eq(generationBatches.generationTopicId, topicId), this.ownership()),
- });
+ const results = await this.db
+ .select()
+ .from(generationBatches)
+ .where(and(eq(generationBatches.generationTopicId, topicId), this.ownership()))
+ .orderBy(desc(generationBatches.createdAt));
log('Found %d generation batches for topic %s', results.length, topicId);
return results;
@@ -92,7 +134,8 @@ export class GenerationBatchModel {
const results = await this.db.query.generationBatches.findMany({
orderBy: (table, { asc }) => [asc(table.createdAt)],
- where: and(eq(generationBatches.generationTopicId, topicId), this.ownership()),
+ where: (table, { and, eq }) =>
+ and(eq(table.generationTopicId, topicId), this.ownership(table)),
with: {
generations: {
orderBy: (table, { asc }) => [asc(table.createdAt), asc(table.id)],
@@ -186,7 +229,7 @@ export class GenerationBatchModel {
// 1. First, get generations with their assets to collect file URLs for cleanup
const batchWithGenerations = await this.db.query.generationBatches.findFirst({
- where: and(eq(generationBatches.id, id), this.ownership()),
+ where: (table, { and, eq }) => and(eq(table.id, id), this.ownership(table)),
with: {
generations: {
columns: {
diff --git a/packages/database/src/models/generationTopic.ts b/packages/database/src/models/generationTopic.ts
index 428b2e4b941..5a08b462751 100644
--- a/packages/database/src/models/generationTopic.ts
+++ b/packages/database/src/models/generationTopic.ts
@@ -13,6 +13,10 @@ import type { LobeChatDatabase } from '../type';
import type { GenerationTopicType } from '../types/generation';
import { buildWorkspacePayload, buildWorkspaceWhere } from '../utils/workspace';
+type GenerationTopicUpdate = Pick<Partial<ImageGenerationTopic>, 'coverUrl' | 'title'> & {
+ visibility?: 'private' | 'public';
+};
+
export class GenerationTopicModel {
private userId: string;
private db: LobeChatDatabase;
@@ -54,7 +58,17 @@ export class GenerationTopicModel {
);
};
- create = async (title: string, type?: GenerationTopicType) => {
+ findById = async (id: string): Promise<GenerationTopicItem | undefined> => {
+ const [topic] = await this.db
+ .select()
+ .from(generationTopics)
+ .where(and(eq(generationTopics.id, id), this.ownership()))
+ .limit(1);
+
+ return topic;
+ };
+
+ create = async (title: string, type?: GenerationTopicType, visibility?: 'private' | 'public') => {
const [newGenerationTopic] = await this.db
.insert(generationTopics)
.values(
@@ -63,6 +77,7 @@ export class GenerationTopicModel {
{
title,
type: type ?? 'image',
+ ...(this.workspaceId ? { visibility: visibility ?? 'private' } : {}),
},
),
)
@@ -73,7 +88,7 @@ export class GenerationTopicModel {
update = async (
id: string,
- data: Partial<ImageGenerationTopic>,
+ data: GenerationTopicUpdate,
): Promise<GenerationTopicItem | undefined> => {
const [updatedTopic] = await this.db
.update(generationTopics)
diff --git a/packages/database/src/models/knowledgeBase.ts b/packages/database/src/models/knowledgeBase.ts
index 3e774f857b8..2283dc068dd 100644
--- a/packages/database/src/models/knowledgeBase.ts
+++ b/packages/database/src/models/knowledgeBase.ts
@@ -18,8 +18,11 @@ export class KnowledgeBaseModel {
this.workspaceId = workspaceId;
}
- private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, knowledgeBases);
+ private ownership = (callerAgentVisibility?: 'private' | 'public' | null) =>
+ buildWorkspaceWhere(
+ { callerAgentVisibility, userId: this.userId, workspaceId: this.workspaceId },
+ knowledgeBases,
+ );
// create
@@ -160,7 +163,15 @@ export class KnowledgeBaseModel {
);
};
// query
- query = async () => {
+ query = async (options?: {
+ callerAgentVisibility?: 'private' | 'public' | null;
+ visibility?: 'private' | 'public';
+ }) => {
+ const ownershipWhere = this.ownership(options?.callerAgentVisibility);
+ const conditions = options?.visibility
+ ? and(ownershipWhere, eq(knowledgeBases.visibility, options.visibility))
+ : ownershipWhere;
+
const data = await this.db
.select({
avatar: knowledgeBases.avatar,
@@ -172,9 +183,11 @@ export class KnowledgeBaseModel {
settings: knowledgeBases.settings,
type: knowledgeBases.type,
updatedAt: knowledgeBases.updatedAt,
+ userId: knowledgeBases.userId,
+ visibility: knowledgeBases.visibility,
})
.from(knowledgeBases)
- .where(this.ownership())
+ .where(conditions)
.orderBy(desc(knowledgeBases.updatedAt));
return data as KnowledgeBaseItem[];
@@ -211,6 +224,25 @@ export class KnowledgeBaseModel {
.set({ ...value, updatedAt: new Date() })
.where(and(eq(knowledgeBases.id, id), this.ownership()));
+ /**
+ * Publish a private knowledge base into the workspace. **One-way only** —
+ * mirrors `FileModel.publishToWorkspace`. The combined `user_id = ?` +
+ * `visibility = 'private'` guards lock the operation to the creator's own
+ * still-private KB; an already-public row is a no-op.
+ */
+ publishToWorkspace = async (id: string) =>
+ this.db
+ .update(knowledgeBases)
+ .set({ updatedAt: new Date(), visibility: 'public' })
+ .where(
+ and(
+ eq(knowledgeBases.id, id),
+ this.ownership(),
+ eq(knowledgeBases.userId, this.userId),
+ eq(knowledgeBases.visibility, 'private'),
+ ),
+ );
+
private resolveAvailableName = async (
db: LobeChatDatabase,
name: string,
diff --git a/packages/database/src/models/sessionGroup.ts b/packages/database/src/models/sessionGroup.ts
index dc595d162e6..af67caec29f 100644
--- a/packages/database/src/models/sessionGroup.ts
+++ b/packages/database/src/models/sessionGroup.ts
@@ -18,9 +18,16 @@ export class SessionGroupModel {
}
private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, sessionGroups);
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ {
+ userId: sessionGroups.userId,
+ workspaceId: sessionGroups.workspaceId,
+ visibility: sessionGroups.visibility,
+ },
+ );
- create = async (params: { name: string; sort?: number }) => {
+ create = async (params: { name: string; sort?: number; visibility?: 'private' | 'public' }) => {
const [result] = await this.db
.insert(sessionGroups)
.values(
@@ -62,6 +69,26 @@ export class SessionGroupModel {
.where(and(eq(sessionGroups.id, id), this.ownership()));
};
+ /**
+ * Publish a private session group (folder) into the workspace. One-way:
+ * mirrors the rule applied to agents and chat groups — a shared folder
+ * can't be re-privatized because other members may already be relying on
+ * it as a container for their bookmarks.
+ */
+ publishToWorkspace = async (id: string) => {
+ return this.db
+ .update(sessionGroups)
+ .set({ updatedAt: new Date(), visibility: 'public' })
+ .where(
+ and(
+ eq(sessionGroups.id, id),
+ this.ownership(),
+ eq(sessionGroups.userId, this.userId),
+ eq(sessionGroups.visibility, 'private'),
+ ),
+ );
+ };
+
updateOrder = async (sortMap: { id: string; sort: number }[]) => {
await this.db.transaction(async (tx) => {
const updates = sortMap.map(({ id, sort }) => {
diff --git a/packages/database/src/models/task.ts b/packages/database/src/models/task.ts
index ea1dbafa901..5919ec5daa1 100644
--- a/packages/database/src/models/task.ts
+++ b/packages/database/src/models/task.ts
@@ -7,7 +7,19 @@ import type {
WorkspaceDocNode,
WorkspaceTreeNode,
} from '@lobechat/types';
-import { and, desc, eq, gte, inArray, isNotNull, isNull, ne, notInArray, sql } from 'drizzle-orm';
+import {
+ and,
+ desc,
+ eq,
+ gte,
+ inArray,
+ isNotNull,
+ isNull,
+ ne,
+ notInArray,
+ type SQL,
+ sql,
+} from 'drizzle-orm';
import type { AnyPgColumn } from 'drizzle-orm/pg-core';
import { merge } from '@/utils/merge';
@@ -18,6 +30,29 @@ import { taskComments, taskDependencies, taskDocuments, tasks } from '../schemas
import type { LobeChatDatabase } from '../type';
import { buildWorkspaceWhere } from '../utils/workspace';
+/**
+ * Ownership helpers in this model come in three flavors. Choose by USE CASE,
+ * not by table — picking the wrong one is how LOBE-10946's `seq` allocation
+ * hotfix got introduced (see git log).
+ *
+ * ┌────────────────────┬──────────────────────────────────────────────┬────────────────────────┐
+ * │ Helper │ Use for │ Visibility-aware? │
+ * ├────────────────────┼──────────────────────────────────────────────┼────────────────────────┤
+ * │ ownership() │ list / read / per-row find on `tasks` │ YES — public OR owner │
+ * │ ownershipSql() │ raw-SQL CTEs that need the same predicate │ YES — public OR owner │
+ * │ childOwnership() │ task_dependencies / task_documents / │ YES when caller passes │
+ * │ │ task_comments etc. (per-child-table) │ the visibility column │
+ * │ seqOwnership() │ identifier / seq allocation on `tasks` │ NO — workspace-wide │
+ * │ │ (the `(workspace_id, identifier)` unique │ (visibility filter │
+ * │ │ constraint is workspace-wide, regardless │ would skip other │
+ * │ │ of visibility) │ members' rows and │
+ * │ │ │ collide on insert) │
+ * └────────────────────┴──────────────────────────────────────────────┴────────────────────────┘
+ *
+ * Personal mode (no workspace) is always `created_by_user_id = $self AND
+ * workspace_id IS NULL` for all four helpers — visibility is inert because
+ * everything personal is implicitly owner-only.
+ */
export class TaskModel {
private readonly userId: string;
private readonly db: LobeChatDatabase;
@@ -30,36 +65,76 @@ export class TaskModel {
}
/**
- * Compat-mode ownership predicate for the `tasks` table.
- * `tasks` uses `createdByUserId` instead of `userId`.
+ * Compat-mode ownership predicate for the `tasks` table — **visibility-aware**.
+ * `tasks` uses `createdByUserId` instead of `userId`. Workspace mode applies
+ * visibility-aware filtering: public tasks are visible to every member,
+ * private tasks only to their creator. Use this for every list/read path.
+ * For identifier / seq allocation, use `seqOwnership` instead.
*/
private ownership = () =>
buildWorkspaceWhere(
{ userId: this.userId, workspaceId: this.workspaceId },
- { userId: tasks.createdByUserId, workspaceId: tasks.workspaceId },
+ {
+ userId: tasks.createdByUserId,
+ visibility: tasks.visibility,
+ workspaceId: tasks.workspaceId,
+ },
);
/**
* Ownership predicate for task child tables (deps / docs / comments) that
- * use a `userId` column instead of `createdByUserId`.
+ * use a `userId` column instead of `createdByUserId`. Pass `visibility` for
+ * tables that mirror the parent task's visibility column; leave it omitted
+ * for tables that stay workspace-shared (e.g. comments).
*/
- private childOwnership = (cols: { userId: AnyPgColumn; workspaceId: AnyPgColumn }) =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, cols);
+ private childOwnership = (cols: {
+ userId: AnyPgColumn;
+ visibility?: AnyPgColumn;
+ workspaceId: AnyPgColumn;
+ }) => buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, cols);
+
+ /**
+ * Workspace-wide ownership for `tasks.seq` / `identifier` allocation —
+ * must NOT be visibility-filtered. The `(workspace_id, identifier)` unique
+ * constraint is workspace-scoped regardless of visibility, so seq lookups
+ * have to see every row in the workspace; otherwise creators of private
+ * tasks can collide on identifiers belonging to other members' rows.
+ */
+ private seqOwnership = () =>
+ this.workspaceId
+ ? eq(tasks.workspaceId, this.workspaceId)
+ : (and(eq(tasks.createdByUserId, this.userId), isNull(tasks.workspaceId)) as SQL);
/**
* Raw-SQL ownership clause for use inside `db.execute(sql...)` CTEs that
* can't easily compose with drizzle's `and(...)` helpers. Mirrors
* `buildWorkspaceWhere` semantics:
- * - workspace mode → `workspace_id = $ws`
+ * - workspace mode → `workspace_id = $ws AND (visibility = 'public' OR created_by_user_id = $userId)`
* - personal mode → `created_by_user_id = $userId AND workspace_id IS NULL`
*/
private ownershipSql = (alias?: string) => {
const prefix = alias ? sql.raw(`${alias}.`) : sql.raw('');
return this.workspaceId
- ? sql`${prefix}workspace_id = ${this.workspaceId}`
+ ? sql`${prefix}workspace_id = ${this.workspaceId}
+ AND (${prefix}visibility = 'public' OR ${prefix}created_by_user_id = ${this.userId})`
: sql`${prefix}created_by_user_id = ${this.userId} AND ${prefix}workspace_id IS NULL`;
};
+ /**
+ * Look up a task's visibility so child-row inserts (deps, docs, topics) can
+ * mirror it without forcing every call site to know the value. Defaults to
+ * `'public'` if the task is missing (keeps inserts idempotent — the
+ * onConflictDoNothing path stays valid).
+ */
+ private async getTaskVisibility(taskId: string): Promise<'private' | 'public'> {
+ const row = await this.db
+ .select({ visibility: tasks.visibility })
+ .from(tasks)
+ .where(and(eq(tasks.id, taskId), this.ownership()))
+ .limit(1);
+ return row[0]?.visibility ?? 'public';
+ }
+
// ========== CRUD ==========
async create(
@@ -76,10 +151,17 @@ export class TaskModel {
// Seq is allocated per ownership scope: workspace-wide in team mode,
// user-private in personal mode. This keeps `T-N` identifiers stable
// within the surface the user actually sees.
+ //
+ // Note: this uses `seqOwnership` (visibility-blind), NOT the regular
+ // `ownership()`, because the `(workspace_id, identifier)` unique
+ // constraint is workspace-wide and ignores visibility. If we let the
+ // seq lookup filter out private rows, a private creator would compute
+ // a max seq that skips another member's existing identifier and hit
+ // PG error 23505 on insert.
const seqResult = await this.db
.select({ maxSeq: sql<number>`COALESCE(MAX(${tasks.seq}), 0)` })
.from(tasks)
- .where(this.ownership());
+ .where(this.seqOwnership());
const nextSeq = Number(seqResult[0].maxSeq) + 1;
const identifier = `${identifierPrefix}-${nextSeq}`;
@@ -172,6 +254,71 @@ export class TaskModel {
return result.length > 0;
}
+ /**
+ * Promote a task and its full subtree to a new visibility. Combined with the
+ * router-level guard (LOBE-11027), the only legal transition is
+ * `private → public` — there is no `public → private` path.
+ *
+ * Cascades inside a single transaction across structural rows only:
+ * - the root task and every descendant in `tasks`;
+ * - `task_dependencies` and `task_documents` whose `task_id` is in the set.
+ *
+ * `task_topics` and `task_comments` are deliberately **not** cascaded
+ * (LOBE-11028). They are event-shaped historical rows whose visibility was
+ * fixed at write time; promoting the task to public must not retroactively
+ * expose runs and discussions that happened while the task was private.
+ * Topics / comments created after promotion inherit the task's then-current
+ * visibility through their own create paths.
+ *
+ * Returns `null` if the root task is not visible to the current caller
+ * (either missing or owned by another workspace member). Callers should
+ * gate authorization (creator-only / admin) before invoking this.
+ */
+ async updateVisibility(id: string, visibility: 'private' | 'public'): Promise<TaskItem | null> {
+ const root = await this.findById(id);
+ if (!root) return null;
+ if (root.visibility === visibility) return root;
+
+ const descendants = await this.findAllDescendants(root.id);
+ const taskIds = [root.id, ...descendants.map((d) => d.id)];
+ const stamp = new Date();
+
+ return this.db.transaction(async (tx) => {
+ // Update the root with RETURNING so we read the post-update row in the
+ // same statement. A second SELECT filtered by `ownership()` would self-
+ // cancel when a workspace owner demotes another member's task to private:
+ // the UPDATE filter sees the OLD (public) row and writes, but the read-
+ // back filter sees the NEW (private + other-creator) row and returns 0
+ // rows, so the caller would observe a NOT_FOUND error even though the
+ // write succeeded.
+ const [updated] = await tx
+ .update(tasks)
+ .set({ updatedAt: stamp, visibility })
+ .where(and(eq(tasks.id, root.id), this.ownership()))
+ .returning();
+
+ const descendantIds = descendants.map((d) => d.id);
+ if (descendantIds.length > 0) {
+ await tx
+ .update(tasks)
+ .set({ updatedAt: stamp, visibility })
+ .where(and(inArray(tasks.id, descendantIds), this.ownership()));
+ }
+
+ await tx
+ .update(taskDependencies)
+ .set({ visibility })
+ .where(and(inArray(taskDependencies.taskId, taskIds), this.depsOwnership()));
+
+ await tx
+ .update(taskDocuments)
+ .set({ visibility })
+ .where(and(inArray(taskDocuments.taskId, taskIds), this.docsOwnership()));
+
+ return updated ?? null;
+ });
+ }
+
async deleteAll(): Promise<number> {
const result = await this.db.delete(tasks).where(this.ownership()).returning();
@@ -189,6 +336,9 @@ export class TaskModel {
statuses: string[];
}>;
parentTaskId?: string | null;
+ /** Same semantics as `list({ visibility })` — UI narrowing on top of the
+ * already ownership-filtered set. */
+ visibility?: 'private' | 'public';
}): Promise<
Array<{
hasMore: boolean;
@@ -199,10 +349,11 @@ export class TaskModel {
total: number;
}>
> {
- const { groups, assigneeAgentId, parentTaskId } = options;
+ const { groups, assigneeAgentId, parentTaskId, visibility } = options;
const baseConditions = [this.ownership()];
if (assigneeAgentId) baseConditions.push(eq(tasks.assigneeAgentId, assigneeAgentId));
+ if (visibility) baseConditions.push(eq(tasks.visibility, visibility));
if (parentTaskId === null) {
baseConditions.push(isNull(tasks.parentTaskId));
} else if (parentTaskId) {
@@ -259,12 +410,19 @@ export class TaskModel {
parentTaskId?: string | null;
priorities?: number[];
statuses?: string[];
+ /**
+ * UI-side narrowing of the (already ownership-filtered) result set.
+ * Undefined means "no extra filter" (= "All" in the chip). Security is
+ * still enforced by `ownership()`; this is a view preference.
+ */
+ visibility?: 'private' | 'public';
}): Promise<{ tasks: TaskItem[]; total: number }> {
const {
statuses,
priorities,
parentTaskId,
assigneeAgentId,
+ visibility,
limit = 50,
offset = 0,
} = options || {};
@@ -274,6 +432,7 @@ export class TaskModel {
if (statuses?.length) conditions.push(inArray(tasks.status, statuses));
if (priorities?.length) conditions.push(inArray(tasks.priority, priorities));
if (assigneeAgentId) conditions.push(eq(tasks.assigneeAgentId, assigneeAgentId));
+ if (visibility) conditions.push(eq(tasks.visibility, visibility));
if (parentTaskId === null) {
conditions.push(isNull(tasks.parentTaskId));
@@ -628,10 +787,12 @@ export class TaskModel {
private depsOwnership = () =>
this.childOwnership({
userId: taskDependencies.userId,
+ visibility: taskDependencies.visibility,
workspaceId: taskDependencies.workspaceId,
});
async addDependency(taskId: string, dependsOnId: string, type: string = 'blocks'): Promise<void> {
+ const visibility = await this.getTaskVisibility(taskId);
await this.db
.insert(taskDependencies)
.values({
@@ -639,6 +800,7 @@ export class TaskModel {
taskId,
type,
userId: this.userId,
+ visibility,
workspaceId: this.workspaceId ?? null,
})
.onConflictDoNothing();
@@ -736,10 +898,12 @@ export class TaskModel {
private docsOwnership = () =>
this.childOwnership({
userId: taskDocuments.userId,
+ visibility: taskDocuments.visibility,
workspaceId: taskDocuments.workspaceId,
});
async pinDocument(taskId: string, documentId: string, pinnedBy: string = 'agent'): Promise<void> {
+ const visibility = await this.getTaskVisibility(taskId);
await this.db
.insert(taskDocuments)
.values({
@@ -747,6 +911,7 @@ export class TaskModel {
pinnedBy,
taskId,
userId: this.userId,
+ visibility,
workspaceId: this.workspaceId ?? null,
})
.onConflictDoNothing();
@@ -811,7 +976,8 @@ export class TaskModel {
const rootOwnership = this.ownershipSql();
const recursiveOwnership = this.ownershipSql('t');
const docsOwnership = this.workspaceId
- ? sql`td.workspace_id = ${this.workspaceId}`
+ ? sql`td.workspace_id = ${this.workspaceId}
+ AND (td.visibility = 'public' OR td.user_id = ${this.userId})`
: sql`td.user_id = ${this.userId} AND td.workspace_id IS NULL`;
const result = await this.db.execute(sql`
WITH RECURSIVE task_tree AS (
@@ -899,13 +1065,19 @@ export class TaskModel {
private commentsOwnership = () =>
this.childOwnership({
userId: taskComments.userId,
+ visibility: taskComments.visibility,
workspaceId: taskComments.workspaceId,
});
async addComment(data: Omit<NewTaskComment, 'id'>): Promise<TaskCommentItem> {
+ // Mirror the parent task's visibility onto the comment so subsequent
+ // reads/writes can be filtered without a JOIN. Falls back to 'public'
+ // if the task is somehow not visible (defensive — the caller should
+ // already have validated the task via `resolveOrThrow`).
+ const visibility = await this.getTaskVisibility(data.taskId);
const [comment] = await this.db
.insert(taskComments)
- .values({ ...data, workspaceId: this.workspaceId ?? null })
+ .values({ ...data, visibility, workspaceId: this.workspaceId ?? null })
.returning();
return comment;
}
diff --git a/packages/database/src/models/taskTopic.ts b/packages/database/src/models/taskTopic.ts
index 10aec46e6d0..75e21bf430b 100644
--- a/packages/database/src/models/taskTopic.ts
+++ b/packages/database/src/models/taskTopic.ts
@@ -21,7 +21,24 @@ export class TaskTopicModel {
}
private ownership = () =>
- buildWorkspaceWhere({ userId: this.userId, workspaceId: this.workspaceId }, taskTopics);
+ buildWorkspaceWhere(
+ { userId: this.userId, workspaceId: this.workspaceId },
+ {
+ userId: taskTopics.userId,
+ visibility: taskTopics.visibility,
+ workspaceId: taskTopics.workspaceId,
+ },
+ );
+
+ /** Look up the parent task's visibility so newly added topics mirror it. */
+ private async getTaskVisibility(taskId: string): Promise<'private' | 'public'> {
+ const row = await this.db
+ .select({ visibility: tasks.visibility })
+ .from(tasks)
+ .where(eq(tasks.id, taskId))
+ .limit(1);
+ return row[0]?.visibility ?? 'public';
+ }
/**
* Mirror a terminal taskTopic transition onto the underlying topic record:
@@ -48,6 +65,7 @@ export class TaskTopicModel {
topicId: string,
params: { operationId?: string; seq: number },
): Promise<void> {
+ const visibility = await this.getTaskVisibility(taskId);
await this.db
.insert(taskTopics)
.values({
@@ -56,6 +74,7 @@ export class TaskTopicModel {
taskId,
topicId,
userId: this.userId,
+ visibility,
workspaceId: this.workspaceId ?? null,
})
.onConflictDoNothing();
diff --git a/packages/database/src/repositories/agentGroup/index.ts b/packages/database/src/repositories/agentGroup/index.ts
index ccfcd0d7ea4..a0257da5f0e 100644
--- a/packages/database/src/repositories/agentGroup/index.ts
+++ b/packages/database/src/repositories/agentGroup/index.ts
@@ -405,6 +405,11 @@ export class AgentGroupRepository {
agentMembers: string[] = [],
supervisorConfig?: SupervisorAgentConfig,
): Promise<CreateGroupWithSupervisorResult> {
+ // Mirror the group's visibility onto the synthetic supervisor agent so
+ // workspace members don't see a stray supervisor when the parent group is
+ // private. Defaults to 'public' to match the column default.
+ const groupVisibility = groupParams.visibility ?? 'public';
+
// 1. Create supervisor agent (virtual agent)
const [supervisorAgent] = await this.db
.insert(agents)
@@ -422,6 +427,7 @@ export class AgentGroupRepository {
title: supervisorConfig?.title ?? 'Supervisor',
userId: this.userId,
virtual: true,
+ visibility: groupVisibility,
workspaceId: this.workspaceId ?? null,
})
.returning();
diff --git a/packages/database/src/repositories/home/index.ts b/packages/database/src/repositories/home/index.ts
index 95d76e5ff6f..293b208722e 100644
--- a/packages/database/src/repositories/home/index.ts
+++ b/packages/database/src/repositories/home/index.ts
@@ -50,11 +50,15 @@ export class HomeRepository {
* Get sidebar agent list with pinned, grouped, and ungrouped items
*/
async getSidebarAgentList(): Promise<SidebarAgentListResponse> {
- // 1. Query all agents (non-virtual) with their session info (if exists)
+ // 1. Query all agents (non-virtual) with their session info (if exists).
+ // `visibility` is selected so we can later bucket public vs. the
+ // current user's private rows; the WHERE already hides other members'
+ // private rows via the workspace-aware predicate.
const agentList = await this.db
.select({
agencyConfig: agents.agencyConfig,
agentSessionGroupId: agents.sessionGroupId,
+ agentUserId: agents.userId,
avatar: agents.avatar,
backgroundColor: agents.backgroundColor,
description: agents.description,
@@ -66,11 +70,21 @@ export class HomeRepository {
slug: agents.slug,
title: agents.title,
updatedAt: agents.updatedAt,
+ visibility: agents.visibility,
})
.from(agents)
.leftJoin(agentsToSessions, eq(agents.id, agentsToSessions.agentId))
.leftJoin(sessions, eq(agentsToSessions.sessionId, sessions.id))
- .where(and(buildWorkspaceWhere(this.scope, agents), not(eq(agents.virtual, true))))
+ .where(
+ and(
+ buildWorkspaceWhere(this.scope, {
+ userId: agents.userId,
+ workspaceId: agents.workspaceId,
+ visibility: agents.visibility,
+ }),
+ not(eq(agents.virtual, true)),
+ ),
+ )
.orderBy(desc(agents.updatedAt));
// 2. Query all chatGroups (group chats)
@@ -80,13 +94,21 @@ export class HomeRepository {
backgroundColor: chatGroups.backgroundColor,
description: chatGroups.description,
groupId: chatGroups.groupId,
+ groupUserId: chatGroups.userId,
id: chatGroups.id,
pinned: chatGroups.pinned,
title: chatGroups.title,
updatedAt: chatGroups.updatedAt,
+ visibility: chatGroups.visibility,
})
.from(chatGroups)
- .where(buildWorkspaceWhere(this.scope, chatGroups))
+ .where(
+ buildWorkspaceWhere(this.scope, {
+ userId: chatGroups.userId,
+ workspaceId: chatGroups.workspaceId,
+ visibility: chatGroups.visibility,
+ }),
+ )
.orderBy(desc(chatGroups.updatedAt));
// 2.1 Query member avatars for each chat group
@@ -104,9 +126,17 @@ export class HomeRepository {
id: sessionGroups.id,
name: sessionGroups.name,
sort: sessionGroups.sort,
+ userId: sessionGroups.userId,
+ visibility: sessionGroups.visibility,
})
.from(sessionGroups)
- .where(buildWorkspaceWhere(this.scope, sessionGroups))
+ .where(
+ buildWorkspaceWhere(this.scope, {
+ userId: sessionGroups.userId,
+ workspaceId: sessionGroups.workspaceId,
+ visibility: sessionGroups.visibility,
+ }),
+ )
.orderBy(sessionGroups.sort);
// 4. Process and categorize
@@ -168,6 +198,7 @@ export class HomeRepository {
agentItems: Array<{
agencyConfig: { heterogeneousProvider?: { type?: string } } | null;
agentSessionGroupId: string | null;
+ agentUserId: string;
avatar: string | null;
backgroundColor: string | null;
description: string | null;
@@ -179,21 +210,26 @@ export class HomeRepository {
slug: string | null;
title: string | null;
updatedAt: Date;
+ visibility: 'private' | 'public';
}>,
chatGroupItems: Array<{
avatar: string | null;
backgroundColor: string | null;
description: string | null;
groupId: string | null;
+ groupUserId: string;
id: string;
pinned: boolean | null;
title: string | null;
updatedAt: Date;
+ visibility: 'private' | 'public';
}>,
groupItems: Array<{
id: string;
name: string;
sort: number | null;
+ userId: string;
+ visibility: 'private' | 'public';
}>,
memberAvatarsMap: Map<string, Array<{ avatar: string; background?: string }>>,
agentUnread: Map<string, number> = new Map(),
@@ -202,8 +238,13 @@ export class HomeRepository {
// Convert to unified format
// For pinned status: agents.pinned takes priority, fallback to sessions.pinned for backward compatibility
// For groupId: agents.sessionGroupId takes priority, fallback to sessions.groupId for backward compatibility
- const allItems: Array<SidebarAgentItem & { groupId: string | null }> = [
- ...agentItems.map((a) => {
+ type EnrichedItem = SidebarAgentItem & {
+ groupId: string | null;
+ isPrivate: boolean;
+ };
+
+ const allItems: EnrichedItem[] = [
+ ...agentItems.map((a): EnrichedItem => {
const meta = normalizeInboxAgentMeta(
{ avatar: a.avatar, title: a.title },
{ slug: a.slug },
@@ -216,63 +257,88 @@ export class HomeRepository {
groupId: a.agentSessionGroupId ?? a.sessionGroupId,
heterogeneousType: a.agencyConfig?.heterogeneousProvider?.type ?? null,
id: a.id,
+ isPrivate: a.visibility === 'private',
pinned: a.pinned ?? a.sessionPinned ?? false,
sessionId: a.sessionId,
title: meta.title,
type: 'agent' as const,
unreadCount: agentUnread.get(a.id) ?? 0,
updatedAt: a.updatedAt,
+ visibility: a.visibility,
};
}),
- ...chatGroupItems.map((g) => ({
- // If group has custom avatar, use it (string); otherwise fallback to member avatars (array)
- avatar: g.avatar ? g.avatar : (memberAvatarsMap.get(g.id) ?? null),
- backgroundColor: g.backgroundColor,
- description: g.description,
- groupAvatar: g.avatar,
- groupId: g.groupId,
- id: g.id,
- pinned: g.pinned ?? false,
- sessionId: null,
- title: g.title,
- type: 'group' as const,
- unreadCount: groupUnread.get(g.id) ?? 0,
- updatedAt: g.updatedAt,
- })),
+ ...chatGroupItems.map(
+ (g): EnrichedItem => ({
+ // If group has custom avatar, use it (string); otherwise fallback to member avatars (array)
+ avatar: g.avatar ? g.avatar : (memberAvatarsMap.get(g.id) ?? null),
+ backgroundColor: g.backgroundColor,
+ description: g.description,
+ groupAvatar: g.avatar,
+ groupId: g.groupId,
+ id: g.id,
+ isPrivate: g.visibility === 'private',
+ pinned: g.pinned ?? false,
+ sessionId: null,
+ title: g.title,
+ type: 'group' as const,
+ unreadCount: groupUnread.get(g.id) ?? 0,
+ updatedAt: g.updatedAt,
+ visibility: g.visibility,
+ }),
+ ),
];
// Sort all items by updatedAt descending
allItems.sort((a, b) => b.updatedAt.getTime() - a.updatedAt.getTime());
- // Categorize: pinned / grouped / ungrouped
+ // Categorize: pinned / grouped / ungrouped, split by visibility. Pinned
+ // items always bubble to the top regardless of visibility so the user can
+ // surface their own private agents without leaving them buried.
const pinned: SidebarAgentItem[] = [];
const ungrouped: SidebarAgentItem[] = [];
+ const privateUngrouped: SidebarAgentItem[] = [];
const groupedMap = new Map<string, SidebarAgentItem[]>();
+ const privateGroupedMap = new Map<string, SidebarAgentItem[]>();
for (const item of allItems) {
- const { groupId, ...sidebarItem } = item;
+ const { groupId, isPrivate, ...sidebarItem } = item;
const cleanedItem = cleanObject(sidebarItem) as SidebarAgentItem;
if (item.pinned) {
pinned.push(cleanedItem);
- } else if (groupId) {
- const existing = groupedMap.get(groupId) || [];
+ continue;
+ }
+
+ if (groupId) {
+ const bucket = isPrivate ? privateGroupedMap : groupedMap;
+ const existing = bucket.get(groupId) || [];
existing.push(cleanedItem);
- groupedMap.set(groupId, existing);
+ bucket.set(groupId, existing);
+ } else if (isPrivate) {
+ privateUngrouped.push(cleanedItem);
} else {
ungrouped.push(cleanedItem);
}
}
- // Build groups array with items
- const groups: SidebarGroup[] = groupItems.map((g) => ({
- id: g.id,
- items: groupedMap.get(g.id) || [],
- name: g.name,
- sort: g.sort,
- }));
+ // Build groups arrays. A private folder houses only its private items;
+ // a public folder houses only its public items. (A folder cannot mix
+ // visibilities — items inherit their parent's scope on create.)
+ const groups: SidebarGroup[] = [];
+ const privateGroups: SidebarGroup[] = [];
+ for (const g of groupItems) {
+ const target = g.visibility === 'private' ? privateGroups : groups;
+ const itemsMap = g.visibility === 'private' ? privateGroupedMap : groupedMap;
+ target.push({
+ id: g.id,
+ items: itemsMap.get(g.id) || [],
+ name: g.name,
+ sort: g.sort,
+ visibility: g.visibility,
+ });
+ }
- return { groups, pinned, ungrouped };
+ return { groups, pinned, privateGroups, privateUngrouped, ungrouped };
}
/**
diff --git a/packages/database/src/repositories/knowledge/__tests__/index.test.ts b/packages/database/src/repositories/knowledge/__tests__/index.test.ts
index f142e243462..546b9455c9d 100644
--- a/packages/database/src/repositories/knowledge/__tests__/index.test.ts
+++ b/packages/database/src/repositories/knowledge/__tests__/index.test.ts
@@ -13,6 +13,7 @@ import {
knowledgeBaseFiles,
knowledgeBases,
users,
+ workspaces,
} from '../../../schemas';
import type { LobeChatDatabase } from '../../../type';
import { KnowledgeRepo } from '../index';
@@ -1246,4 +1247,99 @@ describe('KnowledgeRepo', () => {
expect(result.length).toBeGreaterThan(0);
});
});
+
+ describe('query with workspace visibility filter', () => {
+ const workspaceId = 'kr-vis-ws';
+ let wsRepo: KnowledgeRepo;
+
+ beforeEach(async () => {
+ await serverDB.insert(workspaces).values({
+ id: workspaceId,
+ name: 'Visibility WS',
+ slug: 'kr-vis-ws',
+ primaryOwnerId: userId,
+ });
+
+ await serverDB.insert(files).values([
+ {
+ id: 'vis-file-priv',
+ userId,
+ workspaceId,
+ visibility: 'private',
+ name: 'private.txt',
+ fileType: 'text/plain',
+ size: 10,
+ url: 'https://example.com/priv.txt',
+ },
+ {
+ id: 'vis-file-pub',
+ userId,
+ workspaceId,
+ visibility: 'public',
+ name: 'public.txt',
+ fileType: 'text/plain',
+ size: 10,
+ url: 'https://example.com/pub.txt',
+ },
+ {
+ id: 'vis-file-other-priv',
+ userId: otherUserId,
+ workspaceId,
+ visibility: 'private',
+ name: 'other-private.txt',
+ fileType: 'text/plain',
+ size: 10,
+ url: 'https://example.com/other.txt',
+ },
+ ]);
+
+ await serverDB.insert(documents).values([
+ {
+ id: 'vis-doc-priv',
+ userId,
+ workspaceId,
+ visibility: 'private',
+ title: 'Private Note',
+ fileType: 'custom/note',
+ sourceType: 'topic',
+ source: 'internal://note/vis-priv',
+ totalCharCount: 5,
+ totalLineCount: 1,
+ },
+ {
+ id: 'vis-doc-pub',
+ userId,
+ workspaceId,
+ visibility: 'public',
+ title: 'Public Note',
+ fileType: 'custom/note',
+ sourceType: 'topic',
+ source: 'internal://note/vis-pub',
+ totalCharCount: 5,
+ totalLineCount: 1,
+ },
+ ]);
+
+ wsRepo = new KnowledgeRepo(serverDB, userId, workspaceId);
+ });
+
+ it('should return only private rows when visibility=private', async () => {
+ const result = await wsRepo.query({ visibility: 'private' });
+ const ids = result.map((r) => r.id).sort();
+ expect(ids).toEqual(['vis-doc-priv', 'vis-file-priv']);
+ });
+
+ it('should return only public rows when visibility=public', async () => {
+ const result = await wsRepo.query({ visibility: 'public' });
+ const ids = result.map((r) => r.id).sort();
+ expect(ids).toEqual(['vis-doc-pub', 'vis-file-pub']);
+ });
+
+ it('should ignore the visibility filter when the repo has no workspaceId (personal mode)', async () => {
+ // knowledgeRepo has no workspaceId; personal-mode rows above are absent
+ // from this branch so we're just asserting the call succeeds without
+ // an unexpected error caused by hidden clauses.
+ await expect(knowledgeRepo.query({ visibility: 'private' })).resolves.toBeDefined();
+ });
+ });
});
diff --git a/packages/database/src/repositories/knowledge/index.test.ts b/packages/database/src/repositories/knowledge/index.test.ts
index 65c32c25c23..da842bfcd34 100644
--- a/packages/database/src/repositories/knowledge/index.test.ts
+++ b/packages/database/src/repositories/knowledge/index.test.ts
@@ -330,6 +330,87 @@ describe('KnowledgeRepo', () => {
});
});
+ describe('query - workspace visibility', () => {
+ const workspaceId = 'knowledge-visibility-workspace';
+
+ beforeEach(async () => {
+ await serverDB.insert(workspaces).values({
+ id: workspaceId,
+ name: 'Visibility Workspace',
+ primaryOwnerId: userId,
+ slug: workspaceId,
+ });
+
+ await serverDB.insert(documents).values([
+ {
+ content: 'Public workspace document',
+ fileType: 'application/pdf',
+ filename: 'public-doc.pdf',
+ source: 'public-source',
+ sourceType: 'api',
+ totalCharCount: 100,
+ totalLineCount: 10,
+ userId,
+ visibility: 'public',
+ workspaceId,
+ },
+ {
+ content: 'Caller private document',
+ fileType: 'application/pdf',
+ filename: 'caller-private-doc.pdf',
+ source: 'caller-private-source',
+ sourceType: 'api',
+ totalCharCount: 100,
+ totalLineCount: 10,
+ userId,
+ visibility: 'private',
+ workspaceId,
+ },
+ {
+ content: 'Other member private document',
+ fileType: 'application/pdf',
+ filename: 'other-private-doc.pdf',
+ source: 'other-private-source',
+ sourceType: 'api',
+ totalCharCount: 100,
+ totalLineCount: 10,
+ userId: otherUserId,
+ visibility: 'private',
+ workspaceId,
+ },
+ ]);
+ });
+
+ it('should hide other members private documents in All view', async () => {
+ const repo = new KnowledgeRepo(serverDB, userId, workspaceId);
+
+ const names = (await repo.query({ category: FilesTabs.All })).map((item) => item.name).sort();
+
+ expect(names).toEqual(['caller-private-doc.pdf', 'public-doc.pdf']);
+ expect(names).not.toContain('other-private-doc.pdf');
+ });
+
+ it('should only return caller-owned private documents when visibility=private', async () => {
+ const repo = new KnowledgeRepo(serverDB, userId, workspaceId);
+
+ const names = (await repo.query({ category: FilesTabs.All, visibility: 'private' })).map(
+ (item) => item.name,
+ );
+
+ expect(names).toEqual(['caller-private-doc.pdf']);
+ });
+
+ it('should hide other members private documents in queryRecent', async () => {
+ const repo = new KnowledgeRepo(serverDB, userId, workspaceId);
+
+ const names = (await repo.queryRecent(10)).map((item) => item.name).sort();
+
+ expect(names).toContain('caller-private-doc.pdf');
+ expect(names).toContain('public-doc.pdf');
+ expect(names).not.toContain('other-private-doc.pdf');
+ });
+ });
+
describe('query - search filtering', () => {
beforeEach(async () => {
await serverDB.insert(files).values([
diff --git a/packages/database/src/repositories/knowledge/index.ts b/packages/database/src/repositories/knowledge/index.ts
index 92d25f348f8..2c313ad0c5e 100644
--- a/packages/database/src/repositories/knowledge/index.ts
+++ b/packages/database/src/repositories/knowledge/index.ts
@@ -30,6 +30,14 @@ export interface KnowledgeItem {
sourceType: 'file' | 'document';
updatedAt: Date;
url?: string;
+ /** Workspace creator id (used by UI to decide if current user owns the row). */
+ userId?: string | null;
+ /**
+ * Workspace visibility. `null` when querying in personal mode (column is
+ * ignored). UI uses this together with `userId` to surface the lock icon
+ * and the publish-to-workspace affordance.
+ */
+ visibility?: 'private' | 'public' | null;
}
/**
@@ -50,15 +58,33 @@ export class KnowledgeRepo {
this.documentModel = new DocumentModel(db, userId, workspaceId);
}
- private fileOwnershipSql = (alias: 'f' = 'f') =>
- this.workspaceId
- ? sql`${sql.raw(`${alias}.workspace_id`)} = ${this.workspaceId}`
- : sql`${sql.raw(`${alias}.user_id`)} = ${this.userId} AND ${sql.raw(`${alias}.workspace_id`)} IS NULL`;
+ private fileOwnershipSql = (alias: 'f' = 'f') => {
+ if (!this.workspaceId) {
+ return sql`${sql.raw(`${alias}.user_id`)} = ${this.userId} AND ${sql.raw(`${alias}.workspace_id`)} IS NULL`;
+ }
+
+ // Workspace mode: members see all public rows; private rows are scoped to
+ // their creator. Mirrors `buildWorkspaceWhere` for the raw-SQL UNION paths.
+ return sql`${sql.raw(`${alias}.workspace_id`)} = ${this.workspaceId} AND (
+ ${sql.raw(`${alias}.visibility`)} IS NULL
+ OR ${sql.raw(`${alias}.visibility`)} = 'public'
+ OR (${sql.raw(`${alias}.visibility`)} = 'private' AND ${sql.raw(`${alias}.user_id`)} = ${this.userId})
+ )`;
+ };
+
+ private documentOwnershipSql = (alias: 'd' | 'documents' = 'd') => {
+ if (!this.workspaceId) {
+ return sql`${sql.raw(`${alias}.user_id`)} = ${this.userId} AND ${sql.raw(`${alias}.workspace_id`)} IS NULL`;
+ }
- private documentOwnershipSql = (alias: 'd' | 'documents' = 'd') =>
- this.workspaceId
- ? sql`${sql.raw(`${alias}.workspace_id`)} = ${this.workspaceId}`
- : sql`${sql.raw(`${alias}.user_id`)} = ${this.userId} AND ${sql.raw(`${alias}.workspace_id`)} IS NULL`;
+ // Workspace mode: members see all public rows; private rows are scoped to
+ // their creator. Mirrors `buildWorkspaceWhere` for the raw-SQL UNION paths.
+ return sql`${sql.raw(`${alias}.workspace_id`)} = ${this.workspaceId} AND (
+ ${sql.raw(`${alias}.visibility`)} IS NULL
+ OR ${sql.raw(`${alias}.visibility`)} = 'public'
+ OR (${sql.raw(`${alias}.visibility`)} = 'private' AND ${sql.raw(`${alias}.user_id`)} = ${this.userId})
+ )`;
+ };
/**
* Query combined results from files and documents tables
@@ -73,6 +99,7 @@ export class KnowledgeRepo {
parentId,
limit = 50,
offset = 0,
+ visibility,
}: QueryFileListParams = {}): Promise<KnowledgeItem[]> {
// If parentId is provided, check if it's a slug and resolve it to an ID
let resolvedParentId = parentId;
@@ -85,6 +112,11 @@ export class KnowledgeRepo {
// Otherwise assume it's already an ID
}
+ // Visibility filter is only meaningful in workspace mode. Personal-mode
+ // rows have `visibility` set to the schema default and are already fully
+ // scoped by `workspace_id IS NULL AND user_id = caller`.
+ const effectiveVisibility = this.workspaceId ? visibility : undefined;
+
// Build file query
const fileQuery = this.buildFileQuery({
category,
@@ -94,6 +126,7 @@ export class KnowledgeRepo {
showFilesInKnowledgeBase,
sortType,
sorter,
+ visibility: effectiveVisibility,
});
// Build document query (notes)
@@ -104,6 +137,7 @@ export class KnowledgeRepo {
q,
sortType,
sorter,
+ visibility: effectiveVisibility,
});
// Combine both queries with UNION ALL
@@ -164,6 +198,8 @@ export class KnowledgeRepo {
sourceType: row.source_type,
updatedAt: new Date(row.updated_at),
url: row.url,
+ userId: row.user_id,
+ visibility: row.visibility,
};
});
@@ -192,6 +228,8 @@ export class KnowledgeRepo {
d.content,
d.slug,
COALESCE(d.metadata, f.metadata) as metadata,
+ f.user_id,
+ f.visibility,
'file' as source_type
FROM ${files} f
LEFT JOIN ${documents} d
@@ -220,6 +258,8 @@ export class KnowledgeRepo {
content,
slug,
metadata,
+ user_id,
+ visibility,
'document' as source_type
FROM ${documents}
WHERE ${this.documentOwnershipSql('documents')}
@@ -277,6 +317,8 @@ export class KnowledgeRepo {
sourceType: row.source_type,
updatedAt: new Date(row.updated_at),
url: row.url,
+ userId: row.user_id,
+ visibility: row.visibility,
};
});
@@ -363,6 +405,7 @@ export class KnowledgeRepo {
knowledgeBaseId,
showFilesInKnowledgeBase,
parentId,
+ visibility,
}: QueryFileListParams = {}): ReturnType<typeof sql> {
const whereConditions: any[] = [this.fileOwnershipSql('f')];
@@ -380,6 +423,15 @@ export class KnowledgeRepo {
whereConditions.push(sql`f.name ILIKE ${`%${q}%`}`);
}
+ // Visibility filter — narrows the ownership-scoped pool. Explicit private
+ // rows with no `visibility` column still surface under 'public' since the
+ // schema default + backfill treats them as public.
+ if (visibility === 'private') {
+ whereConditions.push(sql`f.visibility = 'private'`);
+ } else if (visibility === 'public') {
+ whereConditions.push(sql`(f.visibility = 'public' OR f.visibility IS NULL)`);
+ }
+
// Category filter
if (category && category !== FilesTabs.All) {
const fileTypePrefix = this.getFileTypePrefix(category as FilesTabs);
@@ -424,6 +476,12 @@ export class KnowledgeRepo {
}
}
+ if (visibility === 'private') {
+ kbWhereConditions.push(sql`f.visibility = 'private'`);
+ } else if (visibility === 'public') {
+ kbWhereConditions.push(sql`(f.visibility = 'public' OR f.visibility IS NULL)`);
+ }
+
return sql`
SELECT
COALESCE(d.id, f.id) as id,
@@ -441,6 +499,8 @@ export class KnowledgeRepo {
d.content,
d.slug,
COALESCE(d.metadata, f.metadata) as metadata,
+ f.user_id,
+ f.visibility,
'file' as source_type
FROM ${files} f
INNER JOIN ${knowledgeBaseFiles} kbf
@@ -481,6 +541,8 @@ export class KnowledgeRepo {
d.content,
d.slug,
COALESCE(d.metadata, f.metadata) as metadata,
+ f.user_id,
+ f.visibility,
'file' as source_type
FROM ${files} f
LEFT JOIN ${documents} d
@@ -494,6 +556,7 @@ export class KnowledgeRepo {
q,
knowledgeBaseId,
parentId,
+ visibility,
}: QueryFileListParams = {}): ReturnType<typeof sql> {
const whereConditions: any[] = [
this.documentOwnershipSql('documents'),
@@ -516,6 +579,14 @@ export class KnowledgeRepo {
);
}
+ if (visibility === 'private') {
+ whereConditions.push(sql`${documents.visibility} = 'private'`);
+ } else if (visibility === 'public') {
+ whereConditions.push(
+ sql`(${documents.visibility} = 'public' OR ${documents.visibility} IS NULL)`,
+ );
+ }
+
// Category filter - match documents by fileType prefix
if (category && category !== FilesTabs.All) {
const fileTypePrefix = this.getFileTypePrefix(category as FilesTabs);
@@ -551,6 +622,8 @@ export class KnowledgeRepo {
NULL::text as content,
NULL::varchar(255) as slug,
NULL::jsonb as metadata,
+ NULL::text as user_id,
+ NULL::text as visibility,
NULL::text as source_type
WHERE false
`;
@@ -577,6 +650,12 @@ export class KnowledgeRepo {
kbWhereConditions.push(sql`(d.title ILIKE ${`%${q}%`} OR d.filename ILIKE ${`%${q}%`})`);
}
+ if (visibility === 'private') {
+ kbWhereConditions.push(sql`d.visibility = 'private'`);
+ } else if (visibility === 'public') {
+ kbWhereConditions.push(sql`(d.visibility = 'public' OR d.visibility IS NULL)`);
+ }
+
// Category filter
if (category && category !== FilesTabs.All) {
const fileTypePrefix = this.getFileTypePrefix(category as FilesTabs);
@@ -596,7 +675,9 @@ export class KnowledgeRepo {
} else if (fileTypePrefix) {
kbWhereConditions.push(sql`d.file_type ILIKE ${`${fileTypePrefix}%`}`);
} else {
- // Exclude documents from other categories (Images, Videos, Audios, Websites)
+ // Exclude documents from other categories (Images, Videos, Audios, Websites).
+ // Keep the NULL placeholder column set aligned with the other UNION
+ // branches so PostgreSQL doesn't complain about mismatched arity.
return sql`
SELECT
NULL::varchar(30) as id,
@@ -614,6 +695,8 @@ export class KnowledgeRepo {
NULL::text as content,
NULL::varchar(255) as slug,
NULL::jsonb as metadata,
+ NULL::text as user_id,
+ NULL::text as visibility,
NULL::text as source_type
WHERE false
`;
@@ -642,6 +725,8 @@ export class KnowledgeRepo {
d.content,
d.slug,
d.metadata,
+ d.user_id,
+ d.visibility,
'document' as source_type
FROM ${documents} d
WHERE ${sql.join(kbWhereConditions, sql` AND `)}
@@ -665,6 +750,8 @@ export class KnowledgeRepo {
content,
slug,
metadata,
+ user_id,
+ visibility,
'document' as source_type
FROM ${documents}
WHERE ${sql.join(whereConditions, sql` AND `)}
diff --git a/packages/database/src/utils/agent-access.test.ts b/packages/database/src/utils/agent-access.test.ts
new file mode 100644
index 00000000000..6c560c6c8fd
--- /dev/null
+++ b/packages/database/src/utils/agent-access.test.ts
@@ -0,0 +1,142 @@
+// @vitest-environment node
+import { TRPCError } from '@trpc/server';
+import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+
+import { getTestDB } from '../core/getTestDB';
+import { agents, users, workspaces } from '../schemas';
+import type { LobeChatDatabase } from '../type';
+import { assertAgentUsableBy } from './agent-access';
+
+const serverDB: LobeChatDatabase = await getTestDB();
+
+const userA = 'agent-access-user-a';
+const userB = 'agent-access-user-b';
+
+let workspaceA = '';
+let workspaceB = '';
+
+beforeEach(async () => {
+ await serverDB.delete(users);
+ await serverDB.insert(users).values([{ id: userA }, { id: userB }]);
+
+ const [wsA] = await serverDB
+ .insert(workspaces)
+ .values({ name: 'wsA', primaryOwnerId: userA, slug: 'agent-access-ws-a' })
+ .returning();
+ const [wsB] = await serverDB
+ .insert(workspaces)
+ .values({ name: 'wsB', primaryOwnerId: userB, slug: 'agent-access-ws-b' })
+ .returning();
+ workspaceA = wsA.id;
+ workspaceB = wsB.id;
+});
+
+afterEach(async () => {
+ await serverDB.delete(users);
+});
+
+describe('assertAgentUsableBy', () => {
+ describe('workspace mode', () => {
+ it('passes for a public agent for any workspace member', async () => {
+ const agentId = 'agt-public';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ userId: userA,
+ workspaceId: workspaceA,
+ visibility: 'public',
+ });
+
+ await expect(
+ assertAgentUsableBy(serverDB, agentId, { userId: userB, workspaceId: workspaceA }),
+ ).resolves.toBeUndefined();
+ });
+
+ it('passes for a private agent when the caller is the owner', async () => {
+ const agentId = 'agt-private-owner';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ userId: userA,
+ workspaceId: workspaceA,
+ visibility: 'private',
+ });
+
+ await expect(
+ assertAgentUsableBy(serverDB, agentId, { userId: userA, workspaceId: workspaceA }),
+ ).resolves.toBeUndefined();
+ });
+
+ it("throws NOT_FOUND when a non-owner reaches another user's private agent", async () => {
+ const agentId = 'agt-private-other';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ userId: userA,
+ workspaceId: workspaceA,
+ visibility: 'private',
+ });
+
+ await expect(
+ assertAgentUsableBy(serverDB, agentId, { userId: userB, workspaceId: workspaceA }),
+ ).rejects.toBeInstanceOf(TRPCError);
+ await expect(
+ assertAgentUsableBy(serverDB, agentId, { userId: userB, workspaceId: workspaceA }),
+ ).rejects.toMatchObject({ code: 'NOT_FOUND' });
+ });
+
+ it('throws NOT_FOUND when the caller is in a different workspace from the agent', async () => {
+ const agentId = 'agt-cross-ws';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ userId: userA,
+ workspaceId: workspaceA,
+ visibility: 'public',
+ });
+
+ await expect(
+ assertAgentUsableBy(serverDB, agentId, { userId: userA, workspaceId: workspaceB }),
+ ).rejects.toMatchObject({ code: 'NOT_FOUND' });
+ });
+
+ it('throws NOT_FOUND when the agent does not exist', async () => {
+ await expect(
+ assertAgentUsableBy(serverDB, 'missing-id', {
+ userId: userA,
+ workspaceId: workspaceA,
+ }),
+ ).rejects.toMatchObject({ code: 'NOT_FOUND' });
+ });
+ });
+
+ describe('personal mode', () => {
+ it('passes for the owner of a personal-mode agent', async () => {
+ const agentId = 'agt-personal-owner';
+ await serverDB.insert(agents).values({ id: agentId, userId: userA });
+
+ await expect(
+ assertAgentUsableBy(serverDB, agentId, { userId: userA }),
+ ).resolves.toBeUndefined();
+ });
+
+ it('throws NOT_FOUND for non-owner access to a personal-mode agent', async () => {
+ const agentId = 'agt-personal-other';
+ await serverDB.insert(agents).values({ id: agentId, userId: userA });
+
+ await expect(assertAgentUsableBy(serverDB, agentId, { userId: userB })).rejects.toMatchObject(
+ { code: 'NOT_FOUND' },
+ );
+ });
+
+ it('throws NOT_FOUND when caller is personal mode but agent lives in a workspace', async () => {
+ const agentId = 'agt-personal-vs-ws';
+ await serverDB.insert(agents).values({
+ id: agentId,
+ userId: userA,
+ workspaceId: workspaceA,
+ visibility: 'public',
+ });
+
+ await expect(assertAgentUsableBy(serverDB, agentId, { userId: userA })).rejects.toMatchObject(
+ { code: 'NOT_FOUND' },
+ );
+ });
+ });
+});
diff --git a/packages/database/src/utils/agent-access.ts b/packages/database/src/utils/agent-access.ts
new file mode 100644
index 00000000000..a00b25d79b7
--- /dev/null
+++ b/packages/database/src/utils/agent-access.ts
@@ -0,0 +1,49 @@
+import { TRPCError } from '@trpc/server';
+import { and, eq } from 'drizzle-orm';
+
+import { agents } from '../schemas';
+import type { LobeChatDatabase } from '../type';
+import { buildWorkspaceWhere } from './workspace';
+
+interface AgentAccessCtx {
+ userId: string;
+ workspaceId?: string;
+}
+
+/**
+ * Assert that `ctx.userId` in `ctx.workspaceId` is allowed to use the agent —
+ * i.e. it's a public agent in the same workspace OR owned by the caller.
+ *
+ * Cross-user access to someone else's private agent (and any cross-workspace
+ * lookup) throws `NOT_FOUND` rather than `FORBIDDEN`, so a caller cannot probe
+ * for the existence of a private agent they don't own.
+ *
+ * Use at every entry point that stores an agentId for later execution
+ * (task assignee, group member, signal marker, bot binding ...) and as a
+ * fail-closed guard at execution time. The single predicate keeps every
+ * surface in sync with `buildWorkspaceWhere` semantics.
+ */
+export async function assertAgentUsableBy(
+ db: LobeChatDatabase,
+ agentId: string,
+ ctx: AgentAccessCtx,
+): Promise<void> {
+ const rows = await db
+ .select({ id: agents.id })
+ .from(agents)
+ .where(
+ and(
+ eq(agents.id, agentId),
+ buildWorkspaceWhere(ctx, {
+ userId: agents.userId,
+ workspaceId: agents.workspaceId,
+ visibility: agents.visibility,
+ }),
+ ),
+ )
+ .limit(1);
+
+ if (rows.length === 0) {
+ throw new TRPCError({ code: 'NOT_FOUND', message: 'Agent not found' });
+ }
+}
diff --git a/packages/database/src/utils/workspace.test.ts b/packages/database/src/utils/workspace.test.ts
index 7ccfb4bf7ba..4f52e5404f9 100644
--- a/packages/database/src/utils/workspace.test.ts
+++ b/packages/database/src/utils/workspace.test.ts
@@ -6,7 +6,9 @@ import { buildWorkspacePayload, buildWorkspaceWhere } from './workspace';
describe('workspace utils', () => {
describe('buildWorkspaceWhere', () => {
- it('scopes personal reads by user and null workspace', () => {
+ it('scopes personal reads by user and null workspace (visibility ignored)', () => {
+ // Personal mode rows are implicitly owner-private, so the visibility
+ // column is intentionally not part of the predicate.
const condition = buildWorkspaceWhere({ userId: 'user-1' }, agents);
const built = new PgDialect().sqlToQuery(condition);
@@ -14,13 +16,100 @@ describe('workspace utils', () => {
expect(built.params).toStrictEqual(['user-1']);
});
- it('scopes workspace reads by workspace id only', () => {
+ it('scopes workspace reads with visibility filter when the column is present', () => {
const condition = buildWorkspaceWhere({ userId: 'user-1', workspaceId: 'ws-1' }, agents);
const built = new PgDialect().sqlToQuery(condition);
+ // Workspace mode: every member sees public rows; private rows are
+ // restricted to their creator. NULL is treated as public for backwards
+ // compatibility with rows that pre-date the `visibility` column.
+ expect(built.sql).toBe(
+ '("agents"."workspace_id" = $1 and ("agents"."visibility" is null or "agents"."visibility" = $2 or ("agents"."visibility" = $3 and "agents"."user_id" = $4)))',
+ );
+ expect(built.params).toStrictEqual(['ws-1', 'public', 'private', 'user-1']);
+ });
+
+ it('omits visibility filter when the cols object has no visibility column', () => {
+ const condition = buildWorkspaceWhere(
+ { userId: 'user-1', workspaceId: 'ws-1' },
+ { userId: agents.userId, workspaceId: agents.workspaceId },
+ );
+ const built = new PgDialect().sqlToQuery(condition);
+
expect(built.sql).toBe('"agents"."workspace_id" = $1');
expect(built.params).toStrictEqual(['ws-1']);
});
+
+ it('drops the caller-private branch when the executing agent is public', () => {
+ // Public-agent gate: mirrors task's `assertAgentVisibilityCompat` — a
+ // workspace-shared agent must not read the caller's own private rows
+ // even though it runs under the caller's session.
+ const condition = buildWorkspaceWhere(
+ {
+ callerAgentVisibility: 'public',
+ userId: 'user-1',
+ workspaceId: 'ws-1',
+ },
+ agents,
+ );
+ const built = new PgDialect().sqlToQuery(condition);
+
+ expect(built.sql).toBe(
+ '("agents"."workspace_id" = $1 and ("agents"."visibility" is null or "agents"."visibility" = $2))',
+ );
+ expect(built.params).toStrictEqual(['ws-1', 'public']);
+ });
+
+ it('keeps the caller-private branch when the executing agent is private', () => {
+ // Private agents run under their owner's session — they should retain
+ // read access to that owner's private rows.
+ const condition = buildWorkspaceWhere(
+ {
+ callerAgentVisibility: 'private',
+ userId: 'user-1',
+ workspaceId: 'ws-1',
+ },
+ agents,
+ );
+ const built = new PgDialect().sqlToQuery(condition);
+
+ expect(built.sql).toBe(
+ '("agents"."workspace_id" = $1 and ("agents"."visibility" is null or "agents"."visibility" = $2 or ("agents"."visibility" = $3 and "agents"."user_id" = $4)))',
+ );
+ expect(built.params).toStrictEqual(['ws-1', 'public', 'private', 'user-1']);
+ });
+
+ it('leaves the standard filter in place when callerAgentVisibility is null (unresolved)', () => {
+ // Null means the caller isn't a tool runtime or the agent could not be
+ // resolved. Fall through to the standard "public + own-private" filter.
+ const condition = buildWorkspaceWhere(
+ {
+ callerAgentVisibility: null,
+ userId: 'user-1',
+ workspaceId: 'ws-1',
+ },
+ agents,
+ );
+ const built = new PgDialect().sqlToQuery(condition);
+
+ expect(built.sql).toBe(
+ '("agents"."workspace_id" = $1 and ("agents"."visibility" is null or "agents"."visibility" = $2 or ("agents"."visibility" = $3 and "agents"."user_id" = $4)))',
+ );
+ expect(built.params).toStrictEqual(['ws-1', 'public', 'private', 'user-1']);
+ });
+
+ it('ignores callerAgentVisibility in personal mode (no workspaceId)', () => {
+ // Personal-mode rows are already owner-private by construction; visibility
+ // is unused, so the public-agent gate should be a no-op here.
+ const condition = buildWorkspaceWhere(
+ { callerAgentVisibility: 'public', userId: 'user-1' },
+ agents,
+ );
+ const built = new PgDialect().sqlToQuery(condition);
+
+ expect(built.sql).toBe('("agents"."user_id" = $1 and "agents"."workspace_id" is null)');
+ expect(built.params).toStrictEqual(['user-1']);
+ });
});
describe('buildWorkspacePayload', () => {
diff --git a/packages/database/src/utils/workspace.ts b/packages/database/src/utils/workspace.ts
index c510a0fffd1..50431853610 100644
--- a/packages/database/src/utils/workspace.ts
+++ b/packages/database/src/utils/workspace.ts
@@ -1,14 +1,18 @@
-import { and, eq, isNull, type SQL } from 'drizzle-orm';
+import { and, eq, isNull, or, type SQL } from 'drizzle-orm';
import type { AnyPgColumn } from 'drizzle-orm/pg-core';
/**
* Workspace-aware ownership predicate for content tables.
*
* Compat mode semantics:
- * - `ctx.workspaceId` set → row belongs to that team workspace (shared with all
- * members; `user_id` only records the creator and isn't part of the filter)
- * - `ctx.workspaceId` absent → personal mode: row belongs to a single user with
- * `workspace_id IS NULL`
+ * - `ctx.workspaceId` set → row belongs to that team workspace. By default
+ * visible to all members; `user_id` only records the creator and isn't part
+ * of the filter. When a `visibility` column is provided, private rows are
+ * additionally constrained to `user_id = ctx.userId` so each member only
+ * sees their own private items.
+ * - `ctx.workspaceId` absent → personal mode: row belongs to a single user
+ * with `workspace_id IS NULL` (visibility is ignored — every personal row
+ * is implicitly private to its owner).
*
* Used by content router models (agent / session / message / file / topic …)
* to replace the previous `userId = ?` only filter.
@@ -34,12 +38,51 @@ import type { AnyPgColumn } from 'drizzle-orm/pg-core';
* ```
*/
export function buildWorkspaceWhere(
- ctx: { userId: string; workspaceId?: string },
- cols: { userId: AnyPgColumn; workspaceId: AnyPgColumn },
+ ctx: {
+ /**
+ * Visibility of the agent that owns the calling tool execution.
+ *
+ * - `'public'` — workspace-shared agent: rows scoped to the caller as
+ * "private" are excluded. Prevents a public agent from reading its
+ * caller's private data (e.g. private Pages) and echoing them back
+ * into a shared surface. Mirrors the task side's
+ * `assertAgentVisibilityCompat` (`public task ≠ private agent`).
+ * - `'private'` / `null` / omitted — no tightening. Reads flow through
+ * the standard "public rows + own private rows" filter, so a private
+ * agent (or a direct TRPC call) can still see the caller's private
+ * content.
+ */
+ callerAgentVisibility?: 'private' | 'public' | null;
+ userId: string;
+ workspaceId?: string;
+ },
+ cols: { userId: AnyPgColumn; workspaceId: AnyPgColumn; visibility?: AnyPgColumn },
): SQL {
- return ctx.workspaceId
- ? eq(cols.workspaceId, ctx.workspaceId)
- : (and(eq(cols.userId, ctx.userId), isNull(cols.workspaceId)) as SQL);
+ if (!ctx.workspaceId) {
+ return and(eq(cols.userId, ctx.userId), isNull(cols.workspaceId)) as SQL;
+ }
+
+ const workspaceMatch = eq(cols.workspaceId, ctx.workspaceId);
+ if (!cols.visibility) return workspaceMatch;
+
+ // Public agent gate: drop the "creator's own private rows" branch so a
+ // workspace-public agent cannot read caller-private content even when it
+ // holds the caller's session (which would otherwise grant that access).
+ if (ctx.callerAgentVisibility === 'public') {
+ const publicOnly = or(isNull(cols.visibility), eq(cols.visibility, 'public')) as SQL;
+ return and(workspaceMatch, publicOnly) as SQL;
+ }
+
+ // Workspace + visibility-aware mode: every member sees public rows; private
+ // rows are scoped to their creator. NULL visibility is treated as public for
+ // backwards compatibility with rows that pre-date the column.
+ const visibilityFilter = or(
+ isNull(cols.visibility),
+ eq(cols.visibility, 'public'),
+ and(eq(cols.visibility, 'private'), eq(cols.userId, ctx.userId)),
+ ) as SQL;
+
+ return and(workspaceMatch, visibilityFilter) as SQL;
}
/**
diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.ts
index 36896890010..3e0d4c610fc 100644
--- a/packages/locales/src/default/chat.ts
+++ b/packages/locales/src/default/chat.ts
@@ -306,9 +306,11 @@ export default {
'mention.category.agents': 'Agents',
'mention.category.files': 'Files',
'mention.category.members': 'Members',
+ 'mention.category.privateAgents': 'Private',
'mention.category.skills': 'Skills',
'mention.category.tools': 'Tools',
'mention.category.topics': 'Topics',
+ 'mention.category.workspaceAgents': 'Workspace',
'mention.title': 'Mention Members',
'messageAction.collapse': 'Collapse Message',
'messageAction.continueGeneration': 'Continue Generating',
@@ -479,6 +481,23 @@ export default {
'newCodexAgent': 'Add Codex',
'newPlatformAgent': 'Connect Agent',
'newGroupChat': 'Create Group',
+ 'agent.publishToWorkspace': 'Publish to Workspace',
+ 'agent.publishToWorkspaceConfirm':
+ 'Other workspace members will be able to use this agent. You will not be able to make it private again.',
+ 'agent.publishToWorkspaceSuccess': 'Published to workspace',
+ 'resources.publishToWorkspace.menu': 'Publish to Workspace',
+ 'resources.publishToWorkspace.confirm':
+ 'Other workspace members will be able to see this file. You will not be able to make it private again.',
+ 'resources.publishToWorkspace.success': 'Published to workspace',
+ 'resources.publishToWorkspace.error': 'Failed to publish file to workspace',
+ 'resources.visibility.privateTooltip': 'Only you can see this file',
+ 'resources.visibility.label': 'Visibility',
+ 'resources.visibility.private': 'Private',
+ 'resources.visibility.workspace': 'Workspace',
+ 'resources.mode.privateHint': 'Your own drawer — only you can see these files',
+ 'resources.mode.workspaceHint': 'Shared with everyone in this workspace',
+ 'resources.knowledgePicker.publicAgentHint':
+ 'Public agents can only reference workspace resources. Publish a private resource to the workspace first if you want to attach it.',
// Op status tray (floating panel above the chat input during a run)
'opStatusTray.status.compressing': 'Compressing context',
@@ -665,6 +684,10 @@ export default {
'sessionGroup.noAvailableAgents': 'No available agents',
'sessionGroup.noMatchingAgents': 'No matching agents found',
'sessionGroup.noSelectedAgents': 'Please select agents',
+ 'sessionGroup.publishToWorkspace': 'Publish to Workspace',
+ 'sessionGroup.publishToWorkspaceConfirm':
+ 'Other workspace members will be able to use this folder. You will not be able to make it private again.',
+ 'sessionGroup.publishToWorkspaceSuccess': 'Published to workspace',
'sessionGroup.rename': 'Rename Category',
'sessionGroup.renameSuccess': 'Renamed successfully',
'sessionGroup.searchAgents': 'Search agents',
@@ -945,6 +968,15 @@ export default {
'taskDetail.topicMenu.stopConfirm.title': 'Stop Run?',
'taskDetail.topicSource': 'From {{identifier}}',
'taskDetail.updateFailed': 'Failed to update task',
+ 'taskDetail.publishToWorkspace.menuLabel': 'Publish to Workspace',
+ 'taskDetail.publishToWorkspace.confirmTitle': 'Publish task to workspace?',
+ 'taskDetail.publishToWorkspace.confirmContent':
+ 'Once published, this task becomes visible to all workspace members and cannot be reverted to private.',
+ 'taskDetail.publishToWorkspace.confirmHint':
+ 'Past runs remain private. Only runs created after publishing will be visible to workspace members.',
+ 'taskDetail.publishToWorkspace.confirmOk': 'Publish',
+ 'taskDetail.publishToWorkspace.errorPrivateAgent':
+ 'This task is assigned to a private agent. Reassign to a workspace agent, or publish the agent first.',
'createTask.assignee': 'Assignee',
'createTask.collapse': 'Hide input',
@@ -952,8 +984,19 @@ export default {
'createTask.instructionPlaceholder': 'Add task instruction...',
'createTask.submit': 'Create task',
'createTask.titlePlaceholder': 'Task title',
+ 'createTask.visibility.changeFailed': 'Failed to change task visibility',
+ 'createTask.visibility.helperPrivate': 'Only you can see this task.',
+ 'createTask.visibility.helperWorkspace': 'Everyone in this workspace can see this task.',
+ 'createTask.visibility.label': 'Visibility',
+ 'createTask.visibility.privateAgentDisabled':
+ 'Private agents can only run private tasks. Pick a workspace agent or switch this task to Private.',
+ 'createTask.visibility.privateAgentLocked': 'Private agents can only run private tasks.',
+ 'createTask.visibility.private': 'Private',
+ 'createTask.visibility.workspace': 'Workspace',
'taskList.activeTasks': 'Active Tasks',
'taskList.all': 'All tasks',
+ 'taskList.visibility.all': 'All',
+ 'taskList.visibility.label': 'Visibility',
'taskList.breadcrumb.task': 'Task',
'taskList.empty': 'No tasks yet',
'taskList.emptyHero.greeting': 'What should we tackle today?',
diff --git a/packages/locales/src/default/common.ts b/packages/locales/src/default/common.ts
index b7a13c013c8..8fd5cc27874 100644
--- a/packages/locales/src/default/common.ts
+++ b/packages/locales/src/default/common.ts
@@ -435,6 +435,8 @@ export default {
'loading': 'Loading...',
'mail.business': 'Business Cooperation',
'mail.support': 'Email Support',
+ 'addNew': 'Add new',
+ 'gotIt': 'Got it',
'more': 'More',
'navPanel.agent': 'Agents',
'navPanel.bottomDivider': 'Items below anchor to bottom',
@@ -446,6 +448,8 @@ export default {
'navPanel.library': 'Library',
'navPanel.moveDown': 'Move Down',
'navPanel.pinned': 'Pinned',
+ 'navPanel.privateAgents': 'Private',
+ 'navPanel.publicAgents': 'Workspace',
'navPanel.moveUp': 'Move Up',
'navPanel.show': 'Show',
'navPanel.visible': 'Visible',
diff --git a/packages/locales/src/default/discover.ts b/packages/locales/src/default/discover.ts
index bcdd2fe8431..b9cffe1381e 100644
--- a/packages/locales/src/default/discover.ts
+++ b/packages/locales/src/default/discover.ts
@@ -164,10 +164,20 @@ export default {
'fork.forksCount_other': '{{count}} forks',
+ 'fork.orgSetupRequired.memberContent':
+ "This workspace has not yet set up a Community profile, so forks from the marketplace can't be saved here. Please ask the workspace owner to set it up under Community → Workspace.",
+ 'fork.orgSetupRequired.ownerContent':
+ 'This workspace has not yet set up a Community profile. Set one up to fork agents from the marketplace into your workspace.',
+ 'fork.orgSetupRequired.ownerOk': 'Go to setup',
+ 'fork.orgSetupRequired.title': 'Community profile setup required',
+
'fork.success': 'Forked successfully!',
'fork.viewAllForks': 'View all forks',
+ 'fork.visibilityPrivate': 'Private',
+ 'fork.visibilityPublic': 'Workspace',
+
'groupAgents.tag': 'Group',
'groupAgents.underReview': 'Under Review',
diff --git a/packages/locales/src/default/file.ts b/packages/locales/src/default/file.ts
index 734b2e6a618..98874ef4099 100644
--- a/packages/locales/src/default/file.ts
+++ b/packages/locales/src/default/file.ts
@@ -62,6 +62,7 @@ export default {
'library.import.success': 'Library imported to {{name}}.',
'library.import.tooltip':
'Fork this library into a workspace. Files are shared by reference; the original stays in your personal space.',
+ 'library.privateEmpty': 'Create a private library',
'library.list.confirmRemoveLibrary':
'You are about to delete this library. The files within it will not be deleted but moved to All Files. This action cannot be undone, so please proceed with caution.',
'library.list.copyDescription':
@@ -78,7 +79,12 @@ export default {
'library.list.transferTitle': 'Transfer library',
'library.list.transferTo': 'Transfer to…',
'library.new': 'New Library',
+ 'library.publish': 'Publish to workspace',
+ 'library.publishConfirm.content':
+ 'All workspace members will see this knowledge base. This action cannot be undone.',
+ 'library.publishConfirm.title': 'Publish knowledge base to workspace?',
'library.title': 'Library',
+ 'library.workspaceEmpty': 'Create a workspace library',
'loadMore': 'Load More',
'menu.allFiles': 'All Files',
'menu.allPages': 'All Pages',
@@ -191,7 +197,16 @@ export default {
'pageList.noResults': 'No matching pages found',
'pageList.pageCount': '{{count}} pages in total',
'pageList.pageSizeItem': '{{count}} items',
+ 'pageList.privateTitle': 'Private',
+ 'pageList.publishConfirm.content':
+ 'After publishing, everyone in the workspace can see this page. You can’t change it back to private later.',
+ 'pageList.publishConfirm.ok': 'Publish',
+ 'pageList.publishConfirm.title': 'Publish to workspace',
+ 'pageList.publishError': 'Failed to publish page',
+ 'pageList.publishSuccess': 'Page published to workspace',
+ 'pageList.publishToWorkspace': 'Publish to workspace',
'pageList.title': 'Pages',
+ 'pageList.workspaceTitle': 'Workspace',
'pageList.transferConfirm': 'Transfer',
'pageList.transferDescription':
'Move this page (and any folders it contains) to another workspace.',
diff --git a/packages/locales/src/default/image.ts b/packages/locales/src/default/image.ts
index f304ac0800c..f2d5bd77dd0 100644
--- a/packages/locales/src/default/image.ts
+++ b/packages/locales/src/default/image.ts
@@ -69,6 +69,10 @@ export default {
'topic.deleteConfirmDesc':
'You are about to delete this generation topic. This action cannot be undone, please proceed with caution.',
'topic.empty': 'No generation topics',
+ 'topic.privateTitle': 'Private',
'topic.title': 'Image Topic',
'topic.untitled': 'Default Topic',
+ 'topic.visibility.existingLocked':
+ 'Visibility is fixed for the current topic. Create a new topic to choose a different space.',
+ 'topic.workspaceTitle': 'Workspace',
};
diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.ts
index 3c8488145ac..b0bde8c1bf8 100644
--- a/packages/locales/src/default/setting.ts
+++ b/packages/locales/src/default/setting.ts
@@ -1303,12 +1303,20 @@ When I am ___, I need ___
'Are you sure you want to downgrade your plan?',
'workspace.billingPage.billing.cancelSuccess': 'Cancellation scheduled.',
'workspace.billingPage.billing.cancelTitle': 'Cancel subscription?',
+ 'workspace.billingPage.billing.billingPeriodModal.adjustmentLine': 'Prorated adjustment',
'workspace.billingPage.billing.billingPeriodModal.body':
"Your workspace's billing period will be changed from {{current}} to {{target}}.",
'workspace.billingPage.billing.billingPeriodModal.cancelCta': 'Cancel',
'workspace.billingPage.billing.billingPeriodModal.confirmCta': 'Change billing period',
+ 'workspace.billingPage.billing.billingPeriodModal.creditsSubtitle':
+ 'Prorated credit for unused time on the current period',
+ 'workspace.billingPage.billing.billingPeriodModal.previewFailed':
+ "Couldn't load the price preview. Please try again.",
+ 'workspace.billingPage.billing.billingPeriodModal.previewRetryCta': 'Retry',
'workspace.billingPage.billing.billingPeriodModal.scheduledChange':
'The change will take effect after the current period ends.',
+ 'workspace.billingPage.billing.billingPeriodModal.seatsLine': 'Workspace seats',
+ 'workspace.billingPage.billing.billingPeriodModal.unitYearly': 'year',
'workspace.billingPage.billing.billingPeriodModal.scheduledChangeWithDate':
'The change will take effect after the current period ends on {{date}}.',
'workspace.billingPage.billing.billingPeriodModal.title': 'Change the billing period?',
@@ -1336,6 +1344,7 @@ When I am ___, I need ___
'workspace.billingPage.billing.change.title': 'Adjust plan',
'workspace.billingPage.billing.changeFailed': 'Failed to update subscription.',
'workspace.billingPage.billing.changeSuccess': 'Subscription update saved.',
+ 'workspace.billingPage.billing.upgradePlanModal.calculating': 'Calculating…',
'workspace.billingPage.billing.upgradePlanModal.cancelCta': 'Cancel',
'workspace.billingPage.billing.upgradePlanModal.checkoutCharge':
'You will be redirected to checkout to complete payment.',
@@ -1365,9 +1374,18 @@ When I am ___, I need ___
'workspace.billingPage.billing.upgradePlanModal.resultViewMembersCta': 'View members',
'workspace.billingPage.billing.upgradePlanModal.resultPaymentCharged':
'Prorated charge · Amount in billing',
+ 'workspace.billingPage.billing.upgradePlanModal.resultPaymentChargedAmount':
+ '{{amount}} charged · Amount in billing',
'workspace.billingPage.billing.upgradePlanModal.resultPaymentLabel': 'Payment',
'workspace.billingPage.billing.upgradePlanModal.resultPaymentScheduled':
'No charge now · Effective next cycle',
+ 'workspace.billingPage.billing.upgradePlanModal.resultFailedDesc':
+ "We couldn't complete this update. {{reason}}",
+ 'workspace.billingPage.billing.upgradePlanModal.resultFailedRetryCta': 'Try again',
+ 'workspace.billingPage.billing.upgradePlanModal.resultFailedTitle': 'Update failed',
+ 'workspace.billingPage.billing.upgradePlanModal.resultPlanChangedDesc':
+ 'Upgraded to {{plan}} · {{interval}}.',
+ 'workspace.billingPage.billing.upgradePlanModal.resultPlanChangedTitle': 'Plan upgraded',
'workspace.billingPage.billing.upgradePlanModal.resultSeatsExpanded':
'Purchased: {{changedSeats}} seats · Total: {{seats}} seats',
'workspace.billingPage.billing.upgradePlanModal.resultSeatsLabel': 'Seats',
@@ -1433,6 +1451,7 @@ When I am ___, I need ___
'workspace.billingPage.billing.pending.cancelCta': 'Cancel',
'workspace.billingPage.billing.pending.cancelSuccess': 'Subscription change canceled.',
'workspace.billingPage.billing.pending.keepPlanCta': 'Keep {{plan}}',
+ 'workspace.billingPage.billing.pending.keepPlanCtaWithInterval': 'Keep {{plan}} {{interval}}',
'workspace.billingPage.billing.pending.desc':
'Switches to {{plan}} {{interval}} on {{date}}. Keep your account balance sufficient.',
'workspace.billingPage.billing.pending.descWithSeats':
@@ -1699,6 +1718,9 @@ When I am ___, I need ___
'workspace.billingPage.usage.model.showLess': 'Show less',
'workspace.billingPage.usage.model.unknown': 'Unknown model',
'workspace.billingPage.usage.ops': 'Operations',
+ 'workspace.billingPage.usage.privateAgents': 'Private agents',
+ 'workspace.billingPage.usage.privateAgentsTooltip':
+ 'Number of private agents owned by this member. Owners can see the count for accounting, but not the agent content.',
'workspace.billingPage.usage.range.30d': 'Last 30 days',
'workspace.billingPage.usage.range.all': 'All time',
'workspace.billingPage.usage.range.cycle': 'This cycle',
@@ -2246,6 +2268,9 @@ When I am ___, I need ___
'workspace.invitePage.switchAccountToAccept': 'Sign in as {{email}} to accept',
'workspace.invitePage.signUpToJoin': 'Create account & join',
'workspace.invitePage.title': 'Workspace Invitation',
+ 'workspace.invitePage.viewerLimitSubtitle':
+ 'This workspace has reached its viewer limit. Ask an owner to free a viewer seat or upgrade the plan before joining.',
+ 'workspace.invitePage.viewerLimitTitle': 'Viewer Limit Reached',
'workspace.invitePage.workspaceLimitSubtitle':
"You've reached the maximum of {{limit}} workspaces. Leave one before joining another.",
'workspace.invitePage.workspaceLimitTitle': 'Workspace Limit Reached',
@@ -2257,8 +2282,17 @@ When I am ___, I need ___
'workspace.members.invite.errors.alreadyMember':
'{{email}} is already a member of this workspace.',
'workspace.members.invite.failed': 'Failed to send invitation',
+ 'workspace.members.invite.invitationLimitReached':
+ 'This workspace has reached its pending-invitation limit of {{limit}}. Revoke or wait for unused invitations to expire before sending new ones.',
'workspace.members.invite.limitReached':
'This workspace can have up to {{limit}} members. Remove a member before inviting more.',
+ 'workspace.members.invite.askOwnerToBuySeats':
+ 'Ask the workspace owner to purchase more seats before inviting new members.',
+ 'workspace.members.invite.buySeatsCta': 'Buy seats',
+ 'workspace.members.invite.seatInsufficient':
+ 'Only {{remaining}} seat(s) remaining. Buy more seats to invite {{required}} new member(s).',
+ 'workspace.members.invite.seatInsufficientNoBuy':
+ 'Only {{remaining}} seat(s) remaining. Ask the workspace owner to purchase more seats.',
'workspace.members.invite.roleLabel': 'Role',
'workspace.members.invite.submit': 'Invite',
'workspace.members.invite.subtitle':
@@ -2329,12 +2363,7 @@ When I am ___, I need ___
'workspace.upgradeModal.successPage.amountLabel': 'Total paid',
'workspace.upgradeModal.successPage.activating':
'Activating your subscription — this usually takes a few seconds…',
- 'workspace.upgradeModal.successPage.continueCta': 'Invite & continue',
- 'workspace.upgradeModal.successPage.desc':
- '{{name}} is now on Pro. Invite teammates to start collaborating.',
- 'workspace.upgradeModal.successPage.inviteDesc':
- 'Send invites by email. They will receive a link to join the workspace.',
- 'workspace.upgradeModal.successPage.inviteTitle': 'Invite teammates to {{name}}',
+ 'workspace.upgradeModal.successPage.desc': '{{name}} is now on Pro.',
'workspace.upgradeModal.successPage.paidAtLabel': 'Paid at',
'workspace.upgradeModal.successPage.planTag': 'Workspace Pro',
'workspace.upgradeModal.successPage.processingDesc':
@@ -2345,7 +2374,6 @@ When I am ___, I need ___
'workspace.upgradeModal.successPage.recurringLabel': 'Billing cycle',
'workspace.upgradeModal.successPage.seatsSummary': '{{count}} included seat',
'workspace.upgradeModal.successPage.seatsSummary_other': '{{count}} included seats',
- 'workspace.upgradeModal.successPage.skipCta': 'Skip for now',
'workspace.upgradeModal.successPage.title': 'Upgrade complete',
'workspace.upgradeModal.successToast': 'Upgrade complete — refreshing your plan…',
'workspace.upgradeModal.title': 'Upgrade workspace',
@@ -2506,6 +2534,8 @@ When I am ___, I need ___
'workspace.onboarding.skipConfirm.cancel': 'Continue setup',
'workspace.onboarding.toast.saved': 'Saved',
'workspace.onboarding.toast.failed': 'Could not save. Please try again.',
+ 'workspace.onboarding.toast.installAgentsFailed':
+ "Couldn't add the selected agents. You can install them later from the marketplace.",
'workspace.onboarding.step1.heading': 'Personalize LobeAI',
'workspace.onboarding.step1.subtitle':
'Give your workspace assistant an identity your team will recognize.',
@@ -2565,6 +2595,8 @@ When I am ___, I need ___
'workspace.onboarding.step4Invite.finish': 'Finish',
'workspace.onboarding.step4Invite.heading': 'Invite your team',
'workspace.onboarding.step4Invite.invitedCount': 'Invited {{count}} member(s)',
+ 'workspace.onboarding.step4Invite.seatLimitReached':
+ 'You can invite up to {{max}} teammate(s) with your current seats.',
'workspace.onboarding.step4Invite.subtitle':
'Bring teammates into this workspace now, or invite them later from member settings.',
'workspace.onboarding.step4Invite.subtitleWithExtraSeats':
@@ -2576,6 +2608,8 @@ When I am ___, I need ___
'Your workspace is set up. Jump in and start collaborating with your team.',
'workspace.onboarding.step4.subtitleWithAgents':
'{{count}} agent(s) ready to help. Jump in and start collaborating with your team.',
+ 'workspace.onboarding.step4.marketProfileNudge':
+ "We've set up a Community profile for <strong>{{name}}</strong> so workspace agents can be installed. <cta>Customize it in Community</cta>.",
'workspace.onboarding.step4.cta': 'Enter workspace',
'workspaceSetting.breadcrumb.settings': 'Settings',
'workspaceSetting.devices.desc':
diff --git a/packages/locales/src/default/topic.ts b/packages/locales/src/default/topic.ts
index 136931778b1..33e0026a75f 100644
--- a/packages/locales/src/default/topic.ts
+++ b/packages/locales/src/default/topic.ts
@@ -175,6 +175,8 @@ export default {
'sidebar.expandAll': 'Expand all groups',
'sidebar.title': 'Topics',
'taskManager.agent': 'Task Agent',
+ 'taskManager.agentSelector.privateGroup': 'Private',
+ 'taskManager.agentSelector.workspaceGroup': 'Workspace',
'taskManager.welcome': 'Ask me about your tasks',
'temp': 'Temporary',
'title': 'Topic',
diff --git a/packages/locales/src/default/video.ts b/packages/locales/src/default/video.ts
index aaf0093b9c9..5fdbf3af7b5 100644
--- a/packages/locales/src/default/video.ts
+++ b/packages/locales/src/default/video.ts
@@ -31,6 +31,10 @@ export default {
'topic.deleteConfirm': 'Delete Video Topic',
'topic.deleteConfirmDesc':
'You are about to delete this video topic. This action cannot be undone.',
+ 'topic.privateTitle': 'Private',
'topic.title': 'Video Topics',
'topic.untitled': 'Default Topic',
+ 'topic.visibility.existingLocked':
+ 'Visibility is fixed for the current topic. Create a new topic to choose a different space.',
+ 'topic.workspaceTitle': 'Workspace',
} as const;
diff --git a/packages/types/src/agent/item.ts b/packages/types/src/agent/item.ts
index 09411b76e76..903f5329b37 100644
--- a/packages/types/src/agent/item.ts
+++ b/packages/types/src/agent/item.ts
@@ -95,8 +95,7 @@ export interface LobeAgentConfig {
}
export type LobeAgentConfigKeys =
- | keyof LobeAgentConfig
- | ['params', keyof LobeAgentConfig['params']];
+ keyof LobeAgentConfig | ['params', keyof LobeAgentConfig['params']];
/**
* Zod schema for creating a new agent.
@@ -123,6 +122,12 @@ export const CreateAgentSchema = z.object({
title: z.string().nullish(),
tts: z.custom<LobeAgentTTSConfig>().optional(),
virtual: z.boolean().nullish(),
+ /**
+ * `private` keeps the agent visible only to its creator within the workspace;
+ * `public` (default) makes it visible to every workspace member. Ignored in
+ * personal mode (no workspaceId).
+ */
+ visibility: z.enum(['private', 'public']).optional(),
});
export type CreateAgentConfig = z.infer<typeof CreateAgentSchema>;
@@ -157,6 +162,11 @@ export interface AgentItem {
updatedAt: Date;
userId: string;
virtual?: boolean | null;
+ /**
+ * Workspace-scoped visibility. `public` (default) = every workspace member
+ * can see this agent; `private` = creator-only. Ignored in personal mode.
+ */
+ visibility?: 'private' | 'public';
/** Owning workspace; null for personal (non-workspace) agents. */
workspaceId?: string | null;
}
diff --git a/packages/types/src/agentGroup/index.ts b/packages/types/src/agentGroup/index.ts
index 8b37edba3d9..407423f8b5e 100644
--- a/packages/types/src/agentGroup/index.ts
+++ b/packages/types/src/agentGroup/index.ts
@@ -46,6 +46,12 @@ export const InsertChatGroupSchema = z.object({
marketIdentifier: z.string().nullish(),
pinned: z.boolean().nullish(),
title: z.string().nullish(),
+ /**
+ * `private` keeps the chat group visible only to its creator within the
+ * workspace; `public` (default) makes it visible to every workspace member.
+ * Ignored in personal mode.
+ */
+ visibility: z.enum(['private', 'public']).optional(),
});
export type InsertChatGroup = z.infer<typeof InsertChatGroupSchema>;
diff --git a/packages/types/src/document/index.ts b/packages/types/src/document/index.ts
index 24145e66242..4b4a0cb6f20 100644
--- a/packages/types/src/document/index.ts
+++ b/packages/types/src/document/index.ts
@@ -91,6 +91,14 @@ export interface LobeDocument {
userId?: string;
+ /**
+ * Workspace-mode visibility. `'public'` (default) is workspace-shared,
+ * `'private'` is scoped to the creator only. `null`/`undefined` in personal
+ * mode where visibility is not meaningful. Used to bucket the Pages sidebar
+ * into "Private" and "Workspace" accordions.
+ */
+ visibility?: 'private' | 'public' | null;
+
/**
* Owning workspace id (null for personal documents). Used client-side to gate
* workspace-only behaviour such as the collaborative edit lock.
diff --git a/packages/types/src/files/list.ts b/packages/types/src/files/list.ts
index f0676ce6c7b..acd36985de0 100644
--- a/packages/types/src/files/list.ts
+++ b/packages/types/src/files/list.ts
@@ -36,7 +36,13 @@ export interface FileListItem {
sourceType: string;
updatedAt: Date;
url: string;
- userId?: string;
+ userId?: string | null;
+ /**
+ * Workspace visibility. `null` (or absent) means the row predates the
+ * column / is in personal mode. UI uses this together with `userId` to
+ * surface the lock icon and the publish-to-workspace affordance.
+ */
+ visibility?: 'private' | 'public' | null;
}
export enum SortType {
@@ -54,6 +60,13 @@ export const QueryFileListSchema = z.object({
showFilesInKnowledgeBase: z.boolean().default(false),
sortType: z.enum(['desc', 'asc']).optional(),
sorter: z.enum(['createdAt', 'size']).optional(),
+ /**
+ * Workspace-mode visibility filter. Absent / undefined means "all"
+ * (already ownership-filtered by the server). `'private'` narrows to
+ * the caller's own private rows; `'public'` narrows to workspace-shared
+ * rows. Ignored in personal mode.
+ */
+ visibility: z.enum(['private', 'public']).optional(),
});
export type QueryFileListSchemaType = z.infer<typeof QueryFileListSchema>;
@@ -68,6 +81,7 @@ export interface QueryFileListParams {
showFilesInKnowledgeBase?: boolean;
sorter?: string;
sortType?: string;
+ visibility?: 'private' | 'public';
}
export interface PaginatedFileList {
diff --git a/packages/types/src/generation/index.ts b/packages/types/src/generation/index.ts
index 1f25a1fea8a..d2d956726dd 100644
--- a/packages/types/src/generation/index.ts
+++ b/packages/types/src/generation/index.ts
@@ -6,6 +6,7 @@ export interface ImageGenerationTopic {
id: string;
title?: string | null;
updatedAt: Date;
+ visibility?: 'private' | 'public' | null;
}
export interface BaseGenerationAsset {
diff --git a/packages/types/src/home.ts b/packages/types/src/home.ts
index 7bfa67faf18..1b3042e7f25 100644
--- a/packages/types/src/home.ts
+++ b/packages/types/src/home.ts
@@ -3,6 +3,13 @@
*/
export type SidebarItemType = 'agent' | 'group';
+/**
+ * Sidebar visibility scope. Mirrors the `visibility` column on agents /
+ * chat_groups / session_groups. `private` items are only listed for the
+ * creator within the workspace; `public` items are visible to every member.
+ */
+export type SidebarVisibility = 'private' | 'public';
+
/**
* Avatar item for group members
*/
@@ -52,6 +59,12 @@ export interface SidebarAgentItem {
*/
unreadCount?: number;
updatedAt: Date;
+ /**
+ * `private` items are only visible to their creator within a workspace.
+ * Absent / `public` for items that are visible to every workspace member or
+ * for personal-mode rows that pre-date the column.
+ */
+ visibility?: SidebarVisibility;
}
/**
@@ -62,6 +75,11 @@ export interface SidebarGroup {
items: SidebarAgentItem[];
name: string;
sort: number | null;
+ /**
+ * Visibility of the session group itself (same semantics as
+ * {@link SidebarAgentItem.visibility}).
+ */
+ visibility?: SidebarVisibility;
}
/**
@@ -70,5 +88,15 @@ export interface SidebarGroup {
export interface SidebarAgentListResponse {
groups: SidebarGroup[];
pinned: SidebarAgentItem[];
+ /**
+ * Workspace-only: folders owned by the current user with
+ * `visibility = 'private'`. Empty array in personal mode.
+ */
+ privateGroups: SidebarGroup[];
+ /**
+ * Workspace-only: ungrouped private agents/chat groups owned by the current
+ * user. Empty array in personal mode.
+ */
+ privateUngrouped: SidebarAgentItem[];
ungrouped: SidebarAgentItem[];
}
diff --git a/packages/types/src/knowledgeBase/index.ts b/packages/types/src/knowledgeBase/index.ts
index 67d07cf8dd8..9520bb2d8a7 100644
--- a/packages/types/src/knowledgeBase/index.ts
+++ b/packages/types/src/knowledgeBase/index.ts
@@ -23,12 +23,18 @@ export interface KnowledgeBaseItem {
// different types of knowledge bases need to be distinguished
type: string | null;
updatedAt: Date;
+ /** Creator's user id — surfaced so the sidebar can gate creator-only actions. */
+ userId?: string;
+ /** Workspace-scoped visibility: `public` (default) or `private` (creator-only). */
+ visibility?: 'private' | 'public';
}
export interface CreateKnowledgeBaseParams {
avatar?: string;
description?: string;
name: string;
+ /** Workspace-scoped visibility for a newly created KB. Derived from the current resource-mode. */
+ visibility?: 'private' | 'public';
}
export enum KnowledgeType {
@@ -44,7 +50,11 @@ export interface KnowledgeItem {
fileType?: string;
id: string;
name: string;
+ /** Creator's user id — used by the picker to gate creator-only actions and identify ownership. */
+ ownerUserId?: string;
type: KnowledgeType;
+ /** Workspace-scoped visibility of the underlying resource (file or KB). */
+ visibility?: 'private' | 'public';
}
export interface SystemEmbeddingConfig {
diff --git a/packages/types/src/task/index.ts b/packages/types/src/task/index.ts
index c160907338e..bab8c14b4e9 100644
--- a/packages/types/src/task/index.ts
+++ b/packages/types/src/task/index.ts
@@ -4,13 +4,7 @@ import type { ChatFileItem } from '../message/ui/chat';
// ── Task type aliases ──
export type TaskStatus =
- | 'backlog'
- | 'canceled'
- | 'completed'
- | 'failed'
- | 'paused'
- | 'running'
- | 'scheduled';
+ 'backlog' | 'canceled' | 'completed' | 'failed' | 'paused' | 'running' | 'scheduled';
export type TaskPriority = 0 | 1 | 2 | 3 | 4;
@@ -204,6 +198,10 @@ export interface TaskItem {
status: string;
totalTopics: number | null;
updatedAt: Date;
+ // 'private' tasks are only visible to their creator in workspace mode.
+ // 'public' (default) tasks are visible to every workspace member.
+ // The column is ignored in personal mode (no workspace).
+ visibility: 'private' | 'public';
workspaceId: string | null;
}
@@ -244,6 +242,7 @@ export interface NewTask {
status?: string;
totalTopics?: number | null;
updatedAt?: Date;
+ visibility?: 'private' | 'public';
workspaceId?: string | null;
}
@@ -399,6 +398,9 @@ export interface TaskDetailData {
userId?: string | null;
/** Task-level verify (delivery-acceptance) gate config; `tasks.config.verify`. */
verify?: TaskVerifyConfig | null;
+ /** Visibility within a workspace. 'public' is workspace-shared (default);
+ * 'private' is only visible to the creator. Ignored in personal mode. */
+ visibility?: 'private' | 'public';
workspace?: TaskDetailWorkspaceNode[];
/** Owning workspace; null for personal (non-workspace) tasks. */
workspaceId?: string | null;
diff --git a/src/components/AvatarUpload/index.tsx b/src/components/AvatarUpload/index.tsx
new file mode 100644
index 00000000000..26f56564691
--- /dev/null
+++ b/src/components/AvatarUpload/index.tsx
@@ -0,0 +1,144 @@
+'use client';
+
+import { Avatar, Icon } from '@lobehub/ui';
+import { Spin, Upload } from 'antd';
+import { createStaticStyles, cssVar } from 'antd-style';
+import { Loader2, PencilIcon, X } from 'lucide-react';
+import { memo, useMemo } from 'react';
+
+import { imageToBase64 } from '@/utils/imageToBase64';
+import { createUploadImageHandler } from '@/utils/uploadFIle';
+
+// Image-only avatar control (Upload + square-crop + pencil hover overlay).
+// Use when an avatar must come from an uploaded image rather than an emoji.
+interface AvatarUploadProps {
+ /** Show the hover delete badge (i.e. a real avatar is set). */
+ allowDelete?: boolean;
+ compressSize?: number;
+ loading?: boolean;
+ onDelete?: () => void;
+ onUpload?: (file: File) => void;
+ shape?: 'circle' | 'square';
+ size?: number;
+ title?: string;
+ /** Image URL, or a name string for the generated letter-avatar preview. */
+ value?: string;
+}
+
+const styles = createStaticStyles(({ css }) => ({
+ delete: css`
+ cursor: pointer;
+
+ position: absolute;
+ z-index: 2;
+ inset-block-start: 2px;
+ inset-inline-end: 2px;
+
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ width: 20px;
+ height: 20px;
+ border: 2px solid ${cssVar.colorBgContainer};
+ border-radius: 50%;
+
+ color: ${cssVar.colorTextLightSolid};
+
+ opacity: 0;
+ background: ${cssVar.colorError};
+
+ transition: opacity ${cssVar.motionDurationMid} ease;
+ `,
+ overlay: css`
+ cursor: pointer;
+
+ position: absolute;
+ z-index: 1;
+ inset: 0;
+
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ border-radius: 8px;
+
+ opacity: 0;
+ background: ${cssVar.colorBgMask};
+
+ transition: opacity ${cssVar.motionDurationMid} ease;
+ `,
+ wrapper: css`
+ cursor: pointer;
+ position: relative;
+ flex: none;
+ border-radius: 8px;
+
+ &:hover .avatar-edit-overlay,
+ &:hover .avatar-delete-badge {
+ opacity: 1;
+ }
+ `,
+}));
+
+const AvatarUpload = memo<AvatarUploadProps>(
+ ({
+ value,
+ onUpload,
+ onDelete,
+ allowDelete,
+ loading,
+ compressSize = 256,
+ shape = 'square',
+ size = 72,
+ title,
+ }) => {
+ const handleUpload = useMemo(
+ () =>
+ createUploadImageHandler(async (dataUrl) => {
+ const img = new Image();
+ img.src = dataUrl;
+ await new Promise((resolve, reject) => {
+ img.addEventListener('load', resolve);
+ img.addEventListener('error', reject);
+ });
+ const webpBase64 = imageToBase64({ img, size: compressSize });
+ const blob = await (await fetch(webpBase64)).blob();
+ onUpload?.(new File([blob], 'avatar.webp', { type: 'image/webp' }));
+ }),
+ [compressSize, onUpload],
+ );
+
+ return (
+ <Upload beforeUpload={handleUpload} itemRender={() => void 0} maxCount={1}>
+ <Spin indicator={<Icon spin icon={Loader2} />} spinning={!!loading}>
+ <div className={styles.wrapper}>
+ <Avatar avatar={value} shape={shape} size={size} title={title} />
+ <div className={`${styles.overlay} avatar-edit-overlay`}>
+ <Icon
+ color={cssVar.colorTextLightSolid}
+ icon={PencilIcon}
+ size={Math.round(size / 3)}
+ />
+ </div>
+ {allowDelete && (
+ <div
+ className={`${styles.delete} avatar-delete-badge`}
+ onClick={(event) => {
+ event.stopPropagation();
+ onDelete?.();
+ }}
+ >
+ <Icon icon={X} size={12} />
+ </div>
+ )}
+ </div>
+ </Spin>
+ </Upload>
+ );
+ },
+);
+
+AvatarUpload.displayName = 'AvatarUpload';
+
+export default AvatarUpload;
diff --git a/src/features/AgentTaskManager/AgentSelectorAction.test.tsx b/src/features/AgentTaskManager/AgentSelectorAction.test.tsx
index c9a6abd6761..1eb7d3b7871 100644
--- a/src/features/AgentTaskManager/AgentSelectorAction.test.tsx
+++ b/src/features/AgentTaskManager/AgentSelectorAction.test.tsx
@@ -29,6 +29,8 @@ const mocks = vi.hoisted(() => ({
agentGroups: [] as any[],
isAgentListInit: true,
pinnedAgents: [] as any[],
+ privateAgentGroups: [] as any[],
+ privateUngroupedAgents: [] as any[],
ungroupedAgents: [
{ id: 'agt_custom', title: 'Custom Agent', type: 'agent' },
{ id: 'grp_custom', title: 'Custom Group', type: 'group' },
diff --git a/src/features/AgentTaskManager/AgentSelectorAction.tsx b/src/features/AgentTaskManager/AgentSelectorAction.tsx
index e676d5a35c5..1b3e3077696 100644
--- a/src/features/AgentTaskManager/AgentSelectorAction.tsx
+++ b/src/features/AgentTaskManager/AgentSelectorAction.tsx
@@ -1,9 +1,11 @@
import { Center, Flexbox, Popover } from '@lobehub/ui';
import { createStaticStyles, cx } from 'antd-style';
+import isEqual from 'fast-deep-equal';
import { ChevronsUpDownIcon } from 'lucide-react';
import { memo, Suspense, useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { type SidebarAgentItem } from '@/database/repositories/home';
import { conversationSelectors, useConversationStore } from '@/features/Conversation';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import AgentItem from '@/features/PageEditor/Copilot/AgentSelector/AgentItem';
@@ -32,6 +34,14 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
background: ${cssVar.colorFillSecondary};
}
`,
+ sectionHeader: css`
+ padding-block: 4px;
+ padding-inline: 8px;
+
+ font-size: 12px;
+ line-height: 1.4;
+ color: ${cssVar.colorTextTertiary};
+ `,
}));
interface AgentSelectorActionProps {
@@ -43,18 +53,31 @@ const AgentSelectorAction = memo<AgentSelectorActionProps>(({ onAgentChange }) =
const [open, setOpen] = useState(false);
const agentId = useConversationStore(conversationSelectors.agentId);
- const agents = useHomeStore(homeAgentListSelectors.allAgents);
+ const pinnedAgents = useHomeStore(homeAgentListSelectors.pinnedAgents, isEqual);
+ const agentGroups = useHomeStore(homeAgentListSelectors.agentGroups, isEqual);
+ const ungroupedAgents = useHomeStore(homeAgentListSelectors.ungroupedAgents, isEqual);
+ const privateAgentGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateUngroupedAgents = useHomeStore(
+ homeAgentListSelectors.privateUngroupedAgents,
+ isEqual,
+ );
+ const hasPrivateAgents = useHomeStore(homeAgentListSelectors.hasPrivateAgents);
const isAgentListInit = useHomeStore(homeAgentListSelectors.isAgentListInit);
const taskAgentId = useAgentStore(builtinAgentSelectors.taskAgentId);
const taskAgentData = useAgentStore((s) => s.agentMap[taskAgentId || '']);
useFetchAgentList();
- const agentsWithBuiltin = useMemo(() => {
- const availableAgents = agents.filter((agent) => agent.type === 'agent');
- const hasTaskAgent = availableAgents.some((agent) => agent.id === taskAgentId);
+ // Workspace bucket: pinned + grouped + ungrouped. In personal mode this is the entire
+ // list (private buckets are empty). The builtin task agent is shared content, so it
+ // is injected at the top of this bucket when missing — keeping the prior behavior.
+ const workspaceAgents = useMemo<SidebarAgentItem[]>(() => {
+ const groupedItems = agentGroups.flatMap((group) => group.items);
+ const merged = [...pinnedAgents, ...groupedItems, ...ungroupedAgents].filter(
+ (agent) => agent.type === 'agent',
+ );
- if (taskAgentId && !hasTaskAgent) {
+ if (taskAgentId && !merged.some((agent) => agent.id === taskAgentId)) {
return [
{
avatar: taskAgentData?.avatar || null,
@@ -65,16 +88,21 @@ const AgentSelectorAction = memo<AgentSelectorActionProps>(({ onAgentChange }) =
type: 'agent' as const,
updatedAt: new Date(),
},
- ...availableAgents,
+ ...merged,
];
}
- return availableAgents;
- }, [agents, taskAgentData, taskAgentId, t]);
+ return merged;
+ }, [pinnedAgents, agentGroups, ungroupedAgents, taskAgentId, taskAgentData, t]);
+
+ const privateAgents = useMemo<SidebarAgentItem[]>(() => {
+ const groupedItems = privateAgentGroups.flatMap((group) => group.items);
+ return [...groupedItems, ...privateUngroupedAgents].filter((agent) => agent.type === 'agent');
+ }, [privateAgentGroups, privateUngroupedAgents]);
const activeAgent = useMemo(
- () => agentsWithBuiltin.find((agent) => agent.id === agentId),
- [agentId, agentsWithBuiltin],
+ () => [...privateAgents, ...workspaceAgents].find((agent) => agent.id === agentId),
+ [agentId, privateAgents, workspaceAgents],
);
const handleAgentChange = useCallback(
@@ -84,6 +112,19 @@ const AgentSelectorAction = memo<AgentSelectorActionProps>(({ onAgentChange }) =
[onAgentChange],
);
+ const renderAgentItems = (list: SidebarAgentItem[]) =>
+ list.map((agent) => (
+ <AgentItem
+ active={agent.id === agentId}
+ agentId={agent.id}
+ agentTitle={agent.title || t('untitledAgent', { ns: 'chat' })}
+ avatar={agent.avatar}
+ key={agent.id}
+ onAgentChange={handleAgentChange}
+ onClose={() => setOpen(false)}
+ />
+ ));
+
const renderAgents = (
<Flexbox
gap={4}
@@ -94,17 +135,28 @@ const AgentSelectorAction = memo<AgentSelectorActionProps>(({ onAgentChange }) =
width: '100%',
}}
>
- {agentsWithBuiltin.map((agent) => (
- <AgentItem
- active={agent.id === agentId}
- agentId={agent.id}
- agentTitle={agent.title || t('untitledAgent', { ns: 'chat' })}
- avatar={agent.avatar}
- key={agent.id}
- onAgentChange={handleAgentChange}
- onClose={() => setOpen(false)}
- />
- ))}
+ {hasPrivateAgents ? (
+ <>
+ {privateAgents.length > 0 && (
+ <>
+ <div className={styles.sectionHeader}>
+ {t('taskManager.agentSelector.privateGroup', { ns: 'topic' })}
+ </div>
+ {renderAgentItems(privateAgents)}
+ </>
+ )}
+ {workspaceAgents.length > 0 && (
+ <>
+ <div className={styles.sectionHeader}>
+ {t('taskManager.agentSelector.workspaceGroup', { ns: 'topic' })}
+ </div>
+ {renderAgentItems(workspaceAgents)}
+ </>
+ )}
+ </>
+ ) : (
+ renderAgentItems(workspaceAgents)
+ )}
</Flexbox>
);
diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.test.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.test.tsx
index 3950b340023..c215500130d 100644
--- a/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.test.tsx
+++ b/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.test.tsx
@@ -14,19 +14,24 @@ interface MenuItem {
}
const mocks = vi.hoisted(() => ({
+ activeWorkspaceId: 'ws-1' as string | undefined,
+ confirmModal: vi.fn(),
deleteTask: vi.fn(),
dropdownItems: [] as MenuItem[],
messageSuccess: vi.fn(),
- modalConfirm: vi.fn(),
navigate: vi.fn(),
taskState: {
activeTaskId: 'T-1' as string | undefined,
- taskDetailMap: {} as Record<string, unknown>,
+ taskDetailMap: { 'T-1': { visibility: 'private' as 'private' | 'public' } } as Record<
+ string,
+ { visibility?: 'private' | 'public' }
+ >,
},
transferItems: [
{ key: 'transfer-task', label: 'Transfer to...' },
{ key: 'copy-task', label: 'Copy to...' },
] as MenuItem[],
+ updateTaskVisibility: vi.fn(),
}));
vi.mock('@lobehub/ui', () => ({
@@ -39,11 +44,14 @@ vi.mock('@lobehub/ui', () => ({
copyToClipboard: vi.fn(),
}));
+vi.mock('@lobehub/ui/base-ui', () => ({
+ confirmModal: (opts: unknown) => mocks.confirmModal(opts),
+}));
+
vi.mock('antd', () => ({
App: {
useApp: () => ({
message: { success: mocks.messageSuccess },
- modal: { confirm: mocks.modalConfirm },
}),
},
}));
@@ -54,6 +62,14 @@ vi.mock('react-i18next', () => ({
}),
}));
+vi.mock('@/business/client/hooks/useActiveWorkspaceId', () => ({
+ useActiveWorkspaceId: () => mocks.activeWorkspaceId,
+}));
+
+vi.mock('@/business/client/hooks/useActiveWorkspaceSlug', () => ({
+ useActiveWorkspaceSlug: () => 'ws-slug',
+}));
+
vi.mock('@/business/client/hooks/useTaskTransferMenuItem', () => ({
useTaskTransferMenuItem: vi.fn(() => mocks.transferItems),
}));
@@ -71,9 +87,12 @@ vi.mock('@/hooks/usePermission', () => ({
}));
vi.mock('@/store/task', () => ({
- useTaskStore: (
- selector: (state: { activeTaskId?: string; deleteTask: typeof mocks.deleteTask }) => unknown,
- ) => selector({ ...mocks.taskState, deleteTask: mocks.deleteTask }),
+ useTaskStore: (selector: (state: Record<string, unknown>) => unknown) =>
+ selector({
+ ...mocks.taskState,
+ deleteTask: mocks.deleteTask,
+ updateTaskVisibility: mocks.updateTaskVisibility,
+ }),
}));
describe('TaskDetailHeaderActions', () => {
@@ -81,6 +100,8 @@ describe('TaskDetailHeaderActions', () => {
vi.clearAllMocks();
mocks.dropdownItems = [];
mocks.taskState.activeTaskId = 'T-1';
+ mocks.taskState.taskDetailMap = { 'T-1': { visibility: 'private' } };
+ mocks.activeWorkspaceId = 'ws-1';
});
it('includes task transfer and copy actions in the detail menu', () => {
@@ -89,4 +110,36 @@ describe('TaskDetailHeaderActions', () => {
expect(mocks.dropdownItems.map((item) => item?.key)).toContain('transfer-task');
expect(mocks.dropdownItems.map((item) => item?.key)).toContain('copy-task');
});
+
+ it('shows "publish to workspace" only for private tasks inside a workspace', () => {
+ render(<TaskDetailHeaderActions />);
+
+ expect(mocks.dropdownItems.map((item) => item?.key)).toContain('publishToWorkspace');
+ });
+
+ it('hides "publish to workspace" once the task is already public', () => {
+ mocks.taskState.taskDetailMap = { 'T-1': { visibility: 'public' } };
+ render(<TaskDetailHeaderActions />);
+
+ expect(mocks.dropdownItems.map((item) => item?.key)).not.toContain('publishToWorkspace');
+ });
+
+ it('hides "publish to workspace" in personal mode (no workspace)', () => {
+ mocks.activeWorkspaceId = undefined;
+ render(<TaskDetailHeaderActions />);
+
+ expect(mocks.dropdownItems.map((item) => item?.key)).not.toContain('publishToWorkspace');
+ });
+
+ it('publish action opens a one-way confirmation modal', () => {
+ render(<TaskDetailHeaderActions />);
+ const publishItem = mocks.dropdownItems.find((i) => i?.key === 'publishToWorkspace') as
+ { onClick?: () => void } | undefined;
+ publishItem?.onClick?.();
+
+ expect(mocks.confirmModal).toHaveBeenCalledTimes(1);
+ const opts = mocks.confirmModal.mock.calls[0][0] as { okText: string; title: string };
+ expect(opts.title).toBe('taskDetail.publishToWorkspace.confirmTitle');
+ expect(opts.okText).toBe('taskDetail.publishToWorkspace.confirmOk');
+ });
});
diff --git a/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx b/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx
index 04d3bab9ffc..4b31da68bcb 100644
--- a/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx
+++ b/src/features/AgentTasks/AgentTaskDetail/TaskDetailHeaderActions.tsx
@@ -1,10 +1,11 @@
import { ActionIcon, copyToClipboard, type DropdownItem, DropdownMenu, Icon } from '@lobehub/ui';
import { confirmModal } from '@lobehub/ui/base-ui';
import { App } from 'antd';
-import { CopyIcon, LinkIcon, MoreHorizontal, Trash } from 'lucide-react';
+import { CopyIcon, LinkIcon, MoreHorizontal, Trash, UsersIcon } from 'lucide-react';
import { memo, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';
import { useTaskTransferMenuItem } from '@/business/client/hooks/useTaskTransferMenuItem';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
@@ -21,11 +22,14 @@ const TaskDetailHeaderActions = memo(() => {
const { message } = App.useApp();
const navigate = useWorkspaceAwareNavigate();
const appOrigin = useAppOrigin();
+ const activeWorkspaceId = useActiveWorkspaceId();
const activeWorkspaceSlug = useActiveWorkspaceSlug();
const { allowed: canEditTask } = usePermission('create_content');
const taskId = useTaskStore(taskDetailSelectors.activeTaskId);
const taskAgentId = useTaskStore(taskDetailSelectors.activeTaskAgentId);
+ const visibility = useTaskStore(taskDetailSelectors.activeTaskVisibility);
const deleteTask = useTaskStore((s) => s.deleteTask);
+ const updateTaskVisibility = useTaskStore((s) => s.updateTaskVisibility);
const transferItems = useTaskTransferMenuItem(taskId) as DropdownItem[] | null;
const triggerDelete = useCallback(() => {
@@ -43,6 +47,32 @@ const TaskDetailHeaderActions = memo(() => {
});
}, [canEditTask, taskId, t, deleteTask, navigate]);
+ const triggerPublish = useCallback(() => {
+ if (!canEditTask) return;
+ if (!taskId) return;
+ confirmModal({
+ cancelText: t('cancel', { ns: 'common' }),
+ content: (
+ <>
+ <div>{t('taskDetail.publishToWorkspace.confirmContent')}</div>
+ <div style={{ marginTop: 8, opacity: 0.7 }}>
+ {t('taskDetail.publishToWorkspace.confirmHint')}
+ </div>
+ </>
+ ),
+ okText: t('taskDetail.publishToWorkspace.confirmOk'),
+ onOk: async () => {
+ try {
+ await updateTaskVisibility(taskId, 'public');
+ } catch {
+ // store action already surfaced a targeted toast; swallow so the
+ // confirm modal doesn't bubble a second error to base-ui.
+ }
+ },
+ title: t('taskDetail.publishToWorkspace.confirmTitle'),
+ });
+ }, [canEditTask, taskId, t, updateTaskVisibility]);
+
const menuItems = useMemo<DropdownItem[]>(() => {
if (!taskId) return [];
@@ -81,17 +111,42 @@ const TaskDetailHeaderActions = memo(() => {
},
];
- if (!transferItems || transferItems.length === 0) return baseItems;
+ // Publish-to-workspace is the one-way visibility transition. Only surface
+ // it on private tasks inside a workspace; public tasks have no inverse
+ // action (intentional — see LOBE-10944 心智模型 #1) and personal mode has
+ // no workspace to publish to.
+ const publishItem: DropdownItem | null =
+ activeWorkspaceId && visibility === 'private'
+ ? {
+ disabled: !canEditTask,
+ icon: <Icon icon={UsersIcon} />,
+ key: 'publishToWorkspace',
+ label: t('taskDetail.publishToWorkspace.menuLabel'),
+ onClick: triggerPublish,
+ }
+ : null;
+
+ const transferGroup =
+ transferItems && transferItems.length > 0
+ ? [...transferItems, ...(publishItem ? [publishItem] : [])]
+ : publishItem
+ ? [publishItem]
+ : [];
+
+ if (transferGroup.length === 0) return baseItems;
- return [...baseItems.slice(0, 3), ...transferItems, { type: 'divider' }, ...baseItems.slice(3)];
+ return [...baseItems.slice(0, 3), ...transferGroup, { type: 'divider' }, ...baseItems.slice(3)];
}, [
taskId,
taskAgentId,
appOrigin,
activeWorkspaceSlug,
+ activeWorkspaceId,
+ visibility,
t,
message,
triggerDelete,
+ triggerPublish,
canEditTask,
transferItems,
]);
diff --git a/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx b/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx
index 49087a8df39..53ef858c455 100644
--- a/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx
+++ b/src/features/AgentTasks/AgentTaskList/AgentTasksPage.tsx
@@ -25,6 +25,7 @@ import type { TaskListViewOptions } from './listViewOptions';
import { normalizeTaskListViewOptions } from './listViewOptions';
import { shouldRenderTaskAgentPanelToggle } from './taskAgentPanelToggle';
import TaskList from './TaskList';
+import TaskListVisibilityFilter from './TaskListVisibilityFilter';
import TasksGroupConfig from './TasksGroupConfig';
interface TaskCreateActionBehaviorParams {
@@ -117,6 +118,7 @@ const AgentTasksPage = memo<AgentTasksPageProps>(({ agentId }) => {
left={<Breadcrumb />}
right={
<Flexbox horizontal align={'center'} gap={4}>
+ {!agentId && <TaskListVisibilityFilter />}
{(inlineCollapsed || viewMode === 'kanban') && (
<ActionIcon
disabled={createActionBehavior.disabled}
diff --git a/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.test.tsx b/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.test.tsx
index 7ca8b3b94ad..8323b8fb770 100644
--- a/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.test.tsx
+++ b/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.test.tsx
@@ -12,6 +12,9 @@ const permissionMock = vi.hoisted(() => ({
}));
const focusMock = vi.hoisted(() => vi.fn());
+const activeWorkspaceMock = vi.hoisted(() => ({
+ id: 'workspace-1' as string | undefined,
+}));
vi.mock('@lobehub/editor/react', () => ({
useEditor: () => ({
@@ -34,6 +37,10 @@ vi.mock('@/hooks/usePermission', () => ({
}),
}));
+vi.mock('@/business/client/hooks/useActiveWorkspaceId', () => ({
+ useActiveWorkspaceId: () => activeWorkspaceMock.id,
+}));
+
vi.mock('@/store/task', () => ({
useTaskStore: (selector: (state: Record<string, unknown>) => unknown) =>
selector({
@@ -63,10 +70,22 @@ vi.mock('../features/AssigneeAvatar', () => ({
default: () => <div />,
}));
+vi.mock('../features/TaskVisibilityTag', () => ({
+ default: ({ children, lockedReason }: { children?: ReactNode; lockedReason?: string }) => (
+ <button data-locked={String(Boolean(lockedReason))} data-testid="visibility-trigger">
+ {children}
+ </button>
+ ),
+}));
+
vi.mock('../shared/useAgentDisplayMeta', () => ({
useAgentDisplayMeta: () => undefined,
}));
+vi.mock('../shared/useAgentVisibility', () => ({
+ useAgentVisibility: (agentId?: string) => (agentId === 'agent-private' ? 'private' : undefined),
+}));
+
vi.mock('react-i18next', () => ({
useTranslation: () => ({ t: (key: string) => key }),
}));
@@ -74,6 +93,7 @@ vi.mock('react-i18next', () => ({
describe('CreateTaskInlineEntry', () => {
beforeEach(() => {
permissionMock.allowed = true;
+ activeWorkspaceMock.id = 'workspace-1';
focusMock.mockReset();
});
@@ -85,4 +105,16 @@ describe('CreateTaskInlineEntry', () => {
expect(screen.getByTestId('task-editor')).toHaveAttribute('data-disabled', 'true');
expect(focusMock).not.toHaveBeenCalled();
});
+
+ it('clears the private-agent visibility lock when switching to the all-tasks create form', () => {
+ const { rerender } = render(
+ <CreateTaskInlineEntry lockAssignee agentId="agent-private" variant="hero" />,
+ );
+
+ expect(screen.getByTestId('visibility-trigger')).toHaveAttribute('data-locked', 'true');
+
+ rerender(<CreateTaskInlineEntry variant="hero" />);
+
+ expect(screen.getByTestId('visibility-trigger')).toHaveAttribute('data-locked', 'false');
+ });
});
diff --git a/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx b/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx
index 37e1f051b86..b1772467370 100644
--- a/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx
+++ b/src/features/AgentTasks/AgentTaskList/CreateTaskInlineEntry.tsx
@@ -9,6 +9,7 @@ import { ChevronUp, Paperclip, UserCircle2 } from 'lucide-react';
import { type KeyboardEvent, memo, useCallback, useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { EditorCanvas } from '@/features/EditorCanvas';
import {
getAttachmentFileIdsFromEditor,
@@ -21,7 +22,10 @@ import { useTaskStore } from '@/store/task';
import AssigneeAgentSelector from '../features/AssigneeAgentSelector';
import AssigneeAvatar from '../features/AssigneeAvatar';
import TaskPriorityTag from '../features/TaskPriorityTag';
+import TaskVisibilityChipLabel from '../features/TaskVisibilityChipLabel';
+import TaskVisibilityTag from '../features/TaskVisibilityTag';
import { useAgentDisplayMeta } from '../shared/useAgentDisplayMeta';
+import { useAgentVisibility } from '../shared/useAgentVisibility';
interface CreateTaskInlineEntryProps {
agentId?: string;
@@ -61,10 +65,22 @@ const CreateTaskInlineEntry = memo<CreateTaskInlineEntryProps>((props) => {
const isCreating = useTaskStore((s) => s.isCreatingTask);
const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
+ const activeWorkspaceId = useActiveWorkspaceId();
const [priority, setPriority] = useState(0);
const [assigneeAgentId, setAssigneeAgentId] = useState<string | undefined>(agentId);
const [instruction, setInstruction] = useState('');
const [hasAttachments, setHasAttachments] = useState(false);
+ // Default to private in workspace mode so the user has to opt in to share.
+ // In personal mode the chip is hidden and the value is never sent.
+ const [visibility, setVisibility] = useState<'private' | 'public'>('private');
+
+ // LOBE-10961: a private agent can only run a private task. Coerce + lock the
+ // visibility chip when the selected agent is private.
+ const assigneeVisibility = useAgentVisibility(assigneeAgentId);
+ const isPrivateAgent = assigneeVisibility === 'private';
+ useEffect(() => {
+ if (isPrivateAgent && visibility === 'public') setVisibility('private');
+ }, [isPrivateAgent, visibility]);
const editor = useEditor();
@@ -72,9 +88,15 @@ const CreateTaskInlineEntry = memo<CreateTaskInlineEntryProps>((props) => {
// When the assignee is locked to a scoped agent, keep it in sync with the
// `agentId` prop. The route subtree is reused across /agent/A/tasks ->
- // /agent/B/tasks, so without this the hidden assignee would stay on A.
+ // /agent/B/tasks and /agent/A/tasks -> /tasks, so without this the hidden
+ // assignee would stay on the previous scoped agent.
useEffect(() => {
- if (lockAssignee) setAssigneeAgentId(agentId);
+ if (lockAssignee) {
+ setAssigneeAgentId(agentId);
+ return;
+ }
+
+ if (!agentId) setAssigneeAgentId(undefined);
}, [agentId, lockAssignee]);
useEffect(() => {
@@ -130,12 +152,16 @@ const CreateTaskInlineEntry = memo<CreateTaskInlineEntryProps>((props) => {
name,
parentTaskId,
priority: priority || undefined,
+ // Only send visibility in workspace mode; personal mode lets the server
+ // fall through to the schema default ('public', inert in personal mode).
+ visibility: activeWorkspaceId ? visibility : undefined,
});
if (result) {
setPriority(0);
setAssigneeAgentId(agentId);
setInstruction('');
+ setVisibility('private');
editor?.cleanDocument?.();
onCreated?.({
agentId: result.assigneeAgentId ?? undefined,
@@ -143,6 +169,7 @@ const CreateTaskInlineEntry = memo<CreateTaskInlineEntryProps>((props) => {
});
}
}, [
+ activeWorkspaceId,
agentId,
assigneeAgentId,
createTask,
@@ -152,6 +179,7 @@ const CreateTaskInlineEntry = memo<CreateTaskInlineEntryProps>((props) => {
parentTaskId,
priority,
canCreateTask,
+ visibility,
]);
const handleSubmitRef = useRef(handleSubmit);
@@ -269,6 +297,22 @@ const CreateTaskInlineEntry = memo<CreateTaskInlineEntryProps>((props) => {
);
})()}
+ {activeWorkspaceId && (
+ <TaskVisibilityTag
+ visibility={visibility}
+ lockedReason={
+ isPrivateAgent
+ ? t('createTask.visibility.privateAgentLocked', {
+ defaultValue: 'Private agents can only run private tasks.',
+ })
+ : undefined
+ }
+ onChange={setVisibility}
+ >
+ <TaskVisibilityChipLabel visibility={visibility} />
+ </TaskVisibilityTag>
+ )}
+
<ActionIcon
icon={Paperclip}
size={'small'}
diff --git a/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsx b/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsx
new file mode 100644
index 00000000000..f841f923de4
--- /dev/null
+++ b/src/features/AgentTasks/AgentTaskList/TaskListVisibilityFilter.tsx
@@ -0,0 +1,83 @@
+'use client';
+
+import { ActionIcon, type DropdownItem, DropdownMenu, Icon, type MenuInfo } from '@lobehub/ui';
+import { cssVar } from 'antd-style';
+import { Globe, LockIcon, UsersIcon } from 'lucide-react';
+import { memo, useMemo, useState } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { DESKTOP_HEADER_ICON_SMALL_SIZE } from '@/const/layoutTokens';
+import { useTaskStore } from '@/store/task';
+import { taskListSelectors } from '@/store/task/selectors';
+import type { TaskListVisibilityFilter as Filter } from '@/store/task/slices/list/initialState';
+
+const FILTER_OPTIONS: Array<{ icon: typeof Globe; key: Filter; labelKey: string }> = [
+ {
+ icon: LockIcon,
+ key: 'private',
+ labelKey: 'createTask.visibility.private',
+ },
+ {
+ icon: UsersIcon,
+ key: 'workspace',
+ labelKey: 'createTask.visibility.workspace',
+ },
+ {
+ icon: Globe,
+ key: 'all',
+ labelKey: 'taskList.visibility.all',
+ },
+];
+
+/**
+ * Tasks page top-level visibility chip — narrows the (already ownership-
+ * filtered) list to private / workspace-shared / all. Personal-mode users
+ * don't see the chip; visibility filtering is meaningless without other
+ * workspace members.
+ */
+const TaskListVisibilityFilter = memo(() => {
+ const { t } = useTranslation('chat');
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const visibility = useTaskStore(taskListSelectors.listVisibility);
+ const setListVisibility = useTaskStore((s) => s.setListVisibility);
+ const [open, setOpen] = useState(false);
+
+ const currentOption = FILTER_OPTIONS.find((opt) => opt.key === visibility) ?? FILTER_OPTIONS[0];
+ const CurrentIcon = currentOption.icon;
+
+ const menuItems = useMemo<DropdownItem[]>(
+ () =>
+ FILTER_OPTIONS.map((option) => {
+ const OptionIcon = option.icon;
+ return {
+ icon: <Icon color={cssVar.colorTextSecondary} icon={OptionIcon} size={16} />,
+ key: option.key,
+ label: t(option.labelKey as never),
+ onClick: ({ domEvent }: MenuInfo) => {
+ domEvent.stopPropagation();
+ setListVisibility(option.key);
+ },
+ };
+ }),
+ [setListVisibility, t],
+ );
+
+ if (!activeWorkspaceId) return null;
+
+ const currentLabel = t(currentOption.labelKey as never);
+
+ return (
+ <DropdownMenu items={menuItems} open={open} onOpenChange={setOpen}>
+ <ActionIcon
+ icon={CurrentIcon}
+ size={DESKTOP_HEADER_ICON_SMALL_SIZE}
+ title={`${t('taskList.visibility.label', { defaultValue: 'Visibility' })}: ${currentLabel}`}
+ />
+ </DropdownMenu>
+ );
+});
+
+TaskListVisibilityFilter.displayName = 'TaskListVisibilityFilter';
+
+export default TaskListVisibilityFilter;
diff --git a/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx b/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx
index 70f0150461a..b3fdc39580f 100644
--- a/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx
+++ b/src/features/AgentTasks/CreateTaskModal/CreateTaskContent.tsx
@@ -9,6 +9,7 @@ import { Minimize2, Paperclip, UserCircle2, X } from 'lucide-react';
import { type KeyboardEvent, memo, useCallback, useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { EditorCanvas } from '@/features/EditorCanvas';
import {
getAttachmentFileIdsFromEditor,
@@ -21,7 +22,10 @@ import { useTaskStore } from '@/store/task';
import AssigneeAgentSelector from '../features/AssigneeAgentSelector';
import AssigneeAvatar from '../features/AssigneeAvatar';
import TaskPriorityTag from '../features/TaskPriorityTag';
+import TaskVisibilityChipLabel from '../features/TaskVisibilityChipLabel';
+import TaskVisibilityTag from '../features/TaskVisibilityTag';
import { useAgentDisplayMeta } from '../shared/useAgentDisplayMeta';
+import { useAgentVisibility } from '../shared/useAgentVisibility';
export interface CreateTaskContentProps {
agentId?: string;
@@ -48,9 +52,23 @@ const CreateTaskContent = memo<CreateTaskContentProps>(
const isCreating = useTaskStore((s) => s.isCreatingTask);
const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
+ const activeWorkspaceId = useActiveWorkspaceId();
+
const [title, setTitle] = useState('');
const [priority, setPriority] = useState(0);
const [assigneeAgentId, setAssigneeAgentId] = useState<string | undefined>(agentId);
+ // Default to private in workspace mode so the user has to opt in to share.
+ // In personal mode the field is irrelevant and the chip is hidden anyway.
+ const [visibility, setVisibility] = useState<'private' | 'public'>('private');
+
+ // LOBE-10961: a private agent can only run a private task. When the
+ // selected agent is private we force visibility back to private and lock
+ // the chip so the user can't pick Workspace.
+ const assigneeVisibility = useAgentVisibility(assigneeAgentId);
+ const isPrivateAgent = assigneeVisibility === 'private';
+ useEffect(() => {
+ if (isPrivateAgent && visibility === 'public') setVisibility('private');
+ }, [isPrivateAgent, visibility]);
const editor = useEditor();
const instructionRef = useRef('');
@@ -86,6 +104,8 @@ const CreateTaskContent = memo<CreateTaskContentProps>(
instruction: instruction || title.trim(),
name: title.trim() || undefined,
priority: priority || undefined,
+ // Only send visibility in workspace mode; personal mode ignores it.
+ visibility: activeWorkspaceId ? visibility : undefined,
});
if (result) {
@@ -95,7 +115,18 @@ const CreateTaskContent = memo<CreateTaskContentProps>(
identifier: result.identifier,
});
}
- }, [assigneeAgentId, canCreateTask, close, createTask, editor, onCreated, priority, title]);
+ }, [
+ activeWorkspaceId,
+ assigneeAgentId,
+ canCreateTask,
+ close,
+ createTask,
+ editor,
+ onCreated,
+ priority,
+ title,
+ visibility,
+ ]);
const handleSubmitRef = useRef(handleSubmit);
useEffect(() => {
@@ -221,6 +252,22 @@ const CreateTaskContent = memo<CreateTaskContentProps>(
);
})()}
+ {activeWorkspaceId && (
+ <TaskVisibilityTag
+ visibility={visibility}
+ lockedReason={
+ isPrivateAgent
+ ? t('createTask.visibility.privateAgentLocked', {
+ defaultValue: 'Private agents can only run private tasks.',
+ })
+ : undefined
+ }
+ onChange={setVisibility}
+ >
+ <TaskVisibilityChipLabel visibility={visibility} />
+ </TaskVisibilityTag>
+ )}
+
<ActionIcon
icon={Paperclip}
title={t('upload.action.tooltip')}
diff --git a/src/features/AgentTasks/features/AgentTaskItem.tsx b/src/features/AgentTasks/features/AgentTaskItem.tsx
index 6fd206bca10..a0f4cadcd88 100644
--- a/src/features/AgentTasks/features/AgentTaskItem.tsx
+++ b/src/features/AgentTasks/features/AgentTaskItem.tsx
@@ -1,5 +1,7 @@
import type { TaskStatus } from '@lobechat/types';
-import { Block, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';
+import { Block, ContextMenuTrigger, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';
+import { cssVar } from 'antd-style';
+import { LockIcon } from 'lucide-react';
import { memo, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
@@ -95,10 +97,18 @@ const AgentTaskItem = memo<TaskItemProps>(({ task, routeScope = 'agent', variant
</Block>
) : null;
+ const privacyBadge =
+ task.visibility === 'private' ? (
+ <Tooltip title={tChat('createTask.visibility.helperPrivate', { defaultValue: 'Private' })}>
+ <Icon color={cssVar.colorTextDescription} icon={LockIcon} size={14} />
+ </Tooltip>
+ ) : null;
+
const titleRow = (
<Flexbox horizontal align={'center'} gap={8} style={{ minWidth: 0 }}>
<TaskPriorityTag priority={task.priority} taskIdentifier={task.identifier} />
<TaskStatusTag status={status} taskIdentifier={task.identifier} />
+ {privacyBadge}
{hasName ? (
<>
<Text style={{ flex: 'none' }} type={'secondary'}>
diff --git a/src/features/AgentTasks/features/AssigneeAgentSelector.tsx b/src/features/AgentTasks/features/AssigneeAgentSelector.tsx
index a3d459d8448..eb655d8d804 100644
--- a/src/features/AgentTasks/features/AssigneeAgentSelector.tsx
+++ b/src/features/AgentTasks/features/AssigneeAgentSelector.tsx
@@ -1,10 +1,12 @@
import { DEFAULT_INBOX_AVATAR } from '@lobechat/const';
import { Flexbox, Popover, Text, Tooltip } from '@lobehub/ui';
import { createStaticStyles } from 'antd-style';
+import isEqual from 'fast-deep-equal';
import type { CSSProperties, KeyboardEvent, ReactNode } from 'react';
import { memo, Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { type SidebarAgentItem } from '@/database/repositories/home';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import AgentItem from '@/features/PageEditor/Copilot/AgentSelector/AgentItem';
import { useFetchAgentList } from '@/hooks/useFetchAgentList';
@@ -42,6 +44,14 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
color: ${cssVar.colorTextPlaceholder};
}
`,
+ sectionHeader: css`
+ padding-block: 4px;
+ padding-inline: 8px;
+
+ font-size: 12px;
+ line-height: 1.4;
+ color: ${cssVar.colorTextTertiary};
+ `,
}));
const triggerStyle: CSSProperties = {
@@ -53,7 +63,7 @@ const triggerStyle: CSSProperties = {
const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
({ children, currentAgentId, disabled, onChange, taskIdentifier }) => {
- const { t } = useTranslation(['chat', 'common']);
+ const { t } = useTranslation(['chat', 'common', 'topic']);
const { allowed: canEditTask, reason } = usePermission('create_content');
const [key, setKey] = useState(0);
const [search, setSearch] = useState('');
@@ -61,7 +71,15 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
const listRef = useRef<HTMLDivElement>(null);
const updateTask = useTaskStore((s) => s.updateTask);
- const agents = useHomeStore(homeAgentListSelectors.allAgents);
+ const pinnedAgents = useHomeStore(homeAgentListSelectors.pinnedAgents, isEqual);
+ const agentGroups = useHomeStore(homeAgentListSelectors.agentGroups, isEqual);
+ const ungroupedAgents = useHomeStore(homeAgentListSelectors.ungroupedAgents, isEqual);
+ const privateAgentGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateUngroupedAgents = useHomeStore(
+ homeAgentListSelectors.privateUngroupedAgents,
+ isEqual,
+ );
+ const hasPrivateAgents = useHomeStore(homeAgentListSelectors.hasPrivateAgents);
const isAgentListInit = useHomeStore(homeAgentListSelectors.isAgentListInit);
const inboxAgentId = useAgentStore(builtinAgentSelectors.inboxAgentId);
@@ -71,9 +89,15 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
useFetchAgentList();
- const agentList = useMemo(() => {
- const available = agents.filter((a) => a.type === 'agent');
- const hasInbox = available.some((a) => a.id === inboxAgentId);
+ // Workspace bucket: pinned + grouped + ungrouped. In personal mode this is the
+ // entire list (private buckets stay empty). The inbox agent is shared content,
+ // so it is injected at the top of this bucket when missing.
+ const workspaceAgents = useMemo<SidebarAgentItem[]>(() => {
+ const groupedItems = agentGroups.flatMap((group) => group.items);
+ const available = [...pinnedAgents, ...groupedItems, ...ungroupedAgents].filter(
+ (agent) => agent.type === 'agent',
+ );
+ const hasInbox = available.some((agent) => agent.id === inboxAgentId);
if (inboxAgentId && !hasInbox) {
return [
@@ -91,22 +115,40 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
}
return available;
- }, [agents, inboxAgentId, inboxMeta, t]);
+ }, [pinnedAgents, agentGroups, ungroupedAgents, inboxAgentId, inboxMeta, t]);
- const filteredAgents = useMemo(() => {
+ const privateAgents = useMemo<SidebarAgentItem[]>(() => {
+ const groupedItems = privateAgentGroups.flatMap((group) => group.items);
+ return [...groupedItems, ...privateUngroupedAgents].filter((agent) => agent.type === 'agent');
+ }, [privateAgentGroups, privateUngroupedAgents]);
+
+ const filteredPrivate = useMemo(() => {
const q = search.trim().toLowerCase();
- if (!q) return agentList;
- return agentList.filter((a) => (a.title || '').toLowerCase().includes(q));
- }, [agentList, search]);
+ if (!q) return privateAgents;
+ return privateAgents.filter((agent) => (agent.title || '').toLowerCase().includes(q));
+ }, [privateAgents, search]);
+
+ const filteredWorkspace = useMemo(() => {
+ const q = search.trim().toLowerCase();
+ if (!q) return workspaceAgents;
+ return workspaceAgents.filter((agent) => (agent.title || '').toLowerCase().includes(q));
+ }, [workspaceAgents, search]);
+
+ // Flat order for keyboard navigation and activeIndex: private first, then workspace.
+ // In personal / no-private mode, only the workspace list contributes.
+ const filteredFlat = useMemo(
+ () => (hasPrivateAgents ? [...filteredPrivate, ...filteredWorkspace] : filteredWorkspace),
+ [hasPrivateAgents, filteredPrivate, filteredWorkspace],
+ );
useEffect(() => {
if (search.trim()) {
setActiveIndex(0);
return;
}
- const selectedIdx = filteredAgents.findIndex((a) => a.id === currentAgentId);
+ const selectedIdx = filteredFlat.findIndex((a) => a.id === currentAgentId);
setActiveIndex(selectedIdx >= 0 ? selectedIdx : 0);
- }, [search, filteredAgents, currentAgentId]);
+ }, [search, filteredFlat, currentAgentId]);
const handleAgentChange = useCallback(
(agentId: string) => {
@@ -127,21 +169,21 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
const handleSearchKeyDown = useCallback(
(e: KeyboardEvent<HTMLInputElement>) => {
- if (filteredAgents.length === 0) return;
+ if (filteredFlat.length === 0) return;
if (e.key === 'ArrowDown') {
e.preventDefault();
- setActiveIndex((i) => (i + 1) % filteredAgents.length);
+ setActiveIndex((i) => (i + 1) % filteredFlat.length);
} else if (e.key === 'ArrowUp') {
e.preventDefault();
- setActiveIndex((i) => (i - 1 + filteredAgents.length) % filteredAgents.length);
+ setActiveIndex((i) => (i - 1 + filteredFlat.length) % filteredFlat.length);
} else if (e.key === 'Enter') {
e.preventDefault();
- const target = filteredAgents[activeIndex];
+ const target = filteredFlat[activeIndex];
if (target) handleAgentChange(target.id);
}
},
- [activeIndex, filteredAgents, handleAgentChange],
+ [activeIndex, filteredFlat, handleAgentChange],
);
useEffect(() => {
@@ -151,6 +193,28 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
active?.scrollIntoView({ block: 'nearest' });
}, [activeIndex]);
+ const renderItems = (list: SidebarAgentItem[], offset: number) =>
+ list.map((agent, i) => {
+ const flatIndex = offset + i;
+ return (
+ <div
+ data-agent-index={flatIndex}
+ key={agent.id}
+ onMouseEnter={() => setActiveIndex(flatIndex)}
+ >
+ <AgentItem
+ active={flatIndex === activeIndex}
+ agentId={agent.id}
+ agentTitle={agent.title || t('untitledAgent', { ns: 'chat' })}
+ avatar={agent.avatar}
+ heterogeneousType={agent.heterogeneousType}
+ onAgentChange={handleAgentChange}
+ onClose={() => setKey((k) => k + 1)}
+ />
+ </div>
+ );
+ });
+
const blocked = disabled || !canEditTask;
const trigger = blocked ? (
<Tooltip title={disabled ? t('taskDetail.reassignDisabled', { ns: 'chat' }) : reason}>
@@ -186,7 +250,7 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
onChange={(e) => setSearch(e.target.value)}
onKeyDown={handleSearchKeyDown}
/>
- {filteredAgents.length === 0 ? (
+ {filteredFlat.length === 0 ? (
<Flexbox align={'center'} justify={'center'} padding={16}>
<Text fontSize={12} type={'secondary'}>
{t('taskList.assigneeSearch.empty', { ns: 'chat' })}
@@ -199,23 +263,28 @@ const AssigneeAgentSelector = memo<AssigneeAgentSelectorProps>(
ref={listRef}
style={{ maxHeight: '50vh', overflowY: 'auto', width: '100%' }}
>
- {filteredAgents.map((agent, index) => (
- <div
- data-agent-index={index}
- key={agent.id}
- onMouseEnter={() => setActiveIndex(index)}
- >
- <AgentItem
- active={index === activeIndex}
- agentId={agent.id}
- agentTitle={agent.title || t('untitledAgent', { ns: 'chat' })}
- avatar={agent.avatar}
- heterogeneousType={agent.heterogeneousType}
- onAgentChange={handleAgentChange}
- onClose={() => setKey((k) => k + 1)}
- />
- </div>
- ))}
+ {hasPrivateAgents ? (
+ <>
+ {filteredPrivate.length > 0 && (
+ <>
+ <div className={styles.sectionHeader}>
+ {t('taskManager.agentSelector.privateGroup', { ns: 'topic' })}
+ </div>
+ {renderItems(filteredPrivate, 0)}
+ </>
+ )}
+ {filteredWorkspace.length > 0 && (
+ <>
+ <div className={styles.sectionHeader}>
+ {t('taskManager.agentSelector.workspaceGroup', { ns: 'topic' })}
+ </div>
+ {renderItems(filteredWorkspace, filteredPrivate.length)}
+ </>
+ )}
+ </>
+ ) : (
+ renderItems(filteredFlat, 0)
+ )}
</Flexbox>
)}
</Flexbox>
diff --git a/src/features/AgentTasks/features/TaskVisibilityChipLabel.test.tsx b/src/features/AgentTasks/features/TaskVisibilityChipLabel.test.tsx
new file mode 100644
index 00000000000..00a30b95b8b
--- /dev/null
+++ b/src/features/AgentTasks/features/TaskVisibilityChipLabel.test.tsx
@@ -0,0 +1,43 @@
+/**
+ * @vitest-environment happy-dom
+ */
+import { render, screen } from '@testing-library/react';
+import type { ReactNode } from 'react';
+import { describe, expect, it, vi } from 'vitest';
+
+import TaskVisibilityChipLabel from './TaskVisibilityChipLabel';
+
+vi.mock('@lobehub/ui', () => ({
+ Block: ({ children }: { children: ReactNode }) => <div>{children}</div>,
+ Icon: () => <span />,
+ Text: ({ children }: { children: ReactNode }) => <span>{children}</span>,
+}));
+
+vi.mock('antd-style', () => ({
+ cssVar: {
+ colorTextDescription: '#999',
+ colorTextSecondary: '#666',
+ },
+}));
+
+vi.mock('react-i18next', () => ({
+ useTranslation: () => ({
+ t: (key: string, options?: { defaultValue?: string }) => {
+ const resources: Record<string, string> = {
+ 'createTask.visibility.private': '私人',
+ 'createTask.visibility.workspace': '工作区',
+ };
+
+ return resources[key] ?? options?.defaultValue ?? key;
+ },
+ }),
+}));
+
+describe('TaskVisibilityChipLabel', () => {
+ it('uses the workspace label for public visibility', () => {
+ render(<TaskVisibilityChipLabel visibility="public" />);
+
+ expect(screen.getByText('工作区')).toBeInTheDocument();
+ expect(screen.queryByText('Workspace')).not.toBeInTheDocument();
+ });
+});
diff --git a/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsx b/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsx
new file mode 100644
index 00000000000..0eecfc0fc88
--- /dev/null
+++ b/src/features/AgentTasks/features/TaskVisibilityChipLabel.tsx
@@ -0,0 +1,60 @@
+import { Block, Icon, Text } from '@lobehub/ui';
+import { cssVar } from 'antd-style';
+import { LockIcon, UsersIcon } from 'lucide-react';
+import { type ComponentProps, memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { getTaskVisibilityDefaultLabel, getTaskVisibilityLabelKey } from './taskVisibilityLabel';
+
+type BlockProps = ComponentProps<typeof Block>;
+
+interface TaskVisibilityChipLabelProps extends Omit<BlockProps, 'children' | 'variant'> {
+ /** Render mode: 'chip' shows the [icon + text] pill used in create forms;
+ * 'tag' shows a tighter [icon + text] used in the detail panel. They only
+ * differ in spacing. */
+ variant?: 'chip' | 'tag';
+ visibility: 'private' | 'public';
+}
+
+/**
+ * Shared chip body for the visibility tag: lock/users icon + localized label.
+ * Three call sites (`CreateTaskContent`, `CreateTaskInlineEntry`,
+ * `TaskProperties`) used to inline this same JSX; centralizing keeps the
+ * icon/label mapping in one place when we add new visibility values later.
+ *
+ * Extra props and `ref` are forwarded to the underlying `Block` so that when
+ * this component is used as the `DropdownMenu` trigger inside
+ * `TaskVisibilityTag`, the menu's click/aria/ref props reach a real DOM node.
+ */
+const TaskVisibilityChipLabel = memo<TaskVisibilityChipLabelProps>(
+ ({ variant = 'chip', visibility, ...rest }) => {
+ const { t } = useTranslation('chat');
+ const IconComp = visibility === 'private' ? LockIcon : UsersIcon;
+ const label = t(getTaskVisibilityLabelKey(visibility) as never, {
+ defaultValue: getTaskVisibilityDefaultLabel(visibility),
+ });
+
+ const iconColor = variant === 'tag' ? cssVar.colorTextSecondary : cssVar.colorTextDescription;
+ const iconSize = variant === 'tag' ? 16 : 14;
+
+ return (
+ <Block
+ clickable
+ horizontal
+ align="center"
+ gap={variant === 'tag' ? 10 : 6}
+ paddingBlock={4}
+ paddingInline={8}
+ variant={'borderless'}
+ {...rest}
+ >
+ <Icon color={iconColor} icon={IconComp} size={iconSize} />
+ {variant === 'tag' ? <Text weight={500}>{label}</Text> : <Text fontSize={12}>{label}</Text>}
+ </Block>
+ );
+ },
+);
+
+TaskVisibilityChipLabel.displayName = 'TaskVisibilityChipLabel';
+
+export default TaskVisibilityChipLabel;
diff --git a/src/features/AgentTasks/features/TaskVisibilityTag.tsx b/src/features/AgentTasks/features/TaskVisibilityTag.tsx
new file mode 100644
index 00000000000..8a1b9d73648
--- /dev/null
+++ b/src/features/AgentTasks/features/TaskVisibilityTag.tsx
@@ -0,0 +1,176 @@
+import { type DropdownItem, DropdownMenu, Icon, type MenuInfo, Tooltip } from '@lobehub/ui';
+import { createStaticStyles, cssVar } from 'antd-style';
+import { Loader2Icon, LockIcon, UsersIcon } from 'lucide-react';
+import type { ReactNode } from 'react';
+import { memo, useCallback, useMemo, useState } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { usePermission } from '@/hooks/usePermission';
+import { useTaskStore } from '@/store/task';
+
+import { renderMenuExtra } from './menuExtra';
+import { getTaskVisibilityDefaultLabel, getTaskVisibilityLabelKey } from './taskVisibilityLabel';
+
+const styles = createStaticStyles(({ css, cssVar }) => ({
+ trigger: css`
+ cursor: pointer;
+
+ display: inline-flex;
+ align-items: center;
+
+ color: ${cssVar.colorTextDescription};
+
+ transition: color ${cssVar.motionDurationMid};
+
+ &:hover {
+ color: ${cssVar.colorText};
+ }
+ `,
+ triggerDisabled: css`
+ cursor: not-allowed;
+ opacity: 0.5;
+
+ &:hover {
+ color: ${cssVar.colorTextDescription};
+ filter: none;
+ }
+ `,
+}));
+
+const VISIBILITY_OPTIONS: Array<'private' | 'public'> = ['private', 'public'];
+
+interface TaskVisibilityTagProps {
+ /** Render trigger UI (chip / icon). When omitted, the component renders the
+ * default tooltip + icon. */
+ children?: ReactNode;
+ /** Hide the dropdown entirely — used by callers that only want the icon. */
+ disableDropdown?: boolean;
+ /** When set, treats the chip as locked: dropdown is suppressed and a
+ * tooltip explains why. Used by the create form when the selected agent
+ * is private (see LOBE-10961). */
+ lockedReason?: string;
+ /** Controlled mode (e.g. create form): caller owns the state. */
+ onChange?: (next: 'private' | 'public') => void;
+ size?: number;
+ /** Persisted mode: when set, the dropdown calls `updateTaskVisibility` on the
+ * store directly. Mutually exclusive with `onChange`. */
+ taskIdentifier?: string;
+ visibility: 'private' | 'public';
+}
+
+const TaskVisibilityTag = memo<TaskVisibilityTagProps>(
+ ({
+ children,
+ disableDropdown,
+ lockedReason,
+ onChange,
+ size = 14,
+ taskIdentifier,
+ visibility,
+ }) => {
+ const [loading, setLoading] = useState(false);
+ const [open, setOpen] = useState(false);
+ const { t } = useTranslation('chat');
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const { allowed: canEdit, reason } = usePermission('create_content');
+ const updateTaskVisibility = useTaskStore((s) => s.updateTaskVisibility);
+
+ const handleVisibilityChange = useCallback(
+ async (next: 'private' | 'public') => {
+ if (next === visibility) return;
+ if (onChange) {
+ onChange(next);
+ return;
+ }
+ if (!taskIdentifier) return;
+ setLoading(true);
+ try {
+ await updateTaskVisibility(taskIdentifier, next);
+ } finally {
+ setLoading(false);
+ }
+ },
+ [onChange, taskIdentifier, updateTaskVisibility, visibility],
+ );
+
+ const IconComp = visibility === 'private' ? LockIcon : UsersIcon;
+ const label = t(getTaskVisibilityLabelKey(visibility) as never, {
+ defaultValue: getTaskVisibilityDefaultLabel(visibility),
+ });
+
+ const menuItems = useMemo<DropdownItem[]>(
+ () =>
+ VISIBILITY_OPTIONS.map((option, index) => {
+ const OptionIcon = option === 'private' ? LockIcon : UsersIcon;
+ const isCurrent = option === visibility;
+ return {
+ extra: renderMenuExtra(String(index + 1), isCurrent),
+ icon: <Icon color={cssVar.colorTextSecondary} icon={OptionIcon} size={16} />,
+ key: option,
+ label: t(getTaskVisibilityLabelKey(option) as never, {
+ defaultValue: getTaskVisibilityDefaultLabel(option),
+ }),
+ onClick: ({ domEvent }: MenuInfo) => {
+ domEvent.stopPropagation();
+ void handleVisibilityChange(option);
+ },
+ };
+ }),
+ [handleVisibilityChange, t, visibility],
+ );
+
+ // Personal mode: the visibility column exists but the workspace-mode
+ // filtering is inert — hide the UI entirely so users aren't asked to make
+ // a meaningless choice.
+ if (!activeWorkspaceId && !taskIdentifier) return null;
+
+ const triggerNode = children ? (
+ children
+ ) : loading ? (
+ <Icon spin color={cssVar.colorTextDescription} icon={Loader2Icon} size={size} />
+ ) : (
+ <Tooltip title={label}>
+ <span className={styles.trigger} onClick={(e) => e.stopPropagation()}>
+ <IconComp size={size} />
+ </span>
+ </Tooltip>
+ );
+
+ if (disableDropdown) return <>{triggerNode}</>;
+ if (lockedReason)
+ return (
+ <Tooltip title={lockedReason}>
+ <span
+ className={styles.triggerDisabled}
+ style={{ display: 'inline-flex' }}
+ onClick={(e) => e.stopPropagation()}
+ >
+ {triggerNode}
+ </span>
+ </Tooltip>
+ );
+ if (!canEdit)
+ return (
+ <Tooltip title={reason}>
+ <span
+ className={styles.triggerDisabled}
+ style={{ display: 'inline-flex' }}
+ onClick={(e) => e.stopPropagation()}
+ >
+ {triggerNode}
+ </span>
+ </Tooltip>
+ );
+
+ return (
+ <DropdownMenu items={menuItems} open={open} onOpenChange={setOpen}>
+ {triggerNode}
+ </DropdownMenu>
+ );
+ },
+);
+
+TaskVisibilityTag.displayName = 'TaskVisibilityTag';
+
+export default TaskVisibilityTag;
diff --git a/src/features/AgentTasks/features/index.ts b/src/features/AgentTasks/features/index.ts
index b7dbbd2f731..93ce62faa85 100644
--- a/src/features/AgentTasks/features/index.ts
+++ b/src/features/AgentTasks/features/index.ts
@@ -12,3 +12,5 @@ export { default as TaskPriorityTag } from './TaskPriorityTag';
export { default as TaskStatusIcon } from './TaskStatusIcon';
export { default as TaskSubtaskProgressTag } from './TaskSubtaskProgressTag';
export { default as TaskTriggerTag } from './TaskTriggerTag';
+export { default as TaskVisibilityChipLabel } from './TaskVisibilityChipLabel';
+export { default as TaskVisibilityTag } from './TaskVisibilityTag';
diff --git a/src/features/AgentTasks/features/taskVisibilityLabel.ts b/src/features/AgentTasks/features/taskVisibilityLabel.ts
new file mode 100644
index 00000000000..3ba0d93d1f2
--- /dev/null
+++ b/src/features/AgentTasks/features/taskVisibilityLabel.ts
@@ -0,0 +1,7 @@
+export type TaskVisibility = 'private' | 'public';
+
+export const getTaskVisibilityDefaultLabel = (visibility: TaskVisibility) =>
+ visibility === 'private' ? 'Private' : 'Workspace';
+
+export const getTaskVisibilityLabelKey = (visibility: TaskVisibility) =>
+ visibility === 'private' ? 'createTask.visibility.private' : 'createTask.visibility.workspace';
diff --git a/src/features/AgentTasks/shared/useAgentVisibility.ts b/src/features/AgentTasks/shared/useAgentVisibility.ts
new file mode 100644
index 00000000000..e883650455b
--- /dev/null
+++ b/src/features/AgentTasks/shared/useAgentVisibility.ts
@@ -0,0 +1,16 @@
+import { useHomeStore } from '@/store/home';
+import { homeAgentListSelectors } from '@/store/home/selectors';
+
+/**
+ * Reads an agent's visibility from the sidebar-agent list (loaded eagerly on
+ * app boot, so it has every agent the user can see). Returns `undefined` when
+ * the agent is unknown to the current viewer — callers should treat that as
+ * "no constraint", since the user can't have selected it via normal UI.
+ */
+export const useAgentVisibility = (
+ agentId: string | null | undefined,
+): 'private' | 'public' | undefined => {
+ return useHomeStore((s) =>
+ agentId ? homeAgentListSelectors.getAgentById(agentId)(s)?.visibility : undefined,
+ );
+};
diff --git a/src/features/ChatInput/InputEditor/MentionMenu/types.ts b/src/features/ChatInput/InputEditor/MentionMenu/types.ts
index 6e21b7a7be9..9d22e650ced 100644
--- a/src/features/ChatInput/InputEditor/MentionMenu/types.ts
+++ b/src/features/ChatInput/InputEditor/MentionMenu/types.ts
@@ -1,7 +1,15 @@
import type { ISlashMenuOption } from '@lobehub/editor';
import type { ReactNode } from 'react';
-export type MentionCategoryId = 'agent' | 'topic' | 'member' | 'skill' | 'tool' | 'localFile';
+export type MentionCategoryId =
+ | 'agent'
+ | 'agent-private'
+ | 'agent-workspace'
+ | 'topic'
+ | 'member'
+ | 'skill'
+ | 'tool'
+ | 'localFile';
export interface MentionCategory {
icon: ReactNode;
diff --git a/src/features/ChatInput/InputEditor/useMentionCategories.tsx b/src/features/ChatInput/InputEditor/useMentionCategories.tsx
index d549f5d8bdd..54131f228b2 100644
--- a/src/features/ChatInput/InputEditor/useMentionCategories.tsx
+++ b/src/features/ChatInput/InputEditor/useMentionCategories.tsx
@@ -1,9 +1,11 @@
import { Avatar, Icon } from '@lobehub/ui';
import { SkillsIcon } from '@lobehub/ui/icons';
-import { Bot, MessageSquareText, Users, Wrench } from 'lucide-react';
+import isEqual from 'fast-deep-equal';
+import { Bot, Lock, MessageSquareText, Users, Wrench } from 'lucide-react';
import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import type { SidebarAgentItem } from '@/database/repositories/home';
import { useChatStore } from '@/store/chat';
import { topicSelectors } from '@/store/chat/selectors';
import { useGlobalStore } from '@/store/global';
@@ -24,7 +26,11 @@ type MenuOptionWithMetadata = { key: string; metadata?: Record<string, unknown>
export const useMentionCategories = (): MentionCategory[] => {
const { t } = useTranslation('chat');
const currentAgentId = useAgentId();
- const allAgents = useHomeStore(homeAgentListSelectors.allAgents);
+ const pinnedAgents = useHomeStore(homeAgentListSelectors.pinnedAgents, isEqual);
+ const workspaceGroups = useHomeStore(homeAgentListSelectors.agentGroups, isEqual);
+ const workspaceUngrouped = useHomeStore(homeAgentListSelectors.ungroupedAgents, isEqual);
+ const privateGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateUngrouped = useHomeStore(homeAgentListSelectors.privateUngroupedAgents, isEqual);
const topicPageSize = useGlobalStore(systemStatusSelectors.topicPageSize);
const topicsSelector = useMemo(
@@ -42,34 +48,100 @@ export const useMentionCategories = (): MentionCategory[] => {
return useMemo(() => {
const categories: MentionCategory[] = [];
- // --- Agents (non-group only) ---
+ const toItem = (agent: SidebarAgentItem) => ({
+ icon: (
+ <Avatar
+ avatar={typeof agent.avatar === 'string' ? agent.avatar : undefined}
+ background={agent.backgroundColor ?? undefined}
+ size={24}
+ />
+ ),
+ key: `agent-${agent.id}`,
+ label: agent.title || 'Untitled Agent',
+ metadata: {
+ id: agent.id,
+ timestamp: agent.updatedAt ? new Date(agent.updatedAt).getTime() : 0,
+ type: 'agent' as const,
+ },
+ });
+
+ const dedupeAgents = (list: SidebarAgentItem[]): SidebarAgentItem[] => {
+ const seen = new Set<string>();
+ const out: SidebarAgentItem[] = [];
+ for (const a of list) {
+ if (a.type !== 'agent') continue;
+ if (a.id === currentAgentId || seen.has(a.id)) continue;
+ seen.add(a.id);
+ out.push(a);
+ }
+ return out;
+ };
+
+ // --- Agents (non-group only). Split private vs workspace so the picker
+ // mirrors the sidebar's bucketing instead of mixing other members'
+ // workspace agents with the caller's own private ones. ---
if (!isGroupChat) {
- const items = allAgents
- .filter((a) => a.type === 'agent' && a.id !== currentAgentId)
- .slice(0, MAX_AGENT_ITEMS)
- .map((agent) => ({
- icon: (
- <Avatar
- avatar={typeof agent.avatar === 'string' ? agent.avatar : undefined}
- background={agent.backgroundColor ?? undefined}
- size={24}
- />
- ),
- key: `agent-${agent.id}`,
- label: agent.title || 'Untitled Agent',
- metadata: {
- id: agent.id,
- timestamp: agent.updatedAt ? new Date(agent.updatedAt).getTime() : 0,
- type: 'agent' as const,
- },
- }));
+ // Compute the caller-owned private id set from the raw home-store
+ // selectors BEFORE dedupe: dedupeAgents drops `currentAgentId` from the
+ // candidate lists (so the picker never suggests self-mention), but the
+ // gate needs to see the current agent to recognize it as private. Using
+ // the dedupe result would make `isCurrentContextPrivate` always false
+ // even inside the caller's own private agent — the bug this fixes.
+ const privateAgentIds = new Set<string>();
+ for (const g of privateGroups) for (const a of g.items) privateAgentIds.add(a.id);
+ for (const a of privateUngrouped) privateAgentIds.add(a.id);
- if (items.length > 0) {
+ const workspaceCandidates = dedupeAgents([
+ ...pinnedAgents,
+ ...workspaceGroups.flatMap((g) => g.items),
+ ...workspaceUngrouped,
+ ]);
+ const privateCandidates = dedupeAgents([
+ ...privateGroups.flatMap((g) => g.items),
+ ...privateUngrouped,
+ ]);
+
+ // Ownership-and-visibility gate for the private bucket. Once a mention
+ // fires it becomes a `callAgent` tool-call in the current topic, and
+ // topic/message rows are workspace-scoped without visibility — so the
+ // sub-agent's assistant output would land in a topic that every
+ // workspace member can read. Only expose private agents when the parent
+ // context is itself a caller-owned private agent; then the topic is
+ // effectively invisible to the rest of the workspace and the private
+ // invariant holds.
+ const isCurrentContextPrivate = !!currentAgentId && privateAgentIds.has(currentAgentId);
+
+ // Quota stays at MAX_AGENT_ITEMS total. When the user has private agents
+ // we reserve up to half for them so they don't get drowned out by a long
+ // workspace list.
+ const privateBudget = isCurrentContextPrivate ? Math.min(privateCandidates.length, 10) : 0;
+ const workspaceBudget = MAX_AGENT_ITEMS - privateBudget;
+ const privateItems = privateCandidates.slice(0, privateBudget).map(toItem);
+ const workspaceItems = workspaceCandidates.slice(0, workspaceBudget).map(toItem);
+
+ if (privateItems.length > 0) {
categories.push({
- id: 'agent',
+ id: 'agent-private',
+ icon: <Icon icon={Lock} size={16} />,
+ items: privateItems,
+ label: t('mention.category.privateAgents'),
+ });
+ }
+
+ if (workspaceItems.length > 0) {
+ // Keep the legacy `id: 'agent'` so downstream consumers that key off the
+ // category id (e.g. analytics, selection routing) keep working when the
+ // user has no private agents.
+ const id = privateItems.length > 0 ? 'agent-workspace' : 'agent';
+ const label =
+ privateItems.length > 0
+ ? t('mention.category.workspaceAgents')
+ : t('mention.category.agents');
+ categories.push({
+ id,
icon: <Icon icon={Bot} size={16} />,
- items,
- label: t('mention.category.agents'),
+ items: workspaceItems,
+ label,
});
}
}
@@ -170,7 +242,11 @@ export const useMentionCategories = (): MentionCategory[] => {
return categories;
}, [
- allAgents,
+ pinnedAgents,
+ workspaceGroups,
+ workspaceUngrouped,
+ privateGroups,
+ privateUngrouped,
currentAgentId,
topics,
activeTopicId,
diff --git a/src/features/CreatePlatformAgent/index.tsx b/src/features/CreatePlatformAgent/index.tsx
index 99bf74f61c4..0e2f5b76ef4 100644
--- a/src/features/CreatePlatformAgent/index.tsx
+++ b/src/features/CreatePlatformAgent/index.tsx
@@ -107,439 +107,451 @@ interface AgentProfile {
interface CreatePlatformAgentContentProps {
groupId?: string;
+ visibility?: 'private' | 'public';
}
const COMING_SOON_PLATFORMS = new Set<RemoteHeterogeneousAgentType>(['amp', 'opencode']);
-const CreatePlatformAgentContent = memo<CreatePlatformAgentContentProps>(({ groupId }) => {
- const { t } = useTranslation('chat');
- const { close, setCanDismissByClickOutside } = useModalContext();
- const navigate = useNavigate();
- const storeCreateAgent = useAgentStore((s) => s.createAgent);
- const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
-
- // Creating from a workspace context: the new agent inherits the active
- // workspace's scope (server-side), so the device picker must restrict to
- // workspace devices — a workspace agent bound to a personal device is
- // unreachable to other members and the server rejects the write.
- const activeWorkspaceId = useActiveWorkspaceId();
- const restrictToWorkspaceDevices = Boolean(activeWorkspaceId);
-
- const [step, setStep] = useState(0);
- const [platform, setPlatform] = useState<RemoteHeterogeneousAgentType>('openclaw');
- const [deviceId, setDeviceId] = useState<string | undefined>(undefined);
- const [agentName, setAgentName] = useState('');
- const [agentDescription, setAgentDescription] = useState('');
- const [agentProfile, setAgentProfile] = useState<AgentProfile | null>(null);
- const [fetchingProfile, setFetchingProfile] = useState(false);
- const [creating, setCreating] = useState(false);
- useEffect(() => {
- setCanDismissByClickOutside(!creating);
- }, [creating, setCanDismissByClickOutside]);
- const [capabilityResult, setCapabilityResult] = useState<
- { available: boolean; reason?: string; version?: string } | undefined
- >(undefined);
- const [checkingCapability, setCheckingCapability] = useState(false);
-
- const platformDefs = REMOTE_HETEROGENEOUS_AGENT_CONFIGS.map((c) => ({
- comingSoon: COMING_SOON_PLATFORMS.has(c.type),
- desc: t(`platformAgent.create.desc.${c.type}`),
- name: c.title,
- type: c.type,
- }));
-
- const {
- data: devices,
- isLoading: loadingDevices,
- isFetching: fetchingDevices,
- refetch: refetchDevices,
- } = lambdaQuery.device.listDevices.useQuery(undefined, {
- staleTime: 0,
- });
-
- const selectedPlatformDef = platformDefs.find((p) => p.type === platform)!;
+const CreatePlatformAgentContent = memo<CreatePlatformAgentContentProps>(
+ ({ groupId, visibility }) => {
+ const { t } = useTranslation('chat');
+ const { close, setCanDismissByClickOutside } = useModalContext();
+ const navigate = useNavigate();
+ const storeCreateAgent = useAgentStore((s) => s.createAgent);
+ const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
+
+ // Creating from a workspace context: the new agent inherits the active
+ // workspace's scope (server-side), so the device picker must restrict to
+ // workspace devices — a workspace agent bound to a personal device is
+ // unreachable to other members and the server rejects the write.
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const restrictToWorkspaceDevices = Boolean(activeWorkspaceId);
+
+ const [step, setStep] = useState(0);
+ const [platform, setPlatform] = useState<RemoteHeterogeneousAgentType>('openclaw');
+ const [deviceId, setDeviceId] = useState<string | undefined>(undefined);
+ const [agentName, setAgentName] = useState('');
+ const [agentDescription, setAgentDescription] = useState('');
+ const [agentProfile, setAgentProfile] = useState<AgentProfile | null>(null);
+ const [fetchingProfile, setFetchingProfile] = useState(false);
+ const [creating, setCreating] = useState(false);
+ useEffect(() => {
+ setCanDismissByClickOutside(!creating);
+ }, [creating, setCanDismissByClickOutside]);
+ const [capabilityResult, setCapabilityResult] = useState<
+ { available: boolean; reason?: string; version?: string } | undefined
+ >(undefined);
+ const [checkingCapability, setCheckingCapability] = useState(false);
+
+ const platformDefs = REMOTE_HETEROGENEOUS_AGENT_CONFIGS.map((c) => ({
+ comingSoon: COMING_SOON_PLATFORMS.has(c.type),
+ desc: t(`platformAgent.create.desc.${c.type}`),
+ name: c.title,
+ type: c.type,
+ }));
+
+ const {
+ data: devices,
+ isLoading: loadingDevices,
+ isFetching: fetchingDevices,
+ refetch: refetchDevices,
+ } = lambdaQuery.device.listDevices.useQuery(undefined, {
+ staleTime: 0,
+ });
+
+ const selectedPlatformDef = platformDefs.find((p) => p.type === platform)!;
+
+ useEffect(() => {
+ if (step !== 2) return;
+ if (agentProfile !== null) {
+ if (!agentName) setAgentName(agentProfile.title ?? selectedPlatformDef.name);
+ if (!agentDescription) setAgentDescription(agentProfile.description ?? '');
+ } else if (!fetchingProfile && !agentName) {
+ setAgentName(selectedPlatformDef.name);
+ }
+ }, [step, agentProfile, fetchingProfile]);
- useEffect(() => {
- if (step !== 2) return;
- if (agentProfile !== null) {
- if (!agentName) setAgentName(agentProfile.title ?? selectedPlatformDef.name);
- if (!agentDescription) setAgentDescription(agentProfile.description ?? '');
- } else if (!fetchingProfile && !agentName) {
- setAgentName(selectedPlatformDef.name);
- }
- }, [step, agentProfile, fetchingProfile]);
-
- const handlePlatformChange = useCallback((type: RemoteHeterogeneousAgentType) => {
- setPlatform(type);
- // Reset device + capability state — capability is platform-specific;
- // stale results from the previous platform must not carry over.
- setDeviceId(undefined);
- setCapabilityResult(undefined);
- setAgentProfile(null);
- }, []);
-
- const checkCapability = useCallback(
- async (dId: string) => {
- setCheckingCapability(true);
+ const handlePlatformChange = useCallback((type: RemoteHeterogeneousAgentType) => {
+ setPlatform(type);
+ // Reset device + capability state — capability is platform-specific;
+ // stale results from the previous platform must not carry over.
+ setDeviceId(undefined);
setCapabilityResult(undefined);
+ setAgentProfile(null);
+ }, []);
+
+ const checkCapability = useCallback(
+ async (dId: string) => {
+ setCheckingCapability(true);
+ setCapabilityResult(undefined);
+ try {
+ const result = await deviceService.checkCapability({
+ deviceId: dId,
+ platform,
+ });
+ setCapabilityResult(result);
+ } catch {
+ setCapabilityResult({ available: false, reason: t('platformAgent.create.checkFailed') });
+ } finally {
+ setCheckingCapability(false);
+ }
+ },
+ [platform, t],
+ );
+
+ const fetchProfile = useCallback(
+ async (dId: string) => {
+ setFetchingProfile(true);
+ setAgentProfile(null);
+ try {
+ const profile = await deviceService.getAgentProfile({
+ deviceId: dId,
+ platform,
+ });
+ setAgentProfile(profile);
+ } catch {
+ setAgentProfile({});
+ } finally {
+ setFetchingProfile(false);
+ }
+ },
+ [platform],
+ );
+
+ const handleDeviceChange = useCallback(
+ (dId: string) => {
+ setDeviceId(dId);
+ void checkCapability(dId);
+ void fetchProfile(dId);
+ },
+ [checkCapability, fetchProfile],
+ );
+
+ const handleNext = useCallback(() => {
+ setStep((s) => s + 1);
+ }, []);
+
+ const handleBack = useCallback(() => {
+ setStep((s) => s - 1);
+ }, []);
+
+ const handleCreate = useCallback(async () => {
+ if (!deviceId) return;
+ setCreating(true);
try {
- const result = await deviceService.checkCapability({
- deviceId: dId,
- platform,
+ const title = agentName.trim() || selectedPlatformDef.name;
+ const result = await storeCreateAgent({
+ config: {
+ agencyConfig: {
+ boundDeviceId: deviceId,
+ heterogeneousProvider: {
+ type: platform,
+ },
+ },
+ avatar: agentProfile?.avatar || undefined,
+ description: agentDescription.trim() || undefined,
+ title,
+ },
+ groupId,
+ visibility,
});
- setCapabilityResult(result);
- } catch {
- setCapabilityResult({ available: false, reason: t('platformAgent.create.checkFailed') });
+ await refreshAgentList();
+ close();
+ navigate(`/agent/${result.agentId}`);
} finally {
- setCheckingCapability(false);
+ setCreating(false);
+ }
+ }, [
+ deviceId,
+ agentName,
+ agentDescription,
+ agentProfile,
+ platform,
+ groupId,
+ visibility,
+ storeCreateAgent,
+ refreshAgentList,
+ close,
+ navigate,
+ selectedPlatformDef.name,
+ ]);
+
+ const renderCapabilityStatus = () => {
+ if (!deviceId) return null;
+ if (checkingCapability)
+ return <Tag style={{ marginInlineEnd: 0 }}>{t('platformAgent.create.checking')}</Tag>;
+ if (!capabilityResult) return null;
+ if (capabilityResult.available) {
+ return (
+ <Flexbox horizontal align="flex-start" gap={4} style={{ flexWrap: 'wrap' }}>
+ <Icon
+ color="var(--ant-color-success)"
+ icon={CheckCircle2}
+ size={14}
+ style={{ marginTop: 2, flexShrink: 0 }}
+ />
+ <Tag
+ color="success"
+ style={{ marginInlineEnd: 0, whiteSpace: 'normal', wordBreak: 'break-word' }}
+ >
+ {capabilityResult.version ?? t('platformAgent.create.available')}
+ </Tag>
+ </Flexbox>
+ );
}
- },
- [platform, t],
- );
- const fetchProfile = useCallback(
- async (dId: string) => {
- setFetchingProfile(true);
- setAgentProfile(null);
- try {
- const profile = await deviceService.getAgentProfile({
- deviceId: dId,
- platform,
- });
- setAgentProfile(profile);
- } catch {
- setAgentProfile({});
- } finally {
- setFetchingProfile(false);
+ const isVersionTooLow = capabilityResult.reason?.includes('is not available on this device');
+ if (isVersionTooLow) {
+ return (
+ <Alert
+ showIcon
+ message={t('platformAgent.create.versionTooLow')}
+ type="warning"
+ description={
+ <Flexbox gap={4}>
+ <span>{t('platformAgent.create.versionTooLowHint')}</span>
+ <Typography.Text code copyable>
+ {t('platformAgent.create.upgradeCmd')}
+ </Typography.Text>
+ </Flexbox>
+ }
+ />
+ );
}
- },
- [platform],
- );
-
- const handleDeviceChange = useCallback(
- (dId: string) => {
- setDeviceId(dId);
- void checkCapability(dId);
- void fetchProfile(dId);
- },
- [checkCapability, fetchProfile],
- );
-
- const handleNext = useCallback(() => {
- setStep((s) => s + 1);
- }, []);
-
- const handleBack = useCallback(() => {
- setStep((s) => s - 1);
- }, []);
-
- const handleCreate = useCallback(async () => {
- if (!deviceId) return;
- setCreating(true);
- try {
- const title = agentName.trim() || selectedPlatformDef.name;
- const result = await storeCreateAgent({
- config: {
- agencyConfig: {
- boundDeviceId: deviceId,
- heterogeneousProvider: {
- type: platform,
- },
- },
- avatar: agentProfile?.avatar || undefined,
- description: agentDescription.trim() || undefined,
- title,
- },
- groupId,
- });
- await refreshAgentList();
- close();
- navigate(`/agent/${result.agentId}`);
- } finally {
- setCreating(false);
- }
- }, [
- deviceId,
- agentName,
- agentDescription,
- agentProfile,
- platform,
- groupId,
- storeCreateAgent,
- refreshAgentList,
- close,
- navigate,
- selectedPlatformDef.name,
- ]);
-
- const renderCapabilityStatus = () => {
- if (!deviceId) return null;
- if (checkingCapability)
- return <Tag style={{ marginInlineEnd: 0 }}>{t('platformAgent.create.checking')}</Tag>;
- if (!capabilityResult) return null;
- if (capabilityResult.available) {
+
return (
- <Flexbox horizontal align="flex-start" gap={4} style={{ flexWrap: 'wrap' }}>
- <Icon
- color="var(--ant-color-success)"
- icon={CheckCircle2}
- size={14}
- style={{ marginTop: 2, flexShrink: 0 }}
- />
- <Tag
- color="success"
- style={{ marginInlineEnd: 0, whiteSpace: 'normal', wordBreak: 'break-word' }}
- >
- {capabilityResult.version ?? t('platformAgent.create.available')}
+ <Flexbox horizontal align="center" gap={4}>
+ <Icon color="var(--ant-color-error)" icon={XCircle} size={14} />
+ <Tag color="error" style={{ marginInlineEnd: 0 }}>
+ {capabilityResult.reason ??
+ t('platformAgent.create.notInstalled', { name: selectedPlatformDef.name })}
</Tag>
</Flexbox>
);
- }
+ };
- const isVersionTooLow = capabilityResult.reason?.includes('is not available on this device');
- if (isVersionTooLow) {
- return (
- <Alert
- showIcon
- message={t('platformAgent.create.versionTooLow')}
- type="warning"
- description={
- <Flexbox gap={4}>
- <span>{t('platformAgent.create.versionTooLowHint')}</span>
- <Typography.Text code copyable>
- {t('platformAgent.create.upgradeCmd')}
- </Typography.Text>
- </Flexbox>
- }
- />
- );
- }
+ const step2NextDisabled =
+ !deviceId || checkingCapability || capabilityResult?.available === false;
- return (
- <Flexbox horizontal align="center" gap={4}>
- <Icon color="var(--ant-color-error)" icon={XCircle} size={14} />
- <Tag color="error" style={{ marginInlineEnd: 0 }}>
- {capabilityResult.reason ??
- t('platformAgent.create.notInstalled', { name: selectedPlatformDef.name })}
- </Tag>
- </Flexbox>
- );
- };
-
- const step2NextDisabled =
- !deviceId || checkingCapability || capabilityResult?.available === false;
-
- const renderStepContent = () => {
- if (step === 0) {
- return (
- <Flexbox gap={12}>
- {platformDefs.map((def) => (
- <div
- className={styles.platformCard}
- data-disabled={def.comingSoon}
- data-selected={!def.comingSoon && platform === def.type}
- key={def.type}
- role="button"
- tabIndex={def.comingSoon ? -1 : 0}
- onClick={() => !def.comingSoon && handlePlatformChange(def.type)}
- onKeyDown={(e) => {
- if (!def.comingSoon && (e.key === 'Enter' || e.key === ' '))
- handlePlatformChange(def.type);
- }}
- >
- <Flexbox horizontal align="center" gap={8}>
- <Icon icon={MonitorSmartphone} size={18} />
- <span className={styles.platformName}>{def.name}</span>
- {def.comingSoon && (
- <Tag style={{ marginInlineEnd: 0 }}>{t('platformAgent.create.comingSoon')}</Tag>
- )}
- </Flexbox>
- <span className={styles.platformDesc}>{def.desc}</span>
- </div>
- ))}
- </Flexbox>
- );
- }
+ const renderStepContent = () => {
+ if (step === 0) {
+ return (
+ <Flexbox gap={12}>
+ {platformDefs.map((def) => (
+ <div
+ className={styles.platformCard}
+ data-disabled={def.comingSoon}
+ data-selected={!def.comingSoon && platform === def.type}
+ key={def.type}
+ role="button"
+ tabIndex={def.comingSoon ? -1 : 0}
+ onClick={() => !def.comingSoon && handlePlatformChange(def.type)}
+ onKeyDown={(e) => {
+ if (!def.comingSoon && (e.key === 'Enter' || e.key === ' '))
+ handlePlatformChange(def.type);
+ }}
+ >
+ <Flexbox horizontal align="center" gap={8}>
+ <Icon icon={MonitorSmartphone} size={18} />
+ <span className={styles.platformName}>{def.name}</span>
+ {def.comingSoon && (
+ <Tag style={{ marginInlineEnd: 0 }}>{t('platformAgent.create.comingSoon')}</Tag>
+ )}
+ </Flexbox>
+ <span className={styles.platformDesc}>{def.desc}</span>
+ </div>
+ ))}
+ </Flexbox>
+ );
+ }
- if (step === 1) {
- const onlineDevices = (devices ?? []).filter(
- (d) => d.online && (!restrictToWorkspaceDevices || d.scope === 'workspace'),
- );
- const isRefreshing = loadingDevices || fetchingDevices;
+ if (step === 1) {
+ const onlineDevices = (devices ?? []).filter(
+ (d) => d.online && (!restrictToWorkspaceDevices || d.scope === 'workspace'),
+ );
+ const isRefreshing = loadingDevices || fetchingDevices;
+
+ const refreshButton = (
+ <Button
+ icon={<Icon icon={RefreshCw} size={13} />}
+ loading={isRefreshing}
+ size="small"
+ type="text"
+ onClick={() => void refetchDevices()}
+ >
+ {t('platformAgent.create.refresh')}
+ </Button>
+ );
- const refreshButton = (
- <Button
- icon={<Icon icon={RefreshCw} size={13} />}
- loading={isRefreshing}
- size="small"
- type="text"
- onClick={() => void refetchDevices()}
- >
- {t('platformAgent.create.refresh')}
- </Button>
- );
+ if (!isRefreshing && onlineDevices.length === 0) {
+ return (
+ <Flexbox gap={12}>
+ <Alert
+ showIcon
+ message={t('platformAgent.create.noDevices')}
+ type="info"
+ description={
+ <Flexbox gap={12}>
+ <Flexbox gap={6}>
+ <span>{t('platformAgent.create.noDevicesDesktopHint')}</span>
+ <a href="https://lobehub.com/downloads" rel="noreferrer" target="_blank">
+ <Button
+ icon={<Icon icon={Download} size={13} />}
+ size="small"
+ type="primary"
+ >
+ {t('platformAgent.create.downloadDesktop')}
+ </Button>
+ </a>
+ </Flexbox>
+ <Flexbox gap={4}>
+ <span>{t('platformAgent.create.noDevicesCliHint')}</span>
+ <Typography.Text code copyable>
+ {t('platformAgent.create.noDevicesCmd')}
+ </Typography.Text>
+ </Flexbox>
+ </Flexbox>
+ }
+ />
+ {refreshButton}
+ </Flexbox>
+ );
+ }
- if (!isRefreshing && onlineDevices.length === 0) {
return (
<Flexbox gap={12}>
- <Alert
- showIcon
- message={t('platformAgent.create.noDevices')}
- type="info"
- description={
- <Flexbox gap={12}>
- <Flexbox gap={6}>
- <span>{t('platformAgent.create.noDevicesDesktopHint')}</span>
- <a href="https://lobehub.com/downloads" rel="noreferrer" target="_blank">
- <Button icon={<Icon icon={Download} size={13} />} size="small" type="primary">
- {t('platformAgent.create.downloadDesktop')}
- </Button>
- </a>
- </Flexbox>
- <Flexbox gap={4}>
- <span>{t('platformAgent.create.noDevicesCliHint')}</span>
- <Typography.Text code copyable>
- {t('platformAgent.create.noDevicesCmd')}
- </Typography.Text>
- </Flexbox>
- </Flexbox>
- }
- />
- {refreshButton}
+ <Flexbox horizontal align="center" gap={8}>
+ <Select
+ loading={isRefreshing}
+ placeholder={t('platformAgent.create.selectDevice')}
+ style={{ flex: 1 }}
+ value={deviceId}
+ options={onlineDevices.map((d) => ({
+ label: (
+ <div className={styles.deviceItem}>
+ <Icon icon={BotIcon} size={14} />
+ <span>{d.hostname}</span>
+ <Tag color="success" style={{ marginInlineEnd: 0 }}>
+ {t('platformAgent.device.online')}
+ </Tag>
+ </div>
+ ),
+ value: d.deviceId,
+ }))}
+ onChange={handleDeviceChange}
+ />
+ {refreshButton}
+ </Flexbox>
+ {renderCapabilityStatus()}
</Flexbox>
);
}
- return (
- <Flexbox gap={12}>
- <Flexbox horizontal align="center" gap={8}>
- <Select
- loading={isRefreshing}
- placeholder={t('platformAgent.create.selectDevice')}
- style={{ flex: 1 }}
- value={deviceId}
- options={onlineDevices.map((d) => ({
- label: (
- <div className={styles.deviceItem}>
- <Icon icon={BotIcon} size={14} />
- <span>{d.hostname}</span>
- <Tag color="success" style={{ marginInlineEnd: 0 }}>
- {t('platformAgent.device.online')}
- </Tag>
- </div>
- ),
- value: d.deviceId,
- }))}
- onChange={handleDeviceChange}
+ if (step === 2) {
+ const avatar = agentProfile?.avatar;
+ return (
+ <Flexbox gap={12}>
+ {avatar && (
+ <Flexbox horizontal align="center" gap={12}>
+ <div className={styles.avatarPreview}>{avatar}</div>
+ </Flexbox>
+ )}
+ <Input
+ maxLength={60}
+ value={agentName}
+ placeholder={
+ fetchingProfile
+ ? t('platformAgent.create.fetchingProfile')
+ : t('platformAgent.create.namePlaceholder')
+ }
+ onChange={(e) => setAgentName(e.target.value)}
+ onPressEnter={() => void handleCreate()}
+ />
+ <Input.TextArea
+ autoSize={{ maxRows: 4, minRows: 2 }}
+ maxLength={200}
+ placeholder={t('platformAgent.create.descriptionPlaceholder')}
+ value={agentDescription}
+ onChange={(e) => setAgentDescription(e.target.value)}
/>
- {refreshButton}
</Flexbox>
- {renderCapabilityStatus()}
- </Flexbox>
- );
- }
+ );
+ }
- if (step === 2) {
- const avatar = agentProfile?.avatar;
- return (
- <Flexbox gap={12}>
- {avatar && (
- <Flexbox horizontal align="center" gap={12}>
- <div className={styles.avatarPreview}>{avatar}</div>
- </Flexbox>
- )}
- <Input
- maxLength={60}
- value={agentName}
- placeholder={
- fetchingProfile
- ? t('platformAgent.create.fetchingProfile')
- : t('platformAgent.create.namePlaceholder')
- }
- onChange={(e) => setAgentName(e.target.value)}
- onPressEnter={() => void handleCreate()}
- />
- <Input.TextArea
- autoSize={{ maxRows: 4, minRows: 2 }}
- maxLength={200}
- placeholder={t('platformAgent.create.descriptionPlaceholder')}
- value={agentDescription}
- onChange={(e) => setAgentDescription(e.target.value)}
- />
- </Flexbox>
- );
- }
+ return null;
+ };
- return null;
- };
+ const renderFooter = () => {
+ const buttons = [];
- const renderFooter = () => {
- const buttons = [];
+ if (step > 0) {
+ buttons.push(
+ <BaseButton key="back" onClick={handleBack}>
+ {t('platformAgent.create.back')}
+ </BaseButton>,
+ );
+ }
- if (step > 0) {
- buttons.push(
- <BaseButton key="back" onClick={handleBack}>
- {t('platformAgent.create.back')}
- </BaseButton>,
- );
- }
+ if (step < 2) {
+ const nextDisabled = step === 1 && step2NextDisabled;
+ buttons.push(
+ <BaseButton disabled={nextDisabled} key="next" type="primary" onClick={handleNext}>
+ {t('platformAgent.create.next')}
+ </BaseButton>,
+ );
+ }
- if (step < 2) {
- const nextDisabled = step === 1 && step2NextDisabled;
- buttons.push(
- <BaseButton disabled={nextDisabled} key="next" type="primary" onClick={handleNext}>
- {t('platformAgent.create.next')}
- </BaseButton>,
- );
- }
+ if (step === 2) {
+ buttons.push(
+ <BaseButton
+ disabled={!agentName.trim() && !selectedPlatformDef.name}
+ key="create"
+ loading={creating}
+ type="primary"
+ onClick={() => void handleCreate()}
+ >
+ {creating ? t('platformAgent.create.creating') : t('platformAgent.create.create')}
+ </BaseButton>,
+ );
+ }
- if (step === 2) {
- buttons.push(
- <BaseButton
- disabled={!agentName.trim() && !selectedPlatformDef.name}
- key="create"
- loading={creating}
- type="primary"
- onClick={() => void handleCreate()}
- >
- {creating ? t('platformAgent.create.creating') : t('platformAgent.create.create')}
- </BaseButton>,
- );
- }
+ return buttons;
+ };
- return buttons;
- };
-
- return (
- <Flexbox gap={24} paddingBlock={'16px 8px'}>
- <Steps
- current={step}
- size="small"
- items={[
- { title: t('platformAgent.create.step1') },
- { title: t('platformAgent.create.step2') },
- { title: t('platformAgent.create.step3') },
- ]}
- />
- {renderStepContent()}
- <Flexbox horizontal gap={8} justify={'flex-end'}>
- {renderFooter()}
+ return (
+ <Flexbox gap={24} paddingBlock={'16px 8px'}>
+ <Steps
+ current={step}
+ size="small"
+ items={[
+ { title: t('platformAgent.create.step1') },
+ { title: t('platformAgent.create.step2') },
+ { title: t('platformAgent.create.step3') },
+ ]}
+ />
+ {renderStepContent()}
+ <Flexbox horizontal gap={8} justify={'flex-end'}>
+ {renderFooter()}
+ </Flexbox>
</Flexbox>
- </Flexbox>
- );
-});
+ );
+ },
+);
CreatePlatformAgentContent.displayName = 'CreatePlatformAgentContent';
interface OpenCreatePlatformAgentModalOptions {
groupId?: string;
+ visibility?: 'private' | 'public';
}
export const openCreatePlatformAgentModal = (
options?: OpenCreatePlatformAgentModalOptions,
): ModalInstance =>
createModal({
- content: <CreatePlatformAgentContent groupId={options?.groupId} />,
+ content: (
+ <CreatePlatformAgentContent groupId={options?.groupId} visibility={options?.visibility} />
+ ),
footer: null,
maskClosable: true,
title: i18nT('platformAgent.create.title', { ns: 'chat' }),
diff --git a/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx b/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx
index ab0a8046dab..a40c77314fa 100644
--- a/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx
+++ b/src/features/LibraryModal/AssignKnowledgeBase/Item/MasonryItem.tsx
@@ -1,5 +1,6 @@
-import { Flexbox, Text } from '@lobehub/ui';
-import { createStaticStyles } from 'antd-style';
+import { Flexbox, Icon, Text } from '@lobehub/ui';
+import { createStaticStyles, cssVar } from 'antd-style';
+import { LockIcon } from 'lucide-react';
import { memo } from 'react';
import KnowledgeIcon from '@/components/KnowledgeIcon';
@@ -42,35 +43,42 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
`,
}));
-const MasonryItem = memo<KnowledgeItem>(({ id, fileType, name, type, description, enabled }) => {
- return (
- <div className={styles.card}>
- <Flexbox gap={12} style={{ position: 'relative' }}>
- <Flexbox horizontal align={'center'} gap={12}>
- <KnowledgeIcon
- fileType={fileType}
- name={name}
- size={{ file: 48, repo: 48 }}
- type={type}
- />
- <Flexbox flex={1} gap={6} style={{ overflow: 'hidden', position: 'relative' }}>
- <Text className={styles.title} ellipsis={{ rows: 2 }}>
- {name}
+const MasonryItem = memo<KnowledgeItem>(
+ ({ id, fileType, name, type, description, enabled, visibility }) => {
+ return (
+ <div className={styles.card}>
+ <Flexbox gap={12} style={{ position: 'relative' }}>
+ <Flexbox horizontal align={'center'} gap={12}>
+ <KnowledgeIcon
+ fileType={fileType}
+ name={name}
+ size={{ file: 48, repo: 48 }}
+ type={type}
+ />
+ <Flexbox flex={1} gap={6} style={{ overflow: 'hidden', position: 'relative' }}>
+ <Flexbox horizontal align={'center'} gap={6}>
+ {visibility === 'private' && (
+ <Icon color={cssVar.colorTextDescription} icon={LockIcon} size={12} />
+ )}
+ <Text className={styles.title} ellipsis={{ rows: 2 }}>
+ {name}
+ </Text>
+ </Flexbox>
+ </Flexbox>
+ </Flexbox>
+ {description && (
+ <Text className={styles.desc} ellipsis={{ rows: 3 }}>
+ {description}
</Text>
+ )}
+ <Flexbox align={'center'} justify={'flex-end'}>
+ <Actions enabled={enabled} id={id} type={type} />
</Flexbox>
</Flexbox>
- {description && (
- <Text className={styles.desc} ellipsis={{ rows: 3 }}>
- {description}
- </Text>
- )}
- <Flexbox align={'center'} justify={'flex-end'}>
- <Actions enabled={enabled} id={id} type={type} />
- </Flexbox>
- </Flexbox>
- </div>
- );
-});
+ </div>
+ );
+ },
+);
MasonryItem.displayName = 'MasonryItem';
diff --git a/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx b/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx
index dd89772645f..edb0bb166b1 100644
--- a/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx
+++ b/src/features/LibraryModal/AssignKnowledgeBase/Item/index.tsx
@@ -1,5 +1,6 @@
-import { Flexbox, Text } from '@lobehub/ui';
-import { createStaticStyles } from 'antd-style';
+import { Flexbox, Icon, Text } from '@lobehub/ui';
+import { createStaticStyles, cssVar } from 'antd-style';
+import { LockIcon } from 'lucide-react';
import { memo } from 'react';
import KnowledgeIcon from '@/components/KnowledgeIcon';
@@ -25,41 +26,51 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
`,
}));
-const PluginItem = memo<KnowledgeItem>(({ id, fileType, name, type, description, enabled }) => {
- return (
- <Flexbox
- horizontal
- align={'center'}
- gap={8}
- justify={'space-between'}
- paddingBlock={12}
- paddingInline={16}
- style={{ position: 'relative' }}
- >
+const PluginItem = memo<KnowledgeItem>(
+ ({ id, fileType, name, type, description, enabled, visibility }) => {
+ return (
<Flexbox
horizontal
align={'center'}
- flex={1}
gap={8}
- style={{ overflow: 'hidden', position: 'relative' }}
+ justify={'space-between'}
+ paddingBlock={12}
+ paddingInline={16}
+ style={{ position: 'relative' }}
>
- <KnowledgeIcon fileType={fileType} name={name} size={{ file: 40, repo: 40 }} type={type} />
- <Flexbox flex={1} gap={4} style={{ overflow: 'hidden', position: 'relative' }}>
- <Flexbox horizontal align={'center'} gap={8}>
- <Text ellipsis className={styles.title}>
- {name}
- </Text>
+ <Flexbox
+ horizontal
+ align={'center'}
+ flex={1}
+ gap={8}
+ style={{ overflow: 'hidden', position: 'relative' }}
+ >
+ <KnowledgeIcon
+ fileType={fileType}
+ name={name}
+ size={{ file: 40, repo: 40 }}
+ type={type}
+ />
+ <Flexbox flex={1} gap={4} style={{ overflow: 'hidden', position: 'relative' }}>
+ <Flexbox horizontal align={'center'} gap={6}>
+ {visibility === 'private' && (
+ <Icon color={cssVar.colorTextDescription} icon={LockIcon} size={12} />
+ )}
+ <Text ellipsis className={styles.title}>
+ {name}
+ </Text>
+ </Flexbox>
+ {description && (
+ <Text ellipsis className={styles.desc}>
+ {description}
+ </Text>
+ )}
</Flexbox>
- {description && (
- <Text ellipsis className={styles.desc}>
- {description}
- </Text>
- )}
</Flexbox>
+ <Actions enabled={enabled} id={id} type={type} />
</Flexbox>
- <Actions enabled={enabled} id={id} type={type} />
- </Flexbox>
- );
-});
+ );
+ },
+);
export default PluginItem;
diff --git a/src/features/LibraryModal/AssignKnowledgeBase/List.tsx b/src/features/LibraryModal/AssignKnowledgeBase/List.tsx
index 1b940a064df..8038cc2a723 100644
--- a/src/features/LibraryModal/AssignKnowledgeBase/List.tsx
+++ b/src/features/LibraryModal/AssignKnowledgeBase/List.tsx
@@ -1,4 +1,4 @@
-import { Center, Empty, Flexbox, Icon } from '@lobehub/ui';
+import { Alert, Center, Empty, Flexbox, Icon } from '@lobehub/ui';
import { VirtuosoMasonry } from '@virtuoso.dev/masonry';
import { BookOpen, ServerCrash } from 'lucide-react';
import React, { memo, useMemo, useState } from 'react';
@@ -14,16 +14,27 @@ import Loading from './Loading';
import MasonrySkeleton from './MasonrySkeleton';
import { type ViewMode } from './ViewSwitcher';
import ViewSwitcher from './ViewSwitcher';
+import VisibilityTabs, { type PickerVisibility } from './VisibilityTabs';
export const List = memo(() => {
- const { t } = useTranslation('file');
+ const { t } = useTranslation(['file', 'chat']);
- const [useFetchFilesAndKnowledgeBases, activeAgentId] = useAgentStore((s) => [
+ const [useFetchFilesAndKnowledgeBases, activeAgentId, agentVisibility] = useAgentStore((s) => [
s.useFetchFilesAndKnowledgeBases,
s.activeAgentId,
+ s.activeAgentId ? s.agentMap[s.activeAgentId]?.visibility : undefined,
]);
- const { isLoading, error, data } = useFetchFilesAndKnowledgeBases(activeAgentId);
+ // Public agents can only reference workspace resources. The backend
+ // enforces this hard (see agent.getKnowledgeBasesAndFiles) — this flag
+ // just drives the UX: hide the tab, show an explainer, and force the
+ // fetch to workspace scope so the client can't ask for private items.
+ const isPublicAgent = agentVisibility === 'public';
+
+ const [mode, setMode] = useState<PickerVisibility>('public');
+ const effectiveMode: PickerVisibility = isPublicAgent ? 'public' : mode;
+
+ const { isLoading, error, data } = useFetchFilesAndKnowledgeBases(activeAgentId, effectiveMode);
const [columnCount, setColumnCount] = useState(2);
const [isTransitioning, setIsTransitioning] = useState(false);
@@ -76,10 +87,24 @@ export const List = memo(() => {
return (
<Flexbox height={500}>
- <Flexbox paddingInline={16} style={{ paddingBlockEnd: 12 }}>
- <Flexbox horizontal align={'center'} justify={'flex-end'}>
+ {/*
+ * Toolbar sits flush with the list items below: Virtuoso uses
+ * `marginInline: -16` to pull rows back to the outer edge and each
+ * Item re-applies `paddingInline={16}`. Match that here so the tab
+ * group and view switcher line up with the item icons / add buttons.
+ */}
+ <Flexbox gap={8} style={{ paddingBlockEnd: 12 }}>
+ <Flexbox horizontal align={'center'} justify={'space-between'}>
+ {isPublicAgent ? <span /> : <VisibilityTabs value={mode} onChange={setMode} />}
<ViewSwitcher view={viewMode} onViewChange={setViewMode} />
</Flexbox>
+ {isPublicAgent && (
+ <Alert
+ showIcon
+ message={t('resources.knowledgePicker.publicAgentHint', { ns: 'chat' })}
+ type={'info'}
+ />
+ )}
</Flexbox>
{isLoading || isTransitioning ? (
viewMode === 'masonry' ? (
diff --git a/src/features/LibraryModal/AssignKnowledgeBase/VisibilityTabs.tsx b/src/features/LibraryModal/AssignKnowledgeBase/VisibilityTabs.tsx
new file mode 100644
index 00000000000..06e8c15e3a3
--- /dev/null
+++ b/src/features/LibraryModal/AssignKnowledgeBase/VisibilityTabs.tsx
@@ -0,0 +1,93 @@
+'use client';
+
+import { Icon } from '@lobehub/ui';
+import { createStaticStyles, cx } from 'antd-style';
+import { LockIcon, UsersIcon } from 'lucide-react';
+import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+export type PickerVisibility = 'private' | 'public';
+
+interface VisibilityTabsProps {
+ onChange: (value: PickerVisibility) => void;
+ value: PickerVisibility;
+}
+
+const styles = createStaticStyles(({ css, cssVar }) => ({
+ button: css`
+ cursor: pointer;
+
+ display: inline-flex;
+ gap: 6px;
+ align-items: center;
+ justify-content: center;
+
+ padding-block: 6px;
+ padding-inline: 12px;
+ border: none;
+ border-radius: ${cssVar.borderRadius};
+
+ font-size: 13px;
+ font-weight: 500;
+ color: ${cssVar.colorTextSecondary};
+
+ background: transparent;
+
+ transition: background 0.15s;
+
+ &:hover {
+ background: ${cssVar.colorFillTertiary};
+ }
+ `,
+ buttonActive: css`
+ color: ${cssVar.colorText};
+ background: ${cssVar.colorBgElevated};
+ box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
+ `,
+ group: css`
+ display: inline-flex;
+ padding: 3px;
+ border-radius: ${cssVar.borderRadiusLG};
+ background: ${cssVar.colorFillQuaternary};
+ `,
+}));
+
+// Mirrors ResourceModeToggle's visual language so the picker feels like the
+// same primitive as the sidebar toggle — same iconography, same label copy.
+const OPTIONS: Array<{ icon: typeof LockIcon; key: PickerVisibility; labelKey: string }> = [
+ { icon: UsersIcon, key: 'public', labelKey: 'resources.visibility.workspace' },
+ { icon: LockIcon, key: 'private', labelKey: 'resources.visibility.private' },
+];
+
+const VisibilityTabs = memo<VisibilityTabsProps>(({ value, onChange }) => {
+ const { t } = useTranslation('chat');
+
+ return (
+ <div className={styles.group} role={'tablist'}>
+ {OPTIONS.map((option) => {
+ const isActive = value === option.key;
+ const OptionIcon = option.icon;
+ return (
+ <button
+ aria-selected={isActive}
+ className={cx(styles.button, isActive && styles.buttonActive)}
+ key={option.key}
+ role={'tab'}
+ type={'button'}
+ onClick={() => {
+ if (isActive) return;
+ onChange(option.key);
+ }}
+ >
+ <Icon icon={OptionIcon} size={14} />
+ <span>{t(option.labelKey as never)}</span>
+ </button>
+ );
+ })}
+ </div>
+ );
+});
+
+VisibilityTabs.displayName = 'VisibilityTabs';
+
+export default VisibilityTabs;
diff --git a/src/features/LibraryModal/CreateNew/CreateForm.tsx b/src/features/LibraryModal/CreateNew/CreateForm.tsx
index 9dd745aa777..a874fb8887b 100644
--- a/src/features/LibraryModal/CreateNew/CreateForm.tsx
+++ b/src/features/LibraryModal/CreateNew/CreateForm.tsx
@@ -2,6 +2,7 @@ import { Button, Flexbox, Input, TextArea } from '@lobehub/ui';
import { memo, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
import { useKnowledgeBaseStore } from '@/store/library';
interface CreateFormProps {
@@ -18,6 +19,12 @@ const CreateForm = memo<CreateFormProps>(({ id, initialValues, onClose, onSucces
const [description, setDescription] = useState(initialValues?.description || '');
const createNewKnowledgeBase = useKnowledgeBaseStore((s) => s.createNewKnowledgeBase);
const updateKnowledgeBase = useKnowledgeBaseStore((s) => s.updateKnowledgeBase);
+ // Derive KB visibility from the current sidebar mode: "private space" →
+ // private KB, "workspace space" → public KB. Personal-mode users have the
+ // toggle hidden and `listVisibility` stays at its default 'workspace', so
+ // personal-mode create still resolves to 'public' — matching the pre-column
+ // default and giving `buildWorkspaceWhere` nothing to filter on.
+ const listVisibility = useResourceManagerStore((s) => s.listVisibility);
const isEditMode = !!id;
@@ -25,7 +32,11 @@ const CreateForm = memo<CreateFormProps>(({ id, initialValues, onClose, onSucces
if (!name.trim()) return;
setLoading(true);
- const values = { name: name.trim(), description: description.trim() };
+ const values = {
+ description: description.trim(),
+ name: name.trim(),
+ visibility: listVisibility === 'private' ? ('private' as const) : ('public' as const),
+ };
try {
if (isEditMode) {
diff --git a/src/features/NavPanel/index.test.tsx b/src/features/NavPanel/index.test.tsx
index 40f6863c188..831a0de1bd6 100644
--- a/src/features/NavPanel/index.test.tsx
+++ b/src/features/NavPanel/index.test.tsx
@@ -55,6 +55,22 @@ vi.mock('@/routes/(main)/community/_layout/Sidebar/Content', () => ({
default: () => <div>Community sidebar</div>,
}));
+vi.mock('@/routes/(main)/resource/(home)/_layout/SidebarContent', () => ({
+ default: () => <div>Resource sidebar</div>,
+}));
+
+vi.mock('@/routes/(main)/memory/_layout/Sidebar/Content', () => ({
+ default: () => <div>Memory sidebar</div>,
+}));
+
+vi.mock('@/routes/(main)/eval/_layout/Sidebar/Content', () => ({
+ default: () => <div>Eval sidebar</div>,
+}));
+
+vi.mock('@/features/Pages/PageLayout/SidebarContent', () => ({
+ default: () => <div>Page sidebar</div>,
+}));
+
vi.mock('./components/NavPanelDraggable', () => ({
NavPanelDraggable: ({ activeContent }: NavPanelDraggableMockProps) => (
<div data-nav-key={activeContent.key} data-testid="nav-panel">
diff --git a/src/features/NavPanel/index.tsx b/src/features/NavPanel/index.tsx
index ce3eb4e396e..3d2f1085c6e 100644
--- a/src/features/NavPanel/index.tsx
+++ b/src/features/NavPanel/index.tsx
@@ -5,11 +5,15 @@ import { memo, useLayoutEffect, useRef, useSyncExternalStore } from 'react';
import { useLocation } from 'react-router';
import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';
+import PageSidebarContent from '@/features/Pages/PageLayout/SidebarContent';
import WorkspaceSettingsSideBarContent from '@/features/WorkspaceSetting/SideBar/Content';
import AgentSidebarContent from '@/routes/(main)/agent/_layout/Sidebar/Content';
import CommunitySidebarContent from '@/routes/(main)/community/_layout/Sidebar/Content';
+import EvalSidebarContent from '@/routes/(main)/eval/_layout/Sidebar/Content';
import GroupSidebarContent from '@/routes/(main)/group/_layout/Sidebar/Content';
import SidebarContent from '@/routes/(main)/home/_layout/SidebarContent';
+import MemorySidebarContent from '@/routes/(main)/memory/_layout/Sidebar/Content';
+import ResourceSidebarContent from '@/routes/(main)/resource/(home)/_layout/SidebarContent';
import SettingsSidebarContent from '@/routes/(main)/settings/_layout/SidebarContent';
import { NavPanelDraggable } from './components/NavPanelDraggable';
@@ -48,6 +52,10 @@ const COMMUNITY_NAV_KEY = 'discover';
const EMPTY_NAV_KEY = 'empty';
const SETTINGS_NAV_KEY = 'settings';
const WORKSPACE_SETTINGS_NAV_KEY = 'workspace-settings';
+const RESOURCE_NAV_KEY = 'resource';
+const MEMORY_NAV_KEY = 'memory';
+const EVAL_NAV_KEY = 'eval';
+const PAGE_NAV_KEY = 'page';
const DEDICATED_ROUTE_NAV_SEGMENTS = new Set([
'community',
@@ -133,12 +141,44 @@ const NavPanel = memo(() => {
node: <CommunitySidebarContent />,
}
: null;
+ const resourceFallback =
+ mainRouteSegment === 'resource'
+ ? {
+ key: RESOURCE_NAV_KEY,
+ node: <ResourceSidebarContent />,
+ }
+ : null;
+ const memoryFallback =
+ mainRouteSegment === 'memory'
+ ? {
+ key: MEMORY_NAV_KEY,
+ node: <MemorySidebarContent />,
+ }
+ : null;
+ const evalFallback =
+ mainRouteSegment === 'eval'
+ ? {
+ key: EVAL_NAV_KEY,
+ node: <EvalSidebarContent />,
+ }
+ : null;
+ const pageFallback =
+ mainRouteSegment === 'page'
+ ? {
+ key: PAGE_NAV_KEY,
+ node: <PageSidebarContent />,
+ }
+ : null;
const routeFallback =
agentFallback ||
groupFallback ||
workspaceSettingsFallback ||
personalSettingsFallback ||
- communityFallback;
+ communityFallback ||
+ resourceFallback ||
+ memoryFallback ||
+ evalFallback ||
+ pageFallback;
const hasDedicatedRouteNavPanel = DEDICATED_ROUTE_NAV_SEGMENTS.has(mainRouteSegment ?? '');
const isStaleHomeSnapshot =
panelContent?.key === FALLBACK_NAV_KEY && hasDedicatedRouteNavPanel && !isHomeRoute;
diff --git a/src/features/PageEditor/Header/useMenu.test.tsx b/src/features/PageEditor/Header/useMenu.test.tsx
index 305f7a1dfb7..019a4c5617c 100644
--- a/src/features/PageEditor/Header/useMenu.test.tsx
+++ b/src/features/PageEditor/Header/useMenu.test.tsx
@@ -26,6 +26,10 @@ vi.mock('@lobehub/ui', () => ({
Icon: () => null,
}));
+vi.mock('@lobehub/ui/base-ui', () => ({
+ confirmModal: vi.fn(),
+}));
+
vi.mock('antd', () => ({
App: {
useApp: () => ({
@@ -41,9 +45,12 @@ vi.mock('antd', () => ({
}));
vi.mock('antd-style', () => ({
+ createStaticStyles: () => ({}),
cssVar: {
colorTextTertiary: 'colorTextTertiary',
},
+ cx: (...args: unknown[]) => args.filter(Boolean).join(' '),
+ keyframes: () => '',
useResponsive: () => ({ lg: true }),
}));
diff --git a/src/features/PageEditor/Header/useMenu.tsx b/src/features/PageEditor/Header/useMenu.tsx
index d37e9392cf0..80e0ac213a2 100644
--- a/src/features/PageEditor/Header/useMenu.tsx
+++ b/src/features/PageEditor/Header/useMenu.tsx
@@ -1,13 +1,24 @@
import { isDesktop } from '@lobechat/const';
import { type DropdownItem } from '@lobehub/ui';
import { Icon } from '@lobehub/ui';
+import { confirmModal } from '@lobehub/ui/base-ui';
import { App } from 'antd';
import { cssVar, useResponsive } from 'antd-style';
import dayjs from 'dayjs';
-import { Clock3Icon, CopyPlus, Download, Link2, Maximize2, Trash2, UserRound } from 'lucide-react';
+import {
+ Clock3Icon,
+ CopyPlus,
+ Download,
+ Link2,
+ Maximize2,
+ Trash2,
+ UserRound,
+ UsersIcon,
+} from 'lucide-react';
import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useAuthorInfo } from '@/business/client/hooks/useAuthorInfo';
import { useDocumentTransferMenuItem } from '@/business/client/hooks/useDocumentTransferMenuItem';
import { usePermission } from '@/hooks/usePermission';
@@ -48,6 +59,14 @@ export const useMenu = (): { menuItems: any[] } => {
const setRightPanelMode = usePageEditorStore((s) => s.setRightPanelMode);
const transferMenuItems = useDocumentTransferMenuItem(documentId) as DropdownItem[] | null;
+ const publishPageToWorkspace = usePageStore((s) => s.publishPageToWorkspace);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ // Same guard as the sidebar item: workspace mode + private page + edit perm.
+ // Backend also enforces the creator + `visibility='private'` invariants.
+ const canPublish = Boolean(
+ activeWorkspaceId && pageDocument?.visibility === 'private' && canEditPage,
+ );
+
const [togglePageAgentPanel, wideScreen, toggleWideScreen] = useGlobalStore((s) => [
s.togglePageAgentPanel,
systemStatusSelectors.wideScreen(s),
@@ -69,6 +88,25 @@ export const useMenu = (): { menuItems: any[] } => {
}
};
+ const handlePublish = () => {
+ if (!canPublish || !documentId) return;
+ confirmModal({
+ cancelText: t('cancel', { ns: 'common' }),
+ content: t('pageList.publishConfirm.content'),
+ okText: t('pageList.publishConfirm.ok'),
+ onOk: async () => {
+ try {
+ await publishPageToWorkspace(documentId);
+ message.success(t('pageList.publishSuccess'));
+ } catch (error) {
+ console.error('Failed to publish page:', error);
+ message.error(t('pageList.publishError'));
+ }
+ },
+ title: t('pageList.publishConfirm.title'),
+ });
+ };
+
const handleExportMarkdown = async () => {
const state = storeApi.getState();
const { editor, title } = state;
@@ -161,6 +199,16 @@ export const useMenu = (): { menuItems: any[] } => {
type: 'divider' as const,
},
...((transferMenuItems ?? []) as DropdownItem[]),
+ ...(canPublish
+ ? [
+ {
+ icon: <Icon icon={UsersIcon} />,
+ key: 'publish-to-workspace',
+ label: t('pageList.publishToWorkspace'),
+ onClick: handlePublish,
+ } as DropdownItem,
+ ]
+ : []),
{
children: [
{
@@ -207,6 +255,7 @@ export const useMenu = (): { menuItems: any[] } => {
authorName,
canCreatePage,
canEditPage,
+ canPublish,
storeApi,
t,
message,
@@ -216,6 +265,7 @@ export const useMenu = (): { menuItems: any[] } => {
togglePageAgentPanel,
showViewModeSwitch,
handleDuplicate,
+ handlePublish,
handleExportMarkdown,
transferMenuItems,
]);
diff --git a/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.test.tsx b/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.test.tsx
index f873c9f1f16..6650af56830 100644
--- a/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.test.tsx
+++ b/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.test.tsx
@@ -11,6 +11,11 @@ const permissionMock = vi.hoisted(() => ({
edit_own_content: true,
}));
+const storeMock = vi.hoisted(() => ({
+ activeWorkspaceId: undefined as string | undefined,
+ document: undefined as { id: string; visibility?: 'private' | 'public' | null } | undefined,
+}));
+
vi.mock('react-i18next', () => ({
useTranslation: () => ({
t: (key: string) => key,
@@ -62,11 +67,37 @@ vi.mock('@/store/electron', () => ({
}));
vi.mock('@/store/page', () => ({
- usePageStore: (selector: (state: Record<string, unknown>) => unknown) =>
- selector({
- duplicatePage: vi.fn(),
- removePage: vi.fn(),
- }),
+ pageSelectors: {
+ getDocumentById: (_id: string) => (_s: unknown) => storeMock.document,
+ getFilteredDocuments: (_s: unknown) => (storeMock.document ? [storeMock.document] : []),
+ },
+ usePageStore: Object.assign(
+ (selector: (state: Record<string, unknown>) => unknown) =>
+ selector({
+ duplicatePage: vi.fn(),
+ publishPageToWorkspace: vi.fn(),
+ removePage: vi.fn(),
+ }),
+ {
+ getState: () => ({
+ duplicatePage: vi.fn(),
+ publishPageToWorkspace: vi.fn(),
+ removePage: vi.fn(),
+ }),
+ },
+ ),
+}));
+
+vi.mock('@/business/client/hooks/useActiveWorkspaceId', () => ({
+ useActiveWorkspaceId: () => storeMock.activeWorkspaceId,
+}));
+
+vi.mock('@/business/client/hooks/useActiveWorkspaceSlug', () => ({
+ useActiveWorkspaceSlug: () => undefined,
+}));
+
+vi.mock('@/business/client/hooks/useDocumentTransferMenuItem', () => ({
+ useDocumentTransferMenuItem: () => [],
}));
const getMenuItem = (
@@ -78,6 +109,8 @@ describe('Page list item dropdown menu', () => {
beforeEach(() => {
permissionMock.create_content = true;
permissionMock.edit_own_content = true;
+ storeMock.activeWorkspaceId = undefined;
+ storeMock.document = undefined;
});
it('disables page management actions for workspace viewers', () => {
@@ -93,4 +126,53 @@ describe('Page list item dropdown menu', () => {
expect(getMenuItem(items, 'duplicate')).toMatchObject({ disabled: true });
expect(getMenuItem(items, 'delete')).toMatchObject({ disabled: true });
});
+
+ it('exposes "publish to workspace" for private pages in workspace mode', () => {
+ storeMock.activeWorkspaceId = 'ws-1';
+ storeMock.document = { id: 'page-1', visibility: 'private' };
+
+ const { result } = renderHook(() =>
+ useDropdownMenu({ pageId: 'page-1', toggleEditing: vi.fn() }),
+ );
+ const items = result.current();
+
+ expect(getMenuItem(items, 'publishToWorkspace')).toBeTruthy();
+ });
+
+ it('hides "publish to workspace" for workspace-visible pages', () => {
+ storeMock.activeWorkspaceId = 'ws-1';
+ storeMock.document = { id: 'page-1', visibility: 'public' };
+
+ const { result } = renderHook(() =>
+ useDropdownMenu({ pageId: 'page-1', toggleEditing: vi.fn() }),
+ );
+ const items = result.current();
+
+ expect(getMenuItem(items, 'publishToWorkspace')).toBeUndefined();
+ });
+
+ it('hides "publish to workspace" in personal mode even for private pages', () => {
+ storeMock.activeWorkspaceId = undefined;
+ storeMock.document = { id: 'page-1', visibility: 'private' };
+
+ const { result } = renderHook(() =>
+ useDropdownMenu({ pageId: 'page-1', toggleEditing: vi.fn() }),
+ );
+ const items = result.current();
+
+ expect(getMenuItem(items, 'publishToWorkspace')).toBeUndefined();
+ });
+
+ it('hides "publish to workspace" for viewers without edit permission', () => {
+ storeMock.activeWorkspaceId = 'ws-1';
+ storeMock.document = { id: 'page-1', visibility: 'private' };
+ permissionMock.edit_own_content = false;
+
+ const { result } = renderHook(() =>
+ useDropdownMenu({ pageId: 'page-1', toggleEditing: vi.fn() }),
+ );
+ const items = result.current();
+
+ expect(getMenuItem(items, 'publishToWorkspace')).toBeUndefined();
+ });
});
diff --git a/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.tsx b/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.tsx
index ebdcac0758b..673a78e5021 100644
--- a/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.tsx
+++ b/src/features/Pages/PageLayout/Body/List/Item/useDropdownMenu.tsx
@@ -2,10 +2,11 @@ import { type MenuProps } from '@lobehub/ui';
import { Icon } from '@lobehub/ui';
import { confirmModal } from '@lobehub/ui/base-ui';
import { App } from 'antd';
-import { CopyPlus, PanelTop, Pencil, Trash2 } from 'lucide-react';
+import { CopyPlus, PanelTop, Pencil, Trash2, UsersIcon } from 'lucide-react';
import { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';
import { useDocumentTransferMenuItem } from '@/business/client/hooks/useDocumentTransferMenuItem';
import { isDesktop } from '@/const/version';
@@ -13,7 +14,7 @@ import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwar
import { buildWorkspaceAwarePath } from '@/features/Workspace/workspaceAwarePath';
import { usePermission } from '@/hooks/usePermission';
import { useElectronStore } from '@/store/electron';
-import { usePageStore } from '@/store/page';
+import { pageSelectors, usePageStore } from '@/store/page';
interface ActionProps {
pageId: string;
@@ -28,13 +29,21 @@ export const useDropdownMenu = ({
const { message } = App.useApp();
const navigate = useWorkspaceAwareNavigate();
const activeWorkspaceSlug = useActiveWorkspaceSlug();
+ const activeWorkspaceId = useActiveWorkspaceId();
const { allowed: canCreatePage } = usePermission('create_content');
const { allowed: canEditPage } = usePermission('edit_own_content');
const addTab = useElectronStore((s) => s.addTab);
const removePage = usePageStore((s) => s.removePage);
const duplicatePage = usePageStore((s) => s.duplicatePage);
+ const publishPageToWorkspace = usePageStore((s) => s.publishPageToWorkspace);
+ const document = usePageStore((s) => pageSelectors.getDocumentById(pageId)(s));
const transferMenuItems = useDocumentTransferMenuItem(pageId);
+ const isPrivate = document?.visibility === 'private';
+ // Publish is workspace-mode + owner-only (backend also enforces via SQL
+ // guard). Personal-mode has no visibility concept, so we hide the entry.
+ const canPublish = Boolean(activeWorkspaceId && isPrivate && canEditPage);
+
const handleDelete = () => {
if (!canEditPage) return;
@@ -66,6 +75,30 @@ export const useDropdownMenu = ({
}
};
+ const handlePublish = () => {
+ if (!canPublish) return;
+
+ // Copy intentionally does not mention nested pages: Pages sidebar is a
+ // flat list, so users can't see (and don't reliably know about) a
+ // subtree — surfacing a "N sub-pages" count only creates confusion. The
+ // server still cascades the whole subtree on the write path.
+ confirmModal({
+ cancelText: t('cancel'),
+ content: t('pageList.publishConfirm.content', { ns: 'file' }),
+ okText: t('pageList.publishConfirm.ok', { ns: 'file' }),
+ onOk: async () => {
+ try {
+ await publishPageToWorkspace(pageId);
+ message.success(t('pageList.publishSuccess', { ns: 'file' }));
+ } catch (error) {
+ console.error('Failed to publish page:', error);
+ message.error(t('pageList.publishError', { ns: 'file' }));
+ }
+ },
+ title: t('pageList.publishConfirm.title', { ns: 'file' }),
+ });
+ };
+
return useCallback(
() =>
[
@@ -101,7 +134,20 @@ export const useDropdownMenu = ({
label: t('pageList.duplicate', { ns: 'file' }),
onClick: handleDuplicate,
},
- ...(transferMenuItems ?? []),
+ ...(transferMenuItems && transferMenuItems.length > 0
+ ? [{ type: 'divider' as const }, ...transferMenuItems]
+ : []),
+ ...(canPublish
+ ? [
+ { type: 'divider' as const },
+ {
+ icon: <Icon icon={UsersIcon} />,
+ key: 'publishToWorkspace',
+ label: t('pageList.publishToWorkspace', { ns: 'file' }),
+ onClick: handlePublish,
+ },
+ ]
+ : []),
{ type: 'divider' },
{
danger: true,
@@ -117,8 +163,10 @@ export const useDropdownMenu = ({
toggleEditing,
handleDuplicate,
handleDelete,
+ handlePublish,
canCreatePage,
canEditPage,
+ canPublish,
activeWorkspaceSlug,
pageId,
addTab,
diff --git a/src/features/Pages/PageLayout/Body/List/index.tsx b/src/features/Pages/PageLayout/Body/List/index.tsx
index e0f4485924d..9b134fb7063 100644
--- a/src/features/Pages/PageLayout/Body/List/index.tsx
+++ b/src/features/Pages/PageLayout/Body/List/index.tsx
@@ -2,6 +2,7 @@
import { Flexbox } from '@lobehub/ui';
import { MoreHorizontal } from 'lucide-react';
+import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import NavItem from '@/features/NavPanel/components/NavItem';
@@ -10,18 +11,37 @@ import { pageSelectors, usePageStore } from '@/store/page';
import Item from './Item';
+interface PageListProps {
+ /**
+ * Bucket to render when the sidebar is in workspace mode. Omitting the prop
+ * renders the historical unified "All pages" list (personal mode).
+ */
+ visibility?: 'private' | 'workspace';
+}
+
/**
- * Show pages filtered by library
+ * Sidebar page list. In workspace mode the same component drives each of the
+ * "Private" / "Workspace" accordions; personal mode collapses to a single
+ * unified list.
*/
-const PageList = () => {
+const PageList = memo<PageListProps>(({ visibility }) => {
const { t } = useTranslation(['file', 'common']);
- const [filteredDocuments, hasMore, isLoadingMore, openAllPagesDrawer] = usePageStore((s) => [
- pageSelectors.getFilteredDocumentsLimited(s),
- pageSelectors.hasMoreFilteredDocuments(s),
- pageSelectors.isLoadingMoreDocuments(s),
- s.openAllPagesDrawer,
- ]);
+ const [filteredDocuments, hasMore, isLoadingMore, openAllPagesDrawer] = usePageStore((s) => {
+ let docs;
+ let more;
+ if (visibility === 'private') {
+ docs = pageSelectors.getPrivateFilteredDocumentsLimited(s);
+ more = pageSelectors.hasMorePrivateFilteredDocuments(s);
+ } else if (visibility === 'workspace') {
+ docs = pageSelectors.getWorkspaceFilteredDocumentsLimited(s);
+ more = pageSelectors.hasMoreWorkspaceFilteredDocuments(s);
+ } else {
+ docs = pageSelectors.getFilteredDocumentsLimited(s);
+ more = pageSelectors.hasMoreFilteredDocuments(s);
+ }
+ return [docs, more, pageSelectors.isLoadingMoreDocuments(s), s.openAllPagesDrawer] as const;
+ });
return (
<Flexbox gap={1}>
@@ -38,6 +58,6 @@ const PageList = () => {
)}
</Flexbox>
);
-};
+});
export default PageList;
diff --git a/src/features/Pages/PageLayout/Body/index.tsx b/src/features/Pages/PageLayout/Body/index.tsx
index 6683870c3d3..31006536a79 100644
--- a/src/features/Pages/PageLayout/Body/index.tsx
+++ b/src/features/Pages/PageLayout/Body/index.tsx
@@ -1,13 +1,27 @@
'use client';
-import { Accordion, AccordionItem, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';
+import {
+ Accordion,
+ AccordionItem,
+ Block,
+ Center,
+ ContextMenuTrigger,
+ Flexbox,
+ Icon,
+ Text,
+} from '@lobehub/ui';
+import { PlusIcon } from 'lucide-react';
import React, { memo, Suspense } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import NeuralNetworkLoading from '@/components/NeuralNetworkLoading';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import PageEmpty from '@/features/PageEmpty';
+import { usePermission } from '@/hooks/usePermission';
import { pageSelectors, usePageStore } from '@/store/page';
+import AddButton from '../Header/AddButton';
import Actions from './Actions';
import AllPagesDrawer from './AllPagesDrawer';
import List from './List';
@@ -15,22 +29,32 @@ import { useDropdownMenu } from './useDropdownMenu';
export enum GroupKey {
AllPages = 'all-pages',
+ PrivatePages = 'private-pages',
+ WorkspacePages = 'workspace-pages',
}
/**
- * Page list sidebar
+ * Page list sidebar.
+ *
+ * Workspace mode splits documents into two virtual roots — "Private" (only the
+ * creator sees them) and "Workspace" (shared with every member) — mirroring
+ * the Home sidebar's Private / Agent accordions. Personal mode collapses to
+ * the historical single accordion since `visibility` is meaningless there.
*/
const Body = memo(() => {
const { t } = useTranslation('file');
- // Initialize documents list via SWR
+ // Initialize documents list via SWR; keep `isValidating` so the accordion
+ // header can show a subtle in-flight indicator (mirrors the Private Agent
+ // pattern in `home/_layout/Body/Private`).
const useFetchDocuments = usePageStore((s) => s.useFetchDocuments);
- useFetchDocuments();
+ const { isValidating } = useFetchDocuments();
const isLoading = usePageStore(pageSelectors.isDocumentsLoading);
const filteredDocumentsCount = usePageStore(pageSelectors.filteredDocumentsCount);
- const filteredDocuments = usePageStore(pageSelectors.getFilteredDocumentsLimited);
+ const privateCount = usePageStore(pageSelectors.privateFilteredDocumentsCount);
+ const workspaceCount = usePageStore(pageSelectors.workspaceFilteredDocumentsCount);
const searchKeywords = usePageStore((s) => s.searchKeywords);
const dropdownMenu = useDropdownMenu();
const [allPagesDrawerOpen, closeAllPagesDrawer] = usePageStore((s) => [
@@ -38,39 +62,166 @@ const Body = memo(() => {
s.closeAllPagesDrawer,
]);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const searchActive = Boolean(searchKeywords.trim());
+
+ // Empty-bucket call-to-action: a single "New Page" row that creates directly
+ // into the right visibility. Mirrors the Home sidebar's "创建助理" affordance
+ // — the bucket is empty but still actionable.
+ const createNewPage = usePageStore((s) => s.createNewPage);
+ const { allowed: canCreate } = usePermission('create_content');
+ const untitledLabel = t('pageList.untitled');
+ const newPageLabel = t('addPage');
+
+ const renderEmptyCreate = (visibility: 'private' | 'public') => (
+ <Block
+ horizontal
+ align={'center'}
+ clickable={canCreate}
+ gap={8}
+ height={36}
+ paddingInline={4}
+ style={canCreate ? { height: 36 } : { cursor: 'not-allowed', height: 36, opacity: 0.5 }}
+ variant={'borderless'}
+ onClick={() => canCreate && createNewPage(untitledLabel, visibility)}
+ >
+ <Center flex={'none'} height={28} width={28}>
+ <Icon icon={PlusIcon} size={'small'} />
+ </Center>
+ <Text style={{ flex: 1 }} type={'secondary'}>
+ {newPageLabel}
+ </Text>
+ </Block>
+ );
+
return (
<Flexbox gap={1} paddingInline={4}>
- <Accordion defaultExpandedKeys={[GroupKey.AllPages]} gap={2}>
- <AccordionItem
- action={<Actions />}
- itemKey={GroupKey.AllPages}
- paddingBlock={4}
- paddingInline={'8px 4px'}
- headerWrapper={(header) => (
- <ContextMenuTrigger items={dropdownMenu}>{header}</ContextMenuTrigger>
- )}
- title={
- <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
- {t('pageList.title')}
- {filteredDocumentsCount > 0 && ` ${filteredDocumentsCount}`}
- </Text>
- }
- >
- <Suspense fallback={<SkeletonList />}>
- {isLoading ? (
- <SkeletonList />
- ) : (
- <Flexbox gap={1} paddingBlock={1}>
- {filteredDocuments.length === 0 ? (
- <PageEmpty search={Boolean(searchKeywords.trim())} />
- ) : (
- <List />
- )}
+ {activeWorkspaceId ? (
+ <Accordion defaultExpandedKeys={[GroupKey.PrivatePages, GroupKey.WorkspacePages]} gap={2}>
+ <AccordionItem
+ itemKey={GroupKey.PrivatePages}
+ paddingBlock={4}
+ paddingInline={'8px 4px'}
+ action={
+ <Flexbox horizontal align="center" gap={2}>
+ <Actions />
+ <AddButton compact visibility="private" />
</Flexbox>
+ }
+ headerWrapper={(header) => (
+ <ContextMenuTrigger items={dropdownMenu}>{header}</ContextMenuTrigger>
)}
- </Suspense>
- </AccordionItem>
- </Accordion>
+ title={
+ <Flexbox horizontal align="center" gap={4}>
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {t('pageList.privateTitle')}
+ {privateCount > 0 && ` ${privateCount}`}
+ </Text>
+ {isValidating && <NeuralNetworkLoading size={14} />}
+ </Flexbox>
+ }
+ >
+ <Suspense fallback={<SkeletonList />}>
+ {isLoading ? (
+ <SkeletonList />
+ ) : (
+ <Flexbox gap={1} paddingBlock={1}>
+ {privateCount === 0 ? (
+ searchActive ? (
+ <Text
+ align="center"
+ fontSize={12}
+ style={{ paddingBlock: 12, paddingInline: 8 }}
+ type={'secondary'}
+ >
+ {t('pageList.noResults')}
+ </Text>
+ ) : (
+ renderEmptyCreate('private')
+ )
+ ) : (
+ <List visibility="private" />
+ )}
+ </Flexbox>
+ )}
+ </Suspense>
+ </AccordionItem>
+ <AccordionItem
+ action={<AddButton compact visibility="public" />}
+ itemKey={GroupKey.WorkspacePages}
+ paddingBlock={4}
+ paddingInline={'8px 4px'}
+ headerWrapper={(header) => (
+ <ContextMenuTrigger items={dropdownMenu}>{header}</ContextMenuTrigger>
+ )}
+ title={
+ <Flexbox horizontal align="center" gap={4}>
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {t('pageList.workspaceTitle')}
+ {workspaceCount > 0 && ` ${workspaceCount}`}
+ </Text>
+ {isValidating && <NeuralNetworkLoading size={14} />}
+ </Flexbox>
+ }
+ >
+ <Suspense fallback={<SkeletonList />}>
+ {isLoading ? (
+ <SkeletonList />
+ ) : (
+ <Flexbox gap={1} paddingBlock={1}>
+ {workspaceCount === 0 ? (
+ searchActive ? (
+ <Text
+ align="center"
+ fontSize={12}
+ style={{ paddingBlock: 12, paddingInline: 8 }}
+ type={'secondary'}
+ >
+ {t('pageList.noResults')}
+ </Text>
+ ) : (
+ renderEmptyCreate('public')
+ )
+ ) : (
+ <List visibility="workspace" />
+ )}
+ </Flexbox>
+ )}
+ </Suspense>
+ </AccordionItem>
+ </Accordion>
+ ) : (
+ <Accordion defaultExpandedKeys={[GroupKey.AllPages]} gap={2}>
+ <AccordionItem
+ action={<Actions />}
+ itemKey={GroupKey.AllPages}
+ paddingBlock={4}
+ paddingInline={'8px 4px'}
+ headerWrapper={(header) => (
+ <ContextMenuTrigger items={dropdownMenu}>{header}</ContextMenuTrigger>
+ )}
+ title={
+ <Flexbox horizontal align="center" gap={4}>
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {t('pageList.title')}
+ {filteredDocumentsCount > 0 && ` ${filteredDocumentsCount}`}
+ </Text>
+ {isValidating && <NeuralNetworkLoading size={14} />}
+ </Flexbox>
+ }
+ >
+ <Suspense fallback={<SkeletonList />}>
+ {isLoading ? (
+ <SkeletonList />
+ ) : (
+ <Flexbox gap={1} paddingBlock={1}>
+ {filteredDocumentsCount === 0 ? <PageEmpty search={searchActive} /> : <List />}
+ </Flexbox>
+ )}
+ </Suspense>
+ </AccordionItem>
+ </Accordion>
+ )}
<AllPagesDrawer open={allPagesDrawerOpen} onClose={closeAllPagesDrawer} />
</Flexbox>
);
diff --git a/src/features/Pages/PageLayout/Header/AddButton.tsx b/src/features/Pages/PageLayout/Header/AddButton.tsx
index bb715ce978e..59074fe6e20 100644
--- a/src/features/Pages/PageLayout/Header/AddButton.tsx
+++ b/src/features/Pages/PageLayout/Header/AddButton.tsx
@@ -1,14 +1,31 @@
'use client';
import { ActionIcon } from '@lobehub/ui';
-import { SquarePenIcon } from 'lucide-react';
+import { PlusIcon, SquarePenIcon } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import { usePermission } from '@/hooks/usePermission';
import { usePageStore } from '@/store/page';
-const AddButton = memo(() => {
+interface AddButtonProps {
+ /**
+ * Compact accordion-header variant: uses `+` icon at the `small` size so it
+ * sits comfortably next to `Actions` in the sidebar. The header-level entry
+ * (personal mode) omits this prop and gets the larger create-page icon.
+ */
+ compact?: boolean;
+ /**
+ * Force the new page's visibility. Used by the workspace-mode sidebar so
+ * each accordion header creates directly into its own bucket.
+ *
+ * Omit for the personal-mode / header-level entry — the server picks the
+ * default (`private` for top-level `api` docs).
+ */
+ visibility?: 'private' | 'public';
+}
+
+const AddButton = memo<AddButtonProps>(({ compact, visibility }) => {
const { t } = useTranslation('file');
const { allowed: canCreate } = usePermission('create_content');
@@ -18,18 +35,22 @@ const AddButton = memo(() => {
if (!canCreate) return;
const untitledTitle = t('pageList.untitled');
- createNewPage(untitledTitle);
+ createNewPage(untitledTitle, visibility);
};
return (
<ActionIcon
disabled={!canCreate}
- icon={SquarePenIcon}
+ icon={compact ? PlusIcon : SquarePenIcon}
title={t('header.newPageButton')}
- size={{
- blockSize: 32,
- size: 18,
- }}
+ size={
+ compact
+ ? 'small'
+ : {
+ blockSize: 32,
+ size: 18,
+ }
+ }
onClick={handleNewDocument}
/>
);
diff --git a/src/features/Pages/PageLayout/Header/index.tsx b/src/features/Pages/PageLayout/Header/index.tsx
index 27bef59c722..089c8cef041 100644
--- a/src/features/Pages/PageLayout/Header/index.tsx
+++ b/src/features/Pages/PageLayout/Header/index.tsx
@@ -5,6 +5,7 @@ import { SearchIcon } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import NavItem from '@/features/NavPanel/components/NavItem';
import SideBarHeaderLayout from '@/features/NavPanel/SideBarHeaderLayout';
import { useGlobalStore } from '@/store/global';
@@ -14,10 +15,15 @@ import AddButton from './AddButton';
const Header = memo(() => {
const { t } = useTranslation('common');
const toggleCommandMenu = useGlobalStore((s) => s.toggleCommandMenu);
+ // In workspace mode the create button lives inside each accordion header
+ // (Private / Workspace) so the visibility bucket is picked at the source.
+ // Personal mode still has a single unified list, so keep the header entry.
+ const activeWorkspaceId = useActiveWorkspaceId();
+
return (
<>
<SideBarHeaderLayout
- right={<AddButton />}
+ right={activeWorkspaceId ? undefined : <AddButton />}
breadcrumb={[
{
href: '/page',
diff --git a/src/features/Pages/PageLayout/Sidebar.tsx b/src/features/Pages/PageLayout/Sidebar.tsx
index 0a62161c2f0..dfaee9886eb 100644
--- a/src/features/Pages/PageLayout/Sidebar.tsx
+++ b/src/features/Pages/PageLayout/Sidebar.tsx
@@ -3,18 +3,14 @@
import { memo } from 'react';
import { NavPanelPortal } from '@/features/NavPanel';
-import SideBarLayout from '@/features/NavPanel/SideBarLayout';
-import Body from './Body';
-import Header from './Header';
+import SidebarContent from './SidebarContent';
-const Sidebar = memo(() => {
- return (
- <NavPanelPortal navKey="page">
- <SideBarLayout body={<Body />} header={<Header />} />
- </NavPanelPortal>
- );
-});
+const Sidebar = memo(() => (
+ <NavPanelPortal navKey="page">
+ <SidebarContent />
+ </NavPanelPortal>
+));
Sidebar.displayName = 'PageSidebar';
diff --git a/src/features/Pages/PageLayout/SidebarContent.tsx b/src/features/Pages/PageLayout/SidebarContent.tsx
new file mode 100644
index 00000000000..c46d834156e
--- /dev/null
+++ b/src/features/Pages/PageLayout/SidebarContent.tsx
@@ -0,0 +1,14 @@
+'use client';
+
+import { memo } from 'react';
+
+import SideBarLayout from '@/features/NavPanel/SideBarLayout';
+
+import Body from './Body';
+import Header from './Header';
+
+const PageSidebarContent = memo(() => <SideBarLayout body={<Body />} header={<Header />} />);
+
+PageSidebarContent.displayName = 'PageSidebarContent';
+
+export default PageSidebarContent;
diff --git a/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx b/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx
index dbfda9f43c3..6f342309b2d 100644
--- a/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx
+++ b/src/features/ResourceManager/components/Explorer/EmptyPlaceholder.tsx
@@ -5,6 +5,7 @@ import { ArrowUpIcon, PlusIcon } from 'lucide-react';
import { useTranslation } from 'react-i18next';
import { useCreateNewModal } from '@/features/LibraryModal';
+import { useTopLevelFileUpload } from '@/features/ResourceManager/hooks/useTopLevelFileUpload';
import { usePermission } from '@/hooks/usePermission';
import { useCurrentFolderId } from '@/routes/(main)/resource/features/hooks/useCurrentFolderId';
import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
@@ -66,6 +67,7 @@ const EmptyPlaceholder = () => {
const { t } = useTranslation('components');
const pushDockFileList = useFileStore((s) => s.pushDockFileList);
+ const uploadTopLevel = useTopLevelFileUpload();
const libraryId = useResourceManagerStore((s) => s.libraryId);
const currentFolderId = useCurrentFolderId();
@@ -113,8 +115,7 @@ const EmptyPlaceholder = () => {
multiple={true}
showUploadList={false}
beforeUpload={async (file) => {
- await pushDockFileList([file], libraryId, currentFolderId ?? undefined);
-
+ await uploadTopLevel([file]);
return false;
}}
>
@@ -134,6 +135,9 @@ const EmptyPlaceholder = () => {
multiple={true}
showUploadList={false}
beforeUpload={async (file) => {
+ // Directory upload keeps its own path — the whole tree inherits
+ // its root's visibility, so we skip the mode-driven default and
+ // let the server infer from the parent chain.
await pushDockFileList([file], libraryId, currentFolderId ?? undefined);
return false;
diff --git a/src/features/ResourceManager/components/Explorer/ItemDropdown/useFileItemDropdown.tsx b/src/features/ResourceManager/components/Explorer/ItemDropdown/useFileItemDropdown.tsx
index b7d0c9c0dee..b4704040f97 100644
--- a/src/features/ResourceManager/components/Explorer/ItemDropdown/useFileItemDropdown.tsx
+++ b/src/features/ResourceManager/components/Explorer/ItemDropdown/useFileItemDropdown.tsx
@@ -8,6 +8,7 @@ import {
BookPlusIcon,
DownloadIcon,
FolderInputIcon,
+ GlobeIcon,
LinkIcon,
PencilIcon,
Trash,
@@ -25,6 +26,8 @@ import { documentService } from '@/services/document';
import { useFileStore } from '@/store/file';
import { useKnowledgeBaseStore } from '@/store/library';
import { useTreeStore } from '@/store/tree';
+import { useUserStore } from '@/store/user';
+import { userProfileSelectors } from '@/store/user/selectors';
import { downloadFile } from '@/utils/client/downloadFile';
import MoveToFolderModal from '../MoveToFolderModal';
@@ -38,6 +41,8 @@ interface UseFileItemDropdownParams {
onRenameStart?: () => void;
sourceType?: string;
url: string;
+ userId?: string | null;
+ visibility?: 'private' | 'public' | null;
}
interface UseFileItemDropdownReturn {
@@ -55,16 +60,20 @@ export const useFileItemDropdown = ({
fileType,
sourceType,
onRenameStart,
+ userId,
+ visibility,
}: UseFileItemDropdownParams): UseFileItemDropdownReturn => {
- const { t } = useTranslation(['components', 'common', 'knowledgeBase']);
+ const { t } = useTranslation(['components', 'common', 'knowledgeBase', 'chat']);
const { message } = App.useApp();
const appOrigin = useAppOrigin();
const { allowed: canEditResources } = usePermission('edit_own_content');
+ const currentUserId = useUserStore(userProfileSelectors.userId);
- const { deleteResource, moveResource, refreshFileList } = useFileStore(
+ const { deleteResource, moveResource, refreshFileList, publishFileToWorkspace } = useFileStore(
(s) => ({
deleteResource: s.deleteResource,
moveResource: s.moveResource,
+ publishFileToWorkspace: s.publishFileToWorkspace,
refreshFileList: s.refreshFileList,
}),
shallow,
@@ -207,8 +216,43 @@ export const useFileItemDropdown = ({
const hasKnowledgeBaseActions = libraryRelatedActions.some(Boolean);
+ // Only the creator of a still-private file (not a folder, since folders
+ // live in the `documents` table and have their own publish flow) sees the
+ // "Publish to workspace" entry. Mirrors the agent / task one-way publish.
+ const isOwnPrivateFile =
+ sourceType !== DERIVED_DOCUMENT_SOURCE_TYPE &&
+ !isFolder &&
+ visibility === 'private' &&
+ !!currentUserId &&
+ userId === currentUserId;
+
return (
[
+ canEditResources &&
+ isOwnPrivateFile && {
+ icon: <Icon icon={GlobeIcon} />,
+ key: 'publishToWorkspace',
+ label: t('resources.publishToWorkspace.menu', { ns: 'chat' }),
+ onClick: async ({ domEvent }) => {
+ domEvent.stopPropagation();
+ confirmModal({
+ cancelText: t('cancel', { ns: 'common' }),
+ content: t('resources.publishToWorkspace.confirm', { ns: 'chat' }),
+ okText: t('resources.publishToWorkspace.menu', { ns: 'chat' }),
+ title: t('resources.publishToWorkspace.menu', { ns: 'chat' }),
+ onOk: async () => {
+ try {
+ await publishFileToWorkspace(id);
+ message.success(t('resources.publishToWorkspace.success', { ns: 'chat' }));
+ } catch (error) {
+ console.error(error);
+ message.error(t('resources.publishToWorkspace.error', { ns: 'chat' }));
+ }
+ },
+ });
+ },
+ },
+ canEditResources && isOwnPrivateFile && { type: 'divider' },
...libraryRelatedActions,
hasKnowledgeBaseActions && {
type: 'divider',
@@ -341,6 +385,7 @@ export const useFileItemDropdown = ({
addFilesToKnowledgeBase,
appOrigin,
canEditResources,
+ currentUserId,
deleteResource,
filename,
id,
@@ -352,10 +397,14 @@ export const useFileItemDropdown = ({
message,
moveResource,
onRenameStart,
+ publishFileToWorkspace,
refreshFileList,
removeFilesFromKnowledgeBase,
+ sourceType,
t,
url,
+ userId,
+ visibility,
]);
return { menuItems };
diff --git a/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx b/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx
index 50a2bbf93e0..ff615974a77 100644
--- a/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx
+++ b/src/features/ResourceManager/components/Explorer/ListView/ListItem/index.tsx
@@ -139,6 +139,8 @@ const FileListItem = ({
slug,
sourceType,
url,
+ userId,
+ visibility,
}: FileListItemProps) => {
const { t } = useTranslation(['components', 'file']);
const chunkTargetId = getChunkTargetId({ fileId, id });
@@ -223,6 +225,8 @@ const FileListItem = ({
onRenameStart: isFolder ? handleRenameStart : undefined,
sourceType,
url,
+ userId,
+ visibility,
});
const handleCheckboxClick = useCallback(
diff --git a/src/features/ResourceManager/components/Explorer/ListView/useExplorerListData.ts b/src/features/ResourceManager/components/Explorer/ListView/useExplorerListData.ts
index 35ab52b9c6e..81740df2266 100644
--- a/src/features/ResourceManager/components/Explorer/ListView/useExplorerListData.ts
+++ b/src/features/ResourceManager/components/Explorer/ListView/useExplorerListData.ts
@@ -35,10 +35,14 @@ export const useExplorerListData = ({
const isNavigating = useMemo(() => {
if (!currentQueryParams) return false;
+ // `visibility` is part of navigation identity too: switching the Sidebar
+ // mode toggle is a "space switch" and needs the same skeleton treatment
+ // as changing folder / category / library so the list flip is legible.
return (
currentQueryParams.libraryId !== queryParams.libraryId ||
currentQueryParams.parentId !== queryParams.parentId ||
- currentQueryParams.category !== queryParams.category
+ currentQueryParams.category !== queryParams.category ||
+ currentQueryParams.visibility !== queryParams.visibility
);
}, [currentQueryParams, queryParams]);
diff --git a/src/features/ResourceManager/components/Explorer/MasonryView/MasonryItem/index.tsx b/src/features/ResourceManager/components/Explorer/MasonryView/MasonryItem/index.tsx
index 7a3d3975f45..324f2e6489e 100644
--- a/src/features/ResourceManager/components/Explorer/MasonryView/MasonryItem/index.tsx
+++ b/src/features/ResourceManager/components/Explorer/MasonryView/MasonryItem/index.tsx
@@ -206,6 +206,8 @@ const MasonryFileItem = memo<MasonryFileItemProps>(
metadata,
sourceType,
slug,
+ userId,
+ visibility,
}) => {
const chunkTargetId = getChunkTargetId({ fileId, id });
const [markdownContent, setMarkdownContent] = useState<string>('');
@@ -378,6 +380,8 @@ const MasonryFileItem = memo<MasonryFileItemProps>(
libraryId: knowledgeBaseId,
sourceType,
url,
+ userId,
+ visibility,
});
return (
diff --git a/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx b/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx
index 7fdf98ec844..fe588a9a664 100644
--- a/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx
+++ b/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx
@@ -82,10 +82,13 @@ const MasonryView = memo(function MasonryView({
const isNavigating = useMemo(() => {
if (!currentQueryParams || !queryParams) return false;
+ // Sidebar mode toggle is a "space switch" — treat visibility change as
+ // navigation so the skeleton shows while the new fetch is in flight.
return (
currentQueryParams.libraryId !== queryParams.libraryId ||
currentQueryParams.parentId !== queryParams.parentId ||
- currentQueryParams.category !== queryParams.category
+ currentQueryParams.category !== queryParams.category ||
+ currentQueryParams.visibility !== queryParams.visibility
);
}, [currentQueryParams, queryParams]);
@@ -94,18 +97,16 @@ const MasonryView = memo(function MasonryView({
// chunk actions need `fileId` to resolve `docs_*` ids to `file_*` ids (#16267).
const rawData = useMemo(
() =>
- resourceList?.map(
- (item): FileListItem => ({
- ...item,
- chunkCount: item.chunkCount ?? null,
- chunkingError: item.chunkingError ?? null,
- chunkingStatus: (item.chunkingStatus as any) ?? null,
- embeddingError: item.embeddingError ?? null,
- embeddingStatus: (item.embeddingStatus as any) ?? null,
- finishEmbedding: item.finishEmbedding ?? false,
- url: item.url ?? '',
- }),
- ) ?? [],
+ resourceList?.map((item): FileListItem => ({
+ ...item,
+ chunkCount: item.chunkCount ?? null,
+ chunkingError: item.chunkingError ?? null,
+ chunkingStatus: (item.chunkingStatus as any) ?? null,
+ embeddingError: item.embeddingError ?? null,
+ embeddingStatus: (item.embeddingStatus as any) ?? null,
+ finishEmbedding: item.finishEmbedding ?? false,
+ url: item.url ?? '',
+ })) ?? [],
[resourceList],
);
diff --git a/src/features/ResourceManager/components/Explorer/index.tsx b/src/features/ResourceManager/components/Explorer/index.tsx
index 87ef9b6a830..00477b1144b 100644
--- a/src/features/ResourceManager/components/Explorer/index.tsx
+++ b/src/features/ResourceManager/components/Explorer/index.tsx
@@ -31,9 +31,16 @@ const ResourceExplorer = memo(() => {
useResourceManagerUrlSync();
// Get state from Resource Manager store
- const [libraryId, category, viewMode, searchQuery, sorter, sortType] = useResourceManagerStore(
- (s) => [s.libraryId, s.category, s.viewMode, s.searchQuery, s.sorter, s.sortType],
- );
+ const [libraryId, category, viewMode, searchQuery, sorter, sortType, listVisibility] =
+ useResourceManagerStore((s) => [
+ s.libraryId,
+ s.category,
+ s.viewMode,
+ s.searchQuery,
+ s.sorter,
+ s.sortType,
+ s.listVisibility,
+ ]);
// Get folder path for empty state check
const { currentFolderSlug } = useFolderPath();
@@ -49,8 +56,12 @@ const ResourceExplorer = memo(() => {
showFilesInKnowledgeBase: false,
sortType,
sorter,
+ // Two-mode narrowing: `'private'` shows own private rows, `'workspace'`
+ // shows public rows. Personal mode ignores the value server-side so
+ // sending it there is a harmless no-op.
+ visibility: listVisibility === 'private' ? ('private' as const) : ('public' as const),
}),
- [category, libraryId, currentFolderSlug, sortType, sorter],
+ [category, libraryId, currentFolderSlug, sortType, sorter, listVisibility],
);
// Use SWR for data fetching with automatic caching and revalidation
diff --git a/src/features/ResourceManager/components/Header/AddButton.tsx b/src/features/ResourceManager/components/Header/AddButton.tsx
index f370da85782..444901f3b08 100644
--- a/src/features/ResourceManager/components/Header/AddButton.tsx
+++ b/src/features/ResourceManager/components/Header/AddButton.tsx
@@ -15,6 +15,7 @@ import { useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { message } from '@/components/AntdStaticMethods';
+import { useTopLevelFileUpload } from '@/features/ResourceManager/hooks/useTopLevelFileUpload';
import { usePermission } from '@/hooks/usePermission';
import { useCurrentFolderId } from '@/routes/(main)/resource/features/hooks/useCurrentFolderId';
import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
@@ -46,12 +47,12 @@ const getAcceptedFileTypes = (category: FilesTabs): string | undefined => {
const AddButton = () => {
const { t } = useTranslation('file');
- const pushDockFileList = useFileStore((s) => s.pushDockFileList);
const uploadFolderWithStructure = useFileStore((s) => s.uploadFolderWithStructure);
const createResourceAndSync = useFileStore((s) => s.createResourceAndSync);
const [menuOpen, setMenuOpen] = useState(false);
const currentFolderId = useCurrentFolderId();
const { allowed: canCreate, reason } = usePermission('create_content');
+ const uploadTopLevel = useTopLevelFileUpload();
// TODO: Migrate Notion import to use createResource
// Keep old functions temporarily for components not yet migrated
@@ -207,8 +208,7 @@ const AddButton = () => {
showUploadList={false}
beforeUpload={async (file) => {
setMenuOpen(false);
- await pushDockFileList([file], libraryId, currentFolderId ?? undefined);
-
+ await uploadTopLevel([file]);
return false;
}}
>
@@ -242,12 +242,11 @@ const AddButton = () => {
],
[
category,
- currentFolderId,
handleCreateFolder,
handleOpenPageEditor,
handleOpenNotionGuide,
libraryId,
- pushDockFileList,
+ uploadTopLevel,
t,
],
);
diff --git a/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx b/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx
index f641b236e0f..08b46237679 100644
--- a/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx
+++ b/src/features/ResourceManager/components/LibraryHierarchy/HierarchyNode.tsx
@@ -115,6 +115,8 @@ export const HierarchyNode = memo<HierarchyNodeProps>(
onRenameStart: item.isFolder ? handleRenameStart : undefined,
sourceType: item.sourceType,
url: item.url,
+ userId: item.userId,
+ visibility: item.visibility,
});
const isDragActive = useDragActive();
diff --git a/src/features/ResourceManager/components/LibraryHierarchy/types.ts b/src/features/ResourceManager/components/LibraryHierarchy/types.ts
index 2cfae129a84..e4e51d660ab 100644
--- a/src/features/ResourceManager/components/LibraryHierarchy/types.ts
+++ b/src/features/ResourceManager/components/LibraryHierarchy/types.ts
@@ -8,4 +8,6 @@ export interface TreeItem {
slug?: string | null;
sourceType?: string;
url: string;
+ userId?: string | null;
+ visibility?: 'private' | 'public' | null;
}
diff --git a/src/features/ResourceManager/components/ResourceModeToggle/index.tsx b/src/features/ResourceManager/components/ResourceModeToggle/index.tsx
new file mode 100644
index 00000000000..a07cb1251a6
--- /dev/null
+++ b/src/features/ResourceManager/components/ResourceModeToggle/index.tsx
@@ -0,0 +1,138 @@
+'use client';
+
+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';
+import { createStaticStyles, cx } from 'antd-style';
+import { LockIcon, UsersIcon } from 'lucide-react';
+import { memo, useEffect } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
+import type { ResourceListVisibilityFilter } from '@/routes/(main)/resource/features/store/initialState';
+
+const styles = createStaticStyles(({ css, cssVar }) => {
+ return {
+ button: css`
+ cursor: pointer;
+
+ display: inline-flex;
+ flex: 1;
+ gap: 6px;
+ align-items: center;
+ justify-content: center;
+
+ padding-block: 6px;
+ padding-inline: 8px;
+ border: none;
+ border-radius: ${cssVar.borderRadius};
+
+ font-size: 13px;
+ font-weight: 500;
+ color: ${cssVar.colorTextSecondary};
+
+ background: transparent;
+
+ transition: background 0.15s;
+
+ &:hover {
+ background: ${cssVar.colorFillTertiary};
+ }
+ `,
+ buttonActive: css`
+ color: ${cssVar.colorText};
+ background: ${cssVar.colorBgElevated};
+ box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
+ `,
+ group: css`
+ display: inline-flex;
+
+ width: 100%;
+ padding: 3px;
+ border-radius: ${cssVar.borderRadiusLG};
+
+ background: ${cssVar.colorFillQuaternary};
+ `,
+ };
+});
+
+const OPTIONS: Array<{
+ icon: typeof LockIcon;
+ key: ResourceListVisibilityFilter;
+ labelKey: string;
+ tooltipKey: string;
+}> = [
+ {
+ icon: LockIcon,
+ key: 'private',
+ labelKey: 'resources.visibility.private',
+ tooltipKey: 'resources.mode.privateHint',
+ },
+ {
+ icon: UsersIcon,
+ key: 'workspace',
+ labelKey: 'resources.visibility.workspace',
+ tooltipKey: 'resources.mode.workspaceHint',
+ },
+];
+
+/**
+ * Sidebar-top dual toggle: `[🔒 Private] [👥 Workspace]`.
+ *
+ * Rendered only in team-workspace mode — personal mode has no notion of
+ * visibility, so the toggle is meaningless there and is deliberately hidden.
+ * Selecting a mode drives both the list filter (via `listVisibility`) and the
+ * upload default (via `useTopLevelFileUpload`), so a single click switches
+ * both what the user sees and where the next upload lands.
+ */
+const ResourceModeToggle = memo(() => {
+ const { t } = useTranslation('chat');
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const [listVisibility, setListVisibility, hydrateListVisibility] = useResourceManagerStore(
+ (s) => [s.listVisibility, s.setListVisibility, s.hydrateListVisibility],
+ );
+
+ const workspaceId = activeWorkspaceId ?? undefined;
+
+ // Rehydrate from localStorage whenever the active workspace changes, so
+ // switching workspaces (or coming back after a reload) restores the mode
+ // this user last used in *this* workspace. Personal mode falls through to
+ // the initialState default.
+ useEffect(() => {
+ hydrateListVisibility(workspaceId);
+ }, [workspaceId, hydrateListVisibility]);
+
+ if (!workspaceId) return null;
+
+ return (
+ <Flexbox paddingBlock={6} paddingInline={4}>
+ <div className={styles.group} role={'tablist'}>
+ {OPTIONS.map((option) => {
+ const isActive = listVisibility === option.key;
+ const OptionIcon = option.icon;
+ const label = t(option.labelKey as never);
+ return (
+ <Tooltip key={option.key} title={t(option.tooltipKey as never)}>
+ <button
+ aria-selected={isActive}
+ className={cx(styles.button, isActive && styles.buttonActive)}
+ role={'tab'}
+ type={'button'}
+ onClick={() => {
+ if (isActive) return;
+ setListVisibility(option.key, workspaceId);
+ }}
+ >
+ <Icon icon={OptionIcon} size={14} />
+ <span>{label}</span>
+ </button>
+ </Tooltip>
+ );
+ })}
+ </div>
+ </Flexbox>
+ );
+});
+
+ResourceModeToggle.displayName = 'ResourceModeToggle';
+
+export default ResourceModeToggle;
diff --git a/src/features/ResourceManager/hooks/useTopLevelFileUpload.ts b/src/features/ResourceManager/hooks/useTopLevelFileUpload.ts
new file mode 100644
index 00000000000..acc3277a1e0
--- /dev/null
+++ b/src/features/ResourceManager/hooks/useTopLevelFileUpload.ts
@@ -0,0 +1,45 @@
+import { useCallback } from 'react';
+
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { useCurrentFolderId } from '@/routes/(main)/resource/features/hooks/useCurrentFolderId';
+import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
+import { useFileStore } from '@/store/file';
+
+/**
+ * Shared driver for ResourceManager top-level file uploads.
+ *
+ * The Sidebar mode toggle (`listVisibility`) is the source of truth — the
+ * user has already chosen which "space" they're in, so we translate that
+ * directly into the upload's `visibility`:
+ *
+ * - **workspace mode + top level** (`!libraryId && !currentFolderId`): the
+ * mode picks visibility (`'private'` → private drawer, `'workspace'` →
+ * team share). No modal, no prompt.
+ * - **inside a library or folder**: leave visibility `undefined`; the server
+ * inherits the parent document's visibility so a private folder's uploads
+ * stay private, and a workspace folder's uploads stay workspace-shared.
+ * - **personal mode** (no `activeWorkspaceId`): also `undefined`; personal
+ * rows have no visibility column semantics.
+ */
+export const useTopLevelFileUpload = () => {
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const currentFolderId = useCurrentFolderId();
+ const libraryId = useResourceManagerStore((s) => s.libraryId);
+ const listVisibility = useResourceManagerStore((s) => s.listVisibility);
+ const pushDockFileList = useFileStore((s) => s.pushDockFileList);
+
+ const isTopLevelWorkspace = !!activeWorkspaceId && !libraryId && !currentFolderId;
+ const visibility: 'private' | 'public' | undefined = isTopLevelWorkspace
+ ? listVisibility === 'private'
+ ? 'private'
+ : 'public'
+ : undefined;
+
+ return useCallback(
+ async (files: File[]) => {
+ if (files.length === 0) return;
+ await pushDockFileList(files, libraryId, currentFolderId ?? undefined, visibility);
+ },
+ [libraryId, currentFolderId, pushDockFileList, visibility],
+ );
+};
diff --git a/src/features/ResourceManager/index.tsx b/src/features/ResourceManager/index.tsx
index c4b54045682..ef839166853 100644
--- a/src/features/ResourceManager/index.tsx
+++ b/src/features/ResourceManager/index.tsx
@@ -9,7 +9,6 @@ import DragUploadZone from '@/components/DragUploadZone';
import { PageEditor } from '@/features/PageEditor';
import { usePermission } from '@/hooks/usePermission';
import dynamic from '@/libs/next/dynamic';
-import { useCurrentFolderId } from '@/routes/(main)/resource/features/hooks/useCurrentFolderId';
import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
import { documentService } from '@/services/document';
import { useFileStore } from '@/store/file';
@@ -18,6 +17,7 @@ import { documentSelectors } from '@/store/file/slices/document/selectors';
import FileEditor from './components/Editor';
import Explorer from './components/Explorer';
import UploadDock from './components/UploadDock';
+import { useTopLevelFileUpload } from './hooks/useTopLevelFileUpload';
const ChunkDrawer = dynamic(() => import('./components/ChunkDrawer'), { ssr: false });
@@ -60,7 +60,6 @@ export type ResourceManagerMode = 'editor' | 'explorer' | 'page';
const ResourceManager = memo(() => {
const theme = useTheme();
const [, setSearchParams] = useSearchParams();
- const currentFolderId = useCurrentFolderId();
const [mode, currentViewItemId, libraryId, setMode, setCurrentViewItemId] =
useResourceManagerStore((s) => [
s.mode,
@@ -71,16 +70,16 @@ const ResourceManager = memo(() => {
]);
const currentDocument = useFileStore(documentSelectors.getDocumentById(currentViewItemId));
- const pushDockFileList = useFileStore((s) => s.pushDockFileList);
const updateDocumentOptimistically = useFileStore((s) => s.updateDocumentOptimistically);
const { allowed: canUpload } = usePermission('create_content');
+ const uploadTopLevel = useTopLevelFileUpload();
const handleUploadFiles = useCallback(
(files: File[]) => {
if (!canUpload) return;
- pushDockFileList(files, libraryId, currentFolderId ?? undefined);
+ void uploadTopLevel(files);
},
- [canUpload, currentFolderId, libraryId, pushDockFileList],
+ [canUpload, uploadTopLevel],
);
const cssVariables = useMemo<Record<string, string>>(
diff --git a/src/hooks/useCreateHeteroAgent.ts b/src/hooks/useCreateHeteroAgent.ts
index 63aa81c247f..6a27dacad29 100644
--- a/src/hooks/useCreateHeteroAgent.ts
+++ b/src/hooks/useCreateHeteroAgent.ts
@@ -8,6 +8,11 @@ import { useHomeStore } from '@/store/home';
export interface CreateHeteroAgentOptions {
groupId?: string;
onSuccess?: () => void;
+ /**
+ * Forwarded to the server-side `visibility` column when the call originates
+ * from the sidebar's "Private" bucket. Defaults to undefined (public).
+ */
+ visibility?: 'private' | 'public';
}
/**
@@ -41,6 +46,7 @@ export const useCreateHeteroAgent = () => {
title: definition.title,
},
groupId: options?.groupId,
+ visibility: options?.visibility,
});
await refreshAgentList();
navigate(`/agent/${result.agentId}`);
diff --git a/src/libs/swr/keys.ts b/src/libs/swr/keys.ts
index f26c4ee2d04..92f7d50d1e5 100644
--- a/src/libs/swr/keys.ts
+++ b/src/libs/swr/keys.ts
@@ -143,8 +143,22 @@ export const recentKeys = {
// ---- task ---------------------------------------------------------------
export const taskKeys = {
detail: def('task:detail', (taskId: string) => ['task:detail', taskId]),
- groupList: def('task:groupList', (agentKey: string | undefined) => ['task:groupList', agentKey]),
- list: def('task:list', (agentKey: string | undefined) => ['task:list', agentKey]),
+ groupList: def(
+ 'task:groupList',
+ (agentKey: string | undefined, visibility: 'all' | 'private' | 'workspace' = 'all') => [
+ 'task:groupList',
+ agentKey,
+ visibility,
+ ],
+ ),
+ list: def(
+ 'task:list',
+ (agentKey: string | undefined, visibility: 'all' | 'private' | 'workspace' = 'all') => [
+ 'task:list',
+ agentKey,
+ visibility,
+ ],
+ ),
};
// ---- brief --------------------------------------------------------------
@@ -417,8 +431,12 @@ export const ragEvalKeys = {
// ---- knowledge base -----------------------------------------------------
export const knowledgeBaseKeys = {
item: def('knowledgeBase:item', (id: string) => ['knowledgeBase:item', id]),
- list: def('knowledgeBase:list', (workspaceId?: string | null) =>
- workspaceId ? ['knowledgeBase:list', workspaceId] : ['knowledgeBase:list'],
+ list: def(
+ 'knowledgeBase:list',
+ (workspaceId?: string | null, visibility?: 'private' | 'public') => {
+ const base = workspaceId ? ['knowledgeBase:list', workspaceId] : ['knowledgeBase:list'];
+ return visibility ? [...base, visibility] : base;
+ },
),
};
@@ -546,10 +564,13 @@ export const globalKeys = {
// ---- agent knowledge (kept off the `agent:` idb tier on purpose) --------
export const agentKnowledgeKeys = {
- list: def('agentKnowledge:list', (agentId: string | undefined) => [
+ list: def(
'agentKnowledge:list',
- agentId,
- ]),
+ (agentId: string | undefined, visibility?: 'private' | 'public') => {
+ const base = ['agentKnowledge:list', agentId] as const;
+ return visibility ? [...base, visibility] : base;
+ },
+ ),
};
// ---- agent bot ----------------------------------------------------------
diff --git a/src/routes/(main)/(create)/features/GenerationInput/GenerationVisibilitySelector.tsx b/src/routes/(main)/(create)/features/GenerationInput/GenerationVisibilitySelector.tsx
new file mode 100644
index 00000000000..eb34d94594d
--- /dev/null
+++ b/src/routes/(main)/(create)/features/GenerationInput/GenerationVisibilitySelector.tsx
@@ -0,0 +1,74 @@
+'use client';
+
+import { Block, Icon } from '@lobehub/ui';
+import { createStaticStyles, cssVar } from 'antd-style';
+import { LockIcon, UsersIcon } from 'lucide-react';
+import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import {
+ getTaskVisibilityDefaultLabel,
+ getTaskVisibilityLabelKey,
+} from '@/features/AgentTasks/features/taskVisibilityLabel';
+import TaskVisibilityTag from '@/features/AgentTasks/features/TaskVisibilityTag';
+
+interface GenerationVisibilitySelectorProps {
+ disabledReason?: string;
+ onChange: (visibility: 'private' | 'public') => void;
+ visibility: 'private' | 'public';
+}
+
+const styles = createStaticStyles(({ css }) => ({
+ chip: css`
+ flex-shrink: 0;
+
+ min-width: 76px;
+ max-width: 128px;
+ height: 36px;
+
+ white-space: nowrap;
+ `,
+ label: css`
+ overflow: hidden;
+
+ min-width: 0;
+
+ font-size: 14px;
+ line-height: 1;
+ color: ${cssVar.colorText};
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ `,
+}));
+
+const GenerationVisibilitySelector = memo<GenerationVisibilitySelectorProps>(
+ ({ disabledReason, onChange, visibility }) => {
+ const { t } = useTranslation('chat');
+ const IconComp = visibility === 'private' ? LockIcon : UsersIcon;
+ const label = t(getTaskVisibilityLabelKey(visibility) as never, {
+ defaultValue: getTaskVisibilityDefaultLabel(visibility),
+ });
+
+ return (
+ <TaskVisibilityTag lockedReason={disabledReason} visibility={visibility} onChange={onChange}>
+ <Block
+ clickable
+ horizontal
+ align="center"
+ className={styles.chip}
+ gap={6}
+ paddingBlock={4}
+ paddingInline={10}
+ variant={'borderless'}
+ >
+ <Icon color={cssVar.colorTextDescription} icon={IconComp} size={14} />
+ <span className={styles.label}>{label}</span>
+ </Block>
+ </TaskVisibilityTag>
+ );
+ },
+);
+
+GenerationVisibilitySelector.displayName = 'GenerationVisibilitySelector';
+
+export default GenerationVisibilitySelector;
diff --git a/src/routes/(main)/(create)/features/GenerationInput/index.ts b/src/routes/(main)/(create)/features/GenerationInput/index.ts
index ad84a1bd923..b94b23a9aca 100644
--- a/src/routes/(main)/(create)/features/GenerationInput/index.ts
+++ b/src/routes/(main)/(create)/features/GenerationInput/index.ts
@@ -2,6 +2,7 @@ export { default as ConfigAction } from './ConfigAction';
export { default as GenerationInvalidAPIKey } from './GenerationInvalidAPIKey';
export { default as GenerationMediaModeSegment } from './GenerationMediaModeSegment';
export { default as GenerationPromptInput } from './GenerationPromptInput';
+export { default as GenerationVisibilitySelector } from './GenerationVisibilitySelector';
export { default as ImagePreviewHeader } from './ImagePreviewHeader';
export { default as InlineImageReference } from './InlineImageReference';
export { default as InlineVideoFrames } from './InlineVideoFrames';
diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/StoreContext.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/StoreContext.tsx
index 51585c03589..29ca2f49e97 100644
--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/StoreContext.tsx
+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/StoreContext.tsx
@@ -12,6 +12,7 @@ export interface GenerationTopicStoreSlice {
loadingGenerationTopicIds: string[];
openNewGenerationTopic: () => void;
removeGenerationTopic: (id: string) => Promise<void>;
+ setNewGenerationTopicVisibility: (visibility: 'private' | 'public') => void;
switchGenerationTopic: (topicId: string) => void;
useFetchGenerationTopics: (enabled: boolean) => SWRResponse<ImageGenerationTopic[]>;
}
diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/TopicList.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/TopicList.tsx
index 0ff882e024e..0b3dbdaf7d0 100644
--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/TopicList.tsx
+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/TopicList.tsx
@@ -13,26 +13,39 @@ import { useGenerationTopicContext } from './StoreContext';
interface TopicListProps {
viewMode?: 'auto' | 'grid' | 'list';
+ visibility?: 'private' | 'public';
}
-const TopicsList = memo<TopicListProps>(({ viewMode = 'auto' }) => {
+const TopicsList = memo<TopicListProps>(({ viewMode = 'auto', visibility }) => {
const { useStore, namespace } = useGenerationTopicContext();
const { t } = useTranslation(namespace);
const openNewGenerationTopic = useStore((s: any) => s.openNewGenerationTopic);
+ const setNewGenerationTopicVisibility = useStore((s: any) => s.setNewGenerationTopicVisibility);
const isLogin = useUserStore(authSelectors.isLogin);
const useFetchGenerationTopics = useStore((s) => s.useFetchGenerationTopics);
useFetchGenerationTopics(!!isLogin);
const generationTopics = useStore((s) => s.generationTopics);
+ const filteredTopics =
+ visibility === 'private'
+ ? generationTopics.filter((topic) => topic.visibility === 'private')
+ : visibility === 'public'
+ ? generationTopics.filter((topic) => topic.visibility !== 'private')
+ : generationTopics;
const isList = viewMode === 'list';
- const isEmpty = !generationTopics || generationTopics.length === 0;
+ const isEmpty = !filteredTopics || filteredTopics.length === 0;
+
+ const handleCreate = () => {
+ if (visibility) setNewGenerationTopicVisibility(visibility);
+ openNewGenerationTopic();
+ };
if (isEmpty) {
- return <EmptyNavItem title={t('topic.createNew')} onClick={openNewGenerationTopic} />;
+ return <EmptyNavItem title={t('topic.createNew')} onClick={handleCreate} />;
}
- const content = generationTopics.map((topic) => (
+ const content = filteredTopics.map((topic) => (
<TopicItem key={topic.id} showMoreInfo={isList} topic={topic} />
));
diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/index.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/index.tsx
index 8ba8bf3f40f..1955b4d10fa 100644
--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/List/index.tsx
+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/List/index.tsx
@@ -15,8 +15,10 @@ import TopicList from './TopicList';
import TopicUrlSync from './TopicUrlSync';
const List = memo<
- Pick<GenerationLayoutCommonProps, 'namespace' | 'useStore' | 'viewModeStatusKey'>
->(({ namespace, useStore, viewModeStatusKey }) => {
+ Pick<GenerationLayoutCommonProps, 'namespace' | 'useStore' | 'viewModeStatusKey'> & {
+ visibility?: 'private' | 'public';
+ }
+>(({ namespace, useStore, viewModeStatusKey, visibility }) => {
const isLogin = useUserStore(authSelectors.isLogin);
const viewMode = useGlobalStore((s) => systemStatusSelectors[viewModeStatusKey](s));
@@ -27,7 +29,7 @@ const List = memo<
<GenerationTopicStoreProvider value={{ namespace, useStore: useStore as any }}>
<Suspense fallback={<SkeletonList rows={6} />}>
<Flexbox gap={4} paddingBlock={1}>
- <TopicList viewMode={viewMode} />
+ <TopicList viewMode={viewMode} visibility={visibility} />
<TopicUrlSync />
</Flexbox>
</Suspense>
diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx
index 326679bf2fa..3b5df70d045 100644
--- a/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx
+++ b/src/routes/(main)/(create)/features/GenerationLayout/Body/index.tsx
@@ -6,6 +6,7 @@ import { LayoutGrid, ListIcon } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useGlobalStore } from '@/store/global';
import { systemStatusSelectors } from '@/store/global/selectors';
import { useUserStore } from '@/store/user';
@@ -15,7 +16,9 @@ import type { GenerationLayoutCommonProps } from '../types';
import List from './List';
enum GroupKey {
+ PrivateTopics = 'private-topics',
Topics = 'topics',
+ WorkspaceTopics = 'workspace-topics',
}
const Body = memo<GenerationLayoutCommonProps>((props) => {
@@ -24,41 +27,94 @@ const Body = memo<GenerationLayoutCommonProps>((props) => {
const isLogin = useUserStore(authSelectors.isLogin);
const viewMode = useGlobalStore((s) => systemStatusSelectors[viewModeStatusKey](s));
const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
+ const activeWorkspaceId = useActiveWorkspaceId();
const useFetchGenerationTopics = useStore((s: any) => s.useFetchGenerationTopics);
useFetchGenerationTopics(!!isLogin);
const generationTopics = useStore(generationTopicsSelector);
const count = generationTopics?.length || 0;
+ const privateCount =
+ generationTopics?.filter((topic: any) => topic.visibility === 'private').length || 0;
+ const workspaceCount =
+ generationTopics?.filter((topic: any) => topic.visibility !== 'private').length || 0;
+
+ const viewModeTabs = (
+ <Flexbox horizontal gap={2}>
+ <Tabs
+ activeKey={viewMode}
+ size={'small'}
+ items={[
+ {
+ icon: <Icon icon={ListIcon} />,
+ key: 'list',
+ label: null,
+ },
+ {
+ icon: <Icon icon={LayoutGrid} />,
+ key: 'grid',
+ label: null,
+ },
+ ]}
+ onChange={(key) => updateSystemStatus({ [viewModeStatusKey]: key })}
+ />
+ </Flexbox>
+ );
+
+ if (activeWorkspaceId) {
+ return (
+ <Flexbox gap={1} paddingInline={4}>
+ <Accordion defaultExpandedKeys={[GroupKey.PrivateTopics, GroupKey.WorkspaceTopics]} gap={2}>
+ <AccordionItem
+ action={viewModeTabs}
+ itemKey={GroupKey.PrivateTopics}
+ paddingBlock={4}
+ paddingInline={'8px 4px'}
+ title={
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {t('topic.privateTitle')}
+ {privateCount > 0 && ` ${privateCount}`}
+ </Text>
+ }
+ >
+ <List
+ namespace={namespace}
+ useStore={useStore}
+ viewModeStatusKey={viewModeStatusKey}
+ visibility="private"
+ />
+ </AccordionItem>
+ <AccordionItem
+ itemKey={GroupKey.WorkspaceTopics}
+ paddingBlock={4}
+ paddingInline={'8px 4px'}
+ title={
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {t('topic.workspaceTitle')}
+ {workspaceCount > 0 && ` ${workspaceCount}`}
+ </Text>
+ }
+ >
+ <List
+ namespace={namespace}
+ useStore={useStore}
+ viewModeStatusKey={viewModeStatusKey}
+ visibility="public"
+ />
+ </AccordionItem>
+ </Accordion>
+ </Flexbox>
+ );
+ }
return (
<Flexbox gap={1} paddingInline={4}>
<Accordion defaultExpandedKeys={[GroupKey.Topics]} gap={2}>
<AccordionItem
+ action={viewModeTabs}
itemKey={GroupKey.Topics}
paddingBlock={4}
paddingInline={'8px 4px'}
- action={
- <Flexbox horizontal gap={2}>
- <Tabs
- activeKey={viewMode}
- size={'small'}
- items={[
- {
- icon: <Icon icon={ListIcon} />,
- key: 'list',
- label: null,
- },
- {
- icon: <Icon icon={LayoutGrid} />,
- key: 'grid',
- label: null,
- },
- ]}
- onChange={(key) => updateSystemStatus({ [viewModeStatusKey]: key })}
- />
- </Flexbox>
- }
title={
<Text ellipsis fontSize={12} type={'secondary'} weight={500}>
{t('topic.title')}
diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.test.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.test.tsx
new file mode 100644
index 00000000000..f7315d4b463
--- /dev/null
+++ b/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.test.tsx
@@ -0,0 +1,180 @@
+import { render, screen } from '@testing-library/react';
+import { type ReactNode, useState } from 'react';
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import Sidebar from './Sidebar';
+import type { GenerationLayoutCommonProps } from './types';
+
+const mocks = vi.hoisted(() => ({
+ activeWorkspaceId: null as null | string,
+ updateSystemStatus: vi.fn(),
+}));
+
+vi.mock('react-i18next', () => ({
+ useTranslation: () => ({
+ t: (key: string) => key,
+ }),
+}));
+
+vi.mock('@lobehub/ui', () => ({
+ Accordion: ({ children }: { children?: ReactNode }) => <div>{children}</div>,
+ AccordionItem: ({
+ action,
+ children,
+ title,
+ }: {
+ action?: ReactNode;
+ children?: ReactNode;
+ title?: ReactNode;
+ }) => (
+ <section>
+ <header>
+ {title}
+ {action}
+ </header>
+ {children}
+ </section>
+ ),
+ Flexbox: ({ children }: { children?: ReactNode }) => <div>{children}</div>,
+ Icon: () => <span />,
+ Text: ({ children }: { children?: ReactNode }) => <span>{children}</span>,
+}));
+
+vi.mock('@lobehub/ui/base-ui', () => ({
+ Tabs: () => <div />,
+}));
+
+vi.mock('@/business/client/hooks/useActiveWorkspaceId', () => ({
+ useActiveWorkspaceId: () => mocks.activeWorkspaceId,
+}));
+
+vi.mock('@/features/NavPanel', () => ({
+ NavPanelPortal: ({ children }: { children?: ReactNode }) => <>{children}</>,
+}));
+
+vi.mock('@/features/NavPanel/SideBarLayout', () => {
+ const MockSideBarLayout = ({ body, header }: { body?: ReactNode; header?: ReactNode }) => {
+ const [initialBody] = useState(body);
+
+ return (
+ <div>
+ <div data-testid="sidebar-header">{header}</div>
+ <div data-testid="sidebar-body">{initialBody}</div>
+ </div>
+ );
+ };
+
+ return { default: MockSideBarLayout };
+});
+
+vi.mock('@/store/global', () => ({
+ useGlobalStore: (selector: any) =>
+ selector({
+ updateSystemStatus: mocks.updateSystemStatus,
+ }),
+}));
+
+vi.mock('@/store/global/selectors', () => ({
+ systemStatusSelectors: {
+ imageTopicViewMode: () => 'list',
+ videoTopicViewMode: () => 'list',
+ },
+}));
+
+vi.mock('@/store/user', () => ({
+ useUserStore: (selector: any) => selector({ isLogin: true }),
+}));
+
+vi.mock('@/store/user/slices/auth/selectors', () => ({
+ authSelectors: {
+ isLogin: (s: any) => s.isLogin,
+ },
+}));
+
+vi.mock('./Body/List', () => ({
+ default: ({ visibility }: { visibility?: 'private' | 'public' }) => (
+ <div data-testid={`topic-list-${visibility ?? 'all'}`} />
+ ),
+}));
+
+vi.mock('./Header', () => ({
+ default: ({ namespace }: Pick<GenerationLayoutCommonProps, 'namespace'>) => (
+ <div>{namespace} header</div>
+ ),
+}));
+
+const createStore = (generationTopics: any[] = []) => {
+ const storeState = {
+ generationTopics,
+ openNewGenerationTopic: vi.fn(),
+ setNewGenerationTopicVisibility: vi.fn(),
+ useFetchGenerationTopics: vi.fn(),
+ };
+
+ return (selector: any) => selector(storeState);
+};
+
+const createProps = (
+ namespace: 'image' | 'video',
+ generationTopics: any[] = [],
+): GenerationLayoutCommonProps => ({
+ breadcrumb: [{ href: `/${namespace}`, title: namespace }],
+ generationTopicsSelector: (s: any) => s.generationTopics,
+ namespace,
+ navKey: 'image',
+ useStore: createStore(generationTopics),
+ viewModeStatusKey: namespace === 'image' ? 'imageTopicViewMode' : 'videoTopicViewMode',
+});
+
+describe('GenerationLayout Sidebar', () => {
+ beforeEach(() => {
+ mocks.activeWorkspaceId = null;
+ mocks.updateSystemStatus.mockClear();
+ });
+
+ it('remounts sidebar content when switching generation namespaces under the shared nav key', () => {
+ const { rerender } = render(<Sidebar {...createProps('video')} />);
+
+ expect(screen.getByTestId('sidebar-body')).toHaveTextContent('topic.title');
+
+ rerender(<Sidebar {...createProps('image')} />);
+
+ expect(screen.getByTestId('sidebar-header')).toHaveTextContent('image header');
+ expect(screen.getByTestId('sidebar-body')).toHaveTextContent('topic.title');
+ });
+
+ it('splits generation topics into private and workspace roots in workspace mode', () => {
+ mocks.activeWorkspaceId = 'workspace-1';
+
+ render(
+ <Sidebar
+ {...createProps('image', [
+ { id: 'private-topic', title: 'Private', visibility: 'private' },
+ { id: 'public-topic', title: 'Public', visibility: 'public' },
+ { id: 'legacy-topic', title: 'Legacy' },
+ ])}
+ />,
+ );
+
+ expect(screen.getByText('topic.privateTitle 1')).toBeInTheDocument();
+ expect(screen.getByText('topic.workspaceTitle 2')).toBeInTheDocument();
+ expect(screen.getByTestId('topic-list-private')).toBeInTheDocument();
+ expect(screen.getByTestId('topic-list-public')).toBeInTheDocument();
+ });
+
+ it('keeps a single generation topic root in personal mode', () => {
+ render(
+ <Sidebar
+ {...createProps('image', [
+ { id: 'private-topic', title: 'Private', visibility: 'private' },
+ { id: 'public-topic', title: 'Public', visibility: 'public' },
+ ])}
+ />,
+ );
+
+ expect(screen.getByText('topic.title 2')).toBeInTheDocument();
+ expect(screen.getByTestId('topic-list-all')).toBeInTheDocument();
+ expect(screen.queryByText(/topic.privateTitle/)).not.toBeInTheDocument();
+ expect(screen.queryByText(/topic.workspaceTitle/)).not.toBeInTheDocument();
+ });
+});
diff --git a/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.tsx b/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.tsx
index 4c213d17f07..a8dfd0dbfd7 100644
--- a/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.tsx
+++ b/src/routes/(main)/(create)/features/GenerationLayout/Sidebar.tsx
@@ -13,7 +13,11 @@ const Sidebar = memo<GenerationLayoutCommonProps>((props) => {
const { navKey } = props;
return (
<NavPanelPortal navKey={navKey}>
- <SideBarLayout body={<Body {...props} />} header={<Header {...props} />} />
+ <SideBarLayout
+ body={<Body {...props} />}
+ header={<Header {...props} />}
+ key={props.namespace}
+ />
</NavPanelPortal>
);
});
diff --git a/src/routes/(main)/(create)/image/features/PromptInput/index.tsx b/src/routes/(main)/(create)/image/features/PromptInput/index.tsx
index cb075eb995f..4894b6596bc 100644
--- a/src/routes/(main)/(create)/image/features/PromptInput/index.tsx
+++ b/src/routes/(main)/(create)/image/features/PromptInput/index.tsx
@@ -20,6 +20,7 @@ import {
ConfigAction,
GenerationMediaModeSegment,
GenerationPromptInput,
+ GenerationVisibilitySelector,
InlineImageReference,
} from '@/routes/(main)/(create)/features/GenerationInput';
import {
@@ -35,7 +36,11 @@ import {
import ImageModelItem from '@/routes/(main)/(create)/image/features/ConfigPanel/components/ModelSelect/ImageModelItem';
import { aiProviderSelectors, useAiInfraStore } from '@/store/aiInfra';
import { useImageStore } from '@/store/image';
-import { createImageSelectors, imageGenerationConfigSelectors } from '@/store/image/selectors';
+import {
+ createImageSelectors,
+ generationTopicSelectors,
+ imageGenerationConfigSelectors,
+} from '@/store/image/selectors';
import {
useDimensionControl,
useGenerationConfigParam,
@@ -145,6 +150,16 @@ const PromptInput = ({ showTitle = false }: PromptInputProps) => {
const isCreating = useImageStore(createImageSelectors.isCreating);
const createImage = useImageStore((s) => s.createImage);
const setModelAndProviderOnSelect = useImageStore((s) => s.setModelAndProviderOnSelect);
+ const activeGenerationTopicId = useImageStore(generationTopicSelectors.activeGenerationTopicId);
+ const activeGenerationTopic = useImageStore((s) =>
+ activeGenerationTopicId
+ ? generationTopicSelectors.getGenerationTopicById(activeGenerationTopicId)(s)
+ : undefined,
+ );
+ const newGenerationTopicVisibility = useImageStore(
+ generationTopicSelectors.newGenerationTopicVisibility,
+ );
+ const setNewGenerationTopicVisibility = useImageStore((s) => s.setNewGenerationTopicVisibility);
const currentModel = useImageStore(imageGenerationConfigSelectors.model);
const currentProvider = useImageStore(imageGenerationConfigSelectors.provider);
const isInit = useImageStore((s) => s.isInit);
@@ -215,6 +230,14 @@ const PromptInput = ({ showTitle = false }: PromptInputProps) => {
const showInlineRef = canDropImage;
const hasRefImages = imagePreviewUrls.length > 0;
+ const displayVisibility = activeGenerationTopic
+ ? activeGenerationTopic.visibility === 'private'
+ ? 'private'
+ : 'public'
+ : newGenerationTopicVisibility;
+ const visibilityLockedReason = activeGenerationTopicId
+ ? t('topic.visibility.existingLocked')
+ : undefined;
return (
<Flexbox gap={32} width={'100%'}>
@@ -248,6 +271,11 @@ const PromptInput = ({ showTitle = false }: PromptInputProps) => {
style={canCreate ? undefined : { opacity: 0.5, pointerEvents: 'none' }}
>
<GenerationMediaModeSegment mode={'image'} />
+ <GenerationVisibilitySelector
+ disabledReason={visibilityLockedReason}
+ visibility={displayVisibility}
+ onChange={setNewGenerationTopicVisibility}
+ />
<ModelSwitchPanel
ModelItemComponent={ImageModelItem}
enabledList={enabledImageModelList}
diff --git a/src/routes/(main)/(create)/video/_layout/index.test.tsx b/src/routes/(main)/(create)/video/_layout/index.test.tsx
new file mode 100644
index 00000000000..4d8828b274a
--- /dev/null
+++ b/src/routes/(main)/(create)/video/_layout/index.test.tsx
@@ -0,0 +1,40 @@
+import { render } from '@testing-library/react';
+import { describe, expect, it, vi } from 'vitest';
+
+import VideoLayout from './index';
+
+const generationLayoutMock = vi.fn((_props: unknown) => null);
+
+vi.mock('react-i18next', () => ({
+ useTranslation: () => ({
+ t: (key: string) => key,
+ }),
+}));
+
+vi.mock('@/routes/(main)/(create)/features/GenerationLayout', () => ({
+ default: (props: unknown) => generationLayoutMock(props),
+}));
+
+vi.mock('@/store/video', () => ({
+ useVideoStore: vi.fn(),
+}));
+
+vi.mock('@/store/video/slices/generationTopic/selectors', () => ({
+ generationTopicSelectors: {
+ generationTopics: vi.fn(),
+ },
+}));
+
+describe('VideoLayout', () => {
+ it('uses the generation sidebar nav key shared with image', () => {
+ render(<VideoLayout />);
+
+ expect(generationLayoutMock).toHaveBeenCalledWith(
+ expect.objectContaining({
+ namespace: 'video',
+ navKey: 'image',
+ viewModeStatusKey: 'videoTopicViewMode',
+ }),
+ );
+ });
+});
diff --git a/src/routes/(main)/(create)/video/_layout/index.tsx b/src/routes/(main)/(create)/video/_layout/index.tsx
index d9b338f06bd..bc9d3a7737f 100644
--- a/src/routes/(main)/(create)/video/_layout/index.tsx
+++ b/src/routes/(main)/(create)/video/_layout/index.tsx
@@ -14,7 +14,7 @@ const VideoLayout = () => {
breadcrumb={[{ href: '/video', title: t('tab.video') }]}
generationTopicsSelector={generationTopicSelectors.generationTopics}
namespace="video"
- navKey="video"
+ navKey="image"
useStore={useVideoStore}
viewModeStatusKey="videoTopicViewMode"
/>
diff --git a/src/routes/(main)/(create)/video/features/PromptInput/index.tsx b/src/routes/(main)/(create)/video/features/PromptInput/index.tsx
index 67ffb32688f..c4847225d1e 100644
--- a/src/routes/(main)/(create)/video/features/PromptInput/index.tsx
+++ b/src/routes/(main)/(create)/video/features/PromptInput/index.tsx
@@ -21,6 +21,7 @@ import {
ConfigAction,
GenerationMediaModeSegment,
GenerationPromptInput,
+ GenerationVisibilitySelector,
InlineVideoFrames,
} from '@/routes/(main)/(create)/features/GenerationInput';
import { AspectRatioSelect } from '@/routes/(main)/(create)/image/features/ConfigPanel';
@@ -30,7 +31,11 @@ import { aiProviderSelectors, useAiInfraStore } from '@/store/aiInfra';
import { useUserStore } from '@/store/user';
import { authSelectors } from '@/store/user/slices/auth/selectors';
import { useVideoStore } from '@/store/video';
-import { createVideoSelectors, videoGenerationConfigSelectors } from '@/store/video/selectors';
+import {
+ createVideoSelectors,
+ videoGenerationConfigSelectors,
+ videoGenerationTopicSelectors,
+} from '@/store/video/selectors';
import { useVideoGenerationConfigParam } from '@/store/video/slices/generationConfig/hooks';
import { generateUniqueSeeds } from '@/utils/number';
@@ -299,6 +304,18 @@ const PromptInput = ({ showTitle = false }: PromptInputProps) => {
const isCreating = useVideoStore(createVideoSelectors.isCreating);
const createVideo = useVideoStore((s) => s.createVideo);
const setModelAndProviderOnSelect = useVideoStore((s) => s.setModelAndProviderOnSelect);
+ const activeGenerationTopicId = useVideoStore(
+ videoGenerationTopicSelectors.activeGenerationTopicId,
+ );
+ const activeGenerationTopic = useVideoStore((s) =>
+ activeGenerationTopicId
+ ? videoGenerationTopicSelectors.getGenerationTopicById(activeGenerationTopicId)(s)
+ : undefined,
+ );
+ const newGenerationTopicVisibility = useVideoStore(
+ videoGenerationTopicSelectors.newGenerationTopicVisibility,
+ );
+ const setNewGenerationTopicVisibility = useVideoStore((s) => s.setNewGenerationTopicVisibility);
const currentModel = useVideoStore(videoGenerationConfigSelectors.model);
const currentProvider = useVideoStore(videoGenerationConfigSelectors.provider);
const enabledVideoModelList = useAiInfraStore(aiProviderSelectors.enabledVideoModelList);
@@ -382,6 +399,14 @@ const PromptInput = ({ showTitle = false }: PromptInputProps) => {
[imageUrl, imageUrls],
);
const hasRefImages = framePreviewUrls.length > 0 || Boolean(endImageUrl);
+ const displayVisibility = activeGenerationTopic
+ ? activeGenerationTopic.visibility === 'private'
+ ? 'private'
+ : 'public'
+ : newGenerationTopicVisibility;
+ const visibilityLockedReason = activeGenerationTopicId
+ ? t('topic.visibility.existingLocked')
+ : undefined;
const maxCount = useMemo(() => {
let count = 0;
if (isSupportImageUrl) count += 1;
@@ -489,6 +514,11 @@ const PromptInput = ({ showTitle = false }: PromptInputProps) => {
style={canCreate ? undefined : { opacity: 0.5, pointerEvents: 'none' }}
>
<GenerationMediaModeSegment mode={'video'} />
+ <GenerationVisibilitySelector
+ disabledReason={visibilityLockedReason}
+ visibility={displayVisibility}
+ onChange={setNewGenerationTopicVisibility}
+ />
<ModelSwitchPanel
ModelItemComponent={VideoModelItem}
enabledList={enabledVideoModelList}
diff --git a/src/routes/(main)/agent/_layout/Sidebar/Header/Agent/SwitchPanel.tsx b/src/routes/(main)/agent/_layout/Sidebar/Header/Agent/SwitchPanel.tsx
index 091989d17a8..dff91023ecc 100644
--- a/src/routes/(main)/agent/_layout/Sidebar/Header/Agent/SwitchPanel.tsx
+++ b/src/routes/(main)/agent/_layout/Sidebar/Header/Agent/SwitchPanel.tsx
@@ -5,6 +5,7 @@ import { memo, Suspense, useMemo } from 'react';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
+import { useFetchAgentList } from '@/hooks/useFetchAgentList';
import AgentListContent from '@/routes/(main)/home/_layout/Body/Agent/List/AgentListContent';
import { AgentModalProvider } from '@/routes/(main)/home/_layout/Body/Agent/ModalProvider';
@@ -18,6 +19,9 @@ const styles = createStaticStyles(({ cssVar, css }) => ({
const SwitchPanel = memo<PropsWithChildren>(({ children }) => {
const navigate = useWorkspaceAwareNavigate();
+ // AgentListContent no longer owns the SWR subscription; subscribe here so
+ // the standalone switcher still triggers a fetch when opened.
+ useFetchAgentList();
const content = useMemo(
() => (
diff --git a/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/AddAgent.tsx b/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/AddAgent.tsx
index 8310a1d1b0c..00c5e6fa228 100644
--- a/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/AddAgent.tsx
+++ b/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/AddAgent.tsx
@@ -9,6 +9,7 @@ import { ChevronDownIcon } from 'lucide-react';
import { memo, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import { usePermission } from '@/hooks/usePermission';
import { agentService } from '@/services/agent';
@@ -43,6 +44,7 @@ const AddAgent = memo<{ mobile?: boolean }>(({ mobile }) => {
const navigate = useWorkspaceAwareNavigate();
const { t } = useTranslation('discover');
const { allowed: canCreate } = usePermission('create_content');
+ const activeWorkspaceId = useActiveWorkspaceId();
const meta = {
avatar,
@@ -72,12 +74,15 @@ const AddAgent = memo<{ mobile?: boolean }>(({ mobile }) => {
if (!canCreate || !config) return;
// Note: agentService.createAgent automatically normalizes market config (handles model as object)
+ // In workspace mode, default the new agent to the user's Private bucket
+ // — they can promote it to the workspace later via "Publish to Workspace".
const agentData = {
config: {
...config,
editorData,
...meta,
},
+ ...(activeWorkspaceId ? { visibility: 'private' as const } : {}),
};
const result = await createAgent(agentData);
diff --git a/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/ForkAndChat.tsx b/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/ForkAndChat.tsx
index 37ff785354c..ba74bc0e521 100644
--- a/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/ForkAndChat.tsx
+++ b/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/ForkAndChat.tsx
@@ -1,13 +1,15 @@
'use client';
import { AGENT_CHAT_URL } from '@lobechat/const';
-import { Button } from '@lobehub/ui';
+import { Flexbox } from '@lobehub/ui';
+import { Button, Select } from '@lobehub/ui/base-ui';
import { App } from 'antd';
import { createStaticStyles } from 'antd-style';
import { customAlphabet } from 'nanoid/non-secure';
import { memo, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspace } from '@/business/client/hooks/useActiveWorkspace';
import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import { usePermission } from '@/hooks/usePermission';
@@ -19,12 +21,53 @@ import { marketApiService } from '@/services/marketApi';
import { useAgentStore } from '@/store/agent';
import { useHomeStore } from '@/store/home';
+import {
+ isMarketOrgSetupRequiredError,
+ promptMarketOrgSetup,
+} from '../../../../../utils/marketOrgSetup';
import { useDetailContext } from '../../DetailProvider';
-const styles = createStaticStyles(({ css }) => ({
+const styles = createStaticStyles(({ css, cssVar }) => ({
buttonGroup: css`
width: 100%;
`,
+ forkButton: css`
+ flex: 1;
+ width: unset;
+ border-start-start-radius: 0 !important;
+ border-end-start-radius: 0 !important;
+ `,
+ // Match Button type="primary" on the right so the two halves read as one
+ // pill. (colorPrimary bg + colorBgLayout text) auto-flips with the theme:
+ // dark bg + near-white text in light theme, white bg + near-black text
+ // in dark theme. We use colorBgLayout directly instead of the
+ // semantically-named colorTextLightSolid because the cssVar proxy doesn't
+ // pick up LobeHub's JS-level override of that token.
+ visibilitySelect: css`
+ width: 130px;
+ border-color: ${cssVar.colorPrimary} !important;
+ border-inline-end-width: 0 !important;
+ border-start-end-radius: 0 !important;
+ border-end-end-radius: 0 !important;
+
+ color: ${cssVar.colorBgLayout} !important;
+
+ background: ${cssVar.colorPrimary} !important;
+
+ & svg {
+ color: ${cssVar.colorBgLayout};
+ }
+
+ &:hover:not([data-disabled]) {
+ border-color: ${cssVar.colorPrimaryHover} !important;
+ background: ${cssVar.colorPrimaryHover} !important;
+ }
+
+ &:active:not([data-disabled]) {
+ border-color: ${cssVar.colorPrimaryActive} !important;
+ background: ${cssVar.colorPrimaryActive} !important;
+ }
+ `,
}));
/**
@@ -36,6 +79,8 @@ const generateMarketIdentifier = () => {
return generate();
};
+type ForkTarget = 'private' | 'public';
+
const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
const { identifier, title, config, avatar, backgroundColor, description, tags, editorData } =
useDetailContext();
@@ -48,6 +93,9 @@ const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
const { isAuthenticated, signIn } = useMarketAuth();
const { allowed: canCreate } = usePermission('create_content');
const activeWorkspaceId = useActiveWorkspaceId();
+ const activeWorkspace = useActiveWorkspace();
+ const isWorkspaceOwner = activeWorkspace?.role === 'owner';
+ const [visibility, setVisibility] = useState<ForkTarget>('private');
const meta = {
avatar,
@@ -58,8 +106,12 @@ const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
title,
};
- const handleForkAndChat = async () => {
- if (!canCreate) return;
+ // `target` only matters in workspace mode. Personal-mode forks ignore it
+ // (every row there is implicitly owner-private). Default = Private so
+ // newly-grabbed agents don't surface to teammates before the user has
+ // had a chance to vet them.
+ const handleForkAndChat = async (target: ForkTarget = 'private') => {
+ if (!canCreate || isLoading) return;
// Check if user is authenticated
if (!isAuthenticated) {
try {
@@ -85,9 +137,15 @@ const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
// Generate a unique identifier for the forked agent
const newIdentifier = generateMarketIdentifier();
- // When forking inside a workspace, attribute the fork to the workspace's
- // Market organization mirror so `agents.ownerId` ends up on the org
- // account rather than the actor. Provisioning is idempotent.
+ // Workspace mode forks must be attributed to the workspace's Market
+ // organization mirror — the per-user trust token always carries the
+ // workspaceId, so Market rejects the request without
+ // `x-lobe-owner-account-id` (403). Whether the local agent ends up
+ // private or public is independent of this market-side ownership.
+ //
+ // When the workspace has no Community profile yet we abort and prompt
+ // the user. Owners get a deep-link CTA; everyone else is asked to
+ // contact the owner.
let actAs: number | undefined;
if (activeWorkspaceId) {
try {
@@ -95,10 +153,14 @@ const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
await lambdaClient.workspace.ensureMarketOrganization.mutate();
actAs = marketAccountId;
} catch (error) {
- console.warn(
- 'Failed to provision Market organization for workspace; falling back to personal fork:',
- error,
- );
+ if (isMarketOrgSetupRequiredError(error)) {
+ promptMarketOrgSetup({
+ isOwner: isWorkspaceOwner,
+ onSetup: () => navigate('/community/workspace'),
+ });
+ return;
+ }
+ throw error;
}
}
@@ -137,8 +199,14 @@ const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
},
};
- // Step 4: Add to local agent list
- const result = await createAgent(agentData);
+ // Step 4: Add to local agent list. `target` decides where it lands —
+ // Private bucket (only the creator sees it) or workspace-shared
+ // (visible to every member). In personal mode `visibility` is left
+ // unset and the column defaults to `public` (no-op).
+ const result = await createAgent({
+ ...agentData,
+ ...(activeWorkspaceId ? { visibility: target } : {}),
+ });
await refreshAgentList();
// Step 5: Report fork event (using 'add' event type)
@@ -160,18 +228,54 @@ const ForkAndChat = memo<{ mobile?: boolean }>(({ mobile }) => {
}
};
+ // Personal mode has no Private/Public split — render the plain primary
+ // button so users don't see a meaningless dropdown.
+ if (!activeWorkspaceId) {
+ return (
+ <Button
+ block
+ className={styles.buttonGroup}
+ disabled={!canCreate}
+ loading={isLoading}
+ size={'large'}
+ type={'primary'}
+ onClick={() => handleForkAndChat('private')}
+ >
+ {t('fork.forkAndChat')}
+ </Button>
+ );
+ }
+
+ // Workspace mode: Select on the left chooses Private (default) vs Public,
+ // primary button on the right runs the fork. Keeping the choice next to
+ // the action makes the target visibility explicit at click time.
+ const visibilityOptions = [
+ { label: t('fork.visibilityPrivate'), value: 'private' },
+ { label: t('fork.visibilityPublic'), value: 'public' },
+ ];
+
return (
- <Button
- block
- className={styles.buttonGroup}
- disabled={!canCreate}
- loading={isLoading}
- size={'large'}
- type={'primary'}
- onClick={handleForkAndChat}
- >
- {t('fork.forkAndChat')}
- </Button>
+ <Flexbox horizontal className={styles.buttonGroup} gap={0}>
+ <Select
+ className={styles.visibilitySelect}
+ disabled={!canCreate || isLoading}
+ options={visibilityOptions}
+ size={'large'}
+ value={visibility}
+ onChange={(v) => setVisibility(v as ForkTarget)}
+ />
+ <Button
+ block
+ className={styles.forkButton}
+ disabled={!canCreate}
+ loading={isLoading}
+ size={'large'}
+ type={'primary'}
+ onClick={() => handleForkAndChat(visibility)}
+ >
+ {t('fork.forkAndChat')}
+ </Button>
+ </Flexbox>
);
});
diff --git a/src/routes/(main)/community/(detail)/group_agent/features/Sidebar/ActionButton/ForkGroupAndChat.tsx b/src/routes/(main)/community/(detail)/group_agent/features/Sidebar/ActionButton/ForkGroupAndChat.tsx
index f7e4408449b..f82d10ad84d 100644
--- a/src/routes/(main)/community/(detail)/group_agent/features/Sidebar/ActionButton/ForkGroupAndChat.tsx
+++ b/src/routes/(main)/community/(detail)/group_agent/features/Sidebar/ActionButton/ForkGroupAndChat.tsx
@@ -1,6 +1,7 @@
'use client';
-import { Button } from '@lobehub/ui';
+import { Button, Flexbox } from '@lobehub/ui';
+import { Select } from '@lobehub/ui/base-ui';
import { App } from 'antd';
import { createStaticStyles } from 'antd-style';
import { customAlphabet } from 'nanoid/non-secure';
@@ -8,6 +9,7 @@ import { memo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import urlJoin from 'url-join';
+import { useActiveWorkspace } from '@/business/client/hooks/useActiveWorkspace';
import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import { usePermission } from '@/hooks/usePermission';
@@ -18,12 +20,53 @@ import { discoverService } from '@/services/discover';
import { marketApiService } from '@/services/marketApi';
import { useAgentGroupStore } from '@/store/agentGroup';
+import {
+ isMarketOrgSetupRequiredError,
+ promptMarketOrgSetup,
+} from '../../../../../utils/marketOrgSetup';
import { useDetailContext } from '../../DetailProvider';
-const styles = createStaticStyles(({ css }) => ({
+const styles = createStaticStyles(({ css, cssVar }) => ({
buttonGroup: css`
width: 100%;
`,
+ forkButton: css`
+ flex: 1;
+ width: unset;
+ border-start-start-radius: 0 !important;
+ border-end-start-radius: 0 !important;
+ `,
+ // Match Button type="primary" on the right so the two halves read as one
+ // pill. (colorPrimary bg + colorBgLayout text) auto-flips with the theme:
+ // dark bg + near-white text in light theme, white bg + near-black text
+ // in dark theme. We use colorBgLayout directly instead of the
+ // semantically-named colorTextLightSolid because the cssVar proxy doesn't
+ // pick up LobeHub's JS-level override of that token.
+ visibilitySelect: css`
+ width: 130px;
+ border-color: ${cssVar.colorPrimary} !important;
+ border-inline-end-width: 0 !important;
+ border-start-end-radius: 0 !important;
+ border-end-end-radius: 0 !important;
+
+ color: ${cssVar.colorBgLayout} !important;
+
+ background: ${cssVar.colorPrimary} !important;
+
+ & svg {
+ color: ${cssVar.colorBgLayout};
+ }
+
+ &:hover:not([data-disabled]) {
+ border-color: ${cssVar.colorPrimaryHover} !important;
+ background: ${cssVar.colorPrimaryHover} !important;
+ }
+
+ &:active:not([data-disabled]) {
+ border-color: ${cssVar.colorPrimaryActive} !important;
+ background: ${cssVar.colorPrimaryActive} !important;
+ }
+ `,
}));
/**
@@ -35,6 +78,8 @@ const generateMarketIdentifier = () => {
return generate();
};
+type ForkTarget = 'private' | 'public';
+
const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
const {
avatar,
@@ -54,6 +99,9 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
const { isAuthenticated, signIn } = useMarketAuth();
const { allowed: canCreate } = usePermission('create_content');
const activeWorkspaceId = useActiveWorkspaceId();
+ const activeWorkspace = useActiveWorkspace();
+ const isWorkspaceOwner = activeWorkspace?.role === 'owner';
+ const [visibility, setVisibility] = useState<ForkTarget>('private');
const meta = {
avatar,
@@ -63,8 +111,8 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
title,
};
- const handleForkAndChat = async () => {
- if (!canCreate) return;
+ const handleForkAndChat = async (target: ForkTarget = 'private') => {
+ if (!canCreate || isLoading) return;
// Check if user is authenticated
if (!isAuthenticated) {
try {
@@ -97,6 +145,11 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
// Generate a unique identifier for the forked group
const newIdentifier = generateMarketIdentifier();
+ // Same rationale as ForkAndChat.tsx — workspace forks must carry an
+ // org `actAs` so Market accepts the request; the local chat group
+ // still lands in the user's Private bucket via `visibility: 'private'`
+ // on the groupConfig below. When the workspace has no Community
+ // profile yet we prompt the user (role-aware) and abort the fork.
let actAs: number | undefined;
if (activeWorkspaceId) {
try {
@@ -104,10 +157,14 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
await lambdaClient.workspace.ensureMarketOrganization.mutate();
actAs = marketAccountId;
} catch (error) {
- console.warn(
- 'Failed to resolve Market organization for workspace; falling back to personal group fork:',
- error,
- );
+ if (isMarketOrgSetupRequiredError(error)) {
+ promptMarketOrgSetup({
+ isOwner: isWorkspaceOwner,
+ onSetup: () => navigate('/community/workspace'),
+ });
+ return;
+ }
+ throw error;
}
}
@@ -156,7 +213,10 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
);
}
- // Step 4: Prepare group config
+ // Step 4: Prepare group config. `target` decides where the chat
+ // group lands in the sidebar: Private (only the creator sees it) or
+ // workspace-shared. In personal mode visibility is left unset so the
+ // column default (`public`) applies harmlessly.
const groupConfig = {
config: {
...config,
@@ -167,6 +227,7 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
...meta,
// Store marketIdentifier at top-level (same as agents)
marketIdentifier: forkResult.group.identifier,
+ ...(activeWorkspaceId ? { visibility: target } : {}),
};
// Step 5: Prepare member agents from market data
@@ -227,18 +288,53 @@ const ForkGroupAndChat = memo<{ mobile?: boolean }>(() => {
}
};
+ // Personal mode: plain primary button, no Private/Public choice to make.
+ if (!activeWorkspaceId) {
+ return (
+ <Button
+ block
+ className={styles.buttonGroup}
+ disabled={!canCreate}
+ loading={isLoading}
+ size={'large'}
+ type={'primary'}
+ onClick={() => handleForkAndChat('private')}
+ >
+ {t('fork.forkAndChat')}
+ </Button>
+ );
+ }
+
+ // Workspace mode: Select on the left chooses Private (default) vs Public,
+ // primary button on the right runs the fork. Mirrors ForkAndChat.tsx so
+ // both flows look and behave the same way.
+ const visibilityOptions = [
+ { label: t('fork.visibilityPrivate'), value: 'private' },
+ { label: t('fork.visibilityPublic'), value: 'public' },
+ ];
+
return (
- <Button
- block
- className={styles.buttonGroup}
- disabled={!canCreate}
- loading={isLoading}
- size={'large'}
- type={'primary'}
- onClick={handleForkAndChat}
- >
- {t('fork.forkAndChat')}
- </Button>
+ <Flexbox horizontal className={styles.buttonGroup} gap={0}>
+ <Select
+ className={styles.visibilitySelect}
+ disabled={!canCreate || isLoading}
+ options={visibilityOptions}
+ size={'large'}
+ value={visibility}
+ onChange={(v) => setVisibility(v as ForkTarget)}
+ />
+ <Button
+ block
+ className={styles.forkButton}
+ disabled={!canCreate}
+ loading={isLoading}
+ size={'large'}
+ type={'primary'}
+ onClick={() => handleForkAndChat(visibility)}
+ >
+ {t('fork.forkAndChat')}
+ </Button>
+ </Flexbox>
);
});
diff --git a/src/routes/(main)/community/(detail)/user/features/UserAgentCard.tsx b/src/routes/(main)/community/(detail)/user/features/UserAgentCard.tsx
index 3e15809f98a..5f33b9b7080 100644
--- a/src/routes/(main)/community/(detail)/user/features/UserAgentCard.tsx
+++ b/src/routes/(main)/community/(detail)/user/features/UserAgentCard.tsx
@@ -29,6 +29,7 @@ import { memo, useCallback, useState } from 'react';
import { useTranslation } from 'react-i18next';
import urlJoin from 'url-join';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import PublishedTime from '@/components/PublishedTime';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import WorkspaceLink from '@/features/Workspace/WorkspaceLink';
@@ -139,6 +140,7 @@ const UserAgentCard = memo<UserAgentCardProps>(
const { isOwner, onStatusChange } = useUserDetailContext();
const { allowed: canCreate } = usePermission('create_content');
const { allowed: canEdit } = usePermission('edit_own_content');
+ const activeWorkspaceId = useActiveWorkspaceId();
const [, setIsEditLoading] = useState(false);
const createAgent = useAgentStore((s) => s.createAgent);
@@ -181,7 +183,9 @@ const UserAgentCard = memo<UserAgentCardProps>(
return;
}
- // Create local agent with market data
+ // Create local agent with market data. In workspace mode default
+ // the install to the user's Private bucket so a community card
+ // they're just trying out doesn't immediately surface to teammates.
const result = await createAgent({
config: {
...marketAgent.config,
@@ -193,6 +197,7 @@ const UserAgentCard = memo<UserAgentCardProps>(
tags: marketAgent.tags,
title: marketAgent.title,
},
+ ...(activeWorkspaceId ? { visibility: 'private' as const } : {}),
});
await refreshAgentList();
diff --git a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx
index 530b928e82f..418735941ca 100644
--- a/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx
+++ b/src/routes/(main)/community/(detail)/workspace/features/WorkspaceProfileModal/Content.tsx
@@ -27,7 +27,7 @@ import {
setupCommunityWorkspaceProfile,
updateCommunityWorkspaceProfile,
} from '@/business/client/services/communityWorkspaceProfile';
-import EmojiPicker from '@/components/EmojiPicker';
+import AvatarUpload from '@/components/AvatarUpload';
import { useFileStore } from '@/store/file';
import type { DiscoverUserInfo } from '@/types/discover';
@@ -153,18 +153,6 @@ export const Content = memo<ContentProps>(({ user, onSuccess }) => {
[message, t, uploadWithProgress],
);
- const handleAvatarChange = useCallback((next: string) => {
- if (next.startsWith('data:')) return;
- try {
- const { protocol } = new URL(next);
- if (protocol === 'http:' || protocol === 'https:') {
- setAvatarUrl(next);
- }
- } catch {
- // Workspace Market profiles only accept URL avatars.
- }
- }, []);
-
const handleBannerUpload: UploadProps['customRequest'] = useCallback(
async (options: Parameters<NonNullable<UploadProps['customRequest']>>[0]) => {
const file = options.file as File;
@@ -407,16 +395,12 @@ export const Content = memo<ContentProps>(({ user, onSuccess }) => {
</Flexbox>
<Form.Item>
- <EmojiPicker
+ <AvatarUpload
allowDelete={!!avatarUrl}
loading={avatarUploading}
shape="square"
size={80}
value={avatarUrl || undefined}
- allowUpload={{
- enableEmoji: false,
- }}
- onChange={handleAvatarChange}
onDelete={() => setAvatarUrl(null)}
onUpload={handleAvatarUpload}
/>
diff --git a/src/routes/(main)/community/utils/marketOrgSetup.ts b/src/routes/(main)/community/utils/marketOrgSetup.ts
new file mode 100644
index 00000000000..b788afcd867
--- /dev/null
+++ b/src/routes/(main)/community/utils/marketOrgSetup.ts
@@ -0,0 +1,55 @@
+import { confirmModal } from '@lobehub/ui/base-ui';
+import { TRPCClientError } from '@trpc/client';
+import { t } from 'i18next';
+
+/**
+ * `workspace.ensureMarketOrganization` returns `PRECONDITION_FAILED` when the
+ * workspace has no Market organization mirror yet. The Community profile must
+ * be set up explicitly by an owner before fork / publish flows can act on
+ * behalf of the workspace — see workspace.ts ensureMarketOrganization for the
+ * server-side throw site.
+ */
+export const isMarketOrgSetupRequiredError = (error: unknown): boolean => {
+ return (
+ error instanceof TRPCClientError &&
+ (error as TRPCClientError<any>).data?.code === 'PRECONDITION_FAILED'
+ );
+};
+
+interface PromptMarketOrgSetupParams {
+ /** True when the active workspace member can perform the setup themselves. */
+ isOwner: boolean;
+ /** Triggered when an owner confirms the prompt — wire to a navigate call. */
+ onSetup?: () => void;
+}
+
+/**
+ * Show a role-aware modal explaining why a workspace fork can't proceed and
+ * what the user should do next. Owners get a "go set it up" CTA; everyone
+ * else gets a "ask your owner" notice.
+ */
+export const promptMarketOrgSetup = ({ isOwner, onSetup }: PromptMarketOrgSetupParams): void => {
+ if (isOwner) {
+ confirmModal({
+ cancelText: t('cancel', { ns: 'common' }),
+ content: t('fork.orgSetupRequired.ownerContent', { ns: 'discover' }),
+ okText: t('fork.orgSetupRequired.ownerOk', { ns: 'discover' }),
+ onOk: () => {
+ onSetup?.();
+ },
+ title: t('fork.orgSetupRequired.title', { ns: 'discover' }),
+ });
+ return;
+ }
+
+ confirmModal({
+ // confirmModal always renders both buttons. There's nothing a non-owner
+ // can do themselves, so both buttons just dismiss the modal — the OK
+ // and Cancel labels collapse into "Got it" / "Close" to avoid implying
+ // there's an action to take.
+ cancelText: t('close', { ns: 'common' }),
+ content: t('fork.orgSetupRequired.memberContent', { ns: 'discover' }),
+ okText: t('gotIt', { ns: 'common' }),
+ title: t('fork.orgSetupRequired.title', { ns: 'discover' }),
+ });
+};
diff --git a/src/routes/(main)/eval/_layout/Sidebar/Content.tsx b/src/routes/(main)/eval/_layout/Sidebar/Content.tsx
new file mode 100644
index 00000000000..8dd582f9aab
--- /dev/null
+++ b/src/routes/(main)/eval/_layout/Sidebar/Content.tsx
@@ -0,0 +1,14 @@
+'use client';
+
+import { memo } from 'react';
+
+import SideBarLayout from '@/features/NavPanel/SideBarLayout';
+
+import Body from './Body';
+import Header from './Header';
+
+const EvalSidebarContent = memo(() => <SideBarLayout body={<Body />} header={<Header />} />);
+
+EvalSidebarContent.displayName = 'EvalSidebarContent';
+
+export default EvalSidebarContent;
diff --git a/src/routes/(main)/eval/_layout/Sidebar/index.tsx b/src/routes/(main)/eval/_layout/Sidebar/index.tsx
index f6c4aec0572..fe5fd4aed42 100644
--- a/src/routes/(main)/eval/_layout/Sidebar/index.tsx
+++ b/src/routes/(main)/eval/_layout/Sidebar/index.tsx
@@ -3,18 +3,14 @@
import { memo } from 'react';
import { NavPanelPortal } from '@/features/NavPanel';
-import SideBarLayout from '@/features/NavPanel/SideBarLayout';
-import Body from './Body';
-import Header from './Header';
+import EvalSidebarContent from './Content';
-const Sidebar = memo(() => {
- return (
- <NavPanelPortal navKey="eval">
- <SideBarLayout body={<Body />} header={<Header />} />
- </NavPanelPortal>
- );
-});
+const Sidebar = memo(() => (
+ <NavPanelPortal navKey="eval">
+ <EvalSidebarContent />
+ </NavPanelPortal>
+));
Sidebar.displayName = 'EvalSidebar';
diff --git a/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx b/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx
index eba69062e58..9834c339bd8 100644
--- a/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx
+++ b/src/routes/(main)/group/_layout/Sidebar/AddGroupMemberModal/AvailableAgentList.tsx
@@ -1,17 +1,22 @@
'use client';
-import { Flexbox, SearchBar, Skeleton } from '@lobehub/ui';
+import { Flexbox, SearchBar, Skeleton, Text } from '@lobehub/ui';
import { createStaticStyles } from 'antd-style';
+import isEqual from 'fast-deep-equal';
import { type ChangeEvent } from 'react';
import { memo, useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Virtuoso } from 'react-virtuoso';
import AgentSelectionEmpty from '@/features/AgentSelectionEmpty';
+import { useHomeStore } from '@/store/home';
+import { homeAgentListSelectors } from '@/store/home/selectors';
import { type AgentItemData } from './AgentItem';
import AgentItem from './AgentItem';
+type Row = { agent: AgentItemData; type: 'agent' } | { label: string; type: 'header' };
+
const styles = createStaticStyles(({ css, cssVar }) => ({
container: css`
user-select: none;
@@ -24,6 +29,11 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
padding-block: ${cssVar.paddingSM}px 0;
padding-inline: ${cssVar.paddingSM}px;
`,
+ sectionHeader: css`
+ padding-block: 6px 4px;
+ padding-inline: 8px;
+ color: ${cssVar.colorTextSecondary};
+ `,
}));
interface AvailableAgentListProps {
@@ -37,6 +47,18 @@ const AvailableAgentList = memo<AvailableAgentListProps>(({ agents, isLoading })
const defaultTitle = useMemo(() => t('defaultSession', { ns: 'common' }), [t]);
+ // Mirror the CreateGroupModal split: derive private agent ids from the home
+ // store so we can bucket the modal's flat list into private/workspace
+ // sections without changing the shared `AvailableAgentItem` payload.
+ const privateGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateUngrouped = useHomeStore(homeAgentListSelectors.privateUngroupedAgents, isEqual);
+ const privateAgentIds = useMemo(() => {
+ const ids = new Set<string>();
+ for (const g of privateGroups) for (const a of g.items) ids.add(a.id);
+ for (const a of privateUngrouped) ids.add(a.id);
+ return ids;
+ }, [privateGroups, privateUngrouped]);
+
const handleSearchChange = useCallback((e: ChangeEvent<HTMLInputElement>) => {
setSearchTerm(e.target.value);
}, []);
@@ -55,6 +77,25 @@ const AvailableAgentList = memo<AvailableAgentListProps>(({ agents, isLoading })
});
}, [agents, searchTerm]);
+ const rows = useMemo<Row[]>(() => {
+ const privateList: AgentItemData[] = [];
+ const workspaceList: AgentItemData[] = [];
+ for (const agent of filteredAgents) {
+ (privateAgentIds.has(agent.id) ? privateList : workspaceList).push(agent);
+ }
+
+ if (privateList.length === 0 || workspaceList.length === 0) {
+ return filteredAgents.map((agent) => ({ agent, type: 'agent' }));
+ }
+
+ return [
+ { label: t('mention.category.privateAgents', { ns: 'chat' }), type: 'header' },
+ ...privateList.map((agent) => ({ agent, type: 'agent' as const })),
+ { label: t('mention.category.workspaceAgents', { ns: 'chat' }), type: 'header' },
+ ...workspaceList.map((agent) => ({ agent, type: 'agent' as const })),
+ ];
+ }, [filteredAgents, privateAgentIds, t]);
+
return (
<Flexbox className={styles.container} gap={12}>
<SearchBar
@@ -80,11 +121,23 @@ const AvailableAgentList = memo<AvailableAgentListProps>(({ agents, isLoading })
) : (
<Virtuoso
style={{ flex: 1 }}
- totalCount={filteredAgents.length}
+ totalCount={rows.length}
itemContent={(index) => {
- const agent = filteredAgents[index];
+ const row = rows[index];
+ if (row.type === 'header') {
+ return (
+ <Text className={styles.sectionHeader} fontSize={12} type="secondary">
+ {row.label}
+ </Text>
+ );
+ }
return (
- <AgentItem showCheckbox agent={agent} defaultTitle={defaultTitle} key={agent.id} />
+ <AgentItem
+ showCheckbox
+ agent={row.agent}
+ defaultTitle={defaultTitle}
+ key={row.agent.id}
+ />
);
}}
/>
diff --git a/src/routes/(main)/home/_layout/Body/Agent/CreateAgentButton.tsx b/src/routes/(main)/home/_layout/Body/Agent/CreateAgentButton.tsx
index 98a33b58c27..5d2b9d4fd42 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/CreateAgentButton.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/CreateAgentButton.tsx
@@ -40,9 +40,10 @@ const styles = createStaticStyles(({ css }) => ({
interface CreateAgentButtonProps {
className?: string;
groupId?: string;
+ visibility?: 'private' | 'public';
}
-const CreateAgentButton = memo<CreateAgentButtonProps>(({ groupId, className }) => {
+const CreateAgentButton = memo<CreateAgentButtonProps>(({ groupId, className, visibility }) => {
const { t } = useTranslation('chat');
const { allowed: canCreate, reason } = usePermission('create_content');
const {
@@ -56,9 +57,16 @@ const CreateAgentButton = memo<CreateAgentButtonProps>(({ groupId, className })
} = useCreateMenuItems();
const isCustomGroup = Boolean(groupId) && groupId !== SessionDefaultGroup.Default;
+ // Always carry visibility so agents created inside a private session group
+ // land in the private bucket (otherwise they default to public and end up
+ // orphaned — invisible in both lists). groupId is only attached for custom
+ // groups so the default list keeps creating top-level agents.
const menuOptions = useMemo(
- () => (isCustomGroup ? { groupId } : undefined),
- [groupId, isCustomGroup],
+ () =>
+ isCustomGroup || visibility
+ ? { ...(isCustomGroup ? { groupId } : {}), ...(visibility ? { visibility } : {}) }
+ : undefined,
+ [groupId, isCustomGroup, visibility],
);
const dropdownItems = useMemo(() => {
@@ -81,9 +89,9 @@ const CreateAgentButton = memo<CreateAgentButtonProps>(({ groupId, className })
const handleClick = () => {
if (!canCreate) return;
if (openCreateModal) {
- openCreateModal('agent', isCustomGroup ? { groupId } : undefined);
+ openCreateModal('agent', menuOptions);
} else {
- createAgent(isCustomGroup ? { groupId } : undefined);
+ createAgent(menuOptions);
}
};
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/index.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/index.tsx
index 24d452f7c9b..447269e82ac 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/index.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/index.tsx
@@ -79,7 +79,7 @@ interface AgentItemProps {
}
const AgentItem = memo<AgentItemProps>(({ item, style, className, onNavigate }) => {
- const { id, avatar, backgroundColor, title, pinned } = item;
+ const { id, avatar, backgroundColor, title, pinned, heterogeneousType, visibility } = item;
// Unread count is server-computed (topics.status === 'unread') and carried on
// the sidebar list item, so it stays accurate across agents whose topics
// aren't loaded into the chat store on this client.
@@ -126,8 +126,8 @@ const AgentItem = memo<AgentItemProps>(({ item, style, className, onNavigate })
);
const handleOpenCreateGroupModal = useCallback(() => {
- openCreateGroupModal(id);
- }, [id, openCreateGroupModal]);
+ openCreateGroupModal(id, visibility);
+ }, [id, openCreateGroupModal, visibility]);
// Memoize pin icon
const pinIcon = useMemo(
@@ -183,6 +183,7 @@ const AgentItem = memo<AgentItemProps>(({ item, style, className, onNavigate })
openCreateGroupModal: handleOpenCreateGroupModal,
pinned: pinned ?? false,
title: displayTitle,
+ visibility,
});
return (
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/useDropdownMenu.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/useDropdownMenu.tsx
index c0abcd0857c..14fb670079c 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/useDropdownMenu.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/AgentItem/useDropdownMenu.tsx
@@ -1,4 +1,4 @@
-import { SessionDefaultGroup } from '@lobechat/types';
+import { SessionDefaultGroup, type SidebarVisibility } from '@lobechat/types';
import { type MenuProps } from '@lobehub/ui';
import { Icon } from '@lobehub/ui';
import { confirmModal } from '@lobehub/ui/base-ui';
@@ -7,6 +7,7 @@ import isEqual from 'fast-deep-equal';
import {
Check,
FolderInputIcon,
+ GlobeIcon,
LucideCopy,
LucidePlus,
Pen,
@@ -18,9 +19,11 @@ import {
import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useAgentTransferMenuItem } from '@/business/client/hooks/useAgentTransferMenuItem';
import { openEditingPopover } from '@/features/EditingPopover/store';
import { usePermission } from '@/hooks/usePermission';
+import { agentService } from '@/services/agent';
import { useGlobalStore } from '@/store/global';
import { useHomeStore } from '@/store/home';
import { homeAgentListSelectors } from '@/store/home/selectors';
@@ -34,6 +37,7 @@ interface UseAgentDropdownMenuParams {
openCreateGroupModal: () => void;
pinned: boolean;
title: string;
+ visibility?: SidebarVisibility;
}
export const useAgentDropdownMenu = ({
@@ -45,12 +49,23 @@ export const useAgentDropdownMenu = ({
openCreateGroupModal,
pinned,
title,
+ visibility,
}: UseAgentDropdownMenuParams): (() => MenuProps['items']) => {
const { t } = useTranslation(['chat', 'common']);
const { message } = App.useApp();
const openAgentInNewWindow = useGlobalStore((s) => s.openAgentInNewWindow);
- const sessionCustomGroups = useHomeStore(homeAgentListSelectors.agentGroups, isEqual);
+ // Pick the group bucket that matches this agent's visibility so the
+ // "Move to group" picker only offers same-scope targets — moving a private
+ // agent into a public group (or vice versa) would orphan it from the view
+ // it currently lives in.
+ const sessionCustomGroups = useHomeStore(
+ visibility === 'private'
+ ? homeAgentListSelectors.privateAgentGroups
+ : homeAgentListSelectors.agentGroups,
+ isEqual,
+ );
+ const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
const [pinAgent, duplicateAgent, updateAgentGroup, removeAgent] = useHomeStore((s) => [
s.pinAgent,
s.duplicateAgent,
@@ -58,6 +73,16 @@ export const useAgentDropdownMenu = ({
s.removeAgent,
]);
+ // "Publish to Workspace" is a one-way action and only meaningful inside a
+ // workspace: in personal mode every row is implicitly owner-private. Once
+ // an agent is `public`, other members may already use it, so we never let
+ // it slip back to `private`. The menu item only appears for private
+ // agents in workspace mode; the server is the source of truth for whether
+ // the viewer is the creator and rejects requests from anyone else.
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const isPrivate = visibility === 'private';
+ const showPublishAction = Boolean(activeWorkspaceId) && isPrivate;
+
// Viewer has no write permissions on agents — disable every mutating menu
// item (pin/rename/duplicate/move/delete) while keeping the menu visible
// so they can still inspect what actions exist. `openInNewWindow` is a
@@ -149,6 +174,54 @@ export const useAgentDropdownMenu = ({
{ type: 'divider' },
...(transferMenuItems ?? []),
...(transferMenuItems?.length ? [{ type: 'divider' as const }] : []),
+ ...(showPublishAction
+ ? [
+ {
+ disabled: !canEdit,
+ icon: <Icon icon={GlobeIcon} />,
+ key: 'publishToWorkspace',
+ label: t('agent.publishToWorkspace', { defaultValue: 'Publish to Workspace' }),
+ onClick: async ({ domEvent }: any) => {
+ domEvent?.stopPropagation();
+ if (!canEdit) return;
+ // Soft confirm because the action is irreversible: once
+ // teammates start using a published agent, the change
+ // can't be rolled back from the UI.
+ confirmModal({
+ cancelText: t('cancel', { ns: 'common' }),
+ content: t('agent.publishToWorkspaceConfirm', {
+ defaultValue:
+ 'Other workspace members will be able to use this agent. ' +
+ 'You will not be able to make it private again.',
+ }),
+ okText: t('agent.publishToWorkspace', {
+ defaultValue: 'Publish to Workspace',
+ }),
+ onOk: async () => {
+ try {
+ await agentService.publishAgentToWorkspace(id);
+ await refreshAgentList();
+ message.success(
+ t('agent.publishToWorkspaceSuccess', {
+ defaultValue: 'Published to workspace',
+ }),
+ );
+ } catch (error) {
+ console.error('Failed to publish agent:', error);
+ message.error(
+ t('error', { ns: 'common', defaultValue: 'Operation failed' }),
+ );
+ }
+ },
+ title: t('agent.publishToWorkspace', {
+ defaultValue: 'Publish to Workspace',
+ }),
+ });
+ },
+ },
+ { type: 'divider' as const },
+ ]
+ : []),
{
danger: true,
disabled: !canEdit,
@@ -186,6 +259,9 @@ export const useAgentDropdownMenu = ({
openCreateGroupModal,
message,
transferMenuItems,
+ showPublishAction,
+ refreshAgentList,
+ t,
],
);
};
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/AgentListContent.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/AgentListContent.tsx
index a0eedeea66f..cc7962e5de1 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/AgentListContent.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/AgentListContent.tsx
@@ -3,7 +3,6 @@
import { memo, useMemo } from 'react';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
-import { useFetchAgentList } from '@/hooks/useFetchAgentList';
import { useHomeStore } from '@/store/home';
import { homeAgentListSelectors } from '@/store/home/selectors';
import { SessionDefaultGroup } from '@/types/index';
@@ -17,13 +16,19 @@ interface AgentListContentProps {
onMoreClick?: () => void;
}
-// Keep this drawer-free so compact switchers can reuse the list without coupling to Home drawer state.
+// Keep this drawer-free so compact switchers can reuse the list without
+// coupling to Home drawer state. Renders only workspace-public content;
+// private items live in the sibling `Private` accordion section so
+// workspace-shared and personal agents stay visually distinct.
+//
+// SWR subscription is owned by the enclosing accordion (Body/Agent/index.tsx)
+// or by a standalone caller (e.g. SwitchPanel). Subscribing here too would
+// re-fetch the list every time the accordion is expanded, animating the
+// spinner on both Public and Private headers for no good reason.
const AgentListContent = memo<AgentListContentProps>(({ onMoreClick }) => {
const isInit = useHomeStore(homeAgentListSelectors.isAgentListInit);
const { customList, pinnedList, defaultList } = useAgentList();
- useFetchAgentList();
-
// Memoize computed visibility flags to prevent unnecessary recalculations
const { showPinned, showCustom } = useMemo(() => {
const hasPinned = Boolean(pinnedList?.length);
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/Group/Item.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/Group/Item.tsx
index 7df09415444..bcefbb5c51b 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/Group/Item.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/Group/Item.tsx
@@ -18,7 +18,7 @@ const styles = createStaticStyles(({ css }) => ({
`,
}));
-const GroupItem = memo<SidebarGroup>(({ items, id, name }) => {
+const GroupItem = memo<SidebarGroup>(({ items, id, name, visibility }) => {
const [anchor, setAnchor] = useState<HTMLElement | null>(null);
const isUpdating = useHomeStore((s) => s.groupUpdatingId === id);
@@ -29,8 +29,8 @@ const GroupItem = memo<SidebarGroup>(({ items, id, name }) => {
const { isLoading } = useCreateMenuItems();
const handleOpenConfigGroupModal = useCallback(() => {
- openConfigGroupModal();
- }, [openConfigGroupModal]);
+ openConfigGroupModal(visibility);
+ }, [openConfigGroupModal, visibility]);
const dropdownMenu = useGroupDropdownMenu({
anchor,
@@ -38,6 +38,7 @@ const GroupItem = memo<SidebarGroup>(({ items, id, name }) => {
isCustomGroup: true,
name,
openConfigGroupModal: handleOpenConfigGroupModal,
+ visibility,
});
const groupIcon = useMemo(() => {
@@ -69,7 +70,12 @@ const GroupItem = memo<SidebarGroup>(({ items, id, name }) => {
</Flexbox>
}
>
- <SessionList dataSource={items} groupId={id} itemClassName={styles.item} />
+ <SessionList
+ dataSource={items}
+ groupId={id}
+ itemClassName={styles.item}
+ visibility={visibility}
+ />
</AccordionItem>
);
});
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/Group/index.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/Group/index.tsx
index 1d3720f8766..ff21c62610d 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/Group/index.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/Group/index.tsx
@@ -2,6 +2,7 @@ import { type SidebarGroup } from '@lobechat/types';
import { Accordion } from '@lobehub/ui';
import React, { memo } from 'react';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useGlobalStore } from '@/store/global';
import { systemStatusSelectors } from '@/store/global/selectors';
@@ -12,10 +13,11 @@ interface GroupProps {
}
const Group = memo<GroupProps>(({ dataSource }) => {
- const [sessionGroupKeys, updateSystemStatus] = useGlobalStore((s) => [
- systemStatusSelectors.sessionGroupKeys(s),
- s.updateSystemStatus,
- ]);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const sessionGroupKeys = useGlobalStore(
+ systemStatusSelectors.sessionGroupKeys(activeWorkspaceId),
+ );
+ const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
return (
<Accordion
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/Group/useDropdownMenu.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/Group/useDropdownMenu.tsx
index ae4be2361f4..504fba02028 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/Group/useDropdownMenu.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/Group/useDropdownMenu.tsx
@@ -1,5 +1,16 @@
+import { type SidebarVisibility } from '@lobechat/types';
import { type MenuProps } from '@lobehub/ui';
+import { Icon } from '@lobehub/ui';
+import { confirmModal } from '@lobehub/ui/base-ui';
+import { App } from 'antd';
+import { GlobeIcon } from 'lucide-react';
import { useMemo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { usePermission } from '@/hooks/usePermission';
+import { lambdaClient } from '@/libs/trpc/client';
+import { useHomeStore } from '@/store/home';
import { useCreateMenuItems, useSessionGroupMenuItems } from '../../../../hooks';
@@ -10,6 +21,7 @@ interface GroupDropdownMenuProps {
isPinned?: boolean;
name?: string;
openConfigGroupModal: () => void;
+ visibility?: SidebarVisibility;
}
export const useGroupDropdownMenu = ({
@@ -19,7 +31,13 @@ export const useGroupDropdownMenu = ({
isPinned,
name,
openConfigGroupModal,
+ visibility,
}: GroupDropdownMenuProps): MenuProps['items'] => {
+ const { t } = useTranslation(['common', 'chat']);
+ const { message } = App.useApp();
+ const { allowed: canEdit } = usePermission('edit_own_content');
+ const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
+
// Session group menu items
const { renameGroupMenuItem, configGroupMenuItem, deleteGroupMenuItem } =
useSessionGroupMenuItems();
@@ -27,19 +45,81 @@ export const useGroupDropdownMenu = ({
// Create menu items
const { createAgentMenuItem, createGroupChatMenuItem } = useCreateMenuItems();
+ // "Publish to Workspace" is one-way and only meaningful in workspace mode
+ // for the creator's own still-private folder. Once a folder is `public`,
+ // members may have anchored their own work to it, so it can't be
+ // re-privatized. The server enforces both rules; the UI just hides the
+ // entry when it would never succeed.
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const isPrivate = visibility === 'private';
+ const showPublishAction = Boolean(activeWorkspaceId && id && isCustomGroup) && isPrivate;
+
return useMemo(() => {
- const createAgentItem = createAgentMenuItem({ groupId: id, isPinned });
- const createGroupChatItem = createGroupChatMenuItem({ groupId: id });
+ const createAgentItem = createAgentMenuItem({ groupId: id, isPinned, visibility });
+ const createGroupChatItem = createGroupChatMenuItem({ groupId: id, visibility });
const configItem = configGroupMenuItem(openConfigGroupModal);
const renameItem = id && name ? renameGroupMenuItem(id, name, anchor) : null;
const deleteItem = id ? deleteGroupMenuItem(id) : null;
+ const publishItem = showPublishAction
+ ? {
+ disabled: !canEdit,
+ icon: <Icon icon={GlobeIcon} />,
+ key: 'publishToWorkspace',
+ label: t('sessionGroup.publishToWorkspace', {
+ defaultValue: 'Publish to Workspace',
+ ns: 'chat',
+ }),
+ onClick: async (info: any) => {
+ info.domEvent?.stopPropagation();
+ if (!canEdit || !id) return;
+ confirmModal({
+ cancelText: t('cancel'),
+ content: t('sessionGroup.publishToWorkspaceConfirm', {
+ defaultValue:
+ 'Other workspace members will be able to use this folder. ' +
+ 'You will not be able to make it private again.',
+ ns: 'chat',
+ }),
+ okText: t('sessionGroup.publishToWorkspace', {
+ defaultValue: 'Publish to Workspace',
+ ns: 'chat',
+ }),
+ onOk: async () => {
+ try {
+ await lambdaClient.sessionGroup.publishSessionGroupToWorkspace.mutate({ id });
+ await refreshAgentList();
+ message.success(
+ t('sessionGroup.publishToWorkspaceSuccess', {
+ defaultValue: 'Published to workspace',
+ ns: 'chat',
+ }),
+ );
+ } catch (error) {
+ console.error('Failed to publish group:', error);
+ message.error(t('error', { defaultValue: 'Operation failed' }));
+ }
+ },
+ title: t('sessionGroup.publishToWorkspace', {
+ defaultValue: 'Publish to Workspace',
+ ns: 'chat',
+ }),
+ });
+ },
+ }
+ : null;
return [
createAgentItem,
createGroupChatItem,
{ type: 'divider' as const },
...(isCustomGroup
- ? [renameItem, configItem, { type: 'divider' as const }, deleteItem]
+ ? [
+ renameItem,
+ configItem,
+ ...(publishItem ? [{ type: 'divider' as const }, publishItem] : []),
+ { type: 'divider' as const },
+ deleteItem,
+ ]
: [configItem]),
].filter(Boolean) as MenuProps['items'];
}, [
@@ -48,11 +128,17 @@ export const useGroupDropdownMenu = ({
id,
isPinned,
name,
+ visibility,
createAgentMenuItem,
createGroupChatMenuItem,
configGroupMenuItem,
renameGroupMenuItem,
deleteGroupMenuItem,
openConfigGroupModal,
+ showPublishAction,
+ canEdit,
+ message,
+ refreshAgentList,
+ t,
]);
};
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/List.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/List.tsx
index 6b3d61d54c8..45a17d7b4a9 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/List.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/List.tsx
@@ -22,10 +22,11 @@ interface SessionListProps {
itemClassName?: string;
itemStyle?: CSSProperties;
onMoreClick?: () => void;
+ visibility?: 'private' | 'public';
}
const List = memo<SessionListProps>(
- ({ onMoreClick, dataSource, groupId, itemStyle, itemClassName }) => {
+ ({ onMoreClick, dataSource, groupId, itemStyle, itemClassName, visibility }) => {
const { t } = useTranslation('chat');
// Early return for empty state
@@ -48,7 +49,7 @@ const List = memo<SessionListProps>(
if (isEmpty) {
return showCreateButton ? (
- <CreateAgentButton className={itemClassName} groupId={groupId} />
+ <CreateAgentButton className={itemClassName} groupId={groupId} visibility={visibility} />
) : null;
}
@@ -68,7 +69,9 @@ const List = memo<SessionListProps>(
onClick={onMoreClick || openAllAgentsDrawer}
/>
)}
- {showCreateButton && <CreateAgentButton className={itemClassName} groupId={groupId} />}
+ {showCreateButton && (
+ <CreateAgentButton className={itemClassName} groupId={groupId} visibility={visibility} />
+ )}
</Flexbox>
);
},
diff --git a/src/routes/(main)/home/_layout/Body/Agent/List/useAgentList.tsx b/src/routes/(main)/home/_layout/Body/Agent/List/useAgentList.tsx
index 884c2320933..69d8829210a 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/List/useAgentList.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/List/useAgentList.tsx
@@ -3,15 +3,15 @@
import isEqual from 'fast-deep-equal';
import { useMemo } from 'react';
-import { useFetchAgentList } from '@/hooks/useFetchAgentList';
import { useGlobalStore } from '@/store/global';
import { systemStatusSelectors } from '@/store/global/selectors';
import { useHomeStore } from '@/store/home';
import { homeAgentListSelectors } from '@/store/home/selectors';
+// SWR subscription is owned by the caller of AgentListContent (Body/Agent
+// accordion, or the standalone SwitchPanel). Subscribing here would re-fetch
+// on every accordion expand and flash spinners across the sidebar.
export const useAgentList = (limitDefault = true) => {
- useFetchAgentList();
-
const agentPageSize = useGlobalStore(systemStatusSelectors.agentPageSize);
const ungroupedAgents = useHomeStore(
limitDefault
@@ -21,12 +21,19 @@ export const useAgentList = (limitDefault = true) => {
);
const agentGroups = useHomeStore(homeAgentListSelectors.agentGroups, isEqual);
const pinnedAgents = useHomeStore(homeAgentListSelectors.pinnedAgents, isEqual);
+ const privateAgentGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateUngroupedAgents = useHomeStore(
+ homeAgentListSelectors.privateUngroupedAgents,
+ isEqual,
+ );
return useMemo(() => {
return {
customList: agentGroups,
defaultList: ungroupedAgents,
pinnedList: pinnedAgents,
+ privateGroupList: privateAgentGroups,
+ privateUngroupedList: privateUngroupedAgents,
};
- }, [agentGroups, pinnedAgents, ungroupedAgents]);
+ }, [agentGroups, pinnedAgents, ungroupedAgents, privateAgentGroups, privateUngroupedAgents]);
};
diff --git a/src/routes/(main)/home/_layout/Body/Agent/ModalProvider.tsx b/src/routes/(main)/home/_layout/Body/Agent/ModalProvider.tsx
index cdaf23280f6..1abeb1edf12 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/ModalProvider.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/ModalProvider.tsx
@@ -20,6 +20,14 @@ import CreateGroupModal from './Modals/CreateGroupModal';
interface OpenCreateModalOptions {
groupId?: string;
+ /**
+ * Threaded into the create flow so the resulting agent / group lands in the
+ * Private bucket of the sidebar. Omitted means "public" — the existing
+ * default. Honored by the inner CreateModalRenderer when it calls
+ * `storeCreateAgent` (the chat-group path defers to its own
+ * publish-to-workspace toggle inside the profile page).
+ */
+ visibility?: 'private' | 'public';
}
interface AgentModalContextValue {
@@ -28,8 +36,8 @@ interface AgentModalContextValue {
closeCreateGroupModal: () => void;
closeGroupWizardModal: () => void;
closeMemberSelectionModal: () => void;
- openConfigGroupModal: () => void;
- openCreateGroupModal: (sessionId: string) => void;
+ openConfigGroupModal: (scope?: 'private' | 'public') => void;
+ openCreateGroupModal: (sessionId: string, visibility?: 'private' | 'public') => void;
openCreateModal: (type: 'agent' | 'group', options?: OpenCreateModalOptions) => void;
openCreatePlatformAgentModal: (options?: OpenCreateModalOptions) => void;
openGroupWizardModal: (callbacks: GroupWizardCallbacks) => void;
@@ -67,65 +75,68 @@ interface CreateModalRendererProps {
onClose: () => void;
open: boolean;
type: 'agent' | 'group';
+ visibility?: 'private' | 'public';
}
-const CreateModalRenderer = memo<CreateModalRendererProps>(({ open, type, groupId, onClose }) => {
- const navigate = useWorkspaceAwareNavigate();
- const inboxAgentId = useAgentStore(builtinAgentSelectors.inboxAgentId);
- const storeCreateAgent = useAgentStore((s) => s.createAgent);
- const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
- const sendAsAgent = useHomeStore((s) => s.sendAsAgent);
- const sendAsGroup = useHomeStore((s) => s.sendAsGroup);
+const CreateModalRenderer = memo<CreateModalRendererProps>(
+ ({ open, type, groupId, onClose, visibility }) => {
+ const navigate = useWorkspaceAwareNavigate();
+ const inboxAgentId = useAgentStore(builtinAgentSelectors.inboxAgentId);
+ const storeCreateAgent = useAgentStore((s) => s.createAgent);
+ const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
+ const sendAsAgent = useHomeStore((s) => s.sendAsAgent);
+ const sendAsGroup = useHomeStore((s) => s.sendAsGroup);
- const handleSubmit = useCallback(
- async (prompt: string) => {
+ const handleSubmit = useCallback(
+ async (prompt: string) => {
+ if (type === 'agent') {
+ await sendAsAgent({ groupId, message: prompt });
+ } else {
+ await sendAsGroup({ groupId, message: prompt });
+ }
+ },
+ [type, sendAsAgent, sendAsGroup, groupId],
+ );
+
+ const handleCreateBlank = useCallback(async () => {
if (type === 'agent') {
- await sendAsAgent({ groupId, message: prompt });
+ const result = await storeCreateAgent({ groupId, visibility });
+ useGlobalStore.getState().toggleAgentBuilderPanel(true);
+ navigate(`/agent/${result.agentId}/profile`);
+ await refreshAgentList();
} else {
- await sendAsGroup({ groupId, message: prompt });
+ await sendAsGroup({ groupId, message: '' });
}
- },
- [type, sendAsAgent, sendAsGroup, groupId],
- );
+ }, [type, storeCreateAgent, navigate, refreshAgentList, sendAsGroup, groupId, visibility]);
- const handleCreateBlank = useCallback(async () => {
- if (type === 'agent') {
- const result = await storeCreateAgent({ groupId });
- useGlobalStore.getState().toggleAgentBuilderPanel(true);
- navigate(`/agent/${result.agentId}/profile`);
- await refreshAgentList();
- } else {
- await sendAsGroup({ groupId, message: '' });
- }
- }, [type, storeCreateAgent, navigate, refreshAgentList, sendAsGroup, groupId]);
-
- const handleOpenSkills = useCallback(
- (identifier: string) => {
- onClose();
- navigate(`/settings/skill?tab=skill&skill=${encodeURIComponent(identifier)}`);
- },
- [navigate, onClose],
- );
+ const handleOpenSkills = useCallback(
+ (identifier: string) => {
+ onClose();
+ navigate(`/settings/skill?tab=skill&skill=${encodeURIComponent(identifier)}`);
+ },
+ [navigate, onClose],
+ );
- const handleTryInLobeAI = useCallback(() => {
- if (!inboxAgentId) return;
+ const handleTryInLobeAI = useCallback(() => {
+ if (!inboxAgentId) return;
- navigate(AGENT_CHAT_URL(inboxAgentId, false));
- }, [inboxAgentId, navigate]);
+ navigate(AGENT_CHAT_URL(inboxAgentId, false));
+ }, [inboxAgentId, navigate]);
- return (
- <CreateAgentModal
- agentId={inboxAgentId}
- open={open}
- type={type}
- onClose={onClose}
- onCreateBlank={handleCreateBlank}
- onOpenSkills={handleOpenSkills}
- onSubmit={handleSubmit}
- onTryInLobeAI={handleTryInLobeAI}
- />
- );
-});
+ return (
+ <CreateAgentModal
+ agentId={inboxAgentId}
+ open={open}
+ type={type}
+ onClose={onClose}
+ onCreateBlank={handleCreateBlank}
+ onOpenSkills={handleOpenSkills}
+ onSubmit={handleSubmit}
+ onTryInLobeAI={handleTryInLobeAI}
+ />
+ );
+ },
+);
interface AgentModalProviderProps {
children: ReactNode;
@@ -135,9 +146,15 @@ export const AgentModalProvider = memo<AgentModalProviderProps>(({ children }) =
// CreateGroupModal state
const [createGroupModalOpen, setCreateGroupModalOpen] = useState(false);
const [createGroupSessionId, setCreateGroupSessionId] = useState<string>('');
+ const [createGroupVisibility, setCreateGroupVisibility] = useState<
+ 'private' | 'public' | undefined
+ >(undefined);
// ConfigGroupModal state
const [configGroupModalOpen, setConfigGroupModalOpen] = useState(false);
+ const [configGroupModalScope, setConfigGroupModalScope] = useState<'private' | 'public'>(
+ 'public',
+ );
// GroupWizard state
const [groupWizardOpen, setGroupWizardOpen] = useState(false);
@@ -153,6 +170,9 @@ export const AgentModalProvider = memo<AgentModalProviderProps>(({ children }) =
const [createModalOpen, setCreateModalOpen] = useState(false);
const [createModalType, setCreateModalType] = useState<'agent' | 'group'>('agent');
const [createModalGroupId, setCreateModalGroupId] = useState<string | undefined>(undefined);
+ const [createModalVisibility, setCreateModalVisibility] = useState<
+ 'private' | 'public' | undefined
+ >(undefined);
const contextValue = useMemo<AgentModalContextValue>(
() => ({
@@ -167,18 +187,26 @@ export const AgentModalProvider = memo<AgentModalProviderProps>(({ children }) =
closeCreateGroupModal: () => setCreateGroupModalOpen(false),
closeGroupWizardModal: () => setGroupWizardOpen(false),
closeMemberSelectionModal: () => setMemberSelectionOpen(false),
- openConfigGroupModal: () => setConfigGroupModalOpen(true),
- openCreateGroupModal: (sessionId: string) => {
+ openConfigGroupModal: (scope?: 'private' | 'public') => {
+ setConfigGroupModalScope(scope ?? 'public');
+ setConfigGroupModalOpen(true);
+ },
+ openCreateGroupModal: (sessionId: string, visibility?: 'private' | 'public') => {
setCreateGroupSessionId(sessionId);
+ setCreateGroupVisibility(visibility);
setCreateGroupModalOpen(true);
},
openCreateModal: (type: 'agent' | 'group', options?: OpenCreateModalOptions) => {
setCreateModalType(type);
setCreateModalGroupId(options?.groupId);
+ setCreateModalVisibility(options?.visibility);
setCreateModalOpen(true);
},
openCreatePlatformAgentModal: (options?: OpenCreateModalOptions) => {
- openCreatePlatformAgentModal({ groupId: options?.groupId });
+ openCreatePlatformAgentModal({
+ groupId: options?.groupId,
+ visibility: options?.visibility,
+ });
},
openGroupWizardModal: (callbacks: GroupWizardCallbacks) => {
setGroupWizardCallbacks(callbacks);
@@ -199,6 +227,7 @@ export const AgentModalProvider = memo<AgentModalProviderProps>(({ children }) =
groupId={createModalGroupId}
open={createModalOpen}
type={createModalType}
+ visibility={createModalVisibility}
onClose={() => setCreateModalOpen(false)}
/>
{children}
@@ -208,12 +237,14 @@ export const AgentModalProvider = memo<AgentModalProviderProps>(({ children }) =
<CreateGroupModal
id={createGroupSessionId}
open={createGroupModalOpen}
+ visibility={createGroupVisibility}
onCancel={() => setCreateGroupModalOpen(false)}
/>
)}
<ConfigGroupModal
open={configGroupModalOpen}
+ scope={configGroupModalScope}
onCancel={() => setConfigGroupModalOpen(false)}
/>
diff --git a/src/routes/(main)/home/_layout/Body/Agent/Modals/ConfigGroupModal/index.tsx b/src/routes/(main)/home/_layout/Body/Agent/Modals/ConfigGroupModal/index.tsx
index 50a9cf64fc7..605f47046e0 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/Modals/ConfigGroupModal/index.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/Modals/ConfigGroupModal/index.tsx
@@ -26,13 +26,20 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
`,
}));
-const ConfigGroupModal = memo<ModalProps>(({ open, onCancel }) => {
+interface ConfigGroupModalProps extends ModalProps {
+ scope?: 'private' | 'public';
+}
+
+const ConfigGroupModal = memo<ConfigGroupModalProps>(({ open, onCancel, scope = 'public' }) => {
const { t } = useTranslation('chat');
const { allowed: canEdit } = usePermission('edit_own_content');
// Map SidebarGroup to SessionGroupItem-like structure for the sortable list
const sessionGroupItems = useHomeStore(
(s) =>
- homeAgentListSelectors.agentGroups(s).map((g) => ({
+ (scope === 'private'
+ ? homeAgentListSelectors.privateAgentGroups(s)
+ : homeAgentListSelectors.agentGroups(s)
+ ).map((g) => ({
id: g.id,
name: g.name,
sort: g.sort,
@@ -81,7 +88,7 @@ const ConfigGroupModal = memo<ModalProps>(({ open, onCancel }) => {
if (!canEdit) return;
setLoading(true);
- await addGroup(t('sessionGroup.newGroup'));
+ await addGroup(t('sessionGroup.newGroup'), scope === 'private' ? 'private' : undefined);
setLoading(false);
}}
>
diff --git a/src/routes/(main)/home/_layout/Body/Agent/Modals/CreateGroupModal.tsx b/src/routes/(main)/home/_layout/Body/Agent/Modals/CreateGroupModal.tsx
index ab694d575b9..5265a97fe90 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/Modals/CreateGroupModal.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/Modals/CreateGroupModal.tsx
@@ -11,10 +11,11 @@ import { useHomeStore } from '@/store/home';
interface CreateGroupModalProps extends ModalProps {
id: string;
+ visibility?: 'private' | 'public';
}
const CreateGroupModal = memo<CreateGroupModalProps>(
- ({ id, open, onCancel }: CreateGroupModalProps) => {
+ ({ id, open, onCancel, visibility }: CreateGroupModalProps) => {
const { t } = useTranslation('chat');
const { allowed: canCreate } = usePermission('create_content');
@@ -44,7 +45,7 @@ const CreateGroupModal = memo<CreateGroupModalProps>(
return message.warning(t('sessionGroup.tooLong'));
setLoading(true);
- const groupId = await addGroup(input);
+ const groupId = await addGroup(input, visibility);
await updateAgentGroup(id, groupId);
toggleExpandSessionGroup(groupId, true);
setLoading(false);
diff --git a/src/routes/(main)/home/_layout/Body/Agent/index.tsx b/src/routes/(main)/home/_layout/Body/Agent/index.tsx
index 685202e0061..33ba14054ae 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/index.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/index.tsx
@@ -4,6 +4,7 @@ import { AccordionItem, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';
import React, { memo, Suspense, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import NeuralNetworkLoading from '@/components/NeuralNetworkLoading';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import { useFetchAgentList } from '@/hooks/useFetchAgentList';
@@ -21,6 +22,11 @@ interface AgentProps {
const Agent = memo<AgentProps>(({ itemKey }) => {
const { t } = useTranslation('common');
const { isRevalidating } = useFetchAgentList();
+ // In workspace mode the section pairs with the "Private" bucket, so the
+ // public/shared agents are labeled "Public" to make the contrast obvious.
+ // Personal mode has no such duality — keep the existing "Agents" label.
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const titleKey = activeWorkspaceId ? 'navPanel.publicAgents' : 'navPanel.agent';
const { openConfigGroupModal } = useAgentModal();
@@ -51,7 +57,7 @@ const Agent = memo<AgentProps>(({ itemKey }) => {
title={
<Flexbox horizontal align="center" gap={4}>
<Text ellipsis fontSize={12} type={'secondary'} weight={500}>
- {t('navPanel.agent')}
+ {t(titleKey)}
</Text>
{isRevalidating && <NeuralNetworkLoading size={14} />}
</Flexbox>
diff --git a/src/routes/(main)/home/_layout/Body/Agent/useDropdownMenu.tsx b/src/routes/(main)/home/_layout/Body/Agent/useDropdownMenu.tsx
index b87a9f7b299..41ddd7ec83e 100644
--- a/src/routes/(main)/home/_layout/Body/Agent/useDropdownMenu.tsx
+++ b/src/routes/(main)/home/_layout/Body/Agent/useDropdownMenu.tsx
@@ -4,6 +4,7 @@ import { ArrowDownIcon, ArrowUpIcon, Hash, LucideCheck, SlidersHorizontalIcon }
import { useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { openCustomizeSidebarModal } from '@/routes/(main)/home/_layout/Body/CustomizeSidebarModal';
import { useGlobalStore } from '@/store/global';
import { systemStatusSelectors } from '@/store/global/selectors';
@@ -20,12 +21,13 @@ export const useAgentActionsDropdownMenu = ({
}: AgentActionsDropdownMenuProps): MenuProps['items'] => {
const { t } = useTranslation('common');
- const [agentPageSize, sidebarItems, hiddenSections, updateSystemStatus] = useGlobalStore((s) => [
- systemStatusSelectors.agentPageSize(s),
- systemStatusSelectors.sidebarItems(s),
- systemStatusSelectors.hiddenSidebarSections(s),
- s.updateSystemStatus,
- ]);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const agentPageSize = useGlobalStore(systemStatusSelectors.agentPageSize);
+ const sidebarItems = useGlobalStore(systemStatusSelectors.sidebarItems(activeWorkspaceId));
+ const hiddenSections = useGlobalStore(
+ systemStatusSelectors.hiddenSidebarSections(activeWorkspaceId),
+ );
+ const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
const visibleItems = sidebarItems.filter((k) => !hiddenSections.includes(k));
const visibleIndex = visibleItems.indexOf('agent');
diff --git a/src/routes/(main)/home/_layout/Body/CustomizeSidebarModal.tsx b/src/routes/(main)/home/_layout/Body/CustomizeSidebarModal.tsx
index 260094c8ca5..3197a3c05b9 100644
--- a/src/routes/(main)/home/_layout/Body/CustomizeSidebarModal.tsx
+++ b/src/routes/(main)/home/_layout/Body/CustomizeSidebarModal.tsx
@@ -29,14 +29,15 @@ import { memo, useCallback, useMemo, useState } from 'react';
import { createPortal } from 'react-dom';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useActiveWorkspaceSlug } from '@/business/client/hooks/useActiveWorkspaceSlug';
import { getRouteById } from '@/config/routes';
import { useGlobalStore } from '@/store/global';
import { DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS } from '@/store/global/initialState';
import { systemStatusSelectors } from '@/store/global/selectors';
import {
- DEFAULT_HIDDEN_SECTIONS,
DEFAULT_SIDEBAR_ITEMS,
+ getDefaultHiddenSections,
SIDEBAR_ACCORDION_KEYS,
SIDEBAR_SPACER_ID,
} from '@/store/global/selectors/systemStatus';
@@ -58,6 +59,7 @@ const ALL_SIDEBAR_ITEMS: SidebarItemConfig[] = [
{ id: 'tasks', labelKey: 'tab.tasks', routeId: 'tasks' },
{ id: 'pages', labelKey: 'tab.pages', routeId: 'page' },
{ id: 'recents', labelKey: 'recents' },
+ { id: 'private', labelKey: 'navPanel.privateAgents' },
{ alwaysVisible: true, id: 'agent', labelKey: 'navPanel.agent' },
{ id: 'image', labelKey: 'tab.generation', routeId: 'image' },
{ id: 'community', labelKey: 'tab.community', routeId: 'community' },
@@ -65,8 +67,15 @@ const ALL_SIDEBAR_ITEMS: SidebarItemConfig[] = [
{ id: 'memory', labelKey: 'tab.memory', routeId: 'memory' },
];
+// Private is workspace-only; in personal mode every row is implicitly
+// owner-private, so hide it from the customizer where toggling it on
+// would render an empty accordion no user can populate.
export const getAvailableSidebarItems = (isWorkspaceMode: boolean): SidebarItemConfig[] =>
- ALL_SIDEBAR_ITEMS.filter((item) => !(isWorkspaceMode && item.id === 'memory'));
+ ALL_SIDEBAR_ITEMS.filter((item) => {
+ if (isWorkspaceMode && item.id === 'memory') return false;
+ if (!isWorkspaceMode && item.id === 'private') return false;
+ return true;
+ });
export const getSortableSidebarItemIds = (isWorkspaceMode: boolean): Set<string> =>
new Set([...getAvailableSidebarItems(isWorkspaceMode).map((item) => item.id), SIDEBAR_SPACER_ID]);
@@ -146,7 +155,12 @@ const SortableItem = memo<{
onToggle: (key: string) => void;
}>(({ id, hiddenSections, onToggle }) => {
const { t } = useTranslation('common');
+ const isWorkspaceMode = !!useActiveWorkspaceSlug();
const item = ITEM_MAP.get(id);
+ // In workspace mode the Agent bucket pairs with Private, so the label
+ // switches to "Public" — mirroring the sidebar header.
+ const labelKey =
+ item?.id === 'agent' && isWorkspaceMode ? 'navPanel.publicAgents' : item?.labelKey;
const {
attributes,
isDragging,
@@ -186,7 +200,7 @@ const SortableItem = memo<{
<Icon icon={GripVertical} size={14} style={{ color: cssVar.colorTextQuaternary }} />
</Flexbox>
{route?.icon && <Icon icon={route.icon} size={18} />}
- <Text>{t(item.labelKey as any)}</Text>
+ <Text>{t(labelKey as any)}</Text>
</Flexbox>
{item.alwaysVisible ? (
<Tooltip title={t('navPanel.pinned' as any)}>
@@ -292,13 +306,15 @@ const AccordionGroup = memo<{ children: React.ReactNode }>(({ children }) => {
const OverlayItem = memo<{ id: string }>(({ id }) => {
const { t } = useTranslation('common');
+ const isWorkspaceMode = !!useActiveWorkspaceSlug();
+ const agentLabelKey = isWorkspaceMode ? 'navPanel.publicAgents' : 'navPanel.agent';
// Accordion group overlay: render a compact representation
if (id === ACCORDION_GROUP_ID) {
return (
<Flexbox horizontal align={'center'} className={styles.overlay} gap={8}>
<Icon icon={GripVertical} size={14} style={{ color: cssVar.colorTextQuaternary }} />
- <Text>{t('navPanel.agent' as any)}</Text>
+ <Text>{t(agentLabelKey as any)}</Text>
<Text type={'secondary'}>+ {t('recents' as any)}</Text>
</Flexbox>
);
@@ -319,12 +335,13 @@ const OverlayItem = memo<{ id: string }>(({ id }) => {
const item = ITEM_MAP.get(id);
if (!item) return null;
const route = item.routeId ? getRouteById(item.routeId) : undefined;
+ const labelKey = item.id === 'agent' ? agentLabelKey : item.labelKey;
return (
<Flexbox horizontal align={'center'} className={styles.overlay} gap={8}>
<Icon icon={GripVertical} size={14} style={{ color: cssVar.colorTextQuaternary }} />
{route?.icon && <Icon icon={route.icon} size={18} />}
- <Text>{t(item.labelKey as any)}</Text>
+ <Text>{t(labelKey as any)}</Text>
</Flexbox>
);
});
@@ -344,11 +361,12 @@ const flattenItems = (outer: string[], inner: string[], bindSpacerToAccordion: b
const CustomizeSidebarContent = memo(() => {
const { close } = useModalContext();
const { t: commonT } = useTranslation('common');
- const [storeItems, storeHiddenSections, updateSystemStatus] = useGlobalStore((s) => [
- systemStatusSelectors.sidebarItems(s),
- systemStatusSelectors.hiddenSidebarSections(s),
- s.updateSystemStatus,
- ]);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const storeItems = useGlobalStore(systemStatusSelectors.sidebarItems(activeWorkspaceId));
+ const storeHiddenSections = useGlobalStore(
+ systemStatusSelectors.hiddenSidebarSections(activeWorkspaceId),
+ );
+ const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
const isWorkspaceMode = !!useActiveWorkspaceSlug();
const sortableItemIds = useMemo(
() => getSortableSidebarItemIds(isWorkspaceMode),
@@ -408,9 +426,9 @@ const CustomizeSidebarContent = memo(() => {
const handleResetDefault = useCallback(() => {
setItems(DEFAULT_SIDEBAR_ITEMS.filter((id) => sortableItemIds.has(id)));
- setHiddenSections(DEFAULT_HIDDEN_SECTIONS);
+ setHiddenSections(getDefaultHiddenSections(isWorkspaceMode));
setShouldResetExpandedKeys(true);
- }, [sortableItemIds]);
+ }, [sortableItemIds, isWorkspaceMode]);
const handleConfirm = useCallback(() => {
updateSystemStatus(
diff --git a/src/routes/(main)/home/_layout/Body/Private/CreatePrivateButton.tsx b/src/routes/(main)/home/_layout/Body/Private/CreatePrivateButton.tsx
new file mode 100644
index 00000000000..e52429ed1aa
--- /dev/null
+++ b/src/routes/(main)/home/_layout/Body/Private/CreatePrivateButton.tsx
@@ -0,0 +1,129 @@
+'use client';
+
+import { ActionIcon, Block, Center, DropdownMenu, Flexbox, Icon, Text, Tooltip } from '@lobehub/ui';
+import { createStaticStyles, cssVar, cx } from 'antd-style';
+import { ChevronDownIcon, PlusIcon } from 'lucide-react';
+import { memo, useMemo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import NeuralNetworkLoading from '@/components/NeuralNetworkLoading';
+import { usePermission } from '@/hooks/usePermission';
+
+import { useCreateMenuItems } from '../../hooks';
+
+const ACTION_CLASS_NAME = 'create-private-actions';
+
+const styles = createStaticStyles(({ css }) => ({
+ container: css`
+ .${ACTION_CLASS_NAME} {
+ width: 0;
+ margin-inline-end: 2px;
+ opacity: 0;
+ transition: opacity 0.2s ${cssVar.motionEaseOut};
+
+ &:has([data-popup-open]) {
+ width: unset;
+ opacity: 1;
+ }
+ }
+
+ &:hover {
+ .${ACTION_CLASS_NAME} {
+ width: unset;
+ opacity: 1;
+ }
+ }
+ `,
+}));
+
+interface CreatePrivateButtonProps {
+ className?: string;
+}
+
+// "+ Add new" entry inside the Private section. Mirrors
+// CreateAgentButton but every create entry it produces is hard-pinned to
+// `visibility: 'private'` so nothing leaks into the workspace-shared
+// bucket. Acts as both the visible affordance for the empty private list
+// and the trailing entry for a populated one.
+const CreatePrivateButton = memo<CreatePrivateButtonProps>(({ className }) => {
+ const { t } = useTranslation('chat');
+ const { allowed: canCreate, reason } = usePermission('create_content');
+ const {
+ createAgent,
+ createAgentMenuItem,
+ createGroupChatMenuItem,
+ createPlatformAgentMenuItem,
+ isMutatingAgent,
+ openCreateModal,
+ } = useCreateMenuItems();
+
+ const dropdownItems = useMemo(() => {
+ const platformItem = createPlatformAgentMenuItem({ visibility: 'private' });
+ return [
+ createAgentMenuItem({ visibility: 'private' }),
+ createGroupChatMenuItem({ visibility: 'private' }),
+ ...(platformItem ? [{ type: 'divider' as const }, platformItem] : []),
+ ];
+ }, [createAgentMenuItem, createGroupChatMenuItem, createPlatformAgentMenuItem]);
+
+ const handleClick = () => {
+ if (!canCreate) return;
+ if (openCreateModal) {
+ openCreateModal('agent', { visibility: 'private' });
+ } else {
+ createAgent({ visibility: 'private' });
+ }
+ };
+
+ const content = (
+ <Block
+ horizontal
+ align={'center'}
+ className={cx(styles.container, className)}
+ clickable={canCreate}
+ gap={8}
+ height={36}
+ paddingInline={4}
+ style={canCreate ? { height: 36 } : { cursor: 'not-allowed', height: 36, opacity: 0.5 }}
+ variant={'borderless'}
+ onClick={handleClick}
+ >
+ <Center flex={'none'} height={28} width={28}>
+ {isMutatingAgent ? (
+ <NeuralNetworkLoading size={14} />
+ ) : (
+ <Icon icon={PlusIcon} size={'small'} />
+ )}
+ </Center>
+ <Text style={{ flex: 1 }} type={'secondary'}>
+ {t('newAgent')}
+ </Text>
+ {canCreate && (
+ <Flexbox
+ horizontal
+ align={'center'}
+ className={ACTION_CLASS_NAME}
+ flex={'none'}
+ justify={'flex-end'}
+ onClick={(e) => {
+ e.preventDefault();
+ e.stopPropagation();
+ }}
+ >
+ <DropdownMenu items={dropdownItems} nativeButton={false}>
+ <ActionIcon
+ color={cssVar.colorTextQuaternary}
+ icon={ChevronDownIcon}
+ size={'small'}
+ style={{ flex: 'none' }}
+ />
+ </DropdownMenu>
+ </Flexbox>
+ )}
+ </Block>
+ );
+
+ return canCreate ? content : <Tooltip title={reason}>{content}</Tooltip>;
+});
+
+export default CreatePrivateButton;
diff --git a/src/routes/(main)/home/_layout/Body/Private/List.tsx b/src/routes/(main)/home/_layout/Body/Private/List.tsx
new file mode 100644
index 00000000000..45c0efcd524
--- /dev/null
+++ b/src/routes/(main)/home/_layout/Body/Private/List.tsx
@@ -0,0 +1,66 @@
+'use client';
+
+import { Flexbox } from '@lobehub/ui';
+import isEqual from 'fast-deep-equal';
+import { MoreHorizontal } from 'lucide-react';
+import { memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import NavItem from '@/features/NavPanel/components/NavItem';
+import SkeletonList from '@/features/NavPanel/components/SkeletonList';
+import { useGlobalStore } from '@/store/global';
+import { systemStatusSelectors } from '@/store/global/selectors';
+import { useHomeStore } from '@/store/home';
+import { homeAgentListSelectors } from '@/store/home/selectors';
+
+import Group from '../Agent/List/Group';
+import SessionList from '../Agent/List/List';
+import CreatePrivateButton from './CreatePrivateButton';
+
+// Renders only the workspace-private bucket: private folders followed by
+// private ungrouped agents/chat groups. The server already filters out
+// items the viewer can't see (other members' private rows), so this list
+// is always the viewer's own.
+const PrivateList = memo(() => {
+ const { t } = useTranslation('chat');
+ const isInit = useHomeStore(homeAgentListSelectors.isAgentListInit);
+ const privateGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateAgentPageSize = useGlobalStore(systemStatusSelectors.privateAgentPageSize);
+ const privateUngrouped = useHomeStore(
+ homeAgentListSelectors.privateUngroupedAgentsLimited(privateAgentPageSize),
+ isEqual,
+ );
+ const privateUngroupedCount = useHomeStore(homeAgentListSelectors.privateUngroupedAgentsCount);
+ const openAllAgentsDrawer = useHomeStore((s) => s.openAllAgentsDrawer);
+
+ if (!isInit) return <SkeletonList rows={2} />;
+
+ const hasGroups = privateGroups.length > 0;
+ const hasUngrouped = privateUngrouped.length > 0;
+ const hasMore = privateUngroupedCount > privateAgentPageSize;
+
+ // Empty state still surfaces the create-button so a fresh user has an
+ // obvious affordance for their first private agent.
+ if (!hasGroups && !hasUngrouped) {
+ return (
+ <Flexbox gap={1} paddingBlock={1}>
+ <CreatePrivateButton />
+ </Flexbox>
+ );
+ }
+
+ return (
+ <Flexbox gap={1} paddingBlock={1}>
+ {hasGroups && <Group dataSource={privateGroups} />}
+ {hasUngrouped && <SessionList dataSource={privateUngrouped} />}
+ {hasMore && (
+ <NavItem icon={MoreHorizontal} title={t('input.more')} onClick={openAllAgentsDrawer} />
+ )}
+ <CreatePrivateButton />
+ </Flexbox>
+ );
+});
+
+PrivateList.displayName = 'PrivateList';
+
+export default PrivateList;
diff --git a/src/routes/(main)/home/_layout/Body/Private/index.tsx b/src/routes/(main)/home/_layout/Body/Private/index.tsx
new file mode 100644
index 00000000000..6d009d0e64c
--- /dev/null
+++ b/src/routes/(main)/home/_layout/Body/Private/index.tsx
@@ -0,0 +1,102 @@
+'use client';
+
+import { AccordionItem, ContextMenuTrigger, Flexbox, Text } from '@lobehub/ui';
+import React, { memo, Suspense, useCallback, useMemo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import NeuralNetworkLoading from '@/components/NeuralNetworkLoading';
+import SkeletonList from '@/features/NavPanel/components/SkeletonList';
+import { useFetchAgentList } from '@/hooks/useFetchAgentList';
+
+import { useCreateMenuItems } from '../../hooks';
+import Actions from '../Agent/Actions';
+import { useAgentModal } from '../Agent/ModalProvider';
+import PrivateList from './List';
+import { usePrivateActionsDropdownMenu } from './useDropdownMenu';
+
+interface PrivateProps {
+ itemKey: string;
+}
+
+// Top-level "Private" sidebar section, structurally mirroring the Agent
+// accordion. Everything created from the `+` button is hard-pinned to
+// `visibility: 'private'`, so users get a predictable bucket for personal
+// work without ever having to think about visibility flags.
+//
+// Sidebar-level controls (manage groups, move up/down, customize sidebar)
+// live in the "More" dropdown so private management stays consistent with
+// the workspace-public Agent section.
+const Private = memo<PrivateProps>(({ itemKey }) => {
+ const { t } = useTranslation('common');
+ const { isRevalidating } = useFetchAgentList();
+
+ const { openConfigGroupModal } = useAgentModal();
+
+ const {
+ createAgentMenuItem,
+ createGroupChatMenuItem,
+ createHeterogeneousAgentMenuItems,
+ createPlatformAgentMenuItem,
+ isLoading,
+ } = useCreateMenuItems();
+
+ // Mirror the public Agent "+" menu so the create surface is consistent
+ // across both buckets — heterogeneous and platform agents are hard-pinned
+ // to private here. Session-group creation lives in the "More" dropdown.
+ const addMenuItems = useMemo(() => {
+ const heterogeneousItems = createHeterogeneousAgentMenuItems({ visibility: 'private' });
+ const platformItem = createPlatformAgentMenuItem({ visibility: 'private' });
+
+ return [
+ createAgentMenuItem({ visibility: 'private' }),
+ createGroupChatMenuItem({ visibility: 'private' }),
+ ...(heterogeneousItems.length > 0
+ ? [{ type: 'divider' as const }, ...heterogeneousItems]
+ : []),
+ ...(platformItem ? [{ type: 'divider' as const }, platformItem] : []),
+ ];
+ }, [
+ createAgentMenuItem,
+ createGroupChatMenuItem,
+ createHeterogeneousAgentMenuItems,
+ createPlatformAgentMenuItem,
+ ]);
+
+ const handleOpenConfigGroupModal = useCallback(() => {
+ openConfigGroupModal('private');
+ }, [openConfigGroupModal]);
+
+ const dropdownMenu = usePrivateActionsDropdownMenu({
+ openConfigGroupModal: handleOpenConfigGroupModal,
+ });
+
+ return (
+ <AccordionItem
+ itemKey={itemKey}
+ paddingBlock={4}
+ paddingInline={'8px 4px'}
+ action={
+ <Actions addMenuItems={addMenuItems} dropdownMenu={dropdownMenu} isLoading={isLoading} />
+ }
+ headerWrapper={(header) => (
+ <ContextMenuTrigger items={dropdownMenu}>{header}</ContextMenuTrigger>
+ )}
+ title={
+ <Flexbox horizontal align="center" gap={4}>
+ <Text ellipsis fontSize={12} type={'secondary'} weight={500}>
+ {t('navPanel.privateAgents', { defaultValue: 'Private' })}
+ </Text>
+ {isRevalidating && <NeuralNetworkLoading size={14} />}
+ </Flexbox>
+ }
+ >
+ <Suspense fallback={<SkeletonList rows={3} />}>
+ <PrivateList />
+ </Suspense>
+ </AccordionItem>
+ );
+});
+
+Private.displayName = 'Private';
+
+export default Private;
diff --git a/src/routes/(main)/home/_layout/Body/Private/useDropdownMenu.tsx b/src/routes/(main)/home/_layout/Body/Private/useDropdownMenu.tsx
new file mode 100644
index 00000000000..3775da6db2f
--- /dev/null
+++ b/src/routes/(main)/home/_layout/Body/Private/useDropdownMenu.tsx
@@ -0,0 +1,108 @@
+import { type MenuProps } from '@lobehub/ui';
+import { Icon } from '@lobehub/ui';
+import { ArrowDownIcon, ArrowUpIcon, Hash, LucideCheck, SlidersHorizontalIcon } from 'lucide-react';
+import { useCallback, useMemo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { openCustomizeSidebarModal } from '@/routes/(main)/home/_layout/Body/CustomizeSidebarModal';
+import { useGlobalStore } from '@/store/global';
+import { systemStatusSelectors } from '@/store/global/selectors';
+import { reorderSidebarItems } from '@/store/global/selectors/systemStatus';
+
+import { useCreateMenuItems } from '../../hooks';
+
+interface PrivateActionsDropdownMenuProps {
+ openConfigGroupModal: () => void;
+}
+
+export const usePrivateActionsDropdownMenu = ({
+ openConfigGroupModal,
+}: PrivateActionsDropdownMenuProps): MenuProps['items'] => {
+ const { t } = useTranslation('common');
+
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const privateAgentPageSize = useGlobalStore(systemStatusSelectors.privateAgentPageSize);
+ const sidebarItems = useGlobalStore(systemStatusSelectors.sidebarItems(activeWorkspaceId));
+ const hiddenSections = useGlobalStore(
+ systemStatusSelectors.hiddenSidebarSections(activeWorkspaceId),
+ );
+ const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
+
+ const visibleItems = sidebarItems.filter((k) => !hiddenSections.includes(k));
+ const visibleIndex = visibleItems.indexOf('private');
+ const isFirst = visibleIndex <= 0;
+ const isLast = visibleIndex === visibleItems.length - 1;
+
+ const moveSection = useCallback(
+ (direction: 'up' | 'down') => {
+ const idx = sidebarItems.indexOf('private');
+ if (idx === -1) return;
+ const next = reorderSidebarItems(sidebarItems, idx, direction === 'up' ? idx - 1 : idx + 1);
+ if (next === sidebarItems) return;
+ updateSystemStatus({ sidebarItems: next });
+ },
+ [sidebarItems, updateSystemStatus],
+ );
+
+ const { createSessionGroupMenuItem, configMenuItem } = useCreateMenuItems();
+
+ return useMemo(() => {
+ const createSessionGroupItem = createSessionGroupMenuItem({ visibility: 'private' });
+ const configItem = configMenuItem(openConfigGroupModal);
+
+ const pageSizeOptions = [5, 10, 15, 20];
+ const pageSizeItems = pageSizeOptions.map((size) => ({
+ icon: privateAgentPageSize === size ? <Icon icon={LucideCheck} /> : <div />,
+ key: `pageSize-${size}`,
+ label: t('pageSizeItem', { count: size }),
+ onClick: () => {
+ updateSystemStatus({ privateAgentPageSize: size });
+ },
+ }));
+
+ return [
+ createSessionGroupItem,
+ configItem,
+ { type: 'divider' as const },
+ {
+ children: pageSizeItems,
+ extra: privateAgentPageSize,
+ icon: <Icon icon={Hash} />,
+ key: 'show',
+ label: t('navPanel.show'),
+ },
+ {
+ disabled: isFirst,
+ icon: <Icon icon={ArrowUpIcon} />,
+ key: 'moveUp',
+ label: t('navPanel.moveUp'),
+ onClick: () => moveSection('up'),
+ },
+ {
+ disabled: isLast,
+ icon: <Icon icon={ArrowDownIcon} />,
+ key: 'moveDown',
+ label: t('navPanel.moveDown'),
+ onClick: () => moveSection('down'),
+ },
+ { type: 'divider' as const },
+ {
+ icon: <Icon icon={SlidersHorizontalIcon} />,
+ key: 'customizeSidebar',
+ label: t('navPanel.customizeSidebar'),
+ onClick: () => openCustomizeSidebarModal(),
+ },
+ ].filter(Boolean) as MenuProps['items'];
+ }, [
+ privateAgentPageSize,
+ updateSystemStatus,
+ createSessionGroupMenuItem,
+ configMenuItem,
+ openConfigGroupModal,
+ isFirst,
+ isLast,
+ moveSection,
+ t,
+ ]);
+};
diff --git a/src/routes/(main)/home/_layout/Body/index.test.tsx b/src/routes/(main)/home/_layout/Body/index.test.tsx
index 7a9145dd792..900366fa0fd 100644
--- a/src/routes/(main)/home/_layout/Body/index.test.tsx
+++ b/src/routes/(main)/home/_layout/Body/index.test.tsx
@@ -79,6 +79,10 @@ vi.mock('./Agent', () => ({
default: ({ itemKey }: { itemKey: string }) => <div data-testid={`sidebar-item-${itemKey}`} />,
}));
+vi.mock('./Private', () => ({
+ default: ({ itemKey }: { itemKey: string }) => <div data-testid={`sidebar-item-${itemKey}`} />,
+}));
+
vi.mock('./CustomizeSidebarModal', () => ({
openCustomizeSidebarModal: vi.fn(),
}));
diff --git a/src/routes/(main)/home/_layout/Body/index.tsx b/src/routes/(main)/home/_layout/Body/index.tsx
index 3bac756bd82..34497582c37 100644
--- a/src/routes/(main)/home/_layout/Body/index.tsx
+++ b/src/routes/(main)/home/_layout/Body/index.tsx
@@ -7,6 +7,7 @@ import type { Key, ReactElement } from 'react';
import { memo, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import NavItem from '@/features/NavPanel/components/NavItem';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import WorkspaceLink from '@/features/Workspace/WorkspaceLink';
@@ -21,17 +22,19 @@ import { isModifierClick } from '@/utils/navigation';
import Agent from './Agent';
import { openCustomizeSidebarModal } from './CustomizeSidebarModal';
+import Private from './Private';
export enum GroupKey {
Agent = 'agent',
Community = 'community',
Pages = 'pages',
+ Private = 'private',
Project = 'project',
Recents = 'recents',
Resource = 'resource',
}
-const ACCORDION_KEYS = new Set<string>([GroupKey.Recents, GroupKey.Agent]);
+const ACCORDION_KEYS = new Set<string>([GroupKey.Recents, GroupKey.Agent, GroupKey.Private]);
/** Keys rendered in the header — must be excluded from the body to avoid duplicates
* when migrating users whose persisted sidebarItems still include them. */
@@ -39,6 +42,7 @@ const HEADER_KEYS = new Set<string>(['home', 'search']);
const accordionComponents: Record<string, (key: string) => ReactElement> = {
[GroupKey.Agent]: (key) => <Agent itemKey={key} key={key} />,
+ [GroupKey.Private]: (key) => <Private itemKey={key} key={key} />,
[GroupKey.Recents]: (key) => <Recents itemKey={key} key={key} />,
};
@@ -63,9 +67,17 @@ const Body = memo(() => {
const tab = useActiveTabKey();
const navigate = useWorkspaceAwareNavigate();
const { topNavItems, bottomMenuItems } = useNavLayout();
- const sidebarItems = useGlobalStore(systemStatusSelectors.sidebarItems);
- const sidebarExpandedKeys = useGlobalStore(systemStatusSelectors.sidebarExpandedKeys);
- const hiddenSections = useGlobalStore(systemStatusSelectors.hiddenSidebarSections);
+ // Personal mode has no notion of "private vs workspace-public" — every row
+ // is implicitly the owner's. Hide the Private section entirely there so the
+ // sidebar doesn't sprout an empty accordion users can't populate.
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const sidebarItems = useGlobalStore(systemStatusSelectors.sidebarItems(activeWorkspaceId));
+ const sidebarExpandedKeys = useGlobalStore(
+ systemStatusSelectors.sidebarExpandedKeys(activeWorkspaceId),
+ );
+ const hiddenSections = useGlobalStore(
+ systemStatusSelectors.hiddenSidebarSections(activeWorkspaceId),
+ );
const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
const hideSection = useCallback(
@@ -104,8 +116,14 @@ const Body = memo(() => {
// Items that must always be visible regardless of hiddenSections
const isVisible = useCallback(
- (k: string) => k === GroupKey.Agent || k === SIDEBAR_SPACER_ID || !hiddenSections.includes(k),
- [hiddenSections],
+ (k: string) => {
+ // Private accordion is workspace-only. In personal mode every row is
+ // implicitly owner-private, so a dedicated bucket would be a noisy
+ // empty section.
+ if (k === GroupKey.Private && !activeWorkspaceId) return false;
+ return k === GroupKey.Agent || k === SIDEBAR_SPACER_ID || !hiddenSections.includes(k);
+ },
+ [hiddenSections, activeWorkspaceId],
);
const visibleKeys = useMemo(
diff --git a/src/routes/(main)/home/_layout/CreateGroupModal/AvailableAgentList.tsx b/src/routes/(main)/home/_layout/CreateGroupModal/AvailableAgentList.tsx
index a512c997597..041441d325a 100644
--- a/src/routes/(main)/home/_layout/CreateGroupModal/AvailableAgentList.tsx
+++ b/src/routes/(main)/home/_layout/CreateGroupModal/AvailableAgentList.tsx
@@ -1,17 +1,22 @@
'use client';
-import { Flexbox, SearchBar, Skeleton } from '@lobehub/ui';
+import { Flexbox, SearchBar, Skeleton, Text } from '@lobehub/ui';
import { createStaticStyles } from 'antd-style';
+import isEqual from 'fast-deep-equal';
import { type ChangeEvent } from 'react';
import { memo, useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Virtuoso } from 'react-virtuoso';
import AgentSelectionEmpty from '@/features/AgentSelectionEmpty';
+import { useHomeStore } from '@/store/home';
+import { homeAgentListSelectors } from '@/store/home/selectors';
import { type AgentItemData } from './AgentItem';
import AgentItem from './AgentItem';
+type Row = { agent: AgentItemData; type: 'agent' } | { label: string; type: 'header' };
+
const styles = createStaticStyles(({ css, cssVar }) => ({
container: css`
user-select: none;
@@ -25,6 +30,11 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
padding-inline: ${cssVar.paddingSM}px;
border-inline-end: 1px solid ${cssVar.colorBorderSecondary};
`,
+ sectionHeader: css`
+ padding-block: 6px 4px;
+ padding-inline: 8px;
+ color: ${cssVar.colorTextSecondary};
+ `,
}));
interface AvailableAgentListProps {
@@ -38,6 +48,19 @@ const AvailableAgentList = memo<AvailableAgentListProps>(({ agents, isLoading })
const defaultTitle = useMemo(() => t('defaultSession', { ns: 'common' }), [t]);
+ // Pull the home store's already-bucketed private agent lists. We can't
+ // refetch with `visibility` from the modal's `queryAgents` payload without
+ // changing the shared `AvailableAgentItem` contract, so derive a Set of
+ // private agent ids client-side and use it to split the modal's list.
+ const privateGroups = useHomeStore(homeAgentListSelectors.privateAgentGroups, isEqual);
+ const privateUngrouped = useHomeStore(homeAgentListSelectors.privateUngroupedAgents, isEqual);
+ const privateAgentIds = useMemo(() => {
+ const ids = new Set<string>();
+ for (const g of privateGroups) for (const a of g.items) ids.add(a.id);
+ for (const a of privateUngrouped) ids.add(a.id);
+ return ids;
+ }, [privateGroups, privateUngrouped]);
+
const handleSearchChange = useCallback((e: ChangeEvent<HTMLInputElement>) => {
setSearchTerm(e.target.value);
}, []);
@@ -56,6 +79,28 @@ const AvailableAgentList = memo<AvailableAgentListProps>(({ agents, isLoading })
});
}, [agents, searchTerm]);
+ const rows = useMemo<Row[]>(() => {
+ const privateList: AgentItemData[] = [];
+ const workspaceList: AgentItemData[] = [];
+ for (const agent of filteredAgents) {
+ (privateAgentIds.has(agent.id) ? privateList : workspaceList).push(agent);
+ }
+
+ // Only insert the bucket headers when both buckets are non-empty — a list
+ // that's entirely workspace (or entirely private) should read as a flat
+ // list without unnecessary visual chrome.
+ if (privateList.length === 0 || workspaceList.length === 0) {
+ return filteredAgents.map((agent) => ({ agent, type: 'agent' }));
+ }
+
+ return [
+ { label: t('mention.category.privateAgents', { ns: 'chat' }), type: 'header' },
+ ...privateList.map((agent) => ({ agent, type: 'agent' as const })),
+ { label: t('mention.category.workspaceAgents', { ns: 'chat' }), type: 'header' },
+ ...workspaceList.map((agent) => ({ agent, type: 'agent' as const })),
+ ];
+ }, [filteredAgents, privateAgentIds, t]);
+
return (
<Flexbox className={styles.container} gap={12}>
<SearchBar
@@ -81,11 +126,23 @@ const AvailableAgentList = memo<AvailableAgentListProps>(({ agents, isLoading })
) : (
<Virtuoso
style={{ flex: 1 }}
- totalCount={filteredAgents.length}
+ totalCount={rows.length}
itemContent={(index) => {
- const agent = filteredAgents[index];
+ const row = rows[index];
+ if (row.type === 'header') {
+ return (
+ <Text className={styles.sectionHeader} fontSize={12} type="secondary">
+ {row.label}
+ </Text>
+ );
+ }
return (
- <AgentItem showCheckbox agent={agent} defaultTitle={defaultTitle} key={agent.id} />
+ <AgentItem
+ showCheckbox
+ agent={row.agent}
+ defaultTitle={defaultTitle}
+ key={row.agent.id}
+ />
);
}}
/>
diff --git a/src/routes/(main)/home/_layout/hooks/useCreateMenuItems.tsx b/src/routes/(main)/home/_layout/hooks/useCreateMenuItems.tsx
index 11a9d6d96e5..c2e88483a7f 100644
--- a/src/routes/(main)/home/_layout/hooks/useCreateMenuItems.tsx
+++ b/src/routes/(main)/home/_layout/hooks/useCreateMenuItems.tsx
@@ -16,6 +16,7 @@ import { useCallback, useState } from 'react';
import { useTranslation } from 'react-i18next';
import useSWRMutation from 'swr/mutation';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useGroupTemplates } from '@/components/ChatGroupWizard/templates';
import { DEFAULT_CHAT_GROUP_CHAT_CONFIG } from '@/const/settings';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
@@ -36,6 +37,12 @@ interface CreateAgentOptions {
groupId?: string;
isPinned?: boolean;
onSuccess?: () => void;
+ /**
+ * Forwarded to the server-side `visibility` column. Used by the sidebar's
+ * "Create Private …" entries; defaults to undefined which the server reads
+ * as `'public'`. Has no effect in personal mode.
+ */
+ visibility?: 'private' | 'public';
}
/**
@@ -47,6 +54,7 @@ export const useCreateMenuItems = () => {
const { t: tFile } = useTranslation('file');
const { message } = App.useApp();
const navigate = useWorkspaceAwareNavigate();
+ const activeWorkspaceId = useActiveWorkspaceId();
const groupTemplates = useGroupTemplates();
const { allowed: canCreate } = usePermission('create_content');
@@ -110,7 +118,11 @@ export const useCreateMenuItems = () => {
if (!canCreate) return;
const config = options?.prompt ? { systemRole: options.prompt } : undefined;
- await mutateAgent({ config, groupId: options?.groupId });
+ await mutateAgent({
+ config,
+ groupId: options?.groupId,
+ visibility: options?.visibility,
+ });
options?.onSuccess?.();
},
[canCreate, mutateAgent],
@@ -226,14 +238,19 @@ export const useCreateMenuItems = () => {
(options?: CreateAgentOptions): ItemType => ({
icon: <Icon icon={BotIcon} />,
disabled: !canCreate,
- key: 'newAgent',
+ // Key needs to vary by visibility so the public and private "New
+ // Agent" entries can coexist (e.g. if a future menu lists both).
+ key: options?.visibility === 'private' ? 'newPrivateAgent' : 'newAgent',
label: t('newAgent'),
onClick: async (info) => {
info.domEvent?.stopPropagation();
if (!canCreate) return;
if (openCreateModal) {
- openCreateModal('agent', options?.groupId ? { groupId: options.groupId } : undefined);
+ openCreateModal('agent', {
+ ...(options?.groupId ? { groupId: options.groupId } : {}),
+ ...(options?.visibility ? { visibility: options.visibility } : {}),
+ });
} else {
await createAgent(options);
}
@@ -302,7 +319,9 @@ export const useCreateMenuItems = () => {
onClick: (info) => {
info.domEvent?.stopPropagation();
agentModal?.openCreatePlatformAgentModal(
- options?.groupId ? { groupId: options.groupId } : undefined,
+ options?.groupId || options?.visibility
+ ? { groupId: options?.groupId, visibility: options?.visibility }
+ : undefined,
);
},
};
@@ -318,14 +337,17 @@ export const useCreateMenuItems = () => {
(options?: CreateAgentOptions): ItemType => ({
icon: <Icon icon={GroupBotSquareIcon} />,
disabled: !canCreate,
- key: 'newGroupChat',
+ key: options?.visibility === 'private' ? 'newPrivateGroupChat' : 'newGroupChat',
label: t('newGroupChat'),
onClick: async (info) => {
info.domEvent?.stopPropagation();
if (!canCreate) return;
if (openCreateModal) {
- openCreateModal('group', options?.groupId ? { groupId: options.groupId } : undefined);
+ openCreateModal('group', {
+ ...(options?.groupId ? { groupId: options.groupId } : {}),
+ ...(options?.visibility ? { visibility: options.visibility } : {}),
+ });
} else {
await createEmptyGroup(options);
}
@@ -338,17 +360,17 @@ export const useCreateMenuItems = () => {
* Add session group menu item
*/
const createSessionGroupMenuItem = useCallback(
- (): ItemType => ({
+ (options?: { visibility?: 'private' | 'public' }): ItemType => ({
icon: <Icon icon={FolderPlus} />,
disabled: !canCreate,
- key: 'addSessionGroup',
+ key: options?.visibility === 'private' ? 'addPrivateSessionGroup' : 'addSessionGroup',
label: t('sessionGroup.createGroup'),
onClick: async (info) => {
info.domEvent?.stopPropagation();
if (!canCreate) return;
setIsCreatingSessionGroup(true);
- await addGroup(t('sessionGroup.newGroup'));
+ await addGroup(t('sessionGroup.newGroup'), options?.visibility);
setIsCreatingSessionGroup(false);
},
}),
@@ -379,13 +401,17 @@ export const useCreateMenuItems = () => {
const untitledTitle = tFile('pageList.untitled');
try {
- const newPageId = await createNewPage(untitledTitle);
+ // In workspace mode the server auto-defaults top-level `sourceType: 'api'`
+ // rows to `'private'`; pass it explicitly so the optimistic row lands in
+ // 私人 too, instead of flashing in 工作区 and jumping when the server replies.
+ const defaultVisibility = activeWorkspaceId ? 'private' : undefined;
+ const newPageId = await createNewPage(untitledTitle, defaultVisibility);
navigate(`/page/${newPageId}`);
} catch (error) {
console.error('Failed to create page:', error);
message.error('Failed to create page');
}
- }, [canCreate, createNewPage, tFile, navigate, message]);
+ }, [canCreate, createNewPage, tFile, navigate, message, activeWorkspaceId]);
/**
* Create page menu item
diff --git a/src/routes/(main)/home/features/InputArea/useSend.test.ts b/src/routes/(main)/home/features/InputArea/useSend.test.ts
index b76ee0fd6c0..c77bcf17ce5 100644
--- a/src/routes/(main)/home/features/InputArea/useSend.test.ts
+++ b/src/routes/(main)/home/features/InputArea/useSend.test.ts
@@ -40,6 +40,8 @@ const homeState = vi.hoisted(() => ({
inputActiveMode: null,
isAgentListInit: true,
pinnedAgents: [],
+ privateAgentGroups: [],
+ privateUngroupedAgents: [],
sendAsAgent: vi.fn(),
sendAsGroup: vi.fn(),
sendAsResearch: vi.fn(),
diff --git a/src/routes/(main)/home/features/Recents/index.tsx b/src/routes/(main)/home/features/Recents/index.tsx
index 5dcb0ced19f..981d90e9e14 100644
--- a/src/routes/(main)/home/features/Recents/index.tsx
+++ b/src/routes/(main)/home/features/Recents/index.tsx
@@ -20,6 +20,7 @@ import {
import { memo, Suspense, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import NeuralNetworkLoading from '@/components/NeuralNetworkLoading';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import { useInitRecents } from '@/hooks/useInitRecents';
@@ -45,12 +46,13 @@ const Recents = memo<RecentsProps>(({ itemKey }) => {
const isLogin = useUserStore(authSelectors.isLogin);
const { isRevalidating } = useInitRecents();
- const [recentPageSize, sidebarItems, hiddenSections, updateSystemStatus] = useGlobalStore((s) => [
- systemStatusSelectors.recentPageSize(s),
- systemStatusSelectors.sidebarItems(s),
- systemStatusSelectors.hiddenSidebarSections(s),
- s.updateSystemStatus,
- ]);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const recentPageSize = useGlobalStore(systemStatusSelectors.recentPageSize);
+ const sidebarItems = useGlobalStore(systemStatusSelectors.sidebarItems(activeWorkspaceId));
+ const hiddenSections = useGlobalStore(
+ systemStatusSelectors.hiddenSidebarSections(activeWorkspaceId),
+ );
+ const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
const visibleItems = sidebarItems.filter((k) => !hiddenSections.includes(k));
const visibleIndex = visibleItems.indexOf('recents');
diff --git a/src/routes/(main)/memory/_layout/Sidebar/Content.tsx b/src/routes/(main)/memory/_layout/Sidebar/Content.tsx
new file mode 100644
index 00000000000..23d78ca281f
--- /dev/null
+++ b/src/routes/(main)/memory/_layout/Sidebar/Content.tsx
@@ -0,0 +1,11 @@
+import { memo } from 'react';
+
+import SideBarLayout from '@/features/NavPanel/SideBarLayout';
+
+import Header from './Header';
+
+const MemorySidebarContent = memo(() => <SideBarLayout header={<Header />} />);
+
+MemorySidebarContent.displayName = 'MemorySidebarContent';
+
+export default MemorySidebarContent;
diff --git a/src/routes/(main)/memory/_layout/Sidebar/index.tsx b/src/routes/(main)/memory/_layout/Sidebar/index.tsx
index bcfcd69012f..5e54e968aea 100644
--- a/src/routes/(main)/memory/_layout/Sidebar/index.tsx
+++ b/src/routes/(main)/memory/_layout/Sidebar/index.tsx
@@ -1,17 +1,14 @@
import React, { memo } from 'react';
import { NavPanelPortal } from '@/features/NavPanel';
-import SideBarLayout from '@/features/NavPanel/SideBarLayout';
-import Header from './Header';
+import MemorySidebarContent from './Content';
-const Sidebar = memo(() => {
- return (
- <NavPanelPortal navKey="memory">
- <SideBarLayout header={<Header />} />
- </NavPanelPortal>
- );
-});
+const Sidebar = memo(() => (
+ <NavPanelPortal navKey="memory">
+ <MemorySidebarContent />
+ </NavPanelPortal>
+));
Sidebar.displayName = 'MemorySidebar';
diff --git a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.test.tsx b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.test.tsx
new file mode 100644
index 00000000000..4b748bb5dbd
--- /dev/null
+++ b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.test.tsx
@@ -0,0 +1,47 @@
+/**
+ * @vitest-environment happy-dom
+ */
+import { fireEvent, render, screen, waitFor } from '@testing-library/react';
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import { useKnowledgeBaseStore } from '@/store/library';
+import { initialState } from '@/store/library/initialState';
+
+import Editing from './Editing';
+
+vi.mock('@/features/NavPanel/OverlayContainer', () => ({
+ useOverlayPopoverPortalProps: () => undefined,
+}));
+
+describe('LibraryList Item Editing', () => {
+ const updateKnowledgeBase = vi.fn();
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ useKnowledgeBaseStore.setState(
+ {
+ ...initialState,
+ updateKnowledgeBase,
+ },
+ false,
+ );
+ });
+
+ it('saves the inline rename input on blur and closes editing', async () => {
+ const toggleEditing = vi.fn();
+ useKnowledgeBaseStore.setState({ knowledgeBaseRenamingId: 'kb-1' });
+
+ render(<Editing id="kb-1" name="My Library" toggleEditing={toggleEditing} />);
+
+ const input = screen.getByRole('textbox');
+ expect(input).toHaveValue('My Library');
+
+ fireEvent.change(input, { target: { value: 'Renamed Library' } });
+ fireEvent.blur(input);
+
+ await waitFor(() => {
+ expect(updateKnowledgeBase).toHaveBeenCalledWith('kb-1', { name: 'Renamed Library' });
+ expect(toggleEditing).toHaveBeenCalledWith(false);
+ });
+ });
+});
diff --git a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.tsx b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.tsx
index 708c472022b..115da61e514 100644
--- a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.tsx
+++ b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/Editing.tsx
@@ -1,5 +1,6 @@
-import { Input, Popover, stopPropagation } from '@lobehub/ui';
-import { memo, useCallback, useEffect, useState } from 'react';
+import { Input, stopPropagation } from '@lobehub/ui';
+import { type InputRef } from 'antd';
+import { type KeyboardEvent, memo, useCallback, useEffect, useRef, useState } from 'react';
import { useKnowledgeBaseStore } from '@/store/library';
@@ -14,58 +15,61 @@ const Editing = memo<EditingProps>(({ id, name, toggleEditing }) => {
s.knowledgeBaseRenamingId === id,
s.updateKnowledgeBase,
]);
-
const [newName, setNewName] = useState(name);
+ const inputRef = useRef<InputRef>(null);
+ const submittingRef = useRef(false);
- // Reset state when editing starts
useEffect(() => {
- if (editing) {
- setNewName(name);
- }
+ if (!editing) return;
+
+ setNewName(name);
+ submittingRef.current = false;
+
+ queueMicrotask(() => {
+ inputRef.current?.input?.focus();
+ inputRef.current?.input?.select();
+ });
}, [editing, name]);
- const handleUpdate = useCallback(() => {
- if (newName && name !== newName) {
- updateKnowledgeBase(id, { name: newName });
+ const handleUpdate = useCallback(async () => {
+ if (submittingRef.current) return;
+ submittingRef.current = true;
+
+ const value = newName.trim();
+ if (value && value !== name) {
+ await updateKnowledgeBase(id, { name: value });
}
+
toggleEditing(false);
- }, [newName, name, id, updateKnowledgeBase, toggleEditing]);
+ }, [id, name, newName, toggleEditing, updateKnowledgeBase]);
- return (
- <Popover
- open={editing}
- placement="bottomLeft"
- trigger="click"
- content={
- <Input
- autoFocus
- defaultValue={name}
- maxLength={64}
- onChange={(e) => setNewName(e.target.value)}
- onClick={stopPropagation}
- onBlur={() => {
- handleUpdate();
- toggleEditing(false);
- }}
- onPressEnter={() => {
- handleUpdate();
- toggleEditing(false);
- }}
- />
+ const handleKeyDown = useCallback(
+ (e: KeyboardEvent<HTMLInputElement>) => {
+ if (e.key === 'Escape') {
+ e.preventDefault();
+ e.stopPropagation();
+ toggleEditing(false);
}
- styles={{
- content: {
- padding: 4,
- width: 320,
- },
- }}
- onOpenChange={(open) => {
- if (!open) handleUpdate();
- toggleEditing(open);
- }}
- >
- <div />
- </Popover>
+ },
+ [toggleEditing],
+ );
+
+ if (!editing) return null;
+
+ return (
+ <Input
+ maxLength={64}
+ ref={inputRef}
+ size="small"
+ style={{ width: '100%' }}
+ value={newName}
+ onBlur={() => void handleUpdate()}
+ onChange={(e) => setNewName(e.target.value)}
+ onClick={stopPropagation}
+ onKeyDown={handleKeyDown}
+ onMouseDown={stopPropagation}
+ onPressEnter={() => void handleUpdate()}
+ />
);
});
diff --git a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.test.tsx b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.test.tsx
new file mode 100644
index 00000000000..68a96e7ab21
--- /dev/null
+++ b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.test.tsx
@@ -0,0 +1,80 @@
+/**
+ * @vitest-environment happy-dom
+ */
+import { render, screen, within } from '@testing-library/react';
+import { type ReactNode } from 'react';
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import KnowledgeBaseItem from './index';
+
+const knowledgeBaseState = vi.hoisted(() => ({
+ knowledgeBaseLoadingIds: [] as string[],
+ knowledgeBaseRenamingId: null as string | null,
+ updateKnowledgeBase: vi.fn(),
+}));
+
+vi.mock('@/components/LibIcon', () => ({
+ default: () => <span data-testid="repo-icon" />,
+}));
+
+vi.mock('@/features/NavPanel/components/NavItem', () => ({
+ default: ({ actions, title }: { actions?: ReactNode; title: ReactNode }) => (
+ <div data-testid="nav-item">
+ <span data-testid="nav-title">{title}</span>
+ {actions}
+ </div>
+ ),
+}));
+
+vi.mock('@/features/Workspace/useWorkspaceAwareNavigate', () => ({
+ useWorkspaceAwareNavigate: () => vi.fn(),
+}));
+
+vi.mock('@/features/NavPanel/OverlayContainer', () => ({
+ useOverlayPopoverPortalProps: () => undefined,
+}));
+
+vi.mock('@/hooks/usePermission', () => ({
+ usePermission: () => ({ allowed: true }),
+}));
+
+vi.mock('@/routes/(main)/resource/features/store', () => ({
+ useResourceManagerStore: (selector: (state: { setLibraryId: () => void }) => unknown) =>
+ selector({ setLibraryId: vi.fn() }),
+}));
+
+vi.mock('@/store/library', () => ({
+ useKnowledgeBaseStore: (selector: (state: Record<string, unknown>) => unknown) =>
+ selector(knowledgeBaseState),
+}));
+
+vi.mock('./Actions', () => ({
+ default: () => <div data-testid="actions" />,
+}));
+
+vi.mock('./useDropdownMenu', () => ({
+ useDropdownMenu: () => [],
+}));
+
+describe('KnowledgeBaseItem', () => {
+ beforeEach(() => {
+ knowledgeBaseState.knowledgeBaseLoadingIds = [];
+ knowledgeBaseState.knowledgeBaseRenamingId = null;
+ knowledgeBaseState.updateKnowledgeBase.mockReset();
+ });
+
+ it('keeps the visible row and rename anchor inside one list child', () => {
+ const { container } = render(<KnowledgeBaseItem id="kb-1" name="My Library" />);
+
+ expect(container.childElementCount).toBe(1);
+ expect(container.firstElementChild).toContainElement(screen.getByTestId('nav-item'));
+ });
+
+ it('renders the rename input inside the row title while editing', () => {
+ knowledgeBaseState.knowledgeBaseRenamingId = 'kb-1';
+
+ render(<KnowledgeBaseItem id="kb-1" name="My Library" />);
+
+ expect(within(screen.getByTestId('nav-title')).getByRole('textbox')).toHaveValue('My Library');
+ });
+});
diff --git a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.tsx b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.tsx
index 15ec73d534d..2d267e7f19c 100644
--- a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.tsx
+++ b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/index.tsx
@@ -1,6 +1,6 @@
import { Icon } from '@lobehub/ui';
import { cssVar } from 'antd-style';
-import { Loader2Icon } from 'lucide-react';
+import { Loader2Icon, LockIcon } from 'lucide-react';
import { type CSSProperties } from 'react';
import React, { memo, useCallback, useMemo } from 'react';
@@ -22,10 +22,12 @@ interface KnowledgeBaseItemProps {
id: string;
name: string;
style?: CSSProperties;
+ userId?: string;
+ visibility?: 'private' | 'public';
}
const KnowledgeBaseItem = memo<KnowledgeBaseItemProps>(
- ({ id, name, description, active, style, className }) => {
+ ({ id, name, description, active, style, className, userId, visibility }) => {
const setLibraryId = useResourceManagerStore((s) => s.setLibraryId);
const navigate = useWorkspaceAwareNavigate();
const { allowed: canEdit } = usePermission('edit_own_content');
@@ -51,7 +53,7 @@ const KnowledgeBaseItem = memo<KnowledgeBaseItemProps>(
navigate(`/resource/library/${id}`);
setLibraryId(id);
}
- }, [editing, navigate, id]);
+ }, [editing, navigate, id, setLibraryId]);
const handleDoubleClick = useCallback(
(e: React.MouseEvent) => {
@@ -62,23 +64,29 @@ const KnowledgeBaseItem = memo<KnowledgeBaseItemProps>(
[canEdit, toggleEditing],
);
- // Icon (show loader when updating)
+ // Icon: loader while pending, lock for private KBs, repo icon otherwise.
+ // Lock signals "only you can see this" — mirrors the private-agent / private-task visual.
const icon = useMemo(() => {
if (isLoading) {
return <Icon spin color={cssVar.colorTextDescription} icon={Loader2Icon} size={18} />;
}
+ if (visibility === 'private') {
+ return <Icon color={cssVar.colorTextDescription} icon={LockIcon} size={18} />;
+ }
return <RepoIcon size={18} />;
- }, [isLoading]);
+ }, [isLoading, visibility]);
const dropdownMenu = useDropdownMenu({
description,
id,
name,
toggleEditing,
+ userId,
+ visibility,
});
return (
- <>
+ <div style={{ position: 'relative' }}>
<NavItem
actions={<Actions dropdownMenu={dropdownMenu} />}
active={active}
@@ -89,12 +97,11 @@ const KnowledgeBaseItem = memo<KnowledgeBaseItemProps>(
key={id}
loading={isLoading}
style={style}
- title={name}
+ title={editing ? <Editing id={id} name={name} toggleEditing={toggleEditing} /> : name}
onClick={handleClick}
onDoubleClick={handleDoubleClick}
/>
- <Editing id={id} name={name} toggleEditing={toggleEditing} />
- </>
+ </div>
);
},
);
diff --git a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/useDropdownMenu.tsx b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/useDropdownMenu.tsx
index db41a83c781..d2a493f7c01 100644
--- a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/useDropdownMenu.tsx
+++ b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/Item/useDropdownMenu.tsx
@@ -1,7 +1,8 @@
import { type MenuProps } from '@lobehub/ui';
import { Icon } from '@lobehub/ui';
import { confirmModal } from '@lobehub/ui/base-ui';
-import { FileText, PencilLine, Trash } from 'lucide-react';
+import { App } from 'antd';
+import { FileText, GlobeIcon, PencilLine, Trash } from 'lucide-react';
import { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
@@ -9,12 +10,16 @@ import { useKnowledgeBaseTransferMenuItem } from '@/business/client/hooks/useKno
import { useCreateNewModal } from '@/features/LibraryModal';
import { usePermission } from '@/hooks/usePermission';
import { useKnowledgeBaseStore } from '@/store/library';
+import { useUserStore } from '@/store/user';
+import { userProfileSelectors } from '@/store/user/selectors';
interface ActionProps {
description?: string | null;
id: string;
name: string;
toggleEditing: (visible?: boolean) => void;
+ userId?: string;
+ visibility?: 'private' | 'public';
}
export const useDropdownMenu = ({
@@ -22,12 +27,23 @@ export const useDropdownMenu = ({
name,
description,
toggleEditing,
+ userId,
+ visibility,
}: ActionProps): (() => MenuProps['items']) => {
- const { t } = useTranslation(['file', 'common']);
+ const { t } = useTranslation(['file', 'common', 'chat']);
+ const { message } = App.useApp();
const removeKnowledgeBase = useKnowledgeBaseStore((s) => s.removeKnowledgeBase);
+ const publishKnowledgeBaseToWorkspace = useKnowledgeBaseStore(
+ (s) => s.publishKnowledgeBaseToWorkspace,
+ );
const { open } = useCreateNewModal();
const { allowed: canEdit } = usePermission('edit_own_content');
const transferMenuItems = useKnowledgeBaseTransferMenuItem(id);
+ const currentUserId = useUserStore(userProfileSelectors.userId);
+ // Only the creator of a still-private KB sees the "Publish to workspace" entry.
+ // Mirrors the file / agent / task one-way publish pattern.
+ const isOwnPrivateKb =
+ visibility === 'private' && !!currentUserId && !!userId && userId === currentUserId;
const handleDelete = useCallback(() => {
if (!canEdit) return;
@@ -53,6 +69,25 @@ export const useDropdownMenu = ({
});
}, [canEdit, description, id, name, open]);
+ const handlePublish = useCallback(() => {
+ if (!isOwnPrivateKb) return;
+ confirmModal({
+ cancelText: t('cancel', { ns: 'common' }),
+ content: t('library.publishConfirm.content'),
+ okText: t('library.publish'),
+ onOk: async () => {
+ try {
+ await publishKnowledgeBaseToWorkspace(id);
+ message.success(t('resources.publishToWorkspace.success', { ns: 'chat' }));
+ } catch (error) {
+ console.error(error);
+ message.error(t('resources.publishToWorkspace.error', { ns: 'chat' }));
+ }
+ },
+ title: t('library.publishConfirm.title'),
+ });
+ }, [isOwnPrivateKb, id, publishKnowledgeBaseToWorkspace, t, message]);
+
return useCallback(
() =>
[
@@ -63,7 +98,13 @@ export const useDropdownMenu = ({
label: t('rename', { ns: 'common' }),
onClick: (info: any) => {
info.domEvent?.stopPropagation();
- toggleEditing(true);
+ // Defer to next frame so the DropdownMenu fully finishes its
+ // close animation and event handlers before the Popover opens.
+ // Otherwise the tail-end mouseup/click bubbles to document and
+ // Popover's outside-click detection fires `onOpenChange(false)`
+ // one tick after we set it to true, causing the input to flash
+ // open and immediately snap shut.
+ requestAnimationFrame(() => toggleEditing(true));
},
},
{
@@ -76,6 +117,17 @@ export const useDropdownMenu = ({
handleEditDescription();
},
},
+ canEdit &&
+ isOwnPrivateKb && {
+ icon: <Icon icon={GlobeIcon} />,
+ key: 'publishToWorkspace',
+ label: t('library.publish'),
+ onClick: (info: any) => {
+ info.domEvent?.stopPropagation();
+ handlePublish();
+ },
+ },
+ canEdit && isOwnPrivateKb && { type: 'divider' },
...(canEdit ? (transferMenuItems ?? []) : []),
{ type: 'divider' },
{
@@ -87,6 +139,15 @@ export const useDropdownMenu = ({
onClick: handleDelete,
},
].filter(Boolean) as MenuProps['items'],
- [canEdit, t, toggleEditing, handleDelete, handleEditDescription, transferMenuItems],
+ [
+ canEdit,
+ t,
+ toggleEditing,
+ handleDelete,
+ handleEditDescription,
+ handlePublish,
+ isOwnPrivateKb,
+ transferMenuItems,
+ ],
);
};
diff --git a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/index.tsx b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/index.tsx
index d71f7992d74..11bc1954d97 100644
--- a/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/index.tsx
+++ b/src/routes/(main)/resource/(home)/_layout/Body/LibraryList/index.tsx
@@ -9,6 +9,7 @@ import EmptyNavItem from '@/features/NavPanel/components/EmptyNavItem';
import SkeletonList from '@/features/NavPanel/components/SkeletonList';
import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';
import { usePermission } from '@/hooks/usePermission';
+import { useResourceManagerStore } from '@/routes/(main)/resource/features/store';
import { useKnowledgeBaseStore } from '@/store/library';
import Item from './Item';
@@ -18,8 +19,20 @@ import Item from './Item';
*/
const LibraryList = memo(() => {
const { t } = useTranslation('file');
+ // Mirrors the file-explorer mode: `private` → only own private KBs,
+ // `workspace` → only public KBs. Personal-mode users never render this list
+ // with a filter (the toggle isn't shown), so `visibility` stays undefined
+ // and the query returns everything the ownership predicate allows.
+ const listVisibility = useResourceManagerStore((s) => s.listVisibility);
+ const visibility = listVisibility === 'private' ? ('private' as const) : ('public' as const);
+
const useFetchKnowledgeBaseList = useKnowledgeBaseStore((s) => s.useFetchKnowledgeBaseList);
- const { data, isLoading } = useFetchKnowledgeBaseList();
+ // `isValidating` catches the first fetch after switching mode — SWR's key
+ // has no cache yet, and because `useFetchKnowledgeBaseList` sets
+ // `fallbackData: []`, `isLoading` collapses to false immediately. Without
+ // this, the sidebar flashes the empty state for the network round-trip
+ // before the real list arrives.
+ const { data, isLoading, isValidating } = useFetchKnowledgeBaseList(visibility);
const navigate = useWorkspaceAwareNavigate();
@@ -35,15 +48,29 @@ const LibraryList = memo(() => {
});
};
- if (isLoading) return <SkeletonList paddingInline={4} rows={3} />;
+ if (isLoading || (isValidating && (data?.length ?? 0) === 0))
+ return <SkeletonList paddingInline={4} rows={3} />;
if (data?.length === 0)
- return <EmptyNavItem disabled={!canCreate} title={t('library.new')} onClick={handleCreate} />;
+ return (
+ <EmptyNavItem
+ disabled={!canCreate}
+ title={t(listVisibility === 'private' ? 'library.privateEmpty' : 'library.workspaceEmpty')}
+ onClick={handleCreate}
+ />
+ );
return (
<Flexbox gap={1} paddingInline={4}>
{data?.map((item) => (
- <Item description={item.description} id={item.id} key={item.id} name={item.name} />
+ <Item
+ description={item.description}
+ id={item.id}
+ key={item.id}
+ name={item.name}
+ userId={item.userId}
+ visibility={item.visibility}
+ />
))}
</Flexbox>
);
diff --git a/src/routes/(main)/resource/(home)/_layout/Header/index.tsx b/src/routes/(main)/resource/(home)/_layout/Header/index.tsx
index 12ea4ad6bc9..86037997de6 100644
--- a/src/routes/(main)/resource/(home)/_layout/Header/index.tsx
+++ b/src/routes/(main)/resource/(home)/_layout/Header/index.tsx
@@ -4,6 +4,7 @@ import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import SideBarHeaderLayout from '@/features/NavPanel/SideBarHeaderLayout';
+import ResourceModeToggle from '@/features/ResourceManager/components/ResourceModeToggle';
import CategoryMenu from './CategoryMenu';
@@ -20,6 +21,7 @@ const Header = memo(() => {
},
]}
/>
+ <ResourceModeToggle />
<CategoryMenu />
</>
);
diff --git a/src/routes/(main)/resource/(home)/_layout/Sidebar.tsx b/src/routes/(main)/resource/(home)/_layout/Sidebar.tsx
index e77bd439232..fc00437f0fe 100644
--- a/src/routes/(main)/resource/(home)/_layout/Sidebar.tsx
+++ b/src/routes/(main)/resource/(home)/_layout/Sidebar.tsx
@@ -1,34 +1,16 @@
'use client';
-import { Accordion, Flexbox } from '@lobehub/ui';
import { memo } from 'react';
import { NavPanelPortal } from '@/features/NavPanel';
-import SideBarLayout from '@/features/NavPanel/SideBarLayout';
-import SidebarBody from './Body';
-import Header from './Header';
+import SidebarContent from './SidebarContent';
-export enum GroupKey {
- Library = 'library',
-}
-
-const Sidebar = memo(() => {
- return (
- <NavPanelPortal navKey="resource">
- <SideBarLayout
- header={<Header />}
- body={
- <Flexbox paddingBlock={8} paddingInline={4}>
- <Accordion defaultExpandedKeys={[GroupKey.Library]} gap={8}>
- <SidebarBody itemKey={GroupKey.Library} />
- </Accordion>
- </Flexbox>
- }
- />
- </NavPanelPortal>
- );
-});
+const Sidebar = memo(() => (
+ <NavPanelPortal navKey="resource">
+ <SidebarContent />
+ </NavPanelPortal>
+));
Sidebar.displayName = 'ResourceHomeSidebar';
diff --git a/src/routes/(main)/resource/(home)/_layout/SidebarContent.tsx b/src/routes/(main)/resource/(home)/_layout/SidebarContent.tsx
new file mode 100644
index 00000000000..b9291423ec3
--- /dev/null
+++ b/src/routes/(main)/resource/(home)/_layout/SidebarContent.tsx
@@ -0,0 +1,30 @@
+'use client';
+
+import { Accordion, Flexbox } from '@lobehub/ui';
+import { memo } from 'react';
+
+import SideBarLayout from '@/features/NavPanel/SideBarLayout';
+
+import SidebarBody from './Body';
+import Header from './Header';
+
+export enum GroupKey {
+ Library = 'library',
+}
+
+const ResourceSidebarContent = memo(() => (
+ <SideBarLayout
+ header={<Header />}
+ body={
+ <Flexbox paddingBlock={8} paddingInline={4}>
+ <Accordion defaultExpandedKeys={[GroupKey.Library]} gap={8}>
+ <SidebarBody itemKey={GroupKey.Library} />
+ </Accordion>
+ </Flexbox>
+ }
+ />
+));
+
+ResourceSidebarContent.displayName = 'ResourceSidebarContent';
+
+export default ResourceSidebarContent;
diff --git a/src/routes/(main)/resource/features/store/action.ts b/src/routes/(main)/resource/features/store/action.ts
index c8cc5290bf6..f29ad2904bd 100644
--- a/src/routes/(main)/resource/features/store/action.ts
+++ b/src/routes/(main)/resource/features/store/action.ts
@@ -1,12 +1,14 @@
import type { StateCreator } from 'zustand/vanilla';
import type { ResourceManagerMode } from '@/features/ResourceManager';
+import { useFileStore } from '@/store/file';
import type { StoreSetter } from '@/store/types';
import { flattenActions } from '@/store/utils/flattenActions';
import type { FilesTabs, SortType } from '@/types/files';
-import type { SelectAllState, State, ViewMode } from './initialState';
+import type { ResourceListVisibilityFilter, SelectAllState, State, ViewMode } from './initialState';
import { initialState } from './initialState';
+import { readPersistedResourceMode, writePersistedResourceMode } from './modePersistence';
export type MultiSelectActionType =
| 'addToKnowledgeBase'
@@ -149,6 +151,45 @@ export class ResourceManagerStoreActionImpl {
this.#set({ libraryId });
};
+ setListVisibility = (
+ listVisibility: ResourceListVisibilityFilter,
+ workspaceId?: string,
+ ): void => {
+ // Skip the write path when the mode didn't actually change — clicking the
+ // already-active tab shouldn't invalidate the list.
+ if (this.#get().listVisibility === listVisibility) return;
+
+ // Reset selection when the visible pool changes so a leftover "select all"
+ // does not accidentally target rows that are no longer on screen.
+ this.#set({ listVisibility, selectAllState: 'none', selectedFileIds: [] });
+
+ // Drop the previous mode's rows from the file store immediately. Without
+ // this, `mergeServerResourcesWithOptimistic` would keep showing them until
+ // the SWR fetch for the new mode resolves — the "space switch" feels
+ // broken because the list looks unchanged for a beat. Clearing gives the
+ // Explorer a clean slate so its skeleton (see `isNavigating`) renders
+ // right away and the new items slot in when they arrive.
+ useFileStore.getState().clearCurrentQueryResources();
+
+ // Persist per workspace so the next visit picks up the same space. Personal
+ // mode (no workspaceId) intentionally skips the write — the toggle isn't
+ // rendered there and there's no scope to key the record against.
+ writePersistedResourceMode(workspaceId, listVisibility);
+ };
+
+ /**
+ * Reload `listVisibility` from localStorage for the given workspace. Called
+ * on Sidebar mount / whenever the active workspace changes so the "space"
+ * you left off in comes back. Falls back to the initialState default when no
+ * record exists.
+ */
+ hydrateListVisibility = (workspaceId: string | undefined): void => {
+ const persisted = readPersistedResourceMode(workspaceId);
+ const next = persisted ?? initialState.listVisibility;
+ if (this.#get().listVisibility === next) return;
+ this.#set({ listVisibility: next, selectAllState: 'none', selectedFileIds: [] });
+ };
+
setMode = (mode: ResourceManagerMode): void => {
this.#set({ mode });
};
diff --git a/src/routes/(main)/resource/features/store/initialState.ts b/src/routes/(main)/resource/features/store/initialState.ts
index 9f3a0d5e877..58b24c5a4fa 100644
--- a/src/routes/(main)/resource/features/store/initialState.ts
+++ b/src/routes/(main)/resource/features/store/initialState.ts
@@ -4,6 +4,21 @@ import { FilesTabs, SortType } from '@/types/files';
export type ViewMode = 'list' | 'masonry';
export type SelectAllState = 'all' | 'loaded' | 'none';
+/**
+ * Resources Sidebar mode — the "space" the user is currently in inside a
+ * team workspace:
+ *
+ * - `'private'` — my drawer: list only shows the caller's own private rows;
+ * new uploads land as `visibility: 'private'`.
+ * - `'workspace'` — team share: list only shows public rows; new uploads
+ * land as `visibility: 'public'`.
+ *
+ * Personal mode (no workspaceId) ignores this — the toggle isn't rendered
+ * and uploads carry no visibility hint (the server treats them as owner-only
+ * anyway).
+ */
+export type ResourceListVisibilityFilter = 'private' | 'workspace';
+
export interface State {
/**
* Current file category filter
@@ -17,6 +32,12 @@ export interface State {
* Current library ID
*/
libraryId?: string;
+ /**
+ * Workspace mode visibility filter for the top-level resource list.
+ * Only surfaces the filter chip in Explorer's header when a workspace is
+ * active and the user has not drilled into a library or folder.
+ */
+ listVisibility: ResourceListVisibilityFilter;
/**
* View mode for displaying resources
*/
@@ -56,6 +77,7 @@ export const initialState: State = {
category: FilesTabs.All,
currentViewItemId: undefined,
libraryId: undefined,
+ listVisibility: 'workspace',
mode: 'explorer',
pendingRenameItemId: null,
searchQuery: null,
diff --git a/src/routes/(main)/resource/features/store/modePersistence.ts b/src/routes/(main)/resource/features/store/modePersistence.ts
new file mode 100644
index 00000000000..13081266a57
--- /dev/null
+++ b/src/routes/(main)/resource/features/store/modePersistence.ts
@@ -0,0 +1,50 @@
+import type { ResourceListVisibilityFilter } from './initialState';
+
+const KEY_PREFIX = 'lobehub:resource-mode:';
+const VALID_MODES: readonly ResourceListVisibilityFilter[] = ['private', 'workspace'];
+
+const isBrowser = () => typeof window !== 'undefined' && !!window.localStorage;
+
+const storageKey = (workspaceId: string) => `${KEY_PREFIX}${workspaceId}`;
+
+/**
+ * Read the persisted mode for a workspace. Returns `undefined` when there is
+ * no record, when the record is corrupt, or when localStorage is unavailable
+ * (SSR, private mode with storage disabled). Callers fall back to the
+ * `initialState` default.
+ */
+export const readPersistedResourceMode = (
+ workspaceId: string | undefined,
+): ResourceListVisibilityFilter | undefined => {
+ if (!workspaceId || !isBrowser()) return undefined;
+
+ try {
+ const raw = window.localStorage.getItem(storageKey(workspaceId));
+ if (raw && (VALID_MODES as readonly string[]).includes(raw)) {
+ return raw as ResourceListVisibilityFilter;
+ }
+ } catch {
+ /* localStorage may throw in restricted contexts — swallow and fall back */
+ }
+
+ return undefined;
+};
+
+/**
+ * Persist the mode for a workspace. No-op in personal mode (no workspaceId)
+ * and when storage is unavailable — the toggle itself is hidden in personal
+ * mode so nothing calls this with an empty workspaceId in practice, but the
+ * guard keeps the helper safe to call from anywhere.
+ */
+export const writePersistedResourceMode = (
+ workspaceId: string | undefined,
+ mode: ResourceListVisibilityFilter,
+): void => {
+ if (!workspaceId || !isBrowser()) return;
+
+ try {
+ window.localStorage.setItem(storageKey(workspaceId), mode);
+ } catch {
+ /* full storage / restricted context — best-effort only */
+ }
+};
diff --git a/src/routes/(mobile)/(home)/features/SessionListContent/DefaultMode.tsx b/src/routes/(mobile)/(home)/features/SessionListContent/DefaultMode.tsx
index 3a60cd2e11d..9b48001297a 100644
--- a/src/routes/(mobile)/(home)/features/SessionListContent/DefaultMode.tsx
+++ b/src/routes/(mobile)/(home)/features/SessionListContent/DefaultMode.tsx
@@ -3,6 +3,7 @@ import isEqual from 'fast-deep-equal';
import { memo, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { useFetchSessions } from '@/hooks/useFetchSessions';
import { useGlobalStore } from '@/store/global';
import { systemStatusSelectors } from '@/store/global/selectors';
@@ -57,10 +58,11 @@ const DefaultMode = memo(() => {
children: filterSessionsForView(group.children),
}));
- const [sessionGroupKeys, updateSystemStatus] = useGlobalStore((s) => [
- systemStatusSelectors.sessionGroupKeys(s),
- s.updateSystemStatus,
- ]);
+ const activeWorkspaceId = useActiveWorkspaceId();
+ const sessionGroupKeys = useGlobalStore(
+ systemStatusSelectors.sessionGroupKeys(activeWorkspaceId),
+ );
+ const updateSystemStatus = useGlobalStore((s) => s.updateSystemStatus);
const items = useMemo(
() =>
diff --git a/src/services/__tests__/generationTopic.test.ts b/src/services/__tests__/generationTopic.test.ts
index 0c838b902a9..054ecba9327 100644
--- a/src/services/__tests__/generationTopic.test.ts
+++ b/src/services/__tests__/generationTopic.test.ts
@@ -35,6 +35,14 @@ describe('GenerationTopic ServerService', () => {
expect(lambdaClient.generationTopic.createTopic.mutate).toBeCalledWith(undefined);
});
+ it('createTopic should pass type and visibility to lambdaClient', async () => {
+ await service.createTopic('image', 'public');
+ expect(lambdaClient.generationTopic.createTopic.mutate).toBeCalledWith({
+ type: 'image',
+ visibility: 'public',
+ });
+ });
+
it('updateTopic should call lambdaClient with correct params', async () => {
const id = 'test-topic-id';
const data: UpdateTopicValue = {
diff --git a/src/services/agent.ts b/src/services/agent.ts
index b4eb565872f..eef9bab1e17 100644
--- a/src/services/agent.ts
+++ b/src/services/agent.ts
@@ -62,6 +62,14 @@ const normalizeMarketAgentModel = (config?: PartialDeep<AgentItem>): PartialDeep
export interface CreateAgentParams {
config?: PartialDeep<AgentItem>;
groupId?: string;
+ /**
+ * `private` keeps the agent visible only to its creator within the active
+ * workspace; `public` (default) makes it visible to every member. The
+ * router enforces this — sidebar "Create in Private" forwards `'private'`
+ * verbatim, all other creators (templates, marketplace import, etc.)
+ * default to `'public'`.
+ */
+ visibility?: 'private' | 'public';
}
export interface CreateAgentResult {
@@ -111,9 +119,21 @@ class AgentService {
return lambdaClient.agent.createAgent.mutate({
config: normalizedConfig as any,
groupId: params.groupId,
+ visibility: params.visibility,
});
};
+ /**
+ * Publish a private agent to the workspace. One-way action — `private`
+ * agents cannot be re-privatized once shared, because other workspace
+ * members may already be using them. Caller should refresh the sidebar
+ * list afterwards so the agent moves from the Private bucket to the
+ * shared list.
+ */
+ publishAgentToWorkspace = async (id: string): Promise<void> => {
+ await lambdaClient.agent.publishAgentToWorkspace.mutate({ id });
+ };
+
/**
* Create a virtual agent without session.
* Used for Group Agent Builder to create virtual agents for groups.
@@ -167,8 +187,10 @@ class AgentService {
});
};
- getFilesAndKnowledgeBases = async (agentId: string) => {
- return lambdaClient.agent.getKnowledgeBasesAndFiles.query({ agentId });
+ getFilesAndKnowledgeBases = async (agentId: string, visibility?: 'private' | 'public') => {
+ return lambdaClient.agent.getKnowledgeBasesAndFiles.query(
+ visibility ? { agentId, visibility } : { agentId },
+ );
};
getAgentConfigById = async (agentId: string) => {
diff --git a/src/services/document/index.ts b/src/services/document/index.ts
index 436a5199587..c2d4a494f30 100644
--- a/src/services/document/index.ts
+++ b/src/services/document/index.ts
@@ -100,6 +100,12 @@ export interface CreateDocumentParams {
parentId?: string;
slug?: string;
title: string;
+ /**
+ * Workspace-only: force the new document into a specific visibility bucket.
+ * Omit to let the server pick the default (`api` sourceType top-level docs
+ * default to `private`, nested docs inherit their parent).
+ */
+ visibility?: 'private' | 'public';
}
export interface ListDocumentHistoryParams extends ListHistoryInput {}
@@ -264,6 +270,14 @@ export class DocumentService {
): Promise<{ rootId: string }> {
return lambdaClient.document.copyDocumentToWorkspace.mutate({ documentId, targetWorkspaceId });
}
+
+ /**
+ * Publish a private document (and its whole subtree) into the workspace.
+ * One-way: once published there is no client-side path back to `private`.
+ */
+ async publishDocumentToWorkspace(id: string): Promise<{ documentIds: string[] }> {
+ return lambdaClient.document.publishDocumentToWorkspace.mutate({ id });
+ }
}
export const documentService = new DocumentService() as DocumentService &
diff --git a/src/services/file/index.ts b/src/services/file/index.ts
index 2cf3b240ff6..ab81a053c9c 100644
--- a/src/services/file/index.ts
+++ b/src/services/file/index.ts
@@ -15,11 +15,20 @@ interface CreateFileParams extends Omit<UploadFileParams, 'url'> {
knowledgeBaseId?: string;
parentId?: string;
url: string;
+ visibility?: 'private' | 'public';
}
export class FileService {
createFile = async (
- params: UploadFileParams & { parentId?: string },
+ params: UploadFileParams & {
+ parentId?: string;
+ /**
+ * Workspace visibility for the new file. `undefined` lets the server
+ * apply its default (top-level workspace uploads default to `'private'`,
+ * children inherit their parent document). Personal mode ignores this.
+ */
+ visibility?: 'private' | 'public';
+ },
knowledgeBaseId?: string,
): Promise<{ id: string; url: string }> => {
return lambdaClient.file.createFile.mutate({ ...params, knowledgeBaseId } as CreateFileParams);
@@ -157,6 +166,10 @@ export class FileService {
) => {
return lambdaClient.file.copyEntityToWorkspace.mutate({ entityType, id, targetWorkspaceId });
};
+
+ publishFileToWorkspace = async (id: string): Promise<void> => {
+ await lambdaClient.file.publishFileToWorkspace.mutate({ id });
+ };
}
export const fileService = new FileService();
diff --git a/src/services/generationTopic.ts b/src/services/generationTopic.ts
index 06e5b25f157..613c321c807 100644
--- a/src/services/generationTopic.ts
+++ b/src/services/generationTopic.ts
@@ -8,8 +8,10 @@ export class ServerService {
return lambdaClient.generationTopic.getAllGenerationTopics.query(type ? { type } : undefined);
}
- async createTopic(type?: 'image' | 'video'): Promise<string> {
- return lambdaClient.generationTopic.createTopic.mutate(type ? { type } : undefined);
+ async createTopic(type?: 'image' | 'video', visibility?: 'private' | 'public'): Promise<string> {
+ return lambdaClient.generationTopic.createTopic.mutate(
+ type || visibility ? { type, visibility } : undefined,
+ );
}
async updateTopic(id: string, data: UpdateTopicValue): Promise<GenerationTopicItem | undefined> {
diff --git a/src/services/installMarketplaceAgents.ts b/src/services/installMarketplaceAgents.ts
index e8bfec48161..4c652e0ba54 100644
--- a/src/services/installMarketplaceAgents.ts
+++ b/src/services/installMarketplaceAgents.ts
@@ -1,6 +1,8 @@
import type { InstallMarketplaceAgentSummary } from '@lobechat/builtin-tool-web-onboarding/agentMarketplace';
import { customAlphabet } from 'nanoid/non-secure';
+import { getActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
+import { lambdaClient } from '@/libs/trpc/client';
import { agentService } from '@/services/agent';
import { discoverService } from '@/services/discover';
import { marketApiService } from '@/services/marketApi';
@@ -22,13 +24,32 @@ const getSourcePath = () => {
};
export interface InstallMarketplaceAgentsResult {
+ /**
+ * True only when this call freshly auto-provisioned the workspace's Market
+ * Community profile (owner-only path). Lets the caller surface a "we set up
+ * a community handle for you — customize it later" nudge once, instead of
+ * silently mutating the workspace's public identity.
+ */
+ createdMarketProfile?: boolean;
installedAgentIds: string[];
skippedAgentIds: string[];
summaries: InstallMarketplaceAgentSummary[];
}
+export interface InstallMarketplaceAgentsOptions {
+ /**
+ * Override the visibility used when inserting into a workspace. Defaults to
+ * `'public'` (shared with the workspace) — callers can opt into `'private'`
+ * when the user explicitly wants the agent kept to themselves.
+ *
+ * Ignored in personal mode (the column is meaningless without a workspace).
+ */
+ visibility?: 'private' | 'public';
+}
+
export const installMarketplaceAgents = async (
sourceAgentIds: string[],
+ options?: InstallMarketplaceAgentsOptions,
): Promise<InstallMarketplaceAgentsResult> => {
if (sourceAgentIds.length === 0) {
return { installedAgentIds: [], skippedAgentIds: [], summaries: [] };
@@ -37,6 +58,30 @@ export const installMarketplaceAgents = async (
const createAgent = useAgentStore.getState().createAgent;
const refreshAgentList = useHomeStore.getState().refreshAgentList;
+ const workspaceId = getActiveWorkspaceId();
+ const visibility = workspaceId ? (options?.visibility ?? 'public') : undefined;
+
+ // Workspace-mode forks must be attributed to the workspace's Market org via
+ // `actAs` — the per-user trust token already carries workspaceId, so Market
+ // rejects forks without `x-lobe-owner-account-id` (403). Mirrors the lookup
+ // ForkAndChat does for the single-fork community flow.
+ //
+ // `autoProvision` lets owners install agents on a brand-new workspace before
+ // they've explicitly set a Community handle — server derives one from the
+ // workspace name. Non-owners fall through to the strict path and get
+ // PRECONDITION_FAILED, which the caller (e.g. onboarding) surfaces as a
+ // soft toast.
+ let actAs: number | undefined;
+ let createdMarketProfile = false;
+ if (workspaceId) {
+ const { marketAccountId, created } =
+ await lambdaClient.workspace.ensureMarketOrganization.mutate({
+ autoProvision: true,
+ });
+ actAs = marketAccountId;
+ createdMarketProfile = created;
+ }
+
// 1. Parallel dedupe — find which source ids are already forked
const existing = await Promise.all(
sourceAgentIds.map((id) => agentService.getAgentByForkedFromIdentifier(id)),
@@ -86,6 +131,7 @@ export const installMarketplaceAgents = async (
? []
: await marketApiService.forkAgent(
prepared.map((p) => ({
+ actAs,
identifier: p.newIdentifier,
name: p.detail.title,
sourceIdentifier: p.sourceId,
@@ -117,6 +163,7 @@ export const installMarketplaceAgents = async (
tags: detail.tags,
title: fork.agent.name,
},
+ visibility,
});
discoverService.reportAgentEvent({
@@ -164,5 +211,5 @@ export const installMarketplaceAgents = async (
await refreshAgentList();
}
- return { installedAgentIds, skippedAgentIds, summaries };
+ return { createdMarketProfile, installedAgentIds, skippedAgentIds, summaries };
};
diff --git a/src/services/knowledgeBase.ts b/src/services/knowledgeBase.ts
index a7ed8c10182..8cc3153790a 100644
--- a/src/services/knowledgeBase.ts
+++ b/src/services/knowledgeBase.ts
@@ -6,8 +6,10 @@ class KnowledgeBaseService {
return lambdaClient.knowledgeBase.createKnowledgeBase.mutate(params);
};
- getKnowledgeBaseList = async () => {
- return lambdaClient.knowledgeBase.getKnowledgeBases.query();
+ getKnowledgeBaseList = async (visibility?: 'private' | 'public') => {
+ return lambdaClient.knowledgeBase.getKnowledgeBases.query(
+ visibility ? { visibility } : undefined,
+ );
};
getKnowledgeBaseById = async (id: string) => {
@@ -33,6 +35,10 @@ class KnowledgeBaseService {
});
};
+ publishKnowledgeBaseToWorkspace = async (id: string) => {
+ return lambdaClient.knowledgeBase.publishKnowledgeBaseToWorkspace.mutate({ id });
+ };
+
addFilesToKnowledgeBase = async (knowledgeBaseId: string, ids: string[]) => {
return lambdaClient.knowledgeBase.addFilesToKnowledgeBase.mutate({ ids, knowledgeBaseId });
};
diff --git a/src/services/resource/index.ts b/src/services/resource/index.ts
index c1bde1affd6..d1bb19501e3 100644
--- a/src/services/resource/index.ts
+++ b/src/services/resource/index.ts
@@ -59,6 +59,10 @@ const mapToResourceItem = (item: FileListItem): ResourceItem => {
// File-specific fields
url: item.url,
+
+ userId: item.userId,
+
+ visibility: item.visibility,
};
};
diff --git a/src/services/session/index.ts b/src/services/session/index.ts
index ba31fc6d5ce..03cf6c75ce2 100644
--- a/src/services/session/index.ts
+++ b/src/services/session/index.ts
@@ -107,8 +107,12 @@ export class SessionService {
// *********** SessionGroup *********** //
// ************************************** //
- createSessionGroup = (name: string, sort?: number): Promise<string> => {
- return lambdaClient.sessionGroup.createSessionGroup.mutate({ name, sort });
+ createSessionGroup = (
+ name: string,
+ sort?: number,
+ visibility?: 'private' | 'public',
+ ): Promise<string> => {
+ return lambdaClient.sessionGroup.createSessionGroup.mutate({ name, sort, visibility });
};
removeSessionGroup = (id: string, removeChildren?: boolean) => {
diff --git a/src/services/task.ts b/src/services/task.ts
index ed9af7b340e..f365b1bf283 100644
--- a/src/services/task.ts
+++ b/src/services/task.ts
@@ -17,6 +17,7 @@ class TaskService {
parentTaskId?: string | null;
priorities?: number[];
statuses?: TaskStatus[];
+ visibility?: 'private' | 'public';
}) => lambdaClient.task.list.query(params);
groupList = async (params: {
@@ -28,6 +29,7 @@ class TaskService {
statuses: string[];
}>;
parentTaskId?: string | null;
+ visibility?: 'private' | 'public';
}) => lambdaClient.task.groupList.query(params);
getSubtasks = async (id: string) => lambdaClient.task.getSubtasks.query({ id });
@@ -62,8 +64,12 @@ class TaskService {
priority?: number;
schedulePattern?: string;
scheduleTimezone?: string;
+ visibility?: 'private' | 'public';
}) => lambdaClient.task.create.mutate(params);
+ updateVisibility = async (id: string, visibility: 'private' | 'public') =>
+ lambdaClient.task.updateVisibility.mutate({ id, visibility });
+
update = async (
id: string,
data: {
diff --git a/src/store/agent/slices/knowledge/action.test.ts b/src/store/agent/slices/knowledge/action.test.ts
index fd9c0fa6ba4..6a3f96663d5 100644
--- a/src/store/agent/slices/knowledge/action.test.ts
+++ b/src/store/agent/slices/knowledge/action.test.ts
@@ -289,7 +289,7 @@ describe('KnowledgeSlice Actions', () => {
await waitFor(() => expect(result.current.data).toEqual(mockData));
- expect(agentService.getFilesAndKnowledgeBases).toHaveBeenCalledWith('agent-1');
+ expect(agentService.getFilesAndKnowledgeBases).toHaveBeenCalledWith('agent-1', undefined);
});
it('should return empty array as fallback', async () => {
diff --git a/src/store/agent/slices/knowledge/action.ts b/src/store/agent/slices/knowledge/action.ts
index 4bbcc703344..18a949ac805 100644
--- a/src/store/agent/slices/knowledge/action.ts
+++ b/src/store/agent/slices/knowledge/action.ts
@@ -48,7 +48,15 @@ export class KnowledgeSliceActionImpl {
};
internal_refreshAgentKnowledge = async (): Promise<void> => {
- await mutate(agentKnowledgeKeys.list(this.#get().activeAgentId));
+ const agentId = this.#get().activeAgentId;
+ // The picker keys its cache per visibility (unscoped/private/workspace)
+ // so a mutation needs to invalidate all three surfaces at once, otherwise
+ // switching tab after add/remove still shows the stale list.
+ await Promise.all([
+ mutate(agentKnowledgeKeys.list(agentId)),
+ mutate(agentKnowledgeKeys.list(agentId, 'private')),
+ mutate(agentKnowledgeKeys.list(agentId, 'public')),
+ ]);
};
removeFileFromAgent = async (fileId: string): Promise<void> => {
@@ -87,10 +95,13 @@ export class KnowledgeSliceActionImpl {
await internal_refreshAgentConfig(activeAgentId);
};
- useFetchFilesAndKnowledgeBases = (agentId?: string): SWRResponse<KnowledgeItem[]> => {
+ useFetchFilesAndKnowledgeBases = (
+ agentId?: string,
+ visibility?: 'private' | 'public',
+ ): SWRResponse<KnowledgeItem[]> => {
return useClientDataSWR<KnowledgeItem[]>(
- agentId ? agentKnowledgeKeys.list(agentId) : null,
- ([, id]: string[]) => agentService.getFilesAndKnowledgeBases(id),
+ agentId ? agentKnowledgeKeys.list(agentId, visibility) : null,
+ () => agentService.getFilesAndKnowledgeBases(agentId!, visibility),
{
fallbackData: [],
},
diff --git a/src/store/file/slices/fileManager/action.ts b/src/store/file/slices/fileManager/action.ts
index 5eb6d26ae30..10995c87b3c 100644
--- a/src/store/file/slices/fileManager/action.ts
+++ b/src/store/file/slices/fileManager/action.ts
@@ -75,6 +75,7 @@ export class FileManageActionImpl {
result: { id: string; url: string },
knowledgeBaseId?: string,
parentId?: string,
+ visibility?: 'private' | 'public',
): ResourceItem => {
const existing = this.#get().resourceMap.get(result.id);
@@ -94,6 +95,10 @@ export class FileManageActionImpl {
size: file.size,
updatedAt: new Date(),
url: result.url,
+ // Server persists the final visibility, but the row can be listed before
+ // the refetch lands. Carry the user's picker choice so the lock badge is
+ // consistent while the request is in flight.
+ ...(visibility !== undefined ? { visibility } : {}),
};
};
@@ -102,6 +107,7 @@ export class FileManageActionImpl {
file: File,
knowledgeBaseId?: string,
parentId?: string,
+ visibility?: 'private' | 'public',
) => {
this.#get().insertLocalResource(
{
@@ -112,6 +118,7 @@ export class FileManageActionImpl {
size: file.size,
sourceType: 'file',
url: '',
+ ...(visibility !== undefined ? { visibility } : {}),
},
id,
);
@@ -260,6 +267,7 @@ export class FileManageActionImpl {
rawFiles: File[],
knowledgeBaseId?: string,
parentId?: string,
+ visibility?: 'private' | 'public',
): Promise<void> => {
const { dispatchDockFileList } = this.#get();
const generateUploadId = createNanoId(12);
@@ -296,7 +304,13 @@ export class FileManageActionImpl {
});
for (const uploadFile of uploadFiles) {
- this.#insertOptimisticUpload(uploadFile.id, uploadFile.file, knowledgeBaseId, parentId);
+ this.#insertOptimisticUpload(
+ uploadFile.id,
+ uploadFile.file,
+ knowledgeBaseId,
+ parentId,
+ visibility,
+ );
}
// 3. Add all files to dock
@@ -317,6 +331,7 @@ export class FileManageActionImpl {
onStatusUpdate: dispatchDockFileList,
parentId,
uploadId: uploadFileItem.id,
+ visibility,
});
if (!result) {
@@ -329,6 +344,7 @@ export class FileManageActionImpl {
result,
knowledgeBaseId,
parentId,
+ visibility,
),
);
}
@@ -411,6 +427,11 @@ export class FileManageActionImpl {
await revalidateResources();
};
+ publishFileToWorkspace = async (id: string): Promise<void> => {
+ await fileService.publishFileToWorkspace(id);
+ await this.#get().refreshFileList();
+ };
+
removeAllFiles = async (): Promise<void> => {
await fileService.removeAllFiles();
};
diff --git a/src/store/file/slices/resource/action.ts b/src/store/file/slices/resource/action.ts
index e024d897aa6..7ff0700ac76 100644
--- a/src/store/file/slices/resource/action.ts
+++ b/src/store/file/slices/resource/action.ts
@@ -116,6 +116,7 @@ export class ResourceActionImpl {
...(params.sourceType === 'file'
? {
url: params.url,
+ ...(params.visibility !== undefined ? { visibility: params.visibility } : {}),
}
: {
content: params.content,
diff --git a/src/store/file/slices/upload/action.ts b/src/store/file/slices/upload/action.ts
index c52001f8a04..ea27c3d4925 100644
--- a/src/store/file/slices/upload/action.ts
+++ b/src/store/file/slices/upload/action.ts
@@ -44,6 +44,13 @@ interface UploadWithProgressParams {
*/
source?: string;
uploadId?: string;
+ /**
+ * Optional workspace visibility override sent to `file.createFile`. Only
+ * meaningful in workspace mode; personal mode ignores it server-side. When
+ * omitted the server picks its default (top-level uploads default to
+ * `'private'`, children inherit their parent document's visibility).
+ */
+ visibility?: 'private' | 'public';
}
interface UploadWithProgressResult {
@@ -126,6 +133,7 @@ export class FileUploadActionImpl {
source,
uploadId,
abortController,
+ visibility,
}: UploadWithProgressParams): Promise<UploadWithProgressResult | undefined> => {
const statusId = uploadId ?? file.name;
@@ -211,6 +219,7 @@ export class FileUploadActionImpl {
size: normalizedFile.size,
source,
url: fileUrl,
+ visibility,
},
knowledgeBaseId,
);
diff --git a/src/store/global/action.test.ts b/src/store/global/action.test.ts
index 9666d9b11e0..82bcedfdbe1 100644
--- a/src/store/global/action.test.ts
+++ b/src/store/global/action.test.ts
@@ -2,6 +2,7 @@ import { act, renderHook, waitFor } from '@testing-library/react';
import { major, minor } from 'semver';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import * as activeWorkspaceModule from '@/business/client/hooks/useActiveWorkspaceId';
import { CURRENT_VERSION } from '@/const/version';
import { globalService } from '@/services/global';
import { useGlobalStore } from '@/store/global/index';
@@ -488,4 +489,84 @@ describe('createPreferenceSlice', () => {
expect(useGlobalStore.getState().status.workingSidebarRevealRequest).toBeUndefined();
});
});
+
+ describe('workspace overlay routing', () => {
+ // The lobehub-side `useActiveWorkspaceId` returns null by default; the
+ // cloud build overrides it. Stub the sync getter so we can exercise
+ // workspace-mode routing without booting a workspace store.
+ const setActiveWorkspace = (id: string | null) => {
+ vi.spyOn(activeWorkspaceModule, 'getActiveWorkspaceId').mockReturnValue(id);
+ };
+
+ beforeEach(() => {
+ useGlobalStore.setState({ isStatusInit: true });
+ });
+
+ it('routes whitelisted writes into status.workspace when inside a workspace', () => {
+ setActiveWorkspace('ws-1');
+ const { result } = renderHook(() => useGlobalStore());
+
+ act(() => {
+ result.current.updateSystemStatus({
+ hiddenSidebarSections: ['recents'],
+ sidebarItems: ['agent'],
+ });
+ });
+
+ expect(result.current.status.workspace?.hiddenSidebarSections).toEqual(['recents']);
+ expect(result.current.status.workspace?.sidebarItems).toEqual(['agent']);
+ // Top-level (personal mode) values stay untouched
+ expect(result.current.status.hiddenSidebarSections).toBeUndefined();
+ expect(result.current.status.sidebarItems).toBeUndefined();
+ });
+
+ it('keeps non-whitelisted writes at the top level when inside a workspace', () => {
+ setActiveWorkspace('ws-1');
+ const { result } = renderHook(() => useGlobalStore());
+
+ act(() => {
+ result.current.updateSystemStatus({ leftPanelWidth: 360 });
+ });
+
+ expect(result.current.status.leftPanelWidth).toBe(360);
+ expect(result.current.status.workspace).toBeUndefined();
+ });
+
+ it('writes whitelisted fields to the top level when not in a workspace', () => {
+ setActiveWorkspace(null);
+ const { result } = renderHook(() => useGlobalStore());
+
+ act(() => {
+ result.current.updateSystemStatus({ hiddenSidebarSections: ['memory'] });
+ });
+
+ expect(result.current.status.hiddenSidebarSections).toEqual(['memory']);
+ expect(result.current.status.workspace?.hiddenSidebarSections).toBeUndefined();
+ });
+
+ it('toggleExpandSessionGroup composes off the workspace overlay when inside a workspace', () => {
+ setActiveWorkspace('ws-1');
+ // Seed: personal has ['pinned','default'], workspace overlay has ['ws-only']
+ useGlobalStore.setState({
+ isStatusInit: true,
+ status: {
+ ...initialState.status,
+ expandSessionGroupKeys: ['pinned', 'default'],
+ workspace: { expandSessionGroupKeys: ['ws-only'] },
+ },
+ });
+ const { result } = renderHook(() => useGlobalStore());
+
+ act(() => {
+ result.current.toggleExpandSessionGroup('new-group', true);
+ });
+
+ // New key was appended to the workspace overlay, not to the personal list.
+ expect(result.current.status.workspace?.expandSessionGroupKeys).toEqual([
+ 'ws-only',
+ 'new-group',
+ ]);
+ expect(result.current.status.expandSessionGroupKeys).toEqual(['pinned', 'default']);
+ });
+ });
});
diff --git a/src/store/global/actions/general.ts b/src/store/global/actions/general.ts
index a6dca3edc9c..bf0bc716236 100644
--- a/src/store/global/actions/general.ts
+++ b/src/store/global/actions/general.ts
@@ -3,6 +3,7 @@ import isEqual from 'fast-deep-equal';
import { gt, parse, valid } from 'semver';
import type { SWRResponse } from 'swr';
+import { getActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { CURRENT_VERSION, isDesktop } from '@/const/version';
import { useOnlyFetchOnceSWR } from '@/libs/swr';
import { globalKeys } from '@/libs/swr/keys';
@@ -17,7 +18,11 @@ import { switchLang } from '@/utils/client/switchLang';
import { merge } from '@/utils/merge';
import { setNamespace } from '@/utils/storeDebug';
-import { DEFAULT_HIDDEN_SECTIONS, DEFAULT_SIDEBAR_ITEMS } from '../selectors/systemStatus';
+import {
+ DEFAULT_HIDDEN_SECTIONS,
+ DEFAULT_SIDEBAR_ITEMS,
+ routeOverlayWrites,
+} from '../selectors/systemStatus';
import type { GlobalStore } from '../store';
const n = setNamespace('g');
@@ -175,10 +180,20 @@ export class GlobalGeneralActionImpl {
);
};
- updateSystemStatus = (status: Partial<SystemStatus>, action?: any): void => {
+ updateSystemStatus = (
+ status: Partial<SystemStatus>,
+ action?: any,
+ options?: { skipWorkspaceOverlay?: boolean },
+ ): void => {
if (!this.#get().isStatusInit) return;
- const nextStatus = merge(this.#get().status, status);
+ // When inside a workspace, route whitelisted sidebar-layout fields into
+ // `status.workspace.*` so personal-mode preferences stay untouched. The
+ // init path bypasses routing — it rehydrates whatever shape was persisted.
+ const workspaceId = options?.skipWorkspaceOverlay ? null : getActiveWorkspaceId();
+ const routedPatch = routeOverlayWrites(status, workspaceId);
+
+ const nextStatus = merge(this.#get().status, routedPatch);
if (isEqual(this.#get().status, nextStatus)) return;
@@ -277,7 +292,9 @@ export class GlobalGeneralActionImpl {
workingSidebarRevealRequest: undefined,
};
- this.#get().updateSystemStatus(statusWithResetTransientStates, 'initSystemStatus');
+ this.#get().updateSystemStatus(statusWithResetTransientStates, 'initSystemStatus', {
+ skipWorkspaceOverlay: true,
+ });
},
},
);
diff --git a/src/store/global/actions/workspacePane.ts b/src/store/global/actions/workspacePane.ts
index 212de3be4fc..865d5834d3f 100644
--- a/src/store/global/actions/workspacePane.ts
+++ b/src/store/global/actions/workspacePane.ts
@@ -1,9 +1,11 @@
import { AGENT_CHAT_URL } from '@lobechat/const';
import { produce } from 'immer';
+import { getActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';
import { INBOX_SESSION_ID } from '@/const/session';
import type { GlobalStore } from '@/store/global';
import type { ModelDetailPanelExpandedKey, WorkingSidebarTab } from '@/store/global/initialState';
+import { readOverridableField } from '@/store/global/selectors/systemStatus';
import type { StoreSetter } from '@/store/types';
import { getStableNavigate } from '@/utils/stableNavigate';
import { setNamespace } from '@/utils/storeDebug';
@@ -63,7 +65,11 @@ export class GlobalWorkspacePaneActionImpl {
toggleExpandSessionGroup = (id: string, expand: boolean): void => {
const { status } = this.#get();
- const nextExpandSessionGroup = produce(status.expandSessionGroupKeys, (draft: string[]) => {
+ // Read the effective (overlay-aware) value so workspace-mode toggles compose
+ // off the workspace list, not the personal one underneath it.
+ const currentKeys =
+ readOverridableField(status, 'expandSessionGroupKeys', getActiveWorkspaceId()) ?? [];
+ const nextExpandSessionGroup = produce(currentKeys, (draft: string[]) => {
if (expand) {
if (draft.includes(id)) return;
draft.push(id);
diff --git a/src/store/global/initialState.ts b/src/store/global/initialState.ts
index 9d4c90918f4..6a92e0ffb83 100644
--- a/src/store/global/initialState.ts
+++ b/src/store/global/initialState.ts
@@ -104,7 +104,7 @@ export const DEFAULT_MODEL_DETAIL_PANEL_EXPANDED_KEYS = [
'config',
] as const satisfies readonly ModelDetailPanelExpandedKey[];
-export const DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS = ['recents', 'agent'];
+export const DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS = ['recents', 'agent', 'private'];
export interface SystemStatus {
/**
@@ -199,6 +199,10 @@ export interface SystemStatus {
*/
pagePageSize?: number;
portalWidth: number;
+ /**
+ * number of private agents (ungrouped) to display in the Private sidebar bucket
+ */
+ privateAgentPageSize?: number;
readNotificationSlugs?: string[];
/**
* number of recent items to display
@@ -294,8 +298,35 @@ export interface SystemStatus {
* can switch the panel to "review" when revealing the right panel.
*/
workingSidebarTab?: WorkingSidebarTab;
+ /**
+ * Workspace-mode overlay for sidebar layout/visibility preferences.
+ * When the user is inside a workspace (see `useActiveWorkspaceId`), reads
+ * fall back to these values instead of the top-level fields, and writes
+ * to whitelisted fields land here. Top-level fields stay as the personal
+ * (no-workspace) preference, so switching modes does not bleed state.
+ * Single shared bucket across all workspaces — not keyed by workspaceId.
+ */
+ workspace?: Partial<Pick<SystemStatus, WorkspaceOverridableField>>;
}
+/**
+ * Fields whose preference is meaningfully different between personal mode
+ * and workspace mode (e.g. workspace-only sidebar entries like the Private
+ * group, or product-driven defaults like hiding Recents in a workspace).
+ * Writes to these fields are routed to `status.workspace.*` when the user is
+ * inside a workspace; reads fall back to the top-level value when the
+ * overlay is empty.
+ */
+export type WorkspaceOverridableField =
+ 'expandSessionGroupKeys' | 'hiddenSidebarSections' | 'sidebarExpandedKeys' | 'sidebarItems';
+
+export const WORKSPACE_OVERRIDABLE_FIELDS = [
+ 'expandSessionGroupKeys',
+ 'hiddenSidebarSections',
+ 'sidebarExpandedKeys',
+ 'sidebarItems',
+] as const satisfies readonly WorkspaceOverridableField[];
+
export interface GlobalNavigationRef {
current: NavigateFunction | null;
}
@@ -339,6 +370,7 @@ export interface GlobalState {
export const INITIAL_STATUS = {
agentBuilderPanelWidth: 360,
agentPageSize: 5,
+ privateAgentPageSize: 5,
chatInputHeight: 64,
recentPageSize: 5,
taskListViewOptions: {
diff --git a/src/store/global/selectors/systemStatus.test.ts b/src/store/global/selectors/systemStatus.test.ts
index 3394f5ac69e..5f5df56cf16 100644
--- a/src/store/global/selectors/systemStatus.test.ts
+++ b/src/store/global/selectors/systemStatus.test.ts
@@ -11,7 +11,9 @@ import {
} from '../initialState';
import {
DEFAULT_SIDEBAR_ITEMS,
+ readOverridableField,
reorderSidebarItems,
+ routeOverlayWrites,
SIDEBAR_SPACER_ID,
systemStatusSelectors,
} from './systemStatus';
@@ -30,7 +32,7 @@ describe('systemStatusSelectors', () => {
expandSessionGroupKeys: ['group1', 'group2'],
},
});
- expect(systemStatusSelectors.sessionGroupKeys(s)).toEqual(['group1', 'group2']);
+ expect(systemStatusSelectors.sessionGroupKeys(null)(s)).toEqual(['group1', 'group2']);
});
it('should return initial value if not set', () => {
@@ -39,7 +41,7 @@ describe('systemStatusSelectors', () => {
expandSessionGroupKeys: undefined,
},
});
- expect(systemStatusSelectors.sessionGroupKeys(s)).toEqual(
+ expect(systemStatusSelectors.sessionGroupKeys(null)(s)).toEqual(
INITIAL_STATUS.expandSessionGroupKeys,
);
});
@@ -143,13 +145,14 @@ describe('systemStatusSelectors', () => {
describe('sidebarItems', () => {
it('should return DEFAULT_SIDEBAR_ITEMS when no data is set', () => {
- expect(systemStatusSelectors.sidebarItems(initialState)).toEqual(DEFAULT_SIDEBAR_ITEMS);
+ expect(systemStatusSelectors.sidebarItems(null)(initialState)).toEqual(DEFAULT_SIDEBAR_ITEMS);
});
it('should re-anchor the spacer immediately after the accordion block', () => {
// Stored order has pages/tasks between the accordion and the first default-bottom item.
// The invariant moves them into the bottom group (after the spacer).
const stored = [
+ 'private',
'agent',
'recents',
'pages',
@@ -162,7 +165,8 @@ describe('systemStatusSelectors', () => {
const s: GlobalState = merge(initialState, {
status: { sidebarItems: stored },
});
- expect(systemStatusSelectors.sidebarItems(s)).toEqual([
+ expect(systemStatusSelectors.sidebarItems(null)(s)).toEqual([
+ 'private',
'agent',
'recents',
SIDEBAR_SPACER_ID,
@@ -179,6 +183,7 @@ describe('systemStatusSelectors', () => {
const stored = [
'pages',
'recents',
+ 'private',
'agent',
SIDEBAR_SPACER_ID,
'image',
@@ -190,7 +195,7 @@ describe('systemStatusSelectors', () => {
const s: GlobalState = merge(initialState, {
status: { sidebarItems: stored },
});
- expect(systemStatusSelectors.sidebarItems(s)).toEqual(stored);
+ expect(systemStatusSelectors.sidebarItems(null)(s)).toEqual(stored);
});
it('should re-anchor the spacer when stored above the accordion', () => {
@@ -201,6 +206,7 @@ describe('systemStatusSelectors', () => {
'pages',
SIDEBAR_SPACER_ID,
'recents',
+ 'private',
'agent',
'image',
'community',
@@ -210,10 +216,11 @@ describe('systemStatusSelectors', () => {
const s: GlobalState = merge(initialState, {
status: { sidebarItems: stored },
});
- expect(systemStatusSelectors.sidebarItems(s)).toEqual([
+ expect(systemStatusSelectors.sidebarItems(null)(s)).toEqual([
'tasks',
'pages',
'recents',
+ 'private',
'agent',
SIDEBAR_SPACER_ID,
'image',
@@ -227,7 +234,7 @@ describe('systemStatusSelectors', () => {
const s: GlobalState = merge(initialState, {
status: { sidebarItems: ['agent', 'recents'] },
});
- const items = systemStatusSelectors.sidebarItems(s);
+ const items = systemStatusSelectors.sidebarItems(null)(s);
const spacerIdx = items.indexOf(SIDEBAR_SPACER_ID);
// every known key is present
expect(items).toContain('pages');
@@ -249,11 +256,13 @@ describe('systemStatusSelectors', () => {
const s: GlobalState = merge(initialState, {
status: { sidebarSectionOrder: ['agent', 'recents'] },
});
- const items = systemStatusSelectors.sidebarItems(s);
- // accordion slot in the default list now uses the user's legacy order
+ const items = systemStatusSelectors.sidebarItems(null)(s);
+ // accordion slot uses the user's legacy order; `private` (added after
+ // the legacy state was saved) is backfilled at the head of the block.
expect(items).toEqual([
'tasks',
'pages',
+ 'private',
'agent',
'recents',
SIDEBAR_SPACER_ID,
@@ -264,12 +273,25 @@ describe('systemStatusSelectors', () => {
]);
});
- it('should fall back to default when legacy `sidebarSectionOrder` is the default order', () => {
+ it('should preserve legacy accordion order when migrating from `sidebarSectionOrder`', () => {
const s: GlobalState = merge(initialState, {
status: { sidebarSectionOrder: ['recents', 'agent'] },
});
- const items = systemStatusSelectors.sidebarItems(s);
- expect(items).toEqual(DEFAULT_SIDEBAR_ITEMS);
+ const items = systemStatusSelectors.sidebarItems(null)(s);
+ // `private` (new accordion entry not present in legacy state) is
+ // backfilled at the head of the block; recents/agent keep legacy order.
+ expect(items).toEqual([
+ 'tasks',
+ 'pages',
+ 'private',
+ 'recents',
+ 'agent',
+ SIDEBAR_SPACER_ID,
+ 'image',
+ 'community',
+ 'resource',
+ 'memory',
+ ]);
});
it('should prefer `sidebarItems` over legacy `sidebarSectionOrder` when both are set', () => {
@@ -279,7 +301,7 @@ describe('systemStatusSelectors', () => {
sidebarSectionOrder: ['agent', 'recents'],
},
});
- const items = systemStatusSelectors.sidebarItems(s);
+ const items = systemStatusSelectors.sidebarItems(null)(s);
expect(items.indexOf('recents')).toBeLessThan(items.indexOf('agent'));
});
});
@@ -294,7 +316,7 @@ describe('systemStatusSelectors', () => {
},
};
- expect(systemStatusSelectors.sidebarExpandedKeys(s)).toEqual(
+ expect(systemStatusSelectors.sidebarExpandedKeys(null)(s)).toEqual(
DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS,
);
});
@@ -304,7 +326,7 @@ describe('systemStatusSelectors', () => {
status: { sidebarExpandedKeys: [] },
});
- expect(systemStatusSelectors.sidebarExpandedKeys(s)).toEqual([]);
+ expect(systemStatusSelectors.sidebarExpandedKeys(null)(s)).toEqual([]);
});
});
@@ -419,4 +441,166 @@ describe('systemStatusSelectors', () => {
expect(next.at(-1)).toBe('pages');
});
});
+
+ describe('workspace overlay', () => {
+ describe('readOverridableField', () => {
+ it('returns the top-level value when workspaceId is null', () => {
+ const status = {
+ ...initialState.status,
+ expandSessionGroupKeys: ['personal'],
+ workspace: { expandSessionGroupKeys: ['ws'] },
+ };
+ expect(readOverridableField(status, 'expandSessionGroupKeys', null)).toEqual(['personal']);
+ });
+
+ it('returns the overlay value when workspaceId is set and overlay carries the field', () => {
+ const status = {
+ ...initialState.status,
+ expandSessionGroupKeys: ['personal'],
+ workspace: { expandSessionGroupKeys: ['ws'] },
+ };
+ expect(readOverridableField(status, 'expandSessionGroupKeys', 'ws-1')).toEqual(['ws']);
+ });
+
+ it('falls back to top-level when overlay is missing the field', () => {
+ const status = {
+ ...initialState.status,
+ hiddenSidebarSections: ['recents'],
+ workspace: { expandSessionGroupKeys: ['ws'] },
+ };
+ expect(readOverridableField(status, 'hiddenSidebarSections', 'ws-1')).toEqual(['recents']);
+ });
+ });
+
+ describe('selectors honour the overlay', () => {
+ const stateWithOverlay: GlobalState = merge(initialState, {
+ status: {
+ expandSessionGroupKeys: ['personal-group'],
+ hiddenSidebarSections: [],
+ sidebarItems: undefined,
+ sidebarExpandedKeys: ['recents', 'agent', 'private'],
+ workspace: {
+ expandSessionGroupKeys: ['ws-group'],
+ hiddenSidebarSections: ['recents'],
+ sidebarExpandedKeys: ['agent'],
+ },
+ },
+ });
+
+ it('sessionGroupKeys prefers overlay in workspace mode', () => {
+ expect(systemStatusSelectors.sessionGroupKeys('ws-1')(stateWithOverlay)).toEqual([
+ 'ws-group',
+ ]);
+ });
+
+ it('sessionGroupKeys returns personal value in personal mode', () => {
+ expect(systemStatusSelectors.sessionGroupKeys(null)(stateWithOverlay)).toEqual([
+ 'personal-group',
+ ]);
+ });
+
+ it('hiddenSidebarSections prefers overlay in workspace mode', () => {
+ expect(systemStatusSelectors.hiddenSidebarSections('ws-1')(stateWithOverlay)).toEqual([
+ 'recents',
+ ]);
+ });
+
+ it('sidebarExpandedKeys prefers overlay in workspace mode', () => {
+ expect(systemStatusSelectors.sidebarExpandedKeys('ws-1')(stateWithOverlay)).toEqual([
+ 'agent',
+ ]);
+ });
+
+ it('sidebarItems falls back to default when overlay omits and top-level omits', () => {
+ // Both top-level and workspace.sidebarItems are undefined → default
+ expect(systemStatusSelectors.sidebarItems('ws-1')(stateWithOverlay)).toEqual(
+ DEFAULT_SIDEBAR_ITEMS,
+ );
+ });
+
+ it('hides `recents` by default in workspace mode when overlay is untouched', () => {
+ const s: GlobalState = merge(initialState, {
+ status: { hiddenSidebarSections: undefined, workspace: undefined },
+ });
+ expect(systemStatusSelectors.hiddenSidebarSections('ws-1')(s)).toEqual(['recents']);
+ });
+
+ it('keeps `recents` visible in personal mode by default', () => {
+ const s: GlobalState = merge(initialState, {
+ status: { hiddenSidebarSections: undefined, workspace: undefined },
+ });
+ expect(systemStatusSelectors.hiddenSidebarSections(null)(s)).toEqual([]);
+ });
+
+ it('layers workspace defaults on top of personal-mode hides when overlay is untouched', () => {
+ const s: GlobalState = merge(initialState, {
+ status: { hiddenSidebarSections: ['pages'], workspace: undefined },
+ });
+ expect(systemStatusSelectors.hiddenSidebarSections('ws-1')(s)).toEqual([
+ 'pages',
+ 'recents',
+ ]);
+ });
+
+ it('respects an explicit empty overlay as "show everything in this workspace"', () => {
+ const s: GlobalState = merge(initialState, {
+ status: { hiddenSidebarSections: ['recents'], workspace: { hiddenSidebarSections: [] } },
+ });
+ expect(systemStatusSelectors.hiddenSidebarSections('ws-1')(s)).toEqual([]);
+ });
+ });
+
+ describe('routeOverlayWrites', () => {
+ it('passes patch through unchanged when workspaceId is null', () => {
+ const patch = { hiddenSidebarSections: ['recents'], leftPanelWidth: 300 };
+ expect(routeOverlayWrites(patch, null)).toBe(patch);
+ });
+
+ it('routes whitelisted fields into the workspace overlay', () => {
+ const patch = { hiddenSidebarSections: ['recents'], expandSessionGroupKeys: ['x'] };
+ expect(routeOverlayWrites(patch, 'ws-1')).toEqual({
+ workspace: {
+ hiddenSidebarSections: ['recents'],
+ expandSessionGroupKeys: ['x'],
+ },
+ });
+ });
+
+ it('keeps non-whitelisted fields at the top level even in workspace mode', () => {
+ const patch = { leftPanelWidth: 300, language: 'zh-CN' as const };
+ expect(routeOverlayWrites(patch, 'ws-1')).toEqual({
+ leftPanelWidth: 300,
+ language: 'zh-CN',
+ });
+ });
+
+ it('splits a mixed patch into top-level and workspace overlay', () => {
+ const patch = {
+ leftPanelWidth: 300,
+ hiddenSidebarSections: ['recents'],
+ sidebarItems: ['agent'],
+ };
+ expect(routeOverlayWrites(patch, 'ws-1')).toEqual({
+ leftPanelWidth: 300,
+ workspace: {
+ hiddenSidebarSections: ['recents'],
+ sidebarItems: ['agent'],
+ },
+ });
+ });
+
+ it('preserves an explicit `workspace` key while routing whitelisted fields', () => {
+ const patch = {
+ hiddenSidebarSections: ['recents'],
+ workspace: { sidebarItems: ['existing'] as string[] },
+ };
+ expect(routeOverlayWrites(patch, 'ws-1')).toEqual({
+ workspace: {
+ sidebarItems: ['existing'],
+ hiddenSidebarSections: ['recents'],
+ },
+ });
+ });
+ });
+ });
});
diff --git a/src/store/global/selectors/systemStatus.ts b/src/store/global/selectors/systemStatus.ts
index 34723e74afd..f2ac0a5739b 100644
--- a/src/store/global/selectors/systemStatus.ts
+++ b/src/store/global/selectors/systemStatus.ts
@@ -1,10 +1,65 @@
-import type { GlobalState, ModelDetailPanelExpandedKey } from '../initialState';
+import type {
+ GlobalState,
+ ModelDetailPanelExpandedKey,
+ SystemStatus,
+ WorkspaceOverridableField,
+} from '../initialState';
import {
DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS,
DEFAULT_MODEL_DETAIL_PANEL_EXPANDED_KEYS,
INITIAL_STATUS,
+ WORKSPACE_OVERRIDABLE_FIELDS,
} from '../initialState';
+/**
+ * Read a workspace-overridable field from SystemStatus.
+ * When `workspaceId` is non-null and the overlay carries the field, returns the overlay
+ * value; otherwise falls back to the top-level (personal mode) value.
+ */
+export const readOverridableField = <K extends WorkspaceOverridableField>(
+ status: SystemStatus,
+ field: K,
+ workspaceId: string | null,
+): SystemStatus[K] => {
+ if (workspaceId) {
+ const overlay = status.workspace?.[field];
+ if (overlay !== undefined) return overlay as SystemStatus[K];
+ }
+ return status[field];
+};
+
+const OVERRIDABLE_SET = new Set<string>(WORKSPACE_OVERRIDABLE_FIELDS);
+
+/**
+ * Reshape an `updateSystemStatus` patch when the user is inside a workspace:
+ * whitelisted fields land in `workspace.*` so they do not bleed into personal
+ * mode. Non-whitelisted fields stay at the top level. An explicit `workspace`
+ * key in the patch is preserved and merged with the routed overlay.
+ *
+ * Pass `workspaceId = null` to bypass routing (init path, personal mode).
+ */
+export const routeOverlayWrites = (
+ patch: Partial<SystemStatus>,
+ workspaceId: string | null,
+): Partial<SystemStatus> => {
+ if (!workspaceId) return patch;
+
+ const { workspace: explicitOverlay, ...rest } = patch;
+ const overlayUpdates: Partial<Pick<SystemStatus, WorkspaceOverridableField>> = {};
+ const topLevel: Partial<SystemStatus> = {};
+
+ for (const key of Object.keys(rest)) {
+ if (OVERRIDABLE_SET.has(key)) {
+ (overlayUpdates as any)[key] = (rest as any)[key];
+ } else {
+ (topLevel as any)[key] = (rest as any)[key];
+ }
+ }
+
+ const overlay = { ...explicitOverlay, ...overlayUpdates };
+ return Object.keys(overlay).length > 0 ? { ...topLevel, workspace: overlay } : topLevel;
+};
+
export const systemStatus = (s: GlobalState) => s.status;
export const NAV_PANEL_MIN_WIDTH = 240;
@@ -21,8 +76,12 @@ const normalizeNavPanelWidth = (width: number | string | undefined): number => {
const agentBuilderPanelWidth = (s: GlobalState) => s.status.agentBuilderPanelWidth || 360;
-const sessionGroupKeys = (s: GlobalState): string[] =>
- s.status.expandSessionGroupKeys || INITIAL_STATUS.expandSessionGroupKeys;
+const sessionGroupKeys =
+ (workspaceId: string | null) =>
+ (s: GlobalState): string[] => {
+ const value = readOverridableField(s.status, 'expandSessionGroupKeys', workspaceId);
+ return value || INITIAL_STATUS.expandSessionGroupKeys;
+ };
const topicGroupKeys = (s: GlobalState): string[] | undefined => s.status.expandTopicGroupKeys;
@@ -35,6 +94,8 @@ const topicPageSize = (s: GlobalState): number => s.status.topicPageSize || 20;
const agentPageSize = (s: GlobalState): number => s.status.agentPageSize || 5;
+const privateAgentPageSize = (s: GlobalState): number => s.status.privateAgentPageSize || 5;
+
const recentPageSize = (s: GlobalState): number => s.status.recentPageSize || 5;
const pagePageSize = (s: GlobalState): number => s.status.pagePageSize || 20;
@@ -61,11 +122,43 @@ const taskKanbanHiddenPanelCollapsed = (s: GlobalState): boolean =>
export const DEFAULT_HIDDEN_SECTIONS: string[] = [];
-const hiddenSidebarSections = (s: GlobalState): string[] =>
- s.status.hiddenSidebarSections ?? DEFAULT_HIDDEN_SECTIONS;
+/** Sections hidden by default in workspace mode until the user customizes
+ * sidebar visibility. `recents` lives in personal mode where the catch-all
+ * stream is useful, but in a workspace the agent/project lists are the
+ * primary entry points — surfacing recents on top adds noise. */
+export const WORKSPACE_DEFAULT_HIDDEN_SECTIONS: string[] = ['recents'];
+
+/** Sections hidden by default for the given mode. The customize-sidebar
+ * "Reset to default" path uses this so resetting in a workspace restores
+ * the workspace defaults, not the empty personal-mode defaults. */
+export const getDefaultHiddenSections = (isWorkspaceMode: boolean): string[] =>
+ isWorkspaceMode ? [...WORKSPACE_DEFAULT_HIDDEN_SECTIONS] : DEFAULT_HIDDEN_SECTIONS;
+
+const hiddenSidebarSections =
+ (workspaceId: string | null) =>
+ (s: GlobalState): string[] => {
+ if (workspaceId) {
+ const overlay = s.status.workspace?.hiddenSidebarSections;
+ // Once the user touches sidebar visibility in this workspace the overlay
+ // owns the list — including an explicit empty array meaning "show all".
+ if (overlay !== undefined) return overlay;
+ // Untouched workspace: inherit any personal-mode hides and layer the
+ // workspace defaults on top so `recents` starts collapsed.
+ const personal = s.status.hiddenSidebarSections ?? DEFAULT_HIDDEN_SECTIONS;
+ const merged = [...personal];
+ for (const k of WORKSPACE_DEFAULT_HIDDEN_SECTIONS) {
+ if (!merged.includes(k)) merged.push(k);
+ }
+ return merged;
+ }
+ return s.status.hiddenSidebarSections ?? DEFAULT_HIDDEN_SECTIONS;
+ };
-const sidebarExpandedKeys = (s: GlobalState): string[] =>
- s.status.sidebarExpandedKeys ?? DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS;
+const sidebarExpandedKeys =
+ (workspaceId: string | null) =>
+ (s: GlobalState): string[] =>
+ readOverridableField(s.status, 'sidebarExpandedKeys', workspaceId) ??
+ DEFAULT_HOME_SIDEBAR_EXPANDED_KEYS;
/** Sentinel id representing the flex spacer slot. Its position in `sidebarItems`
* determines where the sidebar pushes items to the bottom. */
@@ -75,6 +168,7 @@ export const DEFAULT_SIDEBAR_ITEMS: string[] = [
'tasks',
'pages',
'recents',
+ 'private',
'agent',
SIDEBAR_SPACER_ID,
'image',
@@ -83,8 +177,10 @@ export const DEFAULT_SIDEBAR_ITEMS: string[] = [
'memory',
];
-/** Items that must stay contiguous in the sidebar list (accordion block). */
-export const SIDEBAR_ACCORDION_KEYS = new Set(['recents', 'agent']);
+/** Items that must stay contiguous in the sidebar list (accordion block).
+ * `private` sits above `agent` so workspace users see their personal items
+ * first, with the workspace-shared agents right below. */
+export const SIDEBAR_ACCORDION_KEYS = new Set(['recents', 'private', 'agent']);
const DEFAULT_BOTTOM_KEYS = new Set(
DEFAULT_SIDEBAR_ITEMS.slice(DEFAULT_SIDEBAR_ITEMS.indexOf(SIDEBAR_SPACER_ID) + 1),
@@ -225,38 +321,40 @@ export const reorderSidebarItems = (items: string[], from: number, to: number):
return arraysEqual(normalized, items) ? items : normalized;
};
-const sidebarItems = (s: GlobalState): string[] => {
- const items = s.status.sidebarItems;
- if (items && items.length > 0) return withAllKnownKeys(items);
-
- // Migrate from the legacy `sidebarSectionOrder` (canary) which only stored the
- // accordion order (e.g. ['agent', 'recents']). Apply that order to the accordion
- // slot inside the default list so users keep their custom accordion arrangement.
- const legacy = s.status.sidebarSectionOrder;
- if (legacy && legacy.length > 0) {
- const legacyAcc = legacy.filter((k) => SIDEBAR_ACCORDION_KEYS.has(k));
- if (legacyAcc.length > 0) {
- const seen = new Set<string>();
- const merged: string[] = [];
- for (const k of DEFAULT_SIDEBAR_ITEMS) {
- if (SIDEBAR_ACCORDION_KEYS.has(k)) {
- for (const lk of legacyAcc) {
- if (!seen.has(lk)) {
- merged.push(lk);
- seen.add(lk);
+const sidebarItems =
+ (workspaceId: string | null) =>
+ (s: GlobalState): string[] => {
+ const items = readOverridableField(s.status, 'sidebarItems', workspaceId);
+ if (items && items.length > 0) return withAllKnownKeys(items);
+
+ // Migrate from the legacy `sidebarSectionOrder` (canary) which only stored the
+ // accordion order (e.g. ['agent', 'recents']). Apply that order to the accordion
+ // slot inside the default list so users keep their custom accordion arrangement.
+ const legacy = s.status.sidebarSectionOrder;
+ if (legacy && legacy.length > 0) {
+ const legacyAcc = legacy.filter((k) => SIDEBAR_ACCORDION_KEYS.has(k));
+ if (legacyAcc.length > 0) {
+ const seen = new Set<string>();
+ const merged: string[] = [];
+ for (const k of DEFAULT_SIDEBAR_ITEMS) {
+ if (SIDEBAR_ACCORDION_KEYS.has(k)) {
+ for (const lk of legacyAcc) {
+ if (!seen.has(lk)) {
+ merged.push(lk);
+ seen.add(lk);
+ }
}
+ } else if (!seen.has(k)) {
+ merged.push(k);
+ seen.add(k);
}
- } else if (!seen.has(k)) {
- merged.push(k);
- seen.add(k);
}
+ return withAllKnownKeys(merged);
}
- return withAllKnownKeys(merged);
}
- }
- return DEFAULT_SIDEBAR_ITEMS;
-};
+ return DEFAULT_SIDEBAR_ITEMS;
+ };
const showSystemRole = (s: GlobalState) => s.status.showSystemRole;
const mobileShowTopic = (s: GlobalState) => s.status.mobileShowTopic;
const mobileShowPortal = (s: GlobalState) => s.status.mobileShowPortal;
@@ -356,6 +454,7 @@ export const systemStatusSelectors = {
pageAgentPanelWidth,
pagePageSize,
portalWidth,
+ privateAgentPageSize,
recentPageSize,
taskCreateInlineCollapsed,
taskKanbanHiddenColumns,
diff --git a/src/store/home/slices/agentList/action.ts b/src/store/home/slices/agentList/action.ts
index 09c6b4c8c82..85112aea998 100644
--- a/src/store/home/slices/agentList/action.ts
+++ b/src/store/home/slices/agentList/action.ts
@@ -55,7 +55,9 @@ export class AgentListActionImpl {
state.isAgentListInit &&
isEqual(state.pinnedAgents, newState.pinnedAgents) &&
isEqual(state.agentGroups, newState.agentGroups) &&
- isEqual(state.ungroupedAgents, newState.ungroupedAgents)
+ isEqual(state.ungroupedAgents, newState.ungroupedAgents) &&
+ isEqual(state.privateAgentGroups, newState.privateAgentGroups) &&
+ isEqual(state.privateUngroupedAgents, newState.privateUngroupedAgents)
) {
return;
}
diff --git a/src/store/home/slices/agentList/initialState.ts b/src/store/home/slices/agentList/initialState.ts
index 5df28318384..200f9fc578b 100644
--- a/src/store/home/slices/agentList/initialState.ts
+++ b/src/store/home/slices/agentList/initialState.ts
@@ -21,6 +21,16 @@ export interface AgentListState {
* Pinned agents and chat groups
*/
pinnedAgents: SidebarAgentItem[];
+ /**
+ * Private folders owned by the current user within the workspace.
+ * Always empty in personal mode.
+ */
+ privateAgentGroups: SidebarGroup[];
+ /**
+ * Ungrouped private agents/chat groups owned by the current user within
+ * the workspace. Always empty in personal mode.
+ */
+ privateUngroupedAgents: SidebarAgentItem[];
/**
* Ungrouped agents and chat groups
*/
@@ -32,6 +42,8 @@ export const initialAgentListState: AgentListState = {
allAgentsDrawerOpen: false,
isAgentListInit: false,
pinnedAgents: [],
+ privateAgentGroups: [],
+ privateUngroupedAgents: [],
ungroupedAgents: [],
};
@@ -40,8 +52,17 @@ export const initialAgentListState: AgentListState = {
*/
export const mapResponseToState = (
response: SidebarAgentListResponse,
-): Pick<AgentListState, 'agentGroups' | 'pinnedAgents' | 'ungroupedAgents'> => ({
+): Pick<
+ AgentListState,
+ | 'agentGroups'
+ | 'pinnedAgents'
+ | 'privateAgentGroups'
+ | 'privateUngroupedAgents'
+ | 'ungroupedAgents'
+> => ({
agentGroups: response.groups,
pinnedAgents: response.pinned,
+ privateAgentGroups: response.privateGroups ?? [],
+ privateUngroupedAgents: response.privateUngrouped ?? [],
ungroupedAgents: response.ungrouped,
});
diff --git a/src/store/home/slices/agentList/selectors.ts b/src/store/home/slices/agentList/selectors.ts
index 68c74590aa0..f0e45a53ec0 100644
--- a/src/store/home/slices/agentList/selectors.ts
+++ b/src/store/home/slices/agentList/selectors.ts
@@ -11,11 +11,29 @@ const pinnedAgents = (s: HomeStore): SidebarAgentItem[] => s.pinnedAgents;
*/
const agentGroups = (s: HomeStore): SidebarGroup[] => s.agentGroups;
+/**
+ * Get private agent groups (folders) owned by the current user.
+ * Empty array in personal mode.
+ */
+const privateAgentGroups = (s: HomeStore): SidebarGroup[] => s.privateAgentGroups;
+
/**
* Get all ungrouped agents
*/
const ungroupedAgents = (s: HomeStore): SidebarAgentItem[] => s.ungroupedAgents;
+/**
+ * Get ungrouped private agents owned by the current user.
+ * Empty array in personal mode.
+ */
+const privateUngroupedAgents = (s: HomeStore): SidebarAgentItem[] => s.privateUngroupedAgents;
+
+/**
+ * Whether the current user has any private content in this workspace.
+ */
+const hasPrivateAgents = (s: HomeStore): boolean =>
+ s.privateAgentGroups.length > 0 || s.privateUngroupedAgents.length > 0;
+
/**
* Limit ungrouped agents for sidebar display based on page size
*/
@@ -24,22 +42,42 @@ const ungroupedAgentsLimited =
(s: HomeStore): SidebarAgentItem[] =>
s.ungroupedAgents.slice(0, pageSize);
+/**
+ * Limit private ungrouped agents for the Private sidebar bucket
+ */
+const privateUngroupedAgentsLimited =
+ (pageSize: number) =>
+ (s: HomeStore): SidebarAgentItem[] =>
+ s.privateUngroupedAgents.slice(0, pageSize);
+
/**
* Get ungrouped agents count
*/
const ungroupedAgentsCount = (s: HomeStore): number => s.ungroupedAgents.length;
+/**
+ * Get private ungrouped agents count
+ */
+const privateUngroupedAgentsCount = (s: HomeStore): number => s.privateUngroupedAgents.length;
+
/**
* Check if agent list is initialized
*/
const isAgentListInit = (s: HomeStore): boolean => s.isAgentListInit;
/**
- * Get all agents (pinned + grouped + ungrouped)
+ * Get all agents (pinned + grouped + ungrouped + private)
*/
const allAgents = (s: HomeStore): SidebarAgentItem[] => {
const groupedAgents = s.agentGroups.flatMap((g) => g.items);
- return [...s.pinnedAgents, ...groupedAgents, ...s.ungroupedAgents];
+ const privateGroupedAgents = s.privateAgentGroups.flatMap((g) => g.items);
+ return [
+ ...s.pinnedAgents,
+ ...groupedAgents,
+ ...s.ungroupedAgents,
+ ...privateGroupedAgents,
+ ...s.privateUngroupedAgents,
+ ];
};
/**
@@ -71,8 +109,13 @@ export const homeAgentListSelectors = {
allAgents,
getAgentById,
hasCustomAgents,
+ hasPrivateAgents,
isAgentListInit,
pinnedAgents,
+ privateAgentGroups,
+ privateUngroupedAgents,
+ privateUngroupedAgentsCount,
+ privateUngroupedAgentsLimited,
ungroupedAgents,
ungroupedAgentsCount,
ungroupedAgentsLimited,
diff --git a/src/store/home/slices/sidebarUI/action.test.ts b/src/store/home/slices/sidebarUI/action.test.ts
index 988853a68ce..1e85423b40d 100644
--- a/src/store/home/slices/sidebarUI/action.test.ts
+++ b/src/store/home/slices/sidebarUI/action.test.ts
@@ -266,7 +266,11 @@ describe('createSidebarUISlice', () => {
returnedId = await result.current.addGroup(mockName);
});
- expect(sessionService.createSessionGroup).toHaveBeenCalledWith(mockName);
+ expect(sessionService.createSessionGroup).toHaveBeenCalledWith(
+ mockName,
+ undefined,
+ undefined,
+ );
expect(spyOnRefresh).toHaveBeenCalled();
expect(returnedId!).toBe(mockId);
});
diff --git a/src/store/home/slices/sidebarUI/action.ts b/src/store/home/slices/sidebarUI/action.ts
index 239bd629fc0..9a015011c8a 100644
--- a/src/store/home/slices/sidebarUI/action.ts
+++ b/src/store/home/slices/sidebarUI/action.ts
@@ -121,8 +121,8 @@ export class SidebarUIActionImpl {
await this.#get().refreshAgentList();
};
- addGroup = async (name: string): Promise<string> => {
- const id = await sessionService.createSessionGroup(name);
+ addGroup = async (name: string, visibility?: 'private' | 'public'): Promise<string> => {
+ const id = await sessionService.createSessionGroup(name, undefined, visibility);
await this.#get().refreshAgentList();
return id;
};
diff --git a/src/store/image/slices/generationTopic/action.test.ts b/src/store/image/slices/generationTopic/action.test.ts
index b62f0a49e9b..52b3ab2c413 100644
--- a/src/store/image/slices/generationTopic/action.test.ts
+++ b/src/store/image/slices/generationTopic/action.test.ts
@@ -58,6 +58,7 @@ beforeEach(() => {
generationTopics: [],
activeGenerationTopicId: null,
loadingGenerationTopicIds: [],
+ newGenerationTopicVisibility: 'private',
});
});
@@ -66,6 +67,24 @@ afterEach(() => {
});
describe('GenerationTopicAction', () => {
+ describe('setNewGenerationTopicVisibility', () => {
+ it('should default new generation topics to private visibility', () => {
+ const { result } = renderHook(() => useImageStore());
+
+ expect(result.current.newGenerationTopicVisibility).toBe('private');
+ });
+
+ it('should update new generation topic visibility', () => {
+ const { result } = renderHook(() => useImageStore());
+
+ act(() => {
+ result.current.setNewGenerationTopicVisibility('public');
+ });
+
+ expect(result.current.newGenerationTopicVisibility).toBe('public');
+ });
+ });
+
describe('createGenerationTopic', () => {
it('should create a new topic and auto-generate title from prompts', async () => {
const { result } = renderHook(() => useImageStore());
@@ -90,7 +109,7 @@ describe('GenerationTopicAction', () => {
});
expect(createdTopicId).toBe(newTopicId);
- expect(generationTopicService.createTopic).toHaveBeenCalled();
+ expect(generationTopicService.createTopic).toHaveBeenCalledWith('image', 'private');
expect(summaryTopicTitleSpy).toHaveBeenCalledWith(newTopicId, prompts);
});
@@ -409,10 +428,8 @@ describe('GenerationTopicAction', () => {
vi.mocked(generationTopicService.getAllGenerationTopics).mockResolvedValue(topics);
- let hookResult: any;
-
await act(async () => {
- const { result } = renderHook(() => {
+ renderHook(() => {
const store = useImageStore();
// Actually call the SWR hook to trigger the service call
const swrResult = store.useFetchGenerationTopics(true);
@@ -424,8 +441,6 @@ describe('GenerationTopicAction', () => {
return swrResult;
});
-
- hookResult = result;
});
// Wait for service to be called and state to be updated
@@ -609,7 +624,25 @@ describe('GenerationTopicAction', () => {
expect(dispatchSpy).toHaveBeenCalled();
expect(loadingSpy).toHaveBeenCalledWith(expect.any(String), true);
expect(loadingSpy).toHaveBeenCalledWith(newTopicId, false);
- expect(generationTopicService.createTopic).toHaveBeenCalled();
+ expect(generationTopicService.createTopic).toHaveBeenCalledWith('image', 'private');
+ });
+
+ it('should create topic with selected public visibility', async () => {
+ const { result } = renderHook(() => useImageStore());
+ const newTopicId = 'gt_public_topic';
+
+ vi.mocked(generationTopicService.createTopic).mockResolvedValue(newTopicId);
+
+ act(() => {
+ result.current.setNewGenerationTopicVisibility('public');
+ });
+
+ await act(async () => {
+ const topicId = await result.current.internal_createGenerationTopic();
+ expect(topicId).toBe(newTopicId);
+ });
+
+ expect(generationTopicService.createTopic).toHaveBeenCalledWith('image', 'public');
});
});
diff --git a/src/store/image/slices/generationTopic/action.ts b/src/store/image/slices/generationTopic/action.ts
index 1d8dfae7522..7ce5bd5535f 100644
--- a/src/store/image/slices/generationTopic/action.ts
+++ b/src/store/image/slices/generationTopic/action.ts
@@ -16,6 +16,7 @@ import { merge } from '@/utils/merge';
import { setNamespace } from '@/utils/storeDebug';
import { type ImageStore } from '../../store';
+import { type GenerationTopicVisibility } from './initialState';
import { type GenerationTopicDispatch } from './reducer';
import { generationTopicReducer } from './reducer';
import { generationTopicSelectors } from './selectors';
@@ -136,17 +137,21 @@ export class GenerationTopicActionImpl {
internal_createGenerationTopic = async (): Promise<string> => {
const tmpId = Date.now().toString();
+ const { newGenerationTopicVisibility } = this.#get();
// 1. Optimistic update - add temporary topic
this.#get().internal_dispatchGenerationTopic(
- { type: 'addTopic', value: { id: tmpId, title: '' } },
+ {
+ type: 'addTopic',
+ value: { id: tmpId, title: '', visibility: newGenerationTopicVisibility },
+ },
'internal_createGenerationTopic',
);
this.#get().internal_updateGenerationTopicLoading(tmpId, true);
// 2. Call backend service
- const topicId = await generationTopicService.createTopic('image');
+ const topicId = await generationTopicService.createTopic('image', newGenerationTopicVisibility);
this.#get().internal_updateGenerationTopicLoading(tmpId, false);
// 3. Refresh data to ensure consistency
@@ -157,6 +162,14 @@ export class GenerationTopicActionImpl {
return topicId;
};
+ setNewGenerationTopicVisibility = (visibility: GenerationTopicVisibility): void => {
+ this.#set(
+ { newGenerationTopicVisibility: visibility },
+ false,
+ n('setNewGenerationTopicVisibility'),
+ );
+ };
+
internal_updateGenerationTopic = async (id: string, data: UpdateTopicValue): Promise<void> => {
// 1. Optimistic update
this.#get().internal_dispatchGenerationTopic({ type: 'updateTopic', id, value: data });
diff --git a/src/store/image/slices/generationTopic/initialState.ts b/src/store/image/slices/generationTopic/initialState.ts
index 2208aa6e61e..ecd2148bbb2 100644
--- a/src/store/image/slices/generationTopic/initialState.ts
+++ b/src/store/image/slices/generationTopic/initialState.ts
@@ -1,9 +1,12 @@
import { type ImageGenerationTopic } from '@/types/generation';
+export type GenerationTopicVisibility = NonNullable<ImageGenerationTopic['visibility']>;
+
export interface GenerationTopicState {
activeGenerationTopicId: string | null;
loadingGenerationTopicIds: string[];
generationTopics: ImageGenerationTopic[];
+ newGenerationTopicVisibility: GenerationTopicVisibility;
}
export const initialGenerationTopicState: GenerationTopicState = {
@@ -11,4 +14,5 @@ export const initialGenerationTopicState: GenerationTopicState = {
typeof window !== 'undefined' ? new URLSearchParams(window.location.search).get('topic') : null,
loadingGenerationTopicIds: [],
generationTopics: [],
+ newGenerationTopicVisibility: 'private',
};
diff --git a/src/store/image/slices/generationTopic/selectors.ts b/src/store/image/slices/generationTopic/selectors.ts
index cf1842fb079..f7bbf84f39b 100644
--- a/src/store/image/slices/generationTopic/selectors.ts
+++ b/src/store/image/slices/generationTopic/selectors.ts
@@ -6,10 +6,12 @@ const getGenerationTopicById = (id: string) => (s: ImageStoreState) =>
s.generationTopics.find((topic) => topic.id === id);
const isLoadingGenerationTopic = (id: string) => (s: ImageStoreState) =>
s.loadingGenerationTopicIds.includes(id);
+const newGenerationTopicVisibility = (s: ImageStoreState) => s.newGenerationTopicVisibility;
export const generationTopicSelectors = {
activeGenerationTopicId,
generationTopics,
getGenerationTopicById,
isLoadingGenerationTopic,
+ newGenerationTopicVisibility,
};
diff --git a/src/store/library/slices/crud/action.ts b/src/store/library/slices/crud/action.ts
index 36e8214a096..cc672e329fd 100644
--- a/src/store/library/slices/crud/action.ts
+++ b/src/store/library/slices/crud/action.ts
@@ -44,7 +44,14 @@ export class KnowledgeBaseCrudActionImpl {
refreshKnowledgeBaseList = async (): Promise<void> => {
const workspaceId = getActiveWorkspaceId();
- await mutate(knowledgeBaseKeys.list(workspaceId));
+ // The KB list is keyed by (workspaceId, visibility?), so we invalidate the
+ // three surfaces that can be currently rendered — unscoped, private-only,
+ // workspace-only — to keep both modes in sync after a mutation.
+ await Promise.all([
+ mutate(knowledgeBaseKeys.list(workspaceId)),
+ mutate(knowledgeBaseKeys.list(workspaceId, 'private')),
+ mutate(knowledgeBaseKeys.list(workspaceId, 'public')),
+ ]);
};
removeKnowledgeBase = async (id: string): Promise<void> => {
@@ -52,6 +59,11 @@ export class KnowledgeBaseCrudActionImpl {
await this.#get().refreshKnowledgeBaseList();
};
+ publishKnowledgeBaseToWorkspace = async (id: string): Promise<void> => {
+ await knowledgeBaseService.publishKnowledgeBaseToWorkspace(id);
+ await this.#get().refreshKnowledgeBaseList();
+ };
+
updateKnowledgeBase = async (id: string, value: CreateKnowledgeBaseParams): Promise<void> => {
this.#get().internal_toggleKnowledgeBaseLoading(id, true);
await knowledgeBaseService.updateKnowledgeBaseList(id, value);
@@ -80,10 +92,13 @@ export class KnowledgeBaseCrudActionImpl {
);
};
- useFetchKnowledgeBaseList = (): SWRResponse<KnowledgeBaseItem[]> => {
+ useFetchKnowledgeBaseList = (
+ visibility?: 'private' | 'public',
+ ): SWRResponse<KnowledgeBaseItem[]> => {
+ const workspaceId = getActiveWorkspaceId();
return useClientDataSWR<KnowledgeBaseItem[]>(
- knowledgeBaseKeys.list(),
- () => knowledgeBaseService.getKnowledgeBaseList(),
+ knowledgeBaseKeys.list(workspaceId, visibility),
+ () => knowledgeBaseService.getKnowledgeBaseList(visibility),
{
fallbackData: [],
onSuccess: () => {
diff --git a/src/store/page/slices/crud/action.ts b/src/store/page/slices/crud/action.ts
index 420fc29bb20..ebb4d48b7cf 100644
--- a/src/store/page/slices/crud/action.ts
+++ b/src/store/page/slices/crud/action.ts
@@ -38,18 +38,23 @@ export class CrudActionImpl {
this.#get = get;
}
- createNewPage = async (title: string): Promise<string> => {
+ createNewPage = async (title: string, visibility?: 'private' | 'public'): Promise<string> => {
const { createOptimisticPage, createPage, replaceTempPageWithReal } = this.#get();
- // Create optimistic page immediately
- const tempPageId = createOptimisticPage(title);
+ // Create optimistic page immediately in the requested bucket so the item
+ // shows up under the correct accordion before the server responds. The
+ // real row will replace it and confirm the visibility a moment later.
+ const tempPageId = createOptimisticPage(title, visibility);
this.#set({ isCreatingNew: true, selectedPageId: tempPageId }, false, n('createNewPage/start'));
try {
// Create real page
- const newPage = await createPage({ content: '', title });
+ const newPage = await createPage({ content: '', title, visibility });
- // Convert to LobeDocument
+ // Convert to LobeDocument. `visibility` and `workspaceId` MUST come from
+ // the server response so the sidebar bucketing selector keeps the row in
+ // the same accordion the user clicked "+" from — omitting them makes the
+ // row silently fall back to the workspace bucket.
const realPage: LobeDocument = {
content: newPage.content || '',
createdAt: newPage.createdAt ? new Date(newPage.createdAt) : new Date(),
@@ -67,6 +72,9 @@ export class CrudActionImpl {
totalCharCount: newPage.content?.length || 0,
totalLineCount: 0,
updatedAt: newPage.updatedAt ? new Date(newPage.updatedAt) : new Date(),
+ userId: newPage.userId,
+ visibility: newPage.visibility ?? visibility ?? null,
+ workspaceId: newPage.workspaceId ?? null,
};
// Replace optimistic with real
@@ -91,7 +99,10 @@ export class CrudActionImpl {
}
};
- createOptimisticPage = (title: string = 'Untitled'): string => {
+ createOptimisticPage = (
+ title: string = 'Untitled',
+ visibility?: 'private' | 'public',
+ ): string => {
// Generate temporary ID with prefix to identify optimistic pages
const tempId = `temp-page-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
const now = new Date();
@@ -110,6 +121,7 @@ export class CrudActionImpl {
totalCharCount: 0,
totalLineCount: 0,
updatedAt: now,
+ visibility: visibility ?? null,
};
// Add to documents array via internal dispatch
@@ -123,11 +135,13 @@ export class CrudActionImpl {
content = '',
knowledgeBaseId,
parentId,
+ visibility,
}: {
content?: string;
knowledgeBaseId?: string;
parentId?: string;
title: string;
+ visibility?: 'private' | 'public';
}): Promise<{ [key: string]: any; id: string }> => {
const now = Date.now();
@@ -141,6 +155,7 @@ export class CrudActionImpl {
},
parentId,
title,
+ visibility,
});
return newPage;
@@ -198,6 +213,11 @@ export class CrudActionImpl {
totalCharCount: newPage.content?.length || 0,
totalLineCount: 0,
updatedAt: newPage.updatedAt ? new Date(newPage.updatedAt) : new Date(),
+ userId: newPage.userId,
+ // Keep the sidebar bucket in sync — duplicating a private page must land
+ // in "Private", not silently in "Workspace".
+ visibility: newPage.visibility ?? null,
+ workspaceId: newPage.workspaceId ?? null,
};
this.#get().internal_dispatchDocuments({ document: editorPage, type: 'addDocument' });
@@ -360,7 +380,10 @@ export class CrudActionImpl {
return null;
}
- // Transform API response to LobeDocument format
+ // Transform API response to LobeDocument format. `visibility` MUST be
+ // carried through so the sidebar's Private / Workspace bucketing stays
+ // stable when this hook's `onData` writes back into the shared docs
+ // array (see the `internal_dispatchDocuments` call below).
const fullPage: LobeDocument = {
content: document.content || null,
createdAt: document.createdAt ? new Date(document.createdAt) : new Date(),
@@ -379,6 +402,7 @@ export class CrudActionImpl {
totalLineCount: 0,
updatedAt: document.updatedAt ? new Date(document.updatedAt) : new Date(),
userId: document.userId,
+ visibility: document.visibility ?? null,
workspaceId: document.workspaceId ?? null,
};
diff --git a/src/store/page/slices/list/action.ts b/src/store/page/slices/list/action.ts
index b69994bd9b4..399ae393ba6 100644
--- a/src/store/page/slices/list/action.ts
+++ b/src/store/page/slices/list/action.ts
@@ -30,6 +30,7 @@ const documentItemToLobeDocument = (document: DocumentItem): LobeDocument => ({
totalLineCount: 0,
updatedAt: document.updatedAt ? new Date(document.updatedAt) : new Date(),
userId: document.userId,
+ visibility: document.visibility ?? null,
workspaceId: document.workspaceId ?? null,
});
@@ -138,6 +139,18 @@ export class ListActionImpl {
await this.#get().fetchDocuments();
};
+ /**
+ * Publish a private page (and its whole subtree) to the workspace, then
+ * refetch the sidebar so the item hops from the "Private" accordion into
+ * "Workspace" immediately. Errors bubble up so the caller can surface a
+ * localized toast without swallowing the reason.
+ */
+ publishPageToWorkspace = async (pageId: string): Promise<{ documentIds: string[] }> => {
+ const result = await documentService.publishDocumentToWorkspace(pageId);
+ await this.#get().refreshDocuments();
+ return result;
+ };
+
setSearchKeywords = (keywords: string): void => {
this.#set({ searchKeywords: keywords }, false, n('setSearchKeywords'));
};
diff --git a/src/store/page/slices/list/selectors.test.ts b/src/store/page/slices/list/selectors.test.ts
new file mode 100644
index 00000000000..38b7612cec6
--- /dev/null
+++ b/src/store/page/slices/list/selectors.test.ts
@@ -0,0 +1,101 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import { DocumentSourceType, type LobeDocument } from '@/types/document';
+
+import { initialState, type PageState } from '../../initialState';
+import { initialListState } from './initialState';
+import { listSelectors } from './selectors';
+
+vi.mock('@/store/global', () => ({
+ useGlobalStore: {
+ getState: () => ({
+ status: { pagePageSize: 20 },
+ }),
+ },
+}));
+
+const doc = (
+ id: string,
+ visibility: LobeDocument['visibility'],
+ overrides: Partial<LobeDocument> = {},
+): LobeDocument => ({
+ content: null,
+ createdAt: new Date(overrides.createdAt ?? '2026-01-01T00:00:00.000Z'),
+ editorData: null,
+ fileType: 'custom/document',
+ filename: id,
+ id,
+ metadata: {},
+ source: 'document',
+ sourceType: DocumentSourceType.EDITOR,
+ title: id,
+ totalCharCount: 0,
+ totalLineCount: 0,
+ updatedAt: new Date('2026-01-01T00:00:00.000Z'),
+ visibility,
+ workspaceId: 'ws-1',
+ ...overrides,
+});
+
+const createState = (documents: LobeDocument[]): PageState => ({
+ ...initialState,
+ ...initialListState,
+ documents,
+ searchKeywords: '',
+});
+
+describe('listSelectors — private/workspace buckets', () => {
+ let state: PageState;
+
+ beforeEach(() => {
+ state = createState([
+ doc('priv-a', 'private'),
+ doc('priv-b', 'private'),
+ doc('pub-a', 'public'),
+ doc('pub-b', null),
+ doc('pub-c', undefined),
+ ]);
+ });
+
+ it('routes private-visibility docs into the private bucket', () => {
+ const ids = listSelectors.getPrivateFilteredDocuments(state).map((d) => d.id);
+ expect(ids.sort()).toEqual(['priv-a', 'priv-b']);
+ });
+
+ it('routes non-private docs (public/null/undefined) into the workspace bucket', () => {
+ // null and undefined visibility fall back to workspace-shared so historical
+ // docs pre-dating the column stay visible to every member.
+ const ids = listSelectors.getWorkspaceFilteredDocuments(state).map((d) => d.id);
+ expect(ids.sort()).toEqual(['pub-a', 'pub-b', 'pub-c']);
+ });
+
+ it('exposes bucket counts', () => {
+ expect(listSelectors.privateFilteredDocumentsCount(state)).toBe(2);
+ expect(listSelectors.workspaceFilteredDocumentsCount(state)).toBe(3);
+ });
+
+ it('honors the existing sourceType filter (drops file-uploaded docs from both buckets)', () => {
+ const stateWithFile = createState([
+ doc('priv-page', 'private'),
+ doc('priv-file', 'private', { sourceType: 'file' as DocumentSourceType }),
+ doc('pub-page', 'public'),
+ doc('pub-file', 'public', { sourceType: 'file' as DocumentSourceType }),
+ ]);
+
+ expect(listSelectors.getPrivateFilteredDocuments(stateWithFile).map((d) => d.id)).toEqual([
+ 'priv-page',
+ ]);
+ expect(listSelectors.getWorkspaceFilteredDocuments(stateWithFile).map((d) => d.id)).toEqual([
+ 'pub-page',
+ ]);
+ });
+
+ it('respects the sidebar page size cap for each bucket independently', () => {
+ const many = Array.from({ length: 25 }).map((_, i) =>
+ doc(`priv-${i}`, 'private', { createdAt: new Date(`2026-01-${(i % 28) + 1}`) }),
+ );
+ const state = createState(many);
+ expect(listSelectors.getPrivateFilteredDocumentsLimited(state)).toHaveLength(20);
+ expect(listSelectors.hasMorePrivateFilteredDocuments(state)).toBe(true);
+ });
+});
diff --git a/src/store/page/slices/list/selectors.ts b/src/store/page/slices/list/selectors.ts
index d57f7341b51..305772a5aed 100644
--- a/src/store/page/slices/list/selectors.ts
+++ b/src/store/page/slices/list/selectors.ts
@@ -52,6 +52,43 @@ const getFilteredDocumentsLimited = (s: PageState): LobeDocument[] => {
return allDocs.slice(0, pageSize);
};
+// Workspace-mode sidebar buckets: split filtered docs into "private" (creator
+// only) and "workspace-shared". Personal-mode `visibility` is meaningless — the
+// caller decides whether to render the flat list or the dual accordion.
+const getPrivateFilteredDocuments = (s: PageState): LobeDocument[] =>
+ getFilteredDocuments(s).filter((doc) => doc.visibility === 'private');
+
+const getWorkspaceFilteredDocuments = (s: PageState): LobeDocument[] =>
+ getFilteredDocuments(s).filter((doc) => doc.visibility !== 'private');
+
+// Bucket-scoped, sidebar-sized page slices — mirror the Limited helper for the
+// dual-accordion Pages sidebar so each bucket paginates independently.
+const getPrivateFilteredDocumentsLimited = (s: PageState): LobeDocument[] => {
+ const pageSize = useGlobalStore.getState().status.pagePageSize || 20;
+ return getPrivateFilteredDocuments(s).slice(0, pageSize);
+};
+
+const getWorkspaceFilteredDocumentsLimited = (s: PageState): LobeDocument[] => {
+ const pageSize = useGlobalStore.getState().status.pagePageSize || 20;
+ return getWorkspaceFilteredDocuments(s).slice(0, pageSize);
+};
+
+const privateFilteredDocumentsCount = (s: PageState): number =>
+ getPrivateFilteredDocuments(s).length;
+
+const workspaceFilteredDocumentsCount = (s: PageState): number =>
+ getWorkspaceFilteredDocuments(s).length;
+
+const hasMorePrivateFilteredDocuments = (s: PageState): boolean => {
+ const pageSize = useGlobalStore.getState().status.pagePageSize || 20;
+ return getPrivateFilteredDocuments(s).length > pageSize;
+};
+
+const hasMoreWorkspaceFilteredDocuments = (s: PageState): boolean => {
+ const pageSize = useGlobalStore.getState().status.pagePageSize || 20;
+ return getWorkspaceFilteredDocuments(s).length > pageSize;
+};
+
const getDocumentById = (docId: string | undefined) => (s: PageState) => {
if (!docId) return undefined;
@@ -83,8 +120,16 @@ export const listSelectors = {
getDocumentById,
getFilteredDocuments,
getFilteredDocumentsLimited,
+ getPrivateFilteredDocuments,
+ getPrivateFilteredDocumentsLimited,
+ getWorkspaceFilteredDocuments,
+ getWorkspaceFilteredDocumentsLimited,
hasMoreDocuments,
hasMoreFilteredDocuments,
+ hasMorePrivateFilteredDocuments,
+ hasMoreWorkspaceFilteredDocuments,
isDocumentsLoading,
isLoadingMoreDocuments,
+ privateFilteredDocumentsCount,
+ workspaceFilteredDocumentsCount,
};
diff --git a/src/store/task/selectors/detailSelectors.ts b/src/store/task/selectors/detailSelectors.ts
index 6d1e6e14deb..7bde2c710e2 100644
--- a/src/store/task/selectors/detailSelectors.ts
+++ b/src/store/task/selectors/detailSelectors.ts
@@ -18,6 +18,9 @@ const activeTaskStatus = (s: TaskStoreState) => activeTaskDetail(s)?.status;
const activeTaskPriority = (s: TaskStoreState) => activeTaskDetail(s)?.priority ?? 0;
+const activeTaskVisibility = (s: TaskStoreState): 'private' | 'public' =>
+ activeTaskDetail(s)?.visibility ?? 'public';
+
const activeTaskInstruction = (s: TaskStoreState) => activeTaskDetail(s)?.instruction;
const activeTaskEditorData = (s: TaskStoreState) => activeTaskDetail(s)?.editorData;
@@ -122,6 +125,7 @@ export const taskDetailSelectors = {
activeTaskSubtasks,
activeTaskTopicCount,
activeTaskVerifyConfig,
+ activeTaskVisibility,
activeTaskWorkspace,
activeTaskWorkspaceId,
activeTopicDrawerTopicId,
diff --git a/src/store/task/selectors/listSelectors.ts b/src/store/task/selectors/listSelectors.ts
index 7e4456f958c..c8192aa2fca 100644
--- a/src/store/task/selectors/listSelectors.ts
+++ b/src/store/task/selectors/listSelectors.ts
@@ -9,6 +9,8 @@ const isTaskListInit = (s: TaskStoreState) => s.isTaskListInit;
const viewMode = (s: TaskStoreState) => s.viewMode;
+const listVisibility = (s: TaskStoreState) => s.listVisibility;
+
const statusDisplayMap: Record<string, string> = {
backlog: 'Backlog',
canceled: 'Canceled',
@@ -47,6 +49,7 @@ export const taskListSelectors = {
isListEmpty,
isTaskGroupListInit,
isTaskListInit,
+ listVisibility,
needsInputTasks,
runningTasks,
taskGroupByKey,
diff --git a/src/store/task/slices/detail/action.ts b/src/store/task/slices/detail/action.ts
index cc9a4c4bc42..3f43c6897c5 100644
--- a/src/store/task/slices/detail/action.ts
+++ b/src/store/task/slices/detail/action.ts
@@ -159,6 +159,7 @@ export class TaskDetailSliceActionImpl {
priority?: number;
schedulePattern?: string;
scheduleTimezone?: string;
+ visibility?: 'private' | 'public';
}): Promise<CreatedTask | null> => {
this.#set({ isCreatingTask: true }, false, 'createTask/start');
try {
@@ -250,6 +251,33 @@ export class TaskDetailSliceActionImpl {
}
};
+ updateTaskVisibility = async (id: string, visibility: 'private' | 'public'): Promise<void> => {
+ try {
+ await taskService.updateVisibility(id, visibility);
+ await Promise.all([this.#get().refreshTaskList(), this.internal_refreshTaskDetail(id)]);
+ } catch (error) {
+ // LOBE-10961 surfaces a specific actionable error when the task's assignee
+ // is a private agent. The generic "failed" toast hides what the user must
+ // do next; substitute a targeted one so they know to either reassign or
+ // publish the agent first.
+ const raw = (error as { message?: string })?.message ?? '';
+ const isPrivateAgentBlock = /public task cannot be assigned to a private agent/i.test(raw);
+ message.error(
+ isPrivateAgentBlock
+ ? t('taskDetail.publishToWorkspace.errorPrivateAgent', {
+ defaultValue:
+ 'This task is assigned to a private agent. Reassign to a workspace agent, or publish the agent first.',
+ ns: 'chat',
+ })
+ : t('createTask.visibility.changeFailed', {
+ defaultValue: 'Failed to change task visibility',
+ ns: 'chat',
+ }),
+ );
+ throw error;
+ }
+ };
+
updateTask = async (id: string, data: TaskUpdatePayload): Promise<void> => {
const { assigneeAgentId, ...rest } = data;
const optimisticRest = { ...rest };
diff --git a/src/store/task/slices/list/action.test.ts b/src/store/task/slices/list/action.test.ts
index 068cff2c304..e8d021af6b9 100644
--- a/src/store/task/slices/list/action.test.ts
+++ b/src/store/task/slices/list/action.test.ts
@@ -54,13 +54,49 @@ describe('TaskListSliceAction', () => {
});
describe('refreshTaskList', () => {
- it('should call mutate with correct key', async () => {
+ it('should call mutate with correct key including visibility filter', async () => {
const { mutate } = await import('@/libs/swr');
- useTaskStore.setState({ listAgentId: 'agt_1' });
+ useTaskStore.setState({ listAgentId: 'agt_1', listVisibility: 'private' });
await useTaskStore.getState().refreshTaskList();
- expect(mutate).toHaveBeenCalledWith(['task:list', 'agt_1']);
+ expect(mutate).toHaveBeenCalledWith(['task:list', 'agt_1', 'private']);
+ });
+ });
+
+ describe('setListVisibility', () => {
+ it('should update visibility filter and reset list state', async () => {
+ useTaskStore.setState({
+ isTaskListInit: true,
+ listVisibility: 'private',
+ tasks: [{ id: 't1' }] as any,
+ tasksTotal: 1,
+ });
+
+ useTaskStore.getState().setListVisibility('workspace');
+
+ const state = useTaskStore.getState();
+ expect(state.listVisibility).toBe('workspace');
+ // Reset clears the previous-filter results so the chip flip doesn't
+ // briefly render stale entries from the old filter.
+ expect(state.tasks).toEqual([]);
+ expect(state.tasksTotal).toBe(0);
+ expect(state.isTaskListInit).toBe(false);
+ });
+
+ it('should no-op when the filter does not change', async () => {
+ useTaskStore.setState({
+ isTaskListInit: true,
+ listVisibility: 'private',
+ tasks: [{ id: 't1' }] as any,
+ tasksTotal: 1,
+ });
+
+ useTaskStore.getState().setListVisibility('private');
+
+ const state = useTaskStore.getState();
+ expect(state.tasks).toHaveLength(1);
+ expect(state.isTaskListInit).toBe(true);
});
});
});
diff --git a/src/store/task/slices/list/action.ts b/src/store/task/slices/list/action.ts
index 92d646c3a4e..9c9ce0eb28a 100644
--- a/src/store/task/slices/list/action.ts
+++ b/src/store/task/slices/list/action.ts
@@ -4,7 +4,12 @@ import { taskService } from '@/services/task';
import type { StoreSetter } from '@/store/types';
import type { TaskStore } from '../../store';
-import type { TaskGroupItem, TaskListItem, TaskViewMode } from './initialState';
+import type {
+ TaskGroupItem,
+ TaskListItem,
+ TaskListVisibilityFilter,
+ TaskViewMode,
+} from './initialState';
/**
* Sentinel used as `listAgentId` when the task list is showing tasks across all agents
@@ -27,6 +32,19 @@ const DEFAULT_KANBAN_GROUPS = [
{ key: 'canceled', statuses: ['canceled'] },
];
+/**
+ * Map the UI-side filter chip value to the server-side `visibility` enum.
+ * 'all' has no server filter (undefined), 'workspace' translates to the DB
+ * 'public' value, and 'private' passes through unchanged.
+ */
+const filterToServerVisibility = (
+ filter: 'all' | 'private' | 'workspace',
+): 'private' | 'public' | undefined => {
+ if (filter === 'all') return undefined;
+ if (filter === 'workspace') return 'public';
+ return 'private';
+};
+
/**
* Cleared whenever the list scope changes (all-agents <-> a specific agent).
* The list and group datasets are shared store fields, so without this reset
@@ -57,18 +75,18 @@ export class TaskListSliceActionImpl {
}
refreshTaskGroupList = async (): Promise<void> => {
- const { listAgentId } = this.#get();
- await mutate(taskKeys.groupList(listAgentId));
+ const { listAgentId, listVisibility } = this.#get();
+ await mutate(taskKeys.groupList(listAgentId, listVisibility));
};
fetchTaskList = async (params: Parameters<typeof taskService.list>[0]) =>
taskService.list(params);
refreshTaskList = async (): Promise<void> => {
- const { listAgentId } = this.#get();
+ const { listAgentId, listVisibility } = this.#get();
await Promise.all([
- mutate(taskKeys.list(listAgentId)),
- mutate(taskKeys.groupList(listAgentId)),
+ mutate(taskKeys.list(listAgentId, listVisibility)),
+ mutate(taskKeys.groupList(listAgentId, listVisibility)),
]);
};
@@ -76,6 +94,20 @@ export class TaskListSliceActionImpl {
this.#set({ listAgentId: agentId }, false, 'setListAgentId');
};
+ setListVisibility = (visibility: TaskListVisibilityFilter): void => {
+ if (this.#get().listVisibility === visibility) return;
+ // Clear the cached list so the chip flip doesn't render stale entries
+ // from the previous filter while the new fetch is in flight.
+ this.#set(
+ {
+ ...scopeChangeResetState,
+ listVisibility: visibility,
+ },
+ false,
+ 'setListVisibility',
+ );
+ };
+
setViewMode = (mode: TaskViewMode): void => {
this.#set({ viewMode: mode }, false, 'setViewMode');
};
@@ -96,13 +128,15 @@ export class TaskListSliceActionImpl {
'useFetchTaskGroupList/syncAgentId',
);
}
+ const listVisibility = this.#get().listVisibility;
return useClientDataSWR(
- enabled && effectiveKey ? taskKeys.groupList(effectiveKey) : null,
+ enabled && effectiveKey ? taskKeys.groupList(effectiveKey, listVisibility) : null,
async () => {
return taskService.groupList({
assigneeAgentId: allAgents ? undefined : agentId,
groups: DEFAULT_KANBAN_GROUPS,
+ visibility: filterToServerVisibility(listVisibility),
});
},
{
@@ -135,11 +169,15 @@ export class TaskListSliceActionImpl {
'useFetchTaskList/syncAgentId',
);
}
+ const listVisibility = this.#get().listVisibility;
return useClientDataSWR(
- enabled && effectiveKey ? taskKeys.list(effectiveKey) : null,
+ enabled && effectiveKey ? taskKeys.list(effectiveKey, listVisibility) : null,
async ([, id]: [string, string]) => {
- return this.fetchTaskList(allAgents ? {} : { assigneeAgentId: id });
+ return this.fetchTaskList({
+ ...(allAgents ? {} : { assigneeAgentId: id }),
+ visibility: filterToServerVisibility(listVisibility),
+ });
},
{
fallbackData: { data: [], success: true, total: 0 },
diff --git a/src/store/task/slices/list/initialState.ts b/src/store/task/slices/list/initialState.ts
index 7b93b3c0134..d2b72f2360e 100644
--- a/src/store/task/slices/list/initialState.ts
+++ b/src/store/task/slices/list/initialState.ts
@@ -6,10 +6,23 @@ export type TaskGroupItem = Awaited<ReturnType<typeof taskService.groupList>>['d
export type TaskViewMode = 'kanban' | 'list';
+/**
+ * Top-of-list visibility chip selection (LOBE-10973):
+ * - 'all' → don't narrow further, show every visible task
+ * - 'private' → only `tasks.visibility = 'private'` (creator-only)
+ * - 'workspace' → only `tasks.visibility = 'public'` (workspace-shared)
+ *
+ * Personal mode hides the chip and treats every entry as 'all'.
+ */
+export type TaskListVisibilityFilter = 'all' | 'private' | 'workspace';
+
export interface TaskListSliceState {
isTaskGroupListInit: boolean;
isTaskListInit: boolean;
listAgentId?: string;
+ /** Defaults to 'all' so the Tasks top entry shows every visible task
+ * (private + workspace-shared) without narrowing. */
+ listVisibility: TaskListVisibilityFilter;
taskGroups: TaskGroupItem[];
tasks: TaskListItem[];
tasksTotal: number;
@@ -19,6 +32,7 @@ export interface TaskListSliceState {
export const initialTaskListSliceState: TaskListSliceState = {
isTaskGroupListInit: false,
isTaskListInit: false,
+ listVisibility: 'all',
taskGroups: [],
tasks: [],
tasksTotal: 0,
diff --git a/src/store/tree/actions.ts b/src/store/tree/actions.ts
index 2b29af5e365..93dbb96203b 100644
--- a/src/store/tree/actions.ts
+++ b/src/store/tree/actions.ts
@@ -23,6 +23,8 @@ export const toTreeItem = (item: {
slug?: string | null;
sourceType?: string;
url?: string;
+ userId?: string | null;
+ visibility?: 'private' | 'public' | null;
}): TreeItem => ({
fileType: item.fileType,
id: item.id,
@@ -32,6 +34,8 @@ export const toTreeItem = (item: {
slug: item.slug,
sourceType: item.sourceType,
url: item.url ?? '',
+ userId: item.userId,
+ visibility: item.visibility,
});
type Setter = StoreSetter<TreeState>;
diff --git a/src/store/tree/types.ts b/src/store/tree/types.ts
index a3ab7b49c7f..b4422d3e2f3 100644
--- a/src/store/tree/types.ts
+++ b/src/store/tree/types.ts
@@ -9,6 +9,8 @@ export interface TreeItem {
slug?: string | null;
sourceType?: string;
url: string;
+ userId?: string | null;
+ visibility?: 'private' | 'public' | null;
}
export interface TreeDataState {
diff --git a/src/store/video/slices/generationTopic/action.test.ts b/src/store/video/slices/generationTopic/action.test.ts
new file mode 100644
index 00000000000..52378f01090
--- /dev/null
+++ b/src/store/video/slices/generationTopic/action.test.ts
@@ -0,0 +1,113 @@
+import { act, renderHook } from '@testing-library/react';
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import { mutate } from '@/libs/swr';
+import { generationTopicService } from '@/services/generationTopic';
+import { useVideoStore } from '@/store/video';
+
+vi.mock('@/libs/swr', async () => {
+ const actual = await vi.importActual('@/libs/swr');
+ return {
+ ...actual,
+ mutate: vi.fn(),
+ };
+});
+
+vi.mock('@/services/generationTopic', () => ({
+ generationTopicService: {
+ createTopic: vi.fn(),
+ deleteTopic: vi.fn(),
+ getAllGenerationTopics: vi.fn(),
+ updateTopic: vi.fn(),
+ updateTopicCover: vi.fn(),
+ },
+}));
+
+vi.mock('@/services/chat', () => ({
+ chatService: {
+ fetchPresetTaskResult: vi.fn(),
+ },
+}));
+
+vi.mock('@/store/user', () => ({
+ useUserStore: {
+ getState: vi.fn(),
+ },
+}));
+
+vi.mock('@/store/user/selectors', () => ({
+ systemAgentSelectors: {
+ generationTopic: vi.fn().mockReturnValue({
+ model: 'gpt-4',
+ provider: 'openai',
+ }),
+ },
+ userGeneralSettingsSelectors: {
+ currentResponseLanguage: vi.fn(() => 'en-US'),
+ },
+}));
+
+beforeEach(() => {
+ vi.clearAllMocks();
+ useVideoStore.setState({
+ activeGenerationTopicId: null,
+ generationTopics: [],
+ loadingGenerationTopicIds: [],
+ newGenerationTopicVisibility: 'private',
+ });
+});
+
+describe('VideoGenerationTopicAction', () => {
+ describe('setNewGenerationTopicVisibility', () => {
+ it('should default new generation topics to private visibility', () => {
+ const { result } = renderHook(() => useVideoStore());
+
+ expect(result.current.newGenerationTopicVisibility).toBe('private');
+ });
+
+ it('should update new generation topic visibility', () => {
+ const { result } = renderHook(() => useVideoStore());
+
+ act(() => {
+ result.current.setNewGenerationTopicVisibility('public');
+ });
+
+ expect(result.current.newGenerationTopicVisibility).toBe('public');
+ });
+ });
+
+ describe('internal_createGenerationTopic', () => {
+ it('should create video topic with private visibility by default', async () => {
+ const { result } = renderHook(() => useVideoStore());
+ const newTopicId = 'video-topic-private';
+
+ vi.mocked(generationTopicService.createTopic).mockResolvedValue(newTopicId);
+
+ await act(async () => {
+ const topicId = await result.current.internal_createGenerationTopic();
+ expect(topicId).toBe(newTopicId);
+ });
+
+ expect(generationTopicService.createTopic).toHaveBeenCalledWith('video', 'private');
+ expect(mutate).toHaveBeenCalledWith(['video:generationTopics']);
+ });
+
+ it('should create video topic with selected public visibility', async () => {
+ const { result } = renderHook(() => useVideoStore());
+ const newTopicId = 'video-topic-public';
+
+ vi.mocked(generationTopicService.createTopic).mockResolvedValue(newTopicId);
+
+ act(() => {
+ result.current.setNewGenerationTopicVisibility('public');
+ });
+
+ await act(async () => {
+ const topicId = await result.current.internal_createGenerationTopic();
+ expect(topicId).toBe(newTopicId);
+ });
+
+ expect(generationTopicService.createTopic).toHaveBeenCalledWith('video', 'public');
+ });
+ });
+});
diff --git a/src/store/video/slices/generationTopic/action.ts b/src/store/video/slices/generationTopic/action.ts
index 53a8007f662..85e449685fa 100644
--- a/src/store/video/slices/generationTopic/action.ts
+++ b/src/store/video/slices/generationTopic/action.ts
@@ -16,6 +16,7 @@ import { merge } from '@/utils/merge';
import { setNamespace } from '@/utils/storeDebug';
import type { VideoStore } from '../../store';
+import type { GenerationTopicVisibility } from './initialState';
import { type GenerationTopicDispatch, generationTopicReducer } from './reducer';
import { generationTopicSelectors } from './selectors';
@@ -52,15 +53,19 @@ export class GenerationTopicActionImpl {
internal_createGenerationTopic = async (): Promise<string> => {
const tmpId = Date.now().toString();
+ const { newGenerationTopicVisibility } = this.#get();
this.#get().internal_dispatchGenerationTopic(
- { type: 'addTopic', value: { id: tmpId, title: '' } },
+ {
+ type: 'addTopic',
+ value: { id: tmpId, title: '', visibility: newGenerationTopicVisibility },
+ },
'internal_createGenerationTopic',
);
this.#get().internal_updateGenerationTopicLoading(tmpId, true);
- const topicId = await generationTopicService.createTopic('video');
+ const topicId = await generationTopicService.createTopic('video', newGenerationTopicVisibility);
this.#get().internal_updateGenerationTopicLoading(tmpId, false);
this.#get().internal_updateGenerationTopicLoading(topicId, true);
@@ -70,6 +75,14 @@ export class GenerationTopicActionImpl {
return topicId;
};
+ setNewGenerationTopicVisibility = (visibility: GenerationTopicVisibility): void => {
+ this.#set(
+ { newGenerationTopicVisibility: visibility },
+ false,
+ n('setNewGenerationTopicVisibility'),
+ );
+ };
+
internal_dispatchGenerationTopic = (payload: GenerationTopicDispatch, action?: any): void => {
const nextTopics = generationTopicReducer(this.#get().generationTopics, payload);
diff --git a/src/store/video/slices/generationTopic/initialState.ts b/src/store/video/slices/generationTopic/initialState.ts
index 1d4bf4631a4..824374d5d07 100644
--- a/src/store/video/slices/generationTopic/initialState.ts
+++ b/src/store/video/slices/generationTopic/initialState.ts
@@ -1,9 +1,12 @@
import { type ImageGenerationTopic } from '@/types/generation';
+export type GenerationTopicVisibility = NonNullable<ImageGenerationTopic['visibility']>;
+
export interface GenerationTopicState {
activeGenerationTopicId: string | null;
generationTopics: ImageGenerationTopic[];
loadingGenerationTopicIds: string[];
+ newGenerationTopicVisibility: GenerationTopicVisibility;
}
export const initialGenerationTopicState: GenerationTopicState = {
@@ -11,4 +14,5 @@ export const initialGenerationTopicState: GenerationTopicState = {
typeof window !== 'undefined' ? new URLSearchParams(window.location.search).get('topic') : null,
generationTopics: [],
loadingGenerationTopicIds: [],
+ newGenerationTopicVisibility: 'private',
};
diff --git a/src/store/video/slices/generationTopic/selectors.ts b/src/store/video/slices/generationTopic/selectors.ts
index 4229418175a..24c564c08a2 100644
--- a/src/store/video/slices/generationTopic/selectors.ts
+++ b/src/store/video/slices/generationTopic/selectors.ts
@@ -6,10 +6,12 @@ const getGenerationTopicById = (id: string) => (s: VideoStoreState) =>
s.generationTopics.find((topic) => topic.id === id);
const isLoadingGenerationTopic = (id: string) => (s: VideoStoreState) =>
s.loadingGenerationTopicIds.includes(id);
+const newGenerationTopicVisibility = (s: VideoStoreState) => s.newGenerationTopicVisibility;
export const generationTopicSelectors = {
activeGenerationTopicId,
generationTopics,
getGenerationTopicById,
isLoadingGenerationTopic,
+ newGenerationTopicVisibility,
};
diff --git a/src/types/resource.ts b/src/types/resource.ts
index c2933d0cb88..8c1ebcb4732 100644
--- a/src/types/resource.ts
+++ b/src/types/resource.ts
@@ -54,6 +54,12 @@ export interface ResourceItem {
// File-specific (optional)
url?: string;
+
+ // Workspace ownership (used by the Item components to decide whether to
+ // render the private-lock badge). `userId` is the creator; `visibility` is
+ // scoped to workspace mode — `null` when the row is in personal mode.
+ userId?: string | null;
+ visibility?: 'private' | 'public' | null;
}
/**
@@ -69,6 +75,12 @@ export interface ResourceQueryParams {
showFilesInKnowledgeBase?: boolean;
sorter?: 'name' | 'createdAt' | 'size';
sortType?: SortType;
+ /**
+ * Workspace-mode visibility narrowing driven by the Sidebar mode toggle.
+ * `'private'` shows the caller's own private rows; `'public'` shows
+ * workspace-shared rows. Omitted in personal mode.
+ */
+ visibility?: 'private' | 'public';
}
/**
@@ -83,6 +95,12 @@ export interface CreateFileParams {
size: number;
sourceType: 'file';
url: string;
+ /**
+ * Optional workspace visibility carried through the optimistic path so the
+ * lock badge stays consistent while the create request is in flight.
+ * Server-side default kicks in when omitted.
+ */
+ visibility?: 'private' | 'public';
}
/**