Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "launchdarkly-mcp",
"name": "launchdarkly",
"version": "0.6.1",
"description": "Connect Codex to LaunchDarkly over MCP: configs and feature management (FM) hosted endpoints, plus bundled guidance for using the tools.",
"author": {
Expand Down
31 changes: 31 additions & 0 deletions tests/test_plugin_manifests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import json
import unittest
from pathlib import Path


ROOT = Path(__file__).resolve().parents[1]
MARKETPLACE = ROOT / ".claude-plugin" / "marketplace.json"
CODEX_MANIFEST = ROOT / ".codex-plugin" / "plugin.json"


class PluginManifestTests(unittest.TestCase):
def test_codex_plugin_name_matches_marketplace(self):
marketplace = json.loads(MARKETPLACE.read_text(encoding="utf-8"))
codex_manifest = json.loads(CODEX_MANIFEST.read_text(encoding="utf-8"))

marketplace_plugins = marketplace.get("plugins", [])
root_plugin = next(
(plugin for plugin in marketplace_plugins if plugin.get("source") == "."),
None,
)

self.assertIsNotNone(root_plugin, "marketplace must include the root plugin")
self.assertEqual(
codex_manifest.get("name"),
root_plugin.get("name"),
"Codex manifest name must match the marketplace plugin name",
)


if __name__ == "__main__":
unittest.main()
Loading