Route managed WebUI requests through a single inherited-device Router worker.
Supervise per-file execution deadlines, fail affected requests explicitly,
and recycle stalled process trees with bounded shutdown and restart attempts.
Expose configurable task timeouts (default 3600 seconds), separate SDK poll
budgets, preserve startup limits and authentication, and cover recovery with
real subprocess faults and bundled PDF parsing.
Reject Markdown file output before opening Doclib or creating paths, while preserving stdout, JSON, continuation and image output. Keep parse output on the complete export interface and mark historical read-output decisions as superseded.
Refs #5760
Determine batch mode from the original inputs, accept dotted output directories, and retain explicit single-file overwrite behavior. Validate actual document content, preserve structured local and remote errors, and distinguish skipped inputs, per-document failures, and systemic aborts.
Report accurate batch counts and exit status while preserving successful artifacts. Refs #5761, #5764
Resume page and document reads with the consumed cursor while preserving direct-block and bounded-range semantics. Cover continuation through service, HTTP, and CLI-marker paths and document the existing after field.
Require rounded total memory of at least 6 GB for ONNX auto discrete GPUs using DXGI or Vulkan. Fall back to CPU without calibration when memory is insufficient or unavailable; preserve configured devices and Torch behavior.
Refs #5740
Preview local PDFs directly while uploading and prepare image PDFs once for both preview and parsing. Keep PDF.js mounted across conversions, update overlays using original page indices, and remove WebUI PDF recropping. Add source lifecycle isolation, strict material consumption, bilingual upload hints, host contracts, documentation, and regression coverage.
Add authenticated runtime upstream registration and draining while preserving active tasks, streams, and result leases. Support cascaded routers and validate upstream tiers and encoded resource prefixes. Include bilingual documentation and regression coverage.
Expose GradioDocumentIO for per-app page metadata, page-range checks and result persistence. Preserve cancellation drain and test public/browser callbacks, app isolation and host failures.
Validation: 555 Gradio/SDK tests passed with 3 skips in .venv4; combined MinerU/HF Demo regression passed 578 tests with 3 skips on Python 3.12 and Gradio 6.28.0. Ruff and diff checks passed.
Converge the SDK, Gradio, remote CLI, Doclib and Router on Tasks with hash-based uploads, per-file result URLs, task listing and optional model output. Preserve Files and the synchronous file_parse wrapper while removing standalone Uploads/Jobs and local-path HTTP inputs.
Migrate contract, lifecycle, transport and real-document regression coverage; update documentation and HTTP examples. Validation: 1452 passed, 3 conditional skips, plus targeted final PDF checks.
BREAKING CHANGE: clients and workers must use Tasks; standalone Uploads/Jobs endpoints and local-source/inline HTTP options have been removed.
Accept form manifests and per-file uploads with resumable task state and optional source hashes. Publish result URLs only after final ZIP artifacts are ready, and align Router handling with the same protocol.
Remove synchronous parsing and task result routes, drop fixed local upload limits, and update the HTTP client, documentation, and regression coverage.
Apply filename prefix matching to the final query token and paginate the
complete filtered candidate set with stable ordering and accurate totals.
Reuse input page-range syntax in read locators, including rN and all, and
preserve selected-page boundaries during block and character continuation.
Update CLI/SDK/HTTP contracts, bilingual help, documentation, and regressions.
Validation: 667 Doclib/CLI tests passed; Ruff and formatting checks passed.
Refs #5366, #5337, #5365.