Expand description
Extension lifecycle management: install, update, and remove extensions.
Re-exportsยง
pub use error::InstallerError;
Modulesยง
- error ๐
- Error types for the extension installer.
- manifest ๐
- Release manifest fetching and validation.
- platform ๐
- Platform detection and binary path utilities.
- skill ๐
- Agent skill installation and removal across coding assistants.
- verify ๐
- Minisign signature verification and SHA-256 checksums for release artifacts.
Structsยง
- Install
Result ๐ - Returned after a successful install with the version and description from the release manifest.
- Install
Source ๐ - Where to fetch and verify an extension release from.
- Installer ๐
- Handles downloading, verifying, and placing extension binaries.
- Resolved
Install ๐ - Fully resolved install plan: all paths and verification material ready.
Constantsยง
- HTTP_
TIMEOUT ๐
Functionsยง
- download_
extension ๐ - Downloads an extension binary, verifies its checksum and signature, and
returns the path to the verified file in
download_dir. - fallback_
bin_ ๐dir - The fallback install directory:
TEMPO_HOME/binif set, else~/.local/bin. - file_
url_ ๐to_ path - Parses a
file://URL into a local path using theurlcrate. - http_
client ๐ - Builds an HTTP client with a 30-second timeout for manifest/binary fetches.
- is_
newer ๐ - Returns
trueifmanifest_versionis strictly newer thaninstalled_version. Uses semver comparison when both parse as semver (with optionalvprefix). For non-semver strings, returnstrueunless they are identical.