chore(cli/slashcommands): Add status enum to SlashCommandEvent telemetry (#6023)

This commit is contained in:
Richie Foreman
2025-08-13 11:42:38 -04:00
committed by GitHub
parent 4074e8e6ec
commit 150103e5dd
7 changed files with 220 additions and 125 deletions

View File

@@ -637,6 +637,13 @@ export class ClearcutLogger {
});
}
if (event.status) {
data.push({
gemini_cli_key: EventMetadataKey.GEMINI_CLI_SLASH_COMMAND_STATUS,
value: JSON.stringify(event.status),
});
}
this.enqueueLogEvent(this.createLogEvent(slash_command_event_name, data));
this.flushIfNeeded();
}