You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
serve(version_aliases=...): a supported way for a seller to serve an extra wire version #2009
In #1279 (8.0.0 GA rejecting 3.2-rc.7 clients) the plan was to ship an internal bridge as a patch and to defer a public adcp_version_aliases= API to 8.1.0. That API has not shipped, and 10.0.0 GA hit the same problem with 3.3-rc.3.
Today a seller cannot serve an extra wire version through any supported surface:
serve(supported_versions=...) raises ConfigurationError for versions outside SUPPORTED_WIRE_VERSIONS (server/version_policy.py:126-131).
project_supported_versions overwrites get_adcp_capabilities' adcp.supported_versions after the seller's response_enhancer runs (server/mcp_tools.py:4697-4699), so the alias can't be advertised.
The SDK's alias echo reads post-hook params (server/mcp_tools.py:4206-4213), so a hook that rewrites the version loses the caller's version for the echo.
The workaround we run combines a pre-validation hook rewrite, a SkillMiddleware that patches capabilities, and a duplicate served-versions list. It relies on behavior that isn't documented (see #2008).
Ask: serve(version_aliases={"3.3-rc.3": "3.3"}) that
accepts the alias on every tool, MCP and A2A, task polling included,
advertises it in get_adcp_capabilities,
validates the request and response as the target release,
Activity
fix(server): require alias keys to be prereleases of their target line
test(server): patch the serve submodule explicitly in the alias forwa…
feat(server): serve extra wire versions through version_aliases (#2013)