Release v1.6.21

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-04 18:57:18 +01:00
co-authored by Claude Opus 4.6
parent 729aa30253
commit 1ed13f7f88
6 changed files with 31 additions and 16 deletions
+8
View File
@@ -2540,6 +2540,14 @@ export class DownloadManager extends EventEmitter {
pkg.updatedAt = nowMs();
this.historyRecordedPackages.delete(packageId);
// 5. Re-add to runItemIds/runPackageIds if session is running so outcomes are tracked
if (this.session.running) {
for (const itemId of itemIds) {
this.runItemIds.add(itemId);
}
this.runPackageIds.add(packageId);
}
logger.info(`Paket "${pkg.name}" zurückgesetzt (${itemIds.length} Items)`);
this.persistSoon();
this.emitState(true);