mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-27 09:45:46 +00:00
Implements robust handling for invalid image formats (like 'bmp', 'gif', 'webp') that bypass schema validation: - Added defensive format validation in image tool handler - Automatic path correction to ensure file extensions match actual format used - Warning messages in response when format fallback occurs - Comprehensive unit and integration test coverage for edge cases This ensures invalid formats automatically fall back to PNG as requested, preventing Swift CLI rejection and incorrect file extensions in output paths. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyze-tool.test.ts | ||
| image-tool.test.ts | ||
| invalid-format-integration.test.ts | ||
| mcp-server-real.test.ts | ||
| mcp-server.test.ts | ||
| peekaboo-cli-integration.test.ts | ||