mirror of
https://github.com/hansjone/netx.git
synced 2026-10-18 07:40:50 +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> |
||
|---|---|---|
| .. | ||
| bizmonitor | ||
| ops | ||
| topology | ||
| __init__.py | ||
| asgi_client.py | ||
| context.py | ||
| mount.py | ||
| registry.py | ||
| server.py | ||