Skip to content

feat(marketplace): add csp code-search plugin and support external plugins in Codex marketplace#233

Merged
amondnet merged 2 commits into
mainfrom
amondnet/codesearch
Jun 24, 2026
Merged

feat(marketplace): add csp code-search plugin and support external plugins in Codex marketplace#233
amondnet merged 2 commits into
mainfrom
amondnet/codesearch

Conversation

@amondnet

@amondnet amondnet commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Registers the csp (code-search) plugin from pleaseai/code-search in 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)

  • Added csp entry to .claude-plugin/marketplace.json using a git-subdir source pointing to pleaseai/code-search → plugins/csp

Codex marketplace: include external plugins

  • scripts/multi-format.ts: added CodexSource union type and toCodexSource() converter that maps each external source kind to its Codex equivalent:
    • githuburl (resolved GitHub releases URL)
    • git-subdirgit-subdir (pass-through)
    • urlurl (pass-through)
  • toCodexMarketplace() now passes external plugins through the converter instead of filtering them out
  • .agents/plugins/marketplace.json: regenerated — now includes csp plus all other external plugins

Tests

  • scripts/multi-format.test.ts: updated existing tests for the new behavior and added a focused toCodexSource suite (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 running bun scripts/cli.ts multi-format.

Notes

  • Pre-existing validation warnings (duplicate asana entry in the Claude marketplace) are unrelated to this change
  • All 56 scripts tests pass; TypeScript typecheck clean

Summary by cubic

Adds the csp code-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

    • Registered csp in .claude-plugin/marketplace.json via git-subdir (plugins/csp).
    • Added CodexSource and toCodexSource() in scripts/multi-format.ts to map external sources (githuburl, git-subdir, url).
    • Regenerated .agents/plugins/marketplace.json so Codex includes external plugins, including csp.
  • Refactors

    • Expanded normalizeGitUrl to accept explicit URL schemes (e.g., git://, git+https://, git+ssh://) and scp-like git@host:repo formats.

Written for commit 47a86ed. Summary will update on new commits.

Summary by CodeRabbit

  • New Features
    • Expanded the plugin marketplace with many new listings across development, observability, design, cloud, and productivity.
    • Broadened marketplace source support, enabling additional marketplace source types to be recognized and converted consistently.
  • Bug Fixes
    • Improved marketplace conversion behavior for duplicates and for entries that can’t be represented in the target format.
  • Tests
    • Added and updated test coverage for marketplace/source conversion and plugin mapping behavior.

…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.
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
claude-code-plugins Ready Ready Preview, Comment Jun 24, 2026 12:02pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3f8bb397-9262-4a7c-9290-92146da08106

📥 Commits

Reviewing files that changed from the base of the PR and between 6cfd9ac and 47a86ed.

📒 Files selected for processing (1)
  • scripts/multi-format.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • scripts/multi-format.ts

📝 Walkthrough

Walkthrough

scripts/multi-format.ts now converts Claude marketplace source shapes into Codex sources with toCodexSource, and toCodexMarketplace uses that mapping with deduplication and skips unsupported entries. Tests cover the new conversions, and both marketplace manifests add new plugin entries.

Changes

Multi-source Codex generation and marketplace expansion

Layer / File(s) Summary
CodexSource type and toCodexSource converter
scripts/multi-format.ts
Adds CodexSource, URL normalization helpers, and toCodexSource; updates marketplace conversion to deduplicate by name and omit unconvertible sources.
Updated and new toCodexSource tests
scripts/multi-format.test.ts
Expands marketplace conversion assertions and adds coverage for local, github, url, git-subdir, full git URL, and null source mappings.
New plugin entries in marketplace manifests
.agents/plugins/marketplace.json, .claude-plugin/marketplace.json
Adds new plugin entries across both manifests, including csp in .claude-plugin/marketplace.json and multiple additional entries in .agents/plugins/marketplace.json.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐇 I hopped through sources, swift and light,
From git-subdir paths to URLs bright.
New plugins lined the warren floor,
And Codex learned a little more.
Hop hop—maps made neat and clear,
With every source now welcome here.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 71.43% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the two main changes: adding the csp plugin and supporting external plugins in the Codex marketplace.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch amondnet/codesearch

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread scripts/multi-format.ts
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.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

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.

@amondnet amondnet merged commit 0fe1d11 into main Jun 24, 2026
13 checks passed
@amondnet amondnet deleted the amondnet/codesearch branch June 24, 2026 12:14
@sonarqubecloud

Copy link
Copy Markdown

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