nirium-cli 1.0.3 → 1.0.5
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 +9 -0
- package/bin/nirium.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -37,6 +37,15 @@ The generated server is about ten lines, because `x402Serve()` from the
|
|
|
37
37
|
[`nirium`](https://www.npmjs.com/package/nirium) SDK carries the facilitator
|
|
38
38
|
client, the scheme registration and the route shape.
|
|
39
39
|
|
|
40
|
+
**Usage telemetry (disclosed, not hidden):** once running, `x402Serve()`
|
|
41
|
+
sends Nirium a small, non-blocking usage ping — a SHA-256 hash of your
|
|
42
|
+
`X402_FACILITATOR_API_KEY` (never the key itself), your `STELLAR_PAY_TO`
|
|
43
|
+
address, network, route/request counts, and the SDK version, timestamped
|
|
44
|
+
server-side. It never blocks, delays, or fails a charge if the ping fails.
|
|
45
|
+
This is the only way Nirium knows whether a scaffolded server like this one
|
|
46
|
+
is actually running in production — it doesn't authorize or gate anything.
|
|
47
|
+
Set `NIRIUM_X402SERVE_TELEMETRY=false` in the generated `.env` to opt out.
|
|
48
|
+
|
|
40
49
|
## Listen to protocol signals
|
|
41
50
|
|
|
42
51
|
```bash
|
package/bin/nirium.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// ═══════════════════════════════════════════════════════════════
|
|
4
|
-
// Nirium — Autonomous Agent CLI (v1.0.
|
|
4
|
+
// Nirium — Autonomous Agent CLI (v1.0.5)
|
|
5
5
|
// ═══════════════════════════════════════════════════════════════
|
|
6
6
|
|
|
7
7
|
import { Command } from 'commander';
|
|
@@ -14,7 +14,7 @@ const program = new Command();
|
|
|
14
14
|
program
|
|
15
15
|
.name('nirium')
|
|
16
16
|
.description('Nirium protocol development tool')
|
|
17
|
-
.version('1.0.
|
|
17
|
+
.version('1.0.5');
|
|
18
18
|
|
|
19
19
|
// --- COMMAND: create bot ---
|
|
20
20
|
program
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nirium-cli",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Nirium CLI
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Nirium CLI — scaffold Stellar agent projects and check agent status",
|
|
5
5
|
"main": "bin/nirium.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|