From a863b26b7aa076c127ad1caabad554c911aa4755 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 10 Aug 2024 03:53:43 -0400 Subject: [PATCH] Update prompt to be more explicit about not being able to access server that was exited --- src/ClaudeDev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClaudeDev.ts b/src/ClaudeDev.ts index 1b61cba..b415390 100644 --- a/src/ClaudeDev.ts +++ b/src/ClaudeDev.ts @@ -853,7 +853,7 @@ export class ClaudeDev { } catch (e) { if ((e as ExecaError).signal === "SIGINT") { await this.say("command_output", `\nUser exited command...`) - result += `\n====\nUser terminated command process via SIGINT. This is not an error. Please continue with your task but keep in mind that the command is no longer running. In other words, if this command was used to start a server, the server is no longer running.` + result += `\n====\nUser terminated command process via SIGINT. This is not an error. Please continue with your task, but keep in mind that the command is no longer running. For example, if this command was used to start a server for a react app, the server is no longer running and you cannot open a browser to view it anymore.` } else { throw e // if the command was not terminated by user, let outer catch handle it as a real error }