(settings: ReadonlySettings)
| 54 | return truncatePathMiddle(tildePath, 48); |
| 55 | } |
| 56 | export function statusLineShouldDisplay(settings: ReadonlySettings): boolean { |
| 57 | // Assistant mode: statusline fields (model, permission mode, cwd) reflect the |
| 58 | // REPL/daemon process, not what the agent child is actually running. Hide it. |
| 59 | if (feature('KAIROS') && getKairosActive()) return false; |
| 60 | return true; |
| 61 | } |
| 62 | |
| 63 | export function hasCustomStatusLine(settings: ReadonlySettings): boolean { |
| 64 | if (!statusLineShouldDisplay(settings)) return false; |
no test coverage detected