From edcbbc0bfdaad6e929ce9b20fbd24b4f1a276262 Mon Sep 17 00:00:00 2001 From: Renan Fagundes Date: Mon, 16 Nov 2026 16:27:54 +0000 Subject: [PATCH] feat: add the missing display fields to the Claude marketplace entry The unity entry in .claude-plugin/marketplace.json now carries author, homepage, repository, license and keywords, so /plugin listings show them before install. sync-manifests.mts writes them from plugin-metadata.json, so they cannot drift from the other manifests. version stays out of the entry because plugin.json wins at install. CLI-2468 Co-Authored-By: Claude Sonnet 5.5 --- .claude-plugin/marketplace.json | 23 ++++++++++++++++++++++- scripts/sync-manifests.mts | 4 ++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 4a0fbe1..3ae3229 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,28 @@ "name": "unity", "source": "./", "description": "Unity's official game development plugin. Build, monetize, and operate Unity games with guidance grounded in Unity's documented practices.", - "category": "Developer Tools" + "category": "Developer Tools", + "author": { + "name": "Unity Technologies", + "url": "https://unity.com" + }, + "homepage": "https://unity.com", + "repository": "https://github.com/Unity-Technologies/unity-agent-plugin", + "license": "LicenseRef-Unity-Companion-License", + "keywords": [ + "unity", + "gamedev", + "game-development", + "ui-toolkit", + "ugui", + "2d", + "tilemap", + "in-app-purchases", + "monetization", + "localization", + "multiplayer", + "shader-graph" + ] } ] } diff --git a/scripts/sync-manifests.mts b/scripts/sync-manifests.mts index 8144528..41f961c 100644 --- a/scripts/sync-manifests.mts +++ b/scripts/sync-manifests.mts @@ -55,6 +55,10 @@ const targets: { file: string; set: (manifest: JsonObject) => void }[] = [ set: (m) => { const entry = pluginEntry(m as Marketplace); delete entry.version; + // Display fields: the entry's value is what users see in /plugin before install. + for (const key of ['author', 'homepage', 'repository', 'license', 'keywords'] as const) { + setKey(entry, key, structuredClone(meta[key])); + } entry.category = meta.category; }, },