feat: add slash commands support to marketplace#9917
Closed
hannesrudolph wants to merge 3 commits intomainfrom
Closed
feat: add slash commands support to marketplace#9917hannesrudolph wants to merge 3 commits intomainfrom
hannesrudolph wants to merge 3 commits intomainfrom
Conversation
- Add 'command' type to marketplace item schema with content and argumentHint - Implement command detection in MarketplaceManager for project and global directories - Add fetchCommands() to RemoteConfigLoader for API integration - Add installCommand() and removeCommand() to SimpleInstaller - Add 'Slash Commands' tab to marketplace UI with 3-tab navigation - Update install modal and item card components for command type - Add translations for all 18 locales - Include comprehensive test coverage for new functionality
Contributor
Completed review for the latest i18n consistency fixes for slash command marketplace strings. All previously flagged issues remain resolved and no new issues were identified.
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
- MarketplaceManager: Use getGlobalRooDirectory() instead of extension settings path for global commands detection, matching SimpleInstaller behavior - MarketplaceInstallModal: Pass name parameter to whatNextCommand translation
| ? t("marketplace:install.whatNextMcp") | ||
| : t("marketplace:install.whatNextMode")} | ||
| : item.type === "command" | ||
| ? t("marketplace:install.whatNextCommand", { name: item.id }) |
Contributor
There was a problem hiding this comment.
When interpolating the command label, consider using item.name instead of item.id for a more user‐friendly display (if a proper name exists).
Suggested change
| ? t("marketplace:install.whatNextCommand", { name: item.id }) | |
| ? t("marketplace:install.whatNextCommand", { name: item.name }) |
- Capitalize 'Slash' consistently in Catalan message - Use formal 'Вы/хотите' instead of informal 'Ты/хочешь' in Russian - Use formal '您' instead of informal '你' in Traditional Chinese - Capitalize 'Slash' consistently in Traditional Chinese messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for slash commands as a new marketplace item type, allowing users to browse, install, and manage custom slash commands from the marketplace.
Changes
commandtype tomarketplaceItemTypeSchemaenum with newcommandMarketplaceItemSchema(content + optional argumentHint).roo/commandsdirectory (both project and global scopes)fetchCommands()method to load commands from the marketplace APIinstallCommand()andremoveCommand()methods for slash command installation/removalImportant
Adds support for slash commands in the marketplace, including backend logic, UI updates, and internationalization.
commandtype tomarketplaceItemTypeSchemainmarketplace.ts.MarketplaceManagerto detect installed commands in.roo/commands.fetchCommands()toRemoteConfigLoaderto load commands from API.installCommand()andremoveCommand()toSimpleInstallerfor command management.MarketplaceView.tsx.MarketplaceListView.tsxto support command filtering.MarketplaceInstallModal.tsxandMarketplaceItemCard.tsxfor command-specific UI.RemoteConfigLoader.spec.tsandSimpleInstaller.spec.ts.This description was created by
for 0b9214c. You can customize this summary. It will automatically update as commits are pushed.