soulhubcli 1.0.17 → 1.0.18

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.cjs +5 -8
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -19911,7 +19911,7 @@ async function installSingleAgentToClaw(name, selectedClawDir, targetDir, asMain
19911
19911
  addAgentToOpenClawConfig(selectedClawDir, "main", name, true);
19912
19912
  } else {
19913
19913
  spinner.text = `Registering ${source_default.cyan(agent.displayName)} as worker agent...`;
19914
- const regResult = registerAgentToOpenClaw(agentId, workspaceDir);
19914
+ const regResult = registerAgentToOpenClaw(agentId, workspaceDir, selectedClawDir || void 0);
19915
19915
  if (!regResult.success) {
19916
19916
  spinner.fail(`Failed to register ${agentId}: ${regResult.message}`);
19917
19917
  return;
@@ -20179,7 +20179,7 @@ async function installSingleAgentFromDirToClaw(packageDir, agentName, pkg, selec
20179
20179
  addAgentToOpenClawConfig(selectedClawDir, "main", agentName, true);
20180
20180
  } else {
20181
20181
  spinner.text = `Registering ${source_default.cyan(agentName)} as worker agent...`;
20182
- const regResult = registerAgentToOpenClaw(agentId, workspaceDir);
20182
+ const regResult = registerAgentToOpenClaw(agentId, workspaceDir, selectedClawDir || void 0);
20183
20183
  if (!regResult.success) {
20184
20184
  spinner.fail(`Failed to register ${agentId}: ${regResult.message}`);
20185
20185
  return;
@@ -20417,10 +20417,7 @@ async function tryRestartGateway() {
20417
20417
  if (result.success) {
20418
20418
  restartSpinner.succeed(`${brandName} Gateway restarted successfully.`);
20419
20419
  } else {
20420
- restartSpinner.warn(`Failed to restart ${brandName} Gateway.`);
20421
- console.log(source_default.yellow(` Reason: ${result.message}`));
20422
- console.log(source_default.dim(" Please restart manually:"));
20423
- console.log(source_default.dim(` ${clawCmd} gateway restart`));
20420
+ restartSpinner.warn(`Failed to restart ${brandName} Gateway. Please restart it manually.`);
20424
20421
  }
20425
20422
  }
20426
20423
 
@@ -20706,13 +20703,13 @@ function formatInstallType(type2) {
20706
20703
 
20707
20704
  // src/index.ts
20708
20705
  var program2 = new Command();
20709
- program2.name("soulhub").description("SoulHub CLI - Discover, install and manage AI agent souls").version("1.0.17").option("--verbose", "Enable verbose debug logging").hook("preAction", () => {
20706
+ program2.name("soulhub").description("SoulHub CLI - Discover, install and manage AI agent souls").version("1.0.18").option("--verbose", "Enable verbose debug logging").hook("preAction", () => {
20710
20707
  const opts = program2.opts();
20711
20708
  const verbose = opts.verbose || process.env.SOULHUB_DEBUG === "1";
20712
20709
  logger.init(verbose);
20713
20710
  logger.info("CLI started", {
20714
20711
  args: process.argv.slice(2),
20715
- version: "1.0.17",
20712
+ version: "1.0.18",
20716
20713
  node: process.version
20717
20714
  });
20718
20715
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soulhubcli",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "SoulHub CLI - Install and manage AI agent persona templates for OpenClaw",
5
5
  "type": "module",
6
6
  "bin": {