Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli-maintainability.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
6 changes: 2 additions & 4 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-component-stability.ps1
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion src/MandoCode.Acp/MandoCode.Acp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net10.0;net8.0</TargetFrameworks>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/MandoCode.Acp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 2 additions & 4 deletions src/MandoCode/MandoCode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net10.0;net8.0</TargetFrameworks>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand All @@ -19,7 +19,7 @@
<PackageProjectUrl>https://github.com/DevMando/MandoCode</PackageProjectUrl>
<RepositoryUrl>https://github.com/DevMando/MandoCode</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>ai;cli;coding-assistant;ollama;agent-framework;razorconsole;multi-agent;local-llm;dotnet10;dotnet8</PackageTags>
<PackageTags>ai;cli;coding-assistant;ollama;agent-framework;razorconsole;multi-agent;local-llm;dotnet10</PackageTags>
<PackageReleaseNotes>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</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>MC.png</PackageIcon>
Expand Down Expand Up @@ -50,8 +50,6 @@
this project does not use — MandoCode declares its tools its own way. -->
<PackageReference Include="OllamaSharp" Version="5.4.30" ExcludeAssets="analyzers" />
<PackageReference Include="ModelContextProtocol" Version="2.2.0" />
<!-- Held at 2.x on purpose: NAudio 3.x raised its floor to net9.0, which would drop the
net8.0 build entirely. Revisit when net8.0 is dropped (November 2026). -->
<PackageReference Include="NAudio" Version="2.2.1" />
<PackageReference Include="RazorConsole.Core" Version="0.7.0" />
<PackageReference Include="YamlDotNet" Version="18.1.0" />
Expand Down
3 changes: 1 addition & 2 deletions src/MandoCode/Services/Updates/ToolUpdateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"), "<configuration><packageSources><clear/><add key=\"nuget.org\" value=\"https://api.nuget.org/v3/index.json\"/></packageSources></configuration>");
LogPath = Path.Combine(directory, "update.log");
var script = Path.Combine(directory, OperatingSystem.IsWindows() ? "update.ps1" : "update.sh");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
implementation of the wire protocol. Run as: dotnet MandoCode.Acp.MockAgent.dll SCENARIO -->
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net10.0;net8.0</TargetFrameworks>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion tests/MandoCode.Tests/MandoCode.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net10.0;net8.0</TargetFrameworks>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion tests/UpdateSimulation/UpdateSimulation.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down