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
[Bug]: Payload of resource is not compliant with 1.0 wrapped objects (using removed kind field instead) #491
Additionally, the names of the kind were not compliant with the previous spec conventions. It uses status-update & artifact-update while the spec said the field names are taskUpdate & artifactUpdate.
The whole code needs to be updated to use properly wrapped object to returns task, message, text, etc. instead of the kind field.
changed the title [-][Bug]: Payload of push notifications is not properly encapsulated[/-][+][Bug]: Payload of resource is not compliant with 0.3.0 wrapped objects (using removed kind field instead)[/+]on Dec 1, 2025
changed the title [-][Bug]: Payload of resource is not compliant with 0.3.0 wrapped objects (using removed kind field instead)[/-][+][Bug]: Payload of resource is not compliant with 1.0 wrapped objects (using removed kind field instead)[/+]on Dec 1, 2025
Activity
[a2aproject#491] Encapsulate the payload of Push notifications
[a2aproject#491] Encapsulate the payload of Push notifications
bug: Encapsulate the payload of Push notifications
bug: Encapsulate the payload of Push notifications
fix: Encapsulate the payload of Push notifications
fix: Encapsulate the payload of Push notifications
fix: Encapsulate the payload of Push notifications
[-][Bug]: Payload of push notifications is not properly encapsulated[/-][+][Bug]: Payload of resource is not compliant with 0.3.0 wrapped objects (using removed kind field instead)[/+][-][Bug]: Payload of resource is not compliant with 0.3.0 wrapped objects (using removed kind field instead)[/-][+][Bug]: Payload of resource is not compliant with 1.0 wrapped objects (using removed kind field instead)[/+]jmesnil commentedon Dec 1, 2025
I'm a bit confused with the spec...
I thought that the latest spec was pointing to 0.3.0. but it's more recent.
So this bug is affecting upcoming spec (1.0?) and is not an issue for 0.3.0. (which still uses the
kindpattern).maeste commentedon Dec 1, 2025
Yup it's for 1.0
ehsavoie commentedon Dec 2, 2025
Should be fixed in #484
jmesnil commentedon Dec 2, 2025
Is it already fixed in #484?
The PR still use JSON annotations to control the JSON serialization (eg https://github.com/ehsavoie/a2a-java/blob/058d607975fe02bbb2cf48d7c51b842b0cbeea7d/spec/src/main/java/io/a2a/spec/EventKind.java#L28-L33)
And the test fixtures needs to be updated as still use the "kind" pattern (instead of wrapping the object).