Fix architecture diagram and test coverage on site

Architecture diagram was missing the second row of plugins (session,
context, file-io, tools). Test description only listed 2 of 8 actual
test files. Corrected both pages to match the real repo layout.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-27 20:46:52 +08:00
parent ee56dbb753
commit 91aee523c3
2 changed files with 16 additions and 21 deletions

View File

@@ -310,17 +310,14 @@ build/dstalk-cli/dstalk-cli.exe config.toml</code></pre>
└───────────────────────┬─────────────────────────────┘
│ C ABI
┌───────────────────────▼─────────────────────────────┐
│ dstalk-core.dll — Plugin Host
Plugin Loader · Service Registry · Event Bus ·
│ Config Manager │
└──┬───────┬───────┬───────┬───────┬───────┬──────────┘
▼ ▼ ▼ ▼
deepseek anthropic network lsp session context
(ai) (ai) (http) client
▼ ▼ ▼
config file-io tools
│ │ │
└── Boost.JSON / Boost.Asio / Beast / OpenSSL TLS ──┘</code></pre>
│ dstalk-core.dll — 插件宿主
插件加载 · 服务注册 · 事件总线 · 配置管理
├───────────────┬───────────────┬─────────────────────┤
│ deepseek (ai) │ anthropic (ai)│ network (http) │
│ lsp (client) │ session │ context
│ config │ file-io │ tools │
└───────────────┴───────────────┴─────────────────────┘
Boost.JSON · Boost.Asio / Beast · OpenSSL TLS</code></pre>
</div>
</section>
@@ -336,7 +333,7 @@ build/dstalk-cli/dstalk-cli.exe config.toml</code></pre>
<tr><td>CLI 前端</td><td>ANSI 终端 UI调用 dstalk/dstalk_api.h</td><td><span class="ok">已启用</span></td></tr>
<tr><td>GUI 前端</td><td>SDL3 图形化前端CMake 选项 DSTALK_BUILD_GUI 启用</td><td><span class="ok">已就位</span></td></tr>
<tr><td>插件</td><td>9 个功能插件 (deepseek · anthropic · network · lsp · session · context · config · file-io · tools),独立 DLL</td><td><span class="ok">已启用</span></td></tr>
<tr><td>测试</td><td>tests/ 提供 host_api_test 与 smoke_testCTest 集成</td><td><span class="ok">已启用</span></td></tr>
<tr><td>测试</td><td>8 个测试文件覆盖插件宿主、事件总线、服务注册、插件加载及各 AI 插件CTest 集成</td><td><span class="ok">已启用</span></td></tr>
<tr><td>文档</td><td>docs/tutorial、docs/reference (commands、plugin-abi)</td><td><span class="ok">已发布</span></td></tr>
<tr><td>示例</td><td>examples/example_plugin 展示插件开发模板</td><td><span class="ok">已提供</span></td></tr>
<tr><td>依赖管理</td><td>Conan2boost/1.86.0openssl/3.4.1</td><td><span class="ok">已配置</span></td></tr>