@leanandmean/coding-agent 0.74.1-scramjet.14 → 0.74.1-scramjet.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2374,7 +2374,13 @@ export class InteractiveMode {
2374
2374
  // Show retry indicator
2375
2375
  this.statusContainer.clear();
2376
2376
  this.retryCountdown?.dispose();
2377
- const retryMessage = (seconds) => `Retrying (${event.attempt}/${event.maxAttempts}) in ${seconds}s... (${keyText("app.interrupt")} to cancel)`;
2377
+ const retryMessage = (seconds) => {
2378
+ const base = `Retrying (${event.attempt}/${event.maxAttempts}) in ${seconds}s...`;
2379
+ const cumulative = event.cumulativeErrors && event.cumulativeErrors > 1
2380
+ ? ` [${event.cumulativeErrors} total failures this prompt]`
2381
+ : "";
2382
+ return `${base}${cumulative} (${keyText("app.interrupt")} to cancel)`;
2383
+ };
2378
2384
  this.retryLoader = new Loader(this.ui, (spinner) => theme.fg("warning", spinner), (text) => theme.fg("muted", text), retryMessage(Math.ceil(event.delayMs / 1000)));
2379
2385
  this.retryCountdown = new CountdownTimer(event.delayMs, this.ui, (seconds) => {
2380
2386
  this.retryLoader?.setMessage(retryMessage(seconds));