v0.2.1: writer-tool input validation
writer-tool input validation
Three input-validation fixes across the writer tools, plus a design-doc correction.
Fixed:
docgen_export_spreadsheetvalidates worksheet names against Excel's constraints before render — typedinvalid_sheet_nameinstead of a raw ExcelJS throw or silent over-31-character truncation (#4)docgen_fill_formaccepts line-wrapped base64 PDFs (ASCII whitespace stripped before decode); malformed base64 still rejected (#5)docgen_render_pdfrejectsdatasupplied without atemplatevia the declaredinvalid_sourcereason, no longer dropping it silently (#6)docs/design.mdreframesdownloadUrlas a reserved field not emitted in v1 (#7)
152 tests pass; bun run devcheck clean.