MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / buildPrimarySection

Function buildPrimarySection

src/components/Settings/Status.tsx:33–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31};
32
33function buildPrimarySection(): Property[] {
34 const sessionId = getSessionId();
35 const customTitle = getCurrentSessionTitle(sessionId);
36 const nameValue = customTitle ?? <Text dimColor>/rename to add a name</Text>;
37
38 return [
39 { label: 'Version', value: MACRO.VERSION },
40 { label: 'Session name', value: nameValue },
41 { label: 'Session ID', value: sessionId },
42 { label: 'cwd', value: getCwd() },
43 ...buildAccountProperties(),
44 ...buildAPIProviderProperties(),
45 ];
46}
47
48function buildSecondarySection({
49 mainLoopModel,

Callers 1

StatusFunction · 0.85

Calls 5

getSessionIdFunction · 0.85
getCurrentSessionTitleFunction · 0.85
getCwdFunction · 0.85
buildAccountPropertiesFunction · 0.85

Tested by

no test coverage detected