From f341ffb39e41eb5b910321bd8d241b4c0130192c Mon Sep 17 00:00:00 2001 From: rob Date: Thu, 9 Oct 2025 18:11:51 +0000 Subject: [PATCH] Update src/ai-repo-commander.user.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Manual reruns are explicit: keeping the fingerprint marked prevents surprise re-execution on refresh, but you can always click “Run again” to force it. --- src/ai-repo-commander.user.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ai-repo-commander.user.js b/src/ai-repo-commander.user.js index 417e4cf..1217d0b 100644 --- a/src/ai-repo-commander.user.js +++ b/src/ai-repo-commander.user.js @@ -1656,11 +1656,8 @@ preview: cmdText.slice(0, 80) }); - // DO NOT markElement() here — only mark when we actually execute attachRunAgainUI(el, () => { el.dataset.aiRcProcessed = '1'; - // Clear any accidental mark just in case - this.history.unmarkElement(el); const id = this.getReadableMessageId(el); const hit2 = this.findCommandInCodeBlock(el); @@ -1684,9 +1681,6 @@ attachRunAgainUI(el, () => { el.dataset.aiRcProcessed = '1'; - // Clear from history so it can run again - this.history.unmarkElement(el); - const id = this.getReadableMessageId(el); const hit2 = this.findCommandInCodeBlock(el); if (hit2) {