核心脚本
host_tools/pi5_zero_touch_seed.sh: 空白卡 bootfs 种子入口scripts/pi5_all_in_one.sh: 总控入口scripts/pi_setup_max.sh: LeLamp runtime 与音频scripts/openclaw_pi5_setup.sh: OpenClaw 安装scripts/pi5_post_reboot_finalize.sh: 重启后收尾
host_tools/pi5_zero_touch_seed.sh: 空白卡 bootfs 种子入口scripts/pi5_all_in_one.sh: 总控入口scripts/pi_setup_max.sh: LeLamp runtime 与音频scripts/openclaw_pi5_setup.sh: OpenClaw 安装scripts/pi5_post_reboot_finalize.sh: 重启后收尾所有环境变量通过 runtime_config.py 统一读取。
不要再把灯 ID、串口、LED 数量写死在主程序里。
OpenClaw 当前只应该调用
lelamp.remote_control
暴露的安全高层命令。
不要把 `setup_motors`、`calibrate` 直接开放给它。
站点文件在 `site/`,部署工作流在 `.github/workflows/pages.yml`。
站点只做纯静态 HTML/CSS,不依赖框架。
`lelamp_runtime/scripts/lelamp_doctor.sh` 是当前缺失项检测入口。它负责判断:
bash -n host_tools/pi5_zero_touch_seed.sh
bash -n lelamp_runtime/scripts/pi_setup_max.sh
bash -n lelamp_runtime/scripts/openclaw_pi5_setup.sh
bash -n lelamp_runtime/scripts/install_openclaw_skill.sh
bash -n lelamp_runtime/scripts/pi5_all_in_one.sh
bash -n lelamp_runtime/scripts/pi5_post_reboot_finalize.sh
python -m compileall \
lelamp_runtime/lelamp/remote_control.py \
lelamp_runtime/lelamp/runtime_config.py \
lelamp_runtime/main.py \
lelamp_runtime/smooth_animation.py