create-openclaw-bot 5.8.23 → 5.8.24
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/README.md +13 -6
- package/README.vi.md +12 -5
- package/dist/cli.js +27 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# 🦞 OpenClaw Setup
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.8.
|
|
6
|
+
<a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.8.24-0EA5E9?style=for-the-badge" alt="Version 5.8.24" /></a>
|
|
7
7
|
<a href="https://github.com/tuanminhhole/openclaw-setup?tab=MIT-1-ov-file"><img src="https://img.shields.io/badge/LICENSE-MIT-success?style=for-the-badge" alt="MIT License" /></a>
|
|
8
8
|
<a href="https://www.npmjs.com/package/create-openclaw-bot"><img src="https://img.shields.io/npm/v/create-openclaw-bot?style=for-the-badge&label=CLI&color=2563EB&logo=npm&logoColor=white" alt="NPM Version" /></a>
|
|
9
9
|
<a href="https://github.com/tuanminhhole/openclaw-setup/stargazers"><img src="https://img.shields.io/github/stars/tuanminhhole/openclaw-setup?style=for-the-badge&color=eab308&logo=github&logoColor=white" alt="GitHub Stars" /></a>
|
|
@@ -23,9 +23,14 @@ A next-generation **Web UI Setup** and management dashboard that automates 100%
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
-
## 🆕 What's New in v5.8.
|
|
26
|
+
## 🆕 What's New in v5.8.24
|
|
27
27
|
|
|
28
|
-
###
|
|
28
|
+
### 🔧 Fixes: Auto-update Launcher Version
|
|
29
|
+
|
|
30
|
+
- **Fix: Cached Launcher Out-of-Sync**: Automatically detects if the running launcher (e.g. downloaded via `npx`) has a newer/different version than the cached installation inside `~/.openclaw-setup`, and automatically triggers an upgrade to match.
|
|
31
|
+
|
|
32
|
+
<details>
|
|
33
|
+
<summary><b>Previous: What's new in v5.8.23 (Memory Skill Integration)</b></summary>
|
|
29
34
|
|
|
30
35
|
- **New: Long-Term Memory & Skill Auto-Evolution (learning-memory)**: Pre-integrates the autonomous memory and learning skill from ClawHub.
|
|
31
36
|
- Automatically records newly learned facts, instructions, and user preferences into `MEMORY.md` in real-time.
|
|
@@ -33,16 +38,18 @@ A next-generation **Web UI Setup** and management dashboard that automates 100%
|
|
|
33
38
|
- Implements OS-agnostic post-install triggers on all platforms (Docker, Windows, macOS, Linux) without requiring manual setup.
|
|
34
39
|
- **New: UI Skill Toggle**: Added the "Siêu Trí Nhớ Dài Hạn" (learning-memory) toggle option directly to the Setup Wizard interface with full installation logic support.
|
|
35
40
|
|
|
41
|
+
</details>
|
|
42
|
+
|
|
36
43
|
<details>
|
|
37
|
-
<summary><b>Previous: What's new in v5.8.22
|
|
44
|
+
<summary><b>Previous: What's new in v5.8.22</b></summary>
|
|
38
45
|
|
|
39
46
|
- **Infographic Poster Generator Skill**: Integrates automatic infographic and poster generation via 9Router API. Automatically generates the helper script `image-generator.js` (synchronizing API credentials from `openclaw.json`) and a comprehensive `SKILL.md` guiding agents on styling rules, Vietnamese font support, layouts, and image generation syntax.
|
|
40
47
|
- **Zalo Sticker & Auto-Tag Skill**:
|
|
41
48
|
- Automatically mentions the active sender in group chats (Agent doesn't need to manually prefix with `@Name` anymore, the system handles it).
|
|
42
49
|
- Enables agents to dynamically send Zalo stickers by appending `[Sticker: <keyword>]` at the end of their text responses.
|
|
43
|
-
- Automatically maps emotional keywords (such as `love`, `haha`, `ca khia`, `angry`, `thank you`, etc.) to
|
|
50
|
+
- Automatically maps emotional keywords (such as `love`, `haha`, `ca khia`, `angry`, `thank you`, etc.) to Zalo sticker IDs.
|
|
44
51
|
- Generates the patch script `mentions.js` and a dedicated `SKILL.md` inside the agent's workspace.
|
|
45
|
-
- **Polish: Simplified TOOLS.md generation**: Streamlined the `TOOLS.md` generator to output a concise, static guide focusing on general principles and referencing the `./skills/` directory
|
|
52
|
+
- **Polish: Simplified TOOLS.md generation**: Streamlined the `TOOLS.md` generator to output a concise, static guide focusing on general principles and referencing the `./skills/` directory.
|
|
46
53
|
- **Polish: Standardized Reference Docs list in AGENTS.md**: Updated the reference docs list in the generated `AGENTS.md` (for both single and relay variants in Vietnamese and English) to match the new structure, removing obsolete files (`TEAMS.md` for single-bot, `BROWSER.md`) and standardizing descriptions to keep exactly 9 core documents.
|
|
47
54
|
|
|
48
55
|
</details>
|
package/README.vi.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# 🦞 OpenClaw Setup
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.8.
|
|
6
|
+
<a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.8.24-0EA5E9?style=for-the-badge" alt="Version 5.8.24" /></a>
|
|
7
7
|
<a href="https://github.com/tuanminhhole/openclaw-setup?tab=MIT-1-ov-file"><img src="https://img.shields.io/badge/LICENSE-MIT-success?style=for-the-badge" alt="MIT License" /></a>
|
|
8
8
|
<a href="https://www.npmjs.com/package/create-openclaw-bot"><img src="https://img.shields.io/npm/v/create-openclaw-bot?style=for-the-badge&label=CLI&color=2563EB&logo=npm&logoColor=white" alt="NPM Version" /></a>
|
|
9
9
|
<a href="https://github.com/tuanminhhole/openclaw-setup/stargazers"><img src="https://img.shields.io/github/stars/tuanminhhole/openclaw-setup?style=for-the-badge&color=eab308&logo=github&logoColor=white" alt="GitHub Stars" /></a>
|
|
@@ -23,9 +23,14 @@ Trình cài đặt và quản trị **Web UI Setup** thế hệ mới giúp tự
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
-
## 🆕 Có gì mới trong v5.8.
|
|
26
|
+
## 🆕 Có gì mới trong v5.8.24
|
|
27
27
|
|
|
28
|
-
###
|
|
28
|
+
### 🔧 Sửa lỗi: Tự động cập nhật phiên bản Launcher
|
|
29
|
+
|
|
30
|
+
- **Sửa lỗi: Lệch phiên bản cache Launcher**: Tự động phát hiện nếu launcher đang chạy (tải qua `npx`) có phiên bản mới hơn hoặc khác với bản đang cache trong `~/.openclaw-setup` và tự nâng cấp tương ứng.
|
|
31
|
+
|
|
32
|
+
<details>
|
|
33
|
+
<summary><b>Trước đó: Có gì mới trong v5.8.23 (Tích hợp Skill Siêu Trí Nhớ)</b></summary>
|
|
29
34
|
|
|
30
35
|
- **Mới: Siêu Trí Nhớ Dài Hạn & Tự Đóng Gói Kỹ Năng (learning-memory)**: Tích hợp sẵn skill tự học và tự tiến hóa kỹ năng mới cho Agent.
|
|
31
36
|
- Tự động ghi nhận thông tin, kiến thức và chỉ dẫn mới từ người dùng vào file `MEMORY.md` để ghi nhớ lâu dài.
|
|
@@ -33,8 +38,10 @@ Trình cài đặt và quản trị **Web UI Setup** thế hệ mới giúp tự
|
|
|
33
38
|
- Hỗ trợ chạy tự động script cài đặt (postinstall) mượt mà trên mọi nền tảng (Docker, Windows, macOS, Linux) ngay sau khi cài từ ClawHub.
|
|
34
39
|
- **Mới: Quản lý Skill trên UI**: Thêm nút bật/tắt và quản lý cài đặt skill "Siêu Trí Nhớ Dài Hạn" trực tiếp trên giao diện quản trị Web UI Setup.
|
|
35
40
|
|
|
41
|
+
</details>
|
|
42
|
+
|
|
36
43
|
<details>
|
|
37
|
-
<summary><b>Trước đó: Có gì mới trong v5.8.22
|
|
44
|
+
<summary><b>Trước đó: Có gì mới trong v5.8.22</b></summary>
|
|
38
45
|
|
|
39
46
|
- **Hỗ trợ Skill Tạo ảnh Infographic chuyên nghiệp**: Tích hợp hoàn toàn công cụ tạo ảnh infographic, poster tự động thông qua API của 9Router. Tự động sinh mã nguồn script `image-generator.js` đồng bộ API credentials từ `openclaw.json` và hướng dẫn `SKILL.md` cụ thể giúp Agent nắm vững cấu trúc prompt, font chữ tiếng Việt, layout và quy tắc thiết kế ảnh.
|
|
40
47
|
- **Hỗ trợ Skill Sticker & Auto-Tag (Zalo)**:
|
|
@@ -42,7 +49,7 @@ Trình cài đặt và quản trị **Web UI Setup** thế hệ mới giúp tự
|
|
|
42
49
|
- Cho phép Agent gửi kèm Sticker Zalo trực tiếp trong câu trả lời thông qua thẻ `[Sticker: <từ_khóa>]` đặt ở cuối tin nhắn.
|
|
43
50
|
- Tích hợp bộ giải nghĩa từ khóa cảm xúc thông minh (như `love`, `haha`, `ca khia`, `angry`, `thank you`,...) để tự động map sang sticker Zalo phù hợp.
|
|
44
51
|
- Tự động sinh script vá logic `mentions.js` và tài liệu hướng dẫn `SKILL.md` trong workspace.
|
|
45
|
-
- **Tối ưu hóa: Đơn giản hóa sinh file TOOLS.md**: Điều chỉnh generator của `TOOLS.md` để sinh ra nội dung tĩnh gọn gàng, tập trung định hướng Agent đọc chi tiết các tài liệu hướng dẫn skill tương ứng
|
|
52
|
+
- **Tối ưu hóa: Đơn giản hóa sinh file TOOLS.md**: Điều chỉnh generator của `TOOLS.md` để sinh ra nội dung tĩnh gọn gàng, tập trung định hướng Agent đọc chi tiết các tài liệu hướng dẫn skill tương ứng.
|
|
46
53
|
- **Tối ưu hóa: Chuẩn hóa danh sách Tài liệu tham chiếu trong AGENTS.md**: Cập nhật danh sách tài liệu tham chiếu được tạo trong file `AGENTS.md` (cho cả 2 chế độ single/relay và cả tiếng Việt/tiếng Anh) để khớp chính xác cấu trúc mới gồm đúng 9 tài liệu cốt lõi, loại bỏ các file không còn phù hợp (`TEAMS.md` cho single-bot, `BROWSER.md`) và chuẩn hóa phần mô tả.
|
|
47
54
|
|
|
48
55
|
</details>
|
package/dist/cli.js
CHANGED
|
@@ -109,9 +109,33 @@ if (process.env.OPENCLAW_SETUP_WIZARD === 'true' || isLocalRepo()) {
|
|
|
109
109
|
fs.writeFileSync(pkgPath, JSON.stringify({ name: 'openclaw-setup-container', version: '1.0.0', private: true, dependencies: {} }, null, 2), 'utf8');
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
let needsInstall = !fs.existsSync(cliPath) || shouldUpdate;
|
|
113
|
+
let installSpec = 'create-openclaw-bot@latest';
|
|
114
|
+
|
|
115
|
+
try {
|
|
116
|
+
const runningPkgPath = path.join(__dirname, '..', 'package.json');
|
|
117
|
+
if (fs.existsSync(runningPkgPath)) {
|
|
118
|
+
const runningPkg = JSON.parse(fs.readFileSync(runningPkgPath, 'utf8'));
|
|
119
|
+
if (runningPkg.version) {
|
|
120
|
+
installSpec = `create-openclaw-bot@${runningPkg.version}`;
|
|
121
|
+
|
|
122
|
+
const installedPkgPath = path.join(targetPath, 'node_modules', 'create-openclaw-bot', 'package.json');
|
|
123
|
+
if (fs.existsSync(installedPkgPath)) {
|
|
124
|
+
const installedPkg = JSON.parse(fs.readFileSync(installedPkgPath, 'utf8'));
|
|
125
|
+
if (runningPkg.version !== installedPkg.version) {
|
|
126
|
+
console.log(`Version mismatch: Launcher is v${runningPkg.version}, but cached installation is v${installedPkg.version}.`);
|
|
127
|
+
needsInstall = true;
|
|
128
|
+
}
|
|
129
|
+
} else {
|
|
130
|
+
needsInstall = true;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
} catch (err) {}
|
|
135
|
+
|
|
136
|
+
if (needsInstall) {
|
|
137
|
+
console.log(`Checking/Installing Setup Wizard package (${installSpec}) in: ${targetPath}...`);
|
|
138
|
+
await runCmd('npm', ['install', installSpec, '--no-audit', '--no-fund'], { cwd: targetPath });
|
|
115
139
|
}
|
|
116
140
|
|
|
117
141
|
console.log('\nStarting Setup Wizard...');
|