Skip to content

Conversation

@akijakya
Copy link
Member

@akijakya akijakya commented Nov 26, 2025

Use structpb.Struct directly for A2A translation to preserve all fields during roundtrip (was losing fields with manual Go types)

Additional fixes:

  • Extract actual protocol_version from A2A cards (was hardcoded to v1.0.0)
  • Support both camelCase and snake_case field names per A2A JSON schema spec
  • Remove locator from records generated from A2A cards
  • Capture all A2A metadata in annotations (provider extensions, URLs, auth flags)
  • Use exact module name matching with backward compatibility for OASF 0.7.0/0.3.1
  • Add actual timestamp to created_at field

Fixes #107
Fixes #102

Signed-off-by: András Jáky <ajaky@cisco.com>
Signed-off-by: András Jáky <ajaky@cisco.com>
Signed-off-by: András Jáky <ajaky@cisco.com>

fix: actual timestamp in MCPToRecord function

Signed-off-by: András Jáky <ajaky@cisco.com>
Signed-off-by: András Jáky <ajaky@cisco.com>
Signed-off-by: András Jáky <ajaky@cisco.com>
@akijakya akijakya requested a review from a team as a code owner November 26, 2025 15:25
@akijakya akijakya force-pushed the feat/improve-a2a-translation branch from 3109e9d to 6958523 Compare November 26, 2025 15:25
@github-actions
Copy link

github-actions bot commented Nov 26, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedNov 26, 2025, 3:26 PM

Copy link
Member

@adamtagscherer adamtagscherer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :shipit:

@akijakya akijakya merged commit 5bef399 into main Nov 27, 2025
7 checks passed
@akijakya akijakya deleted the feat/improve-a2a-translation branch November 27, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants