Commit a31ab29
feat: Add agentCard method to ProtoUtils.FromProto
Added ProtoUtils.FromProto.agentCard() method to convert io.a2a.grpc.AgentCard to io.a2a.spec.AgentCard.
- Follows the same pattern as other FromProto methods (handles both concrete and builder types)
- Uses AgentCardMapper.INSTANCE.fromProto() for the conversion
- Positioned at the start of FromProto class for consistency with ToProto ordering
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent fca4705 commit a31ab29
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
187 | 194 | | |
188 | 195 | | |
189 | 196 | | |
| |||
0 commit comments