create-openclaw-bot 5.0.0 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # Changelog (English)
2
2
 
3
+ ## [5.0.1] — 2026-04-04
4
+
5
+ ### 🚀 Native Install Mode — No Docker Required
6
+
7
+ OpenClaw now supports **native (non-Docker) installation** on Windows, Linux, macOS, VPS, and shared hosting. Users who prefer not to use Docker can deploy the bot directly on their machine.
8
+
9
+ - **CLI native mode** — new deployment mode selector: `docker` (default) or `native`
10
+ - **OS-specific startup scripts** auto-generated:
11
+ - 🪟 **Windows** → `setup-openclaw-win.bat` (double-click install)
12
+ - 🐧 **Linux / macOS** → `setup-openclaw-linux.sh`
13
+ - 🖥️ **VPS / Ubuntu** → `setup-openclaw-vps.sh` (PM2 background process)
14
+ - 🏠 **Shared Hosting / cPanel** → `setup-openclaw-hosting.sh` + `ecosystem.config.cjs`
15
+ - **Web Wizard updated** — Deploy Mode toggle (Docker / Native) with OS sub-selection cards
16
+ - **Dynamic host URLs** — Ollama and 9Router URLs switch automatically:
17
+ - Docker mode: `http://ollama:11434` / `http://9router:20128/v1`
18
+ - Native mode: `http://localhost:11434` / `http://localhost:20128/v1`
19
+ - **Node.js 18+ gate** — Native mode enforces minimum Node.js version at setup time
20
+ - **Test scripts** — `test-native-install.bat` (Windows) and `test-native-install.sh` (Linux/macOS)
21
+
22
+ ### 🤖 Gemma 4 Model Updates
23
+
24
+ - **4 Gemma 4 variants** available via Ollama: `gemma4:e2b` (~4-6 GB), `gemma4:e4b` (~8-10 GB), `gemma4:26b` (~18-24 GB), `gemma4:31b` (~24+ GB)
25
+ - Auto-pull selected Gemma 4 variant on first `docker compose up` (container timeout extended to 15 min)
26
+ - Raised Ollama timeout to **300 seconds** to handle large model inference
27
+ - Added `OLLAMA_NUM_PARALLEL=1` and `OLLAMA_KEEP_ALIVE=24h` to Docker sidecar
28
+
29
+ ### 🤖 Multi-Bot Deployment (up to 5 Telegram bots per workspace)
30
+
31
+ OpenClaw now supports deploying **multiple independent Telegram bots** from a single setup—each with its own identity, slash command, AI personality, and isolated workspace directory.
32
+
33
+ - **Deploy 1–5 bots in one go** — Web Wizard and CLI both support multi-bot configuration
34
+ - **Isolated workspaces** — each bot gets its own `botN/` directory with a separate `.env` and `.openclaw/` config, preventing any token or configuration collision
35
+ - **Port auto-assignment** — ports start at `18791` and increment per bot (`18791`, `18792`, ...) to avoid host binding conflicts
36
+ - **Multi-service Docker Compose** — automatically generates a `docker-compose.yml` with one service per bot, plus a shared provider container (9Router or Ollama)
37
+ - **Department Room Model** — when bots share a Telegram group they operate like a professional team:
38
+ - 🤫 **Silent by default** — bots react with emoji (👍 ❤️) to casual messages but never spam replies
39
+ - 📣 **@mention or /slash triggers** — only the addressed bot responds, like calling a colleague by name in a meeting room
40
+ - 🗃️ **Shared workspace** — all bots read from a common workspace folder and can collaborate on tasks, files, and reports
41
+ - **botGroup config** injected into each bot's `openclaw.json` so they are aware of each other's names and slash commands at runtime
42
+
43
+ ### 🔗 Telegram Group ID Helper
44
+
45
+ Getting the Telegram Group ID is now frictionless:
46
+
47
+ - **Web Wizard**: "Đã có group" card now shows an inline `Lấy Group ID` button that opens **@userinfobot** directly, with step-by-step instructions (forward a group message → bot replies with Chat ID)
48
+ - **CLI**: selecting "existing group" prints an interactive guide with numbered steps and a direct link to `https://t.me/userinfobot`
49
+
50
+ ### 🎨 UI Refinements
51
+
52
+ - **Group option selector** with **two interactive cards** with icon, description, hover glow, and animated selection checkmark
53
+ - Card active state: green tint + border for "create later", indigo tint + border for "existing group"
54
+ - Group ID input row includes inline helper button — no more hunting for documentation
55
+
3
56
  ## [5.0.0] — 2026-04-04
4
57
 
5
58
  ### 🚀 Gemma 4 Support — Google's Newest Open Model
package/CHANGELOG.vi.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # Changelog (Tiếng Việt)
2
2
 
3
+ ## [5.0.1] — 2026-04-04
4
+
5
+ ### 🚀 Chế độ Native Install — Không cần Docker
6
+
7
+ OpenClaw giờ hỗ trợ **cài đặt native (không dùng Docker)** trên Windows, Linux, macOS, VPS và shared hosting.
8
+
9
+ - **CLI native mode** — thêm chọn chế độ: `docker` (mặc định) hoặc `native`
10
+ - **Script khởi động sinh tự động theo OS:**
11
+ - 🪟 **Windows** → `setup-openclaw-win.bat` (double-click cài ngay)
12
+ - 🐧 **Linux / macOS** → `setup-openclaw-linux.sh`
13
+ - 🖥️ **VPS / Ubuntu** → `setup-openclaw-vps.sh` (PM2 chạy nền)
14
+ - 🏠 **Shared Hosting / cPanel** → `setup-openclaw-hosting.sh` + `ecosystem.config.cjs`
15
+ - **Web Wizard cập nhật** — Thêm toggle Deploy Mode (Docker / Native) + chọn OS
16
+ - **URL host động** — Ollama và 9Router URL tự chuyển:
17
+ - Docker: `http://ollama:11434` / `http://9router:20128/v1`
18
+ - Native: `http://localhost:11434` / `http://localhost:20128/v1`
19
+ - **Kiểm tra Node.js 18+** — Native mode yêu cầu Node.js 18+ trước khi chạy
20
+ - **Test scripts** — `test-native-install.bat` (Windows) và `test-native-install.sh` (Linux/macOS)
21
+
22
+ ### 🤖 Cập nhật Gemma 4
23
+
24
+ - **4 biến thể Gemma 4** qua Ollama: `gemma4:e2b` (~4-6 GB), `gemma4:e4b` (~8-10 GB), `gemma4:26b` (~18-24 GB), `gemma4:31b` (~24+ GB)
25
+ - Tự pull model Gemma 4 khi `docker compose up` lần đầu (timeout container tăng lên 15 phút)
26
+ - Nâng timeout Ollama lên **300 giây** để xử lý model lớn
27
+ - Thêm `OLLAMA_NUM_PARALLEL=1` và `OLLAMA_KEEP_ALIVE=24h` vào Docker sidecar
28
+
29
+ ### 🤖 Multi-Bot Deployment (tối đa 5 bot Telegram trên mỗi workspace)
30
+
31
+ OpenClaw giờ hỗ trợ triển khai **nhiều bot Telegram độc lập** từ một setup duy nhất — mỗi bot có identity, slash command, AI personality và thư mục workspace riêng biệt.
32
+
33
+ - **Triển khai 1–5 bot cùng lúc** — Web Wizard và CLI đều hỗ trợ cấu hình multi-bot
34
+ - **Workspace riêng biệt** — mỗi bot có thư mục `botN/` riêng với `.env` và cấu hình `.openclaw/` riêng, không gây xung đột token hay cấu hình
35
+ - **Tự động gán cổng** — cổng bắt đầu từ `18791` và tăng dần cho mỗi bot (`18791`, `18792`, ...) để tránh xung đột binding host
36
+ - **Docker Compose đa-service** — tự động sinh `docker-compose.yml` với một service cho mỗi bot, cộng thêm một container provider chung (9Router hoặc Ollama)
37
+ - **Department Room Model** — khi các bot chia sẻ chung một nhóm Telegram, chúng hoạt động như một đội ngũ chuyên nghiệp:
38
+ - 🤫 **Mặc định im lặng** — bot phản hồi bằng emoji (👍 ❤️) với tin nhắn thông thường nhưng không bao giờ spam reply
39
+ - 📣 **Trigger bằng @mention hoặc /slash** — chỉ bot được nhắc tên hoặc được gọi lệnh mới phản hồi, giống như gọi tên đồng nghiệp trong phòng họp
40
+ - 🗃️ **Workspace chung** — tất cả bot đọc từ một thư mục workspace chung và có thể cộng tác trên các tác vụ, tệp và báo cáo
41
+ - **Cấu hình botGroup** được inject vào `openclaw.json` của mỗi bot để chúng biết tên và lệnh slash của nhau khi runtime
42
+
43
+ ### 🔗 Trợ giúp lấy Telegram Group ID
44
+
45
+ Lấy Group ID giờ trở nên cực kỳ đơn giản:
46
+
47
+ - **Web Wizard**: card "Đã có group" giờ hiển thị nút inline `Lấy Group ID` mở thẳng **@userinfobot**, kèm hướng dẫn từng bước (forward tin nhắn nhóm → bot trả về Chat ID)
48
+ - **CLI**: chọn "existing group" sẽ in ra hướng dẫn tương tác với các bước đánh số và link trực tiếp đến `https://t.me/userinfobot`
49
+
50
+ ### 🎨 Tinh chỉnh UI
51
+
52
+ - **Bộ chọn tùy chọn nhóm** được thiết kế dạng **hai thẻ tương tác** với icon, mô tả, hiệu ứng hover glow và dấu tick chọn động
53
+ - Trạng thái active của thẻ: màu xanh lá + viền cho "tạo sau", màu xanh chàm + viền cho "nhóm đã có"
54
+ - Hàng nhập Group ID bao gồm nút trợ giúp inline — không cần tìm kiếm tài liệu nữa
55
+
3
56
  ## [5.0.0] — 2026-04-04
4
57
 
5
58
  ### 🚀 Hỗ trợ Gemma 4 — Model mới nhất của Google