@agentvault/agentvault 0.14.5 → 0.14.6

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/cli.js CHANGED
@@ -49649,7 +49649,7 @@ async function runCreateCommand(options) {
49649
49649
  }
49650
49650
  console.log(" Step 3/7 \u2014 Creating agent with OpenClaw...");
49651
49651
  try {
49652
- execSync2(`openclaw agents add ${name2}`, { stdio: "pipe" });
49652
+ execSync2(`openclaw agents add -- ${name2}`, { stdio: "pipe" });
49653
49653
  console.log(` Agent '${name2}' created.
49654
49654
  `);
49655
49655
  } catch {
@@ -49684,7 +49684,7 @@ async function runCreateCommand(options) {
49684
49684
  accountId: name2,
49685
49685
  force
49686
49686
  });
49687
- console.log("\n Step 7/7 \u2014 Patching httpPort in openclaw.json...");
49687
+ console.log("\n Step 7/7 \u2014 Patching openclaw.json...");
49688
49688
  try {
49689
49689
  const freshConfig = readOpenClawConfig(home);
49690
49690
  let patched = false;
@@ -49696,6 +49696,10 @@ async function runCreateCommand(options) {
49696
49696
  patched = true;
49697
49697
  }
49698
49698
  }
49699
+ if (avChannel && !avChannel.bindings) {
49700
+ avChannel.bindings = [{ match: { accountId: "*" } }];
49701
+ console.log(` Added wildcard binding (accountId: "*").`);
49702
+ }
49699
49703
  if (patched) {
49700
49704
  writeOpenClawConfig(home, freshConfig, name2);
49701
49705
  console.log(` httpPort set to ${port}.
@@ -49706,7 +49710,7 @@ async function runCreateCommand(options) {
49706
49710
  `);
49707
49711
  }
49708
49712
  } catch (err) {
49709
- console.log(` Warning: Failed to patch httpPort: ${err.message}
49713
+ console.log(` Warning: Failed to patch openclaw.json: ${err.message}
49710
49714
  `);
49711
49715
  }
49712
49716
  console.log(" Verifying agent...");