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§
- Lore
Installation Status - Status of Lore installation
- Lore
Version Info - 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.shat the pinned Lore release tag. This makesnap install lorereject 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