Stufe 4c (#764): Kommentare in C#, WebUI-Skripten, CSS und HTML auf Englisch
Rund 2.600 Kommentarblöcke in 310 C#-Dateien übersetzt, Begründungen vollständig erhalten: blockweise gleiche Anzahl wie vorher, kein Block unter 60 % seiner Länge, der Code außerhalb der Kommentare per Tokenizer byte-identisch geprüft. Zitate deutscher Oberflächentexte und Testdaten bleiben deutsch. WebUI: Kommentare in JS/CSS/HTML übersetzt, JSDoc-@param an die in 4b umbenannten Parameter angeglichen. Dabei behoben: - 4b hatte "tag" (HTML-Tag) als deutsches "Tag" gelesen und zu "dayValue" gemacht (makeElement, svg, Tagesübersicht) - zurück auf tag/day. - Aufgaben "InProgress" bekamen die Plakettenart "laufend", für die es nie eine CSS-Klasse gab - jetzt "success" wie laufende Instanzen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
da4ceac7d5
commit
837a634a22
@@ -21,20 +21,20 @@ public static class ConfigLoader
|
||||
?? throw new InvalidOperationException($"Config file is empty or invalid: {filePath}");
|
||||
|
||||
Migrate(config);
|
||||
// Verschlüsselte Zugangsdaten für die Laufzeit lesbar machen. Klartext aus
|
||||
// älteren Konfigurationen bleibt unverändert und wird beim Speichern übernommen.
|
||||
// Make encrypted credentials readable for the runtime. Plain text from
|
||||
// older configurations stays unchanged and is taken over when saving.
|
||||
Security.ConfigSecrets.Unprotect(config);
|
||||
Validate(config, filePath);
|
||||
return config;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Hebt alte Konfigurationen auf das aktuelle Schema.
|
||||
/// Lifts old configurations to the current schema.
|
||||
///
|
||||
/// "maxTokens" wurde früher als Kontextgrenze verstanden, zählte aber kumulativ
|
||||
/// über alle Schritte — dadurch brachen normale Läufe vorzeitig ab. Der Wert wird
|
||||
/// nicht übernommen, sondern durch den großzügigen Default für das Kostenbudget
|
||||
/// ersetzt; die Kontextsteuerung übernimmt maxContextTokens.
|
||||
/// "maxTokens" used to be understood as a context limit, but counted cumulatively
|
||||
/// across all steps — normal runs therefore aborted prematurely. The value is
|
||||
/// not taken over, but replaced by the generous default for the cost budget;
|
||||
/// context control is taken over by maxContextTokens.
|
||||
/// </summary>
|
||||
public static void Migrate(InstanceConfig config)
|
||||
{
|
||||
@@ -43,7 +43,7 @@ public static class ConfigLoader
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Migration für einen einzeln geladenen Agenten (AgentSettings.json).
|
||||
/// Migration for an individually loaded agent (AgentSettings.json).
|
||||
/// </summary>
|
||||
public static void Migrate(AgentConfig agent)
|
||||
{
|
||||
@@ -51,7 +51,7 @@ public static class ConfigLoader
|
||||
if (guard.LegacyMaxTokens is not { } legacy)
|
||||
return;
|
||||
|
||||
// Nur übernehmen, wenn bewusst großzügiger konfiguriert als der Default.
|
||||
// Only take over if deliberately configured more generously than the default.
|
||||
if (legacy > guard.MaxCumulativeTokens)
|
||||
guard.MaxCumulativeTokens = legacy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user