diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index f4162ce3..055221dc 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -1,27 +1,27 @@ -{ - "version": 1, - "isRoot": true, - "tools": { - "jetbrains.resharper.globaltools": { - "version": "2025.3.3", - "commands": [ - "jb" - ], - "rollForward": false - }, - "dotnet-reportgenerator-globaltool": { - "version": "5.5.10", - "commands": [ - "reportgenerator" - ], - "rollForward": false - }, - "husky": { - "version": "0.9.1", - "commands": [ - "husky" - ], - "rollForward": false - } - } +{ + "version": 1, + "isRoot": true, + "tools": { + "jetbrains.resharper.globaltools": { + "version": "2026.1.2", + "commands": [ + "jb" + ], + "rollForward": false + }, + "dotnet-reportgenerator-globaltool": { + "version": "5.5.10", + "commands": [ + "reportgenerator" + ], + "rollForward": false + }, + "husky": { + "version": "0.9.1", + "commands": [ + "husky" + ], + "rollForward": false + } + } } \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props index 2f839108..7425e23c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,25 +5,25 @@ - - - + + + - - - - - - - - - - - - + + + + + + + + + + + + @@ -31,14 +31,14 @@ - - + + - - - + + + @@ -46,11 +46,11 @@ - + - + @@ -61,14 +61,14 @@ - + - - - - + + + + @@ -77,15 +77,15 @@ - - - + + + - - - + + + @@ -94,15 +94,15 @@ - + - + - - - - + + + + diff --git a/src/JD.AI.Core/Skills/SkillLifecycleManager.Parsing.cs b/src/JD.AI.Core/Skills/SkillLifecycleManager.Parsing.cs index 074eaab9..d9c33e36 100644 --- a/src/JD.AI.Core/Skills/SkillLifecycleManager.Parsing.cs +++ b/src/JD.AI.Core/Skills/SkillLifecycleManager.Parsing.cs @@ -7,7 +7,7 @@ namespace JD.AI.Core.Skills; public sealed partial class SkillLifecycleManager { - private static readonly HashSet AllowedFrontmatterKeys = new(KeyComparer) + private static readonly HashSet AllowedFrontmatterKeys = new(StringComparer.OrdinalIgnoreCase) { "name", "description", @@ -21,7 +21,7 @@ public sealed partial class SkillLifecycleManager "allowed-tools", }; - private static readonly HashSet AllowedProviderMetadataKeys = new(KeyComparer) + private static readonly HashSet AllowedProviderMetadataKeys = new(StringComparer.OrdinalIgnoreCase) { "always", "emoji", @@ -33,7 +33,7 @@ public sealed partial class SkillLifecycleManager "install", }; - private static readonly HashSet AllowedRequiresKeys = new(KeyComparer) + private static readonly HashSet AllowedRequiresKeys = new(StringComparer.OrdinalIgnoreCase) { "bins", "anyBins", diff --git a/tests/JD.AI.Tests/JD.AI.Tests.csproj b/tests/JD.AI.Tests/JD.AI.Tests.csproj index ab235e93..658c0101 100644 --- a/tests/JD.AI.Tests/JD.AI.Tests.csproj +++ b/tests/JD.AI.Tests/JD.AI.Tests.csproj @@ -3,6 +3,7 @@ net10.0 false + $(NoWarn);TBDD010 diff --git a/tests/JD.AI.Tests/Rendering/ChatRendererBddTests.cs b/tests/JD.AI.Tests/Rendering/ChatRendererBddTests.cs index e004d040..4c4bdae5 100644 --- a/tests/JD.AI.Tests/Rendering/ChatRendererBddTests.cs +++ b/tests/JD.AI.Tests/Rendering/ChatRendererBddTests.cs @@ -12,11 +12,10 @@ public sealed class ChatRendererBddTests : TinyBddXunitBase, IDisposable { public ChatRendererBddTests(ITestOutputHelper output) : base(output) { } - public new void Dispose() + public void Dispose() { ChatRenderer.ApplyTheme(TuiTheme.DefaultDark); ChatRenderer.SetOutputStyle(OutputStyle.Rich); - base.Dispose(); } // ── FormatElapsedMetric tests ──────────────────────────────────────