From e42632e56ba47e862accc59ee23b8bfa2bba1db6 Mon Sep 17 00:00:00 2001 From: gzkoala Date: Thu, 5 Mar 2026 15:22:34 +0800 Subject: [PATCH] =?UTF-8?q?docs(add):=E6=96=B0=E5=A2=9EArabica=20Sprint2?= =?UTF-8?q?=20=E7=B3=BB=E7=BB=9F=E7=BB=84=E4=BB=B6=E6=9E=B6=E6=9E=84?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E6=96=87=E6=A1=A3=E6=9E=B6=E6=9E=84=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gzkoala --- .../arabica-srpint2-architecture-design.svg | 397 ++++++++++++++++++ 1 file changed, 397 insertions(+) create mode 100644 docs/assets/images/arabica-srpint2-architecture-design.svg diff --git a/docs/assets/images/arabica-srpint2-architecture-design.svg b/docs/assets/images/arabica-srpint2-architecture-design.svg new file mode 100644 index 0000000..abd3087 --- /dev/null +++ b/docs/assets/images/arabica-srpint2-architecture-design.svg @@ -0,0 +1,397 @@ + + + + + + + + + + + + + + + + + + + + + + + + + FIG-01 + Arabica Sprint 2 系统开发组件架构图 + 架构图 > Arabica Sprint 2 > 多维思维框架与意图拆解工作流 + + + + + + + + + + + + + 📦 MCP Server Runtime(Sprint2) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Query + Report + Reasoning + LLM Result + + + prompts/get + tools/call + Result Data + + + stdio + + + + + + + + + + User / 用户 + + + + + + + + Cherry Studio (MCP Client) + 大模型对话与调度宿主 + Initiates stdio subprocess + + + + + + LLM + (Remote) + + + + + + + + app.ts + McpServer 注册原语 + Prompts & Tools (stdio) + + + + + + + + promptsController + 处理 prompts/get 和 list + + + + + + + + toolsController + 处理 tools 工具调度分发 + + + + + + + + resourcesController + 处理 resources 请求分发 + + + + + + + + promptService.ts + 管理多维思维框架库 + 返回静态结构化模板 + + + + + + + + intentService.ts + + 意图拆解核心算法 + 生成专业检索词(3~5个) + + + + + + + + resourceService.ts + 文件系统 I/O 交互 + 读取本地知识库 + + + + + + + models/frameworks/ + 5w3h.json, scqa.json + swot.json, pestle.json + + + + + + schemas.ts + Zod 强校验 + + + + + + + Local Vault + + + + + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + 6 + + + + 7 + + + + + + Sprint 2 执行步骤流 + + + + + 1 + 用户在 Cherry Studio 输入查询 + + + + 2 + 大模型判断需要调用多维思维框架 + + + + 3 + Client发起 prompts/get 获取模板 + + + + 4 + 组合模板与查询,大模型初步推理 + + + + 5 + 调用 tools/call 获取专业检索词 + + + + 6 + Server 执行意图拆解并返回结果 + + + + 7 + 大模型结合检索词完成深度报告 + + + + + + + + + + + + + 组件与语义对照: + + + + + 宿主客户端架构 + + + + + + 请求分发控制器 (Controllers) + + + + + + 核心执行引擎与资源层 + + + + + + Sprint 3 预留扩展 (灰色) + + + + + + + 本作品采用 CC-BY-SA 4.0 进行许可,© 2025-2026 Gitconomy Research社区 + +