@kadoa/mcp 0.4.3-rc.2 → 0.4.3-rc.3
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.
- package/dist/index.js +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50267,6 +50267,15 @@ function extractApiMessage(responseBody) {
|
|
|
50267
50267
|
msg = msg ? `${msg} — Details: ${details}` : `Validation failed — Details: ${details}`;
|
|
50268
50268
|
}
|
|
50269
50269
|
}
|
|
50270
|
+
if (!msg && Array.isArray(body.issues)) {
|
|
50271
|
+
const details = body.issues.map((issue2) => {
|
|
50272
|
+
const path = Array.isArray(issue2.path) ? issue2.path.join(".") : "";
|
|
50273
|
+
const message = typeof issue2.message === "string" ? issue2.message : String(issue2.code ?? "invalid");
|
|
50274
|
+
return path ? `${path}: "${message}"` : `"${message}"`;
|
|
50275
|
+
}).join(", ");
|
|
50276
|
+
if (details)
|
|
50277
|
+
msg = `Validation failed — Details: ${details}`;
|
|
50278
|
+
}
|
|
50270
50279
|
return msg;
|
|
50271
50280
|
}
|
|
50272
50281
|
function inferResourceType(toolName) {
|
|
@@ -51435,7 +51444,7 @@ var package_default;
|
|
|
51435
51444
|
var init_package = __esm(() => {
|
|
51436
51445
|
package_default = {
|
|
51437
51446
|
name: "@kadoa/mcp",
|
|
51438
|
-
version: "0.4.3-rc.
|
|
51447
|
+
version: "0.4.3-rc.3",
|
|
51439
51448
|
description: "Kadoa MCP Server — manage workflows from Claude Desktop, Cursor, and other MCP clients",
|
|
51440
51449
|
type: "module",
|
|
51441
51450
|
main: "dist/index.js",
|