nirium-cli 1.0.1 → 1.0.3
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 +1 -1
- package/bin/nirium.js +5 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ nirium create bot --name my-agent -t py # Python
|
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Scaffolds a project that connects to a Nirium agent and prints incoming
|
|
48
|
-
signals. Defaults to `https://nirium-agent.fly.dev` (testnet); set
|
|
48
|
+
signals, which the autonomous loop produces on testnet. Defaults to `https://nirium-agent.fly.dev` (testnet); set
|
|
49
49
|
`NIRIUM_API_URL` and `NIRIUM_API_KEY` in `.env` to point somewhere else.
|
|
50
50
|
|
|
51
51
|
## Check an agent
|
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.2)
|
|
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.2');
|
|
18
18
|
|
|
19
19
|
// --- COMMAND: create bot ---
|
|
20
20
|
program
|
|
@@ -116,7 +116,9 @@ app.listen(3000, () => console.log('💸 cobrando en http://localhost:3000/premi
|
|
|
116
116
|
|
|
117
117
|
fs.writeFileSync(path.join(dir, '.env'),
|
|
118
118
|
'STELLAR_PAY_TO=\n'
|
|
119
|
-
+ '#
|
|
119
|
+
+ '# Llave GRATIS y POR RED — una de mainnet da 401 contra testnet:\n'
|
|
120
|
+
+ '# testnet https://channels.openzeppelin.com/testnet/gen\n'
|
|
121
|
+
+ '# mainnet https://channels.openzeppelin.com/gen\n'
|
|
120
122
|
+ 'X402_FACILITATOR_API_KEY=\n'
|
|
121
123
|
+ 'STELLAR_NETWORK=testnet\n');
|
|
122
124
|
|
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.3",
|
|
4
|
+
"description": "Nirium CLI \u2014 scaffold Stellar agent projects and check agent status",
|
|
5
5
|
"main": "bin/nirium.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=18"
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|