{
  "title": "智能体",
  "subtitle": "管理用户级和项目级智能体",
  "toolbar": {
    "searchPlaceholder": "搜索Agent...",
    "refreshTooltip": "刷新 Agent 列表",
    "refreshSuccess": "Agent 列表已刷新",
    "addTooltip": "添加Agent"
  },
  "filters": {
    "all": "所有",
    "builtin": "内置",
    "user": "用户级",
    "project": "项目级"
  },
  "section": {
    "builtin": { "description": "系统内置的 AI 子 Agent 与工作模式。" },
    "user": { "description": "当前用户自定义的 Agent。" },
    "project": { "description": "当前工作区的项目级 Agent。" },
    "customAgents": {
      "title": "自定义 Agent",
      "description": "用户级与项目级 Agent，通过下方标签切换。"
    }
  },
  "form": {
    "titleEdit": "编辑Agent",
    "titleCreate": "添加Agent",
    "fields": {
      "level": "级别",
      "levelUser": "用户级（全局）",
      "levelProject": "项目级（工作区路径）",
      "levelProjectDisabled": " - 需要先打开工作区",
      "selectedProjectPath": "所选项目路径: {{path}}",
      "name": "Agent名称 *",
      "namePlaceholder": "例如: code-writer",
      "description": "描述 *",
      "descriptionPlaceholder": "简短描述Agent的功能",
      "tools": "工具",
      "toolsOptional": "可选",
      "toolsPlaceholder": "例如: FileReadTool, FileWriteTool, BashTool",
      "color": "颜色",
      "colors": {
        "blue": "蓝色",
        "red": "红色",
        "green": "绿色",
        "purple": "紫色",
        "orange": "橙色",
        "yellow": "黄色"
      },
      "systemPrompt": "系统提示词（Markdown格式）*",
      "systemPromptPlaceholder": "输入Agent的系统提示词...",
      "readonly": "只读",
      "readonlyDescription": "只读 Agent 仅使用只读工具，可与其它任务并发执行。",
      "enabled": "启用状态"
    },
    "actions": {
      "cancel": "取消",
      "save": "保存",
      "create": "创建"
    }
  },
  "list": {
    "loading": "加载中...",
    "loadingBuiltin": "加载内置 Sub-Agent...",
    "errorPrefix": "加载失败: ",
    "empty": {
      "noMatch": "没有找到匹配的 Agent",
      "noMatchBuiltin": "没有找到匹配的内置 Sub-Agent"
    },
    "item": {
      "builtin": "内置",
      "subAgent": "Sub-Agent",
      "mode": "模式",
      "toolsCount": "{{count}} 工具",
      "editTooltip": "编辑",
      "deleteTooltip": "删除",
      "toolsLabel": "可用工具:",
      "modelLabel": "模型配置",
      "systemPromptLabel": "系统提示词:",
      "updateTimePrefix": "更新时间: "
    }
  },
  "messages": {
    "noWorkspaceForProject": "请先打开一个工作区才能创建项目级Agent",
    "nameRequired": "请输入Agent名称",
    "nameFormatError": "名称必须以英文字母开头，仅允许英文字母、数字、-、_",
    "descriptionRequired": "请输入Agent描述",
    "toolsRequired": "请至少添加一个工具",
    "contentRequired": "请输入系统提示词",
    "updateSuccess": "Agent\"{{name}}\"更新成功",
    "createSuccess": "Agent\"{{name}}\"创建成功",
    "operationFailed": "{{operation}}Agent失败: {{error}}",
    "deleteSuccess": "Agent\"{{name}}\"已删除",
    "deleteFailed": "删除失败: {{error}}",
    "confirmDeleteSubagent": "确定要删除 Agent「{{name}}」吗？将删除对应文件并从列表中移除。",
    "toggleSuccess": "Agent\"{{name}}\"已{{status}}",
    "toggleFailed": "切换状态失败: {{error}}",
    "subagentToggleSuccess": "Sub Agent \"{{name}}\" 已{{status}}",
    "subagentToggleFailed": "切换状态失败: {{error}}",
    "enabled": "启用",
    "disabled": "禁用",
    "update": "更新",
    "create": "创建",
    "modelUpdated": "\"{{name}}\" 将使用 {{model}}",
    "modelUpdateFailed": "模型设置失败",
    "saveFailed": "保存失败"
  },
  "model": {
    "primary": "主力模型",
    "fast": "快速模型"
  },
  "mode": {
    "tools": {
      "label": "可用工具",
      "selectAll": "全选",
      "clear": "清空",
      "reset": "重置为默认",
      "expand": "展开",
      "collapse": "折叠",
      "enabled": "已启用"
    },
    "messages": {
      "confirmReset": "确定要重置该模式的工具配置吗？",
      "resetSuccess": "工具配置已重置",
      "resetFailed": "重置失败",
      "confirmSelectAll": "确定要启用所有工具吗？",
      "confirmClearAll": "确定要清空所有工具吗？",
      "allToolsEnabled": "已启用所有工具",
      "allToolsDisabled": "已清空所有工具",
      "toolEnabled": "\"{{name}}\" 已启用工具: {{tool}}",
      "toolDisabled": "\"{{name}}\" 已禁用工具: {{tool}}",
      "toolToggleFailed": "工具切换失败",
      "modelUpdated": "\"{{name}}\" 将使用 {{model}}",
      "modelUpdateFailed": "模型设置失败"
    }
  }
}
