mirror of
https://github.com/hansjone/netx.git
synced 2026-10-18 06:30:48 +08:00
- httpx.ASGITransport is async-only; the sync client made every tools/call fail with "'ASGITransport' object has no attribute '__enter__'". Run the in-process request on the API loop from the tool worker thread instead. - http_json_many fanned out on a plain thread pool without the caller's context, so batch requests fell back to the server MCP token file. Copy the context per request so RBAC uses the caller's token. - Real-TCP regression: tools/call getTopologyTree must reach the API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| topology | ||
| conftest.py | ||
| test_cli_safety.py | ||
| test_mcp_bizmonitor.py | ||
| test_mcp_endpoint.py | ||
| test_mcp_http.py | ||
| test_mcp_tcp_framing.py | ||