fix(sdk): surface peer_name/peer_role/agent_card_url in InboundMessage; resolve KI-001 #5

Merged
sdk-lead merged 1 commits from fix/inbound-peer-metadata-ki001-resolved into main 2026-05-10 12:50:38 +00:00

1 Commits

Author SHA1 Message Date
sdk-dev a2cbfdb86f fix(sdk): surface peer_name/peer_role/agent_card_url in InboundMessage; resolve KI-001
Test / test (3.11) (pull_request) Failing after 1s
Test / test (3.13) (pull_request) Failing after 1s
Test / test (3.12) (pull_request) Failing after 3s
Updates InboundMessage to surface the three channel-envelope enrichment
fields (peer_name, peer_role, agent_card_url) as typed attributes instead
of requiring callers to read them from msg.raw["data"]. Fields default to
"" when absent so existing callers are unaffected.

Also marks KI-001 (RemoteAgentClient does not implement inbound A2A server)
as resolved — A2AServer, PushDelivery, and PollDelivery all ship in the
current codebase; the known-issues.md entry was stale.

New tests:
- test_parse_activity_row_enrichment_fields
- test_parse_activity_row_enrichment_fields_absent
- test_parse_activity_row_enrichment_fields_null_becomes_empty
- test_parse_activity_row_enrichment_in_canvas_user_row

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 12:32:20 +00:00