Skip to content

feat(a2a): add collaborative/shared-task extension URI constants and attribution helper - #576

Open
Tehsmash wants to merge 2 commits into
mainfrom
feat/collaborative-task-extension-constants
Open

Tehsmash wants to merge 2 commits into
mainfrom
feat/collaborative-task-extension-constants

Conversation

@Tehsmash

Copy link
Copy Markdown
Collaborator

Summary

Additive changes to the a2a crate as the foundation for the collaborative task extension implementation.

  • Adds three extension URI constants (EXTENSION_URI_SHARED_TASK, EXTENSION_URI_COLLABORATIVE_TASK, EXTENSION_URI_SLIMRPC_COLLABORATIVE_TASK) to a2a/src/lib.rs
  • Adds shared_task_attribution(sender) free function to a2a/src/event.rs — builds the message-sender attribution block for Message.metadata per spec §4.1

No breaking changes

Additive-only. All existing tests pass.

Spec reference

A2A Collaborative Task v1 spec §4.1

Closes #570. Part of #569.

…attribution helper

Add three extension URI constants for the collaborative task spec:
- EXTENSION_URI_SHARED_TASK
- EXTENSION_URI_COLLABORATIVE_TASK
- EXTENSION_URI_SLIMRPC_COLLABORATIVE_TASK

Add shared_task_attribution() free function that builds the message-sender
attribution block for Message.metadata per spec §4.1.

Closes #570. Part of #569.

Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
@Tehsmash
Tehsmash requested a review from a team as a code owner November 20, 2026 11:56
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

feat(a2a): add collaborative/shared-task extension URI constants and attribution helper

1 participant