MCPcopy Create free account
hub / github.com/Noumena-Network/code / statusLineShouldDisplay

Function statusLineShouldDisplay

src/components/StatusLine.tsx:56–61  ·  view source on GitHub ↗
(settings: ReadonlySettings)

Source from the content-addressed store, hash-verified

54 return truncatePathMiddle(tildePath, 48);
55}
56export 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
63export function hasCustomStatusLine(settings: ReadonlySettings): boolean {
64 if (!statusLineShouldDisplay(settings)) return false;

Callers 3

hasCustomStatusLineFunction · 0.85
PromptInputFooterFunction · 0.85
REPLFunction · 0.85

Calls 1

getKairosActiveFunction · 0.85

Tested by

no test coverage detected