mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-30 11:52:04 +00:00
Merge remote-tracking branch 'origin/main' into bb/pets-merge
# Conflicts: # hermes_cli/commands.py # tui_gateway/server.py
This commit is contained in:
commit
e495b33bf1
251 changed files with 23395 additions and 2720 deletions
|
|
@ -250,6 +250,7 @@ export interface StatusBarSegments {
|
|||
compressions: boolean
|
||||
cost: boolean
|
||||
duration: boolean
|
||||
subagents: boolean
|
||||
voice: boolean
|
||||
}
|
||||
|
||||
|
|
@ -263,6 +264,7 @@ export function statusBarSegments(cols: number): StatusBarSegments {
|
|||
compressions: w >= 80,
|
||||
voice: w >= 84,
|
||||
bg: w >= 88,
|
||||
subagents: w >= 92,
|
||||
cost: w >= 96
|
||||
}
|
||||
}
|
||||
|
|
@ -512,6 +514,8 @@ export function StatusRule({
|
|||
const showVoice = segs.voice && !!voiceLabel && fits(SEP + stringWidth(voiceLabel))
|
||||
const showSessionCount = !!sessionCountText && fits(SEP + stringWidth(sessionCountText))
|
||||
const showBg = segs.bg && bgCount > 0 && fits(SEP + stringWidth(`${bgCount} bg`))
|
||||
const subagentCount = typeof usage.active_subagents === 'number' ? usage.active_subagents : 0
|
||||
const showSubagents = segs.subagents && subagentCount > 0 && fits(SEP + stringWidth(`⛓ ${subagentCount}`))
|
||||
const showCostSeg = segs.cost && showCost && !!costText && fits(SEP + stringWidth(costText))
|
||||
// No segs flag / no showCost coupling — it's a server-gated dev readout, lowest priority,
|
||||
// so it consumes tail budget LAST and drops first on a narrow terminal.
|
||||
|
|
@ -619,6 +623,12 @@ export function StatusRule({
|
|||
{bgCount} bg
|
||||
</Text>
|
||||
) : null}
|
||||
{showSubagents ? (
|
||||
<Text color={t.color.muted} wrap="truncate-end">
|
||||
{' │ '}
|
||||
⛓ {subagentCount}
|
||||
</Text>
|
||||
) : null}
|
||||
{showCostSeg ? (
|
||||
<Text color={t.color.muted} wrap="truncate-end">
|
||||
{' │ '}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue