test: add Loader export-path guard for dsh-mcp-client

Verifies the namespace plugin has no default export and preserves
name/inject/Config through Loader.unwrapExports — the same guard
pattern as dsh-tool-web, per the packages/AGENTS.md convention.
This commit is contained in:
lintianle
2026-07-08 16:51:42 +08:00
parent ace0760927
commit 2d5918e158
2 changed files with 29 additions and 3 deletions

View File

@@ -79,9 +79,6 @@ flowchart TD
pkg_app_boot["app-boot"]
pkg_stdio_agent["stdio-agent"]
end
subgraph group_mcp["packages/mcp"]
pkg_mcp_client["mcp-client"]
end
subgraph group_code_runtime["packages/code-runtime"]
pkg_code_runtime["code-runtime"]
end