feat: add consumer-facing install flow / 新增給其他 agent 使用的安裝流程

This commit is contained in:
Alice (OpenClaw)
2026-05-13 20:57:39 +08:00
parent d377426246
commit be3b28e6de
3 changed files with 29 additions and 0 deletions

View File

@@ -46,6 +46,15 @@ Read these files first:
7. `reports/next-phase-implementation-plan.md` 7. `reports/next-phase-implementation-plan.md`
8. `reports/agent-consumable-minimum.md` 8. `reports/agent-consumable-minimum.md`
## Fastest operational entrypoints
For another engineering agent, the most useful command entrypoints are now:
- `bash scripts/install-openclawtest-poc.sh`
- `npm run apply:openclawtest`
- `npm run verify:openclawtest`
- `npm run test`
## Repo structure ## Repo structure
- `src/core/` - reusable state/policy/callback logic - `src/core/` - reusable state/policy/callback logic

View File

@@ -4,6 +4,8 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"apply:openclawtest": "bash ./scripts/refresh-openclawtest-poc.sh",
"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", "test": "tsx --test tests/**/*.test.mjs",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
echo "== install reply-end-controls PoC into openclawtest =="
bash "${ROOT_DIR}/scripts/refresh-openclawtest-poc.sh"
echo
echo "== verify installed state =="
bash "${ROOT_DIR}/scripts/verify-openclaw-poc.sh" \
"/home/openclawtest/.openclaw" \
"/home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist"
echo
echo "PoC install flow complete."
echo "Next: send a Telegram reply through openclawtest and verify buttons/callback/state manually."