(socketPath: string, hello: DaemonHello)
| 86 | * silent by default (see #618). Exported for tests. |
| 87 | */ |
| 88 | export 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 | |
| 95 | export interface ProxyResult { |
| 96 | /** |
no test coverage detected