Skip to content

Commit c69320e

Browse files
committed
fix: remove blank lines between JSX elements that crash newer @opentui/solid
1 parent d40ce7f commit c69320e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

packages/plugin/src/tui/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -319,27 +319,23 @@ const StatusDialog = (props: { api: TuiPluginApi; s: StatusDetail }) => {
319319
<R t={t()} l="Active" v={`${s().activeTags} (~${fmtBytes(s().activeBytes)})`} />
320320
<R t={t()} l="Dropped" v={String(s().droppedTags)} />
321321
<R t={t()} l="Total" v={String(s().totalTags)} fg={t().textMuted} />
322-
323322
<box marginTop={1}>
324323
<text fg={t().text}><b>Pending Queue</b></text>
325324
</box>
326325
<R t={t()} l="Drops" v={String(s().pendingOpsCount)} fg={s().pendingOpsCount > 0 ? t().warning : t().textMuted} />
327-
328326
<box marginTop={1}>
329327
<text fg={t().text}><b>Cache TTL</b></text>
330328
</box>
331329
<R t={t()} l="Configured" v={s().cacheTtl} />
332330
<R t={t()} l="Last response" v={s().lastResponseTime > 0 ? `${Math.round(elapsed() / 1000)}s ago` : "never"} />
333331
<R t={t()} l="Remaining" v={s().cacheExpired ? "expired" : `${Math.round(s().cacheRemainingMs / 1000)}s`} fg={s().cacheExpired ? t().warning : t().textMuted} />
334332
<R t={t()} l="Auto-execute" v={s().cacheExpired ? "yes (expired)" : `at TTL or ≥${s().executeThreshold}%`} fg={t().textMuted} />
335-
336333
<box marginTop={1}>
337334
<text fg={t().text}><b>Memory</b></text>
338335
</box>
339336
<R t={t()} l="Active" v={String(s().memoryCount)} fg={t().accent} />
340337
<R t={t()} l="Injected" v={String(s().memoryBlockCount)} fg={t().textMuted} />
341338
</box>
342-
343339
{/* Right column */}
344340
<box flexDirection="column" flexGrow={1} flexBasis={0}>
345341
<text fg={t().text}><b>Rolling Nudges</b></text>
@@ -348,13 +344,11 @@ const StatusDialog = (props: { api: TuiPluginApi; s: StatusDetail }) => {
348344
<R t={t()} l="Interval" v={`${fmt(s().nudgeInterval)} tok`} fg={t().textMuted} />
349345
<R t={t()} l="Next nudge after" v={`${fmt(s().nextNudgeAfter)} tok`} />
350346
{s().lastNudgeBand ? <R t={t()} l="Current band" v={s().lastNudgeBand} /> : null}
351-
352347
<box marginTop={1}>
353348
<text fg={t().text}><b>Context Details</b></text>
354349
</box>
355350
<R t={t()} l="Protected tags" v={String(s().protectedTagCount)} fg={t().textMuted} />
356351
<R t={t()} l="Subagent" v={s().isSubagent ? "yes" : "no"} fg={t().textMuted} />
357-
358352
<box marginTop={1}>
359353
<text fg={t().text}><b>History Compression</b></text>
360354
</box>

0 commit comments

Comments
 (0)