(headless: boolean)
| 84 | * and provides the safe output functions |
| 85 | */ |
| 86 | export function configureConsoleForHeadless(headless: boolean): void { |
| 87 | isHeadlessModeConfigured = headless; |
| 88 | |
| 89 | // init.ts should have already handled the blocking if in headless mode |
| 90 | // This function now mainly exists for compatibility and state tracking |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Safe stdout output that bypasses all overrides |