Skip to main content

Module update

Module update 

Source
Expand description

blyte update: replace this binary with the latest GitHub 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 repository is private, so the download goes through the GitHub CLI (gh), which already holds the user’s access; blyte handles no token. The new binary must run before it replaces the old one, the old one 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).

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.
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_repo_url
Alias for parse_repo.
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.