Soenneker.Cursor.CloudAgents.OpenApiClientUtil 11.0.269

Prefix Reserved
dotnet add package Soenneker.Cursor.CloudAgents.OpenApiClientUtil --version 11.0.269
                    
NuGet\Install-Package Soenneker.Cursor.CloudAgents.OpenApiClientUtil -Version 11.0.269
                    
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="Soenneker.Cursor.CloudAgents.OpenApiClientUtil" Version="11.0.269" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Cursor.CloudAgents.OpenApiClientUtil" Version="11.0.269" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Cursor.CloudAgents.OpenApiClientUtil" />
                    
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 Soenneker.Cursor.CloudAgents.OpenApiClientUtil --version 11.0.269
                    
#r "nuget: Soenneker.Cursor.CloudAgents.OpenApiClientUtil, 11.0.269"
                    
#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 Soenneker.Cursor.CloudAgents.OpenApiClientUtil@11.0.269
                    
#: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=Soenneker.Cursor.CloudAgents.OpenApiClientUtil&version=11.0.269
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Cursor.CloudAgents.OpenApiClientUtil&version=11.0.269
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Cursor.CloudAgents.OpenApiClientUtil

Provides a lazily created, cached Cursor Cloud Agents client backed by Soenneker.Cursor.CloudAgents.HttpClients.

Installation

dotnet add package Soenneker.Cursor.CloudAgents.OpenApiClientUtil

Configuration and registration

{
  "Cursor": {
    "ApiKey": "your-cursor-api-key"
  }
}
using Soenneker.Cursor.CloudAgents.OpenApiClientUtil.Registrars;

services.AddCursorCloudAgentsOpenApiClientUtilAsScoped();

Use AddCursorCloudAgentsOpenApiClientUtilAsSingleton() when the application should share one generated client.

Usage

using Soenneker.Cursor.CloudAgents.OpenApiClientUtil.Abstract;

public sealed class CursorAccountReader(ICursorCloudAgentsOpenApiClientUtil clients)
{
    public async Task Read(CancellationToken cancellationToken)
    {
        var client = await clients.Get(cancellationToken);
        var keyInfo = await client.V1.Me.GetAsync(cancellationToken: cancellationToken);
    }
}

Each utility instance caches one generated client. Both registrations use a singleton HTTP provider, so disposing a scoped utility does not remove the shared HttpClient; the provider owns and disposes it when the application container shuts down.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.269 67 12/3/2026
11.0.268 61 12/3/2026
11.0.267 83 12/3/2026
11.0.266 76 12/3/2026
11.0.265 71 12/3/2026
11.0.264 81 12/3/2026
11.0.263 72 12/2/2026
11.0.261 83 12/2/2026
11.0.260 90 12/2/2026
11.0.259 90 12/2/2026
11.0.258 88 12/2/2026
11.0.257 79 12/1/2026
11.0.256 90 12/1/2026
11.0.255 90 12/1/2026
11.0.254 88 12/1/2026
11.0.253 86 12/1/2026
11.0.252 93 11/30/2026
11.0.251 100 11/30/2026
11.0.250 102 11/30/2026
11.0.249 106 11/26/2026
Loading failed

Updated Multiple NuGet packages