diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3e3a733..070428d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,14 +22,12 @@ jobs: fail-fast: false matrix: os: [windows-latest, ubuntu-latest] - framework: [net10.0, net8.0] + framework: [net10.0] steps: - uses: actions/checkout@v7 - uses: actions/setup-dotnet@v6 with: - dotnet-version: | - 8.0.x - 10.0.x + dotnet-version: 10.0.x - name: Run complete suite shell: pwsh run: | diff --git a/README.md b/README.md index ed0ea69..30d76b6 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,9 @@ The conversation scrolls above a persistent multiline prompt, with searchable pi - **.NET 10 SDK**: [dotnet.microsoft.com/download/dotnet/10.0](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) *(the SDK includes the runtime, so install only the SDK)* - **Ollama**: [ollama.com/download](https://ollama.com/download) *(MandoCode walks you through setup on first run)* -> **Already on .NET 8?** You're not blocked. MandoCode ships a .NET 8 build alongside the .NET 10 -> one, and `dotnet tool install -g MandoCode` picks the right one for your machine automatically. -> That fallback goes away when .NET 8 reaches end of support in November 2026, so grab .NET 10 when -> it's convenient. Run `mandocode --doctor` to see which runtime you're on. +> **Next release requires .NET 10.** .NET 8 reached end of support on November 10, 2026, +> and its fallback build has been removed. Install the .NET 10 SDK before updating. +> Previously published versions are unchanged. Run `mandocode --doctor` to check your runtime. ## Install diff --git a/RELEASING.md b/RELEASING.md index 974c4cc..887ad1e 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -24,9 +24,9 @@ dotnet tool install MandoCode --version X.Y.Z --tool-path %TEMP%\mc-smoke --add- dotnet tool uninstall MandoCode --tool-path %TEMP%\mc-smoke ``` -`--doctor` must report the new version, a healthy environment, and a **.NET 10** runtime. The -package carries a net8.0 build too; seeing 8.x here on a machine with the .NET 10 SDK means the -net10.0 asset did not make it into the package. +`--doctor` must report the new version, a healthy environment, and a **.NET 10** runtime. +The next release requires .NET 10 and carries only `tools/net10.0/any` assets in its NuGet package. +Verify that no `tools/net8.0` assets are included. .NET 8 reached end of support on November 10, 2026. ## 3. Tag and publish on GitHub diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index fb8a02b..a038db0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -34,6 +34,8 @@ All notable changes to MandoCode will be documented in this file. ### Changed +- **The next release requires .NET 10.** Remove the .NET 8 CLI and ACP library builds, test target, and CI jobs following Microsoft's November 10, 2026 end of support. The NuGet tool package now includes only `net10.0` assets. Install the .NET 10 SDK before updating; previously published versions are unchanged. Update development, test, and release guidance to match. + - Show ACP tool calls as persistent, expandable activity rows with status updates in place, concise summaries, and bounded command/output details. Attach completed diffs to their call and show terminal-output limitations only inside the details. Preserve permission denial and mark unfinished calls honestly when a turn ends or is interrupted. Native tool groups retain their existing behavior. - Present successful ACP connections in a compact card with the agent's display name, selected model, current mode and its advertised description, session origin, and commands to change mode or return to the native conversation. - Simplify ACP pane headers to the agent's human-readable title, selected model when advertised, and an ACP indicator. Keep adapter versions in diagnostics, and leave the project folder and approval mode out of the header to match native pane presentation. diff --git a/docs/cli-maintainability.md b/docs/cli-maintainability.md index 60b23be..cade3e6 100644 --- a/docs/cli-maintainability.md +++ b/docs/cli-maintainability.md @@ -24,4 +24,4 @@ The CLI is composed from Razor components grouped by feature under `src/MandoCod ## Verification -Run the CLI test project on both net10.0 and net8.0. Live-renderer tests cover multiple panes, focus, model menus, agent closure, and workspace switching; boundary tests cover nested panel policies, callback replacement, and verbatim command arguments. Verify the Desktop build when shared engine interfaces change. Interactive terminal testing is still valuable for resize, cursor behavior, and platform-specific clipboard integration. +Run the CLI test project on net10.0. Live-renderer tests cover multiple panes, focus, model menus, agent closure, and workspace switching; boundary tests cover nested panel policies, callback replacement, and verbatim command arguments. Verify the Desktop build when shared engine interfaces change. Interactive terminal testing is still valuable for resize, cursor behavior, and platform-specific clipboard integration. diff --git a/docs/testing.md b/docs/testing.md index 58e1782..a893800 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -6,7 +6,7 @@ Run the full CLI suite before submitting changes: dotnet test tests/MandoCode.Tests/MandoCode.Tests.csproj -c Release ``` -This runs both net10.0 and net8.0. A green result does not replace an interactive terminal check for resize, native clipboard access, or terminal-specific keyboard sequences. +This runs the net10.0 suite. A green result does not replace an interactive terminal check for resize, native clipboard access, or terminal-specific keyboard sequences. ## Test tiers @@ -50,7 +50,6 @@ Run repeated component checks locally: ```powershell ./scripts/verify-component-stability.ps1 -Framework net10.0 -Iterations 5 -./scripts/verify-component-stability.ps1 -Framework net8.0 -Iterations 5 ``` Each iteration runs in a new test process and preserves a separate TRX result under ignored `artifacts/`. A failure stops the script; hang diagnostics bound stalled runs. Passing repeated runs reduces uncertainty but does not prove the absence of intermittent failures. @@ -59,7 +58,6 @@ For startup release checks, focus repetitions on the startup lifecycle regressio ```powershell ./scripts/verify-component-stability.ps1 -Framework net10.0 -Iterations 25 -TestFilter "FullyQualifiedName~StartupRenderingTests" -ResultsDirectory artifacts/startup-stability/net10.0 -./scripts/verify-component-stability.ps1 -Framework net8.0 -Iterations 25 -TestFilter "FullyQualifiedName~StartupRenderingTests" -ResultsDirectory artifacts/startup-stability/net8.0 ``` These tests cover renders during incomplete initialization, closing an agent during the startup delay, and retaining one prompt/input owner across refreshes. They do not reproduce every Windows Terminal or Visual Studio launch condition. Before release, also perform 10–20 cold launches from each, type immediately, and create/close agents with Alt+N/Alt+W. Include a slow or unavailable Ollama endpoint and enabled MCP servers, and check narrow/wide windows. Record any duplicated borders, missing focus, or failed submission rather than treating the new-agent workaround as a pass. @@ -72,7 +70,7 @@ python scripts/verify-targeted-mutations.py It temporarily breaks four behaviors: prompt visibility, replacement callback ownership, argument casing, and queued approval cancellation. It requires an actual failing test result, rather than treating a compiler failure as a detected mutation. Every source file is restored byte-for-byte in a finally block. Do not run concurrent builds, tests, or edits while this probe is operating; forcibly terminating the process can interrupt restoration. The final report is written to `artifacts/mutation-results.json`. Rebuild after running the probe because the last compiled assembly contains a mutation. These four probes are a focused confidence check, not a suite-wide mutation score. -The GitHub workflow runs the full suite and three component repetitions for each combination of Windows/Linux and net10.0/net8.0. It retains TRX results even after failure. Workflow execution requires pushing these changes; local Windows results do not establish Linux compatibility. +The GitHub workflow runs the full suite and three component repetitions on Windows and Linux with net10.0. It retains TRX results even after failure. Workflow execution requires pushing these changes; local Windows results do not establish Linux compatibility. ## Interactive terminal smoke checklist diff --git a/scripts/verify-component-stability.ps1 b/scripts/verify-component-stability.ps1 index 230ef7b..498c444 100644 --- a/scripts/verify-component-stability.ps1 +++ b/scripts/verify-component-stability.ps1 @@ -1,6 +1,6 @@ param( [ValidateRange(1, 100)] [int] $Iterations = 5, - [ValidateSet("net10.0", "net8.0")] [string] $Framework = "net10.0", + [ValidateSet("net10.0")] [string] $Framework = "net10.0", [string] $ResultsDirectory = "", [string] $TestFilter = "Category=Component" ) diff --git a/src/MandoCode.Acp/MandoCode.Acp.csproj b/src/MandoCode.Acp/MandoCode.Acp.csproj index 841e62d..b0fabc5 100644 --- a/src/MandoCode.Acp/MandoCode.Acp.csproj +++ b/src/MandoCode.Acp/MandoCode.Acp.csproj @@ -1,7 +1,7 @@ - net10.0;net8.0 + net10.0 enable enable true diff --git a/src/MandoCode.Acp/README.md b/src/MandoCode.Acp/README.md index 35ec1d8..047995a 100644 --- a/src/MandoCode.Acp/README.md +++ b/src/MandoCode.Acp/README.md @@ -5,7 +5,7 @@ over stdio (newline-delimited JSON-RPC 2.0). - No third-party ACP libraries; DTOs are hand-written against the official JSON schema. - `System.Text.Json` source generation (`AcpJsonContext`), no reflection-based serialization. -- Targets `net8.0` and `net10.0`; depends only on the BCL (no NuGet packages). +- Targets `net10.0`; depends only on the BCL (no NuGet packages). ## Schema diff --git a/src/MandoCode/MandoCode.csproj b/src/MandoCode/MandoCode.csproj index dadfa3d..0acac06 100644 --- a/src/MandoCode/MandoCode.csproj +++ b/src/MandoCode/MandoCode.csproj @@ -2,7 +2,7 @@ Exe - net10.0;net8.0 + net10.0 enable enable true @@ -19,7 +19,7 @@ https://github.com/DevMando/MandoCode https://github.com/DevMando/MandoCode MIT - ai;cli;coding-assistant;ollama;agent-framework;razorconsole;multi-agent;local-llm;dotnet10;dotnet8 + ai;cli;coding-assistant;ollama;agent-framework;razorconsole;multi-agent;local-llm;dotnet10 v0.16.2 fixes the startup screen that filled with repeated prompt borders and left the first agent unable to take input. Focus requests made while a component finishes rendering now wait for the render in progress to complete. Full release notes: https://github.com/DevMando/MandoCode/blob/v0.16.2/docs/CHANGELOG.md README.md MC.png @@ -50,8 +50,6 @@ this project does not use — MandoCode declares its tools its own way. --> - diff --git a/src/MandoCode/Services/Updates/ToolUpdateService.cs b/src/MandoCode/Services/Updates/ToolUpdateService.cs index d4f1241..fee7870 100644 --- a/src/MandoCode/Services/Updates/ToolUpdateService.cs +++ b/src/MandoCode/Services/Updates/ToolUpdateService.cs @@ -53,8 +53,7 @@ internal void Prepare(string version, string directory) if (!Version.TryParse(version, out _) || version.Any(c => !char.IsAsciiDigit(c) && c != '.')) throw new ArgumentException("Expected a stable numeric version.", nameof(version)); Directory.CreateDirectory(directory); - // --configfile is supported by both .NET 8 and .NET 10 SDKs. Isolate this - // update from project-specific/private feeds; the release was checked on NuGet. + // Isolate this update from project-specific/private feeds; the release was checked on NuGet. File.WriteAllText(Path.Combine(directory, "NuGet.Config"), ""); LogPath = Path.Combine(directory, "update.log"); var script = Path.Combine(directory, OperatingSystem.IsWindows() ? "update.ps1" : "update.sh"); diff --git a/tests/MandoCode.Acp.MockAgent/MandoCode.Acp.MockAgent.csproj b/tests/MandoCode.Acp.MockAgent/MandoCode.Acp.MockAgent.csproj index ac87265..02b237b 100644 --- a/tests/MandoCode.Acp.MockAgent/MandoCode.Acp.MockAgent.csproj +++ b/tests/MandoCode.Acp.MockAgent/MandoCode.Acp.MockAgent.csproj @@ -5,7 +5,7 @@ implementation of the wire protocol. Run as: dotnet MandoCode.Acp.MockAgent.dll SCENARIO --> Exe - net10.0;net8.0 + net10.0 enable enable true diff --git a/tests/MandoCode.Tests/MandoCode.Tests.csproj b/tests/MandoCode.Tests/MandoCode.Tests.csproj index 5fc4160..edd6c47 100644 --- a/tests/MandoCode.Tests/MandoCode.Tests.csproj +++ b/tests/MandoCode.Tests/MandoCode.Tests.csproj @@ -1,7 +1,7 @@ - net10.0;net8.0 + net10.0 enable enable true diff --git a/tests/UpdateSimulation/UpdateSimulation.csproj b/tests/UpdateSimulation/UpdateSimulation.csproj index 17e1a08..6320d6b 100644 --- a/tests/UpdateSimulation/UpdateSimulation.csproj +++ b/tests/UpdateSimulation/UpdateSimulation.csproj @@ -1,7 +1,7 @@ Exe - net8.0 + net10.0 enable enable true