diff --git a/docs/adr/ADR-044-tui-architecture-and-framework.md b/docs/adr/ADR-044-tui-architecture-and-framework.md index 419b2690..2c490092 100644 --- a/docs/adr/ADR-044-tui-architecture-and-framework.md +++ b/docs/adr/ADR-044-tui-architecture-and-framework.md @@ -114,34 +114,34 @@ CleverAgentsApp(App) The MainScreen is the primary interface. It uses a horizontal layout with the conversation taking available space and the sidebar docked to the right: ``` -┌─────────────────────────────────────────────────────┬──────────────────────┐ -│ Throbber (height: 1, full width, visible when busy) │ │ -│ SessionTabs (height: auto, visible when ≥2 sessions)│ │ -├─────────────────────────────────────────────────────┤ SideBar │ -│ │ (dock: right) │ -│ Conversation │ (width: 32-40) │ -│ (flex: 1fr) │ (max-width: 45%) │ -│ │ ┌────────────────┐ │ -│ ┌─ ContentsGrid ─────────────────────────────────┐ │ │ PlansPanel │ │ -│ │ Cursor │ Contents stream │ │ │ (collapsible) │ │ -│ │ (1ch) │ - Welcome / UserInput / ActorResponse│ │ │ │ │ -│ │ │ - ToolCall / PlanProgress / DiffView │ │ ├────────────────┤ │ -│ │ │ - TerminalEmbed / Note / Warning │ │ │ ProjectsPanel │ │ -│ └────────┴───────────────────────────────────────┘ │ │ (collapsible) │ │ -│ │ │ │ │ -│ Flash (notification bar, height: 1) │ └────────────────┘ │ -│ │ │ -│ ┌─ Prompt ───────────────────────────────────────┐ │ │ +┌──────────────────────────────────────────────────────┬──────────────────────┐ +│ Throbber (height: 1, full width, visible when busy) │ │ +│ SessionTabs (height: auto, visible when ≥2 sessions) │ │ +├──────────────────────────────────────────────────────┤ SideBar │ +│ │ (dock: right) │ +│ Conversation │ (width: 32-40) │ +│ (flex: 1fr) │ (max-width: 45%) │ +│ │ ┌────────────────┐ │ +│ ┌─ ContentsGrid ─────────────────────────────────┐ │ │ PlansPanel │ │ +│ │ Cursor │ Contents stream │ │ │ (collapsible) │ │ +│ │ (1ch) │ - Welcome / UserInput / ActorResponse│ │ │ │ │ +│ │ │ - ToolCall / PlanProgress / DiffView │ │ ├────────────────┤ │ +│ │ │ - TerminalEmbed / Note / Warning │ │ │ ProjectsPanel │ │ +│ └────────┴───────────────────────────────────────┘ │ │ (collapsible) │ │ +│ │ │ │ │ +│ Flash (notification bar, height: 1) │ └────────────────┘ │ +│ │ │ +│ ┌─ Prompt ────────────────────────────────────────┐ │ │ │ │ ReferencePickerOverlay (overlay, triggered by @)│ │ │ │ │ SlashCommandOverlay (overlay, triggered by /) │ │ │ -│ │ ┌─ PromptContainer ─────────────────────────┐ │ │ │ -│ │ │ [❯] PromptTextArea │ │ │ │ -│ │ └───────────────────────────────────────────┘ │ │ │ -│ │ PersonaBar: name │ actor │ preset │ cost │ │ │ +│ │ ┌─ PromptContainer ──────────────────────────┐ │ │ │ +│ │ │ [❯] PromptTextArea │ │ │ │ +│ │ └────────────────────────────────────────────┘ │ │ │ +│ │ PersonaBar: name │ actor │ preset │ cost │ │ │ │ └─────────────────────────────────────────────────┘ │ │ -├─────────────────────────────────────────────────────┴──────────────────────┤ -│ Footer: F1 Help │ shift+tab Sidebar │ tab Persona │ ctrl+q Quit │ -└────────────────────────────────────────────────────────────────────────────┘ +├──────────────────────────────────────────────────────┴──────────────────────┤ +│ Footer: F1 Help │ shift+tab Sidebar │ tab Persona │ ctrl+q Quit │ +└─────────────────────────────────────────────────────────────────────────────┘ ``` ### Sidebar Three-State Behavior