Thanks for helping improve OpenClaw CLI.
git clone https://github.com/Sobranier/openclaw-cli.git
cd openclaw-cli
npm installnpm run dev -- status
npm run dev -- watch
npm run dev -- gateway statusnpm run buildOutput is in dist/.
src/
commands/ # watch/status/doctor/gateway/logs handlers
core/ # health check, restart logic, daemon management
dashboard/ # local web UI
utils/ # OpenClaw detection and helpers
scripts/
publish.sh # nightly multi-package publish script
This repository publishes one core package plus many aliases.
- Primary package:
openclaw-cli - Alias examples:
openclaw-doctor,hello-claw,aiclaw,pddclaw - All aliases share the same runtime (
dist/index.js)
For every alias package:
binmust map alias name to./dist/index.js- README should keep command examples in alias name (
hello-claw watch -d) - README links should point to:
https://openclaw-cli.apphttps://www.npmjs.com/package/openclaw-cli
Run these before nightly release:
npm run build
node scripts/validate-aliases.mjs
bash scripts/smoke-aliases.shvalidate-aliases.mjs checks alias package metadata + README links.
smoke-aliases.sh checks real command execution for sampled aliases.
- Do not push directly to
mainduring daytime. - Work on a release branch, e.g.
release/YYYYMMDD-2300. - Nightly release window: 23:00 Asia/Shanghai.
- Publish and merge in the nightly window only.
By contributing, you agree your contributions are licensed under MIT.