create-openclaw-bot 5.8.17 → 5.8.19
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.
|
@@ -91,7 +91,11 @@
|
|
|
91
91
|
}));
|
|
92
92
|
|
|
93
93
|
const cfg = {
|
|
94
|
-
meta: {
|
|
94
|
+
meta: {
|
|
95
|
+
lastTouchedVersion: (_common.OPENCLAW_NPM_SPEC || 'latest').replace('openclaw@', ''),
|
|
96
|
+
osChoice,
|
|
97
|
+
deployMode,
|
|
98
|
+
},
|
|
95
99
|
agents: {
|
|
96
100
|
defaults: {
|
|
97
101
|
model: { primary: model, fallbacks: [] },
|
|
@@ -221,11 +221,12 @@ if(touched){console.log('[patch-9router] Applied Codex compatibility patch.');}e
|
|
|
221
221
|
singleOllamaContainerName = 'ollama',
|
|
222
222
|
multiOllamaContainerName = 'ollama-multibot',
|
|
223
223
|
plainSingleExtraHosts = false,
|
|
224
|
-
multiOllamaNumParallel = 1,
|
|
225
|
-
singleOllamaNumParallel = 1,
|
|
226
|
-
gatewayPort = 18789,
|
|
227
|
-
routerPort = 20128,
|
|
228
|
-
|
|
224
|
+
multiOllamaNumParallel = 1,
|
|
225
|
+
singleOllamaNumParallel = 1,
|
|
226
|
+
gatewayPort = 18789,
|
|
227
|
+
routerPort = 20128,
|
|
228
|
+
osChoice = '',
|
|
229
|
+
} = options;
|
|
229
230
|
const skillLines = dockerfileSkillInstallMode === 'build' && allSkills.length > 0
|
|
230
231
|
? `\n# Install skills (ClawHub)\n${allSkills.map((skill) => `RUN openclaw skills install ${skill} || echo "Warning: Failed to install ${skill} due to rate limits."`).join('\n')}\n`
|
|
231
232
|
: '';
|
|
@@ -355,7 +356,7 @@ CMD ["/bin/sh", "/usr/local/bin/openclaw-entrypoint.sh"]`;
|
|
|
355
356
|
const docker9RouterEntrypointScript = build9RouterComposeEntrypointScript(routerPort);
|
|
356
357
|
const extraHostsBlock = ` extra_hosts:\n - "host.docker.internal:host-gateway"`;
|
|
357
358
|
|
|
358
|
-
const appEnvironmentBlock = ` environment:\n - HOME=/home/node/project/.openclaw\n - OPENCLAW_HOME=/home/node/project/.openclaw\n - OPENCLAW_STATE_DIR=/home/node/project/.openclaw\n - OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1\n - OPENCLAW_GATEWAY_PORT=${gatewayPort}\n - OPENCLAW_PORT=${gatewayPort}\n tmpfs:\n - /home/node/project/.openclaw/plugin-runtime-deps\n`;
|
|
359
|
+
const appEnvironmentBlock = ` environment:\n - HOME=/home/node/project/.openclaw\n - OPENCLAW_HOME=/home/node/project/.openclaw\n - OPENCLAW_STATE_DIR=/home/node/project/.openclaw\n - OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1\n - OPENCLAW_SETUP_OS=${osChoice || ''}\n - OPENCLAW_BROWSER_HOST_OS=${osChoice || ''}\n - OPENCLAW_GATEWAY_PORT=${gatewayPort}\n - OPENCLAW_PORT=${gatewayPort}\n tmpfs:\n - /home/node/project/.openclaw/plugin-runtime-deps\n`;
|
|
359
360
|
|
|
360
361
|
let compose;
|
|
361
362
|
if (isMultiBot) {
|