Peekaboo/src/tools
Peter Steinberger 3f4a7c864b Fix list tool server_status handling and improve robustness
- Remove empty string from item_type enum to prevent undefined values
- Add defensive programming to buildSwiftCliArgs to filter out undefined/null values
- Improve item type determination logic with explicit string checks
- Add debug logging for Swift CLI arguments
- Fix double --json-output flag issue

This fixes the "Unknown operation: undefined" error when calling list with server_status.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 11:50:00 +01:00
..
analyze.ts fix: Prevent security vulnerability from malformed app targets 2025-06-08 08:16:39 +01:00
image.ts fix: Prevent security vulnerability from malformed app targets 2025-06-08 08:16:39 +01:00
index.ts Complete MCP best practices compliance and code cleanup 2025-05-27 00:32:54 +02:00
list.ts Fix list tool server_status handling and improve robustness 2025-06-08 11:50:00 +01:00