Commit 2bee78d
feat(cli): add fullsend agent subcommand for managing agent registrations
Implements ADR 0058 Phase 2: CLI commands for managing agent entries in
fullsend config files (both org and per-repo).
Subcommands:
- agent add: register by URL or local path with SHA pinning and integrity hash
- agent list: display registered agents in a table
- agent update: re-pin URL agents to a new commit SHA
- agent remove: remove agents and clean up unused allowlist prefixes
GitHub blob/tree URLs are automatically converted to raw content URLs.
Non-GitHub URLs require a pinned commit SHA. Forge client is injected
via dependency injection for testability. Resolved SHAs are validated
before use to prevent index-out-of-range panics.
Signed-off-by: Greg Allen <gallen@redhat.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Greg Allen <gallen@redhat.com>1 parent 97f47f0 commit 2bee78d
7 files changed
Lines changed: 1327 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments