create-openclaw-bot 5.7.4 → 5.7.6

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.
@@ -269,7 +269,7 @@ CMD ["/bin/sh", "/usr/local/bin/openclaw-entrypoint.sh"]`;
269
269
  const docker9RouterEntrypointScript = build9RouterComposeEntrypointScript(syncScriptBase64, patchScriptBase64);
270
270
  const extraHostsBlock = ` extra_hosts:\n - "host.docker.internal:host-gateway"`;
271
271
 
272
- const appEnvironmentBlock = ' environment:\n - OPENCLAW_HOME=/root/project/.openclaw\n - OPENCLAW_STATE_DIR=/var/lib/openclaw-state\n';
272
+ const appEnvironmentBlock = ' environment:\n - OPENCLAW_HOME=/root/project/.openclaw\n - OPENCLAW_STATE_DIR=/root/project/.openclaw\n';
273
273
 
274
274
  let compose;
275
275
  if (isMultiBot) {
@@ -462,18 +462,6 @@ ${appEnvironmentBlock}${plainSingleExtraHosts ? `${extraHostsBlock}\n` : ''}
462
462
  - "18791:18791"`;
463
463
  }
464
464
 
465
- compose = compose.replaceAll(
466
- ` - ${volumeMount}`,
467
- ` - ${volumeMount}\n - openclaw-state:/var/lib/openclaw-state`
468
- );
469
- if (compose.includes('\nvolumes:\n')) {
470
- if (!compose.includes(' openclaw-state:')) {
471
- compose = compose.replace('\nvolumes:\n', '\nvolumes:\n openclaw-state:\n');
472
- }
473
- } else {
474
- compose += '\n\nvolumes:\n openclaw-state:';
475
- }
476
-
477
465
  return {
478
466
  dockerfile,
479
467
  compose,
package/dist/setup.js CHANGED
@@ -2743,7 +2743,7 @@ CMD ["/bin/sh", "/usr/local/bin/openclaw-entrypoint.sh"]`;
2743
2743
  const docker9RouterEntrypointScript = build9RouterComposeEntrypointScript(syncScriptBase64, patchScriptBase64);
2744
2744
  const extraHostsBlock = ` extra_hosts:\n - "host.docker.internal:host-gateway"`;
2745
2745
 
2746
- const appEnvironmentBlock = ' environment:\n - OPENCLAW_HOME=/root/project/.openclaw\n - OPENCLAW_STATE_DIR=/var/lib/openclaw-state\n';
2746
+ const appEnvironmentBlock = ' environment:\n - OPENCLAW_HOME=/root/project/.openclaw\n - OPENCLAW_STATE_DIR=/root/project/.openclaw\n';
2747
2747
 
2748
2748
  let compose;
2749
2749
  if (isMultiBot) {
@@ -2936,18 +2936,6 @@ ${appEnvironmentBlock}${plainSingleExtraHosts ? `${extraHostsBlock}\n` : ''}
2936
2936
  - "18791:18791"`;
2937
2937
  }
2938
2938
 
2939
- compose = compose.replaceAll(
2940
- ` - ${volumeMount}`,
2941
- ` - ${volumeMount}\n - openclaw-state:/var/lib/openclaw-state`
2942
- );
2943
- if (compose.includes('\nvolumes:\n')) {
2944
- if (!compose.includes(' openclaw-state:')) {
2945
- compose = compose.replace('\nvolumes:\n', '\nvolumes:\n openclaw-state:\n');
2946
- }
2947
- } else {
2948
- compose += '\n\nvolumes:\n openclaw-state:';
2949
- }
2950
-
2951
2939
  return {
2952
2940
  dockerfile,
2953
2941
  compose,
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
- {
2
- "name": "create-openclaw-bot",
3
- "version": "5.7.4",
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 && node src/tests/test-generation.mjs && node src/tests/test-matrix.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.7.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 && node src/tests/test-generation.mjs && node src/tests/test-matrix.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
+ }