fix(mcp): serialize result.content instead of wrapper object; warn on missing static assets

This commit is contained in:
khhjoe
2026-03-29 16:07:48 +08:00
committed by Peter Steinberger
parent 3151eb5b48
commit a8c189f463
2 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ function copyStaticExtensionAssets() {
if (fs.existsSync(srcPath)) {
fs.mkdirSync(path.dirname(destPath), { recursive: true });
fs.copyFileSync(srcPath, destPath);
} else {
console.warn(`[runtime-postbuild] static asset not found, skipping: ${src}`);
}
}
}