HPD-Agent.ToolHarness.Coding
0.8.0
See the version list below for details.
dotnet add package HPD-Agent.ToolHarness.Coding --version 0.8.0
NuGet\Install-Package HPD-Agent.ToolHarness.Coding -Version 0.8.0
<PackageReference Include="HPD-Agent.ToolHarness.Coding" Version="0.8.0" />
<PackageVersion Include="HPD-Agent.ToolHarness.Coding" Version="0.8.0" />
<PackageReference Include="HPD-Agent.ToolHarness.Coding" />
paket add HPD-Agent.ToolHarness.Coding --version 0.8.0
#r "nuget: HPD-Agent.ToolHarness.Coding, 0.8.0"
#:package HPD-Agent.ToolHarness.Coding@0.8.0
#addin nuget:?package=HPD-Agent.ToolHarness.Coding&version=0.8.0
#tool nuget:?package=HPD-Agent.ToolHarness.Coding&version=0.8.0
HPD-Agent.ToolHarness.Coding
Coding toolharness for HPD-Agent. Provides AI functions for codebase inspection, symbol search, and implementation planning.
Install
dotnet add package HPD-Agent.ToolHarness.Coding
Use When
Use this package when you need this HPD Agent capability in an agent application.
Language servers
The coding harness discovers language servers from a compile-time generated catalog. A server is considered for a file when its declared extension matches and one of its declared root markers exists in the file's workspace ancestry. A declaration without root markers supports loose workspace files. The server starts only when its executable can be resolved from an ecosystem-local bin directory or PATH.
Built-in declarations cover 51 servers across .NET, TypeScript and JavaScript, systems languages, Python, JVM languages, web frameworks, data formats, scripting languages, infrastructure tooling, and documentation formats. Alternative semantic servers such as BasedPyright, pylsp, Solargraph, Phpactor, Expert, and nil are disabled by default.
Enable or disable individual declarations with LanguageServerOptions:
var options = new LanguageServerOptions
{
EnabledServers = new HashSet<string>(StringComparer.Ordinal)
{
"basedpyright"
},
DisabledServers = new HashSet<string>(StringComparer.Ordinal)
{
"pyright"
}
};
Simple built-ins use attributed declarations and are validated by the coding source generator:
[HpdLanguageServer("rust-analyzer")]
[LanguageServerExtensions(".rs")]
[LanguageServerLanguageIds(".rs", "rust")]
[LanguageServerRootMarkers("Cargo.toml", "rust-analyzer.toml")]
[LanguageServerExecutable("rust-analyzer")]
public sealed class RustAnalyzerLanguageServer;
Implement ILanguageServerProvider when a server needs custom root discovery, executable resolution, launch configuration, or initialization. TypeScript and Deno are built-in examples of specialized providers.
Executable discovery checks node_modules/.bin, Python virtual-environment bins, Ruby bundle bins, project-local bin, and PATH. The harness does not install language servers automatically.
When the coding TUI is installed with AddCodingHarnessTui(), live language-server state is shown in the footer and /lsp opens an inspect-only page containing each activated server, its root, status, and failure message. Status snapshots use the normal persisted event pipeline, but historical snapshots are deliberately not projected as live processes after hydration or a backend restart. Persisted diagnostics continue to replay normally.
Real server smoke tests are opt-in. Set HPD_LSP_SMOKE=1 for TypeScript (and optionally HPD_LSP_SMOKE_TYPESCRIPT_ROOT) or HPD_LSP_SMOKE_CSHARP=1 with csharp-ls available on PATH for the C# startup, diagnostics-correction, UTF-16 document, and shutdown lifecycle test.
| Product | Versions 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. |
-
net10.0
- DiffPlex (>= 1.9.0)
- HPD-Agent.Framework (>= 0.8.0)
- JsonSchema.Net.Generation (>= 7.1.1)
- Markdig (>= 1.2.0)
- Microsoft.Extensions.AI (>= 10.7.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.7.0)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.9)
- UTF.Unknown (>= 2.6.0)
-
net8.0
- DiffPlex (>= 1.9.0)
- HPD-Agent.Framework (>= 0.8.0)
- JsonSchema.Net.Generation (>= 7.1.1)
- Markdig (>= 1.2.0)
- Microsoft.Extensions.AI (>= 10.7.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.7.0)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.9)
- System.Text.Encoding.CodePages (>= 10.0.7)
- UTF.Unknown (>= 2.6.0)
-
net9.0
- DiffPlex (>= 1.9.0)
- HPD-Agent.Framework (>= 0.8.0)
- JsonSchema.Net.Generation (>= 7.1.1)
- Markdig (>= 1.2.0)
- Microsoft.Extensions.AI (>= 10.7.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.7.0)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.9)
- System.Text.Encoding.CodePages (>= 10.0.7)
- UTF.Unknown (>= 2.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HPD-Agent.ToolHarness.Coding:
| Package | Downloads |
|---|---|
|
HPD-Agent.Harness.Coding.TUI
Terminal UI contributions for the HPD-Agent coding toolharness. |
GitHub repositories
This package is not used by any popular GitHub repositories.