NewHeap.Platform.AI.AspNet.Common
7.9.0
dotnet add package NewHeap.Platform.AI.AspNet.Common --version 7.9.0
NuGet\Install-Package NewHeap.Platform.AI.AspNet.Common -Version 7.9.0
<PackageReference Include="NewHeap.Platform.AI.AspNet.Common" Version="7.9.0" />
<PackageVersion Include="NewHeap.Platform.AI.AspNet.Common" Version="7.9.0" />
<PackageReference Include="NewHeap.Platform.AI.AspNet.Common" />
paket add NewHeap.Platform.AI.AspNet.Common --version 7.9.0
#r "nuget: NewHeap.Platform.AI.AspNet.Common, 7.9.0"
#:package NewHeap.Platform.AI.AspNet.Common@7.9.0
#addin nuget:?package=NewHeap.Platform.AI.AspNet.Common&version=7.9.0
#tool nuget:?package=NewHeap.Platform.AI.AspNet.Common&version=7.9.0
NewHeap.Platform.AI.AspNet.Common
ASP.NET Core integration for NewHeap.Platform.AI.Common. It contributes an
authenticated actor's active division and narrow capability grants only after
configured IAuthorizationService policies succeed. The browser-supplied active
division header is never treated as authorization by itself.
OIDC/JWT hosts that disable inbound claim mapping configure
UseAuthenticatedClaims with one exact issuer or a collection of
NhAiAspNetIssuerClaimMapping entries. Every accepted issuer owns its iss, sub,
tenant and tenant-scope mapping. AddClaimScope remains global by default and has
an issuer-specific overload when claim types differ between authorities.
INhAiAuthenticatedInvocationContextResolver rejects missing or duplicate
authority claims, principals carrying authority claims for more than one issuer,
and issuers outside the configured set. The typed
NhAiAspNetFailureCodes.IssuerNotAccepted result retains its existing wire value
for compatible HTTP failure mapping. The invocation context keeps issuer, subject,
tenant, and a collision-resistant issuer-qualified actor ID separate.
ASP.NET MCP hosts call WithNewHeapPlatformAITools() on the official
IMcpServerBuilder. List and call requests resolve this authenticated context
per request, use the generated catalog for both discovery and invocation, and
return authorization failures as structured MCP tool errors. Startup rejects
SDK registrations identified as NewHeap tools and wire-name collisions,
while independently governed tools from other libraries may use WithTools,
assembly scanning, or manual McpServerTool registration.
The integration adds bounded IDs and correlation metadata to the provider-neutral
invocation context. It does not copy a ClaimsPrincipal, token, cookie, request
body, prompt, or credential into that context.
INhAiBackgroundOperationRunAdapter maps a durable operation ID, attempt,
idempotency key and fencing token into a non-human AI invocation. It persists
only versioned checkpoint references, delegates approval waits to the general
background-operation suspension contract, and leaves authoritative artifacts
and conversation content application-owned.
INhAiBackgroundOperationIngestionAdapter binds ingestion to that durable run,
uses the operation idempotency key, and stores a content-free completion
checkpoint. Re-entry returns the checkpointed result without re-reading the
source or generating embeddings again; a mismatched document or collection
fails closed.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- ModelContextProtocol (>= 2.2.0)
- NewHeap.Platform.AI.Common (>= 7.9.0)
- NewHeap.Platform.AI.Mcp (>= 7.9.0)
- NewHeap.Platform.AspNet.Common (>= 7.9.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NewHeap.Platform.AI.AspNet.Common:
| Package | Downloads |
|---|---|
|
NewHeap.Platform.AI.AspNet.Mvc
Exposes authorized ASP.NET Core MVC controller actions as governed NewHeap AI tools executed as the calling user. |
|
|
NewHeap.Platform.AI.Chat.AspNet
ASP.NET Core assistant endpoints with server-sent event streaming and approval decisions for NewHeap AI. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.9.0 | 0 | 9/24/2026 |
| 7.8.2 | 37 | 9/24/2026 |
| 7.8.1 | 32 | 9/24/2026 |
| 7.8.0 | 170 | 9/21/2026 |
| 7.7.0 | 115 | 9/21/2026 |
| 7.6.0 | 114 | 9/18/2026 |
| 7.5.0 | 108 | 9/18/2026 |
| 7.4.0 | 373 | 9/15/2026 |
| 7.3.0 | 99 | 9/15/2026 |
| 7.2.0 | 94 | 9/15/2026 |
| 7.1.0 | 116 | 9/14/2026 |
| 7.0.0 | 153 | 9/8/2026 |
| 6.0.0 | 96 | 9/8/2026 |
| 5.0.0 | 118 | 9/8/2026 |
| 4.4.7 | 108 | 9/8/2026 |
| 4.4.6 | 103 | 9/7/2026 |
| 4.4.5 | 114 | 9/1/2026 |
| 4.4.4 | 90 | 9/1/2026 |
| 4.4.3 | 132 | 9/1/2026 |
| 4.4.2 | 97 | 9/1/2026 |