fix: make OCR portable and reliable across AMD64 and ARM64 (#519)

* fix: make OCR portable and reliable

* fix: harden OCR installation portability

* fix: pin OCR partials across downloads

* fix: make OCR execution reliably asynchronous

* fix: harden OCR portability and docs routes

* fix: preserve decoder and docs safeguards
This commit is contained in:
SnapOtter
2026-07-15 03:34:24 +08:00
committed by GitHub
parent 58121f205f
commit 991c981529
409 changed files with 67151 additions and 8076 deletions
+10 -3
View File
@@ -78,11 +78,18 @@ const FEATURE_BUNDLES = [
{
id: "ocr",
name: "OCR",
description: "Extract text from images",
description: "Extract text from images and PDFs",
status: "installed",
installedVersion: "1.0.0",
estimatedSize: "3-4 GB",
enablesTools: ["ocr"],
estimatedSize: "~208-234 MiB download / ~409-488 MiB installed",
downloadBytes: 244_622_462,
installedBytes: 510_762_511,
compatibility: "compatible",
selectedTarget: "linux-amd64-cpu-py312",
missingDownloadBytes: 0,
healthyGeneration: "1.0.0-demo",
availableQualities: ["fast", "balanced", "best"],
enablesTools: ["ocr", "ocr-pdf"],
progress: null,
error: null,
},