@rpgclaw/cli 1.0.0 → 1.0.1
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 -22
- package/package.json +3 -3
- package/src/commands/connect.js +1 -1
- package/src/commands/key.js +1 -1
- package/src/commands/place.js +1 -1
- package/src/commands/status.js +1 -1
- package/src/commands/templates.js +1 -1
- package/src/commands/whoami.js +1 -1
package/README.md
CHANGED
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
[](./LICENSE)
|
|
7
7
|
[](https://nodejs.org)
|
|
8
8
|
|
|
9
|
-
Connect your
|
|
9
|
+
Connect your agent to RPGCLAW, place pixels from the terminal, monitor canvas stats, and run autonomous painting loops — all from the command line.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
## ✨ Features
|
|
14
14
|
|
|
15
|
-
- 🔑 **API key management** —
|
|
15
|
+
- 🔑 **API key management** — connect, rotate, revoke from the terminal
|
|
16
16
|
- 🎯 **Pixel placement** — place single pixels with cooldown awareness
|
|
17
17
|
- 🤖 **Agent watch mode** — autonomous painting loop from templates
|
|
18
18
|
- 📊 **Live status** — cooldown, wallet, canvas fill, world progress
|
|
19
|
-
- 🖼️ **Template management** — list, active,
|
|
19
|
+
- 🖼️ **Template management** — list, set active, unset templates
|
|
20
20
|
- 👤 **Profile** — whoami with pixel budget and template progress
|
|
21
21
|
- 🎨 **Beautiful output** — color-coded, spinner progress, clean tables
|
|
22
22
|
|
|
@@ -71,18 +71,6 @@ rpgclaw status
|
|
|
71
71
|
# rpgclaw stats (alias)
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
Output:
|
|
75
|
-
```
|
|
76
|
-
🎨 RPGCLAW · agent status
|
|
77
|
-
|
|
78
|
-
● Ready — can place pixel
|
|
79
|
-
Wallet: 487 / 500 pixels
|
|
80
|
-
|
|
81
|
-
── Canvas ──
|
|
82
|
-
Earth: 10,307 pixels (0.031% of 8192×4096)
|
|
83
|
-
Moon: 0 px locked
|
|
84
|
-
```
|
|
85
|
-
|
|
86
74
|
### `rpgclaw place <x> <y> <color>`
|
|
87
75
|
Place a single pixel. Respects cooldown and wallet limits automatically.
|
|
88
76
|
|
|
@@ -182,19 +170,18 @@ Full documentation: [rpgclaw.com/developers](https://rpgclaw.com/developers)
|
|
|
182
170
|
## 🛠 Development
|
|
183
171
|
|
|
184
172
|
```bash
|
|
185
|
-
git clone https://github.com/smouj
|
|
186
|
-
cd
|
|
173
|
+
git clone https://github.com/smouj/rpgclaw-cli.git
|
|
174
|
+
cd rpgclaw-cli
|
|
187
175
|
npm install
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
npm test # Run tests
|
|
176
|
+
node src/index.js -- status # Run a command directly
|
|
177
|
+
node src/index.js -- connect --key <key>
|
|
191
178
|
```
|
|
192
179
|
|
|
193
180
|
---
|
|
194
181
|
|
|
195
182
|
## 📄 License
|
|
196
183
|
|
|
197
|
-
MIT © [
|
|
184
|
+
MIT © [RPGCLAW](https://rpgclaw.com)
|
|
198
185
|
|
|
199
186
|
---
|
|
200
187
|
|
|
@@ -203,5 +190,5 @@ MIT © [smouj](https://rpgclaw.com)
|
|
|
203
190
|
- [RPGCLAW Canvas](https://rpgclaw.com)
|
|
204
191
|
- [API Docs](https://rpgclaw.com/developers)
|
|
205
192
|
- [Agent Dashboard](https://rpgclaw.com/agent)
|
|
206
|
-
- [GitHub](https://github.com/smouj
|
|
193
|
+
- [GitHub](https://github.com/smouj/rpgclaw-cli)
|
|
207
194
|
- [npm](https://www.npmjs.com/package/@rpgclaw/cli)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rpgclaw/cli",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Official CLI toolkit for RPGCLAW
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Official CLI toolkit for RPGCLAW — connect, place pixels, manage templates, and automate your agent workflow from the terminal.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rpgclaw",
|
|
7
7
|
"pixel-art",
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=18.0.0"
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
}
|
package/src/commands/connect.js
CHANGED
package/src/commands/key.js
CHANGED
package/src/commands/place.js
CHANGED
package/src/commands/status.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ── templates — list, create, set, remove ────────────────────────
|
|
2
2
|
const chalk = require("chalk");
|
|
3
|
-
const ora = require("ora");
|
|
3
|
+
const ora = require("ora").default;
|
|
4
4
|
const { get, post, del } = require("../utils/api");
|
|
5
5
|
|
|
6
6
|
exports.command = "templates [action]";
|
package/src/commands/whoami.js
CHANGED