From 46ff107c546c78bfcc42a1ff67e5f3866e8d8da9 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 16 Mar 2026 10:20:19 +0000 Subject: [PATCH] fix: Swapped two lines in windows and linux incorrect executors in ability creation --- app/mcp_server.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/mcp_server.py b/app/mcp_server.py index d1de315..1bf614b 100644 --- a/app/mcp_server.py +++ b/app/mcp_server.py @@ -400,8 +400,8 @@ def create_windows_ability( created_command = create_command(command_description, "windows") # Create the executor object with default values for optional fields executor = { - "name": "windows", - "platform": "psh", + "name": "psh", + "platform": "windows", "command": created_command, "code": None, "language": None, @@ -467,8 +467,8 @@ def create_linux_ability( # Create the executor object with default values for optional fields executor = { - "name": "linux", - "platform": "sh", + "name": "sh", + "platform": "linux", "command": created_command, "code": None, "language": None,