HPD-Agent.Harness.Coding.TUI 0.9.5

dotnet add package HPD-Agent.Harness.Coding.TUI --version 0.9.5
                    
NuGet\Install-Package HPD-Agent.Harness.Coding.TUI -Version 0.9.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HPD-Agent.Harness.Coding.TUI" Version="0.9.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HPD-Agent.Harness.Coding.TUI" Version="0.9.5" />
                    
Directory.Packages.props
<PackageReference Include="HPD-Agent.Harness.Coding.TUI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HPD-Agent.Harness.Coding.TUI --version 0.9.5
                    
#r "nuget: HPD-Agent.Harness.Coding.TUI, 0.9.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HPD-Agent.Harness.Coding.TUI@0.9.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HPD-Agent.Harness.Coding.TUI&version=0.9.5
                    
Install as a Cake Addin
#tool nuget:?package=HPD-Agent.Harness.Coding.TUI&version=0.9.5
                    
Install as a Cake Tool

HPD-Agent.Harness.Coding.TUI

NuGet

Coding-focused terminal presentation for HPD Agent. This package adds semantic transcript rows for coding tool calls, command execution, file edits, diagnostics, language-server status, debugging, and subagents.

Use it with HPD-Agent.TUI and HPD-Agent.Harness.Coding. It supplies presentation; the host still owns the agent, provider, session store, workspace, and terminal.

Install

dotnet add package HPD-Agent.Harness.Coding.TUI

Compose the coding agent

using HPD.Agent.TUI;
using HPD.Agent.TUI.Runtime;
using HPD.Agent.ToolHarness.Coding;
using HPD.Agent.ToolHarness.Coding.TUI;

var scope = new AgentTuiRuntimeScope(agentId, sessionId, threadId);

var agent = await new AgentBuilder()
    .WithAgentId(agentId)
    .WithName("Coding agent")
    .WithProvider("openrouter", modelId)
    .WithToolHarness<CodingToolHarness>()
    .WithPermissions()
    .BuildAsync();

await using var runtime = new InMemoryAgentTuiRuntime(agent, scope);
await using var app = HpdAgentTuiApp.Create(
    runtime,
    new DirectAgentTuiExecutionTarget(scope),
    tui => tui
        .AddAgentTuiDefaults()
        .AddCodingHarnessTui()
        .SetRunConfigComposer(_ => CreateRunConfig(workspace)));

await app.RunAsync();

WithPermissions() is required when the selected coding capabilities are permission-governed. AddAgentTuiDefaults() supplies the permission dialog; AddCodingHarnessTui() supplies the coding presentation.

The run configuration must expose an appropriate coding workspace to the harness. Use AgentWorkspace.ContextKey from HPD.Agent.ToolHarness.Coding and validate the workspace before starting the TUI.

What the TUI presents

  • Collapsed and expanded coding tool activity.
  • Foreground and background command lifecycle, bounded output, and exit state.
  • Compact file diffs with add/remove styling.
  • Language-server diagnostics, activation state, and the /lsp inspection page.
  • Debugger lifecycle, breakpoints, stopped state, and the /debug inspection page.
  • Subagent invocation and navigation presentation.
  • Source views with line numbers, stable highlighting, and explicit truncation.

The package accepts CodingHarnessTuiTheme when an application needs to replace the default coding colors. Transcript cells and renderer keys are public so an application can provide targeted renderer replacements without rebuilding the whole shell.

Composition boundaries

AddCodingHarnessTui() is the standard entry point. The individual AddCoding*Tui() extension methods are available for selective composition.

The coding TUI does not:

  • create provider connections;
  • choose or persist a workspace;
  • install language servers or debug adapters;
  • provide session durability;
  • bypass permission or sandbox policy.

See the HPD-Agent.TUI package for terminal behavior, transcript history modes, cancellation, queueing, model selection, and embedding details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.5 85 11/10/2026
0.9.2 101 11/2/2026
0.9.1 117 10/21/2026
0.9.0 109 10/20/2026
0.8.1 175 8/6/2026
0.8.0 130 8/5/2026
0.7.0 143 7/19/2026
0.6.0 173 7/4/2026
0.5.5 150 6/21/2026