feat: add consumer-facing install flow / 新增給其他 agent 使用的安裝流程
This commit is contained in:
@@ -46,6 +46,15 @@ Read these files first:
|
||||
7. `reports/next-phase-implementation-plan.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
|
||||
|
||||
- `src/core/` - reusable state/policy/callback logic
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"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",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
||||
18
scripts/install-openclawtest-poc.sh
Executable file
18
scripts/install-openclawtest-poc.sh
Executable 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."
|
||||
Reference in New Issue
Block a user