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

Function logAttachedDaemon

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

Source from the content-addressed store, hash-verified

85 * silent by default (see #618). Exported for tests.
86 */
87export function logAttachedDaemon(socketPath: string, hello: DaemonHello): void {
88 if (process.env[LOG_ATTACH_ENV] !== '1') return;
89 process.stderr.write(
90 `[CodeGraph MCP] Attached to shared daemon on ${socketPath} (pid ${hello.pid}, v${hello.codegraph}).\n`
91 );
92}
93
94export interface ProxyResult {
95 /**

Callers 3

runProxyFunction · 0.85
connectWithHelloFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected