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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user