refactor: rename HAPI_BOT_URL to HAPI_SERVER_URL

The project is no longer primarily a bot - it now provides HTTP API,
Socket.IO, SSE, and web app backend services. This rename reflects the
broader scope of server functionality.

Updates references in:
- cli/src/configuration.ts (core config)
- cli/src/ui/logger.ts (remote logging)
- cli/src/ui/doctor.ts (diagnostics)
- cli/src/commands/auth.ts (auth status)
- cli/src/daemon/daemon.integration.test.ts (test comments)
- README.md (quickstart docs)
- cli/README.md (CLI docs)
- cli/CLAUDE.md (dev docs)
This commit is contained in:
weishu
2025-12-24 19:15:47 +08:00
parent 4017590af9
commit 958e78dc6e
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ See `src/configuration.ts` for all options.
### Required
- `CLI_API_TOKEN` - Shared secret; must match the server. Can be set via env or `~/.hapi/settings.json` (env wins).
- `HAPI_BOT_URL` - Server base URL (default: http://localhost:3006).
- `HAPI_SERVER_URL` - Server base URL (default: http://localhost:3006).
### Optional