feat: v1.0 — am registry : registre communautaire de catalogues (publication + recherche sur Gitea), manifeste source/version/auteur/sha256, installation avec validation du checksum et décision de confiance explicite (closes #77)

- src/registry.rs : Manifest (schema/name/version/author/source/agents_count/sha256), publish (écrit am-manifest.json + instructions git), search (multi-sources via settings.registry.sources), install (manifeste → catalogue → sha256 → source cohérente → confiance → register_include), list
- settings.registry {sources, author} + doc config.yaml ; CLI/REPL/help/man/i18n
- 11 tests : hash, manifest_url, publish (fichier + refus catalogue vide/sans source), E2E install tiny_http (refus sans confiance, enregistrement avec --yes, 4 requêtes), source mismatch
This commit is contained in:
2026-08-19 22:23:32 -04:00
parent 12eb09b01a
commit 900f70c249
13 changed files with 683 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH am-registry 1 "registry "
.SH NAME
registry \- Community registry (issue #77): publish, search and install agent catalogs hosted on Gitea
.SH SYNOPSIS
\fBregistry\fR [\fB\-h\fR|\fB\-\-help\fR] [\fIsubcommands\fR]
.SH DESCRIPTION
Community registry (issue #77): publish, search and install agent catalogs hosted on Gitea
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help
.SH SUBCOMMANDS
.TP
registry\-publish(1)
Prepare a catalog + manifest (source, version, author, sha256) for publication on Gitea
.TP
registry\-search(1)
Search agents across the registered sources (settings.registry.sources)
.TP
registry\-install(1)
Install a catalog from the registry: manifest + checksum validation, then an explicit trust decision for unknown sources
.TP
registry\-list(1)
List the registered sources
.TP
registry\-help(1)
Print this message or the help of the given subcommand(s)
+3
View File
@@ -118,6 +118,9 @@ Schedule am commands (issue #56)
am\-models(1)
List local models (ollama, llama.cpp, LM Studio) and prune unused ones
.TP
am\-registry(1)
Community registry (issue #77): publish, search and install agent catalogs hosted on Gitea
.TP
am\-catalog(1)
Manage remote catalogs: update the official one, add external ones
.TP