From d7c3a1f9f459d329eaf58425890aa4fda5bab62d Mon Sep 17 00:00:00 2001 From: hexqi Date: Mon, 18 Aug 2025 21:24:00 +0800 Subject: [PATCH 1/3] fix(ai): fix ai plugin mcp issue --- packages/plugins/robot/src/Main.vue | 108 ++++++++++---- .../robot/src/mcp/MarkdownRenderer.vue | 134 ++++++++++++++---- packages/plugins/robot/src/mcp/McpServer.vue | 62 ++++---- packages/plugins/robot/src/mcp/types.ts | 5 +- packages/plugins/robot/src/mcp/useMcp.ts | 51 +------ packages/plugins/robot/src/mcp/utils.ts | 25 ++-- 6 files changed, 249 insertions(+), 136 deletions(-) diff --git a/packages/plugins/robot/src/Main.vue b/packages/plugins/robot/src/Main.vue index 4e5562d225..e3362b2ec1 100644 --- a/packages/plugins/robot/src/Main.vue +++ b/packages/plugins/robot/src/Main.vue @@ -36,20 +36,27 @@ -
- - - +
+
+ + + +
+ + +
- - - @@ -73,7 +80,7 @@ -