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

Function buildSecondarySection

src/components/Settings/Status.tsx:37–53  ·  view source on GitHub ↗
({
  mainLoopModel,
  mcp,
  theme,
  context
}: {
  mainLoopModel: AppState['mainLoopModel'];
  mcp: AppState['mcp'];
  theme: ThemeName;
  context: LocalJSXCommandContext;
})

Source from the content-addressed store, hash-verified

35 }, ...buildAccountProperties(), ...buildAPIProviderProperties()];
36}
37function buildSecondarySection({
38 mainLoopModel,
39 mcp,
40 theme,
41 context
42}: {
43 mainLoopModel: AppState['mainLoopModel'];
44 mcp: AppState['mcp'];
45 theme: ThemeName;
46 context: LocalJSXCommandContext;
47}): Property[] {
48 const modelLabel = getModelDisplayLabel(mainLoopModel);
49 return [{
50 label: 'Model',
51 value: modelLabel
52 }, ...buildIDEProperties(mcp.clients, context.options.ideInstallationStatus, theme), ...buildMcpProperties(mcp.clients, theme), ...buildSandboxProperties(), ...buildSettingSourcesProperties()];
53}
54export async function buildDiagnostics(): Promise<Diagnostic[]> {
55 return [...(await buildInstallationDiagnostics()), ...(await buildInstallationHealthDiagnostics()), ...(await buildMemoryDiagnostics())];
56}

Callers 1

StatusFunction · 0.85

Calls 5

getModelDisplayLabelFunction · 0.85
buildIDEPropertiesFunction · 0.85
buildMcpPropertiesFunction · 0.85
buildSandboxPropertiesFunction · 0.85

Tested by

no test coverage detected