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

Function promptInstall

apps/kimi-code/src/cli/update/preflight.ts:469–482  ·  view source on GitHub ↗
(
  currentVersion: string,
  target: UpdateTarget,
  source: InstallSource,
  installCommand: string,
)

Source from the content-addressed store, hash-verified

467}
468
469async function promptInstall(
470 currentVersion: string,
471 target: UpdateTarget,
472 source: InstallSource,
473 installCommand: string,
474): Promise<InstallPromptChoiceValue> {
475 const options: InstallPromptOptions = {
476 currentVersion,
477 target,
478 installSource: source,
479 installCommand,
480 };
481 return promptForInstallChoice(options);
482}
483
484export async function installUpdate(
485 source: InstallSource,

Callers 1

runUpdatePreflightFunction · 0.85

Calls 1

promptForInstallChoiceFunction · 0.90

Tested by

no test coverage detected