Commit 60eda67
feat(types): close parity gaps vs node-sdk
Four concrete divergences found in the symmetry audit, now closed:
1. AssociateWalletResponse.agent_memory — mirror of node-sdk fix. API emits
agent_memory on first wallet capture; SDK now surfaces it as optional.
2. AssessResponse.identity_method typed as Literal["wallet",
"operator_token"] — was loose str. Matches node-sdk's union.
3. AccountVerification TypedDict added and wired into
CredentialListResponse.account_verification — was NotRequired[dict] with
zero type safety. node-sdk had a typed AccountVerification interface;
now python does too.
4. CredentialCreateErrorResponse added — typed 409 response for KYC-required
credential mints. node-sdk had this; python was missing it. Exported
from agentscore namespace.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b9db953 commit 60eda67
2 files changed
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
281 | 293 | | |
282 | 294 | | |
283 | | - | |
| 295 | + | |
284 | 296 | | |
285 | 297 | | |
286 | 298 | | |
287 | 299 | | |
288 | 300 | | |
289 | 301 | | |
290 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
291 | 319 | | |
292 | 320 | | |
293 | 321 | | |
| |||
298 | 326 | | |
299 | 327 | | |
300 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
301 | 333 | | |
302 | 334 | | |
303 | 335 | | |
| |||
0 commit comments