Fixed
- HTTP
/analyzeendpoint now validates request bodies against the sameAnalyzePdfInputSchemaused by the MCP path. Previously a hand-rolled truthy check accepted malformedpdf_sourcevalues (numbers, objects, etc.), which then crashed insidevalidateLocalPathwithCannot read properties of undefined (reading 'trim'). Malformed bodies now return400with zod's path-aware error details. (#42)
Changed
src/types.tsexports a sharedAnalyzePdfInputShapeconsumed by both the MCP tool registration and the HTTP/analyzehandler, eliminating the duplicated inline schema definitions.
Installation
See README for installation instructions.
Checksums
See checksums.txt for SHA256 checksums.