()
| 253 | // from doctor output, so this file is the only reliable source for engine |
| 254 | // detection on that version. See #1415. |
| 255 | function gbrainConfigPath(): string { |
| 256 | const root = process.env.GBRAIN_HOME || join(homedir(), ".gbrain"); |
| 257 | return join(root, "config.json"); |
| 258 | } |
| 259 | |
| 260 | // Best-effort JSONL append to ~/.gstack/.gbrain-errors.jsonl. Never throws. |
| 261 | function logGbrainError(kind: string, detail: string): void { |
no outgoing calls
no test coverage detected