Skip to content

Drop pluginRoot so marketplace plugins resolve once - #4

Merged
ROBJkE merged 1 commit into
mainfrom
cursor/fix-plugin-root-path-762a
Sep 24, 2026
Merged

ROBJkE merged 1 commit into
mainfrom
cursor/fix-plugin-root-path-762a

Conversation

@ROBJkE

@ROBJkE ROBJkE commented Sep 24, 2026

Copy link
Copy Markdown

Summary

Cursor prefixes metadata.pluginRoot onto every plugin source. This marketplace already lists repo-relative sources (./plugins/<name>), so install looked up plugins/plugins/<name> and Customize failed with ENOENT.

  • Remove metadata.pluginRoot from .cursor-plugin/marketplace.json. Sources stay ./plugins/<name>.
  • Note in AGENTS.md that pluginRoot must be omitted.
  • Fail validate-cursor-plugins.sh if metadata.pluginRoot is set.

Fixes #3

Test plan

  • .github/scripts/validate-cursor-plugins.sh passes and still finds each plugin's .cursor-plugin/plugin.json
  • Re-import the marketplace in Customize and confirm code-migration loads from plugins/code-migration rather than plugins/plugins/code-migration
Open in Web Open in Cursor 

Cursor prefixes metadata.pluginRoot onto every plugins[].source. Those sources are already repo-relative paths (./plugins/<name>), so the prefix resolved to plugins/plugins/<name> and Customize failed with ENOENT. Maintenance scripts resolve source from the repository root and never apply pluginRoot.

Fixes #3

Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
@ROBJkE
ROBJkE marked this pull request as ready for review September 24, 2026 12:49
@ROBJkE
ROBJkE merged commit 372dc63 into main Sep 24, 2026
2 checks passed
@ROBJkE
ROBJkE deleted the cursor/fix-plugin-root-path-762a branch September 24, 2026 13:00
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.

[COMPONENT] pluginRoot doubles the plugins path, so marketplace plugins fail to load

2 participants