- Added `chat.rs` for rendering chat messages with timestamps and roles. - Introduced `markdown.rs` for rendering markdown content with styling. - Created `status.rs` to display the application status bar with session and message counts. - Developed `workflow.rs` to show the current workflow status, including tool calls and active jobs. - Established a `theme.rs` for centralized color management across the UI. - Updated `mod.rs` to include new modules and manage rendering logic.
47 lines
1.8 KiB
Rust
47 lines
1.8 KiB
Rust
pub const BANNER: &str = r"
|
|
███████╗███████╗███████╗██████╗ ███████╗██╗ ██╗
|
|
╚══███╔╝██╔════╝██╔════╝██╔══██╗██╔════╝╚██╗██╔╝
|
|
███╔╝ █████╗ ███████╗██║ ██║█████╗ ╚███╔╝
|
|
███╔╝ ██╔══╝ ╚════██║██║ ██║██╔══╝ ██╔██╗
|
|
███████╗███████╗███████║██████╔╝███████╗██╔╝ ██╗
|
|
╚══════╝╚══════╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝
|
|
Autonomous Agentic Shell
|
|
";
|
|
|
|
pub const HELP_TEXT: &str = "
|
|
ZESDEX - Help
|
|
=============
|
|
Navigation:
|
|
Ctrl+Q Quit
|
|
Ctrl+H Help (this screen)
|
|
Ctrl+P Settings
|
|
Ctrl+A Cycle agent mode (Auto/Normal/Plan/Yolo)
|
|
Ctrl+B Bash panel
|
|
Ctrl+S Session hub
|
|
Ctrl+T Task list
|
|
Ctrl+W Workflow view
|
|
Ctrl+K Key input mode
|
|
Esc Cancel / back
|
|
Tab Autocomplete
|
|
Up/Down History navigation
|
|
|
|
Modes:
|
|
Auto Automatic approval of most operations
|
|
Normal Manual approval for risky operations
|
|
Plan Planning mode - no code changes
|
|
Yolo Unrestricted - full autonomy
|
|
|
|
Input:
|
|
/help Show help
|
|
/clear Clear screen
|
|
/mode Show current mode
|
|
/exit Exit application
|
|
/settings Open settings
|
|
/session Session management
|
|
|
|
Commands:
|
|
Any text is sent to the AI assistant as a prompt.
|
|
File paths use workspace-relative notation.
|
|
Use [0]/path for multi-workspace setups.
|
|
";
|