soulhubcli 1.0.18 → 1.0.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.
- package/dist/index.cjs +14 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -19834,7 +19834,13 @@ async function installSingleAgent(name, targetDir, clawDir, asMain = false) {
|
|
|
19834
19834
|
spinner.text = `Downloading ${source_default.cyan(agent.displayName)} package...`;
|
|
19835
19835
|
const pkgDir = await downloadAgentPackage(name, agent.version);
|
|
19836
19836
|
spinner.succeed(`Package ${source_default.cyan(agent.displayName)} downloaded.`);
|
|
19837
|
+
const showClawHeader = allClawDirs.length > 1;
|
|
19837
19838
|
for (const selectedClawDir of allClawDirs) {
|
|
19839
|
+
if (showClawHeader) {
|
|
19840
|
+
const brand = detectClawBrand(selectedClawDir);
|
|
19841
|
+
console.log();
|
|
19842
|
+
console.log(source_default.bold(`\u2500\u2500 ${brand} (${selectedClawDir}) \u2500\u2500`));
|
|
19843
|
+
}
|
|
19838
19844
|
await installSingleAgentToClaw(name, selectedClawDir, void 0, asMain, pkgDir, agent);
|
|
19839
19845
|
}
|
|
19840
19846
|
import_node_fs9.default.rmSync(pkgDir, { recursive: true, force: true });
|
|
@@ -20120,7 +20126,13 @@ async function installSingleAgentFromDir(packageDir, targetDir, clawDir, asMain
|
|
|
20120
20126
|
printOpenClawInstallHelp();
|
|
20121
20127
|
return;
|
|
20122
20128
|
}
|
|
20129
|
+
const showClawHeader = allClawDirs.length > 1;
|
|
20123
20130
|
for (const selectedClawDir of allClawDirs) {
|
|
20131
|
+
if (showClawHeader) {
|
|
20132
|
+
const brand = detectClawBrand(selectedClawDir);
|
|
20133
|
+
console.log();
|
|
20134
|
+
console.log(source_default.bold(`\u2500\u2500 ${brand} (${selectedClawDir}) \u2500\u2500`));
|
|
20135
|
+
}
|
|
20124
20136
|
await installSingleAgentFromDirToClaw(packageDir, agentName, pkg, selectedClawDir, void 0, asMain);
|
|
20125
20137
|
}
|
|
20126
20138
|
}
|
|
@@ -20703,13 +20715,13 @@ function formatInstallType(type2) {
|
|
|
20703
20715
|
|
|
20704
20716
|
// src/index.ts
|
|
20705
20717
|
var program2 = new Command();
|
|
20706
|
-
program2.name("soulhub").description("SoulHub CLI - Discover, install and manage AI agent souls").version("1.0.
|
|
20718
|
+
program2.name("soulhub").description("SoulHub CLI - Discover, install and manage AI agent souls").version("1.0.19").option("--verbose", "Enable verbose debug logging").hook("preAction", () => {
|
|
20707
20719
|
const opts = program2.opts();
|
|
20708
20720
|
const verbose = opts.verbose || process.env.SOULHUB_DEBUG === "1";
|
|
20709
20721
|
logger.init(verbose);
|
|
20710
20722
|
logger.info("CLI started", {
|
|
20711
20723
|
args: process.argv.slice(2),
|
|
20712
|
-
version: "1.0.
|
|
20724
|
+
version: "1.0.19",
|
|
20713
20725
|
node: process.version
|
|
20714
20726
|
});
|
|
20715
20727
|
});
|