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

Function Status

src/components/Settings/Status.tsx:102–187  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

100 return value;
101}
102export function Status(t0) {
103 const $ = _c(20);
104 const {
105 context,
106 diagnosticsPromise
107 } = t0;
108 const mainLoopModel = useAppState(_temp);
109 const mcp = useAppState(_temp2);
110 const [theme] = useTheme();
111 let t1;
112 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
113 t1 = buildPrimarySection();
114 $[0] = t1;
115 } else {
116 t1 = $[0];
117 }
118 let t2;
119 if ($[1] !== context || $[2] !== mainLoopModel || $[3] !== mcp || $[4] !== theme) {
120 t2 = buildSecondarySection({
121 mainLoopModel,
122 mcp,
123 theme,
124 context
125 });
126 $[1] = context;
127 $[2] = mainLoopModel;
128 $[3] = mcp;
129 $[4] = theme;
130 $[5] = t2;
131 } else {
132 t2 = $[5];
133 }
134 let t3;
135 if ($[6] !== t2) {
136 t3 = [t1, t2];
137 $[6] = t2;
138 $[7] = t3;
139 } else {
140 t3 = $[7];
141 }
142 const sections = t3;
143 const grow = useIsInsideModal() ? 1 : undefined;
144 let t4;
145 if ($[8] !== sections) {
146 t4 = sections.map(_temp4);
147 $[8] = sections;
148 $[9] = t4;
149 } else {
150 t4 = $[9];
151 }
152 let t5;
153 if ($[10] !== diagnosticsPromise) {
154 t5 = <Suspense fallback={null}><Diagnostics promise={diagnosticsPromise} /></Suspense>;
155 $[10] = diagnosticsPromise;
156 $[11] = t5;
157 } else {
158 t5 = $[11];
159 }

Callers

nothing calls this directly

Calls 5

useAppStateFunction · 0.85
buildPrimarySectionFunction · 0.85
buildSecondarySectionFunction · 0.85
useIsInsideModalFunction · 0.85
useThemeFunction · 0.50

Tested by

no test coverage detected