M6 Windows: composizione condivisa Febe.App per Server e Desktop; Febe per Windows (WPF) con l'interfaccia in WebView2, area di notifica, istanza unica, «Browser di Febe» su WebView2 con CDP filtrato (WebView2CdpSession) e ripieghi di S2 (composizione, Edge), guscio nativo, avvisi, spostamento verificato della cartella dei dati, icona del marchio; un solo Febe.exe, installatore NSIS e zip portabile; guida docs/windows.md e prove dal vivo S1–S3

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:50:25 +00:00
1 parent dc4d1fc738
commit b443adfa8b
73 files changed
+7914 -699

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
using Febe.Core.Engine;
namespace Febe.App;
/// <summary>
/// The recipe runner of the engine before the browser exists: the engine and its monitor are built at start-up (the
/// interface shows them at once), the collection pipeline only when Chromium is up. The engine loop is started after
/// <see cref="Target"/> is set, so a recipe never runs without it.
/// </summary>
public sealed class DeferredRecipeRunner : IRecipeRunner
{
private volatile IRecipeRunner? _target;
/// <summary>The real runner (the collection pipeline's), once the browser is up.</summary>
public IRecipeRunner? Target
{
get => _target;
set => _target = value;
}
public Task<RecipeOutcome> RunAsync(RecipeRequest request, ISessionContext session, CancellationToken ct) =>
_target is { } target
? target.RunAsync(request, session, ct)
: Task.FromResult(new RecipeOutcome(RecipeStatus.Cancelled, 0, 0, "Il browser non è ancora pronto."));
public Task RestAsync(CancellationToken ct) => _target?.RestAsync(ct) ?? Task.CompletedTask;
}