feat: replaced custom mupdf wasm pipeline with native function
- Replaced the custom MuPDF-WASM PDF extraction and rendering pipeline with the new `pdfToMarkdown` native function from `@oh-my-pi/pi-natives`. - Removed legacy MuPDF extraction modules, WASM embedding scripts, and PDF image extraction tools. - Added OCR warnings and browser/text redirection for unsupported PDF image reads. - Updated native package definitions, documentation, and test suites for the new PDF inspection capability.
This commit is contained in:
@@ -61,7 +61,6 @@
|
||||
"ghostty-web": "^0.4.0",
|
||||
"lint-staged": "^17.0.8",
|
||||
"lucide-react": "^1.24.0",
|
||||
"mupdf": "^1.28.0",
|
||||
"onnxruntime-node": "1.26.0",
|
||||
"postcss": "^8.5.16",
|
||||
"prettier": "^3.9.5",
|
||||
@@ -170,8 +169,6 @@
|
||||
"gen:nix": "bun scripts/gen-nix-bun.ts",
|
||||
"gen:tool-views": "bun --cwd=packages/collab-web run gen:tool-views",
|
||||
"gen:bundle": "bun --cwd=packages/coding-agent run gen:bundle",
|
||||
"gen:mupdf": "bun --cwd=packages/coding-agent run gen:mupdf",
|
||||
"gen:mupdf:reset": "bun --cwd=packages/coding-agent run gen:mupdf:reset",
|
||||
"gen:native": "bun --cwd=packages/natives run gen:native",
|
||||
"gen:native:reset": "bun --cwd=packages/natives run gen:native:reset",
|
||||
"check-spoofed-versions": "bun scripts/check-spoofed-versions.ts"
|
||||
|
||||
Reference in New Issue
Block a user