v1.2.1: UX fixes for tool display, shell access, and session restore
- Show "File changes" label on collapsed code diff views when no title - Reinforce shell command availability in agent system prompt - Persist working directory for agent/viewer panes on session save - Remove unused make_nsstring import Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
1526a7df7e
commit
ec99146ccc
@@ -805,6 +805,7 @@ pub fn extract_system_prompt(request: &api::Request) -> Option<String> {
|
||||
prompt.push_str("- `suggest_next_prompt`: After completing a task, suggest a follow-up action the user might want.\n\n");
|
||||
|
||||
prompt.push_str("## Guidelines\n");
|
||||
prompt.push_str("- You ALWAYS have access to run shell commands via `run_shell_command`. Never tell the user you cannot execute commands — use the tool directly.\n");
|
||||
prompt.push_str(
|
||||
"- ALWAYS use tools to explore the codebase before answering questions about code.\n",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user