From 41fafd6d9fda1968cb7ef3b5c8aed6fd1c76dd11 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 8 Jun 2025 20:30:32 +0100 Subject: [PATCH] Fix ESLint violations for release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/tools/list.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/list.ts b/src/tools/list.ts index b4f43f2..c688cab 100644 --- a/src/tools/list.ts +++ b/src/tools/list.ts @@ -30,7 +30,7 @@ export const listToolSchema = z }, z .enum(["running_applications", "application_windows", "server_status"]) - .optional() + .optional(), ) .describe( "Specifies the type of items to list. If omitted or empty, it defaults to 'application_windows' if 'app' is provided, otherwise 'running_applications'. Valid options are:\n" + @@ -404,7 +404,7 @@ async function handleServerStatus( export function buildSwiftCliArgs(input: ListToolInput): string[] { const args: string[] = ["list"]; - + // Determine item type with defensive checks let itemType: string; if (input.item_type && typeof input.item_type === "string" && input.item_type.trim() !== "") {