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