(message: string)
| 366 | return false; |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | export function logToFile(message: string): void { |
| 371 | const logPath = process.env.WRAPPER_LOG_PATH || '/tmp/kilocode-wrapper.log'; |
| 372 | try { |
| 373 | appendFileSync(logPath, `${new Date().toISOString()} ${message}\n`); |
| 374 | } catch { |
| 375 | // Ignore logging failures to avoid breaking the wrapper |
| 376 | } |
| 377 | } |
no outgoing calls
no test coverage detected