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

Function main

apps/vis/server/src/index.ts:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { formatStartupBanner } from './startup-banner';
4
5async function main(): Promise<void> {
6 const host = resolveHost();
7 const authToken = resolveVisAuthToken(host);
8 const { port } = await startVisServer({ host, authToken });
9 process.stdout.write(
10 formatStartupBanner({ authToken, host, kimiCodeHome: KIMI_CODE_HOME, port }),
11 );
12}
13
14try {
15 await main();

Callers 1

index.tsFile · 0.70

Calls 5

resolveHostFunction · 0.90
resolveVisAuthTokenFunction · 0.90
startVisServerFunction · 0.90
formatStartupBannerFunction · 0.90
writeMethod · 0.65

Tested by

no test coverage detected