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

Function formatReuseNotice

apps/kimi-code/src/cli/sub/server/run.ts:225–231  ·  view source on GitHub ↗
(origin: string)

Source from the content-addressed store, hash-verified

223}
224
225function formatReuseNotice(origin: string): string {
226 return (
227 `${chalk.hex(darkColors.warning)('A server is already running')} at ${origin} — ` +
228 `the options from this command were not applied. ` +
229 `Run ${chalk.bold('kimi server kill')} first to bind a new host/port.\n`
230 );
231}
232
233function formatReadyLine(origin: string, token: string | undefined): string {
234 return `Kimi server: ${buildOpenableUrl(origin, token)}\n`;

Callers 1

writeReadyFunction · 0.85

Calls 1

boldMethod · 0.80

Tested by

no test coverage detected