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

Function formatStartupBanner

apps/vis/server/src/startup-banner.ts:10–16  ·  view source on GitHub ↗
(options: StartupBannerOptions)

Source from the content-addressed store, hash-verified

8}
9
10export function formatStartupBanner(options: StartupBannerOptions): string {
11 const authStatus = options.authToken === undefined ? 'auth=disabled' : 'auth=required';
12 return (
13 `[vis-server] listening on http://${hostForUrl(options.host)}:${String(options.port)} ` +
14 `(${authStatus}, KIMI_CODE_HOME=${options.kimiCodeHome})\n`
15 );
16}

Callers 1

mainFunction · 0.90

Calls 1

hostForUrlFunction · 0.90

Tested by

no test coverage detected