diff --git a/src/ai-repo-commander.user.js b/src/ai-repo-commander.user.js index 59bbbf4..1d337d0 100644 --- a/src/ai-repo-commander.user.js +++ b/src/ai-repo-commander.user.js @@ -32,9 +32,12 @@ DEBUG_WATCH_MS: 120000, DEBUG_MAX_LINES: 400, DEBUG_SHOW_PANEL: true, - DEBOUNCE_DELAY: 5000, // bot-typing protection + + // Timing & API + DEBOUNCE_DELAY: 3000, // was 5000 MAX_RETRIES: 2, VERSION: '1.4.0', + API_TIMEOUT_MS: 60000, // NEW: configurable API timeout PROCESS_EXISTING: false, ASSISTANT_ONLY: true, @@ -52,10 +55,10 @@ POST_PASTE_DELAY_MS: 250, SUBMIT_MODE: 'button_first', // 'button_first' | 'enter_only' | 'smart' - // Streaming-complete hardening (DeepSeek #2) + // Streaming-complete hardening REQUIRE_TERMINATOR: true, // require trailing '---' line - SETTLE_CHECK_MS: 1500, // time to see the block remain unchanged - SETTLE_POLL_MS: 300, // poll interval for stability + SETTLE_CHECK_MS: 800, // was 1500 + SETTLE_POLL_MS: 200, // was 300 // Runtime toggles RUNTIME: { PAUSED: false } @@ -285,6 +288,9 @@ +