修复: AI工具OOM/路径遍历+续跑锁收敛+UX交互批

This commit is contained in:
2026-06-17 14:07:16 +08:00
parent 2065335c8c
commit 6b67214395
15 changed files with 390 additions and 98 deletions

View File

@@ -85,6 +85,30 @@ export default {
// 工具结果详情格式(非 JSON 纯文本 + 审批占位时补参数摘要)
resultDetail: '{raw}{detail}',
// UX-260617-17:ToolCardList 分组标题(同名工具 >=2 时显示;原硬编码中文,英文化)
toolGroup: {
readFile: '读取文件',
writeFile: '写入文件',
listDirectory: '列出目录',
createTask: '创建任务',
createProject: '创建项目',
createIdea: '创建灵感',
listTasks: '列出任务',
listProjects: '列出项目',
listIdeas: '列出灵感',
deleteProject: '删除项目',
restoreProject: '恢复项目',
purgeProject: '彻底删除项目',
updateProject: '更新项目',
runWorkflow: '运行工作流',
},
// UX-260617-14:审批 loading 超时兜底提示(后端无回执,卡片仍 pending_approval 时复位 + 提示用户)
approveLoadingTimeout: '审批响应超时,请重试或检查后端',
// UX-260617-18:工具失败检测文案(收窄正则后,行首锚定 err_msg 前缀)
// (复用 executionFailed/executionFailedHint,不新增)
// 审批参数键标签
argLabel: {
id: 'ID',