mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
Fix ESLint violations for release
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
797fb3c7cf
commit
41fafd6d9f
1 changed files with 2 additions and 2 deletions
|
|
@ -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() !== "") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue