Skip to main content

install_bundled_runtime

Function install_bundled_runtime 

Source
pub fn install_bundled_runtime() -> Option<PathBuf>
Expand description

Returns the path to the bundled copilot-runtime executable, extracting it with adjacent runtime.node on first call.

This is intended for health checks and intermediate launchers that need the concrete managed runtime path before Client::start. Subsequent calls return the cached result.

Returns None when the bundled-cli feature is off, the target platform isn’t supported, or extraction failed. It does not fall back to the build-time extraction cache.