Rifiniture (M8): avvisi su striscia, notifiche di Windows e Telegram con controllo dello spazio su disco; «Esporta l'elenco» della libreria; avvisi e ricette sospese in Attività; guida per il wiki in docs/guida

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
Claude committed 2026-10-13 21:22:52 +00:00
1 parent dc4d1fc738
commit 69dbc7acf9
50 files changed
+3980 -28

No files matched your search

+16
View File
@@ -39,6 +39,22 @@ public static class EngineApi
return ApiHttp.Json(new ResumeDto(result.Resumed, result.Message), FebeJsonContext.Default.ResumeDto);
});
// «Riattiva» a recipe suspended after three unknown formats (or targets not found) in a row.
endpoints.MapPost("/api/engine/recipes/{recipe}/resume", async (string recipe, IEngineControl control, CancellationToken ct) =>
{
if (!Enum.TryParse<RecipeKind>(recipe, ignoreCase: true, out var kind) || !Enum.IsDefined(kind))
{
throw new BadRequestException("Ricetta sconosciuta.");
}
var resumed = await control.ResumeRecipeAsync(kind, ct).ConfigureAwait(false);
return ApiHttp.Json(
new ResumeDto(resumed, resumed
? "Ricetta riattivata: riprende alla prossima sessione. Se il formato è ancora sconosciuto, si sospende di nuovo dopo tre volte."
: "Questa ricetta non era sospesa."),
FebeJsonContext.Default.ResumeDto);
});
// «Apri il browser» on Windows: the window of the browser comes to the front.
endpoints.MapPost("/api/browser/show", async (IBrowserWindow browser, BrowserUseTracker tracker, IClock clock, CancellationToken ct) =>
{