MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / trackUpdateEvent

Function trackUpdateEvent

apps/kimi-code/src/cli/update/preflight.ts:441–451  ·  view source on GitHub ↗
(
  track: RunUpdatePreflightOptions['track'],
  event: string,
  properties: TelemetryProperties,
)

Source from the content-addressed store, hash-verified

439}
440
441function trackUpdateEvent(
442 track: RunUpdatePreflightOptions['track'],
443 event: string,
444 properties: TelemetryProperties,
445): void {
446 try {
447 track?.(event, properties);
448 } catch {
449 // Telemetry must never affect update prompting.
450 }
451}
452
453function logUpdateInfo(logger: UpdateLogger, message: string, payload: Record<string, unknown>): void {
454 try {

Callers 4

trackUpdatePromptedFunction · 0.85
startBackgroundInstallFunction · 0.85
finishFunction · 0.85

Calls 1

trackFunction · 0.50

Tested by

no test coverage detected