create-openclaw-bot 5.4.1 → 5.4.2
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/CHANGELOG.md +177 -170
- package/CHANGELOG.vi.md +175 -168
- package/README.md +321 -321
- package/README.vi.md +321 -321
- package/package.json +1 -1
- package/setup.js +2 -1
package/package.json
CHANGED
package/setup.js
CHANGED
|
@@ -2157,7 +2157,8 @@
|
|
|
2157
2157
|
if (p) allPlugins.push(p.package);
|
|
2158
2158
|
});
|
|
2159
2159
|
if (isMultiBot && state.channel === 'telegram') allPlugins.push(relayPluginSpec);
|
|
2160
|
-
const
|
|
2160
|
+
const uniquePlugins = [...new Set(allPlugins)];
|
|
2161
|
+
const pluginCmd = uniquePlugins.length > 0 ? uniquePlugins.map(function(pkg) { return 'call npm exec -- openclaw plugins install ' + pkg + ' || goto :fail'; }).join('\r\n') : '';
|
|
2161
2162
|
const nativeSkillInstallCmds = nativeSkillConfigs.map((skill) => `call openclaw skills install ${skill.slug} || echo Warning: Failed to install skill ${skill.slug}`);
|
|
2162
2163
|
|
|
2163
2164
|
Object.assign(globalThis, {
|