create-openclaw-bot 5.6.13 → 5.6.14
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 +2 -2
- package/README.vi.md +2 -2
- package/dist/cli.js +0 -6
- package/dist/setup/data/channels.js +0 -6
- package/dist/setup.js +8 -16
- package/package.json +39 -39
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.6.
|
|
6
|
+
<a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.6.14-0EA5E9?style=for-the-badge" alt="Version 5.6.14" /></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,7 +24,7 @@ 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.6.
|
|
27
|
+
## 🆕 What's new in v5.6.14
|
|
28
28
|
|
|
29
29
|
- 🔧 **OpenAI Codex provider fix** — Updated Codex model registry to match OpenAI's current API. Removed 6 deprecated models, retained 4 active ones: `gpt-5.4`, `gpt-5.3-codex`, `gpt-5.2`, `gpt-5.4-mini`.
|
|
30
30
|
- 🔀 **9Router API mode switch** — Switched from `openai-completions` to `openai-responses` to align with OpenAI's Responses API.
|
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.6.
|
|
6
|
+
<a href="https://github.com/tuanminhhole/openclaw-setup/releases"><img src="https://img.shields.io/badge/RELEASE-v5.6.14-0EA5E9?style=for-the-badge" alt="Version 5.6.14" /></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,7 +24,7 @@ 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.6.
|
|
27
|
+
## 🆕 Có gì mới trong v5.6.14
|
|
28
28
|
|
|
29
29
|
- 🔧 **Sửa provider OpenAI Codex** — Cập nhật registry model Codex phù hợp API hiện tại của OpenAI. Loại 6 model đã dừng, giữ 4 model đang hoạt động: `gpt-5.4`, `gpt-5.3-codex`, `gpt-5.2`, `gpt-5.4-mini`.
|
|
30
30
|
- 🔀 **Chuyển chế độ API 9Router** — Đổi từ `openai-completions` sang `openai-responses` cho khớp với Responses API mới của OpenAI.
|
package/dist/cli.js
CHANGED
|
@@ -2580,12 +2580,6 @@ async function main() {
|
|
|
2580
2580
|
groupPolicy: 'allowlist',
|
|
2581
2581
|
groupAllowFrom: ['*'],
|
|
2582
2582
|
historyLimit: 50,
|
|
2583
|
-
groups: {
|
|
2584
|
-
'*': {
|
|
2585
|
-
enabled: true,
|
|
2586
|
-
requireMention: false,
|
|
2587
|
-
},
|
|
2588
|
-
},
|
|
2589
2583
|
autoReply: true,
|
|
2590
2584
|
};
|
|
2591
2585
|
} else if (channelKey === 'zalo-bot') {
|
package/dist/setup.js
CHANGED
|
@@ -271,6 +271,7 @@
|
|
|
271
271
|
// 'telegram+zalo-personal' — Combo mode tạm ngưng, nghiên cứu thêm.
|
|
272
272
|
'zalo-personal': {
|
|
273
273
|
name: 'Zalo Personal',
|
|
274
|
+
hasZaloPersonal: true,
|
|
274
275
|
envKeys: [],
|
|
275
276
|
envExtra: '',
|
|
276
277
|
credSteps: [
|
|
@@ -294,12 +295,6 @@
|
|
|
294
295
|
groupPolicy: 'allowlist',
|
|
295
296
|
groupAllowFrom: ['*'],
|
|
296
297
|
historyLimit: 50,
|
|
297
|
-
groups: {
|
|
298
|
-
'*': {
|
|
299
|
-
enabled: true,
|
|
300
|
-
requireMention: false,
|
|
301
|
-
},
|
|
302
|
-
},
|
|
303
298
|
},
|
|
304
299
|
},
|
|
305
300
|
pluginInstall: '@openclaw/zalouser',
|
|
@@ -2038,6 +2033,7 @@
|
|
|
2038
2033
|
multiOllamaNumParallel = 1,
|
|
2039
2034
|
singleOllamaNumParallel = 1,
|
|
2040
2035
|
emitBrowserInstall = true,
|
|
2036
|
+
|
|
2041
2037
|
} = options;
|
|
2042
2038
|
|
|
2043
2039
|
const browserAptExtra = hasBrowser ? ' xvfb socat' : '';
|
|
@@ -2818,18 +2814,13 @@
|
|
|
2818
2814
|
groupPolicy: 'allowlist',
|
|
2819
2815
|
groupAllowFrom: ['*'],
|
|
2820
2816
|
historyLimit: 50,
|
|
2821
|
-
groups: {
|
|
2822
|
-
'*': {
|
|
2823
|
-
enabled: true,
|
|
2824
|
-
requireMention: false,
|
|
2825
|
-
},
|
|
2826
|
-
},
|
|
2827
2817
|
autoReply: true,
|
|
2828
2818
|
};
|
|
2829
|
-
//
|
|
2819
|
+
// zalo-mod plugin - pre-integrated for Zalo Personal moderation
|
|
2820
|
+
// User configures groupName, botName, watchGroupIds etc. after setup
|
|
2830
2821
|
cfg.plugins = cfg.plugins || {};
|
|
2831
2822
|
cfg.plugins.entries = cfg.plugins.entries || {};
|
|
2832
|
-
cfg.plugins.entries
|
|
2823
|
+
cfg.plugins.entries['zalo-mod'] = { enabled: true, config: {} };
|
|
2833
2824
|
} else if (state.channel === 'zalo-bot') {
|
|
2834
2825
|
cfg.channels.zalo = { enabled: true, provider: 'official_account' };
|
|
2835
2826
|
}
|
|
@@ -5245,7 +5236,7 @@
|
|
|
5245
5236
|
};
|
|
5246
5237
|
clawConfig.plugins = {
|
|
5247
5238
|
entries: {
|
|
5248
|
-
...(ch.hasZaloPersonal ? {
|
|
5239
|
+
...(ch.hasZaloPersonal ? { 'zalo-mod': { enabled: true, config: {} } } : {}),
|
|
5249
5240
|
'memory-core': {
|
|
5250
5241
|
config: { dreaming: { enabled: state.config.skills.includes('memory') } },
|
|
5251
5242
|
},
|
|
@@ -5260,7 +5251,7 @@
|
|
|
5260
5251
|
pluginEntries[plugin.package || pid] = { enabled: true };
|
|
5261
5252
|
});
|
|
5262
5253
|
if (ch.hasZaloPersonal) {
|
|
5263
|
-
pluginEntries['
|
|
5254
|
+
pluginEntries['zalo-mod'] = { enabled: true, config: {} };
|
|
5264
5255
|
}
|
|
5265
5256
|
pluginEntries['memory-core'] = {
|
|
5266
5257
|
config: { dreaming: { enabled: state.config.skills.includes('memory') } },
|
|
@@ -5337,6 +5328,7 @@
|
|
|
5337
5328
|
plainSingleExtraHosts: true,
|
|
5338
5329
|
multiOllamaNumParallel: 1,
|
|
5339
5330
|
singleOllamaNumParallel: 1,
|
|
5331
|
+
|
|
5340
5332
|
});
|
|
5341
5333
|
const dockerfile = dockerArtifacts.dockerfile;
|
|
5342
5334
|
const compose = dockerArtifacts.compose;
|
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-openclaw-bot",
|
|
3
|
-
"version": "5.6.
|
|
4
|
-
"description": "Interactive CLI installer for OpenClaw Bot",
|
|
5
|
-
"main": "dist/cli.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"create-openclaw-bot": "./dist/cli.js"
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "node src/build.mjs --deploy",
|
|
14
|
-
"dev": "node src/build.mjs --deploy --watch",
|
|
15
|
-
"test": "node src/tests/smoke-cli-logic.mjs",
|
|
16
|
-
"bump": "node src/bump-version.mjs"
|
|
17
|
-
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"openclaw",
|
|
20
|
-
"cli",
|
|
21
|
-
"bot",
|
|
22
|
-
"zalo",
|
|
23
|
-
"telegram",
|
|
24
|
-
"ai"
|
|
25
|
-
],
|
|
26
|
-
"author": "tuanminhhole",
|
|
27
|
-
"license": "MIT",
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@inquirer/prompts": "^4.3.1",
|
|
30
|
-
"chalk": "^5.3.0",
|
|
31
|
-
"fs-extra": "^11.2.0"
|
|
32
|
-
},
|
|
33
|
-
"bundleDependencies": [
|
|
34
|
-
"@inquirer/prompts",
|
|
35
|
-
"chalk",
|
|
36
|
-
"fs-extra"
|
|
37
|
-
],
|
|
38
|
-
"type": "module"
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "create-openclaw-bot",
|
|
3
|
+
"version": "5.6.14",
|
|
4
|
+
"description": "Interactive CLI installer for OpenClaw Bot",
|
|
5
|
+
"main": "dist/cli.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-openclaw-bot": "./dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "node src/build.mjs --deploy",
|
|
14
|
+
"dev": "node src/build.mjs --deploy --watch",
|
|
15
|
+
"test": "node src/tests/smoke-cli-logic.mjs",
|
|
16
|
+
"bump": "node src/bump-version.mjs"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"openclaw",
|
|
20
|
+
"cli",
|
|
21
|
+
"bot",
|
|
22
|
+
"zalo",
|
|
23
|
+
"telegram",
|
|
24
|
+
"ai"
|
|
25
|
+
],
|
|
26
|
+
"author": "tuanminhhole",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@inquirer/prompts": "^4.3.1",
|
|
30
|
+
"chalk": "^5.3.0",
|
|
31
|
+
"fs-extra": "^11.2.0"
|
|
32
|
+
},
|
|
33
|
+
"bundleDependencies": [
|
|
34
|
+
"@inquirer/prompts",
|
|
35
|
+
"chalk",
|
|
36
|
+
"fs-extra"
|
|
37
|
+
],
|
|
38
|
+
"type": "module"
|
|
39
|
+
}
|