Add a2a module: agent card, tasks, streaming, input-required and agent-to-agent calls on the A2A Java SDK, served over the JDK HTTP server

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
This commit is contained in:
Claude
2026-10-11 08:25:15 +00:00
parent ec1b076e9b
commit 39c004eb4a
18 changed files with 947 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
POST /
{
"jsonrpc": "2.0",
"id": "1",
"method": "SendMessage",
"params": {
"message": {
"messageId": "m-1",
"role": "ROLE_USER",
"parts": [
{
"text": "record"
}
]
}
}
}
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"task": {
"id": "<id-1>",
"contextId": "<id-2>",
"status": {
"state": "TASK_STATE_SUBMITTED",
"timestamp": "<time>"
},
"artifacts": [],
"history": [],
"metadata": {}
}
}
}