clawmacdo 0.58.0 → 0.60.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 +13 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -120,6 +120,9 @@ clawmacdo whatsapp-setup --instance <deploy-id> --phone-number "+6512345678"
120
120
  clawmacdo whatsapp-setup --instance <deploy-id> --phone-number "+6512345678" --reset # reset + setup in one SSH session
121
121
  clawmacdo whatsapp-qr --instance <deploy-id> # re-fetch QR if expired
122
122
  clawmacdo whatsapp-reset --instance <deploy-id> # clear session, force new QR
123
+ clawmacdo whatsapp-status --instance <deploy-id> # check channel status via Gateway API
124
+ clawmacdo whatsapp-wait --instance <deploy-id> # poll until connected (default 120s)
125
+ clawmacdo whatsapp-wait --instance <deploy-id> --timeout 60 # custom timeout
123
126
  # Lightsail/Azure instances automatically use their default SSH users for WhatsApp repair/QR.
124
127
  # The web UI QR fetch now ignores a missing prior login process instead of failing with an empty SSH error.
125
128
 
@@ -592,6 +595,13 @@ execSync(`${bin} whatsapp-setup \
592
595
  const qr = execSync(`${bin} whatsapp-qr --instance <deploy-id>`, { encoding: "utf8" });
593
596
  console.log(qr); // ASCII QR code
594
597
 
598
+ // --- Check WhatsApp status ---
599
+ const status = execSync(`${bin} whatsapp-status --instance <deploy-id>`, { encoding: "utf8" });
600
+ console.log(status); // "connected", "pending_qr", etc.
601
+
602
+ // --- Wait for WhatsApp scan (blocks until connected or timeout) ---
603
+ execSync(`${bin} whatsapp-wait --instance <deploy-id> --timeout 120`, { stdio: "inherit" });
604
+
595
605
  // --- Change AI model ---
596
606
  execSync(`${bin} update-model \
597
607
  --instance <deploy-id> \
@@ -849,7 +859,9 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
849
859
 
850
860
  ---
851
861
 
852
- **Current version:** 0.58.0
862
+ **Current version:** 0.60.0
863
+
864
+
853
865
 
854
866
 
855
867
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmacdo",
3
- "version": "0.58.0",
3
+ "version": "0.60.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.58.0",
34
- "@clawmacdo/linux-x64": "0.58.0",
35
- "@clawmacdo/win32-x64": "0.58.0"
33
+ "@clawmacdo/darwin-arm64": "0.60.0",
34
+ "@clawmacdo/linux-x64": "0.60.0",
35
+ "@clawmacdo/win32-x64": "0.60.0"
36
36
  }
37
37
  }