Skip to content

v1.2.4

Latest

Choose a tag to compare

@github-actions github-actions released this 08 May 16:52
· 2 commits to main since this release
3261f0b

Fixed

  • HTTP /analyze endpoint now validates request bodies against the same AnalyzePdfInputSchema used by the MCP path. Previously a hand-rolled truthy check accepted malformed pdf_source values (numbers, objects, etc.), which then crashed inside validateLocalPath with Cannot read properties of undefined (reading 'trim'). Malformed bodies now return 400 with zod's path-aware error details. (#42)

Changed

  • src/types.ts exports a shared AnalyzePdfInputShape consumed by both the MCP tool registration and the HTTP /analyze handler, eliminating the duplicated inline schema definitions.

Installation

See README for installation instructions.

Checksums

See checksums.txt for SHA256 checksums.