Skip to main content

Crate registry_cli

Crate registry_cli 

Source
Expand description

agr — install agent artifacts from the public registry into a project.

Read-only v1: search, info, install, update, uninstall. The install manifest (fetched from the registry API) is the contract; files are downloaded from their pinned source URLs and written to each ecosystem’s conventional path. Installs are recorded in lockfile (agr.lock), which is also what uninstall reads — removal needs no network.

Modules§

client
HTTP client for the registry REST API.
lockfile
agr.lock — the record of what was installed. Versioned TOML with stable ordering so diffs are reviewable. Format documented in docs/registry/LOCKFILE.md.
ops
Install / update / uninstall operations over the registry client and lockfile.

Enums§

CliError
Errors surfaced by the CLI.

Functions§

parse_handle
Parse an @ns/slug (or ns/slug) handle into (namespace, slug).
publish_line
The line agr publish prints on success, derived from the gateway’s response body.

Type Aliases§

Result
Convenience alias.