65 Commits
Author SHA1 Message Date
Xiaomeng Zhao d3e049f2ba Merge pull request #5781 from myhloli/dev
docs: reorganize bilingual MkDocs guides by workflow
2026-11-18 17:19:50 +08:00
myhloli 1f038d16f3 docs: reorganize bilingual MkDocs guides by workflow
Add runnable CLI, document library, and HTTP examples. Document WebUI exports and Router deployment, and preserve existing page and section links.
2026-11-18 16:54:32 +08:00
myhloli 359f8c79fc fix(runtime): isolate LMDeploy failure and delegate recovery to hosts
Latch dead runtimes across owners, reject new inference and drain affected tasks through the existing failure path. Probe loaded engines with bounded deadlines, keep temporary unavailability recoverable, and preserve ordinary crop fallback.

Keep shutdown cancellation drained without duplicate shield errors. Add Windows TurboMind lifecycle acceptance and require mineru-vl-utils 2.0.9.

Refs #5763
2026-11-13 16:19:31 +08:00
myhloli 9d089cc5a1 refactor(api): remove unimplemented webhook declarations 2026-11-12 15:59:09 +08:00
myhloli c3e1c478c7 feat(runtime): unify process device decisions and expose health device 2026-11-09 10:53:40 +08:00
myhloli 47304a0348 docs: fix router management links for multilingual builds 2026-10-30 15:30:44 +08:00
myhloli 31bea79b7d feat(router): add dynamic upstream management
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.
2026-10-30 15:21:56 +08:00
myhloli a81c0224e9 docs: update documentation references and improve clarity in various files 2026-10-30 04:13:30 +08:00
myhloli b832b8235d fix(tiers): update CPU core requirements for tier recommendations 2026-10-29 22:42:39 +08:00
myhloli d0440c1698 refactor(runtime): simplify automatic tier recommendations 2026-10-29 13:58:18 +08:00
myhloli 955be0a1c0 feat(gradio): unify automatic startup and default tier selection 2026-10-29 12:14:11 +08:00
myhloli 40841e03b9 feat(runtime): gate automatic tiers on GPU memory capacity 2026-10-28 20:25:29 +08:00
myhloli 17caae6512 refactor(api): simplify public error response contract 2026-10-28 18:43:32 +08:00
myhloli 3535fcdab5 feat(hardware): add hardware detection and info commands for diagnostics 2026-10-27 21:02:05 +08:00
myhloli 4c9f9df910 refactor(api): unify tier handling for native documents and update CLI options 2026-10-27 18:43:25 +08:00
myhloli a243103fae refactor(api): update tier handling to support multiple tiers in API calls 2026-10-27 17:14:21 +08:00
myhloli 20f077e51f docs(api): organize task fields by endpoint 2026-10-26 11:23:57 +08:00
myhloli 091244b55c test(file-parse): cover explicit cancellation boundaries
Verify timeout, disconnect and shutdown never send POST cancellation requests. Document explicit upstream cancellation while preserving the file_parse response contract.
2026-10-24 00:00:45 +08:00
myhloli d3dd75821f refactor(api): split task responses and unify file IDs
Generate server-owned file IDs shared by Tasks and result resources. Separate creation, detail, cancellation and upload responses, omitting null fields.

Use POST /v1/tasks/{task_id}/cancel and remove public DELETE endpoints. Update Router, SDK, file_parse recovery, examples and documentation.
2026-10-23 23:46:10 +08:00
myhloli 619765f4d8 refactor(api): unify task file states and response contracts 2026-10-23 19:19:30 +08:00
myhloli 1399b683b4 refactor(api): simplify task protocol and internalize model output 2026-10-23 16:21:59 +08:00
myhloli fb3f81df0a docs(api): specify Tasks, Files and file_parse response contracts 2026-10-23 15:25:02 +08:00
myhloli 28494e633c refactor(api): unify task file fields and generate optional client IDs 2026-10-23 11:53:26 +08:00
myhloli f013067b96 fix(tasks): harden result leases and SDK request handling 2026-10-22 22:50:48 +08:00
myhloli 7f250e2331 feat(api)!: make Tasks the only asynchronous parsing API
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.
2026-10-22 21:39:42 +08:00
myhloli f59acf1ffa feat(api): add recoverable synchronous file parsing service 2026-10-22 18:42:54 +08:00
myhloli 57485941fb feat(api): process JSON tasks and deliver per-file outputs 2026-10-22 18:41:58 +08:00
myhloli 3702cd7c56 feat(api): support URL inputs in v1 tasks 2026-10-21 15:00:29 +08:00
myhloli c666e08dc7 feat(api): unify task uploads and result download links
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.
2026-10-20 10:48:28 +08:00
myhloli 5b477601a0 Document PR triage outcomes and service retention and recovery settings 2026-10-10 01:17:33 +08:00
myhloli e614751847 feat(api): add V1 task endpoints and balance Router workloads 2026-10-09 19:40:15 +08:00
myhloli f504cff8b0 feat(api): introduce virtual model ID and description for model endpoints 2026-09-29 19:49:14 +08:00
myhloli a6be4df4bb fix(webui): display server duration for fast API tasks 2026-09-24 19:04:52 +08:00
myhloli bea1f6fac0 feat(tiers): extend file type normalization to include MHTML/MHT and update parsing rules 2026-09-24 01:58:17 +08:00
myhloli 366fadb1c9 Promote TSV to an independent file suffix (ADR-0034)
- Route tsv through the shared CSV flash pipeline with an independent
  file_type and metadata.file_suffix; bump docvortex pin to 0.4.9
- Add ADR-0034 documenting the content-addressed cache identity decision,
  annotate ADR-0028, and update docs/next tier-group wording, telemetry
  and e2e specs
- Cover detection, sync/async analyze, API server jobs and doclib
  lifecycle for tsv in tests
2026-09-16 17:55:07 +08:00
myhloli ca15b93826 Update Middle JSON to schema 2.0 with unified metadata handling and remove legacy support 2026-09-07 15:46:31 +08:00
myhloli 6026f73304 feat: add support for disabling Advanced tier in API server and update related documentation 2026-09-05 12:39:12 +08:00
myhloli 95015271b7 feat: remove global OCR mode configuration and update API to use request-level OCR mode 2026-09-04 23:13:35 +08:00
myhloli 82965669bd fix: update page range syntax in documentation and codebase for compatibility with new format 2026-09-04 14:55:14 +08:00
myhloli dcc69e4e9b fix: update page range syntax from '~' to '-' across documentation and codebase 2026-09-04 11:48:37 +08:00
Lubanandmultica-agent 51f6ff6b5c docs(next): fix review findings — internal_error is api_error's fallback code, models description is null
Co-authored-by: multica-agent <github@multica.ai>
2026-09-02 10:13:32 +08:00
Luban e210c0bfe6 Merge remote-tracking branch 'origin/next' into agent/luban/b644fe838c78-api 2026-09-02 10:12:28 +08:00
Lubanandmultica-agent 01f50bd38c docs(next): align api docs with current implementation
Co-authored-by: multica-agent <github@multica.ai>
2026-09-01 18:57:04 +08:00
8e7206d70e docs(next): drift-fix batch 1 — A/B-tier status upgrades, default tier order, schema_version 2.0
- Upgrade 12 drift-free topic docs to Implemented and mark 20 audited
  ADRs as Accepted/implemented (with B-tier touch-ups first).
- B-tier fixes: ADR-0003 doc_ref= param, ADR-0004 SDK naming
  (DoclibClient.ensure_parse/list_parses/get_parse/get_doc_content/
  invalidate), ADR-0020 parse_server_*_logs classification, ADR-0021
  remove stale contradicted sentence, ADR-0022 EPUB matrix rows,
  ADR-0027 image_url branch note; structured-content-current.md notes
  ContentTypeV2 vocabulary still used by Content List V2.
- Unify default quality tier selection order to standard -> basic
  (parsing rules: standard -> basic -> flash); cached read order
  (advanced -> standard -> basic) unchanged.
- Unify Middle JSON schema_version to 2.0 and correct the legacy
  migration narrative: pdf_info/1.0 pages are runtime-converted by
  ParseResult.from_dict()/doclib compaction, while bare unversioned
  pages payloads are rejected.

Refs: Multica issue MINERU-10 (docs/next drift audit batch 1)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-09-01 18:12:11 +08:00
myhloli b67bbd49c9 feat: add OFD document parsing support and update Middle JSON schema to 3.0 2026-08-28 18:35:53 +08:00
myhloli 160a9b80c4 feat: add HTML parsing support and enhance image handling 2026-08-27 20:53:11 +08:00
myhloli b39de7d54d feat: refine page range handling for PDF and non-PDF inputs, ensuring only PDF supports explicit ranges 2026-08-26 19:50:40 +08:00
myhloli e8ae64a85a feat: add native EPUB parsing support and update documentation 2026-08-26 15:45:51 +08:00
myhloli 5dd63a602a feat: add support for CSV file parsing and update documentation 2026-08-26 11:36:21 +08:00
jinzhenj fbf08ebea0 feat: use new backend and render 2026-08-25 11:04:03 +08:00