Expand description
Managed Moli runtime for the Code headless search tier.
a3s-search owns the renderer adapter but intentionally leaves executable
provisioning to its host. This module is that host boundary for A3S Code:
it prefers an explicitly configured or packaged sidecar, validates a
versioned cache, and only then downloads a pinned release asset with a
SHA-256 check. Installation is atomic and protected by a cross-process
lock so concurrent SDK/CLI calls cannot publish a partial executable.
Structs§
- Moli
Runtime Info - Secret-free diagnostics for the Moli runtime resolution path.
Constants§
- DEFAULT_
MOLI_ VERSION - MOLI_
REPOSITORY_ URL - MOLI_
RUNTIME_ INFO_ SCHEMA_ V1 - Schema identifier for
MoliRuntimeInfo.
Functions§
- default_
moli_ version - Return the pinned Moli release used when no version is specified.
- ensure_
moli - Ensure a usable Moli executable exists and return its absolute path.
- moli_
runtime_ info - Return the current, secret-free Moli resolution diagnostics.
- packaged_
moli - Locate a packaged Moli sidecar without consulting the cache or network. Hosts that package a native SDK can use this for diagnostics and tests.