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

Function shouldAutoInstallUpdates

apps/kimi-code/src/cli/update/preflight.ts:415–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

413}
414
415async function shouldAutoInstallUpdates(): Promise<boolean> {
416 try {
417 const config = await loadTuiConfig();
418 return config.upgrade.autoInstall;
419 } catch {
420 return true;
421 }
422}
423
424function trackUpdatePrompted(
425 track: RunUpdatePreflightOptions['track'],

Callers 1

Calls 1

loadTuiConfigFunction · 0.90

Tested by

no test coverage detected