harness: default claudeMarketplaces to anthropics/claude-plugins-official
so every agent has the official Anthropic marketplace registered out of the box and plugin specs like 'foo@claude-plugins-official' resolve without per-agent.nix wiring. operators add more entries (community marketplace, etc.) or override to [] to opt out.
This commit is contained in:
parent
597351ca4e
commit
0cf120e9e9
1 changed files with 13 additions and 7 deletions
|
|
@ -98,16 +98,22 @@
|
|||
|
||||
options.hyperhive.claudeMarketplaces = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
example = [ "github:anthropics/claude-plugins-official" ];
|
||||
default = [ "anthropics/claude-plugins-official" ];
|
||||
example = [
|
||||
"anthropics/claude-plugins-official"
|
||||
"anthropics/claude-plugins-community"
|
||||
];
|
||||
description = ''
|
||||
Claude Code plugin marketplaces to add at harness boot. Each
|
||||
entry is passed to `claude plugin marketplace add <source>`
|
||||
(URL, path, or `github:owner/repo`). Idempotent — re-adding an
|
||||
existing marketplace is treated as success. Required before
|
||||
`hyperhive.claudePlugins` entries that reference a marketplace
|
||||
(e.g. `foo@some-marketplace`). Rendered to
|
||||
`/etc/hyperhive/claude-marketplaces.json`.
|
||||
(`owner/repo`, full git URL, or local path). Idempotent —
|
||||
re-adding an existing marketplace is treated as success.
|
||||
Required before `hyperhive.claudePlugins` entries that
|
||||
reference a marketplace (e.g. `foo@claude-plugins-official`).
|
||||
Rendered to `/etc/hyperhive/claude-marketplaces.json`.
|
||||
|
||||
Defaults to Anthropic's official marketplace; agents get it
|
||||
out of the box without any per-agent.nix wiring.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue