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(agent): let agent authors restrict who can share their topics (#18557)

Rdmclin25f549532114e
diff --git a/apps/server/src/routers/lambda/__tests__/integration/topicShare.integration.test.ts b/apps/server/src/routers/lambda/__tests__/integration/topicShare.integration.test.ts
index 723517d6868..763a45ab7d1 100644
--- a/apps/server/src/routers/lambda/__tests__/integration/topicShare.integration.test.ts
+++ b/apps/server/src/routers/lambda/__tests__/integration/topicShare.integration.test.ts
@@ -2,6 +2,8 @@
import { type LobeChatDatabase } from '@lobechat/database';
import {
agents,
+ chatGroups,
+ chatGroupsAgents,
topics,
workspaceAuditLogs,
workspaceMembers,
@@ -210,6 +212,249 @@ describe('Topic Share Router Integration Tests (workspace permission matrix)', (
});
});
+ describe('agent topic-share policy', () => {
+ /** A workspace agent plus one topic the given member owns under it. */
+ const seedAgentTopic = async (params: {
+ agentUserId: string;
+ topicSharePolicy?: 'member' | 'restricted';
+ topicUserId: string;
+ }) => {
+ const [agent] = await serverDB
+ .insert(agents)
+ .values({
+ agencyConfig: params.topicSharePolicy
+ ? { topicSharePolicy: params.topicSharePolicy }
+ : null,
+ title: 'Policy Agent',
+ userId: params.agentUserId,
+ visibility: 'public',
+ workspaceId,
+ })
+ .returning();
+
+ const [topic] = await serverDB
+ .insert(topics)
+ .values({
+ agentId: agent.id,
+ title: 'Policy Topic',
+ userId: params.topicUserId,
+ workspaceId,
+ })
+ .returning();
+
+ return { agentId: agent.id, topicId: topic.id };
+ };
+
+ /**
+ * A group whose supervisor holds the policy, plus a topic that carries only
+ * `groupId` — the shape `createTopic({ groupId })` produces when no agent or
+ * session is supplied.
+ */
+ const seedGroupTopic = async (params: {
+ supervisorUserId: string;
+ topicSharePolicy?: 'member' | 'restricted';
+ topicUserId: string;
+ }) => {
+ const [supervisor] = await serverDB
+ .insert(agents)
+ .values({
+ agencyConfig: params.topicSharePolicy
+ ? { topicSharePolicy: params.topicSharePolicy }
+ : null,
+ title: 'Supervisor',
+ userId: params.supervisorUserId,
+ virtual: true,
+ visibility: 'public',
+ workspaceId,
+ })
+ .returning();
+
+ const [group] = await serverDB
+ .insert(chatGroups)
+ .values({
+ title: 'Policy Group',
+ userId: params.supervisorUserId,
+ visibility: 'public',
+ workspaceId,
+ })
+ .returning();
+
+ await serverDB.insert(chatGroupsAgents).values({
+ agentId: supervisor.id,
+ chatGroupId: group.id,
+ order: -1,
+ role: 'supervisor',
+ userId: params.supervisorUserId,
+ workspaceId,
+ });
+
+ const [topic] = await serverDB
+ .insert(topics)
+ .values({
+ groupId: group.id,
+ title: 'Group Policy Topic',
+ userId: params.topicUserId,
+ workspaceId,
+ })
+ .returning();
+
+ return { groupId: group.id, supervisorAgentId: supervisor.id, topicId: topic.id };
+ };
+
+ it("blocks publishing a group topic through the supervisor's policy", async () => {
+ // `createTopic({ groupId })` stores neither an agent nor a session, so
+ // reading `agentId` first would leave these rows with no policy at all —
+ // and the group Permission page writes the policy onto this supervisor.
+ const seeded = await seedGroupTopic({
+ supervisorUserId: creatorId,
+ topicSharePolicy: 'restricted',
+ topicUserId: memberId,
+ });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+
+ await expect(
+ memberCaller.enableSharing({ topicId: seeded.topicId, visibility: 'link' }),
+ ).rejects.toMatchObject({ code: 'FORBIDDEN' });
+
+ // The placeholder still works, same as the agent case.
+ await expect(
+ memberCaller.enableSharing({ topicId: seeded.topicId, visibility: 'private' }),
+ ).resolves.toMatchObject({ visibility: 'private' });
+ });
+
+ it('leaves group topics publishable under the default supervisor policy', async () => {
+ const seeded = await seedGroupTopic({ supervisorUserId: creatorId, topicUserId: memberId });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+
+ await expect(
+ memberCaller.enableSharing({ topicId: seeded.topicId, visibility: 'link' }),
+ ).resolves.toMatchObject({ visibility: 'link' });
+ });
+
+ it('blocks a member from publishing a link under a restricted agent', async () => {
+ const seeded = await seedAgentTopic({
+ agentUserId: creatorId,
+ topicSharePolicy: 'restricted',
+ topicUserId: memberId,
+ });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+
+ await expect(
+ memberCaller.enableSharing({ topicId: seeded.topicId, visibility: 'link' }),
+ ).rejects.toMatchObject({ code: 'FORBIDDEN' });
+ });
+
+ it('still lets a restricted member create the private placeholder and revoke', async () => {
+ const seeded = await seedAgentTopic({
+ agentUserId: creatorId,
+ topicSharePolicy: 'restricted',
+ topicUserId: memberId,
+ });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+
+ // The share popover opens by creating this placeholder — gating it would
+ // leave a restricted member unable to load the panel at all.
+ const created = await memberCaller.enableSharing({
+ topicId: seeded.topicId,
+ visibility: 'private',
+ });
+ expect(created?.visibility).toBe('private');
+
+ // Pulling a topic out of circulation is always safe.
+ const revoked = await memberCaller.updateShareVisibility({
+ topicId: seeded.topicId,
+ visibility: 'private',
+ });
+ expect(revoked?.visibility).toBe('private');
+ await expect(memberCaller.disableSharing({ topicId: seeded.topicId })).resolves.toBeDefined();
+ });
+
+ it('lets the agent creator and the workspace owner publish under a restricted agent', async () => {
+ const creatorOwned = await seedAgentTopic({
+ agentUserId: creatorId,
+ topicSharePolicy: 'restricted',
+ topicUserId: creatorId,
+ });
+ const creatorCaller = topicRouter.createCaller(
+ createWorkspaceContext(creatorId, workspaceId),
+ );
+ const published = await creatorCaller.enableSharing({
+ topicId: creatorOwned.topicId,
+ visibility: 'link',
+ });
+ expect(published?.visibility).toBe('link');
+
+ const memberOwned = await seedAgentTopic({
+ agentUserId: creatorId,
+ topicSharePolicy: 'restricted',
+ topicUserId: memberId,
+ });
+ const ownerCaller = topicRouter.createCaller(createWorkspaceContext(ownerId, workspaceId));
+ const ownerPublished = await ownerCaller.enableSharing({
+ topicId: memberOwned.topicId,
+ visibility: 'link',
+ });
+ expect(ownerPublished?.visibility).toBe('link');
+ });
+
+ it("lets a member publish another member's topic under the member policy", async () => {
+ // The permission is about the AGENT's topics, not just one's own: under
+ // `member` a member may publish a topic someone else created.
+ const ownerOwned = await seedAgentTopic({
+ agentUserId: creatorId,
+ topicSharePolicy: 'member',
+ topicUserId: creatorId,
+ });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+
+ await expect(
+ memberCaller.enableSharing({ topicId: ownerOwned.topicId, visibility: 'link' }),
+ ).resolves.toMatchObject({ visibility: 'link' });
+ // ...and take it back out of circulation.
+ await expect(
+ memberCaller.updateShareVisibility({ topicId: ownerOwned.topicId, visibility: 'private' }),
+ ).resolves.toMatchObject({ visibility: 'private' });
+ });
+
+ it("keeps another member's topic off-limits when the topic has no agent", async () => {
+ // Legacy rule survives for agent-less rows: the member policy is granted
+ // BY an agent, so a topic that answers to none keeps creator+owner only.
+ const creatorCaller = topicRouter.createCaller(
+ createWorkspaceContext(creatorId, workspaceId),
+ );
+ await creatorCaller.enableSharing({ topicId: unboundTopicId, visibility: 'private' });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+ await expect(
+ memberCaller.updateShareVisibility({ topicId: unboundTopicId, visibility: 'link' }),
+ ).rejects.toMatchObject({ code: 'FORBIDDEN' });
+ });
+
+ it('leaves members publishing under the default and legacy policies', async () => {
+ const explicitMember = await seedAgentTopic({
+ agentUserId: creatorId,
+ topicSharePolicy: 'member',
+ topicUserId: memberId,
+ });
+ // Legacy rows predate the field entirely and must keep working.
+ const legacy = await seedAgentTopic({ agentUserId: creatorId, topicUserId: memberId });
+
+ const memberCaller = topicRouter.createCaller(createWorkspaceContext(memberId, workspaceId));
+
+ await expect(
+ memberCaller.enableSharing({ topicId: explicitMember.topicId, visibility: 'link' }),
+ ).resolves.toMatchObject({ visibility: 'link' });
+ await expect(
+ memberCaller.enableSharing({ topicId: legacy.topicId, visibility: 'link' }),
+ ).resolves.toMatchObject({ visibility: 'link' });
+ });
+ });
+
describe('audit trail', () => {
it('records resource.shared when visibility becomes link, and resource.unshared when it leaves', async () => {
const caller = topicRouter.createCaller(createWorkspaceContext(creatorId, workspaceId));
diff --git a/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.test.ts b/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.test.ts
index fa5e28a9e6d..d42270e3a52 100644
--- a/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.test.ts
+++ b/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.test.ts
@@ -148,6 +148,7 @@ describe('config redaction', () => {
executionTargetSelectionPolicy: 'fixed',
heterogeneousProvider: { env: { SECRET: 'value' }, type: 'codex' },
modelSelectionPolicy: 'fixed',
+ topicSharePolicy: 'restricted',
},
avatar: 'avatar.png',
chatConfig: { enableAgentMode: false, runtimeEnv: { SECRET: 'value' } },
@@ -170,6 +171,9 @@ describe('config redaction', () => {
executionTargetSelectionPolicy: 'fixed',
heterogeneousProvider: { type: 'codex' },
modelSelectionPolicy: 'fixed',
+ // Authorization metadata: without it a use-level member's share button
+ // would offer a link the server then refuses.
+ topicSharePolicy: 'restricted',
},
avatar: 'avatar.png',
chatConfig: { enableAgentMode: false },
diff --git a/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.ts b/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.ts
index c24fd1479a8..e8b0c0a1947 100644
--- a/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.ts
+++ b/apps/server/src/routers/lambda/_helpers/resourceConfigGuard.ts
@@ -155,15 +155,18 @@ export const redactAgentConfig = <T extends Record<string, any>>(agent: T): T =>
// Selection policies are authorization metadata, not executable Agent
// config. Use/view members need them so the chat controls cannot mistake a
- // redacted fixed Agent for the legacy `member` default. The execution target
- // is a safe semantic summary shown by use-only members; keep every other
- // agency field (device ids, provider args/env, working directories, etc.)
- // behind edit-level config access.
+ // redacted fixed Agent for the legacy `member` default — same for
+ // `topicSharePolicy`, without which the share button would offer a member a
+ // link the server then refuses. The execution target is a safe semantic
+ // summary shown by use-only members; keep every other agency field (device
+ // ids, provider args/env, working directories, etc.) behind edit-level
+ // config access.
if (agencyConfig) {
const safeAgencySummary = pick(agencyConfig, [
'executionTarget',
'executionTargetSelectionPolicy',
'modelSelectionPolicy',
+ 'topicSharePolicy',
]);
// The hetero marker is identity, not executable config: without it,
// use/view members render an external-CLI agent as a plain runtime agent
diff --git a/apps/server/src/routers/lambda/agent.ts b/apps/server/src/routers/lambda/agent.ts
index ba72950d3e5..3947627d212 100644
--- a/apps/server/src/routers/lambda/agent.ts
+++ b/apps/server/src/routers/lambda/agent.ts
@@ -1,7 +1,7 @@
import { BUILTIN_AGENT_SLUGS } from '@lobechat/builtin-agents';
import { DEFAULT_AGENT_CONFIG, INBOX_SESSION_ID } from '@lobechat/const';
import type { KnowledgeItem } from '@lobechat/types';
-import { CreateAgentSchema, KnowledgeType } from '@lobechat/types';
+import { AGENT_PERMISSION_POLICY_KEYS, CreateAgentSchema, KnowledgeType } from '@lobechat/types';
import { isRecord } from '@lobechat/utils/object';
import { TRPCError } from '@trpc/server';
import { z } from 'zod';
@@ -63,11 +63,6 @@ import {
} from './_helpers/knowledgeBaseAccess';
import { getResourceConfigAccess, redactAgentConfig } from './_helpers/resourceConfigGuard';
-const AGENT_PERMISSION_POLICY_KEYS = [
- 'executionTargetSelectionPolicy',
- 'modelSelectionPolicy',
-] as const;
-
const getAgentPermissionPolicyPatch = (value: Record<string, unknown>) => {
const agencyConfig = value.agencyConfig;
@@ -83,6 +78,7 @@ const stripAgentPermissionPolicies = (value: Record<string, unknown>) => {
const {
executionTargetSelectionPolicy: _executionTargetSelectionPolicy,
modelSelectionPolicy: _modelSelectionPolicy,
+ topicSharePolicy: _topicSharePolicy,
...safeAgencyConfig
} = policyPatch;
@@ -1388,7 +1384,7 @@ export const agentRouter = router({
let safeValue = input.value;
- // Model / execution-environment selection policies govern every member.
+ // Model / execution-environment / topic-share policies govern every member.
// Only the creator or workspace primary owner may write them; other
// collaborators send a fully merged agencyConfig, so strip the protected
// keys instead of comparing and later merging stale values over a newer
diff --git a/apps/server/src/routers/lambda/topic.ts b/apps/server/src/routers/lambda/topic.ts
index 35b71f1f8a5..68d44b55b5e 100644
--- a/apps/server/src/routers/lambda/topic.ts
+++ b/apps/server/src/routers/lambda/topic.ts
@@ -1,5 +1,6 @@
import { PERMISSION_ACTIONS } from '@lobechat/const/rbac';
import {
+ canPublishAgentTopicLink,
chatTopicMetadataUpdateSchema,
chatTopicStatusSchema,
type HeteroSessionImportPayload,
@@ -83,18 +84,53 @@ const topicProcedure = wsCompatProcedure.use(serverDatabase).use(async (opts) =>
const topicBulkDeleteScopeSchema = z.enum(['own', 'workspace']).default('own');
interface TopicShareCtx {
+ agentModel: AgentModel;
+ chatGroupModel: ChatGroupModel;
serverDB: LobeChatDatabase;
topicModel: TopicModel;
userId: string;
workspaceId?: string | null;
}
+/** Workspace owners hold the `:all` scope; everyone else is capped to `:owner`. */
+const isWorkspaceTopicOwner = (ctx: TopicShareCtx) =>
+ new RbacModel(ctx.serverDB, ctx.userId).hasPermission(`${PERMISSION_ACTIONS.TOPIC_UPDATE}:all`, {
+ workspaceId: ctx.workspaceId!,
+ });
+
/**
- * Workspace share management follows the co-editing rule (same gate as
- * `updateTopic`): any member with `use`-level General access on the topic's
- * conversation may manage its share by default — view-only members stay
- * read-only. Personal mode needs no extra check — the model's ownership
- * filter already scopes mutations to the caller.
+ * The agent a topic answers to, for policy purposes.
+ *
+ * Group topics resolve through their supervisor first: a group conversation
+ * *is* a conversation with its supervisor, that is the row the group's
+ * Permission page writes, and `createTopic` accepts a `groupId` with no agent
+ * or session at all — so reading `agentId` first would leave those rows with
+ * no policy to apply. Agent-native topics then carry `agentId` directly, and
+ * legacy session-only rows predate that column, so resolve through the session
+ * rather than letting them slip past the policy.
+ */
+const resolveTopicShareAgent = async (
+ ctx: TopicShareCtx,
+ topic: { agentId?: string | null; groupId?: string | null; sessionId?: string | null },
+) => {
+ const agentId =
+ (topic.groupId ? await ctx.chatGroupModel.getSupervisorAgentId(topic.groupId) : null) ??
+ topic.agentId ??
+ (topic.sessionId
+ ? await resolveAgentIdFromSession(topic.sessionId, ctx.serverDB, ctx.userId, ctx.workspaceId!)
+ : undefined);
+ if (!agentId) return null;
+
+ return ctx.agentModel.getTopicShareSubject(agentId);
+};
+
+/**
+ * Workspace gate for topic-share management.
+ *
+ * The baseline is the co-editing rule (same gate as `updateTopic`): any member
+ * with `use`-level General access on the topic's conversation may manage its
+ * share — view-only members stay read-only. Personal mode needs no extra check
+ * — the model's ownership filter already scopes mutations to the caller.
*
* A topic that backs no conversation at all (legacy rows carrying neither an
* agent, a group, nor a resolvable session) resolves to zero targets, so the
@@ -102,23 +138,52 @@ interface TopicShareCtx {
* a link exposes the whole conversation to anyone holding it — so those fall
* back to the stricter creator-or-workspace-owner rule rather than inheriting
* the vacuous pass.
+ *
+ * *Publishing* narrows that further, governed by the owning agent's
+ * `topicSharePolicy`. Under `restricted` only the agent's creator and
+ * workspace owners may publish, which overrides even topic ownership — that is
+ * the whole point of the policy. Revoking a link, and the `private`
+ * placeholder the share popover creates when it opens, are never restricted:
+ * pulling a topic out of circulation is always safe, and gating the
+ * placeholder would leave a restricted member with a popover that cannot even
+ * load its state. Pass `targetVisibility: 'link'` when the operation would
+ * publish.
*/
-const assertCanManageTopicShare = async (ctx: TopicShareCtx, topicId: string) => {
+const assertCanManageTopicShare = async (
+ ctx: TopicShareCtx,
+ topicId: string,
+ targetVisibility?: 'link' | 'private',
+) => {
if (!ctx.workspaceId) return;
const topic = await ctx.topicModel.findById(topicId);
if (!topic) {
throw new TRPCError({ code: 'NOT_FOUND', message: 'Topic not found' });
}
+
+ // Publishing under a restricted agent overrides even topic ownership —
+ // that is the whole point of the policy. Resolved only on the publish path
+ // so the common case keeps the query count it had.
+ if (targetVisibility === 'link') {
+ const agent = await resolveTopicShareAgent(ctx, topic);
+
+ if (agent && !canPublishAgentTopicLink(agent, { userId: ctx.userId })) {
+ if (await isWorkspaceTopicOwner(ctx)) return;
+
+ throw new TRPCError({
+ cause: { data: { code: 'TopicShareRestrictedByAgent' } },
+ code: 'FORBIDDEN',
+ message: "Only the agent creator or a workspace owner can share this agent's topics",
+ });
+ }
+ }
+
if (topic.userId === ctx.userId) return;
const guardedConversations = await assertCanUseTopicTargets(guardCtx(ctx), [topicId]);
if (guardedConversations.length > 0) return;
- const isWorkspaceAdmin = await new RbacModel(ctx.serverDB, ctx.userId).hasPermission(
- `${PERMISSION_ACTIONS.TOPIC_UPDATE}:all`,
- { workspaceId: ctx.workspaceId },
- );
+ const isWorkspaceAdmin = await isWorkspaceTopicOwner(ctx);
if (!isWorkspaceAdmin) {
throw new TRPCError({
code: 'FORBIDDEN',
@@ -452,7 +517,7 @@ export const topicRouter = router({
}),
)
.mutation(async ({ input, ctx }) => {
- await assertCanManageTopicShare(ctx, input.topicId);
+ await assertCanManageTopicShare(ctx, input.topicId, input.visibility);
const previous = await ctx.topicShareModel.getByTopicId(input.topicId);
const result = await ctx.topicShareModel.create(input.topicId, input.visibility);
@@ -888,7 +953,7 @@ export const topicRouter = router({
}),
)
.mutation(async ({ input, ctx }) => {
- await assertCanManageTopicShare(ctx, input.topicId);
+ await assertCanManageTopicShare(ctx, input.topicId, input.visibility);
const previous = await ctx.topicShareModel.getByTopicId(input.topicId);
const result = await ctx.topicShareModel.updateVisibility(input.topicId, input.visibility);
diff --git a/locales/ar/chat.json b/locales/ar/chat.json
index 64baccff442..fbbfd5be9f4 100644
--- a/locales/ar/chat.json
+++ b/locales/ar/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "البحث في القوالب...",
"groupWizard.title": "إنشاء مجموعة",
"groupWizard.useTemplate": "استخدام قالب",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} لا يدعم ربط مزود LobeHub.",
"heteroAgent.apiMode.configMissing": "يتطلب وضع Claude Code API موفرًا وربطًا بالنموذج. افتح ملف تعريف الوكيل لتكوينه.",
+ "heteroAgent.apiMode.credentialUnsupported": "المزود \"{{providerId}}\" يستخدم طريقة مصادقة لا يدعمها هذا الوكيل.",
+ "heteroAgent.apiMode.credentialsMissing": "المزود \"{{providerId}}\" ليس لديه مفتاح API مُعد.",
+ "heteroAgent.apiMode.endpointMissing": "المزود \"{{providerId}}\" يتطلب عنوان URL أساسي لهذا الوكيل.",
+ "heteroAgent.apiMode.endpointUnsupported": "المزود \"{{providerId}}\" لديه عنوان URL أساسي غير مدعوم.",
"heteroAgent.apiMode.labDisabled.action": "تمكين في المختبرات",
"heteroAgent.apiMode.labDisabled.desc": "قم بتشغيله في الإعدادات → المختبرات، أو قم بتبديل هذا الوكيل إلى مصادقة الاشتراك.",
"heteroAgent.apiMode.labDisabled.title": "وضع Claude Code API هو تجربة مختبرات",
"heteroAgent.apiMode.localOnly.desc": "قم بتبديل بيئة التنفيذ إلى الجهاز المحلي، أو استخدم مصادقة الاشتراك.",
"heteroAgent.apiMode.localOnly.title": "يتطلب وضع API تنفيذًا محليًا على سطح المكتب",
"heteroAgent.apiMode.modelUnavailable": "النموذج \"{{providerId}}/{{model}}\" معطل أو لم يعد متاحًا.",
+ "heteroAgent.apiMode.protocolMismatch": "المزود \"{{providerId}}\" لا يوفر بروتوكولًا مدعومًا من قبل {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "الموفر \"{{providerId}}\" معطل أو لم يعد متاحًا.",
"heteroAgent.claudeQuota.accountActive": "قيد الاستخدام",
"heteroAgent.claudeQuota.accountSwitch": "تبديل",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "تم التحديث منذ {{duration}}",
"heteroAgent.quota.updatedJustNow": "تم التحديث للتو",
"heteroAgent.quota.weekly": "أسبوعي",
+ "heteroAgent.resumeReset.bindingChanged": "تم تغيير ربط المصادقة. لم يكن بالإمكان استئناف جلسة الوكيل المحلية السابقة بأمان، لذا تم بدء محادثة جديدة.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "تعذر استعادة جلسة المؤشر السابقة عبر ACP، لذا بدأت محادثة جديدة بسياق جديد.",
"heteroAgent.resumeReset.cwdChanged": "تم تغيير دليل العمل. لا يمكن استئناف جلسة Claude Code السابقة إلا من دليلها الأصلي، لذا بدأت محادثة جديدة.",
"heteroAgent.resumeReset.resumeFailed": "تعذر استئناف محادثة Codex المحفوظة بأمان، لذا بدأت محادثة جديدة لهذا الموضوع.",
diff --git a/locales/ar/labs.json b/locales/ar/labs.json
index 540bbf118bc..fbce3ffc2c6 100644
--- a/locales/ar/labs.json
+++ b/locales/ar/labs.json
@@ -2,14 +2,14 @@
"description": "هذه الميزات تجريبية. قد نقوم بإزالتها، وقد تحتوي على أخطاء. يسعدنا تلقي ملاحظاتك أثناء استخدامها.",
"features.agentGraphConfig.desc": "عرض تكوين وقت تشغيل الرسم البياني في إعدادات متقدمة لملف تعريف الوكيل.",
"features.agentGraphConfig.title": "تكوين وقت تشغيل الرسم البياني للوكيل",
+ "features.agentProviderBinding.desc": "دع الوكلاء المحليين المدعومين يستخدمون موفر API مُعد ونموذج بدلاً من اشتراكهم. متاح في البداية لـ Claude Code و Codex على تنفيذ سطح المكتب المحلي.",
+ "features.agentProviderBinding.title": "ربط موفر الوكيل",
"features.agentSelfIteration.desc": "السماح للمساعد بالتفكير الذاتي، وبناء الوعي الذاتي، والاستمرار في التطوير عبر المحاولات والتفاعلات المتواصلة.",
"features.agentSelfIteration.title": "التكرار الذاتي للوكيل",
"features.artifactDeployment.desc": "نشر العناصر إلى عنوان URL مستضاف وإدارة الإصدارات من الشريط الجانبي للمحادثة",
"features.artifactDeployment.title": "نشر العناصر",
"features.assistantMessageGroup.desc": "تجميع رسائل الوكيل ونتائج استدعاء الأدوات معًا للعرض",
"features.assistantMessageGroup.title": "تجميع رسائل الوكيل",
- "features.claudeCodeApiMode.desc": "دع Claude Code يستخدم موفر API مُعد ونموذج على هذا الجهاز بدلاً من اشتراك Claude. التنفيذ المحلي على سطح المكتب فقط.",
- "features.claudeCodeApiMode.title": "موفر Claude Code API",
"features.claudeCodeSdk.desc": "قم بتشغيل جلسات Claude Code من خلال Claude Agent SDK بدلاً من تشغيل واجهة سطر الأوامر (CLI). يتيح ذلك بثًا أكثر ثراءً وتحكمًا أفضل في الجلسات.",
"features.claudeCodeSdk.title": "وقت تشغيل Claude Code SDK",
"features.codexAppServer.desc": "تشغيل جلسات Codex من خلال خادم التطبيق المحلي بدلاً من عمليات CLI الفردية. يتيح تدفق الرموز والتحكم الأصلي في الأدوار.",
diff --git a/locales/ar/setting.json b/locales/ar/setting.json
index 91efef7d75b..32374a43d40 100644
--- a/locales/ar/setting.json
+++ b/locales/ar/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "النموذج",
"heterogeneousStatus.apiMode.modelPlaceholder": "اختر نموذجًا",
"heterogeneousStatus.apiMode.noProviders": "لم يتم تكوين أي مزود ممكّن بنقطة نهاية متوافقة مع Anthropic.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "لم يتم تكوين أي مزود ممكّن مع نقطة نهاية API مدعومة صراحة للردود.",
"heterogeneousStatus.apiMode.smallFastModel": "نموذج الخلفية",
"heterogeneousStatus.apiMode.smallFastModelDesc": "يُستخدم لعناوين الجلسات، الملخصات، وأعمال الخلفية الأخرى. لا يغير المحادثة الرئيسية.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "نفس النموذج الأساسي",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "بحث عن أعضاء",
"permission.collaborators.addModal.selectedCount_one": "{{count}} عضو محدد",
"permission.collaborators.addModal.selectedCount_other": "{{count}} أعضاء محددين",
+ "permission.collaborators.addModal.selectionLimit": "يمكنك إضافة ما يصل إلى {{count}} عضوًا في المرة الواحدة.",
"permission.collaborators.addModal.title": "إضافة المتعاونين",
"permission.collaborators.empty": "لا يوجد متعاونين حتى الآن",
"permission.collaborators.libraryDesc": "يمكن للمتعاونين فتح قاعدة المعرفة هذه وعرض الملفات بداخلها حتى عندما يكون مستوى الوصول \"بدون وصول\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "هذه المجموعة تخصك فقط، لذا لا يوجد شيء لمشاركته حتى الآن. انشرها في مساحة العمل لتحديد أذونات الأعضاء.",
"permission.page.groupPersonalTitle": "تنطبق الأذونات على مجموعات مساحة العمل",
"permission.page.groupPrivateNotice": "هذه المجموعة لا تزال خاصة. كل شيء هنا يصبح ساريًا بمجرد نشرها في مساحة العمل.",
+ "permission.page.groupTopicSharePolicyDesc": "ما إذا كان يمكن للأعضاء نشر روابط مشاركة لمواضيع هذه المجموعة.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "يمكن للأعضاء نشر روابط مشاركة لأي من مواضيع هذه المجموعة.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "فقط أنت ومالكو مساحة العمل يمكنكم نشر روابط مشاركة لهذه المجموعة.",
"permission.page.kbAccessibleWhenShared": "يمكن الوصول عند المشاركة",
"permission.page.kbNoAccessWhenShared": "لا يوجد وصول عند المشاركة",
"permission.page.libraryAccessLevelPrivateHint": "يحصل الأعضاء على هذا المستوى بمجرد نشر قاعدة المعرفة إلى مساحة العمل. يمكن تغييره بعد النشر.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "تنطبق الأذونات على وكلاء مساحة العمل",
"permission.page.privateNotice": "هذا الوكيل لا يزال خاصًا. كل شيء هنا يسري بمجرد نشره في مساحة العمل.",
"permission.page.title": "أذونات الأعضاء",
+ "permission.page.topicSharePolicyDesc": "ما إذا كان يمكن للأعضاء نشر روابط مشاركة لمواضيع هذا الوكيل.",
+ "permission.page.topicSharePolicyMemberDesc": "يمكن للأعضاء نشر روابط مشاركة لأي من مواضيع هذا الوكيل.",
+ "permission.page.topicSharePolicyRestrictedDesc": "فقط أنت ومالكو مساحة العمل يمكنكم نشر روابط مشاركة.",
"permission.page.usableWhenShared": "يمكن الاستخدام عند المشاركة",
"permission.page.viewableWhenShared": "يمكن العرض عند المشاركة",
"permission.saveNoEditPermission": "لديك إذن عرض فقط لهذه الصفحة، لذا لم يتم حفظ تغييراتك",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "العلامة",
"settingAgent.title": "معلومات الوكيل",
"settingAgent.toolsConfig.title": "الأدوات",
+ "settingAgent.topicSharePolicy.membersCanShare": "يمكن للأعضاء المشاركة.",
+ "settingAgent.topicSharePolicy.membersCannotShare": "فقط المنشئ والمالكون.",
+ "settingAgent.topicSharePolicy.title": "مشاركة المواضيع.",
"settingAppearance.animationMode.agile": "سريع",
"settingAppearance.animationMode.desc": "اختر سرعة الرسوم المتحركة لإجراءات استجابة التطبيق",
"settingAppearance.animationMode.disabled": "إيقاف",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "ليس لديك إذن للقيام بذلك. اطلب من مالك مساحة العمل منحك عضوًا أو أعلى.",
"workspace.permission.requiresOwner": "فقط مالكو مساحة العمل يمكنهم القيام بذلك. اطلب من مالك إذا كنت بحاجة إلى تغيير هذا.",
"workspace.permission.requiresPrimaryOwner": "فقط المالك الأساسي يمكنه حذف هذه مساحة العمل. قم بنقل الملكية الأساسية أولاً إذا لزم الأمر.",
+ "workspace.permission.topicShareRestricted": "هذا الوكيل يسمح فقط لمنشئه ومالكي مساحة العمل بمشاركة المواضيع. اطلب منهم إذا كنت بحاجة إلى رابط.",
"workspace.personalTag": "شخصي",
"workspace.slugBrandApply.button": "تقديم الطلب",
"workspace.slugBrandApply.mailBody": "مرحبًا فريق LobeHub،\n\nأود طلب عنوان URL مساحة العمل \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- العلامة التجارية / المنظمة التي أمثلها:\n- الموقع الرسمي / النطاق:\n- دوري في المنظمة:\n- البريد الإلكتروني للمنظمة (يرجى الرد من هذا العنوان):\n\nشكرًا!",
diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.json
index a03c74d4426..26c4f1db655 100644
--- a/locales/bg-BG/chat.json
+++ b/locales/bg-BG/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Търсене на шаблони...",
"groupWizard.title": "Създай група",
"groupWizard.useTemplate": "Използвай шаблон",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} не поддържа свързване с доставчика LobeHub.",
"heteroAgent.apiMode.configMissing": "Режимът Claude Code API изисква доставчик и свързване на модел. Отворете профила на агента, за да го конфигурирате.",
+ "heteroAgent.apiMode.credentialUnsupported": "Доставчикът \"{{providerId}}\" използва метод за удостоверяване, който този агент не поддържа.",
+ "heteroAgent.apiMode.credentialsMissing": "Доставчикът \"{{providerId}}\" няма конфигуриран API ключ.",
+ "heteroAgent.apiMode.endpointMissing": "Доставчикът \"{{providerId}}\" изисква основен URL адрес за този агент.",
+ "heteroAgent.apiMode.endpointUnsupported": "Доставчикът \"{{providerId}}\" има неподдържан основен URL адрес.",
"heteroAgent.apiMode.labDisabled.action": "Активирайте в Labs",
"heteroAgent.apiMode.labDisabled.desc": "Включете го в Настройки → Labs или превключете този агент към удостоверяване чрез абонамент.",
"heteroAgent.apiMode.labDisabled.title": "Режимът Claude Code API е експеримент в Labs",
"heteroAgent.apiMode.localOnly.desc": "Превключете средата за изпълнение на Локално устройство или използвайте удостоверяване чрез абонамент.",
"heteroAgent.apiMode.localOnly.title": "Режимът API изисква локално изпълнение на настолен компютър",
"heteroAgent.apiMode.modelUnavailable": "Моделът \"{{providerId}}/{{model}}\" е деактивиран или вече не е наличен.",
+ "heteroAgent.apiMode.protocolMismatch": "Доставчикът \"{{providerId}}\" не предоставя протокол, поддържан от {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "Доставчикът \"{{providerId}}\" е деактивиран или вече не е наличен.",
"heteroAgent.claudeQuota.accountActive": "В употреба",
"heteroAgent.claudeQuota.accountSwitch": "Смяна",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Обновено преди {{duration}}",
"heteroAgent.quota.updatedJustNow": "Току-що обновено",
"heteroAgent.quota.weekly": "Седмично",
+ "heteroAgent.resumeReset.bindingChanged": "Променено е удостоверяването. Предишната локална сесия на агента не може да бъде безопасно възобновена, затова е започнат нов разговор.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "Предишната сесия на Cursor не можа да бъде възстановена чрез ACP, затова е започнат нов разговор с нов контекст.",
"heteroAgent.resumeReset.cwdChanged": "Работната директория е променена. Предишната сесия на Claude Code може да бъде продължена само от оригиналната ѝ директория, затова е започнат нов разговор.",
"heteroAgent.resumeReset.resumeFailed": "Запазената нишка на Codex не можа да бъде възстановена безопасно, затова е започнат нов разговор по тази тема.",
diff --git a/locales/bg-BG/labs.json b/locales/bg-BG/labs.json
index 2cafde43fae..341b5d42243 100644
--- a/locales/bg-BG/labs.json
+++ b/locales/bg-BG/labs.json
@@ -2,14 +2,14 @@
"description": "Тези функции са експериментални. Възможно е да ги премахнем и те може да имат грешки. Ще се радваме на вашата обратна връзка, докато ги използвате.",
"features.agentGraphConfig.desc": "Показване на конфигурацията на графика за изпълнение в разширените настройки на профила на агент.",
"features.agentGraphConfig.title": "Конфигурация на графика за изпълнение на агент",
+ "features.agentProviderBinding.desc": "Позволете на поддържаните локални агенти да използват конфигуриран API доставчик и модел вместо техния абонамент. Първоначално достъпно за Claude Code и Codex при локално изпълнение на десктоп.",
+ "features.agentProviderBinding.title": "Свързване с доставчик на агенти",
"features.agentSelfIteration.desc": "Позволява на асистента да разсъждава, да изгражда самосъзнание и да извършва непрекъснати подобрения чрез последователни опити и взаимодействия.",
"features.agentSelfIteration.title": "Само-итерация на агента",
"features.artifactDeployment.desc": "Публикувайте артефакти на хостван URL адрес и управлявайте изданията от страничната лента на разговора",
"features.artifactDeployment.title": "Деплоймент на артефакти",
"features.assistantMessageGroup.desc": "Групиране на съобщенията от агента и резултатите от извикванията на инструменти заедно за показване",
"features.assistantMessageGroup.title": "Групиране на съобщения от агент",
- "features.claudeCodeApiMode.desc": "Позволете на Claude Code да използва конфигуриран API доставчик и модел на този настолен компютър вместо абонамент за Claude. Само локално изпълнение на настолния компютър.",
- "features.claudeCodeApiMode.title": "Claude Code API доставчик",
"features.claudeCodeSdk.desc": "Изпълнявайте сесии на Claude Code чрез Claude Agent SDK вместо да стартирате CLI. Осигурява по-богато стрийминг изживяване и контрол на сесиите.",
"features.claudeCodeSdk.title": "Claude Code SDK Runtime",
"features.codexAppServer.desc": "Изпълнявайте Codex сесии чрез локалния app-сървър вместо чрез еднократни CLI процеси. Позволява поточно предаване на токени и естествен контрол на завоите.",
diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.json
index 35f081e5280..a321b28c6ba 100644
--- a/locales/bg-BG/setting.json
+++ b/locales/bg-BG/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Модел",
"heterogeneousStatus.apiMode.modelPlaceholder": "Изберете модел",
"heterogeneousStatus.apiMode.noProviders": "Няма конфигуриран активиран доставчик с крайна точка, съвместима с Anthropic.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Няма конфигуриран активиран доставчик с изрично поддържан API крайна точка за отговори.",
"heterogeneousStatus.apiMode.smallFastModel": "Фонов модел",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Използва се за заглавия на сесии, обобщения и друга фонова работа. Не променя основния разговор.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Същият като основния модел",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Търсене на членове",
"permission.collaborators.addModal.selectedCount_one": "{{count}} член избран",
"permission.collaborators.addModal.selectedCount_other": "{{count}} членове избрани",
+ "permission.collaborators.addModal.selectionLimit": "Можете да добавите до {{count}} членове наведнъж.",
"permission.collaborators.addModal.title": "Добавяне на сътрудници",
"permission.collaborators.empty": "Все още няма сътрудници",
"permission.collaborators.libraryDesc": "Сътрудниците могат да отварят тази база знания и да преглеждат файловете вътре, дори когато нивото на достъп е \"Без достъп\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Тази група принадлежи само на вас, така че все още няма какво да се споделя. Публикувайте я в работно пространство, за да зададете права за членовете.",
"permission.page.groupPersonalTitle": "Правата се прилагат за групи в работното пространство",
"permission.page.groupPrivateNotice": "Тази група все още е частна. Всичко тук ще влезе в сила, след като я публикувате в работното пространство.",
+ "permission.page.groupTopicSharePolicyDesc": "Дали членовете могат да публикуват връзки за споделяне на теми от тази група.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Членовете могат да публикуват връзки за споделяне на всяка тема от тази група.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Само вие и собствениците на работното пространство можете да публикувате връзки за споделяне за тази група.",
"permission.page.kbAccessibleWhenShared": "Може да достъпва, когато е споделено",
"permission.page.kbNoAccessWhenShared": "Няма достъп, когато е споделено",
"permission.page.libraryAccessLevelPrivateHint": "Членовете получават това ниво, след като базата знания бъде публикувана в работното пространство. То може да бъде променено след публикуването.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Правата се прилагат за агентите в работното пространство",
"permission.page.privateNotice": "Този агент все още е частен. Всичко тук влиза в сила, след като го публикувате в работното пространство.",
"permission.page.title": "Права на членовете",
+ "permission.page.topicSharePolicyDesc": "Дали членовете могат да публикуват връзки за споделяне на теми от този агент.",
+ "permission.page.topicSharePolicyMemberDesc": "Членовете могат да публикуват връзки за споделяне на всяка тема от този агент.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Само вие и собствениците на работното пространство можете да публикувате връзки за споделяне.",
"permission.page.usableWhenShared": "Може да се използва, когато е споделено",
"permission.page.viewableWhenShared": "Може да се преглежда, когато е споделено",
"permission.saveNoEditPermission": "Имате само достъп за преглед на тази страница, затова вашите промени не бяха запазени",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Етикет",
"settingAgent.title": "Информация за агента",
"settingAgent.toolsConfig.title": "Инструменти",
+ "settingAgent.topicSharePolicy.membersCanShare": "Членовете могат да споделят",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Само създателят и собствениците",
+ "settingAgent.topicSharePolicy.title": "Споделяне на теми",
"settingAppearance.animationMode.agile": "Бърз",
"settingAppearance.animationMode.desc": "Изберете скоростта на анимация за действията в приложението",
"settingAppearance.animationMode.disabled": "Изключено",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "Нямате разрешение да направите това. Помолете собственик на работното пространство да ви предостави членство или по-високо.",
"workspace.permission.requiresOwner": "Само собствениците на работното пространство могат да направят това. Помолете собственик, ако се нуждаете от промяна.",
"workspace.permission.requiresPrimaryOwner": "Само основният собственик може да изтрие това работно пространство. Първо прехвърлете основната собственост, ако е необходимо.",
+ "workspace.permission.topicShareRestricted": "Този агент позволява само на своя създател и собствениците на работното пространство да споделят теми. Свържете се с тях, ако ви е необходима връзка.",
"workspace.personalTag": "Лично",
"workspace.slugBrandApply.button": "Заявете",
"workspace.slugBrandApply.mailBody": "Здравейте, екип на LobeHub,\n\nБих искал да заявя URL адреса на работното пространство \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Марка / организация, която представлявам:\n- Официален уебсайт / домейн:\n- Моята роля в организацията:\n- Организационен имейл (моля, отговорете от този адрес):\n\nБлагодаря!",
diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.json
index 47b5d88acb0..8a76a6874e3 100644
--- a/locales/de-DE/chat.json
+++ b/locales/de-DE/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Vorlagen durchsuchen...",
"groupWizard.title": "Gruppe erstellen",
"groupWizard.useTemplate": "Vorlage verwenden",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} unterstützt keine LobeHub-Provider-Bindung.",
"heteroAgent.apiMode.configMissing": "Der Claude Code API-Modus erfordert eine Anbieter- und Modellbindung. Öffnen Sie das Agentenprofil, um es zu konfigurieren.",
+ "heteroAgent.apiMode.credentialUnsupported": "Der Anbieter \"{{providerId}}\" verwendet eine Authentifizierungsmethode, die von diesem Agenten nicht unterstützt wird.",
+ "heteroAgent.apiMode.credentialsMissing": "Für den Anbieter \"{{providerId}}\" ist kein API-Schlüssel konfiguriert.",
+ "heteroAgent.apiMode.endpointMissing": "Der Anbieter \"{{providerId}}\" erfordert eine Basis-URL für diesen Agenten.",
+ "heteroAgent.apiMode.endpointUnsupported": "Der Anbieter \"{{providerId}}\" hat eine nicht unterstützte Basis-URL.",
"heteroAgent.apiMode.labDisabled.action": "In Labs aktivieren",
"heteroAgent.apiMode.labDisabled.desc": "Aktivieren Sie es unter Einstellungen → Labs oder wechseln Sie diesen Agenten zur Abonnement-Authentifizierung.",
"heteroAgent.apiMode.labDisabled.title": "Claude Code API-Modus ist ein Labs-Experiment",
"heteroAgent.apiMode.localOnly.desc": "Wechseln Sie die Ausführungsumgebung auf das lokale Gerät oder verwenden Sie die Abonnement-Authentifizierung.",
"heteroAgent.apiMode.localOnly.title": "API-Modus erfordert lokale Ausführung auf dem Desktop",
"heteroAgent.apiMode.modelUnavailable": "Das Modell \"{{providerId}}/{{model}}\" ist deaktiviert oder nicht mehr verfügbar.",
+ "heteroAgent.apiMode.protocolMismatch": "Der Anbieter \"{{providerId}}\" stellt kein Protokoll bereit, das von {{agentType}} unterstützt wird.",
"heteroAgent.apiMode.providerUnavailable": "Der Anbieter \"{{providerId}}\" ist deaktiviert oder nicht mehr verfügbar.",
"heteroAgent.claudeQuota.accountActive": "In Benutzung",
"heteroAgent.claudeQuota.accountSwitch": "Wechseln",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Aktualisiert vor {{duration}}",
"heteroAgent.quota.updatedJustNow": "Gerade aktualisiert",
"heteroAgent.quota.weekly": "Wöchentlich",
+ "heteroAgent.resumeReset.bindingChanged": "Die Authentifizierungsbindung wurde geändert. Die vorherige lokale Agentensitzung konnte nicht sicher fortgesetzt werden, daher wurde ein neues Gespräch gestartet.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "Die vorherige Cursor-Sitzung konnte nicht über ACP wiederhergestellt werden, daher wurde eine neue Unterhaltung mit frischem Kontext gestartet.",
"heteroAgent.resumeReset.cwdChanged": "Arbeitsverzeichnis geändert. Die vorherige Claude-Code-Sitzung kann nur aus dem ursprünglichen Verzeichnis fortgesetzt werden, daher wurde eine neue Unterhaltung gestartet.",
"heteroAgent.resumeReset.resumeFailed": "Der gespeicherte Codex-Thread konnte nicht sicher wiederhergestellt werden, daher wurde eine neue Unterhaltung zu diesem Thema gestartet.",
diff --git a/locales/de-DE/labs.json b/locales/de-DE/labs.json
index 2493c4db0c2..75e58cd9f5d 100644
--- a/locales/de-DE/labs.json
+++ b/locales/de-DE/labs.json
@@ -2,14 +2,14 @@
"description": "Diese Funktionen sind experimentell. Wir könnten sie entfernen, und sie könnten Fehler enthalten. Wir freuen uns über Ihr Feedback, während Sie sie verwenden.",
"features.agentGraphConfig.desc": "Zeigt die Laufzeitkonfiguration des Graphen in den erweiterten Einstellungen eines Agentenprofils an.",
"features.agentGraphConfig.title": "Laufzeitkonfiguration des Agenten-Graphen",
+ "features.agentProviderBinding.desc": "Lassen Sie unterstützte lokale Agenten einen konfigurierten API-Anbieter und ein Modell verwenden, anstatt ihr Abonnement. Zunächst verfügbar für Claude Code und Codex bei lokaler Desktop-Ausführung.",
+ "features.agentProviderBinding.title": "Agenten-Anbieterbindung",
"features.agentSelfIteration.desc": "Ermöglicht dem Assistenten, zu reflektieren, Selbstwahrnehmung aufzubauen und sich durch fortlaufende Versuche und Interaktionen kontinuierlich weiterzuentwickeln.",
"features.agentSelfIteration.title": "Agenten-Selbstiteration",
"features.artifactDeployment.desc": "Veröffentlichen Sie Artefakte unter einer gehosteten URL und verwalten Sie Releases über die Seitenleiste der Unterhaltung",
"features.artifactDeployment.title": "Artefaktbereitstellungen",
"features.assistantMessageGroup.desc": "Agenten-Nachrichten und deren Tool-Ergebnisse gemeinsam anzeigen",
"features.assistantMessageGroup.title": "Agenten-Nachrichten gruppieren",
- "features.claudeCodeApiMode.desc": "Lassen Sie Claude Code einen konfigurierten API-Anbieter und ein Modell auf diesem Desktop verwenden, anstatt ein Claude-Abonnement. Nur lokale Ausführung auf dem Desktop.",
- "features.claudeCodeApiMode.title": "Claude Code API-Anbieter",
"features.claudeCodeSdk.desc": "Führen Sie Claude Code-Sitzungen über das Claude Agent SDK aus, anstatt die CLI zu starten. Ermöglicht reichhaltigeres Streaming und Sitzungssteuerung.",
"features.claudeCodeSdk.title": "Claude Code SDK-Laufzeit",
"features.codexAppServer.desc": "Führen Sie Codex-Sitzungen über den lokalen App-Server aus, anstatt über einmalige CLI-Prozesse. Ermöglicht Token-Streaming und native Steuerung von Dialogen.",
diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.json
index 4ac3dc106a4..004d0c7090c 100644
--- a/locales/de-DE/setting.json
+++ b/locales/de-DE/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Modell",
"heterogeneousStatus.apiMode.modelPlaceholder": "Wählen Sie ein Modell aus",
"heterogeneousStatus.apiMode.noProviders": "Kein aktivierter Anbieter mit einem Anthropic-kompatiblen Endpunkt konfiguriert.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Kein aktivierter Anbieter mit einem explizit unterstützten Responses-API-Endpunkt ist konfiguriert.",
"heterogeneousStatus.apiMode.smallFastModel": "Hintergrundmodell",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Wird für Sitzungstitel, Zusammenfassungen und andere Hintergrundarbeiten verwendet. Ändert die Hauptunterhaltung nicht.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Gleich wie Primärmodell",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Mitglieder suchen",
"permission.collaborators.addModal.selectedCount_one": "{{count}} Mitglied ausgewählt",
"permission.collaborators.addModal.selectedCount_other": "{{count}} Mitglieder ausgewählt",
+ "permission.collaborators.addModal.selectionLimit": "Sie können bis zu {{count}} Mitglieder gleichzeitig hinzufügen.",
"permission.collaborators.addModal.title": "Mitarbeiter hinzufügen",
"permission.collaborators.empty": "Noch keine Mitarbeiter",
"permission.collaborators.libraryDesc": "Mitarbeiter können auf diese Wissensdatenbank zugreifen und die darin enthaltenen Dateien anzeigen, selbst wenn die Zugriffsebene \"Kein Zugriff\" ist",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Diese Gruppe gehört nur Ihnen, daher gibt es noch nichts zu teilen. Veröffentlichen Sie sie in einem Arbeitsbereich, um Mitgliederberechtigungen festzulegen.",
"permission.page.groupPersonalTitle": "Berechtigungen gelten für Arbeitsbereichsgruppen",
"permission.page.groupPrivateNotice": "Diese Gruppe ist noch privat. Alles hier tritt in Kraft, sobald Sie sie im Arbeitsbereich veröffentlichen.",
+ "permission.page.groupTopicSharePolicyDesc": "Ob Mitglieder Freigabelinks für die Themen dieser Gruppe veröffentlichen können.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Mitglieder können Freigabelinks für alle Themen dieser Gruppe veröffentlichen.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Nur Sie und Workspace-Besitzer können Freigabelinks für diese Gruppe veröffentlichen.",
"permission.page.kbAccessibleWhenShared": "Kann darauf zugreifen, wenn geteilt",
"permission.page.kbNoAccessWhenShared": "Kein Zugriff, wenn geteilt",
"permission.page.libraryAccessLevelPrivateHint": "Mitglieder erhalten dieses Zugriffslevel, sobald die Wissensdatenbank im Arbeitsbereich veröffentlicht wird. Es kann nach der Veröffentlichung geändert werden.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Berechtigungen gelten für Arbeitsbereichsagenten",
"permission.page.privateNotice": "Dieser Agent ist noch privat. Alles hier tritt in Kraft, sobald Sie ihn im Arbeitsbereich veröffentlichen.",
"permission.page.title": "Mitgliederberechtigungen",
+ "permission.page.topicSharePolicyDesc": "Ob Mitglieder Freigabelinks für die Themen dieses Agents veröffentlichen können.",
+ "permission.page.topicSharePolicyMemberDesc": "Mitglieder können Freigabelinks für alle Themen dieses Agents veröffentlichen.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Nur Sie und Workspace-Besitzer können Freigabelinks veröffentlichen.",
"permission.page.usableWhenShared": "Kann verwendet werden, wenn geteilt",
"permission.page.viewableWhenShared": "Kann angezeigt werden, wenn geteilt",
"permission.saveNoEditPermission": "Sie haben nur Anzeigeberechtigung für diese Seite, daher wurden Ihre Änderungen nicht gespeichert",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Tag",
"settingAgent.title": "Agenteninformationen",
"settingAgent.toolsConfig.title": "Werkzeuge",
+ "settingAgent.topicSharePolicy.membersCanShare": "Mitglieder können teilen",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Nur Ersteller und Besitzer",
+ "settingAgent.topicSharePolicy.title": "Themenfreigabe",
"settingAppearance.animationMode.agile": "Agil",
"settingAppearance.animationMode.desc": "Wählen Sie die Animationsgeschwindigkeit für Reaktionen in der Anwendung",
"settingAppearance.animationMode.disabled": "Aus",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Nur der Hauptbesitzer kann diesen Arbeitsbereich löschen. Übertragen Sie zuerst die Hauptbesitzerschaft, falls erforderlich.",
+ "workspace.permission.topicShareRestricted": "Dieser Agent erlaubt es nur seinem Ersteller und den Workspace-Besitzern, Themen zu teilen. Fragen Sie sie, wenn Sie einen Link benötigen.",
"workspace.personalTag": "Persönlich",
"workspace.slugBrandApply.button": "Anwenden",
"workspace.slugBrandApply.mailBody": "Hallo LobeHub-Team,\n\nIch möchte die Arbeitsbereichs-URL \"{{slug}}\" (https://lobehub.com/{{slug}}) beantragen.\n\n- Marke / Organisation, die ich vertrete:\n- Offizielle Website / Domain:\n- Meine Rolle in der Organisation:\n- Organisations-E-Mail (bitte antworten Sie von dieser Adresse):\n\nDanke!",
diff --git a/locales/en-US/setting.json b/locales/en-US/setting.json
index 9b03c2c5ffe..eda8cd64d9c 100644
--- a/locales/en-US/setting.json
+++ b/locales/en-US/setting.json
@@ -708,6 +708,9 @@
"permission.page.groupPersonalDesc": "This group only belongs to you, so there is nothing to share yet. Publish it to a workspace to set member permissions.",
"permission.page.groupPersonalTitle": "Permissions apply to workspace groups",
"permission.page.groupPrivateNotice": "This group is still private. Everything here takes effect once you publish it to the workspace.",
+ "permission.page.groupTopicSharePolicyDesc": "Whether members can publish share links for this group's topics.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Members can publish share links for any of this group's topics",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Only you and workspace owners can publish share links for this group",
"permission.page.kbAccessibleWhenShared": "Can access when shared",
"permission.page.kbNoAccessWhenShared": "No access when shared",
"permission.page.libraryAccessLevelPrivateHint": "Members get this level once the knowledge base is published to the workspace. It can be changed after publishing.",
@@ -721,6 +724,9 @@
"permission.page.personalTitle": "Permissions apply to workspace agents",
"permission.page.privateNotice": "This agent is still private. Everything here takes effect once you publish it to the workspace.",
"permission.page.title": "Permissions",
+ "permission.page.topicSharePolicyDesc": "Whether members can publish share links for this agent's topics.",
+ "permission.page.topicSharePolicyMemberDesc": "Members can publish share links for any of this agent's topics",
+ "permission.page.topicSharePolicyRestrictedDesc": "Only you and workspace owners can publish share links",
"permission.page.usableWhenShared": "Can use when shared",
"permission.page.viewableWhenShared": "Can view when shared",
"permission.saveNoEditPermission": "You have view-only access to this page, so your changes were not saved",
@@ -861,6 +867,9 @@
"settingAgent.tag.title": "Tag",
"settingAgent.title": "Agent info",
"settingAgent.toolsConfig.title": "Tools",
+ "settingAgent.topicSharePolicy.membersCanShare": "Members can share",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Creator and owners only",
+ "settingAgent.topicSharePolicy.title": "Topic sharing",
"settingAppearance.animationMode.agile": "Agile",
"settingAppearance.animationMode.desc": "Select the animation speed for application response actions",
"settingAppearance.animationMode.disabled": "Off",
@@ -2715,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Only the workspace Owner can delete this workspace. Transfer ownership first if needed.",
+ "workspace.permission.topicShareRestricted": "This agent only lets its creator and workspace owners share topics. Ask them if you need a link.",
"workspace.personalTag": "Personal",
"workspace.slugBrandApply.button": "Apply",
"workspace.slugBrandApply.mailBody": "Hi LobeHub team,\n\nI would like to request the workspace URL \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Brand / organization I represent:\n- Official website / domain:\n- My role in the organization:\n- Organization email (please reply from this address):\n\nThanks!",
diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.json
index f8b73b54e0f..c3fc3c7b1b7 100644
--- a/locales/es-ES/chat.json
+++ b/locales/es-ES/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Buscar plantillas...",
"groupWizard.title": "Crear grupo",
"groupWizard.useTemplate": "Usar plantilla",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} no admite la vinculación del proveedor LobeHub.",
"heteroAgent.apiMode.configMissing": "El modo API de Claude Code requiere un proveedor y una vinculación de modelo. Abre el perfil del agente para configurarlo.",
+ "heteroAgent.apiMode.credentialUnsupported": "El proveedor \"{{providerId}}\" utiliza un método de autenticación que este agente no admite.",
+ "heteroAgent.apiMode.credentialsMissing": "El proveedor \"{{providerId}}\" no tiene configurada una clave API.",
+ "heteroAgent.apiMode.endpointMissing": "El proveedor \"{{providerId}}\" requiere una URL base para este agente.",
+ "heteroAgent.apiMode.endpointUnsupported": "El proveedor \"{{providerId}}\" tiene una URL base no admitida.",
"heteroAgent.apiMode.labDisabled.action": "Habilitar en Labs",
"heteroAgent.apiMode.labDisabled.desc": "Actívalo en Configuración → Labs, o cambia este agente a autenticación por Suscripción.",
"heteroAgent.apiMode.labDisabled.title": "El modo API de Claude Code es un experimento de Labs",
"heteroAgent.apiMode.localOnly.desc": "Cambia el entorno de ejecución al dispositivo Local, o utiliza la autenticación por Suscripción.",
"heteroAgent.apiMode.localOnly.title": "El modo API requiere ejecución local en el escritorio",
"heteroAgent.apiMode.modelUnavailable": "El modelo \"{{providerId}}/{{model}}\" está deshabilitado o ya no está disponible.",
+ "heteroAgent.apiMode.protocolMismatch": "El proveedor \"{{providerId}}\" no expone un protocolo compatible con {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "El proveedor \"{{providerId}}\" está deshabilitado o ya no está disponible.",
"heteroAgent.claudeQuota.accountActive": "En uso",
"heteroAgent.claudeQuota.accountSwitch": "Cambiar",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Actualizado hace {{duration}}",
"heteroAgent.quota.updatedJustNow": "Actualizado justo ahora",
"heteroAgent.quota.weekly": "Semanal",
+ "heteroAgent.resumeReset.bindingChanged": "La vinculación de autenticación ha cambiado. La sesión anterior del agente local no pudo reanudarse de manera segura, por lo que se ha iniciado una nueva conversación.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "La sesión anterior de Cursor no pudo ser restaurada a través de ACP, por lo que se ha iniciado una nueva conversación con un contexto fresco.",
"heteroAgent.resumeReset.cwdChanged": "El directorio de trabajo ha cambiado. La sesión anterior de Claude Code solo puede reanudarse desde su directorio original, por lo que se ha iniciado una nueva conversación.",
"heteroAgent.resumeReset.resumeFailed": "El hilo guardado de Codex no pudo reanudarse de forma segura, por lo que se inició una nueva conversación para este tema.",
diff --git a/locales/es-ES/labs.json b/locales/es-ES/labs.json
index effe6b53059..d3dca971b4e 100644
--- a/locales/es-ES/labs.json
+++ b/locales/es-ES/labs.json
@@ -2,14 +2,14 @@
"description": "Estas funciones son experimentales. Podríamos eliminarlas y podrían tener errores. Nos encantaría recibir tus comentarios mientras las usas.",
"features.agentGraphConfig.desc": "Mostrar la configuración de tiempo de ejecución del gráfico en la configuración avanzada del perfil del agente.",
"features.agentGraphConfig.title": "Configuración de Tiempo de Ejecución del Gráfico del Agente",
+ "features.agentProviderBinding.desc": "Permite que los agentes locales compatibles utilicen un proveedor de API configurado y un modelo en lugar de su suscripción. Disponible inicialmente para Claude Code y Codex en ejecución local en escritorio.",
+ "features.agentProviderBinding.title": "Vinculación de Proveedor de Agente",
"features.agentSelfIteration.desc": "Permite que el asistente reflexione, desarrolle autoconsciencia y realice iteraciones continuas a lo largo de intentos e interacciones.",
"features.agentSelfIteration.title": "Autoiteración del agente",
"features.artifactDeployment.desc": "Publica artefactos en una URL alojada y gestiona lanzamientos desde la barra lateral de conversación",
"features.artifactDeployment.title": "Despliegues de Artefactos",
"features.assistantMessageGroup.desc": "Agrupa los mensajes del agente y los resultados de sus herramientas para mostrarlos juntos",
"features.assistantMessageGroup.title": "Agrupación de Mensajes del Agente",
- "features.claudeCodeApiMode.desc": "Permite que Claude Code utilice un proveedor de API configurado y un modelo en este escritorio en lugar de una suscripción a Claude. Solo ejecución local en el escritorio.",
- "features.claudeCodeApiMode.title": "Proveedor de API de Claude Code",
"features.claudeCodeSdk.desc": "Ejecuta sesiones de Claude Code a través del SDK de Claude Agent en lugar de iniciar la CLI. Permite una transmisión más rica y un mejor control de las sesiones.",
"features.claudeCodeSdk.title": "Entorno de Ejecución del SDK de Claude Code",
"features.codexAppServer.desc": "Ejecuta sesiones de Codex a través del servidor de aplicaciones local en lugar de procesos CLI de una sola ejecución. Permite la transmisión de tokens y el control nativo de turnos.",
diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.json
index 0452d070910..b84af83f6f9 100644
--- a/locales/es-ES/setting.json
+++ b/locales/es-ES/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Modelo",
"heterogeneousStatus.apiMode.modelPlaceholder": "Selecciona un modelo",
"heterogeneousStatus.apiMode.noProviders": "No se ha configurado ningún proveedor habilitado con un endpoint compatible con Anthropic.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "No hay ningún proveedor habilitado con un endpoint de API de Respuestas explícitamente compatible configurado.",
"heterogeneousStatus.apiMode.smallFastModel": "Modelo de fondo",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Se utiliza para títulos de sesiones, resúmenes y otros trabajos en segundo plano. No cambia la conversación principal.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Igual que el modelo principal",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Buscar miembros",
"permission.collaborators.addModal.selectedCount_one": "{{count}} miembro seleccionado",
"permission.collaborators.addModal.selectedCount_other": "{{count}} miembros seleccionados",
+ "permission.collaborators.addModal.selectionLimit": "Puedes agregar hasta {{count}} miembros a la vez.",
"permission.collaborators.addModal.title": "Agregar colaboradores",
"permission.collaborators.empty": "Aún no hay colaboradores",
"permission.collaborators.libraryDesc": "Los colaboradores pueden abrir esta base de conocimiento y ver los archivos dentro incluso cuando el nivel de acceso es \"Sin acceso\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Este grupo solo te pertenece a ti, por lo que aún no hay nada que compartir. Publícalo en un espacio de trabajo para establecer permisos de miembros.",
"permission.page.groupPersonalTitle": "Los permisos se aplican a los grupos del espacio de trabajo.",
"permission.page.groupPrivateNotice": "Este grupo aún es privado. Todo aquí entrará en vigor una vez que lo publiques en el espacio de trabajo.",
+ "permission.page.groupTopicSharePolicyDesc": "Si los miembros pueden publicar enlaces compartidos para los temas de este grupo.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Los miembros pueden publicar enlaces compartidos para cualquiera de los temas de este grupo.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Solo tú y los propietarios del espacio de trabajo pueden publicar enlaces compartidos para este grupo.",
"permission.page.kbAccessibleWhenShared": "Puede acceder cuando se comparte",
"permission.page.kbNoAccessWhenShared": "Sin acceso cuando se comparte",
"permission.page.libraryAccessLevelPrivateHint": "Los miembros obtienen este nivel una vez que la base de conocimientos se publica en el espacio de trabajo. Puede cambiarse después de la publicación.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Los permisos se aplican a los agentes del espacio de trabajo",
"permission.page.privateNotice": "Este agente aún es privado. Todo lo que configures aquí tendrá efecto una vez que lo publiques en el espacio de trabajo.",
"permission.page.title": "Permisos de miembros",
+ "permission.page.topicSharePolicyDesc": "Si los miembros pueden publicar enlaces compartidos para los temas de este agente.",
+ "permission.page.topicSharePolicyMemberDesc": "Los miembros pueden publicar enlaces compartidos para cualquiera de los temas de este agente.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Solo tú y los propietarios del espacio de trabajo pueden publicar enlaces compartidos.",
"permission.page.usableWhenShared": "Puede usarse cuando se comparte",
"permission.page.viewableWhenShared": "Puede ver cuando se comparte",
"permission.saveNoEditPermission": "Tienes acceso de solo lectura a esta página, por lo que tus cambios no se guardaron",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Etiqueta",
"settingAgent.title": "Información del Agente",
"settingAgent.toolsConfig.title": "Herramientas",
+ "settingAgent.topicSharePolicy.membersCanShare": "Los miembros pueden compartir.",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Solo el creador y los propietarios.",
+ "settingAgent.topicSharePolicy.title": "Compartir temas.",
"settingAppearance.animationMode.agile": "Ágil",
"settingAppearance.animationMode.desc": "Selecciona la velocidad de animación para las acciones de respuesta de la aplicación",
"settingAppearance.animationMode.disabled": "Desactivado",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Solo el propietario principal puede eliminar este espacio de trabajo. Transfiere la propiedad principal primero si es necesario.",
+ "workspace.permission.topicShareRestricted": "Este agente solo permite que su creador y los propietarios del espacio de trabajo compartan temas. Pregúntales si necesitas un enlace.",
"workspace.personalTag": "Personal",
"workspace.slugBrandApply.button": "Solicitar",
"workspace.slugBrandApply.mailBody": "Hola equipo de LobeHub,\n\nMe gustaría solicitar la URL del espacio de trabajo \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Marca / organización que represento:\n- Sitio web oficial / dominio:\n- Mi rol en la organización:\n- Correo electrónico de la organización (por favor, responde desde esta dirección):\n\n¡Gracias!",
diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.json
index 6eafa40b0ba..2cec07d839b 100644
--- a/locales/fa-IR/chat.json
+++ b/locales/fa-IR/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "جستجوی الگوها...",
"groupWizard.title": "ایجاد گروه",
"groupWizard.useTemplate": "استفاده از الگو",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} از اتصال ارائه‌دهنده LobeHub پشتیبانی نمی‌کند.",
"heteroAgent.apiMode.configMissing": "حالت API کد کلود نیاز به ارائه‌دهنده و اتصال مدل دارد. پروفایل عامل را باز کنید تا آن را پیکربندی کنید.",
+ "heteroAgent.apiMode.credentialUnsupported": "ارائه‌دهنده \"{{providerId}}\" از روشی برای احراز هویت استفاده می‌کند که این عامل از آن پشتیبانی نمی‌کند.",
+ "heteroAgent.apiMode.credentialsMissing": "ارائه‌دهنده \"{{providerId}}\" کلید API تنظیم نشده‌ای دارد.",
+ "heteroAgent.apiMode.endpointMissing": "ارائه‌دهنده \"{{providerId}}\" به یک URL پایه برای این عامل نیاز دارد.",
+ "heteroAgent.apiMode.endpointUnsupported": "ارائه‌دهنده \"{{providerId}}\" دارای یک URL پایه غیرقابل پشتیبانی است.",
"heteroAgent.apiMode.labDisabled.action": "فعال کردن در آزمایشگاه‌ها",
"heteroAgent.apiMode.labDisabled.desc": "آن را در تنظیمات → آزمایشگاه‌ها روشن کنید، یا این عامل را به احراز هویت اشتراکی تغییر دهید.",
"heteroAgent.apiMode.labDisabled.title": "حالت API کد کلود یک آزمایش در آزمایشگاه‌ها است",
"heteroAgent.apiMode.localOnly.desc": "محیط اجرا را به دستگاه محلی تغییر دهید، یا از احراز هویت اشتراکی استفاده کنید.",
"heteroAgent.apiMode.localOnly.title": "حالت API نیاز به اجرای محلی در دسکتاپ دارد",
"heteroAgent.apiMode.modelUnavailable": "مدل \"{{providerId}}/{{model}}\" غیرفعال یا دیگر در دسترس نیست.",
+ "heteroAgent.apiMode.protocolMismatch": "ارائه‌دهنده \"{{providerId}}\" پروتکلی را ارائه نمی‌دهد که توسط {{agentType}} پشتیبانی شود.",
"heteroAgent.apiMode.providerUnavailable": "ارائه‌دهنده \"{{providerId}}\" غیرفعال یا دیگر در دسترس نیست.",
"heteroAgent.claudeQuota.accountActive": "در حال استفاده",
"heteroAgent.claudeQuota.accountSwitch": "تغییر",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "به‌روزرسانی شده {{duration}} پیش",
"heteroAgent.quota.updatedJustNow": "همین حالا به‌روزرسانی شد",
"heteroAgent.quota.weekly": "هفتگی",
+ "heteroAgent.resumeReset.bindingChanged": "اتصال احراز هویت تغییر کرده است. جلسه قبلی عامل محلی نمی‌توانست به‌طور ایمن از سر گرفته شود، بنابراین یک مکالمه جدید آغاز شده است.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "جلسه قبلی Cursor از طریق ACP قابل بازیابی نبود، بنابراین یک مکالمه جدید با زمینه تازه شروع شده است.",
"heteroAgent.resumeReset.cwdChanged": "پوشه کاری تغییر کرده است. نشست قبلی Claude Code فقط از پوشه اصلی خود قابل ادامه است، بنابراین یک مکالمه جدید آغاز شد.",
"heteroAgent.resumeReset.resumeFailed": "رشته ذخیره‌شده Codex به‌طور ایمن قابل ادامه نبود، بنابراین یک گفت‌وگوی جدید برای این موضوع آغاز شد.",
diff --git a/locales/fa-IR/labs.json b/locales/fa-IR/labs.json
index 5bfdcc087b6..c44de03a31b 100644
--- a/locales/fa-IR/labs.json
+++ b/locales/fa-IR/labs.json
@@ -2,14 +2,14 @@
"description": "این ویژگی‌ها آزمایشی هستند. ممکن است آن‌ها را حذف کنیم و ممکن است دارای اشکالاتی باشند. خوشحال می‌شویم نظرات شما را هنگام استفاده از آن‌ها دریافت کنیم.",
"features.agentGraphConfig.desc": "نمایش تنظیمات زمان اجرای نمودار در تنظیمات پیشرفته پروفایل عامل.",
"features.agentGraphConfig.title": "پیکربندی زمان اجرای نمودار عامل",
+ "features.agentProviderBinding.desc": "اجازه دهید عوامل محلی پشتیبانی‌شده از یک ارائه‌دهنده API و مدل پیکربندی‌شده به جای اشتراک خود استفاده کنند. در ابتدا برای Claude Code و Codex در اجرای محلی دسکتاپ در دسترس است.",
+ "features.agentProviderBinding.title": "اتصال ارائه‌دهنده عامل",
"features.agentSelfIteration.desc": "به دستیار امکان می‌دهد درباره عملکرد خود تأمل کند، خودآگاهی ایجاد کند و از طریق تلاش‌ها و تعاملات مداوم به طور پیوسته بهبود یابد.",
"features.agentSelfIteration.title": "خود‌تکراری عامل",
"features.artifactDeployment.desc": "انتشار مصنوعات به یک URL میزبانی شده و مدیریت نسخه‌ها از نوار کناری مکالمه",
"features.artifactDeployment.title": "انتشار مصنوعات",
"features.assistantMessageGroup.desc": "نمایش گروهی پیام‌های عامل و نتایج ابزارهای فراخوانی‌شده به‌صورت یکجا",
"features.assistantMessageGroup.title": "گروه‌بندی پیام‌های عامل",
- "features.claudeCodeApiMode.desc": "اجازه دهید Claude Code از یک ارائه‌دهنده API پیکربندی‌شده و مدل در این دسکتاپ به جای اشتراک Claude استفاده کند. فقط اجرای محلی دسکتاپ.",
- "features.claudeCodeApiMode.title": "ارائه‌دهنده API Claude Code",
"features.claudeCodeSdk.desc": "اجرای جلسات Claude Code از طریق Claude Agent SDK به جای اجرای CLI. امکان پخش غنی‌تر و کنترل جلسات را فراهم می‌کند.",
"features.claudeCodeSdk.title": "محیط اجرایی Claude Code SDK",
"features.codexAppServer.desc": "اجرای جلسات Codex از طریق سرور اپلیکیشن محلی به جای فرآیندهای CLI یک‌باره. امکان پخش توکن و کنترل بومی گردش را فراهم می‌کند.",
diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.json
index 3cb828a9f4f..ca9d9cc5cf0 100644
--- a/locales/fa-IR/setting.json
+++ b/locales/fa-IR/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "مدل",
"heterogeneousStatus.apiMode.modelPlaceholder": "یک مدل انتخاب کنید",
"heterogeneousStatus.apiMode.noProviders": "هیچ ارائه‌دهنده فعال با نقطه پایانی سازگار با Anthropic تنظیم نشده است.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "هیچ ارائه‌دهنده فعال با یک نقطه پایانی API پاسخ‌ها به‌طور صریح پشتیبانی‌شده تنظیم نشده است.",
"heterogeneousStatus.apiMode.smallFastModel": "مدل پس‌زمینه",
"heterogeneousStatus.apiMode.smallFastModelDesc": "برای عناوین جلسات، خلاصه‌ها و سایر کارهای پس‌زمینه استفاده می‌شود. مکالمه اصلی را تغییر نمی‌دهد.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "همانند مدل اصلی",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "جستجوی اعضا",
"permission.collaborators.addModal.selectedCount_one": "{{count}} عضو انتخاب شده است",
"permission.collaborators.addModal.selectedCount_other": "{{count}} عضو انتخاب شده‌اند",
+ "permission.collaborators.addModal.selectionLimit": "شما می‌توانید حداکثر {{count}} عضو را در یک زمان اضافه کنید.",
"permission.collaborators.addModal.title": "افزودن همکاران",
"permission.collaborators.empty": "هنوز هیچ همکاری وجود ندارد",
"permission.collaborators.libraryDesc": "همکاران می‌توانند این پایگاه دانش را باز کرده و فایل‌های داخل آن را مشاهده کنند حتی زمانی که سطح دسترسی \"بدون دسترسی\" باشد",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "این گروه فقط متعلق به شماست، بنابراین هنوز چیزی برای اشتراک‌گذاری وجود ندارد. آن را به یک فضای کاری منتشر کنید تا مجوزهای اعضا تنظیم شود.",
"permission.page.groupPersonalTitle": "مجوزها برای گروه‌های فضای کاری اعمال می‌شوند.",
"permission.page.groupPrivateNotice": "این گروه هنوز خصوصی است. همه چیز اینجا زمانی اعمال می‌شود که آن را به فضای کاری منتشر کنید.",
+ "permission.page.groupTopicSharePolicyDesc": "آیا اعضا می‌توانند لینک‌های اشتراک برای موضوعات این گروه منتشر کنند.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "اعضا می‌توانند لینک‌های اشتراک برای هر یک از موضوعات این گروه منتشر کنند.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "فقط شما و صاحبان فضای کاری می‌توانید لینک‌های اشتراک برای این گروه منتشر کنید.",
"permission.page.kbAccessibleWhenShared": "می‌تواند هنگام اشتراک‌گذاری دسترسی داشته باشد",
"permission.page.kbNoAccessWhenShared": "بدون دسترسی هنگام اشتراک‌گذاری",
"permission.page.libraryAccessLevelPrivateHint": "اعضا این سطح را زمانی دریافت می‌کنند که پایگاه دانش به فضای کاری منتشر شود. این سطح پس از انتشار قابل تغییر است.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "مجوزها برای عوامل فضای کاری اعمال می‌شوند",
"permission.page.privateNotice": "این عامل هنوز خصوصی است. همه چیز اینجا زمانی اعمال می‌شود که آن را به فضای کاری منتشر کنید.",
"permission.page.title": "مجوزهای اعضا",
+ "permission.page.topicSharePolicyDesc": "آیا اعضا می‌توانند لینک‌های اشتراک برای موضوعات این عامل منتشر کنند.",
+ "permission.page.topicSharePolicyMemberDesc": "اعضا می‌توانند لینک‌های اشتراک برای هر یک از موضوعات این عامل منتشر کنند.",
+ "permission.page.topicSharePolicyRestrictedDesc": "فقط شما و صاحبان فضای کاری می‌توانید لینک‌های اشتراک منتشر کنید.",
"permission.page.usableWhenShared": "قابل استفاده هنگام اشتراک‌گذاری",
"permission.page.viewableWhenShared": "می‌تواند هنگام اشتراک‌گذاری مشاهده کند",
"permission.saveNoEditPermission": "شما فقط دسترسی مشاهده به این صفحه دارید، بنابراین تغییرات شما ذخیره نشد",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "برچسب",
"settingAgent.title": "اطلاعات عامل",
"settingAgent.toolsConfig.title": "ابزارها",
+ "settingAgent.topicSharePolicy.membersCanShare": "اعضا می‌توانند به اشتراک بگذارند.",
+ "settingAgent.topicSharePolicy.membersCannotShare": "فقط سازنده و صاحبان.",
+ "settingAgent.topicSharePolicy.title": "اشتراک‌گذاری موضوع",
"settingAppearance.animationMode.agile": "سریع",
"settingAppearance.animationMode.desc": "سرعت انیمیشن واکنش‌های برنامه را انتخاب کنید",
"settingAppearance.animationMode.disabled": "خاموش",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "شما اجازه انجام این کار را ندارید. از مالک فضای کاری بخواهید که به شما مجوز عضو یا بالاتر بدهد.",
"workspace.permission.requiresOwner": "فقط مالکان فضای کاری می‌توانند این کار را انجام دهند. اگر نیاز به تغییر دارید، از یک مالک بخواهید.",
"workspace.permission.requiresPrimaryOwner": "فقط مالک اصلی می‌تواند این فضای کاری را حذف کند. در صورت نیاز ابتدا مالکیت اصلی را منتقل کنید.",
+ "workspace.permission.topicShareRestricted": "این عامل فقط به سازنده و صاحبان فضای کاری اجازه اشتراک‌گذاری موضوعات را می‌دهد. اگر به لینک نیاز دارید، از آنها درخواست کنید.",
"workspace.personalTag": "شخصی",
"workspace.slugBrandApply.button": "درخواست",
"workspace.slugBrandApply.mailBody": "سلام تیم LobeHub،\n\nمن می‌خواهم درخواست کنم که URL فضای کاری \"{{slug}}\" (https://lobehub.com/{{slug}}) به من اختصاص داده شود.\n\n- برند / سازمانی که نمایندگی می‌کنم:\n- وب‌سایت / دامنه رسمی:\n- نقش من در سازمان:\n- ایمیل سازمانی (لطفاً از این آدرس پاسخ دهید):\n\nمتشکرم!",
diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.json
index 2598d4f2124..177e2e4f246 100644
--- a/locales/fr-FR/chat.json
+++ b/locales/fr-FR/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Rechercher des modèles...",
"groupWizard.title": "Créer un groupe",
"groupWizard.useTemplate": "Utiliser un modèle",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} ne prend pas en charge la liaison au fournisseur LobeHub.",
"heteroAgent.apiMode.configMissing": "Le mode API Claude Code nécessite un fournisseur et un modèle associés. Ouvrez le profil de l'agent pour le configurer.",
+ "heteroAgent.apiMode.credentialUnsupported": "Le fournisseur \"{{providerId}}\" utilise une méthode d'authentification que cet agent ne prend pas en charge.",
+ "heteroAgent.apiMode.credentialsMissing": "Le fournisseur \"{{providerId}}\" n'a pas de clé API configurée.",
+ "heteroAgent.apiMode.endpointMissing": "Le fournisseur \"{{providerId}}\" nécessite une URL de base pour cet agent.",
+ "heteroAgent.apiMode.endpointUnsupported": "Le fournisseur \"{{providerId}}\" a une URL de base non prise en charge.",
"heteroAgent.apiMode.labDisabled.action": "Activer dans Labs",
"heteroAgent.apiMode.labDisabled.desc": "Activez-le dans Paramètres → Labs, ou passez cet agent à l'authentification par abonnement.",
"heteroAgent.apiMode.labDisabled.title": "Le mode API Claude Code est une expérimentation Labs",
"heteroAgent.apiMode.localOnly.desc": "Passez l'environnement d'exécution à un appareil local, ou utilisez l'authentification par abonnement.",
"heteroAgent.apiMode.localOnly.title": "Le mode API nécessite une exécution locale sur le bureau",
"heteroAgent.apiMode.modelUnavailable": "Le modèle \"{{providerId}}/{{model}}\" est désactivé ou n'est plus disponible.",
+ "heteroAgent.apiMode.protocolMismatch": "Le fournisseur \"{{providerId}}\" n'expose pas un protocole pris en charge par {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "Le fournisseur \"{{providerId}}\" est désactivé ou n'est plus disponible.",
"heteroAgent.claudeQuota.accountActive": "En cours d'utilisation",
"heteroAgent.claudeQuota.accountSwitch": "Changer",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Mis à jour il y a {{duration}}",
"heteroAgent.quota.updatedJustNow": "Mis à jour à l'instant",
"heteroAgent.quota.weekly": "Hebdomadaire",
+ "heteroAgent.resumeReset.bindingChanged": "La liaison d'authentification a changé. La session locale précédente de l'agent n'a pas pu être reprise en toute sécurité, une nouvelle conversation a donc commencé.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "La session précédente de Cursor n'a pas pu être restaurée via ACP, une nouvelle conversation a donc commencé avec un contexte vierge.",
"heteroAgent.resumeReset.cwdChanged": "Répertoire de travail modifié. La session précédente de Claude Code ne peut être reprise qu’à partir de son répertoire d’origine ; une nouvelle conversation a donc commencé.",
"heteroAgent.resumeReset.resumeFailed": "Le fil Codex enregistré n’a pas pu être repris en toute sécurité, une nouvelle conversation a donc été lancée pour ce sujet.",
diff --git a/locales/fr-FR/labs.json b/locales/fr-FR/labs.json
index b521d0d6758..027d57039eb 100644
--- a/locales/fr-FR/labs.json
+++ b/locales/fr-FR/labs.json
@@ -2,14 +2,14 @@
"description": "Ces fonctionnalités sont expérimentales. Nous pourrions les supprimer, et elles pourraient contenir des bugs. Nous serions ravis de recevoir vos commentaires lors de leur utilisation.",
"features.agentGraphConfig.desc": "Afficher la configuration d'exécution du graphe dans les paramètres avancés du profil de l'agent.",
"features.agentGraphConfig.title": "Configuration d'exécution du graphe de l'agent",
+ "features.agentProviderBinding.desc": "Permettez aux agents locaux pris en charge d'utiliser un fournisseur d'API configuré et un modèle au lieu de leur abonnement. Disponible initialement pour Claude Code et Codex sur l'exécution locale de bureau.",
+ "features.agentProviderBinding.title": "Association du fournisseur d'agent",
"features.agentSelfIteration.desc": "Permet à l’assistant de réfléchir, de développer une conscience de soi et d’itérer en continu à travers des tentatives et des interactions successives.",
"features.agentSelfIteration.title": "Auto‑itération de l’agent",
"features.artifactDeployment.desc": "Publiez des artefacts sur une URL hébergée et gérez les versions depuis la barre latérale de conversation",
"features.artifactDeployment.title": "Déploiements d'artefacts",
"features.assistantMessageGroup.desc": "Regroupez les messages de l'agent et les résultats de leurs appels d'outils pour les afficher ensemble",
"features.assistantMessageGroup.title": "Regroupement des messages de l'agent",
- "features.claudeCodeApiMode.desc": "Permettez à Claude Code d'utiliser un fournisseur d'API configuré et un modèle sur ce bureau au lieu d'un abonnement Claude. Exécution locale uniquement sur le bureau.",
- "features.claudeCodeApiMode.title": "Fournisseur d'API Claude Code",
"features.claudeCodeSdk.desc": "Exécutez des sessions Claude Code via le SDK Claude Agent au lieu de lancer l'interface en ligne de commande. Permet un streaming plus riche et un meilleur contrôle des sessions.",
"features.claudeCodeSdk.title": "Runtime SDK Claude Code",
"features.codexAppServer.desc": "Exécutez des sessions Codex via le serveur d'application local au lieu de processus CLI ponctuels. Permet le streaming de jetons et le contrôle natif des tours.",
diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.json
index c7726cb8498..f175bd7eaea 100644
--- a/locales/fr-FR/setting.json
+++ b/locales/fr-FR/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Modèle",
"heterogeneousStatus.apiMode.modelPlaceholder": "Sélectionnez un modèle",
"heterogeneousStatus.apiMode.noProviders": "Aucun fournisseur activé avec un point de terminaison compatible Anthropic n'est configuré.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Aucun fournisseur activé avec un point de terminaison API Responses explicitement pris en charge n'est configuré.",
"heterogeneousStatus.apiMode.smallFastModel": "Modèle de fond",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Utilisé pour les titres de session, les résumés et autres tâches de fond. Ne modifie pas la conversation principale.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Identique au modèle principal",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Rechercher des membres",
"permission.collaborators.addModal.selectedCount_one": "{{count}} membre sélectionné",
"permission.collaborators.addModal.selectedCount_other": "{{count}} membres sélectionnés",
+ "permission.collaborators.addModal.selectionLimit": "Vous pouvez ajouter jusqu'à {{count}} membres à la fois.",
"permission.collaborators.addModal.title": "Ajouter des collaborateurs",
"permission.collaborators.empty": "Aucun collaborateur pour le moment",
"permission.collaborators.libraryDesc": "Les collaborateurs peuvent ouvrir cette base de connaissances et consulter les fichiers à l'intérieur même lorsque le niveau d'accès est \"Aucun accès\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Ce groupe vous appartient uniquement, il n'y a donc rien à partager pour l'instant. Publiez-le dans un espace de travail pour définir les autorisations des membres.",
"permission.page.groupPersonalTitle": "Les autorisations s'appliquent aux groupes de l'espace de travail.",
"permission.page.groupPrivateNotice": "Ce groupe est encore privé. Tout ce qui est ici prendra effet une fois que vous l'aurez publié dans l'espace de travail.",
+ "permission.page.groupTopicSharePolicyDesc": "Détermine si les membres peuvent publier des liens de partage pour les sujets de ce groupe.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Les membres peuvent publier des liens de partage pour n'importe quel sujet de ce groupe.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Seuls vous et les propriétaires de l'espace de travail pouvez publier des liens de partage pour ce groupe.",
"permission.page.kbAccessibleWhenShared": "Peut accéder lorsqu'elle est partagée",
"permission.page.kbNoAccessWhenShared": "Pas d'accès lorsqu'elle est partagée",
"permission.page.libraryAccessLevelPrivateHint": "Les membres obtiennent ce niveau une fois que la base de connaissances est publiée dans l'espace de travail. Cela peut être modifié après la publication.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Les autorisations s'appliquent aux agents de l'espace de travail",
"permission.page.privateNotice": "Cet agent est encore privé. Tout ce qui est défini ici prendra effet une fois qu'il sera publié dans l'espace de travail.",
"permission.page.title": "Autorisations des membres",
+ "permission.page.topicSharePolicyDesc": "Détermine si les membres peuvent publier des liens de partage pour les sujets de cet agent.",
+ "permission.page.topicSharePolicyMemberDesc": "Les membres peuvent publier des liens de partage pour n'importe quel sujet de cet agent.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Seuls vous et les propriétaires de l'espace de travail pouvez publier des liens de partage.",
"permission.page.usableWhenShared": "Peut être utilisé lorsqu'il est partagé",
"permission.page.viewableWhenShared": "Peut être consultée lorsqu'elle est partagée",
"permission.saveNoEditPermission": "Vous avez un accès en lecture seule à cette page, donc vos modifications n'ont pas été enregistrées",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Étiquette",
"settingAgent.title": "Informations de l’agent",
"settingAgent.toolsConfig.title": "Outils",
+ "settingAgent.topicSharePolicy.membersCanShare": "Les membres peuvent partager",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Créateur et propriétaires uniquement",
+ "settingAgent.topicSharePolicy.title": "Partage de sujets",
"settingAppearance.animationMode.agile": "Rapide",
"settingAppearance.animationMode.desc": "Choisissez la vitesse d’animation des actions de réponse de l’application",
"settingAppearance.animationMode.disabled": "Désactivé",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Seul le propriétaire principal peut supprimer cet espace de travail. Transférez d'abord la propriété principale si nécessaire.",
+ "workspace.permission.topicShareRestricted": "Cet agent permet uniquement à son créateur et aux propriétaires de l'espace de travail de partager des sujets. Demandez-leur si vous avez besoin d'un lien.",
"workspace.personalTag": "Personnel",
"workspace.slugBrandApply.button": "Postuler",
"workspace.slugBrandApply.mailBody": "Bonjour l'équipe LobeHub,\n\nJe souhaite demander l'URL de l'espace de travail \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Marque / organisation que je représente :\n- Site officiel / domaine :\n- Mon rôle dans l'organisation :\n- E-mail de l'organisation (veuillez répondre depuis cette adresse) :\n\nMerci !",
diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.json
index 5581e63a87f..448fd2d59ac 100644
--- a/locales/it-IT/chat.json
+++ b/locales/it-IT/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Cerca modelli...",
"groupWizard.title": "Crea Gruppo",
"groupWizard.useTemplate": "Usa Modello",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} non supporta il binding del provider LobeHub.",
"heteroAgent.apiMode.configMissing": "La modalità API di Claude Code richiede un provider e un modello associato. Apri il profilo dell'agente per configurarlo.",
+ "heteroAgent.apiMode.credentialUnsupported": "Il provider \"{{providerId}}\" utilizza un metodo di autenticazione che questo agente non supporta.",
+ "heteroAgent.apiMode.credentialsMissing": "Il provider \"{{providerId}}\" non ha configurato alcuna chiave API.",
+ "heteroAgent.apiMode.endpointMissing": "Il provider \"{{providerId}}\" richiede un URL di base per questo agente.",
+ "heteroAgent.apiMode.endpointUnsupported": "Il provider \"{{providerId}}\" ha un URL di base non supportato.",
"heteroAgent.apiMode.labDisabled.action": "Abilita nei Labs",
"heteroAgent.apiMode.labDisabled.desc": "Attivalo in Impostazioni → Labs, oppure passa questo agente all'autenticazione tramite Abbonamento.",
"heteroAgent.apiMode.labDisabled.title": "La modalità API di Claude Code è un esperimento dei Labs",
"heteroAgent.apiMode.localOnly.desc": "Passa l'ambiente di esecuzione al dispositivo Locale, oppure utilizza l'autenticazione tramite Abbonamento.",
"heteroAgent.apiMode.localOnly.title": "La modalità API richiede l'esecuzione locale su Desktop",
"heteroAgent.apiMode.modelUnavailable": "Il modello \"{{providerId}}/{{model}}\" è disabilitato o non più disponibile.",
+ "heteroAgent.apiMode.protocolMismatch": "Il provider \"{{providerId}}\" non espone un protocollo supportato da {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "Il provider \"{{providerId}}\" è disabilitato o non più disponibile.",
"heteroAgent.claudeQuota.accountActive": "In uso",
"heteroAgent.claudeQuota.accountSwitch": "Cambia",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Aggiornato {{duration}} fa",
"heteroAgent.quota.updatedJustNow": "Appena aggiornato",
"heteroAgent.quota.weekly": "Settimanale",
+ "heteroAgent.resumeReset.bindingChanged": "Il binding di autenticazione è cambiato. La precedente sessione dell'agente locale non può essere ripresa in modo sicuro, quindi è iniziata una nuova conversazione.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "La sessione precedente di Cursor non può essere ripristinata tramite ACP, quindi è iniziata una nuova conversazione con un contesto aggiornato.",
"heteroAgent.resumeReset.cwdChanged": "La directory di lavoro è stata modificata. Una sessione precedente di Claude Code può essere ripristinata solo dalla directory originale, quindi è iniziata una nuova conversazione.",
"heteroAgent.resumeReset.resumeFailed": "Il thread Codex salvato non può essere ripristinato in modo sicuro, quindi è stata avviata una nuova conversazione per questo argomento.",
diff --git a/locales/it-IT/labs.json b/locales/it-IT/labs.json
index 2ba7cfdd63d..510f4ad2b61 100644
--- a/locales/it-IT/labs.json
+++ b/locales/it-IT/labs.json
@@ -2,14 +2,14 @@
"description": "Queste funzionalità sono sperimentali. Potremmo rimuoverle e potrebbero contenere bug. Ci piacerebbe ricevere il tuo feedback mentre le utilizzi.",
"features.agentGraphConfig.desc": "Mostra la configurazione runtime del grafico nelle impostazioni avanzate del profilo agente.",
"features.agentGraphConfig.title": "Configurazione Runtime Grafico Agente",
+ "features.agentProviderBinding.desc": "Consenti agli agenti locali supportati di utilizzare un provider API configurato e un modello invece del loro abbonamento. Disponibile inizialmente per Claude Code e Codex su esecuzione locale desktop.",
+ "features.agentProviderBinding.title": "Associazione del Provider dell'Agente",
"features.agentSelfIteration.desc": "Consenti all'assistente di riflettere, sviluppare autoconsapevolezza e iterare continuamente attraverso tentativi e interazioni continui.",
"features.agentSelfIteration.title": "Auto-iterazione dell'agente",
"features.artifactDeployment.desc": "Pubblica artefatti su un URL ospitato e gestisci le versioni dalla barra laterale della conversazione",
"features.artifactDeployment.title": "Distribuzioni di Artefatti",
"features.assistantMessageGroup.desc": "Raggruppa i messaggi dell'agente e i risultati delle chiamate agli strumenti per una visualizzazione unificata",
"features.assistantMessageGroup.title": "Raggruppamento Messaggi Agente",
- "features.claudeCodeApiMode.desc": "Consenti a Claude Code di utilizzare un provider API e un modello configurati su questo desktop invece di un abbonamento Claude. Esecuzione locale solo su desktop.",
- "features.claudeCodeApiMode.title": "Provider API di Claude Code",
"features.claudeCodeSdk.desc": "Esegui sessioni Claude Code tramite il Claude Agent SDK invece di avviare il CLI. Consente uno streaming più ricco e un controllo delle sessioni più avanzato.",
"features.claudeCodeSdk.title": "Runtime SDK di Claude Code",
"features.codexAppServer.desc": "Esegui sessioni Codex tramite il server dell'app locale invece di processi CLI one-shot. Abilita lo streaming di token e il controllo nativo dei turni.",
diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.json
index 727a2fc3900..10ad3e86012 100644
--- a/locales/it-IT/setting.json
+++ b/locales/it-IT/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Modello",
"heterogeneousStatus.apiMode.modelPlaceholder": "Seleziona un modello",
"heterogeneousStatus.apiMode.noProviders": "Nessun provider abilitato con un endpoint compatibile con Anthropic è configurato.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Nessun provider abilitato con un endpoint API di Risposte esplicitamente supportato è configurato.",
"heterogeneousStatus.apiMode.smallFastModel": "Modello di background",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Utilizzato per i titoli delle sessioni, i riassunti e altri lavori di background. Non modifica la conversazione principale.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Uguale al modello principale",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Cerca membri",
"permission.collaborators.addModal.selectedCount_one": "{{count}} membro selezionato",
"permission.collaborators.addModal.selectedCount_other": "{{count}} membri selezionati",
+ "permission.collaborators.addModal.selectionLimit": "Puoi aggiungere fino a {{count}} membri alla volta",
"permission.collaborators.addModal.title": "Aggiungi collaboratori",
"permission.collaborators.empty": "Nessun collaboratore presente",
"permission.collaborators.libraryDesc": "I collaboratori possono aprire questa base di conoscenza e visualizzare i file al suo interno anche quando il livello di accesso è \"Nessun accesso\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Questo gruppo appartiene solo a te, quindi non c'è ancora nulla da condividere. Pubblicalo in uno spazio di lavoro per impostare i permessi dei membri.",
"permission.page.groupPersonalTitle": "I permessi si applicano ai gruppi dello spazio di lavoro.",
"permission.page.groupPrivateNotice": "Questo gruppo è ancora privato. Tutto ciò che è qui avrà effetto una volta che lo pubblichi nello spazio di lavoro.",
+ "permission.page.groupTopicSharePolicyDesc": "Se i membri possono pubblicare link di condivisione per gli argomenti di questo gruppo.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "I membri possono pubblicare link di condivisione per qualsiasi argomento di questo gruppo",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Solo tu e i proprietari dello spazio di lavoro potete pubblicare link di condivisione per questo gruppo",
"permission.page.kbAccessibleWhenShared": "Può accedere quando condiviso",
"permission.page.kbNoAccessWhenShared": "Nessun accesso quando condiviso",
"permission.page.libraryAccessLevelPrivateHint": "I membri ottengono questo livello una volta che la base di conoscenza è pubblicata nello spazio di lavoro. Può essere modificato dopo la pubblicazione.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "I permessi si applicano agli agenti dello spazio di lavoro",
"permission.page.privateNotice": "Questo agente è ancora privato. Tutto ciò che è qui avrà effetto una volta che lo pubblichi nello spazio di lavoro.",
"permission.page.title": "Permessi dei membri",
+ "permission.page.topicSharePolicyDesc": "Se i membri possono pubblicare link di condivisione per gli argomenti di questo agente.",
+ "permission.page.topicSharePolicyMemberDesc": "I membri possono pubblicare link di condivisione per qualsiasi argomento di questo agente",
+ "permission.page.topicSharePolicyRestrictedDesc": "Solo tu e i proprietari dello spazio di lavoro potete pubblicare link di condivisione",
"permission.page.usableWhenShared": "Utilizzabile quando condiviso",
"permission.page.viewableWhenShared": "Può visualizzare quando condiviso",
"permission.saveNoEditPermission": "Hai accesso in sola visualizzazione a questa pagina, quindi le tue modifiche non sono state salvate",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Tag",
"settingAgent.title": "Informazioni Agente",
"settingAgent.toolsConfig.title": "Strumenti",
+ "settingAgent.topicSharePolicy.membersCanShare": "I membri possono condividere",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Solo il creatore e i proprietari",
+ "settingAgent.topicSharePolicy.title": "Condivisione degli argomenti",
"settingAppearance.animationMode.agile": "Agile",
"settingAppearance.animationMode.desc": "Seleziona la velocità dell'animazione per le azioni di risposta dell'applicazione",
"settingAppearance.animationMode.disabled": "Disattivato",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Solo il proprietario principale può eliminare questo workspace. Trasferisci prima la proprietà principale, se necessario.",
+ "workspace.permission.topicShareRestricted": "Questo agente consente solo al suo creatore e ai proprietari dello spazio di lavoro di condividere argomenti. Chiedi loro se hai bisogno di un link.",
"workspace.personalTag": "Personale",
"workspace.slugBrandApply.button": "Richiedi",
"workspace.slugBrandApply.mailBody": "Ciao team di LobeHub,\n\nVorrei richiedere l'URL del workspace \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Brand / organizzazione che rappresento:\n- Sito web ufficiale / dominio:\n- Il mio ruolo nell'organizzazione:\n- Email dell'organizzazione (si prega di rispondere da questo indirizzo):\n\nGrazie!",
diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.json
index 676fdc1b9d0..eaed17d8fd9 100644
--- a/locales/ja-JP/chat.json
+++ b/locales/ja-JP/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "テンプレートを検索…",
"groupWizard.title": "グループを作成",
"groupWizard.useTemplate": "テンプレートを使用",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} は LobeHub プロバイダーのバインディングをサポートしていません。",
"heteroAgent.apiMode.configMissing": "Claude Code APIモードにはプロバイダーとモデルのバインディングが必要です。エージェントプロファイルを開いて設定してください。",
+ "heteroAgent.apiMode.credentialUnsupported": "プロバイダー \"{{providerId}}\" は、このエージェントがサポートしていない認証方法を使用しています。",
+ "heteroAgent.apiMode.credentialsMissing": "プロバイダー \"{{providerId}}\" に API キーが設定されていません。",
+ "heteroAgent.apiMode.endpointMissing": "プロバイダー \"{{providerId}}\" には、このエージェントに必要なベース URL がありません。",
+ "heteroAgent.apiMode.endpointUnsupported": "プロバイダー \"{{providerId}}\" にはサポートされていないベース URL があります。",
"heteroAgent.apiMode.labDisabled.action": "ラボで有効化",
"heteroAgent.apiMode.labDisabled.desc": "設定 → ラボで有効にするか、このエージェントをサブスクリプション認証に切り替えてください。",
"heteroAgent.apiMode.labDisabled.title": "Claude Code APIモードはラボの実験機能です",
"heteroAgent.apiMode.localOnly.desc": "実行環境をローカルデバイスに切り替えるか、サブスクリプション認証を使用してください。",
"heteroAgent.apiMode.localOnly.title": "APIモードにはデスクトップのローカル実行が必要です",
"heteroAgent.apiMode.modelUnavailable": "モデル「{{providerId}}/{{model}}」は無効化されているか、利用できなくなっています。",
+ "heteroAgent.apiMode.protocolMismatch": "プロバイダー \"{{providerId}}\" は {{agentType}} がサポートするプロトコルを公開していません。",
"heteroAgent.apiMode.providerUnavailable": "プロバイダー「{{providerId}}」は無効化されているか、利用できなくなっています。",
"heteroAgent.claudeQuota.accountActive": "使用中",
"heteroAgent.claudeQuota.accountSwitch": "切り替え",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "{{duration}}前に更新",
"heteroAgent.quota.updatedJustNow": "今更新されました",
"heteroAgent.quota.weekly": "週次",
+ "heteroAgent.resumeReset.bindingChanged": "認証バインディングが変更されました。以前のローカルエージェントセッションは安全に再開できなかったため、新しい会話が開始されました。",
"heteroAgent.resumeReset.cursorAcpIncompatible": "以前のカーソルセッションはACPを通じて復元できなかったため、新しいコンテキストで新しい会話が開始されました。",
"heteroAgent.resumeReset.cwdChanged": "作業ディレクトリが変更されました。以前の Claude Code セッションは元のディレクトリからのみ再開できるため、新しい会話が開始されました。",
"heteroAgent.resumeReset.resumeFailed": "保存されていた Codex スレッドを安全に再開できなかったため、このトピックに対して新しい会話が開始されました。",
diff --git a/locales/ja-JP/labs.json b/locales/ja-JP/labs.json
index 8e2725f112c..39e82ad817a 100644
--- a/locales/ja-JP/labs.json
+++ b/locales/ja-JP/labs.json
@@ -2,14 +2,14 @@
"description": "これらの機能は実験的なものです。削除される可能性があり、バグが含まれている場合があります。ご利用中のフィードバックをぜひお寄せください。",
"features.agentGraphConfig.desc": "エージェントプロファイルの詳細設定でグラフの実行時設定を表示します。",
"features.agentGraphConfig.title": "エージェントグラフ実行時設定",
+ "features.agentProviderBinding.desc": "サポートされているローカルエージェントが、サブスクリプションの代わりに設定されたAPIプロバイダーとモデルを使用できるようにします。現在、Claude CodeとCodexのデスクトップローカル実行で利用可能です。",
+ "features.agentProviderBinding.title": "エージェントプロバイダーバインディング",
"features.agentSelfIteration.desc": "アシスタントが振り返りを行い、自己認識を深め、継続的な試行と対話を通じて自律的に改善を重ねられるようにします。",
"features.agentSelfIteration.title": "エージェントの自己反復",
"features.artifactDeployment.desc": "アーティファクトをホストされたURLに公開し、会話サイドバーからリリースを管理します",
"features.artifactDeployment.title": "アーティファクトデプロイメント",
"features.assistantMessageGroup.desc": "アシスタントのメッセージとそのツール呼び出し結果をグループ化して表示します",
"features.assistantMessageGroup.title": "アシスタントメッセージのグループ化表示",
- "features.claudeCodeApiMode.desc": "Claude Codeがこのデスクトップ上でClaudeサブスクリプションの代わりに、設定されたAPIプロバイダーとモデルを使用するようにします。デスクトップでのローカル実行のみ。",
- "features.claudeCodeApiMode.title": "Claude Code APIプロバイダー",
"features.claudeCodeSdk.desc": "Claude Agent SDKを使用してClaude Codeセッションを実行し、CLIを起動する代わりに利用します。より豊かなストリーミングとセッション管理を可能にします。",
"features.claudeCodeSdk.title": "Claude Code SDKランタイム",
"features.codexAppServer.desc": "CodexセッションをワンショットCLIプロセスではなく、ローカルのアプリサーバーを通じて実行します。トークンストリーミングとネイティブターン制御を可能にします。",
diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.json
index 37b51236655..4ce25a19228 100644
--- a/locales/ja-JP/setting.json
+++ b/locales/ja-JP/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "モデル",
"heterogeneousStatus.apiMode.modelPlaceholder": "モデルを選択",
"heterogeneousStatus.apiMode.noProviders": "Anthropic互換のエンドポイントを持つ有効なプロバイダーが設定されていません。",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "明示的にResponses APIエンドポイントをサポートする有効なプロバイダーが構成されていません。",
"heterogeneousStatus.apiMode.smallFastModel": "バックグラウンドモデル",
"heterogeneousStatus.apiMode.smallFastModelDesc": "セッションタイトル、要約、その他のバックグラウンド作業に使用されます。メインの会話には影響しません。",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "メインモデルと同じ",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "メンバーを検索",
"permission.collaborators.addModal.selectedCount_one": "{{count}} 人のメンバーが選択されました",
"permission.collaborators.addModal.selectedCount_other": "{{count}} 人のメンバーが選択されました",
+ "permission.collaborators.addModal.selectionLimit": "一度に最大{{count}}人のメンバーを追加できます。",
"permission.collaborators.addModal.title": "共同作業者を追加",
"permission.collaborators.empty": "共同作業者がまだいません",
"permission.collaborators.libraryDesc": "共同作業者は、このナレッジベースを開いて、アクセスレベルが「アクセス不可」の場合でも中のファイルを閲覧できます",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "このグループはあなた専用のものなので、まだ共有するものはありません。メンバーの権限を設定するには、ワークスペースに公開してください。",
"permission.page.groupPersonalTitle": "権限はワークスペースグループに適用されます",
"permission.page.groupPrivateNotice": "このグループはまだ非公開です。ここでの設定は、ワークスペースに公開されると有効になります。",
+ "permission.page.groupTopicSharePolicyDesc": "このグループのトピックに対してメンバーが共有リンクを公開できるかどうか。",
+ "permission.page.groupTopicSharePolicyMemberDesc": "メンバーはこのグループの任意のトピックに対して共有リンクを公開できます。",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "あなただけとワークスペースの所有者だけがこのグループの共有リンクを公開できます。",
"permission.page.kbAccessibleWhenShared": "共有時にアクセス可能",
"permission.page.kbNoAccessWhenShared": "共有時にアクセス不可",
"permission.page.libraryAccessLevelPrivateHint": "メンバーはナレッジベースがワークスペースに公開されるとこのレベルを取得します。公開後に変更することができます。",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "権限はワークスペースエージェントに適用されます",
"permission.page.privateNotice": "このエージェントはまだ非公開です。ここでの設定は、ワークスペースに公開されると有効になります。",
"permission.page.title": "メンバー権限",
+ "permission.page.topicSharePolicyDesc": "このエージェントのトピックに対してメンバーが共有リンクを公開できるかどうか。",
+ "permission.page.topicSharePolicyMemberDesc": "メンバーはこのエージェントの任意のトピックに対して共有リンクを公開できます。",
+ "permission.page.topicSharePolicyRestrictedDesc": "あなただけとワークスペースの所有者だけが共有リンクを公開できます。",
"permission.page.usableWhenShared": "共有時に使用可能",
"permission.page.viewableWhenShared": "共有時に閲覧可能",
"permission.saveNoEditPermission": "このページには閲覧専用アクセス権しかないため、変更は保存されませんでした",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "タグ",
"settingAgent.title": "アシスタント情報",
"settingAgent.toolsConfig.title": "ツール",
+ "settingAgent.topicSharePolicy.membersCanShare": "メンバーが共有可能",
+ "settingAgent.topicSharePolicy.membersCannotShare": "作成者と所有者のみ",
+ "settingAgent.topicSharePolicy.title": "トピック共有",
"settingAppearance.animationMode.agile": "敏捷",
"settingAppearance.animationMode.desc": "アプリケーションの操作応答のアニメーション速度を選択します",
"settingAppearance.animationMode.disabled": "オフ",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "これを行う権限がありません。ワークスペースのオーナーにメンバー以上の権限を付与するよう依頼してください。",
"workspace.permission.requiresOwner": "ワークスペースのオーナーのみがこれを行うことができます。必要に応じてオーナーに依頼してください。",
"workspace.permission.requiresPrimaryOwner": "プライマリオーナーのみがこのワークスペースを削除できます。必要に応じてプライマリオーナーシップを移譲してください。",
+ "workspace.permission.topicShareRestricted": "このエージェントでは、作成者とワークスペースの所有者のみがトピックを共有できます。リンクが必要な場合は、彼らに依頼してください。",
"workspace.personalTag": "個人用",
"workspace.slugBrandApply.button": "申請",
"workspace.slugBrandApply.mailBody": "LobeHubチームの皆様\n\nワークスペースURL「{{slug}}」(https://lobehub.com/{{slug}})をリクエストしたいです。\n\n- 代表するブランド/組織:\n- 公式ウェブサイト/ドメイン:\n- 組織内での役割:\n- 組織のメールアドレス(このアドレスから返信してください):\n\nよろしくお願いします!",
diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.json
index 63a9bc6af49..b9389d8b1da 100644
--- a/locales/ko-KR/chat.json
+++ b/locales/ko-KR/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "템플릿 검색…",
"groupWizard.title": "그룹 만들기",
"groupWizard.useTemplate": "템플릿 사용",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}}는 LobeHub 제공자 바인딩을 지원하지 않습니다.",
"heteroAgent.apiMode.configMissing": "Claude Code API 모드는 공급자 및 모델 바인딩이 필요합니다. 에이전트 프로필을 열어 구성하세요.",
+ "heteroAgent.apiMode.credentialUnsupported": "제공자 \"{{providerId}}\"는 이 에이전트가 지원하지 않는 인증 방식을 사용합니다.",
+ "heteroAgent.apiMode.credentialsMissing": "제공자 \"{{providerId}}\"에 API 키가 구성되어 있지 않습니다.",
+ "heteroAgent.apiMode.endpointMissing": "제공자 \"{{providerId}}\"는 이 에이전트에 대한 기본 URL이 필요합니다.",
+ "heteroAgent.apiMode.endpointUnsupported": "제공자 \"{{providerId}}\"는 지원되지 않는 기본 URL을 가지고 있습니다.",
"heteroAgent.apiMode.labDisabled.action": "랩에서 활성화",
"heteroAgent.apiMode.labDisabled.desc": "설정 → 랩에서 활성화하거나, 이 에이전트를 구독 인증으로 전환하세요.",
"heteroAgent.apiMode.labDisabled.title": "Claude Code API 모드는 랩 실험입니다",
"heteroAgent.apiMode.localOnly.desc": "실행 환경을 로컬 장치로 전환하거나 구독 인증을 사용하세요.",
"heteroAgent.apiMode.localOnly.title": "API 모드는 데스크톱 로컬 실행이 필요합니다",
"heteroAgent.apiMode.modelUnavailable": "모델 \"{{providerId}}/{{model}}\"이(가) 비활성화되었거나 더 이상 사용할 수 없습니다.",
+ "heteroAgent.apiMode.protocolMismatch": "제공자 \"{{providerId}}\"는 {{agentType}}가 지원하는 프로토콜을 제공하지 않습니다.",
"heteroAgent.apiMode.providerUnavailable": "공급자 \"{{providerId}}\"이(가) 비활성화되었거나 더 이상 사용할 수 없습니다.",
"heteroAgent.claudeQuota.accountActive": "사용 중",
"heteroAgent.claudeQuota.accountSwitch": "전환",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "{{duration}} 전에 업데이트됨",
"heteroAgent.quota.updatedJustNow": "방금 업데이트됨",
"heteroAgent.quota.weekly": "주간",
+ "heteroAgent.resumeReset.bindingChanged": "인증 바인딩이 변경되었습니다. 이전 로컬 에이전트 세션을 안전하게 재개할 수 없으므로 새 대화가 시작되었습니다.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "이전 Cursor 세션을 ACP를 통해 복원할 수 없어서 새 대화가 새 컨텍스트로 시작되었습니다.",
"heteroAgent.resumeReset.cwdChanged": "작업 디렉터리가 변경되었습니다. 이전 Claude Code 세션은 원래 디렉터리에서만 재개할 수 있으므로 새 대화가 시작되었습니다.",
"heteroAgent.resumeReset.resumeFailed": "저장된 Codex 스레드를 안전하게 복원할 수 없어 이 주제에 대한 새 대화가 시작되었습니다.",
diff --git a/locales/ko-KR/labs.json b/locales/ko-KR/labs.json
index 784f7ef7ccb..7f9fd284e2b 100644
--- a/locales/ko-KR/labs.json
+++ b/locales/ko-KR/labs.json
@@ -2,14 +2,14 @@
"description": "이 기능들은 실험적입니다. 제거될 수 있으며, 버그가 있을 수 있습니다. 사용 중에 의견을 보내주시면 감사하겠습니다.",
"features.agentGraphConfig.desc": "에이전트 프로필 고급 설정에서 그래프 런타임 구성을 표시합니다.",
"features.agentGraphConfig.title": "에이전트 그래프 런타임 구성",
+ "features.agentProviderBinding.desc": "지원되는 로컬 에이전트가 구독 대신 구성된 API 제공자와 모델을 사용할 수 있도록 합니다. 초기에는 Claude Code와 Codex의 데스크톱 로컬 실행에서 제공됩니다.",
+ "features.agentProviderBinding.title": "에이전트 제공자 바인딩",
"features.agentSelfIteration.desc": "어시스턴트가 스스로를 성찰하고 자기 인식을 구축하며, 지속적인 시도와 상호작용을 통해 계속해서 발전할 수 있도록 합니다.",
"features.agentSelfIteration.title": "에이전트 자기 반복",
"features.artifactDeployment.desc": "아티팩트를 호스팅된 URL에 게시하고 대화 사이드바에서 릴리스를 관리합니다",
"features.artifactDeployment.title": "아티팩트 배포",
"features.assistantMessageGroup.desc": "도우미 메시지와 해당 도구 호출 결과를 그룹으로 묶어 표시합니다",
"features.assistantMessageGroup.title": "도우미 메시지 그룹화",
- "features.claudeCodeApiMode.desc": "Claude Code가 Claude 구독 대신 이 데스크톱에서 구성된 API 제공자와 모델을 사용하도록 합니다. 데스크톱 로컬 실행 전용입니다.",
- "features.claudeCodeApiMode.title": "Claude Code API 제공자",
"features.claudeCodeSdk.desc": "Claude Agent SDK를 통해 Claude Code 세션을 실행하여 CLI를 생성하는 대신 사용합니다. 더 풍부한 스트리밍과 세션 제어를 가능하게 합니다.",
"features.claudeCodeSdk.title": "Claude Code SDK 런타임",
"features.codexAppServer.desc": "Codex 세션을 단발성 CLI 프로세스 대신 로컬 앱 서버를 통해 실행합니다. 토큰 스트리밍과 네이티브 턴 제어를 활성화합니다.",
diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.json
index 4d3a47d64b8..9aedda94d50 100644
--- a/locales/ko-KR/setting.json
+++ b/locales/ko-KR/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "모델",
"heterogeneousStatus.apiMode.modelPlaceholder": "모델 선택",
"heterogeneousStatus.apiMode.noProviders": "Anthropic 호환 엔드포인트를 가진 활성화된 제공자가 구성되지 않았습니다.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "응답 API 엔드포인트를 명시적으로 지원하는 활성화된 제공자가 구성되어 있지 않습니다.",
"heterogeneousStatus.apiMode.smallFastModel": "백그라운드 모델",
"heterogeneousStatus.apiMode.smallFastModelDesc": "세션 제목, 요약 및 기타 백그라운드 작업에 사용됩니다. 주요 대화에는 영향을 주지 않습니다.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "기본 모델과 동일",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "멤버 검색",
"permission.collaborators.addModal.selectedCount_one": "{{count}}명의 멤버 선택됨",
"permission.collaborators.addModal.selectedCount_other": "{{count}}명의 멤버 선택됨",
+ "permission.collaborators.addModal.selectionLimit": "한 번에 최대 {{count}}명의 멤버를 추가할 수 있습니다.",
"permission.collaborators.addModal.title": "협력자 추가",
"permission.collaborators.empty": "아직 협력자가 없습니다",
"permission.collaborators.libraryDesc": "협력자는 이 지식 베이스를 열어 내부 파일을 볼 수 있으며, 접근 수준이 \"접근 불가\"로 설정되어 있어도 가능합니다.",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "이 그룹은 오직 당신만의 것이므로 아직 공유할 것이 없습니다. 워크스페이스에 게시하여 멤버 권한을 설정하세요.",
"permission.page.groupPersonalTitle": "권한은 워크스페이스 그룹에 적용됩니다.",
"permission.page.groupPrivateNotice": "이 그룹은 아직 비공개 상태입니다. 여기에서 설정한 모든 것이 워크스페이스에 게시되면 적용됩니다.",
+ "permission.page.groupTopicSharePolicyDesc": "이 그룹의 주제에 대해 멤버가 공유 링크를 게시할 수 있는지 여부입니다.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "멤버는 이 그룹의 모든 주제에 대해 공유 링크를 게시할 수 있습니다.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "이 그룹에 대해 공유 링크를 게시할 수 있는 사람은 당신과 워크스페이스 소유자뿐입니다.",
"permission.page.kbAccessibleWhenShared": "공유 시 접근 가능",
"permission.page.kbNoAccessWhenShared": "공유 시 접근 불가",
"permission.page.libraryAccessLevelPrivateHint": "멤버는 지식 베이스가 워크스페이스에 게시되면 이 수준을 받습니다. 게시 후 변경할 수 있습니다.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "권한은 워크스페이스 에이전트에 적용됩니다.",
"permission.page.privateNotice": "이 에이전트는 아직 비공개 상태입니다. 여기에서 설정한 모든 내용은 워크스페이스에 게시한 후에 적용됩니다.",
"permission.page.title": "멤버 권한",
+ "permission.page.topicSharePolicyDesc": "이 에이전트의 주제에 대해 멤버가 공유 링크를 게시할 수 있는지 여부입니다.",
+ "permission.page.topicSharePolicyMemberDesc": "멤버는 이 에이전트의 모든 주제에 대해 공유 링크를 게시할 수 있습니다.",
+ "permission.page.topicSharePolicyRestrictedDesc": "공유 링크를 게시할 수 있는 사람은 당신과 워크스페이스 소유자뿐입니다.",
"permission.page.usableWhenShared": "공유 시 사용 가능",
"permission.page.viewableWhenShared": "공유 시 열람 가능",
"permission.saveNoEditPermission": "이 페이지에 대한 보기 전용 권한만 있으므로 변경 사항이 저장되지 않았습니다",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "태그",
"settingAgent.title": "도우미 정보",
"settingAgent.toolsConfig.title": "도구",
+ "settingAgent.topicSharePolicy.membersCanShare": "멤버가 공유할 수 있습니다.",
+ "settingAgent.topicSharePolicy.membersCannotShare": "생성자와 소유자만 가능합니다.",
+ "settingAgent.topicSharePolicy.title": "주제 공유",
"settingAppearance.animationMode.agile": "민첩",
"settingAppearance.animationMode.desc": "앱의 반응 애니메이션 속도를 선택하세요",
"settingAppearance.animationMode.disabled": "비활성화",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "이 작업을 수행할 권한이 없습니다. 워크스페이스 소유자에게 멤버 이상의 권한을 요청하세요.",
"workspace.permission.requiresOwner": "워크스페이스 소유자만 이 작업을 수행할 수 있습니다. 변경이 필요하면 소유자에게 요청하세요.",
"workspace.permission.requiresPrimaryOwner": "주 소유자만 이 워크스페이스를 삭제할 수 있습니다. 필요하면 먼저 주 소유권을 이전하세요.",
+ "workspace.permission.topicShareRestricted": "이 에이전트는 생성자와 워크스페이스 소유자만 주제를 공유할 수 있습니다. 링크가 필요하면 그들에게 요청하세요.",
"workspace.personalTag": "개인",
"workspace.slugBrandApply.button": "신청",
"workspace.slugBrandApply.mailBody": "안녕하세요 LobeHub 팀,\n\n워크스페이스 URL \"{{slug}}\" (https://lobehub.com/{{slug}})을 요청하고 싶습니다.\n\n- 제가 대표하는 브랜드 / 조직:\n- 공식 웹사이트 / 도메인:\n- 조직에서의 제 역할:\n- 조직 이메일 (이 주소에서 답변해주세요):\n\n감사합니다!",
diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.json
index 52a3c062efb..0ef62dcbea8 100644
--- a/locales/nl-NL/chat.json
+++ b/locales/nl-NL/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Sjablonen zoeken...",
"groupWizard.title": "Groep aanmaken",
"groupWizard.useTemplate": "Sjabloon gebruiken",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} ondersteunt geen LobeHub Provider-binding.",
"heteroAgent.apiMode.configMissing": "Claude Code API-modus vereist een provider en modelbinding. Open het agentprofiel om dit te configureren.",
+ "heteroAgent.apiMode.credentialUnsupported": "De provider \"{{providerId}}\" gebruikt een authenticatiemethode die deze agent niet ondersteunt.",
+ "heteroAgent.apiMode.credentialsMissing": "De provider \"{{providerId}}\" heeft geen API-sleutel geconfigureerd.",
+ "heteroAgent.apiMode.endpointMissing": "De provider \"{{providerId}}\" vereist een basis-URL voor deze agent.",
+ "heteroAgent.apiMode.endpointUnsupported": "De provider \"{{providerId}}\" heeft een niet-ondersteunde basis-URL.",
"heteroAgent.apiMode.labDisabled.action": "Inschakelen in Labs",
"heteroAgent.apiMode.labDisabled.desc": "Schakel het in via Instellingen → Labs, of schakel deze agent over naar authenticatie via Abonnement.",
"heteroAgent.apiMode.labDisabled.title": "Claude Code API-modus is een Labs-experiment",
"heteroAgent.apiMode.localOnly.desc": "Schakel de uitvoeringsomgeving over naar Lokale apparaat, of gebruik authenticatie via Abonnement.",
"heteroAgent.apiMode.localOnly.title": "API-modus vereist lokale uitvoering op Desktop",
"heteroAgent.apiMode.modelUnavailable": "Het model \"{{providerId}}/{{model}}\" is uitgeschakeld of niet langer beschikbaar.",
+ "heteroAgent.apiMode.protocolMismatch": "De provider \"{{providerId}}\" biedt geen protocol dat wordt ondersteund door {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "De provider \"{{providerId}}\" is uitgeschakeld of niet langer beschikbaar.",
"heteroAgent.claudeQuota.accountActive": "In gebruik",
"heteroAgent.claudeQuota.accountSwitch": "Wisselen",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "{{duration}} geleden bijgewerkt",
"heteroAgent.quota.updatedJustNow": "Zojuist bijgewerkt",
"heteroAgent.quota.weekly": "Wekelijks",
+ "heteroAgent.resumeReset.bindingChanged": "Authenticatiebinding gewijzigd. De vorige lokale agentsessie kon niet veilig worden hervat, dus er is een nieuw gesprek gestart.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "De vorige Cursor-sessie kon niet worden hersteld via ACP, dus er is een nieuw gesprek gestart met een frisse context.",
"heteroAgent.resumeReset.cwdChanged": "Werkmap gewijzigd. De vorige Claude Code-sessie kan alleen worden hervat vanuit de oorspronkelijke map, dus er is een nieuw gesprek gestart.",
"heteroAgent.resumeReset.resumeFailed": "De opgeslagen Codex-thread kon niet veilig worden hervat, dus is een nieuw gesprek gestart voor dit onderwerp.",
diff --git a/locales/nl-NL/labs.json b/locales/nl-NL/labs.json
index 867f0acb56a..7195ce7fc60 100644
--- a/locales/nl-NL/labs.json
+++ b/locales/nl-NL/labs.json
@@ -2,14 +2,14 @@
"description": "Deze functies zijn experimenteel. We kunnen ze verwijderen en ze kunnen bugs bevatten. We horen graag uw feedback tijdens het gebruik ervan.",
"features.agentGraphConfig.desc": "Toon grafiek runtime-configuratie in de geavanceerde instellingen van een agentprofiel.",
"features.agentGraphConfig.title": "Agent Grafiek Runtime-configuratie",
+ "features.agentProviderBinding.desc": "Laat ondersteunde lokale agents een geconfigureerde API-provider en model gebruiken in plaats van hun abonnement. Aanvankelijk beschikbaar voor Claude Code en Codex bij lokale uitvoering op desktop.",
+ "features.agentProviderBinding.title": "Agent Provider Binding",
"features.agentSelfIteration.desc": "De assistent kan hierdoor reflecteren, zelfinzicht opbouwen en zich continu blijven verbeteren via aanhoudende pogingen en interacties.",
"features.agentSelfIteration.title": "Agent-zelfiteratie",
"features.artifactDeployment.desc": "Publiceer artefacten naar een gehoste URL en beheer releases vanuit de zijbalk van het gesprek",
"features.artifactDeployment.title": "Artefactimplementaties",
"features.assistantMessageGroup.desc": "Groepeer berichten van de agent en de resultaten van hun tool-aanroepen samen voor weergave",
"features.assistantMessageGroup.title": "Agentberichtengroepering",
- "features.claudeCodeApiMode.desc": "Laat Claude Code een geconfigureerde API-provider en model op deze desktop gebruiken in plaats van een Claude-abonnement. Alleen lokale uitvoering op desktop.",
- "features.claudeCodeApiMode.title": "Claude Code API-provider",
"features.claudeCodeSdk.desc": "Voer Claude Code-sessies uit via de Claude Agent SDK in plaats van de CLI te starten. Biedt rijkere streaming en sessiebeheer.",
"features.claudeCodeSdk.title": "Claude Code SDK Runtime",
"features.codexAppServer.desc": "Voer Codex-sessies uit via de lokale app-server in plaats van eenmalige CLI-processen. Hiermee wordt tokenstreaming en native beurtcontrole mogelijk gemaakt.",
diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.json
index d5586fbdd5f..764fec84150 100644
--- a/locales/nl-NL/setting.json
+++ b/locales/nl-NL/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Model",
"heterogeneousStatus.apiMode.modelPlaceholder": "Selecteer een model",
"heterogeneousStatus.apiMode.noProviders": "Er is geen ingeschakelde provider met een Anthropic-compatibele endpoint geconfigureerd.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Er is geen ingeschakelde provider geconfigureerd met een expliciet ondersteund Responses API-eindpunt.",
"heterogeneousStatus.apiMode.smallFastModel": "Achtergrondmodel",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Wordt gebruikt voor sessietitels, samenvattingen en ander achtergrondwerk. Verandert het hoofdgesprek niet.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Zelfde als primair model",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Zoek leden",
"permission.collaborators.addModal.selectedCount_one": "{{count}} lid geselecteerd",
"permission.collaborators.addModal.selectedCount_other": "{{count}} leden geselecteerd",
+ "permission.collaborators.addModal.selectionLimit": "Je kunt maximaal {{count}} leden tegelijk toevoegen.",
"permission.collaborators.addModal.title": "Samenwerkers toevoegen",
"permission.collaborators.empty": "Nog geen samenwerkers",
"permission.collaborators.libraryDesc": "Samenwerkers kunnen deze kennisbank openen en de bestanden erin bekijken, zelfs wanneer het toegangsniveau \"Geen toegang\" is",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Deze groep behoort alleen aan u toe, dus er is nog niets om te delen. Publiceer het naar een werkruimte om ledenrechten in te stellen.",
"permission.page.groupPersonalTitle": "Rechten zijn van toepassing op werkruimtegroepen",
"permission.page.groupPrivateNotice": "Deze groep is nog steeds privé. Alles hier wordt van kracht zodra u het publiceert naar de werkruimte.",
+ "permission.page.groupTopicSharePolicyDesc": "Of leden deelkoppelingen kunnen publiceren voor de onderwerpen van deze groep.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Leden kunnen deelkoppelingen publiceren voor elk onderwerp van deze groep.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Alleen jij en werkruimte-eigenaren kunnen deelkoppelingen publiceren voor deze groep.",
"permission.page.kbAccessibleWhenShared": "Kan toegang krijgen wanneer gedeeld",
"permission.page.kbNoAccessWhenShared": "Geen toegang wanneer gedeeld",
"permission.page.libraryAccessLevelPrivateHint": "Leden krijgen dit niveau zodra de kennisbank is gepubliceerd naar de werkruimte. Het kan na publicatie worden gewijzigd.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Rechten gelden voor werkruimte-agents",
"permission.page.privateNotice": "Deze agent is nog steeds privé. Alles hier wordt van kracht zodra u het publiceert naar de werkruimte.",
"permission.page.title": "Ledenrechten",
+ "permission.page.topicSharePolicyDesc": "Of leden deelkoppelingen kunnen publiceren voor de onderwerpen van deze agent.",
+ "permission.page.topicSharePolicyMemberDesc": "Leden kunnen deelkoppelingen publiceren voor elk onderwerp van deze agent.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Alleen jij en werkruimte-eigenaren kunnen deelkoppelingen publiceren.",
"permission.page.usableWhenShared": "Kan gebruikt worden wanneer gedeeld",
"permission.page.viewableWhenShared": "Kan bekijken wanneer gedeeld",
"permission.saveNoEditPermission": "U heeft alleen-lezen toegang tot deze pagina, dus uw wijzigingen zijn niet opgeslagen",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Tag",
"settingAgent.title": "Agentinformatie",
"settingAgent.toolsConfig.title": "Tools",
+ "settingAgent.topicSharePolicy.membersCanShare": "Leden kunnen delen",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Alleen maker en eigenaren",
+ "settingAgent.topicSharePolicy.title": "Onderwerp delen",
"settingAppearance.animationMode.agile": "Snel",
"settingAppearance.animationMode.desc": "Selecteer de animatiesnelheid voor reacties van de applicatie",
"settingAppearance.animationMode.disabled": "Uit",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Alleen de primaire eigenaar kan deze werkruimte verwijderen. Draag eerst het primaire eigenaarschap over indien nodig.",
+ "workspace.permission.topicShareRestricted": "Deze agent staat alleen zijn maker en werkruimte-eigenaren toe om onderwerpen te delen. Vraag hen om een koppeling als je die nodig hebt.",
"workspace.personalTag": "Persoonlijk",
"workspace.slugBrandApply.button": "Aanvragen",
"workspace.slugBrandApply.mailBody": "Hallo LobeHub-team,\n\nIk wil graag de werkruimte-URL \"{{slug}}\" aanvragen (https://lobehub.com/{{slug}}).\n\n- Merk/organisatie die ik vertegenwoordig:\n- Officiële website/domein:\n- Mijn rol in de organisatie:\n- Organisatie-e-mailadres (antwoord vanaf dit adres):\n\nBedankt!",
diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.json
index 3f5a128aab3..d0f449d8ed9 100644
--- a/locales/pl-PL/chat.json
+++ b/locales/pl-PL/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Szukaj szablonów...",
"groupWizard.title": "Utwórz grupę",
"groupWizard.useTemplate": "Użyj szablonu",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} nie obsługuje powiązania z dostawcą LobeHub.",
"heteroAgent.apiMode.configMissing": "Tryb API Claude Code wymaga dostawcy i przypisania modelu. Otwórz profil agenta, aby go skonfigurować.",
+ "heteroAgent.apiMode.credentialUnsupported": "Dostawca \"{{providerId}}\" używa metody uwierzytelniania, której ten agent nie obsługuje.",
+ "heteroAgent.apiMode.credentialsMissing": "Dostawca \"{{providerId}}\" nie ma skonfigurowanego klucza API.",
+ "heteroAgent.apiMode.endpointMissing": "Dostawca \"{{providerId}}\" wymaga podstawowego adresu URL dla tego agenta.",
+ "heteroAgent.apiMode.endpointUnsupported": "Dostawca \"{{providerId}}\" ma nieobsługiwany podstawowy adres URL.",
"heteroAgent.apiMode.labDisabled.action": "Włącz w Labs",
"heteroAgent.apiMode.labDisabled.desc": "Włącz w Ustawieniach → Labs lub przełącz tego agenta na uwierzytelnianie Subskrypcji.",
"heteroAgent.apiMode.labDisabled.title": "Tryb API Claude Code to eksperyment Labs",
"heteroAgent.apiMode.localOnly.desc": "Przełącz środowisko wykonawcze na urządzenie lokalne lub użyj uwierzytelniania Subskrypcji.",
"heteroAgent.apiMode.localOnly.title": "Tryb API wymaga lokalnego wykonania na komputerze",
"heteroAgent.apiMode.modelUnavailable": "Model \"{{providerId}}/{{model}}\" jest wyłączony lub już niedostępny.",
+ "heteroAgent.apiMode.protocolMismatch": "Dostawca \"{{providerId}}\" nie udostępnia protokołu obsługiwanego przez {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "Dostawca \"{{providerId}}\" jest wyłączony lub już niedostępny.",
"heteroAgent.claudeQuota.accountActive": "W użyciu",
"heteroAgent.claudeQuota.accountSwitch": "Przełącz",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Zaktualizowano {{duration}} temu",
"heteroAgent.quota.updatedJustNow": "Zaktualizowano przed chwilą",
"heteroAgent.quota.weekly": "Tygodniowo",
+ "heteroAgent.resumeReset.bindingChanged": "Zmiana powiązania uwierzytelniania. Poprzednia lokalna sesja agenta nie mogła zostać bezpiecznie wznowiona, więc rozpoczęto nową rozmowę.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "Poprzednia sesja Cursor nie mogła zostać przywrócona przez ACP, więc rozpoczęto nową rozmowę z nowym kontekstem.",
"heteroAgent.resumeReset.cwdChanged": "Zmieniono katalog roboczy. Poprzednia sesja Claude Code może zostać wznowiona tylko z oryginalnego katalogu, więc rozpoczęto nową rozmowę.",
"heteroAgent.resumeReset.resumeFailed": "Zapisany wątek Codex nie mógł zostać bezpiecznie wznowiony, dlatego rozpoczęto nową rozmowę w tym temacie.",
diff --git a/locales/pl-PL/labs.json b/locales/pl-PL/labs.json
index f8b45f32e39..4723f373e7e 100644
--- a/locales/pl-PL/labs.json
+++ b/locales/pl-PL/labs.json
@@ -2,14 +2,14 @@
"description": "Te funkcje są eksperymentalne. Mogą zostać usunięte i mogą zawierać błędy. Będziemy wdzięczni za Twoją opinię podczas ich używania.",
"features.agentGraphConfig.desc": "Pokaż konfigurację czasu wykonywania grafu w zaawansowanych ustawieniach profilu agenta.",
"features.agentGraphConfig.title": "Konfiguracja czasu wykonywania grafu agenta",
+ "features.agentProviderBinding.desc": "Pozwól obsługiwanym lokalnym agentom korzystać z skonfigurowanego dostawcy API i modelu zamiast ich subskrypcji. Początkowo dostępne dla Claude Code i Codex w lokalnym wykonaniu na komputerze.",
+ "features.agentProviderBinding.title": "Powiązanie Dostawcy Agenta",
"features.agentSelfIteration.desc": "Pozwala asystentowi na refleksję, budowanie samoświadomości oraz ciągłe doskonalenie poprzez kolejne próby i interakcje.",
"features.agentSelfIteration.title": "Samoiteracja agenta",
"features.artifactDeployment.desc": "Publikuj artefakty na hostowanym URL i zarządzaj wydaniami z poziomu paska bocznego rozmowy",
"features.artifactDeployment.title": "Wdrożenia Artefaktów",
"features.assistantMessageGroup.desc": "Grupuj wiadomości agenta i wyniki wywołań narzędzi razem do wyświetlenia",
"features.assistantMessageGroup.title": "Grupowanie Wiadomości Agenta",
- "features.claudeCodeApiMode.desc": "Pozwól Claude Code korzystać ze skonfigurowanego dostawcy API i modelu na tym komputerze zamiast subskrypcji Claude. Tylko lokalne wykonywanie na komputerze.",
- "features.claudeCodeApiMode.title": "Dostawca API Claude Code",
"features.claudeCodeSdk.desc": "Uruchamiaj sesje Claude Code za pomocą Claude Agent SDK zamiast uruchamiania CLI. Umożliwia bardziej zaawansowane przesyłanie strumieniowe i kontrolę sesji.",
"features.claudeCodeSdk.title": "Środowisko wykonawcze Claude Code SDK",
"features.codexAppServer.desc": "Uruchamiaj sesje Codex za pośrednictwem lokalnego serwera aplikacji zamiast jednorazowych procesów CLI. Umożliwia strumieniowanie tokenów i natywną kontrolę tur.",
diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.json
index ae730a98175..4550ac9b5f6 100644
--- a/locales/pl-PL/setting.json
+++ b/locales/pl-PL/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Model",
"heterogeneousStatus.apiMode.modelPlaceholder": "Wybierz model",
"heterogeneousStatus.apiMode.noProviders": "Nie skonfigurowano żadnego włączonego dostawcy z punktem końcowym zgodnym z Anthropic.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Nie skonfigurowano żadnego włączonego dostawcy z wyraźnie obsługiwanym punktem końcowym API odpowiedzi.",
"heterogeneousStatus.apiMode.smallFastModel": "Model w tle",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Używany do tytułów sesji, podsumowań i innych zadań w tle. Nie zmienia głównej rozmowy.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Taki sam jak główny model",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Szukaj członków",
"permission.collaborators.addModal.selectedCount_one": "Wybrano {{count}} członka",
"permission.collaborators.addModal.selectedCount_other": "Wybrano {{count}} członków",
+ "permission.collaborators.addModal.selectionLimit": "Możesz dodać maksymalnie {{count}} członków naraz.",
"permission.collaborators.addModal.title": "Dodaj współpracowników",
"permission.collaborators.empty": "Brak współpracowników",
"permission.collaborators.libraryDesc": "Współpracownicy mogą otwierać tę bazę wiedzy i przeglądać pliki w środku, nawet jeśli poziom dostępu to „Brak dostępu”",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Ta grupa należy tylko do Ciebie, więc nie ma jeszcze nic do udostępnienia. Opublikuj ją w przestrzeni roboczej, aby ustawić uprawnienia członków.",
"permission.page.groupPersonalTitle": "Uprawnienia dotyczą grup w przestrzeni roboczej",
"permission.page.groupPrivateNotice": "Ta grupa jest nadal prywatna. Wszystko tutaj zacznie obowiązywać po jej opublikowaniu w przestrzeni roboczej.",
+ "permission.page.groupTopicSharePolicyDesc": "Czy członkowie mogą publikować linki do udostępniania tematów tej grupy.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Członkowie mogą publikować linki do udostępniania dowolnych tematów tej grupy.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Tylko Ty i właściciele przestrzeni roboczej możecie publikować linki do udostępniania dla tej grupy.",
"permission.page.kbAccessibleWhenShared": "Może uzyskać dostęp po udostępnieniu",
"permission.page.kbNoAccessWhenShared": "Brak dostępu po udostępnieniu",
"permission.page.libraryAccessLevelPrivateHint": "Członkowie otrzymują ten poziom dostępu, gdy baza wiedzy zostanie opublikowana w przestrzeni roboczej. Można go zmienić po publikacji.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Uprawnienia dotyczą agentów w przestrzeni roboczej",
"permission.page.privateNotice": "Ten agent jest nadal prywatny. Wszystko tutaj zacznie obowiązywać po jego opublikowaniu w przestrzeni roboczej.",
"permission.page.title": "Uprawnienia członków",
+ "permission.page.topicSharePolicyDesc": "Czy członkowie mogą publikować linki do udostępniania tematów tego agenta.",
+ "permission.page.topicSharePolicyMemberDesc": "Członkowie mogą publikować linki do udostępniania dowolnych tematów tego agenta.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Tylko Ty i właściciele przestrzeni roboczej możecie publikować linki do udostępniania.",
"permission.page.usableWhenShared": "Można używać po udostępnieniu",
"permission.page.viewableWhenShared": "Może przeglądać po udostępnieniu",
"permission.saveNoEditPermission": "Masz dostęp tylko do odczytu tej strony, więc Twoje zmiany nie zostały zapisane",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Tag",
"settingAgent.title": "Informacje o agencie",
"settingAgent.toolsConfig.title": "Narzędzia",
+ "settingAgent.topicSharePolicy.membersCanShare": "Członkowie mogą udostępniać",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Tylko twórca i właściciele",
+ "settingAgent.topicSharePolicy.title": "Udostępnianie tematów",
"settingAppearance.animationMode.agile": "Zwinny",
"settingAppearance.animationMode.desc": "Wybierz prędkość animacji dla reakcji aplikacji",
"settingAppearance.animationMode.disabled": "Wyłączone",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Tylko główny właściciel może usunąć to miejsce pracy. Najpierw przenieś główne uprawnienia właściciela, jeśli to konieczne.",
+ "workspace.permission.topicShareRestricted": "Ten agent pozwala na udostępnianie tematów tylko swojemu twórcy i właścicielom przestrzeni roboczej. Zapytaj ich, jeśli potrzebujesz linku.",
"workspace.personalTag": "Osobiste",
"workspace.slugBrandApply.button": "Zastosuj",
"workspace.slugBrandApply.mailBody": "Cześć zespole LobeHub,\n\nChciałbym poprosić o URL miejsca pracy \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Marka/organizacja, którą reprezentuję:\n- Oficjalna strona internetowa/domena:\n- Moja rola w organizacji:\n- E-mail organizacji (proszę odpowiedzieć z tego adresu):\n\nDziękuję!",
diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.json
index d13117e5365..e2b7e97b54d 100644
--- a/locales/pt-BR/chat.json
+++ b/locales/pt-BR/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Buscar modelos...",
"groupWizard.title": "Criar Grupo",
"groupWizard.useTemplate": "Usar Modelo",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} não suporta a vinculação do provedor LobeHub.",
"heteroAgent.apiMode.configMissing": "O modo API do Claude Code requer um provedor e vinculação de modelo. Abra o perfil do agente para configurá-lo.",
+ "heteroAgent.apiMode.credentialUnsupported": "O provedor \"{{providerId}}\" utiliza um método de autenticação que este agente não suporta.",
+ "heteroAgent.apiMode.credentialsMissing": "O provedor \"{{providerId}}\" não possui uma chave de API configurada.",
+ "heteroAgent.apiMode.endpointMissing": "O provedor \"{{providerId}}\" requer uma URL base para este agente.",
+ "heteroAgent.apiMode.endpointUnsupported": "O provedor \"{{providerId}}\" possui uma URL base não suportada.",
"heteroAgent.apiMode.labDisabled.action": "Ativar em Labs",
"heteroAgent.apiMode.labDisabled.desc": "Ative em Configurações → Labs, ou altere este agente para autenticação por Assinatura.",
"heteroAgent.apiMode.labDisabled.title": "O modo API do Claude Code é um experimento do Labs",
"heteroAgent.apiMode.localOnly.desc": "Altere o ambiente de execução para o dispositivo Local, ou use a autenticação por Assinatura.",
"heteroAgent.apiMode.localOnly.title": "O modo API requer execução local no Desktop",
"heteroAgent.apiMode.modelUnavailable": "O modelo \"{{providerId}}/{{model}}\" está desativado ou não está mais disponível.",
+ "heteroAgent.apiMode.protocolMismatch": "O provedor \"{{providerId}}\" não expõe um protocolo suportado por {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "O provedor \"{{providerId}}\" está desativado ou não está mais disponível.",
"heteroAgent.claudeQuota.accountActive": "Em uso",
"heteroAgent.claudeQuota.accountSwitch": "Trocar",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Atualizado há {{duration}}",
"heteroAgent.quota.updatedJustNow": "Atualizado agora mesmo",
"heteroAgent.quota.weekly": "Semanal",
+ "heteroAgent.resumeReset.bindingChanged": "A vinculação de autenticação foi alterada. A sessão anterior do agente local não pôde ser retomada com segurança, então uma nova conversa foi iniciada.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "A sessão anterior do Cursor não pôde ser restaurada pelo ACP, então uma nova conversa foi iniciada com um contexto limpo.",
"heteroAgent.resumeReset.cwdChanged": "Diretório de trabalho alterado. A sessão anterior do Claude Code só pode ser retomada a partir do diretório original, então uma nova conversa foi iniciada.",
"heteroAgent.resumeReset.resumeFailed": "A thread salva do Codex não pôde ser retomada com segurança, então uma nova conversa foi iniciada para este tópico.",
diff --git a/locales/pt-BR/labs.json b/locales/pt-BR/labs.json
index a30dc1c2385..b756f336258 100644
--- a/locales/pt-BR/labs.json
+++ b/locales/pt-BR/labs.json
@@ -2,14 +2,14 @@
"description": "Esses recursos são experimentais. Podemos removê-los e eles podem conter bugs. Adoraríamos receber seu feedback enquanto os utiliza.",
"features.agentGraphConfig.desc": "Exibir configuração de tempo de execução do gráfico nas configurações avançadas do perfil do agente.",
"features.agentGraphConfig.title": "Configuração de Tempo de Execução do Gráfico do Agente",
+ "features.agentProviderBinding.desc": "Permita que agentes locais suportados usem um provedor de API e modelo configurado em vez de sua assinatura. Inicialmente disponível para Claude Code e Codex na execução local em desktop.",
+ "features.agentProviderBinding.title": "Vinculação de Provedor de Agente",
"features.agentSelfIteration.desc": "Permite que o assistente reflita, desenvolva autoconsciência e faça iterações contínuas por meio de tentativas e interações contínuas.",
"features.agentSelfIteration.title": "Autoiteração do Agente",
"features.artifactDeployment.desc": "Publique artefatos em uma URL hospedada e gerencie lançamentos a partir da barra lateral de conversas",
"features.artifactDeployment.title": "Implantações de Artefatos",
"features.assistantMessageGroup.desc": "Agrupe mensagens do agente e os resultados das chamadas de ferramentas para exibição conjunta",
"features.assistantMessageGroup.title": "Agrupamento de Mensagens do Agente",
- "features.claudeCodeApiMode.desc": "Permita que o Claude Code use um provedor de API configurado e modelo neste desktop em vez de uma assinatura do Claude. Execução local apenas no desktop.",
- "features.claudeCodeApiMode.title": "Provedor de API do Claude Code",
"features.claudeCodeSdk.desc": "Execute sessões do Claude Code através do Claude Agent SDK em vez de iniciar o CLI. Permite streaming mais rico e controle de sessão.",
"features.claudeCodeSdk.title": "Runtime do SDK Claude Code",
"features.codexAppServer.desc": "Execute sessões do Codex através do servidor de aplicativos local em vez de processos CLI de execução única. Permite streaming de tokens e controle nativo de turnos.",
diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.json
index bf8e3ba4114..ad5d756c810 100644
--- a/locales/pt-BR/setting.json
+++ b/locales/pt-BR/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Modelo",
"heterogeneousStatus.apiMode.modelPlaceholder": "Selecione um modelo",
"heterogeneousStatus.apiMode.noProviders": "Nenhum provedor habilitado com um endpoint compatível com Anthropic está configurado.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Nenhum provedor habilitado com um endpoint de API de Respostas explicitamente suportado está configurado.",
"heterogeneousStatus.apiMode.smallFastModel": "Modelo de fundo",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Usado para títulos de sessão, resumos e outros trabalhos de fundo. Não altera a conversa principal.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Igual ao modelo principal",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Buscar membros",
"permission.collaborators.addModal.selectedCount_one": "{{count}} membro selecionado",
"permission.collaborators.addModal.selectedCount_other": "{{count}} membros selecionados",
+ "permission.collaborators.addModal.selectionLimit": "Você pode adicionar até {{count}} membros por vez.",
"permission.collaborators.addModal.title": "Adicionar colaboradores",
"permission.collaborators.empty": "Nenhum colaborador ainda",
"permission.collaborators.libraryDesc": "Os colaboradores podem abrir esta base de conhecimento e visualizar os arquivos dentro, mesmo quando o nível de acesso é \"Sem acesso\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Este grupo pertence apenas a você, então ainda não há nada para compartilhar. Publique-o em um espaço de trabalho para definir as permissões dos membros.",
"permission.page.groupPersonalTitle": "As permissões se aplicam aos grupos do espaço de trabalho.",
"permission.page.groupPrivateNotice": "Este grupo ainda é privado. Tudo aqui entra em vigor assim que você o publica no espaço de trabalho.",
+ "permission.page.groupTopicSharePolicyDesc": "Se os membros podem publicar links de compartilhamento para os tópicos deste grupo.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Os membros podem publicar links de compartilhamento para qualquer tópico deste grupo.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Apenas você e os proprietários do espaço de trabalho podem publicar links de compartilhamento para este grupo.",
"permission.page.kbAccessibleWhenShared": "Pode acessar quando compartilhado",
"permission.page.kbNoAccessWhenShared": "Sem acesso quando compartilhado",
"permission.page.libraryAccessLevelPrivateHint": "Os membros recebem este nível assim que a base de conhecimento é publicada no espaço de trabalho. Ele pode ser alterado após a publicação.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "As permissões se aplicam aos agentes do espaço de trabalho",
"permission.page.privateNotice": "Este agente ainda é privado. Tudo aqui entra em vigor assim que você o publica no espaço de trabalho.",
"permission.page.title": "Permissões de Membro",
+ "permission.page.topicSharePolicyDesc": "Se os membros podem publicar links de compartilhamento para os tópicos deste agente.",
+ "permission.page.topicSharePolicyMemberDesc": "Os membros podem publicar links de compartilhamento para qualquer tópico deste agente.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Apenas você e os proprietários do espaço de trabalho podem publicar links de compartilhamento.",
"permission.page.usableWhenShared": "Pode usar quando compartilhado",
"permission.page.viewableWhenShared": "Pode visualizar quando compartilhado",
"permission.saveNoEditPermission": "Você tem acesso somente para visualização nesta página, então suas alterações não foram salvas",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Tag",
"settingAgent.title": "Informações do Agente",
"settingAgent.toolsConfig.title": "Ferramentas",
+ "settingAgent.topicSharePolicy.membersCanShare": "Os membros podem compartilhar",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Apenas o criador e os proprietários",
+ "settingAgent.topicSharePolicy.title": "Compartilhamento de tópicos",
"settingAppearance.animationMode.agile": "Ágil",
"settingAppearance.animationMode.desc": "Selecione a velocidade da animação para ações de resposta do aplicativo",
"settingAppearance.animationMode.disabled": "Desativado",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Somente o proprietário principal pode excluir este workspace. Transfira a propriedade principal primeiro, se necessário.",
+ "workspace.permission.topicShareRestricted": "Este agente permite que apenas seu criador e os proprietários do espaço de trabalho compartilhem tópicos. Peça a eles se você precisar de um link.",
"workspace.personalTag": "Pessoal",
"workspace.slugBrandApply.button": "Solicitar",
"workspace.slugBrandApply.mailBody": "Olá, equipe LobeHub,\n\nGostaria de solicitar a URL do workspace \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Marca/organização que represento:\n- Site oficial/domínio:\n- Meu papel na organização:\n- E-mail da organização (por favor, responda deste endereço):\n\nObrigado!",
diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.json
index 8ea2c0ca0fd..deb04041b9a 100644
--- a/locales/ru-RU/chat.json
+++ b/locales/ru-RU/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Поиск шаблонов...",
"groupWizard.title": "Создать группу",
"groupWizard.useTemplate": "Использовать шаблон",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} не поддерживает привязку к провайдеру LobeHub.",
"heteroAgent.apiMode.configMissing": "Режим API Claude Code требует привязки провайдера и модели. Откройте профиль агента, чтобы настроить его.",
+ "heteroAgent.apiMode.credentialUnsupported": "Провайдер \"{{providerId}}\" использует метод аутентификации, который не поддерживается этим агентом.",
+ "heteroAgent.apiMode.credentialsMissing": "У провайдера \"{{providerId}}\" не настроен API-ключ.",
+ "heteroAgent.apiMode.endpointMissing": "Провайдеру \"{{providerId}}\" требуется базовый URL для этого агента.",
+ "heteroAgent.apiMode.endpointUnsupported": "Провайдер \"{{providerId}}\" имеет неподдерживаемый базовый URL.",
"heteroAgent.apiMode.labDisabled.action": "Включить в Лабораториях",
"heteroAgent.apiMode.labDisabled.desc": "Включите это в Настройки → Лаборатории или переключите этого агента на аутентификацию по подписке.",
"heteroAgent.apiMode.labDisabled.title": "Режим API Claude Code является экспериментом Лабораторий",
"heteroAgent.apiMode.localOnly.desc": "Переключите среду выполнения на Локальное устройство или используйте аутентификацию по подписке.",
"heteroAgent.apiMode.localOnly.title": "Режим API требует локального выполнения на компьютере",
"heteroAgent.apiMode.modelUnavailable": "Модель \"{{providerId}}/{{model}}\" отключена или больше недоступна.",
+ "heteroAgent.apiMode.protocolMismatch": "Провайдер \"{{providerId}}\" не предоставляет протокол, поддерживаемый {{agentType}}.",
"heteroAgent.apiMode.providerUnavailable": "Провайдер \"{{providerId}}\" отключен или больше недоступен.",
"heteroAgent.claudeQuota.accountActive": "В использовании",
"heteroAgent.claudeQuota.accountSwitch": "Переключить",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Обновлено {{duration}} назад",
"heteroAgent.quota.updatedJustNow": "Обновлено только что",
"heteroAgent.quota.weekly": "Еженедельно",
+ "heteroAgent.resumeReset.bindingChanged": "Привязка аутентификации изменена. Предыдущая локальная сессия агента не могла быть безопасно возобновлена, поэтому начат новый разговор.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "Предыдущая сессия Cursor не могла быть восстановлена через ACP, поэтому начат новый разговор с чистым контекстом.",
"heteroAgent.resumeReset.cwdChanged": "Рабочая директория изменена. Предыдущую сессию Claude Code можно продолжить только из исходной директории, поэтому начат новый диалог.",
"heteroAgent.resumeReset.resumeFailed": "Не удалось безопасно восстановить сохранённый поток Codex, поэтому для этой темы была начата новая беседа.",
diff --git a/locales/ru-RU/labs.json b/locales/ru-RU/labs.json
index c12c038b2cb..ab0304704b1 100644
--- a/locales/ru-RU/labs.json
+++ b/locales/ru-RU/labs.json
@@ -2,14 +2,14 @@
"description": "Эти функции являются экспериментальными. Мы можем их удалить, и они могут содержать ошибки. Мы будем рады вашему отзыву при их использовании.",
"features.agentGraphConfig.desc": "Показать конфигурацию графа времени выполнения в расширенных настройках профиля агента.",
"features.agentGraphConfig.title": "Конфигурация времени выполнения графа агента",
+ "features.agentProviderBinding.desc": "Позвольте поддерживаемым локальным агентам использовать настроенного API-провайдера и модель вместо их подписки. Изначально доступно для Claude Code и Codex при локальном выполнении на компьютере.",
+ "features.agentProviderBinding.title": "Привязка провайдера агента",
"features.agentSelfIteration.desc": "Позволяет помощнику проводить самоанализ, формировать самосознание и постоянно совершенствоваться через непрерывные попытки и взаимодействия.",
"features.agentSelfIteration.title": "Самоитерация агента",
"features.artifactDeployment.desc": "Публикуйте артефакты на размещённом URL и управляйте релизами из боковой панели разговора",
"features.artifactDeployment.title": "Развертывание артефактов",
"features.assistantMessageGroup.desc": "Группируйте сообщения агента и результаты вызова инструментов для совместного отображения",
"features.assistantMessageGroup.title": "Группировка сообщений агента",
- "features.claudeCodeApiMode.desc": "Позвольте Claude Code использовать настроенного API-провайдера и модель на этом компьютере вместо подписки Claude. Только локальное выполнение на компьютере.",
- "features.claudeCodeApiMode.title": "API-провайдер Claude Code",
"features.claudeCodeSdk.desc": "Запускайте сеансы Claude Code через Claude Agent SDK вместо запуска CLI. Обеспечивает более богатую потоковую передачу и управление сеансами.",
"features.claudeCodeSdk.title": "Среда выполнения Claude Code SDK",
"features.codexAppServer.desc": "Запускайте сеансы Codex через локальный сервер приложений вместо одноразовых процессов CLI. Обеспечивает потоковую передачу токенов и управление поворотами на уровне приложения.",
diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.json
index 4ee853c49ab..8a3318710b6 100644
--- a/locales/ru-RU/setting.json
+++ b/locales/ru-RU/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Модель",
"heterogeneousStatus.apiMode.modelPlaceholder": "Выберите модель",
"heterogeneousStatus.apiMode.noProviders": "Не настроен ни один активированный провайдер с совместимым с Anthropic конечным точкой.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Не настроен ни один включенный провайдер с явно поддерживаемой конечной точкой API ответов.",
"heterogeneousStatus.apiMode.smallFastModel": "Фоновая модель",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Используется для заголовков сессий, резюме и другой фоновой работы. Не изменяет основную беседу.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Та же, что и основная модель",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Поиск участников",
"permission.collaborators.addModal.selectedCount_one": "{{count}} участник выбран",
"permission.collaborators.addModal.selectedCount_other": "{{count}} участников выбрано",
+ "permission.collaborators.addModal.selectionLimit": "Вы можете добавить до {{count}} участников за один раз.",
"permission.collaborators.addModal.title": "Добавить участников",
"permission.collaborators.empty": "Пока нет участников",
"permission.collaborators.libraryDesc": "Участники могут открыть эту базу знаний и просмотреть файлы внутри, даже если уровень доступа установлен на \"Нет доступа\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Эта группа принадлежит только вам, поэтому пока нечего делить. Опубликуйте её в рабочей области, чтобы установить разрешения для участников.",
"permission.page.groupPersonalTitle": "Разрешения применяются к группам рабочей области",
"permission.page.groupPrivateNotice": "Эта группа всё ещё является частной. Всё здесь вступит в силу, как только вы опубликуете её в рабочей области.",
+ "permission.page.groupTopicSharePolicyDesc": "Разрешено ли участникам публиковать ссылки для обмена темами этой группы.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Участники могут публиковать ссылки для обмена любыми темами этой группы.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Только вы и владельцы рабочего пространства можете публиковать ссылки для обмена темами этой группы.",
"permission.page.kbAccessibleWhenShared": "Может получить доступ при совместном использовании",
"permission.page.kbNoAccessWhenShared": "Нет доступа при совместном использовании",
"permission.page.libraryAccessLevelPrivateHint": "Участники получают этот уровень доступа после публикации базы знаний в рабочем пространстве. Его можно изменить после публикации.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Разрешения применяются к агентам рабочего пространства",
"permission.page.privateNotice": "Этот агент всё ещё является частным. Всё здесь вступит в силу после публикации его в рабочем пространстве.",
"permission.page.title": "Разрешения участников",
+ "permission.page.topicSharePolicyDesc": "Разрешено ли участникам публиковать ссылки для обмена темами этого агента.",
+ "permission.page.topicSharePolicyMemberDesc": "Участники могут публиковать ссылки для обмена любыми темами этого агента.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Только вы и владельцы рабочего пространства могут публиковать ссылки для обмена.",
"permission.page.usableWhenShared": "Можно использовать при совместном использовании",
"permission.page.viewableWhenShared": "Может просматривать при совместном использовании",
"permission.saveNoEditPermission": "У вас есть доступ только для просмотра этой страницы, поэтому ваши изменения не были сохранены",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Тег",
"settingAgent.title": "Информация об агенте",
"settingAgent.toolsConfig.title": "Инструменты",
+ "settingAgent.topicSharePolicy.membersCanShare": "Участники могут делиться",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Только создатель и владельцы",
+ "settingAgent.topicSharePolicy.title": "Обмен темами",
"settingAppearance.animationMode.agile": "Быстрый",
"settingAppearance.animationMode.desc": "Выберите скорость анимации для отклика приложения",
"settingAppearance.animationMode.disabled": "Отключено",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "У вас нет разрешения на это. Попросите владельца рабочей области предоставить вам роль Участника или выше.",
"workspace.permission.requiresOwner": "Только владельцы рабочей области могут это сделать. Попросите владельца, если вам нужно это изменить.",
"workspace.permission.requiresPrimaryOwner": "Только основной владелец может удалить эту рабочую область. Сначала передайте основное владение, если это необходимо.",
+ "workspace.permission.topicShareRestricted": "Этот агент разрешает делиться темами только своему создателю и владельцам рабочего пространства. Обратитесь к ним, если вам нужен доступ к ссылке.",
"workspace.personalTag": "Личное",
"workspace.slugBrandApply.button": "Подать заявку",
"workspace.slugBrandApply.mailBody": "Здравствуйте, команда LobeHub,\n\nЯ хотел бы запросить URL рабочей области \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Бренд / организация, которую я представляю:\n- Официальный веб-сайт / домен:\n- Моя роль в организации:\n- Организационный email (пожалуйста, ответьте с этого адреса):\n\nСпасибо!",
diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.json
index 3f194a99abc..c3e3e614b40 100644
--- a/locales/tr-TR/chat.json
+++ b/locales/tr-TR/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Şablonlarda ara...",
"groupWizard.title": "Grup Oluştur",
"groupWizard.useTemplate": "Şablon Kullan",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}}, LobeHub Sağlayıcı bağlamayı desteklemiyor.",
"heteroAgent.apiMode.configMissing": "Claude Code API modu, bir sağlayıcı ve model bağlaması gerektirir. Yapılandırmak için ajan profilini açın.",
+ "heteroAgent.apiMode.credentialUnsupported": "\"{{providerId}}\" sağlayıcısı, bu ajanın desteklemediği bir kimlik doğrulama yöntemi kullanıyor.",
+ "heteroAgent.apiMode.credentialsMissing": "\"{{providerId}}\" sağlayıcısı için API anahtarı yapılandırılmamış.",
+ "heteroAgent.apiMode.endpointMissing": "\"{{providerId}}\" sağlayıcısı, bu ajan için bir temel URL gerektiriyor.",
+ "heteroAgent.apiMode.endpointUnsupported": "\"{{providerId}}\" sağlayıcısının desteklenmeyen bir temel URL'si var.",
"heteroAgent.apiMode.labDisabled.action": "Laboratuvarlarda Etkinleştir",
"heteroAgent.apiMode.labDisabled.desc": "Ayarlar → Laboratuvarlar bölümünden etkinleştirin veya bu ajanı Abonelik kimlik doğrulamasına geçirin.",
"heteroAgent.apiMode.labDisabled.title": "Claude Code API modu bir Laboratuvar denemesidir",
"heteroAgent.apiMode.localOnly.desc": "Çalışma ortamını Yerel cihaza geçirin veya Abonelik kimlik doğrulamasını kullanın.",
"heteroAgent.apiMode.localOnly.title": "API modu Masaüstü yerel yürütme gerektirir",
"heteroAgent.apiMode.modelUnavailable": "\"{{providerId}}/{{model}}\" modeli devre dışı bırakılmış veya artık mevcut değil.",
+ "heteroAgent.apiMode.protocolMismatch": "\"{{providerId}}\" sağlayıcısı, {{agentType}} tarafından desteklenen bir protokol sunmuyor.",
"heteroAgent.apiMode.providerUnavailable": "\"{{providerId}}\" sağlayıcısı devre dışı bırakılmış veya artık mevcut değil.",
"heteroAgent.claudeQuota.accountActive": "Kullanımda",
"heteroAgent.claudeQuota.accountSwitch": "Değiştir",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "{{duration}} önce güncellendi",
"heteroAgent.quota.updatedJustNow": "Az önce güncellendi",
"heteroAgent.quota.weekly": "Haftalık",
+ "heteroAgent.resumeReset.bindingChanged": "Kimlik doğrulama bağlaması değişti. Önceki yerel ajan oturumu güvenli bir şekilde devam ettirilemediği için yeni bir konuşma başlatıldı.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "Önceki Cursor oturumu ACP üzerinden geri yüklenemedi, bu yüzden yeni bir konuşma taze bir bağlamla başlatıldı.",
"heteroAgent.resumeReset.cwdChanged": "Çalışma dizini değiştirildi. Önceki Claude Code oturumu yalnızca orijinal dizininden devam ettirilebilir, bu nedenle yeni bir konuşma başlatıldı.",
"heteroAgent.resumeReset.resumeFailed": "Kaydedilmiş Codex dizisi güvenli bir şekilde devam ettirilemedi, bu nedenle bu konu için yeni bir konuşma başlatıldı.",
diff --git a/locales/tr-TR/labs.json b/locales/tr-TR/labs.json
index ec8a9e9f75f..a73801cfc63 100644
--- a/locales/tr-TR/labs.json
+++ b/locales/tr-TR/labs.json
@@ -2,14 +2,14 @@
"description": "Bu özellikler deneyseldir. Kaldırılabilirler ve hatalar içerebilirler. Kullanırken geri bildirimlerinizi memnuniyetle karşılarız.",
"features.agentGraphConfig.desc": "Bir ajan profilinin gelişmiş ayarlarında grafik çalışma zamanı yapılandırmasını göster.",
"features.agentGraphConfig.title": "Ajan Grafik Çalışma Zamanı Yapılandırması",
+ "features.agentProviderBinding.desc": "Desteklenen yerel ajanların abonelikleri yerine yapılandırılmış bir API sağlayıcısını ve modeli kullanmasına izin verin. Başlangıçta Claude Code ve Codex için Masaüstü yerel yürütmede kullanılabilir.",
+ "features.agentProviderBinding.title": "Ajan Sağlayıcı Bağlama",
"features.agentSelfIteration.desc": "Asistanın düşünmesini, öz farkındalık geliştirmesini ve devam eden denemeler ile etkileşimler boyunca sürekli yineleme yapmasını sağlar.",
"features.agentSelfIteration.title": "Aracının Kendi Kendine Yinelemesi",
"features.artifactDeployment.desc": "Artifaktleri barındırılan bir URL'ye yayınlayın ve sürümleri sohbet kenar çubuğundan yönetin",
"features.artifactDeployment.title": "Artifakt Dağıtımları",
"features.assistantMessageGroup.desc": "Temsilci mesajlarını ve bunlara ait araç çağrısı sonuçlarını birlikte gruplayarak görüntüleyin",
"features.assistantMessageGroup.title": "Temsilci Mesaj Gruplama",
- "features.claudeCodeApiMode.desc": "Claude Code'un bu masaüstünde bir Claude aboneliği yerine yapılandırılmış bir API sağlayıcısı ve modeli kullanmasına izin verin. Sadece masaüstü yerel yürütme.",
- "features.claudeCodeApiMode.title": "Claude Code API Sağlayıcısı",
"features.claudeCodeSdk.desc": "Claude Agent SDK aracılığıyla Claude Code oturumlarını çalıştırın, CLI başlatmak yerine. Daha zengin akış ve oturum kontrolü sağlar.",
"features.claudeCodeSdk.title": "Claude Code SDK Çalışma Zamanı",
"features.codexAppServer.desc": "Codex oturumlarını tek seferlik CLI işlemleri yerine yerel uygulama sunucusu üzerinden çalıştırın. Token akışını ve yerel tur kontrolünü etkinleştirir.",
diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.json
index 1c5a2f4d4e9..279da69e8e8 100644
--- a/locales/tr-TR/setting.json
+++ b/locales/tr-TR/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Model",
"heterogeneousStatus.apiMode.modelPlaceholder": "Bir model seçin",
"heterogeneousStatus.apiMode.noProviders": "Anthropic uyumlu bir uç noktaya sahip etkin bir sağlayıcı yapılandırılmamış.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Yanıtlar API uç noktasını açıkça destekleyen etkin bir sağlayıcı yapılandırılmamış.",
"heterogeneousStatus.apiMode.smallFastModel": "Arka plan modeli",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Oturum başlıkları, özetler ve diğer arka plan çalışmaları için kullanılır. Ana konuşmayı değiştirmez.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Birincil modelle aynı",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Üyeleri ara",
"permission.collaborators.addModal.selectedCount_one": "{{count}} üye seçildi",
"permission.collaborators.addModal.selectedCount_other": "{{count}} üye seçildi",
+ "permission.collaborators.addModal.selectionLimit": "Bir seferde en fazla {{count}} üye ekleyebilirsiniz.",
"permission.collaborators.addModal.title": "İşbirlikçileri ekle",
"permission.collaborators.empty": "Henüz işbirlikçi yok",
"permission.collaborators.libraryDesc": "İşbirlikçiler, erişim seviyesi \"Erişim yok\" olsa bile bu bilgi tabanını açabilir ve içindeki dosyaları görüntüleyebilir.",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Bu grup yalnızca size aittir, bu yüzden henüz paylaşacak bir şey yok. Üye izinlerini ayarlamak için bunu bir çalışma alanına yayınlayın.",
"permission.page.groupPersonalTitle": "İzinler çalışma alanı gruplarına uygulanır.",
"permission.page.groupPrivateNotice": "Bu grup hâlâ özel. Buradaki her şey, çalışma alanına yayınladığınızda etkili olur.",
+ "permission.page.groupTopicSharePolicyDesc": "Bu grubun konuları için üyelerin paylaşım bağlantıları yayınlayıp yayınlayamayacağı.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Üyeler, bu grubun herhangi bir konusu için paylaşım bağlantıları yayınlayabilir.",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Sadece siz ve çalışma alanı sahipleri bu grup için paylaşım bağlantıları yayınlayabilir.",
"permission.page.kbAccessibleWhenShared": "Paylaşıldığında erişebilir",
"permission.page.kbNoAccessWhenShared": "Paylaşıldığında erişim yok",
"permission.page.libraryAccessLevelPrivateHint": "Üyeler bu seviyeyi bilgi tabanı çalışma alanına yayınlandığında alır. Yayınlandıktan sonra değiştirilebilir.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "İzinler çalışma alanı ajanları için geçerlidir",
"permission.page.privateNotice": "Bu ajan hâlâ özel. Buradaki her şey, bunu çalışma alanına yayınladığınızda geçerli olur.",
"permission.page.title": "Üye İzinleri",
+ "permission.page.topicSharePolicyDesc": "Bu ajanın konuları için üyelerin paylaşım bağlantıları yayınlayıp yayınlayamayacağı.",
+ "permission.page.topicSharePolicyMemberDesc": "Üyeler, bu ajanın herhangi bir konusu için paylaşım bağlantıları yayınlayabilir.",
+ "permission.page.topicSharePolicyRestrictedDesc": "Sadece siz ve çalışma alanı sahipleri paylaşım bağlantıları yayınlayabilir.",
"permission.page.usableWhenShared": "Paylaşıldığında kullanılabilir",
"permission.page.viewableWhenShared": "Paylaşıldığında görüntülenebilir",
"permission.saveNoEditPermission": "Bu sayfaya yalnızca görüntüleme erişiminiz var, bu nedenle değişiklikleriniz kaydedilmedi",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Etiket",
"settingAgent.title": "Temsilci Bilgisi",
"settingAgent.toolsConfig.title": "Araçlar",
+ "settingAgent.topicSharePolicy.membersCanShare": "Üyeler paylaşabilir",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Sadece oluşturucu ve sahipler",
+ "settingAgent.topicSharePolicy.title": "Konu paylaşımı",
"settingAppearance.animationMode.agile": "Çevik",
"settingAppearance.animationMode.desc": "Uygulama yanıt animasyonları için hız seçin",
"settingAppearance.animationMode.disabled": "Kapalı",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Bu çalışma alanını yalnızca birincil sahip silebilir. Gerekirse önce birincil sahipliği devredin.",
+ "workspace.permission.topicShareRestricted": "Bu ajan yalnızca oluşturucusunun ve çalışma alanı sahiplerinin konuları paylaşmasına izin verir. Bir bağlantıya ihtiyacınız varsa onlara sorun.",
"workspace.personalTag": "Kişisel",
"workspace.slugBrandApply.button": "Başvur",
"workspace.slugBrandApply.mailBody": "Merhaba LobeHub ekibi,\n\n\"{{slug}}\" (https://lobehub.com/{{slug}}) çalışma alanı URL'sini talep etmek istiyorum.\n\n- Temsil ettiğim marka / organizasyon:\n- Resmi web sitesi / alan adı:\n- Organizasyondaki rolüm:\n- Organizasyon e-postası (lütfen bu adresten yanıtlayın):\n\nTeşekkürler!",
diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.json
index 1836dcae618..f99209fc249 100644
--- a/locales/vi-VN/chat.json
+++ b/locales/vi-VN/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "Tìm kiếm mẫu...",
"groupWizard.title": "Tạo nhóm",
"groupWizard.useTemplate": "Sử dụng mẫu",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} không hỗ trợ liên kết với Nhà cung cấp LobeHub.",
"heteroAgent.apiMode.configMissing": "Chế độ API Claude Code yêu cầu một nhà cung cấp và mô hình được liên kết. Mở hồ sơ tác nhân để cấu hình.",
+ "heteroAgent.apiMode.credentialUnsupported": "Nhà cung cấp \"{{providerId}}\" sử dụng phương thức xác thực mà tác nhân này không hỗ trợ.",
+ "heteroAgent.apiMode.credentialsMissing": "Nhà cung cấp \"{{providerId}}\" chưa được cấu hình khóa API.",
+ "heteroAgent.apiMode.endpointMissing": "Nhà cung cấp \"{{providerId}}\" yêu cầu một URL cơ sở cho tác nhân này.",
+ "heteroAgent.apiMode.endpointUnsupported": "Nhà cung cấp \"{{providerId}}\" có URL cơ sở không được hỗ trợ.",
"heteroAgent.apiMode.labDisabled.action": "Bật trong Labs",
"heteroAgent.apiMode.labDisabled.desc": "Bật nó trong Cài đặt → Labs, hoặc chuyển tác nhân này sang xác thực Đăng ký.",
"heteroAgent.apiMode.labDisabled.title": "Chế độ API Claude Code là một thử nghiệm trong Labs",
"heteroAgent.apiMode.localOnly.desc": "Chuyển môi trường thực thi sang thiết bị cục bộ, hoặc sử dụng xác thực Đăng ký.",
"heteroAgent.apiMode.localOnly.title": "Chế độ API yêu cầu thực thi cục bộ trên máy tính",
"heteroAgent.apiMode.modelUnavailable": "Mô hình \"{{providerId}}/{{model}}\" đã bị vô hiệu hóa hoặc không còn khả dụng.",
+ "heteroAgent.apiMode.protocolMismatch": "Nhà cung cấp \"{{providerId}}\" không cung cấp giao thức được {{agentType}} hỗ trợ.",
"heteroAgent.apiMode.providerUnavailable": "Nhà cung cấp \"{{providerId}}\" đã bị vô hiệu hóa hoặc không còn khả dụng.",
"heteroAgent.claudeQuota.accountActive": "Đang sử dụng",
"heteroAgent.claudeQuota.accountSwitch": "Chuyển đổi",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "Cập nhật {{duration}} trước",
"heteroAgent.quota.updatedJustNow": "Vừa được cập nhật",
"heteroAgent.quota.weekly": "Hàng tuần",
+ "heteroAgent.resumeReset.bindingChanged": "Liên kết xác thực đã thay đổi. Phiên làm việc của tác nhân cục bộ trước đó không thể được tiếp tục một cách an toàn, vì vậy một cuộc trò chuyện mới đã bắt đầu.",
"heteroAgent.resumeReset.cursorAcpIncompatible": "Phiên Cursor trước đó không thể khôi phục thông qua ACP, vì vậy một cuộc trò chuyện mới đã bắt đầu với ngữ cảnh mới.",
"heteroAgent.resumeReset.cwdChanged": "Thư mục làm việc đã thay đổi. Phiên Claude Code trước đó chỉ có thể tiếp tục từ thư mục gốc ban đầu, vì vậy một cuộc trò chuyện mới đã được bắt đầu.",
"heteroAgent.resumeReset.resumeFailed": "Không thể khôi phục an toàn chuỗi Codex đã lưu, nên một cuộc trò chuyện mới đã được bắt đầu cho chủ đề này.",
diff --git a/locales/vi-VN/labs.json b/locales/vi-VN/labs.json
index 0b185bca696..4304d50ec7f 100644
--- a/locales/vi-VN/labs.json
+++ b/locales/vi-VN/labs.json
@@ -2,14 +2,14 @@
"description": "Những tính năng này đang trong giai đoạn thử nghiệm. Chúng tôi có thể loại bỏ chúng, và chúng có thể gặp lỗi. Chúng tôi rất mong nhận được phản hồi từ bạn khi sử dụng chúng.",
"features.agentGraphConfig.desc": "Hiển thị cấu hình thời gian chạy đồ thị trong cài đặt nâng cao của hồ sơ tác nhân.",
"features.agentGraphConfig.title": "Cấu Hình Thời Gian Chạy Đồ Thị Tác Nhân",
+ "features.agentProviderBinding.desc": "Cho phép các tác nhân cục bộ được hỗ trợ sử dụng nhà cung cấp API và mô hình đã cấu hình thay vì đăng ký của họ. Ban đầu có sẵn cho Claude Code và Codex trên thực thi cục bộ trên máy tính để bàn.",
+ "features.agentProviderBinding.title": "Liên kết Nhà cung cấp Tác nhân",
"features.agentSelfIteration.desc": "Cho phép trợ lý tự phản tư, xây dựng khả năng tự nhận thức và liên tục cải thiện thông qua các nỗ lực và tương tác đang diễn ra.",
"features.agentSelfIteration.title": "Tự lặp của tác nhân",
"features.artifactDeployment.desc": "Xuất bản các tệp hiện vật lên một URL được lưu trữ và quản lý các phiên bản từ thanh bên cuộc trò chuyện",
"features.artifactDeployment.title": "Triển khai Hiện vật",
"features.assistantMessageGroup.desc": "Nhóm các tin nhắn của tác nhân và kết quả gọi công cụ lại với nhau để hiển thị",
"features.assistantMessageGroup.title": "Nhóm Tin Nhắn Tác Nhân",
- "features.claudeCodeApiMode.desc": "Cho phép Claude Code sử dụng nhà cung cấp API và mô hình được cấu hình trên máy tính này thay vì đăng ký Claude. Chỉ thực thi cục bộ trên máy tính.",
- "features.claudeCodeApiMode.title": "Nhà cung cấp API Claude Code",
"features.claudeCodeSdk.desc": "Chạy các phiên Claude Code thông qua Claude Agent SDK thay vì khởi chạy CLI. Cho phép truyền tải phong phú hơn và kiểm soát phiên làm việc.",
"features.claudeCodeSdk.title": "Thời gian chạy Claude Code SDK",
"features.codexAppServer.desc": "Chạy các phiên Codex thông qua máy chủ ứng dụng cục bộ thay vì các quy trình CLI một lần. Cho phép truyền tải token và kiểm soát lượt tự nhiên.",
diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.json
index 7981f5ebdfa..10c7a7f28aa 100644
--- a/locales/vi-VN/setting.json
+++ b/locales/vi-VN/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "Mô hình",
"heterogeneousStatus.apiMode.modelPlaceholder": "Chọn một mô hình",
"heterogeneousStatus.apiMode.noProviders": "Không có nhà cung cấp nào được bật với endpoint tương thích Anthropic được cấu hình.",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "Không có nhà cung cấp nào được kích hoạt với điểm cuối API Responses được hỗ trợ rõ ràng được cấu hình.",
"heterogeneousStatus.apiMode.smallFastModel": "Mô hình nền",
"heterogeneousStatus.apiMode.smallFastModelDesc": "Được sử dụng cho tiêu đề phiên, tóm tắt và các công việc nền khác. Không thay đổi cuộc trò chuyện chính.",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "Giống như mô hình chính",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "Tìm kiếm thành viên",
"permission.collaborators.addModal.selectedCount_one": "{{count}} thành viên đã được chọn",
"permission.collaborators.addModal.selectedCount_other": "{{count}} thành viên đã được chọn",
+ "permission.collaborators.addModal.selectionLimit": "Bạn có thể thêm tối đa {{count}} thành viên cùng một lúc",
"permission.collaborators.addModal.title": "Thêm cộng tác viên",
"permission.collaborators.empty": "Chưa có cộng tác viên nào",
"permission.collaborators.libraryDesc": "Cộng tác viên có thể mở cơ sở tri thức này và xem các tệp bên trong ngay cả khi mức truy cập là \"Không có quyền truy cập\"",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "Nhóm này chỉ thuộc về bạn, vì vậy hiện tại chưa có gì để chia sẻ. Xuất bản nó lên không gian làm việc để thiết lập quyền của thành viên.",
"permission.page.groupPersonalTitle": "Quyền áp dụng cho các nhóm trong không gian làm việc",
"permission.page.groupPrivateNotice": "Nhóm này vẫn đang ở chế độ riêng tư. Mọi thứ ở đây sẽ có hiệu lực khi bạn xuất bản nó lên không gian làm việc.",
+ "permission.page.groupTopicSharePolicyDesc": "Liệu các thành viên có thể xuất bản liên kết chia sẻ cho các chủ đề của nhóm này hay không.",
+ "permission.page.groupTopicSharePolicyMemberDesc": "Các thành viên có thể xuất bản liên kết chia sẻ cho bất kỳ chủ đề nào của nhóm này",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "Chỉ bạn và chủ sở hữu không gian làm việc có thể xuất bản liên kết chia sẻ cho nhóm này",
"permission.page.kbAccessibleWhenShared": "Có thể truy cập khi được chia sẻ",
"permission.page.kbNoAccessWhenShared": "Không có quyền truy cập khi được chia sẻ",
"permission.page.libraryAccessLevelPrivateHint": "Thành viên sẽ nhận được cấp độ này khi cơ sở tri thức được xuất bản vào không gian làm việc. Có thể thay đổi sau khi xuất bản.",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "Quyền áp dụng cho các tác nhân trong không gian làm việc",
"permission.page.privateNotice": "Tác nhân này vẫn đang ở chế độ riêng tư. Mọi thứ ở đây sẽ có hiệu lực khi bạn xuất bản nó vào không gian làm việc.",
"permission.page.title": "Quyền của Thành viên",
+ "permission.page.topicSharePolicyDesc": "Liệu các thành viên có thể xuất bản liên kết chia sẻ cho các chủ đề của tác nhân này hay không.",
+ "permission.page.topicSharePolicyMemberDesc": "Các thành viên có thể xuất bản liên kết chia sẻ cho bất kỳ chủ đề nào của tác nhân này",
+ "permission.page.topicSharePolicyRestrictedDesc": "Chỉ bạn và chủ sở hữu không gian làm việc có thể xuất bản liên kết chia sẻ",
"permission.page.usableWhenShared": "Có thể sử dụng khi được chia sẻ",
"permission.page.viewableWhenShared": "Có thể xem khi được chia sẻ",
"permission.saveNoEditPermission": "Bạn chỉ có quyền xem trang này, vì vậy các thay đổi của bạn không được lưu",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "Thẻ",
"settingAgent.title": "Thông tin tác nhân",
"settingAgent.toolsConfig.title": "Công cụ",
+ "settingAgent.topicSharePolicy.membersCanShare": "Thành viên có thể chia sẻ",
+ "settingAgent.topicSharePolicy.membersCannotShare": "Chỉ người tạo và chủ sở hữu",
+ "settingAgent.topicSharePolicy.title": "Chia sẻ chủ đề",
"settingAppearance.animationMode.agile": "Nhanh nhẹn",
"settingAppearance.animationMode.desc": "Chọn tốc độ hoạt ảnh cho các hành động phản hồi của ứng dụng",
"settingAppearance.animationMode.disabled": "Tắt",
@@ -2713,6 +2724,7 @@
"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.",
"workspace.permission.requiresPrimaryOwner": "Chỉ chủ sở hữu chính mới có thể xóa không gian làm việc này. Hãy chuyển quyền sở hữu chính trước nếu cần.",
+ "workspace.permission.topicShareRestricted": "Tác nhân này chỉ cho phép người tạo và chủ sở hữu không gian làm việc chia sẻ chủ đề. Hãy hỏi họ nếu bạn cần một liên kết.",
"workspace.personalTag": "Cá nhân",
"workspace.slugBrandApply.button": "Áp dụng",
"workspace.slugBrandApply.mailBody": "Xin chào đội ngũ LobeHub,\n\nTôi muốn yêu cầu URL không gian làm việc \"{{slug}}\" (https://lobehub.com/{{slug}}).\n\n- Thương hiệu / tổ chức tôi đại diện:\n- Trang web / tên miền chính thức:\n- Vai trò của tôi trong tổ chức:\n- Email tổ chức (vui lòng trả lời từ địa chỉ này):\n\nCảm ơn!",
diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.json
index 3be47d484d9..05b12c0faa7 100644
--- a/locales/zh-CN/setting.json
+++ b/locales/zh-CN/setting.json
@@ -708,6 +708,9 @@
"permission.page.groupPersonalDesc": "这个群组只属于你,暂时没有需要分享的对象。发布到工作区后即可设置成员权限。",
"permission.page.groupPersonalTitle": "权限配置仅对工作区群组生效",
"permission.page.groupPrivateNotice": "这个群组当前是私人的,以下配置会在发布到工作区后生效。",
+ "permission.page.groupTopicSharePolicyDesc": "成员是否可以把该群组中的话题发布为分享链接。",
+ "permission.page.groupTopicSharePolicyMemberDesc": "成员可以把该群组中的任意话题发布为分享链接",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "只有你和工作区所有者可以发布该群组的分享链接",
"permission.page.kbAccessibleWhenShared": "公开后可访问",
"permission.page.kbNoAccessWhenShared": "公开后不可访问",
"permission.page.libraryAccessLevelPrivateHint": "知识库发布到工作区后,成员将获得此访问级别,发布后仍可修改。",
@@ -721,6 +724,9 @@
"permission.page.personalTitle": "权限配置仅对工作区助手生效",
"permission.page.privateNotice": "这个助手当前是私人的,以下配置会在发布到工作区后生效。",
"permission.page.title": "成员权限",
+ "permission.page.topicSharePolicyDesc": "成员是否可以把该助手下的话题发布为分享链接。",
+ "permission.page.topicSharePolicyMemberDesc": "成员可以把该助手下的任意话题发布为分享链接",
+ "permission.page.topicSharePolicyRestrictedDesc": "只有你和工作区所有者可以发布分享链接",
"permission.page.usableWhenShared": "公开后可使用",
"permission.page.viewableWhenShared": "共享后可查看",
"permission.saveNoEditPermission": "你仅有该页面的查看权限,修改未保存",
@@ -861,6 +867,9 @@
"settingAgent.tag.title": "标签",
"settingAgent.title": "助理信息",
"settingAgent.toolsConfig.title": "工具",
+ "settingAgent.topicSharePolicy.membersCanShare": "成员可分享",
+ "settingAgent.topicSharePolicy.membersCannotShare": "仅创建者和所有者",
+ "settingAgent.topicSharePolicy.title": "话题分享",
"settingAppearance.animationMode.agile": "敏捷",
"settingAppearance.animationMode.desc": "选择应用程序的操作响应的动画速度",
"settingAppearance.animationMode.disabled": "关闭",
@@ -2715,6 +2724,7 @@
"workspace.permission.requiresMember": "您没有权限执行此操作。请请求工作区所有者授予您成员或更高权限。",
"workspace.permission.requiresOwner": "只有工作区所有者可以执行此操作。如果需要更改,请请求所有者。",
"workspace.permission.requiresPrimaryOwner": "只有工作区所有者可以删除此工作区。如有需要,请先转让所有权。",
+ "workspace.permission.topicShareRestricted": "该助手只允许创建者和工作区所有者分享话题。需要链接请联系他们。",
"workspace.personalTag": "个人",
"workspace.slugBrandApply.button": "申请",
"workspace.slugBrandApply.mailBody": "您好 LobeHub 团队,\n\n我想申请工作区 URL \"{{slug}}\" (https://lobehub.com/{{slug}})。\n\n- 我代表的品牌/组织:\n- 官方网站/域名:\n- 我在组织中的角色:\n- 组织邮箱(请从此地址回复):\n\n谢谢!",
diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.json
index ab366f8a078..e28fe6b6234 100644
--- a/locales/zh-TW/chat.json
+++ b/locales/zh-TW/chat.json
@@ -528,13 +528,19 @@
"groupWizard.searchTemplates": "搜尋範本...",
"groupWizard.title": "建立群組",
"groupWizard.useTemplate": "使用模板",
+ "heteroAgent.apiMode.agentUnsupported": "{{name}} 不支援 LobeHub 提供者綁定。",
"heteroAgent.apiMode.configMissing": "Claude Code API 模式需要提供者和模型綁定。打開代理配置檔案進行設定。",
+ "heteroAgent.apiMode.credentialUnsupported": "提供者「{{providerId}}」使用了此代理不支援的身份驗證方法。",
+ "heteroAgent.apiMode.credentialsMissing": "提供者「{{providerId}}」未配置 API 金鑰。",
+ "heteroAgent.apiMode.endpointMissing": "提供者「{{providerId}}」需要此代理的基本 URL。",
+ "heteroAgent.apiMode.endpointUnsupported": "提供者「{{providerId}}」的基本 URL 不受支援。",
"heteroAgent.apiMode.labDisabled.action": "在 Labs 中啟用",
"heteroAgent.apiMode.labDisabled.desc": "在 設定 → Labs 中開啟,或將此代理切換至訂閱驗證。",
"heteroAgent.apiMode.labDisabled.title": "Claude Code API 模式是一項 Labs 實驗",
"heteroAgent.apiMode.localOnly.desc": "將執行環境切換至本地設備,或使用訂閱驗證。",
"heteroAgent.apiMode.localOnly.title": "API 模式需要桌面本地執行",
"heteroAgent.apiMode.modelUnavailable": "模型 \"{{providerId}}/{{model}}\" 已停用或不再可用。",
+ "heteroAgent.apiMode.protocolMismatch": "提供者「{{providerId}}」未提供 {{agentType}} 支援的協議。",
"heteroAgent.apiMode.providerUnavailable": "提供者 \"{{providerId}}\" 已停用或不再可用。",
"heteroAgent.claudeQuota.accountActive": "使用中",
"heteroAgent.claudeQuota.accountSwitch": "切換",
@@ -735,6 +741,7 @@
"heteroAgent.quota.updatedAgo": "{{duration}} 前更新",
"heteroAgent.quota.updatedJustNow": "剛剛更新",
"heteroAgent.quota.weekly": "每週",
+ "heteroAgent.resumeReset.bindingChanged": "身份驗證綁定已更改。之前的本地代理會話無法安全地恢復,因此已開始新的對話。",
"heteroAgent.resumeReset.cursorAcpIncompatible": "先前的 Cursor 工作階段無法通過 ACP 恢復,因此已開始一個新的對話並使用全新上下文。",
"heteroAgent.resumeReset.cwdChanged": "工作目錄已變更。先前的 Claude Code 工作階段只能從原始目錄回復,因此已開始新的對話。",
"heteroAgent.resumeReset.resumeFailed": "無法安全地恢復已儲存的 Codex 執行緒,因此已為此主題開啟新的對話。",
diff --git a/locales/zh-TW/labs.json b/locales/zh-TW/labs.json
index 9ba36f81b66..0ba9a76ee64 100644
--- a/locales/zh-TW/labs.json
+++ b/locales/zh-TW/labs.json
@@ -2,14 +2,14 @@
"description": "這些功能是實驗性的。我們可能會移除它們,而且它們可能存在錯誤。在使用過程中,我們非常期待您的回饋。",
"features.agentGraphConfig.desc": "在代理配置檔的進階設定中顯示圖形運行時配置。",
"features.agentGraphConfig.title": "代理圖形運行時配置",
+ "features.agentProviderBinding.desc": "讓支援的本地代理使用已配置的 API 提供者和模型,而不是使用它們的訂閱。最初僅適用於 Claude Code 和 Codex 的桌面本地執行。",
+ "features.agentProviderBinding.title": "代理提供者綁定",
"features.agentSelfIteration.desc": "允許助理進行反思、建立自我認知,並透過持續的嘗試與互動不斷迭代提升。",
"features.agentSelfIteration.title": "代理自我迭代",
"features.artifactDeployment.desc": "將工件發佈到託管的 URL,並從對話側邊欄管理版本",
"features.artifactDeployment.title": "工件部署",
"features.assistantMessageGroup.desc": "將助手訊息及其工具調用結果彙整成群組顯示",
"features.assistantMessageGroup.title": "助手訊息彙整群組",
- "features.claudeCodeApiMode.desc": "讓 Claude Code 在此桌面上使用已配置的 API 提供者和模型,而不是 Claude 訂閱。僅限桌面本地執行。",
- "features.claudeCodeApiMode.title": "Claude Code API 提供者",
"features.claudeCodeSdk.desc": "透過 Claude Agent SDK 執行 Claude Code 會話,而非啟動 CLI。提供更豐富的串流和會話控制功能。",
"features.claudeCodeSdk.title": "Claude Code SDK 執行環境",
"features.codexAppServer.desc": "透過本地應用伺服器運行 Codex 會話,而非一次性 CLI 程序。啟用令牌流式傳輸和原生回合控制。",
diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.json
index 0dffbf2c5b9..2793f40c1d2 100644
--- a/locales/zh-TW/setting.json
+++ b/locales/zh-TW/setting.json
@@ -465,6 +465,7 @@
"heterogeneousStatus.apiMode.model": "模型",
"heterogeneousStatus.apiMode.modelPlaceholder": "選擇一個模型",
"heterogeneousStatus.apiMode.noProviders": "未設定任何啟用的提供者,且無與 Anthropic 相容的端點。",
+ "heterogeneousStatus.apiMode.noResponsesProviders": "未配置任何啟用且明確支援 Responses API 端點的提供者。",
"heterogeneousStatus.apiMode.smallFastModel": "背景模型",
"heterogeneousStatus.apiMode.smallFastModelDesc": "用於會話標題、摘要及其他背景工作。不影響主要對話。",
"heterogeneousStatus.apiMode.smallFastModelPlaceholder": "與主要模型相同",
@@ -660,6 +661,7 @@
"permission.collaborators.addModal.search": "搜尋成員",
"permission.collaborators.addModal.selectedCount_one": "已選擇 {{count}} 位成員",
"permission.collaborators.addModal.selectedCount_other": "已選擇 {{count}} 位成員",
+ "permission.collaborators.addModal.selectionLimit": "您一次最多可以新增 {{count}} 位成員。",
"permission.collaborators.addModal.title": "新增協作者",
"permission.collaborators.empty": "尚無協作者",
"permission.collaborators.libraryDesc": "協作者即使在存取層級為「無存取權限」時,也能開啟此知識庫並查看其中的檔案",
@@ -706,6 +708,9 @@
"permission.page.groupPersonalDesc": "此群組僅屬於您,因此目前無需分享。發佈到工作區後即可設定成員權限。",
"permission.page.groupPersonalTitle": "權限適用於工作區群組",
"permission.page.groupPrivateNotice": "此群組仍為私人狀態。所有設定在發佈到工作區後生效。",
+ "permission.page.groupTopicSharePolicyDesc": "是否允許成員為此群組的主題發布分享連結。",
+ "permission.page.groupTopicSharePolicyMemberDesc": "成員可以為此群組的任何主題發布分享連結。",
+ "permission.page.groupTopicSharePolicyRestrictedDesc": "只有您和工作區擁有者可以為此群組發布分享連結。",
"permission.page.kbAccessibleWhenShared": "共享時可存取",
"permission.page.kbNoAccessWhenShared": "共享時無存取權限",
"permission.page.libraryAccessLevelPrivateHint": "成員在知識庫發佈到工作區後會獲得此級別。發佈後可以進行更改。",
@@ -719,6 +724,9 @@
"permission.page.personalTitle": "權限適用於工作區代理程式",
"permission.page.privateNotice": "此代理程式仍為私人狀態。一旦您將其發佈到工作區,這裡的所有設定將生效。",
"permission.page.title": "成員權限",
+ "permission.page.topicSharePolicyDesc": "是否允許成員為此代理的主題發布分享連結。",
+ "permission.page.topicSharePolicyMemberDesc": "成員可以為此代理的任何主題發布分享連結。",
+ "permission.page.topicSharePolicyRestrictedDesc": "只有您和工作區擁有者可以發布分享連結。",
"permission.page.usableWhenShared": "共享時可使用",
"permission.page.viewableWhenShared": "共享時可查看",
"permission.saveNoEditPermission": "您對此頁面的權限為僅可查看,因此您的更改未被保存",
@@ -859,6 +867,9 @@
"settingAgent.tag.title": "標籤",
"settingAgent.title": "助手資訊",
"settingAgent.toolsConfig.title": "工具",
+ "settingAgent.topicSharePolicy.membersCanShare": "成員可以分享",
+ "settingAgent.topicSharePolicy.membersCannotShare": "僅限創建者和擁有者",
+ "settingAgent.topicSharePolicy.title": "主題分享",
"settingAppearance.animationMode.agile": "敏捷",
"settingAppearance.animationMode.desc": "選擇應用程式操作回應的動畫速度",
"settingAppearance.animationMode.disabled": "關閉",
@@ -2713,6 +2724,7 @@
"workspace.permission.requiresMember": "您無權執行此操作。請要求工作區擁有者授予您成員或更高級別的權限。",
"workspace.permission.requiresOwner": "只有工作區擁有者可以執行此操作。請要求擁有者更改此設置。",
"workspace.permission.requiresPrimaryOwner": "只有主要擁有者可以刪除此工作區。如果需要,請先轉移主要所有權。",
+ "workspace.permission.topicShareRestricted": "此代理僅允許其創建者和工作區擁有者分享主題。如需連結,請向他們詢問。",
"workspace.personalTag": "個人",
"workspace.slugBrandApply.button": "申請",
"workspace.slugBrandApply.mailBody": "您好 LobeHub 團隊,\n\n我想申請工作區 URL \"{{slug}}\" (https://lobehub.com/{{slug}})。\n\n- 我代表的品牌/組織:\n- 官方網站/域名:\n- 我在組織中的角色:\n- 組織電子郵件(請從此地址回覆):\n\n謝謝!",
diff --git a/packages/database/src/models/__tests__/agent.test.ts b/packages/database/src/models/__tests__/agent.test.ts
index ab6d402e195..df95bd0bf7c 100644
--- a/packages/database/src/models/__tests__/agent.test.ts
+++ b/packages/database/src/models/__tests__/agent.test.ts
@@ -1485,6 +1485,7 @@ describe('AgentModel', () => {
expect(workspaceAgent.agencyConfig).toEqual({
executionTargetSelectionPolicy: 'member',
modelSelectionPolicy: 'member',
+ topicSharePolicy: 'member',
});
expect(personalAgent.agencyConfig).toBeNull();
});
@@ -1699,6 +1700,7 @@ describe('AgentModel', () => {
executionTarget: 'none',
executionTargetSelectionPolicy: 'fixed',
modelSelectionPolicy: 'member',
+ topicSharePolicy: 'member',
});
});
@@ -1930,6 +1932,7 @@ describe('AgentModel', () => {
expect(result?.agencyConfig).toEqual({
executionTargetSelectionPolicy: 'member',
modelSelectionPolicy: 'member',
+ topicSharePolicy: 'member',
});
});
diff --git a/packages/database/src/models/agent.ts b/packages/database/src/models/agent.ts
index e69b1a42c1f..c10384590f1 100644
--- a/packages/database/src/models/agent.ts
+++ b/packages/database/src/models/agent.ts
@@ -1,6 +1,6 @@
import { BUILTIN_AGENT_SLUGS, getAgentPersistConfig } from '@lobechat/builtin-agents';
import { INBOX_SESSION_ID, isHeterogeneousAgentModelId } from '@lobechat/const';
-import type { AgentRankItem, LobeAgentAgencyConfig } from '@lobechat/types';
+import type { AgentRankItem, AgentTopicShareSubject, LobeAgentAgencyConfig } from '@lobechat/types';
import {
DEFAULT_WORKSPACE_AGENT_SELECTION_POLICIES,
pruneWorkingDirByDeviceDeletes,
@@ -1216,6 +1216,34 @@ export class AgentModel {
* creator, slug and current visibility, scoped by the ownership predicate
* (other members' private agents resolve to `null`).
*/
+ /**
+ * The topic-share policy and creator of one agent.
+ *
+ * Deliberately scoped by workspace rather than by {@link ownership}: this
+ * answers "what did the author decide for this agent", which must not depend
+ * on whether the *caller* can see the row. A visibility-scoped miss would
+ * return `null` and fail open, handing a restricted agent's topics back to
+ * every member.
+ */
+ getTopicShareSubject = async (id: string): Promise<AgentTopicShareSubject | null> => {
+ const rows = await this.db
+ .select({
+ agencyConfig: agents.agencyConfig,
+ userId: agents.userId,
+ workspaceId: agents.workspaceId,
+ })
+ .from(agents)
+ .where(
+ and(
+ eq(agents.id, id),
+ this.workspaceId ? eq(agents.workspaceId, this.workspaceId) : this.ownership(),
+ ),
+ )
+ .limit(1);
+
+ return rows[0] ?? null;
+ };
+
getAgentVisibilityMeta = async (
id: string,
): Promise<{ slug: string | null; userId: string; visibility: 'private' | 'public' } | null> => {
diff --git a/packages/database/src/models/chatGroup.ts b/packages/database/src/models/chatGroup.ts
index 774594cdc27..08ff1bbec80 100644
--- a/packages/database/src/models/chatGroup.ts
+++ b/packages/database/src/models/chatGroup.ts
@@ -142,6 +142,33 @@ export class ChatGroupModel {
// ******* Query Methods ******* //
+ /**
+ * The supervisor agent a group's conversation answers to, or `null`.
+ *
+ * Deliberately scoped by workspace rather than by {@link ownership}: callers
+ * use this to look up what the group's author decided (its supervisor's
+ * permission policies), which must not depend on whether *this* caller can
+ * see the group row. A visibility-scoped miss would return `null` and fail
+ * open.
+ */
+ getSupervisorAgentId = async (groupId: string): Promise<string | null> => {
+ const [row] = await this.db
+ .select({ agentId: chatGroupsAgents.agentId })
+ .from(chatGroupsAgents)
+ .where(
+ and(
+ eq(chatGroupsAgents.chatGroupId, groupId),
+ eq(chatGroupsAgents.role, GROUP_SUPERVISOR_ROLE),
+ this.workspaceId
+ ? eq(chatGroupsAgents.workspaceId, this.workspaceId)
+ : and(eq(chatGroupsAgents.userId, this.userId), isNull(chatGroupsAgents.workspaceId)),
+ ),
+ )
+ .limit(1);
+
+ return row?.agentId ?? null;
+ };
+
async findById(id: string): Promise<ChatGroupItem | undefined> {
const item = await this.db.query.chatGroups.findFirst({
where: and(eq(chatGroups.id, id), this.ownership()),
diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.ts
index 109a6479efe..bed9ff90615 100644
--- a/packages/locales/src/default/setting.ts
+++ b/packages/locales/src/default/setting.ts
@@ -347,6 +347,12 @@ export default {
'permission.page.groupModelPolicyFixedDesc':
'Members can only use the model you set for this group',
'permission.page.groupModelPolicyMemberDesc': 'Members can use a model they set themselves',
+ 'permission.page.groupTopicSharePolicyDesc':
+ "Whether members can publish share links for this group's topics.",
+ 'permission.page.groupTopicSharePolicyMemberDesc':
+ "Members can publish share links for any of this group's topics",
+ 'permission.page.groupTopicSharePolicyRestrictedDesc':
+ 'Only you and workspace owners can publish share links for this group',
'permission.page.memberGroup': 'Access',
'permission.page.modelPolicyFixedDesc': 'Members can only use the model you set',
'permission.page.modelPolicyMemberDesc': 'Members can use a model they set themselves',
@@ -358,6 +364,12 @@ export default {
'permission.page.privateNotice':
'This agent is still private. Everything here takes effect once you publish it to the workspace.',
'permission.page.title': 'Permissions',
+ 'permission.page.topicSharePolicyDesc':
+ "Whether members can publish share links for this agent's topics.",
+ 'permission.page.topicSharePolicyMemberDesc':
+ "Members can publish share links for any of this agent's topics",
+ 'permission.page.topicSharePolicyRestrictedDesc':
+ 'Only you and workspace owners can publish share links',
'permission.page.usableWhenShared': 'Can use when shared',
'permission.page.viewableWhenShared': 'Can view when shared',
'permission.saveNoEditPermission':
@@ -973,6 +985,11 @@ export default {
'settingAgent.selectionPolicy.membersCannotSwitchWhenShared': 'Locked when shared',
'settingAgent.selectionPolicy.membersCanSwitch': 'Can switch',
'settingAgent.selectionPolicy.membersCanSwitchWhenShared': 'Can switch when shared',
+ // Not a Can-switch / Locked pair like the policies above: sharing is a
+ // capability rather than a setting members flip, so the labels name who holds it.
+ 'settingAgent.topicSharePolicy.membersCanShare': 'Members can share',
+ 'settingAgent.topicSharePolicy.membersCannotShare': 'Creator and owners only',
+ 'settingAgent.topicSharePolicy.title': 'Topic sharing',
'settingAgent.toolsConfig.title': 'Tools',
'settingAgent.submit': 'Update Agent',
'settingAgent.tag.desc': 'Agent tags will be displayed in the Agent Community',
@@ -3100,6 +3117,9 @@ When I am ___, I need ___
'Only workspace owners can do this. Ask an owner if you need this changed.',
'workspace.permission.requiresPrimaryOwner':
'Only the workspace Owner can delete this workspace. Transfer ownership first if needed.',
+ // Not a role gate: the agent's author reserved topic sharing on the Permission page.
+ 'workspace.permission.topicShareRestricted':
+ 'This agent only lets its creator and workspace owners share topics. Ask them if you need a link.',
'workspace.onboarding.title': 'Set up your workspace',
'workspace.onboarding.stepLabel': 'Step {{current}} of {{total}}',
'workspace.onboarding.skip': 'Skip',
diff --git a/packages/openapi/src/helpers/agent-policy-keys.test.ts b/packages/openapi/src/helpers/agent-policy-keys.test.ts
new file mode 100644
index 00000000000..6e922c86167
--- /dev/null
+++ b/packages/openapi/src/helpers/agent-policy-keys.test.ts
@@ -0,0 +1,61 @@
+import { describe, expect, it } from 'vitest';
+
+import { resolveClearedAgencyConfig, retainAgentPermissionPolicies } from './agent-policy-keys';
+
+describe('retainAgentPermissionPolicies', () => {
+ it('keeps the member permission policies when an unauthorized caller clears', () => {
+ // A workspace Admin holds `AGENT_UPDATE:all` and can clear anyone's agent
+ // config here, but writing these keys is the creator's and the workspace
+ // owner's alone — a clear must not become a way around that. (The caller
+ // side decides: an authorized creator or primary owner never reaches here
+ // and clears the column outright.)
+ expect(
+ retainAgentPermissionPolicies({
+ boundDeviceId: 'device-1',
+ executionTargetSelectionPolicy: 'fixed',
+ graph: { nodes: [] },
+ modelSelectionPolicy: 'fixed',
+ topicSharePolicy: 'restricted',
+ }),
+ ).toEqual({
+ executionTargetSelectionPolicy: 'fixed',
+ modelSelectionPolicy: 'fixed',
+ topicSharePolicy: 'restricted',
+ });
+ });
+
+ it('drops everything the schema could have set', () => {
+ expect(retainAgentPermissionPolicies({ graph: { nodes: [] } })).toBeNull();
+ });
+
+ it('clears the column outright when no policy was ever stored', () => {
+ expect(retainAgentPermissionPolicies(null)).toBeNull();
+ expect(retainAgentPermissionPolicies(undefined)).toBeNull();
+ expect(retainAgentPermissionPolicies({})).toBeNull();
+ });
+
+ it('keeps a policy explicitly stored as the permissive default', () => {
+ // `member` is the resolved default, but an author who set it deliberately
+ // should not have it erased either — the caller cannot express it.
+ expect(retainAgentPermissionPolicies({ topicSharePolicy: 'member' })).toEqual({
+ topicSharePolicy: 'member',
+ });
+ });
+});
+
+describe('resolveClearedAgencyConfig', () => {
+ const stored = { graph: { nodes: [] }, topicSharePolicy: 'restricted' };
+
+ it('clears outright for the agent creator or workspace primary owner', () => {
+ // They are exactly who `updateAgentConfig` lets write these keys, so the
+ // clear they asked for has to actually happen — including resetting a
+ // `restricted` policy back to the default.
+ expect(resolveClearedAgencyConfig(stored, true)).toBeNull();
+ });
+
+ it('keeps the policies for anyone else, such as a workspace Admin', () => {
+ expect(resolveClearedAgencyConfig(stored, false)).toEqual({
+ topicSharePolicy: 'restricted',
+ });
+ });
+});
diff --git a/packages/openapi/src/helpers/agent-policy-keys.ts b/packages/openapi/src/helpers/agent-policy-keys.ts
new file mode 100644
index 00000000000..987a5d359d5
--- /dev/null
+++ b/packages/openapi/src/helpers/agent-policy-keys.ts
@@ -0,0 +1,44 @@
+import { AGENT_PERMISSION_POLICY_KEYS } from '@lobechat/types';
+
+/**
+ * Keep the member permission policies of an agent's `agencyConfig` when the
+ * public API clears the column.
+ *
+ * `PATCH /api/v1/agents/:id` authorizes on `AGENT_UPDATE`, a scope workspace
+ * Admins hold for every member's agent, while writing these keys is reserved
+ * to the agent's creator and the workspace primary owner. The request schema
+ * cannot express them either way, so an `agencyConfig: null` from an Admin that
+ * dropped them would be a way around that gate rather than a caller clearing
+ * their own settings — for `topicSharePolicy` it would resolve back to `member`
+ * and reopen a restricted agent's topics to the whole workspace.
+ *
+ * Call this only for a caller who may NOT write the policies; an authorized
+ * creator or primary owner clears the column outright, exactly as before.
+ *
+ * Returns `null` when nothing needs keeping, so the column still clears in the
+ * ordinary case.
+ */
+export const retainAgentPermissionPolicies = (
+ existing: unknown,
+): Record<string, unknown> | null => {
+ const stored = (existing as Record<string, unknown>) ?? {};
+ const retained: Record<string, unknown> = {};
+
+ for (const key of AGENT_PERMISSION_POLICY_KEYS) {
+ if (key in stored) retained[key] = stored[key];
+ }
+
+ return Object.keys(retained).length > 0 ? retained : null;
+};
+
+/**
+ * What `agencyConfig` becomes when a `PATCH` clears the column.
+ *
+ * A caller who may write the policies gets the clear they asked for; anyone
+ * else keeps them — see {@link retainAgentPermissionPolicies} for why.
+ */
+export const resolveClearedAgencyConfig = (
+ existing: unknown,
+ canWritePolicies: boolean,
+): Record<string, unknown> | null =>
+ canWritePolicies ? null : retainAgentPermissionPolicies(existing);
diff --git a/packages/openapi/src/helpers/json-patch.test.ts b/packages/openapi/src/helpers/json-patch.test.ts
new file mode 100644
index 00000000000..8c8415a0299
--- /dev/null
+++ b/packages/openapi/src/helpers/json-patch.test.ts
@@ -0,0 +1,61 @@
+import { describe, expect, it } from 'vitest';
+
+import { mergeJsonPatch } from './json-patch';
+
+describe('mergeJsonPatch', () => {
+ it('keeps stored keys the request never mentioned', () => {
+ // The whole point: `agencyConfig` carries permission policies the public
+ // schema cannot express, and an unrelated graph edit must not delete them.
+ const merged = mergeJsonPatch(
+ { boundDeviceId: 'device-1', modelSelectionPolicy: 'fixed', topicSharePolicy: 'restricted' },
+ { graph: { nodes: [] } },
+ );
+
+ expect(merged).toEqual({
+ boundDeviceId: 'device-1',
+ graph: { nodes: [] },
+ modelSelectionPolicy: 'fixed',
+ topicSharePolicy: 'restricted',
+ });
+ });
+
+ it('overwrites the keys the request does mention', () => {
+ expect(mergeJsonPatch({ enableGraphMode: false, other: 1 }, { enableGraphMode: true })).toEqual(
+ {
+ enableGraphMode: true,
+ other: 1,
+ },
+ );
+ });
+
+ it('keeps an explicit null, which the schemas use as "cleared"', () => {
+ expect(mergeJsonPatch({ graph: { nodes: [] } }, { graph: null })).toEqual({ graph: null });
+ });
+
+ it('removes a key set to undefined', () => {
+ expect(mergeJsonPatch({ graph: { nodes: [] }, keep: 1 }, { graph: undefined })).toEqual({
+ keep: 1,
+ });
+ });
+
+ // Clearing a whole column is the caller's decision, not this helper's:
+ // `agent.service` maps an explicit `agencyConfig: null` to `null` before
+ // ever reaching here, while `params` has always treated it as a no-op.
+ it('leaves the stored object untouched when there is nothing to apply', () => {
+ const existing = { topicSharePolicy: 'restricted' };
+
+ expect(mergeJsonPatch(existing, null)).toEqual(existing);
+ expect(mergeJsonPatch(existing, undefined)).toEqual(existing);
+ });
+
+ it('starts from an empty object when nothing is stored yet', () => {
+ expect(mergeJsonPatch(null, { enableGraphMode: true })).toEqual({ enableGraphMode: true });
+ });
+
+ it('does not mutate the stored object', () => {
+ const existing = { topicSharePolicy: 'restricted' };
+ mergeJsonPatch(existing, { enableGraphMode: true });
+
+ expect(existing).toEqual({ topicSharePolicy: 'restricted' });
+ });
+});
diff --git a/packages/openapi/src/helpers/json-patch.ts b/packages/openapi/src/helpers/json-patch.ts
new file mode 100644
index 00000000000..75de4644872
--- /dev/null
+++ b/packages/openapi/src/helpers/json-patch.ts
@@ -0,0 +1,37 @@
+/**
+ * Apply a partial update to a JSON column without discarding the keys the
+ * request could not express.
+ *
+ * The public API schemas expose a *slice* of these columns — `agencyConfig`
+ * only carries the graph settings, for example — while the stored object also
+ * holds permission policies, device bindings and execution settings written by
+ * other surfaces. Assigning the request payload straight onto the column would
+ * therefore delete every field the caller never mentioned, which for
+ * `agencyConfig` means silently reopening a restricted agent's topic sharing.
+ *
+ * `undefined` removes a key (the only way a caller can drop one); a `null`
+ * *value* is kept, because the schemas use it as an explicit "cleared" field.
+ *
+ * A `null` *patch* is a no-op here. Whether a whole-column `null` clears the
+ * column is the caller's decision, not this helper's — `agencyConfig` and
+ * `chatConfig` clear on it, `params` never did.
+ */
+export const mergeJsonPatch = (
+ existing: unknown,
+ // `object`, not `Record<string, unknown>`: the callers pass interface-typed
+ // payloads (`LobeAgentChatConfig`), and a bare interface carries no implicit
+ // index signature, so it would not be assignable.
+ patch: object | null | undefined,
+): Record<string, unknown> => {
+ const merged = { ...(existing as Record<string, unknown>) };
+
+ for (const [key, value] of Object.entries(patch ?? {})) {
+ if (value === undefined) {
+ delete merged[key];
+ } else {
+ merged[key] = value;
+ }
+ }
+
+ return merged;
+};
diff --git a/packages/openapi/src/services/agent.service.ts b/packages/openapi/src/services/agent.service.ts
index 53398b50637..db2fd9461f2 100644
--- a/packages/openapi/src/services/agent.service.ts
+++ b/packages/openapi/src/services/agent.service.ts
@@ -5,8 +5,11 @@ import type { FileItem, KnowledgeBaseItem, NewAgent } from '@/database/schemas';
import { agents, agentsToSessions } from '@/database/schemas';
import type { LobeChatDatabase } from '@/database/type';
import { idGenerator, randomSlug } from '@/database/utils/idGenerator';
+import { isWorkspacePrimaryOwner } from '@/server/services/workspacePermission';
import { BaseService } from '../common/base.service';
+import { resolveClearedAgencyConfig } from '../helpers/agent-policy-keys';
+import { mergeJsonPatch } from '../helpers/json-patch';
import { processPaginationConditions } from '../helpers/pagination';
import {
projectPublicAgent,
@@ -156,10 +159,44 @@ export class AgentService extends BaseService {
const updateData: Record<string, unknown> = { updatedAt: new Date() };
if (request.agencyConfig !== undefined) {
- updateData.agencyConfig = request.agencyConfig ?? null;
+ // Merged, not replaced. The request schema exposes only the graph
+ // slice of `agencyConfig`, while the column also carries the member
+ // permission policies, device bindings and execution settings
+ // written elsewhere — so replacing the object would silently delete
+ // every one of them, including the topic-share policy that keeps a
+ // restricted agent's conversations from being published.
+ //
+ // An explicit `null` still clears the column, as it always did. What
+ // survives that clear depends on authority: this endpoint authorizes
+ // on `AGENT_UPDATE`, which workspace Admins hold for *everyone's*
+ // agents, while the policy keys are the agent creator's and the
+ // workspace primary owner's alone — the same gate `updateAgentConfig`
+ // applies. Without this an Admin could reset a `restricted` policy by
+ // clearing a column whose policy keys the schema cannot even express.
+ const canWritePolicies =
+ existingAgent.userId === this.userId ||
+ (!!existingAgent.workspaceId &&
+ (await isWorkspacePrimaryOwner({
+ db: tx,
+ userId: this.userId,
+ workspaceId: existingAgent.workspaceId,
+ })));
+
+ updateData.agencyConfig =
+ request.agencyConfig === null
+ ? resolveClearedAgencyConfig(existingAgent.agencyConfig, canWritePolicies)
+ : mergeJsonPatch(existingAgent.agencyConfig, request.agencyConfig);
}
if (request.avatar !== undefined) updateData.avatar = request.avatar ?? null;
- if (request.chatConfig !== undefined) updateData.chatConfig = request.chatConfig ?? null;
+ if (request.chatConfig !== undefined) {
+ // Same reason as `agencyConfig` above: the schema exposes 13 of
+ // `LobeAgentChatConfig`'s fields, so replacing the object would drop
+ // the two dozen a caller has no way to send back.
+ updateData.chatConfig =
+ request.chatConfig === null
+ ? null
+ : mergeJsonPatch(existingAgent.chatConfig, request.chatConfig);
+ }
if (request.description !== undefined) updateData.description = request.description ?? null;
if (request.model !== undefined) updateData.model = request.model ?? null;
if (request.provider !== undefined) updateData.provider = request.provider ?? null;
@@ -168,19 +205,7 @@ export class AgentService extends BaseService {
// Merge params instead of fully overwriting
if (request.params !== undefined) {
- const existingParams = (existingAgent.params as Record<string, unknown>) ?? {};
- const incomingParams = request.params ?? {};
- const mergedParams = { ...existingParams };
-
- for (const [key, value] of Object.entries(incomingParams)) {
- if (value === undefined) {
- delete mergedParams[key];
- } else {
- mergedParams[key] = value;
- }
- }
-
- updateData.params = mergedParams;
+ updateData.params = mergeJsonPatch(existingAgent.params, request.params);
}
// Update database
diff --git a/packages/types/src/agent/agencyConfig.test.ts b/packages/types/src/agent/agencyConfig.test.ts
index 23fe88c024c..2e462b95c02 100644
--- a/packages/types/src/agent/agencyConfig.test.ts
+++ b/packages/types/src/agent/agencyConfig.test.ts
@@ -4,10 +4,12 @@ import type { HeterogeneousProviderConfig } from './agencyConfig';
import {
buildHeteroExecArgs,
buildHeteroSpawnArgs,
+ canPublishAgentTopicLink,
normalizeHeterogeneousProviderConfig,
pruneWorkingDirByDeviceDeletes,
resolveAgencyConfig,
resolveAgentAgencyConfig,
+ resolveAgentTopicSharePolicy,
} from './agencyConfig';
import {
AMP_AGENT_MODES,
@@ -851,3 +853,62 @@ describe('resolveAgentAgencyConfig', () => {
).toEqual({ boundDeviceId: 'shared-device', executionTarget: 'device' });
});
});
+
+describe('resolveAgentTopicSharePolicy', () => {
+ it('never restricts a personal agent — there is nobody to restrict', () => {
+ expect(
+ resolveAgentTopicSharePolicy({
+ agencyConfig: { topicSharePolicy: 'restricted' },
+ workspaceId: null,
+ }),
+ ).toBe('member');
+ });
+
+ it('keeps legacy workspace rows on the behaviour they were created with', () => {
+ expect(resolveAgentTopicSharePolicy({ workspaceId: 'workspace-1' })).toBe('member');
+ expect(resolveAgentTopicSharePolicy({ agencyConfig: {}, workspaceId: 'workspace-1' })).toBe(
+ 'member',
+ );
+ });
+
+ it('honours an explicit restriction on a workspace agent', () => {
+ expect(
+ resolveAgentTopicSharePolicy({
+ agencyConfig: { topicSharePolicy: 'restricted' },
+ workspaceId: 'workspace-1',
+ }),
+ ).toBe('restricted');
+ });
+});
+
+describe('canPublishAgentTopicLink', () => {
+ const restricted = {
+ agencyConfig: { topicSharePolicy: 'restricted' as const },
+ userId: 'author',
+ workspaceId: 'workspace-1',
+ };
+
+ it('falls back to the role gate when no agent resolved', () => {
+ // Legacy session-only topics, or a row the caller cannot read: there is no
+ // policy to apply, so this must not become a second, silent denial.
+ expect(canPublishAgentTopicLink(undefined, { userId: 'member' })).toBe(true);
+ expect(canPublishAgentTopicLink(null, { userId: 'member' })).toBe(true);
+ });
+
+ it('blocks a plain member on a restricted agent', () => {
+ expect(canPublishAgentTopicLink(restricted, { userId: 'member' })).toBe(false);
+ });
+
+ it('lets the agent author and workspace owners through', () => {
+ expect(canPublishAgentTopicLink(restricted, { userId: 'author' })).toBe(true);
+ expect(canPublishAgentTopicLink(restricted, { isWorkspaceOwner: true, userId: 'member' })).toBe(
+ true,
+ );
+ });
+
+ it('does not match an author against a missing viewer id', () => {
+ expect(canPublishAgentTopicLink({ ...restricted, userId: null }, { userId: undefined })).toBe(
+ false,
+ );
+ });
+});
diff --git a/packages/types/src/agent/agencyConfig.ts b/packages/types/src/agent/agencyConfig.ts
index 9e836b03eb6..f7555de89ed 100644
--- a/packages/types/src/agent/agencyConfig.ts
+++ b/packages/types/src/agent/agencyConfig.ts
@@ -669,6 +669,24 @@ export type ExecutionTargetSelectionPolicy = 'fixed' | 'member';
*/
export type AgentModelSelectionPolicy = 'fixed' | 'member';
+/**
+ * Controls who may publish a share link for the topics a workspace agent
+ * holds.
+ *
+ * The permission is about the AGENT's topics, not just one's own: `member`
+ * (the default, which missing values resolve to) lets every workspace member
+ * publish any of this agent's topics they can open — including topics other
+ * members created. `restricted` narrows publishing to the agent's creator and
+ * workspace owners, the same "creator or workspace owner" bucket the
+ * Permission page's `canManage` uses.
+ *
+ * Only *publishing* is gated. Revoking a link (or the private placeholder the
+ * share popover creates on open) is never restricted: taking a topic back out
+ * of circulation is always safe, and blocking the placeholder would leave a
+ * restricted member staring at a popover that cannot load.
+ */
+export type AgentTopicSharePolicy = 'member' | 'restricted';
+
/**
* Agent agency configuration.
* Contains settings for agent execution modes and device binding.
@@ -768,6 +786,15 @@ export interface LobeAgentAgencyConfig {
model?: string | null;
provider?: string | null;
};
+ /**
+ * Who may publish a share link for this agent's topics. Missing values
+ * resolve to `member` for legacy rows — see {@link AgentTopicSharePolicy}.
+ *
+ * Enforced server-side in the topic share procedures; the share controls only
+ * mirror it so a restricted member sees a disabled button with a reason
+ * instead of a request that fails.
+ */
+ topicSharePolicy?: AgentTopicSharePolicy;
/**
* Ad-hoc verify criteria mounted directly on this agent, in addition to any
* `verifyRubricId`. Use for one-off checks that don't warrant a reusable
@@ -800,21 +827,81 @@ export interface LobeAgentAgencyConfig {
workingDirByDevice?: Record<string, WorkingDirConfigValue>;
}
+/**
+ * The `agencyConfig` keys that govern every workspace member rather than the
+ * agent's own behaviour, and which only the agent's creator or the workspace
+ * primary owner may write.
+ *
+ * Any surface that writes `agencyConfig` has to account for these: the TRPC
+ * writer strips them from an unauthorized patch, and the public API — whose
+ * schema cannot express them at all — must never drop them, not even when
+ * clearing the column.
+ */
+export const AGENT_PERMISSION_POLICY_KEYS = [
+ 'executionTargetSelectionPolicy',
+ 'modelSelectionPolicy',
+ 'topicSharePolicy',
+] as const satisfies readonly (keyof LobeAgentAgencyConfig)[];
+
/**
* Explicit defaults written when a workspace agent is created.
*
- * Members may choose their own model and execution environment by default.
- * Legacy public Workspace rows without a model policy resolve to the same
- * `member` default at runtime.
+ * Members may choose their own model and execution environment, and may share
+ * the agent's topics, by default. Legacy public Workspace rows without these
+ * policies resolve to the same `member` defaults at runtime.
*/
export const DEFAULT_WORKSPACE_AGENT_SELECTION_POLICIES = {
executionTargetSelectionPolicy: 'member',
modelSelectionPolicy: 'member',
+ topicSharePolicy: 'member',
} as const satisfies Pick<
LobeAgentAgencyConfig,
- 'executionTargetSelectionPolicy' | 'modelSelectionPolicy'
+ 'executionTargetSelectionPolicy' | 'modelSelectionPolicy' | 'topicSharePolicy'
>;
+/**
+ * Resolve who may publish a share link for a topic held by this agent.
+ *
+ * Personal (non-workspace) agents are never restricted — there is no one else
+ * to restrict — and legacy workspace rows without the field keep the `member`
+ * behaviour they were created with.
+ */
+export const resolveAgentTopicSharePolicy = (
+ shared: Pick<AgentTopicShareSubject, 'agencyConfig' | 'workspaceId'>,
+): AgentTopicSharePolicy => {
+ if (!shared.workspaceId) return 'member';
+
+ return shared.agencyConfig?.topicSharePolicy ?? 'member';
+};
+
+/** The agent fields a topic-share decision reads. */
+export interface AgentTopicShareSubject {
+ agencyConfig?: Pick<LobeAgentAgencyConfig, 'topicSharePolicy'> | null;
+ /** Creator of the agent — always allowed to publish its topics. */
+ userId?: string | null;
+ workspaceId?: string | null;
+}
+
+/**
+ * Whether `viewerId` may publish a share link for a topic held by this agent.
+ *
+ * The bypass bucket is deliberately the same one the Permission page calls
+ * `canManage`: the agent's creator, or a workspace owner (which the caller
+ * resolves — server-side from RBAC, client-side from the workspace role).
+ */
+export const canPublishAgentTopicLink = (
+ agent: AgentTopicShareSubject | null | undefined,
+ viewer: { isWorkspaceOwner?: boolean; userId?: string | null },
+): boolean => {
+ // No agent resolved (legacy session-only topic, or a row this caller cannot
+ // see): there is no policy to apply, so fall back to the role gate alone.
+ if (!agent) return true;
+ if (resolveAgentTopicSharePolicy(agent) === 'member') return true;
+ if (viewer.isWorkspaceOwner) return true;
+
+ return !!agent.userId && agent.userId === viewer.userId;
+};
+
/**
* The workspace-shared `agencyConfig` on the agent row is one row per agent —
* inherently a *single* execution decision for the whole workspace. Real users
diff --git a/src/features/AgentPermission/PermissionForm.tsx b/src/features/AgentPermission/PermissionForm.tsx
index 3c657dfc5e3..f59f9a682f0 100644
--- a/src/features/AgentPermission/PermissionForm.tsx
+++ b/src/features/AgentPermission/PermissionForm.tsx
@@ -1,11 +1,11 @@
'use client';
-import type { AgentModelSelectionPolicy } from '@lobechat/types';
+import type { AgentModelSelectionPolicy, AgentTopicSharePolicy } from '@lobechat/types';
import type { FormGroupItemType } from '@lobehub/ui';
import { Empty, Form, Icon } from '@lobehub/ui';
import { Alert } from '@lobehub/ui/base-ui';
import { createStaticStyles } from 'antd-style';
-import { Bot, InfoIcon, LockIcon, MonitorSmartphone, UsersIcon } from 'lucide-react';
+import { Bot, InfoIcon, LockIcon, MonitorSmartphone, Share2, UsersIcon } from 'lucide-react';
import { memo, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -40,6 +40,7 @@ const PermissionForm = memo<PermissionFormProps>(({ agentId }) => {
accessLevel,
accessLoading,
canEditConfig,
+ canEditPolicies,
canFixExecutionTarget,
canManageAccess,
executionTargetPolicy,
@@ -50,6 +51,8 @@ const PermissionForm = memo<PermissionFormProps>(({ agentId }) => {
setAccessLevel,
setExecutionTargetPolicy,
setModelPolicy,
+ setTopicSharePolicy,
+ topicSharePolicy,
} = useAgentPermission(agentId);
const labelKeys = getSelectionPolicyLabelKeys(isPrivate);
@@ -76,6 +79,32 @@ const PermissionForm = memo<PermissionFormProps>(({ agentId }) => {
const accessOptions = useAccessLevelOptions({ accessLevel, isPrivate });
+ // The three policy rows below share one authority: the server accepts them
+ // only from the agent's creator or the workspace owner, and silently drops
+ // them from anyone else's otherwise-successful save. Disable rather than
+ // hide, so an Admin can see what exists and who to ask.
+ const policiesDisabled = !canEditConfig || !canEditPolicies;
+
+ // Deliberately not a `member`/`fixed` pair like the rows below: sharing is a
+ // capability, not a setting members switch, so the labels name who may do it.
+ const topicSharePolicyOptions = useMemo(
+ (): PolicyOption<AgentTopicSharePolicy>[] => [
+ {
+ desc: t('permission.page.topicSharePolicyMemberDesc'),
+ icon: UsersIcon,
+ label: t('settingAgent.topicSharePolicy.membersCanShare'),
+ value: 'member',
+ },
+ {
+ desc: t('permission.page.topicSharePolicyRestrictedDesc'),
+ icon: LockIcon,
+ label: t('settingAgent.topicSharePolicy.membersCannotShare'),
+ value: 'restricted',
+ },
+ ],
+ [t],
+ );
+
const executionPolicyOptions = useMemo(
(): PolicyOption<AgentModelSelectionPolicy>[] => [
{
@@ -144,6 +173,29 @@ const PermissionForm = memo<PermissionFormProps>(({ agentId }) => {
: t('permission.noManagePermission'),
label: t('permission.page.accessLevelLabel'),
},
+ // Sits under Access rather than in Editable settings: that card is
+ // about run knobs a member may change for themselves, while this is
+ // one more thing the workspace may or may not do with the agent —
+ // exactly what the access row above already promises to describe.
+ {
+ avatar: (
+ <span className={styles.rowIcon}>
+ <Icon icon={Share2} size={16} />
+ </span>
+ ),
+ children: (
+ <PolicySelect
+ disabled={policiesDisabled}
+ options={topicSharePolicyOptions}
+ value={topicSharePolicy}
+ onChange={setTopicSharePolicy}
+ />
+ ),
+ desc: canEditPolicies
+ ? t('permission.page.topicSharePolicyDesc')
+ : t('permission.noManagePermission'),
+ label: t('settingAgent.topicSharePolicy.title'),
+ },
],
title: t('permission.page.memberGroup'),
}
@@ -159,13 +211,15 @@ const PermissionForm = memo<PermissionFormProps>(({ agentId }) => {
),
children: (
<PolicySelect
- disabled={!canEditConfig}
+ disabled={policiesDisabled}
options={modelPolicyOptions}
value={modelPolicy}
onChange={setModelPolicy}
/>
),
- desc: t('permission.page.modelPolicyDesc'),
+ desc: canEditPolicies
+ ? t('permission.page.modelPolicyDesc')
+ : t('permission.noManagePermission'),
label: t('settingAgent.modelPolicy.title'),
},
{
@@ -176,13 +230,15 @@ const PermissionForm = memo<PermissionFormProps>(({ agentId }) => {
),
children: (
<PolicySelect
- disabled={!canEditConfig}
+ disabled={policiesDisabled}
options={executionPolicyOptions}
value={executionTargetPolicy}
onChange={setExecutionTargetPolicy}
/>
),
- desc: t('permission.page.devicePolicyDesc'),
+ desc: canEditPolicies
+ ? t('permission.page.devicePolicyDesc')
+ : t('permission.noManagePermission'),
label: t('settingAgent.devicePolicy.title'),
},
],
diff --git a/src/features/AgentPermission/useAgentPermission.test.ts b/src/features/AgentPermission/useAgentPermission.test.ts
index 8f64bce7dd9..b0eb3f5dc74 100644
--- a/src/features/AgentPermission/useAgentPermission.test.ts
+++ b/src/features/AgentPermission/useAgentPermission.test.ts
@@ -8,9 +8,23 @@ const mocks = vi.hoisted(() => ({
accessError: undefined as unknown,
agentMap: {} as Record<string, object>,
devices: [] as unknown[],
+ isWorkspaceOwner: false,
permissionResourceId: undefined as string | undefined,
setAccessLevel: vi.fn(),
updateAgentConfigById: vi.fn(),
+ viewerId: 'admin' as string | undefined,
+}));
+
+vi.mock('@/hooks/usePermission', () => ({
+ usePermission: (action: string) =>
+ action === 'edit_others_content'
+ ? { allowed: mocks.isWorkspaceOwner, reason: 'requires owner' }
+ : { allowed: true, reason: undefined },
+}));
+
+vi.mock('@/store/user', () => ({
+ useUserStore: (selector: (state: unknown) => unknown) =>
+ selector({ user: { id: mocks.viewerId } }),
}));
vi.mock('@/features/DeviceManager/useDeviceList', () => ({
@@ -42,6 +56,7 @@ vi.mock('@/store/agent', () => ({
const workspaceAgent = (overrides: Record<string, unknown> = {}) => ({
agencyConfig: {},
+ userId: 'author',
visibility: 'public',
workspaceId: 'workspace-1',
...overrides,
@@ -62,10 +77,42 @@ describe('useAgentPermission', () => {
mocks.access = { accessLevel: 'use', canManage: true };
mocks.accessError = undefined;
mocks.devices = [];
+ mocks.isWorkspaceOwner = false;
+ mocks.viewerId = 'admin';
mocks.permissionResourceId = undefined;
mocks.agentMap = { 'agent-1': workspaceAgent() };
});
+ describe('policy write authority', () => {
+ // The server accepts the policy keys only from the agent's creator or the
+ // workspace owner, and strips them from anyone else's *successful* save —
+ // so a control the page leaves enabled would discard the choice in silence.
+ it('denies a workspace Admin who can otherwise edit the agent', () => {
+ const { result } = setup();
+
+ expect(result.current.canEditConfig).toBe(true);
+ expect(result.current.canEditPolicies).toBe(false);
+ });
+
+ it('allows the agent creator', () => {
+ mocks.viewerId = 'author';
+
+ expect(setup().result.current.canEditPolicies).toBe(true);
+ });
+
+ it('allows the workspace owner who did not create the agent', () => {
+ mocks.isWorkspaceOwner = true;
+
+ expect(setup().result.current.canEditPolicies).toBe(true);
+ });
+
+ it('stays denied while the agent row has not loaded', () => {
+ mocks.agentMap = {};
+
+ expect(setup().result.current.canEditPolicies).toBe(false);
+ });
+ });
+
it('exposes member access for a shared workspace agent', () => {
const { result } = setup();
@@ -104,6 +151,27 @@ describe('useAgentPermission', () => {
expect(result.current.executionTargetPolicy).toBe('member');
});
+ it('defaults topic sharing to member, so legacy agents keep sharing', () => {
+ const { result } = setup();
+
+ expect(result.current.topicSharePolicy).toBe('member');
+ });
+
+ it('reads and saves the topic-share policy through the agent config', () => {
+ mocks.agentMap = {
+ 'agent-1': workspaceAgent({ agencyConfig: { topicSharePolicy: 'restricted' } }),
+ };
+
+ const { result } = setup();
+ expect(result.current.topicSharePolicy).toBe('restricted');
+
+ result.current.setTopicSharePolicy('member');
+
+ expect(mocks.updateAgentConfigById).toHaveBeenCalledWith('agent-1', {
+ agencyConfig: { topicSharePolicy: 'member' },
+ });
+ });
+
it('reads the stored intent on a private agent instead of the run-time resolution', () => {
// `resolveAgentModelSelectionPolicy` would answer `fixed` here (a private
// agent has no members), which would strand the control on "can't switch".
diff --git a/src/features/AgentPermission/useAgentPermission.ts b/src/features/AgentPermission/useAgentPermission.ts
index 765901692a1..4cdd3df2c90 100644
--- a/src/features/AgentPermission/useAgentPermission.ts
+++ b/src/features/AgentPermission/useAgentPermission.ts
@@ -1,6 +1,6 @@
'use client';
-import type { AgentModelSelectionPolicy } from '@lobechat/types';
+import type { AgentModelSelectionPolicy, AgentTopicSharePolicy } from '@lobechat/types';
import { useAgentSelectionPolicies } from '@/features/ResourcePermission/useAgentSelectionPolicies';
import { useResourcePermission } from '@/features/ResourcePermission/useResourcePermission';
@@ -14,6 +14,12 @@ export interface AgentPermissionState {
accessLoading: boolean;
/** Only the creator or a workspace owner may change member selection policies. */
canEditConfig: boolean;
+ /**
+ * Whether the viewer may write the three policy rows. Narrower than
+ * {@link AgentPermissionState.canEditConfig} — see
+ * `AgentSelectionPoliciesState.canEditPolicies`.
+ */
+ canEditPolicies: boolean;
/** Members can be assigned a target only if one is actually resolvable. */
canFixExecutionTarget: boolean;
/** Only the creator or a workspace owner may re-level members. */
@@ -26,6 +32,9 @@ export interface AgentPermissionState {
setAccessLevel: (level: ResourceAccessLevel) => void;
setExecutionTargetPolicy: (policy: AgentModelSelectionPolicy) => void;
setModelPolicy: (policy: AgentModelSelectionPolicy) => void;
+ setTopicSharePolicy: (policy: AgentTopicSharePolicy) => void;
+ /** Whether members may publish share links for the topics held here. */
+ topicSharePolicy: AgentTopicSharePolicy;
}
/**
diff --git a/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx b/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx
index 81176b7086c..77346195010 100644
--- a/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx
+++ b/src/features/AgentTasks/AgentTaskDetail/TopicChatDrawer/index.tsx
@@ -6,7 +6,15 @@ import type { DropdownItem } from '@lobehub/ui';
import { ActionIcon, copyToClipboard, DropdownMenu, Flexbox, Freeze, Tag, Text } from '@lobehub/ui';
import { confirmModal, FloatingPanel, toast } from '@lobehub/ui/base-ui';
import { cssVar } from 'antd-style';
-import { Copy, ExternalLink, Maximize2, Minimize2, MoreHorizontal, Share2, Trash } from 'lucide-react';
+import {
+ Copy,
+ ExternalLink,
+ Maximize2,
+ Minimize2,
+ MoreHorizontal,
+ Share2,
+ Trash,
+} from 'lucide-react';
import { memo, useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -300,7 +308,7 @@ const TopicChatDrawer = memo(() => {
onClick={() => setExpanded((value) => !value)}
/>
{enableTopicLinkShare && canShare ? (
- <SharePopover topicId={topicId} onOpenModal={openShareModal}>
+ <SharePopover agentId={agentId ?? undefined} topicId={topicId} onOpenModal={openShareModal}>
{shareIcon}
</SharePopover>
) : (
diff --git a/src/features/GroupPermission/PermissionForm.tsx b/src/features/GroupPermission/PermissionForm.tsx
index e16a9e8c4de..d786b73b424 100644
--- a/src/features/GroupPermission/PermissionForm.tsx
+++ b/src/features/GroupPermission/PermissionForm.tsx
@@ -1,11 +1,11 @@
'use client';
-import type { AgentModelSelectionPolicy } from '@lobechat/types';
+import type { AgentModelSelectionPolicy, AgentTopicSharePolicy } from '@lobechat/types';
import type { FormGroupItemType } from '@lobehub/ui';
import { Empty, Form, Icon } from '@lobehub/ui';
import { Alert } from '@lobehub/ui/base-ui';
import { createStaticStyles } from 'antd-style';
-import { Bot, InfoIcon, LockIcon, MonitorSmartphone, UsersIcon } from 'lucide-react';
+import { Bot, InfoIcon, LockIcon, MonitorSmartphone, Share2, UsersIcon } from 'lucide-react';
import { memo, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -41,6 +41,7 @@ const PermissionForm = memo<PermissionFormProps>(({ groupId }) => {
accessLevel,
accessLoading,
canEditConfig,
+ canEditPolicies,
canFixExecutionTarget,
canManageAccess,
executionTargetPolicy,
@@ -52,9 +53,16 @@ const PermissionForm = memo<PermissionFormProps>(({ groupId }) => {
setAccessLevel,
setExecutionTargetPolicy,
setModelPolicy,
+ setTopicSharePolicy,
+ topicSharePolicy,
} = useGroupPermission(groupId);
const accessOptions = useAccessLevelOptions({ accessLevel, isPrivate });
+
+ // Same authority as the Agent page: these write the supervisor agent's
+ // policy keys, which the server accepts only from its creator or the
+ // workspace owner and silently drops from anyone else's save.
+ const policiesDisabled = !canEditConfig || !canEditPolicies;
const labelKeys = getSelectionPolicyLabelKeys(isPrivate);
const sections = resolveGroupPermissionSections({
accessError,
@@ -64,6 +72,26 @@ const PermissionForm = memo<PermissionFormProps>(({ groupId }) => {
isWorkspaceGroup,
});
+ // Deliberately not a `member`/`fixed` pair like the rows below: sharing is a
+ // capability, not a setting members switch, so the labels name who may do it.
+ const topicSharePolicyOptions = useMemo(
+ (): PolicyOption<AgentTopicSharePolicy>[] => [
+ {
+ desc: t('permission.page.groupTopicSharePolicyMemberDesc'),
+ icon: UsersIcon,
+ label: t('settingAgent.topicSharePolicy.membersCanShare'),
+ value: 'member',
+ },
+ {
+ desc: t('permission.page.groupTopicSharePolicyRestrictedDesc'),
+ icon: LockIcon,
+ label: t('settingAgent.topicSharePolicy.membersCannotShare'),
+ value: 'restricted',
+ },
+ ],
+ [t],
+ );
+
const modelPolicyOptions = useMemo(
(): PolicyOption<AgentModelSelectionPolicy>[] => [
{
@@ -146,6 +174,33 @@ const PermissionForm = memo<PermissionFormProps>(({ groupId }) => {
desc: t(sections.accessDescKey),
label: t('permission.page.accessLevelLabel'),
},
+ // Group topics are stored against the supervisor agent, so this row
+ // writes the same field the Agent Permission page does. Without it
+ // the policy would still apply to group conversations with no way to
+ // see or change it from the group.
+ ...(sections.showConfigCard
+ ? [
+ {
+ avatar: (
+ <span className={styles.rowIcon}>
+ <Icon icon={Share2} size={16} />
+ </span>
+ ),
+ children: (
+ <PolicySelect
+ disabled={policiesDisabled}
+ options={topicSharePolicyOptions}
+ value={topicSharePolicy}
+ onChange={setTopicSharePolicy}
+ />
+ ),
+ desc: canEditPolicies
+ ? t('permission.page.groupTopicSharePolicyDesc')
+ : t('permission.noManagePermission'),
+ label: t('settingAgent.topicSharePolicy.title'),
+ },
+ ]
+ : []),
],
title: t('permission.page.memberGroup'),
}
@@ -165,13 +220,15 @@ const PermissionForm = memo<PermissionFormProps>(({ groupId }) => {
),
children: (
<PolicySelect
- disabled={!canEditConfig}
+ disabled={policiesDisabled}
options={modelPolicyOptions}
value={modelPolicy}
onChange={setModelPolicy}
/>
),
- desc: t('permission.page.groupModelPolicyDesc'),
+ desc: canEditPolicies
+ ? t('permission.page.groupModelPolicyDesc')
+ : t('permission.noManagePermission'),
label: t('settingAgent.modelPolicy.title'),
},
{
@@ -182,13 +239,15 @@ const PermissionForm = memo<PermissionFormProps>(({ groupId }) => {
),
children: (
<PolicySelect
- disabled={!canEditConfig}
+ disabled={policiesDisabled}
options={executionPolicyOptions}
value={executionTargetPolicy}
onChange={setExecutionTargetPolicy}
/>
),
- desc: t('permission.page.groupDevicePolicyDesc'),
+ desc: canEditPolicies
+ ? t('permission.page.groupDevicePolicyDesc')
+ : t('permission.noManagePermission'),
label: t('settingAgent.devicePolicy.title'),
},
],
diff --git a/src/features/GroupPermission/useGroupPermission.test.ts b/src/features/GroupPermission/useGroupPermission.test.ts
index 9463fecb5d2..2f960a02a29 100644
--- a/src/features/GroupPermission/useGroupPermission.test.ts
+++ b/src/features/GroupPermission/useGroupPermission.test.ts
@@ -12,6 +12,7 @@ const mocks = vi.hoisted(() => ({
policiesAgentId: undefined as string | undefined,
setAccessLevel: vi.fn(),
setModelPolicy: vi.fn(),
+ setTopicSharePolicy: vi.fn(),
}));
vi.mock('@/hooks/usePermission', () => ({
@@ -30,6 +31,8 @@ vi.mock('@/features/ResourcePermission/useAgentSelectionPolicies', () => ({
modelPolicy: 'member',
setExecutionTargetPolicy: vi.fn(),
setModelPolicy: mocks.setModelPolicy,
+ setTopicSharePolicy: mocks.setTopicSharePolicy,
+ topicSharePolicy: 'member',
};
},
}));
@@ -149,6 +152,18 @@ describe('useGroupPermission', () => {
expect(mocks.setModelPolicy).toHaveBeenCalledWith('fixed');
});
+ it('routes the topic-share policy to the supervisor too', () => {
+ // A group conversation is a conversation with its supervisor, so the
+ // policy the group page writes is the one its topics are gated on.
+ const { result } = setup();
+
+ expect(result.current.topicSharePolicy).toBe('member');
+
+ result.current.setTopicSharePolicy('restricted');
+ expect(mocks.setTopicSharePolicy).toHaveBeenCalledWith('restricted');
+ expect(mocks.policiesAgentId).toBe('agt-supervisor');
+ });
+
it('reports a group whose supervisor has not resolved yet', () => {
mocks.groupMap = { 'group-1': workspaceGroup({ supervisorAgentId: undefined }) };
diff --git a/src/features/GroupPermission/useGroupPermission.ts b/src/features/GroupPermission/useGroupPermission.ts
index 6806421f508..2e2bdc39180 100644
--- a/src/features/GroupPermission/useGroupPermission.ts
+++ b/src/features/GroupPermission/useGroupPermission.ts
@@ -1,6 +1,6 @@
'use client';
-import type { AgentModelSelectionPolicy } from '@lobechat/types';
+import type { AgentModelSelectionPolicy, AgentTopicSharePolicy } from '@lobechat/types';
import { useAgentSelectionPolicies } from '@/features/ResourcePermission/useAgentSelectionPolicies';
import { useResourcePermission } from '@/features/ResourcePermission/useResourcePermission';
@@ -15,6 +15,12 @@ export interface GroupPermissionState {
accessLoading: boolean;
/** Role-level gate for the model / execution-environment policies. */
canEditConfig: boolean;
+ /**
+ * Whether the viewer may write the three policy rows. Narrower than
+ * {@link GroupPermissionState.canEditConfig} — see
+ * `AgentSelectionPoliciesState.canEditPolicies`.
+ */
+ canEditPolicies: boolean;
/** Fixing needs an execution environment resolvable on the supervisor. */
canFixExecutionTarget: boolean;
/** Only the creator or a workspace owner may re-level members. */
@@ -29,6 +35,9 @@ export interface GroupPermissionState {
setAccessLevel: (level: ResourceAccessLevel) => void;
setExecutionTargetPolicy: (policy: AgentModelSelectionPolicy) => void;
setModelPolicy: (policy: AgentModelSelectionPolicy) => void;
+ setTopicSharePolicy: (policy: AgentTopicSharePolicy) => void;
+ /** Whether members may publish share links for the topics held here. */
+ topicSharePolicy: AgentTopicSharePolicy;
}
/**
diff --git a/src/features/ResourcePermission/useAgentSelectionPolicies.ts b/src/features/ResourcePermission/useAgentSelectionPolicies.ts
index dba38559814..77e2cbca4e5 100644
--- a/src/features/ResourcePermission/useAgentSelectionPolicies.ts
+++ b/src/features/ResourcePermission/useAgentSelectionPolicies.ts
@@ -1,6 +1,10 @@
'use client';
-import type { AgentModelSelectionPolicy, LobeAgentAgencyConfig } from '@lobechat/types';
+import type {
+ AgentModelSelectionPolicy,
+ AgentTopicSharePolicy,
+ LobeAgentAgencyConfig,
+} from '@lobechat/types';
import { useCallback, useMemo } from 'react';
import { useDeviceList } from '@/features/DeviceManager/useDeviceList';
@@ -9,21 +13,38 @@ import {
resolveExecutionTargetSelection,
} from '@/features/ExecutionTargetPicker';
import { isHeterogeneousSandboxExecutionAvailable } from '@/helpers/executionTarget';
+import { usePermission } from '@/hooks/usePermission';
import { useAgentStore } from '@/store/agent';
import { agentByIdSelectors } from '@/store/agent/selectors';
+import { useUserStore } from '@/store/user';
+import { userProfileSelectors } from '@/store/user/selectors';
export interface AgentSelectionPoliciesState {
+ /**
+ * Whether the viewer may write these policies at all.
+ *
+ * Deliberately narrower than the Permission page's `canEditConfig`: a
+ * workspace Admin holds `agent:update:all` and so may edit the agent, but the
+ * server strips every policy key unless the caller is the agent's creator or
+ * the workspace owner — and it strips them from an otherwise *successful*
+ * mutation. An enabled control would therefore accept the choice, report no
+ * error, and silently discard it.
+ */
+ canEditPolicies: boolean;
/** Members can be assigned a target only if one is actually resolvable. */
canFixExecutionTarget: boolean;
executionTargetPolicy: AgentModelSelectionPolicy;
modelPolicy: AgentModelSelectionPolicy;
setExecutionTargetPolicy: (policy: AgentModelSelectionPolicy) => void;
setModelPolicy: (policy: AgentModelSelectionPolicy) => void;
+ setTopicSharePolicy: (policy: AgentTopicSharePolicy) => void;
+ topicSharePolicy: AgentTopicSharePolicy;
}
/**
- * The "Editable settings" half of a Permission page: what a workspace member
- * may switch for their own conversations / runs with ONE agent.
+ * The member-facing policies of a Permission page: what a workspace member may
+ * switch for their own conversations / runs with ONE agent, plus whether they
+ * may publish that agent's topics as share links.
*
* Shared by the Agent page and the Agent Group page, because a group's
* conversation *is* a conversation with its supervisor agent — the group chat
@@ -40,6 +61,12 @@ export interface AgentSelectionPoliciesState {
export const useAgentSelectionPolicies = (agentId: string): AgentSelectionPoliciesState => {
const agent = useAgentStore(agentByIdSelectors.getAgentById(agentId));
const updateAgentConfigById = useAgentStore((s) => s.updateAgentConfigById);
+ // Mirrors the server's policy-write gate. The workspace `owner` role is
+ // bound to `workspaces.primaryOwnerId` (a second 'owner' membership resolves
+ // to 'admin'), so this is the same single user the server checks; personal
+ // mode reports allowed, which is right — there are no members to govern.
+ const { allowed: isWorkspaceOwner } = usePermission('edit_others_content');
+ const viewerId = useUserStore(userProfileSelectors.userId);
const { data: devices } = useDeviceList();
const publicWorkspaceDevices = useMemo(
@@ -86,7 +113,16 @@ export const useAgentSelectionPolicies = (agentId: string): AgentSelectionPolici
[saveAgencyConfig],
);
+ const setTopicSharePolicy = useCallback(
+ (policy: AgentTopicSharePolicy) => void saveAgencyConfig({ topicSharePolicy: policy }),
+ [saveAgencyConfig],
+ );
+
return {
+ // An unresolved agent leaves the controls disabled rather than enabled:
+ // the values shown above come from the same row, so there is nothing
+ // meaningful to edit until it loads.
+ canEditPolicies: isWorkspaceOwner || (!!agent?.userId && agent.userId === viewerId),
canFixExecutionTarget:
!!executionSelection &&
(executionSelection.target !== 'sandbox' ||
@@ -95,5 +131,7 @@ export const useAgentSelectionPolicies = (agentId: string): AgentSelectionPolici
modelPolicy: agencyConfig?.modelSelectionPolicy ?? 'member',
setExecutionTargetPolicy,
setModelPolicy,
+ setTopicSharePolicy,
+ topicSharePolicy: agencyConfig?.topicSharePolicy ?? 'member',
};
};
diff --git a/src/features/SharePopover/index.tsx b/src/features/SharePopover/index.tsx
index b0d2de2dcfb..098de236df7 100644
--- a/src/features/SharePopover/index.tsx
+++ b/src/features/SharePopover/index.tsx
@@ -20,6 +20,7 @@ import useSWR from 'swr';
import { useAppOrigin } from '@/hooks/useAppOrigin';
import { useIsMobile } from '@/hooks/useIsMobile';
import { usePermission } from '@/hooks/usePermission';
+import { useTopicSharePermission } from '@/hooks/useTopicSharePermission';
import { shareKeys } from '@/libs/swr/keys';
import { topicService } from '@/services/topic';
import { useChatStore } from '@/store/chat';
@@ -38,11 +39,13 @@ const PRIVACY_WARNING_ITEMS = [
] as const;
interface SharePopoverContentProps {
+ /** Owner of the topic — carries the agent-level topic-share policy. */
+ agentId?: string;
onOpenModal?: () => void;
topicId?: string;
}
-const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topicId }) => {
+const SharePopoverContent = memo<SharePopoverContentProps>(({ agentId, onOpenModal, topicId }) => {
const { t } = useTranslation('chat');
const [updating, setUpdating] = useState(false);
@@ -50,6 +53,11 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
const containerRef = useRef<HTMLDivElement>(null);
const appOrigin = useAppOrigin();
const { allowed: canShare, reason } = usePermission('edit_own_content');
+ // Narrower than `canShare`: publishing a link may be reserved to the agent's
+ // creator and workspace owners. Export and revoking stay open to everyone who
+ // can reach this popover at all.
+ const { allowed: canPublishLink, reason: publishRestrictedReason } =
+ useTopicSharePermission(agentId);
const chatActiveTopicId = useChatStore((s) => s.activeTopicId);
const activeTopicId = topicId ?? chatActiveTopicId;
@@ -74,8 +82,11 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
// Auto-create share record if not exists. Surface failures (e.g. a 403 from
// the share permission gate) instead of leaving the popover on the skeleton.
+ // Skipped entirely when the caller cannot publish: the placeholder is of no
+ // use to them, and under a restricted agent the server would refuse it.
useEffect(() => {
- if (isLoading || loadError || shareInfo || !activeTopicId || !canShare) return;
+ if (isLoading || loadError || shareInfo || !activeTopicId || !canShare || !canPublishLink)
+ return;
// One attempt per topic — a rerender must not retry a create we know failed.
if (failedTopicId === activeTopicId) return;
@@ -83,7 +94,16 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
.enableSharing(activeTopicId, 'private')
.then(() => mutate())
.catch(() => setFailedTopicId(activeTopicId));
- }, [isLoading, loadError, shareInfo, activeTopicId, canShare, failedTopicId, mutate]);
+ }, [
+ isLoading,
+ loadError,
+ shareInfo,
+ activeTopicId,
+ canShare,
+ canPublishLink,
+ failedTopicId,
+ mutate,
+ ]);
const shareUrl = shareInfo?.id ? `${appOrigin}/share/t/${shareInfo.id}` : '';
const currentVisibility = (shareInfo?.visibility as Visibility) || 'private';
@@ -114,6 +134,10 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
const handleVisibilityChange = useCallback(
(visibility: Visibility) => {
+ // The `link` option is already disabled in that case; this is the guard
+ // that keeps a keyboard selection from racing past it.
+ if (visibility === 'link' && !canPublishLink) return;
+
// Show confirmation when changing from private to link (unless user has dismissed it)
if (
currentVisibility === 'private' &&
@@ -158,7 +182,14 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
updateVisibility(visibility);
}
},
- [currentVisibility, hideTopicSharePrivacyWarning, t, updateSystemStatus, updateVisibility],
+ [
+ canPublishLink,
+ currentVisibility,
+ hideTopicSharePrivacyWarning,
+ t,
+ updateSystemStatus,
+ updateVisibility,
+ ],
);
const handleCopyLink = useCallback(async () => {
@@ -202,8 +233,9 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
);
}
- // Loading state
- if (isLoading || !shareInfo) {
+ // Loading state. Without a share record a restricted caller still gets the
+ // real body (visibility defaults to private) instead of an eternal skeleton.
+ if (isLoading || (!shareInfo && canPublishLink)) {
return (
<Flexbox className={styles.container} gap={16}>
<Text strong>{t('share', { ns: 'common' })}</Text>
@@ -219,6 +251,7 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
value: 'private',
},
{
+ disabled: !canPublishLink,
icon: <LinkIcon size={14} />,
label: t('shareModal.link.permissionLink'),
value: 'link',
@@ -226,6 +259,10 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
];
const getVisibilityHint = () => {
+ // Why the link option is greyed out matters more than restating what
+ // "private" means — a member who can't publish needs to know who to ask.
+ if (!canPublishLink && currentVisibility === 'private') return publishRestrictedReason;
+
switch (currentVisibility) {
case 'private': {
return t('shareModal.link.privateHint');
@@ -287,20 +324,24 @@ const SharePopoverContent = memo<SharePopoverContentProps>(({ onOpenModal, topic
});
interface SharePopoverProps {
+ /** Owner of the topic — carries the agent-level topic-share policy. */
+ agentId?: string;
children?: ReactNode;
onOpenModal?: () => void;
topicId?: string;
}
-const SharePopover = memo<SharePopoverProps>(({ children, onOpenModal, topicId }) => {
+const SharePopover = memo<SharePopoverProps>(({ agentId, children, onOpenModal, topicId }) => {
const isMobile = useIsMobile();
return (
<Popover
arrow={false}
- content={<SharePopoverContent topicId={topicId} onOpenModal={onOpenModal} />}
placement={isMobile ? 'top' : 'bottomRight'}
trigger={['click']}
+ content={
+ <SharePopoverContent agentId={agentId} topicId={topicId} onOpenModal={onOpenModal} />
+ }
styles={{
content: {
padding: 0,
diff --git a/src/hooks/useTopicSharePermission.test.ts b/src/hooks/useTopicSharePermission.test.ts
new file mode 100644
index 00000000000..41da3807d90
--- /dev/null
+++ b/src/hooks/useTopicSharePermission.test.ts
@@ -0,0 +1,93 @@
+import { renderHook } from '@testing-library/react';
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import { useTopicSharePermission } from './useTopicSharePermission';
+
+const mocks = vi.hoisted(() => ({
+ agentMap: {} as Record<string, object>,
+ permissions: {
+ edit_others_content: { allowed: false, reason: 'requires owner' },
+ edit_own_content: { allowed: true, reason: undefined as string | undefined },
+ } as Record<string, { allowed: boolean; reason?: string }>,
+ userId: 'member' as string | undefined,
+}));
+
+vi.mock('@/hooks/usePermission', () => ({
+ usePermission: (action: string) => mocks.permissions[action],
+}));
+
+vi.mock('react-i18next', () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock('@/store/agent', () => ({
+ useAgentStore: (selector: (state: unknown) => unknown) => selector({ agentMap: mocks.agentMap }),
+}));
+
+vi.mock('@/store/user', () => ({
+ useUserStore: (selector: (state: unknown) => unknown) => selector({ user: { id: mocks.userId } }),
+}));
+
+const restrictedAgent = {
+ agencyConfig: { topicSharePolicy: 'restricted' },
+ userId: 'author',
+ workspaceId: 'workspace-1',
+};
+
+const setup = (agentId?: string) => renderHook(() => useTopicSharePermission(agentId));
+
+describe('useTopicSharePermission', () => {
+ beforeEach(() => {
+ mocks.permissions = {
+ edit_others_content: { allowed: false, reason: 'requires owner' },
+ edit_own_content: { allowed: true, reason: undefined },
+ };
+ mocks.userId = 'member';
+ mocks.agentMap = { 'agent-1': restrictedAgent };
+ });
+
+ it('reports the role gate verbatim when the role itself blocks sharing', () => {
+ // A viewer has to hear "your role can't do this", not the agent's policy.
+ mocks.permissions.edit_own_content = { allowed: false, reason: 'requires member' };
+
+ const { result } = setup('agent-1');
+
+ expect(result.current).toEqual({ allowed: false, reason: 'requires member' });
+ });
+
+ it('blocks a member on a restricted agent and says who to ask', () => {
+ const { result } = setup('agent-1');
+
+ expect(result.current.allowed).toBe(false);
+ expect(result.current.reason).toBe('workspace.permission.topicShareRestricted');
+ });
+
+ it('lets the agent author through', () => {
+ mocks.userId = 'author';
+
+ expect(setup('agent-1').result.current.allowed).toBe(true);
+ });
+
+ it('lets a workspace owner through', () => {
+ mocks.permissions.edit_others_content = { allowed: true };
+
+ expect(setup('agent-1').result.current.allowed).toBe(true);
+ });
+
+ it('allows sharing while the agent row is still absent from the store', () => {
+ // The server refuses the write either way; enabling a beat early beats a
+ // control that claims to be blocked and then isn't.
+ expect(setup('agent-missing').result.current.allowed).toBe(true);
+ expect(setup(undefined).result.current.allowed).toBe(true);
+ });
+
+ it('leaves personal and default-policy agents unrestricted', () => {
+ mocks.agentMap = {
+ 'agent-personal': { ...restrictedAgent, workspaceId: null },
+ 'agent-default': { agencyConfig: {}, userId: 'author', workspaceId: 'workspace-1' },
+ };
+
+ expect(setup('agent-personal').result.current.allowed).toBe(true);
+ expect(setup('agent-default').result.current.allowed).toBe(true);
+ });
+});
diff --git a/src/hooks/useTopicSharePermission.ts b/src/hooks/useTopicSharePermission.ts
new file mode 100644
index 00000000000..767248cfad2
--- /dev/null
+++ b/src/hooks/useTopicSharePermission.ts
@@ -0,0 +1,56 @@
+import { canPublishAgentTopicLink } from '@lobechat/types';
+import { useTranslation } from 'react-i18next';
+
+import { type Permission, usePermission } from '@/hooks/usePermission';
+import { useAgentStore } from '@/store/agent';
+import { agentByIdSelectors } from '@/store/agent/selectors';
+import { useUserStore } from '@/store/user';
+import { userProfileSelectors } from '@/store/user/selectors';
+
+/**
+ * Whether the active user may publish a share link for a topic held by
+ * `agentId`, and why not when they may not.
+ *
+ * Two gates in order:
+ *
+ * 1. the workspace role gate every content write goes through
+ * (`edit_own_content`), and
+ * 2. the agent's own `topicSharePolicy`, which an author sets on the Permission
+ * page to keep members from publishing that agent's conversations. The
+ * policy is per-agent, not per-topic: under `member` a member may publish
+ * any of the agent's topics they can open, so topic ownership plays no part
+ * here.
+ *
+ * This only mirrors the server — `assertCanManageTopicShare` in the topic
+ * router is the enforcing copy. Mirroring it is still worth it: without the
+ * policy here a restricted member would get a share popover that looks armed
+ * and then fails on click, instead of a disabled control that says who to ask.
+ *
+ * An unloaded agent reads as unrestricted (the row simply isn't in the store
+ * yet); the server refuses the write either way, so the worst case is a control
+ * that enables a beat early rather than one that lies about being blocked.
+ */
+export const useTopicSharePermission = (agentId?: string): Permission => {
+ const { t } = useTranslation('setting');
+ const role = usePermission('edit_own_content');
+ // Workspace owners bypass every per-agent restriction — the same bucket the
+ // server grants through the `topic:update:all` scope.
+ const { allowed: isWorkspaceOwner } = usePermission('edit_others_content');
+ const agent = useAgentStore(agentByIdSelectors.getAgentById(agentId ?? ''));
+ const userId = useUserStore(userProfileSelectors.userId);
+
+ if (!role.allowed) return role;
+
+ const canShare = canPublishAgentTopicLink(
+ agent && {
+ agencyConfig: agent.agencyConfig,
+ userId: agent.userId,
+ workspaceId: agent.workspaceId,
+ },
+ { isWorkspaceOwner, userId },
+ );
+
+ if (canShare) return { allowed: true, reason: undefined };
+
+ return { allowed: false, reason: t('workspace.permission.topicShareRestricted') };
+};
diff --git a/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx b/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx
index 8e168e3bc1b..957ec7ca023 100644
--- a/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx
+++ b/src/routes/(main)/agent/features/Conversation/Header/ShareButton/index.tsx
@@ -23,7 +23,7 @@ interface ShareButtonProps {
const ShareButton = memo<ShareButtonProps>(({ mobile, setOpen, open }) => {
const { openShareModal } = useShareModal({ open, setOpen });
const { t } = useTranslation('common');
- const { topicId } = useAgentContext();
+ const { agentId, topicId } = useAgentContext();
const enableTopicLinkShare = useServerConfigStore(serverConfigSelectors.enableBusinessFeatures);
const { allowed: canShare, reason } = usePermission('edit_own_content');
@@ -48,7 +48,9 @@ const ShareButton = memo<ShareButtonProps>(({ mobile, setOpen, open }) => {
return (
<>
{enableTopicLinkShare ? (
- <SharePopover onOpenModal={openShareModal}>{iconButton}</SharePopover>
+ <SharePopover agentId={agentId} onOpenModal={openShareModal}>
+ {iconButton}
+ </SharePopover>
) : (
iconButton
)}
diff --git a/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.test.tsx b/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.test.tsx
index da2373b6701..8764cd0a525 100644
--- a/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.test.tsx
+++ b/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.test.tsx
@@ -55,9 +55,8 @@ vi.mock('@/hooks/usePermission', () => ({
usePermission: () => ({ allowed: mocks.permission.allowed, reason: mocks.permission.reason }),
}));
-vi.mock('@/store/chat', () => ({
- useChatStore: (selector: (state: { activeTopicId?: string }) => unknown) =>
- selector({ activeTopicId: mocks.activeTopicId }),
+vi.mock('../../useGroupContext', () => ({
+ useGroupContext: () => ({ agentId: 'supervisor-1', topicId: mocks.activeTopicId }),
}));
vi.mock('@/store/serverConfig', () => ({
diff --git a/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx b/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx
index 3217a94c413..7cca8a1b820 100644
--- a/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx
+++ b/src/routes/(main)/group/features/Conversation/Header/ShareButton/index.tsx
@@ -9,10 +9,11 @@ import { DESKTOP_HEADER_ICON_SIZE, MOBILE_HEADER_ICON_SIZE } from '@/const/layou
import { useShareModal } from '@/features/ShareModal';
import { LazySharePopover as SharePopover } from '@/features/SharePopover/lazy';
import { usePermission } from '@/hooks/usePermission';
-import { useChatStore } from '@/store/chat';
import { useServerConfigStore } from '@/store/serverConfig';
import { serverConfigSelectors } from '@/store/serverConfig/selectors';
+import { useGroupContext } from '../../useGroupContext';
+
interface ShareButtonProps {
mobile?: boolean;
open?: boolean;
@@ -22,7 +23,10 @@ interface ShareButtonProps {
const ShareButton = memo<ShareButtonProps>(({ mobile, setOpen, open }) => {
const { openShareModal } = useShareModal({ open, setOpen });
const { t } = useTranslation('common');
- const activeTopicId = useChatStore((s) => s.activeTopicId);
+ // A group conversation *is* a conversation with its supervisor agent, so the
+ // topic-share policy is read off that agent — same resolution the group's
+ // messages and topics are written with.
+ const { agentId, topicId: activeTopicId } = useGroupContext();
const enableTopicLinkShare = useServerConfigStore(serverConfigSelectors.enableBusinessFeatures);
const { allowed: canShare, reason } = usePermission('edit_own_content');
@@ -47,7 +51,9 @@ const ShareButton = memo<ShareButtonProps>(({ mobile, setOpen, open }) => {
return (
<>
{enableTopicLinkShare ? (
- <SharePopover onOpenModal={openShareModal}>{iconButton}</SharePopover>
+ <SharePopover agentId={agentId} onOpenModal={openShareModal}>
+ {iconButton}
+ </SharePopover>
) : (
iconButton
)}