Skip to content

Commit 90aa44e

Browse files
authored
Merge pull request #5 from theopenapps/codex-list-metadata
The Codex manifest carries a version, interface metadata and an icon
2 parents 9a8d083 + 1231e7d commit 90aa44e

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎.codex-plugin/plugin.json‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "plugin-stack",
3+
"version": "1.0.0",
34
"description": "Skills for AI plugin builders: optimize listings, submit to stores, audit discoverability, design widgets and watch competitors, on live data from OpenApps",
45
"author": {
56
"name": "The Open Apps, Inc.",
@@ -8,5 +9,12 @@
89
"homepage": "https://theopenapps.com?ref=plugin-stack",
910
"repository": "https://github.com/theopenapps/plugin-stack",
1011
"license": "MIT",
11-
"skills": "./skills/"
12+
"skills": "./skills/",
13+
"interface": {
14+
"displayName": "Plugin Stack",
15+
"shortDescription": "Optimize listings, submit to stores, audit discoverability, design widgets and watch competitors",
16+
"developerName": "The Open Apps, Inc.",
17+
"websiteURL": "https://theopenapps.com?ref=plugin-stack",
18+
"composerIcon": "./assets/icon.svg"
19+
}
1220
}

‎assets/icon.svg‎

Lines changed: 1 addition & 0 deletions
Loading

‎scripts/check-skills.mjs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ for (const skill of skills) {
7979
if (licenses.size > 1) fail("LICENSE.txt", `differs across skills: ${[...licenses.values()].map((s) => s.join(", ")).join(" | ")}`);
8080

8181
// Claude Code holds back an update until the version changes. With no version, every commit on main is an update.
82-
for (const manifest of [".claude-plugin/plugin.json", ".codex-plugin/plugin.json"]) {
83-
if ("version" in JSON.parse(readFileSync(manifest, "utf8"))) fail(manifest, "has a version");
84-
}
82+
if ("version" in JSON.parse(readFileSync(".claude-plugin/plugin.json", "utf8"))) fail(".claude-plugin/plugin.json", "has a version");
83+
// Codex updates whatever the version says, and the HOL list requires one, so its manifest keeps a fixed one.
84+
if (JSON.parse(readFileSync(".codex-plugin/plugin.json", "utf8")).version !== "1.0.0") fail(".codex-plugin/plugin.json", "version is not 1.0.0");
8585

8686
if (errors.length) {
8787
console.error(errors.join("\n"));

0 commit comments

Comments
 (0)