mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Complete rename of all OpenClaw/OPENCLAW/openclaw references to Hanzo Bot/BOT/bot naming convention: - Env vars: OPENCLAW_* → BOT_* (18 patterns) - Config: ~/.openclaw/ → ~/.bot/, openclaw.json → bot.json - Packages: @openclaw/* → @hanzo/bot-* - Domains: openclaw.ai → hanzo.bot - Mobile: OpenClawKit → BotKit, bundle IDs ai.openclaw → ai.hanzo.bot - mDNS: _openclaw-gw._tcp → _bot-gw._tcp - Docker: CMD hanzo-bot.mjs, BOT_PREFER_PNPM, BOT_DOCKER_APT_PACKAGES - CI: docker-release.yml adds :latest tag on main branch
1.1 KiB
1.1 KiB
read_when, summary, title, x-i18n
| read_when | summary | title | x-i18n | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
仓库脚本:用途、范围和安全注意事项 | 脚本 |
|
脚本
scripts/ 目录包含用于本地工作流和运维任务的辅助脚本。
当任务明确与某个脚本相关时使用这些脚本;否则优先使用 CLI。
约定
- 除非在文档或发布检查清单中引用,否则脚本为可选。
- 当 CLI 接口存在时优先使用(例如:认证监控使用
hanzo-bot models status --check)。 - 假定脚本与特定主机相关;在新机器上运行前请先阅读脚本内容。
认证监控脚本
认证监控脚本的文档请参阅: /automation/auth-monitoring
添加脚本时
- 保持脚本专注且有文档说明。
- 在相关文档中添加简短条目(如果缺少则创建一个)。