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

Function logAttachedDaemon

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

Source from the content-addressed store, hash-verified

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

Callers 3

runProxyFunction · 0.85
connectWithHelloFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected