Update src/ai-repo-commander.user.js

Version Bump

Metadata: 1.5.0 → 1.5.1
Config: Updated VERSION constant


Fixed Typo in Logs

"Cleaned ${count} tracked entrie(s)" → "Cleaned ${count} tracked entries"
Proper pluralization


More Accurate Retry Log

"Message unmarked; reprocessing now" → "Retrying message now"
Was misleading since we're NOT unmarking anymore (that's the whole point!)
This commit is contained in:
rob 2025-10-09 17:58:59 +00:00
parent 956deb114a
commit cafa26ebab
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name AI Repo Commander // @name AI Repo Commander
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 1.5.0 // @version 1.5.1
// @description Execute @bridge@ YAML commands from AI assistants (safe & robust): complete-block detection, streaming-settle, persistent dedupe, paste+autosubmit, debug console with Tools/Settings, draggable/collapsible panel // @description Execute @bridge@ YAML commands from AI assistants (safe & robust): complete-block detection, streaming-settle, persistent dedupe, paste+autosubmit, debug console with Tools/Settings, draggable/collapsible panel
// @author Your Name // @author Your Name
// @match https://chat.openai.com/* // @match https://chat.openai.com/*
@ -36,7 +36,7 @@
// Timing & API // Timing & API
DEBOUNCE_DELAY: 3000, DEBOUNCE_DELAY: 3000,
MAX_RETRIES: 2, MAX_RETRIES: 2,
VERSION: '1.5.0', VERSION: '1.5.1',
API_TIMEOUT_MS: 60000, API_TIMEOUT_MS: 60000,
PROCESS_EXISTING: false, PROCESS_EXISTING: false,
@ -1941,7 +1941,7 @@
} }
} }
if (count) RC_DEBUG?.info(`Cleaned ${count} tracked entrie(s)`); if (count) RC_DEBUG?.info(`Cleaned ${count} tracked entries`);
} }
stopAllProcessing() { stopAllProcessing() {
@ -1997,7 +1997,7 @@
msg.element.dataset.aiRcProcessed = '1'; msg.element.dataset.aiRcProcessed = '1';
RC_DEBUG?.info('Message unmarked; reprocessing now', { messageId }); RC_DEBUG?.info('Retrying message now', { messageId });
commandMonitor.updateState(messageId, COMMAND_STATES.PARSING); commandMonitor.updateState(messageId, COMMAND_STATES.PARSING);
commandMonitor.processCommand(messageId); commandMonitor.processCommand(messageId);
} catch (e) { } catch (e) {