feat: switch auto run to per-round retry with resilient resume summary

- 合并 PR #47 的核心改动:自动运行按设定总轮数逐轮执行,单轮失败时按轮重试并输出汇总日志
- 本地补充修复:恢复轮次摘要持久化、修正重试等待期间 stop 收尾、fresh attempt 清理过期 tab/url 运行态
- 影响范围:background auto orchestration、sidepanel auto-run settings and status
This commit is contained in:
QLHazyCoder
2026-04-14 01:37:24 +08:00
3 changed files with 450 additions and 54 deletions
+5 -4
View File
@@ -198,15 +198,16 @@
</div>
</div>
<div class="data-row">
<span class="data-label">兜底</span>
<span class="data-label">自动重试</span>
<div class="data-inline fallback-inline">
<label class="toggle-switch" for="input-auto-skip-failures">
<input type="checkbox" id="input-auto-skip-failures" />
<label class="toggle-switch" for="input-auto-skip-failures" title="Auto retry restarts the current round from step 1 after a step failure.">
<input type="checkbox" id="input-auto-skip-failures" checked />
<span class="toggle-switch-track" aria-hidden="true">
<span class="toggle-switch-thumb"></span>
</span>
</label>
<div class="fallback-thread-interval">
<span class="auto-delay-caption">Retry the current round from step 1 after a short delay.</span>
<div class="fallback-thread-interval" style="display:none;">
<span class="auto-delay-caption">线程间隔</span>
<div class="auto-delay-controls">
<input type="number" id="input-auto-skip-failures-thread-interval-minutes" class="data-input auto-delay-input" value="0"