mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-02 10:09:36 +08:00
The previous commit held every SDK `initialize` for up to 30 seconds through an `sdk-jsonrpc-server` config field. That wait outlasts the TypeScript client's 10-second handshake timeout and most of the Python client's 30-second one when an MCP server hangs, so the field is removed and the wait becomes a request parameter. `InitializeParams.mcpStartupTimeoutMs` (0 to 2147483647) holds the answer, after route validation, until `mcpManager.whenSettled()` reports no server in its first connection attempt; omission or `0` answers at once. The Python `DeepSeekHarness` sends `mcp_startup_timeout_seconds` (5 by default) and `HarnessClient.initialize` accepts it explicitly; the TypeScript client sends `mcpStartupTimeoutMs` only when configured. A manager with no listed server settles at once.