-
Notifications
You must be signed in to change notification settings - Fork 0
fix: claude code marketplace schema #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR SummaryAdds Claude Code marketplace object schema support with type-aware manifest loading and path resolution, updates commands to use it, and refreshes tests and utilities.
Written by Cursor Bugbot for commit 6d88525. This will update automatically on new commits. Configure here. |
|
Caution Review failedThe pull request is closed. Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughRefactors marketplace handling to distinguish AIPM vs Claude marketplaces via Changes
Sequence Diagram(s)sequenceDiagram
participant Cmd as Command (e.g., plugin-install)
participant GM as getMarketplaceType()
participant Dispatcher as loadMarketplaceManifest(path, type)
participant AIPM as loadAipmMarketplaceManifest()
participant Claude as loadClaudeCodeMarketplaceManifest()
Cmd->>GM: getMarketplaceType(marketplaceName)
GM-->>Cmd: MarketplaceType ('aipm' | 'claude')
Cmd->>Dispatcher: loadMarketplaceManifest(marketplacePath, type)
alt type == "claude"
Dispatcher->>Claude: loadClaudeCodeMarketplaceManifest(marketplacePath)
Claude-->>Dispatcher: Manifest | null
else type == "aipm"
Dispatcher->>AIPM: loadAipmMarketplaceManifest(marketplacePath)
AIPM-->>Dispatcher: Manifest | null
end
Dispatcher-->>Cmd: Manifest | null
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (19)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3fa51d9 to
661b85d
Compare
7cde9dc to
fce793d
Compare
fce793d to
9fb9018
Compare
9fb9018 to
70a9887
Compare
Signed-off-by: Yordis Prieto <[email protected]>
70a9887 to
6d88525
Compare
| return { | ||
| source: 'directory', | ||
| path: resolvedPath, | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Claude Code: Redundant Marketplace Paths
Path duplication occurs when converting Claude Code marketplace configs with relative paths. The getClaudeCodeMarketplacePath function joins claudePluginsDir/marketplaces/ with the config's path value, but if the config's path already contains marketplaces/ prefix (like marketplaces/test-marketplace), this creates a duplicated path like ~/.claude/plugins/marketplaces/marketplaces/test-marketplace. The function should strip the marketplaces/ prefix from relative paths before joining, or use the path as-is without the extra marketplaces/ directory.
No description provided.