allagents 0.20.1 → 0.20.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.
Files changed (2) hide show
  1. package/dist/index.js +22 -15
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30306,7 +30306,7 @@ var package_default;
30306
30306
  var init_package = __esm(() => {
30307
30307
  package_default = {
30308
30308
  name: "allagents",
30309
- version: "0.20.1",
30309
+ version: "0.20.2",
30310
30310
  description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
30311
30311
  type: "module",
30312
30312
  bin: {
@@ -34889,23 +34889,30 @@ var pluginListCmd = import_cmd_ts4.command({
34889
34889
  console.log("No plugins found in registered marketplaces.");
34890
34890
  return;
34891
34891
  }
34892
- console.log(`Installed plugins:
34892
+ const installedPlugins = allPluginEntries.filter((e) => e.installed && !e.warning);
34893
+ const availablePlugins = allPluginEntries.filter((e) => !e.installed && !e.warning);
34894
+ const warnings = allPluginEntries.filter((e) => e.warning);
34895
+ for (const entry of warnings) {
34896
+ console.log(` Warning: ${entry.warning}`);
34897
+ }
34898
+ if (installedPlugins.length > 0) {
34899
+ console.log(`Installed plugins:
34900
+ `);
34901
+ for (const entry of installedPlugins) {
34902
+ console.log(` ❯ ${entry.name}@${entry.marketplace}`);
34903
+ console.log(` Version: ${entry.version ?? "unknown"}`);
34904
+ console.log(` Scope: ${entry.installed?.scope}
34893
34905
  `);
34894
- for (const entry of allPluginEntries) {
34895
- if (entry.warning) {
34896
- console.log(` Warning: ${entry.warning}`);
34897
- continue;
34898
34906
  }
34899
- const isEnabled = !!entry.installed;
34900
- const statusIcon = isEnabled ? "✓" : "✗";
34901
- const statusText = isEnabled ? "enabled" : "disabled";
34902
- console.log(` ❯ ${entry.name}@${entry.marketplace}`);
34903
- console.log(` Version: ${entry.version ?? "unknown"}`);
34904
- if (entry.installed) {
34905
- console.log(` Scope: ${entry.installed.scope}`);
34907
+ }
34908
+ if (availablePlugins.length > 0) {
34909
+ console.log(`Available plugins:
34910
+ `);
34911
+ for (const entry of availablePlugins) {
34912
+ console.log(` ❯ ${entry.name}@${entry.marketplace}`);
34913
+ console.log(` Version: ${entry.version ?? "unknown"}
34914
+ `);
34906
34915
  }
34907
- console.log(` Status: ${statusIcon} ${statusText}`);
34908
- console.log();
34909
34916
  }
34910
34917
  } catch (error) {
34911
34918
  if (error instanceof Error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allagents",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "description": "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
5
5
  "type": "module",
6
6
  "bin": {