feat: 完成 Agent MCP 对接

- 增加 MCP 连接类型、环境检测接口和容器运行环境支持

- 将 Agent 编排改为绑定整体 MCP 并编译为 runtime McpSpec

- 优化 MCP 工具展示、审批、草稿试运行和画布回显稳定性
This commit is contained in:
2026-05-29 11:09:21 +08:00
parent e39f7521e2
commit cc3bb9cff0
33 changed files with 2405 additions and 127 deletions

View File

@@ -3,6 +3,7 @@
"title": "Title",
"description": "Description",
"configJson": "ConfigJson",
"approvalRequired": "Approval Required",
"deptId": "DeptId",
"tenantId": "TenantId",
"created": "Created",
@@ -27,5 +28,23 @@
"labels": {
"clientOnline": "ClientOnline",
"clientOffline": "ClientOffline"
},
"jsonEditor": {
"format": "Format",
"invalid": "Invalid JSON"
},
"check": {
"action": "Check",
"overall": "Overall",
"resultTitle": "MCP Environment Check",
"toolCount": "Tools",
"message": {
"configRequired": "Please enter MCP config JSON first"
},
"status": {
"success": "Passed",
"warning": "Warning",
"failed": "Failed"
}
}
}

View File

@@ -3,6 +3,7 @@
"title": "名称",
"description": "描述",
"configJson": "MCP配置JSON",
"approvalRequired": "执行前审批",
"deptId": "部门ID",
"tenantId": "租户ID",
"created": "创建时间",
@@ -27,5 +28,23 @@
"labels": {
"clientOnline": "客户端在线",
"clientOffline": "客户端离线"
},
"jsonEditor": {
"format": "格式化",
"invalid": "JSON 格式错误"
},
"check": {
"action": "检测",
"overall": "整体状态",
"resultTitle": "MCP 环境检测",
"toolCount": "工具数",
"message": {
"configRequired": "请先填写 MCP 配置 JSON"
},
"status": {
"success": "通过",
"warning": "警告",
"failed": "失败"
}
}
}