a2aproject / a2aproject/a2a-js

[Clarification]: DefaultPushNotificationSender does not set the a2a-version header on outgoing push notifications

Ouverte Adaptée aux débutants
#647 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
613
Forks
169
Merge moyen
1 j 6 h
PR mergées (30 j)
21

Description

Hi, thanks for the great work on the SDK.

When using DefaultPushNotificationSender, outgoing push notifications do not include the a2a-version header. This applies both for v1.0 and when using the legacyCompat serializer with v0.3. The receiver has no way to know which protocol version the body conforms to without inspecting the body itself.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Look for the DefaultPushNotificationSender class in the codebase, likely in a file like src/senders/defaultPushNotificationSender.ts or similar. Examine the method that sends push notifications to see how headers are set. The fix is to add the 'a2a-version' header based on the protocol version being used. Check existing tests for push notifications to understand the expected behavior and add a test for the new header.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, typescript
Domaine
api, backend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Calme
Clarté
Clairement spécifiée
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.