docs(update):更新Arabica Sprint2 系统组件架构图

Signed-off-by: gzkoala <guohao@gitconomy.org>
This commit is contained in:
gzkoala
2026-03-06 11:15:30 +08:00
parent b0d28b630f
commit 3643814616

View File

@@ -28,7 +28,7 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
--c-gov-blue: #3B82F6;
--c-gov-blue-light: rgba(59, 130, 246, 0.08);
--c-neutral-gray: #475569;
--c-neutral-gray-light: #E2E8F0;
--c-neutral-gray-light: #B2B2B2;
/* 步骤高亮色 */
--c-step-red: #EF4444;
@@ -120,7 +120,7 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
<path d="M 640 620 L 640 642" stroke="var(--c-neutral-gray)" stroke-dasharray="2 2" marker-end="url(#arrow-gray)" />
<!-- resourceService to Local Vault -->
<path d="M 870 620 L 870 672" stroke="var(--c-local-green)" marker-end="url(#arrow-green)" />
<path d="M 700 460 L 760 460 L 760 720 L 820 720" stroke="var(--c-local-green)" marker-end="url(#arrow-green)" />
</g>
<!--
@@ -205,9 +205,9 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
<!-- 7. resourcesController.ts -->
<g transform="translate(780, 430)">
<rect x="0" y="0" width="180" height="60" rx="6" fill="#FFFFFF" stroke="var(--c-risk-amber)" stroke-width="2" stroke-dasharray="2 2" opacity="0.8"/>
<rect x="0" y="0" width="180" height="26" fill="var(--c-risk-amber)" rx="6" />
<rect x="0" y="20" width="180" height="6" fill="var(--c-risk-amber)" />
<rect x="0" y="0" width="180" height="60" rx="6" fill="#FFFFFF" stroke="var(--c-neutral-gray-light)" stroke-width="2" stroke-dasharray="2 2" opacity="0.8"/>
<rect x="0" y="0" width="180" height="26" fill="var(--c-neutral-gray-light)" rx="6" />
<rect x="0" y="20" width="180" height="6" fill="var(--c-neutral-gray-light)" />
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">resourcesController</text>
<text x="90" y="48" text-anchor="middle" class="font-sans card-text">处理 resources 请求分发</text>
</g>
@@ -235,9 +235,9 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
<!-- 10. resourceService.ts -->
<g transform="translate(780, 540)">
<rect x="0" y="0" width="180" height="80" rx="6" fill="#FFFFFF" stroke="var(--c-local-green)" stroke-width="2" stroke-dasharray="2 2" opacity="0.8"/>
<rect x="0" y="0" width="180" height="26" fill="var(--c-local-green)" rx="6" />
<rect x="0" y="20" width="180" height="6" fill="var(--c-local-green)" />
<rect x="0" y="0" width="180" height="80" rx="6" fill="#FFFFFF" stroke="var(--c-neutral-gray-light)" stroke-width="2" stroke-dasharray="2 2" opacity="0.8"/>
<rect x="0" y="0" width="180" height="26" fill="var(--c-neutral-gray-light)" rx="6" />
<rect x="0" y="20" width="180" height="6" fill="var(--c-neutral-gray-light)" />
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">resourceService.ts</text>
<text x="90" y="50" text-anchor="middle" class="font-sans text-code" font-size="12">文件系统 I/O 交互</text>
<text x="90" y="70" text-anchor="middle" class="font-sans card-text" font-size="11">读取本地知识库</text>
@@ -301,6 +301,10 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
<circle cx="0" cy="0" r="10" fill="var(--c-step-red)" />
<text x="0" y="4.5" text-anchor="middle" class="font-sans step-text">7</text>
</g>
<g transform="translate(760, 650)">
<circle cx="0" cy="0" r="10" fill="var(--c-step-red)" />
<text x="0" y="4.5" text-anchor="middle" class="font-sans step-text">8</text>
</g>
<!-- 步骤流程侧边栏 -->
<g transform="translate(20, 280)">
@@ -341,7 +345,12 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
<g transform="translate(15, 175)">
<circle cx="6" cy="-4" r="7" fill="var(--c-step-red)" />
<text x="6" y="0" text-anchor="middle" class="font-sans step-text" font-size="10">7</text>
<text x="20" y="0" class="font-sans card-text" fill="#000000">大模型结合检索词完成深度报告</text>
<text x="20" y="0" class="font-sans card-text" fill="#000000">大模型结合检索词完成返回查询结果</text>
</g>
<g transform="translate(15, 195)">
<circle cx="6" cy="-4" r="7" fill="var(--c-step-red)" />
<text x="6" y="0" text-anchor="middle" class="font-sans step-text" font-size="10">8</text>
<text x="20" y="0" class="font-sans card-text" fill="#000000">查询结果保存到本地知识库</text>
</g>
</g>
</g>
@@ -362,25 +371,25 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
<!-- 图例项 1 -->
<g transform="translate(130, 0)">
<rect x="-6" y="-6" width="12" height="12" rx="2" fill="var(--c-gov-blue)" />
<rect x="-6" y="-4" width="12" height="12" rx="2" fill="var(--c-gov-blue)" />
<text x="12" y="8" class="font-sans" font-size="12" fill="var(--c-neutral-gray)">宿主客户端架构</text>
</g>
<!-- 图例项 2 -->
<g transform="translate(280, 0)">
<rect x="-6" y="-6" width="12" height="12" rx="2" fill="var(--c-risk-amber)" />
<rect x="-6" y="-4" width="12" height="12" rx="2" fill="var(--c-risk-amber)" />
<text x="12" y="8" class="font-sans" font-size="12" fill="var(--c-neutral-gray)">请求分发控制器 (Controllers)</text>
</g>
<!-- 图例项 3 -->
<g transform="translate(490, 0)">
<rect x="-6" y="-6" width="12" height="12" rx="2" fill="var(--c-local-green)" />
<rect x="-6" y="-4" width="12" height="12" rx="2" fill="var(--c-local-green)" />
<text x="12" y="8" class="font-sans" font-size="12" fill="var(--c-neutral-gray)">核心执行引擎与资源层</text>
</g>
<!-- 图例项 4 -->
<g transform="translate(680, 0)">
<rect x="-6" y="-6" width="12" height="12" rx="2" fill="var(--c-neutral-gray)" />
<rect x="-6" y="-4" width="12" height="12" rx="2" fill="var(--c-neutral-gray-light)" />
<text x="12" y="8" class="font-sans" font-size="12" fill="var(--c-neutral-gray)">Sprint 3 预留扩展 (灰色)</text>
</g>
</g>

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB