clawmacdo 0.68.0 → 0.70.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 +24 -10
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # clawmacdo
2
2
 
3
+ <p align="center">
4
+ <img src="clawmacdo.png" alt="clawmacdo logo" width="280" />
5
+ </p>
6
+
3
7
  [![Release](https://github.com/kenken64/clawmacdo/actions/workflows/release.yml/badge.svg)](https://github.com/kenken64/clawmacdo/actions/workflows/release.yml)
4
8
  [![Changelog](https://github.com/kenken64/clawmacdo/actions/workflows/changelog.yml/badge.svg)](https://github.com/kenken64/clawmacdo/actions/workflows/changelog.yml)
5
9
 
@@ -8,13 +12,13 @@ Rust CLI tool for deploying [OpenClaw](https://openclaw.ai) to **DigitalOcean**,
8
12
  ## Features
9
13
 
10
14
  - **Multi-cloud**: Deploy to DigitalOcean, AWS Lightsail, Tencent Cloud, Microsoft Azure, or BytePlus Cloud with `--provider` flag
11
- - **1-click deploy**: generate SSH keys, provision a cloud instance, install Node 24 + OpenClaw + Claude Code + Codex + Gemini CLI, restore config, configure `.env` (API + messaging), start the gateway, and auto-configure model failover
15
+ - **1-click deploy**: generate SSH keys, provision a cloud instance, install Node 24 + OpenClaw + Claude Code + Codex + Gemini CLI + OpenCode, restore config, configure `.env` (API + messaging), start the gateway, and auto-configure model failover
12
16
  - **Cloud-to-cloud migration**: SSH into a source instance, back up remotely, deploy to a new instance, restore
13
17
  - **Snapshot & restore**: create and restore named snapshots for DigitalOcean, BytePlus, and AWS Lightsail
14
18
  - **Destroy**: delete an instance by name with confirmation, clean up SSH keys (cloud + local)
15
19
  - **Status**: list all openclaw-tagged instances with IPs
16
20
  - **Backup**: back up local `~/.openclaw/` config into a timestamped `.tar.gz`
17
- - **Web UI**: browser-based deploy interface with real-time SSE progress streaming (optional)
21
+ - **Web UI**: browser-based deploy interface with a lobster-red OpenClaw-inspired theme and real-time SSE progress streaming (optional)
18
22
  - **Security groups**: auto-create firewall rules on Tencent Cloud and BytePlus (SSH + HTTP/HTTPS + Gateway)
19
23
 
20
24
  ## Supported Cloud Providers
@@ -242,7 +246,7 @@ clawmacdo deploy \
242
246
 
243
247
  ### AI Model Configuration
244
248
 
245
- Set a primary AI model and optional failovers for the deployed instance. Supported models: `anthropic`, `openai`, `gemini`, `byteplus`.
249
+ Set a primary AI model and optional failovers for the deployed instance. Supported models: `anthropic`, `openai`, `gemini`, `byteplus`, `opencode`.
246
250
 
247
251
  ```bash
248
252
  # Anthropic as primary (default)
@@ -260,6 +264,10 @@ clawmacdo deploy --provider do --customer-email "user@example.com" \
260
264
  --primary-model anthropic --failover-1 openai --failover-2 gemini \
261
265
  --anthropic-key "$ANTHROPIC_API_KEY" \
262
266
  --openai-key "$OPENAI_API_KEY" --gemini-key "$GEMINI_API_KEY"
267
+
268
+ # OpenCode with MiniMax M2.5 Free as primary (no API key required)
269
+ clawmacdo deploy --provider do --customer-email "user@example.com" \
270
+ --primary-model opencode
263
271
  ```
264
272
 
265
273
  | Model | `--primary-model` value | Model identifier | Required flag |
@@ -268,6 +276,7 @@ clawmacdo deploy --provider do --customer-email "user@example.com" \
268
276
  | OpenAI | `openai` | `openai/gpt-5-mini` | `--openai-key` |
269
277
  | Google Gemini | `gemini` | `google/gemini-2.5-flash` | `--gemini-key` |
270
278
  | BytePlus ARK | `byteplus` | `byteplus/ark-code-latest` | `--byteplus-ark-api-key` |
279
+ | OpenCode (MiniMax M2.5 Free) | `opencode` | `opencode/minimax-m2.5-free` | none (free) |
271
280
 
272
281
  ### Update AI Model on a Running Instance
273
282
 
@@ -289,9 +298,13 @@ clawmacdo update-model --instance <deploy-id> \
289
298
  --primary-model anthropic --failover-1 openai --failover-2 gemini \
290
299
  --anthropic-key "$ANTHROPIC_API_KEY" \
291
300
  --openai-key "$OPENAI_API_KEY" --gemini-key "$GEMINI_API_KEY"
301
+
302
+ # Switch to OpenCode (MiniMax M2.5 Free, no API key required)
303
+ clawmacdo update-model --instance <deploy-id> \
304
+ --primary-model opencode
292
305
  ```
293
306
 
294
- The command updates API keys in `.env`, configures provider settings (BytePlus `openclaw.json`), sets the model via `openclaw models set`, adds failovers, and restarts the gateway service. API keys are optional — if omitted, the existing key on the instance is preserved.
307
+ The command updates API keys in `.env`, configures provider settings (BytePlus `openclaw.json`), sets the model via `openclaw models set`, adds failovers, and restarts the gateway service. When `opencode` is selected, OpenCode is installed via `curl -fsSL https://opencode.ai/install | bash` and configured with MiniMax M2.5 Free (`opencode/minimax-m2.5-free`) — no API key required. API keys for other providers are optional — if omitted, the existing key on the instance is preserved.
295
308
 
296
309
  ### ARK API Key Management
297
310
 
@@ -836,19 +849,20 @@ clawmacdo/
836
849
  # Build all crates
837
850
  cargo build
838
851
 
839
- # Test all crates
852
+ # Run the full Rust quality pipeline
853
+ cargo fmt --all
854
+ cargo clippy --all-targets --all-features -- -D warnings
840
855
  cargo test
841
856
 
842
857
  # Build specific crate
843
858
  cargo build -p clawmacdo-core
844
859
 
845
- # Run clippy on workspace
846
- cargo clippy --all
847
-
848
860
  # Update dependencies
849
861
  cargo update
850
862
  ```
851
863
 
864
+ The workspace now includes focused Rust tests around config/path validation, deployment database lookups, cron/hook command construction helpers, QR parsing, and web middleware behavior. Add new tests close to the module they protect.
865
+
852
866
  ### Adding Dependencies
853
867
 
854
868
  Add to workspace `Cargo.toml`:
@@ -904,7 +918,7 @@ See [docs/HIGH_SECURITY_FIXES.md](docs/HIGH_SECURITY_FIXES.md) for the finding-b
904
918
  1. Fork the repository
905
919
  2. Create a feature branch
906
920
  3. Add tests for new functionality
907
- 4. Run `cargo clippy` and `cargo test`
921
+ 4. Run `cargo fmt --all`, `cargo clippy --all-targets --all-features -- -D warnings`, and `cargo test`
908
922
  5. Submit a pull request
909
923
 
910
924
  ## License
@@ -942,7 +956,7 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
942
956
 
943
957
  ---
944
958
 
945
- **Current version:** 0.68.0
959
+ **Current version:** 0.70.0
946
960
 
947
961
 
948
962
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawmacdo",
3
- "version": "0.68.0",
3
+ "version": "0.70.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.68.0",
34
- "@clawmacdo/linux-x64": "0.68.0",
35
- "@clawmacdo/win32-x64": "0.68.0"
33
+ "@clawmacdo/darwin-arm64": "0.70.0",
34
+ "@clawmacdo/linux-x64": "0.70.0",
35
+ "@clawmacdo/win32-x64": "0.70.0"
36
36
  }
37
37
  }