Skip to content

make Cursor plugin discoverable - #2

Merged
dhaval-gusani merged 1 commit into
sinch:mainfrom
rshah2020:fix/marketplace-manifest-schema
Apr 29, 2026
Merged

make Cursor plugin discoverable#2
dhaval-gusani merged 1 commit into
sinch:mainfrom
rshah2020:fix/marketplace-manifest-schema

Conversation

@rshah2020

Copy link
Copy Markdown

Fixes .cursor-plugin/marketplace.json for the Cursor marketplace parser.
Also drops the redundant plugins/ prefix from source so pluginRoot: "plugins" + source: "sinch-cursor-plugin" resolves to the real plugins/sinch-cursor-plugin directory instead of the doubled plugins/plugins/....

Made with Cursor

- Change `owner` from string to object form (`{name, email}`) so it passes
  `OwnerSchema` validation. The prior string value caused the entire
  marketplace manifest to fail parsing, which is why no components were
  surfaced by the Cursor marketplace.
- Drop the leading `plugins/` segment from the plugin `source`. With
  `metadata.pluginRoot: "plugins"` the parser prepends that prefix, so the
  previous `source: "./plugins/sinch-cursor-plugin"` resolved to
  `plugins/plugins/sinch-cursor-plugin` (a nonexistent directory).
  The plugin now correctly resolves to `plugins/sinch-cursor-plugin`.
- Move display-only metadata (`displayName`, `homepage`, `repository`,
  `license`, `keywords`) onto the plugin entry, which is where the
  marketplace schema accepts and surfaces those fields. The
  `MarketplaceMetadataSchema` only supports `description`, `version`,
  and `pluginRoot`, so keeping them at the root was a no-op.
@dhaval-gusani
dhaval-gusani merged commit 13f71cc into sinch:main Apr 29, 2026
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.

3 participants