@antseed/cli 0.1.110 → 0.1.111
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 +20 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -36,6 +36,7 @@ Command-line interface and web dashboard for the AntSeed Network — a P2P netwo
|
|
|
36
36
|
| `antseed peer <peerId>` | Show a peer's profile (lightweight) |
|
|
37
37
|
| `antseed network peer <peerId>` | Show full peer details (providers, services, on-chain stats) |
|
|
38
38
|
| `antseed dashboard` | Start the web dashboard |
|
|
39
|
+
| `antseed metrics serve` | Serve Prometheus metrics for buyers and sellers |
|
|
39
40
|
| `antseed buyer channels` | List payment channels |
|
|
40
41
|
| `antseed seller emissions info` | View ANTS emissions and epoch info |
|
|
41
42
|
| `antseed dev` | Run seller + buyer locally for testing |
|
|
@@ -305,6 +306,25 @@ Use `base-sepolia` for testing with MockUSDC.
|
|
|
305
306
|
|
|
306
307
|
Provider-specific options are configured via each plugin's config schema (see `antseed plugin add --help`).
|
|
307
308
|
|
|
309
|
+
## Metrics
|
|
310
|
+
|
|
311
|
+
Expose a Prometheus-compatible endpoint for a buyer or seller:
|
|
312
|
+
|
|
313
|
+
```bash
|
|
314
|
+
antseed --config ~/.antseed/config.json --data-dir ~/.antseed \
|
|
315
|
+
metrics serve --role seller --host 0.0.0.0 --port 9108 --instance my-peer
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
Endpoints:
|
|
319
|
+
|
|
320
|
+
```text
|
|
321
|
+
/metrics
|
|
322
|
+
/healthz
|
|
323
|
+
/readyz
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
See [Metrics](../../apps/website/docs/guides/metrics.md) for metric names, labels, and operational notes.
|
|
327
|
+
|
|
308
328
|
## Development
|
|
309
329
|
|
|
310
330
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antseed/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.111",
|
|
4
4
|
"description": "Antseed Network CLI and Web Dashboard",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"open": "^11.0.0",
|
|
21
21
|
"ora": "^9.3.0",
|
|
22
22
|
"@antseed/api-adapter": "0.1.37",
|
|
23
|
-
"@antseed/
|
|
23
|
+
"@antseed/node": "0.2.78",
|
|
24
24
|
"@antseed/ant-agent": "0.1.34",
|
|
25
|
-
"@antseed/provider-core": "0.2.
|
|
26
|
-
"@antseed/
|
|
25
|
+
"@antseed/provider-core": "0.2.49",
|
|
26
|
+
"@antseed/payments": "0.1.13"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.11.0",
|