Class A2aMessages
java.lang.Object
ai.badmonkey.agentspaces.a2a.A2aMessages
The A2A task-binding shapes: the JSON documents A2A clients exchange with
the gateway, and the two space entry types the binding bridges them to. An
inbound
message/send becomes an A2aMessages.A2aTaskEntry written into
the fleet's space; any agent takes it through the space's conflict strategy
and completes it with an A2aMessages.A2aTaskResult; tasks/get reads the
task's state straight out of space semantics, so "working" literally means
"some agent holds the take lease" and a crashed agent's task returns to
"submitted" when the lease lapses.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe space entry an inbound A2A message becomes.static final recordThe result entry an agent completes anA2aMessages.A2aTaskEntrywith.static final recordAn A2A artifact: a task's output.static final recordAn A2A message.static final recordOne content part; the v0.1 binding speaks text parts.static final classA2A task states the binding emits.static final recordAn A2A task status.static final recordThe A2A task documentmessage/sendandtasks/getreturn. -
Method Summary