docs(update):更新Porject Caffeine Aracabi Sprint1 系统开发组件架构示意图
Signed-off-by: gzkoala <guohao@gitconomy.org>
This commit is contained in:
@@ -109,11 +109,11 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
|
||||
<path d="M 760 120 L 892 120" stroke="var(--c-cloud-blue)" stroke-dasharray="4 2" marker-end="url(#arrow-blue)" />
|
||||
<path d="M 900 140 L 768 140" stroke="var(--c-cloud-blue)" stroke-dasharray="4 2" marker-end="url(#arrow-blue)" />
|
||||
|
||||
<!-- 3. stdio Transport (Client <-> app.js) -->
|
||||
<!-- 3. stdio Transport (Client <-> app.ts) -->
|
||||
<path d="M 600 170 L 600 292" stroke="var(--c-local-green)" marker-end="url(#arrow-green)" />
|
||||
<path d="M 640 300 L 640 178" stroke="var(--c-local-green)" marker-end="url(#arrow-green)" />
|
||||
|
||||
<!-- 4. app.js to Controllers -->
|
||||
<!-- 4. app.ts to Controllers -->
|
||||
<path d="M 600 370 L 600 400 L 450 400 L 450 422" stroke="var(--c-neutral-gray)" marker-end="url(#arrow-gray)" />
|
||||
<path d="M 640 370 L 640 400 L 830 400 L 830 422" stroke="var(--c-neutral-gray)" marker-end="url(#arrow-gray)" />
|
||||
|
||||
@@ -184,65 +184,65 @@ SPDX-License-Identifier: MIT & CC-BY-SA-4.0
|
||||
<text x="0" y="15" text-anchor="middle" class="font-mono card-text" font-size="10" fill="var(--c-cloud-blue)">(Remote)</text>
|
||||
</g>
|
||||
|
||||
<!-- 4. .vscode/launch.json (Tooling) -->
|
||||
<!-- 4. .vscode/launch.tson (Tooling) -->
|
||||
<g transform="translate(310, 315)">
|
||||
<rect x="0" y="0" width="160" height="50" rx="6" fill="#F8FAFC" stroke="var(--c-neutral-gray)" stroke-width="1.5" stroke-dasharray="2 2" />
|
||||
<text x="80" y="20" text-anchor="middle" class="font-mono text-code" font-size="12">.vscode/launch.json</text>
|
||||
<text x="80" y="40" text-anchor="middle" class="font-sans card-text" font-size="11">Attach 断点源码联调</text>
|
||||
</g>
|
||||
|
||||
<!-- 5. app.js -->
|
||||
<!-- 5. app.ts -->
|
||||
<g transform="translate(560, 300)">
|
||||
<rect x="0" y="0" width="160" height="70" rx="6" fill="#FFFFFF" stroke="var(--c-local-green)" stroke-width="2" />
|
||||
<rect x="0" y="0" width="160" height="26" fill="var(--c-local-green)" rx="6" />
|
||||
<rect x="0" y="20" width="160" height="6" fill="var(--c-local-green)" />
|
||||
<text x="80" y="18" text-anchor="middle" class="font-mono card-title">app.js</text>
|
||||
<text x="80" y="18" text-anchor="middle" class="font-mono card-title">app.ts</text>
|
||||
<text x="80" y="45" text-anchor="middle" class="font-sans text-code" font-size="12">McpServer 初始化</text>
|
||||
<text x="80" y="62" text-anchor="middle" class="font-mono card-text" font-size="10">stdio transport</text>
|
||||
</g>
|
||||
|
||||
<!-- 6. promptsController.js -->
|
||||
<!-- 6. promptsController.ts -->
|
||||
<g transform="translate(360, 430)">
|
||||
<rect x="0" y="0" width="180" height="60" rx="6" fill="#FFFFFF" stroke="var(--c-risk-amber)" stroke-width="2" />
|
||||
<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)" />
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">promptsController.js</text>
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">promptsController.ts</text>
|
||||
<text x="90" y="48" text-anchor="middle" class="font-sans card-text">处理 tools/call 调度分发</text>
|
||||
</g>
|
||||
|
||||
<!-- 7. resourcesController.js -->
|
||||
<!-- 7. resourcesController.ts -->
|
||||
<g transform="translate(740, 430)">
|
||||
<rect x="0" y="0" width="180" height="60" rx="6" fill="#FFFFFF" stroke="var(--c-risk-amber)" stroke-width="2" />
|
||||
<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)" />
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">resourcesController.js</text>
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">resourcesController.ts</text>
|
||||
<text x="90" y="48" text-anchor="middle" class="font-sans card-text">处理 resources 请求分发</text>
|
||||
</g>
|
||||
|
||||
<!-- 8. schemas.js -->
|
||||
<!-- 8. schemas.ts -->
|
||||
<g transform="translate(595, 550)">
|
||||
<rect x="0" y="0" width="90" height="50" rx="6" fill="#F8FAFC" stroke="var(--c-neutral-gray)" stroke-width="1.5" />
|
||||
<text x="45" y="20" text-anchor="middle" class="font-mono text-code" font-size="12">schemas.js</text>
|
||||
<text x="45" y="20" text-anchor="middle" class="font-mono text-code" font-size="12">schemas.ts</text>
|
||||
<text x="45" y="40" text-anchor="middle" class="font-sans card-text" font-size="11">Zod 强校验</text>
|
||||
</g>
|
||||
|
||||
<!-- 9. promptService.js -->
|
||||
<!-- 9. promptService.ts -->
|
||||
<g transform="translate(360, 540)">
|
||||
<rect x="0" y="0" width="180" height="80" rx="6" fill="#FFFFFF" stroke="var(--c-local-green)" stroke-width="2" />
|
||||
<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)" />
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">promptService.js</text>
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">promptService.ts</text>
|
||||
<rect x="15" y="35" width="150" height="20" rx="3" fill="var(--c-risk-amber-light)" />
|
||||
<text x="90" y="50" text-anchor="middle" class="font-sans text-code" font-size="12" fill="var(--c-risk-amber)">纯本地核心算法引擎</text>
|
||||
<text x="90" y="70" text-anchor="middle" class="font-sans card-text" font-size="11">5 Whys 模板分解与合成</text>
|
||||
</g>
|
||||
|
||||
<!-- 10. resourceService.js -->
|
||||
<!-- 10. resourceService.ts -->
|
||||
<g transform="translate(740, 540)">
|
||||
<rect x="0" y="0" width="180" height="80" rx="6" fill="#FFFFFF" stroke="var(--c-local-green)" stroke-width="2" />
|
||||
<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)" />
|
||||
<text x="90" y="18" text-anchor="middle" class="font-mono card-title">resourceService.js</text>
|
||||
<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">读取本地知识库/Markdown</text>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user