f6ef0288832c2d0b5543b5ec4d666760cac62781
Restructure the TUI around a DisplayState enum (IDLE, IN_SESSION, APPROVAL) replacing the previous InputMode-based navigation (NAVIGATE, STEER removed). Key changes: - **DisplayState model**: New `DisplayState` enum governs per-mode key resolution and UI rendering. Removes `ROUTER`/`NAVIGATE`/`STEER`/`FILTER` InputMode complexity. - **Input history navigation**: Up/Down arrows in IN_SESSION cycle through per-session input history (ARCH-HISTORY-2/3). `savedInputBuffer` preserves in-flight text. - **Input history filter**: `Tab` toggles between ROUTER and FILTER modes; history nav disabled while filtering. - **Ctrl-C → Cancel**: Rebind Ctrl-C from Quit to Cancel across all states. - **Approval flow**: `ApproveActive`/`RejectActive` moved from SessionsReducer to RootReducer via `pendingDecision`/`SubmitApprovalDecision`. Approval overlay replaced by `ApprovalSurface` component. - **Event history strip**: Replaces old overlay with a persistent `EventHistoryStrip` component, toggled via Ctrl-E. - **Background update badge**: New `backgroundUpdateCount` on SessionsState tracks events arriving for non-selected sessions (ARCH-BADGE-1). - **StageToolManifest**: New `ServerMessage.StageToolManifest` and `ToolManifestEntry` model for pre-declared tool shapes per stage (RF-3). - **Cleanup**: Removed `ActiveSession`, `ApprovalPanel`, `ToolsPanel` components. Removed `InputMode.NAVIGATE`, `InputMode.STEER`, approval overlay state fields. Various reducer simplifications (no more overlaid effects for approval responses).
Description
No description provided
Languages
Kotlin
88.4%
Go
11.4%
Python
0.2%