Merge pull request #27971 from NousResearch/austin/fix/goal-statusbar

fix(tui): keep /goal verdict out of compact status row
This commit is contained in:
Austin Pickett
2026-05-18 08:42:33 -04:00
committed by GitHub
parent d9b6f75c0b
commit 609c485fc6
2 changed files with 54 additions and 5 deletions

View File

@@ -338,14 +338,23 @@ export function createGatewayEventHandler(ctx: GatewayEventHandlerContext): (ev:
return
}
setStatus(p.text)
if (p.kind === 'compressing') {
if (p.kind === 'goal') {
sys(p.text)
const brief = p.text.startsWith('✓')
? '✓ goal complete'
: p.text.startsWith('↻')
? '↻ goal continuing'
: p.text.startsWith('⏸')
? '⏸ goal paused'
: 'ready'
setStatus(brief)
restoreStatusAfter(6000)
return
}
if (p.kind === 'goal') {
setStatus(p.text)
if (p.kind === 'compressing') {
sys(p.text)
return
}