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