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
+5 -1
View File
@@ -85,7 +85,11 @@ export const jobs = pgTable(
type: text("type").notNull(),
status: jobStatus("status").notNull().default("queued"),
attempts: integer("attempts").notNull().default(0),
progress: jsonb("progress").$type<{ percent: number; stage?: string }>(),
progress: jsonb("progress").$type<{
percent: number;
stage?: string;
result?: Record<string, unknown>;
}>(),
inputRefs: jsonb("input_refs").$type<string[]>(),
outputRefs: jsonb("output_refs").$type<string[]>(),
settings: jsonb("settings").$type<Record<string, unknown>>(),