From f58cd1e897934d709817498a8087ed8be6a2d419 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 23 Mar 2026 12:55:50 +0530 Subject: [PATCH] fix: remote argument schema Removed unnecessary union wrapper for the `remote` argument, now using a direct string schema with optional flag and updated description. --- src/tools/cleanup.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/tools/cleanup.ts b/src/tools/cleanup.ts index 89994bd..18b6f07 100644 --- a/src/tools/cleanup.ts +++ b/src/tools/cleanup.ts @@ -15,13 +15,7 @@ Arguments: - \`noRemote\` (boolean, optional): When true, only delete local tags and do not push deletions to any remote.`, args: { remote: tool.schema - .union([ - tool.schema - .string() - .describe( - "Remote name to push deletions to. Error if doesn't exist.", - ) - ]) + .string() .optional() .describe( "Remote handling: string=specific remote, undefined=first available remote",