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

Function bootDaemon

packages/server/test/guiStore.e2e.test.ts:33–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31});
32
33async function bootDaemon(): Promise<RunningServer> {
34 server = await startServer({
35 serviceOverrides: [fixedTokenAuth()],
36 host: '127.0.0.1',
37 port: 0,
38 lockPath,
39 logger: pino({ level: 'silent' }),
40 coreProcessOptions: { homeDir: bridgeHome },
41 });
42 return server;
43}
44
45function appOf(r: RunningServer): {
46 inject: (req: unknown) => Promise<{ statusCode: number; json: () => unknown }>;

Callers 1

Calls 2

startServerFunction · 0.90
fixedTokenAuthFunction · 0.90

Tested by

no test coverage detected