diff --git a/extension/src/command-handler.ts b/extension/src/command-handler.ts index 420a5fb..1c77139 100644 --- a/extension/src/command-handler.ts +++ b/extension/src/command-handler.ts @@ -109,6 +109,8 @@ export function handleWSCommand(ctx: CommandHandlerContext, data: { text?: strin // General text → send as user message to AG ctx.logToFile(`[WS-CMD] Sending text to AG: ${text.substring(0, 80)}`); + // Mark for echo-dedup: step-probe will skip relaying this back to Discord + ctx.recentDiscordSentTexts.set(text.trim(), Date.now()); if (ctx.sdk) { try { ctx.sdk.cascade.sendPrompt(text);