MCPcopy Index your code
hub / github.com/codeaashu/claude-code / statusLineShouldDisplay

Function statusLineShouldDisplay

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

Source from the content-addressed store, hash-verified

28import { getCurrentWorktreeSession } from '../utils/worktree.js';
29import { isVimModeEnabled } from './PromptInput/utils.js';
30export function statusLineShouldDisplay(settings: ReadonlySettings): boolean {
31 // Assistant mode: statusline fields (model, permission mode, cwd) reflect the
32 // REPL/daemon process, not what the agent child is actually running. Hide it.
33 if (feature('KAIROS') && getKairosActive()) return false;
34 return settings?.statusLine !== undefined;
35}
36function buildStatusLineCommandInput(permissionMode: PermissionMode, exceeds200kTokens: boolean, settings: ReadonlySettings, messages: Message[], addedDirs: string[], mainLoopModel: ModelName, vimMode?: VimMode): StatusLineCommandInput {
37 const agentType = getMainThreadAgentType();
38 const worktreeSession = getCurrentWorktreeSession();

Callers 1

PromptInputFooterFunction · 0.85

Calls 2

featureFunction · 0.85
getKairosActiveFunction · 0.85

Tested by

no test coverage detected