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 {
|
options.hyperhive.claudeMarketplaces = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = [ ];
|
default = [ "anthropics/claude-plugins-official" ];
|
||||||
example = [ "github:anthropics/claude-plugins-official" ];
|
example = [
|
||||||
|
"anthropics/claude-plugins-official"
|
||||||
|
"anthropics/claude-plugins-community"
|
||||||
|
];
|
||||||
description = ''
|
description = ''
|
||||||
Claude Code plugin marketplaces to add at harness boot. Each
|
Claude Code plugin marketplaces to add at harness boot. Each
|
||||||
entry is passed to `claude plugin marketplace add <source>`
|
entry is passed to `claude plugin marketplace add <source>`
|
||||||
(URL, path, or `github:owner/repo`). Idempotent — re-adding an
|
(`owner/repo`, full git URL, or local path). Idempotent —
|
||||||
existing marketplace is treated as success. Required before
|
re-adding an existing marketplace is treated as success.
|
||||||
`hyperhive.claudePlugins` entries that reference a marketplace
|
Required before `hyperhive.claudePlugins` entries that
|
||||||
(e.g. `foo@some-marketplace`). Rendered to
|
reference a marketplace (e.g. `foo@claude-plugins-official`).
|
||||||
`/etc/hyperhive/claude-marketplaces.json`.
|
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