structify more dicts

This commit is contained in:
lda
2026-05-13 23:47:24 +07:00 Verified
parent ed239b5fd8
commit 7887e4750e
4 changed files with 170 additions and 55 deletions
+2
View File
@@ -72,6 +72,8 @@ tools still only stage changes and return `requires_reload`; they do not emit
list-changed notifications until reload remounts the visible capability set.
Internally, reload metadata uses `ProxyReloadResult`; MCP tools serialize that
typed result to a plain payload at the boundary.
Proxy tool listing similarly uses `ProxyToolPayload` / `ProxyToolsPage`
internally and serializes to admin MCP payloads at the boundary.
Do not memoize mounted proxies or clients without an explicit lifecycle design.
The tempting implementation is a dictionary keyed by connection id around