{
  "agentSettings": {
    "subtitle": "模型、工作区、采样与输出方式的默认配置。",
    "sectionDesc": "修改将写入网关配置文件；部分项在下一轮对话或新会话中生效。",
    "needToken": "请先保存网关访问令牌后再加载或修改智能体默认项。",
    "loadError": "加载设置失败",
    "save": "保存",
    "discard": "放弃",
    "saving": "保存中…",
    "saved": "已保存",
    "saveError": "保存失败",
    "routeIntro": {
      "workspace": "智能体工作目录与图像工具加载入站图片的体积上限。",
      "browser": "让智能体通过 browser_use 操作网页。启用工具、选择连接方式，再在下方完成就绪配置。",
      "runtime": "单轮耗时、工具调用轮数、请求重试与连续工具失败上限。保存到 agents.defaults。",
      "context": "上下文压缩与工具结果裁剪，控制送入模型的历史体积。",
      "memory": "记忆快照、session_search 摘要模型与可选的后台审阅。",
      "tools": "可选工具（网页抽取、子任务委托、沙箱执行代码）、全局禁用内置工具，以及扩展用 Params（JSON）。技能白名单见「技能」页。",
      "skills": "技能市场来源（在该区块内单独保存）与全部智能体的默认技能白名单（使用页头保存）。在「技能库」安装技能；按工具开关见「工具」页。",
      "systemPrompt": "可选覆盖默认系统提示；与条目级合并（条目优先）。保存到 agents.defaults。",
      "modelStrategy": "默认聊天模型、备用链和模型角色。保存到网关配置中的 agents.defaults。",
      "generation": "控制模型回复长度、随机性、思考级别、推理可见性与详细程度。"
    },
    "defaultsTabs": {
      "workspace": "工作区",
      "browser": "浏览器",
      "runtime": "单轮限制",
      "context": "上下文",
      "memory": "记忆",
      "tools": "工具",
      "skills": "技能",
      "system-prompt": "系统提示词",
      "model-strategy": "模型策略",
      "generation": "生成参数"
    },
    "defaultsTabsAria": "智能体默认配置分区",
    "browserTabs": {
      "overview": "概览",
      "extension": "Chrome 扩展",
      "local": "本地 Chromium",
      "cloakbrowser": "CloakBrowser",
      "cdp": "CDP",
      "cloud": "云端"
    },
    "browserTabsAria": "浏览器设置分区",
    "cardModelsTitle": "默认聊天模型",
    "cardModelsSubtitle": "新会话默认使用的主模型。",
    "cardWorkspaceTitle": "工作区与附件",
    "cardWorkspaceSubtitle": "工作目录与入站媒体大小限制",
    "cardBrowserTitle": "浏览器自动化",
    "cardBrowserSubtitle": "browser_use — 导航、快照、点击、截图、流水线等（后端可选 Chrome 扩展、Playwright、CloakBrowser…）",
    "browserEnabledOn": "启用浏览器工具",
    "browserHeadlessOn": "无头模式（不显示浏览器窗口）",
    "browserAllowPrivateOn": "允许内网/私有 URL",
    "browserDialogPolicyMustRespond": "智能体必须响应",
    "browserDialogPolicyAutoDismiss": "自动关闭",
    "browserDialogPolicyAutoAccept": "自动接受",
    "browserBackendLocal": "本地（Playwright）",
    "browserBackendCdp": "CDP（远程）",
    "browserBackendCloud": "云端服务",
    "browserBackendExtension": "Chrome 扩展",
    "browserBackendCloakBrowser": "CloakBrowser",
    "browserCloudProviderLocal": "本地（Playwright）",
    "browserCloudProviderBrowserbase": "Browserbase",
    "browserCloudProviderBrowserUse": "Browser Use",
    "browserExtensionConnected": "已连接",
    "browserExtensionDisconnected": "未连接",
    "browserExtensionWaiting": "等待连接…",
    "browserExtensionServerOff": "服务未启动",
    "browserPlaywrightGuideTitle": "本地 Playwright 需要先安装 Chromium",
    "browserPlaywrightGuideDesc": "选择本地（Playwright）时，Chromium 需要安装在网关所在机器。可以点击安装，也可以登录网关机器手动执行安装命令。",
    "browserPlaywrightInstall": "安装",
    "browserPlaywrightInstalling": "安装中…",
    "browserPlaywrightInstalled": "Chromium 已安装",
    "browserPlaywrightInstallFailed": "Chromium 安装失败",
    "browserPlaywrightManualInstall": "手动安装命令",
    "browserCloakGuideTitle": "首次使用前请先下载 CloakBrowser",
    "browserCloakGuideDesc": "CloakBrowser 会提供反指纹 Chromium。保存后，网关会按配置使用它；也可以先在终端执行安装命令完成下载。",
    "browserCloakDownload": "下载",
    "browserCloakInstalling": "下载中…",
    "browserCloakInstalled": "CloakBrowser 已下载",
    "browserCloakInstallFailed": "CloakBrowser 下载失败",
    "browserCloakOpen": "打开浏览器",
    "browserCloakOpening": "正在打开…",
    "browserCloakOpenReused": "已连接到运行中的浏览器 · 端口 {{port}}",
    "browserCloakOpenLaunched": "已打开 · 端口 {{port}}",
    "browserCloakProfileLabel": "用户资料",
    "browserCloakProfileAgentHint": "使用已保存配置中的 profile，与智能体运行时一致。修改路径或 profile 选项后请先保存。",
    "browserCloakRuntimeRunning": "运行中 · 端口 {{port}}",
    "browserCloakRuntimeOff": "未运行",
    "browserCloakTemporaryProfileHint": "已启用临时资料 — 每次启动使用新的 profile",
    "browserInstallPhaseStarting": "准备中…",
    "browserInstallPhaseDownloading": "下载中…",
    "browserInstallPhaseDownloadingPercent": "下载中… {{percent}}%",
    "browserInstallPhaseVerifying": "校验 SHA-256…",
    "browserInstallPhaseExtracting": "解压中…",
    "browserInstallPhaseRunning": "安装中…",
    "browserInstallPhaseReady": "即将完成…",
    "browserInstallCancel": "取消",
    "browserInstallCancelling": "取消中…",
    "browserInstallCancelled": "安装已取消",
    "browserCloakKeepOpenOn": "任务之间保持浏览器常驻",
    "browserCloakTemporaryProfileOn": "每次使用临时用户资料",
    "browserHumanizeOn": "模拟更自然的鼠标、键盘与滚动",
    "browserHumanPresetCareful": "更稳妥（推荐）",
    "browserHumanPresetDefault": "标准",
    "browserModeLocalShort": "本地 Chromium",
    "browserModeCloakShort": "CloakBrowser",
    "browserModeCdpShort": "CDP",
    "browserModeCloudShort": "云端",
    "browserModeExtShort": "扩展",
    "browserModeLocalTagline": "网关机器自带的 Playwright Chromium",
    "browserModeCloakTagline": "反指纹 Chromium，适合隐身自动化",
    "browserModeCdpTagline": "驱动本机一个可调试 Chrome",
    "browserModeCloudTagline": "Browserbase / Browser Use 远程浏览器",
    "browserModeExtTagline": "桥接真实用户的 Chrome 扩展",
    "browserDisabledHint": "启用浏览器工具后，可选择连接方式并配置后端。",
    "browserDocsLink": "浏览器工具文档",
    "browserSetupTitle": "快速开始",
    "browserSetupSubtitle": "选择一种连接方式 — 启用浏览器工具后随时可改。",
    "browserSetupRecommended": "推荐",
    "browserSetupSelect": "使用此方式",
    "browserSetupExtTitle": "Chrome 扩展",
    "browserSetupExtDesc": "桥接日常 Chrome，适合需要已登录会话的网站。",
    "browserSetupLocalTitle": "本地 Playwright",
    "browserSetupLocalDesc": "在网关主机运行 Chromium（可无头）。安装一次后保存即可。",
    "browserSetupCloudTitle": "云端浏览器",
    "browserSetupCloudDesc": "Browserbase 或 Browser Use — 无需在本机安装 Chromium。",
    "browserStatusStripBackend": "当前连接",
    "browserWorkspaceExtSubtitle": "安装扩展、启动桥接，并在 Chrome 中完成连接。",
    "browserWorkspaceLocalSubtitle": "在网关主机安装 Chromium，以本地运行 Playwright。",
    "browserWorkspaceCloakSubtitle": "下载 CloakBrowser 并调整反指纹选项。",
    "browserWorkspaceCdpSubtitle": "启动或通过 CDP 连接可调试的 Chrome。",
    "browserWorkspaceCloudSubtitle": "使用 API 凭证连接 Browserbase 或 Browser Use。",
    "browserBehaviorShow": "运行与交互",
    "browserBehaviorHide": "收起运行与交互",
    "browserBehaviorHint": "无头模式与 JavaScript 对话框处理，对所有后端生效。",
    "browserSecurityShow": "安全与限制",
    "browserSecurityHide": "收起安全与限制",
    "browserSecurityHint": "内网 URL 访问与单命令超时。云元数据端点始终被拦截。",
    "browserPickerTitle": "生效的浏览器",
    "browserPickerSubtitle": "选择智能体运行时使用的后端。各后端的详细配置在对应 Tab 中设置。",
    "browserGoToConfigure": "前往配置",
    "browserConfiguringHeader": "正在配置：{{mode}}",
    "browserSelectedBadge": "已选中",
    "browserStatusReady": "就绪",
    "browserStatusNotInstalled": "未安装",
    "browserStatusChecking": "检测中…",
    "browserStatusUnknown": "未知",
    "browserStatusError": "错误",
    "browserAdvancedShow": "高级设置",
    "browserAdvancedHide": "收起高级设置",
    "browserReinstall": "重新安装",
    "browserConfirmDownloadTitle": "下载外部二进制",
    "browserConfirmDownloadBody": "即将从 {{url}} 下载 CloakBrowser {{version}}（平台 {{platform}}），解压前会做 SHA-256 校验。",
    "browserConfirmDownloadConfirm": "下载并安装",
    "browserConfirmDownloadCancel": "取消",
    "browserCloakSha256Skipped": "当前平台尚未在 manifest 中提供 SHA-256，安装时不会做完整性校验。",
    "browserCloakAdvancedShow": "路径与指纹",
    "browserCloakAdvancedHide": "收起路径与指纹",
    "browserCloakAdvancedHint": "二进制缓存、自定义可执行文件、时区/语言模拟、WebRTC IP 及额外 Chromium 启动参数。",
    "browserCdpLaunchLocal": "在本机启动可调试 Chrome",
    "browserCdpLaunchLocalDesc": "由网关帮你 spawn 一个带 --remote-debugging-port 的 Chrome；窗口会一直保留，直到点击「停止」。",
    "browserCdpLaunching": "启动中…",
    "browserCdpStopLocal": "停止本机 Chrome",
    "browserCdpLaunchedAtPort": "已启动，监听端口 {{port}} — 下方端点已自动填入。",
    "browserCdpTestConnection": "测试连接",
    "browserCdpTesting": "测试中…",
    "browserCdpReachable": "可达 — {{browser}}",
    "browserCdpUnreachable": "不可达：{{error}}",
    "browserCdpLoopbackOnly": "安全起见，只允许 loopback 端点（127.0.0.1 / localhost / ::1）。",
    "browserCdpChromePath": "Chrome 可执行路径（可选）",
    "browserCdpChromePathDesc": "可选项。留空时优先用 Playwright Chromium，再回落到系统 Chrome / Chromium。",
    "browserCloudTestConnection": "测试连接",
    "browserCloudTestOk": "连接成功 ✓",
    "browserCloudTestFailed": "失败：{{error}}",
    "browserBinaryPathWarning": "⚠ 网关会以自身权限执行此路径下的二进制，仅在你信任来源时填写。",
    "browserCacheDirHomeOnly": "必须在用户家目录之下（例如 ~/.xopc/bin）。",
    "browserExtensionDownloadHint": "在真实 Chrome 中加载 xopc 扩展，通过 WebSocket 与网关桥接。",
    "browserExtensionInstall": "安装到本地",
    "browserExtensionInstalling": "安装中…",
    "browserExtensionInstalled": "扩展已复制到",
    "browserExtensionOpenChrome": "打开 chrome://extensions",
    "browserExtensionRevealFolder": "复制路径并打开文件夹",
    "browserExtensionPathCopied": "路径已复制，并已在 Finder/资源管理器中打开文件夹。",
    "browserExtensionFolderOpened": "已在 Finder/资源管理器中打开文件夹。",
    "browserExtensionNeedsChromeReload": "xopc 已更新磁盘上的扩展。请打开 chrome://extensions，在 xopc 扩展上点击「重新加载」。",
    "browserExtensionInstallGuideTitle": "安装清单",
    "browserExtensionChecklistProgress": "已完成 {{done}}/{{total}}",
    "browserExtensionChecklistDone": "已完成：",
    "browserExtensionChecklistPending": "待完成：",
    "browserExtensionInstallStep1": "点击上方「安装到本地」，将扩展复制到本机目录。",
    "browserExtensionInstallStep2": "打开 chrome://extensions → 开启「开发者模式」→ 点击「加载已解压的扩展程序」→ 选择下方文件夹。",
    "browserExtensionInstallStep2FolderLabel": "扩展文件夹",
    "browserExtensionInstallStep3": "点击「启动桥接」，在 Chrome 工具栏的 xopc 扩展弹窗中点击连接。",
    "browserExtensionStartBridge": "启动桥接",
    "browserExtensionStarting": "启动中…",
    "browserExtensionStopBridge": "停止桥接",
    "browserExtensionDisconnect": "断开扩展",
    "browserExtensionPortConflict": "端口 {{port}} 已被占用。若为本网关桥接，请点击「停止桥接」；否则请更换端口或结束占用进程。",
    "browserExtensionStartHint": "立即启动 WebSocket 桥接，无需先保存配置即可完成扩展配对。桥接会一直运行直到你点击「停止」。",
    "cardGenerationTitle": "采样与工具",
    "cardGenerationSubtitle": "输出上限（Token）、随机性与工具调用轮数",
    "cardBehaviorTitle": "推理与输出",
    "cardBehaviorSubtitle": "思考深度、推理可见性与详细程度",
    "label": {
      "model": "模型",
      "modelFallbacks": "备用模型",
      "typedModels": "模型角色",
      "smallModel": "小模型",
      "smallModelFallbacks": "小模型备用链",
      "imageModel": "图像理解模型",
      "imageModelFallbacks": "图像理解备用模型",
      "imageGenerationModel": "图像生成模型",
      "imageGenerationModelFallbacks": "图像生成备用模型",
      "mediaMaxMb": "图像加载上限 (MB)",
      "workspace": "工作区",
      "browserEnabled": "浏览器工具",
      "browserHeadless": "无头模式",
      "browserAllowPrivateUrls": "允许私有 URL",
      "browserCommandTimeout": "命令超时（秒）",
      "browserBackend": "后端模式",
      "browserCloudProvider": "云端服务商",
      "browserCloudApiKey": "API Key",
      "browserCloudProjectId": "Browserbase 项目 ID",
      "browserCloudRegion": "云端区域",
      "browserCdpUrl": "CDP 端点 URL",
      "browserExtensionPort": "扩展端口",
      "browserExtensionHost": "扩展主机",
      "browserExtensionConnectionTimeout": "连接超时（秒）",
      "browserCloakKeepOpen": "保持常驻",
      "browserCloakTemporaryProfile": "临时资料",
      "browserCloakCacheDir": "下载缓存目录",
      "browserCloakBinaryPath": "浏览器路径",
      "browserCloakTimezone": "时区",
      "browserCloakLocale": "语言区域",
      "browserCloakWebrtcIp": "WebRTC 公网 IP",
      "browserCloakFingerprintPlatform": "指纹平台",
      "browserCloakExtraArgs": "额外 Chromium 参数",
      "browserHumanize": "拟人化操作",
      "browserHumanPreset": "操作节奏",
      "browserDialogPolicy": "对话框处理策略",
      "browserDialogTimeout": "对话框超时（秒）",
      "maxTokens": "最大 Token 数",
      "temperature": "温度",
      "maxToolIterations": "最大工具调用轮数",
      "thinkingDefault": "思考级别",
      "reasoningDefault": "推理可见性",
      "verboseDefault": "详细程度"
    },
    "desc": {
      "model": "新会话的默认模型。",
      "modelFallbacks": "主模型在瞬时重试后仍失败时，按顺序尝试。各服务商均需配置 API Key。",
      "typedModels": "为 Workflow 或内部任务设置命名模型角色，如 small、large、vision。",
      "smallModel": "可选的更快/更便宜模型档位。Workflow 脚本可用 agent(prompt, { tier: 'small' }) 调用；留空则回退到主模型。",
      "smallModelFallbacks": "小模型主选失败时按顺序尝试。各服务商均需配置 API Key。",
      "imageModel": "可选，用于图像理解 / 视觉。下列仅展示网关判定为接受图像输入的模型。",
      "imageModelFallbacks": "主视觉模型失败时按顺序尝试。下列仅展示标记为支持图像输入的模型。",
      "imageGenerationModel": "可选，用于 image_generate。下列仅展示网关判定为已配置 API 凭证的图像生成服务商。",
      "imageGenerationModelFallbacks": "主图像生成模型失败时按顺序尝试。下列仅展示已配置凭证的图像生成服务商。",
      "mediaMaxMb": "图像工具加载单张图片时的最大体积。",
      "workspace": "智能体读写文件的工作目录。",
      "browserEnabled": "向模型暴露 browser_use 浏览器自动化工具（具体浏览器由下方「后端模式」决定）。",
      "browserHeadless": "默认关闭：在网关机器上显示 Chromium 窗口。开启后为无头/后台运行（不显示窗口）。",
      "browserAllowPrivateUrls": "跳过导航时的私有 IP 拦截。云元数据端点（169.254.169.254 等）始终被拦截。",
      "browserCommandTimeout": "单条浏览器命令（导航、点击等）的最大秒数。默认 30。",
      "browserBackend": "连接模式：本地 Playwright、远程 CDP、云端服务或 Chrome 扩展桥接。",
      "browserCloudProvider": "云端服务商：Browserbase 或 Browser Use。可在这里直接填写 API Key；也兼容环境变量 BROWSERBASE_API_KEY / BROWSER_USE_API_KEY。",
      "browserCloudApiKey": "保存在网关配置中。留空则使用进程环境变量；已保存的密钥会以掩码显示。",
      "browserCloudProjectId": "Browserbase 可选项目 ID；留空时使用 BROWSERBASE_PROJECT_ID 或服务商默认值。",
      "browserCloudRegion": "可选。服务商支持区域时传入；留空使用默认区域。",
      "browserCdpUrl": "Chrome DevTools Protocol 的 WebSocket 端点（如 ws://localhost:9222）。仅在 CDP 模式下使用。",
      "browserExtensionPort": "Chrome 扩展桥接的 WebSocket 端口。默认 19820。",
      "browserExtensionHost": "Chrome 扩展桥接的主机地址。默认 127.0.0.1。",
      "browserExtensionConnectionTimeout": "网关等待扩展连接的最长时间（秒）。默认 30。",
      "browserCloakKeepOpen": "复用同一个 CloakBrowser 进程，减少后续任务启动时间。默认开启。",
      "browserCloakTemporaryProfile": "每次启动时使用临时用户资料目录，关闭后清理。适合隔离测试。",
      "browserCloakCacheDir": "可选。CloakBrowser 根目录（二进制与 profiles）；留空使用 ~/.xopc/bin/cloakbrowser。",
      "browserCloakBinaryPath": "可选。已下载的 CloakBrowser/Chromium 可执行文件路径；通常位于 ~/.xopc/bin，填写后跳过自动下载。",
      "browserCloakTimezone": "可选，模拟的 IANA 时区（如 America/New_York）。",
      "browserCloakLocale": "可选，模拟的语言区域（如 en-US）。",
      "browserCloakWebrtcIp": "可选，用于 WebRTC 泄露防护的公网 IP。",
      "browserCloakFingerprintPlatform": "可选，指纹模拟的平台标识（如 windows、macos）。",
      "browserCloakExtraArgs": "每行一个 Chromium 启动参数。相同 --key= 前缀会覆盖默认值。",
      "browserHumanize": "使用贝塞尔鼠标轨迹、逐字输入和滚动节奏，降低自动化痕迹。",
      "browserHumanPreset": "选择操作节奏；更稳妥会慢一些但更接近真人操作。",
      "browserDialogPolicy": "JS 对话框（alert/confirm/prompt）的处理方式：智能体必须响应、自动关闭或自动接受。",
      "browserDialogTimeout": "未处理的对话框在自动策略下的等待秒数。默认 300。",
      "maxTokens": "模型回复的最大 Token 数。",
      "temperature": "随机性（0–2）。",
      "maxToolIterations": "单条用户消息内最多进行多少轮工具调用。",
      "thinkingDefault": "新会话的默认思考级别。",
      "reasoningDefault": "是否在聊天界面展示模型推理。若会话曾设置 /reasoning 等，会覆盖此默认直至清除会话配置。",
      "verboseDefault": "智能体在日志与工具细节上的详细程度，不控制聊天中的推理/思考区块；若要隐藏推理请使用「推理可见性」。"
    },
    "addModelFallback": "添加备用模型",
    "removeModelFallback": "移除备用模型",
    "addTypedModel": "添加模型角色",
    "removeTypedModel": "移除模型角色",
    "typedModelIdLabel": "角色 ID",
    "typedModelDescriptionLabel": "描述",
    "typedModelIdPlaceholder": "small",
    "typedModelDescriptionPlaceholder": "可选说明",
    "typedModelsInvalidId": "每个模型角色需要有效的 id（小写字母、数字、连字符、下划线）。",
    "typedModelsDuplicateId": "模型角色 id 重复。",
    "typedModelsInvalidModel": "每个模型角色需要 provider/model 格式的模型引用。",
    "setDefaultWorkspace": "设为默认",
    "visionRegistryEmpty": "当前已配置的服务商下，没有标记为支持图像输入的模型。可在 models.json 中为模型设置包含 \"image\" 的 `input`，或选择上游目录中声明支持图像的模型。",
    "visionOutOfFilterNote": "当前模型列表未将该模型标为支持图像；建议尽量选择带图像能力的模型。",
    "imageGenRegistryEmpty": "当前没有已配置 API 凭证的图像生成服务商。请在配置或环境变量中填写对应密钥（如 OpenAI）后刷新。",
    "imageGenOutOfFilterNote": "该模型所属服务商未配置凭证；在配置完成或改选已配置的服务商之前，image_generate 将无法使用该模型。",
    "reasoning": {
      "off": "关闭",
      "on": "开启",
      "stream": "流式"
    },
    "verbose": {
      "off": "关闭",
      "on": "开启",
      "full": "完整"
    },
    "advanced": {
      "advancedOptionsShow": "高级选项",
      "advancedOptionsHide": "收起高级选项",
      "cardLimitsTitle": "单轮限制与可靠性",
      "cardLimitsSubtitle": "单轮最大耗时、重试与工具连续失败次数。",
      "maxTaskDurationMs": "单轮最长时间（分钟）",
      "maxTaskDurationMsDesc": "单条用户消息内（模型 + 工具）墙钟上限。留空用服务端默认。范围 1–240 分（1 分–4 小时）。",
      "maxTaskDurationPlaceholder": "如 30（留空为默认）",
      "maxRequestsPerTurn": "每轮最大请求数",
      "maxRequestsPerTurnDesc": "单条用户消息内大模型重试/请求尝试上限（默认 50）。",
      "maxToolFailuresPerTurn": "每轮最大工具失败次数",
      "maxToolFailuresPerTurnDesc": "连续工具错误达到该值后放弃（默认 3）。",
      "goalsCheckLink": "目标检查 (/goal) → 目标评判设置",
      "goalsCheckLinkHint": "清单评判默认值在「设置 → 自动化 → 目标评判」中配置。",
      "cardCompactionTitle": "上下文压缩",
      "cardCompactionSubtitle": "在上下文中按策略压缩较早内容以适配窗口。",
      "compactionEnabled": "启用压缩",
      "compactionEnabledDesc": "关闭后不按策略压缩（可能更占上下文）。",
      "compactionEnabledOn": "启用压缩",
      "compactionMode": "模式",
      "compactionModeDesc": "default：标准；safeguard：更谨慎的启发式。",
      "compactionModeDefault": "default",
      "compactionModeSafeguard": "safeguard",
      "reserveTokens": "保留 token",
      "reserveTokensDesc": "压缩后为目标模型预留的头部空间（默认 8000）。",
      "triggerThreshold": "触发阈值",
      "triggerThresholdDesc": "已用上下文比例达到该值时考虑压缩（0.5–0.95）。",
      "minMessagesBeforeCompact": "最早压缩前消息数",
      "minMessagesBeforeCompactDesc": "达到该条数后才允许开始压缩（默认 10）。",
      "keepRecentMessages": "保留最近消息数",
      "keepRecentMessagesDesc": "尾部始终完整保留的最近轮次（默认 5）。",
      "evictionWindow": "逐出窗口",
      "evictionWindowDesc": "可参与先摘要/逐出策略的历史比例（0.1–0.5）。",
      "retentionWindow": "保留窗口",
      "retentionWindowDesc": "参与保留策略的轮次宽度（3–20）。",
      "cardPruningTitle": "工具结果裁剪",
      "cardPruningSubtitle": "在送入模型前截断过长的工具输出。",
      "pruningEnabled": "启用裁剪",
      "pruningEnabledDesc": "关闭后整段工具结果可能入模型（成本更高）。",
      "pruningEnabledOn": "启用裁剪",
      "maxToolResultChars": "单条工具结果最大字符",
      "maxToolResultCharsDesc": "单条工具结果默认上限（默认 10000）。",
      "headKeepRatio": "保留开头比例",
      "headKeepRatioDesc": "裁剪时从开头保留比例（0–1，默认 0.3）。",
      "tailKeepRatio": "保留结尾比例",
      "tailKeepRatioDesc": "从结尾保留比例（0–1，默认 0.3）。",
      "cardMemoryTitle": "记忆（精选与外部）",
      "cardMemorySubtitle": "系统记忆、USER.md 与可选外部 provider。",
      "memoryEnabled": "记忆功能",
      "memoryEnabledDesc": "总开关：精选记忆快照、工具与外部预取。",
      "memoryEnabledOn": "启用",
      "useEnhancedSystem": "增强 system",
      "useEnhancedSystemDesc": "关闭时仅使用工作区内的角色配置（不附加额外记忆快照）。",
      "useEnhancedSystemOn": "使用增强 system",
      "userProfileEnabled": "包含 USER.md",
      "userProfileEnabledDesc": "在快照中纳入 USER.md。",
      "userProfileEnabledOn": "包含用户侧写",
      "memoryProvider": "外部记忆 provider",
      "memoryProviderDesc": "选 none / stub 或留空视为不设置。",
      "memoryProviderUnset": "（不设置）",
      "injectionFrequency": "外部预取注入",
      "injectionFrequencyDesc": "将预取记忆注入到用户消息上下文的频率。",
      "injectionFrequencyUnset": "（不设置）",
      "injectionEveryTurn": "每轮（配合 cadence）",
      "injectionFirstTurn": "仅首轮",
      "memoryCharLimit": "记忆字符上限",
      "memoryCharLimitDesc": "精选记忆快照最大字符数（可选）。",
      "userCharLimit": "用户侧写字符上限",
      "userCharLimitDesc": "USER.md 区块最大字符数（可选）。",
      "contextCadence": "上下文节奏",
      "contextCadenceDesc": "每轮注入时：在轮次 1、1+N、… 注入（最小 1）。",
      "dialecticCadence": "对话节奏（预留）",
      "dialecticCadenceDesc": "预留，尚未接入。设置时最小为 1。",
      "cardSessionSearchTitle": "会话搜索（转写）",
      "cardSessionSearchSubtitle": "session_search 工具中用于历史会话摘要的模型。",
      "sessionSearchSummaryModel": "摘要模型",
      "sessionSearchSummaryModelDesc": "如 openai/gpt-4o-mini。留空用运行时的默认/启发式。",
      "cardReviewTitle": "后台审阅",
      "cardReviewSubtitle": "成功回合后可选的静默跟进（记忆/技能）。默认关闭。",
      "reviewEnabled": "启用后台审阅",
      "reviewEnabledDesc": "开启后，成功轮次后可能跑静默跟进。",
      "reviewEnabledOn": "启用",
      "memoryNudgeInterval": "记忆审阅节奏（每 N 轮用户消息）",
      "memoryNudgeIntervalDesc": "0 表示关闭该通道。默认 10。",
      "skillNudgeInterval": "技能审阅（无 skill_manage 的轮数）",
      "skillNudgeIntervalDesc": "0 表示关闭。默认 10。",
      "reviewMaxToolRounds": "审阅中最大工具轮数",
      "reviewMaxToolRoundsDesc": "1–32，默认 8。",
      "reviewMaxHistoryMessages": "审阅上下文中最大消息数（尾部）",
      "reviewMaxHistoryMessagesDesc": "10–200，默认 80。",
      "reviewMaxDurationMs": "审阅时间上限（秒）",
      "reviewMaxDurationMsDesc": "单轮审阅墙钟 30–600 秒，默认 120 秒。",
      "cardWebExtractTitle": "web_extract（LLM 提取）",
      "cardWebExtractSubtitle": "网页转 Markdown 提取的可选模型与长度。",
      "webExtractModel": "模型",
      "webExtractModelDesc": "留空用默认提取模型/启发式。",
      "webExtractMaxLength": "最大长度",
      "webExtractMaxLengthDesc": "提取文字最大长度（可选）。",
      "cardDelegateTitle": "子智能体与代码执行",
      "cardDelegateSubtitle": "可选：delegate_task 与沙箱 execute_code。",
      "delegateEnabled": "子任务委托 delegate_task",
      "delegateEnabledDesc": "开启后，若运行环境支持，可使用子智能体。",
      "delegateEnabledOn": "开启",
      "executeCodeEnabled": "execute_code（沙箱）",
      "executeCodeEnabledDesc": "开启后，若运行环境允许，可见沙箱代码工具。",
      "executeCodeEnabledOn": "开启",
      "cardSystemPromptTitle": "系统提示词",
      "cardSystemPromptSubtitle": "可选覆盖默认系统上下文；与智能体级合并，条目级优先。",
      "cardSkillsTitle": "技能白名单",
      "cardSkillsSubtitle": "非空时仅向提示中暴露列表中的 <available_skills>。",
      "systemPromptOverride": "系统提示覆盖",
      "systemPromptOverrideDesc": "可选全量覆盖；与智能体级合并（条目优先）。留空可清除。",
      "systemPromptPlaceholder": "",
      "skillsAllowlist": "技能名白名单",
      "skillsAllowlistDesc": "设置后仅向提示暴露已勾选技能。选「全部技能」表示不过滤；选「仅已选技能」从目录勾选（配置里已有但目录未列出的项仍会显示）。",
      "skillsAllowlistModeAll": "全部技能",
      "skillsAllowlistModeRestrict": "仅已选技能",
      "skillsAllowlistNotInCatalog": "不在目录中",
      "addSkillName": "添加技能名",
      "removeListItem": "移除此行",
      "cardToolsDisableTitle": "工具 — 全局禁用",
      "cardToolsDisableSubtitle": "在 agents.defaults 中禁用内建工具名（如 shell、web_search）。",
      "toolsDisableFieldLabel": "内建工具",
      "toolsDisableHint": "勾选表示默认智能体可使用该工具；取消勾选则全局禁用。与「智能体」中按条目的禁用会合并生效。",
      "toolsDisableLoadingBuiltin": "正在加载内建工具列表…",
      "toolsDisableEmptyBuiltin": "网关未返回任何内建工具。",
      "toolsDisableNotInBuiltin": "不在内建列表中",
      "toolsDisableQuickActionsLabel": "快捷操作",
      "toolsDisableQuickEnableAll": "全部允许",
      "toolsDisableQuickDisableAll": "全部禁用",
      "toolsDisableQuickReadOnlyWorkspace": "工作区只读",
      "toolsDisableQuickHighRiskOff": "关闭高危",
      "toolsDisableQuickNoOutbound": "禁止出站",
      "addToolName": "添加工具名",
      "cardParamsTitle": "Params（JSON）",
      "cardParamsSubtitle": "给扩展的任意键值，必须为 JSON 对象。",
      "paramsJson": "Params 对象",
      "paramsJsonDesc": "如 {\"myFlag\": true}。清空可去掉配置文件中的 params。",
      "paramsInvalidJson": "Params 必须是有效 JSON 对象。请检查花括号、引号等。"
    },
    "modelsOverrideTitle": "模型覆盖",
    "modelsOverrideHint": "查看当前 Agent 是继承全局模型策略，还是使用自己的模型角色。",
    "modelResolutionGlobal": "全局默认",
    "modelResolutionAgent": "Agent 覆盖",
    "modelResolutionSession": "当前会话选择",
    "modelResolutionUnset": "未设置",
    "modelResolutionAgentInherits": "默认被各 Agent 继承，可在 Agent 详情覆盖模型角色。",
    "modelResolutionSessionSelectable": "聊天页可临时选择会话模型。"
  },
  "agentsSettings": {
    "title": "智能体",
    "subtitle": "管理 agents.list：工作区、默认路由与角色配置。",
    "needToken": "请先保存网关访问令牌后再管理智能体。",
    "loadError": "加载智能体列表失败",
    "saveError": "请求失败",
    "loading": "加载中…",
    "tabOverview": "智能体列表",
    "tabDefaults": "智能体默认配置",
    "tabFiles": "角色配置",
    "tabTools": "工具",
    "tabSkills": "技能",
    "tabChannels": "通道",
    "tabCron": "定时",
    "selectAgent": "智能体",
    "selectAgentHint": "选择要编辑的智能体。角色配置文件（SOUL.md、IDENTITY.md 等）从该智能体目录 `agents/<id>/profile/` 读取。",
    "agent": "智能体",
    "defaultBadge": "默认",
    "setDefault": "设为默认",
    "editAgent": "运行配置",
    "editAgentHint": "修改模型、工作区等配置，保存后将更新网关的 agents.list。",
    "inheritance": {
      "title": "默认配置与本智能体",
      "subtitle": "模型留空时使用全局默认；工作区路径与默认一致时视为继承。",
      "editDefaultsLink": "编辑默认配置",
      "modelLabel": "主模型",
      "workspaceLabel": "工作区",
      "badgeInherit": "继承默认",
      "badgeOverride": "已覆盖",
      "inheritsValue": "默认：{{value}}",
      "unset": "未设置"
    },
    "displayName": "名称",
    "agentDescription": "描述",
    "agentDescriptionPlaceholder": "简短说明，会显示在智能体卡片和选择器中（可选）。",
    "workspacePath": "Markdown 工作区",
    "modelPrimary": "模型（主）",
    "modelSmall": "小模型",
    "modelSmallHint": "可选的更快/更便宜模型档位 —— Workflow 脚本可用 { tier: 'small' } 调用；留空则继承默认值。",
    "modelSmallDefaultsPrefix": "默认：",
    "modelClear": "清除",
    "save": "保存",
    "discard": "放弃",
    "removeFromConfig": "从配置移除",
    "purgeDisk": "移除并删除数据",
    "addAgent": "添加智能体",
    "addAgentHint": "与 CLI agents add 相同：创建目录并写入角色配置模板。",
    "newAgentLabel": "名称",
    "newAgentIdOptional": "Agent ID（可选）",
    "newAgentIdPlaceholder": "留空则根据显示名称生成",
    "newAgentIdRules": "1–64 个字符：字母、数字、下划线、连字符；须以字母或数字开头。勿使用保留 id（如 main、con）。",
    "newWorkspace": "工作区目录（必填）",
    "newModelOptional": "模型（可选）",
    "create": "创建智能体",
    "addAgentAria": "添加智能体",
    "createModalCancel": "取消",
    "closeDialogAria": "关闭",
    "filesHint": "智能体的身份配置文件（SOUL、IDENTITY 等）。编辑后自动保存，可用「预览」查看渲染效果。",
    "filesLoading": "正在加载文件列表…",
    "filesEmpty": "暂无文件。",
    "pickFile": "请选择要编辑的文件。",
    "saveFile": "保存文件",
    "filesMarkdownEdit": "编辑",
    "filesMarkdownPreview": "预览",
    "filesAutoSaveHint": "编辑后自动保存。",
    "filesSavingStatus": "保存中…",
    "missing": "缺失",
    "confirmDelete": "从配置中移除此智能体？相关路由绑定会被清除。",
    "confirmDeletePurge": "移除此智能体并删除其工作区与 ~/.xopc/agents/<id> 数据？此操作不可恢复。",
    "purgeConfirmLabel": "输入 agentId 以确认",
    "purgeConfirmPlaceholder": "请输入 {{agentId}} 以确认",
    "purgeConfirmHint": "此操作不可恢复。需完整输入 {{agentId}} 才能启用删除。",
    "toolsTitle": "内置工具",
    "toolsHint": "按智能体禁用工具（与 agents.defaults 合并）。已在默认配置中禁用的工具不能在此处单独启用。",
    "toolsSave": "保存工具禁用",
    "toolsClearEntry": "清除本智能体的额外禁用",
    "toolsLockedByDefaults": "已在默认中禁用",
    "toolsDisableGroups": {
      "unknown": "自定义（不在内置列表）",
      "workspace": "工作区与搜索",
      "execution": "执行",
      "web": "网络",
      "messaging": "通道与出站",
      "memory": "记忆与会话",
      "media": "视觉与生成",
      "extensions": "扩展",
      "mcp": "MCP（bundle）",
      "misc": "其他内置"
    },
    "toolDescriptions": {
      "read_file": "读取工作区内的文本与小文件（路径限制在工作区沙箱内）。",
      "write_file": "在工作区创建新文件或覆盖已有文件。",
      "edit_file": "通过定位替换或补丁式编辑修改已有文件。",
      "list_dir": "列出工作区某目录下的文件与子目录。",
      "grep": "用正则搜索文件内容（类似 ripgrep）。",
      "find": "按文件名或 glob 在工作区内查找文件。",
      "shell": "在与工作区关联的环境中执行 shell 命令，权限高；只读或更保守的智能体可关闭。",
      "web_search": "检索公开网页，获取模型训练截止之后的事实与资料。",
      "web_fetch": "请求 URL 并读取页面文本供模型使用。",
      "browser_use": "统一的浏览器自动化工具，用于导航、快照、点击、输入、截图与浏览器流水线。",
      "send_message": "在已连接的通道上发送出站聊天内容（如 Telegram、CLI、网关等）。",
      "send_media": "通过通道发送图片或其他媒体附件。",
      "memory_search": "搜索为本智能体建立的记忆与笔记索引。",
      "memory_get": "按 ID 读取某条记忆或片段。",
      "curated_memory": "读取或更新智能体主目录下的精选 Markdown 记忆。",
      "session_search": "在已保存的会话记录与按会话摘要中搜索。",
      "image": "分析或描述图片（视觉），可来自工作区或当前对话。",
      "image_generate": "使用已配置的图像 / 文生图模型生成图片。",
      "extensions": "启用扩展注册的工具；关闭则屏蔽所有扩展工具。",
      "bundle-mcp": "从已配置的 MCP 服务器加载工具（全局 mcp.servers 与扩展 .mcp.json）。"
    },
    "skillsTitle": "技能白名单",
    "skillsHint": "可选的 <available_skills> 白名单。「继承默认」仅使用 agents.defaults；「自定义」写入本智能体的 skills 数组。",
    "skillsInherit": "继承默认",
    "skillsCustomize": "自定义白名单",
    "skillsSave": "保存技能",
    "modelsTabTitle": "模型角色",
    "modelsTabHint": "可选覆盖 Workflow 命名模型角色。「继承默认」使用 agents.defaults；「自定义」写入本智能体的 models 数组。",
    "modelsInherit": "继承默认",
    "modelsCustomize": "自定义角色",
    "modelsResetInherit": "清除覆盖",
    "modelsDefaultsLink": "编辑默认",
    "modelsDefaultsLabel": "默认：",
    "modelsEffectiveLabel": "生效：",
    "modelsSave": "保存模型角色",
    "typedModelIdLabel": "角色 ID",
    "typedModelDescriptionLabel": "描述",
    "addTypedModel": "添加模型角色",
    "removeTypedModel": "移除模型角色",
    "typedModelIdPlaceholder": "small",
    "typedModelDescriptionPlaceholder": "可选说明",
    "skillsCatalogLoading": "正在加载技能目录…",
    "skillsEmptyCatalog": "目录中暂无技能。",
    "skillsNoDescription": "SKILL.md 元数据中暂无描述。",
    "skillsDefaultsLabel": "默认白名单：",
    "skillsEffectiveLabel": "生效白名单：",
    "skillsAllFromCatalog": "（全部目录技能）",
    "channelsTitle": "路由绑定",
    "channelsHint": "指向本智能体的 config.bindings。删除规则会更新网关上的完整 bindings 数组。",
    "channelsLoading": "正在加载绑定…",
    "channelsNone": "没有指向该智能体的绑定。",
    "channelLabel": "通道",
    "peerIdLabel": "对端 ID（可选）",
    "channelsLoadingChannels": "正在加载通道列表…",
    "channelsManualChannelHint": "网关未返回通道列表。请直接填写通道 id（如 telegram、webchat、gateway）。",
    "channelsDisabledSuffix": "（已禁用）",
    "channelsSessionLabel": "匹配范围",
    "channelsRefreshSessions": "刷新",
    "channelsRefreshSessionsHint": "重新加载该通道的近期会话",
    "channelsLoadingSessions": "正在加载会话…",
    "channelsPeerFromSessions": "从会话选择",
    "channelsPeerAny": "该通道上全部入站",
    "channelsNoSessionsHint": "此通道下暂无会话记录。先发一条消息，或在下方填写自定义对端 id。",
    "channelsCustomPeerHint": "若填写，将覆盖上方会话选择；支持 * 通配，详见会话路由说明。",
    "channelsCustomPeerPlaceholder": "例如 12345 或 *",
    "addBinding": "添加绑定",
    "removeBinding": "移除",
    "cronTitle": "定时任务",
    "cronHint": "隔离会话的定时任务可指定 agentId 作为会话键。未指定 agentId 的任务使用默认智能体，并在选中该智能体时显示。",
    "cronLoading": "正在加载定时任务…",
    "cronNone": "没有匹配的任务。",
    "cronColSchedule": "计划",
    "cronColMessage": "消息",
    "cronColSession": "会话",
    "cronColAgent": "智能体",
    "cronAgentDefault": "默认智能体",
    "cronAgentClear": "恢复默认",
    "navIdentity": "智能体身份",
    "navProfile": "关于你",
    "navPersona": "人格",
    "navTools": "工具",
    "navModels": "模型角色",
    "navSkills": "技能",
    "navCoreFiles": "角色配置",
    "navAdvanced": "高级",
    "listSearchPlaceholder": "按名称、ID 或工作区搜索",
    "listEmpty": "没有匹配的智能体。",
    "listNoAgentsYet": "暂无智能体，请先创建一个。",
    "listNewAgentCard": "新建智能体",
    "listChatWithAgent": "聊天",
    "defaultMainAgentName": "智能助手",
    "defaultMainAgentDescription": "你的个人智能助手：解答疑问、协助日常事务，并随时与你交流。",
    "editorNavAria": "智能体编辑器分区",
    "skillsLibraryLink": "技能库",
    "personaHint": "通过表单快速设置智能体身份与个性。需要直接编辑文本时请使用「角色配置」。",
    "personaSectionIdentity": "智能体身份",
    "personaSectionIdentityHint": "你的智能体如何介绍自己",
    "personaSectionUser": "关于你",
    "personaSectionUserHint": "帮助你的智能体更好地了解你",
    "personaSectionSoul": "个性与风格",
    "personaSectionSoulHint": "定义你的智能体如何与你交流",
    "personaName": "名字",
    "personaNamePlaceholder": "例如：小助、星辰、晓彤…",
    "personaCreature": "类型",
    "personaCreaturePlaceholder": "自定义类型…",
    "personaVibe": "风格",
    "personaVibePlaceholder": "自定义风格…",
    "personaEmoji": "签名表情",
    "personaEmojiPlaceholder": "例如 🤖 ✨ 🧠",
    "personaAvatar": "头像",
    "personaAvatarPlaceholder": "URL 或工作区路径",
    "avatarPickerTitle": "智能体头像",
    "avatarOpenSettingsAria": "打开智能体头像设置",
    "avatarRowHint": "选择风格或上传自定义图片。",
    "avatarUploadCustom": "上传自定义图片",
    "avatarStyleAdventurer": "冒险家",
    "avatarStyleRobot": "机器人",
    "avatarStyleLorelei": "洛蕾莱",
    "avatarStyleThumbs": "Thumbs",
    "avatarStyleFunEmoji": "趣味表情",
    "avatarMore": "更多",
    "avatarUploading": "上传中…",
    "avatarUploadFailed": "上传失败，请换一张较小的 PNG、JPEG 或 WebP。",
    "avatarInvalidImage": "请使用 PNG、JPEG 或 WebP 图片。",
    "avatarTooLarge": "图片大小不能超过 512 KB。",
    "personaCallName": "怎么称呼你",
    "personaCallNamePlaceholder": "例如：小明",
    "personaPronouns": "称谓",
    "personaPronounsPlaceholder": "例如：先生、女士、同学",
    "personaTimezone": "时区",
    "personaTimezoneDetect": "自动检测",
    "personaTimezoneCustom": "自定义时区…",
    "personaNotes": "备注",
    "personaNotesPlaceholder": "其他你希望智能体了解的信息…",
    "personaSoulTemplate": "个性模板",
    "personaSoulCustomEdit": "编辑个性描述 (Markdown)",
    "personaSoulPreview": "预览",
    "personaSoulEdit": "编辑",
    "personaMemoryNote": "你在对话中分享的偏好（如喜欢的食物、习惯等）会被智能体自动记住，无需在这里添加。",
    "personaSaving": "保存中…",
    "personaSaved": "已保存",
    "footerSaveNotApplicable": "本页内容自动保存，无需手动操作。底部「保存」仅用于智能体身份、工具、技能与角色配置。",
    "presetSetupBadge": "快速设置",
    "presetSetupTitle": "创建预置 Agent 开始使用",
    "presetSetupSubtitle": "选择要创建的 Agent，每个都带有定制化的性格和独立工作空间，创建后可随时修改。",
    "presetSkip": "跳过",
    "presetCreateSelected": "创建 {{count}} 个 Agent",
    "presetCreating": "正在创建…",
    "presetCreatingProgress": "正在创建第 {{current}} 个 / 共 {{total}} 个…",
    "presetSetupComplete": "Agent 创建成功！",
    "presetCreateFailed": "创建 {{name}} 失败：{{message}}",
    "modelsResolutionGlobal": "全局默认",
    "modelsResolutionAgent": "本 Agent 覆盖",
    "modelsResolutionEffective": "最终生效",
    "modelsResolutionInherits": "继承全局默认"
  },
  "goalsSettings": {
    "title": "目标评判（/goal）",
    "hint": "持久化目标任务与评判模型评分的默认设置。",
    "save": "保存",
    "discard": "放弃",
    "saving": "保存中…",
    "saveError": "保存目标设置失败",
    "maxTurns": "单次运行最大轮数",
    "judgeModelRef": "评判模型",
    "judgeModelRefPlaceholder": "使用 Agent 默认模型（可选）",
    "judgeModelRefHint": "可选。留空时，目标运行将使用 Agent 配置的默认模型。",
    "judgeModelRefUseDefault": "使用 Agent 默认模型",
    "checklistMode": "清单模式",
    "parseFailures": "最大连续解析失败次数",
    "judgeTimeoutSec": "评判超时（秒）",
    "checklistHistoryChars": "清单历史字符数",
    "checklistHistoryCharsHint": "清单模式下发送给评判模型的 transcript 历史最大字符数。"
  }
}
