docs(mcp): correct the bridge docstring now that the graft is wired

adapter.py's module docstring still said the bridge was unwired; _create_mcp_client
now calls to_server_spec, to_subject, and raise_public on the HTTP/SSE path, so the
docstring says that
This commit is contained in:
Mateo Wang 2026-06-23 22:59:10 -07:00
parent ed4c55df07
commit 143d7e7329

View file

@ -3,7 +3,8 @@
These edge functions translate v1's request objects into the resolver's typed inputs and map
its typed errors onto the proxy's public exception contract. They import v1 and live outside the
package's public surface so the resolver core (``resolver.py`` / ``types.py``) stays v1-free.
Nothing wires them into ``_create_mcp_client`` yet.
``_create_mcp_client`` calls them on the HTTP/SSE path: it resolves a migrated mode through the
provider and defers every other mode to v1.
``to_server_spec`` maps only the modes the resolver has gone live for, returning ``None`` for
every other mode so the caller defers to v1 (parity-safe); it grows one branch per migrated mode.