- Updated markdown rendering logic to use more concise methods for obtaining vector lengths. - Changed review status display to use the correct flag from settings. - Cleaned up sidebar rendering code for better formatting and readability. - Enhanced status bar rendering with improved string formatting and consistent style application. - Refined workflow panel rendering, ensuring consistent style usage and improved readability. - Added architecture overview and detailed documentation for backend, data, dependencies, and frontend structures.
45 lines
1.6 KiB
Rust
45 lines
1.6 KiB
Rust
//! Compile-time embedded text resources: the system prompt, tool descriptions,
|
|
//! and the in-app help screen shown on Ctrl+H.
|
|
pub const SYSTEM_PROMPT: &str = include_str!("../src-misc/system-prompt.txt");
|
|
pub const SYSTEM_TOOLS: &str = include_str!("../src-misc/system-tools.txt");
|
|
|
|
/// Prompt templates for auto-subagent types (inline quick review,
|
|
/// test generation, architecture review, security review).
|
|
pub const AUTO_REVIEWER_PROMPT: &str = include_str!("../src-misc/auto-reviewer-prompt.txt");
|
|
pub const TEST_GENERATOR_PROMPT: &str = include_str!("../src-misc/test-generator-prompt.txt");
|
|
pub const ARCH_REVIEWER_PROMPT: &str = include_str!("../src-misc/arch-reviewer-prompt.txt");
|
|
pub const SECURITY_REVIEWER_PROMPT: &str = include_str!("../src-misc/security-reviewer-prompt.txt");
|
|
|
|
pub const HELP_TEXT: &str = "
|
|
ZESDEX - Help
|
|
=============
|
|
Navigation:
|
|
Ctrl+Q Quit
|
|
Ctrl+H Help (this screen)
|
|
Ctrl+P Settings
|
|
Ctrl+A Toggle yolo arm
|
|
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
|
|
|
|
Input:
|
|
/help Show help
|
|
/clear Clear screen
|
|
/model Select AI model provider
|
|
|
|
/todo Open task list
|
|
/usage Open usage details
|
|
/compact Compact conversation history
|
|
/exit Exit application
|
|
|
|
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.
|
|
";
|