You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated feature spec: `docs/features/adapters.md` — SkillMapper field mapping table updated, `_build_extensions` noted as removed.
17
+
18
+
### Removed
19
+
20
+
-**`_build_extensions()` dead code** — `AgentSkill` has no `extensions` field in the A2A SDK; this method could never be wired in. Deleted along with its 3 tests.
21
+
22
+
### Changed
23
+
24
+
- Dependency bump: requires `apcore-toolkit >= 0.4.0` for `DisplayResolver`.
25
+
26
+
### Tests
27
+
28
+
-`TestSkillMapperDisplayOverlay` (6 tests): A2A alias used as skill id, A2A description used, tags from display overlay, surface-specific override wins, fallback to scanner values when no overlay.
|`metadata["display"]["a2a"]["alias"]` or `metadata["display"]["alias"]` or `module_id`|`id`| Display overlay alias takes priority |
111
+
|`metadata["display"]["a2a"]["description"]` or `metadata["display"]["description"]` or `description`|`description`| Display overlay description takes priority. Empty/None → return `None`|
112
+
|`metadata["display"]["tags"]` or `tags`|`tags`| Display overlay tags take priority |
114
113
|`examples[:10]`|`examples`|`title` → `name`, `inputs` → JSON string in TextPart |
115
114
| computed |`inputModes`| See mode logic below |
116
115
| computed |`outputModes`| See mode logic below |
117
-
|`annotations`|*(not mapped)*|`_build_extensions()` exists but `a2a.types.AgentSkill` has no `extensions` field; annotations are available via the Explorer UI's `_inputSchemas` enrichment instead|
116
+
|`annotations`|*(not mapped)*|See note below|
118
117
119
118
**Input/output mode logic:**
120
119
@@ -126,17 +125,7 @@ class SkillMapper:
126
125
|`output_schema` defined ||`["application/json"]`|
127
126
| No `output_schema`||`["text/plain"]`|
128
127
129
-
**Extensions structure (when annotations is not None):**
**Note on annotations:**`_build_extensions()` has been removed. `a2a.types.AgentSkill` has no `extensions` field in the A2A SDK; apcore annotations are available via the Explorer UI's `_inputSchemas` enrichment instead.
0 commit comments