Expand description
Engine provisioning for the managed local-model server.
On first use we fetch the prebuilt server engine for the host’s OS/arch and
unpack it into the data dir (engines/), so there is zero external setup.
This replaces the old Node fetch script.
The release coordinates - which distribution, and which artifact per
platform - live in engine_catalog.json (operator/API data, kept out of
source). This module holds only the generic resolve → download → extract →
install logic, reporting progress so a long first download is never a silent
wait.
Structs§
- Engine
Fetch Progress - A progress update emitted while fetching the engine.
Enums§
- Engine
Stage - Coarse phase of the engine fetch.
Functions§
- ensure_
engine - Ensure a managed engine binary exists under
dest(the data-direngines/), fetching the release for this host’s OS/arch if absent. Returns the path to the engine binary; reports progress throughon_progress.