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

This commit is contained in:
Richie Foreman
2025-08-13 16:37:08 -04:00
committed by GitHub
parent 61047173a8
commit 2dbd5ecdc8
7 changed files with 256 additions and 129 deletions

View File

@@ -639,6 +639,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();
}