feat(marketplace): add csp code-search plugin and support external plugins in Codex marketplace#233
Conversation
…ugins in Codex marketplace Register the csp plugin (pleaseai/code-search, git-subdir source) in the Claude Code marketplace (.claude-plugin/marketplace.json). Update the multi-format generator (scripts/multi-format.ts) so that the Codex marketplace (.agents/plugins/marketplace.json) now includes external plugins (github / git-subdir / url sources) in addition to local plugins. Introduces a CodexSource union type and a toCodexSource() converter that maps each source kind to its Codex equivalent (github→url, git-subdir→git-subdir, url→url). Update tests (scripts/multi-format.test.ts) to cover the new toCodexSource behavior and regenerate the Codex marketplace expectation; all 56 tests pass and scripts typecheck clean.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthrough
ChangesMulti-source Codex generation and marketplace expansion
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Code Review
This pull request adds support for external plugin sources (such as GitHub repositories and subdirectories) in the Codex marketplace conversion script, mapping them from Claude marketplace formats. It also adds corresponding unit tests and registers several new plugins in the marketplace configuration files. The code review feedback suggests improving the protocol detection regex in normalizeGitUrl to support a wider range of valid Git protocols (e.g., git://, git+https://, git+ssh://) to ensure robustness.
Broaden normalizeGitUrl protocol detection to accept any explicit URL scheme (git://, git+https://, git+ssh://, etc.) and scp-like git@host:repo, per gemini-code-assist review on #233.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|



Summary
Registers the
csp(code-search) plugin frompleaseai/code-searchin the Claude Code marketplace, and fixes a gap in the Codex marketplace generator so that external plugins now appear in the Codex marketplace for parity with the Claude Code marketplace.Changes
New plugin:
csp(pleaseai/code-search)cspentry to.claude-plugin/marketplace.jsonusing agit-subdirsource pointing topleaseai/code-search → plugins/cspCodex marketplace: include external plugins
scripts/multi-format.ts: addedCodexSourceunion type andtoCodexSource()converter that maps each external source kind to its Codex equivalent:github→url(resolved GitHub releases URL)git-subdir→git-subdir(pass-through)url→url(pass-through)toCodexMarketplace()now passes external plugins through the converter instead of filtering them out.agents/plugins/marketplace.json: regenerated — now includescspplus all other external pluginsTests
scripts/multi-format.test.ts: updated existing tests for the new behavior and added a focusedtoCodexSourcesuite (56 tests pass, scripts typecheck clean)Rationale
Codex supports external plugin sources (url, git-subdir), so there was no technical reason to exclude external plugins from the Codex marketplace. This change brings the Codex marketplace to parity with the Claude Code marketplace and ensures newly added external plugins (like
csp) are automatically available to Codex users after runningbun scripts/cli.ts multi-format.Notes
asanaentry in the Claude marketplace) are unrelated to this changeSummary by cubic
Adds the
cspcode-search plugin and updates the Codex marketplace generator to include external plugins for parity with Claude Code. Also broadens git URL handling so more repo URL formats are supported.New Features
cspin.claude-plugin/marketplace.jsonviagit-subdir(plugins/csp).CodexSourceandtoCodexSource()inscripts/multi-format.tsto map external sources (github→url,git-subdir,url)..agents/plugins/marketplace.jsonso Codex includes external plugins, includingcsp.Refactors
normalizeGitUrlto accept explicit URL schemes (e.g.,git://,git+https://,git+ssh://) and scp-likegit@host:repoformats.Written for commit 47a86ed. Summary will update on new commits.
Summary by CodeRabbit