Skip to main content

Module cli_release

Module cli_release 

Source
Expand description

The container route for the agent CLIs that are not on npm: grok and muse (a pinned release file). The same registry as the host’s own copy (backend::cli_download::SPECS) gives the URL, the SHA-256 and the size, so one pin covers both. No vendor script is run, and nothing a caller sends decides what is fetched: the script gets its values from the registry as positional parameters, never spliced into the script text.

The install lands in the per-agent volume (/home/agent/.agentmux/cli) beside the npm installs and ends with the same completion marker: bin/<command> for a release file. SPEC_ISOLATED_INSTALL_FOR_NON_NPM_CLIS_2026_11_05.md, PR 5d.

Structs§

Upload
A file the install script reads, written into the container’s /tmp before it runs.

Enums§

Source
How a CLI gets into the container.

Statics§

DOWNLOAD_SCRIPT
The script, assembled once.

Functions§

download_argv
argv that installs a pinned release file. None when the provider has no entry in the download registry.
source_for
The registry entry for a provider’s non-npm route, if it has one that can run in a Linux container.