From 0cf120e9e922c72262e4784bc87202df69fbdb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Sun, 17 May 2026 01:38:29 +0200 Subject: [PATCH] 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. --- nix/templates/harness-base.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/nix/templates/harness-base.nix b/nix/templates/harness-base.nix index 116ad47..b78179e 100644 --- a/nix/templates/harness-base.nix +++ b/nix/templates/harness-base.nix @@ -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 ` - (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. ''; };