From ec5a96e85205ebce67a30636cc8858e038ee37b5 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 17 Aug 2024 09:35:40 -0400 Subject: [PATCH] Modify resume task prompt --- src/ClaudeDev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClaudeDev.ts b/src/ClaudeDev.ts index e652995..acc56e6 100644 --- a/src/ClaudeDev.ts +++ b/src/ClaudeDev.ts @@ -604,7 +604,7 @@ export class ClaudeDev { })() const combinedText = - `Task resumption: This autonomous coding task was interrupted ${agoText}. It may or may not be complete. Be aware that the conversation history and project state may have changed since then. The current working directory is now ${cwd}. Please reassess the task context before proceeding.` + + `Task resumption: This autonomous coding task was interrupted ${agoText}. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now ${cwd}. If the task has not been completed, retry the last step before interruption and proceed with completing the task.` + (modifiedOldUserContentText ? `\n\nLast recorded user input before interruption:\n\n${modifiedOldUserContentText}\n\n` : "") +