From 05c8e0a31a0d4192c590e833b24393208e1c751f Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Tue, 30 Jun 2026 19:03:25 +0900 Subject: fix: MCPCをvendored fork化しMCP準拠と接続安定性を改善 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Git submoduleを廃止してMCPCを直接管理 - Windowsで254リクエスト付近に発生する切断を修正 - JSON-RPC 2.0エラー応答を標準化 - tool schemaとruntimeの必須・任意引数を一致 - 1000回連続呼び出しの回帰テストを追加 --- third_party/mcpc/mk/step0.mk | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 third_party/mcpc/mk/step0.mk (limited to 'third_party/mcpc/mk/step0.mk') diff --git a/third_party/mcpc/mk/step0.mk b/third_party/mcpc/mk/step0.mk new file mode 100644 index 0000000..8ec5d72 --- /dev/null +++ b/third_party/mcpc/mk/step0.mk @@ -0,0 +1,31 @@ +ifeq ($(SHELL),/bin/sh) + is_sh = xxx + is_dirsh = xxx + unameall = $(shell uname -a) + is_linux = $(findstring Linux,$(unameall)) + is_cygwin = $(findstring Cygwin,$(unameall)) + is_mingw = $(findstring MINGW64_NT,$(unameall)) + is_macos = $(findstring Darwin,$(unameall)) +else ifneq (,$(findstring /sh.exe,$(SHELL))) + # indirectly enter bash (but the only way we enter GH win) + is_sh = xxx + is_indirsh = xxx + is_win = xxx + unameall = $(shell uname -a) + is_msys = $(findstring MSYS_NT,$(unameall)) + is_mingw = $(findstring MINGW64_NT,$(unameall)) + sysinfo = $(shell systeminfo) + ifneq (,$(findstring Windows Server 2019,$(sysinfo))) + is_win2019 = xxx + endif + ifneq (,$(findstring Windows Server 2022,$(sysinfo))) + is_win2022 = xxx + endif + ifneq (,$(findstring Windows Server 2025,$(sysinfo))) + is_win2025 = xxx + endif +else ifneq (,$(findstring sh.exe,$(SHELL))) + is_win = xxx + is_cmd = xxx +endif +isnot_done_ccdefs = xxx -- cgit v1.2.3