mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-24 07:01:49 +00:00
fix(mcp): serialize result.content instead of wrapper object; warn on missing static assets
This commit is contained in:
committed by
Peter Steinberger
parent
3151eb5b48
commit
a8c189f463
@@ -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}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user