clawmacdo 0.20.0 → 0.22.0

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.
Files changed (2) hide show
  1. package/README.md +75 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -5,8 +5,13 @@
5
5
 
6
6
  Rust CLI tool for deploying [OpenClaw](https://openclaw.ai) to **DigitalOcean**, **AWS Lightsail**, **Tencent Cloud**, **Microsoft Azure**, or **BytePlus Cloud** — with Claude Code, Codex, and Gemini CLI pre-installed.
7
7
 
8
- ## ✨ What's New in v0.20.0
8
+ ## ✨ What's New in v0.21.0
9
9
 
10
+ - **`destroy` subcommand** — delete any openclaw instance across all 5 cloud providers (DigitalOcean, Lightsail, Tencent, Azure, BytePlus) with interactive confirmation; removes cloud SSH key, local key, and for BytePlus also releases EIP and cleans up VPC/subnet/security-group
11
+ - **`skills-data-api` service** — Node.js/Express API backed by MongoDB for browsing, scraping, and serving Claude Code skill marketplace data; includes Docker support and shell scripts for bulk download and data loading
12
+ - **Playwright e2e test suite** — CSV-driven deploy form testing under `e2e/`, covering all 5 cloud providers with 30+ scenarios
13
+
14
+ ### Previous highlights (v0.20.x)
10
15
  - **`do-restore` subcommand** — restore a DigitalOcean droplet from a snapshot by name, with standard `openclaw-{id}` naming and deploy record saved to both JSON and SQLite (visible in web UI Deployments tab)
11
16
 
12
17
  ### Previous highlights (v0.19.x)
@@ -22,10 +27,6 @@ Rust CLI tool for deploying [OpenClaw](https://openclaw.ai) to **DigitalOcean**,
22
27
  - **Web UI security hardening (CRIT-01)** — API key auth, 6-digit PIN login, CORS, rate limiting, localhost-only binding
23
28
  - **All 4 CRITICAL security findings resolved**
24
29
 
25
- ### Previous highlights (v0.16.x)
26
- - **BytePlus destroy cleanup** — Auto-release EIP and delete VPC/subnet/security-group
27
- - **Playwright E2E test suite** — 30 CSV-driven test scenarios covering all 5 cloud providers
28
-
29
30
  ### Previous highlights (v0.14.x – v0.15.x)
30
31
  - **Windows builds fixed** — Dependencies correctly scoped, native MSVC builds
31
32
  - **`digitalocean` feature flag** — DigitalOcean provider now properly gated as a default feature
@@ -58,12 +59,14 @@ clawmacdo/
58
59
  │ ├── clawmacdo-cli/ # 🖥️ Main CLI binary & command orchestration
59
60
  │ ├── clawmacdo-core/ # 🔧 Config, errors, shared types
60
61
  │ ├── clawmacdo-cloud/ # ☁️ Cloud provider implementations
61
- │ ├── clawmacdo-provision/# 🔨 Server provisioning & setup logic
62
+ │ ├── clawmacdo-provision/# 🔨 Server provisioning & setup logic
62
63
  │ ├── clawmacdo-db/ # 💾 Database operations & storage
63
64
  │ ├── clawmacdo-ssh/ # 🔑 SSH/SCP operations & key management
64
65
  │ └── clawmacdo-ui/ # 🎨 Web UI, progress bars, user prompts
66
+ ├── skills-data-api/ # 🧠 Node.js skills marketplace API (MongoDB)
67
+ ├── e2e/ # 🧪 Playwright end-to-end test suite
65
68
  ├── assets/ # Static assets (mascot, etc.)
66
- └── README.md
69
+ └── docs/ # Design docs and usage reference
67
70
  ```
68
71
 
69
72
  ### 📦 Crate Overview
@@ -328,6 +331,33 @@ clawmacdo do-restore \
328
331
 
329
332
  The command generates a new SSH key pair, looks up the snapshot by name, creates the droplet, waits for it to become active, and saves a deploy record for use with other `clawmacdo` commands.
330
333
 
334
+ ### Destroy an Instance
335
+
336
+ Delete an instance by name across any supported provider. Removes cloud SSH key, local key, and (for BytePlus) EIP and VPC resources.
337
+
338
+ ```bash
339
+ # DigitalOcean
340
+ clawmacdo destroy \
341
+ --provider digitalocean \
342
+ --do-token "$DO_TOKEN" \
343
+ --name "openclaw-abc123"
344
+
345
+ # Tencent Cloud (skip confirmation prompt)
346
+ clawmacdo destroy \
347
+ --provider tencent \
348
+ --tencent-secret-id "$TENCENT_SECRET_ID" \
349
+ --tencent-secret-key "$TENCENT_SECRET_KEY" \
350
+ --name "openclaw-abc123" \
351
+ --yes
352
+
353
+ # BytePlus (also releases EIP and VPC resources)
354
+ clawmacdo destroy \
355
+ --provider byteplus \
356
+ --byteplus-access-key "$BYTEPLUS_ACCESS_KEY" \
357
+ --byteplus-secret-key "$BYTEPLUS_SECRET_KEY" \
358
+ --name "openclaw-abc123"
359
+ ```
360
+
331
361
  ### Track Deploy Progress
332
362
 
333
363
  ```bash
@@ -407,6 +437,42 @@ clawmacdo status
407
437
  clawmacdo status --provider tencent
408
438
  ```
409
439
 
440
+ ## Skills Data API
441
+
442
+ The `skills-data-api/` directory contains a standalone Node.js/Express service for browsing and serving Claude Code skill marketplace data, backed by MongoDB.
443
+
444
+ ```bash
445
+ # Install dependencies
446
+ cd skills-data-api
447
+ npm install
448
+
449
+ # Load skills data into MongoDB
450
+ ./load-mongo.sh
451
+
452
+ # Start the API server
453
+ node index.js
454
+ ```
455
+
456
+ ### Docker
457
+
458
+ ```bash
459
+ cd skills-data-api
460
+ docker build -t skills-data-api .
461
+ docker run -p 3000:3000 \
462
+ -e MONGODB_URI="mongodb://host.docker.internal:27017/skills" \
463
+ skills-data-api
464
+ ```
465
+
466
+ ### Key Endpoints
467
+
468
+ | Method | Path | Description |
469
+ |--------|------|-------------|
470
+ | `GET` | `/api/skills` | List all skills (paginated) |
471
+ | `GET` | `/api/skills/:name` | Get a skill by name |
472
+ | `GET` | `/api/skills/search?q=...` | Search skills by keyword |
473
+
474
+ See [`skills-data-api/README.md`](skills-data-api/README.md) for full API documentation.
475
+
410
476
  ## Development
411
477
 
412
478
  ### Workspace Commands
@@ -511,6 +577,6 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and breaking changes.
511
577
 
512
578
  ---
513
579
 
514
- **Last updated:** March 17, 2026
515
- **Current version:** 0.20.0
580
+ **Last updated:** March 19, 2026
581
+ **Current version:** 0.22.0
516
582
  **Architecture version:** 2.0 (modular workspace)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmacdo",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "CLI tool for deploying OpenClaw to multiple cloud providers with pre-installed AI dev tools",
5
5
  "keywords": [
6
6
  "openclaw",
@@ -30,8 +30,8 @@
30
30
  "node": ">=16"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@clawmacdo/darwin-arm64": "0.20.0",
34
- "@clawmacdo/linux-x64": "0.20.0",
35
- "@clawmacdo/win32-x64": "0.20.0"
33
+ "@clawmacdo/darwin-arm64": "0.22.0",
34
+ "@clawmacdo/linux-x64": "0.22.0",
35
+ "@clawmacdo/win32-x64": "0.22.0"
36
36
  }
37
37
  }