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

Function resolveUpdateDeviceId

apps/kimi-code/src/cli/update/rollout.ts:193–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 * creates the telemetry device_id before telemetry can emit first_launch.
192 */
193export function resolveUpdateDeviceId(): string {
194 return readKimiDeviceId(resolveKimiHome()) ?? randomUUID();
195}
196
197/**
198 * The experimental master switch opts a device out of staged rollouts: the

Callers 2

rollout.test.tsFile · 0.90
runUpdatePreflightFunction · 0.90

Calls 2

readKimiDeviceIdFunction · 0.85
resolveKimiHomeFunction · 0.50

Tested by

no test coverage detected