Skip to content

Update samples and docs for v0.4.0 spec compliance#11

Merged
vsima merged 2 commits intomainfrom
claude/affectionate-black
Mar 16, 2026
Merged

Update samples and docs for v0.4.0 spec compliance#11
vsima merged 2 commits intomainfrom
claude/affectionate-black

Conversation

@vsima
Copy link
Copy Markdown
Member

@vsima vsima commented Mar 16, 2026

Summary

  • Bump a2a-swift dependency to 0.4.0 in both sample apps (A2AServer, A2AChatClient)
  • Fix JSON-RPC method names in all documentation to match A2A v1.0 proto spec (SendMessage, SendStreamingMessage instead of message/send)
  • Fix role values (ROLE_USER) and add required messageId to curl examples
  • Fix product JSON schema in A2AServer README (tags array instead of specs object)
  • Use any-match keyword search for better fallback results without Ollama

Test plan

  • Docker compose with Ollama — server returns LLM-generated responses
  • Curl with correct method names and message format works
  • Agent card discovery at /.well-known/agent-card.json works
  • Sample Package.swift files resolve against published 0.4.0 release

🤖 Generated with Claude Code

vsima and others added 2 commits March 16, 2026 11:46
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump a2a-swift dependency to 0.4.0 in both sample apps
- Fix JSON-RPC method names in curl examples (SendMessage, SendStreamingMessage)
- Fix role values (ROLE_USER) and add messageId to message examples
- Fix product JSON format in README (tags instead of specs)
- Use any-match search instead of all-match for better keyword coverage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vsima vsima merged commit 2a32c8c into main Mar 16, 2026
5 checks passed
@vsima vsima deleted the claude/affectionate-black branch March 16, 2026 16:13
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.

1 participant