@cannbot-ai/install-helper 1.0.3 → 1.0.4

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
@@ -276,7 +276,7 @@ installedPlugins: # 已安装的插件列表
276
276
 
277
277
  ```bash
278
278
  git clone https://gitcode.com/cann/cannbot-skills.git
279
- cd cannbot-skills/tools/install-helper
279
+ cd cannbot-skills/plugins-community/install-helper
280
280
 
281
281
  npm install
282
282
  npm run dev # watch 模式
package/dist/index.js CHANGED
@@ -48,6 +48,7 @@ function loadPluginsFromYaml() {
48
48
  }
49
49
  } catch {
50
50
  }
51
+ plugins.sort((a, b) => a.displayName < b.displayName ? -1 : a.displayName > b.displayName ? 1 : 0);
51
52
  return plugins;
52
53
  }
53
54
  var PLUGIN_REGISTRY = loadPluginsFromYaml();
@@ -3039,7 +3040,7 @@ function createCLI() {
3039
3040
  setLanguage(config.language);
3040
3041
  }
3041
3042
  const program2 = new Command();
3042
- program2.name("install-helper").description("CANNBot Install Helper - Interactive installer for CANN operator development skills").version("1.0.3");
3043
+ program2.name("install-helper").description("CANNBot Install Helper - Interactive installer for CANN operator development skills").version("1.0.4");
3043
3044
  program2.command("init", { isDefault: false }).description("Run interactive installation wizard").action(async () => {
3044
3045
  await initCommand();
3045
3046
  });