feat(ui): complete Avalonia UI port with 7 main pages, tool settings & top MenuBar

This commit is contained in:
Richard
2026-08-10 10:48:34 +02:00
parent a0e18d2a57
commit b5bf97ae74
187 changed files with 20054 additions and 882 deletions
@@ -1,6 +1,8 @@
using ClawdDotNet.Core.Audit;
using ClawdDotNet.Core.Config;
using ClawdDotNet.Core.Engine;
using ClawdDotNet.Core.Security;
using ClawdDotNet.Core.Staging;
using ClawdDotNet.Core.Tools;
namespace ClawdDotNet.Core.Tests.Infrastructure;
@@ -18,14 +20,19 @@ internal sealed class EngineFixture
private readonly List<AgentConfig> _agents = new();
public EngineFixture()
/// <summary>Die registrierten Agenten — für Tests, die einen Dispatcher selbst bauen.</summary>
public IReadOnlyList<AgentConfig> Agents => _agents;
public EngineFixture(IAuditRepository? audit = null, StagingGate? staging = null)
{
Engine = new AgentEngine(
Client,
Registry,
new PermissionGate(),
StateStore,
TestLogging.Factory);
TestLogging.Factory,
auditRepository: audit,
stagingGate: staging);
// Kein Agent-Verzeichnis → keine Persistenz auf die Platte während der Tests.
Engine.SetAgentConfigProvider(() => _agents, "test-instance", _ => null);