Request to prioritize UTF-8 wire output and optional JSON responses for Streamable HTTP

オープン
#2,042 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
api

調査の方向性

This is a request for maintainers to review two existing changes, #1964 (UTF-8 wire output for SSE data) and #1714 (opt-in single JSON responses for Streamable HTTP), not a task to implement. The payload names no files or tests, so a newcomer would need to read those two linked threads and their code first. Done means a maintainer replies with review blockers or a release milestone, and the two changes may be split into separate timelines.

索引モデルが issue の本文から書いたものです。

説明

Could the maintainers prioritize reviewing #1964 and #1714 for an upcoming C# SDK release? They address two separate needs for servers using Streamable HTTP.

Priority 1: Keep non-ASCII text readable on the wire (#1964). A tool can return the synthetic value {"message":"示例中文"}, yet the SSE data: payload still writes the Chinese characters as \uXXXX. Both representations decode to the same JSON value, but consumers that forward raw tool output to a model or display it as text see the escapes. Direct UTF-8 output would also remove the need for servers to rewrite their SSE responses.

Priority 2: Offer an opt-in single JSON response (#1714). A tool that only produces a final result can return that JSON-RPC response directly as application/json. SSE remains useful for progress and other intermediate events. An opt-in mode would let servers choose without changing the default for existing clients.

If the two changes need different release timelines, it would help to ship the wire-encoding fix independently. Could you share any remaining review blockers or the expected release milestone?

Thanks for maintaining the SDK.

主要言語
C#
スター
4.7k
フォーク
863
平均マージ
15時間 29分
マージ済み PR(30日)
8

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/csharp-sdk のほかの issue

modelcontextprotocol/csharp-sdk の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。