Commit 57d212d
fix(identity): pin parity behavior + README example for A2A extensions
Test added asserting that build_a2a_agent_card omits the extensions field
when passed an empty list — locks down current behavior so it can't drift
from node-commerce's matching skip-empty rule (cross-language profiles
canonicalize to identical bytes when both omit).
README example updated to show ucp_a2a_extension() on the build call so
vendors copying the snippet ship spec-compliant A2A cards out of the box.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e07eaaa commit 57d212d
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
193 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
194 | 198 | | |
195 | 199 | | |
196 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
0 commit comments