Skip to content

v0.1.1: first published release — render agent content into downloadable documents

Choose a tag to compare

@cyanheads cyanheads released this 26 Jun 02:43
· 11 commits to main since this release
v0.1.1
08f4a18

first published release — render agent content into downloadable documents

docgen renders the structured content an agent composes into the PDF, xlsx, or filled AcroForm a human downloads. Bundled pdf-lib / exceljs / marked stack, no external API.

Added:

  • docgen_render_pdf — HTML / markdown / {{template}}+data to PDF (pdf-lib); flags degraded when it drops unsupported styling
  • docgen_export_spreadsheet — named row sheets to .xlsx (exceljs) with an optional per-column spec
  • docgen_fill_form — fill/flatten AcroForm PDFs from base64 or an SSRF-guarded URL; misses return in unmatchedFields[]
  • docgen_get_document — re-fetch a rendered document by id within its TTL
  • docgen://document/{documentId} resource — bytes-as-blob + JSON metadata delivery surface
  • Shared DocumentEnvelope and tenant-scoped, TTL-bounded store with a byte ceiling and render timeout (DOCGEN_* config)

Changed:

  • Published under the @cyanheads/docgen-mcp-server npm scope across install, badge, and plugin surfaces

140 tests pass; bun run devcheck clean.