@highway1/cli 0.1.59 → 0.1.61

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
@@ -17521,7 +17521,9 @@ var ClawDaemon = class {
17521
17521
  this.defense = new DefenseMiddleware({
17522
17522
  trustSystem: this.trustSystem,
17523
17523
  storage: this.queue.store,
17524
- minTrustScore: 0
17524
+ minTrustScore: 0,
17525
+ autoBlockThreshold: 0
17526
+ // Disable auto-blocking; let users block manually
17525
17527
  });
17526
17528
  logger15.info("Defense middleware initialized");
17527
17529
  this.router.registerCatchAllHandler(async (envelope) => {
@@ -17811,7 +17813,6 @@ function registerDaemonCommand(program2) {
17811
17813
  if (await client.isDaemonRunning()) {
17812
17814
  success("Daemon already running");
17813
17815
  const status = await client.send("status", {});
17814
- info(`Peer ID: ${status.peerId}`);
17815
17816
  info(`DID: ${status.did}`);
17816
17817
  return;
17817
17818
  }
@@ -17830,7 +17831,6 @@ function registerDaemonCommand(program2) {
17830
17831
  if (await client.isDaemonRunning()) {
17831
17832
  success("Daemon started");
17832
17833
  const status = await client.send("status", {});
17833
- info(`Peer ID: ${status.peerId}`);
17834
17834
  info(`DID: ${status.did}`);
17835
17835
  info(`Socket: ${SOCKET_PATH}`);
17836
17836
  return;
@@ -17894,15 +17894,10 @@ function registerDaemonCommand(program2) {
17894
17894
  const status = await client.send("status", {});
17895
17895
  success("Daemon running");
17896
17896
  console.log();
17897
- info(`Peer ID: ${status.peerId}`);
17898
17897
  info(`DID: ${status.did}`);
17898
+ info(`Relays: ${(status.connectedRelays ?? []).join(", ") || "(none)"}`);
17899
+ info(`Peers: ${status.peerCount ?? 0}`);
17899
17900
  info(`Socket: ${SOCKET_PATH}`);
17900
- info(`Bootstrap peers: ${status.bootstrapPeers.length}`);
17901
- console.log();
17902
- info("Multiaddrs:");
17903
- status.multiaddrs.forEach((addr) => {
17904
- console.log(` ${addr}`);
17905
- });
17906
17901
  } else {
17907
17902
  info("Daemon not running");
17908
17903
  console.log();