fix(tui): stabilize multiline input, persist tool traces, and port CLI-style context status bar

This commit is contained in:
Brooklyn Nicholson
2026-04-08 23:59:56 -05:00
parent c49bbbe8c2
commit b66550ed08
9 changed files with 262 additions and 129 deletions
+5
View File
@@ -26,6 +26,8 @@ export interface Msg {
text: string
kind?: 'intro'
info?: SessionInfo
thinking?: string
tools?: string[]
}
export type Role = 'assistant' | 'system' | 'tool' | 'user'
@@ -43,6 +45,9 @@ export interface SessionInfo {
export interface Usage {
calls: number
context_max?: number
context_percent?: number
context_used?: number
input: number
output: number
total: number