Commit e816685
feat(construct-cli): Phase 2 — imperative installer + 73-agent registry
Adds the vercel-labs-style broad agent support: registry/agents.toml (72 agents ported from vercel-labs/skills src/agents.ts, MIT, + Grok flat) embedded via include_str!, with HM-managed detection (symlink->~/.agents/skills). New commands: `agent list`; `skill add/list/remove/update` (symlink default, --copy, --dry-run, project/global scope). Coexistence rule with the declarative HM module: project-local by default; a global install into an HM-managed dir is refused (explicit --agents -> exit 5, broad selection -> skipped). Registry is dual-licensed GPL-3.0-or-later OR MIT (REUSE.toml + CREDITS.md, §4.2). 16 tests, clippy -D warnings, reuse lint, and nix build all pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6a4abbc commit e816685
16 files changed
Lines changed: 2177 additions & 1 deletion
File tree
- construct-cli
- registry
- src
- commands
- install
- registry
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments