🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✨ feat: weixin business bot (#16803)
Rdmclin2c21159decaee
diff --git a/.agents/skills/agent-testing/references/common-mistakes.md b/.agents/skills/agent-testing/references/common-mistakes.mdindex 5cc6a7fbe6b..ab401f07789 100644--- a/.agents/skills/agent-testing/references/common-mistakes.md+++ b/.agents/skills/agent-testing/references/common-mistakes.md@@ -233,3 +233,25 @@ default to rendering it and attaching the screenshot to the verify report as a rpoint — open the PNG to confirm, publish. Never offer the screenshot as an opt-in("want me to screenshot?"); just produce it. Env/restart cost is the skill's job toabsorb, not a reason to shift the checking burden onto the user.++---++## Case 10 — Reporting a UI-touching change with only CLI transcripts and no screenshot++**Wrong approach**: when a change includes visible UI copy/badges/alerts, treating+the run as purely backend/service validation and publishing only command-output+evidence, then calling it a complete agent-testing report.++**Why it's wrong**: CLI transcripts prove code paths and tests passed, but they do+not let the reviewer inspect the actual rendered UI. If the feature changed a+channel page alert or badge, the report needs at least one screenshot evidence item+for that visible state.++**What it breaks**: the user opens the report expecting visual proof and asks+"没截图吗?", because the report cannot show whether the UI looks correct.++**Correct approach**: if any UI surface changed, include a visual case in the same+verify run. Either drive the real app UI with agent-browser/Electron/Web and attach+a screenshot, or explicitly mark the UI screenshot case blocked with the measured+environment blocker. Do not present a UI-touching report as complete with only CLI+evidence.diff --git a/apps/server/src/routers/lambda/agentBotProvider.ts b/apps/server/src/routers/lambda/agentBotProvider.tsindex 978c675cc46..12496de85f1 100644--- a/apps/server/src/routers/lambda/agentBotProvider.ts+++ b/apps/server/src/routers/lambda/agentBotProvider.ts@@ -3,6 +3,10 @@ import { fetchQrCode, pollQrStatus } from '@lobechat/chat-adapter-wechat';import { TRPCError } from '@trpc/server';import { z } from 'zod';+import {+ assertBotFeatureAccess,+ withBotPlatformAccessMeta,+} from '@/business/server/bot/featureAccess';import { withScopedPermission } from '@/business/server/trpc-middlewares/rbacPermission';import { wsCompatProcedure } from '@/business/server/trpc-middlewares/workspaceAuth';import { AgentBotProviderModel } from '@/database/models/agentBotProvider';@@ -54,8 +58,15 @@ function assertAccessSettingsForTRPC(settings: Record<string, unknown> | undefin}export const agentBotProviderRouter = router({- listPlatforms: authedProcedure.query(() => {- return platformRegistry.listSerializedPlatforms();+ listPlatforms: authedProcedure.query(async ({ ctx }) => {+ return Promise.all(+ platformRegistry.listSerializedPlatforms().map((platform) =>+ withBotPlatformAccessMeta(platform, {+ userId: ctx.userId,+ workspaceId: ctx.workspaceId ?? undefined,+ }),+ ),+ );}),create: agentBotProviderProcedureWrite@@ -70,6 +81,14 @@ export const agentBotProviderRouter = router({}),).mutation(async ({ input, ctx }) => {+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: input.applicationId,+ platform: input.platform,+ userId: ctx.userId,+ workspaceId: ctx.workspaceId ?? undefined,+ });+const payload = {...input,settings: mergeBotSettingsForPersist(input.platform, input.settings),@@ -167,6 +186,14 @@ export const agentBotProviderRouter = router({connectBot: agentBotProviderProcedureWrite.input(z.object({ applicationId: z.string(), platform: z.string() })).mutation(async ({ input, ctx }) => {+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: input.applicationId,+ platform: input.platform,+ userId: ctx.userId,+ workspaceId: ctx.workspaceId ?? undefined,+ });+const service = new GatewayService();const status = await service.startClient(input.platform, input.applicationId, ctx.userId);@@ -190,6 +217,14 @@ export const agentBotProviderRouter = router({});}+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ });+// Validate credentials against the platform APIconst entry = platformRegistry.getPlatform(platform);if (!entry) {@@ -250,13 +285,25 @@ export const agentBotProviderRouter = router({}}),- wechatGetQrCode: authedProcedure.mutation(async () => {+ wechatGetQrCode: authedProcedure.mutation(async ({ ctx }) => {+ await assertBotFeatureAccess({+ action: 'manage',+ platform: 'wechat',+ userId: ctx.userId,+ workspaceId: ctx.workspaceId ?? undefined,+ });return fetchQrCode();}),wechatPollQrStatus: authedProcedure.input(z.object({ qrcode: z.string() }))- .query(async ({ input }) => {+ .query(async ({ input, ctx }) => {+ await assertBotFeatureAccess({+ action: 'manage',+ platform: 'wechat',+ userId: ctx.userId,+ workspaceId: ctx.workspaceId ?? undefined,+ });return pollQrStatus(input.qrcode);}),@@ -276,6 +323,24 @@ export const agentBotProviderRouter = router({// Load existing record to get platform + applicationId for cache invalidationconst existing = await ctx.agentBotProviderModel.findById(id);+ const targetPlatform = value.platform ?? existing?.platform;+ const targetApplicationId = value.applicationId ?? existing?.applicationId;+ const isDisableOnly =+ value.enabled === false &&+ value.applicationId === undefined &&+ value.credentials === undefined &&+ value.platform === undefined &&+ value.settings === undefined;++ if (targetPlatform && !isDisableOnly) {+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: targetApplicationId,+ platform: targetPlatform,+ userId: ctx.userId,+ workspaceId: existing?.workspaceId ?? ctx.workspaceId ?? undefined,+ });+ }if (value.settings !== undefined) {value.settings = mergeBotSettingsForPersist(diff --git a/apps/server/src/services/bot/BotMessageRouter.ts b/apps/server/src/services/bot/BotMessageRouter.tsindex b89bef74ed4..e40fc80acf7 100644--- a/apps/server/src/services/bot/BotMessageRouter.ts+++ b/apps/server/src/services/bot/BotMessageRouter.ts@@ -3,6 +3,7 @@ import { DEFAULT_BOT_DEBOUNCE_MS } from '@lobechat/const';import { Chat, ConsoleLogger, type Message, type MessageContext } from 'chat';import debug from 'debug';+import { getBotFeatureAccessState } from '@/business/server/bot/featureAccess';import { getServerDB } from '@/database/core/db-adaptor';import type { DecryptedBotProvider } from '@/database/models/agentBotProvider';import { AgentBotProviderModel } from '@/database/models/agentBotProvider';@@ -61,6 +62,10 @@ import {} from './replyTemplate';const log = debug('lobe-server:bot:message-router');+const WECHAT_PRO_FEATURE_NOTICE =+ '提示:由于 WeChat 渠道通信成本过高,LobeHub 微信渠道能力将于近期调整为付费功能。预告期内已有连接可继续使用,但新建或重新连接微信渠道需要升级到个人付费 Plan。';+const WECHAT_PRO_FEATURE_NOTICE_WORKSPACE =+ '提示:由于 WeChat 渠道通信成本过高,LobeHub 微信渠道能力将于近期调整为付费功能。预告期内已有连接可继续使用,但新建或重新连接微信渠道需要将所属工作区升级到付费 Plan。';/*** Compact summary of a Chat SDK Message's attachments for debug logging.@@ -803,6 +808,37 @@ export class BotMessageRouter {return BotMessageRouter.dispatchTextCommand(sanitized, commands) !== null;};+ const notifyFeatureNoticeOnce = async (+ thread: { post: (t: string) => Promise<unknown> },+ author: { userId?: string },+ noticeId: string,+ caller: string,+ ): Promise<void> => {+ if (platform !== 'wechat') return;++ const authorUserId = author.userId?.trim();+ if (!authorUserId) return;++ const key = `bot-feature-notice:${noticeId}:${authorUserId}`;+ try {+ const fresh = await bot.getState().setIfNotExists(key, '1');+ if (!fresh) return;+ } catch (error) {+ log('%s: feature notice dedupe failed, continuing without notice: %O', caller, error);+ return;+ }++ try {+ // Workspace-owned channels upgrade at the workspace, not the owner's+ // personal plan — keep the notice copy consistent with the channel UI.+ await thread.post(+ workspaceId ? WECHAT_PRO_FEATURE_NOTICE_WORKSPACE : WECHAT_PRO_FEATURE_NOTICE,+ );+ } catch (error) {+ log('%s: failed to post feature notice: %O', caller, error);+ }+ };+/*** Run all three access gates (global `allowFrom`, group policy, DM policy)* and post the appropriate rejection notice in the thread on failure.@@ -820,6 +856,33 @@ export class BotMessageRouter {replyLocale: BotReplyLocale,caller: string,): Promise<boolean> => {+ const featureAccess = await getBotFeatureAccessState({+ action: 'runtime',+ applicationId,+ platform,+ userId,+ workspaceId: workspaceId ?? undefined,+ });++ // Plan state must not leak to senders/groups the bot is configured to+ // ignore: both the enforce-mode denial and the rollout notice are only+ // posted after every gate below passes — rejected callers get the+ // regular rejection copy (or silence) instead.+ const finishFeatureAccess = async (): Promise<boolean> => {+ if (!featureAccess.allowed) {+ try {+ await thread.post(featureAccess.blockedMessage ?? 'This bot channel is unavailable.');+ } catch (error) {+ log('%s: failed to post paid-feature notice: %O', caller, error);+ }+ return false;+ }+ if (featureAccess.notice) {+ await notifyFeatureNoticeOnce(thread, author, featureAccess.notice.id, caller);+ }+ return true;+ };+// Owner override. The bot's operator (`settings.userId`) sets the// policies for *other* users — locking themselves out of their own// bot is a footgun. Without this branch:@@ -834,7 +897,7 @@ export class BotMessageRouter {// implicit-merge of `settings.userId` into `extractUserAllowlist`,// which already treats the operator as always-allowed.if (operatorUserId && author.userId === operatorUserId) {- return true;+ return finishFeatureAccess();}// Pairing redefines what `allowFrom` means: it's the *post-approval*// list (managed by `/approve`), not a hard identity gate. A stranger@@ -872,7 +935,9 @@ export class BotMessageRouter {return false;}const dmDecision = passesDmPolicy(thread, { author });- if (dmDecision === 'allow') return true;+ if (dmDecision === 'allow') {+ return finishFeatureAccess();+ }log('%s: DM gate=%s, agent=%s, platform=%s, thread=%s, author=%s, policy=%s',caller,diff --git a/apps/server/src/services/bot/__tests__/BotMessageRouter.test.ts b/apps/server/src/services/bot/__tests__/BotMessageRouter.test.tsindex 966a7a26a32..bd605046d6e 100644--- a/apps/server/src/services/bot/__tests__/BotMessageRouter.test.ts+++ b/apps/server/src/services/bot/__tests__/BotMessageRouter.test.ts@@ -14,6 +14,7 @@ const mockDeletePairingRequest = vi.hoisted(() => vi.fn());const mockReleasePairingClaim = vi.hoisted(() => vi.fn());const mockCreateOrGetPairingRequest = vi.hoisted(() => vi.fn());const mockGetAgentRuntimeRedisClient = vi.hoisted(() => vi.fn().mockReturnValue(null));+const mockGetBotFeatureAccessState = vi.hoisted(() => vi.fn());vi.mock('@/database/core/db-adaptor', () => ({getServerDB: mockGetServerDB,@@ -51,6 +52,10 @@ vi.mock('@/server/modules/AgentRuntime/redis', () => ({getAgentRuntimeRedisClient: mockGetAgentRuntimeRedisClient,}));+vi.mock('@/business/server/bot/featureAccess', () => ({+ getBotFeatureAccessState: mockGetBotFeatureAccessState,+}));+// Stub appEnv so accessing `appEnv.APP_URL` in vitest doesn't trip// `@t3-oss/env-nextjs`'s client-side access guard.vi.mock('@/envs/app', () => ({@@ -453,6 +458,7 @@ describe('BotMessageRouter', () => {mockProviderFindById.mockResolvedValue(undefined);mockProviderUpdate.mockResolvedValue(undefined);mockGetAgentRuntimeRedisClient.mockReturnValue(null);+ mockGetBotFeatureAccessState.mockResolvedValue({ allowed: true });});describe('getWebhookHandler', () => {@@ -1099,7 +1105,10 @@ describe('BotMessageRouter', () => {});describe('onNewMessage DM catch-all', () => {- async function loadDmCatchAllHandler(settings?: Record<string, unknown>) {+ async function loadDmCatchAllHandler(+ settings?: Record<string, unknown>,+ platform = 'telegram',+ ) {mockFindEnabledByPlatform.mockResolvedValue([makeProvider({applicationId: 'app-1',@@ -1107,7 +1116,7 @@ describe('BotMessageRouter', () => {}),]);const router = new BotMessageRouter();- const webhookHandler = router.getWebhookHandler('telegram', 'app-1');+ const webhookHandler = router.getWebhookHandler(platform, 'app-1');const req = new Request('https://example.com/webhook', { body: '{}', method: 'POST' });await webhookHandler(req);@@ -1168,6 +1177,131 @@ describe('BotMessageRouter', () => {expect(mockHandleMention).toHaveBeenCalledTimes(1);});+ it('posts a one-time WeChat paid-feature notice and continues handling the DM', async () => {+ mockGetBotFeatureAccessState.mockResolvedValue({+ allowed: true,+ notice: { id: 'wechat-pro-required-v1' },+ requiredPlan: 'paid',+ rolloutMode: 'notice',+ });+ const handler = await loadDmCatchAllHandler({ dmPolicy: 'open' }, 'wechat');+ if (!handler) throw new Error('expected catch-all to be registered');+ const thread = {+ id: 'wechat:dm-1',+ isDM: true,+ post: vi.fn().mockResolvedValue(undefined),+ };+ const message = {+ author: { isBot: false, userId: 'wechat-user-1', userName: 'alice' },+ text: 'hi in WeChat',+ };++ await handler(thread, message);++ expect(mockStateSetIfNotExists).toHaveBeenCalledWith(+ 'bot-feature-notice:wechat-pro-required-v1:wechat-user-1',+ '1',+ );+ expect(thread.post).toHaveBeenCalledWith(+ '提示:由于 WeChat 渠道通信成本过高,LobeHub 微信渠道能力将于近期调整为付费功能。预告期内已有连接可继续使用,但新建或重新连接微信渠道需要升级到个人付费 Plan。',+ );+ expect(mockHandleMention).toHaveBeenCalledTimes(1);+ });++ it('does not repeat the WeChat paid-feature notice after dedupe hits', async () => {+ mockGetBotFeatureAccessState.mockResolvedValue({+ allowed: true,+ notice: { id: 'wechat-pro-required-v1' },+ requiredPlan: 'paid',+ rolloutMode: 'notice',+ });+ mockStateSetIfNotExists.mockResolvedValue(false);+ const handler = await loadDmCatchAllHandler({ dmPolicy: 'open' }, 'wechat');+ if (!handler) throw new Error('expected catch-all to be registered');+ const thread = {+ id: 'wechat:dm-1',+ isDM: true,+ post: vi.fn().mockResolvedValue(undefined),+ };+ const message = {+ author: { isBot: false, userId: 'wechat-user-1', userName: 'alice' },+ text: 'hi again',+ };++ await handler(thread, message);++ expect(thread.post).not.toHaveBeenCalled();+ expect(mockHandleMention).toHaveBeenCalledTimes(1);+ });++ it('does not post the paid-feature notice to senders rejected by the access gates', async () => {+ mockGetBotFeatureAccessState.mockResolvedValue({+ allowed: true,+ notice: { id: 'wechat-pro-required-v1' },+ requiredPlan: 'paid',+ rolloutMode: 'notice',+ });+ const handler = await loadDmCatchAllHandler(+ { allowFrom: 'bob-id', dmPolicy: 'allowlist' },+ 'wechat',+ );+ if (!handler) throw new Error('expected catch-all to be registered');+ const thread = {+ id: 'wechat:dm-1',+ isDM: true,+ post: vi.fn().mockResolvedValue(undefined),+ };+ const message = {+ author: { isBot: false, userId: 'wechat-stranger', userName: 'stranger' },+ text: 'hi in WeChat',+ };++ await handler(thread, message);++ expect(mockHandleMention).not.toHaveBeenCalled();+ // Only the rejection is posted — no plan notice leaks to blocked senders.+ expect(thread.post).toHaveBeenCalledTimes(1);+ expect(thread.post.mock.calls[0][0]).not.toContain('付费');+ });++ it('posts the enforce-mode denial only to senders that pass the access gates', async () => {+ mockGetBotFeatureAccessState.mockResolvedValue({+ allowed: false,+ blockedMessage: '微信渠道现已升级为付费功能。',+ requiredPlan: 'paid',+ rolloutMode: 'enforce',+ });+ const handler = await loadDmCatchAllHandler(+ { allowFrom: 'bob-id', dmPolicy: 'allowlist' },+ 'wechat',+ );+ if (!handler) throw new Error('expected catch-all to be registered');+ const thread = {+ id: 'wechat:dm-1',+ isDM: true,+ post: vi.fn().mockResolvedValue(undefined),+ };++ // A stranger blocked by the allowlist gets the regular rejection, not+ // the paid-block copy — plan state must not leak past the gates.+ await handler(thread, {+ author: { isBot: false, userId: 'wechat-stranger', userName: 'stranger' },+ text: 'hi in WeChat',+ });+ expect(thread.post).toHaveBeenCalledTimes(1);+ expect(thread.post.mock.calls[0][0]).not.toContain('付费');++ // An allowlisted sender passes the gates and then receives the denial.+ thread.post.mockClear();+ await handler(thread, {+ author: { isBot: false, userId: 'bob-id', userName: 'bob' },+ text: 'hi again',+ });+ expect(thread.post).toHaveBeenCalledTimes(1);+ expect(thread.post.mock.calls[0][0]).toContain('付费');+ expect(mockHandleMention).not.toHaveBeenCalled();+ });+it('should block DM messages blocked by the allowlist and notify the sender', async () => {const handler = await loadDmCatchAllHandler({allowFrom: 'bob-id',diff --git a/apps/server/src/services/bot/__tests__/replyTemplate.test.ts b/apps/server/src/services/bot/__tests__/replyTemplate.test.tsindex 9526f88d98e..5d670200b8e 100644--- a/apps/server/src/services/bot/__tests__/replyTemplate.test.ts+++ b/apps/server/src/services/bot/__tests__/replyTemplate.test.ts@@ -395,6 +395,21 @@ describe('replyTemplate', () => {);});+ it('returns the friendly InsufficientBudgetForModel copy instead of the generic user fallback', () => {+ const en = renderAgentError('InsufficientBudgetForModel', undefined, 'op-1');+ expect(en).toContain('Not enough credits');+ expect(en).toContain('op-1');+ const zh = renderAgentError(+ 'InsufficientBudgetForModel',+ 'Workspace budget exceeded',+ 'op-1',+ 'zh-CN',+ 'user',+ );+ expect(zh).toContain('积分余额不足');+ expect(zh).not.toContain('请检查你的输入');+ });+it('maps both QuotaLimitReached and InsufficientQuota to the same quota copy', () => {const a = renderAgentError('QuotaLimitReached', undefined, 'op-1');const b = renderAgentError('InsufficientQuota', undefined, 'op-1');diff --git a/apps/server/src/services/bot/platforms/types.ts b/apps/server/src/services/bot/platforms/types.tsindex fe205a06b23..7fec9e975db 100644--- a/apps/server/src/services/bot/platforms/types.ts+++ b/apps/server/src/services/bot/platforms/types.ts@@ -26,6 +26,13 @@ export interface ExtractFilesResult {*/export type ConnectionMode = 'polling' | 'webhook' | 'websocket';+export interface PlatformAccessMeta {+ allowed?: boolean;+ blockedMessage?: string;+ requiredPlan?: 'paid';+ rolloutMode?: 'enforce' | 'notice';+}+// --------------- Field Schema ---------------/**@@ -420,6 +427,9 @@ export abstract class ClientFactory {* Contains metadata, factory, and validation. All runtime operations go through PlatformClient.*/export interface PlatformDefinition {+ /** Optional access metadata resolved for the current user by business slots. */+ access?: PlatformAccessMeta;+/** Factory for creating PlatformClient instances and validating credentials/settings. */clientFactory: ClientFactory;diff --git a/apps/server/src/services/bot/replyTemplate.ts b/apps/server/src/services/bot/replyTemplate.tsindex 4698aae32a6..5778dac67f4 100644--- a/apps/server/src/services/bot/replyTemplate.ts+++ b/apps/server/src/services/bot/replyTemplate.ts@@ -240,6 +240,7 @@ type SystemStrings = {errorContentModeration: string;errorEmptyCompletion: string;errorHarnessInternal: string;+ errorInsufficientCredits: string;errorLocationNotSupported: string;errorModelNotFound: string;errorNoAvailableProvider: string;@@ -308,6 +309,8 @@ const SYSTEM_STRINGS: Partial<Record<BotReplyLocale, SystemStrings>> = {"**The model returned an empty response.**\nThe model finished without producing any output. Please try again, or switch to a different model in the agent's settings.",errorHarnessInternal:'**Something went wrong on our side.**\nThe agent run hit an internal error, which has been logged. Please try again — if it keeps happening, share the Operation ID below with support.',+ errorInsufficientCredits:+ "**Not enough credits.**\nYour remaining credits can't cover this model's estimated cost. Please top up credits or upgrade your plan on the LobeHub website, or switch to a less expensive model in the agent's settings.",errorInvalidProviderAPIKey:"**Invalid or missing API key.**\nThe configured model provider rejected its API key. Please verify the key in the agent's provider settings (it may be expired, revoked, or mistyped) and try again.",errorLocationNotSupported:@@ -383,6 +386,8 @@ const SYSTEM_STRINGS: Partial<Record<BotReplyLocale, SystemStrings>> = {'**模型未返回任何内容**\n模型执行结束但没有产生输出。请重试,或在 Agent 设置中切换到其他模型。',errorHarnessInternal:'**我们这边出了点问题**\nAgent 执行遇到内部错误,已记录。请重试;如果持续出现,请把下方 Operation ID 提供给支持人员。',+ errorInsufficientCredits:+ '**积分余额不足**\n剩余积分不足以覆盖本次模型调用的预估费用。请前往 LobeHub 网页端充值积分或升级订阅计划,或在 Agent 设置中切换到费用更低的模型。',errorInvalidProviderAPIKey:'**API Key 无效或缺失**\n所配置的模型 Provider 拒绝了 API Key,可能已过期、被吊销或填写错误。请到 Agent 的 Provider 设置中检查并更新 API Key 后重试。',errorLocationNotSupported:@@ -447,6 +452,9 @@ const FRIENDLY_ERROR_BY_TYPE: Record<string, keyof SystemStrings> = {// ── user-fixable config / input (attribution: user) ──ContentModeration: 'errorContentModeration',ExceededContextWindow: 'errorExceededContextWindow',+ // Cloud-managed credits: balance is positive but below the model's estimated+ // cost, so the fix is topping up / upgrading — not editing the input.+ InsufficientBudgetForModel: 'errorInsufficientCredits',InsufficientQuota: 'errorQuotaLimitReached',InvalidProviderAPIKey: 'errorInvalidProviderAPIKey',LocationNotSupportError: 'errorLocationNotSupported',diff --git a/apps/server/src/services/gateway/GatewayManager.ts b/apps/server/src/services/gateway/GatewayManager.tsindex d96a7a670c1..6b848bd2b26 100644--- a/apps/server/src/services/gateway/GatewayManager.ts+++ b/apps/server/src/services/gateway/GatewayManager.ts@@ -1,5 +1,9 @@import debug from 'debug';+import {+ getBotFeatureBlockedMessage,+ isBotFeatureAccessAllowed,+} from '@/business/server/bot/featureAccess';import { getServerDB } from '@/database/core/db-adaptor';import type { DecryptedBotProvider } from '@/database/models/agentBotProvider';import { AgentBotProviderModel } from '@/database/models/agentBotProvider';@@ -13,6 +17,8 @@ import {resolveBotProviderConfig,} from '@/server/services/bot/platforms';+import { BOT_RUNTIME_STATUSES, updateBotRuntimeStatus } from './runtimeStatus';+const log = debug('lobe-server:bot-gateway');export interface GatewayManagerConfig {@@ -101,6 +107,19 @@ export class GatewayManager {return;}+ if (+ !(await isBotFeatureAccessAllowed({+ action: 'manage',+ applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ }))+ ) {+ log('Feature access denied for %s', key);+ return;+ }+const client = this.createClient(platform, provider);if (!client) {log('Unsupported platform: %s', platform);@@ -156,6 +175,35 @@ export class GatewayManager {log('Sync: processing provider %s, hasCredentials=%s', key, !!credentials);+ if (+ !(await isBotFeatureAccessAllowed({+ applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ }))+ ) {+ const existing = this.clients.get(key);+ if (existing) {+ await existing.stop();+ this.clients.delete(key);+ }+ // Keep the cached runtime snapshot in sync with the stop — otherwise+ // the channel UI keeps reporting a connected bot that was just+ // paid-gated. Mirrors the external-gateway and cron sync paths.+ await updateBotRuntimeStatus({+ applicationId,+ errorMessage: getBotFeatureBlockedMessage(+ platform,+ provider.workspaceId ? 'workspace' : 'personal',+ ),+ platform,+ status: BOT_RUNTIME_STATUSES.failed,+ });+ log('Sync: feature access denied for %s', key);+ continue;+ }+const existing = this.clients.get(key);if (existing) {log('Sync: client %s already running, skipping', key);diff --git a/apps/server/src/services/gateway/__tests__/GatewayManager.test.ts b/apps/server/src/services/gateway/__tests__/GatewayManager.test.tsindex a33fc06c9ad..31f2eeef50e 100644--- a/apps/server/src/services/gateway/__tests__/GatewayManager.test.ts+++ b/apps/server/src/services/gateway/__tests__/GatewayManager.test.ts@@ -8,6 +8,8 @@ const mockFindEnabledByPlatform = vi.hoisted(() => vi.fn());const mockFindEnabledByPlatformAndAppId = vi.hoisted(() => vi.fn());const mockInitWithEnvKey = vi.hoisted(() => vi.fn());const mockGetServerDB = vi.hoisted(() => vi.fn());+const mockIsBotFeatureAccessAllowed = vi.hoisted(() => vi.fn());+const mockUpdateBotRuntimeStatus = vi.hoisted(() => vi.fn().mockResolvedValue(undefined));vi.mock('@/database/core/db-adaptor', () => ({getServerDB: mockGetServerDB,@@ -26,24 +28,36 @@ vi.mock('@/server/modules/KeyVaultsEncrypt', () => ({},}));+vi.mock('@/business/server/bot/featureAccess', () => ({+ getBotFeatureBlockedMessage: vi.fn(() => 'blocked'),+ isBotFeatureAccessAllowed: mockIsBotFeatureAccessAllowed,+}));++vi.mock('../runtimeStatus', () => ({+ BOT_RUNTIME_STATUSES: { failed: 'failed' },+ updateBotRuntimeStatus: mockUpdateBotRuntimeStatus,+}));+// Fake platform definition for testing+const mockStartedClient = vi.hoisted(() => ({+ applicationId: 'app-1',+ createAdapter: () => ({}),+ extractChatId: (id: string) => id,+ getMessenger: () => ({+ createMessage: async () => {},+ editMessage: async () => {},+ removeReaction: async () => {},+ triggerTyping: async () => {},+ }),+ parseMessageId: (id: string) => id,+ id: 'fakeplatform',+ start: vi.fn().mockResolvedValue(undefined),+ stop: vi.fn().mockResolvedValue(undefined),+}));+const fakeDefinition: PlatformDefinition = {clientFactory: {- createClient: (config: any) => ({- applicationId: config.applicationId,- createAdapter: () => ({}),- extractChatId: (id: string) => id,- getMessenger: () => ({- createMessage: async () => {},- editMessage: async () => {},- removeReaction: async () => {},- triggerTyping: async () => {},- }),- parseMessageId: (id: string) => id,- id: config.platform,- start: vi.fn().mockResolvedValue(undefined),- stop: vi.fn().mockResolvedValue(undefined),- }),+ createClient: () => mockStartedClient,validateCredentials: async () => ({ valid: true }),validateSettings: async () => ({ valid: true }),},@@ -65,6 +79,9 @@ describe('GatewayManager', () => {mockInitWithEnvKey.mockResolvedValue(FAKE_GATEKEEPER);mockFindEnabledByPlatform.mockResolvedValue([]);mockFindEnabledByPlatformAndAppId.mockResolvedValue(null);+ mockIsBotFeatureAccessAllowed.mockResolvedValue(true);+ mockStartedClient.start.mockClear();+ mockStartedClient.stop.mockClear();manager = new GatewayManager({ definitions: [fakeDefinition] });});@@ -110,6 +127,29 @@ describe('GatewayManager', () => {expect(manager.isRunning).toBe(true);});+ it('should stop an already running bot when feature access becomes denied', async () => {+ mockFindEnabledByPlatform.mockResolvedValue([+ {+ applicationId: 'app-1',+ credentials: { key: 'value' },+ userId: 'owner-1',+ },+ ]);++ await manager.start();+ expect(mockStartedClient.start).toHaveBeenCalledTimes(1);++ mockIsBotFeatureAccessAllowed.mockResolvedValue(false);+ await (manager as any).syncPlatform('fakeplatform');++ expect(mockStartedClient.stop).toHaveBeenCalledTimes(1);+ // The cached runtime snapshot must reflect the stop, or the channel UI+ // keeps showing a connected bot.+ expect(mockUpdateBotRuntimeStatus).toHaveBeenCalledWith(+ expect.objectContaining({ applicationId: 'app-1', status: 'failed' }),+ );+ });+it('should skip already running bots', async () => {mockFindEnabledByPlatform.mockResolvedValue([{diff --git a/apps/server/src/services/gateway/__tests__/GatewayService.test.ts b/apps/server/src/services/gateway/__tests__/GatewayService.test.tsindex 183b8e0f629..ca6e07b3fc6 100644--- a/apps/server/src/services/gateway/__tests__/GatewayService.test.ts+++ b/apps/server/src/services/gateway/__tests__/GatewayService.test.ts@@ -33,6 +33,8 @@ const mockGetServerDB = vi.hoisted(() => vi.fn());const mockInitWithEnvKey = vi.hoisted(() => vi.fn());const mockUpdateBotRuntimeStatus = vi.hoisted(() => vi.fn());const mockResolveConnectionMode = vi.hoisted(() => vi.fn());+const mockIsBotFeatureAccessAllowed = vi.hoisted(() => vi.fn());+const mockGetBotFeatureBlockedMessage = vi.hoisted(() => vi.fn());// ─── Module mocks ───@@ -74,10 +76,15 @@ vi.mock('../runtimeStatus', () => ({updateBotRuntimeStatus: mockUpdateBotRuntimeStatus,}));+vi.mock('@/business/server/bot/featureAccess', () => ({+ getBotFeatureBlockedMessage: mockGetBotFeatureBlockedMessage,+ isBotFeatureAccessAllowed: mockIsBotFeatureAccessAllowed,+}));+vi.mock('../../bot/platforms', () => ({platformRegistry: {- getPlatform: () => ({ id: 'discord' }),- listPlatforms: () => [{ id: 'discord' }, { id: 'telegram' }],+ getPlatform: (platform: string) => ({ id: platform }),+ listPlatforms: () => [{ id: 'discord' }, { id: 'telegram' }, { id: 'wechat' }],},resolveConnectionMode: mockResolveConnectionMode,}));@@ -95,6 +102,8 @@ describe('GatewayService', () => {mockInitWithEnvKey.mockResolvedValue({});mockFindEnabledByPlatform.mockResolvedValue([]);mockUpdateBotRuntimeStatus.mockResolvedValue({});+ mockIsBotFeatureAccessAllowed.mockResolvedValue(true);+ mockGetBotFeatureBlockedMessage.mockReturnValue('This bot channel requires a paid plan.');service = new GatewayService();});@@ -238,6 +247,43 @@ describe('GatewayService', () => {);});+ it('disconnects paid-only WeChat providers when the owner is on a free plan', async () => {+ mockFindEnabledByPlatform.mockImplementation(async (_db, platform) =>+ platform === 'wechat'+ ? [+ {+ applicationId: 'wechat-app',+ credentials: { botToken: 'token' },+ id: 'wechat-provider',+ settings: {},+ userId: 'free-user',+ },+ ]+ : [],+ );+ mockResolveConnectionMode.mockReturnValue('polling');+ mockIsBotFeatureAccessAllowed.mockResolvedValue(false);++ await service.ensureRunning();++ expect(mockIsBotFeatureAccessAllowed).toHaveBeenCalledWith({+ applicationId: 'wechat-app',+ platform: 'wechat',+ userId: 'free-user',+ workspaceId: undefined,+ });+ expect(mockGatewayClient.disconnect).toHaveBeenCalledWith('wechat-provider');+ expect(mockGatewayClient.connect).not.toHaveBeenCalled();+ expect(mockUpdateBotRuntimeStatus).toHaveBeenCalledWith(+ expect.objectContaining({+ applicationId: 'wechat-app',+ errorMessage: 'This bot channel requires a paid plan.',+ platform: 'wechat',+ status: 'failed',+ }),+ );+ });+it('sets connected status for sync connect result', async () => {mockFindEnabledByPlatform.mockResolvedValue([{ applicationId: 'app-1', credentials: {}, id: 'prov-1', settings: {}, userId: 'u1' },diff --git a/apps/server/src/services/gateway/index.ts b/apps/server/src/services/gateway/index.tsindex 1f3e2c20d8b..c48cec99643 100644--- a/apps/server/src/services/gateway/index.ts+++ b/apps/server/src/services/gateway/index.ts@@ -1,5 +1,10 @@import debug from 'debug';+import {+ assertBotFeatureAccess,+ getBotFeatureBlockedMessage,+ isBotFeatureAccessAllowed,+} from '@/business/server/bot/featureAccess';import type { MessengerPlatform } from '@/config/messenger';import { getServerDB } from '@/database/core/db-adaptor';import { AgentBotProviderModel } from '@/database/models/agentBotProvider';@@ -145,6 +150,32 @@ export class GatewayService {continue;}+ const accessParams = {+ applicationId: provider.applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ };+ if (!(await isBotFeatureAccessAllowed(accessParams))) {+ skippedConnected++;+ try {+ await client.disconnect(provider.id);+ } catch (err) {+ log('Gateway sync: paid-gated disconnect failed %s: %O', provider.id, err);+ }+ await updateBotRuntimeStatus({+ applicationId: provider.applicationId,+ errorMessage: getBotFeatureBlockedMessage(+ platform,+ provider.workspaceId ? 'workspace' : 'personal',+ ),+ platform,+ status: BOT_RUNTIME_STATUSES.failed,+ });+ log('Gateway sync: paid-gated %s:%s, disconnected', platform, provider.applicationId);+ continue;+ }+// For persistent connections, check gateway status before reconnectingtry {const status = await client.getStatus(provider.id);@@ -264,6 +295,16 @@ export class GatewayService {const connectionMode = resolveConnectionMode(definition, provider?.settings);+ if (provider) {+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ });+ }+if (connectionMode !== 'webhook') {// Persistent platforms (e.g. Discord gateway or WeChat long-polling) cannot run in a// serverless function — queue for the long-running cron gateway.@@ -560,6 +601,14 @@ export class GatewayService {throw new Error(`No enabled provider found for ${platform}:${applicationId}`);}+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ });+const definition = platformRegistry.getPlatform(platform);const connectionMode = resolveConnectionMode(definition, provider.settings);diff --git a/apps/server/src/services/toolExecution/serverRuntimes/message/index.ts b/apps/server/src/services/toolExecution/serverRuntimes/message/index.tsindex 4aca6d9e2ad..50a69ae28ec 100644--- a/apps/server/src/services/toolExecution/serverRuntimes/message/index.ts+++ b/apps/server/src/services/toolExecution/serverRuntimes/message/index.ts@@ -7,6 +7,7 @@ import { WechatApiClient } from '@lobechat/chat-adapter-wechat';import { TRPCError } from '@trpc/server';import { and, eq } from 'drizzle-orm';+import { assertBotFeatureAccess, BotFeatureAccessError } from '@/business/server/bot/featureAccess';import {getEnabledMessengerPlatforms,getMessengerDiscordConfig,@@ -100,10 +101,16 @@ const maybeSynthesizeTelegramInstall = async (/*** Resolves credentials for the given platform from the user's configured bot providers.+ *+ * Every outbound platform service is built through here, so this is also the+ * runtime paid-feature gate: an enabled provider whose plan no longer covers+ * the channel must not keep sending through the Message tool while the+ * inbound/gateway paths are already denied.*/const resolveCredentials = async (providerModel: AgentBotProviderModel,platform: string,+ userId: string,): Promise<{ applicationId: string; credentials: Record<string, string> }> => {const providers = await providerModel.query({ platform });const enabled = providers.find((p) => p.enabled);@@ -113,6 +120,13 @@ const resolveCredentials = async (`Please configure a ${platform} integration in your bot settings.`,);}+ await assertBotFeatureAccess({+ action: 'runtime',+ applicationId: enabled.applicationId,+ platform,+ userId,+ workspaceId: enabled.workspaceId ?? undefined,+ });return { applicationId: enabled.applicationId, credentials: enabled.credentials };};@@ -126,22 +140,37 @@ export const messageRuntime: ServerRuntimeRegistration = {}const gateKeeper = await KeyVaultsGateKeeper.initWithEnvKey();- const providerModel = new AgentBotProviderModel(context.serverDB, context.userId, gateKeeper);+ // Mirror the TRPC router (agentBotProviderProcedure): workspace runs scope+ // bot rows and paid-feature checks to the workspace, not the personal plan.+ const providerModel = new AgentBotProviderModel(+ context.serverDB,+ context.userId,+ gateKeeper,+ context.workspaceId ?? undefined,+ );const service = new MessageDispatcherService({discord: async () => {- const { credentials } = await resolveCredentials(providerModel, 'discord');+ const { credentials } = await resolveCredentials(providerModel, 'discord', context.userId!);return new DiscordMessageService(new DiscordApi(credentials.botToken));},feishu: async () => {- const { applicationId, credentials } = await resolveCredentials(providerModel, 'feishu');+ const { applicationId, credentials } = await resolveCredentials(+ providerModel,+ 'feishu',+ context.userId!,+ );return new FeishuMessageService(new LarkApiClient(applicationId, credentials.appSecret, 'feishu'),'feishu',);},imessage: async () => {- const { applicationId, credentials } = await resolveCredentials(providerModel, 'imessage');+ const { applicationId, credentials } = await resolveCredentials(+ providerModel,+ 'imessage',+ context.userId!,+ );return new ImessageMessageService(new ImessageDesktopBridgeApi({applicationId,@@ -151,39 +180,59 @@ export const messageRuntime: ServerRuntimeRegistration = {);},lark: async () => {- const { applicationId, credentials } = await resolveCredentials(providerModel, 'lark');+ const { applicationId, credentials } = await resolveCredentials(+ providerModel,+ 'lark',+ context.userId!,+ );return new FeishuMessageService(new LarkApiClient(applicationId, credentials.appSecret, 'lark'),'lark',);},qq: async () => {- const { applicationId, credentials } = await resolveCredentials(providerModel, 'qq');+ const { applicationId, credentials } = await resolveCredentials(+ providerModel,+ 'qq',+ context.userId!,+ );return new QQMessageService(new QQApiClient(applicationId, credentials.appSecret));},slack: async () => {- const { credentials } = await resolveCredentials(providerModel, 'slack');+ const { credentials } = await resolveCredentials(providerModel, 'slack', context.userId!);return new SlackMessageService(new SlackApi(credentials.botToken));},telegram: async () => {// Per-agent provider takes precedence; fall back to the env-backed// singleton so the synthetic telegram:singleton install actually works.try {- const { credentials } = await resolveCredentials(providerModel, 'telegram');+ const { credentials } = await resolveCredentials(+ providerModel,+ 'telegram',+ context.userId!,+ );return new TelegramMessageService(new TelegramApi(credentials.botToken));- } catch {+ } catch (error) {+ // A paid-gate denial is not a "provider missing" condition — falling+ // back to the env singleton here would bypass the feature gate.+ if (error instanceof BotFeatureAccessError) throw error;const envConfig = await getMessengerTelegramConfig();if (!envConfig) {throw new Error('No enabled telegram bot provider found and no env-backed Telegram config available. ' +'Please configure a telegram integration in your bot settings.',+ { cause: error },);}return new TelegramMessageService(new TelegramApi(envConfig.botToken));}},wechat: async () => {- const { applicationId, credentials } = await resolveCredentials(providerModel, 'wechat');+ const { applicationId, credentials } = await resolveCredentials(+ providerModel,+ 'wechat',+ context.userId!,+ );return new WechatMessageService(new WechatApiClient(credentials.botToken, credentials.botId),applicationId,@@ -195,11 +244,25 @@ export const messageRuntime: ServerRuntimeRegistration = {connectBot: async (botId) => {const bot = await providerModel.findById(botId);if (!bot) throw new Error(`Bot not found: ${botId}`);+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: bot.applicationId,+ platform: bot.platform,+ userId: context.userId!,+ workspaceId: bot.workspaceId ?? undefined,+ });const gateway = new GatewayService();const status = await gateway.startClient(bot.platform, bot.applicationId, context.userId!);return { status };},createBot: async (params) => {+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: params.applicationId,+ platform: params.platform,+ userId: context.userId!,+ workspaceId: context.workspaceId ?? undefined,+ });const settings = mergeBotSettingsForPersist(params.platform, params.settings);assertBotAccessSettings(settings);const result = await providerModel.create({ ...params, settings });@@ -272,6 +335,15 @@ export const messageRuntime: ServerRuntimeRegistration = {toggleBot: async (botId, enabled) => {const existing = await providerModel.findById(botId);if (!existing) throw new Error(`Bot not found: ${botId}`);+ if (enabled) {+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: existing.applicationId,+ platform: existing.platform,+ userId: context.userId!,+ workspaceId: existing.workspaceId ?? undefined,+ });+ }await providerModel.update(botId, { enabled });await invalidateBotAfterUpdate({@@ -285,6 +357,13 @@ export const messageRuntime: ServerRuntimeRegistration = {updateBot: async (botId, params) => {const existing = await providerModel.findById(botId);if (!existing) throw new Error(`Bot not found: ${botId}`);+ await assertBotFeatureAccess({+ action: 'manage',+ applicationId: existing.applicationId,+ platform: existing.platform,+ userId: context.userId!,+ workspaceId: existing.workspaceId ?? undefined,+ });const value: { credentials?: Record<string, string>; settings?: Record<string, unknown> } ={};@@ -331,9 +410,7 @@ export const messageRuntime: ServerRuntimeRegistration = {applicationId: row.applicationId,enterpriseId:((row.metadata as Record<string, unknown> | null)?.enterpriseId as- | string- | null- | undefined) ?? null,+ string | null | undefined) ?? null,id: row.id,installedAt:row.createdAt instanceof Date ? row.createdAt.toISOString() : String(row.createdAt),@@ -383,9 +460,7 @@ export const messageRuntime: ServerRuntimeRegistration = {applicationId: row.applicationId,enterpriseId:((row.metadata as Record<string, unknown> | null)?.enterpriseId as- | string- | null- | undefined) ?? null,+ string | null | undefined) ?? null,id: row.id,installedAt:row.createdAt instanceof Date ? row.createdAt.toISOString() : String(row.createdAt),diff --git a/locales/ar/agent.json b/locales/ar/agent.jsonindex 406bc7d937b..c3b7b85d864 100644--- a/locales/ar/agent.json+++ b/locales/ar/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "سيؤدي هذا الإجراء إلى إزالة قناة الرسائل وتكوينها بشكل دائم. لا يمكن التراجع عن ذلك.","channel.devWebhookProxyUrl": "عنوان URL لنفق HTTPS","channel.devWebhookProxyUrlHint": "اختياري. عنوان URL لنفق HTTPS لإعادة توجيه طلبات الويب هوك إلى خادم التطوير المحلي.",- "channel.disabled": "معطل","channel.discord.description": "قم بتوصيل هذا المساعد بخادم Discord للدردشة في القنوات والرسائل المباشرة.","channel.displayToolCalls": "عرض استدعاءات الأدوات","channel.displayToolCallsHint": "عرض تفاصيل استدعاء الأدوات أثناء استجابات الذكاء الاصطناعي. عند التعطيل، يتم عرض الاستجابة النهائية فقط لتجربة أكثر نظافة.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "الاقتران","channel.dmPolicyPairingHint": "يحتاج الغرباء إلى استخدام /approve لإرسال رسالة خاصة","channel.documentation": "التوثيق",- "channel.enabled": "مفعّل","channel.encryptKey": "مفتاح التشفير","channel.encryptKeyHint": "اختياري. يُستخدم لفك تشفير حمولة الأحداث المشفرة.","channel.encryptKeyPlaceholder": "مفتاح التشفير الاختياري",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "تجاهل","channel.messengerPromo.title": "تجاوز الإعداد","channel.openPlatform": "منصة مفتوحة",+ "channel.paidFeature.badge": "محترف",+ "channel.paidFeature.cta.personal": "ترقية",+ "channel.paidFeature.cta.workspace": "ترقية",+ "channel.paidFeature.desc": "{{name}} متاح في الخطط المدفوعة. قم بالترقية إلى أي خطة مدفوعة لتكوين هذا القناة والحفاظ على اتصالها.",+ "channel.paidFeature.enforce.desc": "{{name}} متاح في الخطط المدفوعة. قم بالترقية إلى خطة شخصية مدفوعة أو مساحة عمل محترفة / تجارية لتكوين هذا القناة والحفاظ على اتصالها.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} متاح في الخطط الشخصية المدفوعة. قم بالترقية لتكوين هذا القناة والحفاظ على اتصالها.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} متاح في مساحات العمل المحترفة / التجارية. قم بترقية مساحة العمل هذه لتكوين هذا القناة والحفاظ على اتصالها.",+ "channel.paidFeature.enforce.title": "يتطلب خطة مدفوعة",+ "channel.paidFeature.notice.desc": "نظرًا للتكاليف العالية للتواصل عبر قناة {{name}}، نخطط لجعل هذه القناة ميزة مدفوعة قريبًا. تظل الاتصالات الحالية متاحة خلال فترة الإشعار، ولكن إنشاء أو إعادة توصيل هذه القناة يتطلب الآن خطة شخصية مدفوعة أو مساحة عمل محترفة / تجارية.",+ "channel.paidFeature.notice.desc.personal": "نظرًا للتكاليف العالية للتواصل عبر قناة {{name}}، نخطط لجعل هذه القناة ميزة مدفوعة قريبًا. تظل الاتصالات الحالية متاحة خلال فترة الإشعار، ولكن إنشاء أو إعادة توصيل هذه القناة يتطلب خطة شخصية مدفوعة.",+ "channel.paidFeature.notice.desc.workspace": "نظرًا للتكاليف العالية للتواصل عبر قناة {{name}}، نخطط لجعل هذه القناة ميزة مدفوعة قريبًا. تظل الاتصالات الحالية متاحة خلال فترة الإشعار، ولكن إنشاء أو إعادة توصيل هذه القناة يتطلب ترقية مساحة العمل هذه إلى محترف أو تجاري.",+ "channel.paidFeature.notice.title": "{{name}} سيتطلب قريبًا خطة مدفوعة",+ "channel.paidFeature.noticeBadge": "محترف قريبًا",+ "channel.paidFeature.title": "يتطلب خطة مدفوعة","channel.platforms": "المنصات","channel.publicKey": "المفتاح العام","channel.publicKeyHint": "اختياري. يُستخدم للتحقق من طلبات التفاعل من Discord.",diff --git a/locales/ar/chat.json b/locales/ar/chat.jsonindex 915a98b7e4e..b003a87fdb4 100644--- a/locales/ar/chat.json+++ b/locales/ar/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "البحث في القوالب...","groupWizard.title": "إنشاء مجموعة","groupWizard.useTemplate": "استخدام قالب",+ "heteroAgent.claudeQuota.errorRateLimited": "تم تقييد حصة Claude Code مؤقتًا. يرجى المحاولة مرة أخرى لاحقًا.",+ "heteroAgent.claudeQuota.refreshRateLimited": "تم تقييد تحديث الحصة مؤقتًا. يتم عرض آخر البيانات المتاحة.","heteroAgent.claudeQuota.scopedWeekly": "أسبوعي ({{model}})","heteroAgent.claudeQuota.title": "حصة Claude Code","heteroAgent.claudeQuota.tooltip": "عرض حصة Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "متبقي {{percent}}%","heteroAgent.quota.noData": "الحصة غير متوفرة بعد.","heteroAgent.quota.refresh": "تحديث الحصة",+ "heteroAgent.quota.refreshFailed": "تعذر تحديث الحصة. يتم عرض آخر البيانات المتاحة.","heteroAgent.quota.resetsIn": "تُعاد التعيين في {{duration}}","heteroAgent.quota.resetsSoon": "تُعاد التعيين قريبًا","heteroAgent.quota.session": "الجلسة",diff --git a/locales/ar/device.json b/locales/ar/device.jsonindex d8d12ad93e9..7c2b2642f46 100644--- a/locales/ar/device.json+++ b/locales/ar/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "تغييرات غير ملتزمة: {{count}} ملف","workingDirectory.uncommittedChanges_other": "تغييرات غير ملتزمة: {{count}} ملفات","workingDirectory.undo": "تراجع",- "workingDirectory.worktreeCount": "{{count}} مساحات عمل",- "workingDirectory.worktreeSwitchDescription": "تبديل دليل العمل الحالي للمحادثة",+ "workingDirectory.worktreeSearchPlaceholder": "ابحث عن مسارات العمل","workingDirectory.worktreeUnavailable": "غير متاح","workingDirectory.worktreesEmpty": "لم يتم العثور على مساحات عمل",- "workingDirectory.worktreesHeading": "مساحات العمل"+ "workingDirectory.worktreesHeading": "مساحات العمل",+ "workingDirectory.worktreesNoMatch": "لا توجد مسارات عمل مطابقة"}diff --git a/locales/bg-BG/agent.json b/locales/bg-BG/agent.jsonindex d60467e1166..2b8d5f9fd8a 100644--- a/locales/bg-BG/agent.json+++ b/locales/bg-BG/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Това действие ще премахне окончателно този канал за съобщения и неговата конфигурация. Това не може да бъде отменено.","channel.devWebhookProxyUrl": "HTTPS тунел URL","channel.devWebhookProxyUrlHint": "По избор. HTTPS тунел URL за пренасочване на заявки за уебхук към локален dev сървър.",- "channel.disabled": "Деактивиран","channel.discord.description": "Свържете този асистент с Discord сървър за канален чат и директни съобщения.","channel.displayToolCalls": "Показване на обажданията към инструментите","channel.displayToolCallsHint": "Показване на детайли за обажданията към инструментите по време на отговорите на ИИ. Когато е изключено, се показва само крайният отговор за по-чисто изживяване.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Сдвояване","channel.dmPolicyPairingHint": "Непознатите трябва да използват /approve, за да изпратят директно съобщение","channel.documentation": "Документация",- "channel.enabled": "Активиран","channel.encryptKey": "Ключ за криптиране","channel.encryptKeyHint": "По избор. Използва се за декриптиране на криптирани данни за събития.","channel.encryptKeyPlaceholder": "По избор ключ за криптиране",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Отхвърли","channel.messengerPromo.title": "Пропуснете настройката","channel.openPlatform": "Отворена платформа",+ "channel.paidFeature.badge": "Про",+ "channel.paidFeature.cta.personal": "Надградете",+ "channel.paidFeature.cta.workspace": "Надградете",+ "channel.paidFeature.desc": "{{name}} е наличен в платените планове. Надградете до който и да е платен план, за да конфигурирате и запазите този канал свързан.",+ "channel.paidFeature.enforce.desc": "{{name}} е наличен в платените планове. Надградете до платен личен план или Pro / Business работно пространство, за да конфигурирате и запазите този канал свързан.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} е наличен в платените лични планове. Надградете, за да конфигурирате и запазите този канал свързан.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} е наличен в Pro / Business работни пространства. Надградете това работно пространство, за да конфигурирате и запазите този канал свързан.",+ "channel.paidFeature.enforce.title": "Изисква се платен план",+ "channel.paidFeature.notice.desc": "Поради високите разходи за комуникация за канала {{name}}, планираме скоро да направим този канал платена функция. Съществуващите връзки остават налични по време на уведомителния период, но създаването или повторното свързване на този канал сега изисква платен личен план или Pro / Business работно пространство.",+ "channel.paidFeature.notice.desc.personal": "Поради високите разходи за комуникация за канала {{name}}, планираме скоро да направим този канал платена функция. Съществуващите връзки остават налични по време на уведомителния период, но създаването или повторното свързване на този канал изисква платен личен план.",+ "channel.paidFeature.notice.desc.workspace": "Поради високите разходи за комуникация за канала {{name}}, планираме скоро да направим този канал платена функция. Съществуващите връзки остават налични по време на уведомителния период, но създаването или повторното свързване на този канал изисква надграждане на това работно пространство до Pro или Business.",+ "channel.paidFeature.notice.title": "{{name}} скоро ще изисква платен план",+ "channel.paidFeature.noticeBadge": "Скоро Про",+ "channel.paidFeature.title": "Изисква се платен план","channel.platforms": "Платформи","channel.publicKey": "Публичен ключ","channel.publicKeyHint": "По избор. Използва се за проверка на заявки за взаимодействие от Discord.",diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.jsonindex 77d527fe2e1..18c029aec35 100644--- a/locales/bg-BG/chat.json+++ b/locales/bg-BG/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Търсене на шаблони...","groupWizard.title": "Създай група","groupWizard.useTemplate": "Използвай шаблон",+ "heteroAgent.claudeQuota.errorRateLimited": "Квотата за Claude Code временно е ограничена. Моля, опитайте отново по-късно.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Обновяването на квотата временно е ограничено. Показват се последните налични данни.","heteroAgent.claudeQuota.scopedWeekly": "Седмично ({{model}})","heteroAgent.claudeQuota.title": "Квота за Claude Code","heteroAgent.claudeQuota.tooltip": "Преглед на квотата за Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% остава","heteroAgent.quota.noData": "Квотата все още не е налична.","heteroAgent.quota.refresh": "Обновяване на квотата",+ "heteroAgent.quota.refreshFailed": "Неуспешно обновяване на квотата. Показват се последните налични данни.","heteroAgent.quota.resetsIn": "Нулира се след {{duration}}","heteroAgent.quota.resetsSoon": "Скоро ще се нулира","heteroAgent.quota.session": "Сесия",diff --git a/locales/bg-BG/device.json b/locales/bg-BG/device.jsonindex 9114b06751a..0fb0198279b 100644--- a/locales/bg-BG/device.json+++ b/locales/bg-BG/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Непотвърдени промени: {{count}} файл","workingDirectory.uncommittedChanges_other": "Непотвърдени промени: {{count}} файла","workingDirectory.undo": "Отмени",- "workingDirectory.worktreeCount": "{{count}} работни дървета",- "workingDirectory.worktreeSwitchDescription": "Превключете текущата директория за работа по разговори",+ "workingDirectory.worktreeSearchPlaceholder": "Търсене на работни дървета","workingDirectory.worktreeUnavailable": "недостъпно","workingDirectory.worktreesEmpty": "Не са намерени работни дървета",- "workingDirectory.worktreesHeading": "Работни дървета"+ "workingDirectory.worktreesHeading": "Работни дървета",+ "workingDirectory.worktreesNoMatch": "Няма съвпадащи работни дървета"}diff --git a/locales/de-DE/agent.json b/locales/de-DE/agent.jsonindex fb58c9acdcc..6f19575f9ce 100644--- a/locales/de-DE/agent.json+++ b/locales/de-DE/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Diese Aktion entfernt diesen Nachrichtenkanal und seine Konfiguration dauerhaft. Dies kann nicht rückgängig gemacht werden.","channel.devWebhookProxyUrl": "HTTPS-Tunnel-URL","channel.devWebhookProxyUrlHint": "Optional. HTTPS-Tunnel-URL zum Weiterleiten von Webhook-Anfragen an den lokalen Entwicklungsserver.",- "channel.disabled": "Deaktiviert","channel.discord.description": "Verbinden Sie diesen Assistenten mit einem Discord-Server für Kanal-Chat und Direktnachrichten.","channel.displayToolCalls": "Werkzeugaufrufe anzeigen","channel.displayToolCallsHint": "Details zu Werkzeugaufrufen während der KI-Antworten anzeigen. Wenn deaktiviert, wird nur die endgültige Antwort für ein übersichtlicheres Erlebnis angezeigt.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Kopplung","channel.dmPolicyPairingHint": "Fremde benötigen /approve, um eine Direktnachricht zu senden","channel.documentation": "Dokumentation",- "channel.enabled": "Aktiviert","channel.encryptKey": "Verschlüsselungsschlüssel","channel.encryptKeyHint": "Optional. Wird verwendet, um verschlüsselte Ereignis-Payloads zu entschlüsseln.","channel.encryptKeyPlaceholder": "Optionaler Verschlüsselungsschlüssel",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Schließen","channel.messengerPromo.title": "Überspringen Sie die Einrichtung","channel.openPlatform": "Offene Plattform",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Upgrade",+ "channel.paidFeature.cta.workspace": "Upgrade",+ "channel.paidFeature.desc": "{{name}} ist in kostenpflichtigen Tarifen verfügbar. Upgrade auf einen beliebigen kostenpflichtigen Tarif, um diesen Kanal zu konfigurieren und verbunden zu halten.",+ "channel.paidFeature.enforce.desc": "{{name}} ist in kostenpflichtigen Tarifen verfügbar. Upgrade auf einen kostenpflichtigen persönlichen Tarif oder ein Pro-/Business-Workspace, um diesen Kanal zu konfigurieren und verbunden zu halten.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} ist in kostenpflichtigen persönlichen Tarifen verfügbar. Upgrade, um diesen Kanal zu konfigurieren und verbunden zu halten.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} ist in Pro-/Business-Workspaces verfügbar. Upgrade dieses Workspaces, um diesen Kanal zu konfigurieren und verbunden zu halten.",+ "channel.paidFeature.enforce.title": "Kostenpflichtiger Tarif erforderlich",+ "channel.paidFeature.notice.desc": "Aufgrund der hohen Kommunikationskosten für den {{name}}-Kanal planen wir, diesen Kanal bald zu einer kostenpflichtigen Funktion zu machen. Bestehende Verbindungen bleiben während der Ankündigungsfrist verfügbar, aber das Erstellen oder erneute Verbinden dieses Kanals erfordert jetzt einen kostenpflichtigen persönlichen Tarif oder ein Pro-/Business-Workspace.",+ "channel.paidFeature.notice.desc.personal": "Aufgrund der hohen Kommunikationskosten für den {{name}}-Kanal planen wir, diesen Kanal bald zu einer kostenpflichtigen Funktion zu machen. Bestehende Verbindungen bleiben während der Ankündigungsfrist verfügbar, aber das Erstellen oder erneute Verbinden dieses Kanals erfordert einen kostenpflichtigen persönlichen Tarif.",+ "channel.paidFeature.notice.desc.workspace": "Aufgrund der hohen Kommunikationskosten für den {{name}}-Kanal planen wir, diesen Kanal bald zu einer kostenpflichtigen Funktion zu machen. Bestehende Verbindungen bleiben während der Ankündigungsfrist verfügbar, aber das Erstellen oder erneute Verbinden dieses Kanals erfordert ein Upgrade dieses Workspaces auf Pro oder Business.",+ "channel.paidFeature.notice.title": "{{name}} erfordert bald einen kostenpflichtigen Tarif",+ "channel.paidFeature.noticeBadge": "Bald Pro",+ "channel.paidFeature.title": "Kostenpflichtiger Tarif erforderlich","channel.platforms": "Plattformen","channel.publicKey": "Öffentlicher Schlüssel","channel.publicKeyHint": "Optional. Wird verwendet, um Interaktionsanfragen von Discord zu überprüfen.",diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.jsonindex 8025364734c..145f59b6bd9 100644--- a/locales/de-DE/chat.json+++ b/locales/de-DE/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Vorlagen durchsuchen...","groupWizard.title": "Gruppe erstellen","groupWizard.useTemplate": "Vorlage verwenden",+ "heteroAgent.claudeQuota.errorRateLimited": "Das Claude-Code-Kontingent ist vorübergehend durch eine Ratenbegrenzung eingeschränkt. Bitte versuchen Sie es später erneut.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Die Kontingentaktualisierung ist vorübergehend durch eine Ratenbegrenzung eingeschränkt. Es werden die zuletzt verfügbaren Daten angezeigt.","heteroAgent.claudeQuota.scopedWeekly": "Wöchentlich ({{model}})","heteroAgent.claudeQuota.title": "Claude Code-Kontingent","heteroAgent.claudeQuota.tooltip": "Claude Code-Kontingent anzeigen",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% übrig","heteroAgent.quota.noData": "Kontingent ist noch nicht verfügbar.","heteroAgent.quota.refresh": "Kontingent aktualisieren",+ "heteroAgent.quota.refreshFailed": "Das Kontingent konnte nicht aktualisiert werden. Es werden die zuletzt verfügbaren Daten angezeigt.","heteroAgent.quota.resetsIn": "Wird zurückgesetzt in {{duration}}","heteroAgent.quota.resetsSoon": "Wird bald zurückgesetzt","heteroAgent.quota.session": "Sitzung",diff --git a/locales/de-DE/device.json b/locales/de-DE/device.jsonindex 39dd8e37470..340966cfa21 100644--- a/locales/de-DE/device.json+++ b/locales/de-DE/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Nicht übermittelte Änderungen: {{count}} Datei","workingDirectory.uncommittedChanges_other": "Nicht übermittelte Änderungen: {{count}} Dateien","workingDirectory.undo": "Rückgängig machen",- "workingDirectory.worktreeCount": "{{count}} Worktrees",- "workingDirectory.worktreeSwitchDescription": "Das aktuelle Arbeitsverzeichnis der Unterhaltung wechseln",+ "workingDirectory.worktreeSearchPlaceholder": "Arbeitsbäume durchsuchen","workingDirectory.worktreeUnavailable": "nicht verfügbar","workingDirectory.worktreesEmpty": "Keine Worktrees gefunden",- "workingDirectory.worktreesHeading": "Worktrees"+ "workingDirectory.worktreesHeading": "Worktrees",+ "workingDirectory.worktreesNoMatch": "Keine passenden Arbeitsbäume gefunden"}diff --git a/locales/en-US/agent.json b/locales/en-US/agent.jsonindex 83c882aa5c5..e35c1c17098 100644--- a/locales/en-US/agent.json+++ b/locales/en-US/agent.json@@ -162,6 +162,20 @@"channel.messengerPromo.dismiss": "Dismiss","channel.messengerPromo.title": "Skip the setup","channel.openPlatform": "Open Platform",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Upgrade",+ "channel.paidFeature.cta.workspace": "Upgrade",+ "channel.paidFeature.desc": "{{name}} is available on paid plans. Upgrade to any paid plan to configure and keep this channel connected.",+ "channel.paidFeature.enforce.desc": "{{name}} is available on paid plans. Upgrade to a paid personal plan or a Pro / Business workspace to configure and keep this channel connected.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} is available on paid personal plans. Upgrade to configure and keep this channel connected.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} is available on Pro / Business workspaces. Upgrade this workspace to configure and keep this channel connected.",+ "channel.paidFeature.enforce.title": "Paid plan required",+ "channel.paidFeature.notice.desc": "Due to the high communication costs for the {{name}} channel, we plan to make this channel a paid feature soon. Existing connections remain available during the notice period, but creating or reconnecting this channel now requires a paid personal plan or a Pro / Business workspace.",+ "channel.paidFeature.notice.desc.personal": "Due to the high communication costs for the {{name}} channel, we plan to make this channel a paid feature soon. Existing connections remain available during the notice period, but creating or reconnecting this channel requires a paid personal plan.",+ "channel.paidFeature.notice.desc.workspace": "Due to the high communication costs for the {{name}} channel, we plan to make this channel a paid feature soon. Existing connections remain available during the notice period, but creating or reconnecting this channel requires upgrading this workspace to Pro or Business.",+ "channel.paidFeature.notice.title": "{{name}} will soon require a paid plan",+ "channel.paidFeature.noticeBadge": "Pro soon",+ "channel.paidFeature.title": "Paid plan required","channel.platforms": "Platforms","channel.publicKey": "Public Key","channel.publicKeyHint": "Optional. Used to verify interaction requests from Discord.",diff --git a/locales/en-US/subscription.json b/locales/en-US/subscription.jsonindex 6122bcb065c..6b37264c407 100644--- a/locales/en-US/subscription.json+++ b/locales/en-US/subscription.json@@ -347,6 +347,8 @@"plans.message.more": "More models in plan comparison","plans.message.normalLLM": "Standard Models","plans.message.tooltip": "Estimated based on average {{number}} tokens per message",+ "plans.messageChannels.title": "Message Channels",+ "plans.messageChannels.wechat": "WeChat channel","plans.mostPicked": "Most Popular","plans.navs.monthly": "Monthly","plans.navs.payonce": "One-time",diff --git a/locales/es-ES/agent.json b/locales/es-ES/agent.jsonindex cc44e8c8921..f76957f1cef 100644--- a/locales/es-ES/agent.json+++ b/locales/es-ES/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Esta acción eliminará permanentemente este canal de mensajes y su configuración. Esto no se puede deshacer.","channel.devWebhookProxyUrl": "URL del Túnel HTTPS","channel.devWebhookProxyUrlHint": "Opcional. URL del túnel HTTPS para reenviar solicitudes de webhook al servidor de desarrollo local.",- "channel.disabled": "Deshabilitado","channel.discord.description": "Conecta este asistente al servidor de Discord para chats de canal y mensajes directos.","channel.displayToolCalls": "Mostrar llamadas de herramientas","channel.displayToolCallsHint": "Mostrar detalles de las llamadas de herramientas durante las respuestas de IA. Cuando está desactivado, solo se muestra la respuesta final para una experiencia más limpia.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Vinculación","channel.dmPolicyPairingHint": "Los desconocidos necesitan usar /approve para enviar DM","channel.documentation": "Documentación",- "channel.enabled": "Habilitado","channel.encryptKey": "Clave de Encriptación","channel.encryptKeyHint": "Opcional. Usada para desencriptar cargas útiles de eventos encriptados.","channel.encryptKeyPlaceholder": "Clave de encriptación opcional",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Descartar","channel.messengerPromo.title": "Omite la configuración","channel.openPlatform": "Plataforma Abierta",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Actualizar",+ "channel.paidFeature.cta.workspace": "Actualizar",+ "channel.paidFeature.desc": "{{name}} está disponible en planes de pago. Actualiza a cualquier plan de pago para configurar y mantener este canal conectado.",+ "channel.paidFeature.enforce.desc": "{{name}} está disponible en planes de pago. Actualiza a un plan personal de pago o a un espacio de trabajo Pro / Business para configurar y mantener este canal conectado.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} está disponible en planes personales de pago. Actualiza para configurar y mantener este canal conectado.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} está disponible en espacios de trabajo Pro / Business. Actualiza este espacio de trabajo para configurar y mantener este canal conectado.",+ "channel.paidFeature.enforce.title": "Se requiere un plan de pago",+ "channel.paidFeature.notice.desc": "Debido a los altos costos de comunicación del canal {{name}}, planeamos convertir este canal en una función de pago pronto. Las conexiones existentes seguirán disponibles durante el período de aviso, pero crear o reconectar este canal ahora requiere un plan personal de pago o un espacio de trabajo Pro / Business.",+ "channel.paidFeature.notice.desc.personal": "Debido a los altos costos de comunicación del canal {{name}}, planeamos convertir este canal en una función de pago pronto. Las conexiones existentes seguirán disponibles durante el período de aviso, pero crear o reconectar este canal requiere un plan personal de pago.",+ "channel.paidFeature.notice.desc.workspace": "Debido a los altos costos de comunicación del canal {{name}}, planeamos convertir este canal en una función de pago pronto. Las conexiones existentes seguirán disponibles durante el período de aviso, pero crear o reconectar este canal requiere actualizar este espacio de trabajo a Pro o Business.",+ "channel.paidFeature.notice.title": "{{name}} pronto requerirá un plan de pago",+ "channel.paidFeature.noticeBadge": "Pronto Pro",+ "channel.paidFeature.title": "Se requiere un plan de pago","channel.platforms": "Plataformas","channel.publicKey": "Clave Pública","channel.publicKeyHint": "Opcional. Usada para verificar solicitudes de interacción desde Discord.",diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.jsonindex 6716124f17a..c6e7b7fd5f1 100644--- a/locales/es-ES/chat.json+++ b/locales/es-ES/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Buscar plantillas...","groupWizard.title": "Crear grupo","groupWizard.useTemplate": "Usar plantilla",+ "heteroAgent.claudeQuota.errorRateLimited": "La cuota de código de Claude está temporalmente limitada. Por favor, inténtalo de nuevo más tarde.",+ "heteroAgent.claudeQuota.refreshRateLimited": "La actualización de la cuota está temporalmente limitada. Mostrando los últimos datos disponibles.","heteroAgent.claudeQuota.scopedWeekly": "Semanal ({{model}})","heteroAgent.claudeQuota.title": "Cuota de Claude Code","heteroAgent.claudeQuota.tooltip": "Ver cuota de Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% restante","heteroAgent.quota.noData": "La cuota aún no está disponible.","heteroAgent.quota.refresh": "Actualizar cuota",+ "heteroAgent.quota.refreshFailed": "No se pudo actualizar la cuota. Mostrando los últimos datos disponibles.","heteroAgent.quota.resetsIn": "Se reinicia en {{duration}}","heteroAgent.quota.resetsSoon": "Se reinicia pronto","heteroAgent.quota.session": "Sesión",diff --git a/locales/es-ES/device.json b/locales/es-ES/device.jsonindex 030373a889c..51f40067406 100644--- a/locales/es-ES/device.json+++ b/locales/es-ES/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Cambios sin confirmar: {{count}} archivo","workingDirectory.uncommittedChanges_other": "Cambios sin confirmar: {{count}} archivos","workingDirectory.undo": "Deshacer",- "workingDirectory.worktreeCount": "{{count}} worktrees",- "workingDirectory.worktreeSwitchDescription": "Cambiar el directorio de trabajo de la conversación actual",+ "workingDirectory.worktreeSearchPlaceholder": "Buscar áreas de trabajo","workingDirectory.worktreeUnavailable": "no disponible","workingDirectory.worktreesEmpty": "No se encontraron worktrees",- "workingDirectory.worktreesHeading": "Worktrees"+ "workingDirectory.worktreesHeading": "Worktrees",+ "workingDirectory.worktreesNoMatch": "No hay áreas de trabajo coincidentes"}diff --git a/locales/fa-IR/agent.json b/locales/fa-IR/agent.jsonindex c74610de68c..0afd69fadb1 100644--- a/locales/fa-IR/agent.json+++ b/locales/fa-IR/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "این اقدام کانال پیام و تنظیمات آن را به طور دائمی حذف خواهد کرد. این عمل قابل بازگشت نیست.","channel.devWebhookProxyUrl": "آدرس HTTPS Tunnel","channel.devWebhookProxyUrlHint": "اختیاری. آدرس HTTPS Tunnel برای ارسال درخواستهای وبهوک به سرور محلی توسعه.",- "channel.disabled": "غیرفعال","channel.discord.description": "این دستیار را به سرور Discord برای چت کانال و پیامهای مستقیم متصل کنید.","channel.displayToolCalls": "نمایش فراخوانی ابزارها","channel.displayToolCallsHint": "جزئیات فراخوانی ابزارها را در طول پاسخهای هوش مصنوعی نمایش دهید. در صورت غیرفعال بودن، تنها پاسخ نهایی برای تجربهای تمیزتر نمایش داده میشود.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "جفتسازی","channel.dmPolicyPairingHint": "افراد ناشناس برای ارسال پیام خصوصی باید /approve استفاده کنند","channel.documentation": "مستندات",- "channel.enabled": "فعال","channel.encryptKey": "کلید رمزگذاری","channel.encryptKeyHint": "اختیاری. برای رمزگشایی بارهای رمزگذاری شده رویدادها استفاده میشود.","channel.encryptKeyPlaceholder": "کلید رمزگذاری اختیاری",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "رد کردن","channel.messengerPromo.title": "از تنظیمات صرفنظر کنید","channel.openPlatform": "پلتفرم باز",+ "channel.paidFeature.badge": "حرفهای",+ "channel.paidFeature.cta.personal": "ارتقا دهید",+ "channel.paidFeature.cta.workspace": "ارتقا دهید",+ "channel.paidFeature.desc": "{{name}} در طرحهای پولی در دسترس است. برای پیکربندی و نگه داشتن این کانال متصل، به هر طرح پولی ارتقا دهید.",+ "channel.paidFeature.enforce.desc": "{{name}} در طرحهای پولی در دسترس است. برای پیکربندی و نگه داشتن این کانال متصل، به یک طرح شخصی پولی یا یک فضای کاری حرفهای / تجاری ارتقا دهید.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} در طرحهای شخصی پولی در دسترس است. برای پیکربندی و نگه داشتن این کانال متصل، ارتقا دهید.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} در فضاهای کاری حرفهای / تجاری در دسترس است. برای پیکربندی و نگه داشتن این کانال متصل، این فضای کاری را ارتقا دهید.",+ "channel.paidFeature.enforce.title": "نیاز به طرح پولی",+ "channel.paidFeature.notice.desc": "به دلیل هزینههای بالای ارتباطی برای کانال {{name}}، قصد داریم این کانال را به یک ویژگی پولی تبدیل کنیم. اتصالات موجود در طول دوره اطلاعرسانی در دسترس باقی میمانند، اما ایجاد یا اتصال مجدد این کانال اکنون نیاز به یک طرح شخصی پولی یا یک فضای کاری حرفهای / تجاری دارد.",+ "channel.paidFeature.notice.desc.personal": "به دلیل هزینههای بالای ارتباطی برای کانال {{name}}، قصد داریم این کانال را به یک ویژگی پولی تبدیل کنیم. اتصالات موجود در طول دوره اطلاعرسانی در دسترس باقی میمانند، اما ایجاد یا اتصال مجدد این کانال نیاز به یک طرح شخصی پولی دارد.",+ "channel.paidFeature.notice.desc.workspace": "به دلیل هزینههای بالای ارتباطی برای کانال {{name}}، قصد داریم این کانال را به یک ویژگی پولی تبدیل کنیم. اتصالات موجود در طول دوره اطلاعرسانی در دسترس باقی میمانند، اما ایجاد یا اتصال مجدد این کانال نیاز به ارتقای این فضای کاری به حرفهای یا تجاری دارد.",+ "channel.paidFeature.notice.title": "{{name}} به زودی نیاز به طرح پولی خواهد داشت",+ "channel.paidFeature.noticeBadge": "به زودی حرفهای",+ "channel.paidFeature.title": "نیاز به طرح پولی","channel.platforms": "پلتفرمها","channel.publicKey": "کلید عمومی","channel.publicKeyHint": "اختیاری. برای تأیید درخواستهای تعامل از Discord استفاده میشود.",diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.jsonindex dc808081df2..f229962eda1 100644--- a/locales/fa-IR/chat.json+++ b/locales/fa-IR/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "جستجوی الگوها...","groupWizard.title": "ایجاد گروه","groupWizard.useTemplate": "استفاده از الگو",+ "heteroAgent.claudeQuota.errorRateLimited": "سهمیه کد کلود به طور موقت محدود شده است. لطفاً بعداً دوباره تلاش کنید.",+ "heteroAgent.claudeQuota.refreshRateLimited": "تازهسازی سهمیه به طور موقت محدود شده است. آخرین دادههای موجود نمایش داده میشود.","heteroAgent.claudeQuota.scopedWeekly": "هفتگی ({{model}})","heteroAgent.claudeQuota.title": "سهمیه Claude Code","heteroAgent.claudeQuota.tooltip": "مشاهده سهمیه Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% باقیمانده","heteroAgent.quota.noData": "سهمیه هنوز در دسترس نیست.","heteroAgent.quota.refresh": "تازهسازی سهمیه",+ "heteroAgent.quota.refreshFailed": "نمیتوان سهمیه را تازهسازی کرد. آخرین دادههای موجود نمایش داده میشود.","heteroAgent.quota.resetsIn": "بازنشانی میشود در {{duration}}","heteroAgent.quota.resetsSoon": "به زودی بازنشانی میشود","heteroAgent.quota.session": "جلسه",diff --git a/locales/fa-IR/device.json b/locales/fa-IR/device.jsonindex 5fc5cc1e8f6..2e09233b0b5 100644--- a/locales/fa-IR/device.json+++ b/locales/fa-IR/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "تغییرات ثبت نشده: {{count}} فایل","workingDirectory.uncommittedChanges_other": "تغییرات ثبت نشده: {{count}} فایلها","workingDirectory.undo": "بازگرداندن",- "workingDirectory.worktreeCount": "{{count}} ورکتری",- "workingDirectory.worktreeSwitchDescription": "تغییر دایرکتوری کاری مکالمه فعلی",+ "workingDirectory.worktreeSearchPlaceholder": "جستجوی شاخههای کاری","workingDirectory.worktreeUnavailable": "در دسترس نیست","workingDirectory.worktreesEmpty": "هیچ ورکتری یافت نشد",- "workingDirectory.worktreesHeading": "ورکتریها"+ "workingDirectory.worktreesHeading": "ورکتریها",+ "workingDirectory.worktreesNoMatch": "هیچ شاخه کاری مطابق یافت نشد"}diff --git a/locales/fr-FR/agent.json b/locales/fr-FR/agent.jsonindex aff171b7051..f06d0377148 100644--- a/locales/fr-FR/agent.json+++ b/locales/fr-FR/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Cette action supprimera définitivement ce canal de messages et sa configuration. Cela ne peut pas être annulé.","channel.devWebhookProxyUrl": "URL du tunnel HTTPS","channel.devWebhookProxyUrlHint": "Optionnel. URL du tunnel HTTPS pour transférer les requêtes webhook vers le serveur de développement local.",- "channel.disabled": "Désactivé","channel.discord.description": "Connectez cet assistant au serveur Discord pour les discussions de canal et les messages directs.","channel.displayToolCalls": "Afficher les appels d'outils","channel.displayToolCallsHint": "Afficher les détails des appels d'outils pendant les réponses de l'IA. Lorsqu'il est désactivé, seule la réponse finale est affichée pour une expérience plus épurée.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Appairage","channel.dmPolicyPairingHint": "Les inconnus doivent utiliser /approve pour envoyer un DM","channel.documentation": "Documentation",- "channel.enabled": "Activé","channel.encryptKey": "Clé de cryptage","channel.encryptKeyHint": "Optionnel. Utilisé pour décrypter les charges utiles des événements cryptés.","channel.encryptKeyPlaceholder": "Clé de cryptage optionnelle",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Ignorer","channel.messengerPromo.title": "Passez l'installation","channel.openPlatform": "Plateforme ouverte",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Mettre à niveau",+ "channel.paidFeature.cta.workspace": "Mettre à niveau",+ "channel.paidFeature.desc": "{{name}} est disponible avec des plans payants. Passez à un plan payant pour configurer et maintenir ce canal connecté.",+ "channel.paidFeature.enforce.desc": "{{name}} est disponible avec des plans payants. Passez à un plan personnel payant ou à un espace de travail Pro / Business pour configurer et maintenir ce canal connecté.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} est disponible avec des plans personnels payants. Passez à un plan payant pour configurer et maintenir ce canal connecté.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} est disponible dans les espaces de travail Pro / Business. Mettez à niveau cet espace de travail pour configurer et maintenir ce canal connecté.",+ "channel.paidFeature.enforce.title": "Plan payant requis",+ "channel.paidFeature.notice.desc": "En raison des coûts élevés de communication pour le canal {{name}}, nous prévoyons de rendre ce canal une fonctionnalité payante prochainement. Les connexions existantes restent disponibles pendant la période de préavis, mais la création ou la reconnexion de ce canal nécessite désormais un plan personnel payant ou un espace de travail Pro / Business.",+ "channel.paidFeature.notice.desc.personal": "En raison des coûts élevés de communication pour le canal {{name}}, nous prévoyons de rendre ce canal une fonctionnalité payante prochainement. Les connexions existantes restent disponibles pendant la période de préavis, mais la création ou la reconnexion de ce canal nécessite un plan personnel payant.",+ "channel.paidFeature.notice.desc.workspace": "En raison des coûts élevés de communication pour le canal {{name}}, nous prévoyons de rendre ce canal une fonctionnalité payante prochainement. Les connexions existantes restent disponibles pendant la période de préavis, mais la création ou la reconnexion de ce canal nécessite de mettre à niveau cet espace de travail vers Pro ou Business.",+ "channel.paidFeature.notice.title": "{{name}} nécessitera bientôt un plan payant",+ "channel.paidFeature.noticeBadge": "Pro bientôt",+ "channel.paidFeature.title": "Plan payant requis","channel.platforms": "Plateformes","channel.publicKey": "Clé publique","channel.publicKeyHint": "Optionnel. Utilisé pour vérifier les requêtes d'interaction provenant de Discord.",diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.jsonindex 15282714fc5..3231030c97a 100644--- a/locales/fr-FR/chat.json+++ b/locales/fr-FR/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Rechercher des modèles...","groupWizard.title": "Créer un groupe","groupWizard.useTemplate": "Utiliser un modèle",+ "heteroAgent.claudeQuota.errorRateLimited": "Le quota de Claude Code est temporairement limité. Veuillez réessayer plus tard.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Le rafraîchissement du quota est temporairement limité. Affichage des dernières données disponibles.","heteroAgent.claudeQuota.scopedWeekly": "Hebdomadaire ({{model}})","heteroAgent.claudeQuota.title": "Quota Claude Code","heteroAgent.claudeQuota.tooltip": "Voir le quota Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% restant","heteroAgent.quota.noData": "Le quota n'est pas encore disponible.","heteroAgent.quota.refresh": "Actualiser le quota",+ "heteroAgent.quota.refreshFailed": "Impossible de rafraîchir le quota. Affichage des dernières données disponibles.","heteroAgent.quota.resetsIn": "Réinitialisation dans {{duration}}","heteroAgent.quota.resetsSoon": "Réinitialisation bientôt","heteroAgent.quota.session": "Session",diff --git a/locales/fr-FR/device.json b/locales/fr-FR/device.jsonindex 29aa142703e..29248c705a8 100644--- a/locales/fr-FR/device.json+++ b/locales/fr-FR/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Modifications non validées : {{count}} fichier","workingDirectory.uncommittedChanges_other": "Modifications non validées : {{count}} fichiers","workingDirectory.undo": "Annuler",- "workingDirectory.worktreeCount": "{{count}} worktrees",- "workingDirectory.worktreeSwitchDescription": "Changer le répertoire de travail de la conversation actuelle",+ "workingDirectory.worktreeSearchPlaceholder": "Rechercher des arbres de travail","workingDirectory.worktreeUnavailable": "indisponible","workingDirectory.worktreesEmpty": "Aucun worktree trouvé",- "workingDirectory.worktreesHeading": "Worktrees"+ "workingDirectory.worktreesHeading": "Worktrees",+ "workingDirectory.worktreesNoMatch": "Aucun arbre de travail correspondant"}diff --git a/locales/it-IT/agent.json b/locales/it-IT/agent.jsonindex ad289841219..a6e895a13b1 100644--- a/locales/it-IT/agent.json+++ b/locales/it-IT/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Questa azione rimuoverà permanentemente questo canale di messaggi e la sua configurazione. Questa operazione non può essere annullata.","channel.devWebhookProxyUrl": "URL Tunnel HTTPS","channel.devWebhookProxyUrlHint": "Opzionale. URL del tunnel HTTPS per inoltrare richieste webhook al server di sviluppo locale.",- "channel.disabled": "Disabilitato","channel.discord.description": "Connetti questo assistente al server Discord per chat di canale e messaggi diretti.","channel.displayToolCalls": "Mostra Chiamate Strumento","channel.displayToolCallsHint": "Mostra i dettagli delle chiamate agli strumenti durante le risposte dell'IA. Quando disabilitato, viene visualizzata solo la risposta finale per un'esperienza più pulita.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Associazione","channel.dmPolicyPairingHint": "Gli sconosciuti devono usare /approve per inviare DM","channel.documentation": "Documentazione",- "channel.enabled": "Abilitato","channel.encryptKey": "Chiave di Crittografia","channel.encryptKeyHint": "Opzionale. Utilizzata per decrittare i payload degli eventi criptati.","channel.encryptKeyPlaceholder": "Chiave di crittografia opzionale",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Ignora","channel.messengerPromo.title": "Salta la configurazione","channel.openPlatform": "Piattaforma aperta",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Aggiorna",+ "channel.paidFeature.cta.workspace": "Aggiorna",+ "channel.paidFeature.desc": "{{name}} è disponibile nei piani a pagamento. Passa a un piano a pagamento per configurare e mantenere questo canale connesso.",+ "channel.paidFeature.enforce.desc": "{{name}} è disponibile nei piani a pagamento. Passa a un piano personale a pagamento o a un workspace Pro / Business per configurare e mantenere questo canale connesso.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} è disponibile nei piani personali a pagamento. Passa a un piano a pagamento per configurare e mantenere questo canale connesso.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} è disponibile nei workspace Pro / Business. Aggiorna questo workspace per configurare e mantenere questo canale connesso.",+ "channel.paidFeature.enforce.title": "Piano a pagamento richiesto",+ "channel.paidFeature.notice.desc": "A causa degli elevati costi di comunicazione per il canale {{name}}, prevediamo di rendere questo canale una funzionalità a pagamento a breve. Le connessioni esistenti rimangono disponibili durante il periodo di preavviso, ma creare o riconnettere questo canale ora richiede un piano personale a pagamento o un workspace Pro / Business.",+ "channel.paidFeature.notice.desc.personal": "A causa degli elevati costi di comunicazione per il canale {{name}}, prevediamo di rendere questo canale una funzionalità a pagamento a breve. Le connessioni esistenti rimangono disponibili durante il periodo di preavviso, ma creare o riconnettere questo canale richiede un piano personale a pagamento.",+ "channel.paidFeature.notice.desc.workspace": "A causa degli elevati costi di comunicazione per il canale {{name}}, prevediamo di rendere questo canale una funzionalità a pagamento a breve. Le connessioni esistenti rimangono disponibili durante il periodo di preavviso, ma creare o riconnettere questo canale richiede l'aggiornamento di questo workspace a Pro o Business.",+ "channel.paidFeature.notice.title": "{{name}} richiederà presto un piano a pagamento",+ "channel.paidFeature.noticeBadge": "Pro presto",+ "channel.paidFeature.title": "Piano a pagamento richiesto","channel.platforms": "Piattaforme","channel.publicKey": "Chiave Pubblica","channel.publicKeyHint": "Opzionale. Utilizzata per verificare le richieste di interazione da Discord.",diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.jsonindex a351275b561..4b3f0b6c28b 100644--- a/locales/it-IT/chat.json+++ b/locales/it-IT/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Cerca modelli...","groupWizard.title": "Crea Gruppo","groupWizard.useTemplate": "Usa Modello",+ "heteroAgent.claudeQuota.errorRateLimited": "La quota di Claude Code è temporaneamente limitata. Riprova più tardi.",+ "heteroAgent.claudeQuota.refreshRateLimited": "L'aggiornamento della quota è temporaneamente limitato. Mostrando gli ultimi dati disponibili.","heteroAgent.claudeQuota.scopedWeekly": "Settimanale ({{model}})","heteroAgent.claudeQuota.title": "Quota Claude Code","heteroAgent.claudeQuota.tooltip": "Visualizza la quota di Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% rimanente","heteroAgent.quota.noData": "La quota non è ancora disponibile.","heteroAgent.quota.refresh": "Aggiorna quota",+ "heteroAgent.quota.refreshFailed": "Impossibile aggiornare la quota. Mostrando gli ultimi dati disponibili.","heteroAgent.quota.resetsIn": "Si ripristina tra {{duration}}","heteroAgent.quota.resetsSoon": "Ripristino imminente","heteroAgent.quota.session": "Sessione",diff --git a/locales/it-IT/device.json b/locales/it-IT/device.jsonindex b66543733da..e046b84c784 100644--- a/locales/it-IT/device.json+++ b/locales/it-IT/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Modifiche non confermate: {{count}} file","workingDirectory.uncommittedChanges_other": "Modifiche non confermate: {{count}} file","workingDirectory.undo": "Annulla",- "workingDirectory.worktreeCount": "{{count}} worktree",- "workingDirectory.worktreeSwitchDescription": "Cambia la directory di lavoro della conversazione corrente",+ "workingDirectory.worktreeSearchPlaceholder": "Cerca worktree","workingDirectory.worktreeUnavailable": "non disponibile","workingDirectory.worktreesEmpty": "Nessun worktree trovato",- "workingDirectory.worktreesHeading": "Worktree"+ "workingDirectory.worktreesHeading": "Worktree",+ "workingDirectory.worktreesNoMatch": "Nessun worktree corrispondente"}diff --git a/locales/ja-JP/agent.json b/locales/ja-JP/agent.jsonindex 6b6c9be11c0..8287924c933 100644--- a/locales/ja-JP/agent.json+++ b/locales/ja-JP/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "この操作により、このメッセージチャンネルとその設定が永久に削除されます。この操作は元に戻せません。","channel.devWebhookProxyUrl": "HTTPSトンネルURL","channel.devWebhookProxyUrlHint": "任意。ローカル開発サーバーへのWebhookリクエストを転送するためのHTTPSトンネルURL。",- "channel.disabled": "無効","channel.discord.description": "このアシスタントをDiscordサーバーに接続して、チャンネルチャットやダイレクトメッセージを利用します。","channel.displayToolCalls": "ツールコールを表示","channel.displayToolCallsHint": "AIの応答中にツールコールの詳細を表示します。無効にすると、最終的な応答のみが表示され、よりスッキリとした体験が得られます。",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "ペアリング","channel.dmPolicyPairingHint": "知らないユーザーはDMする前に /approve が必要です","channel.documentation": "ドキュメント",- "channel.enabled": "有効","channel.encryptKey": "暗号化キー","channel.encryptKeyHint": "任意。暗号化されたイベントペイロードを復号するために使用されます。","channel.encryptKeyPlaceholder": "任意の暗号化キー",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "閉じる","channel.messengerPromo.title": "設定をスキップ","channel.openPlatform": "オープンプラットフォーム",+ "channel.paidFeature.badge": "プロ",+ "channel.paidFeature.cta.personal": "アップグレード",+ "channel.paidFeature.cta.workspace": "アップグレード",+ "channel.paidFeature.desc": "{{name}}は有料プランで利用可能です。どの有料プランにもアップグレードして、このチャンネルを設定し接続を維持してください。",+ "channel.paidFeature.enforce.desc": "{{name}}は有料プランで利用可能です。有料の個人プランまたはプロ/ビジネスワークスペースにアップグレードして、このチャンネルを設定し接続を維持してください。",+ "channel.paidFeature.enforce.desc.personal": "{{name}}は有料の個人プランで利用可能です。アップグレードして、このチャンネルを設定し接続を維持してください。",+ "channel.paidFeature.enforce.desc.workspace": "{{name}}はプロ/ビジネスワークスペースで利用可能です。このワークスペースをアップグレードして、このチャンネルを設定し接続を維持してください。",+ "channel.paidFeature.enforce.title": "有料プランが必要です",+ "channel.paidFeature.notice.desc": "{{name}}チャンネルの高い通信コストのため、このチャンネルを有料機能にする予定です。通知期間中は既存の接続が利用可能ですが、現在このチャンネルを作成または再接続するには、有料の個人プランまたはプロ/ビジネスワークスペースが必要です。",+ "channel.paidFeature.notice.desc.personal": "{{name}}チャンネルの高い通信コストのため、このチャンネルを有料機能にする予定です。通知期間中は既存の接続が利用可能ですが、このチャンネルを作成または再接続するには、有料の個人プランが必要です。",+ "channel.paidFeature.notice.desc.workspace": "{{name}}チャンネルの高い通信コストのため、このチャンネルを有料機能にする予定です。通知期間中は既存の接続が利用可能ですが、このチャンネルを作成または再接続するには、このワークスペースをプロまたはビジネスにアップグレードする必要があります。",+ "channel.paidFeature.notice.title": "{{name}}はまもなく有料プランが必要になります",+ "channel.paidFeature.noticeBadge": "まもなくプロ",+ "channel.paidFeature.title": "有料プランが必要です","channel.platforms": "プラットフォーム","channel.publicKey": "公開鍵","channel.publicKeyHint": "任意。Discordからのインタラクションリクエストを検証するために使用されます。",diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.jsonindex 974fe23774a..5a65b38a1ea 100644--- a/locales/ja-JP/chat.json+++ b/locales/ja-JP/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "テンプレートを検索…","groupWizard.title": "グループを作成","groupWizard.useTemplate": "テンプレートを使用",+ "heteroAgent.claudeQuota.errorRateLimited": "Claudeコードのクォータが一時的に制限されています。後でもう一度お試しください。",+ "heteroAgent.claudeQuota.refreshRateLimited": "クォータの更新が一時的に制限されています。最後に利用可能なデータを表示しています。","heteroAgent.claudeQuota.scopedWeekly": "週次 ({{model}})","heteroAgent.claudeQuota.title": "Claude Codeのクォータ","heteroAgent.claudeQuota.tooltip": "Claude Codeのクォータを表示",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "残り{{percent}}%","heteroAgent.quota.noData": "クォータはまだ利用可能ではありません。","heteroAgent.quota.refresh": "クォータを更新",+ "heteroAgent.quota.refreshFailed": "クォータを更新できませんでした。最後に利用可能なデータを表示しています。","heteroAgent.quota.resetsIn": "{{duration}}でリセット","heteroAgent.quota.resetsSoon": "まもなくリセット","heteroAgent.quota.session": "セッション",diff --git a/locales/ja-JP/device.json b/locales/ja-JP/device.jsonindex 0f49aa827ce..23b201197b6 100644--- a/locales/ja-JP/device.json+++ b/locales/ja-JP/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "未コミットの変更: {{count}} ファイル","workingDirectory.uncommittedChanges_other": "未コミットの変更: {{count}} ファイル","workingDirectory.undo": "元に戻す",- "workingDirectory.worktreeCount": "{{count}} 個のワークツリー",- "workingDirectory.worktreeSwitchDescription": "現在の会話の作業ディレクトリを切り替えます",+ "workingDirectory.worktreeSearchPlaceholder": "ワークツリーを検索","workingDirectory.worktreeUnavailable": "利用不可","workingDirectory.worktreesEmpty": "ワークツリーが見つかりません",- "workingDirectory.worktreesHeading": "ワークツリー"+ "workingDirectory.worktreesHeading": "ワークツリー",+ "workingDirectory.worktreesNoMatch": "一致するワークツリーがありません"}diff --git a/locales/ko-KR/agent.json b/locales/ko-KR/agent.jsonindex b69ac254e32..c78ba5042e5 100644--- a/locales/ko-KR/agent.json+++ b/locales/ko-KR/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "이 작업은 메시지 채널과 해당 설정을 영구적으로 제거합니다. 되돌릴 수 없습니다.","channel.devWebhookProxyUrl": "HTTPS 터널 URL","channel.devWebhookProxyUrlHint": "선택 사항. 로컬 개발 서버로 웹훅 요청을 전달하기 위한 HTTPS 터널 URL입니다.",- "channel.disabled": "비활성화됨","channel.discord.description": "이 어시스턴트를 Discord 서버에 연결하여 채널 채팅 및 직접 메시지를 사용할 수 있습니다.","channel.displayToolCalls": "도구 호출 표시","channel.displayToolCallsHint": "AI 응답 중 도구 호출 세부 정보를 표시합니다. 비활성화하면 최종 응답만 표시되어 더 깔끔한 경험을 제공합니다.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "페어링","channel.dmPolicyPairingHint": "낯선 사용자는 DM을 보내려면 /approve 가 필요합니다.","channel.documentation": "문서",- "channel.enabled": "활성화됨","channel.encryptKey": "암호화 키","channel.encryptKeyHint": "선택 사항. 암호화된 이벤트 페이로드를 해독하는 데 사용됩니다.","channel.encryptKeyPlaceholder": "선택적 암호화 키",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "닫기","channel.messengerPromo.title": "설정을 건너뛰세요","channel.openPlatform": "오픈 플랫폼",+ "channel.paidFeature.badge": "프로",+ "channel.paidFeature.cta.personal": "업그레이드",+ "channel.paidFeature.cta.workspace": "업그레이드",+ "channel.paidFeature.desc": "{{name}}은 유료 플랜에서 사용할 수 있습니다. 유료 플랜으로 업그레이드하여 이 채널을 설정하고 연결 상태를 유지하세요.",+ "channel.paidFeature.enforce.desc": "{{name}}은 유료 플랜에서 사용할 수 있습니다. 유료 개인 플랜 또는 프로/비즈니스 워크스페이스로 업그레이드하여 이 채널을 설정하고 연결 상태를 유지하세요.",+ "channel.paidFeature.enforce.desc.personal": "{{name}}은 유료 개인 플랜에서 사용할 수 있습니다. 업그레이드하여 이 채널을 설정하고 연결 상태를 유지하세요.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}}은 프로/비즈니스 워크스페이스에서 사용할 수 있습니다. 이 워크스페이스를 업그레이드하여 이 채널을 설정하고 연결 상태를 유지하세요.",+ "channel.paidFeature.enforce.title": "유료 플랜 필요",+ "channel.paidFeature.notice.desc": "{{name}} 채널의 높은 통신 비용으로 인해 이 채널을 곧 유료 기능으로 전환할 계획입니다. 기존 연결은 공지 기간 동안 계속 사용할 수 있지만, 지금 이 채널을 생성하거나 다시 연결하려면 유료 개인 플랜 또는 프로/비즈니스 워크스페이스가 필요합니다.",+ "channel.paidFeature.notice.desc.personal": "{{name}} 채널의 높은 통신 비용으로 인해 이 채널을 곧 유료 기능으로 전환할 계획입니다. 기존 연결은 공지 기간 동안 계속 사용할 수 있지만, 이 채널을 생성하거나 다시 연결하려면 유료 개인 플랜이 필요합니다.",+ "channel.paidFeature.notice.desc.workspace": "{{name}} 채널의 높은 통신 비용으로 인해 이 채널을 곧 유료 기능으로 전환할 계획입니다. 기존 연결은 공지 기간 동안 계속 사용할 수 있지만, 이 채널을 생성하거나 다시 연결하려면 이 워크스페이스를 프로 또는 비즈니스로 업그레이드해야 합니다.",+ "channel.paidFeature.notice.title": "{{name}}은 곧 유료 플랜이 필요합니다",+ "channel.paidFeature.noticeBadge": "곧 프로",+ "channel.paidFeature.title": "유료 플랜 필요","channel.platforms": "플랫폼","channel.publicKey": "공개 키","channel.publicKeyHint": "선택 사항. Discord의 상호작용 요청을 검증하는 데 사용됩니다.",diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.jsonindex 42d00633879..40158052ba9 100644--- a/locales/ko-KR/chat.json+++ b/locales/ko-KR/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "템플릿 검색…","groupWizard.title": "그룹 만들기","groupWizard.useTemplate": "템플릿 사용",+ "heteroAgent.claudeQuota.errorRateLimited": "Claude 코드 할당량이 일시적으로 제한되었습니다. 나중에 다시 시도해주세요.",+ "heteroAgent.claudeQuota.refreshRateLimited": "할당량 갱신이 일시적으로 제한되었습니다. 마지막으로 사용 가능한 데이터를 표시합니다.","heteroAgent.claudeQuota.scopedWeekly": "주간 ({{model}})","heteroAgent.claudeQuota.title": "Claude Code 할당량","heteroAgent.claudeQuota.tooltip": "Claude Code 할당량 보기",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% 남음","heteroAgent.quota.noData": "할당량이 아직 제공되지 않았습니다.","heteroAgent.quota.refresh": "할당량 새로고침",+ "heteroAgent.quota.refreshFailed": "할당량을 갱신할 수 없습니다. 마지막으로 사용 가능한 데이터를 표시합니다.","heteroAgent.quota.resetsIn": "{{duration}} 후 재설정","heteroAgent.quota.resetsSoon": "곧 재설정","heteroAgent.quota.session": "세션",diff --git a/locales/ko-KR/device.json b/locales/ko-KR/device.jsonindex 58f4996c1f2..ed511a67624 100644--- a/locales/ko-KR/device.json+++ b/locales/ko-KR/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "커밋되지 않은 변경 사항: {{count}}개의 파일","workingDirectory.uncommittedChanges_other": "커밋되지 않은 변경 사항: {{count}}개의 파일","workingDirectory.undo": "실행 취소",- "workingDirectory.worktreeCount": "{{count}}개의 작업 트리",- "workingDirectory.worktreeSwitchDescription": "현재 대화 작업 디렉토리를 전환합니다",+ "workingDirectory.worktreeSearchPlaceholder": "워크트리 검색","workingDirectory.worktreeUnavailable": "사용 불가","workingDirectory.worktreesEmpty": "작업 트리가 없습니다",- "workingDirectory.worktreesHeading": "작업 트리"+ "workingDirectory.worktreesHeading": "작업 트리",+ "workingDirectory.worktreesNoMatch": "일치하는 워크트리가 없습니다"}diff --git a/locales/nl-NL/agent.json b/locales/nl-NL/agent.jsonindex f797bc84982..f982ff89f76 100644--- a/locales/nl-NL/agent.json+++ b/locales/nl-NL/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Deze actie zal dit berichtkanaal en de configuratie ervan permanent verwijderen. Dit kan niet ongedaan worden gemaakt.","channel.devWebhookProxyUrl": "HTTPS-tunnel-URL","channel.devWebhookProxyUrlHint": "Optioneel. HTTPS-tunnel-URL voor het doorsturen van webhookverzoeken naar lokale ontwikkelserver.",- "channel.disabled": "Uitgeschakeld","channel.discord.description": "Verbind deze assistent met een Discord-server voor kanaalchat en directe berichten.","channel.displayToolCalls": "Hulpmiddeloproepen weergeven","channel.displayToolCallsHint": "Toon details van hulpmiddeloproepen tijdens AI-antwoorden. Wanneer uitgeschakeld, wordt alleen het uiteindelijke antwoord weergegeven voor een overzichtelijkere ervaring.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Koppelen","channel.dmPolicyPairingHint": "Onbekenden moeten /approve gebruiken om een DM te sturen","channel.documentation": "Documentatie",- "channel.enabled": "Ingeschakeld","channel.encryptKey": "Versleutelingssleutel","channel.encryptKeyHint": "Optioneel. Gebruikt om versleutelde gebeurtenisgegevens te ontsleutelen.","channel.encryptKeyPlaceholder": "Optionele versleutelingssleutel",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Sluiten","channel.messengerPromo.title": "Sla de setup over","channel.openPlatform": "Open Platform",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Upgraden",+ "channel.paidFeature.cta.workspace": "Upgraden",+ "channel.paidFeature.desc": "{{name}} is beschikbaar in betaalde abonnementen. Upgrade naar een betaald abonnement om dit kanaal te configureren en verbonden te houden.",+ "channel.paidFeature.enforce.desc": "{{name}} is beschikbaar in betaalde abonnementen. Upgrade naar een betaald persoonlijk abonnement of een Pro / Business-werkruimte om dit kanaal te configureren en verbonden te houden.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} is beschikbaar in betaalde persoonlijke abonnementen. Upgrade om dit kanaal te configureren en verbonden te houden.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} is beschikbaar in Pro / Business-werkruimtes. Upgrade deze werkruimte om dit kanaal te configureren en verbonden te houden.",+ "channel.paidFeature.enforce.title": "Betaald abonnement vereist",+ "channel.paidFeature.notice.desc": "Vanwege de hoge communicatiekosten voor het {{name}}-kanaal, zijn we van plan om dit kanaal binnenkort een betaalde functie te maken. Bestaande verbindingen blijven beschikbaar tijdens de kennisgevingsperiode, maar het aanmaken of opnieuw verbinden van dit kanaal vereist nu een betaald persoonlijk abonnement of een Pro / Business-werkruimte.",+ "channel.paidFeature.notice.desc.personal": "Vanwege de hoge communicatiekosten voor het {{name}}-kanaal, zijn we van plan om dit kanaal binnenkort een betaalde functie te maken. Bestaande verbindingen blijven beschikbaar tijdens de kennisgevingsperiode, maar het aanmaken of opnieuw verbinden van dit kanaal vereist een betaald persoonlijk abonnement.",+ "channel.paidFeature.notice.desc.workspace": "Vanwege de hoge communicatiekosten voor het {{name}}-kanaal, zijn we van plan om dit kanaal binnenkort een betaalde functie te maken. Bestaande verbindingen blijven beschikbaar tijdens de kennisgevingsperiode, maar het aanmaken of opnieuw verbinden van dit kanaal vereist een upgrade van deze werkruimte naar Pro of Business.",+ "channel.paidFeature.notice.title": "{{name}} vereist binnenkort een betaald abonnement",+ "channel.paidFeature.noticeBadge": "Binnenkort Pro",+ "channel.paidFeature.title": "Betaald abonnement vereist","channel.platforms": "Platformen","channel.publicKey": "Publieke sleutel","channel.publicKeyHint": "Optioneel. Gebruikt om interactieverzoeken van Discord te verifiëren.",diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.jsonindex ec670d2b5ce..2765806195d 100644--- a/locales/nl-NL/chat.json+++ b/locales/nl-NL/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Sjablonen zoeken...","groupWizard.title": "Groep aanmaken","groupWizard.useTemplate": "Sjabloon gebruiken",+ "heteroAgent.claudeQuota.errorRateLimited": "Claude Code-quota is tijdelijk beperkt. Probeer het later opnieuw.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Quota-vernieuwing is tijdelijk beperkt. De laatst beschikbare gegevens worden weergegeven.","heteroAgent.claudeQuota.scopedWeekly": "Wekelijks ({{model}})","heteroAgent.claudeQuota.title": "Claude Code-quota","heteroAgent.claudeQuota.tooltip": "Bekijk Claude Code-quota",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% over","heteroAgent.quota.noData": "Quota is nog niet beschikbaar.","heteroAgent.quota.refresh": "Quota vernieuwen",+ "heteroAgent.quota.refreshFailed": "Quota kon niet worden vernieuwd. De laatst beschikbare gegevens worden weergegeven.","heteroAgent.quota.resetsIn": "Reset over {{duration}}","heteroAgent.quota.resetsSoon": "Reset binnenkort","heteroAgent.quota.session": "Sessie",diff --git a/locales/nl-NL/device.json b/locales/nl-NL/device.jsonindex ac8c3ab420a..e25b53d0aab 100644--- a/locales/nl-NL/device.json+++ b/locales/nl-NL/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Niet-gecommit wijzigingen: {{count}} bestand","workingDirectory.uncommittedChanges_other": "Niet-gecommit wijzigingen: {{count}} bestanden","workingDirectory.undo": "Ongedaan maken",- "workingDirectory.worktreeCount": "{{count}} werkbomen",- "workingDirectory.worktreeSwitchDescription": "Schakel de huidige conversatie werkmap",+ "workingDirectory.worktreeSearchPlaceholder": "Zoek werkbomen","workingDirectory.worktreeUnavailable": "niet beschikbaar","workingDirectory.worktreesEmpty": "Geen werkbomen gevonden",- "workingDirectory.worktreesHeading": "Werkbomen"+ "workingDirectory.worktreesHeading": "Werkbomen",+ "workingDirectory.worktreesNoMatch": "Geen overeenkomende werkbomen"}diff --git a/locales/pl-PL/agent.json b/locales/pl-PL/agent.jsonindex 8f9e7317918..e6ea5344664 100644--- a/locales/pl-PL/agent.json+++ b/locales/pl-PL/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Ta akcja trwale usunie ten kanał wiadomości i jego konfigurację. Nie można tego cofnąć.","channel.devWebhookProxyUrl": "URL tunelu HTTPS","channel.devWebhookProxyUrlHint": "Opcjonalne. URL tunelu HTTPS do przekazywania żądań webhook do lokalnego serwera deweloperskiego.",- "channel.disabled": "Wyłączony","channel.discord.description": "Połącz tego asystenta z serwerem Discord, aby umożliwić czat kanałowy i wiadomości bezpośrednie.","channel.displayToolCalls": "Wyświetlaj wywołania narzędzi","channel.displayToolCallsHint": "Pokaż szczegóły wywołań narzędzi podczas odpowiedzi AI. Gdy jest wyłączone, wyświetlana jest tylko ostateczna odpowiedź, co zapewnia bardziej przejrzyste doświadczenie.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Parowanie","channel.dmPolicyPairingHint": "Osoby spoza listy muszą użyć /approve, aby wysłać DM","channel.documentation": "Dokumentacja",- "channel.enabled": "Włączony","channel.encryptKey": "Klucz szyfrowania","channel.encryptKeyHint": "Opcjonalne. Używane do odszyfrowania zaszyfrowanych danych zdarzeń.","channel.encryptKeyPlaceholder": "Opcjonalny klucz szyfrowania",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Zamknij","channel.messengerPromo.title": "Pomiń konfigurację","channel.openPlatform": "Otwarta platforma",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Ulepsz",+ "channel.paidFeature.cta.workspace": "Ulepsz",+ "channel.paidFeature.desc": "{{name}} jest dostępny w płatnych planach. Ulepsz do dowolnego płatnego planu, aby skonfigurować i utrzymać połączenie tego kanału.",+ "channel.paidFeature.enforce.desc": "{{name}} jest dostępny w płatnych planach. Ulepsz do płatnego planu osobistego lub Pro / Business dla przestrzeni roboczej, aby skonfigurować i utrzymać połączenie tego kanału.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} jest dostępny w płatnych planach osobistych. Ulepsz, aby skonfigurować i utrzymać połączenie tego kanału.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} jest dostępny w przestrzeniach roboczych Pro / Business. Ulepsz tę przestrzeń roboczą, aby skonfigurować i utrzymać połączenie tego kanału.",+ "channel.paidFeature.enforce.title": "Wymagany płatny plan",+ "channel.paidFeature.notice.desc": "Ze względu na wysokie koszty komunikacji dla kanału {{name}}, planujemy wkrótce uczynić ten kanał funkcją płatną. Istniejące połączenia pozostają dostępne w okresie powiadomienia, ale utworzenie lub ponowne połączenie tego kanału wymaga teraz płatnego planu osobistego lub przestrzeni roboczej Pro / Business.",+ "channel.paidFeature.notice.desc.personal": "Ze względu na wysokie koszty komunikacji dla kanału {{name}}, planujemy wkrótce uczynić ten kanał funkcją płatną. Istniejące połączenia pozostają dostępne w okresie powiadomienia, ale utworzenie lub ponowne połączenie tego kanału wymaga płatnego planu osobistego.",+ "channel.paidFeature.notice.desc.workspace": "Ze względu na wysokie koszty komunikacji dla kanału {{name}}, planujemy wkrótce uczynić ten kanał funkcją płatną. Istniejące połączenia pozostają dostępne w okresie powiadomienia, ale utworzenie lub ponowne połączenie tego kanału wymaga ulepszenia tej przestrzeni roboczej do Pro lub Business.",+ "channel.paidFeature.notice.title": "{{name}} wkrótce będzie wymagać płatnego planu",+ "channel.paidFeature.noticeBadge": "Pro wkrótce",+ "channel.paidFeature.title": "Wymagany płatny plan","channel.platforms": "Platformy","channel.publicKey": "Klucz publiczny","channel.publicKeyHint": "Opcjonalne. Używane do weryfikacji żądań interakcji z Discord.",diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.jsonindex 32c300ddf38..c795bd14236 100644--- a/locales/pl-PL/chat.json+++ b/locales/pl-PL/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Szukaj szablonów...","groupWizard.title": "Utwórz grupę","groupWizard.useTemplate": "Użyj szablonu",+ "heteroAgent.claudeQuota.errorRateLimited": "Limit kodu Claude został tymczasowo ograniczony. Spróbuj ponownie później.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Odświeżenie limitu jest tymczasowo ograniczone. Wyświetlanie ostatnich dostępnych danych.","heteroAgent.claudeQuota.scopedWeekly": "Tygodniowo ({{model}})","heteroAgent.claudeQuota.title": "Limit Claude Code","heteroAgent.claudeQuota.tooltip": "Zobacz limit Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "Pozostało {{percent}}%","heteroAgent.quota.noData": "Limit nie jest jeszcze dostępny.","heteroAgent.quota.refresh": "Odśwież limit",+ "heteroAgent.quota.refreshFailed": "Nie udało się odświeżyć limitu. Wyświetlanie ostatnich dostępnych danych.","heteroAgent.quota.resetsIn": "Reset za {{duration}}","heteroAgent.quota.resetsSoon": "Wkrótce reset","heteroAgent.quota.session": "Sesja",diff --git a/locales/pl-PL/device.json b/locales/pl-PL/device.jsonindex 3c32b893acc..fc710a9b8a6 100644--- a/locales/pl-PL/device.json+++ b/locales/pl-PL/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Niezatwierdzone zmiany: {{count}} plik","workingDirectory.uncommittedChanges_other": "Niezatwierdzone zmiany: {{count}} pliki","workingDirectory.undo": "Cofnij",- "workingDirectory.worktreeCount": "{{count}} obszary robocze",- "workingDirectory.worktreeSwitchDescription": "Przełącz bieżący katalog roboczy rozmowy",+ "workingDirectory.worktreeSearchPlaceholder": "Szukaj obszarów roboczych","workingDirectory.worktreeUnavailable": "niedostępny","workingDirectory.worktreesEmpty": "Nie znaleziono obszarów roboczych",- "workingDirectory.worktreesHeading": "Obszary robocze"+ "workingDirectory.worktreesHeading": "Obszary robocze",+ "workingDirectory.worktreesNoMatch": "Brak pasujących obszarów roboczych"}diff --git a/locales/pt-BR/agent.json b/locales/pt-BR/agent.jsonindex 842d989cbcd..3ad94054adb 100644--- a/locales/pt-BR/agent.json+++ b/locales/pt-BR/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Esta ação removerá permanentemente este canal de mensagens e sua configuração. Isso não pode ser desfeito.","channel.devWebhookProxyUrl": "URL do Túnel HTTPS","channel.devWebhookProxyUrlHint": "Opcional. URL do túnel HTTPS para encaminhar solicitações de webhook para o servidor local de desenvolvimento.",- "channel.disabled": "Desativado","channel.discord.description": "Conecte este assistente ao servidor Discord para bate-papo em canais e mensagens diretas.","channel.displayToolCalls": "Exibir Chamadas de Ferramentas","channel.displayToolCallsHint": "Mostrar detalhes das chamadas de ferramentas durante as respostas da IA. Quando desativado, apenas a resposta final é exibida para uma experiência mais limpa.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Pareamento","channel.dmPolicyPairingHint": "Pessoas desconhecidas precisam usar /approve para enviar DM","channel.documentation": "Documentação",- "channel.enabled": "Ativado","channel.encryptKey": "Chave de Criptografia","channel.encryptKeyHint": "Opcional. Usada para descriptografar cargas de eventos criptografadas.","channel.encryptKeyPlaceholder": "Chave de criptografia opcional",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Dispensar","channel.messengerPromo.title": "Pule a configuração","channel.openPlatform": "Plataforma Aberta",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Atualizar",+ "channel.paidFeature.cta.workspace": "Atualizar",+ "channel.paidFeature.desc": "{{name}} está disponível em planos pagos. Atualize para qualquer plano pago para configurar e manter este canal conectado.",+ "channel.paidFeature.enforce.desc": "{{name}} está disponível em planos pagos. Atualize para um plano pessoal pago ou para um workspace Pro / Business para configurar e manter este canal conectado.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} está disponível em planos pessoais pagos. Atualize para configurar e manter este canal conectado.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} está disponível em workspaces Pro / Business. Atualize este workspace para configurar e manter este canal conectado.",+ "channel.paidFeature.enforce.title": "Plano pago necessário",+ "channel.paidFeature.notice.desc": "Devido aos altos custos de comunicação do canal {{name}}, planejamos tornar este canal uma funcionalidade paga em breve. Conexões existentes permanecerão disponíveis durante o período de aviso, mas criar ou reconectar este canal agora exige um plano pessoal pago ou um workspace Pro / Business.",+ "channel.paidFeature.notice.desc.personal": "Devido aos altos custos de comunicação do canal {{name}}, planejamos tornar este canal uma funcionalidade paga em breve. Conexões existentes permanecerão disponíveis durante o período de aviso, mas criar ou reconectar este canal exige um plano pessoal pago.",+ "channel.paidFeature.notice.desc.workspace": "Devido aos altos custos de comunicação do canal {{name}}, planejamos tornar este canal uma funcionalidade paga em breve. Conexões existentes permanecerão disponíveis durante o período de aviso, mas criar ou reconectar este canal exige atualizar este workspace para Pro ou Business.",+ "channel.paidFeature.notice.title": "{{name}} em breve exigirá um plano pago",+ "channel.paidFeature.noticeBadge": "Pro em breve",+ "channel.paidFeature.title": "Plano pago necessário","channel.platforms": "Plataformas","channel.publicKey": "Chave Pública","channel.publicKeyHint": "Opcional. Usada para verificar solicitações de interação do Discord.",diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.jsonindex 605efcd3233..4ff16b26a10 100644--- a/locales/pt-BR/chat.json+++ b/locales/pt-BR/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Buscar modelos...","groupWizard.title": "Criar Grupo","groupWizard.useTemplate": "Usar Modelo",+ "heteroAgent.claudeQuota.errorRateLimited": "A cota do Claude Code está temporariamente limitada. Por favor, tente novamente mais tarde.",+ "heteroAgent.claudeQuota.refreshRateLimited": "A atualização da cota está temporariamente limitada. Exibindo os últimos dados disponíveis.","heteroAgent.claudeQuota.scopedWeekly": "Semanal ({{model}})","heteroAgent.claudeQuota.title": "Cota do Claude Code","heteroAgent.claudeQuota.tooltip": "Ver cota do Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% restante","heteroAgent.quota.noData": "A cota ainda não está disponível.","heteroAgent.quota.refresh": "Atualizar cota",+ "heteroAgent.quota.refreshFailed": "Não foi possível atualizar a cota. Exibindo os últimos dados disponíveis.","heteroAgent.quota.resetsIn": "Redefine em {{duration}}","heteroAgent.quota.resetsSoon": "Redefine em breve","heteroAgent.quota.session": "Sessão",diff --git a/locales/pt-BR/device.json b/locales/pt-BR/device.jsonindex 14551f89648..f5329ba5399 100644--- a/locales/pt-BR/device.json+++ b/locales/pt-BR/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Alterações não comitadas: {{count}} arquivo","workingDirectory.uncommittedChanges_other": "Alterações não comitadas: {{count}} arquivos","workingDirectory.undo": "Desfazer",- "workingDirectory.worktreeCount": "{{count}} worktrees",- "workingDirectory.worktreeSwitchDescription": "Alterar o diretório de trabalho da conversa atual",+ "workingDirectory.worktreeSearchPlaceholder": "Pesquisar worktrees","workingDirectory.worktreeUnavailable": "indisponível","workingDirectory.worktreesEmpty": "Nenhum worktree encontrado",- "workingDirectory.worktreesHeading": "Worktrees"+ "workingDirectory.worktreesHeading": "Worktrees",+ "workingDirectory.worktreesNoMatch": "Nenhum worktree correspondente"}diff --git a/locales/ru-RU/agent.json b/locales/ru-RU/agent.jsonindex 37f9ca6a191..c01afa4677a 100644--- a/locales/ru-RU/agent.json+++ b/locales/ru-RU/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Это действие навсегда удалит этот канал сообщений и его настройки. Это действие нельзя отменить.","channel.devWebhookProxyUrl": "URL HTTPS туннеля","channel.devWebhookProxyUrlHint": "Необязательно. URL HTTPS туннеля для перенаправления запросов вебхука на локальный сервер разработки.",- "channel.disabled": "Отключено","channel.discord.description": "Подключите этого помощника к серверу Discord для общения в канале и личных сообщений.","channel.displayToolCalls": "Отображать вызовы инструментов","channel.displayToolCallsHint": "Показывать детали вызовов инструментов во время ответов ИИ. Если отключено, отображается только окончательный ответ для более чистого восприятия.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Подтверждение","channel.dmPolicyPairingHint": "Незнакомым пользователям требуется /approve, чтобы написать в личные сообщения","channel.documentation": "Документация",- "channel.enabled": "Включено","channel.encryptKey": "Ключ шифрования","channel.encryptKeyHint": "Необязательно. Используется для расшифровки зашифрованных данных событий.","channel.encryptKeyPlaceholder": "Необязательный ключ шифрования",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Закрыть","channel.messengerPromo.title": "Пропустить настройку","channel.openPlatform": "Открытая платформа",+ "channel.paidFeature.badge": "Премиум",+ "channel.paidFeature.cta.personal": "Обновить",+ "channel.paidFeature.cta.workspace": "Обновить",+ "channel.paidFeature.desc": "{{name}} доступен на платных тарифах. Обновите до любого платного тарифа, чтобы настроить и сохранить подключение этого канала.",+ "channel.paidFeature.enforce.desc": "{{name}} доступен на платных тарифах. Обновите до платного личного тарифа или рабочего пространства Pro / Business, чтобы настроить и сохранить подключение этого канала.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} доступен на платных личных тарифах. Обновите тариф, чтобы настроить и сохранить подключение этого канала.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} доступен в рабочих пространствах Pro / Business. Обновите это рабочее пространство, чтобы настроить и сохранить подключение этого канала.",+ "channel.paidFeature.enforce.title": "Требуется платный тариф",+ "channel.paidFeature.notice.desc": "Из-за высоких затрат на коммуникацию для канала {{name}} мы планируем сделать этот канал платной функцией в ближайшее время. Существующие подключения остаются доступными в течение уведомительного периода, но создание или повторное подключение этого канала теперь требует платного личного тарифа или рабочего пространства Pro / Business.",+ "channel.paidFeature.notice.desc.personal": "Из-за высоких затрат на коммуникацию для канала {{name}} мы планируем сделать этот канал платной функцией в ближайшее время. Существующие подключения остаются доступными в течение уведомительного периода, но создание или повторное подключение этого канала требует платного личного тарифа.",+ "channel.paidFeature.notice.desc.workspace": "Из-за высоких затрат на коммуникацию для канала {{name}} мы планируем сделать этот канал платной функцией в ближайшее время. Существующие подключения остаются доступными в течение уведомительного периода, но создание или повторное подключение этого канала требует обновления рабочего пространства до Pro или Business.",+ "channel.paidFeature.notice.title": "{{name}} скоро потребует платный тариф",+ "channel.paidFeature.noticeBadge": "Скоро Премиум",+ "channel.paidFeature.title": "Требуется платный тариф","channel.platforms": "Платформы","channel.publicKey": "Открытый ключ","channel.publicKeyHint": "Необязательно. Используется для проверки запросов взаимодействия от Discord.",diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.jsonindex 2a8d1440573..0033d628983 100644--- a/locales/ru-RU/chat.json+++ b/locales/ru-RU/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Поиск шаблонов...","groupWizard.title": "Создать группу","groupWizard.useTemplate": "Использовать шаблон",+ "heteroAgent.claudeQuota.errorRateLimited": "Квота Claude Code временно ограничена. Пожалуйста, попробуйте позже.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Обновление квоты временно ограничено. Отображаются последние доступные данные.","heteroAgent.claudeQuota.scopedWeekly": "Еженедельно ({{model}})","heteroAgent.claudeQuota.title": "Квота Claude Code","heteroAgent.claudeQuota.tooltip": "Просмотреть квоту Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "Осталось {{percent}}%","heteroAgent.quota.noData": "Квота пока недоступна.","heteroAgent.quota.refresh": "Обновить квоту",+ "heteroAgent.quota.refreshFailed": "Не удалось обновить квоту. Отображаются последние доступные данные.","heteroAgent.quota.resetsIn": "Сброс через {{duration}}","heteroAgent.quota.resetsSoon": "Скоро сброс","heteroAgent.quota.session": "Сессия",diff --git a/locales/ru-RU/device.json b/locales/ru-RU/device.jsonindex a63f8b1c41d..d0328cd0707 100644--- a/locales/ru-RU/device.json+++ b/locales/ru-RU/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Несохраненные изменения: {{count}} файл","workingDirectory.uncommittedChanges_other": "Несохраненные изменения: {{count}} файлов","workingDirectory.undo": "Отменить",- "workingDirectory.worktreeCount": "{{count}} рабочих деревьев",- "workingDirectory.worktreeSwitchDescription": "Переключить текущий рабочий каталог обсуждения",+ "workingDirectory.worktreeSearchPlaceholder": "Поиск рабочих деревьев","workingDirectory.worktreeUnavailable": "недоступно","workingDirectory.worktreesEmpty": "Рабочие деревья не найдены",- "workingDirectory.worktreesHeading": "Рабочие деревья"+ "workingDirectory.worktreesHeading": "Рабочие деревья",+ "workingDirectory.worktreesNoMatch": "Нет совпадающих рабочих деревьев"}diff --git a/locales/tr-TR/agent.json b/locales/tr-TR/agent.jsonindex 42f6f8a4501..e12984b5c1a 100644--- a/locales/tr-TR/agent.json+++ b/locales/tr-TR/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Bu işlem, bu mesaj kanalını ve yapılandırmasını kalıcı olarak kaldıracaktır. Bu işlem geri alınamaz.","channel.devWebhookProxyUrl": "HTTPS Tünel URL'si","channel.devWebhookProxyUrlHint": "Opsiyonel. Webhook isteklerini yerel geliştirme sunucusuna yönlendirmek için HTTPS tünel URL'si.",- "channel.disabled": "Devre Dışı","channel.discord.description": "Bu asistanı Discord sunucusuna kanal sohbeti ve doğrudan mesajlar için bağlayın.","channel.displayToolCalls": "Araç Çağrılarını Göster","channel.displayToolCallsHint": "Yapay zeka yanıtları sırasında araç çağrısı detaylarını göster. Devre dışı bırakıldığında, yalnızca son yanıt daha sade bir deneyim için görüntülenir.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Eşleştirme","channel.dmPolicyPairingHint": "Yabancılar DM göndermek için /approve kullanmalı","channel.documentation": "Dokümantasyon",- "channel.enabled": "Etkin","channel.encryptKey": "Şifreleme Anahtarı","channel.encryptKeyHint": "Opsiyonel. Şifrelenmiş olay yüklerini çözmek için kullanılır.","channel.encryptKeyPlaceholder": "Opsiyonel şifreleme anahtarı",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Kapat","channel.messengerPromo.title": "Kurulumu Atla","channel.openPlatform": "Açık Platform",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Yükselt",+ "channel.paidFeature.cta.workspace": "Yükselt",+ "channel.paidFeature.desc": "{{name}} ücretli planlarda mevcuttur. Bu kanalı yapılandırmak ve bağlı tutmak için herhangi bir ücretli plana yükseltin.",+ "channel.paidFeature.enforce.desc": "{{name}} ücretli planlarda mevcuttur. Bu kanalı yapılandırmak ve bağlı tutmak için ücretli bir kişisel plana veya Pro / İşletme çalışma alanına yükseltin.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} ücretli kişisel planlarda mevcuttur. Bu kanalı yapılandırmak ve bağlı tutmak için yükseltin.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} Pro / İşletme çalışma alanlarında mevcuttur. Bu çalışma alanını yükselterek bu kanalı yapılandırabilir ve bağlı tutabilirsiniz.",+ "channel.paidFeature.enforce.title": "Ücretli plan gerekli",+ "channel.paidFeature.notice.desc": "{{name}} kanalı için yüksek iletişim maliyetleri nedeniyle, bu kanalı yakında ücretli bir özellik haline getirmeyi planlıyoruz. Mevcut bağlantılar bildirim süresi boyunca kullanılabilir durumda kalacak, ancak bu kanalı oluşturmak veya yeniden bağlamak artık ücretli bir kişisel plan veya Pro / İşletme çalışma alanı gerektiriyor.",+ "channel.paidFeature.notice.desc.personal": "{{name}} kanalı için yüksek iletişim maliyetleri nedeniyle, bu kanalı yakında ücretli bir özellik haline getirmeyi planlıyoruz. Mevcut bağlantılar bildirim süresi boyunca kullanılabilir durumda kalacak, ancak bu kanalı oluşturmak veya yeniden bağlamak ücretli bir kişisel plan gerektiriyor.",+ "channel.paidFeature.notice.desc.workspace": "{{name}} kanalı için yüksek iletişim maliyetleri nedeniyle, bu kanalı yakında ücretli bir özellik haline getirmeyi planlıyoruz. Mevcut bağlantılar bildirim süresi boyunca kullanılabilir durumda kalacak, ancak bu kanalı oluşturmak veya yeniden bağlamak için bu çalışma alanını Pro veya İşletme seviyesine yükseltmek gerekiyor.",+ "channel.paidFeature.notice.title": "{{name}} yakında ücretli bir plan gerektirecek",+ "channel.paidFeature.noticeBadge": "Yakında Pro",+ "channel.paidFeature.title": "Ücretli plan gerekli","channel.platforms": "Platformlar","channel.publicKey": "Genel Anahtar","channel.publicKeyHint": "Opsiyonel. Discord'dan gelen etkileşim isteklerini doğrulamak için kullanılır.",diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.jsonindex 2d125c7d1bc..d96231f27d8 100644--- a/locales/tr-TR/chat.json+++ b/locales/tr-TR/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Şablonlarda ara...","groupWizard.title": "Grup Oluştur","groupWizard.useTemplate": "Şablon Kullan",+ "heteroAgent.claudeQuota.errorRateLimited": "Claude Kod kotası geçici olarak sınırlandırıldı. Lütfen daha sonra tekrar deneyin.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Kota yenileme geçici olarak sınırlandırıldı. Son mevcut veriler gösteriliyor.","heteroAgent.claudeQuota.scopedWeekly": "Haftalık ({{model}})","heteroAgent.claudeQuota.title": "Claude Code kotası","heteroAgent.claudeQuota.tooltip": "Claude Code kotasını görüntüle",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "{{percent}}% kaldı","heteroAgent.quota.noData": "Kota henüz mevcut değil.","heteroAgent.quota.refresh": "Kotayı yenile",+ "heteroAgent.quota.refreshFailed": "Kota yenilenemedi. Son mevcut veriler gösteriliyor.","heteroAgent.quota.resetsIn": "{{duration}} içinde sıfırlanıyor","heteroAgent.quota.resetsSoon": "Yakında sıfırlanıyor","heteroAgent.quota.session": "Oturum",diff --git a/locales/tr-TR/device.json b/locales/tr-TR/device.jsonindex 2557c84589d..b4cdc0e961e 100644--- a/locales/tr-TR/device.json+++ b/locales/tr-TR/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Kaydedilmemiş değişiklikler: {{count}} dosya","workingDirectory.uncommittedChanges_other": "Kaydedilmemiş değişiklikler: {{count}} dosya","workingDirectory.undo": "Geri al",- "workingDirectory.worktreeCount": "{{count}} çalışma ağacı",- "workingDirectory.worktreeSwitchDescription": "Mevcut konuşma çalışma dizinini değiştir",+ "workingDirectory.worktreeSearchPlaceholder": "Çalışma ağaçlarını ara","workingDirectory.worktreeUnavailable": "kullanılamıyor","workingDirectory.worktreesEmpty": "Çalışma ağacı bulunamadı",- "workingDirectory.worktreesHeading": "Çalışma Ağaçları"+ "workingDirectory.worktreesHeading": "Çalışma Ağaçları",+ "workingDirectory.worktreesNoMatch": "Eşleşen çalışma ağacı yok"}diff --git a/locales/vi-VN/agent.json b/locales/vi-VN/agent.jsonindex 66918237803..4ed6be61f83 100644--- a/locales/vi-VN/agent.json+++ b/locales/vi-VN/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "Hành động này sẽ xóa vĩnh viễn kênh tin nhắn này và cấu hình của nó. Không thể hoàn tác.","channel.devWebhookProxyUrl": "URL đường hầm HTTPS","channel.devWebhookProxyUrlHint": "Tùy chọn. URL đường hầm HTTPS để chuyển tiếp yêu cầu webhook đến máy chủ phát triển cục bộ.",- "channel.disabled": "Đã tắt","channel.discord.description": "Kết nối trợ lý này với máy chủ Discord để trò chuyện kênh và tin nhắn trực tiếp.","channel.displayToolCalls": "Hiển thị Cuộc gọi Công cụ","channel.displayToolCallsHint": "Hiển thị chi tiết cuộc gọi công cụ trong quá trình AI phản hồi. Khi tắt, chỉ phản hồi cuối cùng được hiển thị để mang lại trải nghiệm gọn gàng hơn.",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "Ghép đôi","channel.dmPolicyPairingHint": "Người lạ cần dùng /approve để DM","channel.documentation": "Tài liệu",- "channel.enabled": "Đã bật","channel.encryptKey": "Khóa mã hóa","channel.encryptKeyHint": "Tùy chọn. Dùng để giải mã tải trọng sự kiện đã mã hóa.","channel.encryptKeyPlaceholder": "Khóa mã hóa tùy chọn",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "Bỏ qua","channel.messengerPromo.title": "Bỏ qua cài đặt","channel.openPlatform": "Nền tảng mở",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Nâng cấp",+ "channel.paidFeature.cta.workspace": "Nâng cấp",+ "channel.paidFeature.desc": "{{name}} có sẵn trên các gói trả phí. Nâng cấp lên bất kỳ gói trả phí nào để cấu hình và giữ kênh này được kết nối.",+ "channel.paidFeature.enforce.desc": "{{name}} có sẵn trên các gói trả phí. Nâng cấp lên gói cá nhân trả phí hoặc workspace Pro / Doanh nghiệp để cấu hình và giữ kênh này được kết nối.",+ "channel.paidFeature.enforce.desc.personal": "{{name}} có sẵn trên các gói cá nhân trả phí. Nâng cấp để cấu hình và giữ kênh này được kết nối.",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} có sẵn trên các workspace Pro / Doanh nghiệp. Nâng cấp workspace này để cấu hình và giữ kênh này được kết nối.",+ "channel.paidFeature.enforce.title": "Yêu cầu gói trả phí",+ "channel.paidFeature.notice.desc": "Do chi phí liên lạc cao cho kênh {{name}}, chúng tôi dự định biến kênh này thành một tính năng trả phí sớm. Các kết nối hiện có vẫn khả dụng trong thời gian thông báo, nhưng việc tạo hoặc kết nối lại kênh này bây giờ yêu cầu gói cá nhân trả phí hoặc workspace Pro / Doanh nghiệp.",+ "channel.paidFeature.notice.desc.personal": "Do chi phí liên lạc cao cho kênh {{name}}, chúng tôi dự định biến kênh này thành một tính năng trả phí sớm. Các kết nối hiện có vẫn khả dụng trong thời gian thông báo, nhưng việc tạo hoặc kết nối lại kênh này yêu cầu gói cá nhân trả phí.",+ "channel.paidFeature.notice.desc.workspace": "Do chi phí liên lạc cao cho kênh {{name}}, chúng tôi dự định biến kênh này thành một tính năng trả phí sớm. Các kết nối hiện có vẫn khả dụng trong thời gian thông báo, nhưng việc tạo hoặc kết nối lại kênh này yêu cầu nâng cấp workspace này lên Pro hoặc Doanh nghiệp.",+ "channel.paidFeature.notice.title": "{{name}} sẽ sớm yêu cầu gói trả phí",+ "channel.paidFeature.noticeBadge": "Sắp Pro",+ "channel.paidFeature.title": "Yêu cầu gói trả phí","channel.platforms": "Nền tảng","channel.publicKey": "Khóa công khai","channel.publicKeyHint": "Tùy chọn. Dùng để xác minh yêu cầu tương tác từ Discord.",diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.jsonindex 245400cfa9e..2e6d9f952f2 100644--- a/locales/vi-VN/chat.json+++ b/locales/vi-VN/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "Tìm kiếm mẫu...","groupWizard.title": "Tạo nhóm","groupWizard.useTemplate": "Sử dụng mẫu",+ "heteroAgent.claudeQuota.errorRateLimited": "Hạn mức Claude Code tạm thời bị giới hạn tốc độ. Vui lòng thử lại sau.",+ "heteroAgent.claudeQuota.refreshRateLimited": "Làm mới hạn mức tạm thời bị giới hạn tốc độ. Hiển thị dữ liệu cuối cùng có sẵn.","heteroAgent.claudeQuota.scopedWeekly": "Hàng tuần ({{model}})","heteroAgent.claudeQuota.title": "Hạn mức Claude Code","heteroAgent.claudeQuota.tooltip": "Xem hạn mức Claude Code",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "Còn lại {{percent}}%","heteroAgent.quota.noData": "Hạn mức chưa có sẵn.","heteroAgent.quota.refresh": "Làm mới hạn mức",+ "heteroAgent.quota.refreshFailed": "Không thể làm mới hạn mức. Hiển thị dữ liệu cuối cùng có sẵn.","heteroAgent.quota.resetsIn": "Đặt lại sau {{duration}}","heteroAgent.quota.resetsSoon": "Sắp đặt lại","heteroAgent.quota.session": "Phiên",diff --git a/locales/vi-VN/device.json b/locales/vi-VN/device.jsonindex 5546dbe7058..c9207030e34 100644--- a/locales/vi-VN/device.json+++ b/locales/vi-VN/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "Thay đổi chưa được cam kết: {{count}} tệp","workingDirectory.uncommittedChanges_other": "Thay đổi chưa được cam kết: {{count}} tệp","workingDirectory.undo": "Hoàn tác",- "workingDirectory.worktreeCount": "{{count}} worktree",- "workingDirectory.worktreeSwitchDescription": "Chuyển đổi thư mục làm việc hiện tại của cuộc hội thoại",+ "workingDirectory.worktreeSearchPlaceholder": "Tìm kiếm các worktree","workingDirectory.worktreeUnavailable": "không khả dụng","workingDirectory.worktreesEmpty": "Không tìm thấy worktree nào",- "workingDirectory.worktreesHeading": "Worktree"+ "workingDirectory.worktreesHeading": "Worktree",+ "workingDirectory.worktreesNoMatch": "Không có worktree nào phù hợp"}diff --git a/locales/zh-CN/agent.json b/locales/zh-CN/agent.jsonindex 3894d7caa03..59d73b6b4f6 100644--- a/locales/zh-CN/agent.json+++ b/locales/zh-CN/agent.json@@ -162,6 +162,20 @@"channel.messengerPromo.dismiss": "关闭","channel.messengerPromo.title": "免配置上手","channel.openPlatform": "开放平台",+ "channel.paidFeature.badge": "Pro",+ "channel.paidFeature.cta.personal": "Upgrade",+ "channel.paidFeature.cta.workspace": "Upgrade",+ "channel.paidFeature.desc": "{{name}} 仅面向付费 Plan 开放。升级到任意付费 Plan 后即可配置并保持该渠道连接。",+ "channel.paidFeature.enforce.desc": "{{name}} 仅面向付费 Plan 开放。升级到个人付费 Plan,或使用 Pro / Business Workspace 后,即可配置并保持该渠道连接。",+ "channel.paidFeature.enforce.desc.personal": "{{name}} 仅面向个人付费 Plan 开放。升级后即可配置并保持该渠道连接。",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} 仅面向 Pro / Business Workspace 开放。升级当前 Workspace 后即可配置并保持该渠道连接。",+ "channel.paidFeature.enforce.title": "需要付费 Plan",+ "channel.paidFeature.notice.desc": "由于 {{name}} 渠道通信成本过高,我们计划近期将该渠道调整为付费功能。预告期内已有连接可继续使用,但新建或重新连接该渠道需要升级到个人付费 Plan,或使用 Pro / Business Workspace。",+ "channel.paidFeature.notice.desc.personal": "由于 {{name}} 渠道通信成本过高,我们计划近期将该渠道调整为付费功能。预告期内已有连接可继续使用,但新建或重新连接该渠道需要升级到个人付费 Plan。",+ "channel.paidFeature.notice.desc.workspace": "由于 {{name}} 渠道通信成本过高,我们计划近期将该渠道调整为付费功能。预告期内已有连接可继续使用,但新建或重新连接该渠道需要升级当前 Workspace 到 Pro 或 Business。",+ "channel.paidFeature.notice.title": "{{name}} 即将调整为付费功能",+ "channel.paidFeature.noticeBadge": "即将付费",+ "channel.paidFeature.title": "需要付费 Plan","channel.platforms": "平台","channel.publicKey": "公钥","channel.publicKeyHint": "可选。用于验证来自 Discord 的交互请求。",diff --git a/locales/zh-CN/subscription.json b/locales/zh-CN/subscription.jsonindex 863a6a69d77..dcecac3e9eb 100644--- a/locales/zh-CN/subscription.json+++ b/locales/zh-CN/subscription.json@@ -104,7 +104,7 @@"credits.memberBudget.title": "成员预算管控","credits.memberBudget.unlimited": "不限制","credits.memberBudget.unlimitedMemberHint": "请先设置所有成员规则,再为单个成员添加不限制覆盖。",- "credits.memberBudget.upgradeCta": "查看 Plans",+ "credits.memberBudget.upgradeCta": "查看套餐","credits.memberBudget.upgradeHint": "升级到付费 Plan 即可为每位成员设置消费上限,避免预算意外超支。","credits.memberBudget.userPanel.exhaustedDesc": "请联系工作区管理员调整您的额度。","credits.memberBudget.userPanel.exhaustedOwnerDesc": "前往积分设置调整成员预算。",@@ -347,6 +347,8 @@"plans.message.more": "更多模型请查看计划对比","plans.message.normalLLM": "标准模型","plans.message.tooltip": "按每条消息平均 {{number}} tokens 估算",+ "plans.messageChannels.title": "消息频道",+ "plans.messageChannels.wechat": "微信渠道","plans.mostPicked": "最受欢迎","plans.navs.monthly": "按月","plans.navs.payonce": "一次性",diff --git a/locales/zh-TW/agent.json b/locales/zh-TW/agent.jsonindex a39d12a2ebc..3137e6cccff 100644--- a/locales/zh-TW/agent.json+++ b/locales/zh-TW/agent.json@@ -56,7 +56,6 @@"channel.deleteConfirmDesc": "此操作將永久移除此訊息頻道及其配置。此操作無法撤銷。","channel.devWebhookProxyUrl": "HTTPS 隧道 URL","channel.devWebhookProxyUrlHint": "可選。HTTPS 隧道 URL,用於將 Webhook 請求轉發到本地開發伺服器。",- "channel.disabled": "已停用","channel.discord.description": "將此助手連接到 Discord 伺服器以進行頻道聊天和直接消息。","channel.displayToolCalls": "顯示工具調用","channel.displayToolCallsHint": "在 AI 回應期間顯示工具調用的詳細資訊。若停用,僅顯示最終回應,以提供更簡潔的體驗。",@@ -72,7 +71,6 @@"channel.dmPolicyPairing": "配對","channel.dmPolicyPairingHint": "陌生人需要使用 /approve 才能傳送私訊","channel.documentation": "文件",- "channel.enabled": "已啟用","channel.encryptKey": "加密密鑰","channel.encryptKeyHint": "可選。用於解密加密的事件負載。","channel.encryptKeyPlaceholder": "可選加密密鑰",@@ -164,6 +162,20 @@"channel.messengerPromo.dismiss": "關閉","channel.messengerPromo.title": "跳過設置","channel.openPlatform": "開放平台",+ "channel.paidFeature.badge": "專業版",+ "channel.paidFeature.cta.personal": "升級",+ "channel.paidFeature.cta.workspace": "升級",+ "channel.paidFeature.desc": "{{name}} 僅適用於付費方案。升級至任一付費方案以設定並保持此頻道連接。",+ "channel.paidFeature.enforce.desc": "{{name}} 僅適用於付費方案。升級至付費個人方案或專業版/商業版工作區以設定並保持此頻道連接。",+ "channel.paidFeature.enforce.desc.personal": "{{name}} 僅適用於付費個人方案。升級以設定並保持此頻道連接。",+ "channel.paidFeature.enforce.desc.workspace": "{{name}} 僅適用於專業版/商業版工作區。升級此工作區以設定並保持此頻道連接。",+ "channel.paidFeature.enforce.title": "需要付費方案",+ "channel.paidFeature.notice.desc": "由於 {{name}} 頻道的高通信成本,我們計劃將此頻道設為付費功能。現有連接在通知期間仍可用,但現在建立或重新連接此頻道需要付費個人方案或專業版/商業版工作區。",+ "channel.paidFeature.notice.desc.personal": "由於 {{name}} 頻道的高通信成本,我們計劃將此頻道設為付費功能。現有連接在通知期間仍可用,但建立或重新連接此頻道需要付費個人方案。",+ "channel.paidFeature.notice.desc.workspace": "由於 {{name}} 頻道的高通信成本,我們計劃將此頻道設為付費功能。現有連接在通知期間仍可用,但建立或重新連接此頻道需要將此工作區升級至專業版或商業版。",+ "channel.paidFeature.notice.title": "{{name}} 即將需要付費方案",+ "channel.paidFeature.noticeBadge": "即將專業版",+ "channel.paidFeature.title": "需要付費方案","channel.platforms": "平台","channel.publicKey": "公鑰","channel.publicKeyHint": "可選。用於驗證來自 Discord 的交互請求。",diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.jsonindex 1a3e5e8af8b..ff8ed6aaee6 100644--- a/locales/zh-TW/chat.json+++ b/locales/zh-TW/chat.json@@ -267,6 +267,8 @@"groupWizard.searchTemplates": "搜尋範本...","groupWizard.title": "建立群組","groupWizard.useTemplate": "使用模板",+ "heteroAgent.claudeQuota.errorRateLimited": "Claude Code 配額暫時受到速率限制。請稍後再試。",+ "heteroAgent.claudeQuota.refreshRateLimited": "配額刷新暫時受到速率限制。顯示最後可用的數據。","heteroAgent.claudeQuota.scopedWeekly": "每週({{model}})","heteroAgent.claudeQuota.title": "Claude Code 配額","heteroAgent.claudeQuota.tooltip": "查看 Claude Code 配額",@@ -341,6 +343,7 @@"heteroAgent.quota.left": "剩餘 {{percent}}%","heteroAgent.quota.noData": "配額尚不可用。","heteroAgent.quota.refresh": "刷新配額",+ "heteroAgent.quota.refreshFailed": "無法刷新配額。顯示最後可用的數據。","heteroAgent.quota.resetsIn": "於 {{duration}} 後重置","heteroAgent.quota.resetsSoon": "即將重置","heteroAgent.quota.session": "會話",diff --git a/locales/zh-TW/device.json b/locales/zh-TW/device.jsonindex be47f34b9e1..cdd899e6b22 100644--- a/locales/zh-TW/device.json+++ b/locales/zh-TW/device.json@@ -79,9 +79,9 @@"workingDirectory.uncommittedChanges_one": "未提交的更改:{{count}} 個檔案","workingDirectory.uncommittedChanges_other": "未提交的更改:{{count}} 個檔案","workingDirectory.undo": "復原",- "workingDirectory.worktreeCount": "{{count}} 個工作樹",- "workingDirectory.worktreeSwitchDescription": "切換目前對話的工作目錄",+ "workingDirectory.worktreeSearchPlaceholder": "搜尋工作樹","workingDirectory.worktreeUnavailable": "不可用","workingDirectory.worktreesEmpty": "未找到工作樹",- "workingDirectory.worktreesHeading": "工作樹"+ "workingDirectory.worktreesHeading": "工作樹",+ "workingDirectory.worktreesNoMatch": "沒有符合的工作樹"}diff --git a/packages/locales/src/default/agent.ts b/packages/locales/src/default/agent.tsindex c8caafcca9f..1e7f0b369b0 100644--- a/packages/locales/src/default/agent.ts+++ b/packages/locales/src/default/agent.ts@@ -11,6 +11,27 @@ export default {'channel.botTokenPlaceholderNew': 'Paste your bot token here','channel.connectionConfig': 'Connection Configuration','channel.copied': 'Copied to clipboard',+ 'channel.paidFeature.desc':+ '{{name}} is available on paid plans. Upgrade to any paid plan to configure and keep this channel connected.',+ 'channel.paidFeature.title': 'Paid plan required',+ 'channel.paidFeature.badge': 'Pro',+ 'channel.paidFeature.cta.personal': 'Upgrade',+ 'channel.paidFeature.cta.workspace': 'Upgrade',+ 'channel.paidFeature.enforce.desc':+ '{{name}} is available on paid plans. Upgrade to a paid personal plan or a Pro / Business workspace to configure and keep this channel connected.',+ 'channel.paidFeature.enforce.desc.personal':+ '{{name}} is available on paid personal plans. Upgrade to configure and keep this channel connected.',+ 'channel.paidFeature.enforce.desc.workspace':+ '{{name}} is available on Pro / Business workspaces. Upgrade this workspace to configure and keep this channel connected.',+ 'channel.paidFeature.enforce.title': 'Paid plan required',+ 'channel.paidFeature.notice.desc':+ 'Due to the high communication costs for the {{name}} channel, we plan to make this channel a paid feature soon. Existing connections remain available during the notice period, but creating or reconnecting this channel now requires a paid personal plan or a Pro / Business workspace.',+ 'channel.paidFeature.notice.desc.personal':+ 'Due to the high communication costs for the {{name}} channel, we plan to make this channel a paid feature soon. Existing connections remain available during the notice period, but creating or reconnecting this channel requires a paid personal plan.',+ 'channel.paidFeature.notice.desc.workspace':+ 'Due to the high communication costs for the {{name}} channel, we plan to make this channel a paid feature soon. Existing connections remain available during the notice period, but creating or reconnecting this channel requires upgrading this workspace to Pro or Business.',+ 'channel.paidFeature.notice.title': '{{name}} will soon require a paid plan',+ 'channel.paidFeature.noticeBadge': 'Pro soon','channel.comingSoon': 'Coming Soon','channel.comingSoonDesc':'We are working on bringing this integration to LobeHub. Stay tuned for updates.',diff --git a/packages/locales/src/default/subscription.ts b/packages/locales/src/default/subscription.tsindex 330b184284d..fbd2bd9ee71 100644--- a/packages/locales/src/default/subscription.ts+++ b/packages/locales/src/default/subscription.ts@@ -402,6 +402,8 @@ export default {'plans.message.more': 'More models in plan comparison','plans.message.normalLLM': 'Standard Models','plans.message.tooltip': 'Estimated based on average {{number}} tokens per message',+ 'plans.messageChannels.title': 'Message Channels',+ 'plans.messageChannels.wechat': 'WeChat channel','plans.mostPicked': 'Most Popular','plans.navs.monthly': 'Monthly','plans.navs.payonce': 'One-time',diff --git a/src/business/server/bot/featureAccess.ts b/src/business/server/bot/featureAccess.tsnew file mode 100644index 00000000000..14948879b7a--- /dev/null+++ b/src/business/server/bot/featureAccess.ts@@ -0,0 +1,61 @@+import type { SerializedPlatformDefinition } from '@/server/services/bot/platforms/types';++export interface BotFeatureAccessParams {+ action?: 'manage' | 'runtime';+ applicationId?: string;+ platform: string;+ userId: string;+ workspaceId?: string;+}++export interface BotPlatformAccessMeta {+ allowed?: boolean;+ blockedMessage?: string;+ requiredPlan?: 'paid';+ rolloutMode?: 'enforce' | 'notice';+}++export interface BotFeatureAccessState extends BotPlatformAccessMeta {+ allowed: boolean;+ notice?: {+ id: string;+ };+}++export class BotFeatureAccessError extends Error {+ constructor(message: string) {+ super(message);+ this.name = 'BotFeatureAccessError';+ }+}++export async function isBotFeatureAccessAllowed(_params: BotFeatureAccessParams): Promise<boolean> {+ return true;+}++export async function getBotFeatureAccessState(+ _params: BotFeatureAccessParams,+): Promise<BotFeatureAccessState> {+ return { allowed: true };+}++export async function assertBotFeatureAccess(params: BotFeatureAccessParams): Promise<void> {+ if (await isBotFeatureAccessAllowed(params)) return;+ throw new BotFeatureAccessError(+ getBotFeatureBlockedMessage(params.platform, params.workspaceId ? 'workspace' : 'personal'),+ );+}++export function getBotFeatureBlockedMessage(+ _platform: string,+ _scope?: 'personal' | 'workspace',+): string {+ return 'This bot channel is not available for your current plan.';+}++export async function withBotPlatformAccessMeta<T extends SerializedPlatformDefinition>(+ platform: T,+ _params: { userId: string; workspaceId?: string },+): Promise<T & { access?: BotPlatformAccessMeta }> {+ return platform;+}diff --git a/src/routes/(main)/agent/channel/detail/Footer.tsx b/src/routes/(main)/agent/channel/detail/Footer.tsxindex 7ddfccc07ff..d04ca1cdadf 100644--- a/src/routes/(main)/agent/channel/detail/Footer.tsx+++ b/src/routes/(main)/agent/channel/detail/Footer.tsx@@ -64,6 +64,7 @@ interface FooterProps {saving: boolean;testing: boolean;testResult?: TestResult;+ writeDisabled?: boolean;}const Footer = memo<FooterProps>(@@ -79,6 +80,7 @@ const Footer = memo<FooterProps>(saving,testing,testResult,+ writeDisabled,onSave,onDelete,onTestConnection,@@ -143,7 +145,7 @@ const Footer = memo<FooterProps>(<Flexbox horizontal gap={12}>{hasConfig && (<Button- disabled={disabled || saving || connecting}+ disabled={writeDisabled || saving || connecting}icon={<RefreshCw size={16} />}loading={testing}onClick={onTestConnection}@@ -152,7 +154,7 @@ const Footer = memo<FooterProps>(</Button>)}<Button- disabled={disabled}+ disabled={writeDisabled}icon={<Save size={16} />}loading={saving || connecting}type="primary"diff --git a/src/routes/(main)/agent/channel/detail/Header.tsx b/src/routes/(main)/agent/channel/detail/Header.tsxindex fab1e40c9f7..b8533fcfadd 100644--- a/src/routes/(main)/agent/channel/detail/Header.tsx+++ b/src/routes/(main)/agent/channel/detail/Header.tsx@@ -21,6 +21,7 @@ interface HeaderProps {platformDef: SerializedPlatformDefinition;refreshingStatus?: boolean;runtimeStatus?: BotRuntimeStatus;+ toggleDisabled?: boolean;toggleLoading?: boolean;}@@ -42,6 +43,7 @@ const Header = memo<HeaderProps>(onToggleEnable,refreshingStatus,runtimeStatus,+ toggleDisabled,toggleLoading,}) => {const { t } = useTranslation('agent');@@ -92,6 +94,13 @@ const Header = memo<HeaderProps>(<Flexbox horizontal align="center" gap={8}>{ColorIcon && <ColorIcon size={32} />}{platformDef.name}+ {platformDef.access?.requiredPlan === 'paid' && (+ <Tag color="gold" size={'small'}>+ {platformDef.access.rolloutMode === 'notice'+ ? t('channel.paidFeature.noticeBadge')+ : t('channel.paidFeature.badge')}+ </Tag>+ )}{statusLabel && (<Tag color={statusColor} size={'small'}>{statusLabel}@@ -128,7 +137,7 @@ const Header = memo<HeaderProps>({currentConfig && (<Switchchecked={effectiveEnabled}- disabled={disabled}+ disabled={toggleDisabled ?? disabled}loading={toggleLoading}onChange={onToggleEnable}/>diff --git a/src/routes/(main)/agent/channel/detail/index.tsx b/src/routes/(main)/agent/channel/detail/index.tsxindex 7118d2f5c19..db8ec59e8b9 100644--- a/src/routes/(main)/agent/channel/detail/index.tsx+++ b/src/routes/(main)/agent/channel/detail/index.tsx@@ -1,11 +1,15 @@'use client';-import { confirmModal } from '@lobehub/ui/base-ui';+import { Alert, Flexbox } from '@lobehub/ui';+import { Button, confirmModal } from '@lobehub/ui/base-ui';import { App, Form } from 'antd';import { createStaticStyles } from 'antd-style';+import { ExternalLink } from 'lucide-react';import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';+import { useActiveWorkspaceId } from '@/business/client/hooks/useActiveWorkspaceId';+import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';import { usePermission } from '@/hooks/usePermission';import type { SerializedPlatformDefinition } from '@/server/services/bot/platforms/types';import { agentBotProviderService } from '@/services/agentBotProvider';@@ -73,10 +77,20 @@ interface PlatformDetailProps {const PlatformDetail = memo<PlatformDetailProps>(({ platformDef, agentId, currentConfig, disabled, runtimeStatus }) => {const { t } = useTranslation('agent');+ const navigate = useWorkspaceAwareNavigate();const { message: msg } = App.useApp();const [form] = Form.useForm<ChannelFormValues>();const { allowed: canEdit } = usePermission('edit_own_content');+ const activeWorkspaceId = useActiveWorkspaceId();const readOnly = disabled || !canEdit;+ const paidFeatureBlocked =+ platformDef.access?.requiredPlan === 'paid' && platformDef.access.allowed === false;+ const paidFeatureMode = platformDef.access?.rolloutMode ?? 'enforce';+ const paidFeatureScope = activeWorkspaceId ? 'workspace' : 'personal';+ const writeDisabled = readOnly || paidFeatureBlocked;+ // The server allows disable-only updates on paid-blocked channels, so an+ // already-enabled channel can still be turned off (but not re-enabled).+ const toggleDisabled = readOnly || (paidFeatureBlocked && !currentConfig?.enabled);const [createBotProvider,@@ -216,7 +230,7 @@ const PlatformDetail = memo<PlatformDetailProps>();const handleRefreshStatus = useCallback(async () => {- if (readOnly) return;+ if (writeDisabled) return;if (!currentConfig?.enabled) return;setRefreshingStatus(true);try {@@ -237,7 +251,14 @@ const PlatformDetail = memo<PlatformDetailProps>(} finally {setRefreshingStatus(false);}- }, [agentId, readOnly, currentConfig, mapRuntimeStatusToResult, msg, refreshBotRuntimeStatus]);+ }, [+ agentId,+ writeDisabled,+ currentConfig,+ mapRuntimeStatusToResult,+ msg,+ refreshBotRuntimeStatus,+ ]);// Reset form and status when switching platforms. Must NOT depend on// runtimeStatus — otherwise background status refreshes would wipe@@ -297,7 +318,7 @@ const PlatformDetail = memo<PlatformDetailProps>(}, [currentConfig, stopConnectPolling, syncRuntimeStatus]);const handleSave = useCallback(async () => {- if (readOnly) return;+ if (writeDisabled) return;try {await form.validateFields();@@ -370,12 +391,12 @@ const PlatformDetail = memo<PlatformDetailProps>(createBotProvider,updateBotProvider,connectCurrentBot,- readOnly,+ writeDisabled,]);const handleExternalAuth = useCallback(async (params: { applicationId: string; credentials: Record<string, string> }) => {- if (readOnly) return;+ if (writeDisabled) return;setSaving(true);setSaveResult(undefined);@@ -423,7 +444,7 @@ const PlatformDetail = memo<PlatformDetailProps>(createBotProvider,updateBotProvider,connectCurrentBot,- readOnly,+ writeDisabled,msg,t,],@@ -451,7 +472,7 @@ const PlatformDetail = memo<PlatformDetailProps>(const handleToggleEnable = useCallback(async (enabled: boolean) => {- if (readOnly) return;+ if (enabled ? writeDisabled : readOnly) return;if (!currentConfig) return;try {setPendingEnabled(enabled);@@ -467,11 +488,20 @@ const PlatformDetail = memo<PlatformDetailProps>(msg.error(t('channel.updateFailed'));}},- [readOnly, currentConfig, agentId, updateBotProvider, connectCurrentBot, msg, t],+ [+ writeDisabled,+ readOnly,+ currentConfig,+ agentId,+ updateBotProvider,+ connectCurrentBot,+ msg,+ t,+ ],);const handleTestConnection = useCallback(async () => {- if (readOnly) return;+ if (writeDisabled) return;if (!currentConfig) {msg.warning(t('channel.saveFirstWarning'));return;@@ -493,25 +523,57 @@ const PlatformDetail = memo<PlatformDetailProps>(} finally {setTesting(false);}- }, [readOnly, currentConfig, platformDef.id, testConnection, msg, t]);+ }, [writeDisabled, currentConfig, platformDef.id, testConnection, msg, t]);++ const handlePaidFeatureUpgrade = useCallback(() => {+ navigate('/settings/plans');+ }, [navigate]);return (<ChannelPostSaveContext value={postSaveRegistry}><main className={styles.main}><HeadercurrentConfig={currentConfig}- disabled={readOnly}+ disabled={writeDisabled}enabledValue={pendingEnabled}platformDef={platformDef}refreshingStatus={refreshingStatus}runtimeStatus={observedStatus}+ toggleDisabled={toggleDisabled}toggleLoading={toggleLoading}onRefreshStatus={handleRefreshStatus}onToggleEnable={handleToggleEnable}/>+ {paidFeatureBlocked && (+ <Alert+ showIcon+ style={{ marginBlockStart: 16, maxWidth: 1024, width: '100%' }}+ type={paidFeatureMode === 'notice' ? 'warning' : 'info'}+ description={t(`channel.paidFeature.${paidFeatureMode}.desc.${paidFeatureScope}`, {+ name: platformDef.name,+ })}+ message={+ <Flexbox horizontal align={'center'} gap={12} justify={'space-between'}>+ <span>+ {t(`channel.paidFeature.${paidFeatureMode}.title`, {+ name: platformDef.name,+ })}+ </span>+ <Button+ icon={<ExternalLink size={14} />}+ size={'small'}+ type={'primary'}+ onClick={handlePaidFeatureUpgrade}+ >+ {t(`channel.paidFeature.cta.${paidFeatureScope}`)}+ </Button>+ </Flexbox>+ }+ />+ )}<BodycurrentConfig={currentConfig}- disabled={readOnly}+ disabled={writeDisabled}form={form}hasConfig={!!currentConfig}platformDef={platformDef}@@ -529,6 +591,7 @@ const PlatformDetail = memo<PlatformDetailProps>(saving={saving}testResult={testResult}testing={testing}+ writeDisabled={writeDisabled}onCopied={() => msg.success(t('channel.copied'))}onDelete={handleDelete}onSave={handleSave}diff --git a/src/routes/(main)/agent/channel/detail/permission.test.tsx b/src/routes/(main)/agent/channel/detail/permission.test.tsxindex 6f411a16312..b13c47a5f33 100644--- a/src/routes/(main)/agent/channel/detail/permission.test.tsx+++ b/src/routes/(main)/agent/channel/detail/permission.test.tsx@@ -1,7 +1,8 @@/*** @vitest-environment happy-dom*/-import { render, screen } from '@testing-library/react';+import { render, screen, within } from '@testing-library/react';+import type * as AntdModule from 'antd';import { Form } from 'antd';import type { ReactNode } from 'react';import { describe, expect, it, vi } from 'vitest';@@ -11,14 +12,71 @@ import type { SerializedPlatformDefinition } from '@/server/services/bot/platforimport Body from './Body';import Footer from './Footer';import Header from './Header';+import PlatformDetail from './index';++const mocks = vi.hoisted(() => ({+ activeWorkspaceId: null as string | null,+ navigate: vi.fn(),+}));vi.mock('react-i18next', () => ({Trans: ({ i18nKey }: { i18nKey: string }) => <span>{i18nKey}</span>,useTranslation: () => ({- t: (key: string) => key,+ t: (key: string, options?: Record<string, string>) =>+ options?.name ? `${key}:${options.name}` : key,}),}));+vi.mock('antd', async (importOriginal) => {+ const actual = await importOriginal<typeof AntdModule>();++ return {+ ...actual,+ App: {+ ...actual.App,+ useApp: () => ({+ message: {+ error: vi.fn(),+ success: vi.fn(),+ warning: vi.fn(),+ },+ }),+ },+ };+});++vi.mock('@/hooks/usePermission', () => ({+ usePermission: () => ({ allowed: true }),+}));++vi.mock('@/business/client/hooks/useActiveWorkspaceId', () => ({+ useActiveWorkspaceId: () => mocks.activeWorkspaceId,+}));++vi.mock('@/features/Workspace/useWorkspaceAwareNavigate', () => ({+ useWorkspaceAwareNavigate: () => mocks.navigate,+}));++vi.mock('@/services/agentBotProvider', () => ({+ agentBotProviderService: {+ getRuntimeStatus: vi.fn(async () => ({ status: 'connected' })),+ wechatGetQrCode: vi.fn(),+ wechatPollQrStatus: vi.fn(),+ },+}));++vi.mock('@/store/agent', () => ({+ useAgentStore: (selector: (state: Record<string, unknown>) => unknown) =>+ selector({+ connectBot: vi.fn(),+ createBotProvider: vi.fn(),+ deleteBotProvider: vi.fn(),+ refreshBotRuntimeStatus: vi.fn(),+ testConnection: vi.fn(),+ updateBotProvider: vi.fn(),+ }),+}));+vi.mock('@/hooks/useAppOrigin', () => ({useAppOrigin: () => 'https://example.test',}));@@ -37,8 +95,21 @@ vi.mock('@lobehub/ui', () => ({{title}</button>),- Alert: ({ message, title }: { message?: ReactNode; title?: ReactNode }) => (- <div>{title || message}</div>+ Alert: ({+ description,+ message,+ style,+ title,+ }: {+ description?: ReactNode;+ message?: ReactNode;+ style?: React.CSSProperties;+ title?: ReactNode;+ }) => (+ <div data-testid="channel-paid-alert" style={style}>+ <div data-testid="channel-paid-alert-title">{title || message}</div>+ <div data-testid="channel-paid-alert-description">{description}</div>+ </div>),Flexbox: ({ children, ...props }: { children?: ReactNode; [key: string]: unknown }) => (<div {...props}>{children}</div>@@ -90,11 +161,13 @@ vi.mock('@lobehub/ui/base-ui', () => ({Button: ({children,disabled,+ icon,loading,onClick,...rest- }: React.ButtonHTMLAttributes<HTMLButtonElement> & { loading?: boolean }) => (+ }: React.ButtonHTMLAttributes<HTMLButtonElement> & { icon?: ReactNode; loading?: boolean }) => (<button disabled={disabled || loading} onClick={onClick} {...rest}>+ {icon}{children}</button>),@@ -211,6 +284,7 @@ const FooterHarness = ({ disabled }: { disabled?: boolean }) => {platformDef={platformDef}saving={false}testing={false}+ writeDisabled={disabled}onCopied={vi.fn()}onDelete={vi.fn()}onSave={vi.fn()}@@ -220,6 +294,11 @@ const FooterHarness = ({ disabled }: { disabled?: boolean }) => {};describe('Agent channel permission gates', () => {+ beforeEach(() => {+ mocks.activeWorkspaceId = null;+ mocks.navigate.mockClear();+ });+it('renders channel credentials as read-only when editing is denied', () => {render(<BodyHarness disabled />);@@ -252,4 +331,126 @@ describe('Agent channel permission gates', () => {expect(screen.getByRole('switch')).toBeDisabled();expect(screen.getByRole('button', { name: 'channel.refreshStatus' })).toBeDisabled();});++ it('keeps the enable switch usable to turn off a paid-blocked channel that is still enabled', () => {+ render(+ <PlatformDetail+ agentId="agent-id"+ currentConfig={currentConfig}+ platformDef={{+ ...platformDef,+ access: {+ allowed: false,+ requiredPlan: 'paid',+ rolloutMode: 'enforce',+ },+ id: 'wechat',+ name: 'WeChat',+ }}+ />,+ );++ expect(screen.getByRole('switch')).toBeEnabled();+ expect(screen.getByRole('button', { name: 'channel.refreshStatus' })).toBeDisabled();+ });++ it('blocks re-enabling a paid-blocked channel once it is disabled', () => {+ render(+ <PlatformDetail+ agentId="agent-id"+ currentConfig={{ ...currentConfig, enabled: false }}+ platformDef={{+ ...platformDef,+ access: {+ allowed: false,+ requiredPlan: 'paid',+ rolloutMode: 'enforce',+ },+ id: 'wechat',+ name: 'WeChat',+ }}+ />,+ );++ expect(screen.getByRole('switch')).toBeDisabled();+ });++ it('renders the paid-feature alert with the platform name and spacing below the header divider', () => {+ render(+ <PlatformDetail+ agentId="agent-id"+ platformDef={{+ ...platformDef,+ access: {+ allowed: false,+ requiredPlan: 'paid',+ rolloutMode: 'notice',+ },+ id: 'wechat',+ name: 'WeChat',+ }}+ />,+ );++ const alert = screen.getByTestId('channel-paid-alert');+ expect(alert).toHaveTextContent('channel.paidFeature.notice.title:WeChat');+ expect(alert).toHaveTextContent('channel.paidFeature.notice.desc.personal:WeChat');+ expect(alert).toHaveStyle({ marginBlockStart: '16px' });+ });++ it('renders personal upgrade guidance and navigates to personal plans', async () => {+ render(+ <PlatformDetail+ agentId="agent-id"+ platformDef={{+ ...platformDef,+ access: {+ allowed: false,+ requiredPlan: 'paid',+ rolloutMode: 'notice',+ },+ id: 'wechat',+ name: 'WeChat',+ }}+ />,+ );++ const title = screen.getByTestId('channel-paid-alert-title');+ const description = screen.getByTestId('channel-paid-alert-description');+ const cta = within(title).getByRole('button', { name: 'channel.paidFeature.cta.personal' });+ cta.click();++ expect(description).toHaveTextContent('channel.paidFeature.notice.desc.personal:WeChat');+ expect(cta.querySelector('.lucide-external-link')).toBeInTheDocument();+ expect(mocks.navigate).toHaveBeenCalledWith('/settings/plans');+ });++ it('renders workspace upgrade guidance and navigates to workspace plans', async () => {+ mocks.activeWorkspaceId = 'workspace-1';++ render(+ <PlatformDetail+ agentId="agent-id"+ platformDef={{+ ...platformDef,+ access: {+ allowed: false,+ requiredPlan: 'paid',+ rolloutMode: 'notice',+ },+ id: 'wechat',+ name: 'WeChat',+ }}+ />,+ );++ const title = screen.getByTestId('channel-paid-alert-title');+ const description = screen.getByTestId('channel-paid-alert-description');+ const cta = within(title).getByRole('button', { name: 'channel.paidFeature.cta.workspace' });+ cta.click();++ expect(description).toHaveTextContent('channel.paidFeature.notice.desc.workspace:WeChat');+ expect(cta.querySelector('.lucide-external-link')).toBeInTheDocument();+ expect(mocks.navigate).toHaveBeenCalledWith('/settings/plans');+ });});diff --git a/src/routes/(main)/agent/channel/list.tsx b/src/routes/(main)/agent/channel/list.tsxindex bedfe6b7460..7bae8fc57bf 100644--- a/src/routes/(main)/agent/channel/list.tsx+++ b/src/routes/(main)/agent/channel/list.tsx@@ -286,6 +286,13 @@ const PlatformList = memo<PlatformListProps>({t('channel.comingSoon')}</Tag>)}+ {platform.access?.requiredPlan === 'paid' && (+ <Tag color="gold" size={'small'} style={{ marginInlineEnd: 0 }}>+ {platform.access.rolloutMode === 'notice'+ ? t('channel.paidFeature.noticeBadge')+ : t('channel.paidFeature.badge')}+ </Tag>+ )}{runtimeStatus && (<divclassName={styles.statusDot}diff --git a/src/server/agent-hono/handlers/gatewayCron.ts b/src/server/agent-hono/handlers/gatewayCron.tsindex 589a023de27..75ab57d473a 100644--- a/src/server/agent-hono/handlers/gatewayCron.ts+++ b/src/server/agent-hono/handlers/gatewayCron.ts@@ -2,6 +2,10 @@ import debug from 'debug';import type { Context } from 'hono';import { after } from 'next/server';+import {+ getBotFeatureBlockedMessage,+ isBotFeatureAccessAllowed,+} from '@/business/server/bot/featureAccess';import { getServerDB } from '@/database/core/db-adaptor';import { AgentBotProviderModel } from '@/database/models/agentBotProvider';import { getAgentRuntimeRedisClient } from '@/server/modules/AgentRuntime/redis';@@ -14,6 +18,10 @@ import {} from '@/server/services/bot/platforms';import { GatewayService } from '@/server/services/gateway';import { BotConnectQueue } from '@/server/services/gateway/botConnectQueue';+import {+ BOT_RUNTIME_STATUSES,+ updateBotRuntimeStatus,+} from '@/server/services/gateway/runtimeStatus';const log = debug('lobe-server:bot:gateway:cron');@@ -56,6 +64,40 @@ function createGatewayBot(return platformRegistry.createClient(platform, config, createRuntimeContext());}+/**+ * Paid-gate check shared by the provider loop and the connect queue. Blocked+ * providers are skipped and surfaced as failed so the settings UI explains why+ * the bot is not running, mirroring GatewayService.syncGatewayConnections.+ */+async function ensureBotFeatureAccess(+ platform: string,+ provider: { applicationId: string; userId: string; workspaceId?: string | null },+ action: 'manage' | 'runtime',+): Promise<boolean> {+ const allowed = await isBotFeatureAccessAllowed({+ action,+ applicationId: provider.applicationId,+ platform,+ userId: provider.userId,+ workspaceId: provider.workspaceId ?? undefined,+ });++ if (!allowed) {+ await updateBotRuntimeStatus({+ applicationId: provider.applicationId,+ errorMessage: getBotFeatureBlockedMessage(+ platform,+ provider.workspaceId ? 'workspace' : 'personal',+ ),+ platform,+ status: BOT_RUNTIME_STATUSES.failed,+ });+ log('Skipping paid-gated provider platform=%s appId=%s', platform, provider.applicationId);+ }++ return allowed;+}+async function processConnectQueue(remainingMs: number): Promise<number> {const queue = new BotConnectQueue();const items = await queue.popAll();@@ -101,6 +143,14 @@ async function processConnectQueue(remainingMs: number): Promise<number> {continue;}+ // Queued connects are user-initiated reconnects (startClient), so they+ // take the manage-mode gate; the provider loop below only keeps+ // already-running listeners alive and stays on the runtime gate.+ if (!(await ensureBotFeatureAccess(item.platform, provider, 'manage'))) {+ await queue.remove(item.platform, item.applicationId);+ continue;+ }+const bot = createGatewayBot(item.platform,provider.applicationId,@@ -180,6 +230,8 @@ export async function gatewayCron(c: Context): Promise<Response> {continue;}+ if (!(await ensureBotFeatureAccess(platform.id, provider, 'runtime'))) continue;+platformTotal++;total++;