@agentconnect.md/daemon 1.0.0-rc.31 → 1.0.0-rc.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9878,6 +9878,7 @@ async function runBridge() {
|
|
|
9878
9878
|
name: req.params.name,
|
|
9879
9879
|
args: req.params.arguments ?? {}
|
|
9880
9880
|
});
|
|
9881
|
+
if (result && typeof result === "object" && Array.isArray(result.mcpContent)) return { content: result.mcpContent };
|
|
9881
9882
|
return { content: [{
|
|
9882
9883
|
type: "text",
|
|
9883
9884
|
text: typeof result === "string" ? result : JSON.stringify(result, null, 2)
|
|
@@ -9897,4 +9898,4 @@ async function runBridge() {
|
|
|
9897
9898
|
//#endregion
|
|
9898
9899
|
export { runBridge };
|
|
9899
9900
|
|
|
9900
|
-
//# sourceMappingURL=bridge-
|
|
9901
|
+
//# sourceMappingURL=bridge-hZMpl3k6.js.map
|