From e5d38c6b74a30efbf1c217e6048a63cf1179885f Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Tue, 12 Aug 2025 13:53:52 -0700 Subject: [PATCH] log prompt --- src/modes/remote-agent/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modes/remote-agent/index.ts b/src/modes/remote-agent/index.ts index 7467c9e..525f0c3 100644 --- a/src/modes/remote-agent/index.ts +++ b/src/modes/remote-agent/index.ts @@ -283,11 +283,16 @@ export const remoteAgentMode: Mode = { // Generate dispatch-specific prompt (just the task description) const promptContent = generateDispatchPrompt(taskDescription); + console.log("Writing prompt file..."); + console.log("Contents: ", promptContent); // Write the prompt file await writeFile( `${process.env.RUNNER_TEMP}/claude-prompts/claude-prompt.txt`, promptContent, ); + console.log( + `Prompt file written successfully to ${process.env.RUNNER_TEMP}/claude-prompts/claude-prompt.txt`, + ); // Set stream configuration for repository_dispatch events if (context.progressTracking) {