mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-13 12:35:51 +00:00
- Add preprocessing to handle JSON string arrays from MCP clients - Support multiple input formats: JSON string, comma-separated, single value - Handle empty strings and null/undefined values gracefully - Add comprehensive test coverage for all parsing scenarios - Fixes "Expected array, received string" error when MCP clients send JSON string arrays This resolves the issue shown in the test screenshot where include_window_details was sent as '["ids", "bounds", "off_screen"]' (JSON string) instead of a proper array. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyze-edge-cases.test.ts | ||
| analyze.test.ts | ||
| image-edge-cases.test.ts | ||
| image.test.ts | ||
| list.test.ts | ||