diff --git a/scripts/docker/cleanup-smoke/run.sh b/scripts/docker/cleanup-smoke/run.sh index fb82676c30..6d051ac3a7 100755 --- a/scripts/docker/cleanup-smoke/run.sh +++ b/scripts/docker/cleanup-smoke/run.sh @@ -17,7 +17,7 @@ echo 'creds' >"${OPENCLAW_STATE_DIR}/credentials/marker.txt" echo 'session' >"${OPENCLAW_STATE_DIR}/agents/main/sessions/sessions.json" echo "==> Reset (config+creds+sessions)" -pnpm openclaw reset --scope config+creds+sessions --yes --non-interactive +node ./openclaw.mjs reset --scope config+creds+sessions --yes --non-interactive test ! -f "${OPENCLAW_CONFIG_PATH}" test ! -d "${OPENCLAW_STATE_DIR}/credentials" @@ -28,7 +28,7 @@ mkdir -p "${OPENCLAW_STATE_DIR}/credentials" echo '{}' >"${OPENCLAW_CONFIG_PATH}" echo "==> Uninstall (state only)" -pnpm openclaw uninstall --state --yes --non-interactive +node ./openclaw.mjs uninstall --state --yes --non-interactive test ! -d "${OPENCLAW_STATE_DIR}"