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