@cannbot-ai/install-helper 1.2.1-beta.1 → 1.2.1

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/dist/index.js CHANGED
@@ -6264,7 +6264,10 @@ async function installCommand(names, options) {
6264
6264
  success: result.success,
6265
6265
  skillsCount: result.skillsCount,
6266
6266
  agentsCount: result.agentsCount,
6267
- source: plugin?.source
6267
+ // the command-line source is the user intent — legacy entries
6268
+ // carry no `source` field, so plugin?.source alone would lose the
6269
+ // "skills" scope and the docs hint would resolve cannbot-first
6270
+ source: source ?? plugin?.source
6268
6271
  };
6269
6272
  });
6270
6273
  printInstallSummary(summary);