it0/it0-web-admin/src/i18n/locales/zh/agent-config.json

176 lines
6.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"title": "代理配置",
"subtitle": "管理 AI 引擎设置、系统提示词和允许的工具。",
"loading": "正在加载代理配置...",
"loadError": "加载配置失败,使用默认设置。",
"saveSuccess": "配置已成功保存。",
"saveConfig": "保存配置",
"resetDefaults": "恢复默认设置",
"engine": {
"title": "引擎",
"claudeCli": "Claude CLI",
"claudeCliDesc": "本地 Claude Code CLI 进程",
"claudeApi": "Claude API",
"claudeApiDesc": "直接 Anthropic API 集成"
},
"systemPrompt": {
"title": "系统提示词",
"placeholder": "输入 AI 代理的系统提示词..."
},
"maxTurns": {
"title": "最大轮次",
"description": "每个会话的最大对话轮次。"
},
"maxBudget": {
"title": "最大预算(美元)",
"description": "每个会话的最大 Token 费用。"
},
"allowedTools": {
"title": "允许的工具",
"selectAll": "全选",
"deselectAll": "全不选",
"tools": {
"Bash": "执行 Shell 命令",
"Read": "读取文件内容",
"Write": "写入/创建文件",
"Edit": "编辑现有文件",
"Glob": "按模式搜索文件",
"Grep": "搜索文件内容",
"WebFetch": "获取网页内容",
"WebSearch": "搜索网络",
"NotebookEdit": "编辑 Jupyter 笔记本",
"Task": "启动子代理任务"
}
},
"sdk": {
"title": "Agent SDK 配置",
"subtitle": "配置每个租户的 Claude Agent SDK 计费方式、审批流程和工具权限。",
"loading": "正在加载 SDK 配置...",
"loadError": "加载配置失败,使用默认设置。",
"billingMode": {
"title": "计费模式",
"subtitle": "选择该租户的 Claude Agent SDK 计费方式。",
"subscription": "订阅制",
"subscriptionDesc": "使用运维人员的 Claude 登录(无需 API 密钥)",
"apiKey": "API 密钥",
"apiKeyDesc": "租户自有的 Anthropic API 密钥(按 Token 计费)"
},
"apiKey": {
"label": "Anthropic API 密钥",
"configured": "密钥已配置",
"replacePlaceholder": "输入新密钥以替换现有密钥",
"placeholder": "sk-ant-...",
"remove": "移除",
"encryptionNote": "API 密钥在存储前已加密AES-256-GCM不会以明文存储。"
},
"approvalTimeout": {
"title": "L2 审批超时",
"subtitle": "对于高风险命令L2等待人工审批的时间超时后自动批准。设置为 0 则禁用自动批准(无限等待)。",
"unit": "秒",
"autoApproveDisabled": "自动批准已禁用——命令将无限等待人工审批。",
"autoApproveAfter": "无响应 {{seconds}} 秒后命令将自动批准。"
},
"toolPermissions": {
"title": "工具权限",
"subtitle": "按租户覆盖工具访问权限。白名单为空时使用 RBAC 默认设置。黑名单中的工具无论角色如何都会被拒绝。",
"tool": "工具",
"description": "描述",
"whitelist": "白名单",
"blacklist": "黑名单",
"whitelistCount": "白名单:{{count}}",
"whitelistNone": "白名单:无(使用 RBAC 默认设置)",
"blacklistCount": "黑名单:{{count}}",
"blacklistNone": "黑名单:无"
},
"rbac": {
"title": "RBAC 工具访问(参考)",
"subtitle": "每个角色的默认工具访问权限(白名单为空时生效)。",
"admin": "管理员",
"adminTools": "全部工具Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch, NotebookEdit, Task",
"operator": "运维人员",
"operatorTools": "Bash, Read, Write, Edit, Glob, Grep",
"viewer": "只读用户",
"viewerTools": "Read, Glob, Grep只读"
}
},
"skills": {
"title": "技能",
"subtitle": "管理 AI 代理的 Claude Code 技能",
"addSkill": "添加技能",
"editSkill": "编辑技能",
"deleteSkill": "删除技能",
"loading": "正在加载技能...",
"loadError": "加载技能失败:",
"empty": "暂无配置的技能。",
"categories": {
"inspection": "巡检",
"deployment": "部署",
"maintenance": "维护",
"security": "安全",
"monitoring": "监控",
"custom": "自定义"
},
"form": {
"name": "名称",
"description": "描述",
"category": "分类",
"script": "脚本",
"tags": "标签",
"enabled": "启用"
},
"detail": {
"backToSkills": "返回技能列表",
"overview": "概览",
"promptTemplate": "提示词模板",
"allowedTools": "允许的工具",
"configuration": "配置",
"quickActions": "快捷操作",
"metadata": "元数据",
"duplicateSkill": "复制技能",
"deleteSkill": "删除技能",
"builtIn": "内置",
"custom": "自定义",
"enabled": "已启用",
"disabled": "已禁用",
"noPrompt": "未定义提示词模板。",
"noTools": "未配置工具。",
"notFound": "技能未找到。",
"loading": "正在加载技能..."
}
},
"hooks": {
"title": "钩子脚本",
"subtitle": "代理工具执行的生命周期脚本",
"addHook": "添加钩子",
"editHook": "编辑钩子",
"deleteHook": "删除钩子",
"loading": "正在加载钩子...",
"loadError": "加载钩子失败:",
"empty": "暂无配置的钩子。",
"infoBanner": "钩子脚本在代理工具调用前后运行。用于日志记录、验证或自定义副作用。",
"table": {
"name": "名称",
"event": "事件",
"toolPattern": "工具匹配",
"script": "脚本",
"enabled": "启用",
"actions": "操作"
},
"form": {
"name": "名称",
"eventType": "事件类型",
"toolPattern": "工具匹配",
"script": "脚本",
"timeout": "超时",
"enabled": "启用",
"description": "描述"
},
"events": {
"beforeTool": "工具执行前",
"afterTool": "工具执行后",
"onError": "出错时",
"onApproval": "审批时"
}
}
}