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

Function bootDaemon

packages/server/test/fs-watch.e2e.test.ts:76–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74});
75
76async function bootDaemon(): Promise<RunningServer> {
77 server = await startServer({
78 serviceOverrides: [fixedTokenAuth()],
79 host: '127.0.0.1',
80 port: 0,
81 lockPath,
82 logger: pino({ level: 'silent' }),
83 coreProcessOptions: { homeDir: bridgeHome },
84 wsGatewayOptions: { pingIntervalMs: 5_000, pongTimeoutMs: 5_000 },
85 });
86 return server;
87}
88
89function appOf(r: RunningServer): {
90 inject: (req: unknown) => Promise<{

Callers 1

Calls 2

startServerFunction · 0.90
fixedTokenAuthFunction · 0.90

Tested by

no test coverage detected