fix: show (bundled) label for /review and /security-review commands

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
kingboung 2026-05-12 20:45:33 +08:00
parent 680342bc28
commit e0f8c1a289

View File

@ -817,7 +817,11 @@ export function formatDescriptionWithSource(cmd: Command): string {
return cmd.description
}
if (cmd.source === 'bundled') {
if (
cmd.source === 'bundled' ||
cmd.name === 'review' ||
cmd.name === 'security-review'
) {
return `${cmd.description} (bundled)`
}