Skip to content

Commit a24eb07

Browse files
committed
fix spelling
1 parent 38eabc7 commit a24eb07

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/spelling/allow.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ lifecycles
8585
linting
8686
Llm
8787
lstrips
88+
mcp
8889
middleware
8990
mikeas
9091
mockurl

docs/migrations/v1_0/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ dependencies = ["a2a-sdk>=1.0.0"]
3838

3939
Types are now **Protobuf-based** instead of Pydantic models.
4040

41-
4241
### Enum values: snake_case → SCREAMING_SNAKE_CASE
4342

4443
All enum values have been renamed from snake_case strings to `SCREAMING_SNAKE_CASE`.
@@ -110,7 +109,7 @@ The `AgentCard` has been significantly restructured to support multiple transpor
110109

111110
Key differences:
112111
- `url` is gone; use `supported_interfaces` with one or more `AgentInterface` entries
113-
- `AgentCapabilities.input_modes` and `AgentCapabilities.output_modes` are removed from `AgentCapabilities`; use `AgentCard.default_input_modes` / `AgentCard.default_output_modes` for card-level defaults, or `AgentSkill.input_modes` / `AgentSkill.output_modes` for per-skill overrides
112+
- `AgentCapabilities.input_modes` and `AgentCapabilities.output_modes` are removed; use `AgentCard.default_input_modes` / `AgentCard.default_output_modes` for card-level defaults, or `AgentSkill.input_modes` / `AgentSkill.output_modes` for per-skill overrides
114113
- `supports_authenticated_extended_card` is no longer a top-level `AgentCard` field; it has moved into `AgentCapabilities` and is renamed to `extended_agent_card`
115114
- `AgentInterface.protocol_binding` accepted values: `'JSONRPC'`, `'HTTP+JSON'`, `'GRPC'`
116115
- `examples` field has moved to `AgentSkill.examples` (set it per skill instead)
@@ -334,7 +333,7 @@ Key differences:
334333
- `SendStreamingMessageRequest``SendMessageRequest`
335334
- `MessageSendParams` wrapper is gone; `message` is a field directly on `SendMessageRequest`
336335
- `send_message()` returns `AsyncIterator[StreamResponse]`; iterate with `async for`
337-
- Each `StreamResponse` has a `payload` oneof — use `HasField()` to check which field is set (`'task'`, `'message'`, `'status_update'`, `'artifact_update'`)
336+
- Each `StreamResponse` has a `payload` which is one of: `'task'`, `'message'`, `'status_update'`, `'artifact_update'`. Use `HasField()` to check which field is set.
338337
- Agent outputs should now be published as **Artifacts**, not status message text
339338

340339
> **Example**: [`helloworld/test_client.py` in PR #474](https://github.com/a2aproject/a2a-samples/pull/474/files#diff-f62c07d3b00364a3100b7effb3e2a1cca0624277d3e40da1bdb07bb46b6a8cef)

0 commit comments

Comments
 (0)