()
| 167 | const DISK_SUMMARY_ANSWER_CHARS = 4000; |
| 168 | |
| 169 | function getLogDir(): string | null { |
| 170 | const cfg = getConfig(); |
| 171 | if (!cfg.logging?.file_enabled) return null; |
| 172 | return cfg.logging.dir || './logs'; |
| 173 | } |
| 174 | |
| 175 | function getPersistMode(): 'compact' | 'full' | 'summary' { |
| 176 | const mode = getConfig().logging?.persist_mode; |
no test coverage detected