Skip to content

云卷入囊,六境同携 · Bundle PDF support in npm - #50

Merged
eric8810 merged 2 commits into
mainfrom
codex/bundle-pdf-support
Jul 27, 2026
Merged

云卷入囊,六境同携 · Bundle PDF support in npm#50
eric8810 merged 2 commits into
mainfrom
codex/bundle-pdf-support

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

Summary

  • expose PDF and multi-page OCR directly from @arcships/light-ocr and route light-ocr report.pdf to it
  • bundle the pinned PDFium addon and shared library inside each platform npm package
  • keep the stable closure script-free and verify real PDF OCR without network access
  • retain @arcships/light-ocr-document@0.1.1 only as a compatibility entry
  • prepare the conservative 0.5.5 release and update README, roadmap, decisions, and Agent Skill

Local verification

  • npm test
  • npm run typecheck
  • node --test bindings/node/test/cli.test.cjs
  • python3 -m unittest tests.python.test_npm_release tests.python.test_npm_webgpu_release
  • node tools/npm/document-smoke.cjs (HELLO 123)
  • standalone bundled pdfium-loader.cjs render smoke
  • python3 tools/npm_release.py ensure-unpublished --version 0.5.5

@eric8810
eric8810 merged commit 0f5562e into main Jul 27, 2026
2 checks passed
@eric8810
eric8810 deleted the codex/bundle-pdf-support branch July 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant