Skip to main content

Module version

Module version 

Source
Expand description

Lore version detection and compatibility checking

Provides utilities to detect installed Lore CLI/server versions and verify compatibility with the SDK’s pinned version.

NAP requires an exact match of the full version string against PINNED_LORE_VERSION.

Structs§

LoreInstallationStatus
Status of Lore installation
LoreVersionInfo
A detected Lore version with both parsed semver and raw string forms.

Constants§

PINNED_LORE_ARTIFACT_MANIFEST_SHA256
Digest and Sigstore bundle for the Lore release’s binary checksum manifest. Empty means this Nap source is not eligible for a secure cloud release even though local development can still use the pinned installer.
PINNED_LORE_ARTIFACT_MANIFEST_URL
PINNED_LORE_INSTALLER_SHA256
SHA-256 of scripts/install.sh at the pinned Lore release tag. This makes nap install lore reject a moved tag or compromised download before executing it.
PINNED_LORE_REPOSITORY
Release repository containing the Portals authentication-capable Lore client. Never fall back to the unaffiliated upstream release at runtime.
PINNED_LORE_SIGNATURE_BUNDLE_URL
PINNED_LORE_VERSION
Pinned Lore version that NAP SDK requires.

Functions§

check_lore_compatibility
Check if the installed Lore version exactly matches the pinned version.
detect_lore_version
Detect the installed Lore CLI version
detect_loreserver_version
Detect the installed Lore server version
verify_lore_installation
Verify Lore installation and compatibility