Skip to main content

Module update

Module update 

Source
Expand description

blyte update: update this binary to the latest release (2026-09-30).

Releases carry one static binary per platform (release-on-merge.yml). The repository is the repository field of the workspace Cargo.toml. The latest release is read over HTTPS from the GitHub API. If blyte was installed from crates.io via cargo it runs cargo install blyte --locked; otherwise it downloads the platform binary over HTTPS and checks that it runs before replacing the old one. The old binary is kept beside it as blyte.prev (blyte update --rollback swaps them back), and every installed copy of the skill is refreshed when unedited, for every harness (2026-10-01).

Enums§

InstallMethod
How the running blyte binary was installed.

Constants§

REPO
The repository whose releases are installed. The repository is the repository field of the workspace Cargo.toml.

Functions§

asset_name
The release asset for this machine, or None where no binary is built.
install_method
Determine whether exe was installed from crates.io with cargo or as a standalone binary.
parse_repo
Parse a GitHub repository URL into an owner/name pair, stripping a leading https://github.com/ and any trailing / or .git. Returns None if the URL is not a valid GitHub repository URL.
parse_version
v0.2.1 or 0.2.1 as (0, 2, 1).
refresh_skills
Refresh every installed skill copy with new_exe when unedited, keeping whether blyte is the default.
repo
The repository whose releases are installed (owner/name).
rollback
Swap exe and blyte.prev.
run
blyte update [--check | --rollback]; returns the process exit code.