From 66681f450cfa5501875474c7d17b9790a4520597 Mon Sep 17 00:00:00 2001 From: avirgili-eclub Date: Sat, 14 Mar 2026 14:01:14 -0300 Subject: [PATCH] fix: use relative path string for plugin source in marketplace.json The marketplace.json used an object format with `"type": "git-subdir"` for the plugin source field. This does not conform to the Claude Code marketplace schema, which expects either: - A relative path string (for plugins within the same marketplace repo) - An object with `"source"` as the discriminator key (for external repos) Since the engram plugin lives inside this same repository at `plugin/claude-code/`, the correct format is a relative path string: `"./plugin/claude-code"`. This caused `claude plugin marketplace add` and `engram setup claude-code` to fail with: "Invalid schema: plugins.0.source: Invalid input" Tested locally: marketplace add + plugin install both succeed after fix. --- .claude-plugin/marketplace.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index f806dc6..8ccfcde 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -14,11 +14,7 @@ "author": { "name": "Gentleman Programming" }, - "source": { - "type": "git-subdir", - "url": "https://github.com/Gentleman-Programming/engram.git", - "path": "plugin/claude-code" - }, + "source": "./plugin/claude-code", "category": "productivity", "homepage": "https://github.com/Gentleman-Programming/engram" }