diff --git a/HANDOFF.md b/HANDOFF.md index ba518cc..1ec2bcf 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -63,8 +63,11 @@ Read these files first: For another engineering agent, the most useful command entrypoints are now: - `bash scripts/install-openclawtest-poc.sh` +- `npm run install:openclawtest` - `npm run apply:openclawtest` +- `npm run refresh:openclawtest` - `npm run verify:openclawtest` +- `npm run rollback:openclawtest` - `npm run test` ## Repo structure diff --git a/INSTALL.md b/INSTALL.md index 3f137ec..b949911 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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: diff --git a/package.json b/package.json index c577fea..4564a0e 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "type": "module", "scripts": { "apply:openclawtest": "bash ./scripts/refresh-openclawtest-poc.sh", + "install:openclawtest": "bash ./scripts/install-openclawtest-poc.sh", + "refresh:openclawtest": "bash ./scripts/refresh-openclawtest-poc.sh", + "rollback:openclawtest": "bash ./scripts/rollback-openclaw-poc-patch.sh /home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist", "verify:openclawtest": "bash ./scripts/verify-openclaw-poc.sh /home/openclawtest/.openclaw /home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist", "test": "tsx --test tests/**/*.test.mjs", "typecheck": "tsc --noEmit"