@moonbeam-foundation/sdk 0.13.4 → 0.13.6
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.
- package/README.md +11 -8
- package/dist/acp/moonbeam-acp.generated.d.ts +1 -1
- package/dist/acp/moonbeam-acp.generated.d.ts.map +1 -1
- package/dist/acp/moonbeam-acp.generated.js +1 -1
- package/dist/acp/moonbeam-acp.generated.js.map +1 -1
- package/dist/acp/registry.js +1 -1
- package/dist/acp/registry.js.map +1 -1
- package/dist/judge/index.d.ts +2 -2
- package/dist/judge/index.d.ts.map +1 -1
- package/dist/judge/index.js +3 -3
- package/dist/judge/index.js.map +1 -1
- package/dist/market/cohorts.d.ts +2 -2
- package/dist/market/cohorts.d.ts.map +1 -1
- package/dist/market/cohorts.js +9 -3
- package/dist/market/cohorts.js.map +1 -1
- package/dist/market/index.d.ts +5 -3
- package/dist/market/index.d.ts.map +1 -1
- package/dist/market/index.js +2 -2
- package/dist/market/index.js.map +1 -1
- package/dist/market/listed.d.ts +111 -0
- package/dist/market/listed.d.ts.map +1 -1
- package/dist/market/listed.js +41 -0
- package/dist/market/listed.js.map +1 -1
- package/dist/market/sale.d.ts +30 -0
- package/dist/market/sale.d.ts.map +1 -1
- package/dist/market/sale.js +22 -0
- package/dist/market/sale.js.map +1 -1
- package/dist/market/venue-mainnet-data.js +28 -28
- package/dist/market/venue-mainnet-data.js.map +1 -1
- package/dist/market/venues-data.d.ts.map +1 -1
- package/dist/market/venues-data.js +66 -58
- package/dist/market/venues-data.js.map +1 -1
- package/dist/market/venues.d.ts.map +1 -1
- package/dist/market/venues.js +4 -2
- package/dist/market/venues.js.map +1 -1
- package/dist/resale/index.d.ts +1 -1
- package/dist/resale/index.js +1 -1
- package/docs/PATHS.md +21 -4
- package/docs/REFERENCE.md +3 -3
- package/docs/VENUES.md +32 -10
- package/docs/io-coverage.md +22 -8
- package/package.json +1 -1
package/docs/VENUES.md
CHANGED
|
@@ -17,18 +17,18 @@ A market is in the table when at least one of its steps is live. The others are
|
|
|
17
17
|
## Every venue
|
|
18
18
|
|
|
19
19
|
<!-- venues:moonbeam:start (scripts/gen-readme-venues.mjs) -->
|
|
20
|
-
Read on 2026-11-
|
|
20
|
+
Read on 2026-11-26. Each word is that step on that market (`venue.cohorts.moonbeam`, its `publicState`).
|
|
21
21
|
|
|
22
22
|
| Market | What a seller does there | List | Take a job | Settle | SDK calls |
|
|
23
23
|
|---|---|---|---|---|---|
|
|
24
|
-
| x402 | Buyers pay per call in USDC on Base; each paid task is handed to your agent and settled through the facilitator. | live |
|
|
24
|
+
| x402 | Buyers pay per call in USDC on Base; each paid task is handed to your agent and settled through the facilitator. | live | live | not yet | `publishListing`, `handOver`, `agentSales` |
|
|
25
|
+
| Olas Mech | A requester pays a mech on Base for one request; the mech delivers its answer on chain. | live | not yet | not yet | `readListing`, `olasRequest` |
|
|
26
|
+
| NEAR AI Agent Market | Buyers find an agent by category and its own words, and hire it over A2A. | live | not yet | not yet | `readListing`, `handOver` |
|
|
25
27
|
| A2A Registry | A directory of A2A agent cards; buyers call the agent at its card's endpoint. | live | not yet | n/a | `listOn`, `handOver`, `agentSales` |
|
|
26
28
|
| MCP Registry | The official MCP Registry and its mirrors (Glama, PulseMCP); clients call the agent's MCP door. | live | not yet | n/a | `listOn`, `handOver`, `agentSales` |
|
|
27
29
|
| ERC-8004 | The identity registry on Base every other market reads: the agent's id, card and endpoint. | live | n/a | n/a | `listOn` |
|
|
28
30
|
|
|
29
|
-
Not yet: Virtuals ACP (ERC-8183 jobs),
|
|
30
|
-
|
|
31
|
-
Moonbeam does not list agents on Virtuals memo jobs (memo-ACP), BitAgent or Workflow nodes (npm). They stay in `VENUES` as read-only rows (`moonbeamLists: false`).
|
|
31
|
+
Not yet: Virtuals ACP (ERC-8183 jobs), Virtuals memo jobs (memo-ACP), BitAgent and Workflow nodes (npm). No mainnet run of a step there is kept as an I/O test yet.
|
|
32
32
|
|
|
33
33
|
- **live**: a mainnet run of the step is kept in this SDK as an I/O fixture (`test/io/fixtures`), and a test replays it.
|
|
34
34
|
- **not yet**: no mainnet run of the step is kept yet.
|
|
@@ -46,17 +46,39 @@ Your listing sells through the class wall of its job class. The Bazaar indexes a
|
|
|
46
46
|
|
|
47
47
|
`market(t, 'x402')` reads its week of money.
|
|
48
48
|
|
|
49
|
-
- **list**: live · `market.publishListing` (mainnet run read 2026-11-
|
|
50
|
-
- **take**:
|
|
49
|
+
- **list**: live · `market.publishListing` (mainnet run read 2026-11-25, kept at `test/io/fixtures/x402-base/listed/run-live-list.json`)
|
|
50
|
+
- **take**: live · `market.handOver` (mainnet run read 2026-11-26, kept at `test/io/fixtures/x402-base/bought/run-live-sell.json`)
|
|
51
51
|
- **settle**: not yet · `market.agentSales`
|
|
52
52
|
|
|
53
|
+
### Olas Mech (`olas-base`)
|
|
54
|
+
|
|
55
|
+
A requester pays a mech on Base for one request; the mech delivers its answer on chain.
|
|
56
|
+
|
|
57
|
+
An Olas service registered from your own wallet (a bond and gas): `readListing().export.olas` holds its service, mech and worker.
|
|
58
|
+
|
|
59
|
+
`market(t, 'olas')` reads its week of money.
|
|
60
|
+
|
|
61
|
+
- **list**: live · `market.readListing` (mainnet run read 2026-11-26, kept at `test/io/fixtures/olas-base/listed/run-live-list.json`)
|
|
62
|
+
- **take**: not yet · `market.olasRequest`
|
|
63
|
+
- **settle**: not yet · `market.olasRequest`
|
|
64
|
+
|
|
65
|
+
### NEAR AI Agent Market (`near-agent-market`)
|
|
66
|
+
|
|
67
|
+
Buyers find an agent by category and its own words, and hire it over A2A.
|
|
68
|
+
|
|
69
|
+
Your own account on market.near.ai: `readListing().export.near` is the registration to send.
|
|
70
|
+
|
|
71
|
+
- **list**: live · `market.readListing` (mainnet run read 2026-11-25, kept at `test/io/fixtures/near-agent-market/listed/run-live-list.json`)
|
|
72
|
+
- **take**: not yet · `market.handOver`
|
|
73
|
+
- **settle**: not yet
|
|
74
|
+
|
|
53
75
|
### A2A Registry (`a2a`)
|
|
54
76
|
|
|
55
77
|
A directory of A2A agent cards; buyers call the agent at its card's endpoint.
|
|
56
78
|
|
|
57
79
|
The list step: Moonbeam serves the agent's A2A card and publishes it to the registry.
|
|
58
80
|
|
|
59
|
-
- **list**: live · `market.listOn` (mainnet run read 2026-11-
|
|
81
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-25, kept at `test/io/fixtures/a2a/listed/run-live-list.json`)
|
|
60
82
|
- **take**: not yet · `market.handOver`
|
|
61
83
|
- **settle**: n/a: an A2A directory has no settlement step
|
|
62
84
|
|
|
@@ -66,7 +88,7 @@ The official MCP Registry and its mirrors (Glama, PulseMCP); clients call the ag
|
|
|
66
88
|
|
|
67
89
|
The list step: Moonbeam serves the agent's MCP door and publishes it to the official registry.
|
|
68
90
|
|
|
69
|
-
- **list**: live · `market.listOn` (mainnet run read 2026-11-
|
|
91
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-25, kept at `test/io/fixtures/mcp/listed/run-live-list.json`)
|
|
70
92
|
- **take**: not yet · `market.handOver`
|
|
71
93
|
- **settle**: n/a: an MCP registry has no settlement step
|
|
72
94
|
|
|
@@ -76,7 +98,7 @@ The identity registry on Base every other market reads: the agent's id, card and
|
|
|
76
98
|
|
|
77
99
|
The list step records it; for an id your own wallet owns, `register8004Calls` builds `register(agentURI)` for you to sign.
|
|
78
100
|
|
|
79
|
-
- **list**: live · `market.listOn` (mainnet run read 2026-11-
|
|
101
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-25, kept at `test/io/fixtures/erc8004/listed/run-live-list.json`)
|
|
80
102
|
- **take**: n/a: an identity registry takes no hire
|
|
81
103
|
- **settle**: n/a: an identity registry settles nothing
|
|
82
104
|
<!-- venues:each:end -->
|
package/docs/io-coverage.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Coord I/O coverage
|
|
2
2
|
|
|
3
|
-
Generated by `scripts/io-coverage.mjs` from coord at `
|
|
3
|
+
Generated by `scripts/io-coverage.mjs` from coord at `9a5a595a31e984c53fd4a70abde18e59257e252c`. Do not edit: `npm run io:check -- --coord <path>` regenerates it.
|
|
4
4
|
|
|
5
5
|
Every kept market, every stage (listed, bought, delivered, settled, paid) and both directions (read, write). Each row is one coord operation with a recorded fixture that the replay test (`test/io/replay.test.ts`) feeds through the SDK, or a named gap. Chain reads and writes are on the devnet, chain 36927.
|
|
6
6
|
|
|
@@ -10,13 +10,13 @@ Sources: **live** (a public read, recorded), **devnet-ledger** (built from the d
|
|
|
10
10
|
|
|
11
11
|
| Market | Cells | With a fixture | Rows | live | devnet-ledger | contract | Gaps |
|
|
12
12
|
|---|---|---|---|---|---|---|---|
|
|
13
|
-
| x402 | 10 | 10 |
|
|
14
|
-
| MCP Registry | 10 | 10 |
|
|
15
|
-
| A2A Registry | 10 | 10 |
|
|
16
|
-
| ERC-8004 | 10 | 2 |
|
|
17
|
-
| NEAR AI Agent Market | 10 | 10 |
|
|
18
|
-
| Virtuals ACP | 10 | 9 |
|
|
19
|
-
| Olas Mech | 10 | 9 |
|
|
13
|
+
| x402 | 10 | 10 | 37 | 21 | 2 | 9 | payment 3, owner arm 1, no devnet twin 1 |
|
|
14
|
+
| MCP Registry | 10 | 10 | 27 | 15 | 2 | 8 | payment 1, owner arm 1 |
|
|
15
|
+
| A2A Registry | 10 | 10 | 27 | 15 | 2 | 8 | payment 1, owner arm 1 |
|
|
16
|
+
| ERC-8004 | 10 | 2 | 15 | 6 | 0 | 1 | not in coord 8 |
|
|
17
|
+
| NEAR AI Agent Market | 10 | 10 | 25 | 12 | 2 | 8 | payment 1, owner arm 1, no devnet twin 1 |
|
|
18
|
+
| Virtuals ACP | 10 | 9 | 34 | 18 | 2 | 10 | key 1, payment 1, owner arm 1, not in coord 1 |
|
|
19
|
+
| Olas Mech | 10 | 9 | 31 | 17 | 2 | 8 | payment 1, owner arm 1, not in coord 2 |
|
|
20
20
|
|
|
21
21
|
Gaps in all: 28 (needs_key 1, needs_payment 8, needs_owner_arm 6, no_devnet_twin 2, not_in_coord 11). The count may only go down (`test/io/gaps.baseline.json`).
|
|
22
22
|
|
|
@@ -31,6 +31,20 @@ Gaps in all: 28 (needs_key 1, needs_payment 8, needs_owner_arm 6, no_devnet_twin
|
|
|
31
31
|
| NEAR AI Agent Market | listed | read | `GET listed` | | live (accepted drift: query:agent) |
|
|
32
32
|
| Virtuals ACP | listed | read | `GET listed` | | live (accepted drift: query:agent) |
|
|
33
33
|
| Olas Mech | listed | read | `GET listed` | | live (accepted drift: query:agent) |
|
|
34
|
+
| x402 | listed | read | `GET listed/track` | | live |
|
|
35
|
+
| MCP Registry | listed | read | `GET listed/track` | | live |
|
|
36
|
+
| A2A Registry | listed | read | `GET listed/track` | | live |
|
|
37
|
+
| ERC-8004 | listed | read | `GET listed/track` | | live |
|
|
38
|
+
| NEAR AI Agent Market | listed | read | `GET listed/track` | | live |
|
|
39
|
+
| Virtuals ACP | listed | read | `GET listed/track` | | live |
|
|
40
|
+
| Olas Mech | listed | read | `GET listed/track` | | live |
|
|
41
|
+
| x402 | listed | read | `GET listed/track` | | live |
|
|
42
|
+
| MCP Registry | listed | read | `GET listed/track` | | live |
|
|
43
|
+
| A2A Registry | listed | read | `GET listed/track` | | live |
|
|
44
|
+
| ERC-8004 | listed | read | `GET listed/track` | | live |
|
|
45
|
+
| NEAR AI Agent Market | listed | read | `GET listed/track` | | live |
|
|
46
|
+
| Virtuals ACP | listed | read | `GET listed/track` | | live |
|
|
47
|
+
| Olas Mech | listed | read | `GET listed/track` | | live |
|
|
34
48
|
| x402 | listed | read | `GET x402/bazaar` | | live |
|
|
35
49
|
| x402 | listed | read | `GET venues/:id` | | live |
|
|
36
50
|
| Virtuals ACP | listed | read | `GET venues/:id` | | live |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbeam-foundation/sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.6",
|
|
4
4
|
"description": "Agentic commerce SDK for AI agents: buy and sell agent work on every market (x402, MCP, A2A, Virtuals ACP / ERC-8183, Olas, BitAgent, ERC-8004, NEAR), with graded jobs and assurance on Base. The Moonbeam Studio's workflows as code.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|