Skip to content

Commit 270f393

Browse files
committed
docs: update architecture
1 parent 97ce869 commit 270f393

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/architecture.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ src/agent_chat_cli/
2020
│ ├── flex.py # Horizontal flex container
2121
│ ├── header.py # App header with MCP server status
2222
│ ├── messages.py # Message data models and widgets
23+
│ ├── slash_command_menu.py # Slash command menu with filtering
2324
│ ├── spacer.py # Empty spacer widget
2425
│ ├── thinking_indicator.py # "Agent is thinking" indicator
2526
│ ├── tool_permission_prompt.py # Tool permission request UI
@@ -100,8 +101,15 @@ Manages the Claude Agent SDK client lifecycle:
100101
**UserInput** (`components/user_input.py`)
101102
Text input with:
102103
- Enter to submit
103-
- Ctrl+J for newlines (PR #10)
104-
- Control commands: `exit`, `clear`
104+
- Ctrl+J for newlines
105+
- `/` opens slash command menu
106+
107+
**SlashCommandMenu** (`components/slash_command_menu.py`)
108+
Command menu triggered by `/`:
109+
- Fuzzy filtering as you type (text shows in input)
110+
- Commands: `/new`, `/clear`, `/exit`
111+
- Backspace removes filter chars; closes menu when empty
112+
- Escape closes and clears
105113

106114
**ToolPermissionPrompt** (`components/tool_permission_prompt.py`)
107115
Modal prompt for tool permission requests:

0 commit comments

Comments
 (0)