chore: add npm entrypoints for openclawtest flows / 新增 openclawtest 流程的 npm 入口

This commit is contained in:
Alice (OpenClaw)
2026-05-14 10:19:09 +08:00
parent 6e726a641e
commit 25a351321e
3 changed files with 30 additions and 0 deletions

View File

@@ -29,6 +29,12 @@ Fastest path:
bash scripts/install-openclawtest-poc.sh
```
Equivalent npm script:
```bash
npm run install:openclawtest
```
This does two things:
1. refreshes the live `openclawtest` PoC by reapplying the patch and restarting the gateway
@@ -55,6 +61,12 @@ bash scripts/apply-openclaw-poc-patch.sh /home/openclawtest/.nvm/versions/node/v
bash scripts/refresh-openclawtest-poc.sh
```
Equivalent npm script:
```bash
npm run refresh:openclawtest
```
### Verify current live state
```bash
@@ -63,12 +75,24 @@ bash scripts/verify-openclaw-poc.sh \
/home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist
```
Equivalent npm script:
```bash
npm run verify:openclawtest
```
### Rollback
```bash
bash scripts/rollback-openclaw-poc-patch.sh /home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist
```
Equivalent npm script:
```bash
npm run rollback:openclawtest
```
## What success looks like
After install/refresh: