Skip to main content

Module moli_runtime

Module moli_runtime 

Source
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§

MoliRuntimeInfo
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.