fix(tui/mini): idle footer when session idles (#37910)
This commit is contained in:
parent
75c7ac6a2c
commit
a9895a1e8a
2 changed files with 22 additions and 4 deletions
|
|
@ -712,6 +712,8 @@ export async function createSessionTransport(input: StreamInput): Promise<Sessio
|
|||
phase: state.rootActive ? "running" : "idle",
|
||||
status: state.rootActive ? "assistant responding" : blockerStatus(state.view),
|
||||
})
|
||||
if (!state.rootActive) await input.footer.idle()
|
||||
if (!current(attempt)) return
|
||||
if (!state.rootActive && state.wait && (state.wait.promoted || state.wait.interrupted)) {
|
||||
const current = state.wait
|
||||
state.wait = undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue