clawmacdo 0.79.0 → 0.80.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.
- package/README.md +48 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -454,6 +454,22 @@ clawmacdo ls-restore \
|
|
|
454
454
|
--size s-4vcpu-8gb
|
|
455
455
|
```
|
|
456
456
|
|
|
457
|
+
### Fast Lightsail Restore + OpenClaw Readiness
|
|
458
|
+
|
|
459
|
+
Restore a Lightsail snapshot and immediately configure Telegram pairing, OpenClaw identity, and the Remotion avatar `.env` once SSH is ready. The command batches remote edits into one SSH session and checks the Tailscale public URL and Remotion cloudflared tunnel in parallel.
|
|
460
|
+
|
|
461
|
+
```bash
|
|
462
|
+
clawmacdo ls-restore-fast \
|
|
463
|
+
--snapshot-name "my-openclaw-backup" \
|
|
464
|
+
--telegram-bot-token "$TELEGRAM_TOKEN" \
|
|
465
|
+
--owner-name "Kenny" \
|
|
466
|
+
--openclaw-name "John" \
|
|
467
|
+
--avatar-name "John" \
|
|
468
|
+
--json
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
Use `--telegram-pair-code <CODE>` when you already have an 8-character Telegram pairing code to approve in the same run. The default fast budgets are `--active-timeout-secs 120` and `--ssh-timeout-secs 30`; actual restore time still depends on Lightsail making the instance runnable.
|
|
472
|
+
|
|
457
473
|
### Destroy an Instance
|
|
458
474
|
|
|
459
475
|
Delete an instance by name across any supported provider. Removes cloud SSH key, local key, and (for BytePlus) EIP and VPC resources.
|
|
@@ -891,9 +907,40 @@ execSync(`${bin} deploy --provider lightsail ...`, { stdio: "inherit" });
|
|
|
891
907
|
| `CLAWMACDO_API_KEY` | API key protecting `/api/*` endpoints | Optional (Web UI) |
|
|
892
908
|
| `CLAWMACDO_PIN` | 6-digit PIN for web UI login page | Optional (Web UI) |
|
|
893
909
|
| `CLAWMACDO_BIND` | Server bind address (default: `127.0.0.1`) | Optional (Web UI) |
|
|
910
|
+
| `CLAWMACDO_STATE_DIR` | Directory for deploy records, SSH keys, backups, and `deployments.db` (default: `~/.clawmacdo`) | Optional |
|
|
894
911
|
| `SKILLS_API_URL` | Railway skills API base URL | For skill commands |
|
|
895
912
|
| `USER_SKILLS_API_KEY` | API key for user-skills endpoints | For skill commands |
|
|
896
913
|
|
|
914
|
+
## Railway Persistence
|
|
915
|
+
|
|
916
|
+
When running `clawmacdo serve` on Railway, attach a Railway Volume at:
|
|
917
|
+
|
|
918
|
+
```text
|
|
919
|
+
/app/.clawmacdo
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
This repository includes a root `Dockerfile` and `railway.toml` for the web UI. Railway should build the Rust binary and start:
|
|
923
|
+
|
|
924
|
+
```sh
|
|
925
|
+
clawmacdo serve --port "$PORT"
|
|
926
|
+
```
|
|
927
|
+
|
|
928
|
+
If Railway still starts `node /app/server.js`, remove the service-level start command override in Railway and redeploy from this repository config.
|
|
929
|
+
|
|
930
|
+
Set `CLAWMACDO_STATE_DIR=/app/.clawmacdo` so deploy records, SSH keys, backups, and `deployments.db` survive redeploys. The Docker image sets this by default. If Railway provides `RAILWAY_VOLUME_MOUNT_PATH=/app/.clawmacdo`, clawmacdo also auto-detects that mount path.
|
|
931
|
+
|
|
932
|
+
Railway Volumes are mounted as root by default. For non-root container images, either set `RAILWAY_RUN_UID=0` as a quick operational fix, or chown the mounted directory in the hosting app image before starting the server:
|
|
933
|
+
|
|
934
|
+
```sh
|
|
935
|
+
mkdir -p /app/.clawmacdo
|
|
936
|
+
chown -R nextjs:nodejs /app/.clawmacdo
|
|
937
|
+
exec "$@"
|
|
938
|
+
```
|
|
939
|
+
|
|
940
|
+
Without a persistent volume, Railway redeploys can remove `deploys/`, `keys/`, and `deployments.db`. Existing cloud instances may then be unreachable from clawmacdo unless the old deploy record and SSH private key can be recovered; after attaching the volume, destroy/recreate those orphaned instances and provision again.
|
|
941
|
+
|
|
942
|
+
Railway references: [Volumes](https://docs.railway.com/volumes), [Volume permissions](https://docs.railway.com/reference/volumes).
|
|
943
|
+
|
|
897
944
|
## Skills Data API
|
|
898
945
|
|
|
899
946
|
The `skills-data-api/` directory contains a standalone Node.js/Express service for browsing and serving Claude Code skill marketplace data, backed by MongoDB.
|
|
@@ -1078,4 +1125,4 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
|
|
|
1078
1125
|
|
|
1079
1126
|
---
|
|
1080
1127
|
|
|
1081
|
-
**Current version:** 0.
|
|
1128
|
+
**Current version:** 0.80.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawmacdo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.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.
|
|
34
|
-
"@clawmacdo/linux-x64": "0.
|
|
35
|
-
"@clawmacdo/win32-x64": "0.
|
|
33
|
+
"@clawmacdo/darwin-arm64": "0.80.0",
|
|
34
|
+
"@clawmacdo/linux-x64": "0.80.0",
|
|
35
|
+
"@clawmacdo/win32-x64": "0.80.0"
|
|
36
36
|
}
|
|
37
37
|
}
|