{
  "agent": {
    "title": "智能体",
    "create": "创建智能体",
    "createSuccess": "创建成功",
    "createFailed": "创建失败",
    "saveSuccess": "保存成功",
    "saveFailed": "保存失败",
    "publishSuccess": "发布成功",
    "publishFailed": "发布失败",
    "disableSuccess": "已停用",
    "deleteSuccess": "删除成功",
    "deleteFailed": "删除失败",
    "deleteConfirm": "确定要删除智能体「{name}」吗？",
    "deleteTitle": "删除确认",
    "unpublishMenuSuccess": "取消发布菜单成功",
    "operationFailed": "操作失败",
    "fillNameAndCode": "请填写名称和编码",
    "codeFormatError": "编码必须以字母开头，只能包含字母、数字和下划线",
    "searchPlaceholder": "搜索智能体名称",
    "search": "搜索",
    "noDescription": "暂无描述",
    "empty": "暂无智能体",
    "mainApp": "主应用",
    "edit": "编辑",
    "delete": "删除",
    "chat": "对话",
    "publish": "发布",
    "publishToMenu": "发布智能体到菜单",
    "publishDialog": {
      "menuConfig": "菜单配置",
      "menuName": "菜单名称",
      "menuNamePlaceholder": "请输入菜单名称",
      "parentMenu": "上级菜单",
      "parentMenuPlaceholder": "请选择上级菜单",
      "menuIcon": "菜单图标",
      "routeInfo": "路由信息",
      "accessPath": "访问路径"
    },
    "unpublishMenu": "取消发布菜单",
    "disable": "停用",
    "back": "返回",
    "save": "保存",
    "cancel": "取消",
    "loading": "加载中...",
    "status": {
      "draft": "草稿",
      "published": "已发布",
      "disabled": "已停用"
    },
    "mode": {
      "autonomous": "自主规划",
      "dialogFlow": "对话流",
      "autonomousLabel": "自主规划模式",
      "dialogFlowLabel": "对话流模式",
      "autonomousDesc": "Agent 自动拆解任务并执行",
      "dialogFlowDesc": "按预定义流程与用户交互"
    },
    "form": {
      "name": "名称",
      "namePlaceholder": "请输入智能体名称",
      "code": "编码",
      "codePlaceholder": "请输入唯一编码",
      "appCode": "智能体编码",
      "mode": "模式",
      "description": "描述",
      "descriptionPlaceholder": "请输入描述",
      "globalVisible": "共享可用"
    },
    "importExport": {
      "export": "导出",
      "import": "导入配置",
      "exportSuccess": "智能体配置已导出",
      "exportFailed": "导出失败",
      "importTitle": "导入智能体配置",
      "dragOrClick": "拖拽 JSON 文件到此处或点击上传",
      "onlyJson": "仅支持 .json 格式文件",
      "fileParseError": "文件解析失败，请确认文件格式正确",
      "checking": "正在检查...",
      "codeConflictTip": "智能体编码已存在，请修改编码后再导入",
      "codeAvailable": "智能体编码可用，可以导入",
      "newCodePlaceholder": "请输入新的智能体编码",
      "importSuccess": "智能体配置导入成功",
      "importFailed": "导入失败",
      "confirmImport": "确认导入",
      "reselect": "重新选择",
      "agentInfo": "智能体信息",
      "modelName": "模型",
      "workflowCode": "关联工作流",
      "appTip": "导入的智能体状态为草稿，可在编辑器中确认模型、工具和知识库配置",
      "refTip": "模型、工作流、知识库按编码/名称匹配；目标环境缺失时导入后需在编辑器中重新配置"
    },
    "basicInfo": "基本信息",
    "runMode": "运行模式",
    "runModeTooltip": "自主规划模式：Agent 自动理解用户意图并回答，适合通用问答；对话流模式：按预定义的工作流步骤与用户交互，适合固定流程场景",
    "relatedWorkflow": "关联工作流",
    "relatedWorkflowTooltip": "选择一个已发布的工作流，对话流模式下智能体将按照工作流定义的步骤与用户交互",
    "selectWorkflow": "请选择工作流",
    "dialogFlowHint": "对话流模式需要关联一个工作流，工作流中可以使用问答节点、选项节点等交互式节点",
    "conversationMemory": "对话记忆",
    "conversationMemoryTooltip": "启用后，工作流中的 LLM 节点可以访问历史对话内容，让回答更连贯",
    "enabled": "已启用",
    "notEnabled": "未启用",
    "memoryWindow": "记忆窗口",
    "memoryWindowTooltip": "LLM 节点可以访问最近 N 轮对话历史，数值越大记忆越长但消耗 Token 越多",
    "rounds": "轮对话",
    "agentDescription": "智能体描述...",
    "persona": {
      "title": "人设配置",
      "role": "角色定位",
      "roleTooltip": "定义智能体的核心身份和职责，例如'你是一个专业的数据分析师'，这将影响 AI 的回答风格和专业度",
      "rolePlaceholder": "例如：你是一个专业的数据分析师，擅长处理复杂的数据问题...",
      "personality": "性格特点",
      "personalityTooltip": "设定智能体的性格特征，如'严谨''友善''幽默'等，影响回答的语气和风格",
      "personalityPlaceholder": "输入性格特点，按回车添加",
      "skills": "技能",
      "skillsTooltip": "列出智能体擅长的能力领域，如'数据分析''代码审查'等，帮助 AI 更好地理解自己的能力边界",
      "skillsPlaceholder": "输入技能，按回车添加",
      "constraints": "约束条件",
      "constraintsTooltip": "设定智能体必须遵守的规则，如'不讨论政治话题''回答必须基于事实'等，防止 AI 越界",
      "constraintsPlaceholder": "输入约束条件，按回车添加",
      "background": "背景介绍",
      "backgroundTooltip": "提供智能体的详细背景信息，如所属公司、业务领域、服务对象等，帮助 AI 更好地理解业务上下文",
      "backgroundPlaceholder": "详细的背景介绍...",
      "add": "添加"
    },
    "prompt": {
      "title": "系统提示词",
      "tooltip": "直接给 AI 的指令文本，优先级高于人设配置。留空则自动根据人设生成",
      "placeholder": "直接编写系统提示词，或留空使用人设自动生成..."
    },
    "model": {
      "title": "模型配置",
      "label": "模型",
      "tooltip": "选择智能体使用的大语言模型，不同模型在能力、速度和成本上有差异",
      "placeholder": "请选择模型",
      "temperature": "温度 (Temperature)",
      "temperatureTooltip": "控制回答的随机性，值越低回答越稳定确定，值越高越有创造性但可能不准确。推荐：严谨场景 0.1~0.3，通用对话 0.5~0.7，创意写作 0.8~1.2",
      "maxToken": "最大 Token",
      "maxTokenTooltip": "单次回答的最大输出长度（Token 数），约 1 Token ≈ 1.5 个中文字。值越大回答可以越长但成本越高",
      "maxIterations": "最大推理轮数",
      "maxIterationsTooltip": "Agent 在一次对话中最多进行的思考-行动循环次数，防止无限循环，一般 5~10 轮即可",
      "streaming": "流式输出",
      "streamingTooltip": "启用后 AI 回复将逐字输出，用户无需等待完整回答生成，体验更流畅"
    },
    "knowledgeBase": {
      "title": "知识库",
      "label": "关联知识库",
      "placeholder": "选择要关联的知识库",
      "hint": "选择知识库后，用户每次提问时会自动检索相关内容作为上下文，提升回答准确性",
      "documents": "文档",
      "retrievalMode": "检索模式",
      "retrievalModeTooltip": "混合检索：同时使用语义向量和关键词匹配，综合排序，适合大多数场景；向量语义检索：基于语义相似度匹配，擅长理解同义词和语义关联；全文关键词检索：基于关键词精确匹配，适合专业术语或编号查询",
      "hybridRecommended": "混合检索（推荐）",
      "vectorSearch": "向量语义检索",
      "fulltextSearch": "全文关键词检索",
      "topK": "返回数量 (Top K)",
      "topKTooltip": "每次检索返回的最相关文档分段数量，数值越大上下文越丰富但可能引入噪音，建议 3~5",
      "scoreThreshold": "相似度阈值",
      "scoreThresholdTooltip": "只返回相似度高于此阈值的结果，值越高匹配越精确但可能遗漏相关内容，建议 0.5~0.7"
    },
    "welcome": {
      "title": "开场白",
      "tooltip": "用户首次进入对话时自动显示的欢迎语，可用于介绍智能体能力或引导用户提问",
      "placeholder": "智能体开始对话时的欢迎语..."
    },
    "suggestions": {
      "title": "推荐问题",
      "hint": "推荐问题会在对话开始时显示，帮助用户快速开始对话",
      "placeholder": "输入推荐问题",
      "inputPlaceholder": "输入推荐问题，按回车添加",
      "add": "添加",
      "empty": "暂无推荐问题，添加一些问题帮助用户快速开始对话"
    },
    "debug": {
      "inputPlaceholder": "输入消息进行调试...",
      "publishFirst": "请先发布智能体"
    },
    "chatPanel": {
      "inputPlaceholder": "输入消息...",
      "sendToStart": "发送消息开始对话",
      "publishFirst": "请先发布智能体后再进行对话",
      "executionFailed": "执行失败",
      "waitingInput": "等待输入...",
      "selectPrompt": "请选择：",
      "confirm": "确认",
      "confirmContinue": "请确认是否继续？",
      "inputPrompt": "请输入：",
      "feedbackThanks": "感谢您的反馈",
      "confirmDesign": "确认设计",
      "confirmAppDesign": "确认应用设计",
      "appDesignTitle": "应用设计方案",
      "designPreview": "设计预览",
      "designPanelHint": "请在右侧面板中确认或编辑设计",
      "aiDeveloping": "AI 正在开发...",
      "analyzingAndGenerating": "正在分析需求并生成代码",
      "cancelText": "取消"
    },
    "codeRequired": "缺少智能体编码",
    "loadFailed": "加载智能体失败",
    "notFound": "智能体不存在",
    "knowledge": {
      "annotationReply": "标注直接回复",
      "annotationReplyTip": "启用后，当用户问题与标注的相似度超过阈值时，直接返回标注答案，跳过 LLM 调用，零 token 消耗，响应更快。未命中时仍走正常 RAG 流程。",
      "annotationThreshold": "标注匹配阈值",
      "annotationThresholdTip": "相似度超过此阈值时直接返回标注答案。建议设置 0.9 以上，避免误匹配。"
    }
  },
  "modelConfig": {
    "title": "模型配置",
    "providerManagement": "提供商管理",
    "modelManagement": "模型管理",
    "addProvider": "添加提供商",
    "editProvider": "编辑提供商",
    "addModel": "添加模型",
    "editModel": "编辑模型",
    "addDefaultModels": "添加默认模型",
    "providerName": "名称",
    "providerType": "类型",
    "providerDescription": "描述",
    "descriptionPlaceholder": "请输入配置描述",
    "apiKey": "API Key",
    "apiBase": "API 地址",
    "ollamaHost": "Ollama 地址",
    "modelName": "模型名称",
    "displayName": "显示名称",
    "modelType": "模型类型",
    "maxTokens": "最大 Token",
    "supportsVision": "支持视觉",
    "supportsFunction": "支持函数",
    "enabled": "启用",
    "status": "状态",
    "operation": "操作",
    "test": "测试",
    "selectProvider": "选择提供商",
    "chatModel": "对话模型",
    "embeddingModel": "向量模型",
    "completionModel": "补全模型",
    "rerankModel": "重排序模型",
    "chat": "对话",
    "embedding": "向量",
    "rerank": "重排序",
    "addSelected": "添加选中",
    "noDefaultModels": "暂无默认模型",
    "addedModels": "已添加模型",
    "availableModels": "可选模型",
    "addAll": "全部添加",
    "added": "已添加",
    "refreshModels": "刷新模型",
    "sourceApi": "在线拉取",
    "sourceDefault": "默认列表",
    "fetchFromApiSuccess": "已从提供商 API 拉取最新模型列表",
    "fetchFromApiFallback": "在线拉取失败，已使用默认模型列表",
    "searchModel": "搜索模型"
  },
  "conversation": {
    "history": "历史记录",
    "new": "新对话",
    "empty": "暂无对话记录",
    "untitled": "未命名对话",
    "messages": "条消息",
    "loadFailed": "加载对话列表失败",
    "deleteConfirm": "确定要删除这个对话吗？",
    "deleteSuccess": "删除成功",
    "deleteFailed": "删除失败"
  },
  "knowledge": {
    "title": "知识库",
    "create": "创建知识库",
    "edit": "编辑知识库",
    "delete": "删除知识库",
    "deleteConfirm": "确定要删除该知识库吗？删除后所有文档和分段数据将不可恢复。",
    "deleteSuccess": "删除成功",
    "createSuccess": "创建成功",
    "saveSuccess": "保存成功",
    "name": "名称",
    "namePlaceholder": "请输入知识库名称",
    "code": "编码",
    "codePlaceholder": "请输入唯一编码（英文）",
    "description": "描述",
    "descriptionPlaceholder": "请输入描述",
    "embeddingModel": "Embedding 模型",
    "embeddingModelPlaceholder": "请选择 Embedding 模型",
    "dimensions": "向量维度",
    "chunkStrategy": "分块策略",
    "chunkSize": "分块大小",
    "chunkOverlap": "分块重叠",
    "retrievalMode": "检索模式",
    "topK": "返回数量",
    "scoreThreshold": "相似度阈值",
    "rerank": "重排序",
    "status": "状态",
    "active": "启用",
    "disabled": "停用",
    "globalVisible": "共享可用",
    "documents": "文档",
    "segments": "分段",
    "tokens": "Tokens",
    "noDescription": "暂无描述",
    "mainApp": "主应用",
    "search": "搜索",
    "searchPlaceholder": "搜索知识库名称",
    "document": {
      "title": "文档管理",
      "add": "添加文档",
      "batchAdd": "批量添加",
      "delete": "删除文档",
      "deleteConfirm": "确定要删除该文档吗？",
      "deleteSuccess": "删除成功",
      "reindex": "重新索引",
      "reindexSuccess": "已开始重新索引",
      "reindexAll": "全部重新索引",
      "reindexAllConfirm": "确定要重新索引所有文档吗？这可能需要较长时间。",
      "reindexAllSuccess": "已开始重新索引所有文档",
      "duplicateWarning": "内容重复提示",
      "enable": "启用",
      "disable": "禁用",
      "pending": "待处理",
      "indexing": "索引中",
      "completed": "已完成",
      "failed": "失败",
      "searchPlaceholder": "搜索文档名称",
      "selectFile": "选择文件",
      "addSuccess": "文档添加成功，正在后台索引",
      "uploadPlaceholder": "点击上传或拖拽文件，支持 PDF、Word、TXT、Markdown 等格式"
    },
    "segment": {
      "title": "分段管理",
      "add": "添加分段",
      "edit": "编辑分段",
      "delete": "删除分段",
      "deleteConfirm": "确定要删除该分段吗？",
      "deleteSuccess": "删除成功",
      "content": "内容",
      "contentPlaceholder": "请输入分段内容",
      "keywords": "关键词",
      "enabled": "已启用",
      "disabled": "已禁用",
      "searchPlaceholder": "搜索分段内容",
      "embeddingCompleted": "向量化成功",
      "embeddingFailed": "向量化失败"
    },
    "annotation": {
      "title": "标注管理",
      "add": "添加标注",
      "edit": "编辑标注",
      "delete": "删除标注",
      "deleteConfirm": "确定要删除该标注吗？",
      "deleteSuccess": "删除成功",
      "createSuccess": "创建成功",
      "saveSuccess": "保存成功",
      "question": "问题",
      "questionPlaceholder": "请输入问题",
      "answer": "答案",
      "answerPlaceholder": "请输入答案",
      "searchPlaceholder": "搜索标注内容",
      "hitCount": "命中次数",
      "enabled": "已启用",
      "disabled": "已禁用",
      "reindex": "重新向量化",
      "reindexSuccess": "已提交向量化任务",
      "vectorizing": "向量化中"
    },
    "hitStats": {
      "title": "命中统计",
      "totalHits": "总命中次数",
      "totalSegments": "总分段数",
      "zeroHitCount": "未命中分段",
      "hitCount": "命中次数",
      "hitPercentage": "命中占比",
      "includeZero": "包含未命中",
      "topN": "显示数量",
      "noData": "暂无命中数据"
    },
    "retrievalLog": {
      "title": "检索日志",
      "query": "查询内容",
      "resultCount": "结果数",
      "elapsed": "耗时",
      "mode": "检索模式",
      "rerank": "重排序",
      "source": "来源",
      "time": "时间",
      "searchPlaceholder": "搜索查询内容",
      "noData": "暂无检索日志",
      "sourceAgent": "智能体",
      "sourceAnnotation": "标注回复",
      "sourceApi": "召回测试"
    },
    "retrieval": {
      "title": "召回测试",
      "query": "查询",
      "queryPlaceholder": "请输入查询文本",
      "test": "测试",
      "results": "检索结果",
      "noResults": "未找到相关结果",
      "score": "相似度",
      "source": "来源",
      "elapsed": "耗时",
      "metadataFilterPlaceholder": "元数据过滤（JSON格式，如 {\"author\": \"xxx\"})",
      "invalidMetadataFilter": "元数据过滤格式错误，请输入有效的 JSON",
      "matchSource": {
        "vector": "向量命中",
        "fulltext": "全文命中",
        "annotation": "标注命中"
      },
      "showParent": "展开父分段",
      "hideParent": "收起父分段"
    },
    "chunkPreview": {
      "title": "分块预览",
      "totalChunks": "分块数量",
      "selectFile": "请选择文件进行分块预览",
      "loading": "正在加载分块预览...",
      "noFileId": "该文档没有关联文件",
      "error": "分块预览失败"
    },
    "metadata": {
      "editTitle": "编辑元数据",
      "key": "键",
      "value": "值",
      "add": "添加元数据",
      "addPair": "添加一行",
      "addFilter": "添加元数据过滤",
      "filter": "过滤",
      "filterKeyPlaceholder": "元数据键",
      "filterValuePlaceholder": "元数据值"
    },
    "settings": {
      "title": "知识库设置",
      "basic": "基本信息",
      "indexing": "索引配置",
      "retrieval": "检索配置",
      "advanced": "高级配置",
      "embeddingModelChangeTitle": "Embedding 模型变更",
      "embeddingModelChangeWarning": "更换 Embedding 模型后，已有的向量数据将与新模型不兼容，需要重新索引所有文档。是否保存并重新索引？",
      "saveAndReindex": "保存并重新索引"
    },
    "indexingTechnique": "索引模式",
    "indexingTechniques": {
      "high_quality": "高质量",
      "economy": "经济"
    },
    "indexingTechniqueHint": {
      "high_quality": "向量化索引 + 关键词提取，检索效果最佳",
      "economy": "仅关键词索引，不消耗 Embedding 额度"
    },
    "retrievalWeight": "检索权重",
    "retrievalWeightHint": "多知识库检索时的加权系数（0.1-10.0），值越大该知识库结果排名越靠前",
    "processRules": "预处理规则",
    "processRulesHint": "文档索引前的文本清洗规则",
    "removeExtraSpaces": "去除多余空格",
    "removeUrlsEmails": "去除 URL 和邮箱",
    "chunkStrategies": {
      "recursive": "递归分块",
      "markdown": "Markdown 分块",
      "fixed": "固定大小分块",
      "sentence": "按句子分块",
      "auto": "自动（推荐）",
      "qa": "Q&A 问答分块"
    },
    "retrievalModes": {
      "vector": "向量检索",
      "fulltext": "全文检索",
      "hybrid": "混合检索"
    },
    "embeddingModelTooltip": "用于将文本转换为向量的模型，直接影响语义检索的质量。不同模型支持的语言和维度不同",
    "embeddingModelSettingsTooltip": "用于将文本转换为向量的模型，直接影响语义检索的质量。更换模型后需重新索引文档",
    "chunkStrategyTooltip": "文档分块策略。auto: 自动选择最佳策略；recursive: 递归分割，通用性强；markdown: 按标题分割；fixed: 固定长度；sentence: 按句子；qa: AI 自动拆分为问答对",
    "chunkStrategySettingsTooltip": "文档分块策略。auto: 自动选择；recursive: 递归分割；markdown: 按标题分割；fixed: 固定长度；sentence: 按句子；qa: AI 拆分为问答对",
    "indexingTechniqueTooltip": "高质量模式：使用 Embedding 向量化，检索精度高但消耗资源；经济模式：仅使用关键词索引，资源消耗低但检索精度有限",
    "retrievalModeTooltip": "混合检索：同时使用语义向量和关键词匹配，推荐大多数场景；向量检索：基于语义相似度；全文检索：基于关键词精确匹配",
    "chunkSizeTooltip": "每个文档分块的最大字符数。较大的分块保留更多上下文但可能引入噪音，较小的分块更精确但可能丢失上下文，建议 300~800",
    "chunkSizeSettingsTooltip": "每个分块的最大字符数，较大保留更多上下文但可能引入噪音，建议 300~800",
    "chunkOverlapTooltip": "相邻分块之间的重叠字符数，确保分块边界处的信息不会丢失。建议设为分块大小的 10%~20%",
    "chunkOverlapSettingsTooltip": "相邻分块的重叠字符数，确保边界处信息不丢失。建议为分块大小的 10%~20%",
    "globalVisibleTooltip": "启用后所有应用都可以使用此知识库，否则仅当前应用可用",
    "dimensionsTooltip": "Embedding 向量的维度数，需与所选 Embedding 模型支持的维度一致。维度越高语义表达越丰富但存储和计算成本越高",
    "topKTooltip": "每次检索返回的最相关分段数量，数值越大上下文越丰富但可能引入噪音，建议 3~5",
    "scoreThresholdTooltip": "只返回相似度高于此阈值的结果，值越高匹配越精确但可能遗漏相关内容，建议 0.5~0.7",
    "rerankTooltip": "启用后会对初步检索结果进行二次排序，显著提升检索精度，但会增加延迟和成本",
    "retrievalWeightTooltip": "多知识库检索时本知识库结果的权重系数，值越大本知识库结果排名越靠前",
    "processRulesTooltip": "文档入库前的清洗规则，可去除多余空格、URL、邮箱等无关内容，提升检索质量"
  },
  "knowledgeNode": {
    "selectKb": "请选择知识库",
    "queryText": "查询文本",
    "queryPlaceholder": "输入查询文本或使用变量引用",
    "queryHint": "留空则使用用户输入，支持 {'{{variable}}'} 变量引用",
    "retrievalMode": "检索模式",
    "useKbDefault": "使用知识库默认配置",
    "vector": "向量检索",
    "fulltext": "全文检索",
    "hybrid": "混合检索",
    "outputVar": "结果变量名",
    "contextVar": "上下文变量名",
    "rerankEnabled": "启用重排序",
    "rerankHint": "检索后使用 Rerank 模型重新排序，提升结果相关性",
    "rerankModel": "Rerank 模型",
    "noRerankModel": "未配置 Rerank 模型，请先在模型管理中添加",
    "outputVariables": "输出变量",
    "resultsArrayDesc": "检索结果数组，包含 segment_id、content、score 等字段",
    "contextTextDesc": "拼接后的上下文文本，可直接用于 LLM 节点的 prompt",
    "totalCountDesc": "检索结果总数"
  },
  "workflow": {
    "title": "工作流",
    "create": "创建工作流",
    "createSuccess": "创建成功",
    "saveSuccess": "保存成功",
    "published": "已发布",
    "unpublished": "未发布",
    "editing": "编辑中",
    "publishSuccess": "发布成功",
    "publishFailed": "发布失败",
    "copySuccess": "复制成功",
    "deleteSuccess": "删除成功",
    "deleteConfirm": "确定要删除工作流「{name}」吗？",
    "deleteTitle": "删除确认",
    "operationFailed": "操作失败",
    "searchPlaceholder": "搜索工作流名称",
    "search": "搜索",
    "noDescription": "暂无描述",
    "empty": "暂无工作流",
    "mainApp": "主应用",
    "edit": "编辑",
    "editInfo": "编辑信息",
    "design": "设计",
    "publish": "发布",
    "run": "运行",
    "copy": "复制",
    "delete": "删除",
    "disable": "停用",
    "form": {
      "name": "名称",
      "namePlaceholder": "请输入工作流名称",
      "nameRequired": "请输入名称",
      "code": "编码",
      "codePlaceholder": "请输入唯一编码",
      "codeRequired": "请输入编码",
      "codeFormat": "编码必须以字母开头，只能包含字母、数字和下划线",
      "type": "类型",
      "description": "描述",
      "descriptionPlaceholder": "请输入描述",
      "globalVisible": "共享可用"
    },
    "status": {
      "draft": "草稿",
      "published": "已发布",
      "disabled": "已停用"
    },
    "type": {
      "general": "通用",
      "application": "应用",
      "form": "表单",
      "report": "报表",
      "dataProcess": "数据处理",
      "automation": "自动化"
    },
    "deleteConfirmSimple": "确定要删除该工作流吗？此操作无法撤销。",
    "copyConfirm": "确定要复制工作流「{name}」吗？",
    "copyTitle": "复制确认",
    "deleteButton": "删除",
    "cancelButton": "取消",
    "copyButton": "复制",
    "editWorkflow": "编辑工作流",
    "importExport": {
      "export": "导出",
      "import": "导入配置",
      "exportSuccess": "工作流配置已导出",
      "exportFailed": "导出失败",
      "importTitle": "导入工作流配置",
      "dragOrClick": "拖拽 JSON 文件到此处或点击上传",
      "onlyJson": "仅支持 .json 格式文件",
      "fileParseError": "文件解析失败，请确认文件格式正确",
      "checking": "正在检查...",
      "codeConflictTip": "工作流编码已存在，请修改编码后再导入",
      "codeAvailable": "工作流编码可用，可以导入",
      "newCodePlaceholder": "请输入新的工作流编码",
      "importSuccess": "工作流配置导入成功",
      "importFailed": "导入失败",
      "confirmImport": "确认导入",
      "reselect": "重新选择",
      "workflowInfo": "工作流信息",
      "appTip": "导入的工作流状态为草稿，可在编辑器中确认节点配置后发布",
      "subflowTip": "子流程节点按编码匹配；若目标环境无对应子流程，导入后需在编辑器中重新选择"
    },
    "nodeLabel": "节点名称",
    "nodes": {
      "knowledge_retrieval": "知识库检索",
      "common": {
        "configured": "已配置",
        "notConfigured": "未配置",
        "yes": "是",
        "no": "否",
        "output": "输出:",
        "outputVariable": "输出变量:",
        "inputVariablesCount": "已配置 {count} 个输入变量",
        "noInputVariables": "暂无输入变量",
        "outputVariablesCount": "已配置 {count} 个输出变量",
        "noOutputVariables": "暂无输出变量",
        "addNextNode": "添加下一个节点",
        "question": "问题:",
        "configureQuestion": "请配置问题内容",
        "conditions": "条件: {count} 个",
        "selectModel": "请选择模型"
      },
      "start": {
        "label": "开始",
        "desc": "流程的起始节点"
      },
      "end": {
        "label": "结束",
        "desc": "流程结束并输出结果"
      },
      "llm": {
        "label": "LLM 大模型",
        "desc": "调用大语言模型进行处理",
        "systemPrompt": "系统指令:",
        "userPrompt": "用户提示词:"
      },
      "code": {
        "label": "代码执行",
        "desc": "执行 Python/JavaScript 代码",
        "language": "语言:",
        "input": "输入:"
      },
      "condition": {
        "label": "逻辑分支",
        "desc": "根据条件执行不同分支",
        "unnamed": "未命名"
      },
      "http": {
        "label": "HTTP 请求",
        "desc": "调用外部 API 接口"
      },
      "template": {
        "label": "模板渲染",
        "desc": "使用 Jinja2 语法组合文本"
      },
      "variable": {
        "label": "变量赋值",
        "desc": "设置或转换变量值"
      },
      "question": {
        "label": "问答节点",
        "desc": "向用户提问并等待回答",
        "inputType": "输入类型:"
      },
      "choice": {
        "label": "选项节点",
        "desc": "让用户从选项中选择",
        "options": "选项:",
        "noOptions": "未配置选项",
        "multiple": "多选",
        "single": "单选"
      },
      "message": {
        "label": "消息节点",
        "desc": "向用户发送消息",
        "content": "消息内容:",
        "configureContent": "请配置消息内容",
        "messageType": "消息类型:"
      },
      "confirm": {
        "label": "确认节点",
        "desc": "等待用户确认或取消",
        "confirmText": "确认",
        "cancelText": "取消",
        "configureContent": "请配置确认内容"
      },
      "intent": {
        "label": "意图识别",
        "desc": "AI 智能识别用户意图",
        "noMatch": "未匹配时",
        "confidenceThreshold": "置信度阈值:"
      },
      "parallel": {
        "label": "并行分支",
        "desc": "同时执行多个分支",
        "branch": "分支 {index}"
      },
      "merge": {
        "label": "合并",
        "desc": "等待所有分支完成后合并",
        "mergeMode": "合并模式",
        "array": "数组",
        "concat": "拼接",
        "first": "取第一个",
        "object": "对象"
      },
      "loop": {
        "label": "循环",
        "forEach": "遍历数组",
        "whileLoop": "条件循环",
        "nodeCount": "{count} 个节点",
        "iteration": "第 {current}/{total} 次",
        "iterationNoTotal": "第 {current} 次",
        "maxIterations": "最大 {max} 次",
        "loopCondition": "循环条件",
        "availableVariables": "可用变量:",
        "dragNodeHere": "拖拽节点到此处作为循环体"
      },
      "subflow": {
        "label": "子流程",
        "desc": "调用子工作流",
        "subflowLabel": "子流程:",
        "notSelected": "未选择子流程",
        "varPassMode": "变量传递:",
        "all": "全部",
        "selected": "选择",
        "none": "无",
        "progress": "执行进度:",
        "current": "当前: {label}",
        "subflowNodes": "子流程节点",
        "loading": "加载中...",
        "emptySubflow": "子流程为空",
        "selectSubflow": "请先选择子流程"
      },
      "knowledge_retrieval_node": {
        "label": "知识库检索",
        "desc": "从知识库检索相关文档",
        "kbCount": "{count} 个知识库",
        "topKThreshold": "Top {topK} · 阈值 {threshold}",
        "vector": "向量检索",
        "fulltext": "全文检索",
        "hybrid": "混合检索"
      }
    },
    "editor": {
      "categories": {
        "basic": "基础节点",
        "dialog": "对话交互",
        "flowControl": "流程控制",
        "knowledge": "知识库"
      },
      "nodeLabels": {
        "start": "开始",
        "end": "结束",
        "llm": "LLM 大模型",
        "http": "HTTP 请求",
        "code": "代码执行",
        "condition": "逻辑分支",
        "template": "模板渲染",
        "parallel": "并行分支",
        "merge": "合并",
        "loop": "循环",
        "intent": "意图识别",
        "subflow": "子流程",
        "message": "发送消息",
        "question": "问答输入",
        "choice": "选项选择",
        "confirm": "确认操作",
        "knowledge_retrieval": "知识库检索"
      },
      "rename": "重命名",
      "renamePrompt": "请输入新的节点名称",
      "confirmBtn": "确定",
      "cancelBtn": "取消",
      "addedToLoop": "已添加到循环体",
      "autoInserted": "已自动插入节点",
      "saveFailed": "保存失败",
      "publishFailed": "发布失败",
      "publishPrompt": "请输入版本说明（可选）",
      "publishTitle": "发布工作流",
      "publishBtn": "发布",
      "publishPlaceholder": "例如：修复了XX问题，新增了XX功能",
      "publishVersionSuccess": "发布成功！已发布版本: v{version}",
      "workflowHasIssues": "工作流存在问题:",
      "workflowIncomplete": "工作流配置不完整，请先修复问题",
      "validation": {
        "missingStart": "缺少开始节点",
        "multipleStart": "只能有一个开始节点",
        "missingEnd": "缺少结束节点",
        "startNoConnection": "开始节点没有连接到其他节点",
        "endNoConnection": "结束节点没有被连接",
        "llmNoModel": "LLM 节点未配置模型",
        "httpNoUrl": "HTTP 节点未配置 URL",
        "parallelMinBranches": "并行节点至少需要连接 2 个分支",
        "mergeMinInputs": "合并节点至少需要 2 个输入"
      },
      "toolbar": {
        "save": "保存",
        "publish": "发布",
        "run": "运行",
        "chat": "对话测试",
        "versions": "版本历史",
        "back": "返回",
        "undo": "撤销",
        "redo": "重做",
        "zoomIn": "放大",
        "zoomOut": "缩小",
        "fitView": "适应视图",
        "minimap": "小地图",
        "addNode": "添加节点",
        "searchNode": "搜索节点...",
        "saved": "已保存",
        "saving": "保存中...",
        "unsaved": "未保存"
      },
      "contextMenu": {
        "rename": "重命名",
        "duplicate": "复制",
        "delete": "删除"
      },
      "panel": {
        "propertyConfig": "属性配置",
        "noConfig": "暂无配置项"
      },
      "confirmMode": {
        "always": "始终确认",
        "never": "从不确认",
        "variable": "变量控制",
        "placeholder": "选择或输入变量，如 {'{{need_confirm}}'}",
        "hint": "变量值为 true/1/yes 时需要确认，false/0/no 时不需要确认"
      },
      "smartInput": {
        "insertVariable": "插入变量"
      },
      "schemaConfigDialog": {
        "title": "结构化输出配置",
        "visual": "可视化",
        "addField": "添加字段",
        "emptyHint": "点击「添加字段」开始定义数据结构，或切换到 JSON 模式直接粘贴",
        "fieldName": "字段名",
        "description": "描述",
        "required": "必填",
        "advancedConfig": "高级配置",
        "advancedConfigEnumDefault": "高级配置 (enum, default)",
        "advancedConfigMinMaxDefault": "高级配置 (min, max, default)",
        "enumValues": "枚举值 (enum)",
        "enumValuesShort": "枚举值:",
        "addOption": "添加选项",
        "add": "添加",
        "enumHint": "可选，限制字段只能为指定的值之一",
        "optionValue": "选项值",
        "defaultValue": "默认值:",
        "defaultShort": "默认:",
        "optional": "可选",
        "minValue": "最小值:",
        "maxValue": "最大值:",
        "minShort": "最小:",
        "maxShort": "最大:",
        "noLimit": "无限制",
        "childProperties": "子属性",
        "noChildProperties": "暂无子属性",
        "nestedProperties": "嵌套属性",
        "arrayItemType": "数组元素类型:",
        "objectPropertyDef": "对象属性定义",
        "addProperty": "添加属性",
        "jsonPreview": "JSON Schema 预览",
        "cancel": "取消",
        "confirm": "确定",
        "jsonFormatError": "JSON 格式不正确，需要包含 properties 字段",
        "jsonParseError": "JSON 解析错误: {message}",
        "typeString": "字符串 (string)",
        "typeNumber": "数字 (number)",
        "typeInteger": "整数 (integer)",
        "typeBoolean": "布尔 (boolean)",
        "typeArray": "数组 (array)",
        "typeObject": "对象 (object)"
      },
      "runPanel": {
        "runPreview": "运行预览",
        "inputVariables": "输入变量",
        "noVariablesHint": "暂无输入变量，请在\"开始\"节点配置",
        "inputPlaceholder": "请输入 {type}",
        "startRun": "开始运行",
        "stopRun": "停止运行",
        "clearStatus": "清除状态",
        "execStatus": "执行状态",
        "running": "运行中",
        "nodes": "节点",
        "llmOutput": "LLM 输出",
        "parallelBranches": "并行分支 ({count} 个)",
        "branchResults": "分支结果:",
        "parallelExec": "并行执行",
        "input": "输入",
        "output": "输出",
        "runResult": "运行结果",
        "success": "成功",
        "failed": "失败",
        "execFailed": "执行失败",
        "workflowExecFailed": "工作流执行失败",
        "userStopped": "用户停止"
      },
      "chatPanel": {
        "runPreview": "运行预览",
        "configVariables": "配置输入变量",
        "assistantName": "工作流",
        "placeholder": "输入消息运行工作流...",
        "emptyText": "输入消息开始运行工作流",
        "execFailed": "执行失败",
        "workflowExecFailed": "工作流执行失败",
        "workflowComplete": "工作流执行完成",
        "resumeFailed": "恢复执行失败",
        "resumeWorkflowFailed": "恢复工作流执行失败",
        "waitingInput": "等待输入...",
        "pleaseSelect": "请选择：",
        "confirm": "确认",
        "pleaseConfirm": "请确认是否继续？",
        "pleaseInput": "请输入：",
        "cancel": "取消",
        "userStopped": "用户停止",
        "startRun": "开始运行",
        "inputVariable": "请输入 {variable}"
      },
      "nodeResultCard": {
        "failed": "失败",
        "pending": "等待中",
        "running": "运行中",
        "success": "完成",
        "unknown": "未知",
        "noOutput": "(无输出)",
        "execFailed": "执行失败",
        "elapsed": "耗时:",
        "iteration": "迭代:",
        "fullscreen": "全屏查看",
        "input": "输入",
        "output": "输出",
        "errorInfo": "错误信息"
      },
      "variableSelector": {
        "searchPlaceholder": "搜索变量...",
        "noVariables": "无可引用变量",
        "system": "系统",
        "field": "字段",
        "structured": "结构化",
        "userChoice": "用户选择",
        "choiceText": "选择文本",
        "execResult": "执行结果 (result)",
        "confirmed": "是否确认 (true/false)",
        "responseBody": "响应体",
        "statusCode": "状态码",
        "jsonString": "JSON 字符串",
        "structuredData": "结构化数据对象",
        "tokenUsage": "Token 使用量",
        "llmResponse": "LLM 响应文本",
        "currentLoopItem": "当前循环项",
        "currentIndex": "当前索引",
        "loopResults": "循环结果数组",
        "mergeResult": "合并结果",
        "branchCount": "分支数量",
        "userAnswer": "用户回答",
        "isValid": "是否有效",
        "userInput": "用户输入",
        "sessionId": "会话 ID",
        "agentId": "智能体 ID",
        "renderResult": "渲染结果",
        "subflowFullResult": "子流程完整结果",
        "execSuccess": "执行是否成功",
        "subflowOutputVars": "子流程输出变量",
        "allSubflowVars": "(所有子流程输出变量)",
        "fromSubflow": "来自子流程",
        "output": "输出",
        "knowledgeResults": "检索结果数组",
        "knowledgeContext": "拼接后的上下文文本",
        "knowledgeResultsTotal": "检索结果总数"
      },
      "versionHistory": {
        "title": "版本历史",
        "loadFailed": "加载版本历史失败",
        "rollbackConfirm": "确定要回滚到 v{version} 吗？当前草稿将被覆盖。",
        "rollbackTitle": "回滚确认",
        "rollbackBtn": "确定回滚",
        "rollbackSuccess": "已回滚到 v{version}",
        "rollbackFailed": "回滚失败",
        "rollback": "回滚",
        "noDescription": "无版本说明",
        "runCount": "运行 {count} 次",
        "successCount": "成功 {count} 次",
        "empty": "暂无版本历史"
      }
    },
    "panels": {
      "common": {
        "nodeName": "节点名称",
        "add": "添加",
        "delete": "删除",
        "noCustomVarsClickAdd": "暂无自定义变量，点击上方添加",
        "inputVars": "输入变量",
        "outputVars": "输出变量",
        "outputVarName": "输出变量名",
        "variableName": "变量名",
        "defaultValue": "默认值",
        "customVars": "自定义变量",
        "sysVar": "系统变量（不可删除）",
        "selectModel": "选择模型",
        "model": "模型",
        "usage": "使用说明",
        "usageTips": "使用提示",
        "varRef": "支持变量引用，如：",
        "value": "值",
        "variable": "变量",
        "addCondition": "添加条件",
        "advancedSettings": "高级设置"
      },
      "template": {
        "label": "模板",
        "placeholder": "模板",
        "templateContent": "模板内容"
      },
      "end": {
        "outputContent": "输出内容",
        "outputPlaceholder": "输入返回给用户的内容，可使用 {'{{变量名}}'} 引用上下文变量",
        "outputHint": "此内容会返回给对话框显示，点击 / 可选择变量",
        "noOutputVars": "暂无输出变量，点击上方添加",
        "type": "类型"
      },
      "message": {
        "label": "消息节点",
        "placeholder": "消息节点",
        "content": "消息内容",
        "contentPlaceholder": "请输入要发送给用户的消息内容，支持变量如 {'{{变量名}}'}",
        "contentHint": "此消息将发送给用户，工作流不会暂停",
        "messageType": "消息类型",
        "plainText": "纯文本"
      },
      "confirm": {
        "label": "确认节点",
        "placeholder": "确认节点",
        "dialogTitle": "确认框标题",
        "titlePlaceholder": "确认",
        "content": "确认内容",
        "contentPlaceholder": "请输入需要用户确认的内容，支持变量如 {'{{变量名}}'}",
        "contentHint": "工作流将暂停，等待用户点击确认或取消",
        "confirmBtnText": "确认按钮文本",
        "cancelBtnText": "取消按钮文本",
        "confirmPlaceholder": "确认",
        "cancelPlaceholder": "取消",
        "outputHint": "用户确认返回 true，取消返回 false",
        "smartIntent": "智能意图识别",
        "smartIntentHint": "当用户输入文本（而非点击按钮）时，使用 LLM 判断用户意图。\n默认使用关键词匹配（如\"好的\"、\"可以\"为确认，\"不\"、\"取消\"为取消）。",
        "intentModel": "意图识别模型",
        "intentModelHint": "当关键词匹配失败时，使用此模型进行意图识别"
      },
      "merge": {
        "label": "合并",
        "placeholder": "合并",
        "mergeMode": "合并模式",
        "objectMode": "对象（按分支ID）",
        "arrayMode": "数组",
        "firstMode": "取第一个",
        "concatMode": "字符串拼接",
        "objectDesc": "将各分支结果合并为对象，键为分支ID",
        "arrayDesc": "将各分支结果合并为数组",
        "firstDesc": "只取第一个完成的分支结果",
        "concatDesc": "将各分支结果拼接为字符串",
        "separator": "分隔符",
        "usageTip1": "合并节点等待所有并行分支执行完成",
        "usageTip2": "合并后的结果存储在输出变量中",
        "usageTip3": "可通过 {template} 引用合并结果"
      },
      "parallel": {
        "label": "并行分支",
        "placeholder": "并行分支",
        "title": "并行分支",
        "addBranch": "添加分支",
        "branchHint": "所有分支将同时执行，执行完成后在合并节点汇聚",
        "branchName": "分支名称",
        "branch": "分支 {index}",
        "usageTip1": "从每个分支的输出端口连接到不同的节点",
        "usageTip2": "所有分支最终需要连接到同一个合并节点",
        "usageTip3": "分支内的节点将并行执行"
      },
      "start": {
        "userInputDesc": "用户在对话框中输入的内容，自动传入此变量",
        "sessionIdDesc": "当前对话会话 ID，用于多轮记忆和执行追踪",
        "agentIdDesc": "当前调用智能体 ID，用于智能体协作和审计"
      },
      "choice": {
        "label": "选项节点",
        "placeholder": "选项节点",
        "questionContent": "问题内容",
        "questionPlaceholder": "请输入问题或提示文本",
        "outputHint": "用户的选择将保存到此变量",
        "optionList": "选项列表",
        "addOption": "添加选项",
        "optionValue": "选项值",
        "displayText": "显示文本",
        "optionDesc": "选项描述（可选）",
        "option": "选项 {index}",
        "allowMultiple": "允许多选",
        "minSelect": "最少选择",
        "maxSelect": "最多选择"
      },
      "question": {
        "label": "问答节点",
        "placeholder": "问答节点",
        "questionContent": "问题内容",
        "questionPlaceholder": "请输入要向用户提出的问题，支持变量如 {'{{变量名}}'}",
        "outputHint": "用户的回答将保存到此变量",
        "renderInput": "渲染输入框",
        "renderInputHint": "关闭时用户直接在聊天框输入，开启时显示专用输入框",
        "inputType": "输入类型",
        "text": "文本",
        "number": "数字",
        "email": "邮箱",
        "phone": "手机号",
        "date": "日期",
        "placeholderText": "占位文本",
        "placeholderHint": "输入框占位提示",
        "defaultValueLabel": "默认值",
        "defaultValueHint": "可选的默认值",
        "required": "是否必填",
        "validationRegex": "验证正则",
        "validationRegexHint": "用于验证用户输入格式的正则表达式",
        "validationMessage": "验证失败提示",
        "validationDefault": "输入格式不正确"
      },
      "http": {
        "label": "HTTP 请求",
        "placeholder": "HTTP 请求",
        "addParam": "添加参数",
        "addHeader": "添加 Header",
        "bodyHint": "仅支持 JSON 格式，支持变量引用如 {'{{ variable }}'}",
        "settings": "设置",
        "timeout": "超时时间 (秒)"
      },
      "code": {
        "label": "代码执行",
        "placeholder": "代码执行",
        "timeout": "超时 (秒)",
        "noInputVars": "暂无输入变量",
        "noOutputVars": "暂无输出变量，代码返回的字段将自动作为输出",
        "codePython": "代码 (Python)",
        "codePlaceholder": "在此编写代码...",
        "expandEditor": "展开编辑器"
      },
      "llm": {
        "label": "LLM 大模型",
        "placeholder": "LLM 大模型",
        "systemPrompt": "系统指令",
        "optional": "(可选)",
        "systemPromptPlaceholder": "定义 AI 的角色和行为规则，如：你是一个专业的翻译助手...",
        "systemPromptHint": "设置 AI 的角色、行为规则和限制",
        "userPrompt": "用户提示词",
        "userPromptPlaceholder": "输入用户的问题或指令，支持变量如 {'{{变量名}}'}...",
        "userPromptHint": "用户的实际问题或指令，可使用变量引用上游节点输出",
        "ragTip": "RAG 提示：配合「知识库检索」节点，在提示词中使用 {knowledgeContext} 引用检索结果作为上下文",
        "outputVarHint": "LLM 的响应将保存到此变量，供后续节点使用",
        "outputMode": "输出模式",
        "textOutput": "文本输出",
        "structuredOutput": "结构化输出",
        "structuredDesc": "使用 Function Calling 提取结构化 JSON 数据",
        "textDesc": "普通文本响应",
        "schemaSource": "结构来源",
        "staticConfig": "静态配置",
        "fromVariable": "从变量获取",
        "fromVariableDesc": "从上游节点（如「表单转LLM结构」节点）获取结构配置",
        "staticConfigDesc": "手动配置输出结构",
        "schemaVariable": "结构变量",
        "schemaVarPlaceholder": "输入变量名，如 {'{{llm_output_schema}}'}",
        "schemaVarHint": "变量值应为结构化输出配置数组，可由「表单转LLM结构」节点生成",
        "configSchema": "配置结构",
        "configSchemaHint": "点击「配置结构」定义要提取的数据结构（支持多层嵌套）",
        "schemaPreviewHint": "点击上方 JSON 可重新配置，提取的数据将保存为",
        "streaming": "流式输出",
        "streamingHint": "启用后将实时输出 LLM 响应",
        "conversationHistory": "使用对话历史",
        "conversationHistoryHint": "启用后将包含历史对话作为上下文（需要 Agent 启用记忆功能）",
        "configStructure": "配置结构"
      },
      "condition": {
        "label": "条件分支",
        "placeholder": "条件分支",
        "booleanHint": "Boolean判断",
        "emptyStringHint": "空字符串",
        "mainAppHint": "主应用判断",
        "numberCompareHint": "数值比较",
        "branchList": "分支列表",
        "addBranch": "添加分支",
        "branch": "分支 {index}",
        "conditions": "条件",
        "elseBranch": "ELSE (默认分支)",
        "equals": "等于",
        "notEquals": "不等于",
        "gt": "大于",
        "gte": "大于等于",
        "lt": "小于",
        "lte": "小于等于",
        "contains": "包含",
        "notContains": "不包含",
        "startsWith": "开头是",
        "endsWith": "结尾是",
        "isEmpty": "为空",
        "isNotEmpty": "不为空",
        "numberCompare": "支持大于、小于等操作符",
        "noCondition": "无条件"
      },
      "intent": {
        "label": "意图识别",
        "placeholder": "意图识别",
        "selectModelHint": "选择用于意图识别的模型",
        "modelHint": "选择用于分析用户意图的 LLM 模型",
        "inputVariable": "输入变量",
        "inputVarHint": "包含用户输入的变量名，支持变量引用如 {'{{ 变量名 }}'}",
        "intentList": "意图列表",
        "addIntent": "添加意图",
        "intentIndex": "意图 {index}",
        "intentNamePlaceholder": "意图名称 (如: consult)",
        "name": "名称",
        "intentDescPlaceholder": "意图描述 (如: 用户想咨询产品信息)",
        "description": "描述",
        "branchIdPlaceholder": "分支ID (默认与名称相同)",
        "branchLabel": "分支",
        "exampleSentences": "示例语句 (帮助 AI 更准确识别)",
        "examplePlaceholder": "输入示例语句",
        "otherBranch": "OTHER (未匹配任何意图时)",
        "outputHint": "识别结果将保存到此变量，包含 intent 和 confidence",
        "confidenceThreshold": "置信度阈值",
        "confidenceHint": "低于此阈值将走 OTHER 分支",
        "intentLabel": "意图"
      },
      "loop": {
        "label": "循环",
        "placeholder": "循环",
        "loopMode": "循环模式",
        "forEach": "遍历数组 (For Each)",
        "whileLoop": "条件循环 (While)",
        "arrayVariable": "数组变量",
        "arrayVarHint": "要遍历的数组变量，支持 {'{{NodeID.key}}'} 格式或直接输入 JSON 数组",
        "itemVarName": "循环项变量名",
        "indexVarName": "索引变量名",
        "loopCondition": "循环条件",
        "conditionLogic": "条件逻辑",
        "allMatch": "全部满足 (AND)",
        "anyMatch": "任一满足 (OR)",
        "conditionIndex": "条件 {index}",
        "varPlaceholder": "变量名，如：{'{{counter}}'}",
        "compareValue": "比较值",
        "addConditionHint": "点击\"添加条件\"设置循环继续的条件",
        "maxIterations": "最大迭代次数",
        "maxIterationsHint": "防止无限循环，达到此次数后强制停止",
        "outputVarHint": "存储所有循环结果的数组变量名",
        "usageTip1": "将节点拖拽到循环容器内作为循环体",
        "usageTip2": "循环体内的节点会被重复执行",
        "usageTip3ForEach": "在循环体内可使用 {item} 和 {index}",
        "usageTip3While": "每次迭代后会重新评估条件",
        "usageTip4": "循环完成后结果存储在 {output} 中",
        "eq": "等于",
        "ne": "不等于",
        "gt": "大于",
        "gte": "大于等于",
        "lt": "小于",
        "lte": "小于等于",
        "is_empty": "为空",
        "is_not_empty": "不为空",
        "is_true": "为真",
        "is_false": "为假",
        "loopBodyHint1": "在循环体内可使用",
        "loopBodyHint2": "和"
      },
      "subflow": {
        "label": "子流程",
        "placeholder": "子流程",
        "selectSubflow": "选择子流程",
        "selectSubflowPlaceholder": "请选择要调用的子流程",
        "openInNewTab": "在新标签页打开",
        "publishedOnly": "只显示已发布的工作流",
        "varPass": "变量传递",
        "passMode": "传递模式",
        "passAll": "传递所有变量",
        "passSelected": "选择变量",
        "passNone": "不传递",
        "varMapping": "变量映射",
        "addVarMappingHint": "点击\"添加\"配置变量传递",
        "varIndex": "变量 {index}",
        "subflowVarName": "子流程变量名",
        "mainflowVarValue": "主流程变量值",
        "selectVarPlaceholder": "点击变量按钮选择变量",
        "varMappingHint1": "子流程变量名：子流程中使用的变量名",
        "varMappingHint2": "主流程变量值：从主流程传递的值（可选择变量）",
        "resultHandling": "结果处理",
        "resultPassMode": "结果传递模式",
        "resultPassAll": "传递所有结果",
        "resultPassSelected": "选择结果",
        "resultPassNone": "不传递",
        "selectResultVars": "选择结果变量",
        "resultVarPlaceholder": "输入子流程中的变量名",
        "resultVarHint": "输入要从子流程回传的变量名（子流程内部产生的变量）",
        "resultVarName": "结果变量名",
        "resultVarSavedHint": "子流程完整结果存储到此变量，可通过 {template} 访问",
        "maxNestDepth": "最大嵌套深度",
        "maxNestDepthHint": "防止无限递归调用，默认最多嵌套 5 层",
        "showSubflowMessages": "显示子流程消息",
        "showSubflowMessagesHint": "开启后，子流程中的消息节点会在主流程对话中显示",
        "forwardInteractive": "转发交互式节点",
        "forwardInteractiveHint": "开启后，子流程中的问答、选项、确认等节点会在主流程中显示",
        "usageTip1": "子流程必须是已发布状态的工作流",
        "usageTip2": "子流程会继承主流程的用户上下文",
        "usageTip3": "可以通过变量传递在主流程和子流程间传递数据",
        "usageTip4": "子流程执行完成后，结果会存储到指定的变量中",
        "usageTip5": "支持子流程嵌套调用，但要注意避免循环依赖"
      }
    }
  },
  "workflowRuns": {
    "title": "执行历史",
    "description": "查看 AI 工作流的运行记录与节点执行日志",
    "search": "查询",
    "refresh": "刷新",
    "filters": {
      "workflow": "工作流",
      "status": "状态",
      "trigger": "触发来源",
      "allWorkflows": "全部工作流",
      "allStatus": "全部状态",
      "allTriggers": "全部来源"
    },
    "columns": {
      "workflow": "工作流",
      "status": "状态",
      "trigger": "触发来源",
      "steps": "步骤",
      "tokens": "Token",
      "duration": "耗时",
      "startedAt": "开始时间",
      "error": "错误",
      "actions": "操作"
    },
    "status": {
      "pending": "等待中",
      "running": "运行中",
      "waiting": "等待输入",
      "completed": "已完成",
      "failed": "失败",
      "stopped": "已停止"
    },
    "trigger": {
      "editor_draft": "编辑器调试",
      "editor_published": "编辑器发布版",
      "agent": "智能体",
      "api": "API 调用",
      "form_button": "表单按钮"
    },
    "detail": {
      "back": "返回列表",
      "runId": "运行 ID",
      "openEditor": "打开工作流",
      "snapshotMissing": "缺少定义快照，画布可能无法完整回放",
      "completedAt": "完成时间",
      "version": "版本",
      "draft": "草稿",
      "timeline": "执行时间线",
      "noLogs": "暂无执行日志",
      "inputsOutputs": "输入 / 输出"
    }
  }
}
