@devlab.group/agent-commerce 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +19 -17
  2. package/dist/ap2.js +2 -2
  3. package/dist/{chunk-WDD2ZUR3.js → chunk-46Y5M7BA.js} +3 -2
  4. package/dist/chunk-46Y5M7BA.js.map +1 -0
  5. package/dist/{chunk-QZW5YL3G.js → chunk-5Q6W7YTK.js} +3 -3
  6. package/dist/{chunk-QZW5YL3G.js.map → chunk-5Q6W7YTK.js.map} +1 -1
  7. package/dist/{chunk-ENK63GKR.js → chunk-JF45GSNA.js} +3 -3
  8. package/dist/{chunk-ENK63GKR.js.map → chunk-JF45GSNA.js.map} +1 -1
  9. package/dist/{cli/chunk-APC5BTQM.js → chunk-RF3DFVXH.js} +2 -2
  10. package/dist/{chunk-IWXVQYG5.js.map → chunk-RF3DFVXH.js.map} +1 -1
  11. package/dist/cli/{ap2-GYKFGE66.js → ap2-SJZAZQIR.js} +5 -5
  12. package/dist/cli/{ap2-GYKFGE66.js.map → ap2-SJZAZQIR.js.map} +1 -1
  13. package/dist/cli/chunk-25WJIUJU.js +8 -0
  14. package/dist/cli/{chunk-SAAT2XFX.js.map → chunk-25WJIUJU.js.map} +1 -1
  15. package/dist/cli/{chunk-DKWO6LLX.js → chunk-4WPHZLVO.js} +3 -2
  16. package/dist/cli/chunk-4WPHZLVO.js.map +1 -0
  17. package/dist/cli/chunk-IJFPWT4I.js +435 -0
  18. package/dist/cli/chunk-IJFPWT4I.js.map +1 -0
  19. package/dist/cli/{chunk-VWQMSWDF.js → chunk-K34CRXKX.js} +3 -3
  20. package/dist/cli/{chunk-VWQMSWDF.js.map → chunk-K34CRXKX.js.map} +1 -1
  21. package/dist/cli/{chunk-WFIR374D.js → chunk-L264N3ZV.js} +41 -5
  22. package/dist/cli/chunk-L264N3ZV.js.map +1 -0
  23. package/dist/cli/{chunk-SYXLQ5BS.js → chunk-NM7V2Y4I.js} +5 -5
  24. package/dist/cli/{chunk-SYXLQ5BS.js.map → chunk-NM7V2Y4I.js.map} +1 -1
  25. package/dist/cli/{chunk-3PGFOEVJ.js → chunk-SHIA2B6G.js} +32 -6
  26. package/dist/cli/chunk-SHIA2B6G.js.map +1 -0
  27. package/dist/cli/{chunk-YXXPZFWC.js → chunk-U3SEGD4H.js} +126 -18
  28. package/dist/cli/chunk-U3SEGD4H.js.map +1 -0
  29. package/dist/{chunk-IWXVQYG5.js → cli/chunk-UV23DWUY.js} +2 -2
  30. package/dist/cli/{chunk-APC5BTQM.js.map → chunk-UV23DWUY.js.map} +1 -1
  31. package/dist/cli/{config-JWMHWVRT.js → config-IBG46HTQ.js} +6 -6
  32. package/dist/cli/{config-JWMHWVRT.js.map → config-IBG46HTQ.js.map} +1 -1
  33. package/dist/cli/index.js +33 -13
  34. package/dist/cli/index.js.map +1 -1
  35. package/dist/cli/{mcp-OW5GY7TT.js → mcp-F3EQQWDZ.js} +3 -3
  36. package/dist/cli/{mcp-OW5GY7TT.js.map → mcp-F3EQQWDZ.js.map} +1 -1
  37. package/dist/cli/payment-providers-FPTGQBU7.js +6 -0
  38. package/dist/cli/{payment-providers-QL2BJYMD.js.map → payment-providers-FPTGQBU7.js.map} +1 -1
  39. package/dist/cli/{provider-3A2LVEQS.js → provider-XACFJ7MG.js} +4 -4
  40. package/dist/cli/{provider-3A2LVEQS.js.map → provider-XACFJ7MG.js.map} +1 -1
  41. package/dist/cli/receipts-AXCPPGOK.js +9 -0
  42. package/dist/cli/{receipts-FQUFGEQD.js.map → receipts-AXCPPGOK.js.map} +1 -1
  43. package/dist/cli/{run-KF5OQYPL.js → run-C3VWMM57.js} +830 -184
  44. package/dist/cli/run-C3VWMM57.js.map +1 -0
  45. package/dist/cli/{x402-5A7CVCIJ.js → x402-SUXWULOP.js} +5 -5
  46. package/dist/cli/{x402-5A7CVCIJ.js.map → x402-SUXWULOP.js.map} +1 -1
  47. package/dist/index.d.ts +74 -31
  48. package/dist/index.js +1290 -255
  49. package/dist/index.js.map +1 -1
  50. package/dist/mcp.js +1 -1
  51. package/dist/mpp.js +2 -2
  52. package/dist/{store-BzgwHOPu.d.ts → store-04pazhFP.d.ts} +52 -1
  53. package/dist/testing.js +468 -273
  54. package/dist/testing.js.map +1 -1
  55. package/dist/x402.js +3 -3
  56. package/package.json +1 -1
  57. package/dist/chunk-WDD2ZUR3.js.map +0 -1
  58. package/dist/cli/chunk-3PGFOEVJ.js.map +0 -1
  59. package/dist/cli/chunk-6BWEHQPJ.js +0 -215
  60. package/dist/cli/chunk-6BWEHQPJ.js.map +0 -1
  61. package/dist/cli/chunk-DKWO6LLX.js.map +0 -1
  62. package/dist/cli/chunk-SAAT2XFX.js +0 -8
  63. package/dist/cli/chunk-WFIR374D.js.map +0 -1
  64. package/dist/cli/chunk-YXXPZFWC.js.map +0 -1
  65. package/dist/cli/payment-providers-QL2BJYMD.js +0 -6
  66. package/dist/cli/receipts-FQUFGEQD.js +0 -9
  67. package/dist/cli/run-KF5OQYPL.js.map +0 -1
@@ -0,0 +1,435 @@
1
+ // src/support/a2a.json
2
+ var a2a_default = {
3
+ name: "a2a",
4
+ kind: "protocol",
5
+ title: "A2A",
6
+ status: "supported",
7
+ role: "Transport that carries x402 and MPP payments in `SendMessage`, including through the x402 extension.",
8
+ subset: "Agent Card, `SendMessage` with `returnImmediately`, `GetTask`, `ListTasks`, `CancelTask` and the paid flow; the x402 extension is experimental",
9
+ spec: {
10
+ revisions: ["1.0.1"],
11
+ display: "v1.0.1; negotiation `1.0`; `JSONRPC` binding",
12
+ source: {
13
+ repo: "a2aproject/A2A",
14
+ commit: "3303592588e388e62e0f69f701af531d2f4e3991"
15
+ },
16
+ stable: true,
17
+ statement: "the first stable, production-ready version",
18
+ checked: "2026-11-17"
19
+ },
20
+ packages: [{ name: "@a2a-js/sdk", use: "test" }],
21
+ artifacts: [],
22
+ features: [
23
+ { name: "agent-card", status: "supported" },
24
+ { name: "jsonrpc", status: "supported" },
25
+ { name: "SendMessage", status: "supported" },
26
+ { name: "GetTask", status: "supported" },
27
+ { name: "ListTasks", status: "supported" },
28
+ { name: "CancelTask", status: "supported" },
29
+ { name: "returnImmediately", status: "supported" },
30
+ { name: "x402-extension", status: "experimental" }
31
+ ],
32
+ exclusions: [
33
+ { name: "SendStreamingMessage" },
34
+ { name: "SubscribeToTask" },
35
+ { name: "CreateTaskPushNotificationConfig" },
36
+ { name: "GetTaskPushNotificationConfig" },
37
+ { name: "ListTaskPushNotificationConfigs" },
38
+ { name: "DeleteTaskPushNotificationConfig" },
39
+ { name: "GetExtendedAgentCard" },
40
+ { name: "HTTP+JSON/REST binding" },
41
+ { name: "gRPC binding" },
42
+ { name: "SSE" },
43
+ {
44
+ name: "resuming a background task after a restart",
45
+ note: "A task the gateway stopped in reads as failed; any payment is in the gateway records."
46
+ },
47
+ { name: "task resumption other than an x402 extension payment" },
48
+ { name: "push notifications" },
49
+ { name: "multi-turn conversational continuation" },
50
+ {
51
+ name: "client-chosen contextId",
52
+ note: "A `contextId` without a task gets `UnsupportedOperationError`; each new task opens a context the gateway generates."
53
+ },
54
+ {
55
+ name: "listing tasks across contexts",
56
+ note: "`ListTasks` reads only the given `contextId`; without one, the page is empty."
57
+ },
58
+ {
59
+ name: "task history",
60
+ note: "Tasks omit `history`; `historyLength` is validated but has nothing to cap."
61
+ },
62
+ { name: "non-empty tenant" },
63
+ { name: "text parts" },
64
+ { name: "file and URL parts (including inline bytes)" },
65
+ { name: "multi-part messages" },
66
+ { name: "message roles other than ROLE_USER" },
67
+ { name: "authenticated extended agent cards" },
68
+ { name: "A2A authentication schemes" },
69
+ { name: "artifact types beyond Agent Commerce outcome data" },
70
+ {
71
+ name: "tasks across gateway instances",
72
+ note: "Instances with separate receipt stores cannot read, cancel or pay each other's tasks."
73
+ }
74
+ ],
75
+ deviations: [
76
+ {
77
+ summary: "A `ListTasks` page with no matching task has an empty `tasks` array. The proto marks `tasks` REQUIRED, and \xA75.7 requires a REQUIRED array to hold an element, but an empty result has none to return.",
78
+ spec: "A2A 1.0.1 \xA75.7; `ListTasksResponse.tasks`",
79
+ tests: ["tests/conformance/a2a/tasks.test.ts"]
80
+ }
81
+ ],
82
+ conformance: {
83
+ suite: "Our tests against the A2A 1.0.1 specification, and the A2A TCK at MUST level in CI.",
84
+ tests: [
85
+ "tests/conformance/a2a/agent-card.test.ts",
86
+ "tests/conformance/a2a/errors.test.ts",
87
+ "tests/conformance/a2a/free-resource.test.ts",
88
+ "tests/conformance/a2a/paid-resource.test.ts",
89
+ "tests/conformance/a2a/params.test.ts",
90
+ "tests/conformance/a2a/protocol-version.test.ts",
91
+ "tests/conformance/a2a/tasks.test.ts"
92
+ ],
93
+ skipped: [],
94
+ upstream: {
95
+ repo: "a2aproject/a2a-tck",
96
+ commit: "5e6f37c2d38eb3d7684686243c34d365c83df49b",
97
+ command: "run_tck.py --sut-host http://127.0.0.1:8099 --transport jsonrpc --level must",
98
+ workflow: ".github/workflows/ci.yml",
99
+ job: "tck",
100
+ results: [
101
+ {
102
+ test: "tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-SEND-001-jsonrpc]",
103
+ id: "CORE-SEND-001",
104
+ outcome: "failed",
105
+ message: "Text parts are not supported",
106
+ reason: "The test sends a text part, and the Agent Card declares only application/json input",
107
+ upstream: "Report drafted, not filed"
108
+ },
109
+ {
110
+ test: "tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-EXECUTION-MODE-001-jsonrpc]",
111
+ id: "CORE-EXECUTION-MODE-001",
112
+ outcome: "failed",
113
+ message: "Text parts are not supported",
114
+ reason: "The test sends a text part, and the Agent Card declares only application/json input",
115
+ upstream: "Report drafted, not filed"
116
+ },
117
+ {
118
+ test: "tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-EXECUTION-MODE-002-jsonrpc]",
119
+ id: "CORE-EXECUTION-MODE-002",
120
+ outcome: "failed",
121
+ message: "Text parts are not supported",
122
+ reason: "The test sends a text part, and the Agent Card declares only application/json input",
123
+ upstream: "Report drafted, not filed"
124
+ },
125
+ {
126
+ test: "tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-MULTI-001a-jsonrpc]",
127
+ id: "CORE-MULTI-001a",
128
+ outcome: "failed",
129
+ message: "Text parts are not supported",
130
+ reason: "The test sends a text part, and the Agent Card declares only application/json input",
131
+ upstream: "Report drafted, not filed"
132
+ },
133
+ {
134
+ test: "tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-MULTI-003-jsonrpc]",
135
+ id: "CORE-MULTI-003",
136
+ outcome: "failed",
137
+ message: "Text parts are not supported",
138
+ reason: "The test sends a text part, and the Agent Card declares only application/json input",
139
+ upstream: "Report drafted, not filed"
140
+ },
141
+ {
142
+ test: "tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-MULTI-002a-jsonrpc]",
143
+ id: "CORE-MULTI-002a",
144
+ outcome: "failed",
145
+ message: "Multi-turn conversational continuation is not supported",
146
+ reason: "The adapter refuses the client contextId with -32004, as the requirement asks, but the requirement sets no expected error and the runner fails on any error. Its sample input also sends a text part.",
147
+ spec: "A2A 1.0.1 \xA73.4.1",
148
+ upstream: "Report drafted, not filed"
149
+ },
150
+ {
151
+ test: "tests.compatibility.core_operations.test_transport_behavior.TestJsonRpcFormat::test_response_validates_jsonrpc_envelope",
152
+ id: "JSONRPC-FMT-001",
153
+ outcome: "failed",
154
+ message: "Text parts are not supported",
155
+ reason: "The test sends a text part, and the Agent Card declares only application/json input",
156
+ upstream: "Report drafted, not filed"
157
+ },
158
+ {
159
+ test: "tests.compatibility.core_operations.test_artifacts.TestTextArtifact::test_task_has_text_artifact[jsonrpc]",
160
+ id: "DM-ART-001",
161
+ outcome: "skipped",
162
+ message: "send_message failed: Text parts are not supported",
163
+ reason: "The test creates its task with a text part, which the adapter refuses",
164
+ upstream: "Report drafted, not filed"
165
+ },
166
+ {
167
+ test: "tests.compatibility.core_operations.test_artifacts.TestFileArtifact::test_task_has_file_artifact[jsonrpc]",
168
+ id: "DM-ART-001",
169
+ outcome: "skipped",
170
+ message: "send_message failed: Text parts are not supported",
171
+ reason: "The test creates its task with a text part, which the adapter refuses",
172
+ upstream: "Report drafted, not filed"
173
+ },
174
+ {
175
+ test: "tests.compatibility.core_operations.test_artifacts.TestFileUrlArtifact::test_task_has_file_url_artifact[jsonrpc]",
176
+ id: "DM-ART-001",
177
+ outcome: "skipped",
178
+ message: "send_message failed: Text parts are not supported",
179
+ reason: "The test creates its task with a text part, which the adapter refuses",
180
+ upstream: "Report drafted, not filed"
181
+ },
182
+ {
183
+ test: "tests.compatibility.core_operations.test_artifacts.TestDataArtifact::test_task_has_data_artifact[jsonrpc]",
184
+ id: "DM-ART-001",
185
+ outcome: "skipped",
186
+ message: "send_message failed: Text parts are not supported",
187
+ reason: "The test creates its task with a text part, which the adapter refuses",
188
+ upstream: "Report drafted, not filed"
189
+ },
190
+ {
191
+ test: "tests.compatibility.core_operations.test_artifacts.TestMessageResponse::test_returns_message_with_text_part[jsonrpc]",
192
+ id: "DM-MSG-001",
193
+ outcome: "skipped",
194
+ message: "send_message failed: Text parts are not supported",
195
+ reason: "The test creates its task with a text part, which the adapter refuses",
196
+ upstream: "Report drafted, not filed"
197
+ },
198
+ {
199
+ test: "tests.compatibility.core_operations.test_task_history.TestHistoryLengthLimit::test_get_task_history_does_not_exceed_limit[jsonrpc]",
200
+ id: "CORE-HIST-002",
201
+ outcome: "skipped",
202
+ message: "send_message failed: Text parts are not supported",
203
+ reason: "The test creates its task with a text part, which the adapter refuses",
204
+ upstream: "Report drafted, not filed"
205
+ },
206
+ {
207
+ test: "tests.compatibility.core_operations.test_task_lifecycle.TestGetTask::test_get_task_returns_current_state[jsonrpc]",
208
+ id: "CORE-GET-001",
209
+ outcome: "skipped",
210
+ message: "send_message failed: Text parts are not supported",
211
+ reason: "The test creates its task with a text part, which the adapter refuses",
212
+ upstream: "Report drafted, not filed"
213
+ },
214
+ {
215
+ test: "tests.compatibility.core_operations.test_task_lifecycle.TestCancelTask::test_cancel_task_returns_updated_state[jsonrpc]",
216
+ id: "CORE-CANCEL-001",
217
+ outcome: "skipped",
218
+ message: "send_message failed: Text parts are not supported",
219
+ reason: "The test creates its task with a text part, which the adapter refuses",
220
+ upstream: "Report drafted, not filed"
221
+ },
222
+ {
223
+ test: "tests.compatibility.core_operations.test_task_lifecycle.TestCancelTask::test_cancel_terminal_task_returns_error[jsonrpc]",
224
+ id: "CORE-CANCEL-002",
225
+ outcome: "skipped",
226
+ message: "send_message failed: Text parts are not supported",
227
+ reason: "The test creates its task with a text part, which the adapter refuses",
228
+ upstream: "Report drafted, not filed"
229
+ },
230
+ {
231
+ test: "tests.compatibility.core_operations.test_task_lifecycle.TestMultiTurn::test_send_message_to_terminal_task[jsonrpc]",
232
+ id: "CORE-SEND-002",
233
+ outcome: "skipped",
234
+ message: "send_message failed: Text parts are not supported",
235
+ reason: "The test creates its task with a text part, which the adapter refuses",
236
+ upstream: "Report drafted, not filed"
237
+ },
238
+ {
239
+ test: "tests.compatibility.core_operations.test_task_lifecycle.TestMultiTurn::test_infer_context_from_task[jsonrpc]",
240
+ id: "CORE-MULTI-005",
241
+ outcome: "skipped",
242
+ message: "send_message failed: Text parts are not supported",
243
+ reason: "The test creates its task with a text part, which the adapter refuses",
244
+ upstream: "Report drafted, not filed"
245
+ },
246
+ {
247
+ test: "tests.compatibility.core_operations.test_task_lifecycle.TestMultiTurn::test_reject_mismatching_context[jsonrpc]",
248
+ id: "CORE-MULTI-006",
249
+ outcome: "skipped",
250
+ message: "send_message failed: Text parts are not supported",
251
+ reason: "The test creates its task with a text part, which the adapter refuses",
252
+ upstream: "Report drafted, not filed"
253
+ },
254
+ {
255
+ test: "tests.compatibility.core_operations.test_data_model.TestSendMessageResponseSchema::test_response_validates_against_schema",
256
+ outcome: "skipped",
257
+ message: "No successful send_message responses",
258
+ reason: "Every message in the run sends a text part, which leaves no successful response to check",
259
+ upstream: "Report drafted, not filed"
260
+ },
261
+ {
262
+ test: "tests.compatibility.core_operations.test_data_model.TestCamelCaseFieldNames::test_no_snake_case_keys",
263
+ id: "DM-SERIAL-001",
264
+ outcome: "skipped",
265
+ message: "No successful send_message responses",
266
+ reason: "Every message in the run sends a text part, which leaves no successful response to check",
267
+ upstream: "Report drafted, not filed"
268
+ },
269
+ {
270
+ test: "tests.compatibility.core_operations.test_data_model.TestEnumSerialization::test_enum_values_are_strings",
271
+ id: "DM-SERIAL-002",
272
+ outcome: "skipped",
273
+ message: "No successful send_message responses",
274
+ reason: "Every message in the run sends a text part, which leaves no successful response to check",
275
+ upstream: "Report drafted, not filed"
276
+ },
277
+ {
278
+ test: "tests.compatibility.core_operations.test_data_model.TestTimestampFormat::test_timestamps_are_iso8601_utc",
279
+ id: "DM-SERIAL-003",
280
+ outcome: "skipped",
281
+ message: "No successful send_message responses",
282
+ reason: "Every message in the run sends a text part, which leaves no successful response to check",
283
+ upstream: "Report drafted, not filed"
284
+ }
285
+ ],
286
+ skipClasses: [
287
+ {
288
+ reason: "The gateway serves only the JSON-RPC binding",
289
+ messages: [
290
+ "Transport 'http_json' not configured",
291
+ "Transport 'grpc' not configured",
292
+ "Transport 'grpc' not configured (filtered by --transport)",
293
+ "Transport 'http_json' not configured (filtered by --transport)",
294
+ "HTTP+JSON transport not configured",
295
+ "gRPC transport not configured"
296
+ ]
297
+ },
298
+ {
299
+ reason: "The Agent Card declares streaming false (excluded)",
300
+ messages: [
301
+ "Agent does not support streaming",
302
+ "Agent card does not declare capabilities for: ['streaming']",
303
+ 'Streaming not supported: A2A method "SendStreamingMessage" is not supported by this deployment.'
304
+ ]
305
+ },
306
+ {
307
+ reason: "The Agent Card declares push notifications false (excluded)",
308
+ messages: ["Agent does not support push notifications"]
309
+ },
310
+ {
311
+ reason: "The Agent Card declares no extended card (excluded)",
312
+ messages: ["Agent does not declare extendedAgentCard capability"]
313
+ },
314
+ {
315
+ reason: "The TCK's probe for an agent that requires its test extension; this card requires none",
316
+ messages: ["Agent card does not declare urn:a2a:tck:required-extension as required"]
317
+ }
318
+ ]
319
+ }
320
+ },
321
+ gaps: [
322
+ {
323
+ requirement: "\xA73.1: GetTask, ListTasks and CancelTask, which every agent implements",
324
+ state: "closed"
325
+ },
326
+ {
327
+ requirement: "\xA73.2.2: returnImmediately as well as the blocking default",
328
+ state: "closed"
329
+ },
330
+ {
331
+ requirement: "\xA73.3.2: validate all input parameters, including tenant and configuration",
332
+ state: "closed"
333
+ },
334
+ {
335
+ requirement: "\xA77.1: encrypted communication in production; config accepts an http merchant.publicBaseUrl, and doctor warns when its host is not loopback",
336
+ state: "closed"
337
+ }
338
+ ],
339
+ docs: ["docs/protocols/a2a.md"]
340
+ };
341
+
342
+ // src/support/acp.json
343
+ var acp_default = {
344
+ name: "acp",
345
+ kind: "protocol",
346
+ title: "ACP",
347
+ status: "experimental",
348
+ role: "Checkout API that forwards checkout operations to the merchant, whose payment handler receives `payment_data`. Gateway checkout routes are free and carry no x402 or MPP payment.",
349
+ subset: "discovery and the five checkout operations",
350
+ spec: {
351
+ revisions: ["2026-04-17"],
352
+ display: "stable snapshot `2026-04-17`; REST binding",
353
+ source: {
354
+ repo: "agentic-commerce-protocol/agentic-commerce-protocol",
355
+ commit: "6b828681206f1f98a3faba978610ced66770d2ae"
356
+ },
357
+ stable: false,
358
+ statement: "currently in `beta`",
359
+ checked: "2026-11-17"
360
+ },
361
+ packages: [],
362
+ artifacts: [
363
+ {
364
+ path: "src/protocols/acp/spec/2026-04-17/schema.agentic_checkout.json",
365
+ revision: "6b828681206f1f98a3faba978610ced66770d2ae"
366
+ },
367
+ {
368
+ path: "tests/fixtures/acp/2026-04-17",
369
+ revision: "6b828681206f1f98a3faba978610ced66770d2ae"
370
+ }
371
+ ],
372
+ features: [
373
+ { name: "rest transport", status: "experimental" },
374
+ { name: "well-known discovery", status: "experimental" },
375
+ { name: "bearer authentication", status: "experimental" },
376
+ { name: "API-Version enforcement", status: "experimental" },
377
+ { name: "request header forwarding to the merchant", status: "experimental" },
378
+ { name: "checkout service", status: "experimental" },
379
+ { name: "createCheckoutSession", status: "experimental" },
380
+ { name: "updateCheckoutSession", status: "experimental" },
381
+ { name: "getCheckoutSession", status: "experimental" },
382
+ { name: "completeCheckoutSession", status: "experimental" },
383
+ { name: "cancelCheckoutSession", status: "experimental" }
384
+ ],
385
+ exclusions: [
386
+ {
387
+ name: "carts service",
388
+ note: "The discovery document advertises only the checkout service."
389
+ },
390
+ { name: "feed service" },
391
+ { name: "standalone orders service" },
392
+ { name: "delegate_payment" },
393
+ { name: "delegate_authentication" },
394
+ { name: "ACP MCP transport binding" },
395
+ { name: "webhooks", note: "The merchant backend sends ACP order webhooks itself." },
396
+ { name: "outbound merchant-to-agent delivery" },
397
+ { name: "ACP client role" },
398
+ {
399
+ name: "Signature header verification",
400
+ note: "The adapter forwards the header to the merchant unverified."
401
+ },
402
+ {
403
+ name: "Timestamp replay-window verification",
404
+ note: "The adapter forwards the header to the merchant unverified."
405
+ },
406
+ { name: "discount extension" },
407
+ { name: "general ACP extension framework" },
408
+ { name: "multiple ACP API versions" },
409
+ { name: "seller-backed payment handler integration" }
410
+ ],
411
+ deviations: [
412
+ {
413
+ summary: "After a merchant 5xx, retrying the same `Idempotency-Key` returns 409 `idempotency_unresolved` unless `protocols.acp.idempotency.merchantIdempotent` is true. The merchant may have acted, and another execution could duplicate the order.",
414
+ spec: "ACP RFC \xA76.5",
415
+ tests: ["tests/conformance/acp/idempotency.test.ts", "tests/conformance/acp/errors.test.ts"]
416
+ }
417
+ ],
418
+ conformance: {
419
+ suite: "Our tests against the vendored schema and official examples; ACP publishes no conformance suite.",
420
+ tests: [
421
+ "tests/conformance/acp/checkout.test.ts",
422
+ "tests/conformance/acp/errors.test.ts",
423
+ "tests/conformance/acp/idempotency.test.ts",
424
+ "tests/conformance/acp/protocol.test.ts",
425
+ "tests/conformance/acp/snapshot.test.ts"
426
+ ],
427
+ skipped: []
428
+ },
429
+ gaps: [],
430
+ docs: ["docs/protocols/acp.md"]
431
+ };
432
+
433
+ export { a2a_default, acp_default };
434
+ //# sourceMappingURL=chunk-IJFPWT4I.js.map
435
+ //# sourceMappingURL=chunk-IJFPWT4I.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/support/a2a.json","../../src/support/acp.json"],"names":[],"mappings":";AAAA,IAAA,WAAA,GAAA;AAAA,EACE,IAAA,EAAQ,KAAA;AAAA,EACR,IAAA,EAAQ,UAAA;AAAA,EACR,KAAA,EAAS,KAAA;AAAA,EACT,MAAA,EAAU,WAAA;AAAA,EACV,IAAA,EAAQ,sGAAA;AAAA,EACR,MAAA,EAAU,gJAAA;AAAA,EACV,IAAA,EAAQ;AAAA,IACN,SAAA,EAAa,CAAC,OAAO,CAAA;AAAA,IACrB,OAAA,EAAW,8CAAA;AAAA,IACX,MAAA,EAAU;AAAA,MACR,IAAA,EAAQ,gBAAA;AAAA,MACR,MAAA,EAAU;AAAA,KACZ;AAAA,IACA,MAAA,EAAU,IAAA;AAAA,IACV,SAAA,EAAa,4CAAA;AAAA,IACb,OAAA,EAAW;AAAA,GACb;AAAA,EACA,UAAY,CAAC,EAAE,MAAQ,aAAA,EAAe,GAAA,EAAO,QAAQ,CAAA;AAAA,EACrD,WAAa,EAAC;AAAA,EACd,QAAA,EAAY;AAAA,IACV,EAAE,IAAA,EAAQ,YAAA,EAAc,MAAA,EAAU,WAAA,EAAY;AAAA,IAC9C,EAAE,IAAA,EAAQ,SAAA,EAAW,MAAA,EAAU,WAAA,EAAY;AAAA,IAC3C,EAAE,IAAA,EAAQ,aAAA,EAAe,MAAA,EAAU,WAAA,EAAY;AAAA,IAC/C,EAAE,IAAA,EAAQ,SAAA,EAAW,MAAA,EAAU,WAAA,EAAY;AAAA,IAC3C,EAAE,IAAA,EAAQ,WAAA,EAAa,MAAA,EAAU,WAAA,EAAY;AAAA,IAC7C,EAAE,IAAA,EAAQ,YAAA,EAAc,MAAA,EAAU,WAAA,EAAY;AAAA,IAC9C,EAAE,IAAA,EAAQ,mBAAA,EAAqB,MAAA,EAAU,WAA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AA,IACT,KAAA,EAAS;AAAA,MACP,wCAAA;AAAA,MACA,sCAAA;AAAA,MACA,2CAAA;AAAA,MACA,wCAAA;AAAA,MACA;AAAA,KACF;AAAA,IACA,SAAW;AAAC,GACd;AAAA,EACA,MAAQ,EAAC;AAAA,EACT,IAAA,EAAQ,CAAC,uBAAuB;AAClC","file":"chunk-IJFPWT4I.js","sourcesContent":["{\n \"name\": \"a2a\",\n \"kind\": \"protocol\",\n \"title\": \"A2A\",\n \"status\": \"supported\",\n \"role\": \"Transport that carries x402 and MPP payments in `SendMessage`, including through the x402 extension.\",\n \"subset\": \"Agent Card, `SendMessage` with `returnImmediately`, `GetTask`, `ListTasks`, `CancelTask` and the paid flow; the x402 extension is experimental\",\n \"spec\": {\n \"revisions\": [\"1.0.1\"],\n \"display\": \"v1.0.1; negotiation `1.0`; `JSONRPC` binding\",\n \"source\": {\n \"repo\": \"a2aproject/A2A\",\n \"commit\": \"3303592588e388e62e0f69f701af531d2f4e3991\"\n },\n \"stable\": true,\n \"statement\": \"the first stable, production-ready version\",\n \"checked\": \"2026-11-17\"\n },\n \"packages\": [{ \"name\": \"@a2a-js/sdk\", \"use\": \"test\" }],\n \"artifacts\": [],\n \"features\": [\n { \"name\": \"agent-card\", \"status\": \"supported\" },\n { \"name\": \"jsonrpc\", \"status\": \"supported\" },\n { \"name\": \"SendMessage\", \"status\": \"supported\" },\n { \"name\": \"GetTask\", \"status\": \"supported\" },\n { \"name\": \"ListTasks\", \"status\": \"supported\" },\n { \"name\": \"CancelTask\", \"status\": \"supported\" },\n { \"name\": \"returnImmediately\", \"status\": \"supported\" },\n { \"name\": \"x402-extension\", \"status\": \"experimental\" }\n ],\n \"exclusions\": [\n { \"name\": \"SendStreamingMessage\" },\n { \"name\": \"SubscribeToTask\" },\n { \"name\": \"CreateTaskPushNotificationConfig\" },\n { \"name\": \"GetTaskPushNotificationConfig\" },\n { \"name\": \"ListTaskPushNotificationConfigs\" },\n { \"name\": \"DeleteTaskPushNotificationConfig\" },\n { \"name\": \"GetExtendedAgentCard\" },\n { \"name\": \"HTTP+JSON/REST binding\" },\n { \"name\": \"gRPC binding\" },\n { \"name\": \"SSE\" },\n {\n \"name\": \"resuming a background task after a restart\",\n \"note\": \"A task the gateway stopped in reads as failed; any payment is in the gateway records.\"\n },\n { \"name\": \"task resumption other than an x402 extension payment\" },\n { \"name\": \"push notifications\" },\n { \"name\": \"multi-turn conversational continuation\" },\n {\n \"name\": \"client-chosen contextId\",\n \"note\": \"A `contextId` without a task gets `UnsupportedOperationError`; each new task opens a context the gateway generates.\"\n },\n {\n \"name\": \"listing tasks across contexts\",\n \"note\": \"`ListTasks` reads only the given `contextId`; without one, the page is empty.\"\n },\n {\n \"name\": \"task history\",\n \"note\": \"Tasks omit `history`; `historyLength` is validated but has nothing to cap.\"\n },\n { \"name\": \"non-empty tenant\" },\n { \"name\": \"text parts\" },\n { \"name\": \"file and URL parts (including inline bytes)\" },\n { \"name\": \"multi-part messages\" },\n { \"name\": \"message roles other than ROLE_USER\" },\n { \"name\": \"authenticated extended agent cards\" },\n { \"name\": \"A2A authentication schemes\" },\n { \"name\": \"artifact types beyond Agent Commerce outcome data\" },\n {\n \"name\": \"tasks across gateway instances\",\n \"note\": \"Instances with separate receipt stores cannot read, cancel or pay each other's tasks.\"\n }\n ],\n \"deviations\": [\n {\n \"summary\": \"A `ListTasks` page with no matching task has an empty `tasks` array. The proto marks `tasks` REQUIRED, and §5.7 requires a REQUIRED array to hold an element, but an empty result has none to return.\",\n \"spec\": \"A2A 1.0.1 §5.7; `ListTasksResponse.tasks`\",\n \"tests\": [\"tests/conformance/a2a/tasks.test.ts\"]\n }\n ],\n \"conformance\": {\n \"suite\": \"Our tests against the A2A 1.0.1 specification, and the A2A TCK at MUST level in CI.\",\n \"tests\": [\n \"tests/conformance/a2a/agent-card.test.ts\",\n \"tests/conformance/a2a/errors.test.ts\",\n \"tests/conformance/a2a/free-resource.test.ts\",\n \"tests/conformance/a2a/paid-resource.test.ts\",\n \"tests/conformance/a2a/params.test.ts\",\n \"tests/conformance/a2a/protocol-version.test.ts\",\n \"tests/conformance/a2a/tasks.test.ts\"\n ],\n \"skipped\": [],\n \"upstream\": {\n \"repo\": \"a2aproject/a2a-tck\",\n \"commit\": \"5e6f37c2d38eb3d7684686243c34d365c83df49b\",\n \"command\": \"run_tck.py --sut-host http://127.0.0.1:8099 --transport jsonrpc --level must\",\n \"workflow\": \".github/workflows/ci.yml\",\n \"job\": \"tck\",\n \"results\": [\n {\n \"test\": \"tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-SEND-001-jsonrpc]\",\n \"id\": \"CORE-SEND-001\",\n \"outcome\": \"failed\",\n \"message\": \"Text parts are not supported\",\n \"reason\": \"The test sends a text part, and the Agent Card declares only application/json input\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-EXECUTION-MODE-001-jsonrpc]\",\n \"id\": \"CORE-EXECUTION-MODE-001\",\n \"outcome\": \"failed\",\n \"message\": \"Text parts are not supported\",\n \"reason\": \"The test sends a text part, and the Agent Card declares only application/json input\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-EXECUTION-MODE-002-jsonrpc]\",\n \"id\": \"CORE-EXECUTION-MODE-002\",\n \"outcome\": \"failed\",\n \"message\": \"Text parts are not supported\",\n \"reason\": \"The test sends a text part, and the Agent Card declares only application/json input\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-MULTI-001a-jsonrpc]\",\n \"id\": \"CORE-MULTI-001a\",\n \"outcome\": \"failed\",\n \"message\": \"Text parts are not supported\",\n \"reason\": \"The test sends a text part, and the Agent Card declares only application/json input\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-MULTI-003-jsonrpc]\",\n \"id\": \"CORE-MULTI-003\",\n \"outcome\": \"failed\",\n \"message\": \"Text parts are not supported\",\n \"reason\": \"The test sends a text part, and the Agent Card declares only application/json input\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_requirements::test_must_requirement[CORE-MULTI-002a-jsonrpc]\",\n \"id\": \"CORE-MULTI-002a\",\n \"outcome\": \"failed\",\n \"message\": \"Multi-turn conversational continuation is not supported\",\n \"reason\": \"The adapter refuses the client contextId with -32004, as the requirement asks, but the requirement sets no expected error and the runner fails on any error. Its sample input also sends a text part.\",\n \"spec\": \"A2A 1.0.1 §3.4.1\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_transport_behavior.TestJsonRpcFormat::test_response_validates_jsonrpc_envelope\",\n \"id\": \"JSONRPC-FMT-001\",\n \"outcome\": \"failed\",\n \"message\": \"Text parts are not supported\",\n \"reason\": \"The test sends a text part, and the Agent Card declares only application/json input\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_artifacts.TestTextArtifact::test_task_has_text_artifact[jsonrpc]\",\n \"id\": \"DM-ART-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_artifacts.TestFileArtifact::test_task_has_file_artifact[jsonrpc]\",\n \"id\": \"DM-ART-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_artifacts.TestFileUrlArtifact::test_task_has_file_url_artifact[jsonrpc]\",\n \"id\": \"DM-ART-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_artifacts.TestDataArtifact::test_task_has_data_artifact[jsonrpc]\",\n \"id\": \"DM-ART-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_artifacts.TestMessageResponse::test_returns_message_with_text_part[jsonrpc]\",\n \"id\": \"DM-MSG-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_history.TestHistoryLengthLimit::test_get_task_history_does_not_exceed_limit[jsonrpc]\",\n \"id\": \"CORE-HIST-002\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_lifecycle.TestGetTask::test_get_task_returns_current_state[jsonrpc]\",\n \"id\": \"CORE-GET-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_lifecycle.TestCancelTask::test_cancel_task_returns_updated_state[jsonrpc]\",\n \"id\": \"CORE-CANCEL-001\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_lifecycle.TestCancelTask::test_cancel_terminal_task_returns_error[jsonrpc]\",\n \"id\": \"CORE-CANCEL-002\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_lifecycle.TestMultiTurn::test_send_message_to_terminal_task[jsonrpc]\",\n \"id\": \"CORE-SEND-002\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_lifecycle.TestMultiTurn::test_infer_context_from_task[jsonrpc]\",\n \"id\": \"CORE-MULTI-005\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_task_lifecycle.TestMultiTurn::test_reject_mismatching_context[jsonrpc]\",\n \"id\": \"CORE-MULTI-006\",\n \"outcome\": \"skipped\",\n \"message\": \"send_message failed: Text parts are not supported\",\n \"reason\": \"The test creates its task with a text part, which the adapter refuses\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_data_model.TestSendMessageResponseSchema::test_response_validates_against_schema\",\n \"outcome\": \"skipped\",\n \"message\": \"No successful send_message responses\",\n \"reason\": \"Every message in the run sends a text part, which leaves no successful response to check\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_data_model.TestCamelCaseFieldNames::test_no_snake_case_keys\",\n \"id\": \"DM-SERIAL-001\",\n \"outcome\": \"skipped\",\n \"message\": \"No successful send_message responses\",\n \"reason\": \"Every message in the run sends a text part, which leaves no successful response to check\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_data_model.TestEnumSerialization::test_enum_values_are_strings\",\n \"id\": \"DM-SERIAL-002\",\n \"outcome\": \"skipped\",\n \"message\": \"No successful send_message responses\",\n \"reason\": \"Every message in the run sends a text part, which leaves no successful response to check\",\n \"upstream\": \"Report drafted, not filed\"\n },\n {\n \"test\": \"tests.compatibility.core_operations.test_data_model.TestTimestampFormat::test_timestamps_are_iso8601_utc\",\n \"id\": \"DM-SERIAL-003\",\n \"outcome\": \"skipped\",\n \"message\": \"No successful send_message responses\",\n \"reason\": \"Every message in the run sends a text part, which leaves no successful response to check\",\n \"upstream\": \"Report drafted, not filed\"\n }\n ],\n \"skipClasses\": [\n {\n \"reason\": \"The gateway serves only the JSON-RPC binding\",\n \"messages\": [\n \"Transport 'http_json' not configured\",\n \"Transport 'grpc' not configured\",\n \"Transport 'grpc' not configured (filtered by --transport)\",\n \"Transport 'http_json' not configured (filtered by --transport)\",\n \"HTTP+JSON transport not configured\",\n \"gRPC transport not configured\"\n ]\n },\n {\n \"reason\": \"The Agent Card declares streaming false (excluded)\",\n \"messages\": [\n \"Agent does not support streaming\",\n \"Agent card does not declare capabilities for: ['streaming']\",\n \"Streaming not supported: A2A method \\\"SendStreamingMessage\\\" is not supported by this deployment.\"\n ]\n },\n {\n \"reason\": \"The Agent Card declares push notifications false (excluded)\",\n \"messages\": [\"Agent does not support push notifications\"]\n },\n {\n \"reason\": \"The Agent Card declares no extended card (excluded)\",\n \"messages\": [\"Agent does not declare extendedAgentCard capability\"]\n },\n {\n \"reason\": \"The TCK's probe for an agent that requires its test extension; this card requires none\",\n \"messages\": [\"Agent card does not declare urn:a2a:tck:required-extension as required\"]\n }\n ]\n }\n },\n \"gaps\": [\n {\n \"requirement\": \"§3.1: GetTask, ListTasks and CancelTask, which every agent implements\",\n \"state\": \"closed\"\n },\n {\n \"requirement\": \"§3.2.2: returnImmediately as well as the blocking default\",\n \"state\": \"closed\"\n },\n {\n \"requirement\": \"§3.3.2: validate all input parameters, including tenant and configuration\",\n \"state\": \"closed\"\n },\n {\n \"requirement\": \"§7.1: encrypted communication in production; config accepts an http merchant.publicBaseUrl, and doctor warns when its host is not loopback\",\n \"state\": \"closed\"\n }\n ],\n \"docs\": [\"docs/protocols/a2a.md\"]\n}\n","{\n \"name\": \"acp\",\n \"kind\": \"protocol\",\n \"title\": \"ACP\",\n \"status\": \"experimental\",\n \"role\": \"Checkout API that forwards checkout operations to the merchant, whose payment handler receives `payment_data`. Gateway checkout routes are free and carry no x402 or MPP payment.\",\n \"subset\": \"discovery and the five checkout operations\",\n \"spec\": {\n \"revisions\": [\"2026-04-17\"],\n \"display\": \"stable snapshot `2026-04-17`; REST binding\",\n \"source\": {\n \"repo\": \"agentic-commerce-protocol/agentic-commerce-protocol\",\n \"commit\": \"6b828681206f1f98a3faba978610ced66770d2ae\"\n },\n \"stable\": false,\n \"statement\": \"currently in `beta`\",\n \"checked\": \"2026-11-17\"\n },\n \"packages\": [],\n \"artifacts\": [\n {\n \"path\": \"src/protocols/acp/spec/2026-04-17/schema.agentic_checkout.json\",\n \"revision\": \"6b828681206f1f98a3faba978610ced66770d2ae\"\n },\n {\n \"path\": \"tests/fixtures/acp/2026-04-17\",\n \"revision\": \"6b828681206f1f98a3faba978610ced66770d2ae\"\n }\n ],\n \"features\": [\n { \"name\": \"rest transport\", \"status\": \"experimental\" },\n { \"name\": \"well-known discovery\", \"status\": \"experimental\" },\n { \"name\": \"bearer authentication\", \"status\": \"experimental\" },\n { \"name\": \"API-Version enforcement\", \"status\": \"experimental\" },\n { \"name\": \"request header forwarding to the merchant\", \"status\": \"experimental\" },\n { \"name\": \"checkout service\", \"status\": \"experimental\" },\n { \"name\": \"createCheckoutSession\", \"status\": \"experimental\" },\n { \"name\": \"updateCheckoutSession\", \"status\": \"experimental\" },\n { \"name\": \"getCheckoutSession\", \"status\": \"experimental\" },\n { \"name\": \"completeCheckoutSession\", \"status\": \"experimental\" },\n { \"name\": \"cancelCheckoutSession\", \"status\": \"experimental\" }\n ],\n \"exclusions\": [\n {\n \"name\": \"carts service\",\n \"note\": \"The discovery document advertises only the checkout service.\"\n },\n { \"name\": \"feed service\" },\n { \"name\": \"standalone orders service\" },\n { \"name\": \"delegate_payment\" },\n { \"name\": \"delegate_authentication\" },\n { \"name\": \"ACP MCP transport binding\" },\n { \"name\": \"webhooks\", \"note\": \"The merchant backend sends ACP order webhooks itself.\" },\n { \"name\": \"outbound merchant-to-agent delivery\" },\n { \"name\": \"ACP client role\" },\n {\n \"name\": \"Signature header verification\",\n \"note\": \"The adapter forwards the header to the merchant unverified.\"\n },\n {\n \"name\": \"Timestamp replay-window verification\",\n \"note\": \"The adapter forwards the header to the merchant unverified.\"\n },\n { \"name\": \"discount extension\" },\n { \"name\": \"general ACP extension framework\" },\n { \"name\": \"multiple ACP API versions\" },\n { \"name\": \"seller-backed payment handler integration\" }\n ],\n \"deviations\": [\n {\n \"summary\": \"After a merchant 5xx, retrying the same `Idempotency-Key` returns 409 `idempotency_unresolved` unless `protocols.acp.idempotency.merchantIdempotent` is true. The merchant may have acted, and another execution could duplicate the order.\",\n \"spec\": \"ACP RFC §6.5\",\n \"tests\": [\"tests/conformance/acp/idempotency.test.ts\", \"tests/conformance/acp/errors.test.ts\"]\n }\n ],\n \"conformance\": {\n \"suite\": \"Our tests against the vendored schema and official examples; ACP publishes no conformance suite.\",\n \"tests\": [\n \"tests/conformance/acp/checkout.test.ts\",\n \"tests/conformance/acp/errors.test.ts\",\n \"tests/conformance/acp/idempotency.test.ts\",\n \"tests/conformance/acp/protocol.test.ts\",\n \"tests/conformance/acp/snapshot.test.ts\"\n ],\n \"skipped\": []\n },\n \"gaps\": [],\n \"docs\": [\"docs/protocols/acp.md\"]\n}\n"]}
@@ -3,7 +3,7 @@ import { x402_default } from './chunk-RQ7W3NA5.js';
3
3
  import { exclusionNames, descriptorStatus } from './chunk-GISJ73ML.js';
4
4
  import { isWellKnownDevKey, assertPayToIsNotDevAddress, resolveX402Deployment, assertDevKeyIsLocalOnly, describeRpc, BAZAAR_EXTENSION_KEY, x402OfferName, CDP_FACILITATOR_URL } from './chunk-5CH5VFC6.js';
5
5
  import { findX402Network, normalizeAddress, canonicalJson, X402_DEFAULT_PAYMENT_FLOW, REUSE_REJECTED_AUTHORIZATION_METADATA_KEY, SETTLE_AFTER_BACKEND_METADATA_KEY, sameAddress, LOCAL_CHAIN_ID, isTransactionReference, isEvmAddress, describeDeploymentMode } from './chunk-2PO65227.js';
6
- import { PACKAGE_VERSION } from './chunk-SAAT2XFX.js';
6
+ import { PACKAGE_VERSION } from './chunk-25WJIUJU.js';
7
7
  import { systemClock, NOOP_LOGGER, RECONCILIATION_METADATA_KEY } from './chunk-USIXWAXZ.js';
8
8
  import { CommerceError, redactedErrorText, isCommerceError } from './chunk-C5YISPT6.js';
9
9
  import { LOCATOR_VERSION, eip3009Locator, computeReplayKey, permit2Locator, computePermit2ReplayKey, isoFromSeconds } from './chunk-663ALDZA.js';
@@ -2399,5 +2399,5 @@ function loadOptionalModule(load, missing) {
2399
2399
  }
2400
2400
 
2401
2401
  export { DEFAULT_IDS, chainIdFromCaip2, createX402PaymentProvider, parseCanonicalAmount };
2402
- //# sourceMappingURL=chunk-VWQMSWDF.js.map
2403
- //# sourceMappingURL=chunk-VWQMSWDF.js.map
2402
+ //# sourceMappingURL=chunk-K34CRXKX.js.map
2403
+ //# sourceMappingURL=chunk-K34CRXKX.js.map