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
docs(adcp): fix a2a-sdk 1.0.x symbol guidance in v3→v4 migration guide (#524)
MIGRATION_v3_to_v4.md told adopters that `a2a.utils.errors.ServerError`
migrates to `a2a.types.A2AError` and `a2a.types.DataPart` migrates to
`a2a.types.MessagePart`. Neither `a2a.types.A2AError` nor
`a2a.types.MessagePart` exist in a2a-sdk 1.0.1 (the version this SDK
pins). The error base is at `a2a.utils.errors.A2AError`; `DataPart` and
`TextPart` are replaced by `a2a.types.Part` (a protobuf message with a
`content` oneof); `MessagePart` does not exist at all.
Replace the one-line "verify against your usage" punt with two concrete
subsections:
- Hand-rolled 0.3 servers: no mechanical migration path; recommend
deleting the hand-rolled server and using
`adcp.server.serve(transport="a2a")`.
- Direct `a2a` type imports: correct before/after for DataPart, TextPart,
Part wrapper, and ServerError with proper module paths.
Also corrects the version specifier from `>=1.0.0` to `>=1.0.1,<1.0.2`
to match the actual pin in pyproject.toml.
Closes#514https://claude.ai/code/session_015ztuszM5hAJG7N5NcA9acB
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments