Darkspyre.Inference.UI.Settings.Avalonia
11.19.4-rc.3
Prefix Reserved
dotnet add package Darkspyre.Inference.UI.Settings.Avalonia --version 11.19.4-rc.3
NuGet\Install-Package Darkspyre.Inference.UI.Settings.Avalonia -Version 11.19.4-rc.3
<PackageReference Include="Darkspyre.Inference.UI.Settings.Avalonia" Version="11.19.4-rc.3" />
<PackageVersion Include="Darkspyre.Inference.UI.Settings.Avalonia" Version="11.19.4-rc.3" />
<PackageReference Include="Darkspyre.Inference.UI.Settings.Avalonia" />
paket add Darkspyre.Inference.UI.Settings.Avalonia --version 11.19.4-rc.3
#r "nuget: Darkspyre.Inference.UI.Settings.Avalonia, 11.19.4-rc.3"
#:package Darkspyre.Inference.UI.Settings.Avalonia@11.19.4-rc.3
#addin nuget:?package=Darkspyre.Inference.UI.Settings.Avalonia&version=11.19.4-rc.3&prerelease
#tool nuget:?package=Darkspyre.Inference.UI.Settings.Avalonia&version=11.19.4-rc.3&prerelease
Darkspyre.Inference.UI.Settings.Avalonia
The Avalonia setup editor for Darkspyre.Inference providers. InferenceSettingsEditor shows a provider's settings
object through its settings manager: its fields, validation, status, sign-in panels and setup actions.
ConnectionTabs shows an existing connection on a Connection tab and a Model tab. The host decides where the editor
appears.
Install
dotnet add package Darkspyre.Inference.UI.Settings.Avalonia --prerelease
Register
The package needs no registration. The host creates the settings manager with the owning Connect or Tensor factory,
opens the settings with the manager's OpenAsync, and implements IAvaloniaSettingsInteractionHost, which adds the
window's clipboard to the shared interaction host.
Example
InferenceSettingsEditor editor = new(settings, manager, interactionHost) { ShowSaveButton = false };
editor.StateChanged += (_, state) => saveButton.IsEnabled = state.CanSave;
editor.CommitCompleted += (_, result) => OnCommitCompleted(result);
dialog.Content = editor;
The host's Save control calls editor.SaveAsync(). A Committed result tells the host to close the dialog and refresh
its own list. Closing without Save discards the edits.
Settings
- Field edits stay in the settings object; only Save reaches the host.
ShowHeading,ShowActionEffectsandShowStepListlet a host that frames the editor hide the provider heading, the effect labels and the step list.MoreOptionsContentadds host content under More options.- A device sign-in copies its code to the clipboard the first time it shows, with Copy code and Copy link buttons.
- A model install card shows the install state with Download, Download again, Delete download and Show.
Limits
- The editor follows the host theme's brushes through its own
InferenceSettingsStyles. - The editor owns neither the settings, the manager nor any engine behind it. The host owns persistence, credentials, consent and the browser.
The Darkspyre.Inference packages
This package is one library of the Darkspyre.Inference family. The family runs AI inference from .NET applications through typed, provider-neutral contracts.
Darkspyre.Inference.Commonholds the contracts every other package shares: requests, results, capabilities, failures and the provider setup model.Darkspyre.Inference.Connect.Commonholds the conversation and embedding services. Each Connect provider package adds one provider, andAddLlmConnect()discovers every provider package the application references.- The Tensor packages load and run models inside the application's own process.
- The UI.Settings packages provide the setup editors a host places in its own window or page.
Every package of the family carries the same version. Reference all of them at the same version: each package depends on the exact version of the family packages it uses.
The packages are licensed under the MIT license. LICENSE.md in each package holds the license text.
| Package | Holds |
|---|---|
| Darkspyre.Inference.Common | Shared contracts for Connect and Tensor |
| Darkspyre.Inference.Connect | Image, speech and audio connectors |
| Darkspyre.Inference.Connect.Common | Conversation and embedding services and provider discovery |
| Darkspyre.Inference.Connect.Codex | Conversations on a ChatGPT subscription |
| Darkspyre.Inference.Connect.Claude | Conversations on a Claude subscription through the Claude CLI |
| Darkspyre.Inference.Connect.HostTools | The host-tools local service and its client |
| Darkspyre.Inference.Connect.Antigravity | Conversations on a Google subscription through the Antigravity CLI |
| Darkspyre.Inference.Connect.Grok | Conversations on a Grok subscription |
| Darkspyre.Inference.Connect.Anthropic | Conversations through the Anthropic API with an API key, with hosted web search |
| Darkspyre.Inference.Connect.OpenAiApi | Conversations and embeddings through the OpenAI API |
| Darkspyre.Inference.Connect.SelfHost | Conversations and embeddings on engines the application runs |
| Darkspyre.Inference.Tensor.Common | Model packs, the model lifecycle and the Tensor capability interfaces |
| Darkspyre.Inference.Tensor.Decision.Laya | Laya typed decisions through ONNX Runtime |
| Darkspyre.Inference.Tensor.Embedding | Text embeddings from GGUF sentence encoders |
| Darkspyre.Inference.Tensor.Embedding.Gemma | EmbeddingGemma text and image embeddings |
| Darkspyre.Inference.Tensor.Ggml | The process's GGML and MLX native runtime |
| Darkspyre.Inference.Tensor.Image.Supra | Supra2-IMG image generation |
| Darkspyre.Inference.Tensor.LLM.Qwen | Qwen GGUF text generation |
| Darkspyre.Inference.Tensor.Registry | Registration and discovery of the Tensor engines |
| Darkspyre.Inference.Tensor.STT.Whisper | Whisper speech transcription |
| Darkspyre.Inference.UI.Settings.Core | Editor state and host contracts both setup editors share |
| Darkspyre.Inference.UI.Settings.Avalonia | The Avalonia setup editor |
| Darkspyre.Inference.UI.Settings.Blazor | The Blazor setup editor |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Avalonia (>= 12.1.4)
- Darkspyre.Inference.Common (= 11.19.4-rc.3)
- Darkspyre.Inference.UI.Settings.Core (= 11.19.4-rc.3)
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.19.4-rc.3 | 8 | 11/6/2026 |
| 11.19.3-rc.3 | 40 | 11/5/2026 |
| 11.19.3-rc.2 | 61 | 10/31/2026 |
| 11.17.3-rc.2 | 70 | 10/26/2026 |