Skip to content

Add Codex plugin manifest schema#5846

Open
Nick2bad4u wants to merge 1 commit into
SchemaStore:masterfrom
Nick2bad4u:add-codex-plugin-manifest-schema
Open

Add Codex plugin manifest schema#5846
Nick2bad4u wants to merge 1 commit into
SchemaStore:masterfrom
Nick2bad4u:add-codex-plugin-manifest-schema

Conversation

@Nick2bad4u

Copy link
Copy Markdown
Contributor

Summary

Adds a SchemaStore schema for Codex plugin manifests at .codex-plugin/plugin.json.

This is the correct schema surface for OpenAI Codex PR #29488, which added dark-mode plugin logo metadata. The existing codex-skill-metadata.json schema covers agents/openai.yaml skill metadata; that skill metadata surface still does not expose plugin interface.logoDark.

This schema includes:

  • interface.logoDark for local package-relative dark-mode logo assets
  • local plugin interface fields from the Codex plugin manifest validator
  • negative fixtures for invalid logoDark values
  • negative fixtures showing that app-server/remote-catalog fields such as logoUrlDark are not accepted in local plugin.json
  • a negative fixture for unsupported top-level hooks, matching the bundled validator's accepted manifest keys

Sources

Validation

  • node .\cli.js check --schema-name=codex-plugin-manifest.json
  • npm run prettier -- --cache --ignore-unknown .\src\schemas\json\codex-plugin-manifest.json .\src\api\json\catalog.json .\src\test\codex-plugin-manifest\plugin.json .\src\test\codex-plugin-manifest\inline-mcp.json .\src\negative_test\codex-plugin-manifest\invalid-logo-dark-type.json .\src\negative_test\codex-plugin-manifest\remote-logo-url-dark.json .\src\negative_test\codex-plugin-manifest\unsupported-hooks-field.json

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant