You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,7 +52,6 @@ You have access to the following tools:
49
52
- Prefer `read_file` over `cat`, `head`, `tail`
50
53
- Use `ls` for directory exploration
51
54
- Use `grep` or `rg` for searching code
52
-
- Run `pwd` early in your session to confirm your working directory
53
55
- Prefer relative paths over absolute paths when possible - tool approval configs often allow execution from the current working directory but restrict access to system-wide paths
54
56
- Avoid using `cd` to change directories before commands; instead, use relative paths from your working directory (e.g., `./src/main.rs` or `src/main.rs`)
55
57
@@ -104,15 +106,15 @@ You have read-only access to:
104
106
- If you need to suggest changes, describe them clearly for the primary agent to implement
105
107
"#;
106
108
107
-
/// A system prompt builder that supports dynamic content via mdsh.
109
+
/// A system prompt builder that supports dynamic content via esh templates.
108
110
///
109
111
/// The prompt is composed of:
110
112
/// 1. The base system prompt (static)
111
113
/// 2. User SYSTEM.md from ~/.config/codey/ (optional, dynamic)
112
114
/// 3. Project SYSTEM.md from .codey/ (optional, dynamic)
113
115
///
114
-
/// SYSTEM.md files are processed through [mdsh](https://github.com/zimbatm/mdsh),
115
-
/// allowing embedded shell commands to be executed and their output included.
116
+
/// SYSTEM.md files are processed through [esh](https://github.com/jirutka/esh),
117
+
/// allowing embedded shell commands using `<%= command %>` syntax.
116
118
#[derive(Clone)]
117
119
pubstructSystemPrompt{
118
120
user_path:Option<PathBuf>,
@@ -134,7 +136,7 @@ impl SystemPrompt {
134
136
/// Build the complete system prompt.
135
137
///
136
138
/// This reads and processes all SYSTEM.md files, executing any embedded
137
-
/// shell commands via mdsh. The result is the concatenation of:
139
+
/// shell commands via esh (`<%= command %>`). The result is the concatenation of:
0 commit comments