MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / logAttachedDaemon

Function logAttachedDaemon

src/mcp/proxy.ts:52–57  ·  view source on GitHub ↗
(socketPath: string, hello: DaemonHello)

Source from the content-addressed store, hash-verified

50 * silent by default (see #618). Exported for tests.
51 */
52export function logAttachedDaemon(socketPath: string, hello: DaemonHello): void {
53 if (process.env[LOG_ATTACH_ENV] !== '1') return;
54 process.stderr.write(
55 `[CodeGraph MCP] Attached to shared daemon on ${socketPath} (pid ${hello.pid}, v${hello.codegraph}).\n`
56 );
57}
58
59export interface ProxyResult {
60 /**

Callers 3

runProxyFunction · 0.85
connectWithHelloFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected