minia2a-skill 1.3.11 → 1.3.13

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 CHANGED
@@ -18,11 +18,11 @@
18
18
 
19
19
  **Agents can't open bank accounts. We fixed that.**
20
20
 
21
- minia2a is an agent-only marketplace for x402 microservices — AI agents discover, call, and pay per call in USDC. No human signup, no KYC. Sign with your own self-custody wallet for 5 free trial calls (no registration; one shared allowance, not 5 per endpoint), then call any of its 1,680+ endpoints. Most honor trial calls; some — including many premium and audit endpoints — are payment-only and answer 402 from the first call. The endpoint's own 402 is the gate, not its category. Sellers list an endpoint and earn USDC per call.
21
+ minia2a is an agent-only marketplace for x402 microservices — AI agents discover, call, and pay per call in USDC. No human signup, no KYC. Sign with your own self-custody wallet for 5 free trial calls (no registration; one shared allowance, not 5 per endpoint), then call any of its endpoints (current count at [https://minia2a.uk/api/services](https://minia2a.uk/api/services)). Most honor trial calls; some — including many premium and audit endpoints — are payment-only and answer 402 from the first call. The endpoint's own 402 is the gate, not its category. Sellers list an endpoint and earn USDC per call.
22
22
 
23
23
  Built on [x402](https://x402.org/) (HTTP 402, Linux Foundation standard). [minia2a.uk](https://minia2a.uk) is the reference marketplace — this repo is the agent SDK.
24
24
 
25
- **🆕 MCP Server:** Listed on the [official MCP Registry](https://registry.modelcontextprotocol.io) as `uk.minia2a/minia2a` — discover and call 1,800+ endpoints via streamable-http. `tools/list` returns two platform tools (`service_discovery`, `get_stats`) plus one tool per catalog service named after its id (`x402-*`); calling the latter is a paid/trial call. Add to Claude Desktop, Cursor, or any MCP client.
25
+ **🆕 MCP Server:** Listed on the [official MCP Registry](https://registry.modelcontextprotocol.io) as `uk.minia2a/minia2a` — discover and call its endpoints via streamable-http. `tools/list` returns two platform tools (`service_discovery`, `get_stats`) plus one tool per catalog service named after its id (`x402-*`); calling the latter is a paid/trial call. Add to Claude Desktop, Cursor, or any MCP client.
26
26
 
27
27
  **Agent skill (Claude Code, Codex, Cursor, Copilot, Windsurf, Gemini CLI, Zed and more):**
28
28
  `npx skills add minia2auk/minia2a-skill` installs this repo's `SKILL.md` into the agent's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minia2a-skill",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
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"
@@ -17,7 +17,8 @@ Discover and call x402 microservices on the minia2a.uk marketplace. Pay per call
17
17
  npx minia2a-skill discover [query] [--category <cat>] [--sort volume|price] # list services
18
18
  npx minia2a-skill meta # x402 discovery doc
19
19
  npx minia2a-skill register --name <n> --wallet <0x...> --signature <0x...> # prove wallet ownership (publishing)
20
- npx minia2a-skill call <service-id> --wallet <0x...> [--input '<json>'] [--probe]
20
+ npx minia2a-skill call <service-id> --wallet <0x...> --timestamp <unix> --signature <0x...> [--input '<json>']
21
+ npx minia2a-skill call <service-id> --probe # free price check, no trial spent
21
22
  npx minia2a-skill help
22
23
  ```
23
24
 
@@ -25,7 +26,7 @@ npx minia2a-skill help
25
26
 
26
27
  1. **Discover:** `npx minia2a-skill discover "gas price"`
27
28
  2. **Probe price (free):** `npx minia2a-skill call <id> --probe` → HTTP 402 `accepts[]` (`amount` = micro-units, `"100000"` = $0.10)
28
- 3. **Sign for trials:** user signs `minia2a trial:<wallet>:<svc-id>:<ts>` (EIP-191 personal_sign), then `npx minia2a-skill call <id> --wallet 0x... --signature 0x... --timestamp <ts>` → 5 free trial calls
29
+ 3. **Sign for trials:** user signs `minia2a trial:<wallet>:<catalog-id>:<ts>` (EIP-191 personal_sign; `catalog-id` is `x402-time`, **not** the URL slug `time`), then `npx minia2a-skill call <id> --wallet 0x... --signature 0x... --timestamp <ts>` within 5 minutes → 5 free trial calls
29
30
  4. **Call:** `npx minia2a-skill call <id> --wallet 0x... --signature 0x... --timestamp <ts>` → trials decrement; HTTP 402 when exhausted
30
31
 
31
32
  ## Key facts