.NET (C#) SDK

未关闭
#54 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
api, backend

调研方向

Start by reading the TypeScript SDK and the operation registry, then check how CI generates and verifies its types. Plan the first cut around the NuGet package, async HttpClient and DI setup, configuration, identity binding, retries, errors, and source-generated serialization for netstandard2.0 and net8.0. Done means the SDK covers the listed requirements and its generated types are checked in CI; the Semantic Kernel adapter is follow-up work.

由索引模型根据 Issue 内容生成。

描述

enhancement

We'd like a .NET client for Loom in C#, targeting netstandard2.0 + net8.0, to cover .NET agent stacks such as Semantic Kernel, the Microsoft Agent Framework and ASP.NET services calling models. Today those teams only have the raw HTTP API.

Scope:

  • A NuGet package (ClickHouse.Loom) with types generated from the op registry and checked in CI like the TS ones
  • Async throughout with CancellationToken, on top of HttpClient, and working with IHttpClientFactory / DI (services.AddLoom(...))
  • Options from code or from the LOOM_BASE_URL / LOOM_API_KEY env vars
  • Identity tuple bound once on the client
  • Automatic Idempotency-Key on idempotent ops, retry and backoff that respects Retry-After, and a LoomException that carries the server code
  • System.Text.Json source-generated serializers, so the client works with trimming and AOT

Follow-up, not in the first cut: a Semantic Kernel plugin adapter that exposes memory.search and memory.set as kernel functions.

主要语言
Python
星标
221
派生
35
平均合并
14 小时 21 分钟
30 天内合并 PR
873

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ClickHouse/loom 的其他 Issue

查看 ClickHouse/loom 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。