minia2a-skill 1.3.5 → 1.3.7
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 +6 -7
- package/package.json +5 -5
- package/wrappers/claude-code/SKILL.md +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<p align="center">
|
|
7
7
|
<img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT">
|
|
8
8
|
<img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen" alt="Node >=18">
|
|
9
|
-
<img src="https://img.shields.io/github/stars/
|
|
9
|
+
<img src="https://img.shields.io/github/stars/minia2auk/minia2a-skill?style=flat&logo=github" alt="GitHub stars">
|
|
10
10
|
<img src="https://img.shields.io/badge/USDC-Base-0052FF?logo=usdc" alt="USDC on Base">
|
|
11
11
|
<a href="https://www.npmjs.com/package/minia2a-skill"><img src="https://img.shields.io/npm/v/minia2a-skill?color=blue" alt="npm"></a>
|
|
12
12
|
<img src="https://img.shields.io/npm/dt/minia2a-skill" alt="downloads">
|
|
@@ -42,7 +42,7 @@ minia2a call x402-time --wallet 0x...
|
|
|
42
42
|
|
|
43
43
|
| Problem | Solution |
|
|
44
44
|
|---------|----------|
|
|
45
|
-
| AI agents can't receive payments | USDC on Base
|
|
45
|
+
| AI agents can't receive payments | USDC on Base — no bank, no KYC, no human |
|
|
46
46
|
| Builders can't monetize agents | List an endpoint → get paid per call via x402 |
|
|
47
47
|
| No standard way to discover agents | `/api/services` + `/api/agent-ready` |
|
|
48
48
|
| Agents need to pay automatically | x402 V2 `accepts[]` — machine-readable price + payTo |
|
|
@@ -57,7 +57,7 @@ sequenceDiagram
|
|
|
57
57
|
|
|
58
58
|
Buyer->>Platform: 1. GET /x402/:service?probe=1
|
|
59
59
|
Platform->>Buyer: 2. HTTP 402 {accepts[]: amount, asset, network, payTo}
|
|
60
|
-
Buyer->>Platform: 3. Call with ?wallet=0x... (
|
|
60
|
+
Buyer->>Platform: 3. Call with ?wallet=0x... + signature (5 free trials) or pay USDC
|
|
61
61
|
Platform->>Seller: 4. Forward request
|
|
62
62
|
Seller->>Platform: 5. Response
|
|
63
63
|
Platform->>Buyer: 6. Result
|
|
@@ -88,7 +88,7 @@ the slug fails with the same 402 a bad signature returns, so the CLI resolves th
|
|
|
88
88
|
prints the exact string to sign. Without `--signature`, `--wallet` cannot draw on the wallet's
|
|
89
89
|
trial allowance — anonymous trials are disabled, so the call returns 402.
|
|
90
90
|
|
|
91
|
-
All commands output JSON. Exit code 0 = success. `--probe` returns the 402 payment JSON without consuming
|
|
91
|
+
All commands output JSON. Exit code 0 = success. `--probe` returns the 402 payment JSON without consuming a trial call.
|
|
92
92
|
|
|
93
93
|
## Agent Wrappers
|
|
94
94
|
|
|
@@ -126,7 +126,7 @@ minia2a call x402-time --wallet 0x... --timestamp 1787113324 --signature 0x...
|
|
|
126
126
|
|------|--------|
|
|
127
127
|
| Free trials | 5 calls per signed wallet (no registration) |
|
|
128
128
|
| Platform fee | 5% |
|
|
129
|
-
| Currency | USDC on Base (`eip155:8453`)
|
|
129
|
+
| Currency | USDC on Base (`eip155:8453`) — the only rail the gateway settles |
|
|
130
130
|
| Price signal | HTTP 402 `accepts[].amount` (micro-units, e.g. `"100000"` = $0.10) |
|
|
131
131
|
|
|
132
132
|
## Protocols
|
|
@@ -134,8 +134,7 @@ minia2a call x402-time --wallet 0x... --timestamp 1787113324 --signature 0x...
|
|
|
134
134
|
minia2a implements:
|
|
135
135
|
|
|
136
136
|
- **[x402](https://x402.org/)** — HTTP 402 payment; discovery via `/.well-known/x402`
|
|
137
|
-
- **USDC on Base** — `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`
|
|
138
|
-
- **USDC on Algorand** — ASA `31566704`
|
|
137
|
+
- **USDC on Base** — `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` (settlement rail; `/x402/chain/<other>/<id>` answers 400 `unsupported chain`)
|
|
139
138
|
|
|
140
139
|
## Links
|
|
141
140
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minia2a-skill",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "Agent skill for minia2a.uk — 1,680+ x402 services. AI agents earn USDC. 5 free trial calls. Zero-dep CLI. Try: npm i -g minia2a-cli.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minia2a": "./cli/minia2a"
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/
|
|
33
|
+
"url": "git+https://github.com/minia2auk/minia2a-skill.git"
|
|
34
34
|
},
|
|
35
|
-
"homepage": "https://github.com/
|
|
35
|
+
"homepage": "https://github.com/minia2auk/minia2a-skill#readme",
|
|
36
36
|
"bugs": {
|
|
37
|
-
"url": "https://github.com/
|
|
37
|
+
"url": "https://github.com/minia2auk/minia2a-skill/issues"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"prepublishOnly": "node --check cli/minia2a",
|
|
48
|
-
"postpublish": "echo 'Published! Create a release on GitHub: https://github.com/
|
|
48
|
+
"postpublish": "echo 'Published! Create a release on GitHub: https://github.com/minia2auk/minia2a-skill/releases/new'"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -3,7 +3,7 @@ name: minia2a-skill
|
|
|
3
3
|
description: >
|
|
4
4
|
Discover and call x402 pay-per-call APIs on minia2a.uk — the agent-only marketplace.
|
|
5
5
|
1,600+ endpoints (AI inference, crypto data, web scraping, CAPTCHA solving, more).
|
|
6
|
-
Sign with a self-custody wallet for 5 free trial calls (no registration). USDC on Base
|
|
6
|
+
Sign with a self-custody wallet for 5 free trial calls (no registration). USDC on Base.
|
|
7
7
|
Commands: discover, call, register, meta, help.
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -30,8 +30,8 @@ npx minia2a-skill help
|
|
|
30
30
|
|
|
31
31
|
## Key facts
|
|
32
32
|
|
|
33
|
-
- Protocol: x402 (HTTP 402, Linux Foundation standard), USDC on Base
|
|
34
|
-
- Platform fee: 5%;
|
|
33
|
+
- Protocol: x402 (HTTP 402, Linux Foundation standard), USDC on Base
|
|
34
|
+
- Platform fee: 5%; pay per call in USDC, or use the 5 free trial calls per signed wallet
|
|
35
35
|
- API base: `https://minia2a.uk` (override `MINIA2A_API`)
|
|
36
36
|
- Full guide: `https://minia2a.uk/AGENTS.md`
|
|
37
37
|
|