diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index c98b525f..7f8ae7b6 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -21,6 +21,7 @@ "workflow" ], "skills": "./skills/", + "hooks": "./hooks/hooks-codex.json", "interface": { "displayName": "Superpowers", "shortDescription": "Planning, TDD, debugging, and delivery workflows for coding agents", diff --git a/tests/codex/test-marketplace-manifest.sh b/tests/codex/test-marketplace-manifest.sh index 486cb301..c7093f6b 100755 --- a/tests/codex/test-marketplace-manifest.sh +++ b/tests/codex/test-marketplace-manifest.sh @@ -51,16 +51,11 @@ if not plugin_manifest.exists(): manifest = json.loads(plugin_manifest.read_text(encoding="utf-8")) assert_equal(manifest.get("name"), plugin.get("name"), "plugin manifest name") - -unsupported_manifest_fields = ["hooks"] -present_unsupported = sorted( - field for field in unsupported_manifest_fields if field in manifest +assert_equal( + manifest.get("hooks"), + "./hooks/hooks-codex.json", + "Codex hooks manifest", ) -if present_unsupported: - raise AssertionError( - "unsupported Codex manifest fields present: " - + ", ".join(present_unsupported) - ) print("Codex marketplace manifest looks good") PY