-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat: add slash commands support to marketplace #9917
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
base: main
Are you sure you want to change the base?
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
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 }) |
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.
When interpolating the command label, consider using item.name instead of item.id for a more user‐friendly display (if a proper name exists).
| ? 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
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.