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

Function logAttachedDaemon

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

Source from the content-addressed store, hash-verified

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

Callers 2

connectWithHelloFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected