minia2a-skill 1.3.10 → 1.3.12

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
@@ -24,6 +24,12 @@ Built on [x402](https://x402.org/) (HTTP 402, Linux Foundation standard). [minia
24
24
 
25
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.
26
26
 
27
+ **Agent skill (Claude Code, Codex, Cursor, Copilot, Windsurf, Gemini CLI, Zed and more):**
28
+ `npx skills add minia2auk/minia2a-skill` installs this repo's `SKILL.md` into the agent's
29
+ skills directory (verified 2026-11-09: 1 skill, universal across 20+ agents, symlinked into
30
+ Claude Code). Use it when you want the agent to know the catalog and the trial recipe without a
31
+ global CLI install.
32
+
27
33
  ```bash
28
34
  # One-line install
29
35
  curl -sSL https://minia2a.uk/install | bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minia2a-skill",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
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