qwen-code/packages/cli/src/ui/layouts
tanzhenxin 89f8751233 feat(cli): add agent composer UI and refactor text input handling
- Extract shared BaseTextInput component with readline keyboard handling
- Add AgentComposer and AgentFooter components for agent interaction
- Add useAgentStreamingState hook for managing agent streaming state
- Refactor InputPrompt to use BaseTextInput with agent tab bar focus support
- Move calculatePromptWidths to shared layoutUtils
- Disable auto-accept indicator on agent tabs (agents handle their own)

This enables a dedicated input experience for agent tabs with proper
focus management and keyboard navigation between main input and agent tabs.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-10 16:53:10 +08:00
..
DefaultAppLayout.tsx feat(cli): add agent composer UI and refactor text input handling 2026-03-10 16:53:10 +08:00
ScreenReaderAppLayout.tsx feat: Redesign CLI welcome screen and improve visual consistency 2026-01-16 11:48:31 +08:00