search and ai stabilization work, localization stablized.

This commit is contained in:
master
2026-02-24 23:29:36 +02:00
parent 4f947a8b61
commit b07d27772e
766 changed files with 55299 additions and 3221 deletions

View File

@@ -1,3 +1,5 @@
using static StellaOps.Localization.T;
namespace StellaOps.Evidence.Bundle;
/// <summary>Builder for constructing evidence bundles.</summary>
@@ -31,8 +33,8 @@ public sealed class EvidenceBundleBuilder
public EvidenceBundle Build()
{
if (string.IsNullOrWhiteSpace(_alertId)) throw new InvalidOperationException("AlertId is required");
if (string.IsNullOrWhiteSpace(_artifactId)) throw new InvalidOperationException("ArtifactId is required");
if (string.IsNullOrWhiteSpace(_alertId)) throw new InvalidOperationException(_t("common.evidence.bundle_alert_id_required"));
if (string.IsNullOrWhiteSpace(_artifactId)) throw new InvalidOperationException(_t("common.evidence.bundle_artifact_id_required"));
var hashes = new Dictionary<string, string>();
if (_reachability?.Hash is not null) hashes["reachability"] = _reachability.Hash;

View File

@@ -12,4 +12,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StellaOps.Localization\StellaOps.Localization.csproj" />
</ItemGroup>
</Project>