CDS.ScriptChat.Core
1.2.0
dotnet add package CDS.ScriptChat.Core --version 1.2.0
NuGet\Install-Package CDS.ScriptChat.Core -Version 1.2.0
<PackageReference Include="CDS.ScriptChat.Core" Version="1.2.0" />
<PackageVersion Include="CDS.ScriptChat.Core" Version="1.2.0" />
<PackageReference Include="CDS.ScriptChat.Core" />
paket add CDS.ScriptChat.Core --version 1.2.0
#r "nuget: CDS.ScriptChat.Core, 1.2.0"
#:package CDS.ScriptChat.Core@1.2.0
#addin nuget:?package=CDS.ScriptChat.Core&version=1.2.0
#tool nuget:?package=CDS.ScriptChat.Core&version=1.2.0
CDS.ScriptChat.Core
Provider-agnostic conversation engine behind the CDS.ScriptChat script+chat
panel. Built on Microsoft.Extensions.AI.IChatClient, so the provider
(Claude, OpenAI, Grok) is a configuration choice rather than a dependency.
No WinForms, no Roslyn.
What it gives you:
ScriptChatSession— the conversation, including the script the assistant is reasoning about.ScriptEditProposal/ScriptDiff— proposed edits arrive as structured tool calls and are surfaced as a diff for the host to accept or reject. They are never applied automatically and never parsed out of markdown fences.ISymbolLookupProvider— the hook by which a host exposes its own API surface to the assistant. The library ships only the interface.IScriptChatHostContext— host-supplied description of the app the script runs in.ScriptChatTarget— describes one of a host's scripts (name, read/write delegates, session-options factory) forCDS.ScriptChat.WinForms'sScriptChatHostPanelto drive a conversation per script.
For a ready-made WinForms UI on top of this, see CDS.ScriptChat.WinForms.
Bring your own key. The library never stores, logs or transmits an API key anywhere except the provider SDK call itself.
MIT licensed.
Full docs, a screenshot, and the design record: GitHub repo.
Credits
Package icon: Seo and web icons created by Yogi Aprelliyanto — Flaticon
| 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
- Anthropic (>= 12.40.0)
- Microsoft.Extensions.AI (>= 10.9.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CDS.ScriptChat.Core:
| Package | Downloads |
|---|---|
|
CDS.ScriptChat.WinForms
WinForms script+chat panel for the CDS.ScriptChat library. Host-agnostic: the script buffer is reached through caller-supplied delegates, with no dependency on any specific editor control. |
GitHub repositories
This package is not used by any popular GitHub repositories.