Skip to content

fix: align jsonrpc and agent-card interop#20

Merged
muscariello merged 2 commits intomainfrom
fix/19-jsonrpc-agent-card-interop
Apr 4, 2026
Merged

fix: align jsonrpc and agent-card interop#20
muscariello merged 2 commits intomainfrom
fix/19-jsonrpc-agent-card-interop

Conversation

@muscariello
Copy link
Copy Markdown
Member

@muscariello muscariello commented Apr 4, 2026

Fixes #19

Summary

  • switch the Rust JSON-RPC method names to the spec-style CamelCase forms used by the A2A specification and sibling SDKs
  • remove dotted method alias compatibility so unsupported legacy names fail with METHOD_NOT_FOUND
  • treat null or missing AgentCard skills as an empty list for cross-SDK compatibility
  • add regression coverage for canonical method validation, dotted-method rejection, and agent-card resolution

Validation

  • cargo fmt --all --check
  • cargo test -p agntcy-a2a -p agntcy-a2a-server -p agntcy-a2a-client

@muscariello muscariello requested a review from a team as a code owner April 4, 2026 15:39
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Signed-off-by: Luca Muscariello <[email protected]>
@muscariello muscariello merged commit f90655a into main Apr 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align JSON-RPC and agent-card parsing with cross-SDK interoperability expectations

2 participants