Files
myhloli afda7189de refactor: clarify task, document and model lifecycle boundaries
Separate shared Tasks contracts and single-file execution from HTTP and local
adapters. Extract Doclib content reads and cache access, defer configuration
loading, and apply SQLite runtime settings to every connection.

Track application, document and initialization leases across model caches.
Use explicit VLM resource handles and separate WebUI conversion work from
component updates while preserving existing HTTP contracts.

Validation: 4080 non-Torch unit tests passed with 3 skips; API and Router
OpenAPI unchanged. Installed-wheel PDF/render/API/WebUI/CLI smoke passed.
Metal inference verified sharing, cancellation drain, final-owner cleanup and
recreation. Unrelated local PDF-style test changes and examples are excluded.
2026-10-25 14:56:09 +08:00
..