Expand description
kb update, and the app’s update: installs the latest release over this one, by running the installer the
README gives, which downloads it, checks its checksum and replaces the binaries, then runs the new version’s
init --all, so none of that is repeated here. Never while an agent works on a task: init --all would rewrite
its instructions and a migration its data mid-session.
Enums§
- Install
- How the running program was installed, which says how to update it.
Constants§
- INSTALL_
PS1 - The installer for Windows, likewise.
Functions§
- agents_
working - The tasks agents are working on, in doing, in every registered repository and the central brain, as
shop/api #3 title(#3 titlein the central brain), askb statusnames them: an update waits for them. A brain that can’t be read, such as one a newer kanbrain wrote, has none to wait for. - check_
no_ agent_ working - Refuses while
agents_workingfinds any, naming them. - clear_
installer_ choices_ ps1 - PowerShell that clears [
INSTALLER_CHOICES] in its session, to run before the installer there. - hide_
console - Keeps a console window from flashing up when the app, which has none, runs a program on Windows.
- install_
of - How the program at
exewas installed. - newer_
release - The latest release’s version,
X.Y.Z, when it’s newer than this one. Asks GitHub, through curl, for where its latest release is. - run_
installer - Runs the installer for
appintodir, on Linux and macOS: the binaries are replaced by renaming, so the running ones carry on.captured, its messages are kept out of sight and the last of them make up the error when it fails, as the app wants; otherwise they’re printed. - update
- Runs the installer for the apps installed where this program is, into the same folder, unless an agent is
working. On Windows it prints the PowerShell command instead, since a running program’s file can’t be replaced
there. Installed with
cargo install, it says to update the same way instead.