summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/aboutCommand.ts
diff options
context:
space:
mode:
authorEvan Otero <[email protected]>2025-08-15 12:32:15 -0400
committerGitHub <[email protected]>2025-08-15 16:32:15 +0000
commitab1c483cab659ac2ab081e74a0e3bd0fcc48a734 (patch)
tree939865098f71698aa1328125cba96702ae1af2ee /packages/cli/src/ui/commands/aboutCommand.ts
parent72195d55538c11a2cf6e24e061d526395b552fd3 (diff)
feat(about): Add the IDE Client's display name to `/about` (#6311)
Co-authored-by: Bryan Morgan <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/commands/aboutCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/aboutCommand.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/aboutCommand.ts b/packages/cli/src/ui/commands/aboutCommand.ts
index 18a82682..47b1b495 100644
--- a/packages/cli/src/ui/commands/aboutCommand.ts
+++ b/packages/cli/src/ui/commands/aboutCommand.ts
@@ -28,6 +28,9 @@ export const aboutCommand: SlashCommand = {
const selectedAuthType =
context.services.settings.merged.selectedAuthType || '';
const gcpProject = process.env.GOOGLE_CLOUD_PROJECT || '';
+ const ideClient =
+ context.services.config?.getIdeClient()?.getDetectedIdeDisplayName() ||
+ '';
const aboutItem: Omit<HistoryItemAbout, 'id'> = {
type: MessageType.ABOUT,
@@ -37,6 +40,7 @@ export const aboutCommand: SlashCommand = {
modelVersion,
selectedAuthType,
gcpProject,
+ ideClient,
};
context.ui.addItem(aboutItem, Date.now());