2026-07-12 11:28:39 +07:00
|
|
|
//! Compile-time embedded text resources: the system prompt, tool descriptions,
|
|
|
|
|
//! and the in-app help screen shown on Ctrl+H.
|
|
|
|
|
|
2026-07-11 22:16:47 +07:00
|
|
|
pub const SYSTEM_PROMPT: &str = include_str!("../src-misc/system-prompt.txt");
|
|
|
|
|
pub const SYSTEM_TOOLS: &str = include_str!("../src-misc/system-tools.txt");
|
|
|
|
|
|
2026-07-13 05:23:38 +07:00
|
|
|
/// 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");
|
|
|
|
|
|
2026-07-11 13:16:10 +07:00
|
|
|
pub const HELP_TEXT: &str = "
|
|
|
|
|
ZESDEX - Help
|
|
|
|
|
=============
|
|
|
|
|
Navigation:
|
|
|
|
|
Ctrl+Q Quit
|
|
|
|
|
Ctrl+H Help (this screen)
|
|
|
|
|
Ctrl+P Settings
|
2026-07-12 03:22:55 +07:00
|
|
|
Ctrl+A Toggle yolo arm
|
2026-07-11 13:16:10 +07:00
|
|
|
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:
|
2026-07-12 17:49:34 +07:00
|
|
|
/help Show help
|
|
|
|
|
/clear Clear screen
|
2026-07-13 02:53:30 +07:00
|
|
|
/lesson Interactive lesson manager
|
2026-07-12 17:49:34 +07:00
|
|
|
/model Select AI model provider
|
|
|
|
|
/workflow Open workflow panel
|
|
|
|
|
/workflow run <p> Run a workflow with prompt <p>
|
|
|
|
|
/mode workflow Open workflow panel
|
|
|
|
|
/compact Compact conversation history
|
|
|
|
|
/exit Exit application
|
2026-07-11 13:16:10 +07:00
|
|
|
|
|
|
|
|
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.
|
2026-07-11 23:45:13 +07:00
|
|
|
";
|