create-openclaw-bot 5.7.7 → 5.7.8

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 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.7.7-0EA5E9?style=for-the-badge" alt="Version 5.7.7" /></a>
6
+ <a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.7.8-0EA5E9?style=for-the-badge" alt="Version 5.7.8" /></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>
@@ -24,18 +24,18 @@ An interactive **CLI tool** and **Setup Wizard** to deploy your own free AI Bot
24
24
 
25
25
  ---
26
26
 
27
- ## 🆕 What's new in v5.7.7
27
+ ## 🆕 What's new in v5.7.8
28
28
 
29
- - 🛠️ **Infrastructure & Zalo Bot Stabilization** — Automatically pins `openclaw@2026.4.15` across all deployment scripts, completely eliminating gateway crashes caused by version mismatch when installing Zalo Personal.
30
- - 📦 **Docker Volume & Gateway Deadlock Optimization** Redesigned the `.openclaw` mount mechanism and implemented `tmpfs` for `plugin-runtime-deps`, entirely preventing I/O lock conditions on Windows/WSL2.
31
- - 🔄 **9Router Smart-Sync** — Automatically detects and syncs models (Gemini, Claude, GPT) from active AI providers directly into the `smart-route` combination every time the system starts up.
29
+ - 🧹 **Zalo Mod Plugin Cleanup** — Removed auto-injection of `zalo-mod` into generated configs. The plugin now must be installed manually via ClawHub, eliminating persistent installation loops and Docker permission conflicts.
30
+ - 🔧 **Cleaner Docker Build** `openclaw-zalo-mod` is no longer baked into the Docker image during build or runtime entrypoint, reducing image size and startup errors.
31
+ - 📝 **Standardized Release Workflow** — Added `.agent/workflows/update.md` as the canonical release checklist for this repo.
32
32
 
33
33
  <details>
34
- <summary><b>Previous: What's new in v5.7.6</b></summary>
34
+ <summary><b>Previous: What's new in v5.7.7</b></summary>
35
35
 
36
- - 🧹 **Automated Uninstall Scripts** — Generates an `uninstall-openclaw` script to cleanly remove system/container resources.
37
- - 🐛 **Hotfix CLI Crash** — Permanently fixed the `channelKey is not defined` bug and double-encoding issues for Vietnamese texts.
38
- - 🏗️ **Centralized config architecture** — All config logic is now unified through `bot-config-gen.js`, completely eradicating the `autoReply: true` bug.
36
+ - 🛠️ **Infrastructure & Zalo Bot Stabilization** — Automatically pins `openclaw@2026.4.15` across all deployment scripts, eliminating gateway crashes caused by version mismatch when installing Zalo Personal.
37
+ - 📦 **Docker Volume & Gateway Deadlock Optimization** — Redesigned the `.openclaw` mount mechanism and implemented `tmpfs` for `plugin-runtime-deps`, preventing I/O lock conditions on Windows/WSL2.
38
+ - 🔄 **9Router Smart-Sync** — Automatically detects and syncs models (Gemini, Claude, GPT) from active AI providers directly into the `smart-route` combination every time the system starts up.
39
39
 
40
40
  ## </details>
41
41
 
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.7.7-0EA5E9?style=for-the-badge" alt="Version 5.7.7" /></a>
6
+ <a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.7.8-0EA5E9?style=for-the-badge" alt="Version 5.7.8" /></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>
@@ -24,18 +24,18 @@ Công cụ **CLI tương tác** và **Setup Wizard** để tự triển khai Bot
24
24
 
25
25
  ---
26
26
 
27
- ## 🆕 Có gì mới trong v5.7.7
27
+ ## 🆕 Có gì mới trong v5.7.8
28
28
 
29
- - 🛠️ **Ổn Định Infrastructure & Zalo Bot** — Tự động ghim `openclaw@2026.4.15` cho mọi nền tảng, loại bỏ hoàn toàn các lỗi crash do lệch version khi cài Zalo Personal.
30
- - 📦 **Tối Ưu Docker Volume & Gateway Deadlock** — Thiết kế lại chế mount thư mục `.openclaw` triển khai `tmpfs` cho `plugin-runtime-deps`, triệt để ngăn chặn tình trạng I/O lock trên Windows/WSL2.
31
- - 🔄 **9Router Smart-Sync** — Tự động nhận diện đồng bộ danh sách models (Gemini, Claude, GPT) từ các AI provider đang kích hoạt trực tiếp vào combo `smart-route` mỗi khi khởi động hệ thống.
29
+ - 🧹 **Dọn dẹp Plugin Zalo Mod** — Gỡ bỏ auto-inject `zalo-mod` khỏi config được generate. Plugin giờ phải cài thủ công qua ClawHub, loại bỏ vòng lặp cài đặt liên tục xung đột quyền trong Docker.
30
+ - 🔧 **Docker Build Sạch Hơn** — `openclaw-zalo-mod` không còn được nhúng vào Docker image khi build hoặc trong entrypoint runtime, giảm kích thước image lỗi khởi động.
31
+ - 📝 **Chuẩn Hóa Workflow Release** — Thêm `.agent/workflows/update.md` làm checklist release chuẩn cho repo này.
32
32
 
33
33
  <details>
34
- <summary><b>Trước đó: Có gì mới ở v5.7.6</b></summary>
34
+ <summary><b>Trước đó: Có gì mới ở v5.7.7</b></summary>
35
35
 
36
- - 🧹 **Tự Động Tạo Script Gỡ Cài Đặt** — Sinh sẵn file `uninstall-openclaw` dọn sạch tài nguyên hệ thống/container.
37
- - 🐛 **Hotfix CLI Crash** — Fix triệt để lỗi `channelKey is not defined` và double-encoding tiếng Việt.
38
- - 🏗️ **Kiến trúc config tập trung** Toàn bộ logic config giờ hợp nhất qua `bot-config-gen.js`, xoá triệt để lỗi `autoReply: true`.
36
+ - 🛠️ **Ổn Định Infrastructure & Zalo Bot** — Tự động ghim `openclaw@2026.4.15` cho mọi nền tảng, loại bỏ hoàn toàn các lỗi crash do lệch version khi cài Zalo Personal.
37
+ - 📦 **Tối Ưu Docker Volume & Gateway Deadlock** — Thiết kế lại chế mount thư mục `.openclaw` và triển khai `tmpfs` cho `plugin-runtime-deps`, triệt để ngăn chặn tình trạng I/O lock trên Windows/WSL2.
38
+ - 🔄 **9Router Smart-Sync** Tự động nhận diện và đồng bộ danh sách models (Gemini, Claude, GPT) từ các AI provider đang kích hoạt trực tiếp vào combo `smart-route` mỗi khi khởi động hệ thống.
39
39
 
40
40
  ## </details>
41
41
 
package/dist/cli.js CHANGED
@@ -2171,9 +2171,6 @@ async function main() {
2171
2171
  const relayInstallCmd = (isMultiBot && channelKey === 'telegram')
2172
2172
  ? buildRelayPluginInstallCommand('openclaw')
2173
2173
  : '';
2174
- const zaloModInstallCmd = hasZaloPersonal(channelKey)
2175
- ? 'ensure_plugin zalo-mod openclaw-zalo-mod'
2176
- : '';
2177
2174
  const deviceApproveLoop = 'while true; do sleep 5; openclaw devices approve --latest 2>/dev/null || true; done >/dev/null 2>&1 &';
2178
2175
 
2179
2176
  // buildDockerArtifacts joins runtimeCommandParts with spaces, then appends 'openclaw gateway run'
@@ -2188,7 +2185,6 @@ async function main() {
2188
2185
  selectedModel: modelsPrimary,
2189
2186
  agentId,
2190
2187
  runtimeCommandParts: [
2191
- zaloModInstallCmd,
2192
2188
  relayInstallCmd,
2193
2189
  skillInstallCmd,
2194
2190
  deviceApproveLoop,
@@ -305,21 +305,9 @@
305
305
 
306
306
  const allow = ['memory-core'];
307
307
 
308
- // zalo-mod plugin for Zalo Personal
308
+ // Zalo Personal channel is native; install openclaw-zalo-mod manually via ClawHub when needed.
309
309
  if (isZaloPersonal(channelKey)) {
310
- allow.push('zalo-mod', 'zalouser');
311
- entries['zalo-mod'] = {
312
- enabled: true,
313
- config: {
314
- botName: botName,
315
- ownerId: "",
316
- groupNames: {},
317
- zaloDisplayNames: [botName],
318
- welcomeEnabled: true,
319
- spamRepeatN: 3,
320
- spamWindowSeconds: 300,
321
- },
322
- };
310
+ allow.push('zalouser');
323
311
  }
324
312
 
325
313
  const plugins = { entries };
package/dist/setup.js CHANGED
@@ -1743,21 +1743,9 @@ if (typeof exports !== 'undefined' && workspaceRoot.__openclawWorkspace) {
1743
1743
 
1744
1744
  const allow = ['memory-core'];
1745
1745
 
1746
- // zalo-mod plugin for Zalo Personal
1746
+ // Zalo Personal channel is native; install openclaw-zalo-mod manually via ClawHub when needed.
1747
1747
  if (isZaloPersonal(channelKey)) {
1748
- allow.push('zalo-mod', 'zalouser');
1749
- entries['zalo-mod'] = {
1750
- enabled: true,
1751
- config: {
1752
- botName: botName,
1753
- ownerId: "",
1754
- groupNames: {},
1755
- zaloDisplayNames: [botName],
1756
- welcomeEnabled: true,
1757
- spamRepeatN: 3,
1758
- spamWindowSeconds: 300,
1759
- },
1760
- };
1748
+ allow.push('zalouser');
1761
1749
  }
1762
1750
 
1763
1751
  const plugins = { entries };
@@ -3019,7 +3007,6 @@ function buildNativeScriptCtx(options) {
3019
3007
  const p = PLUGINS.find((x) => x.id === pid);
3020
3008
  if (p) allPlugins.push(p.package);
3021
3009
  });
3022
- if (ch && ch.hasZaloPersonal) allPlugins.push('openclaw-zalo-mod');
3023
3010
  if (isMultiBot && state.channel === 'telegram') allPlugins.push(relayPluginSpec);
3024
3011
  const uniquePlugins = [...new Set(allPlugins)];
3025
3012
  const pluginCmd = uniquePlugins.length > 0 ? uniquePlugins.map(function(pkg) { return 'call npm exec -- openclaw plugins install ' + pkg + ' || echo [WARN] Plugin ' + pkg + ' cai dat that bai (co the do rate limit). Ban co the cai thu cong sau.'; }).join('\r\n') : '';
@@ -5855,7 +5842,6 @@ Write-Host "Chrome se tu dong bat Debug Mode moi khi ban dang nhap Windows (dela
5855
5842
  };
5856
5843
  clawConfig.plugins = {
5857
5844
  entries: {
5858
- ...(ch.hasZaloPersonal ? { 'zalo-mod': { enabled: true, config: { botName: botName, ownerId: "", groupNames: {}, zaloDisplayNames: [botName], welcomeEnabled: true, spamRepeatN: 3, spamWindowSeconds: 300 } } } : {}),
5859
5845
  'memory-core': {
5860
5846
  config: { dreaming: { enabled: state.config.skills.includes('memory') } },
5861
5847
  },
@@ -5869,20 +5855,6 @@ Write-Host "Chrome se tu dong bat Debug Mode moi khi ban dang nhap Windows (dela
5869
5855
  if (!plugin || plugin.hidden) return;
5870
5856
  pluginEntries[plugin.package || pid] = { enabled: true };
5871
5857
  });
5872
- if (ch.hasZaloPersonal) {
5873
- pluginEntries['zalo-mod'] = {
5874
- enabled: true,
5875
- config: {
5876
- botName: botName,
5877
- ownerId: "",
5878
- groupNames: {},
5879
- zaloDisplayNames: [botName],
5880
- welcomeEnabled: true,
5881
- spamRepeatN: 3,
5882
- spamWindowSeconds: 300
5883
- }
5884
- };
5885
- }
5886
5858
  pluginEntries['memory-core'] = {
5887
5859
  config: { dreaming: { enabled: state.config.skills.includes('memory') } },
5888
5860
  };
@@ -5922,7 +5894,6 @@ model:
5922
5894
  // 3. Dockerfile + docker-compose.yml
5923
5895
  const allPlugins = [];
5924
5896
  if (ch.pluginInstall) allPlugins.push(ch.pluginInstall);
5925
- if (ch.hasZaloPersonal) allPlugins.push('openclaw-zalo-mod');
5926
5897
  state.config.plugins.forEach((pid) => {
5927
5898
  const plug = PLUGINS.find((p) => p.id === pid);
5928
5899
  if (plug) allPlugins.push(plug.package);
@@ -5938,7 +5909,6 @@ model:
5938
5909
  const relayPluginInstallCmd = isMultiBot ? buildRelayPluginInstallCommand('openclaw') : '';
5939
5910
  const pluginRuntimeSpecs = allPlugins.filter((p) => p && p !== '@openclaw/zalouser');
5940
5911
  const pluginIdForSpec = (spec) => {
5941
- if (String(spec).includes('zalo-mod')) return 'zalo-mod';
5942
5912
  return String(spec).replace(/^@openclaw\//, '').replace(/^openclaw-/, '');
5943
5913
  };
5944
5914
  const pluginInstallCmd = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-openclaw-bot",
3
- "version": "5.7.7",
3
+ "version": "5.7.8",
4
4
  "description": "Interactive CLI installer for OpenClaw Bot",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {