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

Function buildPrimarySection

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

Source from the content-addressed store, hash-verified

17 diagnosticsPromise: Promise<Diagnostic[]>;
18};
19function buildPrimarySection(): Property[] {
20 const sessionId = getSessionId();
21 const customTitle = getCurrentSessionTitle(sessionId);
22 const nameValue = customTitle ?? <Text dimColor>/rename to add a name</Text>;
23 return [{
24 label: 'Version',
25 value: MACRO.VERSION
26 }, {
27 label: 'Session name',
28 value: nameValue
29 }, {
30 label: 'Session ID',
31 value: sessionId
32 }, {
33 label: 'cwd',
34 value: getCwd()
35 }, ...buildAccountProperties(), ...buildAPIProviderProperties()];
36}
37function buildSecondarySection({
38 mainLoopModel,
39 mcp,

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