@kadoa/mcp 0.5.18 → 0.5.19
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 +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53257,6 +53257,9 @@ function registerTools(server, ctx, capabilities) {
|
|
|
53257
53257
|
if (transitionError)
|
|
53258
53258
|
return errorResult(transitionError);
|
|
53259
53259
|
const result = await ctx.client.assistant.interrupt(sessionId);
|
|
53260
|
+
if (!result.success) {
|
|
53261
|
+
return errorResult("The Assistant interrupt was not accepted because the backend could not deliver it.");
|
|
53262
|
+
}
|
|
53260
53263
|
return jsonResult({
|
|
53261
53264
|
success: result.success,
|
|
53262
53265
|
status: "accepted",
|
|
@@ -53320,6 +53323,9 @@ function registerTools(server, ctx, capabilities) {
|
|
|
53320
53323
|
if (transitionError)
|
|
53321
53324
|
return errorResult(transitionError);
|
|
53322
53325
|
const result = await ctx.client.assistant.stop(sessionId);
|
|
53326
|
+
if (!result.success) {
|
|
53327
|
+
return errorResult("The Assistant stop was not accepted because no active worker received it.");
|
|
53328
|
+
}
|
|
53323
53329
|
return jsonResult({
|
|
53324
53330
|
success: result.success,
|
|
53325
53331
|
status: "accepted",
|
|
@@ -54437,7 +54443,7 @@ var package_default;
|
|
|
54437
54443
|
var init_package = __esm(() => {
|
|
54438
54444
|
package_default = {
|
|
54439
54445
|
name: "@kadoa/mcp",
|
|
54440
|
-
version: "0.5.
|
|
54446
|
+
version: "0.5.19",
|
|
54441
54447
|
description: "Kadoa MCP Server — manage workflows from Claude Desktop, Cursor, and other MCP clients",
|
|
54442
54448
|
type: "module",
|
|
54443
54449
|
main: "dist/index.js",
|